react-day-picker 9.4.2 → 9.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/dist/cjs/components/Button.d.ts +2 -2
  2. package/dist/cjs/components/Button.js.map +1 -1
  3. package/dist/cjs/components/CaptionLabel.d.ts +2 -2
  4. package/dist/cjs/components/CaptionLabel.js.map +1 -1
  5. package/dist/cjs/components/Day.d.ts +2 -2
  6. package/dist/cjs/components/Day.js.map +1 -1
  7. package/dist/cjs/components/DayButton.d.ts +2 -2
  8. package/dist/cjs/components/DayButton.js.map +1 -1
  9. package/dist/cjs/components/Dropdown.d.ts +2 -2
  10. package/dist/cjs/components/Dropdown.js.map +1 -1
  11. package/dist/cjs/components/DropdownNav.d.ts +2 -2
  12. package/dist/cjs/components/DropdownNav.js.map +1 -1
  13. package/dist/cjs/components/Footer.d.ts +2 -2
  14. package/dist/cjs/components/Footer.js.map +1 -1
  15. package/dist/cjs/components/Month.d.ts +2 -2
  16. package/dist/cjs/components/Month.js.map +1 -1
  17. package/dist/cjs/components/MonthCaption.d.ts +2 -2
  18. package/dist/cjs/components/MonthCaption.js.map +1 -1
  19. package/dist/cjs/components/MonthGrid.d.ts +2 -2
  20. package/dist/cjs/components/MonthGrid.js.map +1 -1
  21. package/dist/cjs/components/Months.d.ts +2 -2
  22. package/dist/cjs/components/Months.js.map +1 -1
  23. package/dist/cjs/components/Nav.d.ts +2 -2
  24. package/dist/cjs/components/Nav.js.map +1 -1
  25. package/dist/cjs/components/NextMonthButton.d.ts +2 -2
  26. package/dist/cjs/components/NextMonthButton.js.map +1 -1
  27. package/dist/cjs/components/Option.d.ts +2 -2
  28. package/dist/cjs/components/Option.js.map +1 -1
  29. package/dist/cjs/components/PreviousMonthButton.d.ts +2 -2
  30. package/dist/cjs/components/PreviousMonthButton.js.map +1 -1
  31. package/dist/cjs/components/Root.d.ts +2 -2
  32. package/dist/cjs/components/Root.js.map +1 -1
  33. package/dist/cjs/components/Select.d.ts +2 -2
  34. package/dist/cjs/components/Select.js.map +1 -1
  35. package/dist/cjs/components/Week.d.ts +2 -2
  36. package/dist/cjs/components/Week.js.map +1 -1
  37. package/dist/cjs/components/WeekNumber.d.ts +2 -2
  38. package/dist/cjs/components/WeekNumber.js.map +1 -1
  39. package/dist/cjs/components/WeekNumberHeader.d.ts +2 -2
  40. package/dist/cjs/components/WeekNumberHeader.js.map +1 -1
  41. package/dist/cjs/components/Weekday.d.ts +2 -2
  42. package/dist/cjs/components/Weekday.js.map +1 -1
  43. package/dist/cjs/components/Weekdays.d.ts +2 -2
  44. package/dist/cjs/components/Weekdays.js.map +1 -1
  45. package/dist/cjs/components/Weeks.d.ts +2 -2
  46. package/dist/cjs/components/Weeks.js.map +1 -1
  47. package/dist/esm/components/Button.d.ts +2 -2
  48. package/dist/esm/components/Button.js.map +1 -1
  49. package/dist/esm/components/CaptionLabel.d.ts +2 -2
  50. package/dist/esm/components/CaptionLabel.js.map +1 -1
  51. package/dist/esm/components/Day.d.ts +2 -2
  52. package/dist/esm/components/Day.js.map +1 -1
  53. package/dist/esm/components/DayButton.d.ts +2 -2
  54. package/dist/esm/components/DayButton.js.map +1 -1
  55. package/dist/esm/components/Dropdown.d.ts +2 -2
  56. package/dist/esm/components/Dropdown.js.map +1 -1
  57. package/dist/esm/components/DropdownNav.d.ts +2 -2
  58. package/dist/esm/components/DropdownNav.js.map +1 -1
  59. package/dist/esm/components/Footer.d.ts +2 -2
  60. package/dist/esm/components/Footer.js.map +1 -1
  61. package/dist/esm/components/Month.d.ts +2 -2
  62. package/dist/esm/components/Month.js.map +1 -1
  63. package/dist/esm/components/MonthCaption.d.ts +2 -2
  64. package/dist/esm/components/MonthCaption.js.map +1 -1
  65. package/dist/esm/components/MonthGrid.d.ts +2 -2
  66. package/dist/esm/components/MonthGrid.js.map +1 -1
  67. package/dist/esm/components/Months.d.ts +2 -2
  68. package/dist/esm/components/Months.js.map +1 -1
  69. package/dist/esm/components/Nav.d.ts +2 -2
  70. package/dist/esm/components/Nav.js.map +1 -1
  71. package/dist/esm/components/NextMonthButton.d.ts +2 -2
  72. package/dist/esm/components/NextMonthButton.js.map +1 -1
  73. package/dist/esm/components/Option.d.ts +2 -2
  74. package/dist/esm/components/Option.js.map +1 -1
  75. package/dist/esm/components/PreviousMonthButton.d.ts +2 -2
  76. package/dist/esm/components/PreviousMonthButton.js.map +1 -1
  77. package/dist/esm/components/Root.d.ts +2 -2
  78. package/dist/esm/components/Root.js.map +1 -1
  79. package/dist/esm/components/Select.d.ts +2 -2
  80. package/dist/esm/components/Select.js.map +1 -1
  81. package/dist/esm/components/Week.d.ts +2 -2
  82. package/dist/esm/components/Week.js.map +1 -1
  83. package/dist/esm/components/WeekNumber.d.ts +2 -2
  84. package/dist/esm/components/WeekNumber.js.map +1 -1
  85. package/dist/esm/components/WeekNumberHeader.d.ts +2 -2
  86. package/dist/esm/components/WeekNumberHeader.js.map +1 -1
  87. package/dist/esm/components/Weekday.d.ts +2 -2
  88. package/dist/esm/components/Weekday.js.map +1 -1
  89. package/dist/esm/components/Weekdays.d.ts +2 -2
  90. package/dist/esm/components/Weekdays.js.map +1 -1
  91. package/dist/esm/components/Weeks.d.ts +2 -2
  92. package/dist/esm/components/Weeks.js.map +1 -1
  93. package/package.json +3 -2
  94. package/src/components/Button.tsx +2 -2
  95. package/src/components/CaptionLabel.tsx +2 -2
  96. package/src/components/Day.tsx +2 -2
  97. package/src/components/DayButton.tsx +2 -2
  98. package/src/components/Dropdown.tsx +2 -2
  99. package/src/components/DropdownNav.tsx +2 -2
  100. package/src/components/Footer.tsx +2 -2
  101. package/src/components/Month.tsx +2 -2
  102. package/src/components/MonthCaption.tsx +2 -2
  103. package/src/components/MonthGrid.tsx +2 -2
  104. package/src/components/Months.tsx +2 -2
  105. package/src/components/Nav.tsx +2 -2
  106. package/src/components/NextMonthButton.tsx +4 -2
  107. package/src/components/Option.tsx +2 -2
  108. package/src/components/PreviousMonthButton.tsx +4 -2
  109. package/src/components/Root.tsx +2 -2
  110. package/src/components/Select.tsx +2 -2
  111. package/src/components/Week.tsx +2 -2
  112. package/src/components/WeekNumber.tsx +2 -2
  113. package/src/components/WeekNumberHeader.tsx +4 -2
  114. package/src/components/Weekday.tsx +2 -2
  115. package/src/components/Weekdays.tsx +2 -2
  116. package/src/components/Weeks.tsx +2 -2
  117. package/website/docs/upgrading.mdx +7 -6
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type ButtonHTMLAttributes } from "react";
2
2
  /**
3
3
  * Render the button elements in the calendar.
4
4
  *
5
5
  * @private
6
6
  * @deprecated Use `PreviousMonthButton` or `@link NextMonthButton` instead.
7
7
  */
