@cerberus-design/react 0.15.0 → 0.16.0-next-4f6c716

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 (519) hide show
  1. package/build/legacy/_tsup-dts-rollup.d.cts +1329 -360
  2. package/build/legacy/components/Accordion.cjs.map +1 -1
  3. package/build/legacy/components/AccordionItemGroup.cjs.map +1 -1
  4. package/build/legacy/components/DatePicker.client.cjs +63 -77
  5. package/build/legacy/components/DatePicker.client.cjs.map +1 -1
  6. package/build/legacy/components/FileStatus.cjs +126 -79
  7. package/build/legacy/components/FileStatus.cjs.map +1 -1
  8. package/build/legacy/components/Legend.cjs +10 -22
  9. package/build/legacy/components/Legend.cjs.map +1 -1
  10. package/build/legacy/components/button/button.cjs +154 -0
  11. package/build/legacy/components/button/button.cjs.map +1 -0
  12. package/build/legacy/components/button/index.cjs +163 -0
  13. package/build/legacy/components/button/index.cjs.map +1 -0
  14. package/build/legacy/components/button/parts.cjs +159 -0
  15. package/build/legacy/components/button/parts.cjs.map +1 -0
  16. package/build/legacy/components/checkbox/checkbox-icon.cjs +121 -0
  17. package/build/legacy/components/checkbox/checkbox-icon.cjs.map +1 -0
  18. package/build/legacy/components/checkbox/checkbox.cjs +165 -0
  19. package/build/legacy/components/checkbox/checkbox.cjs.map +1 -0
  20. package/build/legacy/components/checkbox/index.cjs +179 -0
  21. package/build/legacy/components/checkbox/index.cjs.map +1 -0
  22. package/build/legacy/components/checkbox/parts.cjs +89 -0
  23. package/build/legacy/components/checkbox/parts.cjs.map +1 -0
  24. package/build/legacy/components/checkbox/primitives.cjs +87 -0
  25. package/build/legacy/components/checkbox/primitives.cjs.map +1 -0
  26. package/build/legacy/components/{FieldMessage.cjs → deprecated/FieldMessage.cjs} +4 -17
  27. package/build/legacy/components/deprecated/FieldMessage.cjs.map +1 -0
  28. package/build/legacy/components/{FieldsetLabel.cjs → deprecated/FieldsetLabel.cjs} +1 -1
  29. package/build/legacy/components/deprecated/FieldsetLabel.cjs.map +1 -0
  30. package/build/legacy/components/{Textarea.cjs → deprecated/Label.cjs} +24 -36
  31. package/build/legacy/components/deprecated/Label.cjs.map +1 -0
  32. package/build/legacy/components/{Modal.cjs → deprecated/Modal.cjs} +1 -1
  33. package/build/legacy/components/deprecated/Modal.cjs.map +1 -0
  34. package/build/legacy/components/{ModalDescription.cjs → deprecated/ModalDescription.cjs} +1 -1
  35. package/build/legacy/components/deprecated/ModalDescription.cjs.map +1 -0
  36. package/build/legacy/components/{ModalHeader.cjs → deprecated/ModalHeader.cjs} +1 -1
  37. package/build/legacy/components/deprecated/ModalHeader.cjs.map +1 -0
  38. package/build/legacy/components/{ModalHeading.cjs → deprecated/ModalHeading.cjs} +1 -1
  39. package/build/legacy/components/deprecated/ModalHeading.cjs.map +1 -0
  40. package/build/legacy/components/{NavMenuLink.cjs → deprecated/NavMenuLink.cjs} +2 -2
  41. package/build/legacy/components/deprecated/NavMenuLink.cjs.map +1 -0
  42. package/build/legacy/components/{NavMenuList.cjs → deprecated/NavMenuList.cjs} +2 -2
  43. package/build/legacy/components/deprecated/NavMenuList.cjs.map +1 -0
  44. package/build/legacy/components/{NavMenuTrigger.cjs → deprecated/NavMenuTrigger.cjs} +2 -2
  45. package/build/legacy/components/deprecated/NavMenuTrigger.cjs.map +1 -0
  46. package/build/legacy/components/field/field.cjs +130 -0
  47. package/build/legacy/components/field/field.cjs.map +1 -0
  48. package/build/legacy/components/field/index.cjs +267 -0
  49. package/build/legacy/components/field/index.cjs.map +1 -0
  50. package/build/legacy/components/field/parts.cjs +188 -0
  51. package/build/legacy/components/field/parts.cjs.map +1 -0
  52. package/build/legacy/components/field/primitives.cjs +191 -0
  53. package/build/legacy/components/field/primitives.cjs.map +1 -0
  54. package/build/legacy/components/{Button.cjs → field/start-indicator.cjs} +14 -19
  55. package/build/legacy/components/field/start-indicator.cjs.map +1 -0
  56. package/build/legacy/components/field/status-indicator.cjs +78 -0
  57. package/build/legacy/components/field/status-indicator.cjs.map +1 -0
  58. package/build/legacy/components/fieldset/fieldset.cjs +116 -0
  59. package/build/legacy/components/fieldset/fieldset.cjs.map +1 -0
  60. package/build/legacy/components/fieldset/index.cjs +126 -0
  61. package/build/legacy/components/fieldset/index.cjs.map +1 -0
  62. package/build/legacy/components/fieldset/parts.cjs +80 -0
  63. package/build/legacy/components/fieldset/parts.cjs.map +1 -0
  64. package/build/legacy/components/fieldset/primitives.cjs +76 -0
  65. package/build/legacy/components/fieldset/primitives.cjs.map +1 -0
  66. package/build/legacy/components/for.cjs +38 -0
  67. package/build/legacy/components/for.cjs.map +1 -0
  68. package/build/legacy/components/radio/index.cjs +143 -0
  69. package/build/legacy/components/radio/index.cjs.map +1 -0
  70. package/build/legacy/components/radio/parts.cjs +113 -0
  71. package/build/legacy/components/radio/parts.cjs.map +1 -0
  72. package/build/legacy/components/radio/primitives.cjs +115 -0
  73. package/build/legacy/components/radio/primitives.cjs.map +1 -0
  74. package/build/legacy/components/radio/radio.cjs +82 -0
  75. package/build/legacy/components/radio/radio.cjs.map +1 -0
  76. package/build/legacy/components/select/index.cjs +265 -0
  77. package/build/legacy/components/select/index.cjs.map +1 -0
  78. package/build/legacy/components/select/option-group.cjs +60 -0
  79. package/build/legacy/components/select/option-group.cjs.map +1 -0
  80. package/build/legacy/components/select/parts.cjs +153 -0
  81. package/build/legacy/components/select/parts.cjs.map +1 -0
  82. package/build/legacy/components/select/primitives.cjs +167 -0
  83. package/build/legacy/components/select/primitives.cjs.map +1 -0
  84. package/build/legacy/components/select/select.cjs +212 -0
  85. package/build/legacy/components/select/select.cjs.map +1 -0
  86. package/build/legacy/components/switch/index.cjs +118 -0
  87. package/build/legacy/components/switch/index.cjs.map +1 -0
  88. package/build/legacy/components/switch/parts.cjs +75 -0
  89. package/build/legacy/components/switch/parts.cjs.map +1 -0
  90. package/build/legacy/components/switch/primitives.cjs +72 -0
  91. package/build/legacy/components/switch/primitives.cjs.map +1 -0
  92. package/build/legacy/components/{Fieldset.cjs → switch/switch-indicator.cjs} +17 -32
  93. package/build/legacy/components/switch/switch-indicator.cjs.map +1 -0
  94. package/build/legacy/components/switch/switch.cjs +106 -0
  95. package/build/legacy/components/switch/switch.cjs.map +1 -0
  96. package/build/legacy/components/toggle/index.cjs +45 -0
  97. package/build/legacy/components/toggle/index.cjs.map +1 -0
  98. package/build/legacy/components/toggle/parts.cjs +41 -0
  99. package/build/legacy/components/toggle/parts.cjs.map +1 -0
  100. package/build/legacy/components/toggle/primitives.cjs +35 -0
  101. package/build/legacy/components/toggle/primitives.cjs.map +1 -0
  102. package/build/legacy/config/types.cjs.map +1 -1
  103. package/build/legacy/context/confirm-modal.cjs +55 -45
  104. package/build/legacy/context/confirm-modal.cjs.map +1 -1
  105. package/build/legacy/context/cta-modal.cjs +55 -45
  106. package/build/legacy/context/cta-modal.cjs.map +1 -1
  107. package/build/legacy/context/field.cjs +23 -4
  108. package/build/legacy/context/field.cjs.map +1 -1
  109. package/build/legacy/context/notification-center.cjs +24 -16
  110. package/build/legacy/context/notification-center.cjs.map +1 -1
  111. package/build/legacy/context/prompt-modal.cjs +206 -194
  112. package/build/legacy/context/prompt-modal.cjs.map +1 -1
  113. package/build/legacy/hooks/useDate.cjs.map +1 -1
  114. package/build/legacy/hooks/useRootColors.cjs +0 -1
  115. package/build/legacy/hooks/useRootColors.cjs.map +1 -1
  116. package/build/legacy/hooks/useToggle.cjs.map +1 -1
  117. package/build/legacy/index.cjs +1831 -1330
  118. package/build/legacy/index.cjs.map +1 -1
  119. package/build/legacy/utils/index.cjs +22 -2
  120. package/build/legacy/utils/index.cjs.map +1 -1
  121. package/build/modern/_tsup-dts-rollup.d.ts +1329 -360
  122. package/build/modern/{chunk-PM7CWT3N.js → chunk-245SMQ45.js} +2 -2
  123. package/build/modern/chunk-245SMQ45.js.map +1 -0
  124. package/build/modern/chunk-2BIHLH4V.js +15 -0
  125. package/build/modern/chunk-2BIHLH4V.js.map +1 -0
  126. package/build/modern/chunk-2CVGNLIM.js +15 -0
  127. package/build/modern/chunk-2CVGNLIM.js.map +1 -0
  128. package/build/modern/{chunk-ISCJ542I.js → chunk-2HOUQ2DX.js} +2 -2
  129. package/build/modern/chunk-2LF3HPNA.js +1 -0
  130. package/build/modern/chunk-5RTNSVYU.js +88 -0
  131. package/build/modern/chunk-5RTNSVYU.js.map +1 -0
  132. package/build/modern/chunk-6I2FW4WI.js +33 -0
  133. package/build/modern/chunk-6I2FW4WI.js.map +1 -0
  134. package/build/modern/chunk-6KZVE4HC.js +52 -0
  135. package/build/modern/chunk-6KZVE4HC.js.map +1 -0
  136. package/build/modern/{chunk-25HMVHLT.js → chunk-7SU6FCTJ.js} +5 -5
  137. package/build/modern/chunk-7TQRTBUP.js +19 -0
  138. package/build/modern/chunk-7TQRTBUP.js.map +1 -0
  139. package/build/modern/{chunk-UZVQ4INR.js → chunk-AIJ75ENY.js} +2 -2
  140. package/build/modern/chunk-AIJ75ENY.js.map +1 -0
  141. package/build/modern/chunk-AO3GB72J.js +27 -0
  142. package/build/modern/chunk-AO3GB72J.js.map +1 -0
  143. package/build/modern/{chunk-NUMM4TNC.js → chunk-AUALRL3U.js} +2 -2
  144. package/build/modern/chunk-AUALRL3U.js.map +1 -0
  145. package/build/modern/{chunk-IGHMP4WA.js → chunk-AZRFYQO7.js} +1 -1
  146. package/build/modern/chunk-AZRFYQO7.js.map +1 -0
  147. package/build/modern/chunk-BL7G3577.js +29 -0
  148. package/build/modern/chunk-BL7G3577.js.map +1 -0
  149. package/build/modern/chunk-BPRF34DU.js +62 -0
  150. package/build/modern/chunk-BPRF34DU.js.map +1 -0
  151. package/build/modern/chunk-CAZ3EICD.js +16 -0
  152. package/build/modern/chunk-CAZ3EICD.js.map +1 -0
  153. package/build/modern/chunk-CIMY2U22.js +10 -0
  154. package/build/modern/chunk-CIMY2U22.js.map +1 -0
  155. package/build/modern/{chunk-SD3OVTHT.js → chunk-CMYD5KWA.js} +43 -46
  156. package/build/modern/chunk-CMYD5KWA.js.map +1 -0
  157. package/build/modern/chunk-CNA2VKAH.js +43 -0
  158. package/build/modern/chunk-CNA2VKAH.js.map +1 -0
  159. package/build/modern/chunk-CYC2YUKU.js +1 -0
  160. package/build/modern/{chunk-PZAZKQMO.js → chunk-DRDNNRU3.js} +2 -2
  161. package/build/modern/chunk-DRDNNRU3.js.map +1 -0
  162. package/build/modern/{chunk-NJSETNRL.js → chunk-DXBZ3HMY.js} +2 -2
  163. package/build/modern/chunk-EL4MX2PG.js +22 -0
  164. package/build/modern/chunk-EL4MX2PG.js.map +1 -0
  165. package/build/modern/chunk-FBS7AX76.js +37 -0
  166. package/build/modern/chunk-FBS7AX76.js.map +1 -0
  167. package/build/modern/{chunk-JAROS4Q3.js → chunk-FMRWRVUS.js} +7 -7
  168. package/build/modern/chunk-FMRWRVUS.js.map +1 -0
  169. package/build/modern/chunk-FUL2VRDU.js +25 -0
  170. package/build/modern/chunk-FUL2VRDU.js.map +1 -0
  171. package/build/modern/{chunk-BHB56M7S.js → chunk-H54FR7IP.js} +6 -6
  172. package/build/modern/chunk-H54FR7IP.js.map +1 -0
  173. package/build/modern/chunk-IASVL7CW.js +19 -0
  174. package/build/modern/chunk-IASVL7CW.js.map +1 -0
  175. package/build/modern/{chunk-REO5GUNC.js → chunk-ICTISECN.js} +1 -1
  176. package/build/modern/chunk-ICTISECN.js.map +1 -0
  177. package/build/modern/chunk-IDTAB2UJ.js +1 -0
  178. package/build/modern/chunk-IIH363FO.js +13 -0
  179. package/build/modern/chunk-IIH363FO.js.map +1 -0
  180. package/build/modern/chunk-KQQPZJEI.js +21 -0
  181. package/build/modern/chunk-KQQPZJEI.js.map +1 -0
  182. package/build/modern/chunk-KWZ3CEG6.js +23 -0
  183. package/build/modern/chunk-KWZ3CEG6.js.map +1 -0
  184. package/build/modern/{chunk-JWIJHSI6.js → chunk-L7N24B6B.js} +3 -6
  185. package/build/modern/chunk-L7N24B6B.js.map +1 -0
  186. package/build/modern/chunk-LT62577B.js +23 -0
  187. package/build/modern/chunk-LT62577B.js.map +1 -0
  188. package/build/modern/chunk-LZWNHXRP.js +48 -0
  189. package/build/modern/chunk-LZWNHXRP.js.map +1 -0
  190. package/build/modern/{chunk-EDARV2EI.js → chunk-MISIUX63.js} +4 -4
  191. package/build/modern/{chunk-3BM6MZ4A.js → chunk-MWRO5QYD.js} +1 -1
  192. package/build/modern/chunk-MWRO5QYD.js.map +1 -0
  193. package/build/modern/chunk-OGYMMATX.js +1 -0
  194. package/build/modern/chunk-OVHCXBBI.js +22 -0
  195. package/build/modern/chunk-OVHCXBBI.js.map +1 -0
  196. package/build/modern/chunk-P3SF56LT.js +47 -0
  197. package/build/modern/chunk-P3SF56LT.js.map +1 -0
  198. package/build/modern/{chunk-JIRW4XOJ.js → chunk-Q3I4H6EC.js} +2 -2
  199. package/build/modern/chunk-Q3I4H6EC.js.map +1 -0
  200. package/build/modern/chunk-QCBLRACK.js +133 -0
  201. package/build/modern/chunk-QCBLRACK.js.map +1 -0
  202. package/build/modern/{chunk-ILQW5VZT.js → chunk-RBNOEAWJ.js} +4 -7
  203. package/build/modern/chunk-RBNOEAWJ.js.map +1 -0
  204. package/build/modern/{chunk-YKKNWILF.js → chunk-RHCTPSKT.js} +2 -15
  205. package/build/modern/chunk-RHCTPSKT.js.map +1 -0
  206. package/build/modern/chunk-STLN7BMJ.js +22 -0
  207. package/build/modern/chunk-STLN7BMJ.js.map +1 -0
  208. package/build/modern/{chunk-7NN3SJ7W.js → chunk-SWX5JWZR.js} +2 -2
  209. package/build/modern/chunk-SWX5JWZR.js.map +1 -0
  210. package/build/modern/{chunk-GCQMH4QA.js → chunk-SXLPDPOZ.js} +4 -4
  211. package/build/modern/chunk-TIJAFPHQ.js +1 -0
  212. package/build/modern/chunk-TYPULJMJ.js +1 -0
  213. package/build/modern/chunk-UDY6USHW.js +1 -0
  214. package/build/modern/chunk-V4YYGGMH.js +1 -0
  215. package/build/modern/chunk-VSTOSLFS.js +100 -0
  216. package/build/modern/chunk-VSTOSLFS.js.map +1 -0
  217. package/build/modern/{chunk-ZL6ZITLA.js → chunk-WECB67DC.js} +2 -2
  218. package/build/modern/chunk-WECB67DC.js.map +1 -0
  219. package/build/modern/{chunk-BAWZBF5Q.js → chunk-WN7TJX6J.js} +2 -2
  220. package/build/modern/{chunk-RMVJK26W.js → chunk-XJQXHSH7.js} +1 -2
  221. package/build/modern/chunk-XJQXHSH7.js.map +1 -0
  222. package/build/modern/chunk-XTNGF4D6.js +41 -0
  223. package/build/modern/chunk-XTNGF4D6.js.map +1 -0
  224. package/build/modern/chunk-Y4ZEJ2EF.js +31 -0
  225. package/build/modern/chunk-Y4ZEJ2EF.js.map +1 -0
  226. package/build/modern/{chunk-WPVDQRRF.js → chunk-YOTXFCCC.js} +2 -2
  227. package/build/modern/chunk-YOTXFCCC.js.map +1 -0
  228. package/build/modern/chunk-Z3FDG263.js +53 -0
  229. package/build/modern/chunk-Z3FDG263.js.map +1 -0
  230. package/build/modern/chunk-Z52R6ABJ.js +21 -0
  231. package/build/modern/chunk-Z52R6ABJ.js.map +1 -0
  232. package/build/modern/{chunk-FGCO27TC.js → chunk-ZDANBCM3.js} +6 -6
  233. package/build/modern/chunk-ZDANBCM3.js.map +1 -0
  234. package/build/modern/{chunk-O6LFWUHI.js → chunk-ZFFW5ELD.js} +10 -10
  235. package/build/modern/chunk-ZFFW5ELD.js.map +1 -0
  236. package/build/modern/components/Accordion.js +1 -1
  237. package/build/modern/components/AccordionItemGroup.js +3 -3
  238. package/build/modern/components/Admonition.client.js +3 -3
  239. package/build/modern/components/Admonition.js +4 -4
  240. package/build/modern/components/Avatar.js +2 -2
  241. package/build/modern/components/DatePicker.client.js +4 -3
  242. package/build/modern/components/FileStatus.js +11 -5
  243. package/build/modern/components/FileUploader.js +3 -3
  244. package/build/modern/components/Legend.js +1 -2
  245. package/build/modern/components/Tag.js +2 -2
  246. package/build/modern/components/button/button.js +12 -0
  247. package/build/modern/components/button/index.js +16 -0
  248. package/build/modern/components/button/parts.js +10 -0
  249. package/build/modern/components/checkbox/checkbox-icon.js +12 -0
  250. package/build/modern/components/checkbox/checkbox.js +13 -0
  251. package/build/modern/components/checkbox/index.js +30 -0
  252. package/build/modern/components/checkbox/parts.js +8 -0
  253. package/build/modern/components/checkbox/primitives.js +17 -0
  254. package/build/modern/components/deprecated/FieldMessage.js +8 -0
  255. package/build/modern/components/deprecated/FieldsetLabel.js +7 -0
  256. package/build/modern/components/deprecated/Label.js +17 -0
  257. package/build/modern/components/deprecated/Label.js.map +1 -0
  258. package/build/modern/components/deprecated/Modal.js +7 -0
  259. package/build/modern/components/deprecated/Modal.js.map +1 -0
  260. package/build/modern/components/deprecated/ModalDescription.js +7 -0
  261. package/build/modern/components/deprecated/ModalDescription.js.map +1 -0
  262. package/build/modern/components/deprecated/ModalHeader.js +7 -0
  263. package/build/modern/components/deprecated/ModalHeader.js.map +1 -0
  264. package/build/modern/components/deprecated/ModalHeading.js +7 -0
  265. package/build/modern/components/deprecated/ModalHeading.js.map +1 -0
  266. package/build/modern/components/deprecated/NavMenuLink.js +8 -0
  267. package/build/modern/components/deprecated/NavMenuLink.js.map +1 -0
  268. package/build/modern/components/deprecated/NavMenuList.js +12 -0
  269. package/build/modern/components/deprecated/NavMenuList.js.map +1 -0
  270. package/build/modern/components/deprecated/NavMenuTrigger.js +11 -0
  271. package/build/modern/components/deprecated/NavMenuTrigger.js.map +1 -0
  272. package/build/modern/components/field/field.js +14 -0
  273. package/build/modern/components/field/field.js.map +1 -0
  274. package/build/modern/components/field/index.js +44 -0
  275. package/build/modern/components/field/index.js.map +1 -0
  276. package/build/modern/components/field/parts.js +11 -0
  277. package/build/modern/components/field/parts.js.map +1 -0
  278. package/build/modern/components/field/primitives.js +26 -0
  279. package/build/modern/components/field/primitives.js.map +1 -0
  280. package/build/modern/components/field/start-indicator.js +7 -0
  281. package/build/modern/components/field/start-indicator.js.map +1 -0
  282. package/build/modern/components/field/status-indicator.js +9 -0
  283. package/build/modern/components/field/status-indicator.js.map +1 -0
  284. package/build/modern/components/fieldset/fieldset.js +11 -0
  285. package/build/modern/components/fieldset/fieldset.js.map +1 -0
  286. package/build/modern/components/fieldset/index.js +24 -0
  287. package/build/modern/components/fieldset/index.js.map +1 -0
  288. package/build/modern/components/fieldset/parts.js +8 -0
  289. package/build/modern/components/fieldset/parts.js.map +1 -0
  290. package/build/modern/components/fieldset/primitives.js +13 -0
  291. package/build/modern/components/fieldset/primitives.js.map +1 -0
  292. package/build/modern/components/for.js +7 -0
  293. package/build/modern/components/for.js.map +1 -0
  294. package/build/modern/components/radio/index.js +30 -0
  295. package/build/modern/components/radio/index.js.map +1 -0
  296. package/build/modern/components/radio/parts.js +8 -0
  297. package/build/modern/components/radio/parts.js.map +1 -0
  298. package/build/modern/components/radio/primitives.js +21 -0
  299. package/build/modern/components/radio/primitives.js.map +1 -0
  300. package/build/modern/components/radio/radio.js +8 -0
  301. package/build/modern/components/radio/radio.js.map +1 -0
  302. package/build/modern/components/select/index.js +57 -0
  303. package/build/modern/components/select/index.js.map +1 -0
  304. package/build/modern/components/select/option-group.js +10 -0
  305. package/build/modern/components/select/option-group.js.map +1 -0
  306. package/build/modern/components/select/parts.js +8 -0
  307. package/build/modern/components/select/parts.js.map +1 -0
  308. package/build/modern/components/select/primitives.js +37 -0
  309. package/build/modern/components/select/primitives.js.map +1 -0
  310. package/build/modern/components/select/select.js +15 -0
  311. package/build/modern/components/select/select.js.map +1 -0
  312. package/build/modern/components/switch/index.js +26 -0
  313. package/build/modern/components/switch/index.js.map +1 -0
  314. package/build/modern/components/switch/parts.js +8 -0
  315. package/build/modern/components/switch/parts.js.map +1 -0
  316. package/build/modern/components/switch/primitives.js +15 -0
  317. package/build/modern/components/switch/primitives.js.map +1 -0
  318. package/build/modern/components/switch/switch-indicator.js +9 -0
  319. package/build/modern/components/switch/switch-indicator.js.map +1 -0
  320. package/build/modern/components/switch/switch.js +11 -0
  321. package/build/modern/components/switch/switch.js.map +1 -0
  322. package/build/modern/components/toggle/index.js +14 -0
  323. package/build/modern/components/toggle/index.js.map +1 -0
  324. package/build/modern/components/toggle/parts.js +8 -0
  325. package/build/modern/components/toggle/parts.js.map +1 -0
  326. package/build/modern/components/toggle/primitives.js +9 -0
  327. package/build/modern/components/toggle/primitives.js.map +1 -0
  328. package/build/modern/context/confirm-modal.js +5 -4
  329. package/build/modern/context/cta-modal.js +6 -5
  330. package/build/modern/context/field.js +34 -4
  331. package/build/modern/context/field.js.map +1 -1
  332. package/build/modern/context/notification-center.js +5 -4
  333. package/build/modern/context/prompt-modal.js +14 -8
  334. package/build/modern/hooks/useDate.js +1 -1
  335. package/build/modern/hooks/useRootColors.js +1 -1
  336. package/build/modern/hooks/useToggle.js +1 -1
  337. package/build/modern/index.js +284 -116
  338. package/build/modern/index.js.map +1 -1
  339. package/build/modern/utils/index.js +5 -3
  340. package/package.json +2 -2
  341. package/src/components/Accordion.tsx +1 -0
  342. package/src/components/DatePicker.client.tsx +3 -15
  343. package/src/components/FileStatus.tsx +4 -5
  344. package/src/components/Legend.tsx +5 -6
  345. package/src/components/button/button.tsx +77 -0
  346. package/src/components/button/index.ts +2 -0
  347. package/src/components/button/parts.ts +32 -0
  348. package/src/components/checkbox/checkbox-icon.tsx +39 -0
  349. package/src/components/checkbox/checkbox.tsx +42 -0
  350. package/src/components/checkbox/index.ts +3 -0
  351. package/src/components/checkbox/parts.ts +59 -0
  352. package/src/components/checkbox/primitives.tsx +104 -0
  353. package/src/components/{FieldMessage.tsx → deprecated/FieldMessage.tsx} +2 -13
  354. package/src/components/deprecated/FieldsetLabel.tsx +32 -0
  355. package/src/components/deprecated/Label.tsx +24 -0
  356. package/src/components/{NavMenuLink.tsx → deprecated/NavMenuLink.tsx} +1 -1
  357. package/src/components/{NavMenuList.tsx → deprecated/NavMenuList.tsx} +3 -3
  358. package/src/components/{NavMenuTrigger.tsx → deprecated/NavMenuTrigger.tsx} +4 -4
  359. package/src/components/field/field.tsx +77 -0
  360. package/src/components/field/index.ts +5 -0
  361. package/src/components/field/parts.ts +77 -0
  362. package/src/components/field/primitives.tsx +204 -0
  363. package/src/components/field/start-indicator.tsx +23 -0
  364. package/src/components/field/status-indicator.tsx +58 -0
  365. package/src/components/fieldset/fieldset.tsx +55 -0
  366. package/src/components/fieldset/index.ts +3 -0
  367. package/src/components/fieldset/parts.ts +47 -0
  368. package/src/components/fieldset/primitives.tsx +79 -0
  369. package/src/components/for.tsx +43 -0
  370. package/src/components/radio/index.ts +3 -0
  371. package/src/components/radio/parts.ts +65 -0
  372. package/src/components/radio/primitives.tsx +123 -0
  373. package/src/components/radio/radio.tsx +35 -0
  374. package/src/components/select/index.ts +4 -0
  375. package/src/components/select/option-group.tsx +34 -0
  376. package/src/components/select/parts.ts +113 -0
  377. package/src/components/select/primitives.tsx +205 -0
  378. package/src/components/select/select.tsx +135 -0
  379. package/src/components/switch/index.ts +3 -0
  380. package/src/components/switch/parts.ts +53 -0
  381. package/src/components/switch/primitives.tsx +69 -0
  382. package/src/components/switch/switch-indicator.tsx +9 -0
  383. package/src/components/switch/switch.tsx +30 -0
  384. package/src/components/toggle/index.ts +2 -0
  385. package/src/components/toggle/parts.ts +32 -0
  386. package/src/components/toggle/primitives.tsx +17 -0
  387. package/src/config/types.ts +1 -0
  388. package/src/context/confirm-modal.tsx +1 -1
  389. package/src/context/cta-modal.tsx +1 -1
  390. package/src/context/field.tsx +6 -5
  391. package/src/context/notification-center.tsx +1 -1
  392. package/src/context/prompt-modal.tsx +16 -18
  393. package/src/hooks/useDate.ts +1 -7
  394. package/src/hooks/useRootColors.ts +0 -1
  395. package/src/hooks/useToggle.ts +1 -3
  396. package/src/index.ts +23 -23
  397. package/src/utils/index.ts +30 -0
  398. package/build/legacy/components/Button.cjs.map +0 -1
  399. package/build/legacy/components/Checkbox.cjs +0 -113
  400. package/build/legacy/components/Checkbox.cjs.map +0 -1
  401. package/build/legacy/components/FieldMessage.cjs.map +0 -1
  402. package/build/legacy/components/Fieldset.cjs.map +0 -1
  403. package/build/legacy/components/FieldsetLabel.cjs.map +0 -1
  404. package/build/legacy/components/Input.cjs +0 -95
  405. package/build/legacy/components/Input.cjs.map +0 -1
  406. package/build/legacy/components/Label.cjs +0 -93
  407. package/build/legacy/components/Label.cjs.map +0 -1
  408. package/build/legacy/components/Modal.cjs.map +0 -1
  409. package/build/legacy/components/ModalDescription.cjs.map +0 -1
  410. package/build/legacy/components/ModalHeader.cjs.map +0 -1
  411. package/build/legacy/components/ModalHeading.cjs.map +0 -1
  412. package/build/legacy/components/NavMenuLink.cjs.map +0 -1
  413. package/build/legacy/components/NavMenuList.cjs.map +0 -1
  414. package/build/legacy/components/NavMenuTrigger.cjs.map +0 -1
  415. package/build/legacy/components/Radio.cjs +0 -81
  416. package/build/legacy/components/Radio.cjs.map +0 -1
  417. package/build/legacy/components/Select.cjs +0 -120
  418. package/build/legacy/components/Select.cjs.map +0 -1
  419. package/build/legacy/components/Textarea.cjs.map +0 -1
  420. package/build/legacy/components/Toggle.cjs +0 -101
  421. package/build/legacy/components/Toggle.cjs.map +0 -1
  422. package/build/modern/chunk-3BM6MZ4A.js.map +0 -1
  423. package/build/modern/chunk-3ZDFQO25.js +0 -31
  424. package/build/modern/chunk-3ZDFQO25.js.map +0 -1
  425. package/build/modern/chunk-7NN3SJ7W.js.map +0 -1
  426. package/build/modern/chunk-BHB56M7S.js.map +0 -1
  427. package/build/modern/chunk-C5EHJUS5.js +0 -10
  428. package/build/modern/chunk-C5EHJUS5.js.map +0 -1
  429. package/build/modern/chunk-EXGKZGML.js +0 -28
  430. package/build/modern/chunk-EXGKZGML.js.map +0 -1
  431. package/build/modern/chunk-FGCO27TC.js.map +0 -1
  432. package/build/modern/chunk-FTPZHG6J.js +0 -46
  433. package/build/modern/chunk-FTPZHG6J.js.map +0 -1
  434. package/build/modern/chunk-IGHMP4WA.js.map +0 -1
  435. package/build/modern/chunk-ILQW5VZT.js.map +0 -1
  436. package/build/modern/chunk-JAROS4Q3.js.map +0 -1
  437. package/build/modern/chunk-JIJM6JFJ.js +0 -36
  438. package/build/modern/chunk-JIJM6JFJ.js.map +0 -1
  439. package/build/modern/chunk-JIRW4XOJ.js.map +0 -1
  440. package/build/modern/chunk-JWIJHSI6.js.map +0 -1
  441. package/build/modern/chunk-KKHL3ZO4.js +0 -69
  442. package/build/modern/chunk-KKHL3ZO4.js.map +0 -1
  443. package/build/modern/chunk-MZ3UCDUL.js +0 -43
  444. package/build/modern/chunk-MZ3UCDUL.js.map +0 -1
  445. package/build/modern/chunk-N24COMHJ.js +0 -63
  446. package/build/modern/chunk-N24COMHJ.js.map +0 -1
  447. package/build/modern/chunk-NMF2HYWO.js +0 -50
  448. package/build/modern/chunk-NMF2HYWO.js.map +0 -1
  449. package/build/modern/chunk-NUMM4TNC.js.map +0 -1
  450. package/build/modern/chunk-O6LFWUHI.js.map +0 -1
  451. package/build/modern/chunk-PM7CWT3N.js.map +0 -1
  452. package/build/modern/chunk-PZAZKQMO.js.map +0 -1
  453. package/build/modern/chunk-REO5GUNC.js.map +0 -1
  454. package/build/modern/chunk-RMVJK26W.js.map +0 -1
  455. package/build/modern/chunk-SD3OVTHT.js.map +0 -1
  456. package/build/modern/chunk-UZDVOIW5.js +0 -33
  457. package/build/modern/chunk-UZDVOIW5.js.map +0 -1
  458. package/build/modern/chunk-UZVQ4INR.js.map +0 -1
  459. package/build/modern/chunk-WPVDQRRF.js.map +0 -1
  460. package/build/modern/chunk-XQICKZH4.js +0 -59
  461. package/build/modern/chunk-XQICKZH4.js.map +0 -1
  462. package/build/modern/chunk-YKKNWILF.js.map +0 -1
  463. package/build/modern/chunk-ZL6ZITLA.js.map +0 -1
  464. package/build/modern/components/Button.js +0 -7
  465. package/build/modern/components/Checkbox.js +0 -11
  466. package/build/modern/components/FieldMessage.js +0 -9
  467. package/build/modern/components/Fieldset.js +0 -9
  468. package/build/modern/components/FieldsetLabel.js +0 -7
  469. package/build/modern/components/Input.js +0 -11
  470. package/build/modern/components/Label.js +0 -10
  471. package/build/modern/components/Modal.js +0 -7
  472. package/build/modern/components/ModalDescription.js +0 -7
  473. package/build/modern/components/ModalHeader.js +0 -7
  474. package/build/modern/components/ModalHeading.js +0 -7
  475. package/build/modern/components/NavMenuLink.js +0 -8
  476. package/build/modern/components/NavMenuList.js +0 -12
  477. package/build/modern/components/NavMenuTrigger.js +0 -11
  478. package/build/modern/components/Radio.js +0 -9
  479. package/build/modern/components/Select.js +0 -13
  480. package/build/modern/components/Textarea.js +0 -9
  481. package/build/modern/components/Toggle.js +0 -10
  482. package/src/components/Button.tsx +0 -35
  483. package/src/components/Checkbox.tsx +0 -93
  484. package/src/components/Fieldset.tsx +0 -65
  485. package/src/components/FieldsetLabel.tsx +0 -59
  486. package/src/components/Input.tsx +0 -69
  487. package/src/components/Label.tsx +0 -69
  488. package/src/components/Radio.tsx +0 -73
  489. package/src/components/Select.tsx +0 -108
  490. package/src/components/Textarea.tsx +0 -52
  491. package/src/components/Toggle.tsx +0 -91
  492. /package/build/modern/{chunk-ISCJ542I.js.map → chunk-2HOUQ2DX.js.map} +0 -0
  493. /package/build/modern/{components/Button.js.map → chunk-2LF3HPNA.js.map} +0 -0
  494. /package/build/modern/{chunk-25HMVHLT.js.map → chunk-7SU6FCTJ.js.map} +0 -0
  495. /package/build/modern/{components/Checkbox.js.map → chunk-CYC2YUKU.js.map} +0 -0
  496. /package/build/modern/{chunk-NJSETNRL.js.map → chunk-DXBZ3HMY.js.map} +0 -0
  497. /package/build/modern/{components/FieldMessage.js.map → chunk-IDTAB2UJ.js.map} +0 -0
  498. /package/build/modern/{chunk-EDARV2EI.js.map → chunk-MISIUX63.js.map} +0 -0
  499. /package/build/modern/{components/Fieldset.js.map → chunk-OGYMMATX.js.map} +0 -0
  500. /package/build/modern/{chunk-GCQMH4QA.js.map → chunk-SXLPDPOZ.js.map} +0 -0
  501. /package/build/modern/{components/FieldsetLabel.js.map → chunk-TIJAFPHQ.js.map} +0 -0
  502. /package/build/modern/{components/Input.js.map → chunk-TYPULJMJ.js.map} +0 -0
  503. /package/build/modern/{components/Label.js.map → chunk-UDY6USHW.js.map} +0 -0
  504. /package/build/modern/{components/Modal.js.map → chunk-V4YYGGMH.js.map} +0 -0
  505. /package/build/modern/{chunk-BAWZBF5Q.js.map → chunk-WN7TJX6J.js.map} +0 -0
  506. /package/build/modern/components/{ModalDescription.js.map → button/button.js.map} +0 -0
  507. /package/build/modern/components/{ModalHeader.js.map → button/index.js.map} +0 -0
  508. /package/build/modern/components/{ModalHeading.js.map → button/parts.js.map} +0 -0
  509. /package/build/modern/components/{NavMenuLink.js.map → checkbox/checkbox-icon.js.map} +0 -0
  510. /package/build/modern/components/{NavMenuList.js.map → checkbox/checkbox.js.map} +0 -0
  511. /package/build/modern/components/{NavMenuTrigger.js.map → checkbox/index.js.map} +0 -0
  512. /package/build/modern/components/{Radio.js.map → checkbox/parts.js.map} +0 -0
  513. /package/build/modern/components/{Select.js.map → checkbox/primitives.js.map} +0 -0
  514. /package/build/modern/components/{Textarea.js.map → deprecated/FieldMessage.js.map} +0 -0
  515. /package/build/modern/components/{Toggle.js.map → deprecated/FieldsetLabel.js.map} +0 -0
  516. /package/src/components/{Modal.tsx → deprecated/Modal.tsx} +0 -0
  517. /package/src/components/{ModalDescription.tsx → deprecated/ModalDescription.tsx} +0 -0
  518. /package/src/components/{ModalHeader.tsx → deprecated/ModalHeader.tsx} +0 -0
  519. /package/src/components/{ModalHeading.tsx → deprecated/ModalHeading.tsx} +0 -0
