@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,22 +1,28 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import { c as n } from "../../../compiler-runtime-DA41awpA.js";
3
- import { forwardRef as p } from "react";
4
- const m = p((s, H) => {
5
- const o = n.c(11);
6
- let e, C, r;
7
- o[0] !== s ? ({
8
- size: C,
9
- color: r,
10
- ...e
11
- } = s, o[0] = s, o[1] = e, o[2] = C, o[3] = r) : (e = o[1], C = o[2], r = o[3]);
12
- const l = C === void 0 ? 24 : C, V = r === void 0 ? "currentColor" : r;
13
- let t;
14
- o[4] !== V ? (t = /* @__PURE__ */ c("path", { d: "M4.22222 1.5H15.7778C15.9693 1.5 16.153 1.58141 16.2885 1.72633C16.4239 1.87124 16.5 2.06779 16.5 2.27273V5.36364C16.5 5.56858 16.4239 5.76512 16.2885 5.91004C16.153 6.05495 15.9693 6.13636 15.7778 6.13636H4.22222C4.03068 6.13636 3.84698 6.05495 3.71153 5.91004C3.57609 5.76512 3.5 5.56858 3.5 5.36364V2.27273C3.5 2.06779 3.57609 1.87124 3.71153 1.72633C3.84698 1.58141 4.03068 1.5 4.22222 1.5ZM4.22222 7.68182H15.7778C15.9693 7.68182 16.153 7.76323 16.2885 7.90814C16.4239 8.05306 16.5 8.24961 16.5 8.45455V11.5455C16.5 11.7504 16.4239 11.9469 16.2885 12.0919C16.153 12.2368 15.9693 12.3182 15.7778 12.3182H4.22222C4.03068 12.3182 3.84698 12.2368 3.71153 12.0919C3.57609 11.9469 3.5 11.7504 3.5 11.5455V8.45455C3.5 8.24961 3.57609 8.05306 3.71153 7.90814C3.84698 7.76323 4.03068 7.68182 4.22222 7.68182ZM4.22222 13.8636H15.7778C15.9693 13.8636 16.153 13.945 16.2885 14.09C16.4239 14.2349 16.5 14.4314 16.5 14.6364V17.7273C16.5 17.9322 16.4239 18.1288 16.2885 18.2737C16.153 18.4186 15.9693 18.5 15.7778 18.5H4.22222C4.03068 18.5 3.84698 18.4186 3.71153 18.2737C3.57609 18.1288 3.5 17.9322 3.5 17.7273V14.6364C3.5 14.4314 3.57609 14.2349 3.71153 14.09C3.84698 13.945 4.03068 13.8636 4.22222 13.8636ZM7.83333 4.59091H8.55556V3.04545H7.83333V4.59091ZM7.83333 10.7727H8.55556V9.22727H7.83333V10.7727ZM7.83333 16.9545H8.55556V15.4091H7.83333V16.9545ZM4.94444 3.04545V4.59091H6.38889V3.04545H4.94444ZM4.94444 9.22727V10.7727H6.38889V9.22727H4.94444ZM4.94444 15.4091V16.9545H6.38889V15.4091H4.94444Z", fill: V }), o[4] = V, o[5] = t) : t = o[5];
15
- let i;
16
- return o[6] !== e || o[7] !== H || o[8] !== l || o[9] !== t ? (i = /* @__PURE__ */ c("svg", { ref: H, xmlns: "http://www.w3.org/2000/svg", width: l, height: l, viewBox: "0 0 20 20", fill: "none", ...e, children: t }), o[6] = e, o[7] = H, o[8] = l, o[9] = t, o[10] = i) : i = o[10], i;
17
- });
18
- m.displayName = "KonstructServerIcon";
1
+ import { jsx as H } from "react/jsx-runtime";
2
+ import { forwardRef as t } from "react";
3
+ const e = t(
4
+ ({ size: C = 24, color: V = "currentColor", ...r }, o) => /* @__PURE__ */ H(
5
+ "svg",
6
+ {
7
+ ref: o,
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ width: C,
10
+ height: C,
11
+ viewBox: "0 0 20 20",
12
+ fill: "none",
13
+ ...r,
14
+ children: /* @__PURE__ */ H(
15
+ "path",
16
+ {
17
+ d: "M4.22222 1.5H15.7778C15.9693 1.5 16.153 1.58141 16.2885 1.72633C16.4239 1.87124 16.5 2.06779 16.5 2.27273V5.36364C16.5 5.56858 16.4239 5.76512 16.2885 5.91004C16.153 6.05495 15.9693 6.13636 15.7778 6.13636H4.22222C4.03068 6.13636 3.84698 6.05495 3.71153 5.91004C3.57609 5.76512 3.5 5.56858 3.5 5.36364V2.27273C3.5 2.06779 3.57609 1.87124 3.71153 1.72633C3.84698 1.58141 4.03068 1.5 4.22222 1.5ZM4.22222 7.68182H15.7778C15.9693 7.68182 16.153 7.76323 16.2885 7.90814C16.4239 8.05306 16.5 8.24961 16.5 8.45455V11.5455C16.5 11.7504 16.4239 11.9469 16.2885 12.0919C16.153 12.2368 15.9693 12.3182 15.7778 12.3182H4.22222C4.03068 12.3182 3.84698 12.2368 3.71153 12.0919C3.57609 11.9469 3.5 11.7504 3.5 11.5455V8.45455C3.5 8.24961 3.57609 8.05306 3.71153 7.90814C3.84698 7.76323 4.03068 7.68182 4.22222 7.68182ZM4.22222 13.8636H15.7778C15.9693 13.8636 16.153 13.945 16.2885 14.09C16.4239 14.2349 16.5 14.4314 16.5 14.6364V17.7273C16.5 17.9322 16.4239 18.1288 16.2885 18.2737C16.153 18.4186 15.9693 18.5 15.7778 18.5H4.22222C4.03068 18.5 3.84698 18.4186 3.71153 18.2737C3.57609 18.1288 3.5 17.9322 3.5 17.7273V14.6364C3.5 14.4314 3.57609 14.2349 3.71153 14.09C3.84698 13.945 4.03068 13.8636 4.22222 13.8636ZM7.83333 4.59091H8.55556V3.04545H7.83333V4.59091ZM7.83333 10.7727H8.55556V9.22727H7.83333V10.7727ZM7.83333 16.9545H8.55556V15.4091H7.83333V16.9545ZM4.94444 3.04545V4.59091H6.38889V3.04545H4.94444ZM4.94444 9.22727V10.7727H6.38889V9.22727H4.94444ZM4.94444 15.4091V16.9545H6.38889V15.4091H4.94444Z",
18
+ fill: V
19
+ }
20
+ )
21
+ }
22
+ )
23
+ );
24
+ e.displayName = "KonstructServerIcon";
19
25
  export {
20
- m as ServerIcon,
21
- m as default
26
+ e as ServerIcon,
27
+ e as default
22
28
  };
