@konstructio/ui 0.1.2-alpha.76 → 0.1.2-alpha.77

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 (330) hide show
  1. package/dist/AdditionalOptions-DiXvUzhu.js +42 -0
  2. package/dist/Modal-h5H4yxYg.js +128 -0
  3. package/dist/assets/icons/components/Accounts.js +23 -35
  4. package/dist/assets/icons/components/AddChart.js +20 -26
  5. package/dist/assets/icons/components/AlertOutline.js +20 -26
  6. package/dist/assets/icons/components/AppRepo.js +20 -26
  7. package/dist/assets/icons/components/Apps.js +20 -26
  8. package/dist/assets/icons/components/Archives.js +20 -26
  9. package/dist/assets/icons/components/ArrowDown.js +20 -26
  10. package/dist/assets/icons/components/ArrowLeft.js +20 -26
  11. package/dist/assets/icons/components/ArrowRight.js +20 -26
  12. package/dist/assets/icons/components/ArrowUp.js +19 -25
  13. package/dist/assets/icons/components/BarChart.js +24 -36
  14. package/dist/assets/icons/components/BookOpen.js +20 -30
  15. package/dist/assets/icons/components/CalendarMonth.js +20 -26
  16. package/dist/assets/icons/components/Check.js +20 -26
  17. package/dist/assets/icons/components/CheckCircleFilled.js +25 -29
  18. package/dist/assets/icons/components/CheckCircleOutline.js +20 -26
  19. package/dist/assets/icons/components/CheckboxMarkedCircleOutline.js +20 -24
  20. package/dist/assets/icons/components/ClockAlert.js +20 -26
  21. package/dist/assets/icons/components/ClockOutline.js +20 -26
  22. package/dist/assets/icons/components/Close.js +20 -26
  23. package/dist/assets/icons/components/Cloud.js +20 -20
  24. package/dist/assets/icons/components/CloudLockOutline.js +20 -26
  25. package/dist/assets/icons/components/Clusters.js +24 -42
  26. package/dist/assets/icons/components/CogOutline.js +20 -26
  27. package/dist/assets/icons/components/Copy.js +20 -26
  28. package/dist/assets/icons/components/Cpu.js +23 -39
  29. package/dist/assets/icons/components/Cube.js +20 -26
  30. package/dist/assets/icons/components/Datacenter.js +20 -26
  31. package/dist/assets/icons/components/Delete.js +20 -26
  32. package/dist/assets/icons/components/DollarSign.js +20 -28
  33. package/dist/assets/icons/components/Download.js +20 -26
  34. package/dist/assets/icons/components/Edit.js +20 -26
  35. package/dist/assets/icons/components/Ellipses.js +20 -26
  36. package/dist/assets/icons/components/Environments.js +20 -28
  37. package/dist/assets/icons/components/Error.js +20 -26
  38. package/dist/assets/icons/components/ErrorOutline.js +20 -26
  39. package/dist/assets/icons/components/Exclamation.js +20 -26
  40. package/dist/assets/icons/components/Git.js +20 -26
  41. package/dist/assets/icons/components/GitOpsCatalog.js +23 -39
  42. package/dist/assets/icons/components/GridView.js +20 -20
  43. package/dist/assets/icons/components/Help.js +25 -23
  44. package/dist/assets/icons/components/HideOutline.js +23 -35
  45. package/dist/assets/icons/components/Home.js +20 -26
  46. package/dist/assets/icons/components/Home2.js +20 -26
  47. package/dist/assets/icons/components/Id.js +19 -25
  48. package/dist/assets/icons/components/InfoCircle.js +25 -29
  49. package/dist/assets/icons/components/InformationOutline.js +20 -26
  50. package/dist/assets/icons/components/InvoiceList.js +20 -26
  51. package/dist/assets/icons/components/Key.js +20 -26
  52. package/dist/assets/icons/components/LightBulb.js +23 -41
  53. package/dist/assets/icons/components/Loader.js +20 -26
  54. package/dist/assets/icons/components/Network.js +20 -26
  55. package/dist/assets/icons/components/PagesStack.js +25 -23
  56. package/dist/assets/icons/components/Pageview.js +20 -26
  57. package/dist/assets/icons/components/People.js +20 -26
  58. package/dist/assets/icons/components/PhotoLibrary.js +19 -25
  59. package/dist/assets/icons/components/Pipeline.js +20 -28
  60. package/dist/assets/icons/components/Plus.js +20 -26
  61. package/dist/assets/icons/components/PowerSettings.js +20 -26
  62. package/dist/assets/icons/components/Preview.js +20 -26
  63. package/dist/assets/icons/components/ReceiptLong.js +20 -20
  64. package/dist/assets/icons/components/Refresh.js +20 -26
  65. package/dist/assets/icons/components/ScatterPlot.js +20 -20
  66. package/dist/assets/icons/components/Search.js +25 -30
  67. package/dist/assets/icons/components/Server.js +20 -26
  68. package/dist/assets/icons/components/Start.js +20 -26
  69. package/dist/assets/icons/components/TabNew.js +24 -48
  70. package/dist/assets/icons/components/Teams.js +20 -26
  71. package/dist/assets/icons/components/Upload.js +19 -25
  72. package/dist/assets/icons/components/Warning.js +20 -26
  73. package/dist/assets/icons/components/WarningTriangle.js +20 -26
  74. package/dist/assets/icons/components/X.js +20 -26
  75. package/dist/compiler-runtime-DA41awpA.js +36 -0
  76. package/dist/components/Alert/Alert.js +78 -61
  77. package/dist/components/Alert/Alert.variants.js +30 -85
  78. package/dist/components/AlertDialog/AlertDialog.js +102 -128
  79. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +3 -2
  80. package/dist/components/AlertDialog/components/index.js +1 -1
  81. package/dist/components/AlertDialog/hooks/useAlertDialog.js +25 -7
  82. package/dist/components/Autocomplete/Autocomplete.js +55 -83
  83. package/dist/components/Autocomplete/Autocomplete.variants.js +1 -21
  84. package/dist/components/Autocomplete/components/List/List.js +48 -45
  85. package/dist/components/Autocomplete/components/List/List.variants.js +1 -29
  86. package/dist/components/Autocomplete/hooks/useAutocomplete.js +74 -58
  87. package/dist/components/Autocomplete/hooks/useNavigationList.js +68 -62
  88. package/dist/components/Badge/Badge.js +66 -77
  89. package/dist/components/Badge/Badge.variants.js +33 -96
  90. package/dist/components/Breadcrumb/Breadcrumb.js +78 -70
  91. package/dist/components/Breadcrumb/Breadcrumb.variants.js +1 -7
  92. package/dist/components/Breadcrumb/components/Item/Item.js +33 -47
  93. package/dist/components/Breadcrumb/components/Item/Item.variants.js +26 -63
  94. package/dist/components/Button/Button.js +37 -40
  95. package/dist/components/Button/Button.variants.js +96 -292
  96. package/dist/components/ButtonGroup/ButtonGroup.js +101 -138
  97. package/dist/components/ButtonGroup/ButtonGroup.variants.js +9 -31
  98. package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.js +105 -113
  99. package/dist/components/ButtonGroup/components/ButtonGroupItem/ButtonGroupItem.variants.js +48 -94
  100. package/dist/components/ButtonGroup/components/ButtonGroupLabel/ButtonGroupLabel.js +26 -43
  101. package/dist/components/ButtonGroup/components/ButtonGroupMessage/ButtonGroupMessage.js +28 -35
  102. package/dist/components/ButtonGroup/hooks/useButtonGroup.js +63 -61
  103. package/dist/components/Card/Card.js +35 -35
  104. package/dist/components/Card/Card.variants.js +25 -37
  105. package/dist/components/Checkbox/Checkbox.js +247 -268
  106. package/dist/components/Checkbox/Checkbox.variants.js +18 -65
  107. package/dist/components/Command/Command.js +46 -38
  108. package/dist/components/Command/Command.variants.js +1 -44
  109. package/dist/components/Command/components/Command.js +19 -6
  110. package/dist/components/Command/components/CommandEmpty.js +11 -13
  111. package/dist/components/Command/components/CommandGroup.js +19 -17
  112. package/dist/components/Command/components/CommandInput.js +60 -52
  113. package/dist/components/Command/components/CommandItem.js +28 -26
  114. package/dist/components/Command/components/CommandList.js +19 -14
  115. package/dist/components/Command/components/CommandSeparator.js +19 -14
  116. package/dist/components/Command/components/CommandShortcut.js +16 -16
  117. package/dist/components/Command/components/DialogContent.js +35 -29
  118. package/dist/components/Command/components/DialogOverlay.js +18 -16
  119. package/dist/components/Command/contexts/Command.provider.js +23 -21
  120. package/dist/components/Counter/Counter.js +151 -154
  121. package/dist/components/Counter/Counter.variants.js +6 -53
  122. package/dist/components/DateRangePicker/DateRangePicker.js +93 -162
  123. package/dist/components/DateRangePicker/DateRangePicker.variants.js +1 -20
  124. package/dist/components/DateRangePicker/components/CalendarPanel/CalendarPanel.js +81 -115
  125. package/dist/components/DateRangePicker/components/CalendarPanel/CalendarPanel.variants.js +1 -45
  126. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarDivider/CalendarDivider.js +14 -20
  127. package/dist/components/DateRangePicker/components/CalendarPanel/components/CalendarMonth/CalendarMonth.js +50 -57
  128. package/dist/components/DateRangePicker/components/CalendarPanel/components/IndependentModeCalendar/IndependentModeCalendar.js +56 -251
  129. package/dist/components/DateRangePicker/components/CalendarPanel/components/NavigationButton/NavigationButton.js +33 -37
  130. package/dist/components/DateRangePicker/components/CalendarPanel/components/TogetherModeCalendar/TogetherModeCalendar.js +30 -95
  131. package/dist/components/DateRangePicker/components/CalendarPanel/constants/index.js +10 -126
  132. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useIndependentCarousel.js +138 -113
  133. package/dist/components/DateRangePicker/components/CalendarPanel/hooks/useTogetherCarousel.js +2 -16
  134. package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.js +68 -102
  135. package/dist/components/DateRangePicker/components/DateTimeInputs/DateTimeInputs.variants.js +1 -22
  136. package/dist/components/DateRangePicker/components/DateTimeInputs/components/EndInputFields/EndInputFields.js +55 -90
  137. package/dist/components/DateRangePicker/components/DateTimeInputs/components/StartInputFields/StartInputFields.js +55 -90
  138. package/dist/components/DateRangePicker/components/DateTimeInputs/hooks/useDateTimeInputs.js +204 -177
  139. package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.js +58 -63
  140. package/dist/components/DateRangePicker/components/PresetPanel/PresetPanel.variants.js +1 -19
  141. package/dist/components/DateRangePicker/constants/presets.js +16 -7
  142. package/dist/components/DateRangePicker/contexts/date-range-picker.hook.js +1 -3
  143. package/dist/components/DateRangePicker/contexts/date-range-picker.provider.js +187 -171
  144. package/dist/components/DateRangePicker/utils/disabled-dates.js +16 -22
  145. package/dist/components/DateRangePicker/utils/validation.js +2 -17
  146. package/dist/components/Datepicker/DatePicker.js +80 -135
  147. package/dist/components/Divider/Divider.js +18 -7
  148. package/dist/components/Drawer/Drawer.js +108 -130
  149. package/dist/components/Drawer/Drawer.variants.js +17 -81
  150. package/dist/components/Drawer/components/Body/Body.js +18 -21
  151. package/dist/components/Drawer/components/Footer/Footer.js +18 -23
  152. package/dist/components/Drawer/components/Header/Header.js +20 -24
  153. package/dist/components/Drawer/contexts/Drawer.context.js +2 -2
  154. package/dist/components/Drawer/hooks/useDrawer.js +81 -57
  155. package/dist/components/DropdownButton/DropdownButton.js +99 -114
  156. package/dist/components/Filter/Filter.js +40 -29
  157. package/dist/components/Filter/Filter.variants.js +1 -17
  158. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.hook.js +128 -94
  159. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +83 -144
  160. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +87 -81
  161. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +66 -120
  162. package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.hook.js +22 -34
  163. package/dist/components/Filter/components/DateRangeFilterDropdown/DateRangeFilterDropdown.js +74 -117
  164. package/dist/components/Filter/components/ResetButton/ResetButton.js +24 -29
  165. package/dist/components/Filter/components/TextMultiSelect/TextMultiSelect.js +83 -135
  166. package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.hook.js +83 -69
  167. package/dist/components/Filter/components/TimeFilterDropdown/TimeFilterDropdown.js +80 -151
  168. package/dist/components/Filter/contexts/filter.provider.js +16 -4
  169. package/dist/components/Filter/events/index.js +3 -3
  170. package/dist/components/ImageUpload/ImageUpload.js +48 -150
  171. package/dist/components/ImageUpload/ImageUpload.variants.js +41 -93
  172. package/dist/components/Input/Input.js +43 -168
  173. package/dist/components/Input/Input.variants.js +9 -51
  174. package/dist/components/LineChart/LineChart.js +83 -120
  175. package/dist/components/Loading/Loading.js +22 -18
  176. package/dist/components/Loading/Loading.variants.js +1 -8
  177. package/dist/components/Modal/Modal.js +3 -2
  178. package/dist/components/Modal/components/Body/Body.js +16 -5
  179. package/dist/components/Modal/components/Footer/Footer.js +16 -11
  180. package/dist/components/Modal/components/Header/Header.js +16 -11
  181. package/dist/components/Modal/components/Wrapper/Wrapper.js +4 -3
  182. package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +1 -28
  183. package/dist/components/Modal/components/index.js +1 -1
  184. package/dist/components/Modal/contexts/Modal.context.js +1 -3
  185. package/dist/components/Modal/contexts/Modal.provider.js +33 -23
  186. package/dist/components/Modal/hooks/useModal.js +29 -18
  187. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +26 -32
  188. package/dist/components/MultiSelectDropdown/MultiSelectDropdown.variants.js +1 -25
  189. package/dist/components/MultiSelectDropdown/components/Item/Item.js +32 -27
  190. package/dist/components/MultiSelectDropdown/components/Item/Item.variants.js +13 -32
  191. package/dist/components/MultiSelectDropdown/components/List/List.js +26 -27
  192. package/dist/components/MultiSelectDropdown/components/List/List.variants.js +1 -21
  193. package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +73 -123
  194. package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.hook.js +1 -3
  195. package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.provider.js +128 -131
  196. package/dist/components/MultiSelectDropdown/hooks/useMultiSelectDropdown.js +30 -26
  197. package/dist/components/PhoneNumberInput/PhoneNumberInput.js +19 -6
  198. package/dist/components/PhoneNumberInput/PhoneNumberInput.variants.js +9 -39
  199. package/dist/components/PhoneNumberInput/components/FlagContent/FlagContent.js +28 -33
  200. package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +171 -231
  201. package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +7 -41
  202. package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +47 -36
  203. package/dist/components/PhoneNumberInput/components/Wrapper.js +465 -503
  204. package/dist/components/PhoneNumberInput/contexts/phone-number.hook.js +1 -3
  205. package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +1163 -1135
  206. package/dist/components/PieChart/PieChart.js +82 -72
  207. package/dist/components/ProgressBar/ProgressBar.js +47 -38
  208. package/dist/components/ProgressBar/ProgressBar.variants.js +11 -28
  209. package/dist/components/Radio/Radio.js +71 -95
  210. package/dist/components/Radio/Radio.variants.js +33 -85
  211. package/dist/components/RadioCard/RadioCard.js +32 -36
  212. package/dist/components/RadioCardGroup/RadioCardGroup.js +42 -43
  213. package/dist/components/RadioGroup/RadioGroup.js +48 -48
  214. package/dist/components/Range/Range.js +83 -61
  215. package/dist/components/Range/Range.variants.js +19 -49
  216. package/dist/components/Select/Select.js +52 -65
  217. package/dist/components/Select/Select.variants.js +13 -66
  218. package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.js +3 -2
  219. package/dist/components/Select/components/AdditionalOptions/AdditionalOptions.variants.js +1 -22
  220. package/dist/components/Select/components/EmptyList.js +8 -3
  221. package/dist/components/Select/components/List/List.js +89 -168
  222. package/dist/components/Select/components/List/List.variants.js +1 -41
  223. package/dist/components/Select/components/ListItem/ListItem.js +41 -96
  224. package/dist/components/Select/components/ListItem/ListItem.variants.js +1 -19
  225. package/dist/components/Select/components/Wrapper.js +110 -233
  226. package/dist/components/Select/components/index.js +1 -1
  227. package/dist/components/Select/contexts/select.provider.js +34 -41
  228. package/dist/components/Select/hooks/useNavigationList.js +50 -44
  229. package/dist/components/Select/hooks/useSelect.js +104 -94
  230. package/dist/components/Sidebar/Sidebar.js +26 -21
  231. package/dist/components/Sidebar/Sidebar.variants.js +1 -27
  232. package/dist/components/Sidebar/components/Footer/Footer.js +18 -6
  233. package/dist/components/Sidebar/components/Footer/Footer.variants.js +1 -8
  234. package/dist/components/Sidebar/components/Logo/Logo.js +18 -6
  235. package/dist/components/Sidebar/components/Logo/Logo.variants.js +1 -19
  236. package/dist/components/Sidebar/components/Navigation/Navigation.js +26 -17
  237. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +33 -24
  238. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +24 -24
  239. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +12 -39
  240. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +17 -6
  241. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js +1 -5
  242. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +20 -5
  243. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.js +1 -10
  244. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +21 -60
  245. package/dist/components/Slider/Slider.js +70 -56
  246. package/dist/components/Slider/Slider.variants.js +19 -41
  247. package/dist/components/Spinner/Spinner.js +56 -55
  248. package/dist/components/Spinner/Spinner.variants.js +19 -45
  249. package/dist/components/Stepper/Stepper.js +56 -72
  250. package/dist/components/Stepper/Stepper.variants.js +132 -188
  251. package/dist/components/Stepper/components/HorizontalStepItem/HorizontalStepItem.js +151 -197
  252. package/dist/components/Stepper/components/StepConnector/StepConnector.js +24 -27
  253. package/dist/components/Stepper/components/StepIndicatorContent/StepIndicatorContent.js +39 -20
  254. package/dist/components/Stepper/components/StepItem/StepItem.js +15 -6
  255. package/dist/components/Stepper/components/VerticalStepItem/VerticalStepItem.js +93 -111
  256. package/dist/components/Stepper/hooks/useStepItemLogic.js +3 -6
  257. package/dist/components/Switch/Switch.js +135 -178
  258. package/dist/components/Switch/Switch.variants.js +1 -40
  259. package/dist/components/Table/Table.js +29 -25
  260. package/dist/components/Table/Table.variants.js +6 -30
  261. package/dist/components/Table/components/Body.js +20 -16
  262. package/dist/components/Table/components/Filter.js +21 -7
  263. package/dist/components/Table/components/Head.js +20 -16
  264. package/dist/components/Table/components/Row.js +28 -26
  265. package/dist/components/Tabs/Tabs.js +34 -26
  266. package/dist/components/Tabs/Tabs.variants.js +10 -39
  267. package/dist/components/Tabs/components/Content.js +23 -14
  268. package/dist/components/Tabs/components/List.js +28 -19
  269. package/dist/components/Tabs/components/Trigger.js +25 -21
  270. package/dist/components/Tag/Tag.js +33 -17
  271. package/dist/components/Tag/Tag.variants.js +23 -36
  272. package/dist/components/TagSelect/TagSelect.js +19 -8
  273. package/dist/components/TagSelect/TagSelect.variants.js +1 -22
  274. package/dist/components/TagSelect/components/Item/Item.js +24 -18
  275. package/dist/components/TagSelect/components/Item/Item.variants.js +13 -26
  276. package/dist/components/TagSelect/components/List/List.js +22 -9
  277. package/dist/components/TagSelect/components/List/List.variants.js +1 -19
  278. package/dist/components/TagSelect/components/Wrapper/Wrapper.js +68 -84
  279. package/dist/components/TagSelect/contexts/TagSelect.provider.js +75 -65
  280. package/dist/components/TagSelect/hooks/useTagSelect.js +30 -26
  281. package/dist/components/TextArea/TextArea.js +35 -34
  282. package/dist/components/TextArea/TextArea.variants.js +1 -16
  283. package/dist/components/TimePicker/TimePicker.js +21 -11
  284. package/dist/components/TimePicker/TimePicker.variants.js +1 -64
  285. package/dist/components/TimePicker/components/HoursList/HoursList.js +77 -116
  286. package/dist/components/TimePicker/components/MeridianList/MeridianList.js +79 -88
  287. package/dist/components/TimePicker/components/MinutesList/MinutesList.js +66 -89
  288. package/dist/components/TimePicker/components/Wrapper/Wrapper.js +144 -228
  289. package/dist/components/TimePicker/components/WrapperList/WrapperList.js +44 -75
  290. package/dist/components/TimePicker/contexts/time-picker.hook.js +1 -3
  291. package/dist/components/TimePicker/contexts/time-picker.provider.js +76 -58
  292. package/dist/components/Toast/Toast.js +374 -338
  293. package/dist/components/Toast/Toast.variants.js +10 -43
  294. package/dist/components/Tooltip/Tooltip.js +36 -35
  295. package/dist/components/Typography/Typography.js +26 -23
  296. package/dist/components/Typography/Typography.variants.js +24 -59
  297. package/dist/components/VirtualizedTable/VirtualizedTable.js +9 -91
  298. package/dist/components/VirtualizedTable/assets/chevron-down.js +13 -23
  299. package/dist/components/VirtualizedTable/assets/chevron-up.js +12 -22
  300. package/dist/components/VirtualizedTable/components/Actions/Actions.js +62 -115
  301. package/dist/components/VirtualizedTable/components/Body/Body.js +29 -83
  302. package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +104 -165
  303. package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +13 -19
  304. package/dist/components/VirtualizedTable/components/ExpandableRow/ExpandableRow.js +43 -49
  305. package/dist/components/VirtualizedTable/components/Filter/Filter.js +116 -174
  306. package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +32 -57
  307. package/dist/components/VirtualizedTable/components/Header/Header.js +61 -98
  308. package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +65 -63
  309. package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +32 -102
  310. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +51 -58
  311. package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +20 -24
  312. package/dist/components/VirtualizedTable/contexts/table.provider.js +129 -158
  313. package/dist/components/VirtualizedTable/events/index.js +18 -18
  314. package/dist/components/index.js +1 -1
  315. package/dist/contexts/theme.provider.js +61 -49
  316. package/dist/hooks/useToggle.js +10 -8
  317. package/dist/index-0g-eSmV1.js +142 -0
  318. package/dist/{index-Jr0cra7i.js → index-B9v5VxE2.js} +6 -6
  319. package/dist/{index-DWyM654o.js → index-C6mt--X_.js} +5 -5
  320. package/dist/{index-mPinF0Ho.js → index-CiACf4ao.js} +3 -3
  321. package/dist/{index-CrCTywU1.js → index-Dy4FVowi.js} +1 -1
  322. package/dist/{index-Cmf-IG4l.js → index-kTGTSLpq.js} +1 -1
  323. package/dist/index.js +1 -1
  324. package/dist/package.json +12 -11
  325. package/dist/{proxy-BvdTb_6B.js → proxy-BGrSEZuV.js} +2001 -1929
  326. package/dist/utils/index.js +1 -3
  327. package/package.json +12 -11
  328. package/dist/AdditionalOptions-C2FDVZhu.js +0 -45
  329. package/dist/Modal-BTOXCb0Y.js +0 -120
  330. package/dist/index-C7zAY3xv.js +0 -139