@@ -14,6 +14,11 @@ import { ButtonHTMLAttributes } from 'react';
14
14
  import { ButtonVariantProps } from '@cerberus/styled-system/recipes';
15
15
  import { CancelDrop } from '@dnd-kit/core';
16
16
  import { ChangeEvent } from 'react';
17
+ import { CheckboxControlProps } from '@ark-ui/react';
18
+ import { CheckboxGroupProps } from '@ark-ui/react';
19
+ import { CheckboxIndicatorProps } from '@ark-ui/react';
20
+ import { CheckboxLabelProps } from '@ark-ui/react';
21
+ import { CheckboxRootProps } from '@ark-ui/react';
17
22
  import { CheckboxVariantProps } from '@cerberus/styled-system/recipes';
18
23
  import { ClientRect as ClientRect_2 } from '@dnd-kit/core';
19
24
  import { closestCenter } from '@dnd-kit/core';
@@ -75,8 +80,19 @@ import { DroppableContainer } from '@dnd-kit/core';
75
80
  import { DroppableContainers } from '@dnd-kit/core';
76
81
  import { DroppableMeasuring } from '@dnd-kit/core';
77
82
  import { ElementType } from 'react';
83
+ import { FieldHelperTextProps } from '@ark-ui/react/field';
84
+ import { FieldInputProps as FieldInputProps_2 } from '@ark-ui/react/field';
85
+ import { FieldLabelProps } from '@ark-ui/react/field';
78
86
  import { FieldMessageVariantProps } from '@cerberus/styled-system/recipes';
