@vkontakte/vkui 4.35.1 → 4.35.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 (77) hide show
  1. package/.cache/.eslintcache +1 -1
  2. package/.cache/.stylelintcache +1 -1
  3. package/.cache/.tsbuildinfo +11 -11
  4. package/.cache/ts/src/components/ButtonGroup/ButtonGroup.d.ts +6 -2
  5. package/dist/cjs/components/Banner/Banner.js +41 -47
  6. package/dist/cjs/components/Banner/Banner.js.map +1 -1
  7. package/dist/cjs/components/ButtonGroup/ButtonGroup.js.map +1 -1
  8. package/dist/cjs/components/CustomSelect/CustomSelect.js +1 -1
  9. package/dist/cjs/components/CustomSelect/CustomSelect.js.map +1 -1
  10. package/dist/cjs/components/CustomSelectDropdown/CustomSelectDropdown.js +3 -0
  11. package/dist/cjs/components/CustomSelectDropdown/CustomSelectDropdown.js.map +1 -1
  12. package/dist/cjs/components/PanelHeaderContent/PanelHeaderContent.js +1 -2
  13. package/dist/cjs/components/PanelHeaderContent/PanelHeaderContent.js.map +1 -1
  14. package/dist/cjs/components/Popper/Popper.js +53 -50
  15. package/dist/cjs/components/Popper/Popper.js.map +1 -1
  16. package/dist/cjs/lib/platform.js +9 -4
  17. package/dist/cjs/lib/platform.js.map +1 -1
  18. package/dist/components/Banner/Banner.js +41 -48
  19. package/dist/components/Banner/Banner.js.map +1 -1
  20. package/dist/components/ButtonGroup/ButtonGroup.d.ts +6 -2
  21. package/dist/components/ButtonGroup/ButtonGroup.js.map +1 -1
  22. package/dist/components/CustomSelect/CustomSelect.js +1 -1
  23. package/dist/components/CustomSelect/CustomSelect.js.map +1 -1
  24. package/dist/components/CustomSelectDropdown/CustomSelectDropdown.js +2 -0
  25. package/dist/components/CustomSelectDropdown/CustomSelectDropdown.js.map +1 -1
  26. package/dist/components/PanelHeaderContent/PanelHeaderContent.js +1 -2
  27. package/dist/components/PanelHeaderContent/PanelHeaderContent.js.map +1 -1
  28. package/dist/components/Popper/Popper.js +53 -50
  29. package/dist/components/Popper/Popper.js.map +1 -1
  30. package/dist/components.css +4 -4
  31. package/dist/components.css.map +1 -1
  32. package/dist/cssm/components/Banner/Banner.js +41 -48
  33. package/dist/cssm/components/Banner/Banner.js.map +1 -1
  34. package/dist/cssm/components/ButtonGroup/ButtonGroup.d.ts +6 -2
  35. package/dist/cssm/components/ButtonGroup/ButtonGroup.js.map +1 -1
  36. package/dist/cssm/components/CustomSelect/CustomSelect.js +1 -1
  37. package/dist/cssm/components/CustomSelect/CustomSelect.js.map +1 -1
  38. package/dist/cssm/components/CustomSelectDropdown/CustomSelectDropdown.js +2 -0
  39. package/dist/cssm/components/CustomSelectDropdown/CustomSelectDropdown.js.map +1 -1
  40. package/dist/cssm/components/Header/Header.css +1 -1
  41. package/dist/cssm/components/PanelHeader/PanelHeader.css +1 -1
  42. package/dist/cssm/components/PanelHeaderContent/PanelHeaderContent.css +1 -1
  43. package/dist/cssm/components/PanelHeaderContent/PanelHeaderContent.js +1 -2
  44. package/dist/cssm/components/PanelHeaderContent/PanelHeaderContent.js.map +1 -1
  45. package/dist/cssm/components/Popper/Popper.js +53 -50
  46. package/dist/cssm/components/Popper/Popper.js.map +1 -1
  47. package/dist/cssm/components/Spacing/Spacing.css +1 -1
  48. package/dist/cssm/components/Typography/Headline/Headline.css +1 -1
  49. package/dist/cssm/components/Typography/Text/Text.css +1 -1
  50. package/dist/cssm/lib/platform.js +8 -3
  51. package/dist/cssm/lib/platform.js.map +1 -1
  52. package/dist/cssm/styles/components.css +4 -4
  53. package/dist/cssm/styles/themes.css +1 -1
  54. package/dist/cssm/styles/vkcom_dark.css +1 -1
  55. package/dist/cssm/styles/vkcom_light.css +1 -1
  56. package/dist/lib/platform.js +8 -3
  57. package/dist/lib/platform.js.map +1 -1
  58. package/dist/vkui.css +5 -5
  59. package/dist/vkui.css.map +1 -1
  60. package/package.json +2 -2
  61. package/src/components/Banner/Banner.tsx +58 -63
  62. package/src/components/ButtonGroup/ButtonGroup.tsx +6 -3
  63. package/src/components/ButtonGroup/Readme.md +13 -11
  64. package/src/components/CustomSelect/CustomSelect.tsx +1 -1
  65. package/src/components/CustomSelectDropdown/CustomSelectDropdown.tsx +2 -0
  66. package/src/components/Header/Header.css +1 -5
  67. package/src/components/PanelHeader/PanelHeader.css +8 -13
  68. package/src/components/PanelHeaderContent/PanelHeaderContent.css +8 -2
  69. package/src/components/PanelHeaderContent/PanelHeaderContent.tsx +1 -2
  70. package/src/components/Popper/Popper.tsx +37 -31
  71. package/src/components/Spacing/Readme.md +20 -20
  72. package/src/components/Spacing/Spacing.css +5 -1
  73. package/src/components/Typography/Headline/Headline.css +10 -0
  74. package/src/components/Typography/Text/Text.css +10 -0
  75. package/src/lib/platform.ts +12 -6
  76. package/src/styles/vkcom_dark.css +8 -8
  77. package/src/styles/vkcom_light.css +34 -34
