@feugene/granularity 0.13.0 → 0.18.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/README.md +14 -1
- package/dist/chunks/adapter-CAOxmn2G.js.map +1 -1
- package/dist/chunks/check-BZI24Qs4.js +23 -0
- package/dist/chunks/check-BZI24Qs4.js.map +1 -0
- package/dist/chunks/chevron-down-CQS2OG_s.js +23 -0
- package/dist/chunks/chevron-down-CQS2OG_s.js.map +1 -0
- package/dist/chunks/chevron-right-BfqMVpbB.js +44 -0
- package/dist/chunks/chevron-right-BfqMVpbB.js.map +1 -0
- package/dist/chunks/config-06SQjBx0.js +96 -0
- package/dist/chunks/config-06SQjBx0.js.map +1 -0
- package/dist/chunks/config-A-bBiotF.js +12 -0
- package/dist/chunks/config-A-bBiotF.js.map +1 -0
- package/dist/chunks/config-B-iNaGdw.js +199 -0
- package/dist/chunks/config-B-iNaGdw.js.map +1 -0
- package/dist/chunks/config-B84z1aos.js +19 -0
- package/dist/chunks/config-B84z1aos.js.map +1 -0
- package/dist/chunks/config-BDfTXHo12.js +23 -0
- package/dist/chunks/config-BDfTXHo12.js.map +1 -0
- package/dist/chunks/config-BE6n20np2.js +27 -0
- package/dist/chunks/config-BE6n20np2.js.map +1 -0
- package/dist/chunks/config-BKvX0q10.js +89 -0
- package/dist/chunks/config-BKvX0q10.js.map +1 -0
- package/dist/chunks/config-BN4sXYXn.js +77 -0
- package/dist/chunks/config-BN4sXYXn.js.map +1 -0
- package/dist/chunks/config-BNu8lFQB.js.map +1 -1
- package/dist/chunks/config-BSyiFlbi.js +17 -0
- package/dist/chunks/config-BSyiFlbi.js.map +1 -0
- package/dist/chunks/config-BViooYNv.js +13 -0
- package/dist/chunks/config-BViooYNv.js.map +1 -0
- package/dist/chunks/config-Baj7Wvx-.js +72 -0
- package/dist/chunks/config-Baj7Wvx-.js.map +1 -0
- package/dist/chunks/config-BbY2SKGE.js +90 -0
- package/dist/chunks/config-BbY2SKGE.js.map +1 -0
- package/dist/chunks/config-BeZRuonp.js +54 -0
- package/dist/chunks/config-BeZRuonp.js.map +1 -0
- package/dist/chunks/config-BoNR7_PD2.js +140 -0
- package/dist/chunks/config-BoNR7_PD2.js.map +1 -0
- package/dist/chunks/config-Bpt9Xbxm.js +49 -0
- package/dist/chunks/config-Bpt9Xbxm.js.map +1 -0
- package/dist/chunks/config-BqFjr3tN.js +131 -0
- package/dist/chunks/config-BqFjr3tN.js.map +1 -0
- package/dist/chunks/config-BsPDQ0dS.js +97 -0
- package/dist/chunks/config-BsPDQ0dS.js.map +1 -0
- package/dist/chunks/config-BsuDM3Hb.js +55 -0
- package/dist/chunks/config-BsuDM3Hb.js.map +1 -0
- package/dist/chunks/config-BtXRpAtq.js +48 -0
- package/dist/chunks/config-BtXRpAtq.js.map +1 -0
- package/dist/chunks/config-BuGlNPE9.js +8 -0
- package/dist/chunks/config-BuGlNPE9.js.map +1 -0
- package/dist/chunks/config-C0Ea9ePP.js +15 -0
- package/dist/chunks/config-C0Ea9ePP.js.map +1 -0
- package/dist/chunks/config-CN2ULSQL.js +36 -0
- package/dist/chunks/config-CN2ULSQL.js.map +1 -0
- package/dist/chunks/config-CN970ZcJ.js +113 -0
- package/dist/chunks/config-CN970ZcJ.js.map +1 -0
- package/dist/chunks/config-COpuWGr_.js +72 -0
- package/dist/chunks/config-COpuWGr_.js.map +1 -0
- package/dist/chunks/config-COvrUfhR.js +83 -0
- package/dist/chunks/config-COvrUfhR.js.map +1 -0
- package/dist/chunks/config-CQzGyi1C.js +54 -0
- package/dist/chunks/config-CQzGyi1C.js.map +1 -0
- package/dist/chunks/config-CY0_6cMi.js +51 -0
- package/dist/chunks/config-CY0_6cMi.js.map +1 -0
- package/dist/chunks/config-CjXjhphs.js +12 -0
- package/dist/chunks/config-CjXjhphs.js.map +1 -0
- package/dist/chunks/config-CjnbevbD.js +13 -0
- package/dist/chunks/config-CjnbevbD.js.map +1 -0
- package/dist/chunks/config-Cl4ST6Qd.js +21 -0
- package/dist/chunks/config-Cl4ST6Qd.js.map +1 -0
- package/dist/chunks/config-Cp0DE0GH.js +12 -0
- package/dist/chunks/config-Cp0DE0GH.js.map +1 -0
- package/dist/chunks/config-Cwd3yjRw.js +41 -0
- package/dist/chunks/config-Cwd3yjRw.js.map +1 -0
- package/dist/chunks/config-D2aNP7Es.js +70 -0
- package/dist/chunks/config-D2aNP7Es.js.map +1 -0
- package/dist/chunks/config-D3_g2KIn.js +120 -0
- package/dist/chunks/config-D3_g2KIn.js.map +1 -0
- package/dist/chunks/config-D6W1rnlp.js +26 -0
- package/dist/chunks/config-D6W1rnlp.js.map +1 -0
- package/dist/chunks/config-D94Z9po5.js +126 -0
- package/dist/chunks/config-D94Z9po5.js.map +1 -0
- package/dist/chunks/config-DA6SnEoy.js +22 -0
- package/dist/chunks/config-DA6SnEoy.js.map +1 -0
- package/dist/chunks/config-DBmdgoVf.js.map +1 -1
- package/dist/chunks/config-DCFvmHEv2.js +76 -0
- package/dist/chunks/config-DCFvmHEv2.js.map +1 -0
- package/dist/chunks/config-DEvsMTQE.js +150 -0
- package/dist/chunks/config-DEvsMTQE.js.map +1 -0
- package/dist/chunks/config-DKdlqXiY.js +109 -0
- package/dist/chunks/config-DKdlqXiY.js.map +1 -0
- package/dist/chunks/config-DP7eseR1.js +92 -0
- package/dist/chunks/config-DP7eseR1.js.map +1 -0
- package/dist/chunks/config-DSJY6aEl.js +80 -0
- package/dist/chunks/config-DSJY6aEl.js.map +1 -0
- package/dist/chunks/config-DU2DNSRx2.js +116 -0
- package/dist/chunks/config-DU2DNSRx2.js.map +1 -0
- package/dist/chunks/config-DhHbU3zO.js +37 -0
- package/dist/chunks/config-DhHbU3zO.js.map +1 -0
- package/dist/chunks/config-DpeQchsV.js +21 -0
- package/dist/chunks/config-DpeQchsV.js.map +1 -0
- package/dist/chunks/config-DpqOnJiz2.js.map +1 -0
- package/dist/chunks/config-DvQIb4kb.js +98 -0
- package/dist/chunks/config-DvQIb4kb.js.map +1 -0
- package/dist/chunks/config-K0C2tcLB.js +84 -0
- package/dist/chunks/config-K0C2tcLB.js.map +1 -0
- package/dist/chunks/config-MRvhUl-O.js +81 -0
- package/dist/chunks/config-MRvhUl-O.js.map +1 -0
- package/dist/chunks/config-QaIc_gRa.js.map +1 -0
- package/dist/chunks/config-Rw9OyW70.js +87 -0
- package/dist/chunks/config-Rw9OyW70.js.map +1 -0
- package/dist/chunks/config-ScuvHw6k2.js +42 -0
- package/dist/chunks/config-ScuvHw6k2.js.map +1 -0
- package/dist/chunks/config-T3qdQBgU2.js +40 -0
- package/dist/chunks/config-T3qdQBgU2.js.map +1 -0
- package/dist/chunks/config-WTNhdh6T2.js +20 -0
- package/dist/chunks/config-WTNhdh6T2.js.map +1 -0
- package/dist/chunks/config-_qPUfb6-2.js +165 -0
- package/dist/chunks/config-_qPUfb6-2.js.map +1 -0
- package/dist/chunks/config-esdviAPL.js +41 -0
- package/dist/chunks/config-esdviAPL.js.map +1 -0
- package/dist/chunks/config-gvq_hWNM.js +103 -0
- package/dist/chunks/config-gvq_hWNM.js.map +1 -0
- package/dist/chunks/config-gwro_7yn.js +55 -0
- package/dist/chunks/config-gwro_7yn.js.map +1 -0
- package/dist/chunks/config-qVg3Zz_A.js +30 -0
- package/dist/chunks/config-qVg3Zz_A.js.map +1 -0
- package/dist/chunks/config-zjeAJ4ho.js +64 -0
- package/dist/chunks/config-zjeAJ4ho.js.map +1 -0
- package/dist/chunks/context-BSYR7RZs.js +152 -0
- package/dist/chunks/context-BSYR7RZs.js.map +1 -0
- package/dist/chunks/context-BfIQv7m1.js +18 -0
- package/dist/chunks/context-BfIQv7m1.js.map +1 -0
- package/dist/chunks/context-Bfrgsluh.js.map +1 -1
- package/dist/chunks/context-DdNIxa1w.js.map +1 -1
- package/dist/chunks/dialogShared-CxW62PQE.js.map +1 -1
- package/dist/chunks/en-COdzxgAX.js +352 -0
- package/dist/chunks/en-COdzxgAX.js.map +1 -0
- package/dist/chunks/es-ClqJ-4hr.js +354 -0
- package/dist/chunks/es-ClqJ-4hr.js.map +1 -0
- package/dist/chunks/es-DGMHwknJ.js +20 -0
- package/dist/chunks/es-DGMHwknJ.js.map +1 -0
- package/dist/chunks/fileValidation-D5TFBhbv.js +296 -0
- package/dist/chunks/fileValidation-D5TFBhbv.js.map +1 -0
- package/dist/chunks/focusables-BkzK42SQ.js +87 -0
- package/dist/chunks/focusables-BkzK42SQ.js.map +1 -0
- package/dist/chunks/grBadgeStyles-C2wLlkjF.js +61 -0
- package/dist/chunks/grBadgeStyles-C2wLlkjF.js.map +1 -0
- package/dist/chunks/grButtonStyles-B_-YRE__.js +221 -0
- package/dist/chunks/grButtonStyles-B_-YRE__.js.map +1 -0
- package/dist/chunks/grCheckboxStyles-hOAgURZG.js +82 -0
- package/dist/chunks/grCheckboxStyles-hOAgURZG.js.map +1 -0
- package/dist/chunks/grDropdownStyles-V7TRiCXn.js +24 -0
- package/dist/chunks/grDropdownStyles-V7TRiCXn.js.map +1 -0
- package/dist/chunks/grFormFieldStyles-BkeZHIw0.js +32 -0
- package/dist/chunks/grFormFieldStyles-BkeZHIw0.js.map +1 -0
- package/dist/chunks/grIconStyles-BwJrml2L.js +44 -0
- package/dist/chunks/grIconStyles-BwJrml2L.js.map +1 -0
- package/dist/chunks/grInputStyles-CJeMhUe5.js +66 -0
- package/dist/chunks/grInputStyles-CJeMhUe5.js.map +1 -0
- package/dist/chunks/grKbdStyles-CeZhGQHr.js +43 -0
- package/dist/chunks/grKbdStyles-CeZhGQHr.js.map +1 -0
- package/dist/chunks/grLinkStyles-BoL8QYcV.js +84 -0
- package/dist/chunks/grLinkStyles-BoL8QYcV.js.map +1 -0
- package/dist/chunks/grLoadingStyles-DEmji2wv.js +30 -0
- package/dist/chunks/grLoadingStyles-DEmji2wv.js.map +1 -0
- package/dist/chunks/grModalStyles-EZfuEiw_.js +77 -0
- package/dist/chunks/grModalStyles-EZfuEiw_.js.map +1 -0
- package/dist/chunks/grPopoverStyles-Rz_Z5nLW.js +46 -0
- package/dist/chunks/grPopoverStyles-Rz_Z5nLW.js.map +1 -0
- package/dist/chunks/grSelectStyles-eTz4uPMP.js +147 -0
- package/dist/chunks/grSelectStyles-eTz4uPMP.js.map +1 -0
- package/dist/chunks/grSliderStyles-B5uNxNJq.js +133 -0
- package/dist/chunks/grSliderStyles-B5uNxNJq.js.map +1 -0
- package/dist/chunks/grStyle-CrgLQKKf.js +46 -0
- package/dist/chunks/grStyle-CrgLQKKf.js.map +1 -0
- package/dist/chunks/grTableStyles-C-iaqQUN.js +26 -0
- package/dist/chunks/grTableStyles-C-iaqQUN.js.map +1 -0
- package/dist/chunks/grTextareaStyles-iOcHuVMM.js +50 -0
- package/dist/chunks/grTextareaStyles-iOcHuVMM.js.map +1 -0
- package/dist/chunks/granular-provider-B9nXQCMu.js +195 -0
- package/dist/chunks/granular-provider-B9nXQCMu.js.map +1 -0
- package/dist/chunks/granularityI18n-BC5zsj_d.js +68 -0
- package/dist/chunks/granularityI18n-BC5zsj_d.js.map +1 -0
- package/dist/chunks/inert-DIHCCn_1.js +78 -0
- package/dist/chunks/inert-DIHCCn_1.js.map +1 -0
- package/dist/chunks/keyboard-DE2yhz_b.js +70 -0
- package/dist/chunks/keyboard-DE2yhz_b.js.map +1 -0
- package/dist/chunks/loader-2-B1fdsdWW.js +23 -0
- package/dist/chunks/loader-2-B1fdsdWW.js.map +1 -0
- package/dist/chunks/minus-oxdbHF33.js +23 -0
- package/dist/chunks/minus-oxdbHF33.js.map +1 -0
- package/dist/chunks/optionFilter-DYw9XPPx.js +79 -0
- package/dist/chunks/optionFilter-DYw9XPPx.js.map +1 -0
- package/dist/chunks/overlayStack-C8cfsqXa.js +99 -0
- package/dist/chunks/overlayStack-C8cfsqXa.js.map +1 -0
- package/dist/chunks/portalRoot-CWD4zHBm.js +35 -0
- package/dist/chunks/portalRoot-CWD4zHBm.js.map +1 -0
- package/dist/chunks/ru-9z8ix45c.js +356 -0
- package/dist/chunks/ru-9z8ix45c.js.map +1 -0
- package/dist/chunks/safelist-CudBLyAD.js +26 -0
- package/dist/chunks/safelist-CudBLyAD.js.map +1 -0
- package/dist/chunks/slotNodes-DxNXpC7v.js +39 -0
- package/dist/chunks/slotNodes-DxNXpC7v.js.map +1 -0
- package/dist/chunks/useControlAddons-asUr10Pf.js +128 -0
- package/dist/chunks/useControlAddons-asUr10Pf.js.map +1 -0
- package/dist/chunks/useControlledOpen-DV3SqLTP.js +27 -0
- package/dist/chunks/useControlledOpen-DV3SqLTP.js.map +1 -0
- package/dist/chunks/useDragSort-0l47h4yb.js +265 -0
- package/dist/chunks/useDragSort-0l47h4yb.js.map +1 -0
- package/dist/chunks/useFilePreviews-DnwgdyBs.js +53 -0
- package/dist/chunks/useFilePreviews-DnwgdyBs.js.map +1 -0
- package/dist/chunks/useFocusWithin-BwHE0rzm.js +33 -0
- package/dist/chunks/useFocusWithin-BwHE0rzm.js.map +1 -0
- package/dist/chunks/useModalOverlay-BTq-0ImG.js +212 -0
- package/dist/chunks/useModalOverlay-BTq-0ImG.js.map +1 -0
- package/dist/chunks/usePortalTarget-RyzEgNTb.js +77 -0
- package/dist/chunks/usePortalTarget-RyzEgNTb.js.map +1 -0
- package/dist/chunks/validation-5HhpanPP.js +178 -0
- package/dist/chunks/validation-5HhpanPP.js.map +1 -0
- package/dist/components/GrAlert/chunks/GrAlert-BC1lplbY.js +272 -0
- package/dist/components/GrAlert/chunks/GrAlert-BC1lplbY.js.map +1 -0
- package/dist/components/GrAlert/index.js +2 -2
- package/dist/components/GrAutocomplete/chunks/GrAutocomplete-CPEQxmLZ.js +852 -0
- package/dist/components/GrAutocomplete/chunks/GrAutocomplete-CPEQxmLZ.js.map +1 -0
- package/dist/components/GrAutocomplete/index.js +2 -2
- package/dist/components/GrAutocomplete/styles.css +1 -0
- package/dist/components/GrAvatar/chunks/GrAvatar-CVUujLmn.js +222 -0
- package/dist/components/GrAvatar/chunks/GrAvatar-CVUujLmn.js.map +1 -0
- package/dist/components/GrAvatar/index.js +3 -3
- package/dist/components/GrBadge/chunks/GrBadge-B1tgqfGQ.js +40 -0
- package/dist/components/GrBadge/chunks/GrBadge-B1tgqfGQ.js.map +1 -0
- package/dist/components/GrBadge/index.js +2 -2
- package/dist/components/GrBadge/styles.css +1 -0
- package/dist/components/GrBadge/themes/dark.css +19 -0
- package/dist/components/GrBadge/themes/light.css +18 -0
- package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-C-E9betg.js +97 -0
- package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-C-E9betg.js.map +1 -0
- package/dist/components/GrBadgeWrap/index.js +3 -3
- package/dist/components/GrBadgeWrap/styles.css +1 -0
- package/dist/components/GrBottomNav/chunks/GrBottomNav-9GH7Dd9E.js +117 -0
- package/dist/components/GrBottomNav/chunks/GrBottomNav-9GH7Dd9E.js.map +1 -0
- package/dist/components/GrBottomNav/index.js +3 -3
- package/dist/components/GrBreadcrumbs/chunks/GrBreadcrumbs-BCNGDS6k.js +266 -0
- package/dist/components/GrBreadcrumbs/chunks/GrBreadcrumbs-BCNGDS6k.js.map +1 -0
- package/dist/components/GrBreadcrumbs/index.js +3 -0
- package/dist/components/GrButton/chunks/GrButton-D0m_z0XW.js +153 -0
- package/dist/components/GrButton/chunks/GrButton-D0m_z0XW.js.map +1 -0
- package/dist/components/GrButton/index.js +5 -5
- package/dist/components/GrButton/themes/dark.css +46 -0
- package/dist/components/GrButton/themes/light.css +82 -0
- package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CKyiAV8K.js +44 -0
- package/dist/components/GrButtonGroup/chunks/GrButtonGroup-CKyiAV8K.js.map +1 -0
- package/dist/components/GrButtonGroup/index.js +3 -2
- package/dist/components/GrButtonGroup/styles.css +1 -0
- package/dist/components/GrCard/chunks/GrCard-DOrGHf2x.js +89 -0
- package/dist/components/GrCard/chunks/GrCard-DOrGHf2x.js.map +1 -0
- package/dist/components/GrCard/index.js +3 -3
- package/dist/components/GrCheckbox/chunks/GrCheckbox-BLOp8452.js +262 -0
- package/dist/components/GrCheckbox/chunks/GrCheckbox-BLOp8452.js.map +1 -0
- package/dist/components/GrCheckbox/index.js +3 -3
- package/dist/components/GrCheckboxGroup/chunks/GrCheckboxGroup-CXTx2Z5H.js +140 -0
- package/dist/components/GrCheckboxGroup/chunks/GrCheckboxGroup-CXTx2Z5H.js.map +1 -0
- package/dist/components/GrCheckboxGroup/index.js +3 -0
- package/dist/components/GrCollapse/chunks/GrCollapse-B2Fc6A9r.js +308 -0
- package/dist/components/GrCollapse/chunks/GrCollapse-B2Fc6A9r.js.map +1 -0
- package/dist/components/GrCollapse/index.js +3 -3
- package/dist/components/GrColorPicker/chunks/GrColorPicker-DAdQ-Gc3.js +584 -0
- package/dist/components/GrColorPicker/chunks/GrColorPicker-DAdQ-Gc3.js.map +1 -0
- package/dist/components/GrColorPicker/index.js +3 -0
- package/dist/components/GrColorPicker/styles.css +1 -0
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-DMeSqkEv.js +565 -0
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-DMeSqkEv.js.map +1 -0
- package/dist/components/GrCommandPalette/index.js +2 -2
- package/dist/components/GrCommandPalette/styles.css +1 -0
- package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BA6JO7V6.js +144 -0
- package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BA6JO7V6.js.map +1 -0
- package/dist/components/GrConfigProvider/index.js +3 -3
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-hUTi-GdJ.js +200 -0
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-hUTi-GdJ.js.map +1 -0
- package/dist/components/GrConfirmDialog/index.js +2 -2
- package/dist/components/GrDataTable/chunks/GrDataTable-DzaGLG3A.js +1053 -0
- package/dist/components/GrDataTable/chunks/GrDataTable-DzaGLG3A.js.map +1 -0
- package/dist/components/GrDataTable/index.js +3 -3
- package/dist/components/GrDialog/chunks/GrDialog-MD9Fzy9C.js +255 -0
- package/dist/components/GrDialog/chunks/GrDialog-MD9Fzy9C.js.map +1 -0
- package/dist/components/GrDialog/index.js +1 -1
- package/dist/components/GrDialogService/chunks/GrDialogService-DtgUijMj.js +656 -0
- package/dist/components/GrDialogService/chunks/GrDialogService-DtgUijMj.js.map +1 -0
- package/dist/components/GrDialogService/index.js +3 -3
- package/dist/components/GrDivider/chunks/GrDivider-B2Xwc_QO.js +109 -0
- package/dist/components/GrDivider/chunks/GrDivider-B2Xwc_QO.js.map +1 -0
- package/dist/components/GrDivider/index.js +3 -3
- package/dist/components/GrDrawer/chunks/GrDrawer-DWHdZZzW.js +251 -0
- package/dist/components/GrDrawer/chunks/GrDrawer-DWHdZZzW.js.map +1 -0
- package/dist/components/GrDrawer/index.js +2 -2
- package/dist/components/GrDropdown/chunks/GrDropdown-0tJK01Kq.js +300 -0
- package/dist/components/GrDropdown/chunks/GrDropdown-0tJK01Kq.js.map +1 -0
- package/dist/components/GrDropdown/index.js +2 -2
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-VPPrpCoA.js +421 -0
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-VPPrpCoA.js.map +1 -0
- package/dist/components/GrDropdownMenu/index.js +3 -3
- package/dist/components/GrEmptyState/chunks/GrEmptyState-W7Irx3vc.js +86 -0
- package/dist/components/GrEmptyState/chunks/GrEmptyState-W7Irx3vc.js.map +1 -0
- package/dist/components/GrEmptyState/index.js +3 -3
- package/dist/components/GrFileUpload/chunks/GrFileUpload-DuDzC43S.js +1080 -0
- package/dist/components/GrFileUpload/chunks/GrFileUpload-DuDzC43S.js.map +1 -0
- package/dist/components/GrFileUpload/index.js +4 -4
- package/dist/components/GrForm/chunks/GrForm-BCHCfIMv.js +326 -0
- package/dist/components/GrForm/chunks/GrForm-BCHCfIMv.js.map +1 -0
- package/dist/components/GrForm/index.js +3 -2
- package/dist/components/GrFormField/chunks/GrFormField-CL5rcgj6.js +190 -0
- package/dist/components/GrFormField/chunks/GrFormField-CL5rcgj6.js.map +1 -0
- package/dist/components/GrFormField/index.js +3 -3
- package/dist/components/GrFormFile/chunks/GrFormFile-BikSD7bg.js +452 -0
- package/dist/components/GrFormFile/chunks/GrFormFile-BikSD7bg.js.map +1 -0
- package/dist/components/GrFormFile/index.js +3 -3
- package/dist/components/GrFormFile/styles.css +1 -0
- package/dist/components/GrFormSection/chunks/GrFormSection-BEh5n4jF.js +63 -0
- package/dist/components/GrFormSection/chunks/GrFormSection-BEh5n4jF.js.map +1 -0
- package/dist/components/GrFormSection/index.js +3 -3
- package/dist/components/GrIcon/chunks/GrIcon-BvA2ZGXP.js +57 -0
- package/dist/components/GrIcon/chunks/GrIcon-BvA2ZGXP.js.map +1 -0
- package/dist/components/GrIcon/index.js +3 -3
- package/dist/components/GrIcon/styles.css +1 -0
- package/dist/components/GrImageViewer/chunks/GrImageViewer-DE7MBbF8.js +1127 -0
- package/dist/components/GrImageViewer/chunks/GrImageViewer-DE7MBbF8.js.map +1 -0
- package/dist/components/GrImageViewer/index.js +3 -3
- package/dist/components/GrImageViewer/themes/dark.css +17 -0
- package/dist/components/GrImageViewer/themes/light.css +16 -0
- package/dist/components/GrInput/chunks/GrInput-2wd7Crs0.js +348 -0
- package/dist/components/GrInput/chunks/GrInput-2wd7Crs0.js.map +1 -0
- package/dist/components/GrInput/index.js +2 -2
- package/dist/components/GrInputTag/chunks/GrInputTag-CyV2eY7Z.js +512 -0
- package/dist/components/GrInputTag/chunks/GrInputTag-CyV2eY7Z.js.map +1 -0
- package/dist/components/GrInputTag/index.js +2 -2
- package/dist/components/GrKbd/chunks/GrKbd-DU2lBkRV.js +358 -0
- package/dist/components/GrKbd/chunks/GrKbd-DU2lBkRV.js.map +1 -0
- package/dist/components/GrKbd/index.js +3 -3
- package/dist/components/GrLink/chunks/GrLink-D-cgUMXW.js +163 -0
- package/dist/components/GrLink/chunks/GrLink-D-cgUMXW.js.map +1 -0
- package/dist/components/GrLink/index.js +2 -2
- package/dist/components/GrList/chunks/GrList-4YU1NZtM.js +277 -0
- package/dist/components/GrList/chunks/GrList-4YU1NZtM.js.map +1 -0
- package/dist/components/GrList/index.js +3 -3
- package/dist/components/GrList/styles.css +1 -0
- package/dist/components/GrLoading/chunks/GrLoading-CH95CFzS.js +101 -0
- package/dist/components/GrLoading/chunks/GrLoading-CH95CFzS.js.map +1 -0
- package/dist/components/GrLoading/index.js +2 -2
- package/dist/components/GrModal/chunks/GrModal-BbhcsDQ8.js +313 -0
- package/dist/components/GrModal/chunks/GrModal-BbhcsDQ8.js.map +1 -0
- package/dist/components/GrModal/index.js +3 -4
- package/dist/components/GrNavbar/chunks/GrNavbar-CF0KbM_6.js +104 -0
- package/dist/components/GrNavbar/chunks/GrNavbar-CF0KbM_6.js.map +1 -0
- package/dist/components/GrNavbar/index.js +3 -3
- package/dist/components/GrNumberInput/chunks/GrNumberInput-CZOyPz4J.js +658 -0
- package/dist/components/GrNumberInput/chunks/GrNumberInput-CZOyPz4J.js.map +1 -0
- package/dist/components/GrNumberInput/index.js +2 -2
- package/dist/components/GrPagination/chunks/GrPagination-waKhxBP7.js +283 -0
- package/dist/components/GrPagination/chunks/GrPagination-waKhxBP7.js.map +1 -0
- package/dist/components/GrPagination/index.js +3 -3
- package/dist/components/GrPopover/chunks/GrPopover-DuqeoFaI.js +216 -0
- package/dist/components/GrPopover/chunks/GrPopover-DuqeoFaI.js.map +1 -0
- package/dist/components/GrPopover/index.js +3 -0
- package/dist/components/GrProgressBar/chunks/GrProgressBar-xwbNM9QB.js +90 -0
- package/dist/components/GrProgressBar/chunks/GrProgressBar-xwbNM9QB.js.map +1 -0
- package/dist/components/GrProgressBar/index.js +2 -2
- package/dist/components/GrProgressBar/styles.css +1 -0
- package/dist/components/GrProgressBar/themes/dark.css +13 -0
- package/dist/components/GrProgressBar/themes/light.css +12 -0
- package/dist/components/GrProgressCircle/chunks/GrProgressCircle-B8olXRo5.js +210 -0
- package/dist/components/GrProgressCircle/chunks/GrProgressCircle-B8olXRo5.js.map +1 -0
- package/dist/components/GrProgressCircle/index.js +3 -0
- package/dist/components/GrProgressCircle/styles.css +1 -0
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-JVVqBsPY.js +348 -0
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-JVVqBsPY.js.map +1 -0
- package/dist/components/GrPromptDialog/index.js +2 -2
- package/dist/components/GrRadio/chunks/GrRadio-DWiRaMzt.js +253 -0
- package/dist/components/GrRadio/chunks/GrRadio-DWiRaMzt.js.map +1 -0
- package/dist/components/GrRadio/index.js +2 -2
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-DIuBw0wk.js +196 -0
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-DIuBw0wk.js.map +1 -0
- package/dist/components/GrRadioGroup/index.js +2 -2
- package/dist/components/GrRating/chunks/GrRating-LarIiwJL.js +315 -0
- package/dist/components/GrRating/chunks/GrRating-LarIiwJL.js.map +1 -0
- package/dist/components/GrRating/index.js +2 -2
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C7W9mgYN.js +777 -0
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C7W9mgYN.js.map +1 -0
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-DhX4jjay.js +224 -0
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-DhX4jjay.js.map +1 -0
- package/dist/components/GrResponseErrorBanner/index.js +2 -2
- package/dist/components/GrSegmented/chunks/GrSegmented-CQw3ijqa.js +388 -0
- package/dist/components/GrSegmented/chunks/GrSegmented-CQw3ijqa.js.map +1 -0
- package/dist/components/GrSegmented/index.js +3 -3
- package/dist/components/GrSelect/chunks/GrSelect-DAdu044K.js +1373 -0
- package/dist/components/GrSelect/chunks/GrSelect-DAdu044K.js.map +1 -0
- package/dist/components/GrSelect/index.js +2 -2
- package/dist/components/GrSelect/styles.css +1 -0
- package/dist/components/GrSidebar/chunks/GrSidebar-DRGnnViw.js +257 -0
- package/dist/components/GrSidebar/chunks/GrSidebar-DRGnnViw.js.map +1 -0
- package/dist/components/GrSidebar/index.js +3 -3
- package/dist/components/GrSkeleton/chunks/GrSkeleton-DEvNE3bC.js +84 -0
- package/dist/components/GrSkeleton/chunks/GrSkeleton-DEvNE3bC.js.map +1 -0
- package/dist/components/GrSkeleton/index.js +2 -2
- package/dist/components/GrSlider/chunks/GrSlider-CyhVsNKn.js +379 -0
- package/dist/components/GrSlider/chunks/GrSlider-CyhVsNKn.js.map +1 -0
- package/dist/components/GrSlider/index.js +2 -2
- package/dist/components/GrSortableList/chunks/GrSortableList-BefVfWKh.js +276 -0
- package/dist/components/GrSortableList/chunks/GrSortableList-BefVfWKh.js.map +1 -0
- package/dist/components/GrSortableList/index.js +3 -0
- package/dist/components/GrSplitter/chunks/GrSplitter-BzxVQwbY.js +268 -0
- package/dist/components/GrSplitter/chunks/GrSplitter-BzxVQwbY.js.map +1 -0
- package/dist/components/GrSplitter/index.js +3 -0
- package/dist/components/GrSplitter/styles.css +1 -0
- package/dist/components/GrStatistic/chunks/GrStatistic-J4qLs3TH.js +319 -0
- package/dist/components/GrStatistic/chunks/GrStatistic-J4qLs3TH.js.map +1 -0
- package/dist/components/GrStatistic/index.js +2 -2
- package/dist/components/GrSwitch/chunks/GrSwitch-DpyvVrZG.js +183 -0
- package/dist/components/GrSwitch/chunks/GrSwitch-DpyvVrZG.js.map +1 -0
- package/dist/components/GrSwitch/index.js +2 -2
- package/dist/components/GrTabPanels/chunks/GrTabPanels-BVe1CZdJ.js +81 -0
- package/dist/components/GrTabPanels/chunks/GrTabPanels-BVe1CZdJ.js.map +1 -0
- package/dist/components/GrTabPanels/index.js +1 -1
- package/dist/components/GrTable/chunks/GrTable-BfqgwETQ.js +169 -0
- package/dist/components/GrTable/chunks/GrTable-BfqgwETQ.js.map +1 -0
- package/dist/components/GrTable/index.js +3 -3
- package/dist/components/GrTabs/chunks/GrTabs-TeXaU5Uh.js +261 -0
- package/dist/components/GrTabs/chunks/GrTabs-TeXaU5Uh.js.map +1 -0
- package/dist/components/GrTabs/index.js +3 -3
- package/dist/components/GrTextarea/chunks/GrTextarea-DSvd1nSy.js +241 -0
- package/dist/components/GrTextarea/chunks/GrTextarea-DSvd1nSy.js.map +1 -0
- package/dist/components/GrTextarea/index.js +2 -2
- package/dist/components/GrTimeline/chunks/GrTimeline-B-h2Yanw.js +285 -0
- package/dist/components/GrTimeline/chunks/GrTimeline-B-h2Yanw.js.map +1 -0
- package/dist/components/GrTimeline/index.js +3 -0
- package/dist/components/GrTimeline/styles.css +1 -0
- package/dist/components/GrToaster/chunks/GrToaster-Ct-39hga.js +373 -0
- package/dist/components/GrToaster/chunks/GrToaster-Ct-39hga.js.map +1 -0
- package/dist/components/GrToaster/index.js +2 -2
- package/dist/components/GrToaster/styles.css +1 -0
- package/dist/components/GrTooltip/chunks/GrTooltip-xAcqs0bP.js +185 -0
- package/dist/components/GrTooltip/chunks/GrTooltip-xAcqs0bP.js.map +1 -0
- package/dist/components/GrTooltip/index.js +3 -3
- package/dist/components/GrTree/chunks/GrTree-CaYK8dGZ.js +1371 -0
- package/dist/components/GrTree/chunks/GrTree-CaYK8dGZ.js.map +1 -0
- package/dist/components/GrTree/index.js +2 -2
- package/dist/components/GrTree/styles.css +1 -0
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DZp7CqqW.js +623 -0
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-DZp7CqqW.js.map +1 -0
- package/dist/components/GrTreeSelect/index.js +2 -2
- package/dist/composables/useAnnouncer.js +114 -0
- package/dist/composables/useAnnouncer.js.map +1 -0
- package/dist/composables/useComboboxNavigation.js +71 -0
- package/dist/composables/useComboboxNavigation.js.map +1 -0
- package/dist/composables/useDismissible.js +31 -0
- package/dist/composables/useDismissible.js.map +1 -0
- package/dist/composables/useDragGesture.js +55 -0
- package/dist/composables/useDragGesture.js.map +1 -0
- package/dist/composables/useDragSort.js +2 -0
- package/dist/composables/useFloating.js +133 -0
- package/dist/composables/useFloating.js.map +1 -0
- package/dist/composables/useFocusTrap.js +124 -0
- package/dist/composables/useFocusTrap.js.map +1 -0
- package/dist/composables/useGrComponentConfig.js +2 -0
- package/dist/composables/useGrFormControl.js +24 -0
- package/dist/composables/useGrFormControl.js.map +1 -0
- package/dist/composables/useGranularityTranslations.js +2 -0
- package/dist/composables/useOverlayLayer.js +65 -0
- package/dist/composables/useOverlayLayer.js.map +1 -0
- package/dist/composables/usePortalTarget.js +2 -0
- package/dist/composables/useRovingFocus.js +150 -0
- package/dist/composables/useRovingFocus.js.map +1 -0
- package/dist/composables/useTheme.js +106 -36
- package/dist/composables/useTheme.js.map +1 -1
- package/dist/composables/useToast.js +123 -7
- package/dist/composables/useToast.js.map +1 -1
- package/dist/composables/useVirtualList.js +244 -0
- package/dist/composables/useVirtualList.js.map +1 -0
- package/dist/directives/dropzone.js +1 -1
- package/dist/directives/hotkey.js +18 -18
- package/dist/directives/hotkey.js.map +1 -1
- package/dist/directives/loading.js +43 -7
- package/dist/directives/loading.js.map +1 -1
- package/dist/fileValidation/index.js +2 -2
- package/dist/granular-provider-node.js +1 -31
- package/dist/granular-provider.js +1 -4
- package/dist/i18n/all.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/index.js +157 -140
- package/dist/styles/base.css +32 -0
- package/dist/styles/preflight.css +33 -0
- package/dist/styles/themes/dark.css +81 -26
- package/dist/styles/themes/light.css +86 -15
- package/dist/styles/tokens.css +63 -4
- package/dist/tokens.js +3216 -0
- package/dist/tokens.js.map +1 -0
- package/dist/types/src/components/GrAlert/GrAlert.vue.d.ts +42 -10
- package/dist/types/src/components/GrAlert/config.d.ts +1 -1
- package/dist/types/src/components/GrAlert/defaults.d.ts +10 -4
- package/dist/types/src/components/GrAlert/grAlertStyles.d.ts +0 -7
- package/dist/types/src/components/GrAlert/index.d.ts +3 -2
- package/dist/types/src/components/GrAutocomplete/GrAutocomplete.vue.d.ts +112 -99
- package/dist/types/src/components/GrAutocomplete/config.d.ts +1 -1
- package/dist/types/src/components/GrAutocomplete/defaults.d.ts +1 -1
- package/dist/types/src/components/GrAutocomplete/grAutocompleteStyles.d.ts +43 -7
- package/dist/types/src/components/GrAutocomplete/index.d.ts +4 -0
- package/dist/types/src/components/GrAvatar/GrAvatar.vue.d.ts +40 -17
- package/dist/types/src/components/GrAvatar/GrAvatarGroup.vue.d.ts +70 -0
- package/dist/types/src/components/GrAvatar/avatarContext.d.ts +12 -0
- package/dist/types/src/components/GrAvatar/config.d.ts +1 -1
- package/dist/types/src/components/GrAvatar/defaults.d.ts +16 -0
- package/dist/types/src/components/GrAvatar/grAvatarStyles.d.ts +38 -0
- package/dist/types/src/components/GrAvatar/index.d.ts +5 -0
- package/dist/types/src/components/GrAvatar/safelist.d.ts +4 -0
- package/dist/types/src/components/GrBadge/GrBadge.vue.d.ts +4 -4
- package/dist/types/src/components/GrBadge/config.d.ts +1 -1
- package/dist/types/src/components/GrBadge/defaults.d.ts +1 -1
- package/dist/types/src/components/GrBadge/grBadgeStyles.d.ts +13 -1
- package/dist/types/src/components/GrBadge/index.d.ts +1 -0
- package/dist/types/src/components/GrBadgeWrap/GrBadgeWrap.vue.d.ts +42 -5
- package/dist/types/src/components/GrBadgeWrap/config.d.ts +1 -1
- package/dist/types/src/components/GrBadgeWrap/grBadgeWrapStyles.d.ts +46 -0
- package/dist/types/src/components/GrBadgeWrap/index.d.ts +4 -0
- package/dist/types/src/components/GrBadgeWrap/safelist.d.ts +1 -0
- package/dist/types/src/components/GrBottomNav/GrBottomNav.vue.d.ts +91 -4
- package/dist/types/src/components/GrBottomNav/config.d.ts +1 -1
- package/dist/types/src/components/GrBottomNav/defaults.d.ts +16 -0
- package/dist/types/src/components/GrBottomNav/grBottomNavStyles.d.ts +56 -0
- package/dist/types/src/components/GrBottomNav/index.d.ts +6 -1
- package/dist/types/src/components/GrBottomNav/safelist.d.ts +1 -0
- package/dist/types/src/components/GrBreadcrumbs/GrBreadcrumbs.vue.d.ts +117 -0
- package/dist/types/src/components/GrBreadcrumbs/config.d.ts +1 -0
- package/dist/types/src/components/GrBreadcrumbs/defaults.d.ts +15 -0
- package/dist/types/src/components/GrBreadcrumbs/grBreadcrumbsStyles.d.ts +86 -0
- package/dist/types/src/components/GrBreadcrumbs/index.d.ts +8 -0
- package/dist/types/src/components/GrBreadcrumbs/safelist.d.ts +1 -0
- package/dist/types/src/components/GrButton/GrButton.vue.d.ts +31 -7
- package/dist/types/src/components/GrButton/config.d.ts +1 -1
- package/dist/types/src/components/GrButton/defaults.d.ts +1 -1
- package/dist/types/src/components/GrButton/grButtonStyles.d.ts +27 -3
- package/dist/types/src/components/GrButton/index.d.ts +5 -1
- package/dist/types/src/components/GrButton/safelist.d.ts +1 -0
- package/dist/types/src/components/GrButtonGroup/GrButtonGroup.vue.d.ts +32 -4
- package/dist/types/src/components/GrButtonGroup/config.d.ts +1 -1
- package/dist/types/src/components/GrButtonGroup/context.d.ts +20 -0
- package/dist/types/src/components/GrButtonGroup/index.d.ts +3 -0
- package/dist/types/src/components/GrCard/GrCard.vue.d.ts +80 -3
- package/dist/types/src/components/GrCard/config.d.ts +1 -1
- package/dist/types/src/components/GrCard/defaults.d.ts +15 -0
- package/dist/types/src/components/GrCard/grCardStyles.d.ts +24 -0
- package/dist/types/src/components/GrCard/index.d.ts +5 -0
- package/dist/types/src/components/GrCard/safelist.d.ts +1 -0
- package/dist/types/src/components/GrCheckbox/GrCheckbox.vue.d.ts +56 -10
- package/dist/types/src/components/GrCheckbox/config.d.ts +1 -1
- package/dist/types/src/components/GrCheckbox/defaults.d.ts +14 -0
- package/dist/types/src/components/GrCheckbox/grCheckboxGroupContext.d.ts +19 -0
- package/dist/types/src/components/GrCheckbox/grCheckboxStyles.d.ts +44 -0
- package/dist/types/src/components/GrCheckbox/index.d.ts +9 -0
- package/dist/types/src/components/GrCheckbox/safelist.d.ts +13 -0
- package/dist/types/src/components/GrCheckboxGroup/GrCheckboxGroup.vue.d.ts +105 -0
- package/dist/types/src/components/GrCheckboxGroup/config.d.ts +1 -0
- package/dist/types/src/components/GrCheckboxGroup/defaults.d.ts +14 -0
- package/dist/types/src/components/GrCheckboxGroup/index.d.ts +9 -0
- package/dist/types/src/components/GrCollapse/GrCollapse.vue.d.ts +55 -7
- package/dist/types/src/components/GrCollapse/GrCollapseItem.vue.d.ts +13 -3
- package/dist/types/src/components/GrCollapse/config.d.ts +1 -1
- package/dist/types/src/components/GrCollapse/defaults.d.ts +19 -0
- package/dist/types/src/components/GrCollapse/grCollapseContext.d.ts +20 -0
- package/dist/types/src/components/GrCollapse/grCollapseStyles.d.ts +42 -0
- package/dist/types/src/components/GrCollapse/index.d.ts +3 -0
- package/dist/types/src/components/GrCollapse/safelist.d.ts +15 -0
- package/dist/types/src/components/GrColorPicker/GrColorPicker.vue.d.ts +104 -0
- package/dist/types/src/components/GrColorPicker/color.d.ts +38 -0
- package/dist/types/src/components/GrColorPicker/config.d.ts +1 -0
- package/dist/types/src/components/GrColorPicker/defaults.d.ts +15 -0
- package/dist/types/src/components/GrColorPicker/grColorPickerStyles.d.ts +39 -0
- package/dist/types/src/components/GrColorPicker/index.d.ts +11 -0
- package/dist/types/src/components/GrColorPicker/safelist.d.ts +1 -0
- package/dist/types/src/components/GrCommandPalette/GrCommandPalette.vue.d.ts +45 -10
- package/dist/types/src/components/GrCommandPalette/config.d.ts +1 -1
- package/dist/types/src/components/GrCommandPalette/defaults.d.ts +14 -0
- package/dist/types/src/components/GrCommandPalette/filtering.d.ts +24 -0
- package/dist/types/src/components/GrCommandPalette/grCommandPaletteStyles.d.ts +33 -8
- package/dist/types/src/components/GrCommandPalette/index.d.ts +4 -0
- package/dist/types/src/components/GrConfigProvider/GrConfigProvider.vue.d.ts +38 -4
- package/dist/types/src/components/GrConfigProvider/config.d.ts +1 -1
- package/dist/types/src/components/GrConfigProvider/context.d.ts +33 -22
- package/dist/types/src/components/GrConfigProvider/index.d.ts +2 -1
- package/dist/types/src/components/GrConfigProvider/zIndexScale.d.ts +23 -0
- package/dist/types/src/components/GrConfirmDialog/GrConfirmDialog.vue.d.ts +33 -4
- package/dist/types/src/components/GrConfirmDialog/config.d.ts +1 -1
- package/dist/types/src/components/GrConfirmDialog/defaults.d.ts +14 -0
- package/dist/types/src/components/GrConfirmDialog/index.d.ts +2 -1
- package/dist/types/src/components/GrDataTable/GrDataTable.vue.d.ts +145 -27
- package/dist/types/src/components/GrDataTable/config.d.ts +1 -1
- package/dist/types/src/components/GrDataTable/defaults.d.ts +10 -0
- package/dist/types/src/components/GrDataTable/grDataTableSort.d.ts +25 -0
- package/dist/types/src/components/GrDataTable/grDataTableStyles.d.ts +68 -0
- package/dist/types/src/components/GrDataTable/index.d.ts +10 -1
- package/dist/types/src/components/GrDataTable/safelist.d.ts +1 -0
- package/dist/types/src/components/GrDialog/GrDialog.vue.d.ts +51 -4
- package/dist/types/src/components/GrDialog/GrDialogCloseButton.vue.d.ts +3 -0
- package/dist/types/src/components/GrDialog/GrDialogHeader.vue.d.ts +3 -0
- package/dist/types/src/components/GrDialog/config.d.ts +1 -1
- package/dist/types/src/components/GrDialog/defaults.d.ts +14 -0
- package/dist/types/src/components/GrDialog/dialogShared.d.ts +2 -1
- package/dist/types/src/components/GrDialog/index.d.ts +5 -0
- package/dist/types/src/components/GrDialogService/GrDialogServiceHost.vue.d.ts +18 -1
- package/dist/types/src/components/GrDialogService/GrDialogServiceItem.vue.d.ts +15 -0
- package/dist/types/src/components/GrDialogService/config.d.ts +1 -1
- package/dist/types/src/components/GrDialogService/index.d.ts +3 -1
- package/dist/types/src/components/GrDialogService/store.d.ts +78 -7
- package/dist/types/src/components/GrDialogService/types.d.ts +22 -1
- package/dist/types/src/components/GrDialogService/useDialogService.d.ts +31 -1
- package/dist/types/src/components/GrDivider/GrDivider.vue.d.ts +44 -9
- package/dist/types/src/components/GrDivider/config.d.ts +1 -1
- package/dist/types/src/components/GrDivider/defaults.d.ts +15 -0
- package/dist/types/src/components/GrDivider/grDividerStyles.d.ts +19 -0
- package/dist/types/src/components/GrDivider/index.d.ts +4 -1
- package/dist/types/src/components/GrDivider/safelist.d.ts +1 -0
- package/dist/types/src/components/GrDrawer/GrDrawer.vue.d.ts +93 -17
- package/dist/types/src/components/GrDrawer/config.d.ts +1 -1
- package/dist/types/src/components/GrDrawer/defaults.d.ts +19 -0
- package/dist/types/src/components/GrDrawer/grDrawerStyles.d.ts +48 -2
- package/dist/types/src/components/GrDrawer/index.d.ts +6 -1
- package/dist/types/src/components/GrDropdown/GrDropdown.vue.d.ts +66 -13
- package/dist/types/src/components/GrDropdown/config.d.ts +1 -1
- package/dist/types/src/components/GrDropdown/grDropdownStyles.d.ts +4 -5
- package/dist/types/src/components/GrDropdown/index.d.ts +5 -2
- package/dist/types/src/components/GrDropdownMenu/GrDropdownMenu.vue.d.ts +79 -16
- package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuColumn.vue.d.ts +2 -1
- package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuColumns.vue.d.ts +3 -2
- package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuGroup.vue.d.ts +2 -2
- package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuHeader.vue.d.ts +3 -2
- package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuItem.vue.d.ts +51 -5
- package/dist/types/src/components/GrDropdownMenu/GrDropdownMenuList.vue.d.ts +5 -0
- package/dist/types/src/components/GrDropdownMenu/config.d.ts +1 -1
- package/dist/types/src/components/GrDropdownMenu/grDropdownMenuStyles.d.ts +33 -0
- package/dist/types/src/components/GrDropdownMenu/index.d.ts +6 -2
- package/dist/types/src/components/GrDropdownMenu/menuModel.d.ts +42 -0
- package/dist/types/src/components/GrDropdownMenu/safelist.d.ts +7 -0
- package/dist/types/src/components/GrEmptyState/GrEmptyState.vue.d.ts +33 -10
- package/dist/types/src/components/GrEmptyState/config.d.ts +1 -1
- package/dist/types/src/components/GrEmptyState/defaults.d.ts +16 -0
- package/dist/types/src/components/GrEmptyState/grEmptyStateStyles.d.ts +32 -0
- package/dist/types/src/components/GrEmptyState/index.d.ts +4 -0
- package/dist/types/src/components/GrEmptyState/safelist.d.ts +1 -0
- package/dist/types/src/components/GrFileUpload/GrFileUpload.vue.d.ts +158 -148
- package/dist/types/src/components/GrFileUpload/config.d.ts +1 -1
- package/dist/types/src/components/GrFileUpload/defaults.d.ts +10 -0
- package/dist/types/src/components/GrFileUpload/fileEntry.d.ts +26 -0
- package/dist/types/src/components/GrFileUpload/grFileUploadStyles.d.ts +45 -0
- package/dist/types/src/components/GrFileUpload/index.d.ts +10 -1
- package/dist/types/src/components/GrFileUpload/maxFileSize.d.ts +2 -0
- package/dist/types/src/components/GrFileUpload/safelist.d.ts +1 -0
- package/dist/types/src/components/GrFileUpload/useDropZone.d.ts +24 -0
- package/dist/types/src/components/GrFileUpload/usePerFileUpload.d.ts +38 -0
- package/dist/types/src/components/GrFileUpload/useUploadState.d.ts +30 -0
- package/dist/types/src/components/GrForm/GrForm.vue.d.ts +38 -2
- package/dist/types/src/components/GrForm/config.d.ts +1 -1
- package/dist/types/src/components/GrForm/context.d.ts +22 -3
- package/dist/types/src/components/GrForm/fileRule.d.ts +43 -0
- package/dist/types/src/components/GrForm/index.d.ts +6 -2
- package/dist/types/src/components/GrForm/modelSnapshot.d.ts +17 -0
- package/dist/types/src/components/GrForm/validation.d.ts +16 -1
- package/dist/types/src/components/GrFormField/GrFormField.vue.d.ts +56 -10
- package/dist/types/src/components/GrFormField/config.d.ts +1 -1
- package/dist/types/src/components/GrFormField/context.d.ts +19 -0
- package/dist/types/src/components/GrFormField/defaults.d.ts +15 -0
- package/dist/types/src/components/GrFormField/grFormFieldStyles.d.ts +19 -0
- package/dist/types/src/components/GrFormField/index.d.ts +5 -1
- package/dist/types/src/components/GrFormField/safelist.d.ts +1 -0
- package/dist/types/src/components/GrFormFile/GrFormFile.vue.d.ts +70 -16
- package/dist/types/src/components/GrFormFile/config.d.ts +1 -1
- package/dist/types/src/components/GrFormFile/defaults.d.ts +10 -0
- package/dist/types/src/components/GrFormFile/grFormFileStyles.d.ts +22 -0
- package/dist/types/src/components/GrFormFile/index.d.ts +7 -0
- package/dist/types/src/components/GrFormFile/safelist.d.ts +1 -0
- package/dist/types/src/components/GrFormSection/GrFormSection.vue.d.ts +34 -7
- package/dist/types/src/components/GrFormSection/config.d.ts +1 -1
- package/dist/types/src/components/GrFormSection/defaults.d.ts +14 -0
- package/dist/types/src/components/GrFormSection/grFormSectionStyles.d.ts +12 -0
- package/dist/types/src/components/GrFormSection/index.d.ts +4 -0
- package/dist/types/src/components/GrFormSection/safelist.d.ts +1 -0
- package/dist/types/src/components/GrIcon/GrIcon.vue.d.ts +40 -4
- package/dist/types/src/components/GrIcon/config.d.ts +1 -1
- package/dist/types/src/components/GrIcon/defaults.d.ts +14 -0
- package/dist/types/src/components/GrIcon/grIconStyles.d.ts +25 -0
- package/dist/types/src/components/GrIcon/index.d.ts +4 -0
- package/dist/types/src/components/GrIcon/safelist.d.ts +1 -0
- package/dist/types/src/components/GrImageViewer/GrImageViewer.vue.d.ts +87 -16
- package/dist/types/src/components/GrImageViewer/composables/usePointerGestures.d.ts +37 -0
- package/dist/types/src/components/GrImageViewer/composables/useViewerKeyboard.d.ts +7 -4
- package/dist/types/src/components/GrImageViewer/composables/useWheelGesture.d.ts +3 -2
- package/dist/types/src/components/GrImageViewer/composables/useZoomPan.d.ts +18 -5
- package/dist/types/src/components/GrImageViewer/config.d.ts +1 -1
- package/dist/types/src/components/GrImageViewer/grImageViewerStyles.d.ts +21 -0
- package/dist/types/src/components/GrImageViewer/index.d.ts +7 -0
- package/dist/types/src/components/GrImageViewer/safelist.d.ts +1 -0
- package/dist/types/src/components/GrInput/GrInput.vue.d.ts +66 -21
- package/dist/types/src/components/GrInput/config.d.ts +1 -1
- package/dist/types/src/components/GrInput/defaults.d.ts +1 -1
- package/dist/types/src/components/GrInput/grInputStyles.d.ts +53 -7
- package/dist/types/src/components/GrInput/index.d.ts +5 -0
- package/dist/types/src/components/GrInputTag/GrInputTag.vue.d.ts +97 -14
- package/dist/types/src/components/GrInputTag/config.d.ts +1 -1
- package/dist/types/src/components/GrInputTag/defaults.d.ts +17 -0
- package/dist/types/src/components/GrInputTag/grInputTagStyles.d.ts +24 -1
- package/dist/types/src/components/GrInputTag/index.d.ts +5 -0
- package/dist/types/src/components/GrKbd/GrKbd.vue.d.ts +46 -10
- package/dist/types/src/components/GrKbd/config.d.ts +1 -1
- package/dist/types/src/components/GrKbd/defaults.d.ts +14 -0
- package/dist/types/src/components/GrKbd/grKbdStyles.d.ts +32 -0
- package/dist/types/src/components/GrKbd/index.d.ts +10 -1
- package/dist/types/src/components/GrKbd/safelist.d.ts +1 -0
- package/dist/types/src/components/GrLink/GrLink.vue.d.ts +23 -10
- package/dist/types/src/components/GrLink/config.d.ts +1 -1
- package/dist/types/src/components/GrLink/defaults.d.ts +14 -0
- package/dist/types/src/components/GrLink/grLinkStyles.d.ts +11 -13
- package/dist/types/src/components/GrLink/index.d.ts +2 -0
- package/dist/types/src/components/GrList/GrList.vue.d.ts +57 -32
- package/dist/types/src/components/GrList/GrListItem.vue.d.ts +42 -9
- package/dist/types/src/components/GrList/config.d.ts +1 -1
- package/dist/types/src/components/GrList/grListStyles.d.ts +25 -0
- package/dist/types/src/components/GrList/index.d.ts +5 -0
- package/dist/types/src/components/GrList/safelist.d.ts +1 -0
- package/dist/types/src/components/GrLoading/GrLoading.vue.d.ts +59 -19
- package/dist/types/src/components/GrLoading/config.d.ts +1 -1
- package/dist/types/src/components/GrLoading/grLoadingStyles.d.ts +10 -2
- package/dist/types/src/components/GrLoading/index.d.ts +1 -0
- package/dist/types/src/components/GrModal/GrModal.vue.d.ts +58 -12
- package/dist/types/src/components/GrModal/config.d.ts +1 -1
- package/dist/types/src/components/GrModal/context.d.ts +37 -0
- package/dist/types/src/components/GrModal/defaults.d.ts +14 -0
- package/dist/types/src/components/GrModal/grModalStyles.d.ts +25 -10
- package/dist/types/src/components/GrModal/index.d.ts +6 -3
- package/dist/types/src/components/GrNavbar/GrNavbar.vue.d.ts +28 -9
- package/dist/types/src/components/GrNavbar/config.d.ts +1 -1
- package/dist/types/src/components/GrNavbar/grNavbarStyles.d.ts +23 -0
- package/dist/types/src/components/GrNavbar/index.d.ts +2 -0
- package/dist/types/src/components/GrNavbar/safelist.d.ts +1 -0
- package/dist/types/src/components/GrNumberInput/GrNumberInput.vue.d.ts +64 -17
- package/dist/types/src/components/GrNumberInput/config.d.ts +1 -1
- package/dist/types/src/components/GrNumberInput/defaults.d.ts +2 -1
- package/dist/types/src/components/GrNumberInput/grNumberInputStyles.d.ts +20 -4
- package/dist/types/src/components/GrNumberInput/index.d.ts +4 -0
- package/dist/types/src/components/GrNumberInput/numberInputMath.d.ts +17 -0
- package/dist/types/src/components/GrPagination/GrPagination.vue.d.ts +47 -1
- package/dist/types/src/components/GrPagination/config.d.ts +1 -1
- package/dist/types/src/components/GrPagination/defaults.d.ts +10 -0
- package/dist/types/src/components/GrPagination/grPaginationStyles.d.ts +19 -0
- package/dist/types/src/components/GrPagination/index.d.ts +4 -0
- package/dist/types/src/components/GrPagination/safelist.d.ts +1 -0
- package/dist/types/src/components/GrPopover/GrPopover.vue.d.ts +161 -0
- package/dist/types/src/components/GrPopover/config.d.ts +1 -0
- package/dist/types/src/components/GrPopover/defaults.d.ts +15 -0
- package/dist/types/src/components/GrPopover/grPopoverStyles.d.ts +28 -0
- package/dist/types/src/components/GrPopover/index.d.ts +11 -0
- package/dist/types/src/components/GrPopover/safelist.d.ts +1 -0
- package/dist/types/src/components/GrProgressBar/GrProgressBar.vue.d.ts +37 -5
- package/dist/types/src/components/GrProgressBar/config.d.ts +1 -1
- package/dist/types/src/components/GrProgressBar/defaults.d.ts +11 -0
- package/dist/types/src/components/GrProgressBar/grStyle.d.ts +14 -0
- package/dist/types/src/components/GrProgressBar/index.d.ts +2 -1
- package/dist/types/src/components/GrProgressBar/safelist.d.ts +4 -0
- package/dist/types/src/components/GrProgressCircle/GrProgressCircle.vue.d.ts +103 -0
- package/dist/types/src/components/GrProgressCircle/config.d.ts +1 -0
- package/dist/types/src/components/GrProgressCircle/defaults.d.ts +18 -0
- package/dist/types/src/components/GrProgressCircle/geometry.d.ts +29 -0
- package/dist/types/src/components/GrProgressCircle/grProgressCircleStyles.d.ts +34 -0
- package/dist/types/src/components/GrProgressCircle/index.d.ts +11 -0
- package/dist/types/src/components/GrProgressCircle/safelist.d.ts +1 -0
- package/dist/types/src/components/GrPromptDialog/GrPromptDialog.vue.d.ts +78 -10
- package/dist/types/src/components/GrPromptDialog/config.d.ts +1 -1
- package/dist/types/src/components/GrPromptDialog/defaults.d.ts +14 -0
- package/dist/types/src/components/GrPromptDialog/index.d.ts +1 -0
- package/dist/types/src/components/GrRadio/GrRadio.vue.d.ts +28 -9
- package/dist/types/src/components/GrRadio/config.d.ts +1 -1
- package/dist/types/src/components/GrRadio/defaults.d.ts +1 -1
- package/dist/types/src/components/GrRadio/grRadioGroupContext.d.ts +45 -2
- package/dist/types/src/components/GrRadio/grRadioStyles.d.ts +49 -6
- package/dist/types/src/components/GrRadio/index.d.ts +1 -0
- package/dist/types/src/components/GrRadioGroup/GrRadioGroup.vue.d.ts +54 -10
- package/dist/types/src/components/GrRadioGroup/config.d.ts +1 -1
- package/dist/types/src/components/GrRadioGroup/defaults.d.ts +1 -1
- package/dist/types/src/components/GrRadioGroup/index.d.ts +4 -0
- package/dist/types/src/components/GrRating/GrRating.vue.d.ts +66 -17
- package/dist/types/src/components/GrRating/config.d.ts +1 -1
- package/dist/types/src/components/GrRating/defaults.d.ts +1 -1
- package/dist/types/src/components/GrRating/grRatingStyles.d.ts +4 -1
- package/dist/types/src/components/GrRating/index.d.ts +4 -0
- package/dist/types/src/components/GrResponseErrorBanner/GrFormErrorBanner.vue.d.ts +8 -4
- package/dist/types/src/components/GrResponseErrorBanner/GrResponseErrorBanner.vue.d.ts +8 -4
- package/dist/types/src/components/GrResponseErrorBanner/GrUploadErrorBanner.vue.d.ts +11 -4
- package/dist/types/src/components/GrResponseErrorBanner/config.d.ts +1 -1
- package/dist/types/src/components/GrResponseErrorBanner/index.d.ts +6 -0
- package/dist/types/src/components/GrResponseErrorBanner/parsers/httpStatusParser.d.ts +3 -1
- package/dist/types/src/components/GrResponseErrorBanner/parsers/plainMessageParser.d.ts +4 -1
- package/dist/types/src/components/GrResponseErrorBanner/responseError.types.d.ts +12 -2
- package/dist/types/src/components/GrSegmented/GrSegmented.vue.d.ts +48 -9
- package/dist/types/src/components/GrSegmented/config.d.ts +1 -1
- package/dist/types/src/components/GrSegmented/defaults.d.ts +1 -1
- package/dist/types/src/components/GrSegmented/grSegmentedStyles.d.ts +31 -5
- package/dist/types/src/components/GrSegmented/index.d.ts +5 -1
- package/dist/types/src/components/GrSegmented/safelist.d.ts +3 -1
- package/dist/types/src/components/GrSelect/GrSelect.vue.d.ts +138 -114
- package/dist/types/src/components/GrSelect/composables/useSelectNavigation.d.ts +52 -0
- package/dist/types/src/components/GrSelect/composables/useSelectPanelItems.d.ts +67 -0
- package/dist/types/src/components/GrSelect/composables/useSelectValues.d.ts +37 -0
- package/dist/types/src/components/GrSelect/composables/useSelectVirtualization.d.ts +27 -0
- package/dist/types/src/components/GrSelect/config.d.ts +1 -1
- package/dist/types/src/components/GrSelect/defaults.d.ts +1 -1
- package/dist/types/src/components/GrSelect/grSelectStyles.d.ts +64 -9
- package/dist/types/src/components/GrSelect/index.d.ts +5 -1
- package/dist/types/src/components/GrSelect/selectValue.d.ts +20 -0
- package/dist/types/src/components/GrSidebar/GrSidebar.vue.d.ts +30 -5
- package/dist/types/src/components/GrSidebar/GrSidebarGroup.vue.d.ts +43 -0
- package/dist/types/src/components/GrSidebar/GrSidebarItem.vue.d.ts +4 -4
- package/dist/types/src/components/GrSidebar/config.d.ts +1 -1
- package/dist/types/src/components/GrSidebar/grSidebarStyles.d.ts +48 -0
- package/dist/types/src/components/GrSidebar/index.d.ts +6 -0
- package/dist/types/src/components/GrSidebar/safelist.d.ts +1 -0
- package/dist/types/src/components/GrSkeleton/GrSkeleton.vue.d.ts +22 -6
- package/dist/types/src/components/GrSkeleton/config.d.ts +1 -1
- package/dist/types/src/components/GrSkeleton/grSkeletonStyles.d.ts +9 -0
- package/dist/types/src/components/GrSkeleton/index.d.ts +1 -0
- package/dist/types/src/components/GrSlider/GrSlider.vue.d.ts +54 -4
- package/dist/types/src/components/GrSlider/config.d.ts +1 -1
- package/dist/types/src/components/GrSlider/defaults.d.ts +1 -1
- package/dist/types/src/components/GrSlider/grSliderStyles.d.ts +47 -8
- package/dist/types/src/components/GrSlider/index.d.ts +4 -0
- package/dist/types/src/components/GrSortableList/GrSortableList.vue.d.ts +68 -0
- package/dist/types/src/components/GrSortableList/config.d.ts +1 -0
- package/dist/types/src/components/GrSortableList/grSortableListStyles.d.ts +38 -0
- package/dist/types/src/components/GrSortableList/index.d.ts +9 -0
- package/dist/types/src/components/GrSortableList/safelist.d.ts +1 -0
- package/dist/types/src/components/GrSplitter/GrSplitter.vue.d.ts +121 -0
- package/dist/types/src/components/GrSplitter/config.d.ts +1 -0
- package/dist/types/src/components/GrSplitter/defaults.d.ts +16 -0
- package/dist/types/src/components/GrSplitter/grSplitterStyles.d.ts +9 -0
- package/dist/types/src/components/GrSplitter/index.d.ts +11 -0
- package/dist/types/src/components/GrSplitter/safelist.d.ts +1 -0
- package/dist/types/src/components/GrSplitter/splitterGeometry.d.ts +39 -0
- package/dist/types/src/components/GrStatistic/GrStatistic.vue.d.ts +65 -16
- package/dist/types/src/components/GrStatistic/config.d.ts +1 -1
- package/dist/types/src/components/GrStatistic/countUp.d.ts +17 -0
- package/dist/types/src/components/GrStatistic/defaults.d.ts +14 -0
- package/dist/types/src/components/GrStatistic/formatStatisticValue.d.ts +6 -2
- package/dist/types/src/components/GrStatistic/grStatisticStyles.d.ts +14 -1
- package/dist/types/src/components/GrStatistic/index.d.ts +2 -1
- package/dist/types/src/components/GrSwitch/GrSwitch.vue.d.ts +68 -6
- package/dist/types/src/components/GrSwitch/config.d.ts +1 -1
- package/dist/types/src/components/GrSwitch/defaults.d.ts +1 -1
- package/dist/types/src/components/GrSwitch/grSwitchStyles.d.ts +45 -4
- package/dist/types/src/components/GrSwitch/index.d.ts +5 -1
- package/dist/types/src/components/GrSwitch/safelist.d.ts +4 -1
- package/dist/types/src/components/GrTabPanels/GrTabPanel.vue.d.ts +12 -9
- package/dist/types/src/components/GrTabPanels/GrTabPanels.vue.d.ts +4 -14
- package/dist/types/src/components/GrTabPanels/config.d.ts +1 -1
- package/dist/types/src/components/GrTabPanels/context.d.ts +1 -1
- package/dist/types/src/components/GrTabPanels/index.d.ts +2 -0
- package/dist/types/src/components/GrTable/GrTable.vue.d.ts +98 -15
- package/dist/types/src/components/GrTable/config.d.ts +1 -1
- package/dist/types/src/components/GrTable/defaults.d.ts +10 -0
- package/dist/types/src/components/GrTable/grTableStyles.d.ts +20 -0
- package/dist/types/src/components/GrTable/index.d.ts +7 -1
- package/dist/types/src/components/GrTable/safelist.d.ts +1 -0
- package/dist/types/src/components/GrTabs/GrTabs.vue.d.ts +92 -6
- package/dist/types/src/components/GrTabs/config.d.ts +1 -1
- package/dist/types/src/components/GrTabs/defaults.d.ts +12 -0
- package/dist/types/src/components/GrTabs/grTabsStyles.d.ts +71 -0
- package/dist/types/src/components/GrTabs/index.d.ts +5 -0
- package/dist/types/src/components/GrTabs/safelist.d.ts +1 -0
- package/dist/types/src/components/GrTextarea/GrTextarea.vue.d.ts +89 -24
- package/dist/types/src/components/GrTextarea/config.d.ts +1 -1
- package/dist/types/src/components/GrTextarea/defaults.d.ts +18 -0
- package/dist/types/src/components/GrTextarea/grTextareaStyles.d.ts +33 -1
- package/dist/types/src/components/GrTextarea/index.d.ts +6 -1
- package/dist/types/src/components/GrTimeline/GrTimeline.vue.d.ts +70 -0
- package/dist/types/src/components/GrTimeline/GrTimelineItem.vue.d.ts +84 -0
- package/dist/types/src/components/GrTimeline/config.d.ts +1 -0
- package/dist/types/src/components/GrTimeline/defaults.d.ts +19 -0
- package/dist/types/src/components/GrTimeline/grTimelineContext.d.ts +18 -0
- package/dist/types/src/components/GrTimeline/grTimelineStyles.d.ts +37 -0
- package/dist/types/src/components/GrTimeline/index.d.ts +12 -0
- package/dist/types/src/components/GrTimeline/safelist.d.ts +1 -0
- package/dist/types/src/components/GrTimeline/timelineGroups.d.ts +23 -0
- package/dist/types/src/components/GrToaster/GrToaster.vue.d.ts +33 -1
- package/dist/types/src/components/GrToaster/config.d.ts +1 -1
- package/dist/types/src/components/GrToaster/grToasterStyles.d.ts +27 -0
- package/dist/types/src/components/GrToaster/index.d.ts +3 -0
- package/dist/types/src/components/GrTooltip/GrTooltip.vue.d.ts +57 -6
- package/dist/types/src/components/GrTooltip/config.d.ts +1 -1
- package/dist/types/src/components/GrTooltip/defaults.d.ts +10 -0
- package/dist/types/src/components/GrTooltip/grTooltipStyles.d.ts +8 -0
- package/dist/types/src/components/GrTooltip/index.d.ts +5 -1
- package/dist/types/src/components/GrTooltip/safelist.d.ts +1 -0
- package/dist/types/src/components/GrTree/GrTree.vue.d.ts +20 -7
- package/dist/types/src/components/GrTree/config.d.ts +1 -1
- package/dist/types/src/components/GrTree/defaults.d.ts +10 -0
- package/dist/types/src/components/GrTree/grTreeChecking.d.ts +31 -0
- package/dist/types/src/components/GrTree/grTreeDataAdapter.d.ts +2 -0
- package/dist/types/src/components/GrTree/grTreeInteractionContext.d.ts +9 -1
- package/dist/types/src/components/GrTree/grTreeProps.d.ts +60 -11
- package/dist/types/src/components/GrTree/grTreeStore.d.ts +27 -1
- package/dist/types/src/components/GrTree/grTreeStyles.d.ts +22 -0
- package/dist/types/src/components/GrTree/grTreeTypes.d.ts +15 -0
- package/dist/types/src/components/GrTree/index.d.ts +5 -1
- package/dist/types/src/components/GrTreeSelect/GrTreeSelect.vue.d.ts +30 -9
- package/dist/types/src/components/GrTreeSelect/config.d.ts +1 -1
- package/dist/types/src/components/GrTreeSelect/defaults.d.ts +10 -0
- package/dist/types/src/components/GrTreeSelect/grTreeSelectStyles.d.ts +29 -1
- package/dist/types/src/components/GrTreeSelect/grTreeSelectTypes.d.ts +43 -0
- package/dist/types/src/components/GrTreeSelect/index.d.ts +5 -0
- package/dist/types/src/components/shared/hotkey.d.ts +38 -0
- package/dist/types/src/components/shared/hotkeyTokens.d.ts +37 -0
- package/dist/types/src/components/shared/instance.d.ts +15 -0
- package/dist/types/src/components/shared/optionFilter.d.ts +61 -0
- package/dist/types/src/components/shared/sizes.d.ts +30 -0
- package/dist/types/src/components/shared/slotNodes.d.ts +19 -0
- package/dist/types/src/composables/internal/dragSortGeometry.d.ts +59 -0
- package/dist/types/src/composables/internal/focusables.d.ts +30 -0
- package/dist/types/src/composables/internal/inert.d.ts +35 -0
- package/dist/types/src/composables/internal/overlayStack.d.ts +71 -0
- package/dist/types/src/composables/internal/portalRoot.d.ts +27 -0
- package/dist/types/src/composables/internal/useAddonMeasurement.d.ts +1 -1
- package/dist/types/src/composables/internal/useControlAddons.d.ts +61 -0
- package/dist/types/src/composables/internal/useControlledOpen.d.ts +14 -0
- package/dist/types/src/composables/internal/useFilePreviews.d.ts +26 -0
- package/dist/types/src/composables/internal/useFocusWithin.d.ts +32 -0
- package/dist/types/src/composables/internal/useInertOthers.d.ts +9 -0
- package/dist/types/src/composables/internal/useModalOverlay.d.ts +95 -0
- package/dist/types/src/composables/internal/useOverlayPresence.d.ts +24 -0
- package/dist/types/src/composables/internal/useScrollLock.d.ts +10 -5
- package/dist/types/src/composables/internal/useTeleportEnabled.d.ts +35 -0
- package/dist/types/src/composables/useAnnouncer.d.ts +44 -0
- package/dist/types/src/composables/useComboboxNavigation.d.ts +51 -0
- package/dist/types/src/composables/useDismissible.d.ts +32 -0
- package/dist/types/src/composables/useDragGesture.d.ts +63 -0
- package/dist/types/src/composables/useDragSort.d.ts +80 -0
- package/dist/types/src/composables/useFloating.d.ts +57 -0
- package/dist/types/src/composables/useFocusTrap.d.ts +50 -0
- package/dist/types/src/composables/useGrComponentConfig.d.ts +41 -0
- package/dist/types/src/composables/useGrFormControl.d.ts +52 -0
- package/dist/types/src/composables/useGranularityTranslations.d.ts +13 -0
- package/dist/types/src/composables/useOverlayLayer.d.ts +67 -0
- package/dist/types/src/composables/usePortalTarget.d.ts +28 -0
- package/dist/types/src/composables/useRovingFocus.d.ts +108 -0
- package/dist/types/src/composables/useTheme.d.ts +48 -2
- package/dist/types/src/composables/useToast.d.ts +20 -11
- package/dist/types/src/composables/useVirtualList.d.ts +119 -0
- package/dist/types/src/directives/loading.d.ts +7 -1
- package/dist/types/src/fileValidation/i18n.d.ts +24 -0
- package/dist/types/src/fileValidation/index.d.ts +4 -2
- package/dist/types/src/fileValidation/maxCountValidator.d.ts +9 -0
- package/dist/types/src/fileValidation/maxFileSize.d.ts +16 -0
- package/dist/types/src/fileValidation/types.d.ts +8 -2
- package/dist/types/src/granular-provider/index.d.ts +1 -1
- package/dist/types/src/granular-provider/node.d.ts +2 -3
- package/dist/types/src/granular-provider/shared.d.ts +14 -18
- package/dist/types/src/i18n/adapter.d.ts +24 -0
- package/dist/types/src/i18n/messages/en.d.ts +334 -2
- package/dist/types/src/i18n/messages/es.d.ts +338 -2
- package/dist/types/src/i18n/messages/ru.d.ts +342 -2
- package/dist/types/src/index.d.ts +38 -3
- package/dist/types/src/internal/granularityFormat.d.ts +19 -0
- package/dist/types/src/internal/granularityI18n.d.ts +6 -0
- package/dist/types/src/internal/keyboard.d.ts +52 -0
- package/dist/types/src/tokens/generated.d.ts +6 -0
- package/dist/types/src/tokens/index.d.ts +13 -0
- package/dist/types/src/tokens/types.d.ts +54 -0
- package/dist/vue/index.js.map +1 -1
- package/dist/web-types.json +6503 -2020
- package/package.json +118 -17
- package/tokens/derived.json +142 -0
- package/tokens/foundation.json +558 -0
- package/tokens/themes/dark.json +499 -0
- package/tokens/themes/light.json +499 -0
- package/dist/GrBadge.css +0 -1
- package/dist/GrButtonGroup.css +0 -1
- package/dist/GrFormFile.css +0 -1
- package/dist/GrIcon.css +0 -1
- package/dist/GrLoading.css +0 -1
- package/dist/GrToaster.css +0 -1
- package/dist/GrTree.css +0 -1
- package/dist/chunks/config-23WtUiAL.js +0 -53
- package/dist/chunks/config-23WtUiAL.js.map +0 -1
- package/dist/chunks/config-B0i5r8kH.js +0 -23
- package/dist/chunks/config-B0i5r8kH.js.map +0 -1
- package/dist/chunks/config-B0qIpo8m.js +0 -5
- package/dist/chunks/config-B0qIpo8m.js.map +0 -1
- package/dist/chunks/config-B5Rknzkd.js +0 -100
- package/dist/chunks/config-B5Rknzkd.js.map +0 -1
- package/dist/chunks/config-BDSHekVC.js +0 -84
- package/dist/chunks/config-BDSHekVC.js.map +0 -1
- package/dist/chunks/config-BEegFP74.js +0 -5
- package/dist/chunks/config-BEegFP74.js.map +0 -1
- package/dist/chunks/config-BLHqZhy-.js +0 -5
- package/dist/chunks/config-BLHqZhy-.js.map +0 -1
- package/dist/chunks/config-BMKNHFMD2.js +0 -171
- package/dist/chunks/config-BMKNHFMD2.js.map +0 -1
- package/dist/chunks/config-BUHuGBik2.js +0 -13
- package/dist/chunks/config-BUHuGBik2.js.map +0 -1
- package/dist/chunks/config-BWGGp7uV.js +0 -8
- package/dist/chunks/config-BWGGp7uV.js.map +0 -1
- package/dist/chunks/config-BWiPnygb.js +0 -5
- package/dist/chunks/config-BWiPnygb.js.map +0 -1
- package/dist/chunks/config-BX1JTrkV.js +0 -14
- package/dist/chunks/config-BX1JTrkV.js.map +0 -1
- package/dist/chunks/config-BXtAmU3s.js +0 -8
- package/dist/chunks/config-BXtAmU3s.js.map +0 -1
- package/dist/chunks/config-BZFUM3Ky.js +0 -75
- package/dist/chunks/config-BZFUM3Ky.js.map +0 -1
- package/dist/chunks/config-Bah4oHwL.js +0 -8
- package/dist/chunks/config-Bah4oHwL.js.map +0 -1
- package/dist/chunks/config-BmNT0Fmx.js +0 -45
- package/dist/chunks/config-BmNT0Fmx.js.map +0 -1
- package/dist/chunks/config-BvVq2gbd.js +0 -13
- package/dist/chunks/config-BvVq2gbd.js.map +0 -1
- package/dist/chunks/config-C4hJxXDa.js +0 -58
- package/dist/chunks/config-C4hJxXDa.js.map +0 -1
- package/dist/chunks/config-C86UzUYf.js +0 -13
- package/dist/chunks/config-C86UzUYf.js.map +0 -1
- package/dist/chunks/config-C9AcVDkv.js +0 -5
- package/dist/chunks/config-C9AcVDkv.js.map +0 -1
- package/dist/chunks/config-CB4RVt9M.js +0 -66
- package/dist/chunks/config-CB4RVt9M.js.map +0 -1
- package/dist/chunks/config-CGHLoBlH2.js +0 -5
- package/dist/chunks/config-CGHLoBlH2.js.map +0 -1
- package/dist/chunks/config-COE_vZ-l.js +0 -52
- package/dist/chunks/config-COE_vZ-l.js.map +0 -1
- package/dist/chunks/config-CPdmr7tC.js +0 -39
- package/dist/chunks/config-CPdmr7tC.js.map +0 -1
- package/dist/chunks/config-CThzliFi.js +0 -5
- package/dist/chunks/config-CThzliFi.js.map +0 -1
- package/dist/chunks/config-Cb2PAlSD.js +0 -8
- package/dist/chunks/config-Cb2PAlSD.js.map +0 -1
- package/dist/chunks/config-D7GZO-Dx.js +0 -8
- package/dist/chunks/config-D7GZO-Dx.js.map +0 -1
- package/dist/chunks/config-DICOd-2X.js +0 -5
- package/dist/chunks/config-DICOd-2X.js.map +0 -1
- package/dist/chunks/config-DPDFYzIa.js +0 -40
- package/dist/chunks/config-DPDFYzIa.js.map +0 -1
- package/dist/chunks/config-DRKXJ9PW2.js +0 -22
- package/dist/chunks/config-DRKXJ9PW2.js.map +0 -1
- package/dist/chunks/config-DToHb81g.js +0 -45
- package/dist/chunks/config-DToHb81g.js.map +0 -1
- package/dist/chunks/config-D_myOZbA.js +0 -20
- package/dist/chunks/config-D_myOZbA.js.map +0 -1
- package/dist/chunks/config-Dg_6FTvJ.js +0 -35
- package/dist/chunks/config-Dg_6FTvJ.js.map +0 -1
- package/dist/chunks/config-Dlm49Jp5.js +0 -5
- package/dist/chunks/config-Dlm49Jp5.js.map +0 -1
- package/dist/chunks/config-DpqOnJiz.js.map +0 -1
- package/dist/chunks/config-Dqy0rPPO2.js +0 -17
- package/dist/chunks/config-Dqy0rPPO2.js.map +0 -1
- package/dist/chunks/config-Dxuwwepq.js +0 -5
- package/dist/chunks/config-Dxuwwepq.js.map +0 -1
- package/dist/chunks/config-HZto2PVy.js +0 -5
- package/dist/chunks/config-HZto2PVy.js.map +0 -1
- package/dist/chunks/config-JOtB4mzs.js +0 -8
- package/dist/chunks/config-JOtB4mzs.js.map +0 -1
- package/dist/chunks/config-JpHA4Xx0.js +0 -8
- package/dist/chunks/config-JpHA4Xx0.js.map +0 -1
- package/dist/chunks/config-KXuionN3.js +0 -9
- package/dist/chunks/config-KXuionN3.js.map +0 -1
- package/dist/chunks/config-LGrZIdaZ.js +0 -21
- package/dist/chunks/config-LGrZIdaZ.js.map +0 -1
- package/dist/chunks/config-LqDC_rvp.js +0 -78
- package/dist/chunks/config-LqDC_rvp.js.map +0 -1
- package/dist/chunks/config-PFg39mYo.js +0 -5
- package/dist/chunks/config-PFg39mYo.js.map +0 -1
- package/dist/chunks/config-QYGvEBu5.js +0 -22
- package/dist/chunks/config-QYGvEBu5.js.map +0 -1
- package/dist/chunks/config-QaIc_gRa2.js.map +0 -1
- package/dist/chunks/config-U4m9PSql2.js +0 -8
- package/dist/chunks/config-U4m9PSql2.js.map +0 -1
- package/dist/chunks/config-XmTv4pnI.js +0 -26
- package/dist/chunks/config-XmTv4pnI.js.map +0 -1
- package/dist/chunks/config-ZiXWIRBX.js +0 -8
- package/dist/chunks/config-ZiXWIRBX.js.map +0 -1
- package/dist/chunks/config-gZWR75Bh2.js +0 -44
- package/dist/chunks/config-gZWR75Bh2.js.map +0 -1
- package/dist/chunks/config-ipvU0lzP.js +0 -5
- package/dist/chunks/config-ipvU0lzP.js.map +0 -1
- package/dist/chunks/config-xR4XVmcy2.js +0 -8
- package/dist/chunks/config-xR4XVmcy2.js.map +0 -1
- package/dist/chunks/context-DfWYCBB-.js +0 -129
- package/dist/chunks/context-DfWYCBB-.js.map +0 -1
- package/dist/chunks/en-Cr6EkG8c.js +0 -186
- package/dist/chunks/en-Cr6EkG8c.js.map +0 -1
- package/dist/chunks/es-DuYb1Qju.js +0 -20
- package/dist/chunks/es-DuYb1Qju.js.map +0 -1
- package/dist/chunks/es-i08e9Sdo.js +0 -186
- package/dist/chunks/es-i08e9Sdo.js.map +0 -1
- package/dist/chunks/fileValidation-C3WFaWU2.js +0 -220
- package/dist/chunks/fileValidation-C3WFaWU2.js.map +0 -1
- package/dist/chunks/grBadgeStyles-D3dFjr_N.js +0 -50
- package/dist/chunks/grBadgeStyles-D3dFjr_N.js.map +0 -1
- package/dist/chunks/grButtonStyles-DRBgDmOp.js +0 -191
- package/dist/chunks/grButtonStyles-DRBgDmOp.js.map +0 -1
- package/dist/chunks/grDropdownStyles-HBPkghVr.js +0 -35
- package/dist/chunks/grDropdownStyles-HBPkghVr.js.map +0 -1
- package/dist/chunks/grLoadingStyles-R5sreH__.js +0 -17
- package/dist/chunks/grLoadingStyles-R5sreH__.js.map +0 -1
- package/dist/chunks/grModalEscStack-BXk-9mv7.js +0 -43
- package/dist/chunks/grModalEscStack-BXk-9mv7.js.map +0 -1
- package/dist/chunks/grModalStyles-D8-shx9A.js +0 -47
- package/dist/chunks/grModalStyles-D8-shx9A.js.map +0 -1
- package/dist/chunks/grSelectStyles-CwMUQrBZ.js +0 -97
- package/dist/chunks/grSelectStyles-CwMUQrBZ.js.map +0 -1
- package/dist/chunks/grStyle-CdvxTXPH.js +0 -19
- package/dist/chunks/grStyle-CdvxTXPH.js.map +0 -1
- package/dist/chunks/granularityI18n-SH0I--GW.js +0 -61
- package/dist/chunks/granularityI18n-SH0I--GW.js.map +0 -1
- package/dist/chunks/ru-B5XOOYZt.js +0 -186
- package/dist/chunks/ru-B5XOOYZt.js.map +0 -1
- package/dist/chunks/safelist-BvO8HPnE.js +0 -24
- package/dist/chunks/safelist-BvO8HPnE.js.map +0 -1
- package/dist/chunks/shared-D-v9lit0.js +0 -188
- package/dist/chunks/shared-D-v9lit0.js.map +0 -1
- package/dist/chunks/useAddonMeasurement-DM0akF4C.js +0 -65
- package/dist/chunks/useAddonMeasurement-DM0akF4C.js.map +0 -1
- package/dist/chunks/useEscapeToClose-C2t_S1gh.js +0 -27
- package/dist/chunks/useEscapeToClose-C2t_S1gh.js.map +0 -1
- package/dist/chunks/useFloating-DtM6TyE4.js +0 -1249
- package/dist/chunks/useFloating-DtM6TyE4.js.map +0 -1
- package/dist/chunks/useScrollLock-K7kaP2Ud.js +0 -1757
- package/dist/chunks/useScrollLock-K7kaP2Ud.js.map +0 -1
- package/dist/components/GrAlert/chunks/GrAlert-B9gmpoPC.js +0 -251
- package/dist/components/GrAlert/chunks/GrAlert-B9gmpoPC.js.map +0 -1
- package/dist/components/GrAutocomplete/chunks/GrAutocomplete-BVLoQ5tZ.js +0 -499
- package/dist/components/GrAutocomplete/chunks/GrAutocomplete-BVLoQ5tZ.js.map +0 -1
- package/dist/components/GrAvatar/chunks/GrAvatar-CTOUVBF7.js +0 -41
- package/dist/components/GrAvatar/chunks/GrAvatar-CTOUVBF7.js.map +0 -1
- package/dist/components/GrBadge/chunks/GrBadge-D1jefy4S.js +0 -40
- package/dist/components/GrBadge/chunks/GrBadge-D1jefy4S.js.map +0 -1
- package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-DWDxHdiQ.js +0 -33
- package/dist/components/GrBadgeWrap/chunks/GrBadgeWrap-DWDxHdiQ.js.map +0 -1
- package/dist/components/GrBottomNav/chunks/GrBottomNav-vSE4LXmk.js +0 -31
- package/dist/components/GrBottomNav/chunks/GrBottomNav-vSE4LXmk.js.map +0 -1
- package/dist/components/GrButton/chunks/GrButton-DCi4CUpo.js +0 -128
- package/dist/components/GrButton/chunks/GrButton-DCi4CUpo.js.map +0 -1
- package/dist/components/GrButtonGroup/chunks/GrButtonGroup-Bs9dEKfA.js +0 -21
- package/dist/components/GrButtonGroup/chunks/GrButtonGroup-Bs9dEKfA.js.map +0 -1
- package/dist/components/GrCard/chunks/GrCard-CxCjyHMb.js +0 -11
- package/dist/components/GrCard/chunks/GrCard-CxCjyHMb.js.map +0 -1
- package/dist/components/GrCheckbox/chunks/GrCheckbox-BbIDRXtl.js +0 -182
- package/dist/components/GrCheckbox/chunks/GrCheckbox-BbIDRXtl.js.map +0 -1
- package/dist/components/GrCollapse/chunks/GrCollapse-DApXztn8.js +0 -205
- package/dist/components/GrCollapse/chunks/GrCollapse-DApXztn8.js.map +0 -1
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-6OyvNbek.js +0 -410
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-6OyvNbek.js.map +0 -1
- package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BtyeBGm8.js +0 -57
- package/dist/components/GrConfigProvider/chunks/GrConfigProvider-BtyeBGm8.js.map +0 -1
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-e4120mWw.js +0 -160
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-e4120mWw.js.map +0 -1
- package/dist/components/GrDataTable/chunks/GrDataTable-C1CzxV0p.js +0 -307
- package/dist/components/GrDataTable/chunks/GrDataTable-C1CzxV0p.js.map +0 -1
- package/dist/components/GrDialog/chunks/GrDialog-BPMvDHOz.js +0 -223
- package/dist/components/GrDialog/chunks/GrDialog-BPMvDHOz.js.map +0 -1
- package/dist/components/GrDialogService/chunks/GrDialogService-CYXCTGm3.js +0 -450
- package/dist/components/GrDialogService/chunks/GrDialogService-CYXCTGm3.js.map +0 -1
- package/dist/components/GrDivider/chunks/GrDivider-BdENZ1w0.js +0 -54
- package/dist/components/GrDivider/chunks/GrDivider-BdENZ1w0.js.map +0 -1
- package/dist/components/GrDrawer/chunks/GrDrawer-KevdZ5BB.js +0 -184
- package/dist/components/GrDrawer/chunks/GrDrawer-KevdZ5BB.js.map +0 -1
- package/dist/components/GrDropdown/chunks/GrDropdown-BKoy8hm-.js +0 -181
- package/dist/components/GrDropdown/chunks/GrDropdown-BKoy8hm-.js.map +0 -1
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-zCatXzmt.js +0 -309
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-zCatXzmt.js.map +0 -1
- package/dist/components/GrEmptyState/chunks/GrEmptyState-CNb0BzjG.js +0 -62
- package/dist/components/GrEmptyState/chunks/GrEmptyState-CNb0BzjG.js.map +0 -1
- package/dist/components/GrFileUpload/chunks/GrFileUpload-CnLgUGDF.js +0 -592
- package/dist/components/GrFileUpload/chunks/GrFileUpload-CnLgUGDF.js.map +0 -1
- package/dist/components/GrForm/chunks/GrForm-CdaFjcyl.js +0 -234
- package/dist/components/GrForm/chunks/GrForm-CdaFjcyl.js.map +0 -1
- package/dist/components/GrFormField/chunks/GrFormField-CXCDBd99.js +0 -100
- package/dist/components/GrFormField/chunks/GrFormField-CXCDBd99.js.map +0 -1
- package/dist/components/GrFormFile/chunks/GrFormFile-CqacSbUl.js +0 -320
- package/dist/components/GrFormFile/chunks/GrFormFile-CqacSbUl.js.map +0 -1
- package/dist/components/GrFormSection/chunks/GrFormSection-C3w9DQJf.js +0 -35
- package/dist/components/GrFormSection/chunks/GrFormSection-C3w9DQJf.js.map +0 -1
- package/dist/components/GrIcon/chunks/GrIcon-D9AWQLk2.js +0 -32
- package/dist/components/GrIcon/chunks/GrIcon-D9AWQLk2.js.map +0 -1
- package/dist/components/GrImageViewer/chunks/GrImageViewer-DDLJkvIU.js +0 -650
- package/dist/components/GrImageViewer/chunks/GrImageViewer-DDLJkvIU.js.map +0 -1
- package/dist/components/GrInput/chunks/GrInput-C1VBL0dg.js +0 -337
- package/dist/components/GrInput/chunks/GrInput-C1VBL0dg.js.map +0 -1
- package/dist/components/GrInputTag/chunks/GrInputTag-BMk9jm42.js +0 -260
- package/dist/components/GrInputTag/chunks/GrInputTag-BMk9jm42.js.map +0 -1
- package/dist/components/GrKbd/chunks/GrKbd-DTspwtoN.js +0 -22
- package/dist/components/GrKbd/chunks/GrKbd-DTspwtoN.js.map +0 -1
- package/dist/components/GrLink/chunks/GrLink-BP0YrnL9.js +0 -100
- package/dist/components/GrLink/chunks/GrLink-BP0YrnL9.js.map +0 -1
- package/dist/components/GrList/chunks/GrList-5RA-tZzE.js +0 -77
- package/dist/components/GrList/chunks/GrList-5RA-tZzE.js.map +0 -1
- package/dist/components/GrLoading/chunks/GrLoading-fRDtVfi7.js +0 -69
- package/dist/components/GrLoading/chunks/GrLoading-fRDtVfi7.js.map +0 -1
- package/dist/components/GrModal/chunks/GrModal-BTu1-5eY.js +0 -233
- package/dist/components/GrModal/chunks/GrModal-BTu1-5eY.js.map +0 -1
- package/dist/components/GrNavbar/chunks/GrNavbar-keKT_mIM.js +0 -75
- package/dist/components/GrNavbar/chunks/GrNavbar-keKT_mIM.js.map +0 -1
- package/dist/components/GrNumberInput/chunks/GrNumberInput-l9ZOHG9D.js +0 -471
- package/dist/components/GrNumberInput/chunks/GrNumberInput-l9ZOHG9D.js.map +0 -1
- package/dist/components/GrPagination/chunks/GrPagination-C5Y69CuK.js +0 -208
- package/dist/components/GrPagination/chunks/GrPagination-C5Y69CuK.js.map +0 -1
- package/dist/components/GrProgressBar/chunks/GrProgressBar-Dqg4Fj9S.js +0 -39
- package/dist/components/GrProgressBar/chunks/GrProgressBar-Dqg4Fj9S.js.map +0 -1
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-DNUjRVB9.js +0 -224
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-DNUjRVB9.js.map +0 -1
- package/dist/components/GrRadio/chunks/GrRadio-DlhxPGqf.js +0 -182
- package/dist/components/GrRadio/chunks/GrRadio-DlhxPGqf.js.map +0 -1
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BXt9iw4q.js +0 -82
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BXt9iw4q.js.map +0 -1
- package/dist/components/GrRating/chunks/GrRating-Co-3Rk4h.js +0 -241
- package/dist/components/GrRating/chunks/GrRating-Co-3Rk4h.js.map +0 -1
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-2CvM7Z08.js +0 -224
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-2CvM7Z08.js.map +0 -1
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C8NGx8pE.js +0 -782
- package/dist/components/GrResponseErrorBanner/chunks/GrResponseErrorBanner-C8NGx8pE.js.map +0 -1
- package/dist/components/GrSegmented/chunks/GrSegmented-CTd3n4PA.js +0 -326
- package/dist/components/GrSegmented/chunks/GrSegmented-CTd3n4PA.js.map +0 -1
- package/dist/components/GrSelect/chunks/GrSelect-Dn3FgJ3Z.js +0 -730
- package/dist/components/GrSelect/chunks/GrSelect-Dn3FgJ3Z.js.map +0 -1
- package/dist/components/GrSidebar/chunks/GrSidebar-cvnzBfj3.js +0 -238
- package/dist/components/GrSidebar/chunks/GrSidebar-cvnzBfj3.js.map +0 -1
- package/dist/components/GrSkeleton/chunks/GrSkeleton-BucA5F4J.js +0 -33
- package/dist/components/GrSkeleton/chunks/GrSkeleton-BucA5F4J.js.map +0 -1
- package/dist/components/GrSlider/chunks/GrSlider-CzzJ3bD-.js +0 -286
- package/dist/components/GrSlider/chunks/GrSlider-CzzJ3bD-.js.map +0 -1
- package/dist/components/GrStatistic/chunks/GrStatistic-gHiAwrX5.js +0 -128
- package/dist/components/GrStatistic/chunks/GrStatistic-gHiAwrX5.js.map +0 -1
- package/dist/components/GrSwitch/chunks/GrSwitch-CJdRvS0s.js +0 -88
- package/dist/components/GrSwitch/chunks/GrSwitch-CJdRvS0s.js.map +0 -1
- package/dist/components/GrTabPanels/chunks/GrTabPanels-DeEMgb_y.js +0 -68
- package/dist/components/GrTabPanels/chunks/GrTabPanels-DeEMgb_y.js.map +0 -1
- package/dist/components/GrTable/chunks/GrTable-sNvsA8wa.js +0 -70
- package/dist/components/GrTable/chunks/GrTable-sNvsA8wa.js.map +0 -1
- package/dist/components/GrTabs/chunks/GrTabs-BqTak0SR.js +0 -123
- package/dist/components/GrTabs/chunks/GrTabs-BqTak0SR.js.map +0 -1
- package/dist/components/GrTextarea/chunks/GrTextarea-DIYBAPpP.js +0 -81
- package/dist/components/GrTextarea/chunks/GrTextarea-DIYBAPpP.js.map +0 -1
- package/dist/components/GrToaster/chunks/GrToaster-BVHjIHcM.js +0 -230
- package/dist/components/GrToaster/chunks/GrToaster-BVHjIHcM.js.map +0 -1
- package/dist/components/GrTooltip/chunks/GrTooltip-BMKH2lIx.js +0 -109
- package/dist/components/GrTooltip/chunks/GrTooltip-BMKH2lIx.js.map +0 -1
- package/dist/components/GrTree/chunks/GrTree-_12ChXRQ.js +0 -838
- package/dist/components/GrTree/chunks/GrTree-_12ChXRQ.js.map +0 -1
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-CdaLG7Xq.js +0 -426
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-CdaLG7Xq.js.map +0 -1
- package/dist/granular-provider-node.js.map +0 -1
- package/dist/granular-provider.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/types/src/components/GrButton/config.node.d.ts +0 -1
- package/dist/types/src/components/GrCommandPalette/hotkey.d.ts +0 -23
- package/dist/types/src/components/GrFileUpload/maxSizeMbValidator.d.ts +0 -1
- package/dist/types/src/components/GrModal/grModalEscStack.d.ts +0 -30
- package/dist/types/src/components/GrModal/grModalTopStack.d.ts +0 -31
- package/dist/types/src/components/GrProgressBar/config.node.d.ts +0 -1
- package/dist/types/src/composables/internal/useEscapeToClose.d.ts +0 -11
- package/dist/types/src/composables/internal/useFloating.d.ts +0 -53
- package/dist/types/src/fileValidation/maxFileSizeBytesValidator.d.ts +0 -2
- package/dist/types/src/fileValidation/maxSizeMbValidator.d.ts +0 -2
- /package/dist/chunks/{config-DpqOnJiz.js → config-DpqOnJiz2.js} +0 -0
- /package/dist/chunks/{config-QaIc_gRa2.js → config-QaIc_gRa.js} +0 -0
- /package/dist/{GrSkeleton.css → components/GrSkeleton/styles.css} +0 -0
|
@@ -17,10 +17,36 @@ export interface GrTreeSelectProps<T extends object = any> {
|
|
|
17
17
|
disabled?: boolean;
|
|
18
18
|
placeholder?: string;
|
|
19
19
|
size?: GrInputSize;
|
|
20
|
+
/**
|
|
21
|
+
* Данные ещё едут. Панель показывает индикатор вместо «Нет данных» — иначе
|
|
22
|
+
* пустой ответ и незагруженный выглядят одинаково.
|
|
23
|
+
*/
|
|
24
|
+
loading?: boolean;
|
|
20
25
|
invalid?: boolean;
|
|
26
|
+
/** Только для чтения: значение видно, но не меняется. */
|
|
27
|
+
readonly?: boolean;
|
|
28
|
+
/** Обязательное поле (`aria-required`). */
|
|
29
|
+
required?: boolean;
|
|
30
|
+
/** Доступное имя вне `GrFormField`. */
|
|
31
|
+
ariaLabel?: string;
|
|
21
32
|
state?: GrTreeSelectState;
|
|
22
33
|
multiple?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Чекбоксы в дереве вместо собственной галочки: отметка родителя каскадом
|
|
36
|
+
* закрывает поддерево, полувыбранный родитель показывается `mixed`. Работает
|
|
37
|
+
* только вместе с `multiple`.
|
|
38
|
+
*/
|
|
39
|
+
showCheckbox?: boolean;
|
|
40
|
+
/** Отвязать родителей от детей: отметка перестаёт распространяться каскадом. */
|
|
41
|
+
checkStrictly?: boolean;
|
|
23
42
|
clearable?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Контролируемое состояние панели (`v-model:open`). Без пропа панель ведёт
|
|
45
|
+
* себя сама (uncontrolled), с ним — слушайте `update:open` и меняйте проп.
|
|
46
|
+
*/
|
|
47
|
+
open?: boolean;
|
|
48
|
+
/** Имя для нативной формы: hidden input на каждый выбранный ключ. */
|
|
49
|
+
name?: string;
|
|
24
50
|
/** Как отображать выбранное значение в single-режиме. */
|
|
25
51
|
valueDisplay?: GrTreeSelectValueDisplay;
|
|
26
52
|
filterable?: boolean;
|
|
@@ -29,5 +55,22 @@ export interface GrTreeSelectProps<T extends object = any> {
|
|
|
29
55
|
filterNodeMethod?: GrTreeFilterNodeMethod<T>;
|
|
30
56
|
closeOnSelect?: boolean;
|
|
31
57
|
dropdownMaxHeight?: number;
|
|
58
|
+
/**
|
|
59
|
+
* Виртуализация дерева в панели: в DOM живёт только окно вокруг вьюпорта.
|
|
60
|
+
*
|
|
61
|
+
* Скроллером в этом режиме становится само дерево, а не контейнер панели —
|
|
62
|
+
* два вложенных скроллера дали бы две полосы прокрутки на одном списке.
|
|
63
|
+
*/
|
|
64
|
+
virtual?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Ширины аддонов `prefix`/`suffix` — общий контракт контролов пакета
|
|
67
|
+
* (`docs/form-controls.md`).
|
|
68
|
+
*/
|
|
69
|
+
prefixMinWidth?: string;
|
|
70
|
+
prefixMaxWidth?: string;
|
|
71
|
+
suffixMinWidth?: string;
|
|
72
|
+
suffixMaxWidth?: string;
|
|
73
|
+
prefixFixed?: boolean;
|
|
74
|
+
suffixFixed?: boolean;
|
|
32
75
|
}
|
|
33
76
|
export {};
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
import type { ComponentExposed } from '../shared/instance';
|
|
2
|
+
import type GrTreeSelectComponent from './GrTreeSelect.vue';
|
|
1
3
|
export { default } from './GrTreeSelect.vue';
|
|
2
4
|
export { default as GrTreeSelect } from './GrTreeSelect.vue';
|
|
3
5
|
export type { GrTreeSelectModelValue, GrTreeSelectProps, GrTreeSelectValueDisplay } from './grTreeSelectTypes';
|
|
4
6
|
export { grTreeSelectConfig } from './config';
|
|
7
|
+
export type { GrTreeSelectConfigurableProps } from './defaults';
|
|
5
8
|
export { grTreeSelectSafelist } from './safelist';
|
|
9
|
+
export type { GrTreeSelectEmits } from './GrTreeSelect.vue';
|
|
10
|
+
export type GrTreeSelectInstance = ComponentExposed<typeof GrTreeSelectComponent>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Разбор, матчинг и человекочитаемое представление сочетаний клавиш.
|
|
3
|
+
*
|
|
4
|
+
* Общий модуль, а не часть `GrCommandPalette`: то же нужно `GrKbd`, а импорт из
|
|
5
|
+
* чужой компонентной директории на сборке дал бы ребро `GrKbd →
|
|
6
|
+
* GrCommandPalette` (хелпер уехал бы в чанк палитры) — `granular doctor` считает
|
|
7
|
+
* такое незадекларированной зависимостью.
|
|
8
|
+
*
|
|
9
|
+
* Директива `v-hotkey` для палитры не годится: ей нужен смонтированный элемент,
|
|
10
|
+
* а палитра в закрытом состоянии не рендерит ничего. Поэтому здесь — свой
|
|
11
|
+
* матчер на `window`, с тем же синтаксисом комбинаций плюс токен `mod`.
|
|
12
|
+
*/
|
|
13
|
+
import { type HotkeyKeyView } from './hotkeyTokens';
|
|
14
|
+
export { isAppleDevice } from '../../internal/keyboard';
|
|
15
|
+
export { findKbdToken, GR_KBD_TOKENS } from './hotkeyTokens';
|
|
16
|
+
export type { GrKbdKeyName, GrKbdTokenGroup, GrKbdTokenSpec, HotkeyKeyView } from './hotkeyTokens';
|
|
17
|
+
export type ParsedCommandHotkey = {
|
|
18
|
+
key: string;
|
|
19
|
+
ctrl: boolean;
|
|
20
|
+
meta: boolean;
|
|
21
|
+
alt: boolean;
|
|
22
|
+
shift: boolean;
|
|
23
|
+
/** `mod` — Cmd на macOS, Ctrl на остальных платформах. */
|
|
24
|
+
mod: boolean;
|
|
25
|
+
};
|
|
26
|
+
export declare function parseCommandHotkey(combo: string): ParsedCommandHotkey | null;
|
|
27
|
+
export declare function matchesCommandHotkey(event: KeyboardEvent, hotkey: ParsedCommandHotkey, apple?: boolean): boolean;
|
|
28
|
+
/** Человекочитаемые клавиши для подсказки в поле ввода (`⌘` / `Ctrl`). */
|
|
29
|
+
export declare function formatCommandHotkey(hotkey: ParsedCommandHotkey, apple?: boolean): string[];
|
|
30
|
+
/**
|
|
31
|
+
* Токен → то, что видит пользователь. Каталог общий с витриной и докой
|
|
32
|
+
* (`hotkeyTokens.ts`): цепочка `if` расходилась бы со списком, который читает
|
|
33
|
+
* потребитель.
|
|
34
|
+
*/
|
|
35
|
+
export declare function formatHotkeyToken(token: string, apple: boolean): HotkeyKeyView;
|
|
36
|
+
export declare function formatHotkeyTokens(tokens: readonly string[], apple: boolean): HotkeyKeyView[];
|
|
37
|
+
/** Комбинация строкой (`mod+shift+K`) — в набор токенов в порядке показа. */
|
|
38
|
+
export declare function splitHotkeyCombo(combo: string): string[];
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Каталог клавиш, которые понимает `keys` у `GrKbd`.
|
|
3
|
+
*
|
|
4
|
+
* Таблица, а не цепочка `if`, по двум причинам: во-первых, список — часть
|
|
5
|
+
* публичного контракта (потребителю нужно знать, что можно написать), и
|
|
6
|
+
* витрина показывает именно его, а не свою копию; во-вторых, копия в демо или
|
|
7
|
+
* в доке разошлась бы с форматтером молча.
|
|
8
|
+
*/
|
|
9
|
+
/** Ключи читаемых имён — `gr.kbd.<name>`. */
|
|
10
|
+
export type GrKbdKeyName = 'command' | 'option' | 'shift' | 'control' | 'enter' | 'escape' | 'tab' | 'backspace' | 'delete' | 'pageUp' | 'pageDown' | 'arrowUp' | 'arrowDown' | 'arrowLeft' | 'arrowRight';
|
|
11
|
+
/** Одна клавиша в человекочитаемом виде. */
|
|
12
|
+
export interface HotkeyKeyView {
|
|
13
|
+
/** Что видно на экране: символ (`⌘`) или слово (`Ctrl`). */
|
|
14
|
+
label: string;
|
|
15
|
+
/**
|
|
16
|
+
* Ключ читаемого имени (`gr.kbd.<name>`) для символьных клавиш. У `K` или
|
|
17
|
+
* `Ctrl` его нет — они и так читаются вслух.
|
|
18
|
+
*/
|
|
19
|
+
name?: GrKbdKeyName;
|
|
20
|
+
/** Символ (`⌘`, `↑`) или слово (`Ctrl`, `Esc`): от этого зависит склейка в одной плашке. */
|
|
21
|
+
symbol?: boolean;
|
|
22
|
+
}
|
|
23
|
+
/** Смысловая группа — ею витрина и дока раскладывают каталог. */
|
|
24
|
+
export type GrKbdTokenGroup = 'modifier' | 'editing' | 'navigation';
|
|
25
|
+
export interface GrKbdTokenSpec {
|
|
26
|
+
/** Канонический токен: его пишут в `keys`. */
|
|
27
|
+
token: string;
|
|
28
|
+
/** Что ещё принимается — синонимы и сам глиф. */
|
|
29
|
+
aliases: readonly string[];
|
|
30
|
+
group: GrKbdTokenGroup;
|
|
31
|
+
/** Вид на macOS и на остальных платформах. */
|
|
32
|
+
apple: HotkeyKeyView;
|
|
33
|
+
other: HotkeyKeyView;
|
|
34
|
+
}
|
|
35
|
+
export declare const GR_KBD_TOKENS: readonly GrKbdTokenSpec[];
|
|
36
|
+
/** Токен или его синоним — в описание клавиши. Регистр не важен, глиф тоже принимается. */
|
|
37
|
+
export declare function findKbdToken(token: string): GrKbdTokenSpec | undefined;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Тип публичного API компонента — то, что он отдал через `defineExpose`.
|
|
3
|
+
*
|
|
4
|
+
* Зачем свой, а не `InstanceType<typeof GrX>`: у компонентов с
|
|
5
|
+
* `<script setup generic>` (`GrSelect`, `GrTree`, `GrDataTable`, …) `InstanceType`
|
|
6
|
+
* не работает вовсе — такой компонент компилируется не в класс, а в функцию.
|
|
7
|
+
*
|
|
8
|
+
* Зачем выводом, а не руками: написанный руками тип — копия `defineExpose`,
|
|
9
|
+
* которая расходится с оригиналом молча. Здесь разойтись не с чем.
|
|
10
|
+
*
|
|
11
|
+
* Определение — из `vue-component-type-helpers` (MIT). Скопировано, а не
|
|
12
|
+
* подключено зависимостью: пакет публикуемый, и тащить потребителю целый
|
|
13
|
+
* пакет ради одного условного типа несоразмерно.
|
|
14
|
+
*/
|
|
15
|
+
export type ComponentExposed<T> = T extends new (...args: any) => infer E ? E : T extends (props: any, ctx: any, expose: (exposed: infer E) => any, ...args: any) => any ? NonNullable<E> : Record<string, never>;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Подстрочный поиск по опциям — один на пакет.
|
|
3
|
+
*
|
|
4
|
+
* Тот же предикат был написан трижды, и у каждой копии был свой контракт
|
|
5
|
+
* нормализации: `GrSelect` лоукейсил запрос в вызывающем коде, `GrAutocomplete`
|
|
6
|
+
* внутри матчера, `GrCommandPalette` — внутри своего. Расхождение такого рода
|
|
7
|
+
* не видно на глаз и всплывает как «в одном компоненте регистр учитывается, в
|
|
8
|
+
* другом нет».
|
|
9
|
+
*
|
|
10
|
+
* Нормализация здесь ровно одна (`normalizeOptionQuery`), а компонент выбирает,
|
|
11
|
+
* что ему нужно: готовый плоский список (`filterOptions`) или голый предикат
|
|
12
|
+
* (`matchesOptionQuery`) — `GrSelect` фильтрует внутри обхода групп и списка не
|
|
13
|
+
* имеет.
|
|
14
|
+
*/
|
|
15
|
+
/** Запрос в сравнимом виде: без краевых пробелов и в нижнем регистре. */
|
|
16
|
+
export declare function normalizeOptionQuery(raw: string): string;
|
|
17
|
+
/**
|
|
18
|
+
* Ядро матча: подстрока в любом из полей. `undefined` в наборе пропускается —
|
|
19
|
+
* у команды палитры может не быть ни описания, ни группы.
|
|
20
|
+
*
|
|
21
|
+
* `needle` ожидается уже нормализованным: нормализовать на каждый элемент
|
|
22
|
+
* списка значило бы делать одну и ту же работу n раз.
|
|
23
|
+
*/
|
|
24
|
+
export declare function matchesQueryParts(parts: readonly (string | undefined)[], needle: string): boolean;
|
|
25
|
+
/** Опция в терминах поиска: метка видна пользователю, значение — то, что он мог запомнить. */
|
|
26
|
+
export interface OptionLike {
|
|
27
|
+
label: string;
|
|
28
|
+
value: unknown;
|
|
29
|
+
}
|
|
30
|
+
/** Матчер по умолчанию: метка и значение опции. */
|
|
31
|
+
export declare function matchesOptionQuery(option: OptionLike, needle: string): boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Плоская фильтрация списка опций.
|
|
34
|
+
*
|
|
35
|
+
* Пустой запрос отдаёт **тот же массив** и матчер не зовёт вовсе: свой `filter`
|
|
36
|
+
* потребителя не должен решать, что показывать «без запроса», а копия на
|
|
37
|
+
* каждый пересчёт била бы по виртуализированным спискам на тысячи опций.
|
|
38
|
+
*
|
|
39
|
+
* Пользовательскому матчеру уходит **сырой** запрос (только `trim`), а не
|
|
40
|
+
* нормализованный: это публичный контракт пропа `filter` у `GrAutocomplete`,
|
|
41
|
+
* и чужая реализация вправе смотреть на регистр.
|
|
42
|
+
*/
|
|
43
|
+
export declare function filterOptions<TOption extends OptionLike>(options: TOption[], rawQuery: string, filter?: (option: TOption, query: string) => boolean): TOption[];
|
|
44
|
+
/**
|
|
45
|
+
* Значения выбора — в опции для чипов.
|
|
46
|
+
*
|
|
47
|
+
* Значение, которого нет среди опций, показывается как есть: так выглядит
|
|
48
|
+
* произвольное значение (`allowCustomValue`) и значение, пришедшее из модели
|
|
49
|
+
* раньше, чем подгрузились опции. Прятать его нельзя — пользователь видел бы
|
|
50
|
+
* пустое место вместо своего выбора.
|
|
51
|
+
*
|
|
52
|
+
* Сравнение идёт через ключ, а не `===`: объектные значения приходят в модель
|
|
53
|
+
* отдельной копией, и ссылочное равенство не нашло бы ничего.
|
|
54
|
+
*/
|
|
55
|
+
export declare function resolveSelectedOptions<TValue, TOption extends {
|
|
56
|
+
label: string;
|
|
57
|
+
value: TValue;
|
|
58
|
+
}>(values: readonly TValue[], options: readonly TOption[], keyOf?: (value: TValue) => string): (TOption | {
|
|
59
|
+
value: TValue;
|
|
60
|
+
label: string;
|
|
61
|
+
})[];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { GrComponentSize } from '../GrConfigProvider/context';
|
|
2
|
+
export type { GrComponentSize } from '../GrConfigProvider/context';
|
|
3
|
+
export { GR_COMPONENT_SIZES } from '../GrConfigProvider/context';
|
|
4
|
+
/**
|
|
5
|
+
* Каноническая шкала размеров контролов — `GrComponentSize` (`xs|sm|md|lg`).
|
|
6
|
+
*
|
|
7
|
+
* До сведе́ния шкал в пакете было пять несовместимых: `xs sm md lg`, `sm md lg`,
|
|
8
|
+
* `sm md lg xl full`, `sm md lg full`, `md lg xl`, `sm md` и отдельно
|
|
9
|
+
* `GrAvatar.size: number`. Практическое следствие: `<GrConfigProvider size="xs">`
|
|
10
|
+
* физически не мог примениться к половине пакета, а `size="xl"` компилировался у
|
|
11
|
+
* одного компонента и падал у соседнего.
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Шкала **ширины оверлея** — отдельный тип, а не размер контрола.
|
|
15
|
+
*
|
|
16
|
+
* У модалки «размер» означает ширину окна, а не высоту строки и не кегль, и
|
|
17
|
+
* шкала у неё своя: `full` осмыслен, `xs` — нет. Смешивать их в одном типе
|
|
18
|
+
* значило бы разрешить `<GrModal size="xs">` и `<GrInput size="full">`.
|
|
19
|
+
*/
|
|
20
|
+
export declare const GR_OVERLAY_SIZES: readonly ["sm", "md", "lg", "xl", "full"];
|
|
21
|
+
export type GrOverlaySize = typeof GR_OVERLAY_SIZES[number];
|
|
22
|
+
/**
|
|
23
|
+
* Визуальное состояние форм-контрола. Было объявлено четырьмя независимыми
|
|
24
|
+
* копиями (`GrTextareaState`, `GrInputTagState`, `GrNumberInputState`,
|
|
25
|
+
* `GrTreeSelectState`) — расхождение обнаружилось бы только рантаймом.
|
|
26
|
+
*/
|
|
27
|
+
export declare const GR_CONTROL_STATES: readonly ["default", "success", "warning", "danger"];
|
|
28
|
+
export type GrControlState = typeof GR_CONTROL_STATES[number];
|
|
29
|
+
/** Размер контрола с escape-hatch в пиксели: только `GrAvatar` и `GrIcon`. */
|
|
30
|
+
export type GrSizeWithPx = GrComponentSize | number;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type VNode } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Разбор содержимого слота.
|
|
4
|
+
*
|
|
5
|
+
* Общий модуль, а не приватные функции внутри SFC: то же самое нужно и
|
|
6
|
+
* `GrFileUpload` («слот с кастомным UI или просто текст»), и `GrList` («в
|
|
7
|
+
* списке пусто»). Импорт из чужой компонентной директории на сборке дал бы
|
|
8
|
+
* ребро между компонентами, которого в разметке нет.
|
|
9
|
+
*/
|
|
10
|
+
/** `v-for` и `<template>` приходят фрагментами — разворачиваем до реальных узлов. */
|
|
11
|
+
export declare function flattenSlotNodes(nodes: VNode[]): VNode[];
|
|
12
|
+
export declare function isWhitespaceTextNode(node: VNode): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Узлы, которые пользователь действительно видит: без комментариев (их
|
|
15
|
+
* оставляет после себя каждый `v-if`) и без переносов строк из шаблона.
|
|
16
|
+
*/
|
|
17
|
+
export declare function meaningfulSlotNodes(nodes: VNode[]): VNode[];
|
|
18
|
+
/** Есть ли в слоте хоть что-то, кроме комментариев и пробелов. */
|
|
19
|
+
export declare function hasMeaningfulSlotContent(nodes: VNode[]): boolean;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Геометрия перестановки: чистая арифметика без DOM и без реактивности.
|
|
3
|
+
*
|
|
4
|
+
* Вынесена отдельно, потому что ошибка здесь проявляется не исключением, а
|
|
5
|
+
* «элемент встал не туда» — поймать это можно только тестом на числах.
|
|
6
|
+
* Композабл `useDragSort` сводит `DOMRect` к отрезкам вдоль оси и зовёт эти
|
|
7
|
+
* функции; какой смысл у попадания, решает уже компонент.
|
|
8
|
+
*/
|
|
9
|
+
/** Отрезок, занимаемый элементом вдоль оси переноса. */
|
|
10
|
+
export interface DragSortSpan {
|
|
11
|
+
start: number;
|
|
12
|
+
end: number;
|
|
13
|
+
}
|
|
14
|
+
export interface DragSortHitResult {
|
|
15
|
+
/** Индекс элемента в переданном наборе. */
|
|
16
|
+
index: number;
|
|
17
|
+
/** Доля вдоль элемента: 0 — его начало, 1 — конец. */
|
|
18
|
+
fraction: number;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Какой элемент под указателем и в каком месте его.
|
|
22
|
+
*
|
|
23
|
+
* Промах не отбрасывается: между строками есть зазоры, а курсор уезжает за
|
|
24
|
+
* край списка — и в обоих случаях перенос обязан продолжать показывать
|
|
25
|
+
* ближайшую цель, иначе индикатор мигает на каждом пикселе между строками.
|
|
26
|
+
*
|
|
27
|
+
* Вырожденный отрезок (нулевая высота строки) даёт `fraction: 0` — цель
|
|
28
|
+
* остаётся детерминированной, а не зависящей от направления подхода.
|
|
29
|
+
*/
|
|
30
|
+
export declare function hitTest(spans: readonly DragSortSpan[], position: number): DragSortHitResult | null;
|
|
31
|
+
/**
|
|
32
|
+
* Куда встанет элемент, если отпустить сейчас.
|
|
33
|
+
*
|
|
34
|
+
* Верхняя половина строки — «до неё», нижняя — «после». Индекс возвращается
|
|
35
|
+
* **в терминах итогового массива**, то есть уже с поправкой на то, что
|
|
36
|
+
* перетаскиваемый элемент из него временно вынут: без поправки перенос вниз
|
|
37
|
+
* на одну позицию не двигал бы ничего.
|
|
38
|
+
*/
|
|
39
|
+
export declare function insertionIndex(hit: DragSortHitResult, from: number, count: number): number;
|
|
40
|
+
export interface AutoScrollOptions {
|
|
41
|
+
/** Ширина чувствительной полосы у каждого края, px. По умолчанию 32. */
|
|
42
|
+
zone?: number;
|
|
43
|
+
/** Скорость на самом краю, px за кадр. По умолчанию 12. */
|
|
44
|
+
speed?: number;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* На сколько прокрутить контейнер за кадр: отрицательное — к началу.
|
|
48
|
+
*
|
|
49
|
+
* Скорость растёт линейно по мере приближения к краю, а не включается
|
|
50
|
+
* ступенькой: ступенька на длинном списке ощущается как рывок и промахивается
|
|
51
|
+
* мимо цели.
|
|
52
|
+
*/
|
|
53
|
+
export declare function autoScrollDelta(viewport: DragSortSpan, position: number, options?: AutoScrollOptions): number;
|
|
54
|
+
/**
|
|
55
|
+
* Перестановка без мутации входа: массив потребителя остаётся нетронутым,
|
|
56
|
+
* наружу уходит новый. `v-model` с мутацией исходного набора ломает и
|
|
57
|
+
* сравнение «было — стало», и историю в сторе потребителя.
|
|
58
|
+
*/
|
|
59
|
+
export declare function moveItem<T>(items: readonly T[], from: number, to: number): T[];
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Что пакет считает фокусируемым.
|
|
3
|
+
*
|
|
4
|
+
* Один источник правды на ловушку фокуса, roving-навигацию и «первый элемент
|
|
5
|
+
* панели». До него каждый компонент собирал свой селектор: у `GrDropdown` в
|
|
6
|
+
* список не попадали `select` и `textarea`, а фильтр видимости стоял на
|
|
7
|
+
* `offsetParent !== null` — он врёт на `position: fixed` (у таких элементов
|
|
8
|
+
* `offsetParent` всегда `null`), то есть на панелях самих оверлеев.
|
|
9
|
+
*/
|
|
10
|
+
export declare function isFocusable(element: HTMLElement): boolean;
|
|
11
|
+
/** Участвует ли элемент в таб-порядке (`tabindex="-1"` — нет). */
|
|
12
|
+
export declare function isTabbable(element: HTMLElement): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Фокусируемые внутри корня, в порядке документа.
|
|
15
|
+
*
|
|
16
|
+
* `tabbableOnly` (по умолчанию) оставляет только участников таб-порядка — это
|
|
17
|
+
* то, что нужно циклу Tab. Полный список нужен «первому фокусируемому» при
|
|
18
|
+
* открытии: панель с `tabindex="-1"` фокусируется программно.
|
|
19
|
+
*/
|
|
20
|
+
export declare function getFocusableElements(root: HTMLElement | null | undefined, options?: {
|
|
21
|
+
tabbableOnly?: boolean;
|
|
22
|
+
}): HTMLElement[];
|
|
23
|
+
/**
|
|
24
|
+
* Фокусируемые сразу в нескольких корнях, в порядке документа.
|
|
25
|
+
*
|
|
26
|
+
* Нужен ловушке: панель селекта, открытого внутри модалки, телепортирована в
|
|
27
|
+
* `body` и лежит вне DOM-поддерева окна, но для пользователя это продолжение
|
|
28
|
+
* того же слоя.
|
|
29
|
+
*/
|
|
30
|
+
export declare function getFocusableElementsIn(roots: (HTMLElement | null | undefined)[]): HTMLElement[];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `inert` для чужих поддеревьев.
|
|
3
|
+
*
|
|
4
|
+
* Визуального перекрытия мало: без `inert` таб уходит в форму, которую
|
|
5
|
+
* пользователь уже не видит, а скринридер читает её как обычную. `inert`
|
|
6
|
+
* снимает поддерево целиком — фокус, события указателя и дерево доступности.
|
|
7
|
+
*
|
|
8
|
+
* Два правила, из-за которых это отдельный модуль, а не пара строк на месте:
|
|
9
|
+
*
|
|
10
|
+
* - **чужой `inert` не снимаем.** Элемент мог быть инертен и до нас;
|
|
11
|
+
* - **счётчик на элемент.** Два открытых оверлея пометят один и тот же фон, и
|
|
12
|
+
* закрытие первого не должно возвращать его в таб-порядок под вторым.
|
|
13
|
+
*/
|
|
14
|
+
/** Помечает элементы инертными и возвращает снятие пометки. */
|
|
15
|
+
export declare function markInert(elements: HTMLElement[]): () => void;
|
|
16
|
+
/**
|
|
17
|
+
* Что гасить, пока открыт модальный слой.
|
|
18
|
+
*
|
|
19
|
+
* Правило одно: **инертно всё, кроме ветки, в которой живёт оверлей**. Идём от
|
|
20
|
+
* него вверх до `<body>` и на каждом уровне помечаем соседей. Наивное «все дети
|
|
21
|
+
* `body`, кроме портала» сломалось бы на `portalTarget` внутри контейнера
|
|
22
|
+
* приложения: `inert` наследуется вниз, и помеченный предок убил бы сам оверлей.
|
|
23
|
+
*
|
|
24
|
+
* Корни других оверлеев пропускаются (`data-gr-overlay-root`): тост обязан
|
|
25
|
+
* оставаться видимым и озвученным поверх открытой модалки — ради этого он и
|
|
26
|
+
* сидит на самом верхнем слое шкалы, — а панель селекта, открытая изнутри окна,
|
|
27
|
+
* принадлежит тому же слою. Порядок между самими оверлеями решает стек слоёв
|
|
28
|
+
* (`isTopmost`), а не этот модуль.
|
|
29
|
+
*
|
|
30
|
+
* По той же причине пропускается хост объявителя (`data-gr-live-region`):
|
|
31
|
+
* `inert` выбрасывает поддерево из дерева доступности, и общий живой регион
|
|
32
|
+
* замолчал бы ровно под открытым диалогом — там, где «сохранено» и «ошибка
|
|
33
|
+
* сети» и нужны.
|
|
34
|
+
*/
|
|
35
|
+
export declare function inertableOutside(root: HTMLElement | null | undefined): HTMLElement[];
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Единый стек слоёв оверлеев: модалки, drawer'ы, просмотрщик, панели селектов,
|
|
3
|
+
* дропдауны, подсказки — всё, что открывается поверх страницы.
|
|
4
|
+
*
|
|
5
|
+
* Список один, и порядок регистрации совпадает с порядком открытия, но из него
|
|
6
|
+
* выводятся **две разные вершины**:
|
|
7
|
+
*
|
|
8
|
+
* - **Esc** → последний слой любого рода. Дропдаун, открытый внутри модалки,
|
|
9
|
+
* обязан закрыться первым — пользователь видит верхним именно его.
|
|
10
|
+
* - **`inert`** → ставится на модальные слои ниже последнего **модального**.
|
|
11
|
+
* Немодальный слой сверху модалку не понижает: иначе окно ушло бы в `inert`
|
|
12
|
+
* вместе со своим же открытым дропдауном и перестало отвечать.
|
|
13
|
+
* - **высота** → `openModalCount()` поднимает floating-панель над окном, из
|
|
14
|
+
* которого её открыли: телепортированная панель лежит рядом с корнем окна,
|
|
15
|
+
* и статический `z-index` дропдауна оставлял её под ним.
|
|
16
|
+
*
|
|
17
|
+
* Вести эти две вершины в двух независимых реестрах нельзя: реестры описывают
|
|
18
|
+
* один и тот же порядок и расходятся молча — достаточно оверлея, который
|
|
19
|
+
* зарегистрировался в одном и забыл про другой.
|
|
20
|
+
*
|
|
21
|
+
* Ловушку фокуса стек не реализует сам, но питает её (`useFocusTrap`): он
|
|
22
|
+
* видит слои из **разных деревьев рендера** (диалоги `useDialogService`
|
|
23
|
+
* монтируются отдельным `render()` в `body`) и знает их корни.
|
|
24
|
+
*/
|
|
25
|
+
export interface OverlayLayer {
|
|
26
|
+
/** Уникальный id зарегистрированного слоя. */
|
|
27
|
+
id: number;
|
|
28
|
+
/**
|
|
29
|
+
* Модальный слой: блокирует страницу и участвует в вычислении `inert`.
|
|
30
|
+
* Немодальные (поповеры, меню, подсказки) — только в очереди Esc.
|
|
31
|
+
*/
|
|
32
|
+
modal: boolean;
|
|
33
|
+
/** Закрывать ли слой по Esc (реактивный геттер: `closeOnEsc` и подобные). */
|
|
34
|
+
shouldClose: () => boolean;
|
|
35
|
+
/** Закрыть слой. */
|
|
36
|
+
close: () => void;
|
|
37
|
+
/** Уведомление «этот модальный слой сейчас верхний». Только для `modal`. */
|
|
38
|
+
setTopmost?: (isTopmost: boolean) => void;
|
|
39
|
+
/**
|
|
40
|
+
* Корень слоя. Ловушка фокуса нижнего слоя обязана считать его своим:
|
|
41
|
+
* панель селекта, открытого внутри модалки, телепортирована в `body` и лежит
|
|
42
|
+
* вне DOM-поддерева окна, но для пользователя это тот же слой.
|
|
43
|
+
*/
|
|
44
|
+
root?: () => HTMLElement | null;
|
|
45
|
+
}
|
|
46
|
+
/** Регистрирует слой как верхний и возвращает его id. */
|
|
47
|
+
export declare function pushOverlayLayer(layer: Omit<OverlayLayer, 'id'>): number;
|
|
48
|
+
/** Снимает слой со стека (при закрытии или размонтировании). */
|
|
49
|
+
export declare function removeOverlayLayer(id: number): void;
|
|
50
|
+
/**
|
|
51
|
+
* Корни слоёв, открытых **поверх** данного.
|
|
52
|
+
*
|
|
53
|
+
* Ими ловушка фокуса дополняет свой контейнер: всё, что открыто изнутри слоя
|
|
54
|
+
* (панель селекта, меню, подсказка), лежит в `body` отдельным поддеревом, и
|
|
55
|
+
* без этого списка ловушка утаскивала бы из него фокус обратно в окно.
|
|
56
|
+
*/
|
|
57
|
+
export declare function layerRootsAbove(id: number): HTMLElement[];
|
|
58
|
+
/** Корни всех зарегистрированных слоёв. */
|
|
59
|
+
export declare function allLayerRoots(): HTMLElement[];
|
|
60
|
+
/** Сколько слоёв открыто. Для тестов и диагностики. */
|
|
61
|
+
export declare function overlayStackSize(): number;
|
|
62
|
+
/**
|
|
63
|
+
* Сколько **модальных** слоёв открыто прямо сейчас.
|
|
64
|
+
*
|
|
65
|
+
* Читает `useFloating`, когда считает высоту панели: панель телепортирована в
|
|
66
|
+
* общий портал и лежит рядом с корнем окна, а не внутри него, поэтому свой
|
|
67
|
+
* стек-контекст её не спасает — высоту приходится брать из порядка слоёв.
|
|
68
|
+
*/
|
|
69
|
+
export declare function openModalCount(): number;
|
|
70
|
+
/** Тестовая/служебная очистка стека. */
|
|
71
|
+
export declare function resetOverlayStack(): void;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Единая точка монтирования оверлеев.
|
|
3
|
+
*
|
|
4
|
+
* До неё каждый оверлей телепортировался в `body` сам по себе, и правило
|
|
5
|
+
* `inert` держалось на договорённости «все оверлеи лежат ровно на один уровень
|
|
6
|
+
* ниже `body`». Один контейнер даёт управляемую точку монтирования (своё
|
|
7
|
+
* приложение в контейнере, микрофронтенд, shadow DOM), одну точку очистки и
|
|
8
|
+
* порядок, совпадающий с порядком открытия.
|
|
9
|
+
*
|
|
10
|
+
* **У корня не должно быть ни стилей, ни классов.** `transform`, `filter`,
|
|
11
|
+
* `contain`, `perspective` и `will-change` создают containing block для
|
|
12
|
+
* `position: fixed`, и тогда панели `useFloating` начинают позиционироваться
|
|
13
|
+
* относительно портала, а не вьюпорта — с виду это «панель прилипла не туда»,
|
|
14
|
+
* и ищется такое долго.
|
|
15
|
+
*/
|
|
16
|
+
export declare const GR_PORTAL_ID = "gr-portal";
|
|
17
|
+
/**
|
|
18
|
+
* Создаёт корень портала при первом обращении и возвращает его.
|
|
19
|
+
*
|
|
20
|
+
* `null` на сервере: DOM там трогать нечем, а телепорт всё равно выключен до
|
|
21
|
+
* монтирования (см. `useTeleportEnabled`).
|
|
22
|
+
*/
|
|
23
|
+
export declare function ensurePortalRoot(): HTMLElement | null;
|
|
24
|
+
/** Текущий корень портала, если он уже создан. */
|
|
25
|
+
export declare function getPortalRoot(): HTMLElement | null;
|
|
26
|
+
/** Тестовая/служебная очистка: убирает корень из документа. */
|
|
27
|
+
export declare function resetPortalRoot(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
2
|
/**
|
|
3
3
|
* Измерение фактической ширины prefix/suffix add-on'ов через `ResizeObserver`.
|
|
4
|
-
* Общая логика GrInput/GrNumberInput
|
|
4
|
+
* Общая логика GrInput/GrNumberInput.
|
|
5
5
|
*
|
|
6
6
|
* Потребитель вешает возвращённые `prefixEl`/`suffixEl` на DOM-элементы аддонов
|
|
7
7
|
* и передаёт реактивные `hasPrefix`/`hasSuffix` (обычно — наличие слотов).
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { ComputedRef, Ref } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Аддоны контрола: слоты `prefix`/`suffix` и геометрия вокруг них.
|
|
4
|
+
*
|
|
5
|
+
* Слот здесь — вершина айсберга. Контракт аддона состоит из шести пропов ширины,
|
|
6
|
+
* замера фактического размера через `ResizeObserver` и пересчёта внутренних
|
|
7
|
+
* отступов поля, чтобы текст не заезжал под аддон. Эта математика была написана
|
|
8
|
+
* дважды — в `GrInput` и `GrNumberInput`, — и раскатать её ещё на четыре
|
|
9
|
+
* контрола копипастой значило бы завести шесть копий одного расчёта.
|
|
10
|
+
*
|
|
11
|
+
* Правило, которое держит композабл: **аддон резервирует место, а не заменяет
|
|
12
|
+
* отступ**. Поле с аддоном и без него выглядит одинаково отбитым от края —
|
|
13
|
+
* ширина аддона прибавляется к базовому паддингу ступени, а не вытесняет его.
|
|
14
|
+
*
|
|
15
|
+
* Карта ширины по умолчанию остаётся у компонента (`defaultMinWidth`): у
|
|
16
|
+
* `GrInput` она в `rem`, у `GrNumberInput` — в тех же значениях, но в пикселях,
|
|
17
|
+
* потому что оттуда же считаются ширины степперов. Сводить их к одной строке
|
|
18
|
+
* значило бы менять то, что уезжает в `style`, ради косметики.
|
|
19
|
+
*/
|
|
20
|
+
export interface GrControlAddonProps {
|
|
21
|
+
/** Минимальная ширина префикса. По умолчанию — ширина аддона для ступени размера. */
|
|
22
|
+
prefixMinWidth?: string;
|
|
23
|
+
/** Максимальная ширина префикса: содержимое шире — обрезается. */
|
|
24
|
+
prefixMaxWidth?: string;
|
|
25
|
+
suffixMinWidth?: string;
|
|
26
|
+
suffixMaxWidth?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Жёсткая ширина префикса (из `prefixMaxWidth` → `prefixMinWidth` → дефолт).
|
|
29
|
+
* Нужна, когда аддоны соседних полей обязаны совпасть по ширине: без этого
|
|
30
|
+
* каждое поле меряет свой аддон и колонка «плывёт».
|
|
31
|
+
*/
|
|
32
|
+
prefixFixed?: boolean;
|
|
33
|
+
suffixFixed?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export interface UseControlAddonsOptions {
|
|
36
|
+
/** Ширина аддона по умолчанию для текущей ступени размера. */
|
|
37
|
+
defaultMinWidth: () => string;
|
|
38
|
+
/** Базовый горизонтальный отступ поля из size-мапы. */
|
|
39
|
+
paddingX: () => string;
|
|
40
|
+
/** Место, занятое собственными элементами контрола слева (степперы `GrNumberInput`). */
|
|
41
|
+
leadingReserve?: () => string;
|
|
42
|
+
/** То же справа: кнопки очистки и показа пароля, спиннер, степперы. */
|
|
43
|
+
trailingReserve?: () => string;
|
|
44
|
+
/** Прижать суффикс к правому краю — там, где аддон позиционируется абсолютно. */
|
|
45
|
+
anchorSuffixRight?: boolean;
|
|
46
|
+
}
|
|
47
|
+
export interface ControlAddons {
|
|
48
|
+
hasPrefix: ComputedRef<boolean>;
|
|
49
|
+
hasSuffix: ComputedRef<boolean>;
|
|
50
|
+
/** Вешаются на DOM-элементы аддонов: по ним идёт замер. */
|
|
51
|
+
prefixEl: Ref<HTMLElement | null>;
|
|
52
|
+
suffixEl: Ref<HTMLElement | null>;
|
|
53
|
+
/** Занятое аддоном место (`0px`, если слота нет) — контролу нужно для своих кнопок. */
|
|
54
|
+
prefixLen: ComputedRef<string>;
|
|
55
|
+
suffixLen: ComputedRef<string>;
|
|
56
|
+
prefixStyle: ComputedRef<Record<string, string | undefined>>;
|
|
57
|
+
suffixStyle: ComputedRef<Record<string, string | undefined>>;
|
|
58
|
+
/** `paddingLeft`/`paddingRight` поля с учётом аддонов и собственных кнопок. */
|
|
59
|
+
fieldPadding: ComputedRef<Record<string, string | undefined>>;
|
|
60
|
+
}
|
|
61
|
+
export declare function useControlAddons(props: () => GrControlAddonProps, options: UseControlAddonsOptions): ControlAddons;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ComputedRef } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Контролируемое состояние открытия оверлея — единый контракт `v-model:open`
|
|
4
|
+
* панельных компонентов (Popover, Select, TreeSelect, Autocomplete, Dropdown).
|
|
5
|
+
*
|
|
6
|
+
* Uncontrolled-состояние; в controlled-режиме перекрывается пропом `open`.
|
|
7
|
+
* Без пропа `v-model` был бы обязателен, а поповер без модели — самый частый
|
|
8
|
+
* случай использования. Гарды компонента (disabled/readonly) остаются на его
|
|
9
|
+
* стороне — примитив ведёт только состояние и эмит.
|
|
10
|
+
*/
|
|
11
|
+
export declare function useControlledOpen(controlled: () => boolean | undefined, onChange: (value: boolean) => void): {
|
|
12
|
+
open: ComputedRef<boolean>;
|
|
13
|
+
setOpen: (next: boolean) => void;
|
|
14
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface UseFilePreviewsOptions {
|
|
2
|
+
/** Включены ли миниатюры. Геттер — проп реактивен. */
|
|
3
|
+
enabled: () => boolean;
|
|
4
|
+
}
|
|
5
|
+
export interface UseFilePreviewsReturn {
|
|
6
|
+
/** Стабильный ключ файла для `v-for`. */
|
|
7
|
+
fileKey: (file: File) => string;
|
|
8
|
+
/** `object URL` миниатюры или `undefined`, если файл не картинка. */
|
|
9
|
+
previewUrl: (file: File) => string | undefined;
|
|
10
|
+
revokePreview: (file: File) => void;
|
|
11
|
+
revokeAllPreviews: () => void;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Ключи списка и миниатюры превью. Общий на файловые компоненты пакета:
|
|
15
|
+
* `GrFileUpload` (отправка) и `GrFormFile` (поле формы) показывают один и тот
|
|
16
|
+
* же набор одинаково, и правила «что считать картинкой» у них обязаны совпадать.
|
|
17
|
+
*
|
|
18
|
+
* Ключ считается от самого файла, а не от имени: два одноимённых файла из
|
|
19
|
+
* разных папок делили бы один `<li>`, и кнопка удаления в строке снимала бы
|
|
20
|
+
* не тот файл.
|
|
21
|
+
*
|
|
22
|
+
* `object URL` живёт ровно столько, сколько файл в наборе: без отзыва blob
|
|
23
|
+
* висит в памяти вкладки до перезагрузки — утечка тем заметнее, чем чаще
|
|
24
|
+
* пользователь перевыбирает файлы.
|
|
25
|
+
*/
|
|
26
|
+
export declare function useFilePreviews(options: UseFilePreviewsOptions): UseFilePreviewsReturn;
|