79
- import type { FieldsetHTMLAttributes } from 'react';
87
+ import { FieldRootProps as FieldRootProps_2 } from '@ark-ui/react/field';
88
+ import type { FieldRootProps as FieldRootProps_3 } from '@ark-ui/react';
89
+ import { FieldsetHelperTextProps } from '@ark-ui/react/fieldset';
90
+ import { FieldsetLegendProps } from '@ark-ui/react/fieldset';
91
+ import type { FieldsetRootProps } from '@ark-ui/react';
92
+ import { FieldsetRootProps as FieldsetRootProps_2 } from '@ark-ui/react/fieldset';
93
+ import { FieldsetVariantProps } from '@cerberus/styled-system/recipes';
94
+ import { FieldTextareaProps } from '@ark-ui/react/field';
95
+ import { FieldVariantProps } from '@cerberus/styled-system/recipes';
80
96
  import { FileStatusVariantProps } from '@cerberus/styled-system/recipes';
81
97
  import { ForwardRefExoticComponent } from 'react';
82
98
  import { getClientRect } from '@dnd-kit/core';
@@ -86,7 +102,6 @@ import { HTMLAttributes } from 'react';
86
102
  import { HtmlHTMLAttributes } from 'react';
87
103
  import { IconButtonVariantProps } from '@cerberus/styled-system/recipes';
88
104
  import { InputHTMLAttributes } from 'react';
89
- import { InputVariantProps } from '@cerberus/styled-system/recipes';
90
105
  import { JSX as JSX_2 } from 'react/jsx-runtime';
91
106
  import { KeyboardCode } from '@dnd-kit/core';
92
107
  import { KeyboardCodes } from '@dnd-kit/core';
@@ -96,6 +111,7 @@ import { KeyboardSensor } from '@dnd-kit/core';
96
111
  import { KeyboardSensorOptions } from '@dnd-kit/core';
97
112
  import { KeyboardSensorProps } from '@dnd-kit/core';
98
113
  import { LabelVariantProps } from '@cerberus/styled-system/recipes';
114
+ import { ListCollection } from '@ark-ui/react/select';
99
115
  import { MeasuringConfiguration } from '@dnd-kit/core';
100
116
  import { MeasuringFrequency } from '@dnd-kit/core';
101
117
  import { MeasuringStrategy } from '@dnd-kit/core';
@@ -107,7 +123,6 @@ import { MouseEventHandler } from 'react';
107
123
  import { MouseSensor } from '@dnd-kit/core';
108
124
  import { MouseSensorOptions } from '@dnd-kit/core';
109
125
  import { NotificationVariantProps } from '@cerberus/styled-system/recipes';
110
- import type { OptionHTMLAttributes } from 'react';
111
126
  import { Over } from '@dnd-kit/core';
112
127
  import { PointerActivationConstraint } from '@dnd-kit/core';
113
128
  import { PointerEventHandlers } from '@dnd-kit/core';
@@ -120,14 +135,36 @@ import { PProps } from '@cerberus/styled-system/jsx';
120
135
  import type { Pretty } from '@cerberus/styled-system/types';
121
136
  import { ProgressBarVariantProps } from '@cerberus/styled-system/recipes';
122
137
  import { PropsWithChildren } from 'react';
123
- import { radio } from '@cerberus/styled-system/recipes';
138
+ import { RadioGroupIndicatorProps } from '@ark-ui/react/radio-group';
139
+ import { RadioGroupItemControlProps } from '@ark-ui/react/radio-group';
140
+ import { RadioGroupItemHiddenInputProps } from '@ark-ui/react/radio-group';
141
+ import { RadioGroupItemProps } from '@ark-ui/react/radio-group';
142
+ import type { RadioGroupItemProps as RadioGroupItemProps_2 } from '@ark-ui/react';
143
+ import { RadioGroupItemTextProps } from '@ark-ui/react/radio-group';
144
+ import { RadioGroupLabelProps } from '@ark-ui/react/radio-group';
145
+ import { RadioGroupRootProps } from '@ark-ui/react/radio-group';
146
+ import { RadioGroupVariantProps } from '@cerberus/styled-system/recipes';
124
147
  import { ReactNode } from 'react';
125
- import type { RecipeVariantProps } from '@cerberus/styled-system/types';
126
148
  import { rectIntersection } from '@dnd-kit/core';
127
149
  import { RefAttributes } from 'react';
128
150
  import { RefObject } from 'react';
129
151
  import { ScreenReaderInstructions } from '@dnd-kit/core';
130
- import type { SelectHTMLAttributes } from 'react';
152
+ import { SelectClearTriggerProps } from '@ark-ui/react/select';
153
+ import { SelectContentProps } from '@ark-ui/react/select';
154
+ import { SelectControlProps } from '@ark-ui/react/select';
155
+ import { SelectHiddenSelectProps } from '@ark-ui/react/select';
156
+ import { SelectIndicatorProps } from '@ark-ui/react/select';
157
+ import { SelectItemGroupLabelProps } from '@ark-ui/react/select';
158
+ import { SelectItemGroupProps } from '@ark-ui/react/select';
159
+ import { SelectItemIndicatorProps } from '@ark-ui/react/select';
160
+ import { SelectItemProps } from '@ark-ui/react/select';
161
+ import { SelectItemTextProps } from '@ark-ui/react/select';
162
+ import { SelectLabelProps } from '@ark-ui/react/select';
163
+ import { SelectPositionerProps } from '@ark-ui/react/select';
164
+ import { SelectRootProps } from '@ark-ui/react/select';
165
+ import { SelectTriggerProps } from '@ark-ui/react/select';
166
+ import { SelectValueChangeDetails } from '@ark-ui/react/select';
167
+ import { SelectValueTextProps } from '@ark-ui/react/select';
131
168
  import { SelectVariantProps } from '@cerberus/styled-system/recipes';
132
169
  import { Sensor } from '@dnd-kit/core';
133
170
  import { SensorContext } from '@dnd-kit/core';
@@ -139,15 +176,20 @@ import { SensorProps } from '@dnd-kit/core';
139
176
  import { SensorResponse } from '@dnd-kit/core';
140
177
  import { Sensors } from '@dnd-kit/core';
141
178
  import type { SVGProps } from 'react';
179
+ import { Switch as Switch_2 } from '@ark-ui/react';
180
+ import { SwitchControlProps } from '@ark-ui/react';
181
+ import { SwitchLabelProps } from '@ark-ui/react';
182
+ import { SwitchRecipeVariantProps } from '@cerberus/styled-system/recipes';
183
+ import { SwitchRootProps } from '@ark-ui/react';
184
+ import { SwitchThumbProps } from '@ark-ui/react';
142
185
  import type { TableHTMLAttributes } from 'react';
143
186
  import { Tabs as Tabs_2 } from '@ark-ui/react/tabs';
144
187
  import { TabsVariantProps } from '@cerberus/styled-system/recipes';
145
188
  import { TagVariantProps } from '@cerberus/styled-system/recipes';
146
189
  import { TbodyVariantProps } from '@cerberus/styled-system/recipes';
147
190
  import { TdVariantProps } from '@cerberus/styled-system/recipes';
148
- import type { TextareaHTMLAttributes } from 'react';
149
191
  import { ThVariantProps } from '@cerberus/styled-system/recipes';
150
- import { ToggleVariantProps } from '@cerberus/styled-system/recipes';
192
+ import { Toggle } from '@ark-ui/react/toggle';
151
193
  import { TooltipContentProps } from '@ark-ui/react/tooltip';
152
194
  import { TouchSensor } from '@dnd-kit/core';
153
195
  import { TouchSensorOptions } from '@dnd-kit/core';
@@ -520,6 +562,16 @@ declare type BaseNotificationHeadingProps = HTMLAttributes<HTMLParagraphElement>
520
562
  export { BaseNotificationHeadingProps }
521
563
  export { BaseNotificationHeadingProps as BaseNotificationHeadingProps_alias_1 }
522
564
 
565
+ declare interface BaseSelectProps {
566
+ /**
567
+ * The placeholder text when no option is selected.
568
+ */
569
+ placeholder?: string;
570
+ }
571
+ export { BaseSelectProps }
572
+ export { BaseSelectProps as BaseSelectProps_alias_1 }
573
+ export { BaseSelectProps as BaseSelectProps_alias_2 }
574
+
523
575
  /**
524
576
  * A component that allows the user to perform actions
525
577
  * @see https://cerberus.digitalu.design/react/button
@@ -527,14 +579,52 @@ export { BaseNotificationHeadingProps as BaseNotificationHeadingProps_alias_1 }
527
579
  declare function Button(props: ButtonProps): JSX.Element;
528
580
  export { Button }
529
581
  export { Button as Button_alias_1 }
582
+ export { Button as Button_alias_2 }
530
583
 
531
584
  /**
532
- * This module contains the Button component.
533
- * @module
585
+ * An icon to display in a button that utilizes the pending state to display
586
+ * a loading spinner.
587
+ */
588
+ declare function ButtonIcon(props: PropsWithChildren<object>): JSX_2.Element;
589
+ export { ButtonIcon }
590
+ export { ButtonIcon as ButtonIcon_alias_1 }
591
+ export { ButtonIcon as ButtonIcon_alias_2 }
592
+
593
+ /**
594
+ * An Object containing the parts of the Button component. For users that
595
+ * prefer Object component syntax.
596
+ *
597
+ * @remarks
598
+ *
599
+ * When using object component syntax, you import the ButtonParts object and
600
+ * the entire family of components vs. only what you use.
601
+ */
602
+ declare const ButtonParts: ButtonPartsValue;
603
+ export { ButtonParts }
604
+ export { ButtonParts as ButtonParts_alias_1 }
605
+ export { ButtonParts as ButtonParts_alias_2 }
606
+
607
+ /**
608
+ * This module contains the parts of the Button component.
609
+ * @module 'button/parts'
534
610
  */
