@konstructio/ui 0.1.2-alpha.105 → 0.1.2-alpha.107

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 (263) hide show
  1. package/README.md +118 -31
  2. package/dist/{AdditionalOptions-D0BAS2HG.js → AdditionalOptions-Crcnz0_g.js} +1 -1
  3. package/dist/{AlertDialogTrigger-BGo_acd5.js → AlertDialogTrigger-ouMGAlJW.js} +39 -39
  4. package/dist/{Breadcrumb-Cp3abB2w.js → Breadcrumb-MrF1Z6w2.js} +3 -3
  5. package/dist/{Checkbox-B_ngk9Dj.js → Checkbox-8KnRLpQG.js} +60 -61
  6. package/dist/{CommandInput-BLq69pOT.js → CommandInput-CGnqfudl.js} +4 -4
  7. package/dist/{Counter-BV680M5r.js → Counter-CDXdP1Af.js} +3 -3
  8. package/dist/{DayPicker-kweJz134.js → DayPicker-C22j0Y-u.js} +539 -518
  9. package/dist/{DropdownButton-DfNojmCW.js → DropdownButton-D4QlKGg7.js} +7 -7
  10. package/dist/{FlagSelectorList-CkTR3j6O.js → FlagSelectorList-tYZNl-tz.js} +31 -24
  11. package/dist/{HamburgerTrigger-DRylBL2d.js → HamburgerTrigger-B_NGSZ2r.js} +20 -20
  12. package/dist/{ImageUpload-DiwymQcU.js → ImageUpload-D7HKSXK8.js} +71 -66
  13. package/dist/Input-is8n7emP.js +195 -0
  14. package/dist/{Loading-DUh9PMJN.js → Loading-DO8JOWBV.js} +1 -1
  15. package/dist/{Modal-Dyn088X7.js → Modal-Dq9BHD_9.js} +4 -4
  16. package/dist/{Spinner-CUwE2bLm.js → Spinner-BJE79VTl.js} +1 -1
  17. package/dist/{StepIndicatorContent-CjbjVjS1.js → StepIndicatorContent-BGDvxLzV.js} +1 -1
  18. package/dist/Switch-C7286Bcu.js +199 -0
  19. package/dist/{Toast-3NEz7LLa.js → Toast-jSx3Lao8.js} +8 -7
  20. package/dist/Wrapper-2AUlYAHQ.js +195 -0
  21. package/dist/{Wrapper-CVJSuYWx.js → Wrapper-CyHxGs4E.js} +4 -4
  22. package/dist/{Wrapper-DP6Sxngx.js → Wrapper-a7RVCcrn.js} +248 -242
  23. package/dist/components/Alert/Alert.js +2 -2
  24. package/dist/components/AlertDialog/AlertDialog.js +2 -2
  25. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
  26. package/dist/components/AlertDialog/components/index.js +1 -1
  27. package/dist/components/Autocomplete/Autocomplete.js +1 -1
  28. package/dist/components/Autocomplete/components/List/List.js +1 -1
  29. package/dist/components/Autocomplete/hooks/useAutocomplete.js +27 -25
  30. package/dist/components/Autocomplete/hooks/useNavigationList.js +2 -3
  31. package/dist/components/Badge/Badge.js +2 -2
  32. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  33. package/dist/components/Breadcrumb/components/BackButton/BackButton.js +2 -2
  34. package/dist/components/Breadcrumb/components/Item/Item.js +2 -2
  35. package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
  36. package/dist/components/Button/Button.js +1 -1
  37. package/dist/components/ButtonGroup/ButtonGroup.js +65 -60
  38. package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.js +2 -2
  39. package/dist/components/ButtonGroup/components/ButtonGroupLabel/ButtonGroupLabel.js +10 -9
  40. package/dist/components/ButtonGroup/components/ButtonGroupMessage/ButtonGroupMessage.js +8 -6
  41. package/dist/components/Card/Card.js +25 -22
  42. package/dist/components/Checkbox/Checkbox.js +1 -1
  43. package/dist/components/Command/Command.js +2 -2
  44. package/dist/components/Command/components/Command.js +1 -1
  45. package/dist/components/Command/components/CommandEmpty.js +1 -1
  46. package/dist/components/Command/components/CommandGroup.js +2 -2
  47. package/dist/components/Command/components/CommandInput.js +1 -1
  48. package/dist/components/Command/components/CommandItem.js +2 -2
  49. package/dist/components/Command/components/CommandList.js +2 -2
  50. package/dist/components/Command/components/CommandSeparator.js +2 -2
  51. package/dist/components/Command/components/CommandShortcut.js +1 -1
  52. package/dist/components/Command/components/DialogContent.js +3 -3
  53. package/dist/components/Command/components/DialogOverlay.js +2 -2
  54. package/dist/components/Command/components/index.js +1 -1
  55. package/dist/components/Counter/Counter.js +1 -1
  56. package/dist/components/DateRangePicker/DateRangePicker.js +1 -1
  57. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarDivider/CalendarDivider.js +1 -1
  58. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/CalendarMonth.js +3 -3
  59. package/dist/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.js +3 -3
  60. package/dist/components/DateRangePicker/components/CalendarPanel/components/NavigationButton/NavigationButton.js +1 -1
  61. package/dist/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.js +2 -2
  62. package/dist/components/DateRangePicker/components/CalendarPanel/constants/dayPickerClassNames.js +1 -1
  63. package/dist/components/DateRangePicker/components/CalendarPanel/constants/index.js +1 -1
  64. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/index.js +1 -1
  65. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useIndependentCarousel.js +30 -28
  66. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useTogetherCarousel.js +23 -21
  67. package/dist/components/DateRangePicker/components/CalendarPanel/utils/index.js +1 -1
  68. package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.js +1 -1
  69. package/dist/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.js +48 -41
  70. package/dist/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.js +48 -41
  71. package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.js +1 -1
  72. package/dist/components/Datepicker/DatePicker.js +2 -2
  73. package/dist/components/Divider/Divider.js +7 -7
  74. package/dist/components/Drawer/Drawer.js +28 -26
  75. package/dist/components/Drawer/components/Body/Body.js +1 -1
  76. package/dist/components/Drawer/components/Footer/Footer.js +1 -1
  77. package/dist/components/Drawer/components/Header/Header.js +1 -1
  78. package/dist/components/DropdownButton/DropdownButton.js +1 -1
  79. package/dist/components/Filter/Filter.js +1 -1
  80. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.hook.js +51 -36
  81. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +40 -38
  82. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +1 -1
  83. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +1 -1
  84. package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.hook.js +1 -1
  85. package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.js +1 -1
  86. package/dist/components/Filter/components/FilterDropdown/FilterDropdown.js +2 -2
  87. package/dist/components/Filter/components/ResetButton/ResetButton.js +1 -1
  88. package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +43 -41
  89. package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.js +1 -1
  90. package/dist/components/Filter/utils/index.js +1 -1
  91. package/dist/components/ImageUpload/ImageUpload.js +1 -1
  92. package/dist/components/Input/Input.js +1 -1
  93. package/dist/components/LineChart/LineChart.js +2 -2
  94. package/dist/components/Loading/Loading.js +1 -1
  95. package/dist/components/Modal/Modal.js +1 -1
  96. package/dist/components/Modal/components/Body/Body.js +1 -1
  97. package/dist/components/Modal/components/Footer/Footer.js +1 -1
  98. package/dist/components/Modal/components/Header/Header.js +1 -1
  99. package/dist/components/Modal/components/Wrapper/Wrapper.js +1 -1
  100. package/dist/components/Modal/components/index.js +1 -1
  101. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +1 -1
  102. package/dist/components/MultiSelectDropdown/components/Item/Item.js +1 -1
  103. package/dist/components/MultiSelectDropdown/components/List/List.js +1 -1
  104. package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +1 -1
  105. package/dist/components/MultiSelectDropdown/components/index.js +1 -1
  106. package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.context.js +4 -3
  107. package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.provider.js +17 -16
  108. package/dist/components/MultiSelectDropdown/hooks/useMultiSelectDropdown.js +11 -11
  109. package/dist/components/PhoneNumberInput/PhoneNumberInput.js +2 -2
  110. package/dist/components/PhoneNumberInput/components/FlagContent/FlagContent.js +1 -1
  111. package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +1 -1
  112. package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +3 -3
  113. package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +3 -3
  114. package/dist/components/PhoneNumberInput/components/Wrapper.js +1 -1
  115. package/dist/components/PhoneNumberInput/components/index.js +2 -2
  116. package/dist/components/PhoneNumberInput/contexts/index.js +1 -1
  117. package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +1 -1
  118. package/dist/components/PhoneNumberInput/utils/index.js +1 -1
  119. package/dist/components/PieChart/PieChart.js +31 -28
  120. package/dist/components/ProgressBar/ProgressBar.js +1 -1
  121. package/dist/components/Radio/Radio.js +1 -1
  122. package/dist/components/RadioCard/RadioCard.js +1 -1
  123. package/dist/components/RadioCardGroup/RadioCardGroup.js +1 -1
  124. package/dist/components/RadioGroup/RadioGroup.js +1 -1
  125. package/dist/components/Range/Range.js +2 -2
  126. package/dist/components/Select/Select.js +43 -36
  127. package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.js +1 -1
  128. package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.variants.js +1 -1
  129. package/dist/components/Select/components/List/List.js +78 -67
  130. package/dist/components/Select/components/ListItem/ListItem.js +1 -1
  131. package/dist/components/Select/components/Wrapper.js +1 -1
  132. package/dist/components/Select/components/index.js +2 -2
  133. package/dist/components/Select/hooks/useNavigationList.js +2 -3
  134. package/dist/components/Select/hooks/useSelect.js +8 -8
  135. package/dist/components/Sidebar/components/CollapseTrigger/CollapseTrigger.js +1 -1
  136. package/dist/components/Sidebar/components/Footer/Footer.js +1 -1
  137. package/dist/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.js +1 -1
  138. package/dist/components/Sidebar/components/Label/Label.js +1 -1
  139. package/dist/components/Sidebar/components/Logo/Logo.js +1 -1
  140. package/dist/components/Sidebar/components/Navigation/Navigation.js +1 -1
  141. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +1 -1
  142. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +2 -2
  143. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +1 -1
  144. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +1 -1
  145. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +25 -24
  146. package/dist/components/Sidebar/components/index.js +1 -1
  147. package/dist/components/Slider/Slider.js +2 -2
  148. package/dist/components/Spinner/Spinner.js +1 -1
  149. package/dist/components/Stepper/Stepper.js +1 -1
  150. package/dist/components/Stepper/components/HorizontalStepItem/HorizontalStepItem.js +2 -2
  151. package/dist/components/Stepper/components/StepConnector/StepConnector.js +1 -1
  152. package/dist/components/Stepper/components/StepIndicatorContent/StepIndicatorContent.js +1 -1
  153. package/dist/components/Stepper/components/VerticalStepItem/VerticalStepItem.js +2 -2
  154. package/dist/components/Switch/Switch.js +1 -1
  155. package/dist/components/Switch/Switch.variants.js +15 -7
  156. package/dist/components/Table/Table.js +1 -1
  157. package/dist/components/Table/components/Body.js +1 -1
  158. package/dist/components/Table/components/Filter.js +1 -1
  159. package/dist/components/Table/components/Head.js +1 -1
  160. package/dist/components/Table/components/Row.js +1 -1
  161. package/dist/components/Tabs/Tabs.js +2 -2
  162. package/dist/components/Tabs/components/Content.js +2 -2
  163. package/dist/components/Tabs/components/List.js +2 -2
  164. package/dist/components/Tabs/components/Trigger.js +2 -2
  165. package/dist/components/Tag/Tag.js +8 -8
  166. package/dist/components/TagSelect/TagSelect.js +1 -1
  167. package/dist/components/TagSelect/components/Item/Item.js +1 -1
  168. package/dist/components/TagSelect/components/List/List.js +1 -1
  169. package/dist/components/TagSelect/components/Wrapper/Wrapper.js +1 -1
  170. package/dist/components/TagSelect/components/index.js +1 -1
  171. package/dist/components/TagSelect/hooks/useTagSelect.js +11 -11
  172. package/dist/components/TextArea/TextArea.js +71 -26
  173. package/dist/components/TextArea/TextArea.variants.js +49 -13
  174. package/dist/components/TimePicker/components/HoursList/HoursList.js +1 -1
  175. package/dist/components/TimePicker/components/MeridianList/MeridianList.js +1 -1
  176. package/dist/components/TimePicker/components/MinutesList/MinutesList.js +1 -1
  177. package/dist/components/TimePicker/components/Wrapper/Wrapper.js +114 -99
  178. package/dist/components/TimePicker/components/WrapperList/WrapperList.js +19 -18
  179. package/dist/components/Toast/Toast.js +1 -1
  180. package/dist/components/Tooltip/Tooltip.js +2 -2
  181. package/dist/components/Typography/Typography.js +19 -16
  182. package/dist/components/VirtualizedTable/VirtualizedTable.js +2 -2
  183. package/dist/components/VirtualizedTable/components/Actions/Actions.js +1 -1
  184. package/dist/components/VirtualizedTable/components/Body/Body.js +2 -2
  185. package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +1 -1
  186. package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +2 -2
  187. package/dist/components/VirtualizedTable/components/ExpandableRow/ExpandableRow.js +1 -1
  188. package/dist/components/VirtualizedTable/components/Filter/Filter.js +4 -4
  189. package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +1 -1
  190. package/dist/components/VirtualizedTable/components/Header/Header.js +2 -2
  191. package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +1 -1
  192. package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +1 -1
  193. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +3 -3
  194. package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +1 -1
  195. package/dist/components/VirtualizedTable/contexts/index.js +1 -1
  196. package/dist/components/VirtualizedTable/contexts/table.provider.js +1 -1
  197. package/dist/components/index.js +12 -12
  198. package/dist/{components-Cf345jTv.js → components-CaEW5ge4.js} +32 -32
  199. package/dist/{constants-CxJJRVK3.js → constants-HQIXhj2t.js} +2 -2
  200. package/dist/contexts/index.js +1 -1
  201. package/dist/contexts/theme.provider.js +1 -1
  202. package/dist/{debounce-C5Ycjilj.js → debounce-BdyZeJQk.js} +2 -2
  203. package/dist/{dist-DFCz63oC2.js → dist-9WbMf_jT.js} +158 -159
  204. package/dist/{dist-tGUUcv8n.js → dist-AxOGvL82.js} +114 -115
  205. package/dist/{dist-DDck_2lb.js → dist-BIBFLVt1.js} +117 -116
  206. package/dist/{dist-BZNE2Tnx.js → dist-BbX4Nrk2.js} +1 -1
  207. package/dist/{dist-BaPW7qXd2.js → dist-BnCbAI-c.js} +1 -1
  208. package/dist/{dist-BdobXn93.js → dist-CszFjHAP.js} +2 -2
  209. package/dist/{dist-C3YVLapk.js → dist-DO3apbIh.js} +24 -24
  210. package/dist/{dist-CzKqHuqJ2.js → dist-DwxO2RoR.js} +38 -38
  211. package/dist/{dist-AihTpWdF.js → dist-iUAHw-3y.js} +272 -272
  212. package/dist/{dist-BlPTJNIm.js → dist-pxvIAJzo.js} +2 -2
  213. package/dist/es2015-B_07N-UL.js +796 -0
  214. package/dist/hooks/useMediaQuery.js +1 -1
  215. package/dist/index.js +14 -14
  216. package/dist/{isObject-BeFFiVJK.js → isObject-pLoSfdr0.js} +1 -1
  217. package/dist/lib/components/ButtonGroup/components/ButtonGroupLabel/ButtonGroupLabel.types.d.ts +1 -1
  218. package/dist/lib/components/ButtonGroup/components/ButtonGroupMessage/ButtonGroupMessage.types.d.ts +2 -0
  219. package/dist/lib/components/Card/Card.types.d.ts +1 -0
  220. package/dist/lib/components/Checkbox/Checkbox.d.ts +1 -1
  221. package/dist/lib/components/Checkbox/Checkbox.types.d.ts +2 -1
  222. package/dist/lib/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.types.d.ts +1 -0
  223. package/dist/lib/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.types.d.ts +1 -0
  224. package/dist/lib/components/Divider/Divider.d.ts +3 -2
  225. package/dist/lib/components/Divider/Divider.types.d.ts +4 -0
  226. package/dist/lib/components/Input/Input.types.d.ts +4 -0
  227. package/dist/lib/components/MultiSelectDropdown/MultiSelectDropdown.types.d.ts +2 -0
  228. package/dist/lib/components/MultiSelectDropdown/contexts/MultiSelectDropdown.types.d.ts +2 -0
  229. package/dist/lib/components/Select/Select.types.d.ts +2 -0
  230. package/dist/lib/components/Select/components/List/List.types.d.ts +3 -0
  231. package/dist/lib/components/Select/components/Wrapper.d.ts +2 -0
  232. package/dist/lib/components/Sidebar/Sidebar.types.d.ts +2 -0
  233. package/dist/lib/components/Sidebar/components/HamburgerTrigger/HamburgerTrigger.types.d.ts +2 -0
  234. package/dist/lib/components/Switch/Switch.variants.d.ts +3 -1
  235. package/dist/lib/components/Tag/Tag.types.d.ts +1 -0
  236. package/dist/lib/components/TextArea/TextArea.d.ts +6 -0
  237. package/dist/lib/components/TextArea/TextArea.types.d.ts +13 -2
  238. package/dist/lib/components/TextArea/TextArea.variants.d.ts +4 -1
  239. package/dist/lib/components/TimePicker/TimePicker.types.d.ts +4 -0
  240. package/dist/lib/components/TimePicker/components/WrapperList/WrapperList.types.d.ts +1 -0
  241. package/dist/lib/utils/index.d.ts +1 -0
  242. package/dist/{libphonenumber-hGupNnJu.js → libphonenumber-BMq3Thej.js} +356 -347
  243. package/dist/package.json +27 -27
  244. package/dist/{phone-number.provider-BxQCTxp8.js → phone-number.provider-Dkq_p1Gi.js} +2 -2
  245. package/dist/{prop-types-CfEYxTbR.js → prop-types-BCUW56rg.js} +1 -1
  246. package/dist/{react-CvUtBTMg.js → react-7zQ6bvbE.js} +837 -828
  247. package/dist/{rolldown-runtime-Ck3dxwZt.js → rolldown-runtime-Dw9YIBcH.js} +1 -1
  248. package/dist/styles.css +1 -1
  249. package/dist/{table.provider-B0BafHuU.js → table.provider-CWzODR1t.js} +96 -96
  250. package/dist/{theme.provider-Dw4O3ocC.js → theme.provider-CSL1WCYG.js} +1 -1
  251. package/dist/{useBreadcrumb-DYfZL_2p.js → useBreadcrumb-Ds_9BeFz.js} +7 -6
  252. package/dist/utils/index.js +6 -5
  253. package/dist/{utils-Cx-WzRZF.js → utils-B-6R7kNE.js} +8 -4
  254. package/dist/{utils-B-BTGYA5.js → utils-DVYdP0CJ.js} +2 -3
  255. package/dist/{x-BI9jmc7e.js → x-Ierxf0uI.js} +2 -2
  256. package/package.json +27 -27
  257. package/dist/Input-Cf44DzfE.js +0 -188
  258. package/dist/Switch-aPhL5rNG.js +0 -196
  259. package/dist/Wrapper-R8fik3ah.js +0 -182
  260. package/dist/es2015-DigR3dar.js +0 -795
  261. /package/dist/{dist-DGOjiAnB2.js → dist-DGOjiAnB.js} +0 -0
  262. /package/dist/{dist-pWlMx4Fi2.js → dist-pWlMx4Fi.js} +0 -0
  263. /package/dist/{x-a_LpoXzG2.js → x-a_LpoXzG.js} +0 -0
