@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,17 +1,22 @@
1
1
  import {
2
2
  Show
3
- } from "./chunk-BUVVRQLZ.js";
3
+ } from "./chunk-VEAC4I3F.js";
4
4
 
5
5
  // src/components/CircularProgress.tsx
6
- import { cq } from "@cerberus/styled-system/patterns";
7
- import { css } from "@cerberus/styled-system/css";
6
+ import { circularProgress } from "styled-system/recipes";
8
7
  import { jsx, jsxs } from "react/jsx-runtime";
9
8
  function CircularProgress(props) {
9
+ const { size = "1.1em" } = props;
10
+ const sizeProps = props.size ? {
11
+ height: size,
12
+ width: size
13
+ } : {};
10
14
  const strokeW = 14;
11
15
  const radius = `calc(50% * (1 - ${strokeW}/100))`;
12
16
  const status = props.syntax ?? "Done";
13
17
  const now = props.now >= 100 ? 100 : props.now;
14
18
  const bgStyle = props.bgStyle ?? "filled";
19
+ const styles = circularProgress();
15
20
  return /* @__PURE__ */ jsx(
16
21
  "div",
17
22
  {
@@ -20,27 +25,19 @@ function CircularProgress(props) {
20
25
  "aria-valuemin": 0,
21
26
  "aria-valuemax": 100,
22
27
  "aria-valuenow": now,
23
- className: cq({
24
- alignSelf: "stretch",
25
- flex: 1,
26
- m: "4px",
27
- position: "relative"
28
- }),
28
+ className: styles.root,
29
29
  role: "progressbar",
30
30
  children: /* @__PURE__ */ jsxs(
31
31
  "svg",
32
32
  {
33
33
  "data-complete": now === 100,
34
- className: css({
35
- display: "block",
36
- rounded: "full",
37
- transition: "all 0.5s ease"
38
- }),
34
+ className: styles.group,
39
35
  fill: "none",
40
36
  strokeLinecap: "round",
41
37
  strokeWidth: strokeW,
42
38
  viewBox: "0 0 100 100",
43
39
  xmlns: "http://www.w3.org/2000/svg",
40
+ ...sizeProps,
44
41
  children: [
45
42
  /* @__PURE__ */ jsx("title", { children: props.title }),
46
43
  /* @__PURE__ */ jsx("desc", { children: `${now}% ${status}` }),
@@ -63,9 +60,7 @@ function CircularProgress(props) {
63
60
  /* @__PURE__ */ jsx(Show, { when: bgStyle === "filled", children: /* @__PURE__ */ jsx(
64
61
  "circle",
65
62
  {
66
- className: css({
67
- fill: "page.surface.initial"
68
- }),
63
+ className: styles.base,
69
64
  cx: "50%",
70
65
  cy: "50%",
71
66
  r: `calc(50% * (1 - ${strokeW}/100))`,
@@ -75,9 +70,7 @@ function CircularProgress(props) {
75
70
  /* @__PURE__ */ jsx(
76
71
  "circle",
77
72
  {
78
- className: css({
79
- stroke: "page.bg.100"
80
- }),
73
+ className: styles.track,
81
74
  cx: "50%",
82
75
  cy: "50%",
83
76
  r: radius,
@@ -88,13 +81,7 @@ function CircularProgress(props) {
88
81
  "circle",
89
82
  {
90
83
  "data-complete": now === 100,
91
- className: css({
92
- stroke: "url(#gradient)",
93
- transition: "stroke-dashoffset, stroke 0.5s ease",
94
- _isComplete: {
95
- stroke: "success.bg.initial"
96
- }
97
- }),
84
+ className: styles.path,
98
85
  cx: "50%",
99
86
  cy: "50%",
100
87
  fill: "none",
@@ -109,11 +96,7 @@ function CircularProgress(props) {
109
96
  /* @__PURE__ */ jsxs(
110
97
  "text",
111
98
  {
112
- className: css({
113
- fill: "page.text.initial",
114
- fontFamily: "mono",
115
- textStyle: "1.25rem"
116
- }),
99
+ className: styles.title,
117
100
  x: "50%",
118
101
  y: "47%",
119
102
  dominantBaseline: "middle",
@@ -127,11 +110,7 @@ function CircularProgress(props) {
127
110
  /* @__PURE__ */ jsx(
128
111
  "text",
129
112
  {
130
- className: css({
131
- fill: "page.text.100",
132
- fontSize: "0.5rem",
133
- fontWeight: 600
134
- }),
113
+ className: styles.description,
135
114
  x: "50%",
136
115
  y: "59%",
137
116
  dominantBaseline: "middle",
@@ -150,4 +129,4 @@ function CircularProgress(props) {
150
129
  export {
151
130
  CircularProgress
152
131
  };
153
- //# sourceMappingURL=chunk-6QHOKCV3.js.map
132
+ //# sourceMappingURL=chunk-IE2HWT3I.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/CircularProgress.tsx"],"sourcesContent":["import { circularProgress } from 'styled-system/recipes'\nimport type { SVGProps } from 'react'\nimport { Show } from './Show'\n\n/**\n * This module contains the CircularProgress component.\n * @module\n */\n\nexport interface CircularProgressProps extends SVGProps<SVGSVGElement> {\n /**\n * A unique identifier for the progress bar. Required for accessibility.\n */\n id: string\n /**\n * A description label for the progress bar. Required for accessibility.\n */\n label: string\n /**\n * The current value of the CircularProgress\n */\n now: number\n /**\n * The title of the CircularProgress for a11y\n */\n title: string\n /**\n * What is shown below the now value (default: 'Done')\n */\n syntax?: string\n /**\n * The background style of the CircularProgress\n */\n bgStyle?: 'filled' | 'transparent'\n /**\n * The size of the CircularProgress\n * @default '1.1em'\n */\n size?: string\n}\n\n/**\n * The CircularProgress component is used to display a loading indicator.\n * @param props - SVG element attributes\n * @param props.now - The current value of the CircularProgress\n * @param props.title - The title of the CircularProgress for a11y\n * @param props.label - What is shown below the now value (default: 'Done')\n * @see https://cerberus.digitalu.design/react/progress-indicators\n * @example\n * ```tsx\n * <CircularProgress now={24} title=\"Course completion\" label=\"done\" />\n * ```\n */\nexport function CircularProgress(props: CircularProgressProps) {\n const { size = '1.1em' } = props\n const sizeProps = props.size\n ? {\n height: size,\n width: size,\n }\n : {}\n\n const strokeW: number = 14\n const radius = `calc(50% * (1 - ${strokeW}/100))`\n const status: string = props.syntax ?? 'Done'\n const now: number = props.now >= 100 ? 100 : props.now\n const bgStyle: string = props.bgStyle ?? 'filled'\n\n const styles = circularProgress()\n\n return (\n <div\n id={props.id}\n aria-label={props.label}\n aria-valuemin={0}\n aria-valuemax={100}\n aria-valuenow={now}\n className={styles.root}\n role=\"progressbar\"\n >\n <svg\n data-complete={now === 100}\n className={styles.group}\n fill=\"none\"\n strokeLinecap=\"round\"\n strokeWidth={strokeW}\n viewBox=\"0 0 100 100\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...sizeProps}\n >\n <title>{props.title}</title>\n <desc>{`${now}% ${status}`}</desc>\n <defs>\n <linearGradient id=\"gradient\">\n <stop\n offset=\"0%\"\n stopColor=\"var(--cerberus-colors-data-viz-progress-start)\"\n />\n <stop\n offset=\"100%\"\n stopColor=\"var(--cerberus-colors-data-viz-progress-end)\"\n />\n </linearGradient>\n </defs>\n\n <Show when={bgStyle === 'filled'}>\n <circle\n className={styles.base}\n cx=\"50%\"\n cy=\"50%\"\n r={`calc(50% * (1 - ${strokeW}/100))`}\n pathLength=\"100\"\n />\n </Show>\n\n <circle\n className={styles.track}\n cx=\"50%\"\n cy=\"50%\"\n r={radius}\n pathLength=\"100\"\n />\n\n <circle\n data-complete={now === 100}\n className={styles.path}\n cx=\"50%\"\n cy=\"50%\"\n fill=\"none\"\n r={radius}\n pathLength=\"100\"\n strokeDasharray=\"100\"\n strokeDashoffset={100 - now}\n transform=\"rotate(-90 50 50)\"\n />\n\n <g>\n <text\n className={styles.title}\n x=\"50%\"\n y=\"47%\"\n dominantBaseline=\"middle\"\n textAnchor=\"middle\"\n >\n {now}%\n </text>\n <text\n className={styles.description}\n x=\"50%\"\n y=\"59%\"\n dominantBaseline=\"middle\"\n textAnchor=\"middle\"\n >\n {status}\n </text>\n </g>\n </svg>\n </div>\n )\n}\n"],"mappings":";;;;;AAAA,SAAS,wBAAwB;AA0FzB,cAGE,YAHF;AArCD,SAAS,iBAAiB,OAA8B;AAC7D,QAAM,EAAE,OAAO,QAAQ,IAAI;AAC3B,QAAM,YAAY,MAAM,OACpB;AAAA,IACE,QAAQ;AAAA,IACR,OAAO;AAAA,EACT,IACA,CAAC;AAEL,QAAM,UAAkB;AACxB,QAAM,SAAS,mBAAmB,OAAO;AACzC,QAAM,SAAiB,MAAM,UAAU;AACvC,QAAM,MAAc,MAAM,OAAO,MAAM,MAAM,MAAM;AACnD,QAAM,UAAkB,MAAM,WAAW;AAEzC,QAAM,SAAS,iBAAiB;AAEhC,SACE;AAAA,IAAC;AAAA;AAAA,MACC,IAAI,MAAM;AAAA,MACV,cAAY,MAAM;AAAA,MAClB,iBAAe;AAAA,MACf,iBAAe;AAAA,MACf,iBAAe;AAAA,MACf,WAAW,OAAO;AAAA,MAClB,MAAK;AAAA,MAEL;AAAA,QAAC;AAAA;AAAA,UACC,iBAAe,QAAQ;AAAA,UACvB,WAAW,OAAO;AAAA,UAClB,MAAK;AAAA,UACL,eAAc;AAAA,UACd,aAAa;AAAA,UACb,SAAQ;AAAA,UACR,OAAM;AAAA,UACL,GAAG;AAAA,UAEJ;AAAA,gCAAC,WAAO,gBAAM,OAAM;AAAA,YACpB,oBAAC,UAAM,aAAG,GAAG,KAAK,MAAM,IAAG;AAAA,YAC3B,oBAAC,UACC,+BAAC,oBAAe,IAAG,YACjB;AAAA;AAAA,gBAAC;AAAA;AAAA,kBACC,QAAO;AAAA,kBACP,WAAU;AAAA;AAAA,cACZ;AAAA,cACA;AAAA,gBAAC;AAAA;AAAA,kBACC,QAAO;AAAA,kBACP,WAAU;AAAA;AAAA,cACZ;AAAA,eACF,GACF;AAAA,YAEA,oBAAC,QAAK,MAAM,YAAY,UACtB;AAAA,cAAC;AAAA;AAAA,gBACC,WAAW,OAAO;AAAA,gBAClB,IAAG;AAAA,gBACH,IAAG;AAAA,gBACH,GAAG,mBAAmB,OAAO;AAAA,gBAC7B,YAAW;AAAA;AAAA,YACb,GACF;AAAA,YAEA;AAAA,cAAC;AAAA;AAAA,gBACC,WAAW,OAAO;AAAA,gBAClB,IAAG;AAAA,gBACH,IAAG;AAAA,gBACH,GAAG;AAAA,gBACH,YAAW;AAAA;AAAA,YACb;AAAA,YAEA;AAAA,cAAC;AAAA;AAAA,gBACC,iBAAe,QAAQ;AAAA,gBACvB,WAAW,OAAO;AAAA,gBAClB,IAAG;AAAA,gBACH,IAAG;AAAA,gBACH,MAAK;AAAA,gBACL,GAAG;AAAA,gBACH,YAAW;AAAA,gBACX,iBAAgB;AAAA,gBAChB,kBAAkB,MAAM;AAAA,gBACxB,WAAU;AAAA;AAAA,YACZ;AAAA,YAEA,qBAAC,OACC;AAAA;AAAA,gBAAC;AAAA;AAAA,kBACC,WAAW,OAAO;AAAA,kBAClB,GAAE;AAAA,kBACF,GAAE;AAAA,kBACF,kBAAiB;AAAA,kBACjB,YAAW;AAAA,kBAEV;AAAA;AAAA,oBAAI;AAAA;AAAA;AAAA,cACP;AAAA,cACA;AAAA,gBAAC;AAAA;AAAA,kBACC,WAAW,OAAO;AAAA,kBAClB,GAAE;AAAA,kBACF,GAAE;AAAA,kBACF,kBAAiB;AAAA,kBACjB,YAAW;AAAA,kBAEV;AAAA;AAAA,cACH;AAAA,eACF;AAAA;AAAA;AAAA,MACF;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -1,6 +1,6 @@
1
1
  // src/components/deprecated/FieldsetLabel.tsx
2
- import { cx } from "@cerberus/styled-system/css";
3
- import { label } from "@cerberus/styled-system/recipes";
2
+ import { cx } from "styled-system/css";
3
+ import { label } from "styled-system/recipes";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  function FieldsetLabel(props) {
6
6
  const { size, usage, ...nativeProps } = props;
@@ -22,4 +22,4 @@ function FieldsetLabel(props) {
22
22
  export {
23
23
  FieldsetLabel
24
24
  };
25
- //# sourceMappingURL=chunk-DRDNNRU3.js.map
25
+ //# sourceMappingURL=chunk-IIH4VDQA.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/deprecated/FieldsetLabel.tsx"],"sourcesContent":["import { cx } from 'styled-system/css'\nimport { label, type LabelVariantProps } from 'styled-system/recipes'\nimport type { LabelProps } from './Label'\n\n/**\n * This module contains the FieldsetLabel component.\n * @module FieldsetLabel\n */\n\nexport type FieldsetLabelProps = LabelProps &\n LabelVariantProps & {\n htmlFor?: string\n }\n\n/**\n * @deprecated\n */\nexport function FieldsetLabel(props: FieldsetLabelProps) {\n const { size, usage, ...nativeProps } = props\n return (\n <label\n {...nativeProps}\n className={cx(\n nativeProps.className,\n label({\n size,\n usage,\n }),\n )}\n />\n )\n}\n"],"mappings":";AAAA,SAAS,UAAU;AACnB,SAAS,aAAqC;AAmB1C;AAHG,SAAS,cAAc,OAA2B;AACvD,QAAM,EAAE,MAAM,OAAO,GAAG,YAAY,IAAI;AACxC,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAW;AAAA,QACT,YAAY;AAAA,QACZ,MAAM;AAAA,UACJ;AAAA,UACA;AAAA,QACF,CAAC;AAAA,MACH;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  RatingGroup
4
4
  } from "@ark-ui/react/rating-group";
5
- import { cx } from "@cerberus/styled-system/css";
5
+ import { cx } from "styled-system/css";
6
6
  import {
7
7
  ratingGroup
8
- } from "@cerberus/styled-system/recipes";
8
+ } from "styled-system/recipes";
9
9
  import { jsx } from "react/jsx-runtime";
10
10
  function RatingRoot(props) {
11
11
  const { orientation, size, ...rootProps } = props;
@@ -68,4 +68,4 @@ export {
68
68
  RatingItemContext,
69
69
  RatingHiddenInput
70
70
  };
71
- //# sourceMappingURL=chunk-W47QEZD5.js.map
71
+ //# sourceMappingURL=chunk-IL677ECW.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/rating/primitives.tsx"],"sourcesContent":["import {\n RatingGroup,\n type RatingGroupContextProps,\n type RatingGroupControlProps,\n type RatingGroupHiddenInputProps,\n type RatingGroupItemContextProps,\n type RatingGroupItemProps,\n type RatingGroupLabelProps,\n type RatingGroupRootProps,\n} from '@ark-ui/react/rating-group'\nimport { cx } from 'styled-system/css'\nimport {\n ratingGroup,\n type RatingGroupVariantProps,\n} from 'styled-system/recipes'\n\n/**\n * This module contains the primitives of the Rating component.\n * @module 'rating/primitives'\n */\n\n/**\n * The root primitive of the Rating component.\n */\nexport function RatingRoot(\n props: RatingGroupRootProps & RatingGroupVariantProps,\n) {\n const { orientation, size, ...rootProps } = props\n const styles = ratingGroup({ orientation, size })\n return (\n <RatingGroup.Root\n {...rootProps}\n className={cx(styles.root, rootProps.className)}\n />\n )\n}\n\n/**\n * The label primitive of the Rating component.\n */\nexport function RatingLabel(props: RatingGroupLabelProps) {\n const styles = ratingGroup()\n return (\n <RatingGroup.Label\n {...props}\n className={cx(styles.label, props.className)}\n />\n )\n}\n\n/**\n * The control primitive of the Rating component.\n */\nexport function RatingControl(props: RatingGroupControlProps) {\n const styles = ratingGroup()\n return (\n <RatingGroup.Control\n {...props}\n className={cx(styles.control, props.className)}\n />\n )\n}\n\n/**\n * The context primitive of the Rating component.\n */\nexport function RatingContext(props: RatingGroupContextProps) {\n return <RatingGroup.Context {...props} />\n}\n\n/**\n * The item primitive of the Rating component.\n */\nexport function RatingItem(\n props: RatingGroupItemProps & RatingGroupVariantProps,\n) {\n const { palette, ...itemProps } = props\n const styles = ratingGroup({ palette })\n return (\n <RatingGroup.Item\n {...itemProps}\n className={cx(styles.item, itemProps.className)}\n />\n )\n}\n\n/**\n * The item context primitive of the Rating component.\n */\nexport function RatingItemContext(props: RatingGroupItemContextProps) {\n return <RatingGroup.ItemContext {...props} />\n}\n\n/**\n * The hidden input primitive of the Rating component.\n */\nexport function RatingHiddenInput(props: RatingGroupHiddenInputProps) {\n return <RatingGroup.HiddenInput {...props} />\n}\n"],"mappings":";AAAA;AAAA,EACE;AAAA,OAQK;AACP,SAAS,UAAU;AACnB;AAAA,EACE;AAAA,OAEK;AAgBH;AANG,SAAS,WACd,OACA;AACA,QAAM,EAAE,aAAa,MAAM,GAAG,UAAU,IAAI;AAC5C,QAAM,SAAS,YAAY,EAAE,aAAa,KAAK,CAAC;AAChD,SACE;AAAA,IAAC,YAAY;AAAA,IAAZ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,MAAM,UAAU,SAAS;AAAA;AAAA,EAChD;AAEJ;AAKO,SAAS,YAAY,OAA8B;AACxD,QAAM,SAAS,YAAY;AAC3B,SACE;AAAA,IAAC,YAAY;AAAA,IAAZ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,OAAO,MAAM,SAAS;AAAA;AAAA,EAC7C;AAEJ;AAKO,SAAS,cAAc,OAAgC;AAC5D,QAAM,SAAS,YAAY;AAC3B,SACE;AAAA,IAAC,YAAY;AAAA,IAAZ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,SAAS,MAAM,SAAS;AAAA;AAAA,EAC/C;AAEJ;AAKO,SAAS,cAAc,OAAgC;AAC5D,SAAO,oBAAC,YAAY,SAAZ,EAAqB,GAAG,OAAO;AACzC;AAKO,SAAS,WACd,OACA;AACA,QAAM,EAAE,SAAS,GAAG,UAAU,IAAI;AAClC,QAAM,SAAS,YAAY,EAAE,QAAQ,CAAC;AACtC,SACE;AAAA,IAAC,YAAY;AAAA,IAAZ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,MAAM,UAAU,SAAS;AAAA;AAAA,EAChD;AAEJ;AAKO,SAAS,kBAAkB,OAAoC;AACpE,SAAO,oBAAC,YAAY,aAAZ,EAAyB,GAAG,OAAO;AAC7C;AAKO,SAAS,kBAAkB,OAAoC;AACpE,SAAO,oBAAC,YAAY,aAAZ,EAAyB,GAAG,OAAO;AAC7C;","names":[]}
@@ -6,13 +6,13 @@ import {
6
6
  FieldRequiredIndicator,
7
7
  FieldRoot,
8
8
  FieldTextarea
9
- } from "./chunk-VNPLKMEM.js";
10
- import {
11
- FieldStatusIndicator
12
- } from "./chunk-CNA2VKAH.js";
9
+ } from "./chunk-WEL43I6Y.js";
13
10
  import {
14
11
  FieldStartIndicator
15
- } from "./chunk-Z52R6ABJ.js";
12
+ } from "./chunk-EMDNETC7.js";
13
+ import {
14
+ FieldStatusIndicator
15
+ } from "./chunk-VIKVLJGG.js";
16
16
 
17
17
  // src/components/field/parts.ts
18
18
  var FieldParts = {
@@ -30,4 +30,4 @@ var FieldParts = {
30
30
  export {
31
31
  FieldParts
32
32
  };
33
- //# sourceMappingURL=chunk-32M5JS5F.js.map
33
+ //# sourceMappingURL=chunk-ILROS7ST.js.map
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  DatePickerParts
3
- } from "./chunk-WVFEJCUN.js";
4
- import {
5
- IconButton
6
- } from "./chunk-SRNDDY5D.js";
3
+ } from "./chunk-J76SGDYP.js";
7
4
  import {
8
5
  Button
9
- } from "./chunk-RD2YPFRA.js";
6
+ } from "./chunk-GB7W3YNU.js";
10
7
  import {
11
8
  useCerberusContext
12
9
  } from "./chunk-GITT5645.js";
10
+ import {
11
+ IconButton
12
+ } from "./chunk-UH6XSYYD.js";
13
13
 
14
14
  // src/components/date-picker/view-control-group.tsx
15
- import { css } from "@cerberus/styled-system/css";
15
+ import { css } from "styled-system/css";
16
16
  import { jsx, jsxs } from "react/jsx-runtime";
17
17
  function DatePickerViewControlGroup(props) {
18
18
  const { icons } = useCerberusContext();
@@ -39,4 +39,4 @@ function DatePickerViewControlGroup(props) {
39
39
  export {
40
40
  DatePickerViewControlGroup
41
41
  };
42
- //# sourceMappingURL=chunk-OSAYA6GH.js.map
42
+ //# sourceMappingURL=chunk-INVZVMY4.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/date-picker/view-control-group.tsx"],"sourcesContent":["'use client'\n\nimport type { DatePickerViewControlProps } from '@ark-ui/react/date-picker'\nimport { useCerberusContext } from '../../context/cerberus'\nimport { IconButton } from '../IconButton'\nimport { DatePickerParts } from './parts'\nimport { Button } from '../button/button'\nimport { css } from 'styled-system/css'\n\n/**\n * This private module contains an abstraction of the DatePickerViewControl\n * primitive.\n * @module 'date-picker/view-control-group'\n */\n\n/**\n * An abstraction of the DatePicker control that contains the prev, view, and\n * next triggers which control the calendar output.\n * @definition [datePicker docs](https://cerberus.digitalu.design/react/date-picker)\n */\nexport function DatePickerViewControlGroup(props: DatePickerViewControlProps) {\n const { icons } = useCerberusContext()\n const { calendarPrev: PrevIcon, calendarNext: NextIcon } = icons\n\n return (\n <DatePickerParts.ViewControl {...props}>\n <DatePickerParts.PrevTrigger asChild>\n <IconButton ariaLabel=\"Previous\" size=\"sm\">\n <PrevIcon />\n </IconButton>\n </DatePickerParts.PrevTrigger>\n\n <DatePickerParts.ViewTrigger asChild>\n <Button\n className={css({\n h: '2rem',\n paddingInline: 'md',\n })}\n shape=\"rounded\"\n size=\"sm\"\n usage=\"ghost\"\n >\n <DatePickerParts.RangeText />\n </Button>\n </DatePickerParts.ViewTrigger>\n\n <DatePickerParts.NextTrigger asChild>\n <IconButton ariaLabel=\"Next\" size=\"sm\">\n <NextIcon />\n </IconButton>\n </DatePickerParts.NextTrigger>\n </DatePickerParts.ViewControl>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;AAOA,SAAS,WAAW;AAkBhB,SAGM,KAHN;AALG,SAAS,2BAA2B,OAAmC;AAC5E,QAAM,EAAE,MAAM,IAAI,mBAAmB;AACrC,QAAM,EAAE,cAAc,UAAU,cAAc,SAAS,IAAI;AAE3D,SACE,qBAAC,gBAAgB,aAAhB,EAA6B,GAAG,OAC/B;AAAA,wBAAC,gBAAgB,aAAhB,EAA4B,SAAO,MAClC,8BAAC,cAAW,WAAU,YAAW,MAAK,MACpC,8BAAC,YAAS,GACZ,GACF;AAAA,IAEA,oBAAC,gBAAgB,aAAhB,EAA4B,SAAO,MAClC;AAAA,MAAC;AAAA;AAAA,QACC,WAAW,IAAI;AAAA,UACb,GAAG;AAAA,UACH,eAAe;AAAA,QACjB,CAAC;AAAA,QACD,OAAM;AAAA,QACN,MAAK;AAAA,QACL,OAAM;AAAA,QAEN,8BAAC,gBAAgB,WAAhB,EAA0B;AAAA;AAAA,IAC7B,GACF;AAAA,IAEA,oBAAC,gBAAgB,aAAhB,EAA4B,SAAO,MAClC,8BAAC,cAAW,WAAU,QAAO,MAAK,MAChC,8BAAC,YAAS,GACZ,GACF;AAAA,KACF;AAEJ;","names":[]}
@@ -2,7 +2,7 @@ import {
2
2
  AvatarFallback,
3
3
  AvatarImage,
4
4
  AvatarRoot
5
- } from "./chunk-2FRF57EU.js";
5
+ } from "./chunk-UGFSACHC.js";
6
6
 
7
7
  // src/components/avatar/parts.ts
8
8
  var AvatarParts = {
@@ -14,4 +14,4 @@ var AvatarParts = {
14
14
  export {
15
15
  AvatarParts
16
16
  };
17
- //# sourceMappingURL=chunk-SYPAA5YF.js.map
17
+ //# sourceMappingURL=chunk-IUF74GEL.js.map
@@ -23,7 +23,7 @@ import {
23
23
  DatePickerViewControl,
24
24
  DatePickerViewTrigger,
25
25
  DatePickerYearSelect
26
- } from "./chunk-D7MAAGNA.js";
26
+ } from "./chunk-RW3YEBDW.js";
27
27
 
28
28
  // src/components/date-picker/parts.ts
29
29
  var DatePickerParts = {
@@ -56,4 +56,4 @@ var DatePickerParts = {
56
56
  export {
57
57
  DatePickerParts
58
58
  };
59
- //# sourceMappingURL=chunk-WVFEJCUN.js.map
59
+ //# sourceMappingURL=chunk-J76SGDYP.js.map
@@ -4,7 +4,7 @@ import {
4
4
  AdmonitionHeading,
5
5
  AdmonitionIndicator,
6
6
  AdmonitionRoot
7
- } from "./chunk-RKGFPKKK.js";
7
+ } from "./chunk-OY33UHBG.js";
8
8
 
9
9
  // src/components/admonition/parts.ts
10
10
  var AdmonitionParts = {
@@ -18,4 +18,4 @@ var AdmonitionParts = {
18
18
  export {
19
19
  AdmonitionParts
20
20
  };
21
- //# sourceMappingURL=chunk-RQCJKDXU.js.map
21
+ //# sourceMappingURL=chunk-JQYW4IOC.js.map
@@ -1,32 +1,30 @@
1
- import {
2
- ProgressBar
3
- } from "./chunk-KJMCUYWV.js";
4
1
  import {
5
2
  Field
6
- } from "./chunk-6WEW5OGL.js";
7
- import {
8
- Avatar
9
- } from "./chunk-N4RPMT6J.js";
10
- import {
11
- IconButton
12
- } from "./chunk-SRNDDY5D.js";
3
+ } from "./chunk-LEBDLXJE.js";
13
4
  import {
14
5
  FieldHelperText
15
- } from "./chunk-VNPLKMEM.js";
6
+ } from "./chunk-WEL43I6Y.js";
7
+ import {
8
+ Avatar
9
+ } from "./chunk-CF4TCMJI.js";
16
10
  import {
17
11
  useCerberusContext
18
12
  } from "./chunk-GITT5645.js";
13
+ import {
14
+ IconButton
15
+ } from "./chunk-UH6XSYYD.js";
16
+ import {
17
+ ProgressBar
18
+ } from "./chunk-Q737W5KJ.js";
19
19
 
20
20
  // src/components/FileStatus.tsx
21
21
  import {
22
22
  useCallback,
23
23
  useMemo
24
24
  } from "react";
25
- import {
26
- fileStatus
27
- } from "@cerberus/styled-system/recipes";
28
- import { css, cx } from "@cerberus/styled-system/css";
29
- import { hstack, vstack } from "@cerberus/styled-system/patterns";
25
+ import { fileStatus } from "styled-system/recipes";
26
+ import { css, cx } from "styled-system/css";
27
+ import { hstack, vstack } from "styled-system/patterns";
30
28
  import { jsx, jsxs } from "react/jsx-runtime";
31
29
  var processStatus = /* @__PURE__ */ ((processStatus2) => {
32
30
  processStatus2["TODO"] = "todo";
@@ -225,4 +223,4 @@ export {
225
223
  processStatus,
226
224
  FileStatus
227
225
  };
228
- //# sourceMappingURL=chunk-DYQBRCZC.js.map
226
+ //# sourceMappingURL=chunk-KABRV6TB.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/FileStatus.tsx"],"sourcesContent":["'use client'\n\nimport {\n useCallback,\n useMemo,\n type HTMLAttributes,\n type MouseEvent,\n} from 'react'\nimport { fileStatus, type FileStatusVariantProps } from 'styled-system/recipes'\nimport { css, cx } from 'styled-system/css'\nimport { hstack, vstack } from 'styled-system/patterns'\nimport { useCerberusContext } from '../context/cerberus'\nimport { ProgressBar, type ProgressBarProps } from './ProgressBar'\nimport { IconButton } from './IconButton'\nimport { Avatar } from './avatar/avatar'\nimport { Field, FieldHelperText } from './field/index'\n\n/**\n * This module contains the FileStatus component.\n * @module\n */\n\n/**\n * The available values of the fileStatus helper Object.\n * @example\n * ```tsx\n * import { fileStatus } from '@cerberus/react'\n * processStatus.TODO // 'todo'\n * ```\n */\nexport type FileStatusKey = (typeof processStatus)[keyof typeof processStatus]\n\n/**\n * The actions that can be performed on a file.\n */\nexport type FileStatusActions = 'cancel' | 'retry' | 'delete'\nexport interface FileBaseStatusProps\n extends Omit<HTMLAttributes<HTMLDivElement>, 'onClick'> {\n /**\n * A unique identifier for the file status. Required for accessibility.\n */\n id: string\n /**\n * The name of the file.\n */\n file: string\n /**\n * The percentage of the file that has been processed.\n */\n now: ProgressBarProps['now']\n /**\n * The status of the file.\n */\n status: processStatus\n /**\n * The action to perform on the file when a user clicks the\n * button located at the end of the status card.\n * @param status - The status of the file.\n * @param e - The event object.\n * @example\n * ```tsx\n * <FileStatus file=\"file.txt\" now={0} status={processStatus.TODO} action={(status, e) => console.log(status, e)} />\n * ```\n * @default () => {}\n */\n onClick: (status: FileStatusActions, e: MouseEvent<HTMLButtonElement>) => void\n}\nexport type FileStatusProps = FileBaseStatusProps & FileStatusVariantProps\n\n/**\n * A helper object to represent the status of a file.\n * @example\n * ```tsx\n * import { fileStatus } from '@cerberus/react'\n * processStatus.TODO // 'todo'\n * ```\n */\nexport const enum processStatus {\n TODO = 'todo',\n PROCESSING = 'processing',\n DONE = 'done',\n ERROR = 'error',\n}\n\n/**\n * A component that displays the status of a file during file processing.\n * @see https://cerberus.digitalu.design/react/file-uploader\n * @example\n * ```tsx\n * <FileStatus file=\"file.txt\" now={0} status={processStatus.TODO} action={(status, e) => console.log(status, e)} />\n * ```\n */\nexport function FileStatus(props: FileStatusProps) {\n const { file, now, status, onClick, ...nativeProps } = props\n const actionLabel = useMemo(() => getStatusActionLabel(status), [status])\n const palette = useMemo(() => getPalette(status), [status])\n const modalIconPalette = useMemo(() => getModalIconPalette(status), [status])\n const styles = useMemo(() => {\n switch (status) {\n case processStatus.TODO:\n return fileStatus({ status: 'todo' })\n case processStatus.PROCESSING:\n return fileStatus({ status: 'processing' })\n case processStatus.DONE:\n return fileStatus({ status: 'done' })\n case processStatus.ERROR:\n return fileStatus({ status: 'error' })\n default:\n return fileStatus()\n }\n }, [status])\n\n const handleClick = useCallback(\n (e: MouseEvent<HTMLButtonElement>) => {\n const actionStatus = getStatusActionLabel(\n status,\n ).toLocaleLowerCase() as FileStatusActions\n onClick(actionStatus, e)\n },\n [onClick],\n )\n\n return (\n <div\n {...nativeProps}\n className={cx(nativeProps.className, styles.root, hstack())}\n >\n <Avatar\n gradient={modalIconPalette}\n fallback={<MatchFileStatusIcon size={24} status={status} />}\n />\n\n <div\n className={vstack({\n alignItems: 'flex-start',\n gap: '0.12rem',\n w: 'full',\n })}\n >\n <small\n className={css({\n color: 'page.text.initial',\n textStyle: 'label-sm',\n })}\n >\n {file}\n </small>\n <ProgressBar\n id={props.id}\n label=\"File upload status\"\n now={now}\n size=\"sm\"\n />\n <Field label=\"\" invalid={modalIconPalette === 'hades-dark'}>\n <FieldHelperText\n className={css({\n color: 'page.text.100',\n })}\n id={`help:${file}`}\n >\n <MatchFileStatusText status={status} now={now} />\n </FieldHelperText>\n </Field>\n </div>\n\n <IconButton\n ariaLabel={actionLabel}\n onClick={handleClick}\n palette={palette}\n size=\"sm\"\n >\n <MatchStatusAction status={status} />\n </IconButton>\n </div>\n )\n}\n\ninterface FileStatusElProps {\n status: FileStatusProps['status']\n size?: 16 | 20 | 24 | 32\n now?: number\n}\n\nfunction MatchFileStatusIcon(props: FileStatusElProps) {\n const { icons } = useCerberusContext()\n const {\n waitingFileUploader: TodoIcon,\n fileUploader: FileUploaderIcon,\n invalidAlt: InvalidIcon,\n successNotification: DoneIcon,\n } = icons\n\n switch (props.status) {\n case processStatus.TODO:\n return <TodoIcon size={props.size} />\n case processStatus.PROCESSING:\n return <FileUploaderIcon size={props.size} />\n case processStatus.DONE:\n return <DoneIcon size={props.size} />\n case processStatus.ERROR:\n return <InvalidIcon size={props.size} />\n default:\n throw new Error('Unknown status')\n }\n}\n\nfunction MatchFileStatusText(props: FileStatusElProps) {\n switch (props.status) {\n case processStatus.TODO:\n return 'Waiting to upload'\n case processStatus.PROCESSING:\n return `${props.now}% Complete`\n case processStatus.DONE:\n return 'File uploaded successfully'\n case processStatus.ERROR:\n return 'There was an error uploading the file'\n default:\n throw new Error('Invalid status')\n }\n}\n\nfunction MatchStatusAction(props: FileStatusElProps) {\n const { icons } = useCerberusContext()\n const { close: CloseIcon, redo: RedoIcon, delete: TrashIcon } = icons\n switch (props.status) {\n case processStatus.TODO:\n case processStatus.PROCESSING:\n return <CloseIcon />\n case processStatus.ERROR:\n return <RedoIcon />\n case processStatus.DONE:\n return <TrashIcon />\n default:\n throw new Error('Invalid status')\n }\n}\n\nfunction getStatusActionLabel(status: FileStatusKey) {\n switch (status) {\n case processStatus.TODO:\n case processStatus.PROCESSING:\n return 'Cancel'\n case processStatus.ERROR:\n return 'Retry'\n case processStatus.DONE:\n return 'Delete'\n default:\n return ''\n }\n}\n\nfunction getPalette(status: FileStatusKey) {\n switch (status) {\n case processStatus.TODO:\n case processStatus.PROCESSING:\n return 'danger'\n case processStatus.ERROR:\n return 'action'\n case processStatus.DONE:\n return 'danger'\n default:\n return 'action'\n }\n}\n\nfunction getModalIconPalette(status: FileStatusKey) {\n switch (status) {\n case processStatus.TODO:\n case processStatus.PROCESSING:\n return 'charon-light'\n case processStatus.ERROR:\n return 'hades-dark'\n case processStatus.DONE:\n return 'thanatos-light'\n default:\n return 'charon-light'\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAEA;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AACP,SAAS,kBAA+C;AACxD,SAAS,KAAK,UAAU;AACxB,SAAS,QAAQ,cAAc;AAuHb,cAGZ,YAHY;AApDX,IAAW,gBAAX,kBAAWA,mBAAX;AACL,EAAAA,eAAA,UAAO;AACP,EAAAA,eAAA,gBAAa;AACb,EAAAA,eAAA,UAAO;AACP,EAAAA,eAAA,WAAQ;AAJQ,SAAAA;AAAA,GAAA;AAeX,SAAS,WAAW,OAAwB;AACjD,QAAM,EAAE,MAAM,KAAK,QAAQ,SAAS,GAAG,YAAY,IAAI;AACvD,QAAM,cAAc,QAAQ,MAAM,qBAAqB,MAAM,GAAG,CAAC,MAAM,CAAC;AACxE,QAAM,UAAU,QAAQ,MAAM,WAAW,MAAM,GAAG,CAAC,MAAM,CAAC;AAC1D,QAAM,mBAAmB,QAAQ,MAAM,oBAAoB,MAAM,GAAG,CAAC,MAAM,CAAC;AAC5E,QAAM,SAAS,QAAQ,MAAM;AAC3B,YAAQ,QAAQ;AAAA,MACd,KAAK;AACH,eAAO,WAAW,EAAE,QAAQ,OAAO,CAAC;AAAA,MACtC,KAAK;AACH,eAAO,WAAW,EAAE,QAAQ,aAAa,CAAC;AAAA,MAC5C,KAAK;AACH,eAAO,WAAW,EAAE,QAAQ,OAAO,CAAC;AAAA,MACtC,KAAK;AACH,eAAO,WAAW,EAAE,QAAQ,QAAQ,CAAC;AAAA,MACvC;AACE,eAAO,WAAW;AAAA,IACtB;AAAA,EACF,GAAG,CAAC,MAAM,CAAC;AAEX,QAAM,cAAc;AAAA,IAClB,CAAC,MAAqC;AACpC,YAAM,eAAe;AAAA,QACnB;AAAA,MACF,EAAE,kBAAkB;AACpB,cAAQ,cAAc,CAAC;AAAA,IACzB;AAAA,IACA,CAAC,OAAO;AAAA,EACV;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,YAAY,WAAW,OAAO,MAAM,OAAO,CAAC;AAAA,MAE1D;AAAA;AAAA,UAAC;AAAA;AAAA,YACC,UAAU;AAAA,YACV,UAAU,oBAAC,uBAAoB,MAAM,IAAI,QAAgB;AAAA;AAAA,QAC3D;AAAA,QAEA;AAAA,UAAC;AAAA;AAAA,YACC,WAAW,OAAO;AAAA,cAChB,YAAY;AAAA,cACZ,KAAK;AAAA,cACL,GAAG;AAAA,YACL,CAAC;AAAA,YAED;AAAA;AAAA,gBAAC;AAAA;AAAA,kBACC,WAAW,IAAI;AAAA,oBACb,OAAO;AAAA,oBACP,WAAW;AAAA,kBACb,CAAC;AAAA,kBAEA;AAAA;AAAA,cACH;AAAA,cACA;AAAA,gBAAC;AAAA;AAAA,kBACC,IAAI,MAAM;AAAA,kBACV,OAAM;AAAA,kBACN;AAAA,kBACA,MAAK;AAAA;AAAA,cACP;AAAA,cACA,oBAAC,SAAM,OAAM,IAAG,SAAS,qBAAqB,cAC5C;AAAA,gBAAC;AAAA;AAAA,kBACC,WAAW,IAAI;AAAA,oBACb,OAAO;AAAA,kBACT,CAAC;AAAA,kBACD,IAAI,QAAQ,IAAI;AAAA,kBAEhB,8BAAC,uBAAoB,QAAgB,KAAU;AAAA;AAAA,cACjD,GACF;AAAA;AAAA;AAAA,QACF;AAAA,QAEA;AAAA,UAAC;AAAA;AAAA,YACC,WAAW;AAAA,YACX,SAAS;AAAA,YACT;AAAA,YACA,MAAK;AAAA,YAEL,8BAAC,qBAAkB,QAAgB;AAAA;AAAA,QACrC;AAAA;AAAA;AAAA,EACF;AAEJ;AAQA,SAAS,oBAAoB,OAA0B;AACrD,QAAM,EAAE,MAAM,IAAI,mBAAmB;AACrC,QAAM;AAAA,IACJ,qBAAqB;AAAA,IACrB,cAAc;AAAA,IACd,YAAY;AAAA,IACZ,qBAAqB;AAAA,EACvB,IAAI;AAEJ,UAAQ,MAAM,QAAQ;AAAA,IACpB,KAAK;AACH,aAAO,oBAAC,YAAS,MAAM,MAAM,MAAM;AAAA,IACrC,KAAK;AACH,aAAO,oBAAC,oBAAiB,MAAM,MAAM,MAAM;AAAA,IAC7C,KAAK;AACH,aAAO,oBAAC,YAAS,MAAM,MAAM,MAAM;AAAA,IACrC,KAAK;AACH,aAAO,oBAAC,eAAY,MAAM,MAAM,MAAM;AAAA,IACxC;AACE,YAAM,IAAI,MAAM,gBAAgB;AAAA,EACpC;AACF;AAEA,SAAS,oBAAoB,OAA0B;AACrD,UAAQ,MAAM,QAAQ;AAAA,IACpB,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO,GAAG,MAAM,GAAG;AAAA,IACrB,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT;AACE,YAAM,IAAI,MAAM,gBAAgB;AAAA,EACpC;AACF;AAEA,SAAS,kBAAkB,OAA0B;AACnD,QAAM,EAAE,MAAM,IAAI,mBAAmB;AACrC,QAAM,EAAE,OAAO,WAAW,MAAM,UAAU,QAAQ,UAAU,IAAI;AAChE,UAAQ,MAAM,QAAQ;AAAA,IACpB,KAAK;AAAA,IACL,KAAK;AACH,aAAO,oBAAC,aAAU;AAAA,IACpB,KAAK;AACH,aAAO,oBAAC,YAAS;AAAA,IACnB,KAAK;AACH,aAAO,oBAAC,aAAU;AAAA,IACpB;AACE,YAAM,IAAI,MAAM,gBAAgB;AAAA,EACpC;AACF;AAEA,SAAS,qBAAqB,QAAuB;AACnD,UAAQ,QAAQ;AAAA,IACd,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACX;AACF;AAEA,SAAS,WAAW,QAAuB;AACzC,UAAQ,QAAQ;AAAA,IACd,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACX;AACF;AAEA,SAAS,oBAAoB,QAAuB;AAClD,UAAQ,QAAQ;AAAA,IACd,KAAK;AAAA,IACL,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT,KAAK;AACH,aAAO;AAAA,IACT;AACE,aAAO;AAAA,EACX;AACF;","names":["processStatus"]}
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  DatePickerViewControlGroup
3
- } from "./chunk-OSAYA6GH.js";
3
+ } from "./chunk-INVZVMY4.js";
4
4
  import {
5
5
  DatePickerParts
6
- } from "./chunk-WVFEJCUN.js";
6
+ } from "./chunk-J76SGDYP.js";
7
7
 
8
8
  // src/components/date-picker/day-view.tsx
9
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -42,4 +42,4 @@ function DatePickerDayView(props) {
42
42
  export {
43
43
  DatePickerDayView
44
44
  };
45
- //# sourceMappingURL=chunk-JQJTQVPI.js.map
45
+ //# sourceMappingURL=chunk-KEGLWDD6.js.map
@@ -28,4 +28,4 @@ export {
28
28
  ThemeProvider,
29
29
  useThemeContext
30
30
  };
31
- //# sourceMappingURL=chunk-EB37HRCN.js.map
31
+ //# sourceMappingURL=chunk-KOLNLCMZ.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/context/theme.tsx"],"sourcesContent":["'use client'\n\nimport { createContext, useContext, type PropsWithChildren } from 'react'\nimport { useTheme, type UseThemeOptions } from '../hooks/useTheme'\n\n/**\n * This module provides a context and hook for the theme.\n * @module Theme\n */\n\nexport type DefaultThemes = 'cerberus' | 'acheron'\nexport type CustomThemes<K extends string = DefaultThemes> = 'cerberus' | K\nexport type ColorModes = 'light' | 'dark' | 'system'\n\nexport interface ThemeContextValue<T extends string = DefaultThemes> {\n /**\n * The current theme.\n */\n theme: CustomThemes<T>\n /**\n * The current color mode.\n */\n mode: ColorModes\n /**\n * Called when the theme is updated.\n */\n updateTheme: (theme: T) => void\n /**\n * Called when the color mode is updated.\n */\n updateMode: (mode: ColorModes) => void\n}\n\nconst ThemeContext = createContext<ThemeContextValue<DefaultThemes> | null>(\n null,\n)\n\nexport interface ThemeProviderProps extends UseThemeOptions {\n /**\n * The default theme.\n */\n defaultTheme?: DefaultThemes\n /**\n * The default color mode.\n */\n defaultColorMode?: ColorModes\n}\n\n/**\n * A context provider that allows the user to set the theme and mode of the\n * application.\n * @see https://cerberus.digitalu.design/react/use-theme-context\n * @example\n * ```tsx\n * <ThemeProvider>\n * <App />\n * </ThemeProvider>\n * ```\n */\nexport function ThemeProvider(\n props: PropsWithChildren<ThemeProviderProps>,\n): JSX.Element {\n const state = useTheme(props.defaultTheme, props.defaultColorMode, {\n cache: props.cache,\n updateMode: props.updateMode,\n updateTheme: props.updateTheme,\n }) as ThemeContextValue<DefaultThemes>\n\n return (\n <ThemeContext.Provider value={state}>\n {props.children}\n </ThemeContext.Provider>\n )\n}\n\n/**\n * Used to access the theme context.\n */\nexport function useThemeContext(): ThemeContextValue<DefaultThemes> {\n const context = useContext(ThemeContext)\n if (!context) {\n throw new Error('useThemeContext must be used within a ThemeProvider')\n }\n return context\n}\n"],"mappings":";;;;;AAEA,SAAS,eAAe,kBAA0C;AAmE9D;AApCJ,IAAM,eAAe;AAAA,EACnB;AACF;AAwBO,SAAS,cACd,OACa;AACb,QAAM,QAAQ,SAAS,MAAM,cAAc,MAAM,kBAAkB;AAAA,IACjE,OAAO,MAAM;AAAA,IACb,YAAY,MAAM;AAAA,IAClB,aAAa,MAAM;AAAA,EACrB,CAAC;AAED,SACE,oBAAC,aAAa,UAAb,EAAsB,OAAO,OAC3B,gBAAM,UACT;AAEJ;AAKO,SAAS,kBAAoD;AAClE,QAAM,UAAU,WAAW,YAAY;AACvC,MAAI,CAAC,SAAS;AACZ,UAAM,IAAI,MAAM,qDAAqD;AAAA,EACvE;AACA,SAAO;AACT;","names":[]}
1
+ {"version":3,"sources":["../../src/context/theme.tsx"],"sourcesContent":["'use client'\n\nimport { createContext, useContext, type PropsWithChildren } from 'react'\nimport { useTheme, type UseThemeOptions } from '../hooks/useTheme'\n\n/**\n * This module provides a context and hook for the theme.\n * @module Theme\n */\n\nexport type DefaultThemes = 'cerberus' | 'acheron'\nexport type CustomThemes<K extends string = DefaultThemes> = 'cerberus' | K\nexport type ColorModes = 'light' | 'dark' | 'system'\n\nexport interface ThemeContextValue<T extends string = DefaultThemes> {\n /**\n * The current theme.\n */\n theme: CustomThemes<T>\n /**\n * The current color mode.\n */\n mode: ColorModes\n /**\n * Called when the theme is updated.\n */\n updateTheme: (theme: T) => void\n /**\n * Called when the color mode is updated.\n */\n updateMode: (mode: ColorModes) => void\n}\n\nconst ThemeContext = createContext<ThemeContextValue<DefaultThemes> | null>(\n null,\n)\n\nexport interface ThemeProviderProps extends UseThemeOptions {\n /**\n * The default theme.\n */\n defaultTheme?: DefaultThemes\n /**\n * The default color mode.\n */\n defaultColorMode?: ColorModes\n}\n\n/**\n * A context provider that allows the user to set the theme and mode of the\n * application.\n * @see https://cerberus.digitalu.design/react/use-theme-context\n * @example\n * ```tsx\n * <ThemeProvider>\n * <App />\n * </ThemeProvider>\n * ```\n */\nexport function ThemeProvider(props: PropsWithChildren<ThemeProviderProps>) {\n const state = useTheme(props.defaultTheme, props.defaultColorMode, {\n cache: props.cache,\n updateMode: props.updateMode,\n updateTheme: props.updateTheme,\n }) as ThemeContextValue<DefaultThemes>\n\n return (\n <ThemeContext.Provider value={state}>\n {props.children}\n </ThemeContext.Provider>\n )\n}\n\n/**\n * Used to access the theme context.\n */\nexport function useThemeContext(): ThemeContextValue<DefaultThemes> {\n const context = useContext(ThemeContext)\n if (!context) {\n throw new Error('useThemeContext must be used within a ThemeProvider')\n }\n return context\n}\n"],"mappings":";;;;;AAEA,SAAS,eAAe,kBAA0C;AAiE9D;AAlCJ,IAAM,eAAe;AAAA,EACnB;AACF;AAwBO,SAAS,cAAc,OAA8C;AAC1E,QAAM,QAAQ,SAAS,MAAM,cAAc,MAAM,kBAAkB;AAAA,IACjE,OAAO,MAAM;AAAA,IACb,YAAY,MAAM;AAAA,IAClB,aAAa,MAAM;AAAA,EACrB,CAAC;AAED,SACE,oBAAC,aAAa,UAAb,EAAsB,OAAO,OAC3B,gBAAM,UACT;AAEJ;AAKO,SAAS,kBAAoD;AAClE,QAAM,UAAU,WAAW,YAAY;AACvC,MAAI,CAAC,SAAS;AACZ,UAAM,IAAI,MAAM,qDAAqD;AAAA,EACvE;AACA,SAAO;AACT;","names":[]}
@@ -2,10 +2,8 @@
2
2
  import {
3
3
  Fieldset
4
4
  } from "@ark-ui/react/fieldset";
5
- import { cx } from "@cerberus/styled-system/css";
6
- import {
7
- fieldset
8
- } from "@cerberus/styled-system/recipes";
5
+ import { cx } from "styled-system/css";
6
+ import { fieldset } from "styled-system/recipes";
9
7
  import { jsx } from "react/jsx-runtime";
10
8
  function FieldsetRoot(props) {
11
9
  const styles = fieldset();
@@ -50,4 +48,4 @@ export {
50
48
  FieldsetHelperText,
51
49
  FieldsetErrorText
52
50
  };
53
- //# sourceMappingURL=chunk-Z3FDG263.js.map
51
+ //# sourceMappingURL=chunk-KV4NRGKW.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/fieldset/primitives.tsx"],"sourcesContent":["import {\n Fieldset,\n type FieldsetHelperTextProps,\n type FieldsetLegendProps,\n type FieldsetRootProps,\n} from '@ark-ui/react/fieldset'\nimport { cx } from 'styled-system/css'\nimport { fieldset, type FieldsetVariantProps } from 'styled-system/recipes'\n\n/**\n * This module contains all the primitives of the Fieldset component.\n * @module 'react/fieldset'\n */\n\n/**\n * The context & container for the Fieldset components.\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 FieldsetRoot(props: FieldsetRootProps) {\n const styles = fieldset()\n return (\n <Fieldset.Root {...props} className={cx(styles.root, props.className)} />\n )\n}\n\n/**\n * The legend element for the Fieldset group.\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 FieldsetLegend(\n props: FieldsetLegendProps & FieldsetVariantProps,\n) {\n const { usage, ...legendProps } = props\n const styles = fieldset({ usage })\n return (\n <Fieldset.Legend\n {...legendProps}\n className={cx(styles.legend, legendProps.className)}\n />\n )\n}\n\n/**\n * The description element for the Fieldset group.\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 FieldsetHelperText(\n props: FieldsetHelperTextProps & FieldsetVariantProps,\n) {\n const { usage, ...helperTextProps } = props\n const styles = fieldset({ usage })\n return (\n <Fieldset.HelperText\n {...helperTextProps}\n className={cx(styles.helperText, helperTextProps.className)}\n />\n )\n}\n\n/**\n * The error text element for the Fieldset group.\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 FieldsetErrorText(props: FieldsetHelperTextProps) {\n const styles = fieldset()\n return (\n <Fieldset.ErrorText\n {...props}\n className={cx(styles.errorText, props.className)}\n />\n )\n}\n"],"mappings":";AAAA;AAAA,EACE;AAAA,OAIK;AACP,SAAS,UAAU;AACnB,SAAS,gBAA2C;AAehD;AAHG,SAAS,aAAa,OAA0B;AACrD,QAAM,SAAS,SAAS;AACxB,SACE,oBAAC,SAAS,MAAT,EAAe,GAAG,OAAO,WAAW,GAAG,OAAO,MAAM,MAAM,SAAS,GAAG;AAE3E;AAOO,SAAS,eACd,OACA;AACA,QAAM,EAAE,OAAO,GAAG,YAAY,IAAI;AAClC,QAAM,SAAS,SAAS,EAAE,MAAM,CAAC;AACjC,SACE;AAAA,IAAC,SAAS;AAAA,IAAT;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,QAAQ,YAAY,SAAS;AAAA;AAAA,EACpD;AAEJ;AAOO,SAAS,mBACd,OACA;AACA,QAAM,EAAE,OAAO,GAAG,gBAAgB,IAAI;AACtC,QAAM,SAAS,SAAS,EAAE,MAAM,CAAC;AACjC,SACE;AAAA,IAAC,SAAS;AAAA,IAAT;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,YAAY,gBAAgB,SAAS;AAAA;AAAA,EAC5D;AAEJ;AAOO,SAAS,kBAAkB,OAAgC;AAChE,QAAM,SAAS,SAAS;AACxB,SACE;AAAA,IAAC,SAAS;AAAA,IAAT;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,WAAW,MAAM,SAAS;AAAA;AAAA,EACjD;AAEJ;","names":[]}
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  Tooltip as ArkTooltip
4
4
  } from "@ark-ui/react/tooltip";
5
- import { cx } from "@cerberus/styled-system/css";
6
- import { tooltip } from "@cerberus/styled-system/recipes";
5
+ import { cx } from "styled-system/css";
6
+ import { tooltip } from "styled-system/recipes";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  function Tooltip(props) {
9
9
  const { content, children, asChild, ...nativeProps } = props;
@@ -30,4 +30,4 @@ function Tooltip(props) {
30
30
  export {
31
31
  Tooltip
32
32
  };
33
- //# sourceMappingURL=chunk-LPALHB6R.js.map
33
+ //# sourceMappingURL=chunk-L2EGF5AV.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/Tooltip.tsx"],"sourcesContent":["import {\n Tooltip as ArkTooltip,\n type TooltipContentProps,\n} from '@ark-ui/react/tooltip'\nimport { cx } from 'styled-system/css'\nimport { tooltip } from 'styled-system/recipes'\nimport type { ReactNode } from 'react'\n\n/**\n * This module contains the Tooltip component.\n * @module Tooltip\n */\n\nexport interface TooltipProps {\n /**\n * The text content to display in the tooltip.\n */\n content: ReactNode\n /**\n * The position of the tooltip relative to the trigger element.\n */\n position?: 'top' | 'right' | 'bottom' | 'left'\n}\n\n/**\n * The Tooltip component is used to provide additional information about an element when it is hovered over.\n * @definition [Tooltip docs](https://cerberus.digitalu.design/react/tooltip)\n * @example\n * ```tsx\n * <Tooltip content=\"This is a tooltip\">\n * <Information />\n * </Tooltip>\n */\nexport function Tooltip(props: TooltipProps & TooltipContentProps) {\n const { content, children, asChild, ...nativeProps } = props\n const styles = tooltip()\n const position = {\n placement: props.position || 'top',\n }\n\n return (\n <ArkTooltip.Root openDelay={400} positioning={position}>\n <ArkTooltip.Trigger className={styles.trigger} asChild={asChild}>\n {children}\n </ArkTooltip.Trigger>\n\n <ArkTooltip.Positioner>\n <ArkTooltip.Content\n {...nativeProps}\n className={cx(nativeProps.className, styles.content)}\n >\n <ArkTooltip.Arrow className={styles.arrow}>\n <ArkTooltip.ArrowTip className={styles.arrowTip} />\n </ArkTooltip.Arrow>\n\n {content}\n </ArkTooltip.Content>\n </ArkTooltip.Positioner>\n </ArkTooltip.Root>\n )\n}\n"],"mappings":";AAAA;AAAA,EACE,WAAW;AAAA,OAEN;AACP,SAAS,UAAU;AACnB,SAAS,eAAe;AAqClB,cAKE,YALF;AATC,SAAS,QAAQ,OAA2C;AACjE,QAAM,EAAE,SAAS,UAAU,SAAS,GAAG,YAAY,IAAI;AACvD,QAAM,SAAS,QAAQ;AACvB,QAAM,WAAW;AAAA,IACf,WAAW,MAAM,YAAY;AAAA,EAC/B;AAEA,SACE,qBAAC,WAAW,MAAX,EAAgB,WAAW,KAAK,aAAa,UAC5C;AAAA,wBAAC,WAAW,SAAX,EAAmB,WAAW,OAAO,SAAS,SAC5C,UACH;AAAA,IAEA,oBAAC,WAAW,YAAX,EACC;AAAA,MAAC,WAAW;AAAA,MAAX;AAAA,QACE,GAAG;AAAA,QACJ,WAAW,GAAG,YAAY,WAAW,OAAO,OAAO;AAAA,QAEnD;AAAA,8BAAC,WAAW,OAAX,EAAiB,WAAW,OAAO,OAClC,8BAAC,WAAW,UAAX,EAAoB,WAAW,OAAO,UAAU,GACnD;AAAA,UAEC;AAAA;AAAA;AAAA,IACH,GACF;AAAA,KACF;AAEJ;","names":[]}
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  Tabs
4
4
  } from "@ark-ui/react/tabs";
5
- import { cx } from "@cerberus/styled-system/css";
6
- import { tabs } from "@cerberus/styled-system/recipes";
5
+ import { cx } from "styled-system/css";
6
+ import { tabs } from "styled-system/recipes";
7
7
  import { jsx } from "react/jsx-runtime";
8
8
  function TabsRoot(props) {
9
9
  const { palette, ...rootProps } = props;
@@ -46,4 +46,4 @@ export {
46
46
  TabsContent,
47
47
  TabsIndicator
48
48
  };
49
- //# sourceMappingURL=chunk-4GFEWP76.js.map
49
+ //# sourceMappingURL=chunk-L5FYGWAZ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/tabs/primitives.tsx"],"sourcesContent":["import {\n Tabs,\n type TabContentProps,\n type TabIndicatorProps,\n type TabListProps,\n type TabsRootProps,\n type TabTriggerProps,\n} from '@ark-ui/react/tabs'\nimport { cx } from 'styled-system/css'\nimport { tabs, type TabsVariantProps } from 'styled-system/recipes'\n\n/**\n * This module provides the primitives for the Tabs component.\n * @module 'tabs/primitives'\n */\n\n/**\n * The container and context provider of the tabs.\n */\nexport function TabsRoot(props: TabsRootProps & TabsVariantProps) {\n const { palette, ...rootProps } = props\n const styles = tabs({ palette })\n return (\n <Tabs.Root\n {...rootProps}\n className={cx(styles.root, rootProps.className)}\n />\n )\n}\n\n/**\n * The tab list container for the Tabs group.\n */\nexport function TabsList(props: TabListProps) {\n const styles = tabs()\n return <Tabs.List {...props} className={cx(styles.list, props.className)} />\n}\n\n/**\n * The tab element.\n */\nexport function TabsTrigger(props: TabTriggerProps) {\n const styles = tabs()\n return (\n <Tabs.Trigger {...props} className={cx(styles.trigger, props.className)} />\n )\n}\n\n/**\n * The tab content element.\n */\nexport function TabsContent(props: TabContentProps) {\n const styles = tabs()\n return (\n <Tabs.Content {...props} className={cx(styles.content, props.className)} />\n )\n}\n\n/**\n * The tab indicator element.\n */\nexport function TabsIndicator(props: TabIndicatorProps) {\n const styles = tabs()\n return (\n <Tabs.Indicator\n {...props}\n className={cx(styles.indicator, props.className)}\n />\n )\n}\n"],"mappings":";AAAA;AAAA,EACE;AAAA,OAMK;AACP,SAAS,UAAU;AACnB,SAAS,YAAmC;AAcxC;AAJG,SAAS,SAAS,OAAyC;AAChE,QAAM,EAAE,SAAS,GAAG,UAAU,IAAI;AAClC,QAAM,SAAS,KAAK,EAAE,QAAQ,CAAC;AAC/B,SACE;AAAA,IAAC,KAAK;AAAA,IAAL;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,MAAM,UAAU,SAAS;AAAA;AAAA,EAChD;AAEJ;AAKO,SAAS,SAAS,OAAqB;AAC5C,QAAM,SAAS,KAAK;AACpB,SAAO,oBAAC,KAAK,MAAL,EAAW,GAAG,OAAO,WAAW,GAAG,OAAO,MAAM,MAAM,SAAS,GAAG;AAC5E;AAKO,SAAS,YAAY,OAAwB;AAClD,QAAM,SAAS,KAAK;AACpB,SACE,oBAAC,KAAK,SAAL,EAAc,GAAG,OAAO,WAAW,GAAG,OAAO,SAAS,MAAM,SAAS,GAAG;AAE7E;AAKO,SAAS,YAAY,OAAwB;AAClD,QAAM,SAAS,KAAK;AACpB,SACE,oBAAC,KAAK,SAAL,EAAc,GAAG,OAAO,WAAW,GAAG,OAAO,SAAS,MAAM,SAAS,GAAG;AAE7E;AAKO,SAAS,cAAc,OAA0B;AACtD,QAAM,SAAS,KAAK;AACpB,SACE;AAAA,IAAC,KAAK;AAAA,IAAL;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,WAAW,MAAM,SAAS;AAAA;AAAA,EACjD;AAEJ;","names":[]}
@@ -11,7 +11,7 @@ import {
11
11
  Small,
12
12
  Span,
13
13
  Strong
14
- } from "@cerberus/styled-system/jsx";
14
+ } from "styled-system/jsx";
15
15
  import { jsx } from "react/jsx-runtime";
16
16
  function Text(props) {
17
17
  const { as = "p", ...pandaJSXProps } = props;
@@ -44,4 +44,4 @@ function Text(props) {
44
44
  export {
45
45
  Text
46
46
  };
47
- //# sourceMappingURL=chunk-RU5LOXWI.js.map
47
+ //# sourceMappingURL=chunk-L64HQGLQ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/Text.tsx"],"sourcesContent":["import {\n Em,\n H1,\n H2,\n H3,\n H4,\n H5,\n H6,\n P,\n Small,\n Span,\n Strong,\n type PProps,\n} from 'styled-system/jsx'\n\n/**\n * This module exports a component for rendering text utilizing the styled-system JSX utility.\n * @module @cerberus/react/Text\n */\n\nexport type Headings = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'\nexport type TextElements = 'p' | 'strong' | 'em' | 'small' | 'span'\n\n// For some reason we have to use the HTMLParagraphElement type here\n// or else TS will fail for non-style props like 'id' or 'className'\nexport interface TextProps extends PProps {\n /**\n * The element to render as. Defaults to 'p'.\n */\n as?: TextElements | Headings\n}\n\n/**\n * A component for rendering text utilizing the styled-system JSX utility.\n * @definition [Text docs](https://cerberus.digitalu.design/react/text)\n * @example\n * ```tsx\n * <Text as=\"h1\" color=\"page.text.100\" textStyle={{\n * base: 'heading-md',\n * md: 'heading-lg',\n * }}>\n * Hello, world!\n * </Text>\n */\nexport function Text(props: TextProps) {\n const { as = 'p', ...pandaJSXProps } = props\n switch (as) {\n case 'h1':\n return <H1 {...pandaJSXProps} />\n case 'h2':\n return <H2 {...pandaJSXProps} />\n case 'h3':\n return <H3 {...pandaJSXProps} />\n case 'h4':\n return <H4 {...pandaJSXProps} />\n case 'h5':\n return <H5 {...pandaJSXProps} />\n case 'h6':\n return <H6 {...pandaJSXProps} />\n case 'strong':\n return <Strong {...pandaJSXProps} />\n case 'em':\n return <Em {...pandaJSXProps} />\n case 'small':\n return <Small {...pandaJSXProps} />\n case 'span':\n return <Span {...pandaJSXProps} />\n default:\n return <P {...pandaJSXProps} />\n }\n}\n"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAmCM;AAJN,SAAS,KAAK,OAAkB;AACrC,QAAM,EAAE,KAAK,KAAK,GAAG,cAAc,IAAI;AACvC,UAAQ,IAAI;AAAA,IACV,KAAK;AACH,aAAO,oBAAC,MAAI,GAAG,eAAe;AAAA,IAChC,KAAK;AACH,aAAO,oBAAC,MAAI,GAAG,eAAe;AAAA,IAChC,KAAK;AACH,aAAO,oBAAC,MAAI,GAAG,eAAe;AAAA,IAChC,KAAK;AACH,aAAO,oBAAC,MAAI,GAAG,eAAe;AAAA,IAChC,KAAK;AACH,aAAO,oBAAC,MAAI,GAAG,eAAe;AAAA,IAChC,KAAK;AACH,aAAO,oBAAC,MAAI,GAAG,eAAe;AAAA,IAChC,KAAK;AACH,aAAO,oBAAC,UAAQ,GAAG,eAAe;AAAA,IACpC,KAAK;AACH,aAAO,oBAAC,MAAI,GAAG,eAAe;AAAA,IAChC,KAAK;AACH,aAAO,oBAAC,SAAO,GAAG,eAAe;AAAA,IACnC,KAAK;AACH,aAAO,oBAAC,QAAM,GAAG,eAAe;AAAA,IAClC;AACE,aAAO,oBAAC,KAAG,GAAG,eAAe;AAAA,EACjC;AACF;","names":[]}
@@ -1,18 +1,18 @@
1
- import {
2
- splitProps
3
- } from "./chunk-BL7G3577.js";
4
1
  import {
5
2
  FieldErrorText,
6
3
  FieldHelperText,
7
4
  FieldLabel,
8
5
  FieldRoot
9
- } from "./chunk-VNPLKMEM.js";
6
+ } from "./chunk-WEL43I6Y.js";
7
+ import {
8
+ splitProps
9
+ } from "./chunk-BL7G3577.js";
10
10
  import {
11
11
  Show
12
- } from "./chunk-BUVVRQLZ.js";
12
+ } from "./chunk-VEAC4I3F.js";
13
13
 
14
14
  // src/components/field/field.tsx
15
- import { HStack } from "@cerberus/styled-system/jsx";
15
+ import { HStack } from "styled-system/jsx";
16
16
  import { jsx, jsxs } from "react/jsx-runtime";
17
17
  function Field(props) {
18
18
  const [statusProps, fieldProps, rootProps] = splitProps(
@@ -21,11 +21,11 @@ function Field(props) {
21
21
  ["label", "helperText", "secondaryHelperText", "errorText", "children"]
22
22
  );
23
23
  return /* @__PURE__ */ jsxs(FieldRoot, { ...statusProps, ...rootProps, children: [
24
- /* @__PURE__ */ jsx(Show, { when: Boolean(fieldProps.label), children: /* @__PURE__ */ jsx(FieldLabel, { children: fieldProps.label }) }),
24
+ /* @__PURE__ */ jsx(Show, { when: fieldProps.label, children: /* @__PURE__ */ jsx(FieldLabel, { children: fieldProps.label }) }),
25
25
  fieldProps.children,
26
- /* @__PURE__ */ jsx(Show, { when: Boolean(fieldProps.helperText && !statusProps.invalid), children: /* @__PURE__ */ jsxs(HStack, { justifyContent: "space-between", w: "full", children: [
26
+ /* @__PURE__ */ jsx(Show, { when: fieldProps.helperText && !statusProps.invalid, children: /* @__PURE__ */ jsxs(HStack, { justifyContent: "space-between", w: "full", children: [
27
27
  /* @__PURE__ */ jsx(FieldHelperText, { children: fieldProps.helperText }),
28
- /* @__PURE__ */ jsx(Show, { when: Boolean(fieldProps.secondaryHelperText), children: /* @__PURE__ */ jsx(FieldHelperText, { children: fieldProps.secondaryHelperText }) })
28
+ /* @__PURE__ */ jsx(Show, { when: fieldProps.secondaryHelperText, children: /* @__PURE__ */ jsx(FieldHelperText, { children: fieldProps.secondaryHelperText }) })
29
29
  ] }) }),
30
30
  /* @__PURE__ */ jsx(FieldErrorText, { children: fieldProps.errorText })
31
31
  ] });
@@ -34,4 +34,4 @@ function Field(props) {
34
34
  export {
35
35
  Field
36
36
  };
37
- //# sourceMappingURL=chunk-6WEW5OGL.js.map
37
+ //# sourceMappingURL=chunk-LEBDLXJE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/field/field.tsx"],"sourcesContent":["import { type FieldRootProps } from '@ark-ui/react/field'\nimport { splitProps } from '../../utils/index'\nimport {\n FieldErrorText,\n FieldHelperText,\n FieldLabel,\n FieldRoot,\n} from './primitives'\nimport { HStack } from 'styled-system/jsx'\nimport { Show } from '../Show'\n\nexport interface FieldProps extends FieldRootProps {\n /**\n * The label of the field.\n */\n label?: string\n /**\n * The helper text of the field.\n */\n helperText?: string\n /**\n * A helper text positioned at the end of the field. Good for Textarea fields.\n */\n secondaryHelperText?: string\n /**\n * The error text of the field. Shown when the field is invalid.\n */\n errorText?: string\n}\n\n/**\n * The Field component is the context provider for all FieldParts and displays\n * the label, helperText, and ErrorText.\n * @description [Field Docs](https://cerberus.digitalu.design/react/field)\n * @example\n * ```tsx\n * <Field\n * ids={{\n * control: 'firstName',\n * }}\n * label=\"Label\"\n * helperText=\"This is what people will see on your profile.\"\n * errorText=\"A first name is required to create an account.\"\n * required\n * >\n * <Input name=\"firstName\" type=\"text\" />\n * </Field>\n * ```\n */\nexport function Field(props: FieldProps) {\n const [statusProps, fieldProps, rootProps] = splitProps(\n props,\n ['disabled', 'required', 'readOnly', 'invalid'],\n ['label', 'helperText', 'secondaryHelperText', 'errorText', 'children'],\n )\n\n return (\n <FieldRoot {...statusProps} {...rootProps}>\n <Show when={fieldProps.label}>\n <FieldLabel>{fieldProps.label}</FieldLabel>\n </Show>\n\n {fieldProps.children}\n\n <Show when={fieldProps.helperText && !statusProps.invalid}>\n <HStack justifyContent=\"space-between\" w=\"full\">\n <FieldHelperText>{fieldProps.helperText}</FieldHelperText>\n <Show when={fieldProps.secondaryHelperText}>\n <FieldHelperText>{fieldProps.secondaryHelperText}</FieldHelperText>\n </Show>\n </HStack>\n </Show>\n\n <FieldErrorText>{fieldProps.errorText}</FieldErrorText>\n </FieldRoot>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;AAQA,SAAS,cAAc;AAmDf,cAMA,YANA;AAVD,SAAS,MAAM,OAAmB;AACvC,QAAM,CAAC,aAAa,YAAY,SAAS,IAAI;AAAA,IAC3C;AAAA,IACA,CAAC,YAAY,YAAY,YAAY,SAAS;AAAA,IAC9C,CAAC,SAAS,cAAc,uBAAuB,aAAa,UAAU;AAAA,EACxE;AAEA,SACE,qBAAC,aAAW,GAAG,aAAc,GAAG,WAC9B;AAAA,wBAAC,QAAK,MAAM,WAAW,OACrB,8BAAC,cAAY,qBAAW,OAAM,GAChC;AAAA,IAEC,WAAW;AAAA,IAEZ,oBAAC,QAAK,MAAM,WAAW,cAAc,CAAC,YAAY,SAChD,+BAAC,UAAO,gBAAe,iBAAgB,GAAE,QACvC;AAAA,0BAAC,mBAAiB,qBAAW,YAAW;AAAA,MACxC,oBAAC,QAAK,MAAM,WAAW,qBACrB,8BAAC,mBAAiB,qBAAW,qBAAoB,GACnD;AAAA,OACF,GACF;AAAA,IAEA,oBAAC,kBAAgB,qBAAW,WAAU;AAAA,KACxC;AAEJ;","names":[]}
@@ -1,7 +1,7 @@
1
1
  // src/components/table/primitives.tsx
2
2
  import { ark } from "@ark-ui/react/factory";
3
- import { cx } from "@cerberus/styled-system/css";
4
- import { table } from "@cerberus/styled-system/recipes";
3
+ import { cx } from "styled-system/css";
4
+ import { table } from "styled-system/recipes";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  function TableRoot(props) {
7
7
  const { decoration, size, ...rootProps } = props;
@@ -140,4 +140,4 @@ export {
140
140
  Tfoot,
141
141
  TableTrigger
142
142
  };
143
- //# sourceMappingURL=chunk-A464YKEL.js.map
143
+ //# sourceMappingURL=chunk-MDXJ6MGF.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/table/primitives.tsx"],"sourcesContent":["import { ark, type HTMLArkProps } from '@ark-ui/react/factory'\nimport { cx } from 'styled-system/css'\nimport { table, type TableVariantProps } from 'styled-system/recipes'\n\n/**\n * This module contains the primitives of the Table component.\n * @module 'table/primitives'\n */\n\n/**\n * The root element is the container of the Table.\n */\nexport function TableRoot(props: HTMLArkProps<'div'> & TableVariantProps) {\n const { decoration, size, ...rootProps } = props\n const styles = table({\n decoration,\n size,\n })\n\n return (\n <ark.div\n {...rootProps}\n className={cx(styles.root, rootProps.className)}\n data-scope=\"table\"\n data-part=\"root\"\n />\n )\n}\n\n/**\n * The table element is the table itself.\n */\nexport function TableEl(props: HTMLArkProps<'table'>) {\n const styles = table()\n return (\n <ark.table\n {...props}\n className={cx(styles.table, props.className)}\n data-scope=\"table\"\n data-part=\"table\"\n />\n )\n}\n\n/**\n * The table caption element is the caption of the table.\n */\nexport function Caption(props: HTMLArkProps<'caption'>) {\n const styles = table()\n return (\n <ark.caption\n {...props}\n className={cx(styles.caption, props.className)}\n data-scope=\"table\"\n data-part=\"caption\"\n />\n )\n}\n\n/**\n * The table head element is the head of the table.\n */\nexport function Thead(props: HTMLArkProps<'thead'>) {\n const styles = table()\n return (\n <ark.thead\n {...props}\n className={cx(styles.thead, props.className)}\n data-scope=\"table\"\n data-part=\"header\"\n />\n )\n}\n\n/**\n * The table header cell element is the header cell of the table.\n */\nexport function Th(props: HTMLArkProps<'th'>) {\n const styles = table()\n return (\n <ark.th\n {...props}\n className={cx(styles.th, props.className)}\n data-scope=\"table\"\n data-part=\"header-col\"\n />\n )\n}\n\n/**\n * The table body element is the body of the table.\n */\nexport function Tbody(props: HTMLArkProps<'tbody'>) {\n const styles = table()\n return (\n <ark.tbody\n {...props}\n className={cx(styles.tbody, props.className)}\n data-scope=\"table\"\n data-part=\"body\"\n />\n )\n}\n\n/**\n * The table row element is the row of the table.\n */\nexport function Tr(props: HTMLArkProps<'tr'>) {\n const styles = table()\n return (\n <ark.tr\n {...props}\n className={cx(styles.tr, props.className)}\n data-scope=\"table\"\n data-part=\"row\"\n />\n )\n}\n\n/**\n * The table cell element is the cell of the table.\n */\nexport function Td(props: HTMLArkProps<'td'>) {\n const styles = table()\n return (\n <ark.td\n {...props}\n className={cx(styles.td, props.className)}\n data-scope=\"table\"\n data-part=\"cell\"\n />\n )\n}\n\n/**\n * The table footer element is the footer of the table.\n */\nexport function Tfoot(props: HTMLArkProps<'tfoot'>) {\n const styles = table()\n return (\n <ark.tfoot\n {...props}\n className={cx(styles.tfoot, props.className)}\n data-scope=\"table\"\n data-part=\"footer\"\n />\n )\n}\n\n/**\n * The table trigger element is the trigger of an actionable th cell.\n */\nexport function TableTrigger(props: HTMLArkProps<'button'>) {\n const styles = table()\n return (\n <ark.button\n {...props}\n className={cx(styles.trigger, props.className)}\n data-scope=\"table\"\n data-part=\"trigger\"\n />\n )\n}\n"],"mappings":";AAAA,SAAS,WAA8B;AACvC,SAAS,UAAU;AACnB,SAAS,aAAqC;AAkB1C;AARG,SAAS,UAAU,OAAgD;AACxE,QAAM,EAAE,YAAY,MAAM,GAAG,UAAU,IAAI;AAC3C,QAAM,SAAS,MAAM;AAAA,IACnB;AAAA,IACA;AAAA,EACF,CAAC;AAED,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,MAAM,UAAU,SAAS;AAAA,MAC9C,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,QAAQ,OAA8B;AACpD,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,OAAO,MAAM,SAAS;AAAA,MAC3C,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,QAAQ,OAAgC;AACtD,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,SAAS,MAAM,SAAS;AAAA,MAC7C,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,MAAM,OAA8B;AAClD,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,OAAO,MAAM,SAAS;AAAA,MAC3C,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,GAAG,OAA2B;AAC5C,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,IAAI,MAAM,SAAS;AAAA,MACxC,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,MAAM,OAA8B;AAClD,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,OAAO,MAAM,SAAS;AAAA,MAC3C,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,GAAG,OAA2B;AAC5C,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,IAAI,MAAM,SAAS;AAAA,MACxC,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,GAAG,OAA2B;AAC5C,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,IAAI,MAAM,SAAS;AAAA,MACxC,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,MAAM,OAA8B;AAClD,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,OAAO,MAAM,SAAS;AAAA,MAC3C,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;AAKO,SAAS,aAAa,OAA+B;AAC1D,QAAM,SAAS,MAAM;AACrB,SACE;AAAA,IAAC,IAAI;AAAA,IAAJ;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,SAAS,MAAM,SAAS;AAAA,MAC7C,cAAW;AAAA,MACX,aAAU;AAAA;AAAA,EACZ;AAEJ;","names":[]}