Skip to content

Commit

Permalink
Last updates
Browse files Browse the repository at this point in the history
Signed-off-by: gpbl <io@gpbl.dev>
  • Loading branch information
gpbl committed Mar 4, 2024
1 parent 86f49ff commit a2bda05
Show file tree
Hide file tree
Showing 158 changed files with 259 additions and 188 deletions.
35 changes: 16 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# DayPicker

**A React component rendering a date picker focused on simplicity, styling and accessibility.**
**DayPicker is a React component to build date pickers, calendars, and date inputs for web applications.**

---

## Documentation

See **[react-day-picker.dev](http://https://react-day-picker.dev)** for guides, examples and API reference.
See **[daypicker.dev](https://daypicker.dev)** for guides, examples and API reference.

## Quick Start

Expand All @@ -19,36 +19,33 @@ npm install react-day-picker date-fns --save
2. Import the component and its style:

```tsx
import { DayPicker } from "react-day-picker";
import "react-day-picker/style.css";
import { DayPicker } from "react-day-picker"
import "react-day-picker/style.css"

export function App() {
const [selected, setSelected] = React.useState<Date>();
return <DayPicker selected={selected} onSelect={selected} />;
const [selected, setSelected] = React.useState<Date>()
return <DayPicker selected={selected} onSelect={selected} />
}
```

Visit [react-day-picker.dev](http://https://react-day-picker.dev) to learn more.
Visit [daypicker.dev](https://daypicker.dev) to learn more.

## Releases
---

- Visit [github.com/gpbl/react-day-picker/releases](https://github.com/gpbl/react-day-picker/releases) for the list of releases and changelogs.
- For upgrading from an older version, see [react-day-picker.dev/upgrading](http://https://react-day-picker.dev/upgrading).
## License

---
DayPicker is released under the [MIT License](./LICENSE).

## Community

See our [Code of Conduct](./CODE_OF_CONDUCT.md) and [Contributing Guidelines](./CONTRIBUTING.md) for information on local development and creating a pull request.
Ask for help and share your experience with DayPicker.

- [GitHub Discussions](https://github.com/gpbl/react-day-picker/discussions)
- [Discuss the project on GitHub](https://github.com/gpbl/react-day-picker/discussions)
- [Report an issue on GitHub](https://github.com/gpbl/react-day-picker/issues/new/choose)
- [Contribute to the project](https://daypicker.dev/development/contributing/)

## Funding

If you use this package, please consider supporting it by donating a small amount of money: https://github.com/sponsors/gpbl

## License

Licensed under the MIT License, Copyright © 2014-2024 Giampaolo Bellavite [@gpbl](https://github.com/gpbl).
Consider supporting DayPicker's maintainer with a donation. Your support helps to keep the project alive and keep it updated.

See [LICENSE](./LICENSE) for more information.
- [Sponsor DayPicker on GitHub](https://github.com/sponsors/gpbl)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/Button.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Render a button HTML element applying the reset class name.

## Source

[src/components/Button/Button.tsx:9](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/Button/Button.tsx#L9)
[src/components/Button/Button.tsx:9](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/Button/Button.tsx#L9)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/Caption.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ setting the [DayPickerBase.captionLayout](/api/latest/interfaces/DayPickerBase.m

## Source

[src/components/Caption/Caption.tsx:36](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/Caption/Caption.tsx#L36)
[src/components/Caption/Caption.tsx:36](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/Caption/Caption.tsx#L36)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/CaptionDropdowns.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Render a caption with the dropdowns to navigate between months and years.

## Source

[src/components/CaptionDropdowns/CaptionDropdowns.tsx:12](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/CaptionDropdowns/CaptionDropdowns.tsx#L12)
[src/components/CaptionDropdowns/CaptionDropdowns.tsx:12](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/CaptionDropdowns/CaptionDropdowns.tsx#L12)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/CaptionLabel.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ Render the caption for the displayed month. This component is used when

## Source

[src/components/CaptionLabel/CaptionLabel.tsx:23](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/CaptionLabel/CaptionLabel.tsx#L23)
[src/components/CaptionLabel/CaptionLabel.tsx:23](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/CaptionLabel/CaptionLabel.tsx#L23)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/CaptionNavigation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Render a caption with a button-based navigation.

## Source

[src/components/CaptionNavigation/CaptionNavigation.tsx:11](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/CaptionNavigation/CaptionNavigation.tsx#L11)
[src/components/CaptionNavigation/CaptionNavigation.tsx:11](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/CaptionNavigation/CaptionNavigation.tsx#L11)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/Day.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ modifiers.

## Source

[src/components/Day/Day.tsx:19](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/Day/Day.tsx#L19)
[src/components/Day/Day.tsx:19](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/Day/Day.tsx#L19)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/DayContent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Render the content of the day cell.

## Source

[src/components/DayContent/DayContent.tsx:15](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/DayContent/DayContent.tsx#L15)
[src/components/DayContent/DayContent.tsx:15](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/DayContent/DayContent.tsx#L15)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/DayPicker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,4 @@ For example, to use Spanish locale:

## Source

[src/DayPicker.tsx:100](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/DayPicker.tsx#L100)
[src/DayPicker.tsx:100](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/DayPicker.tsx#L100)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/DayPickerProvider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ initial DayPicker props.

## Source

[src/contexts/DayPicker/DayPickerContext.tsx:77](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/DayPicker/DayPickerContext.tsx#L77)
[src/contexts/DayPicker/DayPickerContext.tsx:77](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/DayPicker/DayPickerContext.tsx#L77)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/Dropdown.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ drop-down icon.

## Source

[src/components/Dropdown/Dropdown.tsx:30](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/Dropdown/Dropdown.tsx#L30)
[src/components/Dropdown/Dropdown.tsx:30](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/Dropdown/Dropdown.tsx#L30)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/FocusProvider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ The provider for the [FocusContext](/api/latest/variables/FocusContext.mdx).

## Source

[src/contexts/Focus/FocusContext.tsx:60](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/Focus/FocusContext.tsx#L60)
[src/contexts/Focus/FocusContext.tsx:60](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/Focus/FocusContext.tsx#L60)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/Footer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Render the Footer component (empty as default).

## Source

[src/components/Footer/Footer.tsx:9](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/Footer/Footer.tsx#L9)
[src/components/Footer/Footer.tsx:9](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/Footer/Footer.tsx#L9)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/Head.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ Render the table head.

## Source

[src/components/Head/Head.tsx:5](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/Head/Head.tsx#L5)
[src/components/Head/Head.tsx:5](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/Head/Head.tsx#L5)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/HeadRow.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ names.

## Source

[src/components/HeadRow/HeadRow.tsx:9](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/HeadRow/HeadRow.tsx#L9)
[src/components/HeadRow/HeadRow.tsx:9](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/HeadRow/HeadRow.tsx#L9)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/IconDropdown.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Render the icon in the styled drop-down.

## Source

[src/components/IconDropdown/IconDropdown.tsx:4](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/IconDropdown/IconDropdown.tsx#L4)
[src/components/IconDropdown/IconDropdown.tsx:4](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/IconDropdown/IconDropdown.tsx#L4)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/IconLeft.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Render the "previous month" button in the navigation.

## Source

[src/components/IconLeft/IconLeft.tsx:4](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/IconLeft/IconLeft.tsx#L4)
[src/components/IconLeft/IconLeft.tsx:4](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/IconLeft/IconLeft.tsx#L4)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/IconRight.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Render the "next month" button in the navigation.

## Source

[src/components/IconRight/IconRight.tsx:4](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/IconRight/IconRight.tsx#L4)
[src/components/IconRight/IconRight.tsx:4](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/IconRight/IconRight.tsx#L4)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/Months.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Render the wrapper for the month grids.

## Source

[src/components/Months/Months.tsx:9](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/Months/Months.tsx#L9)
[src/components/Months/Months.tsx:9](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/Months/Months.tsx#L9)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/NavigationProvider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ Provides the values for the [NavigationContext](/api/latest/variables/Navigation

## Source

[src/contexts/Navigation/NavigationContext.tsx:44](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/Navigation/NavigationContext.tsx#L44)
[src/contexts/Navigation/NavigationContext.tsx:44](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/Navigation/NavigationContext.tsx#L44)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/RootProvider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Provide the value for all the context providers.

## Source

[src/contexts/RootProvider.tsx:17](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/RootProvider.tsx#L17)
[src/contexts/RootProvider.tsx:17](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/RootProvider.tsx#L17)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/Row.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Render a row in the calendar, with the days and the week number.

## Source

[src/components/Row/Row.tsx:18](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/Row/Row.tsx#L18)
[src/components/Row/Row.tsx:18](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/Row/Row.tsx#L18)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/SelectMultipleProvider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Provides the values for the [SelectMultipleContext](/api/latest/variables/Select

## Source

[src/contexts/SelectMultiple/SelectMultipleContext.tsx:45](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/SelectMultiple/SelectMultipleContext.tsx#L45)
[src/contexts/SelectMultiple/SelectMultipleContext.tsx:45](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/SelectMultiple/SelectMultipleContext.tsx#L45)
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

## Source

[src/contexts/SelectMultiple/SelectMultipleContext.tsx:75](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/SelectMultiple/SelectMultipleContext.tsx#L75)
[src/contexts/SelectMultiple/SelectMultipleContext.tsx:75](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/SelectMultiple/SelectMultipleContext.tsx#L75)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/SelectRangeProvider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Provides the values for the [SelectRangeProvider](/api/latest/functions/SelectRa

## Source

[src/contexts/SelectRange/SelectRangeContext.tsx:56](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/SelectRange/SelectRangeContext.tsx#L56)
[src/contexts/SelectRange/SelectRangeContext.tsx:56](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/SelectRange/SelectRangeContext.tsx#L56)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/SelectRangeProviderInternal.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

## Source

[src/contexts/SelectRange/SelectRangeContext.tsx:89](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/SelectRange/SelectRangeContext.tsx#L89)
[src/contexts/SelectRange/SelectRangeContext.tsx:89](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/SelectRange/SelectRangeContext.tsx#L89)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/SelectSingleProvider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Provides the values for the [SelectSingleProvider](/api/latest/functions/SelectS

## Source

[src/contexts/SelectSingle/SelectSingleContext.tsx:34](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/SelectSingle/SelectSingleContext.tsx#L34)
[src/contexts/SelectSingle/SelectSingleContext.tsx:34](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/SelectSingle/SelectSingleContext.tsx#L34)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/SelectSingleProviderInternal.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@

## Source

[src/contexts/SelectSingle/SelectSingleContext.tsx:61](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/SelectSingle/SelectSingleContext.tsx#L61)
[src/contexts/SelectSingle/SelectSingleContext.tsx:61](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/SelectSingle/SelectSingleContext.tsx#L61)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/WeekNumber.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ DayPicker, it renders a button, otherwise a span element.

## Source

[src/components/WeekNumber/WeekNumber.tsx:19](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/WeekNumber/WeekNumber.tsx#L19)
[src/components/WeekNumber/WeekNumber.tsx:19](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/WeekNumber/WeekNumber.tsx#L19)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/addToRange.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ day is already present in the range.

## Source

[src/contexts/SelectRange/utils/addToRange.ts:11](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/SelectRange/utils/addToRange.ts#L11)
[src/contexts/SelectRange/utils/addToRange.ts:11](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/SelectRange/utils/addToRange.ts#L11)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/isDayPickerDefault.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Returns true when the props are of type [DayPickerDefaultProps](/api/latest/inte

## Source

[src/types/DayPickerDefault.ts:14](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/types/DayPickerDefault.ts#L14)
[src/types/DayPickerDefault.ts:14](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/types/DayPickerDefault.ts#L14)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/isDayPickerMultiple.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Returns true when the props are of type [DayPickerMultipleProps](/api/latest/int

## Source

[src/types/DayPickerMultiple.ts:21](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/types/DayPickerMultiple.ts#L21)
[src/types/DayPickerMultiple.ts:21](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/types/DayPickerMultiple.ts#L21)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/isDayPickerRange.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Returns true when the props are of type [DayPickerRangeProps](/api/latest/interf

## Source

[src/types/DayPickerRange.ts:23](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/types/DayPickerRange.ts#L23)
[src/types/DayPickerRange.ts:23](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/types/DayPickerRange.ts#L23)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/isDayPickerSingle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Returns true when the props are of type [DayPickerSingleProps](/api/latest/inter

## Source

[src/types/DayPickerSingle.ts:20](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/types/DayPickerSingle.ts#L20)
[src/types/DayPickerSingle.ts:20](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/types/DayPickerSingle.ts#L20)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/isMatch.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ Returns whether a day matches against at least one of the given Matchers.

## Source

[src/contexts/Modifiers/utils/isMatch.ts:41](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/Modifiers/utils/isMatch.ts#L41)
[src/contexts/Modifiers/utils/isMatch.ts:41](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/Modifiers/utils/isMatch.ts#L41)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/useActiveModifiers.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ This hook is meant to be used inside internal or custom components.

## Source

[src/hooks/useActiveModifiers/useActiveModifiers.tsx:12](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/hooks/useActiveModifiers/useActiveModifiers.tsx#L12)
[src/hooks/useActiveModifiers/useActiveModifiers.tsx:12](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/hooks/useActiveModifiers/useActiveModifiers.tsx#L12)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/useDayPicker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ internal or custom components.

## Source

[src/contexts/DayPicker/DayPickerContext.tsx:150](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/DayPicker/DayPickerContext.tsx#L150)
[src/contexts/DayPicker/DayPickerContext.tsx:150](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/DayPicker/DayPickerContext.tsx#L150)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/useDayRender.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ component.

## Source

[src/hooks/useDayRender/useDayRender.tsx:40](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/hooks/useDayRender/useDayRender.tsx#L40)
[src/hooks/useDayRender/useDayRender.tsx:40](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/hooks/useDayRender/useDayRender.tsx#L40)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/useFocusContext.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ This hook is meant to be used inside internal or custom components.

## Source

[src/contexts/Focus/FocusContext.tsx:131](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/Focus/FocusContext.tsx#L131)
[src/contexts/Focus/FocusContext.tsx:131](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/Focus/FocusContext.tsx#L131)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/useInput.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ Return props and setters for binding an input field to DayPicker.

## Source

[src/hooks/useInput/useInput.ts:78](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/hooks/useInput/useInput.ts#L78)
[src/hooks/useInput/useInput.ts:78](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/hooks/useInput/useInput.ts#L78)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/useNavigation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ This hook is meant to be used inside internal or custom components.

## Source

[src/contexts/Navigation/NavigationContext.tsx:95](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/Navigation/NavigationContext.tsx#L95)
[src/contexts/Navigation/NavigationContext.tsx:95](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/Navigation/NavigationContext.tsx#L95)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/useSelectMultiple.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ This hook is meant to be used inside internal or custom components.

## Source

[src/contexts/SelectMultiple/SelectMultipleContext.tsx:143](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/SelectMultiple/SelectMultipleContext.tsx#L143)
[src/contexts/SelectMultiple/SelectMultipleContext.tsx:143](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/SelectMultiple/SelectMultipleContext.tsx#L143)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/useSelectRange.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ This hook is meant to be used inside internal or custom components.

## Source

[src/contexts/SelectRange/SelectRangeContext.tsx:193](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/SelectRange/SelectRangeContext.tsx#L193)
[src/contexts/SelectRange/SelectRangeContext.tsx:193](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/SelectRange/SelectRangeContext.tsx#L193)
2 changes: 1 addition & 1 deletion docs/api/latest/functions/useSelectSingle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ This hook is meant to be used inside internal or custom components.

## Source

[src/contexts/SelectSingle/SelectSingleContext.tsx:91](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/contexts/SelectSingle/SelectSingleContext.tsx#L91)
[src/contexts/SelectSingle/SelectSingleContext.tsx:91](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/contexts/SelectSingle/SelectSingleContext.tsx#L91)
2 changes: 1 addition & 1 deletion docs/api/latest/type-aliases/ButtonProps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ The props for the [Button](/api/latest/functions/Button.mdx) component.

## Source

[src/components/Button/Button.tsx:6](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/Button/Button.tsx#L6)
[src/components/Button/Button.tsx:6](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/Button/Button.tsx#L6)
2 changes: 1 addition & 1 deletion docs/api/latest/type-aliases/CaptionLayout.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ The layout of the caption:

## Source

[src/components/Caption/Caption.tsx:30](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/components/Caption/Caption.tsx#L30)
[src/components/Caption/Caption.tsx:30](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/components/Caption/Caption.tsx#L30)
2 changes: 1 addition & 1 deletion docs/api/latest/type-aliases/ClassNames.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ The class names of each element.

## Source

[src/types/Styles.ts:115](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/types/Styles.ts#L115)
[src/types/Styles.ts:115](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/types/Styles.ts#L115)
2 changes: 1 addition & 1 deletion docs/api/latest/type-aliases/DayClickEventHandler.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ The event handler when a day is clicked.

## Source

[src/types/EventHandlers.ts:14](https://github.com/gpbl/react-day-picker/blob/6515ed496/src/types/EventHandlers.ts#L14)
[src/types/EventHandlers.ts:14](https://github.com/gpbl/react-day-picker/blob/86f49ff11/src/types/EventHandlers.ts#L14)
Loading

0 comments on commit a2bda05

Please sign in to comment.