8
- export declare function Button(props: JSX.IntrinsicElements["button"]): React.JSX.Element;
8
+ export declare function Button(props: ButtonHTMLAttributes<HTMLButtonElement>): React.JSX.Element;
9
9
  export type ButtonProps = Parameters<typeof Button>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/components/Button.tsx"],"names":[],"mappings":";;;;;AAQA,wBAEC;AAVD,kDAA0B;AAE1B;;;;;GAKG;AACH,SAAgB,MAAM,CAAC,KAAsC;IAC3D,OAAO,6CAAY,KAAK,GAAI,CAAC;AAC/B,CAAC"}
1
+ {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/components/Button.tsx"],"names":[],"mappings":";;;;;AAQA,wBAEC;AAVD,kDAAyD;AAEzD;;;;;GAKG;AACH,SAAgB,MAAM,CAAC,KAA8C;IACnE,OAAO,6CAAY,KAAK,GAAI,CAAC;AAC/B,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type HTMLAttributes } from "react";
2
2
  /**
3
3
  * Render the label in the month caption.
4
4
  *
5
5
  * @group Components
6
6
  * @see https://daypicker.dev/guides/custom-components
7
7
  */
8
- export declare function CaptionLabel(props: JSX.IntrinsicElements["span"]): React.JSX.Element;
8
+ export declare function CaptionLabel(props: HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
9
9
  export type CaptionLabelProps = Parameters<typeof CaptionLabel>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"CaptionLabel.js","sourceRoot":"","sources":["../../../src/components/CaptionLabel.tsx"],"names":[],"mappings":";;;;;AAQA,oCAEC;AAVD,kDAA0B;AAE1B;;;;;GAKG;AACH,SAAgB,YAAY,CAAC,KAAoC;IAC/D,OAAO,2CAAU,KAAK,GAAI,CAAC;AAC7B,CAAC"}
1
+ {"version":3,"file":"CaptionLabel.js","sourceRoot":"","sources":["../../../src/components/CaptionLabel.tsx"],"names":[],"mappings":";;;;;AAQA,oCAEC;AAVD,kDAAmD;AAEnD;;;;;GAKG;AACH,SAAgB,YAAY,CAAC,KAAsC;IACjE,OAAO,2CAAU,KAAK,GAAI,CAAC;AAC7B,CAAC"}
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React, { type HTMLAttributes } from "react";
2
2
  import type { CalendarDay } from "../classes/index.js";
3
3
  import type { Modifiers } from "../types/index.js";
4
4
  /**
@@ -16,5 +16,5 @@ export declare function Day(props: {
16
16
  day: CalendarDay;
17
17
  /** The modifiers to apply to the day. */
18
18
  modifiers: Modifiers;
19
- } & JSX.IntrinsicElements["td"]): React.JSX.Element;
19
+ } & HTMLAttributes<HTMLDivElement>): React.JSX.Element;
20
20
  export type DayProps = Parameters<typeof Day>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Day.js","sourceRoot":"","sources":["../../../src/components/Day.tsx"],"names":[],"mappings":";;;;;AAeA,kBAUC;AAzBD,kDAA0B;AAK1B;;;;;;;;;GASG;AACH,SAAgB,GAAG,CACjB,KAK+B;IAE/B,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,OAAO,EAAE,GAAG,KAAK,CAAC;IAC7C,OAAO,yCAAQ,OAAO,GAAI,CAAC;AAC7B,CAAC"}
1
+ {"version":3,"file":"Day.js","sourceRoot":"","sources":["../../../src/components/Day.tsx"],"names":[],"mappings":";;;;;AAeA,kBAUC;AAzBD,kDAAmD;AAKnD;;;;;;;;;GASG;AACH,SAAgB,GAAG,CACjB,KAKkC;IAElC,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,OAAO,EAAE,GAAG,KAAK,CAAC;IAC7C,OAAO,yCAAQ,OAAO,GAAI,CAAC;AAC7B,CAAC"}
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React, { type ButtonHTMLAttributes } from "react";
2
2
  import type { CalendarDay } from "../classes/index.js";
3
3
  import type { Modifiers } from "../types/index.js";
4
4
  /**
@@ -12,5 +12,5 @@ export declare function DayButton(props: {
12
12
  day: CalendarDay;
13
13
  /** The modifiers for the day. */
14
14
  modifiers: Modifiers;
15
- } & JSX.IntrinsicElements["button"]): React.JSX.Element;
15
+ } & ButtonHTMLAttributes<HTMLButtonElement>): React.JSX.Element;
16
16
  export type DayButtonProps = Parameters<typeof DayButton>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"DayButton.js","sourceRoot":"","sources":["../../../src/components/DayButton.tsx"],"names":[],"mappings":";;;;;AAWA,8BAeC;AA1BD,kDAA0B;AAK1B;;;;;GAKG;AACH,SAAgB,SAAS,CACvB,KAKmC;IAEnC,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK,CAAC;IAEjD,MAAM,GAAG,GAAG,eAAK,CAAC,MAAM,CAAoB,IAAI,CAAC,CAAC;IAClD,eAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,SAAS,CAAC,OAAO;YAAE,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC;IAC9C,CAAC,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;IACxB,OAAO,0CAAQ,GAAG,EAAE,GAAG,KAAM,WAAW,GAAI,CAAC;AAC/C,CAAC"}
