@vkontakte/vkui-tokens 4.5.1 → 4.7.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 (709) hide show
  1. package/build/compilers/index.d.ts +1 -1
  2. package/build/compilers/index.js +31 -18
  3. package/build/compilers/styles/compileStyles.d.ts +3 -3
  4. package/build/compilers/styles/compileStyles.js +33 -6
  5. package/build/compilers/styles/compileStyles.test.js +40 -2
  6. package/build/compilers/styles/helpers/tokenRecognition.js +1 -1
  7. package/interfaces/general/colors/index.d.ts +1 -0
  8. package/interfaces/general/elevation/index.d.ts +1 -0
  9. package/interfaces/general/geometry/index.d.ts +1 -0
  10. package/interfaces/general/index.d.ts +1 -0
  11. package/interfaces/themes/media/index.d.ts +6 -0
  12. package/interfaces/themes/octavius/index.d.ts +3 -0
  13. package/package.json +5 -2
  14. package/themeDescriptions/base/paradigm.js +8 -1
  15. package/themeDescriptions/base/vk.js +13 -3
  16. package/themes/calendar/cssVars/declarations/index.css +6 -0
  17. package/themes/calendar/cssVars/declarations/noColors.css +2 -0
  18. package/themes/calendar/cssVars/declarations/noSizes.css +4 -0
  19. package/themes/calendar/cssVars/declarations/onlyColors.css +3 -0
  20. package/themes/calendar/cssVars/declarations/onlyColors.js +2 -2
  21. package/themes/calendar/cssVars/declarations/onlyMedia.css +1 -0
  22. package/themes/calendar/cssVars/declarations/onlyVariables.css +5 -0
  23. package/themes/calendar/cssVars/declarations/onlyVariables.js +2 -2
  24. package/themes/calendar/cssVars/declarations/onlyVariablesLocal.css +5 -0
  25. package/themes/calendar/cssVars/declarations/onlyVariablesLocalIncremental.css +593 -0
  26. package/themes/calendar/cssVars/theme/fallbacks/index.css +5 -0
  27. package/themes/calendar/cssVars/theme/fallbacks/index.less +5 -0
  28. package/themes/calendar/cssVars/theme/fallbacks/index.pcss +5 -0
  29. package/themes/calendar/cssVars/theme/fallbacks/index.scss +5 -0
  30. package/themes/calendar/cssVars/theme/fallbacks/index.styl +5 -0
  31. package/themes/calendar/cssVars/theme/index.js +28 -0
  32. package/themes/calendar/cssVars/theme/index.json +28 -0
  33. package/themes/calendar/index.css +5 -0
  34. package/themes/calendar/index.js +9 -0
  35. package/themes/calendar/index.json +9 -0
  36. package/themes/calendar/index.less +5 -0
  37. package/themes/calendar/index.pcss +5 -0
  38. package/themes/calendar/index.scss +5 -0
  39. package/themes/calendar/index.styl +5 -0
  40. package/themes/calendarDark/cssVars/declarations/index.css +6 -0
  41. package/themes/calendarDark/cssVars/declarations/noColors.css +2 -0
  42. package/themes/calendarDark/cssVars/declarations/noSizes.css +4 -0
  43. package/themes/calendarDark/cssVars/declarations/onlyColors.css +3 -0
  44. package/themes/calendarDark/cssVars/declarations/onlyColors.js +2 -2
  45. package/themes/calendarDark/cssVars/declarations/onlyMedia.css +1 -0
  46. package/themes/calendarDark/cssVars/declarations/onlyVariables.css +5 -0
  47. package/themes/calendarDark/cssVars/declarations/onlyVariables.js +2 -2
  48. package/themes/calendarDark/cssVars/declarations/onlyVariablesLocal.css +5 -0
  49. package/themes/calendarDark/cssVars/declarations/onlyVariablesLocalIncremental.css +593 -0
  50. package/themes/calendarDark/cssVars/theme/fallbacks/index.css +5 -0
  51. package/themes/calendarDark/cssVars/theme/fallbacks/index.less +5 -0
  52. package/themes/calendarDark/cssVars/theme/fallbacks/index.pcss +5 -0
  53. package/themes/calendarDark/cssVars/theme/fallbacks/index.scss +5 -0
  54. package/themes/calendarDark/cssVars/theme/fallbacks/index.styl +5 -0
  55. package/themes/calendarDark/cssVars/theme/index.js +28 -0
  56. package/themes/calendarDark/cssVars/theme/index.json +28 -0
  57. package/themes/calendarDark/index.css +5 -0
  58. package/themes/calendarDark/index.js +9 -0
  59. package/themes/calendarDark/index.json +9 -0
  60. package/themes/calendarDark/index.less +5 -0
  61. package/themes/calendarDark/index.pcss +5 -0
  62. package/themes/calendarDark/index.scss +5 -0
  63. package/themes/calendarDark/index.styl +5 -0
  64. package/themes/calls/cssVars/declarations/index.css +6 -0
  65. package/themes/calls/cssVars/declarations/noColors.css +2 -0
  66. package/themes/calls/cssVars/declarations/noSizes.css +4 -0
  67. package/themes/calls/cssVars/declarations/onlyColors.css +3 -0
  68. package/themes/calls/cssVars/declarations/onlyColors.js +2 -2
  69. package/themes/calls/cssVars/declarations/onlyMedia.css +1 -0
  70. package/themes/calls/cssVars/declarations/onlyVariables.css +5 -0
  71. package/themes/calls/cssVars/declarations/onlyVariables.js +2 -2
  72. package/themes/calls/cssVars/declarations/onlyVariablesLocal.css +5 -0
  73. package/themes/calls/cssVars/declarations/onlyVariablesLocalIncremental.css +503 -0
  74. package/themes/calls/cssVars/theme/fallbacks/index.css +5 -0
  75. package/themes/calls/cssVars/theme/fallbacks/index.less +5 -0
  76. package/themes/calls/cssVars/theme/fallbacks/index.pcss +5 -0
  77. package/themes/calls/cssVars/theme/fallbacks/index.scss +5 -0
  78. package/themes/calls/cssVars/theme/fallbacks/index.styl +5 -0
  79. package/themes/calls/cssVars/theme/index.js +28 -0
  80. package/themes/calls/cssVars/theme/index.json +28 -0
  81. package/themes/calls/index.css +5 -0
  82. package/themes/calls/index.js +9 -0
  83. package/themes/calls/index.json +9 -0
  84. package/themes/calls/index.less +5 -0
  85. package/themes/calls/index.pcss +5 -0
  86. package/themes/calls/index.scss +5 -0
  87. package/themes/calls/index.styl +5 -0
  88. package/themes/cloud/cssVars/declarations/index.css +6 -0
  89. package/themes/cloud/cssVars/declarations/noColors.css +2 -0
  90. package/themes/cloud/cssVars/declarations/noSizes.css +4 -0
  91. package/themes/cloud/cssVars/declarations/onlyColors.css +3 -0
  92. package/themes/cloud/cssVars/declarations/onlyColors.js +2 -2
  93. package/themes/cloud/cssVars/declarations/onlyMedia.css +1 -0
  94. package/themes/cloud/cssVars/declarations/onlyVariables.css +5 -0
  95. package/themes/cloud/cssVars/declarations/onlyVariables.js +2 -2
  96. package/themes/cloud/cssVars/declarations/onlyVariablesLocal.css +5 -0
  97. package/themes/cloud/cssVars/declarations/onlyVariablesLocalIncremental.css +526 -0
  98. package/themes/cloud/cssVars/theme/fallbacks/index.css +5 -0
  99. package/themes/cloud/cssVars/theme/fallbacks/index.less +5 -0
  100. package/themes/cloud/cssVars/theme/fallbacks/index.pcss +5 -0
  101. package/themes/cloud/cssVars/theme/fallbacks/index.scss +5 -0
  102. package/themes/cloud/cssVars/theme/fallbacks/index.styl +5 -0
  103. package/themes/cloud/cssVars/theme/index.js +28 -0
  104. package/themes/cloud/cssVars/theme/index.json +28 -0
  105. package/themes/cloud/index.css +5 -0
  106. package/themes/cloud/index.js +9 -0
  107. package/themes/cloud/index.json +9 -0
  108. package/themes/cloud/index.less +5 -0
  109. package/themes/cloud/index.pcss +5 -0
  110. package/themes/cloud/index.scss +5 -0
  111. package/themes/cloud/index.styl +5 -0
  112. package/themes/home/cssVars/declarations/index.css +6 -0
  113. package/themes/home/cssVars/declarations/noColors.css +2 -0
  114. package/themes/home/cssVars/declarations/noSizes.css +4 -0
  115. package/themes/home/cssVars/declarations/onlyColors.css +3 -0
  116. package/themes/home/cssVars/declarations/onlyColors.js +2 -2
  117. package/themes/home/cssVars/declarations/onlyMedia.css +1 -0
  118. package/themes/home/cssVars/declarations/onlyVariables.css +5 -0
  119. package/themes/home/cssVars/declarations/onlyVariables.js +2 -2
  120. package/themes/home/cssVars/declarations/onlyVariablesLocal.css +5 -0
  121. package/themes/home/cssVars/declarations/onlyVariablesLocalIncremental.css +527 -0
  122. package/themes/home/cssVars/theme/fallbacks/index.css +5 -0
  123. package/themes/home/cssVars/theme/fallbacks/index.less +5 -0
  124. package/themes/home/cssVars/theme/fallbacks/index.pcss +5 -0
  125. package/themes/home/cssVars/theme/fallbacks/index.scss +5 -0
  126. package/themes/home/cssVars/theme/fallbacks/index.styl +5 -0
  127. package/themes/home/cssVars/theme/index.js +28 -0
  128. package/themes/home/cssVars/theme/index.json +28 -0
  129. package/themes/home/index.css +5 -0
  130. package/themes/home/index.js +9 -0
  131. package/themes/home/index.json +9 -0
  132. package/themes/home/index.less +5 -0
  133. package/themes/home/index.pcss +5 -0
  134. package/themes/home/index.scss +5 -0
  135. package/themes/home/index.styl +5 -0
  136. package/themes/homeDark/cssVars/declarations/index.css +6 -0
  137. package/themes/homeDark/cssVars/declarations/noColors.css +2 -0
  138. package/themes/homeDark/cssVars/declarations/noSizes.css +4 -0
  139. package/themes/homeDark/cssVars/declarations/onlyColors.css +3 -0
  140. package/themes/homeDark/cssVars/declarations/onlyColors.js +2 -2
  141. package/themes/homeDark/cssVars/declarations/onlyMedia.css +1 -0
  142. package/themes/homeDark/cssVars/declarations/onlyVariables.css +5 -0
  143. package/themes/homeDark/cssVars/declarations/onlyVariables.js +2 -2
  144. package/themes/homeDark/cssVars/declarations/onlyVariablesLocal.css +5 -0
  145. package/themes/homeDark/cssVars/declarations/onlyVariablesLocalIncremental.css +526 -0
  146. package/themes/homeDark/cssVars/theme/fallbacks/index.css +5 -0
  147. package/themes/homeDark/cssVars/theme/fallbacks/index.less +5 -0
  148. package/themes/homeDark/cssVars/theme/fallbacks/index.pcss +5 -0
  149. package/themes/homeDark/cssVars/theme/fallbacks/index.scss +5 -0
  150. package/themes/homeDark/cssVars/theme/fallbacks/index.styl +5 -0
  151. package/themes/homeDark/cssVars/theme/index.js +28 -0
  152. package/themes/homeDark/cssVars/theme/index.json +28 -0
  153. package/themes/homeDark/index.css +5 -0
  154. package/themes/homeDark/index.js +9 -0
  155. package/themes/homeDark/index.json +9 -0
  156. package/themes/homeDark/index.less +5 -0
  157. package/themes/homeDark/index.pcss +5 -0
  158. package/themes/homeDark/index.scss +5 -0
  159. package/themes/homeDark/index.styl +5 -0
  160. package/themes/media/cssVars/declarations/index.css +605 -137
  161. package/themes/media/cssVars/declarations/noColors.css +373 -93
  162. package/themes/media/cssVars/declarations/noSizes.css +4 -0
  163. package/themes/media/cssVars/declarations/onlyAdaptiveGroups.css +37 -0
  164. package/themes/media/cssVars/declarations/onlyColors.css +3 -0
  165. package/themes/media/cssVars/declarations/onlyColors.js +2 -2
  166. package/themes/media/cssVars/declarations/onlyMedia.css +192 -44
  167. package/themes/media/cssVars/declarations/onlyVariables.css +88 -27
  168. package/themes/media/cssVars/declarations/onlyVariables.js +2 -2
  169. package/themes/media/cssVars/declarations/onlyVariablesLocal.css +88 -27
  170. package/themes/media/cssVars/declarations/onlyVariablesLocalIncremental.css +711 -0
  171. package/themes/media/cssVars/theme/fallbacks/index.css +376 -93
  172. package/themes/media/cssVars/theme/fallbacks/index.less +169 -33
  173. package/themes/media/cssVars/theme/fallbacks/index.pcss +169 -33
  174. package/themes/media/cssVars/theme/fallbacks/index.scss +442 -82
  175. package/themes/media/cssVars/theme/fallbacks/index.styl +169 -33
  176. package/themes/media/cssVars/theme/index.js +446 -38
  177. package/themes/media/cssVars/theme/index.json +446 -38
  178. package/themes/media/index.css +376 -93
  179. package/themes/media/index.js +147 -38
  180. package/themes/media/index.json +147 -38
  181. package/themes/media/index.less +169 -33
  182. package/themes/media/index.pcss +169 -33
  183. package/themes/media/index.scss +442 -82
  184. package/themes/media/index.styl +169 -33
  185. package/themes/mediaDark/cssVars/declarations/index.css +605 -137
  186. package/themes/mediaDark/cssVars/declarations/noColors.css +373 -93
  187. package/themes/mediaDark/cssVars/declarations/noSizes.css +4 -0
  188. package/themes/mediaDark/cssVars/declarations/onlyAdaptiveGroups.css +37 -0
  189. package/themes/mediaDark/cssVars/declarations/onlyColors.css +3 -0
  190. package/themes/mediaDark/cssVars/declarations/onlyColors.js +2 -2
  191. package/themes/mediaDark/cssVars/declarations/onlyMedia.css +192 -44
  192. package/themes/mediaDark/cssVars/declarations/onlyVariables.css +88 -27
  193. package/themes/mediaDark/cssVars/declarations/onlyVariables.js +2 -2
  194. package/themes/mediaDark/cssVars/declarations/onlyVariablesLocal.css +88 -27
  195. package/themes/mediaDark/cssVars/declarations/onlyVariablesLocalIncremental.css +711 -0
  196. package/themes/mediaDark/cssVars/theme/fallbacks/index.css +376 -93
  197. package/themes/mediaDark/cssVars/theme/fallbacks/index.less +169 -33
  198. package/themes/mediaDark/cssVars/theme/fallbacks/index.pcss +169 -33
  199. package/themes/mediaDark/cssVars/theme/fallbacks/index.scss +442 -82
  200. package/themes/mediaDark/cssVars/theme/fallbacks/index.styl +169 -33
  201. package/themes/mediaDark/cssVars/theme/index.js +446 -38
  202. package/themes/mediaDark/cssVars/theme/index.json +446 -38
  203. package/themes/mediaDark/index.css +376 -93
  204. package/themes/mediaDark/index.js +147 -38
  205. package/themes/mediaDark/index.json +147 -38
  206. package/themes/mediaDark/index.less +169 -33
  207. package/themes/mediaDark/index.pcss +169 -33
  208. package/themes/mediaDark/index.scss +442 -82
  209. package/themes/mediaDark/index.styl +169 -33
  210. package/themes/mycom/cssVars/declarations/index.css +589 -121
  211. package/themes/mycom/cssVars/declarations/noColors.css +357 -77
  212. package/themes/mycom/cssVars/declarations/noSizes.css +182 -0
  213. package/themes/mycom/cssVars/declarations/onlyAdaptiveGroups.css +37 -0
  214. package/themes/mycom/cssVars/declarations/onlyColors.css +3 -0
  215. package/themes/mycom/cssVars/declarations/onlyColors.js +2 -2
  216. package/themes/mycom/cssVars/declarations/onlyMedia.css +192 -44
  217. package/themes/mycom/cssVars/declarations/onlyVariables.css +84 -23
  218. package/themes/mycom/cssVars/declarations/onlyVariables.js +2 -2
  219. package/themes/mycom/cssVars/declarations/onlyVariablesLocal.css +84 -23
  220. package/themes/mycom/cssVars/declarations/onlyVariablesLocalIncremental.css +713 -0
  221. package/themes/mycom/cssVars/theme/fallbacks/index.css +364 -81
  222. package/themes/mycom/cssVars/theme/fallbacks/index.less +165 -29
  223. package/themes/mycom/cssVars/theme/fallbacks/index.pcss +165 -29
  224. package/themes/mycom/cssVars/theme/fallbacks/index.scss +430 -70
  225. package/themes/mycom/cssVars/theme/fallbacks/index.styl +165 -29
  226. package/themes/mycom/cssVars/theme/index.js +442 -34
  227. package/themes/mycom/cssVars/theme/index.json +442 -34
  228. package/themes/mycom/index.css +360 -77
  229. package/themes/mycom/index.js +143 -34
  230. package/themes/mycom/index.json +143 -34
  231. package/themes/mycom/index.less +161 -25
  232. package/themes/mycom/index.pcss +161 -25
  233. package/themes/mycom/index.scss +422 -62
  234. package/themes/mycom/index.styl +161 -25
  235. package/themes/octavius/cssVars/declarations/index.css +15 -0
  236. package/themes/octavius/cssVars/declarations/noColors.css +2 -0
  237. package/themes/octavius/cssVars/declarations/noSizes.css +13 -0
  238. package/themes/octavius/cssVars/declarations/onlyColors.css +12 -0
  239. package/themes/octavius/cssVars/declarations/onlyColors.js +2 -2
  240. package/themes/octavius/cssVars/declarations/onlyMedia.css +1 -0
  241. package/themes/octavius/cssVars/declarations/onlyVariables.css +14 -0
  242. package/themes/octavius/cssVars/declarations/onlyVariables.js +2 -2
  243. package/themes/octavius/cssVars/declarations/onlyVariablesLocal.css +14 -0
  244. package/themes/octavius/cssVars/declarations/onlyVariablesLocalIncremental.css +889 -0
  245. package/themes/octavius/cssVars/theme/fallbacks/index.css +14 -0
  246. package/themes/octavius/cssVars/theme/fallbacks/index.less +14 -0
  247. package/themes/octavius/cssVars/theme/fallbacks/index.pcss +14 -0
  248. package/themes/octavius/cssVars/theme/fallbacks/index.scss +14 -0
  249. package/themes/octavius/cssVars/theme/fallbacks/index.styl +14 -0
  250. package/themes/octavius/cssVars/theme/index.js +70 -0
  251. package/themes/octavius/cssVars/theme/index.json +70 -0
  252. package/themes/octavius/index.css +14 -0
  253. package/themes/octavius/index.js +24 -0
  254. package/themes/octavius/index.json +24 -0
  255. package/themes/octavius/index.less +14 -0
  256. package/themes/octavius/index.pcss +14 -0
  257. package/themes/octavius/index.scss +14 -0
  258. package/themes/octavius/index.styl +14 -0
  259. package/themes/octaviusCompact/cssVars/declarations/index.css +15 -0
  260. package/themes/octaviusCompact/cssVars/declarations/noColors.css +2 -0
  261. package/themes/octaviusCompact/cssVars/declarations/noSizes.css +13 -0
  262. package/themes/octaviusCompact/cssVars/declarations/onlyColors.css +12 -0
  263. package/themes/octaviusCompact/cssVars/declarations/onlyColors.js +2 -2
  264. package/themes/octaviusCompact/cssVars/declarations/onlyMedia.css +1 -0
  265. package/themes/octaviusCompact/cssVars/declarations/onlyVariables.css +14 -0
  266. package/themes/octaviusCompact/cssVars/declarations/onlyVariables.js +2 -2
  267. package/themes/octaviusCompact/cssVars/declarations/onlyVariablesLocal.css +14 -0
  268. package/themes/octaviusCompact/cssVars/declarations/onlyVariablesLocalIncremental.css +890 -0
  269. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.css +14 -0
  270. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.less +14 -0
  271. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.pcss +14 -0
  272. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.scss +14 -0
  273. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.styl +14 -0
  274. package/themes/octaviusCompact/cssVars/theme/index.js +70 -0
  275. package/themes/octaviusCompact/cssVars/theme/index.json +70 -0
  276. package/themes/octaviusCompact/index.css +14 -0
  277. package/themes/octaviusCompact/index.js +24 -0
  278. package/themes/octaviusCompact/index.json +24 -0
  279. package/themes/octaviusCompact/index.less +14 -0
  280. package/themes/octaviusCompact/index.pcss +14 -0
  281. package/themes/octaviusCompact/index.scss +14 -0
  282. package/themes/octaviusCompact/index.styl +14 -0
  283. package/themes/octaviusCompactDark/cssVars/declarations/index.css +15 -0
  284. package/themes/octaviusCompactDark/cssVars/declarations/noColors.css +2 -0
  285. package/themes/octaviusCompactDark/cssVars/declarations/noSizes.css +13 -0
  286. package/themes/octaviusCompactDark/cssVars/declarations/onlyColors.css +12 -0
  287. package/themes/octaviusCompactDark/cssVars/declarations/onlyColors.js +2 -2
  288. package/themes/octaviusCompactDark/cssVars/declarations/onlyMedia.css +1 -0
  289. package/themes/octaviusCompactDark/cssVars/declarations/onlyVariables.css +14 -0
  290. package/themes/octaviusCompactDark/cssVars/declarations/onlyVariables.js +2 -2
  291. package/themes/octaviusCompactDark/cssVars/declarations/onlyVariablesLocal.css +14 -0
  292. package/themes/octaviusCompactDark/cssVars/declarations/onlyVariablesLocalIncremental.css +890 -0
  293. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.css +14 -0
  294. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.less +14 -0
  295. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.pcss +14 -0
  296. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.scss +14 -0
  297. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.styl +14 -0
  298. package/themes/octaviusCompactDark/cssVars/theme/index.js +70 -0
  299. package/themes/octaviusCompactDark/cssVars/theme/index.json +70 -0
  300. package/themes/octaviusCompactDark/index.css +14 -0
  301. package/themes/octaviusCompactDark/index.js +24 -0
  302. package/themes/octaviusCompactDark/index.json +24 -0
  303. package/themes/octaviusCompactDark/index.less +14 -0
  304. package/themes/octaviusCompactDark/index.pcss +14 -0
  305. package/themes/octaviusCompactDark/index.scss +14 -0
  306. package/themes/octaviusCompactDark/index.styl +14 -0
  307. package/themes/octaviusDark/cssVars/declarations/index.css +15 -0
  308. package/themes/octaviusDark/cssVars/declarations/noColors.css +2 -0
  309. package/themes/octaviusDark/cssVars/declarations/noSizes.css +13 -0
  310. package/themes/octaviusDark/cssVars/declarations/onlyColors.css +12 -0
  311. package/themes/octaviusDark/cssVars/declarations/onlyColors.js +2 -2
  312. package/themes/octaviusDark/cssVars/declarations/onlyMedia.css +1 -0
  313. package/themes/octaviusDark/cssVars/declarations/onlyVariables.css +14 -0
  314. package/themes/octaviusDark/cssVars/declarations/onlyVariables.js +2 -2
  315. package/themes/octaviusDark/cssVars/declarations/onlyVariablesLocal.css +14 -0
  316. package/themes/octaviusDark/cssVars/declarations/onlyVariablesLocalIncremental.css +889 -0
  317. package/themes/octaviusDark/cssVars/theme/fallbacks/index.css +14 -0
  318. package/themes/octaviusDark/cssVars/theme/fallbacks/index.less +14 -0
  319. package/themes/octaviusDark/cssVars/theme/fallbacks/index.pcss +14 -0
  320. package/themes/octaviusDark/cssVars/theme/fallbacks/index.scss +14 -0
  321. package/themes/octaviusDark/cssVars/theme/fallbacks/index.styl +14 -0
  322. package/themes/octaviusDark/cssVars/theme/index.js +70 -0
  323. package/themes/octaviusDark/cssVars/theme/index.json +70 -0
  324. package/themes/octaviusDark/index.css +14 -0
  325. package/themes/octaviusDark/index.js +24 -0
  326. package/themes/octaviusDark/index.json +24 -0
  327. package/themes/octaviusDark/index.less +14 -0
  328. package/themes/octaviusDark/index.pcss +14 -0
  329. package/themes/octaviusDark/index.scss +14 -0
  330. package/themes/octaviusDark/index.styl +14 -0
  331. package/themes/octaviusVK/cssVars/declarations/index.css +17 -2
  332. package/themes/octaviusVK/cssVars/declarations/noColors.css +2 -0
  333. package/themes/octaviusVK/cssVars/declarations/noSizes.css +15 -2
  334. package/themes/octaviusVK/cssVars/declarations/onlyColors.css +14 -2
  335. package/themes/octaviusVK/cssVars/declarations/onlyColors.js +2 -2
  336. package/themes/octaviusVK/cssVars/declarations/onlyMedia.css +1 -0
  337. package/themes/octaviusVK/cssVars/declarations/onlyVariables.css +16 -2
  338. package/themes/octaviusVK/cssVars/declarations/onlyVariables.js +2 -2
  339. package/themes/octaviusVK/cssVars/declarations/onlyVariablesLocal.css +16 -2
  340. package/themes/octaviusVK/cssVars/declarations/onlyVariablesLocalIncremental.css +895 -0
  341. package/themes/octaviusVK/cssVars/theme/fallbacks/index.css +16 -2
  342. package/themes/octaviusVK/cssVars/theme/fallbacks/index.less +16 -2
  343. package/themes/octaviusVK/cssVars/theme/fallbacks/index.pcss +16 -2
  344. package/themes/octaviusVK/cssVars/theme/fallbacks/index.scss +16 -2
  345. package/themes/octaviusVK/cssVars/theme/fallbacks/index.styl +16 -2
  346. package/themes/octaviusVK/cssVars/theme/index.js +72 -2
  347. package/themes/octaviusVK/cssVars/theme/index.json +72 -2
  348. package/themes/octaviusVK/index.css +16 -2
  349. package/themes/octaviusVK/index.js +26 -2
  350. package/themes/octaviusVK/index.json +26 -2
  351. package/themes/octaviusVK/index.less +16 -2
  352. package/themes/octaviusVK/index.pcss +16 -2
  353. package/themes/octaviusVK/index.scss +16 -2
  354. package/themes/octaviusVK/index.styl +16 -2
  355. package/themes/octaviusVKDark/cssVars/declarations/index.css +15 -0
  356. package/themes/octaviusVKDark/cssVars/declarations/noColors.css +2 -0
  357. package/themes/octaviusVKDark/cssVars/declarations/noSizes.css +13 -0
  358. package/themes/octaviusVKDark/cssVars/declarations/onlyColors.css +12 -0
  359. package/themes/octaviusVKDark/cssVars/declarations/onlyColors.js +2 -2
  360. package/themes/octaviusVKDark/cssVars/declarations/onlyMedia.css +1 -0
  361. package/themes/octaviusVKDark/cssVars/declarations/onlyVariables.css +14 -0
  362. package/themes/octaviusVKDark/cssVars/declarations/onlyVariables.js +2 -2
  363. package/themes/octaviusVKDark/cssVars/declarations/onlyVariablesLocal.css +14 -0
  364. package/themes/octaviusVKDark/cssVars/declarations/onlyVariablesLocalIncremental.css +895 -0
  365. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.css +14 -0
  366. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.less +14 -0
  367. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.pcss +14 -0
  368. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.scss +14 -0
  369. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.styl +14 -0
  370. package/themes/octaviusVKDark/cssVars/theme/index.js +70 -0
  371. package/themes/octaviusVKDark/cssVars/theme/index.json +70 -0
  372. package/themes/octaviusVKDark/index.css +14 -0
  373. package/themes/octaviusVKDark/index.js +24 -0
  374. package/themes/octaviusVKDark/index.json +24 -0
  375. package/themes/octaviusVKDark/index.less +14 -0
  376. package/themes/octaviusVKDark/index.pcss +14 -0
  377. package/themes/octaviusVKDark/index.scss +14 -0
  378. package/themes/octaviusVKDark/index.styl +14 -0
  379. package/themes/octaviusWhite/cssVars/declarations/index.css +15 -0
  380. package/themes/octaviusWhite/cssVars/declarations/noColors.css +2 -0
  381. package/themes/octaviusWhite/cssVars/declarations/noSizes.css +13 -0
  382. package/themes/octaviusWhite/cssVars/declarations/onlyColors.css +12 -0
  383. package/themes/octaviusWhite/cssVars/declarations/onlyColors.js +2 -2
  384. package/themes/octaviusWhite/cssVars/declarations/onlyMedia.css +1 -0
  385. package/themes/octaviusWhite/cssVars/declarations/onlyVariables.css +14 -0
  386. package/themes/octaviusWhite/cssVars/declarations/onlyVariables.js +2 -2
  387. package/themes/octaviusWhite/cssVars/declarations/onlyVariablesLocal.css +14 -0
  388. package/themes/octaviusWhite/cssVars/declarations/onlyVariablesLocalIncremental.css +889 -0
  389. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.css +14 -0
  390. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.less +14 -0
  391. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.pcss +14 -0
  392. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.scss +14 -0
  393. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.styl +14 -0
  394. package/themes/octaviusWhite/cssVars/theme/index.js +70 -0
  395. package/themes/octaviusWhite/cssVars/theme/index.json +70 -0
  396. package/themes/octaviusWhite/index.css +14 -0
  397. package/themes/octaviusWhite/index.js +24 -0
  398. package/themes/octaviusWhite/index.json +24 -0
  399. package/themes/octaviusWhite/index.less +14 -0
  400. package/themes/octaviusWhite/index.pcss +14 -0
  401. package/themes/octaviusWhite/index.scss +14 -0
  402. package/themes/octaviusWhite/index.styl +14 -0
  403. package/themes/otvet/cssVars/declarations/index.css +6 -0
  404. package/themes/otvet/cssVars/declarations/noColors.css +2 -0
  405. package/themes/otvet/cssVars/declarations/noSizes.css +4 -0
  406. package/themes/otvet/cssVars/declarations/onlyColors.css +3 -0
  407. package/themes/otvet/cssVars/declarations/onlyColors.js +2 -2
  408. package/themes/otvet/cssVars/declarations/onlyMedia.css +1 -0
  409. package/themes/otvet/cssVars/declarations/onlyVariables.css +5 -0
  410. package/themes/otvet/cssVars/declarations/onlyVariables.js +2 -2
  411. package/themes/otvet/cssVars/declarations/onlyVariablesLocal.css +5 -0
  412. package/themes/otvet/cssVars/declarations/onlyVariablesLocalIncremental.css +483 -0
  413. package/themes/otvet/cssVars/theme/fallbacks/index.css +5 -0
  414. package/themes/otvet/cssVars/theme/fallbacks/index.less +5 -0
  415. package/themes/otvet/cssVars/theme/fallbacks/index.pcss +5 -0
  416. package/themes/otvet/cssVars/theme/fallbacks/index.scss +5 -0
  417. package/themes/otvet/cssVars/theme/fallbacks/index.styl +5 -0
  418. package/themes/otvet/cssVars/theme/index.js +28 -0
  419. package/themes/otvet/cssVars/theme/index.json +28 -0
  420. package/themes/otvet/index.css +5 -0
  421. package/themes/otvet/index.js +9 -0
  422. package/themes/otvet/index.json +9 -0
  423. package/themes/otvet/index.less +5 -0
  424. package/themes/otvet/index.pcss +5 -0
  425. package/themes/otvet/index.scss +5 -0
  426. package/themes/otvet/index.styl +5 -0
  427. package/themes/otvetDark/cssVars/declarations/index.css +6 -0
  428. package/themes/otvetDark/cssVars/declarations/noColors.css +2 -0
  429. package/themes/otvetDark/cssVars/declarations/noSizes.css +4 -0
  430. package/themes/otvetDark/cssVars/declarations/onlyColors.css +3 -0
  431. package/themes/otvetDark/cssVars/declarations/onlyColors.js +2 -2
  432. package/themes/otvetDark/cssVars/declarations/onlyMedia.css +1 -0
  433. package/themes/otvetDark/cssVars/declarations/onlyVariables.css +5 -0
  434. package/themes/otvetDark/cssVars/declarations/onlyVariables.js +2 -2
  435. package/themes/otvetDark/cssVars/declarations/onlyVariablesLocal.css +5 -0
  436. package/themes/otvetDark/cssVars/declarations/onlyVariablesLocalIncremental.css +483 -0
  437. package/themes/otvetDark/cssVars/theme/fallbacks/index.css +5 -0
  438. package/themes/otvetDark/cssVars/theme/fallbacks/index.less +5 -0
  439. package/themes/otvetDark/cssVars/theme/fallbacks/index.pcss +5 -0
  440. package/themes/otvetDark/cssVars/theme/fallbacks/index.scss +5 -0
  441. package/themes/otvetDark/cssVars/theme/fallbacks/index.styl +5 -0
  442. package/themes/otvetDark/cssVars/theme/index.js +28 -0
  443. package/themes/otvetDark/cssVars/theme/index.json +28 -0
  444. package/themes/otvetDark/index.css +5 -0
  445. package/themes/otvetDark/index.js +9 -0
  446. package/themes/otvetDark/index.json +9 -0
  447. package/themes/otvetDark/index.less +5 -0
  448. package/themes/otvetDark/index.pcss +5 -0
  449. package/themes/otvetDark/index.scss +5 -0
  450. package/themes/otvetDark/index.styl +5 -0
  451. package/themes/paradigmBase/cssVars/declarations/index.css +6 -0
  452. package/themes/paradigmBase/cssVars/declarations/noColors.css +2 -0
  453. package/themes/paradigmBase/cssVars/declarations/noSizes.css +4 -0
  454. package/themes/paradigmBase/cssVars/declarations/onlyColors.css +3 -0
  455. package/themes/paradigmBase/cssVars/declarations/onlyColors.js +2 -2
  456. package/themes/paradigmBase/cssVars/declarations/onlyMedia.css +1 -0
  457. package/themes/paradigmBase/cssVars/declarations/onlyVariables.css +5 -0
  458. package/themes/paradigmBase/cssVars/declarations/onlyVariables.js +2 -2
  459. package/themes/paradigmBase/cssVars/declarations/onlyVariablesLocal.css +5 -0
  460. package/themes/paradigmBase/cssVars/declarations/onlyVariablesLocalIncremental.css +508 -0
  461. package/themes/paradigmBase/cssVars/theme/fallbacks/index.css +5 -0
  462. package/themes/paradigmBase/cssVars/theme/fallbacks/index.less +5 -0
  463. package/themes/paradigmBase/cssVars/theme/fallbacks/index.pcss +5 -0
  464. package/themes/paradigmBase/cssVars/theme/fallbacks/index.scss +5 -0
  465. package/themes/paradigmBase/cssVars/theme/fallbacks/index.styl +5 -0
  466. package/themes/paradigmBase/cssVars/theme/index.js +28 -0
  467. package/themes/paradigmBase/cssVars/theme/index.json +28 -0
  468. package/themes/paradigmBase/index.css +5 -0
  469. package/themes/paradigmBase/index.js +9 -0
  470. package/themes/paradigmBase/index.json +9 -0
  471. package/themes/paradigmBase/index.less +5 -0
  472. package/themes/paradigmBase/index.pcss +5 -0
  473. package/themes/paradigmBase/index.scss +5 -0
  474. package/themes/paradigmBase/index.styl +5 -0
  475. package/themes/paradigmBaseDark/cssVars/declarations/index.css +6 -0
  476. package/themes/paradigmBaseDark/cssVars/declarations/noColors.css +2 -0
  477. package/themes/paradigmBaseDark/cssVars/declarations/noSizes.css +4 -0
  478. package/themes/paradigmBaseDark/cssVars/declarations/onlyColors.css +3 -0
  479. package/themes/paradigmBaseDark/cssVars/declarations/onlyColors.js +2 -2
  480. package/themes/paradigmBaseDark/cssVars/declarations/onlyMedia.css +1 -0
  481. package/themes/paradigmBaseDark/cssVars/declarations/onlyVariables.css +5 -0
  482. package/themes/paradigmBaseDark/cssVars/declarations/onlyVariables.js +2 -2
  483. package/themes/paradigmBaseDark/cssVars/declarations/onlyVariablesLocal.css +5 -0
  484. package/themes/paradigmBaseDark/cssVars/declarations/onlyVariablesLocalIncremental.css +508 -0
  485. package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.css +5 -0
  486. package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.less +5 -0
  487. package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.pcss +5 -0
  488. package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.scss +5 -0
  489. package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.styl +5 -0
  490. package/themes/paradigmBaseDark/cssVars/theme/index.js +28 -0
  491. package/themes/paradigmBaseDark/cssVars/theme/index.json +28 -0
  492. package/themes/paradigmBaseDark/index.css +5 -0
  493. package/themes/paradigmBaseDark/index.js +9 -0
  494. package/themes/paradigmBaseDark/index.json +9 -0
  495. package/themes/paradigmBaseDark/index.less +5 -0
  496. package/themes/paradigmBaseDark/index.pcss +5 -0
  497. package/themes/paradigmBaseDark/index.scss +5 -0
  498. package/themes/paradigmBaseDark/index.styl +5 -0
  499. package/themes/pharma/cssVars/declarations/index.css +605 -137
  500. package/themes/pharma/cssVars/declarations/noColors.css +373 -93
  501. package/themes/pharma/cssVars/declarations/noSizes.css +182 -0
  502. package/themes/pharma/cssVars/declarations/onlyAdaptiveGroups.css +37 -0
  503. package/themes/pharma/cssVars/declarations/onlyColors.css +3 -0
  504. package/themes/pharma/cssVars/declarations/onlyColors.js +2 -2
  505. package/themes/pharma/cssVars/declarations/onlyMedia.css +192 -44
  506. package/themes/pharma/cssVars/declarations/onlyVariables.css +88 -27
  507. package/themes/pharma/cssVars/declarations/onlyVariables.js +2 -2
  508. package/themes/pharma/cssVars/declarations/onlyVariablesLocal.css +88 -27
  509. package/themes/pharma/cssVars/declarations/onlyVariablesLocalIncremental.css +714 -0
  510. package/themes/pharma/cssVars/theme/fallbacks/index.css +376 -93
  511. package/themes/pharma/cssVars/theme/fallbacks/index.less +169 -33
  512. package/themes/pharma/cssVars/theme/fallbacks/index.pcss +169 -33
  513. package/themes/pharma/cssVars/theme/fallbacks/index.scss +442 -82
  514. package/themes/pharma/cssVars/theme/fallbacks/index.styl +169 -33
  515. package/themes/pharma/cssVars/theme/index.js +446 -38
  516. package/themes/pharma/cssVars/theme/index.json +446 -38
  517. package/themes/pharma/index.css +376 -93
  518. package/themes/pharma/index.js +147 -38
  519. package/themes/pharma/index.json +147 -38
  520. package/themes/pharma/index.less +169 -33
  521. package/themes/pharma/index.pcss +169 -33
  522. package/themes/pharma/index.scss +442 -82
  523. package/themes/pharma/index.styl +169 -33
  524. package/themes/promo/cssVars/declarations/index.css +6 -0
  525. package/themes/promo/cssVars/declarations/noColors.css +2 -0
  526. package/themes/promo/cssVars/declarations/noSizes.css +4 -0
  527. package/themes/promo/cssVars/declarations/onlyColors.css +3 -0
  528. package/themes/promo/cssVars/declarations/onlyColors.js +2 -2
  529. package/themes/promo/cssVars/declarations/onlyMedia.css +1 -0
  530. package/themes/promo/cssVars/declarations/onlyVariables.css +5 -0
  531. package/themes/promo/cssVars/declarations/onlyVariables.js +2 -2
  532. package/themes/promo/cssVars/declarations/onlyVariablesLocal.css +5 -0
  533. package/themes/promo/cssVars/declarations/onlyVariablesLocalIncremental.css +664 -0
  534. package/themes/promo/cssVars/theme/fallbacks/index.css +5 -0
  535. package/themes/promo/cssVars/theme/fallbacks/index.less +5 -0
  536. package/themes/promo/cssVars/theme/fallbacks/index.pcss +5 -0
  537. package/themes/promo/cssVars/theme/fallbacks/index.scss +5 -0
  538. package/themes/promo/cssVars/theme/fallbacks/index.styl +5 -0
  539. package/themes/promo/cssVars/theme/index.js +28 -0
  540. package/themes/promo/cssVars/theme/index.json +28 -0
  541. package/themes/promo/index.css +5 -0
  542. package/themes/promo/index.js +9 -0
  543. package/themes/promo/index.json +9 -0
  544. package/themes/promo/index.less +5 -0
  545. package/themes/promo/index.pcss +5 -0
  546. package/themes/promo/index.scss +5 -0
  547. package/themes/promo/index.styl +5 -0
  548. package/themes/todo/cssVars/declarations/index.css +6 -0
  549. package/themes/todo/cssVars/declarations/noColors.css +2 -0
  550. package/themes/todo/cssVars/declarations/noSizes.css +4 -0
  551. package/themes/todo/cssVars/declarations/onlyColors.css +3 -0
  552. package/themes/todo/cssVars/declarations/onlyColors.js +2 -2
  553. package/themes/todo/cssVars/declarations/onlyMedia.css +1 -0
  554. package/themes/todo/cssVars/declarations/onlyVariables.css +5 -0
  555. package/themes/todo/cssVars/declarations/onlyVariables.js +2 -2
  556. package/themes/todo/cssVars/declarations/onlyVariablesLocal.css +5 -0
  557. package/themes/todo/cssVars/declarations/onlyVariablesLocalIncremental.css +509 -0
  558. package/themes/todo/cssVars/theme/fallbacks/index.css +5 -0
  559. package/themes/todo/cssVars/theme/fallbacks/index.less +5 -0
  560. package/themes/todo/cssVars/theme/fallbacks/index.pcss +5 -0
  561. package/themes/todo/cssVars/theme/fallbacks/index.scss +5 -0
  562. package/themes/todo/cssVars/theme/fallbacks/index.styl +5 -0
  563. package/themes/todo/cssVars/theme/index.js +28 -0
  564. package/themes/todo/cssVars/theme/index.json +28 -0
  565. package/themes/todo/index.css +5 -0
  566. package/themes/todo/index.js +9 -0
  567. package/themes/todo/index.json +9 -0
  568. package/themes/todo/index.less +5 -0
  569. package/themes/todo/index.pcss +5 -0
  570. package/themes/todo/index.scss +5 -0
  571. package/themes/todo/index.styl +5 -0
  572. package/themes/vkBase/cssVars/declarations/index.css +7 -2
  573. package/themes/vkBase/cssVars/declarations/noColors.css +2 -0
  574. package/themes/vkBase/cssVars/declarations/noSizes.css +6 -2
  575. package/themes/vkBase/cssVars/declarations/onlyColors.css +5 -2
  576. package/themes/vkBase/cssVars/declarations/onlyColors.js +2 -2
  577. package/themes/vkBase/cssVars/declarations/onlyVariables.css +7 -2
  578. package/themes/vkBase/cssVars/declarations/onlyVariables.js +2 -2
  579. package/themes/vkBase/cssVars/declarations/onlyVariablesLocal.css +7 -2
  580. package/themes/vkBase/cssVars/declarations/onlyVariablesLocalIncremental.css +413 -0
  581. package/themes/vkBase/cssVars/theme/fallbacks/index.css +7 -2
  582. package/themes/vkBase/cssVars/theme/fallbacks/index.less +7 -2
  583. package/themes/vkBase/cssVars/theme/fallbacks/index.pcss +7 -2
  584. package/themes/vkBase/cssVars/theme/fallbacks/index.scss +7 -2
  585. package/themes/vkBase/cssVars/theme/fallbacks/index.styl +7 -2
  586. package/themes/vkBase/cssVars/theme/index.js +30 -2
  587. package/themes/vkBase/cssVars/theme/index.json +30 -2
  588. package/themes/vkBase/index.css +7 -2
  589. package/themes/vkBase/index.js +11 -2
  590. package/themes/vkBase/index.json +11 -2
  591. package/themes/vkBase/index.less +7 -2
  592. package/themes/vkBase/index.pcss +7 -2
  593. package/themes/vkBase/index.scss +7 -2
  594. package/themes/vkBase/index.styl +7 -2
  595. package/themes/vkBaseDark/cssVars/declarations/index.css +6 -0
  596. package/themes/vkBaseDark/cssVars/declarations/noColors.css +3 -0
  597. package/themes/vkBaseDark/cssVars/declarations/noSizes.css +5 -0
  598. package/themes/vkBaseDark/cssVars/declarations/onlyColors.css +3 -0
  599. package/themes/vkBaseDark/cssVars/declarations/onlyColors.js +2 -2
  600. package/themes/vkBaseDark/cssVars/declarations/onlyVariables.css +6 -0
  601. package/themes/vkBaseDark/cssVars/declarations/onlyVariables.js +2 -2
  602. package/themes/vkBaseDark/cssVars/declarations/onlyVariablesLocal.css +6 -0
  603. package/themes/vkBaseDark/cssVars/declarations/onlyVariablesLocalIncremental.css +233 -0
  604. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.css +6 -0
  605. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.less +6 -0
  606. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.pcss +6 -0
  607. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.scss +6 -0
  608. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.styl +6 -0
  609. package/themes/vkBaseDark/cssVars/theme/index.js +32 -0
  610. package/themes/vkBaseDark/cssVars/theme/index.json +32 -0
  611. package/themes/vkBaseDark/index.css +6 -0
  612. package/themes/vkBaseDark/index.js +10 -0
  613. package/themes/vkBaseDark/index.json +10 -0
  614. package/themes/vkBaseDark/index.less +6 -0
  615. package/themes/vkBaseDark/index.pcss +6 -0
  616. package/themes/vkBaseDark/index.scss +6 -0
  617. package/themes/vkBaseDark/index.styl +6 -0
  618. package/themes/vkCom/cssVars/declarations/index.css +8 -2
  619. package/themes/vkCom/cssVars/declarations/noColors.css +3 -0
  620. package/themes/vkCom/cssVars/declarations/noSizes.css +7 -2
  621. package/themes/vkCom/cssVars/declarations/onlyColors.css +5 -2
  622. package/themes/vkCom/cssVars/declarations/onlyColors.js +2 -2
  623. package/themes/vkCom/cssVars/declarations/onlyVariables.css +8 -2
  624. package/themes/vkCom/cssVars/declarations/onlyVariables.js +2 -2
  625. package/themes/vkCom/cssVars/declarations/onlyVariablesLocal.css +8 -2
  626. package/themes/vkCom/cssVars/declarations/onlyVariablesLocalIncremental.css +6 -0
  627. package/themes/vkCom/cssVars/theme/fallbacks/index.css +8 -2
  628. package/themes/vkCom/cssVars/theme/fallbacks/index.less +8 -2
  629. package/themes/vkCom/cssVars/theme/fallbacks/index.pcss +8 -2
  630. package/themes/vkCom/cssVars/theme/fallbacks/index.scss +8 -2
  631. package/themes/vkCom/cssVars/theme/fallbacks/index.styl +8 -2
  632. package/themes/vkCom/cssVars/theme/index.js +34 -2
  633. package/themes/vkCom/cssVars/theme/index.json +34 -2
  634. package/themes/vkCom/index.css +8 -2
  635. package/themes/vkCom/index.js +12 -2
  636. package/themes/vkCom/index.json +12 -2
  637. package/themes/vkCom/index.less +8 -2
  638. package/themes/vkCom/index.pcss +8 -2
  639. package/themes/vkCom/index.scss +8 -2
  640. package/themes/vkCom/index.styl +8 -2
  641. package/themes/vkComDark/cssVars/declarations/index.css +6 -0
  642. package/themes/vkComDark/cssVars/declarations/noColors.css +3 -0
  643. package/themes/vkComDark/cssVars/declarations/noSizes.css +5 -0
  644. package/themes/vkComDark/cssVars/declarations/onlyColors.css +3 -0
  645. package/themes/vkComDark/cssVars/declarations/onlyColors.js +2 -2
  646. package/themes/vkComDark/cssVars/declarations/onlyVariables.css +6 -0
  647. package/themes/vkComDark/cssVars/declarations/onlyVariables.js +2 -2
  648. package/themes/vkComDark/cssVars/declarations/onlyVariablesLocal.css +6 -0
  649. package/themes/vkComDark/cssVars/declarations/onlyVariablesLocalIncremental.css +6 -0
  650. package/themes/vkComDark/cssVars/theme/fallbacks/index.css +6 -0
  651. package/themes/vkComDark/cssVars/theme/fallbacks/index.less +6 -0
  652. package/themes/vkComDark/cssVars/theme/fallbacks/index.pcss +6 -0
  653. package/themes/vkComDark/cssVars/theme/fallbacks/index.scss +6 -0
  654. package/themes/vkComDark/cssVars/theme/fallbacks/index.styl +6 -0
  655. package/themes/vkComDark/cssVars/theme/index.js +32 -0
  656. package/themes/vkComDark/cssVars/theme/index.json +32 -0
  657. package/themes/vkComDark/index.css +6 -0
  658. package/themes/vkComDark/index.js +10 -0
  659. package/themes/vkComDark/index.json +10 -0
  660. package/themes/vkComDark/index.less +6 -0
  661. package/themes/vkComDark/index.pcss +6 -0
  662. package/themes/vkComDark/index.scss +6 -0
  663. package/themes/vkComDark/index.styl +6 -0
  664. package/themes/vkIOS/cssVars/declarations/index.css +8 -2
  665. package/themes/vkIOS/cssVars/declarations/noColors.css +3 -0
  666. package/themes/vkIOS/cssVars/declarations/noSizes.css +7 -2
  667. package/themes/vkIOS/cssVars/declarations/onlyColors.css +5 -2
  668. package/themes/vkIOS/cssVars/declarations/onlyColors.js +2 -2
  669. package/themes/vkIOS/cssVars/declarations/onlyVariables.css +8 -2
  670. package/themes/vkIOS/cssVars/declarations/onlyVariables.js +2 -2
  671. package/themes/vkIOS/cssVars/declarations/onlyVariablesLocal.css +8 -2
  672. package/themes/vkIOS/cssVars/declarations/onlyVariablesLocalIncremental.css +7 -0
  673. package/themes/vkIOS/cssVars/theme/fallbacks/index.css +8 -2
  674. package/themes/vkIOS/cssVars/theme/fallbacks/index.less +8 -2
  675. package/themes/vkIOS/cssVars/theme/fallbacks/index.pcss +8 -2
  676. package/themes/vkIOS/cssVars/theme/fallbacks/index.scss +8 -2
  677. package/themes/vkIOS/cssVars/theme/fallbacks/index.styl +8 -2
  678. package/themes/vkIOS/cssVars/theme/index.js +34 -2
  679. package/themes/vkIOS/cssVars/theme/index.json +34 -2
  680. package/themes/vkIOS/index.css +8 -2
  681. package/themes/vkIOS/index.js +12 -2
  682. package/themes/vkIOS/index.json +12 -2
  683. package/themes/vkIOS/index.less +8 -2
  684. package/themes/vkIOS/index.pcss +8 -2
  685. package/themes/vkIOS/index.scss +8 -2
  686. package/themes/vkIOS/index.styl +8 -2
  687. package/themes/vkIOSDark/cssVars/declarations/index.css +6 -0
  688. package/themes/vkIOSDark/cssVars/declarations/noColors.css +3 -0
  689. package/themes/vkIOSDark/cssVars/declarations/noSizes.css +5 -0
  690. package/themes/vkIOSDark/cssVars/declarations/onlyColors.css +3 -0
  691. package/themes/vkIOSDark/cssVars/declarations/onlyColors.js +2 -2
  692. package/themes/vkIOSDark/cssVars/declarations/onlyVariables.css +6 -0
  693. package/themes/vkIOSDark/cssVars/declarations/onlyVariables.js +2 -2
  694. package/themes/vkIOSDark/cssVars/declarations/onlyVariablesLocal.css +6 -0
  695. package/themes/vkIOSDark/cssVars/declarations/onlyVariablesLocalIncremental.css +7 -0
  696. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.css +6 -0
  697. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.less +6 -0
  698. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.pcss +6 -0
  699. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.scss +6 -0
  700. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.styl +6 -0
  701. package/themes/vkIOSDark/cssVars/theme/index.js +32 -0
  702. package/themes/vkIOSDark/cssVars/theme/index.json +32 -0
  703. package/themes/vkIOSDark/index.css +6 -0
  704. package/themes/vkIOSDark/index.js +10 -0
  705. package/themes/vkIOSDark/index.json +10 -0
  706. package/themes/vkIOSDark/index.less +6 -0
  707. package/themes/vkIOSDark/index.pcss +6 -0
  708. package/themes/vkIOSDark/index.scss +6 -0
  709. package/themes/vkIOSDark/index.styl +6 -0