@@ -1,22 +1,28 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import { c as a } from "../../../compiler-runtime-DA41awpA.js";
3
- import { forwardRef as f } from "react";
4
- const d = f((c, n) => {
5
- const t = a.c(11);
6
- let o, r, l;
7
- t[0] !== c ? ({
8
- size: r,
9
- color: l,
10
- ...o
11
- } = c, t[0] = c, t[1] = o, t[2] = r, t[3] = l) : (o = t[1], r = t[2], l = t[3]);
12
- const i = r === void 0 ? 24 : r, p = l === void 0 ? "currentColor" : l;
13
- let e;
14
- t[4] !== p ? (e = /* @__PURE__ */ m("path", { d: "M12.331 5.7925L15.553 9.08333H4.6V10.9167H15.553L12.322 14.2075L13.6 15.5L19 10L13.6 4.5L12.331 5.7925ZM1 4.5V15.5H2.8V4.5H1Z", fill: p }), t[4] = p, t[5] = e) : e = t[5];
15
- let s;
16
- return t[6] !== o || t[7] !== n || t[8] !== i || t[9] !== e ? (s = /* @__PURE__ */ m("svg", { ref: n, xmlns: "http://www.w3.org/2000/svg", width: i, height: i, viewBox: "0 0 20 20", fill: "none", ...o, children: e }), t[6] = o, t[7] = n, t[8] = i, t[9] = e, t[10] = s) : s = t[10], s;
17
- });
18
- d.displayName = "KonstructStartIcon";
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { forwardRef as a } from "react";
3
+ const e = a(
4
+ ({ size: t = 24, color: r = "currentColor", ...l }, n) => /* @__PURE__ */ o(
5
+ "svg",
6
+ {
7
+ ref: n,
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ width: t,
10
+ height: t,
11
+ viewBox: "0 0 20 20",
12
+ fill: "none",
13
+ ...l,
14
+ children: /* @__PURE__ */ o(
15
+ "path",
16
+ {
17
+ d: "M12.331 5.7925L15.553 9.08333H4.6V10.9167H15.553L12.322 14.2075L13.6 15.5L19 10L13.6 4.5L12.331 5.7925ZM1 4.5V15.5H2.8V4.5H1Z",
18
+ fill: r
19
+ }
20
+ )
21
+ }
22
+ )
23
+ );
24
+ e.displayName = "KonstructStartIcon";
19
25
  export {
20
- d as StartIcon,
21
- d as default
26
+ e as StartIcon,
27
+ e as default
22
28
  };
