@vkontakte/vkui-tokens 4.29.3 → 4.30.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 (131) 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/themes/calendar/index.d.ts +7 -0
  8. package/package.json +7 -7
  9. package/themes/calendar/cssVars/declarations/index.css +26 -9
  10. package/themes/calendar/cssVars/declarations/noColors.css +2 -0
  11. package/themes/calendar/cssVars/declarations/noSizes.css +26 -9
  12. package/themes/calendar/cssVars/declarations/onlyColors.css +24 -9
  13. package/themes/calendar/cssVars/declarations/onlyColors.js +2 -2
  14. package/themes/calendar/cssVars/declarations/onlyVariables.css +26 -9
  15. package/themes/calendar/cssVars/declarations/onlyVariables.js +2 -2
  16. package/themes/calendar/cssVars/declarations/onlyVariablesLocal.css +26 -9
  17. package/themes/calendar/cssVars/declarations/onlyVariablesLocalIncremental.css +26 -9
  18. package/themes/calendar/cssVars/theme/fallbacks/index.css +26 -9
  19. package/themes/calendar/cssVars/theme/fallbacks/index.less +26 -9
  20. package/themes/calendar/cssVars/theme/fallbacks/index.pcss +26 -9
  21. package/themes/calendar/cssVars/theme/fallbacks/index.scss +26 -9
  22. package/themes/calendar/cssVars/theme/fallbacks/index.styl +26 -9
  23. package/themes/calendar/cssVars/theme/index.js +87 -9
  24. package/themes/calendar/cssVars/theme/index.json +87 -9
  25. package/themes/calendar/docs.json +2775 -1257
  26. package/themes/calendar/index.css +26 -9
  27. package/themes/calendar/index.js +36 -9
  28. package/themes/calendar/index.json +36 -9
  29. package/themes/calendar/index.less +26 -9
  30. package/themes/calendar/index.pcss +26 -9
  31. package/themes/calendar/index.scss +26 -9
  32. package/themes/calendar/index.styl +26 -9
  33. package/themes/calendar/struct.json +36 -9
  34. package/themes/calendarDark/cssVars/declarations/index.css +23 -6
  35. package/themes/calendarDark/cssVars/declarations/noColors.css +2 -0
  36. package/themes/calendarDark/cssVars/declarations/noSizes.css +23 -6
  37. package/themes/calendarDark/cssVars/declarations/onlyColors.css +21 -6
  38. package/themes/calendarDark/cssVars/declarations/onlyColors.js +2 -2
  39. package/themes/calendarDark/cssVars/declarations/onlyVariables.css +23 -6
  40. package/themes/calendarDark/cssVars/declarations/onlyVariables.js +2 -2
  41. package/themes/calendarDark/cssVars/declarations/onlyVariablesLocal.css +23 -6
  42. package/themes/calendarDark/cssVars/declarations/onlyVariablesLocalIncremental.css +23 -6
  43. package/themes/calendarDark/cssVars/theme/fallbacks/index.css +23 -6
  44. package/themes/calendarDark/cssVars/theme/fallbacks/index.less +23 -6
  45. package/themes/calendarDark/cssVars/theme/fallbacks/index.pcss +23 -6
  46. package/themes/calendarDark/cssVars/theme/fallbacks/index.scss +23 -6
  47. package/themes/calendarDark/cssVars/theme/fallbacks/index.styl +23 -6
  48. package/themes/calendarDark/cssVars/theme/index.js +84 -6
  49. package/themes/calendarDark/cssVars/theme/index.json +84 -6
  50. package/themes/calendarDark/docs.json +2775 -1257
  51. package/themes/calendarDark/index.css +23 -6
  52. package/themes/calendarDark/index.js +33 -6
  53. package/themes/calendarDark/index.json +33 -6
  54. package/themes/calendarDark/index.less +23 -6
  55. package/themes/calendarDark/index.pcss +23 -6
  56. package/themes/calendarDark/index.scss +23 -6
  57. package/themes/calendarDark/index.styl +23 -6
  58. package/themes/calendarDark/struct.json +33 -6
  59. package/themes/calls/docs.json +2600 -1110
  60. package/themes/cloud/docs.json +2600 -1110
  61. package/themes/cloudDark/docs.json +2600 -1110
  62. package/themes/home/docs.json +2632 -1142
  63. package/themes/homeDark/docs.json +2632 -1142
  64. package/themes/media/docs.json +2813 -1323
  65. package/themes/mediaDark/docs.json +2813 -1323
  66. package/themes/mycom/docs.json +2760 -1270
  67. package/themes/octavius/docs.json +3463 -1973
  68. package/themes/octaviusCompact/docs.json +3463 -1973
  69. package/themes/octaviusCompactDark/docs.json +3463 -1973
  70. package/themes/octaviusDark/docs.json +3463 -1973
  71. package/themes/octaviusVK/docs.json +3463 -1973
  72. package/themes/octaviusVKDark/docs.json +3463 -1973
  73. package/themes/octaviusWhite/docs.json +3463 -1973
  74. package/themes/otvet/docs.json +2584 -1094
  75. package/themes/otvetDark/docs.json +2584 -1094
  76. package/themes/paradigmBase/docs.json +2600 -1110
  77. package/themes/paradigmBaseDark/docs.json +2600 -1110
  78. package/themes/pharma/docs.json +2812 -1322
  79. package/themes/promo/docs.json +2702 -1212
  80. package/themes/pulse/docs.json +1245 -590
  81. package/themes/pulseDark/docs.json +1245 -590
  82. package/themes/search/docs.json +2700 -1210
  83. package/themes/todo/docs.json +2600 -1110
  84. package/themes/vkBase/docs.json +1788 -778
  85. package/themes/vkBaseDark/docs.json +1788 -778
  86. package/themes/vkCom/cssVars/declarations/index.css +7 -7
  87. package/themes/vkCom/cssVars/declarations/noColors.css +7 -7
  88. package/themes/vkCom/cssVars/declarations/onlyVariables.css +3 -3
  89. package/themes/vkCom/cssVars/declarations/onlyVariables.js +2 -2
  90. package/themes/vkCom/cssVars/declarations/onlyVariablesLocal.css +3 -3
  91. package/themes/vkCom/cssVars/declarations/onlyVariablesLocalIncremental.css +7 -0
  92. package/themes/vkCom/cssVars/theme/fallbacks/index.css +7 -7
  93. package/themes/vkCom/cssVars/theme/fallbacks/index.less +3 -3
  94. package/themes/vkCom/cssVars/theme/fallbacks/index.pcss +3 -3
  95. package/themes/vkCom/cssVars/theme/fallbacks/index.scss +5 -5
  96. package/themes/vkCom/cssVars/theme/fallbacks/index.styl +3 -3
  97. package/themes/vkCom/cssVars/theme/index.js +3 -3
  98. package/themes/vkCom/cssVars/theme/index.json +3 -3
  99. package/themes/vkCom/docs.json +1788 -778
  100. package/themes/vkCom/index.css +7 -7
  101. package/themes/vkCom/index.js +3 -3
  102. package/themes/vkCom/index.json +3 -3
  103. package/themes/vkCom/index.less +3 -3
  104. package/themes/vkCom/index.pcss +3 -3
  105. package/themes/vkCom/index.scss +5 -5
  106. package/themes/vkCom/index.styl +3 -3
  107. package/themes/vkCom/struct.json +3 -3
  108. package/themes/vkComDark/cssVars/declarations/index.css +7 -7
  109. package/themes/vkComDark/cssVars/declarations/noColors.css +7 -7
  110. package/themes/vkComDark/cssVars/declarations/onlyVariables.css +3 -3
  111. package/themes/vkComDark/cssVars/declarations/onlyVariables.js +2 -2
  112. package/themes/vkComDark/cssVars/declarations/onlyVariablesLocal.css +3 -3
  113. package/themes/vkComDark/cssVars/declarations/onlyVariablesLocalIncremental.css +7 -0
  114. package/themes/vkComDark/cssVars/theme/fallbacks/index.css +7 -7
  115. package/themes/vkComDark/cssVars/theme/fallbacks/index.less +3 -3
  116. package/themes/vkComDark/cssVars/theme/fallbacks/index.pcss +3 -3
  117. package/themes/vkComDark/cssVars/theme/fallbacks/index.scss +5 -5
  118. package/themes/vkComDark/cssVars/theme/fallbacks/index.styl +3 -3
  119. package/themes/vkComDark/cssVars/theme/index.js +3 -3
  120. package/themes/vkComDark/cssVars/theme/index.json +3 -3
  121. package/themes/vkComDark/docs.json +1788 -778
  122. package/themes/vkComDark/index.css +7 -7
  123. package/themes/vkComDark/index.js +3 -3
  124. package/themes/vkComDark/index.json +3 -3
  125. package/themes/vkComDark/index.less +3 -3
  126. package/themes/vkComDark/index.pcss +3 -3
  127. package/themes/vkComDark/index.scss +5 -5
  128. package/themes/vkComDark/index.styl +3 -3
  129. package/themes/vkComDark/struct.json +3 -3
  130. package/themes/vkIOS/docs.json +1788 -778
  131. package/themes/vkIOSDark/docs.json +1788 -778
