UNPKG

@datepicker-react/hooks

Version:
304 lines (91 loc) 7.18 kB
# Change Log All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. ## [2.8.4](https://github.com/tresko/react-datepicker/compare/v2.8.3...v2.8.4) (2021-10-23) **Note:** Version bump only for package @datepicker-react/hooks # [2.8.0](https://github.com/tresko/react-datepicker/compare/v2.7.0...v2.8.0) (2021-02-10) ### Bug Fixes * **hooks:** memoize some returned methods in useDatepicker ([792f12c](https://github.com/tresko/react-datepicker/commit/792f12c)) # [2.7.0](https://github.com/tresko/react-datepicker/compare/v2.6.0...v2.7.0) (2020-06-30) ### Features * **hooks:** add support for React Native ([2d7b8ed](https://github.com/tresko/react-datepicker/commit/2d7b8ed)) # [2.6.0](https://github.com/tresko/react-datepicker/compare/v2.5.0...v2.6.0) (2020-06-22) ### Bug Fixes * remove props from styles and useDay ([e986183](https://github.com/tresko/react-datepicker/commit/e986183)) ### Features * add isStartDate and isEndDate ([94f4118](https://github.com/tresko/react-datepicker/commit/94f4118)) # [2.5.0](https://github.com/tresko/react-datepicker/compare/v2.4.1...v2.5.0) (2020-06-18) ### Features * **hooks:** added functionality to move the calendar by a single month ([2a884a6](https://github.com/tresko/react-datepicker/commit/2a884a6)) ## [2.4.1](https://github.com/tresko/react-datepicker/compare/v2.4.0...v2.4.1) (2020-06-17) ### Bug Fixes * **hooks:** fix losing losing focus in other inputs ([eae4f52](https://github.com/tresko/react-datepicker/commit/eae4f52)) # [2.4.0](https://github.com/tresko/react-datepicker/compare/v2.3.1...v2.4.0) (2020-06-09) ### Features * **deps:** update dependencies ([b538249](https://github.com/tresko/react-datepicker/commit/b538249)) ## [2.3.1](https://github.com/tresko/react-datepicker/compare/v2.3.0...v2.3.1) (2020-01-06) ### Bug Fixes * **initialVisibleMonth:** fix InitialVisibleMonth ([b1d9b0c](https://github.com/tresko/react-datepicker/commit/b1d9b0c)), closes [#48](https://github.com/tresko/react-datepicker/issues/48) # [2.3.0](https://github.com/tresko/react-datepicker/compare/v2.2.0...v2.3.0) (2019-12-23) ### Features * **unavailable-dates:** add unavaiable dates feature ([5039530](https://github.com/tresko/react-datepicker/commit/5039530)) # [2.2.0](https://github.com/tresko/react-datepicker/compare/v2.1.4...v2.2.0) (2019-12-06) ### Features * **useDatepicker:** update goToPreviousYear and goToNextYear methods ([15ac2b6](https://github.com/tresko/react-datepicker/commit/15ac2b6)), closes [#35](https://github.com/tresko/react-datepicker/issues/35) ## [2.1.4](https://github.com/tresko/react-datepicker/compare/v2.1.3...v2.1.4) (2019-11-11) ### Bug Fixes * **typescript:** update KeyboardEvent at useDay ([8e26554](https://github.com/tresko/react-datepicker/commit/8e26554)) ## [2.1.3](https://github.com/tresko/react-datepicker/compare/v2.1.2...v2.1.3) (2019-11-08) **Note:** Version bump only for package @datepicker-react/hooks ## [2.1.1](https://github.com/tresko/react-datepicker/compare/v2.1.0...v2.1.1) (2019-11-01) **Note:** Version bump only for package @datepicker-react/hooks # [2.1.0](https://github.com/tresko/react-datepicker/compare/v2.0.3...v2.1.0) (2019-10-31) **Note:** Version bump only for package @datepicker-react/hooks ## [2.0.3](https://github.com/tresko/react-datepicker/compare/v2.0.2...v2.0.3) (2019-09-10) **Note:** Version bump only for package @datepicker-react/hooks ## [2.0.2](https://github.com/tresko/react-datepicker/compare/v2.0.1...v2.0.2) (2019-08-29) ### Bug Fixes * **hooks:** fix start of the month ([062f66f](https://github.com/tresko/react-datepicker/commit/062f66f)), closes [#7](https://github.com/tresko/react-datepicker/issues/7) ## [2.0.1](https://github.com/tresko/react-datepicker/compare/v2.0.0...v2.0.1) (2019-08-26) **Note:** Version bump only for package @datepicker-react/hooks # [2.0.0](https://github.com/tresko/react-datepicker/compare/v1.7.1...v2.0.0) (2019-08-23) ### Features * **date-fns:** we update date-fns to version v2.0.0 ([38d961e](https://github.com/tresko/react-datepicker/commit/38d961e)), closes [#4](https://github.com/tresko/react-datepicker/issues/4) ### BREAKING CHANGES * **date-fns:** date format, parseDate ## [1.7.1](https://github.com/tresko/react-datepicker/compare/v1.7.0...v1.7.1) (2019-08-02) ### Bug Fixes * **hooks:** fix goToNextYear and goToPreviousYear bug ([86577e5](https://github.com/tresko/react-datepicker/commit/86577e5)), closes [#3](https://github.com/tresko/react-datepicker/issues/3) # [1.7.0](https://github.com/tresko/react-datepicker/compare/v1.6.0...v1.7.0) (2019-08-01) ### Features * **hooks:** add goToNextYear and goToPreviousYear methods to the hooks. ([6040c7b](https://github.com/tresko/react-datepicker/commit/6040c7b)) # [1.6.0](https://github.com/tresko/react-datepicker/compare/v1.5.0...v1.6.0) (2019-07-14) ### Bug Fixes * **styled-system:** upgrade to version 5.0.12 ([6ce33b1](https://github.com/tresko/react-datepicker/commit/6ce33b1)) ## [1.5.1](https://github.com/tresko/react-datepicker/compare/v1.5.0...v1.5.1) (2019-07-01) ### Bug Fixes * **styled-system:** upgrade to version 5.0.12 ([6ce33b1](https://github.com/tresko/react-datepicker/commit/6ce33b1)) ## [1.4.1](https://github.com/tresko/react-datepicker/compare/v1.4.0...v1.4.1) (2019-06-19) ### Bug Fixes * **accessibility:** accessibility fix ([2779136](https://github.com/tresko/react-datepicker/commit/2779136)) # [1.3.0](https://github.com/tresko/react-datepicker/compare/v1.2.3-alpha.3...v1.3.0) (2019-06-11) **Note:** Version bump only for package @datepicker-react/hooks ## [1.2.3-alpha.3](https://github.com/tresko/react-datepicker/compare/v1.2.3-alpha.2...v1.2.3-alpha.3) (2019-06-05) ### Bug Fixes * **styled:** roll back styled system ([6990308](https://github.com/tresko/react-datepicker/commit/6990308)) # 1.2.0 (2019-04-04) ### Bug Fixes * **datepicker:** fix numberOfMonths ([a287c0e](https://github.com/tresko/react-datepicker/commit/a287c0e)) * **scope:** change packages scope ([2a83211](https://github.com/tresko/react-datepicker/commit/2a83211)) * **test:** test ([190bced](https://github.com/tresko/react-datepicker/commit/190bced)) * **versions:** versions ([3219781](https://github.com/tresko/react-datepicker/commit/3219781)) ### Features * **release:** first canary ([aedf88c](https://github.com/tresko/react-datepicker/commit/aedf88c)) # 1.1.0 (2019-04-03) ### Bug Fixes * **datepicker:** fix numberOfMonths ([a287c0e](https://github.com/tresko/react-datepicker/commit/a287c0e)) * **scope:** change packages scope ([2a83211](https://github.com/tresko/react-datepicker/commit/2a83211)) * **test:** test ([190bced](https://github.com/tresko/react-datepicker/commit/190bced)) * **versions:** versions ([3219781](https://github.com/tresko/react-datepicker/commit/3219781)) ### Features * **release:** first canary ([aedf88c](https://github.com/tresko/react-datepicker/commit/aedf88c))