@chassis-ui/react 0.1.3 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (350) hide show
  1. package/dist/accordion.d.ts +2 -0
  2. package/dist/accordion.js +1 -0
  3. package/dist/autocomplete.d.ts +2 -0
  4. package/dist/autocomplete.js +1 -0
  5. package/dist/avatar.d.ts +2 -0
  6. package/dist/avatar.js +1 -0
  7. package/dist/badge.d.ts +2 -0
  8. package/dist/badge.js +1 -0
  9. package/dist/breadcrumb.d.ts +2 -0
  10. package/dist/breadcrumb.js +1 -0
  11. package/dist/button-group.d.ts +2 -0
  12. package/dist/button-group.js +1 -0
  13. package/dist/button.d.ts +3 -0
  14. package/dist/button.js +1 -0
  15. package/dist/calendar.d.ts +3 -0
  16. package/dist/calendar.js +1 -0
  17. package/dist/card.d.ts +2 -0
  18. package/dist/card.js +1 -0
  19. package/dist/carousel.d.ts +2 -0
  20. package/dist/carousel.js +1 -0
  21. package/dist/checkbox.d.ts +3 -0
  22. package/dist/checkbox.js +1 -0
  23. package/dist/chip-input.d.ts +2 -0
  24. package/dist/chip-input.js +1 -0
  25. package/dist/chip.d.ts +2 -0
  26. package/dist/chip.js +1 -0
  27. package/dist/chunks/Button-Cptd4Yk7.d.ts +65 -0
  28. package/dist/chunks/Button-I0aUy5h-.js +1 -0
  29. package/dist/chunks/Chip-D0Cw0mAr.js +1 -0
  30. package/dist/chunks/CloseButton-DJM7FRKh.js +1 -0
  31. package/dist/chunks/ComboboxItem-C9TpoJOI.d.ts +54 -0
  32. package/dist/chunks/ComboboxListBox-BhO8uRNg.js +1 -0
  33. package/dist/chunks/FormHelp-Be2PQL0y.js +1 -0
  34. package/dist/chunks/FormLabel-CYcQiFUI.js +1 -0
  35. package/dist/chunks/Icon-BIwkD-kx.js +1 -0
  36. package/dist/chunks/Icon-CioraWLF.d.ts +36 -0
  37. package/dist/chunks/Link-B0Y1xgYi.d.ts +69 -0
  38. package/dist/chunks/Link-Cq7FNWpm.js +1 -0
  39. package/dist/chunks/MenuItemDef-D0VDtYIQ.d.ts +82 -0
  40. package/dist/chunks/RangeCalendar-COnSfurr.js +1 -0
  41. package/dist/chunks/accordion-okRicuG5.js +1 -0
  42. package/dist/chunks/autocomplete-B0xTc6kg.js +1 -0
  43. package/dist/chunks/avatar-Bjm0DlPO.js +1 -0
  44. package/dist/chunks/badge-Bj8mf8lu.js +1 -0
  45. package/dist/chunks/breadcrumb-DDxnx_iS.js +1 -0
  46. package/dist/chunks/breakpoints-SLMTNHF9.d.ts +5 -0
  47. package/dist/chunks/breakpoints-o_2Ev7ir.js +1 -0
  48. package/dist/chunks/button-group-CPZYA6aZ.js +1 -0
  49. package/dist/chunks/card-DfF2K_5p.js +1 -0
  50. package/dist/chunks/carousel-DEvwcA7H.js +1 -0
  51. package/dist/chunks/checkbox-BFPS0pD6.js +1 -0
  52. package/dist/chunks/chip-input-CB1lE6vP.js +1 -0
  53. package/dist/chunks/collapse-WifcChO8.js +1 -0
  54. package/dist/chunks/color-input-CyRaLR_G.js +1 -0
  55. package/dist/chunks/combobox-DWEj-Sv7.js +1 -0
  56. package/dist/chunks/datagrid-nbnNThsT.js +2 -0
  57. package/dist/chunks/dateRangePresets-R1FtA1zp.d.ts +41 -0
  58. package/dist/chunks/datepicker-CslLKMm1.js +1 -0
  59. package/dist/chunks/dialogTransition-i9vw0i2Z.js +1 -0
  60. package/dist/chunks/direction-CPhdeL3A.js +1 -0
  61. package/dist/chunks/drawer-zReFjoJG.js +1 -0
  62. package/dist/chunks/file-input-RRqZSzjH.js +1 -0
  63. package/dist/chunks/flex-BTvpgaRv.js +1 -0
  64. package/dist/chunks/floating-input-CIC9Lm2a.js +1 -0
  65. package/dist/chunks/focus-ring-SR_LwaN7.js +1 -0
  66. package/dist/chunks/focusRedirect-BrvK3U_o.js +1 -0
  67. package/dist/chunks/form-GpdAyWWi.js +1 -0
  68. package/dist/chunks/form-field-BjQ9SIjx.js +1 -0
  69. package/dist/chunks/grid-CuFw89yV.js +1 -0
  70. package/dist/chunks/icon-mxYpL5nL.js +1 -0
  71. package/dist/chunks/iconConfig-Bu6Pt9o3.d.ts +69 -0
  72. package/dist/chunks/iconSlot-BmWxJh27.js +1 -0
  73. package/dist/chunks/index--0_IpTDT.d.ts +17 -0
  74. package/dist/chunks/index-6uob77s9.d.ts +80 -0
  75. package/dist/chunks/index-8PhBSbNQ.d.ts +93 -0
  76. package/dist/chunks/index-B0-8n-Gs.d.ts +105 -0
  77. package/dist/chunks/index-B8uaSJA9.d.ts +95 -0
  78. package/dist/chunks/index-BA-raEMm.d.ts +28 -0
  79. package/dist/chunks/index-BDfh8YBc.d.ts +39 -0
  80. package/dist/chunks/index-BKMW0rkw.d.ts +80 -0
  81. package/dist/chunks/index-BO9jLOIb.d.ts +58 -0
  82. package/dist/chunks/index-BO_1MN66.d.ts +87 -0
  83. package/dist/chunks/index-BTDgfLxK.d.ts +94 -0
  84. package/dist/chunks/index-BTTeKpiE.d.ts +363 -0
  85. package/dist/chunks/index-BVGGIaPX.d.ts +110 -0
  86. package/dist/chunks/index-Bi8FFadV.d.ts +98 -0
  87. package/dist/chunks/index-Bkj17NEQ.d.ts +50 -0
  88. package/dist/chunks/index-BlgkO3dn.d.ts +280 -0
  89. package/dist/chunks/index-BxTlIaZu.d.ts +301 -0
  90. package/dist/chunks/index-C61tPIJ-.d.ts +50 -0
  91. package/dist/chunks/index-CCXJXToc.d.ts +52 -0
  92. package/dist/chunks/index-CJzKu7QI.d.ts +40 -0
  93. package/dist/chunks/index-COsIPd8L.d.ts +62 -0
  94. package/dist/chunks/index-COsYSDrz.d.ts +109 -0
  95. package/dist/chunks/index-CRfm7W6C.d.ts +230 -0
  96. package/dist/chunks/index-CVUMS0x7.d.ts +73 -0
  97. package/dist/chunks/index-CaQ1JY5D.d.ts +49 -0
  98. package/dist/chunks/index-Cf2n0l0U.d.ts +138 -0
  99. package/dist/chunks/index-CftERHnE.d.ts +24 -0
  100. package/dist/chunks/index-ClT3E_hv.d.ts +302 -0
  101. package/dist/chunks/index-CsMIgBsd.d.ts +39 -0
  102. package/dist/chunks/index-Ctuk1xBU.d.ts +99 -0
  103. package/dist/chunks/index-D2VVO8rx.d.ts +49 -0
  104. package/dist/chunks/index-D949AidR.d.ts +40 -0
  105. package/dist/chunks/index-D9PZHY_I.d.ts +135 -0
  106. package/dist/chunks/index-DAoPg59I.d.ts +80 -0
  107. package/dist/chunks/index-DB_ToPdz.d.ts +202 -0
  108. package/dist/chunks/index-DEb9zXlC.d.ts +210 -0
  109. package/dist/chunks/index-DHGgezXU.d.ts +58 -0
  110. package/dist/chunks/index-DJJocp_q.d.ts +132 -0
  111. package/dist/chunks/index-DKma0jQw.d.ts +104 -0
  112. package/dist/chunks/index-DPV62IdF.d.ts +118 -0
  113. package/dist/chunks/index-DR8sYtvd.d.ts +296 -0
  114. package/dist/chunks/index-Dcc_W6Kv.d.ts +146 -0
  115. package/dist/chunks/index-Dfg4Ftb8.d.ts +68 -0
  116. package/dist/chunks/index-Dfy1YW5j.d.ts +73 -0
  117. package/dist/chunks/index-Dh5CaHTP.d.ts +44 -0
  118. package/dist/chunks/index-DtbUXxjz.d.ts +53 -0
  119. package/dist/chunks/index-Dum6Y9XR.d.ts +187 -0
  120. package/dist/chunks/index-HrKN6s8z.d.ts +66 -0
  121. package/dist/chunks/index-JllMXhVx.d.ts +176 -0
  122. package/dist/chunks/index-XjLvaH4G.d.ts +67 -0
  123. package/dist/chunks/index-dh3TKanY.d.ts +235 -0
  124. package/dist/chunks/index-nklPDKlC.d.ts +137 -0
  125. package/dist/chunks/index-qgZ5VGmc.d.ts +177 -0
  126. package/dist/chunks/index-tOodmT36.d.ts +129 -0
  127. package/dist/chunks/index-t_x6jj7l.d.ts +96 -0
  128. package/dist/chunks/input-adorn-C_EHML68.js +1 -0
  129. package/dist/chunks/input-group-iI7azfvE.js +1 -0
  130. package/dist/chunks/list-CMr-wB9d.js +1 -0
  131. package/dist/chunks/menu-CXUc-Gva.js +1 -0
  132. package/dist/chunks/modal-ByIj71Mq.js +1 -0
  133. package/dist/chunks/nav-BldxFo_B.js +1 -0
  134. package/dist/chunks/navbar-BwcsQuBk.js +1 -0
  135. package/dist/chunks/notification-DdqigVB1.js +1 -0
  136. package/dist/chunks/otp-input-CXe_wkII.js +1 -0
  137. package/dist/chunks/overlayPlacement-B7843a-Q.d.ts +6 -0
  138. package/dist/chunks/overlayPlacement-BtS90IVf.js +1 -0
  139. package/dist/chunks/pagination-BOpEAYW2.js +1 -0
  140. package/dist/chunks/password-strength-BfLiYiGj.js +1 -0
  141. package/dist/chunks/placeholder-pg95KELl.js +1 -0
  142. package/dist/chunks/polymorphic-CACPOv1_.js +1 -0
  143. package/dist/chunks/polymorphic-CVHbTHSN.d.ts +40 -0
  144. package/dist/chunks/popover-BpSfnZzk.js +1 -0
  145. package/dist/chunks/progress-DlrZ71aV.js +1 -0
  146. package/dist/chunks/radio-BV7Sq6D1.js +1 -0
  147. package/dist/chunks/range-input-BN3430j-.js +1 -0
  148. package/dist/chunks/renderFormCheck-BXBs6_ov.js +1 -0
  149. package/dist/chunks/renderFormCheck-CYWG-Rbt.d.ts +23 -0
  150. package/dist/chunks/renderFormField-fBEny6JV.d.ts +14 -0
  151. package/dist/chunks/renderFormField-wiaxvvLG.js +1 -0
  152. package/dist/chunks/renderMenuItemContent-CmqT3YUQ.js +1 -0
  153. package/dist/chunks/select-CclIIux8.js +1 -0
  154. package/dist/chunks/skeleton-CKq76sE_.js +1 -0
  155. package/dist/chunks/spacingClassName-DVhk8m3P.js +1 -0
  156. package/dist/chunks/spinner-BEq4PAlu.js +1 -0
  157. package/dist/chunks/stack-D3retZ-W.js +1 -0
  158. package/dist/chunks/static-table-D0M4oc_t.js +1 -0
  159. package/dist/chunks/stepper-CTa6e8uv.js +1 -0
  160. package/dist/chunks/switch-BmHpq4tL.js +1 -0
  161. package/dist/chunks/table-Fme9GbAR.js +1 -0
  162. package/dist/chunks/tableClassName-CZA2Bse8.js +1 -0
  163. package/dist/chunks/tabs-BnbMJM_b.js +1 -0
  164. package/dist/chunks/text-input-DD3d08Yf.js +1 -0
  165. package/dist/chunks/textarea-C0qQdCcu.js +1 -0
  166. package/dist/chunks/toast-BQhZ2pv5.js +1 -0
  167. package/dist/chunks/tooltip-DHtVAYUo.js +1 -0
  168. package/dist/chunks/triggerElement-BIqA4KqZ.js +1 -0
  169. package/dist/chunks/types-CS_40Txv.d.ts +34 -0
  170. package/dist/chunks/useButtonSemantics-CILM_lhi.js +1 -0
  171. package/dist/chunks/useDialogElement-BRIU60cT.js +1 -0
  172. package/dist/chunks/useDisabledAnchorGuard-Cz58UCXy.js +1 -0
  173. package/dist/chunks/useFloatingOverlay-CcmDZKMK.js +1 -0
  174. package/dist/chunks/useForkedRef-DVEfT-KI.js +1 -0
  175. package/dist/chunks/useFormField-BOqmBTC4.js +1 -0
  176. package/dist/chunks/useIsomorphicLayoutEffect-BbqRwuqn.js +1 -0
  177. package/dist/chunks/useToastRegionQueue-BH6bWZ73.js +1 -0
  178. package/dist/chunks/validationClassName-gRGs4KBm.js +1 -0
  179. package/dist/close-button.d.ts +2 -0
  180. package/dist/close-button.js +1 -0
  181. package/dist/collapse.d.ts +2 -0
  182. package/dist/collapse.js +1 -0
  183. package/dist/color-input.d.ts +2 -0
  184. package/dist/color-input.js +1 -0
  185. package/dist/combobox.d.ts +3 -0
  186. package/dist/combobox.js +1 -0
  187. package/dist/datagrid.d.ts +2 -0
  188. package/dist/datagrid.js +1 -0
  189. package/dist/datepicker.d.ts +2 -0
  190. package/dist/datepicker.js +1 -0
  191. package/dist/drawer.d.ts +2 -0
  192. package/dist/drawer.js +1 -0
  193. package/dist/file-input.d.ts +2 -0
  194. package/dist/file-input.js +1 -0
  195. package/dist/flex.d.ts +2 -0
  196. package/dist/flex.js +1 -0
  197. package/dist/floating-input.d.ts +2 -0
  198. package/dist/floating-input.js +1 -0
  199. package/dist/form-field.d.ts +2 -0
  200. package/dist/form-field.js +1 -0
  201. package/dist/form.d.ts +2 -0
  202. package/dist/form.js +1 -0
  203. package/dist/grid.d.ts +2 -0
  204. package/dist/grid.js +1 -0
  205. package/dist/icon.d.ts +4 -0
  206. package/dist/icon.js +1 -0
  207. package/dist/index.d.ts +72 -6369
  208. package/dist/index.js +1 -2
  209. package/dist/input-adorn.d.ts +2 -0
  210. package/dist/input-adorn.js +1 -0
  211. package/dist/input-group.d.ts +2 -0
  212. package/dist/input-group.js +1 -0
  213. package/dist/link.d.ts +3 -0
  214. package/dist/link.js +1 -0
  215. package/dist/list.d.ts +2 -0
  216. package/dist/list.js +1 -0
  217. package/dist/menu.d.ts +3 -0
  218. package/dist/menu.js +1 -0
  219. package/dist/modal.d.ts +2 -0
  220. package/dist/modal.js +1 -0
  221. package/dist/nav.d.ts +2 -0
  222. package/dist/nav.js +1 -0
  223. package/dist/navbar.d.ts +2 -0
  224. package/dist/navbar.js +1 -0
  225. package/dist/notification.d.ts +2 -0
  226. package/dist/notification.js +1 -0
  227. package/dist/otp-input.d.ts +2 -0
  228. package/dist/otp-input.js +1 -0
  229. package/dist/pagination.d.ts +2 -0
  230. package/dist/pagination.js +1 -0
  231. package/dist/password-strength.d.ts +2 -0
  232. package/dist/password-strength.js +1 -0
  233. package/dist/placeholder.d.ts +2 -0
  234. package/dist/placeholder.js +1 -0
  235. package/dist/popover.d.ts +2 -0
  236. package/dist/popover.js +1 -0
  237. package/dist/progress.d.ts +2 -0
  238. package/dist/progress.js +1 -0
  239. package/dist/radio.d.ts +2 -0
  240. package/dist/radio.js +1 -0
  241. package/dist/range-input.d.ts +2 -0
  242. package/dist/range-input.js +1 -0
  243. package/dist/select.d.ts +2 -0
  244. package/dist/select.js +1 -0
  245. package/dist/skeleton.d.ts +2 -0
  246. package/dist/skeleton.js +1 -0
  247. package/dist/spinner.d.ts +2 -0
  248. package/dist/spinner.js +1 -0
  249. package/dist/stack.d.ts +2 -0
  250. package/dist/stack.js +1 -0
  251. package/dist/static-table.d.ts +2 -0
  252. package/dist/static-table.js +1 -0
  253. package/dist/stepper.d.ts +2 -0
  254. package/dist/stepper.js +1 -0
  255. package/dist/style.css +1 -1
  256. package/dist/switch.d.ts +2 -0
  257. package/dist/switch.js +1 -0
  258. package/dist/table.d.ts +2 -0
  259. package/dist/table.js +1 -0
  260. package/dist/tabs.d.ts +2 -0
  261. package/dist/tabs.js +1 -0
  262. package/dist/text-input.d.ts +2 -0
  263. package/dist/text-input.js +1 -0
  264. package/dist/textarea.d.ts +2 -0
  265. package/dist/textarea.js +1 -0
  266. package/dist/toast.d.ts +2 -0
  267. package/dist/toast.js +1 -0
  268. package/dist/tooltip.d.ts +2 -0
  269. package/dist/tooltip.js +1 -0
  270. package/package.json +62 -4
  271. package/src/components/accordion/index.ts +4 -0
  272. package/src/components/autocomplete/index.ts +4 -0
  273. package/src/components/avatar/index.ts +4 -0
  274. package/src/components/badge/index.ts +4 -0
  275. package/src/components/breadcrumb/index.ts +4 -0
  276. package/src/components/button/index.ts +4 -0
  277. package/src/components/button-group/index.ts +4 -0
  278. package/src/components/calendar/index.ts +4 -0
  279. package/src/components/card/index.ts +4 -0
  280. package/src/components/carousel/CarouselControlButton.tsx +11 -4
  281. package/src/components/carousel/CarouselControlNext.tsx +6 -0
  282. package/src/components/carousel/CarouselControlPrev.tsx +6 -0
  283. package/src/components/carousel/CarouselPlayPause.tsx +27 -4
  284. package/src/components/carousel/index.ts +4 -0
  285. package/src/components/checkbox/index.ts +4 -0
  286. package/src/components/chip/index.ts +4 -0
  287. package/src/components/chip-input/index.ts +4 -0
  288. package/src/components/close-button/index.ts +4 -0
  289. package/src/components/collapse/index.ts +4 -0
  290. package/src/components/color-input/index.ts +4 -0
  291. package/src/components/combobox/ComboboxListBox.tsx +2 -2
  292. package/src/components/combobox/index.ts +4 -0
  293. package/src/components/datagrid/index.ts +4 -0
  294. package/src/components/datepicker/index.ts +4 -0
  295. package/src/components/drawer/index.ts +8 -0
  296. package/src/components/file-input/index.ts +4 -0
  297. package/src/components/flex/index.ts +4 -0
  298. package/src/components/floating-input/index.ts +4 -0
  299. package/src/components/form/index.ts +4 -0
  300. package/src/components/form-field/index.ts +4 -0
  301. package/src/components/grid/index.ts +4 -0
  302. package/src/components/icon/Icon.tsx +69 -38
  303. package/src/components/icon/IconProvider.tsx +40 -0
  304. package/src/components/icon/index.ts +7 -0
  305. package/src/components/input-adorn/index.ts +4 -0
  306. package/src/components/input-group/index.ts +4 -0
  307. package/src/components/link/index.ts +4 -0
  308. package/src/components/list/index.ts +4 -0
  309. package/src/components/menu/index.ts +4 -0
  310. package/src/components/modal/index.ts +8 -0
  311. package/src/components/nav/index.ts +4 -0
  312. package/src/components/navbar/NavbarToggler.tsx +9 -3
  313. package/src/components/navbar/index.ts +4 -0
  314. package/src/components/notification/Notification.tsx +6 -5
  315. package/src/components/notification/index.ts +8 -0
  316. package/src/components/otp-input/index.ts +4 -0
  317. package/src/components/pagination/Pagination.tsx +16 -3
  318. package/src/components/pagination/index.ts +8 -0
  319. package/src/components/password-strength/index.ts +4 -0
  320. package/src/components/placeholder/index.ts +4 -0
  321. package/src/components/popover/index.ts +4 -0
  322. package/src/components/progress/index.ts +4 -0
  323. package/src/components/radio/index.ts +4 -0
  324. package/src/components/range-input/index.ts +4 -0
  325. package/src/components/select/index.ts +4 -0
  326. package/src/components/skeleton/SkeletonLoader.tsx +13 -6
  327. package/src/components/skeleton/index.ts +4 -0
  328. package/src/components/spinner/index.ts +4 -0
  329. package/src/components/stack/index.ts +4 -0
  330. package/src/components/static-table/StaticTable.tsx +78 -0
  331. package/src/components/static-table/index.ts +8 -0
  332. package/src/components/stepper/index.ts +4 -0
  333. package/src/components/switch/index.ts +4 -0
  334. package/src/components/table/Table.tsx +14 -22
  335. package/src/components/table/index.ts +4 -0
  336. package/src/components/tabs/index.ts +4 -0
  337. package/src/components/text-input/index.ts +4 -0
  338. package/src/components/textarea/index.ts +4 -0
  339. package/src/components/toast/Toast.tsx +2 -1
  340. package/src/components/toast/ToastHeader.tsx +4 -3
  341. package/src/components/toast/index.ts +8 -0
  342. package/src/components/tooltip/index.ts +4 -0
  343. package/src/hooks/useIconConfig.ts +6 -0
  344. package/src/index.ts +24 -4
  345. package/src/utils/iconConfig.ts +88 -0
  346. package/src/utils/iconSlot.tsx +41 -0
  347. package/src/utils/polymorphic.ts +49 -2
  348. package/src/utils/renderMenuItemContent.tsx +4 -9
  349. package/src/utils/slot.tsx +78 -0
  350. package/src/utils/tableClassName.ts +93 -0