@@ -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;
@@ -12,6 +12,8 @@ export interface ThemeCalendarOverValues {
12
12
  calendarSizeBorderRadiusSmall: number;
13
13
  calendarSizeBorderRadiusMedium: number;
14
14
  calendarSizeBorderRadiusLarge: number;
15
+ calendarImageOverlayBackground: string;
16
+ calendarElevationEventForm: string;
15
17
  }
16
18
  export interface LocalCalendarColorDescriptionStruct {
17
19
  calendarColorBackgroundPositiveTintAlpha4: ColorDescription;
@@ -34,6 +36,11 @@ export interface LocalCalendarColorDescriptionStruct {
34
36
  calendarColorSidebarComposeButtonIcon: ColorDescription;
35
37
  calendarColorSidebarComposeButtonText: ColorDescription;
36
38
  calendarColorSidebarScrollbar: ColorDescription;
39
+ calendarColorHeaderBackground: ColorDescription;
40
+ calendarColorHeaderSecondaryAlpha: ColorDescription;
41
+ calendarColorHeaderonSecondary: ColorDescription;
42
+ calendarColorHeaderonWidgetAlpha: ColorDescription;
43
+ calendarColorHeaderWidgetBackgroundAlpha: ColorDescription;
37
44
  calendarColorHeaderIcon: ColorDescription;
38
45
  calendarColorHeaderTextSecondary: ColorDescription;
39
46
  calendarColorHeaderButtonText: ColorDescription;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/vkui-tokens",
3
- "version": "4.29.3",
3
+ "version": "4.30.0",
4
4
  "description": "Репозиторий, который содержит в себе дизайн-токены и другие инструменты объединенной дизайн-системы VKUI и Paradigm",
5
5
  "license": "MIT",
6
6
  "main": "utils/descriptions.js",
@@ -43,7 +43,7 @@
43
43
  "@types/react-dom": "18.0.10",
44
44
  "@typescript-eslint/eslint-plugin": "4.33.0",
45
45
  "@typescript-eslint/parser": "4.33.0",
46
- "@vkontakte/appearance": "https://github.com/VKCOM/Appearance#v9.51.4",
46
+ "@vkontakte/appearance": "https://github.com/VKCOM/Appearance#v10.1.0",
47
47
  "@vkontakte/icons": "2.14.0",
48
48
  "@vkontakte/prettier-config": "0.1.0",
49
49
  "@vkontakte/vk-bridge": "2.7.2",
@@ -59,10 +59,10 @@
59
59
  "css-loader": "6.7.3",
60
60
  "css.escape": "1.5.1",
61
61
  "eslint": "7.32.0",
62
- "eslint-config-prettier": "8.5.0",
62
+ "eslint-config-prettier": "8.7.0",
63
63
  "eslint-config-silence": "1.0.0",
64
64
  "eslint-import-resolver-alias": "1.1.2",
65
- "eslint-plugin-compat": "4.0.2",
65
+ "eslint-plugin-compat": "4.1.2",
66
66
  "eslint-plugin-import": "2.27.5",
67
67
  "eslint-plugin-jasmine": "4.1.3",
68
68
  "eslint-plugin-prettier": "4.2.1",
@@ -73,7 +73,7 @@
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
79
  "rimraf": "4.4.0",
@@ -87,13 +87,13 @@
87
87
  "tscpaths": "0.0.9",
88
88
  "type-fest": "3.6.1",
89
89
  "typescript": "4.9.5",
90
- "webpack": "5.75.0",
90
+ "webpack": "5.76.1",
91
91
  "webpack-cli": "5.0.1",
92
92
  "webpack-dev-server": "4.11.1",
93
93
  "webpack-notifier": "1.15.0"
94
94
  },
95
95
  "engines": {
96
- "npm": "^8.5.5",
96
+ "npm": "^9.3.1",
97
97
  "yarn": "^1.21.1"
98
98
  }
99
99
  }
