This repository has been archived by the owner on Aug 30, 2019. It is now read-only.
Commits on Mar 20, 2017
-
Changes the builder to use the util.inspect() to output the error
Adds the Calendar component Updates the example to show the dates (not final) Changes the DaysPanel to export directly the class Makes the code more explicit on the calendar.js Makes the styles customizable Fixes the _default.yaml to be able to build Fixes SCSS to build :D Changes the builder to actually output (and colorize) when an error happens Adds classNames to elements to make them more specific Fixes bug where an error would be triggered when the initialDates attribute was not set. Also resets the minLimit to the passed one when provided via attributes or to null when none is available Hides the nav button when not enabled Changes the _default.yaml to have decent colors for the rendering :P Adds the function leftPad() to the helpers to do left padding of the months and days Improves the code based on the reviews' feedback. Also makes it more testable and fixes some bugs detected when developing the unit tests Converts the DaysPanel to a stateless component with no mods (for now) Improves the code based on reviews' feedback. Also makes it more testable and introduces a new method to merge the locale definitions Removes the enzyme-to-json package and brings jest-serializdr-enzyme which is then configured in the jest config Reverts the removal to give time to migrate the other unit tests. Adds the serializer configuration to the jest.config.json Adds the unit tests and its snapshots Updates the tests for UTC Removes the mods and the dataAttrs from the 'defaultProps'. Updates the snapshots Attempt to set some colors matching the defined color pattern Updates the snapshots Adds some aria-labels to increase accessibility Adds updated snapshots Fixes a lint error :P Adds a function to normalize the dates on the time Changes the code to use the newly added function Updates the tests to use the normalizeDate() and updates the snapshots Moves the 'bind' to its own declaration, to prevent warnings from linting Changed the 'extraClasses' variable to be named 'mods' Changes the 'npm test' to set the testing to be always UTC (to solve CI issues) Also added the TZ=utc to the update-snapshots script Adds a function processProps() to be used by both the constructor and the componentWillReceiveProps() from the Calendar component Adds a wrapper component to make the test of the props being changed. Also adds a test to verify the componentWillReceiveProps. Updates the snapshots Improves coverage of the componentWillReceiveProps Downgraded eslint-plugin-react due to a bug on the jsx-indent rule: jsx-eslint/eslint-plugin-react#1117 Fixes the issue with the eslint-plugin-react's version, enabling the indentLogicalExpressions Adds the possibility to override the display text in the navigation buttons, as well as the aria-label attribute
Ricardo Machado committedMar 20, 2017 Configuration menu - View commit details
-
Copy full SHA for 71b681b - Browse repository at this point
Copy the full SHA 71b681bView commit details
Commits on Mar 21, 2017
-
Adds the examples with a normal calendar with all props set and a ran…
…ge calendar with all props set
Ricardo Machado committedMar 21, 2017 Configuration menu - View commit details
-
Copy full SHA for cb93c82 - Browse repository at this point
Copy the full SHA cb93c82View commit details -
Fixes issue where renderDate was not between the min and max limits, …
…so needed to be readjusted
Ricardo Machado committedMar 21, 2017 Configuration menu - View commit details
-
Copy full SHA for 2a0146f - Browse repository at this point
Copy the full SHA 2a0146fView commit details -
Fixes issue where in the edge-months (0 and 11) we were doing imprope…
…r math :D
Ricardo Machado committedMar 21, 2017 Configuration menu - View commit details
-
Copy full SHA for 01bc264 - Browse repository at this point
Copy the full SHA 01bc264View commit details -
Updates the snapshots and the tests to cover properly with the new ch…
…anges
Ricardo Machado committedMar 21, 2017 Configuration menu - View commit details
-
Copy full SHA for 201061b - Browse repository at this point
Copy the full SHA 201061bView commit details -
Fixes poor configuration on the .eslintrc
Ricardo Machado committedMar 21, 2017 Configuration menu - View commit details
-
Copy full SHA for 0d85c3d - Browse repository at this point
Copy the full SHA 0d85c3dView commit details -
Improved readability on the ternary operator of the handling of the r…
…enderDate
Ricardo Machado committedMar 21, 2017 Configuration menu - View commit details
-
Copy full SHA for c929a9a - Browse repository at this point
Copy the full SHA c929a9aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.