@@ -1,26 +1,50 @@
1
- import { jsx as f, jsxs as a } from "react/jsx-runtime";
2
- import { c as u } from "../../../compiler-runtime-DA41awpA.js";
3
- import { forwardRef as v } from "react";
4
- const m = v((c, p) => {
5
- const e = u.c(15);
6
- let l, i, d;
7
- e[0] !== c ? ({
8
- size: i,
9
- color: d,
10
- ...l
11
- } = c, e[0] = c, e[1] = l, e[2] = i, e[3] = d) : (l = e[1], i = e[2], d = e[3]);
12
- const n = i === void 0 ? 24 : i, s = d === void 0 ? "currentColor" : d;
13
- let C, o, t;
14
- e[4] !== s ? (C = /* @__PURE__ */ f("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.16666 3.33341C3.94564 3.33341 3.73368 3.42121 3.5774 3.57749C3.42112 3.73377 3.33332 3.94573 3.33332 4.16675V15.8334C3.33332 16.0544 3.42112 16.2664 3.5774 16.4227C3.73368 16.579 3.94564 16.6667 4.16666 16.6667H15.8333C16.0543 16.6667 16.2663 16.579 16.4226 16.4227C16.5789 16.2664 16.6667 16.0544 16.6667 15.8334V11.4476C16.6667 11.2266 16.7545 11.0146 16.9107 10.8583C17.067 10.702 17.279 10.6142 17.5 10.6142C17.721 10.6142 17.933 10.702 18.0892 10.8583C18.2455 11.0146 18.3333 11.2266 18.3333 11.4476V15.8334C18.3333 16.4965 18.0699 17.1323 17.6011 17.6012C17.1322 18.07 16.4964 18.3334 15.8333 18.3334H4.16666C3.50362 18.3334 2.86773 18.07 2.39889 17.6012C1.93005 17.1323 1.66666 16.4965 1.66666 15.8334V4.16675C1.66666 3.50371 1.93005 2.86782 2.39889 2.39898C2.86773 1.93014 3.50362 1.66675 4.16666 1.66675H8.34749C8.5685 1.66675 8.78047 1.75455 8.93675 1.91083C9.09303 2.06711 9.18082 2.27907 9.18082 2.50008C9.18082 2.7211 9.09303 2.93306 8.93675 3.08934C8.78047 3.24562 8.5685 3.33341 8.34749 3.33341H4.16666Z", fill: s }), o = /* @__PURE__ */ f("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.8425 2.14347C17.9925 2.2939 18.0768 2.49769 18.0768 2.71014C18.0768 2.92259 17.9925 3.12637 17.8425 3.2768L10.5325 10.5985C10.4582 10.6728 10.37 10.7318 10.2729 10.772C10.1758 10.8122 10.0718 10.8329 9.96666 10.8329C9.86157 10.8329 9.7575 10.8122 9.66042 10.772C9.56333 10.7318 9.47512 10.6728 9.40083 10.5985C9.25081 10.448 9.16656 10.2443 9.16656 10.0318C9.16656 9.81935 9.25081 9.61557 9.40083 9.46514L16.7117 2.14347C16.8617 1.99361 17.065 1.90942 17.2771 1.90942C17.4891 1.90942 17.6925 1.99361 17.8425 2.14347Z", fill: s }), t = /* @__PURE__ */ f("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.5333 1.66675C17.975 1.66675 18.3333 2.02508 18.3333 2.46841V6.66675C18.3333 7.10925 17.9417 7.50008 17.5 7.50008C17.0583 7.50008 16.6667 7.10925 16.6667 6.66675V3.33341H13.3333C12.8917 3.33341 12.5 2.94258 12.5 2.50008C12.5 2.05758 12.8583 1.66675 13.3 1.66675H17.5333Z", fill: s }), e[4] = s, e[5] = C, e[6] = o, e[7] = t) : (C = e[5], o = e[6], t = e[7]);
15
- let r;
16
- return e[8] !== l || e[9] !== p || e[10] !== n || e[11] !== C || e[12] !== o || e[13] !== t ? (r = /* @__PURE__ */ a("svg", { ref: p, xmlns: "http://www.w3.org/2000/svg", width: n, height: n, viewBox: "0 0 20 20", fill: "none", ...l, children: [
17
- C,
18
- o,
19
- t
20
- ] }), e[8] = l, e[9] = p, e[10] = n, e[11] = C, e[12] = o, e[13] = t, e[14] = r) : r = e[14], r;
21
- });
22
- m.displayName = "KonstructTabNewIcon";
1
+ import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
+ import { forwardRef as n } from "react";
3
+ const t = n(
4
+ ({ size: l = 24, color: C = "currentColor", ...d }, o) => /* @__PURE__ */ i(
5
+ "svg",
6
+ {
7
+ ref: o,
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ width: l,
10
+ height: l,
11
+ viewBox: "0 0 20 20",
12
+ fill: "none",
13
+ ...d,
14
+ children: [
15
+ /* @__PURE__ */ e(
16
+ "path",
17
+ {
18
+ fillRule: "evenodd",
19
+ clipRule: "evenodd",
20
+ d: "M4.16666 3.33341C3.94564 3.33341 3.73368 3.42121 3.5774 3.57749C3.42112 3.73377 3.33332 3.94573 3.33332 4.16675V15.8334C3.33332 16.0544 3.42112 16.2664 3.5774 16.4227C3.73368 16.579 3.94564 16.6667 4.16666 16.6667H15.8333C16.0543 16.6667 16.2663 16.579 16.4226 16.4227C16.5789 16.2664 16.6667 16.0544 16.6667 15.8334V11.4476C16.6667 11.2266 16.7545 11.0146 16.9107 10.8583C17.067 10.702 17.279 10.6142 17.5 10.6142C17.721 10.6142 17.933 10.702 18.0892 10.8583C18.2455 11.0146 18.3333 11.2266 18.3333 11.4476V15.8334C18.3333 16.4965 18.0699 17.1323 17.6011 17.6012C17.1322 18.07 16.4964 18.3334 15.8333 18.3334H4.16666C3.50362 18.3334 2.86773 18.07 2.39889 17.6012C1.93005 17.1323 1.66666 16.4965 1.66666 15.8334V4.16675C1.66666 3.50371 1.93005 2.86782 2.39889 2.39898C2.86773 1.93014 3.50362 1.66675 4.16666 1.66675H8.34749C8.5685 1.66675 8.78047 1.75455 8.93675 1.91083C9.09303 2.06711 9.18082 2.27907 9.18082 2.50008C9.18082 2.7211 9.09303 2.93306 8.93675 3.08934C8.78047 3.24562 8.5685 3.33341 8.34749 3.33341H4.16666Z",
21
+ fill: C
22
+ }
23
+ ),
24
+ /* @__PURE__ */ e(
25
+ "path",
26
+ {
27
+ fillRule: "evenodd",
28
+ clipRule: "evenodd",
29
+ d: "M17.8425 2.14347C17.9925 2.2939 18.0768 2.49769 18.0768 2.71014C18.0768 2.92259 17.9925 3.12637 17.8425 3.2768L10.5325 10.5985C10.4582 10.6728 10.37 10.7318 10.2729 10.772C10.1758 10.8122 10.0718 10.8329 9.96666 10.8329C9.86157 10.8329 9.7575 10.8122 9.66042 10.772C9.56333 10.7318 9.47512 10.6728 9.40083 10.5985C9.25081 10.448 9.16656 10.2443 9.16656 10.0318C9.16656 9.81935 9.25081 9.61557 9.40083 9.46514L16.7117 2.14347C16.8617 1.99361 17.065 1.90942 17.2771 1.90942C17.4891 1.90942 17.6925 1.99361 17.8425 2.14347Z",
30
+ fill: C
31
+ }
32
+ ),
33
+ /* @__PURE__ */ e(
34
+ "path",
35
+ {
36
+ fillRule: "evenodd",
37
+ clipRule: "evenodd",
38
+ d: "M17.5333 1.66675C17.975 1.66675 18.3333 2.02508 18.3333 2.46841V6.66675C18.3333 7.10925 17.9417 7.50008 17.5 7.50008C17.0583 7.50008 16.6667 7.10925 16.6667 6.66675V3.33341H13.3333C12.8917 3.33341 12.5 2.94258 12.5 2.50008C12.5 2.05758 12.8583 1.66675 13.3 1.66675H17.5333Z",
39
+ fill: C
40
+ }
41
+ )
42
+ ]
43
+ }
44
+ )
45
+ );
46
+ t.displayName = "KonstructTabNewIcon";
23
47
  export {
24
- m as TabNewIcon,
25
- m as default
48
+ t as TabNewIcon,
49
+ t as default
26
50
  };