@@ -347,9 +347,11 @@
347
347
  --vkui--type_border_position: inset;
348
348
  --vkui--theme_name_base: 'calendar';
349
349
  --vkui--calendar_elevation_header: 0 0 16px 0 rgba(2, 13, 41, 0.12);
350
+ --vkui--calendar_elevation_event_form: 0px 4px 64px 0px rgba(0, 16, 61, 0.2);
350
351
  --vkui--calendar_size_border_radius_small: 4px;
351
352
  --vkui--calendar_size_border_radius_medium: 6px;
352
353
  --vkui--calendar_size_border_radius_large: 8px;
354
+ --vkui--calendar_image_overlay_background: none;
353
355
  --vkui--calendar_font_text_event--font_size--regular: 17px;
354
356
  --vkui--calendar_font_text_event--line_height--regular: 24px;
355
357
  --vkui--calendar_font_text_event--font_weight--regular: 400;
@@ -732,12 +734,12 @@
732
734
  --vkui--calendar_color_overlay_background: transparent;
733
735
  --vkui--calendar_color_overlay_background--hover: rgba(0, 16, 61, 0.04);
734
736
  --vkui--calendar_color_overlay_background--active: rgba(0, 16, 61, 0.08);
735
- --vkui--calendar_color_sidebar_item_icon_primary: #333333;
736
- --vkui--calendar_color_sidebar_item_icon_primary--hover: #313233;
737
- --vkui--calendar_color_sidebar_item_icon_primary--active: #2F3034;
738
- --vkui--calendar_color_sidebar_item_text_primary: #333333;
739
- --vkui--calendar_color_sidebar_item_text_primary--hover: #313233;
740
- --vkui--calendar_color_sidebar_item_text_primary--active: #2F3034;
737
+ --vkui--calendar_color_sidebar_item_icon_primary: #2C2D2E;
738
+ --vkui--calendar_color_sidebar_item_icon_primary--hover: #2A2C2F;
739
+ --vkui--calendar_color_sidebar_item_icon_primary--active: #282B2F;
740
+ --vkui--calendar_color_sidebar_item_text_primary: #2C2D2E;
741
+ --vkui--calendar_color_sidebar_item_text_primary--hover: #2A2C2F;
742
+ --vkui--calendar_color_sidebar_item_text_primary--active: #282B2F;
741
743
  --vkui--calendar_color_sidebar_item_icon_secondary: #87898F;
