@feugene/granularity 0.13.0 → 0.16.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-g6lT19.js +19 -0
- package/dist/chunks/config-B-g6lT19.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-BE6n20np.js +27 -0
- package/dist/chunks/config-BE6n20np.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-BNfQwyL4.js +97 -0
- package/dist/chunks/config-BNfQwyL4.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-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_PD.js +140 -0
- package/dist/chunks/config-BoNR7_PD.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-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-CN2ULSQL2.js +36 -0
- package/dist/chunks/config-CN2ULSQL2.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-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-CpwwkFBO.js +72 -0
- package/dist/chunks/config-CpwwkFBO.js.map +1 -0
- package/dist/chunks/config-CvC0sX8p.js +81 -0
- package/dist/chunks/config-CvC0sX8p.js.map +1 -0
- package/dist/chunks/config-Cw6TDzWv2.js +72 -0
- package/dist/chunks/config-Cw6TDzWv2.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-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-D8tSR2uS.js +103 -0
- package/dist/chunks/config-D8tSR2uS.js.map +1 -0
- package/dist/chunks/config-D94Z9po52.js +126 -0
- package/dist/chunks/config-D94Z9po52.js.map +1 -0
- package/dist/chunks/config-DBmdgoVf.js.map +1 -1
- package/dist/chunks/config-DCFvmHEv.js +76 -0
- package/dist/chunks/config-DCFvmHEv.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-DxCTVBfx.js +97 -0
- package/dist/chunks/config-DxCTVBfx.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-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-T3qdQBgU.js +40 -0
- package/dist/chunks/config-T3qdQBgU.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-Zc_bUvZY2.js +23 -0
- package/dist/chunks/config-Zc_bUvZY2.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-eXB87DOi2.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-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-B3xMeswz.js +327 -0
- package/dist/chunks/en-B3xMeswz.js.map +1 -0
- package/dist/chunks/es-Bv8vvqdT.js +20 -0
- package/dist/chunks/es-Bv8vvqdT.js.map +1 -0
- package/dist/chunks/es-CA-mkU--.js +329 -0
- package/dist/chunks/es-CA-mkU--.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-DAoxiytu.js +31 -0
- package/dist/chunks/grKbdStyles-DAoxiytu.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-CWI2SqC8.js +50 -0
- package/dist/chunks/grTextareaStyles-CWI2SqC8.js.map +1 -0
- package/dist/chunks/granular-provider-CtrXGa7c.js +193 -0
- package/dist/chunks/granular-provider-CtrXGa7c.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-zYvvyHd4.js +61 -0
- package/dist/chunks/keyboard-zYvvyHd4.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-BVY988pC.js +149 -0
- package/dist/chunks/optionFilter-BVY988pC.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-COWxgh2A.js +331 -0
- package/dist/chunks/ru-COWxgh2A.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/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-DCM4d3yA.js +212 -0
- package/dist/chunks/useModalOverlay-DCM4d3yA.js.map +1 -0
- package/dist/chunks/useOverlayLayer-BupuP_hs.js +149 -0
- package/dist/chunks/useOverlayLayer-BupuP_hs.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-CQ9T7Lly.js +851 -0
- package/dist/components/GrAutocomplete/chunks/GrAutocomplete-CQ9T7Lly.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-bnYBRGk8.js +584 -0
- package/dist/components/GrColorPicker/chunks/GrColorPicker-bnYBRGk8.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-MWDYDPNC.js +566 -0
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-MWDYDPNC.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 +2 -2
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-DaQmlp1_.js +200 -0
- package/dist/components/GrConfirmDialog/chunks/GrConfirmDialog-DaQmlp1_.js.map +1 -0
- package/dist/components/GrConfirmDialog/index.js +2 -2
- package/dist/components/GrDataTable/chunks/GrDataTable-DVFho9Cj.js +605 -0
- package/dist/components/GrDataTable/chunks/GrDataTable-DVFho9Cj.js.map +1 -0
- package/dist/components/GrDataTable/index.js +3 -3
- package/dist/components/GrDialog/chunks/GrDialog-AE1gIZuz.js +255 -0
- package/dist/components/GrDialog/chunks/GrDialog-AE1gIZuz.js.map +1 -0
- package/dist/components/GrDialog/index.js +1 -1
- package/dist/components/GrDialogService/chunks/GrDialogService-B4DYWDkA.js +656 -0
- package/dist/components/GrDialogService/chunks/GrDialogService-B4DYWDkA.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-DQwi6aRw.js +251 -0
- package/dist/components/GrDrawer/chunks/GrDrawer-DQwi6aRw.js.map +1 -0
- package/dist/components/GrDrawer/index.js +2 -2
- package/dist/components/GrDropdown/chunks/GrDropdown-BLng6V1m.js +300 -0
- package/dist/components/GrDropdown/chunks/GrDropdown-BLng6V1m.js.map +1 -0
- package/dist/components/GrDropdown/index.js +2 -2
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-BImk2Vs7.js +421 -0
- package/dist/components/GrDropdownMenu/chunks/GrDropdownMenu-BImk2Vs7.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-D0B-BEsd.js +1080 -0
- package/dist/components/GrFileUpload/chunks/GrFileUpload-D0B-BEsd.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-BeCnE8XQ.js +1103 -0
- package/dist/components/GrImageViewer/chunks/GrImageViewer-BeCnE8XQ.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-DD2gYdqS.js +348 -0
- package/dist/components/GrInput/chunks/GrInput-DD2gYdqS.js.map +1 -0
- package/dist/components/GrInput/index.js +2 -2
- package/dist/components/GrInputTag/chunks/GrInputTag-DmNunixz.js +525 -0
- package/dist/components/GrInputTag/chunks/GrInputTag-DmNunixz.js.map +1 -0
- package/dist/components/GrInputTag/index.js +2 -2
- package/dist/components/GrKbd/chunks/GrKbd-DRFPvW3G.js +192 -0
- package/dist/components/GrKbd/chunks/GrKbd-DRFPvW3G.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-B8I78T0N.js +313 -0
- package/dist/components/GrModal/chunks/GrModal-B8I78T0N.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-B6N0QZBf.js +283 -0
- package/dist/components/GrPagination/chunks/GrPagination-B6N0QZBf.js.map +1 -0
- package/dist/components/GrPagination/index.js +3 -3
- package/dist/components/GrPopover/chunks/GrPopover-B1eRCOoO.js +216 -0
- package/dist/components/GrPopover/chunks/GrPopover-B1eRCOoO.js.map +1 -0
- package/dist/components/GrPopover/index.js +3 -0
- package/dist/components/GrProgressBar/chunks/GrProgressBar-BiHnaitu.js +90 -0
- package/dist/components/GrProgressBar/chunks/GrProgressBar-BiHnaitu.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-CTogjcHz.js +210 -0
- package/dist/components/GrProgressCircle/chunks/GrProgressCircle-CTogjcHz.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-Ct174NVD.js +348 -0
- package/dist/components/GrPromptDialog/chunks/GrPromptDialog-Ct174NVD.js.map +1 -0
- package/dist/components/GrPromptDialog/index.js +2 -2
- package/dist/components/GrRadio/chunks/GrRadio-DksDro_U.js +277 -0
- package/dist/components/GrRadio/chunks/GrRadio-DksDro_U.js.map +1 -0
- package/dist/components/GrRadio/index.js +2 -2
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BOIhejE6.js +189 -0
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BOIhejE6.js.map +1 -0
- package/dist/components/GrRadioGroup/index.js +2 -2
- package/dist/components/GrRating/chunks/GrRating-JrHXz0Rv.js +315 -0
- package/dist/components/GrRating/chunks/GrRating-JrHXz0Rv.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-BQIlH5KI.js +406 -0
- package/dist/components/GrSegmented/chunks/GrSegmented-BQIlH5KI.js.map +1 -0
- package/dist/components/GrSegmented/index.js +3 -3
- package/dist/components/GrSelect/chunks/GrSelect-aqkPCqjd.js +1372 -0
- package/dist/components/GrSelect/chunks/GrSelect-aqkPCqjd.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-DkU9IQSX.js +392 -0
- package/dist/components/GrSlider/chunks/GrSlider-DkU9IQSX.js.map +1 -0
- package/dist/components/GrSlider/index.js +2 -2
- package/dist/components/GrSplitter/chunks/GrSplitter-7To8jbJ8.js +288 -0
- package/dist/components/GrSplitter/chunks/GrSplitter-7To8jbJ8.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-CttyoYPT.js +319 -0
- package/dist/components/GrStatistic/chunks/GrStatistic-CttyoYPT.js.map +1 -0
- package/dist/components/GrStatistic/index.js +2 -2
- package/dist/components/GrSwitch/chunks/GrSwitch-B9TYbiih.js +183 -0
- package/dist/components/GrSwitch/chunks/GrSwitch-B9TYbiih.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 +2 -2
- package/dist/components/GrTable/chunks/GrTable-BB-mI_NM.js +163 -0
- package/dist/components/GrTable/chunks/GrTable-BB-mI_NM.js.map +1 -0
- package/dist/components/GrTable/index.js +3 -3
- package/dist/components/GrTabs/chunks/GrTabs-B8CDq2D9.js +272 -0
- package/dist/components/GrTabs/chunks/GrTabs-B8CDq2D9.js.map +1 -0
- package/dist/components/GrTabs/index.js +3 -3
- package/dist/components/GrTextarea/chunks/GrTextarea-DUh5Tlo4.js +241 -0
- package/dist/components/GrTextarea/chunks/GrTextarea-DUh5Tlo4.js.map +1 -0
- package/dist/components/GrTextarea/index.js +2 -2
- package/dist/components/GrTimeline/chunks/GrTimeline-CE9b3s18.js +285 -0
- package/dist/components/GrTimeline/chunks/GrTimeline-CE9b3s18.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-BKQy3Srm.js +272 -0
- package/dist/components/GrToaster/chunks/GrToaster-BKQy3Srm.js.map +1 -0
- package/dist/components/GrToaster/index.js +1 -1
- package/dist/components/GrToaster/styles.css +1 -0
- package/dist/components/GrTooltip/chunks/GrTooltip-DEbejfhA.js +185 -0
- package/dist/components/GrTooltip/chunks/GrTooltip-DEbejfhA.js.map +1 -0
- package/dist/components/GrTooltip/index.js +3 -3
- package/dist/components/GrTree/chunks/GrTree-wfdbvygw.js +1339 -0
- package/dist/components/GrTree/chunks/GrTree-wfdbvygw.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-lLWmAMtI.js +623 -0
- package/dist/components/GrTreeSelect/chunks/GrTreeSelect-lLWmAMtI.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/useDismissible.js +31 -0
- package/dist/composables/useDismissible.js.map +1 -0
- package/dist/composables/useFloating.js +112 -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/useGrFormControl.js +24 -0
- package/dist/composables/useGrFormControl.js.map +1 -0
- package/dist/composables/useOverlayLayer.js +2 -0
- package/dist/composables/usePortalTarget.js +2 -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 +9 -15
- 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 +148 -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 +3132 -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 +9 -3
- 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/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/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/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 +27 -0
- package/dist/types/src/components/GrConfigProvider/index.d.ts +1 -0
- 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 +92 -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 +29 -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 +36 -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 +17 -3
- 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/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 +31 -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 +15 -0
- package/dist/types/src/components/GrKbd/index.d.ts +4 -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 +1 -0
- 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/grRadioGroupContext.d.ts +37 -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/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/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/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/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/grSliderStyles.d.ts +47 -8
- package/dist/types/src/components/GrSlider/index.d.ts +4 -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/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 +85 -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 +25 -1
- package/dist/types/src/components/GrToaster/config.d.ts +1 -1
- 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 -0
- 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 +46 -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/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 +60 -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/useComboboxNavigation.d.ts +51 -0
- 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/useDismissible.d.ts +32 -0
- package/dist/types/src/composables/useFocusTrap.d.ts +50 -0
- package/dist/types/src/composables/useGrFormControl.d.ts +52 -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/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 +13 -18
- package/dist/types/src/i18n/adapter.d.ts +24 -0
- package/dist/types/src/i18n/messages/en.d.ts +286 -2
- package/dist/types/src/i18n/messages/es.d.ts +290 -2
- package/dist/types/src/i18n/messages/ru.d.ts +294 -2
- package/dist/types/src/index.d.ts +26 -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 +46 -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 +6309 -2024
- package/package.json +90 -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-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-eXB87DOi.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/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/chunks/{config-eXB87DOi.js → config-eXB87DOi2.js} +0 -0
- /package/dist/{GrSkeleton.css → components/GrSkeleton/styles.css} +0 -0
- /package/dist/types/src/composables/{internal/useFloating.d.ts → useFloating.d.ts} +0 -0
|
@@ -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,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Единый стек слоёв оверлеев: модалки, drawer'ы, просмотрщик, панели селектов,
|
|
3
|
+
* дропдауны, подсказки — всё, что открывается поверх страницы.
|
|
4
|
+
*
|
|
5
|
+
* Список один, и порядок регистрации совпадает с порядком открытия, но из него
|
|
6
|
+
* выводятся **две разные вершины**:
|
|
7
|
+
*
|
|
8
|
+
* - **Esc** → последний слой любого рода. Дропдаун, открытый внутри модалки,
|
|
9
|
+
* обязан закрыться первым — пользователь видит верхним именно его.
|
|
10
|
+
* - **`inert`** → ставится на модальные слои ниже последнего **модального**.
|
|
11
|
+
* Немодальный слой сверху модалку не понижает: иначе окно ушло бы в `inert`
|
|
12
|
+
* вместе со своим же открытым дропдауном и перестало отвечать.
|
|
13
|
+
*
|
|
14
|
+
* Вести эти две вершины в двух независимых реестрах нельзя: реестры описывают
|
|
15
|
+
* один и тот же порядок и расходятся молча — достаточно оверлея, который
|
|
16
|
+
* зарегистрировался в одном и забыл про другой.
|
|
17
|
+
*
|
|
18
|
+
* Ловушку фокуса стек не реализует сам, но питает её (`useFocusTrap`): он
|
|
19
|
+
* видит слои из **разных деревьев рендера** (диалоги `useDialogService`
|
|
20
|
+
* монтируются отдельным `render()` в `body`) и знает их корни.
|
|
21
|
+
*/
|
|
22
|
+
export interface OverlayLayer {
|
|
23
|
+
/** Уникальный id зарегистрированного слоя. */
|
|
24
|
+
id: number;
|
|
25
|
+
/**
|
|
26
|
+
* Модальный слой: блокирует страницу и участвует в вычислении `inert`.
|
|
27
|
+
* Немодальные (поповеры, меню, подсказки) — только в очереди Esc.
|
|
28
|
+
*/
|
|
29
|
+
modal: boolean;
|
|
30
|
+
/** Закрывать ли слой по Esc (реактивный геттер: `closeOnEsc` и подобные). */
|
|
31
|
+
shouldClose: () => boolean;
|
|
32
|
+
/** Закрыть слой. */
|
|
33
|
+
close: () => void;
|
|
34
|
+
/** Уведомление «этот модальный слой сейчас верхний». Только для `modal`. */
|
|
35
|
+
setTopmost?: (isTopmost: boolean) => void;
|
|
36
|
+
/**
|
|
37
|
+
* Корень слоя. Ловушка фокуса нижнего слоя обязана считать его своим:
|
|
38
|
+
* панель селекта, открытого внутри модалки, телепортирована в `body` и лежит
|
|
39
|
+
* вне DOM-поддерева окна, но для пользователя это тот же слой.
|
|
40
|
+
*/
|
|
41
|
+
root?: () => HTMLElement | null;
|
|
42
|
+
}
|
|
43
|
+
/** Регистрирует слой как верхний и возвращает его id. */
|
|
44
|
+
export declare function pushOverlayLayer(layer: Omit<OverlayLayer, 'id'>): number;
|
|
45
|
+
/** Снимает слой со стека (при закрытии или размонтировании). */
|
|
46
|
+
export declare function removeOverlayLayer(id: number): void;
|
|
47
|
+
/**
|
|
48
|
+
* Корни слоёв, открытых **поверх** данного.
|
|
49
|
+
*
|
|
50
|
+
* Ими ловушка фокуса дополняет свой контейнер: всё, что открыто изнутри слоя
|
|
51
|
+
* (панель селекта, меню, подсказка), лежит в `body` отдельным поддеревом, и
|
|
52
|
+
* без этого списка ловушка утаскивала бы из него фокус обратно в окно.
|
|
53
|
+
*/
|
|
54
|
+
export declare function layerRootsAbove(id: number): HTMLElement[];
|
|
55
|
+
/** Корни всех зарегистрированных слоёв. */
|
|
56
|
+
export declare function allLayerRoots(): HTMLElement[];
|
|
57
|
+
/** Сколько слоёв открыто. Для тестов и диагностики. */
|
|
58
|
+
export declare function overlayStackSize(): number;
|
|
59
|
+
/** Тестовая/служебная очистка стека. */
|
|
60
|
+
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,51 @@
|
|
|
1
|
+
import type { ComputedRef, Ref } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Активный элемент списка комбобокса (`aria-activedescendant`-паттерн).
|
|
4
|
+
*
|
|
5
|
+
* Одна и та же механика — activeIndex, циклический кламп, id активного, скролл
|
|
6
|
+
* к нему, инициализация при открытии — была написана в пакете четырежды
|
|
7
|
+
* (Select, Autocomplete, CommandPalette, частично Dropdown) и уже расходилась
|
|
8
|
+
* до P1: Enter в Select активировал не тот элемент, что был подсвечен.
|
|
9
|
+
* «Кто активен» обязан быть один на всех.
|
|
10
|
+
*
|
|
11
|
+
* Осознанно **не** обобщается активация: Enter/Tab/typeahead/Space — доменная
|
|
12
|
+
* логика компонента (у Select — `add|option|fallback`, у палитры —
|
|
13
|
+
* `selectItem`). Примитив отдаёт состояние и механические клавиши
|
|
14
|
+
* (`handleNavigationKeys`), активацию компонент делает сам по `activeItem`.
|
|
15
|
+
*/
|
|
16
|
+
export interface UseComboboxNavigationOptions<TItem> {
|
|
17
|
+
/** Навигируемые элементы (без disabled) в порядке отображения. */
|
|
18
|
+
items: () => readonly TItem[];
|
|
19
|
+
/** Открыт ли комбобокс — `activeDescendantId` существует только при открытом. */
|
|
20
|
+
open: () => boolean;
|
|
21
|
+
/** DOM id элемента — цель `aria-activedescendant`. */
|
|
22
|
+
idOf: (item: TItem, index: number) => string;
|
|
23
|
+
/**
|
|
24
|
+
* Стартовый индекс для `init()` (обычно выбранное значение). Не задан или
|
|
25
|
+
* вне диапазона — первый элемент, при пустом списке — `-1`.
|
|
26
|
+
*/
|
|
27
|
+
initialIndex?: () => number;
|
|
28
|
+
/**
|
|
29
|
+
* Донести активный элемент до экрана. Виртуализация и `scrollIntoView` —
|
|
30
|
+
* забота компонента: только он знает свой контейнер и смещения окна.
|
|
31
|
+
*/
|
|
32
|
+
scrollTo?: (item: TItem, index: number) => void | Promise<void>;
|
|
33
|
+
}
|
|
34
|
+
export interface UseComboboxNavigationReturn<TItem> {
|
|
35
|
+
activeIndex: Ref<number>;
|
|
36
|
+
activeItem: ComputedRef<TItem | undefined>;
|
|
37
|
+
activeDescendantId: ComputedRef<string | undefined>;
|
|
38
|
+
/** Циклический кламп + прокрутка к элементу. */
|
|
39
|
+
setActive: (index: number) => void;
|
|
40
|
+
/** Активировать стартовый элемент (вызывается при открытии). */
|
|
41
|
+
init: () => void;
|
|
42
|
+
/** Сброс активного (вызывается при закрытии; палитра сбрасывает в `0`). */
|
|
43
|
+
reset: (index?: number) => void;
|
|
44
|
+
/**
|
|
45
|
+
* Механические клавиши: `ArrowDown`/`ArrowUp`/`Home`/`End`. Возвращает
|
|
46
|
+
* `true`, если клавиша обработана (с `preventDefault`), — остальное
|
|
47
|
+
* компонент разбирает сам.
|
|
48
|
+
*/
|
|
49
|
+
handleNavigationKeys: (event: KeyboardEvent) => boolean;
|
|
50
|
+
}
|
|
51
|
+
export declare function useComboboxNavigation<TItem>(options: UseComboboxNavigationOptions<TItem>): UseComboboxNavigationReturn<TItem>;
|
|
@@ -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;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
export interface UseFocusWithinOptions {
|
|
3
|
+
/** Фокус пришёл снаружи внутрь. */
|
|
4
|
+
enter?: (event: FocusEvent) => void;
|
|
5
|
+
/** Фокус ушёл изнутри наружу. */
|
|
6
|
+
leave?: (event: FocusEvent) => void;
|
|
7
|
+
/**
|
|
8
|
+
* Узлы, которые считаются частью контрола, хотя лежат вне корня. Нужны там,
|
|
9
|
+
* где панель телепортирована в `body`, а фокус в неё уходит по-настоящему:
|
|
10
|
+
* без них переход в поле фильтра открытой панели выглядел бы уходом наружу.
|
|
11
|
+
*/
|
|
12
|
+
containers?: () => (HTMLElement | null | undefined)[];
|
|
13
|
+
}
|
|
14
|
+
export interface UseFocusWithinHandlers {
|
|
15
|
+
onFocusIn: (event: FocusEvent) => void;
|
|
16
|
+
onFocusOut: (event: FocusEvent) => void;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Граница фокуса составного контрола.
|
|
20
|
+
*
|
|
21
|
+
* Нативные `focus`/`blur` не всплывают, поэтому у группы (радиогруппа,
|
|
22
|
+
* сегменты, набор чекбоксов) их не поймать на корне вовсе — всплывают только
|
|
23
|
+
* `focusin`/`focusout`. Но всплывают они и когда фокус переезжает **внутри**
|
|
24
|
+
* группы: между её пунктами, с поля на его же кнопку очистки. Для потребителя
|
|
25
|
+
* это не уход и не приход — контрол всё это время в фокусе, — а необработанный
|
|
26
|
+
* переход дал бы `blur` + `focus` на каждую стрелку клавиатуры.
|
|
27
|
+
*
|
|
28
|
+
* Поэтому событие считается состоявшимся, только если `relatedTarget` лежит вне
|
|
29
|
+
* корня. `relatedTarget: null` (клик по body, уход из окна, программный фокус)
|
|
30
|
+
* — тоже пересечение границы.
|
|
31
|
+
*/
|
|
32
|
+
export declare function useFocusWithin(root: Ref<HTMLElement | null>, options: UseFocusWithinOptions): UseFocusWithinHandlers;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Пока слой активен, всё вне его ветки помечено `inert`: от корня оверлея вверх
|
|
4
|
+
* до `<body>`, на каждом уровне — соседи.
|
|
5
|
+
*
|
|
6
|
+
* Это вторая половина модальности: `z-index` перекрывает страницу глазами,
|
|
7
|
+
* `inert` — клавиатурой и скринридером.
|
|
8
|
+
*/
|
|
9
|
+
export declare function useInertOthers(root: Ref<HTMLElement | null>, active: () => boolean): void;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import type { ComputedRef, Ref } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Модальный слой целиком: одна сборка на весь пакет.
|
|
4
|
+
*
|
|
5
|
+
* Модальность собиралась вручную в трёх компонентах (`GrModal`, `GrDrawer`,
|
|
6
|
+
* `GrImageViewer`) из шести примитивов, и сборка повторялась дословно. Дело не
|
|
7
|
+
* в объёме: в этой проводке сидят инварианты, каждый из которых при пропуске
|
|
8
|
+
* даёт тихий баг доступности, а не заметную поломку. Здесь они собраны в одном
|
|
9
|
+
* месте — забыть часть модального слоя больше нельзя.
|
|
10
|
+
*
|
|
11
|
+
* Что именно неочевидно:
|
|
12
|
+
*
|
|
13
|
+
* - **`restoreFocus: false` у ловушки.** Возврат фокуса принадлежит стеку
|
|
14
|
+
* слоёв: у него правило строже — вернуть, только если на момент закрытия
|
|
15
|
+
* фокус ещё был внутри слоя. Две системы возврата подрались бы за фокус.
|
|
16
|
+
* - **`containers: layer.rootsAbove`.** Панель селекта, открытого ВНУТРИ окна,
|
|
17
|
+
* телепортирована в `body` и лежит вне поддерева панели. Без этого списка
|
|
18
|
+
* ловушка считала бы её «снаружи» и отбирала фокус.
|
|
19
|
+
* - **Ловушка и `inert` работают, только пока слой верхний.** Иначе нижнее
|
|
20
|
+
* окно ворует фокус у открытого поверх него, а `inert` гасит собственную
|
|
21
|
+
* панель вместе со страницей.
|
|
22
|
+
* - **Клик по подложке считается только тот, что на ней и начался.** Иначе
|
|
23
|
+
* выделение текста мышью или перетаскивание, отпущенное за пределами панели,
|
|
24
|
+
* закрывает слой.
|
|
25
|
+
*
|
|
26
|
+
* Чего композабл НЕ делает: не рисует разметку. Корневой `div`, подложка и
|
|
27
|
+
* панель у трёх компонентов различаются по существу (обёртки скролла у окна,
|
|
28
|
+
* сквозные клики у немодальной панели, слои хрома у просмотрщика), а классами
|
|
29
|
+
* общий модуль владеть не вправе — пресет гранулярности подмешивает safelist
|
|
30
|
+
* только по директориям выбранных компонентов.
|
|
31
|
+
*/
|
|
32
|
+
export interface UseModalOverlayOptions {
|
|
33
|
+
/**
|
|
34
|
+
* Модальный ли слой: блокирует страницу, держит фокус, гасит нижние окна.
|
|
35
|
+
* Геттером — там, где модальность включается пропом (`GrDrawer`).
|
|
36
|
+
*/
|
|
37
|
+
modal?: boolean | (() => boolean);
|
|
38
|
+
/** Закрывать ли по Esc. Геттер — проп компонента реактивен. */
|
|
39
|
+
closeOnEscape?: () => boolean;
|
|
40
|
+
/** Закрывать ли по клику в подложку; читается обработчиками `backdrop`. */
|
|
41
|
+
closeOnBackdrop?: () => boolean;
|
|
42
|
+
/** Панель слоя: контейнер ловушки фокуса и её запасной приёмник. */
|
|
43
|
+
panel: Ref<HTMLElement | null>;
|
|
44
|
+
/**
|
|
45
|
+
* Свой корень слоя. У якорного оверлея (`GrPopover`) корень и панель — один
|
|
46
|
+
* элемент: в портал уезжает сама панель, отдельной обёртки нет. Не задан —
|
|
47
|
+
* композабл заводит корень сам, как у центрированных окон.
|
|
48
|
+
*/
|
|
49
|
+
root?: Ref<HTMLElement | null>;
|
|
50
|
+
/**
|
|
51
|
+
* Точечное переопределение точки монтирования (проп `teleportTo`). По
|
|
52
|
+
* умолчанию — общий портал оверлеев.
|
|
53
|
+
*/
|
|
54
|
+
teleportTo?: () => string | HTMLElement | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Кому отдать фокус при открытии. Не задан — первому фокусируемому внутри
|
|
57
|
+
* панели (правило `useFocusTrap`): просмотрщику нужна именно кнопка тулбара,
|
|
58
|
+
* а окну — сама панель, и оно передаёт её явно.
|
|
59
|
+
*/
|
|
60
|
+
initialFocus?: () => HTMLElement | null | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Блокировать ли скролл страницы. По умолчанию — пока слой открыт и модален:
|
|
63
|
+
* немодальная панель существует ровно ради работы со страницей под ней.
|
|
64
|
+
*/
|
|
65
|
+
lockScroll?: () => boolean;
|
|
66
|
+
}
|
|
67
|
+
export interface ModalOverlay {
|
|
68
|
+
/** Корень слоя: цель `ref` в шаблоне, хозяин `inert` и корень для стека слоёв. */
|
|
69
|
+
rootEl: Ref<HTMLElement | null>;
|
|
70
|
+
/** Смонтировано ли поддерево: держится до конца leave-анимации панели. */
|
|
71
|
+
isMounted: Ref<boolean>;
|
|
72
|
+
/** Показан ли слой: этим переключаются `<Transition>` внутри. */
|
|
73
|
+
isVisible: Ref<boolean>;
|
|
74
|
+
/** Верхний ли это слой сейчас. */
|
|
75
|
+
isTopmost: Ref<boolean>;
|
|
76
|
+
/** Значение атрибута `inert` для корня: слой перестал быть верхним. */
|
|
77
|
+
inertAttr: ComputedRef<true | undefined>;
|
|
78
|
+
portalTarget: ComputedRef<string | HTMLElement>;
|
|
79
|
+
teleportEnabled: ComputedRef<boolean>;
|
|
80
|
+
/** `data-theme` на телепортированный корень: в DOM он вне обёртки провайдера. */
|
|
81
|
+
themeAttrs: ComputedRef<{
|
|
82
|
+
'data-theme'?: string;
|
|
83
|
+
}>;
|
|
84
|
+
/** Для `@after-leave` панели. Компонент оборачивает, если ему нужен эмит `closed`. */
|
|
85
|
+
onPanelAfterLeave: () => void;
|
|
86
|
+
/**
|
|
87
|
+
* Обработчики подложки вместе с guard'ом «клик начался на ней». Имена — под
|
|
88
|
+
* `v-on="backdrop"`: объектный синтаксис ждёт имена событий, а не пропов.
|
|
89
|
+
*/
|
|
90
|
+
backdrop: {
|
|
91
|
+
mousedown: (event: MouseEvent) => void;
|
|
92
|
+
click: (event: MouseEvent) => void;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
export declare function useModalOverlay(open: Ref<boolean>, onDismiss: () => void, options: UseModalOverlayOptions): ModalOverlay;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
export interface OverlayPresence {
|
|
3
|
+
/** Смонтировано ли поддерево слоя: держится до конца leave-анимации. */
|
|
4
|
+
mounted: Ref<boolean>;
|
|
5
|
+
/** Показан ли слой: этим переключаются `<Transition>` внутри. */
|
|
6
|
+
visible: Ref<boolean>;
|
|
7
|
+
/** Вызывается из `@after-leave` панели. */
|
|
8
|
+
onPanelAfterLeave: () => void;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Присутствие оверлея в DOM отдельно от его видимости.
|
|
12
|
+
*
|
|
13
|
+
* Штатный `<Transition>` анимирует свой элемент, но не координирует соседей:
|
|
14
|
+
* убери обёртку по `v-if` — и подложка с панелью исчезнут мгновенно, без
|
|
15
|
+
* leave-анимации. Поэтому присутствие поддерева и видимость слоя — два разных
|
|
16
|
+
* флага: первый снимается только по концу leave-анимации панели.
|
|
17
|
+
*
|
|
18
|
+
* Видимость включается **в том же такте**, что и монтирование: содержимое окна
|
|
19
|
+
* обязано появляться в DOM сразу после открытия — на этом стоит и код
|
|
20
|
+
* потребителя, и внутренние компоненты, которые ищут в панели свои элементы.
|
|
21
|
+
* Enter-анимацию это не отменяет: `<Transition appear>` проигрывает её и на
|
|
22
|
+
* первом рендере ребёнка.
|
|
23
|
+
*/
|
|
24
|
+
export declare function useOverlayPresence(open: Ref<boolean>): OverlayPresence;
|
|
@@ -2,14 +2,19 @@
|
|
|
2
2
|
* useScrollLock — общий **reference-counted** lock скролла `<body>` для оверлеев
|
|
3
3
|
* (GrModal, GrDrawer, GrImageViewer).
|
|
4
4
|
*
|
|
5
|
-
* Зачем счётчик:
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* восстанавливается только когда закрыт последний оверлей (
|
|
5
|
+
* Зачем счётчик: состояние `<body>` принадлежит не оверлею, а их совокупности.
|
|
6
|
+
* Держи каждый свой `savedBodyOverflow`, и закрытие A при ещё открытой B вернуло
|
|
7
|
+
* бы странице прокрутку под открытым окном — закрывают не всегда в порядке
|
|
8
|
+
* открытия. Поэтому состояние сохраняется один раз (переход счётчика 0→1) и
|
|
9
|
+
* восстанавливается только когда закрыт последний оверлей (1→0).
|
|
10
10
|
*
|
|
11
11
|
* Плюс компенсация ширины скроллбара: при `overflow: hidden` скроллбар исчезает и
|
|
12
12
|
* контент дёргается вправо — добавляем `padding-right` на его ширину.
|
|
13
|
+
*
|
|
14
|
+
* Отдельная ветка — iOS Safari: там `overflow: hidden` фон не держит, страница
|
|
15
|
+
* продолжает «резинить» под открытым окном. Лечится тем же, чем лечил
|
|
16
|
+
* HeadlessUI (`handleIOSLocking`): гасим `touchmove` вне скроллящихся областей
|
|
17
|
+
* оверлея и возвращаем позицию прокрутки после снятия лока.
|
|
13
18
|
*/
|
|
14
19
|
/**
|
|
15
20
|
* Возвращает пару `lock`/`unlock`, идемпотентную **в пределах одного инстанса**
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Можно ли телепортировать содержимое прямо сейчас.
|
|
4
|
+
*
|
|
5
|
+
* Возвращает `false` на сервере И на первом клиентском рендере, `true` — сразу
|
|
6
|
+
* после монтирования. Использовать так:
|
|
7
|
+
*
|
|
8
|
+
* ```vue
|
|
9
|
+
* <teleport to="body" :disabled="!teleportEnabled">…</teleport>
|
|
10
|
+
* ```
|
|
11
|
+
*
|
|
12
|
+
* ## Зачем, если есть `typeof window !== 'undefined'`
|
|
13
|
+
*
|
|
14
|
+
* Проверка окружения выглядит достаточной, но именно она и ломала гидрацию.
|
|
15
|
+
* `isClient` вычисляется в `setup`, поэтому получалось так:
|
|
16
|
+
*
|
|
17
|
+
* - сервер: `window` нет → телепорт выключен → содержимое остаётся НА МЕСТЕ
|
|
18
|
+
* (`:disabled` означает «рендерить на месте», а не «не рендерить»);
|
|
19
|
+
* - клиент, первый рендер: `window` есть → телепорт включён → содержимое сразу
|
|
20
|
+
* уезжает в `body`.
|
|
21
|
+
*
|
|
22
|
+
* Структуры не совпадают, Vue сообщает `Hydration node mismatch`. В лучшем
|
|
23
|
+
* случае это лишний варнинг и осиротевшая копия панели в DOM; в худшем —
|
|
24
|
+
* панель «прилипает» к контейнеру приложения и пишет в него свои стили
|
|
25
|
+
* (`position: fixed` + `display: none` у закрытой панели), после чего страница
|
|
26
|
+
* исчезает целиком.
|
|
27
|
+
*
|
|
28
|
+
* Флаг, поднимаемый в `onMounted`, снимает проблему по построению: **первый**
|
|
29
|
+
* клиентский рендер повторяет серверный, а телепорт включается уже после
|
|
30
|
+
* гидрации. Для компонентов без SSR это ничего не меняет: панели закрыты
|
|
31
|
+
* (`v-show`/`v-if`), а `onMounted` срабатывает в том же тике.
|
|
32
|
+
*
|
|
33
|
+
* Стенд, на котором это воспроизводится и проверяется, — `apps/playground-ssr`.
|
|
34
|
+
*/
|
|
35
|
+
export declare function useTeleportEnabled(): Readonly<Ref<boolean>>;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Общий живой регион пакета: один канал `aria-live` на документ.
|
|
3
|
+
*
|
|
4
|
+
* До него каждый компонент строил свой `role="status"`, а сообщить что-то
|
|
5
|
+
* скринридеру из кода приложения («скопировано», «строка удалена», «найдено N»)
|
|
6
|
+
* было нечем вовсе. Регион виджета остаётся правильным решением, когда он
|
|
7
|
+
* рендерит **состояние** этого виджета (счётчик символов, «загружается»,
|
|
8
|
+
* «ничего не найдено»); объявитель — для **события**, которое произошло и
|
|
9
|
+
* прошло, и своего места в разметке не имеет.
|
|
10
|
+
*
|
|
11
|
+
* ```ts
|
|
12
|
+
* const { announce } = useAnnouncer()
|
|
13
|
+
* announce('Ссылка скопирована')
|
|
14
|
+
* announce('Не удалось сохранить', { politeness: 'assertive' })
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* Композабл не требует setup-контекста: его можно звать из обычного `.ts` —
|
|
18
|
+
* из стора, обработчика, перехватчика запросов.
|
|
19
|
+
*/
|
|
20
|
+
export type GrAnnouncerPoliteness = 'polite' | 'assertive';
|
|
21
|
+
export interface GrAnnounceOptions {
|
|
22
|
+
/**
|
|
23
|
+
* `assertive` перебивает текущую речь и уместен только для того, что нельзя
|
|
24
|
+
* пропустить (отказ операции, потеря соединения). По умолчанию `polite` —
|
|
25
|
+
* диктор дочитает начатое.
|
|
26
|
+
*/
|
|
27
|
+
politeness?: GrAnnouncerPoliteness;
|
|
28
|
+
/**
|
|
29
|
+
* Через сколько мс стереть текст. `0` — не стирать.
|
|
30
|
+
*
|
|
31
|
+
* Регион остаётся в DOM, и пользователь виртуального курсора наткнётся на
|
|
32
|
+
* его содержимое при обходе страницы — через минуту после события это уже
|
|
33
|
+
* дезинформация. По умолчанию `7000`.
|
|
34
|
+
*/
|
|
35
|
+
clearAfterMs?: number;
|
|
36
|
+
}
|
|
37
|
+
export interface GrAnnouncer {
|
|
38
|
+
announce: (message: string, options?: GrAnnounceOptions) => void;
|
|
39
|
+
/** Стирает текст региона. Без аргумента — обоих. */
|
|
40
|
+
clear: (politeness?: GrAnnouncerPoliteness) => void;
|
|
41
|
+
}
|
|
42
|
+
export declare function useAnnouncer(): GrAnnouncer;
|
|
43
|
+
/** Тестовая/служебная очистка: снимает хост и все отложенные записи. */
|
|
44
|
+
export declare function resetAnnouncer(): void;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
export interface UseDismissibleOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Закрывать ли слой по Esc. Геттер, а не значение, — чтобы читать реактивный
|
|
5
|
+
* проп (`closeOnEsc`). По умолчанию закрывается всегда.
|
|
6
|
+
*
|
|
7
|
+
* Если геттер вернёт `false`, нажатие всё равно не пройдёт на слой ниже:
|
|
8
|
+
* пользователь видит верхний слой, и Esc адресован ему.
|
|
9
|
+
*/
|
|
10
|
+
closeOnEscape?: () => boolean;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Регистрирует оверлей в общем стеке dismissible-слоёв, пока `open` истинно.
|
|
14
|
+
*
|
|
15
|
+
* Контракт один на все оверлеи пакета: **Esc закрывает верхний слой** — тот,
|
|
16
|
+
* что открыт последним, — и ниже не проваливается. Поэтому панель, открытая
|
|
17
|
+
* внутри модалки, по Esc закрывает себя, а не модалку; следующий Esc закроет
|
|
18
|
+
* уже модалку.
|
|
19
|
+
*
|
|
20
|
+
* Композабл нужен и потребителю: свой поповер, меню или подсказка, построенные
|
|
21
|
+
* поверх `useFloating()`, обязаны участвовать в том же стеке — иначе они снова
|
|
22
|
+
* разъедутся с оверлеями библиотеки.
|
|
23
|
+
*
|
|
24
|
+
* ```ts
|
|
25
|
+
* const open = ref(false)
|
|
26
|
+
* useDismissible(open, () => { open.value = false })
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* Закрытие по клику вне слоя — отдельная задача, для неё есть директива
|
|
30
|
+
* `vClickOutside`: у Esc есть порядок слоёв, у клика — точка попадания.
|
|
31
|
+
*/
|
|
32
|
+
export declare function useDismissible(open: Ref<boolean>, onDismiss: () => void, options?: UseDismissibleOptions): void;
|