535
- declare type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & ButtonVariantProps;
611
+ declare interface ButtonPartsValue {
612
+ /**
613
+ * The context provider of the button.
614
+ */
615
+ Root: ElementType;
616
+ /**
617
+ * The icon of the button.
618
+ */
619
+ Icon: ElementType;
620
+ }
621
+
622
+ declare type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & ButtonVariantProps & {
623
+ pending?: boolean;
624
+ };
536
625
  export { ButtonProps }
537
626
  export { ButtonProps as ButtonProps_alias_1 }
627
+ export { ButtonProps as ButtonProps_alias_2 }
538
628
 
539
629
  export { CancelDrop }
540
630
 
@@ -551,6 +641,48 @@ declare interface CerberusProviderProps {
551
641
  config: SystemConfig;
552
642
  }
553
643
 
644
+ /**
645
+ * Checkbox component is an abstraction of the primitives that displays a
646
+ * controlled checkbox with a label.
647
+ * @description [Cerberus Docs] https://cerberus.digitalu.design/react/checkbox
648
+ * @description [Ark Docs] https://ark-ui.com/docs/components/checkbox
649
+ */
650
+ declare function Checkbox(props: CheckboxProps): JSX_2.Element;
651
+ export { Checkbox }
652
+ export { Checkbox as Checkbox_alias_1 }
653
+ export { Checkbox as Checkbox_alias_2 }
654
+
655
+ /**
656
+ * Checkbox Control component used to display the control of the checkbox.
657
+ * @definition [Cerberus Docs](https://cerberus.digitalu.design/react/checkbox)
658
+ * @definition [Primitive Docs](https://ark-ui.com/react/docs/components/checkbox)
659
+ */
660
+ declare function CheckboxControl(props: CheckboxControlProps & CheckboxVariantProps): JSX_2.Element;
661
+ export { CheckboxControl }
662
+ export { CheckboxControl as CheckboxControl_alias_1 }
663
+ export { CheckboxControl as CheckboxControl_alias_2 }
664
+
665
+ /**
666
+ * Checkbox Group is used to group checkboxes together in a consistently styled
667
+ * way.
668
+ * @definition [Cerberus Docs](https://cerberus.digitalu.design/react/checkbox)
669
+ * @definition [Primitive Docs](https://ark-ui.com/react/docs/components/checkbox)
670
+ */
671
+ declare function CheckboxGroup(props: CheckboxGroupProps): JSX_2.Element;
672
+ export { CheckboxGroup }
673
+ export { CheckboxGroup as CheckboxGroup_alias_1 }
674
+ export { CheckboxGroup as CheckboxGroup_alias_2 }
675
+
676
+ /**
677
+ * Checkbox HiddenInput component used to provide the native checkbox input.
678
+ * @definition [Cerberus Docs](https://cerberus.digitalu.design/react/checkbox)
679
+ * @definition [Primitive Docs](https://ark-ui.com/react/docs/components/checkbox)
680
+ */
681
+ declare function CheckboxHiddenInput(props: CheckboxControlProps): JSX_2.Element;
682
+ export { CheckboxHiddenInput }
683
+ export { CheckboxHiddenInput as CheckboxHiddenInput_alias_1 }
684
+ export { CheckboxHiddenInput as CheckboxHiddenInput_alias_2 }
685
+
554
686
  /**
555
687
  * Checkbox component
556
688
  * @definition [ARIA Target Size](https://www.w3.org/WAI/WCAG21/Understanding/target-size.html#:~:text=Understanding%20SC%202.5.,%3ATarget%20Size%20(Level%20AAA)&text=The%20size%20of%20the%20target,Equivalent)
@@ -563,9 +695,7 @@ declare interface CerberusProviderProps {
563
695
  * </Field>
564
696
  * ```
565
697
  */
566
- declare function Checkbox(props: CheckboxProps): JSX_2.Element;
567
- export { Checkbox }
568
- export { Checkbox as Checkbox_alias_1 }
698
+ export declare function CheckboxIcon(props: CheckboxIconProps_2): JSX_2.Element;
569
699
 
570
700
  /**
571
701
  * This module contains substitute icons for the Checkbox component.
@@ -574,26 +704,101 @@ export { Checkbox as Checkbox_alias_1 }
574
704
  export declare type CheckboxIconProps = SVGProps<SVGSVGElement>;
575
705
 
576
706
  /**
577
- * This module contains the Checkbox component.
707
+ * This module contains the Checkbox Icon component.
578
708
  * @module
579
709
  */
580
- declare type CheckboxProps = CheckboxVariantProps & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'id'> & {
710
+ declare interface CheckboxIconProps_2 {
711
+ indeterminate?: boolean;
712
+ }
713
+
714
+ /**
715
+ * Checkbox Indicator component used to display the indicator of the checkbox.
716
+ * @definition [Cerberus Docs](https://cerberus.digitalu.design/react/checkbox)
717
+ * @definition [Primitive Docs](https://ark-ui.com/react/docs/components/checkbox)
718
+ */
719
+ declare function CheckboxIndicator(props: CheckboxIndicatorProps): JSX_2.Element;
720
+ export { CheckboxIndicator }
721
+ export { CheckboxIndicator as CheckboxIndicator_alias_1 }
722
+ export { CheckboxIndicator as CheckboxIndicator_alias_2 }
723
+
724
+ /**
725
+ * Checkbox Label component used to display the label of the checkbox.
726
+ * @definition [Cerberus Docs](https://cerberus.digitalu.design/react/checkbox)
727
+ * @definition [Primitive Docs](https://ark-ui.com/react/docs/components/checkbox)
728
+ */
729
+ declare function CheckboxLabel(props: CheckboxLabelProps & CheckboxVariantProps): JSX_2.Element;
730
+ export { CheckboxLabel }
731
+ export { CheckboxLabel as CheckboxLabel_alias_1 }
732
+ export { CheckboxLabel as CheckboxLabel_alias_2 }
733
+
734
+ /**
735
+ * An Object containing the parts of the Checkbox component. For users that
736
+ * prefer Object component syntax.
737
+ *
738
+ * @remarks
739
+ *
740
+ * When using object component syntax, you import the CheckboxParts object and
741
+ * the entire family of components vs. only what you use.
742
+ */
743
+ declare const CheckboxParts: CheckboxPartsValue;
744
+ export { CheckboxParts }
745
+ export { CheckboxParts as CheckboxParts_alias_1 }
746
+ export { CheckboxParts as CheckboxParts_alias_2 }
747
+
748
+ /**
749
+ * This module contains the parts of the Field component.
750
+ * @module 'field/parts'
751
+ */
752
+ declare interface CheckboxPartsValue {
581
753
  /**
582
- * The id of the FieldMessage element describing the Checkbox.
754
+ * The container of the field.
583
755
  */
584
- describedBy?: string;
756
+ Root: ElementType;
585
757
  /**
586
- * The unique identifier for the checkbox. Required for accessibility.
758
+ * The label of the field.
587
759
  */
588
- id: string;
760
+ Label: ElementType;
589
761
  /**
590
- * Used to display a mixed checked state.
591
- * @description [ARIA Mixed State](https://www.w3.org/WAI/ARIA/apg/patterns/checkbox/examples/checkbox-mixed/)
762
+ * The control of the field.
592
763
  */
593
- mixed?: boolean;
594
- };
764
+ Control: ElementType;
765
+ /**
766
+ * The indicator of the field.
767
+ */
768
+ Indicator: ElementType;
769
+ /**
770
+ * The hidden input of the field.
771
+ */
772
+ HiddenInput: ElementType;
773
+ /**
774
+ * The checkbox group component.
775
+ */
776
+ Group: ElementType;
777
+ }
778
+
779
+ /**
780
+ * This module contains the Checkbox component.
781
+ * @module
782
+ */
783
+ declare type CheckboxProps = CheckboxVariantProps & CheckboxRootProps;
595
784
  export { CheckboxProps }
596
785
  export { CheckboxProps as CheckboxProps_alias_1 }
786
+ export { CheckboxProps as CheckboxProps_alias_2 }
787
+
788
+ /**
789
+ * This module contains the Checkbox primitives.
790
+ * @module 'react/checkbox'
791
+ */
792
+ /**
793
+ * Checkbox Root component used to provide the context to all other checkbox
794
+ * primitives.
795
+ * @definition [Cerberus Docs](https://cerberus.digitalu.design/react/checkbox)
796
+ * @definition [Primitive Docs](https://ark-ui.com/react/docs/components/checkbox)
797
+ */
798
+ declare function CheckboxRoot(props: CheckboxRootProps): JSX_2.Element;
799
+ export { CheckboxRoot }
800
+ export { CheckboxRoot as CheckboxRoot_alias_1 }
801
+ export { CheckboxRoot as CheckboxRoot_alias_2 }
597
802
 
598
803
  /**
599
804
  * Checkmark icon for Checkbox component
@@ -749,6 +954,19 @@ declare function createNavTriggerProps(values: NavTriggerAriaValues): NavTrigger
749
954
  export { createNavTriggerProps }
750
955
  export { createNavTriggerProps as createNavTriggerProps_alias_1 }
751
956
 
957
+ /**
958
+ * A helper function to create a SelectCollection object.
959
+ * @param collection - An array of SelectCollectionItem objects that matches
960
+ * the following shape:
961
+ * ```ts
962
+ * [{ label: 'Hades', value: 'hades', disabled?: true }]
963
+ * ```
964
+ */
965
+ declare function createSelectCollection(collection: SelectCollectionItem[]): ListCollection<SelectCollectionItem>;
966
+ export { createSelectCollection }
967
+ export { createSelectCollection as createSelectCollection_alias_1 }
968
+ export { createSelectCollection as createSelectCollection_alias_2 }
969
+
752
970
  /**
753
971
  * Provides a CTA modal to the app.
754
972
  * @see https://cerberus.digitalu.design/react/cta-modal
@@ -1117,6 +1335,7 @@ declare interface DefinedIcons<T extends IconType = IconType> {
1117
1335
  invalidAlt: T;
1118
1336
  redo: T;
1119
1337
  selectArrow: T;
1338
+ selectChecked: T;
1120
1339
  toggleChecked: T;
1121
1340
  }
1122
1341
  export { DefinedIcons }
@@ -1443,18 +1662,34 @@ export { FeatureFlagValue }
1443
1662
  export { FeatureFlagValue as FeatureFlagValue_alias_1 }
1444
1663
 
1445
1664
  /**
1446
- * Provides the field state for a all related components used within a group.
1447
- * @see https://cerberus.digitalu.design/react/input
1665
+ * The Field component is the context provider for all FieldParts and displays
1666
+ * the label, helperText, and ErrorText.
1667
+ * @description [Field Docs](https://cerberus.digitalu.design/react/field)
1668
+ * @example
1669
+ * ```tsx
1670
+ * <Field
1671
+ * ids={{
1672
+ * control: 'firstName',
1673
+ * }}
1674
+ * label="Label"
1675
+ * helperText="This is what people will see on your profile."
1676
+ * errorText="A first name is required to create an account."
1677
+ * required
1678
+ * >
1679
+ * <Input name="firstName" type="text" />
1680
+ * </Field>
1681
+ * ```
1448
1682
  */
1449
- declare function Field(props: PropsWithChildren<FieldContextValue>): JSX.Element;
1683
+ declare function Field(props: FieldProps): JSX_2.Element;
1450
1684
  export { Field }
1451
1685
  export { Field as Field_alias_1 }
1686
+ export { Field as Field_alias_2 }
1452
1687
 
1453
1688
  /**
1454
1689
  * This module provides a context and hook for the field.
1455
1690
  * @module Field
1456
1691
  */