@@ -21,7 +21,7 @@ body[scheme="vkcom_dark"],
21
21
  --background_hover: rgba(255, 255, 255, 0.08);
22
22
  --background_keyboard: #333333;
23
23
  --background_light: #292929;
24
- --background_page: #141414;
24
+ --background_page: #0a0a0a;
25
25
  --background_suggestions: #333333;
26
26
  --background_text_highlighted: rgba(81, 129, 184, 0.2);
27
27
  --button_bot_shadow: #222222;
@@ -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: #333333;
56
+ --content_tint_background: #292929;
57
57
  --content_tint_foreground: #939393;
58
58
  --content_warning_background: rgba(255, 202, 99, 0.16);
59
59
  --control_background: #555555;
@@ -68,7 +68,7 @@ body[scheme="vkcom_dark"],
68
68
  --counter_secondary_background: #828282;
69
69
  --counter_secondary_text: #222222;
70
70
  --destructive: #ff5c5c;
71
- --dynamic_blue: #5181b8;
71
+ --dynamic_blue: #2b81d6;
72
72
  --dynamic_gray: #aeb7c2;
73
73
  --dynamic_green: #4bb34b;
74
74
  --dynamic_neon_pink: #f45fff;
@@ -98,7 +98,7 @@ body[scheme="vkcom_dark"],
98
98
  --header_search_field_background: #424242;
99
99
  --header_search_field_tint: #b2b2b2;
100
100
  --header_tab_active_background: #656565;
101
- --header_tab_active_indicator: #5181b8;
101
+ --header_tab_active_indicator: #2b81d6;
102
102
  --header_tab_active_text: #e1e3e6;
103
103
  --header_tab_inactive_text: #828282;
104
104
  --header_text: #e1e3e6;
@@ -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: #292929;
182
+ --modal_card_background: #333333;
183
183
  --modal_card_border: rgba(255, 255, 255, 0.12);
184
184
  --modal_card_header_close: #ffffff;
185
185
  --music_playback_icon: #ffffff;
@@ -205,7 +205,7 @@ body[scheme="vkcom_dark"],
205
205
  --segmented_control_tint: #828282;
206
206
  --selection_off_icon: #656565;
207
207
  --separator_alpha: rgba(255, 255, 255, 0.16);
