@cerberus-design/react 0.17.2 → 0.18.1

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 (833) hide show
  1. package/README.md +1 -1
  2. package/build/legacy/_tsup-dts-rollup.d.cts +21882 -1964
  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 +37 -57
  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 +1455 -1525
  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 +21882 -1964
  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-R4KLHRCL.js → chunk-25P3FUUT.js} +3 -3
  284. package/build/modern/{chunk-UCL7P2OG.js → chunk-25S67KZH.js} +9 -9
  285. package/build/modern/chunk-25S67KZH.js.map +1 -0
  286. package/build/modern/{chunk-FZ53535Q.js → chunk-2CZWHED6.js} +2 -2
  287. package/build/modern/{chunk-JAAMD5EH.js → chunk-2IYWFZTK.js} +2 -2
  288. package/build/modern/{chunk-LZWNHXRP.js → chunk-3DZW23OX.js} +7 -5
  289. package/build/modern/chunk-3DZW23OX.js.map +1 -0
  290. package/build/modern/{chunk-7OYOT5LK.js → chunk-3IT3V3YA.js} +6 -6
  291. package/build/modern/chunk-3IT3V3YA.js.map +1 -0
  292. package/build/modern/{chunk-KWZ3CEG6.js → chunk-52ZQ26IV.js} +2 -2
  293. package/build/modern/chunk-53YVHIGJ.js +11 -0
  294. package/build/modern/chunk-53YVHIGJ.js.map +1 -0
  295. package/build/modern/{chunk-XBUXVNTY.js → chunk-5FC7HIAR.js} +2 -2
  296. package/build/modern/{chunk-TEMFCS72.js → chunk-5HEU3SYR.js} +2 -2
  297. package/build/modern/{chunk-QCBLRACK.js → chunk-5MUUKSLF.js} +3 -5
  298. package/build/modern/chunk-5MUUKSLF.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-VHCJ25QC.js → chunk-75DUDVPA.js} +4 -4
  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-6TIMBGFL.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-NMDAHO2K.js → chunk-CJVKAGCJ.js} +8 -8
  317. package/build/modern/chunk-CJVKAGCJ.js.map +1 -0
  318. package/build/modern/{chunk-NR5XDIJ7.js → chunk-D4BVNWAY.js} +3 -5
  319. package/build/modern/chunk-D4BVNWAY.js.map +1 -0
  320. package/build/modern/{chunk-QDXU6G3X.js → chunk-D6PFYSIP.js} +3 -3
  321. package/build/modern/{chunk-JLUIGY2U.js → chunk-D7QIPJQC.js} +9 -9
  322. package/build/modern/chunk-D7QIPJQC.js.map +1 -0
  323. package/build/modern/{chunk-CYSLIGNU.js → chunk-DHKSNGQX.js} +11 -11
  324. package/build/modern/chunk-DHKSNGQX.js.map +1 -0
  325. package/build/modern/{chunk-Z52R6ABJ.js → chunk-EMDNETC7.js} +3 -3
  326. package/build/modern/chunk-EMDNETC7.js.map +1 -0
  327. package/build/modern/{chunk-BPRF34DU.js → chunk-ENJUQNVT.js} +3 -5
  328. package/build/modern/chunk-ENJUQNVT.js.map +1 -0
  329. package/build/modern/{chunk-YOTXFCCC.js → chunk-F2MWSSK2.js} +3 -3
  330. package/build/modern/chunk-F2MWSSK2.js.map +1 -0
  331. package/build/modern/{chunk-XVOEBY5S.js → chunk-F3XFJHGR.js} +7 -7
  332. package/build/modern/chunk-F3XFJHGR.js.map +1 -0
  333. package/build/modern/{chunk-EH36PXVP.js → chunk-FAQ3F72W.js} +2 -2
  334. package/build/modern/{chunk-JIZQFTW6.js → chunk-FHNT274F.js} +1 -1
  335. package/build/modern/chunk-FHNT274F.js.map +1 -0
  336. package/build/modern/{chunk-JF76VIL3.js → chunk-FUTYPCHZ.js} +1 -1
  337. package/build/modern/chunk-FUTYPCHZ.js.map +1 -0
  338. package/build/modern/{chunk-6WS765J3.js → chunk-FXWN3SPS.js} +2 -2
  339. package/build/modern/chunk-FXWN3SPS.js.map +1 -0
  340. package/build/modern/{chunk-RD2YPFRA.js → chunk-GB7W3YNU.js} +6 -8
  341. package/build/modern/chunk-GB7W3YNU.js.map +1 -0
  342. package/build/modern/{chunk-R7IDIIST.js → chunk-GBCF6DOS.js} +4 -4
  343. package/build/modern/chunk-GBCF6DOS.js.map +1 -0
  344. package/build/modern/{chunk-2CVGNLIM.js → chunk-GC6JUHVS.js} +2 -2
  345. package/build/modern/{chunk-IASVL7CW.js → chunk-GUAF4FXQ.js} +2 -2
  346. package/build/modern/{chunk-OS73F4SR.js → chunk-GYUCW2QK.js} +2 -2
  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-6QHOKCV3.js → chunk-IE2HWT3I.js} +17 -38
  356. package/build/modern/chunk-IE2HWT3I.js.map +1 -0
  357. package/build/modern/{chunk-DRDNNRU3.js → chunk-IIH4VDQA.js} +3 -3
  358. package/build/modern/chunk-IIH4VDQA.js.map +1 -0
  359. package/build/modern/{chunk-W47QEZD5.js → chunk-IL677ECW.js} +3 -3
  360. package/build/modern/chunk-IL677ECW.js.map +1 -0
  361. package/build/modern/{chunk-32M5JS5F.js → chunk-ILROS7ST.js} +6 -6
  362. package/build/modern/{chunk-OSAYA6GH.js → chunk-INVZVMY4.js} +7 -7
  363. package/build/modern/chunk-INVZVMY4.js.map +1 -0
  364. package/build/modern/{chunk-SYPAA5YF.js → chunk-IUF74GEL.js} +2 -2
  365. package/build/modern/{chunk-WVFEJCUN.js → chunk-J76SGDYP.js} +2 -2
  366. package/build/modern/{chunk-RQCJKDXU.js → chunk-JQYW4IOC.js} +2 -2
  367. package/build/modern/{chunk-DYQBRCZC.js → chunk-KABRV6TB.js} +15 -17
  368. package/build/modern/chunk-KABRV6TB.js.map +1 -0
  369. package/build/modern/{chunk-JQJTQVPI.js → chunk-KEGLWDD6.js} +3 -3
  370. package/build/modern/{chunk-EB37HRCN.js → chunk-KOLNLCMZ.js} +1 -1
  371. package/build/modern/{chunk-EB37HRCN.js.map → chunk-KOLNLCMZ.js.map} +1 -1
  372. package/build/modern/{chunk-Z3FDG263.js → chunk-KV4NRGKW.js} +3 -5
  373. package/build/modern/chunk-KV4NRGKW.js.map +1 -0
  374. package/build/modern/{chunk-LPALHB6R.js → chunk-L2EGF5AV.js} +3 -3
  375. package/build/modern/chunk-L2EGF5AV.js.map +1 -0
  376. package/build/modern/{chunk-4GFEWP76.js → chunk-L5FYGWAZ.js} +3 -3
  377. package/build/modern/chunk-L5FYGWAZ.js.map +1 -0
  378. package/build/modern/{chunk-RU5LOXWI.js → chunk-L64HQGLQ.js} +2 -2
  379. package/build/modern/chunk-L64HQGLQ.js.map +1 -0
  380. package/build/modern/{chunk-6WEW5OGL.js → chunk-LEBDLXJE.js} +10 -10
  381. package/build/modern/chunk-LEBDLXJE.js.map +1 -0
  382. package/build/modern/{chunk-A464YKEL.js → chunk-MDXJ6MGF.js} +3 -3
  383. package/build/modern/chunk-MDXJ6MGF.js.map +1 -0
  384. package/build/modern/{chunk-KZDEDAIK.js → chunk-MTD4JSHT.js} +2 -2
  385. package/build/modern/{chunk-FUL2VRDU.js → chunk-MZXSSTS7.js} +2 -2
  386. package/build/modern/{chunk-ILSKGNUA.js → chunk-N6XHXPBI.js} +7 -7
  387. package/build/modern/{chunk-LLZE2RBB.js → chunk-NJ37QRAI.js} +2 -2
  388. package/build/modern/chunk-NJ37QRAI.js.map +1 -0
  389. package/build/modern/{chunk-LVHQGXJK.js → chunk-NP73HOHI.js} +3 -3
  390. package/build/modern/{chunk-7TQRTBUP.js → chunk-NQ22M7U7.js} +2 -2
  391. package/build/modern/{chunk-V243YFI3.js → chunk-NYEUNVKR.js} +5 -5
  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-LMBMMBKU.js → chunk-OY7BOKWW.js} +5 -5
  400. package/build/modern/chunk-OY7BOKWW.js.map +1 -0
  401. package/build/modern/{chunk-MZMZAX4E.js → chunk-P7DWMM56.js} +18 -18
  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-KJMCUYWV.js → chunk-Q737W5KJ.js} +3 -3
  406. package/build/modern/chunk-Q737W5KJ.js.map +1 -0
  407. package/build/modern/{chunk-QQCB6JXW.js → chunk-QCZ5VNGU.js} +4 -4
  408. package/build/modern/chunk-QCZ5VNGU.js.map +1 -0
  409. package/build/modern/{chunk-TNSIYRF7.js → chunk-QD3WAARV.js} +4 -4
  410. package/build/modern/chunk-QD3WAARV.js.map +1 -0
  411. package/build/modern/{chunk-XBDEIBW2.js → chunk-QNZIH2KG.js} +2 -2
  412. package/build/modern/{chunk-7HKULJ4G.js → chunk-RF4VKGOQ.js} +14 -11
  413. package/build/modern/chunk-RF4VKGOQ.js.map +1 -0
  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-D7UIWAFO.js → chunk-SSR3CWJZ.js} +3 -5
  421. package/build/modern/chunk-SSR3CWJZ.js.map +1 -0
  422. package/build/modern/{chunk-7JHQVQPS.js → chunk-SZOV7M64.js} +6 -4
  423. package/build/modern/chunk-SZOV7M64.js.map +1 -0
  424. package/build/modern/{chunk-L7N24B6B.js → chunk-T2NB3RBO.js} +3 -3
  425. package/build/modern/chunk-T2NB3RBO.js.map +1 -0
  426. package/build/modern/{chunk-63F5MURH.js → chunk-TS7PAQPV.js} +5 -5
  427. package/build/modern/chunk-TS7PAQPV.js.map +1 -0
  428. package/build/modern/{chunk-IPC7LQ4Q.js → chunk-TV346AYO.js} +8 -8
  429. package/build/modern/chunk-TV346AYO.js.map +1 -0
  430. package/build/modern/{chunk-245SMQ45.js → chunk-UCVB2VOI.js} +8 -8
  431. package/build/modern/chunk-UCVB2VOI.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-3XE3QXUI.js → chunk-URJ6JHLG.js} +15 -15
  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-VNPLKMEM.js → chunk-WEL43I6Y.js} +7 -7
  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-URO5I5AQ.js → chunk-ZL7AX5EM.js} +5 -5
  455. package/build/modern/components/CircularProgress.js +2 -3
  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 +13 -13
  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 +16 -16
  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 +21 -21
  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 +12 -12
  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 +9 -9
  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 +9 -9
  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 +4 -4
  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 +6 -6
  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 +3 -3
  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 +20 -20
  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 +263 -283
  609. package/build/modern/index.js.map +1 -1
  610. package/package.json +14 -13
  611. package/src/aria-helpers/nav-menu.aria.ts +3 -0
  612. package/src/aria-helpers/trap-focus.aria.ts +4 -1
  613. package/src/components/CircularProgress.tsx +26 -38
  614. package/src/components/FileStatus.tsx +3 -6
  615. package/src/components/FileUploader.tsx +4 -4
  616. package/src/components/IconButton.tsx +3 -6
  617. package/src/components/Menu.tsx +13 -92
  618. package/src/components/Portal.tsx +6 -6
  619. package/src/components/ProgressBar.tsx +2 -2
  620. package/src/components/Show.tsx +13 -11
  621. package/src/components/Spinner.tsx +3 -4
  622. package/src/components/Tag.tsx +2 -2
  623. package/src/components/Text.tsx +3 -6
  624. package/src/components/Tooltip.tsx +2 -2
  625. package/src/components/accordion/item-group.tsx +8 -4
  626. package/src/components/accordion/item-indicator.tsx +1 -1
  627. package/src/components/accordion/primitives.tsx +2 -5
  628. package/src/components/admonition/admonition.tsx +3 -3
  629. package/src/components/admonition/match-avatar.tsx +1 -1
  630. package/src/components/admonition/primitives.tsx +2 -5
  631. package/src/components/avatar/avatar.tsx +2 -2
  632. package/src/components/avatar/primitives.tsx +2 -5
  633. package/src/components/button/button.tsx +3 -6
  634. package/src/components/checkbox/checkbox.tsx +1 -1
  635. package/src/components/checkbox/primitives.tsx +2 -5
  636. package/src/components/combobox/combobox.tsx +2 -2
  637. package/src/components/combobox/primitives.tsx +2 -5
  638. package/src/components/cta-dialog/provider.tsx +2 -2
  639. package/src/components/cta-dialog/trigger-item.tsx +2 -2
  640. package/src/components/date-picker/primitives.tsx +63 -15
  641. package/src/components/date-picker/view-control-group.tsx +1 -1
  642. package/src/components/deprecated/FieldMessage.tsx +2 -2
  643. package/src/components/deprecated/FieldsetLabel.tsx +2 -2
  644. package/src/components/deprecated/Label.tsx +2 -2
  645. package/src/components/deprecated/Legend.tsx +3 -3
  646. package/src/components/deprecated/Modal.tsx +8 -14
  647. package/src/components/deprecated/ModalDescription.tsx +2 -2
  648. package/src/components/deprecated/ModalHeader.tsx +2 -2
  649. package/src/components/deprecated/ModalHeading.tsx +2 -2
  650. package/src/components/deprecated/NavMenuLink.tsx +2 -2
  651. package/src/components/deprecated/NavMenuList.tsx +3 -3
  652. package/src/components/deprecated/NavMenuTrigger.tsx +3 -3
  653. package/src/components/deprecated/Notification.tsx +4 -4
  654. package/src/components/deprecated/NotificationDescription.tsx +2 -2
  655. package/src/components/deprecated/NotificationHeading.tsx +2 -2
  656. package/src/components/dialog/close-icon-trigger.tsx +2 -2
  657. package/src/components/dialog/dialog.tsx +1 -1
  658. package/src/components/dialog/primitives.tsx +2 -5
  659. package/src/components/field/field.tsx +4 -4
  660. package/src/components/field/primitives.tsx +2 -2
  661. package/src/components/field/start-indicator.tsx +2 -2
  662. package/src/components/field/status-indicator.tsx +2 -2
  663. package/src/components/fieldset/fieldset.tsx +1 -1
  664. package/src/components/fieldset/primitives.tsx +2 -5
  665. package/src/components/for.tsx +1 -1
  666. package/src/components/notifications/center.tsx +8 -4
  667. package/src/components/notifications/match-icon.tsx +1 -1
  668. package/src/components/notifications/primitives.tsx +6 -3
  669. package/src/components/radio/primitives.tsx +2 -5
  670. package/src/components/radio/radio.tsx +1 -1
  671. package/src/components/rating/primitives.tsx +2 -2
  672. package/src/components/rating/rating.tsx +2 -2
  673. package/src/components/select/primitives.tsx +2 -5
  674. package/src/components/select/select.tsx +2 -2
  675. package/src/components/switch/primitives.tsx +7 -4
  676. package/src/components/switch/switch.tsx +1 -1
  677. package/src/components/table/primitives.tsx +2 -2
  678. package/src/components/table/table.tsx +2 -2
  679. package/src/components/tabs/primitives.tsx +2 -2
  680. package/src/components/toggle/primitives.tsx +11 -3
  681. package/src/config/icons/checkbox.icons.tsx +2 -10
  682. package/src/context/confirm-modal.tsx +3 -3
  683. package/src/context/field.tsx +2 -4
  684. package/src/context/navMenu.tsx +8 -8
  685. package/src/context/prompt-modal.tsx +5 -5
  686. package/src/context/theme.tsx +1 -3
  687. package/src/hooks/useModal.ts +1 -1
  688. package/src/index.ts +2 -7
  689. package/build/legacy/context/notification-center/store.cjs +0 -66
  690. package/build/legacy/context/notification-center/store.cjs.map +0 -1
  691. package/build/legacy/context/notification-center/store.d.cts +0 -5
  692. package/build/legacy/context/notification-center/types.cjs +0 -19
  693. package/build/legacy/context/notification-center/types.cjs.map +0 -1
  694. package/build/legacy/context/notification-center/types.d.cts +0 -6
  695. package/build/legacy/context/notification-center.cjs +0 -381
  696. package/build/legacy/context/notification-center.cjs.map +0 -1
  697. package/build/legacy/context/notification-center.d.cts +0 -5
  698. package/build/modern/chunk-245SMQ45.js.map +0 -1
  699. package/build/modern/chunk-2FRF57EU.js.map +0 -1
  700. package/build/modern/chunk-3XE3QXUI.js.map +0 -1
  701. package/build/modern/chunk-4GFEWP76.js.map +0 -1
  702. package/build/modern/chunk-4HUK7YNZ.js.map +0 -1
  703. package/build/modern/chunk-5DY66QZD.js.map +0 -1
  704. package/build/modern/chunk-5RTNSVYU.js.map +0 -1
  705. package/build/modern/chunk-63F5MURH.js.map +0 -1
  706. package/build/modern/chunk-6QHOKCV3.js.map +0 -1
  707. package/build/modern/chunk-6WEW5OGL.js.map +0 -1
  708. package/build/modern/chunk-6WS765J3.js.map +0 -1
  709. package/build/modern/chunk-7HKULJ4G.js.map +0 -1
  710. package/build/modern/chunk-7JHQVQPS.js.map +0 -1
  711. package/build/modern/chunk-7OYOT5LK.js.map +0 -1
  712. package/build/modern/chunk-7SYJFI5E.js.map +0 -1
  713. package/build/modern/chunk-A464YKEL.js.map +0 -1
  714. package/build/modern/chunk-AIJ75ENY.js.map +0 -1
  715. package/build/modern/chunk-AO3GB72J.js.map +0 -1
  716. package/build/modern/chunk-AUALRL3U.js +0 -25
  717. package/build/modern/chunk-AUALRL3U.js.map +0 -1
  718. package/build/modern/chunk-BPRF34DU.js.map +0 -1
  719. package/build/modern/chunk-BUVVRQLZ.js +0 -15
  720. package/build/modern/chunk-BUVVRQLZ.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-CYSLIGNU.js.map +0 -1
  726. package/build/modern/chunk-D7MAAGNA.js.map +0 -1
  727. package/build/modern/chunk-D7UIWAFO.js.map +0 -1
  728. package/build/modern/chunk-DEXJQ6UI.js.map +0 -1
  729. package/build/modern/chunk-DRDNNRU3.js.map +0 -1
  730. package/build/modern/chunk-DXOKSZVQ.js +0 -12
  731. package/build/modern/chunk-DYQBRCZC.js.map +0 -1
  732. package/build/modern/chunk-E3PAEB7Y.js.map +0 -1
  733. package/build/modern/chunk-IHQSE4LR.js +0 -78
  734. package/build/modern/chunk-IHQSE4LR.js.map +0 -1
  735. package/build/modern/chunk-IPC7LQ4Q.js.map +0 -1
  736. package/build/modern/chunk-IQJDVFPP.js +0 -10
  737. package/build/modern/chunk-IQJDVFPP.js.map +0 -1
  738. package/build/modern/chunk-JF76VIL3.js.map +0 -1
  739. package/build/modern/chunk-JIZQFTW6.js.map +0 -1
  740. package/build/modern/chunk-JLUIGY2U.js.map +0 -1
  741. package/build/modern/chunk-JWF7FK7T.js.map +0 -1
  742. package/build/modern/chunk-KGQG5JGW.js +0 -27
  743. package/build/modern/chunk-KGQG5JGW.js.map +0 -1
  744. package/build/modern/chunk-KJMCUYWV.js.map +0 -1
  745. package/build/modern/chunk-L7N24B6B.js.map +0 -1
  746. package/build/modern/chunk-LLZE2RBB.js.map +0 -1
  747. package/build/modern/chunk-LMBMMBKU.js.map +0 -1
  748. package/build/modern/chunk-LPALHB6R.js.map +0 -1
  749. package/build/modern/chunk-LZWNHXRP.js.map +0 -1
  750. package/build/modern/chunk-MH6CIBDU.js.map +0 -1
  751. package/build/modern/chunk-MZMZAX4E.js.map +0 -1
  752. package/build/modern/chunk-N4RPMT6J.js.map +0 -1
  753. package/build/modern/chunk-NMDAHO2K.js.map +0 -1
  754. package/build/modern/chunk-NR5XDIJ7.js.map +0 -1
  755. package/build/modern/chunk-OSAYA6GH.js.map +0 -1
  756. package/build/modern/chunk-Q3I4H6EC.js +0 -21
  757. package/build/modern/chunk-Q3I4H6EC.js.map +0 -1
  758. package/build/modern/chunk-QCBLRACK.js.map +0 -1
  759. package/build/modern/chunk-QJ3CJ4CR.js +0 -22
  760. package/build/modern/chunk-QJ3CJ4CR.js.map +0 -1
  761. package/build/modern/chunk-QQCB6JXW.js.map +0 -1
  762. package/build/modern/chunk-R7IDIIST.js.map +0 -1
  763. package/build/modern/chunk-RD2YPFRA.js.map +0 -1
  764. package/build/modern/chunk-RKGFPKKK.js.map +0 -1
  765. package/build/modern/chunk-RU5LOXWI.js.map +0 -1
  766. package/build/modern/chunk-RUR5MV54.js.map +0 -1
  767. package/build/modern/chunk-SRNDDY5D.js.map +0 -1
  768. package/build/modern/chunk-STLN7BMJ.js.map +0 -1
  769. package/build/modern/chunk-SWX5JWZR.js +0 -12
  770. package/build/modern/chunk-SWX5JWZR.js.map +0 -1
  771. package/build/modern/chunk-TNSIYRF7.js.map +0 -1
  772. package/build/modern/chunk-UCL7P2OG.js.map +0 -1
  773. package/build/modern/chunk-V3M3ZOQI.js +0 -38
  774. package/build/modern/chunk-V3M3ZOQI.js.map +0 -1
  775. package/build/modern/chunk-V6LNXFJV.js +0 -16
  776. package/build/modern/chunk-V6LNXFJV.js.map +0 -1
  777. package/build/modern/chunk-VHCJ25QC.js.map +0 -1
  778. package/build/modern/chunk-VNPLKMEM.js.map +0 -1
  779. package/build/modern/chunk-W47QEZD5.js.map +0 -1
  780. package/build/modern/chunk-WECB67DC.js +0 -12
  781. package/build/modern/chunk-WECB67DC.js.map +0 -1
  782. package/build/modern/chunk-XVOEBY5S.js.map +0 -1
  783. package/build/modern/chunk-YOTXFCCC.js.map +0 -1
  784. package/build/modern/chunk-Z3FDG263.js.map +0 -1
  785. package/build/modern/chunk-Z52R6ABJ.js.map +0 -1
  786. package/build/modern/context/notification-center/store.d.ts +0 -5
  787. package/build/modern/context/notification-center/store.js +0 -15
  788. package/build/modern/context/notification-center/store.js.map +0 -1
  789. package/build/modern/context/notification-center/types.d.ts +0 -6
  790. package/build/modern/context/notification-center/types.js +0 -1
  791. package/build/modern/context/notification-center/types.js.map +0 -1
  792. package/build/modern/context/notification-center.d.ts +0 -5
  793. package/build/modern/context/notification-center.js +0 -183
  794. package/build/modern/context/notification-center.js.map +0 -1
  795. package/src/context/notification-center/store.ts +0 -88
  796. package/src/context/notification-center/types.ts +0 -28
  797. package/src/context/notification-center.tsx +0 -257
  798. /package/build/modern/{chunk-R4KLHRCL.js.map → chunk-25P3FUUT.js.map} +0 -0
  799. /package/build/modern/{chunk-FZ53535Q.js.map → chunk-2CZWHED6.js.map} +0 -0
  800. /package/build/modern/{chunk-JAAMD5EH.js.map → chunk-2IYWFZTK.js.map} +0 -0
  801. /package/build/modern/{chunk-KWZ3CEG6.js.map → chunk-52ZQ26IV.js.map} +0 -0
  802. /package/build/modern/{chunk-XBUXVNTY.js.map → chunk-5FC7HIAR.js.map} +0 -0
  803. /package/build/modern/{chunk-TEMFCS72.js.map → chunk-5HEU3SYR.js.map} +0 -0
  804. /package/build/modern/{chunk-4IXQNNAM.js.map → chunk-6UVR3VGK.js.map} +0 -0
  805. /package/build/modern/{chunk-6TIMBGFL.js.map → chunk-ADZRQNW3.js.map} +0 -0
  806. /package/build/modern/{chunk-6HOLE2JH.js.map → chunk-CEJIKL6N.js.map} +0 -0
  807. /package/build/modern/{chunk-QDXU6G3X.js.map → chunk-D6PFYSIP.js.map} +0 -0
  808. /package/build/modern/{chunk-EH36PXVP.js.map → chunk-FAQ3F72W.js.map} +0 -0
  809. /package/build/modern/{chunk-2CVGNLIM.js.map → chunk-GC6JUHVS.js.map} +0 -0
  810. /package/build/modern/{chunk-IASVL7CW.js.map → chunk-GUAF4FXQ.js.map} +0 -0
  811. /package/build/modern/{chunk-OS73F4SR.js.map → chunk-GYUCW2QK.js.map} +0 -0
  812. /package/build/modern/{chunk-BIDE4IJG.js.map → chunk-H4SH6ORP.js.map} +0 -0
  813. /package/build/modern/{chunk-HUN7VQBT.js.map → chunk-I4EGYD24.js.map} +0 -0
  814. /package/build/modern/{chunk-32M5JS5F.js.map → chunk-ILROS7ST.js.map} +0 -0
  815. /package/build/modern/{chunk-SYPAA5YF.js.map → chunk-IUF74GEL.js.map} +0 -0
  816. /package/build/modern/{chunk-WVFEJCUN.js.map → chunk-J76SGDYP.js.map} +0 -0
  817. /package/build/modern/{chunk-RQCJKDXU.js.map → chunk-JQYW4IOC.js.map} +0 -0
  818. /package/build/modern/{chunk-JQJTQVPI.js.map → chunk-KEGLWDD6.js.map} +0 -0
  819. /package/build/modern/{chunk-KZDEDAIK.js.map → chunk-MTD4JSHT.js.map} +0 -0
  820. /package/build/modern/{chunk-FUL2VRDU.js.map → chunk-MZXSSTS7.js.map} +0 -0
  821. /package/build/modern/{chunk-ILSKGNUA.js.map → chunk-N6XHXPBI.js.map} +0 -0
  822. /package/build/modern/{chunk-LVHQGXJK.js.map → chunk-NP73HOHI.js.map} +0 -0
  823. /package/build/modern/{chunk-7TQRTBUP.js.map → chunk-NQ22M7U7.js.map} +0 -0
  824. /package/build/modern/{chunk-V243YFI3.js.map → chunk-NYEUNVKR.js.map} +0 -0
  825. /package/build/modern/{chunk-MR4DX76C.js.map → chunk-NYVKL2IS.js.map} +0 -0
  826. /package/build/modern/{chunk-XBDEIBW2.js.map → chunk-QNZIH2KG.js.map} +0 -0
  827. /package/build/modern/{chunk-M7T3MBFB.js.map → chunk-RT7OJ4X5.js.map} +0 -0
  828. /package/build/modern/{chunk-BJJ4XAVO.js.map → chunk-RYRB5GPN.js.map} +0 -0
  829. /package/build/modern/{chunk-FCSO6N2Y.js.map → chunk-V6EAWUCQ.js.map} +0 -0
  830. /package/build/modern/{chunk-HIC7Z23X.js.map → chunk-V6ZOASMM.js.map} +0 -0
  831. /package/build/modern/{chunk-YUNLWTUB.js.map → chunk-W337WQTU.js.map} +0 -0
  832. /package/build/modern/{chunk-XTNGF4D6.js.map → chunk-YOYCS3MD.js.map} +0 -0
  833. /package/build/modern/{chunk-URO5I5AQ.js.map → chunk-ZL7AX5EM.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CheckmarkIcon,
3
3
  IndeterminateIcon
4
- } from "./chunk-E3PAEB7Y.js";
4
+ } from "./chunk-OCZCCOWW.js";
5
5
  import {
6
6
  AnimatingUploadIcon
7
7
  } from "./chunk-VV2G62UD.js";