1457
- declare interface FieldContextValue {
1692
+ export declare interface FieldContextValue {
1458
1693
  /**
1459
1694
  * Whether the field is disabled.
1460
1695
  * @description [Moz Input Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attributes)
@@ -1473,23 +1708,93 @@ declare interface FieldContextValue {
1473
1708
  */
1474
1709
  invalid?: boolean;
1475
1710
  }
1476
- export { FieldContextValue }
1477
- export { FieldContextValue as FieldContextValue_alias_1 }
1478
1711
 
1479
1712
  /**
1480
- * A component that provides feedback about the field.
1481
- * @see https://cerberus.digitalu.design/react/field-message
1713
+ * The error text for the Field component that is shown when the field is
1714
+ * invalid.
1715
+ * @description [Field Docs](https://cerberus.digitalu.design/react/field)
1482
1716
  * @example
1483
1717
  * ```tsx
1484
- * <Field>
1485
- * <Label htmlFor="first_name">First Name</Label>
1486
- * <Input aria-describedBy="help:first_name" id="first_name" type="text" />
1487
- * <FieldMessage id="help:first_name">
1488
- * This will only be used in your account information.
1489
- * </FieldMessage>
1490
- * </Field>
1718
+ * <FieldRoot>
1719
+ * <FieldInput />
1720
+ * <FieldErrorText>Error text</FieldErrorText>
1721
+ * </FieldRoot>
1722
+ * ```
1723
+ */
1724
+ declare function FieldErrorText(props: FieldHelperTextProps): JSX_2.Element | null;
1725
+ export { FieldErrorText }
1726
+ export { FieldErrorText as FieldErrorText_alias_1 }
1727
+ export { FieldErrorText as FieldErrorText_alias_2 }
1728
+
1729
+ /**
1730
+ * The helper text for the Field component that is shown when the field is
1731
+ * valid.
1732
+ * @description [Field Docs](https://cerberus.digitalu.design/react/field)
1733
+ * @example
1734
+ * ```tsx
1735
+ * <FieldRoot>
1736
+ * <FieldInput />
1737
+ * <FieldHelperText>Helper text</FieldHelperText>
1738
+ * </FieldRoot>
1739
+ * ```
1740
+ */
1741
+ declare function FieldHelperText(props: FieldHelperTextProps): JSX_2.Element | null;
1742
+ export { FieldHelperText }
1743
+ export { FieldHelperText as FieldHelperText_alias_1 }
1744
+ export { FieldHelperText as FieldHelperText_alias_2 }
1745
+
1746
+ declare type FieldIndicatorProps = HTMLAttributes<HTMLSpanElement>;
1747
+ export { FieldIndicatorProps }
1748
+ export { FieldIndicatorProps as FieldIndicatorProps_alias_1 }
1749
+ export { FieldIndicatorProps as FieldIndicatorProps_alias_2 }
1750
+
1751
+ /**
1752
+ * The input for the Field component.
1753
+ * @description [Field Docs](https://cerberus.digitalu.design/react/field)
1754
+ * @example
1755
+ * ```tsx
1756
+ * <FieldRoot>
1757
+ * <FieldInput />
1758
+ * </FieldRoot>
1491
1759
  * ```
1492
1760
  */
1761
+ declare function FieldInput(props: FieldInputProps): JSX_2.Element;
1762
+ export { FieldInput }
1763
+ export { FieldInput as FieldInput_alias_1 }
1764
+ export { FieldInput as FieldInput_alias_2 }
1765
+
1766
+ declare interface FieldInputProps extends Omit<FieldInputProps_2, 'size'>, FieldVariantProps {
1767
+ /**
1768
+ * An optional icon to display at the start of the input.
1769
+ */
1770
+ startIcon?: ReactNode;
1771
+ /**
1772
+ * An optional icon to display at the end of the input.
1773
+ */
1774
+ endIcon?: ReactNode;
1775
+ }
1776
+ export { FieldInputProps }
1777
+ export { FieldInputProps as FieldInputProps_alias_1 }
1778
+ export { FieldInputProps as FieldInputProps_alias_2 }
1779
+
1780
+ /**
1781
+ * The label for the Field component.
1782
+ * @description [Field Docs](https://cerberus.digitalu.design/react/field)
1783
+ * @example
1784
+ * ```tsx
1785
+ * <FieldRoot>
1786
+ * <FieldLabel>Label</FieldLabel>
1787
+ * </FieldRoot>
1788
+ * ```
1789
+ */
1790
+ declare function FieldLabel(props: FieldLabelProps): JSX_2.Element;
1791
+ export { FieldLabel }
1792
+ export { FieldLabel as FieldLabel_alias_1 }
1793
+ export { FieldLabel as FieldLabel_alias_2 }
1794
+
1795
+ /**
1796
+ * @deprecated use FieldHelperText, FieldErrorText, or FieldParts instead
1797
+ */
1493
1798
  declare function FieldMessage(props: FieldMessageProps): JSX_2.Element;
1494
1799
  export { FieldMessage }
1495
1800
  export { FieldMessage as FieldMessage_alias_1 }
@@ -1515,166 +1820,373 @@ export { FieldMessageProps }
1515
1820
  export { FieldMessageProps as FieldMessageProps_alias_1 }
1516
1821
 
1517
1822
  /**
1518
- * A component to group related elements in a form for accessibility.
1519
- * @memberof Field
1520
- * @see https://cerberus.digitalu.com/react/fieldset
1521
- * @description [A11y Form Checklist](https://www.a11yproject.com/checklist/#forms)
1522
- * @description [MDN Web Docs: Fieldset](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset)
1523
- * @example
1524
- * ```tsx
1525
- * import { Fieldset, Legend, Field, Radio, Label } from '@cerberus/react'
1526
- * import { Hstack } from '@cerberus/styled-system/jsx'
1823
+ * An Object containing the parts of the Field component. For users that
1824
+ * prefer Object component syntax.
1527
1825
  *
1528
- * function SomeForm() {
1529
- * return (
1530
- * <form>
1531
- * <Fieldset>
1532
- * <Legend>Do you like cats?</Legend>
1533
- * <Hstack>
1534
- * <Field>
1535
- * <Radio id="yes" name="cats" value="yes" />
1536
- * <Label htmlFor="yes">Yes</Label>
1537
- * </Field>
1538
- * </Hstack>
1539
- * <Hstack>
1540
- * <Field>
1541
- * <Radio id="no" name="cats" value="no" />
1542
- * <Label htmlFor="no">No</Label>
1543
- * </Field>
1544
- * </Hstack>
1545
- * </Fieldset>
1546
- * </form>
1547
- * )
1548
- * }
1549
- */
1550
- declare function Fieldset(props: FieldsetProps): JSX_2.Element;
1551
- export { Fieldset }
1552
- export { Fieldset as Fieldset_alias_1 }
1553
-
1554
- /**
1555
- * Used for labeling inputs that are children of a Fieldset group.
1556
- * @memberof Fieldset
1557
- * @see https://cerberus.digitalu.design/react/fieldset
1558
- * @definition [ARIA Forms](https://www.a11yproject.com/checklist/#forms)
1559
- * @example
1560
- * ```tsx
1561
- * import { Fieldset, Legend, Field, Radio, Label } from '@cerberus/react'
1562
- * import { Hstack } from '@cerberus/styled-system/jsx'
1826
+ * @remarks
1563
1827
  *
1564
- * function SomeForm() {
1565
- * return (
1566
- * <form>
1567
- * <Fieldset>
1568
- * <Legend>Do you like cats?</Legend>
1569
- * <Hstack>
1570
- * <Field>
1571
- * <Radio id="yes" name="cats" value="yes" />
1572
- * <FieldsetLabel htmlFor="yes">Yes</FieldsetLabel>
1573
- * </Field>
1574
- * </Hstack>
1575
- * <Hstack>
1576
- * <Field>
1577
- * <Radio id="no" name="cats" value="no" />
1578
- * <FieldsetLabel htmlFor="no">No</FieldsetLabel>
1579
- * </Field>
1580
- * </Hstack>
1581
- * </Fieldset>
1582
- * </form>
1583
- * )
1584
- * }
1585
- * ```
1586
- */
1587
- declare function FieldsetLabel(props: FieldsetLabelProps): JSX_2.Element;
1588
- export { FieldsetLabel }
1589
- export { FieldsetLabel as FieldsetLabel_alias_1 }
1590
-
1591
- /**
1592
- * This module contains the FieldsetLabel component.
1593
- * @module FieldsetLabel
1828
+ * When using object component syntax, you import the FieldParts object and
1829
+ * the entire family of components vs. only what you use.
1594
1830
  */
1595
- declare type FieldsetLabelProps = LabelProps & LabelVariantProps;
1596
- export { FieldsetLabelProps }
1597
- export { FieldsetLabelProps as FieldsetLabelProps_alias_1 }
1831
+ declare const FieldParts: FieldPartsValue;
1832
+ export { FieldParts }
1833
+ export { FieldParts as FieldParts_alias_1 }
1834
+ export { FieldParts as FieldParts_alias_2 }
1598
1835
 
1599
1836
  /**
1600
- * This module contains the Fieldset component.
1601
- * @module Fieldset
1837
+ * This module contains the parts of the Field component.
1838
+ * @module 'field/parts'
1602
1839
  */
1603
- declare type FieldsetProps = FieldsetHTMLAttributes<HTMLFieldSetElement>;
1604
- export { FieldsetProps }
1605
- export { FieldsetProps as FieldsetProps_alias_1 }
1606
-
1607
- declare interface FileBaseStatusProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onClick'> {
1840
+ declare interface FieldPartsValue {
1608
1841
  /**
1609
- * A unique identifier for the file status. Required for accessibility.
1842
+ * The container of the field.
1610
1843
  */
1611
- id: string;
1844
+ Root: ElementType;
1612
1845
  /**
1613
- * The name of the file.
1846
+ * The label of the field.
1614
1847
  */
1615
- file: string;
1848
+ Label: ElementType;
1616
1849
  /**
1617
- * The percentage of the file that has been processed.
1850
+ * The input of the field.
1618
1851
  */
1619
- now: ProgressBarProps['now'];
1852
+ Input: ElementType;
1620
1853
  /**
1621
- * The status of the file.
1854
+ * The textarea of the field.
1622
1855
  */
1623
- status: processStatus;
1856
+ Textarea: ElementType;
1624
1857
  /**
1625
- * The action to perform on the file when a user clicks the
1626
- * button located at the end of the status card.
1627
- * @param status - The status of the file.
1628
- * @param e - The event object.
1629
- * @example
1630
- * ```tsx
1631
- * <FileStatus file="file.txt" now={0} status={processStatus.TODO} action={(status, e) => console.log(status, e)} />
1632
- * ```
1633
- * @default () => {}
1858
+ * The text that displays when the field is valid.
1634
1859
  */
1635
- onClick: (status: FileStatusActions, e: MouseEvent_2<HTMLButtonElement>) => void;
1860
+ HelperText: ElementType;
1861
+ /**
1862
+ * The text that displays when the field is invalid.
1863
+ */
1864
+ ErrorText: ElementType;
1865
+ /**
1866
+ * The indicator that appears at the start of the field.
1867
+ */
1868
+ StartIndicator: ElementType;
1869
+ /**
1870
+ * The status indicator of the field.
1871
+ */
1872
+ StatusIndicator: ElementType;
1873
+ /**
1874
+ * The indicator that appears at the end of the field.
1875
+ */
1876
+ RequiredIndicator: ElementType;
1636
1877
  }
1637
- export { FileBaseStatusProps }
1638
- export { FileBaseStatusProps as FileBaseStatusProps_alias_1 }
1639
1878
 
1640
- /**
1641
- * A component that displays the status of a file during file processing.
1642
- * @see https://cerberus.digitalu.design/react/file-uploader
1643
- * @example
1644
- * ```tsx
1645
- * <FileStatus file="file.txt" now={0} status={processStatus.TODO} action={(status, e) => console.log(status, e)} />
1646
- * ```
1647
- */
1648
- declare function FileStatus(props: FileStatusProps): JSX_2.Element;
1649
- export { FileStatus }
1650
- export { FileStatus as FileStatus_alias_1 }
1879
+ declare interface FieldProps extends FieldRootProps_2 {
1880
+ /**
1881
+ * The label of the field.
1882
+ */
1883
+ label?: string;
1884
+ /**
1885
+ * The helper text of the field.
1886
+ */
1887
+ helperText?: string;
1888
+ /**
1889
+ * A helper text positioned at the end of the field. Good for Textarea fields.
1890
+ */
1891
+ secondaryHelperText?: string;
1892
+ /**
1893
+ * The error text of the field. Shown when the field is invalid.
1894
+ */
1895
+ errorText?: string;
1896
+ }
1897
+ export { FieldProps }
1898
+ export { FieldProps as FieldProps_alias_1 }
1899
+ export { FieldProps as FieldProps_alias_2 }
1651
1900
 
1652
1901
  /**
1653
- * The actions that can be performed on a file.
1902
+ * @deprecated use FieldRoot or FieldParts instead
1654
1903
  */
1655
- declare type FileStatusActions = 'cancel' | 'retry' | 'delete';
1656
- export { FileStatusActions }
1657
- export { FileStatusActions as FileStatusActions_alias_1 }
1904
+ export declare function FieldProvider(props: PropsWithChildren<FieldRootProps_3>): JSX.Element;
1658
1905
 
1659
1906
  /**
1660
- * This module contains the FileStatus component.
1661
- * @module
1907
+ * The required indicator for the Field component.
1662
1908
  */
1909
+ declare function FieldRequiredIndicator(): JSX_2.Element;
1910
+ export { FieldRequiredIndicator }
1911
+ export { FieldRequiredIndicator as FieldRequiredIndicator_alias_1 }
1912
+ export { FieldRequiredIndicator as FieldRequiredIndicator_alias_2 }
1913
+
1663
1914
  /**
1664
- * The available values of the fileStatus helper Object.
1915
+ * The context & container for the Field components.
1916
+ * @description [Field Docs](https://cerberus.digitalu.design/react/field)
1665
1917
  * @example
1666
1918
  * ```tsx
1667
- * import { fileStatus } from '@cerberus/react'
1668
- * processStatus.TODO // 'todo'
1919
+ * <FieldRoot required ids={{ input: 'exampleId' }}>
1920
+ * <FieldLabel>Label</FieldLabel>
1921
+ * <FieldInput />
1922
+ * </FieldRoot>
1669
1923
  * ```
1670
1924
  */
1671
- declare type FileStatusKey = (typeof processStatus)[keyof typeof processStatus];
1672
- export { FileStatusKey }
1673
- export { FileStatusKey as FileStatusKey_alias_1 }
1925
+ declare function FieldRoot(props: FieldRootProps): JSX_2.Element;
1926
+ export { FieldRoot }
1927
+ export { FieldRoot as FieldRoot_alias_1 }
1928
+ export { FieldRoot as FieldRoot_alias_2 }
1674
1929
 
1675
- declare type FileStatusProps = FileBaseStatusProps & FileStatusVariantProps;
1676
- export { FileStatusProps }
1677
- export { FileStatusProps as FileStatusProps_alias_1 }
1930
+ /**
1931
+ * This module contains all the primitives of the Field component.
1932
+ * @module 'field'
1933
+ */
1934
+ declare type FieldRootProps = FieldRootProps_2 & FieldVariantProps;
1935
+ export { FieldRootProps }
1936
+ export { FieldRootProps as FieldRootProps_alias_1 }
1937
+ export { FieldRootProps as FieldRootProps_alias_2 }
1938
+
1939
+ /**
1940
+ * A component used for grouping related fields in a form that is an
1941
+ * abstraction of the Fieldset primitives.
1942
+ * @description [Fieldset Docs](https://cerberus.digitalu.design/react/fieldset)
1943
+ * @description [Primitive Docs](https://ark-ui.com/react/docs/components/fieldset)
1944
+ */
1945
+ declare function Fieldset(props: FieldsetProps): JSX_2.Element;
1946
+ export { Fieldset }
1947
+ export { Fieldset as Fieldset_alias_1 }
1948
+ export { Fieldset as Fieldset_alias_2 }
1949
+
1950
+ /**
1951
+ * The error text element for the Fieldset group.
1952
+ * @description [Fieldset Docs](https://cerberus.digitalu.design/react/fieldset)
1953
+ * @description [Primitive Docs](https://ark-ui.com/react/docs/components/fieldset)
1954
+ */
1955
+ declare function FieldsetErrorText(props: FieldsetHelperTextProps): JSX_2.Element;
1956
+ export { FieldsetErrorText }
1957
+ export { FieldsetErrorText as FieldsetErrorText_alias_1 }
1958
+ export { FieldsetErrorText as FieldsetErrorText_alias_2 }
1959
+
1960
+ /**
1961
+ * The description element for the Fieldset group.
1962
+ * @description [Fieldset Docs](https://cerberus.digitalu.design/react/fieldset)
1963
+ * @description [Primitive Docs](https://ark-ui.com/react/docs/components/fieldset)
1964
+ */
1965
+ declare function FieldsetHelperText(props: FieldsetHelperTextProps & FieldsetVariantProps): JSX_2.Element;
1966
+ export { FieldsetHelperText }
1967
+ export { FieldsetHelperText as FieldsetHelperText_alias_1 }
1968
+ export { FieldsetHelperText as FieldsetHelperText_alias_2 }
1969
+
1970
+ /**
1971
+ * @deprecated
1972
+ */
1973
+ declare function FieldsetLabel(props: FieldsetLabelProps): JSX_2.Element;
1974
+ export { FieldsetLabel }
1975
+ export { FieldsetLabel as FieldsetLabel_alias_1 }
1976
+
1977
+ /**
1978
+ * This module contains the FieldsetLabel component.
1979
+ * @module FieldsetLabel
1980
+ */
1981
+ declare type FieldsetLabelProps = LabelProps & LabelVariantProps & {
1982
+ htmlFor?: string;
1983
+ };
1984
+ export { FieldsetLabelProps }
1985
+ export { FieldsetLabelProps as FieldsetLabelProps_alias_1 }
1986
+
1987
+ /**
1988
+ * The legend element for the Fieldset group.
1989
+ * @description [Fieldset Docs](https://cerberus.digitalu.design/react/fieldset)
1990
+ * @description [Primitive Docs](https://ark-ui.com/react/docs/components/fieldset)
1991
+ */
1992
+ declare function FieldsetLegend(props: FieldsetLegendProps & FieldsetVariantProps): JSX_2.Element;
1993
+ export { FieldsetLegend }
1994
+ export { FieldsetLegend as FieldsetLegend_alias_1 }
1995
+ export { FieldsetLegend as FieldsetLegend_alias_2 }
1996
+
1997
+ /**
1998
+ * An Object containing the parts of the Field component. For users that
1999
+ * prefer Object component syntax.
2000
+ *
2001
+ * @remarks
2002
+ *
2003
+ * When using object component syntax, you import the FieldParts object and
2004
+ * the entire family of components vs. only what you use.
2005
+ */
2006
+ declare const FieldsetParts: FieldsetPartsValue;
2007
+ export { FieldsetParts }
2008
+ export { FieldsetParts as FieldsetParts_alias_1 }
2009
+ export { FieldsetParts as FieldsetParts_alias_2 }
2010
+
2011
+ /**
2012
+ * This module contains the parts of the Field component.
2013
+ * @module 'field/parts'
2014
+ */
2015
+ declare interface FieldsetPartsValue {
2016
+ /**
2017
+ * The container of the field.
2018
+ */
2019
+ Root: ElementType;
2020
+ /**
2021
+ * The label of the field.
2022
+ */
2023
+ Legend: ElementType;
2024
+ /**
2025
+ * The text that displays when the field is valid.
2026
+ */
2027
+ HelperText: ElementType;
2028
+ /**
2029
+ * The text that displays when the field is invalid.
2030
+ */
2031
+ ErrorText: ElementType;
2032
+ }
2033
+
2034
+ /**
2035
+ * This module contains the Fieldset component.
2036
+ * @module Fieldset
2037
+ */
2038
+ declare interface FieldsetProps extends FieldsetRootProps, FieldsetVariantProps {
2039
+ /**
2040
+ * The legend/title/label of the fieldset group.
2041
+ */
2042
+ legend?: string;
2043
+ /**
2044
+ * The description text for the fieldset group.
2045
+ */
2046
+ helperText?: string;
2047
+ /**
2048
+ * The error text for the fieldset group shown when the field is invalid.
2049
+ */
2050
+ errorText?: string;
2051
+ }
2052
+ export { FieldsetProps }
2053
+ export { FieldsetProps as FieldsetProps_alias_1 }
2054
+ export { FieldsetProps as FieldsetProps_alias_2 }
2055
+
2056
+ /**
2057
+ * This module contains all the primitives of the Fieldset component.
2058
+ * @module 'react/fieldset'
2059
+ */
2060
+ /**
2061
+ * The context & container for the Fieldset components.
2062
+ * @description [Fieldset Docs](https://cerberus.digitalu.design/react/fieldset)
2063
+ * @description [Primitive Docs](https://ark-ui.com/react/docs/components/fieldset)
2064
+ */
2065
+ declare function FieldsetRoot(props: FieldsetRootProps_2): JSX_2.Element;
2066
+ export { FieldsetRoot }
2067
+ export { FieldsetRoot as FieldsetRoot_alias_1 }
2068
+ export { FieldsetRoot as FieldsetRoot_alias_2 }
2069
+
2070
+ /**
2071
+ * The start indicator displays an indicator at the start of the Input.
2072
+ * @description [Field Docs](https://cerberus.digitalu.design/react/field)
2073
+ */
2074
+ declare function FieldStartIndicator(props: FieldIndicatorProps): JSX_2.Element | null;
2075
+ export { FieldStartIndicator }
2076
+ export { FieldStartIndicator as FieldStartIndicator_alias_1 }
2077
+ export { FieldStartIndicator as FieldStartIndicator_alias_2 }
2078
+
2079
+ /**
2080
+ * The invalid status indicator for the Field component.
2081
+ * @description [Field Docs](https://cerberus.digitalu.design/react/field)
2082
+ * @example
2083
+ * ```tsx
2084
+ * <FieldRoot>
2085
+ * <FieldStatusIndicator />
2086
+ * </FieldRoot>
2087
+ * ```
2088
+ */
2089
+ declare function FieldStatusIndicator(props: FieldStatusIndicatorProps): JSX_2.Element;
2090
+ export { FieldStatusIndicator }
2091
+ export { FieldStatusIndicator as FieldStatusIndicator_alias_1 }
2092
+ export { FieldStatusIndicator as FieldStatusIndicator_alias_2 }
2093
+
2094
+ declare interface FieldStatusIndicatorProps extends HTMLAttributes<HTMLSpanElement> {
2095
+ /**
2096
+ * The fallback content to display when the field is valid.
2097
+ */
2098
+ fallback?: ReactNode;
2099
+ }
2100
+ export { FieldStatusIndicatorProps }
2101
+ export { FieldStatusIndicatorProps as FieldStatusIndicatorProps_alias_1 }
2102
+ export { FieldStatusIndicatorProps as FieldStatusIndicatorProps_alias_2 }
2103
+
2104
+ /**
2105
+ * The textarea for the Field component.
2106
+ * @description [Field Docs](https://cerberus.digitalu.design/react/field)
2107
+ * @example
2108
+ * ```tsx
2109
+ * <FieldRoot>
2110
+ * <FieldTextarea />
2111
+ * </FieldRoot>
2112
+ * ```
2113
+ */
2114
+ declare function FieldTextarea(props: FieldTextareaProps): JSX_2.Element;
2115
+ export { FieldTextarea }
2116
+ export { FieldTextarea as FieldTextarea_alias_1 }
2117
+ export { FieldTextarea as FieldTextarea_alias_2 }
2118
+
2119
+ declare interface FileBaseStatusProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onClick'> {
2120
+ /**
2121
+ * A unique identifier for the file status. Required for accessibility.
2122
+ */
2123
+ id: string;
2124
+ /**
2125
+ * The name of the file.
2126
+ */
2127
+ file: string;
2128
+ /**
2129
+ * The percentage of the file that has been processed.
2130
+ */
2131
+ now: ProgressBarProps['now'];
2132
+ /**
2133
+ * The status of the file.
2134
+ */
2135
+ status: processStatus;
2136
+ /**
2137
+ * The action to perform on the file when a user clicks the
2138
+ * button located at the end of the status card.
2139
+ * @param status - The status of the file.
2140
+ * @param e - The event object.
2141
+ * @example
2142
+ * ```tsx
2143
+ * <FileStatus file="file.txt" now={0} status={processStatus.TODO} action={(status, e) => console.log(status, e)} />
2144
+ * ```
2145
+ * @default () => {}
2146
+ */
2147
+ onClick: (status: FileStatusActions, e: MouseEvent_2<HTMLButtonElement>) => void;
2148
+ }
2149
+ export { FileBaseStatusProps }
2150
+ export { FileBaseStatusProps as FileBaseStatusProps_alias_1 }
2151
+
2152
+ /**
2153
+ * A component that displays the status of a file during file processing.
2154
+ * @see https://cerberus.digitalu.design/react/file-uploader
2155
+ * @example
2156
+ * ```tsx
2157
+ * <FileStatus file="file.txt" now={0} status={processStatus.TODO} action={(status, e) => console.log(status, e)} />
2158
+ * ```
2159
+ */
2160
+ declare function FileStatus(props: FileStatusProps): JSX_2.Element;
2161
+ export { FileStatus }
2162
+ export { FileStatus as FileStatus_alias_1 }
2163
+
2164
+ /**
2165
+ * The actions that can be performed on a file.
2166
+ */
2167
+ declare type FileStatusActions = 'cancel' | 'retry' | 'delete';
2168
+ export { FileStatusActions }
2169
+ export { FileStatusActions as FileStatusActions_alias_1 }
2170
+
2171
+ /**
2172
+ * This module contains the FileStatus component.
2173
+ * @module
2174
+ */
2175
+ /**
2176
+ * The available values of the fileStatus helper Object.
2177
+ * @example
2178
+ * ```tsx
2179
+ * import { fileStatus } from '@cerberus/react'
2180
+ * processStatus.TODO // 'todo'
2181
+ * ```
2182
+ */
2183
+ declare type FileStatusKey = (typeof processStatus)[keyof typeof processStatus];
2184
+ export { FileStatusKey }
2185
+ export { FileStatusKey as FileStatusKey_alias_1 }
2186
+
2187
+ declare type FileStatusProps = FileBaseStatusProps & FileStatusVariantProps;
2188
+ export { FileStatusProps }
2189
+ export { FileStatusProps as FileStatusProps_alias_1 }
1678
2190
 
