@vkontakte/vkui-tokens 4.43.1 → 4.43.2-dev-b2ad94.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 (102) hide show
  1. package/interfaces/themes/media/index.d.ts +168 -11
  2. package/package.json +1 -1
  3. package/themes/media/cssVars/declarations/index.css +977 -684
  4. package/themes/media/cssVars/declarations/noColors.css +557 -435
  5. package/themes/media/cssVars/declarations/noSizes.css +20 -32
  6. package/themes/media/cssVars/declarations/onlyAdaptiveGroups.css +84 -38
  7. package/themes/media/cssVars/declarations/onlyMedia.css +336 -211
  8. package/themes/media/cssVars/declarations/onlyVariables.css +188 -132
  9. package/themes/media/cssVars/declarations/onlyVariables.js +2 -2
  10. package/themes/media/cssVars/declarations/onlyVariablesLocal.css +188 -132
  11. package/themes/media/cssVars/declarations/onlyVariablesLocalIncremental.css +188 -132
  12. package/themes/media/cssVars/theme/fallbacks/index.css +568 -446
  13. package/themes/media/cssVars/theme/fallbacks/index.less +242 -215
  14. package/themes/media/cssVars/theme/fallbacks/index.pcss +242 -215
  15. package/themes/media/cssVars/theme/fallbacks/index.scss +547 -491
  16. package/themes/media/cssVars/theme/fallbacks/index.styl +242 -215
  17. package/themes/media/cssVars/theme/index.js +860 -478
  18. package/themes/media/cssVars/theme/index.json +860 -478
  19. package/themes/media/docs.json +367 -91
  20. package/themes/media/index.css +557 -435
  21. package/themes/media/index.js +251 -173
  22. package/themes/media/index.json +251 -173
  23. package/themes/media/index.less +222 -195
  24. package/themes/media/index.pcss +222 -195
  25. package/themes/media/index.scss +514 -458
  26. package/themes/media/index.styl +222 -195
  27. package/themes/media/struct.json +260 -182
  28. package/themes/mediaDark/cssVars/declarations/index.css +977 -684
  29. package/themes/mediaDark/cssVars/declarations/noColors.css +557 -435
  30. package/themes/mediaDark/cssVars/declarations/noSizes.css +20 -32
  31. package/themes/mediaDark/cssVars/declarations/onlyAdaptiveGroups.css +84 -38
  32. package/themes/mediaDark/cssVars/declarations/onlyMedia.css +336 -211
  33. package/themes/mediaDark/cssVars/declarations/onlyVariables.css +188 -132
  34. package/themes/mediaDark/cssVars/declarations/onlyVariables.js +2 -2
  35. package/themes/mediaDark/cssVars/declarations/onlyVariablesLocal.css +188 -132
  36. package/themes/mediaDark/cssVars/declarations/onlyVariablesLocalIncremental.css +188 -132
  37. package/themes/mediaDark/cssVars/theme/fallbacks/index.css +568 -446
  38. package/themes/mediaDark/cssVars/theme/fallbacks/index.less +242 -215
  39. package/themes/mediaDark/cssVars/theme/fallbacks/index.pcss +242 -215
  40. package/themes/mediaDark/cssVars/theme/fallbacks/index.scss +547 -491
  41. package/themes/mediaDark/cssVars/theme/fallbacks/index.styl +242 -215
  42. package/themes/mediaDark/cssVars/theme/index.js +860 -478
  43. package/themes/mediaDark/cssVars/theme/index.json +860 -478
  44. package/themes/mediaDark/docs.json +367 -91
  45. package/themes/mediaDark/index.css +557 -435
  46. package/themes/mediaDark/index.js +251 -173
  47. package/themes/mediaDark/index.json +251 -173
  48. package/themes/mediaDark/index.less +222 -195
  49. package/themes/mediaDark/index.pcss +222 -195
  50. package/themes/mediaDark/index.scss +514 -458
  51. package/themes/mediaDark/index.styl +222 -195
  52. package/themes/mediaDark/struct.json +260 -182
  53. package/themes/mycom/cssVars/declarations/index.css +944 -651
  54. package/themes/mycom/cssVars/declarations/noColors.css +527 -405
  55. package/themes/mycom/cssVars/declarations/noSizes.css +456 -122
  56. package/themes/mycom/cssVars/declarations/onlyAdaptiveGroups.css +84 -38
  57. package/themes/mycom/cssVars/declarations/onlyMedia.css +333 -208
  58. package/themes/mycom/cssVars/declarations/onlyVariables.css +179 -123
  59. package/themes/mycom/cssVars/declarations/onlyVariables.js +2 -2
  60. package/themes/mycom/cssVars/declarations/onlyVariablesLocal.css +179 -123
  61. package/themes/mycom/cssVars/declarations/onlyVariablesLocalIncremental.css +179 -123
  62. package/themes/mycom/cssVars/theme/fallbacks/index.css +539 -417
  63. package/themes/mycom/cssVars/theme/fallbacks/index.less +232 -205
  64. package/themes/mycom/cssVars/theme/fallbacks/index.pcss +232 -205
  65. package/themes/mycom/cssVars/theme/fallbacks/index.scss +523 -467
  66. package/themes/mycom/cssVars/theme/fallbacks/index.styl +232 -205
  67. package/themes/mycom/cssVars/theme/index.js +851 -469
  68. package/themes/mycom/cssVars/theme/index.json +851 -469
  69. package/themes/mycom/docs.json +367 -91
  70. package/themes/mycom/index.css +527 -405
  71. package/themes/mycom/index.js +239 -161
  72. package/themes/mycom/index.json +239 -161
  73. package/themes/mycom/index.less +209 -182
  74. package/themes/mycom/index.pcss +209 -182
  75. package/themes/mycom/index.scss +479 -423
  76. package/themes/mycom/index.styl +209 -182
  77. package/themes/mycom/struct.json +251 -173
  78. package/themes/pharma/cssVars/declarations/index.css +977 -684
  79. package/themes/pharma/cssVars/declarations/noColors.css +557 -435
  80. package/themes/pharma/cssVars/declarations/noSizes.css +462 -128
  81. package/themes/pharma/cssVars/declarations/onlyAdaptiveGroups.css +84 -38
  82. package/themes/pharma/cssVars/declarations/onlyMedia.css +336 -211
  83. package/themes/pharma/cssVars/declarations/onlyVariables.css +188 -132
  84. package/themes/pharma/cssVars/declarations/onlyVariables.js +2 -2
  85. package/themes/pharma/cssVars/declarations/onlyVariablesLocal.css +188 -132
  86. package/themes/pharma/cssVars/declarations/onlyVariablesLocalIncremental.css +188 -132
  87. package/themes/pharma/cssVars/theme/fallbacks/index.css +568 -446
  88. package/themes/pharma/cssVars/theme/fallbacks/index.less +242 -215
  89. package/themes/pharma/cssVars/theme/fallbacks/index.pcss +242 -215
  90. package/themes/pharma/cssVars/theme/fallbacks/index.scss +547 -491
  91. package/themes/pharma/cssVars/theme/fallbacks/index.styl +242 -215
  92. package/themes/pharma/cssVars/theme/index.js +860 -478
  93. package/themes/pharma/cssVars/theme/index.json +860 -478
  94. package/themes/pharma/docs.json +367 -91
  95. package/themes/pharma/index.css +557 -435
  96. package/themes/pharma/index.js +251 -173
  97. package/themes/pharma/index.json +251 -173
  98. package/themes/pharma/index.less +222 -195
  99. package/themes/pharma/index.pcss +222 -195
  100. package/themes/pharma/index.scss +514 -458
  101. package/themes/pharma/index.styl +222 -195
  102. package/themes/pharma/struct.json +260 -182
