@povio/ui 6.0.0-rc.6 → 6.0.0-rc.7

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 (217) hide show
  1. package/dist/{Accordion-DycXjzGK.js → Accordion-Dhj18-LX.js} +6 -6
  2. package/dist/{Autocomplete-73L5Qzb7.js → Autocomplete-BpJZuS4O.js} +8 -8
  3. package/dist/{Autocomplete.bound-DvtxVE8x.js → Autocomplete.bound-CRipaHVg.js} +2 -2
  4. package/dist/{BottomSheet-CoDN3aLy.js → BottomSheet-CC3_LZDQ.js} +3 -3
  5. package/dist/{Breadcrumbs-V-Bea_bs.js → Breadcrumbs-DlpIIk8H.js} +9 -9
  6. package/dist/{Button-DODvfhmb.js → Button-bUwYvGZ6.js} +1 -1
  7. package/dist/{ButtonBase-BLzcM0T8.js → ButtonBase-DaMVlp67.js} +5 -5
  8. package/dist/{ButtonContent-BBup-vN6.js → ButtonContent-Dztbuz3q.js} +4 -4
  9. package/dist/{Calendar-BcaWWuLV.js → Calendar-BG6IkH-g.js} +6 -8
  10. package/dist/{Calendar.lazy-ByaT6QvM.js → Calendar.lazy-C0Dp0h5Y.js} +4 -4
  11. package/dist/{CheckContent-DHKG_FY6.js → CheckContent-BKLnTPZr.js} +2 -2
  12. package/dist/{Checkbox-CzvWa3so.js → Checkbox-JCotv8BZ.js} +6 -6
  13. package/dist/{Checkbox.bound-CSOh_bBU.js → Checkbox.bound-C4kAaVSt.js} +2 -2
  14. package/dist/{CheckboxCheckmark-C4yFclkZ.js → CheckboxCheckmark-DWsYVZuu.js} +3 -22
  15. package/dist/{CheckboxGroup-CCRmTdN0.js → CheckboxGroup-Dzaya7Cq.js} +6 -6
  16. package/dist/{CheckboxGroup.bound-_4qwi3-P.js → CheckboxGroup.bound-vej5bQr8.js} +2 -2
  17. package/dist/{DatePicker-B-Y0bj_R.js → DatePicker-BFriJSoa.js} +8 -8
  18. package/dist/{DatePicker.bound-BUjqso6Z.js → DatePicker.bound-7Kifuy4T.js} +2 -2
  19. package/dist/{DatePickerInput-BuCNFj_R.js → DatePickerInput-B8IPsH4V.js} +9 -37
  20. package/dist/{DateRangePicker-_wOtqNMR.js → DateRangePicker-B3JtiktE.js} +11 -11
  21. package/dist/{DateRangePicker.bound-B0-T1Ii6.js → DateRangePicker.bound-BjjyMe_i.js} +2 -2
  22. package/dist/{DateTimePicker-Dkmz6Xcq.js → DateTimePicker-BkmXtv4H.js} +8 -8
  23. package/dist/{DateTimePicker.bound-ByozDNvc.js → DateTimePicker.bound-DdYqp0w2.js} +2 -2
  24. package/dist/{Dialog-COvYzwNU.js → Dialog-CUv40xgo.js} +3 -3
  25. package/dist/{DropdownMenu-B1Gh1PHz.js → DropdownMenu-CXPG8uM_.js} +7 -28
  26. package/dist/{DropdownMenuDesktop-BMkiHEuY.js → DropdownMenuDesktop-BjiLFQVl.js} +5 -26
  27. package/dist/{FileInput-CuCXECxV.js → FileInput-BDKRgphu.js} +8 -8
  28. package/dist/{FileInput.bound-CApxtANG.js → FileInput.bound-CwGgHiXa.js} +2 -2
  29. package/dist/{FileTrigger-DBX1Io6E.js → FileTrigger-DlryDp2T.js} +1 -30
  30. package/dist/{FileUpload--ROJqUzX.js → FileUpload-Dr_JQAIi.js} +11 -92
  31. package/dist/{FileUpload.bound-B2MRvYFQ.js → FileUpload.bound-BtGwkdxE.js} +2 -2
  32. package/dist/{FormField-BK0S_4zr.js → FormField-CwY4zDju.js} +6 -6
  33. package/dist/{FormFieldError-BaVgIKrv.js → FormFieldError-DTT5TUQ1.js} +2 -2
  34. package/dist/FormFieldHeaderTooltip-Dt-g40Tc.js +17 -0
  35. package/dist/{IconSlot-Cuvpj1gd.js → IconSlot-CqNuZl0E.js} +2 -2
  36. package/dist/{InlineTooltipWrapper-HDHIaQtS.js → InlineTooltipWrapper-CKTiFpZn.js} +3 -3
  37. package/dist/{Input-DCkQ3fjR.js → Input-DArsIj_K.js} +6 -6
  38. package/dist/{Input.bound-qwdrBkWg.js → Input.bound-CwLay9ZT.js} +2 -2
  39. package/dist/{InputContent-CRy3a7av.js → InputContent-17rRK8Sz.js} +7 -7
  40. package/dist/{NumberField-Cr7dOMYc.js → NumberField-CYmrAEQP.js} +6 -6
  41. package/dist/{NumberField.bound-Drd7xDqX.js → NumberField.bound-ko7sjgjn.js} +2 -2
  42. package/dist/{NumberRangeInput-Cc1OmXNR.js → NumberRangeInput-CzQ2YiGa.js} +5 -5
  43. package/dist/{NumberRangeInput.bound-hWbCnR8h.js → NumberRangeInput.bound-dFBlWvAq.js} +2 -2
  44. package/dist/{PaginationList-C6ZyNQrP.js → PaginationList-CCWhk3yS.js} +3 -41
  45. package/dist/{PasswordInput.bound-Cf0iF843.js → PasswordInput.bound-DBvBpx_9.js} +2 -2
  46. package/dist/{Progress-ZsKwo9ne.js → Progress-RiEGGxNG.js} +3 -3
  47. package/dist/{RadioGroup-CODlpdY9.js → RadioGroup-DGVzAqA8.js} +6 -6
  48. package/dist/{RadioGroup.bound-fkZM4ftt.js → RadioGroup.bound-CGHLNwO2.js} +2 -2
  49. package/dist/{RangeCalendar-C1yFVyDK.js → RangeCalendar-CnDE88y-.js} +3 -6
  50. package/dist/{RichTextEditor-DjwMhxvc.js → RichTextEditor-f0MYYXS1.js} +20 -397
  51. package/dist/{Select-Bl518qFL.js → Select-CfsyVxsw.js} +14 -39
  52. package/dist/{Select.bound-Cm-EJhUJ.js → Select.bound-Bg7QHewr.js} +2 -2
  53. package/dist/{SelectListBox-CorE11fd.js → SelectListBox-DGhp9UVg.js} +7 -7
  54. package/dist/{Slider-BcokbeKS.js → Slider-TkOAl3wm.js} +3 -3
  55. package/dist/{Slider.bound-RiIJGbM_.js → Slider.bound-FwZVmC_F.js} +2 -2
  56. package/dist/{Spinner-CFj5Iu77.js → Spinner-DqjP06T1.js} +1 -1
  57. package/dist/{Stepper-DlyScdAM.js → Stepper-Dyhxp0Tl.js} +5 -5
  58. package/dist/{Switch-Dv1JCUOp.js → Switch-CTVgttiF.js} +5 -5
  59. package/dist/{Switch.bound-DnCGxCG_.js → Switch.bound-Cacc-VGB.js} +2 -2
  60. package/dist/{TextArea-DeBLB3nA.js → TextArea-DZfFqCBg.js} +6 -6
  61. package/dist/{TextArea.bound-KrWD3gtk.js → TextArea.bound-CCRy5T-4.js} +2 -2
  62. package/dist/{TextArea.cva-Bb73hriz.js → TextArea.cva-ENXI55ec.js} +1 -1
  63. package/dist/{TimePicker-CWV7LXkQ.js → TimePicker-Zx6Sag7g.js} +9 -9
  64. package/dist/{TimePicker.bound-DlnPwFQd.js → TimePicker.bound-CGmHQu3i.js} +2 -2
  65. package/dist/{TimePickerForm-BtS39UMI.js → TimePickerForm-DgJVJYRz.js} +5 -6
  66. package/dist/{ToastContainer-B52IhRg_.js → ToastContainer-DWbJpqxV.js} +5 -5
  67. package/dist/{ToggleGroup-CjRRglYq.js → ToggleGroup-Dmddbrxt.js} +6 -6
  68. package/dist/{ToggleGroup.bound-CaKlPzwa.js → ToggleGroup.bound-CmWK8BSN.js} +2 -2
  69. package/dist/{Tooltip-CqbyoJhl.js → Tooltip-DRB6lo0U.js} +6 -42
  70. package/dist/{TooltipWrapper-DmEMKAQ0.js → TooltipWrapper-Iaeu168d.js} +5 -5
  71. package/dist/{Typography-Ba5l4rmj.js → Typography-DCLnPa3P.js} +2 -2
  72. package/dist/{accordion.cva-C-gUiXk5.js → accordion.cva-DwxY-k1e.js} +1 -1
  73. package/dist/{badgeButton.cva-C1BuYx1N.js → badgeButton.cva-t5PQOH4M.js} +1 -1
  74. package/dist/{breadcrumbs.cva-DCAdmxWR.js → breadcrumbs.cva-CnBIZUB3.js} +1 -1
  75. package/dist/{button.cva-fkUW5b2d.js → button.cva-Ciga0rdG.js} +1 -1
  76. package/dist/{checkbox.cva-DCVi4-4z.js → checkbox.cva-aLJS7v4z.js} +1 -1
  77. package/dist/components/accordion.js +1 -1
  78. package/dist/components/alert-dialog.js +5 -5
  79. package/dist/components/alert.js +5 -5
  80. package/dist/components/autocomplete.js +1 -1
  81. package/dist/components/badge-button.js +4 -4
  82. package/dist/components/badge.js +6 -6
  83. package/dist/components/bottom-sheet-header.js +3 -3
  84. package/dist/components/bottom-sheet.js +2 -2
  85. package/dist/components/breadcrumbs.js +1 -1
  86. package/dist/components/button.js +1 -1
  87. package/dist/components/checkbox-group.js +1 -1
  88. package/dist/components/checkbox.js +1 -1
  89. package/dist/components/date-picker.js +1 -1
  90. package/dist/components/date-range-picker.js +1 -1
  91. package/dist/components/date-time-picker.js +1 -1
  92. package/dist/components/dialog.js +1 -1
  93. package/dist/components/drawer.js +1 -1
  94. package/dist/components/dropdown-menu.js +2 -2
  95. package/dist/components/file-input.js +1 -1
  96. package/dist/components/file-upload-container.js +1 -1
  97. package/dist/components/file-upload.js +1 -1
  98. package/dist/components/form-field.js +1 -1
  99. package/dist/components/icon-button.js +2 -2
  100. package/dist/components/icon-slot.js +1 -1
  101. package/dist/components/input-frame.js +8 -8
  102. package/dist/components/input.js +1 -1
  103. package/dist/components/link.js +3 -3
  104. package/dist/components/number-field.js +1 -1
  105. package/dist/components/number-range-input.js +1 -1
  106. package/dist/components/pagination-list.js +1 -1
  107. package/dist/components/pagination.js +3 -3
  108. package/dist/components/password-input.js +2 -2
  109. package/dist/components/popover.js +3 -3
  110. package/dist/components/progress.js +1 -1
  111. package/dist/components/radio-group.js +1 -1
  112. package/dist/components/select.js +1 -1
  113. package/dist/components/slider.js +1 -1
  114. package/dist/components/spinner.js +1 -1
  115. package/dist/components/split-button.js +3 -3
  116. package/dist/components/stepper.js +1 -1
  117. package/dist/components/style-definitions.js +30 -30
  118. package/dist/components/switch.js +1 -1
  119. package/dist/components/tag.js +6 -6
  120. package/dist/components/text-area.js +1 -1
  121. package/dist/components/time-picker.js +1 -1
  122. package/dist/components/toast.js +2 -2
  123. package/dist/components/toggle-button.js +1 -1
  124. package/dist/components/toggle-group.js +1 -1
  125. package/dist/components/tooltip-ellipsis.js +2 -2
  126. package/dist/components/tooltip.js +1 -1
  127. package/dist/components/typography.js +1 -1
  128. package/dist/components/use-toast.js +2 -2
  129. package/dist/config/confirmation.js +1 -1
  130. package/dist/config/link-context.js +1 -1
  131. package/dist/config/theme-context.js +1 -1
  132. package/dist/config/ui-config.js +1 -1
  133. package/dist/config/ui-overrides.js +1 -1
  134. package/dist/config/ui-router.js +1 -1
  135. package/dist/{datePickerInput.cva--gCeAsRx.js → datePickerInput.cva-Du0Zn04v.js} +1 -1
  136. package/dist/{dialog.cva-DzJlaK5a.js → dialog.cva-BIpz6HcA.js} +1 -1
  137. package/dist/{dist-CVYHhB8V.js → dist-BviG6xJO.js} +7 -7
  138. package/dist/{dropdownMenu.cva-CS5Q2b_3.js → dropdownMenu.cva-CAOfSA3N.js} +1 -1
  139. package/dist/{fileUpload.cva-DVJcCCYz.js → fileUpload.cva-BYzXGc9C.js} +1 -1
  140. package/dist/{form.binding-B-2id68q.js → form.binding-DOR5gIQf.js} +1 -1
  141. package/dist/{formFieldError.cva-Cc-dELdU.js → formFieldError.cva-BB6Ghqwq.js} +1 -1
  142. package/dist/{formFieldHelper.cva-5YaiUEcL.js → formFieldHelper.cva-BWfzS5OE.js} +1 -1
  143. package/dist/hooks/use-async-list.js +1 -1
  144. package/dist/hooks/use-filters.js +1 -1
  145. package/dist/hooks/use-local-storage.js +1 -1
  146. package/dist/icons.js +3 -3
  147. package/dist/{import-DflE4Gl2.js → import-CNIGAc_q.js} +1 -1
  148. package/dist/index.js +85 -86
  149. package/dist/{input.cva-AHLI_M3K.js → input.cva-DZii82eS.js} +1 -1
  150. package/dist/{link.cva-isgDrId6.js → link.cva-B3Fjs9ha.js} +1 -1
  151. package/dist/{popover.cva-Ciu9Ro5G.js → popover.cva-DAbfSma6.js} +1 -1
  152. package/dist/{progress.cva-D0PKV_ET.js → progress.cva-CsGaGVJ-.js} +1 -1
  153. package/dist/{radio.cva-Dn2Auqxw.js → radio.cva-D-I-sgWa.js} +1 -1
  154. package/dist/rich-text-editor.js +1 -1
  155. package/dist/{selectDesktop.cva-CGBkscBY.js → selectDesktop.cva-DStkOdwm.js} +1 -1
  156. package/dist/{selectItem.cva-Ch6oK4jP.js → selectItem.cva-B6vxey2R.js} +1 -1
  157. package/dist/{staticDateTimeSegments-WnNE2uNn.js → staticDateTimeSegments-DCGWXkCd.js} +5 -5
  158. package/dist/{status.cva-CUpcOT4W.js → status.cva-CYgi3Htz.js} +1 -1
  159. package/dist/{stepper.cva-CQGechUm.js → stepper.cva-Cecphqeo.js} +1 -1
  160. package/dist/{switch.cva-C9bO_QI-.js → switch.cva-BT0kGRIk.js} +1 -1
  161. package/dist/{table.cva-BMIizuGy.js → table.cva-BVDSpunj.js} +1 -1
  162. package/dist/{tag.cva-BVa0EWBU.js → tag.cva-ExMNsTN-.js} +1 -1
  163. package/dist/tanstack/autocomplete.js +1 -1
  164. package/dist/tanstack/checkbox-group.js +1 -1
  165. package/dist/tanstack/checkbox.js +1 -1
  166. package/dist/tanstack/date-picker.js +1 -1
  167. package/dist/tanstack/date-range-picker.js +1 -1
  168. package/dist/tanstack/date-time-picker.js +1 -1
  169. package/dist/tanstack/file-input.js +1 -1
  170. package/dist/tanstack/file-upload.js +1 -1
  171. package/dist/tanstack/form.js +2 -2
  172. package/dist/tanstack/input.js +1 -1
  173. package/dist/tanstack/number-field.js +1 -1
  174. package/dist/tanstack/number-range-input.js +1 -1
  175. package/dist/tanstack/password-input.js +1 -1
  176. package/dist/tanstack/radio-group.js +1 -1
  177. package/dist/tanstack/rich-text-editor.js +2 -2
  178. package/dist/tanstack/select.js +1 -1
  179. package/dist/tanstack/slider.js +1 -1
  180. package/dist/tanstack/switch.js +1 -1
  181. package/dist/tanstack/table.js +1 -1
  182. package/dist/tanstack/text-area.js +1 -1
  183. package/dist/tanstack/time-picker.js +1 -1
  184. package/dist/tanstack/toggle-group.js +1 -1
  185. package/dist/{tanstack-CmbhAoHU.js → tanstack-Bgdv0qU1.js} +2 -1
  186. package/dist/tanstack.js +85 -86
  187. package/dist/{theme.context-B3wQDJ-i.js → theme.context--VEyStJB.js} +2 -2
  188. package/dist/{toast.cva-BMOx7_9f.js → toast.cva-B6NXTwbZ.js} +1 -1
  189. package/dist/{toast.runtime-nso6aR5q.js → toast.runtime-BTlJwCUg.js} +1 -1
  190. package/dist/{toggleGroup.cva-C9Y5-kpk.js → toggleGroup.cva-B-ghhpHa.js} +1 -1
  191. package/dist/{tooltip.cva-Clfcn_r2.js → tooltip.cva-BEyxvcG2.js} +1 -1
  192. package/dist/{tooltipWrapper.cva-BBQ4ic3D.js → tooltipWrapper.cva-t4NQ9zz9.js} +1 -1
  193. package/dist/{typography.cva-CXolEQdT.js → typography.cva-CHsHX_Wp.js} +1 -1
  194. package/dist/{uiConfig.context-Dqa4hVBg.js → uiConfig.context-BVacoemZ.js} +2 -103
  195. package/dist/{useBreakpoint-0pKgkrrj.js → useBreakpoint-CLiqeiOW.js} +2 -2
  196. package/dist/{useFilters-HIngImwn.js → useFilters-DMi94RZK.js} +2 -2
  197. package/dist/{useFormAutosave-XEQqk1lK.js → useFormAutosave-BPGlChiY.js} +1 -1
  198. package/dist/{useScrollableListBox-BA3f4lbi.js → useScrollableListBox-B9tLMdPl.js} +2 -2
  199. package/dist/{useTableColumnConfig-DK4dnzgy.js → useTableColumnConfig-BAXUFS1D.js} +12 -66
  200. package/package.json +1 -1
  201. package/dist/FormFieldHeaderTooltip-Bxc4f9i4.js +0 -47
  202. package/dist/check-DYMBkp_Z.js +0 -20
  203. package/dist/chevron-down-B4Pr8bD3.js +0 -20
  204. package/dist/chevron-right-3nKJR5Bb.js +0 -20
  205. package/dist/chevrons-right-DJPPn2fD.js +0 -44
  206. package/dist/createLucideIcon-LcezOE4z.js +0 -240
  207. package/dist/eye-BA4nRlMX.js +0 -57
  208. package/dist/x-B6vfz8Ps.js +0 -23
  209. package/dist/{confirmation.context-BSn1s-ip.js → confirmation.context-tcLakv_y.js} +1 -1
  210. package/dist/{dom.utils-BbfrA6RP.js → dom.utils-BPooTXtC.js} +1 -1
  211. package/dist/{link.context-J7aQtMOr.js → link.context-TPjDtjw3.js} +1 -1
  212. package/dist/{router.context-B4FvsTim.js → router.context-MckTbHw9.js} +1 -1
  213. package/dist/{uiOverrides.context-BTCH9y5a.js → uiOverrides.context-DNEQlTx0.js} +1 -1
  214. package/dist/{useAsyncList-yHz7twsj.js → useAsyncList-Ct74ve3i.js} +1 -1
  215. package/dist/{useForm-eW4KpH1u.js → useForm-Cb7KWLds.js} +1 -1
  216. package/dist/{useIntersectionObserver-DYfHnGGU.js → useIntersectionObserver-DFAhTsV0.js} +1 -1
  217. package/dist/{useLocalStorage-PlcaJ1tP.js → useLocalStorage-CctQvyqD.js} +1 -1
