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

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