@cerberus-design/react 0.17.1 → 0.18.0

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 (835) hide show
  1. package/README.md +1 -1
  2. package/build/legacy/_tsup-dts-rollup.d.cts +21878 -1965
  3. package/build/legacy/aria-helpers/nav-menu.aria.cjs.map +1 -1
  4. package/build/legacy/aria-helpers/trap-focus.aria.cjs.map +1 -1
  5. package/build/legacy/components/CircularProgress.cjs +24 -22
  6. package/build/legacy/components/CircularProgress.cjs.map +1 -1
  7. package/build/legacy/components/FeatureFlag.cjs +10 -8
  8. package/build/legacy/components/FeatureFlag.cjs.map +1 -1
  9. package/build/legacy/components/FileStatus.cjs +67 -65
  10. package/build/legacy/components/FileStatus.cjs.map +1 -1
  11. package/build/legacy/components/FileUploader.cjs +34 -32
  12. package/build/legacy/components/FileUploader.cjs.map +1 -1
  13. package/build/legacy/components/IconButton.cjs +2 -2
  14. package/build/legacy/components/IconButton.cjs.map +1 -1
  15. package/build/legacy/components/Menu.cjs +8 -4
  16. package/build/legacy/components/Menu.cjs.map +1 -1
  17. package/build/legacy/components/Menu.d.cts +2 -2
  18. package/build/legacy/components/Portal.cjs +4 -1
  19. package/build/legacy/components/Portal.cjs.map +1 -1
  20. package/build/legacy/components/Portal.d.cts +1 -1
  21. package/build/legacy/components/ProgressBar.cjs +2 -2
  22. package/build/legacy/components/ProgressBar.cjs.map +1 -1
  23. package/build/legacy/components/Show.cjs +8 -7
  24. package/build/legacy/components/Show.cjs.map +1 -1
  25. package/build/legacy/components/Spinner.cjs +2 -1
  26. package/build/legacy/components/Spinner.cjs.map +1 -1
  27. package/build/legacy/components/Tag.cjs +18 -16
  28. package/build/legacy/components/Tag.cjs.map +1 -1
  29. package/build/legacy/components/Text.cjs +1 -1
  30. package/build/legacy/components/Text.cjs.map +1 -1
  31. package/build/legacy/components/Tooltip.cjs +2 -2
  32. package/build/legacy/components/Tooltip.cjs.map +1 -1
  33. package/build/legacy/components/accordion/index.cjs +25 -21
  34. package/build/legacy/components/accordion/index.cjs.map +1 -1
  35. package/build/legacy/components/accordion/index.d.cts +1 -1
  36. package/build/legacy/components/accordion/item-group.cjs +31 -27
  37. package/build/legacy/components/accordion/item-group.cjs.map +1 -1
  38. package/build/legacy/components/accordion/item-group.d.cts +1 -1
  39. package/build/legacy/components/accordion/item-indicator.cjs +2 -2
  40. package/build/legacy/components/accordion/item-indicator.cjs.map +1 -1
  41. package/build/legacy/components/accordion/parts.cjs +2 -2
  42. package/build/legacy/components/accordion/parts.cjs.map +1 -1
  43. package/build/legacy/components/accordion/primitives.cjs +2 -2
  44. package/build/legacy/components/accordion/primitives.cjs.map +1 -1
  45. package/build/legacy/components/admonition/admonition.cjs +44 -42
  46. package/build/legacy/components/admonition/admonition.cjs.map +1 -1
  47. package/build/legacy/components/admonition/index.cjs +44 -42
  48. package/build/legacy/components/admonition/index.cjs.map +1 -1
  49. package/build/legacy/components/admonition/match-avatar.cjs +29 -27
  50. package/build/legacy/components/admonition/match-avatar.cjs.map +1 -1
  51. package/build/legacy/components/admonition/parts.cjs +2 -2
  52. package/build/legacy/components/admonition/parts.cjs.map +1 -1
  53. package/build/legacy/components/admonition/primitives.cjs +2 -2
  54. package/build/legacy/components/admonition/primitives.cjs.map +1 -1
  55. package/build/legacy/components/avatar/avatar.cjs +20 -18
  56. package/build/legacy/components/avatar/avatar.cjs.map +1 -1
  57. package/build/legacy/components/avatar/index.cjs +16 -14
  58. package/build/legacy/components/avatar/index.cjs.map +1 -1
  59. package/build/legacy/components/avatar/parts.cjs +2 -2
  60. package/build/legacy/components/avatar/parts.cjs.map +1 -1
  61. package/build/legacy/components/avatar/primitives.cjs +2 -2
  62. package/build/legacy/components/avatar/primitives.cjs.map +1 -1
  63. package/build/legacy/components/button/button.cjs +28 -25
  64. package/build/legacy/components/button/button.cjs.map +1 -1
  65. package/build/legacy/components/button/index.cjs +28 -25
  66. package/build/legacy/components/button/index.cjs.map +1 -1
  67. package/build/legacy/components/button/parts.cjs +28 -25
  68. package/build/legacy/components/button/parts.cjs.map +1 -1
  69. package/build/legacy/components/checkbox/checkbox-icon.cjs +12 -10
  70. package/build/legacy/components/checkbox/checkbox-icon.cjs.map +1 -1
  71. package/build/legacy/components/checkbox/checkbox.cjs +46 -44
  72. package/build/legacy/components/checkbox/checkbox.cjs.map +1 -1
  73. package/build/legacy/components/checkbox/index.cjs +46 -44
  74. package/build/legacy/components/checkbox/index.cjs.map +1 -1
  75. package/build/legacy/components/checkbox/parts.cjs +2 -2
  76. package/build/legacy/components/checkbox/parts.cjs.map +1 -1
  77. package/build/legacy/components/checkbox/primitives.cjs +2 -2
  78. package/build/legacy/components/checkbox/primitives.cjs.map +1 -1
  79. package/build/legacy/components/combobox/combobox.cjs +38 -33
  80. package/build/legacy/components/combobox/combobox.cjs.map +1 -1
  81. package/build/legacy/components/combobox/index.cjs +38 -33
  82. package/build/legacy/components/combobox/index.cjs.map +1 -1
  83. package/build/legacy/components/combobox/item-group.cjs +2 -2
  84. package/build/legacy/components/combobox/item-group.cjs.map +1 -1
  85. package/build/legacy/components/combobox/item.cjs +2 -2
  86. package/build/legacy/components/combobox/item.cjs.map +1 -1
  87. package/build/legacy/components/combobox/parts.cjs +2 -2
  88. package/build/legacy/components/combobox/parts.cjs.map +1 -1
  89. package/build/legacy/components/combobox/primitives.cjs +2 -2
  90. package/build/legacy/components/combobox/primitives.cjs.map +1 -1
  91. package/build/legacy/components/combobox/use-stateful-collection.cjs +2 -2
  92. package/build/legacy/components/combobox/use-stateful-collection.cjs.map +1 -1
  93. package/build/legacy/components/cta-dialog/index.cjs +90 -84
  94. package/build/legacy/components/cta-dialog/index.cjs.map +1 -1
  95. package/build/legacy/components/cta-dialog/provider.cjs +90 -84
  96. package/build/legacy/components/cta-dialog/provider.cjs.map +1 -1
  97. package/build/legacy/components/cta-dialog/trigger-item.cjs +5 -5
  98. package/build/legacy/components/cta-dialog/trigger-item.cjs.map +1 -1
  99. package/build/legacy/components/date-picker/calendar.cjs +95 -66
  100. package/build/legacy/components/date-picker/calendar.cjs.map +1 -1
  101. package/build/legacy/components/date-picker/content.cjs +59 -30
  102. package/build/legacy/components/date-picker/content.cjs.map +1 -1
  103. package/build/legacy/components/date-picker/date-picker.cjs +41 -15
  104. package/build/legacy/components/date-picker/date-picker.cjs.map +1 -1
  105. package/build/legacy/components/date-picker/day-view.cjs +47 -21
  106. package/build/legacy/components/date-picker/day-view.cjs.map +1 -1
  107. package/build/legacy/components/date-picker/index.cjs +80 -51
  108. package/build/legacy/components/date-picker/index.cjs.map +1 -1
  109. package/build/legacy/components/date-picker/input.cjs +43 -17
  110. package/build/legacy/components/date-picker/input.cjs.map +1 -1
  111. package/build/legacy/components/date-picker/month-view.cjs +47 -21
  112. package/build/legacy/components/date-picker/month-view.cjs.map +1 -1
  113. package/build/legacy/components/date-picker/parts.cjs +41 -15
  114. package/build/legacy/components/date-picker/parts.cjs.map +1 -1
  115. package/build/legacy/components/date-picker/primitives.cjs +41 -15
  116. package/build/legacy/components/date-picker/primitives.cjs.map +1 -1
  117. package/build/legacy/components/date-picker/range-input.cjs +43 -17
  118. package/build/legacy/components/date-picker/range-input.cjs.map +1 -1
  119. package/build/legacy/components/date-picker/trigger.cjs +43 -17
  120. package/build/legacy/components/date-picker/trigger.cjs.map +1 -1
  121. package/build/legacy/components/date-picker/view-control-group.cjs +47 -21
  122. package/build/legacy/components/date-picker/view-control-group.cjs.map +1 -1
  123. package/build/legacy/components/date-picker/year-view.cjs +47 -21
  124. package/build/legacy/components/date-picker/year-view.cjs.map +1 -1
  125. package/build/legacy/components/deprecated/FieldMessage.cjs +2 -2
  126. package/build/legacy/components/deprecated/FieldMessage.cjs.map +1 -1
  127. package/build/legacy/components/deprecated/FieldsetLabel.cjs +2 -2
  128. package/build/legacy/components/deprecated/FieldsetLabel.cjs.map +1 -1
  129. package/build/legacy/components/deprecated/Label.cjs +4 -4
  130. package/build/legacy/components/deprecated/Label.cjs.map +1 -1
  131. package/build/legacy/components/deprecated/Legend.cjs +14 -12
  132. package/build/legacy/components/deprecated/Legend.cjs.map +1 -1
  133. package/build/legacy/components/deprecated/Modal.cjs +4 -13
  134. package/build/legacy/components/deprecated/Modal.cjs.map +1 -1
  135. package/build/legacy/components/deprecated/Modal.d.cts +2 -2
  136. package/build/legacy/components/deprecated/ModalDescription.cjs +2 -2
  137. package/build/legacy/components/deprecated/ModalDescription.cjs.map +1 -1
  138. package/build/legacy/components/deprecated/ModalDescription.d.cts +2 -2
  139. package/build/legacy/components/deprecated/ModalHeader.cjs +2 -2
  140. package/build/legacy/components/deprecated/ModalHeader.cjs.map +1 -1
  141. package/build/legacy/components/deprecated/ModalHeader.d.cts +2 -2
  142. package/build/legacy/components/deprecated/ModalHeading.cjs +2 -2
  143. package/build/legacy/components/deprecated/ModalHeading.cjs.map +1 -1
  144. package/build/legacy/components/deprecated/ModalHeading.d.cts +2 -2
  145. package/build/legacy/components/deprecated/NavMenuLink.cjs +14 -12
  146. package/build/legacy/components/deprecated/NavMenuLink.cjs.map +1 -1
  147. package/build/legacy/components/deprecated/NavMenuList.cjs +15 -13
  148. package/build/legacy/components/deprecated/NavMenuList.cjs.map +1 -1
  149. package/build/legacy/components/deprecated/NavMenuTrigger.cjs +17 -15
  150. package/build/legacy/components/deprecated/NavMenuTrigger.cjs.map +1 -1
  151. package/build/legacy/components/deprecated/Notification.cjs +3 -3
  152. package/build/legacy/components/deprecated/Notification.cjs.map +1 -1
  153. package/build/legacy/components/deprecated/NotificationDescription.cjs +2 -2
  154. package/build/legacy/components/deprecated/NotificationDescription.cjs.map +1 -1
  155. package/build/legacy/components/deprecated/NotificationHeading.cjs +2 -2
  156. package/build/legacy/components/deprecated/NotificationHeading.cjs.map +1 -1
  157. package/build/legacy/components/dialog/close-icon-trigger.cjs +6 -6
  158. package/build/legacy/components/dialog/close-icon-trigger.cjs.map +1 -1
  159. package/build/legacy/components/dialog/dialog.cjs +14 -11
  160. package/build/legacy/components/dialog/dialog.cjs.map +1 -1
  161. package/build/legacy/components/dialog/index.cjs +14 -11
  162. package/build/legacy/components/dialog/index.cjs.map +1 -1
  163. package/build/legacy/components/dialog/parts.cjs +2 -2
  164. package/build/legacy/components/dialog/parts.cjs.map +1 -1
  165. package/build/legacy/components/dialog/primitives.cjs +2 -2
  166. package/build/legacy/components/dialog/primitives.cjs.map +1 -1
  167. package/build/legacy/components/field/field.cjs +18 -16
  168. package/build/legacy/components/field/field.cjs.map +1 -1
  169. package/build/legacy/components/field/index.cjs +22 -20
  170. package/build/legacy/components/field/index.cjs.map +1 -1
  171. package/build/legacy/components/field/parts.cjs +6 -6
  172. package/build/legacy/components/field/parts.cjs.map +1 -1
  173. package/build/legacy/components/field/primitives.cjs +6 -6
  174. package/build/legacy/components/field/primitives.cjs.map +1 -1
  175. package/build/legacy/components/field/start-indicator.cjs +2 -2
  176. package/build/legacy/components/field/start-indicator.cjs.map +1 -1
  177. package/build/legacy/components/field/status-indicator.cjs +2 -2
  178. package/build/legacy/components/field/status-indicator.cjs.map +1 -1
  179. package/build/legacy/components/fieldset/fieldset.cjs +2 -2
  180. package/build/legacy/components/fieldset/fieldset.cjs.map +1 -1
  181. package/build/legacy/components/fieldset/index.cjs +2 -2
  182. package/build/legacy/components/fieldset/index.cjs.map +1 -1
  183. package/build/legacy/components/fieldset/parts.cjs +2 -2
  184. package/build/legacy/components/fieldset/parts.cjs.map +1 -1
  185. package/build/legacy/components/fieldset/primitives.cjs +2 -2
  186. package/build/legacy/components/fieldset/primitives.cjs.map +1 -1
  187. package/build/legacy/components/for.cjs +2 -1
  188. package/build/legacy/components/for.cjs.map +1 -1
  189. package/build/legacy/components/notifications/center.cjs +54 -51
  190. package/build/legacy/components/notifications/center.cjs.map +1 -1
  191. package/build/legacy/components/notifications/close-trigger.cjs +2 -2
  192. package/build/legacy/components/notifications/close-trigger.cjs.map +1 -1
  193. package/build/legacy/components/notifications/index.cjs +51 -46
  194. package/build/legacy/components/notifications/index.cjs.map +1 -1
  195. package/build/legacy/components/notifications/index.d.cts +1 -1
  196. package/build/legacy/components/notifications/match-icon.cjs +3 -2
  197. package/build/legacy/components/notifications/match-icon.cjs.map +1 -1
  198. package/build/legacy/components/notifications/parts.cjs +2 -2
  199. package/build/legacy/components/notifications/parts.cjs.map +1 -1
  200. package/build/legacy/components/notifications/primitives.cjs +5 -3
  201. package/build/legacy/components/notifications/primitives.cjs.map +1 -1
  202. package/build/legacy/components/notifications/primitives.d.cts +1 -1
  203. package/build/legacy/components/radio/index.cjs +2 -2
  204. package/build/legacy/components/radio/index.cjs.map +1 -1
  205. package/build/legacy/components/radio/parts.cjs +2 -2
  206. package/build/legacy/components/radio/parts.cjs.map +1 -1
  207. package/build/legacy/components/radio/primitives.cjs +2 -2
  208. package/build/legacy/components/radio/primitives.cjs.map +1 -1
  209. package/build/legacy/components/radio/radio.cjs +2 -2
  210. package/build/legacy/components/radio/radio.cjs.map +1 -1
  211. package/build/legacy/components/rating/index.cjs +15 -13
  212. package/build/legacy/components/rating/index.cjs.map +1 -1
  213. package/build/legacy/components/rating/parts.cjs +2 -2
  214. package/build/legacy/components/rating/parts.cjs.map +1 -1
  215. package/build/legacy/components/rating/primitives.cjs +2 -2
  216. package/build/legacy/components/rating/primitives.cjs.map +1 -1
  217. package/build/legacy/components/rating/rating.cjs +23 -21
  218. package/build/legacy/components/rating/rating.cjs.map +1 -1
  219. package/build/legacy/components/select/index.cjs +30 -25
  220. package/build/legacy/components/select/index.cjs.map +1 -1
  221. package/build/legacy/components/select/option-group.cjs +2 -2
  222. package/build/legacy/components/select/option-group.cjs.map +1 -1
  223. package/build/legacy/components/select/parts.cjs +2 -2
  224. package/build/legacy/components/select/parts.cjs.map +1 -1
  225. package/build/legacy/components/select/primitives.cjs +2 -2
  226. package/build/legacy/components/select/primitives.cjs.map +1 -1
  227. package/build/legacy/components/select/select.cjs +43 -38
  228. package/build/legacy/components/select/select.cjs.map +1 -1
  229. package/build/legacy/components/switch/index.cjs +13 -11
  230. package/build/legacy/components/switch/index.cjs.map +1 -1
  231. package/build/legacy/components/switch/parts.cjs +10 -8
  232. package/build/legacy/components/switch/parts.cjs.map +1 -1
  233. package/build/legacy/components/switch/primitives.cjs +10 -8
  234. package/build/legacy/components/switch/primitives.cjs.map +1 -1
  235. package/build/legacy/components/switch/switch.cjs +13 -11
  236. package/build/legacy/components/switch/switch.cjs.map +1 -1
  237. package/build/legacy/components/table/index.cjs +13 -11
  238. package/build/legacy/components/table/index.cjs.map +1 -1
  239. package/build/legacy/components/table/parts.cjs +2 -2
  240. package/build/legacy/components/table/parts.cjs.map +1 -1
  241. package/build/legacy/components/table/primitives.cjs +2 -2
  242. package/build/legacy/components/table/primitives.cjs.map +1 -1
  243. package/build/legacy/components/table/table.cjs +13 -11
  244. package/build/legacy/components/table/table.cjs.map +1 -1
  245. package/build/legacy/components/tabs/index.cjs +2 -2
  246. package/build/legacy/components/tabs/index.cjs.map +1 -1
  247. package/build/legacy/components/tabs/parts.cjs +2 -2
  248. package/build/legacy/components/tabs/parts.cjs.map +1 -1
  249. package/build/legacy/components/tabs/primitives.cjs +2 -2
  250. package/build/legacy/components/tabs/primitives.cjs.map +1 -1
  251. package/build/legacy/components/tabs/tabs.cjs +2 -2
  252. package/build/legacy/components/tabs/tabs.cjs.map +1 -1
  253. package/build/legacy/components/toggle/index.cjs +7 -2
  254. package/build/legacy/components/toggle/index.cjs.map +1 -1
  255. package/build/legacy/components/toggle/parts.cjs +7 -2
  256. package/build/legacy/components/toggle/parts.cjs.map +1 -1
  257. package/build/legacy/components/toggle/primitives.cjs +7 -2
  258. package/build/legacy/components/toggle/primitives.cjs.map +1 -1
  259. package/build/legacy/config/defineIcons.cjs +2 -4
  260. package/build/legacy/config/defineIcons.cjs.map +1 -1
  261. package/build/legacy/config/icons/checkbox.icons.cjs +2 -4
  262. package/build/legacy/config/icons/checkbox.icons.cjs.map +1 -1
  263. package/build/legacy/config/icons/checkbox.icons.d.cts +0 -2
  264. package/build/legacy/config/index.cjs +2 -4
  265. package/build/legacy/config/index.cjs.map +1 -1
  266. package/build/legacy/context/confirm-modal.cjs +78 -77
  267. package/build/legacy/context/confirm-modal.cjs.map +1 -1
  268. package/build/legacy/context/field.cjs +2 -2
  269. package/build/legacy/context/field.cjs.map +1 -1
  270. package/build/legacy/context/navMenu.cjs +1 -1
  271. package/build/legacy/context/navMenu.cjs.map +1 -1
  272. package/build/legacy/context/prompt-modal.cjs +102 -97
  273. package/build/legacy/context/prompt-modal.cjs.map +1 -1
  274. package/build/legacy/context/theme.cjs.map +1 -1
  275. package/build/legacy/hooks/useModal.cjs.map +1 -1
  276. package/build/legacy/hooks/useModal.d.cts +2 -2
  277. package/build/legacy/index.cjs +1451 -1500
  278. package/build/legacy/index.cjs.map +1 -1
  279. package/build/legacy/index.d.cts +20 -30
  280. package/build/modern/_tsup-dts-rollup.d.ts +21878 -1965
  281. package/build/modern/aria-helpers/nav-menu.aria.js +1 -1
  282. package/build/modern/aria-helpers/trap-focus.aria.js +1 -1
  283. package/build/modern/{chunk-QG4NDPST.js → chunk-25P3FUUT.js} +3 -3
  284. package/build/modern/{chunk-FZ53535Q.js → chunk-2CZWHED6.js} +2 -2
  285. package/build/modern/{chunk-JAAMD5EH.js → chunk-2IYWFZTK.js} +2 -2
  286. package/build/modern/{chunk-LZWNHXRP.js → chunk-3DZW23OX.js} +7 -5
  287. package/build/modern/chunk-3DZW23OX.js.map +1 -0
  288. package/build/modern/{chunk-7OYOT5LK.js → chunk-3IT3V3YA.js} +6 -6
  289. package/build/modern/chunk-3IT3V3YA.js.map +1 -0
  290. package/build/modern/{chunk-KWZ3CEG6.js → chunk-52ZQ26IV.js} +2 -2
  291. package/build/modern/chunk-53YVHIGJ.js +11 -0
  292. package/build/modern/chunk-53YVHIGJ.js.map +1 -0
  293. package/build/modern/{chunk-XBUXVNTY.js → chunk-5FC7HIAR.js} +2 -2
  294. package/build/modern/{chunk-TEMFCS72.js → chunk-5HEU3SYR.js} +2 -2
  295. package/build/modern/{chunk-QCBLRACK.js → chunk-5MUUKSLF.js} +3 -5
  296. package/build/modern/chunk-5MUUKSLF.js.map +1 -0
  297. package/build/modern/{chunk-CHSC2LEM.js → chunk-6DU5QBPR.js} +8 -8
  298. package/build/modern/chunk-6DU5QBPR.js.map +1 -0
  299. package/build/modern/{chunk-AIJ75ENY.js → chunk-6KX5P5OU.js} +5 -5
  300. package/build/modern/chunk-6KX5P5OU.js.map +1 -0
  301. package/build/modern/{chunk-DEXJQ6UI.js → chunk-6MMH3Y2U.js} +5 -5
  302. package/build/modern/chunk-6MMH3Y2U.js.map +1 -0
  303. package/build/modern/{chunk-4IXQNNAM.js → chunk-6UVR3VGK.js} +2 -2
  304. package/build/modern/{chunk-JOM5AAVW.js → chunk-75DUDVPA.js} +2 -2
  305. package/build/modern/chunk-75DUDVPA.js.map +1 -0
  306. package/build/modern/{chunk-JWF7FK7T.js → chunk-7I7LA2EE.js} +2 -2
  307. package/build/modern/chunk-7I7LA2EE.js.map +1 -0
  308. package/build/modern/{chunk-FCRD3ZRZ.js → chunk-ADZRQNW3.js} +3 -3
  309. package/build/modern/{chunk-7SYJFI5E.js → chunk-AUI74W7J.js} +3 -2
  310. package/build/modern/chunk-AUI74W7J.js.map +1 -0
  311. package/build/modern/{chunk-CPNKDKC2.js → chunk-BMPMMTX3.js} +3 -5
  312. package/build/modern/chunk-BMPMMTX3.js.map +1 -0
  313. package/build/modern/{chunk-6HOLE2JH.js → chunk-CEJIKL6N.js} +2 -2
  314. package/build/modern/{chunk-N4RPMT6J.js → chunk-CF4TCMJI.js} +4 -4
  315. package/build/modern/chunk-CF4TCMJI.js.map +1 -0
  316. package/build/modern/{chunk-NR5XDIJ7.js → chunk-D4BVNWAY.js} +3 -5
  317. package/build/modern/chunk-D4BVNWAY.js.map +1 -0
  318. package/build/modern/{chunk-E7FVTKUT.js → chunk-D6PFYSIP.js} +3 -3
  319. package/build/modern/{chunk-WMRSNYYG.js → chunk-D7QIPJQC.js} +7 -7
  320. package/build/modern/chunk-D7QIPJQC.js.map +1 -0
  321. package/build/modern/{chunk-IP3O6AIC.js → chunk-DHKSNGQX.js} +8 -8
  322. package/build/modern/chunk-DHKSNGQX.js.map +1 -0
  323. package/build/modern/{chunk-Z52R6ABJ.js → chunk-EMDNETC7.js} +3 -3
  324. package/build/modern/chunk-EMDNETC7.js.map +1 -0
  325. package/build/modern/{chunk-BPRF34DU.js → chunk-ENJUQNVT.js} +3 -5
  326. package/build/modern/chunk-ENJUQNVT.js.map +1 -0
  327. package/build/modern/{chunk-YOTXFCCC.js → chunk-F2MWSSK2.js} +3 -3
  328. package/build/modern/chunk-F2MWSSK2.js.map +1 -0
  329. package/build/modern/{chunk-GVU6L6CZ.js → chunk-F3XFJHGR.js} +5 -5
  330. package/build/modern/chunk-F3XFJHGR.js.map +1 -0
  331. package/build/modern/{chunk-EH36PXVP.js → chunk-FAQ3F72W.js} +2 -2
  332. package/build/modern/{chunk-JIZQFTW6.js → chunk-FHNT274F.js} +1 -1
  333. package/build/modern/chunk-FHNT274F.js.map +1 -0
  334. package/build/modern/{chunk-JF76VIL3.js → chunk-FUTYPCHZ.js} +1 -1
  335. package/build/modern/chunk-FUTYPCHZ.js.map +1 -0
  336. package/build/modern/{chunk-6WS765J3.js → chunk-FXWN3SPS.js} +2 -2
  337. package/build/modern/chunk-FXWN3SPS.js.map +1 -0
  338. package/build/modern/{chunk-RD2YPFRA.js → chunk-GB7W3YNU.js} +6 -8
  339. package/build/modern/chunk-GB7W3YNU.js.map +1 -0
  340. package/build/modern/{chunk-LT62577B.js → chunk-GBCF6DOS.js} +4 -4
  341. package/build/modern/chunk-GBCF6DOS.js.map +1 -0
  342. package/build/modern/{chunk-2CVGNLIM.js → chunk-GC6JUHVS.js} +2 -2
  343. package/build/modern/{chunk-IASVL7CW.js → chunk-GUAF4FXQ.js} +2 -2
  344. package/build/modern/{chunk-OS73F4SR.js → chunk-GYUCW2QK.js} +2 -2
  345. package/build/modern/{chunk-Z5K4J4MS.js → chunk-H2HP63H4.js} +7 -7
  346. package/build/modern/chunk-H2HP63H4.js.map +1 -0
  347. package/build/modern/{chunk-STLN7BMJ.js → chunk-H2VYN32T.js} +2 -2
  348. package/build/modern/chunk-H2VYN32T.js.map +1 -0
  349. package/build/modern/{chunk-BIDE4IJG.js → chunk-H4SH6ORP.js} +2 -2
  350. package/build/modern/{chunk-5RTNSVYU.js → chunk-HJ7MAPDD.js} +3 -5
  351. package/build/modern/chunk-HJ7MAPDD.js.map +1 -0
  352. package/build/modern/{chunk-HUN7VQBT.js → chunk-I4EGYD24.js} +2 -2
  353. package/build/modern/chunk-I5RGBB57.js +13 -0
  354. package/build/modern/{chunk-DXOKSZVQ.js.map → chunk-I5RGBB57.js.map} +1 -1
  355. package/build/modern/{chunk-DRDNNRU3.js → chunk-IIH4VDQA.js} +3 -3
  356. package/build/modern/chunk-IIH4VDQA.js.map +1 -0
  357. package/build/modern/{chunk-W47QEZD5.js → chunk-IL677ECW.js} +3 -3
  358. package/build/modern/chunk-IL677ECW.js.map +1 -0
  359. package/build/modern/{chunk-6I2FW4WI.js → chunk-ILROS7ST.js} +4 -4
  360. package/build/modern/{chunk-BD4UH5GS.js → chunk-INVZVMY4.js} +5 -5
  361. package/build/modern/chunk-INVZVMY4.js.map +1 -0
  362. package/build/modern/{chunk-SYPAA5YF.js → chunk-IUF74GEL.js} +2 -2
  363. package/build/modern/{chunk-WVFEJCUN.js → chunk-J76SGDYP.js} +2 -2
  364. package/build/modern/{chunk-2LP4KQYQ.js → chunk-JFSCSAHD.js} +8 -8
  365. package/build/modern/chunk-JFSCSAHD.js.map +1 -0
  366. package/build/modern/{chunk-RQCJKDXU.js → chunk-JQYW4IOC.js} +2 -2
  367. package/build/modern/{chunk-6MNFE6U6.js → chunk-KEGLWDD6.js} +3 -3
  368. package/build/modern/{chunk-EB37HRCN.js → chunk-KOLNLCMZ.js} +1 -1
  369. package/build/modern/{chunk-EB37HRCN.js.map → chunk-KOLNLCMZ.js.map} +1 -1
  370. package/build/modern/{chunk-Z3FDG263.js → chunk-KV4NRGKW.js} +3 -5
  371. package/build/modern/chunk-KV4NRGKW.js.map +1 -0
  372. package/build/modern/{chunk-LPALHB6R.js → chunk-L2EGF5AV.js} +3 -3
  373. package/build/modern/chunk-L2EGF5AV.js.map +1 -0
  374. package/build/modern/{chunk-4GFEWP76.js → chunk-L5FYGWAZ.js} +3 -3
  375. package/build/modern/chunk-L5FYGWAZ.js.map +1 -0
  376. package/build/modern/{chunk-RU5LOXWI.js → chunk-L64HQGLQ.js} +2 -2
  377. package/build/modern/chunk-L64HQGLQ.js.map +1 -0
  378. package/build/modern/{chunk-FBS7AX76.js → chunk-LEBDLXJE.js} +7 -7
  379. package/build/modern/chunk-LEBDLXJE.js.map +1 -0
  380. package/build/modern/{chunk-A464YKEL.js → chunk-MDXJ6MGF.js} +3 -3
  381. package/build/modern/chunk-MDXJ6MGF.js.map +1 -0
  382. package/build/modern/{chunk-KZDEDAIK.js → chunk-MTD4JSHT.js} +2 -2
  383. package/build/modern/{chunk-FUL2VRDU.js → chunk-MZXSSTS7.js} +2 -2
  384. package/build/modern/{chunk-NOXZZHDH.js → chunk-N6XHXPBI.js} +5 -5
  385. package/build/modern/{chunk-LLZE2RBB.js → chunk-NJ37QRAI.js} +2 -2
  386. package/build/modern/chunk-NJ37QRAI.js.map +1 -0
  387. package/build/modern/{chunk-KB52N3HJ.js → chunk-NP73HOHI.js} +3 -3
  388. package/build/modern/{chunk-7TQRTBUP.js → chunk-NQ22M7U7.js} +2 -2
  389. package/build/modern/{chunk-EL4MX2PG.js → chunk-NYEUNVKR.js} +3 -3
  390. package/build/modern/{chunk-GBCJKBWH.js → chunk-NYRNXRTZ.js} +5 -5
  391. package/build/modern/chunk-NYRNXRTZ.js.map +1 -0
  392. package/build/modern/{chunk-MR4DX76C.js → chunk-NYVKL2IS.js} +2 -2
  393. package/build/modern/{chunk-E3PAEB7Y.js → chunk-OCZCCOWW.js} +3 -5
  394. package/build/modern/chunk-OCZCCOWW.js.map +1 -0
  395. package/build/modern/{chunk-5DY66QZD.js → chunk-ONHP3RYL.js} +4 -4
  396. package/build/modern/chunk-ONHP3RYL.js.map +1 -0
  397. package/build/modern/{chunk-RKGFPKKK.js → chunk-OY33UHBG.js} +3 -5
  398. package/build/modern/chunk-OY33UHBG.js.map +1 -0
  399. package/build/modern/{chunk-NHBL7NNP.js → chunk-OY7BOKWW.js} +5 -5
  400. package/build/modern/chunk-OY7BOKWW.js.map +1 -0
  401. package/build/modern/{chunk-MPS6BAJ2.js → chunk-P7DWMM56.js} +12 -12
  402. package/build/modern/chunk-P7DWMM56.js.map +1 -0
  403. package/build/modern/{chunk-4HUK7YNZ.js → chunk-PHPXOX2Y.js} +7 -5
  404. package/build/modern/chunk-PHPXOX2Y.js.map +1 -0
  405. package/build/modern/{chunk-6QHOKCV3.js → chunk-Q3LUIS3M.js} +4 -4
  406. package/build/modern/chunk-Q3LUIS3M.js.map +1 -0
  407. package/build/modern/{chunk-KJMCUYWV.js → chunk-Q737W5KJ.js} +3 -3
  408. package/build/modern/chunk-Q737W5KJ.js.map +1 -0
  409. package/build/modern/{chunk-QQCB6JXW.js → chunk-QCZ5VNGU.js} +4 -4
  410. package/build/modern/chunk-QCZ5VNGU.js.map +1 -0
  411. package/build/modern/{chunk-TNSIYRF7.js → chunk-QD3WAARV.js} +4 -4
  412. package/build/modern/chunk-QD3WAARV.js.map +1 -0
  413. package/build/modern/{chunk-XBDEIBW2.js → chunk-QNZIH2KG.js} +2 -2
  414. package/build/modern/chunk-RP6DNLP3.js +17 -0
  415. package/build/modern/chunk-RP6DNLP3.js.map +1 -0
  416. package/build/modern/{chunk-M7T3MBFB.js → chunk-RT7OJ4X5.js} +2 -2
  417. package/build/modern/{chunk-D7MAAGNA.js → chunk-RW3YEBDW.js} +42 -16
  418. package/build/modern/chunk-RW3YEBDW.js.map +1 -0
  419. package/build/modern/{chunk-BJJ4XAVO.js → chunk-RYRB5GPN.js} +3 -3
  420. package/build/modern/{chunk-GBHYDL2K.js → chunk-SDV6XUM6.js} +12 -9
  421. package/build/modern/chunk-SDV6XUM6.js.map +1 -0
  422. package/build/modern/{chunk-D7UIWAFO.js → chunk-SSR3CWJZ.js} +3 -5
  423. package/build/modern/chunk-SSR3CWJZ.js.map +1 -0
  424. package/build/modern/{chunk-QD4TL3L6.js → chunk-STCGFGTK.js} +7 -7
  425. package/build/modern/chunk-STCGFGTK.js.map +1 -0
  426. package/build/modern/{chunk-7JHQVQPS.js → chunk-SZOV7M64.js} +6 -4
  427. package/build/modern/chunk-SZOV7M64.js.map +1 -0
  428. package/build/modern/{chunk-L7N24B6B.js → chunk-T2NB3RBO.js} +3 -3
  429. package/build/modern/chunk-T2NB3RBO.js.map +1 -0
  430. package/build/modern/{chunk-VOYXV3US.js → chunk-TGY3RICC.js} +11 -13
  431. package/build/modern/chunk-TGY3RICC.js.map +1 -0
  432. package/build/modern/{chunk-2FRF57EU.js → chunk-UGFSACHC.js} +3 -5
  433. package/build/modern/chunk-UGFSACHC.js.map +1 -0
  434. package/build/modern/{chunk-SRNDDY5D.js → chunk-UH6XSYYD.js} +3 -5
  435. package/build/modern/chunk-UH6XSYYD.js.map +1 -0
  436. package/build/modern/{chunk-AO3GB72J.js → chunk-UJTE43LT.js} +2 -2
  437. package/build/modern/chunk-UJTE43LT.js.map +1 -0
  438. package/build/modern/{chunk-HB6MBJSG.js → chunk-URJ6JHLG.js} +10 -10
  439. package/build/modern/chunk-URJ6JHLG.js.map +1 -0
  440. package/build/modern/{chunk-FCSO6N2Y.js → chunk-V6EAWUCQ.js} +2 -2
  441. package/build/modern/{chunk-HIC7Z23X.js → chunk-V6ZOASMM.js} +2 -2
  442. package/build/modern/chunk-VEAC4I3F.js +17 -0
  443. package/build/modern/chunk-VEAC4I3F.js.map +1 -0
  444. package/build/modern/{chunk-CNA2VKAH.js → chunk-VIKVLJGG.js} +3 -3
  445. package/build/modern/chunk-VIKVLJGG.js.map +1 -0
  446. package/build/modern/{chunk-YUNLWTUB.js → chunk-W337WQTU.js} +2 -2
  447. package/build/modern/{chunk-VSTOSLFS.js → chunk-WEL43I6Y.js} +5 -5
  448. package/build/modern/chunk-WEL43I6Y.js.map +1 -0
  449. package/build/modern/{chunk-XTNGF4D6.js → chunk-YOYCS3MD.js} +2 -2
  450. package/build/modern/{chunk-RUR5MV54.js → chunk-YUVPXW6D.js} +12 -6
  451. package/build/modern/chunk-YUVPXW6D.js.map +1 -0
  452. package/build/modern/{chunk-MH6CIBDU.js → chunk-Z2KBUTCO.js} +3 -3
  453. package/build/modern/chunk-Z2KBUTCO.js.map +1 -0
  454. package/build/modern/{chunk-K2TZB3I4.js → chunk-ZL7AX5EM.js} +3 -3
  455. package/build/modern/components/CircularProgress.js +2 -2
  456. package/build/modern/components/FeatureFlag.js +2 -2
  457. package/build/modern/components/FileStatus.js +12 -12
  458. package/build/modern/components/FileUploader.js +5 -5
  459. package/build/modern/components/IconButton.js +1 -1
  460. package/build/modern/components/Menu.d.ts +2 -2
  461. package/build/modern/components/Menu.js +1 -1
  462. package/build/modern/components/Portal.d.ts +1 -1
  463. package/build/modern/components/Portal.js +1 -1
  464. package/build/modern/components/ProgressBar.js +1 -1
  465. package/build/modern/components/Show.js +1 -2
  466. package/build/modern/components/Spinner.js +1 -1
  467. package/build/modern/components/Tag.js +3 -3
  468. package/build/modern/components/Text.js +1 -1
  469. package/build/modern/components/Tooltip.js +1 -1
  470. package/build/modern/components/accordion/index.d.ts +1 -1
  471. package/build/modern/components/accordion/index.js +5 -5
  472. package/build/modern/components/accordion/item-group.d.ts +1 -1
  473. package/build/modern/components/accordion/item-group.js +5 -5
  474. package/build/modern/components/accordion/item-indicator.js +3 -3
  475. package/build/modern/components/accordion/parts.js +2 -2
  476. package/build/modern/components/accordion/primitives.js +1 -1
  477. package/build/modern/components/admonition/admonition.js +8 -8
  478. package/build/modern/components/admonition/index.js +8 -8
  479. package/build/modern/components/admonition/match-avatar.js +5 -5
  480. package/build/modern/components/admonition/parts.js +2 -2
  481. package/build/modern/components/admonition/primitives.js +1 -1
  482. package/build/modern/components/avatar/avatar.js +4 -4
  483. package/build/modern/components/avatar/index.js +4 -4
  484. package/build/modern/components/avatar/parts.js +2 -2
  485. package/build/modern/components/avatar/primitives.js +1 -1
  486. package/build/modern/components/button/button.js +3 -3
  487. package/build/modern/components/button/index.js +4 -4
  488. package/build/modern/components/button/parts.js +4 -4
  489. package/build/modern/components/checkbox/checkbox-icon.js +4 -4
  490. package/build/modern/components/checkbox/checkbox.js +6 -6
  491. package/build/modern/components/checkbox/index.js +6 -6
  492. package/build/modern/components/checkbox/parts.js +2 -2
  493. package/build/modern/components/checkbox/primitives.js +1 -1
  494. package/build/modern/components/combobox/combobox.js +5 -5
  495. package/build/modern/components/combobox/index.js +9 -9
  496. package/build/modern/components/combobox/item-group.js +3 -3
  497. package/build/modern/components/combobox/item.js +3 -3
  498. package/build/modern/components/combobox/parts.js +2 -2
  499. package/build/modern/components/combobox/primitives.js +1 -1
  500. package/build/modern/components/combobox/use-stateful-collection.js +2 -2
  501. package/build/modern/components/cta-dialog/index.js +15 -15
  502. package/build/modern/components/cta-dialog/provider.js +15 -15
  503. package/build/modern/components/cta-dialog/trigger-item.js +4 -4
  504. package/build/modern/components/date-picker/calendar.js +13 -13
  505. package/build/modern/components/date-picker/content.js +4 -4
  506. package/build/modern/components/date-picker/date-picker.js +3 -3
  507. package/build/modern/components/date-picker/day-view.js +8 -8
  508. package/build/modern/components/date-picker/index.js +17 -17
  509. package/build/modern/components/date-picker/input.js +5 -5
  510. package/build/modern/components/date-picker/month-view.js +8 -8
  511. package/build/modern/components/date-picker/parts.js +2 -2
  512. package/build/modern/components/date-picker/primitives.js +1 -1
  513. package/build/modern/components/date-picker/range-input.js +5 -5
  514. package/build/modern/components/date-picker/trigger.js +4 -4
  515. package/build/modern/components/date-picker/view-control-group.js +7 -7
  516. package/build/modern/components/date-picker/year-view.js +8 -8
  517. package/build/modern/components/deprecated/FieldMessage.js +1 -1
  518. package/build/modern/components/deprecated/FieldsetLabel.js +1 -1
  519. package/build/modern/components/deprecated/Label.js +7 -7
  520. package/build/modern/components/deprecated/Legend.js +2 -2
  521. package/build/modern/components/deprecated/Modal.d.ts +2 -2
  522. package/build/modern/components/deprecated/Modal.js +7 -3
  523. package/build/modern/components/deprecated/Modal.js.map +1 -1
  524. package/build/modern/components/deprecated/ModalDescription.d.ts +2 -2
  525. package/build/modern/components/deprecated/ModalDescription.js +7 -3
  526. package/build/modern/components/deprecated/ModalDescription.js.map +1 -1
  527. package/build/modern/components/deprecated/ModalHeader.d.ts +2 -2
  528. package/build/modern/components/deprecated/ModalHeader.js +20 -3
  529. package/build/modern/components/deprecated/ModalHeader.js.map +1 -1
  530. package/build/modern/components/deprecated/ModalHeading.d.ts +2 -2
  531. package/build/modern/components/deprecated/ModalHeading.js +7 -3
  532. package/build/modern/components/deprecated/ModalHeading.js.map +1 -1
  533. package/build/modern/components/deprecated/NavMenuLink.js +2 -2
  534. package/build/modern/components/deprecated/NavMenuList.js +3 -3
  535. package/build/modern/components/deprecated/NavMenuTrigger.js +4 -4
  536. package/build/modern/components/deprecated/Notification.js +72 -4
  537. package/build/modern/components/deprecated/Notification.js.map +1 -1
  538. package/build/modern/components/deprecated/NotificationDescription.js +16 -2
  539. package/build/modern/components/deprecated/NotificationDescription.js.map +1 -1
  540. package/build/modern/components/deprecated/NotificationHeading.js +10 -2
  541. package/build/modern/components/deprecated/NotificationHeading.js.map +1 -1
  542. package/build/modern/components/dialog/close-icon-trigger.js +3 -3
  543. package/build/modern/components/dialog/dialog.js +3 -3
  544. package/build/modern/components/dialog/index.js +8 -8
  545. package/build/modern/components/dialog/parts.js +2 -2
  546. package/build/modern/components/dialog/primitives.js +1 -1
  547. package/build/modern/components/field/field.js +5 -5
  548. package/build/modern/components/field/index.js +6 -6
  549. package/build/modern/components/field/parts.js +4 -4
  550. package/build/modern/components/field/primitives.js +3 -3
  551. package/build/modern/components/field/start-indicator.js +1 -1
  552. package/build/modern/components/field/status-indicator.js +1 -1
  553. package/build/modern/components/fieldset/fieldset.js +3 -3
  554. package/build/modern/components/fieldset/index.js +3 -3
  555. package/build/modern/components/fieldset/parts.js +2 -2
  556. package/build/modern/components/fieldset/primitives.js +1 -1
  557. package/build/modern/components/for.js +1 -1
  558. package/build/modern/components/notifications/center.js +8 -8
  559. package/build/modern/components/notifications/close-trigger.js +3 -3
  560. package/build/modern/components/notifications/index.d.ts +1 -1
  561. package/build/modern/components/notifications/index.js +8 -8
  562. package/build/modern/components/notifications/match-icon.js +2 -2
  563. package/build/modern/components/notifications/parts.js +2 -2
  564. package/build/modern/components/notifications/primitives.d.ts +1 -1
  565. package/build/modern/components/notifications/primitives.js +1 -1
  566. package/build/modern/components/radio/index.js +3 -3
  567. package/build/modern/components/radio/parts.js +2 -2
  568. package/build/modern/components/radio/primitives.js +1 -1
  569. package/build/modern/components/radio/radio.js +2 -2
  570. package/build/modern/components/rating/index.js +4 -4
  571. package/build/modern/components/rating/parts.js +2 -2
  572. package/build/modern/components/rating/primitives.js +1 -1
  573. package/build/modern/components/rating/rating.js +4 -4
  574. package/build/modern/components/select/index.js +6 -6
  575. package/build/modern/components/select/option-group.js +2 -2
  576. package/build/modern/components/select/parts.js +2 -2
  577. package/build/modern/components/select/primitives.js +1 -1
  578. package/build/modern/components/select/select.js +5 -5
  579. package/build/modern/components/switch/index.js +3 -3
  580. package/build/modern/components/switch/parts.js +2 -2
  581. package/build/modern/components/switch/primitives.js +1 -1
  582. package/build/modern/components/switch/switch.js +3 -3
  583. package/build/modern/components/table/index.js +4 -4
  584. package/build/modern/components/table/parts.js +2 -2
  585. package/build/modern/components/table/primitives.js +1 -1
  586. package/build/modern/components/table/table.js +3 -3
  587. package/build/modern/components/tabs/index.js +3 -3
  588. package/build/modern/components/tabs/parts.js +2 -2
  589. package/build/modern/components/tabs/primitives.js +1 -1
  590. package/build/modern/components/tabs/tabs.js +3 -3
  591. package/build/modern/components/toggle/index.js +2 -2
  592. package/build/modern/components/toggle/parts.js +2 -2
  593. package/build/modern/components/toggle/primitives.js +1 -1
  594. package/build/modern/config/defineIcons.js +2 -2
  595. package/build/modern/config/icons/checkbox.icons.d.ts +0 -2
  596. package/build/modern/config/icons/checkbox.icons.js +1 -1
  597. package/build/modern/config/index.js +2 -2
  598. package/build/modern/context/confirm-modal.js +13 -13
  599. package/build/modern/context/field.js +3 -3
  600. package/build/modern/context/field.js.map +1 -1
  601. package/build/modern/context/navMenu.js +1 -1
  602. package/build/modern/context/prompt-modal.js +19 -19
  603. package/build/modern/context/theme.js +1 -1
  604. package/build/modern/hooks/useModal.d.ts +2 -2
  605. package/build/modern/hooks/useModal.js +23 -3
  606. package/build/modern/hooks/useModal.js.map +1 -1
  607. package/build/modern/index.d.ts +20 -30
  608. package/build/modern/index.js +128 -148
  609. package/build/modern/index.js.map +1 -1
  610. package/package.json +43 -43
  611. package/src/.DS_Store +0 -0
  612. package/src/aria-helpers/nav-menu.aria.ts +3 -0
  613. package/src/aria-helpers/trap-focus.aria.ts +4 -1
  614. package/src/components/.DS_Store +0 -0
  615. package/src/components/CircularProgress.tsx +2 -2
  616. package/src/components/FileStatus.tsx +3 -6
  617. package/src/components/FileUploader.tsx +4 -4
  618. package/src/components/IconButton.tsx +3 -6
  619. package/src/components/Menu.tsx +13 -92
  620. package/src/components/Portal.tsx +6 -6
  621. package/src/components/ProgressBar.tsx +2 -2
  622. package/src/components/Show.tsx +13 -11
  623. package/src/components/Spinner.tsx +3 -4
  624. package/src/components/Tag.tsx +2 -2
  625. package/src/components/Text.tsx +3 -6
  626. package/src/components/Tooltip.tsx +2 -2
  627. package/src/components/accordion/item-group.tsx +8 -4
  628. package/src/components/accordion/item-indicator.tsx +1 -1
  629. package/src/components/accordion/primitives.tsx +2 -5
  630. package/src/components/admonition/admonition.tsx +3 -3
  631. package/src/components/admonition/match-avatar.tsx +1 -1
  632. package/src/components/admonition/primitives.tsx +2 -5
  633. package/src/components/avatar/avatar.tsx +2 -2
  634. package/src/components/avatar/primitives.tsx +2 -5
  635. package/src/components/button/button.tsx +3 -6
  636. package/src/components/checkbox/checkbox.tsx +1 -1
  637. package/src/components/checkbox/primitives.tsx +2 -5
  638. package/src/components/combobox/combobox.tsx +2 -2
  639. package/src/components/combobox/primitives.tsx +2 -5
  640. package/src/components/cta-dialog/provider.tsx +2 -2
  641. package/src/components/cta-dialog/trigger-item.tsx +2 -2
  642. package/src/components/date-picker/primitives.tsx +63 -15
  643. package/src/components/date-picker/view-control-group.tsx +1 -1
  644. package/src/components/deprecated/FieldMessage.tsx +2 -2
  645. package/src/components/deprecated/FieldsetLabel.tsx +2 -2
  646. package/src/components/deprecated/Label.tsx +2 -2
  647. package/src/components/deprecated/Legend.tsx +3 -3
  648. package/src/components/deprecated/Modal.tsx +8 -14
  649. package/src/components/deprecated/ModalDescription.tsx +2 -2
  650. package/src/components/deprecated/ModalHeader.tsx +2 -2
  651. package/src/components/deprecated/ModalHeading.tsx +2 -2
  652. package/src/components/deprecated/NavMenuLink.tsx +2 -2
  653. package/src/components/deprecated/NavMenuList.tsx +3 -3
  654. package/src/components/deprecated/NavMenuTrigger.tsx +3 -3
  655. package/src/components/deprecated/Notification.tsx +4 -4
  656. package/src/components/deprecated/NotificationDescription.tsx +2 -2
  657. package/src/components/deprecated/NotificationHeading.tsx +2 -2
  658. package/src/components/dialog/close-icon-trigger.tsx +2 -2
  659. package/src/components/dialog/dialog.tsx +1 -1
  660. package/src/components/dialog/primitives.tsx +2 -5
  661. package/src/components/field/field.tsx +4 -4
  662. package/src/components/field/primitives.tsx +2 -2
  663. package/src/components/field/start-indicator.tsx +2 -2
  664. package/src/components/field/status-indicator.tsx +2 -2
  665. package/src/components/fieldset/fieldset.tsx +1 -1
  666. package/src/components/fieldset/primitives.tsx +2 -5
  667. package/src/components/for.tsx +1 -1
  668. package/src/components/notifications/center.tsx +8 -4
  669. package/src/components/notifications/match-icon.tsx +1 -1
  670. package/src/components/notifications/primitives.tsx +6 -3
  671. package/src/components/radio/primitives.tsx +2 -5
  672. package/src/components/radio/radio.tsx +1 -1
  673. package/src/components/rating/primitives.tsx +2 -2
  674. package/src/components/rating/rating.tsx +2 -2
  675. package/src/components/select/primitives.tsx +2 -5
  676. package/src/components/select/select.tsx +2 -2
  677. package/src/components/switch/primitives.tsx +7 -4
  678. package/src/components/switch/switch.tsx +1 -1
  679. package/src/components/table/primitives.tsx +2 -2
  680. package/src/components/table/table.tsx +2 -2
  681. package/src/components/tabs/primitives.tsx +2 -2
  682. package/src/components/toggle/primitives.tsx +11 -3
  683. package/src/config/icons/checkbox.icons.tsx +2 -10
  684. package/src/context/confirm-modal.tsx +3 -3
  685. package/src/context/field.tsx +2 -4
  686. package/src/context/navMenu.tsx +8 -8
  687. package/src/context/prompt-modal.tsx +5 -5
  688. package/src/context/theme.tsx +1 -3
  689. package/src/hooks/useModal.ts +1 -1
  690. package/src/index.ts +2 -7
  691. package/build/legacy/context/notification-center/store.cjs +0 -66
  692. package/build/legacy/context/notification-center/store.cjs.map +0 -1
  693. package/build/legacy/context/notification-center/store.d.cts +0 -5
  694. package/build/legacy/context/notification-center/types.cjs +0 -19
  695. package/build/legacy/context/notification-center/types.cjs.map +0 -1
  696. package/build/legacy/context/notification-center/types.d.cts +0 -6
  697. package/build/legacy/context/notification-center.cjs +0 -381
  698. package/build/legacy/context/notification-center.cjs.map +0 -1
  699. package/build/legacy/context/notification-center.d.cts +0 -5
  700. package/build/modern/chunk-2FRF57EU.js.map +0 -1
  701. package/build/modern/chunk-2LP4KQYQ.js.map +0 -1
  702. package/build/modern/chunk-4GFEWP76.js.map +0 -1
  703. package/build/modern/chunk-4HUK7YNZ.js.map +0 -1
  704. package/build/modern/chunk-5DY66QZD.js.map +0 -1
  705. package/build/modern/chunk-5RTNSVYU.js.map +0 -1
  706. package/build/modern/chunk-6QHOKCV3.js.map +0 -1
  707. package/build/modern/chunk-6WS765J3.js.map +0 -1
  708. package/build/modern/chunk-7JHQVQPS.js.map +0 -1
  709. package/build/modern/chunk-7OYOT5LK.js.map +0 -1
  710. package/build/modern/chunk-7SYJFI5E.js.map +0 -1
  711. package/build/modern/chunk-A464YKEL.js.map +0 -1
  712. package/build/modern/chunk-AIJ75ENY.js.map +0 -1
  713. package/build/modern/chunk-AO3GB72J.js.map +0 -1
  714. package/build/modern/chunk-AUALRL3U.js +0 -25
  715. package/build/modern/chunk-AUALRL3U.js.map +0 -1
  716. package/build/modern/chunk-BD4UH5GS.js.map +0 -1
  717. package/build/modern/chunk-BPRF34DU.js.map +0 -1
  718. package/build/modern/chunk-BUVVRQLZ.js +0 -15
  719. package/build/modern/chunk-BUVVRQLZ.js.map +0 -1
  720. package/build/modern/chunk-CHSC2LEM.js.map +0 -1
  721. package/build/modern/chunk-CIMY2U22.js +0 -10
  722. package/build/modern/chunk-CIMY2U22.js.map +0 -1
  723. package/build/modern/chunk-CNA2VKAH.js.map +0 -1
  724. package/build/modern/chunk-CPNKDKC2.js.map +0 -1
  725. package/build/modern/chunk-D7MAAGNA.js.map +0 -1
  726. package/build/modern/chunk-D7UIWAFO.js.map +0 -1
  727. package/build/modern/chunk-DEXJQ6UI.js.map +0 -1
  728. package/build/modern/chunk-DRDNNRU3.js.map +0 -1
  729. package/build/modern/chunk-DXOKSZVQ.js +0 -12
  730. package/build/modern/chunk-E3PAEB7Y.js.map +0 -1
  731. package/build/modern/chunk-EUYI7C2E.js +0 -78
  732. package/build/modern/chunk-EUYI7C2E.js.map +0 -1
  733. package/build/modern/chunk-FBS7AX76.js.map +0 -1
  734. package/build/modern/chunk-GBCJKBWH.js.map +0 -1
  735. package/build/modern/chunk-GBHYDL2K.js.map +0 -1
  736. package/build/modern/chunk-GVU6L6CZ.js.map +0 -1
  737. package/build/modern/chunk-HB6MBJSG.js.map +0 -1
  738. package/build/modern/chunk-IP3O6AIC.js.map +0 -1
  739. package/build/modern/chunk-IQJDVFPP.js +0 -10
  740. package/build/modern/chunk-IQJDVFPP.js.map +0 -1
  741. package/build/modern/chunk-JF76VIL3.js.map +0 -1
  742. package/build/modern/chunk-JIZQFTW6.js.map +0 -1
  743. package/build/modern/chunk-JOM5AAVW.js.map +0 -1
  744. package/build/modern/chunk-JWF7FK7T.js.map +0 -1
  745. package/build/modern/chunk-KGQG5JGW.js +0 -27
  746. package/build/modern/chunk-KGQG5JGW.js.map +0 -1
  747. package/build/modern/chunk-KJMCUYWV.js.map +0 -1
  748. package/build/modern/chunk-L7N24B6B.js.map +0 -1
  749. package/build/modern/chunk-LLZE2RBB.js.map +0 -1
  750. package/build/modern/chunk-LPALHB6R.js.map +0 -1
  751. package/build/modern/chunk-LT62577B.js.map +0 -1
  752. package/build/modern/chunk-LZWNHXRP.js.map +0 -1
  753. package/build/modern/chunk-MH6CIBDU.js.map +0 -1
  754. package/build/modern/chunk-MPS6BAJ2.js.map +0 -1
  755. package/build/modern/chunk-N4RPMT6J.js.map +0 -1
  756. package/build/modern/chunk-NHBL7NNP.js.map +0 -1
  757. package/build/modern/chunk-NR5XDIJ7.js.map +0 -1
  758. package/build/modern/chunk-Q3I4H6EC.js +0 -21
  759. package/build/modern/chunk-Q3I4H6EC.js.map +0 -1
  760. package/build/modern/chunk-QCBLRACK.js.map +0 -1
  761. package/build/modern/chunk-QD4TL3L6.js.map +0 -1
  762. package/build/modern/chunk-QJ3CJ4CR.js +0 -22
  763. package/build/modern/chunk-QJ3CJ4CR.js.map +0 -1
  764. package/build/modern/chunk-QQCB6JXW.js.map +0 -1
  765. package/build/modern/chunk-RD2YPFRA.js.map +0 -1
  766. package/build/modern/chunk-RKGFPKKK.js.map +0 -1
  767. package/build/modern/chunk-RU5LOXWI.js.map +0 -1
  768. package/build/modern/chunk-RUR5MV54.js.map +0 -1
  769. package/build/modern/chunk-SRNDDY5D.js.map +0 -1
  770. package/build/modern/chunk-STLN7BMJ.js.map +0 -1
  771. package/build/modern/chunk-SWX5JWZR.js +0 -12
  772. package/build/modern/chunk-SWX5JWZR.js.map +0 -1
  773. package/build/modern/chunk-TNSIYRF7.js.map +0 -1
  774. package/build/modern/chunk-V3M3ZOQI.js +0 -38
  775. package/build/modern/chunk-V3M3ZOQI.js.map +0 -1
  776. package/build/modern/chunk-V6LNXFJV.js +0 -16
  777. package/build/modern/chunk-V6LNXFJV.js.map +0 -1
  778. package/build/modern/chunk-VOYXV3US.js.map +0 -1
  779. package/build/modern/chunk-VSTOSLFS.js.map +0 -1
  780. package/build/modern/chunk-W47QEZD5.js.map +0 -1
  781. package/build/modern/chunk-WECB67DC.js +0 -12
  782. package/build/modern/chunk-WECB67DC.js.map +0 -1
  783. package/build/modern/chunk-WMRSNYYG.js.map +0 -1
  784. package/build/modern/chunk-YOTXFCCC.js.map +0 -1
  785. package/build/modern/chunk-Z3FDG263.js.map +0 -1
  786. package/build/modern/chunk-Z52R6ABJ.js.map +0 -1
  787. package/build/modern/chunk-Z5K4J4MS.js.map +0 -1
  788. package/build/modern/context/notification-center/store.d.ts +0 -5
  789. package/build/modern/context/notification-center/store.js +0 -15
  790. package/build/modern/context/notification-center/store.js.map +0 -1
  791. package/build/modern/context/notification-center/types.d.ts +0 -6
  792. package/build/modern/context/notification-center/types.js +0 -1
  793. package/build/modern/context/notification-center/types.js.map +0 -1
  794. package/build/modern/context/notification-center.d.ts +0 -5
  795. package/build/modern/context/notification-center.js +0 -183
  796. package/build/modern/context/notification-center.js.map +0 -1
  797. package/src/context/notification-center/store.ts +0 -88
  798. package/src/context/notification-center/types.ts +0 -28
  799. package/src/context/notification-center.tsx +0 -257
  800. /package/build/modern/{chunk-QG4NDPST.js.map → chunk-25P3FUUT.js.map} +0 -0
  801. /package/build/modern/{chunk-FZ53535Q.js.map → chunk-2CZWHED6.js.map} +0 -0
  802. /package/build/modern/{chunk-JAAMD5EH.js.map → chunk-2IYWFZTK.js.map} +0 -0
  803. /package/build/modern/{chunk-KWZ3CEG6.js.map → chunk-52ZQ26IV.js.map} +0 -0
  804. /package/build/modern/{chunk-XBUXVNTY.js.map → chunk-5FC7HIAR.js.map} +0 -0
  805. /package/build/modern/{chunk-TEMFCS72.js.map → chunk-5HEU3SYR.js.map} +0 -0
  806. /package/build/modern/{chunk-4IXQNNAM.js.map → chunk-6UVR3VGK.js.map} +0 -0
  807. /package/build/modern/{chunk-FCRD3ZRZ.js.map → chunk-ADZRQNW3.js.map} +0 -0
  808. /package/build/modern/{chunk-6HOLE2JH.js.map → chunk-CEJIKL6N.js.map} +0 -0
  809. /package/build/modern/{chunk-E7FVTKUT.js.map → chunk-D6PFYSIP.js.map} +0 -0
  810. /package/build/modern/{chunk-EH36PXVP.js.map → chunk-FAQ3F72W.js.map} +0 -0
  811. /package/build/modern/{chunk-2CVGNLIM.js.map → chunk-GC6JUHVS.js.map} +0 -0
  812. /package/build/modern/{chunk-IASVL7CW.js.map → chunk-GUAF4FXQ.js.map} +0 -0
  813. /package/build/modern/{chunk-OS73F4SR.js.map → chunk-GYUCW2QK.js.map} +0 -0
  814. /package/build/modern/{chunk-BIDE4IJG.js.map → chunk-H4SH6ORP.js.map} +0 -0
  815. /package/build/modern/{chunk-HUN7VQBT.js.map → chunk-I4EGYD24.js.map} +0 -0
  816. /package/build/modern/{chunk-6I2FW4WI.js.map → chunk-ILROS7ST.js.map} +0 -0
  817. /package/build/modern/{chunk-SYPAA5YF.js.map → chunk-IUF74GEL.js.map} +0 -0
  818. /package/build/modern/{chunk-WVFEJCUN.js.map → chunk-J76SGDYP.js.map} +0 -0
  819. /package/build/modern/{chunk-RQCJKDXU.js.map → chunk-JQYW4IOC.js.map} +0 -0
  820. /package/build/modern/{chunk-6MNFE6U6.js.map → chunk-KEGLWDD6.js.map} +0 -0
  821. /package/build/modern/{chunk-KZDEDAIK.js.map → chunk-MTD4JSHT.js.map} +0 -0
  822. /package/build/modern/{chunk-FUL2VRDU.js.map → chunk-MZXSSTS7.js.map} +0 -0
  823. /package/build/modern/{chunk-NOXZZHDH.js.map → chunk-N6XHXPBI.js.map} +0 -0
  824. /package/build/modern/{chunk-KB52N3HJ.js.map → chunk-NP73HOHI.js.map} +0 -0
  825. /package/build/modern/{chunk-7TQRTBUP.js.map → chunk-NQ22M7U7.js.map} +0 -0
  826. /package/build/modern/{chunk-EL4MX2PG.js.map → chunk-NYEUNVKR.js.map} +0 -0
  827. /package/build/modern/{chunk-MR4DX76C.js.map → chunk-NYVKL2IS.js.map} +0 -0
  828. /package/build/modern/{chunk-XBDEIBW2.js.map → chunk-QNZIH2KG.js.map} +0 -0
  829. /package/build/modern/{chunk-M7T3MBFB.js.map → chunk-RT7OJ4X5.js.map} +0 -0
  830. /package/build/modern/{chunk-BJJ4XAVO.js.map → chunk-RYRB5GPN.js.map} +0 -0
  831. /package/build/modern/{chunk-FCSO6N2Y.js.map → chunk-V6EAWUCQ.js.map} +0 -0
  832. /package/build/modern/{chunk-HIC7Z23X.js.map → chunk-V6ZOASMM.js.map} +0 -0
  833. /package/build/modern/{chunk-YUNLWTUB.js.map → chunk-W337WQTU.js.map} +0 -0
  834. /package/build/modern/{chunk-XTNGF4D6.js.map → chunk-YOYCS3MD.js.map} +0 -0
  835. /package/build/modern/{chunk-K2TZB3I4.js.map → chunk-ZL7AX5EM.js.map} +0 -0