742
744
  --vkui--calendar_color_sidebar_item_icon_secondary--hover: #82848C;
743
745
  --vkui--calendar_color_sidebar_item_icon_secondary--active: #7C7F88;
@@ -756,6 +758,21 @@
756
758
  --vkui--calendar_color_sidebar_scrollbar: #C7C7C7;
757
759
  --vkui--calendar_color_sidebar_scrollbar--hover: #BFC0C1;
758
760
  --vkui--calendar_color_sidebar_scrollbar--active: #B7B8BC;
761
+ --vkui--calendar_color_header_background: #FFFFFF;
762
+ --vkui--calendar_color_header_background--hover: #F5F5F7;
763
+ --vkui--calendar_color_header_background--active: #EBECEF;
764
+ --vkui--calendar_color_header_secondary_alpha: rgba(0, 95, 249, 0.1);
765
+ --vkui--calendar_color_header_secondary_alpha--hover: rgba(0, 95, 249, 0.14);
766
+ --vkui--calendar_color_header_secondary_alpha--active: rgba(0, 95, 249, 0.18);
767
+ --vkui--calendar_color_headeron_secondary: #005FF9;
768
+ --vkui--calendar_color_headeron_secondary--hover: #005CF1;
769
+ --vkui--calendar_color_headeron_secondary--active: #0059EA;
770
+ --vkui--calendar_color_headeron_widget_alpha: rgba(0, 95, 249, 1);
771
+ --vkui--calendar_color_headeron_widget_alpha--hover: #005CF1;
772
+ --vkui--calendar_color_headeron_widget_alpha--active: #0059EA;
773
+ --vkui--calendar_color_header_widget_background_alpha: rgba(255, 255, 255, 1);
774
+ --vkui--calendar_color_header_widget_background_alpha--hover: #F5F5F7;
775
+ --vkui--calendar_color_header_widget_background_alpha--active: #EBECEF;
759
776
  --vkui--calendar_color_header_icon: #2C2D2E;