1
+ {"version":3,"file":"DayButton.js","sourceRoot":"","sources":["../../../src/components/DayButton.tsx"],"names":[],"mappings":";;;;;AAWA,8BAeC;AA1BD,kDAAyD;AAKzD;;;;;GAKG;AACH,SAAgB,SAAS,CACvB,KAK2C;IAE3C,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK,CAAC;IAEjD,MAAM,GAAG,GAAG,eAAK,CAAC,MAAM,CAAoB,IAAI,CAAC,CAAC;IAClD,eAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,SAAS,CAAC,OAAO;YAAE,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC;IAC9C,CAAC,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;IACxB,OAAO,0CAAQ,GAAG,EAAE,GAAG,KAAM,WAAW,GAAI,CAAC;AAC/C,CAAC"}
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React, { type SelectHTMLAttributes } from "react";
2
2
  import type { ClassNames, CustomComponents } from "../types/index.js";
3
3
  /** An option to use in the dropdown. Maps to the `<option>` HTML element. */
4
4
  export type DropdownOption = {
@@ -30,5 +30,5 @@ export declare function Dropdown(props: {
30
30
  */
31
31
  classNames: ClassNames;
32
32
  options?: DropdownOption[] | undefined;
33
- } & Omit<JSX.IntrinsicElements["select"], "children">): React.JSX.Element;
33
+ } & Omit<SelectHTMLAttributes<HTMLSelectElement>, "children">): React.JSX.Element;
34
34
  export type DropdownProps = Parameters<typeof Dropdown>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.js","sourceRoot":"","sources":["../../../src/components/Dropdown.tsx"],"names":[],"mappings":";;;;;AAwBA,4BA4CC;AApED,kDAA0B;AAE1B,oCAA8B;AAgB9B;;;;;GAKG;AACH,SAAgB,QAAQ,CACtB,KAYqD;IAErD,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK,CAAC;IAE7E,MAAM,cAAc,GAAG,CAAC,UAAU,CAAC,UAAE,CAAC,QAAQ,CAAC,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I,CAAC,GAAG,CAAC,CAAC;IAEtE,MAAM,cAAc,GAAG,OAAO,EAAE,IAAI,CAClC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,WAAW,CAAC,KAAK,CAC3C,CAAC;IACF,OAAO,CACL,yDACiB,WAAW,CAAC,QAAQ,EACnC,SAAS,EAAE,UAAU,CAAC,UAAE,CAAC,YAAY,CAAC;QAEtC,8BAAC,UAAU,CAAC,MAAM,IAAC,SAAS,EAAE,cAAc,KAAM,WAAW,IAC1D,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC5C,8BAAC,UAAU,CAAC,MAAM,IAAC,GAAG,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,IAC5D,KAAK,CACY,CACrB,CAAC,CACgB;QACpB,wCAAM,SAAS,EAAE,UAAU,CAAC,UAAE,CAAC,YAAY,CAAC;YACzC,cAAc,EAAE,KAAK;YACtB,8BAAC,UAAU,CAAC,OAAO,IACjB,WAAW,EAAC,MAAM,EAClB,IAAI,EAAE,EAAE,EACR,SAAS,EAAE,UAAU,CAAC,UAAE,CAAC,OAAO,CAAC,GACjC,CACG,CACF,CACR,CAAC;AACJ,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type HTMLAttributes } from "react";
2
2
  /**
3
3
  * Render the the navigation dropdowns.
4
4
  *
5
5
  * @group Components
6
6
  * @see https://daypicker.dev/guides/custom-components
7
7
  */
8
- export declare function DropdownNav(props: JSX.IntrinsicElements["div"]): React.JSX.Element;
8
+ export declare function DropdownNav(props: HTMLAttributes<HTMLDivElement>): React.JSX.Element;
9
9
  export type DropdownNavProps = Parameters<typeof DropdownNav>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownNav.js","sourceRoot":"","sources":["../../../src/components/DropdownNav.tsx"],"names":[],"mappings":";;;;;AAQA,kCAEC;AAVD,kDAA0B;AAE1B;;;;;GAKG;AACH,SAAgB,WAAW,CAAC,KAAmC;IAC7D,OAAO,0CAAS,KAAK,GAAI,CAAC;AAC5B,CAAC"}
1
+ {"version":3,"file":"DropdownNav.js","sourceRoot":"","sources":["../../../src/components/DropdownNav.tsx"],"names":[],"mappings":";;;;;AAQA,kCAEC;AAVD,kDAAmD;AAEnD;;;;;GAKG;AACH,SAAgB,WAAW,CAAC,KAAqC;IAC/D,OAAO,0CAAS,KAAK,GAAI,CAAC;AAC5B,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type HTMLAttributes } from "react";
2
2
  /**
3
3
  * Component wrapping the footer.
4
4
  *
5
5
  * @group Components
6
6
  * @see https://daypicker.dev/guides/custom-components
7
7
  */
8
- export declare function Footer(props: JSX.IntrinsicElements["div"]): React.JSX.Element;
8
+ export declare function Footer(props: HTMLAttributes<HTMLDivElement>): React.JSX.Element;
9
9
  export type FooterProps = Parameters<typeof Footer>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../src/components/Footer.tsx"],"names":[],"mappings":";;;;;AAQA,wBAEC;AAVD,kDAA0B;AAE1B;;;;;GAKG;AACH,SAAgB,MAAM,CAAC,KAAmC;IACxD,OAAO,0CAAS,KAAK,GAAI,CAAC;AAC5B,CAAC"}
1
+ {"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../src/components/Footer.tsx"],"names":[],"mappings":";;;;;AAQA,wBAEC;AAVD,kDAAmD;AAEnD;;;;;GAKG;AACH,SAAgB,MAAM,CAAC,KAAqC;IAC1D,OAAO,0CAAS,KAAK,GAAI,CAAC;AAC5B,CAAC"}
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React, { type HTMLAttributes } from "react";
2
2
  import type { CalendarMonth } from "../classes/CalendarMonth.js";
3
3
  /**
4
4
  * Render the grid with the weekday header row and the weeks for the given
@@ -12,5 +12,5 @@ export declare function Month(props: {
12
12
  calendarMonth: CalendarMonth;
13
13
  /** The index where this month is displayed. */
14
14
  displayIndex: number;
15
- } & JSX.IntrinsicElements["div"]): React.JSX.Element;
15
+ } & HTMLAttributes<HTMLDivElement>): React.JSX.Element;
16
16
  export type MonthProps = Parameters<typeof Month>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Month.js","sourceRoot":"","sources":["../../../src/components/Month.tsx"],"names":[],"mappings":";;;;;AAWA,sBAUC;AArBD,kDAA0B;AAI1B;;;;;;GAMG;AACH,SAAgB,KAAK,CACnB,KAKgC;IAEhC,MAAM,EAAE,aAAa,EAAE,YAAY,EAAE,GAAG,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC3D,OAAO,0CAAS,QAAQ,IAAG,KAAK,CAAC,QAAQ,CAAO,CAAC;AACnD,CAAC"}
