@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 +1 @@
|
|
|
1
|
-
export declare const dsPaginationConfig: import("
|
|
1
|
+
export declare const dsPaginationConfig: import("@feugene/unocss-preset-granular").GranularComponentDescriptor<"DsPagination">;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export { default } from './DsPagination.vue';
|
|
2
|
-
export { default as DsPagination } from './DsPagination.vue';
|
|
2
|
+
export { default as DsPagination, type DsPaginationProps } from './DsPagination.vue';
|
|
3
3
|
export { dsPaginationConfig } from './config';
|
|
4
|
-
export { dsPaginationSafelist } from './safelist';
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
import { type DsProgressBarTone } from './dsStyle';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* DsProgressBar — линейный индикатор прогресса.
|
|
4
|
+
*
|
|
5
|
+
* @prop value — текущее значение `0..100`; выходящие за границы значения клампятся, `NaN` → `0`.
|
|
6
|
+
* @prop ariaLabel — метка для скринридера (обязательна, если рядом нет видимого заголовка).
|
|
7
|
+
* @prop tone — цветовая тональность заливки (CSS-переменная из `tokens.css`).
|
|
8
|
+
*/
|
|
9
|
+
export interface DsProgressBarProps {
|
|
3
10
|
value: number;
|
|
4
11
|
ariaLabel?: string;
|
|
5
12
|
tone?: DsProgressBarTone;
|
|
6
|
-
}
|
|
7
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<
|
|
13
|
+
}
|
|
14
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DsProgressBarProps>, {
|
|
8
15
|
ariaLabel: undefined;
|
|
9
16
|
tone: string;
|
|
10
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<
|
|
17
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DsProgressBarProps>, {
|
|
11
18
|
ariaLabel: undefined;
|
|
12
19
|
tone: string;
|
|
13
20
|
}>>> & Readonly<{}>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const dsProgressBarConfig: import("
|
|
1
|
+
export declare const dsProgressBarConfig: import("@feugene/unocss-preset-granular").GranularComponentDescriptor<"DsProgressBar">;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dsProgressBarConfig: import("@feugene/unocss-preset-granular").GranularComponentDescriptor<"DsProgressBar">;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
1
|
export type DsProgressBarTone = 'primary' | 'neutral' | 'success' | 'warning' | 'danger' | 'info' | 'slate' | 'azure';
|
|
2
2
|
export declare function dsProgressBarFillClass(tone: DsProgressBarTone): string;
|
|
3
|
-
export declare const dsProgressBarClassTokens: {
|
|
4
|
-
readonly fill: string[];
|
|
5
|
-
};
|
|
6
|
-
export declare const dsProgressBarSafelist: readonly string[];
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { default } from './DsProgressBar.vue';
|
|
2
|
-
export { default as DsProgressBar } from './DsProgressBar.vue';
|
|
2
|
+
export { default as DsProgressBar, type DsProgressBarProps } from './DsProgressBar.vue';
|
|
3
3
|
export { dsProgressBarConfig } from './config';
|
|
4
4
|
export { dsProgressBarSafelist } from './safelist';
|
|
5
|
+
export type { DsProgressBarTone } from './dsStyle';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DsButtonSize, DsButtonTone, DsButtonVariant } from '../DsButton';
|
|
2
2
|
import type { DsDialogSectionConfig, DsDialogSize } from '../DsDialog';
|
|
3
|
-
|
|
3
|
+
export interface DsPromptDialogProps {
|
|
4
4
|
modelValue: boolean;
|
|
5
5
|
value: string;
|
|
6
6
|
title?: string;
|
|
@@ -8,34 +8,48 @@ type __VLS_Props = {
|
|
|
8
8
|
label?: string;
|
|
9
9
|
placeholder?: string;
|
|
10
10
|
closeOnBackdrop?: boolean;
|
|
11
|
+
closeOnEsc?: boolean;
|
|
12
|
+
showHeader?: boolean;
|
|
13
|
+
showCloseButton?: boolean;
|
|
11
14
|
size?: DsDialogSize;
|
|
12
15
|
headerConfig?: DsDialogSectionConfig;
|
|
13
16
|
footerConfig?: DsDialogSectionConfig;
|
|
17
|
+
bodyConfig?: DsDialogSectionConfig;
|
|
18
|
+
/** A11y-лейбл кнопки закрытия (i18n). */
|
|
19
|
+
closeLabel?: string;
|
|
14
20
|
buttonSize?: DsButtonSize;
|
|
15
21
|
confirmText?: string;
|
|
16
22
|
cancelText?: string;
|
|
23
|
+
/** Текст ошибки для пустого значения при `required=true` (i18n). */
|
|
24
|
+
requiredErrorText?: string;
|
|
17
25
|
confirmVariant?: DsButtonVariant;
|
|
18
26
|
confirmTone?: DsButtonTone;
|
|
19
27
|
required?: boolean;
|
|
20
|
-
}
|
|
28
|
+
}
|
|
21
29
|
declare var __VLS_8: {}, __VLS_26: {};
|
|
22
30
|
type __VLS_Slots = {} & {
|
|
23
31
|
default?: (props: typeof __VLS_8) => any;
|
|
24
32
|
} & {
|
|
25
33
|
footer?: (props: typeof __VLS_26) => any;
|
|
26
34
|
};
|
|
27
|
-
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<
|
|
28
|
-
description: undefined;
|
|
35
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DsPromptDialogProps>, {
|
|
29
36
|
title: string;
|
|
37
|
+
description: undefined;
|
|
30
38
|
label: string;
|
|
31
39
|
placeholder: undefined;
|
|
32
40
|
closeOnBackdrop: boolean;
|
|
41
|
+
closeOnEsc: boolean;
|
|
42
|
+
showHeader: boolean;
|
|
43
|
+
showCloseButton: boolean;
|
|
33
44
|
size: string;
|
|
34
45
|
headerConfig: undefined;
|
|
35
46
|
footerConfig: undefined;
|
|
47
|
+
bodyConfig: undefined;
|
|
48
|
+
closeLabel: string;
|
|
36
49
|
buttonSize: undefined;
|
|
37
50
|
confirmText: string;
|
|
38
51
|
cancelText: string;
|
|
52
|
+
requiredErrorText: string;
|
|
39
53
|
confirmVariant: string;
|
|
40
54
|
confirmTone: string;
|
|
41
55
|
required: boolean;
|
|
@@ -44,18 +58,24 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
44
58
|
"update:value": (value: string) => void;
|
|
45
59
|
confirm: (value: string) => void;
|
|
46
60
|
cancel: () => void;
|
|
47
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<
|
|
48
|
-
description: undefined;
|
|
61
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DsPromptDialogProps>, {
|
|
49
62
|
title: string;
|
|
63
|
+
description: undefined;
|
|
50
64
|
label: string;
|
|
51
65
|
placeholder: undefined;
|
|
52
66
|
closeOnBackdrop: boolean;
|
|
67
|
+
closeOnEsc: boolean;
|
|
68
|
+
showHeader: boolean;
|
|
69
|
+
showCloseButton: boolean;
|
|
53
70
|
size: string;
|
|
54
71
|
headerConfig: undefined;
|
|
55
72
|
footerConfig: undefined;
|
|
73
|
+
bodyConfig: undefined;
|
|
74
|
+
closeLabel: string;
|
|
56
75
|
buttonSize: undefined;
|
|
57
76
|
confirmText: string;
|
|
58
77
|
cancelText: string;
|
|
78
|
+
requiredErrorText: string;
|
|
59
79
|
confirmVariant: string;
|
|
60
80
|
confirmTone: string;
|
|
61
81
|
required: boolean;
|
|
@@ -70,15 +90,21 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
70
90
|
size: DsDialogSize;
|
|
71
91
|
required: boolean;
|
|
72
92
|
closeOnBackdrop: boolean;
|
|
93
|
+
closeOnEsc: boolean;
|
|
94
|
+
description: string;
|
|
95
|
+
showCloseButton: boolean;
|
|
96
|
+
closeLabel: string;
|
|
97
|
+
showHeader: boolean;
|
|
73
98
|
headerConfig: DsDialogSectionConfig;
|
|
74
99
|
footerConfig: DsDialogSectionConfig;
|
|
75
|
-
|
|
100
|
+
bodyConfig: DsDialogSectionConfig;
|
|
76
101
|
buttonSize: DsButtonSize;
|
|
77
102
|
confirmText: string;
|
|
78
103
|
cancelText: string;
|
|
79
104
|
confirmVariant: DsButtonVariant;
|
|
80
105
|
confirmTone: DsButtonTone;
|
|
81
106
|
placeholder: string;
|
|
107
|
+
requiredErrorText: string;
|
|
82
108
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
83
109
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
84
110
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const dsPromptDialogConfig: import("
|
|
1
|
+
export declare const dsPromptDialogConfig: import("@feugene/unocss-preset-granular").GranularComponentDescriptor<"DsPromptDialog">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { default } from './DsPromptDialog.vue';
|
|
2
2
|
export { default as DsPromptDialog } from './DsPromptDialog.vue';
|
|
3
|
+
export type { DsPromptDialogProps } from './DsPromptDialog.vue';
|
|
3
4
|
export { dsPromptDialogConfig } from './config';
|
|
4
|
-
export { dsPromptDialogSafelist } from './safelist';
|
|
@@ -1,13 +1,22 @@
|
|
|
1
|
-
export type { DsRadioVariant } from './dsRadioStyles';
|
|
2
|
-
import { type DsRadioVariant } from './dsRadioStyles';
|
|
3
1
|
import type { DsButtonSize, DsButtonTone, DsButtonVariant } from '../DsButton';
|
|
4
|
-
type
|
|
2
|
+
import { type DsRadioVariant } from './dsRadioStyles';
|
|
3
|
+
/**
|
|
4
|
+
* DsRadio — одиночный элемент группы выбора.
|
|
5
|
+
*
|
|
6
|
+
* Может работать автономно (через `v-model`) либо внутри `DsRadioGroup`
|
|
7
|
+
* (тогда `modelValue`/`disabled`/`size`/`name` приходят через `inject`).
|
|
8
|
+
*
|
|
9
|
+
* @prop value — значение этого элемента, сравнивается с `modelValue` группы.
|
|
10
|
+
* @prop variant — визуальное представление: `radiobox` (круг+dot) или `button` (стиль `DsButton`).
|
|
11
|
+
*/
|
|
12
|
+
export interface DsRadioProps {
|
|
5
13
|
value: string;
|
|
6
14
|
modelValue?: string;
|
|
7
15
|
disabled?: boolean;
|
|
8
16
|
name?: string;
|
|
9
17
|
required?: boolean;
|
|
10
18
|
form?: string;
|
|
19
|
+
id?: string;
|
|
11
20
|
size?: DsButtonSize;
|
|
12
21
|
variant?: DsRadioVariant;
|
|
13
22
|
buttonVariant?: DsButtonVariant;
|
|
@@ -15,19 +24,20 @@ type __VLS_Props = {
|
|
|
15
24
|
selectedButtonVariant?: DsButtonVariant;
|
|
16
25
|
selectedButtonTone?: DsButtonTone;
|
|
17
26
|
ariaLabel?: string;
|
|
18
|
-
}
|
|
27
|
+
}
|
|
19
28
|
declare var __VLS_1: {}, __VLS_3: {};
|
|
20
29
|
type __VLS_Slots = {} & {
|
|
21
30
|
default?: (props: typeof __VLS_1) => any;
|
|
22
31
|
} & {
|
|
23
32
|
default?: (props: typeof __VLS_3) => any;
|
|
24
33
|
};
|
|
25
|
-
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<
|
|
34
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DsRadioProps>, {
|
|
26
35
|
modelValue: undefined;
|
|
27
36
|
disabled: undefined;
|
|
28
37
|
name: undefined;
|
|
29
38
|
required: boolean;
|
|
30
39
|
form: undefined;
|
|
40
|
+
id: undefined;
|
|
31
41
|
size: undefined;
|
|
32
42
|
variant: string;
|
|
33
43
|
buttonVariant: string;
|
|
@@ -37,12 +47,13 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
37
47
|
ariaLabel: undefined;
|
|
38
48
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
49
|
"update:modelValue": (value: string) => void;
|
|
40
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<
|
|
50
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DsRadioProps>, {
|
|
41
51
|
modelValue: undefined;
|
|
42
52
|
disabled: undefined;
|
|
43
53
|
name: undefined;
|
|
44
54
|
required: boolean;
|
|
45
55
|
form: undefined;
|
|
56
|
+
id: undefined;
|
|
46
57
|
size: undefined;
|
|
47
58
|
variant: string;
|
|
48
59
|
buttonVariant: string;
|
|
@@ -61,6 +72,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
61
72
|
disabled: boolean;
|
|
62
73
|
ariaLabel: string;
|
|
63
74
|
name: string;
|
|
75
|
+
id: string;
|
|
64
76
|
buttonVariant: DsButtonVariant;
|
|
65
77
|
buttonTone: DsButtonTone;
|
|
66
78
|
selectedButtonVariant: DsButtonVariant;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const dsRadioConfig: import("
|
|
1
|
+
export declare const dsRadioConfig: import("@feugene/unocss-preset-granular").GranularComponentDescriptor<"DsRadio">;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { type DsButtonSize, type DsButtonTone, type DsButtonVariant } from '../DsButton/dsButtonStyles';
|
|
2
2
|
export type DsRadioVariant = 'radiobox' | 'button';
|
|
3
|
+
export declare const dsRadioDisabledClass = "opacity-50 cursor-not-allowed";
|
|
4
|
+
export declare const dsRadioEnabledClass = "cursor-pointer";
|
|
5
|
+
export declare const dsRadioRootDisabledClass = "cursor-not-allowed opacity-70";
|
|
6
|
+
export declare const dsRadioRootEnabledClass = "cursor-pointer";
|
|
7
|
+
export declare const dsRadioControlCheckedClass = "border-[var(--primary)] bg-[color-mix(in_srgb,var(--primary)_10%,var(--bg))]";
|
|
8
|
+
export declare const dsRadioControlUncheckedClass = "border-[var(--brd)] bg-[var(--bg)]";
|
|
9
|
+
export declare const dsRadioDotCheckedClass = "bg-[var(--primary)] opacity-100 scale-100";
|
|
10
|
+
export declare const dsRadioDotUncheckedClass = "bg-transparent opacity-0 scale-75";
|
|
11
|
+
export declare const dsRadioDotBaseClass = "h-[6px] w-[6px] rounded-full transition-[transform,opacity,background-color] duration-150";
|
|
3
12
|
export declare function dsRadioButtonClass(options: {
|
|
4
13
|
checked: boolean;
|
|
5
14
|
disabled: boolean;
|
|
@@ -11,6 +20,4 @@ export declare function dsRadioButtonClass(options: {
|
|
|
11
20
|
}): string;
|
|
12
21
|
export declare function dsRadioRootClass(disabled: boolean): string;
|
|
13
22
|
export declare function dsRadioControlClass(checked: boolean): string;
|
|
14
|
-
export declare const dsRadioDotBaseClass = "h-[6px] w-[6px] rounded-full transition-[transform,opacity,background-color] duration-150";
|
|
15
23
|
export declare function dsRadioDotClass(checked: boolean): string;
|
|
16
|
-
export declare const dsRadioSafelist: string[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default } from './DsRadio.vue';
|
|
2
|
-
export { default as DsRadio } from './DsRadio.vue';
|
|
2
|
+
export { default as DsRadio, type DsRadioProps } from './DsRadio.vue';
|
|
3
3
|
export { dsRadioConfig } from './config';
|
|
4
4
|
export type { DsRadioVariant } from './dsRadioStyles';
|
|
5
5
|
export type { DsRadioGroupContext } from './dsRadioGroupContext';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const dsRadioSafelist: string[];
|
|
@@ -1,43 +1,53 @@
|
|
|
1
1
|
import type { DsButtonSize } from '../DsButton';
|
|
2
2
|
export type DsRadioGroupVariant = 'radiobox' | 'button';
|
|
3
|
-
export
|
|
3
|
+
export interface DsRadioGroupOption {
|
|
4
4
|
value: string;
|
|
5
5
|
label: string;
|
|
6
|
-
}
|
|
7
|
-
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* DsRadioGroup — контейнер группы `DsRadio`.
|
|
9
|
+
*
|
|
10
|
+
* Может работать как через слот (ручной рендер `DsRadio`), так и через проп `options`.
|
|
11
|
+
* Предоставляет дочерним `DsRadio` общий `modelValue`/`disabled`/`size`/`name` через `inject`.
|
|
12
|
+
*/
|
|
13
|
+
export interface DsRadioGroupProps {
|
|
8
14
|
modelValue: string;
|
|
9
15
|
options?: DsRadioGroupOption[];
|
|
10
16
|
name?: string;
|
|
11
17
|
disabled?: boolean;
|
|
12
18
|
variant?: DsRadioGroupVariant;
|
|
13
19
|
size?: DsButtonSize;
|
|
14
|
-
|
|
20
|
+
ariaLabel?: string;
|
|
21
|
+
}
|
|
15
22
|
declare var __VLS_7: {}, __VLS_9: {};
|
|
16
23
|
type __VLS_Slots = {} & {
|
|
17
24
|
default?: (props: typeof __VLS_7) => any;
|
|
18
25
|
} & {
|
|
19
26
|
default?: (props: typeof __VLS_9) => any;
|
|
20
27
|
};
|
|
21
|
-
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<
|
|
28
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DsRadioGroupProps>, {
|
|
22
29
|
options: undefined;
|
|
23
30
|
name: undefined;
|
|
24
31
|
disabled: boolean;
|
|
25
32
|
variant: string;
|
|
26
33
|
size: string;
|
|
34
|
+
ariaLabel: undefined;
|
|
27
35
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
36
|
"update:modelValue": (value: string) => void;
|
|
29
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<
|
|
37
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DsRadioGroupProps>, {
|
|
30
38
|
options: undefined;
|
|
31
39
|
name: undefined;
|
|
32
40
|
disabled: boolean;
|
|
33
41
|
variant: string;
|
|
34
42
|
size: string;
|
|
43
|
+
ariaLabel: undefined;
|
|
35
44
|
}>>> & Readonly<{
|
|
36
45
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
37
46
|
}>, {
|
|
38
47
|
variant: DsRadioGroupVariant;
|
|
39
48
|
size: DsButtonSize;
|
|
40
49
|
disabled: boolean;
|
|
50
|
+
ariaLabel: string;
|
|
41
51
|
name: string;
|
|
42
52
|
options: DsRadioGroupOption[];
|
|
43
53
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const dsRadioGroupConfig: import("
|
|
1
|
+
export declare const dsRadioGroupConfig: import("@feugene/unocss-preset-granular").GranularComponentDescriptor<"DsRadioGroup">;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { default } from './DsRadioGroup.vue';
|
|
2
2
|
export { default as DsRadioGroup } from './DsRadioGroup.vue';
|
|
3
3
|
export { dsRadioGroupConfig } from './config';
|
|
4
|
-
export type { DsRadioGroupOption, DsRadioGroupVariant } from './DsRadioGroup.vue';
|
|
5
|
-
export { dsRadioGroupSafelist } from './safelist';
|
|
4
|
+
export type { DsRadioGroupOption, DsRadioGroupProps, DsRadioGroupVariant, } from './DsRadioGroup.vue';
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import { type DsSegmentedOption, type DsSegmentedSize, type DsSegmentedValue, type DsSegmentedVariant } from './dsSegmentedStyles';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Пропсы публичного DS-примитива «Segmented».
|
|
4
|
+
*/
|
|
5
|
+
export interface DsSegmentedProps {
|
|
3
6
|
modelValue: DsSegmentedValue;
|
|
4
7
|
options: DsSegmentedOption[];
|
|
5
8
|
variant?: DsSegmentedVariant;
|
|
6
9
|
size?: DsSegmentedSize;
|
|
10
|
+
/** Длительность анимации индикатора в мс. */
|
|
7
11
|
indicatorDuration?: number;
|
|
12
|
+
/** Растягивать сегмент на всю ширину контейнера. */
|
|
8
13
|
block?: boolean;
|
|
9
14
|
disabled?: boolean;
|
|
15
|
+
/** Имя скрытых radio-inputs для интеграции с нативной формой. */
|
|
10
16
|
name?: string;
|
|
11
17
|
ariaLabel?: string;
|
|
12
|
-
}
|
|
18
|
+
}
|
|
13
19
|
declare var __VLS_1: {
|
|
14
20
|
option: DsSegmentedOption;
|
|
15
21
|
selected: boolean;
|
|
@@ -18,7 +24,7 @@ declare var __VLS_1: {
|
|
|
18
24
|
type __VLS_Slots = {} & {
|
|
19
25
|
default?: (props: typeof __VLS_1) => any;
|
|
20
26
|
};
|
|
21
|
-
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<
|
|
27
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DsSegmentedProps>, {
|
|
22
28
|
variant: string;
|
|
23
29
|
size: string;
|
|
24
30
|
indicatorDuration: number;
|
|
@@ -29,7 +35,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
29
35
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
36
|
"update:modelValue": (value: DsSegmentedValue) => void;
|
|
31
37
|
change: (value: DsSegmentedValue, option: DsSegmentedOption) => void;
|
|
32
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<
|
|
38
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DsSegmentedProps>, {
|
|
33
39
|
variant: string;
|
|
34
40
|
size: string;
|
|
35
41
|
indicatorDuration: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const dsSegmentedConfig: import("
|
|
1
|
+
export declare const dsSegmentedConfig: import("@feugene/unocss-preset-granular").GranularComponentDescriptor<"DsSegmented">;
|
|
@@ -8,6 +8,19 @@ export type DsSegmentedOption = {
|
|
|
8
8
|
icon?: Component;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
};
|
|
11
|
+
export declare const rootBaseClass = "relative inline-grid min-w-0 grid-flow-col items-stretch rounded-[var(--ds-segmented-radius)] p-[var(--ds-segmented-padding)] transition-colors duration-150";
|
|
12
|
+
export declare const rootVariantClassMap: Record<DsSegmentedVariant, string>;
|
|
13
|
+
export declare const rootBlockClass = "w-full";
|
|
14
|
+
export declare const indicatorBaseClass = "pointer-events-none absolute left-0 top-0 rounded-[calc(var(--ds-segmented-radius)-var(--ds-segmented-padding))] transition-[transform,width,height,opacity] ease-out";
|
|
15
|
+
export declare const indicatorVariantClassMap: Record<DsSegmentedVariant, string>;
|
|
16
|
+
export declare const itemBaseClass = "group/segmented-item relative z-[1] inline-flex min-h-[var(--ds-segmented-min-height)] min-w-0 items-center justify-center gap-2 rounded-[calc(var(--ds-segmented-radius)-var(--ds-segmented-padding))] px-[var(--ds-segmented-item-px)] py-[var(--ds-segmented-item-py)] text-[length:var(--ds-segmented-font-size)] leading-[var(--ds-segmented-line-height)] font-[var(--ds-segmented-font-weight)] text-[var(--ds-segmented-item-color)] transition-colors duration-150 select-none focus:outline-none focus-visible:shadow-[0_0_0_2px_var(--ring),0_0_0_4px_var(--bg)]";
|
|
17
|
+
export declare const itemVariantClassMap: Record<DsSegmentedVariant, string>;
|
|
18
|
+
export declare const itemSelectedClass = "text-[var(--ds-segmented-item-selected-color)]";
|
|
19
|
+
export declare const itemDisabledClass = "cursor-not-allowed opacity-50";
|
|
20
|
+
export declare const itemEnabledClass = "cursor-pointer hover:text-[var(--ds-segmented-item-hover-color)]";
|
|
21
|
+
export declare const itemLabelClass = "truncate";
|
|
22
|
+
export declare const itemIconClass = "h-4 w-4 shrink-0";
|
|
23
|
+
export declare const iconOnlyClass = "gap-0";
|
|
11
24
|
export declare function dsSegmentedRootClass(options: {
|
|
12
25
|
variant: DsSegmentedVariant;
|
|
13
26
|
block: boolean;
|
|
@@ -24,22 +37,5 @@ export declare function dsSegmentedItemClass(options: {
|
|
|
24
37
|
disabled: boolean;
|
|
25
38
|
iconOnly: boolean;
|
|
26
39
|
}): string;
|
|
27
|
-
export declare const dsSegmentedClassTokens: {
|
|
28
|
-
readonly rootBaseClass: string[];
|
|
29
|
-
readonly rootVariantClassMap: string[];
|
|
30
|
-
readonly rootBlockClass: string[];
|
|
31
|
-
readonly indicatorBaseClass: string[];
|
|
32
|
-
readonly indicatorVariantClassMap: string[];
|
|
33
|
-
readonly itemBaseClass: string[];
|
|
34
|
-
readonly itemVariantClassMap: string[];
|
|
35
|
-
readonly itemSelectedClass: string[];
|
|
36
|
-
readonly itemDisabledClass: string[];
|
|
37
|
-
readonly itemEnabledClass: string[];
|
|
38
|
-
readonly itemLabelClass: string[];
|
|
39
|
-
readonly itemIconClass: string[];
|
|
40
|
-
readonly iconOnlyClass: string[];
|
|
41
|
-
readonly extra: string[];
|
|
42
|
-
};
|
|
43
|
-
export declare const dsSegmentedSafelist: string[];
|
|
44
40
|
export declare const dsSegmentedItemLabelClass = "truncate";
|
|
45
41
|
export declare const dsSegmentedItemIconClass = "h-4 w-4 shrink-0";
|
|
@@ -2,4 +2,5 @@ export { default } from './DsSegmented.vue';
|
|
|
2
2
|
export { default as DsSegmented } from './DsSegmented.vue';
|
|
3
3
|
export { dsSegmentedConfig } from './config';
|
|
4
4
|
export type { DsSegmentedOption, DsSegmentedSize, DsSegmentedValue, DsSegmentedVariant, } from './dsSegmentedStyles';
|
|
5
|
+
export type { DsSegmentedProps } from './DsSegmented.vue';
|
|
5
6
|
export { dsSegmentedSafelist } from './safelist';
|
|
@@ -1 +1,17 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const dsSegmentedClassTokens: {
|
|
2
|
+
readonly rootBaseClass: string[];
|
|
3
|
+
readonly rootVariantClassMap: string[];
|
|
4
|
+
readonly rootBlockClass: string[];
|
|
5
|
+
readonly indicatorBaseClass: string[];
|
|
6
|
+
readonly indicatorVariantClassMap: string[];
|
|
7
|
+
readonly itemBaseClass: string[];
|
|
8
|
+
readonly itemVariantClassMap: string[];
|
|
9
|
+
readonly itemSelectedClass: string[];
|
|
10
|
+
readonly itemDisabledClass: string[];
|
|
11
|
+
readonly itemEnabledClass: string[];
|
|
12
|
+
readonly itemLabelClass: string[];
|
|
13
|
+
readonly itemIconClass: string[];
|
|
14
|
+
readonly iconOnlyClass: string[];
|
|
15
|
+
readonly extra: string[];
|
|
16
|
+
};
|
|
17
|
+
export declare const dsSegmentedSafelist: string[];
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
export type { DsSelectModelValue, DsSelectOption, DsSelectOptionsView, DsSelectSize, DsSelectUnderline, DsSelectVariant, DsSelectView, } from './dsSelectStyles';
|
|
2
1
|
import { type DsSelectModelValue, type DsSelectOption, type DsSelectOptionsView, type DsSelectSize, type DsSelectUnderline, type DsSelectVariant, type DsSelectView } from './dsSelectStyles';
|
|
3
|
-
type
|
|
2
|
+
export type { DsSelectModelValue, DsSelectOption, DsSelectOptionsView, DsSelectSize, DsSelectUnderline, DsSelectVariant, DsSelectView, } from './dsSelectStyles';
|
|
3
|
+
/**
|
|
4
|
+
* Пропсы публичного DS-примитива «Select».
|
|
5
|
+
*/
|
|
6
|
+
export interface DsSelectProps {
|
|
4
7
|
modelValue: DsSelectModelValue;
|
|
5
8
|
options?: DsSelectOption[];
|
|
6
9
|
disabled?: boolean;
|
|
@@ -23,6 +26,8 @@ type __VLS_Props = {
|
|
|
23
26
|
closeOnSelect?: boolean;
|
|
24
27
|
/** Разрешает очистку выбранного значения. */
|
|
25
28
|
clearable?: boolean;
|
|
29
|
+
/** i18n-label для кнопки очистки (`aria-label`). */
|
|
30
|
+
clearLabel?: string;
|
|
26
31
|
/**
|
|
27
32
|
* Цвет/вариант ссылки для `view="link"` (аналогично `DsLink`).
|
|
28
33
|
* В `view="default"` не используется.
|
|
@@ -33,7 +38,7 @@ type __VLS_Props = {
|
|
|
33
38
|
* В `view="default"` не используется.
|
|
34
39
|
*/
|
|
35
40
|
underline?: DsSelectUnderline;
|
|
36
|
-
}
|
|
41
|
+
}
|
|
37
42
|
declare var __VLS_1: {}, __VLS_3: {
|
|
38
43
|
selectedOptions: DsSelectOption[];
|
|
39
44
|
selectedValues: string[];
|
|
@@ -51,7 +56,7 @@ type __VLS_Slots = {} & {
|
|
|
51
56
|
} & {
|
|
52
57
|
option?: (props: typeof __VLS_26) => any;
|
|
53
58
|
};
|
|
54
|
-
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<
|
|
59
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DsSelectProps>, {
|
|
55
60
|
options: undefined;
|
|
56
61
|
disabled: boolean;
|
|
57
62
|
ariaLabel: undefined;
|
|
@@ -65,11 +70,12 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
65
70
|
dropdownMaxHeight: number;
|
|
66
71
|
closeOnSelect: boolean;
|
|
67
72
|
clearable: boolean;
|
|
73
|
+
clearLabel: string;
|
|
68
74
|
variant: string;
|
|
69
75
|
underline: string;
|
|
70
76
|
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
71
77
|
"update:modelValue": (value: DsSelectModelValue) => void;
|
|
72
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<
|
|
78
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DsSelectProps>, {
|
|
73
79
|
options: undefined;
|
|
74
80
|
disabled: boolean;
|
|
75
81
|
ariaLabel: undefined;
|
|
@@ -83,6 +89,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
83
89
|
dropdownMaxHeight: number;
|
|
84
90
|
closeOnSelect: boolean;
|
|
85
91
|
clearable: boolean;
|
|
92
|
+
clearLabel: string;
|
|
86
93
|
variant: string;
|
|
87
94
|
underline: string;
|
|
88
95
|
}>>> & Readonly<{
|
|
@@ -103,6 +110,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
103
110
|
dropdownMaxHeight: number;
|
|
104
111
|
closeOnSelect: boolean;
|
|
105
112
|
clearable: boolean;
|
|
113
|
+
clearLabel: string;
|
|
106
114
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
107
115
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
108
116
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const dsSelectConfig: import("
|
|
1
|
+
export declare const dsSelectConfig: import("@feugene/unocss-preset-granular").GranularComponentDescriptor<"DsSelect">;
|
|
@@ -8,6 +8,11 @@ export type DsSelectOption = {
|
|
|
8
8
|
label: string;
|
|
9
9
|
};
|
|
10
10
|
export type DsSelectModelValue = string | string[];
|
|
11
|
+
export declare const defaultBaseClass = "w-full rounded-md border border-[var(--brd)] bg-[var(--bg)] text-[var(--fg)] transition-colors duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]";
|
|
12
|
+
export declare const linkBaseClass = "cursor-pointer inline-block w-auto align-baseline appearance-none bg-transparent border border-transparent px-0 py-0 rounded-[6px] transition-colors duration-150 focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)]";
|
|
13
|
+
export declare const selectSizeClassBySize: Record<DsSelectSize, string>;
|
|
14
|
+
export declare const selectLinkSizeClassBySize: Record<DsSelectSize, string>;
|
|
15
|
+
export declare const selectLinkVariantClassByVariant: Record<DsSelectVariant, string>;
|
|
11
16
|
export declare function dsSelectClass(options: {
|
|
12
17
|
view: DsSelectView;
|
|
13
18
|
size: DsSelectSize;
|
|
@@ -32,4 +37,3 @@ export declare function dsSelectTriggerClass(options: {
|
|
|
32
37
|
underline: DsSelectUnderline;
|
|
33
38
|
}): string;
|
|
34
39
|
export declare const dsSelectPanelClasses = "rounded-[var(--ds-radius-xl)] border border-[var(--brd)] bg-[var(--card)] text-[var(--card-fg)] shadow-[var(--ds-shadow-2)] overflow-hidden";
|
|
35
|
-
export declare const dsSelectSafelist: string[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default } from './DsSelect.vue';
|
|
2
2
|
export { default as DsSelect } from './DsSelect.vue';
|
|
3
3
|
export { dsSelectConfig } from './config';
|
|
4
|
-
export type { DsSelectModelValue, DsSelectOption, DsSelectOptionsView, DsSelectSize, DsSelectUnderline, DsSelectVariant, DsSelectView, } from './DsSelect.vue';
|
|
4
|
+
export type { DsSelectModelValue, DsSelectOption, DsSelectOptionsView, DsSelectProps, DsSelectSize, DsSelectUnderline, DsSelectVariant, DsSelectView, } from './DsSelect.vue';
|
|
5
5
|
export { dsSelectSafelist } from './safelist';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const dsSelectSafelist: string[];
|
|
@@ -1,16 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* DsSidebar — боковая панель приложения с заголовком и слотом контента.
|
|
3
|
+
*
|
|
4
|
+
* Слоты `#title` / `#subtitle` имеют приоритет над одноимёнными пропами
|
|
5
|
+
* и позволяют передать произвольную разметку (иконки, бейджи, действия).
|
|
6
|
+
*/
|
|
7
|
+
export interface DsSidebarProps {
|
|
8
|
+
title?: string;
|
|
3
9
|
subtitle?: string;
|
|
4
|
-
}
|
|
5
|
-
declare var __VLS_1: {};
|
|
10
|
+
}
|
|
11
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
6
12
|
type __VLS_Slots = {} & {
|
|
7
|
-
|
|
13
|
+
subtitle?: (props: typeof __VLS_1) => any;
|
|
14
|
+
} & {
|
|
15
|
+
title?: (props: typeof __VLS_3) => any;
|
|
16
|
+
} & {
|
|
17
|
+
default?: (props: typeof __VLS_5) => any;
|
|
8
18
|
};
|
|
9
|
-
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<
|
|
19
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DsSidebarProps>, {
|
|
20
|
+
title: undefined;
|
|
10
21
|
subtitle: undefined;
|
|
11
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<
|
|
22
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<DsSidebarProps>, {
|
|
23
|
+
title: undefined;
|
|
12
24
|
subtitle: undefined;
|
|
13
25
|
}>>> & Readonly<{}>, {
|
|
26
|
+
title: string;
|
|
14
27
|
subtitle: string;
|
|
15
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
29
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const dsSidebarConfig: import("
|
|
1
|
+
export declare const dsSidebarConfig: import("@feugene/unocss-preset-granular").GranularComponentDescriptor<"DsSidebar">;
|