@@ -1,22 +1,28 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import { c as p } from "../../../compiler-runtime-DA41awpA.js";
3
- import { forwardRef as a } from "react";
4
- const f = a((i, c) => {
5
- const C = p.c(11);
6
- let o, e, s;
7
- C[0] !== i ? ({
8
- size: e,
9
- color: s,
10
- ...o
11
- } = i, C[0] = i, C[1] = o, C[2] = e, C[3] = s) : (o = C[1], e = C[2], s = C[3]);
12
- const l = e === void 0 ? 24 : e, n = s === void 0 ? "currentColor" : s;
13
- let t;
14
- C[4] !== n ? (t = /* @__PURE__ */ m("path", { d: "M3.33333 10.8333C4.25 10.8333 5 10.0833 5 9.16667C5 8.25 4.25 7.5 3.33333 7.5C2.41667 7.5 1.66667 8.25 1.66667 9.16667C1.66667 10.0833 2.41667 10.8333 3.33333 10.8333ZM4.275 11.75C3.96667 11.7 3.65833 11.6667 3.33333 11.6667C2.50833 11.6667 1.725 11.8417 1.01667 12.15C0.4 12.4167 0 13.0167 0 13.6917V15H3.75V13.6583C3.75 12.9667 3.94167 12.3167 4.275 11.75ZM16.6667 10.8333C17.5833 10.8333 18.3333 10.0833 18.3333 9.16667C18.3333 8.25 17.5833 7.5 16.6667 7.5C15.75 7.5 15 8.25 15 9.16667C15 10.0833 15.75 10.8333 16.6667 10.8333ZM20 13.6917C20 13.0167 19.6 12.4167 18.9833 12.15C18.275 11.8417 17.4917 11.6667 16.6667 11.6667C16.3417 11.6667 16.0333 11.7 15.725 11.75C16.0583 12.3167 16.25 12.9667 16.25 13.6583V15H20V13.6917ZM13.5333 11.375C12.5583 10.9417 11.3583 10.625 10 10.625C8.64167 10.625 7.44167 10.95 6.46667 11.375C5.56667 11.775 5 12.675 5 13.6583V15H15V13.6583C15 12.675 14.4333 11.775 13.5333 11.375ZM6.725 13.3333C6.8 13.1417 6.83333 13.0083 7.48333 12.7583C8.29167 12.4417 9.14167 12.2917 10 12.2917C10.8583 12.2917 11.7083 12.4417 12.5167 12.7583C13.1583 13.0083 13.1917 13.1417 13.275 13.3333H6.725ZM10 6.66667C10.4583 6.66667 10.8333 7.04167 10.8333 7.5C10.8333 7.95833 10.4583 8.33333 10 8.33333C9.54167 8.33333 9.16667 7.95833 9.16667 7.5C9.16667 7.04167 9.54167 6.66667 10 6.66667ZM10 5C8.61667 5 7.5 6.11667 7.5 7.5C7.5 8.88333 8.61667 10 10 10C11.3833 10 12.5 8.88333 12.5 7.5C12.5 6.11667 11.3833 5 10 5Z", fill: n }), C[4] = n, C[5] = t) : t = C[5];
15
- let r;
16
- return C[6] !== o || C[7] !== c || C[8] !== l || C[9] !== t ? (r = /* @__PURE__ */ m("svg", { ref: c, xmlns: "http://www.w3.org/2000/svg", width: l, height: l, viewBox: "0 0 20 20", fill: "none", ...o, children: t }), C[6] = o, C[7] = c, C[8] = l, C[9] = t, C[10] = r) : r = C[10], r;
17
- });
18
- f.displayName = "KonstructTeamsIcon";
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { forwardRef as l } from "react";
3
+ const n = l(
4
+ ({ size: C = 24, color: r = "currentColor", ...t }, e) => /* @__PURE__ */ o(
5
+ "svg",
6
+ {
7
+ ref: e,
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ width: C,
10
+ height: C,
11
+ viewBox: "0 0 20 20",
12
+ fill: "none",
13
+ ...t,
14
+ children: /* @__PURE__ */ o(
15
+ "path",
16
+ {
17
+ d: "M3.33333 10.8333C4.25 10.8333 5 10.0833 5 9.16667C5 8.25 4.25 7.5 3.33333 7.5C2.41667 7.5 1.66667 8.25 1.66667 9.16667C1.66667 10.0833 2.41667 10.8333 3.33333 10.8333ZM4.275 11.75C3.96667 11.7 3.65833 11.6667 3.33333 11.6667C2.50833 11.6667 1.725 11.8417 1.01667 12.15C0.4 12.4167 0 13.0167 0 13.6917V15H3.75V13.6583C3.75 12.9667 3.94167 12.3167 4.275 11.75ZM16.6667 10.8333C17.5833 10.8333 18.3333 10.0833 18.3333 9.16667C18.3333 8.25 17.5833 7.5 16.6667 7.5C15.75 7.5 15 8.25 15 9.16667C15 10.0833 15.75 10.8333 16.6667 10.8333ZM20 13.6917C20 13.0167 19.6 12.4167 18.9833 12.15C18.275 11.8417 17.4917 11.6667 16.6667 11.6667C16.3417 11.6667 16.0333 11.7 15.725 11.75C16.0583 12.3167 16.25 12.9667 16.25 13.6583V15H20V13.6917ZM13.5333 11.375C12.5583 10.9417 11.3583 10.625 10 10.625C8.64167 10.625 7.44167 10.95 6.46667 11.375C5.56667 11.775 5 12.675 5 13.6583V15H15V13.6583C15 12.675 14.4333 11.775 13.5333 11.375ZM6.725 13.3333C6.8 13.1417 6.83333 13.0083 7.48333 12.7583C8.29167 12.4417 9.14167 12.2917 10 12.2917C10.8583 12.2917 11.7083 12.4417 12.5167 12.7583C13.1583 13.0083 13.1917 13.1417 13.275 13.3333H6.725ZM10 6.66667C10.4583 6.66667 10.8333 7.04167 10.8333 7.5C10.8333 7.95833 10.4583 8.33333 10 8.33333C9.54167 8.33333 9.16667 7.95833 9.16667 7.5C9.16667 7.04167 9.54167 6.66667 10 6.66667ZM10 5C8.61667 5 7.5 6.11667 7.5 7.5C7.5 8.88333 8.61667 10 10 10C11.3833 10 12.5 8.88333 12.5 7.5C12.5 6.11667 11.3833 5 10 5Z",
18
+ fill: r
19
+ }
20
+ )
21
+ }
22
+ )
23
+ );
24
+ n.displayName = "KonstructTeamsIcon";
19
25
  export {
20
- f as TeamsIcon,
21
- f as default
26
+ n as TeamsIcon,
27
+ n as default
22
28
  };