1
+ {"version":3,"file":"Month.js","sourceRoot":"","sources":["../../../src/components/Month.tsx"],"names":[],"mappings":";;;;;AAWA,sBAUC;AArBD,kDAAmD;AAInD;;;;;;GAMG;AACH,SAAgB,KAAK,CACnB,KAKkC;IAElC,MAAM,EAAE,aAAa,EAAE,YAAY,EAAE,GAAG,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC3D,OAAO,0CAAS,QAAQ,IAAG,KAAK,CAAC,QAAQ,CAAO,CAAC;AACnD,CAAC"}
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React, { type HTMLAttributes } from "react";
2
2
  import type { CalendarMonth } from "../classes/index.js";
3
3
  /**
4
4
  * Render the caption of a month in the calendar.
@@ -11,5 +11,5 @@ export declare function MonthCaption(props: {
11
11
  calendarMonth: CalendarMonth;
12
12
  /** The index where this month is displayed. */
13
13
  displayIndex: number;
14
- } & JSX.IntrinsicElements["div"]): React.JSX.Element;
14
+ } & HTMLAttributes<HTMLDivElement>): React.JSX.Element;
15
15
  export type MonthCaptionProps = Parameters<typeof MonthCaption>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"MonthCaption.js","sourceRoot":"","sources":["../../../src/components/MonthCaption.tsx"],"names":[],"mappings":";;;;;AAUA,oCAUC;AApBD,kDAA0B;AAI1B;;;;;GAKG;AACH,SAAgB,YAAY,CAC1B,KAKgC;IAEhC,MAAM,EAAE,aAAa,EAAE,YAAY,EAAE,GAAG,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC3D,OAAO,0CAAS,QAAQ,GAAI,CAAC;AAC/B,CAAC"}
1
+ {"version":3,"file":"MonthCaption.js","sourceRoot":"","sources":["../../../src/components/MonthCaption.tsx"],"names":[],"mappings":";;;;;AAUA,oCAUC;AApBD,kDAAmD;AAInD;;;;;GAKG;AACH,SAAgB,YAAY,CAC1B,KAKkC;IAElC,MAAM,EAAE,aAAa,EAAE,YAAY,EAAE,GAAG,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC3D,OAAO,0CAAS,QAAQ,GAAI,CAAC;AAC/B,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type TableHTMLAttributes } from "react";
2
2
  /**
3
3
  * Render the grid of days in a month.
4
4
  *
5
5
  * @group Components
6
6
  * @see https://daypicker.dev/guides/custom-components
7
7
  */
8
- export declare function MonthGrid(props: JSX.IntrinsicElements["table"]): React.JSX.Element;
8
+ export declare function MonthGrid(props: TableHTMLAttributes<HTMLTableElement>): React.JSX.Element;
9
9
  export type MonthGridProps = Parameters<typeof MonthGrid>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"MonthGrid.js","sourceRoot":"","sources":["../../../src/components/MonthGrid.tsx"],"names":[],"mappings":";;;;;AAQA,8BAEC;AAVD,kDAA0B;AAE1B;;;;;GAKG;AACH,SAAgB,SAAS,CAAC,KAAqC;IAC7D,OAAO,4CAAW,KAAK,GAAI,CAAC;AAC9B,CAAC"}
1
+ {"version":3,"file":"MonthGrid.js","sourceRoot":"","sources":["../../../src/components/MonthGrid.tsx"],"names":[],"mappings":";;;;;AAQA,8BAEC;AAVD,kDAAwD;AAExD;;;;;GAKG;AACH,SAAgB,SAAS,CAAC,KAA4C;IACpE,OAAO,4CAAW,KAAK,GAAI,CAAC;AAC9B,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type HTMLAttributes } from "react";
2
2
  /**
3
3
  * Component wrapping the month grids.
4
4
  *
5
5
  * @group Components
6
6
  * @see https://daypicker.dev/guides/custom-components
7
7
  */
8
- export declare function Months(props: JSX.IntrinsicElements["div"]): React.JSX.Element;
8
+ export declare function Months(props: HTMLAttributes<HTMLDivElement>): React.JSX.Element;
9
9
  export type MonthsProps = Parameters<typeof Months>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Months.js","sourceRoot":"","sources":["../../../src/components/Months.tsx"],"names":[],"mappings":";;;;;AAQA,wBAEC;AAVD,kDAA0B;AAE1B;;;;;GAKG;AACH,SAAgB,MAAM,CAAC,KAAmC;IACxD,OAAO,0CAAS,KAAK,GAAI,CAAC;AAC5B,CAAC"}
1
+ {"version":3,"file":"Months.js","sourceRoot":"","sources":["../../../src/components/Months.tsx"],"names":[],"mappings":";;;;;AAQA,wBAEC;AAVD,kDAAmD;AAEnD;;;;;GAKG;AACH,SAAgB,MAAM,CAAC,KAAqC;IAC1D,OAAO,0CAAS,KAAK,GAAI,CAAC;AAC5B,CAAC"}
@@ -1,4 +1,4 @@
1
- import React, { MouseEventHandler } from "react";
1
+ import React, { type MouseEventHandler, type HTMLAttributes } from "react";
2
2
  /**
3
3
  * Render the toolbar with the navigation button.
4
4
  *
@@ -10,5 +10,5 @@ export declare function Nav(props: {
10
10
  onNextClick?: MouseEventHandler<HTMLButtonElement>;
11
11
  previousMonth?: Date | undefined;
12
12
  nextMonth?: Date | undefined;
13
- } & JSX.IntrinsicElements["nav"]): React.JSX.Element;
13
+ } & HTMLAttributes<HTMLElement>): React.JSX.Element;
14
14
  export type NavProps = Parameters<typeof Nav>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Nav.js","sourceRoot":"","sources":["../../../src/components/Nav.tsx"],"names":[],"mappings":";;;;;AAWA,kBAsDC;AAj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EACb,SAAS,EAAE,UAAU,CAAC,UAAE,CAAC,eAAe,CAAC,EACzC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,EACpC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,gBAC1B,SAAS,CAAC,SAAS,CAAC,EAChC,OAAO,EAAE,KAAK,CAAC,WAAW;YAE1B,8BAAC,UAAU,CAAC,OAAO,IACjB,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,EACtC,WAAW,EAAC,OAAO,EACnB,SAAS,EAAE,UAAU,CAAC,UAAE,CAAC,OAAO,CAAC,GACjC,CACyB,CACzB,CACP,CAAC;AACJ,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type ButtonHTMLAttributes } from "react";
2
2
  /**
3
3
  * Render the next month button element in the calendar.
4
4
  *
5
5
  * @group Components
6
6
  * @see https://daypicker.dev/guides/custom-components
7
7
  */
8
- export declare function NextMonthButton(props: JSX.IntrinsicElements["button"]): React.JSX.Element;
8
+ export declare function NextMonthButton(props: ButtonHTMLAttributes<HTMLButtonElement>): React.JSX.Element;
9
9
  export type NextMonthButtonProps = Parameters<typeof NextMonthButton>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"NextMonthButton.js","sourceRoot":"","sources":["../../../src/components/NextMonthButton.tsx"],"names":[],"mappings":";;;;;AAUA,0CAGC;AAbD,kDAA0B;AAE1B,wDAAkD;AAElD;;;;;GAKG;AACH,SAAgB,eAAe,CAAC,KAAsC;IACpE,MAAM,EAAE,UAAU,EAAE,GAAG,IAAA,8BAAY,GAAE,CAAC;IACtC,OAAO,8BAAC,UAAU,CAAC,MAAM,OAAK,KAAK,GAAI,CAAC;AAC1C,CAAC"}