@@ -1,109 +1,8 @@
1
- import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
2
1
  import { n as ObjectUtils, t as isEqual } from "./isEqual-LFw0W5rU.js";
3
- import { createContext, use, useEffect, useLayoutEffect, useMemo, useRef } from "react";
2
+ import { Calendar, CalendarClock, Clock } from "lucide-react";
4
3
  import { c } from "react/compiler-runtime";
4
+ import { createContext, use, useEffect, useLayoutEffect, useMemo, useRef } from "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
- //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/calendar-clock.mjs
7
- /**
8
- * @license lucide-react v1.43.0 - ISC
9
- *
10
- * This source code is licensed under the ISC license.
11
- * See the LICENSE file in the root directory of this source tree.
12
- */
13
- const __iconData$2 = {
14
- name: "calendar-clock",
15
- size: 24,
16
- node: [
17
- ["path", {
18
- d: "M16 14v2.2l1.6 1",
19
- key: "fo4ql5"
20
- }],
21
- ["path", {
22
- d: "M16 2v3",
23
- key: "otl347"
24
- }],
25
- ["path", {
26
- d: "M21 7.338V5a2 2 0 00-2-2H5a2 2 0 00-2 2v14a2 2 0 002 2h2.338",
27
- key: "7hb8p4"
28
- }],
29
- ["path", {
30
- d: "M3 9h5.859",
31
- key: "numkqi"
32
- }],
33
- ["path", {
34
- d: "M8 2v3",
35
- key: "1ioesn"
36
- }],
37
- ["circle", {
38
- cx: "16",
39
- cy: "16",
40
- r: "6",
41
- key: "qoo3c4"
42
- }]
43
- ]
44
- };
45
- __iconData$2.node;
46
- const CalendarClock = createLucideIcon(__iconData$2);
47
- //#endregion
48
- //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/calendar.mjs
49
- /**
50
- * @license lucide-react v1.43.0 - ISC
51
- *
52
- * This source code is licensed under the ISC license.
53
- * See the LICENSE file in the root directory of this source tree.
54
- */
55
- const __iconData$1 = {
56
- name: "calendar",
57
- size: 24,
58
- node: [
59
- ["path", {
60
- d: "M8 2v3",
61
- key: "1ioesn"
62
- }],
63
- ["path", {
64
- d: "M16 2v3",
65
- key: "otl347"
66
- }],
67
- ["rect", {
68
- x: "3",
69
- y: "3",
70
- width: "18",
71
- height: "18",
72
- rx: "2",
73
- key: "h1oib"
74
- }],
75
- ["path", {
76
- d: "M3 9h18",
77
- key: "1pudct"
78
- }]
79
- ]
80
- };
81
- __iconData$1.node;
82
- const Calendar = createLucideIcon(__iconData$1);
83
- //#endregion
84
- //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/clock.mjs
85
- /**
86
- * @license lucide-react v1.43.0 - ISC
87
- *
88
- * This source code is licensed under the ISC license.
89
- * See the LICENSE file in the root directory of this source tree.
90
- */
91
- const __iconData = {
92
- name: "clock",
93
- size: 24,
94
- node: [["circle", {
95
- cx: "12",
96
- cy: "12",
97
- r: "10",
98
- key: "1mglay"
99
- }], ["path", {
100
- d: "M12 6v6l4 2",
101
- key: "mmk7yg"
102
- }]]
103
- };
104
- __iconData.node;
105
- const Clock = createLucideIcon(__iconData);
106
- //#endregion
107
6
  //#region src/hooks/useDeepCompare.ts