@@ -3,7 +3,7 @@ declare type ThemeBuildType = 'root' | 'subtheme' | 'flat' | 'cssVars' | 'cssVar
3
3
  declare function writeJsonFile<T = Theme>(themePath: string, theme: T, _?: ThemeBuildType): void;
4
4
  declare function writeTsFile<T extends SpecialTokens = Theme>(themePath: string, theme: T, type: ThemeBuildType, themeName?: string): void;
5
5
  declare function writeStyleFiles<PT extends PixelifyTheme = PixelifyTheme>(themePath: string, theme: PT): void;
6
- declare function writeCssVarsSourceFile<PT extends PixelifyTheme = PixelifyTheme>(themePath: string, theme: PT, cssWarsTheme: any): void;
6
+ declare function writeCssVarsSourceFile<PT extends PixelifyTheme = PixelifyTheme>(themePath: string, theme: PT, cssVarsTheme: any, themeBase?: PT): void;
7
7
  declare function writeCssVarsSourceMediaFile<T = ThemeCssVarsWide>(themePath: string, theme: T): void;
8
8
  declare function writeCssVarsJsUtils<T = Theme>(themePath: string, theme: ThemeCssVarsWide<T>): void;
9
9
  export { writeCssVarsJsUtils, writeCssVarsSourceFile, writeCssVarsSourceMediaFile, writeJsonFile, writeStyleFiles, writeTsFile, };