@@ -154,10 +154,6 @@ __export(index_exports, {
154
154
  MenuItemGroup: () => MenuItemGroup,
155
155
  MenuSeparator: () => MenuSeparator,
156
156
  MenuTrigger: () => MenuTrigger,
157
- Modal: () => Modal,
158
- ModalDescription: () => ModalDescription,
159
- ModalHeader: () => ModalHeader,
160
- ModalHeading: () => ModalHeading,
161
157
  NavMenu: () => NavMenu,
162
158
  NavMenuLink: () => NavMenuLink,
163
159
  NavMenuList: () => NavMenuList,
@@ -265,13 +261,12 @@ __export(index_exports, {
265
261
  splitProps: () => splitProps,
266
262
  toaster: () => toaster,
267
263
  trapFocus: () => trapFocus,
268
- useAvatarContext: () => import_avatar5.useAvatarContext,
264
+ useAvatarContext: () => import_avatar3.useAvatarContext,
269
265
  useCTAModal: () => useCTAModal,
270
266
  useCerberusContext: () => useCerberusContext,
271
267
  useConfirmModal: () => useConfirmModal,
272
268
  useDate: () => useDate,
273
269
  useFeatureFlags: () => useFeatureFlags,
274
- useModal: () => useModal,
275
270
  useNavMenuContext: () => useNavMenuContext,
276
271
  useNotificationCenter: () => useNotificationCenter,
277
272
  usePromptModal: () => usePromptModal,
@@ -284,8 +279,8 @@ __export(index_exports, {
284
279
  module.exports = __toCommonJS(index_exports);
285
280
 
286
281
  // src/components/deprecated/FieldMessage.tsx
287
- var import_css = require("@cerberus/styled-system/css");
288
- var import_recipes = require("@cerberus/styled-system/recipes");
282
+ var import_css = require("styled-system/css");
283
+ var import_recipes = require("styled-system/recipes");
289
284
  var import_field = require("@ark-ui/react/field");
290
285
  var import_jsx_runtime = require("react/jsx-runtime");
291
286
  function FieldMessage(props) {
@@ -301,8 +296,8 @@ function FieldMessage(props) {
301
296
  }
302
297
 
303
298
  // src/components/deprecated/FieldsetLabel.tsx
304
- var import_css2 = require("@cerberus/styled-system/css");
305
- var import_recipes2 = require("@cerberus/styled-system/recipes");
299
+ var import_css2 = require("styled-system/css");
300
+ var import_recipes2 = require("styled-system/recipes");
306
301
  var import_jsx_runtime2 = require("react/jsx-runtime");
307
302
  function FieldsetLabel(props) {
308
303
  const { size, usage, ...nativeProps } = props;
@@ -322,8 +317,8 @@ function FieldsetLabel(props) {
322
317
  }
323
318
 
324
319
  // src/components/deprecated/Label.tsx
325
- var import_recipes6 = require("@cerberus/styled-system/recipes");
326
- var import_css6 = require("@cerberus/styled-system/css");
320
+ var import_recipes6 = require("styled-system/recipes");
321
+ var import_css6 = require("styled-system/css");
327
322
 
328
323
  // src/utils/localStorage.ts
329
324
  function getLocalStorage(key, defaultValue) {
@@ -364,13 +359,13 @@ function splitProps(props, ...keyGroups) {
364
359
 
365
360
  // src/components/field/primitives.tsx
366
361
  var import_field2 = require("@ark-ui/react/field");
367
- var import_css5 = require("@cerberus/styled-system/css");
368
- var import_recipes5 = require("@cerberus/styled-system/recipes");
362
+ var import_css5 = require("styled-system/css");
363
+ var import_recipes5 = require("styled-system/recipes");
369
364
 
370
365
  // src/components/field/status-indicator.tsx
371
366
  var import_react2 = require("@ark-ui/react");
372
- var import_css3 = require("@cerberus/styled-system/css");
373
- var import_recipes3 = require("@cerberus/styled-system/recipes");
367
+ var import_css3 = require("styled-system/css");
368
+ var import_recipes3 = require("styled-system/recipes");
374
369
 
375
370
  // src/context/cerberus.tsx
376
371
  var import_react = require("react");
@@ -420,8 +415,8 @@ function FieldStatusIndicator(props) {
420
415
  }
421
416
 
422
417
  // src/components/field/start-indicator.tsx
423
- var import_css4 = require("@cerberus/styled-system/css");
424
- var import_recipes4 = require("@cerberus/styled-system/recipes");
418
+ var import_css4 = require("styled-system/css");
419
+ var import_recipes4 = require("styled-system/recipes");
425
420
  var import_jsx_runtime5 = require("react/jsx-runtime");
426
421
  function FieldStartIndicator(props) {
427
422
  const styles = (0, import_recipes4.field)();
@@ -513,35 +508,37 @@ var Input = FieldInput;
513
508
  var Textarea = FieldTextarea;
514
509
 
515
510
  // src/components/field/field.tsx
516
- var import_jsx = require("@cerberus/styled-system/jsx");
511
+ var import_jsx = require("styled-system/jsx");
517
512
 
518
513
  // src/components/Show.tsx
519
- var import_react3 = require("react");
514
+ var import_jsx_runtime7 = require("react/jsx-runtime");
520
515
  function Show(props) {
521
516
  const { when, children, fallback } = props;
522
- const condition = (0, import_react3.useMemo)(() => when ?? false, [when]);
523
- return (0, import_react3.useMemo)(() => {
524
- if (condition) return children;
525
- return fallback ?? null;
526
- }, [condition, children, fallback]);
517
+ if (when) {
518
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children });
519
+ }
520
+ if (fallback) {
521
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, { children: fallback });
522
+ }
523
+ return null;
527
524
  }
528
525
 
529
526
  // src/components/field/field.tsx
530
- var import_jsx_runtime7 = require("react/jsx-runtime");
527
+ var import_jsx_runtime8 = require("react/jsx-runtime");
531
528
  function Field2(props) {
532
529
  const [statusProps, fieldProps, rootProps] = splitProps(
533
530
  props,
534
531
  ["disabled", "required", "readOnly", "invalid"],
535
532
  ["label", "helperText", "secondaryHelperText", "errorText", "children"]
536
533
  );
537
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(FieldRoot, { ...statusProps, ...rootProps, children: [
538
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Show, { when: Boolean(fieldProps.label), children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FieldLabel, { children: fieldProps.label }) }),
534
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(FieldRoot, { ...statusProps, ...rootProps, children: [
535
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Show, { when: fieldProps.label, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(FieldLabel, { children: fieldProps.label }) }),
539
536
  fieldProps.children,
540
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Show, { when: Boolean(fieldProps.helperText && !statusProps.invalid), children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(import_jsx.HStack, { justifyContent: "space-between", w: "full", children: [
541
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FieldHelperText, { children: fieldProps.helperText }),
542
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Show, { when: Boolean(fieldProps.secondaryHelperText), children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FieldHelperText, { children: fieldProps.secondaryHelperText }) })
537
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Show, { when: fieldProps.helperText && !statusProps.invalid, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(import_jsx.HStack, { justifyContent: "space-between", w: "full", children: [
538
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(FieldHelperText, { children: fieldProps.helperText }),
539
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Show, { when: fieldProps.secondaryHelperText, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(FieldHelperText, { children: fieldProps.secondaryHelperText }) })
543
540
  ] }) }),
544
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FieldErrorText, { children: fieldProps.errorText })
541
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(FieldErrorText, { children: fieldProps.errorText })
545
542
  ] });
546
543
  }
547
544
 
@@ -559,10 +556,10 @@ var FieldParts = {
559
556
  };
560
557
 
561
558
  // src/components/deprecated/Label.tsx
562
- var import_jsx_runtime8 = require("react/jsx-runtime");
559
+ var import_jsx_runtime9 = require("react/jsx-runtime");
563
560
  function Label(props) {
564
561
  const { size, ...nativeProps } = props;
565
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
562
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
566
563
  FieldLabel,
567
564
  {
568
565
  ...nativeProps,
@@ -571,64 +568,10 @@ function Label(props) {
571
568
  );
572
569
  }
573
570
 
574
- // src/components/deprecated/Modal.tsx
575
- var import_css7 = require("@cerberus/styled-system/css");
576
- var import_recipes7 = require("@cerberus/styled-system/recipes");
577
- var import_react4 = require("react");
578
- var import_jsx_runtime9 = require("react/jsx-runtime");
579
- function ModalEl(props, ref) {
580
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
581
- "dialog",
582
- {
583
- ...props,
584
- className: (0, import_css7.cx)(props.className, (0, import_recipes7.modal)().dialog),
585
- ref
586
- }
587
- );
588
- }
589
- var Modal = (0, import_react4.forwardRef)(ModalEl);
590
-
591
- // src/components/deprecated/ModalHeader.tsx
592
- var import_css8 = require("@cerberus/styled-system/css");
593
- var import_patterns = require("@cerberus/styled-system/patterns");
594
- var import_jsx_runtime10 = require("react/jsx-runtime");
595
- function ModalHeader(props) {
596
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
597
- "div",
598
- {
599
- ...props,
600
- className: (0, import_css8.cx)(
601
- props.className,
602
- (0, import_patterns.vstack)({
603
- alignItems: "flex-start",
604
- gap: "md",
605
- position: "relative"
606
- })
607
- )
608
- }
609
- );
610
- }
611
-
612
- // src/components/deprecated/ModalHeading.tsx
613
- var import_css9 = require("@cerberus/styled-system/css");
614
- var import_recipes8 = require("@cerberus/styled-system/recipes");
615
- var import_jsx_runtime11 = require("react/jsx-runtime");
616
- function ModalHeading(props) {
617
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("p", { ...props, className: (0, import_css9.cx)(props.className, (0, import_recipes8.modal)().heading) });
618
- }
619
-
620
- // src/components/deprecated/ModalDescription.tsx
621
- var import_css10 = require("@cerberus/styled-system/css");
622
- var import_recipes9 = require("@cerberus/styled-system/recipes");
623
- var import_jsx_runtime12 = require("react/jsx-runtime");
624
- function ModalDescription(props) {
625
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("p", { ...props, className: (0, import_css10.cx)(props.className, (0, import_recipes9.modal)().description) });
626
- }
627
-
628
571
  // src/components/deprecated/NavMenuTrigger.tsx
629
- var import_react6 = require("react");
630
- var import_css12 = require("@cerberus/styled-system/css");
631
- var import_recipes10 = require("@cerberus/styled-system/recipes");
572
+ var import_react4 = require("react");
573
+ var import_css8 = require("styled-system/css");
574
+ var import_recipes7 = require("styled-system/recipes");
632
575
 
633
576
  // src/aria-helpers/nav-menu.aria.ts
634
577
  function createNavTriggerProps(values) {
@@ -639,18 +582,18 @@ function createNavTriggerProps(values) {
639
582
  }
640
583
 
641
584
  // src/context/navMenu.tsx
642
- var import_css11 = require("@cerberus/styled-system/css");
643
- var import_react5 = require("react");
644
- var import_jsx_runtime13 = require("react/jsx-runtime");
645
- var NavMenuContext = (0, import_react5.createContext)(null);
585
+ var import_css7 = require("styled-system/css");
586
+ var import_react3 = require("react");
587
+ var import_jsx_runtime10 = require("react/jsx-runtime");
588
+ var NavMenuContext = (0, import_react3.createContext)(null);
646
589
  function NavMenu(props) {
647
- const triggerRef = (0, import_react5.useRef)(null);
648
- const menuRef = (0, import_react5.useRef)(null);
649
- const [expanded, setExpanded] = (0, import_react5.useState)(false);
650
- const handleToggle = (0, import_react5.useCallback)(() => {
590
+ const triggerRef = (0, import_react3.useRef)(null);
591
+ const menuRef = (0, import_react3.useRef)(null);
592
+ const [expanded, setExpanded] = (0, import_react3.useState)(false);
593
+ const handleToggle = (0, import_react3.useCallback)(() => {
651
594
  setExpanded((prev) => !prev);
652
595
  }, []);
653
- const value = (0, import_react5.useMemo)(
596
+ const value = (0, import_react3.useMemo)(
654
597
  () => ({
655
598
  triggerRef,
656
599
  menuRef,
@@ -659,10 +602,10 @@ function NavMenu(props) {
659
602
  }),
660
603
  [expanded, handleToggle]
661
604
  );
662
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(NavMenuContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
605
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(NavMenuContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
663
606
  "nav",
664
607
  {
665
- className: (0, import_css11.css)({
608
+ className: (0, import_css7.css)({
666
609
  position: "relative"
667
610
  }),
668
611
  children: props.children
@@ -670,7 +613,7 @@ function NavMenu(props) {
670
613
  ) });
671
614
  }
672
615
  function useNavMenuContext() {
673
- const context = (0, import_react5.useContext)(NavMenuContext);
616
+ const context = (0, import_react3.useContext)(NavMenuContext);
674
617
  if (!context) {
675
618
  throw new Error("useNavMenuContext must be used within a NavMenu.");
676
619
  }
@@ -678,7 +621,7 @@ function useNavMenuContext() {
678
621
  }
679
622
 
680
623
  // src/components/deprecated/NavMenuTrigger.tsx
681
- var import_jsx_runtime14 = require("react/jsx-runtime");
624
+ var import_jsx_runtime11 = require("react/jsx-runtime");
682
625
  function NavMenuTrigger(props) {
683
626
  const {
684
627
  as,
@@ -697,25 +640,25 @@ function NavMenuTrigger(props) {
697
640
  });
698
641
  const hasAs = Boolean(as);
699
642
  const AsSub = as;
700
- const handleClick = (0, import_react6.useCallback)(
643
+ const handleClick = (0, import_react4.useCallback)(
701
644
  (e) => {
702
645
  if (onClick) return onClick(e);
703
646
  onToggle();
704
647
  },
705
648
  [onClick, onToggle]
706
649
  );
707
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
650
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
708
651
  Show,
709
652
  {
710
653
  when: hasAs,
711
- fallback: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
654
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
712
655
  "button",
713
656
  {
714
657
  ...nativeProps,
715
658
  ...ariaProps,
716
- className: (0, import_css12.cx)(
659
+ className: (0, import_css8.cx)(
717
660
  nativeProps.className,
718
- (0, import_recipes10.button)({
661
+ (0, import_recipes7.button)({
719
662
  palette,
720
663
  usage,
721
664
  shape
@@ -726,7 +669,7 @@ function NavMenuTrigger(props) {
726
669
  children: props.children
727
670
  }
728
671
  ),
729
- children: hasAs && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
672
+ children: hasAs && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
730
673
  AsSub,
731
674
  {
732
675
  ...nativeProps,
@@ -740,10 +683,10 @@ function NavMenuTrigger(props) {
740
683
  }
741
684
 
742
685
  // src/components/deprecated/NavMenuList.tsx
743
- var import_react7 = require("react");
744
- var import_css13 = require("@cerberus/styled-system/css");
745
- var import_patterns2 = require("@cerberus/styled-system/patterns");
746
- var import_jsx_runtime15 = require("react/jsx-runtime");
686
+ var import_react5 = require("react");
687
+ var import_css9 = require("styled-system/css");
688
+ var import_patterns = require("styled-system/patterns");
689
+ var import_jsx_runtime12 = require("react/jsx-runtime");
747
690
  function getPosition(position) {
748
691
  const defaultPositions = {
749
692
  left: "auto",
@@ -764,7 +707,7 @@ function getPosition(position) {
764
707
  return defaultPositions;
765
708
  }
766
709
  }
767
- var navListStyles = (0, import_patterns2.vstack)({
710
+ var navListStyles = (0, import_patterns.vstack)({
768
711
  alignItems: "flex-start",
769
712
  bgColor: "page.surface.100",
770
713
  boxShadow: "lg",
@@ -797,16 +740,16 @@ var navListStyles = (0, import_patterns2.vstack)({
797
740
  function NavMenuList(props) {
798
741
  const { position, ...nativeProps } = props;
799
742
  const { menuRef, expanded } = useNavMenuContext();
800
- const locationStyles = (0, import_react7.useMemo)(
743
+ const locationStyles = (0, import_react5.useMemo)(
801
744
  () => getPosition(position ?? "bottom"),
802
745
  [position]
803
746
  );
804
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Show, { when: expanded, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
747
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Show, { when: expanded, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
805
748
  "ul",
806
749
  {
807
750
  ...nativeProps,
808
751
  "data-position": position ?? "bottom",
809
- className: (0, import_css13.cx)(nativeProps.className, navListStyles),
752
+ className: (0, import_css9.cx)(nativeProps.className, navListStyles),
810
753
  ref: menuRef,
811
754
  style: locationStyles
812
755
  }
@@ -814,29 +757,29 @@ function NavMenuList(props) {
814
757
  }
815
758
 
816
759
  // src/components/deprecated/NavMenuLink.tsx
817
- var import_css14 = require("@cerberus/styled-system/css");
818
- var import_jsx_runtime16 = require("react/jsx-runtime");
760
+ var import_css10 = require("styled-system/css");
761
+ var import_jsx_runtime13 = require("react/jsx-runtime");
819
762
  function NavMenuLink(props) {
820
763
  const { as, ...nativeProps } = props;
821
764
  const hasAs = Boolean(as);
822
765
  const AsSub = as;
823
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
766
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
824
767
  "li",
825
768
  {
826
- className: (0, import_css14.css)({
769
+ className: (0, import_css10.css)({
827
770
  w: "full"
828
771
  }),
829
- children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
772
+ children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
830
773
  Show,
831
774
  {
832
775
  when: hasAs,
833
- fallback: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
776
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
834
777
  "a",
835
778
  {
836
779
  ...nativeProps,
837
- className: (0, import_css14.cx)(
780
+ className: (0, import_css10.cx)(
838
781
  nativeProps.className,
839
- (0, import_css14.css)({
782
+ (0, import_css10.css)({
840
783
  color: "action.navigation.initial",
841
784
  textStyle: "link",
842
785
  _hover: {
@@ -846,7 +789,7 @@ function NavMenuLink(props) {
846
789
  )
847
790
  }
848
791
  ),
849
- children: hasAs && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(AsSub, { ...nativeProps })
792
+ children: hasAs && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(AsSub, { ...nativeProps })
850
793
  }
851
794
  )
852
795
  }
@@ -855,702 +798,53 @@ function NavMenuLink(props) {
855
798
 
856
799
  // src/components/deprecated/Legend.tsx
857
800
  var import_field4 = require("@ark-ui/react/field");
858
- var import_css15 = require("@cerberus/styled-system/css");
859
- var import_recipes11 = require("@cerberus/styled-system/recipes");
860
- var import_patterns3 = require("@cerberus/styled-system/patterns");
861
- var import_jsx_runtime17 = require("react/jsx-runtime");
801
+ var import_css11 = require("styled-system/css");
802
+ var import_recipes8 = require("styled-system/recipes");
803
+ var import_patterns2 = require("styled-system/patterns");
804
+ var import_jsx_runtime14 = require("react/jsx-runtime");
862
805
  function Legend(props) {
863
806
  const { size, ...nativeProps } = props;
864
807
  const { invalid, required } = (0, import_field4.useFieldContext)();
865
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
808
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
866
809
  "legend",
867
810
  {
868
811
  ...nativeProps,
869
812
  ...invalid && { "aria-invalid": true },
870
- className: (0, import_css15.cx)(
813
+ className: (0, import_css11.cx)(
871
814
  nativeProps.className,
872
- (0, import_patterns3.hstack)({
815
+ (0, import_patterns2.hstack)({
873
816
  justify: "space-between",
874
817
  w: "full"
875
818
  }),
876
- (0, import_recipes11.label)({
819
+ (0, import_recipes8.label)({
877
820
  size
878
821
  })
879
822
  ),
880
823
  children: [
881
824
  nativeProps.children,
882
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Show, { when: required, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
825
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Show, { when: required, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
883
826
  "span",
884
827
  {
885
- className: (0, import_css15.css)({
886
- color: "page.text.100",
887
- fontSize: "inherit"
888
- }),
889
- children: "(required)"
890
- }
891
- ) })
892
- ]
893
- }
894
- );
895
- }
896
-
897
- // src/context/confirm-modal.tsx
898
- var import_react10 = require("react");
899
-
900
- // src/components/button/button.tsx
901
- var import_factory = require("@ark-ui/react/factory");
902
- var import_react8 = require("react");
903
- var import_css16 = require("@cerberus/styled-system/css");
904
- var import_recipes12 = require("@cerberus/styled-system/recipes");
905
- var import_jsx2 = require("@cerberus/styled-system/jsx");
906
-
907
- // src/components/Spinner.tsx
908
- var import_jsx_runtime18 = require("react/jsx-runtime");
909
- function Spinner(props) {
910
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
911
- "svg",
912
- {
913
- "aria-busy": "true",
914
- role: "status",
915
- xmlns: "http://www.w3.org/2000/svg",
916
- height: props.size,
917
- width: props.size,
918
- viewBox: "0 0 24 24",
919
- ...props,
920
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
921
- "g",
922
- {
923
- fill: "none",
924
- stroke: "currentColor",
925
- strokeLinecap: "round",
926
- strokeLinejoin: "round",
927
- strokeWidth: 2,
928
- children: [
929
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
930
- "path",
931
- {
932
- strokeDasharray: 16,
933
- strokeDashoffset: 16,
934
- d: "M12 3c4.97 0 9 4.03 9 9",
935
- children: [
936
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
937
- "animate",
938
- {
939
- fill: "freeze",
940
- attributeName: "stroke-dashoffset",
941
- dur: "0.15s",
942
- values: "16;0"
943
- }
944
- ),
945
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
946
- "animateTransform",
947
- {
948
- attributeName: "transform",
949
- dur: "0.75s",
950
- repeatCount: "indefinite",
951
- type: "rotate",
952
- values: "0 12 12;360 12 12"
953
- }
954
- )
955
- ]
956
- }
957
- ),
958
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
959
- "path",
960
- {
961
- strokeDasharray: 64,
962
- strokeDashoffset: 64,
963
- strokeOpacity: 0.3,
964
- d: "M12 3c4.97 0 9 4.03 9 9c0 4.97 -4.03 9 -9 9c-4.97 0 -9 -4.03 -9 -9c0 -4.97 4.03 -9 9 -9Z",
965
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
966
- "animate",
967
- {
968
- fill: "freeze",
969
- attributeName: "stroke-dashoffset",
970
- dur: "0.6s",
971
- values: "64;0"
972
- }
973
- )
974
- }
975
- )
976
- ]
977
- }
978
- )
979
- }
980
- );
981
- }
982
-
983
- // src/components/button/button.tsx
984
- var import_jsx_runtime19 = require("react/jsx-runtime");
985
- var ButtonContext = (0, import_react8.createContext)({
986
- pending: false
987
- });
988
- function Button(props) {
989
- const { palette, usage, shape, size, pending = false, ...nativeProps } = props;
990
- const value = (0, import_react8.useMemo)(() => ({ pending }), [pending]);
991
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(ButtonContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
992
- import_factory.ark.button,
993
- {
994
- ...nativeProps,
995
- disabled: pending || nativeProps.disabled,
996
- className: (0, import_css16.cx)(
997
- nativeProps.className,
998
- (0, import_recipes12.button)({
999
- palette,
1000
- usage,
1001
- shape,
1002
- size
1003
- })
1004
- )
1005
- }
1006
- ) });
1007
- }
1008
- function ButtonIcon(props) {
1009
- const { pending } = (0, import_react8.useContext)(ButtonContext);
1010
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Show, { when: pending, fallback: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_jsx_runtime19.Fragment, { children: props.children }), children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_jsx2.Box, { w: "4", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Spinner, {}) }) });
1011
- }
1012
-
1013
- // src/context/confirm-modal.tsx
1014
- var import_css21 = require("@cerberus/styled-system/css");
1015
-
1016
- // src/components/avatar/primitives.tsx
1017
- var import_avatar = require("@ark-ui/react/avatar");
1018
- var import_recipes13 = require("@cerberus/styled-system/recipes");
1019
- var import_css17 = require("@cerberus/styled-system/css");
1020
- var import_jsx_runtime20 = require("react/jsx-runtime");
1021
- function AvatarRoot(props) {
1022
- const { gradient, shape, size, ...rootProps } = props;
1023
- const styles = (0, import_recipes13.avatar)({ gradient, shape, size });
1024
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1025
- import_avatar.Avatar.Root,
1026
- {
1027
- ...rootProps,
1028
- className: (0, import_css17.cx)(styles.root, rootProps.className)
1029
- }
1030
- );
1031
- }
1032
- function AvatarImage(props) {
1033
- const styles = (0, import_recipes13.avatar)();
1034
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_avatar.Avatar.Image, { ...props, className: (0, import_css17.cx)(styles.image, props.className) });
1035
- }
1036
- function AvatarFallback(props) {
1037
- const styles = (0, import_recipes13.avatar)();
1038
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1039
- import_avatar.Avatar.Fallback,
1040
- {
1041
- ...props,
1042
- className: (0, import_css17.cx)(styles.fallback, props.className)
1043
- }
1044
- );
1045
- }
1046
-
1047
- // src/components/avatar/parts.ts
1048
- var AvatarParts = {
1049
- Root: AvatarRoot,
1050
- Image: AvatarImage,
1051
- Fallback: AvatarFallback
1052
- };
1053
-
1054
- // src/components/avatar/avatar.tsx
1055
- var import_jsx_runtime21 = require("react/jsx-runtime");
1056
- function Avatar2(props) {
1057
- const [imgProps, { fallback, children }, rootProps] = splitProps(
1058
- props,
1059
- ["alt", "src"],
1060
- ["fallback", "children"]
1061
- );
1062
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(AvatarParts.Root, { ...rootProps, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1063
- Show,
1064
- {
1065
- when: Boolean(children),
1066
- fallback: /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_jsx_runtime21.Fragment, { children: [
1067
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(AvatarParts.Fallback, { children: fallback }),
1068
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(AvatarParts.Image, { ...imgProps })
1069
- ] }),
1070
- children
1071
- }
1072
- ) });
1073
- }
1074
-
1075
- // src/context/confirm-modal.tsx
1076
- var import_jsx3 = require("@cerberus/styled-system/jsx");
1077
-
1078
- // src/components/dialog/primitives.tsx
1079
- var import_dialog = require("@ark-ui/react/dialog");
1080
- var import_css18 = require("@cerberus/styled-system/css");
1081
- var import_recipes14 = require("@cerberus/styled-system/recipes");
1082
- var import_jsx_runtime22 = require("react/jsx-runtime");
1083
- function DialogRoot(props) {
1084
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_dialog.Dialog.Root, { ...props });
1085
- }
1086
- function DialogTrigger(props) {
1087
- const styles = (0, import_recipes14.dialog)();
1088
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1089
- import_dialog.Dialog.Trigger,
1090
- {
1091
- ...props,
1092
- className: (0, import_css18.cx)(styles.trigger, props.className)
1093
- }
1094
- );
1095
- }
1096
- function DialogBackdrop(props) {
1097
- const styles = (0, import_recipes14.dialog)();
1098
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1099
- import_dialog.Dialog.Backdrop,
1100
- {
1101
- ...props,
1102
- className: (0, import_css18.cx)(styles.backdrop, props.className)
1103
- }
1104
- );
1105
- }
1106
- function DialogPositioner(props) {
1107
- const styles = (0, import_recipes14.dialog)();
1108
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1109
- import_dialog.Dialog.Positioner,
1110
- {
1111
- ...props,
1112
- className: (0, import_css18.cx)(styles.positioner, props.className)
1113
- }
1114
- );
1115
- }
1116
- function DialogContent(props) {
1117
- const { size, ...contentProps } = props;
1118
- const styles = (0, import_recipes14.dialog)({ size });
1119
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1120
- import_dialog.Dialog.Content,
1121
- {
1122
- ...contentProps,
1123
- className: (0, import_css18.cx)(styles.content, contentProps.className)
1124
- }
1125
- );
1126
- }
1127
- function DialogHeading(props) {
1128
- const styles = (0, import_recipes14.dialog)();
1129
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_dialog.Dialog.Title, { ...props, className: (0, import_css18.cx)(styles.title, props.className) });
1130
- }
1131
- function DialogDescription(props) {
1132
- const styles = (0, import_recipes14.dialog)();
1133
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1134
- import_dialog.Dialog.Description,
1135
- {
1136
- ...props,
1137
- className: (0, import_css18.cx)(styles.description, props.className)
1138
- }
1139
- );
1140
- }
1141
- function DialogCloseTrigger(props) {
1142
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_dialog.Dialog.CloseTrigger, { ...props });
1143
- }
1144
- var DialogProvider = DialogRoot;
1145
-
1146
- // src/components/dialog/parts.ts
1147
- var DialogParts = {
1148
- Root: DialogRoot,
1149
- Trigger: DialogTrigger,
1150
- Backdrop: DialogBackdrop,
1151
- Positioner: DialogPositioner,
1152
- Content: DialogContent,
1153
- Heading: DialogHeading,
1154
- Description: DialogDescription,
1155
- CloseTrigger: DialogCloseTrigger
1156
- };
1157
-
1158
- // src/components/IconButton.tsx
1159
- var import_factory2 = require("@ark-ui/react/factory");
1160
- var import_css19 = require("@cerberus/styled-system/css");
1161
- var import_recipes15 = require("@cerberus/styled-system/recipes");
1162
- var import_jsx_runtime23 = require("react/jsx-runtime");
1163
- function IconButton(props) {
1164
- const { ariaLabel, palette, usage, size, ...nativeProps } = props;
1165
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1166
- import_factory2.ark.button,
1167
- {
1168
- ...nativeProps,
1169
- "aria-label": ariaLabel ?? "Icon Button",
1170
- className: (0, import_css19.cx)(
1171
- nativeProps.className,
1172
- (0, import_recipes15.iconButton)({
1173
- palette,
1174
- usage,
1175
- size
1176
- })
1177
- )
1178
- }
1179
- );
1180
- }
1181
-
1182
- // src/components/dialog/close-icon-trigger.tsx
1183
- var import_recipes16 = require("@cerberus/styled-system/recipes");
1184
- var import_css20 = require("@cerberus/styled-system/css");
1185
- var import_jsx_runtime24 = require("react/jsx-runtime");
1186
- function DialogCloseIconTrigger(props) {
1187
- const styles = (0, import_recipes16.dialog)();
1188
- const { icons } = useCerberusContext();
1189
- const { close: CloseIcon } = icons;
1190
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1191
- DialogCloseTrigger,
1192
- {
1193
- ...props,
1194
- className: (0, import_css20.cx)(styles.closeTrigger, props.className),
1195
- asChild: true,
1196
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1197
- IconButton,
1198
- {
1199
- ariaLabel: "Close dialog",
1200
- palette: "action",
1201
- size: "lg",
1202
- usage: "ghost",
1203
- children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(CloseIcon, {})
1204
- }
1205
- )
1206
- }
1207
- );
1208
- }
1209
-
1210
- // src/components/Portal.tsx
1211
- var import_react9 = require("@ark-ui/react");
1212
- var Portal = import_react9.Portal;
1213
-
1214
- // src/components/dialog/dialog.tsx
1215
- var import_jsx_runtime25 = require("react/jsx-runtime");
1216
- function Dialog2(props) {
1217
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Portal, { children: [
1218
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DialogBackdrop, {}),
1219
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DialogPositioner, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DialogContent, { ...props }) })
1220
- ] });
1221
- }
1222
-
1223
- // src/context/confirm-modal.tsx
1224
- var import_jsx_runtime26 = require("react/jsx-runtime");
1225
- var ConfirmModalContext = (0, import_react10.createContext)(null);
1226
- function ConfirmModal(props) {
1227
- const [open, setOpen] = (0, import_react10.useState)(false);
1228
- const [content, setContent] = (0, import_react10.useState)(null);
1229
- const resolveRef = (0, import_react10.useRef)(null);
1230
- const kind = (content == null ? void 0 : content.kind) ?? "non-destructive";
1231
- const { icons } = useCerberusContext();
1232
- const { confirmModal: ConfirmIcon } = icons;
1233
- const palette = (0, import_react10.useMemo)(
1234
- () => kind === "destructive" ? "danger" : "action",
1235
- [kind]
1236
- );
1237
- const handleChoice = (0, import_react10.useCallback)(
1238
- (e) => {
1239
- var _a, _b;
1240
- const target = e.currentTarget;
1241
- if (target.value === "true") {
1242
- (_a = resolveRef.current) == null ? void 0 : _a.call(resolveRef, true);
1243
- }
1244
- (_b = resolveRef.current) == null ? void 0 : _b.call(resolveRef, false);
1245
- setOpen(false);
1246
- },
1247
- [setOpen]
1248
- );
1249
- const handleShow = (0, import_react10.useCallback)(
1250
- (options) => {
1251
- return new Promise((resolve) => {
1252
- setContent({ ...options });
1253
- setOpen(true);
1254
- resolveRef.current = resolve;
1255
- });
1256
- },
1257
- [setOpen, setContent]
1258
- );
1259
- const value = (0, import_react10.useMemo)(
1260
- () => ({
1261
- show: handleShow
1262
- }),
1263
- [handleShow]
1264
- );
1265
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(ConfirmModalContext.Provider, { value, children: [
1266
- props.children,
1267
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Dialog2, { size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx3.VStack, { gap: "xl", w: "full", children: [
1268
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx3.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: [
1269
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1270
- import_jsx3.HStack,
1271
- {
1272
- alignSelf: "center",
1273
- justify: "center",
1274
- paddingBlockEnd: "md",
1275
- w: "full",
1276
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1277
- Show,
1278
- {
1279
- when: palette === "danger",
1280
- fallback: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1281
- Avatar2,
1282
- {
1283
- gradient: "charon-light",
1284
- fallback: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ConfirmIcon, { size: 24 })
1285
- }
1286
- ),
1287
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1288
- Avatar2,
1289
- {
1290
- gradient: "hades-dark",
1291
- fallback: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ConfirmIcon, { size: 24 })
1292
- }
1293
- )
1294
- }
1295
- )
1296
- }
1297
- ),
1298
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
1299
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
1300
- ] }),
1301
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(import_jsx3.HStack, { gap: "4", w: "full", children: [
1302
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1303
- Button,
1304
- {
1305
- autoFocus: true,
1306
- className: (0, import_css21.css)({
1307
- w: "1/2"
1308
- }),
1309
- name: "confirm",
1310
- onClick: handleChoice,
1311
- palette,
1312
- value: "true",
1313
- children: content == null ? void 0 : content.actionText
1314
- }
1315
- ),
1316
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1317
- Button,
1318
- {
1319
- className: (0, import_css21.css)({
1320
- w: "1/2"
1321
- }),
1322
- name: "cancel",
1323
- onClick: handleChoice,
1324
- usage: "outlined",
1325
- value: "false",
1326
- children: content == null ? void 0 : content.cancelText
1327
- }
1328
- ) })
1329
- ] })
1330
- ] }) }) })
1331
- ] });
1332
- }
1333
- function useConfirmModal() {
1334
- const context = (0, import_react10.useContext)(ConfirmModalContext);
1335
- if (context === null) {
1336
- throw new Error(
1337
- "useConfirmModal must be used within a ConfirmModal Provider"
1338
- );
1339
- }
1340
- return context;
1341
- }
1342
-
1343
- // src/context/prompt-modal.tsx
1344
- var import_react11 = require("react");
1345
- var import_react12 = require("@ark-ui/react");
1346
- var import_jsx5 = require("@cerberus/styled-system/jsx");
1347
- var import_css22 = require("@cerberus/styled-system/css");
1348
- var import_patterns4 = require("@cerberus/styled-system/patterns");
1349
-
1350
- // src/components/Text.tsx
1351
- var import_jsx4 = require("@cerberus/styled-system/jsx");
1352
- var import_jsx_runtime27 = require("react/jsx-runtime");
1353
- function Text(props) {
1354
- const { as = "p", ...pandaJSXProps } = props;
1355
- switch (as) {
1356
- case "h1":
1357
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jsx4.H1, { ...pandaJSXProps });
1358
- case "h2":
1359
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jsx4.H2, { ...pandaJSXProps });
1360
- case "h3":
1361
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jsx4.H3, { ...pandaJSXProps });
1362
- case "h4":
1363
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jsx4.H4, { ...pandaJSXProps });
1364
- case "h5":
1365
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jsx4.H5, { ...pandaJSXProps });
1366
- case "h6":
1367
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jsx4.H6, { ...pandaJSXProps });
1368
- case "strong":
1369
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jsx4.Strong, { ...pandaJSXProps });
1370
- case "em":
1371
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jsx4.Em, { ...pandaJSXProps });
1372
- case "small":
1373
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jsx4.Small, { ...pandaJSXProps });
1374
- case "span":
1375
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jsx4.Span, { ...pandaJSXProps });
1376
- default:
1377
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_jsx4.P, { ...pandaJSXProps });
1378
- }
1379
- }
1380
-
1381
- // src/context/prompt-modal.tsx
1382
- var import_jsx_runtime28 = require("react/jsx-runtime");
1383
- var PromptModalContext = (0, import_react11.createContext)(null);
1384
- function PromptModal(props) {
1385
- const resolveRef = (0, import_react11.useRef)(null);
1386
- const [open, setOpen] = (0, import_react11.useState)(false);
1387
- const [content, setContent] = (0, import_react11.useState)(null);
1388
- const [inputValue, setInputValue] = (0, import_react11.useState)("");
1389
- const { icons } = useCerberusContext();
1390
- const { promptModal: PromptIcon } = icons;
1391
- const isValid = (0, import_react11.useMemo)(
1392
- () => inputValue === (content == null ? void 0 : content.key),
1393
- [inputValue, content]
1394
- );
1395
- const palette = (0, import_react11.useMemo)(
1396
- () => (content == null ? void 0 : content.kind) === "destructive" ? "danger" : "action",
1397
- [content]
1398
- );
1399
- const handleChange = (0, import_react11.useCallback)(
1400
- (e) => {
1401
- setInputValue(e.currentTarget.value);
1402
- },
1403
- [content]
1404
- );
1405
- const handleChoice = (0, import_react11.useCallback)(
1406
- (e) => {
1407
- var _a;
1408
- const target = e.currentTarget;
1409
- if (target.value === "true") {
1410
- (_a = resolveRef.current) == null ? void 0 : _a.call(resolveRef, inputValue);
1411
- }
1412
- setOpen(false);
1413
- },
1414
- [inputValue, setOpen]
1415
- );
1416
- const handleShow = (0, import_react11.useCallback)(
1417
- (options) => {
1418
- return new Promise((resolve) => {
1419
- setContent({ ...options, kind: options.kind || "non-destructive" });
1420
- setOpen(true);
1421
- resolveRef.current = resolve;
1422
- });
1423
- },
1424
- [setOpen]
1425
- );
1426
- const value = (0, import_react11.useMemo)(
1427
- () => ({
1428
- show: handleShow
1429
- }),
1430
- [handleShow]
1431
- );
1432
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(PromptModalContext.Provider, { value, children: [
1433
- props.children,
1434
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Dialog2, { size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx5.VStack, { gap: "xl", w: "full", children: [
1435
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx5.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: [
1436
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1437
- import_jsx5.HStack,
1438
- {
1439
- alignSelf: "center",
1440
- justify: "center",
1441
- paddingBlockEnd: "md",
1442
- w: "full",
1443
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1444
- Show,
1445
- {
1446
- when: palette === "danger",
1447
- fallback: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1448
- Avatar2,
1449
- {
1450
- gradient: "charon-light",
1451
- fallback: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(PromptIcon, { size: 24 })
1452
- }
1453
- ),
1454
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1455
- Avatar2,
1456
- {
1457
- gradient: "hades-dark",
1458
- fallback: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(PromptIcon, { size: 24 })
1459
- }
1460
- )
1461
- }
1462
- )
1463
- }
1464
- ),
1465
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
1466
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
1467
- ] }),
1468
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1469
- import_jsx5.VStack,
1470
- {
1471
- alignItems: "flex-start",
1472
- marginBlockStart: "md",
1473
- marginBlockEnd: "lg",
1474
- w: "full",
1475
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
1476
- FieldRoot,
1477
- {
1478
- ids: {
1479
- control: "confirm"
1480
- },
1481
- invalid: !isValid,
1482
- children: [
1483
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
1484
- FieldLabel,
1485
- {
1486
- className: (0, import_patterns4.hstack)({
1487
- gap: "xs",
1488
- justify: "flex-start !important",
1489
- marginBlockEnd: "xs",
1490
- textStyle: "label-md"
1491
- }),
1492
- children: [
1493
- "Type",
1494
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Text, { as: "strong", textTransform: "uppercase", children: content == null ? void 0 : content.key }),
1495
- "to confirm"
1496
- ]
1497
- }
1498
- ),
1499
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Input, { name: "confirm", onChange: handleChange, type: "text" })
1500
- ]
1501
- }
1502
- )
1503
- }
1504
- ),
1505
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(import_jsx5.HStack, { gap: "md", justify: "stretch", w: "full", children: [
1506
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1507
- Button,
1508
- {
1509
- autoFocus: true,
1510
- className: (0, import_css22.css)({
1511
- w: "1/2"
1512
- }),
1513
- disabled: !isValid,
1514
- name: "confirm",
1515
- onClick: handleChoice,
1516
- palette,
1517
- value: "true",
1518
- children: content == null ? void 0 : content.actionText
1519
- }
1520
- ),
1521
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react12.DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1522
- Button,
1523
- {
1524
- className: (0, import_css22.css)({
1525
- w: "1/2"
1526
- }),
1527
- name: "cancel",
1528
- onClick: handleChoice,
1529
- usage: "outlined",
1530
- value: "false",
1531
- children: content == null ? void 0 : content.cancelText
828
+ className: (0, import_css11.css)({
829
+ color: "page.text.100",
830
+ fontSize: "inherit"
831
+ }),
832
+ children: "(required)"
1532
833
  }
1533
834
  ) })
