@vkontakte/vkui 4.37.2 → 4.37.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/vkui",
3
- "version": "4.37.2",
3
+ "version": "4.37.4",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -43,7 +43,7 @@
43
43
  "@types/webpack-dev-server": "^3.11.2",
44
44
  "@typescript-eslint/eslint-plugin": "^4.22.0",
45
45
  "@typescript-eslint/parser": "^4.0.0",
46
- "@vkontakte/appearance": "https://github.com/VKCOM/Appearance#v9.51.0",
46
+ "@vkontakte/appearance": "https://github.com/VKCOM/Appearance#v9.51.4",
47
47
  "@vkontakte/eslint-config": "3.1.0",
48
48
  "@vkontakte/icons": "^1.184.0",
49
49
  "@vkontakte/vk-bridge": "^2.1.3",
@@ -1,6 +1,4 @@
1
1
  .ModalPage {
2
- display: flex;
3
- justify-content: center;
4
2
  width: 100%;
5
3
  height: 100%;
6
4
  overflow: hidden;
@@ -11,6 +9,8 @@
11
9
  }
12
10
 
13
11
  .ModalPage--desktop {
12
+ display: flex;
13
+ justify-content: center;
14
14
  align-items: center;
15
15
  }
16
16
 
@@ -18,7 +18,11 @@
18
18
  width: 100%;
19
19
  height: 100%;
20
20
  position: absolute;
21
+ right: 0;
21
22
  bottom: 0;
23
+ left: 0;
24
+ margin-right: auto;
25
+ margin-left: auto;
22
26
  display: flex;
23
27
  align-items: flex-end;
24
28
  pointer-events: initial;
@@ -157,6 +157,14 @@
157
157
  color: var(--header_tint_alternate, var(--vkui--color_icon_accent_themed));
158
158
  }
159
159
 
160
+ /* TODO удалить блок в v5.0.0 */
161
+ .TabsItem--selected.TabsItem--accent .TabsItem__after {
162
+ color: var(
163
+ --button_secondary_foreground,
164
+ var(--vkui--color_icon_accent_themed)
165
+ );
166
+ }
167
+
160
168
  /* Элемент */
161
169
  .TabsItem__underline {
162
170
  position: absolute;
@@ -17,7 +17,7 @@ body[scheme="vkcom_dark"],
17
17
  --attach_picker_tab_inactive_icon: #e1e3e6;
18
18
  --attach_picker_tab_inactive_text: #828282;
19
19
  --background_content: #222222;
20
- --background_highlighted: rgba(255, 255, 255, 0.12);
20
+ --background_highlighted: rgba(255, 255, 255, 0.08);
21
21
  --background_hover: rgba(255, 255, 255, 0.08);
22
22
  --background_keyboard: #333333;
23
23
  --background_light: #292929;
@@ -33,7 +33,7 @@ body[scheme="vkcom_dark"],
33
33
  --button_outline_foreground: #e1e3e6;
34
34
  --button_primary_background: #e1e3e6;
35
35
  --button_primary_foreground: #222222;
36
- --button_secondary_background: #484848;
36
+ --button_secondary_background: #424242;
37
37
  --button_secondary_background_highlighted: #555555;
38
38
  --button_secondary_destructive_background: #555555;
39
39
  --button_secondary_destructive_background_highlighted: rgba(85, 85, 85, 0.6);
@@ -53,7 +53,7 @@ body[scheme="vkcom_dark"],
53
53
  --content_placeholder_icon: #b2b2b2;
54
54
  --content_placeholder_text: #b2b2b2;
55
55
  --content_positive_background: rgba(75, 179, 75, 0.16);
56
- --content_tint_background: #292929;
56
+ --content_tint_background: #333333;
57
57
  --content_tint_foreground: #939393;
58
58
  --content_warning_background: rgba(255, 202, 99, 0.16);
59
59
  --control_background: #555555;
@@ -79,7 +79,7 @@ body[scheme="vkcom_dark"],
79
79
  --dynamic_violet: #a393f5;
80
80
  --feed_recommended_friend_promo_background: #6f7985;
81
81
  --field_background: #292929;
82
- --field_border: #484848;
82
+ --field_border: #424242;
83
83
  --field_error_background: rgba(230, 70, 70, 0.16);
84
84
  --field_error_border: #e64646;
85
85
  --field_text_placeholder: #828282;
@@ -95,7 +95,7 @@ body[scheme="vkcom_dark"],
95
95
  --header_background: #222222;
96
96
  --header_background_before_blur: #0a0a0a;
97
97
  --header_background_before_blur_alternate: #0a0a0a;
98
- --header_search_field_background: #484848;
98
+ --header_search_field_background: #424242;
99
99
  --header_search_field_tint: #b2b2b2;
100
100
  --header_tab_active_background: #656565;
101
101
  --header_tab_active_indicator: #397dcc;
@@ -153,7 +153,7 @@ body[scheme="vkcom_dark"],
153
153
  --im_toolbar_separator: #b2b2b2;
154
154
  --im_toolbar_voice_msg_background: #555555;
155
155
  --image_border: rgba(255, 255, 255, 0.08);
156
- --input_background: #484848;
156
+ --input_background: #424242;
157
157
  --input_border: #555555;
158
158
  --landing_background: #222222;
159
159
  --landing_field_background: #292929;
@@ -179,7 +179,7 @@ body[scheme="vkcom_dark"],
179
179
  --loader_track_value_fill: #ffffff;
180
180
  --media_overlay_button_background: #ffffff;
181
181
  --media_overlay_button_foreground: #333333;
182
- --modal_card_background: #333333;
182
+ --modal_card_background: #292929;
183
183
  --modal_card_border: rgba(255, 255, 255, 0.12);
184
184
  --modal_card_header_close: #ffffff;
185
185
  --music_playback_icon: #ffffff;
@@ -197,7 +197,7 @@ body[scheme="vkcom_dark"],
197
197
  --poll_option_background: #ffffff;
198
198
  --primary_overlay_badge: rgba(255, 255, 255, 0.4);
199
199
  --search_bar_background: #222222;
200
- --search_bar_field_background: #484848;
200
+ --search_bar_field_background: #424242;
201
201
  --search_bar_field_tint: #b2b2b2;
202
202
  --search_bar_segmented_control_tint: #939393;
203
203
  --secondary_overlay_badge: rgba(255, 255, 255, 0.16);
@@ -206,7 +206,7 @@ body[scheme="vkcom_dark"],
206
206
  --selection_off_icon: #656565;
207
207
  --separator_alpha: rgba(255, 255, 255, 0.16);
208
208
  --separator_alternate: #292929;
209
- --separator_common: #484848;
209
+ --separator_common: #424242;
210
210
  --skeleton_foreground_from: #292929;
211
211
  --skeleton_foreground_to: #333333;
212
212
  --skeleton_shimmer_from: #222222;
@@ -216,8 +216,8 @@ body[scheme="vkcom_dark"],
216
216
  --snippet_icon_tertiary: #656565;
217
217
  --splashscreen_icon: #333333;
218
218
  --statusbar_alternate_legacy_background: rgba(0, 0, 0, 0);
219
- --stories_create_button_background_from: #484848;
220
- --stories_create_button_background_to: #484848;
219
+ --stories_create_button_background_from: #424242;
220
+ --stories_create_button_background_to: #424242;
221
221
  --stories_create_button_foreground: #cccccc;
222
222
  --stories_create_button_icon_background: #555555;
223
223
  --stories_skeleton_loader_background: #555555;