@@ -22,4 +22,4 @@ function defineIcons(icons) {
22
22
  export {
23
23
  defineIcons
24
24
  };
25
- //# sourceMappingURL=chunk-M7T3MBFB.js.map
25
+ //# sourceMappingURL=chunk-RT7OJ4X5.js.map
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  DatePicker
4
4
  } from "@ark-ui/react/date-picker";
5
- import { cx } from "@cerberus/styled-system/css";
6
- import { datePicker } from "@cerberus/styled-system/recipes";
5
+ import { cx } from "styled-system/css";
6
+ import { datePicker } from "styled-system/recipes";
7
7
  import { jsx } from "react/jsx-runtime";
8
8
  function DatePickerLabel(props) {
9
9
  const styles = datePicker();
@@ -115,19 +115,45 @@ function DatePickerTableCellTrigger(props) {
115
115
  }
116
116
  );
117
117
  }
118
- var DatePickerRoot = DatePicker.Root;
119
- var DatePickerClearTrigger = DatePicker.ClearTrigger;
120
- var DatePickerPositioner = DatePicker.Positioner;
121
- var DatePickerYearSelect = DatePicker.YearSelect;
122
- var DatePickerMonthSelect = DatePicker.MonthSelect;
123
- var DatePickerView = DatePicker.View;
124
- var DatePickerContext = DatePicker.Context;
125
- var DatePickerPrevTrigger = DatePicker.PrevTrigger;
126
- var DatePickerNextTrigger = DatePicker.NextTrigger;
127
- var DatePickerViewTrigger = DatePicker.ViewTrigger;
128
- var DatePickerTableHead = DatePicker.TableHead;
129
- var DatePickerTableRow = DatePicker.TableRow;
130
- var DatePickerTableBody = DatePicker.TableBody;
118
+ function DatePickerRoot(props) {
119
+ return /* @__PURE__ */ jsx(DatePicker.Root, { ...props });
120
+ }
121
+ function DatePickerClearTrigger(props) {
122
+ return /* @__PURE__ */ jsx(DatePicker.ClearTrigger, { ...props });
123
+ }
124
+ function DatePickerPositioner(props) {
125
+ return /* @__PURE__ */ jsx(DatePicker.Positioner, { ...props });
126
+ }
127
+ function DatePickerYearSelect(props) {
128
+ return /* @__PURE__ */ jsx(DatePicker.YearSelect, { ...props });
129
+ }
130
+ function DatePickerMonthSelect(props) {
131
+ return /* @__PURE__ */ jsx(DatePicker.MonthSelect, { ...props });
132
+ }
133
+ function DatePickerView(props) {
134
+ return /* @__PURE__ */ jsx(DatePicker.View, { ...props });
135
+ }
136
+ function DatePickerContext(props) {
137
+ return /* @__PURE__ */ jsx(DatePicker.Context, { ...props });
138
+ }
139
+ function DatePickerPrevTrigger(props) {
140
+ return /* @__PURE__ */ jsx(DatePicker.PrevTrigger, { ...props });
141
+ }
142
+ function DatePickerNextTrigger(props) {
143
+ return /* @__PURE__ */ jsx(DatePicker.NextTrigger, { ...props });
144
+ }
145
+ function DatePickerViewTrigger(props) {
146
+ return /* @__PURE__ */ jsx(DatePicker.ViewTrigger, { ...props });
147
+ }
148
+ function DatePickerTableHead(props) {
149
+ return /* @__PURE__ */ jsx(DatePicker.TableHead, { ...props });
150
+ }
151
+ function DatePickerTableRow(props) {
152
+ return /* @__PURE__ */ jsx(DatePicker.TableRow, { ...props });
153
+ }
154
+ function DatePickerTableBody(props) {
155
+ return /* @__PURE__ */ jsx(DatePicker.TableBody, { ...props });
156
+ }
131
157
 
