@salutejs/sdds-dfa 0.173.0-canary.1559.11833429721.0 → 0.174.0-canary.1560.11837986621.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,217 @@
1
+ # v0.173.0 (Thu Nov 14 2024)
2
+
3
+ ### Release Notes
4
+
5
+ #### Release by 13.11.2024 ([#1559](https://github.com/salute-developers/plasma/pull/1559))
6
+
7
+ ## Components
8
+
9
+ ### Autocomplete
10
+
11
+ - добавлены новые св-ва `required`, `requiredPlacement` и `optional`;
12
+
13
+ feat(plasma-*, sdds-*): Add required functionality in Autocomplete (https://github.com/salute-developers/plasma/pull/1522)
14
+
15
+ ### Combobox
16
+
17
+ - добавлены новые св-ва `required`, `requiredPlacement` и `optional`;
18
+
19
+ feat(plasma-*, sdds-*): Add required functionality in Combobox (https://github.com/salute-developers/plasma/pull/1527)
20
+
21
+ ### Range, DatePickerRange
22
+
23
+ - добавлена возможность передать свойство `autoComplete`
24
+
25
+ feat(plasma-new-hope): Add autoComplete prop to Range (https://github.com/salute-developers/plasma/pull/1530)
26
+
27
+ ### Chip
28
+
29
+ - добавлено событие `onClickClose` по клику на крестик
30
+ - `onClear` помечено как deprecated
31
+ - написан тест на onClickClose
32
+
33
+ feat(plasma-new-hope): Divide chip events (https://github.com/salute-developers/plasma/pull/1536)
34
+
35
+ ### Badge, Tabs
36
+
37
+ - реализована возможность обрезания текста по максимальной ширине
38
+
39
+ feat: add Badge & Tabs truncate props (https://github.com/salute-developers/plasma/pull/1500)
40
+
41
+ ### NumberInput
42
+
43
+ - компонент включен в поставку `plasma-*` и `sdds-*` библиотек
44
+
45
+ **After**:
46
+ <img width="216" alt="image" src="https://github.com/user-attachments/assets/4b51c0e6-099d-41d7-af07-88344f7f77b0" />
47
+
48
+ feat(plasma-new-hope): Add NumberInput component (https://github.com/salute-developers/plasma/pull/1511)
49
+
50
+ ### Dropdown
51
+
52
+ - добавлено свойство alwaysOpened
53
+ - добавлен тест на новое свойство
54
+
55
+ feat(plasma-new-hope): Add alwaysOpened prop for Dropdown (https://github.com/salute-developers/plasma/pull/1538)
56
+
57
+ ### TextField
58
+
59
+ - добавлен токен изменения цвета фона компонента при наведении
60
+
61
+ feat(plasma-*,sdds-*): Fix TextField hover tokens (https://github.com/salute-developers/plasma/pull/1551)
62
+
63
+ ### Tabs
64
+
65
+ - для `sdds-cs` исправлены значения токенов `itemSelectedDividerColor` и `itemSelectedDividerColorHover`
66
+ - для `sdds-dfa` исправлены токены для состояния `disabled`
67
+ - исправлены `argTypes` в stories
68
+
69
+ ### Breadcrumbs
70
+
71
+ - исправлен курсор при наведении на текущий `Breadcrumb`
72
+ - исправлены токены для `hover` и `active` состояний у `Breadcrumb`
73
+
74
+ `plasma-new-hope, sdds-cs`: fix `Tabs` and `Breadcrumbs` (https://github.com/salute-developers/plasma/pull/1532)
75
+
76
+ ### Switch
77
+ - добавлены размеры `s`, `l`
78
+ - добавлено свойство `description`
79
+ - добавлено свойство `toggleSize`
80
+ - обновлены документация и тесты
81
+
82
+ `plasma-*, sdds-*`: `Switch` sizes added (https://github.com/salute-developers/plasma/pull/1539)
83
+
84
+ ### Attach, Button
85
+
86
+ - свойство `square` у `Button` помечено как `deprecated`
87
+ - свойство `square` удалено из storybooks для `Attach`
88
+ - для размеров `m`, `l` у `Attach` исправлен размер иконки по умолчанию в варианте `IconButton`
89
+ - исправлены токены для view=secondary в пакете `sdds-cs`
90
+
91
+ ### IconButton
92
+ - исправлены токены для view=secondary в пакете `sdds-cs`
93
+
94
+ `plasma-*, sdds-*`: fix `Attach` `square` prop (https://github.com/salute-developers/plasma/pull/1525)
95
+
96
+ ### Steps
97
+
98
+ - исправлены смещающиеся активные элементы
99
+ - добавлен фокус
100
+ - добавлены тесты
101
+
102
+ plasma-*: Fix `Steps` jumping bullets (https://github.com/salute-developers/plasma/pull/1517)
103
+
104
+ ### Select
105
+
106
+ - осуществлен переход на `floating-ui`
107
+ - расширена типизация, позволяющая использовать компонент в режиме uncontrolled (b2c и web)
108
+ - исправлено некорректное отображение ячейки выпадающего списка при длинных значениях
109
+ - расширены возможности использования компонента через портал. Теперь помимо рефки можно пробросить id `dom-элемента`
110
+ - исправлены UI-баги при использовании портала
111
+ - улучшена поддержка типов
112
+
113
+ feat(plasma-*, sdds-*): Select improvements (https://github.com/salute-developers/plasma/pull/1550)
114
+
115
+ ### Tabs
116
+
117
+ - вернули возможность использовать `TabItemProps`, `TabsProps` во все пакетах
118
+
119
+ `plasma-*, sdds-*`: `TabItemProps`, `TabsProps` exported (https://github.com/salute-developers/plasma/pull/1545)
120
+
121
+
122
+ ## Вертикали
123
+
124
+ ### `SDDS-CS`
125
+
126
+ - добавлен view `negative` для `Combobox`
127
+ - добавлен view `negative` для `Autocomplete`
128
+
129
+ plasma(sdds-cs): Add view negative to combobox and autocomplite (https://github.com/salute-developers/plasma/pull/1523)
130
+
131
+ Добавлены новые токены для компонентов:
132
+
133
+ - `Autocomplete`,
134
+ - `Combobox`,
135
+ - `Dropdown`,
136
+ - `Notifications`,
137
+ - `Range`,
138
+ - `Pagination`,
139
+ - `Tabs`,
140
+ - `DatePicker`
141
+
142
+ feat(new-hope): Add new tokens to components (https://github.com/salute-developers/plasma/pull/1506)
143
+
144
+ ### `SDDS-INSOL`
145
+
146
+ - обновлена тема `sdds_insol`
147
+ - обновлено свойство `background-color` на background в компоненте `Button` для поддержки градиентов в значениях у токенов.
148
+ - обновлены конфигурации для компонентов `Button`, `TextArea` и `TextField`
149
+
150
+ feat(sdds-insol): Update configs for `Button`, `TextArea` and `TextField` components [part 1] (https://github.com/salute-developers/plasma/pull/1526)
151
+
152
+ ## Docs
153
+
154
+ ### Edit docs components for correctly view
155
+
156
+ - изменена документация ( значения `size` ) для корректного отображения в документации в вертикали `sdds-cs`
157
+
158
+ fix(sdds-cs-docs): Edit docs components for correctly view (https://github.com/salute-developers/plasma/pull/1557)
159
+
160
+ ### Theme documentation
161
+
162
+ - добавлен подраздел примеры смены тем
163
+
164
+ feat: change theme docs (https://github.com/salute-developers/plasma/pull/1516)
165
+
166
+ ---
167
+
168
+ #### 🚀 Enhancement
169
+
170
+ - Release by 13.11.2024 [#1559](https://github.com/salute-developers/plasma/pull/1559) ([@iljs](https://github.com/iljs) [@Salute-Eva](https://github.com/Salute-Eva) [@shuga2704](https://github.com/shuga2704) [@neretin-trike](https://github.com/neretin-trike) [@Yakutoc](https://github.com/Yakutoc) [@vadim-kudr](https://github.com/vadim-kudr) [@TitanKuzmich](https://github.com/TitanKuzmich) [@denivladislav](https://github.com/denivladislav) [@luizasok](https://github.com/luizasok))
171
+ - docs(): api reports regenerated [#1539](https://github.com/salute-developers/plasma/pull/1539) ([@denivladislav](https://github.com/denivladislav))
172
+ - feat(sdds-dfa/finportal/serv): fix TextField hover token ([@TitanKuzmich](https://github.com/TitanKuzmich))
173
+ - feat(sdds-*): add alwaysOpened to Dropdown [#1538](https://github.com/salute-developers/plasma/pull/1538) ([@TitanKuzmich](https://github.com/TitanKuzmich))
174
+ - feat(sdds-*): add NumberInput component [#1511](https://github.com/salute-developers/plasma/pull/1511) ([@TitanKuzmich](https://github.com/TitanKuzmich))
175
+ - feat: add Badge & Tabs truncate props [#1500](https://github.com/salute-developers/plasma/pull/1500) ([@vadim-kudr](https://github.com/vadim-kudr))
176
+ - feat(new-hope): add thin cross to notification and toast [#1506](https://github.com/salute-developers/plasma/pull/1506) ([@iljs](https://github.com/iljs))
177
+ - feat(*): add tokens to all libs in dropdown ([@iljs](https://github.com/iljs))
178
+ - feat(*): add tokens to all libs in combobox ([@iljs](https://github.com/iljs))
179
+ - feat(*): add tokens to all libs in calender and datepicker ([@iljs](https://github.com/iljs))
180
+ - feat(*): add tokens to all libs in autocomplite ([@iljs](https://github.com/iljs))
181
+ - feat(new-hope): toast and notification tokens ([@iljs](https://github.com/iljs))
182
+ - feat(new-hope): datepicker add more tokens ([@iljs](https://github.com/iljs))
183
+
184
+ #### 🐛 Bug Fix
185
+
186
+ - Update package-lock.json files ([@Salute-Eva](https://github.com/Salute-Eva))
187
+ - Update versions ([@Salute-Eva](https://github.com/Salute-Eva))
188
+ - feat(plasma-*, sdds-*): Select improvements [#1550](https://github.com/salute-developers/plasma/pull/1550) ([@shuga2704](https://github.com/shuga2704))
189
+ - fix: fix Steps jumping bullets [#1517](https://github.com/salute-developers/plasma/pull/1517) ([@vadim-kudr](https://github.com/vadim-kudr))
190
+ - fix(plasma-*, sdds-*): square control removed from storybooks ([@denivladislav](https://github.com/denivladislav))
191
+ - chore(plasma-*, sdds-*): Switch ported; tests added ([@denivladislav](https://github.com/denivladislav))
192
+ - fix(sdds-dfa): Tabs disabled tokens fixed [#1532](https://github.com/salute-developers/plasma/pull/1532) ([@denivladislav](https://github.com/denivladislav))
193
+ - fix(plasma-*, sdds-*): fixed Tabs storybooks ([@denivladislav](https://github.com/denivladislav))
194
+ - docs(): api reports regenerated [#1545](https://github.com/salute-developers/plasma/pull/1545) ([@denivladislav](https://github.com/denivladislav))
195
+ - fix(plasma-*, sdds-*): TabItemProps and TabsProps exported ([@denivladislav](https://github.com/denivladislav))
196
+ - docs: generate new api reports ([@TitanKuzmich](https://github.com/TitanKuzmich))
197
+ - feat(plasma-*, sdds-*): Add required functionality in Combobox [#1527](https://github.com/salute-developers/plasma/pull/1527) ([@shuga2704](https://github.com/shuga2704))
198
+ - feat(plasma-*, sdds-*): Add required functionality in Autocomplete [#1522](https://github.com/salute-developers/plasma/pull/1522) ([@shuga2704](https://github.com/shuga2704))
199
+ - chore: Update package-lock.json files \[skip ci\] ([@Salute-Eva](https://github.com/Salute-Eva))
200
+
201
+ #### Authors: 9
202
+
203
+ - [@iljs](https://github.com/iljs)
204
+ - [@Salute-Eva](https://github.com/Salute-Eva)
205
+ - Alexander Lobyntsev ([@Yakutoc](https://github.com/Yakutoc))
206
+ - Dima Shugaev ([@shuga2704](https://github.com/shuga2704))
207
+ - Krivonos Aleksandr ([@TitanKuzmich](https://github.com/TitanKuzmich))
208
+ - Luiza_Sok ([@luizasok](https://github.com/luizasok))
209
+ - neretinaa ([@neretin-trike](https://github.com/neretin-trike))
210
+ - Vadim ([@vadim-kudr](https://github.com/vadim-kudr))
211
+ - Vlad Denisov ([@denivladislav](https://github.com/denivladislav))
212
+
213
+ ---
214
+
1
215
  # v0.160.0 (Thu Oct 31 2024)
2
216
 
3
217
  ### Release Notes
@@ -26,7 +26,7 @@ var config = exports.config = {
26
26
  s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2rem;\n ", ": 1.25rem;\n ", ": calc(var(", ") / 2);\n ", ": 1rem;\n ", ": calc(var(", ") / 2);\n ", ": 0.125rem;\n ", ": 1.25;\n "])), _styledComponents.switchTokens.trackWidth, _styledComponents.switchTokens.trackHeight, _styledComponents.switchTokens.trackBorderRadius, _styledComponents.switchTokens.trackHeight, _styledComponents.switchTokens.thumbSize, _styledComponents.switchTokens.thumbBorderRadius, _styledComponents.switchTokens.thumbSize, _styledComponents.switchTokens.thumbOffset, _styledComponents.switchTokens.thumbPressScale)
27
27
  },
28
28
  view: {
29
- "default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--surface-accent);\n ", ": var(--surface-accent-hover);\n ", ": var(--surface-transparent-tertiary);\n ", ": var(--surface-transparent-tertiary-hover);\n ", ": var(--on-dark-surface-solid-default);\n ", ": 0 1px 1px rgba(0, 0, 0, 0.11);\n "])), _styledComponents.switchTokens.labelColor, _styledComponents.switchTokens.descriptionColor, _styledComponents.switchTokens.trackBackgroundColorOn, _styledComponents.switchTokens.trackBackgroundColorOnHover, _styledComponents.switchTokens.trackBackgroundColorOff, _styledComponents.switchTokens.trackBackgroundColorOffHover, _styledComponents.switchTokens.thumbBackgroundColor, _styledComponents.switchTokens.thumbBoxShadow)
29
+ "default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--surface-accent);\n ", ": var(--surface-accent-hover);\n ", ": var(--surface-transparent-tertiary);\n ", ": var(--surface-transparent-tertiary-hover);\n ", ": 0rem;\n ", ": transparent;\n ", ": transparent;\n ", ": transparent;\n ", ": transparent;\n ", ": var(--on-dark-surface-solid-default);\n ", ": var(--on-dark-surface-solid-default);\n ", ": 0 1px 1px rgba(0, 0, 0, 0.11);\n "])), _styledComponents.switchTokens.labelColor, _styledComponents.switchTokens.descriptionColor, _styledComponents.switchTokens.trackBackgroundColorOn, _styledComponents.switchTokens.trackBackgroundColorOnHover, _styledComponents.switchTokens.trackBackgroundColorOff, _styledComponents.switchTokens.trackBackgroundColorOffHover, _styledComponents.switchTokens.trackBorderWidth, _styledComponents.switchTokens.trackBorderColorOff, _styledComponents.switchTokens.trackBorderColorOffHover, _styledComponents.switchTokens.trackBorderColorOn, _styledComponents.switchTokens.trackBorderColorOnHover, _styledComponents.switchTokens.thumbBackgroundColorOff, _styledComponents.switchTokens.thumbBackgroundColorOn, _styledComponents.switchTokens.thumbBoxShadow)
30
30
  },
31
31
  disabled: {
32
32
  "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), _styledComponents.switchTokens.disabledOpacity)
@@ -20,7 +20,7 @@ export var config = {
20
20
  s: /*#__PURE__*/css(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2rem;\n ", ": 1.25rem;\n ", ": calc(var(", ") / 2);\n ", ": 1rem;\n ", ": calc(var(", ") / 2);\n ", ": 0.125rem;\n ", ": 1.25;\n "])), switchTokens.trackWidth, switchTokens.trackHeight, switchTokens.trackBorderRadius, switchTokens.trackHeight, switchTokens.thumbSize, switchTokens.thumbBorderRadius, switchTokens.thumbSize, switchTokens.thumbOffset, switchTokens.thumbPressScale)
21
21
  },
22
22
  view: {
23
- "default": /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--surface-accent);\n ", ": var(--surface-accent-hover);\n ", ": var(--surface-transparent-tertiary);\n ", ": var(--surface-transparent-tertiary-hover);\n ", ": var(--on-dark-surface-solid-default);\n ", ": 0 1px 1px rgba(0, 0, 0, 0.11);\n "])), switchTokens.labelColor, switchTokens.descriptionColor, switchTokens.trackBackgroundColorOn, switchTokens.trackBackgroundColorOnHover, switchTokens.trackBackgroundColorOff, switchTokens.trackBackgroundColorOffHover, switchTokens.thumbBackgroundColor, switchTokens.thumbBoxShadow)
23
+ "default": /*#__PURE__*/css(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--surface-accent);\n ", ": var(--surface-accent-hover);\n ", ": var(--surface-transparent-tertiary);\n ", ": var(--surface-transparent-tertiary-hover);\n ", ": 0rem;\n ", ": transparent;\n ", ": transparent;\n ", ": transparent;\n ", ": transparent;\n ", ": var(--on-dark-surface-solid-default);\n ", ": var(--on-dark-surface-solid-default);\n ", ": 0 1px 1px rgba(0, 0, 0, 0.11);\n "])), switchTokens.labelColor, switchTokens.descriptionColor, switchTokens.trackBackgroundColorOn, switchTokens.trackBackgroundColorOnHover, switchTokens.trackBackgroundColorOff, switchTokens.trackBackgroundColorOffHover, switchTokens.trackBorderWidth, switchTokens.trackBorderColorOff, switchTokens.trackBorderColorOffHover, switchTokens.trackBorderColorOn, switchTokens.trackBorderColorOnHover, switchTokens.thumbBackgroundColorOff, switchTokens.thumbBackgroundColorOn, switchTokens.thumbBoxShadow)
24
24
  },
25
25
  disabled: {
26
26
  "true": /*#__PURE__*/css(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), switchTokens.disabledOpacity)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-dfa",
3
- "version": "0.173.0-canary.1559.11833429721.0",
3
+ "version": "0.174.0-canary.1560.11837986621.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS DFA web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "license": "MIT",
@@ -19,8 +19,8 @@
19
19
  "directory": "packages/sdds-dfa"
20
20
  },
21
21
  "dependencies": {
22
- "@salutejs/plasma-new-hope": "0.193.0-canary.1559.11833429721.0",
23
- "@salutejs/sdds-themes": "0.28.0-canary.1559.11833429721.0"
22
+ "@salutejs/plasma-new-hope": "0.194.0-canary.1560.11837986621.0",
23
+ "@salutejs/sdds-themes": "0.27.0"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "react": ">=16.13.1",
@@ -37,10 +37,10 @@
37
37
  "@babel/preset-typescript": "7.24.1",
38
38
  "@microsoft/api-extractor": "7.38.3",
39
39
  "@salutejs/plasma-colors": "0.13.0",
40
- "@salutejs/plasma-core": "1.187.0-canary.1559.11833429721.0",
41
- "@salutejs/plasma-cy-utils": "0.118.0-canary.1559.11833429721.0",
42
- "@salutejs/plasma-icons": "1.209.0-canary.1559.11833429721.0",
43
- "@salutejs/plasma-sb-utils": "0.185.0-canary.1559.11833429721.0",
40
+ "@salutejs/plasma-core": "1.186.0",
41
+ "@salutejs/plasma-cy-utils": "0.117.0",
42
+ "@salutejs/plasma-icons": "1.208.0",
43
+ "@salutejs/plasma-sb-utils": "0.184.0",
44
44
  "@storybook/addon-docs": "7.6.17",
45
45
  "@storybook/addon-essentials": "7.6.17",
46
46
  "@storybook/addons": "7.6.17",
@@ -95,5 +95,5 @@
95
95
  "Anton Vinogradov"
96
96
  ],
97
97
  "sideEffects": false,
98
- "gitHead": "c4d3df3a7200b9fe9327a263f6e4497da0fe64e3"
98
+ "gitHead": "06a688c2510015bca6554225ad48326d9fa85a5d"
99
99
  }