@vkontakte/vkui-tokens 4.0.0-274008.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/CHANGELOG.md +139 -0
- package/README.md +190 -0
- package/assets/logo.svg +8 -0
- package/assets/vkui_logo.png +0 -0
- package/build/compilers/cssVars/declarations/compileBreakpointsCssVarsDeclaration.d.ts +8 -0
- package/build/compilers/cssVars/declarations/compileBreakpointsCssVarsDeclaration.js +85 -0
- package/build/compilers/cssVars/declarations/compileBreakpointsCssVarsDeclaration.test.d.ts +1 -0
- package/build/compilers/cssVars/declarations/compileBreakpointsCssVarsDeclaration.test.js +156 -0
- package/build/compilers/cssVars/helpers/accumulateValues.d.ts +20 -0
- package/build/compilers/cssVars/helpers/accumulateValues.js +102 -0
- package/build/compilers/cssVars/helpers/findViewportByAdaptivityState.d.ts +3 -0
- package/build/compilers/cssVars/helpers/findViewportByAdaptivityState.js +7 -0
- package/build/compilers/cssVars/helpers/getVarString.d.ts +9 -0
- package/build/compilers/cssVars/helpers/getVarString.js +14 -0
- package/build/compilers/cssVars/jsUtils/compileGetDeclarationString.d.ts +3 -0
- package/build/compilers/cssVars/jsUtils/compileGetDeclarationString.js +28 -0
- package/build/compilers/cssVars/jsUtils/compileGetDeclarationString.test.d.ts +1 -0
- package/build/compilers/cssVars/jsUtils/compileGetDeclarationString.test.js +101 -0
- package/build/compilers/index.d.ts +9 -0
- package/build/compilers/index.js +112 -0
- package/build/compilers/json/compileJSON.d.ts +5 -0
- package/build/compilers/json/compileJSON.js +10 -0
- package/build/compilers/json/compileJSON.test.d.ts +1 -0
- package/build/compilers/json/compileJSON.test.js +14 -0
- package/build/compilers/styles/compileStyles.d.ts +9 -0
- package/build/compilers/styles/compileStyles.js +106 -0
- package/build/compilers/styles/compileStyles.test.d.ts +1 -0
- package/build/compilers/styles/compileStyles.test.js +218 -0
- package/build/compilers/styles/helpers/tokenProcessors.d.ts +49 -0
- package/build/compilers/styles/helpers/tokenProcessors.js +218 -0
- package/build/compilers/styles/helpers/tokenRecognition.d.ts +9 -0
- package/build/compilers/styles/helpers/tokenRecognition.js +65 -0
- package/build/compilers/ts/compileTypeScript.d.ts +5 -0
- package/build/compilers/ts/compileTypeScript.js +12 -0
- package/build/compilers/ts/compileTypeScript.test.d.ts +1 -0
- package/build/compilers/ts/compileTypeScript.test.js +12 -0
- package/build/expandTheme.d.ts +17 -0
- package/build/expandTheme.js +50 -0
- package/build/expandTheme.test.d.ts +1 -0
- package/build/expandTheme.test.js +147 -0
- package/build/helpers/capitalize.d.ts +1 -0
- package/build/helpers/capitalize.js +10 -0
- package/build/helpers/capitalize.test.d.ts +1 -0
- package/build/helpers/capitalize.test.js +18 -0
- package/build/helpers/convertCamelToSnake.d.ts +4 -0
- package/build/helpers/convertCamelToSnake.js +12 -0
- package/build/helpers/convertCamelToSnake.test.d.ts +1 -0
- package/build/helpers/convertCamelToSnake.test.js +23 -0
- package/build/helpers/cssHelpers.d.ts +12 -0
- package/build/helpers/cssHelpers.js +46 -0
- package/build/helpers/cssHelpers.test.d.ts +1 -0
- package/build/helpers/cssHelpers.test.js +25 -0
- package/build/helpers/flatifyTheme.d.ts +3 -0
- package/build/helpers/flatifyTheme.js +29 -0
- package/build/helpers/flatifyTheme.test.d.ts +1 -0
- package/build/helpers/flatifyTheme.test.js +94 -0
- package/build/helpers/getAllButSizes.d.ts +1 -0
- package/build/helpers/getAllButSizes.js +17 -0
- package/build/helpers/getAllButSizes.test.d.ts +1 -0
- package/build/helpers/getAllButSizes.test.js +22 -0
- package/build/helpers/getOnlyColors.d.ts +1 -0
- package/build/helpers/getOnlyColors.js +13 -0
- package/build/helpers/getOnlyColors.test.d.ts +1 -0
- package/build/helpers/getOnlyColors.test.js +17 -0
- package/build/helpers/getStateFunctions.d.ts +15 -0
- package/build/helpers/getStateFunctions.js +44 -0
- package/build/helpers/getStateFunctions.test.d.ts +1 -0
- package/build/helpers/getStateFunctions.test.js +55 -0
- package/build/helpers/overrideOnlyNeeded.d.ts +1 -0
- package/build/helpers/overrideOnlyNeeded.js +13 -0
- package/build/helpers/overrideOnlyNeeded.test.d.ts +1 -0
- package/build/helpers/overrideOnlyNeeded.test.js +24 -0
- package/build/helpers/replacePropDeep.d.ts +5 -0
- package/build/helpers/replacePropDeep.js +20 -0
- package/build/helpers/replacePropDeep.test.d.ts +1 -0
- package/build/helpers/replacePropDeep.test.js +43 -0
- package/build/helpers/unCamelcasify.d.ts +1 -0
- package/build/helpers/unCamelcasify.js +10 -0
- package/build/helpers/unCamelcasify.test.d.ts +1 -0
- package/build/helpers/unCamelcasify.test.js +17 -0
- package/build/themeProcessors/createPseudoRootFromCssVars/createPseudoRootFromCssVars.d.ts +2 -0
- package/build/themeProcessors/createPseudoRootFromCssVars/createPseudoRootFromCssVars.js +33 -0
- package/build/themeProcessors/createPseudoRootFromCssVars/createPseudoRootFromCssVars.test.d.ts +1 -0
- package/build/themeProcessors/createPseudoRootFromCssVars/createPseudoRootFromCssVars.test.js +157 -0
- package/build/themeProcessors/customMedia/customMedia.d.ts +9 -0
- package/build/themeProcessors/customMedia/customMedia.js +54 -0
- package/build/themeProcessors/customMedia/customMedia.test.d.ts +1 -0
- package/build/themeProcessors/customMedia/customMedia.test.js +145 -0
- package/build/themeProcessors/expandColors/expandColors.d.ts +18 -0
- package/build/themeProcessors/expandColors/expandColors.js +62 -0
- package/build/themeProcessors/expandColors/expandColors.test.d.ts +1 -0
- package/build/themeProcessors/expandColors/expandColors.test.js +108 -0
- package/build/themeProcessors/expandColors/mixColors.d.ts +2 -0
- package/build/themeProcessors/expandColors/mixColors.js +25 -0
- package/build/themeProcessors/expandColors/mixColors.test.d.ts +1 -0
- package/build/themeProcessors/expandColors/mixColors.test.js +26 -0
- package/build/themeProcessors/expandColors/overlayColors.d.ts +4 -0
- package/build/themeProcessors/expandColors/overlayColors.js +27 -0
- package/build/themeProcessors/expandColors/overlayColors.test.d.ts +1 -0
- package/build/themeProcessors/expandColors/overlayColors.test.js +37 -0
- package/build/themeProcessors/extractCssVarsStrict/extractCssVarsStrict.d.ts +2 -0
- package/build/themeProcessors/extractCssVarsStrict/extractCssVarsStrict.js +25 -0
- package/build/themeProcessors/extractCssVarsStrict/extractCssVarsStrict.test.d.ts +1 -0
- package/build/themeProcessors/extractCssVarsStrict/extractCssVarsStrict.test.js +146 -0
- package/build/themeProcessors/extractGeneralTokens/extractGeneralTokens.d.ts +9 -0
- package/build/themeProcessors/extractGeneralTokens/extractGeneralTokens.js +17 -0
- package/build/themeProcessors/extractGeneralTokens/extractGeneralTokens.test.d.ts +1 -0
- package/build/themeProcessors/extractGeneralTokens/extractGeneralTokens.test.js +28 -0
- package/build/themeProcessors/extractVarsNames/extractVarsNames.d.ts +14 -0
- package/build/themeProcessors/extractVarsNames/extractVarsNames.js +134 -0
- package/build/themeProcessors/extractVarsNames/extractVarsNames.test.d.ts +1 -0
- package/build/themeProcessors/extractVarsNames/extractVarsNames.test.js +312 -0
- package/build/themeProcessors/extractViewports/extractViewports.d.ts +4 -0
- package/build/themeProcessors/extractViewports/extractViewports.js +13 -0
- package/build/themeProcessors/extractViewports/extractViewports.test.d.ts +1 -0
- package/build/themeProcessors/extractViewports/extractViewports.test.js +65 -0
- package/build/themeProcessors/pixelifyValues/pixelifyValues.d.ts +6 -0
- package/build/themeProcessors/pixelifyValues/pixelifyValues.js +28 -0
- package/build/themeProcessors/pixelifyValues/pixelifyValues.test.d.ts +1 -0
- package/build/themeProcessors/pixelifyValues/pixelifyValues.test.js +86 -0
- package/interfaces/general/animations/index.d.ts +10 -0
- package/interfaces/general/animations/index.js +2 -0
- package/interfaces/general/colors/index.d.ts +105 -0
- package/interfaces/general/colors/index.js +2 -0
- package/interfaces/general/elevation/index.d.ts +7 -0
- package/interfaces/general/elevation/index.js +2 -0
- package/interfaces/general/geometry/index.d.ts +35 -0
- package/interfaces/general/geometry/index.js +2 -0
- package/interfaces/general/index.d.ts +73 -0
- package/interfaces/general/index.js +2 -0
- package/interfaces/general/toneValues/index.d.ts +4 -0
- package/interfaces/general/toneValues/index.js +2 -0
- package/interfaces/general/tools/cssVars.d.ts +28 -0
- package/interfaces/general/tools/cssVars.js +2 -0
- package/interfaces/general/tools/customMedia.d.ts +6 -0
- package/interfaces/general/tools/customMedia.js +2 -0
- package/interfaces/general/tools/index.d.ts +34 -0
- package/interfaces/general/tools/index.js +33 -0
- package/interfaces/general/tools/utils.d.ts +22 -0
- package/interfaces/general/tools/utils.js +2 -0
- package/interfaces/general/tools/viewports.d.ts +19 -0
- package/interfaces/general/tools/viewports.js +16 -0
- package/interfaces/general/typography/index.d.ts +46 -0
- package/interfaces/general/typography/index.js +2 -0
- package/interfaces/namespaces/paradigm/index.d.ts +119 -0
- package/interfaces/namespaces/paradigm/index.js +2 -0
- package/interfaces/namespaces/vk/index.d.ts +0 -0
- package/interfaces/namespaces/vk/index.js +1 -0
- package/interfaces/themes/calendar/index.d.ts +26 -0
- package/interfaces/themes/calendar/index.js +2 -0
- package/interfaces/themes/calendarDark/index.d.ts +7 -0
- package/interfaces/themes/calendarDark/index.js +2 -0
- package/interfaces/themes/calls/index.d.ts +7 -0
- package/interfaces/themes/calls/index.js +2 -0
- package/interfaces/themes/cloud/index.d.ts +7 -0
- package/interfaces/themes/cloud/index.js +2 -0
- package/interfaces/themes/home/index.d.ts +26 -0
- package/interfaces/themes/home/index.js +2 -0
- package/interfaces/themes/homeDark/index.d.ts +4 -0
- package/interfaces/themes/homeDark/index.js +2 -0
- package/interfaces/themes/media/index.d.ts +68 -0
- package/interfaces/themes/media/index.js +2 -0
- package/interfaces/themes/mediaDark/index.d.ts +4 -0
- package/interfaces/themes/mediaDark/index.js +2 -0
- package/interfaces/themes/mycom/index.d.ts +16 -0
- package/interfaces/themes/mycom/index.js +2 -0
- package/interfaces/themes/octavius/index.d.ts +180 -0
- package/interfaces/themes/octavius/index.js +2 -0
- package/interfaces/themes/octaviusCompact/index.d.ts +7 -0
- package/interfaces/themes/octaviusCompact/index.js +2 -0
- package/interfaces/themes/octaviusCompactDark/index.d.ts +7 -0
- package/interfaces/themes/octaviusCompactDark/index.js +2 -0
- package/interfaces/themes/octaviusDark/index.d.ts +4 -0
- package/interfaces/themes/octaviusDark/index.js +2 -0
- package/interfaces/themes/octaviusVK/index.d.ts +4 -0
- package/interfaces/themes/octaviusVK/index.js +2 -0
- package/interfaces/themes/octaviusVKDark/index.d.ts +4 -0
- package/interfaces/themes/octaviusVKDark/index.js +2 -0
- package/interfaces/themes/octaviusWhite/index.d.ts +4 -0
- package/interfaces/themes/octaviusWhite/index.js +2 -0
- package/interfaces/themes/otvet/index.d.ts +9 -0
- package/interfaces/themes/otvet/index.js +2 -0
- package/interfaces/themes/otvetDark/index.d.ts +4 -0
- package/interfaces/themes/otvetDark/index.js +2 -0
- package/interfaces/themes/paradigmBase/index.d.ts +7 -0
- package/interfaces/themes/paradigmBase/index.js +2 -0
- package/interfaces/themes/paradigmBaseDark/index.d.ts +7 -0
- package/interfaces/themes/paradigmBaseDark/index.js +2 -0
- package/interfaces/themes/pharma/index.d.ts +13 -0
- package/interfaces/themes/pharma/index.js +2 -0
- package/interfaces/themes/promo/index.d.ts +32 -0
- package/interfaces/themes/promo/index.js +2 -0
- package/interfaces/themes/todo/index.d.ts +7 -0
- package/interfaces/themes/todo/index.js +2 -0
- package/interfaces/themes/vkBase/index.d.ts +7 -0
- package/interfaces/themes/vkBase/index.js +2 -0
- package/interfaces/themes/vkBaseDark/index.d.ts +7 -0
- package/interfaces/themes/vkBaseDark/index.js +2 -0
- package/interfaces/themes/vkCom/index.d.ts +1 -0
- package/interfaces/themes/vkCom/index.js +2 -0
- package/interfaces/themes/vkIOS/index.d.ts +1 -0
- package/interfaces/themes/vkIOS/index.js +2 -0
- package/package.json +65 -0
- package/themeDescriptions/base/paradigm.d.ts +10 -0
- package/themeDescriptions/base/paradigm.js +593 -0
- package/themeDescriptions/base/vk.d.ts +5 -0
- package/themeDescriptions/base/vk.js +421 -0
- package/themes/calendar/cssVars/declarations/index.css +1316 -0
- package/themes/calendar/cssVars/declarations/noSizes.css +268 -0
- package/themes/calendar/cssVars/declarations/onlyAdaptiveGroups.css +147 -0
- package/themes/calendar/cssVars/declarations/onlyColors.css +248 -0
- package/themes/calendar/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/calendar/cssVars/declarations/onlyColors.js +11 -0
- package/themes/calendar/cssVars/declarations/onlyMedia.css +352 -0
- package/themes/calendar/cssVars/declarations/onlyVariables.css +515 -0
- package/themes/calendar/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/calendar/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/calendar/cssVars/theme/fallbacks/index.css +816 -0
- package/themes/calendar/cssVars/theme/fallbacks/index.less +583 -0
- package/themes/calendar/cssVars/theme/fallbacks/index.pcss +576 -0
- package/themes/calendar/cssVars/theme/fallbacks/index.scss +792 -0
- package/themes/calendar/cssVars/theme/fallbacks/index.styl +583 -0
- package/themes/calendar/cssVars/theme/index.d.ts +4 -0
- package/themes/calendar/cssVars/theme/index.js +3310 -0
- package/themes/calendar/cssVars/theme/index.json +3307 -0
- package/themes/calendar/index.css +816 -0
- package/themes/calendar/index.d.ts +4 -0
- package/themes/calendar/index.js +969 -0
- package/themes/calendar/index.json +966 -0
- package/themes/calendar/index.less +583 -0
- package/themes/calendar/index.pcss +576 -0
- package/themes/calendar/index.scss +792 -0
- package/themes/calendar/index.styl +583 -0
- package/themes/calendarDark/cssVars/declarations/index.css +1316 -0
- package/themes/calendarDark/cssVars/declarations/noSizes.css +268 -0
- package/themes/calendarDark/cssVars/declarations/onlyAdaptiveGroups.css +147 -0
- package/themes/calendarDark/cssVars/declarations/onlyColors.css +248 -0
- package/themes/calendarDark/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/calendarDark/cssVars/declarations/onlyColors.js +11 -0
- package/themes/calendarDark/cssVars/declarations/onlyMedia.css +352 -0
- package/themes/calendarDark/cssVars/declarations/onlyVariables.css +515 -0
- package/themes/calendarDark/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/calendarDark/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/calendarDark/cssVars/theme/fallbacks/index.css +816 -0
- package/themes/calendarDark/cssVars/theme/fallbacks/index.less +583 -0
- package/themes/calendarDark/cssVars/theme/fallbacks/index.pcss +576 -0
- package/themes/calendarDark/cssVars/theme/fallbacks/index.scss +792 -0
- package/themes/calendarDark/cssVars/theme/fallbacks/index.styl +583 -0
- package/themes/calendarDark/cssVars/theme/index.d.ts +4 -0
- package/themes/calendarDark/cssVars/theme/index.js +3310 -0
- package/themes/calendarDark/cssVars/theme/index.json +3307 -0
- package/themes/calendarDark/index.css +816 -0
- package/themes/calendarDark/index.d.ts +4 -0
- package/themes/calendarDark/index.js +969 -0
- package/themes/calendarDark/index.json +966 -0
- package/themes/calendarDark/index.less +583 -0
- package/themes/calendarDark/index.pcss +576 -0
- package/themes/calendarDark/index.scss +792 -0
- package/themes/calendarDark/index.styl +583 -0
- package/themes/calls/cssVars/declarations/index.css +1035 -0
- package/themes/calls/cssVars/declarations/noSizes.css +268 -0
- package/themes/calls/cssVars/declarations/onlyAdaptiveGroups.css +110 -0
- package/themes/calls/cssVars/declarations/onlyColors.css +248 -0
- package/themes/calls/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/calls/cssVars/declarations/onlyColors.js +11 -0
- package/themes/calls/cssVars/declarations/onlyMedia.css +255 -0
- package/themes/calls/cssVars/declarations/onlyVariables.css +472 -0
- package/themes/calls/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/calls/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/calls/cssVars/theme/fallbacks/index.css +669 -0
- package/themes/calls/cssVars/theme/fallbacks/index.less +520 -0
- package/themes/calls/cssVars/theme/fallbacks/index.pcss +513 -0
- package/themes/calls/cssVars/theme/fallbacks/index.scss +642 -0
- package/themes/calls/cssVars/theme/fallbacks/index.styl +520 -0
- package/themes/calls/cssVars/theme/index.d.ts +4 -0
- package/themes/calls/cssVars/theme/index.js +2994 -0
- package/themes/calls/cssVars/theme/index.json +2991 -0
- package/themes/calls/index.css +669 -0
- package/themes/calls/index.d.ts +4 -0
- package/themes/calls/index.js +894 -0
- package/themes/calls/index.json +891 -0
- package/themes/calls/index.less +520 -0
- package/themes/calls/index.pcss +513 -0
- package/themes/calls/index.scss +642 -0
- package/themes/calls/index.styl +520 -0
- package/themes/cloud/cssVars/declarations/index.css +1210 -0
- package/themes/cloud/cssVars/declarations/noSizes.css +268 -0
- package/themes/cloud/cssVars/declarations/onlyAdaptiveGroups.css +110 -0
- package/themes/cloud/cssVars/declarations/onlyColors.css +248 -0
- package/themes/cloud/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/cloud/cssVars/declarations/onlyColors.js +11 -0
- package/themes/cloud/cssVars/declarations/onlyMedia.css +347 -0
- package/themes/cloud/cssVars/declarations/onlyVariables.css +495 -0
- package/themes/cloud/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/cloud/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/cloud/cssVars/theme/fallbacks/index.css +752 -0
- package/themes/cloud/cssVars/theme/fallbacks/index.less +555 -0
- package/themes/cloud/cssVars/theme/fallbacks/index.pcss +548 -0
- package/themes/cloud/cssVars/theme/fallbacks/index.scss +749 -0
- package/themes/cloud/cssVars/theme/fallbacks/index.styl +555 -0
- package/themes/cloud/cssVars/theme/index.d.ts +4 -0
- package/themes/cloud/cssVars/theme/index.js +3098 -0
- package/themes/cloud/cssVars/theme/index.json +3095 -0
- package/themes/cloud/index.css +752 -0
- package/themes/cloud/index.d.ts +4 -0
- package/themes/cloud/index.js +929 -0
- package/themes/cloud/index.json +926 -0
- package/themes/cloud/index.less +555 -0
- package/themes/cloud/index.pcss +548 -0
- package/themes/cloud/index.scss +749 -0
- package/themes/cloud/index.styl +555 -0
- package/themes/home/cssVars/declarations/index.css +1083 -0
- package/themes/home/cssVars/declarations/noSizes.css +286 -0
- package/themes/home/cssVars/declarations/onlyAdaptiveGroups.css +110 -0
- package/themes/home/cssVars/declarations/onlyColors.css +263 -0
- package/themes/home/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/home/cssVars/declarations/onlyColors.js +11 -0
- package/themes/home/cssVars/declarations/onlyMedia.css +263 -0
- package/themes/home/cssVars/declarations/onlyVariables.css +492 -0
- package/themes/home/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/home/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/home/cssVars/theme/fallbacks/index.css +709 -0
- package/themes/home/cssVars/theme/fallbacks/index.less +550 -0
- package/themes/home/cssVars/theme/fallbacks/index.pcss +543 -0
- package/themes/home/cssVars/theme/fallbacks/index.scss +696 -0
- package/themes/home/cssVars/theme/fallbacks/index.styl +550 -0
- package/themes/home/cssVars/theme/index.d.ts +4 -0
- package/themes/home/cssVars/theme/index.js +3088 -0
- package/themes/home/cssVars/theme/index.json +3085 -0
- package/themes/home/index.css +709 -0
- package/themes/home/index.d.ts +4 -0
- package/themes/home/index.js +928 -0
- package/themes/home/index.json +925 -0
- package/themes/home/index.less +550 -0
- package/themes/home/index.pcss +543 -0
- package/themes/home/index.scss +696 -0
- package/themes/home/index.styl +550 -0
- package/themes/homeDark/cssVars/declarations/index.css +1083 -0
- package/themes/homeDark/cssVars/declarations/noSizes.css +286 -0
- package/themes/homeDark/cssVars/declarations/onlyAdaptiveGroups.css +110 -0
- package/themes/homeDark/cssVars/declarations/onlyColors.css +263 -0
- package/themes/homeDark/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/homeDark/cssVars/declarations/onlyColors.js +11 -0
- package/themes/homeDark/cssVars/declarations/onlyMedia.css +263 -0
- package/themes/homeDark/cssVars/declarations/onlyVariables.css +492 -0
- package/themes/homeDark/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/homeDark/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/homeDark/cssVars/theme/fallbacks/index.css +709 -0
- package/themes/homeDark/cssVars/theme/fallbacks/index.less +550 -0
- package/themes/homeDark/cssVars/theme/fallbacks/index.pcss +543 -0
- package/themes/homeDark/cssVars/theme/fallbacks/index.scss +696 -0
- package/themes/homeDark/cssVars/theme/fallbacks/index.styl +550 -0
- package/themes/homeDark/cssVars/theme/index.d.ts +4 -0
- package/themes/homeDark/cssVars/theme/index.js +3088 -0
- package/themes/homeDark/cssVars/theme/index.json +3085 -0
- package/themes/homeDark/index.css +709 -0
- package/themes/homeDark/index.d.ts +4 -0
- package/themes/homeDark/index.js +928 -0
- package/themes/homeDark/index.json +925 -0
- package/themes/homeDark/index.less +550 -0
- package/themes/homeDark/index.pcss +543 -0
- package/themes/homeDark/index.scss +696 -0
- package/themes/homeDark/index.styl +550 -0
- package/themes/media/cssVars/declarations/index.css +1570 -0
- package/themes/media/cssVars/declarations/noSizes.css +365 -0
- package/themes/media/cssVars/declarations/onlyAdaptiveGroups.css +153 -0
- package/themes/media/cssVars/declarations/onlyColors.css +317 -0
- package/themes/media/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/media/cssVars/declarations/onlyColors.js +11 -0
- package/themes/media/cssVars/declarations/onlyMedia.css +467 -0
- package/themes/media/cssVars/declarations/onlyVariables.css +620 -0
- package/themes/media/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/media/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/media/cssVars/theme/fallbacks/index.css +949 -0
- package/themes/media/cssVars/theme/fallbacks/index.less +720 -0
- package/themes/media/cssVars/theme/fallbacks/index.pcss +701 -0
- package/themes/media/cssVars/theme/fallbacks/index.scss +957 -0
- package/themes/media/cssVars/theme/fallbacks/index.styl +720 -0
- package/themes/media/cssVars/theme/index.d.ts +4 -0
- package/themes/media/cssVars/theme/index.js +3880 -0
- package/themes/media/cssVars/theme/index.json +3877 -0
- package/themes/media/index.css +949 -0
- package/themes/media/index.d.ts +4 -0
- package/themes/media/index.js +1157 -0
- package/themes/media/index.json +1154 -0
- package/themes/media/index.less +720 -0
- package/themes/media/index.pcss +701 -0
- package/themes/media/index.scss +957 -0
- package/themes/media/index.styl +720 -0
- package/themes/mediaDark/cssVars/declarations/index.css +1570 -0
- package/themes/mediaDark/cssVars/declarations/noSizes.css +365 -0
- package/themes/mediaDark/cssVars/declarations/onlyAdaptiveGroups.css +153 -0
- package/themes/mediaDark/cssVars/declarations/onlyColors.css +317 -0
- package/themes/mediaDark/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/mediaDark/cssVars/declarations/onlyColors.js +11 -0
- package/themes/mediaDark/cssVars/declarations/onlyMedia.css +467 -0
- package/themes/mediaDark/cssVars/declarations/onlyVariables.css +620 -0
- package/themes/mediaDark/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/mediaDark/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/mediaDark/cssVars/theme/fallbacks/index.css +949 -0
- package/themes/mediaDark/cssVars/theme/fallbacks/index.less +720 -0
- package/themes/mediaDark/cssVars/theme/fallbacks/index.pcss +701 -0
- package/themes/mediaDark/cssVars/theme/fallbacks/index.scss +957 -0
- package/themes/mediaDark/cssVars/theme/fallbacks/index.styl +720 -0
- package/themes/mediaDark/cssVars/theme/index.d.ts +4 -0
- package/themes/mediaDark/cssVars/theme/index.js +3880 -0
- package/themes/mediaDark/cssVars/theme/index.json +3877 -0
- package/themes/mediaDark/index.css +949 -0
- package/themes/mediaDark/index.d.ts +4 -0
- package/themes/mediaDark/index.js +1157 -0
- package/themes/mediaDark/index.json +1154 -0
- package/themes/mediaDark/index.less +720 -0
- package/themes/mediaDark/index.pcss +701 -0
- package/themes/mediaDark/index.scss +957 -0
- package/themes/mediaDark/index.styl +720 -0
- package/themes/mycom/cssVars/declarations/index.css +1564 -0
- package/themes/mycom/cssVars/declarations/noSizes.css +368 -0
- package/themes/mycom/cssVars/declarations/onlyAdaptiveGroups.css +153 -0
- package/themes/mycom/cssVars/declarations/onlyColors.css +320 -0
- package/themes/mycom/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/mycom/cssVars/declarations/onlyColors.js +11 -0
- package/themes/mycom/cssVars/declarations/onlyMedia.css +459 -0
- package/themes/mycom/cssVars/declarations/onlyVariables.css +622 -0
- package/themes/mycom/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/mycom/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/mycom/cssVars/theme/fallbacks/index.css +951 -0
- package/themes/mycom/cssVars/theme/fallbacks/index.less +722 -0
- package/themes/mycom/cssVars/theme/fallbacks/index.pcss +703 -0
- package/themes/mycom/cssVars/theme/fallbacks/index.scss +959 -0
- package/themes/mycom/cssVars/theme/fallbacks/index.styl +722 -0
- package/themes/mycom/cssVars/theme/index.d.ts +4 -0
- package/themes/mycom/cssVars/theme/index.js +3886 -0
- package/themes/mycom/cssVars/theme/index.json +3883 -0
- package/themes/mycom/index.css +951 -0
- package/themes/mycom/index.d.ts +4 -0
- package/themes/mycom/index.js +1160 -0
- package/themes/mycom/index.json +1157 -0
- package/themes/mycom/index.less +722 -0
- package/themes/mycom/index.pcss +703 -0
- package/themes/mycom/index.scss +959 -0
- package/themes/mycom/index.styl +722 -0
- package/themes/octavius/cssVars/declarations/index.css +1434 -0
- package/themes/octavius/cssVars/declarations/noSizes.css +620 -0
- package/themes/octavius/cssVars/declarations/onlyAdaptiveGroups.css +110 -0
- package/themes/octavius/cssVars/declarations/onlyColors.css +587 -0
- package/themes/octavius/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/octavius/cssVars/declarations/onlyColors.js +11 -0
- package/themes/octavius/cssVars/declarations/onlyMedia.css +269 -0
- package/themes/octavius/cssVars/declarations/onlyVariables.css +837 -0
- package/themes/octavius/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/octavius/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/octavius/cssVars/theme/fallbacks/index.css +1054 -0
- package/themes/octavius/cssVars/theme/fallbacks/index.less +895 -0
- package/themes/octavius/cssVars/theme/fallbacks/index.pcss +888 -0
- package/themes/octavius/cssVars/theme/fallbacks/index.scss +1041 -0
- package/themes/octavius/cssVars/theme/fallbacks/index.styl +895 -0
- package/themes/octavius/cssVars/theme/index.d.ts +4 -0
- package/themes/octavius/cssVars/theme/index.js +4720 -0
- package/themes/octavius/cssVars/theme/index.json +4717 -0
- package/themes/octavius/index.css +1054 -0
- package/themes/octavius/index.d.ts +4 -0
- package/themes/octavius/index.js +1501 -0
- package/themes/octavius/index.json +1498 -0
- package/themes/octavius/index.less +895 -0
- package/themes/octavius/index.pcss +888 -0
- package/themes/octavius/index.scss +1041 -0
- package/themes/octavius/index.styl +895 -0
- package/themes/octaviusCompact/cssVars/declarations/index.css +1439 -0
- package/themes/octaviusCompact/cssVars/declarations/noSizes.css +620 -0
- package/themes/octaviusCompact/cssVars/declarations/onlyAdaptiveGroups.css +110 -0
- package/themes/octaviusCompact/cssVars/declarations/onlyColors.css +587 -0
- package/themes/octaviusCompact/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/octaviusCompact/cssVars/declarations/onlyColors.js +11 -0
- package/themes/octaviusCompact/cssVars/declarations/onlyMedia.css +273 -0
- package/themes/octaviusCompact/cssVars/declarations/onlyVariables.css +838 -0
- package/themes/octaviusCompact/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/octaviusCompact/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/octaviusCompact/cssVars/theme/fallbacks/index.css +1055 -0
- package/themes/octaviusCompact/cssVars/theme/fallbacks/index.less +896 -0
- package/themes/octaviusCompact/cssVars/theme/fallbacks/index.pcss +889 -0
- package/themes/octaviusCompact/cssVars/theme/fallbacks/index.scss +1042 -0
- package/themes/octaviusCompact/cssVars/theme/fallbacks/index.styl +896 -0
- package/themes/octaviusCompact/cssVars/theme/index.d.ts +4 -0
- package/themes/octaviusCompact/cssVars/theme/index.js +4724 -0
- package/themes/octaviusCompact/cssVars/theme/index.json +4721 -0
- package/themes/octaviusCompact/index.css +1055 -0
- package/themes/octaviusCompact/index.d.ts +4 -0
- package/themes/octaviusCompact/index.js +1502 -0
- package/themes/octaviusCompact/index.json +1499 -0
- package/themes/octaviusCompact/index.less +896 -0
- package/themes/octaviusCompact/index.pcss +889 -0
- package/themes/octaviusCompact/index.scss +1042 -0
- package/themes/octaviusCompact/index.styl +896 -0
- package/themes/octaviusCompactDark/cssVars/declarations/index.css +1439 -0
- package/themes/octaviusCompactDark/cssVars/declarations/noSizes.css +620 -0
- package/themes/octaviusCompactDark/cssVars/declarations/onlyAdaptiveGroups.css +110 -0
- package/themes/octaviusCompactDark/cssVars/declarations/onlyColors.css +587 -0
- package/themes/octaviusCompactDark/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/octaviusCompactDark/cssVars/declarations/onlyColors.js +11 -0
- package/themes/octaviusCompactDark/cssVars/declarations/onlyMedia.css +273 -0
- package/themes/octaviusCompactDark/cssVars/declarations/onlyVariables.css +838 -0
- package/themes/octaviusCompactDark/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/octaviusCompactDark/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.css +1055 -0
- package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.less +896 -0
- package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.pcss +889 -0
- package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.scss +1042 -0
- package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.styl +896 -0
- package/themes/octaviusCompactDark/cssVars/theme/index.d.ts +4 -0
- package/themes/octaviusCompactDark/cssVars/theme/index.js +4724 -0
- package/themes/octaviusCompactDark/cssVars/theme/index.json +4721 -0
- package/themes/octaviusCompactDark/index.css +1055 -0
- package/themes/octaviusCompactDark/index.d.ts +4 -0
- package/themes/octaviusCompactDark/index.js +1502 -0
- package/themes/octaviusCompactDark/index.json +1499 -0
- package/themes/octaviusCompactDark/index.less +896 -0
- package/themes/octaviusCompactDark/index.pcss +889 -0
- package/themes/octaviusCompactDark/index.scss +1042 -0
- package/themes/octaviusCompactDark/index.styl +896 -0
- package/themes/octaviusDark/cssVars/declarations/index.css +1434 -0
- package/themes/octaviusDark/cssVars/declarations/noSizes.css +620 -0
- package/themes/octaviusDark/cssVars/declarations/onlyAdaptiveGroups.css +110 -0
- package/themes/octaviusDark/cssVars/declarations/onlyColors.css +587 -0
- package/themes/octaviusDark/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/octaviusDark/cssVars/declarations/onlyColors.js +11 -0
- package/themes/octaviusDark/cssVars/declarations/onlyMedia.css +269 -0
- package/themes/octaviusDark/cssVars/declarations/onlyVariables.css +837 -0
- package/themes/octaviusDark/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/octaviusDark/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/octaviusDark/cssVars/theme/fallbacks/index.css +1054 -0
- package/themes/octaviusDark/cssVars/theme/fallbacks/index.less +895 -0
- package/themes/octaviusDark/cssVars/theme/fallbacks/index.pcss +888 -0
- package/themes/octaviusDark/cssVars/theme/fallbacks/index.scss +1041 -0
- package/themes/octaviusDark/cssVars/theme/fallbacks/index.styl +895 -0
- package/themes/octaviusDark/cssVars/theme/index.d.ts +4 -0
- package/themes/octaviusDark/cssVars/theme/index.js +4720 -0
- package/themes/octaviusDark/cssVars/theme/index.json +4717 -0
- package/themes/octaviusDark/index.css +1054 -0
- package/themes/octaviusDark/index.d.ts +4 -0
- package/themes/octaviusDark/index.js +1501 -0
- package/themes/octaviusDark/index.json +1498 -0
- package/themes/octaviusDark/index.less +895 -0
- package/themes/octaviusDark/index.pcss +888 -0
- package/themes/octaviusDark/index.scss +1041 -0
- package/themes/octaviusDark/index.styl +895 -0
- package/themes/octaviusVK/cssVars/declarations/index.css +1505 -0
- package/themes/octaviusVK/cssVars/declarations/noSizes.css +620 -0
- package/themes/octaviusVK/cssVars/declarations/onlyAdaptiveGroups.css +123 -0
- package/themes/octaviusVK/cssVars/declarations/onlyColors.css +587 -0
- package/themes/octaviusVK/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/octaviusVK/cssVars/declarations/onlyColors.js +11 -0
- package/themes/octaviusVK/cssVars/declarations/onlyMedia.css +282 -0
- package/themes/octaviusVK/cssVars/declarations/onlyVariables.css +850 -0
- package/themes/octaviusVK/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/octaviusVK/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/octaviusVK/cssVars/theme/fallbacks/index.css +1099 -0
- package/themes/octaviusVK/cssVars/theme/fallbacks/index.less +911 -0
- package/themes/octaviusVK/cssVars/theme/fallbacks/index.pcss +904 -0
- package/themes/octaviusVK/cssVars/theme/fallbacks/index.scss +1076 -0
- package/themes/octaviusVK/cssVars/theme/fallbacks/index.styl +911 -0
- package/themes/octaviusVK/cssVars/theme/index.d.ts +4 -0
- package/themes/octaviusVK/cssVars/theme/index.js +4824 -0
- package/themes/octaviusVK/cssVars/theme/index.json +4821 -0
- package/themes/octaviusVK/index.css +1099 -0
- package/themes/octaviusVK/index.d.ts +4 -0
- package/themes/octaviusVK/index.js +1514 -0
- package/themes/octaviusVK/index.json +1511 -0
- package/themes/octaviusVK/index.less +911 -0
- package/themes/octaviusVK/index.pcss +904 -0
- package/themes/octaviusVK/index.scss +1076 -0
- package/themes/octaviusVK/index.styl +911 -0
- package/themes/octaviusVKDark/cssVars/declarations/index.css +1505 -0
- package/themes/octaviusVKDark/cssVars/declarations/noSizes.css +620 -0
- package/themes/octaviusVKDark/cssVars/declarations/onlyAdaptiveGroups.css +123 -0
- package/themes/octaviusVKDark/cssVars/declarations/onlyColors.css +587 -0
- package/themes/octaviusVKDark/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/octaviusVKDark/cssVars/declarations/onlyColors.js +11 -0
- package/themes/octaviusVKDark/cssVars/declarations/onlyMedia.css +282 -0
- package/themes/octaviusVKDark/cssVars/declarations/onlyVariables.css +850 -0
- package/themes/octaviusVKDark/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/octaviusVKDark/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.css +1099 -0
- package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.less +911 -0
- package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.pcss +904 -0
- package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.scss +1076 -0
- package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.styl +911 -0
- package/themes/octaviusVKDark/cssVars/theme/index.d.ts +4 -0
- package/themes/octaviusVKDark/cssVars/theme/index.js +4824 -0
- package/themes/octaviusVKDark/cssVars/theme/index.json +4821 -0
- package/themes/octaviusVKDark/index.css +1099 -0
- package/themes/octaviusVKDark/index.d.ts +4 -0
- package/themes/octaviusVKDark/index.js +1514 -0
- package/themes/octaviusVKDark/index.json +1511 -0
- package/themes/octaviusVKDark/index.less +911 -0
- package/themes/octaviusVKDark/index.pcss +904 -0
- package/themes/octaviusVKDark/index.scss +1076 -0
- package/themes/octaviusVKDark/index.styl +911 -0
- package/themes/octaviusWhite/cssVars/declarations/index.css +1434 -0
- package/themes/octaviusWhite/cssVars/declarations/noSizes.css +620 -0
- package/themes/octaviusWhite/cssVars/declarations/onlyAdaptiveGroups.css +110 -0
- package/themes/octaviusWhite/cssVars/declarations/onlyColors.css +587 -0
- package/themes/octaviusWhite/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/octaviusWhite/cssVars/declarations/onlyColors.js +11 -0
- package/themes/octaviusWhite/cssVars/declarations/onlyMedia.css +269 -0
- package/themes/octaviusWhite/cssVars/declarations/onlyVariables.css +837 -0
- package/themes/octaviusWhite/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/octaviusWhite/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/octaviusWhite/cssVars/theme/fallbacks/index.css +1054 -0
- package/themes/octaviusWhite/cssVars/theme/fallbacks/index.less +895 -0
- package/themes/octaviusWhite/cssVars/theme/fallbacks/index.pcss +888 -0
- package/themes/octaviusWhite/cssVars/theme/fallbacks/index.scss +1041 -0
- package/themes/octaviusWhite/cssVars/theme/fallbacks/index.styl +895 -0
- package/themes/octaviusWhite/cssVars/theme/index.d.ts +4 -0
- package/themes/octaviusWhite/cssVars/theme/index.js +4720 -0
- package/themes/octaviusWhite/cssVars/theme/index.json +4717 -0
- package/themes/octaviusWhite/index.css +1054 -0
- package/themes/octaviusWhite/index.d.ts +4 -0
- package/themes/octaviusWhite/index.js +1501 -0
- package/themes/octaviusWhite/index.json +1498 -0
- package/themes/octaviusWhite/index.less +895 -0
- package/themes/octaviusWhite/index.pcss +888 -0
- package/themes/octaviusWhite/index.scss +1041 -0
- package/themes/octaviusWhite/index.styl +895 -0
- package/themes/otvet/cssVars/declarations/index.css +939 -0
- package/themes/otvet/cssVars/declarations/noSizes.css +268 -0
- package/themes/otvet/cssVars/declarations/onlyAdaptiveGroups.css +115 -0
- package/themes/otvet/cssVars/declarations/onlyColors.css +248 -0
- package/themes/otvet/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/otvet/cssVars/declarations/onlyColors.js +11 -0
- package/themes/otvet/cssVars/declarations/onlyMedia.css +168 -0
- package/themes/otvet/cssVars/declarations/onlyVariables.css +458 -0
- package/themes/otvet/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/otvet/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/otvet/cssVars/theme/fallbacks/index.css +655 -0
- package/themes/otvet/cssVars/theme/fallbacks/index.less +492 -0
- package/themes/otvet/cssVars/theme/fallbacks/index.pcss +493 -0
- package/themes/otvet/cssVars/theme/fallbacks/index.scss +607 -0
- package/themes/otvet/cssVars/theme/fallbacks/index.styl +492 -0
- package/themes/otvet/cssVars/theme/index.d.ts +4 -0
- package/themes/otvet/cssVars/theme/index.js +2936 -0
- package/themes/otvet/cssVars/theme/index.json +2933 -0
- package/themes/otvet/index.css +655 -0
- package/themes/otvet/index.d.ts +4 -0
- package/themes/otvet/index.js +870 -0
- package/themes/otvet/index.json +867 -0
- package/themes/otvet/index.less +492 -0
- package/themes/otvet/index.pcss +493 -0
- package/themes/otvet/index.scss +607 -0
- package/themes/otvet/index.styl +492 -0
- package/themes/otvetDark/cssVars/declarations/index.css +939 -0
- package/themes/otvetDark/cssVars/declarations/noSizes.css +268 -0
- package/themes/otvetDark/cssVars/declarations/onlyAdaptiveGroups.css +115 -0
- package/themes/otvetDark/cssVars/declarations/onlyColors.css +248 -0
- package/themes/otvetDark/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/otvetDark/cssVars/declarations/onlyColors.js +11 -0
- package/themes/otvetDark/cssVars/declarations/onlyMedia.css +168 -0
- package/themes/otvetDark/cssVars/declarations/onlyVariables.css +458 -0
- package/themes/otvetDark/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/otvetDark/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/otvetDark/cssVars/theme/fallbacks/index.css +655 -0
- package/themes/otvetDark/cssVars/theme/fallbacks/index.less +492 -0
- package/themes/otvetDark/cssVars/theme/fallbacks/index.pcss +493 -0
- package/themes/otvetDark/cssVars/theme/fallbacks/index.scss +607 -0
- package/themes/otvetDark/cssVars/theme/fallbacks/index.styl +492 -0
- package/themes/otvetDark/cssVars/theme/index.d.ts +4 -0
- package/themes/otvetDark/cssVars/theme/index.js +2936 -0
- package/themes/otvetDark/cssVars/theme/index.json +2933 -0
- package/themes/otvetDark/index.css +655 -0
- package/themes/otvetDark/index.d.ts +4 -0
- package/themes/otvetDark/index.js +870 -0
- package/themes/otvetDark/index.json +867 -0
- package/themes/otvetDark/index.less +492 -0
- package/themes/otvetDark/index.pcss +493 -0
- package/themes/otvetDark/index.scss +607 -0
- package/themes/otvetDark/index.styl +492 -0
- package/themes/paradigmBase/cssVars/declarations/index.css +1065 -0
- package/themes/paradigmBase/cssVars/declarations/noSizes.css +268 -0
- package/themes/paradigmBase/cssVars/declarations/onlyAdaptiveGroups.css +110 -0
- package/themes/paradigmBase/cssVars/declarations/onlyColors.css +248 -0
- package/themes/paradigmBase/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/paradigmBase/cssVars/declarations/onlyColors.js +11 -0
- package/themes/paradigmBase/cssVars/declarations/onlyMedia.css +263 -0
- package/themes/paradigmBase/cssVars/declarations/onlyVariables.css +474 -0
- package/themes/paradigmBase/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/paradigmBase/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/paradigmBase/cssVars/theme/fallbacks/index.css +691 -0
- package/themes/paradigmBase/cssVars/theme/fallbacks/index.less +532 -0
- package/themes/paradigmBase/cssVars/theme/fallbacks/index.pcss +525 -0
- package/themes/paradigmBase/cssVars/theme/fallbacks/index.scss +678 -0
- package/themes/paradigmBase/cssVars/theme/fallbacks/index.styl +532 -0
- package/themes/paradigmBase/cssVars/theme/index.d.ts +4 -0
- package/themes/paradigmBase/cssVars/theme/index.js +3006 -0
- package/themes/paradigmBase/cssVars/theme/index.json +3003 -0
- package/themes/paradigmBase/index.css +691 -0
- package/themes/paradigmBase/index.d.ts +4 -0
- package/themes/paradigmBase/index.js +900 -0
- package/themes/paradigmBase/index.json +897 -0
- package/themes/paradigmBase/index.less +532 -0
- package/themes/paradigmBase/index.pcss +525 -0
- package/themes/paradigmBase/index.scss +678 -0
- package/themes/paradigmBase/index.styl +532 -0
- package/themes/paradigmBaseDark/cssVars/declarations/index.css +1065 -0
- package/themes/paradigmBaseDark/cssVars/declarations/noSizes.css +268 -0
- package/themes/paradigmBaseDark/cssVars/declarations/onlyAdaptiveGroups.css +110 -0
- package/themes/paradigmBaseDark/cssVars/declarations/onlyColors.css +248 -0
- package/themes/paradigmBaseDark/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/paradigmBaseDark/cssVars/declarations/onlyColors.js +11 -0
- package/themes/paradigmBaseDark/cssVars/declarations/onlyMedia.css +263 -0
- package/themes/paradigmBaseDark/cssVars/declarations/onlyVariables.css +474 -0
- package/themes/paradigmBaseDark/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/paradigmBaseDark/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.css +691 -0
- package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.less +532 -0
- package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.pcss +525 -0
- package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.scss +678 -0
- package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.styl +532 -0
- package/themes/paradigmBaseDark/cssVars/theme/index.d.ts +4 -0
- package/themes/paradigmBaseDark/cssVars/theme/index.js +3006 -0
- package/themes/paradigmBaseDark/cssVars/theme/index.json +3003 -0
- package/themes/paradigmBaseDark/index.css +691 -0
- package/themes/paradigmBaseDark/index.d.ts +4 -0
- package/themes/paradigmBaseDark/index.js +900 -0
- package/themes/paradigmBaseDark/index.json +897 -0
- package/themes/paradigmBaseDark/index.less +532 -0
- package/themes/paradigmBaseDark/index.pcss +525 -0
- package/themes/paradigmBaseDark/index.scss +678 -0
- package/themes/paradigmBaseDark/index.styl +532 -0
- package/themes/pharma/cssVars/declarations/index.css +1573 -0
- package/themes/pharma/cssVars/declarations/noSizes.css +368 -0
- package/themes/pharma/cssVars/declarations/onlyAdaptiveGroups.css +153 -0
- package/themes/pharma/cssVars/declarations/onlyColors.css +320 -0
- package/themes/pharma/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/pharma/cssVars/declarations/onlyColors.js +11 -0
- package/themes/pharma/cssVars/declarations/onlyMedia.css +467 -0
- package/themes/pharma/cssVars/declarations/onlyVariables.css +623 -0
- package/themes/pharma/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/pharma/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/pharma/cssVars/theme/fallbacks/index.css +952 -0
- package/themes/pharma/cssVars/theme/fallbacks/index.less +723 -0
- package/themes/pharma/cssVars/theme/fallbacks/index.pcss +704 -0
- package/themes/pharma/cssVars/theme/fallbacks/index.scss +960 -0
- package/themes/pharma/cssVars/theme/fallbacks/index.styl +723 -0
- package/themes/pharma/cssVars/theme/index.d.ts +4 -0
- package/themes/pharma/cssVars/theme/index.js +3894 -0
- package/themes/pharma/cssVars/theme/index.json +3891 -0
- package/themes/pharma/index.css +952 -0
- package/themes/pharma/index.d.ts +4 -0
- package/themes/pharma/index.js +1162 -0
- package/themes/pharma/index.json +1159 -0
- package/themes/pharma/index.less +723 -0
- package/themes/pharma/index.pcss +704 -0
- package/themes/pharma/index.scss +960 -0
- package/themes/pharma/index.styl +723 -0
- package/themes/promo/cssVars/declarations/index.css +1954 -0
- package/themes/promo/cssVars/declarations/noSizes.css +268 -0
- package/themes/promo/cssVars/declarations/onlyAdaptiveGroups.css +108 -0
- package/themes/promo/cssVars/declarations/onlyColors.css +248 -0
- package/themes/promo/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/promo/cssVars/declarations/onlyColors.js +11 -0
- package/themes/promo/cssVars/declarations/onlyMedia.css +871 -0
- package/themes/promo/cssVars/declarations/onlyVariables.css +631 -0
- package/themes/promo/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/promo/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/promo/cssVars/theme/fallbacks/index.css +974 -0
- package/themes/promo/cssVars/theme/fallbacks/index.less +747 -0
- package/themes/promo/cssVars/theme/fallbacks/index.pcss +716 -0
- package/themes/promo/cssVars/theme/fallbacks/index.scss +1227 -0
- package/themes/promo/cssVars/theme/fallbacks/index.styl +747 -0
- package/themes/promo/cssVars/theme/index.d.ts +4 -0
- package/themes/promo/cssVars/theme/index.js +3812 -0
- package/themes/promo/cssVars/theme/index.json +3809 -0
- package/themes/promo/index.css +974 -0
- package/themes/promo/index.d.ts +4 -0
- package/themes/promo/index.js +1143 -0
- package/themes/promo/index.json +1140 -0
- package/themes/promo/index.less +747 -0
- package/themes/promo/index.pcss +716 -0
- package/themes/promo/index.scss +1227 -0
- package/themes/promo/index.styl +747 -0
- package/themes/todo/cssVars/declarations/index.css +1065 -0
- package/themes/todo/cssVars/declarations/noSizes.css +268 -0
- package/themes/todo/cssVars/declarations/onlyAdaptiveGroups.css +110 -0
- package/themes/todo/cssVars/declarations/onlyColors.css +248 -0
- package/themes/todo/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/todo/cssVars/declarations/onlyColors.js +11 -0
- package/themes/todo/cssVars/declarations/onlyMedia.css +263 -0
- package/themes/todo/cssVars/declarations/onlyVariables.css +474 -0
- package/themes/todo/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/todo/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/todo/cssVars/theme/fallbacks/index.css +691 -0
- package/themes/todo/cssVars/theme/fallbacks/index.less +532 -0
- package/themes/todo/cssVars/theme/fallbacks/index.pcss +525 -0
- package/themes/todo/cssVars/theme/fallbacks/index.scss +678 -0
- package/themes/todo/cssVars/theme/fallbacks/index.styl +532 -0
- package/themes/todo/cssVars/theme/index.d.ts +4 -0
- package/themes/todo/cssVars/theme/index.js +3006 -0
- package/themes/todo/cssVars/theme/index.json +3003 -0
- package/themes/todo/index.css +691 -0
- package/themes/todo/index.d.ts +4 -0
- package/themes/todo/index.js +900 -0
- package/themes/todo/index.json +897 -0
- package/themes/todo/index.less +532 -0
- package/themes/todo/index.pcss +525 -0
- package/themes/todo/index.scss +678 -0
- package/themes/todo/index.styl +532 -0
- package/themes/vkBase/cssVars/declarations/index.css +665 -0
- package/themes/vkBase/cssVars/declarations/noSizes.css +248 -0
- package/themes/vkBase/cssVars/declarations/onlyAdaptiveGroups.css +102 -0
- package/themes/vkBase/cssVars/declarations/onlyColors.css +236 -0
- package/themes/vkBase/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/vkBase/cssVars/declarations/onlyColors.js +11 -0
- package/themes/vkBase/cssVars/declarations/onlyVariables.css +373 -0
- package/themes/vkBase/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/vkBase/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/vkBase/cssVars/theme/fallbacks/index.css +562 -0
- package/themes/vkBase/cssVars/theme/fallbacks/index.less +405 -0
- package/themes/vkBase/cssVars/theme/fallbacks/index.pcss +406 -0
- package/themes/vkBase/cssVars/theme/fallbacks/index.scss +521 -0
- package/themes/vkBase/cssVars/theme/fallbacks/index.styl +405 -0
- package/themes/vkBase/cssVars/theme/index.d.ts +4 -0
- package/themes/vkBase/cssVars/theme/index.js +2226 -0
- package/themes/vkBase/cssVars/theme/index.json +2223 -0
- package/themes/vkBase/index.css +562 -0
- package/themes/vkBase/index.d.ts +4 -0
- package/themes/vkBase/index.js +657 -0
- package/themes/vkBase/index.json +654 -0
- package/themes/vkBase/index.less +405 -0
- package/themes/vkBase/index.pcss +406 -0
- package/themes/vkBase/index.scss +521 -0
- package/themes/vkBase/index.styl +405 -0
- package/themes/vkBaseDark/cssVars/declarations/index.css +665 -0
- package/themes/vkBaseDark/cssVars/declarations/noSizes.css +248 -0
- package/themes/vkBaseDark/cssVars/declarations/onlyAdaptiveGroups.css +102 -0
- package/themes/vkBaseDark/cssVars/declarations/onlyColors.css +236 -0
- package/themes/vkBaseDark/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/vkBaseDark/cssVars/declarations/onlyColors.js +11 -0
- package/themes/vkBaseDark/cssVars/declarations/onlyVariables.css +373 -0
- package/themes/vkBaseDark/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/vkBaseDark/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/vkBaseDark/cssVars/theme/fallbacks/index.css +562 -0
- package/themes/vkBaseDark/cssVars/theme/fallbacks/index.less +405 -0
- package/themes/vkBaseDark/cssVars/theme/fallbacks/index.pcss +406 -0
- package/themes/vkBaseDark/cssVars/theme/fallbacks/index.scss +521 -0
- package/themes/vkBaseDark/cssVars/theme/fallbacks/index.styl +405 -0
- package/themes/vkBaseDark/cssVars/theme/index.d.ts +4 -0
- package/themes/vkBaseDark/cssVars/theme/index.js +2226 -0
- package/themes/vkBaseDark/cssVars/theme/index.json +2223 -0
- package/themes/vkBaseDark/index.css +562 -0
- package/themes/vkBaseDark/index.d.ts +4 -0
- package/themes/vkBaseDark/index.js +657 -0
- package/themes/vkBaseDark/index.json +654 -0
- package/themes/vkBaseDark/index.less +405 -0
- package/themes/vkBaseDark/index.pcss +406 -0
- package/themes/vkBaseDark/index.scss +521 -0
- package/themes/vkBaseDark/index.styl +405 -0
- package/themes/vkCom/cssVars/declarations/index.css +665 -0
- package/themes/vkCom/cssVars/declarations/noSizes.css +248 -0
- package/themes/vkCom/cssVars/declarations/onlyAdaptiveGroups.css +102 -0
- package/themes/vkCom/cssVars/declarations/onlyColors.css +236 -0
- package/themes/vkCom/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/vkCom/cssVars/declarations/onlyColors.js +11 -0
- package/themes/vkCom/cssVars/declarations/onlyVariables.css +373 -0
- package/themes/vkCom/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/vkCom/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/vkCom/cssVars/theme/fallbacks/index.css +562 -0
- package/themes/vkCom/cssVars/theme/fallbacks/index.less +405 -0
- package/themes/vkCom/cssVars/theme/fallbacks/index.pcss +406 -0
- package/themes/vkCom/cssVars/theme/fallbacks/index.scss +521 -0
- package/themes/vkCom/cssVars/theme/fallbacks/index.styl +405 -0
- package/themes/vkCom/cssVars/theme/index.d.ts +4 -0
- package/themes/vkCom/cssVars/theme/index.js +2226 -0
- package/themes/vkCom/cssVars/theme/index.json +2223 -0
- package/themes/vkCom/index.css +562 -0
- package/themes/vkCom/index.d.ts +4 -0
- package/themes/vkCom/index.js +657 -0
- package/themes/vkCom/index.json +654 -0
- package/themes/vkCom/index.less +405 -0
- package/themes/vkCom/index.pcss +406 -0
- package/themes/vkCom/index.scss +521 -0
- package/themes/vkCom/index.styl +405 -0
- package/themes/vkIOS/cssVars/declarations/index.css +665 -0
- package/themes/vkIOS/cssVars/declarations/noSizes.css +248 -0
- package/themes/vkIOS/cssVars/declarations/onlyAdaptiveGroups.css +102 -0
- package/themes/vkIOS/cssVars/declarations/onlyColors.css +236 -0
- package/themes/vkIOS/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/vkIOS/cssVars/declarations/onlyColors.js +11 -0
- package/themes/vkIOS/cssVars/declarations/onlyVariables.css +373 -0
- package/themes/vkIOS/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/vkIOS/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/vkIOS/cssVars/theme/fallbacks/index.css +562 -0
- package/themes/vkIOS/cssVars/theme/fallbacks/index.less +405 -0
- package/themes/vkIOS/cssVars/theme/fallbacks/index.pcss +406 -0
- package/themes/vkIOS/cssVars/theme/fallbacks/index.scss +521 -0
- package/themes/vkIOS/cssVars/theme/fallbacks/index.styl +405 -0
- package/themes/vkIOS/cssVars/theme/index.d.ts +4 -0
- package/themes/vkIOS/cssVars/theme/index.js +2226 -0
- package/themes/vkIOS/cssVars/theme/index.json +2223 -0
- package/themes/vkIOS/index.css +562 -0
- package/themes/vkIOS/index.d.ts +4 -0
- package/themes/vkIOS/index.js +657 -0
- package/themes/vkIOS/index.json +654 -0
- package/themes/vkIOS/index.less +405 -0
- package/themes/vkIOS/index.pcss +406 -0
- package/themes/vkIOS/index.scss +521 -0
- package/themes/vkIOS/index.styl +405 -0
- package/utils/common/colors/projectColors.d.ts +20 -0
- package/utils/common/colors/projectColors.js +21 -0
- package/utils/common/colors/socialColors.d.ts +11 -0
- package/utils/common/colors/socialColors.js +12 -0
- package/utils/common/fontSizes/index.d.ts +17 -0
- package/utils/common/fontSizes/index.js +71 -0
- package/utils/common/helpers/index.d.ts +2 -0
- package/utils/common/helpers/index.js +37 -0
- package/utils/common/index.d.ts +5 -0
- package/utils/common/index.js +11 -0
- package/utils/common/themeHelpers.d.ts +0 -0
- package/utils/common/themeHelpers.js +0 -0
- package/utils/descriptions.d.ts +11 -0
- package/utils/descriptions.js +11 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
# **CHANGELOG**
|
|
2
|
+
|
|
3
|
+
## 4.0.0
|
|
4
|
+
**BREAKING CHANGES**
|
|
5
|
+
* Провели рефакторинг дизайн-системы в рамках объединения **VKUI** и **Paradigm**: удалили ненужные, добавили новые, поменяли названия старых.
|
|
6
|
+
Изменения можно найти в [таблице](https://docs.google.com/spreadsheets/d/10DBlAGM68KyZ1DHtr-xKy-JDDqrsWaItF67fo7-hOy4/edit#gid=314413476)
|
|
7
|
+
|
|
8
|
+
* Изменили формат описания адаптивных токенов: теперь идём не от `viewport` (`touch`,`desktop`), а
|
|
9
|
+
от состояний самого токена: `regular`, `compact`, `large` и т.д. Указывать состояния, отличные от `regular` нужно указывать тогда, и только тогда, когда они действительно отличаются.
|
|
10
|
+
|
|
11
|
+
Для проектов использующих уже медиаквери и вьюпорты (paradigm-проекты) при генерации сделан маппинг с помощью переменной `breakpoints`.
|
|
12
|
+
|
|
13
|
+
* Переписали старую генерацию `scss`, `css`, `less`, `styl` форматов с нуля. Теперь покрыли это **автотестами**: можно зайти в тесты и посмотреть как в каждом формате обробатывается каждый вид переменной
|
|
14
|
+
_цвет, групповая переменная (шрифты), адаптивная, медиа_ и так далее.
|
|
15
|
+
Теперь поддержка будет прозрачнее и добавление новых конструкций в процессоры не будет проблемой.
|
|
16
|
+
|
|
17
|
+
Важно: во время переписи и из-за того, что формат адаптивных переменных сильно поменялся, то подход с ними в процессорах css тоже.
|
|
18
|
+
Теперь везде, кроме нативного css, переменные не переопределяются автоматически через @media-query. Чтобы эту мехнику получить — нужно css файлы из `themes/${themName}/cssVars/declarations`.
|
|
19
|
+
* Сделали единый базовый интерфейс дизайн-системы и описали в нём тему для `paradigm` (светлый и тёмный) и `vk` (пока только светлый).
|
|
20
|
+
* Сделали расширение базового интерфейса для Paradigm тем и портальной специфики.
|
|
21
|
+
* Порефакторили подход к генерации форматов:
|
|
22
|
+
* Экспортируем в пакете в папку `build` все функции с помощью которых можно собрать любой вид темы. Теперь можно по описанию темы собрать её
|
|
23
|
+
где-то в своём проекте, а не пользоваться только готовыми отсюда
|
|
24
|
+
* Сделали так, чтобы любой формат темы можно было собрать хоть из одной переменной. Теперь можно легко иметь в проекте локальные переменные не связанные с дизайн-системой, но в привычном формате.
|
|
25
|
+
* Изменили файловую структуру при экспорте библиотеки — теперь вместо того чтобы все собранные темы попадали в `root`
|
|
26
|
+
, они попадают в `root/themes`. Это важно, поскольку теперь в экспорте ещё есть разные полезные функции помимо тем.
|
|
27
|
+
|
|
28
|
+
* Поработали над тёмной темой сделали основную базовую тёмную тему и отдельно темные цвета
|
|
29
|
+
* Удалили `flat` темы
|
|
30
|
+
* Удалили `subthemes` везде
|
|
31
|
+
* название пакета `@vkontakte/vkui-tokens`
|
|
32
|
+
|
|
33
|
+
## 3.2.0
|
|
34
|
+
* Добавили темы `octaviusDark` и `homeDark`
|
|
35
|
+
* Сделали правки в типографике в `calendar`
|
|
36
|
+
* Добавили экспорт объявления цветов css-vars в js и в виде строки.
|
|
37
|
+
|
|
38
|
+
## 3.1.0
|
|
39
|
+
* Обновили тему `otvet`, добавили тёмный вариант `otvetDark`
|
|
40
|
+
* Аккуратно поправили вывод в генерации стилей (убрали ненужные строчки)
|
|
41
|
+
|
|
42
|
+
## 3.0.0
|
|
43
|
+
* Добавили новый вид темы `cssVars` она объявляет переменные как нативные css-custom-properties в `cssVars/${themeName}/declarations/index.css`. Там сразу сделаны изменения переменных по breakpoints, а также добавлены специальные классы для форсированного включения нужного брейкпоинта. Демо можно найти [тут](demo/example-adaptive-css-vars-theme.html);
|
|
44
|
+
* Также сделали компиляцию объекта темы (в `cssVars/${themeName}/theme/index`) (`ts`, `js`, `json` форматы) в где каждая переменная представлена как `{name: '--paradigm--x1', value: 'var(--paradigm--x1, 4px)'}`
|
|
45
|
+
* Добавили тестирование снапшотами на каждую тему (теперь любое изменение в теме вызовет падение тестов с полным дифом каждой переменной, нужно будет апрувить изменения, обновляя снапшоты (`npm t -- -u`))
|
|
46
|
+
* Добавили расчёт тестового покрытия (`coverage`) в репозитории
|
|
47
|
+
* Для удобной миграции на `cssVars` тему в `${themeName}/cssVars/theme/fallbacks` добавлены темы, процессоров, которые ссылаются на уже нативные CSS-переменные. То есть `$size-base: 4px` -> `$size-base: var(--paradigm--size_base, 4px)`
|
|
48
|
+
* js,json,ts добавили поле `themeType: 'root' | 'flat' | 'pixelify' | 'cssVars'`, чтобы в runtime понимать, с каким видом темы сейчас работаем
|
|
49
|
+
* В `${themeName}/cssVars/declarations` помимо `index.css` есть также файлы `onlyRoot.css` (только рутовое определение переменных без, адаптивности), а также `modern.css` (используются нативные mixin ы в css (читай про @apply))
|
|
50
|
+
* **BREAKING CHANGES**: удалили генерацию `css` файлов во всех (они были невалидные, поэтому врятли кто-то ими польовался), кроме `cssVars` видах тем. Теперь чистый нативный css можно заимпортить тут: `cssVars/${themeName}/declarations/index.css`.
|
|
51
|
+
* **BREAKING CHANGES**: в темах, в адаптивных переменных больше нет `default` состояния, вместо этого теперь там указан конкретный `viewport` (например, `touch` или `desktopS`). Это было сделано, так как default был по-сути алисом на `touch` viewport, что вызывало неконсистентые состояния, при использовании темы без `touch` брейкпоинта. Это нам дало следующие возможности: теперь можно создавать темы с любым подножеством брейкпоинтов, например: `['desktopS, 'desktopM']` - будет тема из двух десктопных брейкпоинтов. На самом деле это должно затронуть только описание тем, а также типы и `ts`, `js`, `json` форматы. Выходные файлы других форматов не изменились. `flat` темы всех форматов остались прежними.
|
|
52
|
+
* **BREAKING CHANGES**: подняли мажор `csstype` (единственная `prod` зависимость для `npm` у токенов). Теперь `3.0.7`. (Может вызывать нюансы в типах при обновлении).
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
## 2.6.1
|
|
56
|
+
* Для календарной темы обновили `thumbnailColor`
|
|
57
|
+
|
|
58
|
+
## 2.6.0
|
|
59
|
+
* В основные темы перенесены переменные из subthemes - `colorBgPlaceholder` (цвет подложки) и `colorIconAccent` (цвет акцентированной иконки)
|
|
60
|
+
* Добавлен токен `colorBgPromo` для задания цвета фона промо элементов и панелей (плашек)
|
|
61
|
+
|
|
62
|
+
## 2.5.0
|
|
63
|
+
* добавили переменную `sizeControlCheckBorderRadius` — _Радиус скругления чекбоксов_
|
|
64
|
+
* исправили наследование `calendar` темы от octavius (больше не попадают переменные из подтем)
|
|
65
|
+
* удалили подтемы из календарной темы, вместо этого создали новую тему `calendarDark` с корректным интерфейсом
|
|
66
|
+
|
|
67
|
+
## 2.4.0
|
|
68
|
+
* добавили тему для Облака `cloud`
|
|
69
|
+
* добавили переменные (и их описания) во все темы `fontFamilyAccent`, `fontWeightAccent`, `fontWeightAccentBold`
|
|
70
|
+
* сделали чуть более корректное наследование тем от `octavius` (чтобы не попадали в тему переменные subthemes, которые deprecated)
|
|
71
|
+
* Исправили генерацию customMedia (убрали перекрытие breakpoints)
|
|
72
|
+
|
|
73
|
+
## 2.3.1
|
|
74
|
+
* Изменили скругление кнопок до 8px для календарных тем
|
|
75
|
+
|
|
76
|
+
## 2.3.0
|
|
77
|
+
* Добавляeтся токен "checkBoxBorderColor" для задания цвета у чекбоксов
|
|
78
|
+
|
|
79
|
+
## 2.2.1
|
|
80
|
+
* Добавляются токен "sizePromoArrowWidth" для корректного отображения стрелки в 2kit
|
|
81
|
+
|
|
82
|
+
## 2.2.0
|
|
83
|
+
* Добавляются токен на размер стрелки тултипа и токен для цвета новостного метатреда
|
|
84
|
+
|
|
85
|
+
## 2.1.0
|
|
86
|
+
* Добавляется генерация мапки со всеми переменными после миксина для SASS-файлов.
|
|
87
|
+
|
|
88
|
+
## 2.0.0
|
|
89
|
+
* имя пакета теперь снова `@paradigm/tokens` . `@paradigm/themes` больше никогда публиковаться не будет.
|
|
90
|
+
* Добавлен общий интерфейс темы, от которой отнаследованы все остальные темы.
|
|
91
|
+
* Добавлен общий интерфейс ОПИСАНИЯ темы. (Теперь создавая тему у вас будет тип, с которым невозможно будет забыть указать что-либо). Непонятно почему недостаточно предыдущего пункта? — скорее всего вы никогда не работали в токенах.
|
|
92
|
+
* Процесс преобразования описания темы в полноценную тему полностью выводится из типов. И покрыт автотестами.
|
|
93
|
+
* Добавили и настроили линтер
|
|
94
|
+
* Настроили CI (проверяем линтер, jest и сборку)
|
|
95
|
+
* Добавили функцию хелпер `getStateFunctions`, которая добавит к теме функции, позволяющие динамически создавать `hover`, `active` состояния.
|
|
96
|
+
|
|
97
|
+
## 1.18.0
|
|
98
|
+
* Обновили цвет вк по их брендбуку
|
|
99
|
+
|
|
100
|
+
## 1.17.0
|
|
101
|
+
* Добавили тему Задач Mail.ru
|
|
102
|
+
* Добавили темную тему для календаря
|
|
103
|
+
|
|
104
|
+
## 1.16.1
|
|
105
|
+
* Поправили размеры шрифта в теме `calendar`
|
|
106
|
+
|
|
107
|
+
## 1.16.0
|
|
108
|
+
* Добавили переменные `sizeBadge[XS|S|M|L|XL]`
|
|
109
|
+
|
|
110
|
+
## 1.15.0
|
|
111
|
+
* добавили переменную paddingControlSelectIcon
|
|
112
|
+
|
|
113
|
+
## 1.14.0
|
|
114
|
+
* добавили переменную colorButtonContrastBg
|
|
115
|
+
* добавили переменную colorCategoryToMyself в тему октавиуса
|
|
116
|
+
|
|
117
|
+
## 1.13.0
|
|
118
|
+
* Обновили цвета с оттенками серого во всех темах
|
|
119
|
+
* Обновили тему `home` (Относледовали от `octavius` и добавили токенов)
|
|
120
|
+
|
|
121
|
+
## 1.12.0
|
|
122
|
+
* Добавили в тему календаря шрифт `MailSans`
|
|
123
|
+
|
|
124
|
+
## 1.11.0
|
|
125
|
+
* Обновили значение переменной `colorBgHighlight` `#FFF1AD`
|
|
126
|
+
* Настроили корректные тайпинги для этой переменной
|
|
127
|
+
|
|
128
|
+
## 1.10.0
|
|
129
|
+
* Добавили переменные для ширины и высоты больших кнопок ([описание](https://gitlab.corp.mail.ru/UX/paradigm.tokens/-/blob/master/themes/descriptions.ts#L858-868))
|
|
130
|
+
* Добавили тему `calls`
|
|
131
|
+
|
|
132
|
+
## 1.9.0
|
|
133
|
+
* Минорное обновление цветов ошибки и саксеса. Утверждено с дизайнерами
|
|
134
|
+
|
|
135
|
+
## 1.8.0
|
|
136
|
+
* Добавили переменную `paddingPopupBase` ([описание](https://gitlab.corp.mail.ru/UX/paradigm.tokens/blob/master/themes/descriptions.ts#L1062))
|
|
137
|
+
* Добавили переменную `paddingPopupHeader` ([описание](https://gitlab.corp.mail.ru/UX/paradigm.tokens/blob/master/themes/descriptions.ts#L1068))
|
|
138
|
+
* Исправили SCSS сборку темы. Заменили классы на `mixin`, корректно обрабатывает desktop/mobile статические переменные.
|
|
139
|
+
|
package/README.md
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
<img src="assets/vkui_logo.png" alt="vkui logo" height="52"/>
|
|
2
|
+
<img src="assets/logo.svg" alt="vkui logo" height="52"/>
|
|
3
|
+
|
|
4
|
+
# Использование
|
|
5
|
+
|
|
6
|
+
1. Устанавливаем npm-пакет `@vkontakte/vkui-tokens`:
|
|
7
|
+
```bash
|
|
8
|
+
npm i --save @vkontakte/vkui-tokens@latest
|
|
9
|
+
```
|
|
10
|
+
## Используем css variables темы напрямую из пакета
|
|
11
|
+
2. В любом css (или процессоре) импортируем css файл с объявлением переменных:
|
|
12
|
+
```css
|
|
13
|
+
@import "@vkontakte/vkui-tokens/themes/vkBase/cssVars/declarations/index.css";
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
3. далее используем эти переменные
|
|
17
|
+
* напрямую в css (процессорах)
|
|
18
|
+
```postcss
|
|
19
|
+
.myAwesomeClass:hover {
|
|
20
|
+
background-color: var(--vkui--color_background--hover);
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
* или через объект в js(ts)
|
|
24
|
+
```typescript
|
|
25
|
+
import baseTheme from '@vkontakte/vkui-tokens/themes/vkBase/cssVars/theme';
|
|
26
|
+
|
|
27
|
+
console.log(baseTheme.colorBackground.hover.name) // --vkui--color_background--hover;
|
|
28
|
+
console.log(baseTheme.colorBackground.hover.value) // var(--vkui--color_background--hover, #F5F5F7)
|
|
29
|
+
|
|
30
|
+
// динамически (с учётом возможных переопределений)
|
|
31
|
+
// узнаём чему равно значение переменной у myElement:
|
|
32
|
+
getComputedStyle(myElement).getPropertyValue(baseTheme.colorBackground.hover.name)
|
|
33
|
+
```
|
|
34
|
+
* для того, чтобы принудительно включать тот или иной вид темы у конкретного поддерева элементов, пользуемся классами `.vkui--force-${auto | regular | compact | large | largeX ...}`. Смотри [демо](demo/example-adaptive-css-vars-theme.html) работы адаптивных переменных и спец. классов. (Также можно просто использовать переменную конкретного брейкпоинта (ex. --vkui--size_field_height--**_compact_**), они все также попадают в `:root`)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## Используем root темы напрямую из пакета
|
|
38
|
+
### js/ts/json
|
|
39
|
+
2. Импортируем необходимую тему в файле и используем:
|
|
40
|
+
```ts
|
|
41
|
+
import baseTheme from '@vkontakte/vkui-tokens/themes/vkBase';
|
|
42
|
+
|
|
43
|
+
// do whatever you want with baseTheme
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### Используем в scss/styl/less root темы из пакета
|
|
47
|
+
2. Импортируем файл с необходимой темой и используем переменные от туда (снизу синтаксис SCSS)
|
|
48
|
+
```scss
|
|
49
|
+
@import "~@vkontakte/vkui-tokens/themes/vkBase/index";
|
|
50
|
+
|
|
51
|
+
.myAwesomeClass {
|
|
52
|
+
background-color: $color-bg;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.myAwesomeClass:hover {
|
|
56
|
+
background-color: $color-bg--hover;
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
### Используем pcss формат темы из пакета
|
|
62
|
+
|
|
63
|
+
2. Заходим в файл, где хотим использовать тему, и импортируем её:
|
|
64
|
+
|
|
65
|
+
@import "@vkontakte/vkui-tokens/themes/vkBase";
|
|
66
|
+
|
|
67
|
+
3. Заходим в файл темы, смотрим какие там есть переменные и юзаем их, например:
|
|
68
|
+
|
|
69
|
+
width: var(--size-content-block-width);
|
|
70
|
+
|
|
71
|
+
4. Просто так ничего не заработает, нужно поставить postcss:
|
|
72
|
+
|
|
73
|
+
npm i --save-dev postcss
|
|
74
|
+
|
|
75
|
+
Для запуска у postcss есть командная строка, которую тоже надо установить:
|
|
76
|
+
|
|
77
|
+
npm i --save-dev postcss-cli
|
|
78
|
+
|
|
79
|
+
5. Создаем конфиг postcss. Для этого создаем файл postcss.config.js (можно в любом месте проекта, но лучше в корне) и пишем в него необходимые плагины:
|
|
80
|
+
|
|
81
|
+
```javascript
|
|
82
|
+
const postcssPresetEnv = require('postcss-preset-env');
|
|
83
|
+
|
|
84
|
+
module.exports = {
|
|
85
|
+
plugins: [
|
|
86
|
+
require('postcss-import'),
|
|
87
|
+
require('precss'),
|
|
88
|
+
require('postcss-css-variables'),
|
|
89
|
+
require('postcss-custom-media'),
|
|
90
|
+
require('postcss-media-minmax'),
|
|
91
|
+
require('postcss-extend-rule'),
|
|
92
|
+
postcssPresetEnv({
|
|
93
|
+
stage: 0,
|
|
94
|
+
}),
|
|
95
|
+
require('postcss-color-mix'),
|
|
96
|
+
require('cssnano')
|
|
97
|
+
],
|
|
98
|
+
};
|
|
99
|
+
```
|
|
100
|
+
Возможно, вам не понадобятся все эти плагины, поэтому лучше почитать, что делает каждый из них (https://www.postcss.parts/).
|
|
101
|
+
Нужно посмотреть файл вашей темы и ваш css (scss и др.), чтобы понять, что вам необходимо.
|
|
102
|
+
|
|
103
|
+
6. Устанавливаем все необходимые плагины, которые написали в конфиге, например:
|
|
104
|
+
|
|
105
|
+
npm i --save-dev postcss-import
|
|
106
|
+
|
|
107
|
+
7. Настраиваем сборку postcss.
|
|
108
|
+
|
|
109
|
+
Сборка производится командой postcss через командную строку с необходимым параметрами.
|
|
110
|
+
Про них подробнее тут https://github.com/postcss/postcss-cli
|
|
111
|
+
|
|
112
|
+
Пример команды:
|
|
113
|
+
|
|
114
|
+
postcss src/main.css -c ./ --dir public
|
|
115
|
+
|
|
116
|
+
Такая команда прогонит файл src/main.css с помощью конфига из текущей папки и положит результат в папку public.
|
|
117
|
+
|
|
118
|
+
## Локальная сборка своих тем инструментами библиотеки
|
|
119
|
+
|
|
120
|
+
### Наследуемся от базовой темы
|
|
121
|
+
2. Из библиотеки можно импортировать интерфейсы и темы от которых насследоваться всячески доопределять.
|
|
122
|
+
Также из библиотеки можно заимпортить функции позволяющие собрать тему (сгенировать состояния цветов, пикселизировать значения и т.д.) в нужном формате: css, js, scss и т.д. Пример:
|
|
123
|
+
```typescript
|
|
124
|
+
import type {ThemeDescription} from '@vkontakte/vkui-tokens/interfaces/general';
|
|
125
|
+
import type {Adaptive} from '@vkontakte/vkui-tokens/interfaces/general/tools';
|
|
126
|
+
import {lightTheme as baseTheme} from '@vkontakte/vkui-tokens/themeDescriptions/base/vk';
|
|
127
|
+
import {expandAll} from '@vkontakte/vkui-tokens/build/expandTheme';
|
|
128
|
+
import {compileStyles} from '@vkontakte/vkui-tokens/build/compilers/styles/compileStyles';
|
|
129
|
+
|
|
130
|
+
interface MyNewAwesomeThemeDescription extends ThemeDescription {
|
|
131
|
+
myNewAwesomeToken: Adaptive<number>;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
const myNewAwesomeTheme: MyNewAwesomeThemeDescription = {
|
|
135
|
+
...baseTheme,
|
|
136
|
+
myNewAwesomeToken: {
|
|
137
|
+
regular: 20,
|
|
138
|
+
compact: 12,
|
|
139
|
+
},
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
// получаем разные типы тем на основе описания
|
|
143
|
+
const {theme, pixelifyTheme, cssVarsTheme} = expandAll(myNewAwesomeTheme);
|
|
144
|
+
|
|
145
|
+
// получаем CSS-строку со всеми переменными темы,
|
|
146
|
+
// которую можно вставить в DOM или сохранить в файл
|
|
147
|
+
const cssString = compileStyles('css', pixelifyTheme);
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### Собираем локально свою тему (набор своих локальных переменных проекта)
|
|
151
|
+
2. На самом деле никакой необходимости наследоваться (см. предыдущий пункт) нет, соберём свою тему из произвольного количества уникальных переменных. Пример:
|
|
152
|
+
```typescript
|
|
153
|
+
import type {Adaptive} from '@vkontakte/vkui-tokens/interfaces/general/tools';
|
|
154
|
+
import {expandAll} from '@vkontakte/vkui-tokens/build/expandTheme';
|
|
155
|
+
import {compileStyles} from '@vkontakte/vkui-tokens/build/compilers/styles/compileStyles';
|
|
156
|
+
|
|
157
|
+
interface MyNewAwesomeThemeDescription {
|
|
158
|
+
myNewAwesomeToken: Adaptive<number>;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
const myNewAwesomeTheme: MyNewAwesomeThemeDescription = {
|
|
162
|
+
myNewAwesomeToken: {
|
|
163
|
+
regular: 20,
|
|
164
|
+
compact: 12,
|
|
165
|
+
},
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
// получаем разные типы тем на основе описания
|
|
169
|
+
const {theme, pixelifyTheme, cssVarsTheme} = expandAll(myNewAwesomeTheme);
|
|
170
|
+
|
|
171
|
+
// получаем CSS-строку со всеми переменными темы,
|
|
172
|
+
// которую можно вставить в DOM или сохранить в файл
|
|
173
|
+
// буквально тут содержится:
|
|
174
|
+
/*
|
|
175
|
+
:root {
|
|
176
|
+
--vkui--my_new_awesome_token--regular: 20px;
|
|
177
|
+
--vkui--my_new_awesome_token--compact: 12px;
|
|
178
|
+
}
|
|
179
|
+
*/
|
|
180
|
+
const cssString = compileStyles('css', pixelifyTheme);
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
# ROAD MAP библиотеки
|
|
184
|
+
* [ ] Добавляем более умную генерацию active, hover состояний цвета. Будем учитывать тёмный и светлый вариант тем. Будем учитывать сам цвет, для которого генерим затемнение. (решаем проблему, что наведение на кнопки в синей шапке абсолютно не видны).
|
|
185
|
+
|
|
186
|
+
# Полезные ссылки
|
|
187
|
+
1. [Доклад](https://youtu.be/0rHgqQvl0NQ?t=1858) про дизайн-системы на фронтенде: там рассказывается зачем нужны дизайн-токены, причём тут UI-kit и как делать темизацию.
|
|
188
|
+
2. Серия видеороликов на youtube, где показано использование этой библиотеки (но со старым названием, не пугайтесь), как ядра дизайн-системы, на практике: [первый](https://www.youtube.com/watch?v=RKCsrPOxYWE), [второй](https://www.youtube.com/watch?v=ZhiH4jFL-kU), [третий](https://www.youtube.com/watch?v=ZXOmmkyxrwk)
|
|
189
|
+
3. Opensource библиотека компонентов (UI-kit) [VKUI](https://github.com/VKCOM/VKUI), которая использует токены.
|
|
190
|
+
4. [Сайт](https://paradigm.mail.ru/) дизайн системы Paradigm из которой выросла эта библиотека. Там можно найти дизайнерские принципы и идеи, которые стали основой кода находящемся в этом репозитории.
|
package/assets/logo.svg
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="52" viewBox="0 0 192 52">
|
|
2
|
+
<g fill="none" fill-rule="evenodd">
|
|
3
|
+
<path fill="#000000" d="M40.8888889 43.8595333L40.8888889 21.9924444 44.1921111 21.9924444 44.1921111 23.6222222C45.4857778 22.3158889 47.461 21.5772222 49.4224444 21.5772222 54.1133333 21.5772222 57.9216667 25.3856667 57.9216667 30.0764444 57.9216667 34.7673333 54.1133333 38.5757556 49.4224444 38.5757556 47.461 38.5757556 45.3756667 37.7329111 44.1921111 36.3924111L44.1921111 43.8536 40.8888889 43.8595333zM49.3147778 24.9743333C46.4224444 24.9743333 44.1468889 27.0436667 44.1468889 30.0764444 44.1468889 33.1093333 46.4224444 35.1965333 49.3147778 35.1965333 52.2071111 35.1965333 54.4052222 32.9688889 54.4052222 30.0764444 54.4052222 27.1841111 52.2071111 24.9743333 49.3147778 24.9743333zM77.496 38.1605667L74.1927778 38.1605667 74.1927778 36.3924556C73.0093333 37.7329 70.924 38.5757889 68.9624444 38.5757889 64.2715556 38.5757889 60.4632222 34.7673333 60.4632222 30.0764444 60.4632222 25.3856667 64.2715556 21.5772222 68.9624444 21.5772222 70.924 21.5772222 72.8992222 22.3158889 74.1927778 23.6222222L74.1927778 21.9924444 77.496 21.9924444 77.496 38.1605667zM69.0701111 24.9743333C66.1778889 24.9743333 63.9796667 27.1841111 63.9796667 30.0764444 63.9796667 32.9688889 66.1778889 35.1965667 69.0701111 35.1965667 71.9625556 35.1965667 74.238 33.1093333 74.238 30.0764444 74.238 27.0436667 71.9625556 24.9743333 69.0701111 24.9743333zM108.921667 38.1605667L105.618444 38.1605667 105.618444 36.3924556C104.435 37.7329 102.349667 38.5757889 100.388111 38.5757889 95.6972222 38.5757889 91.8888889 34.7673333 91.8888889 30.0764444 91.8888889 25.3856667 95.6972222 21.5772222 100.388111 21.5772222 102.349667 21.5772222 104.324889 22.3158889 105.618444 23.6222222L105.618444 21.9924444 108.921667 21.9924444 108.921667 38.1605667zM100.495778 24.9743333C97.6035556 24.9743333 95.4053333 27.1841111 95.4053333 30.0764444 95.4053333 32.9688889 97.6035556 35.1965667 100.495778 35.1965667 103.388222 35.1965667 105.663667 33.1093333 105.663667 30.0764444 105.663667 27.0436667 103.388222 24.9743333 100.495778 24.9743333zM128.927778 15.3446667L128.927778 38.1606333 125.624444 38.1606333 125.624444 36.5307667C124.331111 37.8371778 122.355556 38.5757889 120.394444 38.5757889 115.703333 38.5757889 111.894889 34.7674444 111.894889 30.0765556 111.894889 25.3856667 115.703333 21.5772222 120.394444 21.5772222 122.355556 21.5772222 124.441111 22.4201111 125.624444 23.7606667L125.624444 15.3505556 128.927778 15.3446667zM120.502222 35.1787222C123.394444 35.1787222 125.67 33.1093333 125.67 30.0765556 125.67 27.0437778 123.394444 24.9565556 120.502222 24.9565556 117.609556 24.9565556 115.411333 27.1842222 115.411333 30.0765556 115.411333 32.9688889 117.609556 35.1787222 120.502222 35.1787222zM132.603333 38.1606L132.603333 21.9923778 135.963422 21.9923778 135.963422 38.1606 132.603333 38.1606zM134.283333 14.7777778C135.535556 14.7777778 136.552222 15.7944444 136.552222 17.0466667 136.552222 18.2987778 135.535556 19.3154444 134.283333 19.3154444 133.031111 19.3154444 132.014444 18.2987778 132.014444 17.0466667 132.014444 15.7944444 133.031111 14.7777778 134.283333 14.7777778zM142.46 40.3037C143.558889 41.3741667 145.18 42.5089333 147.516667 42.5100778 151.274444 42.5269778 152.618889 40.2041111 152.665556 37.2071222 152.665556 37.2070667 152.665556 37.2066556 152.665556 37.2066556L152.665556 36.3924111C151.482222 37.7329111 149.396667 38.5757556 147.435556 38.5757556 142.744444 38.5757556 138.936667 34.7673333 138.936667 30.0764444 138.936667 25.3856667 142.744444 21.5772222 147.435556 21.5772222 149.396667 21.5772222 151.372222 22.3158889 152.665556 23.6222222L152.665556 21.9924444 155.968889 21.9924444 155.968889 37.3125333 155.968889 37.3493778C155.826667 43.7595778 151.861111 45.9182 147.581111 45.9981556 144.438889 46.0568778 141.576667 44.3906667 140.046667 42.6141444L142.46 40.3037zM147.543333 24.9743333C144.651111 24.9743333 142.453333 27.1841111 142.453333 30.0764444 142.453333 32.9688889 144.651111 35.1965333 147.543333 35.1965333 150.435556 35.1965333 152.711111 33.1093333 152.711111 30.0764444 152.711111 27.0436667 150.435556 24.9743333 147.543333 24.9743333zM162.943333 38.1606L159.64 38.1606 159.64 21.9924444 162.943333 21.9924444 162.943333 23.1215556C163.676667 22.4318889 165.052222 21.5797778 166.958889 21.5772222 169.303333 21.5772222 171.051111 22.5633333 172.248889 24.1498889 173.557778 22.579 175.716667 21.5772222 177.915556 21.5772222 182.043333 21.5772222 184.856667 24.364 184.856667 28.7072222L184.856667 38.1606 181.553333 38.1606 181.553333 28.7072222C181.553333 26.5972222 179.836667 24.8804444 177.726667 24.8804444 175.616667 24.8804444 173.9 26.5972222 173.9 28.7072222L173.9 38.1606 170.596667 38.1606 170.596667 28.7072222C170.596667 26.5972222 168.88 24.8804444 166.77 24.8804444 164.66 24.8804444 162.943333 26.5972222 162.943333 28.7072222L162.943333 38.1606zM91.2616667 25.1714444L89.2664444 25.1714444C86.1044444 25.1707778 84.4722222 27.5051111 84.4722222 30.2226667 84.4722222 31.3225556 84.4754444 38.1474222 84.4754444 38.1606111L81.1668889 38.1606111 81.1668889 21.9924444 84.4754444 21.9924444 84.4754444 24.1245556C85.6423333 22.7921111 86.7667778 21.9924444 89.2664444 21.9924444L91.2616667 21.9924444 91.2616667 25.1714444z"/>
|
|
4
|
+
<path fill="#FF9E00" d="M25.2393333,6.75855556 C25.658,6.344 26.226,6.11111111 26.8182222,6.11111111 C27.4104444,6.11111111 27.9784444,6.344 28.3972222,6.75855556 C30.6886667,9.02666667 34.9125556,13.2063333 37.2045556,15.4744444 C38.0763333,16.3375556 38.0763333,17.7364444 37.2045556,18.5995556 L28.3972222,27.3154444 C27.9784444,27.73 27.4104444,27.9628889 26.8182222,27.9628889 C26.226,27.9628889 25.658,27.73 25.2393333,27.3154444 C22.9473333,25.0477778 18.7234444,20.8676667 16.4319333,18.5995556 C16.0130889,18.1852222 15.7777778,17.6231111 15.7777778,17.037 C15.7777778,16.4508889 16.0130889,15.8887778 16.4319333,15.4744444 C18.7234444,13.2063333 22.9473333,9.02666667 25.2393333,6.75855556 Z"/>
|
|
5
|
+
<path fill="#005FF9" d="M16.4615111,6.75855556 C16.8802222,6.344 17.4482111,6.11111111 18.0404556,6.11111111 C18.6326667,6.11111111 19.2006667,6.344 19.6194444,6.75855556 C21.9108889,9.02666667 26.1347778,13.2063333 28.4267778,15.4744444 C29.2985556,16.3375556 29.2985556,17.7364444 28.4267778,18.5995556 L19.6194444,27.3154444 C19.2006667,27.73 18.6326667,27.9628889 18.0404556,27.9628889 C17.4482111,27.9628889 16.8802222,27.73 16.4615111,27.3154444 C14.1695667,25.0477778 9.94564444,20.8676667 7.65415556,18.5995556 C7.23531111,18.1852222 7,17.6231111 7,17.037 C7,16.4508889 7.23531111,15.8887778 7.65415556,15.4744444 C9.94564444,13.2063333 14.1695667,9.02666667 16.4615111,6.75855556 Z"/>
|
|
6
|
+
<path fill="#002277" d="M22.4292019,9.53936417 C24.5252463,11.6136649 26.9029688,13.9665177 28.4267778,15.4744444 C29.2985556,16.3375556 29.2985556,17.7364444 28.4267778,18.5995556 L22.4292154,24.5348467 C20.3330411,22.4605416 17.9554205,20.1074855 16.4319333,18.5995556 C16.0130889,18.1852222 15.7777778,17.6231111 15.7777778,17.037 C15.7777778,16.4508889 16.0130889,15.8887778 16.4319333,15.4744444 C17.9554172,13.9665177 20.3330309,11.6136649 22.4292019,9.53936417 Z"/>
|
|
7
|
+
</g>
|
|
8
|
+
</svg>
|
|
Binary file
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Theme, ThemeCssVarsWide } from '../../../../interfaces/general';
|
|
2
|
+
export declare type DeclarationType = 'default' | 'onlyRoot' | 'modern' | 'onlyColors';
|
|
3
|
+
/**
|
|
4
|
+
* Компилирует медиаквери переходы между переменными
|
|
5
|
+
* @param sourceTheme
|
|
6
|
+
* @param type
|
|
7
|
+
*/
|
|
8
|
+
export declare function compileBreakpointsCssVarsDeclaration<T = Theme>(sourceTheme: ThemeCssVarsWide<T, Extract<keyof T, 'breakpoints'>>, type?: DeclarationType): string | null;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.compileBreakpointsCssVarsDeclaration = void 0;
|
|
8
|
+
var common_tags_1 = require("common-tags");
|
|
9
|
+
var findViewportByAdaptivityState_1 = require("../helpers/findViewportByAdaptivityState");
|
|
10
|
+
var capitalize_1 = require("../../../helpers/capitalize");
|
|
11
|
+
var convertCamelToSnake_1 = require("../../../helpers/convertCamelToSnake");
|
|
12
|
+
var getOnlyColors_1 = require("../../../helpers/getOnlyColors");
|
|
13
|
+
var customMedia_1 = require("../../../themeProcessors/customMedia/customMedia");
|
|
14
|
+
var accumulateValues_1 = require("../helpers/accumulateValues");
|
|
15
|
+
var getVarString_1 = require("../helpers/getVarString");
|
|
16
|
+
/**
|
|
17
|
+
* Компилирует медиаквери переходы между переменными
|
|
18
|
+
* @param sourceTheme
|
|
19
|
+
* @param type
|
|
20
|
+
*/
|
|
21
|
+
// eslint-disable-next-line sonarjs/cognitive-complexity
|
|
22
|
+
function compileBreakpointsCssVarsDeclaration(sourceTheme, type) {
|
|
23
|
+
if (type === void 0) { type = 'default'; }
|
|
24
|
+
if (!('breakpoints' in sourceTheme)) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
var breakpoints = sourceTheme['breakpoints'];
|
|
28
|
+
var customMedia = customMedia_1.processCustomMedia(sourceTheme);
|
|
29
|
+
var theme = type === 'onlyColors' ? getOnlyColors_1.getOnlyColors(sourceTheme) : sourceTheme;
|
|
30
|
+
var adaptiveValues = accumulateValues_1.accumulateValues({
|
|
31
|
+
theme: theme,
|
|
32
|
+
}).adaptiveValues;
|
|
33
|
+
var result = '';
|
|
34
|
+
if (!Object.keys(adaptiveValues.auto).length) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
result += common_tags_1.stripIndent(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t:root {\n", "\n\t}"], ["\n\t:root {\n", "\n\t}"])), getVarString_1.getVarString({ valuesObject: adaptiveValues.auto, prefix: '\t\t' }));
|
|
38
|
+
var adaptivityStatesLength = Object.keys(adaptiveValues).length;
|
|
39
|
+
// только regular и auto
|
|
40
|
+
if (adaptivityStatesLength === 2) {
|
|
41
|
+
return result;
|
|
42
|
+
}
|
|
43
|
+
var regularValues = '';
|
|
44
|
+
var mediaValues = '';
|
|
45
|
+
Object.entries(adaptiveValues)
|
|
46
|
+
.sort(function (_a) {
|
|
47
|
+
var a = _a[0];
|
|
48
|
+
return (a === 'regular' ? 1 : -1);
|
|
49
|
+
})
|
|
50
|
+
.forEach(function (_a) {
|
|
51
|
+
var adaptivityState = _a[0], valuesObject = _a[1];
|
|
52
|
+
var isRegular = adaptivityState === 'regular';
|
|
53
|
+
if (adaptivityState === 'auto') {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
var usedViewport = findViewportByAdaptivityState_1.findViewportByAdaptivityState(breakpoints, adaptivityState);
|
|
57
|
+
mediaValues += common_tags_1.stripIndent(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n\t\t\t@media ", " {\n\t\t\t\t:root, .vkui--force-auto {\n\t\t\t\t\t", "\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.vkui--force-", " {\n\t\t\t\t", "\n\t\t\t}\n\t\t\t"], ["\n\t\t\t@media ", " {\n\t\t\t\t:root, .vkui--force-auto {\n\t\t\t\t\t",
|
|
58
|
+
"\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.vkui--force-", " {\n\t\t\t\t",
|
|
59
|
+
"\n\t\t\t}\n\t\t\t"])), customMedia["width" + capitalize_1.capitalize(usedViewport)], common_tags_1.stripIndents(isRegular
|
|
60
|
+
? regularValues
|
|
61
|
+
: getVarString_1.getVarString({
|
|
62
|
+
valuesObject: valuesObject,
|
|
63
|
+
prefix: '',
|
|
64
|
+
callback: function (name) {
|
|
65
|
+
if (isRegular) {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
var regularName = name.replace(new RegExp(adaptivityState + "$"), 'regular');
|
|
69
|
+
var regularValue = adaptiveValues.regular[regularName];
|
|
70
|
+
if (regularValue) {
|
|
71
|
+
regularValues += regularName + ": " + regularValue + ";\n";
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
})), convertCamelToSnake_1.convertCamelToSnake(usedViewport), common_tags_1.stripIndents(isRegular
|
|
75
|
+
? regularValues
|
|
76
|
+
: getVarString_1.getVarString({
|
|
77
|
+
valuesObject: valuesObject,
|
|
78
|
+
prefix: '',
|
|
79
|
+
})));
|
|
80
|
+
mediaValues += '\n\n';
|
|
81
|
+
});
|
|
82
|
+
return common_tags_1.stripIndent(result + "\n\n" + mediaValues);
|
|
83
|
+
}
|
|
84
|
+
exports.compileBreakpointsCssVarsDeclaration = compileBreakpointsCssVarsDeclaration;
|
|
85
|
+
var templateObject_1, templateObject_2;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
3
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
4
|
+
return cooked;
|
|
5
|
+
};
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
var common_tags_1 = require("common-tags");
|
|
8
|
+
var compileBreakpointsCssVarsDeclaration_1 = require("./compileBreakpointsCssVarsDeclaration");
|
|
9
|
+
describe('compileBreakpointsCssVarsDeclaration', function () {
|
|
10
|
+
it('should not work without breakpoints', function () {
|
|
11
|
+
var theme = {};
|
|
12
|
+
expect(compileBreakpointsCssVarsDeclaration_1.compileBreakpointsCssVarsDeclaration(theme)).toBe(null);
|
|
13
|
+
});
|
|
14
|
+
it('should work with breakpoints and empty vals', function () {
|
|
15
|
+
var theme = {
|
|
16
|
+
breakpoints: {
|
|
17
|
+
touch: {
|
|
18
|
+
breakpoint: 0,
|
|
19
|
+
adaptiveValue: 'compactX',
|
|
20
|
+
},
|
|
21
|
+
desktopS: {
|
|
22
|
+
breakpoint: 768,
|
|
23
|
+
adaptiveValue: 'regular',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
expect(compileBreakpointsCssVarsDeclaration_1.compileBreakpointsCssVarsDeclaration(theme)).toBe(null);
|
|
28
|
+
});
|
|
29
|
+
it('should work with non adaptive values', function () {
|
|
30
|
+
var theme = {
|
|
31
|
+
breakpoints: {
|
|
32
|
+
touch: {
|
|
33
|
+
breakpoint: 0,
|
|
34
|
+
adaptiveValue: 'compactX',
|
|
35
|
+
},
|
|
36
|
+
desktopS: {
|
|
37
|
+
breakpoint: 768,
|
|
38
|
+
adaptiveValue: 'regular',
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
x1: {
|
|
42
|
+
name: '--vkui--x1',
|
|
43
|
+
value: 'var(--vkui--x1, 4px)',
|
|
44
|
+
originalValue: '4px',
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
expect(compileBreakpointsCssVarsDeclaration_1.compileBreakpointsCssVarsDeclaration(theme)).toBe(null);
|
|
48
|
+
});
|
|
49
|
+
it('should work with flat adaptive values and several breakpotins', function () {
|
|
50
|
+
var theme = {
|
|
51
|
+
breakpoints: {
|
|
52
|
+
touch: {
|
|
53
|
+
breakpoint: 0,
|
|
54
|
+
adaptiveValue: 'compact',
|
|
55
|
+
},
|
|
56
|
+
desktopS: {
|
|
57
|
+
breakpoint: 768,
|
|
58
|
+
adaptiveValue: 'regular',
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
sizePopupBasePadding: {
|
|
62
|
+
auto: {
|
|
63
|
+
name: '--vkui--size_popup_base_padding',
|
|
64
|
+
value: 'var(--vkui--size_popup_base_padding)',
|
|
65
|
+
},
|
|
66
|
+
compact: {
|
|
67
|
+
name: '--vkui--size_popup_base_padding--compact',
|
|
68
|
+
value: 'var(--vkui--size_popup_base_padding--compact, 16px)',
|
|
69
|
+
originalValue: '16px',
|
|
70
|
+
},
|
|
71
|
+
regular: {
|
|
72
|
+
name: '--vkui--size_popup_base_padding--regular',
|
|
73
|
+
value: 'var(--vkui--size_popup_base_padding--regular, 20px)',
|
|
74
|
+
originalValue: '20px',
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
};
|
|
78
|
+
expect(compileBreakpointsCssVarsDeclaration_1.compileBreakpointsCssVarsDeclaration(theme))
|
|
79
|
+
.toBe(common_tags_1.stripIndent(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t\t\t:root {\n\t\t\t\t--vkui--size_popup_base_padding: var(--vkui--size_popup_base_padding--regular);\n\t\t\t}\n\n\t\t\t@media (max-width: 767px) {\n\t\t\t\t:root, .vkui--force-auto {\n\t\t\t\t\t--vkui--size_popup_base_padding: var(--vkui--size_popup_base_padding--compact);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.vkui--force-touch {\n\t\t\t\t--vkui--size_popup_base_padding: var(--vkui--size_popup_base_padding--compact);\n\t\t\t}\n\n\t\t\t@media (min-width: 768px) {\n\t\t\t\t:root, .vkui--force-auto {\n\t\t\t\t\t--vkui--size_popup_base_padding: var(--vkui--size_popup_base_padding--regular);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.vkui--force-desktop_s {\n\t\t\t\t--vkui--size_popup_base_padding: var(--vkui--size_popup_base_padding--regular);\n\t\t\t}\n\t\t\t"], ["\n\t\t\t:root {\n\t\t\t\t--vkui--size_popup_base_padding: var(--vkui--size_popup_base_padding--regular);\n\t\t\t}\n\n\t\t\t@media (max-width: 767px) {\n\t\t\t\t:root, .vkui--force-auto {\n\t\t\t\t\t--vkui--size_popup_base_padding: var(--vkui--size_popup_base_padding--compact);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.vkui--force-touch {\n\t\t\t\t--vkui--size_popup_base_padding: var(--vkui--size_popup_base_padding--compact);\n\t\t\t}\n\n\t\t\t@media (min-width: 768px) {\n\t\t\t\t:root, .vkui--force-auto {\n\t\t\t\t\t--vkui--size_popup_base_padding: var(--vkui--size_popup_base_padding--regular);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.vkui--force-desktop_s {\n\t\t\t\t--vkui--size_popup_base_padding: var(--vkui--size_popup_base_padding--regular);\n\t\t\t}\n\t\t\t"]))));
|
|
80
|
+
});
|
|
81
|
+
it('should work with flat adaptive values and several breakpotins and without overriding', function () {
|
|
82
|
+
var theme = {
|
|
83
|
+
breakpoints: {
|
|
84
|
+
touch: {
|
|
85
|
+
breakpoint: 0,
|
|
86
|
+
adaptiveValue: 'compact',
|
|
87
|
+
},
|
|
88
|
+
desktopS: {
|
|
89
|
+
breakpoint: 768,
|
|
90
|
+
adaptiveValue: 'regular',
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
sizePopupBasePadding: {
|
|
94
|
+
auto: {
|
|
95
|
+
name: '--vkui--size_popup_base_padding',
|
|
96
|
+
value: 'var(--vkui--size_popup_base_padding)',
|
|
97
|
+
},
|
|
98
|
+
regular: {
|
|
99
|
+
name: '--vkui--size_popup_base_padding--regular',
|
|
100
|
+
value: 'var(--vkui--size_popup_base_padding--regular, 20px)',
|
|
101
|
+
originalValue: '20px',
|
|
102
|
+
},
|
|
103
|
+
},
|
|
104
|
+
};
|
|
105
|
+
expect(compileBreakpointsCssVarsDeclaration_1.compileBreakpointsCssVarsDeclaration(theme))
|
|
106
|
+
.toBe(common_tags_1.stripIndent(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n\t\t\t:root {\n\t\t\t\t--vkui--size_popup_base_padding: 20px;\n\t\t\t}\n\t\t\t"], ["\n\t\t\t:root {\n\t\t\t\t--vkui--size_popup_base_padding: 20px;\n\t\t\t}\n\t\t\t"]))));
|
|
107
|
+
});
|
|
108
|
+
it('should work with adaptive complex object', function () {
|
|
109
|
+
var theme = {
|
|
110
|
+
breakpoints: {
|
|
111
|
+
touch: {
|
|
112
|
+
breakpoint: 0,
|
|
113
|
+
adaptiveValue: 'compact',
|
|
114
|
+
},
|
|
115
|
+
desktopS: {
|
|
116
|
+
breakpoint: 768,
|
|
117
|
+
adaptiveValue: 'regular',
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
fontH1: {
|
|
121
|
+
auto: {
|
|
122
|
+
fontSize: {
|
|
123
|
+
name: '--vkui--font_h1--font_size',
|
|
124
|
+
value: 'var(--vkui--font_h1--font_size)',
|
|
125
|
+
},
|
|
126
|
+
lineHeight: {
|
|
127
|
+
name: '--vkui--font_h1--line_height',
|
|
128
|
+
value: 'var(--vkui--font_h1--line_height)',
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
compact: {
|
|
132
|
+
fontSize: {
|
|
133
|
+
name: '--vkui--font_h1--font_size--compact',
|
|
134
|
+
value: 'var(--vkui--font_h1--font_size--compact, 24px)',
|
|
135
|
+
originalValue: '24px',
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
regular: {
|
|
139
|
+
fontSize: {
|
|
140
|
+
name: '--vkui--font_h1--font_size--regular',
|
|
141
|
+
value: 'var(--vkui--font_h1--font_size--regular, 22px)',
|
|
142
|
+
originalValue: '22px',
|
|
143
|
+
},
|
|
144
|
+
lineHeight: {
|
|
145
|
+
name: '--vkui--font_h1--line_height--regular',
|
|
146
|
+
value: 'var(--vkui--font_h1--line_height--regular, 30px)',
|
|
147
|
+
originalValue: '30px',
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
},
|
|
151
|
+
};
|
|
152
|
+
expect(compileBreakpointsCssVarsDeclaration_1.compileBreakpointsCssVarsDeclaration(theme))
|
|
153
|
+
.toBe(common_tags_1.stripIndent(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n\t\t\t:root {\n\t\t\t\t--vkui--font_h1--font_size: var(--vkui--font_h1--font_size--regular);\n\t\t\t\t--vkui--font_h1--line_height: var(--vkui--font_h1--line_height--regular);\n\t\t\t}\n\n\t\t\t@media (max-width: 767px) {\n\t\t\t\t:root, .vkui--force-auto {\n\t\t\t\t\t--vkui--font_h1--font_size: var(--vkui--font_h1--font_size--compact);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.vkui--force-touch {\n\t\t\t\t--vkui--font_h1--font_size: var(--vkui--font_h1--font_size--compact);\n\t\t\t}\n\n\t\t\t@media (min-width: 768px) {\n\t\t\t\t:root, .vkui--force-auto {\n\t\t\t\t\t--vkui--font_h1--font_size: var(--vkui--font_h1--font_size--regular);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.vkui--force-desktop_s {\n\t\t\t\t--vkui--font_h1--font_size: var(--vkui--font_h1--font_size--regular);\n\t\t\t}\n\t\t\t"], ["\n\t\t\t:root {\n\t\t\t\t--vkui--font_h1--font_size: var(--vkui--font_h1--font_size--regular);\n\t\t\t\t--vkui--font_h1--line_height: var(--vkui--font_h1--line_height--regular);\n\t\t\t}\n\n\t\t\t@media (max-width: 767px) {\n\t\t\t\t:root, .vkui--force-auto {\n\t\t\t\t\t--vkui--font_h1--font_size: var(--vkui--font_h1--font_size--compact);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.vkui--force-touch {\n\t\t\t\t--vkui--font_h1--font_size: var(--vkui--font_h1--font_size--compact);\n\t\t\t}\n\n\t\t\t@media (min-width: 768px) {\n\t\t\t\t:root, .vkui--force-auto {\n\t\t\t\t\t--vkui--font_h1--font_size: var(--vkui--font_h1--font_size--regular);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.vkui--force-desktop_s {\n\t\t\t\t--vkui--font_h1--font_size: var(--vkui--font_h1--font_size--regular);\n\t\t\t}\n\t\t\t"]))));
|
|
154
|
+
});
|
|
155
|
+
});
|
|
156
|
+
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Theme } from '../../../../interfaces/general';
|
|
2
|
+
import { Adaptive } from '../../../../interfaces/general/tools';
|
|
3
|
+
export declare type FlatValuesObject = {
|
|
4
|
+
[key: string]: string | number;
|
|
5
|
+
};
|
|
6
|
+
export declare type AdaptiveValuesObject = {
|
|
7
|
+
auto: FlatValuesObject;
|
|
8
|
+
regular: FlatValuesObject;
|
|
9
|
+
} & {
|
|
10
|
+
[key in keyof Exclude<Adaptive<any>, 'regular'>]?: FlatValuesObject;
|
|
11
|
+
};
|
|
12
|
+
interface Params<T = Theme> {
|
|
13
|
+
theme: T;
|
|
14
|
+
}
|
|
15
|
+
interface ReturnValues {
|
|
16
|
+
flatValues: FlatValuesObject;
|
|
17
|
+
adaptiveValues: AdaptiveValuesObject;
|
|
18
|
+
}
|
|
19
|
+
export declare function accumulateValues<T = Theme>({ theme }: Params<T>): ReturnValues;
|
|
20
|
+
export {};
|