@@ -12,6 +12,19 @@ var compileStyles_1 = require("./styles/compileStyles");
12
12
  var compileTypeScript_1 = require("./ts/compileTypeScript");
13
13
  var capitalize_1 = require("../helpers/capitalize");
14
14
  var compileBreakpointsCssVarsDeclaration_1 = require("./cssVars/declarations/compileBreakpointsCssVarsDeclaration");
15
+ var cssModes = [
16
+ { mode: 'default', fileName: 'index.css' },
17
+ { mode: 'onlyVariables', fileName: 'onlyVariables.css' },
18
+ { mode: 'onlyVariablesLocal', fileName: 'onlyVariablesLocal.css' },
19
+ {
20
+ mode: 'onlyVariablesLocalIncremental',
21
+ fileName: 'onlyVariablesLocalIncremental.css',
22
+ },
23
+ { mode: 'onlyColors', fileName: 'onlyColors.css' },
24
+ { mode: 'onlyAdaptiveGroups', fileName: 'onlyAdaptiveGroups.css' },
25
+ { mode: 'noSizes', fileName: 'noSizes.css' },
26
+ { mode: 'noColors', fileName: 'noColors.css' },
27
+ ];
15
28
  function writeJsonFile(themePath, theme, _) {
16
29
  console.log("\u043A\u043E\u043C\u043F\u0438\u043B\u0438\u0440\u0443\u0435\u043C json...");
17
30
  var fileName = "index.json";
@@ -65,26 +78,26 @@ function writeStyleFiles(themePath, theme) {
65
78
  });