1534
- ] })
1535
- ] }) }) })
1536
- ] });
1537
- }
1538
- function usePromptModal() {
1539
- const context = (0, import_react11.useContext)(PromptModalContext);
1540
- if (context === null) {
1541
- throw new Error("usePromptModal must be used within a PromptModal Provider");
1542
- }
1543
- return context;
835
+ ]
836
+ }
837
+ );
1544
838
  }
1545
839
 
1546
840
  // src/hooks/useDate.ts
1547
- var import_react13 = require("react");
841
+ var import_react6 = require("react");
1548
842
  function useDate(options) {
1549
843
  const initialValue = (options == null ? void 0 : options.initialValue) ?? "";
1550
844
  const format = (options == null ? void 0 : options.format) ?? DateFormats.USMilitary;
1551
845
  const onChange = options == null ? void 0 : options.onChange;
1552
- const [value, setValue] = (0, import_react13.useState)(initialValue);
1553
- const handleChange = (0, import_react13.useCallback)(
846
+ const [value, setValue] = (0, import_react6.useState)(initialValue);
847
+ const handleChange = (0, import_react6.useCallback)(
1554
848
  (e) => {
1555
849
  const newValue = formatMilitaryDate(e.currentTarget.value);
1556
850
  if (onChange) onChange(e);
@@ -1558,7 +852,7 @@ function useDate(options) {
1558
852
  },
1559
853
  [onChange]
1560
854
  );
1561
- return (0, import_react13.useMemo)(
855
+ return (0, import_react6.useMemo)(
1562
856
  () => ({
1563
857
  format,
1564
858
  value,
@@ -1636,37 +930,12 @@ var MONTHS = [
1636
930
  "DEC"
1637
931
  ];
1638
932
 
1639
- // src/hooks/useModal.ts
1640
- var import_react14 = require("react");
1641
- function useModal() {
1642
- const modalRef = (0, import_react14.useRef)(null);
1643
- const [isOpen, setIsOpen] = (0, import_react14.useState)(false);
1644
- const show = (0, import_react14.useCallback)(() => {
1645
- var _a;
1646
- (_a = modalRef.current) == null ? void 0 : _a.showModal();
1647
- setIsOpen(true);
1648
- }, []);
1649
- const close = (0, import_react14.useCallback)(() => {
1650
- var _a;
1651
- (_a = modalRef.current) == null ? void 0 : _a.close();
1652
- setIsOpen(false);
1653
- }, []);
1654
- return (0, import_react14.useMemo)(() => {
1655
- return {
1656
- modalRef,
1657
- show,
1658
- close,
1659
- isOpen
1660
- };
1661
- }, [modalRef, show, close, isOpen]);
1662
- }
1663
-
1664
933
  // src/hooks/useToggle.ts
1665
- var import_react15 = require("react");
934
+ var import_react7 = require("react");
1666
935
  function useToggle(options) {
1667
- const [checked, setChecked] = (0, import_react15.useState)((options == null ? void 0 : options.checked) ?? "");
936
+ const [checked, setChecked] = (0, import_react7.useState)((options == null ? void 0 : options.checked) ?? "");
1668
937
  const onChange = options == null ? void 0 : options.onChange;
1669
- const handleChange = (0, import_react15.useCallback)(
938
+ const handleChange = (0, import_react7.useCallback)(
1670
939
  (e) => {
1671
940
  const target = e.currentTarget;
1672
941
  setChecked((prev) => {
@@ -1676,52 +945,52 @@ function useToggle(options) {
1676
945
  },
1677
946
  [onChange]
1678
947
  );
1679
- return (0, import_react15.useMemo)(() => ({ checked, handleChange }), [checked, handleChange]);
948
+ return (0, import_react7.useMemo)(() => ({ checked, handleChange }), [checked, handleChange]);
1680
949
  }
1681
950
 
1682
951
  // src/components/admonition/primitives.tsx
1683
- var import_factory3 = require("@ark-ui/react/factory");
1684
- var import_css23 = require("@cerberus/styled-system/css");
1685
- var import_recipes17 = require("@cerberus/styled-system/recipes");
1686
- var import_jsx_runtime29 = require("react/jsx-runtime");
952
+ var import_factory = require("@ark-ui/react/factory");
953
+ var import_css12 = require("styled-system/css");
954
+ var import_recipes9 = require("styled-system/recipes");
955
+ var import_jsx_runtime15 = require("react/jsx-runtime");
1687
956
  function AdmonitionRoot(props) {
1688
957
  const { palette, usage, ...nativeProps } = props;
1689
- const styles = (0, import_recipes17.admonition)({ palette, usage });
1690
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1691
- import_factory3.ark.aside,
958
+ const styles = (0, import_recipes9.admonition)({ palette, usage });
959
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
960
+ import_factory.ark.aside,
1692
961
  {
1693
962
  ...nativeProps,
1694
- className: (0, import_css23.cx)(styles.root, nativeProps.className),
963
+ className: (0, import_css12.cx)(styles.root, nativeProps.className),
1695
964
  "data-scope": "admonition",
1696
965
  "data-part": "root"
1697
966
  }
1698
967
  );
1699
968
  }
1700
969
  function AdmonitionIndicator(props) {
1701
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_factory3.ark.span, { ...props, "data-scope": "admonition", "data-part": "indicator" });
970
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_factory.ark.span, { ...props, "data-scope": "admonition", "data-part": "indicator" });
1702
971
  }
1703
972
  function AdmonitionContent(props) {
1704
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_factory3.ark.div, { ...props, "data-scope": "admonition", "data-part": "content" });
973
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_factory.ark.div, { ...props, "data-scope": "admonition", "data-part": "content" });
1705
974
  }
1706
975
  function AdmonitionHeading(props) {
1707
- const styles = (0, import_recipes17.admonition)();
1708
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1709
- import_factory3.ark.p,
976
+ const styles = (0, import_recipes9.admonition)();
977
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
978
+ import_factory.ark.p,
1710
979
  {
1711
980
  ...props,
1712
- className: (0, import_css23.cx)(styles.heading, props.className),
981
+ className: (0, import_css12.cx)(styles.heading, props.className),
1713
982
  "data-scope": "admonition",
1714
983
  "data-part": "heading"
1715
984
  }
1716
985
  );
1717
986
  }
1718
987
  function AdmonitionDescription(props) {
1719
- const styles = (0, import_recipes17.admonition)();
1720
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1721
- import_factory3.ark.p,
988
+ const styles = (0, import_recipes9.admonition)();
989
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
990
+ import_factory.ark.p,
1722
991
  {
1723
992
  ...props,
1724
- className: (0, import_css23.cx)(styles.description, props.className),
993
+ className: (0, import_css12.cx)(styles.description, props.className),
1725
994
  "data-scope": "admonition",
1726
995
  "data-part": "description"
1727
996
  }
@@ -1738,8 +1007,69 @@ var AdmonitionParts = {
1738
1007
  };
1739
1008
 
1740
1009
  // src/components/admonition/match-avatar.tsx
1741
- var import_react16 = require("react");
1742
- var import_jsx_runtime30 = require("react/jsx-runtime");
1010
+ var import_react8 = require("react");
1011
+
1012
+ // src/components/avatar/primitives.tsx
1013
+ var import_avatar = require("@ark-ui/react/avatar");
1014
+ var import_recipes10 = require("styled-system/recipes");
1015
+ var import_css13 = require("styled-system/css");
1016
+ var import_jsx_runtime16 = require("react/jsx-runtime");
1017
+ function AvatarRoot(props) {
1018
+ const { gradient, shape, size, ...rootProps } = props;
1019
+ const styles = (0, import_recipes10.avatar)({ gradient, shape, size });
1020
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1021
+ import_avatar.Avatar.Root,
1022
+ {
1023
+ ...rootProps,
1024
+ className: (0, import_css13.cx)(styles.root, rootProps.className)
1025
+ }
1026
+ );
1027
+ }
1028
+ function AvatarImage(props) {
1029
+ const styles = (0, import_recipes10.avatar)();
1030
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_avatar.Avatar.Image, { ...props, className: (0, import_css13.cx)(styles.image, props.className) });
1031
+ }
1032
+ function AvatarFallback(props) {
1033
+ const styles = (0, import_recipes10.avatar)();
1034
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1035
+ import_avatar.Avatar.Fallback,
1036
+ {
1037
+ ...props,
1038
+ className: (0, import_css13.cx)(styles.fallback, props.className)
1039
+ }
1040
+ );
1041
+ }
1042
+
1043
+ // src/components/avatar/parts.ts
1044
+ var AvatarParts = {
1045
+ Root: AvatarRoot,
1046
+ Image: AvatarImage,
1047
+ Fallback: AvatarFallback
1048
+ };
1049
+
1050
+ // src/components/avatar/avatar.tsx
1051
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1052
+ function Avatar2(props) {
1053
+ const [imgProps, { fallback, children }, rootProps] = splitProps(
1054
+ props,
1055
+ ["alt", "src"],
1056
+ ["fallback", "children"]
1057
+ );
1058
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(AvatarParts.Root, { ...rootProps, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1059
+ Show,
1060
+ {
1061
+ when: children,
1062
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, { children: [
1063
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(AvatarParts.Fallback, { children: fallback }),
1064
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(AvatarParts.Image, { ...imgProps })
1065
+ ] }),
1066
+ children
1067
+ }
1068
+ ) });
1069
+ }
1070
+
1071
+ // src/components/admonition/match-avatar.tsx
1072
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1743
1073
  function MatchAvatar(props) {
1744
1074
  const { palette = "page" } = props;
1745
1075
  const { icons } = useCerberusContext();
@@ -1749,88 +1079,88 @@ function MatchAvatar(props) {
1749
1079
  warningNotification: WarningIcon,
1750
1080
  dangerNotification: DangerIcon
1751
1081
  } = icons;
1752
- const elRef = (0, import_react16.useRef)({
1753
- page: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Avatar2, { gradient: "charon-light", fallback: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(InfoIcon, {}), size: "sm" }),
1754
- info: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Avatar2, { gradient: "amphiaraus-dark", fallback: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(InfoIcon, {}), size: "sm" }),
1755
- success: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Avatar2, { gradient: "thanatos-dark", fallback: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SuccessIcon, {}), size: "sm" }),
1756
- warning: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Avatar2, { gradient: "asphodel-light", fallback: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(WarningIcon, {}), size: "sm" }),
1757
- danger: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Avatar2, { gradient: "hades-light", fallback: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(DangerIcon, {}), size: "sm" })
1082
+ const elRef = (0, import_react8.useRef)({
1083
+ page: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Avatar2, { gradient: "charon-light", fallback: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(InfoIcon, {}), size: "sm" }),
1084
+ info: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Avatar2, { gradient: "amphiaraus-dark", fallback: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(InfoIcon, {}), size: "sm" }),
1085
+ success: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Avatar2, { gradient: "thanatos-dark", fallback: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(SuccessIcon, {}), size: "sm" }),
1086
+ warning: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Avatar2, { gradient: "asphodel-light", fallback: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(WarningIcon, {}), size: "sm" }),
1087
+ danger: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Avatar2, { gradient: "hades-light", fallback: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(DangerIcon, {}), size: "sm" })
1758
1088
  });