@@ -1,22 +1,28 @@
1
- import { jsx as d } from "react/jsx-runtime";
2
- import { c as m } from "../../../compiler-runtime-DA41awpA.js";
1
+ import { jsx as r } from "react/jsx-runtime";
3
2
  import { forwardRef as a } from "react";
4
- const f = a((c, n) => {
5
- const o = m.c(11);
6
- let t, l, r;
7
- o[0] !== c ? ({
8
- size: l,
9
- color: r,
10
- ...t
11
- } = c, o[0] = c, o[1] = t, o[2] = l, o[3] = r) : (t = o[1], l = o[2], r = o[3]);
12
- const i = l === void 0 ? 24 : l, p = r === void 0 ? "currentColor" : r;
13
- let e;
14
- o[4] !== p ? (e = /* @__PURE__ */ d("path", { d: "M4 18C3.45 18 2.97933 17.8043 2.588 17.413C2.196 17.021 2 16.55 2 16V13H4V16H16V13H18V16C18 16.55 17.8043 17.021 17.413 17.413C17.021 17.8043 16.55 18 16 18H4ZM9 14V3.85L6.4 6.45L5 5L10 0L15 5L13.6 6.45L11 3.85V14H9Z", fill: p }), o[4] = p, o[5] = e) : e = o[5];
15
- let s;
16
- return o[6] !== t || o[7] !== n || o[8] !== i || o[9] !== e ? (s = /* @__PURE__ */ d("svg", { ref: n, xmlns: "http://www.w3.org/2000/svg", width: i, height: i, viewBox: "0 0 20 20", fill: "none", ...t, children: e }), o[6] = t, o[7] = n, o[8] = i, o[9] = e, o[10] = s) : s = o[10], s;
17
- });
18
- f.displayName = "KonstructUploadIcon";
3
+ const d = a(
4
+ ({ size: o = 24, color: t = "currentColor", ...l }, n) => /* @__PURE__ */ r(
5
+ "svg",
6
+ {
7
+ ref: n,
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ width: o,
10
+ height: o,
11
+ viewBox: "0 0 20 20",
12
+ fill: "none",
13
+ ...l,
14
+ children: /* @__PURE__ */ r(
15
+ "path",
16
+ {
17
+ d: "M4 18C3.45 18 2.97933 17.8043 2.588 17.413C2.196 17.021 2 16.55 2 16V13H4V16H16V13H18V16C18 16.55 17.8043 17.021 17.413 17.413C17.021 17.8043 16.55 18 16 18H4ZM9 14V3.85L6.4 6.45L5 5L10 0L15 5L13.6 6.45L11 3.85V14H9Z",
18
+ fill: t
19
+ }
20
+ )
21
+ }
22
+ )
23
+ );
24
+ d.displayName = "KonstructUploadIcon";
19
25
  export {
20
- f as UploadIcon,
21
- f as default
26
+ d as UploadIcon,
27
+ d as default
22
28
  };