208
- --separator_alternate: #333333;
208
+ --separator_alternate: #292929;
209
209
  --separator_common: #424242;
210
210
  --skeleton_foreground_from: #292929;
211
211
  --skeleton_foreground_to: #333333;
@@ -225,14 +225,14 @@ body[scheme="vkcom_dark"],
225
225
  --tabbar_active_icon: #ffffff;
226
226
  --tabbar_background: #333333;
227
227
  --tabbar_inactive_icon: #828282;
228
- --tabbar_tablet_active_icon: #5181b8;
228
+ --tabbar_tablet_active_icon: #2b81d6;
229
229
  --tabbar_tablet_background: #292929;
230
230
  --tabbar_tablet_inactive_icon: #828282;
231
231
  --tabbar_tablet_text_primary: #e1e3e6;
232
232
  --tabbar_tablet_text_secondary: #828282;
233
233
  --text_action_counter: #b2b2b2;
234
234
  --text_link: #71aaeb;
235
- --text_link_highlighted_background: #5181b8;
235
+ --text_link_highlighted_background: #2b81d6;
236
236
  --text_muted: #cccccc;
237
237
  --text_name: #e1e3e6;
238
238
  --text_placeholder: #b2b2b2;
@@ -5,14 +5,14 @@
5
5
  body[scheme="vkcom_light"],
6
6
  [scheme="vkcom_light"],
7
7
  .vkuivkcom_light {
8
- --accent: #5181b8;
8
+ --accent: #2b81d6;
9
9
  --accent_alternate: #0077ff;
10
- --action_sheet_action_foreground: #5181b8;
10
+ --action_sheet_action_foreground: #2b81d6;
11
11
  --action_sheet_separator: rgba(0, 0, 0, 0.12);
12
12
  --activity_indicator_tint: #aeb7c2;
13
- --attach_picker_tab_active_background: #5181b8;
13
+ --attach_picker_tab_active_background: #2b81d6;
14
14
  --attach_picker_tab_active_icon: #ffffff;
15
- --attach_picker_tab_active_text: #5181b8;
15
+ --attach_picker_tab_active_text: #2b81d6;
16
16
  --attach_picker_tab_inactive_background: #f5f5f5;
17
17
  --attach_picker_tab_inactive_icon: #818c99;
18
18
  --attach_picker_tab_inactive_text: #818c99;
@@ -21,17 +21,17 @@ body[scheme="vkcom_light"],
21
21
  --background_hover: rgba(174, 183, 194, 0.12);
22
22
  --background_keyboard: #dce1e6;
23
23
  --background_light: #fafbfc;
24
- --background_page: #edeef0;
24
+ --background_page: #f0f2f5;
25
25
  --background_suggestions: #ffffff;
26
26
  --background_text_highlighted: rgba(81, 129, 184, 0.2);
27
27
  --button_bot_shadow: #cccccc;
28
28
  --button_commerce_background: #4bb34b;
29
29
  --button_commerce_foreground: #ffffff;
30
30
  --button_muted_background: #e5ebf1;
31
- --button_muted_foreground: #55677d;
32
- --button_outline_border: #2a5885;
33
- --button_outline_foreground: #2a5885;
34
- --button_primary_background: #5181b8;
31
+ --button_muted_foreground: #2a6fbd;
32
+ --button_outline_border: #2b81d6;
33
+ --button_outline_foreground: #2b81d6;
34
+ --button_primary_background: #2b81d6;
35
35
  --button_primary_foreground: #ffffff;
36
36
  --button_secondary_background: #e5ebf1;
37
37
  --button_secondary_background_highlighted: #dae2ea;
@@ -49,11 +49,11 @@ body[scheme="vkcom_light"],
49
49
  70,
50
50
  0.12
51
51
  );
52
- --button_secondary_foreground: #55677d;
53
- --button_secondary_foreground_highlighted: #55677d;
52
+ --button_secondary_foreground: #2a6fbd;
53
+ --button_secondary_foreground_highlighted: #2a6fbd;
54
54
  --button_tertiary_background: rgba(0, 0, 0, 0);
