@konstructio/ui 0.0.12 → 0.0.13-alpha.2

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 (351) hide show
  1. package/dist/{Combination-Cmu9JRkv.js → Combination-b348x__d.js} +89 -89
  2. package/dist/Modal-i7eolhYH.js +926 -0
  3. package/dist/{chevron-up-CvquEaNg.js → chevron-up-DgLBQCKD.js} +1 -1
  4. package/dist/components/Alert/Alert.js +53 -0
  5. package/dist/components/Alert/Alert.variants.js +71 -0
  6. package/dist/components/AlertDialog/AlertDialog.js +60 -50
  7. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +3 -6
  8. package/dist/components/AlertDialog/components/index.js +1 -1
  9. package/dist/components/Autocomplete/Autocomplete.js +74 -72
  10. package/dist/components/Autocomplete/Autocomplete.variants.js +11 -21
  11. package/dist/components/Autocomplete/components/List/List.js +28 -30
  12. package/dist/components/Autocomplete/components/List/List.variants.js +34 -40
  13. package/dist/components/Breadcrumb/Breadcrumb.js +67 -77
  14. package/dist/components/Breadcrumb/Breadcrumb.variants.js +22 -40
  15. package/dist/components/Breadcrumb/components/Item/Item.js +49 -0
  16. package/dist/components/Breadcrumb/components/Item/Item.variants.js +72 -0
  17. package/dist/components/Breadcrumb/components/index.js +4 -0
  18. package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +2 -3
  19. package/dist/components/Button/Button.js +34 -40
  20. package/dist/components/Button/Button.variants.js +138 -195
  21. package/dist/components/Card/Card.js +30 -37
  22. package/dist/components/Card/Card.variants.js +18 -53
  23. package/dist/components/Checkbox/Checkbox.js +70 -75
  24. package/dist/components/Checkbox/Checkbox.variants.js +11 -35
  25. package/dist/components/Command/Command.js +40 -0
  26. package/dist/components/Command/Command.variants.js +50 -0
  27. package/dist/components/Command/components/Command.js +8 -0
  28. package/dist/components/Command/components/CommandEmpty.js +15 -0
  29. package/dist/components/Command/components/CommandGroup.js +19 -0
  30. package/dist/components/Command/components/CommandInput.js +84 -0
  31. package/dist/components/Command/components/CommandItem.js +29 -0
  32. package/dist/components/Command/components/CommandList.js +16 -0
  33. package/dist/components/Command/components/CommandSeparator.js +16 -0
  34. package/dist/components/Command/components/CommandShortcut.js +19 -0
  35. package/dist/components/Command/components/DialogContent.js +31 -0
  36. package/dist/components/Command/components/DialogOverlay.js +19 -0
  37. package/dist/components/Command/components/index.js +20 -0
  38. package/dist/components/Command/contexts/Command.context.js +13 -0
  39. package/dist/components/Command/contexts/Command.provider.js +24 -0
  40. package/dist/components/Command/contexts/index.js +6 -0
  41. package/dist/components/Divider/Divider.js +11 -0
  42. package/dist/components/Divider/Divider.variants.js +17 -0
  43. package/dist/components/Dropdown/Dropdown.js +6 -8
  44. package/dist/components/Dropdown/Dropdown.variants.js +31 -38
  45. package/dist/components/Dropdown/components/List/List.js +18 -17
  46. package/dist/components/Dropdown/components/List/List.variants.js +22 -32
  47. package/dist/components/Dropdown/components/ListItem/ListItem.js +19 -19
  48. package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +18 -28
  49. package/dist/components/Dropdown/components/Wrapper.js +128 -94
  50. package/dist/components/Dropdown/contexts/dropdown.context.js +1 -1
  51. package/dist/components/Dropdown/contexts/dropdown.provider.js +12 -12
  52. package/dist/components/Dropdown/hooks/useDropdown.js +12 -14
  53. package/dist/components/Dropdown/hooks/useNavigationList.js +8 -10
  54. package/dist/components/Input/Input.js +112 -69
  55. package/dist/components/Input/Input.variants.js +10 -16
  56. package/dist/components/Loading/Loading.js +111 -0
  57. package/dist/components/Loading/Loading.variants.js +13 -0
  58. package/dist/components/Modal/Modal.js +4 -4
  59. package/dist/components/Modal/components/Body/Body.js +1 -1
  60. package/dist/components/Modal/components/Footer/Footer.js +2 -2
  61. package/dist/components/Modal/components/Header/Header.js +3 -3
  62. package/dist/components/Modal/components/Wrapper/Wrapper.js +5 -9
  63. package/dist/components/Modal/components/Wrapper/Wrapper.variants.js +32 -46
  64. package/dist/components/Modal/components/index.js +1 -1
  65. package/dist/components/Modal/contexts/Modal.provider.js +4 -4
  66. package/dist/components/NumberInput/NumberInput.js +93 -113
  67. package/dist/components/NumberInput/NumberInput.variants.js +30 -51
  68. package/dist/components/ProgressBar/ProgressBar.js +25 -32
  69. package/dist/components/ProgressBar/ProgressBar.variants.js +10 -31
  70. package/dist/components/Radio/Radio.js +47 -30
  71. package/dist/components/Radio/Radio.variants.js +61 -17
  72. package/dist/components/RadioCard/RadioCard.js +35 -0
  73. package/dist/components/RadioCard/RadioCard.variants.js +10 -0
  74. package/dist/components/RadioCardGroup/RadioCardGroup.js +46 -0
  75. package/dist/components/RadioCardGroup/RadioCardGroup.variants.js +15 -0
  76. package/dist/components/RadioGroup/RadioGroup.js +40 -31
  77. package/dist/components/RadioGroup/RadioGroup.variants.js +15 -0
  78. package/dist/components/Range/Range.js +31 -39
  79. package/dist/components/Range/Range.variants.js +21 -53
  80. package/dist/components/Sidebar/Sidebar.js +15 -18
  81. package/dist/components/Sidebar/Sidebar.variants.js +30 -55
  82. package/dist/components/Sidebar/components/Footer/Footer.js +5 -20
  83. package/dist/components/Sidebar/components/Footer/Footer.variants.js +9 -16
  84. package/dist/components/Sidebar/components/Logo/Logo.js +5 -18
  85. package/dist/components/Sidebar/components/Logo/Logo.variants.js +21 -43
  86. package/dist/components/Sidebar/components/Navigation/Navigation.js +15 -31
  87. package/dist/components/Sidebar/components/Navigation/Navigation.variants.js +3 -17
  88. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +23 -38
  89. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.js +3 -14
  90. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +24 -33
  91. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +13 -22
  92. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +7 -22
  93. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.js +6 -16
  94. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +9 -25
  95. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.js +11 -20
  96. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +41 -42
  97. package/dist/components/Slider/Slider.js +26 -29
  98. package/dist/components/Slider/Slider.variants.js +22 -34
  99. package/dist/components/Switch/Switch.js +100 -105
  100. package/dist/components/Switch/Switch.variants.js +28 -53
  101. package/dist/components/Table/Table.js +27 -0
  102. package/dist/components/Table/Table.variants.js +39 -0
  103. package/dist/components/Table/components/Body.js +18 -0
  104. package/dist/components/Table/components/Filter.js +9 -0
  105. package/dist/components/Table/components/Head.js +18 -0
  106. package/dist/components/Table/components/Row.js +28 -0
  107. package/dist/components/Table/components/index.js +10 -0
  108. package/dist/components/Tag/Tag.js +17 -5
  109. package/dist/components/Tag/Tag.variants.js +11 -1
  110. package/dist/components/TagSelect/TagSelect.js +6 -73
  111. package/dist/components/TagSelect/TagSelect.variants.js +24 -77
  112. package/dist/components/TagSelect/components/Item/Item.js +21 -0
  113. package/dist/components/TagSelect/components/Item/Item.variants.js +32 -0
  114. package/dist/components/TagSelect/components/List/List.js +12 -0
  115. package/dist/components/TagSelect/components/List/List.variants.js +23 -0
  116. package/dist/components/TagSelect/components/Wrapper/Wrapper.js +86 -0
  117. package/dist/components/TagSelect/components/index.js +8 -0
  118. package/dist/components/TagSelect/contexts/TagSelect.context.js +19 -0
  119. package/dist/components/TagSelect/contexts/TagSelect.hook.js +11 -0
  120. package/dist/components/TagSelect/contexts/TagSelect.provider.js +69 -0
  121. package/dist/components/TagSelect/contexts/index.js +6 -0
  122. package/dist/components/TagSelect/hooks/useTagSelect.js +22 -27
  123. package/dist/components/TextArea/TextArea.js +26 -25
  124. package/dist/components/TextArea/TextArea.variants.js +19 -32
  125. package/dist/components/Toast/Toast.js +177 -172
  126. package/dist/components/Toast/Toast.variants.js +42 -71
  127. package/dist/components/Tooltip/Tooltip.js +21 -29
  128. package/dist/components/Tooltip/Tooltip.variants.js +61 -62
  129. package/dist/components/Typography/Typography.js +35 -0
  130. package/dist/components/Typography/Typography.variants.js +57 -0
  131. package/dist/components/index.js +68 -52
  132. package/dist/contexts/theme.provider.js +84 -16
  133. package/dist/index-AM3avohj.js +133 -0
  134. package/dist/{index-z-AJyzdv.js → index-BOx5P4tS.js} +11 -11
  135. package/dist/index-Bk324h27.js +82 -0
  136. package/dist/{index-BxeV34ij.js → index-Bry5AFQ2.js} +1 -1
  137. package/dist/{index-D68N8v8R.js → index-C5psggHV.js} +17 -17
  138. package/dist/{index-BtibbG81.js → index-CWKdynYu.js} +1 -1
  139. package/dist/index-D9BbbgUq.js +47 -0
  140. package/dist/index-DvFiic6N.js +446 -0
  141. package/dist/{index-D4Q2rMby.js → index-G_6jG4Qc.js} +2 -2
  142. package/dist/{index-BedjZUuB.js → index-YaQrdkGE.js} +3 -3
  143. package/dist/{index-8vgf-x5i.js → index-bYyfdsls.js} +11 -11
  144. package/dist/index-dRxIWVBr.js +313 -0
  145. package/dist/index-g-TFwd6Y.js +422 -0
  146. package/dist/index.d.ts +591 -4
  147. package/dist/index.js +72 -58
  148. package/dist/package.json +44 -42
  149. package/dist/styles.css +1 -1
  150. package/dist/styles.js +1 -1
  151. package/dist/ui/kubefirst-theme.css +296 -0
  152. package/dist/ui/theme.css +6 -0
  153. package/dist/ui/utilities.css +165 -0
  154. package/dist/useBreadcrumb-BsIeMoR1.js +1279 -0
  155. package/dist/utils/index.js +671 -422
  156. package/dist/{x-CRBgmX1Q.js → x-DU-Zw-L_.js} +1 -1
  157. package/package.json +44 -42
  158. package/dist/AlertDialogTrigger-D4Tm_9M0.js +0 -553
  159. package/dist/Modal-L73dmnHv.js +0 -914
  160. package/dist/components/AlertDialog/AlertDialog.d.ts +0 -3
  161. package/dist/components/AlertDialog/AlertDialog.types.d.ts +0 -18
  162. package/dist/components/AlertDialog/AlertDialog.types.js +0 -1
  163. package/dist/components/AlertDialog/AlertDialog.variants.d.ts +0 -3
  164. package/dist/components/AlertDialog/AlertDialog.variants.js +0 -15
  165. package/dist/components/AlertDialog/components/AlertDialogTrigger.d.ts +0 -3
  166. package/dist/components/AlertDialog/components/AlertDialogTrigger.types.d.ts +0 -6
  167. package/dist/components/AlertDialog/components/AlertDialogTrigger.types.js +0 -1
  168. package/dist/components/AlertDialog/components/index.d.ts +0 -1
  169. package/dist/components/AlertDialog/hooks/index.d.ts +0 -1
  170. package/dist/components/AlertDialog/hooks/useAlertDialog.d.ts +0 -7
  171. package/dist/components/Autocomplete/Autocomplete.d.ts +0 -3
  172. package/dist/components/Autocomplete/Autocomplete.types.d.ts +0 -18
  173. package/dist/components/Autocomplete/Autocomplete.types.js +0 -1
  174. package/dist/components/Autocomplete/Autocomplete.variants.d.ts +0 -8
  175. package/dist/components/Autocomplete/components/List/List.d.ts +0 -3
  176. package/dist/components/Autocomplete/components/List/List.types.d.ts +0 -13
  177. package/dist/components/Autocomplete/components/List/List.types.js +0 -1
  178. package/dist/components/Autocomplete/components/List/List.variants.d.ts +0 -16
  179. package/dist/components/Autocomplete/components/index.d.ts +0 -1
  180. package/dist/components/Autocomplete/hooks/index.d.ts +0 -2
  181. package/dist/components/Autocomplete/hooks/useAutocomplete.d.ts +0 -17
  182. package/dist/components/Autocomplete/hooks/useNavigationList.d.ts +0 -10
  183. package/dist/components/Breadcrumb/Breadcrumb.d.ts +0 -3
  184. package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +0 -11
  185. package/dist/components/Breadcrumb/Breadcrumb.types.js +0 -1
  186. package/dist/components/Breadcrumb/Breadcrumb.variants.d.ts +0 -12
  187. package/dist/components/Breadcrumb/hooks/useBreadcrumb.d.ts +0 -3
  188. package/dist/components/Button/Button.d.ts +0 -4
  189. package/dist/components/Button/Button.types.d.ts +0 -7
  190. package/dist/components/Button/Button.types.js +0 -1
  191. package/dist/components/Button/Button.variants.d.ts +0 -7
  192. package/dist/components/Card/Card.d.ts +0 -4
  193. package/dist/components/Card/Card.types.d.ts +0 -8
  194. package/dist/components/Card/Card.types.js +0 -1
  195. package/dist/components/Card/Card.variants.d.ts +0 -10
  196. package/dist/components/Checkbox/Checkbox.d.ts +0 -3
  197. package/dist/components/Checkbox/Checkbox.types.d.ts +0 -14
  198. package/dist/components/Checkbox/Checkbox.types.js +0 -1
  199. package/dist/components/Checkbox/Checkbox.variants.d.ts +0 -9
  200. package/dist/components/Dropdown/Dropdown.d.ts +0 -3
  201. package/dist/components/Dropdown/Dropdown.types.d.ts +0 -16
  202. package/dist/components/Dropdown/Dropdown.types.js +0 -1
  203. package/dist/components/Dropdown/Dropdown.variants.d.ts +0 -3
  204. package/dist/components/Dropdown/components/EmptyList.d.ts +0 -2
  205. package/dist/components/Dropdown/components/List/List.d.ts +0 -3
  206. package/dist/components/Dropdown/components/List/List.types.d.ts +0 -6
  207. package/dist/components/Dropdown/components/List/List.types.js +0 -1
  208. package/dist/components/Dropdown/components/List/List.variants.d.ts +0 -3
  209. package/dist/components/Dropdown/components/ListItem/ListItem.d.ts +0 -3
  210. package/dist/components/Dropdown/components/ListItem/ListItem.types.d.ts +0 -4
  211. package/dist/components/Dropdown/components/ListItem/ListItem.types.js +0 -1
  212. package/dist/components/Dropdown/components/ListItem/ListItem.variants.d.ts +0 -3
  213. package/dist/components/Dropdown/components/Wrapper.d.ts +0 -3
  214. package/dist/components/Dropdown/components/index.d.ts +0 -3
  215. package/dist/components/Dropdown/contexts/dropdown.context.d.ts +0 -8
  216. package/dist/components/Dropdown/contexts/dropdown.hook.d.ts +0 -2
  217. package/dist/components/Dropdown/contexts/dropdown.provider.d.ts +0 -5
  218. package/dist/components/Dropdown/contexts/index.d.ts +0 -2
  219. package/dist/components/Dropdown/hooks/useDropdown.d.ts +0 -11
  220. package/dist/components/Dropdown/hooks/useNavigationList.d.ts +0 -8
  221. package/dist/components/Input/Input.d.ts +0 -3
  222. package/dist/components/Input/Input.types.d.ts +0 -9
  223. package/dist/components/Input/Input.types.js +0 -1
  224. package/dist/components/Input/Input.variants.d.ts +0 -4
  225. package/dist/components/Modal/Modal.d.ts +0 -8
  226. package/dist/components/Modal/Modal.types.d.ts +0 -12
  227. package/dist/components/Modal/Modal.types.js +0 -1
  228. package/dist/components/Modal/components/Body/Body.d.ts +0 -3
  229. package/dist/components/Modal/components/Body/Body.types.d.ts +0 -5
  230. package/dist/components/Modal/components/Body/Body.types.js +0 -1
  231. package/dist/components/Modal/components/Footer/Footer.d.ts +0 -3
  232. package/dist/components/Modal/components/Footer/Footer.types.d.ts +0 -5
  233. package/dist/components/Modal/components/Footer/Footer.types.js +0 -1
  234. package/dist/components/Modal/components/Header/Header.d.ts +0 -3
  235. package/dist/components/Modal/components/Header/Header.types.d.ts +0 -5
  236. package/dist/components/Modal/components/Header/Header.types.js +0 -1
  237. package/dist/components/Modal/components/Wrapper/Wrapper.d.ts +0 -3
  238. package/dist/components/Modal/components/Wrapper/Wrapper.types.d.ts +0 -7
  239. package/dist/components/Modal/components/Wrapper/Wrapper.types.js +0 -1
  240. package/dist/components/Modal/components/Wrapper/Wrapper.variants.d.ts +0 -6
  241. package/dist/components/Modal/components/index.d.ts +0 -4
  242. package/dist/components/Modal/contexts/Modal.context.d.ts +0 -2
  243. package/dist/components/Modal/contexts/Modal.provider.d.ts +0 -4
  244. package/dist/components/Modal/contexts/Modal.types.d.ts +0 -9
  245. package/dist/components/Modal/contexts/Modal.types.js +0 -1
  246. package/dist/components/Modal/contexts/index.d.ts +0 -1
  247. package/dist/components/Modal/hooks/index.d.ts +0 -1
  248. package/dist/components/Modal/hooks/useModal.d.ts +0 -9
  249. package/dist/components/NumberInput/NumberInput.d.ts +0 -3
  250. package/dist/components/NumberInput/NumberInput.types.d.ts +0 -11
  251. package/dist/components/NumberInput/NumberInput.types.js +0 -1
  252. package/dist/components/NumberInput/NumberInput.variants.d.ts +0 -11
  253. package/dist/components/ProgressBar/ProgressBar.d.ts +0 -3
  254. package/dist/components/ProgressBar/ProgressBar.types.d.ts +0 -8
  255. package/dist/components/ProgressBar/ProgressBar.types.js +0 -1
  256. package/dist/components/ProgressBar/ProgressBar.variants.d.ts +0 -7
  257. package/dist/components/Radio/Radio.d.ts +0 -3
  258. package/dist/components/Radio/Radio.types.d.ts +0 -12
  259. package/dist/components/Radio/Radio.types.js +0 -1
  260. package/dist/components/Radio/Radio.variants.d.ts +0 -3
  261. package/dist/components/RadioGroup/RadioGroup.d.ts +0 -3
  262. package/dist/components/RadioGroup/RadioGroup.types.d.ts +0 -12
  263. package/dist/components/RadioGroup/RadioGroup.types.js +0 -1
  264. package/dist/components/Range/Range.d.ts +0 -3
  265. package/dist/components/Range/Range.types.d.ts +0 -13
  266. package/dist/components/Range/Range.types.js +0 -1
  267. package/dist/components/Range/Range.variants.d.ts +0 -14
  268. package/dist/components/Sidebar/Sidebar.d.ts +0 -5
  269. package/dist/components/Sidebar/Sidebar.types.d.ts +0 -18
  270. package/dist/components/Sidebar/Sidebar.types.js +0 -1
  271. package/dist/components/Sidebar/Sidebar.variants.d.ts +0 -6
  272. package/dist/components/Sidebar/components/Footer/Footer.d.ts +0 -3
  273. package/dist/components/Sidebar/components/Footer/Footer.types.d.ts +0 -6
  274. package/dist/components/Sidebar/components/Footer/Footer.types.js +0 -1
  275. package/dist/components/Sidebar/components/Footer/Footer.variants.d.ts +0 -3
  276. package/dist/components/Sidebar/components/Logo/Logo.d.ts +0 -3
  277. package/dist/components/Sidebar/components/Logo/Logo.types.d.ts +0 -6
  278. package/dist/components/Sidebar/components/Logo/Logo.types.js +0 -1
  279. package/dist/components/Sidebar/components/Logo/Logo.variants.d.ts +0 -3
  280. package/dist/components/Sidebar/components/Navigation/Navigation.d.ts +0 -4
  281. package/dist/components/Sidebar/components/Navigation/Navigation.types.d.ts +0 -16
  282. package/dist/components/Sidebar/components/Navigation/Navigation.types.js +0 -1
  283. package/dist/components/Sidebar/components/Navigation/Navigation.variants.d.ts +0 -3
  284. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.d.ts +0 -3
  285. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.types.d.ts +0 -7
  286. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.types.js +0 -1
  287. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.d.ts +0 -3
  288. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.d.ts +0 -3
  289. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.types.d.ts +0 -17
  290. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.types.js +0 -1
  291. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.d.ts +0 -4
  292. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.d.ts +0 -3
  293. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.types.d.ts +0 -5
  294. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.types.js +0 -1
  295. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.d.ts +0 -3
  296. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.d.ts +0 -3
  297. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.types.d.ts +0 -8
  298. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.types.js +0 -1
  299. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.d.ts +0 -3
  300. package/dist/components/Sidebar/components/Wrapper/Wrapper.d.ts +0 -3
  301. package/dist/components/Sidebar/components/index.d.ts +0 -15
  302. package/dist/components/Slider/Slider.d.ts +0 -3
  303. package/dist/components/Slider/Slider.types.d.ts +0 -13
  304. package/dist/components/Slider/Slider.types.js +0 -1
  305. package/dist/components/Slider/Slider.variants.d.ts +0 -11
  306. package/dist/components/Switch/Switch.d.ts +0 -3
  307. package/dist/components/Switch/Switch.types.d.ts +0 -10
  308. package/dist/components/Switch/Switch.types.js +0 -1
  309. package/dist/components/Switch/Switch.variants.d.ts +0 -6
  310. package/dist/components/Tag/Tag.d.ts +0 -3
  311. package/dist/components/Tag/Tag.types.d.ts +0 -4
  312. package/dist/components/Tag/Tag.types.js +0 -1
  313. package/dist/components/Tag/Tag.variants.d.ts +0 -3
  314. package/dist/components/TagSelect/TagSelect.d.ts +0 -3
  315. package/dist/components/TagSelect/TagSelect.types.d.ts +0 -9
  316. package/dist/components/TagSelect/TagSelect.types.js +0 -1
  317. package/dist/components/TagSelect/TagSelect.variants.d.ts +0 -9
  318. package/dist/components/TagSelect/hooks/useTagSelect.d.ts +0 -9
  319. package/dist/components/TextArea/TextArea.d.ts +0 -3
  320. package/dist/components/TextArea/TextArea.types.d.ts +0 -10
  321. package/dist/components/TextArea/TextArea.types.js +0 -1
  322. package/dist/components/TextArea/TextArea.variants.d.ts +0 -3
  323. package/dist/components/Toast/Toast.d.ts +0 -3
  324. package/dist/components/Toast/Toast.types.d.ts +0 -12
  325. package/dist/components/Toast/Toast.types.js +0 -1
  326. package/dist/components/Toast/Toast.variants.d.ts +0 -9
  327. package/dist/components/Tooltip/Tooltip.d.ts +0 -3
  328. package/dist/components/Tooltip/Tooltip.types.d.ts +0 -8
  329. package/dist/components/Tooltip/Tooltip.types.js +0 -1
  330. package/dist/components/Tooltip/Tooltip.variants.d.ts +0 -8
  331. package/dist/components/Tooltip/hooks/useTooltip.d.ts +0 -4
  332. package/dist/components/index.d.ts +0 -21
  333. package/dist/contexts/index.d.ts +0 -3
  334. package/dist/contexts/theme.context.d.ts +0 -6
  335. package/dist/contexts/theme.hook.d.ts +0 -7
  336. package/dist/contexts/theme.provider.d.ts +0 -6
  337. package/dist/hooks/index.d.ts +0 -1
  338. package/dist/hooks/useToggle.d.ts +0 -1
  339. package/dist/index-BBjak_0p.js +0 -47
  340. package/dist/index-BaNV0qac.js +0 -19164
  341. package/dist/index-DoOsnuB6.js +0 -72
  342. package/dist/js.cookie-OLEfuq_g.js +0 -74
  343. package/dist/plugins/index.d.ts +0 -1
  344. package/dist/plugins/index.js +0 -4
  345. package/dist/plugins/konstruct.d.ts +0 -4
  346. package/dist/plugins/konstruct.js +0 -115
  347. package/dist/plugins/utils/colors.d.ts +0 -328
  348. package/dist/plugins/utils/colors.js +0 -331
  349. package/dist/useBreadcrumb-DxYsZvj_.js +0 -1398
  350. package/dist/utils/index.d.ts +0 -4
  351. /package/dist/{styles.d.ts → domain/theme.js} +0 -0