1
+ {"version":3,"file":"NextMonthButton.js","sourceRoot":"","sources":["../../../src/components/NextMonthButton.tsx"],"names":[],"mappings":";;;;;AAUA,0CAKC;AAfD,kDAAyD;AAEzD,wDAAkD;AAElD;;;;;GAKG;AACH,SAAgB,eAAe,CAC7B,KAA8C;IAE9C,MAAM,EAAE,UAAU,EAAE,GAAG,IAAA,8BAAY,GAAE,CAAC;IACtC,OAAO,8BAAC,UAAU,CAAC,MAAM,OAAK,KAAK,GAAI,CAAC;AAC1C,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type OptionHTMLAttributes } from "react";
2
2
  /**
3
3
  * Render the `option` element.
4
4
  *
5
5
  * @group Components
6
6
  * @see https://daypicker.dev/guides/custom-components
7
7
  */
8
- export declare function Option(props: JSX.IntrinsicElements["option"]): React.JSX.Element;
8
+ export declare function Option(props: OptionHTMLAttributes<HTMLOptionElement>): React.JSX.Element;
9
9
  export type OptionProps = Parameters<typeof Option>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Option.js","sourceRoot":"","sources":["../../../src/components/Option.tsx"],"names":[],"mappings":";;;;;AAQA,wBAEC;AAVD,kDAA0B;AAE1B;;;;;GAKG;AACH,SAAgB,MAAM,CAAC,KAAsC;IAC3D,OAAO,6CAAY,KAAK,GAAI,CAAC;AAC/B,CAAC"}
1
+ {"version":3,"file":"Option.js","sourceRoot":"","sources":["../../../src/components/Option.tsx"],"names":[],"mappings":";;;;;AAQA,wBAEC;AAVD,kDAAyD;AAEzD;;;;;GAKG;AACH,SAAgB,MAAM,CAAC,KAA8C;IACnE,OAAO,6CAAY,KAAK,GAAI,CAAC;AAC/B,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type ButtonHTMLAttributes } from "react";
2
2
  /**
3
3
  * Render the previous month button element in the calendar.
4
4
  *
5
5
  * @group Components
6
6
  * @see https://daypicker.dev/guides/custom-components
7
7
  */
8
- export declare function PreviousMonthButton(props: JSX.IntrinsicElements["button"]): React.JSX.Element;
8
+ export declare function PreviousMonthButton(props: ButtonHTMLAttributes<HTMLButtonElement>): React.JSX.Element;
9
9
  export type PreviousMonthButtonProps = Parameters<typeof PreviousMonthButton>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"PreviousMonthButton.js","sourceRoot":"","sources":["../../../src/components/PreviousMonthButton.tsx"],"names":[],"mappings":";;;;;AAUA,kDAGC;AAbD,kDAA0B;AAE1B,wDAAkD;AAElD;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,KAAsC;IACxE,MAAM,EAAE,UAAU,EAAE,GAAG,IAAA,8BAAY,GAAE,CAAC;IACtC,OAAO,8BAAC,UAAU,CAAC,MAAM,OAAK,KAAK,GAAI,CAAC;AAC1C,CAAC"}
1
+ {"version":3,"file":"PreviousMonthButton.js","sourceRoot":"","sources":["../../../src/components/PreviousMonthButton.tsx"],"names":[],"mappings":";;;;;AAUA,kDAKC;AAfD,kDAAyD;AAEzD,wDAAkD;AAElD;;;;;GAKG;AACH,SAAgB,mBAAmB,CACjC,KAA8C;IAE9C,MAAM,EAAE,UAAU,EAAE,GAAG,IAAA,8BAAY,GAAE,CAAC;IACtC,OAAO,8BAAC,UAAU,CAAC,MAAM,OAAK,KAAK,GAAI,CAAC;AAC1C,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type HTMLAttributes } from "react";
2
2
  /**
3
3
  * Render the root element.
4
4
  *
5
5
  * @group Components
6
6
  * @see https://daypicker.dev/guides/custom-components
7
7
  */
8
- export declare function Root(props: JSX.IntrinsicElements["div"]): React.JSX.Element;
8
+ export declare function Root(props: HTMLAttributes<HTMLDivElement>): React.JSX.Element;
9
9
  export type RootProps = Parameters<typeof Root>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Root.js","sourceRoot":"","sources":["../../../src/components/Root.tsx"],"names":[],"mappings":";;;;;AAQA,oBAEC;AAVD,kDAA0B;AAE1B;;;;;GAKG;AACH,SAAgB,IAAI,CAAC,KAAmC;IACtD,OAAO,0CAAS,KAAK,GAAI,CAAC;AAC5B,CAAC"}
1
+ {"version":3,"file":"Root.js","sourceRoot":"","sources":["../../../src/components/Root.tsx"],"names":[],"mappings":";;;;;AAQA,oBAEC;AAVD,kDAAmD;AAEnD;;;;;GAKG;AACH,SAAgB,IAAI,CAAC,KAAqC;IACxD,OAAO,0CAAS,KAAK,GAAI,CAAC;AAC5B,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type SelectHTMLAttributes } from "react";
2
2
  /**
3
3
  * Render the `select` element.
4
4
  *
5
5
  * @group Components
6
6
  * @see https://daypicker.dev/guides/custom-components
7
7
  */
8
- export declare function Select(props: JSX.IntrinsicElements["select"]): React.JSX.Element;
8
+ export declare function Select(props: SelectHTMLAttributes<HTMLSelectElement>): React.JSX.Element;
9
9
  export type SelectProps = Parameters<typeof Select>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/components/Select.tsx"],"names":[],"mappings":";;;;;AAQA,wBAEC;AAVD,kDAA0B;AAE1B;;;;;GAKG;AACH,SAAgB,MAAM,CAAC,KAAsC;IAC3D,OAAO,6CAAY,KAAK,GAAI,CAAC;AAC/B,CAAC"}
1
+ {"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/components/Select.tsx"],"names":[],"mappings":";;;;;AAQA,wBAEC;AAVD,kDAAyD;AAEzD;;;;;GAKG;AACH,SAAgB,MAAM,CAAC,KAA8C;IACnE,OAAO,6CAAY,KAAK,GAAI,CAAC;AAC/B,CAAC"}
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React, { type HTMLAttributes } from "react";
2
2
  import type { CalendarWeek } from "../classes/index.js";
3
3
  /**
4
4
  * Render a row in the calendar, with the days and the week number.
@@ -8,5 +8,5 @@ import type { CalendarWeek } from "../classes/index.js";
8
8
  */
9
9
  export declare function Week(props: {
10
10
  week: CalendarWeek;
11
- } & JSX.IntrinsicElements["tr"]): React.JSX.Element;
11
+ } & HTMLAttributes<HTMLTableRowElement>): React.JSX.Element;
12
12
  export type WeekProps = Parameters<typeof Week>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Week.js","sourceRoot":"","sources":["../../../src/components/Week.tsx"],"names":[],"mappings":";;;;;AAUA,oBAOC;AAjBD,kDAA0B;AAI1B;;;;;GAKG;AACH,SAAgB,IAAI,CAClB,KAE+B;IAE/B,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,GAAG,KAAK,CAAC;IACnC,OAAO,yCAAQ,OAAO,GAAI,CAAC;AAC7B,CAAC"}