1759
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_jsx_runtime30.Fragment, { children: elRef.current[palette] });
1089
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_jsx_runtime18.Fragment, { children: elRef.current[palette] });
1760
1090
  }
1761
1091
 
1762
1092
  // src/components/admonition/admonition.tsx
1763
- var import_jsx_runtime31 = require("react/jsx-runtime");
1093
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1764
1094
  function Admonition(props) {
1765
1095
  const [elProps, styleProps, rootProps] = splitProps(
1766
1096
  props,
1767
1097
  ["heading", "icon", "children"],
1768
1098
  ["palette", "usage"]
1769
1099
  );
1770
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(AdmonitionParts.Root, { ...styleProps, ...rootProps, children: [
1771
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1100
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(AdmonitionParts.Root, { ...styleProps, ...rootProps, children: [
1101
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1772
1102
  Show,
1773
1103
  {
1774
- when: Boolean(elProps.icon),
1775
- fallback: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(MatchAvatar, { palette: styleProps.palette }),
1776
- children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(AdmonitionParts.Indicator, { children: elProps.icon })
1104
+ when: elProps.icon,
1105
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(MatchAvatar, { palette: styleProps.palette }),
1106
+ children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AdmonitionParts.Indicator, { children: elProps.icon })
1777
1107
  }
1778
1108
  ),
1779
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(AdmonitionParts.Content, { children: [
1780
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Show, { when: Boolean(elProps.heading), children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(AdmonitionParts.Heading, { children: elProps.heading }) }),
1781
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(AdmonitionParts.Description, { children: elProps.children })
1109
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(AdmonitionParts.Content, { children: [
1110
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Show, { when: elProps.heading, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AdmonitionParts.Heading, { children: elProps.heading }) }),
1111
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AdmonitionParts.Description, { children: elProps.children })
1782
1112
  ] })
1783
1113
  ] });
1784
1114
  }
1785
1115
 
1786
1116
  // src/components/accordion/primitives.tsx
1787
1117
  var import_accordion = require("@ark-ui/react/accordion");
1788
- var import_css24 = require("@cerberus/styled-system/css");
1789
- var import_recipes18 = require("@cerberus/styled-system/recipes");
1790
- var import_jsx_runtime32 = require("react/jsx-runtime");
1118
+ var import_css14 = require("styled-system/css");
1119
+ var import_recipes11 = require("styled-system/recipes");
1120
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1791
1121
  function AccordionRoot(props) {
1792
1122
  const { size, ...rootProps } = props;
1793
- const styles = (0, import_recipes18.accordion)({ size });
1794
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1123
+ const styles = (0, import_recipes11.accordion)({ size });
1124
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1795
1125
  import_accordion.Accordion.Root,
1796
1126
  {
1797
1127
  ...props,
1798
- className: (0, import_css24.cx)(styles.root, rootProps.className),
1128
+ className: (0, import_css14.cx)(styles.root, rootProps.className),
1799
1129
  "data-size": size
1800
1130
  }
1801
1131
  );
1802
1132
  }
1803
1133
  function AccordionItem(props) {
1804
- const styles = (0, import_recipes18.accordion)();
1805
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_accordion.Accordion.Item, { ...props, className: (0, import_css24.cx)(styles.item, props.className) });
1134
+ const styles = (0, import_recipes11.accordion)();
1135
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_accordion.Accordion.Item, { ...props, className: (0, import_css14.cx)(styles.item, props.className) });
1806
1136
  }
1807
1137
  function AccordionItemTrigger(props) {
1808
- const styles = (0, import_recipes18.accordion)();
1809
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1138
+ const styles = (0, import_recipes11.accordion)();
1139
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1810
1140
  import_accordion.Accordion.ItemTrigger,
1811
1141
  {
1812
1142
  ...props,
1813
- className: (0, import_css24.cx)(styles.itemTrigger, props.className)
1143
+ className: (0, import_css14.cx)(styles.itemTrigger, props.className)
1814
1144
  }
1815
1145
  );
1816
1146
  }
1817
1147
  function AccordionItemIndicator(props) {
1818
- const styles = (0, import_recipes18.accordion)();
1819
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1148
+ const styles = (0, import_recipes11.accordion)();
1149
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1820
1150
  import_accordion.Accordion.ItemIndicator,
1821
1151
  {
1822
1152
  ...props,
1823
- className: (0, import_css24.cx)(styles.itemIndicator, props.className)
1153
+ className: (0, import_css14.cx)(styles.itemIndicator, props.className)
1824
1154
  }
1825
1155
  );
1826
1156
  }
1827
1157
  function AccordionItemContent(props) {
1828
- const styles = (0, import_recipes18.accordion)();
1829
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1158
+ const styles = (0, import_recipes11.accordion)();
1159
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1830
1160
  import_accordion.Accordion.ItemContent,
1831
1161
  {
1832
1162
  ...props,
1833
- className: (0, import_css24.cx)(styles.itemContent, props.className)
1163
+ className: (0, import_css14.cx)(styles.itemContent, props.className)
1834
1164
  }
1835
1165
  );
1836
1166
  }
@@ -1845,18 +1175,20 @@ var AccordionParts = {
1845
1175
  };
1846
1176
 
1847
1177
  // src/components/accordion/item-indicator.tsx
1848
- var import_jsx_runtime33 = require("react/jsx-runtime");
1178
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1849
1179
  function AccordionChevronItemIndicator(props) {
1850
1180
  const { size, ...indicatorProps } = props;
1851
1181
  const iconSize = size === "sm" ? 16 : "24";
1852
1182
  const { icons } = useCerberusContext();
1853
1183
  const { accordionIndicator: ChevronDown } = icons;
1854
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(AccordionParts.ItemIndicator, { ...indicatorProps, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ChevronDown, { size: iconSize }) });
1184
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(AccordionParts.ItemIndicator, { ...indicatorProps, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ChevronDown, { size: iconSize }) });
1855
1185
  }
1856
1186
 
1857
1187
  // src/components/accordion/item-group.tsx
1858
- var import_jsx_runtime34 = require("react/jsx-runtime");
1859
- var Accordion2 = AccordionParts.Root;
1188
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1189
+ function Accordion2(props) {
1190
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(AccordionParts.Root, { ...props });
1191
+ }
1860
1192
  function AccordionItemGroup(props) {
1861
1193
  const [groupProps, itemProps] = splitProps(props, [
1862
1194
  "heading",
@@ -1864,18 +1196,132 @@ function AccordionItemGroup(props) {
1864
1196
  "indicatorPosition"
1865
1197
  ]);
1866
1198
  const indicatorPosition = groupProps.indicatorPosition ?? "end";
1867
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(AccordionParts.Item, { ...itemProps, children: [
1868
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(AccordionParts.ItemTrigger, { "data-indicator-position": indicatorPosition, children: [
1869
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Show, { when: indicatorPosition === "start", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(AccordionChevronItemIndicator, {}) }),
1199
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(AccordionParts.Item, { ...itemProps, children: [
1200
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(AccordionParts.ItemTrigger, { "data-indicator-position": indicatorPosition, children: [
1201
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Show, { when: indicatorPosition === "start", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(AccordionChevronItemIndicator, {}) }),
1870
1202
  groupProps.heading,
1871
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Show, { when: indicatorPosition === "end", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(AccordionChevronItemIndicator, {}) })
1203
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Show, { when: indicatorPosition === "end", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(AccordionChevronItemIndicator, {}) })
1872
1204
  ] }),
1873
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(AccordionParts.ItemContent, { children: groupProps.children })
1205
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(AccordionParts.ItemContent, { children: groupProps.children })
1874
1206
  ] });
1875
1207
  }
1876
1208
 
1877
1209
  // src/components/avatar/index.ts
1878
- var import_avatar5 = require("@ark-ui/react/avatar");
1210
+ var import_avatar3 = require("@ark-ui/react/avatar");
1211
+
1212
+ // src/components/button/button.tsx
1213
+ var import_factory2 = require("@ark-ui/react/factory");
1214
+ var import_react9 = require("react");
1215
+ var import_css15 = require("styled-system/css");
1216
+ var import_recipes12 = require("styled-system/recipes");
1217
+ var import_jsx2 = require("styled-system/jsx");
1218
+
1219
+ // src/components/Spinner.tsx
1220
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1221
+ function Spinner(props) {
1222
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1223
+ "svg",
1224
+ {
1225
+ "aria-busy": "true",
1226
+ "data-scope": "spinner",
1227
+ "data-part": "root",
1228
+ role: "status",
1229
+ xmlns: "http://www.w3.org/2000/svg",
1230
+ height: props.size,
1231
+ width: props.size,
1232
+ viewBox: "0 0 24 24",
1233
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1234
+ "g",
1235
+ {
1236
+ fill: "none",
1237
+ stroke: "currentColor",
1238
+ strokeLinecap: "round",
1239
+ strokeLinejoin: "round",
1240
+ strokeWidth: 2,
1241
+ children: [
1242
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1243
+ "path",
1244
+ {
1245
+ strokeDasharray: 16,
1246
+ strokeDashoffset: 16,
1247
+ d: "M12 3c4.97 0 9 4.03 9 9",
1248
+ children: [
1249
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1250
+ "animate",
1251
+ {
1252
+ fill: "freeze",
1253
+ attributeName: "stroke-dashoffset",
1254
+ dur: "0.15s",
1255
+ values: "16;0"
1256
+ }
1257
+ ),
1258
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1259
+ "animateTransform",
1260
+ {
1261
+ attributeName: "transform",
1262
+ dur: "0.75s",
1263
+ repeatCount: "indefinite",
1264
+ type: "rotate",
1265
+ values: "0 12 12;360 12 12"
1266
+ }
1267
+ )
1268
+ ]
1269
+ }
1270
+ ),
1271
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1272
+ "path",
1273
+ {
1274
+ strokeDasharray: 64,
1275
+ strokeDashoffset: 64,
1276
+ strokeOpacity: 0.3,
1277
+ d: "M12 3c4.97 0 9 4.03 9 9c0 4.97 -4.03 9 -9 9c-4.97 0 -9 -4.03 -9 -9c0 -4.97 4.03 -9 9 -9Z",
1278
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1279
+ "animate",
1280
+ {
1281
+ fill: "freeze",
1282
+ attributeName: "stroke-dashoffset",
1283
+ dur: "0.6s",
1284
+ values: "64;0"
1285
+ }
1286
+ )
1287
+ }
1288
+ )
1289
+ ]
1290
+ }
1291
+ )
1292
+ }
1293
+ );
1294
+ }
1295
+
1296
+ // src/components/button/button.tsx
1297
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1298
+ var ButtonContext = (0, import_react9.createContext)({
1299
+ pending: false
1300
+ });
1301
+ function Button(props) {
1302
+ const { palette, usage, shape, size, pending = false, ...nativeProps } = props;
1303
+ const value = (0, import_react9.useMemo)(() => ({ pending }), [pending]);
1304
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(ButtonContext.Provider, { value, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1305
+ import_factory2.ark.button,
1306
+ {
1307
+ ...nativeProps,
1308
+ disabled: pending || nativeProps.disabled,
1309
+ className: (0, import_css15.cx)(
1310
+ nativeProps.className,
1311
+ (0, import_recipes12.button)({
1312
+ palette,
1313
+ usage,
1314
+ shape,
1315
+ size
1316
+ })
1317
+ )
1318
+ }
1319
+ ) });
1320
+ }
1321
+ function ButtonIcon(props) {
1322
+ const { pending } = (0, import_react9.useContext)(ButtonContext);
1323
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Show, { when: pending, fallback: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jsx_runtime24.Fragment, { children: props.children }), children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_jsx2.Box, { w: "4", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Spinner, {}) }) });
1324
+ }
1879
1325
 
1880
1326
  // src/components/button/parts.ts
1881
1327
  var ButtonParts = {
@@ -1883,53 +1329,84 @@ var ButtonParts = {
1883
1329
  Icon: ButtonIcon
1884
1330
  };
1885
1331
 
1332
+ // src/components/Text.tsx
1333
+ var import_jsx3 = require("styled-system/jsx");
1334
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1335
+ function Text(props) {
1336
+ const { as = "p", ...pandaJSXProps } = props;
1337
+ switch (as) {
1338
+ case "h1":
1339
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx3.H1, { ...pandaJSXProps });
1340
+ case "h2":
1341
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx3.H2, { ...pandaJSXProps });
1342
+ case "h3":
1343
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx3.H3, { ...pandaJSXProps });
1344
+ case "h4":
1345
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx3.H4, { ...pandaJSXProps });
1346
+ case "h5":
1347
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx3.H5, { ...pandaJSXProps });
1348
+ case "h6":
1349
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx3.H6, { ...pandaJSXProps });
1350
+ case "strong":
1351
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx3.Strong, { ...pandaJSXProps });
1352
+ case "em":
1353
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx3.Em, { ...pandaJSXProps });
1354
+ case "small":
1355
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx3.Small, { ...pandaJSXProps });
1356
+ case "span":
1357
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx3.Span, { ...pandaJSXProps });
1358
+ default:
1359
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_jsx3.P, { ...pandaJSXProps });
1360
+ }
1361
+ }
1362
+
1886
1363
  // src/components/checkbox/primitives.tsx
1887
- var import_react17 = require("@ark-ui/react");
1888
- var import_css25 = require("@cerberus/styled-system/css");
1889
- var import_recipes19 = require("@cerberus/styled-system/recipes");
1890
- var import_jsx_runtime35 = require("react/jsx-runtime");
1364
+ var import_react10 = require("@ark-ui/react");
1365
+ var import_css16 = require("styled-system/css");
1366
+ var import_recipes13 = require("styled-system/recipes");
1367
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1891
1368
  function CheckboxRoot(props) {
1892
- const styles = (0, import_recipes19.checkbox)();
1893
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react17.Checkbox.Root, { ...props, className: (0, import_css25.cx)(styles.root, props.className) });
1369
+ const styles = (0, import_recipes13.checkbox)();
1370
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react10.Checkbox.Root, { ...props, className: (0, import_css16.cx)(styles.root, props.className) });
1894
1371
  }
1895
1372
  function CheckboxLabel(props) {
1896
1373
  const { size, ...labelProps } = props;
1897
- const styles = (0, import_recipes19.checkbox)({ size });
1898
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1899
- import_react17.Checkbox.Label,
1374
+ const styles = (0, import_recipes13.checkbox)({ size });
1375
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1376
+ import_react10.Checkbox.Label,
1900
1377
  {
1901
1378
  ...labelProps,
1902
- className: (0, import_css25.cx)(styles.label, labelProps.className)
1379
+ className: (0, import_css16.cx)(styles.label, labelProps.className)
1903
1380
  }
1904
1381
  );
1905
1382
  }
1906
1383
  function CheckboxControl(props) {
1907
1384
  const { size, ...controlProps } = props;
1908
- const styles = (0, import_recipes19.checkbox)({ size });
1909
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1910
- import_react17.Checkbox.Control,
1385
+ const styles = (0, import_recipes13.checkbox)({ size });
1386
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1387
+ import_react10.Checkbox.Control,
1911
1388
  {
1912
1389
  ...controlProps,
1913
- className: (0, import_css25.cx)(styles.control, controlProps.className)
1390
+ className: (0, import_css16.cx)(styles.control, controlProps.className)
1914
1391
  }
1915
1392
  );
1916
1393
  }
1917
1394
  function CheckboxIndicator(props) {
1918
- const styles = (0, import_recipes19.checkbox)();
1919
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1920
- import_react17.Checkbox.Indicator,
1395
+ const styles = (0, import_recipes13.checkbox)();
1396
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1397
+ import_react10.Checkbox.Indicator,
1921
1398
  {
1922
1399
  ...props,
1923
- className: (0, import_css25.cx)(styles.indicator, props.className)
1400
+ className: (0, import_css16.cx)(styles.indicator, props.className)
1924
1401
  }
1925
1402
  );
1926
1403
  }
1927
1404
  function CheckboxHiddenInput(props) {
1928
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react17.Checkbox.HiddenInput, { ...props });
1405
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react10.Checkbox.HiddenInput, { ...props });
1929
1406
  }
1930
1407
  function CheckboxGroup(props) {
1931
- const styles = (0, import_recipes19.checkbox)();
1932
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react17.Checkbox.Group, { ...props, className: (0, import_css25.cx)(styles.group, props.className) });
1408
+ const styles = (0, import_recipes13.checkbox)();
1409
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react10.Checkbox.Group, { ...props, className: (0, import_css16.cx)(styles.group, props.className) });
1933
1410
  }
1934
1411
 
1935
1412
  // src/components/checkbox/parts.ts
@@ -1943,38 +1420,38 @@ var CheckboxParts = {
1943
1420
  };
1944
1421
 
1945
1422
  // src/components/checkbox/checkbox-icon.tsx
1946
- var import_jsx_runtime36 = require("react/jsx-runtime");
1423
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1947
1424
  function CheckboxIcon(props) {
1948
1425
  const { icons } = useCerberusContext();
1949
1426
  const { checkbox: CheckIcon, indeterminate: IndeterminateIcon2 } = icons;
1950
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CheckboxParts.Indicator, { indeterminate: props.indeterminate, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Show, { when: props.indeterminate, fallback: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(CheckIcon, {}), children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(IndeterminateIcon2, {}) }) });
1427
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(CheckboxParts.Indicator, { indeterminate: props.indeterminate, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Show, { when: props.indeterminate, fallback: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(CheckIcon, {}), children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(IndeterminateIcon2, {}) }) });
1951
1428
  }
1952
1429
 
1953
1430
  // src/components/checkbox/checkbox.tsx
1954
- var import_jsx_runtime37 = require("react/jsx-runtime");
1431
+ var import_jsx_runtime28 = require("react/jsx-runtime");
1955
1432
  function Checkbox2(props) {
1956
1433
  const { size, children, ...rootProps } = props;
1957
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(CheckboxParts.Root, { ...rootProps, children: [
1958
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CheckboxParts.Control, { size, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CheckboxIcon, { indeterminate: rootProps.checked === "indeterminate" }) }),
1959
- /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(CheckboxParts.Label, { size, children: [
1434
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(CheckboxParts.Root, { ...rootProps, children: [
1435
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(CheckboxParts.Control, { size, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(CheckboxIcon, { indeterminate: rootProps.checked === "indeterminate" }) }),
1436
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(CheckboxParts.Label, { size, children: [
1960
1437
  children,
1961
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Show, { when: props.required, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Text, { as: "span", "data-part": "required-indicator", children: "(required)" }) })
1438
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Show, { when: props.required, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Text, { as: "span", "data-part": "required-indicator", children: "(required)" }) })
1962
1439
  ] }),
1963
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(CheckboxParts.HiddenInput, {})
1440
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(CheckboxParts.HiddenInput, {})
1964
1441
  ] });
1965
1442
  }
1966
1443
 
1967
1444
  // src/components/CircularProgress.tsx