@@ -0,0 +1,422 @@
1
+ import * as D from "react";
2
+ import R from "react";
3
+ import { g as b } from "./_commonjsHelpers-C6fGbg64.js";
4
+ import { c as w } from "./index-Bk324h27.js";
5
+ import { jsx as N } from "react/jsx-runtime";
6
+ var v = { exports: {} }, u = {};
7
+ /**
8
+ * @license React
9
+ * react-dom.production.js
10
+ *
11
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
12
+ *
13
+ * This source code is licensed under the MIT license found in the
14
+ * LICENSE file in the root directory of this source tree.
15
+ */
16
+ var h;
17
+ function M() {
18
+ if (h) return u;
19
+ h = 1;
20
+ var c = R;
21
+ function d(n) {
22
+ var r = "https://react.dev/errors/" + n;
23
+ if (1 < arguments.length) {
24
+ r += "?args[]=" + encodeURIComponent(arguments[1]);
25
+ for (var a = 2; a < arguments.length; a++)
26
+ r += "&args[]=" + encodeURIComponent(arguments[a]);
27
+ }
28
+ return "Minified React error #" + n + "; visit " + r + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
29
+ }
30
+ function f() {
31
+ }
32
+ var o = {
33
+ d: {
34
+ f,
35
+ r: function() {
36
+ throw Error(d(522));
37
+ },
38
+ D: f,
39
+ C: f,
40
+ L: f,
41
+ m: f,
42
+ X: f,
43
+ S: f,
44
+ M: f
45
+ },
46
+ p: 0,
47
+ findDOMNode: null
48
+ }, s = Symbol.for("react.portal");
49
+ function g(n, r, a) {
50
+ var t = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
51
+ return {
52
+ $$typeof: s,
53
+ key: t == null ? null : "" + t,
54
+ children: n,
55
+ containerInfo: r,
56
+ implementation: a
57
+ };
58
+ }
59
+ var y = c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
60
+ function m(n, r) {
61
+ if (n === "font") return "";
62
+ if (typeof r == "string")
63
+ return r === "use-credentials" ? r : "";
64
+ }
65
+ return u.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = o, u.createPortal = function(n, r) {
66
+ var a = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
67
+ if (!r || r.nodeType !== 1 && r.nodeType !== 9 && r.nodeType !== 11)
68
+ throw Error(d(299));
69
+ return g(n, r, null, a);
70
+ }, u.flushSync = function(n) {
71
+ var r = y.T, a = o.p;
72
+ try {
73
+ if (y.T = null, o.p = 2, n) return n();
74
+ } finally {
75
+ y.T = r, o.p = a, o.d.f();
76
+ }
77
+ }, u.preconnect = function(n, r) {
78
+ typeof n == "string" && (r ? (r = r.crossOrigin, r = typeof r == "string" ? r === "use-credentials" ? r : "" : void 0) : r = null, o.d.C(n, r));
79
+ }, u.prefetchDNS = function(n) {
80
+ typeof n == "string" && o.d.D(n);
81
+ }, u.preinit = function(n, r) {
82
+ if (typeof n == "string" && r && typeof r.as == "string") {
83
+ var a = r.as, t = m(a, r.crossOrigin), e = typeof r.integrity == "string" ? r.integrity : void 0, i = typeof r.fetchPriority == "string" ? r.fetchPriority : void 0;
84
+ a === "style" ? o.d.S(
85
+ n,
86
+ typeof r.precedence == "string" ? r.precedence : void 0,
87
+ {
88
+ crossOrigin: t,
89
+ integrity: e,
90
+ fetchPriority: i
91
+ }
92
+ ) : a === "script" && o.d.X(n, {
93
+ crossOrigin: t,
94
+ integrity: e,
95
+ fetchPriority: i,
96
+ nonce: typeof r.nonce == "string" ? r.nonce : void 0
97
+ });
98
+ }
99
+ }, u.preinitModule = function(n, r) {
100
+ if (typeof n == "string")
101
+ if (typeof r == "object" && r !== null) {
102
+ if (r.as == null || r.as === "script") {
103
+ var a = m(
104
+ r.as,
105
+ r.crossOrigin
106
+ );
107
+ o.d.M(n, {
108
+ crossOrigin: a,
109
+ integrity: typeof r.integrity == "string" ? r.integrity : void 0,
110
+ nonce: typeof r.nonce == "string" ? r.nonce : void 0
111
+ });
112
+ }
113
+ } else r == null && o.d.M(n);
114
+ }, u.preload = function(n, r) {
115
+ if (typeof n == "string" && typeof r == "object" && r !== null && typeof r.as == "string") {
116
+ var a = r.as, t = m(a, r.crossOrigin);
117
+ o.d.L(n, a, {
118
+ crossOrigin: t,
119
+ integrity: typeof r.integrity == "string" ? r.integrity : void 0,
120
+ nonce: typeof r.nonce == "string" ? r.nonce : void 0,
121
+ type: typeof r.type == "string" ? r.type : void 0,
122
+ fetchPriority: typeof r.fetchPriority == "string" ? r.fetchPriority : void 0,
123
+ referrerPolicy: typeof r.referrerPolicy == "string" ? r.referrerPolicy : void 0,
124
+ imageSrcSet: typeof r.imageSrcSet == "string" ? r.imageSrcSet : void 0,
125
+ imageSizes: typeof r.imageSizes == "string" ? r.imageSizes : void 0,
126
+ media: typeof r.media == "string" ? r.media : void 0
127
+ });
128
+ }
129
+ }, u.preloadModule = function(n, r) {
130
+ if (typeof n == "string")
131
+ if (r) {
132
+ var a = m(r.as, r.crossOrigin);
133
+ o.d.m(n, {
134
+ as: typeof r.as == "string" && r.as !== "script" ? r.as : void 0,
135
+ crossOrigin: a,
136
+ integrity: typeof r.integrity == "string" ? r.integrity : void 0
137
+ });
138
+ } else o.d.m(n);
139
+ }, u.requestFormReset = function(n) {
140
+ o.d.r(n);
141
+ }, u.unstable_batchedUpdates = function(n, r) {
142
+ return n(r);
143
+ }, u.useFormState = function(n, r, a) {
144
+ return y.H.useFormState(n, r, a);
145
+ }, u.useFormStatus = function() {
146
+ return y.H.useHostTransitionStatus();
147
+ }, u.version = "19.0.0", u;
148
+ }
149
+ var l = {};
150
+ /**
151
+ * @license React
152
+ * react-dom.development.js
153
+ *
154
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
155
+ *
156
+ * This source code is licensed under the MIT license found in the
157
+ * LICENSE file in the root directory of this source tree.
158
+ */
159
+ var S;
160
+ function A() {
161
+ return S || (S = 1, process.env.NODE_ENV !== "production" && function() {
162
+ function c() {
163
+ }
164
+ function d(t) {
165
+ return "" + t;
166
+ }
167
+ function f(t, e, i) {
168
+ var p = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
169
+ try {
170
+ var _ = !1;
171
+ } catch {
172
+ _ = !0;
173
+ }
174
+ return _ && (console.error(
175
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
176
+ typeof Symbol == "function" && Symbol.toStringTag && p[Symbol.toStringTag] || p.constructor.name || "Object"
177
+ ), d(p)), {
178
+ $$typeof: r,
179
+ key: p == null ? null : "" + p,
180
+ children: t,
181
+ containerInfo: e,
182
+ implementation: i
183
+ };
184
+ }
185
+ function o(t, e) {
186
+ if (t === "font") return "";
187
+ if (typeof e == "string")
188
+ return e === "use-credentials" ? e : "";
189
+ }
190
+ function s(t) {
191
+ return t === null ? "`null`" : t === void 0 ? "`undefined`" : t === "" ? "an empty string" : 'something with type "' + typeof t + '"';
192
+ }
193
+ function g(t) {
194
+ return t === null ? "`null`" : t === void 0 ? "`undefined`" : t === "" ? "an empty string" : typeof t == "string" ? JSON.stringify(t) : typeof t == "number" ? "`" + t + "`" : 'something with type "' + typeof t + '"';
195
+ }
196
+ function y() {
197
+ var t = a.H;
198
+ return t === null && console.error(
199
+ `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
200
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
201
+ 2. You might be breaking the Rules of Hooks
202
+ 3. You might have more than one copy of React in the same app
203
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
204
+ ), t;
205
+ }
206
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
207
+ var m = R, n = {
208
+ d: {
209
+ f: c,
210
+ r: function() {
211
+ throw Error(
212
+ "Invalid form element. requestFormReset must be passed a form that was rendered by React."
213
+ );
214
+ },
215
+ D: c,
216
+ C: c,
217
+ L: c,
218
+ m: c,
219
+ X: c,
220
+ S: c,
221
+ M: c
222
+ },
223
+ p: 0,
224
+ findDOMNode: null
225
+ }, r = Symbol.for("react.portal"), a = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
226
+ typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
227
+ "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
228
+ ), l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, l.createPortal = function(t, e) {
229
+ var i = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
230
+ if (!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
231
+ throw Error("Target container is not a DOM element.");
232
+ return f(t, e, null, i);
233
+ }, l.flushSync = function(t) {
234
+ var e = a.T, i = n.p;
235
+ try {
236
+ if (a.T = null, n.p = 2, t)
237
+ return t();
238
+ } finally {
239
+ a.T = e, n.p = i, n.d.f() && console.error(
240
+ "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
241
+ );
242
+ }
243
+ }, l.preconnect = function(t, e) {
244
+ typeof t == "string" && t ? e != null && typeof e != "object" ? console.error(
245
+ "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
246
+ g(e)
247
+ ) : e != null && typeof e.crossOrigin != "string" && console.error(
248
+ "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
249
+ s(e.crossOrigin)
250
+ ) : console.error(
251
+ "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
252
+ s(t)
253
+ ), typeof t == "string" && (e ? (e = e.crossOrigin, e = typeof e == "string" ? e === "use-credentials" ? e : "" : void 0) : e = null, n.d.C(t, e));
254
+ }, l.prefetchDNS = function(t) {
255
+ if (typeof t != "string" || !t)
256
+ console.error(
257
+ "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
258
+ s(t)
259
+ );
260
+ else if (1 < arguments.length) {
261
+ var e = arguments[1];
262
+ typeof e == "object" && e.hasOwnProperty("crossOrigin") ? console.error(
263
+ "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
264
+ g(e)
265
+ ) : console.error(
266
+ "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
267
+ g(e)
268
+ );
269
+ }
270
+ typeof t == "string" && n.d.D(t);
271
+ }, l.preinit = function(t, e) {
272
+ if (typeof t == "string" && t ? e == null || typeof e != "object" ? console.error(
273
+ "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
274
+ g(e)
275
+ ) : e.as !== "style" && e.as !== "script" && console.error(
276
+ 'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
277
+ g(e.as)
278
+ ) : console.error(
279
+ "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
280
+ s(t)
281
+ ), typeof t == "string" && e && typeof e.as == "string") {
282
+ var i = e.as, p = o(i, e.crossOrigin), _ = typeof e.integrity == "string" ? e.integrity : void 0, O = typeof e.fetchPriority == "string" ? e.fetchPriority : void 0;
283
+ i === "style" ? n.d.S(
284
+ t,
285
+ typeof e.precedence == "string" ? e.precedence : void 0,
286
+ {
287
+ crossOrigin: p,
288
+ integrity: _,
289
+ fetchPriority: O
290
+ }
291
+ ) : i === "script" && n.d.X(t, {
292
+ crossOrigin: p,
293
+ integrity: _,
294
+ fetchPriority: O,
295
+ nonce: typeof e.nonce == "string" ? e.nonce : void 0
296
+ });
297
+ }
298
+ }, l.preinitModule = function(t, e) {
299
+ var i = "";
300
+ if (typeof t == "string" && t || (i += " The `href` argument encountered was " + s(t) + "."), e !== void 0 && typeof e != "object" ? i += " The `options` argument encountered was " + s(e) + "." : e && "as" in e && e.as !== "script" && (i += " The `as` option encountered was " + g(e.as) + "."), i)
301
+ console.error(
302
+ "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
303
+ i
304
+ );
305
+ else
306
+ switch (i = e && typeof e.as == "string" ? e.as : "script", i) {
307
+ case "script":
308
+ break;
309
+ default:
310
+ i = g(i), console.error(
311
+ 'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
312
+ i,
313
+ t
314
+ );
315
+ }
316
+ typeof t == "string" && (typeof e == "object" && e !== null ? (e.as == null || e.as === "script") && (i = o(
317
+ e.as,
318
+ e.crossOrigin
319
+ ), n.d.M(t, {
320
+ crossOrigin: i,
321
+ integrity: typeof e.integrity == "string" ? e.integrity : void 0,
322
+ nonce: typeof e.nonce == "string" ? e.nonce : void 0
323
+ })) : e == null && n.d.M(t));
324
+ }, l.preload = function(t, e) {
325
+ var i = "";
326
+ if (typeof t == "string" && t || (i += " The `href` argument encountered was " + s(t) + "."), e == null || typeof e != "object" ? i += " The `options` argument encountered was " + s(e) + "." : typeof e.as == "string" && e.as || (i += " The `as` option encountered was " + s(e.as) + "."), i && console.error(
327
+ 'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
328
+ i
329
+ ), typeof t == "string" && typeof e == "object" && e !== null && typeof e.as == "string") {
330
+ i = e.as;
331
+ var p = o(
332
+ i,
333
+ e.crossOrigin
334
+ );
335
+ n.d.L(t, i, {
336
+ crossOrigin: p,
337
+ integrity: typeof e.integrity == "string" ? e.integrity : void 0,
338
+ nonce: typeof e.nonce == "string" ? e.nonce : void 0,
339
+ type: typeof e.type == "string" ? e.type : void 0,
340
+ fetchPriority: typeof e.fetchPriority == "string" ? e.fetchPriority : void 0,
341
+ referrerPolicy: typeof e.referrerPolicy == "string" ? e.referrerPolicy : void 0,
342
+ imageSrcSet: typeof e.imageSrcSet == "string" ? e.imageSrcSet : void 0,
343
+ imageSizes: typeof e.imageSizes == "string" ? e.imageSizes : void 0,
344
+ media: typeof e.media == "string" ? e.media : void 0
345
+ });
346
+ }
347
+ }, l.preloadModule = function(t, e) {
348
+ var i = "";
349
+ typeof t == "string" && t || (i += " The `href` argument encountered was " + s(t) + "."), e !== void 0 && typeof e != "object" ? i += " The `options` argument encountered was " + s(e) + "." : e && "as" in e && typeof e.as != "string" && (i += " The `as` option encountered was " + s(e.as) + "."), i && console.error(
350
+ 'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
351
+ i
352
+ ), typeof t == "string" && (e ? (i = o(
353
+ e.as,
354
+ e.crossOrigin
355
+ ), n.d.m(t, {
356
+ as: typeof e.as == "string" && e.as !== "script" ? e.as : void 0,
357
+ crossOrigin: i,
358
+ integrity: typeof e.integrity == "string" ? e.integrity : void 0
359
+ })) : n.d.m(t));
360
+ }, l.requestFormReset = function(t) {
361
+ n.d.r(t);
362
+ }, l.unstable_batchedUpdates = function(t, e) {
363
+ return t(e);
364
+ }, l.useFormState = function(t, e, i) {
365
+ return y().useFormState(t, e, i);
366
+ }, l.useFormStatus = function() {
367
+ return y().useHostTransitionStatus();
368
+ }, l.version = "19.0.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
369
+ }()), l;
370
+ }
371
+ var E;
372
+ function L() {
373
+ if (E) return v.exports;
374
+ E = 1;
375
+ function c() {
376
+ if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
377
+ if (process.env.NODE_ENV !== "production")
378
+ throw new Error("^_^");
379
+ try {
380
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c);
381
+ } catch (d) {
382
+ console.error(d);
383
+ }
384
+ }
385
+ }
386
+ return process.env.NODE_ENV === "production" ? (c(), v.exports = /* @__PURE__ */ M()) : v.exports = /* @__PURE__ */ A(), v.exports;
387
+ }
388
+ var T = /* @__PURE__ */ L();
389
+ const I = /* @__PURE__ */ b(T);
390
+ var P = [
391
+ "a",
392
+ "button",
393
+ "div",
394
+ "form",
395
+ "h2",
396
+ "h3",
397
+ "img",
398
+ "input",
399
+ "label",
400
+ "li",
401
+ "nav",
402
+ "ol",
403
+ "p",
404
+ "span",
405
+ "svg",
406
+ "ul"
407
+ ], H = P.reduce((c, d) => {
408
+ const f = w(`Primitive.${d}`), o = D.forwardRef((s, g) => {
409
+ const { asChild: y, ...m } = s, n = y ? f : d;
410
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ N(n, { ...m, ref: g });
411
+ });
412
+ return o.displayName = `Primitive.${d}`, { ...c, [d]: o };
413
+ }, {});
414
+ function U(c, d) {
415
+ c && T.flushSync(() => c.dispatchEvent(d));
416
+ }
417
+ export {
418
+ H as P,
419
+ I as R,
420
+ U as d,
421
+ T as r
422
+ };