1679
2191
  /**
1680
2192
  * A component that allows the user to upload files.
@@ -1701,6 +2213,22 @@ declare interface FileUploaderProps extends InputHTMLAttributes<HTMLInputElement
1701
2213
  export { FileUploaderProps }
1702
2214
  export { FileUploaderProps as FileUploaderProps_alias_1 }
1703
2215
 
2216
+ /**
2217
+ * The For component is used to iterate over an array and render a list of
2218
+ * components or display a fallback when the array is empty.
2219
+ * Inspired by the `<For>` component from SolidJS.
2220
+ *
2221
+ * @example
2222
+ * ```tsx
2223
+ * <For each={['a', 'b', 'c']}>
2224
+ * {(item, index) => <div key={index}>{item}</div>}
2225
+ * </For>
2226
+ * ```
2227
+ */
2228
+ declare function For<T extends string | number | Record<string, unknown> | object | undefined>(props: ForProps<T>): ReactNode;
2229
+ export { For }
2230
+ export { For as For_alias_1 }
2231
+
1704
2232
  /**
1705
2233
  * Formats a date string to US Military format.
1706
2234
  * @param date The date string to format (i.e., '2024-01-01')
@@ -1746,6 +2274,23 @@ declare function formatNotifyCount(count: number): string;
1746
2274
  export { formatNotifyCount }
1747
2275
  export { formatNotifyCount as formatNotifyCount_alias_1 }
1748
2276
 
2277
+ declare interface ForProps<T> {
2278
+ /**
2279
+ * The array to iterate over
2280
+ */
2281
+ each: T[];
2282
+ /**
2283
+ * The fallback content to render when the array is empty
2284
+ */
2285
+ fallback?: ReactNode;
2286
+ /**
2287
+ * The render function to render each item in the array
2288
+ */
2289
+ children: (item: Exclude<T, undefined>, index: number) => ReactNode;
2290
+ }
2291
+ export { ForProps }
2292
+ export { ForProps as ForProps_alias_1 }
2293
+
1749
2294
  export { getClientRect }
1750
2295
 
1751
2296
  export { getFirstCollision }
@@ -1860,39 +2405,29 @@ export { IndeterminateProgressBarProps }
1860
2405
  export { IndeterminateProgressBarProps as IndeterminateProgressBarProps_alias_1 }
1861
2406
 
1862
2407
  /**
1863
- * A component that allows the user to input text. Must be wrapped in a Field
1864
- * component to keep track of the state for entire group of elements related to
1865
- * the field.
1866
- * @see https://cerberus.digitalu.design/react/input
2408
+ * A named export for the FieldInput component.
2409
+ * @description [Field Docs](https://cerberus.digitalu.design/react/field)
2410
+ * @example
2411
+ * ```tsx
2412
+ * import { Input } from '@cerberus/react'
2413
+ *
2414
+ * <Field
2415
+ * ids={{
2416
+ * control: 'email',
2417
+ * }}
2418
+ * label="Enter your email"
2419
+ * helperText="We'll never share your email with anyone else."
2420
+ * errorText="Email is required."
2421
+ * required
2422
+ * >
2423
+ * <Input type="email" />
2424
+ * </Field>
2425
+ * ```
1867
2426
  */
1868
- declare function Input(props: InputProps): JSX_2.Element;
2427
+ declare const Input: typeof FieldInput;
1869
2428
  export { Input }
1870
2429
  export { Input as Input_alias_1 }
1871
-
1872
- declare interface InputBaseProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'id' | 'size'> {
1873
- /**
1874
- * The id of the FieldMessage component used to describe the input. Required for accessibility.
1875
- */
1876
- describedBy?: string;
1877
- /**
1878
- * The unique identifier for the input element. Required for accessibility.
1879
- */
1880
- id: string;
1881
- /**
1882
- * An optional icon to display at the start of the input.
1883
- */
1884
- startIcon?: ReactNode;
1885
- /**
1886
- * An optional icon to display at the end of the input.
1887
- */
1888
- endIcon?: ReactNode;
1889
- }
1890
- export { InputBaseProps }
1891
- export { InputBaseProps as InputBaseProps_alias_1 }
1892
-
1893
- declare type InputProps = InputBaseProps & InputVariantProps;
1894
- export { InputProps }
1895
- export { InputProps as InputProps_alias_1 }
2430
+ export { Input as Input_alias_2 }
1896
2431
 
1897
2432
  export { KeyboardCode }
1898
2433
 
@@ -1907,16 +2442,7 @@ export { KeyboardSensorOptions }
1907
2442
  export { KeyboardSensorProps }
1908
2443
 
1909
2444
  /**
1910
- * A a11y compliant label component.
1911
- * @definition [ARIA Forms](https://www.a11yproject.com/checklist/#forms)
1912
- * @see https://cerberus.digitalu.design/react/label
1913
- * @example
1914
- * ```tsx
1915
- * <Field required>
1916
- * <Label htmlFor="search" hidden>Search everything</Label>
1917
- * <Input id="search" startIcon={Search} type="text" />
1918
- * </Field>
1919
- * ```
2445
+ * @deprecated Use FieldLabel or FieldParts.Label instead.
1920
2446
  */
1921
2447
  declare function Label(props: PropsWithChildren<LabelProps>): JSX_2.Element;
1922
2448
  export { Label }
@@ -1926,16 +2452,7 @@ export { Label as Label_alias_1 }
1926
2452
  * This module contains the Label component.
1927
2453
  * @module
1928
2454
  */
1929
- declare interface LabelBaseProps extends HTMLAttributes<HTMLLabelElement> {
1930
- /**
1931
- * The unique identifier for the input element. Required for accessibility.
1932
- */
1933
- htmlFor: string;
1934
- /**
1935
- * Used to hide the label from the UI while keeping it accessible to screen readers. Typically used for global search inputs that have no visible label.
1936
- */
1937
- hidden?: boolean;
1938
- }
2455
+ declare type LabelBaseProps = HTMLAttributes<HTMLLabelElement>;
1939
2456
  export { LabelBaseProps }
1940
2457
  export { LabelBaseProps as LabelBaseProps_alias_1 }
1941
2458
 
@@ -1989,6 +2506,10 @@ declare type LegendProps = HTMLAttributes<HTMLLegendElement> & LabelVariantProps
1989
2506
  export { LegendProps }
1990
2507
  export { LegendProps as LegendProps_alias_1 }
1991
2508
 
2509
+ export { ListCollection }
2510
+ export { ListCollection as ListCollection_alias_1 }
2511
+ export { ListCollection as ListCollection_alias_2 }
2512
+
1992
2513
  /**
1993
2514
  * Create a system configuration object to be used on the CerberusProvider.
1994
2515
  * @param options The system configuration options you want to customize.
@@ -2552,21 +3073,51 @@ declare interface NotifyOptions {
2552
3073
  export { NotifyOptions }
2553
3074
  export { NotifyOptions as NotifyOptions_alias_1 }
2554
3075
 
3076
+ declare function Option_2(props: OptionProps): JSX_2.Element;
3077
+ export { Option_2 as Option }
3078
+ export { Option_2 as Option_alias_1 }
3079
+ export { Option_2 as Option_alias_2 }
3080
+
3081
+ /**
3082
+ * The OptionGroup component is a group of options in the dropdown list.
3083
+ * @definition [Select docs](https://cerberus.digitalu.design/react/select)
3084
+ * @definition [ARK docs](https://ark-ui.com/react/docs/components/select)
3085
+ * @example
3086
+ * ```tsx
3087
+ * <OptionGroup>
3088
+ * <OptionGroupLabel>Greek gods</OptionGroupLabel>
3089
+ * ...
3090
+ * </OptionGroup>
3091
+ * ```
3092
+ */
3093
+ declare function OptionGroup(props: SelectItemGroupProps): JSX_2.Element;
3094
+ export { OptionGroup }
3095
+ export { OptionGroup as OptionGroup_alias_1 }
3096
+ export { OptionGroup as OptionGroup_alias_2 }
3097
+
2555
3098
  /**
2556
- * Option component
2557
- * props: OptionHTMLAttributes<HTMLOptionElement>
3099
+ * The OptionGroupLabel component is the label of the OptionGroup.
3100
+ * @definition [Select docs](https://cerberus.digitalu.design/react/select)
3101
+ * @definition [ARK docs](https://ark-ui.com/react/docs/components/select)
2558
3102
  * @example
2559
3103
  * ```tsx
2560
- * <Option value="one">Option 1</Option>
3104
+ * <OptionGroupLabel>Greek gods</OptionGroupLabel>
2561
3105
  * ```
2562
3106
  */
2563
- declare function Option_2(props: OptionProps): JSX_2.Element;
2564
- export { Option_2 as Option }
2565
- export { Option_2 as Option_alias_1 }
3107
+ declare function OptionGroupLabel(props: SelectItemGroupLabelProps): JSX_2.Element;
3108
+ export { OptionGroupLabel }
3109
+ export { OptionGroupLabel as OptionGroupLabel_alias_1 }
3110
+ export { OptionGroupLabel as OptionGroupLabel_alias_2 }
2566
3111
 
2567
- declare type OptionProps = OptionHTMLAttributes<HTMLOptionElement>;
3112
+ declare interface OptionProps extends SelectItemProps {
3113
+ /**
3114
+ * The CollectionListItem to be displayed in the dropdown list.
3115
+ */
3116
+ item: SelectCollectionItem;
3117
+ }
2568
3118
  export { OptionProps }
2569
3119
  export { OptionProps as OptionProps_alias_1 }
3120
+ export { OptionProps as OptionProps_alias_2 }
2570
3121
 
2571
3122
  export { Over }
2572
3123
 
@@ -2723,45 +3274,141 @@ export { PromptShowResult as PromptShowResult_alias_1 }
2723
3274
  * @memberof module:Field
2724
3275
  * @example
2725
3276
  * ```tsx
2726
- * <Field>
2727
- * <fieldset name="fruit">
2728
- * <Radio id="radio-1" name="fruit" value="1">
2729
- * Option 1
2730
- * </Radio>
2731
- * <Radio id="radio-2" name="fruit" value="2">
2732
- * Option 2
2733
- * </Radio>
2734
- * <Radio id="radio-3" name="fruit" value="3">
2735
- * Option 3
2736
- * </Radio>
2737
- * </fieldset>
2738
- * </Field>
3277
+ * <Radio value="option1">Option 1</Radio>
2739
3278
  * ```
2740
3279
  */
