@povio/ui 4.0.0 → 4.0.2-rc.1

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 (257) hide show
  1. package/dist/{Accordion-rZ9P9dZy.js → Accordion-CB1F5YAY.js} +5 -5
  2. package/dist/{BottomSheet-ByyAU_dJ.js → BottomSheet-CVTF1wQe.js} +8 -8
  3. package/dist/{Breadcrumbs-UfRbfiqU.js → Breadcrumbs-BibAIBhY.js} +8 -8
  4. package/dist/{Button-CbwNjdRz.js → Button-CcZBqoQp.js} +4 -4
  5. package/dist/{Button-CRlZqaJq.js → Button-D6KlWSFL.js} +3 -3
  6. package/dist/{Calendar-Ci0ysyfZ.js → Calendar-kSEji28A.js} +22 -21
  7. package/dist/{Checkbox-BJ7flpwA.js → Checkbox-DBV_Nxtq.js} +9 -9
  8. package/dist/{CheckboxCheckmark-C1X9yBT6.js → CheckboxCheckmark-DJue5Aej.js} +14 -7
  9. package/dist/{DatePicker-CgCr_Z8r.js → DatePicker-BbdtBAGN.js} +15 -13
  10. package/dist/{DatePicker-DyjAwAh6.d.ts → DatePicker-CjmXaZ9T.d.ts} +1 -0
  11. package/dist/{DatePickerInput-B9Z_AUkC.js → DatePickerInput-eyHwzKPm.js} +94 -46
  12. package/dist/{DateRangePicker-CS69o2pD.js → DateRangePicker-Ct182qur.js} +36 -31
  13. package/dist/{DateRangePicker-Cdu1Sx37.d.ts → DateRangePicker-D1kjkFfS.d.ts} +1 -0
  14. package/dist/{DateTimePicker-ClSa8hFs.d.ts → DateTimePicker-CT_Pm3KB.d.ts} +1 -0
  15. package/dist/{DateTimePicker-Xzc1ve3a.js → DateTimePicker-taYHMMYi.js} +15 -13
  16. package/dist/{Dialog-DLfOkNe9.js → Dialog-BE9BSDDl.js} +4 -4
  17. package/dist/{Dialog-CLWfxiie.js → Dialog-CXoVeIkU.js} +63 -16
  18. package/dist/{DropdownMenu-hkpycd0j.js → DropdownMenu-tuf1W-IL.js} +20 -13
  19. package/dist/{DropdownMenuDesktop-B0MKN0op.js → DropdownMenuDesktop-C9ttysuk.js} +17 -10
  20. package/dist/{FileInput-BQS6TAH7.js → FileInput-B-ADr0B3.js} +8 -8
  21. package/dist/{FileTrigger-C5r_5hvS.js → FileTrigger-CDXcQthK.js} +29 -22
  22. package/dist/{FileUpload-cS3NOaES.js → FileUpload-3-4Vt4f1.js} +73 -48
  23. package/dist/{FocusScope-CNjWJz3s.js → FocusScope-CO9oJ1sc.js} +4 -4
  24. package/dist/{Form-Bam3kea-.js → Form-DlQcyN1f.js} +2 -2
  25. package/dist/{Form-BQXPNkTh.d.ts → Form-mzpVGNjX.d.ts} +1 -1
  26. package/dist/{FormField-BHPdCLEV.js → FormField-CAcDJ4HC.js} +2 -2
  27. package/dist/{FormFieldHeaderTooltip-b-kY0DgB.js → FormFieldHeaderTooltip-C2IDI4ac.js} +27 -20
  28. package/dist/{Heading-D0cYUzVa.js → Heading-nI1_VOaE.js} +2 -2
  29. package/dist/{InlineTooltipWrapper-BqLlgdD7.js → InlineTooltipWrapper-7HG-g2X3.js} +1 -1
  30. package/dist/{Input-BmIahisJ.js → Input-BsbLZDtC.js} +2 -2
  31. package/dist/{InputItem-AU6mq7o-.js → InputItem-B3PlrjuD.js} +12 -12
  32. package/dist/{Inputs-CrXedhHr.d.ts → Inputs-CHEDcuP0.d.ts} +1 -1
  33. package/dist/{Inputs-AqKRElPz.js → Inputs-WZmrBWrL.js} +1 -1
  34. package/dist/{Label-C6BonuOp.js → Label-B2-B-uFY.js} +2 -2
  35. package/dist/{Link-e4ZWZNrO.js → Link-C5YsZ4pr.js} +1 -1
  36. package/dist/{Link-D7QEPw-L.js → Link-FupWOW1f.js} +2 -2
  37. package/dist/{ListBox-Dx42Gif4.js → ListBox-B7DW1S7n.js} +7 -7
  38. package/dist/{Modal-C5Oi8GZF.js → Modal-CoFt5PGP.js} +3 -3
  39. package/dist/{NumberRangeInput-xjkniTH0.js → NumberRangeInput-X8G1zfNM.js} +9 -9
  40. package/dist/{OverlayArrow-BRnQo6-8.js → OverlayArrow-D8z7cCsw.js} +2 -2
  41. package/dist/{PaginationList-Du7qn_AS.js → PaginationList-CmOJo2r2.js} +5 -5
  42. package/dist/PasswordInput-DYwUZ4-k.js +78 -0
  43. package/dist/{RadioGroup-B9g4uT4E.js → RadioGroup-DW_OQQDu.js} +10 -10
  44. package/dist/{RichTextEditor-DWgaZLRW.js → RichTextEditor-BOTitK7E.js} +326 -219
  45. package/dist/{Select-O9dprkTa.js → Select-DmLkOMr1.js} +5 -5
  46. package/dist/{SelectionIndicator-C9TY9dkk.js → SelectionIndicator-JblvLKCu.js} +1 -1
  47. package/dist/{SharedElementTransition-lGqrCNlI.js → SharedElementTransition-Da1c_cOO.js} +1 -1
  48. package/dist/{Slider-IDDtzb2P.js → Slider-Q87Hg_V2.js} +7 -7
  49. package/dist/{Stepper-Coe3PAl_.js → Stepper-BbO9TlOM.js} +2 -2
  50. package/dist/{Switch-BaNEe9Nx.js → Switch-Cylpjatb.js} +7 -7
  51. package/dist/{Tag-1N-2yYCH.js → Tag-DNuHvt6J.js} +4 -4
  52. package/dist/{Text-D_lEB52w.js → Text-D2MPZ3sY.js} +2 -1
  53. package/dist/{TextArea-BcIy_nZ2.js → TextArea-DZv6XaT0.js} +7 -7
  54. package/dist/{TimePicker-vbrwgBc5.js → TimePicker-DAoHgk8U.js} +11 -11
  55. package/dist/{ToastContainer-gdpK8d8m.js → ToastContainer-8X5jGBe7.js} +2 -2
  56. package/dist/{ToggleButton-C966bfpT.js → ToggleButton-BW1ensey.js} +5 -5
  57. package/dist/{ToggleGroup-BMZsbHY9.js → ToggleGroup-Cho_oRZh.js} +10 -10
  58. package/dist/{Tooltip-BNAubrgG.js → Tooltip-D94a1IQl.js} +6 -6
  59. package/dist/{TooltipWrapper-DYfZF2Ly.js → TooltipWrapper-S2JC-w4e.js} +4 -4
  60. package/dist/{chain-BKPAL-J_.js → chain-DIXr2VAT.js} +1 -1
  61. package/dist/check-DYMBkp_Z.js +20 -0
  62. package/dist/chevron-down-B4Pr8bD3.js +20 -0
  63. package/dist/chevron-left-Dgo_b9wJ.js +20 -0
  64. package/dist/chevron-right-3nKJR5Bb.js +20 -0
  65. package/dist/chevron-up-D_Gqpb5M.js +20 -0
  66. package/dist/chevrons-right-DJPPn2fD.js +44 -0
  67. package/dist/components/accordion.js +1 -1
  68. package/dist/components/alert-dialog.js +3 -3
  69. package/dist/components/autocomplete.js +5 -5
  70. package/dist/components/badge.js +4 -4
  71. package/dist/components/bottom-sheet.js +2 -2
  72. package/dist/components/breadcrumbs.js +1 -1
  73. package/dist/components/button.js +1 -1
  74. package/dist/components/checkbox-group.js +6 -6
  75. package/dist/components/checkbox.js +1 -1
  76. package/dist/components/collection/react-aria.js +1 -1
  77. package/dist/components/color-swatch-picker-item/react-aria.js +1 -1
  78. package/dist/components/date-picker.d.ts +1 -1
  79. package/dist/components/date-picker.js +1 -1
  80. package/dist/components/date-range-picker.d.ts +1 -1
  81. package/dist/components/date-range-picker.js +1 -1
  82. package/dist/components/date-time-picker.d.ts +1 -1
  83. package/dist/components/date-time-picker.js +1 -1
  84. package/dist/components/dialog-trigger/react-aria.js +1 -1
  85. package/dist/components/dialog.js +1 -1
  86. package/dist/components/drawer.js +2 -2
  87. package/dist/components/drop-zone/react-aria.js +1 -1
  88. package/dist/components/dropdown-menu.js +2 -2
  89. package/dist/components/field-error/react-aria.js +1 -1
  90. package/dist/components/file-input.js +1 -1
  91. package/dist/components/file-upload-container.js +1 -1
  92. package/dist/components/file-upload.js +1 -1
  93. package/dist/components/focusable/react-aria.js +1 -1
  94. package/dist/components/form-field.js +1 -1
  95. package/dist/components/i18n-provider/react-aria.js +1 -1
  96. package/dist/components/icon-button.js +2 -2
  97. package/dist/components/inline-icon-button.js +1 -1
  98. package/dist/components/input.js +8 -8
  99. package/dist/components/link.js +1 -1
  100. package/dist/components/list-box-item/react-aria.js +1 -1
  101. package/dist/components/menu/react-aria.js +1 -1
  102. package/dist/components/menu-item/react-aria.js +1 -1
  103. package/dist/components/menu-section/react-aria.js +1 -1
  104. package/dist/components/menu-trigger/react-aria.js +1 -1
  105. package/dist/components/modal/react-aria.js +1 -1
  106. package/dist/components/modal-overlay/react-aria.js +1 -1
  107. package/dist/components/number-field.js +10 -10
  108. package/dist/components/number-range-input.js +1 -1
  109. package/dist/components/pagination-list.js +1 -1
  110. package/dist/components/pagination.js +2 -2
  111. package/dist/components/password-input.js +1 -1
  112. package/dist/components/pill-button.js +3 -3
  113. package/dist/components/popover.js +2 -2
  114. package/dist/components/pressable/react-aria.js +1 -1
  115. package/dist/components/query-autocomplete.js +4 -4
  116. package/dist/components/query-select.js +5 -5
  117. package/dist/components/radio-group.js +1 -1
  118. package/dist/components/router-provider/react-aria.js +1 -1
  119. package/dist/components/select.js +1 -1
  120. package/dist/components/slider.js +1 -1
  121. package/dist/components/split-button.js +3 -3
  122. package/dist/components/ssr-provider/react-aria.js +1 -1
  123. package/dist/components/stepper.js +1 -1
  124. package/dist/components/submenu-trigger/react-aria.js +1 -1
  125. package/dist/components/switch/react-aria.js +1 -1
  126. package/dist/components/switch.js +1 -1
  127. package/dist/components/table/react-aria.js +1 -1
  128. package/dist/components/tag.js +1 -1
  129. package/dist/components/text/react-aria.js +1 -1
  130. package/dist/components/text-area.js +1 -1
  131. package/dist/components/text-button.js +1 -1
  132. package/dist/components/time-picker.js +1 -1
  133. package/dist/components/toast.js +2 -2
  134. package/dist/components/toggle-button.js +1 -1
  135. package/dist/components/toggle-group.js +1 -1
  136. package/dist/components/tooltip-ellipsis.js +1 -1
  137. package/dist/components/tooltip.js +1 -1
  138. package/dist/components/tree/react-aria.js +1 -1
  139. package/dist/components/use-toast.js +2 -2
  140. package/dist/components/visually-hidden/react-aria.js +1 -1
  141. package/dist/config/confirmation.js +1 -1
  142. package/dist/config/resources.d.ts +1 -1
  143. package/dist/config/resources.js +1 -1
  144. package/dist/config/ui-config.d.ts +2 -2
  145. package/dist/config/ui-config.js +1 -1
  146. package/dist/config/ui-router.js +1 -1
  147. package/dist/{confirmation.context-BcX0qVEy.js → confirmation.context-BuzgCfYl.js} +1 -1
  148. package/dist/createLucideIcon-LcezOE4z.js +240 -0
  149. package/dist/{date-picker-DiMaoYoA.d.ts → date-picker-MXt02b7Z.d.ts} +1 -1
  150. package/dist/{date-range-picker-DSkNEa35.d.ts → date-range-picker-BjT0t21q.d.ts} +1 -1
  151. package/dist/{date-time-picker-B5s2PMFw.d.ts → date-time-picker-CMmIuZtT.d.ts} +1 -1
  152. package/dist/{datePickerValue.utils-BxOJpTbb.js → datePickerValue.utils-GADbSu7a.js} +5 -5
  153. package/dist/{dist-BAT04RMQ.js → dist-C6GfeeEC.js} +2 -2
  154. package/dist/{dom.utils-D08rHcQ2.js → dom.utils-D3mELNBA.js} +1 -1
  155. package/dist/{dynamicInputs-2sABu31U.d.ts → dynamicInputs-CQMTixlW.d.ts} +7 -7
  156. package/dist/{exports-DUKqxyno.js → exports-BNrTn8Tj.js} +1 -0
  157. package/dist/{fieldAdapter-DESnl1Sc.js → fieldAdapter-BYVPxvYi.js} +1 -1
  158. package/dist/{focusSafely-BDIcvqPb.js → focusSafely-DCGrr2bb.js} +37 -27
  159. package/dist/{form.binding-DLM7NA2s.js → form.binding-CG1RPv6o.js} +1 -0
  160. package/dist/{getScrollParent-WT3K8H_b.js → getScrollParent-kSR7EtoT.js} +23 -12
  161. package/dist/hooks/use-filters.js +1 -1
  162. package/dist/{i18n-D0Pz0p2u.d.ts → i18n-CX1vFM9r.d.ts} +6 -0
  163. package/dist/{i18n-BDjNuy4Z.js → i18n-CX2EjhJI.js} +6 -0
  164. package/dist/icons.js +1 -1
  165. package/dist/index.d.ts +9 -9
  166. package/dist/index.js +35 -35
  167. package/dist/{intlStrings-A7XlNdi7.js → intlStrings-chfsan9H.js} +35 -35
  168. package/dist/{numberStatic.utils-DAI7Bef3.js → numberStatic.utils-BMgRzyd3.js} +48 -48
  169. package/dist/{openLink-BrfLaWo4.js → openLink-CQhMhfzO.js} +3 -3
  170. package/dist/{platform-3R53zj-n.js → platform-BXNIIAfU.js} +1 -1
  171. package/dist/rhf/autocomplete.js +1 -1
  172. package/dist/rhf/checkbox-group.js +1 -1
  173. package/dist/rhf/checkbox.js +2 -2
  174. package/dist/rhf/date-picker.d.ts +2 -2
  175. package/dist/rhf/date-picker.js +2 -2
  176. package/dist/rhf/date-range-picker.d.ts +2 -2
  177. package/dist/rhf/date-range-picker.js +2 -2
  178. package/dist/rhf/date-time-picker.d.ts +2 -2
  179. package/dist/rhf/date-time-picker.js +2 -2
  180. package/dist/rhf/file-input.js +2 -2
  181. package/dist/rhf/file-upload.js +2 -2
  182. package/dist/rhf/input.js +1 -1
  183. package/dist/rhf/inputs.d.ts +1 -1
  184. package/dist/rhf/number-field.js +1 -1
  185. package/dist/rhf/number-range-input.js +2 -2
  186. package/dist/rhf/password-input.js +2 -2
  187. package/dist/rhf/query-autocomplete.js +1 -1
  188. package/dist/rhf/query-select.js +1 -1
  189. package/dist/rhf/radio-group.js +2 -2
  190. package/dist/rhf/rich-text-editor.js +2 -2
  191. package/dist/rhf/select.js +2 -2
  192. package/dist/rhf/slider.js +2 -2
  193. package/dist/rhf/switch.js +2 -2
  194. package/dist/rhf/text-area.js +2 -2
  195. package/dist/rhf/time-picker.js +2 -2
  196. package/dist/rhf/toggle-group.js +2 -2
  197. package/dist/{rhf-C52xZuFt.js → rhf-1_ZO8GhU.js} +1 -1
  198. package/dist/rhf.d.ts +9 -9
  199. package/dist/rhf.js +35 -35
  200. package/dist/rich-text-editor.js +1 -1
  201. package/dist/{router.context-Bft1psqn.js → router.context-B0jTMtE0.js} +1 -1
  202. package/dist/{staticDateTimeSegments-B9kkwiDz.js → staticDateTimeSegments-BQoA94W-.js} +107 -105
  203. package/dist/{staticSelect.utils-CBmV4sam.js → staticSelect.utils-ad60elvT.js} +69 -67
  204. package/dist/tanstack/checkbox.js +1 -1
  205. package/dist/tanstack/date-picker.d.ts +1 -1
  206. package/dist/tanstack/date-picker.js +1 -1
  207. package/dist/tanstack/date-range-picker.d.ts +1 -1
  208. package/dist/tanstack/date-range-picker.js +1 -1
  209. package/dist/tanstack/date-time-picker.d.ts +1 -1
  210. package/dist/tanstack/date-time-picker.js +1 -1
  211. package/dist/tanstack/file-input.js +1 -1
  212. package/dist/tanstack/file-upload.js +1 -1
  213. package/dist/tanstack/form.d.ts +1 -1
  214. package/dist/tanstack/form.js +2 -2
  215. package/dist/tanstack/inputs.d.ts +2 -2
  216. package/dist/tanstack/inputs.js +1 -1
  217. package/dist/tanstack/number-range-input.js +1 -1
  218. package/dist/tanstack/password-input.js +1 -1
  219. package/dist/tanstack/radio-group.js +1 -1
  220. package/dist/tanstack/rich-text-editor.js +1 -1
  221. package/dist/tanstack/select.js +1 -1
  222. package/dist/tanstack/slider.js +1 -1
  223. package/dist/tanstack/switch.js +1 -1
  224. package/dist/tanstack/table.js +1 -1
  225. package/dist/tanstack/text-area.js +1 -1
  226. package/dist/tanstack/time-picker.js +1 -1
  227. package/dist/tanstack/toggle-group.js +1 -1
  228. package/dist/tanstack.d.ts +8 -8
  229. package/dist/tanstack.js +46 -46
  230. package/dist/{toast.runtime-BZQH-7Ba.js → toast.runtime-QMYrNvoQ.js} +1 -1
  231. package/dist/{uiConfig.context-BB7_zyOU.d.ts → uiConfig.context-CIoMqe1_.d.ts} +2 -0
  232. package/dist/{uiConfig.context-BvBsrMFI.js → uiConfig.context-RFvaQYzD.js} +87 -63
  233. package/dist/{useBreakpoint-CDKDB0E2.js → useBreakpoint-3kpqzjoC.js} +1 -1
  234. package/dist/{useControlledState-BMVd3AOQ.js → useControlledState-DQxX6LMN.js} +6 -6
  235. package/dist/{useFieldAccessibility-Bq-m3qhs.js → useFieldAccessibility-CtTdRX2u.js} +2 -2
  236. package/dist/{useFilters-KS2CQs_j.js → useFilters-kkEUFKmQ.js} +1 -1
  237. package/dist/{useFocusable-BIU1drrg.js → useFocusable-Bd0UsrQ7.js} +5 -5
  238. package/dist/{useFormAutosave-Bcbvu28I.js → useFormAutosave-DqP6lB4l.js} +3 -3
  239. package/dist/{useFormValidationState-Dl-Nh0G1.js → useFormValidationState-D3z-gafz.js} +59 -63
  240. package/dist/{useLayoutEffect-DN7Dbrb9.js → useLayoutEffect-B2-1tbPJ.js} +29 -4
  241. package/dist/{useStaticInputHandoff-Denoy4V_.js → useStaticInputHandoff-BAaDW_0z.js} +3 -3
  242. package/dist/{useSyncRef-Dsn4Ybiw.js → useSyncRef-RGMv0rXK.js} +12 -12
  243. package/dist/{useTableColumnConfig-DSJeSKeA.js → useTableColumnConfig-DVI_jVHz.js} +54 -47
  244. package/dist/{utils-D3gCeElo.js → utils-Czcqspm7.js} +1 -1
  245. package/dist/x-B6vfz8Ps.js +23 -0
  246. package/package.json +2 -2
  247. package/dist/PasswordInput-DTScGauT.js +0 -63
  248. package/dist/check-DefmU9oJ.js +0 -13
  249. package/dist/chevron-down-RksSwG1O.js +0 -13
  250. package/dist/chevron-left-Dem1_TuL.js +0 -13
  251. package/dist/chevron-right-DXbvvsay.js +0 -13
  252. package/dist/chevron-up-CgEFpORu.js +0 -13
  253. package/dist/chevrons-right--HrJEes-.js +0 -29
  254. package/dist/createLucideIcon-LS26Bb1M.js +0 -125
  255. package/dist/x-BD2AijMA.js +0 -16
  256. package/dist/{import-DDGNxVX8.js → import-BE0r63d8.js} +3 -3
  257. /package/dist/styles/{styles/editor.css → editor.css} +0 -0
