@vkontakte/vkui-tokens 4.42.0 → 4.43.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/interfaces/themes/dobro/index.d.ts +38 -0
- package/interfaces/themes/dobro/index.js +2 -0
- package/interfaces/themes/dobroDark/index.d.ts +4 -0
- package/interfaces/themes/dobroDark/index.js +2 -0
- package/package.json +7 -7
- package/themes/dobro/cssVars/declarations/index.css +954 -0
- package/themes/dobro/cssVars/declarations/noColors.css +516 -0
- package/themes/dobro/cssVars/declarations/noSizes.css +350 -0
- package/themes/dobro/cssVars/declarations/onlyAdaptiveGroups.css +130 -0
- package/themes/dobro/cssVars/declarations/onlyColors.css +308 -0
- package/themes/dobro/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/dobro/cssVars/declarations/onlyColors.js +11 -0
- package/themes/dobro/cssVars/declarations/onlyVariables.css +544 -0
- package/themes/dobro/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/dobro/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/dobro/cssVars/declarations/onlyVariablesLocal.css +544 -0
- package/themes/dobro/cssVars/declarations/onlyVariablesLocalIncremental.css +544 -0
- package/themes/dobro/cssVars/theme/fallbacks/index.css +823 -0
- package/themes/dobro/cssVars/theme/fallbacks/index.less +608 -0
- package/themes/dobro/cssVars/theme/fallbacks/index.pcss +609 -0
- package/themes/dobro/cssVars/theme/fallbacks/index.scss +810 -0
- package/themes/dobro/cssVars/theme/fallbacks/index.styl +608 -0
- package/themes/dobro/cssVars/theme/index.d.ts +4 -0
- package/themes/dobro/cssVars/theme/index.js +3276 -0
- package/themes/dobro/cssVars/theme/index.json +3273 -0
- package/themes/dobro/docs.json +2795 -0
- package/themes/dobro/index.css +823 -0
- package/themes/dobro/index.d.ts +4 -0
- package/themes/dobro/index.js +984 -0
- package/themes/dobro/index.json +981 -0
- package/themes/dobro/index.less +608 -0
- package/themes/dobro/index.pcss +609 -0
- package/themes/dobro/index.scss +810 -0
- package/themes/dobro/index.styl +608 -0
- package/themes/dobro/struct.json +1007 -0
- package/themes/dobroDark/cssVars/declarations/index.css +955 -0
- package/themes/dobroDark/cssVars/declarations/noColors.css +517 -0
- package/themes/dobroDark/cssVars/declarations/noSizes.css +351 -0
- package/themes/dobroDark/cssVars/declarations/onlyAdaptiveGroups.css +130 -0
- package/themes/dobroDark/cssVars/declarations/onlyColors.css +308 -0
- package/themes/dobroDark/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/dobroDark/cssVars/declarations/onlyColors.js +11 -0
- package/themes/dobroDark/cssVars/declarations/onlyVariables.css +545 -0
- package/themes/dobroDark/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/dobroDark/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/dobroDark/cssVars/declarations/onlyVariablesLocal.css +545 -0
- package/themes/dobroDark/cssVars/declarations/onlyVariablesLocalIncremental.css +304 -0
- package/themes/dobroDark/cssVars/theme/fallbacks/index.css +824 -0
- package/themes/dobroDark/cssVars/theme/fallbacks/index.less +609 -0
- package/themes/dobroDark/cssVars/theme/fallbacks/index.pcss +610 -0
- package/themes/dobroDark/cssVars/theme/fallbacks/index.scss +811 -0
- package/themes/dobroDark/cssVars/theme/fallbacks/index.styl +609 -0
- package/themes/dobroDark/cssVars/theme/index.d.ts +4 -0
- package/themes/dobroDark/cssVars/theme/index.js +3280 -0
- package/themes/dobroDark/cssVars/theme/index.json +3277 -0
- package/themes/dobroDark/docs.json +2795 -0
- package/themes/dobroDark/index.css +824 -0
- package/themes/dobroDark/index.d.ts +4 -0
- package/themes/dobroDark/index.js +985 -0
- package/themes/dobroDark/index.json +982 -0
- package/themes/dobroDark/index.less +609 -0
- package/themes/dobroDark/index.pcss +610 -0
- package/themes/dobroDark/index.scss +811 -0
- package/themes/dobroDark/index.styl +609 -0
- package/themes/dobroDark/struct.json +1008 -0
- package/themes/home/cssVars/declarations/index.css +3 -3
- package/themes/home/cssVars/declarations/noColors.css +3 -3
- package/themes/home/cssVars/declarations/noSizes.css +3 -3
- package/themes/home/cssVars/declarations/onlyVariables.css +3 -3
- package/themes/home/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/home/cssVars/declarations/onlyVariablesLocal.css +3 -3
- package/themes/home/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -3
- package/themes/home/cssVars/theme/fallbacks/index.css +3 -3
- package/themes/home/cssVars/theme/fallbacks/index.less +3 -3
- package/themes/home/cssVars/theme/fallbacks/index.pcss +3 -3
- package/themes/home/cssVars/theme/fallbacks/index.scss +3 -3
- package/themes/home/cssVars/theme/fallbacks/index.styl +3 -3
- package/themes/home/cssVars/theme/index.js +3 -3
- package/themes/home/cssVars/theme/index.json +3 -3
- package/themes/home/index.css +3 -3
- package/themes/home/index.js +3 -3
- package/themes/home/index.json +3 -3
- package/themes/home/index.less +3 -3
- package/themes/home/index.pcss +3 -3
- package/themes/home/index.scss +3 -3
- package/themes/home/index.styl +3 -3
- package/themes/home/struct.json +3 -3
- package/themes/homeDark/cssVars/declarations/index.css +3 -3
- package/themes/homeDark/cssVars/declarations/noColors.css +3 -3
- package/themes/homeDark/cssVars/declarations/noSizes.css +3 -3
- package/themes/homeDark/cssVars/declarations/onlyVariables.css +3 -3
- package/themes/homeDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/homeDark/cssVars/declarations/onlyVariablesLocal.css +3 -3
- package/themes/homeDark/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -3
- package/themes/homeDark/cssVars/theme/fallbacks/index.css +3 -3
- package/themes/homeDark/cssVars/theme/fallbacks/index.less +3 -3
- package/themes/homeDark/cssVars/theme/fallbacks/index.pcss +3 -3
- package/themes/homeDark/cssVars/theme/fallbacks/index.scss +3 -3
- package/themes/homeDark/cssVars/theme/fallbacks/index.styl +3 -3
- package/themes/homeDark/cssVars/theme/index.js +3 -3
- package/themes/homeDark/cssVars/theme/index.json +3 -3
- package/themes/homeDark/index.css +3 -3
- package/themes/homeDark/index.js +3 -3
- package/themes/homeDark/index.json +3 -3
- package/themes/homeDark/index.less +3 -3
- package/themes/homeDark/index.pcss +3 -3
- package/themes/homeDark/index.scss +3 -3
- package/themes/homeDark/index.styl +3 -3
- package/themes/homeDark/struct.json +3 -3
- package/themes/vkontakteAndroid/cssVars/declarations/index.css +1 -1
- package/themes/vkontakteAndroid/cssVars/declarations/noColors.css +1 -1
- package/themes/vkontakteAndroid/cssVars/declarations/onlyVariables.css +1 -1
- package/themes/vkontakteAndroid/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/vkontakteAndroid/cssVars/declarations/onlyVariablesLocal.css +1 -1
- package/themes/vkontakteAndroid/cssVars/declarations/onlyVariablesLocalIncremental.css +1 -0
- package/themes/vkontakteAndroid/cssVars/theme/fallbacks/index.css +1 -1
- package/themes/vkontakteAndroid/cssVars/theme/fallbacks/index.less +1 -1
- package/themes/vkontakteAndroid/cssVars/theme/fallbacks/index.pcss +1 -1
- package/themes/vkontakteAndroid/cssVars/theme/fallbacks/index.scss +1 -1
- package/themes/vkontakteAndroid/cssVars/theme/fallbacks/index.styl +1 -1
- package/themes/vkontakteAndroid/cssVars/theme/index.js +1 -1
- package/themes/vkontakteAndroid/cssVars/theme/index.json +1 -1
- package/themes/vkontakteAndroid/index.css +1 -1
- package/themes/vkontakteAndroid/index.js +1 -1
- package/themes/vkontakteAndroid/index.json +1 -1
- package/themes/vkontakteAndroid/index.less +1 -1
- package/themes/vkontakteAndroid/index.pcss +1 -1
- package/themes/vkontakteAndroid/index.scss +1 -1
- package/themes/vkontakteAndroid/index.styl +1 -1
- package/themes/vkontakteAndroid/struct.json +1 -1
- package/themes/vkontakteAndroidDark/cssVars/declarations/index.css +1 -1
- package/themes/vkontakteAndroidDark/cssVars/declarations/noColors.css +1 -1
- package/themes/vkontakteAndroidDark/cssVars/declarations/onlyVariables.css +1 -1
- package/themes/vkontakteAndroidDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/vkontakteAndroidDark/cssVars/declarations/onlyVariablesLocal.css +1 -1
- package/themes/vkontakteAndroidDark/cssVars/declarations/onlyVariablesLocalIncremental.css +1 -0
- package/themes/vkontakteAndroidDark/cssVars/theme/fallbacks/index.css +1 -1
- package/themes/vkontakteAndroidDark/cssVars/theme/fallbacks/index.less +1 -1
- package/themes/vkontakteAndroidDark/cssVars/theme/fallbacks/index.pcss +1 -1
- package/themes/vkontakteAndroidDark/cssVars/theme/fallbacks/index.scss +1 -1
- package/themes/vkontakteAndroidDark/cssVars/theme/fallbacks/index.styl +1 -1
- package/themes/vkontakteAndroidDark/cssVars/theme/index.js +1 -1
- package/themes/vkontakteAndroidDark/cssVars/theme/index.json +1 -1
- package/themes/vkontakteAndroidDark/index.css +1 -1
- package/themes/vkontakteAndroidDark/index.js +1 -1
- package/themes/vkontakteAndroidDark/index.json +1 -1
- package/themes/vkontakteAndroidDark/index.less +1 -1
- package/themes/vkontakteAndroidDark/index.pcss +1 -1
- package/themes/vkontakteAndroidDark/index.scss +1 -1
- package/themes/vkontakteAndroidDark/index.styl +1 -1
- package/themes/vkontakteAndroidDark/struct.json +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Theme, ThemeCssVars, ThemeDescription } from '../../general';
|
|
2
|
+
import type { Adaptive } from '../../general/tools';
|
|
3
|
+
import type { Fonts, TypographyBaseProps } from '../../general/typography';
|
|
4
|
+
export interface ThemeDobro extends Theme, ThemeDobroMedia, ThemeDobroCustomTokens, ThemeDobroFonts {
|
|
5
|
+
}
|
|
6
|
+
export interface ThemeDobroDescription extends ThemeDescription, ThemeDobroMedia, ThemeDobroCustomTokens, ThemeDobroFonts {
|
|
7
|
+
}
|
|
8
|
+
export interface ThemeDobroCssVars extends ThemeCssVars<ThemeDobro> {
|
|
9
|
+
}
|
|
10
|
+
interface ThemeDobroCustomTokens {
|
|
11
|
+
dobroPortalZIndex: number;
|
|
12
|
+
dobroPopoutZIndex: number;
|
|
13
|
+
dobroModalZIndex: number;
|
|
14
|
+
dobroMenuZIndex: number;
|
|
15
|
+
}
|
|
16
|
+
export interface ThemeDobroFonts {
|
|
17
|
+
dobroFontFamily600: string;
|
|
18
|
+
dobroFontFamily500: string;
|
|
19
|
+
dobroFontFamily400: string;
|
|
20
|
+
}
|
|
21
|
+
export interface ThemeDobroMedia {
|
|
22
|
+
dobroLayoutWidthToMobileS: string;
|
|
23
|
+
dobroLayoutWidthMobileM: string;
|
|
24
|
+
dobroLayoutWidthToMobileM: string;
|
|
25
|
+
dobroLayoutWidthMobileL: string;
|
|
26
|
+
dobroLayoutWidthToMobile: string;
|
|
27
|
+
dobroLayoutWidthFromTablet: string;
|
|
28
|
+
dobroLayoutWidthTablet: string;
|
|
29
|
+
dobroLayoutWidthToTablet: string;
|
|
30
|
+
dobroLayoutWidthFromDesktopS: string;
|
|
31
|
+
dobroLayoutWidthDesktopS: string;
|
|
32
|
+
dobroLayoutWidthToDesktopS: string;
|
|
33
|
+
dobroLayoutWidthDesktopM: string;
|
|
34
|
+
}
|
|
35
|
+
export type BaseFonts = Omit<{
|
|
36
|
+
[key in keyof Fonts]: Adaptive<Fonts[key]>;
|
|
37
|
+
}, 'fontHeadline'> & TypographyBaseProps;
|
|
38
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vkontakte/vkui-tokens",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.43.0",
|
|
4
4
|
"description": "Репозиторий, который содержит в себе дизайн-токены и другие инструменты объединенной дизайн-системы VKUI и Paradigm",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://vkcom.github.io/vkui-tokens",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"csstype": "^3.1.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@babel/core": "7.23.
|
|
46
|
+
"@babel/core": "7.23.9",
|
|
47
47
|
"@svgr/webpack": "8.1.0",
|
|
48
48
|
"@types/color": "3.0.6",
|
|
49
49
|
"@types/common-tags": "1.8.4",
|
|
@@ -53,20 +53,20 @@
|
|
|
53
53
|
"@types/react": "18.2.48",
|
|
54
54
|
"@types/react-dom": "18.2.18",
|
|
55
55
|
"@typescript-eslint/eslint-plugin": "6.13.2",
|
|
56
|
-
"@typescript-eslint/parser": "6.
|
|
56
|
+
"@typescript-eslint/parser": "6.20.0",
|
|
57
57
|
"@vkontakte/appearance": "https://github.com/VKCOM/Appearance#v10.1.7",
|
|
58
58
|
"@vkontakte/icons": "2.95.0",
|
|
59
59
|
"@vkontakte/prettier-config": "0.1.0",
|
|
60
60
|
"@vkontakte/vk-bridge": "2.12.2",
|
|
61
61
|
"@vkontakte/vkjs": "1.1.1",
|
|
62
|
-
"@vkontakte/vkui": "
|
|
62
|
+
"@vkontakte/vkui": "6.0.0",
|
|
63
63
|
"babel-jest": "29.7.0",
|
|
64
64
|
"babel-loader": "9.1.3",
|
|
65
65
|
"clean-webpack-plugin": "4.0.0",
|
|
66
66
|
"clsx": "2.0.0",
|
|
67
67
|
"color": "4.2.3",
|
|
68
68
|
"common-tags": "1.8.2",
|
|
69
|
-
"copy-webpack-plugin": "
|
|
69
|
+
"copy-webpack-plugin": "12.0.2",
|
|
70
70
|
"css-loader": "6.8.1",
|
|
71
71
|
"css.escape": "1.5.1",
|
|
72
72
|
"eslint": "7.32.0",
|
|
@@ -92,13 +92,13 @@
|
|
|
92
92
|
"rimraf": "5.0.5",
|
|
93
93
|
"style-loader": "3.3.3",
|
|
94
94
|
"terser-webpack-plugin": "5.3.9",
|
|
95
|
-
"ts-jest": "29.1.
|
|
95
|
+
"ts-jest": "29.1.2",
|
|
96
96
|
"ts-loader": "9.5.1",
|
|
97
97
|
"ts-morph": "20.0.0",
|
|
98
98
|
"ts-node": "10.9.2",
|
|
99
99
|
"tsconfig-paths": "4.2.0",
|
|
100
100
|
"tscpaths": "0.0.9",
|
|
101
|
-
"type-fest": "4.
|
|
101
|
+
"type-fest": "4.10.1",
|
|
102
102
|
"typescript": "5.2.2",
|
|
103
103
|
"webpack": "5.89.0",
|
|
104
104
|
"webpack-cli": "5.1.4",
|