55
- --button_tertiary_foreground: #2a5885;
56
- --cell_button_foreground: #2a5885;
55
+ --button_tertiary_foreground: #2a6fbd;
56
+ --cell_button_foreground: #2a6fbd;
57
57
  --content_negative_background: #faebeb;
58
58
  --content_placeholder_icon: #99a2ad;
59
59
  --content_placeholder_text: #818c99;
@@ -63,10 +63,10 @@ body[scheme="vkcom_light"],
63
63
  --content_warning_background: #faefd2;
64
64
  --control_background: #edeef0;
65
65
  --control_background_secondary: #ffffff;
66
- --control_foreground: #5181b8;
66
+ --control_foreground: #2a6fbd;
67
67
  --control_tint: #ffffff;
68
68
  --control_tint_muted: #828282;
69
- --counter_primary_background: #5181b8;
69
+ --counter_primary_background: #2b81d6;
70
70
  --counter_primary_text: #ffffff;
71
71
  --counter_prominent_background: #ff3347;
72
72
  --counter_prominent_text: #ffffff;
@@ -82,7 +82,7 @@ body[scheme="vkcom_light"],
82
82
  --dynamic_raspberry_pink: #e03fab;
83
83
  --dynamic_red: #ff3347;
84
84
  --dynamic_violet: #792ec0;
85
- --feed_recommended_friend_promo_background: #5181b8;
85
+ --feed_recommended_friend_promo_background: #2a6fbd;
86
86
  --field_background: #f7f8fa;
87
87
  --field_border: #dce1e6;
88
88
  --field_error_background: #faebeb;
@@ -94,7 +94,7 @@ body[scheme="vkcom_light"],
94
94
  --float_button_border: rgba(0, 0, 0, 0.08);
95
95
  --float_button_foreground: #99a2ad;
96
96
  --header_alternate_background: #ffffff;
97
- --header_alternate_tab_active_indicator: #5181b8;
97
+ --header_alternate_tab_active_indicator: #2b81d6;
98
98
  --header_alternate_tab_active_text: #000000;
99
99
  --header_alternate_tab_inactive_text: #99a2ad;
100
100
  --header_background: #ffffff;
@@ -103,7 +103,7 @@ body[scheme="vkcom_light"],
103
103
  --header_search_field_background: #edeef0;
104
104
  --header_search_field_tint: #818c99;
105
105
  --header_tab_active_background: rgba(0, 0, 0, 0);
106
- --header_tab_active_indicator: #5181b8;
106
+ --header_tab_active_indicator: #2b81d6;
107
107
  --header_tab_active_text: #000000;
108
108
  --header_tab_inactive_text: #99a2ad;
109
109
  --header_text: #000000;
@@ -121,7 +121,7 @@ body[scheme="vkcom_light"],
121
121
  --icon_secondary_alpha: rgba(0, 0, 0, 0.36);
122
122
  --icon_tertiary: #aeb7c2;
123
123
  --icon_tertiary_alpha: rgba(0, 0, 0, 0.24);
124
- --im_attach_tint: #5181b8;
124
+ --im_attach_tint: #2b81d6;
125
125
  --im_bubble_border_alternate: #dce1e6;
126
126
  --im_bubble_border_alternate_highlighted: #cccccc;
127
127
  --im_bubble_button_background: #f7f8fa;
@@ -152,9 +152,9 @@ body[scheme="vkcom_light"],
152
152
  --im_bubble_wallpaper_outgoing: #cce4ff;
153
153
  --im_bubble_wallpaper_outgoing_highlighted: #add3ff;
154
154
  --im_forward_line_tint: rgba(0, 20, 51, 0.12);
155
- --im_reply_separator: #2a5885;
155
+ --im_reply_separator: #2a6fbd;
156
156
  --im_service_message_text: #818c99;
157
- --im_text_name: #2a5885;
157
+ --im_text_name: #2a6fbd;
158
158
  --im_toolbar_separator: #001c3d;
159
159
  --im_toolbar_voice_msg_background: #99a2ad;
160
160
  --image_border: rgba(0, 0, 0, 0.08);
@@ -164,24 +164,24 @@ body[scheme="vkcom_light"],
164
164
  --landing_field_background: #f7f8fa;
165
165
  --landing_field_border: rgba(0, 0, 0, 0);