@@ -0,0 +1,240 @@
1
+ import { createContext, createElement, forwardRef, useContext } from "react";
2
+ //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.mjs
3
+ /**
4
+ * @license lucide-react v1.43.0 - ISC
5
+ *
6
+ * This source code is licensed under the ISC license.
7
+ * See the LICENSE file in the root directory of this source tree.
8
+ */
9
+ const toKebabCase = (string) => string?.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
10
+ //#endregion
11
+ //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/shared/src/utils/toLucideIconData.mjs
12
+ /**
13
+ * @license lucide-react v1.43.0 - ISC
14
+ *
15
+ * This source code is licensed under the ISC license.
16
+ * See the LICENSE file in the root directory of this source tree.
17
+ */
18
+ function toLucideIconData(iconName, iconNode, aliases = []) {
19
+ if (iconNode == null) throw new Error("[lucide]: iconNode is required when icon name is used");
20
+ return {
21
+ name: toKebabCase(iconName),
22
+ size: 24,
23
+ node: iconNode,
24
+ ...aliases.length > 0 ? { aliases } : {}
25
+ };
26
+ }
27
+ //#endregion
28
+ //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.mjs
29
+ /**
30
+ * @license lucide-react v1.43.0 - ISC
31
+ *
32
+ * This source code is licensed under the ISC license.
33
+ * See the LICENSE file in the root directory of this source tree.
34
+ */
35
+ const toCamelCase = (string) => {
36
+ let out = "";
37
+ let upperNext = false;
38
+ for (const ch of string) {
39
+ if (ch === "-" || ch === "_" || ch <= " ") {
40
+ upperNext = out.length > 0;
41
+ continue;
42
+ }
43
+ if (out.length === 0) out += ch.toLowerCase();
44
+ else out += upperNext ? ch.toUpperCase() : ch;
45
+ upperNext = false;
46
+ }
47
+ return out;
48
+ };
49
+ //#endregion
50
+ //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.mjs
51
+ /**
52
+ * @license lucide-react v1.43.0 - ISC
53
+ *
54
+ * This source code is licensed under the ISC license.
55
+ * See the LICENSE file in the root directory of this source tree.
56
+ */
57
+ const toPascalCase = (string) => {
58
+ const camelCase = toCamelCase(string);
59
+ return camelCase.charAt(0).toUpperCase() + camelCase.slice(1);
60
+ };
61
+ //#endregion
62
+ //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.mjs
63
+ /**
64
+ * @license lucide-react v1.43.0 - ISC
65
+ *
66
+ * This source code is licensed under the ISC license.
67
+ * See the LICENSE file in the root directory of this source tree.
68
+ */
69
+ const mergeClasses = (...classes) => classes.filter((className, index, array) => {
70
+ return Boolean(className) && className.trim() !== "" && array.indexOf(className) === index;
71
+ }).join(" ").trim();
72
+ //#endregion
73
+ //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/shared/src/build/defaultAttributes.mjs
74
+ /**
75
+ * @license lucide-react v1.43.0 - ISC
76
+ *
77
+ * This source code is licensed under the ISC license.
78
+ * See the LICENSE file in the root directory of this source tree.
79
+ */
80
+ const defaultAttributes = {
81
+ xmlns: "http://www.w3.org/2000/svg",
82
+ width: 24,
83
+ height: 24,
84
+ viewBox: "0 0 24 24",
85
+ fill: "none",
86
+ stroke: "currentColor",
87
+ "stroke-width": 2,
88
+ "stroke-linecap": "round",
89
+ "stroke-linejoin": "round"
90
+ };
91
+ //#endregion
92
+ //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconNode.mjs
93
+ /**
94
+ * @license lucide-react v1.43.0 - ISC
95
+ *
96
+ * This source code is licensed under the ISC license.
97
+ * See the LICENSE file in the root directory of this source tree.
98
+ */
99
+ function isDefined(value) {
100
+ return value !== null && value !== void 0;
101
+ }
102
+ function buildLucideIconNode(icon, params = {}) {
103
+ const attributeNames = params.attributeNames ?? {};
104
+ const getAttributeName = (attributeName) => attributeNames[attributeName] ?? attributeName;
105
+ const viewBoxWidth = icon.size ?? icon.width ?? defaultAttributes["width"];
106
+ const viewBoxHeight = icon.size ?? icon.height ?? defaultAttributes["height"];
107
+ const aliasClassNames = icon.aliases?.filter((alias) => typeof alias === "string" && alias.trim() !== "").map((alias) => `lucide-${alias}`) ?? [];
108
+ const iconClassNames = [...icon.name ? [`lucide-${icon.name}`] : [], ...aliasClassNames];
109
+ const classNamesFromClassName = params.className?.split(" ").filter(Boolean) ?? [];
110
+ const className = params.includeDefaultClasses === false ? mergeClasses(...classNamesFromClassName) : mergeClasses("lucide", ...iconClassNames, ...classNamesFromClassName);
111
+ const calculatedStrokeWidth = params.absoluteStrokeWidth ? Number(params.strokeWidth ?? defaultAttributes["stroke-width"]) * Number(icon.size ?? icon.width ?? defaultAttributes["width"]) / Number(params.size ?? params.width ?? defaultAttributes["width"]) : params.strokeWidth ?? defaultAttributes["stroke-width"];
112
+ return [
113
+ "svg",
114
+ {
115
+ ...Object.entries(defaultAttributes).reduce((attrs, [attrName, value]) => {
116
+ attrs[getAttributeName(attrName)] = value;
117
+ return attrs;
118
+ }, {}),
119
+ ..."color" in params && params.color && { [getAttributeName("stroke")]: params.color },
120
+ ..."size" in params && isDefined(params.size) && {
121
+ [getAttributeName("width")]: params.size,
122
+ [getAttributeName("height")]: params.size
123
+ },
124
+ ..."width" in params && isDefined(params.width) && { [getAttributeName("width")]: params.width },
125
+ ..."height" in params && isDefined(params.height) && { [getAttributeName("height")]: params.height },
126
+ [getAttributeName("stroke-width")]: calculatedStrokeWidth,
127
+ ...className && { [getAttributeName("class")]: className },
128
+ [getAttributeName("viewBox")]: `0 0 ${viewBoxWidth} ${viewBoxHeight}`,
129
+ ...params.hasA11yProp === false ? { [getAttributeName("aria-hidden")]: "true" } : {},
130
+ ..."attributes" in params && params.attributes
131
+ },
132
+ icon.node.map((child) => {
133
+ const [name, attrs, children] = child;
134
+ const nextAttrs = params.nonScalingStroke ? {
135
+ [getAttributeName("vector-effect")]: "non-scaling-stroke",
136
+ ...attrs
137
+ } : attrs;
138
+ return children ? [
139
+ name,
140
+ nextAttrs,
141
+ children
142
+ ] : [name, nextAttrs];
143
+ })
144
+ ];
145
+ }
146
+ //#endregion
147
+ //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconForReact.mjs
148
+ /**
149
+ * @license lucide-react v1.43.0 - ISC
150
+ *
151
+ * This source code is licensed under the ISC license.
152
+ * See the LICENSE file in the root directory of this source tree.
153
+ */
154
+ function buildLucideIconForReact(icon, params = {}) {
155
+ return buildLucideIconNode(icon, {
156
+ ...params,
157
+ attributeNames: {
158
+ ...params.attributeNames,
159
+ class: "className",
160
+ "stroke-width": "strokeWidth",
161
+ "stroke-linecap": "strokeLinecap",
162
+ "stroke-linejoin": "strokeLinejoin",
163
+ "vector-effect": "vectorEffect"
164
+ }
165
+ });
166
+ }
167
+ //#endregion
168
+ //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.mjs
169
+ /**
170
+ * @license lucide-react v1.43.0 - ISC
171
+ *
172
+ * This source code is licensed under the ISC license.
173
+ * See the LICENSE file in the root directory of this source tree.
174
+ */
175
+ const hasA11yProp = (props) => {
176
+ for (const prop in props) if (prop.startsWith("aria-") || prop === "role" || prop === "title") return true;
177
+ return false;
178
+ };
179
+ //#endregion
180
+ //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/context.mjs
181
+ /**
182
+ * @license lucide-react v1.43.0 - ISC
183
+ *
184
+ * This source code is licensed under the ISC license.
185
+ * See the LICENSE file in the root directory of this source tree.
186
+ */
187
+ const LucideContext = createContext({});
188
+ const useLucideContext = () => useContext(LucideContext);
189
+ //#endregion
190
+ //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/Icon.mjs
191
+ /**
192
+ * @license lucide-react v1.43.0 - ISC
193
+ *
194
+ * This source code is licensed under the ISC license.
195
+ * See the LICENSE file in the root directory of this source tree.
196
+ */
197
+ const Icon = forwardRef(({ color, size, width, height, strokeWidth, absoluteStrokeWidth, nonScalingStroke, className = "", children, iconNode = [], icon = {
198
+ node: iconNode,
199
+ aliases: [],
200
+ size: 24
201
+ }, ...rest }, ref) => {
202
+ const { size: contextSize = 24, strokeWidth: contextStrokeWidth = 2, absoluteStrokeWidth: contextAbsoluteStrokeWidth = false, nonScalingStroke: contextNonScalingStroke = false, color: contextColor = "currentColor", className: contextClass = "" } = useLucideContext() ?? {};
203
+ const hasAccessibleProp = Boolean(children) || hasA11yProp(rest);
204
+ const [name, svgAttributes, builtIconNode = []] = buildLucideIconForReact(icon, {
205
+ color: color ?? contextColor,
206
+ width: width ?? size ?? contextSize,
207
+ height: height ?? size ?? contextSize,
208
+ strokeWidth: strokeWidth ?? contextStrokeWidth,
209
+ absoluteStrokeWidth: absoluteStrokeWidth ?? contextAbsoluteStrokeWidth,
210
+ nonScalingStroke: nonScalingStroke ?? contextNonScalingStroke,
211
+ className: mergeClasses(contextClass, className),
212
+ hasA11yProp: hasAccessibleProp,
213
+ attributes: rest
214
+ });
215
+ return createElement(name, {
216
+ ref,
217
+ ...svgAttributes
218
+ }, [...builtIconNode.map(([tag, attrs]) => createElement(tag, attrs)), ...Array.isArray(children) ? children : [children]]);
219
+ });
220
+ //#endregion
221
+ //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/createLucideIcon.mjs
222
+ /**
223
+ * @license lucide-react v1.43.0 - ISC
224
+ *
225
+ * This source code is licensed under the ISC license.
226
+ * See the LICENSE file in the root directory of this source tree.
227
+ */
228
+ function createLucideIcon(iconDataOrName, iconNode = [], aliases = []) {
229
+ const iconData = typeof iconDataOrName === "string" ? toLucideIconData(iconDataOrName, iconNode, aliases) : iconDataOrName;
230
+ const Component = forwardRef(({ className, ...props }, ref) => createElement(Icon, {
231
+ ref,
232
+ icon: iconData,
233
+ className,
234
+ ...props
235
+ }));
236
+ if (iconData.name) Component.displayName = toPascalCase(iconData.name);
237
+ return Component;
238
+ }
239
+ //#endregion
240
+ export { createLucideIcon as t };
@@ -1,4 +1,4 @@
1
- import { r as DatePickerProps } from "./DatePicker-DyjAwAh6.js";
1
+ import { r as DatePickerProps } from "./DatePicker-CjmXaZ9T.js";
2
2
  import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