@@ -0,0 +1,138 @@
1
+ import "./focus-ring-SR_LwaN7.js";
2
+ import { r as PolymorphicRefWithFallback, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
+ import { i as IconValue } from "./iconConfig-Bu6Pt9o3.js";
4
+ import React, { ElementType, HTMLAttributes, MouseEvent, ReactElement, RefObject } from "react";
5
+ //#region src/components/pagination/Pagination.d.ts
6
+ interface PaginationProps extends HTMLAttributes<HTMLElement> {
7
+ /**
8
+ * Current active page (1-indexed). Used with `pages` for data-driven mode.
9
+ */
10
+ activePage?: number;
11
+ /**
12
+ * Set the alignment of pagination components.
13
+ */
14
+ align?: 'start' | 'center' | 'end';
15
+ /**
16
+ * Accessible label for the pagination `<nav>` landmark. Override for non-English locales,
17
+ * or when multiple paginators appear on the same page.
18
+ *
19
+ * @default 'Pagination'
20
+ */
21
+ 'aria-label'?: string;
22
+ /**
23
+ * A string of all className you want applied to the base component.
24
+ */
25
+ className?: string;
26
+ /**
27
+ * Maximum number of visible page buttons (default: 5). Flanking pages are collapsed to ellipsis.
28
+ */
29
+ maxVisiblePages?: number;
30
+ /**
31
+ * The "next page" control's icon in smart pagination mode: an icon name, or an element of your
32
+ * own icon set. Defaults to `IconProvider`'s `next` icon.
33
+ */
34
+ nextIcon?: IconValue;
35
+ /**
36
+ * Accessible label for the "next page" control, used in smart pagination mode. Override for
37
+ * non-English locales.
38
+ *
39
+ * @default 'Next'
40
+ */
41
+ nextLabel?: string;
42
+ /**
43
+ * Callback fired when the active page changes.
44
+ */
45
+ onActivePageChange?: (page: number) => void;
46
+ /**
47
+ * Total number of pages. When provided alongside `activePage` and `onActivePageChange`,
48
+ * the component renders a fully-controlled smart paginator with Prev/Next and ellipsis.
49
+ */
50
+ pages?: number;
51
+ /**
52
+ * The "previous page" control's icon in smart pagination mode: an icon name, or an element of
53
+ * your own icon set. Defaults to `IconProvider`'s `previous` icon.
54
+ */
55
+ previousIcon?: IconValue;
56
+ /**
57
+ * Accessible label for the "previous page" control, used in smart pagination mode. Override
58
+ * for non-English locales.
59
+ *
60
+ * @default 'Previous'
61
+ */
62
+ previousLabel?: string;
63
+ /**
64
+ * Show the numbered page buttons in smart pagination mode. Set `false` alongside
65
+ * `showPrevNext` to build a Prev/Next-only paginator.
66
+ *
67
+ * @default true
68
+ */
69
+ showPageNumbers?: boolean;
70
+ /**
71
+ * Show the Prev/Next controls in smart pagination mode. Set `false` alongside
72
+ * `showPageNumbers` to build a page-numbers-only paginator.
73
+ *
74
+ * @default true
75
+ */
76
+ showPrevNext?: boolean;
77
+ /**
78
+ * Size the component sm or lg.
79
+ */
80
+ size?: 'sm' | 'lg';
81
+ }
82
+ declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLElement>>;
83
+ //#endregion
84
+ //#region src/components/pagination/PaginationItem.d.ts
85
+ type PaginationItemOwnProps<C extends ElementType> = {
86
+ /**
87
+ * Toggle the active state for the component.
88
+ */
89
+ active?: boolean;
90
+ /**
91
+ * Component used for the root node. Either a string to use a HTML element or a component.
92
+ */
93
+ component?: C;
94
+ /**
95
+ * Toggle the disabled state for the component.
96
+ */
97
+ disabled?: boolean;
98
+ /**
99
+ * The href attribute. When provided the item renders as an `<a>` tag; otherwise as a `<button>`.
100
+ */
101
+ href?: string;
102
+ };
103
+ type PaginationItemProps<C extends ElementType = 'button'> = PolymorphicComponentProps<C, PaginationItemOwnProps<C>>;
104
+ type PaginationItemComponent = (<C extends ElementType = 'button'>(props: PaginationItemProps<C> & {
105
+ ref?: PolymorphicRefWithFallback<C, HTMLButtonElement | HTMLAnchorElement | HTMLSpanElement>;
106
+ }) => ReactElement | null) & {
107
+ displayName?: string;
108
+ };
109
+ declare const PaginationItem: PaginationItemComponent;
110
+ //#endregion
111
+ //#region src/hooks/usePagination.d.ts
112
+ interface UsePaginationOptions {
113
+ /**
114
+ * Whether the Previous control is currently disabled.
115
+ */
116
+ prevDisabled: boolean;
117
+ /**
118
+ * Whether the Next control is currently disabled.
119
+ */
120
+ nextDisabled: boolean;
121
+ /**
122
+ * Called when Previous is clicked, before the state change that may disable it.
123
+ */
124
+ onPrev: () => void;
125
+ /**
126
+ * Called when Next is clicked, before the state change that may disable it.
127
+ */
128
+ onNext: () => void;
129
+ }
130
+ interface UsePaginationResult<T extends HTMLElement = HTMLButtonElement> {
131
+ prevRef: RefObject<T | null>;
132
+ nextRef: RefObject<T | null>;
133
+ handlePrevClick: (event: MouseEvent<T>) => void;
134
+ handleNextClick: (event: MouseEvent<T>) => void;
135
+ }
136
+ declare function usePagination<T extends HTMLElement = HTMLButtonElement>({ prevDisabled, nextDisabled, onPrev, onNext }: UsePaginationOptions): UsePaginationResult<T>;
137
+ //#endregion
138
+ export { Pagination as a, PaginationItemProps as i, usePagination as n, PaginationProps as o, PaginationItem as r, UsePaginationResult as t };
@@ -0,0 +1,24 @@
1
+ import "./focus-ring-SR_LwaN7.js";
2
+ import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
+ import { ElementType, ReactElement } from "react";
4
+ //#region src/components/input-adorn/InputAdorn.d.ts
5
+ type InputAdornOwnProps<C extends ElementType> = {
6
+ /**
7
+ * A string of all className you want applied to the component.
8
+ */
9
+ className?: string;
10
+ /**
11
+ * Component used for the root node. Either a string to use a HTML element or a component. Use
12
+ * `"button"` or `"a"` for an actionable adorn, e.g. a password reveal toggle or a clear button.
13
+ */
14
+ component?: C;
15
+ };
16
+ type InputAdornProps<C extends ElementType = 'span'> = PolymorphicComponentProps<C, InputAdornOwnProps<C>>;
17
+ type InputAdornComponent = (<C extends ElementType = 'span'>(props: InputAdornProps<C> & {
18
+ ref?: PolymorphicRef<C>;
19
+ }) => ReactElement | null) & {
20
+ displayName?: string;
21
+ };
22
+ declare const InputAdorn: InputAdornComponent;
23
+ //#endregion
24
+ export { InputAdornProps as n, InputAdorn as t };
@@ -0,0 +1,302 @@
1
+ import "./focus-ring-SR_LwaN7.js";
2
+ import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
+ import { n as ContextColor, o as Sizing, r as ContextStyle, s as Spacing, t as Breakpoint } from "./types-CS_40Txv.js";
4
+ import { t as FlexDirection } from "./breakpoints-SLMTNHF9.js";
5
+ import { n as LinkProps } from "./Link-B0Y1xgYi.js";
6
+ import { ElementType, ReactElement, ReactNode } from "react";
7
+ //#region src/components/card/Card.d.ts
8
+ type CardOwnProps<C extends ElementType> = {
9
+ /**
10
+ * A string of all className you want applied to the base component.
11
+ */
12
+ className?: string;
13
+ /**
14
+ * Component used for the root node. Either a string to use a HTML element or a component.
15
+ */
16
+ component?: C;
17
+ /**
18
+ * Sets the color of the component to one of Chassis context colors.
19
+ */
20
+ color?: ContextColor;
21
+ /**
22
+ * Switches the card from its default stacked (column) layout to a side-by-side (row) layout.
23
+ * Wrap the image and body in `Col` to control each side's width.
24
+ */
25
+ direction?: FlexDirection;
26
+ /**
27
+ * Shorthand for a `CardFooter`, rendered after the image/title/subtitle/text/`children` block.
28
+ */
29
+ footer?: ReactNode;
30
+ /**
31
+ * Shorthand for a `CardImage` — pass either a `src` URL (combine with `imageAlt`/
32
+ * `imageOrientation`) or a fully-formed element — a `<CardImage>`, `<Skeleton>`,
33
+ * `<Placeholder>`, or anything else — rendered as-is in its place. `imageAlt`/`imageOrientation`
34
+ * only apply to the `src` form; set them directly on your own element otherwise. For a
35
+ * horizontal layout or an overlay, omit this and compose `CardImage` directly as a child
36
+ * instead.
37
+ */
38
+ image?: ReactNode;
39
+ /**
40
+ * Accessible alt text for `image`. Ignored unless `image` is set.
41
+ */
42
+ imageAlt?: string;
43
+ /**
44
+ * Orientates `image` to the top (default) or bottom of the card.
45
+ */
46
+ imageOrientation?: 'top' | 'bottom';
47
+ /**
48
+ * Overrides `direction` at one or more breakpoints — e.g. `{ lg: 'row' }` to lay the card
49
+ * out horizontally from `lg` up while stacking below it.
50
+ */
51
+ responsive?: Partial<Record<Breakpoint, FlexDirection>>;
52
+ /**
53
+ * Sets the size of the component to one of Chassis component sizes.
54
+ */
55
+ size?: Sizing;
56
+ /**
57
+ * Shorthand for a `CardSubtitle`, rendered directly after `title`.
58
+ */
59
+ subtitle?: ReactNode;
60
+ /**
61
+ * Shorthand for a `CardText`, rendered after `title`/`subtitle`.
62
+ */
63
+ text?: ReactNode;
64
+ /**
65
+ * Shorthand for a `CardTitle`. Set alongside `subtitle`/`text` (or plain `children`, e.g. a
66
+ * `Button`) to build a standard card without composing `CardBody`/`CardTitle` yourself — all
67
+ * render together inside a single `CardBody`, in that order. Only takes effect when at least
68
+ * one of `image`/`title`/`subtitle`/`text`/`footer` is set; otherwise `children` render as-is,
69
+ * so full manual composition (`CardHeader`, lists, overlays, nav headers, …) keeps working
70
+ * unchanged. Mixing shorthand props with a manually-composed `children` tree isn't supported —
71
+ * pick one approach per card.
72
+ */
73
+ title?: ReactNode;
74
+ /**
75
+ * Sets the context style of the component. `basic` (the default) renders with no extra class.
76
+ */
77
+ variant?: ContextStyle;
78
+ };
79
+ type CardProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, CardOwnProps<C>>;
80
+ type CardComponent = (<C extends ElementType = 'div'>(props: CardProps<C> & {
81
+ ref?: PolymorphicRef<C>;
82
+ }) => ReactElement | null) & {
83
+ displayName?: string;
84
+ };
85
+ declare const Card: CardComponent;
86
+ //#endregion
87
+ //#region src/components/card/CardBody.d.ts
88
+ type CardBodyOwnProps<C extends ElementType> = {
89
+ /**
90
+ * A string of all className you want applied to the base component.
91
+ */
92
+ className?: string;
93
+ /**
94
+ * Component used for the root node. Either a string to use a HTML element or a component.
95
+ */
96
+ component?: C;
97
+ /**
98
+ * Switches the body from its default stacked (column) layout to a side-by-side (row) layout —
99
+ * for placing an image beside text within a single padded region. Wrap the image and text in
100
+ * `Col` to control each side's width, and nest another `CardBody` (with `.p-0`) for the text
101
+ * side so it doesn't receive double padding.
102
+ */
103
+ direction?: FlexDirection;
104
+ /**
105
+ * Spacing between children, mapped to the `gap-*` utility classes. Overrides the card's default
106
+ * gap between body children.
107
+ */
108
+ gap?: Spacing | 0;
109
+ /**
110
+ * Overrides `direction` at one or more breakpoints.
111
+ */
112
+ responsive?: Partial<Record<Breakpoint, FlexDirection>>;
113
+ };
114
+ type CardBodyProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, CardBodyOwnProps<C>>;
115
+ type CardBodyComponent = (<C extends ElementType = 'div'>(props: CardBodyProps<C> & {
116
+ ref?: PolymorphicRef<C>;
117
+ }) => ReactElement | null) & {
118
+ displayName?: string;
119
+ };
120
+ declare const CardBody: CardBodyComponent;
121
+ //#endregion
122
+ //#region src/components/card/CardFooter.d.ts
123
+ type CardFooterOwnProps<C extends ElementType> = {
124
+ /**
125
+ * A string of all className you want applied to the base component.
126
+ */
127
+ className?: string;
128
+ /**
129
+ * Component used for the root node. Either a string to use a HTML element or a component.
130
+ */
131
+ component?: C;
132
+ };
133
+ type CardFooterProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, CardFooterOwnProps<C>>;
134
+ type CardFooterComponent = (<C extends ElementType = 'div'>(props: CardFooterProps<C> & {
135
+ ref?: PolymorphicRef<C>;
136
+ }) => ReactElement | null) & {
137
+ displayName?: string;
138
+ };
139
+ declare const CardFooter: CardFooterComponent;
140
+ //#endregion
141
+ //#region src/components/card/CardGroup.d.ts
142
+ type CardGroupOwnProps<C extends ElementType> = {
143
+ /**
144
+ * A string of all className you want applied to the base component.
145
+ */
146
+ className?: string;
147
+ /**
148
+ * Component used for the root node. Either a string to use a HTML element or a component.
149
+ */
150
+ component?: C;
151
+ };
152
+ type CardGroupProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, CardGroupOwnProps<C>>;
153
+ type CardGroupComponent = (<C extends ElementType = 'div'>(props: CardGroupProps<C> & {
154
+ ref?: PolymorphicRef<C>;
155
+ }) => ReactElement | null) & {
156
+ displayName?: string;
157
+ };
158
+ declare const CardGroup: CardGroupComponent;
159
+ //#endregion
160
+ //#region src/components/card/CardHeader.d.ts
161
+ type CardHeaderOwnProps<C extends ElementType> = {
162
+ /**
163
+ * A string of all className you want applied to the base component.
164
+ */
165
+ className?: string;
166
+ /**
167
+ * Component used for the root node. Either a string to use a HTML element or a component.
168
+ */
169
+ component?: C;
170
+ };
171
+ type CardHeaderProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, CardHeaderOwnProps<C>>;
172
+ type CardHeaderComponent = (<C extends ElementType = 'div'>(props: CardHeaderProps<C> & {
173
+ ref?: PolymorphicRef<C>;
174
+ }) => ReactElement | null) & {
175
+ displayName?: string;
176
+ };
177
+ declare const CardHeader: CardHeaderComponent;
178
+ //#endregion
179
+ //#region src/components/card/CardImage.d.ts
180
+ type CardImageOrientation = 'top' | 'bottom' | 'start' | 'end';
181
+ type CardImageOwnProps<C extends ElementType> = {
182
+ /**
183
+ * A string of all className you want applied to the base component.
184
+ */
185
+ className?: string;
186
+ /**
187
+ * Component used for the root node. Either a string to use a HTML element or a component —
188
+ * e.g. a framework's own `Image` component. Its own props (`src`, `fill`, `priority`, etc.)
189
+ * are type-checked at the call site once passed here.
190
+ */
191
+ component?: C;
192
+ /**
193
+ * Orientates the image to the top or bottom of the card as an "image cap", or to the start/end
194
+ * for a horizontal layout. Omit to round all four corners for use inside `CardBody`.
195
+ */
196
+ orientation?: CardImageOrientation;
197
+ /**
198
+ * Overrides `orientation` at one or more breakpoints — e.g. `{ lg: 'start' }` to switch an
199
+ * image cap from `top` to `start` once the card lays out horizontally.
200
+ */
201
+ responsive?: Partial<Record<Breakpoint, CardImageOrientation>>;
202
+ };
203
+ type CardImageProps<C extends ElementType = 'img'> = PolymorphicComponentProps<C, CardImageOwnProps<C>>;
204
+ type CardImageComponent = (<C extends ElementType = 'img'>(props: CardImageProps<C> & {
205
+ ref?: PolymorphicRef<C>;
206
+ }) => ReactElement | null) & {
207
+ displayName?: string;
208
+ };
209
+ declare const CardImage: CardImageComponent;
210
+ //#endregion
211
+ //#region src/components/card/CardImageOverlay.d.ts
212
+ type CardImageOverlayOwnProps<C extends ElementType> = {
213
+ /**
214
+ * A string of all className you want applied to the base component.
215
+ */
216
+ className?: string;
217
+ /**
218
+ * Component used for the root node. Either a string to use a HTML element or a component.
219
+ */
220
+ component?: C;
221
+ };
222
+ type CardImageOverlayProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, CardImageOverlayOwnProps<C>>;
223
+ type CardImageOverlayComponent = (<C extends ElementType = 'div'>(props: CardImageOverlayProps<C> & {
224
+ ref?: PolymorphicRef<C>;
225
+ }) => ReactElement | null) & {
226
+ displayName?: string;
227
+ };
228
+ declare const CardImageOverlay: CardImageOverlayComponent;
229
+ //#endregion
230
+ //#region src/components/card/CardLink.d.ts
231
+ type CardLinkOwnProps = {
232
+ /**
233
+ * A string of all className you want applied to the base component.
234
+ */
235
+ className?: string;
236
+ };
237
+ type CardLinkProps<C extends ElementType = 'a'> = LinkProps<C> & CardLinkOwnProps;
238
+ type CardLinkComponent = (<C extends ElementType = 'a'>(props: CardLinkProps<C> & {
239
+ ref?: PolymorphicRef<C>;
240
+ }) => ReactElement | null) & {
241
+ displayName?: string;
242
+ };
243
+ declare const CardLink: CardLinkComponent;
244
+ //#endregion
245
+ //#region src/components/card/CardSubtitle.d.ts
246
+ type CardSubtitleOwnProps<C extends ElementType> = {
247
+ /**
248
+ * A string of all className you want applied to the component.
249
+ */
250
+ className?: string;
251
+ /**
252
+ * Component used for the root node. Either a string to use a HTML element or a component.
253
+ */
254
+ component?: C;
255
+ };
256
+ type CardSubtitleProps<C extends ElementType = 'h6'> = PolymorphicComponentProps<C, CardSubtitleOwnProps<C>>;
257
+ type CardSubtitleComponent = (<C extends ElementType = 'h6'>(props: CardSubtitleProps<C> & {
258
+ ref?: PolymorphicRef<C>;
259
+ }) => ReactElement | null) & {
260
+ displayName?: string;
261
+ };
262
+ declare const CardSubtitle: CardSubtitleComponent;
263
+ //#endregion
264
+ //#region src/components/card/CardText.d.ts
265
+ type CardTextOwnProps<C extends ElementType> = {
266
+ /**
267
+ * A string of all className you want applied to the component.
268
+ */
269
+ className?: string;
270
+ /**
271
+ * Component used for the root node. Either a string to use a HTML element or a component.
272
+ */
273
+ component?: C;
274
+ };
275
+ type CardTextProps<C extends ElementType = 'p'> = PolymorphicComponentProps<C, CardTextOwnProps<C>>;
276
+ type CardTextComponent = (<C extends ElementType = 'p'>(props: CardTextProps<C> & {
277
+ ref?: PolymorphicRef<C>;
278
+ }) => ReactElement | null) & {
279
+ displayName?: string;
280
+ };
281
+ declare const CardText: CardTextComponent;
282
+ //#endregion
283
+ //#region src/components/card/CardTitle.d.ts
284
+ type CardTitleOwnProps<C extends ElementType> = {
285
+ /**
286
+ * A string of all className you want applied to the component.
287
+ */
288
+ className?: string;
289
+ /**
290
+ * Component used for the root node. Either a string to use a HTML element or a component.
291
+ */
292
+ component?: C;
293
+ };
294
+ type CardTitleProps<C extends ElementType = 'h5'> = PolymorphicComponentProps<C, CardTitleOwnProps<C>>;
295
+ type CardTitleComponent = (<C extends ElementType = 'h5'>(props: CardTitleProps<C> & {
296
+ ref?: PolymorphicRef<C>;
297
+ }) => ReactElement | null) & {
298
+ displayName?: string;
299
+ };
300
+ declare const CardTitle: CardTitleComponent;
301
+ //#endregion
302
+ export { CardProps as S, CardFooter as _, CardSubtitle as a, CardBodyProps as b, CardLinkProps as c, CardImage as d, CardImageProps as f, CardGroupProps as g, CardGroup as h, CardTextProps as i, CardImageOverlay as l, CardHeaderProps as m, CardTitleProps as n, CardSubtitleProps as o, CardHeader as p, CardText as r, CardLink as s, CardTitle as t, CardImageOverlayProps as u, CardFooterProps as v, Card as x, CardBody as y };
@@ -0,0 +1,39 @@
1
+ import "./focus-ring-SR_LwaN7.js";
2
+ import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
+ import { s as Spacing, t as Breakpoint } from "./types-CS_40Txv.js";
4
+ import { ElementType, ReactElement } from "react";
5
+ //#region src/components/stack/Stack.d.ts
6
+ type StackOwnProps<C extends ElementType> = {
7
+ /**
8
+ * A string of all className you want applied to the component.
9
+ */
10
+ className?: string;
11
+ /**
12
+ * Component used for the root node. Either a string to use a HTML element or a component.
13
+ */
14
+ component?: C;
15
+ /**
16
+ * Lays children out in a row (`horizontal`, the default, maps to `.hstack`) or a column
17
+ * (`vertical`, maps to `.vstack`).
18
+ */
19
+ direction?: 'horizontal' | 'vertical';
20
+ /**
21
+ * Spacing between children, mapped to the `gap-*` utility classes.
22
+ */
23
+ gap?: Spacing | 0;
24
+ /**
25
+ * Switches `direction` at one or more breakpoints via container queries. Requires a
26
+ * `.contains-inline` ancestor (not applied by `Stack` itself — see the docs) to establish the
27
+ * container context these queries evaluate against.
28
+ */
29
+ responsive?: Partial<Record<Breakpoint, 'horizontal' | 'vertical'>>;
30
+ };
31
+ type StackProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, StackOwnProps<C>>;
32
+ type StackComponent = (<C extends ElementType = 'div'>(props: StackProps<C> & {
33
+ ref?: PolymorphicRef<C>;
34
+ }) => ReactElement | null) & {
35
+ displayName?: string;
36
+ };
37
+ declare const Stack: StackComponent;
38
+ //#endregion
39
+ export { StackProps as n, Stack as t };
@@ -0,0 +1,99 @@
1
+ import "./focus-ring-SR_LwaN7.js";
2
+ import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
3
+ import { n as ContextColor } from "./types-CS_40Txv.js";
4
+ import React, { ElementType, ReactElement } from "react";
5
+ //#region src/components/stepper/Stepper.d.ts
6
+ interface StepperItemDef {
7
+ /**
8
+ * Step label content.
9
+ */
10
+ label: React.ReactNode;
11
+ /**
12
+ * Marks the item as the current step.
13
+ */
14
+ active?: boolean;
15
+ /**
16
+ * Sets the color of the item.
17
+ */
18
+ color?: ContextColor;
19
+ /**
20
+ * Renders the item as a link to the given URL.
21
+ */
22
+ href?: string;
23
+ }
24
+ type StepperOwnProps<C extends ElementType> = {
25
+ /**
26
+ * A string of all className you want applied to the component.
27
+ */
28
+ className?: string;
29
+ /**
30
+ * Component used for the root node. Either a string to use a HTML element or a component.
31
+ * Defaults to `'ol'`, unless a step (a data-driven item with `href`, or a `<StepperItem
32
+ * component="a">`/`<StepperItem component="button">` child) is interactive — a bare `<a>`/
33
+ * `<button>` isn't a valid direct child of `<ol>`, so the default switches to `'div'` instead.
34
+ * Pass `component` explicitly to opt out of this.
35
+ */
36
+ component?: C;
37
+ /**
38
+ * Sets the color of the component to one of Chassis context colors.
39
+ */
40
+ color?: ContextColor;
41
+ /**
42
+ * Replaces the step counters with icons, driven by the `--status-icon` custom property.
43
+ */
44
+ icon?: boolean;
45
+ /**
46
+ * Array of step definitions for data-driven rendering. When provided, children are ignored.
47
+ */
48
+ items?: StepperItemDef[];
49
+ /**
50
+ * Lays out steps side-by-side instead of stacking them vertically, either unconditionally or
51
+ * from a given breakpoint up.
52
+ */
53
+ layout?: 'horizontal' | 'sm:horizontal' | 'md:horizontal' | 'lg:horizontal' | 'xl:horizontal' | '2xl:horizontal';
54
+ /**
55
+ * Wraps the stepper in a horizontally scrollable container so steps keep their natural width
56
+ * instead of shrinking to fit.
57
+ */
58
+ overflow?: boolean;
59
+ };
60
+ type StepperProps<C extends ElementType = 'ol'> = PolymorphicComponentProps<C, StepperOwnProps<C>>;
61
+ type StepperComponent = (<C extends ElementType = 'ol'>(props: StepperProps<C> & {
62
+ ref?: PolymorphicRef<C>;
63
+ }) => ReactElement | null) & {
64
+ displayName?: string;
65
+ };
66
+ declare const Stepper: StepperComponent;
67
+ //#endregion
68
+ //#region src/components/stepper/StepperItem.d.ts
69
+ type StepperItemOwnProps<C extends ElementType> = {
70
+ /**
71
+ * Marks the item as the current step.
72
+ */
73
+ active?: boolean;
74
+ /**
75
+ * A string of all className you want applied to the component.
76
+ */
77
+ className?: string;
78
+ /**
79
+ * Sets the color of the component to one of Chassis context colors.
80
+ */
81
+ color?: ContextColor;
82
+ /**
83
+ * Component used for the root node. Either a string to use a HTML element or a component.
84
+ */
85
+ component?: C;
86
+ /**
87
+ * The `href` attribute for an interactive step rendered as a link.
88
+ */
89
+ href?: string;
90
+ };
91
+ type StepperItemProps<C extends ElementType = 'li'> = PolymorphicComponentProps<C, StepperItemOwnProps<C>>;
92
+ type StepperItemComponent = (<C extends ElementType = 'li'>(props: StepperItemProps<C> & {
93
+ ref?: PolymorphicRef<C>;
94
+ }) => ReactElement | null) & {
95
+ displayName?: string;
96
+ };
97
+ declare const StepperItem: StepperItemComponent;
98
+ //#endregion
99
+ export { StepperProps as a, StepperItemDef as i, StepperItemProps as n, Stepper as r, StepperItem as t };
@@ -0,0 +1,49 @@
1
+ import "./focus-ring-SR_LwaN7.js";
2
+ import { t as FormFieldIds } from "./renderFormField-fBEny6JV.js";
3
+ import React, { HTMLAttributes, ReactNode } from "react";
4
+ //#region src/components/floating-input/FloatingInput.d.ts
5
+ interface FloatingInputProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
6
+ /**
7
+ * The form control (e.g. a `TextInput`, `Select`, or `Textarea`) the floating label attaches
8
+ * to. Chassis-css's floating-label CSS relies on a `label:has(~ .form-input)` selector, so this
9
+ * must render an element carrying the `form-input` class as a direct child.
10
+ */
11
+ children: ReactNode;
12
+ /**
13
+ * A string of all className you want applied to the `.form-floating` element.
14
+ */
15
+ className?: string;
16
+ /**
17
+ * A description for the field, rendered below the control. Setting this (or `invalidFeedback`/
18
+ * `validFeedback`) wraps the floating input in a `.form-field`.
19
+ */
20
+ help?: ReactNode;
21
+ /**
22
+ * The DOM ids of the wrapped control, used to associate the label (`htmlFor`) and point your
23
+ * control's own `aria-describedby` at the rendered help/feedback text.
24
+ */
25
+ ids?: FormFieldIds;
26
+ /**
27
+ * Set field validation state to invalid.
28
+ */
29
+ invalid?: boolean;
30
+ /**
31
+ * An error message for the field, rendered below the control when `invalid` is set.
32
+ */
33
+ invalidFeedback?: ReactNode;
34
+ /**
35
+ * The field's caption, rendered as a floating `FormLabel` associated with `ids.input`.
36
+ */
37
+ label: ReactNode;
38
+ /**
39
+ * Set field validation state to valid.
40
+ */
41
+ valid?: boolean;
42
+ /**
43
+ * A success message for the field, rendered below the control when `valid` is set.
44
+ */
45
+ validFeedback?: ReactNode;
46
+ }
47
+ declare const FloatingInput: React.ForwardRefExoticComponent<FloatingInputProps & React.RefAttributes<HTMLDivElement>>;
48
+ //#endregion
49
+ export { FloatingInputProps as n, FloatingInput as t };