@rpcbase/ui 0.192.0 → 0.193.0

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 (234) hide show
  1. package/dist/index100.js +3 -4
  2. package/dist/index100.js.map +1 -1
  3. package/dist/index101.js +5 -4
  4. package/dist/index101.js.map +1 -1
  5. package/dist/index102.js +4 -8
  6. package/dist/index102.js.map +1 -1
  7. package/dist/index103.js +8 -5
  8. package/dist/index103.js.map +1 -1
  9. package/dist/index104.js +5 -4
  10. package/dist/index104.js.map +1 -1
  11. package/dist/index105.js +3 -3
  12. package/dist/index105.js.map +1 -1
  13. package/dist/index106.js +4 -6
  14. package/dist/index106.js.map +1 -1
  15. package/dist/index107.js +6 -145
  16. package/dist/index107.js.map +1 -1
  17. package/dist/index108.js +144 -38
  18. package/dist/index108.js.map +1 -1
  19. package/dist/index109.js +39 -4
  20. package/dist/index109.js.map +1 -1
  21. package/dist/index110.js +4 -7
  22. package/dist/index110.js.map +1 -1
  23. package/dist/index111.js +6 -12
  24. package/dist/index111.js.map +1 -1
  25. package/dist/index112.js +13 -13
  26. package/dist/index112.js.map +1 -1
  27. package/dist/index113.js +13 -7
  28. package/dist/index113.js.map +1 -1
  29. package/dist/index114.js +6 -30
  30. package/dist/index114.js.map +1 -1
  31. package/dist/index115.js +31 -10
  32. package/dist/index115.js.map +1 -1
  33. package/dist/index116.js +10 -10
  34. package/dist/index116.js.map +1 -1
  35. package/dist/index117.js +10 -8
  36. package/dist/index117.js.map +1 -1
  37. package/dist/index118.js +8 -13
  38. package/dist/index118.js.map +1 -1
  39. package/dist/index119.js +13 -101
  40. package/dist/index119.js.map +1 -1
  41. package/dist/index120.js +102 -20
  42. package/dist/index120.js.map +1 -1
  43. package/dist/index121.js +20 -54
  44. package/dist/index121.js.map +1 -1
  45. package/dist/index122.js +51 -70
  46. package/dist/index122.js.map +1 -1
  47. package/dist/index123.js +72 -9
  48. package/dist/index123.js.map +1 -1
  49. package/dist/index124.js +9 -20
  50. package/dist/index124.js.map +1 -1
  51. package/dist/index125.js +20 -16
  52. package/dist/index125.js.map +1 -1
  53. package/dist/index126.js +16 -23
  54. package/dist/index126.js.map +1 -1
  55. package/dist/index127.js +23 -6
  56. package/dist/index127.js.map +1 -1
  57. package/dist/index128.js +6 -5
  58. package/dist/index128.js.map +1 -1
  59. package/dist/index129.js +5 -23
  60. package/dist/index129.js.map +1 -1
  61. package/dist/index130.js +24 -35
  62. package/dist/index130.js.map +1 -1
  63. package/dist/index131.js +35 -16
  64. package/dist/index131.js.map +1 -1
  65. package/dist/index132.js +16 -7
  66. package/dist/index132.js.map +1 -1
  67. package/dist/index133.js +6 -4
  68. package/dist/index133.js.map +1 -1
  69. package/dist/index134.js +4 -4
  70. package/dist/index134.js.map +1 -1
  71. package/dist/index135.js +4 -4
  72. package/dist/index135.js.map +1 -1
  73. package/dist/index136.js +4 -4
  74. package/dist/index136.js.map +1 -1
  75. package/dist/index137.js +4 -3
  76. package/dist/index137.js.map +1 -1
  77. package/dist/index138.js +3 -6
  78. package/dist/index138.js.map +1 -1
  79. package/dist/index139.js +7 -24
  80. package/dist/index139.js.map +1 -1
  81. package/dist/index140.js +24 -8
  82. package/dist/index140.js.map +1 -1
  83. package/dist/index141.js +7 -6
  84. package/dist/index141.js.map +1 -1
  85. package/dist/index142.js +6 -5
  86. package/dist/index142.js.map +1 -1
  87. package/dist/index143.js +5 -3
  88. package/dist/index143.js.map +1 -1
  89. package/dist/index144.js +3 -3
  90. package/dist/index144.js.map +1 -1
  91. package/dist/index145.js +3 -4
  92. package/dist/index145.js.map +1 -1
  93. package/dist/index146.js +4 -3
  94. package/dist/index146.js.map +1 -1
  95. package/dist/index147.js +3 -4
  96. package/dist/index147.js.map +1 -1
  97. package/dist/index148.js +4 -3
  98. package/dist/index148.js.map +1 -1
  99. package/dist/index149.js +3 -3
  100. package/dist/index149.js.map +1 -1
  101. package/dist/index150.js +3 -3
  102. package/dist/index150.js.map +1 -1
  103. package/dist/index151.js +3 -46
  104. package/dist/index151.js.map +1 -1
  105. package/dist/index152.js +1 -1
  106. package/dist/index154.js +1 -1
  107. package/dist/index155.js +1 -1
  108. package/dist/index157.js +13 -13
  109. package/dist/index183.js +1 -1
  110. package/dist/index19.js +405 -391
  111. package/dist/index19.js.map +1 -1
  112. package/dist/index230.js +1 -1
  113. package/dist/index233.js +1 -1
  114. package/dist/index235.js +1 -1
  115. package/dist/index236.js +1 -1
  116. package/dist/index237.js +3 -3
  117. package/dist/index238.js +2 -2
  118. package/dist/index24.js +1 -1
  119. package/dist/index242.js +2 -2
  120. package/dist/index243.js +9 -9
  121. package/dist/index244.js +1 -1
  122. package/dist/index274.js +1 -1
  123. package/dist/index276.js +4 -4
  124. package/dist/index299.js +65 -69
  125. package/dist/index299.js.map +1 -1
  126. package/dist/index300.js +68 -8
  127. package/dist/index300.js.map +1 -1
  128. package/dist/index301.js +9 -14
  129. package/dist/index301.js.map +1 -1
  130. package/dist/index302.js +14 -66
  131. package/dist/index302.js.map +1 -1
  132. package/dist/index303.js +65 -64
  133. package/dist/index303.js.map +1 -1
  134. package/dist/index31.js +5 -5
  135. package/dist/index32.js +24 -24
  136. package/dist/index33.js +3 -3
  137. package/dist/index41.js +20 -20
  138. package/dist/index45.js +1 -1
  139. package/dist/index46.js +1 -1
  140. package/dist/index49.js +1 -1
  141. package/dist/index50.js +1 -1
  142. package/dist/index51.js +2 -205
  143. package/dist/index51.js.map +1 -1
  144. package/dist/index52.js +2 -7
  145. package/dist/index52.js.map +1 -1
  146. package/dist/index53.js +6 -33
  147. package/dist/index53.js.map +1 -1
  148. package/dist/index54.js +33 -26
  149. package/dist/index54.js.map +1 -1
  150. package/dist/index55.js +26 -7
  151. package/dist/index55.js.map +1 -1
  152. package/dist/index56.js +7 -11
  153. package/dist/index56.js.map +1 -1
  154. package/dist/index57.js +11 -3
  155. package/dist/index57.js.map +1 -1
  156. package/dist/index58.js +2 -48
  157. package/dist/index58.js.map +1 -1
  158. package/dist/index59.js +2 -51
  159. package/dist/index59.js.map +1 -1
  160. package/dist/index60.js +205 -8
  161. package/dist/index60.js.map +1 -1
  162. package/dist/index61.js +3 -14
  163. package/dist/index61.js.map +1 -1
  164. package/dist/index62.js +43 -129
  165. package/dist/index62.js.map +1 -1
  166. package/dist/index63.js +50 -10
  167. package/dist/index63.js.map +1 -1
  168. package/dist/index64.js +7 -216
  169. package/dist/index64.js.map +1 -1
  170. package/dist/index65.js +15 -13
  171. package/dist/index65.js.map +1 -1
  172. package/dist/index66.js +128 -41
  173. package/dist/index66.js.map +1 -1
  174. package/dist/index67.js +9 -48
  175. package/dist/index67.js.map +1 -1
  176. package/dist/index68.js +216 -3
  177. package/dist/index68.js.map +1 -1
  178. package/dist/index69.js +13 -6
  179. package/dist/index69.js.map +1 -1
  180. package/dist/index70.js +46 -27
  181. package/dist/index70.js.map +1 -1
  182. package/dist/index71.js +50 -50
  183. package/dist/index71.js.map +1 -1
  184. package/dist/index72.js +4 -9
  185. package/dist/index72.js.map +1 -1
  186. package/dist/index73.js +6 -2
  187. package/dist/index73.js.map +1 -1
  188. package/dist/index74.js +28 -2
  189. package/dist/index74.js.map +1 -1
  190. package/dist/index75.js +50 -2
  191. package/dist/index75.js.map +1 -1
  192. package/dist/index76.js +9 -2
  193. package/dist/index76.js.map +1 -1
  194. package/dist/index80.js +47 -52
  195. package/dist/index80.js.map +1 -1
  196. package/dist/index81.js +52 -5
  197. package/dist/index81.js.map +1 -1
  198. package/dist/index82.js +4 -4
  199. package/dist/index82.js.map +1 -1
  200. package/dist/index83.js +4 -15
  201. package/dist/index83.js.map +1 -1
  202. package/dist/index84.js +15 -5
  203. package/dist/index84.js.map +1 -1
  204. package/dist/index85.js +5 -7
  205. package/dist/index85.js.map +1 -1
  206. package/dist/index86.js +6 -15
  207. package/dist/index86.js.map +1 -1
  208. package/dist/index87.js +16 -4
  209. package/dist/index87.js.map +1 -1
  210. package/dist/index88.js +1 -1
  211. package/dist/index88.js.map +1 -1
  212. package/dist/index89.js +4 -5
  213. package/dist/index89.js.map +1 -1
  214. package/dist/index90.js +4 -4
  215. package/dist/index90.js.map +1 -1
  216. package/dist/index91.js +5 -4
  217. package/dist/index91.js.map +1 -1
  218. package/dist/index92.js +2 -2
  219. package/dist/index92.js.map +1 -1
  220. package/dist/index93.js +3 -5
  221. package/dist/index93.js.map +1 -1
  222. package/dist/index94.js +6 -24
  223. package/dist/index94.js.map +1 -1
  224. package/dist/index95.js +24 -6
  225. package/dist/index95.js.map +1 -1
  226. package/dist/index96.js +6 -4
  227. package/dist/index96.js.map +1 -1
  228. package/dist/index97.js +3 -5
  229. package/dist/index97.js.map +1 -1
  230. package/dist/index98.js +6 -5
  231. package/dist/index98.js.map +1 -1
  232. package/dist/index99.js +5 -4
  233. package/dist/index99.js.map +1 -1
  234. package/package.json +1 -1