760
777
  --vkui--calendar_color_header_icon--hover: #2A2C2F;
761
778
  --vkui--calendar_color_header_icon--active: #282B2F;
@@ -771,9 +788,9 @@
771
788
  --vkui--calendar_color_header_search_icon: #B6B8BE;
772
789
  --vkui--calendar_color_header_search_icon--hover: #AFB1B9;
773
790
  --vkui--calendar_color_header_search_icon--active: #A7ABB4;
774
- --vkui--calendar_color_header_search_text_collapsed: #87898F;
775
- --vkui--calendar_color_header_search_text_collapsed--hover: #82848C;
776
- --vkui--calendar_color_header_search_text_collapsed--active: #7C7F88;
791
+ --vkui--calendar_color_header_search_text_collapsed: #2C2D2E;
792
+ --vkui--calendar_color_header_search_text_collapsed--hover: #2A2C2F;
793
+ --vkui--calendar_color_header_search_text_collapsed--active: #282B2F;
777
794
  --vkui--calendar_color_header_search_background: #F0F1F3;
778
795
  --vkui--calendar_color_header_search_background--hover: #E6E8EC;
779
796
  --vkui--calendar_color_header_search_background--active: #DDDFE4;
@@ -347,9 +347,11 @@
347
347
  --vkui--type_border_position: inset;
348
348
  --vkui--theme_name_base: 'calendar';
349
349
  --vkui--calendar_elevation_header: 0 0 16px 0 rgba(2, 13, 41, 0.12);
350
+ --vkui--calendar_elevation_event_form: 0px 4px 64px 0px rgba(0, 16, 61, 0.2);
350
351
  --vkui--calendar_size_border_radius_small: 4px;
351
352
  --vkui--calendar_size_border_radius_medium: 6px;
352
353
  --vkui--calendar_size_border_radius_large: 8px;
354
+ --vkui--calendar_image_overlay_background: none;
353
355
  --vkui--calendar_font_text_event--font_size--regular: 17px;
354
356
  --vkui--calendar_font_text_event--line_height--regular: 24px;
355
357
  --vkui--calendar_font_text_event--font_weight--regular: 400;
@@ -27,6 +27,8 @@
27
27
  --vkui--type_border_position: inset;
28
28
  --vkui--theme_name_base: 'calendar';
29
29
  --vkui--calendar_elevation_header: 0 0 16px 0 rgba(2, 13, 41, 0.12);
30
+ --vkui--calendar_elevation_event_form: 0px 4px 64px 0px rgba(0, 16, 61, 0.2);
31
+ --vkui--calendar_image_overlay_background: none;
30
32
  --vkui--colors_scheme: light;
31
33
  --vkui--color_background_accent: #005FF9;
32
34
  --vkui--color_background_accent--hover: #005CF1;
@@ -385,12 +387,12 @@
385
387
  --vkui--calendar_color_overlay_background: transparent;
386
388
  --vkui--calendar_color_overlay_background--hover: rgba(0, 16, 61, 0.04);
387
389
  --vkui--calendar_color_overlay_background--active: rgba(0, 16, 61, 0.08);