@@ -1,22 +1,28 @@
1
- import { jsx as m } from "react/jsx-runtime";
2
- import { c as a } from "../../../compiler-runtime-DA41awpA.js";
3
- import { forwardRef as d } from "react";
4
- const f = d((c, p) => {
5
- const o = a.c(12);
6
- let t, i, l;
7
- o[0] !== c ? ({
8
- size: i,
9
- color: l,
10
- ...t
11
- } = c, o[0] = c, o[1] = t, o[2] = i, o[3] = l) : (t = o[1], i = o[2], l = o[3]);
12
- const s = i === void 0 ? 24 : i, e = l === void 0 ? "currentColor" : l;
13
- let r;
14
- o[4] !== e ? (r = /* @__PURE__ */ m("g", { children: /* @__PURE__ */ m("path", { d: "M9.16663 12.5H10.8333V14.1667H9.16663V12.5ZM9.16663 5.83335H10.8333V10.8334H9.16663V5.83335ZM9.99163 1.66669C5.39163 1.66669 1.66663 5.40002 1.66663 10C1.66663 14.6 5.39163 18.3334 9.99163 18.3334C14.6 18.3334 18.3333 14.6 18.3333 10C18.3333 5.40002 14.6 1.66669 9.99163 1.66669ZM9.99996 16.6667C6.31663 16.6667 3.33329 13.6834 3.33329 10C3.33329 6.31669 6.31663 3.33335 9.99996 3.33335C13.6833 3.33335 16.6666 6.31669 16.6666 10C16.6666 13.6834 13.6833 16.6667 9.99996 16.6667Z", fill: e }) }), o[4] = e, o[5] = r) : r = o[5];
15
- let n;
16
- return o[6] !== e || o[7] !== t || o[8] !== p || o[9] !== s || o[10] !== r ? (n = /* @__PURE__ */ m("svg", { ref: p, xmlns: "http://www.w3.org/2000/svg", width: s, height: s, viewBox: "0 0 20 20", fill: e, ...t, children: r }), o[6] = e, o[7] = t, o[8] = p, o[9] = s, o[10] = r, o[11] = n) : n = o[11], n;
17
- });
18
- f.displayName = "KonstructWarningIcon";
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { forwardRef as l } from "react";
3
+ const C = l(
4
+ ({ size: t = 24, color: n = "currentColor", ...o }, i) => /* @__PURE__ */ r(
5
+ "svg",
6
+ {
7
+ ref: i,
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ width: t,
10
+ height: t,
11
+ viewBox: "0 0 20 20",
12
+ fill: n,
13
+ ...o,
14
+ children: /* @__PURE__ */ r("g", { children: /* @__PURE__ */ r(
15
+ "path",
16
+ {
17
+ d: "M9.16663 12.5H10.8333V14.1667H9.16663V12.5ZM9.16663 5.83335H10.8333V10.8334H9.16663V5.83335ZM9.99163 1.66669C5.39163 1.66669 1.66663 5.40002 1.66663 10C1.66663 14.6 5.39163 18.3334 9.99163 18.3334C14.6 18.3334 18.3333 14.6 18.3333 10C18.3333 5.40002 14.6 1.66669 9.99163 1.66669ZM9.99996 16.6667C6.31663 16.6667 3.33329 13.6834 3.33329 10C3.33329 6.31669 6.31663 3.33335 9.99996 3.33335C13.6833 3.33335 16.6666 6.31669 16.6666 10C16.6666 13.6834 13.6833 16.6667 9.99996 16.6667Z",
18
+ fill: n
19
+ }
20
+ ) })
21
+ }
22
+ )
23
+ );
24
+ C.displayName = "KonstructWarningIcon";
19
25
  export {
20
- f as WarningIcon,
21
- f as default
26
+ C as WarningIcon,
27
+ C as default
22
28
  };
@@ -1,22 +1,28 @@
1
- import { jsx as p } from "react/jsx-runtime";
2
- import { c as m } from "../../../compiler-runtime-DA41awpA.js";
3
- import { forwardRef as f } from "react";
4
- const d = f((s, c) => {
5
- const o = m.c(11);
6
- let t, r, i;
7
- o[0] !== s ? ({
8
- size: r,
9
- color: i,
10
- ...t
11
- } = s, o[0] = s, o[1] = t, o[2] = r, o[3] = i) : (t = o[1], r = o[2], i = o[3]);
12
- const l = r === void 0 ? 22 : r, a = i === void 0 ? "currentColor" : i;
13
- let e;
14
- o[4] !== a ? (e = /* @__PURE__ */ p("path", { d: "M0 19H22L11 0L0 19ZM12 16H10V14H12V16ZM12 12H10V8H12V12Z", fill: a }), o[4] = a, o[5] = e) : e = o[5];
15
- let n;
16
- return o[6] !== t || o[7] !== c || o[8] !== l || o[9] !== e ? (n = /* @__PURE__ */ p("svg", { ref: c, xmlns: "http://www.w3.org/2000/svg", width: l, height: l, viewBox: "0 0 22 19", fill: "none", ...t, children: e }), o[6] = t, o[7] = c, o[8] = l, o[9] = e, o[10] = n) : n = o[10], n;
17
- });
18
- d.displayName = "KonstructWarningTriangleIcon";
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { forwardRef as l } from "react";
3
+ const a = l(
4
+ ({ size: r = 22, color: o = "currentColor", ...t }, i) => /* @__PURE__ */ n(
5
+ "svg",
6
+ {
7
+ ref: i,
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ width: r,
10
+ height: r,
11
+ viewBox: "0 0 22 19",
12
+ fill: "none",
13
+ ...t,
14
+ children: /* @__PURE__ */ n(
15
+ "path",
16
+ {
17
+ d: "M0 19H22L11 0L0 19ZM12 16H10V14H12V16ZM12 12H10V8H12V12Z",
18
+ fill: o
19
+ }
20
+ )
21
+ }
22
+ )
23
+ );
24
+ a.displayName = "KonstructWarningTriangleIcon";
19
25
  export {
20
- d as WarningTriangleIcon,
21
- d as default
26
+ a as WarningTriangleIcon,
27
+ a as default
22
28
  };