1968
- var import_patterns5 = require("@cerberus/styled-system/patterns");
1969
- var import_css26 = require("@cerberus/styled-system/css");
1970
- var import_jsx_runtime38 = require("react/jsx-runtime");
1445
+ var import_patterns3 = require("styled-system/patterns");
1446
+ var import_css17 = require("styled-system/css");
1447
+ var import_jsx_runtime29 = require("react/jsx-runtime");
1971
1448
  function CircularProgress(props) {
1972
1449
  const strokeW = 14;
1973
1450
  const radius = `calc(50% * (1 - ${strokeW}/100))`;
1974
1451
  const status = props.syntax ?? "Done";
1975
1452
  const now = props.now >= 100 ? 100 : props.now;
1976
1453
  const bgStyle = props.bgStyle ?? "filled";
1977
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1454
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1978
1455
  "div",
1979
1456
  {
1980
1457
  id: props.id,
@@ -1982,18 +1459,18 @@ function CircularProgress(props) {
1982
1459
  "aria-valuemin": 0,
1983
1460
  "aria-valuemax": 100,
1984
1461
  "aria-valuenow": now,
1985
- className: (0, import_patterns5.cq)({
1462
+ className: (0, import_patterns3.cq)({
1986
1463
  alignSelf: "stretch",
1987
1464
  flex: 1,
1988
1465
  m: "4px",
1989
1466
  position: "relative"
1990
1467
  }),
1991
1468
  role: "progressbar",
1992
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
1469
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
1993
1470
  "svg",
1994
1471
  {
1995
1472
  "data-complete": now === 100,
1996
- className: (0, import_css26.css)({
1473
+ className: (0, import_css17.css)({
1997
1474
  display: "block",
1998
1475
  rounded: "full",
1999
1476
  transition: "all 0.5s ease"
@@ -2004,17 +1481,17 @@ function CircularProgress(props) {
2004
1481
  viewBox: "0 0 100 100",
2005
1482
  xmlns: "http://www.w3.org/2000/svg",
2006
1483
  children: [
2007
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("title", { children: props.title }),
2008
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("desc", { children: `${now}% ${status}` }),
2009
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("linearGradient", { id: "gradient", children: [
2010
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1484
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("title", { children: props.title }),
1485
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("desc", { children: `${now}% ${status}` }),
1486
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("linearGradient", { id: "gradient", children: [
1487
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2011
1488
  "stop",
2012
1489
  {
2013
1490
  offset: "0%",
2014
1491
  stopColor: "var(--cerberus-colors-data-viz-progress-start)"
2015
1492
  }
2016
1493
  ),
2017
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1494
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2018
1495
  "stop",
2019
1496
  {
2020
1497
  offset: "100%",
@@ -2022,10 +1499,10 @@ function CircularProgress(props) {
2022
1499
  }
2023
1500
  )
2024
1501
  ] }) }),
2025
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Show, { when: bgStyle === "filled", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1502
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Show, { when: bgStyle === "filled", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2026
1503
  "circle",
2027
1504
  {
2028
- className: (0, import_css26.css)({
1505
+ className: (0, import_css17.css)({
2029
1506
  fill: "page.surface.initial"
2030
1507
  }),
2031
1508
  cx: "50%",
@@ -2034,10 +1511,10 @@ function CircularProgress(props) {
2034
1511
  pathLength: "100"
2035
1512
  }
2036
1513
  ) }),
2037
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1514
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2038
1515
  "circle",
2039
1516
  {
2040
- className: (0, import_css26.css)({
1517
+ className: (0, import_css17.css)({
2041
1518
  stroke: "page.bg.100"
2042
1519
  }),
2043
1520
  cx: "50%",
@@ -2046,11 +1523,11 @@ function CircularProgress(props) {
2046
1523
  pathLength: "100"
2047
1524
  }
2048
1525
  ),
2049
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1526
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2050
1527
  "circle",
2051
1528
  {
2052
1529
  "data-complete": now === 100,
2053
- className: (0, import_css26.css)({
1530
+ className: (0, import_css17.css)({
2054
1531
  stroke: "url(#gradient)",
2055
1532
  transition: "stroke-dashoffset, stroke 0.5s ease",
2056
1533
  _isComplete: {
@@ -2067,11 +1544,11 @@ function CircularProgress(props) {
2067
1544
  transform: "rotate(-90 50 50)"
2068
1545
  }
2069
1546
  ),
2070
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("g", { children: [
2071
- /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
1547
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("g", { children: [
1548
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2072
1549
  "text",
2073
1550
  {
2074
- className: (0, import_css26.css)({
1551
+ className: (0, import_css17.css)({
2075
1552
  fill: "page.text.initial",
2076
1553
  fontFamily: "mono",
2077
1554
  textStyle: "1.25rem"
@@ -2086,10 +1563,10 @@ function CircularProgress(props) {
2086
1563
  ]
2087
1564
  }
2088
1565
  ),
2089
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
1566
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2090
1567
  "text",
2091
1568
  {
2092
- className: (0, import_css26.css)({
1569
+ className: (0, import_css17.css)({
2093
1570
  fill: "page.text.100",
2094
1571
  fontSize: "0.5rem",
2095
1572
  fontWeight: 600
@@ -2111,127 +1588,127 @@ function CircularProgress(props) {
2111
1588
 
2112
1589
  // src/components/combobox/primitives.tsx
2113
1590
  var import_combobox = require("@ark-ui/react/combobox");
2114
- var import_factory4 = require("@ark-ui/react/factory");
2115
- var import_recipes20 = require("@cerberus/styled-system/recipes");
2116
- var import_css27 = require("@cerberus/styled-system/css");
2117
- var import_jsx_runtime39 = require("react/jsx-runtime");
1591
+ var import_factory3 = require("@ark-ui/react/factory");
1592
+ var import_recipes14 = require("styled-system/recipes");
1593
+ var import_css18 = require("styled-system/css");
1594
+ var import_jsx_runtime30 = require("react/jsx-runtime");
2118
1595
  function ComboboxRoot(props) {
2119
1596
  const { size, ...rootProps } = props;
2120
- const styles = (0, import_recipes20.combobox)({ size });
2121
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1597
+ const styles = (0, import_recipes14.combobox)({ size });
1598
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2122
1599
  import_combobox.Combobox.Root,
2123
1600
  {
2124
1601
  ...rootProps,
2125
- className: (0, import_css27.cx)(styles.root, rootProps.className)
1602
+ className: (0, import_css18.cx)(styles.root, rootProps.className)
2126
1603
  }
2127
1604
  );
2128
1605
  }
2129
1606
  function ComboboxLabel(props) {
2130
- const styles = (0, import_recipes20.combobox)();
2131
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_combobox.Combobox.Label, { ...props, className: (0, import_css27.cx)(styles.label, props.className) });
1607
+ const styles = (0, import_recipes14.combobox)();
1608
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_combobox.Combobox.Label, { ...props, className: (0, import_css18.cx)(styles.label, props.className) });
2132
1609
  }
2133
1610
  function ComboboxControl(props) {
2134
- const styles = (0, import_recipes20.combobox)();
2135
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1611
+ const styles = (0, import_recipes14.combobox)();
1612
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2136
1613
  import_combobox.Combobox.Control,
2137
1614
  {
2138
1615
  ...props,
2139
- className: (0, import_css27.cx)(styles.control, props.className)
1616
+ className: (0, import_css18.cx)(styles.control, props.className)
2140
1617
  }
2141
1618
  );
2142
1619
  }
2143
1620
  function ComboboxInput(props) {
2144
- const styles = (0, import_recipes20.combobox)();
2145
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_combobox.Combobox.Input, { ...props, className: (0, import_css27.cx)(styles.input, props.className) });
1621
+ const styles = (0, import_recipes14.combobox)();
1622
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_combobox.Combobox.Input, { ...props, className: (0, import_css18.cx)(styles.input, props.className) });
2146
1623
  }
2147
1624
  function ComboboxTrigger(props) {
2148
- const styles = (0, import_recipes20.combobox)();
2149
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1625
+ const styles = (0, import_recipes14.combobox)();
1626
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2150
1627
  import_combobox.Combobox.Trigger,
2151
1628
  {
2152
1629
  ...props,
2153
- className: (0, import_css27.cx)(styles.trigger, props.className)
1630
+ className: (0, import_css18.cx)(styles.trigger, props.className)
2154
1631
  }
2155
1632
  );
2156
1633
  }
2157
1634
  function ComboboxClearTrigger(props) {
2158
- const styles = (0, import_recipes20.combobox)();
2159
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1635
+ const styles = (0, import_recipes14.combobox)();
1636
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2160
1637
  import_combobox.Combobox.ClearTrigger,
2161
1638
  {
2162
1639
  ...props,
2163
- className: (0, import_css27.cx)(styles.clearTrigger, props.className)
1640
+ className: (0, import_css18.cx)(styles.clearTrigger, props.className)
2164
1641
  }
2165
1642
  );
2166
1643
  }
2167
1644
  function ComboboxPositioner(props) {
2168
- const styles = (0, import_recipes20.combobox)();
2169
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1645
+ const styles = (0, import_recipes14.combobox)();
1646
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2170
1647
  import_combobox.Combobox.Positioner,
2171
1648
  {
2172
1649
  ...props,
2173
- className: (0, import_css27.cx)(styles.positioner, props.className)
1650
+ className: (0, import_css18.cx)(styles.positioner, props.className)
2174
1651
  }
2175
1652
  );
2176
1653
  }
2177
1654
  function ComboboxContent(props) {
2178
1655
  const { size, ...contentProps } = props;
2179
- const styles = (0, import_recipes20.combobox)({ size });
2180
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1656
+ const styles = (0, import_recipes14.combobox)({ size });
1657
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2181
1658
  import_combobox.Combobox.Content,
2182
1659
  {
2183
1660
  ...contentProps,
2184
- className: (0, import_css27.cx)(styles.content, contentProps.className)
1661
+ className: (0, import_css18.cx)(styles.content, contentProps.className)
2185
1662
  }
2186
1663
  );
2187
1664
  }
2188
1665
  function ComboboxItemGroup(props) {
2189
- const styles = (0, import_recipes20.combobox)();
2190
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1666
+ const styles = (0, import_recipes14.combobox)();
1667
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2191
1668
  import_combobox.Combobox.ItemGroup,
2192
1669
  {
2193
1670
  ...props,
2194
- className: (0, import_css27.cx)(styles.itemGroup, props.className)
1671
+ className: (0, import_css18.cx)(styles.itemGroup, props.className)
2195
1672
  }
2196
1673
  );
2197
1674
  }
2198
1675
  function ComboboxItemGroupLabel(props) {
2199
- const styles = (0, import_recipes20.combobox)();
2200
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1676
+ const styles = (0, import_recipes14.combobox)();
1677
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2201
1678
  import_combobox.Combobox.ItemGroupLabel,
2202
1679
  {
2203
1680
  ...props,
2204
- className: (0, import_css27.cx)(styles.itemGroupLabel, props.className)
1681
+ className: (0, import_css18.cx)(styles.itemGroupLabel, props.className)
2205
1682
  }
2206
1683
  );
2207
1684
  }
2208
1685
  function ComboboxItem(props) {
2209
- const styles = (0, import_recipes20.combobox)();
2210
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_combobox.Combobox.Item, { ...props, className: (0, import_css27.cx)(styles.item, props.className) });
1686
+ const styles = (0, import_recipes14.combobox)();
1687
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_combobox.Combobox.Item, { ...props, className: (0, import_css18.cx)(styles.item, props.className) });
2211
1688
  }
2212
1689
  function ComboboxItemText(props) {
2213
- const styles = (0, import_recipes20.combobox)();
2214
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1690
+ const styles = (0, import_recipes14.combobox)();
1691
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2215
1692
  import_combobox.Combobox.ItemText,
2216
1693
  {
2217
1694
  ...props,
2218
- className: (0, import_css27.cx)(styles.itemText, props.className)
1695
+ className: (0, import_css18.cx)(styles.itemText, props.className)
2219
1696
  }
2220
1697
  );
2221
1698
  }
2222
1699
  function ComboboxItemIndicator(props) {
2223
- const styles = (0, import_recipes20.combobox)();
2224
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
1700
+ const styles = (0, import_recipes14.combobox)();
1701
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2225
1702
  import_combobox.Combobox.ItemIndicator,
2226
1703
  {
2227
1704
  ...props,
2228
- className: (0, import_css27.cx)(styles.itemIndicator, props.className)
1705
+ className: (0, import_css18.cx)(styles.itemIndicator, props.className)
2229
1706
  }
2230
1707
  );
2231
1708
  }
2232
1709
  function ComboboxStartIcon(props) {
2233
- const styles = (0, import_recipes20.combobox)();
2234
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_factory4.ark.span, { ...props, className: styles.startIcon });
1710
+ const styles = (0, import_recipes14.combobox)();
1711
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_factory3.ark.span, { ...props, className: styles.startIcon });
2235
1712
  }
2236
1713
  var ComboItemText = ComboboxItemText;
2237
1714
 
@@ -2252,156 +1729,163 @@ var ComboboxParts = {
2252
1729
  ItemIndicator: ComboboxItemIndicator
2253
1730
  };
2254
1731
 
1732
+ // src/components/Portal.tsx
1733
+ var import_react11 = require("@ark-ui/react");
1734
+ var import_jsx_runtime31 = require("react/jsx-runtime");
1735
+ function Portal(props) {
1736
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_react11.Portal, { ...props });
1737
+ }
1738
+
2255
1739
  // src/components/combobox/combobox.tsx
2256
- var import_jsx_runtime40 = require("react/jsx-runtime");
1740
+ var import_jsx_runtime32 = require("react/jsx-runtime");
2257
1741
  function Combobox2(props) {
2258
1742
  const { label: label4, children, startIcon, ...rootProps } = props;
2259
1743
  const { icons } = useCerberusContext();
2260
1744
  const { selectArrow: SelectArrow, close: CloseIcon } = icons;
2261
1745
  const hasStartIcon = Boolean(startIcon);
2262
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(ComboboxParts.Root, { ...rootProps, children: [
2263
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Show, { when: Boolean(label4), children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ComboboxParts.Label, { children: label4 }) }),
2264
- /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(ComboboxParts.Control, { children: [
2265
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Show, { when: hasStartIcon, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ComboboxStartIcon, { children: startIcon }) }),
2266
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
1746
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(ComboboxParts.Root, { ...rootProps, children: [
1747
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Show, { when: label4, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ComboboxParts.Label, { children: label4 }) }),
1748
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(ComboboxParts.Control, { children: [
1749
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Show, { when: hasStartIcon, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ComboboxStartIcon, { children: startIcon }) }),
1750
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2267
1751
  ComboboxParts.Input,
2268
1752
  {
2269
1753
  ...hasStartIcon && { "data-has": "start-indicator" }
2270
1754
  }
2271
1755
  ),
2272
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ComboboxParts.ClearTrigger, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(CloseIcon, {}) }),
2273
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ComboboxParts.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SelectArrow, {}) })
1756
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ComboboxParts.ClearTrigger, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(CloseIcon, {}) }),
1757
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ComboboxParts.Trigger, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectArrow, {}) })
2274
1758
  ] }),
2275
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ComboboxParts.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ComboboxParts.Content, { size: rootProps.size, children }) }) })
1759
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ComboboxParts.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ComboboxParts.Content, { size: rootProps.size, children }) }) })
2276
1760
  ] });
2277
1761
  }
2278
1762
 
2279
1763
  // src/components/combobox/item.tsx
2280
- var import_jsx_runtime41 = require("react/jsx-runtime");
1764
+ var import_jsx_runtime33 = require("react/jsx-runtime");
2281
1765
  function ComboItemWithIndicator(props) {
2282
1766
  const { icons } = useCerberusContext();
2283
1767
  const { selectChecked: CheckedIcon } = icons;
2284
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(ComboboxParts.Item, { ...props, children: [
2285
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ComboboxParts.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CheckedIcon, {}) }),
1768
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(ComboboxParts.Item, { ...props, children: [
1769
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ComboboxParts.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(CheckedIcon, {}) }),
2286
1770
  props.children
2287
1771
  ] });
2288
1772
  }
2289
1773
 
2290
1774
  // src/components/combobox/item-group.tsx
2291
- var import_jsx_runtime42 = require("react/jsx-runtime");
1775
+ var import_jsx_runtime34 = require("react/jsx-runtime");
2292
1776
  function ComboItemGroup(props) {
2293
1777
  const { label: label4, children, ...groupProps } = props;
2294
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(ComboboxParts.ItemGroup, { ...groupProps, children: [
2295
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ComboboxParts.ItemGroupLabel, { children: label4 }),
1778
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(ComboboxParts.ItemGroup, { ...groupProps, children: [
1779
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ComboboxParts.ItemGroupLabel, { children: label4 }),
2296
1780
  children
2297
1781
  ] });
2298
1782
  }
2299
1783
 
2300
1784
  // src/components/combobox/use-stateful-collection.ts
2301
- var import_react18 = require("react");
1785
+ var import_react12 = require("react");
2302
1786
 
2303
1787
  // src/components/select/primitives.tsx
2304
1788
  var import_select = require("@ark-ui/react/select");
2305
- var import_recipes21 = require("@cerberus/styled-system/recipes");
2306
- var import_css28 = require("@cerberus/styled-system/css");
2307
- var import_jsx_runtime43 = require("react/jsx-runtime");
1789
+ var import_recipes15 = require("styled-system/recipes");
1790
+ var import_css19 = require("styled-system/css");
1791
+ var import_jsx_runtime35 = require("react/jsx-runtime");
2308
1792
  function SelectRoot(props) {
2309
1793
  const { size, ...rootProps } = props;
2310
- const styles = (0, import_recipes21.select)({ size });
2311
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1794
+ const styles = (0, import_recipes15.select)({ size });
1795
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2312
1796
  import_select.Select.Root,
2313
1797
  {
2314
1798
  ...rootProps,
2315
- className: (0, import_css28.cx)(styles.root, rootProps.className)
1799
+ className: (0, import_css19.cx)(styles.root, rootProps.className)
2316
1800
  }
2317
1801
  );
2318
1802
  }
2319
1803
  function SelectLabel(props) {
2320
- const styles = (0, import_recipes21.select)();
2321
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_select.Select.Label, { ...props, className: (0, import_css28.cx)(styles.label, props.className) });
1804
+ const styles = (0, import_recipes15.select)();
1805
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_select.Select.Label, { ...props, className: (0, import_css19.cx)(styles.label, props.className) });
2322
1806
  }
2323
1807
  function SelectControl(props) {
2324
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_select.Select.Control, { ...props });
1808
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_select.Select.Control, { ...props });
2325
1809
  }
2326
1810
  function SelectTrigger(props) {
2327
- const styles = (0, import_recipes21.select)();
2328
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1811
+ const styles = (0, import_recipes15.select)();
1812
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2329
1813
  import_select.Select.Trigger,
2330
1814
  {
2331
1815
  ...props,
2332
- className: (0, import_css28.cx)(styles.trigger, props.className)
1816
+ className: (0, import_css19.cx)(styles.trigger, props.className)
2333
1817
  }
2334
1818
  );
2335
1819
  }
2336
1820
  function SelectValueText(props) {
2337
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_select.Select.ValueText, { ...props });
1821
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_select.Select.ValueText, { ...props });
2338
1822
  }
2339
1823
  function SelectIndicator(props) {
2340
- const styles = (0, import_recipes21.select)();
2341
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1824
+ const styles = (0, import_recipes15.select)();
1825
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2342
1826
  import_select.Select.Indicator,
2343
1827
  {
2344
1828
  ...props,
2345
- className: (0, import_css28.cx)(styles.indicator, props.className)
1829
+ className: (0, import_css19.cx)(styles.indicator, props.className)
2346
1830
  }
2347
1831
  );
2348
1832
  }
2349
1833
  function SelectClearTrigger(props) {
2350
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_select.Select.ClearTrigger, { ...props });
1834
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_select.Select.ClearTrigger, { ...props });
2351
1835
  }
2352
1836
  function SelectPositioner(props) {
2353
- const styles = (0, import_recipes21.select)();
2354
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1837
+ const styles = (0, import_recipes15.select)();
1838
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2355
1839
  import_select.Select.Positioner,
2356
1840
  {
2357
1841
  ...props,
2358
- className: (0, import_css28.cx)(styles.positioner, props.className)
1842
+ className: (0, import_css19.cx)(styles.positioner, props.className)
2359
1843
  }
2360
1844
  );
2361
1845
  }
2362
1846
  function SelectContent(props) {
2363
1847
  const { size, ...contentProps } = props;
2364
- const styles = (0, import_recipes21.select)({ size });
2365
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1848
+ const styles = (0, import_recipes15.select)({ size });
1849
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2366
1850
  import_select.Select.Content,
2367
1851
  {
2368
1852
  ...contentProps,
2369
- className: (0, import_css28.cx)(styles.content, contentProps.className)
1853
+ className: (0, import_css19.cx)(styles.content, contentProps.className)
2370
1854
  }
2371
1855
  );
2372
1856
  }
2373
1857
  function SelectItemGroup(props) {
2374
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_select.Select.ItemGroup, { ...props });
1858
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_select.Select.ItemGroup, { ...props });
2375
1859
  }
2376
1860
  function SelectItemGroupLabel(props) {
2377
- const styles = (0, import_recipes21.select)();
2378
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1861
+ const styles = (0, import_recipes15.select)();
1862
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2379
1863
  import_select.Select.ItemGroupLabel,
2380
1864
  {
2381
1865
  ...props,
2382
- className: (0, import_css28.cx)(styles.itemGroupLabel, props.className)
1866
+ className: (0, import_css19.cx)(styles.itemGroupLabel, props.className)
2383
1867
  }
2384
1868
  );
2385
1869
  }
2386
1870
  function SelectItem(props) {
2387
- const styles = (0, import_recipes21.select)();
2388
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_select.Select.Item, { ...props, className: (0, import_css28.cx)(styles.item, props.className) });
1871
+ const styles = (0, import_recipes15.select)();
1872
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_select.Select.Item, { ...props, className: (0, import_css19.cx)(styles.item, props.className) });
2389
1873
  }
2390
1874
  function SelectItemText(props) {
2391
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_select.Select.ItemText, { ...props });
1875
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_select.Select.ItemText, { ...props });
2392
1876
  }
2393
1877
  function SelectItemIndicator(props) {
2394
- const styles = (0, import_recipes21.select)();
2395
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
1878
+ const styles = (0, import_recipes15.select)();
1879
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2396
1880
  import_select.Select.ItemIndicator,
2397
1881
  {
2398
1882
  ...props,
2399
- className: (0, import_css28.cx)(styles.itemIndicator, props.className)
1883
+ className: (0, import_css19.cx)(styles.itemIndicator, props.className)
2400
1884
  }
2401
1885
  );
2402
1886
  }
2403
1887
  function SelectHiddenSelect(props) {
2404
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_select.Select.HiddenSelect, { ...props });
1888
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_select.Select.HiddenSelect, { ...props });
2405
1889
  }
2406
1890
  function createSelectCollection(collection) {
2407
1891
  return (0, import_select.createListCollection)({
@@ -2411,10 +1895,10 @@ function createSelectCollection(collection) {
2411
1895
 
2412
1896
  // src/components/combobox/use-stateful-collection.ts
2413
1897
  function useStatefulCollection(initialItems = []) {
2414
- const [items, setItems] = (0, import_react18.useState)(initialItems);
2415
- const [filterValue, setFilterValue] = (0, import_react18.useState)([]);
2416
- const collection = (0, import_react18.useMemo)(() => createSelectCollection(items), [items]);
2417
- const handleInputChange = (0, import_react18.useCallback)(
1898
+ const [items, setItems] = (0, import_react12.useState)(initialItems);
1899
+ const [filterValue, setFilterValue] = (0, import_react12.useState)([]);
1900
+ const collection = (0, import_react12.useMemo)(() => createSelectCollection(items), [items]);
1901
+ const handleInputChange = (0, import_react12.useCallback)(
2418
1902
  (details) => {
2419
1903
  if (details.inputValue === "") {
2420
1904
  return setItems(initialItems);
@@ -2428,7 +1912,7 @@ function useStatefulCollection(initialItems = []) {
2428
1912
  },
2429
1913
  [initialItems]
2430
1914
  );
2431
- return (0, import_react18.useMemo)(
1915
+ return (0, import_react12.useMemo)(
2432
1916
  () => ({
2433
1917
  collection,
2434
1918
  filterChars: filterValue,
@@ -2439,39 +1923,181 @@ function useStatefulCollection(initialItems = []) {
2439
1923
  }
2440
1924
 
2441
1925
  // src/components/cta-dialog/provider.tsx
2442
- var import_react20 = require("react");
2443
- var import_jsx6 = require("@cerberus/styled-system/jsx");
1926
+ var import_react14 = require("react");
1927
+ var import_jsx4 = require("styled-system/jsx");
2444
1928
 
2445
1929
  // src/components/for.tsx
1930
+ var import_jsx_runtime36 = require("react/jsx-runtime");
2446
1931
  function For(props) {
2447
1932
  var _a;
2448
1933
  if (!props.each || !props.each.length) {
2449
1934
  return props.fallback || null;
2450
1935
  }
2451
- return (_a = props.each) == null ? void 0 : _a.map(props.children);
1936
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_jsx_runtime36.Fragment, { children: (_a = props.each) == null ? void 0 : _a.map(props.children) });
1937
+ }
1938
+
1939
+ // src/components/dialog/primitives.tsx
1940
+ var import_dialog = require("@ark-ui/react/dialog");
1941
+ var import_css20 = require("styled-system/css");
1942
+ var import_recipes16 = require("styled-system/recipes");
1943
+ var import_jsx_runtime37 = require("react/jsx-runtime");
1944
+ function DialogRoot(props) {
1945
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_dialog.Dialog.Root, { ...props });
1946
+ }
1947
+ function DialogTrigger(props) {
1948
+ const styles = (0, import_recipes16.dialog)();
1949
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1950
+ import_dialog.Dialog.Trigger,
1951
+ {
1952
+ ...props,
1953
+ className: (0, import_css20.cx)(styles.trigger, props.className)
1954
+ }
1955
+ );
1956
+ }
1957
+ function DialogBackdrop(props) {
1958
+ const styles = (0, import_recipes16.dialog)();
1959
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1960
+ import_dialog.Dialog.Backdrop,
1961
+ {
1962
+ ...props,
1963
+ className: (0, import_css20.cx)(styles.backdrop, props.className)
1964
+ }
1965
+ );
1966
+ }
1967
+ function DialogPositioner(props) {
1968
+ const styles = (0, import_recipes16.dialog)();
1969
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1970
+ import_dialog.Dialog.Positioner,
1971
+ {
1972
+ ...props,
1973
+ className: (0, import_css20.cx)(styles.positioner, props.className)
1974
+ }
1975
+ );
1976
+ }
1977
+ function DialogContent(props) {
1978
+ const { size, ...contentProps } = props;
1979
+ const styles = (0, import_recipes16.dialog)({ size });
1980
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1981
+ import_dialog.Dialog.Content,
1982
+ {
1983
+ ...contentProps,
1984
+ className: (0, import_css20.cx)(styles.content, contentProps.className)
1985
+ }
1986
+ );
1987
+ }
1988
+ function DialogHeading(props) {
1989
+ const styles = (0, import_recipes16.dialog)();
1990
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_dialog.Dialog.Title, { ...props, className: (0, import_css20.cx)(styles.title, props.className) });
1991
+ }
1992
+ function DialogDescription(props) {
1993
+ const styles = (0, import_recipes16.dialog)();
1994
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1995
+ import_dialog.Dialog.Description,
1996
+ {
1997
+ ...props,
1998
+ className: (0, import_css20.cx)(styles.description, props.className)
1999
+ }
2000
+ );
2001
+ }
2002
+ function DialogCloseTrigger(props) {
2003
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_dialog.Dialog.CloseTrigger, { ...props });
2004
+ }
2005
+ var DialogProvider = DialogRoot;
2006
+
2007
+ // src/components/dialog/parts.ts
2008
+ var DialogParts = {
2009
+ Root: DialogRoot,
2010
+ Trigger: DialogTrigger,
2011
+ Backdrop: DialogBackdrop,
2012
+ Positioner: DialogPositioner,
2013
+ Content: DialogContent,
2014
+ Heading: DialogHeading,
2015
+ Description: DialogDescription,
2016
+ CloseTrigger: DialogCloseTrigger
2017
+ };
2018
+
2019
+ // src/components/IconButton.tsx
2020
+ var import_factory4 = require("@ark-ui/react/factory");
2021
+ var import_css21 = require("styled-system/css");
2022
+ var import_recipes17 = require("styled-system/recipes");
2023
+ var import_jsx_runtime38 = require("react/jsx-runtime");
2024
+ function IconButton(props) {
2025
+ const { ariaLabel, palette, usage, size, ...nativeProps } = props;
2026
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2027
+ import_factory4.ark.button,
2028
+ {
2029
+ ...nativeProps,
2030
+ "aria-label": ariaLabel ?? "Icon Button",
2031
+ className: (0, import_css21.cx)(
2032
+ nativeProps.className,
2033
+ (0, import_recipes17.iconButton)({
2034
+ palette,
2035
+ usage,
2036
+ size
2037
+ })
2038
+ )
2039
+ }
2040
+ );
2041
+ }
2042
+
2043
+ // src/components/dialog/close-icon-trigger.tsx
2044
+ var import_recipes18 = require("styled-system/recipes");
2045
+ var import_css22 = require("styled-system/css");
2046
+ var import_jsx_runtime39 = require("react/jsx-runtime");
2047
+ function DialogCloseIconTrigger(props) {
2048
+ const styles = (0, import_recipes18.dialog)();
2049
+ const { icons } = useCerberusContext();
2050
+ const { close: CloseIcon } = icons;
2051
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2052
+ DialogCloseTrigger,
2053
+ {
2054
+ ...props,
2055
+ className: (0, import_css22.cx)(styles.closeTrigger, props.className),
2056
+ asChild: true,
2057
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2058
+ IconButton,
2059
+ {
2060
+ ariaLabel: "Close dialog",
2061
+ palette: "action",
2062
+ size: "lg",
2063
+ usage: "ghost",
2064
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(CloseIcon, {})
2065
+ }
2066
+ )
2067
+ }
2068
+ );
2069
+ }
2070
+
2071
+ // src/components/dialog/dialog.tsx
2072
+ var import_jsx_runtime40 = require("react/jsx-runtime");
2073
+ function Dialog2(props) {
2074
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Portal, { children: [
2075
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(DialogBackdrop, {}),
2076
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(DialogPositioner, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(DialogContent, { ...props }) })
2077
+ ] });
2452
2078
  }
2453
2079
 
2454
2080
  // src/components/cta-dialog/context.tsx
2455
- var import_react19 = require("react");
2456
- var CTAModalContext = (0, import_react19.createContext)(null);
2081
+ var import_react13 = require("react");
2082
+ var CTAModalContext = (0, import_react13.createContext)(null);
2457
2083
 
2458
2084
  // src/components/cta-dialog/trigger-item.tsx
2459
- var import_css29 = require("@cerberus/styled-system/css");
2085
+ var import_css23 = require("styled-system/css");
2460
2086
  var import_factory5 = require("@ark-ui/react/factory");