2741
- declare function Radio(props: PropsWithChildren<RadioProps>): JSX_2.Element;
3280
+ declare function Radio(props: RadioProps): JSX_2.Element;
2742
3281
  export { Radio }
2743
3282
  export { Radio as Radio_alias_1 }
3283
+ export { Radio as Radio_alias_2 }
3284
+
3285
+ declare const RadioGroup: typeof RadioGroupRoot;
3286
+ export { RadioGroup }
3287
+ export { RadioGroup as RadioGroup_alias_1 }
3288
+ export { RadioGroup as RadioGroup_alias_2 }
3289
+
3290
+ /**
3291
+ * The RadioGroupIndicator component is used to indicate the selected radio
3292
+ * button in a group.
3293
+ */
3294
+ declare function RadioGroupIndicator(props: RadioGroupIndicatorProps): JSX_2.Element;
3295
+ export { RadioGroupIndicator }
3296
+ export { RadioGroupIndicator as RadioGroupIndicator_alias_1 }
3297
+ export { RadioGroupIndicator as RadioGroupIndicator_alias_2 }
3298
+
3299
+ /**
3300
+ * The RadioGroupItem component is used to render a single radio button in a
3301
+ * group.
3302
+ */
3303
+ declare function RadioGroupItem(props: RadioGroupItemProps): JSX_2.Element;
3304
+ export { RadioGroupItem }
3305
+ export { RadioGroupItem as RadioGroupItem_alias_1 }
3306
+ export { RadioGroupItem as RadioGroupItem_alias_2 }
3307
+
3308
+ /**
3309
+ * The RadioGroupItemControl component is used to render the control for a
3310
+ * single radio button in a group.
3311
+ */
3312
+ declare function RadioGroupItemControl(props: RadioGroupItemControlProps & RadioGroupVariantProps): JSX_2.Element;
3313
+ export { RadioGroupItemControl }
3314
+ export { RadioGroupItemControl as RadioGroupItemControl_alias_1 }
3315
+ export { RadioGroupItemControl as RadioGroupItemControl_alias_2 }
3316
+
3317
+ /**
3318
+ * The RadioGroupItemHiddenInput component is used to render the hidden input
3319
+ * for a single radio button in a group.
3320
+ */
3321
+ declare function RadioGroupItemHiddenInput(props: RadioGroupItemHiddenInputProps): JSX_2.Element;
3322
+ export { RadioGroupItemHiddenInput }
3323
+ export { RadioGroupItemHiddenInput as RadioGroupItemHiddenInput_alias_1 }
3324
+ export { RadioGroupItemHiddenInput as RadioGroupItemHiddenInput_alias_2 }
3325
+
3326
+ /**
3327
+ * The RadioGroupItemText component is used to render the text label for a
3328
+ * single radio button in a group.
3329
+ */
3330
+ declare function RadioGroupItemText(props: RadioGroupItemTextProps & RadioGroupVariantProps): JSX_2.Element;
3331
+ export { RadioGroupItemText }
3332
+ export { RadioGroupItemText as RadioGroupItemText_alias_1 }
3333
+ export { RadioGroupItemText as RadioGroupItemText_alias_2 }
2744
3334
 
2745
- declare interface RadioBaseProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
3335
+ /**
3336
+ * The RadioGroupLabel component is used to label a group of radio buttons.
3337
+ */
3338
+ declare function RadioGroupLabel(props: RadioGroupLabelProps): JSX_2.Element;
3339
+ export { RadioGroupLabel }
3340
+ export { RadioGroupLabel as RadioGroupLabel_alias_1 }
3341
+ export { RadioGroupLabel as RadioGroupLabel_alias_2 }
3342
+
3343
+ /**
3344
+ * This module contains the Radio primitives
3345
+ * @module 'react/radio'
3346
+ */
3347
+ /**
3348
+ * The RadioGroupRoot component is used to group radio buttons together.
3349
+ */
3350
+ declare function RadioGroupRoot(props: RadioGroupRootProps & RadioGroupVariantProps): JSX_2.Element;
3351
+ export { RadioGroupRoot }
3352
+ export { RadioGroupRoot as RadioGroupRoot_alias_1 }
3353
+ export { RadioGroupRoot as RadioGroupRoot_alias_2 }
3354
+
3355
+ /**
3356
+ * An Object containing the parts of the Radio component. For users that
3357
+ * prefer Object component syntax.
3358
+ *
3359
+ * @remarks
3360
+ *
3361
+ * When using object component syntax, you import the RadioParts object and
3362
+ * the entire family of components vs. only what you use.
3363
+ */
3364
+ declare const RadioParts: RadioPartsValue;
3365
+ export { RadioParts }
3366
+ export { RadioParts as RadioParts_alias_1 }
3367
+ export { RadioParts as RadioParts_alias_2 }
3368
+
3369
+ /**
3370
+ * This module contains the parts of the Radio parts.
3371
+ * @module 'radio/parts'
3372
+ */
3373
+ declare interface RadioPartsValue {
2746
3374
  /**
2747
- * A unique identifier for the radio button. Required for accessibility.
3375
+ * The container of the field.
2748
3376
  */
2749
- id: string;
3377
+ Root: ElementType;
3378
+ /**
3379
+ * The label of the field.
3380
+ */
3381
+ Label: ElementType;
3382
+ /**
3383
+ * The indicator that appears when a radio is checked.
3384
+ */
3385
+ Indicator: ElementType;
3386
+ /**
3387
+ * An individual radio item of the field.
3388
+ */
3389
+ Item: ElementType;
3390
+ /**
3391
+ * The text that labels a single radio of the field.
3392
+ */
3393
+ ItemText: ElementType;
3394
+ /**
3395
+ * The visual radio control of the field.
3396
+ */
3397
+ ItemControl: ElementType;
3398
+ /**
3399
+ * The native input for a radio item in the field.
3400
+ */
3401
+ ItemHiddenInput: ElementType;
2750
3402
  }
2751
- export { RadioBaseProps }
2752
- export { RadioBaseProps as RadioBaseProps_alias_1 }
2753
-
2754
- declare type RadioProps = RadioBaseProps & RadioRecipe;
2755
- export { RadioProps }
2756
- export { RadioProps as RadioProps_alias_1 }
2757
3403
 
2758
3404
  /**
2759
3405
  * This module contains the Radio component.
2760
3406
  * @module
2761
3407
  */
2762
- declare type RadioRecipe = RecipeVariantProps<typeof radio>;
2763
- export { RadioRecipe }
2764
- export { RadioRecipe as RadioRecipe_alias_1 }
3408
+ declare type RadioProps = RadioGroupVariantProps & RadioGroupItemProps_2;
3409
+ export { RadioProps }
3410
+ export { RadioProps as RadioProps_alias_1 }
3411
+ export { RadioProps as RadioProps_alias_2 }
2765
3412
 
2766
3413
  /**
2767
3414
  * The input component for the DatePicker that uses ranges.
@@ -2830,41 +3477,286 @@ export { RootColorsResult as RootColorsResult_alias_1 }
2830
3477
  export { ScreenReaderInstructions }
2831
3478
 
2832
3479
  /**
2833
- * Used to allow users to select a single option from a list of options.
2834
- * @see https://cerberus.digitalu.design/react/select
2835
- * @memberof module:Field
3480
+ * The Select component is a dropdown list that allows users to select an
3481
+ * option from a list.
3482
+ * @definition [Select docs](https://cerberus.digitalu.design/react/select)
3483
+ * @definition [ARK docs](https://ark-ui.com/react/docs/components/select)
2836
3484
  * @example
2837
3485
  * ```tsx
2838
- * <Field>
2839
- * <Select describedby="help:fruit" id="fruit">
2840
- * <Option value="">Choose option</Option>
2841
- * <Option value="one">Option 1</Option>
2842
- * <Option value="two">Option 2</Option>
2843
- * <Option value="three">Option 3</Option>
2844
- * </Select>
2845
- * </Field>
2846
- * ```
3486
+ * import { Select, Option, createListCollection } from '@cerberus-design/react'
3487
+ *
3488
+ * export function SelectBasicPreview() {
3489
+ * const collection = createListCollection({
3490
+ * items: [
3491
+ * { label: 'Hades', value: 'hades' },
3492
+ * { label: 'Persephone', value: 'persephone' },
3493
+ * { label: 'Zeus', value: 'zeus', disabled: true },
3494
+ * ]
3495
+ * })
3496
+ *
3497
+ * return (
3498
+ * <Select
3499
+ * collection={collection}
3500
+ * label="Select Relative"
3501
+ * placeholder="Choose option"
3502
+ * >
3503
+ * {collection.items.map((item) => (
3504
+ * <Option key={item.value} item={item} />
3505
+ * ))}
3506
+ * </Select>
3507
+ * )
3508
+ * }
2847
3509
  */
2848
3510
  declare function Select(props: SelectProps): JSX_2.Element;
2849
3511
  export { Select }
2850
3512
  export { Select as Select_alias_1 }
3513
+ export { Select as Select_alias_2 }
2851
3514
 
2852
3515
  /**
2853
- * This module contains the select components.
2854
- * @module
3516
+ * The trigger that clears the selected value.
2855
3517
  */
2856
- declare type SelectProps = Omit<SelectHTMLAttributes<HTMLSelectElement>, 'size'> & SelectVariantProps & {
3518
+ declare function SelectClearTrigger(props: SelectClearTriggerProps): JSX_2.Element;
3519
+ export { SelectClearTrigger }
3520
+ export { SelectClearTrigger as SelectClearTrigger_alias_1 }
3521
+ export { SelectClearTrigger as SelectClearTrigger_alias_2 }
3522
+
3523
+ declare interface SelectCollection {
2857
3524
  /**
2858
- * The unique id of the select element. Required for accessibility.
3525
+ * The items to be displayed in the dropdown list.
2859
3526
  */
2860
- id: string;
3527
+ items: SelectCollectionItem[];
3528
+ }
3529
+ export { SelectCollection }
3530
+ export { SelectCollection as SelectCollection_alias_1 }
3531
+ export { SelectCollection as SelectCollection_alias_2 }
3532
+
3533
+ /**
3534
+ * This module contains the Select components.
3535
+ * @module 'react/select'
3536
+ */
3537
+ declare interface SelectCollectionItem {
2861
3538
  /**
2862
- * The id of the FieldMessage that describes the select element.
3539
+ * What is displayed in the dropdown list.
2863
3540
  */
2864
- describedBy?: string;
2865
- };
3541
+ label: string;
3542
+ /**
3543
+ * The value of the selected item used in the form.
3544
+ */
3545
+ value: string;
3546
+ /**
3547
+ * If the item is disabled.
3548
+ */
3549
+ disabled?: boolean;
3550
+ }
3551
+ export { SelectCollectionItem }
3552
+ export { SelectCollectionItem as SelectCollectionItem_alias_1 }
3553
+ export { SelectCollectionItem as SelectCollectionItem_alias_2 }
3554
+
3555
+ /**
3556
+ * The content of the dropdown (i.e. the container itself).
3557
+ */
3558
+ declare function SelectContent(props: SelectContentProps & SelectVariantProps): JSX_2.Element;
3559
+ export { SelectContent }
3560
+ export { SelectContent as SelectContent_alias_1 }
3561
+ export { SelectContent as SelectContent_alias_2 }
3562
+
3563
+ /**
3564
+ * The control that wraps the select trigger.
3565
+ */
3566
+ declare function SelectControl(props: SelectControlProps): JSX_2.Element;
3567
+ export { SelectControl }
3568
+ export { SelectControl as SelectControl_alias_1 }
3569
+ export { SelectControl as SelectControl_alias_2 }
3570
+
3571
+ /**
3572
+ * The native input for a select item.
3573
+ */
3574
+ declare function SelectHiddenSelect(props: SelectHiddenSelectProps): JSX_2.Element;
3575
+ export { SelectHiddenSelect }
3576
+ export { SelectHiddenSelect as SelectHiddenSelect_alias_1 }
3577
+ export { SelectHiddenSelect as SelectHiddenSelect_alias_2 }
3578
+
3579
+ /**
3580
+ * The indicator that appears in the trigger.
3581
+ */
3582
+ declare function SelectIndicator(props: SelectIndicatorProps): JSX_2.Element;
3583
+ export { SelectIndicator }
3584
+ export { SelectIndicator as SelectIndicator_alias_1 }
3585
+ export { SelectIndicator as SelectIndicator_alias_2 }
3586
+
3587
+ /**
3588
+ * The container for an item in the select content.
3589
+ */
3590
+ declare function SelectItem(props: SelectItemProps): JSX_2.Element;
3591
+ export { SelectItem }
3592
+ export { SelectItem as SelectItem_alias_1 }
3593
+ export { SelectItem as SelectItem_alias_2 }
3594
+
3595
+ /**
3596
+ * The container for a group of item options.
3597
+ */
3598
+ declare function SelectItemGroup(props: SelectItemGroupProps): JSX_2.Element;
3599
+ export { SelectItemGroup }
3600
+ export { SelectItemGroup as SelectItemGroup_alias_1 }
3601
+ export { SelectItemGroup as SelectItemGroup_alias_2 }
3602
+
3603
+ /**
3604
+ * The label for a group of item options.
3605
+ */
3606
+ declare function SelectItemGroupLabel(props: SelectItemGroupLabelProps): JSX_2.Element;
3607
+ export { SelectItemGroupLabel }
3608
+ export { SelectItemGroupLabel as SelectItemGroupLabel_alias_1 }
3609
+ export { SelectItemGroupLabel as SelectItemGroupLabel_alias_2 }
3610
+
3611
+ /**
3612
+ * The indicator for an item option shown when it is selected.
3613
+ */
3614
+ declare function SelectItemIndicator(props: SelectItemIndicatorProps): JSX_2.Element;
3615
+ export { SelectItemIndicator }
3616
+ export { SelectItemIndicator as SelectItemIndicator_alias_1 }
3617
+ export { SelectItemIndicator as SelectItemIndicator_alias_2 }
3618
+
3619
+ /**
3620
+ * The text for an item option.
3621
+ */
3622
+ declare function SelectItemText(props: SelectItemTextProps): JSX_2.Element;
3623
+ export { SelectItemText }
3624
+ export { SelectItemText as SelectItemText_alias_1 }
3625
+ export { SelectItemText as SelectItemText_alias_2 }
3626
+
3627
+ /**
3628
+ * The label that appears above the select input.
3629
+ */
3630
+ declare function SelectLabel(props: SelectLabelProps): JSX_2.Element;
3631
+ export { SelectLabel }
3632
+ export { SelectLabel as SelectLabel_alias_1 }
3633
+ export { SelectLabel as SelectLabel_alias_2 }
3634
+
3635
+ /**
3636
+ * An Object containing the parts of the Radio component. For users that
3637
+ * prefer Object component syntax.
3638
+ *
3639
+ * @remarks
3640
+ *
3641
+ * When using object component syntax, you import the SelectParts object and
3642
+ * the entire family of components vs. only what you use.
3643
+ */
3644
+ declare const SelectParts: SelectPartsValue;
3645
+ export { SelectParts }
3646
+ export { SelectParts as SelectParts_alias_1 }
3647
+ export { SelectParts as SelectParts_alias_2 }
3648
+
3649
+ /**
3650
+ * This module contains the parts of the Select parts.
3651
+ * @module 'select/parts'
3652
+ */
3653
+ declare interface SelectPartsValue {
3654
+ /**
3655
+ * The context provider for the Select component.
3656
+ */
3657
+ Root: ElementType;
3658
+ /**
3659
+ * The label that appears above the select input.
3660
+ */
3661
+ Label: ElementType;
3662
+ /**
3663
+ * The control that wraps the select trigger.
3664
+ */
3665
+ Control: ElementType;
3666
+ /**
3667
+ * The trigger that opens the dropdown.
3668
+ */
3669
+ Trigger: ElementType;
3670
+ /**
3671
+ * The trigger to clear the select input.
3672
+ */
3673
+ ClearTrigger: ElementType;
3674
+ /**
3675
+ * The text that appears in the trigger.
3676
+ */
3677
+ ValueText: ElementType;
3678
+ /**
3679
+ * The indicator that appears in the trigger.
3680
+ */
3681
+ Indicator: ElementType;
3682
+ /**
3683
+ * The positioner that wraps the content.
3684
+ */
3685
+ Positioner: ElementType;
3686
+ /**
3687
+ * The content of the select component.
3688
+ */
3689
+ Content: ElementType;
3690
+ /**
3691
+ * A group of items in the select component.
3692
+ */
3693
+ ItemGroup: ElementType;
3694
+ /**
3695
+ * The label for a group of items in the select component.
3696
+ */
3697
+ ItemGroupLabel: ElementType;
3698
+ /**
3699
+ * An individual item in the select component.
3700
+ */
3701
+ Item: ElementType;
3702
+ /**
3703
+ * The text that labels a single radio of the field.
3704
+ */
3705
+ ItemText: ElementType;
3706
+ /**
3707
+ * The indicator that appears when the item has been selected.
3708
+ */
3709
+ ItemIndicator: ElementType;
3710
+ /**
3711
+ * The native select for use within a field.
3712
+ */
3713
+ HiddenSelect: ElementType;
3714
+ }
3715
+
3716
+ /**
3717
+ * The positioner that contains the dropdown.
3718
+ */
3719
+ declare function SelectPositioner(props: SelectPositionerProps): JSX_2.Element;
3720
+ export { SelectPositioner }
3721
+ export { SelectPositioner as SelectPositioner_alias_1 }
3722
+ export { SelectPositioner as SelectPositioner_alias_2 }
3723
+
3724
+ declare type SelectProps = SelectRootProps<SelectCollectionItem> & BaseSelectProps & SelectVariantProps;
2866
3725
  export { SelectProps }