388
- --vkui--calendar_color_sidebar_item_icon_primary: #333333;
389
- --vkui--calendar_color_sidebar_item_icon_primary--hover: #313233;
390
- --vkui--calendar_color_sidebar_item_icon_primary--active: #2F3034;
391
- --vkui--calendar_color_sidebar_item_text_primary: #333333;
392
- --vkui--calendar_color_sidebar_item_text_primary--hover: #313233;
393
- --vkui--calendar_color_sidebar_item_text_primary--active: #2F3034;
390
+ --vkui--calendar_color_sidebar_item_icon_primary: #2C2D2E;
391
+ --vkui--calendar_color_sidebar_item_icon_primary--hover: #2A2C2F;
392
+ --vkui--calendar_color_sidebar_item_icon_primary--active: #282B2F;
393
+ --vkui--calendar_color_sidebar_item_text_primary: #2C2D2E;
394
+ --vkui--calendar_color_sidebar_item_text_primary--hover: #2A2C2F;
395
+ --vkui--calendar_color_sidebar_item_text_primary--active: #282B2F;
394
396
  --vkui--calendar_color_sidebar_item_icon_secondary: #87898F;
395
397
  --vkui--calendar_color_sidebar_item_icon_secondary--hover: #82848C;
396
398
  --vkui--calendar_color_sidebar_item_icon_secondary--active: #7C7F88;
@@ -409,6 +411,21 @@
409
411
  --vkui--calendar_color_sidebar_scrollbar: #C7C7C7;
410
412
  --vkui--calendar_color_sidebar_scrollbar--hover: #BFC0C1;
411
413
  --vkui--calendar_color_sidebar_scrollbar--active: #B7B8BC;
414
+ --vkui--calendar_color_header_background: #FFFFFF;
415
+ --vkui--calendar_color_header_background--hover: #F5F5F7;
416
+ --vkui--calendar_color_header_background--active: #EBECEF;
417
+ --vkui--calendar_color_header_secondary_alpha: rgba(0, 95, 249, 0.1);
418
+ --vkui--calendar_color_header_secondary_alpha--hover: rgba(0, 95, 249, 0.14);
419
+ --vkui--calendar_color_header_secondary_alpha--active: rgba(0, 95, 249, 0.18);
420
+ --vkui--calendar_color_headeron_secondary: #005FF9;
421
+ --vkui--calendar_color_headeron_secondary--hover: #005CF1;
422
+ --vkui--calendar_color_headeron_secondary--active: #0059EA;
423
+ --vkui--calendar_color_headeron_widget_alpha: rgba(0, 95, 249, 1);
424
+ --vkui--calendar_color_headeron_widget_alpha--hover: #005CF1;
425
+ --vkui--calendar_color_headeron_widget_alpha--active: #0059EA;
426
+ --vkui--calendar_color_header_widget_background_alpha: rgba(255, 255, 255, 1);
427
+ --vkui--calendar_color_header_widget_background_alpha--hover: #F5F5F7;
428
+ --vkui--calendar_color_header_widget_background_alpha--active: #EBECEF;
412
429
  --vkui--calendar_color_header_icon: #2C2D2E;
413
430
  --vkui--calendar_color_header_icon--hover: #2A2C2F;
414
431
  --vkui--calendar_color_header_icon--active: #282B2F;
@@ -424,9 +441,9 @@
424
441
  --vkui--calendar_color_header_search_icon: #B6B8BE;
425
442
  --vkui--calendar_color_header_search_icon--hover: #AFB1B9;
426
443
  --vkui--calendar_color_header_search_icon--active: #A7ABB4;
427
- --vkui--calendar_color_header_search_text_collapsed: #87898F;
428
- --vkui--calendar_color_header_search_text_collapsed--hover: #82848C;
429
- --vkui--calendar_color_header_search_text_collapsed--active: #7C7F88;
444
+ --vkui--calendar_color_header_search_text_collapsed: #2C2D2E;
445
+ --vkui--calendar_color_header_search_text_collapsed--hover: #2A2C2F;
446
+ --vkui--calendar_color_header_search_text_collapsed--active: #282B2F;
430
447
  --vkui--calendar_color_header_search_background: #F0F1F3;
431
448
  --vkui--calendar_color_header_search_background--hover: #E6E8EC;
432
449
  --vkui--calendar_color_header_search_background--active: #DDDFE4;
@@ -356,12 +356,12 @@
356
356
  --vkui--calendar_color_overlay_background: transparent;
357
357
  --vkui--calendar_color_overlay_background--hover: rgba(0, 16, 61, 0.04);
358
358
  --vkui--calendar_color_overlay_background--active: rgba(0, 16, 61, 0.08);