166
166
  --landing_field_placeholder: #818c99;
167
- --landing_login_button_background: #5181b8;
167
+ --landing_login_button_background: #2b81d6;
168
168
  --landing_login_button_foreground: #ffffff;
169
- --landing_primary_button_background: #5181b8;
169
+ --landing_primary_button_background: #2b81d6;
170
170
  --landing_primary_button_foreground: #ffffff;
171
171
  --landing_secondary_button_background: rgba(0, 57, 115, 0.1);
172
- --landing_secondary_button_foreground: #5181b8;
172
+ --landing_secondary_button_foreground: #2b81d6;
173
173
  --landing_snippet_border: rgba(0, 0, 0, 0.12);
174
174
  --landing_tertiary_button_background: rgba(0, 0, 0, 0);
175
- --landing_tertiary_button_foreground: #5181b8;
175
+ --landing_tertiary_button_foreground: #2b81d6;
176
176
  --landing_text_primary: #000000;
177
177
  --landing_text_secondary: #818c99;
178
- --landing_text_title: #5181b8;
178
+ --landing_text_title: #2b81d6;
179
179
  --like_text_tint: #ff3347;
180
- --link_alternate: #2a5885;
180
+ --link_alternate: #2a6fbd;
181
181
  --loader_background: #edeef0;
182
182
  --loader_tint: #c5d0db;
183
183
  --loader_track_fill: #d3d9de;
184
- --loader_track_value_fill: #5181b8;
184
+ --loader_track_value_fill: #2b81d6;
185
185
  --media_overlay_button_background: #ffffff;
186
186
  --media_overlay_button_foreground: #333333;
187
187
  --modal_card_background: #ffffff;
@@ -199,7 +199,7 @@ body[scheme="vkcom_light"],
199
199
  --placeholder_icon_foreground_primary: #99a2ad;
200
200
  --placeholder_icon_foreground_secondary: #aeb7c2;
201
201
  --placeholder_icon_tint: #1d3a5c;
202
- --poll_option_background: #5181b8;
202
+ --poll_option_background: #2b81d6;
203
203
  --primary_overlay_badge: rgba(0, 0, 0, 0.56);
204
204
  --search_bar_background: rgba(0, 0, 0, 0);
205
205
  --search_bar_field_background: #edeef0;
@@ -213,7 +213,7 @@ body[scheme="vkcom_light"],
213
213
  --separator_alternate: #e7e8ec;
214
214
  --separator_common: #dce1e6;
215
215
  --skeleton_foreground_from: #f0f2f5;
216
- --skeleton_foreground_to: #edeef0;
216
+ --skeleton_foreground_to: #e7e8ec;
217
217
  --skeleton_shimmer_from: #ffffff;
218
218
  --skeleton_shimmer_to: rgba(255, 255, 255, 0);
219
219
  --snippet_background: #ffffff;
@@ -227,19 +227,19 @@ body[scheme="vkcom_light"],
227
227
  --stories_create_button_icon_background: #ffffff;
228
228
  --stories_skeleton_loader_background: #cccccc;
229
229
  --switch_ios_off_border: #dce1e6;
230
- --tabbar_active_icon: #5181b8;
230
+ --tabbar_active_icon: #2b81d6;
231
231
  --tabbar_background: #f7f8fa;
232
232
  --tabbar_inactive_icon: #99a2ad;
233
- --tabbar_tablet_active_icon: #5181b8;
233
+ --tabbar_tablet_active_icon: #2b81d6;
234
234
  --tabbar_tablet_background: #f7f8fa;
235
235
  --tabbar_tablet_inactive_icon: #99a2ad;
236
236
  --tabbar_tablet_text_primary: #000000;
237
237
  --tabbar_tablet_text_secondary: #818c99;
238
238
  --text_action_counter: #818c99;
239
- --text_link: #2a5885;
239
+ --text_link: #2a6fbd;
240
240
  --text_link_highlighted_background: #000000;
241
241
  --text_muted: #333333;
242
- --text_name: #2a5885;
242
+ --text_name: #2a6fbd;
243
243
  --text_placeholder: #818c99;
244
244
  --text_primary: #000000;
245
245
  --text_secondary: #818c99;