@vkontakte/vkui-tokens 4.46.0 → 4.46.1-dev-d285db.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 (50) hide show
  1. package/interfaces/themes/cloud/index.d.ts +63 -4
  2. package/package.json +1 -1
  3. package/themes/cloud/cssVars/declarations/index.css +532 -181
  4. package/themes/cloud/cssVars/declarations/noColors.css +335 -122
  5. package/themes/cloud/cssVars/declarations/onlyAdaptiveGroups.css +83 -7
  6. package/themes/cloud/cssVars/declarations/onlyMedia.css +152 -50
  7. package/themes/cloud/cssVars/declarations/onlyVariables.css +102 -41
  8. package/themes/cloud/cssVars/declarations/onlyVariables.js +2 -2
  9. package/themes/cloud/cssVars/declarations/onlyVariablesLocal.css +102 -41
  10. package/themes/cloud/cssVars/declarations/onlyVariablesLocalIncremental.css +102 -41
  11. package/themes/cloud/cssVars/theme/fallbacks/index.css +336 -123
  12. package/themes/cloud/cssVars/theme/fallbacks/index.less +131 -41
  13. package/themes/cloud/cssVars/theme/fallbacks/index.pcss +131 -41
  14. package/themes/cloud/cssVars/theme/fallbacks/index.scss +313 -103
  15. package/themes/cloud/cssVars/theme/fallbacks/index.styl +131 -41
  16. package/themes/cloud/cssVars/theme/index.js +507 -111
  17. package/themes/cloud/cssVars/theme/index.json +507 -111
  18. package/themes/cloud/docs.json +99 -0
  19. package/themes/cloud/index.css +335 -122
  20. package/themes/cloud/index.js +155 -56
  21. package/themes/cloud/index.json +155 -56
  22. package/themes/cloud/index.less +129 -39
  23. package/themes/cloud/index.pcss +129 -39
  24. package/themes/cloud/index.scss +311 -101
  25. package/themes/cloud/index.styl +129 -39
  26. package/themes/cloud/struct.json +153 -54
  27. package/themes/cloudDark/cssVars/declarations/index.css +261 -0
  28. package/themes/cloudDark/cssVars/declarations/noColors.css +171 -0
  29. package/themes/cloudDark/cssVars/declarations/onlyAdaptiveGroups.css +76 -0
  30. package/themes/cloudDark/cssVars/declarations/onlyMedia.css +54 -0
  31. package/themes/cloudDark/cssVars/declarations/onlyVariables.css +49 -0
  32. package/themes/cloudDark/cssVars/declarations/onlyVariables.js +2 -2
  33. package/themes/cloudDark/cssVars/declarations/onlyVariablesLocal.css +49 -0
  34. package/themes/cloudDark/cssVars/declarations/onlyVariablesLocalIncremental.css +49 -0
  35. package/themes/cloudDark/cssVars/theme/fallbacks/index.css +171 -0
  36. package/themes/cloudDark/cssVars/theme/fallbacks/index.less +72 -0
  37. package/themes/cloudDark/cssVars/theme/fallbacks/index.pcss +72 -0
  38. package/themes/cloudDark/cssVars/theme/fallbacks/index.scss +156 -0
  39. package/themes/cloudDark/cssVars/theme/fallbacks/index.styl +72 -0
  40. package/themes/cloudDark/cssVars/theme/index.js +342 -0
  41. package/themes/cloudDark/cssVars/theme/index.json +342 -0
  42. package/themes/cloudDark/docs.json +99 -0
  43. package/themes/cloudDark/index.css +171 -0
  44. package/themes/cloudDark/index.js +81 -0
  45. package/themes/cloudDark/index.json +81 -0
  46. package/themes/cloudDark/index.less +72 -0
  47. package/themes/cloudDark/index.pcss +72 -0
  48. package/themes/cloudDark/index.scss +156 -0
  49. package/themes/cloudDark/index.styl +72 -0
  50. package/themes/cloudDark/struct.json +81 -0
@@ -1,7 +1,66 @@
1
- import { ThemeParadigmBase, ThemeParadigmBaseCssVars, ThemeParadigmBaseDescription } from '../paradigmBase';
2
- export interface ThemeCloud extends ThemeParadigmBase {
1
+ import { Adaptive } from '../../general/tools';
2
+ import { DefaultViewports } from '../../general/tools/viewports';
3
+ import { Font } from '../../general/typography';
4
+ import { ParadigmTheme, ParadigmThemeCssVars, ParadigmThemeDescription } from '../../namespaces/paradigm';
5
+ interface ThemeCloudTypohraphy {
6
+ /**
7
+ * @desc Caption 1 CAPS • DEMIBOLD
8
+ * @tags font
9
+ * */
10
+ fontCaption1CapsDemibold: {
11
+ regular: Font;
12
+ };
13
+ /**
14
+ * @desc Caption 2 CAPS • DEMIBOLD
15
+ * @tags font
16
+ * */
17
+ fontCaption2CapsDemibold: {
18
+ regular: Font;
19
+ };
20
+ /**
21
+ * @desc Caption 3 CAPS • DEMIBOLD
22
+ * @tags font
23
+ * */
24
+ fontCaption3CapsDemibold: {
25
+ regular: Font;
26
+ };
27
+ /**
28
+ * @desc Заголовок Title 2 • Custom
29
+ * @tags font
30
+ * */
31
+ fontTitle2Custom: Adaptive<Font>;
32
+ /**
33
+ * @desc Заголовок Title3 • Custom
34
+ * @tags font
35
+ * */
36
+ fontTitle3Custom: Adaptive<Font>;
37
+ /**
38
+ * @desc Заголовок Subtitle • Medium
39
+ * @tags font
40
+ * */
41
+ fontSubtitleMedium: Font;
42
+ /**
43
+ * @desc Заголовок Subtitle • Regular
44
+ * @tags font
45
+ * */
46
+ fontSubtitleCustom: Font;
47
+ /**
48
+ * @desc Заголовок HeadlineLarge• Medium.
49
+ * Используется для обозначения занятого места в блоке с чистилкой
50
+ * @tags font
51
+ * */
52
+ fontHeadlineLargeMedium: Font;
53
+ /**
54
+ * @desc LargeText • Regular.
55
+ * Используется как текст под заголовком в тултипах
56
+ * @tags font
57
+ * */
58
+ fontLargeText: Font;
3
59
  }
4
- export interface ThemeCloudDescription extends ThemeParadigmBaseDescription {
60
+ export interface ThemeCloud extends ParadigmTheme, ThemeCloudTypohraphy {
5
61
  }
6
- export interface ThemeCloudCssVars extends ThemeParadigmBaseCssVars {
62
+ export interface ThemeCloudDescription extends ParadigmThemeDescription, ThemeCloudTypohraphy {
7
63
  }
64
+ export interface ThemeCloudCssVars extends ParadigmThemeCssVars<DefaultViewports, ThemeCloud> {
65
+ }
66
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/vkui-tokens",
3
- "version": "4.46.0",
3
+ "version": "4.46.1-dev-d285db.0",
4
4
  "description": "Репозиторий, который содержит в себе дизайн-токены и другие инструменты объединенной дизайн-системы VKUI и Paradigm",
5
5
  "license": "MIT",
6
6
  "homepage": "https://vkcom.github.io/vkui-tokens",