@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.
Files changed (151) hide show
  1. package/interfaces/themes/dobro/index.d.ts +38 -0
  2. package/interfaces/themes/dobro/index.js +2 -0
  3. package/interfaces/themes/dobroDark/index.d.ts +4 -0
  4. package/interfaces/themes/dobroDark/index.js +2 -0
  5. package/package.json +7 -7
  6. package/themes/dobro/cssVars/declarations/index.css +954 -0
  7. package/themes/dobro/cssVars/declarations/noColors.css +516 -0
  8. package/themes/dobro/cssVars/declarations/noSizes.css +350 -0
  9. package/themes/dobro/cssVars/declarations/onlyAdaptiveGroups.css +130 -0
  10. package/themes/dobro/cssVars/declarations/onlyColors.css +308 -0
  11. package/themes/dobro/cssVars/declarations/onlyColors.d.ts +3 -0
  12. package/themes/dobro/cssVars/declarations/onlyColors.js +11 -0
  13. package/themes/dobro/cssVars/declarations/onlyVariables.css +544 -0
  14. package/themes/dobro/cssVars/declarations/onlyVariables.d.ts +3 -0
  15. package/themes/dobro/cssVars/declarations/onlyVariables.js +11 -0
  16. package/themes/dobro/cssVars/declarations/onlyVariablesLocal.css +544 -0
  17. package/themes/dobro/cssVars/declarations/onlyVariablesLocalIncremental.css +544 -0
  18. package/themes/dobro/cssVars/theme/fallbacks/index.css +823 -0
  19. package/themes/dobro/cssVars/theme/fallbacks/index.less +608 -0
  20. package/themes/dobro/cssVars/theme/fallbacks/index.pcss +609 -0
  21. package/themes/dobro/cssVars/theme/fallbacks/index.scss +810 -0
  22. package/themes/dobro/cssVars/theme/fallbacks/index.styl +608 -0
  23. package/themes/dobro/cssVars/theme/index.d.ts +4 -0
  24. package/themes/dobro/cssVars/theme/index.js +3276 -0
  25. package/themes/dobro/cssVars/theme/index.json +3273 -0
  26. package/themes/dobro/docs.json +2795 -0
  27. package/themes/dobro/index.css +823 -0
  28. package/themes/dobro/index.d.ts +4 -0
  29. package/themes/dobro/index.js +984 -0
  30. package/themes/dobro/index.json +981 -0
  31. package/themes/dobro/index.less +608 -0
  32. package/themes/dobro/index.pcss +609 -0
  33. package/themes/dobro/index.scss +810 -0
  34. package/themes/dobro/index.styl +608 -0
  35. package/themes/dobro/struct.json +1007 -0
  36. package/themes/dobroDark/cssVars/declarations/index.css +955 -0
  37. package/themes/dobroDark/cssVars/declarations/noColors.css +517 -0
  38. package/themes/dobroDark/cssVars/declarations/noSizes.css +351 -0
  39. package/themes/dobroDark/cssVars/declarations/onlyAdaptiveGroups.css +130 -0
  40. package/themes/dobroDark/cssVars/declarations/onlyColors.css +308 -0
  41. package/themes/dobroDark/cssVars/declarations/onlyColors.d.ts +3 -0
  42. package/themes/dobroDark/cssVars/declarations/onlyColors.js +11 -0
  43. package/themes/dobroDark/cssVars/declarations/onlyVariables.css +545 -0
  44. package/themes/dobroDark/cssVars/declarations/onlyVariables.d.ts +3 -0
  45. package/themes/dobroDark/cssVars/declarations/onlyVariables.js +11 -0
  46. package/themes/dobroDark/cssVars/declarations/onlyVariablesLocal.css +545 -0
  47. package/themes/dobroDark/cssVars/declarations/onlyVariablesLocalIncremental.css +304 -0
  48. package/themes/dobroDark/cssVars/theme/fallbacks/index.css +824 -0
  49. package/themes/dobroDark/cssVars/theme/fallbacks/index.less +609 -0
  50. package/themes/dobroDark/cssVars/theme/fallbacks/index.pcss +610 -0
  51. package/themes/dobroDark/cssVars/theme/fallbacks/index.scss +811 -0
  52. package/themes/dobroDark/cssVars/theme/fallbacks/index.styl +609 -0
  53. package/themes/dobroDark/cssVars/theme/index.d.ts +4 -0
  54. package/themes/dobroDark/cssVars/theme/index.js +3280 -0
  55. package/themes/dobroDark/cssVars/theme/index.json +3277 -0
  56. package/themes/dobroDark/docs.json +2795 -0
  57. package/themes/dobroDark/index.css +824 -0
  58. package/themes/dobroDark/index.d.ts +4 -0
  59. package/themes/dobroDark/index.js +985 -0
  60. package/themes/dobroDark/index.json +982 -0
  61. package/themes/dobroDark/index.less +609 -0
  62. package/themes/dobroDark/index.pcss +610 -0
  63. package/themes/dobroDark/index.scss +811 -0
  64. package/themes/dobroDark/index.styl +609 -0
  65. package/themes/dobroDark/struct.json +1008 -0
  66. package/themes/home/cssVars/declarations/index.css +3 -3
  67. package/themes/home/cssVars/declarations/noColors.css +3 -3
  68. package/themes/home/cssVars/declarations/noSizes.css +3 -3
  69. package/themes/home/cssVars/declarations/onlyVariables.css +3 -3
  70. package/themes/home/cssVars/declarations/onlyVariables.js +2 -2
  71. package/themes/home/cssVars/declarations/onlyVariablesLocal.css +3 -3
  72. package/themes/home/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -3
  73. package/themes/home/cssVars/theme/fallbacks/index.css +3 -3
  74. package/themes/home/cssVars/theme/fallbacks/index.less +3 -3
  75. package/themes/home/cssVars/theme/fallbacks/index.pcss +3 -3
  76. package/themes/home/cssVars/theme/fallbacks/index.scss +3 -3
  77. package/themes/home/cssVars/theme/fallbacks/index.styl +3 -3
  78. package/themes/home/cssVars/theme/index.js +3 -3
  79. package/themes/home/cssVars/theme/index.json +3 -3
  80. package/themes/home/index.css +3 -3
  81. package/themes/home/index.js +3 -3
  82. package/themes/home/index.json +3 -3
  83. package/themes/home/index.less +3 -3
  84. package/themes/home/index.pcss +3 -3
  85. package/themes/home/index.scss +3 -3
  86. package/themes/home/index.styl +3 -3
  87. package/themes/home/struct.json +3 -3
  88. package/themes/homeDark/cssVars/declarations/index.css +3 -3
  89. package/themes/homeDark/cssVars/declarations/noColors.css +3 -3
  90. package/themes/homeDark/cssVars/declarations/noSizes.css +3 -3
  91. package/themes/homeDark/cssVars/declarations/onlyVariables.css +3 -3
  92. package/themes/homeDark/cssVars/declarations/onlyVariables.js +2 -2
  93. package/themes/homeDark/cssVars/declarations/onlyVariablesLocal.css +3 -3
  94. package/themes/homeDark/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -3
  95. package/themes/homeDark/cssVars/theme/fallbacks/index.css +3 -3
  96. package/themes/homeDark/cssVars/theme/fallbacks/index.less +3 -3
  97. package/themes/homeDark/cssVars/theme/fallbacks/index.pcss +3 -3
  98. package/themes/homeDark/cssVars/theme/fallbacks/index.scss +3 -3
  99. package/themes/homeDark/cssVars/theme/fallbacks/index.styl +3 -3
  100. package/themes/homeDark/cssVars/theme/index.js +3 -3
  101. package/themes/homeDark/cssVars/theme/index.json +3 -3
  102. package/themes/homeDark/index.css +3 -3
  103. package/themes/homeDark/index.js +3 -3
  104. package/themes/homeDark/index.json +3 -3
  105. package/themes/homeDark/index.less +3 -3
  106. package/themes/homeDark/index.pcss +3 -3
  107. package/themes/homeDark/index.scss +3 -3
  108. package/themes/homeDark/index.styl +3 -3
  109. package/themes/homeDark/struct.json +3 -3
  110. package/themes/vkontakteAndroid/cssVars/declarations/index.css +1 -1
  111. package/themes/vkontakteAndroid/cssVars/declarations/noColors.css +1 -1
  112. package/themes/vkontakteAndroid/cssVars/declarations/onlyVariables.css +1 -1
  113. package/themes/vkontakteAndroid/cssVars/declarations/onlyVariables.js +2 -2
  114. package/themes/vkontakteAndroid/cssVars/declarations/onlyVariablesLocal.css +1 -1
  115. package/themes/vkontakteAndroid/cssVars/declarations/onlyVariablesLocalIncremental.css +1 -0
  116. package/themes/vkontakteAndroid/cssVars/theme/fallbacks/index.css +1 -1
  117. package/themes/vkontakteAndroid/cssVars/theme/fallbacks/index.less +1 -1
  118. package/themes/vkontakteAndroid/cssVars/theme/fallbacks/index.pcss +1 -1
  119. package/themes/vkontakteAndroid/cssVars/theme/fallbacks/index.scss +1 -1
  120. package/themes/vkontakteAndroid/cssVars/theme/fallbacks/index.styl +1 -1
  121. package/themes/vkontakteAndroid/cssVars/theme/index.js +1 -1
  122. package/themes/vkontakteAndroid/cssVars/theme/index.json +1 -1
  123. package/themes/vkontakteAndroid/index.css +1 -1
  124. package/themes/vkontakteAndroid/index.js +1 -1
  125. package/themes/vkontakteAndroid/index.json +1 -1
  126. package/themes/vkontakteAndroid/index.less +1 -1
  127. package/themes/vkontakteAndroid/index.pcss +1 -1
  128. package/themes/vkontakteAndroid/index.scss +1 -1
  129. package/themes/vkontakteAndroid/index.styl +1 -1
  130. package/themes/vkontakteAndroid/struct.json +1 -1
  131. package/themes/vkontakteAndroidDark/cssVars/declarations/index.css +1 -1
  132. package/themes/vkontakteAndroidDark/cssVars/declarations/noColors.css +1 -1
  133. package/themes/vkontakteAndroidDark/cssVars/declarations/onlyVariables.css +1 -1
  134. package/themes/vkontakteAndroidDark/cssVars/declarations/onlyVariables.js +2 -2
  135. package/themes/vkontakteAndroidDark/cssVars/declarations/onlyVariablesLocal.css +1 -1
  136. package/themes/vkontakteAndroidDark/cssVars/declarations/onlyVariablesLocalIncremental.css +1 -0
  137. package/themes/vkontakteAndroidDark/cssVars/theme/fallbacks/index.css +1 -1
  138. package/themes/vkontakteAndroidDark/cssVars/theme/fallbacks/index.less +1 -1
  139. package/themes/vkontakteAndroidDark/cssVars/theme/fallbacks/index.pcss +1 -1
  140. package/themes/vkontakteAndroidDark/cssVars/theme/fallbacks/index.scss +1 -1
  141. package/themes/vkontakteAndroidDark/cssVars/theme/fallbacks/index.styl +1 -1
  142. package/themes/vkontakteAndroidDark/cssVars/theme/index.js +1 -1
  143. package/themes/vkontakteAndroidDark/cssVars/theme/index.json +1 -1
  144. package/themes/vkontakteAndroidDark/index.css +1 -1
  145. package/themes/vkontakteAndroidDark/index.js +1 -1
  146. package/themes/vkontakteAndroidDark/index.json +1 -1
  147. package/themes/vkontakteAndroidDark/index.less +1 -1
  148. package/themes/vkontakteAndroidDark/index.pcss +1 -1
  149. package/themes/vkontakteAndroidDark/index.scss +1 -1
  150. package/themes/vkontakteAndroidDark/index.styl +1 -1
  151. 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 {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type { ThemeDobro, ThemeDobroCssVars, ThemeDobroDescription } from '../dobro';
2
+ export type ThemeDobroDark = ThemeDobro;
3
+ export type ThemeDobroDarkDescription = ThemeDobroDescription;
4
+ export type ThemeDobroDarkCssVars = ThemeDobroCssVars;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/vkui-tokens",
3
- "version": "4.42.0",
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.7",
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.13.1",
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": "5.10.0",
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": "11.0.0",
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.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.8.3",
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",