@feugene/granularity 0.1.0 → 0.3.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/DsButtonGroup.css +1 -0
- package/dist/DsFormFile.css +1 -0
- package/dist/DsIcon.css +1 -0
- package/dist/DsLoading.css +1 -0
- package/dist/DsSkeleton.css +1 -0
- package/dist/DsTree.css +1 -0
- package/dist/chunks/config-B36QoWkx2.js +8 -0
- package/dist/chunks/config-BG-m3THf.js +17 -0
- package/dist/chunks/config-BNQb1Tdk.js +9 -0
- package/dist/chunks/config-BPuskn3r.js +8 -0
- package/dist/chunks/config-BWJ22IjI2.js +9 -0
- package/dist/chunks/config-BYoxgIeM.js +18 -0
- package/dist/chunks/{config-tQBoBLph.js → config-Bb8NpnGF.js} +14 -6
- package/dist/chunks/config-Bo4SoxQg.js +27 -0
- package/dist/chunks/{config-B-tMv4PT.js → config-BscZj6l42.js} +26 -26
- package/dist/chunks/{config-qlwX-rLq.js → config-C0CVsc4Y.js} +16 -10
- package/dist/chunks/config-C2wd640N.js +9 -0
- package/dist/chunks/{config-CMuBf0u72.js → config-C7KNHOmN.js} +7 -7
- package/dist/chunks/config-CLG4pCF9.js +9 -0
- package/dist/chunks/config-COfLMM02.js +8 -0
- package/dist/chunks/config-C_CXjTfh2.js +9 -0
- package/dist/chunks/config-C_bF_fTb.js +8 -0
- package/dist/chunks/config-CcqnIunr.js +9 -0
- package/dist/chunks/config-Cibru2a2.js +9 -0
- package/dist/chunks/config-CnClbuiL.js +9 -0
- package/dist/chunks/config-CtI_S-zH.js +8 -0
- package/dist/chunks/config-CtgK8aLQ.js +37 -0
- package/dist/chunks/config-CvuvJeih.js +9 -0
- package/dist/chunks/{config-B75oSW74.js → config-CzEeKJ6F2.js} +6 -4
- package/dist/chunks/{config-CTGjkM7q.js → config-D-soL_Ul.js} +45 -36
- package/dist/chunks/config-D3ihNj1i.js +14 -0
- package/dist/chunks/config-D9kbijTN.js +9 -0
- package/dist/chunks/config-DGGgsQ-8.js +47 -0
- package/dist/chunks/{config-G7h6ftb62.js → config-DJxFkysW.js} +10 -9
- package/dist/chunks/config-DN1-oywd.js +13 -0
- package/dist/chunks/config-DO9E5iXl2.js +8 -0
- package/dist/chunks/config-DQdLgKLJ.js +8 -0
- package/dist/chunks/config-DThxz0fj.js +8 -0
- package/dist/chunks/config-DU-WqEnv.js +9 -0
- package/dist/chunks/config-DeL48aIt.js +8 -0
- package/dist/chunks/config-DfTEy9G3.js +14 -0
- package/dist/chunks/config-DoJaEy4X.js +21 -0
- package/dist/chunks/config-DopZCwNe.js +10 -0
- package/dist/chunks/{config-BrwOndwO.js → config-DpluHp1i.js} +2 -3
- package/dist/chunks/config-DrTFt1re.js +8 -0
- package/dist/chunks/config-DwsSjSb4.js +15 -0
- package/dist/chunks/config-E9sOdSx6.js +8 -0
- package/dist/chunks/config-EhfVxSIR.js +9 -0
- package/dist/chunks/config-J_2KglMu.js +8 -0
- package/dist/chunks/config-YyVxx9dW.js +8 -0
- package/dist/chunks/config-Zksyb5FX.js +35 -0
- package/dist/chunks/config-ltfe9Xvy.js +47 -0
- package/dist/chunks/config-udLUeY_k.js +9 -0
- package/dist/chunks/dialogShared-B7Ruf0mn.js +26 -0
- package/dist/chunks/directives-K8Vo0VhP.js +530 -0
- package/dist/chunks/{dsBadgeStyles-yLd1GFUa.js → dsBadgeStyles-2fcy07ls.js} +13 -22
- package/dist/chunks/{dsButtonStyles-C1c_j958.js → dsButtonStyles-xdMl54zJ.js} +46 -70
- package/dist/chunks/{dsDropdownStyles-DXGN-A-d.js → dsDropdownStyles-_XO6eeSE.js} +6 -12
- package/dist/chunks/dsLoadingStyles-lw20OWhs.js +15 -0
- package/dist/chunks/dsModalStyles-DovGcwjh.js +38 -0
- package/dist/chunks/dsSelectStyles-BCrj5Fty.js +40 -0
- package/dist/chunks/{en-CKkdzd7q.js → en-BkL6iabg.js} +3 -1
- package/dist/chunks/{es-CPXSlGMa.js → es-Dh_K9iry.js} +3 -1
- package/dist/chunks/{fileValidation-gR8aUBMZ.js → fileValidation-LFD-vwil.js} +1 -1
- package/dist/chunks/{granularityI18n-DBuOHekC.js → granularityI18n-DYNnonoE.js} +1 -1
- package/dist/chunks/{ru-D7AyvUyA.js → ru-kTbw8Tku.js} +3 -1
- package/dist/chunks/safelist-CQOSs_yj.js +13 -0
- package/dist/chunks/safelist-Gujf4bDO.js +22 -0
- package/dist/chunks/shared-DGhcuSCh.js +124 -0
- package/dist/chunks/{transition-CT9vsWnT.js → transition-BJXMi52x.js} +218 -218
- package/dist/{chunks/DsAlert-r_Ed-JrB.js → components/DsAlert/chunks/DsAlert-2ItscoqG.js} +3 -3
- package/dist/components/DsAlert/index.js +3 -3
- package/dist/{chunks/DsAvatar-cyMI8jUi.js → components/DsAvatar/chunks/DsAvatar-D7tQ9wfl.js} +1 -1
- package/dist/components/DsAvatar/index.js +2 -2
- package/dist/{chunks/DsBadge-Dnd7_I-K.js → components/DsBadge/chunks/DsBadge-B9aZxvZb.js} +1 -1
- package/dist/components/DsBadge/index.js +3 -4
- package/dist/components/DsBadgeWrap/index.js +3 -3
- package/dist/components/DsBottomNav/index.js +3 -3
- package/dist/{chunks/DsButton-CA18Fha-.js → components/DsButton/chunks/DsButton-9cB_fHZt.js} +6 -6
- package/dist/components/DsButton/index.js +5 -4
- package/dist/{chunks/DsButtonGroup-Ceat9ADe.js → components/DsButtonGroup/chunks/DsButtonGroup-DPK1W3Hk.js} +1 -1
- package/dist/components/DsButtonGroup/index.js +3 -3
- package/dist/{chunks/DsCard-GtapCsjq.js → components/DsCard/chunks/DsCard-Bnelx1JF.js} +1 -1
- package/dist/components/DsCard/index.js +3 -3
- package/dist/components/DsCheckbox/chunks/DsCheckbox-B3YN7RYo.js +111 -0
- package/dist/components/DsCheckbox/index.js +3 -3
- package/dist/components/DsCollapse/chunks/DsCollapse-7D6FTuFJ.js +150 -0
- package/dist/components/DsCollapse/index.js +3 -3
- package/dist/components/DsConfirmDialog/chunks/DsConfirmDialog-NkhfmD4Y.js +111 -0
- package/dist/components/DsConfirmDialog/index.js +3 -3
- package/dist/components/DsDataTable/chunks/DsDataTable-nK4XgT1y.js +142 -0
- package/dist/components/DsDataTable/index.js +3 -3
- package/dist/components/DsDialog/chunks/DsDialog-BH23MSq-.js +169 -0
- package/dist/components/DsDialog/index.js +4 -3
- package/dist/components/DsDrawer/chunks/DsDrawer-GW4JyPf_.js +135 -0
- package/dist/components/DsDrawer/index.js +2 -2
- package/dist/{chunks/DsDropdown-BcFjxaMe.js → components/DsDropdown/chunks/DsDropdown-DmR1NWyV.js} +54 -50
- package/dist/components/DsDropdown/index.js +3 -4
- package/dist/{chunks/DsDropdownMenu-CA7259h5.js → components/DsDropdownMenu/chunks/DsDropdownMenu-BlpO8mUO.js} +45 -30
- package/dist/components/DsDropdownMenu/index.js +3 -3
- package/dist/components/DsEmptyState/chunks/DsEmptyState-tKYwSiP1.js +49 -0
- package/dist/components/DsEmptyState/index.js +3 -3
- package/dist/components/DsFileUpload/chunks/DsFileUpload-Dya9vyG0.js +294 -0
- package/dist/components/DsFileUpload/index.js +4 -4
- package/dist/components/DsFormField/index.js +3 -3
- package/dist/components/DsFormFile/chunks/DsFormFile-BFfRuM1G.js +248 -0
- package/dist/components/DsFormFile/index.js +3 -3
- package/dist/components/DsFormSection/chunks/DsFormSection-Dzspqv9R.js +27 -0
- package/dist/components/DsFormSection/index.js +3 -3
- package/dist/components/DsIcon/chunks/DsIcon-Bk6qc4Kh.js +25 -0
- package/dist/components/DsIcon/index.js +3 -3
- package/dist/{chunks/DsImageViewer-C9NZ42St.js → components/DsImageViewer/chunks/DsImageViewer-_LWdAHAd.js} +109 -100
- package/dist/components/DsImageViewer/index.js +3 -3
- package/dist/{chunks/DsInput-DeoAkT6R.js → components/DsInput/chunks/DsInput-B8RhHkKQ.js} +52 -53
- package/dist/components/DsInput/index.js +2 -2
- package/dist/components/DsInputTag/chunks/DsInputTag-DVmvJ0A_.js +214 -0
- package/dist/components/DsInputTag/index.js +2 -2
- package/dist/components/DsLink/chunks/DsLink-DXClMbuX.js +59 -0
- package/dist/components/DsLink/index.js +2 -2
- package/dist/components/DsList/chunks/DsList-BEuPowc2.js +55 -0
- package/dist/components/DsList/index.js +3 -3
- package/dist/{chunks/DsLoading-ogfmbPE4.js → components/DsLoading/chunks/DsLoading-uYpDF-nK.js} +14 -14
- package/dist/components/DsLoading/index.js +3 -4
- package/dist/components/DsModal/chunks/DsModal-B2DLXV7F.js +136 -0
- package/dist/components/DsModal/index.js +4 -4
- package/dist/components/DsNavbar/chunks/DsNavbar-O-ud_du_.js +62 -0
- package/dist/components/DsNavbar/index.js +3 -3
- package/dist/{chunks/DsNumberInput-D-m5QoQJ.js → components/DsNumberInput/chunks/DsNumberInput-BJTpcTRc.js} +70 -56
- package/dist/components/DsNumberInput/index.js +2 -2
- package/dist/{chunks/DsPagination-B28ms0hc.js → components/DsPagination/chunks/DsPagination-hw_-VMRK.js} +33 -21
- package/dist/components/DsPagination/index.js +3 -3
- package/dist/{chunks/DsProgressBar-Bkuqudkg.js → components/DsProgressBar/chunks/DsProgressBar-CgIQj39W.js} +4 -2
- package/dist/components/DsProgressBar/index.js +2 -2
- package/dist/{chunks/DsPromptDialog-DdSca52S.js → components/DsPromptDialog/chunks/DsPromptDialog-_8v3Puaj.js} +42 -17
- package/dist/components/DsPromptDialog/index.js +3 -3
- package/dist/{chunks/DsRadio-x2vmEUCv.js → components/DsRadio/chunks/DsRadio-DKbrUFUZ.js} +21 -15
- package/dist/components/DsRadio/index.js +2 -2
- package/dist/{chunks/DsRadioGroup-CzlzJF2E.js → components/DsRadioGroup/chunks/DsRadioGroup-BQo7Nc5-.js} +13 -10
- package/dist/components/DsRadioGroup/index.js +3 -3
- package/dist/components/DsSegmented/chunks/DsSegmented-SbqzdCNX.js +250 -0
- package/dist/components/DsSegmented/index.js +2 -2
- package/dist/components/DsSelect/chunks/DsSelect-DN-vZIEG.js +314 -0
- package/dist/components/DsSelect/index.js +3 -4
- package/dist/components/DsSidebar/chunks/DsSidebar-DdofI1lo.js +29 -0
- package/dist/components/DsSidebar/index.js +3 -3
- package/dist/{chunks/DsSkeleton-BcXabaQ7.js → components/DsSkeleton/chunks/DsSkeleton-DJSQ4gGR.js} +9 -9
- package/dist/components/DsSkeleton/index.js +3 -3
- package/dist/{chunks/DsSwitch-DBdjltGz.js → components/DsSwitch/chunks/DsSwitch-Dh4_bd6e.js} +8 -4
- package/dist/components/DsSwitch/index.js +2 -2
- package/dist/components/DsTable/chunks/DsTable-C27_FR_h.js +44 -0
- package/dist/components/DsTable/index.js +3 -3
- package/dist/components/DsTabs/chunks/DsTabs-FLWaGtbo.js +98 -0
- package/dist/components/DsTabs/index.js +3 -3
- package/dist/{chunks/DsTextarea-DVSsoqi3.js → components/DsTextarea/chunks/DsTextarea-D61wwTwK.js} +10 -9
- package/dist/components/DsTextarea/index.js +2 -2
- package/dist/components/DsToaster/chunks/DsToaster-KO8wZChw.js +159 -0
- package/dist/components/DsToaster/index.js +2 -2
- package/dist/components/DsTooltip/chunks/DsTooltip-BNkQOtpm.js +37 -0
- package/dist/components/DsTooltip/index.js +3 -3
- package/dist/{chunks/DsTree-Bz37FcIb.js → components/DsTree/chunks/DsTree-DK0aOkKS.js} +19 -7
- package/dist/components/DsTree/index.js +2 -2
- package/dist/components/DsTreeSelect/chunks/DsTreeSelect-BnG-oplE.js +353 -0
- package/dist/components/DsTreeSelect/index.js +2 -2
- package/dist/directives/index.js +2 -0
- package/dist/{fileValidation.js → fileValidation/index.js} +1 -1
- package/dist/granular-provider-node.js +23 -0
- package/dist/granular-provider.js +5 -0
- package/dist/i18n/index.js +9 -0
- package/dist/index.js +147 -115
- package/dist/types/src/components/DsAlert/config.d.ts +1 -1
- package/dist/types/src/components/DsAlert/index.d.ts +0 -1
- package/dist/types/src/components/DsAvatar/config.d.ts +1 -1
- package/dist/types/src/components/DsAvatar/dsAvatarStyles.d.ts +1 -4
- package/dist/types/src/components/DsAvatar/safelist.d.ts +4 -1
- package/dist/types/src/components/DsBadge/config.d.ts +1 -1
- package/dist/types/src/components/DsBadge/dsBadgeStyles.d.ts +4 -1
- package/dist/types/src/components/DsBadge/safelist.d.ts +1 -1
- package/dist/types/src/components/DsBadgeWrap/config.d.ts +1 -1
- package/dist/types/src/components/DsBadgeWrap/index.d.ts +0 -1
- package/dist/types/src/components/DsBottomNav/config.d.ts +1 -1
- package/dist/types/src/components/DsBottomNav/index.d.ts +0 -1
- package/dist/types/src/components/DsButton/config.d.ts +1 -1
- package/dist/types/src/components/DsButton/config.node.d.ts +1 -0
- package/dist/types/src/components/DsButton/dsButtonStyles.d.ts +20 -10
- package/dist/types/src/components/DsButton/index.d.ts +2 -1
- package/dist/types/src/components/DsButton/safelist.d.ts +7 -1
- package/dist/types/src/components/DsButtonGroup/config.d.ts +1 -1
- package/dist/types/src/components/DsButtonGroup/index.d.ts +0 -1
- package/dist/types/src/components/DsCard/config.d.ts +1 -1
- package/dist/types/src/components/DsCard/index.d.ts +0 -1
- package/dist/types/src/components/DsCheckbox/DsCheckbox.vue.d.ts +9 -4
- package/dist/types/src/components/DsCheckbox/config.d.ts +1 -1
- package/dist/types/src/components/DsCheckbox/index.d.ts +1 -1
- package/dist/types/src/components/DsCollapse/DsCollapse.vue.d.ts +12 -4
- package/dist/types/src/components/DsCollapse/DsCollapseItem.vue.d.ts +13 -6
- package/dist/types/src/components/DsCollapse/config.d.ts +1 -1
- package/dist/types/src/components/DsCollapse/index.d.ts +2 -3
- package/dist/types/src/components/DsConfirmDialog/DsConfirmDialog.vue.d.ts +32 -11
- package/dist/types/src/components/DsConfirmDialog/config.d.ts +1 -1
- package/dist/types/src/components/DsConfirmDialog/index.d.ts +1 -1
- package/dist/types/src/components/DsDataTable/DsDataTable.vue.d.ts +35 -42
- package/dist/types/src/components/DsDataTable/config.d.ts +1 -1
- package/dist/types/src/components/DsDataTable/index.d.ts +1 -2
- package/dist/types/src/components/DsDialog/DsDialog.vue.d.ts +24 -14
- package/dist/types/src/components/DsDialog/DsDialogFooter.vue.d.ts +4 -4
- package/dist/types/src/components/DsDialog/DsDialogHeader.vue.d.ts +9 -4
- package/dist/types/src/components/DsDialog/config.d.ts +1 -1
- package/dist/types/src/components/DsDialog/dialogShared.d.ts +6 -1
- package/dist/types/src/components/DsDialog/index.d.ts +6 -3
- package/dist/types/src/components/DsDrawer/DsDrawer.vue.d.ts +27 -11
- package/dist/types/src/components/DsDrawer/config.d.ts +1 -1
- package/dist/types/src/components/DsDrawer/dsDrawerStyles.d.ts +8 -19
- package/dist/types/src/components/DsDrawer/index.d.ts +2 -0
- package/dist/types/src/components/DsDrawer/safelist.d.ts +1 -1
- package/dist/types/src/components/DsDropdown/DsDropdown.vue.d.ts +9 -4
- package/dist/types/src/components/DsDropdown/config.d.ts +1 -1
- package/dist/types/src/components/DsDropdown/dsDropdownStyles.d.ts +2 -1
- package/dist/types/src/components/DsDropdown/index.d.ts +2 -0
- package/dist/types/src/components/DsDropdown/safelist.d.ts +1 -1
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenu.vue.d.ts +12 -4
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuColumn.vue.d.ts +7 -6
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuColumns.vue.d.ts +4 -4
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuDivider.vue.d.ts +4 -4
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuGroup.vue.d.ts +4 -4
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuHeader.vue.d.ts +4 -4
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuItem.vue.d.ts +4 -4
- package/dist/types/src/components/DsDropdownMenu/DsDropdownMenuList.vue.d.ts +4 -4
- package/dist/types/src/components/DsDropdownMenu/config.d.ts +1 -1
- package/dist/types/src/components/DsDropdownMenu/index.d.ts +8 -4
- package/dist/types/src/components/DsEmptyState/DsEmptyState.vue.d.ts +15 -6
- package/dist/types/src/components/DsEmptyState/config.d.ts +1 -1
- package/dist/types/src/components/DsEmptyState/index.d.ts +1 -1
- package/dist/types/src/components/DsFileUpload/DsFileUpload.vue.d.ts +21 -8
- package/dist/types/src/components/DsFileUpload/config.d.ts +1 -1
- package/dist/types/src/components/DsFileUpload/index.d.ts +1 -1
- package/dist/types/src/components/DsFormField/config.d.ts +1 -1
- package/dist/types/src/components/DsFormField/index.d.ts +1 -1
- package/dist/types/src/components/DsFormFile/DsFormFile.vue.d.ts +13 -7
- package/dist/types/src/components/DsFormFile/config.d.ts +1 -1
- package/dist/types/src/components/DsFormFile/index.d.ts +1 -2
- package/dist/types/src/components/DsFormSection/DsFormSection.vue.d.ts +10 -4
- package/dist/types/src/components/DsFormSection/config.d.ts +1 -1
- package/dist/types/src/components/DsFormSection/index.d.ts +1 -1
- package/dist/types/src/components/DsIcon/DsIcon.vue.d.ts +1 -2
- package/dist/types/src/components/DsIcon/config.d.ts +1 -1
- package/dist/types/src/components/DsIcon/index.d.ts +0 -2
- package/dist/types/src/components/DsImageViewer/DsImageViewer.vue.d.ts +45 -0
- package/dist/types/src/components/DsImageViewer/config.d.ts +1 -1
- package/dist/types/src/components/DsImageViewer/index.d.ts +0 -1
- package/dist/types/src/components/DsInput/config.d.ts +1 -1
- package/dist/types/src/components/DsInput/dsInputStyles.d.ts +17 -1
- package/dist/types/src/components/DsInput/index.d.ts +1 -1
- package/dist/types/src/components/DsInput/safelist.d.ts +1 -0
- package/dist/types/src/components/DsInputTag/DsInputTag.vue.d.ts +15 -5
- package/dist/types/src/components/DsInputTag/config.d.ts +1 -1
- package/dist/types/src/components/DsInputTag/dsInputTagStyles.d.ts +3 -1
- package/dist/types/src/components/DsInputTag/index.d.ts +1 -0
- package/dist/types/src/components/DsInputTag/safelist.d.ts +1 -1
- package/dist/types/src/components/DsLink/DsLink.vue.d.ts +0 -1
- package/dist/types/src/components/DsLink/config.d.ts +1 -1
- package/dist/types/src/components/DsLink/dsLinkStyles.d.ts +6 -1
- package/dist/types/src/components/DsLink/safelist.d.ts +1 -1
- package/dist/types/src/components/DsList/DsList.vue.d.ts +8 -5
- package/dist/types/src/components/DsList/DsListItem.vue.d.ts +39 -6
- package/dist/types/src/components/DsList/config.d.ts +1 -1
- package/dist/types/src/components/DsList/index.d.ts +2 -1
- package/dist/types/src/components/DsLoading/DsLoading.vue.d.ts +18 -5
- package/dist/types/src/components/DsLoading/config.d.ts +1 -1
- package/dist/types/src/components/DsLoading/dsLoadingStyles.d.ts +6 -1
- package/dist/types/src/components/DsLoading/index.d.ts +1 -0
- package/dist/types/src/components/DsLoading/safelist.d.ts +1 -1
- package/dist/types/src/components/DsModal/DsModal.vue.d.ts +17 -10
- package/dist/types/src/components/DsModal/config.d.ts +1 -1
- package/dist/types/src/components/DsModal/dsModalStyles.d.ts +25 -16
- package/dist/types/src/components/DsModal/index.d.ts +4 -2
- package/dist/types/src/components/DsModal/safelist.d.ts +15 -1
- package/dist/types/src/components/DsNavbar/DsNavbar.vue.d.ts +15 -7
- package/dist/types/src/components/DsNavbar/config.d.ts +1 -1
- package/dist/types/src/components/DsNavbar/index.d.ts +1 -1
- package/dist/types/src/components/DsNumberInput/DsNumberInput.vue.d.ts +17 -5
- package/dist/types/src/components/DsNumberInput/config.d.ts +1 -1
- package/dist/types/src/components/DsNumberInput/dsNumberInputStyles.d.ts +5 -1
- package/dist/types/src/components/DsNumberInput/index.d.ts +2 -1
- package/dist/types/src/components/DsNumberInput/safelist.d.ts +1 -1
- package/dist/types/src/components/DsPagination/DsPagination.vue.d.ts +10 -4
- package/dist/types/src/components/DsPagination/config.d.ts +1 -1
- package/dist/types/src/components/DsPagination/index.d.ts +1 -2
- package/dist/types/src/components/DsProgressBar/DsProgressBar.vue.d.ts +11 -4
- package/dist/types/src/components/DsProgressBar/config.d.ts +1 -1
- package/dist/types/src/components/DsProgressBar/config.node.d.ts +1 -0
- package/dist/types/src/components/DsProgressBar/dsStyle.d.ts +0 -4
- package/dist/types/src/components/DsProgressBar/index.d.ts +2 -1
- package/dist/types/src/components/DsProgressBar/safelist.d.ts +4 -1
- package/dist/types/src/components/DsPromptDialog/DsPromptDialog.vue.d.ts +33 -7
- package/dist/types/src/components/DsPromptDialog/config.d.ts +1 -1
- package/dist/types/src/components/DsPromptDialog/index.d.ts +1 -1
- package/dist/types/src/components/DsRadio/DsRadio.vue.d.ts +18 -6
- package/dist/types/src/components/DsRadio/config.d.ts +1 -1
- package/dist/types/src/components/DsRadio/dsRadioStyles.d.ts +9 -2
- package/dist/types/src/components/DsRadio/index.d.ts +1 -1
- package/dist/types/src/components/DsRadio/safelist.d.ts +1 -1
- package/dist/types/src/components/DsRadioGroup/DsRadioGroup.vue.d.ts +16 -6
- package/dist/types/src/components/DsRadioGroup/config.d.ts +1 -1
- package/dist/types/src/components/DsRadioGroup/index.d.ts +1 -2
- package/dist/types/src/components/DsSegmented/DsSegmented.vue.d.ts +10 -4
- package/dist/types/src/components/DsSegmented/config.d.ts +1 -1
- package/dist/types/src/components/DsSegmented/dsSegmentedStyles.d.ts +13 -17
- package/dist/types/src/components/DsSegmented/index.d.ts +1 -0
- package/dist/types/src/components/DsSegmented/safelist.d.ts +17 -1
- package/dist/types/src/components/DsSelect/DsSelect.vue.d.ts +13 -5
- package/dist/types/src/components/DsSelect/config.d.ts +1 -1
- package/dist/types/src/components/DsSelect/dsSelectStyles.d.ts +5 -1
- package/dist/types/src/components/DsSelect/index.d.ts +1 -1
- package/dist/types/src/components/DsSelect/safelist.d.ts +1 -1
- package/dist/types/src/components/DsSidebar/DsSidebar.vue.d.ts +20 -7
- package/dist/types/src/components/DsSidebar/config.d.ts +1 -1
- package/dist/types/src/components/DsSidebar/index.d.ts +1 -2
- package/dist/types/src/components/DsSkeleton/DsSkeleton.vue.d.ts +10 -4
- package/dist/types/src/components/DsSkeleton/config.d.ts +1 -1
- package/dist/types/src/components/DsSkeleton/index.d.ts +1 -2
- package/dist/types/src/components/DsSwitch/DsSwitch.vue.d.ts +10 -5
- package/dist/types/src/components/DsSwitch/config.d.ts +1 -1
- package/dist/types/src/components/DsSwitch/dsSwitchStyles.d.ts +10 -10
- package/dist/types/src/components/DsSwitch/index.d.ts +1 -1
- package/dist/types/src/components/DsSwitch/safelist.d.ts +10 -1
- package/dist/types/src/components/DsTable/DsTable.vue.d.ts +67 -4
- package/dist/types/src/components/DsTable/config.d.ts +1 -1
- package/dist/types/src/components/DsTable/index.d.ts +1 -1
- package/dist/types/src/components/DsTabs/DsTabs.vue.d.ts +4 -3
- package/dist/types/src/components/DsTabs/config.d.ts +1 -1
- package/dist/types/src/components/DsTabs/index.d.ts +1 -2
- package/dist/types/src/components/DsTextarea/DsTextarea.vue.d.ts +16 -1
- package/dist/types/src/components/DsTextarea/config.d.ts +1 -1
- package/dist/types/src/components/DsTextarea/dsTextareaStyles.d.ts +1 -1
- package/dist/types/src/components/DsTextarea/index.d.ts +1 -0
- package/dist/types/src/components/DsTextarea/safelist.d.ts +1 -1
- package/dist/types/src/components/DsToaster/DsToaster.vue.d.ts +41 -1
- package/dist/types/src/components/DsToaster/config.d.ts +1 -1
- package/dist/types/src/components/DsToaster/dsToasterStyles.d.ts +2 -0
- package/dist/types/src/components/DsToaster/index.d.ts +2 -0
- package/dist/types/src/components/DsToaster/safelist.d.ts +1 -1
- package/dist/types/src/components/DsTooltip/DsTooltip.vue.d.ts +5 -4
- package/dist/types/src/components/DsTooltip/config.d.ts +1 -1
- package/dist/types/src/components/DsTooltip/index.d.ts +1 -1
- package/dist/types/src/components/DsTree/config.d.ts +1 -1
- package/dist/types/src/components/DsTree/dsTreeProps.d.ts +6 -0
- package/dist/types/src/components/DsTree/safelist.d.ts +1 -1
- package/dist/types/src/components/DsTreeSelect/DsTreeSelect.vue.d.ts +3 -27
- package/dist/types/src/components/DsTreeSelect/config.d.ts +1 -1
- package/dist/types/src/components/DsTreeSelect/dsTreeSelectStyles.d.ts +2 -1
- package/dist/types/src/components/DsTreeSelect/dsTreeSelectTypes.d.ts +31 -1
- package/dist/types/src/components/DsTreeSelect/index.d.ts +1 -1
- package/dist/types/src/components/DsTreeSelect/safelist.d.ts +1 -1
- package/dist/types/src/composables/useToast.d.ts +4 -0
- package/dist/types/src/directives/globalDirectives.d.ts +1 -1
- package/dist/types/src/granular-provider/index.d.ts +3 -0
- package/dist/types/src/granular-provider/node.d.ts +3 -0
- package/dist/types/src/granular-provider/shared.d.ts +85 -0
- package/dist/types/src/i18n/messages.d.ts +12 -0
- package/dist/types/src/index.d.ts +11 -16
- package/dist/types/src/vue/index.d.ts +2 -0
- package/dist/types/src/vue/plugin.d.ts +92 -0
- package/dist/vue/index.js +47 -0
- package/package.json +73 -139
- package/dist/assets/granularity-2oOxNk_f.css +0 -2
- package/dist/chunks/DsCheckbox-Afg94qUm.js +0 -101
- package/dist/chunks/DsCollapse-DWfip4gp.js +0 -144
- package/dist/chunks/DsConfirmDialog-DdUrG-DW.js +0 -87
- package/dist/chunks/DsDataTable-DgBkEgDK.js +0 -91
- package/dist/chunks/DsDialog-BAGAa9DN.js +0 -178
- package/dist/chunks/DsDrawer-gmVF_0I0.js +0 -112
- package/dist/chunks/DsEmptyState-BdLoQ0-z.js +0 -46
- package/dist/chunks/DsFileUpload-IwtpKocj.js +0 -282
- package/dist/chunks/DsFormFile-C5ldcCAs.js +0 -219
- package/dist/chunks/DsFormSection-DmIDIQg7.js +0 -18
- package/dist/chunks/DsIcon-Q-KQGAQU.js +0 -25
- package/dist/chunks/DsInputTag-DWip_-Cr.js +0 -201
- package/dist/chunks/DsLink-CWpVQ0ij.js +0 -56
- package/dist/chunks/DsList-XI8AAk9b.js +0 -31
- package/dist/chunks/DsModal-Bl9r6v33.js +0 -75
- package/dist/chunks/DsNavbar-DJ4bv_MR.js +0 -54
- package/dist/chunks/DsSegmented-BwQ8VnOZ.js +0 -250
- package/dist/chunks/DsSelect-DEHGeICn.js +0 -304
- package/dist/chunks/DsSidebar-BNLaBCYD.js +0 -18
- package/dist/chunks/DsTable-apqrsbxV.js +0 -10
- package/dist/chunks/DsTabs-B1kkklFS.js +0 -47
- package/dist/chunks/DsToaster-B9u2x_Ii.js +0 -48
- package/dist/chunks/DsTooltip-BqNVJw2f.js +0 -27
- package/dist/chunks/DsTreeSelect-CU0aC9Mz.js +0 -319
- package/dist/chunks/componentConfig-CQndJxd1.js +0 -14
- package/dist/chunks/config-4vrmi-D0.js +0 -9
- package/dist/chunks/config-ANT_Zf3l.js +0 -18
- package/dist/chunks/config-B7HAOCA1.js +0 -33
- package/dist/chunks/config-B7yrZO9u.js +0 -18
- package/dist/chunks/config-B98-jCfY.js +0 -9
- package/dist/chunks/config-BDJ2JaFs.js +0 -9
- package/dist/chunks/config-BEzNFZ_R.js +0 -10
- package/dist/chunks/config-BKpHj94n.js +0 -13
- package/dist/chunks/config-BLYxW-WQ.js +0 -9
- package/dist/chunks/config-BS0vLD_L.js +0 -41
- package/dist/chunks/config-BXlW2GSa.js +0 -33
- package/dist/chunks/config-BY6edpDp.js +0 -9
- package/dist/chunks/config-BZDKypuQ.js +0 -8
- package/dist/chunks/config-BeJEy8yN.js +0 -9
- package/dist/chunks/config-BnryTLnh.js +0 -47
- package/dist/chunks/config-BqaCteFh2.js +0 -9
- package/dist/chunks/config-BusLdkqX.js +0 -8
- package/dist/chunks/config-CBo4aVMV.js +0 -8
- package/dist/chunks/config-CLyDbB2M.js +0 -14
- package/dist/chunks/config-CML-WrGM.js +0 -10
- package/dist/chunks/config-CVEwIRRR.js +0 -30
- package/dist/chunks/config-Ch0TH9wN.js +0 -42
- package/dist/chunks/config-ClPYX-LP.js +0 -24
- package/dist/chunks/config-DA3cYUSo.js +0 -8
- package/dist/chunks/config-DAiP4yeJ.js +0 -8
- package/dist/chunks/config-DG_de8vE.js +0 -15
- package/dist/chunks/config-DIgvSIEs.js +0 -9
- package/dist/chunks/config-DJ7xDo-q.js +0 -16
- package/dist/chunks/config-DSFnRpu82.js +0 -19
- package/dist/chunks/config-DVHe_id-.js +0 -22
- package/dist/chunks/config-DoT3gzx7.js +0 -9
- package/dist/chunks/config-DuaBaVyF.js +0 -34
- package/dist/chunks/config-F4Bb6hVJ.js +0 -30
- package/dist/chunks/config-aUoIf7kK.js +0 -28
- package/dist/chunks/config-cKk87ycz2.js +0 -14
- package/dist/chunks/config-kfb3OyGZ.js +0 -24
- package/dist/chunks/config-oDjY8ZrP2.js +0 -8
- package/dist/chunks/config-panSV6Wo.js +0 -9
- package/dist/chunks/dsDialogStyles-C7QOvzmt.js +0 -11
- package/dist/chunks/dsFormFieldStyles-DspgXEqY.js +0 -9
- package/dist/chunks/dsLoadingStyles-B2ScgHwn.js +0 -16
- package/dist/chunks/dsModalStyles-C7E5kJ1o.js +0 -54
- package/dist/chunks/dsSelectStyles-Bym0uW4f.js +0 -82
- package/dist/chunks/preset-DBXBjf5u.js +0 -2235
- package/dist/components/DsAlert/styles.css +0 -386
- package/dist/components/DsAvatar/styles.css +0 -373
- package/dist/components/DsBadge/styles.css +0 -422
- package/dist/components/DsBadgeWrap/styles.css +0 -378
- package/dist/components/DsBottomNav/styles.css +0 -388
- package/dist/components/DsButton/styles.css +0 -633
- package/dist/components/DsButton/tokens.css +0 -96
- package/dist/components/DsButtonGroup/styles.css +0 -23
- package/dist/components/DsCard/styles.css +0 -365
- package/dist/components/DsCheckbox/styles.css +0 -394
- package/dist/components/DsCollapse/styles.css +0 -399
- package/dist/components/DsConfirmDialog/styles.css +0 -595
- package/dist/components/DsDataTable/styles.css +0 -387
- package/dist/components/DsDialog/styles.css +0 -592
- package/dist/components/DsDrawer/styles.css +0 -579
- package/dist/components/DsDropdown/styles.css +0 -392
- package/dist/components/DsDropdownMenu/styles.css +0 -430
- package/dist/components/DsEmptyState/styles.css +0 -380
- package/dist/components/DsFileUpload/styles.css +0 -403
- package/dist/components/DsFormField/styles.css +0 -365
- package/dist/components/DsFormFile/styles.css +0 -555
- package/dist/components/DsFormSection/styles.css +0 -365
- package/dist/components/DsIcon/styles.css +0 -20
- package/dist/components/DsIcon/tokens.css +0 -3
- package/dist/components/DsImageViewer/styles.css +0 -465
- package/dist/components/DsInput/styles.css +0 -416
- package/dist/components/DsInputTag/styles.css +0 -498
- package/dist/components/DsLink/styles.css +0 -390
- package/dist/components/DsList/styles.css +0 -376
- package/dist/components/DsLoading/styles.css +0 -381
- package/dist/components/DsModal/styles.css +0 -404
- package/dist/components/DsNavbar/styles.css +0 -549
- package/dist/components/DsNumberInput/styles.css +0 -428
- package/dist/components/DsPagination/styles.css +0 -637
- package/dist/components/DsProgressBar/styles.css +0 -398
- package/dist/components/DsProgressBar/tokens.css +0 -23
- package/dist/components/DsPromptDialog/styles.css +0 -622
- package/dist/components/DsRadio/styles.css +0 -558
- package/dist/components/DsRadioGroup/styles.css +0 -560
- package/dist/components/DsSegmented/styles.css +0 -422
- package/dist/components/DsSegmented/tokens.css +0 -9
- package/dist/components/DsSelect/styles.css +0 -483
- package/dist/components/DsSidebar/styles.css +0 -370
- package/dist/components/DsSkeleton/styles.css +0 -363
- package/dist/components/DsSwitch/styles.css +0 -393
- package/dist/components/DsTable/styles.css +0 -369
- package/dist/components/DsTabs/styles.css +0 -390
- package/dist/components/DsTextarea/styles.css +0 -382
- package/dist/components/DsToaster/styles.css +0 -558
- package/dist/components/DsTooltip/styles.css +0 -388
- package/dist/components/DsTree/styles.css +0 -375
- package/dist/components/DsTreeSelect/styles.css +0 -466
- package/dist/composables/useTheme.js +0 -44
- package/dist/composables/useToast.js +0 -37
- package/dist/directives/autofocus.js +0 -46
- package/dist/directives/autosize.js +0 -62
- package/dist/directives/clickOutside.js +0 -82
- package/dist/directives/dropzone.js +0 -110
- package/dist/directives/globalDirectives.js +0 -0
- package/dist/directives/hotkey.js +0 -104
- package/dist/directives/loading.js +0 -125
- package/dist/directives.js +0 -7
- package/dist/foundation.css +0 -358
- package/dist/i18n.js +0 -9
- package/dist/package.json +0 -293
- package/dist/styles/base.css +0 -33
- package/dist/styles/themes/dark.css +0 -102
- package/dist/styles/themes/light.css +0 -98
- package/dist/styles/tokens.css +0 -118
- package/dist/styles.css +0 -1134
- package/dist/types/src/components/DsAlert/safelist.d.ts +0 -1
- package/dist/types/src/components/DsBadgeWrap/safelist.d.ts +0 -1
- package/dist/types/src/components/DsBottomNav/safelist.d.ts +0 -1
- package/dist/types/src/components/DsButton/styles.css.d.ts +0 -4
- package/dist/types/src/components/DsButtonGroup/safelist.d.ts +0 -1
- package/dist/types/src/components/DsButtonGroup/styles.css.d.ts +0 -3
- package/dist/types/src/components/DsCard/safelist.d.ts +0 -1
- package/dist/types/src/components/DsCheckbox/safelist.d.ts +0 -1
- package/dist/types/src/components/DsCollapse/safelist.d.ts +0 -1
- package/dist/types/src/components/DsConfirmDialog/safelist.d.ts +0 -1
- package/dist/types/src/components/DsDataTable/safelist.d.ts +0 -1
- package/dist/types/src/components/DsDropdownMenu/safelist.d.ts +0 -1
- package/dist/types/src/components/DsEmptyState/safelist.d.ts +0 -1
- package/dist/types/src/components/DsFileUpload/safelist.d.ts +0 -1
- package/dist/types/src/components/DsFormField/dsFormFieldStyles.d.ts +0 -1
- package/dist/types/src/components/DsFormFile/safelist.d.ts +0 -1
- package/dist/types/src/components/DsFormSection/safelist.d.ts +0 -1
- package/dist/types/src/components/DsIcon/dsIconStyles.d.ts +0 -2
- package/dist/types/src/components/DsIcon/styles.css.d.ts +0 -5
- package/dist/types/src/components/DsImageViewer/safelist.d.ts +0 -1
- package/dist/types/src/components/DsList/safelist.d.ts +0 -1
- package/dist/types/src/components/DsModal/styles.css.d.ts +0 -3
- package/dist/types/src/components/DsNavbar/safelist.d.ts +0 -1
- package/dist/types/src/components/DsPagination/safelist.d.ts +0 -1
- package/dist/types/src/components/DsPromptDialog/safelist.d.ts +0 -1
- package/dist/types/src/components/DsPromptDialog/styles.css.d.ts +0 -1
- package/dist/types/src/components/DsRadioGroup/safelist.d.ts +0 -1
- package/dist/types/src/components/DsSelect/styles.css.d.ts +0 -1
- package/dist/types/src/components/DsSidebar/safelist.d.ts +0 -1
- package/dist/types/src/components/DsSkeleton/safelist.d.ts +0 -1
- package/dist/types/src/components/DsTable/safelist.d.ts +0 -1
- package/dist/types/src/components/DsTabs/safelist.d.ts +0 -1
- package/dist/types/src/components/DsTooltip/safelist.d.ts +0 -1
- package/dist/types/src/registry/componentConfig.d.ts +0 -17
- package/dist/types/src/registry/componentCss.d.ts +0 -3
- package/dist/types/src/registry/componentCss.node.d.ts +0 -5
- package/dist/types/src/registry/components.d.ts +0 -56
- package/dist/types/src/registry/safelist.d.ts +0 -11
- package/dist/types/src/theming/themeRegistry.d.ts +0 -19
- package/dist/types/src/theming/themeRegistry.node.d.ts +0 -14
- package/dist/types/src/unocss/preset.d.ts +0 -18
- package/dist/types/src/unocss/preset.node.d.ts +0 -15
- package/dist/types/src/unocss/rules/animation.d.ts +0 -3
- package/dist/types/src/unocss/rules/colorOpacity.d.ts +0 -2
- package/dist/types/src/unocss/rules/filters.d.ts +0 -8
- package/dist/types/src/unocss/rules/spacing.d.ts +0 -8
- package/dist/uno-node.js +0 -103
- package/dist/uno.js +0 -2
- package/web-types.json +0 -100
- /package/dist/chunks/{_plugin-vue_export-helper-DOgycIVc.js → _plugin-vue_export-helper-CHO2XVys.js} +0 -0
- /package/dist/chunks/{adapter-BKKNB3Ii.js → adapter-veOBOjv3.js} +0 -0
- /package/dist/chunks/{arrow-up-B4OlmAKz.js → arrow-up-Dv3dC3hu.js} +0 -0
- /package/dist/chunks/{info-CmLOtVnO.js → info-CNJnuTYC.js} +0 -0
- /package/dist/chunks/{loader-circle-DtXjkqR7.js → loader-circle-C5vCCMfB.js} +0 -0
- /package/dist/chunks/{x-dGjszOU2.js → x--kxrj3ez.js} +0 -0
- /package/dist/chunks/{x-circle-BZnfL2nz.js → x-circle-ChJ87u1v.js} +0 -0
- /package/dist/{chunks/DsBadgeWrap-UgP-TMdA.js → components/DsBadgeWrap/chunks/DsBadgeWrap-DO8TjFYg.js} +0 -0
- /package/dist/{chunks/DsBottomNav-Dze5cFVz.js → components/DsBottomNav/chunks/DsBottomNav-NRtHfcmQ.js} +0 -0
- /package/dist/{chunks/DsFormField-XVZK7YVU.js → components/DsFormField/chunks/DsFormField-QvWyAReX.js} +0 -0
- /package/dist/types/src/components/DsDialog/{dsDialogStyles.d.ts → safelist.d.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsAlertSafelist: readonly ["rounded-[var(--ds-radius-lg)]", "border", "px-4", "py-3", "flex", "items-start", "gap-3", "mt-0.5", "h-5", "w-5", "text-[var(--ds-alert-icon-color)]", "min-w-0", "flex-1", "text-[14px]", "font-700", "text-[var(--ds-alert-title-color)]", "text-[13px]", "text-[var(--ds-alert-text-color)]", "-mr-1", "-mt-1", "rounded-[var(--ds-radius-md)]", "p-1", "text-[var(--ds-alert-close-color)]", "transition-colors", "hover:text-[var(--ds-alert-close-hover-color)]", "h-4", "w-4"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsBadgeWrapSafelist: readonly ["relative", "inline-flex", "absolute", "-top-1", "-right-1", "h-2", "w-2", "rounded-full", "bg-[var(--ds-danger)]", "-top-2", "-right-2", "min-w-5", "h-5", "px-1", "text-[var(--destructive-fg)]", "text-[11px]", "font-700", "items-center", "justify-center"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsBottomNavSafelist: readonly ["fixed", "bottom-0", "left-0", "right-0", "border-t", "border-[var(--brd)]", "bg-[var(--bg)]", "px-2", "pb-[env(safe-area-inset-bottom)]", "sm:hidden", "h-14", "flex", "items-center", "justify-around", "min-w-[44px]", "min-h-[44px]", "px-3", "rounded-md", "text-sm", "font-600", "transition-colors", "focus:outline-none", "focus-visible:ring-2", "focus-visible:ring-[var(--ring)]", "text-[var(--primary)]", "text-[var(--muted-fg)]", "hover:text-[var(--fg)]"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsButtonGroupSafelist: readonly ["inline-flex", "items-stretch"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsCardSafelist: readonly ["rounded-[var(--ds-radius-lg)]", "border", "border-[var(--brd)]", "bg-[var(--card)]", "text-[var(--card-fg)]", "shadow-sm"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsCheckboxSafelist: readonly ["inline-flex", "items-center", "gap-2", "select-none", "focus-visible:outline-none", "focus-visible:rounded-[8px]", "focus-visible:shadow-[0_0_0_2px_var(--ring),0_0_0_4px_var(--bg)]", "cursor-not-allowed", "opacity-70", "cursor-pointer", "h-4", "w-4", "rounded", "border", "flex", "justify-center", "transition-colors", "duration-150", "border-[var(--primary)]", "bg-[var(--primary)]", "border-[var(--brd)]", "bg-[var(--bg)]", "h-3.5", "w-3.5", "transition-transform", "transition-opacity", "opacity-100", "scale-100", "text-[var(--primary-fg)]", "opacity-0", "scale-75", "text-transparent", "text-sm", "text-[var(--muted-fg)]"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsCollapseSafelist: readonly ["divide-y", "divide-[var(--brd)]", "text-[var(--fg)]", "m-0", "w-full", "px-4", "py-3", "pb-4", "flex", "items-center", "justify-between", "gap-4", "text-left", "transition-colors", "transition-transform", "transition-[grid-template-rows]", "duration-150", "duration-200", "focus:outline-none", "focus-visible:ring-2", "focus-visible:ring-[var(--ring)]", "disabled:opacity-50", "disabled:cursor-not-allowed", "hover:bg-[var(--muted)]", "min-w-0", "text-sm", "font-600", "h-4", "w-4", "shrink-0", "text-[var(--muted-fg)]", "rotate-180", "grid", "grid-rows-[1fr]", "grid-rows-[0fr]", "overflow-hidden"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsConfirmDialogSafelist: string[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsDataTableSafelist: readonly ["font-700", "text-xs", "px-4", "py-3", "text-left", "text-right", "inline-flex", "items-center", "gap-2", "text-[var(--muted-fg)]", "hover:text-[var(--fg)]", "transition-colors", "focus:outline-none", "focus-visible:ring-2", "focus-visible:ring-[var(--ring)]", "rounded", "h-4", "w-4", "border-t", "border-[var(--brd)]"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsDropdownMenuSafelist: readonly ["p-0", "w-full", "divide-y", "divide-[var(--brd)]", "border-t", "border-[var(--brd)]", "border-b", "text-left", "text-center", "text-right", "px-4", "py-2", "text-[11px]", "tracking-wide", "text-[var(--muted-fg)]", "uppercase", "justify-start", "justify-center", "justify-end", "text-[var(--ds-danger)]", "text-[var(--fg)]", "cursor-not-allowed", "opacity-60", "pointer-events-none", "hover:bg-[var(--accent)]", "hover:text-[var(--accent-fg)]", "min-h-[40px]", "py-2.5", "flex", "items-center", "gap-2", "text-[13px]", "transition-colors", "duration-150", "focus:outline-none", "focus-visible:ring-2", "focus-visible:ring-[var(--ring)]", "mx-2", "grid", "divide-x", "grid-cols-2", "grid-cols-3", "grid-cols-4", "px-3"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsEmptyStateSafelist: readonly ["rounded-[var(--ds-radius-lg)]", "border", "border-[var(--brd)]", "bg-[var(--card)]", "p-6", "text-center", "flex", "justify-center", "h-12", "w-12", "rounded-[12px]", "bg-[var(--muted)]", "items-center", "h-6", "w-6", "text-[var(--muted-fg)]", "mt-4", "text-[14px]", "font-700", "mt-1", "text-[13px]"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsFileUploadSafelist: string[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsFormFieldSafelist: string[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsFormFileSafelist: readonly ["rounded-[var(--ds-radius-md)]", "opacity-60", "cursor-not-allowed", "absolute", "opacity-0", "w-px", "h-px", "pointer-events-none", "flex", "flex-col", "gap-2", "flex-wrap", "items-center", "gap-3", "i-lucide-upload", "ml-2", "i-lucide-x", "text-sm", "text-[var(--muted-fg)]", "truncate", "max-w-[240px]", "text-xs", "hover:text-[var(--fg)]", "text-[var(--ds-danger)]"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsFormSectionSafelist: readonly ["grid", "gap-4", "text-[14px]", "font-700", "mt-1", "text-[13px]", "ds-muted"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsImageViewerSafelist: readonly ["fixed", "inset-0", "overflow-hidden", "duration-120", "duration-130", "duration-150", "duration-180", "ease-in", "ease-out", "opacity-0", "opacity-100", "scale-98", "scale-100", "absolute", "bg-black/60", "backdrop-blur-sm", "relative", "z-10", "h-full", "w-full", "outline-none", "pointer-events-none", "inset-x-0", "top-0", "z-30", "px-3", "py-3", "sm:px-6", "pointer-events-auto", "flex", "items-center", "justify-between", "justify-center", "gap-1", "gap-2", "gap-3", "rounded-full", "bg-black/35", "py-1", "text-xs", "font-600", "text-white/95", "sm:text-sm", "font-700", "h-11", "w-11", "border", "border-white/20", "text-white", "transition-colors", "hover:bg-black/55", "focus-visible:outline-none", "focus-visible:ring-2", "focus-visible:ring-white/80", "text-lg", "leading-none", "px-16", "py-16", "sm:px-24", "sm:py-20", "left-3", "top-1/2", "z-20", "h-12", "w-12", "-translate-y-1/2", "sm:left-6", "text-xl", "right-3", "sm:right-6", "max-h-full", "max-w-full", "select-none", "object-contain", "will-change-transform", "transition-transform", "rounded-[var(--ds-radius-xl)]", "bg-black/25", "px-4", "text-sm", "text-white/80", "bottom-0", "pb-3", "sm:pb-6", "mx-auto", "max-w-max", "p-1", "min-w-11", "px-2", "hover:bg-white/10", "mx-1", "h-6", "w-px", "bg-white/25"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsListSafelist: readonly ["divide-y", "divide-[var(--brd)]", "px-4", "py-3", "flex", "items-start", "justify-between", "gap-4", "min-w-0", "text-[13px]", "font-700", "ds-muted", "mt-0.5", "shrink-0"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsNavbarSafelist: readonly ["h-[56px]", "border-b", "border-[var(--brd)]", "bg-[var(--bg)]", "flex", "items-center", "justify-between", "px-4", "sm:px-6", "gap-3", "h-4", "w-4", "text-[14px]", "font-700"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsPaginationSafelist: readonly ["flex", "flex-wrap", "items-center", "justify-end", "gap-3", "min-w-[100px]", "gap-1", "h-8", "min-w-8", "px-2", "rounded-md", "text-sm", "font-600", "transition-colors", "duration-150", "focus:outline-none", "focus-visible:ring-2", "focus-visible:ring-[var(--ring)]", "bg-[var(--primary)]", "text-[var(--primary-fg)]", "text-[var(--muted-fg)]", "hover:bg-[var(--muted)]", "hover:text-[var(--fg)]"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsPromptDialogSafelist: string[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsRadioGroupSafelist: readonly ["grid", "gap-2"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsSidebarSafelist: string[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsSkeletonSafelist: readonly ["animate-pulse", "bg-[var(--muted)]", "border", "border-[var(--brd)]"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsTableSafelist: readonly ["overflow-x-auto", "rounded-[var(--ds-radius-lg)]", "border", "border-[var(--brd)]", "bg-[var(--card)]", "min-w-full", "text-sm", "bg-[var(--muted)]", "text-[var(--muted-fg)]", "text-[var(--fg)]"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsTabsSafelist: readonly ["inline-flex", "flex-wrap", "gap-1", "rounded-[var(--ds-radius-lg)]", "border", "border-[var(--brd)]", "bg-[var(--muted)]", "p-1", "h-9", "px-3", "rounded-[10px]", "text-sm", "font-600", "transition-colors", "focus:outline-none", "focus-visible:ring-2", "focus-visible:ring-[var(--ring)]", "bg-[var(--card)]", "text-[var(--fg)]", "text-[var(--muted-fg)]", "hover:text-[var(--fg)]", "hover:bg-[color-mix(in_srgb,var(--card)_70%,transparent)]", "items-center", "gap-2", "text-[11px]", "px-1.5", "py-0.5", "rounded-full", "bg-[var(--secondary)]", "text-[var(--secondary-fg)]"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dsTooltipSafelist: readonly ["group", "relative", "inline-flex", "items-center", "justify-center", "text-[var(--ds-tooltip-icon-color)]", "focus:outline-none", "h-4", "w-4", "pointer-events-none", "absolute", "bottom-[calc(100%+8px)]", "left-1/2", "z-10", "-translate-x-1/2", "whitespace-nowrap", "rounded-md", "border", "border-[var(--brd)]", "bg-[var(--popover)]", "px-2", "py-1", "text-[12px]", "text-[var(--popover-fg)]", "opacity-0", "shadow-[var(--ds-shadow-1)]", "transition-opacity", "duration-150", "group-hover:opacity-100", "group-focus-within:opacity-100"];
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type GranularityComponentConfig<Name extends string = string> = {
|
|
2
|
-
name: Name;
|
|
3
|
-
dependencies: readonly string[];
|
|
4
|
-
safelist: readonly string[];
|
|
5
|
-
cssFiles: readonly string[];
|
|
6
|
-
cssFileAssetNames: readonly string[];
|
|
7
|
-
styleAssetFileName: string | null;
|
|
8
|
-
};
|
|
9
|
-
type DefineGranularityComponentConfigOptions<Name extends string> = {
|
|
10
|
-
name: Name;
|
|
11
|
-
dependencies?: readonly string[];
|
|
12
|
-
safelist: readonly string[];
|
|
13
|
-
cssFiles?: readonly string[];
|
|
14
|
-
emitStyleAsset?: boolean;
|
|
15
|
-
};
|
|
16
|
-
export declare function defineGranularityComponentConfig<Name extends string>(importMetaUrl: string, options: DefineGranularityComponentConfigOptions<Name>): GranularityComponentConfig<Name>;
|
|
17
|
-
export {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { type GranularityComponentSelection, type GranularityComponentName } from './components';
|
|
2
|
-
export declare const granularityComponentCssUrls: Record<GranularityComponentName, readonly string[]>;
|
|
3
|
-
export declare function getGranularityComponentCssUrls(selection?: GranularityComponentSelection): string[];
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { Preflight } from '@unocss/core';
|
|
2
|
-
import type { GranularityComponentSelection } from './components';
|
|
3
|
-
export declare function getGranularityComponentCssFiles(selection?: GranularityComponentSelection): Promise<string[]>;
|
|
4
|
-
export declare function getGranularityComponentCss(selection?: GranularityComponentSelection): Promise<string>;
|
|
5
|
-
export declare function getGranularityComponentPreflights(selection?: GranularityComponentSelection): Preflight[];
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import type { GranularityComponentConfig } from './componentConfig';
|
|
2
|
-
export declare const granularityComponentConfigs: {
|
|
3
|
-
readonly DsAlert: GranularityComponentConfig<"DsAlert">;
|
|
4
|
-
readonly DsAvatar: GranularityComponentConfig<"DsAvatar">;
|
|
5
|
-
readonly DsBadge: GranularityComponentConfig<"DsBadge">;
|
|
6
|
-
readonly DsBadgeWrap: GranularityComponentConfig<"DsBadgeWrap">;
|
|
7
|
-
readonly DsBottomNav: GranularityComponentConfig<"DsBottomNav">;
|
|
8
|
-
readonly DsButton: GranularityComponentConfig<"DsButton">;
|
|
9
|
-
readonly DsButtonGroup: GranularityComponentConfig<"DsButtonGroup">;
|
|
10
|
-
readonly DsCard: GranularityComponentConfig<"DsCard">;
|
|
11
|
-
readonly DsCollapse: GranularityComponentConfig<"DsCollapse">;
|
|
12
|
-
readonly DsConfirmDialog: GranularityComponentConfig<"DsConfirmDialog">;
|
|
13
|
-
readonly DsDataTable: GranularityComponentConfig<"DsDataTable">;
|
|
14
|
-
readonly DsDrawer: GranularityComponentConfig<"DsDrawer">;
|
|
15
|
-
readonly DsDropdown: GranularityComponentConfig<"DsDropdown">;
|
|
16
|
-
readonly DsDropdownMenu: GranularityComponentConfig<"DsDropdownMenu">;
|
|
17
|
-
readonly DsCheckbox: GranularityComponentConfig<"DsCheckbox">;
|
|
18
|
-
readonly DsDialog: GranularityComponentConfig<"DsDialog">;
|
|
19
|
-
readonly DsEmptyState: GranularityComponentConfig<"DsEmptyState">;
|
|
20
|
-
readonly DsFileUpload: GranularityComponentConfig<"DsFileUpload">;
|
|
21
|
-
readonly DsFormFile: GranularityComponentConfig<"DsFormFile">;
|
|
22
|
-
readonly DsFormField: GranularityComponentConfig<"DsFormField">;
|
|
23
|
-
readonly DsFormSection: GranularityComponentConfig<"DsFormSection">;
|
|
24
|
-
readonly DsIcon: GranularityComponentConfig<"DsIcon">;
|
|
25
|
-
readonly DsImageViewer: GranularityComponentConfig<"DsImageViewer">;
|
|
26
|
-
readonly DsInput: GranularityComponentConfig<"DsInput">;
|
|
27
|
-
readonly DsNumberInput: GranularityComponentConfig<"DsNumberInput">;
|
|
28
|
-
readonly DsInputTag: GranularityComponentConfig<"DsInputTag">;
|
|
29
|
-
readonly DsList: GranularityComponentConfig<"DsList">;
|
|
30
|
-
readonly DsLink: GranularityComponentConfig<"DsLink">;
|
|
31
|
-
readonly DsLoading: GranularityComponentConfig<"DsLoading">;
|
|
32
|
-
readonly DsModal: GranularityComponentConfig<"DsModal">;
|
|
33
|
-
readonly DsNavbar: GranularityComponentConfig<"DsNavbar">;
|
|
34
|
-
readonly DsPagination: GranularityComponentConfig<"DsPagination">;
|
|
35
|
-
readonly DsProgressBar: GranularityComponentConfig<"DsProgressBar">;
|
|
36
|
-
readonly DsPromptDialog: GranularityComponentConfig<"DsPromptDialog">;
|
|
37
|
-
readonly DsRadio: GranularityComponentConfig<"DsRadio">;
|
|
38
|
-
readonly DsRadioGroup: GranularityComponentConfig<"DsRadioGroup">;
|
|
39
|
-
readonly DsSelect: GranularityComponentConfig<"DsSelect">;
|
|
40
|
-
readonly DsSegmented: GranularityComponentConfig<"DsSegmented">;
|
|
41
|
-
readonly DsSidebar: GranularityComponentConfig<"DsSidebar">;
|
|
42
|
-
readonly DsSkeleton: GranularityComponentConfig<"DsSkeleton">;
|
|
43
|
-
readonly DsSwitch: GranularityComponentConfig<"DsSwitch">;
|
|
44
|
-
readonly DsTable: GranularityComponentConfig<"DsTable">;
|
|
45
|
-
readonly DsTabs: GranularityComponentConfig<"DsTabs">;
|
|
46
|
-
readonly DsToaster: GranularityComponentConfig<"DsToaster">;
|
|
47
|
-
readonly DsTextarea: GranularityComponentConfig<"DsTextarea">;
|
|
48
|
-
readonly DsTree: GranularityComponentConfig<"DsTree">;
|
|
49
|
-
readonly DsTreeSelect: GranularityComponentConfig<"DsTreeSelect">;
|
|
50
|
-
readonly DsTooltip: GranularityComponentConfig<"DsTooltip">;
|
|
51
|
-
};
|
|
52
|
-
export type GranularityComponentName = keyof typeof granularityComponentConfigs;
|
|
53
|
-
export type GranularityComponentSelection = 'all' | GranularityComponentName[];
|
|
54
|
-
export declare function resolveGranularityComponentSelection(selection?: GranularityComponentSelection): readonly GranularityComponentName[];
|
|
55
|
-
export declare function resolveGranularityComponentNames(selection?: GranularityComponentSelection): GranularityComponentName[];
|
|
56
|
-
export declare const granularityComponents: Record<GranularityComponentName, readonly string[]>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type GranularityComponentSelection } from './components';
|
|
2
|
-
export type { GranularityComponentSelection } from './components';
|
|
3
|
-
export declare function getGranularitySafelist(selection?: GranularityComponentSelection): string[];
|
|
4
|
-
export declare const granularitySafelist: string[];
|
|
5
|
-
export declare const granularityStyleAssets: readonly [{
|
|
6
|
-
readonly fileName: "styles.css";
|
|
7
|
-
readonly components: "all";
|
|
8
|
-
}, ...{
|
|
9
|
-
fileName: string;
|
|
10
|
-
components: ("DsAlert" | "DsAvatar" | "DsBadge" | "DsBadgeWrap" | "DsBottomNav" | "DsButton" | "DsButtonGroup" | "DsCard" | "DsCollapse" | "DsConfirmDialog" | "DsDialog" | "DsCheckbox" | "DsDataTable" | "DsTable" | "DsDrawer" | "DsDropdown" | "DsDropdownMenu" | "DsEmptyState" | "DsFileUpload" | "DsFormFile" | "DsFormSection" | "DsIcon" | "DsImageViewer" | "DsInput" | "DsNumberInput" | "DsInputTag" | "DsList" | "DsLink" | "DsLoading" | "DsModal" | "DsNavbar" | "DsPagination" | "DsSelect" | "DsProgressBar" | "DsPromptDialog" | "DsFormField" | "DsRadio" | "DsRadioGroup" | "DsSidebar" | "DsSkeleton" | "DsSegmented" | "DsSwitch" | "DsTabs" | "DsToaster" | "DsTextarea" | "DsTree" | "DsTreeSelect" | "DsTooltip")[];
|
|
11
|
-
}[]];
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const granularityThemeNames: readonly ["light", "dark"];
|
|
2
|
-
export type GranularityThemeName = (typeof granularityThemeNames)[number];
|
|
3
|
-
export declare const granularityDefaultThemes: readonly ["light"];
|
|
4
|
-
export type GranularityBaseFile = string;
|
|
5
|
-
export type GranularityTokensFile = string;
|
|
6
|
-
export type GranularityThemeFile = string;
|
|
7
|
-
export type GranularityThemeCssOptions = {
|
|
8
|
-
themes?: readonly GranularityThemeName[];
|
|
9
|
-
themeFiles?: readonly GranularityThemeFile[];
|
|
10
|
-
};
|
|
11
|
-
export declare const granularityDefaultBaseCssUrl: string;
|
|
12
|
-
export declare const granularityDefaultTokensCssUrl: string;
|
|
13
|
-
export declare const granularityThemeUrls: {
|
|
14
|
-
readonly light: string;
|
|
15
|
-
readonly dark: string;
|
|
16
|
-
};
|
|
17
|
-
export declare function resolveGranularityThemeNames(themes?: readonly GranularityThemeName[]): GranularityThemeName[];
|
|
18
|
-
export declare function resolveGranularityThemeFiles(themeFiles?: readonly GranularityThemeFile[]): GranularityThemeFile[];
|
|
19
|
-
export declare function resolveGranularityBuiltinThemeNames(options?: GranularityThemeCssOptions): GranularityThemeName[];
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Preflight } from '@unocss/core';
|
|
2
|
-
import { type GranularityBaseFile, type GranularityThemeCssOptions, type GranularityTokensFile } from './themeRegistry';
|
|
3
|
-
export type GranularityNodeThemeCssOptions = GranularityThemeCssOptions & {
|
|
4
|
-
baseFile?: GranularityBaseFile;
|
|
5
|
-
tokens?: GranularityTokensFile;
|
|
6
|
-
};
|
|
7
|
-
export declare function resolveGranularityBaseFile(baseFile?: GranularityBaseFile): string;
|
|
8
|
-
export declare function resolveGranularityTokensFile(tokens?: GranularityTokensFile): string;
|
|
9
|
-
export declare function getGranularityBaseCss(options?: Pick<GranularityNodeThemeCssOptions, 'baseFile'>): Promise<string>;
|
|
10
|
-
export declare function getGranularityTokensCss(options?: Pick<GranularityNodeThemeCssOptions, 'tokens'>): Promise<string>;
|
|
11
|
-
export declare function getGranularityThemeCss(options?: GranularityNodeThemeCssOptions): Promise<string>;
|
|
12
|
-
export declare function getGranularityThemePreflights(options?: GranularityNodeThemeCssOptions): Preflight[];
|
|
13
|
-
export type { GranularityBaseFile, GranularityThemeCssOptions, GranularityThemeFile, GranularityThemeName, GranularityTokensFile, } from './themeRegistry';
|
|
14
|
-
export { granularityDefaultThemes, granularityThemeNames, granularityThemeUrls, resolveGranularityBuiltinThemeNames, resolveGranularityThemeFiles, resolveGranularityThemeNames, } from './themeRegistry';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { Preflight, Preset } from 'unocss';
|
|
2
|
-
import { granularityComponents, type GranularityComponentName } from '../registry/components';
|
|
3
|
-
import { granularitySafelist, getGranularitySafelist, type GranularityComponentSelection } from '../registry/safelist';
|
|
4
|
-
import { granularityDefaultThemes, granularityThemeNames, resolveGranularityBuiltinThemeNames, resolveGranularityThemeFiles, resolveGranularityThemeNames, type GranularityThemeName } from '../theming/themeRegistry';
|
|
5
|
-
import { animationPreflights, animationRules } from './rules/animation';
|
|
6
|
-
export type { GranularityComponentName, GranularityComponentSelection, GranularityThemeName, };
|
|
7
|
-
export { animationPreflights, animationRules, getGranularitySafelist, granularityComponents, granularityDefaultThemes, granularitySafelist, granularityThemeNames, resolveGranularityBuiltinThemeNames, resolveGranularityThemeFiles, resolveGranularityThemeNames, };
|
|
8
|
-
export type PresetGranularityOptions = {
|
|
9
|
-
components?: GranularityComponentSelection;
|
|
10
|
-
layer?: string;
|
|
11
|
-
preflights?: readonly Preflight[];
|
|
12
|
-
};
|
|
13
|
-
type GranularityCssChunk = string | null | undefined | false;
|
|
14
|
-
export declare function createGranularityCssPreflight(css: string, layer?: string): Preflight;
|
|
15
|
-
export declare function createGranularityCssPreflights(css: readonly GranularityCssChunk[], layer?: string): Preflight[];
|
|
16
|
-
export declare function resolvePresetGranularitySafelist(options?: PresetGranularityOptions): string[];
|
|
17
|
-
export declare function resolvePresetGranularityPreflights(options?: PresetGranularityOptions): Preflight[];
|
|
18
|
-
export declare function presetGranularity(options?: PresetGranularityOptions): Preset;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Preflight, Preset } from 'unocss';
|
|
2
|
-
import { type GranularityBaseFile, type GranularityThemeFile, type GranularityThemeName, type GranularityTokensFile } from '../theming/themeRegistry.node';
|
|
3
|
-
import { type GranularityComponentSelection, type PresetGranularityOptions } from './preset';
|
|
4
|
-
export type PresetGranularityNodeOptions = Omit<PresetGranularityOptions, 'preflights'> & {
|
|
5
|
-
baseFile?: GranularityBaseFile;
|
|
6
|
-
tokens?: GranularityTokensFile;
|
|
7
|
-
themes?: readonly GranularityThemeName[];
|
|
8
|
-
themeFiles?: readonly GranularityThemeFile[];
|
|
9
|
-
};
|
|
10
|
-
export declare function resolvePresetGranularityNodePreflights(options?: PresetGranularityNodeOptions): Preflight[];
|
|
11
|
-
export declare function presetGranularityNode(options?: PresetGranularityNodeOptions): Preset;
|
|
12
|
-
export type { GranularityBaseFile, GranularityComponentSelection, GranularityThemeFile, GranularityThemeName, GranularityTokensFile, };
|
|
13
|
-
export { createGranularityCssPreflight, createGranularityCssPreflights, getGranularitySafelist, granularityComponents, granularityDefaultThemes, granularitySafelist, granularityThemeNames, presetGranularity, resolveGranularityBuiltinThemeNames, resolveGranularityThemeFiles, resolveGranularityThemeNames, resolvePresetGranularityPreflights, resolvePresetGranularitySafelist, } from './preset';
|
|
14
|
-
export { getGranularityComponentCss, getGranularityComponentCssFiles, getGranularityComponentPreflights, } from '../registry/componentCss.node';
|
|
15
|
-
export { getGranularityBaseCss, getGranularityThemeCss, getGranularityThemePreflights, getGranularityTokensCss, resolveGranularityBaseFile, resolveGranularityTokensFile, } from '../theming/themeRegistry.node';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type Rule } from '@unocss/core';
|
|
2
|
-
import type { Theme } from '@unocss/preset-mini';
|
|
3
|
-
type FilterTheme = Theme & {
|
|
4
|
-
blur?: Record<string, string>;
|
|
5
|
-
dropShadow?: Record<string, string | string[]>;
|
|
6
|
-
};
|
|
7
|
-
export declare const filterRules: Rule<FilterTheme>[];
|
|
8
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Rule } from '@unocss/core';
|
|
2
|
-
declare function variantSpaceAndDivide(matcher: string): {
|
|
3
|
-
matcher: string;
|
|
4
|
-
selector: (input: string) => string;
|
|
5
|
-
} | undefined;
|
|
6
|
-
export declare const spacingVariants: (typeof variantSpaceAndDivide)[];
|
|
7
|
-
export declare const spacingRules: Rule[];
|
|
8
|
-
export {};
|
package/dist/uno-node.js
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { _ as e, a as t, b as n, c as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, p as f, r as p, t as m, u as h, v as g, y as _ } from "./chunks/preset-DBXBjf5u.js";
|
|
2
|
-
import { access as v, readFile as y } from "node:fs/promises";
|
|
3
|
-
import { fileURLToPath as b } from "node:url";
|
|
4
|
-
import { Buffer as x } from "node:buffer";
|
|
5
|
-
import { isAbsolute as S, resolve as C } from "node:path";
|
|
6
|
-
//#region src/registry/componentCss.ts
|
|
7
|
-
var w = Object.fromEntries(Object.entries(g).map(([e, t]) => [e, t.cssFiles]));
|
|
8
|
-
function T(e = "all") {
|
|
9
|
-
let t = n(e);
|
|
10
|
-
return [...new Set(t.flatMap((e) => w[e]))];
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
//#region src/registry/componentCss.node.ts
|
|
14
|
-
var E = import.meta.url.includes("/src/") ? "../" : "./";
|
|
15
|
-
function D(e) {
|
|
16
|
-
return b(new URL(`${E}${e}`, import.meta.url));
|
|
17
|
-
}
|
|
18
|
-
async function O(e) {
|
|
19
|
-
try {
|
|
20
|
-
return await v(e), !0;
|
|
21
|
-
} catch {
|
|
22
|
-
return !1;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
async function k(e, t, n) {
|
|
26
|
-
let r = b(t);
|
|
27
|
-
return await O(r) ? r : D(g[e].cssFileAssetNames[n]);
|
|
28
|
-
}
|
|
29
|
-
async function A(e = "all") {
|
|
30
|
-
let t = e === "all" ? Object.keys(g) : e, n = await Promise.all(t.flatMap((e) => g[e].cssFiles.map((t, n) => k(e, t, n))));
|
|
31
|
-
return [...new Set(n)];
|
|
32
|
-
}
|
|
33
|
-
async function j(e = "all") {
|
|
34
|
-
let t = await A(e);
|
|
35
|
-
return (await Promise.all(t.map((e) => y(e, "utf8")))).join("\n");
|
|
36
|
-
}
|
|
37
|
-
function M(e = "all") {
|
|
38
|
-
return T(e).length ? [{ getCSS: async () => j(e) }] : [];
|
|
39
|
-
}
|
|
40
|
-
//#endregion
|
|
41
|
-
//#region src/theming/themeRegistry.node.ts
|
|
42
|
-
var N = "data:text/css";
|
|
43
|
-
function P(e) {
|
|
44
|
-
if (e.startsWith(N)) return e;
|
|
45
|
-
if (/^[a-z]+:\/\//i.test(e)) {
|
|
46
|
-
let t = new URL(e);
|
|
47
|
-
return t.protocol === "file:" ? b(t) : C(process.cwd(), t.pathname.replace(/^\/+/, ""));
|
|
48
|
-
}
|
|
49
|
-
return S(e) ? e : C(process.cwd(), e);
|
|
50
|
-
}
|
|
51
|
-
function F(e) {
|
|
52
|
-
let [, t = "", n = ""] = e.match(/^data:([^,]*),(.*)$/s) ?? [];
|
|
53
|
-
if (!t) throw Error(`Unsupported CSS data URL: ${e.slice(0, 64)}...`);
|
|
54
|
-
return t.includes(";base64") ? x.from(n, "base64").toString("utf8") : decodeURIComponent(n);
|
|
55
|
-
}
|
|
56
|
-
async function I(e) {
|
|
57
|
-
return e.startsWith(N) ? F(e) : y(e, "utf8");
|
|
58
|
-
}
|
|
59
|
-
function L(e) {
|
|
60
|
-
return P(e ?? r);
|
|
61
|
-
}
|
|
62
|
-
function R(e) {
|
|
63
|
-
return P(e ?? h);
|
|
64
|
-
}
|
|
65
|
-
async function z(e = {}) {
|
|
66
|
-
return I(L(e.baseFile));
|
|
67
|
-
}
|
|
68
|
-
async function B(e = {}) {
|
|
69
|
-
return I(R(e.tokens));
|
|
70
|
-
}
|
|
71
|
-
async function V(e = {}) {
|
|
72
|
-
let t = f(e), n = u(e.themeFiles);
|
|
73
|
-
return (await Promise.all([...t.map((e) => I(P(a[e]))), ...n.map((e) => I(P(e)))])).join("\n");
|
|
74
|
-
}
|
|
75
|
-
function H(e = {}) {
|
|
76
|
-
return [{ getCSS: async () => {
|
|
77
|
-
let [t, n, r] = await Promise.all([
|
|
78
|
-
B(e),
|
|
79
|
-
z(e),
|
|
80
|
-
V(e)
|
|
81
|
-
]);
|
|
82
|
-
return [
|
|
83
|
-
t,
|
|
84
|
-
n,
|
|
85
|
-
r
|
|
86
|
-
].filter(Boolean).join("\n");
|
|
87
|
-
} }];
|
|
88
|
-
}
|
|
89
|
-
//#endregion
|
|
90
|
-
//#region src/unocss/preset.node.ts
|
|
91
|
-
function U(e = {}) {
|
|
92
|
-
let t = e.components ?? "all";
|
|
93
|
-
return [...H(e), ...M(t)];
|
|
94
|
-
}
|
|
95
|
-
function W(e = {}) {
|
|
96
|
-
return p({
|
|
97
|
-
components: e.components,
|
|
98
|
-
layer: e.layer,
|
|
99
|
-
preflights: U(e)
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
//#endregion
|
|
103
|
-
export { m as createGranularityCssPreflight, d as createGranularityCssPreflights, z as getGranularityBaseCss, j as getGranularityComponentCss, A as getGranularityComponentCssFiles, M as getGranularityComponentPreflights, o as getGranularitySafelist, V as getGranularityThemeCss, H as getGranularityThemePreflights, B as getGranularityTokensCss, _ as granularityComponents, l as granularityDefaultThemes, e as granularitySafelist, i as granularityThemeNames, p as presetGranularity, W as presetGranularityNode, L as resolveGranularityBaseFile, f as resolveGranularityBuiltinThemeNames, u as resolveGranularityThemeFiles, s as resolveGranularityThemeNames, R as resolveGranularityTokensFile, U as resolvePresetGranularityNodePreflights, c as resolvePresetGranularityPreflights, t as resolvePresetGranularitySafelist };
|
package/dist/uno.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { _ as e, a as t, d as n, g as r, h as i, i as a, l as o, m as s, n as c, o as l, p as u, r as d, s as f, t as p, y as m } from "./chunks/preset-DBXBjf5u.js";
|
|
2
|
-
export { l as animationPreflights, f as animationRules, p as createGranularityCssPreflight, c as createGranularityCssPreflights, r as getGranularitySafelist, m as granularityComponents, o as granularityDefaultThemes, e as granularitySafelist, n as granularityThemeNames, d as presetGranularity, u as resolveGranularityBuiltinThemeNames, s as resolveGranularityThemeFiles, i as resolveGranularityThemeNames, a as resolvePresetGranularityPreflights, t as resolvePresetGranularitySafelist };
|
package/web-types.json
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
|
-
"name": "@feugene/granularity",
|
|
4
|
-
"version": "0.1.0",
|
|
5
|
-
"framework": "vue",
|
|
6
|
-
"js-types-syntax": "typescript",
|
|
7
|
-
"description-markup": "markdown",
|
|
8
|
-
"contributions": {
|
|
9
|
-
"html": {
|
|
10
|
-
"vue-components": [
|
|
11
|
-
{
|
|
12
|
-
"name": "DsButton",
|
|
13
|
-
"source": {
|
|
14
|
-
"module": "@feugene/granularity/components/DsButton",
|
|
15
|
-
"symbol": "DsButton"
|
|
16
|
-
},
|
|
17
|
-
"props": [
|
|
18
|
-
{
|
|
19
|
-
"name": "variant",
|
|
20
|
-
"required": false,
|
|
21
|
-
"value": {
|
|
22
|
-
"kind": "plain",
|
|
23
|
-
"type": "'primary' | 'secondary' | 'outline' | 'ghost' | 'ghost-border'"
|
|
24
|
-
},
|
|
25
|
-
"type": {
|
|
26
|
-
"module": "@feugene/granularity/components/DsButton",
|
|
27
|
-
"name": "DsButtonVariant"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"name": "tone",
|
|
32
|
-
"required": false,
|
|
33
|
-
"value": {
|
|
34
|
-
"kind": "plain",
|
|
35
|
-
"type": "'primary' | 'neutral' | 'success' | 'warning' | 'danger' | 'info' | 'slate' | 'azure'"
|
|
36
|
-
},
|
|
37
|
-
"type": {
|
|
38
|
-
"module": "@feugene/granularity/components/DsButton",
|
|
39
|
-
"name": "DsButtonTone"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "size",
|
|
44
|
-
"required": false,
|
|
45
|
-
"type": {
|
|
46
|
-
"module": "@feugene/granularity/components/DsButton",
|
|
47
|
-
"name": "DsButtonSize"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"name": "loading",
|
|
52
|
-
"required": false,
|
|
53
|
-
"type": "boolean"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"name": "disabled",
|
|
57
|
-
"required": false,
|
|
58
|
-
"type": "boolean"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"name": "square",
|
|
62
|
-
"required": false,
|
|
63
|
-
"type": "boolean"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"name": "type",
|
|
67
|
-
"required": false,
|
|
68
|
-
"type": "'button' | 'submit' | 'reset'"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"name": "ariaLabel",
|
|
72
|
-
"required": false,
|
|
73
|
-
"type": "string"
|
|
74
|
-
}
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
],
|
|
78
|
-
"vue-directives": [
|
|
79
|
-
{
|
|
80
|
-
"name": "autofocus"
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
"name": "autosize"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"name": "click-outside"
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"name": "dropzone"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"name": "hotkey"
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
"name": "loading"
|
|
96
|
-
}
|
|
97
|
-
]
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
}
|
/package/dist/chunks/{_plugin-vue_export-helper-DOgycIVc.js → _plugin-vue_export-helper-CHO2XVys.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|