@@ -1,112 +1,122 @@
1
- import { o as K } from "../../../../rolldown-runtime-Ck3dxwZt.js";
2
- import { t as n } from "../../../../utils-Cx-WzRZF.js";
3
- import { t as Q } from "../../../../Loading-DUh9PMJN.js";
4
- import { t as W } from "../../../../debounce-C5Ycjilj.js";
5
- import { useSelectContext as Y } from "../../contexts/select.hook.js";
6
- import { n as $, t as R } from "../../../../AdditionalOptions-D0BAS2HG.js";
7
- import { listGroupLabelVariants as ee, listVariants as te } from "./List.variants.js";
1
+ import { o as $ } from "../../../../rolldown-runtime-Dw9YIBcH.js";
2
+ import { t as n } from "../../../../utils-B-6R7kNE.js";
3
+ import { t as R } from "../../../../Loading-DO8JOWBV.js";
4
+ import { t as ee } from "../../../../debounce-BdyZeJQk.js";
5
+ import { useSelectContext as te } from "../../contexts/select.hook.js";
6
+ import { n as re, t as oe } from "../../../../AdditionalOptions-Crcnz0_g.js";
7
+ import { listGroupLabelVariants as ae, listVariants as ne } from "./List.variants.js";
8
8
  import "../../constants/pagination.js";