2867
3726
  export { SelectProps as SelectProps_alias_1 }
3727
+ export { SelectProps as SelectProps_alias_2 }
3728
+
3729
+ /**
3730
+ * This module contains the Select primitives
3731
+ * @module 'react/select'
3732
+ */
3733
+ /**
3734
+ * The SelectRoot component is the context provider for the Select component.
3735
+ */
3736
+ declare function SelectRoot(props: SelectRootProps<SelectCollectionItem> & SelectVariantProps): JSX_2.Element;
3737
+ export { SelectRoot }
3738
+ export { SelectRoot as SelectRoot_alias_1 }
3739
+ export { SelectRoot as SelectRoot_alias_2 }
3740
+
3741
+ /**
3742
+ * The trigger that opens the dropdown.
3743
+ */
3744
+ declare function SelectTrigger(props: SelectTriggerProps): JSX_2.Element;
3745
+ export { SelectTrigger }
3746
+ export { SelectTrigger as SelectTrigger_alias_1 }
3747
+ export { SelectTrigger as SelectTrigger_alias_2 }
3748
+
3749
+ export { SelectValueChangeDetails }
3750
+ export { SelectValueChangeDetails as SelectValueChangeDetails_alias_1 }
3751
+ export { SelectValueChangeDetails as SelectValueChangeDetails_alias_2 }
3752
+
3753
+ /**
3754
+ * The text that appears in the trigger.
3755
+ */
3756
+ declare function SelectValueText(props: SelectValueTextProps): JSX_2.Element;
3757
+ export { SelectValueText }
3758
+ export { SelectValueText as SelectValueText_alias_1 }
3759
+ export { SelectValueText as SelectValueText_alias_2 }
2868
3760
 
2869
3761
  export { Sensor }
2870
3762
 
@@ -3047,6 +3939,18 @@ declare type SpinnerProps = SVGProps<SVGSVGElement> & {
3047
3939
  export { SpinnerProps }
3048
3940
  export { SpinnerProps as SpinnerProps_alias_1 }
3049
3941
 
3942
+ /**
3943
+ * Splits the properties of an object into multiple groups based on lists of keys.
3944
+ * @param props - The object to split.
3945
+ * @param keyGroups - The lists of keys to include in each group.
3946
+ * @returns An array of objects: each containing the properties specified in the corresponding key group, and the last object containing the remaining keys.
3947
+ */
3948
+ declare function splitProps<T extends object>(props: T, ...keyGroups: (keyof T)[][]): {
3949
+ [K in keyof T]?: T[K];
3950
+ }[];
3951
+ export { splitProps }
3952
+ export { splitProps as splitProps_alias_1 }
3953
+
3050
3954
  /**
3051
3955
  * This module contains the tag component.
3052
3956
  * @module
@@ -3061,6 +3965,109 @@ declare type StaticTagProps = HTMLAttributes<HTMLSpanElement> & TagVariantProps
3061
3965
  export { StaticTagProps }
3062
3966
  export { StaticTagProps as StaticTagProps_alias_1 }
3063
3967
 
3968
+ /**
3969
+ * The Switch component is a and abstraction of the primitives that displays a
3970
+ * controlled Switch with a label.
3971
+ * @description [Cerberus Docs] https://cerberus.digitalu.design/react/switch
3972
+ * @description [Ark Docs] https://ark-ui.com/docs/components/switch
3973
+ */
3974
+ declare function Switch(props: SwitchProps): JSX_2.Element;
3975
+ export { Switch }
3976
+ export { Switch as Switch_alias_1 }
3977
+ export { Switch as Switch_alias_2 }
3978
+
3979
+ /**
3980
+ * The SwitchControl component is the visual input for the Switch.
3981
+ */
3982
+ declare function SwitchControl(props: SwitchControlProps): JSX_2.Element;
3983
+ export { SwitchControl }
3984
+ export { SwitchControl as SwitchControl_alias_1 }
3985
+ export { SwitchControl as SwitchControl_alias_2 }
3986
+
3987
+ /**
3988
+ * The SwitchHiddenInput component is the native input for the Switch.
3989
+ */
3990
+ declare const SwitchHiddenInput: ForwardRefExoticComponent<Switch_2.HiddenInputProps & RefAttributes<HTMLInputElement>>;
3991
+ export { SwitchHiddenInput }
3992
+ export { SwitchHiddenInput as SwitchHiddenInput_alias_1 }
3993
+ export { SwitchHiddenInput as SwitchHiddenInput_alias_2 }
3994
+
3995
+ export declare function SwitchIndicator(): JSX_2.Element;
3996
+
3997
+ /**
3998
+ * The SwitchLabel component is the label for the Switch.
3999
+ */
4000
+ declare function SwitchLabel(props: SwitchLabelProps): JSX_2.Element;
4001
+ export { SwitchLabel }
4002
+ export { SwitchLabel as SwitchLabel_alias_1 }
4003
+ export { SwitchLabel as SwitchLabel_alias_2 }
4004
+
4005
+ /**
4006
+ * An Object containing the parts of the Radio component. For users that
4007
+ * prefer Object component syntax.
4008
+ *
4009
+ * @remarks
4010
+ *
4011
+ * When using object component syntax, you import the SwitchParts object and
4012
+ * the entire family of components vs. only what you use.
4013
+ */
4014
+ declare const SwitchParts: SwitchPartsValue;
4015
+ export { SwitchParts }
4016
+ export { SwitchParts as SwitchParts_alias_1 }
4017
+ export { SwitchParts as SwitchParts_alias_2 }
4018
+
4019
+ /**
4020
+ * This module contains the parts of the Radio parts.
4021
+ * @module 'radio/parts'
4022
+ */
4023
+ declare interface SwitchPartsValue {
4024
+ /**
4025
+ * The container of the field.
4026
+ */
4027
+ Root: ElementType;
4028
+ /**
4029
+ * The label of the field.
4030
+ */
4031
+ Label: ElementType;
4032
+ /**
4033
+ * The visual input of the switch.
4034
+ */
4035
+ Control: ElementType;
4036
+ /**
4037
+ * The thumb item of the switch.
4038
+ */
4039
+ Thumb: ElementType;
4040
+ /**
4041
+ * The native input for the switch.
4042
+ */
4043
+ HiddenInput: ElementType;
4044
+ }
4045
+
4046
+ declare type SwitchProps = SwitchRootProps & SwitchRecipeVariantProps;
4047
+ export { SwitchProps }
4048
+ export { SwitchProps as SwitchProps_alias_1 }
4049
+ export { SwitchProps as SwitchProps_alias_2 }
4050
+
4051
+ /**
4052
+ * This module contains the Switch primitives
4053
+ * @module 'react/switch'
4054
+ */
4055
+ /**
4056
+ * The SwitchRoot component is the context provider for the Switch components.
4057
+ */
4058
+ declare function SwitchRoot(props: SwitchRootProps & SwitchRecipeVariantProps): JSX_2.Element;
4059
+ export { SwitchRoot }
4060
+ export { SwitchRoot as SwitchRoot_alias_1 }
4061
+ export { SwitchRoot as SwitchRoot_alias_2 }
4062
+
4063
+ /**
4064
+ * The SwitchThumb component is the thumb for the Switch.
4065
+ */
4066
+ declare function SwitchThumb(props: SwitchThumbProps): JSX_2.Element;
4067
+ export { SwitchThumb }
4068
+ export { SwitchThumb as SwitchThumb_alias_1 }
4069
+ export { SwitchThumb as SwitchThumb_alias_2 }
4070
+
3064
4071
  /**
3065
4072
  * This module contains the types for the Cerberus React configuration.
3066
4073
  * @module config.types
@@ -3331,34 +4338,10 @@ declare function Text_2(props: PropsWithChildren<TextProps>): JSX_2.Element;
3331
4338
  export { Text_2 as Text }
3332
4339
  export { Text_2 as Text_alias_1 }
3333
4340
 
3334
- /**
3335
- * A component that allows the user to input large blocks of text.
3336
- * @see https://cerberus.digitalu.design/react/textarea
3337
- */
3338
- declare function Textarea(props: TextareaProps): JSX.Element;
4341
+ declare const Textarea: typeof FieldTextarea;
3339
4342
  export { Textarea }
3340
4343
  export { Textarea as Textarea_alias_1 }
3341
-
3342
- /**
3343
- * This module contains the Textarea component.
3344
- * @module
3345
- */
3346
- declare interface TextareaBaseProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'id'> {
3347
- /**
3348
- * The ID of the FieldMessage that describes the textarea.
3349
- */
3350
- describedBy?: string;
3351
- /**
3352
- * The unique id of the textarea.
3353
- */
3354
- id: string;
3355
- }
3356
- export { TextareaBaseProps }
3357
- export { TextareaBaseProps as TextareaBaseProps_alias_1 }
3358
-
3359
- declare type TextareaProps = InputVariantProps & TextareaBaseProps;
3360
- export { TextareaProps }
3361
- export { TextareaProps as TextareaProps_alias_1 }
4344
+ export { Textarea as Textarea_alias_2 }
3362
4345
 
3363
4346
  declare type TextElements = 'p' | 'strong' | 'em' | 'small' | 'span';
3364
4347
  export { TextElements }
@@ -3491,52 +4474,6 @@ declare type ThProps = ThBaseProps & ThVariantProps;
3491
4474
  export { ThProps }
3492
4475
  export { ThProps as ThProps_alias_1 }
3493
4476
 
3494
- /**
3495
- * The Toggle component is used to switch between two states. Optionally
3496
- * combine with the `useToggle` hook.
3497
- * @see https://cerberus.digitalu.design/react/toggle
3498
- * @example
3499
- * ```tsx
3500
- * const { checked, handleChange } = useToggle({ checked: 'toggle' })
3501
- *
3502
- * <Hstack justify="space-between" w="full">
3503
- * <Field>
3504
- * <Label htmlFor="toggle">Show notifications</Label>
3505
- * <Toggle
3506
- * checked={checked === 'toggle'}
3507
- * id="toggle"
3508
- * onChange={handleChange}
3509
- * value="toggle"
3510
- * />
3511
- * </Field>
3512
- * </Hstack>
3513
- * ```
3514
- */
3515
- declare function Toggle(props: ToggleProps): JSX_2.Element;
3516
- export { Toggle }
3517
- export { Toggle as Toggle_alias_1 }
3518
-
3519
- /**
3520
- * This module provides a toggle component.
3521
- * @module
3522
- */
3523
- declare type ToggleBase = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'id' | 'value'> & {
3524
- /**
3525
- * The FieldMessage providing context for the Toggle.
3526
- */
3527
- describedBy?: string;
3528
- /**
3529
- * A unique identifier for the Toggle. Required for accessibility.
3530
- */
3531
- id: string;
3532
- /**
3533
- * The value of the Toggle.
3534
- */
3535
- value: string;
3536
- };
3537
- export { ToggleBase }
3538
- export { ToggleBase as ToggleBase_alias_1 }
3539
-
3540
4477
  declare interface ToggleHookReturn {
3541
4478
  /**
3542
4479
  * The checked state.
@@ -3550,9 +4487,51 @@ declare interface ToggleHookReturn {
3550
4487
  export { ToggleHookReturn }
3551
4488
  export { ToggleHookReturn as ToggleHookReturn_alias_1 }
3552
4489
 
3553
- declare type ToggleProps = ToggleBase & ToggleVariantProps;
3554
- export { ToggleProps }
3555
- export { ToggleProps as ToggleProps_alias_1 }
4490
+ /**
4491
+ * The ToggleIndicator is used to render the indicator of the Toggle component
4492
+ * based on the pressed state.
4493
+ */
4494
+ declare const ToggleIndicator: ForwardRefExoticComponent<Toggle.IndicatorProps & RefAttributes<HTMLDivElement>>;
4495
+ export { ToggleIndicator }
4496
+ export { ToggleIndicator as ToggleIndicator_alias_1 }
4497
+ export { ToggleIndicator as ToggleIndicator_alias_2 }
4498
+
4499
+ /**
4500
+ * An Object containing the parts of the Radio component. For users that
4501
+ * prefer Object component syntax.
4502
+ *
4503
+ * @remarks
4504
+ *
4505
+ * When using object component syntax, you import the RadioParts object and
4506
+ * the entire family of components vs. only what you use.
4507
+ */
4508
+ declare const ToggleParts: TogglePartsValue;
4509
+ export { ToggleParts }
4510
+ export { ToggleParts as ToggleParts_alias_1 }
4511
+ export { ToggleParts as ToggleParts_alias_2 }
4512
+
4513
+ /**
4514
+ * This module contains the parts of the Toggle parts.
4515
+ * @module 'toggle/parts'
4516
+ */
4517
+ declare interface TogglePartsValue {
4518
+ /**
4519
+ * The container of the toggle.
4520
+ */
4521
+ Root: ElementType;
4522
+ /**
4523
+ * The indicator that appears when a toggle is pressed.
4524
+ */
4525
+ Indicator: ElementType;
4526
+ }
4527
+
4528
+ /**
4529
+ * The ToggleRoot is used to manage the state of the Toggle component.
4530
+ */
4531
+ declare const ToggleRoot: ForwardRefExoticComponent<Toggle.RootProps & RefAttributes<HTMLButtonElement>>;
4532
+ export { ToggleRoot }
4533
+ export { ToggleRoot as ToggleRoot_alias_1 }
4534
+ export { ToggleRoot as ToggleRoot_alias_2 }
3556
4535
 
3557
4536
  /**
3558
4537
  * The Tooltip component is used to provide additional information about an element when it is hovered over.
@@ -3647,13 +4626,7 @@ export { useCTAModal }
3647
4626
  export { useCTAModal as useCTAModal_alias_1 }
3648
4627
 
3649
4628
  /**
3650
- * A hook for formatting and validating date inputs. The date format defaults to US Military format.
3651
- * @example
3652
- * ```tsx
3653
- * const MyComponent = () => {
3654
- * const date = useDate({ initialValue: '01 JAN 2024' })
3655
- * return <input onChange={date.onChange} type="text" value={date.value} />
3656
- * }
4629
+ * @deprecated use the DatePicker family instead
3657
4630
  */
3658
4631
  declare function useDate(options?: UseDateOptions): UseDateReturn;
3659
4632
  export { useDate }
@@ -3719,9 +4692,7 @@ export { useFeatureFlags as useFeatureFlags_alias_1 }
3719
4692
  * Used to access the field context.
3720
4693
  * @returns The field context.
3721
4694
  */
3722
- declare function useFieldContext(): FieldContextValue;
3723
- export { useFieldContext }
3724
- export { useFieldContext as useFieldContext_alias_1 }
4695
+ export declare function useFieldContext(): FieldContextValue;
3725
4696
 
3726
4697
  /**
3727
4698
  * Provides a hook for using a custom modal via the native dialog element
@@ -3855,9 +4826,7 @@ export { UseThemeOptions }
3855
4826
  export { UseThemeOptions as UseThemeOptions_alias_1 }
3856
4827
 
3857
4828
  /**
3858
- * Provides a hook for using a toggle.
3859
- * @see https://cerberus.digitalu.design/react/use-toggle
3860
- * @memberof module:Toggle
4829
+ * @deprecated Will be removed in v1. Use ToggleParts instead.
3861
4830
  */
3862
4831
  declare function useToggle(options?: UseToggleOptions): ToggleHookReturn;
3863
4832
  export { useToggle }