@@ -1,103 +1,113 @@
1
- import { useRef as m, useEffect as c, useCallback as w } from "react";
2
- import { useSelectContext as L } from "../contexts/select.hook.js";
3
- const y = ({
4
- ulRef: f,
5
- inputRef: r,
6
- disabled: E,
7
- internalValue: u,
8
- onBlur: g
9
- }) => {
10
- const t = m(null), a = m(null), { value: i, setSearchTerm: v, setCanFilter: d, toggleOpen: n } = L();
11
- c(() => {
12
- const e = new AbortController(), s = (l) => {
13
- l.key === "Escape" && n(!1);
14
- }, o = (l) => {
15
- t.current?.contains(l.target) || n(!1);
1
+ import { c as _ } from "../../../compiler-runtime-DA41awpA.js";
2
+ import { useRef as O, useEffect as v } from "react";
3
+ import { useSelectContext as q } from "../contexts/select.hook.js";
4
+ const K = (T) => {
5
+ const e = _.c(36), {
6
+ ulRef: m,
7
+ inputRef: r,
8
+ disabled: x,
9
+ internalValue: s,
10
+ onBlur: u
11
+ } = T, o = O(null), f = O(null), {
12
+ value: l,
13
+ setSearchTerm: c,
14
+ setCanFilter: d,
15
+ toggleOpen: t
16
+ } = q();
17
+ let p;
18
+ e[0] !== x || e[1] !== t ? (p = () => {
19
+ const n = new AbortController(), i = (g) => {
20
+ g.key === "Escape" && t(!1);
21
+ }, a = (g) => {
22
+ o.current?.contains(g.target) || t(!1);
16
23
  };
17
- return document.addEventListener("keydown", s, {
18
- signal: e.signal
19
- }), document.addEventListener("mousedown", o, {
20
- signal: e.signal
21
- }), document.addEventListener(
22
- "visibilitychange",
23
- () => {
24
- document.hidden && n(!1);
25
- },
26
- {
27
- signal: e.signal
28
- }
29
- ), a.current?.addEventListener(
30
- "focusin",
31
- (l) => {
32
- !E && l.target?.matches(":focus-visible") && n(!0);
33
- },
34
- { signal: e.signal }
35
- ), () => {
36
- e.abort();
24
+ return document.addEventListener("keydown", i, {
25
+ signal: n.signal
26
+ }), document.addEventListener("mousedown", a, {
27
+ signal: n.signal
28
+ }), document.addEventListener("visibilitychange", () => {
29
+ document.hidden && t(!1);
30
+ }, {
31
+ signal: n.signal
32
+ }), f.current?.addEventListener("focusin", (g) => {
33
+ !x && g.target?.matches(":focus-visible") && t(!0);
34
+ }, {
35
+ signal: n.signal
36
+ }), () => {
37
+ n.abort();
37
38
  };
38
- }, [n, t]), c(() => {
39
- const e = new AbortController();
40
- return a.current?.addEventListener(
41
- "keydown",
42
- (s) => {
43
- if (s.key === "ArrowDown") {
44
- const o = f.current?.querySelector("li");
45
- o && o.focus();
46
- }
47
- },
48
- { signal: e.signal }
49
- ), () => {
50
- e.abort();
39
+ }, e[0] = x, e[1] = t, e[2] = p) : p = e[2];
40
+ let E;
41
+ e[3] !== t ? (E = [t, o], e[3] = t, e[4] = E) : E = e[4], v(p, E);
42
+ let b, w;
43
+ e[5] !== m ? (b = () => {
44
+ const n = new AbortController();
45
+ return f.current?.addEventListener("keydown", (i) => {
46
+ if (i.key === "ArrowDown") {
47
+ const a = m.current?.querySelector("li");
48
+ a && a.focus();
49
+ }
50
+ }, {
51
+ signal: n.signal
52
+ }), () => {
53
+ n.abort();
51
54
  };
52
- }, [a, f]), c(() => {
53
- const e = new AbortController();
54
- return r?.current?.addEventListener(
55
- "focusin",
56
- () => {
57
- v(u?.value ?? ""), d(!1);
58
- },
59
- { signal: e.signal }
60
- ), r?.current?.addEventListener(
61
- "focusout",
62
- () => {
63
- d(!0);
64
- },
65
- { signal: e.signal }
66
- ), a.current?.addEventListener(
67
- "focus",
68
- () => {
69
- d(!1);
70
- },
71
- { signal: e.signal }
72
- ), t.current?.addEventListener(
73
- "focusout",
74
- (s) => {
75
- t.current?.contains(s.relatedTarget) || n(!1);
76
- },
77
- { signal: e.signal }
78
- ), () => {
79
- e.abort();
55
+ }, w = [f, m], e[5] = m, e[6] = b, e[7] = w) : (b = e[6], w = e[7]), v(b, w);
56
+ let L;
57
+ e[8] !== r || e[9] !== s?.value || e[10] !== d || e[11] !== c || e[12] !== t ? (L = () => {
58
+ const n = new AbortController();
59
+ return r?.current?.addEventListener("focusin", () => {
60
+ c(s?.value ?? ""), d(!1);
61
+ }, {
62
+ signal: n.signal
63
+ }), r?.current?.addEventListener("focusout", () => {
64
+ d(!0);
65
+ }, {
66
+ signal: n.signal
67
+ }), f.current?.addEventListener("focus", () => {
68
+ d(!1);
69
+ }, {
70
+ signal: n.signal
71
+ }), o.current?.addEventListener("focusout", (i) => {
72
+ o.current?.contains(i.relatedTarget) || t(!1);
73
+ }, {
74
+ signal: n.signal
75
+ }), () => {
76
+ n.abort();
80
77
  };
81
- }, [i]), c(() => {
82
- r?.current && (r.current.value = i && u?.value || "");
83
- }, [u, i]), c(() => {
84
- const e = new AbortController();
85
- return t.current?.addEventListener("focusout", (s) => {
86
- const o = s.relatedTarget;
87
- (!o || !t.current?.contains(o)) && (r?.current?.value || g?.());
78
+ }, e[8] = r, e[9] = s?.value, e[10] = d, e[11] = c, e[12] = t, e[13] = L) : L = e[13];
79
+ let h;
80
+ e[14] !== l ? (h = [l], e[14] = l, e[15] = h) : h = e[15], v(L, h);
81
+ let y;
82
+ e[16] !== r || e[17] !== s?.value || e[18] !== l ? (y = () => {
83
+ r?.current && (r.current.value = l && s?.value || "");
84
+ }, e[16] = r, e[17] = s?.value, e[18] = l, e[19] = y) : y = e[19];
85
+ let C;
86
+ e[20] !== s || e[21] !== l ? (C = [s, l], e[20] = s, e[21] = l, e[22] = C) : C = e[22], v(y, C);
87
+ let A;
88
+ e[23] !== r || e[24] !== u ? (A = () => {
89
+ const n = new AbortController();
90
+ return o.current?.addEventListener("focusout", (i) => {
91
+ const a = i.relatedTarget;
92
+ (!a || !o.current?.contains(a)) && (r?.current?.value || u?.());
88
93
  }), () => {
89
- e.abort();
94
+ n.abort();
90
95
  };
91
- }, [n, t, v, g, i]);
92
- const b = w(() => {
93
- n(!0), requestAnimationFrame(() => r?.current?.focus());
94
- }, [r, n]);
95
- return {
96
- wrapperRef: t,
97
- wrapperInputRef: a,
98
- handleOpen: b
99
- };
96
+ }, e[23] = r, e[24] = u, e[25] = A) : A = e[25];
97
+ let R;
98
+ e[26] !== u || e[27] !== c || e[28] !== t || e[29] !== l ? (R = [t, o, c, u, l], e[26] = u, e[27] = c, e[28] = t, e[29] = l, e[30] = R) : R = e[30], v(A, R);
99
+ let k;
100
+ e[31] !== r || e[32] !== t ? (k = () => {
101
+ t(!0), requestAnimationFrame(() => r?.current?.focus());
102
+ }, e[31] = r, e[32] = t, e[33] = k) : k = e[33];
103
+ const F = k;
104
+ let S;
105
+ return e[34] !== F ? (S = {
106
+ wrapperRef: o,
107
+ wrapperInputRef: f,
108
+ handleOpen: F
109
+ }, e[34] = F, e[35] = S) : S = e[35], S;
100
110
  };
101
111
  export {
102
- y as useSelect
112
+ K as useSelect
103
113
  };
@@ -1,25 +1,30 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import { Wrapper as t } from "./components/Wrapper/Wrapper.js";
3
- import { Footer as a } from "./components/Footer/Footer.js";
4
- import { Logo as p } from "./components/Logo/Logo.js";
5
- import { Navigation as m } from "./components/Navigation/Navigation.js";
6
- import { NavigationGroup as n } from "./components/NavigationGroup/NavigationGroup.js";
7
- import { NavigationOption as g } from "./components/NavigationOption/NavigationOption.js";
8
- import { NavigationSeparator as e } from "./components/NavigationSeparator/NavigationSeparator.js";
9
- const o = (r) => /* @__PURE__ */ i(t, { ...r });
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import { c as m } from "../../compiler-runtime-DA41awpA.js";
3
+ import { Wrapper as p } from "./components/Wrapper/Wrapper.js";
4
+ import { Footer as e } from "./components/Footer/Footer.js";
5
+ import { Logo as n } from "./components/Logo/Logo.js";
6
+ import { Navigation as f } from "./components/Navigation/Navigation.js";
7
+ import { NavigationGroup as g } from "./components/NavigationGroup/NavigationGroup.js";
8
+ import { NavigationOption as N } from "./components/NavigationOption/NavigationOption.js";
9
+ import { NavigationSeparator as v } from "./components/NavigationSeparator/NavigationSeparator.js";
10
+ const o = (t) => {
11
+ const r = m.c(2);
12
+ let i;
13
+ return r[0] !== t ? (i = /* @__PURE__ */ a(p, { ...t }), r[0] = t, r[1] = i) : i = r[1], i;
14
+ };
10
15
  o.displayName = "KonstructSidebar";
11
- o.Footer = a;
12
- o.Logo = p;
13
- o.Navigation = m;
14
- o.NavigationGroup = n;
15
- o.NavigationOption = g;
16
- o.NavigationSeparator = e;
16
+ o.Footer = e;
17
+ o.Logo = n;
18
+ o.Navigation = f;
19
+ o.NavigationGroup = g;
20
+ o.NavigationOption = N;
21
+ o.NavigationSeparator = v;
17
22
  export {
18
- a as Footer,
19
- p as Logo,
20
- m as Navigation,
21
- n as NavigationGroup,
22
- g as NavigationOption,
23
- e as NavigationSeparator,
23
+ e as Footer,
24
+ n as Logo,
25
+ f as Navigation,
26
+ g as NavigationGroup,
27
+ N as NavigationOption,
28
+ v as NavigationSeparator,
24
29
  o as Sidebar
25
30
  };
@@ -1,31 +1,5 @@
1
1
  import { c as r } from "../../index-D29mdTf5.js";
2
- const e = r([
3
- "duration-200",
4
- "ease-linear",
5
- "flex",
6
- "flex-col",
7
- "flex-shrink-0",
8
- "group/sidebar",
9
- "h-full",
10
- "px-4",
11
- "relative",
12
- "transition-all",
13
- "w-18",
14
- "md:w-64",
15
- "bg-kubefirst-dark-blue-900"
16
- ]), o = r([
17
- "absolute",
18
- "top-0",
19
- "right-0",
20
- "h-full",
21
- "opacity-0",
22
- "group-hover/sidebar:opacity-100",
23
- "cursor-col-resize",
24
- "w-[2px]",
25
- "shadow",
26
- "shadow-slate-200",
27
- "bg-slate-200"
28
- ]);
2
+ const e = r(["duration-200", "ease-linear", "flex", "flex-col", "flex-shrink-0", "group/sidebar", "h-full", "px-4", "relative", "transition-all", "w-18", "md:w-64", "bg-kubefirst-dark-blue-900"]), o = r(["absolute", "top-0", "right-0", "h-full", "opacity-0", "group-hover/sidebar:opacity-100", "cursor-col-resize", "w-[2px]", "shadow", "shadow-slate-200", "bg-slate-200"]);
29
3
  export {
30
4
  o as dragVariants,
31
5
  e as wrapperSiderbarVariants
@@ -1,8 +1,20 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { cn as e } from "../../../../utils/index.js";
3
- import { footerVariants as m } from "./Footer.variants.js";
4
- const a = ({ className: o, children: r }) => /* @__PURE__ */ t("footer", { className: e(m({ className: o })), children: r });
5
- a.displayName = "KonstructSidebarFooter";
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { c } from "../../../../compiler-runtime-DA41awpA.js";
3
+ import { cn as a } from "../../../../utils/index.js";
4
+ import { footerVariants as l } from "./Footer.variants.js";
5
+ const n = (m) => {
6
+ const o = c.c(5), {
7
+ className: e,
8
+ children: s
9
+ } = m;
10
+ let t;
11
+ o[0] !== e ? (t = a(l({
12
+ className: e
13
+ })), o[0] = e, o[1] = t) : t = o[1];
14
+ let r;
15
+ return o[2] !== s || o[3] !== t ? (r = /* @__PURE__ */ i("footer", { className: t, children: s }), o[2] = s, o[3] = t, o[4] = r) : r = o[4], r;
16
+ };
17
+ n.displayName = "KonstructSidebarFooter";
6
18
  export {
7
- a as Footer
19
+ n as Footer
8
20
  };
@@ -1,12 +1,5 @@
1
1
  import { c as t } from "../../../../index-D29mdTf5.js";
2
- const e = t([
3
- "p-2",
4
- "pb-5",
5
- "text-white",
6
- "flex",
7
- "flex-col",
8
- "gap-2"
9
- ]);
2
+ const e = t(["p-2", "pb-5", "text-white", "flex", "flex-col", "gap-2"]);
10
3
  export {
11
4
  e as footerVariants
12
5
  };
@@ -1,8 +1,20 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import { cn as m } from "../../../../utils/index.js";
3
- import { logoVariants as t } from "./Logo.variants.js";
4
- const s = ({ children: o, className: r }) => /* @__PURE__ */ a("header", { className: m(t({ className: r })), children: o });
5
- s.displayName = "KonstructSidebarLogo";
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { c as a } from "../../../../compiler-runtime-DA41awpA.js";
3
+ import { cn as c } from "../../../../utils/index.js";
4
+ import { logoVariants as l } from "./Logo.variants.js";
5
+ const n = (m) => {
6
+ const o = a.c(5), {
7
+ children: e,
8
+ className: s
9
+ } = m;
10
+ let r;
11
+ o[0] !== s ? (r = c(l({
12
+ className: s
13
+ })), o[0] = s, o[1] = r) : r = o[1];
14
+ let t;
15
+ return o[2] !== e || o[3] !== r ? (t = /* @__PURE__ */ i("header", { className: r, children: e }), o[2] = e, o[3] = r, o[4] = t) : t = o[4], t;
16
+ };
17
+ n.displayName = "KonstructSidebarLogo";
6
18
  export {
7
- s as Logo
19
+ n as Logo
8
20
  };
@@ -1,23 +1,5 @@
1
1
  import { c as p } from "../../../../index-D29mdTf5.js";
2
- const o = p([
3
- "md:px-4",
4
- "md:py-5",
5
- "flex",
6
- "flex-col",
7
- "justify-center",
8
- "gap-1",
9
- "group",
10
- "relative",
11
- "mb-8",
12
- "[&>p]:pl-14",
13
- "[&>p]:-mt-2",
14
- "[&>img]:pt-3",
15
- "[&>*>p]:absolute",
16
- "[&>*>p]:bottom-0",
17
- "[&>*>p]:-mt-2",
18
- "[&>*>img]:pt-3",
19
- "cursor-pointer"
20
- ]);
2
+ const o = p(["md:px-4", "md:py-5", "flex", "flex-col", "justify-center", "gap-1", "group", "relative", "mb-8", "[&>p]:pl-14", "[&>p]:-mt-2", "[&>img]:pt-3", "[&>*>p]:absolute", "[&>*>p]:bottom-0", "[&>*>p]:-mt-2", "[&>*>img]:pt-3", "cursor-pointer"]);
21
3
  export {
22
4
  o as logoVariants
23
5
  };
@@ -1,19 +1,28 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { cn as r } from "../../../../utils/index.js";
3
- import { NavigationGroup as n } from "../NavigationGroup/NavigationGroup.js";
4
- import { NavigationOption as m } from "../NavigationOption/NavigationOption.js";
5
- import { NavigationSeparator as p } from "../NavigationSeparator/NavigationSeparator.js";
6
- import { NavigationTitle as v } from "../NavigationTitle/NavigationTitle.js";
7
- import { navigationVariants as N } from "./Navigation.variants.js";
8
- const i = ({
9
- className: a,
10
- children: o
11
- }) => /* @__PURE__ */ t("nav", { className: r(N({ className: a })), children: o });
12
- i.displayName = "KonstructSidebarNavigation";
13
- i.NavigationGroup = n;
14
- i.NavigationOption = m;
15
- i.NavigationSeparator = p;
16
- i.NavigationTitle = v;
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { c as p } from "../../../../compiler-runtime-DA41awpA.js";
3
+ import { cn as s } from "../../../../utils/index.js";
4
+ import { NavigationGroup as N } from "../NavigationGroup/NavigationGroup.js";
5
+ import { NavigationOption as v } from "../NavigationOption/NavigationOption.js";
6
+ import { NavigationSeparator as c } from "../NavigationSeparator/NavigationSeparator.js";
7
+ import { NavigationTitle as g } from "../NavigationTitle/NavigationTitle.js";
8
+ import { navigationVariants as l } from "./Navigation.variants.js";
9
+ const t = (m) => {
10
+ const i = p.c(5), {
11
+ className: r,
12
+ children: n
13
+ } = m;
14
+ let o;
15
+ i[0] !== r ? (o = s(l({
16
+ className: r
17
+ })), i[0] = r, i[1] = o) : o = i[1];
18
+ let a;
19
+ return i[2] !== n || i[3] !== o ? (a = /* @__PURE__ */ e("nav", { className: o, children: n }), i[2] = n, i[3] = o, i[4] = a) : a = i[4], a;
20
+ };
21
+ t.displayName = "KonstructSidebarNavigation";
22
+ t.NavigationGroup = N;
23
+ t.NavigationOption = v;
24
+ t.NavigationSeparator = c;
25
+ t.NavigationTitle = g;
17
26
  export {
18
- i as Navigation
27
+ t as Navigation
19
28
  };
@@ -1,26 +1,35 @@
1
- import { jsxs as s, Fragment as e, jsx as a } from "react/jsx-runtime";
2
- import { cn as u } from "../../../../utils/index.js";
3
- import { NavigationTitle as l } from "../NavigationTitle/NavigationTitle.js";
4
- import { navigationGroupsVariants as p } from "./NavigationGroup.variants.js";
5
- const c = ({
6
- children: o,
7
- title: r,
8
- className: i,
9
- titleClassName: t,
10
- isVisible: n = !0,
11
- ...m
12
- }) => n ? /* @__PURE__ */ s(e, { children: [
13
- r ? /* @__PURE__ */ a(
14
- l,
15
- {
16
- title: r,
17
- className: t,
18
- ...m
19
- }
20
- ) : null,
21
- /* @__PURE__ */ a("ul", { className: u(p({ className: i })), children: o })
22
- ] }) : null;
23
- c.displayName = "KonstructSidebarNavigationGroup";
1
+ import { jsx as f, jsxs as u, Fragment as N } from "react/jsx-runtime";
2
+ import { c as d } from "../../../../compiler-runtime-DA41awpA.js";
3
+ import { cn as g } from "../../../../utils/index.js";
4
+ import { NavigationTitle as v } from "../NavigationTitle/NavigationTitle.js";
5
+ import { navigationGroupsVariants as b } from "./NavigationGroup.variants.js";
6
+ const x = (p) => {
7
+ const e = d.c(19);
8
+ let i, l, s, m, t, r;
9
+ if (e[0] !== p ? ({
10
+ children: i,
11
+ title: t,
12
+ className: l,
13
+ titleClassName: r,
14
+ isVisible: m,
15
+ ...s
16
+ } = p, e[0] = p, e[1] = i, e[2] = l, e[3] = s, e[4] = m, e[5] = t, e[6] = r) : (i = e[1], l = e[2], s = e[3], m = e[4], t = e[5], r = e[6]), !(m === void 0 ? !0 : m))
17
+ return null;
18
+ let o;
19
+ e[7] !== s || e[8] !== t || e[9] !== r ? (o = t ? /* @__PURE__ */ f(v, { title: t, className: r, ...s }) : null, e[7] = s, e[8] = t, e[9] = r, e[10] = o) : o = e[10];
20
+ let a;
21
+ e[11] !== l ? (a = g(b({
22
+ className: l
23
+ })), e[11] = l, e[12] = a) : a = e[12];
24
+ let n;
25
+ e[13] !== i || e[14] !== a ? (n = /* @__PURE__ */ f("ul", { className: a, children: i }), e[13] = i, e[14] = a, e[15] = n) : n = e[15];
26
+ let c;
27
+ return e[16] !== o || e[17] !== n ? (c = /* @__PURE__ */ u(N, { children: [
28
+ o,
29
+ n
30
+ ] }), e[16] = o, e[17] = n, e[18] = c) : c = e[18], c;
31
+ };
32
+ x.displayName = "KonstructSidebarNavigationGroup";
24
33
  export {
25
- c as NavigationGroup
34
+ x as NavigationGroup
26
35
  };
@@ -1,27 +1,27 @@
1
- import { jsx as a } from "react/jsx-runtime";
1
+ import { jsx as m } from "react/jsx-runtime";
2
+ import { c } from "../../../../compiler-runtime-DA41awpA.js";
2
3
  import { cn as p } from "../../../../utils/index.js";
3
- import { navigationOptionVariants as e } from "./NavigationOption.variants.js";
4
- const m = ({
5
- children: i,
6
- className: o,
7
- isVisible: t = !0,
8
- isActive: r,
9
- ...n
10
- }) => t ? /* @__PURE__ */ a(
11
- "li",
12
- {
13
- ...n,
14
- role: "option",
15
- className: p(
16
- e({
17
- className: o,
18
- isActive: r
19
- })
20
- ),
21
- children: i
22
- }
23
- ) : null;
24
- m.displayName = "KonstructSidebarNavigationOption";
4
+ import { navigationOptionVariants as f } from "./NavigationOption.variants.js";
5
+ const d = (a) => {
6
+ const i = c.c(13);
7
+ let t, e, o, l, r;
8
+ if (i[0] !== a ? ({
9
+ children: t,
10
+ className: e,
11
+ isVisible: r,
12
+ isActive: l,
13
+ ...o
14
+ } = a, i[0] = a, i[1] = t, i[2] = e, i[3] = o, i[4] = l, i[5] = r) : (t = i[1], e = i[2], o = i[3], l = i[4], r = i[5]), !(r === void 0 ? !0 : r))
15
+ return null;
16
+ let s;
17
+ i[6] !== e || i[7] !== l ? (s = p(f({
18
+ className: e,
19
+ isActive: l
20
+ })), i[6] = e, i[7] = l, i[8] = s) : s = i[8];
21
+ let n;
22
+ return i[9] !== t || i[10] !== o || i[11] !== s ? (n = /* @__PURE__ */ m("li", { ...o, role: "option", className: s, children: t }), i[9] = t, i[10] = o, i[11] = s, i[12] = n) : n = i[12], n;
23
+ };
24
+ d.displayName = "KonstructSidebarNavigationOption";
25
25
  export {
26
- m as NavigationOption
26
+ d as NavigationOption
27
27
  };
@@ -1,43 +1,16 @@
1
1
  import { c as t } from "../../../../index-D29mdTf5.js";
2
- const a = t(
3
- [
4
- "[&>a]:flex",
5
- "[&>a]:gap-2",
6
- "[&>a]:no-underline",
7
- "[&>a]:text-inherit",
8
- "[&>a]:w-full",
9
- "cursor-pointer",
10
- "flex",
11
- "font-normal",
12
- "font-normal",
13
- "gap-2",
14
- "rounded-xl",
15
- "md:px-4",
16
- "md:py-2.5",
17
- "p-2",
18
- "text-black",
19
- "w-full",
20
- "text-[#9ea2c6]",
21
- "hover:text-white",
22
- "hover:bg-[#252a41]",
23
- "selection:bg-powder-500",
24
- "selection:text-white"
25
- ],
26
- {
27
- variants: {
28
- isActive: {
29
- true: "",
30
- false: ""
31
- }
32
- },
33
- compoundVariants: [
34
- {
35
- isActive: !0,
36
- class: ["text-white", "bg-[#252a41]"]
37
- }
38
- ]
39
- }
40
- );
2
+ const a = t(["[&>a]:flex", "[&>a]:gap-2", "[&>a]:no-underline", "[&>a]:text-inherit", "[&>a]:w-full", "cursor-pointer", "flex", "font-normal", "font-normal", "gap-2", "rounded-xl", "md:px-4", "md:py-2.5", "p-2", "text-black", "w-full", "text-[#9ea2c6]", "hover:text-white", "hover:bg-[#252a41]", "selection:bg-powder-500", "selection:text-white"], {
3
+ variants: {
4
+ isActive: {
5
+ true: "",
6
+ false: ""
7
+ }
8
+ },
9
+ compoundVariants: [{
10
+ isActive: !0,
11
+ class: ["text-white", "bg-[#252a41]"]
12
+ }]
13
+ });
41
14
  export {
42
15
  a as navigationOptionVariants
43
16
  };
@@ -1,8 +1,19 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { cn as o } from "../../../../utils/index.js";
3
- import { navigationSeparatorVariant as t } from "./NavigationSeparator.variants.js";
4
- const i = ({ className: a }) => /* @__PURE__ */ r("div", { className: o(t({ className: a })) });
5
- i.displayName = "KonstructSidebarNavigationSeparator";
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { c as s } from "../../../../compiler-runtime-DA41awpA.js";
3
+ import { cn as m } from "../../../../utils/index.js";
4
+ import { navigationSeparatorVariant as n } from "./NavigationSeparator.variants.js";
5
+ const p = (i) => {
6
+ const t = s.c(4), {
7
+ className: o
8
+ } = i;
9
+ let a;
10
+ t[0] !== o ? (a = m(n({
11
+ className: o
12
+ })), t[0] = o, t[1] = a) : a = t[1];
13
+ let r;
14
+ return t[2] !== a ? (r = /* @__PURE__ */ e("div", { className: a }), t[2] = a, t[3] = r) : r = t[3], r;
15
+ };
16
+ p.displayName = "KonstructSidebarNavigationSeparator";
6
17
  export {
7
- i as NavigationSeparator
18
+ p as NavigationSeparator
8
19
  };