2461
- var import_recipes22 = require("@cerberus/styled-system/recipes");
2462
- var import_jsx_runtime44 = require("react/jsx-runtime");
2087
+ var import_recipes19 = require("styled-system/recipes");
2088
+ var import_jsx_runtime41 = require("react/jsx-runtime");
2463
2089
  function TriggerItem(props) {
2464
2090
  const { asChild, children, ...buttonProps } = props;
2465
2091
  if (asChild) {
2466
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2092
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2467
2093
  import_factory5.ark.div,
2468
2094
  {
2469
- className: (0, import_css29.cx)(
2470
- (0, import_recipes22.button)({
2095
+ className: (0, import_css23.cx)(
2096
+ (0, import_recipes19.button)({
2471
2097
  shape: "rounded",
2472
2098
  usage: "ghost"
2473
2099
  }),
2474
- (0, import_css29.css)({
2100
+ (0, import_css23.css)({
2475
2101
  w: "1/2"
2476
2102
  })
2477
2103
  ),
@@ -2480,11 +2106,11 @@ function TriggerItem(props) {
2480
2106
  }
2481
2107
  );
2482
2108
  }
2483
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2109
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2484
2110
  Button,
2485
2111
  {
2486
2112
  ...buttonProps,
2487
- className: (0, import_css29.css)({
2113
+ className: (0, import_css23.css)({
2488
2114
  w: "1/2"
2489
2115
  }),
2490
2116
  shape: "rounded",
@@ -2495,21 +2121,21 @@ function TriggerItem(props) {
2495
2121
  }
2496
2122
 
2497
2123
  // src/components/cta-dialog/provider.tsx
2498
- var import_jsx_runtime45 = require("react/jsx-runtime");
2124
+ var import_jsx_runtime42 = require("react/jsx-runtime");
2499
2125
  function CTAModal(props) {
2500
- const [open, setOpen] = (0, import_react20.useState)(false);
2501
- const [content, setContent] = (0, import_react20.useState)(null);
2126
+ const [open, setOpen] = (0, import_react14.useState)(false);
2127
+ const [content, setContent] = (0, import_react14.useState)(null);
2502
2128
  const confirmIcon = content == null ? void 0 : content.icon;
2503
2129
  const { icons } = useCerberusContext();
2504
2130
  const { confirmModal: FallbackIcon } = icons;
2505
- const handleShow = (0, import_react20.useCallback)(
2131
+ const handleShow = (0, import_react14.useCallback)(
2506
2132
  (options) => {
2507
2133
  setContent({ ...options });
2508
2134
  setOpen(true);
2509
2135
  },
2510
2136
  [setOpen]
2511
2137
  );
2512
- const handleActionClick = (0, import_react20.useCallback)(
2138
+ const handleActionClick = (0, import_react14.useCallback)(
2513
2139
  (event) => {
2514
2140
  var _a;
2515
2141
  const index = Number(event.currentTarget.getAttribute("data-index"));
@@ -2520,43 +2146,43 @@ function CTAModal(props) {
2520
2146
  },
2521
2147
  [content, setOpen]
2522
2148
  );
2523
- const value = (0, import_react20.useMemo)(
2149
+ const value = (0, import_react14.useMemo)(
2524
2150
  () => ({
2525
2151
  show: handleShow
2526
2152
  }),
2527
2153
  [handleShow]
2528
2154
  );
2529
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(CTAModalContext.Provider, { value, children: [
2155
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(CTAModalContext.Provider, { value, children: [
2530
2156
  props.children,
2531
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(Dialog2, { size: "sm", children: [
2532
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(DialogCloseIconTrigger, {}),
2533
- /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_jsx6.VStack, { gap: "xl", w: "full", children: [
2534
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_jsx6.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_jsx6.VStack, { gap: "lg", w: "full", children: [
2535
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2157
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Dialog2, { size: "sm", children: [
2158
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(DialogCloseIconTrigger, {}),
2159
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx4.VStack, { gap: "xl", w: "full", children: [
2160
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_jsx4.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx4.VStack, { gap: "lg", w: "full", children: [
2161
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2536
2162
  Avatar2,
2537
2163
  {
2538
2164
  gradient: "charon-light",
2539
- fallback: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2165
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2540
2166
  Show,
2541
2167
  {
2542
- when: Boolean(confirmIcon),
2543
- fallback: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(FallbackIcon, { size: 24 }),
2168
+ when: confirmIcon,
2169
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(FallbackIcon, { size: 24 }),
2544
2170
  children: confirmIcon
2545
2171
  }
2546
2172
  )
2547
2173
  }
2548
2174
  ),
2549
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
2550
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
2175
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
2176
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
2551
2177
  ] }) }),
2552
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_jsx6.HStack, { gap: "md", w: "full", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(For, { each: content == null ? void 0 : content.actions._actions, children: (action, index) => {
2178
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_jsx4.HStack, { gap: "md", w: "full", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(For, { each: content == null ? void 0 : content.actions._actions, children: (action, index) => {
2553
2179
  var _a;
2554
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
2180
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2555
2181
  Show,
2556
2182
  {
2557
2183
  when: ((_a = content == null ? void 0 : content.actions) == null ? void 0 : _a.type) === "btnAction",
2558
- fallback: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(TriggerItem, { asChild: true, children: action }),
2559
- children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(TriggerItem, { "data-index": index, onClick: handleActionClick, children: action == null ? void 0 : action.text })
2184
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TriggerItem, { asChild: true, children: action }),
2185
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TriggerItem, { "data-index": index, onClick: handleActionClick, children: action == null ? void 0 : action.text })
2560
2186
  },
2561
2187
  index
2562
2188
  );
@@ -2566,7 +2192,7 @@ function CTAModal(props) {
2566
2192
  ] });
2567
2193
  }
2568
2194
  function useCTAModal() {
2569
- const context = (0, import_react20.useContext)(CTAModalContext);
2195
+ const context = (0, import_react14.useContext)(CTAModalContext);
2570
2196
  if (context === null) {
2571
2197
  throw new Error("useCTAModal must be used within a CTAModal Provider");
2572
2198
  }
@@ -2594,132 +2220,158 @@ function createCTAModalActions(providedActions) {
2594
2220
 
2595
2221
  // src/components/date-picker/primitives.tsx
2596
2222
  var import_date_picker = require("@ark-ui/react/date-picker");
2597
- var import_css30 = require("@cerberus/styled-system/css");
2598
- var import_recipes23 = require("@cerberus/styled-system/recipes");
2599
- var import_jsx_runtime46 = require("react/jsx-runtime");
2223
+ var import_css24 = require("styled-system/css");
2224
+ var import_recipes20 = require("styled-system/recipes");
2225
+ var import_jsx_runtime43 = require("react/jsx-runtime");
2600
2226
  function DatePickerLabel(props) {
2601
- const styles = (0, import_recipes23.datePicker)();
2602
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2227
+ const styles = (0, import_recipes20.datePicker)();
2228
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2603
2229
  import_date_picker.DatePicker.Label,
2604
2230
  {
2605
2231
  ...props,
2606
- className: (0, import_css30.cx)(styles.label, props.className)
2232
+ className: (0, import_css24.cx)(styles.label, props.className)
2607
2233
  }
2608
2234
  );
2609
2235
  }
2610
2236
  function DatePickerControl(props) {
2611
- const styles = (0, import_recipes23.datePicker)();
2612
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2237
+ const styles = (0, import_recipes20.datePicker)();
2238
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2613
2239
  import_date_picker.DatePicker.Control,
2614
2240
  {
2615
2241
  ...props,
2616
- className: (0, import_css30.cx)(styles.control, props.className)
2242
+ className: (0, import_css24.cx)(styles.control, props.className)
2617
2243
  }
2618
2244
  );
2619
2245
  }
2620
2246
  function DatePickerInputEl(props) {
2621
- const styles = (0, import_recipes23.datePicker)();
2622
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2247
+ const styles = (0, import_recipes20.datePicker)();
2248
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2623
2249
  import_date_picker.DatePicker.Input,
2624
2250
  {
2625
2251
  ...props,
2626
- className: (0, import_css30.cx)(styles.input, props.className)
2252
+ className: (0, import_css24.cx)(styles.input, props.className)
2627
2253
  }
2628
2254
  );
2629
2255
  }
2630
2256
  function DatePickerTrigger(props) {
2631
- const styles = (0, import_recipes23.datePicker)();
2632
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2257
+ const styles = (0, import_recipes20.datePicker)();
2258
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2633
2259
  import_date_picker.DatePicker.Trigger,
2634
2260
  {
2635
2261
  ...props,
2636
- className: (0, import_css30.cx)(styles.trigger, props.className)
2262
+ className: (0, import_css24.cx)(styles.trigger, props.className)
2637
2263
  }
2638
2264
  );
2639
2265
  }
2640
2266
  function DatePickerContent(props) {
2641
- const styles = (0, import_recipes23.datePicker)();
2642
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2267
+ const styles = (0, import_recipes20.datePicker)();
2268
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2643
2269
  import_date_picker.DatePicker.Content,
2644
2270
  {
2645
2271
  ...props,
2646
- className: (0, import_css30.cx)(styles.content, props.className)
2272
+ className: (0, import_css24.cx)(styles.content, props.className)
2647
2273
  }
2648
2274
  );
2649
2275
  }
2650
2276
  function DatePickerViewControl(props) {
2651
- const styles = (0, import_recipes23.datePicker)();
2652
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2277
+ const styles = (0, import_recipes20.datePicker)();
2278
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2653
2279
  import_date_picker.DatePicker.Control,
2654
2280
  {
2655
2281
  ...props,
2656
- className: (0, import_css30.cx)(styles.viewControl, props.className)
2282
+ className: (0, import_css24.cx)(styles.viewControl, props.className)
2657
2283
  }
2658
2284
  );
2659
2285
  }
2660
2286
  function DatePickerRangeText(props) {
2661
- const styles = (0, import_recipes23.datePicker)();
2662
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2287
+ const styles = (0, import_recipes20.datePicker)();
2288
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2663
2289
  import_date_picker.DatePicker.RangeText,
2664
2290
  {
2665
2291
  ...props,
2666
- className: (0, import_css30.cx)(styles.rangeText, props.className)
2292
+ className: (0, import_css24.cx)(styles.rangeText, props.className)
2667
2293
  }
2668
2294
  );
2669
2295
  }
2670
2296
  function DatePickerTable(props) {
2671
- const styles = (0, import_recipes23.datePicker)();
2672
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2297
+ const styles = (0, import_recipes20.datePicker)();
2298
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2673
2299
  import_date_picker.DatePicker.Table,
2674
2300
  {
2675
2301
  ...props,
2676
- className: (0, import_css30.cx)(styles.table, props.className)
2302
+ className: (0, import_css24.cx)(styles.table, props.className)
2677
2303
  }
2678
2304
  );
2679
2305
  }
2680
2306
  function DatePickerTableHeader(props) {
2681
- const styles = (0, import_recipes23.datePicker)();
2682
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2307
+ const styles = (0, import_recipes20.datePicker)();
2308
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2683
2309
  import_date_picker.DatePicker.TableHeader,
2684
2310
  {
2685
2311
  ...props,
2686
- className: (0, import_css30.cx)(styles.tableHeader, props.className)
2312
+ className: (0, import_css24.cx)(styles.tableHeader, props.className)
2687
2313
  }
2688
2314
  );
2689
2315
  }
2690
2316
  function DatePickerTableCell(props) {
2691
- const styles = (0, import_recipes23.datePicker)();
2692
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2317
+ const styles = (0, import_recipes20.datePicker)();
2318
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2693
2319
  import_date_picker.DatePicker.TableCell,
2694
2320
  {
2695
2321
  ...props,
2696
- className: (0, import_css30.cx)(styles.tableCell, props.className)
2322
+ className: (0, import_css24.cx)(styles.tableCell, props.className)
2697
2323
  }
2698
2324
  );
2699
2325
  }
2700
2326
  function DatePickerTableCellTrigger(props) {
2701
- const styles = (0, import_recipes23.datePicker)();
2702
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2327
+ const styles = (0, import_recipes20.datePicker)();
2328
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
2703
2329
  import_date_picker.DatePicker.TableCellTrigger,
2704
2330
  {
2705
2331
  ...props,
2706
- className: (0, import_css30.cx)(styles.tableCellTrigger, props.className)
2332
+ className: (0, import_css24.cx)(styles.tableCellTrigger, props.className)
2707
2333
  }
2708
2334
  );
2709
2335
  }
2710
- var DatePickerRoot = import_date_picker.DatePicker.Root;
2711
- var DatePickerClearTrigger = import_date_picker.DatePicker.ClearTrigger;
2712
- var DatePickerPositioner = import_date_picker.DatePicker.Positioner;
2713
- var DatePickerYearSelect = import_date_picker.DatePicker.YearSelect;
2714
- var DatePickerMonthSelect = import_date_picker.DatePicker.MonthSelect;
2715
- var DatePickerView = import_date_picker.DatePicker.View;
2716
- var DatePickerContext = import_date_picker.DatePicker.Context;
2717
- var DatePickerPrevTrigger = import_date_picker.DatePicker.PrevTrigger;
2718
- var DatePickerNextTrigger = import_date_picker.DatePicker.NextTrigger;
2719
- var DatePickerViewTrigger = import_date_picker.DatePicker.ViewTrigger;
2720
- var DatePickerTableHead = import_date_picker.DatePicker.TableHead;
2721
- var DatePickerTableRow = import_date_picker.DatePicker.TableRow;
2722
- var DatePickerTableBody = import_date_picker.DatePicker.TableBody;
2336
+ function DatePickerRoot(props) {
2337
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_date_picker.DatePicker.Root, { ...props });
2338
+ }
2339
+ function DatePickerClearTrigger(props) {
2340
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_date_picker.DatePicker.ClearTrigger, { ...props });
2341
+ }
2342
+ function DatePickerPositioner(props) {
2343
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_date_picker.DatePicker.Positioner, { ...props });
2344
+ }
2345
+ function DatePickerYearSelect(props) {
2346
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_date_picker.DatePicker.YearSelect, { ...props });
2347
+ }
2348
+ function DatePickerMonthSelect(props) {
2349
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_date_picker.DatePicker.MonthSelect, { ...props });
2350
+ }
2351
+ function DatePickerView(props) {
2352
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_date_picker.DatePicker.View, { ...props });
2353
+ }
2354
+ function DatePickerContext(props) {
2355
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_date_picker.DatePicker.Context, { ...props });
2356
+ }
2357
+ function DatePickerPrevTrigger(props) {
2358
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_date_picker.DatePicker.PrevTrigger, { ...props });
2359
+ }
2360
+ function DatePickerNextTrigger(props) {
2361
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_date_picker.DatePicker.NextTrigger, { ...props });
2362
+ }
2363
+ function DatePickerViewTrigger(props) {
2364
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_date_picker.DatePicker.ViewTrigger, { ...props });
2365
+ }
2366
+ function DatePickerTableHead(props) {
2367
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_date_picker.DatePicker.TableHead, { ...props });
2368
+ }
2369
+ function DatePickerTableRow(props) {
2370
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_date_picker.DatePicker.TableRow, { ...props });
2371
+ }
2372
+ function DatePickerTableBody(props) {
2373
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_date_picker.DatePicker.TableBody, { ...props });
2374
+ }
2723
2375
 
2724
2376
  // src/components/date-picker/parts.ts
2725
2377
  var DatePickerParts = {
@@ -2750,9 +2402,9 @@ var DatePickerParts = {
2750
2402
  };
2751
2403
 
2752
2404
  // src/components/date-picker/date-picker.tsx
2753
- var import_jsx_runtime47 = require("react/jsx-runtime");
2405
+ var import_jsx_runtime44 = require("react/jsx-runtime");
2754
2406
  function DatePicker2(props) {
2755
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2407
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
2756
2408
  DatePickerParts.Root,
2757
2409
  {
2758
2410
  ...props,
@@ -2764,19 +2416,19 @@ function DatePicker2(props) {
2764
2416
  }
2765
2417
 
2766
2418
  // src/components/date-picker/trigger.tsx
2767
- var import_jsx_runtime48 = require("react/jsx-runtime");
2419
+ var import_jsx_runtime45 = require("react/jsx-runtime");
2768
2420
  function DatePickerTrigger2(props) {
2769
2421
  const { icons } = useCerberusContext();
2770
2422
  const { calendar: CalendarIcon } = icons;
2771
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(DatePickerParts.Trigger, { ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(IconButton, { ariaLabel: "Open calendar", size: "sm", usage: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CalendarIcon, {}) }) });
2423
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(DatePickerParts.Trigger, { ...props, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(IconButton, { ariaLabel: "Open calendar", size: "sm", usage: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(CalendarIcon, {}) }) });
2772
2424
  }
2773
2425
 
2774
2426
  // src/components/date-picker/input.tsx
2775
- var import_jsx_runtime49 = require("react/jsx-runtime");
2427
+ var import_jsx_runtime46 = require("react/jsx-runtime");
2776
2428
  function DatePickerInput(props) {
2777
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DatePickerParts.Control, { children: [
2778
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DatePickerTrigger2, {}),
2779
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2429
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(DatePickerParts.Control, { children: [
2430
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(DatePickerTrigger2, {}),
2431
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
2780
2432
  DatePickerParts.Input,
2781
2433
  {
2782
2434
  ...props,
@@ -2788,15 +2440,15 @@ function DatePickerInput(props) {
2788
2440
  }
2789
2441
 
2790
2442
  // src/components/date-picker/range-input.tsx
2791
- var import_react21 = require("react");
2792
- var import_jsx_runtime50 = require("react/jsx-runtime");
2443
+ var import_react15 = require("react");
2444
+ var import_jsx_runtime47 = require("react/jsx-runtime");
2793
2445
  function RangePickerInput(props) {
2794
2446
  const { defaultValue, ...nativeProps } = props;
2795
- const startDate = (0, import_react21.useMemo)(() => defaultValue == null ? void 0 : defaultValue[0], [defaultValue]);
2796
- const endDate = (0, import_react21.useMemo)(() => defaultValue == null ? void 0 : defaultValue[1], [defaultValue]);
2797
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(DatePickerParts.Control, { "data-range": true, children: [
2798
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerTrigger2, {}),
2799
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2447
+ const startDate = (0, import_react15.useMemo)(() => defaultValue == null ? void 0 : defaultValue[0], [defaultValue]);
2448
+ const endDate = (0, import_react15.useMemo)(() => defaultValue == null ? void 0 : defaultValue[1], [defaultValue]);
2449
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(DatePickerParts.Control, { "data-range": true, children: [
2450
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(DatePickerTrigger2, {}),
2451
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2800
2452
  DatePickerParts.Input,
2801
2453
  {
2802
2454
  ...nativeProps,
@@ -2807,7 +2459,7 @@ function RangePickerInput(props) {
2807
2459
  index: 0
2808
2460
  }
2809
2461
  ),
2810
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2462
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
2811
2463
  DatePickerParts.Input,
2812
2464
  {
2813
2465
  ...nativeProps,
@@ -2823,39 +2475,39 @@ function RangePickerInput(props) {
2823
2475
  }
2824
2476
 
2825
2477
  // src/components/date-picker/content.tsx
2826
- var import_jsx_runtime51 = require("react/jsx-runtime");
2478
+ var import_jsx_runtime48 = require("react/jsx-runtime");
2827
2479
  function DatePickerContent2(props) {
2828
2480
  const { withModal, ...contentProps } = props;
2829
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Portal, { disabled: withModal ?? false, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DatePickerParts.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DatePickerParts.Content, { ...contentProps }) }) });
2481
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Portal, { disabled: withModal ?? false, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(DatePickerParts.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(DatePickerParts.Content, { ...contentProps }) }) });
2830
2482
  }
2831
2483
 
2832
2484
  // src/components/date-picker/view-control-group.tsx
2833
- var import_css31 = require("@cerberus/styled-system/css");
2834
- var import_jsx_runtime52 = require("react/jsx-runtime");
2485
+ var import_css25 = require("styled-system/css");
2486
+ var import_jsx_runtime49 = require("react/jsx-runtime");
2835
2487
  function DatePickerViewControlGroup(props) {
2836
2488
  const { icons } = useCerberusContext();
2837
2489
  const { calendarPrev: PrevIcon, calendarNext: NextIcon } = icons;
2838
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(DatePickerParts.ViewControl, { ...props, children: [
2839
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DatePickerParts.PrevTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(IconButton, { ariaLabel: "Previous", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(PrevIcon, {}) }) }),
2840
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DatePickerParts.ViewTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
2490
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DatePickerParts.ViewControl, { ...props, children: [
2491
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DatePickerParts.PrevTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(IconButton, { ariaLabel: "Previous", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(PrevIcon, {}) }) }),
2492
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DatePickerParts.ViewTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
2841
2493
  Button,
2842
2494
  {
2843
- className: (0, import_css31.css)({
2495
+ className: (0, import_css25.css)({
2844
2496
  h: "2rem",
2845
2497
  paddingInline: "md"
2846
2498
  }),
2847
2499
  shape: "rounded",
2848
2500
  size: "sm",
2849
2501
  usage: "ghost",
2850
- children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DatePickerParts.RangeText, {})
2502
+ children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DatePickerParts.RangeText, {})
2851
2503
  }
2852
2504
  ) }),
2853
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DatePickerParts.NextTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(IconButton, { ariaLabel: "Next", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(NextIcon, {}) }) })
2505
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DatePickerParts.NextTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(IconButton, { ariaLabel: "Next", size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(NextIcon, {}) }) })
2854
2506
  ] });
2855
2507
  }
2856
2508
 
2857
2509
  // src/components/date-picker/day-view.tsx
2858
- var import_jsx_runtime53 = require("react/jsx-runtime");
2510
+ var import_jsx_runtime50 = require("react/jsx-runtime");
2859
2511
  function DatePickerDayView(props) {
2860
2512
  function isToday(date) {
2861
2513
  const today = /* @__PURE__ */ new Date();
@@ -2873,11 +2525,11 @@ function DatePickerDayView(props) {
2873
2525
  if (isPastDay(date)) return "past";
2874
2526
  return "future";
2875
2527
  }
2876
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DatePickerParts.View, { ...props, view: "day", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DatePickerParts.Context, { children: (datePickerData) => /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
2877
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DatePickerViewControlGroup, {}),
2878
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(DatePickerParts.Table, { children: [
2879
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DatePickerParts.TableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DatePickerParts.TableRow, { children: datePickerData.weekDays.map((weekDay, id) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DatePickerParts.TableHeader, { children: weekDay.narrow }, id)) }) }),
2880
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DatePickerParts.TableBody, { children: datePickerData.weeks.map((week, id) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DatePickerParts.TableRow, { children: week.map((day, id2) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DatePickerParts.TableCell, { value: day, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
2528
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerParts.View, { ...props, view: "day", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerParts.Context, { children: (datePickerData) => /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(import_jsx_runtime50.Fragment, { children: [
2529
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerViewControlGroup, {}),
2530
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(DatePickerParts.Table, { children: [
2531
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerParts.TableHead, { children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerParts.TableRow, { children: datePickerData.weekDays.map((weekDay, id) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerParts.TableHeader, { children: weekDay.narrow }, id)) }) }),
2532
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerParts.TableBody, { children: datePickerData.weeks.map((week, id) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerParts.TableRow, { children: week.map((day, id2) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DatePickerParts.TableCell, { value: day, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
2881
2533
  DatePickerParts.TableCellTrigger,
2882
2534
  {
2883
2535
  "data-date": getDayValue(day),
@@ -2889,47 +2541,47 @@ function DatePickerDayView(props) {
2889
2541
  }
2890
2542
 
2891
2543
  // src/components/date-picker/month-view.tsx
2892
- var import_jsx_runtime54 = require("react/jsx-runtime");
2544
+ var import_jsx_runtime51 = require("react/jsx-runtime");
2893
2545
  function DatePickerMonthView(props) {
2894
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DatePickerParts.View, { ...props, view: "month", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DatePickerParts.Context, { children: (datePicker2) => /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(import_jsx_runtime54.Fragment, { children: [
2895
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DatePickerViewControlGroup, {}),
2896
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DatePickerParts.Table, { children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DatePickerParts.TableBody, { children: datePicker2.getMonthsGrid({ columns: 4, format: "short" }).map((months, id) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DatePickerParts.TableRow, { children: months.map((month, id2) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DatePickerParts.TableCell, { value: month.value, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(DatePickerParts.TableCellTrigger, { children: month.label }) }, id2)) }, id)) }) })
2546
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DatePickerParts.View, { ...props, view: "month", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DatePickerParts.Context, { children: (datePicker2) => /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
2547
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DatePickerViewControlGroup, {}),
2548
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DatePickerParts.Table, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DatePickerParts.TableBody, { children: datePicker2.getMonthsGrid({ columns: 4, format: "short" }).map((months, id) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DatePickerParts.TableRow, { children: months.map((month, id2) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DatePickerParts.TableCell, { value: month.value, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DatePickerParts.TableCellTrigger, { children: month.label }) }, id2)) }, id)) }) })
2897
2549
  ] }) }) });
2898
2550
  }
2899
2551
 
2900
2552
  // src/components/date-picker/year-view.tsx
2901
- var import_jsx_runtime55 = require("react/jsx-runtime");
2553
+ var import_jsx_runtime52 = require("react/jsx-runtime");
2902
2554
  function DatePickerYearView(props) {
2903
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(DatePickerParts.View, { ...props, view: "year", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(DatePickerParts.Context, { children: (datePicker2) => /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
2904
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(DatePickerViewControlGroup, {}),
2905
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(DatePickerParts.Table, { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(DatePickerParts.TableBody, { children: datePicker2.getYearsGrid({ columns: 4 }).map((years, id) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(DatePickerParts.TableRow, { children: years.map((year, id2) => /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(DatePickerParts.TableCell, { value: year.value, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(DatePickerParts.TableCellTrigger, { children: year.label }) }, id2)) }, id)) }) })
2555
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DatePickerParts.View, { ...props, view: "year", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DatePickerParts.Context, { children: (datePicker2) => /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_jsx_runtime52.Fragment, { children: [
2556
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DatePickerViewControlGroup, {}),
2557
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DatePickerParts.Table, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DatePickerParts.TableBody, { children: datePicker2.getYearsGrid({ columns: 4 }).map((years, id) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DatePickerParts.TableRow, { children: years.map((year, id2) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DatePickerParts.TableCell, { value: year.value, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DatePickerParts.TableCellTrigger, { children: year.label }) }, id2)) }, id)) }) })
2906
2558
  ] }) }) });
2907
2559
  }
2908
2560
 
2909
2561
  // src/components/date-picker/calendar.tsx
2910
- var import_jsx_runtime56 = require("react/jsx-runtime");
2562
+ var import_jsx_runtime53 = require("react/jsx-runtime");
2911
2563
  function DatePickerCalendar(props) {
2912
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(DatePickerContent2, { withModal: props.withModal, children: [
2913
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(DatePickerDayView, {}),
2914
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(DatePickerMonthView, {}),
2915
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(DatePickerYearView, {})
2564
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(DatePickerContent2, { withModal: props.withModal, children: [
2565
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DatePickerDayView, {}),
2566
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DatePickerMonthView, {}),
2567
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(DatePickerYearView, {})
2916
2568
  ] });
2917
2569
  }
2918
2570
 
2919
2571
  // src/components/Droppable.tsx
2920
2572
  var import_core = require("@dnd-kit/core");
2921
- var import_react22 = require("react");
2922
- var import_jsx_runtime57 = require("react/jsx-runtime");
2573
+ var import_react16 = require("react");
2574
+ var import_jsx_runtime54 = require("react/jsx-runtime");
2923
2575
  function Droppable(props) {
2924
2576
  const { dropped, id, disabled, data, resizeObserverConfig, ...nativeProps } = props;
2925
- const uuid = (0, import_react22.useId)();
2577
+ const uuid = (0, import_react16.useId)();
2926
2578
  const { isOver, setNodeRef } = (0, import_core.useDroppable)({
2927
2579
  data,
2928
2580
  disabled,
2929
2581
  id: id || uuid,
2930
2582
  resizeObserverConfig
2931
2583
  });
2932
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2584
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
2933
2585
  "div",
2934
2586
  {
2935
2587
  ...nativeProps,
@@ -2942,14 +2594,14 @@ function Droppable(props) {
2942
2594
  }
2943
2595
 
2944
2596
  // src/context/feature-flags.tsx
2945
- var import_react23 = require("react");
2946
- var import_jsx_runtime58 = require("react/jsx-runtime");
2947
- var FeatureFlagContext = (0, import_react23.createContext)(null);
2597
+ var import_react17 = require("react");
2598
+ var import_jsx_runtime55 = require("react/jsx-runtime");
2599
+ var FeatureFlagContext = (0, import_react17.createContext)(null);
2948
2600
  function FeatureFlags(props) {
2949
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(FeatureFlagContext.Provider, { value: props.flags, children: props.children });
2601
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(FeatureFlagContext.Provider, { value: props.flags, children: props.children });
2950
2602
  }
2951
2603
  function useFeatureFlags(key) {
2952
- const context = (0, import_react23.useContext)(FeatureFlagContext);
2604
+ const context = (0, import_react17.useContext)(FeatureFlagContext);
2953
2605
  if (context === null) {
2954
2606
  throw new Error(
2955
2607
  "useFeatureFlag must be used within a FeatureFlags Provider"
@@ -2959,50 +2611,50 @@ function useFeatureFlags(key) {
2959
2611
  }
2960
2612
 
2961
2613
  // src/components/FeatureFlag.tsx
2962
- var import_jsx_runtime59 = require("react/jsx-runtime");
2614
+ var import_jsx_runtime56 = require("react/jsx-runtime");
2963
2615
  function FeatureFlag(props) {
2964
2616
  const showContent = useFeatureFlags(props.flag);
2965
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Show, { when: showContent, children: props.children });
2617
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Show, { when: showContent, children: props.children });
2966
2618
  }
2967
2619
 
2968
2620
  // src/components/fieldset/primitives.tsx
2969
2621
  var import_fieldset = require("@ark-ui/react/fieldset");
2970
- var import_css32 = require("@cerberus/styled-system/css");
2971
- var import_recipes24 = require("@cerberus/styled-system/recipes");
2972
- var import_jsx_runtime60 = require("react/jsx-runtime");
2622
+ var import_css26 = require("styled-system/css");
2623
+ var import_recipes21 = require("styled-system/recipes");
2624
+ var import_jsx_runtime57 = require("react/jsx-runtime");
2973
2625
  function FieldsetRoot(props) {
2974
- const styles = (0, import_recipes24.fieldset)();
2975
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_fieldset.Fieldset.Root, { ...props, className: (0, import_css32.cx)(styles.root, props.className) });
2626
+ const styles = (0, import_recipes21.fieldset)();
2627
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_fieldset.Fieldset.Root, { ...props, className: (0, import_css26.cx)(styles.root, props.className) });
2976
2628
  }
2977
2629
  function FieldsetLegend(props) {
2978
2630
  const { usage, ...legendProps } = props;
2979
- const styles = (0, import_recipes24.fieldset)({ usage });
2980
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2631
+ const styles = (0, import_recipes21.fieldset)({ usage });
2632
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2981
2633
  import_fieldset.Fieldset.Legend,
2982
2634
  {
2983
2635
  ...legendProps,
2984
- className: (0, import_css32.cx)(styles.legend, legendProps.className)
2636
+ className: (0, import_css26.cx)(styles.legend, legendProps.className)
2985
2637
  }
2986
2638
  );
2987
2639
  }
2988
2640
  function FieldsetHelperText(props) {
2989
2641
  const { usage, ...helperTextProps } = props;
2990
- const styles = (0, import_recipes24.fieldset)({ usage });
2991
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2642
+ const styles = (0, import_recipes21.fieldset)({ usage });
2643
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2992
2644
  import_fieldset.Fieldset.HelperText,
2993
2645
  {
2994
2646
  ...helperTextProps,
2995
- className: (0, import_css32.cx)(styles.helperText, helperTextProps.className)
2647
+ className: (0, import_css26.cx)(styles.helperText, helperTextProps.className)
2996
2648
  }
2997
2649
  );
2998
2650
  }
2999
2651
  function FieldsetErrorText(props) {
3000
- const styles = (0, import_recipes24.fieldset)();
3001
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
2652
+ const styles = (0, import_recipes21.fieldset)();
2653
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
3002
2654
  import_fieldset.Fieldset.ErrorText,
3003
2655
  {
3004
2656
  ...props,
3005
- className: (0, import_css32.cx)(styles.errorText, props.className)
2657
+ className: (0, import_css26.cx)(styles.errorText, props.className)
3006
2658
  }
3007
2659
  );
3008
2660
  }
@@ -3016,40 +2668,40 @@ var FieldsetParts = {
3016
2668
  };
3017
2669
 
3018
2670
  // src/components/fieldset/fieldset.tsx
3019
- var import_jsx_runtime61 = require("react/jsx-runtime");
2671
+ var import_jsx_runtime58 = require("react/jsx-runtime");
3020
2672
  function Fieldset2(props) {
3021
2673
  const [fieldsetProps, { usage }, rootProps] = splitProps(
3022
2674
  props,
3023
2675
  ["legend", "helperText", "errorText", "children"],
3024
2676
  ["usage"]
3025
2677
  );
3026
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(FieldsetParts.Root, { ...rootProps, children: [
3027
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(FieldsetParts.Legend, { usage, children: fieldsetProps.legend }),
3028
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(FieldsetParts.HelperText, { usage, children: fieldsetProps.helperText }),
2678
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(FieldsetParts.Root, { ...rootProps, children: [
2679
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(FieldsetParts.Legend, { usage, children: fieldsetProps.legend }),
2680
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(FieldsetParts.HelperText, { usage, children: fieldsetProps.helperText }),
3029
2681
  fieldsetProps.children,
3030
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(FieldsetParts.ErrorText, { children: fieldsetProps.errorText })
2682
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(FieldsetParts.ErrorText, { children: fieldsetProps.errorText })
3031
2683
  ] });
3032
2684
  }
3033
2685
 
3034
2686
  // src/components/FileStatus.tsx
3035
- var import_react24 = require("react");
3036
- var import_recipes26 = require("@cerberus/styled-system/recipes");
3037
- var import_css34 = require("@cerberus/styled-system/css");
3038
- var import_patterns6 = require("@cerberus/styled-system/patterns");
2687
+ var import_react18 = require("react");
2688
+ var import_recipes23 = require("styled-system/recipes");
2689
+ var import_css28 = require("styled-system/css");
2690
+ var import_patterns4 = require("styled-system/patterns");
3039
2691
 
3040
2692
  // src/components/ProgressBar.tsx
3041
2693
  var import_factory6 = require("@ark-ui/react/factory");
3042
- var import_css33 = require("@cerberus/styled-system/css");
3043
- var import_recipes25 = require("@cerberus/styled-system/recipes");
3044
- var import_jsx_runtime62 = require("react/jsx-runtime");
2694
+ var import_css27 = require("styled-system/css");
2695
+ var import_recipes22 = require("styled-system/recipes");
2696
+ var import_jsx_runtime59 = require("react/jsx-runtime");
3045
2697
  function ProgressBar(props) {
3046
2698
  const { indeterminate, size, usage, now, label: label4, ...nativeProps } = props;
3047
- const styles = (0, import_recipes25.progressBar)({ size, usage });
2699
+ const styles = (0, import_recipes22.progressBar)({ size, usage });
3048
2700
  const nowClamped = Math.min(100, Math.max(0, now || 0));
3049
2701
  const width = {
3050
2702
  width: indeterminate ? "50%" : `${nowClamped}%`
3051
2703
  };
3052
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2704
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3053
2705
  import_factory6.ark.div,
3054
2706
  {
3055
2707
  ...nativeProps,
@@ -3057,9 +2709,9 @@ function ProgressBar(props) {
3057
2709
  "aria-valuemin": 0,
3058
2710
  "aria-valuemax": 100,
3059
2711
  "aria-valuenow": indeterminate ? 0 : nowClamped,
3060
- className: (0, import_css33.cx)(nativeProps.className, styles.root),
2712
+ className: (0, import_css27.cx)(nativeProps.className, styles.root),
3061
2713
  role: "progressbar",
3062
- children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2714
+ children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3063
2715
  import_factory6.ark.div,
3064
2716
  {
3065
2717
  ...indeterminate && { "data-indeterminate": true },
@@ -3073,7 +2725,7 @@ function ProgressBar(props) {
3073
2725
  }
3074
2726
 
3075
2727
  // src/components/FileStatus.tsx
3076
- var import_jsx_runtime63 = require("react/jsx-runtime");
2728
+ var import_jsx_runtime60 = require("react/jsx-runtime");
3077
2729
  var processStatus = /* @__PURE__ */ ((processStatus2) => {
3078
2730
  processStatus2["TODO"] = "todo";
3079
2731
  processStatus2["PROCESSING"] = "processing";
@@ -3083,24 +2735,24 @@ var processStatus = /* @__PURE__ */ ((processStatus2) => {
3083
2735
  })(processStatus || {});
3084
2736
  function FileStatus(props) {
3085
2737
  const { file, now, status, onClick, ...nativeProps } = props;
3086
- const actionLabel = (0, import_react24.useMemo)(() => getStatusActionLabel(status), [status]);
3087
- const palette = (0, import_react24.useMemo)(() => getPalette(status), [status]);
3088
- const modalIconPalette = (0, import_react24.useMemo)(() => getModalIconPalette(status), [status]);
3089
- const styles = (0, import_react24.useMemo)(() => {
2738
+ const actionLabel = (0, import_react18.useMemo)(() => getStatusActionLabel(status), [status]);
2739
+ const palette = (0, import_react18.useMemo)(() => getPalette(status), [status]);
2740
+ const modalIconPalette = (0, import_react18.useMemo)(() => getModalIconPalette(status), [status]);
2741
+ const styles = (0, import_react18.useMemo)(() => {
3090
2742
  switch (status) {
3091
2743
  case "todo" /* TODO */:
3092
- return (0, import_recipes26.fileStatus)({ status: "todo" });
2744
+ return (0, import_recipes23.fileStatus)({ status: "todo" });
3093
2745
  case "processing" /* PROCESSING */:
3094
- return (0, import_recipes26.fileStatus)({ status: "processing" });
2746
+ return (0, import_recipes23.fileStatus)({ status: "processing" });
3095
2747
  case "done" /* DONE */:
3096
- return (0, import_recipes26.fileStatus)({ status: "done" });
2748
+ return (0, import_recipes23.fileStatus)({ status: "done" });
3097
2749
  case "error" /* ERROR */:
3098
- return (0, import_recipes26.fileStatus)({ status: "error" });
2750
+ return (0, import_recipes23.fileStatus)({ status: "error" });
3099
2751
  default:
3100
- return (0, import_recipes26.fileStatus)();
2752
+ return (0, import_recipes23.fileStatus)();
3101
2753
  }
3102
2754
  }, [status]);
3103
- const handleClick = (0, import_react24.useCallback)(
2755
+ const handleClick = (0, import_react18.useCallback)(
3104
2756
  (e) => {
3105
2757
  const actionStatus = getStatusActionLabel(
3106
2758
  status
@@ -3109,39 +2761,39 @@ function FileStatus(props) {
3109
2761
  },
3110
2762
  [onClick]
3111
2763
  );
3112
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
2764
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
3113
2765
  "div",
3114
2766
  {
3115
2767
  ...nativeProps,
3116
- className: (0, import_css34.cx)(nativeProps.className, styles.root, (0, import_patterns6.hstack)()),
2768
+ className: (0, import_css28.cx)(nativeProps.className, styles.root, (0, import_patterns4.hstack)()),
3117
2769
  children: [
3118
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2770
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3119
2771
  Avatar2,
3120
2772
  {
3121
2773
  gradient: modalIconPalette,
3122
- fallback: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(MatchFileStatusIcon, { size: 24, status })
2774
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(MatchFileStatusIcon, { size: 24, status })
3123
2775
  }
3124
2776
  ),
3125
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
2777
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
3126
2778
  "div",
3127
2779
  {
3128
- className: (0, import_patterns6.vstack)({
2780
+ className: (0, import_patterns4.vstack)({
3129
2781
  alignItems: "flex-start",
3130
2782
  gap: "0.12rem",
3131
2783
  w: "full"
3132
2784
  }),
3133
2785
  children: [
3134
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2786
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3135
2787
  "small",
3136
2788
  {
3137
- className: (0, import_css34.css)({
2789
+ className: (0, import_css28.css)({
3138
2790
  color: "page.text.initial",
3139
2791
  textStyle: "label-sm"
3140
2792
  }),
3141
2793
  children: file
3142
2794
  }
3143
2795
  ),
3144
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2796
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3145
2797
  ProgressBar,
3146
2798
  {
3147
2799
  id: props.id,
@@ -3150,27 +2802,27 @@ function FileStatus(props) {
3150
2802
  size: "sm"
3151
2803
  }
3152
2804
  ),
3153
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Field2, { label: "", invalid: modalIconPalette === "hades-dark", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2805
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Field2, { label: "", invalid: modalIconPalette === "hades-dark", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3154
2806
  FieldHelperText,
3155
2807
  {
3156
- className: (0, import_css34.css)({
2808
+ className: (0, import_css28.css)({
3157
2809
  color: "page.text.100"
3158
2810
  }),
3159
2811
  id: `help:${file}`,
3160
- children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(MatchFileStatusText, { status, now })
2812
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(MatchFileStatusText, { status, now })
3161
2813
  }
3162
2814
  ) })
3163
2815
  ]
3164
2816
  }
3165
2817
  ),
3166
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
2818
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
3167
2819
  IconButton,
3168
2820
  {
3169
2821
  ariaLabel: actionLabel,
3170
2822
  onClick: handleClick,
3171
2823
  palette,
3172
2824
  size: "sm",
3173
- children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(MatchStatusAction, { status })
2825
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(MatchStatusAction, { status })
3174
2826
  }
3175
2827
  )
3176
2828
  ]
@@ -3187,13 +2839,13 @@ function MatchFileStatusIcon(props) {
3187
2839
  } = icons;
3188
2840
  switch (props.status) {
3189
2841
  case "todo" /* TODO */:
3190
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(TodoIcon, { size: props.size });
2842
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(TodoIcon, { size: props.size });
3191
2843
  case "processing" /* PROCESSING */:
3192
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(FileUploaderIcon, { size: props.size });
2844
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(FileUploaderIcon, { size: props.size });
3193
2845
  case "done" /* DONE */:
3194
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(DoneIcon, { size: props.size });
2846
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(DoneIcon, { size: props.size });
3195
2847
  case "error" /* ERROR */:
3196
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(InvalidIcon, { size: props.size });
2848
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(InvalidIcon, { size: props.size });
3197
2849
  default:
3198
2850
  throw new Error("Unknown status");
3199
2851
  }
@@ -3218,11 +2870,11 @@ function MatchStatusAction(props) {
3218
2870
  switch (props.status) {
3219
2871
  case "todo" /* TODO */:
3220
2872
  case "processing" /* PROCESSING */:
3221
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(CloseIcon, {});
2873
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(CloseIcon, {});
3222
2874
  case "error" /* ERROR */:
3223
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(RedoIcon, {});
2875
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(RedoIcon, {});
3224
2876
  case "done" /* DONE */:
3225
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(TrashIcon, {});
2877
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(TrashIcon, {});
3226
2878
  default:
3227
2879
  throw new Error("Invalid status");
3228
2880
  }
@@ -3268,48 +2920,48 @@ function getModalIconPalette(status) {
3268
2920
  }
3269
2921
 
3270
2922
  // src/components/FileUploader.tsx
3271
- var import_css35 = require("@cerberus/styled-system/css");
3272
- var import_patterns7 = require("@cerberus/styled-system/patterns");
3273
- var import_recipes27 = require("@cerberus/styled-system/recipes");
3274
- var import_jsx_runtime64 = require("react/jsx-runtime");
2923
+ var import_css29 = require("styled-system/css");
2924
+ var import_patterns5 = require("styled-system/patterns");
2925
+ var import_recipes24 = require("styled-system/recipes");
2926
+ var import_jsx_runtime61 = require("react/jsx-runtime");
3275
2927
  function FileUploader(props) {
3276
2928
  var _a;
3277
2929
  const { icons } = useCerberusContext();
3278
- const styles = (0, import_recipes27.fileUploader)();
2930
+ const styles = (0, import_recipes24.fileUploader)();
3279
2931
  const { waitingFileUploader: Icon } = icons;
3280
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
2932
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
3281
2933
  "div",
3282
2934
  {
3283
2935
  ...props.disabled ? { "aria-disabled": true } : {},
3284
- className: (0, import_css35.cx)(
3285
- (0, import_patterns7.vstack)({
2936
+ className: (0, import_css29.cx)(
2937
+ (0, import_patterns5.vstack)({
3286
2938
  justify: "center"
3287
2939
  }),
3288
2940
  styles.container
3289
2941
  ),
3290
2942
  children: [
3291
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Avatar2, { gradient: "charon-light", fallback: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Icon, {}) }) }),
3292
- /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
2943
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Avatar2, { gradient: "charon-light", fallback: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon, {}) }) }),
2944
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
3293
2945
  "label",
3294
2946
  {
3295
- className: (0, import_css35.cx)(
3296
- (0, import_patterns7.vstack)({
2947
+ className: (0, import_css29.cx)(
2948
+ (0, import_patterns5.vstack)({
3297
2949
  justify: "center"
3298
2950
  }),
3299
2951
  styles.label
3300
2952
  ),
3301
2953
  htmlFor: props.name,
3302
2954
  children: [
3303
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Show, { when: Boolean(props.heading), children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("p", { className: styles.heading, children: props.heading }) }),
2955
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Show, { when: props.heading, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("p", { className: styles.heading, children: props.heading }) }),
3304
2956
  "Import ",
3305
2957
  (_a = props.accept) == null ? void 0 : _a.replace(",", ", "),
3306
2958
  " files",
3307
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("p", { className: styles.description, children: "Click to select files" }),
3308
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
2959
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("p", { className: styles.description, children: "Click to select files" }),
2960
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3309
2961
  "input",
3310
2962
  {
3311
2963
  ...props,
3312
- className: (0, import_css35.cx)(props.className, styles.input),
2964
+ className: (0, import_css29.cx)(props.className, styles.input),
3313
2965
  type: "file"
3314
2966
  }
3315
2967
  )
@@ -3322,88 +2974,94 @@ function FileUploader(props) {
3322
2974
  }
3323
2975
 
3324
2976
  // src/components/Menu.tsx
3325
- var import_react25 = require("@ark-ui/react");
3326
- var import_recipes28 = require("@cerberus/styled-system/recipes");
3327
- var import_css36 = require("@cerberus/styled-system/css");
3328
- var import_jsx_runtime65 = require("react/jsx-runtime");
3329
- var menuStyles = (0, import_recipes28.menu)();
3330
- var Menu = import_react25.Menu.Root;
2977
+ var import_react19 = require("@ark-ui/react");
2978
+ var import_recipes25 = require("styled-system/recipes");
2979
+ var import_css30 = require("styled-system/css");
2980
+ var import_jsx_runtime62 = require("react/jsx-runtime");
2981
+ var menuStyles = (0, import_recipes25.menu)();
2982
+ function Menu(props) {
2983
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react19.Menu.Root, { ...props });
2984
+ }
3331
2985
  function MenuTrigger(props) {
3332
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react25.Menu.Trigger, { ...props, asChild: true });
2986
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react19.Menu.Trigger, { ...props, asChild: true });
3333
2987
  }
3334
2988
  function MenuContent(props) {
3335
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react25.Menu.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3336
- import_react25.Menu.Content,
2989
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react19.Menu.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
2990
+ import_react19.Menu.Content,
3337
2991
  {
3338
2992
  ...props,
3339
- className: (0, import_css36.cx)(props.className, menuStyles.content)
2993
+ className: (0, import_css30.cx)(props.className, menuStyles.content)
3340
2994
  }
3341
2995
  ) });
3342
2996
  }
3343
2997
  function MenuItem(props) {
3344
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react25.Menu.Item, { ...props, className: (0, import_css36.cx)(props.className, menuStyles.item) });
2998
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react19.Menu.Item, { ...props, className: (0, import_css30.cx)(props.className, menuStyles.item) });
2999
+ }
3000
+ function MenuItemGroup(props) {
3001
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(import_react19.Menu.ItemGroup, { ...props });
3345
3002
  }
3346
- var MenuItemGroup = import_react25.Menu.ItemGroup;
3347
3003
  function MenuGroupLabel(props) {
3348
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3349
- import_react25.Menu.ItemGroupLabel,
3004
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3005
+ import_react19.Menu.ItemGroupLabel,
3350
3006
  {
3351
3007
  ...props,
3352
- className: (0, import_css36.cx)(props.className, menuStyles.itemGroupLabel)
3008
+ className: (0, import_css30.cx)(props.className, menuStyles.itemGroupLabel)
3353
3009
  }
3354
3010
  );
3355
3011
  }
3356
3012
  function MenuSeparator(props) {
3357
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
3358
- import_react25.Menu.Separator,
3013
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
3014
+ import_react19.Menu.Separator,
3359
3015
  {
3360
3016
  ...props,
3361
- className: (0, import_css36.cx)(props.className, menuStyles.separator)
3017
+ className: (0, import_css30.cx)(props.className, menuStyles.separator)
3362
3018
  }
3363
3019
  );
3364
3020
  }
3365
3021
 
3366
3022
  // src/components/notifications/primitives.tsx
3367
3023
  var import_toast = require("@ark-ui/react/toast");
3368
- var import_css37 = require("@cerberus/styled-system/css");
3369
- var import_recipes29 = require("@cerberus/styled-system/recipes");
3370
- var import_jsx_runtime66 = require("react/jsx-runtime");
3371
- var NotificationProvider = import_toast.Toaster;
3024
+ var import_css31 = require("styled-system/css");
3025
+ var import_recipes26 = require("styled-system/recipes");
3026
+ var import_jsx_runtime63 = require("react/jsx-runtime");
3027
+ function NotificationProvider(props) {
3028
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_toast.Toaster, { ...props });
3029
+ }
3372
3030
  function NotificationRoot(props) {
3373
- const styles = (0, import_recipes29.toast)();
3374
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_toast.Toast.Root, { ...props, className: (0, import_css37.cx)(styles.root, props.className) });
3031
+ const styles = (0, import_recipes26.toast)();
3032
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_toast.Toast.Root, { ...props, className: (0, import_css31.cx)(styles.root, props.className) });
3375
3033
  }
3376
3034
  function NotificationHeading(props) {
3377
- const styles = (0, import_recipes29.toast)();
3378
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_toast.Toast.Title, { ...props, className: (0, import_css37.cx)(styles.title, props.className) });
3035
+ const styles = (0, import_recipes26.toast)();
3036
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_toast.Toast.Title, { ...props, className: (0, import_css31.cx)(styles.title, props.className) });
3379
3037
  }
3380
3038
  function NotificationDescription(props) {
3381
- const styles = (0, import_recipes29.toast)();
3382
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3039
+ const styles = (0, import_recipes26.toast)();
3040
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3383
3041
  import_toast.Toast.Description,
3384
3042
  {
3385
3043
  ...props,
3386
- className: (0, import_css37.cx)(styles.description, props.className)
3044
+ className: (0, import_css31.cx)(styles.description, props.className)
3387
3045
  }
3388
3046
  );
3389
3047
  }
3390
3048
  function NotificationCloseTrigger(props) {
3391
- const styles = (0, import_recipes29.toast)();
3392
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3049
+ const styles = (0, import_recipes26.toast)();
3050
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3393
3051
  import_toast.Toast.CloseTrigger,
3394
3052
  {
3395
3053
  ...props,
3396
- className: (0, import_css37.cx)(styles.closeTrigger, props.className)
3054
+ className: (0, import_css31.cx)(styles.closeTrigger, props.className)
3397
3055
  }
3398
3056
  );
3399
3057
  }
3400
3058
  function NotificationActionTrigger(props) {
3401
- const styles = (0, import_recipes29.toast)();
3402
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3059
+ const styles = (0, import_recipes26.toast)();
3060
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
3403
3061
  import_toast.Toast.ActionTrigger,
3404
3062
  {
3405
3063
  ...props,
3406
- className: (0, import_css37.cx)(styles.actionTrigger, props.className)
3064
+ className: (0, import_css31.cx)(styles.actionTrigger, props.className)
3407
3065
  }
3408
3066
  );
3409
3067
  }
@@ -3419,53 +3077,53 @@ var NotificationParts = {
3419
3077
 
3420
3078
  // src/components/notifications/center.tsx
3421
3079
  var import_toast2 = require("@ark-ui/react/toast");
3422
- var import_jsx7 = require("@cerberus/styled-system/jsx");
3080
+ var import_jsx5 = require("styled-system/jsx");
3423
3081
 
3424
3082
  // src/components/notifications/match-icon.tsx
3425
- var import_recipes30 = require("@cerberus/styled-system/recipes");
3083
+ var import_recipes27 = require("styled-system/recipes");
3426
3084
  var import_factory7 = require("@ark-ui/react/factory");
3427
- var import_jsx_runtime67 = require("react/jsx-runtime");
3085
+ var import_jsx_runtime64 = require("react/jsx-runtime");
3428
3086
  function MatchNotificationIcon(props) {
3429
3087
  const { icons } = useCerberusContext();
3430
3088
  const type = props.type || "info";
3431
- const styles = (0, import_recipes30.toast)();
3089
+ const styles = (0, import_recipes27.toast)();
3432
3090
  const key = `${type}Notification`;
3433
3091
  const Icon = icons[key] || ToastLoadingIcon;
3434
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_factory7.ark.div, { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Icon, {}) });
3092
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_factory7.ark.div, { className: styles.icon, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Icon, {}) });
3435
3093
  }
3436
3094
  function ToastLoadingIcon() {
3437
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Spinner, { size: "1rem" });
3095
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Spinner, { size: "1rem" });
3438
3096
  }
