@vkontakte/vkui-tokens 4.29.3-dev-b24760.0 → 4.29.4

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 (423) hide show
  1. package/build/compilers/docs/__test__/testLinks.d.ts +7 -0
  2. package/build/compilers/docs/__test__/testLinks.js +2 -0
  3. package/build/compilers/docs/compileDocsJSON.d.ts +9 -1
  4. package/build/compilers/docs/compileDocsJSON.js +51 -11
  5. package/build/compilers/docs/compileDocsJSON.test.js +39 -6
  6. package/build/compilers/styles/helpers/tokenProcessors.d.ts +1 -1
  7. package/interfaces/namespaces/vk/index.d.ts +0 -181
  8. package/interfaces/namespaces/vk/index.js +1 -2
  9. package/interfaces/themes/octavius/index.d.ts +1 -0
  10. package/interfaces/themes/vkBase/index.d.ts +4 -4
  11. package/interfaces/themes/vkBaseDark/index.d.ts +4 -4
  12. package/package.json +6 -6
  13. package/themeDescriptions/base/vk.d.ts +3 -5
  14. package/themeDescriptions/base/vk.js +2 -38
  15. package/themes/calendar/docs.json +2746 -1256
  16. package/themes/calendarDark/docs.json +2746 -1256
  17. package/themes/calls/docs.json +2600 -1110
  18. package/themes/cloud/docs.json +2600 -1110
  19. package/themes/cloudDark/docs.json +2600 -1110
  20. package/themes/home/docs.json +2632 -1142
  21. package/themes/homeDark/docs.json +2632 -1142
  22. package/themes/media/cssVars/declarations/index.css +12 -12
  23. package/themes/media/cssVars/declarations/noColors.css +12 -12
  24. package/themes/media/cssVars/declarations/onlyVariables.css +4 -4
  25. package/themes/media/cssVars/declarations/onlyVariables.js +2 -2
  26. package/themes/media/cssVars/declarations/onlyVariablesLocal.css +4 -4
  27. package/themes/media/cssVars/declarations/onlyVariablesLocalIncremental.css +4 -4
  28. package/themes/media/cssVars/theme/fallbacks/index.css +12 -12
  29. package/themes/media/cssVars/theme/fallbacks/index.less +4 -4
  30. package/themes/media/cssVars/theme/fallbacks/index.pcss +4 -4
  31. package/themes/media/cssVars/theme/fallbacks/index.scss +9 -9
  32. package/themes/media/cssVars/theme/fallbacks/index.styl +4 -4
  33. package/themes/media/cssVars/theme/index.js +4 -4
  34. package/themes/media/cssVars/theme/index.json +4 -4
  35. package/themes/media/docs.json +2813 -1323
  36. package/themes/media/index.css +12 -12
  37. package/themes/media/index.js +4 -4
  38. package/themes/media/index.json +4 -4
  39. package/themes/media/index.less +4 -4
  40. package/themes/media/index.pcss +4 -4
  41. package/themes/media/index.scss +9 -9
  42. package/themes/media/index.styl +4 -4
  43. package/themes/media/struct.json +4 -4
  44. package/themes/mediaDark/cssVars/declarations/index.css +12 -12
  45. package/themes/mediaDark/cssVars/declarations/noColors.css +12 -12
  46. package/themes/mediaDark/cssVars/declarations/onlyVariables.css +4 -4
  47. package/themes/mediaDark/cssVars/declarations/onlyVariables.js +2 -2
  48. package/themes/mediaDark/cssVars/declarations/onlyVariablesLocal.css +4 -4
  49. package/themes/mediaDark/cssVars/declarations/onlyVariablesLocalIncremental.css +4 -4
  50. package/themes/mediaDark/cssVars/theme/fallbacks/index.css +12 -12
  51. package/themes/mediaDark/cssVars/theme/fallbacks/index.less +4 -4
  52. package/themes/mediaDark/cssVars/theme/fallbacks/index.pcss +4 -4
  53. package/themes/mediaDark/cssVars/theme/fallbacks/index.scss +9 -9
  54. package/themes/mediaDark/cssVars/theme/fallbacks/index.styl +4 -4
  55. package/themes/mediaDark/cssVars/theme/index.js +4 -4
  56. package/themes/mediaDark/cssVars/theme/index.json +4 -4
  57. package/themes/mediaDark/docs.json +2813 -1323
  58. package/themes/mediaDark/index.css +12 -12
  59. package/themes/mediaDark/index.js +4 -4
  60. package/themes/mediaDark/index.json +4 -4
  61. package/themes/mediaDark/index.less +4 -4
  62. package/themes/mediaDark/index.pcss +4 -4
  63. package/themes/mediaDark/index.scss +9 -9
  64. package/themes/mediaDark/index.styl +4 -4
  65. package/themes/mediaDark/struct.json +4 -4
  66. package/themes/mycom/cssVars/declarations/index.css +12 -12
  67. package/themes/mycom/cssVars/declarations/noColors.css +12 -12
  68. package/themes/mycom/cssVars/declarations/noSizes.css +12 -12
  69. package/themes/mycom/cssVars/declarations/onlyVariables.css +4 -4
  70. package/themes/mycom/cssVars/declarations/onlyVariables.js +2 -2
  71. package/themes/mycom/cssVars/declarations/onlyVariablesLocal.css +4 -4
  72. package/themes/mycom/cssVars/declarations/onlyVariablesLocalIncremental.css +4 -4
  73. package/themes/mycom/cssVars/theme/fallbacks/index.css +12 -12
  74. package/themes/mycom/cssVars/theme/fallbacks/index.less +4 -4
  75. package/themes/mycom/cssVars/theme/fallbacks/index.pcss +4 -4
  76. package/themes/mycom/cssVars/theme/fallbacks/index.scss +9 -9
  77. package/themes/mycom/cssVars/theme/fallbacks/index.styl +4 -4
  78. package/themes/mycom/cssVars/theme/index.js +4 -4
  79. package/themes/mycom/cssVars/theme/index.json +4 -4
  80. package/themes/mycom/docs.json +2760 -1270
  81. package/themes/mycom/index.css +12 -12
  82. package/themes/mycom/index.js +4 -4
  83. package/themes/mycom/index.json +4 -4
  84. package/themes/mycom/index.less +4 -4
  85. package/themes/mycom/index.pcss +4 -4
  86. package/themes/mycom/index.scss +9 -9
  87. package/themes/mycom/index.styl +4 -4
  88. package/themes/mycom/struct.json +4 -4
  89. package/themes/octavius/cssVars/declarations/index.css +3 -0
  90. package/themes/octavius/cssVars/declarations/noSizes.css +3 -0
  91. package/themes/octavius/cssVars/declarations/onlyColors.css +3 -0
  92. package/themes/octavius/cssVars/declarations/onlyColors.js +2 -2
  93. package/themes/octavius/cssVars/declarations/onlyVariables.css +3 -0
  94. package/themes/octavius/cssVars/declarations/onlyVariables.js +2 -2
  95. package/themes/octavius/cssVars/declarations/onlyVariablesLocal.css +3 -0
  96. package/themes/octavius/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -0
  97. package/themes/octavius/cssVars/theme/fallbacks/index.css +3 -0
  98. package/themes/octavius/cssVars/theme/fallbacks/index.less +3 -0
  99. package/themes/octavius/cssVars/theme/fallbacks/index.pcss +3 -0
  100. package/themes/octavius/cssVars/theme/fallbacks/index.scss +3 -0
  101. package/themes/octavius/cssVars/theme/fallbacks/index.styl +3 -0
  102. package/themes/octavius/cssVars/theme/index.js +14 -0
  103. package/themes/octavius/cssVars/theme/index.json +14 -0
  104. package/themes/octavius/docs.json +3466 -1972
  105. package/themes/octavius/index.css +3 -0
  106. package/themes/octavius/index.js +5 -0
  107. package/themes/octavius/index.json +5 -0
  108. package/themes/octavius/index.less +3 -0
  109. package/themes/octavius/index.pcss +3 -0
  110. package/themes/octavius/index.scss +3 -0
  111. package/themes/octavius/index.styl +3 -0
  112. package/themes/octavius/struct.json +5 -0
  113. package/themes/octaviusCompact/cssVars/declarations/index.css +3 -0
  114. package/themes/octaviusCompact/cssVars/declarations/noSizes.css +3 -0
  115. package/themes/octaviusCompact/cssVars/declarations/onlyColors.css +3 -0
  116. package/themes/octaviusCompact/cssVars/declarations/onlyColors.js +2 -2
  117. package/themes/octaviusCompact/cssVars/declarations/onlyVariables.css +3 -0
  118. package/themes/octaviusCompact/cssVars/declarations/onlyVariables.js +2 -2
  119. package/themes/octaviusCompact/cssVars/declarations/onlyVariablesLocal.css +3 -0
  120. package/themes/octaviusCompact/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -0
  121. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.css +3 -0
  122. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.less +3 -0
  123. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.pcss +3 -0
  124. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.scss +3 -0
  125. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.styl +3 -0
  126. package/themes/octaviusCompact/cssVars/theme/index.js +14 -0
  127. package/themes/octaviusCompact/cssVars/theme/index.json +14 -0
  128. package/themes/octaviusCompact/docs.json +3466 -1972
  129. package/themes/octaviusCompact/index.css +3 -0
  130. package/themes/octaviusCompact/index.js +5 -0
  131. package/themes/octaviusCompact/index.json +5 -0
  132. package/themes/octaviusCompact/index.less +3 -0
  133. package/themes/octaviusCompact/index.pcss +3 -0
  134. package/themes/octaviusCompact/index.scss +3 -0
  135. package/themes/octaviusCompact/index.styl +3 -0
  136. package/themes/octaviusCompact/struct.json +5 -0
  137. package/themes/octaviusCompactDark/cssVars/declarations/index.css +3 -0
  138. package/themes/octaviusCompactDark/cssVars/declarations/noSizes.css +3 -0
  139. package/themes/octaviusCompactDark/cssVars/declarations/onlyColors.css +3 -0
  140. package/themes/octaviusCompactDark/cssVars/declarations/onlyColors.js +2 -2
  141. package/themes/octaviusCompactDark/cssVars/declarations/onlyVariables.css +3 -0
  142. package/themes/octaviusCompactDark/cssVars/declarations/onlyVariables.js +2 -2
  143. package/themes/octaviusCompactDark/cssVars/declarations/onlyVariablesLocal.css +3 -0
  144. package/themes/octaviusCompactDark/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -0
  145. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.css +3 -0
  146. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.less +3 -0
  147. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.pcss +3 -0
  148. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.scss +3 -0
  149. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.styl +3 -0
  150. package/themes/octaviusCompactDark/cssVars/theme/index.js +14 -0
  151. package/themes/octaviusCompactDark/cssVars/theme/index.json +14 -0
  152. package/themes/octaviusCompactDark/docs.json +3466 -1972
  153. package/themes/octaviusCompactDark/index.css +3 -0
  154. package/themes/octaviusCompactDark/index.js +5 -0
  155. package/themes/octaviusCompactDark/index.json +5 -0
  156. package/themes/octaviusCompactDark/index.less +3 -0
  157. package/themes/octaviusCompactDark/index.pcss +3 -0
  158. package/themes/octaviusCompactDark/index.scss +3 -0
  159. package/themes/octaviusCompactDark/index.styl +3 -0
  160. package/themes/octaviusCompactDark/struct.json +5 -0
  161. package/themes/octaviusDark/cssVars/declarations/index.css +3 -0
  162. package/themes/octaviusDark/cssVars/declarations/noSizes.css +3 -0
  163. package/themes/octaviusDark/cssVars/declarations/onlyColors.css +3 -0
  164. package/themes/octaviusDark/cssVars/declarations/onlyColors.js +2 -2
  165. package/themes/octaviusDark/cssVars/declarations/onlyVariables.css +3 -0
  166. package/themes/octaviusDark/cssVars/declarations/onlyVariables.js +2 -2
  167. package/themes/octaviusDark/cssVars/declarations/onlyVariablesLocal.css +3 -0
  168. package/themes/octaviusDark/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -0
  169. package/themes/octaviusDark/cssVars/theme/fallbacks/index.css +3 -0
  170. package/themes/octaviusDark/cssVars/theme/fallbacks/index.less +3 -0
  171. package/themes/octaviusDark/cssVars/theme/fallbacks/index.pcss +3 -0
  172. package/themes/octaviusDark/cssVars/theme/fallbacks/index.scss +3 -0
  173. package/themes/octaviusDark/cssVars/theme/fallbacks/index.styl +3 -0
  174. package/themes/octaviusDark/cssVars/theme/index.js +14 -0
  175. package/themes/octaviusDark/cssVars/theme/index.json +14 -0
  176. package/themes/octaviusDark/docs.json +3466 -1972
  177. package/themes/octaviusDark/index.css +3 -0
  178. package/themes/octaviusDark/index.js +5 -0
  179. package/themes/octaviusDark/index.json +5 -0
  180. package/themes/octaviusDark/index.less +3 -0
  181. package/themes/octaviusDark/index.pcss +3 -0
  182. package/themes/octaviusDark/index.scss +3 -0
  183. package/themes/octaviusDark/index.styl +3 -0
  184. package/themes/octaviusDark/struct.json +5 -0
  185. package/themes/octaviusVK/cssVars/declarations/index.css +3 -0
  186. package/themes/octaviusVK/cssVars/declarations/noSizes.css +3 -0
  187. package/themes/octaviusVK/cssVars/declarations/onlyColors.css +3 -0
  188. package/themes/octaviusVK/cssVars/declarations/onlyColors.js +2 -2
  189. package/themes/octaviusVK/cssVars/declarations/onlyVariables.css +3 -0
  190. package/themes/octaviusVK/cssVars/declarations/onlyVariables.js +2 -2
  191. package/themes/octaviusVK/cssVars/declarations/onlyVariablesLocal.css +3 -0
  192. package/themes/octaviusVK/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -0
  193. package/themes/octaviusVK/cssVars/theme/fallbacks/index.css +3 -0
  194. package/themes/octaviusVK/cssVars/theme/fallbacks/index.less +3 -0
  195. package/themes/octaviusVK/cssVars/theme/fallbacks/index.pcss +3 -0
  196. package/themes/octaviusVK/cssVars/theme/fallbacks/index.scss +3 -0
  197. package/themes/octaviusVK/cssVars/theme/fallbacks/index.styl +3 -0
  198. package/themes/octaviusVK/cssVars/theme/index.js +14 -0
  199. package/themes/octaviusVK/cssVars/theme/index.json +14 -0
  200. package/themes/octaviusVK/docs.json +3466 -1972
  201. package/themes/octaviusVK/index.css +3 -0
  202. package/themes/octaviusVK/index.js +5 -0
  203. package/themes/octaviusVK/index.json +5 -0
  204. package/themes/octaviusVK/index.less +3 -0
  205. package/themes/octaviusVK/index.pcss +3 -0
  206. package/themes/octaviusVK/index.scss +3 -0
  207. package/themes/octaviusVK/index.styl +3 -0
  208. package/themes/octaviusVK/struct.json +5 -0
  209. package/themes/octaviusVKDark/cssVars/declarations/index.css +3 -0
  210. package/themes/octaviusVKDark/cssVars/declarations/noSizes.css +3 -0
  211. package/themes/octaviusVKDark/cssVars/declarations/onlyColors.css +3 -0
  212. package/themes/octaviusVKDark/cssVars/declarations/onlyColors.js +2 -2
  213. package/themes/octaviusVKDark/cssVars/declarations/onlyVariables.css +3 -0
  214. package/themes/octaviusVKDark/cssVars/declarations/onlyVariables.js +2 -2
  215. package/themes/octaviusVKDark/cssVars/declarations/onlyVariablesLocal.css +3 -0
  216. package/themes/octaviusVKDark/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -0
  217. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.css +3 -0
  218. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.less +3 -0
  219. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.pcss +3 -0
  220. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.scss +3 -0
  221. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.styl +3 -0
  222. package/themes/octaviusVKDark/cssVars/theme/index.js +14 -0
  223. package/themes/octaviusVKDark/cssVars/theme/index.json +14 -0
  224. package/themes/octaviusVKDark/docs.json +3466 -1972
  225. package/themes/octaviusVKDark/index.css +3 -0
  226. package/themes/octaviusVKDark/index.js +5 -0
  227. package/themes/octaviusVKDark/index.json +5 -0
  228. package/themes/octaviusVKDark/index.less +3 -0
  229. package/themes/octaviusVKDark/index.pcss +3 -0
  230. package/themes/octaviusVKDark/index.scss +3 -0
  231. package/themes/octaviusVKDark/index.styl +3 -0
  232. package/themes/octaviusVKDark/struct.json +5 -0
  233. package/themes/octaviusWhite/cssVars/declarations/index.css +3 -0
  234. package/themes/octaviusWhite/cssVars/declarations/noSizes.css +3 -0
  235. package/themes/octaviusWhite/cssVars/declarations/onlyColors.css +3 -0
  236. package/themes/octaviusWhite/cssVars/declarations/onlyColors.js +2 -2
  237. package/themes/octaviusWhite/cssVars/declarations/onlyVariables.css +3 -0
  238. package/themes/octaviusWhite/cssVars/declarations/onlyVariables.js +2 -2
  239. package/themes/octaviusWhite/cssVars/declarations/onlyVariablesLocal.css +3 -0
  240. package/themes/octaviusWhite/cssVars/declarations/onlyVariablesLocalIncremental.css +3 -0
  241. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.css +3 -0
  242. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.less +3 -0
  243. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.pcss +3 -0
  244. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.scss +3 -0
  245. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.styl +3 -0
  246. package/themes/octaviusWhite/cssVars/theme/index.js +14 -0
  247. package/themes/octaviusWhite/cssVars/theme/index.json +14 -0
  248. package/themes/octaviusWhite/docs.json +3466 -1972
  249. package/themes/octaviusWhite/index.css +3 -0
  250. package/themes/octaviusWhite/index.js +5 -0
  251. package/themes/octaviusWhite/index.json +5 -0
  252. package/themes/octaviusWhite/index.less +3 -0
  253. package/themes/octaviusWhite/index.pcss +3 -0
  254. package/themes/octaviusWhite/index.scss +3 -0
  255. package/themes/octaviusWhite/index.styl +3 -0
  256. package/themes/octaviusWhite/struct.json +5 -0
  257. package/themes/otvet/docs.json +2584 -1094
  258. package/themes/otvetDark/docs.json +2584 -1094
  259. package/themes/paradigmBase/docs.json +2600 -1110
  260. package/themes/paradigmBaseDark/docs.json +2600 -1110
  261. package/themes/pharma/cssVars/declarations/index.css +12 -12
  262. package/themes/pharma/cssVars/declarations/noColors.css +12 -12
  263. package/themes/pharma/cssVars/declarations/noSizes.css +12 -12
  264. package/themes/pharma/cssVars/declarations/onlyVariables.css +4 -4
  265. package/themes/pharma/cssVars/declarations/onlyVariables.js +2 -2
  266. package/themes/pharma/cssVars/declarations/onlyVariablesLocal.css +4 -4
  267. package/themes/pharma/cssVars/declarations/onlyVariablesLocalIncremental.css +4 -4
  268. package/themes/pharma/cssVars/theme/fallbacks/index.css +12 -12
  269. package/themes/pharma/cssVars/theme/fallbacks/index.less +4 -4
  270. package/themes/pharma/cssVars/theme/fallbacks/index.pcss +4 -4
  271. package/themes/pharma/cssVars/theme/fallbacks/index.scss +9 -9
  272. package/themes/pharma/cssVars/theme/fallbacks/index.styl +4 -4
  273. package/themes/pharma/cssVars/theme/index.js +4 -4
  274. package/themes/pharma/cssVars/theme/index.json +4 -4
  275. package/themes/pharma/docs.json +2812 -1322
  276. package/themes/pharma/index.css +12 -12
  277. package/themes/pharma/index.js +4 -4
  278. package/themes/pharma/index.json +4 -4
  279. package/themes/pharma/index.less +4 -4
  280. package/themes/pharma/index.pcss +4 -4
  281. package/themes/pharma/index.scss +9 -9
  282. package/themes/pharma/index.styl +4 -4
  283. package/themes/pharma/struct.json +4 -4
  284. package/themes/promo/docs.json +2702 -1212
  285. package/themes/pulse/docs.json +1245 -590
  286. package/themes/pulseDark/docs.json +1245 -590
  287. package/themes/search/docs.json +2700 -1210
  288. package/themes/todo/docs.json +2600 -1110
  289. package/themes/vkBase/cssVars/declarations/index.css +0 -34
  290. package/themes/vkBase/cssVars/declarations/noColors.css +0 -34
  291. package/themes/vkBase/cssVars/declarations/noSizes.css +0 -34
  292. package/themes/vkBase/cssVars/declarations/onlyVariables.css +0 -34
  293. package/themes/vkBase/cssVars/declarations/onlyVariables.js +2 -2
  294. package/themes/vkBase/cssVars/declarations/onlyVariablesLocal.css +0 -34
  295. package/themes/vkBase/cssVars/declarations/onlyVariablesLocalIncremental.css +0 -34
  296. package/themes/vkBase/cssVars/theme/fallbacks/index.css +0 -34
  297. package/themes/vkBase/cssVars/theme/fallbacks/index.less +0 -34
  298. package/themes/vkBase/cssVars/theme/fallbacks/index.pcss +0 -34
  299. package/themes/vkBase/cssVars/theme/fallbacks/index.scss +0 -34
  300. package/themes/vkBase/cssVars/theme/fallbacks/index.styl +0 -34
  301. package/themes/vkBase/cssVars/theme/index.js +0 -136
  302. package/themes/vkBase/cssVars/theme/index.json +0 -136
  303. package/themes/vkBase/docs.json +1772 -966
  304. package/themes/vkBase/index.css +0 -34
  305. package/themes/vkBase/index.js +0 -34
  306. package/themes/vkBase/index.json +0 -34
  307. package/themes/vkBase/index.less +0 -34
  308. package/themes/vkBase/index.pcss +0 -34
  309. package/themes/vkBase/index.scss +0 -34
  310. package/themes/vkBase/index.styl +0 -34
  311. package/themes/vkBase/struct.json +0 -34
  312. package/themes/vkBaseDark/cssVars/declarations/index.css +0 -34
  313. package/themes/vkBaseDark/cssVars/declarations/noColors.css +0 -34
  314. package/themes/vkBaseDark/cssVars/declarations/noSizes.css +0 -34
  315. package/themes/vkBaseDark/cssVars/declarations/onlyVariables.css +0 -34
  316. package/themes/vkBaseDark/cssVars/declarations/onlyVariables.js +2 -2
  317. package/themes/vkBaseDark/cssVars/declarations/onlyVariablesLocal.css +0 -34
  318. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.css +0 -34
  319. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.less +0 -34
  320. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.pcss +0 -34
  321. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.scss +0 -34
  322. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.styl +0 -34
  323. package/themes/vkBaseDark/cssVars/theme/index.js +0 -136
  324. package/themes/vkBaseDark/cssVars/theme/index.json +0 -136
  325. package/themes/vkBaseDark/docs.json +1772 -966
  326. package/themes/vkBaseDark/index.css +0 -34
  327. package/themes/vkBaseDark/index.js +0 -34
  328. package/themes/vkBaseDark/index.json +0 -34
  329. package/themes/vkBaseDark/index.less +0 -34
  330. package/themes/vkBaseDark/index.pcss +0 -34
  331. package/themes/vkBaseDark/index.scss +0 -34
  332. package/themes/vkBaseDark/index.styl +0 -34
  333. package/themes/vkBaseDark/struct.json +0 -34
  334. package/themes/vkCom/cssVars/declarations/index.css +7 -41
  335. package/themes/vkCom/cssVars/declarations/noColors.css +7 -41
  336. package/themes/vkCom/cssVars/declarations/noSizes.css +0 -34
  337. package/themes/vkCom/cssVars/declarations/onlyVariables.css +3 -37
  338. package/themes/vkCom/cssVars/declarations/onlyVariables.js +2 -2
  339. package/themes/vkCom/cssVars/declarations/onlyVariablesLocal.css +3 -37
  340. package/themes/vkCom/cssVars/declarations/onlyVariablesLocalIncremental.css +7 -0
  341. package/themes/vkCom/cssVars/theme/fallbacks/index.css +7 -41
  342. package/themes/vkCom/cssVars/theme/fallbacks/index.less +3 -37
  343. package/themes/vkCom/cssVars/theme/fallbacks/index.pcss +3 -37
  344. package/themes/vkCom/cssVars/theme/fallbacks/index.scss +5 -39
  345. package/themes/vkCom/cssVars/theme/fallbacks/index.styl +3 -37
  346. package/themes/vkCom/cssVars/theme/index.js +3 -139
  347. package/themes/vkCom/cssVars/theme/index.json +3 -139
  348. package/themes/vkCom/docs.json +1772 -966
  349. package/themes/vkCom/index.css +7 -41
  350. package/themes/vkCom/index.js +3 -37
  351. package/themes/vkCom/index.json +3 -37
  352. package/themes/vkCom/index.less +3 -37
  353. package/themes/vkCom/index.pcss +3 -37
  354. package/themes/vkCom/index.scss +5 -39
  355. package/themes/vkCom/index.styl +3 -37
  356. package/themes/vkCom/struct.json +3 -37
  357. package/themes/vkComDark/cssVars/declarations/index.css +7 -41
  358. package/themes/vkComDark/cssVars/declarations/noColors.css +7 -41
  359. package/themes/vkComDark/cssVars/declarations/noSizes.css +0 -34
  360. package/themes/vkComDark/cssVars/declarations/onlyVariables.css +3 -37
  361. package/themes/vkComDark/cssVars/declarations/onlyVariables.js +2 -2
  362. package/themes/vkComDark/cssVars/declarations/onlyVariablesLocal.css +3 -37
  363. package/themes/vkComDark/cssVars/declarations/onlyVariablesLocalIncremental.css +7 -0
  364. package/themes/vkComDark/cssVars/theme/fallbacks/index.css +7 -41
  365. package/themes/vkComDark/cssVars/theme/fallbacks/index.less +3 -37
  366. package/themes/vkComDark/cssVars/theme/fallbacks/index.pcss +3 -37
  367. package/themes/vkComDark/cssVars/theme/fallbacks/index.scss +5 -39
  368. package/themes/vkComDark/cssVars/theme/fallbacks/index.styl +3 -37
  369. package/themes/vkComDark/cssVars/theme/index.js +3 -139
  370. package/themes/vkComDark/cssVars/theme/index.json +3 -139
  371. package/themes/vkComDark/docs.json +1772 -966
  372. package/themes/vkComDark/index.css +7 -41
  373. package/themes/vkComDark/index.js +3 -37
  374. package/themes/vkComDark/index.json +3 -37
  375. package/themes/vkComDark/index.less +3 -37
  376. package/themes/vkComDark/index.pcss +3 -37
  377. package/themes/vkComDark/index.scss +5 -39
  378. package/themes/vkComDark/index.styl +3 -37
  379. package/themes/vkComDark/struct.json +3 -37
  380. package/themes/vkIOS/cssVars/declarations/index.css +0 -34
  381. package/themes/vkIOS/cssVars/declarations/noColors.css +0 -34
  382. package/themes/vkIOS/cssVars/declarations/noSizes.css +0 -34
  383. package/themes/vkIOS/cssVars/declarations/onlyVariables.css +0 -34
  384. package/themes/vkIOS/cssVars/declarations/onlyVariables.js +2 -2
  385. package/themes/vkIOS/cssVars/declarations/onlyVariablesLocal.css +0 -34
  386. package/themes/vkIOS/cssVars/theme/fallbacks/index.css +0 -34
  387. package/themes/vkIOS/cssVars/theme/fallbacks/index.less +0 -34
  388. package/themes/vkIOS/cssVars/theme/fallbacks/index.pcss +0 -34
  389. package/themes/vkIOS/cssVars/theme/fallbacks/index.scss +0 -34
  390. package/themes/vkIOS/cssVars/theme/fallbacks/index.styl +0 -34
  391. package/themes/vkIOS/cssVars/theme/index.js +0 -136
  392. package/themes/vkIOS/cssVars/theme/index.json +0 -136
  393. package/themes/vkIOS/docs.json +1772 -966
  394. package/themes/vkIOS/index.css +0 -34
  395. package/themes/vkIOS/index.js +0 -34
  396. package/themes/vkIOS/index.json +0 -34
  397. package/themes/vkIOS/index.less +0 -34
  398. package/themes/vkIOS/index.pcss +0 -34
  399. package/themes/vkIOS/index.scss +0 -34
  400. package/themes/vkIOS/index.styl +0 -34
  401. package/themes/vkIOS/struct.json +0 -34
  402. package/themes/vkIOSDark/cssVars/declarations/index.css +0 -34
  403. package/themes/vkIOSDark/cssVars/declarations/noColors.css +0 -34
  404. package/themes/vkIOSDark/cssVars/declarations/noSizes.css +0 -34
  405. package/themes/vkIOSDark/cssVars/declarations/onlyVariables.css +0 -34
  406. package/themes/vkIOSDark/cssVars/declarations/onlyVariables.js +2 -2
  407. package/themes/vkIOSDark/cssVars/declarations/onlyVariablesLocal.css +0 -34
  408. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.css +0 -34
  409. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.less +0 -34
  410. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.pcss +0 -34
  411. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.scss +0 -34
  412. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.styl +0 -34
  413. package/themes/vkIOSDark/cssVars/theme/index.js +0 -136
  414. package/themes/vkIOSDark/cssVars/theme/index.json +0 -136
  415. package/themes/vkIOSDark/docs.json +1772 -966
  416. package/themes/vkIOSDark/index.css +0 -34
  417. package/themes/vkIOSDark/index.js +0 -34
  418. package/themes/vkIOSDark/index.json +0 -34
  419. package/themes/vkIOSDark/index.less +0 -34
  420. package/themes/vkIOSDark/index.pcss +0 -34
  421. package/themes/vkIOSDark/index.scss +0 -34
  422. package/themes/vkIOSDark/index.styl +0 -34
  423. package/themes/vkIOSDark/struct.json +0 -34