3
3
  import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
4
4
  import { FieldValues } from "react-hook-form";
@@ -1,4 +1,4 @@
1
- import { r as DateRangePickerProps } from "./DateRangePicker-Cdu1Sx37.js";
1
+ import { r as DateRangePickerProps } from "./DateRangePicker-D1kjkFfS.js";
2
2
  import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
3
3
  import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
4
4
  import { FieldValues } from "react-hook-form";
@@ -1,4 +1,4 @@
1
- import { r as DateTimePickerProps } from "./DateTimePicker-ClSa8hFs.js";
1
+ import { r as DateTimePickerProps } from "./DateTimePicker-CT_Pm3KB.js";
2
2
  import { t as ControlProps } from "./form.types-ZNGbcqJS.js";
3
3
  import { t as FireBlurOnChangeProps } from "./fieldAdapter-C4sDFC8f.js";
4
4
  import { FieldValues } from "react-hook-form";
@@ -1,11 +1,11 @@
1
- import { t as ChevronDown } from "./chevron-down-RksSwG1O.js";
2
- import { t as ChevronUp } from "./chevron-up-CgEFpORu.js";
1
+ import { t as ChevronDown } from "./chevron-down-B4Pr8bD3.js";
2
+ import { t as ChevronUp } from "./chevron-up-D_Gqpb5M.js";
3
3
  import { t as clsx } from "./clsx-CnD0nOiA.js";