66
79
  }
67
80
  exports.writeStyleFiles = writeStyleFiles;
68
- function writeCssVarsSourceFile(themePath, theme, cssWarsTheme) {
81
+ function writeCssVarsSourceFile(themePath, theme, cssVarsTheme, themeBase) {
82
+ var _a;
69
83
  console.log("\u043A\u043E\u043C\u043F\u0438\u043B\u0438\u0440\u0443\u0435\u043C \u0438\u0441\u0442\u043E\u0447\u043D\u0438\u043A\u0438 \u0434\u043B\u044F css vars \u0442\u0435\u043C...");
70
- [
71
- { mode: 'default', fileName: 'index.css' },
72
- { mode: 'onlyVariables', fileName: 'onlyVariables.css' },
73
- { mode: 'onlyVariablesLocal', fileName: 'onlyVariablesLocal.css' },
74
- { mode: 'onlyColors', fileName: 'onlyColors.css' },
75
- { mode: 'onlyAdaptiveGroups', fileName: 'onlyAdaptiveGroups.css' },
76
- { mode: 'noSizes', fileName: 'noSizes.css' },
77
- { mode: 'noColors', fileName: 'noColors.css' },
78
- ].forEach(function (_a) {
79
- var _b;
80
- var mode = _a.mode, fileName = _a.fileName;
81
- var filePath = path_1.default.resolve(themePath, fileName);
82
- var content = mode === 'default'
83
- ? compileStyles_1.compileStyles('css', theme, 'withAdaptiveGroups') + "\n\n" + ((_b = compileBreakpointsCssVarsDeclaration_1.compileBreakpointsCssVarsDeclaration(cssWarsTheme)) !== null && _b !== void 0 ? _b : '')
84
- : compileStyles_1.compileStyles('css', theme, mode);
84
+ for (var _i = 0, cssModes_1 = cssModes; _i < cssModes_1.length; _i++) {
85
+ var modeConfig = cssModes_1[_i];
86
+ var filePath = path_1.default.resolve(themePath, modeConfig.fileName);
87
+ var compiledVars = compileStyles_1.compileStyles('css', theme, modeConfig.mode === 'default'
88
+ ? 'withAdaptiveGroups'
89
+ : modeConfig.mode, themeBase);
90
+ var compiledBreakpoints = modeConfig.mode === 'default'
91
+ ? "\n\n" + ((_a = compileBreakpointsCssVarsDeclaration_1.compileBreakpointsCssVarsDeclaration(cssVarsTheme)) !== null && _a !== void 0 ? _a : '')
92
+ : '';
93
+ if (compiledBreakpoints.includes('null')) {
94
+ console.error(modeConfig);
95
+ throw new Error('NULL');
96
+ }
97
+ var content = compiledVars + compiledBreakpoints;
85
98
  fs_extra_1.default.writeFileSync(filePath, content);
86
- console.log("\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0437\u0430\u043F\u0438\u0441\u0430\u043B\u0438 \u0444\u0430\u0439\u043B " + fileName);
87
- });
99
+ console.log("\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0437\u0430\u043F\u0438\u0441\u0430\u043B\u0438 \u0444\u0430\u0439\u043B " + modeConfig.fileName);
100
+ }
88
101
  }
89
102
  exports.writeCssVarsSourceFile = writeCssVarsSourceFile;
90
103
  function writeCssVarsSourceMediaFile(themePath, theme) {
@@ -2,10 +2,10 @@ import 'css.escape';
2
2
  import { PixelifyTheme } from '../../../interfaces/general';
3
3
  import { Formats } from './helpers/tokenProcessors';
4
4
  export declare const serviceKeys: string[];
5
- export declare type CompileStylesMode = 'default' | 'onlyVariables' | 'onlyVariablesLocal' | 'onlyColors' | 'withAdaptiveGroups' | 'onlyAdaptiveGroups' | 'noSizes' | 'noColors';
5
+ export declare type CompileStylesMode = 'default' | 'onlyVariables' | 'onlyVariablesLocal' | 'onlyVariablesLocalIncremental' | 'onlyColors' | 'withAdaptiveGroups' | 'onlyAdaptiveGroups' | 'noSizes' | 'noColors';
6
6
  export declare function getPrefix<PT extends PixelifyTheme>(format: Formats, theme: PT): string;
7
7
  export declare function getRootSelector<PT extends PixelifyTheme>(theme: PT, mode: CompileStylesMode): string;
8
8
  /**
9
- * Компиллирует строку со стилями (в разных форматах), на основе темы
9
+ * Компилирует строку со стилями (в разных форматах), на основе темы
10
10
  */
11
- export declare const compileStyles: <PT extends PixelifyTheme<import("../../../interfaces/general/tools/tokenValue").StaticTokens<import("../../../interfaces/general").Theme>> = PixelifyTheme<import("../../../interfaces/general/tools/tokenValue").StaticTokens<import("../../../interfaces/general").Theme>>>(format: Formats, theme: PT, mode?: CompileStylesMode) => string;
11
+ export declare const compileStyles: <PT extends PixelifyTheme<import("../../../interfaces/general/tools/tokenValue").StaticTokens<import("../../../interfaces/general").Theme>> = PixelifyTheme<import("../../../interfaces/general/tools/tokenValue").StaticTokens<import("../../../interfaces/general").Theme>>>(format: Formats, theme: PT, mode?: CompileStylesMode, themeBase?: PT) => string;
@@ -6,6 +6,7 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.compileStyles = exports.getRootSelector = exports.getPrefix = exports.serviceKeys = void 0;
8
8
  require("css.escape");
9
+ var assert_1 = require("assert");
9
10
  var common_tags_1 = require("common-tags");
10
11
  var getAllButColors_1 = require("../../helpers/getAllButColors");
11
12
  var getAllButSizes_1 = require("../../helpers/getAllButSizes");
@@ -28,22 +29,44 @@ function getPrefix(format, theme) {
28
29
  return prefix;
29
30
  }
30
31
  exports.getPrefix = getPrefix;
31
- function getRootSelector(theme, mode) {
32
+ function isOnlyVariables(mode) {
33
+ return mode.toLowerCase().includes('onlyvariables');
34
+ }
35
+ function isLocal(mode) {
36
+ return mode.toLowerCase().includes('local');
37
+ }
38
+ function isIncremental(mode) {
39
+ return mode.toLowerCase().includes('incremental');
40
+ }
41
+ function getThemeNameBase(theme) {
32
42
  var _a;
33
- if (!mode.endsWith('Local')) {
43
+ return (_a = theme.themeNameBase) !== null && _a !== void 0 ? _a : theme.themeName;
44
+ }
45
+ function getRootSelector(theme, mode) {
46
+ if (!isLocal(mode)) {
34
47
  return ':root';
35
48
  }
36
- return "." + getPrefix(tokenProcessors_1.EStyleTypes.CSS, theme) + ((_a = theme.themeNameBase) !== null && _a !== void 0 ? _a : theme.themeName) + "--" + theme.colorsScheme;
49
+ return "." + getPrefix(tokenProcessors_1.EStyleTypes.CSS, theme) + getThemeNameBase(theme) + "--" + theme.colorsScheme;
37
50
  }
38
51
  exports.getRootSelector = getRootSelector;
52
+ function isDeepEqual(actual, expected) {
53
+ try {
54
+ assert_1.deepStrictEqual(actual, expected);
55
+ return true;
56
+ }
57
+ catch (_) {
58
+ return false;
59
+ }
60
+ }
39
61
  /**
40
- * Компиллирует строку со стилями (в разных форматах), на основе темы
62
+ * Компилирует строку со стилями (в разных форматах), на основе темы
41
63
  */
42
- var compileStyles = function (format, theme, mode) {
64
+ var compileStyles = function (format, theme, mode, themeBase) {
43
65
  if (mode === void 0) { mode = 'default'; }
44
66
  var classicCssType = isClassicCssType(format);
45
67
  var prefix = getPrefix(format, theme);
46
68
  var rootSelector = getRootSelector(theme, mode);
69
+ var incremental = isIncremental(mode);
47
70
  var getDeclaration = tokenProcessors_1.varDeclarations[format];
48
71
  var getVariableStatement = tokenProcessors_1.variablesStatementDeclaration[format];
49
72
  var getCustomMediaDeclaration = tokenProcessors_1.customMediaDeclaration[format];
@@ -67,6 +90,10 @@ var compileStyles = function (format, theme, mode) {
67
90
  return;
68
91
  }
69
92
  var token = theme[key];
93
+ // в инкрементальном режиме пропускаем токены, чьи значения совпадают со значениями из themeBase
94
+ if (incremental && themeBase && isDeepEqual(token, themeBase[key])) {
95
+ return;
96
+ }
70
97
  // если переменная — строка (например, имя темы)
71
98
  if (tokenRecognition_1.isString(token, key)) {
72
99
  variables += getVariableStatement(getDeclaration(key, prefix), "'" + CSS.escape(token) + "'");
@@ -114,7 +141,7 @@ var compileStyles = function (format, theme, mode) {
114
141
  if (classicCssType && variables) {
115
142
  result = common_tags_1.stripIndent(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t\t", " {\n\t\t", "}\n\t\t"], ["\n\t\t", " {\n\t\t", "}\n\t\t"])), rootSelector, variables.split('\n').join('\n\t\t'));
116
143
  }
117
- if (mode === 'onlyVariables' || mode === 'onlyVariablesLocal') {
144
+ if (isOnlyVariables(mode)) {
118
145
  return common_tags_1.stripIndent(result);
119
146
  }
120
147
  if (mode === 'onlyAdaptiveGroups') {
@@ -9,7 +9,7 @@ var compileStyles_1 = require("./compileStyles");
9
9
  var tokenProcessors_1 = require("./helpers/tokenProcessors");
10
10
  var formats = Object.values(tokenProcessors_1.EStyleTypes);
11
11
  function runTest(format, testData) {
12
- var compiled = compileStyles_1.compileStyles(format, testData.descriptionTheme, testData.mode);
12
+ var compiled = compileStyles_1.compileStyles(format, testData.descriptionTheme, testData.mode, testData.descriptionThemeBase);
13
13
  expect(compiled).toBe(testData.result[format]);
14
14
  }
15
15
  describe('compileStyles', function () {
@@ -283,5 +283,43 @@ describe('compileStyles', function () {
283
283
  },
284
284
  });
285
285
  });
286
+ test.each(formats)('%s: onlyVariablesLocalIncremental', function (f) {
287
+ runTest(f, {
288
+ mode: 'onlyVariablesLocalIncremental',
289
+ descriptionTheme: {
290
+ themeName: 'vkIOSDark',
291
+ themeNameBase: 'vkIOS',
292
+ themeInheritsFrom: 'vkIOS',
293
+ colorsScheme: 'dark',
294
+ sizeBasePadding: {
295
+ regular: '20px',
296
+ },
297
+ colorBackground: {
298
+ normal: '#FFF',
299
+ hover: '#AAA',
300
+ active: '#CCC',
301
+ },
302
+ },
303
+ descriptionThemeBase: {
304
+ themeName: 'vkIOS',
305
+ colorsScheme: 'light',
306
+ sizeBasePadding: {
307
+ regular: '20px',
308
+ },
309
+ colorBackground: {
310
+ normal: '#AAA',
311
+ hover: '#AAA',
312
+ active: '#CCC',
313
+ },
314
+ },
315
+ result: {
316
+ css: common_tags_1.stripIndent(templateObject_61 || (templateObject_61 = __makeTemplateObject(["\n\t\t\t\t\t.vkui--vkIOS--dark {\n\t\t\t\t\t\t--vkui--theme_name: 'vkIOSDark';\n\t\t\t\t\t\t--vkui--theme_name_base: 'vkIOS';\n\t\t\t\t\t\t--vkui--theme_inherits_from: 'vkIOS';\n\t\t\t\t\t\t--vkui--colors_scheme: dark;\n\t\t\t\t\t\t--vkui--color_background: #FFF;\n\t\t\t\t\t\t--vkui--color_background--hover: #AAA;\n\t\t\t\t\t\t--vkui--color_background--active: #CCC;\n\t\t\t\t\t}\n\t\t\t\t"], ["\n\t\t\t\t\t.vkui--vkIOS--dark {\n\t\t\t\t\t\t--vkui--theme_name: 'vkIOSDark';\n\t\t\t\t\t\t--vkui--theme_name_base: 'vkIOS';\n\t\t\t\t\t\t--vkui--theme_inherits_from: 'vkIOS';\n\t\t\t\t\t\t--vkui--colors_scheme: dark;\n\t\t\t\t\t\t--vkui--color_background: #FFF;\n\t\t\t\t\t\t--vkui--color_background--hover: #AAA;\n\t\t\t\t\t\t--vkui--color_background--active: #CCC;\n\t\t\t\t\t}\n\t\t\t\t"]))),
317
+ scss: common_tags_1.stripIndent(templateObject_62 || (templateObject_62 = __makeTemplateObject(["\n\t\t\t\t\t$theme-name: 'vkIOSDark';\n\t\t\t\t\t$theme-name-base: 'vkIOS';\n\t\t\t\t\t$theme-inherits-from: 'vkIOS';\n\t\t\t\t\t$colors-scheme: dark;\n\t\t\t\t\t$color-background: #FFF;\n\t\t\t\t\t$color-background--hover: #AAA;\n\t\t\t\t\t$color-background--active: #CCC;\n\t\t\t\t"], ["\n\t\t\t\t\t$theme-name: 'vkIOSDark';\n\t\t\t\t\t$theme-name-base: 'vkIOS';\n\t\t\t\t\t$theme-inherits-from: 'vkIOS';\n\t\t\t\t\t$colors-scheme: dark;\n\t\t\t\t\t$color-background: #FFF;\n\t\t\t\t\t$color-background--hover: #AAA;\n\t\t\t\t\t$color-background--active: #CCC;\n\t\t\t\t"]))),
318
+ pcss: common_tags_1.stripIndent(templateObject_63 || (templateObject_63 = __makeTemplateObject(["\n\t\t\t\t.vkui--vkIOS--dark {\n\t\t\t\t\t--theme-name: 'vkIOSDark';\n\t\t\t\t\t--theme-name-base: 'vkIOS';\n\t\t\t\t\t--theme-inherits-from: 'vkIOS';\n\t\t\t\t\t--colors-scheme: dark;\n\t\t\t\t\t--color-background: #FFF;\n\t\t\t\t\t--color-background--hover: #AAA;\n\t\t\t\t\t--color-background--active: #CCC;\n\t\t\t\t}"], ["\n\t\t\t\t.vkui--vkIOS--dark {\n\t\t\t\t\t--theme-name: 'vkIOSDark';\n\t\t\t\t\t--theme-name-base: 'vkIOS';\n\t\t\t\t\t--theme-inherits-from: 'vkIOS';\n\t\t\t\t\t--colors-scheme: dark;\n\t\t\t\t\t--color-background: #FFF;\n\t\t\t\t\t--color-background--hover: #AAA;\n\t\t\t\t\t--color-background--active: #CCC;\n\t\t\t\t}"]))),
319
+ less: common_tags_1.stripIndent(templateObject_64 || (templateObject_64 = __makeTemplateObject(["\n\t\t\t\t\t@theme-name: 'vkIOSDark';\n\t\t\t\t\t@theme-name-base: 'vkIOS';\n\t\t\t\t\t@theme-inherits-from: 'vkIOS';\n\t\t\t\t\t@colors-scheme: dark;\n\t\t\t\t\t@color-background: #FFF;\n\t\t\t\t\t@color-background--hover: #AAA;\n\t\t\t\t\t@color-background--active: #CCC;\n\t\t\t\t"], ["\n\t\t\t\t\t@theme-name: 'vkIOSDark';\n\t\t\t\t\t@theme-name-base: 'vkIOS';\n\t\t\t\t\t@theme-inherits-from: 'vkIOS';\n\t\t\t\t\t@colors-scheme: dark;\n\t\t\t\t\t@color-background: #FFF;\n\t\t\t\t\t@color-background--hover: #AAA;\n\t\t\t\t\t@color-background--active: #CCC;\n\t\t\t\t"]))),
320
+ styl: common_tags_1.stripIndent(templateObject_65 || (templateObject_65 = __makeTemplateObject(["\n\t\t\t\t\t$theme-name = 'vkIOSDark';\n\t\t\t\t\t$theme-name-base = 'vkIOS';\n\t\t\t\t\t$theme-inherits-from = 'vkIOS';\n\t\t\t\t\t$colors-scheme = dark;\n\t\t\t\t\t$color-background = #FFF;\n\t\t\t\t\t$color-background--hover = #AAA;\n\t\t\t\t\t$color-background--active = #CCC;\n\t\t\t\t"], ["\n\t\t\t\t\t$theme-name = 'vkIOSDark';\n\t\t\t\t\t$theme-name-base = 'vkIOS';\n\t\t\t\t\t$theme-inherits-from = 'vkIOS';\n\t\t\t\t\t$colors-scheme = dark;\n\t\t\t\t\t$color-background = #FFF;\n\t\t\t\t\t$color-background--hover = #AAA;\n\t\t\t\t\t$color-background--active = #CCC;\n\t\t\t\t"]))),
321
+ },
322
+ });
323
+ });
286
324
  });
287
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34, templateObject_35, templateObject_36, templateObject_37, templateObject_38, templateObject_39, templateObject_40, templateObject_41, templateObject_42, templateObject_43, templateObject_44, templateObject_45, templateObject_46, templateObject_47, templateObject_48, templateObject_49, templateObject_50, templateObject_51, templateObject_52, templateObject_53, templateObject_54, templateObject_55, templateObject_56, templateObject_57, templateObject_58, templateObject_59, templateObject_60;
325
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34, templateObject_35, templateObject_36, templateObject_37, templateObject_38, templateObject_39, templateObject_40, templateObject_41, templateObject_42, templateObject_43, templateObject_44, templateObject_45, templateObject_46, templateObject_47, templateObject_48, templateObject_49, templateObject_50, templateObject_51, templateObject_52, templateObject_53, templateObject_54, templateObject_55, templateObject_56, templateObject_57, templateObject_58, templateObject_59, templateObject_60, templateObject_61, templateObject_62, templateObject_63, templateObject_64, templateObject_65;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isCustomMediaToken = exports.isAdaptiveFlatToken = exports.isGroupToken = exports.isColor = exports.isString = void 0;
4
4
  var customMedia_1 = require("../../../themeProcessors/customMedia/customMedia");
5
- var stringKeys = ['themeName', 'themeNameBase'];
5
+ var stringKeys = ['themeName', 'themeNameBase', 'themeInheritsFrom'];
6
6
  function isString(token, key) {
7
7
  return typeof token === 'string' && stringKeys.includes(key);
8
8
  }
@@ -99,6 +99,7 @@ export interface ColorsDescriptionStruct {
99
99
  colorOverlayPrimary: ColorDescription;
100
100
  colorTransparent: ColorDescription;
101
101
  colorBackgroundNegativeTint: ColorDescription;
102
+ colorFieldBackground: ColorDescription;
102
103
  }
103
104
  export declare type Colors = {
104
105
  [key in keyof ColorsDescriptionStruct]: ColorWithStates;
@@ -4,4 +4,5 @@ export interface Elevation {
4
4
  elevation3: Property.BoxShadow;
5
5
  elevation2: Property.BoxShadow;
6
6
  elevation1: Property.BoxShadow;
7
+ elevation1InvertY: Property.BoxShadow;
7
8
  }
@@ -39,4 +39,5 @@ export interface Sizes {
39
39
  sizeButtonGroupGapSpace: number;
40
40
  sizeButtonGroupGapSmall: number;
41
41
  sizeButtonGroupGapMedium: number;
42
+ sizeOptionHierarchy: number;
42
43
  }
@@ -28,6 +28,7 @@ export interface ColorsFinal extends Colors, ColorsScheme {
28
28
  export interface SpecialTokens {
29
29
  themeName: string;
30
30
  themeNameBase?: string;
31
+ themeInheritsFrom?: string;
31
32
  prefix?: string;
32
33
  }
33
34
  export interface WithThemeType {
@@ -38,6 +38,12 @@ declare type SocialColorsDescriptions = {
38
38
  [key in keyof SocialColors]: ColorDescription;
39
39
  };
40
40
  interface MediaUniqTokens {
41
+ mediaFontMediaHeader: Adaptive<Font>;
42
+ mediaFontMediaTitle1: Adaptive<Font>;
43
+ mediaFontMediaTitle2: Adaptive<Font>;
44
+ mediaFontMediaTitle3: Adaptive<Font>;
45
+ mediaFontMediaLead: Adaptive<Font>;
46
+ mediaFontMediaParagraph: Adaptive<Font>;
41
47
  fontFamilyArticle: Property.FontFamily;
42
48
  fontWeightArticle1: Property.FontWeight;
43
49
  fontWeightArticle2: Property.FontWeight;
@@ -82,6 +82,9 @@ export interface LocalOctaviusColorsDescriptionStruct {
82
82
  octaviusColorHeaderButtonText: ColorDescription;
83
83
  octaviusColorHeaderButtonBackgroundAlpha: ColorDescription;
84
84
  octaviusColorHeaderIcon: ColorDescription;
85
+ octaviusColorHeaderIconUnread: ColorDescription;
86
+ octaviusColorHeaderIconFavorite: ColorDescription;
87
+ octaviusColorHeaderIconAttach: ColorDescription;
85
88
  octaviusColorHeaderTextSecondary: ColorDescription;
86
89
  octaviusColorHeaderProgress: ColorDescription;
87
90
  octaviusColorHeaderFilterTextAlpha: ColorDescription;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@vkontakte/vkui-tokens",
3
- "version": "4.5.1",
3
+ "version": "4.7.0",
4
4
  "description": "Репозиторий, который содержит в себе дизайн-токены и другие инструменты объединенной дизайн-системы VKUI и Paradigm",
5
5
  "license": "MIT",
6
6
  "main": "utils/descriptions.js",
7
7
  "scripts": {
8
- "build": "npm run build:script && npm run tsc:generate-paths && npm run tsc:dist",
8
+ "build": "mkdir -p dist && npm run build:script && npm run tsc:generate-paths && npm run tsc:dist",
9
9
  "build:local": "npm run build && npm run clear:dist",
10
10
  "prepublish:dist": "npm run clear:src && npm run build",
11
11
  "publish:dist": "npm run prepublish:dist && cd dist && npm publish --access=public",
@@ -61,5 +61,8 @@
61
61
  "tscpaths": "0.0.9",
62
62
  "type-fest": "1.0.2",
63
63
  "typescript": "4.2.4"
64
+ },
65
+ "engines": {
66
+ "npm": "8.5.5"
64
67
  }
65
68
  }
@@ -46,6 +46,7 @@ exports.lightColors = {
46
46
  colorBackgroundModal: '#FFFFFF',
47
47
  colorBackgroundPositive: '#0DC268',
48
48
  colorBackgroundNegativeTint: '#FAEBEB',
49
+ colorFieldBackground: '#ffffff',
49
50
  // Text
50
51
  colorTextAccent: '#005FF9',
51
52
  colorTextAccentThemed: '#005FF9',
@@ -139,6 +140,7 @@ exports.darkColors = {
139
140
  colorBackgroundModal: '#303030',
140
141
  colorBackgroundPositive: '#0DC268',
141
142
  colorBackgroundNegativeTint: '#522e2e',
143
+ colorFieldBackground: '#232324',
142
144
  // Text
143
145
  colorTextAccent: '#3C82FD',
144
146
  colorTextAccentThemed: '#FFFFFF',
@@ -456,8 +458,12 @@ exports.lightThemeBase = __assign(__assign({ themeName: 'paradigmBase' }, export
456
458
  }, sizeButtonGroupGapMedium: {
457
459
  regular: 12,
458
460
  },
461
+ // Токены иерархии
462
+ sizeOptionHierarchy: {
463
+ regular: 32,
464
+ },
459
465
  // Прочие отступы
460
- elevation1: '0 2px 0 0 rgba(0, 16, 61, 0.04)', elevation2: '0 4px 32px 0 rgba(0, 16, 61, 0.32)', elevation3: '0 16px 48px 0 rgba(0, 0, 0, 0.48)', elevation4: '0 16px 48px 0 rgba(0, 0, 0, 0.48)', animationDurationL: '0.4s', animationDurationM: '0.2s', animationDurationS: '0.1s', animationEasingDefault: 'cubic-bezier(0.3, 0.3, 0.5, 1)', opacityDisable: 0.48, opacityDisableAccessibility: 0.64 });
466
+ elevation1: '0 2px 0 0 rgba(0, 16, 61, 0.04)', elevation1InvertY: '0 -2px 0 0 rgba(0, 16, 61, 0.04)', elevation2: '0 4px 32px 0 rgba(0, 16, 61, 0.32)', elevation3: '0 16px 48px 0 rgba(0, 0, 0, 0.48)', elevation4: '0 16px 48px 0 rgba(0, 0, 0, 0.48)', animationDurationL: '0.4s', animationDurationM: '0.2s', animationDurationS: '0.1s', animationEasingDefault: 'cubic-bezier(0.3, 0.3, 0.5, 1)', opacityDisable: 0.48, opacityDisableAccessibility: 0.64 });
461
467
  var x05 = common_1.helpers.x05, x1 = common_1.helpers.x1, x2 = common_1.helpers.x2, x3 = common_1.helpers.x3, x4 = common_1.helpers.x4, x5 = common_1.helpers.x5, x6 = common_1.helpers.x6, x8 = common_1.helpers.x8, x10 = common_1.helpers.x10;
462
468
  exports.lightTheme = __assign(__assign(__assign({}, exports.lightThemeBase), common_1.helpers), { colors: __assign(__assign({}, exports.lightThemeBase.colors), { colorRating: '#ffd400', colorButtonContrastAlpha: {
463
469
  normal: 'rgba(255, 255, 255, 1)',
@@ -630,6 +636,7 @@ exports.lightTheme = __assign(__assign(__assign({}, exports.lightThemeBase), com
630
636
  toneValueOverlay: 0.48, toneValueViewer: 0.88, toneValueToolbar: 0.24, toneValueHover: 0.04, toneValueActive: 0.08, toneValueFocus: 0.08, typeBorderButton: 'solid', typeBorderPosition: 'inset' });
631
637
  exports.darkThemeElevation = {
632
638
  elevation1: '0 2px 0 0 rgba(0, 0, 0, 0.04)',
639
+ elevation1InvertY: '0 -2px 0 0 rgba(0, 0, 0, 0.04)',
633
640
  elevation2: '0 4px 48px 0 rgba(0, 0, 0, 0.72)',
634
641
  elevation3: '0 4px 32px 0 rgba(0, 0, 0, 0.48)',
635
642
  elevation4: '0 4px 32px 0 rgba(0, 0, 0, 0.48)',
@@ -70,7 +70,12 @@ exports.lightColors = {
70
70
  colorImagePlaceholderAlpha: 'rgba(0, 28, 61, 0.08)',
71
71
  colorImagePlaceholder: '#F2F3F5',
72
72
  colorSearchFieldBackground: '#EBEDF0',
73
- colorFieldBorderAlpha: 'rgba(0, 0, 0, 0.12)',
73
+ colorFieldBorderAlpha: {
74
+ normal: 'rgba(0, 0, 0, 0.12)',
75
+ hover: 'rgba(0, 0, 0, 0.24)',
76
+ active: 'rgba(0, 0, 0, 0.36)',
77
+ },
78
+ colorFieldBackground: '#f2f3f5',
74
79
  colorSeparatorPrimaryAlpha: 'rgba(0, 0, 0, 0.12)',
75
80
  colorSeparatorSecondary: '#E1E3E6',
76
81
  colorSeparatorPrimary: '#D7D8D9',
@@ -158,6 +163,7 @@ exports.darkColors = {
158
163
  colorImagePlaceholder: '#2A2B2C',
159
164
  colorSearchFieldBackground: '#232324',
160
165
  colorFieldBorderAlpha: 'rgba(255, 255, 255, 0.12)',
166
+ colorFieldBackground: '#292929',
161
167
  colorSeparatorPrimaryAlpha: 'rgba(0, 0, 0, 0.4)',
162
168
  colorSeparatorSecondary: '#141415',
163
169
  colorSeparatorPrimary: '#0F0F10',
@@ -452,8 +458,12 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase', themeNameBase: 'vk
452
458
  }, sizeButtonGroupGapMedium: {
453
459
  regular: 12,
454
460
  },
461
+ // Токены иерархии
462
+ sizeOptionHierarchy: {
463
+ regular: 32,
464
+ },
455
465
  // Прочие отступы
456
- elevation1: '0px 0px 2px rgba(0, 0, 0, 0.03), 0px 2px 2px rgba(0, 0, 0, 0.06)', elevation2: '0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 4px rgba(0, 0, 0, 0.06)', elevation3: '0px 0px 2px rgba(0, 0, 0, 0.08), 0px 4px 16px rgba(0, 0, 0, 0.08)', elevation4: '0px 0px 8px rgba(0, 0, 0, 0.12), 0px 16px 16px rgba(0, 0, 0, 0.16)', animationDurationL: '0.4s', animationDurationM: '0.2s', animationDurationS: '0.1s', animationEasingDefault: 'cubic-bezier(0.3, 0.3, 0.5, 1)', opacityDisable: 0.4, opacityDisableAccessibility: 0.64 });
457
- exports.darkTheme = __assign(__assign(__assign({}, exports.lightTheme), exports.darkColors), { themeName: 'vkBaseDark', colorsScheme: 'dark',
466
+ elevation1: '0px 0px 2px rgba(0, 0, 0, 0.03), 0px 2px 2px rgba(0, 0, 0, 0.06)', elevation1InvertY: '0px 0px 2px rgba(0, 0, 0, 0.03), 0px -2px 2px rgba(0, 0, 0, 0.06)', elevation2: '0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 4px rgba(0, 0, 0, 0.06)', elevation3: '0px 0px 2px rgba(0, 0, 0, 0.08), 0px 4px 16px rgba(0, 0, 0, 0.08)', elevation4: '0px 0px 8px rgba(0, 0, 0, 0.12), 0px 16px 16px rgba(0, 0, 0, 0.16)', animationDurationL: '0.4s', animationDurationM: '0.2s', animationDurationS: '0.1s', animationEasingDefault: 'cubic-bezier(0.3, 0.3, 0.5, 1)', opacityDisable: 0.4, opacityDisableAccessibility: 0.64 });
467
+ exports.darkTheme = __assign(__assign(__assign({}, exports.lightTheme), exports.darkColors), { themeName: 'vkBaseDark', themeInheritsFrom: 'vkBase', colorsScheme: 'dark',
458
468
  // TODO: Поставить нормальные отступы из тёмной темы
459
469
  elevation1: '0px 0px 2px rgba(0, 0, 0, 0.03), 0px 2px 2px rgba(0, 0, 0, 0.06)', elevation2: '0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 4px rgba(0, 0, 0, 0.06)', elevation3: '0px 0px 2px rgba(0, 0, 0, 0.08), 0px 4px 16px rgba(0, 0, 0, 0.08)', elevation4: '0px 0px 8px rgba(0, 0, 0, 0.12), 0px 16px 16px rgba(0, 0, 0, 0.16)' });
@@ -200,7 +200,9 @@
200
200
  --vkui--size_button_group_gap_space--regular: 1px;
201
201
  --vkui--size_button_group_gap_small--regular: 8px;
202
202
  --vkui--size_button_group_gap_medium--regular: 12px;
203
+ --vkui--size_option_hierarchy--regular: 32px;
203
204
  --vkui--elevation1: 0 2px 0 0 rgba(0, 16, 61, 0.04);
205
+ --vkui--elevation1_invert_y: 0 -2px 0 0 rgba(0, 16, 61, 0.04);
204
206
  --vkui--elevation2: 0 4px 32px 0 rgba(0, 16, 61, 0.32);
205
207
  --vkui--elevation3: 0 16px 48px 0 rgba(0, 0, 0, 0.48);
206
208
  --vkui--elevation4: 0 16px 48px 0 rgba(0, 0, 0, 0.48);
@@ -381,6 +383,9 @@
381
383
  --vkui--color_background_negative_tint: #FAEBEB;
382
384
  --vkui--color_background_negative_tint--hover: #F0E2E4;
383
385
  --vkui--color_background_negative_tint--active: #E6D9DD;
386
+ --vkui--color_field_background: #ffffff;
387
+ --vkui--color_field_background--hover: #F5F5F7;
388
+ --vkui--color_field_background--active: #EBECEF;
384
389
  --vkui--color_text_accent: #005FF9;
385
390
  --vkui--color_text_accent--hover: #005CF1;
386
391
  --vkui--color_text_accent--active: #0059EA;
@@ -1313,6 +1318,7 @@
1313
1318
  --vkui--size_button_group_gap_space: 1px;
1314
1319
  --vkui--size_button_group_gap_small: 8px;
1315
1320
  --vkui--size_button_group_gap_medium: 12px;
1321
+ --vkui--size_option_hierarchy: 32px;
1316
1322
  --vkui--font_h0--font_size: var(--vkui--font_h0--font_size--regular);
1317
1323
  --vkui--font_h0--line_height: var(--vkui--font_h0--line_height--regular);
1318
1324
  --vkui--font_h0--font_family: var(--vkui--font_h0--font_family--regular);
@@ -200,7 +200,9 @@
200
200
  --vkui--size_button_group_gap_space--regular: 1px;
201
201
  --vkui--size_button_group_gap_small--regular: 8px;
202
202
  --vkui--size_button_group_gap_medium--regular: 12px;
203
+ --vkui--size_option_hierarchy--regular: 32px;
203
204
  --vkui--elevation1: 0 2px 0 0 rgba(0, 16, 61, 0.04);
205
+ --vkui--elevation1_invert_y: 0 -2px 0 0 rgba(0, 16, 61, 0.04);
204
206
  --vkui--elevation2: 0 4px 32px 0 rgba(0, 16, 61, 0.32);
205
207
  --vkui--elevation3: 0 16px 48px 0 rgba(0, 0, 0, 0.48);
206
208
  --vkui--elevation4: 0 16px 48px 0 rgba(0, 0, 0, 0.48);
@@ -1,6 +1,7 @@
1
1
  :root {
2
2
  --vkui--theme_name: 'calendar';
3
3
  --vkui--elevation1: 0 2px 0 0 rgba(0, 16, 61, 0.04);
4
+ --vkui--elevation1_invert_y: 0 -2px 0 0 rgba(0, 16, 61, 0.04);
4
5
  --vkui--elevation2: 0 4px 32px 0 rgba(0, 16, 61, 0.32);
5
6
  --vkui--elevation3: 0 16px 48px 0 rgba(0, 0, 0, 0.48);
6
7
  --vkui--elevation4: 0 16px 48px 0 rgba(0, 0, 0, 0.48);
@@ -65,6 +66,9 @@
65
66
  --vkui--color_background_negative_tint: #FAEBEB;
66
67
  --vkui--color_background_negative_tint--hover: #F0E2E4;
67
68
  --vkui--color_background_negative_tint--active: #E6D9DD;
69
+ --vkui--color_field_background: #ffffff;
70
+ --vkui--color_field_background--hover: #F5F5F7;
71
+ --vkui--color_field_background--active: #EBECEF;
68
72
  --vkui--color_text_accent: #005FF9;
69
73
  --vkui--color_text_accent--hover: #005CF1;
70
74
  --vkui--color_text_accent--active: #0059EA;
@@ -44,6 +44,9 @@
44
44
  --vkui--color_background_negative_tint: #FAEBEB;
45
45
  --vkui--color_background_negative_tint--hover: #F0E2E4;
46
46
  --vkui--color_background_negative_tint--active: #E6D9DD;
47
+ --vkui--color_field_background: #ffffff;
48
+ --vkui--color_field_background--hover: #F5F5F7;
49
+ --vkui--color_field_background--active: #EBECEF;
47
50
  --vkui--color_text_accent: #005FF9;
48
51
  --vkui--color_text_accent--hover: #005CF1;
49
52
  --vkui--color_text_accent--active: #0059EA;