@vkontakte/vkui-tokens 4.29.3-dev-b24760.0 → 4.29.4
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/build/compilers/docs/__test__/testLinks.d.ts +7 -0
- package/build/compilers/docs/__test__/testLinks.js +2 -0
- package/build/compilers/docs/compileDocsJSON.d.ts +9 -1
- package/build/compilers/docs/compileDocsJSON.js +51 -11
- package/build/compilers/docs/compileDocsJSON.test.js +39 -6
- package/build/compilers/styles/helpers/tokenProcessors.d.ts +1 -1
- package/interfaces/namespaces/vk/index.d.ts +0 -181
- package/interfaces/namespaces/vk/index.js +1 -2
- package/interfaces/themes/octavius/index.d.ts +1 -0
- package/interfaces/themes/vkBase/index.d.ts +4 -4
- package/interfaces/themes/vkBaseDark/index.d.ts +4 -4
- package/package.json +6 -6
- package/themeDescriptions/base/vk.d.ts +3 -5
- package/themeDescriptions/base/vk.js +2 -38
- package/themes/calendar/docs.json +2746 -1256
- package/themes/calendarDark/docs.json +2746 -1256
- package/themes/calls/docs.json +2600 -1110
- package/themes/cloud/docs.json +2600 -1110
- package/themes/cloudDark/docs.json +2600 -1110
- package/themes/home/docs.json +2632 -1142
- package/themes/homeDark/docs.json +2632 -1142
- package/themes/media/cssVars/declarations/index.css +12 -12
- package/themes/media/cssVars/declarations/noColors.css +12 -12
- package/themes/media/cssVars/declarations/onlyVariables.css +4 -4
- package/themes/media/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/media/cssVars/declarations/onlyVariablesLocal.css +4 -4
- package/themes/media/cssVars/declarations/onlyVariablesLocalIncremental.css +4 -4
- package/themes/media/cssVars/theme/fallbacks/index.css +12 -12
- package/themes/media/cssVars/theme/fallbacks/index.less +4 -4
- package/themes/media/cssVars/theme/fallbacks/index.pcss +4 -4
- package/themes/media/cssVars/theme/fallbacks/index.scss +9 -9
- package/themes/media/cssVars/theme/fallbacks/index.styl +4 -4
- package/themes/media/cssVars/theme/index.js +4 -4
- package/themes/media/cssVars/theme/index.json +4 -4
- package/themes/media/docs.json +2813 -1323
- package/themes/media/index.css +12 -12
- package/themes/media/index.js +4 -4
- package/themes/media/index.json +4 -4
- package/themes/media/index.less +4 -4
- package/themes/media/index.pcss +4 -4
- package/themes/media/index.scss +9 -9
- package/themes/media/index.styl +4 -4
- package/themes/media/struct.json +4 -4
- package/themes/mediaDark/cssVars/declarations/index.css +12 -12
- package/themes/mediaDark/cssVars/declarations/noColors.css +12 -12
- package/themes/mediaDark/cssVars/declarations/onlyVariables.css +4 -4
- package/themes/mediaDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/mediaDark/cssVars/declarations/onlyVariablesLocal.css +4 -4
- package/themes/mediaDark/cssVars/declarations/onlyVariablesLocalIncremental.css +4 -4
- package/themes/mediaDark/cssVars/theme/fallbacks/index.css +12 -12
- package/themes/mediaDark/cssVars/theme/fallbacks/index.less +4 -4
- package/themes/mediaDark/cssVars/theme/fallbacks/index.pcss +4 -4
- package/themes/mediaDark/cssVars/theme/fallbacks/index.scss +9 -9
- package/themes/mediaDark/cssVars/theme/fallbacks/index.styl +4 -4
- package/themes/mediaDark/cssVars/theme/index.js +4 -4
- package/themes/mediaDark/cssVars/theme/index.json +4 -4
- package/themes/mediaDark/docs.json +2813 -1323
- package/themes/mediaDark/index.css +12 -12
- package/themes/mediaDark/index.js +4 -4
- package/themes/mediaDark/index.json +4 -4
- package/themes/mediaDark/index.less +4 -4
- package/themes/mediaDark/index.pcss +4 -4
- package/themes/mediaDark/index.scss +9 -9
- package/themes/mediaDark/index.styl +4 -4
- package/themes/mediaDark/struct.json +4 -4
- package/themes/mycom/cssVars/declarations/index.css +12 -12
- package/themes/mycom/cssVars/declarations/noColors.css +12 -12
- package/themes/mycom/cssVars/declarations/noSizes.css +12 -12
- package/themes/mycom/cssVars/declarations/onlyVariables.css +4 -4
- package/themes/mycom/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/mycom/cssVars/declarations/onlyVariablesLocal.css +4 -4
- package/themes/mycom/cssVars/declarations/onlyVariablesLocalIncremental.css +4 -4
- package/themes/mycom/cssVars/theme/fallbacks/index.css +12 -12
- package/themes/mycom/cssVars/theme/fallbacks/index.less +4 -4
- package/themes/mycom/cssVars/theme/fallbacks/index.pcss +4 -4
- package/themes/mycom/cssVars/theme/fallbacks/index.scss +9 -9
- package/themes/mycom/cssVars/theme/fallbacks/index.styl +4 -4
- package/themes/mycom/cssVars/theme/index.js +4 -4
- package/themes/mycom/cssVars/theme/index.json +4 -4
- package/themes/mycom/docs.json +2760 -1270
- package/themes/mycom/index.css +12 -12
- package/themes/mycom/index.js +4 -4
- package/themes/mycom/index.json +4 -4
- package/themes/mycom/index.less +4 -4
- package/themes/mycom/index.pcss +4 -4
- package/themes/mycom/index.scss +9 -9
- package/themes/mycom/index.styl +4 -4
- package/themes/mycom/struct.json +4 -4
- package/themes/octavius/cssVars/declarations/index.css +3 -0
- package/themes/octavius/cssVars/declarations/noSizes.css +3 -0
- package/themes/octavius/cssVars/declarations/onlyColors.css +3 -0
- package/themes/octavius/cssVars/declarations/onlyColors.js +2 -2
- package/themes/octavius/cssVars/declarations/onlyVariables.css +3 -0
- package/themes/octavius/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/octavius/cssVars/declarations/onlyVariablesLocal.css +3 -0
- package/themes/octavius/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -0
- package/themes/octavius/cssVars/theme/fallbacks/index.css +3 -0
- package/themes/octavius/cssVars/theme/fallbacks/index.less +3 -0
- package/themes/octavius/cssVars/theme/fallbacks/index.pcss +3 -0
- package/themes/octavius/cssVars/theme/fallbacks/index.scss +3 -0
- package/themes/octavius/cssVars/theme/fallbacks/index.styl +3 -0
- package/themes/octavius/cssVars/theme/index.js +14 -0
- package/themes/octavius/cssVars/theme/index.json +14 -0
- package/themes/octavius/docs.json +3466 -1972
- package/themes/octavius/index.css +3 -0
- package/themes/octavius/index.js +5 -0
- package/themes/octavius/index.json +5 -0
- package/themes/octavius/index.less +3 -0
- package/themes/octavius/index.pcss +3 -0
- package/themes/octavius/index.scss +3 -0
- package/themes/octavius/index.styl +3 -0
- package/themes/octavius/struct.json +5 -0
- package/themes/octaviusCompact/cssVars/declarations/index.css +3 -0
- package/themes/octaviusCompact/cssVars/declarations/noSizes.css +3 -0
- package/themes/octaviusCompact/cssVars/declarations/onlyColors.css +3 -0
- package/themes/octaviusCompact/cssVars/declarations/onlyColors.js +2 -2
- package/themes/octaviusCompact/cssVars/declarations/onlyVariables.css +3 -0
- package/themes/octaviusCompact/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/octaviusCompact/cssVars/declarations/onlyVariablesLocal.css +3 -0
- package/themes/octaviusCompact/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -0
- package/themes/octaviusCompact/cssVars/theme/fallbacks/index.css +3 -0
- package/themes/octaviusCompact/cssVars/theme/fallbacks/index.less +3 -0
- package/themes/octaviusCompact/cssVars/theme/fallbacks/index.pcss +3 -0
- package/themes/octaviusCompact/cssVars/theme/fallbacks/index.scss +3 -0
- package/themes/octaviusCompact/cssVars/theme/fallbacks/index.styl +3 -0
- package/themes/octaviusCompact/cssVars/theme/index.js +14 -0
- package/themes/octaviusCompact/cssVars/theme/index.json +14 -0
- package/themes/octaviusCompact/docs.json +3466 -1972
- package/themes/octaviusCompact/index.css +3 -0
- package/themes/octaviusCompact/index.js +5 -0
- package/themes/octaviusCompact/index.json +5 -0
- package/themes/octaviusCompact/index.less +3 -0
- package/themes/octaviusCompact/index.pcss +3 -0
- package/themes/octaviusCompact/index.scss +3 -0
- package/themes/octaviusCompact/index.styl +3 -0
- package/themes/octaviusCompact/struct.json +5 -0
- package/themes/octaviusCompactDark/cssVars/declarations/index.css +3 -0
- package/themes/octaviusCompactDark/cssVars/declarations/noSizes.css +3 -0
- package/themes/octaviusCompactDark/cssVars/declarations/onlyColors.css +3 -0
- package/themes/octaviusCompactDark/cssVars/declarations/onlyColors.js +2 -2
- package/themes/octaviusCompactDark/cssVars/declarations/onlyVariables.css +3 -0
- package/themes/octaviusCompactDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/octaviusCompactDark/cssVars/declarations/onlyVariablesLocal.css +3 -0
- package/themes/octaviusCompactDark/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -0
- package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.css +3 -0
- package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.less +3 -0
- package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.pcss +3 -0
- package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.scss +3 -0
- package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.styl +3 -0
- package/themes/octaviusCompactDark/cssVars/theme/index.js +14 -0
- package/themes/octaviusCompactDark/cssVars/theme/index.json +14 -0
- package/themes/octaviusCompactDark/docs.json +3466 -1972
- package/themes/octaviusCompactDark/index.css +3 -0
- package/themes/octaviusCompactDark/index.js +5 -0
- package/themes/octaviusCompactDark/index.json +5 -0
- package/themes/octaviusCompactDark/index.less +3 -0
- package/themes/octaviusCompactDark/index.pcss +3 -0
- package/themes/octaviusCompactDark/index.scss +3 -0
- package/themes/octaviusCompactDark/index.styl +3 -0
- package/themes/octaviusCompactDark/struct.json +5 -0
- package/themes/octaviusDark/cssVars/declarations/index.css +3 -0
- package/themes/octaviusDark/cssVars/declarations/noSizes.css +3 -0
- package/themes/octaviusDark/cssVars/declarations/onlyColors.css +3 -0
- package/themes/octaviusDark/cssVars/declarations/onlyColors.js +2 -2
- package/themes/octaviusDark/cssVars/declarations/onlyVariables.css +3 -0
- package/themes/octaviusDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/octaviusDark/cssVars/declarations/onlyVariablesLocal.css +3 -0
- package/themes/octaviusDark/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -0
- package/themes/octaviusDark/cssVars/theme/fallbacks/index.css +3 -0
- package/themes/octaviusDark/cssVars/theme/fallbacks/index.less +3 -0
- package/themes/octaviusDark/cssVars/theme/fallbacks/index.pcss +3 -0
- package/themes/octaviusDark/cssVars/theme/fallbacks/index.scss +3 -0
- package/themes/octaviusDark/cssVars/theme/fallbacks/index.styl +3 -0
- package/themes/octaviusDark/cssVars/theme/index.js +14 -0
- package/themes/octaviusDark/cssVars/theme/index.json +14 -0
- package/themes/octaviusDark/docs.json +3466 -1972
- package/themes/octaviusDark/index.css +3 -0
- package/themes/octaviusDark/index.js +5 -0
- package/themes/octaviusDark/index.json +5 -0
- package/themes/octaviusDark/index.less +3 -0
- package/themes/octaviusDark/index.pcss +3 -0
- package/themes/octaviusDark/index.scss +3 -0
- package/themes/octaviusDark/index.styl +3 -0
- package/themes/octaviusDark/struct.json +5 -0
- package/themes/octaviusVK/cssVars/declarations/index.css +3 -0
- package/themes/octaviusVK/cssVars/declarations/noSizes.css +3 -0
- package/themes/octaviusVK/cssVars/declarations/onlyColors.css +3 -0
- package/themes/octaviusVK/cssVars/declarations/onlyColors.js +2 -2
- package/themes/octaviusVK/cssVars/declarations/onlyVariables.css +3 -0
- package/themes/octaviusVK/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/octaviusVK/cssVars/declarations/onlyVariablesLocal.css +3 -0
- package/themes/octaviusVK/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -0
- package/themes/octaviusVK/cssVars/theme/fallbacks/index.css +3 -0
- package/themes/octaviusVK/cssVars/theme/fallbacks/index.less +3 -0
- package/themes/octaviusVK/cssVars/theme/fallbacks/index.pcss +3 -0
- package/themes/octaviusVK/cssVars/theme/fallbacks/index.scss +3 -0
- package/themes/octaviusVK/cssVars/theme/fallbacks/index.styl +3 -0
- package/themes/octaviusVK/cssVars/theme/index.js +14 -0
- package/themes/octaviusVK/cssVars/theme/index.json +14 -0
- package/themes/octaviusVK/docs.json +3466 -1972
- package/themes/octaviusVK/index.css +3 -0
- package/themes/octaviusVK/index.js +5 -0
- package/themes/octaviusVK/index.json +5 -0
- package/themes/octaviusVK/index.less +3 -0
- package/themes/octaviusVK/index.pcss +3 -0
- package/themes/octaviusVK/index.scss +3 -0
- package/themes/octaviusVK/index.styl +3 -0
- package/themes/octaviusVK/struct.json +5 -0
- package/themes/octaviusVKDark/cssVars/declarations/index.css +3 -0
- package/themes/octaviusVKDark/cssVars/declarations/noSizes.css +3 -0
- package/themes/octaviusVKDark/cssVars/declarations/onlyColors.css +3 -0
- package/themes/octaviusVKDark/cssVars/declarations/onlyColors.js +2 -2
- package/themes/octaviusVKDark/cssVars/declarations/onlyVariables.css +3 -0
- package/themes/octaviusVKDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/octaviusVKDark/cssVars/declarations/onlyVariablesLocal.css +3 -0
- package/themes/octaviusVKDark/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -0
- package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.css +3 -0
- package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.less +3 -0
- package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.pcss +3 -0
- package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.scss +3 -0
- package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.styl +3 -0
- package/themes/octaviusVKDark/cssVars/theme/index.js +14 -0
- package/themes/octaviusVKDark/cssVars/theme/index.json +14 -0
- package/themes/octaviusVKDark/docs.json +3466 -1972
- package/themes/octaviusVKDark/index.css +3 -0
- package/themes/octaviusVKDark/index.js +5 -0
- package/themes/octaviusVKDark/index.json +5 -0
- package/themes/octaviusVKDark/index.less +3 -0
- package/themes/octaviusVKDark/index.pcss +3 -0
- package/themes/octaviusVKDark/index.scss +3 -0
- package/themes/octaviusVKDark/index.styl +3 -0
- package/themes/octaviusVKDark/struct.json +5 -0
- package/themes/octaviusWhite/cssVars/declarations/index.css +3 -0
- package/themes/octaviusWhite/cssVars/declarations/noSizes.css +3 -0
- package/themes/octaviusWhite/cssVars/declarations/onlyColors.css +3 -0
- package/themes/octaviusWhite/cssVars/declarations/onlyColors.js +2 -2
- package/themes/octaviusWhite/cssVars/declarations/onlyVariables.css +3 -0
- package/themes/octaviusWhite/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/octaviusWhite/cssVars/declarations/onlyVariablesLocal.css +3 -0
- package/themes/octaviusWhite/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -0
- package/themes/octaviusWhite/cssVars/theme/fallbacks/index.css +3 -0
- package/themes/octaviusWhite/cssVars/theme/fallbacks/index.less +3 -0
- package/themes/octaviusWhite/cssVars/theme/fallbacks/index.pcss +3 -0
- package/themes/octaviusWhite/cssVars/theme/fallbacks/index.scss +3 -0
- package/themes/octaviusWhite/cssVars/theme/fallbacks/index.styl +3 -0
- package/themes/octaviusWhite/cssVars/theme/index.js +14 -0
- package/themes/octaviusWhite/cssVars/theme/index.json +14 -0
- package/themes/octaviusWhite/docs.json +3466 -1972
- package/themes/octaviusWhite/index.css +3 -0
- package/themes/octaviusWhite/index.js +5 -0
- package/themes/octaviusWhite/index.json +5 -0
- package/themes/octaviusWhite/index.less +3 -0
- package/themes/octaviusWhite/index.pcss +3 -0
- package/themes/octaviusWhite/index.scss +3 -0
- package/themes/octaviusWhite/index.styl +3 -0
- package/themes/octaviusWhite/struct.json +5 -0
- package/themes/otvet/docs.json +2584 -1094
- package/themes/otvetDark/docs.json +2584 -1094
- package/themes/paradigmBase/docs.json +2600 -1110
- package/themes/paradigmBaseDark/docs.json +2600 -1110
- package/themes/pharma/cssVars/declarations/index.css +12 -12
- package/themes/pharma/cssVars/declarations/noColors.css +12 -12
- package/themes/pharma/cssVars/declarations/noSizes.css +12 -12
- package/themes/pharma/cssVars/declarations/onlyVariables.css +4 -4
- package/themes/pharma/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/pharma/cssVars/declarations/onlyVariablesLocal.css +4 -4
- package/themes/pharma/cssVars/declarations/onlyVariablesLocalIncremental.css +4 -4
- package/themes/pharma/cssVars/theme/fallbacks/index.css +12 -12
- package/themes/pharma/cssVars/theme/fallbacks/index.less +4 -4
- package/themes/pharma/cssVars/theme/fallbacks/index.pcss +4 -4
- package/themes/pharma/cssVars/theme/fallbacks/index.scss +9 -9
- package/themes/pharma/cssVars/theme/fallbacks/index.styl +4 -4
- package/themes/pharma/cssVars/theme/index.js +4 -4
- package/themes/pharma/cssVars/theme/index.json +4 -4
- package/themes/pharma/docs.json +2812 -1322
- package/themes/pharma/index.css +12 -12
- package/themes/pharma/index.js +4 -4
- package/themes/pharma/index.json +4 -4
- package/themes/pharma/index.less +4 -4
- package/themes/pharma/index.pcss +4 -4
- package/themes/pharma/index.scss +9 -9
- package/themes/pharma/index.styl +4 -4
- package/themes/pharma/struct.json +4 -4
- package/themes/promo/docs.json +2702 -1212
- package/themes/pulse/docs.json +1245 -590
- package/themes/pulseDark/docs.json +1245 -590
- package/themes/search/docs.json +2700 -1210
- package/themes/todo/docs.json +2600 -1110
- package/themes/vkBase/cssVars/declarations/index.css +0 -34
- package/themes/vkBase/cssVars/declarations/noColors.css +0 -34
- package/themes/vkBase/cssVars/declarations/noSizes.css +0 -34
- package/themes/vkBase/cssVars/declarations/onlyVariables.css +0 -34
- package/themes/vkBase/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/vkBase/cssVars/declarations/onlyVariablesLocal.css +0 -34
- package/themes/vkBase/cssVars/declarations/onlyVariablesLocalIncremental.css +0 -34
- package/themes/vkBase/cssVars/theme/fallbacks/index.css +0 -34
- package/themes/vkBase/cssVars/theme/fallbacks/index.less +0 -34
- package/themes/vkBase/cssVars/theme/fallbacks/index.pcss +0 -34
- package/themes/vkBase/cssVars/theme/fallbacks/index.scss +0 -34
- package/themes/vkBase/cssVars/theme/fallbacks/index.styl +0 -34
- package/themes/vkBase/cssVars/theme/index.js +0 -136
- package/themes/vkBase/cssVars/theme/index.json +0 -136
- package/themes/vkBase/docs.json +1772 -966
- package/themes/vkBase/index.css +0 -34
- package/themes/vkBase/index.js +0 -34
- package/themes/vkBase/index.json +0 -34
- package/themes/vkBase/index.less +0 -34
- package/themes/vkBase/index.pcss +0 -34
- package/themes/vkBase/index.scss +0 -34
- package/themes/vkBase/index.styl +0 -34
- package/themes/vkBase/struct.json +0 -34
- package/themes/vkBaseDark/cssVars/declarations/index.css +0 -34
- package/themes/vkBaseDark/cssVars/declarations/noColors.css +0 -34
- package/themes/vkBaseDark/cssVars/declarations/noSizes.css +0 -34
- package/themes/vkBaseDark/cssVars/declarations/onlyVariables.css +0 -34
- package/themes/vkBaseDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/vkBaseDark/cssVars/declarations/onlyVariablesLocal.css +0 -34
- package/themes/vkBaseDark/cssVars/theme/fallbacks/index.css +0 -34
- package/themes/vkBaseDark/cssVars/theme/fallbacks/index.less +0 -34
- package/themes/vkBaseDark/cssVars/theme/fallbacks/index.pcss +0 -34
- package/themes/vkBaseDark/cssVars/theme/fallbacks/index.scss +0 -34
- package/themes/vkBaseDark/cssVars/theme/fallbacks/index.styl +0 -34
- package/themes/vkBaseDark/cssVars/theme/index.js +0 -136
- package/themes/vkBaseDark/cssVars/theme/index.json +0 -136
- package/themes/vkBaseDark/docs.json +1772 -966
- package/themes/vkBaseDark/index.css +0 -34
- package/themes/vkBaseDark/index.js +0 -34
- package/themes/vkBaseDark/index.json +0 -34
- package/themes/vkBaseDark/index.less +0 -34
- package/themes/vkBaseDark/index.pcss +0 -34
- package/themes/vkBaseDark/index.scss +0 -34
- package/themes/vkBaseDark/index.styl +0 -34
- package/themes/vkBaseDark/struct.json +0 -34
- package/themes/vkCom/cssVars/declarations/index.css +7 -41
- package/themes/vkCom/cssVars/declarations/noColors.css +7 -41
- package/themes/vkCom/cssVars/declarations/noSizes.css +0 -34
- package/themes/vkCom/cssVars/declarations/onlyVariables.css +3 -37
- package/themes/vkCom/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/vkCom/cssVars/declarations/onlyVariablesLocal.css +3 -37
- package/themes/vkCom/cssVars/declarations/onlyVariablesLocalIncremental.css +7 -0
- package/themes/vkCom/cssVars/theme/fallbacks/index.css +7 -41
- package/themes/vkCom/cssVars/theme/fallbacks/index.less +3 -37
- package/themes/vkCom/cssVars/theme/fallbacks/index.pcss +3 -37
- package/themes/vkCom/cssVars/theme/fallbacks/index.scss +5 -39
- package/themes/vkCom/cssVars/theme/fallbacks/index.styl +3 -37
- package/themes/vkCom/cssVars/theme/index.js +3 -139
- package/themes/vkCom/cssVars/theme/index.json +3 -139
- package/themes/vkCom/docs.json +1772 -966
- package/themes/vkCom/index.css +7 -41
- package/themes/vkCom/index.js +3 -37
- package/themes/vkCom/index.json +3 -37
- package/themes/vkCom/index.less +3 -37
- package/themes/vkCom/index.pcss +3 -37
- package/themes/vkCom/index.scss +5 -39
- package/themes/vkCom/index.styl +3 -37
- package/themes/vkCom/struct.json +3 -37
- package/themes/vkComDark/cssVars/declarations/index.css +7 -41
- package/themes/vkComDark/cssVars/declarations/noColors.css +7 -41
- package/themes/vkComDark/cssVars/declarations/noSizes.css +0 -34
- package/themes/vkComDark/cssVars/declarations/onlyVariables.css +3 -37
- package/themes/vkComDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/vkComDark/cssVars/declarations/onlyVariablesLocal.css +3 -37
- package/themes/vkComDark/cssVars/declarations/onlyVariablesLocalIncremental.css +7 -0
- package/themes/vkComDark/cssVars/theme/fallbacks/index.css +7 -41
- package/themes/vkComDark/cssVars/theme/fallbacks/index.less +3 -37
- package/themes/vkComDark/cssVars/theme/fallbacks/index.pcss +3 -37
- package/themes/vkComDark/cssVars/theme/fallbacks/index.scss +5 -39
- package/themes/vkComDark/cssVars/theme/fallbacks/index.styl +3 -37
- package/themes/vkComDark/cssVars/theme/index.js +3 -139
- package/themes/vkComDark/cssVars/theme/index.json +3 -139
- package/themes/vkComDark/docs.json +1772 -966
- package/themes/vkComDark/index.css +7 -41
- package/themes/vkComDark/index.js +3 -37
- package/themes/vkComDark/index.json +3 -37
- package/themes/vkComDark/index.less +3 -37
- package/themes/vkComDark/index.pcss +3 -37
- package/themes/vkComDark/index.scss +5 -39
- package/themes/vkComDark/index.styl +3 -37
- package/themes/vkComDark/struct.json +3 -37
- package/themes/vkIOS/cssVars/declarations/index.css +0 -34
- package/themes/vkIOS/cssVars/declarations/noColors.css +0 -34
- package/themes/vkIOS/cssVars/declarations/noSizes.css +0 -34
- package/themes/vkIOS/cssVars/declarations/onlyVariables.css +0 -34
- package/themes/vkIOS/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/vkIOS/cssVars/declarations/onlyVariablesLocal.css +0 -34
- package/themes/vkIOS/cssVars/theme/fallbacks/index.css +0 -34
- package/themes/vkIOS/cssVars/theme/fallbacks/index.less +0 -34
- package/themes/vkIOS/cssVars/theme/fallbacks/index.pcss +0 -34
- package/themes/vkIOS/cssVars/theme/fallbacks/index.scss +0 -34
- package/themes/vkIOS/cssVars/theme/fallbacks/index.styl +0 -34
- package/themes/vkIOS/cssVars/theme/index.js +0 -136
- package/themes/vkIOS/cssVars/theme/index.json +0 -136
- package/themes/vkIOS/docs.json +1772 -966
- package/themes/vkIOS/index.css +0 -34
- package/themes/vkIOS/index.js +0 -34
- package/themes/vkIOS/index.json +0 -34
- package/themes/vkIOS/index.less +0 -34
- package/themes/vkIOS/index.pcss +0 -34
- package/themes/vkIOS/index.scss +0 -34
- package/themes/vkIOS/index.styl +0 -34
- package/themes/vkIOS/struct.json +0 -34
- package/themes/vkIOSDark/cssVars/declarations/index.css +0 -34
- package/themes/vkIOSDark/cssVars/declarations/noColors.css +0 -34
- package/themes/vkIOSDark/cssVars/declarations/noSizes.css +0 -34
- package/themes/vkIOSDark/cssVars/declarations/onlyVariables.css +0 -34
- package/themes/vkIOSDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/vkIOSDark/cssVars/declarations/onlyVariablesLocal.css +0 -34
- package/themes/vkIOSDark/cssVars/theme/fallbacks/index.css +0 -34
- package/themes/vkIOSDark/cssVars/theme/fallbacks/index.less +0 -34
- package/themes/vkIOSDark/cssVars/theme/fallbacks/index.pcss +0 -34
- package/themes/vkIOSDark/cssVars/theme/fallbacks/index.scss +0 -34
- package/themes/vkIOSDark/cssVars/theme/fallbacks/index.styl +0 -34
- package/themes/vkIOSDark/cssVars/theme/index.js +0 -136
- package/themes/vkIOSDark/cssVars/theme/index.json +0 -136
- package/themes/vkIOSDark/docs.json +1772 -966
- package/themes/vkIOSDark/index.css +0 -34
- package/themes/vkIOSDark/index.js +0 -34
- package/themes/vkIOSDark/index.json +0 -34
- package/themes/vkIOSDark/index.less +0 -34
- package/themes/vkIOSDark/index.pcss +0 -34
- package/themes/vkIOSDark/index.scss +0 -34
- package/themes/vkIOSDark/index.styl +0 -34
- package/themes/vkIOSDark/struct.json +0 -34
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { SpecialTokens, Theme } from '../../../interfaces/general';
|
|
2
|
+
export type Description = {
|
|
3
|
+
type: 'text';
|
|
4
|
+
text: string;
|
|
5
|
+
} | {
|
|
6
|
+
type: 'link';
|
|
7
|
+
url: string;
|
|
8
|
+
text: string;
|
|
9
|
+
};
|
|
2
10
|
export interface ThemePropertyDoc {
|
|
3
11
|
tags: string[];
|
|
4
|
-
desc:
|
|
12
|
+
desc: Description[];
|
|
5
13
|
}
|
|
6
14
|
export type ThemeDocs = {
|
|
7
15
|
[name: string]: ThemePropertyDoc;
|
|
@@ -18,6 +18,34 @@ exports.compileDocsJSON = exports.getTypeDocs = void 0;
|
|
|
18
18
|
var path_1 = __importDefault(require("path"));
|
|
19
19
|
var ts_morph_1 = require("ts-morph");
|
|
20
20
|
var capitalize_1 = require("../../helpers/capitalize");
|
|
21
|
+
function getTagDescription(tag) {
|
|
22
|
+
return tag
|
|
23
|
+
.getText()
|
|
24
|
+
.map(function (part) {
|
|
25
|
+
switch (part.kind) {
|
|
26
|
+
case 'text':
|
|
27
|
+
return {
|
|
28
|
+
type: 'text',
|
|
29
|
+
text: part.text,
|
|
30
|
+
};
|
|
31
|
+
case 'linkText': {
|
|
32
|
+
var _a = part.text.split(' '), url = _a[0], urlText = _a[1];
|
|
33
|
+
if (!url) {
|
|
34
|
+
throw new Error('[desc] Ожидаемый формат ссылки в JSDoc `{@link url urlText}` или `{@link url}`');
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
url: url,
|
|
38
|
+
type: 'link',
|
|
39
|
+
text: urlText || url,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
case 'link':
|
|
43
|
+
default:
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
})
|
|
47
|
+
.filter(function (i) { return i !== null; });
|
|
48
|
+
}
|
|
21
49
|
function getTagText(tag) {
|
|
22
50
|
return tag
|
|
23
51
|
.getText()
|
|
@@ -47,19 +75,20 @@ function getExportedTypeDeclarations(file, typeName) {
|
|
|
47
75
|
function mapJsDocTagsToThemePropertyDoc(tags) {
|
|
48
76
|
var doc = {
|
|
49
77
|
tags: [],
|
|
50
|
-
desc:
|
|
78
|
+
desc: [],
|
|
51
79
|
};
|
|
52
80
|
tags.forEach(function (tag) {
|
|
53
81
|
var tagName = tag.getName();
|
|
54
|
-
var tagText = getTagText(tag);
|
|
55
82
|
if (tagName === 'desc' || tagName === 'description') {
|
|
56
|
-
doc.desc =
|
|
83
|
+
doc.desc = getTagDescription(tag);
|
|
57
84
|
}
|
|
58
85
|
else if (tagName === 'tags') {
|
|
59
|
-
|
|
86
|
+
var docTags = getTagText(tag);
|
|
87
|
+
doc.tags = docTags.split(',').map(function (tag) { return tag.trim(); });
|
|
60
88
|
}
|
|
61
89
|
else if (tagName === 'tag') {
|
|
62
|
-
|
|
90
|
+
var docTag = getTagText(tag);
|
|
91
|
+
doc.tags.push(docTag);
|
|
63
92
|
}
|
|
64
93
|
});
|
|
65
94
|
return doc;
|
|
@@ -71,13 +100,24 @@ function getTypeDocs(filePath, name) {
|
|
|
71
100
|
});
|
|
72
101
|
var file = project.addSourceFileAtPath(filePath);
|
|
73
102
|
var declarations = getExportedTypeDeclarations(file, name);
|
|
74
|
-
return declarations.reduce(function (
|
|
75
|
-
var
|
|
76
|
-
var
|
|
77
|
-
|
|
78
|
-
|
|
103
|
+
return declarations.reduce(function (prevDocs, declaration) {
|
|
104
|
+
var rawProperties = declaration.getType().getApparentProperties();
|
|
105
|
+
var parsedProperties = rawProperties
|
|
106
|
+
.reduce(function (acc, prop) {
|
|
107
|
+
acc.push([prop.getName(), mapJsDocTagsToThemePropertyDoc(prop.getJsDocTags())]);
|
|
108
|
+
return acc;
|
|
109
|
+
}, [])
|
|
110
|
+
.sort(function (_a, _b) {
|
|
111
|
+
var a = _a[0];
|
|
112
|
+
var b = _b[0];
|
|
113
|
+
return a.localeCompare(b);
|
|
114
|
+
});
|
|
115
|
+
var docs = parsedProperties.reduce(function (acc, _a) {
|
|
116
|
+
var key = _a[0], value = _a[1];
|
|
117
|
+
acc[key] = value;
|
|
118
|
+
return acc;
|
|
79
119
|
}, {});
|
|
80
|
-
return __assign(__assign({},
|
|
120
|
+
return __assign(__assign({}, prevDocs), docs);
|
|
81
121
|
}, {});
|
|
82
122
|
}
|
|
83
123
|
exports.getTypeDocs = getTypeDocs;
|
|
@@ -6,32 +6,65 @@ describe('compileDocsJSON', function () {
|
|
|
6
6
|
var docs = (0, compileDocsJSON_1.getTypeDocs)('src/build/compilers/docs/__test__/testRecursiveReexport.ts', 'BaseTheme');
|
|
7
7
|
expect(docs).toEqual({
|
|
8
8
|
importedBaseProp: {
|
|
9
|
-
desc:
|
|
9
|
+
desc: [
|
|
10
|
+
{
|
|
11
|
+
type: 'text',
|
|
12
|
+
text: 'Short desc tag',
|
|
13
|
+
},
|
|
14
|
+
],
|
|
10
15
|
tags: ['tag1', 'tag2'],
|
|
11
16
|
},
|
|
12
17
|
});
|
|
13
18
|
});
|
|
19
|
+
it('should correct compile documentation with jsdoc link', function () {
|
|
20
|
+
var docs = (0, compileDocsJSON_1.getTypeDocs)('src/build/compilers/docs/__test__/testLinks.ts', 'BaseTheme');
|
|
21
|
+
expect(docs).toEqual({
|
|
22
|
+
importedBaseProp: {
|
|
23
|
+
desc: [
|
|
24
|
+
{
|
|
25
|
+
type: 'text',
|
|
26
|
+
text: 'Link with text ',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
type: 'link',
|
|
30
|
+
url: 'https://google.com',
|
|
31
|
+
text: 'Google',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
type: 'text',
|
|
35
|
+
text: '.\nLink without text ',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
type: 'link',
|
|
39
|
+
url: 'https://google.com',
|
|
40
|
+
text: 'https://google.com',
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
tags: [],
|
|
44
|
+
},
|
|
45
|
+
});
|
|
46
|
+
});
|
|
14
47
|
it('should correct compile documentation with imports', function () {
|
|
15
48
|
var docs = (0, compileDocsJSON_1.getTypeDocs)('src/build/compilers/docs/__test__/testTheme.ts', 'ThemeTest');
|
|
16
49
|
expect(docs).toEqual({
|
|
17
50
|
prop: {
|
|
18
|
-
desc:
|
|
51
|
+
desc: [],
|
|
19
52
|
tags: ['empty description'],
|
|
20
53
|
},
|
|
21
54
|
propWithoutDoc: {
|
|
22
|
-
desc:
|
|
55
|
+
desc: [],
|
|
23
56
|
tags: [],
|
|
24
57
|
},
|
|
25
58
|
localBaseProp: {
|
|
26
|
-
desc: 'Empty tags',
|
|
59
|
+
desc: [{ type: 'text', text: 'Empty tags' }],
|
|
27
60
|
tags: [],
|
|
28
61
|
},
|
|
29
62
|
importedBaseProp: {
|
|
30
|
-
desc: 'Short desc tag',
|
|
63
|
+
desc: [{ type: 'text', text: 'Short desc tag' }],
|
|
31
64
|
tags: ['tag1', 'tag2'],
|
|
32
65
|
},
|
|
33
66
|
derivedProp: {
|
|
34
|
-
desc: 'Long description tag',
|
|
67
|
+
desc: [{ type: 'text', text: 'Long description tag' }],
|
|
35
68
|
tags: ['tagListItem1', 'tagListItem2', 'tagListItem3'],
|
|
36
69
|
},
|
|
37
70
|
});
|
|
@@ -6,7 +6,7 @@ export declare const EStyleTypes: {
|
|
|
6
6
|
readonly LESS: "less";
|
|
7
7
|
readonly STYL: "styl";
|
|
8
8
|
};
|
|
9
|
-
export type Formats = typeof EStyleTypes[keyof typeof EStyleTypes];
|
|
9
|
+
export type Formats = (typeof EStyleTypes)[keyof typeof EStyleTypes];
|
|
10
10
|
export declare const varDeclarations: {
|
|
11
11
|
readonly css: (prop: any, prefix?: string) => string;
|
|
12
12
|
readonly pcss: (prop: any, prefix?: string) => string;
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
import { Theme, ThemeCssVars, ThemeDescription } from '../../general';
|
|
2
|
-
import { GradientPoints } from '../../general/gradients';
|
|
3
|
-
import { Tokens } from '../../general/tools/tokenValue';
|
|
4
|
-
export interface VkGradients {
|
|
5
|
-
/**
|
|
6
|
-
* @desc Градиент AquamarineBlue
|
|
7
|
-
* @tags gradient
|
|
8
|
-
*/
|
|
9
|
-
gradientAquamarineBlue: GradientPoints;
|
|
10
|
-
/**
|
|
11
|
-
* @desc Градиент Blue
|
|
12
|
-
* @tags gradient
|
|
13
|
-
*/
|
|
14
|
-
gradientBlue: GradientPoints;
|
|
15
|
-
/**
|
|
16
|
-
* @desc Градиент Candy
|
|
17
|
-
* @tags gradient
|
|
18
|
-
*/
|
|
19
|
-
gradientCandy: GradientPoints;
|
|
20
|
-
/**
|
|
21
|
-
* @desc Градиент Crimson
|
|
22
|
-
* @tags gradient
|
|
23
|
-
*/
|
|
24
|
-
gradientCrimson: GradientPoints;
|
|
25
|
-
/**
|
|
26
|
-
* @desc Градиент Disco
|
|
27
|
-
* @tags gradient
|
|
28
|
-
*/
|
|
29
|
-
gradientDisco: GradientPoints;
|
|
30
|
-
/**
|
|
31
|
-
* @desc Градиент Emerald
|
|
32
|
-
* @tags gradient
|
|
33
|
-
*/
|
|
34
|
-
gradientEmerald: GradientPoints;
|
|
35
|
-
/**
|
|
36
|
-
* @desc Градиент Gray
|
|
37
|
-
* @tags gradient
|
|
38
|
-
*/
|
|
39
|
-
gradientGray: GradientPoints;
|
|
40
|
-
/**
|
|
41
|
-
* @desc Градиент Green
|
|
42
|
-
* @tags gradient
|
|
43
|
-
*/
|
|
44
|
-
gradientGreen: GradientPoints;
|
|
45
|
-
/**
|
|
46
|
-
* @desc Градиент Lagoon
|
|
47
|
-
* @tags gradient
|
|
48
|
-
*/
|
|
49
|
-
gradientLagoon: GradientPoints;
|
|
50
|
-
/**
|
|
51
|
-
* @desc Градиент Lavender
|
|
52
|
-
* @tags gradient
|
|
53
|
-
*/
|
|
54
|
-
gradientLavender: GradientPoints;
|
|
55
|
-
/**
|
|
56
|
-
* @desc Градиент Marine
|
|
57
|
-
* @tags gradient
|
|
58
|
-
*/
|
|
59
|
-
gradientMarine: GradientPoints;
|
|
60
|
-
/**
|
|
61
|
-
* @desc Градиент Midnight
|
|
62
|
-
* @tags gradient
|
|
63
|
-
*/
|
|
64
|
-
gradientMidnight: GradientPoints;
|
|
65
|
-
/**
|
|
66
|
-
* @desc Градиент Orange
|
|
67
|
-
* @tags gradient
|
|
68
|
-
*/
|
|
69
|
-
gradientOrange: GradientPoints;
|
|
70
|
-
/**
|
|
71
|
-
* @desc Градиент Pink
|
|
72
|
-
* @tags gradient
|
|
73
|
-
*/
|
|
74
|
-
gradientPink: GradientPoints;
|
|
75
|
-
/**
|
|
76
|
-
* @desc Градиент Purple
|
|
77
|
-
* @tags gradient
|
|
78
|
-
*/
|
|
79
|
-
gradientPurple: GradientPoints;
|
|
80
|
-
/**
|
|
81
|
-
* @desc Градиент RaspberryPink
|
|
82
|
-
* @tags gradient
|
|
83
|
-
*/
|
|
84
|
-
gradientRaspberryPink: GradientPoints;
|
|
85
|
-
/**
|
|
86
|
-
* @desc Градиент Red
|
|
87
|
-
* @tags gradient
|
|
88
|
-
*/
|
|
89
|
-
gradientRed: GradientPoints;
|
|
90
|
-
/**
|
|
91
|
-
* @desc Градиент Retrowave
|
|
92
|
-
* @tags gradient
|
|
93
|
-
*/
|
|
94
|
-
gradientRetrowave: GradientPoints;
|
|
95
|
-
/**
|
|
96
|
-
* @desc Градиент Sunset
|
|
97
|
-
* @tags gradient
|
|
98
|
-
*/
|
|
99
|
-
gradientSunset: GradientPoints;
|
|
100
|
-
/**
|
|
101
|
-
* @desc Градиент Turquoise
|
|
102
|
-
* @tags gradient
|
|
103
|
-
*/
|
|
104
|
-
gradientTurquoise: GradientPoints;
|
|
105
|
-
/**
|
|
106
|
-
* @desc Градиент Twilight
|
|
107
|
-
* @tags gradient
|
|
108
|
-
*/
|
|
109
|
-
gradientTwilight: GradientPoints;
|
|
110
|
-
/**
|
|
111
|
-
* @desc Градиент Unicorn
|
|
112
|
-
* @tags gradient
|
|
113
|
-
*/
|
|
114
|
-
gradientUnicorn: GradientPoints;
|
|
115
|
-
/**
|
|
116
|
-
* @desc Градиент Violet
|
|
117
|
-
* @tags gradient
|
|
118
|
-
*/
|
|
119
|
-
gradientViolet: GradientPoints;
|
|
120
|
-
/**
|
|
121
|
-
* @desc Градиент Yellow
|
|
122
|
-
* @tags gradient
|
|
123
|
-
*/
|
|
124
|
-
gradientYellow: GradientPoints;
|
|
125
|
-
/**
|
|
126
|
-
* @desc Градиент YellowBright
|
|
127
|
-
* @tags gradient
|
|
128
|
-
*/
|
|
129
|
-
gradientYellowBright: GradientPoints;
|
|
130
|
-
/**
|
|
131
|
-
* @desc Градиент HalloweenOrange
|
|
132
|
-
* @tags gradient
|
|
133
|
-
*/
|
|
134
|
-
gradientHalloweenOrange: GradientPoints;
|
|
135
|
-
/**
|
|
136
|
-
* @desc Градиент HalloweenViolet
|
|
137
|
-
* @tags gradient
|
|
138
|
-
*/
|
|
139
|
-
gradientHalloweenViolet: GradientPoints;
|
|
140
|
-
/**
|
|
141
|
-
* @desc Градиент NewYear
|
|
142
|
-
* @tags gradient
|
|
143
|
-
*/
|
|
144
|
-
gradientNewYear: GradientPoints;
|
|
145
|
-
/**
|
|
146
|
-
* @desc Градиент Frost
|
|
147
|
-
* @tags gradient
|
|
148
|
-
*/
|
|
149
|
-
gradientFrost: GradientPoints;
|
|
150
|
-
/**
|
|
151
|
-
* @desc Градиент Valentine
|
|
152
|
-
* @tags gradient
|
|
153
|
-
*/
|
|
154
|
-
gradientValentine: GradientPoints;
|
|
155
|
-
/**
|
|
156
|
-
* @desc Градиент WarmValentine
|
|
157
|
-
* @tags gradient
|
|
158
|
-
*/
|
|
159
|
-
gradientWarmValentine: GradientPoints;
|
|
160
|
-
/**
|
|
161
|
-
* @desc Градиент Sberkot
|
|
162
|
-
* @tags gradient
|
|
163
|
-
*/
|
|
164
|
-
gradientSberkot: GradientPoints;
|
|
165
|
-
/**
|
|
166
|
-
* @desc Градиент Mable
|
|
167
|
-
* @tags gradient
|
|
168
|
-
*/
|
|
169
|
-
gradientMable: GradientPoints;
|
|
170
|
-
/**
|
|
171
|
-
* @desc Градиент WomensDay
|
|
172
|
-
* @tags gradient
|
|
173
|
-
*/
|
|
174
|
-
gradientWomensDay: GradientPoints;
|
|
175
|
-
}
|
|
176
|
-
export interface VkTheme extends Theme, VkGradients {
|
|
177
|
-
}
|
|
178
|
-
export interface VkThemeDescription extends ThemeDescription, Tokens<VkGradients> {
|
|
179
|
-
}
|
|
180
|
-
export interface VkThemeCssVars extends ThemeCssVars<VkTheme> {
|
|
181
|
-
}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
// место где можно оперделить локальные переменные вк, как вариант
|
|
@@ -90,6 +90,7 @@ export interface LocalOctaviusColorsDescriptionStruct {
|
|
|
90
90
|
octaviusColorButtonEmptyStateBackgroundAlpha: ColorDescription;
|
|
91
91
|
octaviusColorBackground: ColorDescription;
|
|
92
92
|
octaviusColorOverlayBackground: ColorDescription;
|
|
93
|
+
octaviusColorActionArchive: ColorDescription;
|
|
93
94
|
octaviusColorHeaderBackground: ColorDescription;
|
|
94
95
|
octaviusColorHeaderButtonText: ColorDescription;
|
|
95
96
|
octaviusColorHeaderButtonBackgroundAlpha: ColorDescription;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface ThemeVkBase extends
|
|
1
|
+
import { Theme, ThemeCssVars, ThemeDescription } from '../../general';
|
|
2
|
+
export interface ThemeVkBase extends Theme {
|
|
3
3
|
}
|
|
4
|
-
export interface ThemeVkBaseDescription extends
|
|
4
|
+
export interface ThemeVkBaseDescription extends ThemeDescription {
|
|
5
5
|
}
|
|
6
|
-
export interface ThemeVkBaseCssVars extends
|
|
6
|
+
export interface ThemeVkBaseCssVars extends ThemeCssVars {
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface ThemeVkBaseDark extends
|
|
1
|
+
import { Theme, ThemeCssVars, ThemeDescription } from '../../general';
|
|
2
|
+
export interface ThemeVkBaseDark extends Theme {
|
|
3
3
|
}
|
|
4
|
-
export interface ThemeVkBaseDarkDescription extends
|
|
4
|
+
export interface ThemeVkBaseDarkDescription extends ThemeDescription {
|
|
5
5
|
}
|
|
6
|
-
export interface ThemeVkBaseDarkCssVars extends
|
|
6
|
+
export interface ThemeVkBaseDarkCssVars extends ThemeCssVars {
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vkontakte/vkui-tokens",
|
|
3
|
-
"version": "4.29.
|
|
3
|
+
"version": "4.29.4",
|
|
4
4
|
"description": "Репозиторий, который содержит в себе дизайн-токены и другие инструменты объединенной дизайн-системы VKUI и Paradigm",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "utils/descriptions.js",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"eslint-config-silence": "1.0.0",
|
|
64
64
|
"eslint-import-resolver-alias": "1.1.2",
|
|
65
65
|
"eslint-plugin-compat": "4.0.2",
|
|
66
|
-
"eslint-plugin-import": "2.
|
|
66
|
+
"eslint-plugin-import": "2.27.5",
|
|
67
67
|
"eslint-plugin-jasmine": "4.1.3",
|
|
68
68
|
"eslint-plugin-prettier": "4.2.1",
|
|
69
69
|
"eslint-plugin-simple-import-sort": "8.0.0",
|
|
@@ -73,19 +73,19 @@
|
|
|
73
73
|
"jest": "29.4.1",
|
|
74
74
|
"jest-junit": "15.0.0",
|
|
75
75
|
"lodash": "4.17.21",
|
|
76
|
-
"prettier": "2.8.
|
|
76
|
+
"prettier": "2.8.4",
|
|
77
77
|
"react": "18.2.0",
|
|
78
78
|
"react-dom": "18.2.0",
|
|
79
|
-
"rimraf": "
|
|
79
|
+
"rimraf": "4.4.0",
|
|
80
80
|
"style-loader": "3.3.1",
|
|
81
81
|
"terser-webpack-plugin": "5.3.6",
|
|
82
82
|
"ts-jest": "29.0.5",
|
|
83
83
|
"ts-loader": "9.4.2",
|
|
84
84
|
"ts-morph": "17.0.1",
|
|
85
85
|
"ts-node": "10.9.1",
|
|
86
|
-
"tsconfig-paths": "4.1.
|
|
86
|
+
"tsconfig-paths": "4.1.2",
|
|
87
87
|
"tscpaths": "0.0.9",
|
|
88
|
-
"type-fest": "3.
|
|
88
|
+
"type-fest": "3.6.1",
|
|
89
89
|
"typescript": "4.9.5",
|
|
90
90
|
"webpack": "5.75.0",
|
|
91
91
|
"webpack-cli": "5.0.1",
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { ColorsDescription } from '../../interfaces/general';
|
|
1
|
+
import { ColorsDescription, ThemeDescription } from '../../interfaces/general';
|
|
2
2
|
import { Elevation } from '../../interfaces/general/elevation';
|
|
3
3
|
import { Gradients } from '../../interfaces/general/gradients';
|
|
4
|
-
import { VkGradients, VkThemeDescription } from '../../interfaces/namespaces/vk';
|
|
5
4
|
export declare const lightColors: ColorsDescription;
|
|
6
5
|
export declare const lightGradient: Gradients;
|
|
7
6
|
export declare const lightElevation: Elevation;
|
|
8
7
|
export declare const darkColors: ColorsDescription;
|
|
9
8
|
export declare const darkGradient: Gradients;
|
|
10
9
|
export declare const darkElevation: Elevation;
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const darkTheme: VkThemeDescription;
|
|
10
|
+
export declare const lightTheme: ThemeDescription;
|
|
11
|
+
export declare const darkTheme: ThemeDescription;
|
|
@@ -11,7 +11,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
return __assign.apply(this, arguments);
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.darkTheme = exports.lightTheme = exports.
|
|
14
|
+
exports.darkTheme = exports.lightTheme = exports.darkElevation = exports.darkGradient = exports.darkColors = exports.lightElevation = exports.lightGradient = exports.lightColors = void 0;
|
|
15
15
|
var getGradientPointsFromColor_1 = require("../../build/helpers/getGradientPointsFromColor");
|
|
16
16
|
var tokenHelpers_1 = require("../../build/helpers/tokenHelpers");
|
|
17
17
|
var fontFamilyAccent = "-apple-system, system-ui, \"Helvetica Neue\", Roboto, sans-serif";
|
|
@@ -279,43 +279,7 @@ exports.darkElevation = {
|
|
|
279
279
|
elevation3: '0px 0px 2px rgba(0, 0, 0, 0.08), 0px 4px 16px rgba(0, 0, 0, 0.08)',
|
|
280
280
|
elevation4: '0px 0px 8px rgba(0, 0, 0, 0.12), 0px 16px 16px rgba(0, 0, 0, 0.16)',
|
|
281
281
|
};
|
|
282
|
-
exports.
|
|
283
|
-
gradientAquamarineBlue: '#7DF1FA, #2BB4D6',
|
|
284
|
-
gradientBlue: '#66CCFF, #3F8AE0',
|
|
285
|
-
gradientCandy: '#FF99CC, #E52E6A',
|
|
286
|
-
gradientCrimson: '#FF7373, #E53949, #BF1C38',
|
|
287
|
-
gradientDisco: '#FFB726, #FF2693, #8122E0, #2693FF',
|
|
288
|
-
gradientEmerald: '#00D948, #0D8046',
|
|
289
|
-
gradientGray: '#C1CAD6, #878F99',
|
|
290
|
-
gradientGreen: '#6CD97E, #12B312',
|
|
291
|
-
gradientLagoon: '#2BD9D9, #5C9CE6',
|
|
292
|
-
gradientLavender: '#928FFF, #4B47B2',
|
|
293
|
-
gradientMarine: '#2EE54D, #0D7EFF',
|
|
294
|
-
gradientMidnight: '#73D0FF, #3885E1, #0032A6',
|
|
295
|
-
gradientOrange: '#FFBF80, #E66B2E',
|
|
296
|
-
gradientPink: '#FF8880, #E62E6B',
|
|
297
|
-
gradientPurple: '#A393F5, #735CE6',
|
|
298
|
-
gradientRaspberryPink: '#FF80D5, #E645B1',
|
|
299
|
-
gradientRed: '#FF7583, #E62E40',
|
|
300
|
-
gradientRetrowave: '#30F2B1, #5967FF, #FF26A5',
|
|
301
|
-
gradientSunset: '#FFD24D, #F26549, #E62E6B',
|
|
302
|
-
gradientTurquoise: '#8AE6E6, #12B3B3',
|
|
303
|
-
gradientTwilight: '#FF4D87, #9F40FF, #3399FF',
|
|
304
|
-
gradientUnicorn: '#FF99CC, #A179F2, #5CA1E6',
|
|
305
|
-
gradientViolet: '#D3A6FF, #903FE0',
|
|
306
|
-
gradientYellow: '#FFC44D, #F07300',
|
|
307
|
-
gradientYellowBright: '#FFD54F, #E7A902',
|
|
308
|
-
gradientHalloweenOrange: '#CB1E3B, #F05C44, #FFA000',
|
|
309
|
-
gradientHalloweenViolet: '#FFA000, #CD4C4B, #792EC0',
|
|
310
|
-
gradientNewYear: '#BB64E4, #805BD7, #2866D5',
|
|
311
|
-
gradientFrost: '#4FA0FF, #016CEA',
|
|
312
|
-
gradientValentine: '#FF8A65, #F25383, #8F13DB',
|
|
313
|
-
gradientWarmValentine: '#F3386A, #FF819E',
|
|
314
|
-
gradientSberkot: '#9DF19D, #31C2A7, #21A19A, #107F8C',
|
|
315
|
-
gradientMable: '#D9F4FF, #D9F4FF',
|
|
316
|
-
gradientWomensDay: '#FF99CC, #E52E6A',
|
|
317
|
-
};
|
|
318
|
-
exports.lightTheme = __assign(__assign(__assign(__assign(__assign({ themeName: 'vkBase', themeNameBase: 'vkBase' }, exports.lightColors), exports.gradients), exports.lightGradient), exports.lightElevation), {
|
|
282
|
+
exports.lightTheme = __assign(__assign(__assign(__assign({ themeName: 'vkBase', themeNameBase: 'vkBase' }, exports.lightColors), exports.lightGradient), exports.lightElevation), {
|
|
319
283
|
// Типографика
|
|
320
284
|
fontFamilyAccent: fontFamilyAccent, fontFamilyBase: fontFamilyBase, fontWeightAccent1: fontWeightAccent1, fontWeightAccent2: fontWeightAccent2, fontWeightAccent3: fontWeightAccent3, fontWeightBase1: fontWeightBase1, fontWeightBase2: fontWeightBase2, fontWeightBase3: fontWeightBase3, fontTitle1: {
|
|
321
285
|
regular: {
|