4
- import { r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./useControlledState-BMVd3AOQ.js";
5
- import { _ as $d51706f903be7eab$export$1315d136e6f7581, u as getPlaceholder, y as $7541913c0284d84b$export$4c842f6a241dc825 } from "./staticDateTimeSegments-B9kkwiDz.js";
4
+ import { r as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./useControlledState-DQxX6LMN.js";
5
+ import { _ as $d51706f903be7eab$export$1315d136e6f7581, u as getPlaceholder, y as $7541913c0284d84b$export$4c842f6a241dc825 } from "./staticDateTimeSegments-BQoA94W-.js";
6
6
  import { t as Typography } from "./Typography-AcUd9df8.js";
7
7
  import { InlineIconButton } from "./components/inline-icon-button.js";
8
- import { t as useBreakpoint } from "./useBreakpoint-CDKDB0E2.js";
8
+ import { t as useBreakpoint } from "./useBreakpoint-3kpqzjoC.js";
9
9
  import { useEffect, useRef } from "react";
10
10
  import { c } from "react/compiler-runtime";
11
11
  import { Time } from "@internationalized/date";
@@ -1,10 +1,10 @@
1
- import { t as UIConfig } from "./uiConfig.context-BvBsrMFI.js";
1
+ import { t as UIConfig } from "./uiConfig.context-RFvaQYzD.js";
2
2
  import { t as clsx } from "./clsx-CnD0nOiA.js";
3
3
  import { t as UIOverrides } from "./uiOverrides.context-Bfm2n-n8.js";
4
4
  import { t as Typography } from "./Typography-AcUd9df8.js";
5
5
  import { t as Spinner } from "./Spinner-owSXOEzg.js";
6
6
  import { t as compoundMapper } from "./compoundMapper-Di3SKZnS.js";
7
- import { t as Button } from "./Button-CbwNjdRz.js";
7
+ import { t as Button } from "./Button-CcZBqoQp.js";
8
8
  import $ahdqC$react, { cloneElement, isValidElement, useEffect, useLayoutEffect, useRef, useState, useSyncExternalStore } from "react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
10
10
  //#region src/components/status/Toast/toast.cva.ts
@@ -1,4 +1,4 @@
1
- import { o as ObjectUtils } from "./uiConfig.context-BvBsrMFI.js";
1
+ import { o as ObjectUtils } from "./uiConfig.context-RFvaQYzD.js";
2
2
  import { useRef, useState } from "react";
3
3
  import { c } from "react/compiler-runtime";
4
4
  //#region src/hooks/useStateAndRef.ts
@@ -55,9 +55,9 @@ import "./Badge-CjPpYa50.js";
55
55
  import "./Tag-CgPeLVXM.js";
56
56
  import "./Accordion-Cup5eRZz.js";
57
57
  import "./confirmation.context-fKfUTsLF.js";
58
- import { t as ControlledDatePickerProps } from "./DatePicker-DyjAwAh6.js";
59
- import { t as ControlledDateRangePickerProps } from "./DateRangePicker-Cdu1Sx37.js";
60
- import { t as ControlledDateTimePickerProps } from "./DateTimePicker-ClSa8hFs.js";
58
+ import { t as ControlledDatePickerProps } from "./DatePicker-CjmXaZ9T.js";
59
+ import { t as ControlledDateRangePickerProps } from "./DateRangePicker-D1kjkFfS.js";
60
+ import { t as ControlledDateTimePickerProps } from "./DateTimePicker-CT_Pm3KB.js";
61
61
  import "./date-time.utils-Cu9TVj46.js";
62
62
  import "./MenuItem-CROWrE2A.js";
63
63
  import "./link.context-C5ZgwVM5.js";
@@ -65,9 +65,9 @@ import "./Progress-CYfDXJKs.js";
65
65
  import { t as Autocomplete } from "./autocomplete-CaQSVRrw.js";
66
66
  import { t as Checkbox } from "./checkbox-D8CPWRlM.js";
67
67
  import { t as CheckboxGroup } from "./checkbox-group-BuPUA_Qj.js";
68
- import { n as DatePicker } from "./date-picker-DiMaoYoA.js";
69
- import { n as DateRangePicker } from "./date-range-picker-DSkNEa35.js";
70
- import { n as DateTimePicker } from "./date-time-picker-B5s2PMFw.js";
68
+ import { n as DatePicker } from "./date-picker-MXt02b7Z.js";
69
+ import { n as DateRangePicker } from "./date-range-picker-BjT0t21q.js";
70
+ import { n as DateTimePicker } from "./date-time-picker-CMmIuZtT.js";
71
71
  import "./file-upload-BG20Bhrn.js";
72
72
  import "./file-input-D-46wS5j.js";
73
73
  import { n as NumberField } from "./number-field-CyP6XgJh.js";
@@ -90,7 +90,7 @@ import "./Stepper-PcHlxDD5.js";
90
90
  import "./useTableNav-Tu8UZxHA.js";
91
91
  import "./router.context-CtafjXV7.js";
92
92
  import "./theme.context-DfBt5Pz6.js";
93
- import "./uiConfig.context-BB7_zyOU.js";
93
+ import "./uiConfig.context-CIoMqe1_.js";
94
94
  import "./useFilters-BxRScJdn.js";
95
95
  import "./useLocalStorage-DGsBUCT6.js";
96
96
  import "./useTranslationMemo-Dy3p6m1g.js";
@@ -14,6 +14,7 @@ import "react-aria/useDrag";
14
14
  import "react-aria/private/utils/openLink";
15
15
  import "react-aria/Pressable";
16
16
  import { Focusable as $a3be900807531178$re_export$Focusable } from "react-aria/Focusable";
17
+ import "react-aria/useFocusVisible";
17
18
  import "react-stately/useListData";
18
19
  import "react-stately/useTreeData";
19
20
  import "react-stately/useAsyncList";
@@ -1,4 +1,4 @@
1
- import { t as UIConfig } from "./uiConfig.context-BvBsrMFI.js";
1
+ import { t as UIConfig } from "./uiConfig.context-RFvaQYzD.js";
2
2
  import { c } from "react/compiler-runtime";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { Controller } from "react-hook-form";
@@ -1,8 +1,8 @@
1
- import { n as $caaf0dd3060ed57c$export$95185d699e05d4d7, r as $1969ac565cfec8d0$export$de79e2c695e052f3 } from "./openLink-BrfLaWo4.js";
2
- import { a as $d447af545b77c9f1$export$b204af158042fbac, i as $23f2114a1b82827e$export$e58f029f0fbfdb29, o as $d447af545b77c9f1$export$f21a1ffae260145a, r as $23f2114a1b82827e$export$cd4e5573fbe2b576, t as $c4867b2f328c2698$export$e5c5a5f917a5871c } from "./useLayoutEffect-DN7Dbrb9.js";
3
- import { a as $2add3ce32c6007eb$export$a11b0059900ceec8, i as $2add3ce32c6007eb$export$9ac100e40613ea10 } from "./platform-3R53zj-n.js";
1
+ import { n as $caaf0dd3060ed57c$export$95185d699e05d4d7, r as $1969ac565cfec8d0$export$de79e2c695e052f3 } from "./openLink-CQhMhfzO.js";
2
+ import { c as $d447af545b77c9f1$export$f21a1ffae260145a, i as $23f2114a1b82827e$export$e58f029f0fbfdb29, n as $23f2114a1b82827e$export$4282f70798064fe0, o as $d447af545b77c9f1$export$af51f0f06c0f328a, r as $23f2114a1b82827e$export$cd4e5573fbe2b576, s as $d447af545b77c9f1$export$b204af158042fbac, t as $c4867b2f328c2698$export$e5c5a5f917a5871c } from "./useLayoutEffect-B2-1tbPJ.js";
3
+ import { a as $2add3ce32c6007eb$export$a11b0059900ceec8, i as $2add3ce32c6007eb$export$9ac100e40613ea10 } from "./platform-BXNIIAfU.js";
4
4
  import $ahdqC$react, { useCallback, useContext, useRef, useState } from "react";
5
- //#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/isElementVisible.mjs
5
+ //#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/isElementVisible.mjs
6
6
  const $ae77152785188400$var$supportsCheckVisibility = typeof Element !== "undefined" && "checkVisibility" in Element.prototype;
7
7
  function $ae77152785188400$var$isStyleVisible(element) {
8
8
  const windowObject = $d447af545b77c9f1$export$f21a1ffae260145a(element);
@@ -24,7 +24,7 @@ function $ae77152785188400$export$e989c0fffaa6b27a(element, childElement) {
24
24
  return element.nodeName !== "#comment" && $ae77152785188400$var$isStyleVisible(element) && $ae77152785188400$var$isAttributeVisible(element, childElement) && (!element.parentElement || $ae77152785188400$export$e989c0fffaa6b27a(element.parentElement, element));
25
25
  }
26
26
  //#endregion
27
- //#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/isFocusable.mjs
27
+ //#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/isFocusable.mjs
28
28
  const $3b8b240c1bf84ab9$var$focusableElements = [
29
29
  "input:not([disabled]):not([type=hidden])",
30
30
  "select:not([disabled])",
@@ -59,7 +59,7 @@ function $3b8b240c1bf84ab9$var$isInert(element) {
59
59
  return false;
60
60
  }
61
61
  //#endregion
62
- //#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/interactions/utils.mjs
62
+ //#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/interactions/utils.mjs
63
63
  function $a92dc41f639950be$export$525bc4921d56d4a(nativeEvent) {
64
64
  let event = nativeEvent;
65
65
  event.nativeEvent = nativeEvent;
@@ -125,15 +125,19 @@ let $a92dc41f639950be$export$fda7da73ab5d4c48 = false;
125
125
  function $a92dc41f639950be$export$cabe61c495ee3649(target) {
126
126
  while (target && !$3b8b240c1bf84ab9$export$4c063cf1350e6fed(target, { skipVisibilityCheck: true })) target = target.parentElement;
127
127
  let ownerWindow = $d447af545b77c9f1$export$f21a1ffae260145a(target);
128
- let activeElement = ownerWindow.document.activeElement;
128
+ let activeElement = $23f2114a1b82827e$export$cd4e5573fbe2b576(ownerWindow.document);
129
129
  if (!activeElement || activeElement === target) return;
130
+ let targetRoot = target?.getRootNode();
131
+ let root = targetRoot != null && $d447af545b77c9f1$export$af51f0f06c0f328a(targetRoot) ? targetRoot : $d447af545b77c9f1$export$f21a1ffae260145a(target);
132
+ let isFocusMovingToTarget = (focusTarget) => focusTarget === target || focusTarget != null && $23f2114a1b82827e$export$4282f70798064fe0(target, focusTarget);
133
+ let isBlurFromActiveElement = (eventTarget) => eventTarget === activeElement || activeElement != null && eventTarget != null && $23f2114a1b82827e$export$4282f70798064fe0(activeElement, eventTarget);
130
134
  $a92dc41f639950be$export$fda7da73ab5d4c48 = true;
131
135
  let isRefocusing = false;
132
136
  let onBlur = (e) => {
133
- if ($23f2114a1b82827e$export$e58f029f0fbfdb29(e) === activeElement || isRefocusing) e.stopImmediatePropagation();
137
+ if (isBlurFromActiveElement($23f2114a1b82827e$export$e58f029f0fbfdb29(e)) || isRefocusing) e.stopImmediatePropagation();
134
138
  };
135
139
  let onFocusOut = (e) => {
136
- if ($23f2114a1b82827e$export$e58f029f0fbfdb29(e) === activeElement || isRefocusing) {
140
+ if (isBlurFromActiveElement($23f2114a1b82827e$export$e58f029f0fbfdb29(e)) || isRefocusing) {
137
141
  e.stopImmediatePropagation();
138
142
  if (!target && !isRefocusing) {
139
143
  isRefocusing = true;
@@ -143,10 +147,10 @@ function $a92dc41f639950be$export$cabe61c495ee3649(target) {
143
147
  }
144
148
  };
145
149
  let onFocus = (e) => {
146
- if ($23f2114a1b82827e$export$e58f029f0fbfdb29(e) === target || isRefocusing) e.stopImmediatePropagation();
150
+ if (isFocusMovingToTarget($23f2114a1b82827e$export$e58f029f0fbfdb29(e)) || isRefocusing) e.stopImmediatePropagation();
147
151
  };
148
152
  let onFocusIn = (e) => {
149
- if ($23f2114a1b82827e$export$e58f029f0fbfdb29(e) === target || isRefocusing) {
153
+ if (isFocusMovingToTarget($23f2114a1b82827e$export$e58f029f0fbfdb29(e)) || isRefocusing) {
150
154
  e.stopImmediatePropagation();
151
155
  if (!isRefocusing) {
152
156
  isRefocusing = true;
@@ -155,16 +159,16 @@ function $a92dc41f639950be$export$cabe61c495ee3649(target) {
155
159
  }
156
160
  }
157
161
  };
158
- ownerWindow.addEventListener("blur", onBlur, true);
159
- ownerWindow.addEventListener("focusout", onFocusOut, true);
160
- ownerWindow.addEventListener("focusin", onFocusIn, true);
161
- ownerWindow.addEventListener("focus", onFocus, true);
162
+ root.addEventListener("blur", onBlur, true);
163
+ root.addEventListener("focusout", onFocusOut, true);
164
+ root.addEventListener("focusin", onFocusIn, true);
165
+ root.addEventListener("focus", onFocus, true);
162
166
  let cleanup = () => {
163
167
  cancelAnimationFrame(raf);
164
- ownerWindow.removeEventListener("blur", onBlur, true);
165
- ownerWindow.removeEventListener("focusout", onFocusOut, true);
166
- ownerWindow.removeEventListener("focusin", onFocusIn, true);
167
- ownerWindow.removeEventListener("focus", onFocus, true);
168
+ root.removeEventListener("blur", onBlur, true);
169
+ root.removeEventListener("focusout", onFocusOut, true);
170
+ root.removeEventListener("focusin", onFocusIn, true);
171
+ root.removeEventListener("focus", onFocus, true);
168
172
  $a92dc41f639950be$export$fda7da73ab5d4c48 = false;
169
173
  isRefocusing = false;
170
174
  };
@@ -172,7 +176,7 @@ function $a92dc41f639950be$export$cabe61c495ee3649(target) {
172
176
  return cleanup;
173
177
  }
174
178
  //#endregion
175
- //#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
179
+ //#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
176
180
  function $b5c62b033c25b96d$export$60278871457622de(event) {
177
181
  if (event.pointerType === "" && event.isTrusted) return true;
178
182
  if ($2add3ce32c6007eb$export$a11b0059900ceec8() && event.pointerType) return event.type === "click" && event.buttons === 1;
@@ -182,7 +186,7 @@ function $b5c62b033c25b96d$export$29bf1b5f2c56cf63(event) {
182
186
  return !$2add3ce32c6007eb$export$a11b0059900ceec8() && event.width === 0 && event.height === 0 || $2add3ce32c6007eb$export$a11b0059900ceec8() && event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === "mouse";
183
187
  }
184
188
  //#endregion
185
- //#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/ssr/SSRProvider.mjs
189
+ //#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/ssr/SSRProvider.mjs
186
190
  const $c7eafbbe1ea5834e$var$defaultContext = {
187
191
  prefix: String(Math.round(Math.random() * 1e10)),
188
192
  current: 0
@@ -239,7 +243,7 @@ function $c7eafbbe1ea5834e$export$535bd6ca7f90a273() {
239
243
  return useContext($c7eafbbe1ea5834e$var$IsSSRContext);
240
244
  }
241
245
  //#endregion
242
- //#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
246
+ //#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
243
247
  let $8f5a2122b0992be3$var$currentModality = null;
244
248
  const $8f5a2122b0992be3$export$901e90a13c50a14e = /* @__PURE__ */ new Set();
245
249
  let $8f5a2122b0992be3$export$d90243b58daecda7 = /* @__PURE__ */ new Map();
@@ -276,9 +280,15 @@ function $8f5a2122b0992be3$var$handleClickEvent(e) {
276
280
  }
277
281
  }
278
282
  function $8f5a2122b0992be3$var$handleFocusEvent(e) {
279
- let ownerWindow = $d447af545b77c9f1$export$f21a1ffae260145a($23f2114a1b82827e$export$e58f029f0fbfdb29(e));
280
- let ownerDocument = $d447af545b77c9f1$export$b204af158042fbac($23f2114a1b82827e$export$e58f029f0fbfdb29(e));
281
- if ($23f2114a1b82827e$export$e58f029f0fbfdb29(e) === ownerWindow || $23f2114a1b82827e$export$e58f029f0fbfdb29(e) === ownerDocument || $a92dc41f639950be$export$fda7da73ab5d4c48 || !e.isTrusted) return;
283
+ if ($a92dc41f639950be$export$fda7da73ab5d4c48) return;
284
+ let target = $23f2114a1b82827e$export$e58f029f0fbfdb29(e);
285
+ let ownerWindow = $d447af545b77c9f1$export$f21a1ffae260145a(target);
286
+ let ownerDocument = $d447af545b77c9f1$export$b204af158042fbac(target);
287
+ if (target === ownerWindow) {
288
+ $8f5a2122b0992be3$var$hasBlurredWindowRecently = true;
289
+ return;
290
+ }
291
+ if (target === ownerDocument || !e.isTrusted) return;
282
292
  if (!$8f5a2122b0992be3$var$hasEventBeforeFocus && !$8f5a2122b0992be3$var$hasBlurredWindowRecently) {
283
293
  $8f5a2122b0992be3$var$currentModality = "virtual";
284
294
  $8f5a2122b0992be3$var$triggerChangeHandlers("virtual", e);
@@ -365,7 +375,7 @@ function $8f5a2122b0992be3$export$8397ddfc504fdb9a(modality) {
365
375
  $8f5a2122b0992be3$var$triggerChangeHandlers(modality, null);
366
376
  }
367
377
  //#endregion
368
- //#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
378
+ //#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
369
379
  let $081cb5757e08788e$var$transitionsByElement = /* @__PURE__ */ new Map();
370
380
  let $081cb5757e08788e$var$transitionCallbacks = /* @__PURE__ */ new Set();
371
381
  function $081cb5757e08788e$var$setupGlobalEvents() {
@@ -421,7 +431,7 @@ function $081cb5757e08788e$export$24490316f764c430(fn) {
421
431
  });
422
432
  }
423
433
  //#endregion
424
- //#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/interactions/focusSafely.mjs
434
+ //#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/interactions/focusSafely.mjs
425
435
  function $f192c2f16961cbe0$export$80f3e147d781571c(element) {
426
436
  if (!element.isConnected) return;
427
437
  const ownerDocument = $d447af545b77c9f1$export$b204af158042fbac(element);
@@ -80,6 +80,7 @@ function useForm$1({ defaultValues, disabled = false, mode = "onSubmit", onSubmi
80
80
  uiForm.parseValues = (values) => zodSchema ? zodSchema.parse(values) : values;
81
81
  uiForm.reset = (...args) => {
82
82
  touchedFieldsRef.current.clear();
83
+ if (args[0] !== void 0 && !args[1]?.keepDefaultValues) defaultValuesRef.current = args[0];
83
84
  originalReset(...args);
84
85
  };
85
86
  uiForm.subscribeBlur = (listener_0) => {
@@ -1,20 +1,31 @@
1
- import { o as $d447af545b77c9f1$export$f21a1ffae260145a } from "./useLayoutEffect-DN7Dbrb9.js";
2
- //#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/getNonce.mjs
3
- function $2b2d34ff061957fb$var$getWebpackNonce(doc) {
4
- return (doc?.defaultView)?.__webpack_nonce__ || globalThis["__webpack_nonce__"] || void 0;
1
+ import { c as $d447af545b77c9f1$export$f21a1ffae260145a, s as $d447af545b77c9f1$export$b204af158042fbac } from "./useLayoutEffect-B2-1tbPJ.js";
2
+ //#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/getMetaValue.mjs
3
+ function $7096878c21af5e66$export$a929f3f93e2cc67e(key, doc) {
4
+ let ownerWindow = $d447af545b77c9f1$export$f21a1ffae260145a(doc);
5
+ let ownerDocument = $d447af545b77c9f1$export$b204af158042fbac(doc);
6
+ if (ownerDocument == null || ownerWindow == null) return;
7
+ let content = void 0;
8
+ let selector = `meta[name="${CSS.escape(key)}"], meta[property="${CSS.escape(key)}"]`;
9
+ let meta = ownerDocument.querySelector(selector);
10
+ if (meta && meta instanceof ownerWindow.HTMLMetaElement) {
11
+ if (key === "csp-nonce" && meta.nonce) content ??= meta.nonce || void 0;
12
+ if (meta.content) content ??= meta.content || void 0;
13
+ }
14
+ if (key === "csp-nonce") content ??= ownerWindow.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0;
15
+ return content;
5
16
  }
17
+ //#endregion
18
+ //#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/getNonce.mjs
6
19
  let $2b2d34ff061957fb$var$nonceCache = /* @__PURE__ */ new WeakMap();
7
20
  function $2b2d34ff061957fb$export$2b85b721e524d74b(doc) {
8
- let d = doc ?? (typeof document !== "undefined" ? document : void 0);
9
- if (!d) return $2b2d34ff061957fb$var$getWebpackNonce(d);
10
- if ($2b2d34ff061957fb$var$nonceCache.has(d)) return $2b2d34ff061957fb$var$nonceCache.get(d);
11
- let meta = d.querySelector("meta[property=\"csp-nonce\"]");
12
- let nonce = meta && meta instanceof $d447af545b77c9f1$export$f21a1ffae260145a(meta).HTMLMetaElement && (meta.nonce || meta.content) || $2b2d34ff061957fb$var$getWebpackNonce(d) || void 0;
13
- if (nonce !== void 0) $2b2d34ff061957fb$var$nonceCache.set(d, nonce);
21
+ let ownerDocument = $d447af545b77c9f1$export$b204af158042fbac(doc);
22
+ let nonce = $2b2d34ff061957fb$var$nonceCache.get(ownerDocument);
23
+ nonce ??= $7096878c21af5e66$export$a929f3f93e2cc67e("csp-nonce", ownerDocument);
24
+ if (nonce !== void 0) $2b2d34ff061957fb$var$nonceCache.set(ownerDocument, nonce);
14
25
  return nonce;
15
26
  }
16
27
  //#endregion
17
- //#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/isScrollable.mjs
28
+ //#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/isScrollable.mjs
18
29
  function $901761b40e390936$export$2bb74740c4e19def(node, checkForOverflow) {
19
30
  if (!node) return false;
20
31
  let style = window.getComputedStyle(node);
@@ -25,7 +36,7 @@ function $901761b40e390936$export$2bb74740c4e19def(node, checkForOverflow) {
25
36
  return isScrollable;
26
37
  }
27
38
  //#endregion
28
- //#region ../../node_modules/.bun/react-aria@3.51.0+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/getScrollParent.mjs
39
+ //#region ../../node_modules/.bun/react-aria@3.52.1+67f6792bdf102c28/node_modules/react-aria/dist/private/utils/getScrollParent.mjs
29
40
  function $3578607fe3d4b096$export$cfa2225e87938781(node, checkForOverflow) {
30
41
  let scrollableNode = node;
31
42
  if ($901761b40e390936$export$2bb74740c4e19def(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;
@@ -1,2 +1,2 @@
1
- import { t as useFilters } from "../useFilters-KS2CQs_j.js";
1
+ import { t as useFilters } from "../useFilters-kkEUFKmQ.js";
2
2
  export { useFilters };
@@ -19,6 +19,9 @@ declare const resources: {
19
19
  clearSearch: string;
20
20
  };
21
21
  datePicker: {
22
+ weekNumberHeading: string;
23
+ weekNumberLabel: string;
24
+ weekNumber: string;
22
25
  today: string;
23
26
  clear: string;
24
27
  save: string;
@@ -177,6 +180,9 @@ declare const resources: {
177
180
  clearSearch: string;
178
181
  };
179
182
  datePicker: {
183
+ weekNumberHeading: string;
184
+ weekNumberLabel: string;
185
+ weekNumber: string;
180
186
  today: string;
181
187
  clear: string;
182
188
  save: string;
@@ -14,6 +14,9 @@ var translation_default$1 = {
14
14
  "clearSearch": "Clear search"
15
15
  },
16
16
  "datePicker": {
17
+ "weekNumberHeading": "W",
18
+ "weekNumberLabel": "Calendar week",
19
+ "weekNumber": "Calendar week {{week}}",
17
20
  "today": "Today",
18
21
  "clear": "Clear",
19
22
  "save": "Save",
@@ -162,6 +165,9 @@ var translation_default = {
162
165
  "clearSearch": "Sprazni iskanje"
163
166
  },
164
167
  "datePicker": {
168
+ "weekNumberHeading": "W",
169
+ "weekNumberLabel": "Koledarski teden",
170
+ "weekNumber": "Koledarski teden {{week}}",
165
171
  "today": "Danes",
166
172
  "clear": "Sprazni",
167
173
  "save": "Shrani",
package/dist/icons.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as X } from "./x-BD2AijMA.js";
1
+ import { t as X } from "./x-B6vfz8Ps.js";
2
2
  export { X as CloseIcon };