@salutejs/plasma-web 1.588.0-canary.1655.16168034594.0 → 1.588.0-canary.1655.16198986399.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,77 @@
1
+ ## 1.587.0 (10 июля 2025)
2
+
3
+ ## Функциональные изменения в компонентах
4
+
5
+ ### Tour
6
+
7
+ * Добавлен в поставку новый компонент
8
+
9
+ ![4539d0a6\_Kapture\_2025-06-30\_at\_13 45 01](https://github.com/user-attachments/assets/b6dac64b-0623-4308-a4b2-8a827c5d4d55)
10
+
11
+ [PR](https://github.com/salute-developers/plasma/pull/2010)
12
+
13
+ ### DatePicker
14
+
15
+ * Добавлена проверка при обновлении `value/defaultValue`, чтобы избежать коллизии при `mount/unmount`
16
+
17
+ **Before**:
18
+
19
+ ![460583735-fea399b1-8225-4b39-889b-b332664a4bcc](https://github.com/user-attachments/assets/ae641e2c-1ab8-47b4-8855-4267bb26a7d4)
20
+
21
+ **After**:
22
+ ![460583334-2e733867-15fb-4818-97f1-f0c024dc37cb](https://github.com/user-attachments/assets/971cc214-415f-4e53-9984-242e63ba084a)
23
+
24
+ [PR](https://github.com/salute-developers/plasma/pull/2058)
25
+
26
+ ### useUniqId
27
+
28
+ * Помечен как deprecated по причине устаревания и не актуальности. Рекомендуем использовать метод `safeUseId`
29
+
30
+ [PR](https://github.com/salute-developers/plasma/pull/2053)
31
+
32
+ ### NumberFormat
33
+
34
+ * Улучшен механизм копирование и вставки числа
35
+
36
+ ![459900391-30817797-7211-4d0e-8e4b-799d7fdab2c9](https://github.com/user-attachments/assets/11c52f11-b847-49c1-9a82-4df74bf64ff7)
37
+
38
+ [PR](https://github.com/salute-developers/plasma/pull/2050)
39
+
40
+ ### Chip
41
+
42
+ * изменен размер иконки `Close` для размера `XS`, стало `12x12`
43
+
44
+ [PR](https://github.com/salute-developers/plasma/pull/2070)
45
+
46
+ ### Icons
47
+
48
+ * добавлен `rest props` для IconRoot. Теперь есть возможность прокинуть `data-attrs` и другие атрибуты тега
49
+
50
+ <img width="1024" src="https://github.com/user-attachments/assets/ff1831f3-98f9-46df-a874-3c4891ca47b4" />
51
+
52
+ [PR](https://github.com/salute-developers/plasma/pull/2066)
53
+
54
+ ### Combobox
55
+
56
+ * Добавлен токен для галочки и иконки в режиме `single`
57
+
58
+ [PR](https://github.com/salute-developers/plasma/pull/2049)
59
+
60
+ ### Select
61
+
62
+ * Добавлен токен для галочки и иконки в режиме `single`
63
+
64
+ [PR](https://github.com/salute-developers/plasma/pull/2049)
65
+
66
+ ### TextArea
67
+
68
+ * добавлено свойство `headerSlot`
69
+
70
+ <img width="685" alt="image" src="https://github.com/user-attachments/assets/e092e789-b5ca-4b8e-a500-9f6594dc59ef" />
71
+
72
+ [PR](https://github.com/salute-developers/plasma/pull/2075)
73
+
74
+
1
75
  ## 1.585.0 (26 июня 2025)
2
76
 
3
77
  ## Функциональные изменения в компонентах
@@ -80,8 +80,8 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
80
80
  text?: string | undefined;
81
81
  contentLeft?: import("react").ReactNode;
82
82
  contentRight?: import("react").ReactNode;
83
- customBackgroundColor?: string | undefined;
84
83
  customColor?: string | undefined;
84
+ customBackgroundColor?: string | undefined;
85
85
  } & {
86
86
  counterView?: undefined;
87
87
  count?: undefined;
@@ -108,8 +108,8 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
108
108
  text?: undefined;
109
109
  contentLeft?: undefined;
110
110
  contentRight?: never | undefined;
111
- customBackgroundColor?: undefined;
112
111
  customColor?: undefined;
112
+ customBackgroundColor?: undefined;
113
113
  } & import("react").RefAttributes<HTMLDivElement>)>;
114
114
  declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
115
115
  view: {
@@ -161,8 +161,8 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
161
161
  text?: string | undefined;
162
162
  contentLeft?: import("react").ReactNode;
163
163
  contentRight?: import("react").ReactNode;
164
- customBackgroundColor?: string | undefined;
165
164
  customColor?: string | undefined;
165
+ customBackgroundColor?: string | undefined;
166
166
  } & {
167
167
  counterView?: undefined;
168
168
  count?: undefined;
@@ -189,7 +189,7 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
189
189
  text?: undefined;
190
190
  contentLeft?: undefined;
191
191
  contentRight?: never | undefined;
192
- customBackgroundColor?: undefined;
193
192
  customColor?: undefined;
193
+ customBackgroundColor?: undefined;
194
194
  } & import("react").RefAttributes<HTMLDivElement>))>;
195
195
  export { Avatar, mergedConfig };
@@ -12,7 +12,7 @@ export declare const Drawer: import("react").FunctionComponent<import("@salutejs
12
12
  none: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
13
13
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
14
  };
15
- }> & Omit<import("@salutejs/plasma-new-hope/styled-components").PopupProps, "draggable" | "handle" | "resizable"> & Omit<import("@salutejs/plasma-new-hope/types/components/Panel").PanelProps, "draggable"> & {
15
+ }> & Omit<import("@salutejs/plasma-new-hope/styled-components").PopupProps, "draggable" | "resizable"> & import("@salutejs/plasma-new-hope/types/components/Panel").PanelProps & {
16
16
  placement?: import("@salutejs/plasma-new-hope/types/components/Drawer/Drawer.types").DrawerPlacement;
17
17
  asModal?: boolean;
18
18
  customBackgroundColor?: string;
@@ -34,6 +34,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
34
34
  label?: string;
35
35
  labelPlacement?: "inner" | "outer";
36
36
  titleCaption?: import("react").ReactNode;
37
+ headerSlot?: import("react").ReactNode;
37
38
  contentRight?: React.ReactElement;
38
39
  resize?: "none" | "both" | "horizontal" | "vertical";
39
40
  helperText?: string;
@@ -78,6 +79,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
78
79
  label?: string;
79
80
  labelPlacement?: "inner" | "outer";
80
81
  titleCaption?: import("react").ReactNode;
82
+ headerSlot?: import("react").ReactNode;
81
83
  contentRight?: React.ReactElement;
82
84
  resize?: "none" | "both" | "horizontal" | "vertical";
83
85
  helperText?: string;
@@ -122,6 +124,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
122
124
  label?: string;
123
125
  labelPlacement?: "inner" | "outer";
124
126
  titleCaption?: import("react").ReactNode;
127
+ headerSlot?: import("react").ReactNode;
125
128
  contentRight?: React.ReactElement;
126
129
  resize?: "none" | "both" | "horizontal" | "vertical";
127
130
  helperText?: string;
@@ -166,6 +169,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
166
169
  label?: string;
167
170
  labelPlacement?: "inner" | "outer";
168
171
  titleCaption?: import("react").ReactNode;
172
+ headerSlot?: import("react").ReactNode;
169
173
  contentRight?: React.ReactElement;
170
174
  resize?: "none" | "both" | "horizontal" | "vertical";
171
175
  helperText?: string;
@@ -210,6 +214,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
210
214
  label?: string;
211
215
  labelPlacement?: "inner" | "outer";
212
216
  titleCaption?: import("react").ReactNode;
217
+ headerSlot?: import("react").ReactNode;
213
218
  contentRight?: React.ReactElement;
214
219
  resize?: "none" | "both" | "horizontal" | "vertical";
215
220
  helperText?: string;
@@ -254,6 +259,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
254
259
  label?: string;
255
260
  labelPlacement?: "inner" | "outer";
256
261
  titleCaption?: import("react").ReactNode;
262
+ headerSlot?: import("react").ReactNode;
257
263
  contentRight?: React.ReactElement;
258
264
  resize?: "none" | "both" | "horizontal" | "vertical";
259
265
  helperText?: string;
@@ -298,6 +304,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
298
304
  label?: string;
299
305
  labelPlacement?: "inner" | "outer";
300
306
  titleCaption?: import("react").ReactNode;
307
+ headerSlot?: import("react").ReactNode;
301
308
  contentRight?: React.ReactElement;
302
309
  resize?: "none" | "both" | "horizontal" | "vertical";
303
310
  helperText?: string;
@@ -342,6 +349,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
342
349
  label?: string;
343
350
  labelPlacement?: "inner" | "outer";
344
351
  titleCaption?: import("react").ReactNode;
352
+ headerSlot?: import("react").ReactNode;
345
353
  contentRight?: React.ReactElement;
346
354
  resize?: "none" | "both" | "horizontal" | "vertical";
347
355
  helperText?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-web",
3
- "version": "1.588.0-canary.1655.16168034594.0",
3
+ "version": "1.588.0-canary.1655.16198986399.0",
4
4
  "description": "Salute Design System / React UI kit for web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -19,9 +19,9 @@
19
19
  "directory": "packages/plasma-web"
20
20
  },
21
21
  "dependencies": {
22
- "@salutejs/plasma-core": "1.201.0-dev.0",
23
- "@salutejs/plasma-hope": "1.347.0-canary.1655.16168034594.0",
24
- "@salutejs/plasma-new-hope": "0.330.0-canary.1655.16168034594.0",
22
+ "@salutejs/plasma-core": "1.201.0",
23
+ "@salutejs/plasma-hope": "1.346.0",
24
+ "@salutejs/plasma-new-hope": "0.330.0-canary.1655.16198986399.0",
25
25
  "@salutejs/plasma-themes": "0.34.0",
26
26
  "@salutejs/plasma-tokens-b2b": "1.50.0",
27
27
  "@salutejs/plasma-tokens-b2c": "0.61.0",
@@ -49,9 +49,9 @@
49
49
  "@rollup/plugin-commonjs": "25.0.7",
50
50
  "@rollup/plugin-node-resolve": "15.2.3",
51
51
  "@salutejs/plasma-colors": "0.15.0",
52
- "@salutejs/plasma-cy-utils": "0.132.0-dev.0",
53
- "@salutejs/plasma-icons": "1.220.0-canary.1655.16168034594.0",
54
- "@salutejs/plasma-sb-utils": "0.202.0-dev.0",
52
+ "@salutejs/plasma-cy-utils": "0.132.0",
53
+ "@salutejs/plasma-icons": "1.220.0",
54
+ "@salutejs/plasma-sb-utils": "0.202.0",
55
55
  "@storybook/addon-docs": "7.6.17",
56
56
  "@storybook/addon-essentials": "7.6.17",
57
57
  "@storybook/addons": "7.6.17",
@@ -111,5 +111,5 @@
111
111
  "Fanil Zubairov"
112
112
  ],
113
113
  "sideEffects": false,
114
- "gitHead": "442a980a4686af3a6f7c14eaf5d8c569217d37b8"
114
+ "gitHead": "4a47347012f001f699a78c02ec909a00d1eb1a92"
115
115
  }