1
+ {"version":3,"file":"Week.js","sourceRoot":"","sources":["../../../src/components/Week.tsx"],"names":[],"mappings":";;;;;AAUA,oBAOC;AAjBD,kDAAmD;AAInD;;;;;GAKG;AACH,SAAgB,IAAI,CAClB,KAEuC;IAEvC,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,GAAG,KAAK,CAAC;IACnC,OAAO,yCAAQ,OAAO,GAAI,CAAC;AAC7B,CAAC"}
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React, { type ThHTMLAttributes } from "react";
2
2
  import type { CalendarWeek } from "../classes/index.js";
3
3
  /**
4
4
  * Render the cell with the number of the week.
@@ -9,5 +9,5 @@ import type { CalendarWeek } from "../classes/index.js";
9
9
  export declare function WeekNumber(props: {
10
10
  /** The week to render. */
11
11
  week: CalendarWeek;
12
- } & JSX.IntrinsicElements["th"]): React.JSX.Element;
12
+ } & ThHTMLAttributes<HTMLTableCellElement>): React.JSX.Element;
13
13
  export type WeekNumberProps = Parameters<typeof WeekNumber>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"WeekNumber.js","sourceRoot":"","sources":["../../../src/components/WeekNumber.tsx"],"names":[],"mappings":";;;;;AAUA,gCAQC;AAlBD,kDAA0B;AAI1B;;;;;GAKG;AACH,SAAgB,UAAU,CACxB,KAG+B;IAE/B,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,GAAG,KAAK,CAAC;IACnC,OAAO,yCAAQ,OAAO,GAAI,CAAC;AAC7B,CAAC"}
1
+ {"version":3,"file":"WeekNumber.js","sourceRoot":"","sources":["../../../src/components/WeekNumber.tsx"],"names":[],"mappings":";;;;;AAUA,gCAQC;AAlBD,kDAAqD;AAIrD;;;;;GAKG;AACH,SAAgB,UAAU,CACxB,KAG0C;IAE1C,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,GAAG,KAAK,CAAC;IACnC,OAAO,yCAAQ,OAAO,GAAI,CAAC;AAC7B,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type ThHTMLAttributes } from "react";
2
2
  /**
3
3
  * Render the column header for the week numbers.
4
4
  *
5
5
  * @group Components
6
6
  * @see https://daypicker.dev/guides/custom-components
7
7
  */
8
- export declare function WeekNumberHeader(props: JSX.IntrinsicElements["th"]): React.JSX.Element;
8
+ export declare function WeekNumberHeader(props: ThHTMLAttributes<HTMLTableCellElement>): React.JSX.Element;
9
9
  export type WeekNumberHeaderProps = Parameters<typeof WeekNumberHeader>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"WeekNumberHeader.js","sourceRoot":"","sources":["../../../src/components/WeekNumberHeader.tsx"],"names":[],"mappings":";;;;;AAQA,4CAEC;AAVD,kDAA0B;AAE1B;;;;;GAKG;AACH,SAAgB,gBAAgB,CAAC,KAAkC;IACjE,OAAO,yCAAQ,KAAK,GAAI,CAAC;AAC3B,CAAC"}
