Skip to content
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 378 commits into from
Apr 24, 2020
Merged

merge-react-date-picker #1

merged 378 commits into from
Apr 24, 2020

Conversation

bigbri64
Copy link
Owner

No description provided.

rafeememon and others added 30 commits April 6, 2018 07:47
* 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
* Remove second autoFocus example

hero_example already has autoFocus, and having two inputs
focused by default dosn't make sense.

Fixes #1212 #1334

* Fix flaky test again
* 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)
* Don't clear the preSelect date when typing in the input

* Do this only once
- change componentWillReceiveProps to componentDidUpdate
- update .eslintrc
Improves accessibility and facilitates custom localisation by having a default value for the month navigation
* Clear Icon not clickable in Firefox - Bugfix #1389

Bugfix for #1389 .
Clear Icon is not clickable in Firefox because hidden button has no width/height.

* Fixed missspelled word
tujger and others added 29 commits February 4, 2020 08:48
* 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>
* 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
@bigbri64 bigbri64 merged commit 0d8fbcb into bigbri64:master Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment