@midas-ds/components 11.0.0 → 11.2.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 (145) hide show
  1. package/{AccordionItem-BtDoammf.js → AccordionItem-BPOQqTkQ.js} +14 -13
  2. package/AccordionItem-CS-QKqrU.cjs +1 -0
  3. package/CHANGELOG.md +36 -0
  4. package/{CheckboxGroup-DhQX10rP.cjs → CheckboxGroup-CT_eqERw.cjs} +1 -1
  5. package/{CheckboxGroup-CC9QGMuE.js → CheckboxGroup-DvrN1oyw.js} +1 -1
  6. package/{ColorSchemeSwitch-Cnyb9EKC.js → ColorSchemeSwitch-PiEHptw1.js} +1 -1
  7. package/{ComboBox-CiCB2e4W.cjs → ComboBox-D_jh7TKo.cjs} +1 -1
  8. package/{ComboBox-Dnk8JMQ6.js → ComboBox-DfJ_aJrf.js} +10 -10
  9. package/{DateField-DleDM0Sy.cjs → DateField-BURrxhil.cjs} +1 -1
  10. package/{DateField-BAS2v9aI.js → DateField-DKCbEonm.js} +2 -2
  11. package/{DateInputDivider-B3oE1_tB.js → DateInputDivider-BmvqW1Hk.js} +2 -2
  12. package/{DateRangePicker-Blej-jD0.js → DateRangePicker-B5vx9onl.js} +183 -196
  13. package/DateRangePicker-DkIAEIIj.cjs +6 -0
  14. package/Dialog-CxHiZorC.cjs +1 -0
  15. package/{Dialog-DKHo0W9B.js → Dialog-D5c_dUnB.js} +3 -3
  16. package/Dialog-DuGcBeNN.js +212 -0
  17. package/{Dropdown-D6WCi_Ll.js → Dropdown-Cpc2EszJ.js} +1 -1
  18. package/{FocusScope-BCsrRPqD.js → FocusScope-DMsfA3bj.js} +1 -1
  19. package/{Label-VO6CAFux.cjs → Label-ChjDdBlv.cjs} +1 -1
  20. package/{Label-JLgFEbP9.js → Label-endv1fkJ.js} +2 -2
  21. package/Layout-D0E1fOgZ.cjs +16 -0
  22. package/Layout-DtyhUz-G.js +498 -0
  23. package/{ListBox-CsxDGpCA.js → ListBox-Djy7244v.js} +5 -5
  24. package/{ListBoxButton-BsuHFd_O.cjs → ListBoxButton-CIqNRR3y.cjs} +1 -1
  25. package/{ListBoxButton-DawRfuny.js → ListBoxButton-sqirI6I4.js} +1 -1
  26. package/{ListBoxSection-C-Rz358T.cjs → ListBoxSection-BYJccE4T.cjs} +1 -1
  27. package/{ListBoxSection-Cc2cx0_S.js → ListBoxSection-Cicbu8pS.js} +375 -375
  28. package/{ListKeyboardDelegate-C-sPNj0f.js → ListKeyboardDelegate-CHki611g.js} +1 -1
  29. package/Popover-BDvKByTT.cjs +1 -0
  30. package/{Popover-DypW9ift.js → Popover-Tniqbaes.js} +13 -13
  31. package/{ProgressBar-CJFNiudl.cjs → ProgressBar-ClysdvqU.cjs} +1 -1
  32. package/{ProgressBar-CFgcqHTR.js → ProgressBar-DTn23Zkr.js} +1 -1
  33. package/{Radio-DUBSD0kQ.js → Radio-CCN3o3s-.js} +2 -2
  34. package/{Radio-CMH6pTWD.cjs → Radio-Cz0vLIBw.cjs} +1 -1
  35. package/{Select-DKME5lZp.js → Select-MwvnbChP.js} +8 -8
  36. package/{Select-C5i-rIDh.cjs → Select-lhIwwJL7.cjs} +1 -1
  37. package/{SelectionManager-BubxiIKu.js → SelectionManager-BKrZ_mMO.js} +1 -1
  38. package/{Separator-CEZ5y7tZ.js → Separator-DvvVAypT.js} +2 -2
  39. package/{TabList-BkSWzbDG.cjs → TabList-CWMlbijV.cjs} +1 -1
  40. package/{TabList-QApx8qRC.js → TabList-VpTv_Xff.js} +4 -4
  41. package/{Table-B5Aine4F.js → Table-DGTwyh7U.js} +4 -4
  42. package/{Tag-Byva_Xuy.js → Tag-rI-NhuT0.js} +7 -7
  43. package/{TextArea-BhmdgD1w.js → TextArea-CrEALC58.js} +1 -1
  44. package/{TextArea-CY_tzBAJ.cjs → TextArea-DJKHFKuI.cjs} +1 -1
  45. package/{ToggleButtonGroup-HjvaTYD4.js → ToggleButtonGroup-98z8Dw8-.js} +1 -1
  46. package/accordion/Accordion.d.ts +1 -2
  47. package/accordion/index.cjs +1 -1
  48. package/accordion/index.d.ts +2 -1
  49. package/accordion/index.js +3 -2
  50. package/assets/Layout.css +1 -1
  51. package/assets/ListBoxSection.css +1 -1
  52. package/assets/Popover.css +1 -1
  53. package/breadcrumbs/index.d.ts +1 -0
  54. package/button/Button.d.ts +1 -2
  55. package/button/index.d.ts +1 -1
  56. package/checkbox/index.cjs +1 -1
  57. package/checkbox/index.js +1 -1
  58. package/color-scheme-switch/index.d.ts +1 -0
  59. package/color-scheme-switch/index.js +1 -1
  60. package/combobox/ComboBox.d.ts +1 -1
  61. package/combobox/index.cjs +1 -1
  62. package/combobox/index.js +1 -1
  63. package/date-field/index.cjs +1 -1
  64. package/date-field/index.d.ts +1 -0
  65. package/date-field/index.js +2 -2
  66. package/date-picker/DatePickerPopover.d.ts +1 -1
  67. package/date-picker/index.cjs +1 -1
  68. package/date-picker/index.js +1 -1
  69. package/dropdown/Dropdown.d.ts +1 -2
  70. package/dropdown/index.d.ts +1 -1
  71. package/dropdown/index.js +1 -1
  72. package/field-error/index.d.ts +1 -0
  73. package/grid/index.d.ts +2 -2
  74. package/heading/index.d.ts +1 -0
  75. package/index.cjs +1 -1
  76. package/index.d.ts +1 -1
  77. package/index.js +110 -109
  78. package/info-banner/index.d.ts +1 -1
  79. package/label/index.cjs +1 -1
  80. package/label/index.js +1 -1
  81. package/layout/index.cjs +1 -1
  82. package/layout/index.d.ts +1 -0
  83. package/layout/index.js +1 -1
  84. package/link/Link.d.ts +2 -2
  85. package/link/index.d.ts +1 -1
  86. package/link-button/LinkButton.d.ts +2 -2
  87. package/link-button/index.d.ts +1 -0
  88. package/list-box/index.cjs +1 -1
  89. package/list-box/index.js +2 -2
  90. package/modal/Dialog.d.ts +1 -1
  91. package/modal/index.cjs +1 -1
  92. package/modal/index.d.ts +1 -1
  93. package/modal/index.js +2 -2
  94. package/package.json +1 -1
  95. package/popover/Popover.d.ts +1 -2
  96. package/popover/index.cjs +1 -1
  97. package/popover/index.d.ts +1 -0
  98. package/popover/index.js +1 -1
  99. package/progress-bar/ProgressBar.d.ts +1 -2
  100. package/progress-bar/index.cjs +1 -1
  101. package/progress-bar/index.d.ts +1 -0
  102. package/progress-bar/index.js +1 -1
  103. package/radio/Radio.d.ts +1 -2
  104. package/radio/index.cjs +1 -1
  105. package/radio/index.d.ts +1 -1
  106. package/radio/index.js +1 -1
  107. package/search-field/index.d.ts +1 -1
  108. package/select/Select.d.ts +1 -1
  109. package/select/index.cjs +1 -1
  110. package/select/index.js +1 -1
  111. package/skeleton/index.d.ts +1 -1
  112. package/spinner/index.d.ts +1 -1
  113. package/table/index.d.ts +1 -0
  114. package/table/index.js +1 -1
  115. package/tabs/index.cjs +1 -1
  116. package/tabs/index.d.ts +1 -0
  117. package/tabs/index.js +1 -1
  118. package/tag/index.d.ts +1 -1
  119. package/tag/index.js +1 -1
  120. package/text/index.d.ts +1 -0
  121. package/textfield/index.cjs +1 -1
  122. package/textfield/index.d.ts +3 -0
  123. package/textfield/index.js +1 -1
  124. package/theme/index.cjs +1 -1
  125. package/theme/index.d.ts +1 -0
  126. package/theme/index.js +2 -2
  127. package/theme/tokens.d.ts +1 -0
  128. package/toast/Toast.d.ts +2 -3
  129. package/toast/index.d.ts +1 -0
  130. package/toggle-button/index.js +1 -1
  131. package/{tokens-BF-dPard.cjs → tokens-5PzK5zK7.cjs} +1 -1
  132. package/{tokens-r1r3wC04.js → tokens-CqvelUoA.js} +13 -12
  133. package/tooltip/Tooltip.d.ts +1 -2
  134. package/tooltip/index.d.ts +1 -0
  135. package/{useFilter-DginflOU.js → useFilter-DsOxD9JB.js} +1 -1
  136. package/{useHasTabbableChild-DP62kzkG.js → useHasTabbableChild-BgEe5J35.js} +1 -1
  137. package/{useListState-DNB7JWoj.js → useListState-B3c3xcNW.js} +1 -1
  138. package/{useSingleSelectListState-B0OMoHd_.js → useSingleSelectListState-DdBsBWKG.js} +1 -1
  139. package/AccordionItem-D2QYNgZS.cjs +0 -1
  140. package/DateRangePicker-CYXWnCTq.cjs +0 -6
  141. package/Dialog-B3R3WtL5.cjs +0 -1
  142. package/Dialog-BkUw6PlA.js +0 -221
  143. package/Layout-BwLxIwtY.cjs +0 -16
  144. package/Layout-CcADAhds.js +0 -498
  145. package/Popover--r4Zr4mO.cjs +0 -1
@@ -1,51 +1,50 @@
1
1
  import { jsxs as H, jsx as $ } from "react/jsx-runtime";
2
- import * as ce from "react";
3
- import J, { useMemo as W, useRef as z, useState as L, forwardRef as De, createContext as ee, useCallback as xe } from "react";
4
- import { c as Q } from "./clsx-OuTLNxxd.js";
5
- import { $ as da, a as na, C as ra, R as oa } from "./RangeCalendar-BCruEq9d.js";
6
- import { c as Fe, d as Re, e as Ce, f as sa, g as Oe, h as ua, i as q, j, k as ca, l as Te, a as ne, D as re, b as fa } from "./DateInputDivider-B3oE1_tB.js";
7
- import { $ as Ie, F as Y } from "./FieldError-CDCvUjK5.js";
8
- import { a as Ze, L as Me } from "./Label-JLgFEbP9.js";
9
- import { T as Be } from "./Text-BPcfhYQ9.js";
10
- import { e as fe, b as be, $ as ba } from "./Button-CepQFEit.js";
11
- import { $ as ke, c as _e, d as we, e as pe, a as Ee, f as Se } from "./utils-KLjWgdLR.js";
12
- import { i as Ne, m as Ue, n as We, a as va, l as ma } from "./Dialog-DKHo0W9B.js";
13
- import { $ as Le } from "./Form-CXcEMuBf.js";
14
- import { a as ve, $ as $a } from "./Group-B0vQfHDy.js";
15
- import { $ as me } from "./Text-DcZqSUN9.js";
16
- import { $ as ae } from "./filterDOMProps-D6KHYVBX.js";
17
- import { a as Ke, g as je } from "./OverlayArrow-DB_aVTVM.js";
2
+ import { c as J } from "./clsx-OuTLNxxd.js";
3
+ import { $ as ta, a as da, C as na, R as ra } from "./RangeCalendar-BCruEq9d.js";
4
+ import { c as Ve, d as De, e as xe, f as oa, g as Fe, h as sa, i as q, j, k as ua, l as Re, a as ne, D as re, b as ca } from "./DateInputDivider-BmvqW1Hk.js";
5
+ import { $ as Ce, F as Q } from "./FieldError-CDCvUjK5.js";
6
+ import { a as Oe, L as Te } from "./Label-endv1fkJ.js";
7
+ import { T as Ie } from "./Text-BPcfhYQ9.js";
8
+ import { e as ce, b as fe, $ as fa } from "./Button-CepQFEit.js";
9
+ import { $ as Ze, c as Me, d as Be, e as ke, a as _e, f as we } from "./utils-KLjWgdLR.js";
10
+ import { i as Ee, m as pe, n as Se, a as ba, l as va } from "./Dialog-D5c_dUnB.js";
11
+ import { $ as Ne } from "./Form-CXcEMuBf.js";
12
+ import { a as be, $ as ma } from "./Group-B0vQfHDy.js";
13
+ import { $ as ve } from "./Text-DcZqSUN9.js";
14
+ import { $ as ee } from "./filterDOMProps-D6KHYVBX.js";
15
+ import { a as Ue, g as We } from "./OverlayArrow-DB_aVTVM.js";
16
+ import Y, { useMemo as W, useRef as z, useState as L, forwardRef as Le, createContext as ae, useCallback as Ke } from "react";
18
17
  import { $ as G, a as oe, b as se } from "./useDateFormatter-C7BJgoDR.js";
19
- import { d as ue, e as Pe, c as Ve, $ as ze } from "./useFormValidation-BzzruZKm.js";
20
- import { $ as qe } from "./useControlledState-u436Wbp1.js";
21
- import { b as Ge } from "./FocusScope-BCsrRPqD.js";
22
- import { c as A, a as Ae } from "./mergeProps-C1U1OIeJ.js";
23
- import { $ as Xe } from "./useDescription-DYfKjGGU.js";
24
- import { $ as He } from "./useFocusWithin-T1ifEM_s.js";
25
- import { $ as Je } from "./useField-CefQB81E.js";
26
- import { $ as Qe } from "./context-CGNJ3grH.js";
27
- import { $ as Ye } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
28
- import { $ as ea } from "./useFocusRing-DOfBqnUN.js";
29
- import { c as ha } from "./createLucideIcon-XRdN60yz.js";
30
- import './assets/DateRangePicker.css';function ga(e) {
18
+ import { d as ue, e as ye, c as Pe, $ as je } from "./useFormValidation-BzzruZKm.js";
19
+ import { $ as ze } from "./useControlledState-u436Wbp1.js";
20
+ import { b as qe } from "./FocusScope-DMsfA3bj.js";
21
+ import { c as A, a as Ge } from "./mergeProps-C1U1OIeJ.js";
22
+ import { $ as Ae } from "./useDescription-DYfKjGGU.js";
23
+ import { $ as Xe } from "./useFocusWithin-T1ifEM_s.js";
24
+ import { $ as He } from "./useField-CefQB81E.js";
25
+ import { $ as Je } from "./context-CGNJ3grH.js";
26
+ import { $ as Qe } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
27
+ import { $ as Ye } from "./useFocusRing-DOfBqnUN.js";
28
+ import { c as $a } from "./createLucideIcon-XRdN60yz.js";
29
+ import './assets/DateRangePicker.css';function ha(e) {
31
30
  return e && e.__esModule ? e.default : e;
32
31
  }
33
- function ya(e, a, i) {
34
- let f = A(), u = A(), c = A(), s = Ye(ga(Ce), "@react-aria/datepicker"), { isInvalid: t, validationErrors: l, validationDetails: x } = a.displayValidation, { labelProps: B, fieldProps: b, descriptionProps: k, errorMessageProps: F } = Je({
32
+ function ga(e, a, i) {
33
+ let f = A(), u = A(), c = A(), s = Qe(ha(xe), "@react-aria/datepicker"), { isInvalid: t, validationErrors: l, validationDetails: x } = a.displayValidation, { labelProps: B, fieldProps: b, descriptionProps: k, errorMessageProps: F } = He({
35
34
  ...e,
36
35
  labelElementType: "span",
37
36
  isInvalid: t,
38
37
  errorMessage: e.errorMessage || l
39
- }), R = Fe(a, i), C = b["aria-labelledby"] || b.id, { locale: v } = Qe(), O = a.formatValue(v, {
38
+ }), R = Ve(a, i), C = b["aria-labelledby"] || b.id, { locale: v } = Je(), O = a.formatValue(v, {
40
39
  month: "long"
41
40
  }), d = O ? s.format("selectedDateDescription", {
42
41
  date: O
43
- }) : "", T = Xe(d), I = [
42
+ }) : "", T = Ae(d), I = [
44
43
  T["aria-describedby"],
45
44
  b["aria-describedby"]
46
- ].filter(Boolean).join(" ") || void 0, P = ae(e), Z = W(() => Ge(i), [
45
+ ].filter(Boolean).join(" ") || void 0, P = ee(e), Z = W(() => qe(i), [
47
46
  i
48
- ]), M = z(!1), { focusWithinProps: D } = He({
47
+ ]), M = z(!1), { focusWithinProps: D } = Xe({
49
48
  ...e,
50
49
  isDisabled: a.isOpen,
51
50
  onBlurWithin: (y) => {
@@ -63,7 +62,7 @@ function ya(e, a, i) {
63
62
  }
64
63
  });
65
64
  return {
66
- groupProps: Ae(P, R, b, T, D, {
65
+ groupProps: Ge(P, R, b, T, D, {
67
66
  role: "group",
68
67
  "aria-disabled": e.isDisabled || null,
69
68
  "aria-labelledby": C,
@@ -84,7 +83,7 @@ function ya(e, a, i) {
84
83
  fieldProps: {
85
84
  ...b,
86
85
  id: c,
87
- [Re]: "presentation",
86
+ [De]: "presentation",
88
87
  "aria-describedby": I,
89
88
  value: a.value,
90
89
  onChange: a.setValue,
@@ -137,39 +136,39 @@ function ya(e, a, i) {
137
136
  validationDetails: x
138
137
  };
139
138
  }
140
- function Pa(e) {
139
+ function ya(e) {
141
140
  return e && e.__esModule ? e.default : e;
142
141
  }
143
- function Va(e, a, i) {
142
+ function Pa(e, a, i) {
144
143
  var f, u, c;
145
- let s = Ye(Pa(Ce), "@react-aria/datepicker"), { isInvalid: t, validationErrors: l, validationDetails: x } = a.displayValidation, { labelProps: B, fieldProps: b, descriptionProps: k, errorMessageProps: F } = Je({
144
+ let s = Qe(ya(xe), "@react-aria/datepicker"), { isInvalid: t, validationErrors: l, validationDetails: x } = a.displayValidation, { labelProps: B, fieldProps: b, descriptionProps: k, errorMessageProps: F } = He({
146
145
  ...e,
147
146
  labelElementType: "span",
148
147
  isInvalid: t,
149
148
  errorMessage: e.errorMessage || l
150
- }), R = b["aria-labelledby"] || b.id, { locale: C } = Qe(), v = a.formatValue(C, {
149
+ }), R = b["aria-labelledby"] || b.id, { locale: C } = Je(), v = a.formatValue(C, {
151
150
  month: "long"
152
151
  }), O = v ? s.format("selectedRangeDescription", {
153
152
  startDate: v.start,
154
153
  endDate: v.end
155
- }) : "", d = Xe(O), T = {
154
+ }) : "", d = Ae(O), T = {
156
155
  "aria-label": s.format("startDate"),
157
156
  "aria-labelledby": R
158
157
  }, I = {
159
158
  "aria-label": s.format("endDate"),
160
159
  "aria-labelledby": R
161
- }, P = A(), Z = A(), M = Fe(a, i), D = [
160
+ }, P = A(), Z = A(), M = Ve(a, i), D = [
162
161
  d["aria-describedby"],
163
162
  b["aria-describedby"]
164
- ].filter(Boolean).join(" ") || void 0, y = W(() => Ge(i, {
163
+ ].filter(Boolean).join(" ") || void 0, y = W(() => qe(i, {
165
164
  // Exclude the button from the focus manager.
166
165
  accept: (r) => r.id !== P
167
166
  }), [
168
167
  i,
169
168
  P
170
169
  ]), V = {
171
- [sa]: y,
172
- [Re]: "presentation",
170
+ [oa]: y,
171
+ [De]: "presentation",
173
172
  "aria-describedby": D,
174
173
  placeholderValue: e.placeholderValue,
175
174
  hideTimeZone: e.hideTimeZone,
@@ -180,7 +179,7 @@ function Va(e, a, i) {
180
179
  isReadOnly: e.isReadOnly,
181
180
  isRequired: e.isRequired,
182
181
  validationBehavior: e.validationBehavior
183
- }, o = ae(e), g = z(!1), { focusWithinProps: p } = He({
182
+ }, o = ee(e), g = z(!1), { focusWithinProps: E } = Xe({
184
183
  ...e,
185
184
  isDisabled: a.isOpen,
186
185
  onBlurWithin: (r) => {
@@ -196,10 +195,10 @@ function Va(e, a, i) {
196
195
  g.current = !0, (h = e.onFocus) === null || h === void 0 || h.call(e, r), (_ = e.onFocusChange) === null || _ === void 0 || _.call(e, !0);
197
196
  }
198
197
  }
199
- }), E = z(Pe), X = z(Pe);
198
+ }), p = z(ye), X = z(ye);
200
199
  var n, m;
201
200
  return {
202
- groupProps: Ae(o, M, b, d, p, {
201
+ groupProps: Ge(o, M, b, d, E, {
203
202
  role: "group",
204
203
  "aria-disabled": e.isDisabled || null,
205
204
  "aria-describedby": D,
@@ -242,7 +241,7 @@ function Va(e, a, i) {
242
241
  realtimeValidation: a.realtimeValidation,
243
242
  displayValidation: a.displayValidation,
244
243
  updateValidation(r) {
245
- E.current = r, a.updateValidation(Ve(r, X.current));
244
+ p.current = r, a.updateValidation(Pe(r, X.current));
246
245
  },
247
246
  resetValidation: a.resetValidation,
248
247
  commitValidation: a.commitValidation
@@ -258,7 +257,7 @@ function Va(e, a, i) {
258
257
  realtimeValidation: a.realtimeValidation,
259
258
  displayValidation: a.displayValidation,
260
259
  updateValidation(r) {
261
- X.current = r, a.updateValidation(Ve(E.current, r));
260
+ X.current = r, a.updateValidation(Pe(p.current, r));
262
261
  },
263
262
  resetValidation: a.resetValidation,
264
263
  commitValidation: a.commitValidation
@@ -285,8 +284,8 @@ function Va(e, a, i) {
285
284
  validationDetails: x
286
285
  };
287
286
  }
288
- function Da(e) {
289
- let a = Ke(e), [i, f] = qe(e.value, e.defaultValue || null, e.onChange), u = i || e.placeholderValue || null, [c, s] = Oe(u, e.granularity), t = i != null ? i.toDate(s ?? "UTC") : null, l = c === "hour" || c === "minute" || c === "second";
287
+ function Va(e) {
288
+ let a = Ue(e), [i, f] = ze(e.value, e.defaultValue || null, e.onChange), u = i || e.placeholderValue || null, [c, s] = Fe(u, e.granularity), t = i != null ? i.toDate(s ?? "UTC") : null, l = c === "hour" || c === "minute" || c === "second";
290
289
  var x;
291
290
  let B = (x = e.shouldCloseOnSelect) !== null && x !== void 0 ? x : !0, [b, k] = L(null), [F, R] = L(null);
292
291
  if (i && (b = i, "hour" in i && (F = i)), u && !(c in u)) throw new Error("Invalid granularity " + c + " for value " + u.toString());
@@ -304,13 +303,13 @@ function Da(e) {
304
303
  s,
305
304
  e.hideTimeZone,
306
305
  C
307
- ]), { minValue: O, maxValue: d, isDateUnavailable: T } = e, I = W(() => ua(i, O, d, T, v), [
306
+ ]), { minValue: O, maxValue: d, isDateUnavailable: T } = e, I = W(() => sa(i, O, d, T, v), [
308
307
  i,
309
308
  O,
310
309
  d,
311
310
  T,
312
311
  v
313
- ]), P = ze({
312
+ ]), P = je({
314
313
  ...e,
315
314
  value: i,
316
315
  builtinValidation: I
@@ -340,21 +339,21 @@ function Da(e) {
340
339
  isInvalid: Z,
341
340
  formatValue(o, g) {
342
341
  if (!t) return "";
343
- let p = q(g, v);
344
- return new G(o, p).format(t);
342
+ let E = q(g, v);
343
+ return new G(o, E).format(t);
345
344
  },
346
345
  getDateFormatter(o, g) {
347
- let p = {
346
+ let E = {
348
347
  ...v,
349
348
  ...g
350
- }, E = q({}, p);
351
- return new G(o, E);
349
+ }, p = q({}, E);
350
+ return new G(o, p);
352
351
  }
353
352
  };
354
353
  }
355
- function xa(e) {
354
+ function Da(e) {
356
355
  var a, i;
357
- let f = Ke(e), [u, c] = qe(e.value, e.defaultValue || null, e.onChange), [s, t] = L(() => u || {
356
+ let f = Ue(e), [u, c] = ze(e.value, e.defaultValue || null, e.onChange), [s, t] = L(() => u || {
358
357
  start: null,
359
358
  end: null
360
359
  });
@@ -367,7 +366,7 @@ function xa(e) {
367
366
  start: null,
368
367
  end: null
369
368
  }), N(n) ? c(n) : c(null);
370
- }, B = (l == null ? void 0 : l.start) || (l == null ? void 0 : l.end) || e.placeholderValue || null, [b, k] = Oe(B, e.granularity), F = b === "hour" || b === "minute" || b === "second";
369
+ }, B = (l == null ? void 0 : l.start) || (l == null ? void 0 : l.end) || e.placeholderValue || null, [b, k] = Fe(B, e.granularity), F = b === "hour" || b === "minute" || b === "second";
371
370
  var R;
372
371
  let C = (R = e.shouldCloseOnSelect) !== null && R !== void 0 ? R : !0, [v, O] = L(null), [d, T] = L(null);
373
372
  l && N(l) && (v = l, "hour" in l.start && (d = l));
@@ -375,13 +374,13 @@ function xa(e) {
375
374
  x({
376
375
  start: "timeZone" in m.start ? m.start.set(se(n.start)) : oe(n.start, m.start),
377
376
  end: "timeZone" in m.end ? m.end.set(se(n.end)) : oe(n.end, m.end)
378
- }), O(null), T(null), p.commitValidation();
377
+ }), O(null), T(null), E.commitValidation();
379
378
  }, P = (n) => {
380
379
  let m = typeof C == "function" ? C() : C;
381
380
  F ? N(n) && (m || d != null && d.start && (d != null && d.end)) ? I(n, {
382
381
  start: (d == null ? void 0 : d.start) || j(e.placeholderValue),
383
382
  end: (d == null ? void 0 : d.end) || j(e.placeholderValue)
384
- }) : O(n) : N(n) ? (x(n), p.commitValidation()) : O(n), m && f.setOpen(!1);
383
+ }) : O(n) : N(n) ? (x(n), E.commitValidation()) : O(n), m && f.setOpen(!1);
385
384
  }, Z = (n) => {
386
385
  N(v) && N(n) ? I(v, n) : T(n);
387
386
  }, M = (l == null || (a = l.start) === null || a === void 0 ? void 0 : a.calendar.identifier) === "gregory" && l.start.era === "BC" || (l == null || (i = l.end) === null || i === void 0 ? void 0 : i.calendar.identifier) === "gregory" && l.end.era === "BC", D = W(() => ({
@@ -398,13 +397,13 @@ function xa(e) {
398
397
  k,
399
398
  e.hideTimeZone,
400
399
  M
401
- ]), { minValue: y, maxValue: V, isDateUnavailable: o } = e, g = W(() => ca(l, y, V, o, D), [
400
+ ]), { minValue: y, maxValue: V, isDateUnavailable: o } = e, g = W(() => ua(l, y, V, o, D), [
402
401
  l,
403
402
  y,
404
403
  V,
405
404
  o,
406
405
  D
407
- ]), p = ze({
406
+ ]), E = je({
408
407
  ...e,
409
408
  value: u,
410
409
  name: W(() => [
@@ -415,9 +414,9 @@ function xa(e) {
415
414
  e.endName
416
415
  ]),
417
416
  builtinValidation: g
418
- }), E = p.displayValidation.isInvalid, X = e.validationState || (E ? "invalid" : null);
417
+ }), p = E.displayValidation.isInvalid, X = e.validationState || (p ? "invalid" : null);
419
418
  return {
420
- ...p,
419
+ ...E,
421
420
  value: l,
422
421
  setValue: x,
423
422
  dateRange: v,
@@ -464,30 +463,30 @@ function xa(e) {
464
463
  }), f.setOpen(n);
465
464
  },
466
465
  validationState: X,
467
- isInvalid: E,
466
+ isInvalid: p,
468
467
  formatValue(n, m) {
469
468
  if (!l || !l.start || !l.end) return null;
470
- let r = "timeZone" in l.start ? l.start.timeZone : void 0, h = e.granularity || (l.start && "minute" in l.start ? "minute" : "day"), _ = "timeZone" in l.end ? l.end.timeZone : void 0, K = e.granularity || (l.end && "minute" in l.end ? "minute" : "day"), ta = q(m, {
469
+ let r = "timeZone" in l.start ? l.start.timeZone : void 0, h = e.granularity || (l.start && "minute" in l.start ? "minute" : "day"), _ = "timeZone" in l.end ? l.end.timeZone : void 0, K = e.granularity || (l.end && "minute" in l.end ? "minute" : "day"), ia = q(m, {
471
470
  granularity: h,
472
471
  timeZone: r,
473
472
  hideTimeZone: e.hideTimeZone,
474
473
  hourCycle: e.hourCycle,
475
474
  showEra: l.start.calendar.identifier === "gregory" && l.start.era === "BC" || l.end.calendar.identifier === "gregory" && l.end.era === "BC"
476
- }), $e = l.start.toDate(r || "UTC"), he = l.end.toDate(_ || "UTC"), le = new G(n, ta), ie;
475
+ }), me = l.start.toDate(r || "UTC"), $e = l.end.toDate(_ || "UTC"), le = new G(n, ia), ie;
477
476
  if (r === _ && h === K && l.start.compare(l.end) !== 0) {
478
477
  try {
479
- let S = le.formatRangeToParts($e, he), te = -1;
478
+ let S = le.formatRangeToParts(me, $e), te = -1;
480
479
  for (let w = 0; w < S.length; w++) {
481
480
  let de = S[w];
482
481
  if (de.source === "shared" && de.type === "literal") te = w;
483
482
  else if (de.source === "endRange") break;
484
483
  }
485
- let ge = "", ye = "";
484
+ let he = "", ge = "";
486
485
  for (let w = 0; w < S.length; w++)
487
- w < te ? ge += S[w].value : w > te && (ye += S[w].value);
486
+ w < te ? he += S[w].value : w > te && (ge += S[w].value);
488
487
  return {
489
- start: ge,
490
- end: ye
488
+ start: he,
489
+ end: ge
491
490
  };
492
491
  } catch {
493
492
  }
@@ -502,8 +501,8 @@ function xa(e) {
502
501
  ie = new G(n, S);
503
502
  }
504
503
  return {
505
- start: le.format($e),
506
- end: ie.format(he)
504
+ start: le.format(me),
505
+ end: ie.format($e)
507
506
  };
508
507
  },
509
508
  getDateFormatter(n, m) {
@@ -518,32 +517,32 @@ function xa(e) {
518
517
  function N(e) {
519
518
  return (e == null ? void 0 : e.start) != null && e.end != null;
520
519
  }
521
- const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__PURE__ */ ee(null), Oa = /* @__PURE__ */ ee(null), aa = [
522
- ve,
523
- fe,
520
+ const xa = /* @__PURE__ */ ae(null), Fa = /* @__PURE__ */ ae(null), Ra = /* @__PURE__ */ ae(null), Ca = /* @__PURE__ */ ae(null), ea = [
524
521
  be,
525
- me
526
- ], Ta = /* @__PURE__ */ De(function(a, i) {
527
- [a, i] = ke(a, i, Fa);
528
- let { validationBehavior: f } = _e(Le) || {};
522
+ ce,
523
+ fe,
524
+ ve
525
+ ], Oa = /* @__PURE__ */ Le(function(a, i) {
526
+ [a, i] = Ze(a, i, xa);
527
+ let { validationBehavior: f } = Me(Ne) || {};
529
528
  var u, c;
530
- let s = (c = (u = a.validationBehavior) !== null && u !== void 0 ? u : f) !== null && c !== void 0 ? c : "native", t = Da({
529
+ let s = (c = (u = a.validationBehavior) !== null && u !== void 0 ? u : f) !== null && c !== void 0 ? c : "native", t = Va({
531
530
  ...a,
532
531
  validationBehavior: s
533
- }), l = z(null), [x, B] = we(!a["aria-label"] && !a["aria-labelledby"]), { groupProps: b, labelProps: k, fieldProps: F, buttonProps: R, dialogProps: C, calendarProps: v, descriptionProps: O, errorMessageProps: d, ...T } = ya({
534
- ...pe(a),
532
+ }), l = z(null), [x, B] = Be(!a["aria-label"] && !a["aria-labelledby"]), { groupProps: b, labelProps: k, fieldProps: F, buttonProps: R, dialogProps: C, calendarProps: v, descriptionProps: O, errorMessageProps: d, ...T } = ga({
533
+ ...ke(a),
535
534
  label: B,
536
535
  validationBehavior: s
537
- }, t, l), [I, P] = L(null), Z = xe(() => {
536
+ }, t, l), [I, P] = L(null), Z = Ke(() => {
538
537
  l.current && P(l.current.offsetWidth + "px");
539
538
  }, []);
540
- je({
539
+ We({
541
540
  ref: l,
542
541
  onResize: Z
543
542
  });
544
- let { focusProps: M, isFocused: D, isFocusVisible: y } = ea({
543
+ let { focusProps: M, isFocused: D, isFocusVisible: y } = Ye({
545
544
  within: !0
546
- }), V = Ee({
545
+ }), V = _e({
547
546
  ...a,
548
547
  values: {
549
548
  state: t,
@@ -554,15 +553,15 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
554
553
  isOpen: t.isOpen
555
554
  },
556
555
  defaultClassName: "react-aria-DatePicker"
557
- }), o = ae(a);
558
- return delete o.id, /* @__PURE__ */ J.createElement(Se, {
556
+ }), o = ee(a);
557
+ return delete o.id, /* @__PURE__ */ Y.createElement(we, {
559
558
  values: [
560
559
  [
561
- Ca,
560
+ Ra,
562
561
  t
563
562
  ],
564
563
  [
565
- ve,
564
+ be,
566
565
  {
567
566
  ...b,
568
567
  ref: l,
@@ -570,18 +569,18 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
570
569
  }
571
570
  ],
572
571
  [
573
- Te,
572
+ Re,
574
573
  F
575
574
  ],
576
575
  [
577
- fe,
576
+ ce,
578
577
  {
579
578
  ...R,
580
579
  isPressed: t.isOpen
581
580
  }
582
581
  ],
583
582
  [
584
- be,
583
+ fe,
585
584
  {
586
585
  ...k,
587
586
  ref: x,
@@ -589,15 +588,15 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
589
588
  }
590
589
  ],
591
590
  [
592
- da,
591
+ ta,
593
592
  v
594
593
  ],
595
594
  [
596
- Ne,
595
+ Ee,
597
596
  t
598
597
  ],
599
598
  [
600
- Ue,
599
+ pe,
601
600
  {
602
601
  trigger: "DatePicker",
603
602
  triggerRef: l,
@@ -605,15 +604,15 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
605
604
  style: {
606
605
  "--trigger-width": I
607
606
  },
608
- clearContexts: aa
607
+ clearContexts: ea
609
608
  }
610
609
  ],
611
610
  [
612
- We,
611
+ Se,
613
612
  C
614
613
  ],
615
614
  [
616
- me,
615
+ ve,
617
616
  {
618
617
  slots: {
619
618
  description: O,
@@ -622,11 +621,11 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
622
621
  }
623
622
  ],
624
623
  [
625
- Ie,
624
+ Ce,
626
625
  T
627
626
  ]
628
627
  ]
629
- }, /* @__PURE__ */ J.createElement("div", {
628
+ }, /* @__PURE__ */ Y.createElement("div", {
630
629
  ...M,
631
630
  ...o,
632
631
  ...V,
@@ -638,27 +637,27 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
638
637
  "data-disabled": a.isDisabled || void 0,
639
638
  "data-open": t.isOpen || void 0
640
639
  }));
641
- }), Ia = /* @__PURE__ */ De(function(a, i) {
642
- [a, i] = ke(a, i, Ra);
643
- let { validationBehavior: f } = _e(Le) || {};
640
+ }), Ta = /* @__PURE__ */ Le(function(a, i) {
641
+ [a, i] = Ze(a, i, Fa);
642
+ let { validationBehavior: f } = Me(Ne) || {};
644
643
  var u, c;
645
- let s = (c = (u = a.validationBehavior) !== null && u !== void 0 ? u : f) !== null && c !== void 0 ? c : "native", t = xa({
644
+ let s = (c = (u = a.validationBehavior) !== null && u !== void 0 ? u : f) !== null && c !== void 0 ? c : "native", t = Da({
646
645
  ...a,
647
646
  validationBehavior: s
648
- }), l = z(null), [x, B] = we(!a["aria-label"] && !a["aria-labelledby"]), { groupProps: b, labelProps: k, startFieldProps: F, endFieldProps: R, buttonProps: C, dialogProps: v, calendarProps: O, descriptionProps: d, errorMessageProps: T, ...I } = Va({
649
- ...pe(a),
647
+ }), l = z(null), [x, B] = Be(!a["aria-label"] && !a["aria-labelledby"]), { groupProps: b, labelProps: k, startFieldProps: F, endFieldProps: R, buttonProps: C, dialogProps: v, calendarProps: O, descriptionProps: d, errorMessageProps: T, ...I } = Pa({
648
+ ...ke(a),
650
649
  label: B,
651
650
  validationBehavior: s
652
- }, t, l), [P, Z] = L(null), M = xe(() => {
651
+ }, t, l), [P, Z] = L(null), M = Ke(() => {
653
652
  l.current && Z(l.current.offsetWidth + "px");
654
653
  }, []);
655
- je({
654
+ We({
656
655
  ref: l,
657
656
  onResize: M
658
657
  });
659
- let { focusProps: D, isFocused: y, isFocusVisible: V } = ea({
658
+ let { focusProps: D, isFocused: y, isFocusVisible: V } = Ye({
660
659
  within: !0
661
- }), o = Ee({
660
+ }), o = _e({
662
661
  ...a,
663
662
  values: {
664
663
  state: t,
@@ -669,15 +668,15 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
669
668
  isOpen: t.isOpen
670
669
  },
671
670
  defaultClassName: "react-aria-DateRangePicker"
672
- }), g = ae(a);
673
- return delete g.id, /* @__PURE__ */ J.createElement(Se, {
671
+ }), g = ee(a);
672
+ return delete g.id, /* @__PURE__ */ Y.createElement(we, {
674
673
  values: [
675
674
  [
676
- Oa,
675
+ Ca,
677
676
  t
678
677
  ],
679
678
  [
680
- ve,
679
+ be,
681
680
  {
682
681
  ...b,
683
682
  ref: l,
@@ -685,14 +684,14 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
685
684
  }
686
685
  ],
687
686
  [
688
- fe,
687
+ ce,
689
688
  {
690
689
  ...C,
691
690
  isPressed: t.isOpen
692
691
  }
693
692
  ],
694
693
  [
695
- be,
694
+ fe,
696
695
  {
697
696
  ...k,
698
697
  ref: x,
@@ -700,15 +699,15 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
700
699
  }
701
700
  ],
702
701
  [
703
- na,
702
+ da,
704
703
  O
705
704
  ],
706
705
  [
707
- Ne,
706
+ Ee,
708
707
  t
709
708
  ],
710
709
  [
711
- Ue,
710
+ pe,
712
711
  {
713
712
  trigger: "DateRangePicker",
714
713
  triggerRef: l,
@@ -716,15 +715,15 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
716
715
  style: {
717
716
  "--trigger-width": P
718
717
  },
719
- clearContexts: aa
718
+ clearContexts: ea
720
719
  }
721
720
  ],
722
721
  [
723
- We,
722
+ Se,
724
723
  v
725
724
  ],
726
725
  [
727
- Te,
726
+ Re,
728
727
  {
729
728
  slots: {
730
729
  start: F,
@@ -733,7 +732,7 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
733
732
  }
734
733
  ],
735
734
  [
736
- me,
735
+ ve,
737
736
  {
738
737
  slots: {
739
738
  description: d,
@@ -742,11 +741,11 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
742
741
  }
743
742
  ],
744
743
  [
745
- Ie,
744
+ Ce,
746
745
  I
747
746
  ]
748
747
  ]
749
- }, /* @__PURE__ */ J.createElement("div", {
748
+ }, /* @__PURE__ */ Y.createElement("div", {
750
749
  ...D,
751
750
  ...g,
752
751
  ...o,
@@ -765,7 +764,7 @@ const Fa = /* @__PURE__ */ ee(null), Ra = /* @__PURE__ */ ee(null), Ca = /* @__P
765
764
  * This source code is licensed under the ISC license.
766
765
  * See the LICENSE file in the root directory of this source tree.
767
766
  */
768
- const Za = [
767
+ const Ia = [
769
768
  ["path", { d: "M8 2v4", key: "1cmpym" }],
770
769
  ["path", { d: "M16 2v4", key: "4m81vk" }],
771
770
  ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
@@ -776,35 +775,35 @@ const Za = [
776
775
  ["path", { d: "M8 18h.01", key: "lrp35t" }],
777
776
  ["path", { d: "M12 18h.01", key: "mhygvu" }],
778
777
  ["path", { d: "M16 18h.01", key: "kzsmim" }]
779
- ], Ma = ha("calendar-days", Za), Ba = "_datePicker_1ro4s_4", ka = "_inputField_1ro4s_11", _a = "_medium_1ro4s_23", wa = "_calendarButton_1ro4s_50", pa = "_dialog_1ro4s_97", U = {
780
- datePicker: Ba,
781
- inputField: ka,
782
- medium: _a,
783
- calendarButton: wa,
784
- dialog: pa
785
- }, la = ({
778
+ ], Za = $a("calendar-days", Ia), Ma = "_datePicker_1ro4s_4", Ba = "_inputField_1ro4s_11", ka = "_medium_1ro4s_23", _a = "_calendarButton_1ro4s_50", wa = "_dialog_1ro4s_97", U = {
779
+ datePicker: Ma,
780
+ inputField: Ba,
781
+ medium: ka,
782
+ calendarButton: _a,
783
+ dialog: wa
784
+ }, aa = ({
786
785
  children: e,
787
786
  isDisabled: a,
788
787
  isInvalid: i,
789
788
  size: f = "large"
790
789
  }) => /* @__PURE__ */ H(
791
- $a,
790
+ ma,
792
791
  {
793
- className: Q(U.inputField, {
792
+ className: J(U.inputField, {
794
793
  [U.medium]: f === "medium"
795
794
  }),
796
795
  children: [
797
796
  e,
798
797
  /* @__PURE__ */ $(
799
- ba,
798
+ fa,
800
799
  {
801
- className: Q(U.calendarButton, {
800
+ className: J(U.calendarButton, {
802
801
  [U.medium]: f === "medium"
803
802
  }),
804
803
  "data-invalid": i || void 0,
805
804
  isDisabled: a,
806
805
  children: /* @__PURE__ */ $(
807
- Ma,
806
+ Za,
808
807
  {
809
808
  "aria-hidden": !0,
810
809
  size: 20
@@ -814,13 +813,9 @@ const Za = [
814
813
  )
815
814
  ]
816
815
  }
817
- ), ia = ce.forwardRef(({ children: e }, a) => /* @__PURE__ */ $(
818
- va,
819
- {
820
- UNSTABLE_portalContainer: typeof a != "function" && (a == null ? void 0 : a.current) || void 0,
821
- children: /* @__PURE__ */ $(ma, { className: U.dialog, children: e })
822
- }
823
- )), cl = ({
816
+ ), la = ({
817
+ children: e
818
+ }) => /* @__PURE__ */ $(ba, { children: /* @__PURE__ */ $(va, { className: U.dialog, children: e }) }), ul = ({
824
819
  className: e,
825
820
  description: a,
826
821
  errorMessage: i,
@@ -828,25 +823,21 @@ const Za = [
828
823
  label: u,
829
824
  popover: c,
830
825
  ...s
831
- }) => {
832
- const t = ce.useRef(null);
833
- return /* @__PURE__ */ H(
834
- Ta,
835
- {
836
- className: Q(U.datePicker, e),
837
- ref: t,
838
- ...s,
839
- children: [
840
- /* @__PURE__ */ $(Ze, { popover: c, children: u && /* @__PURE__ */ $(Me, { children: u }) }),
841
- a && /* @__PURE__ */ $(Be, { slot: "description", children: a }),
842
- f === "top" && /* @__PURE__ */ $(Y, { children: i }),
843
- /* @__PURE__ */ $(la, { ...s, children: /* @__PURE__ */ $(ne, { children: (l) => /* @__PURE__ */ $(re, { segment: l }) }) }),
844
- f === "bottom" && /* @__PURE__ */ $(Y, { children: i }),
845
- /* @__PURE__ */ $(ia, { ref: t, children: /* @__PURE__ */ $(ra, {}) })
846
- ]
847
- }
848
- );
849
- }, fl = ({
826
+ }) => /* @__PURE__ */ H(
827
+ Oa,
828
+ {
829
+ className: J(U.datePicker, e),
830
+ ...s,
831
+ children: [
832
+ /* @__PURE__ */ $(Oe, { popover: c, children: u && /* @__PURE__ */ $(Te, { children: u }) }),
833
+ a && /* @__PURE__ */ $(Ie, { slot: "description", children: a }),
834
+ f === "top" && /* @__PURE__ */ $(Q, { children: i }),
835
+ /* @__PURE__ */ $(aa, { ...s, children: /* @__PURE__ */ $(ne, { children: (t) => /* @__PURE__ */ $(re, { segment: t }) }) }),
836
+ f === "bottom" && /* @__PURE__ */ $(Q, { children: i }),
837
+ /* @__PURE__ */ $(la, { children: /* @__PURE__ */ $(na, {}) })
838
+ ]
839
+ }
840
+ ), cl = ({
850
841
  className: e,
851
842
  description: a,
852
843
  errorMessage: i,
@@ -854,30 +845,26 @@ const Za = [
854
845
  label: u,
855
846
  popover: c,
856
847
  ...s
857
- }) => {
858
- const t = ce.useRef(null);
859
- return /* @__PURE__ */ H(
860
- Ia,
861
- {
862
- className: Q(U.datePicker, e),
863
- ref: t,
864
- ...s,
865
- children: [
866
- /* @__PURE__ */ $(Ze, { popover: c, children: u && /* @__PURE__ */ $(Me, { children: u }) }),
867
- a && /* @__PURE__ */ $(Be, { slot: "description", children: a }),
868
- f === "top" && /* @__PURE__ */ $(Y, { children: i }),
869
- /* @__PURE__ */ H(la, { ...s, children: [
870
- /* @__PURE__ */ $(ne, { slot: "start", children: (l) => /* @__PURE__ */ $(re, { segment: l }) }),
871
- /* @__PURE__ */ $(fa, {}),
872
- /* @__PURE__ */ $(ne, { slot: "end", children: (l) => /* @__PURE__ */ $(re, { segment: l }) })
873
- ] }),
874
- f === "bottom" && /* @__PURE__ */ $(Y, { children: i }),
875
- /* @__PURE__ */ $(ia, { ref: t, children: /* @__PURE__ */ $(oa, {}) })
876
- ]
877
- }
878
- );
879
- };
848
+ }) => /* @__PURE__ */ H(
849
+ Ta,
850
+ {
851
+ className: J(U.datePicker, e),
852
+ ...s,
853
+ children: [
854
+ /* @__PURE__ */ $(Oe, { popover: c, children: u && /* @__PURE__ */ $(Te, { children: u }) }),
855
+ a && /* @__PURE__ */ $(Ie, { slot: "description", children: a }),
856
+ f === "top" && /* @__PURE__ */ $(Q, { children: i }),
857
+ /* @__PURE__ */ H(aa, { ...s, children: [
858
+ /* @__PURE__ */ $(ne, { slot: "start", children: (t) => /* @__PURE__ */ $(re, { segment: t }) }),
859
+ /* @__PURE__ */ $(ca, {}),
860
+ /* @__PURE__ */ $(ne, { slot: "end", children: (t) => /* @__PURE__ */ $(re, { segment: t }) })
861
+ ] }),
862
+ f === "bottom" && /* @__PURE__ */ $(Q, { children: i }),
863
+ /* @__PURE__ */ $(la, { children: /* @__PURE__ */ $(ra, {}) })
864
+ ]
865
+ }
866
+ );
880
867
  export {
881
- cl as D,
882
- fl as a
868
+ ul as D,
869
+ cl as a
883
870
  };