1
+ {"version":3,"file":"WeekNumberHeader.js","sourceRoot":"","sources":["../../../src/components/WeekNumberHeader.tsx"],"names":[],"mappings":";;;;;AAQA,4CAIC;AAZD,kDAAqD;AAErD;;;;;GAKG;AACH,SAAgB,gBAAgB,CAC9B,KAA6C;IAE7C,OAAO,yCAAQ,KAAK,GAAI,CAAC;AAC3B,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type ThHTMLAttributes } from "react";
2
2
  /**
3
3
  * Render the column header with the weekday name (e.g. "Mo", "Tu", etc.).
4
4
  *
5
5
  * @group Components
6
6
  * @see https://daypicker.dev/guides/custom-components
7
7
  */
8
- export declare function Weekday(props: JSX.IntrinsicElements["th"]): React.JSX.Element;
8
+ export declare function Weekday(props: ThHTMLAttributes<HTMLTableCellElement>): React.JSX.Element;
9
9
  export type WeekdayProps = Parameters<typeof Weekday>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Weekday.js","sourceRoot":"","sources":["../../../src/components/Weekday.tsx"],"names":[],"mappings":";;;;;AAQA,0BAEC;AAVD,kDAA0B;AAE1B;;;;;GAKG;AACH,SAAgB,OAAO,CAAC,KAAkC;IACxD,OAAO,yCAAQ,KAAK,GAAI,CAAC;AAC3B,CAAC"}
1
+ {"version":3,"file":"Weekday.js","sourceRoot":"","sources":["../../../src/components/Weekday.tsx"],"names":[],"mappings":";;;;;AAQA,0BAEC;AAVD,kDAAqD;AAErD;;;;;GAKG;AACH,SAAgB,OAAO,CAAC,KAA6C;IACnE,OAAO,yCAAQ,KAAK,GAAI,CAAC;AAC3B,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type HTMLAttributes } from "react";
2
2
  /**
3
3
  * Render the row with the weekday names.
4
4
  *
5
5
  * @group Components
6
6
  * @see https://daypicker.dev/guides/custom-components
7
7
  */
8
- export declare function Weekdays(props: JSX.IntrinsicElements["tr"]): React.JSX.Element;
8
+ export declare function Weekdays(props: HTMLAttributes<HTMLTableRowElement>): React.JSX.Element;
9
9
  export type WeekdaysProps = Parameters<typeof Weekdays>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Weekdays.js","sourceRoot":"","sources":["../../../src/components/Weekdays.tsx"],"names":[],"mappings":";;;;;AAQA,4BAMC;AAdD,kDAA0B;AAE1B;;;;;GAKG;AACH,SAAgB,QAAQ,CAAC,KAAkC;IACzD,OAAO,CACL;QACE,yCAAQ,KAAK,GAAI,CACX,CACT,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"Weekdays.js","sourceRoot":"","sources":["../../../src/components/Weekdays.tsx"],"names":[],"mappings":";;;;;AAQA,4BAMC;AAdD,kDAAmD;AAEnD;;;;;GAKG;AACH,SAAgB,QAAQ,CAAC,KAA0C;IACjE,OAAO,CACL;QACE,yCAAQ,KAAK,GAAI,CACX,CACT,CAAC;AACJ,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type HTMLAttributes } from "react";
2
2
  /**
3
3
  * Render the weeks in the month grid.
4
4
  *
5
5
  * @group Components
6
6
  * @see https://daypicker.dev/guides/custom-components
7
7
  */
8
- export declare function Weeks(props: JSX.IntrinsicElements["tbody"]): React.JSX.Element;
8
+ export declare function Weeks(props: HTMLAttributes<HTMLTableSectionElement>): React.JSX.Element;
9
9
  export type WeeksProps = Parameters<typeof Weeks>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Weeks.js","sourceRoot":"","sources":["../../../src/components/Weeks.tsx"],"names":[],"mappings":";;;;;AAQA,sBAEC;AAVD,kDAA0B;AAE1B;;;;;GAKG;AACH,SAAgB,KAAK,CAAC,KAAqC;IACzD,OAAO,4CAAW,KAAK,GAAI,CAAC;AAC9B,CAAC"}
1
+ {"version":3,"file":"Weeks.js","sourceRoot":"","sources":["../../../src/components/Weeks.tsx"],"names":[],"mappings":";;;;;AAQA,sBAEC;AAVD,kDAAmD;AAEnD;;;;;GAKG;AACH,SAAgB,KAAK,CAAC,KAA8C;IAClE,OAAO,4CAAW,KAAK,GAAI,CAAC;AAC9B,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type ButtonHTMLAttributes } from "react";
2
2
  /**
3
3
  * Render the button elements in the calendar.
4
4
  *
5
5
  * @private
6
6
  * @deprecated Use `PreviousMonthButton` or `@link NextMonthButton` instead.
7
7
  */
8
- export declare function Button(props: JSX.IntrinsicElements["button"]): React.JSX.Element;
8
+ export declare function Button(props: ButtonHTMLAttributes<HTMLButtonElement>): React.JSX.Element;
9
9
  export type ButtonProps = Parameters<typeof Button>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;;GAKG;AACH,MAAM,UAAU,MAAM,CAAC,KAAsC;IAC3D,OAAO,mCAAY,KAAK,GAAI,CAAC;AAC/B,CAAC"}
1
+ {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAEzD;;;;;GAKG;AACH,MAAM,UAAU,MAAM,CAAC,KAA8C;IACnE,OAAO,mCAAY,KAAK,GAAI,CAAC;AAC/B,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type HTMLAttributes } from "react";
2
2
  /**
3
3
  * Render the label in the month caption.
4
4
  *
5
5
  * @group Components
6
6
  * @see https://daypicker.dev/guides/custom-components
7
7
  */
8
- export declare function CaptionLabel(props: JSX.IntrinsicElements["span"]): React.JSX.Element;
8
+ export declare function CaptionLabel(props: HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
9
9
  export type CaptionLabelProps = Parameters<typeof CaptionLabel>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"CaptionLabel.js","sourceRoot":"","sources":["../../../src/components/CaptionLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;;GAKG;AACH,MAAM,UAAU,YAAY,CAAC,KAAoC;IAC/D,OAAO,iCAAU,KAAK,GAAI,CAAC;AAC7B,CAAC"}
1
+ {"version":3,"file":"CaptionLabel.js","sourceRoot":"","sources":["../../../src/components/CaptionLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD;;;;;GAKG;AACH,MAAM,UAAU,YAAY,CAAC,KAAsC;IACjE,OAAO,iCAAU,KAAK,GAAI,CAAC;AAC7B,CAAC"}
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React, { type HTMLAttributes } from "react";
2
2
  import type { CalendarDay } from "../classes/index.js";
3
3
  import type { Modifiers } from "../types/index.js";
4
4
  /**
@@ -16,5 +16,5 @@ export declare function Day(props: {
16
16
  day: CalendarDay;
17
17
  /** The modifiers to apply to the day. */
18
18
  modifiers: Modifiers;
19
- } & JSX.IntrinsicElements["td"]): React.JSX.Element;
19
+ } & HTMLAttributes<HTMLDivElement>): React.JSX.Element;
20
20
  export type DayProps = Parameters<typeof Day>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Day.js","sourceRoot":"","sources":["../../../src/components/Day.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B;;;;;;;;;GASG;AACH,MAAM,UAAU,GAAG,CACjB,KAK+B;IAE/B,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,OAAO,EAAE,GAAG,KAAK,CAAC;IAC7C,OAAO,+BAAQ,OAAO,GAAI,CAAC;AAC7B,CAAC"}
1
+ {"version":3,"file":"Day.js","sourceRoot":"","sources":["../../../src/components/Day.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD;;;;;;;;;GASG;AACH,MAAM,UAAU,GAAG,CACjB,KAKkC;IAElC,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,OAAO,EAAE,GAAG,KAAK,CAAC;IAC7C,OAAO,+BAAQ,OAAO,GAAI,CAAC;AAC7B,CAAC"}
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React, { type ButtonHTMLAttributes } from "react";
2
2
  import type { CalendarDay } from "../classes/index.js";
3
3
  import type { Modifiers } from "../types/index.js";
4
4
  /**
@@ -12,5 +12,5 @@ export declare function DayButton(props: {
12
12
  day: CalendarDay;
13
13
  /** The modifiers for the day. */
14
14
  modifiers: Modifiers;
15
- } & JSX.IntrinsicElements["button"]): React.JSX.Element;
15
+ } & ButtonHTMLAttributes<HTMLButtonElement>): React.JSX.Element;
16
16
  export type DayButtonProps = Parameters<typeof DayButton>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"DayButton.js","sourceRoot":"","sources":["../../../src/components/DayButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B;;;;;GAKG;AACH,MAAM,UAAU,SAAS,CACvB,KAKmC;IAEnC,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK,CAAC;IAEjD,MAAM,GAAG,GAAG,KAAK,CAAC,MAAM,CAAoB,IAAI,CAAC,CAAC;IAClD,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,SAAS,CAAC,OAAO;YAAE,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC;IAC9C,CAAC,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;IACxB,OAAO,gCAAQ,GAAG,EAAE,GAAG,KAAM,WAAW,GAAI,CAAC;AAC/C,CAAC"}
