@fragiola/primitives-vue 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 +41 -2
- package/dist/accordion-CmKuKHkK.js +278 -0
- package/dist/accordion-CmKuKHkK.js.map +1 -0
- package/dist/accordion.d.ts +4 -0
- package/dist/accordion.js +1 -0
- package/dist/alert-dialog-CPG51QOk.js +38 -0
- package/dist/alert-dialog-CPG51QOk.js.map +1 -0
- package/dist/alert-dialog.d.ts +9 -0
- package/dist/alert-dialog.js +1 -0
- package/dist/aspect-ratio-Ba7GaRnV.js +37 -0
- package/dist/aspect-ratio-Ba7GaRnV.js.map +1 -0
- package/dist/aspect-ratio.d.ts +3 -0
- package/dist/aspect-ratio.js +1 -0
- package/dist/async-list-Dc8wqcxe.js +39 -0
- package/dist/async-list-Dc8wqcxe.js.map +1 -0
- package/dist/async-list.d.ts +2 -0
- package/dist/async-list.js +1 -0
- package/dist/autocomplete-virtual-D_2Wuih7.js +55 -0
- package/dist/autocomplete-virtual-D_2Wuih7.js.map +1 -0
- package/dist/autocomplete-virtual.d.ts +2 -0
- package/dist/autocomplete-virtual.js +3 -0
- package/dist/autocomplete.d.ts +6 -0
- package/dist/autocomplete.js +1 -0
- package/dist/avatar-DdDGa6x7.js +166 -0
- package/dist/avatar-DdDGa6x7.js.map +1 -0
- package/dist/avatar.d.ts +3 -0
- package/dist/avatar.js +1 -0
- package/dist/breadcrumbs-BFAjlnC_.js +131 -0
- package/dist/breadcrumbs-BFAjlnC_.js.map +1 -0
- package/dist/breadcrumbs.d.ts +3 -0
- package/dist/breadcrumbs.js +1 -0
- package/dist/button-DVUcUCXc.js +56 -0
- package/dist/button-DVUcUCXc.js.map +1 -0
- package/dist/button-attributes-Ue6sUse5.js +83 -0
- package/dist/button-attributes-Ue6sUse5.js.map +1 -0
- package/dist/button.d.ts +3 -0
- package/dist/button.js +1 -0
- package/dist/calendar-preset-Bjc7rcNX.js +84 -0
- package/dist/calendar-preset-Bjc7rcNX.js.map +1 -0
- package/dist/calendar-preset.d.ts +3 -0
- package/dist/calendar-preset.js +3 -0
- package/dist/calendar-prev-button-jluYmM-3.js +307 -0
- package/dist/calendar-prev-button-jluYmM-3.js.map +1 -0
- package/dist/calendar-root-base-C9dfkl55.js +310 -0
- package/dist/calendar-root-base-C9dfkl55.js.map +1 -0
- package/dist/calendar-view-Djy5iHGK.js +160 -0
- package/dist/calendar-view-Djy5iHGK.js.map +1 -0
- package/dist/calendar-view.d.ts +4 -0
- package/dist/calendar-view.js +4 -0
- package/dist/calendar.d.ts +5 -0
- package/dist/calendar.js +1 -0
- package/dist/carousel-BOacnCmz.js +553 -0
- package/dist/carousel-BOacnCmz.js.map +1 -0
- package/dist/carousel.d.ts +4 -0
- package/dist/carousel.js +1 -0
- package/dist/cascade-select-B-Nf6eOA.js +697 -0
- package/dist/cascade-select-B-Nf6eOA.js.map +1 -0
- package/dist/cascade-select.d.ts +6 -0
- package/dist/cascade-select.js +1 -0
- package/dist/change-details-Bc4-Xzdm.d.ts +37 -0
- package/dist/checkbox-D5NvqFgS.js +230 -0
- package/dist/checkbox-D5NvqFgS.js.map +1 -0
- package/dist/checkbox-group-C3XftlZd.js +104 -0
- package/dist/checkbox-group-C3XftlZd.js.map +1 -0
- package/dist/checkbox-group-context-C0Z5sWM1.js +5 -0
- package/dist/checkbox-group-context-C0Z5sWM1.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-BM-4-lTv.js +195 -0
- package/dist/clipboard-BM-4-lTv.js.map +1 -0
- package/dist/clipboard.d.ts +4 -0
- package/dist/clipboard.js +1 -0
- package/dist/collapsible-DSCxhlQN.js +158 -0
- package/dist/collapsible-DSCxhlQN.js.map +1 -0
- package/dist/collapsible.d.ts +4 -0
- package/dist/collapsible.js +1 -0
- package/dist/color-area-uEHPo-Nq.js +350 -0
- package/dist/color-area-uEHPo-Nq.js.map +1 -0
- package/dist/color-area.d.ts +4 -0
- package/dist/color-area.js +1 -0
- package/dist/color-field-Di2IbTa3.js +384 -0
- package/dist/color-field-Di2IbTa3.js.map +1 -0
- package/dist/color-field.d.ts +4 -0
- package/dist/color-field.js +1 -0
- package/dist/color-picker-BgFgq5R0.js +311 -0
- package/dist/color-picker-BgFgq5R0.js.map +1 -0
- package/dist/color-picker-binding-CJ-Cbxbj.js +5 -0
- package/dist/color-picker-binding-CJ-Cbxbj.js.map +1 -0
- package/dist/color-picker-popover-Dx6LX0V3.js +233 -0
- package/dist/color-picker-popover-Dx6LX0V3.js.map +1 -0
- package/dist/color-picker-popover.d.ts +6 -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-BCqoolnY.js +410 -0
- package/dist/color-slider-BCqoolnY.js.map +1 -0
- package/dist/color-slider.d.ts +4 -0
- package/dist/color-slider.js +1 -0
- package/dist/color-swatch-C-8IN28V.js +54 -0
- package/dist/color-swatch-C-8IN28V.js.map +1 -0
- package/dist/color-swatch-picker-CU1wrhjX.js +312 -0
- package/dist/color-swatch-picker-CU1wrhjX.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-F_BoXKON.js +284 -0
- package/dist/color-wheel-F_BoXKON.js.map +1 -0
- package/dist/color-wheel.d.ts +4 -0
- package/dist/color-wheel.js +1 -0
- package/dist/combobox-virtual-DTRTVq5N.js +56 -0
- package/dist/combobox-virtual-DTRTVq5N.js.map +1 -0
- package/dist/combobox-virtual.d.ts +2 -0
- package/dist/combobox-virtual.js +3 -0
- package/dist/combobox.d.ts +6 -0
- package/dist/combobox.js +1 -0
- package/dist/command-virtual-LoTBDEY5.js +59 -0
- package/dist/command-virtual-LoTBDEY5.js.map +1 -0
- package/dist/command-virtual.d.ts +3 -0
- package/dist/command-virtual.js +3 -0
- package/dist/command.d.ts +4 -0
- package/dist/command.js +1 -0
- package/dist/context-menu-zdHIGS9E.js +151 -0
- package/dist/context-menu-zdHIGS9E.js.map +1 -0
- package/dist/context-menu.d.ts +7 -0
- package/dist/context-menu.js +1 -0
- package/dist/date-field-pgSTZiPb.js +78 -0
- package/dist/date-field-pgSTZiPb.js.map +1 -0
- package/dist/date-field-root-base-CYLuAykm.js +212 -0
- package/dist/date-field-root-base-CYLuAykm.js.map +1 -0
- package/dist/date-field.d.ts +4 -0
- package/dist/date-field.js +1 -0
- package/dist/date-picker-input-CiuuRiWZ.js +16 -0
- package/dist/date-picker-input-CiuuRiWZ.js.map +1 -0
- package/dist/date-picker-input-root-base-ExPSLeKw.js +318 -0
- package/dist/date-picker-input-root-base-ExPSLeKw.js.map +1 -0
- package/dist/date-picker-input.d.ts +4 -0
- package/dist/date-picker-input.js +3 -0
- package/dist/date-picker-trigger-C2BlzvfR.js +349 -0
- package/dist/date-picker-trigger-C2BlzvfR.js.map +1 -0
- package/dist/date-picker.d.ts +6 -0
- package/dist/date-picker.js +1 -0
- package/dist/date-range-field-Bygmkl5c.js +80 -0
- package/dist/date-range-field-Bygmkl5c.js.map +1 -0
- package/dist/date-range-field-input-CivpQMYd.js +69 -0
- package/dist/date-range-field-input-CivpQMYd.js.map +1 -0
- package/dist/date-range-field-root-base-BP26TSWz.js +267 -0
- package/dist/date-range-field-root-base-BP26TSWz.js.map +1 -0
- package/dist/date-range-field.d.ts +4 -0
- package/dist/date-range-field.js +1 -0
- package/dist/date-range-picker-input-BUNCCXUY.js +17 -0
- package/dist/date-range-picker-input-BUNCCXUY.js.map +1 -0
- package/dist/date-range-picker-input.d.ts +4 -0
- package/dist/date-range-picker-input.js +3 -0
- package/dist/date-range-picker.d.ts +7 -0
- package/dist/date-range-picker.js +1 -0
- package/dist/dialog-MNjIMCfA.js +38 -0
- package/dist/dialog-MNjIMCfA.js.map +1 -0
- package/dist/dialog-root-base-jbZipaoQ.js +329 -0
- package/dist/dialog-root-base-jbZipaoQ.js.map +1 -0
- package/dist/dialog-viewport-tYqWTs9Q.d.ts +54 -0
- package/dist/dialog.d.ts +9 -0
- package/dist/dialog.js +1 -0
- package/dist/direction-CN_deiZU.js +30 -0
- package/dist/direction-CN_deiZU.js.map +1 -0
- package/dist/direction-context-D-C_P6Lm.js +19 -0
- package/dist/direction-context-D-C_P6Lm.js.map +1 -0
- package/dist/direction.d.ts +2 -0
- package/dist/direction.js +1 -0
- package/dist/drawer-BcnuGtEt.js +357 -0
- package/dist/drawer-BcnuGtEt.js.map +1 -0
- package/dist/drawer.d.ts +9 -0
- package/dist/drawer.js +1 -0
- package/dist/drop-zone-vFJ5Kvsy.js +98 -0
- package/dist/drop-zone-vFJ5Kvsy.js.map +1 -0
- package/dist/drop-zone.d.ts +4 -0
- package/dist/drop-zone.js +1 -0
- package/dist/editable-CabzXgiN.js +436 -0
- package/dist/editable-CabzXgiN.js.map +1 -0
- package/dist/editable.d.ts +4 -0
- package/dist/editable.js +1 -0
- package/dist/field-DQ2d5nhC.js +397 -0
- package/dist/field-DQ2d5nhC.js.map +1 -0
- package/dist/field.d.ts +4 -0
- package/dist/field.js +1 -0
- package/dist/fieldset-CmmDzOPs.js +80 -0
- package/dist/fieldset-CmmDzOPs.js.map +1 -0
- package/dist/fieldset-context-DtEOoG6M.js +5 -0
- package/dist/fieldset-context-DtEOoG6M.js.map +1 -0
- package/dist/fieldset.d.ts +3 -0
- package/dist/fieldset.js +1 -0
- package/dist/file-upload-_Hh-STdv.js +644 -0
- package/dist/file-upload-_Hh-STdv.js.map +1 -0
- package/dist/file-upload.d.ts +4 -0
- package/dist/file-upload.js +1 -0
- package/dist/form-context-DBnVT1lw.js +5 -0
- package/dist/form-context-DBnVT1lw.js.map +1 -0
- package/dist/form-s9HijjTL.js +92 -0
- package/dist/form-s9HijjTL.js.map +1 -0
- package/dist/form.d.ts +3 -0
- package/dist/form.js +1 -0
- package/dist/hover-card-rmd0fD17.js +355 -0
- package/dist/hover-card-rmd0fD17.js.map +1 -0
- package/dist/hover-card.d.ts +9 -0
- package/dist/hover-card.js +1 -0
- package/dist/index-5WtjXdX9.d.ts +63 -0
- package/dist/index-5eBkkEtv.d.ts +36 -0
- package/dist/index-B-vqAG6g.d.ts +33 -0
- package/dist/index-B1uYYVtV.d.ts +18 -0
- package/dist/index-B8E3X1CK.d.ts +66 -0
- package/dist/index-B8Ufhgzu.d.ts +36 -0
- package/dist/index-BJz7OWbi.d.ts +88 -0
- package/dist/index-BMjRueuv.d.ts +40 -0
- package/dist/index-BP7Tmb0E.d.ts +95 -0
- package/dist/index-Bbb1Zgwo.d.ts +50 -0
- package/dist/index-BdJFU5tH.d.ts +28 -0
- package/dist/index-BdfnRo-h.d.ts +55 -0
- package/dist/index-BniQvFN-.d.ts +38 -0
- package/dist/index-Bt0B-8RV.d.ts +14 -0
- package/dist/index-BuWJcRPC.d.ts +18 -0
- package/dist/index-Byf0GNd9.d.ts +41 -0
- package/dist/index-BzHLkAWU.d.ts +35 -0
- package/dist/index-C-QYKtWy.d.ts +28 -0
- package/dist/index-C7nh2Oil.d.ts +40 -0
- package/dist/index-CDKebSlA.d.ts +41 -0
- package/dist/index-CFPqV6qJ.d.ts +72 -0
- package/dist/index-CRJv_zWm.d.ts +37 -0
- package/dist/index-CTzUalDO.d.ts +76 -0
- package/dist/index-CZHLD5cJ.d.ts +17 -0
- package/dist/index-Cgwn5qgy.d.ts +88 -0
- package/dist/index-Ch4h1DFC.d.ts +55 -0
- package/dist/index-Cj3B9gY_.d.ts +50 -0
- package/dist/index-Cj6NwCBD.d.ts +44 -0
- package/dist/index-CkDThwop.d.ts +21 -0
- package/dist/index-Cn-D14iz.d.ts +13 -0
- package/dist/index-CpTiLSql.d.ts +53 -0
- package/dist/index-CqP363e5.d.ts +118 -0
- package/dist/index-Cv4dRdEa.d.ts +72 -0
- package/dist/index-CyI637MF.d.ts +37 -0
- package/dist/index-D11YCkvR.d.ts +42 -0
- package/dist/index-D3yyJGzf.d.ts +74 -0
- package/dist/index-D5PbKxcs.d.ts +26 -0
- package/dist/index-DAYklR-H.d.ts +18 -0
- package/dist/index-DIZSgXHM.d.ts +79 -0
- package/dist/index-DZckp3H0.d.ts +37 -0
- package/dist/index-DaqoBvQf.d.ts +56 -0
- package/dist/index-Df9i45Gr.d.ts +65 -0
- package/dist/index-DqI6n06W.d.ts +59 -0
- package/dist/index-Drp7svmT.d.ts +30 -0
- package/dist/index-DxsUcSGT.d.ts +99 -0
- package/dist/index-Dyyi-1mv.d.ts +35 -0
- package/dist/index-I2ewgOGz.d.ts +76 -0
- package/dist/index-JGhlANKo.d.ts +24 -0
- package/dist/index-KASc7z5u.d.ts +38 -0
- package/dist/index-LTcmDERY.d.ts +65 -0
- package/dist/index-Mf2RPgmw.d.ts +38 -0
- package/dist/index-NdY27G_d.d.ts +58 -0
- package/dist/index-QO79pDtI.d.ts +70 -0
- package/dist/index-S0FIwOSw.d.ts +59 -0
- package/dist/index-UxsyZS_A.d.ts +23 -0
- package/dist/index-W8aOtVIu.d.ts +40 -0
- package/dist/index-WC9xwMaX.d.ts +34 -0
- package/dist/index-Xwb9OtVU.d.ts +7 -0
- package/dist/index-ZWJJ2V_J.d.ts +49 -0
- package/dist/index-_Q_N8ZbU.d.ts +35 -0
- package/dist/index-bC3hHzam.d.ts +101 -0
- package/dist/index-baY49J-s.d.ts +15 -0
- package/dist/index-dCTvA7uS.d.ts +20 -0
- package/dist/index-mhpoLESL.d.ts +77 -0
- package/dist/index-p3t0BKd4.d.ts +22 -0
- package/dist/index-sgaMj_3p.d.ts +69 -0
- package/dist/index-tSLNRqTo.d.ts +33 -0
- package/dist/index-t_lSQgLA.d.ts +1346 -0
- package/dist/index-uL1dEAhG.d.ts +28 -0
- package/dist/index.d.ts +79 -0
- package/dist/index.js +106 -0
- package/dist/label-Ce-gIayi.js +35 -0
- package/dist/label-Ce-gIayi.js.map +1 -0
- package/dist/label.d.ts +3 -0
- package/dist/label.js +1 -0
- package/dist/labelled-part-DB2rXJFG.js +56 -0
- package/dist/labelled-part-DB2rXJFG.js.map +1 -0
- package/dist/link-CZ3ISaPX.js +42 -0
- package/dist/link-CZ3ISaPX.js.map +1 -0
- package/dist/link-attributes-D9UusWws.js +29 -0
- package/dist/link-attributes-D9UusWws.js.map +1 -0
- package/dist/link.d.ts +3 -0
- package/dist/link.js +1 -0
- package/dist/listbox-virtual-He6BWlPj.js +291 -0
- package/dist/listbox-virtual-He6BWlPj.js.map +1 -0
- package/dist/listbox-virtual.d.ts +5 -0
- package/dist/listbox-virtual.js +3 -0
- package/dist/listbox.d.ts +4 -0
- package/dist/listbox.js +1 -0
- package/dist/live-region-style-9ofmajhO.js +46 -0
- package/dist/live-region-style-9ofmajhO.js.map +1 -0
- package/dist/menu-D7TVxPdb.js +144 -0
- package/dist/menu-D7TVxPdb.js.map +1 -0
- package/dist/menu-bar-context-k5vMlwmW.js +13 -0
- package/dist/menu-bar-context-k5vMlwmW.js.map +1 -0
- package/dist/menu-submenu-trigger-ClI2Pm4X.js +885 -0
- package/dist/menu-submenu-trigger-ClI2Pm4X.js.map +1 -0
- package/dist/menu-submenu-trigger-DNH8_uUB.d.ts +127 -0
- package/dist/menu.d.ts +10 -0
- package/dist/menu.js +1 -0
- package/dist/menubar-CQn3AOiQ.js +212 -0
- package/dist/menubar-CQn3AOiQ.js.map +1 -0
- package/dist/menubar.d.ts +3 -0
- package/dist/menubar.js +1 -0
- package/dist/meter-7Qd_WaUY.js +202 -0
- package/dist/meter-7Qd_WaUY.js.map +1 -0
- package/dist/meter.d.ts +3 -0
- package/dist/meter.js +1 -0
- package/dist/month-calendar-root-base-VcD8ZNW5.js +354 -0
- package/dist/month-calendar-root-base-VcD8ZNW5.js.map +1 -0
- package/dist/month-calendar.d.ts +5 -0
- package/dist/month-calendar.js +1 -0
- package/dist/month-picker-DzOYqW1S.js +15 -0
- package/dist/month-picker-DzOYqW1S.js.map +1 -0
- package/dist/month-picker-root-base-ByMK_Mfq.js +158 -0
- package/dist/month-picker-root-base-ByMK_Mfq.js.map +1 -0
- package/dist/month-picker.d.ts +7 -0
- package/dist/month-picker.js +3 -0
- package/dist/month-range-calendar-CJAWu1-Z.js +18 -0
- package/dist/month-range-calendar-CJAWu1-Z.js.map +1 -0
- package/dist/month-range-calendar.d.ts +5 -0
- package/dist/month-range-calendar.js +3 -0
- package/dist/month-range-picker-CRJDG2HG.js +15 -0
- package/dist/month-range-picker-CRJDG2HG.js.map +1 -0
- package/dist/month-range-picker.d.ts +8 -0
- package/dist/month-range-picker.js +3 -0
- package/dist/multiple-calendar-BIb2zfBH.js +176 -0
- package/dist/multiple-calendar-BIb2zfBH.js.map +1 -0
- package/dist/multiple-calendar.d.ts +5 -0
- package/dist/multiple-calendar.js +3 -0
- package/dist/navigation-menu-COTxGol_.js +727 -0
- package/dist/navigation-menu-COTxGol_.js.map +1 -0
- package/dist/navigation-menu.d.ts +5 -0
- package/dist/navigation-menu.js +1 -0
- package/dist/number-field-CqxEnwiS.js +581 -0
- package/dist/number-field-CqxEnwiS.js.map +1 -0
- package/dist/number-field.d.ts +4 -0
- package/dist/number-field.js +1 -0
- package/dist/otp-field-DIDuypLU.js +420 -0
- package/dist/otp-field-DIDuypLU.js.map +1 -0
- package/dist/otp-field.d.ts +4 -0
- package/dist/otp-field.js +1 -0
- package/dist/overlay-handle-DUptsQOb.js +42 -0
- package/dist/overlay-handle-DUptsQOb.js.map +1 -0
- package/dist/overlay-handle-DzC9LJQo.d.ts +16 -0
- package/dist/overlay-portal-Cmn7Dt7E.d.ts +30 -0
- package/dist/overlay-portal-ZNtXmoFd.js +32 -0
- package/dist/overlay-portal-ZNtXmoFd.js.map +1 -0
- package/dist/pagination-BNUjFYxK.js +264 -0
- package/dist/pagination-BNUjFYxK.js.map +1 -0
- package/dist/pagination.d.ts +4 -0
- package/dist/pagination.js +1 -0
- package/dist/parts--mC44S1N.js +1023 -0
- package/dist/parts--mC44S1N.js.map +1 -0
- package/dist/parts-BP00C3Q5.js +874 -0
- package/dist/parts-BP00C3Q5.js.map +1 -0
- package/dist/parts-CMh29O5y.js +14 -0
- package/dist/parts-CMh29O5y.js.map +1 -0
- package/dist/parts-CZqNGRqe.js +20 -0
- package/dist/parts-CZqNGRqe.js.map +1 -0
- package/dist/parts-DMy2yQZs.js +254 -0
- package/dist/parts-DMy2yQZs.js.map +1 -0
- package/dist/parts-DVv0aov9.js +14 -0
- package/dist/parts-DVv0aov9.js.map +1 -0
- package/dist/parts-M3ThgZzl.js +489 -0
- package/dist/parts-M3ThgZzl.js.map +1 -0
- package/dist/parts-stPOp8dr.js +451 -0
- package/dist/parts-stPOp8dr.js.map +1 -0
- package/dist/parts-uxRkRrFr.js +668 -0
- package/dist/parts-uxRkRrFr.js.map +1 -0
- package/dist/password-input-DC39W-do.js +231 -0
- package/dist/password-input-DC39W-do.js.map +1 -0
- package/dist/password-input.d.ts +4 -0
- package/dist/password-input.js +1 -0
- package/dist/popover-BaQTGAYJ.js +328 -0
- package/dist/popover-BaQTGAYJ.js.map +1 -0
- package/dist/popover.d.ts +9 -0
- package/dist/popover.js +1 -0
- package/dist/progress-DH1Xrj73.js +219 -0
- package/dist/progress-DH1Xrj73.js.map +1 -0
- package/dist/progress.d.ts +3 -0
- package/dist/progress.js +1 -0
- package/dist/public-component-AV8E7mGp.js +8 -0
- package/dist/public-component-AV8E7mGp.js.map +1 -0
- package/dist/public-component-DYpU9aDh.d.ts +33 -0
- package/dist/radio-B9YCSnFs.js +159 -0
- package/dist/radio-B9YCSnFs.js.map +1 -0
- package/dist/radio-group-CmSF4FTc.js +173 -0
- package/dist/radio-group-CmSF4FTc.js.map +1 -0
- package/dist/radio-group-context-C196JZ9D.js +5 -0
- package/dist/radio-group-context-C196JZ9D.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-BDbNdL75.js +20 -0
- package/dist/range-calendar-BDbNdL75.js.map +1 -0
- package/dist/range-calendar.d.ts +5 -0
- package/dist/range-calendar.js +1 -0
- package/dist/rating-oC2t52av.js +351 -0
- package/dist/rating-oC2t52av.js.map +1 -0
- package/dist/rating.d.ts +4 -0
- package/dist/rating.js +1 -0
- package/dist/render-part-B5XVbHaS.js +36 -0
- package/dist/render-part-B5XVbHaS.js.map +1 -0
- package/dist/render-part-BaTKiWBp.d.ts +28 -0
- package/dist/render.d.ts +3 -0
- package/dist/render.js +3 -0
- package/dist/roving-context-LyHQFJqZ.js +32 -0
- package/dist/roving-context-LyHQFJqZ.js.map +1 -0
- package/dist/scroll-area-_EApTP33.js +328 -0
- package/dist/scroll-area-_EApTP33.js.map +1 -0
- package/dist/scroll-area.d.ts +3 -0
- package/dist/scroll-area.js +1 -0
- package/dist/search-field-DJIr926A.js +221 -0
- package/dist/search-field-DJIr926A.js.map +1 -0
- package/dist/search-field.d.ts +4 -0
- package/dist/search-field.js +1 -0
- package/dist/segmented-control-BMvmqBpR.js +389 -0
- package/dist/segmented-control-BMvmqBpR.js.map +1 -0
- package/dist/segmented-control.d.ts +4 -0
- package/dist/segmented-control.js +1 -0
- package/dist/select-virtual-BwZrX4bh.js +53 -0
- package/dist/select-virtual-BwZrX4bh.js.map +1 -0
- package/dist/select-virtual.d.ts +3 -0
- package/dist/select-virtual.js +3 -0
- package/dist/select.d.ts +6 -0
- package/dist/select.js +1 -0
- package/dist/separator-SgHyzEHB.js +42 -0
- package/dist/separator-SgHyzEHB.js.map +1 -0
- package/dist/separator.d.ts +3 -0
- package/dist/separator.js +1 -0
- package/dist/slider-DU5Cx7yj.js +539 -0
- package/dist/slider-DU5Cx7yj.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-Dl_mMqRB.js +363 -0
- package/dist/steps-Dl_mMqRB.js.map +1 -0
- package/dist/steps.d.ts +4 -0
- package/dist/steps.js +1 -0
- package/dist/switch-CT9QBKOs.js +183 -0
- package/dist/switch-CT9QBKOs.js.map +1 -0
- package/dist/switch.d.ts +4 -0
- package/dist/switch.js +1 -0
- package/dist/tabs-BhVbQ7AV.js +369 -0
- package/dist/tabs-BhVbQ7AV.js.map +1 -0
- package/dist/tabs.d.ts +4 -0
- package/dist/tabs.js +1 -0
- package/dist/tag-group-DdpjWmzb.js +422 -0
- package/dist/tag-group-DdpjWmzb.js.map +1 -0
- package/dist/tag-group.d.ts +4 -0
- package/dist/tag-group.js +1 -0
- package/dist/tags-input-Iw3mST3A.js +627 -0
- package/dist/tags-input-Iw3mST3A.js.map +1 -0
- package/dist/tags-input.d.ts +4 -0
- package/dist/tags-input.js +1 -0
- package/dist/time-field-5Ghk_4SZ.js +76 -0
- package/dist/time-field-5Ghk_4SZ.js.map +1 -0
- package/dist/time-field.d.ts +4 -0
- package/dist/time-field.js +1 -0
- package/dist/time-range-field-DNOZQK4F.js +77 -0
- package/dist/time-range-field-DNOZQK4F.js.map +1 -0
- package/dist/time-range-field.d.ts +4 -0
- package/dist/time-range-field.js +1 -0
- package/dist/toast-DBKxX79M.js +426 -0
- package/dist/toast-DBKxX79M.js.map +1 -0
- package/dist/toast.d.ts +3 -0
- package/dist/toast.js +1 -0
- package/dist/toggle-Cca0PFQv.js +101 -0
- package/dist/toggle-Cca0PFQv.js.map +1 -0
- package/dist/toggle-group-DTUrLX_H.js +102 -0
- package/dist/toggle-group-DTUrLX_H.js.map +1 -0
- package/dist/toggle-group-context-gMEC8r-Z.js +5 -0
- package/dist/toggle-group-context-gMEC8r-Z.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-WU8JwFd0.js +272 -0
- package/dist/toolbar-WU8JwFd0.js.map +1 -0
- package/dist/toolbar.d.ts +3 -0
- package/dist/toolbar.js +1 -0
- package/dist/tooltip-C1kKsTSh.js +358 -0
- package/dist/tooltip-C1kKsTSh.js.map +1 -0
- package/dist/tooltip.d.ts +9 -0
- package/dist/tooltip.js +1 -0
- package/dist/use-color-picker-binding-BrG-whys.js +32 -0
- package/dist/use-color-picker-binding-BrG-whys.js.map +1 -0
- package/dist/use-controllable-B46G4v0A.js +30 -0
- package/dist/use-controllable-B46G4v0A.js.map +1 -0
- package/dist/use-field-control-CdYqr0dK.js +109 -0
- package/dist/use-field-control-CdYqr0dK.js.map +1 -0
- package/dist/use-overlay-root-BkyTQIsX.js +296 -0
- package/dist/use-overlay-root-BkyTQIsX.js.map +1 -0
- package/dist/use-overlay-trigger-D9OXZ_6K.d.ts +12 -0
- package/dist/use-overlay-trigger-KM35pX0a.js +61 -0
- package/dist/use-overlay-trigger-KM35pX0a.js.map +1 -0
- package/dist/use-panel-transition-DF7f1nmF.js +112 -0
- package/dist/use-panel-transition-DF7f1nmF.js.map +1 -0
- package/dist/use-panel-transition-r_BlVRob.d.ts +2 -0
- package/dist/use-positioner-BD24G6q1.js +73 -0
- package/dist/use-positioner-BD24G6q1.js.map +1 -0
- package/dist/use-positioner-D98pYl_K.d.ts +12 -0
- package/dist/use-presence-BcvBOTDI.d.ts +3 -0
- package/dist/use-required-context-CPpEkr4Q.js +11 -0
- package/dist/use-required-context-CPpEkr4Q.js.map +1 -0
- package/dist/use-roving-composite-CW0mE_VU.js +71 -0
- package/dist/use-roving-composite-CW0mE_VU.js.map +1 -0
- package/dist/use-roving-item-B9Cil5Rq.js +42 -0
- package/dist/use-roving-item-B9Cil5Rq.js.map +1 -0
- package/dist/use-segment-group-CAlwM3KP.js +304 -0
- package/dist/use-segment-group-CAlwM3KP.js.map +1 -0
- package/dist/use-virtual-rows-DesBexmk.js +142 -0
- package/dist/use-virtual-rows-DesBexmk.js.map +1 -0
- package/dist/virtual-list-BNvYqnFf.js +49 -0
- package/dist/virtual-list-BNvYqnFf.js.map +1 -0
- package/dist/year-calendar-cYl3WHEM.js +18 -0
- package/dist/year-calendar-cYl3WHEM.js.map +1 -0
- package/dist/year-calendar.d.ts +5 -0
- package/dist/year-calendar.js +3 -0
- package/dist/year-picker-DYQZbF1h.js +15 -0
- package/dist/year-picker-DYQZbF1h.js.map +1 -0
- package/dist/year-picker.d.ts +8 -0
- package/dist/year-picker.js +3 -0
- package/dist/year-range-calendar-ODgfmdiv.js +18 -0
- package/dist/year-range-calendar-ODgfmdiv.js.map +1 -0
- package/dist/year-range-calendar.d.ts +5 -0
- package/dist/year-range-calendar.js +3 -0
- package/dist/year-range-picker-DKXlcy7I.js +15 -0
- package/dist/year-range-picker-DKXlcy7I.js.map +1 -0
- package/dist/year-range-picker.d.ts +8 -0
- package/dist/year-range-picker.js +3 -0
- package/package.json +548 -3
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { t as ChangeDetails } from "./change-details-Bc4-Xzdm.js";
|
|
2
|
+
import "./render-part-BaTKiWBp.js";
|
|
3
|
+
import { r as PartComponent } from "./public-component-DYpU9aDh.js";
|
|
4
|
+
import "vue";
|
|
5
|
+
/** What starts an edit on the Preview (spec/editable.md, "API"). */
|
|
6
|
+
type EditableActivationMode = "focus" | "click" | "dblclick" | "none";
|
|
7
|
+
/** What commits an edit. */
|
|
8
|
+
type EditableSubmitMode = "enter" | "blur" | "both" | "none";
|
|
9
|
+
/** The state every part renders with. */
|
|
10
|
+
interface EditableState {
|
|
11
|
+
value: string;
|
|
12
|
+
editing: boolean;
|
|
13
|
+
empty: boolean;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
readOnly: boolean;
|
|
16
|
+
required: boolean;
|
|
17
|
+
}
|
|
18
|
+
interface EditableRootProps {
|
|
19
|
+
/** The text (controlled; `v-model:value`). */
|
|
20
|
+
value?: string;
|
|
21
|
+
defaultValue?: string;
|
|
22
|
+
/** What starts an edit on the Preview (default `"focus"`). */
|
|
23
|
+
activationMode?: EditableActivationMode;
|
|
24
|
+
/** What commits an edit (default `"both"`). */
|
|
25
|
+
submitMode?: EditableSubmitMode;
|
|
26
|
+
/** The Preview's text while empty, and the Input's placeholder. */
|
|
27
|
+
placeholder?: string;
|
|
28
|
+
maxLength?: number;
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
readOnly?: boolean;
|
|
31
|
+
required?: boolean;
|
|
32
|
+
/** The Input's `name`. */
|
|
33
|
+
name?: string;
|
|
34
|
+
/** The Input's `id`. */
|
|
35
|
+
id?: string;
|
|
36
|
+
}
|
|
37
|
+
type EditableRootEmits = {
|
|
38
|
+
"update:value": (value: string) => true;
|
|
39
|
+
valueChange: (value: string, details: ChangeDetails) => true;
|
|
40
|
+
/** An edit ended by committing, with its value. */
|
|
41
|
+
valueCommit: (value: string, details: ChangeDetails) => true;
|
|
42
|
+
/** An edit ended by reverting, with the value it went back to. */
|
|
43
|
+
valueRevert: (value: string, details: ChangeDetails) => true;
|
|
44
|
+
};
|
|
45
|
+
/** spec/editable.md */
|
|
46
|
+
declare const Editable: {
|
|
47
|
+
Root: PartComponent<EditableRootProps, EditableState, EditableRootEmits>;
|
|
48
|
+
Area: PartComponent<Record<never, never>, EditableState>;
|
|
49
|
+
Preview: PartComponent<Record<never, never>, EditableState>;
|
|
50
|
+
Input: PartComponent<Record<never, never>, EditableState>;
|
|
51
|
+
EditTrigger: PartComponent<Record<never, never>, EditableState>;
|
|
52
|
+
SubmitTrigger: PartComponent<Record<never, never>, EditableState>;
|
|
53
|
+
CancelTrigger: PartComponent<Record<never, never>, EditableState>;
|
|
54
|
+
};
|
|
55
|
+
export { EditableState as a, EditableActivationMode as i, EditableRootEmits as n, EditableSubmitMode as o, EditableRootProps as r, Editable as t };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { t as ChangeDetails } from "./change-details-Bc4-Xzdm.js";
|
|
2
|
+
import "./render-part-BaTKiWBp.js";
|
|
3
|
+
import { r as PartComponent } from "./public-component-DYpU9aDh.js";
|
|
4
|
+
import "vue";
|
|
5
|
+
import { Color, Color as Color$1, ColorChannel, ColorChannel as ColorChannel$1, ColorSpace, ColorSpace as ColorSpace$1, HsbColor, HslColor, RgbColor } from "@fragiola/primitives/color";
|
|
6
|
+
/** The state every color slider part shares. */
|
|
7
|
+
interface ColorSliderState {
|
|
8
|
+
/** The value, in the slider's space. */
|
|
9
|
+
color: Color$1;
|
|
10
|
+
channel: ColorChannel$1;
|
|
11
|
+
value: number;
|
|
12
|
+
orientation: "horizontal" | "vertical";
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
dragging: boolean;
|
|
15
|
+
}
|
|
16
|
+
interface ColorSliderLabelProps {
|
|
17
|
+
id?: string;
|
|
18
|
+
}
|
|
19
|
+
interface ColorSliderRootProps {
|
|
20
|
+
value?: Color$1 | string;
|
|
21
|
+
defaultValue?: Color$1 | string;
|
|
22
|
+
/** The channel the slider edits. */
|
|
23
|
+
channel: ColorChannel$1;
|
|
24
|
+
/** The space it edits the channel in (default: the value's, else the channel's own). */
|
|
25
|
+
colorSpace?: ColorSpace$1;
|
|
26
|
+
orientation?: "horizontal" | "vertical";
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
name?: string;
|
|
29
|
+
/** The locale of the channel's text (BCP 47; default: the runtime's). */
|
|
30
|
+
locale?: string;
|
|
31
|
+
}
|
|
32
|
+
type ColorSliderRootEmits = {
|
|
33
|
+
"update:value": (value: Color$1) => true;
|
|
34
|
+
valueChange: (value: Color$1, details: ChangeDetails) => true;
|
|
35
|
+
/** When a drag ends, or after a key changed the value. */
|
|
36
|
+
valueCommit: (value: Color$1, details: ChangeDetails) => true;
|
|
37
|
+
};
|
|
38
|
+
interface ColorSliderThumbProps {
|
|
39
|
+
/** Generated unless given (the Output's `for`). */
|
|
40
|
+
id?: string;
|
|
41
|
+
}
|
|
42
|
+
/** spec/color-slider.md */
|
|
43
|
+
declare const ColorSlider: {
|
|
44
|
+
Root: PartComponent<ColorSliderRootProps, ColorSliderState, ColorSliderRootEmits>;
|
|
45
|
+
Label: PartComponent<ColorSliderLabelProps, ColorSliderState>;
|
|
46
|
+
Output: PartComponent<Record<never, never>, ColorSliderState>;
|
|
47
|
+
Track: PartComponent<Record<never, never>, ColorSliderState>;
|
|
48
|
+
Thumb: PartComponent<ColorSliderThumbProps, ColorSliderState>;
|
|
49
|
+
};
|
|
50
|
+
export { HslColor as a, ColorSliderThumbProps as c, ColorSliderLabelProps as d, ColorSliderState as f, HsbColor as i, ColorSliderRootEmits as l, ColorChannel as n, RgbColor as o, ColorSpace as r, ColorSlider as s, Color as t, ColorSliderRootProps as u };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { t as ChangeDetails } from "./change-details-Bc4-Xzdm.js";
|
|
2
|
+
import "./render-part-BaTKiWBp.js";
|
|
3
|
+
import { r as PartComponent } from "./public-component-DYpU9aDh.js";
|
|
4
|
+
import "vue";
|
|
5
|
+
import { Color, Color as Color$1, ColorChannel, ColorChannel as ColorChannel$1, ColorSpace, ColorSpace as ColorSpace$1, HsbColor, HslColor, RgbColor } from "@fragiola/primitives/color";
|
|
6
|
+
type ColorAreaAxis = "x" | "y";
|
|
7
|
+
/** The state every color area part shares. */
|
|
8
|
+
interface ColorAreaState {
|
|
9
|
+
/** The value, in the area's space. */
|
|
10
|
+
color: Color$1;
|
|
11
|
+
xChannel: ColorChannel$1;
|
|
12
|
+
yChannel: ColorChannel$1;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
dragging: boolean;
|
|
15
|
+
}
|
|
16
|
+
interface ColorAreaInputProps {
|
|
17
|
+
/** The axis this slider is: `x` or `y`. */
|
|
18
|
+
axis: ColorAreaAxis;
|
|
19
|
+
/** What the form submits its channel's value as. */
|
|
20
|
+
name?: string;
|
|
21
|
+
}
|
|
22
|
+
interface ColorAreaRootProps {
|
|
23
|
+
value?: Color$1 | string;
|
|
24
|
+
defaultValue?: Color$1 | string;
|
|
25
|
+
xChannel?: ColorChannel$1;
|
|
26
|
+
yChannel?: ColorChannel$1;
|
|
27
|
+
colorSpace?: ColorSpace$1;
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
/** The locale of the channels' text (BCP 47; default: the runtime's). */
|
|
30
|
+
locale?: string;
|
|
31
|
+
}
|
|
32
|
+
type ColorAreaRootEmits = {
|
|
33
|
+
"update:value": (value: Color$1) => true;
|
|
34
|
+
valueChange: (value: Color$1, details: ChangeDetails) => true;
|
|
35
|
+
/** When a drag ends, or after a key changed the value. */
|
|
36
|
+
valueCommit: (value: Color$1, details: ChangeDetails) => true;
|
|
37
|
+
};
|
|
38
|
+
/** spec/color-area.md */
|
|
39
|
+
declare const ColorArea: {
|
|
40
|
+
Root: PartComponent<ColorAreaRootProps, ColorAreaState, ColorAreaRootEmits>;
|
|
41
|
+
Thumb: PartComponent<Record<never, never>, ColorAreaState>;
|
|
42
|
+
Input: PartComponent<ColorAreaInputProps, ColorAreaState>;
|
|
43
|
+
};
|
|
44
|
+
export { HslColor as a, ColorAreaRootEmits as c, ColorAreaAxis as d, ColorAreaState as f, HsbColor as i, ColorAreaRootProps as l, ColorChannel as n, RgbColor as o, ColorSpace as r, ColorArea as s, Color as t, ColorAreaInputProps as u };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import "./render-part-BaTKiWBp.js";
|
|
2
|
+
import { r as PartComponent } from "./public-component-DYpU9aDh.js";
|
|
3
|
+
import { FieldValidationMode, FieldValidationMode as FieldValidationMode$1, FormErrors, FormErrors as FormErrors$1 } from "@fragiola/primitives/form";
|
|
4
|
+
type FormState = Record<never, never>;
|
|
5
|
+
interface FormProps {
|
|
6
|
+
/** Server errors, keyed by the fields' `name`; the Form keeps its own copy. */
|
|
7
|
+
errors?: FormErrors$1;
|
|
8
|
+
/** The default of every Field inside it (default `"onSubmit"`). */
|
|
9
|
+
validationMode?: FieldValidationMode$1;
|
|
10
|
+
}
|
|
11
|
+
type FormEmits = {
|
|
12
|
+
/** A field's value changed while the Form had errors for it: the errors left. */
|
|
13
|
+
clearErrors: (errors: FormErrors$1) => true;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* A native `form` that validates its Fields itself (`novalidate`): a submission shows every error,
|
|
17
|
+
* focuses the first invalid field and is blocked while one is invalid, before any `@submit` of the
|
|
18
|
+
* consumer's runs; it shows server errors on the fields they name (spec/form.md).
|
|
19
|
+
*/
|
|
20
|
+
declare const Form: PartComponent<FormProps, FormState, FormEmits>;
|
|
21
|
+
export { FormProps as a, FormEmits as i, FormErrors as n, FormState as o, Form as r, FieldValidationMode as t };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./render-part-BaTKiWBp.js";
|
|
2
|
+
import { r as PartComponent } from "./public-component-DYpU9aDh.js";
|
|
3
|
+
/** A Label has no state of its own (spec/label.md). */
|
|
4
|
+
type LabelState = Record<string, never>;
|
|
5
|
+
/** The native `for` attribute names its control; without it, the labelable control it wraps. */
|
|
6
|
+
type LabelProps = Record<never, never>;
|
|
7
|
+
/**
|
|
8
|
+
* A `<label>` (spec/label.md): it names its control by `for` or by wrapping it, a press reaches
|
|
9
|
+
* the control (or focuses the element `for` names when that is no labelable one), and a double
|
|
10
|
+
* press selects none of its text.
|
|
11
|
+
*/
|
|
12
|
+
declare const Label: PartComponent<LabelProps, LabelState>;
|
|
13
|
+
export { LabelProps as n, LabelState as r, Label as t };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { n as OverlayRootEmits, r as OverlayRootProps } from "./overlay-portal-Cmn7Dt7E.js";
|
|
2
|
+
import { t as PositionerProps } from "./use-positioner-D98pYl_K.js";
|
|
3
|
+
import "./render-part-BaTKiWBp.js";
|
|
4
|
+
import { S as MenuCheckableItemState, _ as MenuItemState, a as MenuSubmenuRootProps, b as MenuCheckboxItemProps, c as MenuRadioItemIndicatorProps, d as MenuRadioGroupEmits, f as MenuRadioGroupProps, g as MenuItemProps, h as MenuPopupState, l as MenuRadioItemProps, m as MenuPortalProps, n as MenuSubmenuTriggerState, p as MenuPositionerState, t as MenuSubmenuTriggerProps, v as MenuCheckboxItemIndicatorProps, y as MenuCheckboxItemEmits } from "./menu-submenu-trigger-DNH8_uUB.js";
|
|
5
|
+
import { i as PublicComponent, r as PartComponent, t as ContentSlots } from "./public-component-DYpU9aDh.js";
|
|
6
|
+
import { Align, Side } from "@fragiola/primitives/positioning";
|
|
7
|
+
/**
|
|
8
|
+
* Holds the state of a context menu's root level (`v-model:open`); renders no element
|
|
9
|
+
* (spec/context-menu.md). Its parts are Menu's, named `context-menu-*`; its Trigger is an area. A
|
|
10
|
+
* template ref on it exposes the actions, `close()` and `unmount()`.
|
|
11
|
+
*/
|
|
12
|
+
interface ContextMenuRootProps extends OverlayRootProps {
|
|
13
|
+
/** Arrow keys wrap at the ends (default `true`). */
|
|
14
|
+
loopFocus?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Locks the page's scroll and blocks the pointer outside the menu while it is open (default
|
|
17
|
+
* `false`; spec/menu.md, "Modal").
|
|
18
|
+
*/
|
|
19
|
+
modal?: boolean;
|
|
20
|
+
/** The area opens nothing, and the browser's own menu shows (default `false`). */
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
}
|
|
23
|
+
type ContextMenuRootEmits = OverlayRootEmits;
|
|
24
|
+
/**
|
|
25
|
+
* The area a right-click, a touch long press, or the `ContextMenu` key and Shift+F10 open the
|
|
26
|
+
* menu from (spec/context-menu.md): no button, no role.
|
|
27
|
+
*/
|
|
28
|
+
interface ContextMenuTriggerState {
|
|
29
|
+
open: boolean;
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
}
|
|
32
|
+
/** spec/context-menu.md: Menu's parts (named `context-menu-*` by the Root), opened from an area */
|
|
33
|
+
declare const ContextMenu: {
|
|
34
|
+
Root: PublicComponent<ContextMenuRootProps, ContentSlots, OverlayRootEmits>;
|
|
35
|
+
Trigger: PartComponent<Record<never, never>, ContextMenuTriggerState>;
|
|
36
|
+
Portal: PublicComponent<MenuPortalProps, ContentSlots>;
|
|
37
|
+
Positioner: PartComponent<PositionerProps, MenuPositionerState>;
|
|
38
|
+
Popup: PartComponent<Record<never, never>, MenuPopupState>;
|
|
39
|
+
Item: PartComponent<MenuItemProps, MenuItemState>;
|
|
40
|
+
Separator: PartComponent<Record<never, never>, Record<never, never>>;
|
|
41
|
+
Group: PartComponent<Record<never, never>, Record<never, never>>;
|
|
42
|
+
GroupLabel: PartComponent<Record<never, never>, Record<never, never>>;
|
|
43
|
+
CheckboxItem: PartComponent<MenuCheckboxItemProps, MenuCheckableItemState, MenuCheckboxItemEmits>;
|
|
44
|
+
CheckboxItemIndicator: PartComponent<MenuCheckboxItemIndicatorProps, MenuCheckableItemState>;
|
|
45
|
+
RadioGroup: PartComponent<MenuRadioGroupProps, {
|
|
46
|
+
disabled: boolean;
|
|
47
|
+
}, MenuRadioGroupEmits>;
|
|
48
|
+
RadioItem: PartComponent<MenuRadioItemProps, MenuCheckableItemState>;
|
|
49
|
+
RadioItemIndicator: PartComponent<MenuRadioItemIndicatorProps, MenuCheckableItemState>;
|
|
50
|
+
SubmenuRoot: PublicComponent<MenuSubmenuRootProps, ContentSlots, OverlayRootEmits>;
|
|
51
|
+
SubmenuTrigger: PartComponent<MenuSubmenuTriggerProps, MenuSubmenuTriggerState>;
|
|
52
|
+
};
|
|
53
|
+
export { ContextMenuRootEmits as a, ContextMenuTriggerState as i, Side as n, ContextMenuRootProps as o, ContextMenu as r, Align as t };
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { t as PositionerProps } from "./use-positioner-D98pYl_K.js";
|
|
2
|
+
import { t as ChangeDetails } from "./change-details-Bc4-Xzdm.js";
|
|
3
|
+
import "./render-part-BaTKiWBp.js";
|
|
4
|
+
import { i as PublicComponent, r as PartComponent, t as ContentSlots } from "./public-component-DYpU9aDh.js";
|
|
5
|
+
import "./use-presence-BcvBOTDI.js";
|
|
6
|
+
import "vue";
|
|
7
|
+
import { ActivationDirection } from "@fragiola/primitives/collection";
|
|
8
|
+
import { Align, Align as Align$1, Side, Side as Side$1 } from "@fragiola/primitives/positioning";
|
|
9
|
+
import "@fragiola/primitives/hover";
|
|
10
|
+
/**
|
|
11
|
+
* Its item's panel (spec/navigation-menu.md), rendered into the Viewport while its item is open
|
|
12
|
+
* (and while the popup exits after it): its size is the popup's size variables.
|
|
13
|
+
*/
|
|
14
|
+
interface NavigationMenuContentState {
|
|
15
|
+
open: boolean;
|
|
16
|
+
activationDirection: string;
|
|
17
|
+
}
|
|
18
|
+
type NavigationMenuOrientation = "horizontal" | "vertical";
|
|
19
|
+
/** One item: a Trigger with its Content, or a Link (spec/navigation-menu.md). */
|
|
20
|
+
interface NavigationMenuItemProps {
|
|
21
|
+
/** The item's value (generated when not given). */
|
|
22
|
+
value?: string;
|
|
23
|
+
}
|
|
24
|
+
/** A link, in the List or in a Content (spec/navigation-menu.md). */
|
|
25
|
+
interface NavigationMenuLinkProps {
|
|
26
|
+
/** The link of the current page (`aria-current="page"`). */
|
|
27
|
+
active?: boolean;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* The items (spec/navigation-menu.md, "Keyboard"): the arrow keys along the orientation move focus
|
|
31
|
+
* between the items' Triggers and Links (mirrored in RTL), Home and End to the ends.
|
|
32
|
+
*/
|
|
33
|
+
interface NavigationMenuListState {
|
|
34
|
+
orientation: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* The shared popup (spec/navigation-menu.md): a non-modal layer of the overlay tree while a
|
|
38
|
+
* Content is open, sized by the open Content (`--popup-width`, `--popup-height`); the pointer
|
|
39
|
+
* leaving it and the Trigger closes a hover-opened Content after the close delay.
|
|
40
|
+
*/
|
|
41
|
+
interface NavigationMenuPopupState {
|
|
42
|
+
open: boolean;
|
|
43
|
+
side: Side$1;
|
|
44
|
+
align: Align$1;
|
|
45
|
+
}
|
|
46
|
+
interface NavigationMenuPortalProps {
|
|
47
|
+
/** Where the content goes (default: `body`). */
|
|
48
|
+
container?: Element | string | null;
|
|
49
|
+
}
|
|
50
|
+
/** Places the popup next to the open item's Trigger (spec/navigation-menu.md, "Positioning"). */
|
|
51
|
+
interface NavigationMenuPositionerState {
|
|
52
|
+
open: boolean;
|
|
53
|
+
side: Side$1;
|
|
54
|
+
align: Align$1;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* A site's navigation (spec/navigation-menu.md, `v-model:value`): the APG disclosure navigation
|
|
58
|
+
* menu, with Base UI's hover, shared popup and nested levels. A `nav`; inside a Content, a nested
|
|
59
|
+
* level (`div`).
|
|
60
|
+
*/
|
|
61
|
+
interface NavigationMenuRootState {
|
|
62
|
+
open: boolean;
|
|
63
|
+
orientation: NavigationMenuOrientation;
|
|
64
|
+
nested: boolean;
|
|
65
|
+
}
|
|
66
|
+
interface NavigationMenuRootProps {
|
|
67
|
+
/** The open item's value, controlled (`null`: closed). */
|
|
68
|
+
value?: string | null;
|
|
69
|
+
defaultValue?: string | null;
|
|
70
|
+
/** ms before a hover opens (default `50`). */
|
|
71
|
+
delay?: number;
|
|
72
|
+
/** ms before the pointer leaving closes (default `50`). */
|
|
73
|
+
closeDelay?: number;
|
|
74
|
+
orientation?: NavigationMenuOrientation;
|
|
75
|
+
/** The arrow keys wrap at the ends (default `true`). */
|
|
76
|
+
loopFocus?: boolean;
|
|
77
|
+
}
|
|
78
|
+
type NavigationMenuRootEmits = {
|
|
79
|
+
"update:value": (value: string | null) => true;
|
|
80
|
+
valueChange: (value: string | null, details: ChangeDetails) => true;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Discloses its item's Content (spec/navigation-menu.md): a hover after the delay, a press, Enter
|
|
84
|
+
* or Space toggle it; the open key opens it with focus inside; Tab from it enters the Content.
|
|
85
|
+
*/
|
|
86
|
+
interface NavigationMenuTriggerState {
|
|
87
|
+
open: boolean;
|
|
88
|
+
disabled: boolean;
|
|
89
|
+
}
|
|
90
|
+
interface NavigationMenuTriggerProps {
|
|
91
|
+
disabled?: boolean;
|
|
92
|
+
}
|
|
93
|
+
/** spec/navigation-menu.md */
|
|
94
|
+
declare const NavigationMenu: {
|
|
95
|
+
Root: PartComponent<NavigationMenuRootProps, NavigationMenuRootState, NavigationMenuRootEmits>;
|
|
96
|
+
List: PartComponent<Record<never, never>, NavigationMenuListState>;
|
|
97
|
+
Item: PartComponent<NavigationMenuItemProps, Record<string, never>>;
|
|
98
|
+
Trigger: PartComponent<NavigationMenuTriggerProps, NavigationMenuTriggerState>;
|
|
99
|
+
Icon: PartComponent<Record<never, never>, {
|
|
100
|
+
open: boolean;
|
|
101
|
+
}>;
|
|
102
|
+
Content: PartComponent<Record<never, never>, NavigationMenuContentState>;
|
|
103
|
+
Link: PartComponent<NavigationMenuLinkProps, {
|
|
104
|
+
active: boolean;
|
|
105
|
+
}>;
|
|
106
|
+
Portal: PublicComponent<NavigationMenuPortalProps, ContentSlots>;
|
|
107
|
+
Backdrop: PartComponent<Record<never, never>, {
|
|
108
|
+
open: boolean;
|
|
109
|
+
}>;
|
|
110
|
+
Positioner: PartComponent<PositionerProps, NavigationMenuPositionerState>;
|
|
111
|
+
Popup: PartComponent<Record<never, never>, NavigationMenuPopupState>;
|
|
112
|
+
Viewport: PartComponent<Record<never, never>, Record<string, never>>;
|
|
113
|
+
Arrow: PartComponent<Record<never, never>, {
|
|
114
|
+
side: import("@fragiola/primitives/positioning").Side;
|
|
115
|
+
align: import("@fragiola/primitives/positioning").Align;
|
|
116
|
+
}>;
|
|
117
|
+
};
|
|
118
|
+
export { NavigationMenuContentState as _, NavigationMenuTriggerProps as a, NavigationMenuRootProps as c, NavigationMenuPortalProps as d, NavigationMenuPopupState as f, NavigationMenuOrientation as g, NavigationMenuItemProps as h, NavigationMenu as i, NavigationMenuRootState as l, NavigationMenuLinkProps as m, Align as n, NavigationMenuTriggerState as o, NavigationMenuListState as p, Side as r, NavigationMenuRootEmits as s, ActivationDirection as t, NavigationMenuPositionerState as u };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { i as OverlayTriggerRootProps, n as OverlayRootEmits, r as OverlayRootProps, t as OverlayPortalProps } from "./overlay-portal-Cmn7Dt7E.js";
|
|
2
|
+
import { t as OverlayTriggerProps } from "./use-overlay-trigger-D9OXZ_6K.js";
|
|
3
|
+
import { t as PositionerProps } from "./use-positioner-D98pYl_K.js";
|
|
4
|
+
import { r as FocusTarget } from "./change-details-Bc4-Xzdm.js";
|
|
5
|
+
import { t as OverlayHandle } from "./overlay-handle-DzC9LJQo.js";
|
|
6
|
+
import { i as PublicComponent, n as OverlayRootSlots, r as PartComponent, t as ContentSlots } from "./public-component-DYpU9aDh.js";
|
|
7
|
+
import "./render-part-BaTKiWBp.js";
|
|
8
|
+
import { Align, Align as Align$1, Side, Side as Side$1 } from "@fragiola/primitives/positioning";
|
|
9
|
+
/** A Popover's handle: its detached Triggers and imperative opening (spec/popover.md). */
|
|
10
|
+
interface PopoverHandle<Payload = unknown> extends OverlayHandle<Payload> {
|
|
11
|
+
readonly component: "popover";
|
|
12
|
+
}
|
|
13
|
+
/** Creates a Popover handle (`Popover.createHandle`), for Triggers outside the Root. */
|
|
14
|
+
declare const createPopoverHandle: <Payload = unknown>() => PopoverHandle<Payload>;
|
|
15
|
+
/**
|
|
16
|
+
* Holds the popover's state (`v-model:open`); renders no element (spec/popover.md). A template
|
|
17
|
+
* ref on it exposes the actions, `close()` and `unmount()`.
|
|
18
|
+
*/
|
|
19
|
+
interface PopoverRootProps extends OverlayRootProps, OverlayTriggerRootProps {
|
|
20
|
+
/** Connects Triggers rendered outside the Root (spec/popover.md, "Detached triggers"). */
|
|
21
|
+
handle?: PopoverHandle;
|
|
22
|
+
}
|
|
23
|
+
type PopoverRootEmits = OverlayRootEmits;
|
|
24
|
+
/**
|
|
25
|
+
* Toggles the popover and anchors it; with a `handle`, from anywhere in the page. While open, Tab
|
|
26
|
+
* from the active trigger enters the popup (spec/popover.md).
|
|
27
|
+
*/
|
|
28
|
+
interface PopoverTriggerState {
|
|
29
|
+
open: boolean;
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
}
|
|
32
|
+
interface PopoverTriggerProps extends OverlayTriggerProps<PopoverHandle, unknown> {
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
}
|
|
35
|
+
interface PopoverPortalProps extends OverlayPortalProps {}
|
|
36
|
+
/** Places the popup next to its anchor (spec/popover.md, "Positioning"). */
|
|
37
|
+
interface PopoverPositionerState {
|
|
38
|
+
open: boolean;
|
|
39
|
+
side: Side$1;
|
|
40
|
+
align: Align$1;
|
|
41
|
+
}
|
|
42
|
+
/** The non-modal popover (spec/popover.md): not trapped, it closes when focus leaves it. */
|
|
43
|
+
interface PopoverPopupState {
|
|
44
|
+
open: boolean;
|
|
45
|
+
side: Side$1;
|
|
46
|
+
align: Align$1;
|
|
47
|
+
}
|
|
48
|
+
interface PopoverPopupProps {
|
|
49
|
+
/** Focused on open (default: the first tabbable element, else the popup; `false`: none). */
|
|
50
|
+
initialFocus?: FocusTarget;
|
|
51
|
+
/** Focused when focus returns on close (default: the trigger). */
|
|
52
|
+
finalFocus?: FocusTarget;
|
|
53
|
+
}
|
|
54
|
+
/** Points at the anchor; placed along the popup's edge by the positioner. */
|
|
55
|
+
interface PopoverArrowState {
|
|
56
|
+
side: Side$1;
|
|
57
|
+
align: Align$1;
|
|
58
|
+
}
|
|
59
|
+
/** spec/popover.md */
|
|
60
|
+
declare const Popover: {
|
|
61
|
+
Root: PublicComponent<PopoverRootProps, OverlayRootSlots<unknown>, OverlayRootEmits>;
|
|
62
|
+
Trigger: PartComponent<PopoverTriggerProps, PopoverTriggerState>;
|
|
63
|
+
Portal: PublicComponent<PopoverPortalProps, ContentSlots>;
|
|
64
|
+
Positioner: PartComponent<PositionerProps, PopoverPositionerState>;
|
|
65
|
+
Popup: PartComponent<PopoverPopupProps, PopoverPopupState>;
|
|
66
|
+
Arrow: PartComponent<Record<never, never>, PopoverArrowState>;
|
|
67
|
+
Title: PartComponent<Record<never, never>, Record<never, never>>;
|
|
68
|
+
Description: PartComponent<Record<never, never>, Record<never, never>>;
|
|
69
|
+
Close: PartComponent<Record<never, never>, Record<never, never>>;
|
|
70
|
+
createHandle: <Payload = unknown>() => PopoverHandle<Payload>;
|
|
71
|
+
};
|
|
72
|
+
export { PopoverPopupProps as a, PopoverPortalProps as c, PopoverRootEmits as d, PopoverRootProps as f, PopoverArrowState as i, PopoverTriggerProps as l, createPopoverHandle as m, Side as n, PopoverPopupState as o, PopoverHandle as p, Popover as r, PopoverPositionerState as s, Align as t, PopoverTriggerState as u };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { t as ChangeDetails } from "./change-details-Bc4-Xzdm.js";
|
|
2
|
+
import "./render-part-BaTKiWBp.js";
|
|
3
|
+
import { t as PanelStatus } from "./use-panel-transition-r_BlVRob.js";
|
|
4
|
+
import { r as PartComponent } from "./public-component-DYpU9aDh.js";
|
|
5
|
+
import "vue";
|
|
6
|
+
interface CollapsibleState {
|
|
7
|
+
open: boolean;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
}
|
|
10
|
+
interface CollapsiblePanelState {
|
|
11
|
+
open: boolean;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
transitionStatus: PanelStatus;
|
|
14
|
+
}
|
|
15
|
+
interface CollapsiblePanelProps {
|
|
16
|
+
/** Keep a closed panel in the DOM, `hidden` (default `false`). */
|
|
17
|
+
keepMounted?: boolean;
|
|
18
|
+
/** Keep a closed panel in the DOM, `hidden="until-found"`: find-in-page opens it. */
|
|
19
|
+
hiddenUntilFound?: boolean;
|
|
20
|
+
}
|
|
21
|
+
interface CollapsibleRootProps {
|
|
22
|
+
open?: boolean;
|
|
23
|
+
defaultOpen?: boolean;
|
|
24
|
+
/** Nothing but a controlled `open` opens or closes it (default `false`). */
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
}
|
|
27
|
+
type CollapsibleRootEmits = {
|
|
28
|
+
"update:open": (open: boolean) => true;
|
|
29
|
+
openChange: (open: boolean, details: ChangeDetails) => true;
|
|
30
|
+
};
|
|
31
|
+
/** spec/collapsible.md */
|
|
32
|
+
declare const Collapsible: {
|
|
33
|
+
Root: PartComponent<CollapsibleRootProps, CollapsibleState, CollapsibleRootEmits>;
|
|
34
|
+
Trigger: PartComponent<Record<never, never>, CollapsibleState>;
|
|
35
|
+
Panel: PartComponent<CollapsiblePanelProps, CollapsiblePanelState>;
|
|
36
|
+
};
|
|
37
|
+
export { CollapsiblePanelState as a, CollapsiblePanelProps as i, CollapsibleRootEmits as n, CollapsibleState as o, CollapsibleRootProps as r, Collapsible as t };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { n as OverlayRootEmits } from "./overlay-portal-Cmn7Dt7E.js";
|
|
2
|
+
import { t as OverlayTriggerProps } from "./use-overlay-trigger-D9OXZ_6K.js";
|
|
3
|
+
import { t as PositionerProps } from "./use-positioner-D98pYl_K.js";
|
|
4
|
+
import { i as PublicComponent, n as OverlayRootSlots, r as PartComponent, t as ContentSlots } from "./public-component-DYpU9aDh.js";
|
|
5
|
+
import "./render-part-BaTKiWBp.js";
|
|
6
|
+
import { S as MenuCheckableItemState, _ as MenuItemState, a as MenuSubmenuRootProps, b as MenuCheckboxItemProps, c as MenuRadioItemIndicatorProps, d as MenuRadioGroupEmits, f as MenuRadioGroupProps, g as MenuItemProps, h as MenuPopupState, i as MenuRootProps, l as MenuRadioItemProps, m as MenuPortalProps, n as MenuSubmenuTriggerState, o as MenuHandle, p as MenuPositionerState, t as MenuSubmenuTriggerProps, v as MenuCheckboxItemIndicatorProps, y as MenuCheckboxItemEmits } from "./menu-submenu-trigger-DNH8_uUB.js";
|
|
7
|
+
import { Align, Side } from "@fragiola/primitives/positioning";
|
|
8
|
+
/**
|
|
9
|
+
* Opens the root menu (spec/menu.md, "Keyboard": on the Trigger); with a `handle`, from anywhere
|
|
10
|
+
* in the page. In a Menubar, an item of the bar that hands its keys, press and hover to it
|
|
11
|
+
* (spec/menu.md, "In a Menubar").
|
|
12
|
+
*/
|
|
13
|
+
interface MenuTriggerState {
|
|
14
|
+
open: boolean;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
}
|
|
17
|
+
interface MenuTriggerProps extends OverlayTriggerProps<MenuHandle, unknown> {
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/** spec/menu.md */
|
|
21
|
+
declare const Menu: {
|
|
22
|
+
Root: PublicComponent<MenuRootProps, OverlayRootSlots<unknown>, OverlayRootEmits>;
|
|
23
|
+
Trigger: PartComponent<MenuTriggerProps, MenuTriggerState>;
|
|
24
|
+
Portal: PublicComponent<MenuPortalProps, ContentSlots>;
|
|
25
|
+
Positioner: PartComponent<PositionerProps, MenuPositionerState>;
|
|
26
|
+
Popup: PartComponent<Record<never, never>, MenuPopupState>;
|
|
27
|
+
Item: PartComponent<MenuItemProps, MenuItemState>;
|
|
28
|
+
Separator: PartComponent<Record<never, never>, Record<never, never>>;
|
|
29
|
+
Group: PartComponent<Record<never, never>, Record<never, never>>;
|
|
30
|
+
GroupLabel: PartComponent<Record<never, never>, Record<never, never>>;
|
|
31
|
+
CheckboxItem: PartComponent<MenuCheckboxItemProps, MenuCheckableItemState, MenuCheckboxItemEmits>;
|
|
32
|
+
CheckboxItemIndicator: PartComponent<MenuCheckboxItemIndicatorProps, MenuCheckableItemState>;
|
|
33
|
+
RadioGroup: PartComponent<MenuRadioGroupProps, {
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
}, MenuRadioGroupEmits>;
|
|
36
|
+
RadioItem: PartComponent<MenuRadioItemProps, MenuCheckableItemState>;
|
|
37
|
+
RadioItemIndicator: PartComponent<MenuRadioItemIndicatorProps, MenuCheckableItemState>;
|
|
38
|
+
SubmenuRoot: PublicComponent<MenuSubmenuRootProps, ContentSlots, OverlayRootEmits>;
|
|
39
|
+
SubmenuTrigger: PartComponent<MenuSubmenuTriggerProps, MenuSubmenuTriggerState>;
|
|
40
|
+
createHandle: <Payload = unknown>() => MenuHandle<Payload>;
|
|
41
|
+
};
|
|
42
|
+
export { MenuTriggerState as a, MenuTriggerProps as i, Side as n, Menu as r, Align as t };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { t as ChangeDetails } from "./change-details-Bc4-Xzdm.js";
|
|
2
|
+
import { n as RenderSlotProps, t as AsProp } from "./render-part-BaTKiWBp.js";
|
|
3
|
+
import { i as PublicComponent, r as PartComponent } from "./public-component-DYpU9aDh.js";
|
|
4
|
+
import { VNode } from "vue";
|
|
5
|
+
interface RatingRootState {
|
|
6
|
+
value: number;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
readOnly: boolean;
|
|
9
|
+
required: boolean;
|
|
10
|
+
}
|
|
11
|
+
/** What the Root's default scoped slot receives (spec/rating.md, "API"). */
|
|
12
|
+
interface RatingRootRenderState {
|
|
13
|
+
/** The stars' indexes, `1` to `count`. */
|
|
14
|
+
items: number[];
|
|
15
|
+
value: number;
|
|
16
|
+
}
|
|
17
|
+
interface RatingRootSlots {
|
|
18
|
+
default?: (scope: RatingRootRenderState) => VNode[];
|
|
19
|
+
render?: (scope: RenderSlotProps<RatingRootState>) => VNode[];
|
|
20
|
+
}
|
|
21
|
+
interface RatingRootProps {
|
|
22
|
+
as?: AsProp;
|
|
23
|
+
/** The score, `0` for none (controlled). */
|
|
24
|
+
value?: number;
|
|
25
|
+
/** The score at first (default `0`: none). */
|
|
26
|
+
defaultValue?: number;
|
|
27
|
+
/** The number of stars (default `5`). */
|
|
28
|
+
count?: number;
|
|
29
|
+
/** Half steps: the arrows step by 0.5, a press on a star's inline-start half chooses its half. */
|
|
30
|
+
allowHalf?: boolean;
|
|
31
|
+
/** A press that chooses the current value again clears it (default `false`). */
|
|
32
|
+
allowClear?: boolean;
|
|
33
|
+
/** Shown and focusable; nothing changes it. */
|
|
34
|
+
readOnly?: boolean;
|
|
35
|
+
/** Every star is disabled. */
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
/** The form's validation fails while the value is `0`. */
|
|
38
|
+
required?: boolean;
|
|
39
|
+
/** The HiddenInput's name. */
|
|
40
|
+
name?: string;
|
|
41
|
+
/** The arrows wrap from `count` to the first step and back (default `true`). */
|
|
42
|
+
loopFocus?: boolean;
|
|
43
|
+
}
|
|
44
|
+
type RatingRootEmits = {
|
|
45
|
+
/** The new score (`v-model:value`); `0` for none. */
|
|
46
|
+
"update:value": (value: number) => true;
|
|
47
|
+
valueChange: (value: number, details: ChangeDetails) => true;
|
|
48
|
+
};
|
|
49
|
+
/** A star's state (spec/rating.md, "API"). */
|
|
50
|
+
interface RatingItemState {
|
|
51
|
+
index: number;
|
|
52
|
+
checked: boolean;
|
|
53
|
+
highlighted: boolean;
|
|
54
|
+
half: boolean;
|
|
55
|
+
disabled: boolean;
|
|
56
|
+
readOnly: boolean;
|
|
57
|
+
}
|
|
58
|
+
/** Its default scoped slot receives its state (`v-slot="state"`), its `render` slot as a part's. */
|
|
59
|
+
interface RatingItemSlots {
|
|
60
|
+
default?: (state: RatingItemState) => VNode[];
|
|
61
|
+
render?: (scope: RenderSlotProps<RatingItemState>) => VNode[];
|
|
62
|
+
}
|
|
63
|
+
interface RatingItemProps {
|
|
64
|
+
as?: AsProp;
|
|
65
|
+
/** The star's number, `1` to `count`: its whole value. */
|
|
66
|
+
index: number;
|
|
67
|
+
}
|
|
68
|
+
/** spec/rating.md */
|
|
69
|
+
declare const Rating: {
|
|
70
|
+
Root: PublicComponent<RatingRootProps, RatingRootSlots, RatingRootEmits>;
|
|
71
|
+
Item: PublicComponent<RatingItemProps, RatingItemSlots>;
|
|
72
|
+
HiddenInput: PartComponent<Record<never, never>, RatingRootState>;
|
|
73
|
+
};
|
|
74
|
+
export { RatingRootEmits as a, RatingRootSlots as c, RatingItemState as i, RatingRootState as l, RatingItemProps as n, RatingRootProps as o, RatingItemSlots as r, RatingRootRenderState as s, Rating as t };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import "./render-part-BaTKiWBp.js";
|
|
2
|
+
import { r as PartComponent } from "./public-component-DYpU9aDh.js";
|
|
3
|
+
interface ButtonState {
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
}
|
|
6
|
+
interface ButtonProps {
|
|
7
|
+
/** The button ignores presses and keys. */
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
/** A disabled button stays in the tab order and focusable (Base UI). */
|
|
10
|
+
focusableWhenDisabled?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Whether the rendered element is a native `<button>` (default `true`). `false` when `as` or
|
|
13
|
+
* the `render` slot gives another element: the Button adds `role="button"`, the tab order and
|
|
14
|
+
* the keys.
|
|
15
|
+
*/
|
|
16
|
+
nativeButton?: boolean;
|
|
17
|
+
/** Forwarded; a native Button is `type="button"` unless given. */
|
|
18
|
+
type?: "button" | "submit" | "reset";
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* An element that performs an action (spec/button.md, the APG button): a native `<button>`, or
|
|
22
|
+
* the consumer's element with the keys a native button has. While disabled, no press, pointer
|
|
23
|
+
* down or key but Tab reaches the consumer's listeners.
|
|
24
|
+
*/
|
|
25
|
+
declare const Button: PartComponent<ButtonProps, ButtonState>;
|
|
26
|
+
export { ButtonProps as n, ButtonState as r, Button as t };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import "./render-part-BaTKiWBp.js";
|
|
2
|
+
import { r as PartComponent } from "./public-component-DYpU9aDh.js";
|
|
3
|
+
interface LinkState {
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
current: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface LinkProps {
|
|
8
|
+
/** The link is unavailable: `aria-disabled`, and its press navigates nowhere. */
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/** It links to the page the app is on: `aria-current="page"`. */
|
|
11
|
+
current?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* A link with a disabled and a current state (spec/link.md): the app's anchor, or its router's
|
|
15
|
+
* link through `as` (`:as="RouterLink" to="/docs"`: its attributes fall through to the anchor).
|
|
16
|
+
*/
|
|
17
|
+
declare const Link: PartComponent<LinkProps, LinkState>;
|
|
18
|
+
export { LinkProps as n, LinkState as r, Link as t };
|