@feugene/granularity 0.16.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{config-Zc_bUvZY2.js → config-BDfTXHo12.js} +1 -1
- package/dist/chunks/{config-Zc_bUvZY2.js.map → config-BDfTXHo12.js.map} +1 -1
- package/dist/chunks/config-BE6n20np2.js.map +1 -0
- package/dist/chunks/{config-CpwwkFBO.js → config-Baj7Wvx-.js} +1 -1
- package/dist/chunks/{config-CpwwkFBO.js.map → config-Baj7Wvx-.js.map} +1 -1
- package/dist/chunks/config-BoNR7_PD2.js.map +1 -0
- package/dist/chunks/{config-DxCTVBfx.js → config-BsPDQ0dS.js} +2 -2
- package/dist/chunks/config-BsPDQ0dS.js.map +1 -0
- package/dist/chunks/config-CN2ULSQL.js.map +1 -0
- package/dist/chunks/{config-Cw6TDzWv2.js → config-COpuWGr_.js} +1 -1
- package/dist/chunks/config-COpuWGr_.js.map +1 -0
- package/dist/chunks/config-D2aNP7Es.js +70 -0
- package/dist/chunks/config-D2aNP7Es.js.map +1 -0
- package/dist/chunks/config-D94Z9po5.js.map +1 -0
- package/dist/chunks/{config-B-g6lT19.js → config-DA6SnEoy.js} +5 -2
- package/dist/chunks/config-DA6SnEoy.js.map +1 -0
- package/dist/chunks/config-DCFvmHEv2.js.map +1 -0
- package/dist/chunks/config-DEvsMTQE.js +150 -0
- package/dist/chunks/config-DEvsMTQE.js.map +1 -0
- package/dist/chunks/{config-CvC0sX8p.js → config-MRvhUl-O.js} +1 -1
- package/dist/chunks/{config-CvC0sX8p.js.map → config-MRvhUl-O.js.map} +1 -1
- package/dist/chunks/config-ScuvHw6k2.js +42 -0
- package/dist/chunks/config-ScuvHw6k2.js.map +1 -0
- package/dist/chunks/config-T3qdQBgU2.js.map +1 -0
- package/dist/chunks/config-eXB87DOi.js.map +1 -0
- package/dist/chunks/{config-D8tSR2uS.js → config-gvq_hWNM.js} +1 -1
- package/dist/chunks/{config-D8tSR2uS.js.map → config-gvq_hWNM.js.map} +1 -1
- package/dist/chunks/context-BSYR7RZs.js.map +1 -1
- package/dist/chunks/{en-B3xMeswz.js → en-COdzxgAX.js} +30 -5
- package/dist/chunks/en-COdzxgAX.js.map +1 -0
- package/dist/chunks/{es-CA-mkU--.js → es-ClqJ-4hr.js} +30 -5
- package/dist/chunks/es-ClqJ-4hr.js.map +1 -0
- package/dist/chunks/{es-Bv8vvqdT.js → es-DGMHwknJ.js} +3 -3
- package/dist/chunks/{es-Bv8vvqdT.js.map → es-DGMHwknJ.js.map} +1 -1
- package/dist/chunks/grKbdStyles-CeZhGQHr.js +43 -0
- package/dist/chunks/grKbdStyles-CeZhGQHr.js.map +1 -0
- package/dist/chunks/{grTextareaStyles-CWI2SqC8.js → grTextareaStyles-iOcHuVMM.js} +2 -2
- package/dist/chunks/{grTextareaStyles-CWI2SqC8.js.map → grTextareaStyles-iOcHuVMM.js.map} +1 -1
- package/dist/chunks/{granular-provider-CtrXGa7c.js → granular-provider-B9nXQCMu.js} +18 -16
- package/dist/chunks/granular-provider-B9nXQCMu.js.map +1 -0
- package/dist/chunks/{keyboard-zYvvyHd4.js → keyboard-DE2yhz_b.js} +10 -1
- package/dist/chunks/keyboard-DE2yhz_b.js.map +1 -0
- package/dist/chunks/{optionFilter-BVY988pC.js → optionFilter-DYw9XPPx.js} +1 -71
- package/dist/chunks/optionFilter-DYw9XPPx.js.map +1 -0
- package/dist/chunks/{useOverlayLayer-BupuP_hs.js → overlayStack-C8cfsqXa.js} +11 -61
- package/dist/chunks/overlayStack-C8cfsqXa.js.map +1 -0
- package/dist/chunks/{ru-COWxgh2A.js → ru-9z8ix45c.js} +30 -5
- package/dist/chunks/ru-9z8ix45c.js.map +1 -0
- package/dist/chunks/useDragSort-0l47h4yb.js +265 -0
- package/dist/chunks/useDragSort-0l47h4yb.js.map +1 -0
- package/dist/chunks/{useModalOverlay-DCM4d3yA.js → useModalOverlay-BTq-0ImG.js} +1 -1
- package/dist/chunks/{useModalOverlay-DCM4d3yA.js.map → useModalOverlay-BTq-0ImG.js.map} +1 -1
- package/dist/components/GrAutocomplete/chunks/{GrAutocomplete-CQ9T7Lly.js → GrAutocomplete-CPEQxmLZ.js} +4 -3
- package/dist/components/GrAutocomplete/chunks/GrAutocomplete-CPEQxmLZ.js.map +1 -0
- package/dist/components/GrAutocomplete/index.js +1 -1
- package/dist/components/GrAutocomplete/styles.css +1 -1
- package/dist/components/GrColorPicker/chunks/{GrColorPicker-bnYBRGk8.js → GrColorPicker-DAdQ-Gc3.js} +4 -4
- package/dist/components/GrColorPicker/chunks/{GrColorPicker-bnYBRGk8.js.map → GrColorPicker-DAdQ-Gc3.js.map} +1 -1
- package/dist/components/GrColorPicker/index.js +2 -2
- package/dist/components/GrCommandPalette/chunks/{GrCommandPalette-MWDYDPNC.js → GrCommandPalette-DMeSqkEv.js} +6 -7
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-DMeSqkEv.js.map +1 -0
- package/dist/components/GrCommandPalette/index.js +1 -1
- package/dist/components/GrCommandPalette/styles.css +1 -1
- package/dist/components/GrConfigProvider/index.js +2 -2
- package/dist/components/GrConfirmDialog/chunks/{GrConfirmDialog-DaQmlp1_.js → GrConfirmDialog-hUTi-GdJ.js} +1 -1
- package/dist/components/GrConfirmDialog/chunks/{GrConfirmDialog-DaQmlp1_.js.map → GrConfirmDialog-hUTi-GdJ.js.map} +1 -1
- package/dist/components/GrConfirmDialog/index.js +1 -1
- package/dist/components/GrDataTable/chunks/{GrDataTable-DVFho9Cj.js → GrDataTable-DzaGLG3A.js} +495 -47
- package/dist/components/GrDataTable/chunks/GrDataTable-DzaGLG3A.js.map +1 -0
- package/dist/components/GrDataTable/index.js +2 -2
- package/dist/components/GrDialog/chunks/{GrDialog-AE1gIZuz.js → GrDialog-MD9Fzy9C.js} +1 -1
- package/dist/components/GrDialog/chunks/{GrDialog-AE1gIZuz.js.map → GrDialog-MD9Fzy9C.js.map} +1 -1
- package/dist/components/GrDialog/index.js +1 -1
- package/dist/components/GrDialogService/chunks/{GrDialogService-B4DYWDkA.js → GrDialogService-DtgUijMj.js} +2 -2
- package/dist/components/GrDialogService/chunks/{GrDialogService-B4DYWDkA.js.map → GrDialogService-DtgUijMj.js.map} +1 -1
- package/dist/components/GrDialogService/index.js +1 -1
- package/dist/components/GrDrawer/chunks/{GrDrawer-DQwi6aRw.js → GrDrawer-DWHdZZzW.js} +2 -2
- package/dist/components/GrDrawer/chunks/{GrDrawer-DQwi6aRw.js.map → GrDrawer-DWHdZZzW.js.map} +1 -1
- package/dist/components/GrDrawer/index.js +2 -2
- package/dist/components/GrDropdown/chunks/{GrDropdown-BLng6V1m.js → GrDropdown-0tJK01Kq.js} +2 -2
- package/dist/components/GrDropdown/chunks/{GrDropdown-BLng6V1m.js.map → GrDropdown-0tJK01Kq.js.map} +1 -1
- package/dist/components/GrDropdown/index.js +1 -1
- package/dist/components/GrDropdownMenu/chunks/{GrDropdownMenu-BImk2Vs7.js → GrDropdownMenu-VPPrpCoA.js} +1 -1
- package/dist/components/GrDropdownMenu/chunks/{GrDropdownMenu-BImk2Vs7.js.map → GrDropdownMenu-VPPrpCoA.js.map} +1 -1
- package/dist/components/GrDropdownMenu/index.js +1 -1
- package/dist/components/GrFileUpload/chunks/{GrFileUpload-D0B-BEsd.js → GrFileUpload-DuDzC43S.js} +2 -2
- package/dist/components/GrFileUpload/chunks/{GrFileUpload-D0B-BEsd.js.map → GrFileUpload-DuDzC43S.js.map} +1 -1
- package/dist/components/GrFileUpload/index.js +1 -1
- package/dist/components/GrImageViewer/chunks/{GrImageViewer-BeCnE8XQ.js → GrImageViewer-DE7MBbF8.js} +46 -22
- package/dist/components/GrImageViewer/chunks/GrImageViewer-DE7MBbF8.js.map +1 -0
- package/dist/components/GrImageViewer/index.js +1 -1
- package/dist/components/GrInput/chunks/{GrInput-DD2gYdqS.js → GrInput-2wd7Crs0.js} +1 -1
- package/dist/components/GrInput/chunks/GrInput-2wd7Crs0.js.map +1 -0
- package/dist/components/GrInput/index.js +1 -1
- package/dist/components/GrInputTag/chunks/{GrInputTag-DmNunixz.js → GrInputTag-CyV2eY7Z.js} +20 -33
- package/dist/components/GrInputTag/chunks/GrInputTag-CyV2eY7Z.js.map +1 -0
- package/dist/components/GrInputTag/index.js +1 -1
- package/dist/components/GrKbd/chunks/{GrKbd-DRFPvW3G.js → GrKbd-DU2lBkRV.js} +218 -52
- package/dist/components/GrKbd/chunks/GrKbd-DU2lBkRV.js.map +1 -0
- package/dist/components/GrKbd/index.js +3 -3
- package/dist/components/GrModal/chunks/{GrModal-B8I78T0N.js → GrModal-BbhcsDQ8.js} +1 -1
- package/dist/components/GrModal/chunks/{GrModal-B8I78T0N.js.map → GrModal-BbhcsDQ8.js.map} +1 -1
- package/dist/components/GrModal/index.js +1 -1
- package/dist/components/GrPagination/chunks/{GrPagination-B6N0QZBf.js → GrPagination-waKhxBP7.js} +4 -4
- package/dist/components/GrPagination/chunks/GrPagination-waKhxBP7.js.map +1 -0
- package/dist/components/GrPagination/index.js +1 -1
- package/dist/components/GrPopover/chunks/{GrPopover-B1eRCOoO.js → GrPopover-DuqeoFaI.js} +1 -1
- package/dist/components/GrPopover/chunks/{GrPopover-B1eRCOoO.js.map → GrPopover-DuqeoFaI.js.map} +1 -1
- package/dist/components/GrPopover/index.js +1 -1
- package/dist/components/GrProgressBar/chunks/{GrProgressBar-BiHnaitu.js → GrProgressBar-xwbNM9QB.js} +1 -1
- package/dist/components/GrProgressBar/chunks/GrProgressBar-xwbNM9QB.js.map +1 -0
- package/dist/components/GrProgressBar/index.js +1 -1
- package/dist/components/GrProgressCircle/chunks/{GrProgressCircle-CTogjcHz.js → GrProgressCircle-B8olXRo5.js} +1 -1
- package/dist/components/GrProgressCircle/chunks/{GrProgressCircle-CTogjcHz.js.map → GrProgressCircle-B8olXRo5.js.map} +1 -1
- package/dist/components/GrProgressCircle/index.js +2 -2
- package/dist/components/GrPromptDialog/chunks/{GrPromptDialog-Ct174NVD.js → GrPromptDialog-JVVqBsPY.js} +3 -3
- package/dist/components/GrPromptDialog/chunks/{GrPromptDialog-Ct174NVD.js.map → GrPromptDialog-JVVqBsPY.js.map} +1 -1
- package/dist/components/GrPromptDialog/index.js +1 -1
- package/dist/components/GrRadio/chunks/{GrRadio-DksDro_U.js → GrRadio-DWiRaMzt.js} +8 -32
- package/dist/components/GrRadio/chunks/GrRadio-DWiRaMzt.js.map +1 -0
- package/dist/components/GrRadio/index.js +1 -1
- package/dist/components/GrRadioGroup/chunks/{GrRadioGroup-BOIhejE6.js → GrRadioGroup-DIuBw0wk.js} +34 -27
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-DIuBw0wk.js.map +1 -0
- package/dist/components/GrRadioGroup/index.js +1 -1
- package/dist/components/GrRating/chunks/{GrRating-JrHXz0Rv.js → GrRating-LarIiwJL.js} +2 -2
- package/dist/components/GrRating/chunks/GrRating-LarIiwJL.js.map +1 -0
- package/dist/components/GrRating/index.js +2 -2
- package/dist/components/GrSegmented/chunks/{GrSegmented-BQIlH5KI.js → GrSegmented-CQw3ijqa.js} +47 -65
- package/dist/components/GrSegmented/chunks/GrSegmented-CQw3ijqa.js.map +1 -0
- package/dist/components/GrSegmented/index.js +1 -1
- package/dist/components/GrSelect/chunks/{GrSelect-aqkPCqjd.js → GrSelect-DAdu044K.js} +4 -3
- package/dist/components/GrSelect/chunks/GrSelect-DAdu044K.js.map +1 -0
- package/dist/components/GrSelect/index.js +1 -1
- package/dist/components/GrSlider/chunks/{GrSlider-DkU9IQSX.js → GrSlider-CyhVsNKn.js} +21 -34
- package/dist/components/GrSlider/chunks/GrSlider-CyhVsNKn.js.map +1 -0
- package/dist/components/GrSlider/index.js +2 -2
- package/dist/components/GrSortableList/chunks/GrSortableList-BefVfWKh.js +276 -0
- package/dist/components/GrSortableList/chunks/GrSortableList-BefVfWKh.js.map +1 -0
- package/dist/components/GrSortableList/index.js +3 -0
- package/dist/components/GrSplitter/chunks/{GrSplitter-7To8jbJ8.js → GrSplitter-BzxVQwbY.js} +17 -37
- package/dist/components/GrSplitter/chunks/GrSplitter-BzxVQwbY.js.map +1 -0
- package/dist/components/GrSplitter/index.js +2 -2
- package/dist/components/GrStatistic/chunks/{GrStatistic-CttyoYPT.js → GrStatistic-J4qLs3TH.js} +1 -1
- package/dist/components/GrStatistic/chunks/{GrStatistic-CttyoYPT.js.map → GrStatistic-J4qLs3TH.js.map} +1 -1
- package/dist/components/GrStatistic/index.js +2 -2
- package/dist/components/GrSwitch/chunks/{GrSwitch-B9TYbiih.js → GrSwitch-DpyvVrZG.js} +1 -1
- package/dist/components/GrSwitch/chunks/{GrSwitch-B9TYbiih.js.map → GrSwitch-DpyvVrZG.js.map} +1 -1
- package/dist/components/GrSwitch/index.js +2 -2
- package/dist/components/GrTabPanels/index.js +1 -1
- package/dist/components/GrTable/chunks/{GrTable-BB-mI_NM.js → GrTable-BfqgwETQ.js} +7 -1
- package/dist/components/GrTable/chunks/GrTable-BfqgwETQ.js.map +1 -0
- package/dist/components/GrTable/index.js +1 -1
- package/dist/components/GrTabs/chunks/{GrTabs-B8CDq2D9.js → GrTabs-TeXaU5Uh.js} +50 -61
- package/dist/components/GrTabs/chunks/GrTabs-TeXaU5Uh.js.map +1 -0
- package/dist/components/GrTabs/index.js +1 -1
- package/dist/components/GrTextarea/chunks/{GrTextarea-DUh5Tlo4.js → GrTextarea-DSvd1nSy.js} +1 -1
- package/dist/components/GrTextarea/chunks/{GrTextarea-DUh5Tlo4.js.map → GrTextarea-DSvd1nSy.js.map} +1 -1
- package/dist/components/GrTextarea/index.js +2 -2
- package/dist/components/GrTimeline/chunks/{GrTimeline-CE9b3s18.js → GrTimeline-B-h2Yanw.js} +1 -1
- package/dist/components/GrTimeline/chunks/{GrTimeline-CE9b3s18.js.map → GrTimeline-B-h2Yanw.js.map} +1 -1
- package/dist/components/GrTimeline/index.js +2 -2
- package/dist/components/GrToaster/chunks/{GrToaster-BKQy3Srm.js → GrToaster-Ct-39hga.js} +113 -12
- package/dist/components/GrToaster/chunks/GrToaster-Ct-39hga.js.map +1 -0
- package/dist/components/GrToaster/index.js +2 -2
- package/dist/components/GrToaster/styles.css +1 -1
- package/dist/components/GrTooltip/chunks/{GrTooltip-DEbejfhA.js → GrTooltip-xAcqs0bP.js} +1 -1
- package/dist/components/GrTooltip/chunks/{GrTooltip-DEbejfhA.js.map → GrTooltip-xAcqs0bP.js.map} +1 -1
- package/dist/components/GrTooltip/index.js +2 -2
- package/dist/components/GrTree/chunks/{GrTree-wfdbvygw.js → GrTree-CaYK8dGZ.js} +124 -92
- package/dist/components/GrTree/chunks/GrTree-CaYK8dGZ.js.map +1 -0
- package/dist/components/GrTree/index.js +1 -1
- package/dist/components/GrTree/styles.css +1 -1
- package/dist/components/GrTreeSelect/chunks/{GrTreeSelect-lLWmAMtI.js → GrTreeSelect-DZp7CqqW.js} +4 -4
- package/dist/components/GrTreeSelect/chunks/{GrTreeSelect-lLWmAMtI.js.map → GrTreeSelect-DZp7CqqW.js.map} +1 -1
- package/dist/components/GrTreeSelect/index.js +2 -2
- package/dist/composables/useComboboxNavigation.js +71 -0
- package/dist/composables/useComboboxNavigation.js.map +1 -0
- package/dist/composables/useDismissible.js +1 -1
- package/dist/composables/useDragGesture.js +55 -0
- package/dist/composables/useDragGesture.js.map +1 -0
- package/dist/composables/useDragSort.js +2 -0
- package/dist/composables/useFloating.js +22 -1
- package/dist/composables/useFloating.js.map +1 -1
- package/dist/composables/useGrComponentConfig.js +2 -0
- package/dist/composables/useGranularityTranslations.js +2 -0
- package/dist/composables/useOverlayLayer.js +64 -1
- package/dist/composables/useOverlayLayer.js.map +1 -0
- package/dist/composables/useRovingFocus.js +150 -0
- package/dist/composables/useRovingFocus.js.map +1 -0
- package/dist/directives/hotkey.js +13 -7
- package/dist/directives/hotkey.js.map +1 -1
- package/dist/granular-provider-node.js +1 -1
- package/dist/granular-provider.js +1 -1
- package/dist/i18n/all.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/index.js +67 -58
- package/dist/tokens.js +84 -0
- package/dist/tokens.js.map +1 -1
- package/dist/types/src/components/GrAlert/defaults.d.ts +1 -1
- package/dist/types/src/components/GrAutocomplete/defaults.d.ts +1 -1
- package/dist/types/src/components/GrAvatar/defaults.d.ts +1 -1
- package/dist/types/src/components/GrBadge/defaults.d.ts +1 -1
- package/dist/types/src/components/GrBottomNav/defaults.d.ts +1 -1
- package/dist/types/src/components/GrBreadcrumbs/defaults.d.ts +1 -1
- package/dist/types/src/components/GrButton/defaults.d.ts +1 -1
- package/dist/types/src/components/GrCard/defaults.d.ts +1 -1
- package/dist/types/src/components/GrCheckbox/defaults.d.ts +1 -1
- package/dist/types/src/components/GrCheckboxGroup/defaults.d.ts +1 -1
- package/dist/types/src/components/GrCollapse/defaults.d.ts +1 -1
- package/dist/types/src/components/GrColorPicker/defaults.d.ts +1 -1
- package/dist/types/src/components/GrColorPicker/grColorPickerStyles.d.ts +2 -2
- package/dist/types/src/components/GrCommandPalette/defaults.d.ts +1 -1
- package/dist/types/src/components/GrConfigProvider/context.d.ts +6 -22
- package/dist/types/src/components/GrConfigProvider/index.d.ts +1 -1
- package/dist/types/src/components/GrConfirmDialog/defaults.d.ts +1 -1
- package/dist/types/src/components/GrDataTable/GrDataTable.vue.d.ts +53 -0
- package/dist/types/src/components/GrDataTable/defaults.d.ts +1 -1
- package/dist/types/src/components/GrDataTable/grDataTableStyles.d.ts +39 -0
- package/dist/types/src/components/GrDialog/defaults.d.ts +1 -1
- package/dist/types/src/components/GrDivider/defaults.d.ts +1 -1
- package/dist/types/src/components/GrDrawer/defaults.d.ts +1 -1
- package/dist/types/src/components/GrEmptyState/defaults.d.ts +1 -1
- package/dist/types/src/components/GrFileUpload/defaults.d.ts +1 -1
- package/dist/types/src/components/GrFormField/defaults.d.ts +1 -1
- package/dist/types/src/components/GrFormFile/defaults.d.ts +1 -1
- package/dist/types/src/components/GrFormSection/defaults.d.ts +1 -1
- package/dist/types/src/components/GrIcon/defaults.d.ts +1 -1
- package/dist/types/src/components/GrImageViewer/composables/usePointerGestures.d.ts +1 -0
- package/dist/types/src/components/GrImageViewer/composables/useZoomPan.d.ts +1 -2
- package/dist/types/src/components/GrInput/defaults.d.ts +1 -1
- package/dist/types/src/components/GrInputTag/defaults.d.ts +1 -1
- package/dist/types/src/components/GrKbd/GrKbd.vue.d.ts +18 -3
- package/dist/types/src/components/GrKbd/defaults.d.ts +1 -1
- package/dist/types/src/components/GrKbd/grKbdStyles.d.ts +20 -3
- package/dist/types/src/components/GrKbd/index.d.ts +6 -0
- package/dist/types/src/components/GrLink/defaults.d.ts +1 -1
- package/dist/types/src/components/GrModal/defaults.d.ts +1 -1
- package/dist/types/src/components/GrNumberInput/defaults.d.ts +1 -1
- package/dist/types/src/components/GrPagination/defaults.d.ts +1 -1
- package/dist/types/src/components/GrPopover/GrPopover.vue.d.ts +1 -1
- package/dist/types/src/components/GrPopover/defaults.d.ts +1 -1
- package/dist/types/src/components/GrProgressBar/defaults.d.ts +1 -1
- package/dist/types/src/components/GrProgressCircle/defaults.d.ts +1 -1
- package/dist/types/src/components/GrProgressCircle/grProgressCircleStyles.d.ts +1 -1
- package/dist/types/src/components/GrPromptDialog/defaults.d.ts +1 -1
- package/dist/types/src/components/GrRadio/defaults.d.ts +1 -1
- package/dist/types/src/components/GrRadio/grRadioGroupContext.d.ts +12 -4
- package/dist/types/src/components/GrRadioGroup/defaults.d.ts +1 -1
- package/dist/types/src/components/GrRating/defaults.d.ts +1 -1
- package/dist/types/src/components/GrSegmented/defaults.d.ts +1 -1
- package/dist/types/src/components/GrSelect/defaults.d.ts +1 -1
- package/dist/types/src/components/GrSlider/defaults.d.ts +1 -1
- package/dist/types/src/components/GrSortableList/GrSortableList.vue.d.ts +68 -0
- package/dist/types/src/components/GrSortableList/config.d.ts +1 -0
- package/dist/types/src/components/GrSortableList/grSortableListStyles.d.ts +38 -0
- package/dist/types/src/components/GrSortableList/index.d.ts +9 -0
- package/dist/types/src/components/GrSortableList/safelist.d.ts +1 -0
- package/dist/types/src/components/GrSplitter/defaults.d.ts +1 -1
- package/dist/types/src/components/GrStatistic/defaults.d.ts +1 -1
- package/dist/types/src/components/GrStatistic/grStatisticStyles.d.ts +1 -1
- package/dist/types/src/components/GrSwitch/defaults.d.ts +1 -1
- package/dist/types/src/components/GrTable/GrTable.vue.d.ts +13 -0
- package/dist/types/src/components/GrTable/defaults.d.ts +1 -1
- package/dist/types/src/components/GrTabs/defaults.d.ts +1 -1
- package/dist/types/src/components/GrTextarea/defaults.d.ts +1 -1
- package/dist/types/src/components/GrTextarea/grTextareaStyles.d.ts +2 -2
- package/dist/types/src/components/GrTimeline/defaults.d.ts +1 -1
- package/dist/types/src/components/GrTimeline/grTimelineStyles.d.ts +1 -1
- package/dist/types/src/components/GrToaster/GrToaster.vue.d.ts +8 -0
- package/dist/types/src/components/GrToaster/grToasterStyles.d.ts +27 -0
- package/dist/types/src/components/GrTooltip/defaults.d.ts +1 -1
- package/dist/types/src/components/GrTree/defaults.d.ts +1 -1
- package/dist/types/src/components/GrTree/grTreeInteractionContext.d.ts +0 -1
- package/dist/types/src/components/GrTreeSelect/defaults.d.ts +1 -1
- package/dist/types/src/components/shared/hotkey.d.ts +7 -15
- package/dist/types/src/components/shared/hotkeyTokens.d.ts +37 -0
- package/dist/types/src/composables/internal/dragSortGeometry.d.ts +59 -0
- package/dist/types/src/composables/internal/overlayStack.d.ts +11 -0
- package/dist/types/src/composables/useDragGesture.d.ts +63 -0
- package/dist/types/src/composables/useDragSort.d.ts +80 -0
- package/dist/types/src/composables/useFloating.d.ts +5 -1
- package/dist/types/src/composables/useGrComponentConfig.d.ts +41 -0
- package/dist/types/src/composables/useGranularityTranslations.d.ts +13 -0
- package/dist/types/src/composables/useRovingFocus.d.ts +108 -0
- package/dist/types/src/granular-provider/shared.d.ts +1 -0
- package/dist/types/src/i18n/messages/en.d.ts +48 -0
- package/dist/types/src/i18n/messages/es.d.ts +48 -0
- package/dist/types/src/i18n/messages/ru.d.ts +48 -0
- package/dist/types/src/index.d.ts +12 -0
- package/dist/types/src/internal/keyboard.d.ts +6 -0
- package/dist/web-types.json +201 -3
- package/package.json +31 -3
- package/dist/chunks/config-B-g6lT19.js.map +0 -1
- package/dist/chunks/config-BE6n20np.js.map +0 -1
- package/dist/chunks/config-BNfQwyL4.js +0 -97
- package/dist/chunks/config-BNfQwyL4.js.map +0 -1
- package/dist/chunks/config-BoNR7_PD.js.map +0 -1
- package/dist/chunks/config-CN2ULSQL2.js.map +0 -1
- package/dist/chunks/config-Cw6TDzWv2.js.map +0 -1
- package/dist/chunks/config-D94Z9po52.js.map +0 -1
- package/dist/chunks/config-DCFvmHEv.js.map +0 -1
- package/dist/chunks/config-DxCTVBfx.js.map +0 -1
- package/dist/chunks/config-LGrZIdaZ.js +0 -21
- package/dist/chunks/config-LGrZIdaZ.js.map +0 -1
- package/dist/chunks/config-T3qdQBgU.js.map +0 -1
- package/dist/chunks/config-eXB87DOi2.js.map +0 -1
- package/dist/chunks/en-B3xMeswz.js.map +0 -1
- package/dist/chunks/es-CA-mkU--.js.map +0 -1
- package/dist/chunks/grKbdStyles-DAoxiytu.js +0 -31
- package/dist/chunks/grKbdStyles-DAoxiytu.js.map +0 -1
- package/dist/chunks/granular-provider-CtrXGa7c.js.map +0 -1
- package/dist/chunks/keyboard-zYvvyHd4.js.map +0 -1
- package/dist/chunks/optionFilter-BVY988pC.js.map +0 -1
- package/dist/chunks/ru-COWxgh2A.js.map +0 -1
- package/dist/chunks/useOverlayLayer-BupuP_hs.js.map +0 -1
- package/dist/components/GrAutocomplete/chunks/GrAutocomplete-CQ9T7Lly.js.map +0 -1
- package/dist/components/GrCommandPalette/chunks/GrCommandPalette-MWDYDPNC.js.map +0 -1
- package/dist/components/GrDataTable/chunks/GrDataTable-DVFho9Cj.js.map +0 -1
- package/dist/components/GrImageViewer/chunks/GrImageViewer-BeCnE8XQ.js.map +0 -1
- package/dist/components/GrInput/chunks/GrInput-DD2gYdqS.js.map +0 -1
- package/dist/components/GrInputTag/chunks/GrInputTag-DmNunixz.js.map +0 -1
- package/dist/components/GrKbd/chunks/GrKbd-DRFPvW3G.js.map +0 -1
- package/dist/components/GrPagination/chunks/GrPagination-B6N0QZBf.js.map +0 -1
- package/dist/components/GrProgressBar/chunks/GrProgressBar-BiHnaitu.js.map +0 -1
- package/dist/components/GrRadio/chunks/GrRadio-DksDro_U.js.map +0 -1
- package/dist/components/GrRadioGroup/chunks/GrRadioGroup-BOIhejE6.js.map +0 -1
- package/dist/components/GrRating/chunks/GrRating-JrHXz0Rv.js.map +0 -1
- package/dist/components/GrSegmented/chunks/GrSegmented-BQIlH5KI.js.map +0 -1
- package/dist/components/GrSelect/chunks/GrSelect-aqkPCqjd.js.map +0 -1
- package/dist/components/GrSlider/chunks/GrSlider-DkU9IQSX.js.map +0 -1
- package/dist/components/GrSplitter/chunks/GrSplitter-7To8jbJ8.js.map +0 -1
- package/dist/components/GrTable/chunks/GrTable-BB-mI_NM.js.map +0 -1
- package/dist/components/GrTabs/chunks/GrTabs-B8CDq2D9.js.map +0 -1
- package/dist/components/GrToaster/chunks/GrToaster-BKQy3Srm.js.map +0 -1
- package/dist/components/GrTree/chunks/GrTree-wfdbvygw.js.map +0 -1
- /package/dist/chunks/{config-BE6n20np.js → config-BE6n20np2.js} +0 -0
- /package/dist/chunks/{config-BoNR7_PD.js → config-BoNR7_PD2.js} +0 -0
- /package/dist/chunks/{config-CN2ULSQL2.js → config-CN2ULSQL.js} +0 -0
- /package/dist/chunks/{config-D94Z9po52.js → config-D94Z9po5.js} +0 -0
- /package/dist/chunks/{config-DCFvmHEv.js → config-DCFvmHEv2.js} +0 -0
- /package/dist/chunks/{config-T3qdQBgU.js → config-T3qdQBgU2.js} +0 -0
- /package/dist/chunks/{config-eXB87DOi2.js → config-eXB87DOi.js} +0 -0
- /package/dist/types/src/composables/{internal/useComboboxNavigation.d.ts → useComboboxNavigation.d.ts} +0 -0
|
@@ -34,6 +34,7 @@ export declare const es: {
|
|
|
34
34
|
drag: string;
|
|
35
35
|
expand: string;
|
|
36
36
|
collapse: string;
|
|
37
|
+
moved: string;
|
|
37
38
|
};
|
|
38
39
|
select: {
|
|
39
40
|
customValuePlaceholder: string;
|
|
@@ -52,6 +53,10 @@ export declare const es: {
|
|
|
52
53
|
sortAsc: string;
|
|
53
54
|
sortDesc: string;
|
|
54
55
|
sortNone: string;
|
|
56
|
+
moveColumn: string;
|
|
57
|
+
columnMoved: string;
|
|
58
|
+
resizeColumn: string;
|
|
59
|
+
columnResized: string;
|
|
55
60
|
};
|
|
56
61
|
breadcrumbs: {
|
|
57
62
|
label: string;
|
|
@@ -272,6 +277,16 @@ export declare const es: {
|
|
|
272
277
|
control: string;
|
|
273
278
|
enter: string;
|
|
274
279
|
escape: string;
|
|
280
|
+
tab: string;
|
|
281
|
+
backspace: string;
|
|
282
|
+
delete: string;
|
|
283
|
+
pageUp: string;
|
|
284
|
+
pageDown: string;
|
|
285
|
+
arrowUp: string;
|
|
286
|
+
arrowDown: string;
|
|
287
|
+
arrowLeft: string;
|
|
288
|
+
arrowRight: string;
|
|
289
|
+
then: string;
|
|
275
290
|
};
|
|
276
291
|
link: {
|
|
277
292
|
opensInNewTab: string;
|
|
@@ -312,6 +327,15 @@ export declare const es: {
|
|
|
312
327
|
emptyState: {
|
|
313
328
|
title: string;
|
|
314
329
|
};
|
|
330
|
+
sortable: {
|
|
331
|
+
label: string;
|
|
332
|
+
handle: string;
|
|
333
|
+
empty: string;
|
|
334
|
+
grabbed: string;
|
|
335
|
+
moved: string;
|
|
336
|
+
dropped: string;
|
|
337
|
+
cancelled: string;
|
|
338
|
+
};
|
|
315
339
|
};
|
|
316
340
|
common: {
|
|
317
341
|
confirm: string;
|
|
@@ -345,6 +369,7 @@ export declare const es: {
|
|
|
345
369
|
drag: string;
|
|
346
370
|
expand: string;
|
|
347
371
|
collapse: string;
|
|
372
|
+
moved: string;
|
|
348
373
|
};
|
|
349
374
|
select: {
|
|
350
375
|
customValuePlaceholder: string;
|
|
@@ -363,6 +388,10 @@ export declare const es: {
|
|
|
363
388
|
sortAsc: string;
|
|
364
389
|
sortDesc: string;
|
|
365
390
|
sortNone: string;
|
|
391
|
+
moveColumn: string;
|
|
392
|
+
columnMoved: string;
|
|
393
|
+
resizeColumn: string;
|
|
394
|
+
columnResized: string;
|
|
366
395
|
};
|
|
367
396
|
breadcrumbs: {
|
|
368
397
|
label: string;
|
|
@@ -583,6 +612,16 @@ export declare const es: {
|
|
|
583
612
|
control: string;
|
|
584
613
|
enter: string;
|
|
585
614
|
escape: string;
|
|
615
|
+
tab: string;
|
|
616
|
+
backspace: string;
|
|
617
|
+
delete: string;
|
|
618
|
+
pageUp: string;
|
|
619
|
+
pageDown: string;
|
|
620
|
+
arrowUp: string;
|
|
621
|
+
arrowDown: string;
|
|
622
|
+
arrowLeft: string;
|
|
623
|
+
arrowRight: string;
|
|
624
|
+
then: string;
|
|
586
625
|
};
|
|
587
626
|
link: {
|
|
588
627
|
opensInNewTab: string;
|
|
@@ -623,6 +662,15 @@ export declare const es: {
|
|
|
623
662
|
emptyState: {
|
|
624
663
|
title: string;
|
|
625
664
|
};
|
|
665
|
+
sortable: {
|
|
666
|
+
label: string;
|
|
667
|
+
handle: string;
|
|
668
|
+
empty: string;
|
|
669
|
+
grabbed: string;
|
|
670
|
+
moved: string;
|
|
671
|
+
dropped: string;
|
|
672
|
+
cancelled: string;
|
|
673
|
+
};
|
|
626
674
|
}>;
|
|
627
675
|
};
|
|
628
676
|
};
|
|
@@ -34,6 +34,7 @@ export declare const ru: {
|
|
|
34
34
|
drag: string;
|
|
35
35
|
expand: string;
|
|
36
36
|
collapse: string;
|
|
37
|
+
moved: string;
|
|
37
38
|
};
|
|
38
39
|
select: {
|
|
39
40
|
customValuePlaceholder: string;
|
|
@@ -52,6 +53,10 @@ export declare const ru: {
|
|
|
52
53
|
sortAsc: string;
|
|
53
54
|
sortDesc: string;
|
|
54
55
|
sortNone: string;
|
|
56
|
+
moveColumn: string;
|
|
57
|
+
columnMoved: string;
|
|
58
|
+
resizeColumn: string;
|
|
59
|
+
columnResized: string;
|
|
55
60
|
};
|
|
56
61
|
breadcrumbs: {
|
|
57
62
|
label: string;
|
|
@@ -274,6 +279,16 @@ export declare const ru: {
|
|
|
274
279
|
control: string;
|
|
275
280
|
enter: string;
|
|
276
281
|
escape: string;
|
|
282
|
+
tab: string;
|
|
283
|
+
backspace: string;
|
|
284
|
+
delete: string;
|
|
285
|
+
pageUp: string;
|
|
286
|
+
pageDown: string;
|
|
287
|
+
arrowUp: string;
|
|
288
|
+
arrowDown: string;
|
|
289
|
+
arrowLeft: string;
|
|
290
|
+
arrowRight: string;
|
|
291
|
+
then: string;
|
|
277
292
|
};
|
|
278
293
|
link: {
|
|
279
294
|
opensInNewTab: string;
|
|
@@ -314,6 +329,15 @@ export declare const ru: {
|
|
|
314
329
|
emptyState: {
|
|
315
330
|
title: string;
|
|
316
331
|
};
|
|
332
|
+
sortable: {
|
|
333
|
+
label: string;
|
|
334
|
+
handle: string;
|
|
335
|
+
empty: string;
|
|
336
|
+
grabbed: string;
|
|
337
|
+
moved: string;
|
|
338
|
+
dropped: string;
|
|
339
|
+
cancelled: string;
|
|
340
|
+
};
|
|
317
341
|
};
|
|
318
342
|
common: {
|
|
319
343
|
confirm: string;
|
|
@@ -347,6 +371,7 @@ export declare const ru: {
|
|
|
347
371
|
drag: string;
|
|
348
372
|
expand: string;
|
|
349
373
|
collapse: string;
|
|
374
|
+
moved: string;
|
|
350
375
|
};
|
|
351
376
|
select: {
|
|
352
377
|
customValuePlaceholder: string;
|
|
@@ -365,6 +390,10 @@ export declare const ru: {
|
|
|
365
390
|
sortAsc: string;
|
|
366
391
|
sortDesc: string;
|
|
367
392
|
sortNone: string;
|
|
393
|
+
moveColumn: string;
|
|
394
|
+
columnMoved: string;
|
|
395
|
+
resizeColumn: string;
|
|
396
|
+
columnResized: string;
|
|
368
397
|
};
|
|
369
398
|
breadcrumbs: {
|
|
370
399
|
label: string;
|
|
@@ -587,6 +616,16 @@ export declare const ru: {
|
|
|
587
616
|
control: string;
|
|
588
617
|
enter: string;
|
|
589
618
|
escape: string;
|
|
619
|
+
tab: string;
|
|
620
|
+
backspace: string;
|
|
621
|
+
delete: string;
|
|
622
|
+
pageUp: string;
|
|
623
|
+
pageDown: string;
|
|
624
|
+
arrowUp: string;
|
|
625
|
+
arrowDown: string;
|
|
626
|
+
arrowLeft: string;
|
|
627
|
+
arrowRight: string;
|
|
628
|
+
then: string;
|
|
590
629
|
};
|
|
591
630
|
link: {
|
|
592
631
|
opensInNewTab: string;
|
|
@@ -627,6 +666,15 @@ export declare const ru: {
|
|
|
627
666
|
emptyState: {
|
|
628
667
|
title: string;
|
|
629
668
|
};
|
|
669
|
+
sortable: {
|
|
670
|
+
label: string;
|
|
671
|
+
handle: string;
|
|
672
|
+
empty: string;
|
|
673
|
+
grabbed: string;
|
|
674
|
+
moved: string;
|
|
675
|
+
dropped: string;
|
|
676
|
+
cancelled: string;
|
|
677
|
+
};
|
|
630
678
|
}>;
|
|
631
679
|
};
|
|
632
680
|
};
|
|
@@ -53,6 +53,7 @@ export * from './components/GrSelect';
|
|
|
53
53
|
export * from './components/GrSidebar';
|
|
54
54
|
export * from './components/GrSkeleton';
|
|
55
55
|
export * from './components/GrSlider';
|
|
56
|
+
export * from './components/GrSortableList';
|
|
56
57
|
export * from './components/GrSplitter';
|
|
57
58
|
export * from './components/GrStatistic';
|
|
58
59
|
export * from './components/GrSwitch';
|
|
@@ -73,12 +74,23 @@ export { usePortalTarget } from './composables/usePortalTarget';
|
|
|
73
74
|
export type { PortalTarget } from './composables/usePortalTarget';
|
|
74
75
|
export { useOverlayLayer } from './composables/useOverlayLayer';
|
|
75
76
|
export type { OverlayLayerHandle, UseOverlayLayerOptions } from './composables/useOverlayLayer';
|
|
77
|
+
export { useRovingFocus } from './composables/useRovingFocus';
|
|
78
|
+
export type { GrRovingEdge, GrRovingOrientation, UseRovingFocusOptions, UseRovingFocusReturn, } from './composables/useRovingFocus';
|
|
79
|
+
export * from './composables/useGrComponentConfig';
|
|
80
|
+
export { useComboboxNavigation } from './composables/useComboboxNavigation';
|
|
81
|
+
export type { UseComboboxNavigationOptions, UseComboboxNavigationReturn, } from './composables/useComboboxNavigation';
|
|
82
|
+
export { useGranularityTranslations } from './composables/useGranularityTranslations';
|
|
83
|
+
export type { GranularityI18nLike } from './composables/useGranularityTranslations';
|
|
76
84
|
export { useFloating } from './composables/useFloating';
|
|
77
85
|
export type { UseFloatingOptions, UseFloatingPlacement, UseFloatingReturn } from './composables/useFloating';
|
|
78
86
|
export { useAnnouncer } from './composables/useAnnouncer';
|
|
79
87
|
export type { GrAnnounceOptions, GrAnnouncer, GrAnnouncerPoliteness } from './composables/useAnnouncer';
|
|
80
88
|
export { useVirtualList } from './composables/useVirtualList';
|
|
81
89
|
export type { GrVirtualAlign, UseVirtualListOptions, UseVirtualListReturn } from './composables/useVirtualList';
|
|
90
|
+
export { useDragGesture } from './composables/useDragGesture';
|
|
91
|
+
export type { UseDragGestureOptions, UseDragGestureReturn } from './composables/useDragGesture';
|
|
92
|
+
export { useDragSort } from './composables/useDragSort';
|
|
93
|
+
export type { DragSortHit, DragSortMode, DragSortOrientation, UseDragSortOptions, UseDragSortReturn, } from './composables/useDragSort';
|
|
82
94
|
export { useGrFormControl } from './composables/useGrFormControl';
|
|
83
95
|
export type { GrFormControlProps, GrFormControlState } from './composables/useGrFormControl';
|
|
84
96
|
export { GRANULARITY_THEME_STATE, granularityThemePlugin, initThemeEarly, useTheme } from './composables/useTheme';
|
|
@@ -21,6 +21,12 @@ export declare function isComposingEvent(event: KeyboardEvent): boolean;
|
|
|
21
21
|
* typeahead меню обязаны молчать, пока пользователь печатает в поле внутри них.
|
|
22
22
|
*/
|
|
23
23
|
export declare function isEditableTarget(target: EventTarget | null): boolean;
|
|
24
|
+
/**
|
|
25
|
+
* macOS определяем по платформе: от неё зависит, чем является токен `mod` —
|
|
26
|
+
* Cmd или Ctrl. Живёт здесь, а не рядом с одним потребителем: то же нужно
|
|
27
|
+
* `GrKbd` (что показать), палитре (что слушать) и директиве `v-hotkey`.
|
|
28
|
+
*/
|
|
29
|
+
export declare function isAppleDevice(): boolean;
|
|
24
30
|
/** Физический код клавиши для латинской буквы или цифры; иначе `null`. */
|
|
25
31
|
export declare function codeForChar(ch: string): string | null;
|
|
26
32
|
export interface EventMatchesKeyOptions {
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@feugene/granularity",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.18.0",
|
|
5
5
|
"framework": "vue",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"description-markup": "markdown",
|
|
@@ -2414,6 +2414,42 @@
|
|
|
2414
2414
|
"kind": "expression",
|
|
2415
2415
|
"type": "string | number | undefined"
|
|
2416
2416
|
}
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
"name": "reorderableColumns",
|
|
2420
|
+
"description": "Пользовательский порядок колонок: в шапке появляется ручка переноса. Колонка тянется указателем и двигается `Shift`+`←`/`→` с клавиатуры.",
|
|
2421
|
+
"default": "false",
|
|
2422
|
+
"value": {
|
|
2423
|
+
"kind": "expression",
|
|
2424
|
+
"type": "boolean | undefined"
|
|
2425
|
+
}
|
|
2426
|
+
},
|
|
2427
|
+
{
|
|
2428
|
+
"name": "columnOrder",
|
|
2429
|
+
"description": "Контролируемый порядок колонок — ключи в нужном порядке (`v-model:columnOrder`). Не задан — порядок компонент помнит сам, начиная с порядка `columns`.",
|
|
2430
|
+
"default": "undefined",
|
|
2431
|
+
"value": {
|
|
2432
|
+
"kind": "expression",
|
|
2433
|
+
"type": "string[] | undefined"
|
|
2434
|
+
}
|
|
2435
|
+
},
|
|
2436
|
+
{
|
|
2437
|
+
"name": "resizableColumns",
|
|
2438
|
+
"description": "Пользовательская ширина колонок: у правого края заголовка появляется ручка. Тянется указателем, с клавиатуры — стрелками (паттерн window splitter). Включает фиксированную раскладку таблицы: без неё браузер пересчитывает ширины по содержимому и заданная пользователем пропадает.",
|
|
2439
|
+
"default": "false",
|
|
2440
|
+
"value": {
|
|
2441
|
+
"kind": "expression",
|
|
2442
|
+
"type": "boolean | undefined"
|
|
2443
|
+
}
|
|
2444
|
+
},
|
|
2445
|
+
{
|
|
2446
|
+
"name": "columnWidths",
|
|
2447
|
+
"description": "Контролируемые ширины в пикселях по ключу колонки (`v-model:columnWidths`). Не заданы — ширины компонент помнит сам.",
|
|
2448
|
+
"default": "undefined",
|
|
2449
|
+
"value": {
|
|
2450
|
+
"kind": "expression",
|
|
2451
|
+
"type": "Record<string, number> | undefined"
|
|
2452
|
+
}
|
|
2417
2453
|
}
|
|
2418
2454
|
],
|
|
2419
2455
|
"slots": [
|
|
@@ -2446,6 +2482,18 @@
|
|
|
2446
2482
|
},
|
|
2447
2483
|
{
|
|
2448
2484
|
"name": "rowClick"
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
"name": "update:columnOrder"
|
|
2488
|
+
},
|
|
2489
|
+
{
|
|
2490
|
+
"name": "columnReorder"
|
|
2491
|
+
},
|
|
2492
|
+
{
|
|
2493
|
+
"name": "update:columnWidths"
|
|
2494
|
+
},
|
|
2495
|
+
{
|
|
2496
|
+
"name": "columnResize"
|
|
2449
2497
|
}
|
|
2450
2498
|
]
|
|
2451
2499
|
}
|
|
@@ -4939,6 +4987,15 @@
|
|
|
4939
4987
|
"symbol": "GrKbd"
|
|
4940
4988
|
},
|
|
4941
4989
|
"props": [
|
|
4990
|
+
{
|
|
4991
|
+
"name": "variant",
|
|
4992
|
+
"description": "`merged` (по умолчанию) — сочетание одной плашкой, как его пишут сами системы: `⌘K` на macOS, `Ctrl+K` на прочих. `split` — по плашке на клавишу. `sequence` — аккорд «G затем I»: клавиши нажимают одну за другой.",
|
|
4993
|
+
"default": "\"merged\"",
|
|
4994
|
+
"value": {
|
|
4995
|
+
"kind": "expression",
|
|
4996
|
+
"type": "\"split\" | \"merged\" | \"sequence\" | undefined"
|
|
4997
|
+
}
|
|
4998
|
+
},
|
|
4942
4999
|
{
|
|
4943
5000
|
"name": "keys",
|
|
4944
5001
|
"description": "Сочетание: строкой (`\"mod+shift+K\"`) или набором токенов (`['mod', 'K']`). Токен `mod` — Cmd на macOS, Ctrl на остальных.",
|
|
@@ -4958,8 +5015,8 @@
|
|
|
4958
5015
|
},
|
|
4959
5016
|
{
|
|
4960
5017
|
"name": "separator",
|
|
4961
|
-
"description": "Разделитель между
|
|
4962
|
-
"default": "
|
|
5018
|
+
"description": "Разделитель между клавишами. Не задан — авто: в общей плашке символы склеиваются (`⌘K`), а слова разделяются плюсом (`Ctrl+K`); у `split` это плюс, у `sequence` — слово из локали. Пустая строка — только зазор.",
|
|
5019
|
+
"default": "undefined",
|
|
4963
5020
|
"value": {
|
|
4964
5021
|
"kind": "expression",
|
|
4965
5022
|
"type": "string | undefined"
|
|
@@ -8207,6 +8264,129 @@
|
|
|
8207
8264
|
]
|
|
8208
8265
|
}
|
|
8209
8266
|
},
|
|
8267
|
+
{
|
|
8268
|
+
"name": "GrSortableList",
|
|
8269
|
+
"source": {
|
|
8270
|
+
"module": "@feugene/granularity/components/GrSortableList",
|
|
8271
|
+
"symbol": "GrSortableList"
|
|
8272
|
+
},
|
|
8273
|
+
"props": [
|
|
8274
|
+
{
|
|
8275
|
+
"name": "modelValue",
|
|
8276
|
+
"required": true,
|
|
8277
|
+
"description": "Набор в текущем порядке. `v-model`: наружу уходит новый массив, вход не мутируется.",
|
|
8278
|
+
"value": {
|
|
8279
|
+
"kind": "expression",
|
|
8280
|
+
"type": "T[]"
|
|
8281
|
+
}
|
|
8282
|
+
},
|
|
8283
|
+
{
|
|
8284
|
+
"name": "itemKey",
|
|
8285
|
+
"description": "Ключ элемента: имя поля или функция. Без него — индекс.",
|
|
8286
|
+
"default": "undefined",
|
|
8287
|
+
"value": {
|
|
8288
|
+
"kind": "expression",
|
|
8289
|
+
"type": "string | ((item: T, index: number) => string | number) | undefined"
|
|
8290
|
+
}
|
|
8291
|
+
},
|
|
8292
|
+
{
|
|
8293
|
+
"name": "disabled",
|
|
8294
|
+
"description": "Список только для чтения: ни указателем, ни с клавиатуры.",
|
|
8295
|
+
"default": "false",
|
|
8296
|
+
"value": {
|
|
8297
|
+
"kind": "expression",
|
|
8298
|
+
"type": "boolean | undefined"
|
|
8299
|
+
}
|
|
8300
|
+
},
|
|
8301
|
+
{
|
|
8302
|
+
"name": "orientation",
|
|
8303
|
+
"description": "Ось переноса. `horizontal` — ряд с переносом по ширине.",
|
|
8304
|
+
"default": "\"vertical\"",
|
|
8305
|
+
"value": {
|
|
8306
|
+
"kind": "expression",
|
|
8307
|
+
"type": "GrSortableOrientation | undefined"
|
|
8308
|
+
}
|
|
8309
|
+
},
|
|
8310
|
+
{
|
|
8311
|
+
"name": "variant",
|
|
8312
|
+
"description": "Поверхность под списком — вариант карточки.",
|
|
8313
|
+
"default": "undefined",
|
|
8314
|
+
"value": {
|
|
8315
|
+
"kind": "expression",
|
|
8316
|
+
"type": "GrCardVariant | undefined"
|
|
8317
|
+
}
|
|
8318
|
+
},
|
|
8319
|
+
{
|
|
8320
|
+
"name": "divided",
|
|
8321
|
+
"description": "Разделители между строками.",
|
|
8322
|
+
"default": "true",
|
|
8323
|
+
"value": {
|
|
8324
|
+
"kind": "expression",
|
|
8325
|
+
"type": "boolean | undefined"
|
|
8326
|
+
}
|
|
8327
|
+
},
|
|
8328
|
+
{
|
|
8329
|
+
"name": "handleOnly",
|
|
8330
|
+
"description": "Тянуть можно только за ручку. Выключено — тянется вся строка.",
|
|
8331
|
+
"default": "true",
|
|
8332
|
+
"value": {
|
|
8333
|
+
"kind": "expression",
|
|
8334
|
+
"type": "boolean | undefined"
|
|
8335
|
+
}
|
|
8336
|
+
},
|
|
8337
|
+
{
|
|
8338
|
+
"name": "maxHeight",
|
|
8339
|
+
"description": "Высота видимой части: список становится скроллером с автопрокруткой при переносе.",
|
|
8340
|
+
"default": "undefined",
|
|
8341
|
+
"value": {
|
|
8342
|
+
"kind": "expression",
|
|
8343
|
+
"type": "string | number | undefined"
|
|
8344
|
+
}
|
|
8345
|
+
},
|
|
8346
|
+
{
|
|
8347
|
+
"name": "emptyText",
|
|
8348
|
+
"description": "Текст пустого состояния. Слот `#empty` сильнее.",
|
|
8349
|
+
"default": "undefined",
|
|
8350
|
+
"value": {
|
|
8351
|
+
"kind": "expression",
|
|
8352
|
+
"type": "string | undefined"
|
|
8353
|
+
}
|
|
8354
|
+
},
|
|
8355
|
+
{
|
|
8356
|
+
"name": "ariaLabel",
|
|
8357
|
+
"description": "Имя списка для скринридера. Не задано — берётся из локали.",
|
|
8358
|
+
"default": "undefined",
|
|
8359
|
+
"value": {
|
|
8360
|
+
"kind": "expression",
|
|
8361
|
+
"type": "string | undefined"
|
|
8362
|
+
}
|
|
8363
|
+
}
|
|
8364
|
+
],
|
|
8365
|
+
"slots": [
|
|
8366
|
+
{
|
|
8367
|
+
"name": "item"
|
|
8368
|
+
},
|
|
8369
|
+
{
|
|
8370
|
+
"name": "handle"
|
|
8371
|
+
},
|
|
8372
|
+
{
|
|
8373
|
+
"name": "empty"
|
|
8374
|
+
}
|
|
8375
|
+
],
|
|
8376
|
+
"js": {
|
|
8377
|
+
"events": [
|
|
8378
|
+
{
|
|
8379
|
+
"name": "update:modelValue"
|
|
8380
|
+
},
|
|
8381
|
+
{
|
|
8382
|
+
"name": "move"
|
|
8383
|
+
},
|
|
8384
|
+
{
|
|
8385
|
+
"name": "change"
|
|
8386
|
+
}
|
|
8387
|
+
]
|
|
8388
|
+
}
|
|
8389
|
+
},
|
|
8210
8390
|
{
|
|
8211
8391
|
"name": "GrSplitter",
|
|
8212
8392
|
"source": {
|
|
@@ -8895,6 +9075,15 @@
|
|
|
8895
9075
|
"kind": "expression",
|
|
8896
9076
|
"type": "boolean | undefined"
|
|
8897
9077
|
}
|
|
9078
|
+
},
|
|
9079
|
+
{
|
|
9080
|
+
"name": "tableMinWidth",
|
|
9081
|
+
"description": "Минимальная ширина самой таблицы (число — пиксели). Нужна при `fixedLayout`: с фиксированной раскладкой и шириной `auto` браузер вписывает таблицу в контейнер и делит место между колонками пропорционально — то есть заданные ширины молча ужимаются, а горизонтальной прокрутки, на которой держатся закреплённые колонки, не возникает вовсе.",
|
|
9082
|
+
"default": "undefined",
|
|
9083
|
+
"value": {
|
|
9084
|
+
"kind": "expression",
|
|
9085
|
+
"type": "string | number | undefined"
|
|
9086
|
+
}
|
|
8898
9087
|
}
|
|
8899
9088
|
],
|
|
8900
9089
|
"slots": [
|
|
@@ -9420,6 +9609,15 @@
|
|
|
9420
9609
|
"kind": "expression",
|
|
9421
9610
|
"type": "string | false | undefined"
|
|
9422
9611
|
}
|
|
9612
|
+
},
|
|
9613
|
+
{
|
|
9614
|
+
"name": "swipeDismiss",
|
|
9615
|
+
"description": "Смахивание тоста к своему краю экрана. Клавиатурный эквивалент — `Delete` и `Backspace` на сфокусированном тосте — остаётся и при выключенном жесте.",
|
|
9616
|
+
"default": "true",
|
|
9617
|
+
"value": {
|
|
9618
|
+
"kind": "expression",
|
|
9619
|
+
"type": "boolean | undefined"
|
|
9620
|
+
}
|
|
9423
9621
|
}
|
|
9424
9622
|
],
|
|
9425
9623
|
"slots": [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feugene/granularity",
|
|
3
3
|
"description": "Granularity design system package with Vue 3 components, consumed via the `@feugene/unocss-preset-granular` preset.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.18.0",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Evgeniy Fureev",
|
|
@@ -276,6 +276,10 @@
|
|
|
276
276
|
"types": "./dist/types/src/components/GrSlider/index.d.ts",
|
|
277
277
|
"import": "./dist/components/GrSlider/index.js"
|
|
278
278
|
},
|
|
279
|
+
"./components/GrSortableList": {
|
|
280
|
+
"types": "./dist/types/src/components/GrSortableList/index.d.ts",
|
|
281
|
+
"import": "./dist/components/GrSortableList/index.js"
|
|
282
|
+
},
|
|
279
283
|
"./components/GrSplitter": {
|
|
280
284
|
"types": "./dist/types/src/components/GrSplitter/index.d.ts",
|
|
281
285
|
"import": "./dist/components/GrSplitter/index.js"
|
|
@@ -348,10 +352,34 @@
|
|
|
348
352
|
"types": "./dist/types/src/composables/useOverlayLayer.d.ts",
|
|
349
353
|
"import": "./dist/composables/useOverlayLayer.js"
|
|
350
354
|
},
|
|
355
|
+
"./composables/useRovingFocus": {
|
|
356
|
+
"types": "./dist/types/src/composables/useRovingFocus.d.ts",
|
|
357
|
+
"import": "./dist/composables/useRovingFocus.js"
|
|
358
|
+
},
|
|
359
|
+
"./composables/useGrComponentConfig": {
|
|
360
|
+
"types": "./dist/types/src/composables/useGrComponentConfig.d.ts",
|
|
361
|
+
"import": "./dist/composables/useGrComponentConfig.js"
|
|
362
|
+
},
|
|
363
|
+
"./composables/useComboboxNavigation": {
|
|
364
|
+
"types": "./dist/types/src/composables/useComboboxNavigation.d.ts",
|
|
365
|
+
"import": "./dist/composables/useComboboxNavigation.js"
|
|
366
|
+
},
|
|
367
|
+
"./composables/useGranularityTranslations": {
|
|
368
|
+
"types": "./dist/types/src/composables/useGranularityTranslations.d.ts",
|
|
369
|
+
"import": "./dist/composables/useGranularityTranslations.js"
|
|
370
|
+
},
|
|
351
371
|
"./composables/useTheme": {
|
|
352
372
|
"types": "./dist/types/src/composables/useTheme.d.ts",
|
|
353
373
|
"import": "./dist/composables/useTheme.js"
|
|
354
374
|
},
|
|
375
|
+
"./composables/useDragGesture": {
|
|
376
|
+
"types": "./dist/types/src/composables/useDragGesture.d.ts",
|
|
377
|
+
"import": "./dist/composables/useDragGesture.js"
|
|
378
|
+
},
|
|
379
|
+
"./composables/useDragSort": {
|
|
380
|
+
"types": "./dist/types/src/composables/useDragSort.d.ts",
|
|
381
|
+
"import": "./dist/composables/useDragSort.js"
|
|
382
|
+
},
|
|
355
383
|
"./composables/useVirtualList": {
|
|
356
384
|
"types": "./dist/types/src/composables/useVirtualList.d.ts",
|
|
357
385
|
"import": "./dist/composables/useVirtualList.js"
|
|
@@ -423,7 +451,7 @@
|
|
|
423
451
|
},
|
|
424
452
|
"peerDependencies": {
|
|
425
453
|
"@feugene/fint-i18n": "^0.6.0",
|
|
426
|
-
"@feugene/unocss-preset-granular": "^0.
|
|
454
|
+
"@feugene/unocss-preset-granular": "^0.9.1",
|
|
427
455
|
"@floating-ui/dom": "^1.8.0",
|
|
428
456
|
"vue": "^3.5.40"
|
|
429
457
|
},
|
|
@@ -438,7 +466,7 @@
|
|
|
438
466
|
"devDependencies": {
|
|
439
467
|
"@antfu/eslint-config": "^9.1.0",
|
|
440
468
|
"@feugene/fint-i18n": "^0.6.0",
|
|
441
|
-
"@feugene/unocss-preset-granular": "^0.
|
|
469
|
+
"@feugene/unocss-preset-granular": "^0.9.1",
|
|
442
470
|
"@floating-ui/dom": "^1.8.0",
|
|
443
471
|
"@iconify-json/lucide": "^1.2.117",
|
|
444
472
|
"@types/node": "^25.9.5",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config-B-g6lT19.js","names":[],"sources":["../../src/components/GrKbd/safelist.ts","../../src/components/GrKbd/config.ts"],"sourcesContent":["import { splitClassTokens } from '../shared/classTokens'\nimport { comboBaseClass, comboGaps, keyBaseClass, keySizes, separatorClass } from './grKbdStyles'\n\nexport const grKbdSafelist = [...new Set([\n ...splitClassTokens(keyBaseClass),\n ...Object.values(keySizes).flatMap(splitClassTokens),\n ...splitClassTokens(comboBaseClass),\n ...Object.values(comboGaps).flatMap(splitClassTokens),\n ...splitClassTokens(separatorClass),\n])]\n","import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\n\nimport { grKbdSafelist } from './safelist'\n\nexport const grKbdConfig = defineGranularComponent(import.meta.url, {\n name: 'GrKbd',\n safelist: grKbdSafelist,\n})\n"],"mappings":";;;;AAGA,IAAa,gBAAgB,CAAC,mBAAG,IAAI,IAAI;CACvC,GAAG,iBAAiB,YAAY;CAChC,GAAG,OAAO,OAAO,QAAQ,CAAC,CAAC,QAAQ,gBAAgB;CACnD,GAAG,iBAAiB,cAAc;CAClC,GAAG,OAAO,OAAO,SAAS,CAAC,CAAC,QAAQ,gBAAgB;CACpD,GAAG,iBAAiB,cAAc;AACpC,CAAC,CAAC;;;ACLF,IAAa,cAAc,wBAAwB,OAAO,KAAK,KAAK;CAClE,MAAM;CACN,UAAU;AACZ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config-BE6n20np.js","names":[],"sources":["../../src/components/GrSplitter/grSplitterStyles.ts","../../src/components/GrSplitter/safelist.ts","../../src/components/GrSplitter/config.ts"],"sourcesContent":["/**\n * Классы `GrSplitter`. Геометрия (толщина полосы, зона захвата, курсоры)\n * зависит от ориентации и от состояния жеста, поэтому живёт в собственном\n * `<style>` компонента, а не в утилитах.\n */\n\nexport const rootClass = 'grid h-full w-full'\n\n/** Без `min-*: 0` содержимое панели распирает грид-трек и ломает раскладку. */\nexport const paneClass = 'min-h-0 min-w-0'\n\n// `touch-none` в связке presetMini + presetGranular CSS не даёт — только произвольное свойство.\nexport const separatorClass = 'relative [touch-action:none] focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--gr-ring)] focus-visible:ring-inset'\n","import { splitClassTokens } from '../shared/classTokens'\nimport { paneClass, rootClass, separatorClass } from './grSplitterStyles'\n\nexport const grSplitterSafelist = [...new Set([\n ...splitClassTokens(rootClass),\n ...splitClassTokens(paneClass),\n ...splitClassTokens(separatorClass),\n])]\n","import { defineGranularComponent } from '@feugene/unocss-preset-granular/contract'\n\nimport { grSplitterSafelist } from './safelist'\n\nexport const grSplitterConfig = defineGranularComponent(import.meta.url, {\n name: 'GrSplitter',\n safelist: grSplitterSafelist,\n})\n"],"mappings":";;;;;;;;AAMA,IAAa,YAAY;;AAGzB,IAAa,YAAY;AAGzB,IAAa,iBAAiB;;;ACT9B,IAAa,qBAAqB,CAAC,mBAAG,IAAI,IAAI;CAC5C,GAAG,iBAAiB,SAAS;CAC7B,GAAG,iBAAiB,SAAS;CAC7B,GAAG,iBAAiB,cAAc;AACpC,CAAC,CAAC;;;ACHF,IAAa,mBAAmB,wBAAwB,OAAO,KAAK,KAAK;CACvE,MAAM;CACN,UAAU;AACZ,CAAC"}
|