108
7
  const useDeepCompareEffect = (callback, dependencies) => {
109
8
  return useEffect(callback, useDeepCompareDeps(dependencies));
@@ -1,6 +1,6 @@
1
- import { t as UIConfig } from "./uiConfig.context-Dqa4hVBg.js";
2
- import { useSyncExternalStore } from "react";
1
+ import { t as UIConfig } from "./uiConfig.context-BVacoemZ.js";
3
2
  import { c } from "react/compiler-runtime";
3
+ import { useSyncExternalStore } from "react";
4
4
  //#region src/hooks/useBreakpoint.ts
5
5
  let breakpoints = null;
6
6
  function getBreakpoints() {
@@ -1,7 +1,7 @@
1
- import { t as UIRouter } from "./router.context-B4FvsTim.js";
1
+ import { t as UIRouter } from "./router.context-MckTbHw9.js";
2
2
  import { t as RoutingUtils } from "./routing.utils-DfxEt0_Y.js";
3
- import { useEffect, useState } from "react";
4
3
  import { c } from "react/compiler-runtime";
4
+ import { useEffect, useState } from "react";
5
5
  import { z } from "zod";
6
6
  //#region src/hooks/useFilters.ts
7
7
  function getFieldType(schema, fieldKey) {
@@ -1,6 +1,6 @@
1
1
  import { t as logger } from "./logger-CqZjM-sn.js";
2
2
  import { n as ObjectUtils, t as isEqual } from "./isEqual-LFw0W5rU.js";
3
- import { a as getFormResetVersion, c as getAutosavePatch, l as getChangedAutosaveFields, o as refreshAutosaveForm, s as subscribeFormReset, t as useForm$1, u as getSubmittedAutosaveFields } from "./useForm-eW4KpH1u.js";
3
+ import { a as getFormResetVersion, c as getAutosavePatch, l as getChangedAutosaveFields, o as refreshAutosaveForm, s as subscribeFormReset, t as useForm$1, u as getSubmittedAutosaveFields } from "./useForm-Cb7KWLds.js";
4
4
  import { useCallback, useEffect, useRef } from "react";
5
5
  import { getBy, setBy } from "@tanstack/react-form";
6
6
  //#region src/hooks/useAutosave.ts
@@ -1,6 +1,6 @@
1
- import { t as useBreakpoint } from "./useBreakpoint-0pKgkrrj.js";
2
- import { useEffect, useRef } from "react";
1
+ import { t as useBreakpoint } from "./useBreakpoint-CLiqeiOW.js";
3
2
  import { c } from "react/compiler-runtime";
3
+ import { useEffect, useRef } from "react";
4
4
  //#region src/hooks/useScrollableListBox.ts
5
5
  function useScrollableListBox() {
6
6
  const $ = c(4);
@@ -1,82 +1,28 @@
1
1
  import { t as logger } from "./logger-CqZjM-sn.js";
2
- import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
3
- import { t as UIConfig } from "./uiConfig.context-Dqa4hVBg.js";
4
- import { t as ChevronDown } from "./chevron-down-B4Pr8bD3.js";
5
- import { n as ChevronUp } from "./Tooltip-CqbyoJhl.js";
6
2
  import { t as clsx } from "./clsx-CnD0nOiA.js";
7
- import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
8
- import { t as IconSlot } from "./IconSlot-Cuvpj1gd.js";
9
- import { t as Checkbox } from "./Checkbox-CzvWa3so.js";
10
- import { t as Typography } from "./Typography-Ba5l4rmj.js";
11
- import { t as Spinner } from "./Spinner-CFj5Iu77.js";
3
+ import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
4
+ import { t as IconSlot } from "./IconSlot-CqNuZl0E.js";
5
+ import { t as Checkbox } from "./Checkbox-JCotv8BZ.js";
6
+ import { t as Typography } from "./Typography-DCLnPa3P.js";
7
+ import { t as Spinner } from "./Spinner-DqjP06T1.js";
8
+ import { t as UIConfig } from "./uiConfig.context-BVacoemZ.js";
12
9
  import { n as uiOutlineClass } from "./outline.clsx-DGGQQRkM.js";
13
10
  import { IconButton } from "./components/icon-button.js";
14
11
  import "./i18n-BjNKHh_D.js";
15
- import { t as Dialog } from "./Dialog-COvYzwNU.js";
12
+ import { t as Dialog } from "./Dialog-CUv40xgo.js";
16
13
  import { Pagination } from "./components/pagination.js";
17
- import { a as tableHeadRowDefinition, c as theadDefinition, i as tableHeadDataDefinition, n as tableContainerDefinition, o as tableHeaderTextDefinition, r as tableDataDefinition, s as tableRowDefinition, t as tableCellTextDefinition } from "./table.cva-BMIizuGy.js";
14
+ import { a as tableHeadRowDefinition, c as theadDefinition, i as tableHeadDataDefinition, n as tableContainerDefinition, o as tableHeaderTextDefinition, r as tableDataDefinition, s as tableRowDefinition, t as tableCellTextDefinition } from "./table.cva-BVDSpunj.js";
18
15
  import { t as useTranslationMemo } from "./useTranslationMemo-CrZbeyBv.js";
19
- import { t as useIntersectionObserver } from "./useIntersectionObserver-DYfHnGGU.js";
20
- import { t as UIRouter } from "./router.context-B4FvsTim.js";
16
+ import { t as useIntersectionObserver } from "./useIntersectionObserver-DFAhTsV0.js";
17
+ import { t as UIRouter } from "./router.context-MckTbHw9.js";
21
18
  import { t as RoutingUtils } from "./routing.utils-DfxEt0_Y.js";
22
- import { Suspense, lazy, useCallback, useEffect, useMemo, useRef, useState } from "react";
19
+ import { ChevronDown, ChevronUp, GripVertical } from "lucide-react";
23
20
  import { c } from "react/compiler-runtime";
21
+ import { Suspense, lazy, useCallback, useEffect, useMemo, useRef, useState } from "react";
24
22
  import { jsx, jsxs } from "react/jsx-runtime";
25
23
  import i18next from "i18next";
26
24
  import { useTranslation } from "react-i18next";
27
25
  import { createPaginatedRowModel, createSortedRowModel, flexRender, stockFeatures, tableFeatures, useTable } from "@tanstack/react-table";
28
- //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/grip-vertical.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 __iconData = {
36
- name: "grip-vertical",
37
- size: 24,
38
- node: [
39
- ["circle", {
40
- cx: "9",
41
- cy: "12",
42
- r: "1",
43
- key: "1vctgf"
44
- }],
45
- ["circle", {
46
- cx: "9",
47
- cy: "5",
48
- r: "1",
49
- key: "hp0tcf"
50
- }],
51
- ["circle", {
52
- cx: "9",
53
- cy: "19",
54
- r: "1",
55
- key: "fkjjf6"
56
- }],
57
- ["circle", {
58
- cx: "15",
59
- cy: "12",
60
- r: "1",
61
- key: "1tmaij"
62
- }],
63
- ["circle", {
64
- cx: "15",
65
- cy: "5",
66
- r: "1",
67
- key: "19l28e"
68
- }],
69
- ["circle", {
70
- cx: "15",
71
- cy: "19",
72
- r: "1",
73
- key: "f4zoj3"
74
- }]
75
- ]
76
- };
77
- __iconData.node;
78
- const GripVertical = createLucideIcon(__iconData);
79
- //#endregion
80
26
  //#region src/components/table/CellText.tsx
81
27
  const CellText = (props) => {
82
28
  const uiConfig = UIConfig.useConfig();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@povio/ui",
3
- "version": "6.0.0-rc.6",
3
+ "version": "6.0.0-rc.7",
4
4
  "type": "module",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,47 +0,0 @@
1
- import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
2
- import { t as Tooltip } from "./Tooltip-CqbyoJhl.js";
3
- import { t as clsx } from "./clsx-CnD0nOiA.js";
4
- import { t as IconSlot } from "./IconSlot-Cuvpj1gd.js";
5
- import { t as $a3be900807531178$re_export$Focusable } from "./exports-BNrTn8Tj.js";
6
- import { jsx } from "react/jsx-runtime";
7
- //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/info.mjs
8
- /**
9
- * @license lucide-react v1.43.0 - ISC
10
- *
11
- * This source code is licensed under the ISC license.
12
- * See the LICENSE file in the root directory of this source tree.
13
- */
14
- const __iconData = {
15
- name: "info",
16
- size: 24,
17
- node: [
18
- ["circle", {
19
- cx: "12",
20
- cy: "12",
21
- r: "10",
22
- key: "1mglay"
23
- }],
24
- ["path", {
25
- d: "M12 16v-4",
26
- key: "1dtifu"
27
- }],
28
- ["path", {
29
- d: "M12 8h.01",
30
- key: "e9boi3"
31
- }]
32
- ]
33
- };
34
- __iconData.node;
35
- const Info = createLucideIcon(__iconData);
36
- //#endregion
37
- //#region src/components/inputs/FormField/FormFieldHeaderTooltip.tsx
38
- const FormFieldHeaderTooltip = ({ text, isDisabled }) => /* @__PURE__ */ jsx(Tooltip, {
39
- text,
40
- children: /* @__PURE__ */ jsx($a3be900807531178$re_export$Focusable, { children: /* @__PURE__ */ jsx(IconSlot, {
41
- icon: Info,
42
- className: clsx(isDisabled ? "text-muted-foreground" : "text-muted-foreground hover:text-foreground"),
43
- tabIndex: 0
44
- }) })
45
- });
46
- //#endregion
47
- export { FormFieldHeaderTooltip as default };
@@ -1,20 +0,0 @@
1
- import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
2
- //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/check.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 __iconData = {
10
- name: "check",
11
- size: 24,
12
- node: [["path", {
13
- d: "M20 6 9 17l-5-5",
14
- key: "1gmf2c"
15
- }]]
16
- };
17
- __iconData.node;
18
- const Check = createLucideIcon(__iconData);
19
- //#endregion
20
- export { Check as t };
@@ -1,20 +0,0 @@
1
- import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
2
- //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/chevron-down.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 __iconData = {
10
- name: "chevron-down",
11
- size: 24,
12
- node: [["path", {
13
- d: "m6 9 6 6 6-6",
14
- key: "qrunsl"
15
- }]]
16
- };
17
- __iconData.node;
18
- const ChevronDown = createLucideIcon(__iconData);
19
- //#endregion
20
- export { ChevronDown as t };
@@ -1,20 +0,0 @@
1
- import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
2
- //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/chevron-right.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 __iconData = {
10
- name: "chevron-right",
11
- size: 24,
12
- node: [["path", {
13
- d: "m9 18 6-6-6-6",
14
- key: "mthhwq"
15
- }]]
16
- };
17
- __iconData.node;
18
- const ChevronRight = createLucideIcon(__iconData);
19
- //#endregion
20
- export { ChevronRight as t };
@@ -1,44 +0,0 @@
1
- import { t as createLucideIcon } from "./createLucideIcon-LcezOE4z.js";
2
- //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/chevrons-left.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 __iconData$1 = {
10
- name: "chevrons-left",
11
- size: 24,
12
- node: [["path", {
13
- d: "m11 17-5-5 5-5",
14
- key: "13zhaf"
15
- }], ["path", {
16
- d: "m18 17-5-5 5-5",
17
- key: "h8a8et"
18
- }]]
19
- };
20
- __iconData$1.node;
21
- const ChevronsLeft = createLucideIcon(__iconData$1);
22
- //#endregion
23
- //#region ../../node_modules/.bun/lucide-react@1.43.0+83d5fd7b249dbeef/node_modules/lucide-react/dist/esm/icons/chevrons-right.mjs
24
- /**
25
- * @license lucide-react v1.43.0 - ISC
26
- *
27
- * This source code is licensed under the ISC license.
28
- * See the LICENSE file in the root directory of this source tree.
29
- */
30
- const __iconData = {
31
- name: "chevrons-right",
32
- size: 24,
33
- node: [["path", {
34
- d: "m6 17 5-5-5-5",
35
- key: "xnjwq"
36
- }], ["path", {
37
- d: "m13 17 5-5-5-5",
38
- key: "17xmmf"
39
- }]]
40
- };
41
- __iconData.node;
42
- const ChevronsRight = createLucideIcon(__iconData);
43
- //#endregion
44
- export { ChevronsLeft as n, ChevronsRight as t };
@@ -1,240 +0,0 @@
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 };