@konstructio/ui 0.0.12-alpha.0 → 0.0.12-alpha.10

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 (323) hide show
  1. package/dist/{Combination-Cmu9JRkv.js → Combination-b348x__d.js} +89 -89
  2. package/dist/Modal-B-E9uaA6.js +922 -0
  3. package/dist/{chevron-up-CvquEaNg.js → chevron-up-DgLBQCKD.js} +1 -1
  4. package/dist/components/Alert/Alert.js +58 -0
  5. package/dist/components/Alert/Alert.variants.js +77 -0
  6. package/dist/components/AlertDialog/AlertDialog.js +20 -23
  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 +15 -17
  10. package/dist/components/Autocomplete/Autocomplete.variants.js +0 -1
  11. package/dist/components/Autocomplete/components/List/List.js +7 -7
  12. package/dist/components/Breadcrumb/Breadcrumb.js +68 -69
  13. package/dist/components/Breadcrumb/Breadcrumb.variants.js +28 -26
  14. package/dist/components/Breadcrumb/components/Item/Item.js +61 -0
  15. package/dist/components/Breadcrumb/components/Item/Item.variants.js +90 -0
  16. package/dist/components/Breadcrumb/components/index.js +4 -0
  17. package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +2 -3
  18. package/dist/components/Button/Button.js +15 -17
  19. package/dist/components/Card/Card.js +11 -13
  20. package/dist/components/Checkbox/Checkbox.js +16 -18
  21. package/dist/components/Command/Command.js +32 -0
  22. package/dist/components/Command/Command.variants.js +97 -0
  23. package/dist/components/Command/components/Command.js +8 -0
  24. package/dist/components/Command/components/CommandEmpty.js +15 -0
  25. package/dist/components/Command/components/CommandGroup.js +19 -0
  26. package/dist/components/Command/components/CommandInput.js +84 -0
  27. package/dist/components/Command/components/CommandItem.js +29 -0
  28. package/dist/components/Command/components/CommandList.js +16 -0
  29. package/dist/components/Command/components/CommandSeparator.js +16 -0
  30. package/dist/components/Command/components/CommandShortcut.js +19 -0
  31. package/dist/components/Command/components/DialogContent.js +31 -0
  32. package/dist/components/Command/components/DialogOverlay.js +19 -0
  33. package/dist/components/Command/components/index.js +20 -0
  34. package/dist/components/Command/contexts/Command.context.js +13 -0
  35. package/dist/components/Command/contexts/Command.provider.js +24 -0
  36. package/dist/components/Command/contexts/index.js +6 -0
  37. package/dist/components/Divider/Divider.js +10 -0
  38. package/dist/components/Divider/Divider.variants.js +14 -0
  39. package/dist/components/Dropdown/Dropdown.js +4 -6
  40. package/dist/components/Dropdown/Dropdown.variants.js +22 -3
  41. package/dist/components/Dropdown/components/List/List.js +9 -10
  42. package/dist/components/Dropdown/components/List/List.variants.js +4 -4
  43. package/dist/components/Dropdown/components/ListItem/ListItem.js +17 -17
  44. package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +6 -4
  45. package/dist/components/Dropdown/components/Wrapper.js +88 -60
  46. package/dist/components/Dropdown/contexts/dropdown.provider.js +4 -4
  47. package/dist/components/Dropdown/hooks/useDropdown.js +12 -14
  48. package/dist/components/Dropdown/hooks/useNavigationList.js +8 -10
  49. package/dist/components/Input/Input.js +110 -67
  50. package/dist/components/Input/Input.variants.js +5 -6
  51. package/dist/components/Loading/Loading.js +109 -0
  52. package/dist/components/Loading/Loading.variants.js +19 -0
  53. package/dist/components/Modal/Modal.js +4 -4
  54. package/dist/components/Modal/components/Body/Body.js +1 -1
  55. package/dist/components/Modal/components/Footer/Footer.js +1 -1
  56. package/dist/components/Modal/components/Header/Header.js +1 -1
  57. package/dist/components/Modal/components/Wrapper/Wrapper.js +6 -9
  58. package/dist/components/Modal/components/index.js +1 -1
  59. package/dist/components/Modal/contexts/Modal.provider.js +4 -4
  60. package/dist/components/NumberInput/NumberInput.js +9 -11
  61. package/dist/components/ProgressBar/ProgressBar.js +12 -15
  62. package/dist/components/Radio/Radio.js +55 -37
  63. package/dist/components/Radio/Radio.variants.js +69 -16
  64. package/dist/components/RadioCard/RadioCard.js +41 -0
  65. package/dist/components/RadioCard/RadioCard.variants.js +19 -0
  66. package/dist/components/RadioCardGroup/RadioCardGroup.js +47 -0
  67. package/dist/components/RadioCardGroup/RadioCardGroup.variants.js +21 -0
  68. package/dist/components/RadioGroup/RadioGroup.js +37 -27
  69. package/dist/components/RadioGroup/RadioGroup.variants.js +21 -0
  70. package/dist/components/Range/Range.js +20 -22
  71. package/dist/components/Sidebar/Sidebar.js +20 -22
  72. package/dist/components/Sidebar/Sidebar.variants.js +2 -1
  73. package/dist/components/Sidebar/components/Footer/Footer.js +9 -12
  74. package/dist/components/Sidebar/components/Logo/Logo.js +9 -12
  75. package/dist/components/Sidebar/components/Logo/Logo.variants.js +9 -15
  76. package/dist/components/Sidebar/components/Navigation/Navigation.js +12 -15
  77. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.js +12 -15
  78. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.js +2 -2
  79. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.js +17 -20
  80. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.js +6 -5
  81. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.js +8 -11
  82. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.js +10 -13
  83. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +29 -27
  84. package/dist/components/Slider/Slider.js +11 -13
  85. package/dist/components/Switch/Switch.js +28 -30
  86. package/dist/components/Tag/Tag.js +17 -5
  87. package/dist/components/Tag/Tag.variants.js +11 -1
  88. package/dist/components/TagSelect/TagSelect.js +6 -73
  89. package/dist/components/TagSelect/TagSelect.variants.js +29 -50
  90. package/dist/components/TagSelect/components/Item/Item.js +23 -0
  91. package/dist/components/TagSelect/components/Item/Item.variants.js +31 -0
  92. package/dist/components/TagSelect/components/List/List.js +13 -0
  93. package/dist/components/TagSelect/components/List/List.variants.js +37 -0
  94. package/dist/components/TagSelect/components/Wrapper/Wrapper.js +88 -0
  95. package/dist/components/TagSelect/components/index.js +8 -0
  96. package/dist/components/TagSelect/contexts/TagSelect.context.js +19 -0
  97. package/dist/components/TagSelect/contexts/TagSelect.hook.js +11 -0
  98. package/dist/components/TagSelect/contexts/TagSelect.provider.js +69 -0
  99. package/dist/components/TagSelect/contexts/index.js +6 -0
  100. package/dist/components/TagSelect/hooks/useTagSelect.js +22 -27
  101. package/dist/components/TextArea/TextArea.js +27 -23
  102. package/dist/components/TextArea/TextArea.variants.js +0 -1
  103. package/dist/components/Toast/Toast.js +167 -156
  104. package/dist/components/Toast/Toast.variants.js +2 -3
  105. package/dist/components/Tooltip/Tooltip.js +10 -12
  106. package/dist/components/Typography/Typography.js +31 -0
  107. package/dist/components/Typography/Typography.variants.js +63 -0
  108. package/dist/components/index.js +64 -50
  109. package/dist/contexts/theme.provider.js +84 -14
  110. package/dist/{index-BxeV34ij.js → index-4ecjw_Aj.js} +1 -1
  111. package/dist/index-B_6_jmOO.js +68 -0
  112. package/dist/{index-BBjak_0p.js → index-BbsJ0VIJ.js} +2 -2
  113. package/dist/{index-z-AJyzdv.js → index-BzaHYXkt.js} +11 -11
  114. package/dist/{index-D68N8v8R.js → index-C5psggHV.js} +17 -17
  115. package/dist/{index-BtibbG81.js → index-CbTU3cnP.js} +1 -1
  116. package/dist/{index-8vgf-x5i.js → index-Cva-e5M4.js} +2 -2
  117. package/dist/index-CzSBQN5S.js +432 -0
  118. package/dist/index-D7QNmo_D.js +422 -0
  119. package/dist/index-DUA6Y_AE.js +126 -0
  120. package/dist/{index-BedjZUuB.js → index-D_76wh4w.js} +3 -3
  121. package/dist/{index-D4Q2rMby.js → index-Dj1pom3_.js} +2 -2
  122. package/dist/index-DyKo5ZJT.js +446 -0
  123. package/dist/index.d.ts +576 -4
  124. package/dist/index.js +74 -60
  125. package/dist/package.json +36 -35
  126. package/dist/plugins/konstruct.js +34 -31
  127. package/dist/plugins/utils/animation.styles.js +162 -0
  128. package/dist/plugins/utils/index.js +7 -0
  129. package/dist/styles.css +1 -1
  130. package/dist/styles.js +1 -1
  131. package/dist/useBreadcrumb-BsIeMoR1.js +1279 -0
  132. package/dist/utils/index.js +320 -322
  133. package/dist/{x-CRBgmX1Q.js → x-DU-Zw-L_.js} +1 -1
  134. package/package.json +36 -35
  135. package/dist/AlertDialogTrigger-D4Tm_9M0.js +0 -553
  136. package/dist/Modal-L73dmnHv.js +0 -914
  137. package/dist/components/AlertDialog/AlertDialog.d.ts +0 -3
  138. package/dist/components/AlertDialog/AlertDialog.types.d.ts +0 -18
  139. package/dist/components/AlertDialog/AlertDialog.types.js +0 -1
  140. package/dist/components/AlertDialog/AlertDialog.variants.d.ts +0 -3
  141. package/dist/components/AlertDialog/components/AlertDialogTrigger.d.ts +0 -3
  142. package/dist/components/AlertDialog/components/AlertDialogTrigger.types.d.ts +0 -6
  143. package/dist/components/AlertDialog/components/AlertDialogTrigger.types.js +0 -1
  144. package/dist/components/AlertDialog/components/index.d.ts +0 -1
  145. package/dist/components/AlertDialog/hooks/index.d.ts +0 -1
  146. package/dist/components/AlertDialog/hooks/useAlertDialog.d.ts +0 -7
  147. package/dist/components/Autocomplete/Autocomplete.d.ts +0 -3
  148. package/dist/components/Autocomplete/Autocomplete.types.d.ts +0 -18
  149. package/dist/components/Autocomplete/Autocomplete.types.js +0 -1
  150. package/dist/components/Autocomplete/Autocomplete.variants.d.ts +0 -8
  151. package/dist/components/Autocomplete/components/List/List.d.ts +0 -3
  152. package/dist/components/Autocomplete/components/List/List.types.d.ts +0 -13
  153. package/dist/components/Autocomplete/components/List/List.types.js +0 -1
  154. package/dist/components/Autocomplete/components/List/List.variants.d.ts +0 -16
  155. package/dist/components/Autocomplete/components/index.d.ts +0 -1
  156. package/dist/components/Autocomplete/hooks/index.d.ts +0 -2
  157. package/dist/components/Autocomplete/hooks/useAutocomplete.d.ts +0 -17
  158. package/dist/components/Autocomplete/hooks/useNavigationList.d.ts +0 -10
  159. package/dist/components/Breadcrumb/Breadcrumb.d.ts +0 -3
  160. package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +0 -11
  161. package/dist/components/Breadcrumb/Breadcrumb.types.js +0 -1
  162. package/dist/components/Breadcrumb/Breadcrumb.variants.d.ts +0 -12
  163. package/dist/components/Breadcrumb/hooks/useBreadcrumb.d.ts +0 -3
  164. package/dist/components/Button/Button.d.ts +0 -4
  165. package/dist/components/Button/Button.types.d.ts +0 -7
  166. package/dist/components/Button/Button.types.js +0 -1
  167. package/dist/components/Button/Button.variants.d.ts +0 -7
  168. package/dist/components/Card/Card.d.ts +0 -4
  169. package/dist/components/Card/Card.types.d.ts +0 -8
  170. package/dist/components/Card/Card.types.js +0 -1
  171. package/dist/components/Card/Card.variants.d.ts +0 -10
  172. package/dist/components/Checkbox/Checkbox.d.ts +0 -3
  173. package/dist/components/Checkbox/Checkbox.types.d.ts +0 -14
  174. package/dist/components/Checkbox/Checkbox.types.js +0 -1
  175. package/dist/components/Checkbox/Checkbox.variants.d.ts +0 -9
  176. package/dist/components/Dropdown/Dropdown.d.ts +0 -3
  177. package/dist/components/Dropdown/Dropdown.types.d.ts +0 -16
  178. package/dist/components/Dropdown/Dropdown.types.js +0 -1
  179. package/dist/components/Dropdown/Dropdown.variants.d.ts +0 -3
  180. package/dist/components/Dropdown/components/EmptyList.d.ts +0 -2
  181. package/dist/components/Dropdown/components/List/List.d.ts +0 -3
  182. package/dist/components/Dropdown/components/List/List.types.d.ts +0 -6
  183. package/dist/components/Dropdown/components/List/List.types.js +0 -1
  184. package/dist/components/Dropdown/components/List/List.variants.d.ts +0 -3
  185. package/dist/components/Dropdown/components/ListItem/ListItem.d.ts +0 -3
  186. package/dist/components/Dropdown/components/ListItem/ListItem.types.d.ts +0 -4
  187. package/dist/components/Dropdown/components/ListItem/ListItem.types.js +0 -1
  188. package/dist/components/Dropdown/components/ListItem/ListItem.variants.d.ts +0 -3
  189. package/dist/components/Dropdown/components/Wrapper.d.ts +0 -3
  190. package/dist/components/Dropdown/components/index.d.ts +0 -3
  191. package/dist/components/Dropdown/contexts/dropdown.context.d.ts +0 -8
  192. package/dist/components/Dropdown/contexts/dropdown.hook.d.ts +0 -2
  193. package/dist/components/Dropdown/contexts/dropdown.provider.d.ts +0 -5
  194. package/dist/components/Dropdown/contexts/index.d.ts +0 -2
  195. package/dist/components/Dropdown/hooks/useDropdown.d.ts +0 -11
  196. package/dist/components/Dropdown/hooks/useNavigationList.d.ts +0 -8
  197. package/dist/components/Input/Input.d.ts +0 -3
  198. package/dist/components/Input/Input.types.d.ts +0 -9
  199. package/dist/components/Input/Input.types.js +0 -1
  200. package/dist/components/Input/Input.variants.d.ts +0 -4
  201. package/dist/components/Modal/Modal.d.ts +0 -8
  202. package/dist/components/Modal/Modal.types.d.ts +0 -12
  203. package/dist/components/Modal/Modal.types.js +0 -1
  204. package/dist/components/Modal/components/Body/Body.d.ts +0 -3
  205. package/dist/components/Modal/components/Body/Body.types.d.ts +0 -5
  206. package/dist/components/Modal/components/Body/Body.types.js +0 -1
  207. package/dist/components/Modal/components/Footer/Footer.d.ts +0 -3
  208. package/dist/components/Modal/components/Footer/Footer.types.d.ts +0 -5
  209. package/dist/components/Modal/components/Footer/Footer.types.js +0 -1
  210. package/dist/components/Modal/components/Header/Header.d.ts +0 -3
  211. package/dist/components/Modal/components/Header/Header.types.d.ts +0 -5
  212. package/dist/components/Modal/components/Header/Header.types.js +0 -1
  213. package/dist/components/Modal/components/Wrapper/Wrapper.d.ts +0 -3
  214. package/dist/components/Modal/components/Wrapper/Wrapper.types.d.ts +0 -7
  215. package/dist/components/Modal/components/Wrapper/Wrapper.types.js +0 -1
  216. package/dist/components/Modal/components/Wrapper/Wrapper.variants.d.ts +0 -6
  217. package/dist/components/Modal/components/index.d.ts +0 -4
  218. package/dist/components/Modal/contexts/Modal.context.d.ts +0 -2
  219. package/dist/components/Modal/contexts/Modal.provider.d.ts +0 -4
  220. package/dist/components/Modal/contexts/Modal.types.d.ts +0 -9
  221. package/dist/components/Modal/contexts/Modal.types.js +0 -1
  222. package/dist/components/Modal/contexts/index.d.ts +0 -1
  223. package/dist/components/Modal/hooks/index.d.ts +0 -1
  224. package/dist/components/Modal/hooks/useModal.d.ts +0 -9
  225. package/dist/components/NumberInput/NumberInput.d.ts +0 -3
  226. package/dist/components/NumberInput/NumberInput.types.d.ts +0 -11
  227. package/dist/components/NumberInput/NumberInput.types.js +0 -1
  228. package/dist/components/NumberInput/NumberInput.variants.d.ts +0 -11
  229. package/dist/components/ProgressBar/ProgressBar.d.ts +0 -3
  230. package/dist/components/ProgressBar/ProgressBar.types.d.ts +0 -8
  231. package/dist/components/ProgressBar/ProgressBar.types.js +0 -1
  232. package/dist/components/ProgressBar/ProgressBar.variants.d.ts +0 -7
  233. package/dist/components/Radio/Radio.d.ts +0 -3
  234. package/dist/components/Radio/Radio.types.d.ts +0 -12
  235. package/dist/components/Radio/Radio.types.js +0 -1
  236. package/dist/components/Radio/Radio.variants.d.ts +0 -3
  237. package/dist/components/RadioGroup/RadioGroup.d.ts +0 -3
  238. package/dist/components/RadioGroup/RadioGroup.types.d.ts +0 -12
  239. package/dist/components/RadioGroup/RadioGroup.types.js +0 -1
  240. package/dist/components/Range/Range.d.ts +0 -3
  241. package/dist/components/Range/Range.types.d.ts +0 -13
  242. package/dist/components/Range/Range.types.js +0 -1
  243. package/dist/components/Range/Range.variants.d.ts +0 -14
  244. package/dist/components/Sidebar/Sidebar.d.ts +0 -5
  245. package/dist/components/Sidebar/Sidebar.types.d.ts +0 -18
  246. package/dist/components/Sidebar/Sidebar.types.js +0 -1
  247. package/dist/components/Sidebar/Sidebar.variants.d.ts +0 -6
  248. package/dist/components/Sidebar/components/Footer/Footer.d.ts +0 -3
  249. package/dist/components/Sidebar/components/Footer/Footer.types.d.ts +0 -6
  250. package/dist/components/Sidebar/components/Footer/Footer.types.js +0 -1
  251. package/dist/components/Sidebar/components/Footer/Footer.variants.d.ts +0 -3
  252. package/dist/components/Sidebar/components/Logo/Logo.d.ts +0 -3
  253. package/dist/components/Sidebar/components/Logo/Logo.types.d.ts +0 -6
  254. package/dist/components/Sidebar/components/Logo/Logo.types.js +0 -1
  255. package/dist/components/Sidebar/components/Logo/Logo.variants.d.ts +0 -3
  256. package/dist/components/Sidebar/components/Navigation/Navigation.d.ts +0 -4
  257. package/dist/components/Sidebar/components/Navigation/Navigation.types.d.ts +0 -16
  258. package/dist/components/Sidebar/components/Navigation/Navigation.types.js +0 -1
  259. package/dist/components/Sidebar/components/Navigation/Navigation.variants.d.ts +0 -3
  260. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.d.ts +0 -3
  261. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.types.d.ts +0 -8
  262. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.types.js +0 -1
  263. package/dist/components/Sidebar/components/NavigationGroup/NavigationGroup.variants.d.ts +0 -3
  264. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.d.ts +0 -3
  265. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.types.d.ts +0 -17
  266. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.types.js +0 -1
  267. package/dist/components/Sidebar/components/NavigationOption/NavigationOption.variants.d.ts +0 -4
  268. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.d.ts +0 -3
  269. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.types.d.ts +0 -5
  270. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.types.js +0 -1
  271. package/dist/components/Sidebar/components/NavigationSeparator/NavigationSeparator.variants.d.ts +0 -3
  272. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.d.ts +0 -3
  273. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.types.d.ts +0 -8
  274. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.types.js +0 -1
  275. package/dist/components/Sidebar/components/NavigationTitle/NavigationTitle.variants.d.ts +0 -3
  276. package/dist/components/Sidebar/components/Wrapper/Wrapper.d.ts +0 -3
  277. package/dist/components/Sidebar/components/index.d.ts +0 -15
  278. package/dist/components/Slider/Slider.d.ts +0 -3
  279. package/dist/components/Slider/Slider.types.d.ts +0 -13
  280. package/dist/components/Slider/Slider.types.js +0 -1
  281. package/dist/components/Slider/Slider.variants.d.ts +0 -11
  282. package/dist/components/Switch/Switch.d.ts +0 -3
  283. package/dist/components/Switch/Switch.types.d.ts +0 -10
  284. package/dist/components/Switch/Switch.types.js +0 -1
  285. package/dist/components/Switch/Switch.variants.d.ts +0 -6
  286. package/dist/components/Tag/Tag.d.ts +0 -3
  287. package/dist/components/Tag/Tag.types.d.ts +0 -4
  288. package/dist/components/Tag/Tag.types.js +0 -1
  289. package/dist/components/Tag/Tag.variants.d.ts +0 -3
  290. package/dist/components/TagSelect/TagSelect.d.ts +0 -3
  291. package/dist/components/TagSelect/TagSelect.types.d.ts +0 -9
  292. package/dist/components/TagSelect/TagSelect.types.js +0 -1
  293. package/dist/components/TagSelect/TagSelect.variants.d.ts +0 -9
  294. package/dist/components/TagSelect/hooks/useTagSelect.d.ts +0 -9
  295. package/dist/components/TextArea/TextArea.d.ts +0 -3
  296. package/dist/components/TextArea/TextArea.types.d.ts +0 -10
  297. package/dist/components/TextArea/TextArea.types.js +0 -1
  298. package/dist/components/TextArea/TextArea.variants.d.ts +0 -3
  299. package/dist/components/Toast/Toast.d.ts +0 -3
  300. package/dist/components/Toast/Toast.types.d.ts +0 -12
  301. package/dist/components/Toast/Toast.types.js +0 -1
  302. package/dist/components/Toast/Toast.variants.d.ts +0 -9
  303. package/dist/components/Tooltip/Tooltip.d.ts +0 -3
  304. package/dist/components/Tooltip/Tooltip.types.d.ts +0 -8
  305. package/dist/components/Tooltip/Tooltip.types.js +0 -1
  306. package/dist/components/Tooltip/Tooltip.variants.d.ts +0 -8
  307. package/dist/components/Tooltip/hooks/useTooltip.d.ts +0 -4
  308. package/dist/components/index.d.ts +0 -21
  309. package/dist/contexts/index.d.ts +0 -3
  310. package/dist/contexts/theme.context.d.ts +0 -6
  311. package/dist/contexts/theme.hook.d.ts +0 -7
  312. package/dist/contexts/theme.provider.d.ts +0 -6
  313. package/dist/hooks/index.d.ts +0 -1
  314. package/dist/hooks/useToggle.d.ts +0 -1
  315. package/dist/index-BaNV0qac.js +0 -19164
  316. package/dist/index-DoOsnuB6.js +0 -72
  317. package/dist/js.cookie-OLEfuq_g.js +0 -74
  318. package/dist/plugins/index.d.ts +0 -1
  319. package/dist/plugins/konstruct.d.ts +0 -4
  320. package/dist/plugins/utils/colors.d.ts +0 -328
  321. package/dist/styles.d.ts +0 -0
  322. package/dist/useBreadcrumb-DxYsZvj_.js +0 -1398
  323. package/dist/utils/index.d.ts +0 -4