359
- --vkui--calendar_color_sidebar_item_icon_primary: #333333;
360
- --vkui--calendar_color_sidebar_item_icon_primary--hover: #313233;
361
- --vkui--calendar_color_sidebar_item_icon_primary--active: #2F3034;
362
- --vkui--calendar_color_sidebar_item_text_primary: #333333;
363
- --vkui--calendar_color_sidebar_item_text_primary--hover: #313233;
364
- --vkui--calendar_color_sidebar_item_text_primary--active: #2F3034;
359
+ --vkui--calendar_color_sidebar_item_icon_primary: #2C2D2E;
360
+ --vkui--calendar_color_sidebar_item_icon_primary--hover: #2A2C2F;
361
+ --vkui--calendar_color_sidebar_item_icon_primary--active: #282B2F;
362
+ --vkui--calendar_color_sidebar_item_text_primary: #2C2D2E;
363
+ --vkui--calendar_color_sidebar_item_text_primary--hover: #2A2C2F;
364
+ --vkui--calendar_color_sidebar_item_text_primary--active: #282B2F;
365
365
  --vkui--calendar_color_sidebar_item_icon_secondary: #87898F;
366
366
  --vkui--calendar_color_sidebar_item_icon_secondary--hover: #82848C;
367
367
  --vkui--calendar_color_sidebar_item_icon_secondary--active: #7C7F88;
@@ -380,6 +380,21 @@
380
380
  --vkui--calendar_color_sidebar_scrollbar: #C7C7C7;
381
381
  --vkui--calendar_color_sidebar_scrollbar--hover: #BFC0C1;
382
382
  --vkui--calendar_color_sidebar_scrollbar--active: #B7B8BC;
383
+ --vkui--calendar_color_header_background: #FFFFFF;
384
+ --vkui--calendar_color_header_background--hover: #F5F5F7;
385
+ --vkui--calendar_color_header_background--active: #EBECEF;
386
+ --vkui--calendar_color_header_secondary_alpha: rgba(0, 95, 249, 0.1);
387
+ --vkui--calendar_color_header_secondary_alpha--hover: rgba(0, 95, 249, 0.14);
388
+ --vkui--calendar_color_header_secondary_alpha--active: rgba(0, 95, 249, 0.18);
389
+ --vkui--calendar_color_headeron_secondary: #005FF9;
390
+ --vkui--calendar_color_headeron_secondary--hover: #005CF1;
391
+ --vkui--calendar_color_headeron_secondary--active: #0059EA;
392
+ --vkui--calendar_color_headeron_widget_alpha: rgba(0, 95, 249, 1);
393
+ --vkui--calendar_color_headeron_widget_alpha--hover: #005CF1;
394
+ --vkui--calendar_color_headeron_widget_alpha--active: #0059EA;
395
+ --vkui--calendar_color_header_widget_background_alpha: rgba(255, 255, 255, 1);
396
+ --vkui--calendar_color_header_widget_background_alpha--hover: #F5F5F7;
397
+ --vkui--calendar_color_header_widget_background_alpha--active: #EBECEF;
383
398
  --vkui--calendar_color_header_icon: #2C2D2E;
384
399
  --vkui--calendar_color_header_icon--hover: #2A2C2F;
385
400
  --vkui--calendar_color_header_icon--active: #282B2F;
@@ -395,9 +410,9 @@
395
410
  --vkui--calendar_color_header_search_icon: #B6B8BE;
396
411
  --vkui--calendar_color_header_search_icon--hover: #AFB1B9;
397
412
  --vkui--calendar_color_header_search_icon--active: #A7ABB4;
398
- --vkui--calendar_color_header_search_text_collapsed: #87898F;
399
- --vkui--calendar_color_header_search_text_collapsed--hover: #82848C;
400
- --vkui--calendar_color_header_search_text_collapsed--active: #7C7F88;
413
+ --vkui--calendar_color_header_search_text_collapsed: #2C2D2E;
414
+ --vkui--calendar_color_header_search_text_collapsed--hover: #2A2C2F;
415
+ --vkui--calendar_color_header_search_text_collapsed--active: #282B2F;
401
416
  --vkui--calendar_color_header_search_background: #F0F1F3;
402
417
  --vkui--calendar_color_header_search_background--hover: #E6E8EC;
403
418
  --vkui--calendar_color_header_search_background--active: #DDDFE4;