package/dist/index80.js CHANGED
@@ -1,55 +1,50 @@
1
- import { Button as e } from "./index81.js";
2
- import { CaptionLabel as p } from "./index82.js";
3
- import { Chevron as x } from "./index83.js";
4
- import { Day as n } from "./index84.js";
5
- import { DayButton as d } from "./index85.js";
6
- import { Dropdown as u } from "./index86.js";
7
- import { DropdownNav as k } from "./index87.js";
8
- import { Footer as D } from "./index88.js";
9
- import { Month as i } from "./index89.js";
10
- import { MonthCaption as v } from "./index90.js";
11
- import { MonthGrid as y } from "./index91.js";
12
- import { Months as b } from "./index92.js";
13
- import { MonthsDropdown as l } from "./index93.js";
14
- import { Nav as F } from "./index94.js";
15
- import { NextMonthButton as H } from "./index95.js";
16
- import { Option as O } from "./index96.js";
17
- import { PreviousMonthButton as R } from "./index97.js";
18
- import { Root as Y } from "./index98.js";
19
- import { Select as j } from "./index99.js";
20
- import { Week as z } from "./index100.js";
21
- import { Weekday as E } from "./index101.js";
22
- import { Weekdays as J } from "./index102.js";
23
- import { WeekNumber as Q } from "./index103.js";
24
- import { WeekNumberHeader as U } from "./index104.js";
25
- import { Weeks as X } from "./index105.js";
26
- import { YearsDropdown as _ } from "./index106.js";
1
+ import * as l from "react";
2
+ import { composeRefs as m } from "./index55.js";
3
+ import { j as u } from "./index30.js";
4
+ // @__NO_SIDE_EFFECTS__
5
+ function x(e) {
6
+ const r = /* @__PURE__ */ y(e), t = l.forwardRef((o, n) => {
7
+ const { children: i, ...c } = o, s = l.Children.toArray(i), a = s.find(g);
8
+ if (a) {
9
+ const f = a.props.children, d = s.map((p) => p === a ? l.Children.count(f) > 1 ? l.Children.only(null) : l.isValidElement(f) ? f.props.children : null : p);
10
+ return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: l.isValidElement(f) ? l.cloneElement(f, void 0, d) : null });
11
+ }
12
+ return /* @__PURE__ */ u.jsx(r, { ...c, ref: n, children: i });
13
+ });
14
+ return t.displayName = `${e}.Slot`, t;
15
+ }
16
+ // @__NO_SIDE_EFFECTS__
17
+ function y(e) {
18
+ const r = l.forwardRef((t, o) => {
19
+ const { children: n, ...i } = t;
20
+ if (l.isValidElement(n)) {
21
+ const c = R(n), s = C(i, n.props);
22
+ return n.type !== l.Fragment && (s.ref = o ? m(o, c) : c), l.cloneElement(n, s);
23
+ }
24
+ return l.Children.count(n) > 1 ? l.Children.only(null) : null;
25
+ });
26
+ return r.displayName = `${e}.SlotClone`, r;
27
+ }
28
+ var E = /* @__PURE__ */ Symbol("radix.slottable");
29
+ function g(e) {
30
+ return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === E;
31
+ }
32
+ function C(e, r) {
33
+ const t = { ...r };
34
+ for (const o in r) {
35
+ const n = e[o], i = r[o];
36
+ /^on[A-Z]/.test(o) ? n && i ? t[o] = (...s) => {
37
+ const a = i(...s);
38
+ return n(...s), a;
39
+ } : n && (t[o] = n) : o === "style" ? t[o] = { ...n, ...i } : o === "className" && (t[o] = [n, i].filter(Boolean).join(" "));
40
+ }
41
+ return { ...e, ...t };
42
+ }
43
+ function R(e) {
44
+ let r = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning;
45
+ return t ? e.ref : (r = Object.getOwnPropertyDescriptor(e, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
46
+ }
27
47
  export {
28
- e as Button,
29
- p as CaptionLabel,
30
- x as Chevron,
31
- n as Day,
32
- d as DayButton,
33
- u as Dropdown,
34
- k as DropdownNav,
35
- D as Footer,
36
- i as Month,
37
- v as MonthCaption,
38
- y as MonthGrid,
39
- b as Months,
40
- l as MonthsDropdown,
41
- F as Nav,
42
- H as NextMonthButton,
43
- O as Option,
44
- R as PreviousMonthButton,
45
- Y as Root,
46
- j as Select,
47
- z as Week,
48
- Q as WeekNumber,
49
- U as WeekNumberHeader,
50
- E as Weekday,
51
- J as Weekdays,
52
- X as Weeks,
53
- _ as YearsDropdown
48
+ x as createSlot
54
49
  };
55
50
  //# sourceMappingURL=index80.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index80.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index80.js","sources":["../../../node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","mayWarn"],"mappings":";;;;AAKA,SAASA,EAAWC,GAAW;AAC7B,QAAMC,IAA4B,gBAAAC,EAAgBF,CAAS,GACrDG,IAAQC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACtD,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,CAAW;AAChD,QAAID,GAAW;AACb,YAAME,IAAaF,EAAU,MAAM,UAC7BG,IAAcJ,EAAc,IAAI,CAACK,MACjCA,MAAUJ,IACRN,EAAM,SAAS,MAAMQ,CAAU,IAAI,IAAUR,EAAM,SAAS,KAAK,IAAI,IAClEA,EAAM,eAAeQ,CAAU,IAAIA,EAAW,MAAM,WAAW,OAE/DE,CAEV;AACD,aAAuBC,gBAAAA,EAAAA,IAAId,GAAW,EAAE,GAAGO,GAAW,KAAKF,GAAc,UAAUF,EAAM,eAAeQ,CAAU,IAAIR,EAAM,aAAaQ,GAAY,QAAQC,CAAW,IAAI,MAAM;AAAA,IACpL;AACA,WAAuBE,gBAAAA,EAAAA,IAAId,GAAW,EAAE,GAAGO,GAAW,KAAKF,GAAc,UAAAC,GAAU;AAAA,EACrF,CAAC;AACD,SAAAJ,EAAM,cAAc,GAAGH,CAAS,SACzBG;AACT;AAAA;AAGA,SAASD,EAAgBF,GAAW;AAClC,QAAMC,IAAYG,EAAM,WAAW,CAACC,GAAOC,MAAiB;AAC1D,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH;AACnC,QAAID,EAAM,eAAeG,CAAQ,GAAG;AAClC,YAAMS,IAAcC,EAAcV,CAAQ,GACpCW,IAASC,EAAWX,GAAWD,EAAS,KAAK;AACnD,aAAIA,EAAS,SAASH,EAAM,aAC1Bc,EAAO,MAAMZ,IAAec,EAAYd,GAAcU,CAAW,IAAIA,IAEhEZ,EAAM,aAAaG,GAAUW,CAAM;AAAA,IAC5C;AACA,WAAOd,EAAM,SAAS,MAAMG,CAAQ,IAAI,IAAIH,EAAM,SAAS,KAAK,IAAI,IAAI;AAAA,EAC1E,CAAC;AACD,SAAAH,EAAU,cAAc,GAAGD,CAAS,cAC7BC;AACT;AACA,IAAIoB,IAAuB,uBAAO,iBAAiB;AAWnD,SAASV,EAAYG,GAAO;AAC1B,SAAOV,EAAM,eAAeU,CAAK,KAAK,OAAOA,EAAM,QAAS,cAAc,eAAeA,EAAM,QAAQA,EAAM,KAAK,cAAcO;AAClI;AACA,SAASF,EAAWX,GAAWc,GAAY;AACzC,QAAMC,IAAgB,EAAE,GAAGD,EAAU;AACrC,aAAWE,KAAYF,GAAY;AACjC,UAAMG,IAAgBjB,EAAUgB,CAAQ,GAClCE,IAAiBJ,EAAWE,CAAQ;AAE1C,IADkB,WAAW,KAAKA,CAAQ,IAEpCC,KAAiBC,IACnBH,EAAcC,CAAQ,IAAI,IAAIG,MAAS;AACrC,YAAMC,IAASF,EAAe,GAAGC,CAAI;AACrC,aAAAF,EAAc,GAAGE,CAAI,GACdC;AAAA,IACT,IACSH,MACTF,EAAcC,CAAQ,IAAIC,KAEnBD,MAAa,UACtBD,EAAcC,CAAQ,IAAI,EAAE,GAAGC,GAAe,GAAGC,EAAc,IACtDF,MAAa,gBACtBD,EAAcC,CAAQ,IAAI,CAACC,GAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG;AAAA,EAEtF;AACA,SAAO,EAAE,GAAGlB,GAAW,GAAGe,EAAa;AACzC;AACA,SAASN,EAAcY,GAAS;AAC9B,MAAIC,IAAS,OAAO,yBAAyBD,EAAQ,OAAO,KAAK,GAAG,KAChEE,IAAUD,KAAU,oBAAoBA,KAAUA,EAAO;AAC7D,SAAIC,IACKF,EAAQ,OAEjBC,IAAS,OAAO,yBAAyBD,GAAS,KAAK,GAAG,KAC1DE,IAAUD,KAAU,oBAAoBA,KAAUA,EAAO,gBACrDC,IACKF,EAAQ,MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
package/dist/index81.js CHANGED
@@ -1,8 +1,55 @@
1
- import e from "react";
2
- function o(t) {
3
- return e.createElement("button", { ...t });
4
- }
1
+ import { Button as e } from "./index82.js";
2
+ import { CaptionLabel as p } from "./index83.js";
3
+ import { Chevron as x } from "./index84.js";
4
+ import { Day as n } from "./index85.js";
5
+ import { DayButton as d } from "./index86.js";
6
+ import { Dropdown as u } from "./index87.js";
7
+ import { DropdownNav as k } from "./index88.js";
8
+ import { Footer as D } from "./index89.js";
9
+ import { Month as i } from "./index90.js";
10
+ import { MonthCaption as v } from "./index91.js";
11
+ import { MonthGrid as y } from "./index92.js";
12
+ import { Months as b } from "./index93.js";
13
+ import { MonthsDropdown as l } from "./index94.js";
14
+ import { Nav as F } from "./index95.js";
15
+ import { NextMonthButton as H } from "./index96.js";
16
+ import { Option as O } from "./index97.js";
17
+ import { PreviousMonthButton as R } from "./index98.js";
18
+ import { Root as Y } from "./index99.js";
19
+ import { Select as j } from "./index100.js";
20
+ import { Week as z } from "./index101.js";
21
+ import { Weekday as E } from "./index102.js";
22
+ import { Weekdays as J } from "./index103.js";
23
+ import { WeekNumber as Q } from "./index104.js";
24
+ import { WeekNumberHeader as U } from "./index105.js";
25
+ import { Weeks as X } from "./index106.js";
26
+ import { YearsDropdown as _ } from "./index107.js";
5
27
  export {
6
- o as Button
28
+ e as Button,
29
+ p as CaptionLabel,
30
+ x as Chevron,
31
+ n as Day,
32
+ d as DayButton,
33
+ u as Dropdown,
34
+ k as DropdownNav,
35
+ D as Footer,
36
+ i as Month,
37
+ v as MonthCaption,
38
+ y as MonthGrid,
39
+ b as Months,
40
+ l as MonthsDropdown,
41
+ F as Nav,
42
+ H as NextMonthButton,
43
+ O as Option,
44
+ R as PreviousMonthButton,
45
+ Y as Root,
46
+ j as Select,
47
+ z as Week,
48
+ Q as WeekNumber,
49
+ U as WeekNumberHeader,
50
+ E as Weekday,
51
+ J as Weekdays,
52
+ X as Weeks,
53
+ _ as YearsDropdown
7
54
  };
8
55
  //# sourceMappingURL=index81.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index81.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Button.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the button elements in the calendar.\n *\n * @private\n * @deprecated Use `PreviousMonthButton` or `@link NextMonthButton` instead.\n */\nexport function Button(props) {\n return React.createElement(\"button\", { ...props });\n}\n"],"names":["Button","props","React"],"mappings":";AAOO,SAASA,EAAOC,GAAO;AAC1B,SAAOC,EAAM,cAAc,UAAU,EAAE,GAAGD,EAAK,CAAE;AACrD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index81.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index82.js CHANGED
@@ -1,8 +1,8 @@
1
- import t from "react";
2
- function n(e) {
3
- return t.createElement("span", { ...e });
1
+ import e from "react";
2
+ function o(t) {
3
+ return e.createElement("button", { ...t });
4
4
  }
5
5
  export {
6
- n as CaptionLabel
6
+ o as Button
7
7
  };
8
8
  //# sourceMappingURL=index82.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index82.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/CaptionLabel.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the label in the month caption.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function CaptionLabel(props) {\n return React.createElement(\"span\", { ...props });\n}\n"],"names":["CaptionLabel","props","React"],"mappings":";AAOO,SAASA,EAAaC,GAAO;AAChC,SAAOC,EAAM,cAAc,QAAQ,EAAE,GAAGD,EAAK,CAAE;AACnD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index82.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Button.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the button elements in the calendar.\n *\n * @private\n * @deprecated Use `PreviousMonthButton` or `@link NextMonthButton` instead.\n */\nexport function Button(props) {\n return React.createElement(\"button\", { ...props });\n}\n"],"names":["Button","props","React"],"mappings":";AAOO,SAASA,EAAOC,GAAO;AAC1B,SAAOC,EAAM,cAAc,UAAU,EAAE,GAAGD,EAAK,CAAE;AACrD;","x_google_ignoreList":[0]}
package/dist/index83.js CHANGED
@@ -1,19 +1,8 @@
1
- import e from "react";
2
- function r(n) {
3
- const { size: o = 24, orientation: t = "left", className: l } = n;
4
- return (
5
- // biome-ignore lint/a11y/noSvgWithoutTitle: handled by the parent component
6
- e.createElement(
7
- "svg",
8
- { className: l, width: o, height: o, viewBox: "0 0 24 24" },
9
- t === "up" && e.createElement("polygon", { points: "6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28" }),
10
- t === "down" && e.createElement("polygon", { points: "6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72" }),
11
- t === "left" && e.createElement("polygon", { points: "16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20" }),
12
- t === "right" && e.createElement("polygon", { points: "8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20" })
13
- )
14
- );
1
+ import t from "react";
2
+ function n(e) {
3
+ return t.createElement("span", { ...e });
15
4
  }
16
5
  export {
17
- r as Chevron
6
+ n as CaptionLabel
18
7
  };
19
8
  //# sourceMappingURL=index83.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index83.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Chevron.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the chevron icon used in the navigation buttons and dropdowns.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Chevron(props) {\n const { size = 24, orientation = \"left\", className } = props;\n return (\n // biome-ignore lint/a11y/noSvgWithoutTitle: handled by the parent component\n React.createElement(\"svg\", { className: className, width: size, height: size, viewBox: \"0 0 24 24\" },\n orientation === \"up\" && (React.createElement(\"polygon\", { points: \"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28\" })),\n orientation === \"down\" && (React.createElement(\"polygon\", { points: \"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72\" })),\n orientation === \"left\" && (React.createElement(\"polygon\", { points: \"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20\" })),\n orientation === \"right\" && (React.createElement(\"polygon\", { points: \"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20\" }))));\n}\n"],"names":["Chevron","props","size","orientation","className","React"],"mappings":";AAOO,SAASA,EAAQC,GAAO;AAC3B,QAAM,EAAE,MAAAC,IAAO,IAAI,aAAAC,IAAc,QAAQ,WAAAC,EAAS,IAAKH;AACvD;AAAA;AAAA,IAEAI,EAAM;AAAA,MAAc;AAAA,MAAO,EAAE,WAAWD,GAAW,OAAOF,GAAM,QAAQA,GAAM,SAAS,YAAW;AAAA,MAC9FC,MAAgB,QAASE,EAAM,cAAc,WAAW,EAAE,QAAQ,sDAAqD,CAAE;AAAA,MACzHF,MAAgB,UAAWE,EAAM,cAAc,WAAW,EAAE,QAAQ,mDAAkD,CAAE;AAAA,MACxHF,MAAgB,UAAWE,EAAM,cAAc,WAAW,EAAE,QAAQ,wEAAuE,CAAE;AAAA,MAC7IF,MAAgB,WAAYE,EAAM,cAAc,WAAW,EAAE,QAAQ,wEAAuE,CAAE;AAAA,IAAE;AAAA;AACxJ;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index83.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/CaptionLabel.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the label in the month caption.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function CaptionLabel(props) {\n return React.createElement(\"span\", { ...props });\n}\n"],"names":["CaptionLabel","props","React"],"mappings":";AAOO,SAASA,EAAaC,GAAO;AAChC,SAAOC,EAAM,cAAc,QAAQ,EAAE,GAAGD,EAAK,CAAE;AACnD;","x_google_ignoreList":[0]}
package/dist/index84.js CHANGED
@@ -1,9 +1,19 @@
1
- import r from "react";
2
- function n(t) {
3
- const { day: o, modifiers: a, ...e } = t;
4
- return r.createElement("td", { ...e });
1
+ import e from "react";
2
+ function r(n) {
3
+ const { size: o = 24, orientation: t = "left", className: l } = n;
4
+ return (
5
+ // biome-ignore lint/a11y/noSvgWithoutTitle: handled by the parent component
6
+ e.createElement(
7
+ "svg",
8
+ { className: l, width: o, height: o, viewBox: "0 0 24 24" },
9
+ t === "up" && e.createElement("polygon", { points: "6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28" }),
10
+ t === "down" && e.createElement("polygon", { points: "6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72" }),
11
+ t === "left" && e.createElement("polygon", { points: "16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20" }),
12
+ t === "right" && e.createElement("polygon", { points: "8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20" })
13
+ )
14
+ );
5
15
  }
6
16
  export {
7
- n as Day
17
+ r as Chevron
8
18
  };
9
19
  //# sourceMappingURL=index84.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index84.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Day.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a grid cell for a specific day in the calendar.\n *\n * Handles interaction and focus for the day. If you only need to change the\n * content of the day cell, consider swapping the `DayButton` component\n * instead.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Day(props) {\n const { day, modifiers, ...tdProps } = props;\n return React.createElement(\"td\", { ...tdProps });\n}\n"],"names":["Day","props","day","modifiers","tdProps","React"],"mappings":";AAWO,SAASA,EAAIC,GAAO;AACvB,QAAM,EAAE,KAAAC,GAAK,WAAAC,GAAW,GAAGC,EAAO,IAAKH;AACvC,SAAOI,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAO,CAAE;AACnD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index84.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Chevron.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the chevron icon used in the navigation buttons and dropdowns.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Chevron(props) {\n const { size = 24, orientation = \"left\", className } = props;\n return (\n // biome-ignore lint/a11y/noSvgWithoutTitle: handled by the parent component\n React.createElement(\"svg\", { className: className, width: size, height: size, viewBox: \"0 0 24 24\" },\n orientation === \"up\" && (React.createElement(\"polygon\", { points: \"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28\" })),\n orientation === \"down\" && (React.createElement(\"polygon\", { points: \"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72\" })),\n orientation === \"left\" && (React.createElement(\"polygon\", { points: \"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20\" })),\n orientation === \"right\" && (React.createElement(\"polygon\", { points: \"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20\" }))));\n}\n"],"names":["Chevron","props","size","orientation","className","React"],"mappings":";AAOO,SAASA,EAAQC,GAAO;AAC3B,QAAM,EAAE,MAAAC,IAAO,IAAI,aAAAC,IAAc,QAAQ,WAAAC,EAAS,IAAKH;AACvD;AAAA;AAAA,IAEAI,EAAM;AAAA,MAAc;AAAA,MAAO,EAAE,WAAWD,GAAW,OAAOF,GAAM,QAAQA,GAAM,SAAS,YAAW;AAAA,MAC9FC,MAAgB,QAASE,EAAM,cAAc,WAAW,EAAE,QAAQ,sDAAqD,CAAE;AAAA,MACzHF,MAAgB,UAAWE,EAAM,cAAc,WAAW,EAAE,QAAQ,mDAAkD,CAAE;AAAA,MACxHF,MAAgB,UAAWE,EAAM,cAAc,WAAW,EAAE,QAAQ,wEAAuE,CAAE;AAAA,MAC7IF,MAAgB,WAAYE,EAAM,cAAc,WAAW,EAAE,QAAQ,wEAAuE,CAAE;AAAA,IAAE;AAAA;AACxJ;","x_google_ignoreList":[0]}
package/dist/index85.js CHANGED
@@ -1,11 +1,9 @@
1
- import e from "react";
2
- function c(f) {
3
- const { day: r, modifiers: t, ...u } = f, o = e.useRef(null);
4
- return e.useEffect(() => {
5
- t.focused && o.current?.focus();
6
- }, [t.focused]), e.createElement("button", { ref: o, ...u });
1
+ import r from "react";
2
+ function n(t) {
3
+ const { day: o, modifiers: a, ...e } = t;
4
+ return r.createElement("td", { ...e });
7
5
  }
8
6
  export {
9
- c as DayButton
7
+ n as Day
10
8
  };
11
9
  //# sourceMappingURL=index85.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index85.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/DayButton.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a button for a specific day in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function DayButton(props) {\n const { day, modifiers, ...buttonProps } = props;\n const ref = React.useRef(null);\n React.useEffect(() => {\n if (modifiers.focused)\n ref.current?.focus();\n }, [modifiers.focused]);\n return React.createElement(\"button\", { ref: ref, ...buttonProps });\n}\n"],"names":["DayButton","props","day","modifiers","buttonProps","ref","React"],"mappings":";AAOO,SAASA,EAAUC,GAAO;AAC7B,QAAM,EAAE,KAAAC,GAAK,WAAAC,GAAW,GAAGC,EAAW,IAAKH,GACrCI,IAAMC,EAAM,OAAO,IAAI;AAC7BA,SAAAA,EAAM,UAAU,MAAM;AAClB,IAAIH,EAAU,WACVE,EAAI,SAAS,MAAK;AAAA,EAC1B,GAAG,CAACF,EAAU,OAAO,CAAC,GACfG,EAAM,cAAc,UAAU,EAAE,KAAKD,GAAK,GAAGD,GAAa;AACrE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index85.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Day.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a grid cell for a specific day in the calendar.\n *\n * Handles interaction and focus for the day. If you only need to change the\n * content of the day cell, consider swapping the `DayButton` component\n * instead.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Day(props) {\n const { day, modifiers, ...tdProps } = props;\n return React.createElement(\"td\", { ...tdProps });\n}\n"],"names":["Day","props","day","modifiers","tdProps","React"],"mappings":";AAWO,SAASA,EAAIC,GAAO;AACvB,QAAM,EAAE,KAAAC,GAAK,WAAAC,GAAW,GAAGC,EAAO,IAAKH;AACvC,SAAOI,EAAM,cAAc,MAAM,EAAE,GAAGD,EAAO,CAAE;AACnD;","x_google_ignoreList":[0]}
package/dist/index86.js CHANGED
@@ -1,20 +1,11 @@
1
1
  import e from "react";
2
- import { UI as o } from "./index120.js";
3
- function f(c) {
4
- const { options: l, className: r, components: s, classNames: a, ...n } = c, i = [a[o.Dropdown], r].join(" "), m = l?.find(({ value: t }) => t === n.value);
5
- return e.createElement(
6
- "span",
7
- { "data-disabled": n.disabled, className: a[o.DropdownRoot] },
8
- e.createElement(s.Select, { className: i, ...n }, l?.map(({ value: t, label: d, disabled: p }) => e.createElement(s.Option, { key: t, value: t, disabled: p }, d))),
9
- e.createElement(
10
- "span",
11
- { className: a[o.CaptionLabel], "aria-hidden": !0 },
12
- m?.label,
13
- e.createElement(s.Chevron, { orientation: "down", size: 18, className: a[o.Chevron] })
14
- )
15
- );
2
+ function c(f) {
3
+ const { day: r, modifiers: t, ...u } = f, o = e.useRef(null);
4
+ return e.useEffect(() => {
5
+ t.focused && o.current?.focus();
6
+ }, [t.focused]), e.createElement("button", { ref: o, ...u });
16
7
  }
17
8
  export {
18
- f as Dropdown
9
+ c as DayButton
19
10
  };
20
11
  //# sourceMappingURL=index86.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index86.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Dropdown.js"],"sourcesContent":["import React from \"react\";\nimport { UI } from \"../UI.js\";\n/**\n * Render a dropdown component for navigation in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Dropdown(props) {\n const { options, className, components, classNames, ...selectProps } = props;\n const cssClassSelect = [classNames[UI.Dropdown], className].join(\" \");\n const selectedOption = options?.find(({ value }) => value === selectProps.value);\n return (React.createElement(\"span\", { \"data-disabled\": selectProps.disabled, className: classNames[UI.DropdownRoot] },\n React.createElement(components.Select, { className: cssClassSelect, ...selectProps }, options?.map(({ value, label, disabled }) => (React.createElement(components.Option, { key: value, value: value, disabled: disabled }, label)))),\n React.createElement(\"span\", { className: classNames[UI.CaptionLabel], \"aria-hidden\": true },\n selectedOption?.label,\n React.createElement(components.Chevron, { orientation: \"down\", size: 18, className: classNames[UI.Chevron] }))));\n}\n"],"names":["Dropdown","props","options","className","components","classNames","selectProps","cssClassSelect","UI","selectedOption","value","React","label","disabled"],"mappings":";;AAQO,SAASA,EAASC,GAAO;AAC5B,QAAM,EAAE,SAAAC,GAAS,WAAAC,GAAW,YAAAC,GAAY,YAAAC,GAAY,GAAGC,EAAW,IAAKL,GACjEM,IAAiB,CAACF,EAAWG,EAAG,QAAQ,GAAGL,CAAS,EAAE,KAAK,GAAG,GAC9DM,IAAiBP,GAAS,KAAK,CAAC,EAAE,OAAAQ,QAAYA,MAAUJ,EAAY,KAAK;AAC/E,SAAQK,EAAM;AAAA,IAAc;AAAA,IAAQ,EAAE,iBAAiBL,EAAY,UAAU,WAAWD,EAAWG,EAAG,YAAY,EAAC;AAAA,IAC/GG,EAAM,cAAcP,EAAW,QAAQ,EAAE,WAAWG,GAAgB,GAAGD,EAAW,GAAIJ,GAAS,IAAI,CAAC,EAAE,OAAAQ,GAAO,OAAAE,GAAO,UAAAC,QAAgBF,EAAM,cAAcP,EAAW,QAAQ,EAAE,KAAKM,GAAO,OAAOA,GAAO,UAAUG,EAAQ,GAAID,CAAK,CAAE,CAAC;AAAA,IACrOD,EAAM;AAAA,MAAc;AAAA,MAAQ,EAAE,WAAWN,EAAWG,EAAG,YAAY,GAAG,eAAe,GAAI;AAAA,MACrFC,GAAgB;AAAA,MAChBE,EAAM,cAAcP,EAAW,SAAS,EAAE,aAAa,QAAQ,MAAM,IAAI,WAAWC,EAAWG,EAAG,OAAO,EAAC,CAAE;AAAA,IAAC;AAAA,EAAC;AAC1H;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index86.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/DayButton.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a button for a specific day in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function DayButton(props) {\n const { day, modifiers, ...buttonProps } = props;\n const ref = React.useRef(null);\n React.useEffect(() => {\n if (modifiers.focused)\n ref.current?.focus();\n }, [modifiers.focused]);\n return React.createElement(\"button\", { ref: ref, ...buttonProps });\n}\n"],"names":["DayButton","props","day","modifiers","buttonProps","ref","React"],"mappings":";AAOO,SAASA,EAAUC,GAAO;AAC7B,QAAM,EAAE,KAAAC,GAAK,WAAAC,GAAW,GAAGC,EAAW,IAAKH,GACrCI,IAAMC,EAAM,OAAO,IAAI;AAC7BA,SAAAA,EAAM,UAAU,MAAM;AAClB,IAAIH,EAAU,WACVE,EAAI,SAAS,MAAK;AAAA,EAC1B,GAAG,CAACF,EAAU,OAAO,CAAC,GACfG,EAAM,cAAc,UAAU,EAAE,KAAKD,GAAK,GAAGD,GAAa;AACrE;","x_google_ignoreList":[0]}
package/dist/index87.js CHANGED
@@ -1,8 +1,20 @@
1
- import t from "react";
2
- function o(e) {
3
- return t.createElement("div", { ...e });
1
+ import e from "react";
2
+ import { UI as o } from "./index121.js";
3
+ function f(c) {
4
+ const { options: l, className: r, components: s, classNames: a, ...n } = c, i = [a[o.Dropdown], r].join(" "), m = l?.find(({ value: t }) => t === n.value);
5
+ return e.createElement(
6
+ "span",
7
+ { "data-disabled": n.disabled, className: a[o.DropdownRoot] },
8
+ e.createElement(s.Select, { className: i, ...n }, l?.map(({ value: t, label: d, disabled: p }) => e.createElement(s.Option, { key: t, value: t, disabled: p }, d))),
9
+ e.createElement(
10
+ "span",
11
+ { className: a[o.CaptionLabel], "aria-hidden": !0 },
12
+ m?.label,
13
+ e.createElement(s.Chevron, { orientation: "down", size: 18, className: a[o.Chevron] })
14
+ )
15
+ );
4
16
  }
5
17
  export {
6
- o as DropdownNav
18
+ f as Dropdown
7
19
  };
8
20
  //# sourceMappingURL=index87.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index87.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/DropdownNav.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the navigation dropdowns for the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function DropdownNav(props) {\n return React.createElement(\"div\", { ...props });\n}\n"],"names":["DropdownNav","props","React"],"mappings":";AAOO,SAASA,EAAYC,GAAO;AAC/B,SAAOC,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAK,CAAE;AAClD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index87.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Dropdown.js"],"sourcesContent":["import React from \"react\";\nimport { UI } from \"../UI.js\";\n/**\n * Render a dropdown component for navigation in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Dropdown(props) {\n const { options, className, components, classNames, ...selectProps } = props;\n const cssClassSelect = [classNames[UI.Dropdown], className].join(\" \");\n const selectedOption = options?.find(({ value }) => value === selectProps.value);\n return (React.createElement(\"span\", { \"data-disabled\": selectProps.disabled, className: classNames[UI.DropdownRoot] },\n React.createElement(components.Select, { className: cssClassSelect, ...selectProps }, options?.map(({ value, label, disabled }) => (React.createElement(components.Option, { key: value, value: value, disabled: disabled }, label)))),\n React.createElement(\"span\", { className: classNames[UI.CaptionLabel], \"aria-hidden\": true },\n selectedOption?.label,\n React.createElement(components.Chevron, { orientation: \"down\", size: 18, className: classNames[UI.Chevron] }))));\n}\n"],"names":["Dropdown","props","options","className","components","classNames","selectProps","cssClassSelect","UI","selectedOption","value","React","label","disabled"],"mappings":";;AAQO,SAASA,EAASC,GAAO;AAC5B,QAAM,EAAE,SAAAC,GAAS,WAAAC,GAAW,YAAAC,GAAY,YAAAC,GAAY,GAAGC,EAAW,IAAKL,GACjEM,IAAiB,CAACF,EAAWG,EAAG,QAAQ,GAAGL,CAAS,EAAE,KAAK,GAAG,GAC9DM,IAAiBP,GAAS,KAAK,CAAC,EAAE,OAAAQ,QAAYA,MAAUJ,EAAY,KAAK;AAC/E,SAAQK,EAAM;AAAA,IAAc;AAAA,IAAQ,EAAE,iBAAiBL,EAAY,UAAU,WAAWD,EAAWG,EAAG,YAAY,EAAC;AAAA,IAC/GG,EAAM,cAAcP,EAAW,QAAQ,EAAE,WAAWG,GAAgB,GAAGD,EAAW,GAAIJ,GAAS,IAAI,CAAC,EAAE,OAAAQ,GAAO,OAAAE,GAAO,UAAAC,QAAgBF,EAAM,cAAcP,EAAW,QAAQ,EAAE,KAAKM,GAAO,OAAOA,GAAO,UAAUG,EAAQ,GAAID,CAAK,CAAE,CAAC;AAAA,IACrOD,EAAM;AAAA,MAAc;AAAA,MAAQ,EAAE,WAAWN,EAAWG,EAAG,YAAY,GAAG,eAAe,GAAI;AAAA,MACrFC,GAAgB;AAAA,MAChBE,EAAM,cAAcP,EAAW,SAAS,EAAE,aAAa,QAAQ,MAAM,IAAI,WAAWC,EAAWG,EAAG,OAAO,EAAC,CAAE;AAAA,IAAC;AAAA,EAAC;AAC1H;","x_google_ignoreList":[0]}
package/dist/index88.js CHANGED
@@ -3,6 +3,6 @@ function o(e) {
3
3
  return t.createElement("div", { ...e });
4
4
  }
5
5
  export {
6
- o as Footer
6
+ o as DropdownNav
7
7
  };
8
8
  //# sourceMappingURL=index88.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index88.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Footer.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the footer of the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Footer(props) {\n return React.createElement(\"div\", { ...props });\n}\n"],"names":["Footer","props","React"],"mappings":";AAOO,SAASA,EAAOC,GAAO;AAC1B,SAAOC,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAK,CAAE;AAClD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index88.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/DropdownNav.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the navigation dropdowns for the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function DropdownNav(props) {\n return React.createElement(\"div\", { ...props });\n}\n"],"names":["DropdownNav","props","React"],"mappings":";AAOO,SAASA,EAAYC,GAAO;AAC/B,SAAOC,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAK,CAAE;AAClD;","x_google_ignoreList":[0]}
package/dist/index89.js CHANGED
@@ -1,9 +1,8 @@
1
- import n from "react";
2
- function a(e) {
3
- const { calendarMonth: r, displayIndex: d, ...t } = e;
4
- return n.createElement("div", { ...t }, e.children);
1
+ import t from "react";
2
+ function o(e) {
3
+ return t.createElement("div", { ...e });
5
4
  }
6
5
  export {
7
- a as Month
6
+ o as Footer
8
7
  };
9
8
  //# sourceMappingURL=index89.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index89.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Month.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the grid with the weekday header row and the weeks for a specific\n * month.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Month(props) {\n const { calendarMonth, displayIndex, ...divProps } = props;\n return React.createElement(\"div\", { ...divProps }, props.children);\n}\n"],"names":["Month","props","calendarMonth","displayIndex","divProps","React"],"mappings":";AAQO,SAASA,EAAMC,GAAO;AACzB,QAAM,EAAE,eAAAC,GAAe,cAAAC,GAAc,GAAGC,EAAQ,IAAKH;AACrD,SAAOI,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAQ,GAAIH,EAAM,QAAQ;AACrE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index89.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Footer.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the footer of the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Footer(props) {\n return React.createElement(\"div\", { ...props });\n}\n"],"names":["Footer","props","React"],"mappings":";AAOO,SAASA,EAAOC,GAAO;AAC1B,SAAOC,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAK,CAAE;AAClD;","x_google_ignoreList":[0]}
package/dist/index90.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import n from "react";
2
- function d(t) {
3
- const { calendarMonth: o, displayIndex: r, ...e } = t;
4
- return n.createElement("div", { ...e });
2
+ function a(e) {
3
+ const { calendarMonth: r, displayIndex: d, ...t } = e;
4
+ return n.createElement("div", { ...t }, e.children);
5
5
  }
6
6
  export {
7
- d as MonthCaption
7
+ a as Month
8
8
  };
9
9
  //# sourceMappingURL=index90.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index90.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/MonthCaption.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the caption for a month in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthCaption(props) {\n const { calendarMonth, displayIndex, ...divProps } = props;\n return React.createElement(\"div\", { ...divProps });\n}\n"],"names":["MonthCaption","props","calendarMonth","displayIndex","divProps","React"],"mappings":";AAOO,SAASA,EAAaC,GAAO;AAChC,QAAM,EAAE,eAAAC,GAAe,cAAAC,GAAc,GAAGC,EAAQ,IAAKH;AACrD,SAAOI,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAQ,CAAE;AACrD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index90.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Month.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the grid with the weekday header row and the weeks for a specific\n * month.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Month(props) {\n const { calendarMonth, displayIndex, ...divProps } = props;\n return React.createElement(\"div\", { ...divProps }, props.children);\n}\n"],"names":["Month","props","calendarMonth","displayIndex","divProps","React"],"mappings":";AAQO,SAASA,EAAMC,GAAO;AACzB,QAAM,EAAE,eAAAC,GAAe,cAAAC,GAAc,GAAGC,EAAQ,IAAKH;AACrD,SAAOI,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAQ,GAAIH,EAAM,QAAQ;AACrE;","x_google_ignoreList":[0]}
package/dist/index91.js CHANGED
@@ -1,8 +1,9 @@
1
- import e from "react";
2
- function n(t) {
3
- return e.createElement("table", { ...t });
1
+ import n from "react";
2
+ function d(t) {
3
+ const { calendarMonth: o, displayIndex: r, ...e } = t;
4
+ return n.createElement("div", { ...e });
4
5
  }
5
6
  export {
6
- n as MonthGrid
7
+ d as MonthCaption
7
8
  };
8
9
  //# sourceMappingURL=index91.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index91.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/MonthGrid.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the grid of days for a specific month.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthGrid(props) {\n return React.createElement(\"table\", { ...props });\n}\n"],"names":["MonthGrid","props","React"],"mappings":";AAOO,SAASA,EAAUC,GAAO;AAC7B,SAAOC,EAAM,cAAc,SAAS,EAAE,GAAGD,EAAK,CAAE;AACpD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index91.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/MonthCaption.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the caption for a month in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthCaption(props) {\n const { calendarMonth, displayIndex, ...divProps } = props;\n return React.createElement(\"div\", { ...divProps });\n}\n"],"names":["MonthCaption","props","calendarMonth","displayIndex","divProps","React"],"mappings":";AAOO,SAASA,EAAaC,GAAO;AAChC,QAAM,EAAE,eAAAC,GAAe,cAAAC,GAAc,GAAGC,EAAQ,IAAKH;AACrD,SAAOI,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAQ,CAAE;AACrD;","x_google_ignoreList":[0]}
package/dist/index92.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import e from "react";
2
2
  function n(t) {
3
- return e.createElement("div", { ...t });
3
+ return e.createElement("table", { ...t });
4
4
  }
5
5
  export {
6
- n as Months
6
+ n as MonthGrid
7
7
  };
8
8
  //# sourceMappingURL=index92.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index92.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Months.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a container wrapping the month grids.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Months(props) {\n return React.createElement(\"div\", { ...props });\n}\n"],"names":["Months","props","React"],"mappings":";AAOO,SAASA,EAAOC,GAAO;AAC1B,SAAOC,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAK,CAAE;AAClD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index92.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/MonthGrid.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render the grid of days for a specific month.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthGrid(props) {\n return React.createElement(\"table\", { ...props });\n}\n"],"names":["MonthGrid","props","React"],"mappings":";AAOO,SAASA,EAAUC,GAAO;AAC7B,SAAOC,EAAM,cAAc,SAAS,EAAE,GAAGD,EAAK,CAAE;AACpD;","x_google_ignoreList":[0]}
package/dist/index93.js CHANGED
@@ -1,10 +1,8 @@
1
1
  import e from "react";
2
- import { useDayPicker as r } from "./index123.js";
3
- function m(o) {
4
- const { components: t } = r();
5
- return e.createElement(t.Dropdown, { ...o });
2
+ function n(t) {
3
+ return e.createElement("div", { ...t });
6
4
  }
7
5
  export {
8
- m as MonthsDropdown
6
+ n as Months
9
7
  };
10
8
  //# sourceMappingURL=index93.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index93.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render a dropdown to navigate between months in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthsDropdown(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Dropdown, { ...props });\n}\n"],"names":["MonthsDropdown","props","components","useDayPicker","React"],"mappings":";;AAQO,SAASA,EAAeC,GAAO;AAClC,QAAM,EAAE,YAAAC,EAAU,IAAKC,EAAY;AACnC,SAAOC,EAAM,cAAcF,EAAW,UAAU,EAAE,GAAGD,GAAO;AAChE;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index93.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Months.js"],"sourcesContent":["import React from \"react\";\n/**\n * Render a container wrapping the month grids.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Months(props) {\n return React.createElement(\"div\", { ...props });\n}\n"],"names":["Months","props","React"],"mappings":";AAOO,SAASA,EAAOC,GAAO;AAC1B,SAAOC,EAAM,cAAc,OAAO,EAAE,GAAGD,EAAK,CAAE;AAClD;","x_google_ignoreList":[0]}
package/dist/index94.js CHANGED
@@ -1,28 +1,10 @@
1
- import n, { useCallback as u } from "react";
2
- import { UI as i } from "./index120.js";
3
- import { useDayPicker as v } from "./index123.js";
4
- function x(c) {
5
- const { onPreviousClick: l, onNextClick: s, previousMonth: e, nextMonth: t, ...d } = c, { components: a, classNames: o, labels: { labelPrevious: m, labelNext: b } } = v(), f = u((r) => {
6
- t && s?.(r);
7
- }, [t, s]), h = u((r) => {
8
- e && l?.(r);
9
- }, [e, l]);
10
- return n.createElement(
11
- "nav",
12
- { ...d },
13
- n.createElement(
14
- a.PreviousMonthButton,
15
- { type: "button", className: o[i.PreviousMonthButton], tabIndex: e ? void 0 : -1, "aria-disabled": e ? void 0 : !0, "aria-label": m(e), onClick: h },
16
- n.createElement(a.Chevron, { disabled: e ? void 0 : !0, className: o[i.Chevron], orientation: "left" })
17
- ),
18
- n.createElement(
19
- a.NextMonthButton,
20
- { type: "button", className: o[i.NextMonthButton], tabIndex: t ? void 0 : -1, "aria-disabled": t ? void 0 : !0, "aria-label": b(t), onClick: f },
21
- n.createElement(a.Chevron, { disabled: t ? void 0 : !0, orientation: "right", className: o[i.Chevron] })
22
- )
23
- );
1
+ import e from "react";
2
+ import { useDayPicker as r } from "./index124.js";
3
+ function m(o) {
4
+ const { components: t } = r();
5
+ return e.createElement(t.Dropdown, { ...o });
24
6
  }
25
7
  export {
26
- x as Nav
8
+ m as MonthsDropdown
27
9
  };
28
10
  //# sourceMappingURL=index94.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index94.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/Nav.js"],"sourcesContent":["import React, { useCallback, } from \"react\";\nimport { UI } from \"../UI.js\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render the navigation toolbar with buttons to navigate between months.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function Nav(props) {\n const { onPreviousClick, onNextClick, previousMonth, nextMonth, ...navProps } = props;\n const { components, classNames, labels: { labelPrevious, labelNext }, } = useDayPicker();\n const handleNextClick = useCallback((e) => {\n if (nextMonth) {\n onNextClick?.(e);\n }\n }, [nextMonth, onNextClick]);\n const handlePreviousClick = useCallback((e) => {\n if (previousMonth) {\n onPreviousClick?.(e);\n }\n }, [previousMonth, onPreviousClick]);\n return (React.createElement(\"nav\", { ...navProps },\n React.createElement(components.PreviousMonthButton, { type: \"button\", className: classNames[UI.PreviousMonthButton], tabIndex: previousMonth ? undefined : -1, \"aria-disabled\": previousMonth ? undefined : true, \"aria-label\": labelPrevious(previousMonth), onClick: handlePreviousClick },\n React.createElement(components.Chevron, { disabled: previousMonth ? undefined : true, className: classNames[UI.Chevron], orientation: \"left\" })),\n React.createElement(components.NextMonthButton, { type: \"button\", className: classNames[UI.NextMonthButton], tabIndex: nextMonth ? undefined : -1, \"aria-disabled\": nextMonth ? undefined : true, \"aria-label\": labelNext(nextMonth), onClick: handleNextClick },\n React.createElement(components.Chevron, { disabled: nextMonth ? undefined : true, orientation: \"right\", className: classNames[UI.Chevron] }))));\n}\n"],"names":["Nav","props","onPreviousClick","onNextClick","previousMonth","nextMonth","navProps","components","classNames","labelPrevious","labelNext","useDayPicker","handleNextClick","useCallback","e","handlePreviousClick","React","UI"],"mappings":";;;AASO,SAASA,EAAIC,GAAO;AACvB,QAAM,EAAE,iBAAAC,GAAiB,aAAAC,GAAa,eAAAC,GAAe,WAAAC,GAAW,GAAGC,EAAQ,IAAKL,GAC1E,EAAE,YAAAM,GAAY,YAAAC,GAAY,QAAQ,EAAE,eAAAC,GAAe,WAAAC,EAAS,EAAE,IAAMC,EAAY,GAChFC,IAAkBC,EAAY,CAACC,MAAM;AACvC,IAAIT,KACAF,IAAcW,CAAC;AAAA,EAEvB,GAAG,CAACT,GAAWF,CAAW,CAAC,GACrBY,IAAsBF,EAAY,CAACC,MAAM;AAC3C,IAAIV,KACAF,IAAkBY,CAAC;AAAA,EAE3B,GAAG,CAACV,GAAeF,CAAe,CAAC;AACnC,SAAQc,EAAM;AAAA,IAAc;AAAA,IAAO,EAAE,GAAGV,EAAQ;AAAA,IAC5CU,EAAM;AAAA,MAAcT,EAAW;AAAA,MAAqB,EAAE,MAAM,UAAU,WAAWC,EAAWS,EAAG,mBAAmB,GAAG,UAAUb,IAAgB,SAAY,IAAI,iBAAiBA,IAAgB,SAAY,IAAM,cAAcK,EAAcL,CAAa,GAAG,SAASW,EAAmB;AAAA,MACtRC,EAAM,cAAcT,EAAW,SAAS,EAAE,UAAUH,IAAgB,SAAY,IAAM,WAAWI,EAAWS,EAAG,OAAO,GAAG,aAAa,OAAM,CAAE;AAAA,IAAC;AAAA,IACnJD,EAAM;AAAA,MAAcT,EAAW;AAAA,MAAiB,EAAE,MAAM,UAAU,WAAWC,EAAWS,EAAG,eAAe,GAAG,UAAUZ,IAAY,SAAY,IAAI,iBAAiBA,IAAY,SAAY,IAAM,cAAcK,EAAUL,CAAS,GAAG,SAASO,EAAe;AAAA,MAC1PI,EAAM,cAAcT,EAAW,SAAS,EAAE,UAAUF,IAAY,SAAY,IAAM,aAAa,SAAS,WAAWG,EAAWS,EAAG,OAAO,EAAC,CAAE;AAAA,IAAC;AAAA,EAAC;AACzJ;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index94.js","sources":["../../../node_modules/react-day-picker/dist/esm/components/MonthsDropdown.js"],"sourcesContent":["import React from \"react\";\nimport { useDayPicker } from \"../useDayPicker.js\";\n/**\n * Render a dropdown to navigate between months in the calendar.\n *\n * @group Components\n * @see https://daypicker.dev/guides/custom-components\n */\nexport function MonthsDropdown(props) {\n const { components } = useDayPicker();\n return React.createElement(components.Dropdown, { ...props });\n}\n"],"names":["MonthsDropdown","props","components","useDayPicker","React"],"mappings":";;AAQO,SAASA,EAAeC,GAAO;AAClC,QAAM,EAAE,YAAAC,EAAU,IAAKC,EAAY;AACnC,SAAOC,EAAM,cAAcF,EAAW,UAAU,EAAE,GAAGD,GAAO;AAChE;","x_google_ignoreList":[0]}
package/dist/index95.js CHANGED
@@ -1,10 +1,28 @@
1
- import o from "react";
2
- import { useDayPicker as n } from "./index123.js";
3
- function m(t) {
4
- const { components: e } = n();
5
- return o.createElement(e.Button, { ...t });
1
+ import n, { useCallback as u } from "react";
2
+ import { UI as i } from "./index121.js";
3
+ import { useDayPicker as v } from "./index124.js";
4
+ function x(c) {
5
+ const { onPreviousClick: l, onNextClick: s, previousMonth: e, nextMonth: t, ...d } = c, { components: a, classNames: o, labels: { labelPrevious: m, labelNext: b } } = v(), f = u((r) => {
6
+ t && s?.(r);
7
+ }, [t, s]), h = u((r) => {
8
+ e && l?.(r);
9
+ }, [e, l]);
10
+ return n.createElement(
11
+ "nav",
12
+ { ...d },
13
+ n.createElement(
14
+ a.PreviousMonthButton,
15
+ { type: "button", className: o[i.PreviousMonthButton], tabIndex: e ? void 0 : -1, "aria-disabled": e ? void 0 : !0, "aria-label": m(e), onClick: h },
16
+ n.createElement(a.Chevron, { disabled: e ? void 0 : !0, className: o[i.Chevron], orientation: "left" })
17
+ ),
18
+ n.createElement(
19
+ a.NextMonthButton,
20
+ { type: "button", className: o[i.NextMonthButton], tabIndex: t ? void 0 : -1, "aria-disabled": t ? void 0 : !0, "aria-label": b(t), onClick: f },
21
+ n.createElement(a.Chevron, { disabled: t ? void 0 : !0, orientation: "right", className: o[i.Chevron] })
22
+ )
23
+ );
6
24
  }
7
25
  export {
8
- m as NextMonthButton
26
+ x as Nav
9
27
  };
10
28
  //# sourceMappingURL=index95.js.map