3439
3097
 
3440
3098
  // src/components/notifications/close-trigger.tsx
3441
- var import_jsx_runtime68 = require("react/jsx-runtime");
3099
+ var import_jsx_runtime65 = require("react/jsx-runtime");
3442
3100
  function ToastCloseTrigger(props) {
3443
3101
  const { icons } = useCerberusContext();
3444
3102
  const { close: CloseIcon } = icons;
3445
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(NotificationParts.CloseTrigger, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(CloseIcon, {}) });
3103
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(NotificationParts.CloseTrigger, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(CloseIcon, {}) });
3446
3104
  }
3447
3105
 
3448
3106
  // src/components/notifications/center.tsx
3449
- var import_jsx_runtime69 = require("react/jsx-runtime");
3107
+ var import_jsx_runtime66 = require("react/jsx-runtime");
3450
3108
  var toaster = (0, import_toast2.createToaster)({
3451
3109
  gap: 16,
3452
3110
  overlap: true,
3453
3111
  placement: "top-end"
3454
3112
  });
3455
3113
  function NotificationCenter() {
3456
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_toast2.Toaster, { toaster, children: (toast3) => {
3114
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_toast2.Toaster, { toaster, children: (toast3) => {
3457
3115
  var _a;
3458
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(NotificationParts.Root, { children: [
3459
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3116
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(NotificationParts.Root, { children: [
3117
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3460
3118
  MatchNotificationIcon,
3461
3119
  {
3462
3120
  type: toast3.type
3463
3121
  }
3464
3122
  ),
3465
- /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_jsx7.Box, { flex: "1", paddingBlock: "sm", children: [
3466
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(NotificationParts.Heading, { children: toast3.title }),
3467
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(NotificationParts.Description, { children: toast3.description }),
3468
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Show, { when: Boolean(toast3.action), children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(NotificationParts.ActionTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3123
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(import_jsx5.Box, { flex: "1", paddingBlock: "sm", children: [
3124
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(NotificationParts.Heading, { children: toast3.title }),
3125
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(NotificationParts.Description, { children: toast3.description }),
3126
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Show, { when: toast3.action, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(NotificationParts.ActionTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
3469
3127
  Button,
3470
3128
  {
3471
3129
  palette: toast3.type,
@@ -3475,7 +3133,7 @@ function NotificationCenter() {
3475
3133
  }
3476
3134
  ) }) })
3477
3135
  ] }),
3478
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(ToastCloseTrigger, {})
3136
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ToastCloseTrigger, {})
3479
3137
  ] }, toast3.id);
3480
3138
  } });
3481
3139
  }
@@ -3493,74 +3151,74 @@ function useNotificationCenter() {
3493
3151
 
3494
3152
  // src/components/radio/primitives.tsx
3495
3153
  var import_radio_group = require("@ark-ui/react/radio-group");
3496
- var import_css38 = require("@cerberus/styled-system/css");
3497
- var import_recipes31 = require("@cerberus/styled-system/recipes");
3498
- var import_jsx_runtime70 = require("react/jsx-runtime");
3154
+ var import_css32 = require("styled-system/css");
3155
+ var import_recipes28 = require("styled-system/recipes");
3156
+ var import_jsx_runtime67 = require("react/jsx-runtime");
3499
3157
  function RadioGroupRoot(props) {
3500
3158
  const { size, orientation, ...rootProps } = props;
3501
- const styles = (0, import_recipes31.radioGroup)({ size, orientation });
3502
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3159
+ const styles = (0, import_recipes28.radioGroup)({ size, orientation });
3160
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3503
3161
  import_radio_group.RadioGroup.Root,
3504
3162
  {
3505
3163
  ...rootProps,
3506
- className: (0, import_css38.cx)(styles.root, rootProps.className)
3164
+ className: (0, import_css32.cx)(styles.root, rootProps.className)
3507
3165
  }
3508
3166
  );
3509
3167
  }
3510
3168
  function RadioGroupLabel(props) {
3511
- const styles = (0, import_recipes31.radioGroup)();
3512
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3169
+ const styles = (0, import_recipes28.radioGroup)();
3170
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3513
3171
  import_radio_group.RadioGroup.Label,
3514
3172
  {
3515
3173
  ...props,
3516
- className: (0, import_css38.cx)(styles.label, props.className)
3174
+ className: (0, import_css32.cx)(styles.label, props.className)
3517
3175
  }
3518
3176
  );
3519
3177
  }
3520
3178
  function RadioGroupIndicator(props) {
3521
- const styles = (0, import_recipes31.radioGroup)();
3522
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3179
+ const styles = (0, import_recipes28.radioGroup)();
3180
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3523
3181
  import_radio_group.RadioGroup.Indicator,
3524
3182
  {
3525
3183
  ...props,
3526
- className: (0, import_css38.cx)(styles.indicator, props.className)
3184
+ className: (0, import_css32.cx)(styles.indicator, props.className)
3527
3185
  }
3528
3186
  );
3529
3187
  }
3530
3188
  function RadioGroupItem(props) {
3531
- const styles = (0, import_recipes31.radioGroup)();
3532
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3189
+ const styles = (0, import_recipes28.radioGroup)();
3190
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3533
3191
  import_radio_group.RadioGroup.Item,
3534
3192
  {
3535
3193
  ...props,
3536
- className: (0, import_css38.cx)(styles.item, props.className)
3194
+ className: (0, import_css32.cx)(styles.item, props.className)
3537
3195
  }
3538
3196
  );
3539
3197
  }
3540
3198
  function RadioGroupItemText(props) {
3541
3199
  const { size, orientation, ...itemTextProps } = props;
3542
- const styles = (0, import_recipes31.radioGroup)({ size, orientation });
3543
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3200
+ const styles = (0, import_recipes28.radioGroup)({ size, orientation });
3201
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3544
3202
  import_radio_group.RadioGroup.ItemText,
3545
3203
  {
3546
3204
  ...itemTextProps,
3547
- className: (0, import_css38.cx)(styles.itemText, itemTextProps.className)
3205
+ className: (0, import_css32.cx)(styles.itemText, itemTextProps.className)
3548
3206
  }
3549
3207
  );
3550
3208
  }
3551
3209
  function RadioGroupItemControl(props) {
3552
3210
  const { size, orientation, ...itemControlProps } = props;
3553
- const styles = (0, import_recipes31.radioGroup)({ size, orientation });
3554
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3211
+ const styles = (0, import_recipes28.radioGroup)({ size, orientation });
3212
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
3555
3213
  import_radio_group.RadioGroup.ItemControl,
3556
3214
  {
3557
3215
  ...itemControlProps,
3558
- className: (0, import_css38.cx)(styles.itemControl, itemControlProps.className)
3216
+ className: (0, import_css32.cx)(styles.itemControl, itemControlProps.className)
3559
3217
  }
3560
3218
  );
3561
3219
  }
3562
3220
  function RadioGroupItemHiddenInput(props) {
3563
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(import_radio_group.RadioGroup.ItemHiddenInput, { ...props });
3221
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(import_radio_group.RadioGroup.ItemHiddenInput, { ...props });
3564
3222
  }
3565
3223
  var RadioGroup = RadioGroupRoot;
3566
3224
 
@@ -3576,71 +3234,71 @@ var RadioParts = {
3576
3234
  };
3577
3235
 
3578
3236
  // src/components/radio/radio.tsx
3579
- var import_jsx_runtime71 = require("react/jsx-runtime");
3237
+ var import_jsx_runtime68 = require("react/jsx-runtime");
3580
3238
  function Radio(props) {
3581
3239
  const { size, children, ...groupProps } = props;
3582
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(RadioGroupItem, { ...groupProps, children: [
3583
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(RadioGroupItemControl, { size }),
3584
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(RadioGroupItemText, { size, children }),
3585
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(RadioGroupItemHiddenInput, {})
3240
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(RadioGroupItem, { ...groupProps, children: [
3241
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(RadioGroupItemControl, { size }),
3242
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(RadioGroupItemText, { size, children }),
3243
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(RadioGroupItemHiddenInput, {})
3586
3244
  ] });
3587
3245
  }
3588
3246
 
3589
3247
  // src/components/rating/primitives.tsx
3590
3248
  var import_rating_group = require("@ark-ui/react/rating-group");
3591
- var import_css39 = require("@cerberus/styled-system/css");
3592
- var import_recipes32 = require("@cerberus/styled-system/recipes");
3593
- var import_jsx_runtime72 = require("react/jsx-runtime");
3249
+ var import_css33 = require("styled-system/css");
3250
+ var import_recipes29 = require("styled-system/recipes");
3251
+ var import_jsx_runtime69 = require("react/jsx-runtime");
3594
3252
  function RatingRoot(props) {
3595
3253
  const { orientation, size, ...rootProps } = props;
3596
- const styles = (0, import_recipes32.ratingGroup)({ orientation, size });
3597
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3254
+ const styles = (0, import_recipes29.ratingGroup)({ orientation, size });
3255
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3598
3256
  import_rating_group.RatingGroup.Root,
3599
3257
  {
3600
3258
  ...rootProps,
3601
- className: (0, import_css39.cx)(styles.root, rootProps.className)
3259
+ className: (0, import_css33.cx)(styles.root, rootProps.className)
3602
3260
  }
3603
3261
  );
3604
3262
  }
3605
3263
  function RatingLabel(props) {
3606
- const styles = (0, import_recipes32.ratingGroup)();
3607
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3264
+ const styles = (0, import_recipes29.ratingGroup)();
3265
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3608
3266
  import_rating_group.RatingGroup.Label,
3609
3267
  {
3610
3268
  ...props,
3611
- className: (0, import_css39.cx)(styles.label, props.className)
3269
+ className: (0, import_css33.cx)(styles.label, props.className)
3612
3270
  }
3613
3271
  );
3614
3272
  }
3615
3273
  function RatingControl(props) {
3616
- const styles = (0, import_recipes32.ratingGroup)();
3617
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3274
+ const styles = (0, import_recipes29.ratingGroup)();
3275
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3618
3276
  import_rating_group.RatingGroup.Control,
3619
3277
  {
3620
3278
  ...props,
3621
- className: (0, import_css39.cx)(styles.control, props.className)
3279
+ className: (0, import_css33.cx)(styles.control, props.className)
3622
3280
  }
3623
3281
  );
3624
3282
  }
3625
3283
  function RatingContext(props) {
3626
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_rating_group.RatingGroup.Context, { ...props });
3284
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_rating_group.RatingGroup.Context, { ...props });
3627
3285
  }
3628
3286
  function RatingItem(props) {
3629
3287
  const { palette, ...itemProps } = props;
3630
- const styles = (0, import_recipes32.ratingGroup)({ palette });
3631
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
3288
+ const styles = (0, import_recipes29.ratingGroup)({ palette });
3289
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
3632
3290
  import_rating_group.RatingGroup.Item,
3633
3291
  {
3634
3292
  ...itemProps,
3635
- className: (0, import_css39.cx)(styles.item, itemProps.className)
3293
+ className: (0, import_css33.cx)(styles.item, itemProps.className)
3636
3294
  }
3637
3295
  );
3638
3296
  }
3639
3297
  function RatingItemContext(props) {
3640
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_rating_group.RatingGroup.ItemContext, { ...props });
3298
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_rating_group.RatingGroup.ItemContext, { ...props });
3641
3299
  }
3642
3300
  function RatingHiddenInput(props) {
3643
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(import_rating_group.RatingGroup.HiddenInput, { ...props });
3301
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(import_rating_group.RatingGroup.HiddenInput, { ...props });
3644
3302
  }
3645
3303
 
3646
3304
  // src/components/rating/parts.tsx
@@ -3655,21 +3313,21 @@ var RatingParts = {
3655
3313
  };
3656
3314
 
3657
3315
  // src/components/rating/rating.tsx
3658
- var import_jsx_runtime73 = require("react/jsx-runtime");
3316
+ var import_jsx_runtime70 = require("react/jsx-runtime");
3659
3317
  function Rating(props) {
3660
3318
  const [{ label: label4 }, styleProps, rootProps] = splitProps(
3661
3319
  props,
3662
3320
  ["label"],
3663
3321
  ["orientation", "palette", "size"]
3664
3322
  );
3665
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(RatingParts.Root, { ...styleProps, ...rootProps, children: [
3666
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Show, { when: Boolean(label4), children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(RatingParts.Label, { children: label4 }) }),
3667
- /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(RatingParts.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(RatingParts.Context, { children: (context) => context.items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3323
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(RatingParts.Root, { ...styleProps, ...rootProps, children: [
3324
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Show, { when: label4, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(RatingParts.Label, { children: label4 }) }),
3325
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(RatingParts.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(RatingParts.Context, { children: (context) => context.items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
3668
3326
  RatingParts.Item,
3669
3327
  {
3670
3328
  index: item,
3671
3329
  palette: styleProps.palette,
3672
- children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(RatingParts.ItemContext, { children: rootProps.children })
3330
+ children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(RatingParts.ItemContext, { children: rootProps.children })
3673
3331
  },
3674
3332
  item
3675
3333
  )) }) })
@@ -3696,78 +3354,80 @@ var SelectParts = {
3696
3354
  };
3697
3355
 
3698
3356
  // src/components/select/select.tsx
3699
- var import_jsx8 = require("@cerberus/styled-system/jsx");
3700
- var import_jsx_runtime74 = require("react/jsx-runtime");
3357
+ var import_jsx6 = require("styled-system/jsx");
3358
+ var import_jsx_runtime71 = require("react/jsx-runtime");
3701
3359
  function Select2(props) {
3702
3360
  const { collection, placeholder, ...rootProps } = props;
3703
3361
  const { icons } = useCerberusContext();
3704
3362
  const { selectArrow: SelectArrow, invalid: InvalidIcon } = icons;
3705
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(SelectParts.Root, { collection, ...rootProps, children: [
3706
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(SelectParts.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(SelectParts.Trigger, { children: [
3707
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(SelectParts.ValueText, { placeholder }),
3708
- /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(import_jsx8.HStack, { children: [
3709
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Show, { when: props.invalid, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(InvalidIcon, { "data-part": "invalid-icon" }) }),
3710
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(SelectParts.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(SelectArrow, {}) })
3363
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(SelectParts.Root, { collection, ...rootProps, children: [
3364
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(SelectParts.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(SelectParts.Trigger, { children: [
3365
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(SelectParts.ValueText, { placeholder }),
3366
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx6.HStack, { children: [
3367
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Show, { when: props.invalid, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(InvalidIcon, { "data-part": "invalid-icon" }) }),
3368
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(SelectParts.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(SelectArrow, {}) })
3711
3369
  ] })
3712
3370
  ] }) }),
3713
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(SelectParts.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(SelectParts.Content, { size: rootProps.size, children: props.children }) }) }),
3714
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(SelectParts.HiddenSelect, {})
3371
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(SelectParts.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(SelectParts.Content, { size: rootProps.size, children: props.children }) }) }),
3372
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(SelectParts.HiddenSelect, {})
3715
3373
  ] });
3716
3374
  }
3717
3375
  function Option(props) {
3718
3376
  const { item, ...itemProps } = props;
3719
3377
  const { icons } = useCerberusContext();
3720
3378
  const { selectChecked: CheckedIcon } = icons;
3721
- return /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(SelectParts.Item, { ...itemProps, item, children: [
3722
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(SelectParts.ItemText, { children: item == null ? void 0 : item.label }),
3723
- /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(SelectParts.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(CheckedIcon, {}) })
3379
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(SelectParts.Item, { ...itemProps, item, children: [
3380
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(SelectParts.ItemText, { children: item == null ? void 0 : item.label }),
3381
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(SelectParts.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(CheckedIcon, {}) })
3724
3382
  ] });
3725
3383
  }
3726
3384
 
3727
3385
  // src/components/select/option-group.tsx
3728
- var import_jsx_runtime75 = require("react/jsx-runtime");
3386
+ var import_jsx_runtime72 = require("react/jsx-runtime");
3729
3387
  function OptionGroup(props) {
3730
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(SelectItemGroup, { ...props });
3388
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(SelectItemGroup, { ...props });
3731
3389
  }
3732
3390
  function OptionGroupLabel(props) {
3733
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(SelectItemGroupLabel, { ...props });
3391
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(SelectItemGroupLabel, { ...props });
3734
3392
  }
3735
3393
 
3736
3394
  // src/components/switch/primitives.tsx
3737
- var import_react26 = require("@ark-ui/react");
3738
- var import_css40 = require("@cerberus/styled-system/css");
3739
- var import_recipes33 = require("@cerberus/styled-system/recipes");
3740
- var import_jsx_runtime76 = require("react/jsx-runtime");
3395
+ var import_switch = require("@ark-ui/react/switch");
3396
+ var import_css34 = require("styled-system/css");
3397
+ var import_recipes30 = require("styled-system/recipes");
3398
+ var import_jsx_runtime73 = require("react/jsx-runtime");
3741
3399
  function SwitchRoot(props) {
3742
3400
  const { size, ...rootProps } = props;
3743
- const styles = (0, import_recipes33.switchRecipe)({ size });
3744
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
3745
- import_react26.Switch.Root,
3401
+ const styles = (0, import_recipes30.switchRecipe)({ size });
3402
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3403
+ import_switch.Switch.Root,
3746
3404
  {
3747
3405
  ...rootProps,
3748
- className: (0, import_css40.cx)(styles.root, rootProps.className)
3406
+ className: (0, import_css34.cx)(styles.root, rootProps.className)
3749
3407
  }
3750
3408
  );
3751
3409
  }
3752
3410
  function SwitchLabel(props) {
3753
- const styles = (0, import_recipes33.switchRecipe)();
3754
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_react26.Switch.Label, { ...props, className: (0, import_css40.cx)(styles.label, props.className) });
3411
+ const styles = (0, import_recipes30.switchRecipe)();
3412
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_switch.Switch.Label, { ...props, className: (0, import_css34.cx)(styles.label, props.className) });
3755
3413
  }
3756
3414
  function SwitchControl(props) {
3757
- const styles = (0, import_recipes33.switchRecipe)();
3758
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
3759
- import_react26.Switch.Control,
3415
+ const styles = (0, import_recipes30.switchRecipe)();
3416
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
3417
+ import_switch.Switch.Control,
3760
3418
  {
3761
3419
  ...props,
3762
- className: (0, import_css40.cx)(styles.control, props.className)
3420
+ className: (0, import_css34.cx)(styles.control, props.className)
3763
3421
  }
3764
3422
  );
3765
3423
  }
3766
3424
  function SwitchThumb(props) {
3767
- const styles = (0, import_recipes33.switchRecipe)();
3768
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_react26.Switch.Thumb, { ...props, className: (0, import_css40.cx)(styles.thumb, props.className) });
3425
+ const styles = (0, import_recipes30.switchRecipe)();
3426
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_switch.Switch.Thumb, { ...props, className: (0, import_css34.cx)(styles.thumb, props.className) });
3427
+ }
3428
+ function SwitchHiddenInput(props) {
3429
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(import_switch.Switch.HiddenInput, { ...props });
3769
3430
  }
3770
- var SwitchHiddenInput = import_react26.Switch.HiddenInput;
3771
3431
 
3772
3432
  // src/components/switch/parts.ts