132
158
  export {
133
159
  DatePickerLabel,
@@ -155,4 +181,4 @@ export {
155
181
  DatePickerTableRow,
156
182
  DatePickerTableBody
157
183
  };
158
- //# sourceMappingURL=chunk-D7MAAGNA.js.map
184
+ //# sourceMappingURL=chunk-RW3YEBDW.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/date-picker/primitives.tsx"],"sourcesContent":["import {\n DatePicker,\n type DatePickerContentProps,\n type DatePickerContextProps,\n type DatePickerControlProps,\n type DatePickerInputProps,\n type DatePickerLabelProps,\n type DatePickerMonthSelectProps,\n type DatePickerNextTriggerProps,\n type DatePickerPositionerProps,\n type DatePickerPrevTriggerProps,\n type DatePickerRangeTextProps,\n type DatePickerRootProps,\n type DatePickerTableBodyProps,\n type DatePickerTableCellProps,\n type DatePickerTableCellTriggerProps,\n type DatePickerTableHeaderProps,\n type DatePickerTableHeadProps,\n type DatePickerTableProps,\n type DatePickerTableRowProps,\n type DatePickerTriggerProps,\n type DatePickerViewControlProps,\n type DatePickerViewProps,\n type DatePickerViewTriggerProps,\n type DatePickerYearSelectProps,\n} from '@ark-ui/react/date-picker'\nimport { cx } from 'styled-system/css'\nimport { datePicker } from 'styled-system/recipes'\n\n/**\n * This module contains the DatePicker primitives.\n * @module 'date-picker/primitives'\n */\n\n/**\n * The label component for the DatePicker.\n */\nexport function DatePickerLabel(props: DatePickerLabelProps) {\n const styles = datePicker()\n return (\n <DatePicker.Label\n {...props}\n className={cx(styles.label, props.className)}\n />\n )\n}\n\n/**\n * The control component for the DatePicker which wraps the input and the\n * triggers to open the DatePicker and clear the value.\n */\nexport function DatePickerControl(props: DatePickerControlProps) {\n const styles = datePicker()\n return (\n <DatePicker.Control\n {...props}\n className={cx(styles.control, props.className)}\n />\n )\n}\n\n/**\n * The input component for the DatePicker.\n */\nexport function DatePickerInputEl(props: DatePickerInputProps) {\n const styles = datePicker()\n return (\n <DatePicker.Input\n {...props}\n className={cx(styles.input, props.className)}\n />\n )\n}\n\n/**\n * The trigger component that opens the DatePicker.\n */\nexport function DatePickerTrigger(props: DatePickerTriggerProps) {\n const styles = datePicker()\n return (\n <DatePicker.Trigger\n {...props}\n className={cx(styles.trigger, props.className)}\n />\n )\n}\n\n/**\n * The content component for the DatePicker.\n */\nexport function DatePickerContent(props: DatePickerContentProps) {\n const styles = datePicker()\n return (\n <DatePicker.Content\n {...props}\n className={cx(styles.content, props.className)}\n />\n )\n}\n\n/**\n * The view control component for the DatePicker which wraps the triggers to\n * switch between calendar views.\n */\nexport function DatePickerViewControl(props: DatePickerViewControlProps) {\n const styles = datePicker()\n return (\n <DatePicker.Control\n {...props}\n className={cx(styles.viewControl, props.className)}\n />\n )\n}\n\n/**\n * The range text component for the DatePicker.\n */\nexport function DatePickerRangeText(props: DatePickerRangeTextProps) {\n const styles = datePicker()\n return (\n <DatePicker.RangeText\n {...props}\n className={cx(styles.rangeText, props.className)}\n />\n )\n}\n\n/**\n * The table component for the DatePicker.\n */\nexport function DatePickerTable(props: DatePickerTableProps) {\n const styles = datePicker()\n return (\n <DatePicker.Table\n {...props}\n className={cx(styles.table, props.className)}\n />\n )\n}\n\n/**\n * The header component for the DatePicker table.\n */\nexport function DatePickerTableHeader(props: DatePickerTableHeaderProps) {\n const styles = datePicker()\n return (\n <DatePicker.TableHeader\n {...props}\n className={cx(styles.tableHeader, props.className)}\n />\n )\n}\n\n/**\n * The table cell component for the DatePicker.\n */\nexport function DatePickerTableCell(props: DatePickerTableCellProps) {\n const styles = datePicker()\n return (\n <DatePicker.TableCell\n {...props}\n className={cx(styles.tableCell, props.className)}\n />\n )\n}\n\n/**\n * The table cell trigger component for the DatePicker.\n */\nexport function DatePickerTableCellTrigger(\n props: DatePickerTableCellTriggerProps,\n) {\n const styles = datePicker()\n return (\n <DatePicker.TableCellTrigger\n {...props}\n className={cx(styles.tableCellTrigger, props.className)}\n />\n )\n}\n\n/**\n * The root component of the DatePicker. This primitive has no Cerberus styles.\n */\nexport function DatePickerRoot(props: DatePickerRootProps) {\n return <DatePicker.Root {...props} />\n}\n\n/**\n * The label component of the DatePicker. This primitive has no Cerberus styles.\n */\nexport function DatePickerClearTrigger(props: DatePickerTriggerProps) {\n return <DatePicker.ClearTrigger {...props} />\n}\n\n/**\n * The control component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport function DatePickerPositioner(props: DatePickerPositionerProps) {\n return <DatePicker.Positioner {...props} />\n}\n\n/**\n * The year select input component of the DatePicker. This primitive has no\n * Cerberus styles.\n */\nexport function DatePickerYearSelect(props: DatePickerYearSelectProps) {\n return <DatePicker.YearSelect {...props} />\n}\n\n/**\n * The month select input component of the DatePicker. This primitive has no\n * Cerberus styles.\n */\nexport function DatePickerMonthSelect(props: DatePickerMonthSelectProps) {\n return <DatePicker.MonthSelect {...props} />\n}\n\n/**\n * The day view component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport function DatePickerView(props: DatePickerViewProps) {\n return <DatePicker.View {...props} />\n}\n\n/**\n * The day context component of the DatePicker. This primitive has no\n * Cerberus styles.\n */\nexport function DatePickerContext(props: DatePickerContextProps) {\n return <DatePicker.Context {...props} />\n}\n\n/**\n * The trigger component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport function DatePickerPrevTrigger(props: DatePickerPrevTriggerProps) {\n return <DatePicker.PrevTrigger {...props} />\n}\n\n/**\n * The trigger component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport function DatePickerNextTrigger(props: DatePickerNextTriggerProps) {\n return <DatePicker.NextTrigger {...props} />\n}\n\n/**\n * The trigger component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport function DatePickerViewTrigger(props: DatePickerViewTriggerProps) {\n return <DatePicker.ViewTrigger {...props} />\n}\n\n/**\n * The table head component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport function DatePickerTableHead(props: DatePickerTableHeadProps) {\n return <DatePicker.TableHead {...props} />\n}\n/**\n * The table row component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport function DatePickerTableRow(props: DatePickerTableRowProps) {\n return <DatePicker.TableRow {...props} />\n}\n/**\n * The table body component of the DatePicker. This primitive has no Cerberus\n * styles.\n */\nexport function DatePickerTableBody(props: DatePickerTableBodyProps) {\n return <DatePicker.TableBody {...props} />\n}\n"],"mappings":";AAAA;AAAA,EACE;AAAA,OAwBK;AACP,SAAS,UAAU;AACnB,SAAS,kBAAkB;AAavB;AAHG,SAAS,gBAAgB,OAA6B;AAC3D,QAAM,SAAS,WAAW;AAC1B,SACE;AAAA,IAAC,WAAW;AAAA,IAAX;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,OAAO,MAAM,SAAS;AAAA;AAAA,EAC7C;AAEJ;AAMO,SAAS,kBAAkB,OAA+B;AAC/D,QAAM,SAAS,WAAW;AAC1B,SACE;AAAA,IAAC,WAAW;AAAA,IAAX;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,SAAS,MAAM,SAAS;AAAA;AAAA,EAC/C;AAEJ;AAKO,SAAS,kBAAkB,OAA6B;AAC7D,QAAM,SAAS,WAAW;AAC1B,SACE;AAAA,IAAC,WAAW;AAAA,IAAX;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,OAAO,MAAM,SAAS;AAAA;AAAA,EAC7C;AAEJ;AAKO,SAAS,kBAAkB,OAA+B;AAC/D,QAAM,SAAS,WAAW;AAC1B,SACE;AAAA,IAAC,WAAW;AAAA,IAAX;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,SAAS,MAAM,SAAS;AAAA;AAAA,EAC/C;AAEJ;AAKO,SAAS,kBAAkB,OAA+B;AAC/D,QAAM,SAAS,WAAW;AAC1B,SACE;AAAA,IAAC,WAAW;AAAA,IAAX;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,SAAS,MAAM,SAAS;AAAA;AAAA,EAC/C;AAEJ;AAMO,SAAS,sBAAsB,OAAmC;AACvE,QAAM,SAAS,WAAW;AAC1B,SACE;AAAA,IAAC,WAAW;AAAA,IAAX;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,aAAa,MAAM,SAAS;AAAA;AAAA,EACnD;AAEJ;AAKO,SAAS,oBAAoB,OAAiC;AACnE,QAAM,SAAS,WAAW;AAC1B,SACE;AAAA,IAAC,WAAW;AAAA,IAAX;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,WAAW,MAAM,SAAS;AAAA;AAAA,EACjD;AAEJ;AAKO,SAAS,gBAAgB,OAA6B;AAC3D,QAAM,SAAS,WAAW;AAC1B,SACE;AAAA,IAAC,WAAW;AAAA,IAAX;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,OAAO,MAAM,SAAS;AAAA;AAAA,EAC7C;AAEJ;AAKO,SAAS,sBAAsB,OAAmC;AACvE,QAAM,SAAS,WAAW;AAC1B,SACE;AAAA,IAAC,WAAW;AAAA,IAAX;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,aAAa,MAAM,SAAS;AAAA;AAAA,EACnD;AAEJ;AAKO,SAAS,oBAAoB,OAAiC;AACnE,QAAM,SAAS,WAAW;AAC1B,SACE;AAAA,IAAC,WAAW;AAAA,IAAX;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,WAAW,MAAM,SAAS;AAAA;AAAA,EACjD;AAEJ;AAKO,SAAS,2BACd,OACA;AACA,QAAM,SAAS,WAAW;AAC1B,SACE;AAAA,IAAC,WAAW;AAAA,IAAX;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,kBAAkB,MAAM,SAAS;AAAA;AAAA,EACxD;AAEJ;AAKO,SAAS,eAAe,OAA4B;AACzD,SAAO,oBAAC,WAAW,MAAX,EAAiB,GAAG,OAAO;AACrC;AAKO,SAAS,uBAAuB,OAA+B;AACpE,SAAO,oBAAC,WAAW,cAAX,EAAyB,GAAG,OAAO;AAC7C;AAMO,SAAS,qBAAqB,OAAkC;AACrE,SAAO,oBAAC,WAAW,YAAX,EAAuB,GAAG,OAAO;AAC3C;AAMO,SAAS,qBAAqB,OAAkC;AACrE,SAAO,oBAAC,WAAW,YAAX,EAAuB,GAAG,OAAO;AAC3C;AAMO,SAAS,sBAAsB,OAAmC;AACvE,SAAO,oBAAC,WAAW,aAAX,EAAwB,GAAG,OAAO;AAC5C;AAMO,SAAS,eAAe,OAA4B;AACzD,SAAO,oBAAC,WAAW,MAAX,EAAiB,GAAG,OAAO;AACrC;AAMO,SAAS,kBAAkB,OAA+B;AAC/D,SAAO,oBAAC,WAAW,SAAX,EAAoB,GAAG,OAAO;AACxC;AAMO,SAAS,sBAAsB,OAAmC;AACvE,SAAO,oBAAC,WAAW,aAAX,EAAwB,GAAG,OAAO;AAC5C;AAMO,SAAS,sBAAsB,OAAmC;AACvE,SAAO,oBAAC,WAAW,aAAX,EAAwB,GAAG,OAAO;AAC5C;AAMO,SAAS,sBAAsB,OAAmC;AACvE,SAAO,oBAAC,WAAW,aAAX,EAAwB,GAAG,OAAO;AAC5C;AAMO,SAAS,oBAAoB,OAAiC;AACnE,SAAO,oBAAC,WAAW,WAAX,EAAsB,GAAG,OAAO;AAC1C;AAKO,SAAS,mBAAmB,OAAgC;AACjE,SAAO,oBAAC,WAAW,UAAX,EAAqB,GAAG,OAAO;AACzC;AAKO,SAAS,oBAAoB,OAAiC;AACnE,SAAO,oBAAC,WAAW,WAAX,EAAsB,GAAG,OAAO;AAC1C;","names":[]}
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  DatePickerParts
3
- } from "./chunk-WVFEJCUN.js";
3
+ } from "./chunk-J76SGDYP.js";
4
4
  import {
5
5
  Portal
6
- } from "./chunk-IQJDVFPP.js";
6
+ } from "./chunk-53YVHIGJ.js";
7
7
 