@@ -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 { S as w } from "./index-B_6_jmOO.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 f(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 l() {
31
+ }
32
+ var o = {
33
+ d: {
34
+ f: l,
35
+ r: function() {
36
+ throw Error(f(522));
37
+ },
38
+ D: l,
39
+ C: l,
40
+ L: l,
41
+ m: l,
42
+ X: l,
43
+ S: l,
44
+ M: l
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(f(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 d = {};
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 f(t) {
165
+ return "" + t;
166
+ }
167
+ function l(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
+ ), f(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
+ ), d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, d.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 l(t, e, null, i);
233
+ }, d.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
+ }, d.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
+ }, d.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
+ }, d.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
+ }, d.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
+ }, d.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
+ }, d.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
+ }, d.requestFormReset = function(t) {
361
+ n.d.r(t);
362
+ }, d.unstable_batchedUpdates = function(t, e) {
363
+ return t(e);
364
+ }, d.useFormState = function(t, e, i) {
365
+ return y().useFormState(t, e, i);
366
+ }, d.useFormStatus = function() {
367
+ return y().useHostTransitionStatus();
368
+ }, d.version = "19.0.0", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
369
+ }()), d;
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 (f) {
382
+ console.error(f);
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, f) => {
408
+ const l = D.forwardRef((o, s) => {
409
+ const { asChild: g, ...y } = o, m = g ? w : f;
410
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ N(m, { ...y, ref: s });
411
+ });
412
+ return l.displayName = `Primitive.${f}`, { ...c, [f]: l };
413
+ }, {});
414
+ function U(c, f) {
415
+ c && T.flushSync(() => c.dispatchEvent(f));
416
+ }
417
+ export {
418
+ H as P,
419
+ I as R,
420
+ U as d,
421
+ T as r
422
+ };
@@ -0,0 +1,126 @@
1
+ import { jsx as i, jsxs as w } from "react/jsx-runtime";
2
+ import * as s from "react";
3
+ import { c as x, b as M } from "./index-Cva-e5M4.js";
4
+ import { u as A, a as I } from "./index-B_6_jmOO.js";
5
+ import { c as v, R as $, P as L, O as F, W as G, C as W, T as j, d as B, b as f, e as Y } from "./index-DyKo5ZJT.js";
6
+ import { Button as k } from "./components/Button/Button.js";
7
+ import { useTheme as q } from "./contexts/theme.hook.js";
8
+ var D = "AlertDialog", [H, se] = x(D, [
9
+ v
10
+ ]), l = v(), m = (e) => {
11
+ const { __scopeAlertDialog: o, ...r } = e, t = l(o);
12
+ return /* @__PURE__ */ i($, { ...t, ...r, modal: !0 });
13
+ };
14
+ m.displayName = D;
15
+ var V = "AlertDialogTrigger", h = s.forwardRef(
16
+ (e, o) => {
17
+ const { __scopeAlertDialog: r, ...t } = e, a = l(r);
18
+ return /* @__PURE__ */ i(Y, { ...a, ...t, ref: o });
19
+ }
20
+ );
21
+ h.displayName = V;
22
+ var z = "AlertDialogPortal", y = (e) => {
23
+ const { __scopeAlertDialog: o, ...r } = e, t = l(o);
24
+ return /* @__PURE__ */ i(L, { ...t, ...r });
25
+ };
26
+ y.displayName = z;
27
+ var J = "AlertDialogOverlay", _ = s.forwardRef(
28
+ (e, o) => {
29
+ const { __scopeAlertDialog: r, ...t } = e, a = l(r);
30
+ return /* @__PURE__ */ i(F, { ...a, ...t, ref: o });
31
+ }
32
+ );
33
+ _.displayName = J;
34
+ var n = "AlertDialogContent", [K, Q] = H(n), N = s.forwardRef(
35
+ (e, o) => {
36
+ const { __scopeAlertDialog: r, children: t, ...a } = e, d = l(r), p = s.useRef(null), O = A(o, p), g = s.useRef(null);
37
+ return /* @__PURE__ */ i(
38
+ G,
39
+ {
40
+ contentName: n,
41
+ titleName: R,
42
+ docsSlug: "alert-dialog",
43
+ children: /* @__PURE__ */ i(K, { scope: r, cancelRef: g, children: /* @__PURE__ */ w(
44
+ W,
45
+ {
46
+ role: "alertdialog",
47
+ ...d,
48
+ ...a,
49
+ ref: O,
50
+ onOpenAutoFocus: M(a.onOpenAutoFocus, (c) => {
51
+ var u;
52
+ c.preventDefault(), (u = g.current) == null || u.focus({ preventScroll: !0 });
53
+ }),
54
+ onPointerDownOutside: (c) => c.preventDefault(),
55
+ onInteractOutside: (c) => c.preventDefault(),
56
+ children: [
57
+ /* @__PURE__ */ i(I, { children: t }),
58
+ /* @__PURE__ */ i(X, { contentRef: p })
59
+ ]
60
+ }
61
+ ) })
62
+ }
63
+ );
64
+ }
65
+ );
66
+ N.displayName = n;
67
+ var R = "AlertDialogTitle", C = s.forwardRef(
68
+ (e, o) => {
69
+ const { __scopeAlertDialog: r, ...t } = e, a = l(r);
70
+ return /* @__PURE__ */ i(j, { ...a, ...t, ref: o });
71
+ }
72
+ );
73
+ C.displayName = R;
74
+ var T = "AlertDialogDescription", E = s.forwardRef((e, o) => {
75
+ const { __scopeAlertDialog: r, ...t } = e, a = l(r);
76
+ return /* @__PURE__ */ i(B, { ...a, ...t, ref: o });
77
+ });
78
+ E.displayName = T;
79
+ var U = "AlertDialogAction", P = s.forwardRef(
80
+ (e, o) => {
81
+ const { __scopeAlertDialog: r, ...t } = e, a = l(r);
82
+ return /* @__PURE__ */ i(f, { ...a, ...t, ref: o });
83
+ }
84
+ );
85
+ P.displayName = U;
86
+ var S = "AlertDialogCancel", b = s.forwardRef(
87
+ (e, o) => {
88
+ const { __scopeAlertDialog: r, ...t } = e, { cancelRef: a } = Q(S, r), d = l(r), p = A(o, a);
89
+ return /* @__PURE__ */ i(f, { ...d, ...t, ref: p });
90
+ }
91
+ );
92
+ b.displayName = S;
93
+ var X = ({ contentRef: e }) => {
94
+ const o = `\`${n}\` requires a description for the component to be accessible for screen reader users.
95
+
96
+ You can add a description to the \`${n}\` by passing a \`${T}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
97
+
98
+ Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${n}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
99
+
100
+ For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;
101
+ return s.useEffect(() => {
102
+ var t;
103
+ document.getElementById(
104
+ (t = e.current) == null ? void 0 : t.getAttribute("aria-describedby")
105
+ ) || console.warn(o);
106
+ }, [o, e]), null;
107
+ }, le = m, Z = h, ne = y, ce = _, pe = N, de = P, ge = b, ue = C, Ae = E;
108
+ const ve = ({
109
+ text: e,
110
+ theme: o,
111
+ onOpen: r
112
+ }) => {
113
+ const { theme: t } = q();
114
+ return /* @__PURE__ */ i(Z, { asChild: !0, children: /* @__PURE__ */ i(k, { type: "button", theme: o ?? t, onClick: r, children: e }) });
115
+ };
116
+ export {
117
+ ve as A,
118
+ pe as C,
119
+ Ae as D,
120
+ ce as O,
121
+ ne as P,
122
+ le as R,
123
+ ue as T,
124
+ ge as a,
125
+ de as b
126
+ };
@@ -1,7 +1,7 @@
1
1
  import * as i from "react";
2
- import { b, d as h, u as U } from "./index-8vgf-x5i.js";
3
- import { P as m, d as z, R as H } from "./index-BaNV0qac.js";
4
- import { u as T } from "./index-DoOsnuB6.js";
2
+ import { d as b, b as h, u as U } from "./index-Cva-e5M4.js";
3
+ import { P as m, d as z, R as H } from "./index-D7QNmo_D.js";
4
+ import { u as T } from "./index-B_6_jmOO.js";
5
5
  import { jsx as P } from "react/jsx-runtime";
6
6
  function K(r, e = globalThis == null ? void 0 : globalThis.document) {
7
7
  const s = b(r);
@@ -1,6 +1,6 @@
1
1
  import * as a from "react";
2
- import { u as T } from "./index-DoOsnuB6.js";
3
- import { u as A } from "./index-8vgf-x5i.js";
2
+ import { u as T } from "./index-B_6_jmOO.js";
3
+ import { u as A } from "./index-Cva-e5M4.js";
4
4
  function E(n, e) {
5
5
  return a.useReducer((r, t) => e[r][t] ?? r, n);
6
6
  }