@@ -5,20 +5,72 @@ import { Font } from '../../general/typography';
5
5
  import { ParadigmTheme, ParadigmThemeCssVars, ParadigmThemeDescription } from '../../namespaces/paradigm';
6
6
  export type MediaViewportsTuple = ['touch', 'tablet', 'desktopS', 'desktopM'];
7
7
  interface ProjectColors {
8
+ /**
9
+ * @desc Акцентный цвет проекта auto.mail.ru
10
+ * @tags color
11
+ */
8
12
  colorPrimaryAuto: ColorWithStates;
13
+ /**
14
+ * @desc Основной акцентный цвет. Используют проекты news.mail.ru, sportmail.ru, pogoda.mail.ru
15
+ * @tags color
16
+ */
9
17
  colorPrimaryBase: ColorWithStates;
18
+ /**
19
+ * @desc Акцентный цвет проекта deti.mail.ru
20
+ * @tags color
21
+ */
10
22
  colorPrimaryDeti: ColorWithStates;
23
+ /**
24
+ * @desc Акцентный цвет проекта dobro.mail.ru
25
+ * @tags color
26
+ */
11
27
  colorPrimaryDobro: ColorWithStates;
28
+ /**
29
+ * @desc Акцентный цвет проекта health.mail.ru
30
+ * @tags color, lagacy
31
+ */
12
32
  colorPrimaryHealth: ColorWithStates;
33
+ /**
34
+ * @desc Альтернативный акцентный цвет проекта health.mail.ru
35
+ * @tags color, lagacy
36
+ */
13
37
  colorPrimaryHealthNew: ColorWithStates;
38
+ /**
39
+ * @desc Акцентный цвет проекта hi-tech.mail.ru
40
+ * @tags color
41
+ */
14
42
  colorPrimaryHitech: ColorWithStates;
43
+ /**
44
+ * @desc Акцентный цвет проекта kino.mail.ru
45
+ * @tags color
46
+ */
15
47
  colorPrimaryKino: ColorWithStates;
48
+ /**
49
+ * @desc Акцентный цвет проекта lady.mail.ru
50
+ * @tags color
51
+ */
16
52
  colorPrimaryLady: ColorWithStates;
17
53
  colorPrimaryMycom: ColorWithStates;
54
+ /**
55
+ * @desc Акцентный цвет проекта dom.mail.ru
56
+ * @tags color
57
+ */
18
58
  colorPrimaryRealty: ColorWithStates;
19
59
  colorPrimaryPharma: ColorWithStates;
60
+ /**
61
+ * @desc Акцентный цвет проекта pets.mail.ru
62
+ * @tags color
63
+ */
20
64
  colorPrimaryPets: ColorWithStates;
65
+ /**
66
+ * @desc Второстепенный акцентный цвет. Используют проекты news.mail.ru, sportmail.ru, pogoda.mail.ru
67
+ * @tags color
68
+ */
21
69
  colorSecondaryBase: ColorWithStates;
70
+ /**
71
+ * @desc Альтернативный акцентный цвет проекта health.mail.ru
72
+ * @tags color, lagacy
73
+ */
22
74
  colorSecondaryHealth: ColorWithStates;
23
75
  colorSecondaryMycom: ColorWithStates;
24
76
  }