8
8
  // src/components/date-picker/content.tsx
9
9
  import { jsx } from "react/jsx-runtime";
@@ -15,4 +15,4 @@ function DatePickerContent(props) {
15
15
  export {
16
16
  DatePickerContent
17
17
  };
18
- //# sourceMappingURL=chunk-BJJ4XAVO.js.map
18
+ //# sourceMappingURL=chunk-RYRB5GPN.js.map
@@ -2,10 +2,8 @@
2
2
  import {
3
3
  Dialog
4
4
  } from "@ark-ui/react/dialog";
5
- import { cx } from "@cerberus/styled-system/css";
6
- import {
7
- dialog
8
- } from "@cerberus/styled-system/recipes";
5
+ import { cx } from "styled-system/css";
6
+ import { dialog } from "styled-system/recipes";
9
7
  import { jsx } from "react/jsx-runtime";
10
8
  function DialogRoot(props) {
11
9
  return /* @__PURE__ */ jsx(Dialog.Root, { ...props });
@@ -81,4 +79,4 @@ export {
81
79
  DialogCloseTrigger,
82
80
  DialogProvider
83
81
  };
84
- //# sourceMappingURL=chunk-D7UIWAFO.js.map
82
+ //# sourceMappingURL=chunk-SSR3CWJZ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/dialog/primitives.tsx"],"sourcesContent":["import {\n Dialog,\n type DialogBackdropProps,\n type DialogContentProps,\n type DialogDescriptionProps,\n type DialogPositionerProps,\n type DialogRootProps,\n type DialogTitleProps,\n type DialogTriggerProps,\n} from '@ark-ui/react/dialog'\nimport { cx } from 'styled-system/css'\nimport { dialog, type DialogVariantProps } from 'styled-system/recipes'\n\n/**\n * This module contains the primitives of the Dialog component.\n * @module 'dialog/primitives'\n */\n\n/**\n * The provider that controls the dialog components.\n */\nexport function DialogRoot(props: DialogRootProps) {\n return <Dialog.Root {...props} />\n}\n\n/**\n * The trigger that opens the dialog.\n */\nexport function DialogTrigger(props: DialogTriggerProps) {\n const styles = dialog()\n return (\n <Dialog.Trigger\n {...props}\n className={cx(styles.trigger, props.className)}\n />\n )\n}\n\n/**\n * The overlay of the dialog.\n */\nexport function DialogBackdrop(props: DialogBackdropProps) {\n const styles = dialog()\n return (\n <Dialog.Backdrop\n {...props}\n className={cx(styles.backdrop, props.className)}\n />\n )\n}\n\n/**\n * The container that positions the dialog.\n */\nexport function DialogPositioner(props: DialogPositionerProps) {\n const styles = dialog()\n return (\n <Dialog.Positioner\n {...props}\n className={cx(styles.positioner, props.className)}\n />\n )\n}\n\n/**\n * The visible content of the dialog.\n */\nexport function DialogContent(props: DialogContentProps & DialogVariantProps) {\n const { size, ...contentProps } = props\n const styles = dialog({ size })\n return (\n <Dialog.Content\n {...contentProps}\n className={cx(styles.content, contentProps.className)}\n />\n )\n}\n\n/**\n * The heading of the dialog.\n */\nexport function DialogHeading(props: DialogTitleProps) {\n const styles = dialog()\n return (\n <Dialog.Title {...props} className={cx(styles.title, props.className)} />\n )\n}\n\n/**\n * The description of the dialog.\n */\nexport function DialogDescription(props: DialogDescriptionProps) {\n const styles = dialog()\n return (\n <Dialog.Description\n {...props}\n className={cx(styles.description, props.className)}\n />\n )\n}\n\n/**\n * The trigger that closes the dialog.\n */\nexport function DialogCloseTrigger(props: DialogTriggerProps) {\n return <Dialog.CloseTrigger {...props} />\n}\n\n/**\n * The provider that controls the dialog components. This is a named export of\n * the DialogRoot primitive.\n */\nexport const DialogProvider = DialogRoot\n"],"mappings":";AAAA;AAAA,EACE;AAAA,OAQK;AACP,SAAS,UAAU;AACnB,SAAS,cAAuC;AAWvC;AADF,SAAS,WAAW,OAAwB;AACjD,SAAO,oBAAC,OAAO,MAAP,EAAa,GAAG,OAAO;AACjC;AAKO,SAAS,cAAc,OAA2B;AACvD,QAAM,SAAS,OAAO;AACtB,SACE;AAAA,IAAC,OAAO;AAAA,IAAP;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,SAAS,MAAM,SAAS;AAAA;AAAA,EAC/C;AAEJ;AAKO,SAAS,eAAe,OAA4B;AACzD,QAAM,SAAS,OAAO;AACtB,SACE;AAAA,IAAC,OAAO;AAAA,IAAP;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,UAAU,MAAM,SAAS;AAAA;AAAA,EAChD;AAEJ;AAKO,SAAS,iBAAiB,OAA8B;AAC7D,QAAM,SAAS,OAAO;AACtB,SACE;AAAA,IAAC,OAAO;AAAA,IAAP;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,YAAY,MAAM,SAAS;AAAA;AAAA,EAClD;AAEJ;AAKO,SAAS,cAAc,OAAgD;AAC5E,QAAM,EAAE,MAAM,GAAG,aAAa,IAAI;AAClC,QAAM,SAAS,OAAO,EAAE,KAAK,CAAC;AAC9B,SACE;AAAA,IAAC,OAAO;AAAA,IAAP;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,SAAS,aAAa,SAAS;AAAA;AAAA,EACtD;AAEJ;AAKO,SAAS,cAAc,OAAyB;AACrD,QAAM,SAAS,OAAO;AACtB,SACE,oBAAC,OAAO,OAAP,EAAc,GAAG,OAAO,WAAW,GAAG,OAAO,OAAO,MAAM,SAAS,GAAG;AAE3E;AAKO,SAAS,kBAAkB,OAA+B;AAC/D,QAAM,SAAS,OAAO;AACtB,SACE;AAAA,IAAC,OAAO;AAAA,IAAP;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,aAAa,MAAM,SAAS;AAAA;AAAA,EACnD;AAEJ;AAKO,SAAS,mBAAmB,OAA2B;AAC5D,SAAO,oBAAC,OAAO,cAAP,EAAqB,GAAG,OAAO;AACzC;AAMO,IAAM,iBAAiB;","names":[]}
@@ -3,10 +3,12 @@ import {
3
3
  Toast,
4
4
  Toaster
5
5
  } from "@ark-ui/react/toast";
6
- import { cx } from "@cerberus/styled-system/css";
7
- import { toast } from "@cerberus/styled-system/recipes";
6
+ import { cx } from "styled-system/css";
7
+ import { toast } from "styled-system/recipes";
8
8
  import { jsx } from "react/jsx-runtime";
9
- var NotificationProvider = Toaster;
9
+ function NotificationProvider(props) {
10
+ return /* @__PURE__ */ jsx(Toaster, { ...props });
11
+ }
10
12
  function NotificationRoot(props) {
11
13
  const styles = toast();
12
14
  return /* @__PURE__ */ jsx(Toast.Root, { ...props, className: cx(styles.root, props.className) });
@@ -54,4 +56,4 @@ export {
54
56
  NotificationCloseTrigger,
55
57
  NotificationActionTrigger
56
58
  };
57
- //# sourceMappingURL=chunk-7JHQVQPS.js.map
59
+ //# sourceMappingURL=chunk-SZOV7M64.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/notifications/primitives.tsx"],"sourcesContent":["import {\n Toast,\n Toaster,\n type ToastActionTriggerProps,\n type ToastCloseTriggerProps,\n type ToasterProps,\n type ToastRootProps,\n type ToastTitleProps,\n} from '@ark-ui/react/toast'\nimport { cx } from 'styled-system/css'\nimport { toast } from 'styled-system/recipes'\n\n/**\n * This module contains the primitives of the Notification component.\n * @module 'notification/primitives'\n */\n\nexport function NotificationProvider(props: ToasterProps) {\n return <Toaster {...props} />\n}\n\n/**\n * The context provider for the Notification component.\n */\nexport function NotificationRoot(props: ToastRootProps) {\n const styles = toast()\n return <Toast.Root {...props} className={cx(styles.root, props.className)} />\n}\n\n/**\n * The title heading of the Notification component.\n */\nexport function NotificationHeading(props: ToastTitleProps) {\n const styles = toast()\n return (\n <Toast.Title {...props} className={cx(styles.title, props.className)} />\n )\n}\n\n/**\n * The description of the Notification component.\n */\nexport function NotificationDescription(props: ToastTitleProps) {\n const styles = toast()\n return (\n <Toast.Description\n {...props}\n className={cx(styles.description, props.className)}\n />\n )\n}\n\n/**\n * The close button of the Notification component.\n */\nexport function NotificationCloseTrigger(props: ToastCloseTriggerProps) {\n const styles = toast()\n return (\n <Toast.CloseTrigger\n {...props}\n className={cx(styles.closeTrigger, props.className)}\n />\n )\n}\n\n/**\n * The action trigger of the Notification component.\n */\nexport function NotificationActionTrigger(props: ToastActionTriggerProps) {\n const styles = toast()\n return (\n <Toast.ActionTrigger\n {...props}\n className={cx(styles.actionTrigger, props.className)}\n />\n )\n}\n"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,OAMK;AACP,SAAS,UAAU;AACnB,SAAS,aAAa;AAQb;AADF,SAAS,qBAAqB,OAAqB;AACxD,SAAO,oBAAC,WAAS,GAAG,OAAO;AAC7B;AAKO,SAAS,iBAAiB,OAAuB;AACtD,QAAM,SAAS,MAAM;AACrB,SAAO,oBAAC,MAAM,MAAN,EAAY,GAAG,OAAO,WAAW,GAAG,OAAO,MAAM,MAAM,SAAS,GAAG;AAC7E;AAKO,SAAS,oBAAoB,OAAwB;AAC1D,QAAM,SAAS,MAAM;AACrB,SACE,oBAAC,MAAM,OAAN,EAAa,GAAG,OAAO,WAAW,GAAG,OAAO,OAAO,MAAM,SAAS,GAAG;AAE1E;AAKO,SAAS,wBAAwB,OAAwB;AAC9D,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,MAAM;AAAA,IAAN;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,aAAa,MAAM,SAAS;AAAA;AAAA,EACnD;AAEJ;AAKO,SAAS,yBAAyB,OAA+B;AACtE,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,MAAM;AAAA,IAAN;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,cAAc,MAAM,SAAS;AAAA;AAAA,EACpD;AAEJ;AAKO,SAAS,0BAA0B,OAAgC;AACxE,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,MAAM;AAAA,IAAN;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,eAAe,MAAM,SAAS;AAAA;AAAA,EACrD;AAEJ;","names":[]}
@@ -1,8 +1,8 @@
1
1
  // src/components/deprecated/FieldMessage.tsx
2
- import { cx } from "@cerberus/styled-system/css";
2
+ import { cx } from "styled-system/css";
3
3
  import {
4
4
  fieldMessage
5
- } from "@cerberus/styled-system/recipes";
5
+ } from "styled-system/recipes";
6
6
  import { useFieldContext } from "@ark-ui/react/field";
7
7
  import { jsx } from "react/jsx-runtime";
8
8
  function FieldMessage(props) {
@@ -20,4 +20,4 @@ function FieldMessage(props) {
20
20
  export {
21
21
  FieldMessage
22
22
  };
23
- //# sourceMappingURL=chunk-L7N24B6B.js.map
23
+ //# sourceMappingURL=chunk-T2NB3RBO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/deprecated/FieldMessage.tsx"],"sourcesContent":["'use client'\n\nimport type { HTMLAttributes } from 'react'\nimport { cx } from 'styled-system/css'\nimport {\n fieldMessage,\n type FieldMessageVariantProps,\n} from 'styled-system/recipes'\nimport { useFieldContext } from '@ark-ui/react/field'\n\n/**\n * This module contains the FieldMessage component.\n * @module\n */\nexport interface FieldMessageBaseProps\n extends HTMLAttributes<HTMLParagraphElement> {\n /**\n * The id of the FieldMessage element describing the field. Required for accessibility. It is considered best practice to use the `help` or `error` prefix to help screen readers identify the type of message.\n *\n * @example For help messages: `help:field_id`\n * @example For error messages: `error:field_id`\n */\n id: string\n}\nexport type FieldMessageProps = FieldMessageBaseProps & FieldMessageVariantProps\n\n/**\n * @deprecated use FieldHelperText, FieldErrorText, or FieldParts instead\n */\nexport function FieldMessage(props: FieldMessageProps) {\n const { invalid } = useFieldContext()\n return (\n <small\n {...props}\n {...(invalid && { 'aria-invalid': true })}\n className={cx(props.className, fieldMessage())}\n />\n )\n}\n"],"mappings":";AAGA,SAAS,UAAU;AACnB;AAAA,EACE;AAAA,OAEK;AACP,SAAS,uBAAuB;AAwB5B;AAHG,SAAS,aAAa,OAA0B;AACrD,QAAM,EAAE,QAAQ,IAAI,gBAAgB;AACpC,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACH,GAAI,WAAW,EAAE,gBAAgB,KAAK;AAAA,MACvC,WAAW,GAAG,MAAM,WAAW,aAAa,CAAC;AAAA;AAAA,EAC/C;AAEJ;","names":[]}
@@ -1,12 +1,12 @@
1
- import {
2
- Spinner
3
- } from "./chunk-7SYJFI5E.js";
4
1
  import {
5
2
  useCerberusContext
6
3
  } from "./chunk-GITT5645.js";
4
+ import {
5
+ Spinner
6
+ } from "./chunk-AUI74W7J.js";
7
7
 
8
8
  // src/components/notifications/match-icon.tsx
9
- import { toast } from "@cerberus/styled-system/recipes";
9
+ import { toast } from "styled-system/recipes";
10
10
  import { ark } from "@ark-ui/react/factory";
11
11
  import { jsx } from "react/jsx-runtime";
12
12
  function MatchNotificationIcon(props) {
@@ -24,4 +24,4 @@ function ToastLoadingIcon() {
24
24
  export {
25
25
  MatchNotificationIcon
26
26
  };
27
- //# sourceMappingURL=chunk-63F5MURH.js.map
27
+ //# sourceMappingURL=chunk-TS7PAQPV.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/notifications/match-icon.tsx"],"sourcesContent":["'use client'\n\nimport { toast } from 'styled-system/recipes'\nimport { useCerberusContext } from '../../context/cerberus'\nimport { Spinner } from '../Spinner'\nimport type { NotifyOptions } from './types'\nimport { ark } from '@ark-ui/react/factory'\n\n/**\n * This private module contains a component that returns the correct icon for a\n * notification based on the palette. If there is no result, it is assumed to\n * be a 'loading' type.\n * @module 'notification/match-icon'\n */\n\ninterface MatchNotificationIconProps {\n type?: NotifyOptions['palette']\n}\n\nexport function MatchNotificationIcon(props: MatchNotificationIconProps) {\n const { icons } = useCerberusContext()\n const type = props.type || 'info'\n const styles = toast()\n\n const key = `${type}Notification` as keyof typeof icons\n const Icon = icons[key] || ToastLoadingIcon\n\n return (\n <ark.div className={styles.icon}>\n <Icon />\n </ark.div>\n )\n}\n\nfunction ToastLoadingIcon() {\n return <Spinner size=\"1rem\" />\n}\n"],"mappings":";;;;;;;;AAEA,SAAS,aAAa;AAItB,SAAS,WAAW;AAuBd;AAVC,SAAS,sBAAsB,OAAmC;AACvE,QAAM,EAAE,MAAM,IAAI,mBAAmB;AACrC,QAAM,OAAO,MAAM,QAAQ;AAC3B,QAAM,SAAS,MAAM;AAErB,QAAM,MAAM,GAAG,IAAI;AACnB,QAAM,OAAO,MAAM,GAAG,KAAK;AAE3B,SACE,oBAAC,IAAI,KAAJ,EAAQ,WAAW,OAAO,MACzB,8BAAC,QAAK,GACR;AAEJ;AAEA,SAAS,mBAAmB;AAC1B,SAAO,oBAAC,WAAQ,MAAK,QAAO;AAC9B;","names":[]}
@@ -1,17 +1,17 @@
1
+ import {
2
+ useCerberusContext
3
+ } from "./chunk-GITT5645.js";
1
4
  import {
2
5
  IconButton
3
- } from "./chunk-SRNDDY5D.js";
6
+ } from "./chunk-UH6XSYYD.js";
4
7
  import {
5
8
  Show
6
- } from "./chunk-BUVVRQLZ.js";
7
- import {
8
- useCerberusContext
9
- } from "./chunk-GITT5645.js";
9
+ } from "./chunk-VEAC4I3F.js";
10
10
 
11
11
  // src/components/Tag.tsx
12
12
  import { ark } from "@ark-ui/react/factory";
13
- import { css, cx } from "@cerberus/styled-system/css";
14
- import { tag } from "@cerberus/styled-system/recipes";
13
+ import { css, cx } from "styled-system/css";
14
+ import { tag } from "styled-system/recipes";
15
15
  import { jsx, jsxs } from "react/jsx-runtime";
16
16
  function Tag(props) {
17
17
  const { shape: initShape, gradient, onClick, usage, ...nativeProps } = props;
@@ -61,4 +61,4 @@ var closableCss = css({
61
61
  export {
62
62
  Tag
63
63
  };
64
- //# sourceMappingURL=chunk-IPC7LQ4Q.js.map
64
+ //# sourceMappingURL=chunk-TV346AYO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/Tag.tsx"],"sourcesContent":["'use client'\n\nimport { ark, type HTMLArkProps } from '@ark-ui/react/factory'\nimport type { MouseEventHandler, PropsWithChildren } from 'react'\nimport { css, cx } from 'styled-system/css'\nimport { tag, type TagVariantProps } from 'styled-system/recipes'\nimport { useCerberusContext } from '../context/cerberus'\nimport { Show } from './Show'\nimport { IconButton } from './IconButton'\n\n/**\n * This module contains the tag component.\n * @module\n */\n\nexport type StaticTagProps = HTMLArkProps<'span'> &\n TagVariantProps & {\n /**\n * The action to be performed when the tag is clicked. Not available when\n * the palette or gradient props are provided.\n */\n onClick?: never\n }\n\nexport type ClickableTagProps = HTMLArkProps<'span'> & {\n /**\n * The gradient to apply to the tag. Not available when the onClick prop is\n * provided.\n */\n gradient?: never\n /**\n * The palette to use for the tag. Not available when the onClick prop is\n * provided.\n */\n palette?: never\n /**\n * The action to be performed when the tag is clicked.\n */\n onClick: MouseEventHandler<HTMLSpanElement>\n /**\n * The shape of the tag. Not available when the onClick prop is provided.\n * @type 'pill' | 'rounded'\n * @default 'pill'\n */\n shape?: never\n /**\n * The usage of the tag. Not available when the onClick prop is provided.\n * @type 'filled' | 'outlined'\n * @default 'filled'\n */\n usage?: never\n}\n\nexport type TagProps = StaticTagProps | ClickableTagProps\n\n/**\n * The Tag component is used to display a meta descriptions.\n * @see https://cerberus.digitalu.design/react/tag\n * @example\n * ```tsx\n * <Tag>Tag</Tag>\n * ```\n */\nexport function Tag(props: PropsWithChildren<TagProps>) {\n const { shape: initShape, gradient, onClick, usage, ...nativeProps } = props\n const palette = props?.palette ?? 'page'\n const isClosable = Boolean(onClick)\n const shape = isClosable ? 'pill' : initShape\n const closableStyles = isClosable ? closableCss : ''\n const { icons } = useCerberusContext()\n const { close: Close } = icons\n\n return (\n <ark.span\n {...nativeProps}\n className={cx(\n nativeProps.className,\n tag({\n gradient,\n palette,\n shape,\n usage,\n }),\n closableStyles,\n )}\n >\n {props.children}\n\n <Show when={isClosable}>\n <IconButton\n ariaLabel=\"Close\"\n onClick={onClick}\n palette=\"action\"\n usage=\"filled\"\n size=\"sm\"\n >\n <Close />\n </IconButton>\n </Show>\n </ark.span>\n )\n}\n\nconst closableCss = css({\n bgColor: 'action.bg.active',\n color: 'action.text.initial',\n paddingInlineEnd: '0',\n})\n"],"mappings":";;;;;;;;;;;AAEA,SAAS,WAA8B;AAEvC,SAAS,KAAK,UAAU;AACxB,SAAS,WAAiC;AAoEtC,SAuBM,KAvBN;AAVG,SAAS,IAAI,OAAoC;AACtD,QAAM,EAAE,OAAO,WAAW,UAAU,SAAS,OAAO,GAAG,YAAY,IAAI;AACvE,QAAM,UAAU,OAAO,WAAW;AAClC,QAAM,aAAa,QAAQ,OAAO;AAClC,QAAM,QAAQ,aAAa,SAAS;AACpC,QAAM,iBAAiB,aAAa,cAAc;AAClD,QAAM,EAAE,MAAM,IAAI,mBAAmB;AACrC,QAAM,EAAE,OAAO,MAAM,IAAI;AAEzB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW;AAAA,QACT,YAAY;AAAA,QACZ,IAAI;AAAA,UACF;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,QACF,CAAC;AAAA,QACD;AAAA,MACF;AAAA,MAEC;AAAA,cAAM;AAAA,QAEP,oBAAC,QAAK,MAAM,YACV;AAAA,UAAC;AAAA;AAAA,YACC,WAAU;AAAA,YACV;AAAA,YACA,SAAQ;AAAA,YACR,OAAM;AAAA,YACN,MAAK;AAAA,YAEL,8BAAC,SAAM;AAAA;AAAA,QACT,GACF;AAAA;AAAA;AAAA,EACF;AAEJ;AAEA,IAAM,cAAc,IAAI;AAAA,EACtB,SAAS;AAAA,EACT,OAAO;AAAA,EACP,kBAAkB;AACpB,CAAC;","names":[]}
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  useNavMenuContext
3
- } from "./chunk-6WS765J3.js";
4
- import {
5
- Show
6
- } from "./chunk-BUVVRQLZ.js";
3
+ } from "./chunk-FXWN3SPS.js";
7
4
  import {
8
5
  createNavTriggerProps
9
- } from "./chunk-JF76VIL3.js";
6
+ } from "./chunk-FUTYPCHZ.js";
7
+ import {
8
+ Show
9
+ } from "./chunk-VEAC4I3F.js";
10
10
 
11
11
  // src/components/deprecated/NavMenuTrigger.tsx
12
12
  import {
13
13
  useCallback
14
14
  } from "react";
15
- import { cx } from "@cerberus/styled-system/css";
16
- import { button } from "@cerberus/styled-system/recipes";
15
+ import { cx } from "styled-system/css";
16
+ import { button } from "styled-system/recipes";
17
17
  import { jsx } from "react/jsx-runtime";
18
18
  function NavMenuTrigger(props) {
19
19
  const {
@@ -78,4 +78,4 @@ function NavMenuTrigger(props) {
78
78
  export {
79
79
  NavMenuTrigger
80
80
  };
81
- //# sourceMappingURL=chunk-245SMQ45.js.map
81
+ //# sourceMappingURL=chunk-UCVB2VOI.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/deprecated/NavMenuTrigger.tsx"],"sourcesContent":["'use client'\n\nimport {\n useCallback,\n type ButtonHTMLAttributes,\n type ElementType,\n type MouseEvent,\n} from 'react'\nimport { cx } from 'styled-system/css'\nimport { button } from 'styled-system/recipes'\nimport {\n createNavTriggerProps,\n type NavTriggerAriaValues,\n} from '../../aria-helpers/nav-menu.aria'\nimport { useNavMenuContext } from '../../context/navMenu'\nimport type { ButtonProps } from '../button/button'\nimport { Show } from '../Show'\n\n/**\n * This module contains the NavMenuTrigger component.\n * @module\n */\n\nexport interface NavMenuTriggerProps\n extends ButtonHTMLAttributes<HTMLButtonElement>,\n ButtonProps,\n NavTriggerAriaValues {\n /**\n * The element type to render as. Recommended to use for an IconButton trigger vs a standard Button.\n * @default 'button'\n * @example\n * ```tsx\n * <NavMenuTrigger as={IconButton} href=\"/home\" />\n * ```\n */\n as?: ElementType\n}\n\n/**\n * @deprecated use the {@link Menu} family instead\n */\nexport function NavMenuTrigger(props: NavMenuTriggerProps) {\n const {\n as,\n palette,\n usage,\n shape,\n controls,\n expanded: propsExpanded,\n onClick,\n ...nativeProps\n } = props\n const { triggerRef, onToggle, expanded } = useNavMenuContext()\n const ariaProps = createNavTriggerProps({\n controls,\n expanded: propsExpanded ?? expanded,\n })\n const hasAs = Boolean(as)\n const AsSub: ElementType = as!\n\n const handleClick = useCallback(\n (e: MouseEvent<HTMLButtonElement>) => {\n if (onClick) return onClick(e)\n onToggle()\n },\n [onClick, onToggle],\n )\n\n return (\n <Show\n when={hasAs}\n fallback={\n <button\n {...nativeProps}\n {...ariaProps}\n className={cx(\n nativeProps.className,\n button({\n palette,\n usage,\n shape,\n }),\n )}\n onClick={handleClick}\n ref={triggerRef}\n >\n {props.children}\n </button>\n }\n >\n {hasAs && (\n <AsSub\n {...nativeProps}\n {...ariaProps}\n onClick={handleClick}\n ref={triggerRef}\n />\n )}\n </Show>\n )\n}\n"],"mappings":";;;;;;;;;;;AAEA;AAAA,EACE;AAAA,OAIK;AACP,SAAS,UAAU;AACnB,SAAS,cAAc;AA+Df;AA/BD,SAAS,eAAe,OAA4B;AACzD,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,UAAU;AAAA,IACV;AAAA,IACA,GAAG;AAAA,EACL,IAAI;AACJ,QAAM,EAAE,YAAY,UAAU,SAAS,IAAI,kBAAkB;AAC7D,QAAM,YAAY,sBAAsB;AAAA,IACtC;AAAA,IACA,UAAU,iBAAiB;AAAA,EAC7B,CAAC;AACD,QAAM,QAAQ,QAAQ,EAAE;AACxB,QAAM,QAAqB;AAE3B,QAAM,cAAc;AAAA,IAClB,CAAC,MAAqC;AACpC,UAAI,QAAS,QAAO,QAAQ,CAAC;AAC7B,eAAS;AAAA,IACX;AAAA,IACA,CAAC,SAAS,QAAQ;AAAA,EACpB;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACC,MAAM;AAAA,MACN,UACE;AAAA,QAAC;AAAA;AAAA,UACE,GAAG;AAAA,UACH,GAAG;AAAA,UACJ,WAAW;AAAA,YACT,YAAY;AAAA,YACZ,OAAO;AAAA,cACL;AAAA,cACA;AAAA,cACA;AAAA,YACF,CAAC;AAAA,UACH;AAAA,UACA,SAAS;AAAA,UACT,KAAK;AAAA,UAEJ,gBAAM;AAAA;AAAA,MACT;AAAA,MAGD,mBACC;AAAA,QAAC;AAAA;AAAA,UACE,GAAG;AAAA,UACH,GAAG;AAAA,UACJ,SAAS;AAAA,UACT,KAAK;AAAA;AAAA,MACP;AAAA;AAAA,EAEJ;AAEJ;","names":[]}
@@ -2,10 +2,8 @@
2
2
  import {
3
3
  Avatar
4
4
  } from "@ark-ui/react/avatar";
5
- import {
6
- avatar
7
- } from "@cerberus/styled-system/recipes";
8
- import { cx } from "@cerberus/styled-system/css";
5
+ import { avatar } from "styled-system/recipes";
6
+ import { cx } from "styled-system/css";
9
7
  import { jsx } from "react/jsx-runtime";
10
8
  function AvatarRoot(props) {
11
9
  const { gradient, shape, size, ...rootProps } = props;
@@ -38,4 +36,4 @@ export {
38
36
  AvatarImage,
39
37
  AvatarFallback
40
38
  };
41
- //# sourceMappingURL=chunk-2FRF57EU.js.map
39
+ //# sourceMappingURL=chunk-UGFSACHC.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/avatar/primitives.tsx"],"sourcesContent":["import {\n Avatar,\n type AvatarFallbackProps,\n type AvatarImageProps,\n type AvatarRootProps,\n} from '@ark-ui/react/avatar'\nimport { avatar, type AvatarVariantProps } from 'styled-system/recipes'\nimport { cx } from 'styled-system/css'\n\n/**\n * This module provides the primitive components for the Avatar component.\n * @module 'avatar/primitives'\n */\n\n/**\n * The root component of the Avatar.\n */\nexport function AvatarRoot(props: AvatarRootProps & AvatarVariantProps) {\n const { gradient, shape, size, ...rootProps } = props\n const styles = avatar({ gradient, shape, size })\n return (\n <Avatar.Root\n {...rootProps}\n className={cx(styles.root, rootProps.className)}\n />\n )\n}\n\n/**\n * The image component of the Avatar.\n */\nexport function AvatarImage(props: AvatarImageProps) {\n const styles = avatar()\n return (\n <Avatar.Image {...props} className={cx(styles.image, props.className)} />\n )\n}\n\n/**\n * The fallback component of the Avatar.\n */\nexport function AvatarFallback(props: AvatarFallbackProps) {\n const styles = avatar()\n return (\n <Avatar.Fallback\n {...props}\n className={cx(styles.fallback, props.className)}\n />\n )\n}\n"],"mappings":";AAAA;AAAA,EACE;AAAA,OAIK;AACP,SAAS,cAAuC;AAChD,SAAS,UAAU;AAcf;AAJG,SAAS,WAAW,OAA6C;AACtE,QAAM,EAAE,UAAU,OAAO,MAAM,GAAG,UAAU,IAAI;AAChD,QAAM,SAAS,OAAO,EAAE,UAAU,OAAO,KAAK,CAAC;AAC/C,SACE;AAAA,IAAC,OAAO;AAAA,IAAP;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,MAAM,UAAU,SAAS;AAAA;AAAA,EAChD;AAEJ;AAKO,SAAS,YAAY,OAAyB;AACnD,QAAM,SAAS,OAAO;AACtB,SACE,oBAAC,OAAO,OAAP,EAAc,GAAG,OAAO,WAAW,GAAG,OAAO,OAAO,MAAM,SAAS,GAAG;AAE3E;AAKO,SAAS,eAAe,OAA4B;AACzD,QAAM,SAAS,OAAO;AACtB,SACE;AAAA,IAAC,OAAO;AAAA,IAAP;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,UAAU,MAAM,SAAS;AAAA;AAAA,EAChD;AAEJ;","names":[]}
@@ -1,9 +1,7 @@
1
1
  // src/components/IconButton.tsx
2
2
  import { ark } from "@ark-ui/react/factory";
3
- import { cx } from "@cerberus/styled-system/css";
4
- import {
5
- iconButton
6
- } from "@cerberus/styled-system/recipes";
3
+ import { cx } from "styled-system/css";
4
+ import { iconButton } from "styled-system/recipes";
7
5
  import { jsx } from "react/jsx-runtime";
8
6
  function IconButton(props) {
9
7
  const { ariaLabel, palette, usage, size, ...nativeProps } = props;
@@ -27,4 +25,4 @@ function IconButton(props) {
27
25
  export {
28
26
  IconButton
29
27
  };
30
- //# sourceMappingURL=chunk-SRNDDY5D.js.map
28
+ //# sourceMappingURL=chunk-UH6XSYYD.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/IconButton.tsx"],"sourcesContent":["import { ark, type HTMLArkProps } from '@ark-ui/react/factory'\nimport { cx } from 'styled-system/css'\nimport { iconButton, type IconButtonVariantProps } from 'styled-system/recipes'\n\n/**\n * This module contains the Icon Button component.\n * @module\n */\n\nexport interface IconButtonRawProps extends HTMLArkProps<'button'> {\n /**\n * The aria-label attribute for the icon button.\n */\n ariaLabel: string\n}\nexport type IconButtonProps = IconButtonRawProps & IconButtonVariantProps\n\n/**\n * A component that allows the user to perform actions using an icon\n * @see https://cerberus.digitalu.design/react/icon-button\n */\nexport function IconButton(props: IconButtonProps) {\n const { ariaLabel, palette, usage, size, ...nativeProps } = props\n return (\n <ark.button\n {...nativeProps}\n aria-label={ariaLabel ?? 'Icon Button'}\n className={cx(\n nativeProps.className,\n iconButton({\n palette,\n usage,\n size,\n }),\n )}\n />\n )\n}\n"],"mappings":";AAAA,SAAS,WAA8B;AACvC,SAAS,UAAU;AACnB,SAAS,kBAA+C;AAsBpD;AAHG,SAAS,WAAW,OAAwB;AACjD,QAAM,EAAE,WAAW,SAAS,OAAO,MAAM,GAAG,YAAY,IAAI;AAC5D,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,cAAY,aAAa;AAAA,MACzB,WAAW;AAAA,QACT,YAAY;AAAA,QACZ,WAAW;AAAA,UACT;AAAA,UACA;AAAA,UACA;AAAA,QACF,CAAC;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  FieldsetParts
3
- } from "./chunk-7TQRTBUP.js";
3
+ } from "./chunk-NQ22M7U7.js";
4
4
  import {
5
5
  splitProps
6
6
  } from "./chunk-BL7G3577.js";
@@ -24,4 +24,4 @@ function Fieldset(props) {
24
24
  export {
25
25
  Fieldset
26
26
  };
27
- //# sourceMappingURL=chunk-AO3GB72J.js.map
27
+ //# sourceMappingURL=chunk-UJTE43LT.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/fieldset/fieldset.tsx"],"sourcesContent":["import type { FieldsetRootProps } from '@ark-ui/react'\nimport { splitProps } from '../../utils'\nimport { FieldsetParts } from './parts'\nimport type { FieldsetVariantProps } from 'styled-system/recipes'\n\n/**\n * This module contains the Fieldset component.\n * @module Fieldset\n */\n\nexport interface FieldsetProps extends FieldsetRootProps, FieldsetVariantProps {\n /**\n * The legend/title/label of the fieldset group.\n */\n legend?: string\n /**\n * The description text for the fieldset group.\n */\n helperText?: string\n /**\n * The error text for the fieldset group shown when the field is invalid.\n */\n errorText?: string\n}\n\n/**\n * A component used for grouping related fields in a form that is an\n * abstraction of the Fieldset primitives.\n * @description [Fieldset Docs](https://cerberus.digitalu.design/react/fieldset)\n * @description [Primitive Docs](https://ark-ui.com/react/docs/components/fieldset)\n */\nexport function Fieldset(props: FieldsetProps) {\n const [fieldsetProps, { usage }, rootProps] = splitProps(\n props,\n ['legend', 'helperText', 'errorText', 'children'],\n ['usage'],\n )\n\n return (\n <FieldsetParts.Root {...rootProps}>\n <FieldsetParts.Legend usage={usage}>\n {fieldsetProps.legend}\n </FieldsetParts.Legend>\n <FieldsetParts.HelperText usage={usage}>\n {fieldsetProps.helperText}\n </FieldsetParts.HelperText>\n\n {fieldsetProps.children}\n\n <FieldsetParts.ErrorText>\n {fieldsetProps.errorText}\n </FieldsetParts.ErrorText>\n </FieldsetParts.Root>\n )\n}\n"],"mappings":";;;;;;;;AAuCI,SACE,KADF;AARG,SAAS,SAAS,OAAsB;AAC7C,QAAM,CAAC,eAAe,EAAE,MAAM,GAAG,SAAS,IAAI;AAAA,IAC5C;AAAA,IACA,CAAC,UAAU,cAAc,aAAa,UAAU;AAAA,IAChD,CAAC,OAAO;AAAA,EACV;AAEA,SACE,qBAAC,cAAc,MAAd,EAAoB,GAAG,WACtB;AAAA,wBAAC,cAAc,QAAd,EAAqB,OACnB,wBAAc,QACjB;AAAA,IACA,oBAAC,cAAc,YAAd,EAAyB,OACvB,wBAAc,YACjB;AAAA,IAEC,cAAc;AAAA,IAEf,oBAAC,cAAc,WAAd,EACE,wBAAc,WACjB;AAAA,KACF;AAEJ;","names":[]}
@@ -1,32 +1,32 @@
1
- import {
2
- TriggerItem
3
- } from "./chunk-TNSIYRF7.js";
4
1
  import {
5
2
  CTAModalContext
6
3
  } from "./chunk-4LSTU6WU.js";
7
4
  import {
8
- For
9
- } from "./chunk-DXOKSZVQ.js";
5
+ TriggerItem
6
+ } from "./chunk-QD3WAARV.js";
10
7
  import {
11
8
  DialogCloseIconTrigger
12
- } from "./chunk-XVOEBY5S.js";
9
+ } from "./chunk-F3XFJHGR.js";
13
10
  import {
14
11
  Dialog
15
- } from "./chunk-MH6CIBDU.js";
12
+ } from "./chunk-Z2KBUTCO.js";
16
13
  import {
17
14
  DialogDescription,
18
15
  DialogHeading,
19
16
  DialogProvider
20
- } from "./chunk-D7UIWAFO.js";
17
+ } from "./chunk-SSR3CWJZ.js";
21
18
  import {
22
- Avatar
23
- } from "./chunk-N4RPMT6J.js";
19
+ For
20
+ } from "./chunk-I5RGBB57.js";
24
21
  import {
25
- Show
26
- } from "./chunk-BUVVRQLZ.js";
22
+ Avatar
23
+ } from "./chunk-CF4TCMJI.js";
27
24
  import {
28
25
  useCerberusContext
29
26
  } from "./chunk-GITT5645.js";
27
+ import {
28
+ Show
29
+ } from "./chunk-VEAC4I3F.js";
30
30
 
31
31
  // src/components/cta-dialog/provider.tsx
32
32
  import {
@@ -35,7 +35,7 @@ import {
35
35
  useMemo,
36
36
  useState
37
37
  } from "react";
38
- import { HStack, VStack } from "@cerberus/styled-system/jsx";
38
+ import { HStack, VStack } from "styled-system/jsx";
39
39
  import { jsx, jsxs } from "react/jsx-runtime";
40
40
  function CTAModal(props) {
41
41
  const [open, setOpen] = useState(false);
@@ -79,7 +79,7 @@ function CTAModal(props) {
79
79
  fallback: /* @__PURE__ */ jsx(
80
80
  Show,
81
81
  {
82
- when: Boolean(confirmIcon),
82
+ when: confirmIcon,
83
83
  fallback: /* @__PURE__ */ jsx(FallbackIcon, { size: 24 }),
84
84
  children: confirmIcon
85
85
  }
@@ -114,4 +114,4 @@ export {
114
114
  CTAModal,
115
115
  useCTAModal
116
116
  };
117
- //# sourceMappingURL=chunk-3XE3QXUI.js.map
117
+ //# sourceMappingURL=chunk-URJ6JHLG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/cta-dialog/provider.tsx"],"sourcesContent":["'use client'\n\nimport {\n useCallback,\n useContext,\n useMemo,\n useState,\n type MouseEvent,\n type PropsWithChildren,\n type ReactNode,\n} from 'react'\nimport { HStack, VStack } from 'styled-system/jsx'\nimport { useCerberusContext } from '../../context/cerberus'\nimport { Show } from '../Show'\nimport { For } from '../for'\nimport { Avatar } from '../avatar/avatar'\nimport {\n Dialog,\n DialogDescription,\n DialogHeading,\n DialogProvider,\n} from '../dialog'\nimport { DialogCloseIconTrigger } from '../dialog/close-icon-trigger'\nimport type { CTAButtonAction, CTAModalActionReturn } from './utils'\nimport {\n CTAModalContext,\n type CTAModalValue,\n type ShowCTAModalOptions,\n} from './context'\nimport { TriggerItem } from './trigger-item'\n\n/**\n * This module provides the provider and hook for the cta modal.\n * @module 'react/cta-modal/provider'\n */\n\n/**\n * Provides a CTA modal to the app.\n * @see https://cerberus.digitalu.design/react/cta-modal\n * @example\n * ```tsx\n * // Wrap the Provider around the root of the feature.\n * <CTAModal>\n * <SomeFeatureSection />\n * </CTAModal>\n *\n * // Use the hook to show the cta modal.\n * const cta = useCTAModal()\n *\n * const handleClick = useCallback(async () => {\n * const userConsent = await cta.show({\n * heading: 'Create or copy a Cohort',\n * description:\n * 'Create a new cohort or copy and existing one.',\n * icon: <Copy size={24} />,\n * actions: [\n * {\n * text: 'Create Cohort',\n * onClick: () => {},\n * {\n * text: 'Copy Cohort',\n * onClick: () => {}\n * }\n * })\n * setConsent(userConsent)\n * }, [cta])\n * ```\n */\nexport function CTAModal(props: PropsWithChildren<object>) {\n const [open, setOpen] = useState<boolean>(false)\n const [content, setContent] = useState<ShowCTAModalOptions | null>(null)\n const confirmIcon = content?.icon\n\n const { icons } = useCerberusContext()\n const { confirmModal: FallbackIcon } = icons\n\n const handleShow = useCallback(\n (options: ShowCTAModalOptions) => {\n setContent({ ...options })\n setOpen(true)\n },\n [setOpen],\n )\n\n const handleActionClick = useCallback(\n (event: MouseEvent<HTMLButtonElement>) => {\n const index = Number(event.currentTarget.getAttribute('data-index'))\n const contentActions = content?.actions as CTAModalActionReturn\n const action = contentActions._actions[index] as CTAButtonAction\n action?.handleClick?.(event)\n setOpen(false)\n },\n [content, setOpen],\n )\n\n const value = useMemo(\n () => ({\n show: handleShow,\n }),\n [handleShow],\n )\n\n return (\n <CTAModalContext.Provider value={value}>\n {props.children}\n\n <DialogProvider open={open} onOpenChange={(e) => setOpen(e.open)}>\n <Dialog size=\"sm\">\n <DialogCloseIconTrigger />\n\n <VStack gap=\"xl\" w=\"full\">\n <VStack alignItems=\"flex-start\" gap=\"md\" w=\"full\">\n <VStack gap=\"lg\" w=\"full\">\n <Avatar\n gradient=\"charon-light\"\n fallback={\n <Show\n when={confirmIcon}\n fallback={<FallbackIcon size={24} />}\n >\n {confirmIcon}\n </Show>\n }\n />\n <DialogHeading>{content?.heading}</DialogHeading>\n <DialogDescription>{content?.description}</DialogDescription>\n </VStack>\n </VStack>\n\n <HStack gap=\"md\" w=\"full\">\n <For each={content?.actions._actions}>\n {(action, index) => (\n <Show\n key={index}\n when={content?.actions?.type === 'btnAction'}\n fallback={\n <TriggerItem asChild>{action as ReactNode}</TriggerItem>\n }\n >\n <TriggerItem data-index={index} onClick={handleActionClick}>\n {(action as CTAButtonAction)?.text}\n </TriggerItem>\n </Show>\n )}\n </For>\n </HStack>\n </VStack>\n </Dialog>\n </DialogProvider>\n </CTAModalContext.Provider>\n )\n}\n\nexport function useCTAModal(): CTAModalValue {\n const context = useContext(CTAModalContext)\n if (context === null) {\n throw new Error('useCTAModal must be used within a CTAModal Provider')\n }\n return context\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAIK;AACP,SAAS,QAAQ,cAAc;AAiGrB,cAII,YAJJ;AAxCH,SAAS,SAAS,OAAkC;AACzD,QAAM,CAAC,MAAM,OAAO,IAAI,SAAkB,KAAK;AAC/C,QAAM,CAAC,SAAS,UAAU,IAAI,SAAqC,IAAI;AACvE,QAAM,cAAc,SAAS;AAE7B,QAAM,EAAE,MAAM,IAAI,mBAAmB;AACrC,QAAM,EAAE,cAAc,aAAa,IAAI;AAEvC,QAAM,aAAa;AAAA,IACjB,CAAC,YAAiC;AAChC,iBAAW,EAAE,GAAG,QAAQ,CAAC;AACzB,cAAQ,IAAI;AAAA,IACd;AAAA,IACA,CAAC,OAAO;AAAA,EACV;AAEA,QAAM,oBAAoB;AAAA,IACxB,CAAC,UAAyC;AACxC,YAAM,QAAQ,OAAO,MAAM,cAAc,aAAa,YAAY,CAAC;AACnE,YAAM,iBAAiB,SAAS;AAChC,YAAM,SAAS,eAAe,SAAS,KAAK;AAC5C,cAAQ,cAAc,KAAK;AAC3B,cAAQ,KAAK;AAAA,IACf;AAAA,IACA,CAAC,SAAS,OAAO;AAAA,EACnB;AAEA,QAAM,QAAQ;AAAA,IACZ,OAAO;AAAA,MACL,MAAM;AAAA,IACR;AAAA,IACA,CAAC,UAAU;AAAA,EACb;AAEA,SACE,qBAAC,gBAAgB,UAAhB,EAAyB,OACvB;AAAA,UAAM;AAAA,IAEP,oBAAC,kBAAe,MAAY,cAAc,CAAC,MAAM,QAAQ,EAAE,IAAI,GAC7D,+BAAC,UAAO,MAAK,MACX;AAAA,0BAAC,0BAAuB;AAAA,MAExB,qBAAC,UAAO,KAAI,MAAK,GAAE,QACjB;AAAA,4BAAC,UAAO,YAAW,cAAa,KAAI,MAAK,GAAE,QACzC,+BAAC,UAAO,KAAI,MAAK,GAAE,QACjB;AAAA;AAAA,YAAC;AAAA;AAAA,cACC,UAAS;AAAA,cACT,UACE;AAAA,gBAAC;AAAA;AAAA,kBACC,MAAM;AAAA,kBACN,UAAU,oBAAC,gBAAa,MAAM,IAAI;AAAA,kBAEjC;AAAA;AAAA,cACH;AAAA;AAAA,UAEJ;AAAA,UACA,oBAAC,iBAAe,mBAAS,SAAQ;AAAA,UACjC,oBAAC,qBAAmB,mBAAS,aAAY;AAAA,WAC3C,GACF;AAAA,QAEA,oBAAC,UAAO,KAAI,MAAK,GAAE,QACjB,8BAAC,OAAI,MAAM,SAAS,QAAQ,UACzB,WAAC,QAAQ,UACR;AAAA,UAAC;AAAA;AAAA,YAEC,MAAM,SAAS,SAAS,SAAS;AAAA,YACjC,UACE,oBAAC,eAAY,SAAO,MAAE,kBAAoB;AAAA,YAG5C,8BAAC,eAAY,cAAY,OAAO,SAAS,mBACrC,kBAA4B,MAChC;AAAA;AAAA,UARK;AAAA,QASP,GAEJ,GACF;AAAA,SACF;AAAA,OACF,GACF;AAAA,KACF;AAEJ;AAEO,SAAS,cAA6B;AAC3C,QAAM,UAAU,WAAW,eAAe;AAC1C,MAAI,YAAY,MAAM;AACpB,UAAM,IAAI,MAAM,qDAAqD;AAAA,EACvE;AACA,SAAO;AACT;","names":[]}
@@ -7,7 +7,7 @@ import {
7
7
  DialogPositioner,
8
8
  DialogRoot,
9
9
  DialogTrigger
10
- } from "./chunk-D7UIWAFO.js";
10
+ } from "./chunk-SSR3CWJZ.js";
11
11
 
12
12
  // src/components/dialog/parts.ts
13
13
  var DialogParts = {
@@ -24,4 +24,4 @@ var DialogParts = {
24
24
  export {
25
25
  DialogParts
26
26
  };
27
- //# sourceMappingURL=chunk-FCSO6N2Y.js.map
27
+ //# sourceMappingURL=chunk-V6EAWUCQ.js.map
@@ -12,7 +12,7 @@ import {
12
12
  ComboboxPositioner,
13
13
  ComboboxRoot,
14
14
  ComboboxTrigger
15
- } from "./chunk-NR5XDIJ7.js";
15
+ } from "./chunk-D4BVNWAY.js";
16
16
 
17
17
  // src/components/combobox/parts.ts
18
18
  var ComboboxParts = {
@@ -34,4 +34,4 @@ var ComboboxParts = {
34
34
  export {
35
35
  ComboboxParts
36
36
  };
37
- //# sourceMappingURL=chunk-HIC7Z23X.js.map
37
+ //# sourceMappingURL=chunk-V6ZOASMM.js.map
@@ -0,0 +1,17 @@
1
+ // src/components/Show.tsx
2
+ import { Fragment, jsx } from "react/jsx-runtime";
3
+ function Show(props) {
4
+ const { when, children, fallback } = props;
5
+ if (when) {
6
+ return /* @__PURE__ */ jsx(Fragment, { children });
7
+ }
8
+ if (fallback) {
9
+ return /* @__PURE__ */ jsx(Fragment, { children: fallback });
10
+ }
11
+ return null;
12
+ }
13
+
14
+ export {
15
+ Show
16
+ };
17
+ //# sourceMappingURL=chunk-VEAC4I3F.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/Show.tsx"],"sourcesContent":["import { type PropsWithChildren, type ReactNode } from 'react'\n\n/**\n * This module contains the Show component.\n * @module\n */\n\nexport interface ShowProps<T> {\n /**\n * The condition to render memoized children or the fallback content.\n */\n when: T | boolean | null | undefined\n /**\n * The children to render when the condition is false.\n */\n fallback?: ReactNode\n}\n\n/**\n * Conditionally render a memoized version of the children or optional fallback\n * content.\n * @see https://cerberus.digitalu.design/react/show\n * @example\n * ```tsx\n * <Show when={isLoggedIn} fallback={<Navigate to=\"/login\" />}>\n * <Dashboard />\n * </Show>\n */\nexport function Show<T>(props: PropsWithChildren<ShowProps<T>>) {\n const { when, children, fallback } = props\n\n if (when) {\n return <>{children}</>\n }\n\n if (fallback) {\n return <>{fallback}</>\n }\n\n return null\n}\n"],"mappings":";AAgCW;AAJJ,SAAS,KAAQ,OAAwC;AAC9D,QAAM,EAAE,MAAM,UAAU,SAAS,IAAI;AAErC,MAAI,MAAM;AACR,WAAO,gCAAG,UAAS;AAAA,EACrB;AAEA,MAAI,UAAU;AACZ,WAAO,gCAAG,oBAAS;AAAA,EACrB;AAEA,SAAO;AACT;","names":[]}
@@ -4,8 +4,8 @@ import {
4
4
 
5
5
  // src/components/field/status-indicator.tsx
6
6
  import { useFieldContext } from "@ark-ui/react";
7
- import { cx } from "@cerberus/styled-system/css";
8
- import { field } from "@cerberus/styled-system/recipes";
7
+ import { cx } from "styled-system/css";
8
+ import { field } from "styled-system/recipes";
9
9
  import { jsx } from "react/jsx-runtime";
10
10
  function FieldStatusIndicator(props) {
11
11
  const { fallback, ...nativeProps } = props;
@@ -40,4 +40,4 @@ function FieldStatusIndicator(props) {
40
40
  export {
41
41
  FieldStatusIndicator
42
42
  };
43
- //# sourceMappingURL=chunk-CNA2VKAH.js.map
43
+ //# sourceMappingURL=chunk-VIKVLJGG.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/field/status-indicator.tsx"],"sourcesContent":["'use client'\n\nimport { useFieldContext } from '@ark-ui/react'\nimport { cx } from 'styled-system/css'\nimport { field } from 'styled-system/recipes'\nimport { useCerberusContext } from '../../context/cerberus'\nimport type { HTMLAttributes, ReactNode } from 'react'\n\nexport interface FieldStatusIndicatorProps\n extends HTMLAttributes<HTMLSpanElement> {\n /**\n * The fallback content to display when the field is valid.\n */\n fallback?: ReactNode\n}\n\n/**\n * The invalid status indicator for the Field component.\n * @description [Field Docs](https://cerberus.digitalu.design/react/field)\n * @example\n * ```tsx\n * <FieldRoot>\n * <FieldStatusIndicator />\n * </FieldRoot>\n * ```\n */\nexport function FieldStatusIndicator(props: FieldStatusIndicatorProps) {\n const { fallback, ...nativeProps } = props\n const styles = field()\n const fieldContext = useFieldContext()\n\n const { icons } = useCerberusContext()\n const { invalid: InvalidIcon } = icons\n\n if (fieldContext.invalid) {\n return (\n <span\n {...nativeProps}\n aria-hidden=\"true\"\n data-invalid\n className={cx(nativeProps.className, styles.statusIndicator)}\n >\n <InvalidIcon />\n </span>\n )\n }\n\n return (\n <span\n {...nativeProps}\n aria-hidden=\"true\"\n data-part=\"end-indicator\"\n className={cx(nativeProps.className, styles.endIndicator)}\n >\n {fallback}\n </span>\n )\n}\n"],"mappings":";;;;;AAEA,SAAS,uBAAuB;AAChC,SAAS,UAAU;AACnB,SAAS,aAAa;AAsCd;AAhBD,SAAS,qBAAqB,OAAkC;AACrE,QAAM,EAAE,UAAU,GAAG,YAAY,IAAI;AACrC,QAAM,SAAS,MAAM;AACrB,QAAM,eAAe,gBAAgB;AAErC,QAAM,EAAE,MAAM,IAAI,mBAAmB;AACrC,QAAM,EAAE,SAAS,YAAY,IAAI;AAEjC,MAAI,aAAa,SAAS;AACxB,WACE;AAAA,MAAC;AAAA;AAAA,QACE,GAAG;AAAA,QACJ,eAAY;AAAA,QACZ,gBAAY;AAAA,QACZ,WAAW,GAAG,YAAY,WAAW,OAAO,eAAe;AAAA,QAE3D,8BAAC,eAAY;AAAA;AAAA,IACf;AAAA,EAEJ;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,eAAY;AAAA,MACZ,aAAU;AAAA,MACV,WAAW,GAAG,YAAY,WAAW,OAAO,YAAY;AAAA,MAEvD;AAAA;AAAA,EACH;AAEJ;","names":[]}
@@ -4,7 +4,7 @@ import {
4
4
  TabsList,
5
5
  TabsRoot,
6
6
  TabsTrigger
7
- } from "./chunk-4GFEWP76.js";
7
+ } from "./chunk-L5FYGWAZ.js";
8
8
 
9
9
  // src/components/tabs/parts.ts
10
10
  var TabsParts = {
@@ -18,4 +18,4 @@ var TabsParts = {
18
18
  export {
19
19
  TabsParts
20
20
  };
21
- //# sourceMappingURL=chunk-YUNLWTUB.js.map
21
+ //# sourceMappingURL=chunk-W337WQTU.js.map
@@ -1,16 +1,16 @@
1
- import {
2
- FieldStatusIndicator
3
- } from "./chunk-CNA2VKAH.js";
4
1
  import {
5
2
  FieldStartIndicator
6
- } from "./chunk-Z52R6ABJ.js";
3
+ } from "./chunk-EMDNETC7.js";
4
+ import {
5
+ FieldStatusIndicator
6
+ } from "./chunk-VIKVLJGG.js";
7
7
 
8
8
  // src/components/field/primitives.tsx
9
9
  import {
10
10
  Field
11
11
  } from "@ark-ui/react/field";
12
- import { cx } from "@cerberus/styled-system/css";
13
- import { field } from "@cerberus/styled-system/recipes";
12
+ import { cx } from "styled-system/css";
13
+ import { field } from "styled-system/recipes";
14
14
  import { jsx, jsxs } from "react/jsx-runtime";
15
15
  function FieldRoot(props) {
16
16
  const { size, ...fieldProps } = props;
@@ -97,4 +97,4 @@ export {
97
97
  Input,
98
98
  Textarea
99
99
  };
100
- //# sourceMappingURL=chunk-VNPLKMEM.js.map
100
+ //# sourceMappingURL=chunk-WEL43I6Y.js.map