3773
3433
  var SwitchParts = {
@@ -3779,148 +3439,148 @@ var SwitchParts = {
3779
3439
  };
3780
3440
 
3781
3441
  // src/components/switch/switch-indicator.tsx
3782
- var import_jsx_runtime77 = require("react/jsx-runtime");
3442
+ var import_jsx_runtime74 = require("react/jsx-runtime");
3783
3443
  function SwitchIndicator() {
3784
3444
  const { icons } = useCerberusContext();
3785
3445
  const { toggleChecked: CheckIcon } = icons;
3786
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(CheckIcon, {});
3446
+ return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(CheckIcon, {});
3787
3447
  }
3788
3448
 
3789
3449
  // src/components/switch/switch.tsx
3790
- var import_jsx_runtime78 = require("react/jsx-runtime");
3450
+ var import_jsx_runtime75 = require("react/jsx-runtime");
3791
3451
  function Switch2(props) {
3792
3452
  const { children, ...rootProps } = props;
3793
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(SwitchParts.Root, { ...rootProps, children: [
3794
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(SwitchParts.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(SwitchParts.Thumb, { children: /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(SwitchIndicator, {}) }) }),
3795
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(SwitchParts.Label, { children }),
3796
- /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(SwitchParts.HiddenInput, {})
3453
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(SwitchParts.Root, { ...rootProps, children: [
3454
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(SwitchParts.Control, { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(SwitchParts.Thumb, { children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(SwitchIndicator, {}) }) }),
3455
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(SwitchParts.Label, { children }),
3456
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(SwitchParts.HiddenInput, {})
3797
3457
  ] });
3798
3458
  }
3799
3459
 
3800
3460
  // src/components/table/primitives.tsx
3801
3461
  var import_factory8 = require("@ark-ui/react/factory");
3802
- var import_css41 = require("@cerberus/styled-system/css");
3803
- var import_recipes34 = require("@cerberus/styled-system/recipes");
3804
- var import_jsx_runtime79 = require("react/jsx-runtime");
3462
+ var import_css35 = require("styled-system/css");
3463
+ var import_recipes31 = require("styled-system/recipes");
3464
+ var import_jsx_runtime76 = require("react/jsx-runtime");
3805
3465
  function TableRoot(props) {
3806
3466
  const { decoration, size, ...rootProps } = props;
3807
- const styles = (0, import_recipes34.table)({
3467
+ const styles = (0, import_recipes31.table)({
3808
3468
  decoration,
3809
3469
  size
3810
3470
  });
3811
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3471
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
3812
3472
  import_factory8.ark.div,
3813
3473
  {
3814
3474
  ...rootProps,
3815
- className: (0, import_css41.cx)(styles.root, rootProps.className),
3475
+ className: (0, import_css35.cx)(styles.root, rootProps.className),
3816
3476
  "data-scope": "table",
3817
3477
  "data-part": "root"
3818
3478
  }
3819
3479
  );
3820
3480
  }
3821
3481
  function TableEl(props) {
3822
- const styles = (0, import_recipes34.table)();
3823
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3482
+ const styles = (0, import_recipes31.table)();
3483
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
3824
3484
  import_factory8.ark.table,
3825
3485
  {
3826
3486
  ...props,
3827
- className: (0, import_css41.cx)(styles.table, props.className),
3487
+ className: (0, import_css35.cx)(styles.table, props.className),
3828
3488
  "data-scope": "table",
3829
3489
  "data-part": "table"
3830
3490
  }
3831
3491
  );
3832
3492
  }
3833
3493
  function Caption(props) {
3834
- const styles = (0, import_recipes34.table)();
3835
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3494
+ const styles = (0, import_recipes31.table)();
3495
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
3836
3496
  import_factory8.ark.caption,
3837
3497
  {
3838
3498
  ...props,
3839
- className: (0, import_css41.cx)(styles.caption, props.className),
3499
+ className: (0, import_css35.cx)(styles.caption, props.className),
3840
3500
  "data-scope": "table",
3841
3501
  "data-part": "caption"
3842
3502
  }
3843
3503
  );
3844
3504
  }
3845
3505
  function Thead(props) {
3846
- const styles = (0, import_recipes34.table)();
3847
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3506
+ const styles = (0, import_recipes31.table)();
3507
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
3848
3508
  import_factory8.ark.thead,
3849
3509
  {
3850
3510
  ...props,
3851
- className: (0, import_css41.cx)(styles.thead, props.className),
3511
+ className: (0, import_css35.cx)(styles.thead, props.className),
3852
3512
  "data-scope": "table",
3853
3513
  "data-part": "header"
3854
3514
  }
3855
3515
  );
3856
3516
  }
3857
3517
  function Th(props) {
3858
- const styles = (0, import_recipes34.table)();
3859
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3518
+ const styles = (0, import_recipes31.table)();
3519
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
3860
3520
  import_factory8.ark.th,
3861
3521
  {
3862
3522
  ...props,
3863
- className: (0, import_css41.cx)(styles.th, props.className),
3523
+ className: (0, import_css35.cx)(styles.th, props.className),
3864
3524
  "data-scope": "table",
3865
3525
  "data-part": "header-col"
3866
3526
  }
3867
3527
  );
3868
3528
  }
3869
3529
  function Tbody(props) {
3870
- const styles = (0, import_recipes34.table)();
3871
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3530
+ const styles = (0, import_recipes31.table)();
3531
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
3872
3532
  import_factory8.ark.tbody,
3873
3533
  {
3874
3534
  ...props,
3875
- className: (0, import_css41.cx)(styles.tbody, props.className),
3535
+ className: (0, import_css35.cx)(styles.tbody, props.className),
3876
3536
  "data-scope": "table",
3877
3537
  "data-part": "body"
3878
3538
  }
3879
3539
  );
3880
3540
  }
3881
3541
  function Tr(props) {
3882
- const styles = (0, import_recipes34.table)();
3883
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3542
+ const styles = (0, import_recipes31.table)();
3543
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
3884
3544
  import_factory8.ark.tr,
3885
3545
  {
3886
3546
  ...props,
3887
- className: (0, import_css41.cx)(styles.tr, props.className),
3547
+ className: (0, import_css35.cx)(styles.tr, props.className),
3888
3548
  "data-scope": "table",
3889
3549
  "data-part": "row"
3890
3550
  }
3891
3551
  );
3892
3552
  }
3893
3553
  function Td(props) {
3894
- const styles = (0, import_recipes34.table)();
3895
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3554
+ const styles = (0, import_recipes31.table)();
3555
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
3896
3556
  import_factory8.ark.td,
3897
3557
  {
3898
3558
  ...props,
3899
- className: (0, import_css41.cx)(styles.td, props.className),
3559
+ className: (0, import_css35.cx)(styles.td, props.className),
3900
3560
  "data-scope": "table",
3901
3561
  "data-part": "cell"
3902
3562
  }
3903
3563
  );
3904
3564
  }
3905
3565
  function Tfoot(props) {
3906
- const styles = (0, import_recipes34.table)();
3907
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3566
+ const styles = (0, import_recipes31.table)();
3567
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
3908
3568
  import_factory8.ark.tfoot,
3909
3569
  {
3910
3570
  ...props,
3911
- className: (0, import_css41.cx)(styles.tfoot, props.className),
3571
+ className: (0, import_css35.cx)(styles.tfoot, props.className),
3912
3572
  "data-scope": "table",
3913
3573
  "data-part": "footer"
3914
3574
  }
3915
3575
  );
3916
3576
  }
3917
3577
  function TableTrigger(props) {
3918
- const styles = (0, import_recipes34.table)();
3919
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
3578
+ const styles = (0, import_recipes31.table)();
3579
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
3920
3580
  import_factory8.ark.button,
3921
3581
  {
3922
3582
  ...props,
3923
- className: (0, import_css41.cx)(styles.trigger, props.className),
3583
+ className: (0, import_css35.cx)(styles.trigger, props.className),
3924
3584
  "data-scope": "table",
3925
3585
  "data-part": "trigger"
3926
3586
  }
@@ -3942,11 +3602,11 @@ var TableParts = {
3942
3602
  };
3943
3603
 
3944
3604
  // src/components/table/table.tsx
3945
- var import_jsx_runtime80 = require("react/jsx-runtime");
3605
+ var import_jsx_runtime77 = require("react/jsx-runtime");
3946
3606
  function TableRootEl(props) {
3947
3607
  const { sticky, caption, ...rootProps } = props;
3948
- return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(TableRoot, { ...rootProps, "data-sticky": sticky ?? false, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(TableEl, { children: [
3949
- /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Show, { when: Boolean(caption), children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Caption, { children: caption }) }),
3608
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(TableRoot, { ...rootProps, "data-sticky": sticky ?? false, children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(TableEl, { children: [
3609
+ /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Show, { when: caption, children: /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(Caption, { children: caption }) }),
3950
3610
  rootProps.children
3951
3611
  ] }) });
3952
3612
  }
@@ -3964,39 +3624,39 @@ var Table = {
3964
3624
 
3965
3625
  // src/components/tabs/primitives.tsx
3966
3626
  var import_tabs = require("@ark-ui/react/tabs");
3967
- var import_css42 = require("@cerberus/styled-system/css");
3968
- var import_recipes35 = require("@cerberus/styled-system/recipes");
3969
- var import_jsx_runtime81 = require("react/jsx-runtime");
3627
+ var import_css36 = require("styled-system/css");
3628
+ var import_recipes32 = require("styled-system/recipes");
3629
+ var import_jsx_runtime78 = require("react/jsx-runtime");
3970
3630
  function TabsRoot(props) {
3971
3631
  const { palette, ...rootProps } = props;
3972
- const styles = (0, import_recipes35.tabs)({ palette });
3973
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
3632
+ const styles = (0, import_recipes32.tabs)({ palette });
3633
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
3974
3634
  import_tabs.Tabs.Root,
3975
3635
  {
3976
3636
  ...rootProps,
3977
- className: (0, import_css42.cx)(styles.root, rootProps.className)
3637
+ className: (0, import_css36.cx)(styles.root, rootProps.className)
3978
3638
  }
3979
3639
  );
3980
3640
  }
3981
3641
  function TabsList(props) {
3982
- const styles = (0, import_recipes35.tabs)();
3983
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_tabs.Tabs.List, { ...props, className: (0, import_css42.cx)(styles.list, props.className) });
3642
+ const styles = (0, import_recipes32.tabs)();
3643
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_tabs.Tabs.List, { ...props, className: (0, import_css36.cx)(styles.list, props.className) });
3984
3644
  }
3985
3645
  function TabsTrigger(props) {
3986
- const styles = (0, import_recipes35.tabs)();
3987
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_tabs.Tabs.Trigger, { ...props, className: (0, import_css42.cx)(styles.trigger, props.className) });
3646
+ const styles = (0, import_recipes32.tabs)();
3647
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_tabs.Tabs.Trigger, { ...props, className: (0, import_css36.cx)(styles.trigger, props.className) });
3988
3648
  }
3989
3649
  function TabsContent(props) {
3990
- const styles = (0, import_recipes35.tabs)();
3991
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_tabs.Tabs.Content, { ...props, className: (0, import_css42.cx)(styles.content, props.className) });
3650
+ const styles = (0, import_recipes32.tabs)();
3651
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(import_tabs.Tabs.Content, { ...props, className: (0, import_css36.cx)(styles.content, props.className) });
3992
3652
  }
3993
3653
  function TabsIndicator(props) {
3994
- const styles = (0, import_recipes35.tabs)();
3995
- return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
3654
+ const styles = (0, import_recipes32.tabs)();
3655
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
3996
3656
  import_tabs.Tabs.Indicator,
3997
3657
  {
3998
3658
  ...props,
3999
- className: (0, import_css42.cx)(styles.indicator, props.className)
3659
+ className: (0, import_css36.cx)(styles.indicator, props.className)
4000
3660
  }
4001
3661
  );
4002
3662
  }
@@ -4011,12 +3671,12 @@ var TabsParts = {
4011
3671
  };
4012
3672
 
4013
3673
  // src/components/tabs/tabs.tsx
4014
- var import_jsx_runtime82 = require("react/jsx-runtime");
3674
+ var import_jsx_runtime79 = require("react/jsx-runtime");
4015
3675
  function TabsList2(props) {
4016
3676
  const { children, ...listProps } = props;
4017
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(TabsParts.List, { ...listProps, children: [
3677
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(TabsParts.List, { ...listProps, children: [
4018
3678
  children,
4019
- /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(TabsParts.Indicator, {})
3679
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(TabsParts.Indicator, {})
4020
3680
  ] });
4021
3681
  }
4022
3682
  var Tabs2 = {
@@ -4028,9 +3688,9 @@ var Tabs2 = {
4028
3688
 
4029
3689
  // src/components/Tag.tsx
4030
3690
  var import_factory9 = require("@ark-ui/react/factory");
4031
- var import_css43 = require("@cerberus/styled-system/css");
4032
- var import_recipes36 = require("@cerberus/styled-system/recipes");
4033
- var import_jsx_runtime83 = require("react/jsx-runtime");
3691
+ var import_css37 = require("styled-system/css");
3692
+ var import_recipes33 = require("styled-system/recipes");
3693
+ var import_jsx_runtime80 = require("react/jsx-runtime");
4034
3694
  function Tag(props) {
4035
3695
  const { shape: initShape, gradient, onClick, usage, ...nativeProps } = props;
4036
3696
  const palette = (props == null ? void 0 : props.palette) ?? "page";
@@ -4039,13 +3699,13 @@ function Tag(props) {
4039
3699
  const closableStyles = isClosable ? closableCss : "";
4040
3700
  const { icons } = useCerberusContext();
4041
3701
  const { close: Close } = icons;
4042
- return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(
3702
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
4043
3703
  import_factory9.ark.span,
4044
3704
  {
4045
3705
  ...nativeProps,
4046
- className: (0, import_css43.cx)(
3706
+ className: (0, import_css37.cx)(
4047
3707
  nativeProps.className,
4048
- (0, import_recipes36.tag)({
3708
+ (0, import_recipes33.tag)({
4049
3709
  gradient,
4050
3710
  palette,
4051
3711
  shape,
@@ -4055,7 +3715,7 @@ function Tag(props) {
4055
3715
  ),
4056
3716
  children: [
4057
3717
  props.children,
4058
- /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Show, { when: isClosable, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
3718
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Show, { when: isClosable, children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
4059
3719
  IconButton,
4060
3720
  {
4061
3721
  ariaLabel: "Close",
@@ -4063,14 +3723,14 @@ function Tag(props) {
4063
3723
  palette: "action",
4064
3724
  usage: "filled",
4065
3725
  size: "sm",
4066
- children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Close, {})
3726
+ children: /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Close, {})
4067
3727
  }
4068
3728
  ) })
4069
3729
  ]
4070
3730
  }
4071
3731
  );
4072
3732
  }
4073
- var closableCss = (0, import_css43.css)({
3733
+ var closableCss = (0, import_css37.css)({
4074
3734
  bgColor: "action.bg.active",
4075
3735
  color: "action.text.initial",
4076
3736
  paddingInlineEnd: "0"
@@ -4078,8 +3738,13 @@ var closableCss = (0, import_css43.css)({
4078
3738
 
4079
3739
  // src/components/toggle/primitives.tsx
4080
3740
  var import_toggle = require("@ark-ui/react/toggle");
4081
- var ToggleRoot = import_toggle.Toggle.Root;
4082
- var ToggleIndicator = import_toggle.Toggle.Indicator;
3741
+ var import_jsx_runtime81 = require("react/jsx-runtime");
3742
+ function ToggleRoot(props) {
3743
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_toggle.Toggle.Root, { ...props });
3744
+ }
3745
+ function ToggleIndicator(props) {
3746
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(import_toggle.Toggle.Indicator, { ...props });
3747
+ }
4083
3748
 
4084
3749
  // src/components/toggle/parts.ts
4085
3750
  var ToggleParts = {
@@ -4089,24 +3754,24 @@ var ToggleParts = {
4089
3754
 
4090
3755
  // src/components/Tooltip.tsx
4091
3756
  var import_tooltip = require("@ark-ui/react/tooltip");
4092
- var import_css44 = require("@cerberus/styled-system/css");
4093
- var import_recipes37 = require("@cerberus/styled-system/recipes");
4094
- var import_jsx_runtime84 = require("react/jsx-runtime");
3757
+ var import_css38 = require("styled-system/css");
3758
+ var import_recipes34 = require("styled-system/recipes");
3759
+ var import_jsx_runtime82 = require("react/jsx-runtime");
4095
3760
  function Tooltip(props) {
4096
3761
  const { content, children, asChild, ...nativeProps } = props;
4097
- const styles = (0, import_recipes37.tooltip)();
3762
+ const styles = (0, import_recipes34.tooltip)();
4098
3763
  const position = {
4099
3764
  placement: props.position || "top"
4100
3765
  };
4101
- return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_tooltip.Tooltip.Root, { openDelay: 400, positioning: position, children: [
4102
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_tooltip.Tooltip.Trigger, { className: styles.trigger, asChild, children }),
4103
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_tooltip.Tooltip.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
3766
+ return /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(import_tooltip.Tooltip.Root, { openDelay: 400, positioning: position, children: [
3767
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_tooltip.Tooltip.Trigger, { className: styles.trigger, asChild, children }),
3768
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_tooltip.Tooltip.Positioner, { children: /* @__PURE__ */ (0, import_jsx_runtime82.jsxs)(
4104
3769
  import_tooltip.Tooltip.Content,
4105
3770
  {
4106
3771
  ...nativeProps,
4107
- className: (0, import_css44.cx)(nativeProps.className, styles.content),
3772
+ className: (0, import_css38.cx)(nativeProps.className, styles.content),
4108
3773
  children: [
4109
- /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_tooltip.Tooltip.Arrow, { className: styles.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_tooltip.Tooltip.ArrowTip, { className: styles.arrowTip }) }),
3774
+ /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_tooltip.Tooltip.Arrow, { className: styles.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(import_tooltip.Tooltip.ArrowTip, { className: styles.arrowTip }) }),
4110
3775
  content
4111
3776
  ]
4112
3777
  }
@@ -4114,51 +3779,344 @@ function Tooltip(props) {
4114
3779
  ] });
4115
3780
  }
4116
3781
 
3782
+ // src/context/confirm-modal.tsx
3783
+ var import_react20 = require("react");
3784
+ var import_css39 = require("styled-system/css");
3785
+ var import_jsx7 = require("styled-system/jsx");
3786
+ var import_jsx_runtime83 = require("react/jsx-runtime");
3787
+ var ConfirmModalContext = (0, import_react20.createContext)(null);
3788
+ function ConfirmModal(props) {
3789
+ const [open, setOpen] = (0, import_react20.useState)(false);
3790
+ const [content, setContent] = (0, import_react20.useState)(null);
3791
+ const resolveRef = (0, import_react20.useRef)(null);
3792
+ const kind = (content == null ? void 0 : content.kind) ?? "non-destructive";
3793
+ const { icons } = useCerberusContext();
3794
+ const { confirmModal: ConfirmIcon } = icons;
3795
+ const palette = (0, import_react20.useMemo)(
3796
+ () => kind === "destructive" ? "danger" : "action",
3797
+ [kind]
3798
+ );
3799
+ const handleChoice = (0, import_react20.useCallback)(
3800
+ (e) => {
3801
+ var _a, _b;
3802
+ const target = e.currentTarget;
3803
+ if (target.value === "true") {
3804
+ (_a = resolveRef.current) == null ? void 0 : _a.call(resolveRef, true);
3805
+ }
3806
+ (_b = resolveRef.current) == null ? void 0 : _b.call(resolveRef, false);
3807
+ setOpen(false);
3808
+ },
3809
+ [setOpen]
3810
+ );
3811
+ const handleShow = (0, import_react20.useCallback)(
3812
+ (options) => {
3813
+ return new Promise((resolve) => {
3814
+ setContent({ ...options });
3815
+ setOpen(true);
3816
+ resolveRef.current = resolve;
3817
+ });
3818
+ },
3819
+ [setOpen, setContent]
3820
+ );
3821
+ const value = (0, import_react20.useMemo)(
3822
+ () => ({
3823
+ show: handleShow
3824
+ }),
3825
+ [handleShow]
3826
+ );
3827
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(ConfirmModalContext.Provider, { value, children: [
3828
+ props.children,
3829
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(Dialog2, { size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_jsx7.VStack, { gap: "xl", w: "full", children: [
3830
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_jsx7.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: [
3831
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
3832
+ import_jsx7.HStack,
3833
+ {
3834
+ alignSelf: "center",
3835
+ justify: "center",
3836
+ paddingBlockEnd: "md",
3837
+ w: "full",
3838
+ children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
3839
+ Show,
3840
+ {
3841
+ when: palette === "danger",
3842
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
3843
+ Avatar2,
3844
+ {
3845
+ gradient: "charon-light",
3846
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(ConfirmIcon, { size: 24 })
3847
+ }
3848
+ ),
3849
+ children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
3850
+ Avatar2,
3851
+ {
3852
+ gradient: "hades-dark",
3853
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(ConfirmIcon, { size: 24 })
3854
+ }
3855
+ )
3856
+ }
3857
+ )
3858
+ }
3859
+ ),
3860
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
3861
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
3862
+ ] }),
3863
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsxs)(import_jsx7.HStack, { gap: "4", w: "full", children: [
3864
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
3865
+ Button,
3866
+ {
3867
+ autoFocus: true,
3868
+ className: (0, import_css39.css)({
3869
+ w: "1/2"
3870
+ }),
3871
+ name: "confirm",
3872
+ onClick: handleChoice,
3873
+ palette,
3874
+ value: "true",
3875
+ children: content == null ? void 0 : content.actionText
3876
+ }
3877
+ ),
3878
+ /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
3879
+ Button,
3880
+ {
3881
+ className: (0, import_css39.css)({
3882
+ w: "1/2"
3883
+ }),
3884
+ name: "cancel",
3885
+ onClick: handleChoice,
3886
+ usage: "outlined",
3887
+ value: "false",
3888
+ children: content == null ? void 0 : content.cancelText
3889
+ }
3890
+ ) })
3891
+ ] })
3892
+ ] }) }) })
3893
+ ] });
3894
+ }
3895
+ function useConfirmModal() {
3896
+ const context = (0, import_react20.useContext)(ConfirmModalContext);
3897
+ if (context === null) {
3898
+ throw new Error(
3899
+ "useConfirmModal must be used within a ConfirmModal Provider"
3900
+ );
3901
+ }
3902
+ return context;
3903
+ }
3904
+
3905
+ // src/context/prompt-modal.tsx
3906
+ var import_react21 = require("react");
3907
+ var import_dialog4 = require("@ark-ui/react/dialog");
3908
+ var import_jsx8 = require("styled-system/jsx");
3909
+ var import_css40 = require("styled-system/css");
3910
+ var import_patterns6 = require("styled-system/patterns");
3911
+ var import_jsx_runtime84 = require("react/jsx-runtime");
3912
+ var PromptModalContext = (0, import_react21.createContext)(null);
3913
+ function PromptModal(props) {
3914
+ const resolveRef = (0, import_react21.useRef)(null);
3915
+ const [open, setOpen] = (0, import_react21.useState)(false);
3916
+ const [content, setContent] = (0, import_react21.useState)(null);
3917
+ const [inputValue, setInputValue] = (0, import_react21.useState)("");
3918
+ const { icons } = useCerberusContext();
3919
+ const { promptModal: PromptIcon } = icons;
3920
+ const isValid = (0, import_react21.useMemo)(
3921
+ () => inputValue === (content == null ? void 0 : content.key),
3922
+ [inputValue, content]
3923
+ );
3924
+ const palette = (0, import_react21.useMemo)(
3925
+ () => (content == null ? void 0 : content.kind) === "destructive" ? "danger" : "action",
3926
+ [content]
3927
+ );
3928
+ const handleChange = (0, import_react21.useCallback)(
3929
+ (e) => {
3930
+ setInputValue(e.currentTarget.value);
3931
+ },
3932
+ [content]
3933
+ );
3934
+ const handleChoice = (0, import_react21.useCallback)(
3935
+ (e) => {
3936
+ var _a;
3937
+ const target = e.currentTarget;
3938
+ if (target.value === "true") {
3939
+ (_a = resolveRef.current) == null ? void 0 : _a.call(resolveRef, inputValue);
3940
+ }
3941
+ setOpen(false);
3942
+ },
3943
+ [inputValue, setOpen]
3944
+ );
3945
+ const handleShow = (0, import_react21.useCallback)(
3946
+ (options) => {
3947
+ return new Promise((resolve) => {
3948
+ setContent({ ...options, kind: options.kind || "non-destructive" });
3949
+ setOpen(true);
3950
+ resolveRef.current = resolve;
3951
+ });
3952
+ },
3953
+ [setOpen]
3954
+ );
3955
+ const value = (0, import_react21.useMemo)(
3956
+ () => ({
3957
+ show: handleShow
3958
+ }),
3959
+ [handleShow]
3960
+ );
3961
+ return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(PromptModalContext.Provider, { value, children: [
3962
+ props.children,
3963
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(DialogProvider, { open, onOpenChange: (e) => setOpen(e.open), children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Dialog2, { size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_jsx8.VStack, { gap: "xl", w: "full", children: [
3964
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_jsx8.VStack, { alignItems: "flex-start", gap: "md", w: "full", children: [
3965
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
3966
+ import_jsx8.HStack,
3967
+ {
3968
+ alignSelf: "center",
3969
+ justify: "center",
3970
+ paddingBlockEnd: "md",
3971
+ w: "full",
3972
+ children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
3973
+ Show,
3974
+ {
3975
+ when: palette === "danger",
3976
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
3977
+ Avatar2,
3978
+ {
3979
+ gradient: "charon-light",
3980
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(PromptIcon, { size: 24 })
3981
+ }
3982
+ ),
3983
+ children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
3984
+ Avatar2,
3985
+ {
3986
+ gradient: "hades-dark",
3987
+ fallback: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(PromptIcon, { size: 24 })
3988
+ }
3989
+ )
3990
+ }
3991
+ )
3992
+ }
3993
+ ),
3994
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(DialogHeading, { children: content == null ? void 0 : content.heading }),
3995
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(DialogDescription, { children: content == null ? void 0 : content.description })
3996
+ ] }),
3997
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
3998
+ import_jsx8.VStack,
3999
+ {
4000
+ alignItems: "flex-start",
4001
+ marginBlockStart: "md",
4002
+ marginBlockEnd: "lg",
4003
+ w: "full",
4004
+ children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
4005
+ FieldRoot,
4006
+ {
4007
+ ids: {
4008
+ control: "confirm"
4009
+ },
4010
+ invalid: !isValid,
4011
+ children: [
4012
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(
4013
+ FieldLabel,
4014
+ {
4015
+ className: (0, import_patterns6.hstack)({
4016
+ gap: "xs",
4017
+ justify: "flex-start !important",
4018
+ marginBlockEnd: "xs",
4019
+ textStyle: "label-md"
4020
+ }),
4021
+ children: [
4022
+ "Type",
4023
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Text, { as: "strong", textTransform: "uppercase", children: content == null ? void 0 : content.key }),
4024
+ "to confirm"
4025
+ ]
4026
+ }
4027
+ ),
4028
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(Input, { name: "confirm", onChange: handleChange, type: "text" })
4029
+ ]
4030
+ }
4031
+ )
4032
+ }
4033
+ ),
4034
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)(import_jsx8.HStack, { gap: "md", justify: "stretch", w: "full", children: [
4035
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
4036
+ Button,
4037
+ {
4038
+ autoFocus: true,
4039
+ className: (0, import_css40.css)({
4040
+ w: "1/2"
4041
+ }),
4042
+ disabled: !isValid,
4043
+ name: "confirm",
4044
+ onClick: handleChoice,
4045
+ palette,
4046
+ value: "true",
4047
+ children: content == null ? void 0 : content.actionText
4048
+ }
4049
+ ),
4050
+ /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_dialog4.DialogCloseTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
4051
+ Button,
4052
+ {
4053
+ className: (0, import_css40.css)({
4054
+ w: "1/2"
4055
+ }),
4056
+ name: "cancel",
4057
+ onClick: handleChoice,
4058
+ usage: "outlined",
4059
+ value: "false",
4060
+ children: content == null ? void 0 : content.cancelText
4061
+ }
4062
+ ) })
4063
+ ] })
4064
+ ] }) }) })
4065
+ ] });
4066
+ }
4067
+ function usePromptModal() {
4068
+ const context = (0, import_react21.useContext)(PromptModalContext);
4069
+ if (context === null) {
4070
+ throw new Error("usePromptModal must be used within a PromptModal Provider");
4071
+ }
4072
+ return context;
4073
+ }
4074
+
4117
4075
  // src/context/theme.tsx
4118
- var import_react28 = require("react");
4076
+ var import_react23 = require("react");
4119
4077
 
4120
4078
  // src/hooks/useTheme.ts
4121
- var import_react27 = require("react");
4079
+ var import_react22 = require("react");
4122
4080
  var THEME_KEY = "cerberus-theme";
4123
4081
  var MODE_KEY = "cerberus-mode";
4124
4082
  function useTheme(defaultTheme = "cerberus", defaultColorMode = "light", options = {}) {
4125
4083
  const { updateMode, updateTheme, cache } = options;
4126
- const [theme, setTheme] = (0, import_react27.useState)(defaultTheme);
4127
- const [colorMode, setColorMode] = (0, import_react27.useState)(defaultColorMode);
4128
- const handleThemeChange = (0, import_react27.useCallback)(
4084
+ const [theme, setTheme] = (0, import_react22.useState)(defaultTheme);
4085
+ const [colorMode, setColorMode] = (0, import_react22.useState)(defaultColorMode);
4086
+ const handleThemeChange = (0, import_react22.useCallback)(
4129
4087
  (newTheme) => {
4130
4088
  setTheme(newTheme);
4131
4089
  updateTheme == null ? void 0 : updateTheme(newTheme);
4132
4090
  },
4133
4091
  [updateTheme]
4134
4092
  );
4135
- const handleColorModeChange = (0, import_react27.useCallback)(
4093
+ const handleColorModeChange = (0, import_react22.useCallback)(
4136
4094
  (newMode) => {
4137
4095
  setColorMode(newMode);
4138
4096
  updateMode == null ? void 0 : updateMode(newMode);
4139
4097
  },
4140
4098
  [updateMode]
4141
4099
  );
4142
- (0, import_react27.useLayoutEffect)(() => {
4100
+ (0, import_react22.useLayoutEffect)(() => {
4143
4101
  const theme2 = localStorage.getItem(THEME_KEY);
4144
4102
  if (theme2) {
4145
4103
  setTheme(theme2);
4146
4104
  }
4147
4105
  }, []);
4148
- (0, import_react27.useLayoutEffect)(() => {
4106
+ (0, import_react22.useLayoutEffect)(() => {
4149
4107
  const mode = localStorage.getItem(MODE_KEY);
4150
4108
  if (mode) {
4151
4109
  setColorMode(mode);
4152
4110
  }
4153
4111
  }, []);
4154
- (0, import_react27.useEffect)(() => {
4112
+ (0, import_react22.useEffect)(() => {
4155
4113
  const root = document.documentElement;
4156
4114
  root.dataset.pandaTheme = theme;
4157
4115
  if (cache) {
4158
4116
  localStorage.setItem(THEME_KEY, theme);
4159
4117
  }
4160
4118
  }, [theme, cache]);
4161
- (0, import_react27.useEffect)(() => {
4119
+ (0, import_react22.useEffect)(() => {
4162
4120
  const root = document.documentElement;
4163
4121
  if (colorMode === "system") {
4164
4122
  root.dataset.colorMode = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
@@ -4169,7 +4127,7 @@ function useTheme(defaultTheme = "cerberus", defaultColorMode = "light", options
4169
4127
  localStorage.setItem(MODE_KEY, colorMode);
4170
4128
  }
4171
4129
  }, [colorMode, cache]);
4172
- return (0, import_react27.useMemo)(
4130
+ return (0, import_react22.useMemo)(
4173
4131
  () => ({
4174
4132
  theme,
4175
4133
  mode: colorMode,
@@ -4182,7 +4140,7 @@ function useTheme(defaultTheme = "cerberus", defaultColorMode = "light", options
4182
4140
 
4183
4141
  // src/context/theme.tsx
4184
4142
  var import_jsx_runtime85 = require("react/jsx-runtime");
4185
- var ThemeContext = (0, import_react28.createContext)(
4143
+ var ThemeContext = (0, import_react23.createContext)(
4186
4144
  null
4187
4145
  );
4188
4146
  function ThemeProvider(props) {
@@ -4194,7 +4152,7 @@ function ThemeProvider(props) {
4194
4152
  return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(ThemeContext.Provider, { value: state, children: props.children });
4195
4153
  }
4196
4154
  function useThemeContext() {
4197
- const context = (0, import_react28.useContext)(ThemeContext);
4155
+ const context = (0, import_react23.useContext)(ThemeContext);
4198
4156
  if (!context) {
4199
4157
  throw new Error("useThemeContext must be used within a ThemeProvider");
4200
4158
  }
@@ -4202,20 +4160,20 @@ function useThemeContext() {
4202
4160
  }
4203
4161
 
4204
4162
  // src/hooks/useRootColors.ts
4205
- var import_react29 = require("react");
4163
+ var import_react24 = require("react");
4206
4164
  function useRootColors(colors = []) {
4207
- const [state, dispatch] = (0, import_react29.useReducer)(rootColorsReducer, {});
4208
- const handleRefetch = (0, import_react29.useCallback)(() => {
4165
+ const [state, dispatch] = (0, import_react24.useReducer)(rootColorsReducer, {});
4166
+ const handleRefetch = (0, import_react24.useCallback)(() => {
4209
4167
  return new Promise((resolve) => {
4210
4168
  dispatch(formatColors(colors));
4211
4169
  resolve();
4212
4170
  });
4213
4171
  }, []);
4214
- (0, import_react29.useEffect)(() => {
4172
+ (0, import_react24.useEffect)(() => {
4215
4173
  if (Object.keys(state).length === colors.length) return;
4216
4174
  dispatch(formatColors(colors));
4217
4175
  }, [colors]);
4218
- return (0, import_react29.useMemo)(
4176
+ return (0, import_react24.useMemo)(
4219
4177
  () => ({ colors: state, refetch: handleRefetch }),
4220
4178
  [state, handleRefetch]
4221
4179
  );
@@ -4263,7 +4221,7 @@ function trapFocus(modalRef) {
4263
4221
 
4264
4222
  // src/config/icons/checkbox.icons.tsx
4265
4223
  var import_jsx_runtime86 = require("react/jsx-runtime");
4266
- function CheckmarkIcon(props) {
4224
+ function CheckmarkIcon() {
4267
4225
  return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
4268
4226
  "svg",
4269
4227
  {
@@ -4272,7 +4230,6 @@ function CheckmarkIcon(props) {
4272
4230
  fill: "none",
4273
4231
  role: "img",
4274
4232
  viewBox: "0 0 24 24",
4275
- ...props,
4276
4233
  children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
4277
4234
  "path",
4278
4235
  {
@@ -4283,7 +4240,7 @@ function CheckmarkIcon(props) {
4283
4240
  }
4284
4241
  );
4285
4242
  }
4286
- function IndeterminateIcon(props) {
4243
+ function IndeterminateIcon() {
4287
4244
  return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
4288
4245
  "svg",
4289
4246
  {
@@ -4292,7 +4249,6 @@ function IndeterminateIcon(props) {
4292
4249
  role: "img",
4293
4250
  fill: "none",
4294
4251
  viewBox: "0 0 24 24",
4295
- ...props,
4296
4252
  children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("path", { fill: "currentColor", d: "M4 11h16v2.667H4z" })
4297
4253
  }
4298
4254
  );
@@ -4549,10 +4505,6 @@ __reExport(index_exports, require("@dnd-kit/core"), module.exports);
4549
4505
  MenuItemGroup,
4550
4506
  MenuSeparator,
4551
4507
  MenuTrigger,
4552
- Modal,
4553
- ModalDescription,
4554
- ModalHeader,
4555
- ModalHeading,
4556
4508
  NavMenu,
4557
4509
  NavMenuLink,
4558
4510
  NavMenuList,
@@ -4666,7 +4618,6 @@ __reExport(index_exports, require("@dnd-kit/core"), module.exports);
4666
4618
  useConfirmModal,
4667
4619
  useDate,
4668
4620
  useFeatureFlags,
4669
- useModal,
4670
4621
  useNavMenuContext,
4671
4622
  useNotificationCenter,
4672
4623
  usePromptModal,