@chassis-ui/react 0.4.1 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -6
- package/dist/accordion.d.ts +1 -1
- package/dist/accordion.js +1 -1
- package/dist/alert.d.ts +1 -1
- package/dist/alert.js +1 -1
- package/dist/autocomplete.d.ts +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/avatar.d.ts +1 -1
- package/dist/avatar.js +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/badge.js +1 -1
- package/dist/breadcrumb.d.ts +1 -1
- package/dist/breadcrumb.js +1 -1
- package/dist/button-group.d.ts +1 -1
- package/dist/button-group.js +1 -1
- package/dist/button.d.ts +2 -2
- package/dist/button.js +1 -1
- package/dist/calendar.d.ts +1 -1
- package/dist/calendar.js +1 -1
- package/dist/card.d.ts +1 -1
- package/dist/card.js +1 -1
- package/dist/carousel.d.ts +1 -1
- package/dist/carousel.js +1 -1
- package/dist/checkbox.d.ts +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/chip-input.d.ts +1 -1
- package/dist/chip-input.js +1 -1
- package/dist/chip.d.ts +1 -1
- package/dist/chip.js +1 -1
- package/dist/chunks/{Button-BuZ_GOHS.d.ts → Button-DblYVwl-.d.ts} +4 -2
- package/dist/chunks/Button-ZU-x1uN_.js +2 -0
- package/dist/chunks/Button-ZU-x1uN_.js.map +1 -0
- package/dist/chunks/Chip-C7QlFCvx.js +2 -0
- package/dist/chunks/Chip-C7QlFCvx.js.map +1 -0
- package/dist/chunks/CloseButton-BPUI5iGX.js +2 -0
- package/dist/chunks/CloseButton-BPUI5iGX.js.map +1 -0
- package/dist/chunks/ComboboxListBox-Db0rSM3w.js +2 -0
- package/dist/chunks/ComboboxListBox-Db0rSM3w.js.map +1 -0
- package/dist/chunks/DateField-4cdcwt0v.js +2 -0
- package/dist/chunks/DateField-4cdcwt0v.js.map +1 -0
- package/dist/chunks/FormHelp-B1eSoack.js +2 -0
- package/dist/chunks/FormHelp-B1eSoack.js.map +1 -0
- package/dist/chunks/FormLabel-CpzWYh6U.js +2 -0
- package/dist/chunks/FormLabel-CpzWYh6U.js.map +1 -0
- package/dist/chunks/{Icon-DLB1f88W.js → Icon-Dk5_q79o.js} +2 -2
- package/dist/chunks/Icon-Dk5_q79o.js.map +1 -0
- package/dist/chunks/Link-DE8NSAXJ.js +2 -0
- package/dist/chunks/Link-DE8NSAXJ.js.map +1 -0
- package/dist/chunks/Menu-BiE9CzNk.js +2 -0
- package/dist/chunks/Menu-BiE9CzNk.js.map +1 -0
- package/dist/chunks/{Menu-QeYOzrUL.d.ts → Menu-CCYshRuL.d.ts} +3 -2
- package/dist/chunks/MenuToggle-W-ZSHFwF.js +2 -0
- package/dist/chunks/MenuToggle-W-ZSHFwF.js.map +1 -0
- package/dist/chunks/Portal-BTDylxAi.js +2 -0
- package/dist/chunks/Portal-BTDylxAi.js.map +1 -0
- package/dist/chunks/RangeCalendar-mM3OeTlU.js +2 -0
- package/dist/chunks/RangeCalendar-mM3OeTlU.js.map +1 -0
- package/dist/chunks/VisuallyHidden-CGv-mBuQ.js +2 -0
- package/dist/chunks/VisuallyHidden-CGv-mBuQ.js.map +1 -0
- package/dist/chunks/accordion-BZlX2uk8.js +2 -0
- package/dist/chunks/accordion-BZlX2uk8.js.map +1 -0
- package/dist/chunks/alert-DSLg5MBb.js +2 -0
- package/dist/chunks/alert-DSLg5MBb.js.map +1 -0
- package/dist/chunks/autocomplete-Btcsjrh3.js +2 -0
- package/dist/chunks/autocomplete-Btcsjrh3.js.map +1 -0
- package/dist/chunks/avatar-BQBbcnk6.js +2 -0
- package/dist/chunks/avatar-BQBbcnk6.js.map +1 -0
- package/dist/chunks/{badge-D2oztCvs.js → badge-Ths1Qn1a.js} +2 -2
- package/dist/chunks/badge-Ths1Qn1a.js.map +1 -0
- package/dist/chunks/breadcrumb-BTiQikk-.js +2 -0
- package/dist/chunks/breadcrumb-BTiQikk-.js.map +1 -0
- package/dist/chunks/breakpoints-CGk8szzR.js.map +1 -1
- package/dist/chunks/button-group-CefkGeYL.js +2 -0
- package/dist/chunks/button-group-CefkGeYL.js.map +1 -0
- package/dist/chunks/card-CEQgHIaL.js +2 -0
- package/dist/chunks/card-CEQgHIaL.js.map +1 -0
- package/dist/chunks/carousel-DC-UGc6W.js +2 -0
- package/dist/chunks/carousel-DC-UGc6W.js.map +1 -0
- package/dist/chunks/checkbox-ko6CdtoT.js +2 -0
- package/dist/chunks/checkbox-ko6CdtoT.js.map +1 -0
- package/dist/chunks/chip-input-CugY8EOc.js +2 -0
- package/dist/chunks/chip-input-CugY8EOc.js.map +1 -0
- package/dist/chunks/{collapse--Go2Y73B.js → collapse-CBi3RWTf.js} +2 -2
- package/dist/chunks/collapse-CBi3RWTf.js.map +1 -0
- package/dist/chunks/color-input-C4zMWlvm.js +2 -0
- package/dist/chunks/color-input-C4zMWlvm.js.map +1 -0
- package/dist/chunks/colorClassNames-YzGWu6qm.js +2 -0
- package/dist/chunks/colorClassNames-YzGWu6qm.js.map +1 -0
- package/dist/chunks/combobox-DNqR4d3V.js +2 -0
- package/dist/chunks/combobox-DNqR4d3V.js.map +1 -0
- package/dist/chunks/context-DCg95BgR.js +2 -0
- package/dist/chunks/context-DCg95BgR.js.map +1 -0
- package/dist/chunks/context-HDVxTNPi.js +2 -0
- package/dist/chunks/context-HDVxTNPi.js.map +1 -0
- package/dist/chunks/context-menu-D3DNFN-P.js +2 -0
- package/dist/chunks/context-menu-D3DNFN-P.js.map +1 -0
- package/dist/chunks/datagrid-n9vFeXN1.js +2 -0
- package/dist/chunks/datagrid-n9vFeXN1.js.map +1 -0
- package/dist/chunks/datepicker-DqztYJD6.js +2 -0
- package/dist/chunks/datepicker-DqztYJD6.js.map +1 -0
- package/dist/chunks/{dialogTransition-i9vw0i2Z.js → dialogTransition-C8fYTsSa.js} +2 -2
- package/dist/chunks/dialogTransition-C8fYTsSa.js.map +1 -0
- package/dist/chunks/direction-LN6uwsK5.js.map +1 -1
- package/dist/chunks/divider-C1-NoKMV.js +2 -0
- package/dist/chunks/divider-C1-NoKMV.js.map +1 -0
- package/dist/chunks/drawer-CRv9jmbp.js +2 -0
- package/dist/chunks/drawer-CRv9jmbp.js.map +1 -0
- package/dist/chunks/file-input-D_Gl1h-T.js +2 -0
- package/dist/chunks/file-input-D_Gl1h-T.js.map +1 -0
- package/dist/chunks/{flex-B52oLCCC.js → flex-C2jV5LyV.js} +2 -2
- package/dist/chunks/flex-C2jV5LyV.js.map +1 -0
- package/dist/chunks/floating-input-D4gWFfOU.js +2 -0
- package/dist/chunks/floating-input-D4gWFfOU.js.map +1 -0
- package/dist/chunks/focus-ring-Bs80iIBN.js +2 -0
- package/dist/chunks/focus-ring-Bs80iIBN.js.map +1 -0
- package/dist/chunks/focusRedirect-CrBl4p_n.js +2 -0
- package/dist/chunks/focusRedirect-CrBl4p_n.js.map +1 -0
- package/dist/chunks/form-CPS2eNw1.js +2 -0
- package/dist/chunks/form-CPS2eNw1.js.map +1 -0
- package/dist/chunks/{form-field-CNPGTMiW.js → form-field-Bcx96ezd.js} +2 -2
- package/dist/chunks/form-field-Bcx96ezd.js.map +1 -0
- package/dist/chunks/grid-CkdPftit.js +2 -0
- package/dist/chunks/grid-CkdPftit.js.map +1 -0
- package/dist/chunks/icon-CVD3rTr-.js +2 -0
- package/dist/chunks/icon-CVD3rTr-.js.map +1 -0
- package/dist/chunks/iconSlot-DU_WcSL_.js +2 -0
- package/dist/chunks/iconSlot-DU_WcSL_.js.map +1 -0
- package/dist/chunks/{index-91YA-jkp.d.ts → index-3JVLrDHv.d.ts} +11 -3
- package/dist/chunks/{index-DMbdEm__.d.ts → index-5mW1Y9Lm.d.ts} +7 -4
- package/dist/chunks/{index-Cc4SSslb.d.ts → index-5qsV1-cc.d.ts} +3 -3
- package/dist/chunks/{index-CYvVmTPR.d.ts → index-6PnrAJmb.d.ts} +4 -4
- package/dist/chunks/{index-BA-raEMm.d.ts → index-B5f6haU-.d.ts} +2 -2
- package/dist/chunks/{index-4cKG9KWB.d.ts → index-B8OIYfGw.d.ts} +2 -2
- package/dist/chunks/{index-CjT_4IZx.d.ts → index-BAvt_oPe.d.ts} +14 -5
- package/dist/chunks/{index-DtbUXxjz.d.ts → index-BB8UNxnM.d.ts} +2 -2
- package/dist/chunks/{index-aRdgpeRb.d.ts → index-BEAZrhyV.d.ts} +2 -2
- package/dist/chunks/{index-BOx8v-oT.d.ts → index-BISMaKaC.d.ts} +14 -2
- package/dist/chunks/{index-DtvHH_Mb.d.ts → index-BOroLDDZ.d.ts} +2 -2
- package/dist/chunks/{index-C4Dks__B.d.ts → index-BZpHSGlk.d.ts} +2 -2
- package/dist/chunks/{index-C9gzVqwX.d.ts → index-BbZzaApz.d.ts} +2 -2
- package/dist/chunks/{index-DAoPg59I.d.ts → index-Bca_HQWF.d.ts} +7 -3
- package/dist/chunks/{index-B0-8n-Gs.d.ts → index-Bl-_sC4y.d.ts} +12 -4
- package/dist/chunks/{index-BSLneLYu.d.ts → index-BxJ6Vrhm.d.ts} +2 -2
- package/dist/chunks/{index-CTpwB1yR.d.ts → index-BxrIOrAc.d.ts} +11 -6
- package/dist/chunks/{index-DHcztR18.d.ts → index-ByBbC4Jh.d.ts} +3 -3
- package/dist/chunks/{index-DHGgezXU.d.ts → index-C-IrFdKe.d.ts} +2 -2
- package/dist/chunks/{index-B8uaSJA9.d.ts → index-C0g8NSXY.d.ts} +13 -4
- package/dist/chunks/{index-CFnQubsV.d.ts → index-C1RKm3hQ.d.ts} +5 -3
- package/dist/chunks/{index-BxROljJI.d.ts → index-C3qqMzs5.d.ts} +2 -2
- package/dist/chunks/{index-Dcc_W6Kv.d.ts → index-C6F3DQCd.d.ts} +2 -2
- package/dist/chunks/{index-x0vZRyoU.d.ts → index-CEPAXElM.d.ts} +4 -3
- package/dist/chunks/{index-DaHQdNul.d.ts → index-COVY45gK.d.ts} +2 -2
- package/dist/chunks/{index-DJfga0Ce.d.ts → index-COq1jJ6Y.d.ts} +2 -2
- package/dist/chunks/{index-HrKN6s8z.d.ts → index-CSRGr7pU.d.ts} +2 -2
- package/dist/chunks/{index-B1kw0jzM.d.ts → index-CTNqEMug.d.ts} +6 -3
- package/dist/chunks/{index-6uob77s9.d.ts → index-CW94lG-e.d.ts} +7 -4
- package/dist/chunks/{index-Ddd7iWfm.d.ts → index-CY-A60p6.d.ts} +2 -2
- package/dist/chunks/{index-lSPcxiii.d.ts → index-CbcFEGCh.d.ts} +5 -3
- package/dist/chunks/{index-9rQeMqVI.d.ts → index-Ce0f-bDM.d.ts} +2 -2
- package/dist/chunks/{index-Ci7AEgEc.d.ts → index-Cf3gHDjh.d.ts} +2 -2
- package/dist/chunks/{index-BVGGIaPX.d.ts → index-Cm3rPbI1.d.ts} +10 -5
- package/dist/chunks/{index-DPCwFiJL.d.ts → index-CmljNQ8F.d.ts} +2 -2
- package/dist/chunks/{index-DQImhbhy.d.ts → index-Cpifcw5a.d.ts} +2 -2
- package/dist/chunks/{index-B_UzbGOa.d.ts → index-Ctf5hLue.d.ts} +3 -3
- package/dist/chunks/{index-DM01FX3a.d.ts → index-D0Dhs7YI.d.ts} +18 -6
- package/dist/chunks/{index-BAsbRx5n.d.ts → index-D5KJRfMg.d.ts} +2 -2
- package/dist/chunks/{index-Bz8MDq0H.d.ts → index-DD6Z5NW-.d.ts} +7 -4
- package/dist/chunks/{index-Dfg4Ftb8.d.ts → index-DFKBJxqA.d.ts} +7 -4
- package/dist/chunks/{index-BMkbJVHg.d.ts → index-DGGyvlEQ.d.ts} +3 -3
- package/dist/chunks/{index-YJ9QdBuq.d.ts → index-DOxVxbb9.d.ts} +6 -5
- package/dist/chunks/{index-CxjNw4ss.d.ts → index-DVK16_FU.d.ts} +2 -2
- package/dist/chunks/{index-DHOG_rjE.d.ts → index-DVfH_2Ma.d.ts} +7 -4
- package/dist/chunks/{index-0jbACjYQ.d.ts → index-DXBkVdWc.d.ts} +2 -2
- package/dist/chunks/{index-CsARGAzD.d.ts → index-Davd7Cue.d.ts} +10 -5
- package/dist/chunks/{index-Bi8FFadV.d.ts → index-Dc50UjJy.d.ts} +13 -4
- package/dist/chunks/{index-BF3OWUVc.d.ts → index-Dci43Xhl.d.ts} +3 -3
- package/dist/chunks/{index-B2K-O9kl.d.ts → index-DdFipHYL.d.ts} +5 -4
- package/dist/chunks/{index-Du9fBqkT.d.ts → index-DmmLEHVo.d.ts} +2 -2
- package/dist/chunks/{index-Dzga1f4w.d.ts → index-DsU3M0oP.d.ts} +2 -2
- package/dist/chunks/{index-DP5xugE-.d.ts → index-Es9I0fIS.d.ts} +3 -3
- package/dist/chunks/{index-CqZ68Z8R.d.ts → index-HNUhTj5e.d.ts} +25 -6
- package/dist/chunks/{index-CCXJXToc.d.ts → index-OnB4_h6x.d.ts} +7 -4
- package/dist/chunks/{index-CftERHnE.d.ts → index-QeI-KSng.d.ts} +3 -2
- package/dist/chunks/{index-BLS1jhSJ.d.ts → index-RyE80_VH.d.ts} +2 -2
- package/dist/chunks/{index-CIwzgZJi.d.ts → index-UjmJQRaG.d.ts} +2 -2
- package/dist/chunks/{index-B19ZH3fm.d.ts → index-YzIZhXZ1.d.ts} +2 -2
- package/dist/chunks/{index-CHQR8x8_.d.ts → index-Z_5ArZpE.d.ts} +4 -2
- package/dist/chunks/{index-BNf0jIIL.d.ts → index-doVyX-4i.d.ts} +7 -4
- package/dist/chunks/{index-NGgDkhyn.d.ts → index-mLtlx-d9.d.ts} +6 -3
- package/dist/chunks/{index-g74gO0pc.d.ts → index-sT0Hnr_n.d.ts} +12 -10
- package/dist/chunks/{index-Bkj17NEQ.d.ts → index-t3k_T3Dv.d.ts} +2 -2
- package/dist/chunks/{index-BfEJYF4c.d.ts → index-yVsGuikp.d.ts} +2 -2
- package/dist/chunks/input-adorn-DV9tuWXh.js +2 -0
- package/dist/chunks/input-adorn-DV9tuWXh.js.map +1 -0
- package/dist/chunks/input-group-YB_zoKud.js +2 -0
- package/dist/chunks/input-group-YB_zoKud.js.map +1 -0
- package/dist/chunks/insideEvents-CWcNrMu7.js +2 -0
- package/dist/chunks/insideEvents-CWcNrMu7.js.map +1 -0
- package/dist/chunks/lazyElement-tfMG21pZ.js.map +1 -1
- package/dist/chunks/list-BPBZR66Y.js +2 -0
- package/dist/chunks/list-BPBZR66Y.js.map +1 -0
- package/dist/chunks/menu-Bqlhottl.js +2 -0
- package/dist/chunks/menu-Bqlhottl.js.map +1 -0
- package/dist/chunks/modal-CHvsDTyl.js +2 -0
- package/dist/chunks/modal-CHvsDTyl.js.map +1 -0
- package/dist/chunks/nav-B4U_Hqs7.js +2 -0
- package/dist/chunks/nav-B4U_Hqs7.js.map +1 -0
- package/dist/chunks/nav-overflow-GWARvoQZ.js +2 -0
- package/dist/chunks/nav-overflow-GWARvoQZ.js.map +1 -0
- package/dist/chunks/navOverflow-C_QJmkPM.js +2 -0
- package/dist/chunks/navOverflow-C_QJmkPM.js.map +1 -0
- package/dist/chunks/{navVariant-DeGTk9B7.js → navVariant-D4wiKS8I.js} +2 -2
- package/dist/chunks/navVariant-D4wiKS8I.js.map +1 -0
- package/dist/chunks/navbar-C7dO0YRs.js +2 -0
- package/dist/chunks/navbar-C7dO0YRs.js.map +1 -0
- package/dist/chunks/notification-oIrUtDhl.js +2 -0
- package/dist/chunks/notification-oIrUtDhl.js.map +1 -0
- package/dist/chunks/number-field-ChPTSBwI.js +2 -0
- package/dist/chunks/number-field-ChPTSBwI.js.map +1 -0
- package/dist/chunks/otp-input-DUtCMg8P.js +2 -0
- package/dist/chunks/otp-input-DUtCMg8P.js.map +1 -0
- package/dist/chunks/{overlayPlacement-BtS90IVf.js → overlayPlacement-Q6bcbXA5.js} +2 -2
- package/dist/chunks/overlayPlacement-Q6bcbXA5.js.map +1 -0
- package/dist/chunks/overlayStack-BXtTGCRm.js +2 -0
- package/dist/chunks/overlayStack-BXtTGCRm.js.map +1 -0
- package/dist/chunks/pagination-Dvz8lccd.js +2 -0
- package/dist/chunks/pagination-Dvz8lccd.js.map +1 -0
- package/dist/chunks/{password-strength-DDK8pHRq.js → password-strength-Qg5GHBmu.js} +2 -2
- package/dist/chunks/password-strength-Qg5GHBmu.js.map +1 -0
- package/dist/chunks/placeholder-SPoVRkKE.js +2 -0
- package/dist/chunks/placeholder-SPoVRkKE.js.map +1 -0
- package/dist/chunks/polymorphic-CZIFszAy.js +2 -0
- package/dist/chunks/polymorphic-CZIFszAy.js.map +1 -0
- package/dist/chunks/popover-C_32yD9W.js +2 -0
- package/dist/chunks/popover-C_32yD9W.js.map +1 -0
- package/dist/chunks/progress-CiSJDNwx.js +2 -0
- package/dist/chunks/progress-CiSJDNwx.js.map +1 -0
- package/dist/chunks/radio-C42F_5OD.js +2 -0
- package/dist/chunks/radio-C42F_5OD.js.map +1 -0
- package/dist/chunks/range-input-DeZq_9S7.js +2 -0
- package/dist/chunks/range-input-DeZq_9S7.js.map +1 -0
- package/dist/chunks/renderFormCheck-DvpfK_I4.js +2 -0
- package/dist/chunks/renderFormCheck-DvpfK_I4.js.map +1 -0
- package/dist/chunks/renderFormField-_6WswnEX.js +2 -0
- package/dist/chunks/renderFormField-_6WswnEX.js.map +1 -0
- package/dist/chunks/renderMenuItemContent-DNdj-Ukz.js +2 -0
- package/dist/chunks/renderMenuItemContent-DNdj-Ukz.js.map +1 -0
- package/dist/chunks/scrollspy-BEZEVyIw.js +2 -0
- package/dist/chunks/scrollspy-BEZEVyIw.js.map +1 -0
- package/dist/chunks/scrollspy-D_lPjb92.js.map +1 -1
- package/dist/chunks/search-field-OFsb3t4L.js +2 -0
- package/dist/chunks/search-field-OFsb3t4L.js.map +1 -0
- package/dist/chunks/select-DwyL6aqY.js +2 -0
- package/dist/chunks/select-DwyL6aqY.js.map +1 -0
- package/dist/chunks/skeleton-B2blJGWj.js +2 -0
- package/dist/chunks/skeleton-B2blJGWj.js.map +1 -0
- package/dist/chunks/slot-BQVx1Eew.js +2 -0
- package/dist/chunks/slot-BQVx1Eew.js.map +1 -0
- package/dist/chunks/spacingClassName-DVhk8m3P.js.map +1 -1
- package/dist/chunks/spinner-D8lQCW4u.js +2 -0
- package/dist/chunks/spinner-D8lQCW4u.js.map +1 -0
- package/dist/chunks/stack-DtzW54UK.js +2 -0
- package/dist/chunks/stack-DtzW54UK.js.map +1 -0
- package/dist/chunks/static-table-C7ZtFQ66.js +2 -0
- package/dist/chunks/static-table-C7ZtFQ66.js.map +1 -0
- package/dist/chunks/stepper-tSA84huJ.js +2 -0
- package/dist/chunks/stepper-tSA84huJ.js.map +1 -0
- package/dist/chunks/switch-cp3IZg3L.js +2 -0
- package/dist/chunks/switch-cp3IZg3L.js.map +1 -0
- package/dist/chunks/table-CBTg5Yuq.js +2 -0
- package/dist/chunks/table-CBTg5Yuq.js.map +1 -0
- package/dist/chunks/tableClassName-jRfRDXA3.js +2 -0
- package/dist/chunks/tableClassName-jRfRDXA3.js.map +1 -0
- package/dist/chunks/tabs-DMFSLjnV.js +2 -0
- package/dist/chunks/tabs-DMFSLjnV.js.map +1 -0
- package/dist/chunks/text-input-CR73x-8D.js +2 -0
- package/dist/chunks/text-input-CR73x-8D.js.map +1 -0
- package/dist/chunks/textarea-C-1cMyH4.js +2 -0
- package/dist/chunks/textarea-C-1cMyH4.js.map +1 -0
- package/dist/chunks/time-field-CbCfOQZz.js +2 -0
- package/dist/chunks/time-field-CbCfOQZz.js.map +1 -0
- package/dist/chunks/toast-Dd0J2e1z.js +2 -0
- package/dist/chunks/toast-Dd0J2e1z.js.map +1 -0
- package/dist/chunks/tooltip-CmKeQwYw.js +2 -0
- package/dist/chunks/tooltip-CmKeQwYw.js.map +1 -0
- package/dist/chunks/tree-DNj_EfUl.js +2 -0
- package/dist/chunks/tree-DNj_EfUl.js.map +1 -0
- package/dist/chunks/unhandledProps-9Kdj7WVf.js.map +1 -1
- package/dist/chunks/{useButtonSemantics-CILM_lhi.js → useButtonSemantics-B1SbGaDO.js} +2 -2
- package/dist/chunks/useButtonSemantics-B1SbGaDO.js.map +1 -0
- package/dist/chunks/useControllableState-CPUJxfKW.js.map +1 -1
- package/dist/chunks/useDialogElement-BfygWBPZ.js +2 -0
- package/dist/chunks/useDialogElement-BfygWBPZ.js.map +1 -0
- package/dist/chunks/useDialogTitle-DiB4YDGI.js +2 -0
- package/dist/chunks/useDialogTitle-DiB4YDGI.js.map +1 -0
- package/dist/chunks/useDisabledAnchorGuard-CH6df46a.js +2 -0
- package/dist/chunks/useDisabledAnchorGuard-CH6df46a.js.map +1 -0
- package/dist/chunks/useFloatingOverlay-BuiI_CCn.js +2 -0
- package/dist/chunks/useFloatingOverlay-BuiI_CCn.js.map +1 -0
- package/dist/chunks/useForkedRef-WoqMqsWE.js +2 -0
- package/dist/chunks/useForkedRef-WoqMqsWE.js.map +1 -0
- package/dist/chunks/useFormField-DH2tlc3e.js +2 -0
- package/dist/chunks/useFormField-DH2tlc3e.js.map +1 -0
- package/dist/chunks/useHeldBack-eeTfpa_t.js +2 -0
- package/dist/chunks/useHeldBack-eeTfpa_t.js.map +1 -0
- package/dist/chunks/useHydrated-Dud4JEwp.js +2 -0
- package/dist/chunks/useHydrated-Dud4JEwp.js.map +1 -0
- package/dist/chunks/useIsomorphicLayoutEffect-BbqRwuqn.js.map +1 -1
- package/dist/chunks/{useOpenStateProps-DykUbnPJ.js → useOpenStateProps-BhjSQ3f6.js} +2 -2
- package/dist/chunks/useOpenStateProps-BhjSQ3f6.js.map +1 -0
- package/dist/chunks/useOverlayMaxHeight-DTgbr4UQ.js +2 -0
- package/dist/chunks/useOverlayMaxHeight-DTgbr4UQ.js.map +1 -0
- package/dist/chunks/useRequiredValueInput-gYN8I-LY.js +2 -0
- package/dist/chunks/useRequiredValueInput-gYN8I-LY.js.map +1 -0
- package/dist/chunks/useToastRegionQueue-CuAMxAIA.js +2 -0
- package/dist/chunks/useToastRegionQueue-CuAMxAIA.js.map +1 -0
- package/dist/chunks/{useTransitionState-e5ToY7eX.js → useTransitionState-sQUQey74.js} +2 -2
- package/dist/chunks/useTransitionState-sQUQey74.js.map +1 -0
- package/dist/chunks/validationClassName-gRGs4KBm.js.map +1 -1
- package/dist/chunks/{visibleState-B_i1zHu2.js → visibleState-CWyQak65.js} +2 -2
- package/dist/chunks/visibleState-CWyQak65.js.map +1 -0
- package/dist/close-button.d.ts +1 -1
- package/dist/close-button.js +1 -1
- package/dist/collapse.d.ts +1 -1
- package/dist/collapse.js +1 -1
- package/dist/color-input.d.ts +1 -1
- package/dist/color-input.js +1 -1
- package/dist/combobox.d.ts +1 -1
- package/dist/combobox.js +1 -1
- package/dist/context-menu.d.ts +1 -1
- package/dist/context-menu.js +1 -1
- package/dist/datagrid.d.ts +1 -1
- package/dist/datagrid.js +1 -1
- package/dist/datepicker.d.ts +1 -1
- package/dist/datepicker.js +1 -1
- package/dist/divider.d.ts +1 -1
- package/dist/divider.js +1 -1
- package/dist/drawer.d.ts +1 -1
- package/dist/drawer.js +1 -1
- package/dist/file-input.d.ts +1 -1
- package/dist/file-input.js +1 -1
- package/dist/flex.d.ts +1 -1
- package/dist/flex.js +1 -1
- package/dist/floating-input.d.ts +1 -1
- package/dist/floating-input.js +1 -1
- package/dist/form-field.d.ts +1 -1
- package/dist/form-field.js +1 -1
- package/dist/form.d.ts +1 -1
- package/dist/form.js +1 -1
- package/dist/grid.d.ts +1 -1
- package/dist/grid.js +1 -1
- package/dist/icon.d.ts +1 -1
- package/dist/icon.js +1 -1
- package/dist/index.d.ts +68 -68
- package/dist/index.js +1 -1
- package/dist/input-adorn.d.ts +1 -1
- package/dist/input-adorn.js +1 -1
- package/dist/input-group.d.ts +1 -1
- package/dist/input-group.js +1 -1
- package/dist/link.d.ts +1 -1
- package/dist/link.js +1 -1
- package/dist/list.d.ts +1 -1
- package/dist/list.js +1 -1
- package/dist/menu.d.ts +2 -2
- package/dist/menu.js +1 -1
- package/dist/modal.d.ts +1 -1
- package/dist/modal.js +1 -1
- package/dist/nav-overflow.d.ts +1 -1
- package/dist/nav-overflow.js +1 -1
- package/dist/nav.d.ts +1 -1
- package/dist/nav.js +1 -1
- package/dist/navbar.d.ts +1 -1
- package/dist/navbar.js +1 -1
- package/dist/notification.d.ts +1 -1
- package/dist/notification.js +1 -1
- package/dist/number-field.d.ts +1 -1
- package/dist/number-field.js +1 -1
- package/dist/otp-input.d.ts +1 -1
- package/dist/otp-input.js +1 -1
- package/dist/pagination.d.ts +1 -1
- package/dist/pagination.js +1 -1
- package/dist/password-strength.d.ts +1 -1
- package/dist/password-strength.js +1 -1
- package/dist/placeholder.d.ts +1 -1
- package/dist/placeholder.js +1 -1
- package/dist/popover.d.ts +1 -1
- package/dist/popover.js +1 -1
- package/dist/portal.d.ts +1 -1
- package/dist/portal.js +1 -1
- package/dist/progress.d.ts +1 -1
- package/dist/progress.js +1 -1
- package/dist/radio.d.ts +1 -1
- package/dist/radio.js +1 -1
- package/dist/range-input.d.ts +1 -1
- package/dist/range-input.js +1 -1
- package/dist/scrollspy.d.ts +1 -1
- package/dist/scrollspy.js +1 -1
- package/dist/search-field.d.ts +1 -1
- package/dist/search-field.js +1 -1
- package/dist/select.d.ts +1 -1
- package/dist/select.js +1 -1
- package/dist/skeleton.d.ts +1 -1
- package/dist/skeleton.js +1 -1
- package/dist/spinner.d.ts +1 -1
- package/dist/spinner.js +1 -1
- package/dist/stack.d.ts +1 -1
- package/dist/stack.js +1 -1
- package/dist/static-table.js +1 -1
- package/dist/stepper.d.ts +1 -1
- package/dist/stepper.js +1 -1
- package/dist/style.css +1 -1
- package/dist/switch.d.ts +1 -1
- package/dist/switch.js +1 -1
- package/dist/table.d.ts +1 -1
- package/dist/table.js +1 -1
- package/dist/tabs.d.ts +1 -1
- package/dist/tabs.js +1 -1
- package/dist/text-input.d.ts +1 -1
- package/dist/text-input.js +1 -1
- package/dist/textarea.d.ts +1 -1
- package/dist/textarea.js +1 -1
- package/dist/time-field.d.ts +1 -1
- package/dist/time-field.js +1 -1
- package/dist/toast.d.ts +1 -1
- package/dist/toast.js +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/tree.d.ts +1 -1
- package/dist/tree.js +1 -1
- package/dist/visually-hidden.d.ts +1 -1
- package/dist/visually-hidden.js +1 -1
- package/package.json +29 -28
- package/dist/chunks/Button-BoymWE-L.js +0 -2
- package/dist/chunks/Button-BoymWE-L.js.map +0 -1
- package/dist/chunks/Chip-DCaWaBqo.js +0 -2
- package/dist/chunks/Chip-DCaWaBqo.js.map +0 -1
- package/dist/chunks/CloseButton-DPgQztE0.js +0 -2
- package/dist/chunks/CloseButton-DPgQztE0.js.map +0 -1
- package/dist/chunks/ComboboxListBox-Cm3L1ULl.js +0 -2
- package/dist/chunks/ComboboxListBox-Cm3L1ULl.js.map +0 -1
- package/dist/chunks/DateSegment-2agXAd0f.js +0 -2
- package/dist/chunks/DateSegment-2agXAd0f.js.map +0 -1
- package/dist/chunks/FormHelp-AE6_iSLJ.js +0 -2
- package/dist/chunks/FormHelp-AE6_iSLJ.js.map +0 -1
- package/dist/chunks/FormLabel-CYcQiFUI.js +0 -2
- package/dist/chunks/FormLabel-CYcQiFUI.js.map +0 -1
- package/dist/chunks/Icon-DLB1f88W.js.map +0 -1
- package/dist/chunks/Link-DyZyAQFj.js +0 -2
- package/dist/chunks/Link-DyZyAQFj.js.map +0 -1
- package/dist/chunks/Menu-CSBg2Zmc.js +0 -2
- package/dist/chunks/Menu-CSBg2Zmc.js.map +0 -1
- package/dist/chunks/MenuToggle-7RQ0dmtZ.js +0 -2
- package/dist/chunks/MenuToggle-7RQ0dmtZ.js.map +0 -1
- package/dist/chunks/Portal-CgeR1WXV.js +0 -2
- package/dist/chunks/Portal-CgeR1WXV.js.map +0 -1
- package/dist/chunks/RangeCalendar-BJl-j4W2.js +0 -2
- package/dist/chunks/RangeCalendar-BJl-j4W2.js.map +0 -1
- package/dist/chunks/VisuallyHidden-C2dM7HhC.js +0 -2
- package/dist/chunks/VisuallyHidden-C2dM7HhC.js.map +0 -1
- package/dist/chunks/accordion-B8UWyvQB.js +0 -2
- package/dist/chunks/accordion-B8UWyvQB.js.map +0 -1
- package/dist/chunks/alert-3kTBfWFw.js +0 -2
- package/dist/chunks/alert-3kTBfWFw.js.map +0 -1
- package/dist/chunks/autocomplete-Baf9VSHN.js +0 -2
- package/dist/chunks/autocomplete-Baf9VSHN.js.map +0 -1
- package/dist/chunks/avatar-MklqAKcz.js +0 -2
- package/dist/chunks/avatar-MklqAKcz.js.map +0 -1
- package/dist/chunks/badge-D2oztCvs.js.map +0 -1
- package/dist/chunks/breadcrumb-CHxTiZLt.js +0 -2
- package/dist/chunks/breadcrumb-CHxTiZLt.js.map +0 -1
- package/dist/chunks/button-group-BGppPrIv.js +0 -2
- package/dist/chunks/button-group-BGppPrIv.js.map +0 -1
- package/dist/chunks/card-CTP9K8xG.js +0 -2
- package/dist/chunks/card-CTP9K8xG.js.map +0 -1
- package/dist/chunks/carousel-fTVPqnSV.js +0 -2
- package/dist/chunks/carousel-fTVPqnSV.js.map +0 -1
- package/dist/chunks/checkbox-ZyQn5Ku5.js +0 -2
- package/dist/chunks/checkbox-ZyQn5Ku5.js.map +0 -1
- package/dist/chunks/chip-input-BpVDRERg.js +0 -2
- package/dist/chunks/chip-input-BpVDRERg.js.map +0 -1
- package/dist/chunks/collapse--Go2Y73B.js.map +0 -1
- package/dist/chunks/color-input-Bwl5ef5B.js +0 -2
- package/dist/chunks/color-input-Bwl5ef5B.js.map +0 -1
- package/dist/chunks/colorClassNames-CEh5Yzfp.js +0 -2
- package/dist/chunks/colorClassNames-CEh5Yzfp.js.map +0 -1
- package/dist/chunks/combobox-Bp1tIaiW.js +0 -2
- package/dist/chunks/combobox-Bp1tIaiW.js.map +0 -1
- package/dist/chunks/context-menu-B4a0tS-h.js +0 -2
- package/dist/chunks/context-menu-B4a0tS-h.js.map +0 -1
- package/dist/chunks/datagrid-DOYxx0sF.js +0 -3
- package/dist/chunks/datagrid-DOYxx0sF.js.map +0 -1
- package/dist/chunks/datepicker-bOiM_zhJ.js +0 -2
- package/dist/chunks/datepicker-bOiM_zhJ.js.map +0 -1
- package/dist/chunks/dialogTransition-i9vw0i2Z.js.map +0 -1
- package/dist/chunks/divider-CjbF4OfA.js +0 -2
- package/dist/chunks/divider-CjbF4OfA.js.map +0 -1
- package/dist/chunks/drawer-C7Tz4XU_.js +0 -2
- package/dist/chunks/drawer-C7Tz4XU_.js.map +0 -1
- package/dist/chunks/file-input-CDM6qrmV.js +0 -2
- package/dist/chunks/file-input-CDM6qrmV.js.map +0 -1
- package/dist/chunks/flex-B52oLCCC.js.map +0 -1
- package/dist/chunks/floating-input-DmSZZc27.js +0 -2
- package/dist/chunks/floating-input-DmSZZc27.js.map +0 -1
- package/dist/chunks/focus-ring-SR_LwaN7.js +0 -2
- package/dist/chunks/focus-ring-SR_LwaN7.js.map +0 -1
- package/dist/chunks/focusRedirect-BrvK3U_o.js +0 -2
- package/dist/chunks/focusRedirect-BrvK3U_o.js.map +0 -1
- package/dist/chunks/form-GpdAyWWi.js +0 -2
- package/dist/chunks/form-GpdAyWWi.js.map +0 -1
- package/dist/chunks/form-field-CNPGTMiW.js.map +0 -1
- package/dist/chunks/grid-C7tO-ppc.js +0 -2
- package/dist/chunks/grid-C7tO-ppc.js.map +0 -1
- package/dist/chunks/icon-BQsT6YtE.js +0 -2
- package/dist/chunks/icon-BQsT6YtE.js.map +0 -1
- package/dist/chunks/iconSlot-BNu2MrFI.js +0 -2
- package/dist/chunks/iconSlot-BNu2MrFI.js.map +0 -1
- package/dist/chunks/input-adorn-DwdX-jxA.js +0 -2
- package/dist/chunks/input-adorn-DwdX-jxA.js.map +0 -1
- package/dist/chunks/input-group-Cuiuf4Dl.js +0 -2
- package/dist/chunks/input-group-Cuiuf4Dl.js.map +0 -1
- package/dist/chunks/list-07e2a1Ym.js +0 -2
- package/dist/chunks/list-07e2a1Ym.js.map +0 -1
- package/dist/chunks/menu-Upf6P-2P.js +0 -2
- package/dist/chunks/menu-Upf6P-2P.js.map +0 -1
- package/dist/chunks/modal-bgDR29Jh.js +0 -2
- package/dist/chunks/modal-bgDR29Jh.js.map +0 -1
- package/dist/chunks/nav-DI6oEULI.js +0 -2
- package/dist/chunks/nav-DI6oEULI.js.map +0 -1
- package/dist/chunks/nav-overflow-DlLer6EK.js +0 -2
- package/dist/chunks/nav-overflow-DlLer6EK.js.map +0 -1
- package/dist/chunks/navOverflow-B5krZe6D.js +0 -2
- package/dist/chunks/navOverflow-B5krZe6D.js.map +0 -1
- package/dist/chunks/navVariant-DeGTk9B7.js.map +0 -1
- package/dist/chunks/navbar-DxIwt0sc.js +0 -2
- package/dist/chunks/navbar-DxIwt0sc.js.map +0 -1
- package/dist/chunks/notification-Dbci5Ka3.js +0 -2
- package/dist/chunks/notification-Dbci5Ka3.js.map +0 -1
- package/dist/chunks/number-field-IBIX2IWH.js +0 -2
- package/dist/chunks/number-field-IBIX2IWH.js.map +0 -1
- package/dist/chunks/otp-input-ws393uPB.js +0 -2
- package/dist/chunks/otp-input-ws393uPB.js.map +0 -1
- package/dist/chunks/overlayPlacement-BtS90IVf.js.map +0 -1
- package/dist/chunks/pagination-BREQp-ZC.js +0 -2
- package/dist/chunks/pagination-BREQp-ZC.js.map +0 -1
- package/dist/chunks/password-strength-DDK8pHRq.js.map +0 -1
- package/dist/chunks/placeholder-DhNpUJqv.js +0 -2
- package/dist/chunks/placeholder-DhNpUJqv.js.map +0 -1
- package/dist/chunks/polymorphic-BhGNZQja.js +0 -2
- package/dist/chunks/polymorphic-BhGNZQja.js.map +0 -1
- package/dist/chunks/popover-Bdg8D4sm.js +0 -2
- package/dist/chunks/popover-Bdg8D4sm.js.map +0 -1
- package/dist/chunks/progress-BqgWezdG.js +0 -2
- package/dist/chunks/progress-BqgWezdG.js.map +0 -1
- package/dist/chunks/radio-B6gJdtoN.js +0 -2
- package/dist/chunks/radio-B6gJdtoN.js.map +0 -1
- package/dist/chunks/range-input-CT_8TKL7.js +0 -2
- package/dist/chunks/range-input-CT_8TKL7.js.map +0 -1
- package/dist/chunks/renderFormCheck-DN_-V62U.js +0 -2
- package/dist/chunks/renderFormCheck-DN_-V62U.js.map +0 -1
- package/dist/chunks/renderFormField-Brkw1yA6.js +0 -2
- package/dist/chunks/renderFormField-Brkw1yA6.js.map +0 -1
- package/dist/chunks/renderMenuItemContent-DUezZrpj.js +0 -2
- package/dist/chunks/renderMenuItemContent-DUezZrpj.js.map +0 -1
- package/dist/chunks/scrollspy-C2HmrnZ4.js +0 -2
- package/dist/chunks/scrollspy-C2HmrnZ4.js.map +0 -1
- package/dist/chunks/search-field--nDoCI_E.js +0 -2
- package/dist/chunks/search-field--nDoCI_E.js.map +0 -1
- package/dist/chunks/select-BwJIfv9f.js +0 -2
- package/dist/chunks/select-BwJIfv9f.js.map +0 -1
- package/dist/chunks/skeleton-Bjv9gGd3.js +0 -2
- package/dist/chunks/skeleton-Bjv9gGd3.js.map +0 -1
- package/dist/chunks/slot-CNhFZdHF.js +0 -2
- package/dist/chunks/slot-CNhFZdHF.js.map +0 -1
- package/dist/chunks/spinner-DBuvQvMR.js +0 -2
- package/dist/chunks/spinner-DBuvQvMR.js.map +0 -1
- package/dist/chunks/stack-DK5F53VT.js +0 -2
- package/dist/chunks/stack-DK5F53VT.js.map +0 -1
- package/dist/chunks/static-table-uu297Liz.js +0 -2
- package/dist/chunks/static-table-uu297Liz.js.map +0 -1
- package/dist/chunks/stepper-CVXMJ2yg.js +0 -2
- package/dist/chunks/stepper-CVXMJ2yg.js.map +0 -1
- package/dist/chunks/switch-C6s3LxEv.js +0 -2
- package/dist/chunks/switch-C6s3LxEv.js.map +0 -1
- package/dist/chunks/table-DPLOygg0.js +0 -2
- package/dist/chunks/table-DPLOygg0.js.map +0 -1
- package/dist/chunks/tableClassName-DleBjOj2.js +0 -2
- package/dist/chunks/tableClassName-DleBjOj2.js.map +0 -1
- package/dist/chunks/tabs-91T7-8qq.js +0 -2
- package/dist/chunks/tabs-91T7-8qq.js.map +0 -1
- package/dist/chunks/text-input-B4pTv6SU.js +0 -2
- package/dist/chunks/text-input-B4pTv6SU.js.map +0 -1
- package/dist/chunks/textarea-1A1nABQE.js +0 -2
- package/dist/chunks/textarea-1A1nABQE.js.map +0 -1
- package/dist/chunks/time-field-B3MA7ED_.js +0 -2
- package/dist/chunks/time-field-B3MA7ED_.js.map +0 -1
- package/dist/chunks/toast-CGHl3-oU.js +0 -2
- package/dist/chunks/toast-CGHl3-oU.js.map +0 -1
- package/dist/chunks/tooltip-Bc-u6nIW.js +0 -2
- package/dist/chunks/tooltip-Bc-u6nIW.js.map +0 -1
- package/dist/chunks/tree-Cql1veeZ.js +0 -2
- package/dist/chunks/tree-Cql1veeZ.js.map +0 -1
- package/dist/chunks/useButtonSemantics-CILM_lhi.js.map +0 -1
- package/dist/chunks/useDialogElement-CgOnJAzu.js +0 -2
- package/dist/chunks/useDialogElement-CgOnJAzu.js.map +0 -1
- package/dist/chunks/useDisabledAnchorGuard-Cz58UCXy.js +0 -2
- package/dist/chunks/useDisabledAnchorGuard-Cz58UCXy.js.map +0 -1
- package/dist/chunks/useFloatingOverlay-DLIvwx-8.js +0 -2
- package/dist/chunks/useFloatingOverlay-DLIvwx-8.js.map +0 -1
- package/dist/chunks/useForkedRef-DVEfT-KI.js +0 -2
- package/dist/chunks/useForkedRef-DVEfT-KI.js.map +0 -1
- package/dist/chunks/useFormField-BOqmBTC4.js +0 -2
- package/dist/chunks/useFormField-BOqmBTC4.js.map +0 -1
- package/dist/chunks/useOpenStateProps-DykUbnPJ.js.map +0 -1
- package/dist/chunks/useToastRegionQueue-CIV5SdiE.js +0 -2
- package/dist/chunks/useToastRegionQueue-CIV5SdiE.js.map +0 -1
- package/dist/chunks/useTransitionState-e5ToY7eX.js.map +0 -1
- package/dist/chunks/visibleState-B_i1zHu2.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { i as IconValue } from "./iconConfig-C6gbYhsD.js";
|
|
3
3
|
import React, { InputHTMLAttributes, ReactNode } from "react";
|
|
4
4
|
//#region src/components/number-field/NumberField.d.ts
|
|
@@ -52,11 +52,14 @@ interface NumberFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, '
|
|
|
52
52
|
*/
|
|
53
53
|
incrementIcon?: IconValue;
|
|
54
54
|
/**
|
|
55
|
-
* Set component validation state to invalid.
|
|
55
|
+
* Set component validation state to invalid. Left unset, the component shows as invalid by itself
|
|
56
|
+
* from a submit it held back (an empty `required` one, say) until it no longer would, or its
|
|
57
|
+
* form is reset. Set it, to `false` too, and it alone decides.
|
|
56
58
|
*/
|
|
57
59
|
invalid?: boolean;
|
|
58
60
|
/**
|
|
59
|
-
* An error message for the field, rendered below the input when `invalid` is set
|
|
61
|
+
* An error message for the field, rendered below the input when `invalid` is set, and after a
|
|
62
|
+
* submit the field held back, until it no longer would.
|
|
60
63
|
*/
|
|
61
64
|
invalidFeedback?: ReactNode;
|
|
62
65
|
/**
|
|
@@ -118,4 +121,4 @@ interface NumberFieldProps extends Omit<InputHTMLAttributes<HTMLInputElement>, '
|
|
|
118
121
|
declare const NumberField: React.ForwardRefExoticComponent<NumberFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
119
122
|
//#endregion
|
|
120
123
|
export { NumberFieldProps as n, NumberField as t };
|
|
121
|
-
//# sourceMappingURL=index-
|
|
124
|
+
//# sourceMappingURL=index-DVfH_2Ma.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
|
|
3
3
|
import { i as ContextStyle, r as ContextColor } from "./types-D6FM7bYR.js";
|
|
4
4
|
import { ElementType, ReactElement } from "react";
|
|
@@ -79,4 +79,4 @@ type PlaceholderComponent = (<C extends ElementType = 'img'>(props: PlaceholderP
|
|
|
79
79
|
declare const Placeholder: PlaceholderComponent;
|
|
80
80
|
//#endregion
|
|
81
81
|
export { PlaceholderProps as n, Placeholder as t };
|
|
82
|
-
//# sourceMappingURL=index-
|
|
82
|
+
//# sourceMappingURL=index-DXBkVdWc.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { t as FormFieldIds } from "./renderFormField-ChNagAFN.js";
|
|
3
3
|
import React, { HTMLAttributes, ReactNode } from "react";
|
|
4
4
|
//#region src/components/floating-input/FloatingInput.d.ts
|
|
@@ -19,8 +19,13 @@ interface FloatingInputProps extends Omit<HTMLAttributes<HTMLDivElement>, 'child
|
|
|
19
19
|
*/
|
|
20
20
|
help?: ReactNode;
|
|
21
21
|
/**
|
|
22
|
-
* The
|
|
23
|
-
*
|
|
22
|
+
* The ids that tie the label, help and feedback to the wrapped control, in place of the ones
|
|
23
|
+
* `FloatingInput` generates. A field component of this library (`TextInput`, `Select`,
|
|
24
|
+
* `Textarea`) takes them by itself and needs none. Any other control, such as a native
|
|
25
|
+
* `<input>`, takes them by hand: `input` is the label's `htmlFor` and goes on the control as
|
|
26
|
+
* its `id`, `label` is the label's own `id`, for a control named through `aria-labelledby`,
|
|
27
|
+
* and `help` and `feedback` are the ids of the help and feedback text, for the control's
|
|
28
|
+
* `aria-describedby`. `label` without `input` leaves the label with no `htmlFor`.
|
|
24
29
|
*/
|
|
25
30
|
ids?: FormFieldIds;
|
|
26
31
|
/**
|
|
@@ -32,7 +37,7 @@ interface FloatingInputProps extends Omit<HTMLAttributes<HTMLDivElement>, 'child
|
|
|
32
37
|
*/
|
|
33
38
|
invalidFeedback?: ReactNode;
|
|
34
39
|
/**
|
|
35
|
-
* The field's caption, rendered as a floating `FormLabel` associated with
|
|
40
|
+
* The field's caption, rendered as a floating `FormLabel` associated with the wrapped control.
|
|
36
41
|
*/
|
|
37
42
|
label: ReactNode;
|
|
38
43
|
/**
|
|
@@ -47,4 +52,4 @@ interface FloatingInputProps extends Omit<HTMLAttributes<HTMLDivElement>, 'child
|
|
|
47
52
|
declare const FloatingInput: React.ForwardRefExoticComponent<FloatingInputProps & React.RefAttributes<HTMLDivElement>>;
|
|
48
53
|
//#endregion
|
|
49
54
|
export { FloatingInputProps as n, FloatingInput as t };
|
|
50
|
-
//# sourceMappingURL=index-
|
|
55
|
+
//# sourceMappingURL=index-Davd7Cue.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { i as MenuItemsDef } from "./MenuItemDef-D0VDtYIQ.js";
|
|
3
3
|
import "./ComboboxItem-C9TpoJOI.js";
|
|
4
4
|
import React, { HTMLAttributes, ReactNode } from "react";
|
|
@@ -39,11 +39,14 @@ interface ComboboxProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'
|
|
|
39
39
|
*/
|
|
40
40
|
id?: string;
|
|
41
41
|
/**
|
|
42
|
-
* Set component validation state to invalid.
|
|
42
|
+
* Set component validation state to invalid. Left unset, the component shows as invalid by itself
|
|
43
|
+
* from a submit it held back (an empty `required` one, say) until it no longer would, or its
|
|
44
|
+
* form is reset. Set it, to `false` too, and it alone decides.
|
|
43
45
|
*/
|
|
44
46
|
invalid?: boolean;
|
|
45
47
|
/**
|
|
46
|
-
* An error message for the field, rendered below the combobox when `invalid` is set
|
|
48
|
+
* An error message for the field, rendered below the combobox when `invalid` is set, and after a
|
|
49
|
+
* submit the field held back, until it no longer would.
|
|
47
50
|
*/
|
|
48
51
|
invalidFeedback?: ReactNode;
|
|
49
52
|
/**
|
|
@@ -76,6 +79,12 @@ interface ComboboxProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'
|
|
|
76
79
|
* Placeholder shown in the input when nothing is selected.
|
|
77
80
|
*/
|
|
78
81
|
placeholder?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Toggle the required state for the component. A required combobox with no option selected
|
|
84
|
+
* holds its form back from submitting, and takes focus: text typed without selecting an option
|
|
85
|
+
* is not a value.
|
|
86
|
+
*/
|
|
87
|
+
required?: boolean;
|
|
79
88
|
/**
|
|
80
89
|
* Size the component sm or lg.
|
|
81
90
|
*/
|
|
@@ -96,4 +105,4 @@ interface ComboboxProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'
|
|
|
96
105
|
declare const Combobox: React.ForwardRefExoticComponent<ComboboxProps & React.RefAttributes<HTMLDivElement>>;
|
|
97
106
|
//#endregion
|
|
98
107
|
export { ComboboxProps as n, Combobox as t };
|
|
99
|
-
//# sourceMappingURL=index-
|
|
108
|
+
//# sourceMappingURL=index-Dc50UjJy.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
|
|
3
|
-
import { n as MenuAutoClose } from "./Menu-
|
|
3
|
+
import { n as MenuAutoClose } from "./Menu-CCYshRuL.js";
|
|
4
4
|
import { ElementType, ReactElement } from "react";
|
|
5
5
|
//#region src/components/context-menu/ContextMenu.d.ts
|
|
6
6
|
type ContextMenuOwnProps<C extends ElementType> = {
|
|
@@ -63,4 +63,4 @@ type ContextMenuComponent = (<C extends ElementType = 'div'>(props: ContextMenuP
|
|
|
63
63
|
declare const ContextMenu: ContextMenuComponent;
|
|
64
64
|
//#endregion
|
|
65
65
|
export { ContextMenuProps as n, ContextMenu as t };
|
|
66
|
-
//# sourceMappingURL=index-
|
|
66
|
+
//# sourceMappingURL=index-Dci43Xhl.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { ReactElement, ReactNode, RefObject } from "react";
|
|
3
3
|
//#region src/components/scrollspy/useScrollspy.d.ts
|
|
4
4
|
interface UseScrollspyOptions {
|
|
@@ -18,8 +18,9 @@ interface UseScrollspyOptions {
|
|
|
18
18
|
/**
|
|
19
19
|
* Tracks which of the sections named by `ids` the reader is in, as a scrollspy does: the last
|
|
20
20
|
* section, in document order, whose top has scrolled past a line near the bottom of `root` (set
|
|
21
|
-
* by `rootMargin`), or the first one while its top is still in view at the top of `root
|
|
22
|
-
* its id, or `null` when no section has
|
|
21
|
+
* by `rootMargin`), or the first one while its top is still in view at the top of `root`, or the
|
|
22
|
+
* last one once `root` is scrolled to its end. Returns its id, or `null` when no section has
|
|
23
|
+
* reached the line yet.
|
|
23
24
|
*
|
|
24
25
|
* It returns `null` on the server and on the first render in the browser, so hydration matches,
|
|
25
26
|
* and the active id from the first observation after that. Sections added, removed or renamed
|
|
@@ -56,4 +57,4 @@ declare namespace Scrollspy {
|
|
|
56
57
|
}
|
|
57
58
|
//#endregion
|
|
58
59
|
export { useScrollspy as i, ScrollspyProps as n, UseScrollspyOptions as r, Scrollspy as t };
|
|
59
|
-
//# sourceMappingURL=index-
|
|
60
|
+
//# sourceMappingURL=index-DdFipHYL.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { t as Placement } from "./overlayPlacement-CIsLpycT.js";
|
|
3
3
|
import React, { HTMLAttributes, ReactElement, ReactNode } from "react";
|
|
4
4
|
//#region src/components/popover/Popover.d.ts
|
|
@@ -53,4 +53,4 @@ interface PopoverProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' |
|
|
|
53
53
|
declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLDivElement>>;
|
|
54
54
|
//#endregion
|
|
55
55
|
export { PopoverProps as n, Popover as t };
|
|
56
|
-
//# sourceMappingURL=index-
|
|
56
|
+
//# sourceMappingURL=index-DmmLEHVo.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
|
|
3
3
|
import { r as ContextColor } from "./types-D6FM7bYR.js";
|
|
4
4
|
import { ElementType, ReactElement } from "react";
|
|
@@ -38,4 +38,4 @@ type SpinnerComponent = (<C extends ElementType = 'div'>(props: SpinnerProps<C>
|
|
|
38
38
|
declare const Spinner: SpinnerComponent;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { SpinnerProps as n, Spinner as t };
|
|
41
|
-
//# sourceMappingURL=index-
|
|
41
|
+
//# sourceMappingURL=index-DsU3M0oP.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
|
|
3
3
|
import { r as ContextColor } from "./types-D6FM7bYR.js";
|
|
4
4
|
import { n as IconProps } from "./Icon-CioraWLF.js";
|
|
@@ -263,9 +263,9 @@ interface ToastContextProps {
|
|
|
263
263
|
close: () => void;
|
|
264
264
|
}
|
|
265
265
|
//#endregion
|
|
266
|
-
//#region src/
|
|
266
|
+
//#region src/components/toast/useToast.d.ts
|
|
267
267
|
type UseToastResult = ToastContextProps;
|
|
268
268
|
declare const useToast: () => UseToastResult;
|
|
269
269
|
//#endregion
|
|
270
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-
|
|
271
|
+
//# sourceMappingURL=index-Es9I0fIS.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { n as CalendarLabels, t as DateRangePreset } from "./dateRangePresets-R1FtA1zp.js";
|
|
3
3
|
import React, { HTMLAttributes, ReactNode } from "react";
|
|
4
4
|
import { RangeValue } from "react-aria";
|
|
@@ -54,7 +54,8 @@ interface DatePickerBaseProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onCh
|
|
|
54
54
|
*/
|
|
55
55
|
invalid?: boolean;
|
|
56
56
|
/**
|
|
57
|
-
* An error message for the field, rendered below the date picker when `invalid` is set
|
|
57
|
+
* An error message for the field, rendered below the date picker when `invalid` is set, and
|
|
58
|
+
* after a submit that an empty `required` date picker held back.
|
|
58
59
|
*/
|
|
59
60
|
invalidFeedback?: ReactNode;
|
|
60
61
|
/**
|
|
@@ -109,6 +110,14 @@ interface DatePickerBaseProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onCh
|
|
|
109
110
|
* With `visible` set, the popover changes only when `visible` does.
|
|
110
111
|
*/
|
|
111
112
|
onVisibleChange?: (visible: boolean) => void;
|
|
113
|
+
/**
|
|
114
|
+
* Toggle the required state for the component. An empty required date picker holds its form
|
|
115
|
+
* back from submitting, takes focus and shows as invalid, with `invalidFeedback`, until it has
|
|
116
|
+
* a value or the form is reset. `invalid`, once set, and `valid` decide how it looks instead.
|
|
117
|
+
* With `selectionMode="multiple"` it asks for one date at least, and the calendar button takes
|
|
118
|
+
* the focus.
|
|
119
|
+
*/
|
|
120
|
+
required?: boolean;
|
|
112
121
|
/**
|
|
113
122
|
* Size the component sm or lg.
|
|
114
123
|
*/
|
|
@@ -296,7 +305,8 @@ interface DateRangePickerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onC
|
|
|
296
305
|
*/
|
|
297
306
|
invalid?: boolean;
|
|
298
307
|
/**
|
|
299
|
-
* An error message for the field, rendered below the date range picker when `invalid` is set
|
|
308
|
+
* An error message for the field, rendered below the date range picker when `invalid` is set,
|
|
309
|
+
* and after a submit that a `required` date range picker with a date missing held back.
|
|
300
310
|
*/
|
|
301
311
|
invalidFeedback?: ReactNode;
|
|
302
312
|
/**
|
|
@@ -365,10 +375,19 @@ interface DateRangePickerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onC
|
|
|
365
375
|
/**
|
|
366
376
|
* A list of quick-select range presets shown in the overlay next to the calendar. Selecting a
|
|
367
377
|
* preset commits its range immediately, the same as picking a start and end date from the
|
|
368
|
-
* calendar
|
|
369
|
-
*
|
|
378
|
+
* calendar: in order, kept inside `minValue`/`maxValue`, and with the times of the current
|
|
379
|
+
* range. A preset the calendar couldn't select is disabled: one with no day inside those
|
|
380
|
+
* limits, and one with an unavailable day in its range. The preset matching the current
|
|
381
|
+
* selection (if any) is marked selected. Omit to not show a preset list.
|
|
370
382
|
*/
|
|
371
383
|
presets?: DateRangePreset[];
|
|
384
|
+
/**
|
|
385
|
+
* Toggle the required state for the component. A required date range picker with its start or
|
|
386
|
+
* its end missing holds its form back from submitting, takes focus in the field that is empty
|
|
387
|
+
* and shows as invalid, with `invalidFeedback`, until it has both dates or the form is reset.
|
|
388
|
+
* `invalid`, once set, and `valid` decide how it looks instead.
|
|
389
|
+
*/
|
|
390
|
+
required?: boolean;
|
|
372
391
|
/**
|
|
373
392
|
* Show a leading zero on the day, month and hour, as `03/05` rather than `3/5`, whatever the
|
|
374
393
|
* locale does.
|
|
@@ -412,4 +431,4 @@ interface DateRangePickerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onC
|
|
|
412
431
|
declare const DateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & React.RefAttributes<HTMLDivElement>>;
|
|
413
432
|
//#endregion
|
|
414
433
|
export { DatePickerProps as a, DatePickerMultipleProps as i, DateRangePickerProps as n, DatePickerSingleProps as o, DatePicker as r, DateRangePicker as t };
|
|
415
|
-
//# sourceMappingURL=index-
|
|
434
|
+
//# sourceMappingURL=index-HNUhTj5e.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import React, { ChangeEventHandler, InputHTMLAttributes, ReactNode } from "react";
|
|
3
3
|
//#region src/components/file-input/FileInput.d.ts
|
|
4
4
|
interface FileInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
@@ -15,11 +15,14 @@ interface FileInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'si
|
|
|
15
15
|
*/
|
|
16
16
|
help?: ReactNode;
|
|
17
17
|
/**
|
|
18
|
-
* Set component validation state to invalid.
|
|
18
|
+
* Set component validation state to invalid. Left unset, the component shows as invalid by itself
|
|
19
|
+
* from a submit it held back (an empty `required` one, say) until it no longer would, or its
|
|
20
|
+
* form is reset. Set it, to `false` too, and it alone decides.
|
|
19
21
|
*/
|
|
20
22
|
invalid?: boolean;
|
|
21
23
|
/**
|
|
22
|
-
* An error message for the field, rendered below the input when `invalid` is set
|
|
24
|
+
* An error message for the field, rendered below the input when `invalid` is set, and after a
|
|
25
|
+
* submit the field held back, until it no longer would.
|
|
23
26
|
*/
|
|
24
27
|
invalidFeedback?: ReactNode;
|
|
25
28
|
/**
|
|
@@ -50,4 +53,4 @@ interface FileInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'si
|
|
|
50
53
|
declare const FileInput: React.ForwardRefExoticComponent<FileInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
51
54
|
//#endregion
|
|
52
55
|
export { FileInputProps as n, FileInput as t };
|
|
53
|
-
//# sourceMappingURL=index-
|
|
56
|
+
//# sourceMappingURL=index-OnB4_h6x.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
|
|
3
3
|
import { ElementType, ReactElement } from "react";
|
|
4
4
|
//#region src/components/input-adorn/InputAdorn.d.ts
|
|
@@ -10,6 +10,7 @@ type InputAdornOwnProps<C extends ElementType> = {
|
|
|
10
10
|
/**
|
|
11
11
|
* Component used for the root node. Either a string to use a HTML element or a component. Use
|
|
12
12
|
* `"button"` or `"a"` for an actionable adorn, e.g. a password reveal toggle or a clear button.
|
|
13
|
+
* A `"button"` gets `type="button"` unless `type` is given, so it doesn't submit a form.
|
|
13
14
|
*/
|
|
14
15
|
component?: C;
|
|
15
16
|
};
|
|
@@ -22,4 +23,4 @@ type InputAdornComponent = (<C extends ElementType = 'span'>(props: InputAdornPr
|
|
|
22
23
|
declare const InputAdorn: InputAdornComponent;
|
|
23
24
|
//#endregion
|
|
24
25
|
export { InputAdornProps as n, InputAdorn as t };
|
|
25
|
-
//# sourceMappingURL=index-
|
|
26
|
+
//# sourceMappingURL=index-QeI-KSng.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { n as PolymorphicRef, r as PolymorphicRefWithFallback, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
|
|
3
3
|
import { r as ContextColor } from "./types-D6FM7bYR.js";
|
|
4
4
|
import React, { ElementType, ReactElement } from "react";
|
|
@@ -99,4 +99,4 @@ type StepperItemComponent = (<C extends ElementType = 'li'>(props: StepperItemPr
|
|
|
99
99
|
declare const StepperItem: StepperItemComponent;
|
|
100
100
|
//#endregion
|
|
101
101
|
export { StepperProps as a, StepperItemDef as i, StepperItemProps as n, Stepper as r, StepperItem as t };
|
|
102
|
-
//# sourceMappingURL=index-
|
|
102
|
+
//# sourceMappingURL=index-RyE80_VH.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { r as ContextColor } from "./types-D6FM7bYR.js";
|
|
3
3
|
import React, { ReactElement, ReactNode, Ref } from "react";
|
|
4
4
|
import { ColumnSize, ColumnStaticSize } from "react-stately";
|
|
@@ -361,4 +361,4 @@ declare const DataGridSelectionCell: ({ className }: DataGridSelectionCellProps)
|
|
|
361
361
|
declare const DataGridSelectAllCell: ({ className }: DataGridSelectionCellProps) => React.JSX.Element;
|
|
362
362
|
//#endregion
|
|
363
363
|
export { DataGridRowProps as a, DataGridCell as c, DataGridProps as d, DataGridHeader as f, DataGridBodyProps as h, DataGridRow as i, DataGridCellProps as l, DataGridBody as m, DataGridSelectionCell as n, DataGridColumn as o, DataGridHeaderProps as p, DataGridSelectionCellProps as r, DataGridColumnProps as s, DataGridSelectAllCell as t, DataGrid as u };
|
|
364
|
-
//# sourceMappingURL=index-
|
|
364
|
+
//# sourceMappingURL=index-UjmJQRaG.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { n as PolymorphicRef, r as PolymorphicRefWithFallback, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
|
|
3
3
|
import { a as ExtendedSizing, r as ContextColor } from "./types-D6FM7bYR.js";
|
|
4
4
|
import React, { ElementType, ImgHTMLAttributes, ReactElement, ReactNode } from "react";
|
|
@@ -133,4 +133,4 @@ type AvatarStackComponent = (<C extends ElementType = 'div'>(props: AvatarStackP
|
|
|
133
133
|
declare const AvatarStack: AvatarStackComponent;
|
|
134
134
|
//#endregion
|
|
135
135
|
export { AvatarImageProps as a, AvatarImage as i, AvatarStackItemDef as n, Avatar as o, AvatarStackProps as r, AvatarProps as s, AvatarStack as t };
|
|
136
|
-
//# sourceMappingURL=index-
|
|
136
|
+
//# sourceMappingURL=index-YzIZhXZ1.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
|
|
3
3
|
import { o as Responsive, r as ContextColor } from "./types-D6FM7bYR.js";
|
|
4
4
|
import { n as WidthSpan } from "./breakpoints-ECy4lKQT.js";
|
|
@@ -34,6 +34,8 @@ type SkeletonOwnProps<C extends ElementType> = {
|
|
|
34
34
|
* element's own intrinsic width applies — set it explicitly (e.g. `span={12}`) for a
|
|
35
35
|
* full-width text line; leave it unset when `component` is something that sizes itself, like
|
|
36
36
|
* `Avatar` or `Button`. An object sets the width from a breakpoint up: `{ base: 12, md: 6 }`.
|
|
37
|
+
* Any other number or string (`0`, `13`, `'50%'`) has no width class: it sets no width, and
|
|
38
|
+
* warns in development.
|
|
37
39
|
*
|
|
38
40
|
* @type { Responsive<'auto' | number | string | boolean> }
|
|
39
41
|
*/
|
|
@@ -89,4 +91,4 @@ type SkeletonLoaderComponent = (<C extends ElementType = 'span'>(props: Skeleton
|
|
|
89
91
|
declare const SkeletonLoader: SkeletonLoaderComponent;
|
|
90
92
|
//#endregion
|
|
91
93
|
export { SkeletonProps as i, SkeletonLoaderProps as n, Skeleton as r, SkeletonLoader as t };
|
|
92
|
-
//# sourceMappingURL=index-
|
|
94
|
+
//# sourceMappingURL=index-Z_5ArZpE.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { n as CalendarLabels, t as DateRangePreset } from "./dateRangePresets-R1FtA1zp.js";
|
|
3
3
|
import React, { HTMLAttributes } from "react";
|
|
4
4
|
import { RangeValue } from "react-aria";
|
|
@@ -183,8 +183,11 @@ interface RangeCalendarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onCha
|
|
|
183
183
|
onChange?: (value: RangeValue<DateValue$1>) => void;
|
|
184
184
|
/**
|
|
185
185
|
* A list of quick-select range presets shown beside the calendar. Selecting a preset commits
|
|
186
|
-
* its range immediately, the same as picking a start and end date from the grid
|
|
187
|
-
*
|
|
186
|
+
* its range immediately, the same as picking a start and end date from the grid: in order,
|
|
187
|
+
* kept inside `minValue`/`maxValue`, and in the calendar of the current value with its times.
|
|
188
|
+
* A preset the grid couldn't select is disabled: one with no day inside those limits, and one
|
|
189
|
+
* with an unavailable day in its range. The preset matching the current selection (if any) is
|
|
190
|
+
* marked selected. Omit to not show a preset list.
|
|
188
191
|
*/
|
|
189
192
|
presets?: DateRangePreset[];
|
|
190
193
|
/**
|
|
@@ -210,4 +213,4 @@ interface RangeCalendarProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onCha
|
|
|
210
213
|
declare const RangeCalendar: React.ForwardRefExoticComponent<RangeCalendarProps & React.RefAttributes<HTMLDivElement>>;
|
|
211
214
|
//#endregion
|
|
212
215
|
export { CalendarProps as a, CalendarMultipleProps as i, RangeCalendarProps as n, CalendarSingleProps as o, Calendar as r, RangeCalendar as t };
|
|
213
|
-
//# sourceMappingURL=index-
|
|
216
|
+
//# sourceMappingURL=index-doVyX-4i.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
|
|
3
3
|
import { c as Sizing, i as ContextStyle, l as Spacing, o as Responsive, r as ContextColor } from "./types-D6FM7bYR.js";
|
|
4
4
|
import { t as FlexDirection } from "./breakpoints-ECy4lKQT.js";
|
|
@@ -189,7 +189,10 @@ type CardImageOwnProps<C extends ElementType> = {
|
|
|
189
189
|
* Orientates the image to the top or bottom of the card as an "image cap", or to the start/end
|
|
190
190
|
* for a horizontal layout. Omit to round all four corners for use inside `CardBody`. An object
|
|
191
191
|
* sets the orientation from a breakpoint up — e.g. `{ base: 'top', lg: 'start' }` to switch an
|
|
192
|
-
* image cap from `top` to `start` once the card lays out horizontally.
|
|
192
|
+
* image cap from `top` to `start` once the card lays out horizontally. Only `start` and `end`
|
|
193
|
+
* can be set at a breakpoint, from `sm` to `xl`: `@chassis-ui/css` has no class for `top` or
|
|
194
|
+
* `bottom` there, nor for any value at `2xl`: such a value renders no class and warns in
|
|
195
|
+
* development.
|
|
193
196
|
*/
|
|
194
197
|
orientation?: Responsive<CardImageOrientation>;
|
|
195
198
|
};
|
|
@@ -293,4 +296,4 @@ type CardTitleComponent = (<C extends ElementType = 'h5'>(props: CardTitleProps<
|
|
|
293
296
|
declare const CardTitle: CardTitleComponent;
|
|
294
297
|
//#endregion
|
|
295
298
|
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 };
|
|
296
|
-
//# sourceMappingURL=index-
|
|
299
|
+
//# sourceMappingURL=index-mLtlx-d9.d.ts.map
|
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { ReactElement, ReactNode } from "react";
|
|
3
3
|
//#region src/components/portal/Portal.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* `false` on the server and during hydration, `true` afterwards and in a client-only render. React
|
|
6
|
-
* hydrates against the server snapshot, then re-renders with the client one once hydration has
|
|
7
|
-
* finished, so a component can render something that only exists in the browser without
|
|
8
|
-
* mismatching the server's HTML.
|
|
9
|
-
*/
|
|
10
|
-
declare function useHydrated(): boolean;
|
|
11
4
|
interface PortalProps {
|
|
12
5
|
/**
|
|
13
6
|
* The content to render in the portal.
|
|
@@ -32,5 +25,14 @@ declare namespace Portal {
|
|
|
32
25
|
var displayName: string;
|
|
33
26
|
}
|
|
34
27
|
//#endregion
|
|
35
|
-
|
|
36
|
-
|
|
28
|
+
//#region src/hooks/useHydrated.d.ts
|
|
29
|
+
/**
|
|
30
|
+
* `false` on the server and during hydration, `true` afterwards and in a client-only render. React
|
|
31
|
+
* hydrates against the server snapshot, then re-renders with the client one once hydration has
|
|
32
|
+
* finished, so a component can render something that only exists in the browser without
|
|
33
|
+
* mismatching the server's HTML.
|
|
34
|
+
*/
|
|
35
|
+
declare function useHydrated(): boolean;
|
|
36
|
+
//#endregion
|
|
37
|
+
export { Portal as n, PortalProps as r, useHydrated as t };
|
|
38
|
+
//# sourceMappingURL=index-sT0Hnr_n.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { n as PolymorphicRef, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
|
|
3
3
|
import { ElementType, ReactElement } from "react";
|
|
4
4
|
//#region src/components/input-group/InputGroup.d.ts
|
|
@@ -48,4 +48,4 @@ type InputGroupAddonComponent = (<C extends ElementType = 'span'>(props: InputGr
|
|
|
48
48
|
declare const InputGroupAddon: InputGroupAddonComponent;
|
|
49
49
|
//#endregion
|
|
50
50
|
export { InputGroupProps as i, InputGroupAddonProps as n, InputGroup as r, InputGroupAddon as t };
|
|
51
|
-
//# sourceMappingURL=index-
|
|
51
|
+
//# sourceMappingURL=index-t3k_T3Dv.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./focus-ring-
|
|
1
|
+
import "./focus-ring-Bs80iIBN.js";
|
|
2
2
|
import { r as PolymorphicRefWithFallback, t as PolymorphicComponentProps } from "./polymorphic-CVHbTHSN.js";
|
|
3
3
|
import { i as ContextStyle, r as ContextColor } from "./types-D6FM7bYR.js";
|
|
4
4
|
import { ElementType, MouseEventHandler, ReactElement } from "react";
|
|
@@ -65,4 +65,4 @@ type CloseButtonComponent = (<C extends ElementType = 'button'>(props: CloseButt
|
|
|
65
65
|
declare const CloseButton: CloseButtonComponent;
|
|
66
66
|
//#endregion
|
|
67
67
|
export { CloseButtonProps as n, CloseButton as t };
|
|
68
|
-
//# sourceMappingURL=index-
|
|
68
|
+
//# sourceMappingURL=index-yVsGuikp.d.ts.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./focus-ring-Bs80iIBN.js";import{h as e}from"./slot-BQVx1Eew.js";import{t}from"./polymorphic-CZIFszAy.js";import n from"react";import r from"classnames";function i({children:t,className:i,component:a,onMouseDown:o,...s},c){let l=a??`span`,u=r(`input-adorn`,i),d=e=>{o?.(e),e.defaultPrevented||e.preventDefault()},f=e(l)===`button`?{type:`button`}:void 0;return/* @__PURE__ */ n.createElement(l,{className:u,onMouseDown:d,...f,...s,ref:c},t)}const a=t(i,`InputAdorn`);export{a as t};
|
|
2
|
+
//# sourceMappingURL=input-adorn-DV9tuWXh.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-adorn-DV9tuWXh.js","names":["resolveElementKind","React","classNames","InputAdornRender","rest","Component","component","_className","className","handleMouseDown","onMouseDown","event","buttonType","children","InputAdorn","createPolymorphicComponent"],"sources":["../../src/components/input-adorn/InputAdorn.tsx"],"sourcesContent":["import React, { ElementType, ForwardRefRenderFunction, ReactElement } from 'react'\nimport classNames from 'classnames'\n\nimport { resolveElementKind } from '../../utils/elementKind'\nimport {\n createPolymorphicComponent,\n PolymorphicComponentProps,\n PolymorphicRef\n} from '../../utils/polymorphic'\n\ntype InputAdornOwnProps<C extends ElementType> = {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component. Use\n * `\"button\"` or `\"a\"` for an actionable adorn, e.g. a password reveal toggle or a clear button.\n * A `\"button\"` gets `type=\"button\"` unless `type` is given, so it doesn't submit a form.\n */\n component?: C\n}\n\nexport type InputAdornProps<C extends ElementType = 'span'> = PolymorphicComponentProps<\n C,\n InputAdornOwnProps<C>\n>\n\ntype InputAdornComponent = (<C extends ElementType = 'span'>(\n props: InputAdornProps<C> & { ref?: PolymorphicRef<C> }\n) => ReactElement | null) & { displayName?: string }\n\nfunction InputAdornRender<C extends ElementType = 'span'>(\n { children, className, component, onMouseDown, ...rest }: InputAdornProps<C>,\n ref: PolymorphicRef<C>\n) {\n const Component = component ?? 'span'\n const _className = classNames('input-adorn', className)\n const handleMouseDown: React.MouseEventHandler<Element> = (event) => {\n onMouseDown?.(event)\n // Keep focus on the associated input (e.g. a password toggle) instead of\n // letting the browser shift it to this button/anchor on mousedown.\n if (!event.defaultPrevented) {\n event.preventDefault()\n }\n }\n // A `<button>` with no `type` is a submit button: a password reveal adorn submitted the form\n // around its input. The caller's own `type` in `rest` still wins.\n const buttonType =\n resolveElementKind(Component) === 'button' ? { type: 'button' as const } : undefined\n return (\n <Component\n className={_className}\n onMouseDown={handleMouseDown}\n {...buttonType}\n {...rest}\n ref={ref}\n >\n {children}\n </Component>\n )\n}\n\nexport const InputAdorn = createPolymorphicComponent<InputAdornComponent>(\n InputAdornRender as ForwardRefRenderFunction<Element, InputAdornProps<ElementType>>,\n 'InputAdorn'\n)\n"],"mappings":"A,gKAgCA,SAASG,EACP,CAAE,WAAU,YAAW,YAAW,cAAa,GAAGC,GAClD,EACA,CACA,IAAMC,EAAYC,GAAa,OACzBC,EAAaL,EAAW,cAAeM,CAAS,EAChDC,EAAqD,GAAU,CACnEC,IAAcC,CAAK,EAGdA,EAAM,kBACTA,EAAM,eAAe,CAEzB,EAGMC,EACJZ,EAAmBK,CAAS,IAAM,SAAW,CAAE,KAAM,QAAkB,EAAI,IAAA,GAC7E,MACE,kBAAA,cAACA,EAAD,CACE,UAAWE,EACX,YAAaE,EACb,GAAIG,EACJ,GAAIR,EACC,KAGI,EADRS,CACQ,CAEf,CAEA,MAAaC,EAAaC,EACxBZ,EACA,YACF,E"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./focus-ring-Bs80iIBN.js";import{t as e}from"./polymorphic-CZIFszAy.js";import t from"react";import n from"classnames";function r({children:e,className:r,component:i,size:a,...o},s){let c=i??`div`,l=n(`input-group`,a,r);return/* @__PURE__ */ t.createElement(c,{className:l,...o,ref:s},e)}const i=e(r,`InputGroup`);function a({children:e,className:r,component:i,...a},o){let s=i??`span`,c=n(`input-addon`,r);return/* @__PURE__ */ t.createElement(s,{className:c,...a,ref:o},e)}const o=e(a,`InputGroupAddon`);export{i as n,o as t};
|
|
2
|
+
//# sourceMappingURL=input-group-YB_zoKud.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-group-YB_zoKud.js","names":["createPolymorphicComponent","React","classNames","InputGroupRender","rest","Component","component","_className","size","className","children","InputGroup","InputGroupAddonRender","InputGroupAddon"],"sources":["../../src/components/input-group/InputGroup.tsx","../../src/components/input-group/InputGroupAddon.tsx"],"sourcesContent":["import React, { ElementType, ForwardRefRenderFunction, ReactElement } from 'react'\nimport classNames from 'classnames'\n\nimport {\n createPolymorphicComponent,\n PolymorphicComponentProps,\n PolymorphicRef\n} from '../../utils/polymorphic'\n\ntype InputGroupOwnProps<C extends ElementType> = {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: C\n /**\n * Size the component sm or lg.\n */\n size?: 'sm' | 'lg'\n}\n\nexport type InputGroupProps<C extends ElementType = 'div'> = PolymorphicComponentProps<\n C,\n InputGroupOwnProps<C>\n>\n\ntype InputGroupComponent = (<C extends ElementType = 'div'>(\n props: InputGroupProps<C> & { ref?: PolymorphicRef<C> }\n) => ReactElement | null) & { displayName?: string }\n\nfunction InputGroupRender<C extends ElementType = 'div'>(\n { children, className, component, size, ...rest }: InputGroupProps<C>,\n ref: PolymorphicRef<C>\n) {\n const Component = component ?? 'div'\n const _className = classNames('input-group', size, className)\n return (\n <Component className={_className} {...rest} ref={ref}>\n {children}\n </Component>\n )\n}\n\nexport const InputGroup = createPolymorphicComponent<InputGroupComponent>(\n InputGroupRender as ForwardRefRenderFunction<Element, InputGroupProps<ElementType>>,\n 'InputGroup'\n)\n","import React, { ElementType, ForwardRefRenderFunction, ReactElement } from 'react'\nimport classNames from 'classnames'\n\nimport {\n createPolymorphicComponent,\n PolymorphicComponentProps,\n PolymorphicRef\n} from '../../utils/polymorphic'\n\ntype InputGroupAddonOwnProps<C extends ElementType> = {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: C\n /**\n * The id of the form control this addon labels, when rendered as `component=\"label\"`.\n */\n htmlFor?: string\n}\n\nexport type InputGroupAddonProps<C extends ElementType = 'span'> = PolymorphicComponentProps<\n C,\n InputGroupAddonOwnProps<C>\n>\n\ntype InputGroupAddonComponent = (<C extends ElementType = 'span'>(\n props: InputGroupAddonProps<C> & { ref?: PolymorphicRef<C> }\n) => ReactElement | null) & { displayName?: string }\n\nfunction InputGroupAddonRender<C extends ElementType = 'span'>(\n { children, className, component, ...rest }: InputGroupAddonProps<C>,\n ref: PolymorphicRef<C>\n) {\n const Component = component ?? 'span'\n const _className = classNames('input-addon', className)\n return (\n <Component className={_className} {...rest} ref={ref}>\n {children}\n </Component>\n )\n}\n\nexport const InputGroupAddon = createPolymorphicComponent<InputGroupAddonComponent>(\n InputGroupAddonRender as ForwardRefRenderFunction<Element, InputGroupAddonProps<ElementType>>,\n 'InputGroupAddon'\n)\n"],"mappings":"A,8HAiCA,SAASG,EACP,CAAE,WAAU,YAAW,YAAW,OAAM,GAAGC,GAC3C,EACA,CACA,IAAMC,EAAYC,GAAa,MACzBC,EAAaL,EAAW,cAAeM,EAAMC,CAAS,EAC5D,MACE,kBAAA,cAACJ,EAAD,CAAW,UAAWE,EAAY,GAAIH,EAAW,KAEtC,EADRM,CACQ,CAEf,CAEA,MAAaC,EAAaX,EACxBG,EACA,YACF,EChBA,SAASS,EACP,CAAE,WAAU,YAAW,YAAW,GAAGR,GACrC,EACA,CACA,IAAMC,EAAYC,GAAa,OACzBC,EAAaL,EAAW,cAAeO,CAAS,EACtD,MACE,kBAAA,cAACJ,EAAD,CAAW,UAAWE,EAAY,GAAIH,EAAW,KAEtC,EADRM,CACQ,CAEf,CAEA,MAAaG,EAAkBb,EAC7BY,EACA,iBACF,E"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const e=/* @__PURE__ */ new WeakMap,t=(t,n)=>{let r=e.get(t)??/* @__PURE__ */ new Set;r.add(n),e.set(t,r)},n=(t,n)=>e.get(t)?.has(n)??!1,r=e=>{let n=n=>t(n.nativeEvent,e);return{onClickCapture:n,onKeyUpCapture:n,onPointerDownCapture:n}};export{n,r as t};
|
|
2
|
+
//# sourceMappingURL=insideEvents-CWcNrMu7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"insideEvents-CWcNrMu7.js","names":["sources","markEventInside","owners","event","owner","isEventInside","insideEventProps","mark"],"sources":["../../src/utils/insideEvents.ts"],"sourcesContent":["import { SyntheticEvent } from 'react'\n\n// Which overlays an event came from inside of, by React's tree rather than the DOM's. An overlay\n// opened from inside another (a popover in a popover, a `Menu` with `container`, a date picker's\n// calendar) is portaled out of it, so `contains()` reads a press in the inner one as a press\n// outside the outer one. React still delivers the event to the outer overlay's handlers, through\n// the portal: its root marks the native event in the capture phase, and the outer overlay's\n// listener on `window`, which runs after React's, asks whether the event carries its mark.\nconst sources = new WeakMap<Event, Set<object>>()\n\nconst markEventInside = (event: Event, owner: object) => {\n const owners = sources.get(event) ?? new Set<object>()\n owners.add(owner)\n sources.set(event, owners)\n}\n\n/**\n * Whether `event` passed through the element that spreads `insideEventProps(owner)`.\n */\nexport const isEventInside = (event: Event, owner: object): boolean =>\n sources.get(event)?.has(owner) ?? false\n\n/**\n * Props for an overlay's root element, for the events its outside listener reads. `owner` is any\n * object the overlay keeps for its lifetime, such as the ref of its panel.\n */\nexport const insideEventProps = (owner: object) => {\n const mark = (event: SyntheticEvent) => markEventInside(event.nativeEvent, owner)\n return { onClickCapture: mark, onKeyUpCapture: mark, onPointerDownCapture: mark }\n}\n"],"mappings":"AAQA,MAAMA,kBAAU,IAAI,QAEdC,GAAmB,EAAc,IAAkB,CACvD,IAAMC,EAASF,EAAQ,IAAIG,CAAK,mBAAK,IAAI,IACzCD,EAAO,IAAIE,CAAK,EAChBJ,EAAQ,IAAIG,EAAOD,CAAM,CAC3B,EAKaG,GAAiB,EAAc,IAC1CL,EAAQ,IAAIG,CAAK,CAAC,EAAE,IAAIC,CAAK,GAAK,GAMvBE,EAAoB,GAAkB,CACjD,IAAMC,EAAQ,GAA0BN,EAAgBE,EAAM,YAAaC,CAAK,EAChF,MAAO,CAAE,eAAgBG,EAAM,eAAgBA,EAAM,qBAAsBA,CAAK,CAClF,E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lazyElement-tfMG21pZ.js","names":[],"sources":["../../src/utils/lazyElement.ts"],"sourcesContent":["import { isValidElement, ReactElement } from 'react'\n\n// What React Server Components hand a client component in place of a value that isn't ready, or\n// that they never resolve eagerly. Two cases reach this library, both from a Server Component\n// that composes its components directly:\n//\n// - An element's `type`, when it is a client component: always a lazy wrapper around the module,\n// in a production build too. `child.type === ListItem` is therefore false for a `<ListItem>`\n// written in a Server Component.\n// - A whole element, when something in its props is still loading (a client component passed by\n// reference, a server function): a lazy node, which is not a valid element and has no `props`.\n// See #37.\n//\n// React resolves both when it renders them. Code that reads a child before rendering it\n// (`isValidElement`, `child.type === X`, `child.props`) has to resolve them itself, the way\n// React's own `Children` helpers do: by calling the node's `_init` with its `_payload`. That\n// returns the value, or throws what React throws for a lazy component: a thenable while the value\n// is loading, which suspends the component until it is there, or the error it failed with.\nconst REACT_LAZY_TYPE = Symbol.for('react.lazy')\n\ninterface LazyNode {\n $$typeof: symbol\n _init: (payload: unknown) => unknown\n _payload: unknown\n}\n\nconst isLazy = (value: unknown): value is LazyNode =>\n typeof value === 'object' &&\n value !== null &&\n (value as LazyNode).$$typeof === REACT_LAZY_TYPE &&\n typeof (value as LazyNode)._init === 'function'\n\n// The value a lazy node or lazy type stands for; anything else comes back as it is. A lazy value\n// can hold another, so this unwraps until it reaches one that isn't.\nexport function resolveLazy<T>(value: T): T {\n let resolved: unknown = value\n while (isLazy(resolved)) resolved = resolved._init(resolved._payload)\n return resolved as T\n}\n\n// Whether `node` is an element of `Component`. Replaces `isValidElement(node) && node.type ===\n// Component`, which a Server Component's children fail.\nexport function isElementOfType<P>(\n node: unknown,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Component: (props: any) => unknown\n): node is ReactElement<P>\nexport function isElementOfType<P>(node: unknown, Component: object): node is ReactElement<P>\nexport function isElementOfType<P>(node: unknown, Component: unknown): node is ReactElement<P> {\n if (!isValidElement(node)) return false\n return node.type === Component || resolveLazy(node.type) === Component\n}\n"],"mappings":"uCAkBA,
|
|
1
|
+
{"version":3,"file":"lazyElement-tfMG21pZ.js","names":["REACT_LAZY_TYPE","isLazy","value","resolveLazy","resolved","isElementOfType","isValidElement","node","Component"],"sources":["../../src/utils/lazyElement.ts"],"sourcesContent":["import { isValidElement, ReactElement } from 'react'\n\n// What React Server Components hand a client component in place of a value that isn't ready, or\n// that they never resolve eagerly. Two cases reach this library, both from a Server Component\n// that composes its components directly:\n//\n// - An element's `type`, when it is a client component: always a lazy wrapper around the module,\n// in a production build too. `child.type === ListItem` is therefore false for a `<ListItem>`\n// written in a Server Component.\n// - A whole element, when something in its props is still loading (a client component passed by\n// reference, a server function): a lazy node, which is not a valid element and has no `props`.\n// See #37.\n//\n// React resolves both when it renders them. Code that reads a child before rendering it\n// (`isValidElement`, `child.type === X`, `child.props`) has to resolve them itself, the way\n// React's own `Children` helpers do: by calling the node's `_init` with its `_payload`. That\n// returns the value, or throws what React throws for a lazy component: a thenable while the value\n// is loading, which suspends the component until it is there, or the error it failed with.\nconst REACT_LAZY_TYPE = Symbol.for('react.lazy')\n\ninterface LazyNode {\n $$typeof: symbol\n _init: (payload: unknown) => unknown\n _payload: unknown\n}\n\nconst isLazy = (value: unknown): value is LazyNode =>\n typeof value === 'object' &&\n value !== null &&\n (value as LazyNode).$$typeof === REACT_LAZY_TYPE &&\n typeof (value as LazyNode)._init === 'function'\n\n// The value a lazy node or lazy type stands for; anything else comes back as it is. A lazy value\n// can hold another, so this unwraps until it reaches one that isn't.\nexport function resolveLazy<T>(value: T): T {\n let resolved: unknown = value\n while (isLazy(resolved)) resolved = resolved._init(resolved._payload)\n return resolved as T\n}\n\n// Whether `node` is an element of `Component`. Replaces `isValidElement(node) && node.type ===\n// Component`, which a Server Component's children fail.\nexport function isElementOfType<P>(\n node: unknown,\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n Component: (props: any) => unknown\n): node is ReactElement<P>\nexport function isElementOfType<P>(node: unknown, Component: object): node is ReactElement<P>\nexport function isElementOfType<P>(node: unknown, Component: unknown): node is ReactElement<P> {\n if (!isValidElement(node)) return false\n return node.type === Component || resolveLazy(node.type) === Component\n}\n"],"mappings":"A,uCAkBA,MAAMA,EAAkB,OAAO,IAAI,YAAY,EAQzCC,EAAU,GACd,OAAOC,GAAU,YACjBA,GACCA,EAAmB,WAAaF,GACjC,OAAQE,EAAmB,OAAU,WAIvC,SAAgBC,EAAe,EAAa,CAC1C,IAAIC,EAAoBF,EACxB,KAAOD,EAAOG,CAAQ,GAAG,EAAWA,EAAS,MAAMA,EAAS,QAAQ,EACpE,OAAOA,CACT,CAUA,SAAgBC,EAAmB,EAAe,EAA6C,CAE7F,OADKC,EAAeC,CAAI,EACjBA,EAAK,OAASC,GAAaL,EAAYI,EAAK,IAAI,IAAMC,EAD3B,EAEpC,C"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"./focus-ring-Bs80iIBN.js";import{_ as e,d as t,f as n,g as r,m as i,p as a,v as o}from"./slot-BQVx1Eew.js";import{t as s}from"./lazyElement-tfMG21pZ.js";import{t as c}from"./polymorphic-CZIFszAy.js";import{t as l}from"./Link-DE8NSAXJ.js";import u,{Children as d}from"react";import f from"classnames";function p({children:e,active:t,className:s,disabled:c,color:d,component:p,href:m,...h},g){let _=i(p,m,`li`),v=o(_,m,h),y=a(v),b=n(v,m,`ListItem`),x=y||r(_)===void 0,S=f(`list-item`,d&&`context`,d,{"list-action":y,active:t&&!x,disabled:c&&!x},s),C=x?l:_,w=x?{active:t,disabled:c,component:_,...c&&!y&&{"aria-disabled":!0},...b,...h}:{...t&&{"aria-current":`page`},...c&&{"aria-disabled":!0},...b,...h};return/* @__PURE__ */ u.createElement(C,{className:S,...w,ref:g},e)}const m=c(p,`ListItem`);function h({children:n,className:i,component:o,color:c,variant:l,flush:p,items:h,layout:g,numbered:_,plain:v,...y},b){let x=h?h.some(e=>t(e.href)):d.toArray(n).some(t=>s(t,m)&&a(e(t.props))),S=o??(x?`div`:`ul`),C=r(S),w=C===`ul`||C===`ol`,T=f(`list`,c&&`context`,c,l,g,{flush:p,plain:v,numbered:_},i),E=(h?h.map((e,n)=>/* @__PURE__ */ u.createElement(m,{key:e.id??n,component:t(e.href)||w?void 0:`div`,href:e.href,color:e.color,active:e.active,disabled:e.disabled},e.label)):null)??(w?n:d.map(n,t=>s(t,m)&&e(t.props)===void 0?u.cloneElement(t,{component:`div`}):t));return/* @__PURE__ */ u.createElement(S,{className:T,...y,ref:b},E)}const g=c(h,`List`);export{m as n,g as t};
|
|
2
|
+
//# sourceMappingURL=list-BPBZR66Y.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-BPBZR66Y.js","names":["resolveKindFromProps","hasHref","hrefProps","resolveElementTag","linkElement","isInteractiveKind","resolveLinkKind","isElementOfType","createPolymorphicComponent","Link","React","classNames","ListItemRender","rest","tag","component","href","kind","isInteractive","linkProps","throughLink","_className","color","active","disabled","className","Component","finalRest","children","ListItem","ListRender","hasInteractiveItem","items","item","Children","child","rootTag","isListSemantic","variant","layout","renderedChildren","idx","List"],"sources":["../../src/components/list/ListItem.tsx","../../src/components/list/List.tsx"],"sourcesContent":["import React, { ElementType, ForwardRefRenderFunction, ReactElement } from 'react'\nimport classNames from 'classnames'\n\nimport { ContextColor } from '../../types'\nimport {\n hrefProps,\n isInteractiveKind,\n linkElement,\n resolveElementTag,\n resolveLinkKind\n} from '../../utils/elementKind'\nimport {\n createPolymorphicComponent,\n PolymorphicComponentProps,\n PolymorphicRef,\n PolymorphicRefWithFallback\n} from '../../utils/polymorphic'\nimport { Link } from '../link/Link'\n\ntype ListItemOwnProps<C extends ElementType> = {\n /**\n * Toggle the active state for the component.\n */\n active?: boolean\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Sets the color of the component to one of Chassis context colors.\n */\n color?: ContextColor\n /**\n * Toggle the disabled state for the component.\n */\n disabled?: boolean\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n */\n component?: C\n /**\n * The href attribute specifies the URL of the page the link goes to. Renders an `<a>` in place\n * of the `<li>`, unless `component` or `asChild` chose the element. Inside a `List`, the list\n * renders a `<div>` around it in place of the `<ul>`.\n */\n href?: string\n}\n\nexport type ListItemProps<C extends ElementType = 'li'> = PolymorphicComponentProps<\n C,\n ListItemOwnProps<C>\n>\n\ntype ListItemComponent = (<C extends ElementType = 'li'>(\n props: ListItemProps<C> & {\n ref?: PolymorphicRefWithFallback<C, HTMLLIElement | HTMLAnchorElement>\n }\n) => ReactElement | null) & { displayName?: string }\n\nfunction ListItemRender<C extends ElementType = 'li'>(\n { children, active, className, disabled, color, component, href, ...rest }: ListItemProps<C>,\n ref: PolymorphicRef<C>\n) {\n // `href` makes it an `<a>`, unless `component` or `asChild` chose the element (see\n // `linkElement`). It used to stay an `<li>` and carry `href` as an attribute.\n const tag = linkElement(component, href, 'li')\n // The kind rather than the tag, counting a router link with `href` or `to` as an anchor: under `asChild`, `tag` is a `Slot` standing in for the caller's\n // element, and a slotted `<a>` is as interactive as `component=\"a\"`.\n const kind = resolveLinkKind(tag, href, rest)\n const isInteractive = isInteractiveKind(kind)\n const linkProps = hrefProps(kind, href, 'ListItem')\n\n // A component (a router link given as `component`, or as the `asChild` element) renders through\n // `Link` whether or not it has a link target. It did only while it had one, so a router link\n // whose `href` came or went was a different tree each time, and React remounted it. `Link`\n // leaves a component that isn't a link to its own semantics.\n const throughLink = isInteractive || resolveElementTag(tag) === undefined\n\n const _className = classNames(\n 'list-item',\n color && 'context',\n color,\n {\n 'list-action': isInteractive,\n // `Link` adds these classes, and `aria-current`, itself.\n active: active && !throughLink,\n disabled: disabled && !throughLink\n },\n className\n )\n\n const Component = (throughLink ? Link : tag) as ElementType\n\n const finalRest = throughLink\n ? {\n active,\n disabled,\n component: tag,\n // `Link` writes it on a link, which it also takes out of the tab order.\n ...(disabled && !isInteractive && { 'aria-disabled': true }),\n ...linkProps,\n ...rest\n }\n : {\n ...(active && { 'aria-current': 'page' }),\n ...(disabled && { 'aria-disabled': true }),\n ...linkProps,\n ...rest\n }\n\n return (\n <Component className={_className} {...finalRest} ref={ref}>\n {children}\n </Component>\n )\n}\n\nexport const ListItem = createPolymorphicComponent<ListItemComponent>(\n ListItemRender as ForwardRefRenderFunction<Element, ListItemProps<ElementType>>,\n 'ListItem'\n)\n","import React, {\n Children,\n ElementType,\n ForwardRefRenderFunction,\n ReactElement,\n ReactNode\n} from 'react'\nimport classNames from 'classnames'\n\nimport { ContextColor, ContextStyle } from '../../types'\nimport {\n hasHref,\n isInteractiveKind,\n resolveElementTag,\n resolveKindFromProps\n} from '../../utils/elementKind'\nimport { isElementOfType } from '../../utils/lazyElement'\nimport {\n createPolymorphicComponent,\n PolymorphicComponentProps,\n PolymorphicRef\n} from '../../utils/polymorphic'\nimport { ListItem } from './ListItem'\n\nexport interface ListItemDef {\n /**\n * Stable key for the rendered item. Falls back to the item's index in `items`.\n */\n id?: number | string\n /**\n * Item label content.\n */\n label: React.ReactNode\n /**\n * Makes the item a link.\n */\n href?: string\n /**\n * Sets the color of the item.\n */\n color?: ContextColor\n /**\n * Marks the item as active.\n */\n active?: boolean\n /**\n * Marks the item as disabled.\n */\n disabled?: boolean\n}\n\ntype ListOwnProps<C extends ElementType> = {\n /**\n * A string of all className you want applied to the component.\n */\n className?: string\n /**\n * Component used for the root node. Either a string to use a HTML element or a component.\n * Defaults to `'ul'`, unless an item (a data-driven item with `href`, or a `<ListItem>` child\n * rendering an `<a>`/`<button>` through `component` or `asChild`) is interactive — a bare\n * `<a>`/`<button>` isn't a valid direct child of `<ul>`/`<ol>`, so the default switches to\n * `'div'` instead. Pass `component` explicitly to opt out of this.\n */\n component?: C\n /**\n * Sets the color of the component to one of Chassis context colors.\n */\n color?: ContextColor\n /**\n * Remove outer borders and rounded corners to render list items edge-to-edge in a parent component (e.g., `<Card>`).\n */\n flush?: boolean\n /**\n * Array of item definitions for data-driven rendering. When provided, children are ignored.\n */\n items?: ListItemDef[]\n /**\n * Specify a layout type.\n */\n layout?:\n | 'horizontal'\n | 'sm:horizontal'\n | 'md:horizontal'\n | 'lg:horizontal'\n | 'xl:horizontal'\n | '2xl:horizontal'\n /**\n * Number list items sequentially using CSS counters. Pair with `component=\"ol\"` for semantic correctness.\n */\n numbered?: boolean\n /**\n * Remove outer borders, rounded corners, and horizontal padding for a minimal, edge-to-edge appearance.\n */\n plain?: boolean\n /**\n * Applies a `.solid`, `.outline`, or `.smooth` context style. Only meaningful together with `color`.\n */\n variant?: ContextStyle\n}\n\n// What `List` reads off a `<ListItem>` child to decide its own tag.\ntype ListItemChildProps = {\n asChild?: boolean\n children?: ReactNode\n component?: ElementType\n href?: string\n}\n\nexport type ListProps<C extends ElementType = 'ul'> = PolymorphicComponentProps<C, ListOwnProps<C>>\n\ntype ListComponent = (<C extends ElementType = 'ul'>(\n props: ListProps<C> & { ref?: PolymorphicRef<C> }\n) => ReactElement | null) & { displayName?: string }\n\nfunction ListRender<C extends ElementType = 'ul'>(\n {\n children,\n className,\n component,\n color,\n variant,\n flush,\n items,\n layout,\n numbered,\n plain,\n ...rest\n }: ListProps<C>,\n ref: PolymorphicRef<C>\n) {\n // A linked item (data-driven `href`, or a `<ListItem>` child rendering an `<a>`/`<button>`,\n // whether through `component` or as its `asChild` element) can't render as a bare\n // `<a>`/`<button>` inside the default `<ul>`/`<ol>` root — only `<li>`/`script`/`template` are\n // valid children there. Default to `<div>` instead when that's the case (unless the caller\n // already chose their own `component`), matching the same `component=\"div\"` pattern already\n // documented for `Stepper`'s composed interactive usage.\n const hasInteractiveItem = items\n ? items.some((item) => hasHref(item.href))\n : Children.toArray(children).some(\n (child) =>\n isElementOfType<ListItemChildProps>(child, ListItem) &&\n isInteractiveKind(resolveKindFromProps(child.props))\n )\n const Component = (component ?? (hasInteractiveItem ? 'div' : 'ul')) as ElementType\n // The tag rather than `Component`, which under `asChild` is a `Slot` holding the caller's\n // `<ul>`/`<ol>`.\n const rootTag = resolveElementTag(Component)\n const isListSemantic = rootTag === 'ul' || rootTag === 'ol'\n\n const _className = classNames(\n 'list',\n color && 'context',\n color,\n variant,\n layout,\n {\n flush,\n plain,\n numbered\n },\n className\n )\n\n // Through `ListItem`, like the composed form: a linked item is a `Link`, so a disabled one is\n // out of the tab order and doesn't navigate, and each registers with a surrounding `Scrollspy`.\n // An item with no `href` is a `<div>` where the root isn't a list, as below.\n const autoContent = items\n ? items.map((item, idx) => (\n <ListItem\n key={item.id ?? idx}\n component={hasHref(item.href) || isListSemantic ? undefined : 'div'}\n href={item.href}\n color={item.color}\n active={item.active}\n disabled={item.disabled}\n >\n {item.label}\n </ListItem>\n ))\n : null\n\n // When the root switched to `div` because of an interactive child, every plain `<ListItem>`\n // sibling defaulting to `<li>` would be just as invalid (only valid inside `<ul>`/`<ol>`/\n // `<menu>`) — so give each `ListItem` child the same `div` treatment the auto-generated items\n // above already get, unless it chose its own element: `component`, `href` or its `asChild`\n // element. Other child types are left untouched — this is only meaningful for `List`'s own list\n // items.\n const renderedChildren =\n autoContent ??\n (isListSemantic\n ? children\n : Children.map(children, (child) =>\n isElementOfType<ListItemChildProps>(child, ListItem) &&\n resolveKindFromProps(child.props) === undefined\n ? React.cloneElement(child, { component: 'div' })\n : child\n ))\n\n return (\n <Component className={_className} {...rest} ref={ref}>\n {renderedChildren}\n </Component>\n )\n}\n\nexport const List = createPolymorphicComponent<ListComponent>(\n ListRender as ForwardRefRenderFunction<Element, ListProps<ElementType>>,\n 'List'\n)\n"],"mappings":"A,mTA2DA,SAASY,EACP,CAAE,WAAU,SAAQ,YAAW,WAAU,QAAO,YAAW,OAAM,GAAGC,GACpE,EACA,CAGA,IAAMC,EAAMV,EAAYW,EAAWC,EAAM,IAAI,EAGvCC,EAAOX,EAAgBQ,EAAKE,EAAMH,CAAI,EACtCK,EAAgBb,EAAkBY,CAAI,EACtCE,EAAYjB,EAAUe,EAAMD,EAAM,UAAU,EAM5CI,EAAcF,GAAiBf,EAAkBW,CAAG,IAAM,IAAA,GAE1DO,EAAaV,EACjB,YACAW,GAAS,UACTA,EACA,CACE,cAAeJ,EAEf,OAAQK,GAAU,CAACH,EACnB,SAAUI,GAAY,CAACJ,CACzB,EACAK,CACF,EAEMC,EAAaN,EAAcX,EAAOK,EAElCa,EAAYP,EACd,CACE,SACA,WACA,UAAWN,EAEX,GAAIU,GAAY,CAACN,GAAiB,CAAE,gBAAiB,EAAK,EAC1D,GAAGC,EACH,GAAGN,CACL,EACA,CACE,GAAIU,GAAU,CAAE,eAAgB,MAAO,EACvC,GAAIC,GAAY,CAAE,gBAAiB,EAAK,EACxC,GAAGL,EACH,GAAGN,CACL,EAEJ,MACE,kBAAA,cAACa,EAAD,CAAW,UAAWL,EAAY,GAAIM,EAAgB,KAE3C,EADRC,CACQ,CAEf,CAEA,MAAaC,EAAWrB,EACtBI,EACA,UACF,ECNA,SAASkB,EACP,CACE,WACA,YACA,YACA,QACA,UACA,QACA,QACA,SACA,WACA,QACA,GAAGjB,GAEL,EACA,CAOA,IAAMkB,EAAqBC,EACvBA,EAAM,KAAM,GAAS/B,EAAQgC,EAAK,IAAI,CAAC,EACvCC,EAAS,QAAQN,CAAQ,CAAC,CAAC,KACxB,GACCrB,EAAoC4B,EAAON,CAAQ,GACnDxB,EAAkBL,EAAqBmC,EAAM,KAAK,CAAC,CACvD,EACET,EAAaX,IAAcgB,EAAqB,MAAQ,MAGxDK,EAAUjC,EAAkBuB,CAAS,EACrCW,EAAiBD,IAAY,MAAQA,IAAY,KAEjDf,EAAaV,EACjB,OACAW,GAAS,UACTA,EACAgB,EACAC,EACA,CACE,QACA,QACA,UACF,EACAd,CACF,EA0BMe,GArBcR,EAChBA,EAAM,KAAK,EAAM,IACf,kBAAA,cAACH,EAAD,CACE,IAAKI,EAAK,IAAMQ,EAChB,UAAWxC,EAAQgC,EAAK,IAAI,GAAKI,EAAiB,IAAA,GAAY,MAC9D,KAAMJ,EAAK,KACX,MAAOA,EAAK,MACZ,OAAQA,EAAK,OACb,SAAUA,EAAK,QAGP,EADPA,EAAK,KACE,CACX,EACD,QAUDI,EACGT,EACAM,EAAS,IAAIN,EAAW,GACtBrB,EAAoC4B,EAAON,CAAQ,GACnD7B,EAAqBmC,EAAM,KAAK,IAAM,IAAA,GAClCzB,EAAM,aAAayB,EAAO,CAAE,UAAW,KAAM,CAAC,EAC9CA,CACN,GAEN,MACE,kBAAA,cAACT,EAAD,CAAW,UAAWL,EAAY,GAAIR,EAAW,KAEtC,EADR2B,CACQ,CAEf,CAEA,MAAaE,EAAOlC,EAClBsB,EACA,MACF,E"}
|