@fragiola/primitives-react 0.0.0-stage → 0.1.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/CHANGELOG.md +67 -0
- package/LICENSE +21 -0
- package/README.md +38 -2
- package/dist/accordion--E-5hjWo.js +210 -0
- package/dist/accordion--E-5hjWo.js.map +1 -0
- package/dist/accordion.d.ts +4 -0
- package/dist/accordion.js +1 -0
- package/dist/alert-dialog-7FIAj98B.js +37 -0
- package/dist/alert-dialog-7FIAj98B.js.map +1 -0
- package/dist/alert-dialog.d.ts +9 -0
- package/dist/alert-dialog.js +1 -0
- package/dist/aspect-ratio-CUADsevg.js +19 -0
- package/dist/aspect-ratio-CUADsevg.js.map +1 -0
- package/dist/aspect-ratio.d.ts +3 -0
- package/dist/aspect-ratio.js +1 -0
- package/dist/async-list-7ljWFMgA.js +35 -0
- package/dist/async-list-7ljWFMgA.js.map +1 -0
- package/dist/async-list.d.ts +2 -0
- package/dist/async-list.js +1 -0
- package/dist/autocomplete-virtual-BE8dDDgU.js +56 -0
- package/dist/autocomplete-virtual-BE8dDDgU.js.map +1 -0
- package/dist/autocomplete-virtual.d.ts +4 -0
- package/dist/autocomplete-virtual.js +3 -0
- package/dist/autocomplete.d.ts +9 -0
- package/dist/autocomplete.js +1 -0
- package/dist/avatar-CABjoLs9.js +101 -0
- package/dist/avatar-CABjoLs9.js.map +1 -0
- package/dist/avatar.d.ts +3 -0
- package/dist/avatar.js +1 -0
- package/dist/breadcrumbs-nG0Rq3kX.js +69 -0
- package/dist/breadcrumbs-nG0Rq3kX.js.map +1 -0
- package/dist/breadcrumbs.d.ts +3 -0
- package/dist/breadcrumbs.js +1 -0
- package/dist/button-B6h8UkhR.js +30 -0
- package/dist/button-B6h8UkhR.js.map +1 -0
- package/dist/button-props-DWfy1ZSo.js +69 -0
- package/dist/button-props-DWfy1ZSo.js.map +1 -0
- package/dist/button.d.ts +3 -0
- package/dist/button.js +1 -0
- package/dist/calendar-preset-Cs-hy-_0.js +70 -0
- package/dist/calendar-preset-Cs-hy-_0.js.map +1 -0
- package/dist/calendar-preset.d.ts +4 -0
- package/dist/calendar-preset.js +3 -0
- package/dist/calendar-root-base-CIkiSebb.js +515 -0
- package/dist/calendar-root-base-CIkiSebb.js.map +1 -0
- package/dist/calendar-row-BO5kyOgq.d.ts +84 -0
- package/dist/calendar-value-DCOjO7og.d.ts +23 -0
- package/dist/calendar-view-DT9i5Xg_.js +157 -0
- package/dist/calendar-view-DT9i5Xg_.js.map +1 -0
- package/dist/calendar-view.d.ts +6 -0
- package/dist/calendar-view.js +4 -0
- package/dist/calendar.d.ts +7 -0
- package/dist/calendar.js +1 -0
- package/dist/carousel-ClQsQ135.js +436 -0
- package/dist/carousel-ClQsQ135.js.map +1 -0
- package/dist/carousel.d.ts +4 -0
- package/dist/carousel.js +1 -0
- package/dist/cascade-select-DZlpKUok.js +582 -0
- package/dist/cascade-select-DZlpKUok.js.map +1 -0
- package/dist/cascade-select.d.ts +7 -0
- package/dist/cascade-select.js +1 -0
- package/dist/change-details-CPSkPCNw.d.ts +32 -0
- package/dist/checkbox-CbmkKNfv.js +165 -0
- package/dist/checkbox-CbmkKNfv.js.map +1 -0
- package/dist/checkbox-group-_UrFCUgQ.js +99 -0
- package/dist/checkbox-group-_UrFCUgQ.js.map +1 -0
- package/dist/checkbox-group-context-CoGqgxBM.js +6 -0
- package/dist/checkbox-group-context-CoGqgxBM.js.map +1 -0
- package/dist/checkbox-group.d.ts +4 -0
- package/dist/checkbox-group.js +1 -0
- package/dist/checkbox.d.ts +4 -0
- package/dist/checkbox.js +1 -0
- package/dist/clipboard-CvgO1qhh.js +189 -0
- package/dist/clipboard-CvgO1qhh.js.map +1 -0
- package/dist/clipboard.d.ts +4 -0
- package/dist/clipboard.js +1 -0
- package/dist/collapsible-Dh0TUP6l.js +112 -0
- package/dist/collapsible-Dh0TUP6l.js.map +1 -0
- package/dist/collapsible.d.ts +4 -0
- package/dist/collapsible.js +1 -0
- package/dist/color-area-BGo6tZxX.js +311 -0
- package/dist/color-area-BGo6tZxX.js.map +1 -0
- package/dist/color-area.d.ts +4 -0
- package/dist/color-area.js +1 -0
- package/dist/color-field-B9QEKyQ1.js +334 -0
- package/dist/color-field-B9QEKyQ1.js.map +1 -0
- package/dist/color-field.d.ts +4 -0
- package/dist/color-field.js +1 -0
- package/dist/color-picker-BNOtqWUK.js +276 -0
- package/dist/color-picker-BNOtqWUK.js.map +1 -0
- package/dist/color-picker-binding-D9xBS_my.js +6 -0
- package/dist/color-picker-binding-D9xBS_my.js.map +1 -0
- package/dist/color-picker-popover-CV_wP6KG.js +195 -0
- package/dist/color-picker-popover-CV_wP6KG.js.map +1 -0
- package/dist/color-picker-popover.d.ts +7 -0
- package/dist/color-picker-popover.js +1 -0
- package/dist/color-picker.d.ts +4 -0
- package/dist/color-picker.js +1 -0
- package/dist/color-slider-Bw940FJr.js +357 -0
- package/dist/color-slider-Bw940FJr.js.map +1 -0
- package/dist/color-slider.d.ts +4 -0
- package/dist/color-slider.js +1 -0
- package/dist/color-swatch-C9ws0xF4.js +37 -0
- package/dist/color-swatch-C9ws0xF4.js.map +1 -0
- package/dist/color-swatch-picker-CnmTr1SY.js +286 -0
- package/dist/color-swatch-picker-CnmTr1SY.js.map +1 -0
- package/dist/color-swatch-picker.d.ts +4 -0
- package/dist/color-swatch-picker.js +1 -0
- package/dist/color-swatch.d.ts +3 -0
- package/dist/color-swatch.js +1 -0
- package/dist/color-wheel--n8w5fIJ.js +247 -0
- package/dist/color-wheel--n8w5fIJ.js.map +1 -0
- package/dist/color-wheel.d.ts +4 -0
- package/dist/color-wheel.js +1 -0
- package/dist/combobox-virtual-BI-l10BE.js +61 -0
- package/dist/combobox-virtual-BI-l10BE.js.map +1 -0
- package/dist/combobox-virtual.d.ts +4 -0
- package/dist/combobox-virtual.js +3 -0
- package/dist/combobox.d.ts +9 -0
- package/dist/combobox.js +1 -0
- package/dist/command-virtual-CxNLxsih.js +56 -0
- package/dist/command-virtual-CxNLxsih.js.map +1 -0
- package/dist/command-virtual.d.ts +4 -0
- package/dist/command-virtual.js +3 -0
- package/dist/command.d.ts +5 -0
- package/dist/command.js +1 -0
- package/dist/context-menu-DGj2L-Sv.js +131 -0
- package/dist/context-menu-DGj2L-Sv.js.map +1 -0
- package/dist/context-menu.d.ts +8 -0
- package/dist/context-menu.js +1 -0
- package/dist/date-field-C1nhThPd.js +33 -0
- package/dist/date-field-C1nhThPd.js.map +1 -0
- package/dist/date-field-root-CzSo5iKL.d.ts +26 -0
- package/dist/date-field-root-base-B-050SUC.js +185 -0
- package/dist/date-field-root-base-B-050SUC.js.map +1 -0
- package/dist/date-field-segment-BoS-ohDh.d.ts +67 -0
- package/dist/date-field.d.ts +6 -0
- package/dist/date-field.js +1 -0
- package/dist/date-picker-input-BCaKff7A.js +29 -0
- package/dist/date-picker-input-BCaKff7A.js.map +1 -0
- package/dist/date-picker-input-root-base-Cc3mE-NR.d.ts +17 -0
- package/dist/date-picker-input-root-base-D4VaBnpf.js +361 -0
- package/dist/date-picker-input-root-base-D4VaBnpf.js.map +1 -0
- package/dist/date-picker-input.d.ts +7 -0
- package/dist/date-picker-input.js +3 -0
- package/dist/date-picker-trigger-BKPvZbRg.js +304 -0
- package/dist/date-picker-trigger-BKPvZbRg.js.map +1 -0
- package/dist/date-picker-trigger-DHsAhBf2.d.ts +51 -0
- package/dist/date-picker.d.ts +11 -0
- package/dist/date-picker.js +1 -0
- package/dist/date-range-field-C-ID01oa.js +34 -0
- package/dist/date-range-field-C-ID01oa.js.map +1 -0
- package/dist/date-range-field-input-BkLpldTx.js +33 -0
- package/dist/date-range-field-input-BkLpldTx.js.map +1 -0
- package/dist/date-range-field-input-BwCNo15l.d.ts +13 -0
- package/dist/date-range-field-root-CmZ3c7xn.d.ts +31 -0
- package/dist/date-range-field-root-base-DWH3nqmz.d.ts +23 -0
- package/dist/date-range-field-root-base-z8S5aSCs.js +261 -0
- package/dist/date-range-field-root-base-z8S5aSCs.js.map +1 -0
- package/dist/date-range-field.d.ts +9 -0
- package/dist/date-range-field.js +1 -0
- package/dist/date-range-picker-input-DlIdTD-J.js +30 -0
- package/dist/date-range-picker-input-DlIdTD-J.js.map +1 -0
- package/dist/date-range-picker-input.d.ts +10 -0
- package/dist/date-range-picker-input.js +3 -0
- package/dist/date-range-picker.d.ts +11 -0
- package/dist/date-range-picker.js +1 -0
- package/dist/dialog-DDE15qBB.js +33 -0
- package/dist/dialog-DDE15qBB.js.map +1 -0
- package/dist/dialog-root-base-DDMrqDC9.js +328 -0
- package/dist/dialog-root-base-DDMrqDC9.js.map +1 -0
- package/dist/dialog-title-BitK2i0A.d.ts +78 -0
- package/dist/dialog.d.ts +9 -0
- package/dist/dialog.js +1 -0
- package/dist/direction-BfW1BOg1.js +22 -0
- package/dist/direction-BfW1BOg1.js.map +1 -0
- package/dist/direction-context-CiRdNJmu.js +11 -0
- package/dist/direction-context-CiRdNJmu.js.map +1 -0
- package/dist/direction.d.ts +2 -0
- package/dist/direction.js +1 -0
- package/dist/drawer-CaPOhMl-.js +302 -0
- package/dist/drawer-CaPOhMl-.js.map +1 -0
- package/dist/drawer.d.ts +9 -0
- package/dist/drawer.js +1 -0
- package/dist/drop-zone-q0-5u2cs.js +86 -0
- package/dist/drop-zone-q0-5u2cs.js.map +1 -0
- package/dist/drop-zone.d.ts +4 -0
- package/dist/drop-zone.js +1 -0
- package/dist/editable-vU6vYZOD.js +403 -0
- package/dist/editable-vU6vYZOD.js.map +1 -0
- package/dist/editable.d.ts +4 -0
- package/dist/editable.js +1 -0
- package/dist/field-DibhXWF6.js +308 -0
- package/dist/field-DibhXWF6.js.map +1 -0
- package/dist/field.d.ts +4 -0
- package/dist/field.js +1 -0
- package/dist/fieldset-Cz80P2jc.js +53 -0
- package/dist/fieldset-Cz80P2jc.js.map +1 -0
- package/dist/fieldset-context-CeaxEBvi.js +6 -0
- package/dist/fieldset-context-CeaxEBvi.js.map +1 -0
- package/dist/fieldset.d.ts +3 -0
- package/dist/fieldset.js +1 -0
- package/dist/file-upload-BIRibICU.js +513 -0
- package/dist/file-upload-BIRibICU.js.map +1 -0
- package/dist/file-upload.d.ts +4 -0
- package/dist/file-upload.js +1 -0
- package/dist/form-DNAaFPpL.js +87 -0
- package/dist/form-DNAaFPpL.js.map +1 -0
- package/dist/form-context-BW-nK6kl.js +6 -0
- package/dist/form-context-BW-nK6kl.js.map +1 -0
- package/dist/form.d.ts +3 -0
- package/dist/form.js +1 -0
- package/dist/hover-card-CRDpA_zU.js +317 -0
- package/dist/hover-card-CRDpA_zU.js.map +1 -0
- package/dist/hover-card.d.ts +9 -0
- package/dist/hover-card.js +1 -0
- package/dist/index-0bXL0iXX.d.ts +25 -0
- package/dist/index-6f2s5HfF.d.ts +30 -0
- package/dist/index-9WYWziGt.d.ts +42 -0
- package/dist/index-B57uQVXT.d.ts +100 -0
- package/dist/index-BA629roy.d.ts +52 -0
- package/dist/index-BC5bS-vC.d.ts +30 -0
- package/dist/index-BDbTYsJR.d.ts +77 -0
- package/dist/index-BEaxabvv.d.ts +80 -0
- package/dist/index-BLRo_PJD.d.ts +58 -0
- package/dist/index-BMt816ZL.d.ts +51 -0
- package/dist/index-BQJrDd_G.d.ts +108 -0
- package/dist/index-BUJIeLCT.d.ts +37 -0
- package/dist/index-BZxd4oqB.d.ts +111 -0
- package/dist/index-B_JVgpGe.d.ts +13 -0
- package/dist/index-BdxleDV0.d.ts +104 -0
- package/dist/index-Be4w9GAc.d.ts +13 -0
- package/dist/index-Bht8ohW3.d.ts +31 -0
- package/dist/index-Bk1NBvxD.d.ts +75 -0
- package/dist/index-BmtcAsQr.d.ts +44 -0
- package/dist/index-BmuEv-h3.d.ts +35 -0
- package/dist/index-BnPLIkKG.d.ts +31 -0
- package/dist/index-BoJU86K5.d.ts +52 -0
- package/dist/index-Bq6yByLv.d.ts +50 -0
- package/dist/index-Bqt2th2p.d.ts +41 -0
- package/dist/index-BrXfSGo2.d.ts +51 -0
- package/dist/index-BsvcTJ_x.d.ts +17 -0
- package/dist/index-BxcCz-NS.d.ts +36 -0
- package/dist/index-C3y4g2fs.d.ts +21 -0
- package/dist/index-C8-b81Jh.d.ts +20 -0
- package/dist/index-C8KLM25T.d.ts +31 -0
- package/dist/index-C9TSddnB.d.ts +140 -0
- package/dist/index-CCnaczzE.d.ts +32 -0
- package/dist/index-CD6hgnl1.d.ts +86 -0
- package/dist/index-CEN3o4Pw.d.ts +35 -0
- package/dist/index-CFlhfs3y.d.ts +30 -0
- package/dist/index-CIQU06ga.d.ts +36 -0
- package/dist/index-CNUEsZ_M.d.ts +51 -0
- package/dist/index-CNYBtgVC.d.ts +53 -0
- package/dist/index-CQJHcuzo.d.ts +76 -0
- package/dist/index-CTw9ONha.d.ts +69 -0
- package/dist/index-CU9QnAha.d.ts +32 -0
- package/dist/index-CcwKZWPY.d.ts +92 -0
- package/dist/index-Cjl7RT2o.d.ts +17 -0
- package/dist/index-ClfKp-sZ.d.ts +21 -0
- package/dist/index-CqGIxPDB.d.ts +82 -0
- package/dist/index-CsXJJ0G8.d.ts +41 -0
- package/dist/index-Cyjcq7lp.d.ts +28 -0
- package/dist/index-CzB9dDcM.d.ts +22 -0
- package/dist/index-D1-zqp2Q.d.ts +44 -0
- package/dist/index-D59OFWyx.d.ts +53 -0
- package/dist/index-D9lx4wAU.d.ts +21 -0
- package/dist/index-DHrnPQEE.d.ts +128 -0
- package/dist/index-DHwyHITu.d.ts +131 -0
- package/dist/index-DQ68aV2P.d.ts +21 -0
- package/dist/index-DQAkgf9_.d.ts +14 -0
- package/dist/index-DRow1231.d.ts +31 -0
- package/dist/index-DTGZeJU7.d.ts +29 -0
- package/dist/index-DU7jtvI8.d.ts +24 -0
- package/dist/index-DVjhOpXu.d.ts +42 -0
- package/dist/index-DZoqbcd6.d.ts +26 -0
- package/dist/index-Da0eVQHO.d.ts +62 -0
- package/dist/index-DhNPJa6U.d.ts +31 -0
- package/dist/index-DnQAamhU.d.ts +27 -0
- package/dist/index-DoFrs7Az.d.ts +16 -0
- package/dist/index-DorcIjVk.d.ts +20 -0
- package/dist/index-Dx-yMTdt.d.ts +81 -0
- package/dist/index-J4LbimqY.d.ts +79 -0
- package/dist/index-L6Mp2njJ.d.ts +81 -0
- package/dist/index-OmXQjsNi.d.ts +37 -0
- package/dist/index-PpCPWRbt.d.ts +30 -0
- package/dist/index-Pq-ztBxR.d.ts +34 -0
- package/dist/index-Qgz-Dnsj.d.ts +73 -0
- package/dist/index-R3h8-VcD.d.ts +32 -0
- package/dist/index-WtAHbmtb.d.ts +88 -0
- package/dist/index-dKoYaA3K.d.ts +38 -0
- package/dist/index-fgqEotIa.d.ts +16 -0
- package/dist/index-gvpnQy8T.d.ts +87 -0
- package/dist/index-kY3Yo50q.d.ts +68 -0
- package/dist/index-ndFpL4W9.d.ts +15 -0
- package/dist/index-oLgwTyCz.d.ts +45 -0
- package/dist/index-pSrGVYre.d.ts +40 -0
- package/dist/index-t4CBZJDG.d.ts +65 -0
- package/dist/index-wC8PY0fW.d.ts +16 -0
- package/dist/index-wv0Lafz4.d.ts +46 -0
- package/dist/index-zEeZUMLc.d.ts +29 -0
- package/dist/index.d.ts +125 -0
- package/dist/index.js +104 -0
- package/dist/label-DN9tJMXl.js +24 -0
- package/dist/label-DN9tJMXl.js.map +1 -0
- package/dist/label.d.ts +3 -0
- package/dist/label.js +1 -0
- package/dist/link-D3xYrfPK.js +22 -0
- package/dist/link-D3xYrfPK.js.map +1 -0
- package/dist/link-props-Shu8RU_5.js +27 -0
- package/dist/link-props-Shu8RU_5.js.map +1 -0
- package/dist/link.d.ts +3 -0
- package/dist/link.js +1 -0
- package/dist/listbox-virtual-C4wz3TOa.js +281 -0
- package/dist/listbox-virtual-C4wz3TOa.js.map +1 -0
- package/dist/listbox-virtual.d.ts +6 -0
- package/dist/listbox-virtual.js +3 -0
- package/dist/listbox.d.ts +5 -0
- package/dist/listbox.js +1 -0
- package/dist/live-region-style-Xgiu9ttw.js +48 -0
- package/dist/live-region-style-Xgiu9ttw.js.map +1 -0
- package/dist/menu-bar-context-1duNlOWo.js +14 -0
- package/dist/menu-bar-context-1duNlOWo.js.map +1 -0
- package/dist/menu-oZj27rvf.js +123 -0
- package/dist/menu-oZj27rvf.js.map +1 -0
- package/dist/menu-separator-CzAc4jM8.d.ts +143 -0
- package/dist/menu-submenu-trigger-BykOQORL.js +672 -0
- package/dist/menu-submenu-trigger-BykOQORL.js.map +1 -0
- package/dist/menu.d.ts +10 -0
- package/dist/menu.js +1 -0
- package/dist/menubar-wjJF54GJ.js +213 -0
- package/dist/menubar-wjJF54GJ.js.map +1 -0
- package/dist/menubar.d.ts +3 -0
- package/dist/menubar.js +1 -0
- package/dist/meter-11PgO99t.js +120 -0
- package/dist/meter-11PgO99t.js.map +1 -0
- package/dist/meter.d.ts +3 -0
- package/dist/meter.js +1 -0
- package/dist/month-calendar-value-CNJcsqcv.d.ts +5 -0
- package/dist/month-calendar-value-D_au-Kbz.js +35 -0
- package/dist/month-calendar-value-D_au-Kbz.js.map +1 -0
- package/dist/month-calendar.d.ts +6 -0
- package/dist/month-calendar.js +1 -0
- package/dist/month-picker-DFjFvjo9.js +26 -0
- package/dist/month-picker-DFjFvjo9.js.map +1 -0
- package/dist/month-picker-root-base-CI7jcllI.js +162 -0
- package/dist/month-picker-root-base-CI7jcllI.js.map +1 -0
- package/dist/month-picker-root-base-SELhczoy.d.ts +28 -0
- package/dist/month-picker.d.ts +10 -0
- package/dist/month-picker.js +3 -0
- package/dist/month-range-calendar-BmnWB6OD.js +28 -0
- package/dist/month-range-calendar-BmnWB6OD.js.map +1 -0
- package/dist/month-range-calendar.d.ts +6 -0
- package/dist/month-range-calendar.js +3 -0
- package/dist/month-range-picker-TfMtxi2X.js +26 -0
- package/dist/month-range-picker-TfMtxi2X.js.map +1 -0
- package/dist/month-range-picker.d.ts +10 -0
- package/dist/month-range-picker.js +3 -0
- package/dist/multiple-calendar-EBsuTzYQ.js +133 -0
- package/dist/multiple-calendar-EBsuTzYQ.js.map +1 -0
- package/dist/multiple-calendar.d.ts +7 -0
- package/dist/multiple-calendar.js +3 -0
- package/dist/navigation-menu-82shSjXS.js +660 -0
- package/dist/navigation-menu-82shSjXS.js.map +1 -0
- package/dist/navigation-menu.d.ts +5 -0
- package/dist/navigation-menu.js +1 -0
- package/dist/number-field-BUNkL15K.js +491 -0
- package/dist/number-field-BUNkL15K.js.map +1 -0
- package/dist/number-field.d.ts +4 -0
- package/dist/number-field.js +1 -0
- package/dist/otp-field-BMKBhv0O.js +363 -0
- package/dist/otp-field-BMKBhv0O.js.map +1 -0
- package/dist/otp-field.d.ts +4 -0
- package/dist/otp-field.js +1 -0
- package/dist/overlay-handle-DOyqO4oY.js +62 -0
- package/dist/overlay-handle-DOyqO4oY.js.map +1 -0
- package/dist/overlay-handle-DzzlzKqP.d.ts +16 -0
- package/dist/pagination-CMWaQSpr.js +173 -0
- package/dist/pagination-CMWaQSpr.js.map +1 -0
- package/dist/pagination.d.ts +4 -0
- package/dist/pagination.js +1 -0
- package/dist/parts-B2E7RN77.d.ts +170 -0
- package/dist/parts-BHkvkEgf.js +485 -0
- package/dist/parts-BHkvkEgf.js.map +1 -0
- package/dist/parts-BJ94V7Kv.d.ts +24 -0
- package/dist/parts-BL0sXepP.d.ts +101 -0
- package/dist/parts-BjC20sfl.d.ts +19 -0
- package/dist/parts-BnbJ2FWv.d.ts +81 -0
- package/dist/parts-C688_OLH.js +24 -0
- package/dist/parts-C688_OLH.js.map +1 -0
- package/dist/parts-C81p8gpg.d.ts +147 -0
- package/dist/parts-CDVlldST.js +721 -0
- package/dist/parts-CDVlldST.js.map +1 -0
- package/dist/parts-CNp1lOIU.js +24 -0
- package/dist/parts-CNp1lOIU.js.map +1 -0
- package/dist/parts-CXjEfLf7.d.ts +125 -0
- package/dist/parts-CrriPiIL.js +29 -0
- package/dist/parts-CrriPiIL.js.map +1 -0
- package/dist/parts-DVNSEjIO.d.ts +19 -0
- package/dist/parts-DmQ9WqOP.js +512 -0
- package/dist/parts-DmQ9WqOP.js.map +1 -0
- package/dist/parts-DoQQN1Io.d.ts +96 -0
- package/dist/parts-VT0Ohb06.js +806 -0
- package/dist/parts-VT0Ohb06.js.map +1 -0
- package/dist/parts-XRa0gd47.js +350 -0
- package/dist/parts-XRa0gd47.js.map +1 -0
- package/dist/parts-_ZriSS4p.js +376 -0
- package/dist/parts-_ZriSS4p.js.map +1 -0
- package/dist/password-input-BQAySlmc.js +212 -0
- package/dist/password-input-BQAySlmc.js.map +1 -0
- package/dist/password-input.d.ts +4 -0
- package/dist/password-input.js +1 -0
- package/dist/picker-binding-context-7ci59zS0.js +22 -0
- package/dist/picker-binding-context-7ci59zS0.js.map +1 -0
- package/dist/popover-C5UaRJpT.js +295 -0
- package/dist/popover-C5UaRJpT.js.map +1 -0
- package/dist/popover.d.ts +9 -0
- package/dist/popover.js +1 -0
- package/dist/progress-2d64jFqb.js +141 -0
- package/dist/progress-2d64jFqb.js.map +1 -0
- package/dist/progress.d.ts +3 -0
- package/dist/progress.js +1 -0
- package/dist/radio-Mvw36nnF.js +128 -0
- package/dist/radio-Mvw36nnF.js.map +1 -0
- package/dist/radio-group-D7DchtVK.js +149 -0
- package/dist/radio-group-D7DchtVK.js.map +1 -0
- package/dist/radio-group-context-DRe2PyiF.js +6 -0
- package/dist/radio-group-context-DRe2PyiF.js.map +1 -0
- package/dist/radio-group.d.ts +4 -0
- package/dist/radio-group.js +1 -0
- package/dist/radio.d.ts +3 -0
- package/dist/radio.js +1 -0
- package/dist/range-calendar-BMxPzzAr.js +32 -0
- package/dist/range-calendar-BMxPzzAr.js.map +1 -0
- package/dist/range-calendar.d.ts +6 -0
- package/dist/range-calendar.js +1 -0
- package/dist/rating-DQdIL_nz.js +303 -0
- package/dist/rating-DQdIL_nz.js.map +1 -0
- package/dist/rating.d.ts +4 -0
- package/dist/rating.js +1 -0
- package/dist/render-C7XnxB7f.js +40 -0
- package/dist/render-C7XnxB7f.js.map +1 -0
- package/dist/render-element-DXbUbfgN.js +66 -0
- package/dist/render-element-DXbUbfgN.js.map +1 -0
- package/dist/render-element-Pwuv2wsL.d.ts +13 -0
- package/dist/render.d.ts +3 -0
- package/dist/render.js +1 -0
- package/dist/roving-context-BVp0I9UN.js +16 -0
- package/dist/roving-context-BVp0I9UN.js.map +1 -0
- package/dist/scroll-area-CGaVLKik.js +274 -0
- package/dist/scroll-area-CGaVLKik.js.map +1 -0
- package/dist/scroll-area.d.ts +3 -0
- package/dist/scroll-area.js +1 -0
- package/dist/search-field-DqGQt6pC.js +207 -0
- package/dist/search-field-DqGQt6pC.js.map +1 -0
- package/dist/search-field.d.ts +4 -0
- package/dist/search-field.js +1 -0
- package/dist/segmented-control-BYrnLASo.js +316 -0
- package/dist/segmented-control-BYrnLASo.js.map +1 -0
- package/dist/segmented-control.d.ts +4 -0
- package/dist/segmented-control.js +1 -0
- package/dist/select-virtual-9vDaEiye.js +55 -0
- package/dist/select-virtual-9vDaEiye.js.map +1 -0
- package/dist/select-virtual.d.ts +4 -0
- package/dist/select-virtual.js +3 -0
- package/dist/select.d.ts +8 -0
- package/dist/select.js +1 -0
- package/dist/separator-ChAJks2Q.js +18 -0
- package/dist/separator-ChAJks2Q.js.map +1 -0
- package/dist/separator.d.ts +3 -0
- package/dist/separator.js +1 -0
- package/dist/slider-DZiqQ18C.js +437 -0
- package/dist/slider-DZiqQ18C.js.map +1 -0
- package/dist/slider.d.ts +4 -0
- package/dist/slider.js +1 -0
- package/dist/state-attributes-DhboDeMS.js +14 -0
- package/dist/state-attributes-DhboDeMS.js.map +1 -0
- package/dist/steps-t_FxFH9P.js +251 -0
- package/dist/steps-t_FxFH9P.js.map +1 -0
- package/dist/steps.d.ts +4 -0
- package/dist/steps.js +1 -0
- package/dist/switch-D3zj8gtg.js +137 -0
- package/dist/switch-D3zj8gtg.js.map +1 -0
- package/dist/switch.d.ts +4 -0
- package/dist/switch.js +1 -0
- package/dist/tabs-o83wz1hF.js +285 -0
- package/dist/tabs-o83wz1hF.js.map +1 -0
- package/dist/tabs.d.ts +4 -0
- package/dist/tabs.js +1 -0
- package/dist/tag-group-gmBdCkE4.js +354 -0
- package/dist/tag-group-gmBdCkE4.js.map +1 -0
- package/dist/tag-group.d.ts +4 -0
- package/dist/tag-group.js +1 -0
- package/dist/tags-input-Co9pI732.js +555 -0
- package/dist/tags-input-Co9pI732.js.map +1 -0
- package/dist/tags-input.d.ts +4 -0
- package/dist/tags-input.js +1 -0
- package/dist/time-field-qqgemJB1.js +35 -0
- package/dist/time-field-qqgemJB1.js.map +1 -0
- package/dist/time-field.d.ts +5 -0
- package/dist/time-field.js +1 -0
- package/dist/time-range-field-BurnJee0.js +36 -0
- package/dist/time-range-field-BurnJee0.js.map +1 -0
- package/dist/time-range-field.d.ts +7 -0
- package/dist/time-range-field.js +1 -0
- package/dist/toast-ChdTo_Md.js +341 -0
- package/dist/toast-ChdTo_Md.js.map +1 -0
- package/dist/toast.d.ts +4 -0
- package/dist/toast.js +1 -0
- package/dist/toggle-W5tihPuD.js +65 -0
- package/dist/toggle-W5tihPuD.js.map +1 -0
- package/dist/toggle-group-DpJ794rw.js +73 -0
- package/dist/toggle-group-DpJ794rw.js.map +1 -0
- package/dist/toggle-group-context-Bp44l1NR.js +6 -0
- package/dist/toggle-group-context-Bp44l1NR.js.map +1 -0
- package/dist/toggle-group.d.ts +4 -0
- package/dist/toggle-group.js +1 -0
- package/dist/toggle.d.ts +4 -0
- package/dist/toggle.js +1 -0
- package/dist/toolbar-DfjePeEZ.js +178 -0
- package/dist/toolbar-DfjePeEZ.js.map +1 -0
- package/dist/toolbar.d.ts +3 -0
- package/dist/toolbar.js +1 -0
- package/dist/tooltip-CqZtSspz.js +320 -0
- package/dist/tooltip-CqZtSspz.js.map +1 -0
- package/dist/tooltip.d.ts +9 -0
- package/dist/tooltip.js +1 -0
- package/dist/use-color-picker-binding-D0R-FsfF.js +17 -0
- package/dist/use-color-picker-binding-D0R-FsfF.js.map +1 -0
- package/dist/use-controllable-state-Dm8eNkgP.js +36 -0
- package/dist/use-controllable-state-Dm8eNkgP.js.map +1 -0
- package/dist/use-element-tpFZ-kuA.js +10 -0
- package/dist/use-element-tpFZ-kuA.js.map +1 -0
- package/dist/use-field-control-CL_nOU7T.js +131 -0
- package/dist/use-field-control-CL_nOU7T.js.map +1 -0
- package/dist/use-overlay-portal-Cfv6qtTO.js +18 -0
- package/dist/use-overlay-portal-Cfv6qtTO.js.map +1 -0
- package/dist/use-overlay-portal-D8GjZ-m7.d.ts +13 -0
- package/dist/use-overlay-root-BDO5E_0S.d.ts +23 -0
- package/dist/use-overlay-root-eXuUlCpV.js +225 -0
- package/dist/use-overlay-root-eXuUlCpV.js.map +1 -0
- package/dist/use-overlay-trigger-CxW1Z6Q6.js +74 -0
- package/dist/use-overlay-trigger-CxW1Z6Q6.js.map +1 -0
- package/dist/use-overlay-trigger-PP99t2ZF.d.ts +11 -0
- package/dist/use-panel-transition-CKMdsqPR.js +145 -0
- package/dist/use-panel-transition-CKMdsqPR.js.map +1 -0
- package/dist/use-positioner-BpxM4U5Y.d.ts +11 -0
- package/dist/use-positioner-DtJR980s.js +56 -0
- package/dist/use-positioner-DtJR980s.js.map +1 -0
- package/dist/use-presence-Cwi_UTLe.js +97 -0
- package/dist/use-presence-Cwi_UTLe.js.map +1 -0
- package/dist/use-required-context-Cjd_CYnv.js +11 -0
- package/dist/use-required-context-Cjd_CYnv.js.map +1 -0
- package/dist/use-roving-composite-D0vtGxm8.js +82 -0
- package/dist/use-roving-composite-D0vtGxm8.js.map +1 -0
- package/dist/use-roving-item-Dxe3phsZ.js +42 -0
- package/dist/use-roving-item-Dxe3phsZ.js.map +1 -0
- package/dist/use-segment-group--unFuh-Z.js +307 -0
- package/dist/use-segment-group--unFuh-Z.js.map +1 -0
- package/dist/use-virtual-rows-B5N0qgmT.js +99 -0
- package/dist/use-virtual-rows-B5N0qgmT.js.map +1 -0
- package/dist/use-virtual-rows-BQFqR0_e.d.ts +16 -0
- package/dist/year-calendar-CroBMFMN.js +28 -0
- package/dist/year-calendar-CroBMFMN.js.map +1 -0
- package/dist/year-calendar.d.ts +6 -0
- package/dist/year-calendar.js +3 -0
- package/dist/year-picker-DJVxXtPh.js +26 -0
- package/dist/year-picker-DJVxXtPh.js.map +1 -0
- package/dist/year-picker.d.ts +10 -0
- package/dist/year-picker.js +3 -0
- package/dist/year-range-calendar-Cz2WYDV2.js +28 -0
- package/dist/year-range-calendar-Cz2WYDV2.js.map +1 -0
- package/dist/year-range-calendar.d.ts +6 -0
- package/dist/year-range-calendar.js +3 -0
- package/dist/year-range-picker-9f7L5Hgx.js +26 -0
- package/dist/year-range-picker-9f7L5Hgx.js.map +1 -0
- package/dist/year-range-picker.d.ts +10 -0
- package/dist/year-range-picker.js +3 -0
- package/package.json +553 -3
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { t as PartProps } from "./render-element-Pwuv2wsL.js";
|
|
2
|
+
import { t as MonthCalendarItem } from "./month-calendar-value-CNJcsqcv.js";
|
|
3
|
+
import { t as ChangeDetails } from "./change-details-CPSkPCNw.js";
|
|
4
|
+
import { ReactNode } from "react";
|
|
5
|
+
import { PlainYearMonth } from "@fragiola/primitives/month-year";
|
|
6
|
+
import { CalendarSystem } from "@fragiola/primitives/calendar-systems";
|
|
7
|
+
interface MonthCalendarCellState {
|
|
8
|
+
today: boolean;
|
|
9
|
+
selected: boolean;
|
|
10
|
+
disabled: boolean;
|
|
11
|
+
unavailable: boolean;
|
|
12
|
+
focused: boolean;
|
|
13
|
+
rangeStart: boolean;
|
|
14
|
+
rangeEnd: boolean;
|
|
15
|
+
inRange: boolean;
|
|
16
|
+
rangePreview: boolean;
|
|
17
|
+
}
|
|
18
|
+
interface MonthCalendarCellProps extends PartProps<MonthCalendarCellState> {
|
|
19
|
+
/** The month or year. */
|
|
20
|
+
value: MonthCalendarItem;
|
|
21
|
+
}
|
|
22
|
+
/** One month or year. Its name and content come from `Intl` (the locale exception). */
|
|
23
|
+
declare function MonthCalendarCell({ value, children, ...props }: MonthCalendarCellProps): import("react").ReactNode;
|
|
24
|
+
interface MonthCalendarGridProps extends PartProps<Record<string, never>> {}
|
|
25
|
+
/** The page, as an ARIA grid with the calendar's keys mapped to items (spec/month-calendar.md). */
|
|
26
|
+
declare function MonthCalendarGrid(props: MonthCalendarGridProps): import("react").ReactNode;
|
|
27
|
+
interface MonthCalendarGridBodyProps extends Omit<PartProps<Record<string, never>>, "children"> {
|
|
28
|
+
/** Called per row of `columns` items (default: a Row each). */
|
|
29
|
+
children?: (row: MonthCalendarItem[]) => ReactNode;
|
|
30
|
+
}
|
|
31
|
+
/** The rows of the page (`tbody`). */
|
|
32
|
+
declare function MonthCalendarGridBody({ children, ...props }: MonthCalendarGridBodyProps): ReactNode;
|
|
33
|
+
interface MonthCalendarHeadingState {
|
|
34
|
+
/** The year (a month calendar) or the page of years it names, from `Intl`. */
|
|
35
|
+
label: string;
|
|
36
|
+
}
|
|
37
|
+
interface MonthCalendarHeadingProps extends PartProps<MonthCalendarHeadingState> {}
|
|
38
|
+
/** The year or the page of years shown, from `Intl` unless the consumer gives children. */
|
|
39
|
+
declare function MonthCalendarHeading({ children, ...props }: MonthCalendarHeadingProps): import("react").ReactNode;
|
|
40
|
+
interface MonthCalendarPageButtonState {
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
}
|
|
43
|
+
interface MonthCalendarNextButtonProps extends PartProps<MonthCalendarPageButtonState> {}
|
|
44
|
+
/** Shows the next page (a year; 12 years); the consumer names it. */
|
|
45
|
+
declare function MonthCalendarNextButton(props: MonthCalendarNextButtonProps): import("react").JSX.Element;
|
|
46
|
+
interface MonthCalendarPrevButtonProps extends PartProps<MonthCalendarPageButtonState> {}
|
|
47
|
+
/** Shows the previous page (a year; 12 years); the consumer names it. */
|
|
48
|
+
declare function MonthCalendarPrevButton(props: MonthCalendarPrevButtonProps): import("react").JSX.Element;
|
|
49
|
+
interface MonthCalendarRootState {
|
|
50
|
+
disabled: boolean;
|
|
51
|
+
readOnly: boolean;
|
|
52
|
+
}
|
|
53
|
+
/** The props every month and year calendar root shares (each adds its own typed value). */
|
|
54
|
+
interface MonthCalendarRootSharedProps extends PartProps<MonthCalendarRootState> {
|
|
55
|
+
/** Items per row (default 3). */
|
|
56
|
+
columns?: number;
|
|
57
|
+
/** A BCP 47 tag (default: the document's `lang`, then the browser's). */
|
|
58
|
+
locale?: string;
|
|
59
|
+
/**
|
|
60
|
+
* A calendar system from `@fragiola/primitives/calendar-systems` (spec/calendar-systems.md):
|
|
61
|
+
* the items are its months (a page is its year) or years, and so are the values.
|
|
62
|
+
*/
|
|
63
|
+
calendar?: CalendarSystem;
|
|
64
|
+
disabled?: boolean;
|
|
65
|
+
readOnly?: boolean;
|
|
66
|
+
}
|
|
67
|
+
interface MonthCalendarRootProps extends MonthCalendarRootSharedProps {
|
|
68
|
+
value?: PlainYearMonth | null;
|
|
69
|
+
defaultValue?: PlainYearMonth | null;
|
|
70
|
+
onValueChange?: (value: PlainYearMonth | null, details: ChangeDetails) => void;
|
|
71
|
+
/** Months before it are disabled. */
|
|
72
|
+
min?: PlainYearMonth | null;
|
|
73
|
+
/** Months after it are disabled. */
|
|
74
|
+
max?: PlainYearMonth | null;
|
|
75
|
+
/** Unavailable months can be focused but not chosen. */
|
|
76
|
+
isUnavailable?: (month: PlainYearMonth) => boolean;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* One month (spec/month-calendar.md). Inside a MonthPicker, or a calendar's month view, with no
|
|
80
|
+
* value of its own, it binds to it.
|
|
81
|
+
*/
|
|
82
|
+
declare function MonthCalendarRoot(props: MonthCalendarRootProps): import("react").JSX.Element;
|
|
83
|
+
interface MonthCalendarRowProps extends Omit<PartProps<Record<string, never>>, "children"> {
|
|
84
|
+
row: MonthCalendarItem[];
|
|
85
|
+
/** Called per item (default: a Cell each). */
|
|
86
|
+
children?: (item: MonthCalendarItem) => ReactNode;
|
|
87
|
+
}
|
|
88
|
+
/** One row of items (`tr`). */
|
|
89
|
+
declare function MonthCalendarRow({ row, children, ...props }: MonthCalendarRowProps): ReactNode;
|
|
90
|
+
/** spec/month-calendar.md: one month, in a grid of the 12 months of a year */
|
|
91
|
+
declare const MonthCalendar: {
|
|
92
|
+
Root: typeof MonthCalendarRoot;
|
|
93
|
+
Heading: typeof MonthCalendarHeading;
|
|
94
|
+
PrevButton: typeof MonthCalendarPrevButton;
|
|
95
|
+
NextButton: typeof MonthCalendarNextButton;
|
|
96
|
+
Grid: typeof MonthCalendarGrid;
|
|
97
|
+
GridBody: typeof MonthCalendarGridBody;
|
|
98
|
+
Row: typeof MonthCalendarRow;
|
|
99
|
+
Cell: typeof MonthCalendarCell;
|
|
100
|
+
};
|
|
101
|
+
export { MonthCalendarGrid as _, MonthCalendarRootSharedProps as a, MonthCalendarCellProps as b, MonthCalendarPrevButtonProps as c, MonthCalendarPageButtonState as d, MonthCalendarHeading as f, MonthCalendarGridBodyProps as g, MonthCalendarGridBody as h, MonthCalendarRootProps as i, MonthCalendarNextButton as l, MonthCalendarHeadingState as m, MonthCalendarRow as n, MonthCalendarRootState as o, MonthCalendarHeadingProps as p, MonthCalendarRowProps as r, MonthCalendarPrevButton as s, MonthCalendar as t, MonthCalendarNextButtonProps as u, MonthCalendarGridProps as v, MonthCalendarCellState as x, MonthCalendarCell as y };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { a as DatePickerPositioner, c as DatePickerPortal, i as DatePickerRootSharedProps, t as DatePickerTrigger, u as DatePickerPopup } from "./date-picker-trigger-DHsAhBf2.js";
|
|
2
|
+
import { t as ChangeDetails } from "./change-details-CPSkPCNw.js";
|
|
3
|
+
import { PlainDate } from "@fragiola/primitives/date";
|
|
4
|
+
interface DatePickerRootProps extends DatePickerRootSharedProps {
|
|
5
|
+
value?: PlainDate | null;
|
|
6
|
+
defaultValue?: PlainDate | null;
|
|
7
|
+
onValueChange?: (value: PlainDate | null, details: ChangeDetails) => void;
|
|
8
|
+
}
|
|
9
|
+
/** A trigger and a popup holding a bound `Calendar.Root` (spec/calendar.md). */
|
|
10
|
+
declare function DatePickerRoot(props: DatePickerRootProps): import("react").JSX.Element;
|
|
11
|
+
/** spec/calendar.md: a trigger and a popup holding a bound Calendar */
|
|
12
|
+
declare const DatePicker: {
|
|
13
|
+
Root: typeof DatePickerRoot;
|
|
14
|
+
Trigger: typeof DatePickerTrigger;
|
|
15
|
+
Portal: typeof DatePickerPortal;
|
|
16
|
+
Positioner: typeof DatePickerPositioner;
|
|
17
|
+
Popup: typeof DatePickerPopup;
|
|
18
|
+
};
|
|
19
|
+
export { DatePickerRootProps as n, DatePicker as t };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { t as PartProps } from "./render-element-Pwuv2wsL.js";
|
|
2
|
+
import { t as ChangeDetails } from "./change-details-CPSkPCNw.js";
|
|
3
|
+
import { SelectionBehavior } from "@fragiola/primitives/selection";
|
|
4
|
+
/** A `group` of items, named by its GroupLabel (spec/listbox.md). */
|
|
5
|
+
declare function ListboxGroup(props: PartProps<Record<string, never>>): import("react").JSX.Element;
|
|
6
|
+
/** Names its Group (spec/listbox.md). */
|
|
7
|
+
declare function ListboxGroupLabel(props: PartProps<Record<string, never>>): import("react").ReactNode;
|
|
8
|
+
interface ListboxItemState {
|
|
9
|
+
selected: boolean;
|
|
10
|
+
highlighted: boolean;
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
}
|
|
13
|
+
interface ListboxItemProps extends PartProps<ListboxItemState> {
|
|
14
|
+
/** The value it selects. */
|
|
15
|
+
value: string;
|
|
16
|
+
/** Takes focus, never the selection. */
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
/** The text typeahead matches (default: its text content). */
|
|
19
|
+
label?: string;
|
|
20
|
+
}
|
|
21
|
+
/** An `option`, focusable with a roving `tabindex` (spec/listbox.md). */
|
|
22
|
+
declare function ListboxItem({ value, disabled: disabledProp, label, ...props }: ListboxItemProps): import("react").JSX.Element;
|
|
23
|
+
interface ListboxItemIndicatorProps extends PartProps<{
|
|
24
|
+
selected: boolean;
|
|
25
|
+
}> {
|
|
26
|
+
/** Rendered while the item is not selected too. */
|
|
27
|
+
keepMounted?: boolean;
|
|
28
|
+
}
|
|
29
|
+
/** Marks a selected item; hidden from assistive technologies (spec/listbox.md). */
|
|
30
|
+
declare function ListboxItemIndicator({ keepMounted, ...props }: ListboxItemIndicatorProps): import("react").ReactNode;
|
|
31
|
+
interface ListboxRootState {
|
|
32
|
+
multiple: boolean;
|
|
33
|
+
disabled: boolean;
|
|
34
|
+
orientation: "horizontal" | "vertical";
|
|
35
|
+
}
|
|
36
|
+
interface ListboxRootCommonProps extends PartProps<ListboxRootState> {
|
|
37
|
+
/** The APG's selection model (default `"toggle"`, the recommended one). */
|
|
38
|
+
selectionBehavior?: SelectionBehavior;
|
|
39
|
+
/** `aria-orientation`; a horizontal list moves with ArrowLeft and ArrowRight. */
|
|
40
|
+
orientation?: "horizontal" | "vertical";
|
|
41
|
+
/** The arrows wrap from the last option to the first and back (default `true`). */
|
|
42
|
+
loopFocus?: boolean;
|
|
43
|
+
/** Every option is disabled and none takes focus. */
|
|
44
|
+
disabled?: boolean;
|
|
45
|
+
name?: string;
|
|
46
|
+
/** The form's validation fails while nothing is selected. */
|
|
47
|
+
required?: boolean;
|
|
48
|
+
}
|
|
49
|
+
interface ListboxRootSingleProps extends ListboxRootCommonProps {
|
|
50
|
+
multiple?: false;
|
|
51
|
+
value?: string | null;
|
|
52
|
+
defaultValue?: string | null;
|
|
53
|
+
onValueChange?: (value: string | null, details: ChangeDetails) => void;
|
|
54
|
+
}
|
|
55
|
+
interface ListboxRootMultipleProps extends ListboxRootCommonProps {
|
|
56
|
+
multiple: true;
|
|
57
|
+
value?: readonly string[];
|
|
58
|
+
defaultValue?: readonly string[];
|
|
59
|
+
onValueChange?: (value: string[], details: ChangeDetails) => void;
|
|
60
|
+
}
|
|
61
|
+
type ListboxRootProps = ListboxRootSingleProps | ListboxRootMultipleProps;
|
|
62
|
+
/**
|
|
63
|
+
* A list of options for choosing one value or several (spec/listbox.md, the APG listbox): the
|
|
64
|
+
* `listbox`, its roving focus, the selection models, typeahead, and the hidden form inputs.
|
|
65
|
+
*/
|
|
66
|
+
declare function ListboxRoot(props: ListboxRootProps): import("react").JSX.Element;
|
|
67
|
+
/**
|
|
68
|
+
* Between items or groups; no role of its own (a `listbox` owns only groups and options), across
|
|
69
|
+
* the list's orientation (spec/listbox.md).
|
|
70
|
+
*/
|
|
71
|
+
declare function ListboxSeparator(props: PartProps<Record<string, never>>): import("react").ReactNode;
|
|
72
|
+
/** spec/listbox.md */
|
|
73
|
+
declare const Listbox: {
|
|
74
|
+
Root: typeof ListboxRoot;
|
|
75
|
+
Item: typeof ListboxItem;
|
|
76
|
+
ItemIndicator: typeof ListboxItemIndicator;
|
|
77
|
+
Group: typeof ListboxGroup;
|
|
78
|
+
GroupLabel: typeof ListboxGroupLabel;
|
|
79
|
+
Separator: typeof ListboxSeparator;
|
|
80
|
+
};
|
|
81
|
+
export { ListboxRootState as a, ListboxItemState as c, ListboxRootSingleProps as i, ListboxRootMultipleProps as n, ListboxItemIndicatorProps as o, ListboxRootProps as r, ListboxItemProps as s, Listbox as t };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { a as DatePickerPopup, i as DatePickerPortal, n as DatePickerRootBase, r as DatePickerPositioner, t as DatePickerTrigger } from "./date-picker-trigger-BKPvZbRg.js";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
// src/components/date-range-picker/date-range-picker-root.tsx
|
|
4
|
+
/** A trigger and a popup holding a bound `RangeCalendar.Root` (spec/calendar.md). */
|
|
5
|
+
function DateRangePickerRoot(props) {
|
|
6
|
+
return /* @__PURE__ */ jsx(DatePickerRootBase, {
|
|
7
|
+
component: "date-range-picker",
|
|
8
|
+
mode: "range",
|
|
9
|
+
...props,
|
|
10
|
+
onValueChange: props.onValueChange
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
// src/components/date-range-picker/parts.ts
|
|
14
|
+
/** spec/calendar.md: a trigger and a popup holding a bound RangeCalendar, with the DatePicker's parts */
|
|
15
|
+
const DateRangePicker = {
|
|
16
|
+
Root: DateRangePickerRoot,
|
|
17
|
+
Trigger: DatePickerTrigger,
|
|
18
|
+
Portal: DatePickerPortal,
|
|
19
|
+
Positioner: DatePickerPositioner,
|
|
20
|
+
Popup: DatePickerPopup
|
|
21
|
+
};
|
|
22
|
+
export { DateRangePicker as t };
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=parts-C688_OLH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parts-C688_OLH.js","names":[],"sources":["../src/components/date-range-picker/date-range-picker-root.tsx","../src/components/date-range-picker/parts.ts"],"sourcesContent":["import type { DateRange } from \"@fragiola/primitives/date\";\nimport type { ChangeDetails } from \"../../utils/change-details.ts\";\nimport type { CalendarValue } from \"../calendar/calendar-value.ts\";\nimport {\n DatePickerRootBase,\n type DatePickerRootSharedProps,\n} from \"../date-picker/date-picker-root-base.tsx\";\n\nexport interface DateRangePickerRootProps extends DatePickerRootSharedProps {\n value?: DateRange | null;\n defaultValue?: DateRange | null;\n onValueChange?: (value: DateRange | null, details: ChangeDetails) => void;\n}\n\n/** A trigger and a popup holding a bound `RangeCalendar.Root` (spec/calendar.md). */\nexport function DateRangePickerRoot(props: DateRangePickerRootProps) {\n return (\n <DatePickerRootBase\n component=\"date-range-picker\"\n mode=\"range\"\n {...props}\n onValueChange={\n props.onValueChange as\n | ((value: CalendarValue, details: ChangeDetails) => void)\n | undefined\n }\n />\n );\n}\n","import { DatePickerPopup } from \"../date-picker/date-picker-popup.tsx\";\nimport { DatePickerPortal } from \"../date-picker/date-picker-portal.tsx\";\nimport { DatePickerPositioner } from \"../date-picker/date-picker-positioner.tsx\";\nimport { DatePickerTrigger } from \"../date-picker/date-picker-trigger.tsx\";\nimport { DateRangePickerRoot } from \"./date-range-picker-root.tsx\";\n\n/** spec/calendar.md: a trigger and a popup holding a bound RangeCalendar, with the DatePicker's parts */\nexport const DateRangePicker = {\n Root: DateRangePickerRoot,\n Trigger: DatePickerTrigger,\n Portal: DatePickerPortal,\n Positioner: DatePickerPositioner,\n Popup: DatePickerPopup,\n};\n"],"mappings":";;;;AAeA,SAAgB,oBAAoB,OAAiC;CACjE,OACI,oBAAC,oBAAD;EACI,WAAU;EACV,MAAK;EACL,GAAI;EACJ,eACI,MAAM;CAIb,CAAA;AAET;;;ACrBA,MAAa,kBAAkB;CAC3B,MAAM;CACN,SAAS;CACT,QAAQ;CACR,YAAY;CACZ,OAAO;AACX"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { t as PartProps } from "./render-element-Pwuv2wsL.js";
|
|
2
|
+
import { t as OverlayPortalProps } from "./use-overlay-portal-D8GjZ-m7.js";
|
|
3
|
+
import { t as PositionerProps } from "./use-positioner-BpxM4U5Y.js";
|
|
4
|
+
import { t as OverlayRootProps } from "./use-overlay-root-BDO5E_0S.js";
|
|
5
|
+
import { t as ChangeDetails } from "./change-details-CPSkPCNw.js";
|
|
6
|
+
import { ReactNode } from "react";
|
|
7
|
+
import { ItemFilter, ItemGroup } from "@fragiola/primitives/collection";
|
|
8
|
+
import "@fragiola/primitives/positioning";
|
|
9
|
+
/** Empties the text; rendered only while there is text (spec/autocomplete.md). */
|
|
10
|
+
declare function AutocompleteClear(props: PartProps<{
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
}>): import("react").ReactNode;
|
|
13
|
+
/**
|
|
14
|
+
* A polite live region, always rendered; its children are shown only while the list is empty
|
|
15
|
+
* (spec/autocomplete.md).
|
|
16
|
+
*/
|
|
17
|
+
declare function AutocompleteEmpty({ children, ...props }: PartProps<Record<string, never>>): import("react").ReactNode;
|
|
18
|
+
/** A `group` of suggestions, named by its GroupLabel (spec/autocomplete.md). */
|
|
19
|
+
declare function AutocompleteGroup(props: PartProps<Record<string, never>>): import("react").JSX.Element;
|
|
20
|
+
/** Names its Group. */
|
|
21
|
+
declare function AutocompleteGroupLabel(props: PartProps<Record<string, never>>): import("react").ReactNode;
|
|
22
|
+
/**
|
|
23
|
+
* The `combobox` and the form control: keeps DOM focus while the list is open; the highlighted
|
|
24
|
+
* suggestion is announced with `aria-activedescendant` (spec/autocomplete.md, "Keyboard").
|
|
25
|
+
*/
|
|
26
|
+
declare function AutocompleteInput(props: PartProps<{
|
|
27
|
+
open: boolean;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
}>): import("react").ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* Holds the Input and its buttons; anchors the list. A press on it, outside its buttons and the
|
|
32
|
+
* input, focuses the input (and opens the list with `openOnInputClick`).
|
|
33
|
+
*/
|
|
34
|
+
declare function AutocompleteInputGroup(props: PartProps<{
|
|
35
|
+
open: boolean;
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
}>): import("react").ReactNode;
|
|
38
|
+
interface AutocompleteItemState {
|
|
39
|
+
highlighted: boolean;
|
|
40
|
+
disabled: boolean;
|
|
41
|
+
}
|
|
42
|
+
interface AutocompleteItemProps extends PartProps<AutocompleteItemState> {
|
|
43
|
+
/** The suggestion: its `itemToStringValue` becomes the value when chosen. */
|
|
44
|
+
value: unknown;
|
|
45
|
+
/** Can be highlighted, never chosen. */
|
|
46
|
+
disabled?: boolean;
|
|
47
|
+
}
|
|
48
|
+
/** An `option`: a suggestion, never selected (spec/autocomplete.md). */
|
|
49
|
+
declare function AutocompleteItem({ value, disabled, ...props }: AutocompleteItemProps): import("react").ReactNode;
|
|
50
|
+
interface AutocompleteListProps<Entry = unknown> extends Omit<PartProps<{
|
|
51
|
+
empty: boolean;
|
|
52
|
+
}>, "children"> {
|
|
53
|
+
/**
|
|
54
|
+
* Nodes, or a render function of each matching entry (a suggestion, or a group). `Entry` is
|
|
55
|
+
* the consumer's own type, inferred from the function's parameter.
|
|
56
|
+
*/
|
|
57
|
+
children?: ReactNode | ((entry: Entry, index: number) => ReactNode);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The `listbox`. Applies the highlight the keyboard or the typing asked for once its suggestions
|
|
61
|
+
* render, and drops a highlight whose suggestion is gone (new `items`).
|
|
62
|
+
*/
|
|
63
|
+
declare function AutocompleteList<Entry = unknown>({ children, ...props }: AutocompleteListProps<Entry>): ReactNode;
|
|
64
|
+
/** The floating container of the list (no role of its own). */
|
|
65
|
+
declare function AutocompletePopup(props: PartProps<{
|
|
66
|
+
open: boolean;
|
|
67
|
+
side: string;
|
|
68
|
+
align: string;
|
|
69
|
+
}>): import("react").ReactNode;
|
|
70
|
+
interface AutocompletePortalProps extends OverlayPortalProps {}
|
|
71
|
+
declare function AutocompletePortal(props: AutocompletePortalProps): import("react").ReactNode;
|
|
72
|
+
interface AutocompletePositionerState {
|
|
73
|
+
open: boolean;
|
|
74
|
+
side: string;
|
|
75
|
+
align: string;
|
|
76
|
+
}
|
|
77
|
+
interface AutocompletePositionerProps extends PartProps<AutocompletePositionerState>, PositionerProps {}
|
|
78
|
+
/**
|
|
79
|
+
* Places the list under the InputGroup (else the Input); the open list is a layer (Escape,
|
|
80
|
+
* outside press).
|
|
81
|
+
*/
|
|
82
|
+
declare function AutocompletePositioner({ side, align, sideOffset, alignOffset, collisionPadding, anchor, ...props }: AutocompletePositionerProps): import("react").ReactNode;
|
|
83
|
+
/** How the autocomplete completes the text (spec/autocomplete.md, "API"). */
|
|
84
|
+
type AutocompleteMode = "list" | "both" | "inline" | "none";
|
|
85
|
+
interface AutocompleteRootProps<Item> extends OverlayRootProps {
|
|
86
|
+
/** The text (controlled). */
|
|
87
|
+
value?: string;
|
|
88
|
+
/** The text at first (default `""`). */
|
|
89
|
+
defaultValue?: string;
|
|
90
|
+
onValueChange?: (value: string, details: ChangeDetails) => void;
|
|
91
|
+
/** The suggestions, or groups of them: the autocomplete filters them (`list`, `both`). */
|
|
92
|
+
items?: readonly (Item | ItemGroup<Item>)[];
|
|
93
|
+
/** `list` (default), `both`, `inline` or `none` (spec/autocomplete.md). */
|
|
94
|
+
mode?: AutocompleteMode;
|
|
95
|
+
/** Whether a suggestion matches the query; `null` turns filtering off. */
|
|
96
|
+
filter?: ItemFilter<Item> | null;
|
|
97
|
+
/** The most suggestions the list renders; `-1` for no limit. */
|
|
98
|
+
limit?: number;
|
|
99
|
+
locale?: string;
|
|
100
|
+
/** A suggestion's text, written into the input when chosen. */
|
|
101
|
+
itemToStringValue?: (item: Item) => string;
|
|
102
|
+
/** A press on the input opens the list (default `false`). */
|
|
103
|
+
openOnInputClick?: boolean;
|
|
104
|
+
/** Typing highlights the first suggestion (`list`, `none`; default `false`). */
|
|
105
|
+
autoHighlight?: boolean;
|
|
106
|
+
name?: string;
|
|
107
|
+
required?: boolean;
|
|
108
|
+
disabled?: boolean;
|
|
109
|
+
children?: ReactNode;
|
|
110
|
+
}
|
|
111
|
+
/** Holds the autocomplete's state (spec/autocomplete.md): the value is the text. */
|
|
112
|
+
declare function AutocompleteRoot<Item>(props: AutocompleteRootProps<Item>): import("react").JSX.Element;
|
|
113
|
+
/** Between groups; no role of its own (a `listbox` owns only groups and options). */
|
|
114
|
+
declare function AutocompleteSeparator(props: PartProps<Record<string, never>>): import("react").ReactNode;
|
|
115
|
+
/** A polite live region for the consumer's text (spec/autocomplete.md). */
|
|
116
|
+
declare function AutocompleteStatus(props: PartProps<Record<string, never>>): import("react").ReactNode;
|
|
117
|
+
/** Toggles the list; not in the tab order, keeps focus in the input. */
|
|
118
|
+
declare function AutocompleteTrigger(props: PartProps<{
|
|
119
|
+
open: boolean;
|
|
120
|
+
disabled: boolean;
|
|
121
|
+
}>): import("react").ReactNode;
|
|
122
|
+
interface AutocompleteValueProps {
|
|
123
|
+
/** A node, or a render function of the value (the text). */
|
|
124
|
+
children?: ReactNode | ((value: string) => ReactNode);
|
|
125
|
+
}
|
|
126
|
+
/** Renders the value: the text, or the consumer's render function of it. */
|
|
127
|
+
declare function AutocompleteValue({ children }: AutocompleteValueProps): import("react").JSX.Element;
|
|
128
|
+
/** spec/autocomplete.md */
|
|
129
|
+
declare const Autocomplete: {
|
|
130
|
+
Root: typeof AutocompleteRoot;
|
|
131
|
+
InputGroup: typeof AutocompleteInputGroup;
|
|
132
|
+
Input: typeof AutocompleteInput;
|
|
133
|
+
Trigger: typeof AutocompleteTrigger;
|
|
134
|
+
Clear: typeof AutocompleteClear;
|
|
135
|
+
Value: typeof AutocompleteValue;
|
|
136
|
+
Status: typeof AutocompleteStatus;
|
|
137
|
+
Portal: typeof AutocompletePortal;
|
|
138
|
+
Positioner: typeof AutocompletePositioner;
|
|
139
|
+
Popup: typeof AutocompletePopup;
|
|
140
|
+
Empty: typeof AutocompleteEmpty;
|
|
141
|
+
List: typeof AutocompleteList;
|
|
142
|
+
Group: typeof AutocompleteGroup;
|
|
143
|
+
GroupLabel: typeof AutocompleteGroupLabel;
|
|
144
|
+
Separator: typeof AutocompleteSeparator;
|
|
145
|
+
Item: typeof AutocompleteItem;
|
|
146
|
+
};
|
|
147
|
+
export { AutocompletePositionerProps as a, AutocompleteListProps as c, AutocompleteMode as i, AutocompleteItemProps as l, AutocompleteValueProps as n, AutocompletePositionerState as o, AutocompleteRootProps as r, AutocompletePortalProps as s, Autocomplete as t, AutocompleteItemState as u };
|