@salutejs/plasma-web 1.383.0 → 1.383.1-canary.1388.10591601265.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,139 +1,3 @@
1
- # v1.383.0 (Wed Aug 28 2024)
2
-
3
- ### Release Notes
4
-
5
- #### Release by 28.08.2024 ([#1403](https://github.com/salute-developers/plasma/pull/1403))
6
-
7
- ## Components
8
-
9
- ### Slider
10
-
11
- - удалена лишняя зависимость `ref.current` в hooks
12
- - исправлена документация в `plasma-web`
13
- - для `plasma-new-hope` и `sdds-dfa` добавлены недостающие файлы документации
14
-
15
-
16
- plasma-{new-hope, web}, sdds-dfa: removed redundant dependencies from `Slider` hooks; docs fixed (https://github.com/salute-developers/plasma/pull/1386)
17
-
18
- ### TextField
19
- - добавлен размер `xs` в `plasma-web`
20
-
21
-
22
- plasma-web: size `xs` added to `TextField` (https://github.com/salute-developers/plasma/pull/1395)
23
-
24
- ### SDDS-CS
25
-
26
- - изменены конфигурации компонентов для `sdds-cs`
27
-
28
- ### Radiobox/Checkbox
29
-
30
- - добавлен фон через токены для `trigger`
31
-
32
- ### Button
33
-
34
- - добавлен отдельный фон через токены в состоянии `loading`
35
-
36
-
37
- sdds-cs: Edit components config (https://github.com/salute-developers/plasma/pull/1368)
38
-
39
-
40
- ## Icons
41
-
42
- ### Disclosure group
43
-
44
- - обновлен набор для `Disclosure`
45
-
46
- <img width="371" alt="Disclosure" src="https://github.com/user-attachments/assets/37024761-5185-46fc-9a24-8285839c1776" />
47
-
48
-
49
-
50
- feat(plasma-icons): Update `Disclosure` icons group (https://github.com/salute-developers/plasma/pull/1384)
51
-
52
- ### Update icons list
53
-
54
- #### Video
55
- <img width="171" src="https://github.com/user-attachments/assets/5138f0d2-bc5a-427f-b5c3-161702b80cc5" />
56
-
57
- #### Attention
58
- <img width="58" src="https://github.com/user-attachments/assets/425b34f8-6744-44ad-8670-70fbb7f2aed7" />
59
-
60
- #### Message
61
- <img width="409" src="https://github.com/user-attachments/assets/b23057c1-b8e3-4c2a-a052-570a61570242" />
62
-
63
- #### Zoom
64
- <img width="128" src="https://github.com/user-attachments/assets/ac37d878-b25d-4215-9a05-84a4db8a4f1e" />
65
-
66
-
67
- feat(plasma-icons): Update icons pack (https://github.com/salute-developers/plasma/pull/1390)
68
-
69
- ## Tokens
70
-
71
- * исправлены опечатки в `tokens` для `theme`: `plasma_web`, `sdds_dfa`, `sdds_serv`
72
-
73
- fix(plasma-tokens): Fix tokens misprint in themes (https://github.com/salute-developers/plasma/pull/1402)
74
-
75
- ### Theme-Builder
76
-
77
- * исправлена обработка свойств `opened` для модальных окон
78
- * исправлено отображение полей для ввода в модальном окне редактирования token
79
- * исправлена генерация токенов `active` и `hover` состояний при изменении отключении / включении token
80
-
81
-
82
- fix(plasma-theme-builder): Fix bugs in Theme Builder (https://github.com/salute-developers/plasma/pull/1397)
83
-
84
-
85
- ## Infra
86
-
87
- ### Plasma-B2C
88
-
89
- - поднята документацию для пакета `plasma-b2c`
90
-
91
-
92
-
93
- plasma-docs: Setup package for `plasma-b2c` (https://github.com/salute-developers/plasma/pull/1330)
94
-
95
-
96
- ## Misc
97
-
98
- ### Tests
99
- - изменены тесты plasma-b2c компонентов Breadcrumbs и Price
100
-
101
-
102
- test(plasma-b2c): update tests for Breadcrumbs and Price (https://github.com/salute-developers/plasma/pull/1353)
103
-
104
- ### Tests
105
- - изменены тесты plasma-b2c компонентов Badge и Chip
106
-
107
-
108
- test(plasma-b2c): update tests for Badge and Chip (https://github.com/salute-developers/plasma/pull/1366)
109
-
110
- ---
111
-
112
- #### 🚀 Enhancement
113
-
114
- - Release by 28.08.2024 [#1403](https://github.com/salute-developers/plasma/pull/1403) ([@Yakutoc](https://github.com/Yakutoc) [@simashova](https://github.com/simashova) [@neretin-trike](https://github.com/neretin-trike) [@Salute-Eva](https://github.com/Salute-Eva) [@IgorYar](https://github.com/IgorYar) [@denivladislav](https://github.com/denivladislav) [@iljs](https://github.com/iljs))
115
- - feat(*): add custom background trigger for checkbox and rasiobox ([@iljs](https://github.com/iljs))
116
- - feat(*): add custom loading background to button ([@iljs](https://github.com/iljs))
117
- - feat(plasma-web): xs size added [#1395](https://github.com/salute-developers/plasma/pull/1395) ([@denivladislav](https://github.com/denivladislav))
118
-
119
- #### 🐛 Bug Fix
120
-
121
- - Update package-lock.json files ([@Salute-Eva](https://github.com/Salute-Eva))
122
- - Update versions ([@Salute-Eva](https://github.com/Salute-Eva))
123
- - chore: Update package-lock.json files \[skip ci\] ([@Salute-Eva](https://github.com/Salute-Eva))
124
-
125
- #### Authors: 7
126
-
127
- - [@iljs](https://github.com/iljs)
128
- - [@Salute-Eva](https://github.com/Salute-Eva)
129
- - Alexander Lobyntsev ([@Yakutoc](https://github.com/Yakutoc))
130
- - Anastasia Simashova ([@simashova](https://github.com/simashova))
131
- - Igor Yaroslavtsev ([@IgorYar](https://github.com/IgorYar))
132
- - neretinaa ([@neretin-trike](https://github.com/neretin-trike))
133
- - Vladislav Denisov ([@denivladislav](https://github.com/denivladislav))
134
-
135
- ---
136
-
137
1
  # v1.377.0 (Thu Aug 22 2024)
138
2
 
139
3
  ### Release Notes
@@ -19,7 +19,7 @@ var config = exports.config = {
19
19
  m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-typo-body1-font-family);\n ", ": var(--plasma-typo-body1-font-style);\n ", ": var(--plasma-typo-body1-font-weight);\n ", ": var(--plasma-typo-body1-font-weight);\n ", ": var(--plasma-typo-body1-line-height);\n ", ": var(--plasma-typo-body1-font-size);\n ", ": var(--plasma-typo-body1-letter-spacing);\n ", ": 2.75rem;\n ", ": 1.75rem;\n ", ": calc(var(", ") / 2);\n ", ": 1.5rem;\n ", ": calc(var(", ") / 2);\n ", ": 0.125rem;\n ", ": 1.25;\n ", ": 0.75rem;\n "])), _styledComponents.switchTokens.fontFamily, _styledComponents.switchTokens.fontStyle, _styledComponents.switchTokens.fontWeight, _styledComponents.switchTokens.fontWeight, _styledComponents.switchTokens.lineHeight, _styledComponents.switchTokens.fontSize, _styledComponents.switchTokens.letterSpacing, _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, _styledComponents.switchTokens.labelOffset)
20
20
  },
21
21
  view: {
22
- "default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-accent);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--on-dark-text-primary);\n ", ": 0 1px 1px rgba(0, 0, 0, 0.11);\n "])), _styledComponents.switchTokens.trackBackgroundColorOn, _styledComponents.switchTokens.trackBackgroundColorOff, _styledComponents.switchTokens.thumbBackgroundColor, _styledComponents.switchTokens.thumbBoxShadow)
22
+ "default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\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.trackBackgroundColorOn, _styledComponents.switchTokens.trackBackgroundColorOnHover, _styledComponents.switchTokens.trackBackgroundColorOff, _styledComponents.switchTokens.trackBackgroundColorOffHover, _styledComponents.switchTokens.thumbBackgroundColor, _styledComponents.switchTokens.thumbBoxShadow)
23
23
  },
24
24
  // TODO: could we not css into css ???
25
25
  labelPosition: {
@@ -13,7 +13,7 @@ export var config = {
13
13
  m: /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-typo-body1-font-family);\n ", ": var(--plasma-typo-body1-font-style);\n ", ": var(--plasma-typo-body1-font-weight);\n ", ": var(--plasma-typo-body1-font-weight);\n ", ": var(--plasma-typo-body1-line-height);\n ", ": var(--plasma-typo-body1-font-size);\n ", ": var(--plasma-typo-body1-letter-spacing);\n ", ": 2.75rem;\n ", ": 1.75rem;\n ", ": calc(var(", ") / 2);\n ", ": 1.5rem;\n ", ": calc(var(", ") / 2);\n ", ": 0.125rem;\n ", ": 1.25;\n ", ": 0.75rem;\n "])), switchTokens.fontFamily, switchTokens.fontStyle, switchTokens.fontWeight, switchTokens.fontWeight, switchTokens.lineHeight, switchTokens.fontSize, switchTokens.letterSpacing, switchTokens.trackWidth, switchTokens.trackHeight, switchTokens.trackBorderRadius, switchTokens.trackHeight, switchTokens.thumbSize, switchTokens.thumbBorderRadius, switchTokens.thumbSize, switchTokens.thumbOffset, switchTokens.thumbPressScale, switchTokens.labelOffset)
14
14
  },
15
15
  view: {
16
- "default": /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-accent);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--on-dark-text-primary);\n ", ": 0 1px 1px rgba(0, 0, 0, 0.11);\n "])), switchTokens.trackBackgroundColorOn, switchTokens.trackBackgroundColorOff, switchTokens.thumbBackgroundColor, switchTokens.thumbBoxShadow)
16
+ "default": /*#__PURE__*/css(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\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.trackBackgroundColorOn, switchTokens.trackBackgroundColorOnHover, switchTokens.trackBackgroundColorOff, switchTokens.trackBackgroundColorOffHover, switchTokens.thumbBackgroundColor, switchTokens.thumbBoxShadow)
17
17
  },
18
18
  // TODO: could we not css into css ???
19
19
  labelPosition: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-web",
3
- "version": "1.383.0",
3
+ "version": "1.383.1-canary.1388.10591601265.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,10 +19,10 @@
19
19
  "directory": "packages/plasma-web"
20
20
  },
21
21
  "dependencies": {
22
- "@salutejs/plasma-core": "1.176.0",
23
- "@salutejs/plasma-hope": "1.306.0",
24
- "@salutejs/plasma-new-hope": "0.133.0",
25
- "@salutejs/plasma-themes": "0.16.0",
22
+ "@salutejs/plasma-core": "1.176.0-dev.0",
23
+ "@salutejs/plasma-hope": "1.306.0-dev.0",
24
+ "@salutejs/plasma-new-hope": "0.133.1-canary.1388.10591601265.0",
25
+ "@salutejs/plasma-themes": "0.16.0-dev.0",
26
26
  "@salutejs/plasma-tokens-b2b": "1.41.0",
27
27
  "@salutejs/plasma-tokens-b2c": "0.51.0",
28
28
  "@salutejs/plasma-tokens-web": "1.56.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.13.0",
52
- "@salutejs/plasma-cy-utils": "0.107.0",
53
- "@salutejs/plasma-icons": "1.203.0",
54
- "@salutejs/plasma-sb-utils": "0.174.0",
52
+ "@salutejs/plasma-cy-utils": "0.107.0-dev.0",
53
+ "@salutejs/plasma-icons": "1.203.0-dev.0",
54
+ "@salutejs/plasma-sb-utils": "0.174.0-dev.0",
55
55
  "@storybook/addon-docs": "7.6.17",
56
56
  "@storybook/addon-essentials": "7.6.17",
57
57
  "@storybook/addons": "7.6.17",
@@ -112,5 +112,5 @@
112
112
  "Fanil Zubairov"
113
113
  ],
114
114
  "sideEffects": false,
115
- "gitHead": "4274cc8bb51cee1710eb761daf1a3c4ff36bf5c7"
115
+ "gitHead": "ad077ee360183c42451a4c256c2f969dcdbbd207"
116
116
  }