@@ -1,22 +1,28 @@
1
- import { jsx as p } from "react/jsx-runtime";
2
- import { c as m } from "../../../compiler-runtime-DA41awpA.js";
3
- import { forwardRef as f } from "react";
4
- const d = f((c, n) => {
5
- const o = m.c(11);
6
- let t, l, r;
7
- o[0] !== c ? ({
8
- size: l,
9
- color: r,
10
- ...t
11
- } = c, o[0] = c, o[1] = t, o[2] = l, o[3] = r) : (t = o[1], l = o[2], r = o[3]);
12
- const i = l === void 0 ? 24 : l, L = r === void 0 ? "currentColor" : r;
13
- let e;
14
- o[4] !== L ? (e = /* @__PURE__ */ p("path", { d: "M27 14.41L25.59 13L20 18.59L14.41 13L13 14.41L18.59 20L13 25.59L14.41 27L20 21.41L25.59 27L27 25.59L21.41 20L27 14.41Z", fill: L }), o[4] = L, o[5] = e) : e = o[5];
15
- let s;
16
- return o[6] !== t || o[7] !== n || o[8] !== i || o[9] !== e ? (s = /* @__PURE__ */ p("svg", { ref: n, xmlns: "http://www.w3.org/2000/svg", width: i, height: i, viewBox: "0 0 40 40", fill: "none", ...t, children: e }), o[6] = t, o[7] = n, o[8] = i, o[9] = e, o[10] = s) : s = o[10], s;
17
- });
18
- d.displayName = "KonstructXIcon";
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { forwardRef as n } from "react";
3
+ const e = n(
4
+ ({ size: o = 24, color: t = "currentColor", ...L }, l) => /* @__PURE__ */ r(
5
+ "svg",
6
+ {
7
+ ref: l,
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ width: o,
10
+ height: o,
11
+ viewBox: "0 0 40 40",
12
+ fill: "none",
13
+ ...L,
14
+ children: /* @__PURE__ */ r(
15
+ "path",
16
+ {
17
+ d: "M27 14.41L25.59 13L20 18.59L14.41 13L13 14.41L18.59 20L13 25.59L14.41 27L20 21.41L25.59 27L27 25.59L21.41 20L27 14.41Z",
18
+ fill: t
19
+ }
20
+ )
21
+ }
22
+ )
23
+ );
24
+ e.displayName = "KonstructXIcon";
19
25
  export {
20
- d as XIcon,
21
- d as default
26
+ e as XIcon,
27
+ e as default
22
28
  };
