@chassis-ui/react 0.1.3 → 0.3.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.
- package/LICENSE +1 -1
- package/README.md +56 -23
- package/dist/accordion.d.ts +2 -0
- package/dist/accordion.js +1 -0
- package/dist/alert.d.ts +2 -0
- package/dist/alert.js +1 -0
- package/dist/autocomplete.d.ts +2 -0
- package/dist/autocomplete.js +1 -0
- package/dist/avatar.d.ts +2 -0
- package/dist/avatar.js +1 -0
- package/dist/badge.d.ts +2 -0
- package/dist/badge.js +1 -0
- package/dist/breadcrumb.d.ts +2 -0
- package/dist/breadcrumb.js +1 -0
- package/dist/button-group.d.ts +2 -0
- package/dist/button-group.js +1 -0
- package/dist/button.d.ts +3 -0
- package/dist/button.js +1 -0
- package/dist/calendar.d.ts +3 -0
- package/dist/calendar.js +1 -0
- package/dist/card.d.ts +2 -0
- package/dist/card.js +1 -0
- package/dist/carousel.d.ts +2 -0
- package/dist/carousel.js +1 -0
- package/dist/checkbox.d.ts +3 -0
- package/dist/checkbox.js +1 -0
- package/dist/chip-input.d.ts +2 -0
- package/dist/chip-input.js +1 -0
- package/dist/chip.d.ts +2 -0
- package/dist/chip.js +1 -0
- package/dist/chunks/Button-BoymWE-L.js +2 -0
- package/dist/chunks/Button-BoymWE-L.js.map +1 -0
- package/dist/chunks/Button-Cptd4Yk7.d.ts +66 -0
- package/dist/chunks/Chip-DCaWaBqo.js +2 -0
- package/dist/chunks/Chip-DCaWaBqo.js.map +1 -0
- package/dist/chunks/CloseButton-DPgQztE0.js +2 -0
- package/dist/chunks/CloseButton-DPgQztE0.js.map +1 -0
- package/dist/chunks/ComboboxItem-C9TpoJOI.d.ts +55 -0
- package/dist/chunks/ComboboxListBox-Cm3L1ULl.js +2 -0
- package/dist/chunks/ComboboxListBox-Cm3L1ULl.js.map +1 -0
- package/dist/chunks/DateSegment-2agXAd0f.js +2 -0
- package/dist/chunks/DateSegment-2agXAd0f.js.map +1 -0
- package/dist/chunks/FormHelp-AE6_iSLJ.js +2 -0
- package/dist/chunks/FormHelp-AE6_iSLJ.js.map +1 -0
- package/dist/chunks/FormLabel-CYcQiFUI.js +2 -0
- package/dist/chunks/FormLabel-CYcQiFUI.js.map +1 -0
- package/dist/chunks/Icon-CioraWLF.d.ts +37 -0
- package/dist/chunks/Icon-DLB1f88W.js +2 -0
- package/dist/chunks/Icon-DLB1f88W.js.map +1 -0
- package/dist/chunks/Link-CZsWCnQb.js +2 -0
- package/dist/chunks/Link-CZsWCnQb.js.map +1 -0
- package/dist/chunks/Link-nrd0JWlO.d.ts +71 -0
- package/dist/chunks/Menu-CSBg2Zmc.js +2 -0
- package/dist/chunks/Menu-CSBg2Zmc.js.map +1 -0
- package/dist/chunks/Menu-QeYOzrUL.d.ts +95 -0
- package/{src/components/menu/MenuItemDef.ts → dist/chunks/MenuItemDef-D0VDtYIQ.d.ts} +25 -25
- package/dist/chunks/MenuToggle-BdQtF7FV.js +2 -0
- package/dist/chunks/MenuToggle-BdQtF7FV.js.map +1 -0
- package/dist/chunks/Portal-CgeR1WXV.js +2 -0
- package/dist/chunks/Portal-CgeR1WXV.js.map +1 -0
- package/dist/chunks/RangeCalendar-BJl-j4W2.js +2 -0
- package/dist/chunks/RangeCalendar-BJl-j4W2.js.map +1 -0
- package/dist/chunks/VisuallyHidden-C2dM7HhC.js +2 -0
- package/dist/chunks/VisuallyHidden-C2dM7HhC.js.map +1 -0
- package/dist/chunks/accordion-B8UWyvQB.js +2 -0
- package/dist/chunks/accordion-B8UWyvQB.js.map +1 -0
- package/dist/chunks/alert-BXI-_qlt.js +2 -0
- package/dist/chunks/alert-BXI-_qlt.js.map +1 -0
- package/dist/chunks/autocomplete-Baf9VSHN.js +2 -0
- package/dist/chunks/autocomplete-Baf9VSHN.js.map +1 -0
- package/dist/chunks/avatar-S3dGy6Qc.js +2 -0
- package/dist/chunks/avatar-S3dGy6Qc.js.map +1 -0
- package/dist/chunks/badge-D2oztCvs.js +2 -0
- package/dist/chunks/badge-D2oztCvs.js.map +1 -0
- package/dist/chunks/breadcrumb-s6J9itez.js +2 -0
- package/dist/chunks/breadcrumb-s6J9itez.js.map +1 -0
- package/dist/chunks/breakpoints-CJ-498B7.d.ts +7 -0
- package/dist/chunks/breakpoints-o_2Ev7ir.js +2 -0
- package/dist/chunks/breakpoints-o_2Ev7ir.js.map +1 -0
- package/dist/chunks/button-group-BGppPrIv.js +2 -0
- package/dist/chunks/button-group-BGppPrIv.js.map +1 -0
- package/dist/chunks/card-YXn3bj_d.js +2 -0
- package/dist/chunks/card-YXn3bj_d.js.map +1 -0
- package/dist/chunks/carousel-fTVPqnSV.js +2 -0
- package/dist/chunks/carousel-fTVPqnSV.js.map +1 -0
- package/dist/chunks/checkbox-ChACalAw.js +2 -0
- package/dist/chunks/checkbox-ChACalAw.js.map +1 -0
- package/dist/chunks/chip-input-BpVDRERg.js +2 -0
- package/dist/chunks/chip-input-BpVDRERg.js.map +1 -0
- package/dist/chunks/collapse--Go2Y73B.js +2 -0
- package/dist/chunks/collapse--Go2Y73B.js.map +1 -0
- package/dist/chunks/color-input-Bwl5ef5B.js +2 -0
- package/dist/chunks/color-input-Bwl5ef5B.js.map +1 -0
- package/dist/chunks/combobox-Bp1tIaiW.js +2 -0
- package/dist/chunks/combobox-Bp1tIaiW.js.map +1 -0
- package/dist/chunks/context-menu-B4a0tS-h.js +2 -0
- package/dist/chunks/context-menu-B4a0tS-h.js.map +1 -0
- package/dist/chunks/datagrid-CH3Cy-q7.js +3 -0
- package/dist/chunks/datagrid-CH3Cy-q7.js.map +1 -0
- package/dist/chunks/dateRangePresets-R1FtA1zp.d.ts +42 -0
- package/dist/chunks/datepicker-bOiM_zhJ.js +2 -0
- package/dist/chunks/datepicker-bOiM_zhJ.js.map +1 -0
- package/dist/chunks/dialogTransition-i9vw0i2Z.js +2 -0
- package/dist/chunks/dialogTransition-i9vw0i2Z.js.map +1 -0
- package/dist/chunks/direction-LN6uwsK5.js +2 -0
- package/dist/chunks/direction-LN6uwsK5.js.map +1 -0
- package/dist/chunks/divider-CjbF4OfA.js +2 -0
- package/dist/chunks/divider-CjbF4OfA.js.map +1 -0
- package/dist/chunks/drawer-C7Tz4XU_.js +2 -0
- package/dist/chunks/drawer-C7Tz4XU_.js.map +1 -0
- package/dist/chunks/file-input-CDM6qrmV.js +2 -0
- package/dist/chunks/file-input-CDM6qrmV.js.map +1 -0
- package/dist/chunks/flex-CmlJbKVj.js +2 -0
- package/dist/chunks/flex-CmlJbKVj.js.map +1 -0
- package/dist/chunks/floating-input-DmSZZc27.js +2 -0
- package/dist/chunks/floating-input-DmSZZc27.js.map +1 -0
- package/dist/chunks/focus-ring-SR_LwaN7.js +2 -0
- package/dist/chunks/focus-ring-SR_LwaN7.js.map +1 -0
- package/dist/chunks/focusRedirect-BrvK3U_o.js +2 -0
- package/dist/chunks/focusRedirect-BrvK3U_o.js.map +1 -0
- package/dist/chunks/form-GpdAyWWi.js +2 -0
- package/dist/chunks/form-GpdAyWWi.js.map +1 -0
- package/dist/chunks/form-field-CNPGTMiW.js +2 -0
- package/dist/chunks/form-field-CNPGTMiW.js.map +1 -0
- package/dist/chunks/grid-DK_vxz-4.js +2 -0
- package/dist/chunks/grid-DK_vxz-4.js.map +1 -0
- package/dist/chunks/icon-BQsT6YtE.js +2 -0
- package/dist/chunks/icon-BQsT6YtE.js.map +1 -0
- package/dist/chunks/iconConfig-C6gbYhsD.d.ts +71 -0
- package/dist/chunks/iconSlot-BNu2MrFI.js +2 -0
- package/dist/chunks/iconSlot-BNu2MrFI.js.map +1 -0
- package/dist/chunks/index-4cKG9KWB.d.ts +85 -0
- package/dist/chunks/index-6uob77s9.d.ts +81 -0
- package/dist/chunks/index-91YA-jkp.d.ts +127 -0
- package/dist/chunks/index-9rQeMqVI.d.ts +42 -0
- package/dist/chunks/index-B0-8n-Gs.d.ts +106 -0
- package/dist/chunks/index-B2K-O9kl.d.ts +59 -0
- package/dist/chunks/index-B8uaSJA9.d.ts +96 -0
- package/dist/chunks/index-BA-raEMm.d.ts +29 -0
- package/dist/chunks/index-BAsbRx5n.d.ts +54 -0
- package/dist/chunks/index-BF3OWUVc.d.ts +66 -0
- package/dist/chunks/index-BNf0jIIL.d.ts +213 -0
- package/dist/chunks/index-BO9jLOIb.d.ts +59 -0
- package/dist/chunks/index-BTTeKpiE.d.ts +364 -0
- package/dist/chunks/index-BVGGIaPX.d.ts +111 -0
- package/dist/chunks/index-B_UzbGOa.d.ts +195 -0
- package/dist/chunks/index-Bi8FFadV.d.ts +99 -0
- package/dist/chunks/index-Bkj17NEQ.d.ts +51 -0
- package/dist/chunks/index-Bm2NpgND.d.ts +82 -0
- package/dist/chunks/index-BnR7wjax.d.ts +68 -0
- package/dist/chunks/index-BxROljJI.d.ts +18 -0
- package/dist/chunks/index-Bz8MDq0H.d.ts +85 -0
- package/dist/chunks/index-C4Dks__B.d.ts +139 -0
- package/dist/chunks/index-CCXJXToc.d.ts +53 -0
- package/dist/chunks/index-CFnQubsV.d.ts +123 -0
- package/dist/chunks/index-CJXKl97l.d.ts +120 -0
- package/dist/chunks/index-CJzKu7QI.d.ts +41 -0
- package/dist/chunks/index-CKx1KHED.d.ts +303 -0
- package/dist/chunks/index-COsIPd8L.d.ts +63 -0
- package/dist/chunks/index-CRfm7W6C.d.ts +231 -0
- package/dist/chunks/index-CTpwB1yR.d.ts +236 -0
- package/dist/chunks/index-CVUMS0x7.d.ts +74 -0
- package/dist/chunks/index-CYgBmZ8w.d.ts +271 -0
- package/dist/chunks/index-Cc4SSslb.d.ts +205 -0
- package/dist/chunks/index-CftERHnE.d.ts +25 -0
- package/dist/chunks/index-Ci7AEgEc.d.ts +47 -0
- package/dist/chunks/index-CqZ68Z8R.d.ts +415 -0
- package/dist/chunks/index-CsARGAzD.d.ts +50 -0
- package/dist/chunks/index-CsMIgBsd.d.ts +40 -0
- package/dist/chunks/index-D9PZHY_I.d.ts +136 -0
- package/dist/chunks/index-DAoPg59I.d.ts +81 -0
- package/dist/chunks/index-DHGgezXU.d.ts +59 -0
- package/dist/chunks/index-DHOG_rjE.d.ts +121 -0
- package/dist/chunks/index-DJfga0Ce.d.ts +57 -0
- package/dist/chunks/index-DJr_ZK4b.d.ts +110 -0
- package/dist/chunks/index-DMbdEm__.d.ts +119 -0
- package/dist/chunks/index-DXjbI7Yv.d.ts +133 -0
- package/dist/chunks/index-DaHQdNul.d.ts +182 -0
- package/dist/chunks/index-Dcc_W6Kv.d.ts +147 -0
- package/dist/chunks/index-DceCODH9.d.ts +138 -0
- package/dist/chunks/index-Ddd7iWfm.d.ts +32 -0
- package/dist/chunks/index-Dfg4Ftb8.d.ts +69 -0
- package/dist/chunks/index-Dfy1YW5j.d.ts +74 -0
- package/dist/chunks/index-DgHvXzVh.d.ts +208 -0
- package/dist/chunks/index-Dh5CaHTP.d.ts +45 -0
- package/dist/chunks/index-DjXRq-n3.d.ts +98 -0
- package/dist/chunks/index-DjrEvKd-.d.ts +193 -0
- package/dist/chunks/index-DtbUXxjz.d.ts +54 -0
- package/dist/chunks/index-Du9fBqkT.d.ts +56 -0
- package/dist/chunks/index-FKh7iFQE.d.ts +95 -0
- package/dist/chunks/index-HrKN6s8z.d.ts +67 -0
- package/dist/chunks/index-I-H3VJ-L.d.ts +229 -0
- package/dist/chunks/index-RHJhkSY-.d.ts +273 -0
- package/dist/chunks/index-e7SJkI_m.d.ts +102 -0
- package/dist/chunks/index-g74gO0pc.d.ts +36 -0
- package/dist/chunks/index-qMq_-GY2.d.ts +105 -0
- package/dist/chunks/index-t_x6jj7l.d.ts +97 -0
- package/dist/chunks/input-adorn-DwdX-jxA.js +2 -0
- package/dist/chunks/input-adorn-DwdX-jxA.js.map +1 -0
- package/dist/chunks/input-group-Cuiuf4Dl.js +2 -0
- package/dist/chunks/input-group-Cuiuf4Dl.js.map +1 -0
- package/dist/chunks/lazyElement-tfMG21pZ.js +2 -0
- package/dist/chunks/lazyElement-tfMG21pZ.js.map +1 -0
- package/dist/chunks/list-BQCkwWjF.js +2 -0
- package/dist/chunks/list-BQCkwWjF.js.map +1 -0
- package/dist/chunks/menu-98EAD9nj.js +2 -0
- package/dist/chunks/menu-98EAD9nj.js.map +1 -0
- package/dist/chunks/modal-bgDR29Jh.js +2 -0
- package/dist/chunks/modal-bgDR29Jh.js.map +1 -0
- package/dist/chunks/nav-TiZuTHC6.js +2 -0
- package/dist/chunks/nav-TiZuTHC6.js.map +1 -0
- package/dist/chunks/nav-overflow-Ay5mM5Gc.js +2 -0
- package/dist/chunks/nav-overflow-Ay5mM5Gc.js.map +1 -0
- package/dist/chunks/navOverflow-B5krZe6D.js +2 -0
- package/dist/chunks/navOverflow-B5krZe6D.js.map +1 -0
- package/dist/chunks/navVariant-CnD21GBS.d.ts +5 -0
- package/dist/chunks/navVariant-DeGTk9B7.js +2 -0
- package/dist/chunks/navVariant-DeGTk9B7.js.map +1 -0
- package/dist/chunks/navbar-DxIwt0sc.js +2 -0
- package/dist/chunks/navbar-DxIwt0sc.js.map +1 -0
- package/dist/chunks/notification-Ds24wnPq.js +2 -0
- package/dist/chunks/notification-Ds24wnPq.js.map +1 -0
- package/dist/chunks/number-field-IBIX2IWH.js +2 -0
- package/dist/chunks/number-field-IBIX2IWH.js.map +1 -0
- package/dist/chunks/otp-input-ws393uPB.js +2 -0
- package/dist/chunks/otp-input-ws393uPB.js.map +1 -0
- package/dist/chunks/overlayPlacement-BtS90IVf.js +2 -0
- package/dist/chunks/overlayPlacement-BtS90IVf.js.map +1 -0
- package/dist/chunks/overlayPlacement-CIsLpycT.d.ts +7 -0
- package/dist/chunks/pagination-BkOquk-x.js +2 -0
- package/dist/chunks/pagination-BkOquk-x.js.map +1 -0
- package/dist/chunks/password-strength-DDK8pHRq.js +2 -0
- package/dist/chunks/password-strength-DDK8pHRq.js.map +1 -0
- package/dist/chunks/placeholder-BCr83sUn.js +2 -0
- package/dist/chunks/placeholder-BCr83sUn.js.map +1 -0
- package/dist/chunks/polymorphic-BhGNZQja.js +2 -0
- package/dist/chunks/polymorphic-BhGNZQja.js.map +1 -0
- package/dist/chunks/polymorphic-CVHbTHSN.d.ts +41 -0
- package/dist/chunks/popover-Bdg8D4sm.js +2 -0
- package/dist/chunks/popover-Bdg8D4sm.js.map +1 -0
- package/dist/chunks/progress-zWkTltor.js +2 -0
- package/dist/chunks/progress-zWkTltor.js.map +1 -0
- package/dist/chunks/radio-DOFYCfJi.js +2 -0
- package/dist/chunks/radio-DOFYCfJi.js.map +1 -0
- package/dist/chunks/range-input-CT_8TKL7.js +2 -0
- package/dist/chunks/range-input-CT_8TKL7.js.map +1 -0
- package/dist/chunks/renderFormCheck-DN_-V62U.js +2 -0
- package/dist/chunks/renderFormCheck-DN_-V62U.js.map +1 -0
- package/dist/chunks/renderFormCheck-DZh_5Df8.d.ts +24 -0
- package/dist/chunks/renderFormField-Brkw1yA6.js +2 -0
- package/dist/chunks/renderFormField-Brkw1yA6.js.map +1 -0
- package/dist/chunks/renderFormField-ChNagAFN.d.ts +15 -0
- package/dist/chunks/renderMenuItemContent-DUezZrpj.js +2 -0
- package/dist/chunks/renderMenuItemContent-DUezZrpj.js.map +1 -0
- package/dist/chunks/scrollspy-C2HmrnZ4.js +2 -0
- package/dist/chunks/scrollspy-C2HmrnZ4.js.map +1 -0
- package/dist/chunks/scrollspy-D_lPjb92.js +2 -0
- package/dist/chunks/scrollspy-D_lPjb92.js.map +1 -0
- package/dist/chunks/search-field--nDoCI_E.js +2 -0
- package/dist/chunks/search-field--nDoCI_E.js.map +1 -0
- package/dist/chunks/select-BwJIfv9f.js +2 -0
- package/dist/chunks/select-BwJIfv9f.js.map +1 -0
- package/dist/chunks/skeleton-BrD2JwNx.js +2 -0
- package/dist/chunks/skeleton-BrD2JwNx.js.map +1 -0
- package/dist/chunks/slot-CNhFZdHF.js +2 -0
- package/dist/chunks/slot-CNhFZdHF.js.map +1 -0
- package/dist/chunks/spacingClassName-DVhk8m3P.js +2 -0
- package/dist/chunks/spacingClassName-DVhk8m3P.js.map +1 -0
- package/dist/chunks/spinner-DblhvrHL.js +2 -0
- package/dist/chunks/spinner-DblhvrHL.js.map +1 -0
- package/dist/chunks/stack-CsMiQbpq.js +2 -0
- package/dist/chunks/stack-CsMiQbpq.js.map +1 -0
- package/dist/chunks/static-table-D0M4oc_t.js +2 -0
- package/dist/chunks/static-table-D0M4oc_t.js.map +1 -0
- package/dist/chunks/stepper-CVXMJ2yg.js +2 -0
- package/dist/chunks/stepper-CVXMJ2yg.js.map +1 -0
- package/dist/chunks/switch-C6s3LxEv.js +2 -0
- package/dist/chunks/switch-C6s3LxEv.js.map +1 -0
- package/dist/chunks/table-Cy6uEuEP.js +2 -0
- package/dist/chunks/table-Cy6uEuEP.js.map +1 -0
- package/dist/chunks/tableClassName-CZA2Bse8.js +2 -0
- package/dist/chunks/tableClassName-CZA2Bse8.js.map +1 -0
- package/dist/chunks/tabs-91T7-8qq.js +2 -0
- package/dist/chunks/tabs-91T7-8qq.js.map +1 -0
- package/dist/chunks/text-input-B4pTv6SU.js +2 -0
- package/dist/chunks/text-input-B4pTv6SU.js.map +1 -0
- package/dist/chunks/textarea-1A1nABQE.js +2 -0
- package/dist/chunks/textarea-1A1nABQE.js.map +1 -0
- package/dist/chunks/time-field-B3MA7ED_.js +2 -0
- package/dist/chunks/time-field-B3MA7ED_.js.map +1 -0
- package/dist/chunks/toast-CGHl3-oU.js +2 -0
- package/dist/chunks/toast-CGHl3-oU.js.map +1 -0
- package/dist/chunks/tooltip-Bc-u6nIW.js +2 -0
- package/dist/chunks/tooltip-Bc-u6nIW.js.map +1 -0
- package/dist/chunks/tree-Cql1veeZ.js +2 -0
- package/dist/chunks/tree-Cql1veeZ.js.map +1 -0
- package/dist/chunks/types-CS_40Txv.d.ts +35 -0
- package/dist/chunks/unhandledProps-9Kdj7WVf.js +2 -0
- package/dist/chunks/unhandledProps-9Kdj7WVf.js.map +1 -0
- package/dist/chunks/useButtonSemantics-CILM_lhi.js +2 -0
- package/dist/chunks/useButtonSemantics-CILM_lhi.js.map +1 -0
- package/dist/chunks/useControllableState-CPUJxfKW.js +2 -0
- package/dist/chunks/useControllableState-CPUJxfKW.js.map +1 -0
- package/dist/chunks/useDialogElement-CgOnJAzu.js +2 -0
- package/dist/chunks/useDialogElement-CgOnJAzu.js.map +1 -0
- package/dist/chunks/useDisabledAnchorGuard-Cz58UCXy.js +2 -0
- package/dist/chunks/useDisabledAnchorGuard-Cz58UCXy.js.map +1 -0
- package/dist/chunks/useFloatingOverlay-DLIvwx-8.js +2 -0
- package/dist/chunks/useFloatingOverlay-DLIvwx-8.js.map +1 -0
- package/dist/chunks/useForkedRef-DVEfT-KI.js +2 -0
- package/dist/chunks/useForkedRef-DVEfT-KI.js.map +1 -0
- package/dist/chunks/useFormField-BOqmBTC4.js +2 -0
- package/dist/chunks/useFormField-BOqmBTC4.js.map +1 -0
- package/dist/chunks/useIsomorphicLayoutEffect-BbqRwuqn.js +2 -0
- package/dist/chunks/useIsomorphicLayoutEffect-BbqRwuqn.js.map +1 -0
- package/dist/chunks/useOpenStateProps-DykUbnPJ.js +2 -0
- package/dist/chunks/useOpenStateProps-DykUbnPJ.js.map +1 -0
- package/dist/chunks/useToastRegionQueue-CIV5SdiE.js +2 -0
- package/dist/chunks/useToastRegionQueue-CIV5SdiE.js.map +1 -0
- package/dist/chunks/useTransitionState-e5ToY7eX.js +2 -0
- package/dist/chunks/useTransitionState-e5ToY7eX.js.map +1 -0
- package/dist/chunks/validationClassName-gRGs4KBm.js +2 -0
- package/dist/chunks/validationClassName-gRGs4KBm.js.map +1 -0
- package/dist/chunks/visibleState-B_i1zHu2.js +2 -0
- package/dist/chunks/visibleState-B_i1zHu2.js.map +1 -0
- package/dist/close-button.d.ts +2 -0
- package/dist/close-button.js +1 -0
- package/dist/collapse.d.ts +2 -0
- package/dist/collapse.js +1 -0
- package/dist/color-input.d.ts +2 -0
- package/dist/color-input.js +1 -0
- package/dist/combobox.d.ts +3 -0
- package/dist/combobox.js +1 -0
- package/dist/context-menu.d.ts +2 -0
- package/dist/context-menu.js +1 -0
- package/dist/datagrid.d.ts +2 -0
- package/dist/datagrid.js +1 -0
- package/dist/datepicker.d.ts +2 -0
- package/dist/datepicker.js +1 -0
- package/dist/divider.d.ts +2 -0
- package/dist/divider.js +1 -0
- package/dist/drawer.d.ts +2 -0
- package/dist/drawer.js +1 -0
- package/dist/file-input.d.ts +2 -0
- package/dist/file-input.js +1 -0
- package/dist/flex.d.ts +2 -0
- package/dist/flex.js +1 -0
- package/dist/floating-input.d.ts +2 -0
- package/dist/floating-input.js +1 -0
- package/dist/form-field.d.ts +2 -0
- package/dist/form-field.js +1 -0
- package/dist/form.d.ts +2 -0
- package/dist/form.js +1 -0
- package/dist/grid.d.ts +2 -0
- package/dist/grid.js +1 -0
- package/dist/icon.d.ts +4 -0
- package/dist/icon.js +1 -0
- package/dist/index.d.ts +84 -6369
- package/dist/index.js +1 -2
- package/dist/input-adorn.d.ts +2 -0
- package/dist/input-adorn.js +1 -0
- package/dist/input-group.d.ts +2 -0
- package/dist/input-group.js +1 -0
- package/dist/link.d.ts +3 -0
- package/dist/link.js +1 -0
- package/dist/list.d.ts +2 -0
- package/dist/list.js +1 -0
- package/dist/menu.d.ts +4 -0
- package/dist/menu.js +1 -0
- package/dist/modal.d.ts +2 -0
- package/dist/modal.js +1 -0
- package/dist/nav-overflow.d.ts +2 -0
- package/dist/nav-overflow.js +1 -0
- package/dist/nav.d.ts +2 -0
- package/dist/nav.js +1 -0
- package/dist/navbar.d.ts +2 -0
- package/dist/navbar.js +1 -0
- package/dist/notification.d.ts +2 -0
- package/dist/notification.js +1 -0
- package/dist/number-field.d.ts +2 -0
- package/dist/number-field.js +1 -0
- package/dist/otp-input.d.ts +2 -0
- package/dist/otp-input.js +1 -0
- package/dist/pagination.d.ts +2 -0
- package/dist/pagination.js +1 -0
- package/dist/password-strength.d.ts +2 -0
- package/dist/password-strength.js +1 -0
- package/dist/placeholder.d.ts +2 -0
- package/dist/placeholder.js +1 -0
- package/dist/popover.d.ts +2 -0
- package/dist/popover.js +1 -0
- package/dist/portal.d.ts +2 -0
- package/dist/portal.js +1 -0
- package/dist/progress.d.ts +2 -0
- package/dist/progress.js +1 -0
- package/dist/radio.d.ts +2 -0
- package/dist/radio.js +1 -0
- package/dist/range-input.d.ts +2 -0
- package/dist/range-input.js +1 -0
- package/dist/scrollspy.d.ts +2 -0
- package/dist/scrollspy.js +1 -0
- package/dist/search-field.d.ts +2 -0
- package/dist/search-field.js +1 -0
- package/dist/select.d.ts +2 -0
- package/dist/select.js +1 -0
- package/dist/skeleton.d.ts +2 -0
- package/dist/skeleton.js +1 -0
- package/dist/spinner.d.ts +2 -0
- package/dist/spinner.js +1 -0
- package/dist/stack.d.ts +2 -0
- package/dist/stack.js +1 -0
- package/dist/static-table.d.ts +2 -0
- package/dist/static-table.js +1 -0
- package/dist/stepper.d.ts +2 -0
- package/dist/stepper.js +1 -0
- package/dist/style.css +1 -1
- package/dist/switch.d.ts +2 -0
- package/dist/switch.js +1 -0
- package/dist/table.d.ts +2 -0
- package/dist/table.js +1 -0
- package/dist/tabs.d.ts +2 -0
- package/dist/tabs.js +1 -0
- package/dist/text-input.d.ts +2 -0
- package/dist/text-input.js +1 -0
- package/dist/textarea.d.ts +2 -0
- package/dist/textarea.js +1 -0
- package/dist/time-field.d.ts +2 -0
- package/dist/time-field.js +1 -0
- package/dist/toast.d.ts +2 -0
- package/dist/toast.js +1 -0
- package/dist/tooltip.d.ts +2 -0
- package/dist/tooltip.js +1 -0
- package/dist/tree.d.ts +2 -0
- package/dist/tree.js +1 -0
- package/dist/visually-hidden.d.ts +2 -0
- package/dist/visually-hidden.js +1 -0
- package/package.json +120 -53
- package/src/components/accordion/Accordion.tsx +0 -190
- package/src/components/accordion/AccordionBody.tsx +0 -46
- package/src/components/accordion/AccordionHeader.tsx +0 -21
- package/src/components/accordion/AccordionItem.tsx +0 -59
- package/src/components/accordion/context.ts +0 -8
- package/src/components/accordion/index.ts +0 -8
- package/src/components/autocomplete/Autocomplete.tsx +0 -464
- package/src/components/autocomplete/AutocompleteGroup.tsx +0 -20
- package/src/components/autocomplete/AutocompleteItem.tsx +0 -18
- package/src/components/autocomplete/index.ts +0 -6
- package/src/components/avatar/Avatar.tsx +0 -137
- package/src/components/avatar/AvatarImage.tsx +0 -19
- package/src/components/avatar/AvatarStack.tsx +0 -98
- package/src/components/avatar/index.ts +0 -6
- package/src/components/badge/Badge.tsx +0 -94
- package/src/components/badge/index.ts +0 -2
- package/src/components/breadcrumb/Breadcrumb.tsx +0 -68
- package/src/components/breadcrumb/BreadcrumbItem.tsx +0 -38
- package/src/components/breadcrumb/index.ts +0 -4
- package/src/components/button/Button.tsx +0 -232
- package/src/components/button/index.ts +0 -2
- package/src/components/button-group/ButtonGroup.tsx +0 -55
- package/src/components/button-group/ButtonToolbar.tsx +0 -47
- package/src/components/button-group/index.ts +0 -4
- package/src/components/calendar/Calendar.scss +0 -57
- package/src/components/calendar/Calendar.tsx +0 -338
- package/src/components/calendar/CalendarMonthBlock.tsx +0 -57
- package/src/components/calendar/CalendarMonthGrid.tsx +0 -94
- package/src/components/calendar/CalendarMonthYearPicker.tsx +0 -164
- package/src/components/calendar/CalendarNavButton.tsx +0 -24
- package/src/components/calendar/CalendarWeekGrid.tsx +0 -58
- package/src/components/calendar/CalendarYearGrid.tsx +0 -128
- package/src/components/calendar/RangeCalendar.scss +0 -95
- package/src/components/calendar/RangeCalendar.tsx +0 -373
- package/src/components/calendar/index.ts +0 -6
- package/src/components/calendar/labels.tsx +0 -71
- package/src/components/card/Card.tsx +0 -173
- package/src/components/card/CardBody.tsx +0 -75
- package/src/components/card/CardFooter.tsx +0 -47
- package/src/components/card/CardGroup.tsx +0 -51
- package/src/components/card/CardHeader.tsx +0 -47
- package/src/components/card/CardImage.tsx +0 -70
- package/src/components/card/CardImageOverlay.tsx +0 -47
- package/src/components/card/CardLink.tsx +0 -40
- package/src/components/card/CardSubtitle.tsx +0 -47
- package/src/components/card/CardText.tsx +0 -47
- package/src/components/card/CardTitle.tsx +0 -47
- package/src/components/card/index.ts +0 -22
- package/src/components/carousel/Carousel.tsx +0 -753
- package/src/components/carousel/CarouselControlButton.tsx +0 -74
- package/src/components/carousel/CarouselControlNext.tsx +0 -22
- package/src/components/carousel/CarouselControlPrev.tsx +0 -22
- package/src/components/carousel/CarouselIndicators.tsx +0 -44
- package/src/components/carousel/CarouselInner.tsx +0 -56
- package/src/components/carousel/CarouselItem.tsx +0 -51
- package/src/components/carousel/CarouselOverlay.tsx +0 -51
- package/src/components/carousel/CarouselPlayPause.tsx +0 -61
- package/src/components/carousel/carouselEngine.ts +0 -170
- package/src/components/carousel/context.ts +0 -29
- package/src/components/carousel/index.ts +0 -21
- package/src/components/checkbox/Checkbox.tsx +0 -252
- package/src/components/checkbox/CheckboxGroup.tsx +0 -145
- package/src/components/checkbox/context.ts +0 -14
- package/src/components/checkbox/index.ts +0 -4
- package/src/components/chip/Chip.tsx +0 -184
- package/src/components/chip/index.ts +0 -2
- package/src/components/chip-input/ChipInput.tsx +0 -371
- package/src/components/chip-input/ChipList.tsx +0 -95
- package/src/components/chip-input/index.ts +0 -2
- package/src/components/close-button/CloseButton.tsx +0 -205
- package/src/components/close-button/index.ts +0 -2
- package/src/components/collapse/Collapse.tsx +0 -128
- package/src/components/collapse/index.ts +0 -2
- package/src/components/color-input/ColorInput.tsx +0 -106
- package/src/components/color-input/index.ts +0 -2
- package/src/components/combobox/Combobox.tsx +0 -320
- package/src/components/combobox/ComboboxGroup.tsx +0 -27
- package/src/components/combobox/ComboboxItem.tsx +0 -44
- package/src/components/combobox/ComboboxListBox.tsx +0 -98
- package/src/components/combobox/index.ts +0 -6
- package/src/components/datagrid/DataGrid.scss +0 -203
- package/src/components/datagrid/DataGrid.tsx +0 -259
- package/src/components/datagrid/DataGridBody.tsx +0 -162
- package/src/components/datagrid/DataGridCell.tsx +0 -47
- package/src/components/datagrid/DataGridColumn.tsx +0 -109
- package/src/components/datagrid/DataGridHeader.tsx +0 -47
- package/src/components/datagrid/DataGridPinBehavior.tsx +0 -225
- package/src/components/datagrid/DataGridRow.tsx +0 -48
- package/src/components/datagrid/DataGridSelectionCell.tsx +0 -74
- package/src/components/datagrid/DataGridTableLayout.ts +0 -30
- package/src/components/datagrid/index.ts +0 -14
- package/src/components/datagrid/useColumnGeometry.ts +0 -161
- package/src/components/datepicker/CalendarToggleButton.tsx +0 -58
- package/src/components/datepicker/ClearButton.tsx +0 -38
- package/src/components/datepicker/DateField.tsx +0 -54
- package/src/components/datepicker/DatePicker.scss +0 -51
- package/src/components/datepicker/DatePicker.tsx +0 -606
- package/src/components/datepicker/DateRangePicker.scss +0 -11
- package/src/components/datepicker/DateRangePicker.tsx +0 -361
- package/src/components/datepicker/index.ts +0 -4
- package/src/components/datepicker/renderDatePickerShell.tsx +0 -104
- package/src/components/drawer/Drawer.tsx +0 -213
- package/src/components/drawer/DrawerBody.tsx +0 -47
- package/src/components/drawer/DrawerFooter.tsx +0 -51
- package/src/components/drawer/DrawerHeader.tsx +0 -60
- package/src/components/drawer/DrawerTitle.tsx +0 -49
- package/src/components/drawer/index.ts +0 -10
- package/src/components/file-input/FileInput.tsx +0 -100
- package/src/components/file-input/index.ts +0 -2
- package/src/components/flex/Flex.tsx +0 -134
- package/src/components/flex/index.ts +0 -2
- package/src/components/floating-input/FloatingInput.tsx +0 -94
- package/src/components/floating-input/index.ts +0 -2
- package/src/components/form/Form.tsx +0 -26
- package/src/components/form/FormFeedback.tsx +0 -64
- package/src/components/form/FormHelp.tsx +0 -46
- package/src/components/form/FormLabel.tsx +0 -26
- package/src/components/form/index.ts +0 -8
- package/src/components/form/renderFormCheck.tsx +0 -86
- package/src/components/form-field/FormField.tsx +0 -84
- package/src/components/form-field/index.ts +0 -2
- package/src/components/form-field/renderFormField.tsx +0 -85
- package/src/components/grid/Col.tsx +0 -69
- package/src/components/grid/Container.tsx +0 -59
- package/src/components/grid/Grid.tsx +0 -86
- package/src/components/grid/GridItem.tsx +0 -123
- package/src/components/grid/Row.tsx +0 -71
- package/src/components/grid/gap.ts +0 -8
- package/src/components/grid/index.ts +0 -10
- package/src/components/icon/Icon.tsx +0 -74
- package/src/components/icon/index.ts +0 -2
- package/src/components/input-adorn/InputAdorn.tsx +0 -55
- package/src/components/input-adorn/index.ts +0 -2
- package/src/components/input-group/InputGroup.tsx +0 -50
- package/src/components/input-group/InputGroupAddon.tsx +0 -50
- package/src/components/input-group/index.ts +0 -4
- package/src/components/link/Link.tsx +0 -148
- package/src/components/link/index.ts +0 -2
- package/src/components/list/List.tsx +0 -193
- package/src/components/list/ListItem.tsx +0 -91
- package/src/components/list/index.ts +0 -4
- package/src/components/menu/Menu.tsx +0 -408
- package/src/components/menu/MenuDivider.tsx +0 -19
- package/src/components/menu/MenuHeader.tsx +0 -55
- package/src/components/menu/MenuItem.tsx +0 -85
- package/src/components/menu/MenuList.tsx +0 -142
- package/src/components/menu/MenuSubmenu.tsx +0 -284
- package/src/components/menu/MenuSubmenuBack.tsx +0 -39
- package/src/components/menu/MenuText.tsx +0 -47
- package/src/components/menu/MenuToggle.tsx +0 -148
- package/src/components/menu/index.ts +0 -19
- package/src/components/menu/menuNavigation.ts +0 -106
- package/src/components/menu/submenuGroup.ts +0 -43
- package/src/components/modal/Modal.tsx +0 -164
- package/src/components/modal/ModalBody.tsx +0 -47
- package/src/components/modal/ModalFooter.tsx +0 -51
- package/src/components/modal/ModalHeader.tsx +0 -60
- package/src/components/modal/ModalTitle.tsx +0 -49
- package/src/components/modal/index.ts +0 -10
- package/src/components/nav/Nav.tsx +0 -97
- package/src/components/nav/NavItem.tsx +0 -42
- package/src/components/nav/NavLink.tsx +0 -48
- package/src/components/nav/NavTitle.tsx +0 -22
- package/src/components/nav/index.ts +0 -7
- package/src/components/navbar/Navbar.tsx +0 -112
- package/src/components/navbar/NavbarBrand.tsx +0 -58
- package/src/components/navbar/NavbarNav.tsx +0 -47
- package/src/components/navbar/NavbarText.tsx +0 -47
- package/src/components/navbar/NavbarToggler.tsx +0 -34
- package/src/components/navbar/index.ts +0 -10
- package/src/components/notification/Notification.scss +0 -15
- package/src/components/notification/Notification.tsx +0 -187
- package/src/components/notification/NotificationIcon.tsx +0 -21
- package/src/components/notification/NotificationStack.tsx +0 -66
- package/src/components/notification/NotificationText.tsx +0 -47
- package/src/components/notification/NotificationTitle.tsx +0 -47
- package/src/components/notification/context.ts +0 -14
- package/src/components/notification/index.ts +0 -17
- package/src/components/notification/notificationQueue.ts +0 -48
- package/src/components/otp-input/OtpBox.tsx +0 -68
- package/src/components/otp-input/OtpInput.tsx +0 -342
- package/src/components/otp-input/index.ts +0 -2
- package/src/components/pagination/Pagination.tsx +0 -199
- package/src/components/pagination/PaginationItem.tsx +0 -152
- package/src/components/pagination/index.ts +0 -4
- package/src/components/password-strength/PasswordStrength.tsx +0 -155
- package/src/components/password-strength/index.ts +0 -2
- package/src/components/password-strength/strengthScore.ts +0 -79
- package/src/components/placeholder/Placeholder.tsx +0 -178
- package/src/components/placeholder/index.ts +0 -2
- package/src/components/popover/Popover.tsx +0 -269
- package/src/components/popover/index.ts +0 -2
- package/src/components/progress/Progress.tsx +0 -154
- package/src/components/progress/ProgressBar.tsx +0 -88
- package/src/components/progress/index.ts +0 -4
- package/src/components/radio/Radio.tsx +0 -98
- package/src/components/radio/RadioGroup.tsx +0 -142
- package/src/components/radio/context.ts +0 -14
- package/src/components/radio/index.ts +0 -4
- package/src/components/range-input/RangeInput.tsx +0 -109
- package/src/components/range-input/index.ts +0 -2
- package/src/components/select/Select.tsx +0 -277
- package/src/components/select/index.ts +0 -2
- package/src/components/skeleton/Skeleton.tsx +0 -89
- package/src/components/skeleton/SkeletonLoader.tsx +0 -91
- package/src/components/skeleton/index.ts +0 -4
- package/src/components/spinner/Spinner.tsx +0 -77
- package/src/components/spinner/index.ts +0 -2
- package/src/components/stack/Stack.tsx +0 -81
- package/src/components/stack/index.ts +0 -2
- package/src/components/stepper/Stepper.tsx +0 -172
- package/src/components/stepper/StepperItem.tsx +0 -66
- package/src/components/stepper/index.ts +0 -4
- package/src/components/switch/Switch.tsx +0 -259
- package/src/components/switch/index.ts +0 -2
- package/src/components/table/Table.css +0 -39
- package/src/components/table/Table.tsx +0 -413
- package/src/components/table/TableBody.tsx +0 -25
- package/src/components/table/TableCell.tsx +0 -27
- package/src/components/table/TableColumn.tsx +0 -31
- package/src/components/table/TableHeader.tsx +0 -26
- package/src/components/table/TableRow.tsx +0 -24
- package/src/components/table/index.ts +0 -12
- package/src/components/tabs/Tab.tsx +0 -36
- package/src/components/tabs/TabList.tsx +0 -76
- package/src/components/tabs/TabPanel.tsx +0 -68
- package/src/components/tabs/Tabs.tsx +0 -136
- package/src/components/tabs/context.ts +0 -24
- package/src/components/tabs/index.ts +0 -8
- package/src/components/text-input/TextInput.tsx +0 -188
- package/src/components/text-input/index.ts +0 -2
- package/src/components/textarea/Textarea.tsx +0 -145
- package/src/components/textarea/index.ts +0 -2
- package/src/components/toast/Toast.tsx +0 -219
- package/src/components/toast/ToastBody.tsx +0 -64
- package/src/components/toast/ToastFooter.tsx +0 -47
- package/src/components/toast/ToastHeader.tsx +0 -104
- package/src/components/toast/ToastIcon.tsx +0 -21
- package/src/components/toast/Toaster.tsx +0 -87
- package/src/components/toast/context.ts +0 -14
- package/src/components/toast/index.ts +0 -18
- package/src/components/toast/toastQueue.ts +0 -56
- package/src/components/tooltip/Tooltip.tsx +0 -171
- package/src/components/tooltip/index.ts +0 -2
- package/src/global.d.ts +0 -2
- package/src/hooks/index.ts +0 -57
- package/src/hooks/useAutoDismiss.ts +0 -91
- package/src/hooks/useButtonSemantics.ts +0 -33
- package/src/hooks/useControllableState.ts +0 -24
- package/src/hooks/useDialogElement.ts +0 -226
- package/src/hooks/useDisabledAnchorGuard.ts +0 -22
- package/src/hooks/useDismissibleTransition.ts +0 -126
- package/src/hooks/useDrawer.ts +0 -9
- package/src/hooks/useFloatingOverlay.ts +0 -125
- package/src/hooks/useForkedRef.ts +0 -50
- package/src/hooks/useFormField.ts +0 -89
- package/src/hooks/useIsomorphicLayoutEffect.ts +0 -9
- package/src/hooks/useModal.ts +0 -9
- package/src/hooks/useNotification.ts +0 -10
- package/src/hooks/useOverlayPlacement.ts +0 -93
- package/src/hooks/usePagination.ts +0 -89
- package/src/hooks/useToast.ts +0 -9
- package/src/hooks/useToastRegionQueue.ts +0 -27
- package/src/index.ts +0 -502
- package/src/types.ts +0 -133
- package/src/utils/breakpoints.ts +0 -43
- package/src/utils/comboboxCollection.tsx +0 -152
- package/src/utils/dateRangePresets.ts +0 -6
- package/src/utils/devWarning.ts +0 -58
- package/src/utils/dialogTransition.ts +0 -39
- package/src/utils/direction.ts +0 -14
- package/src/utils/focusRedirect.ts +0 -23
- package/src/utils/isWholeUnitDisabled.ts +0 -17
- package/src/utils/mergeIsDateUnavailable.ts +0 -15
- package/src/utils/overlayPlacement.ts +0 -93
- package/src/utils/pointerInteraction.ts +0 -21
- package/src/utils/polymorphic.ts +0 -53
- package/src/utils/renderMenuItemContent.tsx +0 -62
- package/src/utils/setVisibleRangeStart.ts +0 -64
- package/src/utils/spacingClassName.ts +0 -14
- package/src/utils/suppressFocusRingGlobally.ts +0 -84
- package/src/utils/triggerElement.ts +0 -25
- package/src/utils/validationClassName.ts +0 -8
- package/src/utils/virtualFocusStyle.ts +0 -16
|
@@ -0,0 +1,271 @@
|
|
|
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 { n as IconProps } from "./Icon-CioraWLF.js";
|
|
5
|
+
import React, { ElementType, HTMLAttributes, ReactElement, ReactNode } from "react";
|
|
6
|
+
import { ToastQueue } from "react-stately";
|
|
7
|
+
//#region src/components/toast/Toast.d.ts
|
|
8
|
+
interface ToastProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
9
|
+
/**
|
|
10
|
+
* Apply a CSS fade transition to the toast.
|
|
11
|
+
*/
|
|
12
|
+
animation?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Auto hide the toast. The timer starts once the show transition completes and pauses
|
|
15
|
+
* while the pointer is over the toast or focus is within it.
|
|
16
|
+
*/
|
|
17
|
+
autohide?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* A string of all className you want applied to the base component.
|
|
20
|
+
*/
|
|
21
|
+
className?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Adds a close button — shorthand for `ToastHeader`'s/`ToastBody`'s `closeButton` prop.
|
|
24
|
+
* Placed in the header when `icon`/`title`/`time` is set; otherwise placed in the body
|
|
25
|
+
* alongside `message`, or in a header containing only the close button if `message` is
|
|
26
|
+
* also unset.
|
|
27
|
+
*/
|
|
28
|
+
closeButton?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Overrides the close button's accessible name (defaults to `'Close'`). Set this for
|
|
31
|
+
* non-English UIs. Shorthand for `ToastHeader`'s `closeLabel` prop.
|
|
32
|
+
*/
|
|
33
|
+
closeLabel?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the color of the component to one of Chassis context colors.
|
|
36
|
+
*/
|
|
37
|
+
color?: ContextColor;
|
|
38
|
+
/**
|
|
39
|
+
* Whether the toast is shown when it first renders. Such a toast is uncontrolled: its close
|
|
40
|
+
* button and the `autohide` timer hide it. Use `visible` to show and hide it from outside.
|
|
41
|
+
*/
|
|
42
|
+
defaultVisible?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Delay hiding the toast (ms).
|
|
45
|
+
*/
|
|
46
|
+
delay?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Trailing content — typically a row of `Button`s — rendered via a single `ToastFooter`,
|
|
49
|
+
* after `message`/`children`. Pass a function to receive `close` directly, instead of
|
|
50
|
+
* calling `useToast()` from a child component to wire up a "Close" action.
|
|
51
|
+
*/
|
|
52
|
+
footer?: ReactNode | ((close: () => void) => ReactNode);
|
|
53
|
+
/**
|
|
54
|
+
* Leading icon for the header. A string is an icon name, rendered like
|
|
55
|
+
* `<ToastIcon name={icon} />` (or by `IconProvider`'s `component`); pass
|
|
56
|
+
* any other node for a fully custom icon (typically a logo or avatar). Shorthand for
|
|
57
|
+
* `ToastHeader`'s `icon` prop; hidden from assistive technology by default, since it
|
|
58
|
+
* duplicates `title` visually.
|
|
59
|
+
*/
|
|
60
|
+
icon?: string | ReactNode;
|
|
61
|
+
/**
|
|
62
|
+
* Message body, rendered via a single `ToastBody`. For multi-block content, compose
|
|
63
|
+
* `children` manually instead — `message` wraps everything in one element.
|
|
64
|
+
*/
|
|
65
|
+
message?: ReactNode;
|
|
66
|
+
/**
|
|
67
|
+
* Header timestamp, rendered after `title`. Shorthand for `ToastHeader`'s `time` prop.
|
|
68
|
+
*/
|
|
69
|
+
time?: ReactNode;
|
|
70
|
+
/**
|
|
71
|
+
* Header heading, rendered before `time`. Shorthand for `ToastHeader`'s children. When set
|
|
72
|
+
* alongside `message`, wires the toast's `aria-labelledby`/`aria-describedby` to them
|
|
73
|
+
* automatically.
|
|
74
|
+
*/
|
|
75
|
+
title?: ReactNode;
|
|
76
|
+
/**
|
|
77
|
+
* Callback fired once the toast has hidden: after its exit transition.
|
|
78
|
+
*/
|
|
79
|
+
onClose?: () => void;
|
|
80
|
+
/**
|
|
81
|
+
* Callback fired when the toast starts to show.
|
|
82
|
+
*/
|
|
83
|
+
onShow?: () => void;
|
|
84
|
+
/**
|
|
85
|
+
* Callback fired with `false` when the toast asks to hide: its close button, `close` from
|
|
86
|
+
* `useToast` or `footer`, or the `autohide` timer. With `visible` set, the toast hides only
|
|
87
|
+
* when `visible` becomes `false`.
|
|
88
|
+
*/
|
|
89
|
+
onVisibleChange?: (visible: boolean) => void;
|
|
90
|
+
/**
|
|
91
|
+
* ARIA live-region role. Use `status` (the default) for confirmation, progress, and
|
|
92
|
+
* informational messages, which announce politely. Use `alert` for messages that need
|
|
93
|
+
* immediate attention — validation errors, failed operations — which interrupt speech.
|
|
94
|
+
*/
|
|
95
|
+
role?: 'status' | 'alert';
|
|
96
|
+
/**
|
|
97
|
+
* Apply a full-color background with inverted text. Only meaningful alongside `color`.
|
|
98
|
+
*/
|
|
99
|
+
solid?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Apply a semi-transparent background.
|
|
102
|
+
*/
|
|
103
|
+
translucent?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Whether the toast is shown. Setting it makes the toast controlled: it hides only when this
|
|
106
|
+
* becomes `false`, so pair it with `onVisibleChange`. Without either `visible` or
|
|
107
|
+
* `defaultVisible` a toast renders nothing.
|
|
108
|
+
*/
|
|
109
|
+
visible?: boolean;
|
|
110
|
+
}
|
|
111
|
+
declare const Toast: React.ForwardRefExoticComponent<ToastProps & React.RefAttributes<HTMLDivElement>>;
|
|
112
|
+
//#endregion
|
|
113
|
+
//#region src/components/toast/ToastBody.d.ts
|
|
114
|
+
type ToastBodyOwnProps<C extends ElementType> = {
|
|
115
|
+
/**
|
|
116
|
+
* A string of all className you want applied to the base component.
|
|
117
|
+
*/
|
|
118
|
+
className?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Adds a close button alongside the body content, so a toast composed without a
|
|
121
|
+
* `ToastHeader` still gets a dismiss control without any manual layout markup.
|
|
122
|
+
*/
|
|
123
|
+
closeButton?: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Overrides the close button's accessible name (defaults to `'Close'`). Set this for
|
|
126
|
+
* non-English UIs.
|
|
127
|
+
*/
|
|
128
|
+
closeLabel?: string;
|
|
129
|
+
/**
|
|
130
|
+
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
131
|
+
*/
|
|
132
|
+
component?: C;
|
|
133
|
+
};
|
|
134
|
+
type ToastBodyProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, ToastBodyOwnProps<C>>;
|
|
135
|
+
type ToastBodyComponent = (<C extends ElementType = 'div'>(props: ToastBodyProps<C> & {
|
|
136
|
+
ref?: PolymorphicRef<C>;
|
|
137
|
+
}) => ReactElement | null) & {
|
|
138
|
+
displayName?: string;
|
|
139
|
+
};
|
|
140
|
+
declare const ToastBody: ToastBodyComponent;
|
|
141
|
+
//#endregion
|
|
142
|
+
//#region src/components/toast/ToastFooter.d.ts
|
|
143
|
+
type ToastFooterOwnProps<C extends ElementType> = {
|
|
144
|
+
/**
|
|
145
|
+
* A string of all className you want applied to the base component.
|
|
146
|
+
*/
|
|
147
|
+
className?: string;
|
|
148
|
+
/**
|
|
149
|
+
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
150
|
+
*/
|
|
151
|
+
component?: C;
|
|
152
|
+
};
|
|
153
|
+
type ToastFooterProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, ToastFooterOwnProps<C>>;
|
|
154
|
+
type ToastFooterComponent = (<C extends ElementType = 'div'>(props: ToastFooterProps<C> & {
|
|
155
|
+
ref?: PolymorphicRef<C>;
|
|
156
|
+
}) => ReactElement | null) & {
|
|
157
|
+
displayName?: string;
|
|
158
|
+
};
|
|
159
|
+
declare const ToastFooter: ToastFooterComponent;
|
|
160
|
+
//#endregion
|
|
161
|
+
//#region src/components/toast/ToastHeader.d.ts
|
|
162
|
+
type ToastHeaderOwnProps<C extends ElementType> = {
|
|
163
|
+
/**
|
|
164
|
+
* Heading, rendered before `time` as a `<strong>`.
|
|
165
|
+
*/
|
|
166
|
+
children?: ReactNode;
|
|
167
|
+
/**
|
|
168
|
+
* A string of all className you want applied to the base component.
|
|
169
|
+
*/
|
|
170
|
+
className?: string;
|
|
171
|
+
/**
|
|
172
|
+
* Automatically add a close button to the header.
|
|
173
|
+
*/
|
|
174
|
+
closeButton?: boolean;
|
|
175
|
+
/**
|
|
176
|
+
* Overrides the close button's accessible name (defaults to `'Close'`). Set this for
|
|
177
|
+
* non-English UIs.
|
|
178
|
+
*/
|
|
179
|
+
closeLabel?: string;
|
|
180
|
+
/**
|
|
181
|
+
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
182
|
+
*/
|
|
183
|
+
component?: C;
|
|
184
|
+
/**
|
|
185
|
+
* Leading icon. A string is an icon name, rendered like `<ToastIcon name={icon} />` (or by
|
|
186
|
+
* `IconProvider`'s `component`) and hidden from
|
|
187
|
+
* assistive technology by default, since it duplicates the heading visually. Pass any other
|
|
188
|
+
* node for a fully custom icon (typically a logo or avatar) — a custom node is left as-is,
|
|
189
|
+
* since it may carry its own meaningful accessible name (e.g. an avatar's `alt` text).
|
|
190
|
+
*/
|
|
191
|
+
icon?: string | ReactNode;
|
|
192
|
+
/**
|
|
193
|
+
* Trailing timestamp, rendered after the heading.
|
|
194
|
+
*/
|
|
195
|
+
time?: ReactNode;
|
|
196
|
+
/**
|
|
197
|
+
* Sets the `id` on the rendered heading element, for `aria-labelledby` wiring. Set
|
|
198
|
+
* automatically by `Toast` when both `title` and `message` are used together; only needed
|
|
199
|
+
* here for manual wiring in a fully custom composition.
|
|
200
|
+
*/
|
|
201
|
+
titleId?: string;
|
|
202
|
+
};
|
|
203
|
+
type ToastHeaderProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, ToastHeaderOwnProps<C>>;
|
|
204
|
+
type ToastHeaderComponent = (<C extends ElementType = 'div'>(props: ToastHeaderProps<C> & {
|
|
205
|
+
ref?: PolymorphicRef<C>;
|
|
206
|
+
}) => ReactElement | null) & {
|
|
207
|
+
displayName?: string;
|
|
208
|
+
};
|
|
209
|
+
declare const ToastHeader: ToastHeaderComponent;
|
|
210
|
+
//#endregion
|
|
211
|
+
//#region src/components/toast/ToastIcon.d.ts
|
|
212
|
+
type ToastIconProps = IconProps & {
|
|
213
|
+
/**
|
|
214
|
+
* A string of all className you want applied to the base component.
|
|
215
|
+
*/
|
|
216
|
+
className?: string;
|
|
217
|
+
};
|
|
218
|
+
declare const ToastIcon: React.ForwardRefExoticComponent<ToastIconProps & React.RefAttributes<HTMLSpanElement | SVGSVGElement>>;
|
|
219
|
+
//#endregion
|
|
220
|
+
//#region src/components/toast/Toaster.d.ts
|
|
221
|
+
interface ToasterProps extends HTMLAttributes<HTMLDivElement> {
|
|
222
|
+
/**
|
|
223
|
+
* Overrides the toast region's accessible name (defaults to `'Notifications'`, per
|
|
224
|
+
* react-aria). Set this for non-English UIs, or to distinguish multiple toasters on the
|
|
225
|
+
* same page.
|
|
226
|
+
*/
|
|
227
|
+
'aria-label'?: string;
|
|
228
|
+
/**
|
|
229
|
+
* A string of all className you want applied to the base component.
|
|
230
|
+
*/
|
|
231
|
+
className?: string;
|
|
232
|
+
/**
|
|
233
|
+
* Describes the placement of your component.
|
|
234
|
+
*
|
|
235
|
+
* @type 'top-start' | 'top-center' | 'top-end' | 'middle-start' | 'middle-center' | 'middle-end' | 'bottom-start' | 'bottom-center' | 'bottom-end' | string
|
|
236
|
+
*/
|
|
237
|
+
placement?: 'top-start' | 'top-center' | 'top-end' | 'middle-start' | 'middle-center' | 'middle-end' | 'bottom-start' | 'bottom-center' | 'bottom-end' | string;
|
|
238
|
+
}
|
|
239
|
+
declare const Toaster: React.ForwardRefExoticComponent<ToasterProps & React.RefAttributes<HTMLDivElement>>;
|
|
240
|
+
//#endregion
|
|
241
|
+
//#region src/components/toast/toastQueue.d.ts
|
|
242
|
+
interface ToastContent extends Pick<ToastProps, 'animation' | 'autohide' | 'closeButton' | 'closeLabel' | 'color' | 'delay' | 'footer' | 'icon' | 'message' | 'role' | 'solid' | 'time' | 'title' | 'translucent'> {
|
|
243
|
+
/**
|
|
244
|
+
* Content of the toast. Compose manually (typically a `ToastHeader`/`ToastBody`/
|
|
245
|
+
* `ToastFooter`), or leave empty and use the `title`/`message`/`footer` shorthand options
|
|
246
|
+
* instead.
|
|
247
|
+
*/
|
|
248
|
+
children?: ReactNode;
|
|
249
|
+
}
|
|
250
|
+
declare const toastQueue: ToastQueue<ToastContent>;
|
|
251
|
+
declare function addToast(children?: ReactNode, options?: Omit<ToastContent, 'children'>): string;
|
|
252
|
+
declare function closeToast(key: string): void;
|
|
253
|
+
//#endregion
|
|
254
|
+
//#region src/components/toast/context.d.ts
|
|
255
|
+
interface ToastContextProps {
|
|
256
|
+
/**
|
|
257
|
+
* Whether the toast is currently visible.
|
|
258
|
+
*/
|
|
259
|
+
visible?: boolean;
|
|
260
|
+
/**
|
|
261
|
+
* Dismisses the toast. Wire this to any element's `onClick` — see `useToast`.
|
|
262
|
+
*/
|
|
263
|
+
close: () => void;
|
|
264
|
+
}
|
|
265
|
+
//#endregion
|
|
266
|
+
//#region src/hooks/useToast.d.ts
|
|
267
|
+
type UseToastResult = ToastContextProps;
|
|
268
|
+
declare const useToast: () => UseToastResult;
|
|
269
|
+
//#endregion
|
|
270
|
+
export { Toast as _, closeToast as a, ToasterProps as c, ToastHeader as d, ToastHeaderProps as f, ToastBodyProps as g, ToastBody as h, addToast as i, ToastIcon as l, ToastFooterProps as m, useToast as n, toastQueue as o, ToastFooter as p, ToastContent as r, Toaster as s, UseToastResult as t, ToastIconProps as u, ToastProps as v };
|
|
271
|
+
//# sourceMappingURL=index-CYgBmZ8w.d.ts.map
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import "./focus-ring-SR_LwaN7.js";
|
|
2
|
+
import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
|
|
3
|
+
import React, { DialogHTMLAttributes, ElementType, ReactElement } from "react";
|
|
4
|
+
//#region src/components/drawer/Drawer.d.ts
|
|
5
|
+
interface DrawerProps extends Omit<DialogHTMLAttributes<HTMLDialogElement>, 'onCancel' | 'onClose'> {
|
|
6
|
+
/**
|
|
7
|
+
* Show a backdrop while the drawer is open. `'static'` blocks closing on backdrop click
|
|
8
|
+
* (the drawer nudges instead).
|
|
9
|
+
*/
|
|
10
|
+
backdrop?: boolean | 'static';
|
|
11
|
+
/**
|
|
12
|
+
* A string of all className you want applied to the base component.
|
|
13
|
+
*/
|
|
14
|
+
className?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Whether the drawer is open when it first renders. Such a drawer is uncontrolled: it closes
|
|
17
|
+
* itself on a close request. Use `visible` to open and close it from outside.
|
|
18
|
+
*/
|
|
19
|
+
defaultVisible?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Size the height to the drawer's content instead of `--drawer-height`. Meaningful for
|
|
22
|
+
* `placement="bottom"`.
|
|
23
|
+
*/
|
|
24
|
+
fitContent?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Expand the panel to fill the viewport, animating in from the direction of `placement`.
|
|
27
|
+
*/
|
|
28
|
+
fullscreen?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Disable the open/close transition entirely.
|
|
31
|
+
*/
|
|
32
|
+
instant?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Closes the drawer when the escape key is pressed.
|
|
35
|
+
*/
|
|
36
|
+
keyboard?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Renders the drawer open from its first paint, server HTML included, as a non-modal dialog: a
|
|
39
|
+
* static preview. It stays open until a close request. Use `visible` or `defaultVisible` to
|
|
40
|
+
* open it as a modal dialog.
|
|
41
|
+
*/
|
|
42
|
+
open?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Callback fired when the drawer requests to be closed (escape, backdrop click, close button,
|
|
45
|
+
* or another drawer opening).
|
|
46
|
+
*/
|
|
47
|
+
onClose?: () => void;
|
|
48
|
+
/**
|
|
49
|
+
* Callback fired when a close attempt is blocked (static backdrop click, or escape with `keyboard=false`).
|
|
50
|
+
*/
|
|
51
|
+
onClosePrevented?: () => void;
|
|
52
|
+
/**
|
|
53
|
+
* Callback fired after the exit transition completes and the drawer is fully hidden.
|
|
54
|
+
*/
|
|
55
|
+
onHidden?: () => void;
|
|
56
|
+
/**
|
|
57
|
+
* Callback fired when the drawer starts to open.
|
|
58
|
+
*/
|
|
59
|
+
onShow?: () => void;
|
|
60
|
+
/**
|
|
61
|
+
* Callback fired after the entry transition completes and the drawer is fully visible.
|
|
62
|
+
*/
|
|
63
|
+
onShown?: () => void;
|
|
64
|
+
/**
|
|
65
|
+
* Callback fired with `false` when the drawer requests to be closed, at the same moments as
|
|
66
|
+
* `onClose`. It makes `visible` and `onVisibleChange` a pair that takes a state setter.
|
|
67
|
+
*/
|
|
68
|
+
onVisibleChange?: (visible: boolean) => void;
|
|
69
|
+
/**
|
|
70
|
+
* Which viewport edge the panel slides in from. Always required — there is no default
|
|
71
|
+
* off-screen transform without one.
|
|
72
|
+
*/
|
|
73
|
+
placement: 'start' | 'end' | 'top' | 'bottom';
|
|
74
|
+
/**
|
|
75
|
+
* Renders as a drawer only below this breakpoint — inline as a flex container above it.
|
|
76
|
+
*/
|
|
77
|
+
responsive?: 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
78
|
+
/**
|
|
79
|
+
* Allow the page behind the drawer to scroll while it's open.
|
|
80
|
+
*/
|
|
81
|
+
scroll?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Remove the inset gap, border radius, and border so the panel sits flush against the
|
|
84
|
+
* viewport edge.
|
|
85
|
+
*/
|
|
86
|
+
sheet?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* Apply a frosted-glass background to the panel.
|
|
89
|
+
*/
|
|
90
|
+
translucent?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Whether the drawer is open. The drawer is then controlled: a close request only fires
|
|
93
|
+
* `onClose` and `onVisibleChange`, and the drawer closes when this becomes `false`.
|
|
94
|
+
*/
|
|
95
|
+
visible?: boolean;
|
|
96
|
+
}
|
|
97
|
+
interface DrawerContextProps {
|
|
98
|
+
/**
|
|
99
|
+
* Requests the drawer be closed — fires `onClose`. Wire this to any element's `onClick`; see
|
|
100
|
+
* `useDrawer`.
|
|
101
|
+
*/
|
|
102
|
+
close: () => void;
|
|
103
|
+
/**
|
|
104
|
+
* Id generated by `Drawer` and applied automatically by `DrawerTitle` to itself, so the
|
|
105
|
+
* dialog's `aria-labelledby` resolves to it without any manual wiring.
|
|
106
|
+
*/
|
|
107
|
+
titleId?: string;
|
|
108
|
+
}
|
|
109
|
+
declare const Drawer: React.ForwardRefExoticComponent<DrawerProps & React.RefAttributes<HTMLDialogElement>>;
|
|
110
|
+
//#endregion
|
|
111
|
+
//#region src/components/drawer/DrawerBody.d.ts
|
|
112
|
+
type DrawerBodyOwnProps<C extends ElementType> = {
|
|
113
|
+
/**
|
|
114
|
+
* A string of all className you want applied to the base component.
|
|
115
|
+
*/
|
|
116
|
+
className?: string;
|
|
117
|
+
/**
|
|
118
|
+
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
119
|
+
*/
|
|
120
|
+
component?: C;
|
|
121
|
+
};
|
|
122
|
+
type DrawerBodyProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, DrawerBodyOwnProps<C>>;
|
|
123
|
+
type DrawerBodyComponent = (<C extends ElementType = 'div'>(props: DrawerBodyProps<C> & {
|
|
124
|
+
ref?: PolymorphicRef<C>;
|
|
125
|
+
}) => ReactElement | null) & {
|
|
126
|
+
displayName?: string;
|
|
127
|
+
};
|
|
128
|
+
declare const DrawerBody: DrawerBodyComponent;
|
|
129
|
+
//#endregion
|
|
130
|
+
//#region src/components/drawer/DrawerFooter.d.ts
|
|
131
|
+
type DrawerFooterOwnProps<C extends ElementType> = {
|
|
132
|
+
/**
|
|
133
|
+
* A string of all className you want applied to the base component.
|
|
134
|
+
*/
|
|
135
|
+
className?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
138
|
+
*/
|
|
139
|
+
component?: C;
|
|
140
|
+
/**
|
|
141
|
+
* Stack the footer actions as full-width columns instead of a right-aligned row.
|
|
142
|
+
*/
|
|
143
|
+
stacked?: boolean;
|
|
144
|
+
};
|
|
145
|
+
type DrawerFooterProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, DrawerFooterOwnProps<C>>;
|
|
146
|
+
type DrawerFooterComponent = (<C extends ElementType = 'div'>(props: DrawerFooterProps<C> & {
|
|
147
|
+
ref?: PolymorphicRef<C>;
|
|
148
|
+
}) => ReactElement | null) & {
|
|
149
|
+
displayName?: string;
|
|
150
|
+
};
|
|
151
|
+
declare const DrawerFooter: DrawerFooterComponent;
|
|
152
|
+
//#endregion
|
|
153
|
+
//#region src/components/drawer/DrawerHeader.d.ts
|
|
154
|
+
type DrawerHeaderOwnProps<C extends ElementType> = {
|
|
155
|
+
/**
|
|
156
|
+
* A string of all className you want applied to the base component.
|
|
157
|
+
*/
|
|
158
|
+
className?: string;
|
|
159
|
+
/**
|
|
160
|
+
* Add a close button component to the header.
|
|
161
|
+
*/
|
|
162
|
+
closeButton?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Overrides the close button's accessible name (defaults to `'Close'`). Set this for
|
|
165
|
+
* non-English UIs.
|
|
166
|
+
*/
|
|
167
|
+
closeLabel?: string;
|
|
168
|
+
/**
|
|
169
|
+
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
170
|
+
*/
|
|
171
|
+
component?: C;
|
|
172
|
+
};
|
|
173
|
+
type DrawerHeaderProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, DrawerHeaderOwnProps<C>>;
|
|
174
|
+
type DrawerHeaderComponent = (<C extends ElementType = 'div'>(props: DrawerHeaderProps<C> & {
|
|
175
|
+
ref?: PolymorphicRef<C>;
|
|
176
|
+
}) => ReactElement | null) & {
|
|
177
|
+
displayName?: string;
|
|
178
|
+
};
|
|
179
|
+
declare const DrawerHeader: DrawerHeaderComponent;
|
|
180
|
+
//#endregion
|
|
181
|
+
//#region src/components/drawer/DrawerTitle.d.ts
|
|
182
|
+
type DrawerTitleOwnProps<C extends ElementType> = {
|
|
183
|
+
/**
|
|
184
|
+
* A string of all className you want applied to the base component.
|
|
185
|
+
*/
|
|
186
|
+
className?: string;
|
|
187
|
+
/**
|
|
188
|
+
* Component used for the root node. Either a string to use a HTML element or a component.
|
|
189
|
+
*/
|
|
190
|
+
component?: C;
|
|
191
|
+
};
|
|
192
|
+
type DrawerTitleProps<C extends ElementType = 'h2'> = PolymorphicComponentProps<C, DrawerTitleOwnProps<C>>;
|
|
193
|
+
type DrawerTitleComponent = (<C extends ElementType = 'h2'>(props: DrawerTitleProps<C> & {
|
|
194
|
+
ref?: PolymorphicRef<C>;
|
|
195
|
+
}) => ReactElement | null) & {
|
|
196
|
+
displayName?: string;
|
|
197
|
+
};
|
|
198
|
+
declare const DrawerTitle: DrawerTitleComponent;
|
|
199
|
+
//#endregion
|
|
200
|
+
//#region src/hooks/useDrawer.d.ts
|
|
201
|
+
type UseDrawerResult = DrawerContextProps;
|
|
202
|
+
declare const useDrawer: () => UseDrawerResult;
|
|
203
|
+
//#endregion
|
|
204
|
+
export { DrawerHeader as a, DrawerFooterProps as c, Drawer as d, DrawerProps as f, DrawerTitleProps as i, DrawerBody as l, useDrawer as n, DrawerHeaderProps as o, DrawerTitle as r, DrawerFooter as s, UseDrawerResult as t, DrawerBodyProps as u };
|
|
205
|
+
//# sourceMappingURL=index-Cc4SSslb.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
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 };
|
|
25
|
+
//# sourceMappingURL=index-CftERHnE.d.ts.map
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import "./focus-ring-SR_LwaN7.js";
|
|
2
|
+
import { t as FormFieldIds } from "./renderFormField-ChNagAFN.js";
|
|
3
|
+
import { ReactNode } from "react";
|
|
4
|
+
//#region src/components/form-field/FormField.d.ts
|
|
5
|
+
interface FormFieldProps {
|
|
6
|
+
/**
|
|
7
|
+
* The form control(s) this field wraps.
|
|
8
|
+
*/
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* A string of all className you want applied to the component.
|
|
12
|
+
*/
|
|
13
|
+
className?: string;
|
|
14
|
+
/**
|
|
15
|
+
* A description for the field, rendered below the control(s).
|
|
16
|
+
*/
|
|
17
|
+
help?: ReactNode;
|
|
18
|
+
/**
|
|
19
|
+
* The DOM ids of the wrapped control(s), used to associate the label (`htmlFor`) and
|
|
20
|
+
* point your control's own `aria-describedby` at the rendered help/feedback text.
|
|
21
|
+
*/
|
|
22
|
+
ids?: FormFieldIds;
|
|
23
|
+
/**
|
|
24
|
+
* Set field validation state to invalid.
|
|
25
|
+
*/
|
|
26
|
+
invalid?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* An error message for the field, rendered below the control(s) when `invalid` is set.
|
|
29
|
+
*/
|
|
30
|
+
invalidFeedback?: ReactNode;
|
|
31
|
+
/**
|
|
32
|
+
* The field's caption, rendered as a `FormLabel` associated with `ids.input`.
|
|
33
|
+
*/
|
|
34
|
+
label?: ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* Set field validation state to valid.
|
|
37
|
+
*/
|
|
38
|
+
valid?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* A success message for the field, rendered below the control(s) when `valid` is set.
|
|
41
|
+
*/
|
|
42
|
+
validFeedback?: ReactNode;
|
|
43
|
+
}
|
|
44
|
+
declare const FormField: import("react").ForwardRefExoticComponent<FormFieldProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
45
|
+
//#endregion
|
|
46
|
+
export { FormFieldProps as n, FormField as t };
|
|
47
|
+
//# sourceMappingURL=index-Ci7AEgEc.d.ts.map
|