1
+ {"version":3,"file":"DayButton.js","sourceRoot":"","sources":["../../../src/components/DayButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAKzD;;;;;GAKG;AACH,MAAM,UAAU,SAAS,CACvB,KAK2C;IAE3C,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK,CAAC;IAEjD,MAAM,GAAG,GAAG,KAAK,CAAC,MAAM,CAAoB,IAAI,CAAC,CAAC;IAClD,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACnB,IAAI,SAAS,CAAC,OAAO;YAAE,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,CAAC;IAC9C,CAAC,EAAE,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;IACxB,OAAO,gCAAQ,GAAG,EAAE,GAAG,KAAM,WAAW,GAAI,CAAC;AAC/C,CAAC"}
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React, { type SelectHTMLAttributes } from "react";
2
2
  import type { ClassNames, CustomComponents } from "../types/index.js";
3
3
  /** An option to use in the dropdown. Maps to the `<option>` HTML element. */
4
4
  export type DropdownOption = {
@@ -30,5 +30,5 @@ export declare function Dropdown(props: {
30
30
  */
31
31
  classNames: ClassNames;
32
32
  options?: DropdownOption[] | undefined;
33
- } & Omit<JSX.IntrinsicElements["select"], "children">): React.JSX.Element;
33
+ } & Omit<SelectHTMLAttributes<HTMLSelectElement>, "children">): React.JSX.Element;
34
34
  export type DropdownProps = Parameters<typeof Dropdown>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.js","sourceRoot":"","sources":["../../../src/components/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAgB9B;;;;;GAKG;AACH,MAAM,UAAU,QAAQ,CACtB,KAYqD;IAErD,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK,CAAC;IAE7E,MAAM,cAAc,GAAG,CAAC,UAAU,CAAC,EAAE,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAEtE,MAAM,cAAc,GAAG,OAAO,EAAE,IAAI,CAClC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,KAAK,WAAW,CAAC,KAAK,CAC3C,CAAC;IACF,OAAO,CACL,+CACiB,WAAW,CAAC,QAAQ,EACnC,SAAS,EAAE,UAAU,CAAC,EAAE,CAAC,YAAY,CAAC;QAEtC,oBAAC,UAAU,CAAC,MAAM,IAAC,SAAS,EAAE,cAAc,KAAM,WAAW,IAC1D,OAAO,EAAE,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC5C,oBAAC,UAAU,CAAC,MAAM,IAAC,GAAG,EAAE,KAAK,EAAE,KAAK,EA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EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,IAC5D,KAAK,CACY,CACrB,CAAC,CACgB;QACpB,8BAAM,SAAS,EAAE,UAAU,CAAC,EAAE,CAAC,YAAY,CAAC;YACzC,cAAc,EAAE,KAAK;YACtB,oBAAC,UAAU,CAAC,OAAO,IACjB,WAAW,EAAC,MAAM,EAClB,IAAI,EAAE,EAAE,EACR,SAAS,EAAE,UAAU,CAAC,EAAE,CAAC,OAAO,CAAC,GACjC,CACG,CACF,CACR,CAAC;AACJ,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type HTMLAttributes } from "react";
2
2
  /**
3
3
  * Render the the navigation dropdowns.
4
4
  *
5
5
  * @group Components
6
6
  * @see https://daypicker.dev/guides/custom-components
7
7
  */
8
- export declare function DropdownNav(props: JSX.IntrinsicElements["div"]): React.JSX.Element;
8
+ export declare function DropdownNav(props: HTMLAttributes<HTMLDivElement>): React.JSX.Element;
9
9
  export type DropdownNavProps = Parameters<typeof DropdownNav>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownNav.js","sourceRoot":"","sources":["../../../src/components/DropdownNav.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;;GAKG;AACH,MAAM,UAAU,WAAW,CAAC,KAAmC;IAC7D,OAAO,gCAAS,KAAK,GAAI,CAAC;AAC5B,CAAC"}
1
+ {"version":3,"file":"DropdownNav.js","sourceRoot":"","sources":["../../../src/components/DropdownNav.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD;;;;;GAKG;AACH,MAAM,UAAU,WAAW,CAAC,KAAqC;IAC/D,OAAO,gCAAS,KAAK,GAAI,CAAC;AAC5B,CAAC"}
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import React, { type HTMLAttributes } from "react";
2
2
  /**
3
3
  * Component wrapping the footer.
4
4
  *
5
5
  * @group Components
6
6
  * @see https://daypicker.dev/guides/custom-components
7
7
  */
8
- export declare function Footer(props: JSX.IntrinsicElements["div"]): React.JSX.Element;
8
+ export declare function Footer(props: HTMLAttributes<HTMLDivElement>): React.JSX.Element;
9
9
  export type FooterProps = Parameters<typeof Footer>[0];
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../src/components/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;;GAKG;AACH,MAAM,UAAU,MAAM,CAAC,KAAmC;IACxD,OAAO,gCAAS,KAAK,GAAI,CAAC;AAC5B,CAAC"}
1
+ {"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../src/components/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD;;;;;GAKG;AACH,MAAM,UAAU,MAAM,CAAC,KAAqC;IAC1D,OAAO,gCAAS,KAAK,GAAI,CAAC;AAC5B,CAAC"}
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React, { type HTMLAttributes } from "react";
2
2
  import type { CalendarMonth } from "../classes/CalendarMonth.js";
3
3
  /**
4
4
  * Render the grid with the weekday header row and the weeks for the given
@@ -12,5 +12,5 @@ export declare function Month(props: {
12
12
  calendarMonth: CalendarMonth;
13
13
  /** The index where this month is displayed. */
14
14
  displayIndex: number;
15
- } & JSX.IntrinsicElements["div"]): React.JSX.Element;
15
+ } & HTMLAttributes<HTMLDivElement>): React.JSX.Element;
16
16
  export type MonthProps = Parameters<typeof Month>[0];