@@ -1,82 +1,65 @@
1
- import { jsx as m, jsxs as x } from "react/jsx-runtime";
2
- import { c as B } from "../../compiler-runtime-DA41awpA.js";
3
- import { useRef as R, useState as S, useEffect as j } from "react";
4
- import { V as P } from "../../index-BKjcReYh.js";
5
- import { cn as f } from "../../utils/index.js";
6
- import { alertVariants as D, iconVariants as F, titleVariants as H, descriptionVariants as L, closeButtonVariants as M } from "./Alert.variants.js";
7
- import { ErrorIcon as O } from "../../assets/icons/components/Error.js";
8
- import { WarningTriangleIcon as T } from "../../assets/icons/components/WarningTriangle.js";
9
- import { InfoCircleIcon as W } from "../../assets/icons/components/InfoCircle.js";
10
- import { CheckCircleFilledIcon as X } from "../../assets/icons/components/CheckCircleFilled.js";
11
- import { X as $ } from "../../x-Eoa9FJjA.js";
12
- const q = {
13
- success: X,
14
- info: W,
15
- warning: T,
16
- danger: O
17
- }, se = (_) => {
18
- const e = B.c(28), {
19
- theme: y,
20
- type: t,
21
- title: d,
22
- description: p,
23
- isVisible: N,
24
- showCloseButton: w
25
- } = _, a = N === void 0 ? !0 : N, I = w === void 0 ? !1 : w, u = R(null), [A, E] = S(a);
26
- let h;
27
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = () => {
28
- const c = u.current;
29
- c && c.setAttribute("data-state", "hidden");
30
- }, e[0] = h) : h = e[0];
31
- const k = h;
32
- let b, C;
33
- if (e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = () => {
34
- const c = new AbortController();
35
- return u.current?.addEventListener("animationend", () => {
36
- u.current?.style.setProperty("display", "none"), E(!1);
37
- }, {
38
- signal: c.signal
39
- }), () => c.abort();
40
- }, C = [], e[1] = b, e[2] = C) : (b = e[1], C = e[2]), j(b, C), !A)
1
+ import { jsxs as s, jsx as n } from "react/jsx-runtime";
2
+ import { useRef as h, useState as C, useCallback as I, useEffect as b } from "react";
3
+ import { V as g } from "../../index-BKjcReYh.js";
4
+ import { cn as t } from "../../utils/index.js";
5
+ import { iconVariants as N, titleVariants as V, descriptionVariants as v, closeButtonVariants as x, alertVariants as k } from "./Alert.variants.js";
6
+ import { ErrorIcon as w } from "../../assets/icons/components/Error.js";
7
+ import { WarningTriangleIcon as A } from "../../assets/icons/components/WarningTriangle.js";
8
+ import { InfoCircleIcon as E } from "../../assets/icons/components/InfoCircle.js";
9
+ import { CheckCircleFilledIcon as j } from "../../assets/icons/components/CheckCircleFilled.js";
10
+ import { X as P } from "../../x-Eoa9FJjA.js";
11
+ const R = {
12
+ success: j,
13
+ info: E,
14
+ warning: A,
15
+ danger: w
16
+ }, X = ({
17
+ theme: m,
18
+ type: r,
19
+ title: l,
20
+ description: i,
21
+ isVisible: a = !0,
22
+ showCloseButton: d = !1
23
+ }) => {
24
+ const o = h(null), [f, u] = C(a), p = I(() => {
25
+ const e = o.current;
26
+ e && e.setAttribute("data-state", "hidden");
27
+ }, []);
28
+ if (b(() => {
29
+ const e = new AbortController();
30
+ return o.current?.addEventListener(
31
+ "animationend",
32
+ () => {
33
+ o.current?.style.setProperty("display", "none"), u(!1);
34
+ },
35
+ { signal: e.signal }
36
+ ), () => e.abort();
37
+ }, []), !f)
41
38
  return null;
42
- const V = t ? q[t] : null;
43
- let i;
44
- e[3] !== a || e[4] !== t ? (i = f(D({
45
- type: t,
46
- isVisible: a
47
- })), e[3] = a, e[4] = t, e[5] = i) : i = e[5];
48
- const g = a ? "visible" : "hidden";
49
- let s;
50
- e[6] !== V || e[7] !== t ? (s = V && /* @__PURE__ */ m(V, { className: f(F({
51
- type: t
52
- })) }), e[6] = V, e[7] = t, e[8] = s) : s = e[8];
53
- let o;
54
- e[9] !== d || e[10] !== t ? (o = d && /* @__PURE__ */ m("p", { className: f(H({
55
- type: t
56
- })), children: d }), e[9] = d, e[10] = t, e[11] = o) : o = e[11];
57
- let r;
58
- e[12] !== p || e[13] !== t ? (r = p && /* @__PURE__ */ m("div", { className: f(L({
59
- type: t
60
- })), children: p }), e[12] = p, e[13] = t, e[14] = r) : r = e[14];
61
- let l;
62
- e[15] !== r || e[16] !== o ? (l = /* @__PURE__ */ x("div", { className: "flex flex-col gap-1 flex-1", children: [
63
- o,
64
- r
65
- ] }), e[15] = r, e[16] = o, e[17] = l) : l = e[17];
66
- let n;
67
- e[18] !== I || e[19] !== t ? (n = I && /* @__PURE__ */ x("button", { type: "button", onClick: k, children: [
68
- /* @__PURE__ */ m($, { className: f(M({
69
- type: t
70
- })) }),
71
- /* @__PURE__ */ m(P, { children: "Dismiss alert" })
72
- ] }), e[18] = I, e[19] = t, e[20] = n) : n = e[20];
73
- let v;
74
- return e[21] !== l || e[22] !== n || e[23] !== i || e[24] !== g || e[25] !== s || e[26] !== y ? (v = /* @__PURE__ */ x("div", { ref: u, className: i, "data-state": g, "data-theme": y, role: "alert", "aria-live": "polite", children: [
75
- s,
76
- l,
77
- n
78
- ] }), e[21] = l, e[22] = n, e[23] = i, e[24] = g, e[25] = s, e[26] = y, e[27] = v) : v = e[27], v;
39
+ const c = r ? R[r] : null;
40
+ return /* @__PURE__ */ s(
41
+ "div",
42
+ {
43
+ ref: o,
44
+ className: t(k({ type: r, isVisible: a })),
45
+ "data-state": a ? "visible" : "hidden",
46
+ "data-theme": m,
47
+ role: "alert",
48
+ "aria-live": "polite",
49
+ children: [
50
+ c && /* @__PURE__ */ n(c, { className: t(N({ type: r })) }),
51
+ /* @__PURE__ */ s("div", { className: "flex flex-col gap-1 flex-1", children: [
52
+ l && /* @__PURE__ */ n("p", { className: t(V({ type: r })), children: l }),
53
+ i && /* @__PURE__ */ n("div", { className: t(v({ type: r })), children: i })
54
+ ] }),
55
+ d && /* @__PURE__ */ s("button", { type: "button", onClick: p, children: [
56
+ /* @__PURE__ */ n(P, { className: t(x({ type: r })) }),
57
+ /* @__PURE__ */ n(g, { children: "Dismiss alert" })
58
+ ] })
59
+ ]
60
+ }
61
+ );
79
62
  };
80
63
  export {
81
- se as Alert
64
+ X as Alert
82
65
  };