@@ -0,0 +1,7 @@
1
+ export interface BaseTheme {
2
+ /**
3
+ * @desc Link with text {@link https://google.com Google}.
4
+ * Link without text {@link https://google.com}
5
+ */
6
+ importedBaseProp: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,15 @@
1
1
  import { SpecialTokens, Theme } from '../../../interfaces/general';
2
+ export type Description = {
3
+ type: 'text';
4
+ text: string;
5
+ } | {
6
+ type: 'link';
7
+ url: string;
8
+ text: string;
9
+ };
2
10
  export interface ThemePropertyDoc {
3
11
  tags: string[];
4
- desc: string;
12
+ desc: Description[];
5
13
  }
6
14
  export type ThemeDocs = {
7
15
  [name: string]: ThemePropertyDoc;
@@ -18,6 +18,34 @@ exports.compileDocsJSON = exports.getTypeDocs = void 0;
18
18
  var path_1 = __importDefault(require("path"));
19
19
  var ts_morph_1 = require("ts-morph");
20
20
  var capitalize_1 = require("../../helpers/capitalize");
21
+ function getTagDescription(tag) {
22
+ return tag
23
+ .getText()
24
+ .map(function (part) {
25
+ switch (part.kind) {
26
+ case 'text':
27
+ return {
28
+ type: 'text',
29
+ text: part.text,
30
+ };
31
+ case 'linkText': {
32
+ var _a = part.text.split(' '), url = _a[0], urlText = _a[1];
33
+ if (!url) {
34
+ throw new Error('[desc] Ожидаемый формат ссылки в JSDoc `{@link url urlText}` или `{@link url}`');
35
+ }
36
+ return {
37
+ url: url,
38
+ type: 'link',
39
+ text: urlText || url,
40
+ };
41
+ }
42
+ case 'link':
43
+ default:
44
+ return null;
45
+ }
46
+ })
47
+ .filter(function (i) { return i !== null; });
48
+ }
21
49
  function getTagText(tag) {
22
50
  return tag
23
51
  .getText()
@@ -47,19 +75,20 @@ function getExportedTypeDeclarations(file, typeName) {
47
75
  function mapJsDocTagsToThemePropertyDoc(tags) {
48
76
  var doc = {
49
77
  tags: [],
50
- desc: '',
78
+ desc: [],
51
79
  };
52
80
  tags.forEach(function (tag) {
53
81
  var tagName = tag.getName();
54
- var tagText = getTagText(tag);
55
82
  if (tagName === 'desc' || tagName === 'description') {
56
- doc.desc = tagText;
83
+ doc.desc = getTagDescription(tag);
57
84
  }
58
85
  else if (tagName === 'tags') {
59
- doc.tags = tagText.split(',').map(function (tag) { return tag.trim(); });
86
+ var docTags = getTagText(tag);
87
+ doc.tags = docTags.split(',').map(function (tag) { return tag.trim(); });
60
88
  }
61
89
  else if (tagName === 'tag') {
62
- doc.tags.push(tagText);
90
+ var docTag = getTagText(tag);
91
+ doc.tags.push(docTag);
63
92
  }
64
93
  });
65
94
  return doc;
@@ -71,13 +100,24 @@ function getTypeDocs(filePath, name) {
71
100
  });
72
101
  var file = project.addSourceFileAtPath(filePath);
73
102
  var declarations = getExportedTypeDeclarations(file, name);
74
- return declarations.reduce(function (all, declaration) {
75
- var properties = declaration.getType().getApparentProperties();
76
- var docs = properties.reduce(function (all, prop) {
77
- all[prop.getName()] = mapJsDocTagsToThemePropertyDoc(prop.getJsDocTags());
78
- return all;
103
+ return declarations.reduce(function (prevDocs, declaration) {
104
+ var rawProperties = declaration.getType().getApparentProperties();
105
+ var parsedProperties = rawProperties
106
+ .reduce(function (acc, prop) {
107
+ acc.push([prop.getName(), mapJsDocTagsToThemePropertyDoc(prop.getJsDocTags())]);
108
+ return acc;
109
+ }, [])
110
+ .sort(function (_a, _b) {
111
+ var a = _a[0];
112
+ var b = _b[0];
113
+ return a.localeCompare(b);
114
+ });
115
+ var docs = parsedProperties.reduce(function (acc, _a) {
116
+ var key = _a[0], value = _a[1];
117
+ acc[key] = value;
118
+ return acc;
79
119
  }, {});
80
- return __assign(__assign({}, all), docs);
120
+ return __assign(__assign({}, prevDocs), docs);
81
121
  }, {});
82
122
  }
83
123
  exports.getTypeDocs = getTypeDocs;
@@ -6,32 +6,65 @@ describe('compileDocsJSON', function () {
6
6
  var docs = (0, compileDocsJSON_1.getTypeDocs)('src/build/compilers/docs/__test__/testRecursiveReexport.ts', 'BaseTheme');
7
7
  expect(docs).toEqual({
8
8
  importedBaseProp: {
9
- desc: 'Short desc tag',
9
+ desc: [
10
+ {
11
+ type: 'text',
12
+ text: 'Short desc tag',
13
+ },
14
+ ],
10
15
  tags: ['tag1', 'tag2'],
11
16
  },
12
17
  });
13
18
  });
19
+ it('should correct compile documentation with jsdoc link', function () {
20
+ var docs = (0, compileDocsJSON_1.getTypeDocs)('src/build/compilers/docs/__test__/testLinks.ts', 'BaseTheme');
21
+ expect(docs).toEqual({
22
+ importedBaseProp: {
23
+ desc: [
24
+ {
25
+ type: 'text',
26
+ text: 'Link with text ',
27
+ },
28
+ {
29
+ type: 'link',
30
+ url: 'https://google.com',
31
+ text: 'Google',
32
+ },
33
+ {
34
+ type: 'text',
35
+ text: '.\nLink without text ',
36
+ },
37
+ {
38
+ type: 'link',
39
+ url: 'https://google.com',
40
+ text: 'https://google.com',
41
+ },
42
+ ],
43
+ tags: [],
44
+ },
45
+ });
46
+ });
14
47
  it('should correct compile documentation with imports', function () {
15
48
  var docs = (0, compileDocsJSON_1.getTypeDocs)('src/build/compilers/docs/__test__/testTheme.ts', 'ThemeTest');
16
49
  expect(docs).toEqual({
17
50
  prop: {
18
- desc: '',
51
+ desc: [],
19
52
  tags: ['empty description'],
20
53
  },
21
54
  propWithoutDoc: {
22
- desc: '',
55
+ desc: [],
23
56
  tags: [],
24
57
  },
25
58
  localBaseProp: {
26
- desc: 'Empty tags',
59
+ desc: [{ type: 'text', text: 'Empty tags' }],
27
60
  tags: [],
28
61
  },
29
62
  importedBaseProp: {
30
- desc: 'Short desc tag',
63
+ desc: [{ type: 'text', text: 'Short desc tag' }],
31
64
  tags: ['tag1', 'tag2'],
32
65
  },
33
66
  derivedProp: {
34
- desc: 'Long description tag',
67
+ desc: [{ type: 'text', text: 'Long description tag' }],
35
68
  tags: ['tagListItem1', 'tagListItem2', 'tagListItem3'],
36
69
  },
37
70
  });
@@ -6,7 +6,7 @@ export declare const EStyleTypes: {
6
6
  readonly LESS: "less";
7
7
  readonly STYL: "styl";
8
8
  };
9
- export type Formats = typeof EStyleTypes[keyof typeof EStyleTypes];
9
+ export type Formats = (typeof EStyleTypes)[keyof typeof EStyleTypes];
10
10
  export declare const varDeclarations: {
11
11
  readonly css: (prop: any, prefix?: string) => string;
12
12
  readonly pcss: (prop: any, prefix?: string) => string;
@@ -1,181 +0,0 @@
1
- import { Theme, ThemeCssVars, ThemeDescription } from '../../general';
2
- import { GradientPoints } from '../../general/gradients';
3
- import { Tokens } from '../../general/tools/tokenValue';
4
- export interface VkGradients {
5
- /**
6
- * @desc Градиент AquamarineBlue
7
- * @tags gradient
8
- */
9
- gradientAquamarineBlue: GradientPoints;
10
- /**
11
- * @desc Градиент Blue
12
- * @tags gradient
13
- */
14
- gradientBlue: GradientPoints;
15
- /**
16
- * @desc Градиент Candy
17
- * @tags gradient
18
- */
19
- gradientCandy: GradientPoints;
20
- /**
21
- * @desc Градиент Crimson
22
- * @tags gradient
23
- */
24
- gradientCrimson: GradientPoints;
25
- /**
26
- * @desc Градиент Disco
27
- * @tags gradient
28
- */
29
- gradientDisco: GradientPoints;
30
- /**
31
- * @desc Градиент Emerald
32
- * @tags gradient
33
- */
34
- gradientEmerald: GradientPoints;
35
- /**
36
- * @desc Градиент Gray
37
- * @tags gradient
38
- */
39
- gradientGray: GradientPoints;
40
- /**
41
- * @desc Градиент Green
42
- * @tags gradient
43
- */
44
- gradientGreen: GradientPoints;
45
- /**
46
- * @desc Градиент Lagoon
47
- * @tags gradient
48
- */
49
- gradientLagoon: GradientPoints;
50
- /**
51
- * @desc Градиент Lavender
52
- * @tags gradient
53
- */
54
- gradientLavender: GradientPoints;
55
- /**
56
- * @desc Градиент Marine
57
- * @tags gradient
58
- */
59
- gradientMarine: GradientPoints;
60
- /**
61
- * @desc Градиент Midnight
62
- * @tags gradient
63
- */
64
- gradientMidnight: GradientPoints;
65
- /**
66
- * @desc Градиент Orange
67
- * @tags gradient
68
- */
69
- gradientOrange: GradientPoints;
70
- /**
71
- * @desc Градиент Pink
72
- * @tags gradient
73
- */
74
- gradientPink: GradientPoints;
75
- /**
76
- * @desc Градиент Purple
77
- * @tags gradient
78
- */
79
- gradientPurple: GradientPoints;
80
- /**
81
- * @desc Градиент RaspberryPink
82
- * @tags gradient
83
- */
84
- gradientRaspberryPink: GradientPoints;
85
- /**
86
- * @desc Градиент Red
87
- * @tags gradient
88
- */
89
- gradientRed: GradientPoints;
90
- /**
91
- * @desc Градиент Retrowave
92
- * @tags gradient
93
- */
94
- gradientRetrowave: GradientPoints;
95
- /**
96
- * @desc Градиент Sunset
97
- * @tags gradient
98
- */
99
- gradientSunset: GradientPoints;
100
- /**
101
- * @desc Градиент Turquoise
102
- * @tags gradient
103
- */
104
- gradientTurquoise: GradientPoints;
105
- /**
106
- * @desc Градиент Twilight
107
- * @tags gradient
108
- */
109
- gradientTwilight: GradientPoints;
110
- /**
111
- * @desc Градиент Unicorn
112
- * @tags gradient
113
- */
114
- gradientUnicorn: GradientPoints;
115
- /**
116
- * @desc Градиент Violet
117
- * @tags gradient
118
- */
119
- gradientViolet: GradientPoints;
120
- /**
121
- * @desc Градиент Yellow
122
- * @tags gradient
123
- */
124
- gradientYellow: GradientPoints;
125
- /**
126
- * @desc Градиент YellowBright
127
- * @tags gradient
128
- */
129
- gradientYellowBright: GradientPoints;
130
- /**
131
- * @desc Градиент HalloweenOrange
132
- * @tags gradient
133
- */
134
- gradientHalloweenOrange: GradientPoints;
135
- /**
136
- * @desc Градиент HalloweenViolet
137
- * @tags gradient
138
- */
139
- gradientHalloweenViolet: GradientPoints;
140
- /**
141
- * @desc Градиент NewYear
142
- * @tags gradient
143
- */
144
- gradientNewYear: GradientPoints;
145
- /**
146
- * @desc Градиент Frost
147
- * @tags gradient
148
- */
149
- gradientFrost: GradientPoints;
150
- /**
151
- * @desc Градиент Valentine
152
- * @tags gradient
153
- */
154
- gradientValentine: GradientPoints;
155
- /**
156
- * @desc Градиент WarmValentine
157
- * @tags gradient
158
- */
159
- gradientWarmValentine: GradientPoints;
160
- /**
161
- * @desc Градиент Sberkot
162
- * @tags gradient
163
- */
164
- gradientSberkot: GradientPoints;
165
- /**
166
- * @desc Градиент Mable
167
- * @tags gradient
168
- */
169
- gradientMable: GradientPoints;
170
- /**
171
- * @desc Градиент WomensDay
172
- * @tags gradient
173
- */
174
- gradientWomensDay: GradientPoints;
175
- }
176
- export interface VkTheme extends Theme, VkGradients {
177
- }
178
- export interface VkThemeDescription extends ThemeDescription, Tokens<VkGradients> {
179
- }
180
- export interface VkThemeCssVars extends ThemeCssVars<VkTheme> {
181
- }
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ // место где можно оперделить локальные переменные вк, как вариант
@@ -90,6 +90,7 @@ export interface LocalOctaviusColorsDescriptionStruct {
90
90
  octaviusColorButtonEmptyStateBackgroundAlpha: ColorDescription;
91
91
  octaviusColorBackground: ColorDescription;
92
92
  octaviusColorOverlayBackground: ColorDescription;
93
+ octaviusColorActionArchive: ColorDescription;
93
94
  octaviusColorHeaderBackground: ColorDescription;
94
95
  octaviusColorHeaderButtonText: ColorDescription;
95
96
  octaviusColorHeaderButtonBackgroundAlpha: ColorDescription;
@@ -1,7 +1,7 @@
1
- import { VkTheme, VkThemeCssVars, VkThemeDescription } from '../../namespaces/vk';
2
- export interface ThemeVkBase extends VkTheme {
1
+ import { Theme, ThemeCssVars, ThemeDescription } from '../../general';
2
+ export interface ThemeVkBase extends Theme {
3
3
  }
4
- export interface ThemeVkBaseDescription extends VkThemeDescription {
4
+ export interface ThemeVkBaseDescription extends ThemeDescription {
5
5
  }
6
- export interface ThemeVkBaseCssVars extends VkThemeCssVars {
6
+ export interface ThemeVkBaseCssVars extends ThemeCssVars {
7
7
  }
@@ -1,7 +1,7 @@
1
- import { VkTheme, VkThemeCssVars, VkThemeDescription } from '../../namespaces/vk';
2
- export interface ThemeVkBaseDark extends VkTheme {
1
+ import { Theme, ThemeCssVars, ThemeDescription } from '../../general';
2
+ export interface ThemeVkBaseDark extends Theme {
3
3
  }
4
- export interface ThemeVkBaseDarkDescription extends VkThemeDescription {
4
+ export interface ThemeVkBaseDarkDescription extends ThemeDescription {
5
5
  }
6
- export interface ThemeVkBaseDarkCssVars extends VkThemeCssVars {
6
+ export interface ThemeVkBaseDarkCssVars extends ThemeCssVars {
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/vkui-tokens",
3
- "version": "4.29.3-dev-b24760.0",
3
+ "version": "4.29.4",
4
4
  "description": "Репозиторий, который содержит в себе дизайн-токены и другие инструменты объединенной дизайн-системы VKUI и Paradigm",
5
5
  "license": "MIT",
6
6
  "main": "utils/descriptions.js",
@@ -63,7 +63,7 @@
63
63
  "eslint-config-silence": "1.0.0",
64
64
  "eslint-import-resolver-alias": "1.1.2",
65
65
  "eslint-plugin-compat": "4.0.2",
66
- "eslint-plugin-import": "2.26.0",
66
+ "eslint-plugin-import": "2.27.5",
67
67
  "eslint-plugin-jasmine": "4.1.3",
68
68
  "eslint-plugin-prettier": "4.2.1",
69
69
  "eslint-plugin-simple-import-sort": "8.0.0",
@@ -73,19 +73,19 @@
73
73
  "jest": "29.4.1",
74
74
  "jest-junit": "15.0.0",
75
75
  "lodash": "4.17.21",
76
- "prettier": "2.8.0",
76
+ "prettier": "2.8.4",
77
77
  "react": "18.2.0",
78
78
  "react-dom": "18.2.0",
79
- "rimraf": "3.0.2",
79
+ "rimraf": "4.4.0",
80
80
  "style-loader": "3.3.1",
81
81
  "terser-webpack-plugin": "5.3.6",
82
82
  "ts-jest": "29.0.5",
83
83
  "ts-loader": "9.4.2",
84
84
  "ts-morph": "17.0.1",
85
85
  "ts-node": "10.9.1",
86
- "tsconfig-paths": "4.1.1",
86
+ "tsconfig-paths": "4.1.2",
87
87
  "tscpaths": "0.0.9",
88
- "type-fest": "3.5.3",
88
+ "type-fest": "3.6.1",
89
89
  "typescript": "4.9.5",
90
90
  "webpack": "5.75.0",
91
91
  "webpack-cli": "5.0.1",
@@ -1,13 +1,11 @@
1
- import { ColorsDescription } from '../../interfaces/general';
1
+ import { ColorsDescription, ThemeDescription } from '../../interfaces/general';
2
2
  import { Elevation } from '../../interfaces/general/elevation';
3
3
  import { Gradients } from '../../interfaces/general/gradients';
4
- import { VkGradients, VkThemeDescription } from '../../interfaces/namespaces/vk';
5
4
  export declare const lightColors: ColorsDescription;
6
5
  export declare const lightGradient: Gradients;
7
6
  export declare const lightElevation: Elevation;
8
7
  export declare const darkColors: ColorsDescription;
9
8
  export declare const darkGradient: Gradients;
10
9
  export declare const darkElevation: Elevation;
11
- export declare const gradients: VkGradients;
12
- export declare const lightTheme: VkThemeDescription;
13
- export declare const darkTheme: VkThemeDescription;
10
+ export declare const lightTheme: ThemeDescription;
11
+ export declare const darkTheme: ThemeDescription;
@@ -11,7 +11,7 @@ var __assign = (this && this.__assign) || function () {
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.darkTheme = exports.lightTheme = exports.gradients = exports.darkElevation = exports.darkGradient = exports.darkColors = exports.lightElevation = exports.lightGradient = exports.lightColors = void 0;
14
+ exports.darkTheme = exports.lightTheme = exports.darkElevation = exports.darkGradient = exports.darkColors = exports.lightElevation = exports.lightGradient = exports.lightColors = void 0;
15
15
  var getGradientPointsFromColor_1 = require("../../build/helpers/getGradientPointsFromColor");
16
16
  var tokenHelpers_1 = require("../../build/helpers/tokenHelpers");
17
17
  var fontFamilyAccent = "-apple-system, system-ui, \"Helvetica Neue\", Roboto, sans-serif";
@@ -279,43 +279,7 @@ exports.darkElevation = {
279
279
  elevation3: '0px 0px 2px rgba(0, 0, 0, 0.08), 0px 4px 16px rgba(0, 0, 0, 0.08)',
280
280
  elevation4: '0px 0px 8px rgba(0, 0, 0, 0.12), 0px 16px 16px rgba(0, 0, 0, 0.16)',
281
281
  };
282
- exports.gradients = {
283
- gradientAquamarineBlue: '#7DF1FA, #2BB4D6',
284
- gradientBlue: '#66CCFF, #3F8AE0',
285
- gradientCandy: '#FF99CC, #E52E6A',
286
- gradientCrimson: '#FF7373, #E53949, #BF1C38',
287
- gradientDisco: '#FFB726, #FF2693, #8122E0, #2693FF',
288
- gradientEmerald: '#00D948, #0D8046',
289
- gradientGray: '#C1CAD6, #878F99',
290
- gradientGreen: '#6CD97E, #12B312',
291
- gradientLagoon: '#2BD9D9, #5C9CE6',
292
- gradientLavender: '#928FFF, #4B47B2',
293
- gradientMarine: '#2EE54D, #0D7EFF',
294
- gradientMidnight: '#73D0FF, #3885E1, #0032A6',
295
- gradientOrange: '#FFBF80, #E66B2E',
296
- gradientPink: '#FF8880, #E62E6B',
297
- gradientPurple: '#A393F5, #735CE6',
298
- gradientRaspberryPink: '#FF80D5, #E645B1',
299
- gradientRed: '#FF7583, #E62E40',
300
- gradientRetrowave: '#30F2B1, #5967FF, #FF26A5',
301
- gradientSunset: '#FFD24D, #F26549, #E62E6B',
302
- gradientTurquoise: '#8AE6E6, #12B3B3',
303
- gradientTwilight: '#FF4D87, #9F40FF, #3399FF',
304
- gradientUnicorn: '#FF99CC, #A179F2, #5CA1E6',
305
- gradientViolet: '#D3A6FF, #903FE0',
306
- gradientYellow: '#FFC44D, #F07300',
307
- gradientYellowBright: '#FFD54F, #E7A902',
308
- gradientHalloweenOrange: '#CB1E3B, #F05C44, #FFA000',
309
- gradientHalloweenViolet: '#FFA000, #CD4C4B, #792EC0',
310
- gradientNewYear: '#BB64E4, #805BD7, #2866D5',
311
- gradientFrost: '#4FA0FF, #016CEA',
312
- gradientValentine: '#FF8A65, #F25383, #8F13DB',
313
- gradientWarmValentine: '#F3386A, #FF819E',
314
- gradientSberkot: '#9DF19D, #31C2A7, #21A19A, #107F8C',
315
- gradientMable: '#D9F4FF, #D9F4FF',
316
- gradientWomensDay: '#FF99CC, #E52E6A',
317
- };
318
- exports.lightTheme = __assign(__assign(__assign(__assign(__assign({ themeName: 'vkBase', themeNameBase: 'vkBase' }, exports.lightColors), exports.gradients), exports.lightGradient), exports.lightElevation), {
282
+ exports.lightTheme = __assign(__assign(__assign(__assign({ themeName: 'vkBase', themeNameBase: 'vkBase' }, exports.lightColors), exports.lightGradient), exports.lightElevation), {
319
283
  // Типографика
320
284
  fontFamilyAccent: fontFamilyAccent, fontFamilyBase: fontFamilyBase, fontWeightAccent1: fontWeightAccent1, fontWeightAccent2: fontWeightAccent2, fontWeightAccent3: fontWeightAccent3, fontWeightBase1: fontWeightBase1, fontWeightBase2: fontWeightBase2, fontWeightBase3: fontWeightBase3, fontTitle1: {
321
285
  regular: {