forked from Hacker0x01/react-datepicker
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
merge-react-date-picker #1
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bk fix year pre selection bug, fixes #1345
* Add formatWeekDay props for weekdays custom formatting * pass formatWeekDay prop * expect func
A button in a form gets the type attribute set to submit by default, if the type is not specified. Submitting a form with a clearable datepicker component by pressing enter in a field currently triggers the clearing of the datepicker component, instead of submitting the form. This can be fixed by setting the type attribute of the clear button to "button".
Set type attribute of the clear button to "button"
* Fix month jumping in inline multi-day calendar * Inline multi-month example * Add test for inline multi month calendar date change * Built docs
* don't open calendar upon left and right arrow key * only open calendar upon ArrowDown and ArrowUp key
…o be rendered (ie. in case today is the start of the month) (#1392)
Move '}' for js code markdown.
* Don't clear the preSelect date when typing in the input * Do this only once
- change componentWillReceiveProps to componentDidUpdate - update .eslintrc
add -> app
Improves accessibility and facilitates custom localisation by having a default value for the month navigation
* 2003 :: A11y :: Enhancements to meet W3 Spec - WIP Initial pass over code: - Add docs - Update tab interactions - Update spacebar functionality - Disable blur on tab ToDo: - key press between months - tab out of calendar (like to next input) - esc key within calednar to close dropdown - i18n label config? - Polish and QA * Revert lock file update. * using unique keys on days, focus on mount so we can cycle through months without losing focus * tab loop within popper, escape key closes popper and returns focus to input, enter key re-opens popper, cleaning up handleBlur * always set focused to false onBlur * handleBlur no longer needs deferFocusInput * Created new test to describe W3C compliant functionality. Removed two tests that should no longer apply * separated input keydown events from day keydown events * updated various test cases to look at keydown on day nodes instead of input nodes. removed a duplicate test. some cleanup * added helpful comments Co-authored-by: Benjamin Reif-Caplan <bcaplan3@gmail.com>
* fix: docs generation script * docs: updated
This was previously a duplicate of the "Custom day class name" example.
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.6.1 to 3.6.5. - [Release notes](https://github.com/codecov/codecov-node/releases) - [Commits](https://github.com/codecov/codecov-node/commits) Signed-off-by: dependabot[bot] <support@github.com>
* Added props for fully dynamic aria-labels * Fixed yarn lint error * Revert "Fixed yarn lint error" This reverts commit 430e659. * Fixed yarn lint error
* Added aria-label props to parent components * Use enzyme instead of React TestUtils
Leverage date-fns getWeek function to get correct week numbers.
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. - [Release notes](https://github.com/acornjs/acorn/releases) - [Commits](acornjs/acorn@5.7.3...5.7.4) Signed-off-by: dependabot[bot] <support@github.com>
…-site/acorn-5.7.4 Bump acorn from 5.7.3 to 5.7.4 in /docs-site
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. - [Release notes](https://github.com/acornjs/acorn/releases) - [Commits](acornjs/acorn@5.7.3...5.7.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#2098) Co-authored-by: DDiaz <daniel.diaz@isobar.com>
* set preselection when Month changes. consolidated focus() logic on Day component. passed down containerRef to Day component. * added tests for next and prev months * updated dev instructions on contributing document * Travis CI failing on this "unused" proptype Co-authored-by: DDiaz <daniel.diaz@isobar.com>
… second click. (#2112) * solved issue of not scrolling on anchor click of website * fixed bug of scroll to top on double click
* Add week day class name feature * Extend docs for week day class name feature * Add test to week day class name feature
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.