9
9
  import "../../constants/list.js";
10
- import { useNavigationUlList as re } from "../../hooks/useNavigationList.js";
10
+ import { useNavigationUlList as se } from "../../hooks/useNavigationList.js";
11
11
  import { ListItem as g } from "../ListItem/ListItem.js";
12
- import { Fragment as oe, forwardRef as se, useEffect as ne, useImperativeHandle as ae, useMemo as T, useRef as H, useState as ie } from "react";
13
- import { jsx as o, jsxs as I } from "react/jsx-runtime";
14
- var le = /* @__PURE__ */ K(W(), 1), Ce = se(({ additionalOptions: N, className: P, groupedOptions: l, inputRef: c, isLoading: j, itemClassName: u, name: M, searchable: f = !1, listItemSecondRowClassName: p, wrapperInputRef: O, isInfiniteScrollEnabled: h, noOptionsText: C, onFetchMoreOptions: L, visibleItems: E }, S) => {
15
- const m = H(null), v = H(null), [b, F] = ie(!1), { canContinueFetching: d, canFilter: y, isOpen: q, isTyping: k, options: G, page: w, searchTerm: s, setCanContinueFetching: A, setOptions: U, setPage: V } = Y(), z = E !== void 0 ? { maxHeight: E * 40 } : void 0;
16
- ae(S, () => m.current, [m]);
17
- const a = l.length > 0 && $(l[0]), x = f && y ? G.filter((e) => {
18
- const t = s.toLowerCase();
12
+ import { forwardRef as ie, useEffect as le, useImperativeHandle as ce, useMemo as I, useRef as N, useState as ue } from "react";
13
+ import { jsx as o, jsxs as O } from "react/jsx-runtime";
14
+ var fe = /* @__PURE__ */ $(ee(), 1), ke = ie(({ additionalOptions: P, className: T, groupedOptions: l, id: j, inputRef: c, isLoading: M, itemClassName: u, labelledBy: S, loadingText: C, name: q, searchable: f = !1, listItemSecondRowClassName: p, wrapperInputRef: A, isInfiniteScrollEnabled: h, noOptionsText: E, onFetchMoreOptions: b, visibleItems: F }, U) => {
15
+ const m = N(null), L = N(null), [v, k] = ue(!1), { canContinueFetching: d, canFilter: y, isOpen: V, isTyping: G, options: H, page: w, searchTerm: a, setCanContinueFetching: z, setOptions: D, setPage: X } = te(), Z = F !== void 0 ? { maxHeight: F * 40 } : void 0;
16
+ ce(U, () => m.current, [m]);
17
+ const s = l.length > 0 && re(l[0]), _ = f && y ? H.filter((e) => {
18
+ const t = a.toLowerCase();
19
19
  return (typeof e.label == "string" ? e.label.toLowerCase() : "").includes(t);
20
- }) : G, _ = T(() => {
21
- if (!a) return [];
20
+ }) : H, x = I(() => {
21
+ if (!s) return [];
22
22
  const e = l;
23
- if (!f || !y || !s) return e;
24
- const t = s.toLowerCase();
23
+ if (!f || !y || !a) return e;
24
+ const t = a.toLowerCase();
25
25
  return e.map((r) => ({
26
26
  ...r,
27
27
  options: r.options.filter((i) => i.label.toLowerCase().includes(t))
28
28
  })).filter((r) => r.options.length > 0);
29
29
  }, [
30
- a,
30
+ s,
31
31
  l,
32
32
  f,
33
33
  y,
34
- s
35
- ]);
36
- re({
34
+ a
35
+ ]), B = s ? x.flatMap((e) => e.options) : _;
36
+ se({
37
37
  ulRef: m,
38
- wrapperInputRef: O,
38
+ wrapperInputRef: A,
39
39
  searchable: f,
40
- filteredOptions: a ? _.flatMap((e) => e.options) : x
40
+ filteredOptions: B
41
41
  });
42
- const D = x.filter((e, t, r) => t === r.findIndex((i) => i.value === e.value)), X = a ? _.length === 0 : x.length === 0, Z = T(() => (0, le.default)(async (e) => {
42
+ const J = _.filter((e, t, r) => t === r.findIndex((i) => i.value === e.value)), K = s ? x.length === 0 : _.length === 0, Q = I(() => (0, fe.default)(async (e) => {
43
43
  const [t] = e;
44
- if (t.isIntersecting && !b && L && d) try {
45
- F(!0);
46
- const r = w + 1, { data: i, hasMore: B } = await L({
44
+ if (t.isIntersecting && !v && b && d) try {
45
+ k(!0);
46
+ const r = w + 1, { data: i, hasMore: W } = await b({
47
47
  page: r,
48
48
  pageSize: 10,
49
- termOfSearch: s
49
+ termOfSearch: a
50
50
  });
51
- V(r), A(B), U((J) => [...J, ...i]);
51
+ X(r), z(W), D((Y) => [...Y, ...i]);
52
52
  } catch {
53
53
  console.error("Error fetching more options");
54
54
  } finally {
55
- F(!1);
55
+ k(!1);
56
56
  }
57
57
  }, 100), [
58
+ v,
58
59
  b,
59
- L,
60
- s,
60
+ a,
61
61
  w
62
62
  ]);
63
- return ne(() => {
64
- if (h && d && v.current && !k) {
65
- const e = new IntersectionObserver(Z, { threshold: 0.1 });
66
- return e.observe(v.current), () => e.disconnect();
63
+ return le(() => {
64
+ if (h && d && L.current && !G) {
65
+ const e = new IntersectionObserver(Q, { threshold: 0.1 });
66
+ return e.observe(L.current), () => e.disconnect();
67
67
  }
68
68
  }, [
69
69
  h,
70
70
  d,
71
- b,
72
- k,
71
+ v,
72
+ G,
73
73
  w
74
- ]), /* @__PURE__ */ I("ul", {
74
+ ]), /* @__PURE__ */ O("ul", {
75
75
  ref: m,
76
- title: M,
76
+ id: j,
77
+ title: q,
77
78
  role: "listbox",
78
- className: n(te({ className: P })),
79
- style: z,
80
- "data-state": q ? "open" : "closed",
79
+ "aria-labelledby": S,
80
+ className: n(ne({ className: T })),
81
+ style: Z,
82
+ "data-state": V ? "open" : "closed",
81
83
  children: [
82
- j ? /* @__PURE__ */ o(g, {
84
+ M ? /* @__PURE__ */ o(g, {
83
85
  className: n("select-none", u),
84
86
  isClickable: !1,
85
87
  inputRef: c,
86
- value: "Loading...",
87
- label: "Loading...",
88
+ value: C ?? "Loading...",
89
+ label: C ?? "Loading...",
88
90
  listItemSecondRowClassName: p
89
- }) : X ? /* @__PURE__ */ o(g, {
91
+ }) : K ? /* @__PURE__ */ o(g, {
90
92
  isEmpty: !0,
91
93
  className: n("select-none", u),
92
94
  isClickable: !1,
93
95
  inputRef: c,
94
- value: C ?? "",
95
- label: C ?? "No options",
96
+ value: E ?? "",
97
+ label: E ?? "No options",
96
98
  listItemSecondRowClassName: p
97
- }) : a ? _.map((e) => /* @__PURE__ */ I(oe, { children: [/* @__PURE__ */ o("li", {
99
+ }) : s ? x.map((e) => /* @__PURE__ */ o("li", {
98
100
  role: "presentation",
99
- "aria-hidden": "true",
100
101
  "data-action": "true",
101
- className: n(ee()),
102
- children: e.groupLabel
103
- }), e.options.map((t) => /* @__PURE__ */ o(g, {
104
- className: n("select-none", u),
105
- isClickable: !0,
106
- inputRef: c,
107
- listItemSecondRowClassName: p,
108
- ...t
109
- }, t.value))] }, e.groupLabel)) : D.map((e) => /* @__PURE__ */ o(g, {
102
+ children: /* @__PURE__ */ O("ul", {
103
+ role: "group",
104
+ "aria-label": e.groupLabel,
105
+ children: [/* @__PURE__ */ o("li", {
106
+ role: "presentation",
107
+ "aria-hidden": "true",
108
+ "data-action": "true",
109
+ className: n(ae()),
110
+ children: e.groupLabel
111
+ }), e.options.map((t) => /* @__PURE__ */ o(g, {
112
+ className: n("select-none", u),
113
+ isClickable: !0,
114
+ inputRef: c,
115
+ listItemSecondRowClassName: p,
116
+ ...t
117
+ }, t.value))]
118
+ })
119
+ }, e.groupLabel)) : J.map((e) => /* @__PURE__ */ o(g, {
110
120
  className: n("select-none", u),
111
121
  isClickable: !0,
112
122
  inputRef: c,
@@ -114,17 +124,18 @@ var le = /* @__PURE__ */ K(W(), 1), Ce = se(({ additionalOptions: N, className:
114
124
  ...e
115
125
  }, e.value)),
116
126
  h && d && /* @__PURE__ */ o("li", {
117
- ref: v,
118
- role: "option",
127
+ ref: L,
128
+ role: "presentation",
129
+ "aria-hidden": "true",
119
130
  "data-action": "true",
120
131
  className: "flex items-center justify-center py-3",
121
132
  onClick: (e) => e.stopPropagation(),
122
- children: /* @__PURE__ */ o(Q, { className: "w-4 h-4 text-aurora-500 select-none" })
133
+ children: /* @__PURE__ */ o(R, { className: "w-4 h-4 text-aurora-500 select-none" })
123
134
  }),
124
- /* @__PURE__ */ o(R, { additionalOptions: N })
135
+ /* @__PURE__ */ o(oe, { additionalOptions: P })
125
136
  ]
126
137
  });
127
138
  });
128
139
  export {
129
- Ce as List
140
+ ke as List
130
141
  };
@@ -1,4 +1,4 @@
1
- import { t as l } from "../../../../utils-Cx-WzRZF.js";
1
+ import { t as l } from "../../../../utils-B-6R7kNE.js";
2
2
  import { Typography as x } from "../../../Typography/Typography.js";
3
3
  import { useSelectContext as I } from "../../contexts/select.hook.js";
4
4
  import { listItemVariants as C } from "./ListItem.variants.js";
@@ -1,4 +1,4 @@
1
- import { t as p } from "../../../Wrapper-R8fik3ah.js";
1
+ import { t as p } from "../../../Wrapper-2AUlYAHQ.js";
2
2
  export {
3
3
  p as Wrapper
4
4
  };
@@ -1,5 +1,5 @@
1
- import { t as o } from "../../../Wrapper-R8fik3ah.js";
2
- import { t as i } from "../../../AdditionalOptions-D0BAS2HG.js";
1
+ import { t as o } from "../../../Wrapper-2AUlYAHQ.js";
2
+ import { t as i } from "../../../AdditionalOptions-Crcnz0_g.js";
3
3
  import { EmptyList as p } from "./EmptyList.js";
4
4
  import { List as a } from "./List/List.js";
5
5
  export {
@@ -1,7 +1,7 @@
1
1
  import { useSelectContext as k } from "../contexts/select.hook.js";
2
- import { useEffect as a, useRef as b } from "react";
2
+ import { useEffect as a, useRef as m } from "react";
3
3
  var A = ({ searchable: o, ulRef: n, wrapperInputRef: e, filteredOptions: f }) => {
4
- const r = b(0), { isOpen: s } = k();
4
+ const r = m(0), { isOpen: s } = k();
5
5
  a(() => {
6
6
  const g = n.current?.querySelectorAll("li") ?? [], t = Array.from(g).filter((c) => c.getAttribute("data-action") !== "true"), u = new AbortController(), i = () => {
7
7
  r.current < t.length - 1 ? (r.current = r.current + 1, t[r.current].focus()) : (r.current = 0, t[0].focus());
@@ -21,7 +21,6 @@ var A = ({ searchable: o, ulRef: n, wrapperInputRef: e, filteredOptions: f }) =>
21
21
  break;
22
22
  case "Enter":
23
23
  t[r.current]?.click();
24
- break;
25
24
  }
26
25
  }, { signal: u.signal }), () => {
27
26
  u.abort();
@@ -1,11 +1,11 @@
1
- import { useClickOutside as m } from "../../../hooks/useClickOutside.js";
2
- import { useSelectContext as E } from "../contexts/select.hook.js";
3
- import { useCallback as b, useEffect as l, useRef as g } from "react";
4
- var h = ({ inputRef: r, searchInputRef: v, internalValue: c, onBlur: i }) => {
5
- const t = g(null), d = g(null), { value: o, setSearchTerm: f, setCanFilter: u, toggleOpen: n } = E();
6
- return m(t, b(() => {
1
+ import { useClickOutside as E } from "../../../hooks/useClickOutside.js";
2
+ import { useSelectContext as b } from "../contexts/select.hook.js";
3
+ import { useCallback as p, useEffect as l, useRef as g } from "react";
4
+ var k = ({ inputRef: r, searchInputRef: v, internalValue: c, onBlur: i }) => {
5
+ const t = g(null), d = g(null), { value: o, setSearchTerm: f, setCanFilter: u, toggleOpen: n } = b(), m = p(() => {
7
6
  n(!1);
8
- }, [n])), l(() => {
7
+ }, [n]);
8
+ return E(t, m), l(() => {
9
9
  const e = new AbortController(), s = (a) => {
10
10
  a.key === "Escape" && n(!1);
11
11
  };
@@ -52,5 +52,5 @@ var h = ({ inputRef: r, searchInputRef: v, internalValue: c, onBlur: i }) => {
52
52
  };
53
53
  };
54
54
  export {
55
- h as useSelect
55
+ k as useSelect
56
56
  };
@@ -1,4 +1,4 @@
1
- import { t as n } from "../../../../utils-Cx-WzRZF.js";
1
+ import { t as n } from "../../../../utils-B-6R7kNE.js";
2
2
  import { ArrowLeftIcon as l } from "../../../../assets/icons/components/ArrowLeft.js";
3
3
  import { ArrowRightIcon as s } from "../../../../assets/icons/components/ArrowRight.js";
4
4
  import { useSidebarContext as p } from "../../contexts/SidebarContext.js";
@@ -1,4 +1,4 @@
1
- import { t } from "../../../../utils-Cx-WzRZF.js";
1
+ import { t } from "../../../../utils-B-6R7kNE.js";
2
2
  import { footerVariants as a } from "./Footer.variants.js";
3
3
  import { jsx as e } from "react/jsx-runtime";
4
4
  var m = ({ className: o, children: r }) => /* @__PURE__ */ e("footer", {
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../../../HamburgerTrigger-DRylBL2d.js";
1
+ import { t as e } from "../../../../HamburgerTrigger-B_NGSZ2r.js";
2
2
  export {
3
3
  e as HamburgerTrigger
4
4
  };
@@ -1,4 +1,4 @@
1
- import { t as p } from "../../../../utils-Cx-WzRZF.js";
1
+ import { t as p } from "../../../../utils-B-6R7kNE.js";
2
2
  import { Typography as l } from "../../../Typography/Typography.js";
3
3
  import { useSidebarContext as m } from "../../contexts/SidebarContext.js";
4
4
  import { useNavigationOptionContext as f } from "../NavigationOption/NavigationOption.context.js";
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../../../utils-Cx-WzRZF.js";
1
+ import { t as e } from "../../../../utils-B-6R7kNE.js";
2
2
  import { useSidebarContext as i } from "../../contexts/SidebarContext.js";
3
3
  import { logoVariants as s } from "./Logo.variants.js";
4
4
  import { jsx as m } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { t as c } from "../../../../utils-Cx-WzRZF.js";
1
+ import { t as c } from "../../../../utils-B-6R7kNE.js";
2
2
  import { useSidebarContext as d } from "../../contexts/SidebarContext.js";
3
3
  import { NavigationTitle as y } from "../NavigationTitle/NavigationTitle.js";
4
4
  import { NavigationGroup as u } from "../NavigationGroup/NavigationGroup.js";
@@ -1,4 +1,4 @@
1
- import { t as m } from "../../../../utils-Cx-WzRZF.js";
1
+ import { t as m } from "../../../../utils-B-6R7kNE.js";
2
2
  import { useSidebarContext as l } from "../../contexts/SidebarContext.js";
3
3
  import { NavigationTitle as p } from "../NavigationTitle/NavigationTitle.js";
4
4
  import { navigationGroupsVariants as u } from "./NavigationGroup.variants.js";
@@ -1,5 +1,5 @@
1
- import { t as u } from "../../../../utils-Cx-WzRZF.js";
2
- import { a as j, i as P, n as V, o as A, r as D, t as E } from "../../../../dist-tGUUcv8n.js";
1
+ import { t as u } from "../../../../utils-B-6R7kNE.js";
2
+ import { a as j, i as P, n as V, o as A, r as D, t as E } from "../../../../dist-AxOGvL82.js";
3
3
  import { useSidebarContext as H } from "../../contexts/SidebarContext.js";
4
4
  import { NavigationOptionContext as R } from "./NavigationOption.context.js";
5
5
  import { navigationOptionVariants as z } from "./NavigationOption.variants.js";
@@ -1,4 +1,4 @@
1
- import { t as r } from "../../../../utils-Cx-WzRZF.js";
1
+ import { t as r } from "../../../../utils-B-6R7kNE.js";
2
2
  import { navigationSeparatorVariant as o } from "./NavigationSeparator.variants.js";
3
3
  import { jsx as t } from "react/jsx-runtime";
4
4
  var i = ({ className: a }) => /* @__PURE__ */ t("div", {
@@ -1,4 +1,4 @@
1
- import { t as a } from "../../../../utils-Cx-WzRZF.js";
1
+ import { t as a } from "../../../../utils-B-6R7kNE.js";
2
2
  import { navigationTitleVariants as e } from "./NavigationTitle.variants.js";
3
3
  import { jsx as n } from "react/jsx-runtime";
4
4
  var o = ({ title: i, className: r, isVisible: t = !0 }) => t ? /* @__PURE__ */ n("h2", {
@@ -1,17 +1,17 @@
1
- import { t as Q } from "../../../../HamburgerTrigger-DRylBL2d.js";
2
- import { t as l } from "../../../../utils-Cx-WzRZF.js";
3
- import { Drawer as Y } from "../../../Drawer/Drawer.js";
1
+ import { t as Y } from "../../../../HamburgerTrigger-B_NGSZ2r.js";
2
+ import { t as l } from "../../../../utils-B-6R7kNE.js";
3
+ import { Drawer as Z } from "../../../Drawer/Drawer.js";
4
4
  import { SidebarContext as k } from "../../contexts/SidebarContext.js";
5
- import { useSidebarMode as Z } from "../../hooks/useSidebarMode.js";
6
- import { dragVariants as ee, wrapperSiderbarVariants as A } from "../../Sidebar.variants.js";
5
+ import { useSidebarMode as ee } from "../../hooks/useSidebarMode.js";
6
+ import { dragVariants as re, wrapperSiderbarVariants as A } from "../../Sidebar.variants.js";
7
7
  import { useCallback as p, useEffect as f, useRef as m, useState as M } from "react";
8
- import { Fragment as re, jsx as o, jsxs as F } from "react/jsx-runtime";
9
- var te = 280, ne = ({ animateOnHover: I = !0, canResize: N = !0, children: y, dividerClassName: P, drawerBreakpoint: _, drawerClassNames: i, drawerMaxWidth: b = te, expandedBreakpoint: $, expandOnHover: j = !0, initialMode: C, initialWidth: x = 256, maxWith: s = 300, minWith: a = 240, mode: U = "auto", separatorClassName: D, style: L, theme: E, triggerClassName: X, wrapperClassName: O }) => {
10
- const t = Z(U, $, _, C), [R, v] = M(!1), [S, W] = M(null), [z, T] = M(null), u = t === "drawer" ? "drawer" : z ?? t, n = m(null), r = m(null), w = m(!1), H = m(!1);
8
+ import { Fragment as te, jsx as o, jsxs as F } from "react/jsx-runtime";
9
+ var ne = 280, oe = ({ animateOnHover: I = !0, canResize: N = !0, children: y, dividerClassName: P, drawerBreakpoint: _, drawerClassNames: i, drawerMaxWidth: b = ne, expandedBreakpoint: $, expandOnHover: j = !0, initialMode: C, initialWidth: x = 256, maxWith: s = 300, minWith: a = 240, mode: U = "auto", separatorClassName: D, style: L, theme: E, triggerClassName: X, openNavigationLabel: W, wrapperClassName: O }) => {
10
+ const t = ee(U, $, _, C), [R, v] = M(!1), [S, q] = M(null), [z, T] = M(null), u = t === "drawer" ? "drawer" : z ?? t, n = m(null), r = m(null), w = m(!1), H = m(!1);
11
11
  f(() => {
12
12
  if (t !== "drawer") return;
13
13
  const e = () => {
14
- W(window.innerWidth);
14
+ q(window.innerWidth);
15
15
  };
16
16
  return e(), window.addEventListener("resize", e), () => {
17
17
  window.removeEventListener("resize", e);
@@ -26,7 +26,7 @@ var te = 280, ne = ({ animateOnHover: I = !0, canResize: N = !0, children: y, di
26
26
  c < a && (c = a), c > s && (c = s), r.current && n.current && (r.current.style.width = `${c}px`, n.current.classList.add("opacity-100"));
27
27
  }, [s, a]), V = p(() => {
28
28
  w.current = !1, n.current && n.current.classList.remove("opacity-100"), r.current && r.current.classList.remove("transition-none"), document.body.style.userSelect = "", document.body.style.cursor = "", document.removeEventListener("mousemove", g), document.removeEventListener("mouseup", V);
29
- }, [g]), q = (e) => {
29
+ }, [g]), B = (e) => {
30
30
  e.preventDefault(), e.stopPropagation(), w.current = !0, r.current && r.current.classList.add("transition-none"), document.body.style.userSelect = "none", document.body.style.cursor = "col-resize", document.addEventListener("mousemove", g), document.addEventListener("mouseup", V);
31
31
  };
32
32
  f(() => {
@@ -43,18 +43,19 @@ var te = 280, ne = ({ animateOnHover: I = !0, canResize: N = !0, children: y, di
43
43
  a,
44
44
  u
45
45
  ]);
46
- const B = () => {
46
+ const G = () => {
47
47
  v(!0);
48
48
  }, h = p(() => {
49
49
  v(!1);
50
- }, []), G = p(() => {
50
+ }, []), J = p(() => {
51
51
  T((e) => (e ?? t) === "collapsed" ? "expanded" : "collapsed");
52
52
  }, [t]);
53
- if (t === "drawer") return /* @__PURE__ */ F(re, { children: [/* @__PURE__ */ o(Q, {
53
+ if (t === "drawer") return /* @__PURE__ */ F(te, { children: [/* @__PURE__ */ o(Y, {
54
54
  isOpen: R,
55
- onClick: B,
56
- className: X
57
- }), /* @__PURE__ */ o(Y, {
55
+ onClick: G,
56
+ className: X,
57
+ openNavigationLabel: W
58
+ }), /* @__PURE__ */ o(Z, {
58
59
  isOpen: R,
59
60
  onClose: h,
60
61
  position: "left",
@@ -86,7 +87,7 @@ var te = 280, ne = ({ animateOnHover: I = !0, canResize: N = !0, children: y, di
86
87
  })
87
88
  })
88
89
  })] });
89
- const d = z ?? t, J = N && d === "expanded", K = {
90
+ const d = z ?? t, K = N && d === "expanded", Q = {
90
91
  mode: d,
91
92
  isCollapsed: d === "collapsed",
92
93
  expandOnHover: j,
@@ -94,10 +95,10 @@ var te = 280, ne = ({ animateOnHover: I = !0, canResize: N = !0, children: y, di
94
95
  separatorClassName: D,
95
96
  closeDrawer: h,
96
97
  canToggle: !0,
97
- toggleMode: G
98
+ toggleMode: J
98
99
  };
99
100
  return /* @__PURE__ */ o(k.Provider, {
100
- value: K,
101
+ value: Q,
101
102
  children: /* @__PURE__ */ F("aside", {
102
103
  ref: r,
103
104
  className: l("konstruct-sidebar", A({
@@ -107,15 +108,15 @@ var te = 280, ne = ({ animateOnHover: I = !0, canResize: N = !0, children: y, di
107
108
  "data-theme": E,
108
109
  "data-mode": d,
109
110
  style: L,
110
- children: [y, J && /* @__PURE__ */ o("div", {
111
+ children: [y, K && /* @__PURE__ */ o("div", {
111
112
  ref: n,
112
- className: l(ee({ className: P })),
113
- onMouseDown: q
113
+ className: l(re({ className: P })),
114
+ onMouseDown: B
114
115
  })]
115
116
  })
116
117
  });
117
118
  };
118
- ne.displayName = "Sidebar.Wrapper";
119
+ oe.displayName = "Sidebar.Wrapper";
119
120
  export {
120
- ne as Wrapper
121
+ oe as Wrapper
121
122
  };
@@ -1,4 +1,4 @@
1
- import { t as r } from "../../../HamburgerTrigger-DRylBL2d.js";
1
+ import { t as r } from "../../../HamburgerTrigger-B_NGSZ2r.js";
2
2
  import { CollapseTrigger as m } from "./CollapseTrigger/CollapseTrigger.js";
3
3
  import { Footer as p } from "./Footer/Footer.js";
4
4
  import { Label as f } from "./Label/Label.js";
@@ -1,5 +1,5 @@
1
- import { t } from "../../utils-Cx-WzRZF.js";
2
- import { i as v, r as N, t as S } from "../../dist-DDck_2lb.js";
1
+ import { t } from "../../utils-B-6R7kNE.js";
2
+ import { i as v, r as N, t as S } from "../../dist-BIBFLVt1.js";
3
3
  import { sliderVariants as V, thumbVariants as g, trackVariants as j } from "./Slider.variants.js";
4
4
  import { forwardRef as b, useEffect as w, useImperativeHandle as y, useRef as R, useState as k } from "react";
5
5
  import { jsx as r, jsxs as l } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { t as o } from "../../Spinner-CUwE2bLm.js";
1
+ import { t as o } from "../../Spinner-BJE79VTl.js";
2
2
  export {
3
3
  o as Spinner
4
4
  };
@@ -1,4 +1,4 @@
1
- import { t as s } from "../../utils-Cx-WzRZF.js";
1
+ import { t as s } from "../../utils-B-6R7kNE.js";
2
2
  import { stepItemVariants as S, stepListVariants as b, stepperVariants as k } from "./Stepper.variants.js";
3
3
  import { StepItem as C } from "./components/StepItem/StepItem.js";
4
4
  import { useMemo as I } from "react";
@@ -1,5 +1,5 @@
1
- import { t } from "../../../../utils-Cx-WzRZF.js";
2
- import { t as v } from "../../../../StepIndicatorContent-CjbjVjS1.js";
1
+ import { t } from "../../../../utils-B-6R7kNE.js";
2
+ import { t as v } from "../../../../StepIndicatorContent-BGDvxLzV.js";
3
3
  import { useStepItemLogic as w } from "../../hooks/useStepItemLogic.js";
4
4
  import { stepContentVariants as C, stepDescriptionVariants as k, stepIndicatorVariants as g, stepLabelVariants as I, stepVariants as x } from "../../Stepper.variants.js";
5
5
  import { getStepAriaLabel as S } from "../../utils/index.js";
@@ -1,4 +1,4 @@
1
- import { t as m } from "../../../../utils-Cx-WzRZF.js";
1
+ import { t as m } from "../../../../utils-B-6R7kNE.js";
2
2
  import { stepConnectorVariants as n } from "../../Stepper.variants.js";
3
3
  import { memo as i } from "react";
4
4
  import { jsx as p } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { t as o } from "../../../../StepIndicatorContent-CjbjVjS1.js";
1
+ import { t as o } from "../../../../StepIndicatorContent-BGDvxLzV.js";
2
2
  export {
3
3
  o as StepIndicatorContent
4
4
  };
@@ -1,5 +1,5 @@
1
- import { t as a } from "../../../../utils-Cx-WzRZF.js";
2
- import { t as x } from "../../../../StepIndicatorContent-CjbjVjS1.js";
1
+ import { t as a } from "../../../../utils-B-6R7kNE.js";
2
+ import { t as x } from "../../../../StepIndicatorContent-BGDvxLzV.js";
3
3
  import { useStepItemLogic as V } from "../../hooks/useStepItemLogic.js";
4
4
  import { stepContentVariants as I, stepDescriptionVariants as S, stepIndicatorVariants as k, stepLabelVariants as D, stepVariants as L } from "../../Stepper.variants.js";
5
5
  import { getStepAriaLabel as g } from "../../utils/index.js";
@@ -1,4 +1,4 @@
1
- import { t as o } from "../../Switch-aPhL5rNG.js";
1
+ import { t as o } from "../../Switch-C7286Bcu.js";
2
2
  export {
3
3
  o as Switch
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { t as a } from "../../dist-B9GE4SXf.js";
2
- var t = a([
2
+ var e = a([
3
3
  "w-10",
4
4
  "h-5",
5
5
  "flex",
@@ -13,8 +13,6 @@ var t = a([
13
13
  "delay-10",
14
14
  "duration-250",
15
15
  "cursor-pointer",
16
- "bg-aurora-500",
17
- "kubefirst:bg-kubefirst-primary",
18
16
  "[&+label,&+span]:cursor-pointer",
19
17
  "disabled:[&+label,&+span,&]:cursor-not-allowed",
20
18
  "disabled:bg-gray-200",
@@ -24,7 +22,17 @@ var t = a([
24
22
  "dark:disabled:data-[state=unchecked]:[&>span]:bg-metal-600",
25
23
  "dark:disabled:data-[state=unchecked]:bg-metal-700",
26
24
  "dark:disabled:[&>span]:bg-metal-600"
27
- ]), d = a([
25
+ ], {
26
+ variants: { variant: {
27
+ default: ["bg-aurora-500", "kubefirst:bg-kubefirst-primary"],
28
+ black: [
29
+ "bg-black",
30
+ "dark:bg-aurora-500",
31
+ "kubefirst:bg-kubefirst-primary"
32
+ ]
33
+ } },
34
+ defaultVariants: { variant: "default" }
35
+ }), d = a([
28
36
  "block",
29
37
  "w-4",
30
38
  "h-4",
@@ -34,12 +42,12 @@ var t = a([
34
42
  "rounded-full",
35
43
  "shadow-md",
36
44
  "transition-all",
37
- "translate-x-1",
38
- "data-[state=checked]:translate-x-5",
45
+ "translate-x-0.5",
46
+ "data-[state=checked]:translate-x-5.5",
39
47
  "delay-10",
40
48
  "duration-300"
41
49
  ]);
42
50
  export {
43
- t as switchVariants,
51
+ e as switchVariants,
44
52
  d as thumbVariants
45
53
  };
@@ -1,4 +1,4 @@
1
- import { t as e } from "../../utils-Cx-WzRZF.js";
1
+ import { t as e } from "../../utils-B-6R7kNE.js";
2
2
  import { tableVariants as i } from "./Table.variants.js";
3
3
  import { Body as p } from "./components/Body.js";
4
4
  import { Filter as f } from "./components/Filter.js";
@@ -1,4 +1,4 @@
1
- import { t } from "../../../utils-Cx-WzRZF.js";
1
+ import { t } from "../../../utils-B-6R7kNE.js";
2
2
  import { bodyVariants as a } from "../Table.variants.js";
3
3
  import { jsx as s } from "react/jsx-runtime";
4
4
  var f = ({ children: o, className: r, ...m }) => /* @__PURE__ */ s("tbody", {
@@ -1,4 +1,4 @@
1
- import { t as a } from "../../../Input-Cf44DzfE.js";
1
+ import { t as a } from "../../../Input-is8n7emP.js";
2
2
  import { jsx as s, jsxs as t } from "react/jsx-runtime";
3
3
  var m = ({ children: e, ...r }) => /* @__PURE__ */ t("div", {
4
4
  className: "flex px-4 py-6 rounded-t",
@@ -1,4 +1,4 @@
1
- import { t as o } from "../../../utils-Cx-WzRZF.js";
1
+ import { t as o } from "../../../utils-B-6R7kNE.js";
2
2
  import { headVariants as t } from "../Table.variants.js";
3
3
  import { jsx as e } from "react/jsx-runtime";
4
4
  var d = ({ children: a, className: r, ...m }) => /* @__PURE__ */ e("thead", {
@@ -1,4 +1,4 @@
1
- import { t as i } from "../../../utils-Cx-WzRZF.js";
1
+ import { t as i } from "../../../utils-B-6R7kNE.js";
2
2
  import { rowVariants as p } from "../Table.variants.js";
3
3
  import { jsx as c } from "react/jsx-runtime";
4
4
  var n = ({ children: r, className: o, width: t, isSelected: m, onSelect: a, ...s }) => /* @__PURE__ */ c("tr", {