@@ -38,34 +90,139 @@ type SocialColorsDescriptions = {
38
90
  [key in keyof SocialColors]: ColorDescription;
39
91
  };
40
92
  interface MediaUniqTokens {
41
- mediaFontMediaHeader: Adaptive<Font>;
93
+ /**
94
+ * @desc Главный заголовок статьи или медиа-страницы
95
+ * @tags font
96
+ */
42
97
  mediaFontMediaTitle1: Adaptive<Font>;
98
+ /**
99
+ * @desc Уменьшенная версия главного заголовка
100
+ * @tags font
101
+ */
102
+ mediaFontMediaTitle1Tiny: Adaptive<Font>;
103
+ /**
104
+ * @desc Заголовок 2 уровня
105
+ * @tags font
106
+ */
43
107
  mediaFontMediaTitle2: Adaptive<Font>;
108
+ /**
109
+ * @desc Для 2 порядкового номера в нумерованном разделителе
110
+ * @tags font
111
+ */
112
+ mediaFontMediaTitle2Tiny: Adaptive<Font>;
113
+ /**
114
+ * @desc Заголовок 3 уровня
115
+ * @tags font
116
+ */
44
117
  mediaFontMediaTitle3: Adaptive<Font>;
118
+ /**
119
+ * @desc Заголовок 4 уровня
120
+ * @tags font
121
+ */
122
+ mediaFontMediaTitle4: Adaptive<Font>;
123
+ /**
124
+ * @desc Заголовок 5 уровня
125
+ * @tags font
126
+ */
127
+ mediaFontMediaTitle5: Adaptive<Font>;
128
+ /**
129
+ * @desc Заголовок 6 уровня
130
+ * @tags font
131
+ */
132
+ mediaFontMediaTitle6: Adaptive<Font>;
133
+ /**
134
+ * @desc Лид статьи
135
+ * @tags font
136
+ */
45
137
  mediaFontMediaLead: Adaptive<Font>;
138
+ /**
139
+ * @desc Цитаты, врезы в статьях, акценты текста на медиа-страницах
140
+ * @tags font
141
+ */
142
+ mediaFontMediaQuote: Adaptive<Font>;
143
+ /**
144
+ * @desc Автор цитаты
145
+ * @tags font
146
+ */
147
+ mediaFontMediaQuotePerson: Adaptive<Font>;
148
+ /**
149
+ * @desc Основной параграф наборного текст в статье по умолчанию
150
+ * @tags font
151
+ */
46
152
  mediaFontMediaParagraph: Adaptive<Font>;
153
+ /**
154
+ * @desc Используется только для выделения нумирации списков в статьях, чтобы списки выглядели акцентными
155
+ * @tags font
156
+ */
157
+ mediaFontMediaParagraphNumbering: Adaptive<Font>;
158
+ /**
159
+ * @desc Второстепенный параграф наборным текстом в статье по умолчанию
160
+ * @tags font
161
+ */
162
+ mediaFontMediaParagraphSecondary: Adaptive<Font>;
163
+ /**
164
+ * @desc Второстепенный не-наборный текст для поддержания визуальной иерархии
165
+ * @tags font
166
+ */
167
+ mediaFontMediaTextSecondaryLight: Adaptive<Font>;
168
+ /**
169
+ * @desc Подписи под изображениями, видео или другии блоками и врезами в статьях и на других медиа-страницах
170
+ * @tags font
171
+ */
172
+ mediaFontMediaCaption: Adaptive<Font>;
173
+ /**
174
+ * @desc Бейджи и отбивки “Продолжение после рекламы”
175
+ * @tags font
176
+ */
177
+ mediaFontMediaCaptionCaps: Adaptive<Font>;
178
+ /**
179
+ * @desc Семейство шрифтов статьи
180
+ * @tags font
181
+ */
47
182
  fontFamilyArticle: Property.FontFamily;
48
- fontWeightArticle1: Property.FontWeight;
49
- fontWeightArticle2: Property.FontWeight;
183
+ fontWeightMedia1: Property.FontWeight;
184
+ fontWeightMedia2: Property.FontWeight;
185
+ fontWeightMedia3: Property.FontWeight;
186
+ fontWeightMedia4: Property.FontWeight;
50
187
  fontH1: Adaptive<Font>;
51
188
  fontH2: Adaptive<Font>;
52
189
  fontH3: Adaptive<Font>;
53
190
  fontH4: Adaptive<Font>;
54
- fontLead: Adaptive<Font>;
55
- fontArticleBody: Adaptive<Font>;
56
- fontSpecificText: Adaptive<Font>;
57
- fontSpecificFootnote: Adaptive<Font>;
58
- fontSpecificButton: Adaptive<Font>;
191
+ /**
192
+ * @desc Ширина колонки страницы
193
+ * @tags size, component
194
+ */
59
195
  gridWrapperContent: Adaptive<number | string>;
196
+ /**
197
+ * @desc Ширина основной колонки контента
198
+ * @tags size, component
199
+ */
60
200
  gridMainContent: Adaptive<number | string>;
201
+ /**
202
+ * @desc Ширина sidebar
203
+ * @tags size, component
204
+ */
61
205
  gridAsideContent: Adaptive<number | string>;
206
+ /**
207
+ * @desc
208
+ * @tags size, component
209
+ */
62
210
  gridColumnX2: Adaptive<string | number>;
211
+ /**
212
+ * @desc
213
+ * @tags size, component
214
+ */
63
215
  gridColumnX3: Adaptive<string | number>;
216
+ /**
217
+ * @desc
218
+ * @tags size, component
219
+ */
64
220
  gridColumnX4: Adaptive<string | number>;
221
+ /**
222
+ * @desc
223
+ * @tags size, component
224
+ */
65
225
  gridColumnX6: Adaptive<string | number>;
66
- gridContent: Adaptive<number | string>;
67
- gridLayoutArticle: Adaptive<string | number>;
68
- gridLayoutBanner: Adaptive<string | number>;
69
226
  }
70
227
  export interface ThemeMedia extends ParadigmTheme<MediaViewportsTuple>, ProjectColors, SocialColors, MediaUniqTokens {
71
228
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/vkui-tokens",
3
- "version": "4.43.1",
3
+ "version": "4.43.2-dev-b2ad94.0",
4
4
  "description": "Репозиторий, который содержит в себе дизайн-токены и другие инструменты объединенной дизайн-системы VKUI и Paradigm",
5
5
  "license": "MIT",
6
6
  "homepage": "https://vkcom.github.io/vkui-tokens",