@salutejs/plasma-web 1.366.0-canary.1347.10286315854.0 → 1.366.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +180 -0
- package/api/plasma-web.api.md +2 -1
- package/components/Tabs/TabItem.config.js +8 -8
- package/components/Tabs/Tabs.config.d.ts +0 -1
- package/components/Tabs/Tabs.config.js +4 -5
- package/components/Tabs/Tabs.d.ts +2 -1
- package/css/cjs/components/Tabs/TabItem.config.js +1 -1
- package/css/cjs/components/Tabs/TabItem.config.js.map +1 -1
- package/css/cjs/components/Tabs/TabItem.config_1fqdgmr.css +15 -0
- package/css/cjs/components/Tabs/TabItem.css +15 -15
- package/css/cjs/components/Tabs/Tabs.config.js +2 -3
- package/css/cjs/components/Tabs/Tabs.config.js.map +1 -1
- package/css/cjs/components/Tabs/{Tabs.config_tasfzq.css → Tabs.config_hnbp5.css} +3 -3
- package/css/cjs/components/Tabs/Tabs.css +15 -15
- package/css/cjs/components/Tabs/TabsController.css +30 -30
- package/css/cjs/index.css +31 -31
- package/css/es/components/Tabs/TabItem.config.js +1 -1
- package/css/es/components/Tabs/TabItem.config.js.map +1 -1
- package/css/es/components/Tabs/TabItem.config_1fqdgmr.css +15 -0
- package/css/es/components/Tabs/TabItem.css +15 -15
- package/css/es/components/Tabs/Tabs.config.js +2 -3
- package/css/es/components/Tabs/Tabs.config.js.map +1 -1
- package/css/es/components/Tabs/{Tabs.config_tasfzq.css → Tabs.config_hnbp5.css} +3 -3
- package/css/es/components/Tabs/Tabs.css +15 -15
- package/css/es/components/Tabs/TabsController.css +30 -30
- package/css/es/index.css +31 -31
- package/es/components/Tabs/TabItem.config.js +8 -8
- package/es/components/Tabs/Tabs.config.js +4 -5
- package/package.json +7 -7
- package/css/cjs/components/Tabs/TabItem.config_1s9yghq.css +0 -15
- package/css/es/components/Tabs/TabItem.config_1s9yghq.css +0 -15
- package/temp/plasma-web.api.md +0 -2565
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,183 @@
|
|
1
|
+
# v1.366.0 (Thu Aug 08 2024)
|
2
|
+
|
3
|
+
### Release Notes
|
4
|
+
|
5
|
+
#### Release by 07.08.2024 ([#1348](https://github.com/salute-developers/plasma/pull/1348))
|
6
|
+
|
7
|
+
## Components
|
8
|
+
|
9
|
+
### DatePicker
|
10
|
+
|
11
|
+
- добавлена возможность задавать labelPlacement
|
12
|
+
- добавлен тест на данное свойство
|
13
|
+
|
14
|
+
|
15
|
+
plasma-*: add datepicker inner label support (https://github.com/salute-developers/plasma/pull/1327)
|
16
|
+
|
17
|
+
### DatePicker
|
18
|
+
|
19
|
+
- добавлена возможность открытия календаря в DatePicker по нажатию Space
|
20
|
+
|
21
|
+
|
22
|
+
plasma-new-hope: add DatePicker open by space (https://github.com/salute-developers/plasma/pull/1326)
|
23
|
+
|
24
|
+
### TimePicker
|
25
|
+
|
26
|
+
- добавлена привязка времени к датам
|
27
|
+
- добавлена возможность задавать промежуток больший, чем 1 сутки
|
28
|
+
|
29
|
+
**Before**
|
30
|
+
<img src="https://github.com/user-attachments/assets/b867f5d2-2814-433e-ba21-e93aa5fd691f" width="550">
|
31
|
+
|
32
|
+
**After**
|
33
|
+
<img src="https://github.com/user-attachments/assets/3d6e6ac5-d5e6-4adb-b985-9606a31d8335" width="550">
|
34
|
+
|
35
|
+
|
36
|
+
plasma-ui: range timepicker (https://github.com/salute-developers/plasma/pull/1323)
|
37
|
+
|
38
|
+
### Components
|
39
|
+
|
40
|
+
Добавлена библиотека компонентов `@salutejs/sdds-cs`
|
41
|
+
|
42
|
+
|
43
|
+
feat(package): Add sdds-cs (https://github.com/salute-developers/plasma/pull/1334)
|
44
|
+
|
45
|
+
### DatePicker
|
46
|
+
|
47
|
+
- изменен токен default состояния для поля ввода
|
48
|
+
- обновлены скриншоты для DatePicker
|
49
|
+
- исправлено поведение, связанное с шириной поля ввода
|
50
|
+
- добавлена поддержка асинхронной установки defaultDate
|
51
|
+
|
52
|
+
**Before**
|
53
|
+
<img src="https://github.com/user-attachments/assets/a4a4962a-c214-4c07-ba32-d7a80d2f9099">
|
54
|
+
<img src="https://github.com/user-attachments/assets/38f4d5be-2519-4777-817e-5ca901724a7f">
|
55
|
+
|
56
|
+
**After**
|
57
|
+
![image](https://github.com/user-attachments/assets/564b6610-2fee-475e-8b5e-af223f11a069)
|
58
|
+
![image](https://github.com/user-attachments/assets/8ad60d1d-8ed9-405e-89f3-e35934bff1c3)
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
plasma-*: fix datepicker focus token (https://github.com/salute-developers/plasma/pull/1332)
|
63
|
+
|
64
|
+
### Breadcrumbs
|
65
|
+
|
66
|
+
- добавлен в поставку `plasma-{b2c, web}, sdds-{serv,dfa}`
|
67
|
+
- добавлен примеры в storybook и документация
|
68
|
+
|
69
|
+
#### Навигация по родительским страницам
|
70
|
+
<img width="609" src="https://github.com/user-attachments/assets/b35f60a5-0d18-4ea4-9f62-716365079e4f" />
|
71
|
+
|
72
|
+
#### Используя `shorter`
|
73
|
+
|
74
|
+
<img width="659" src="https://github.com/user-attachments/assets/462f80e8-42a3-4538-b85e-1228a08df58e" />
|
75
|
+
|
76
|
+
#### Используя custom элемент
|
77
|
+
|
78
|
+
<img width="596" src="https://github.com/user-attachments/assets/3d780e04-0419-4bdf-a81b-8b3c2f73c9d9" />
|
79
|
+
|
80
|
+
|
81
|
+
plasma-*: Add Breadcrumbs (https://github.com/salute-developers/plasma/pull/1310)
|
82
|
+
|
83
|
+
### Select
|
84
|
+
|
85
|
+
* Добавлен новый проп renderTarget в компонент Select
|
86
|
+
|
87
|
+
RenderTarget in Select (https://github.com/salute-developers/plasma/pull/1328)
|
88
|
+
|
89
|
+
### Tokens
|
90
|
+
|
91
|
+
- В пакете `sdds-cs` были изменены конфиги в компонентах: `Accordion`, `Avatar`, `Badge`, `Cell`, `Counter`, `Chip`, `Divider`, `Indicator`
|
92
|
+
- В `Accordion` добавлен токен цвета иконки
|
93
|
+
- В `plasma-web` добавлены новые view
|
94
|
+
|
95
|
+
|
96
|
+
fix(sdds-serv): Update configs for components in sdds-cs (https://github.com/salute-developers/plasma/pull/1344)
|
97
|
+
|
98
|
+
### Tabs
|
99
|
+
- при нажатии на таб, который не виден целиком, происходит прокрутка до конца этого таба
|
100
|
+
- при нажатии на стрелки влево/вправо происходит прокрутка до следующего таба
|
101
|
+
- исправлена ошибка `disabled=true` в конфигурациях
|
102
|
+
- исправлены примеры `Storybook`, тесты и документация
|
103
|
+
|
104
|
+
|
105
|
+
plasma-*, sdds-*: redesign Tabs (https://github.com/salute-developers/plasma/pull/1333)
|
106
|
+
|
107
|
+
|
108
|
+
## Docs
|
109
|
+
|
110
|
+
### Add docs SDDS CS
|
111
|
+
|
112
|
+
* добавлена документация для пакета `sdds-cs`
|
113
|
+
|
114
|
+
|
115
|
+
Add docs SDDS CS (https://github.com/salute-developers/plasma/pull/1336)
|
116
|
+
|
117
|
+
|
118
|
+
## Misc
|
119
|
+
|
120
|
+
### Docs
|
121
|
+
|
122
|
+
* Поправлено описание подключения темы для `sdds` вертикали
|
123
|
+
|
124
|
+
|
125
|
+
fix(sdds-serv-docs,sdd-dfa-docs): Fix introducing page (https://github.com/salute-developers/plasma/pull/1338)
|
126
|
+
|
127
|
+
### Fix useFocusTrap in Modal
|
128
|
+
|
129
|
+
- Теперь фокус при открытии `modal` работает после анимации
|
130
|
+
|
131
|
+
|
132
|
+
Fix useFocusTrap in Modal (https://github.com/salute-developers/plasma/pull/1345)
|
133
|
+
|
134
|
+
### Контейнер в NotificationProvider
|
135
|
+
|
136
|
+
Добавил `overflow: hidden` на контейнер используемого Popup
|
137
|
+
|
138
|
+
|
139
|
+
fix: fix Notification animation overflow (https://github.com/salute-developers/plasma/pull/1339)
|
140
|
+
|
141
|
+
---
|
142
|
+
|
143
|
+
#### 🚀 Enhancement
|
144
|
+
|
145
|
+
- Release by 07.08.2024 [#1348](https://github.com/salute-developers/plasma/pull/1348) ([@Yakutoc](https://github.com/Yakutoc) [@Salute-Eva](https://github.com/Salute-Eva) [@TitanKuzmich](https://github.com/TitanKuzmich) [@iljs](https://github.com/iljs) [@neretin-trike](https://github.com/neretin-trike) [@shuga2704](https://github.com/shuga2704) [@vadim-kudr](https://github.com/vadim-kudr) [@denivladislav](https://github.com/denivladislav))
|
146
|
+
- feat(sdds-cs/plasma-web): add view for accordion and edit configs sdds-cs ([@iljs](https://github.com/iljs))
|
147
|
+
- feat(plasma-new-hope): added renderTarget prop in Select [#1328](https://github.com/salute-developers/plasma/pull/1328) ([@shuga2704](https://github.com/shuga2704))
|
148
|
+
- feat(new-hope/sdds-cs): add to sdds-cs and edits [#1310](https://github.com/salute-developers/plasma/pull/1310) ([@iljs](https://github.com/iljs))
|
149
|
+
- feat(*): add to libs and final edits ([@iljs](https://github.com/iljs))
|
150
|
+
- feat(web/b2c): add breadcrumbs tests ([@iljs](https://github.com/iljs))
|
151
|
+
- feat(new-hope): add example to storybook with custom shorter ([@iljs](https://github.com/iljs))
|
152
|
+
- feat(new-hope): add component breadcrumbs in new-hope ([@iljs](https://github.com/iljs))
|
153
|
+
- feat(plasma-web/b2c,sdds-serv/dfa): add DatePicker deferred stories [#1332](https://github.com/salute-developers/plasma/pull/1332) ([@TitanKuzmich](https://github.com/TitanKuzmich))
|
154
|
+
- fix(plasma-b2c/web): add DatePicker snapshot failure treshhold [#1326](https://github.com/salute-developers/plasma/pull/1326) ([@TitanKuzmich](https://github.com/TitanKuzmich))
|
155
|
+
- feat(plasma-web/b2c): update DatePicker configs & stories ([@TitanKuzmich](https://github.com/TitanKuzmich))
|
156
|
+
|
157
|
+
#### 🐛 Bug Fix
|
158
|
+
|
159
|
+
- Update package-lock.json files ([@Salute-Eva](https://github.com/Salute-Eva))
|
160
|
+
- Update versions ([@Salute-Eva](https://github.com/Salute-Eva))
|
161
|
+
- fix(plasma-*, sdds-*): stretch turned into conditional control ([@denivladislav](https://github.com/denivladislav))
|
162
|
+
- docs(plasma-*, sdds-*): api reports regenerated ([@denivladislav](https://github.com/denivladislav))
|
163
|
+
- fix(plasma-{b2c, web}, sdds-*): storybooks and tests updated ([@denivladislav](https://github.com/denivladislav))
|
164
|
+
- fix(plasma-*, sdds-*): configs fixed ([@denivladislav](https://github.com/denivladislav))
|
165
|
+
- fix(core): edit focus trap and add animation example to modal [#1345](https://github.com/salute-developers/plasma/pull/1345) ([@iljs](https://github.com/iljs))
|
166
|
+
- chore: Update package-lock.json files \[skip ci\] ([@Salute-Eva](https://github.com/Salute-Eva))
|
167
|
+
|
168
|
+
#### Authors: 8
|
169
|
+
|
170
|
+
- [@iljs](https://github.com/iljs)
|
171
|
+
- [@Salute-Eva](https://github.com/Salute-Eva)
|
172
|
+
- Alexander Lobyntsev ([@Yakutoc](https://github.com/Yakutoc))
|
173
|
+
- Dima Shugaev ([@shuga2704](https://github.com/shuga2704))
|
174
|
+
- Krivonos Aleksandr ([@TitanKuzmich](https://github.com/TitanKuzmich))
|
175
|
+
- neretinaa ([@neretin-trike](https://github.com/neretin-trike))
|
176
|
+
- Vadim ([@vadim-kudr](https://github.com/vadim-kudr))
|
177
|
+
- Vladislav Denisov ([@denivladislav](https://github.com/denivladislav))
|
178
|
+
|
179
|
+
---
|
180
|
+
|
1
181
|
# v1.357.0 (Thu Jul 25 2024)
|
2
182
|
|
3
183
|
### Release Notes
|
package/api/plasma-web.api.md
CHANGED
@@ -2250,16 +2250,17 @@ export { TabItemRefs }
|
|
2250
2250
|
|
2251
2251
|
// @public
|
2252
2252
|
export const Tabs: ForwardRefExoticComponent<AsProps_2<any> & HTMLAttributes<HTMLDivElement> & {
|
2253
|
+
clip?: "scroll" | "showAll" | undefined;
|
2253
2254
|
disabled?: boolean | undefined;
|
2254
2255
|
stretch?: boolean | undefined;
|
2255
2256
|
pilled?: boolean | undefined;
|
2256
2257
|
size?: string | undefined;
|
2257
2258
|
view?: string | undefined;
|
2259
|
+
index?: number | undefined;
|
2258
2260
|
outsideScroll?: boolean | {
|
2259
2261
|
left?: string | undefined;
|
2260
2262
|
right?: string | undefined;
|
2261
2263
|
} | undefined;
|
2262
|
-
index?: number | undefined;
|
2263
2264
|
} & RefAttributes<HTMLDivElement>>;
|
2264
2265
|
|
2265
2266
|
export { TabsContext }
|
@@ -14,16 +14,16 @@ var config = exports.config = {
|
|
14
14
|
},
|
15
15
|
variations: {
|
16
16
|
view: {
|
17
|
-
clear: /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-colors-secondary);\n ", ": transparent;\n ", ": var(--
|
18
|
-
secondary: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-colors-primary);\n ", ": transparent;\n ", ": var(--
|
19
|
-
divider: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-colors-secondary);\n ", ": transparent;\n ", ": var(--
|
20
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-colors-primary);\n ", ": transparent;\n ", ": var(--
|
17
|
+
clear: /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-colors-secondary);\n ", ": transparent;\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-active);\n ", ": transparent;\n ", ": var(--plasma-colors-primary);\n ", ": transparent;\n ", ": var(--plasma-colors-primary);\n ", ": transparent;\n ", ": background-color 0.3s ease-in-out;\n\n ", ": 0;\n ", ": 0;\n\n ", ": var(--plasma-colors-button-focused);\n\n ", ": 0rem;\n ", ": var(--plasma-colors-primary);\n ", ": var(--plasma-colors-primary);\n\n ", ": var(--plasma-colors-tertiary);\n ", ": var(--plasma-colors-secondary);\n ", ": var(--plasma-colors-secondary);\n ", ": var(--plasma-colors-secondary);\n "])), _styledComponents.tabsTokens.itemColor, _styledComponents.tabsTokens.itemBackgroundColor, _styledComponents.tabsTokens.itemColorHover, _styledComponents.tabsTokens.itemColorActive, _styledComponents.tabsTokens.itemBackgroundColorHover, _styledComponents.tabsTokens.itemSelectedColor, _styledComponents.tabsTokens.itemSelectedBackgroundColor, _styledComponents.tabsTokens.itemSelectedColorHover, _styledComponents.tabsTokens.itemSelectedBackgroundColorHover, _styledComponents.tabsTokens.itemBackgroundTransition, _styledComponents.tabsTokens.itemPaddingClear, _styledComponents.tabsTokens.itemContentPaddingClear, _styledComponents.tabsTokens.outlineFocusColor, _styledComponents.tabsTokens.itemSelectedDividerHeight, _styledComponents.tabsTokens.itemSelectedDividerColor, _styledComponents.tabsTokens.itemSelectedDividerColorHover, _styledComponents.tabsTokens.additionalContentColor, _styledComponents.tabsTokens.additionalContentHoverColor, _styledComponents.tabsTokens.additionalContentSelectedColor, _styledComponents.tabsTokens.additionalContentSelectedHoverColor),
|
18
|
+
secondary: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-colors-primary);\n ", ": transparent;\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-active);\n ", ": transparent;\n ", ": var(--plasma-colors-primary);\n ", ": var(--plasma-colors-surface-card);\n ", ": var(--plasma-colors-primary);\n ", ": var(--plasma-colors-surface-card);\n ", ": background-color 0.3s ease-in-out;\n\n ", ": 0.125rem;\n\n ", ": var(--plasma-colors-button-focused);\n\n ", ": 0rem;\n ", ": var(--plasma-colors-primary);\n ", ": var(--plasma-colors-primary);\n ", ": var(--plasma-colors-primary);\n\n ", ": var(--plasma-colors-secondary);\n ", ": var(--plasma-colors-secondary);\n ", ": var(--plasma-colors-secondary);\n ", ": var(--plasma-colors-secondary);\n "])), _styledComponents.tabsTokens.itemColor, _styledComponents.tabsTokens.itemBackgroundColor, _styledComponents.tabsTokens.itemColorHover, _styledComponents.tabsTokens.itemColorActive, _styledComponents.tabsTokens.itemBackgroundColorHover, _styledComponents.tabsTokens.itemSelectedColor, _styledComponents.tabsTokens.itemSelectedBackgroundColor, _styledComponents.tabsTokens.itemSelectedColorHover, _styledComponents.tabsTokens.itemSelectedBackgroundColorHover, _styledComponents.tabsTokens.itemBackgroundTransition, _styledComponents.tabsTokens.itemMarginLeftFilled, _styledComponents.tabsTokens.outlineFocusColor, _styledComponents.tabsTokens.itemSelectedDividerHeight, _styledComponents.tabsTokens.itemSelectedDividerColor, _styledComponents.tabsTokens.itemSelectedDividerColorHover, _styledComponents.tabsTokens.itemSelectedDividerColorHover, _styledComponents.tabsTokens.additionalContentColor, _styledComponents.tabsTokens.additionalContentHoverColor, _styledComponents.tabsTokens.additionalContentSelectedColor, _styledComponents.tabsTokens.additionalContentSelectedHoverColor),
|
19
|
+
divider: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-colors-secondary);\n ", ": transparent;\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-active);\n ", ": transparent;\n ", ": var(--plasma-colors-primary);\n ", ": transparent;\n ", ": var(--plasma-colors-primary);\n ", ": transparent;\n ", ": background-color 0.3s ease-in-out;\n\n ", ": 0;\n ", ": 0;\n\n ", ": var(--plasma-colors-button-focused);\n\n ", ": 0.125rem;\n ", ": var(--plasma-colors-primary);\n ", ": var(--plasma-colors-primary);\n ", ": var(--plasma-colors-primary);\n\n ", ": var(--plasma-colors-tertiary);\n ", ": var(--plasma-colors-secondary);\n ", ": var(--plasma-colors-secondary);\n ", ": var(--plasma-colors-secondary);\n "])), _styledComponents.tabsTokens.itemColor, _styledComponents.tabsTokens.itemBackgroundColor, _styledComponents.tabsTokens.itemColorHover, _styledComponents.tabsTokens.itemColorActive, _styledComponents.tabsTokens.itemBackgroundColorHover, _styledComponents.tabsTokens.itemSelectedColor, _styledComponents.tabsTokens.itemSelectedBackgroundColor, _styledComponents.tabsTokens.itemSelectedColorHover, _styledComponents.tabsTokens.itemSelectedBackgroundColorHover, _styledComponents.tabsTokens.itemBackgroundTransition, _styledComponents.tabsTokens.itemPaddingClear, _styledComponents.tabsTokens.itemContentPaddingClear, _styledComponents.tabsTokens.outlineFocusColor, _styledComponents.tabsTokens.itemSelectedDividerHeight, _styledComponents.tabsTokens.itemSelectedDividerColor, _styledComponents.tabsTokens.itemSelectedDividerColorHover, _styledComponents.tabsTokens.itemSelectedDividerColorHover, _styledComponents.tabsTokens.additionalContentColor, _styledComponents.tabsTokens.additionalContentHoverColor, _styledComponents.tabsTokens.additionalContentSelectedColor, _styledComponents.tabsTokens.additionalContentSelectedHoverColor),
|
20
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-colors-primary);\n ", ": transparent;\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary-active);\n ", ": transparent;\n ", ": var(--plasma-colors-inverse);\n ", ": var(--surface-solid-default);\n ", ": var(--plasma-colors-inverse);\n ", ": var(--surface-solid-default);\n ", ": background-color 0.3s ease-in-out;\n\n ", ": 0.125rem;\n\n ", ": var(--plasma-colors-button-focused);\n\n ", ": 0rem;\n ", ": var(--plasma-colors-primary);\n ", ": var(--plasma-colors-primary);\n ", ": var(--plasma-colors-primary);\n\n ", ": var(--plasma-colors-secondary);\n ", ": var(--plasma-colors-secondary);\n ", ": var(--plasma-colors-white-secondary);\n ", ": var(--plasma-colors-white-secondary);\n "])), _styledComponents.tabsTokens.itemColor, _styledComponents.tabsTokens.itemBackgroundColor, _styledComponents.tabsTokens.itemColorHover, _styledComponents.tabsTokens.itemColorActive, _styledComponents.tabsTokens.itemBackgroundColorHover, _styledComponents.tabsTokens.itemSelectedColor, _styledComponents.tabsTokens.itemSelectedBackgroundColor, _styledComponents.tabsTokens.itemSelectedColorHover, _styledComponents.tabsTokens.itemSelectedBackgroundColorHover, _styledComponents.tabsTokens.itemBackgroundTransition, _styledComponents.tabsTokens.itemMarginLeftFilled, _styledComponents.tabsTokens.outlineFocusColor, _styledComponents.tabsTokens.itemSelectedDividerHeight, _styledComponents.tabsTokens.itemSelectedDividerColor, _styledComponents.tabsTokens.itemSelectedDividerColorHover, _styledComponents.tabsTokens.itemSelectedDividerColorHover, _styledComponents.tabsTokens.additionalContentColor, _styledComponents.tabsTokens.additionalContentHoverColor, _styledComponents.tabsTokens.additionalContentSelectedColor, _styledComponents.tabsTokens.additionalContentSelectedHoverColor)
|
21
21
|
},
|
22
22
|
size: {
|
23
|
-
xs: /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.375rem;\n ", ": auto;\n ", ":
|
24
|
-
s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": auto;\n ", ":
|
25
|
-
m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.625rem;\n ", ": auto;\n ", ":
|
26
|
-
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.75rem;\n ", ": auto;\n ", ":
|
23
|
+
xs: /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.375rem;\n ", ": auto;\n ", ": 2rem;\n ", ": 0 0.5rem;\n ", ": 0 0.375rem;\n ", ": 1.75rem;\n ", ": 0.25rem;\n ", ": 0.125rem;\n\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n "])), _styledComponents.tabsTokens.itemBorderRadius, _styledComponents.tabsTokens.itemWidth, _styledComponents.tabsTokens.itemHeight, _styledComponents.tabsTokens.itemPadding, _styledComponents.tabsTokens.itemPaddingPilled, _styledComponents.tabsTokens.itemMarginLeft, _styledComponents.tabsTokens.itemContentGap, _styledComponents.tabsTokens.itemContentPadding, _styledComponents.tabsTokens.fontFamily, _styledComponents.tabsTokens.fontSize, _styledComponents.tabsTokens.fontStyle, _styledComponents.tabsTokens.fontWeight, _styledComponents.tabsTokens.letterSpacing, _styledComponents.tabsTokens.lineHeight),
|
24
|
+
s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": auto;\n ", ": 2.5rem;\n ", ": 0 0.625rem;\n ", ": 0 0.5rem;\n ", ": 1.75rem;\n ", ": 0.25rem;\n ", ": 0.125rem;\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n "])), _styledComponents.tabsTokens.itemBorderRadius, _styledComponents.tabsTokens.itemWidth, _styledComponents.tabsTokens.itemHeight, _styledComponents.tabsTokens.itemPadding, _styledComponents.tabsTokens.itemPaddingPilled, _styledComponents.tabsTokens.itemMarginLeft, _styledComponents.tabsTokens.itemContentGap, _styledComponents.tabsTokens.itemContentPadding, _styledComponents.tabsTokens.fontFamily, _styledComponents.tabsTokens.fontSize, _styledComponents.tabsTokens.fontStyle, _styledComponents.tabsTokens.fontWeight, _styledComponents.tabsTokens.letterSpacing, _styledComponents.tabsTokens.lineHeight),
|
25
|
+
m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.625rem;\n ", ": auto;\n ", ": 3rem;\n ", ": 0 0.625rem;\n ", ": 0 0.5rem;\n ", ": 1.75rem;\n ", ": 0.375rem;\n ", ": 0.125rem;\n\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n "])), _styledComponents.tabsTokens.itemBorderRadius, _styledComponents.tabsTokens.itemWidth, _styledComponents.tabsTokens.itemHeight, _styledComponents.tabsTokens.itemPadding, _styledComponents.tabsTokens.itemPaddingPilled, _styledComponents.tabsTokens.itemMarginLeft, _styledComponents.tabsTokens.itemContentGap, _styledComponents.tabsTokens.itemContentPadding, _styledComponents.tabsTokens.fontFamily, _styledComponents.tabsTokens.fontSize, _styledComponents.tabsTokens.fontStyle, _styledComponents.tabsTokens.fontWeight, _styledComponents.tabsTokens.letterSpacing, _styledComponents.tabsTokens.lineHeight),
|
26
|
+
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.75rem;\n ", ": auto;\n ", ": 3.5rem;\n ", ": 0 0.875rem;\n ", ": 0 0.75rem;\n ", ": 1.75rem;\n ", ": 0.5rem;\n ", ": 0.125rem;\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n "])), _styledComponents.tabsTokens.itemBorderRadius, _styledComponents.tabsTokens.itemWidth, _styledComponents.tabsTokens.itemHeight, _styledComponents.tabsTokens.itemPadding, _styledComponents.tabsTokens.itemPaddingPilled, _styledComponents.tabsTokens.itemMarginLeft, _styledComponents.tabsTokens.itemContentGap, _styledComponents.tabsTokens.itemContentPadding, _styledComponents.tabsTokens.fontFamily, _styledComponents.tabsTokens.fontSize, _styledComponents.tabsTokens.fontStyle, _styledComponents.tabsTokens.fontWeight, _styledComponents.tabsTokens.letterSpacing, _styledComponents.tabsTokens.lineHeight),
|
27
27
|
h5: /*#__PURE__*/(0, _styledComponents.css)(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.375rem;\n ", ": auto;\n ", ": 3rem;\n ", ": 0rem;\n ", ": 1.75rem;\n ", ": 0.625rem;\n\n ", ": var(--plasma-typo-h5-font-family);\n ", ": var(--plasma-typo-h5-font-size);\n ", ": var(--plasma-typo-h5-font-style);\n ", ": var(--plasma-typo-h5-font-weight);\n ", ": var(--plasma-typo-h5-letter-spacing);\n ", ": var(--plasma-typo-h5-line-height);\n "])), _styledComponents.tabsTokens.itemBorderRadius, _styledComponents.tabsTokens.itemWidth, _styledComponents.tabsTokens.itemHeight, _styledComponents.tabsTokens.itemPadding, _styledComponents.tabsTokens.itemMarginLeft, _styledComponents.tabsTokens.itemContentGap, _styledComponents.tabsTokens.fontFamily, _styledComponents.tabsTokens.fontSize, _styledComponents.tabsTokens.fontStyle, _styledComponents.tabsTokens.fontWeight, _styledComponents.tabsTokens.letterSpacing, _styledComponents.tabsTokens.lineHeight),
|
28
28
|
h4: /*#__PURE__*/(0, _styledComponents.css)(_templateObject10 || (_templateObject10 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.375rem;\n ", ": auto;\n ", ": 3.25rem;\n ", ": 0rem;\n ", ": 2rem;\n ", ": 0.625rem;\n\n ", ": var(--plasma-typo-h4-font-family);\n ", ": var(--plasma-typo-h4-font-size);\n ", ": var(--plasma-typo-h4-font-style);\n ", ": var(--plasma-typo-h4-font-weight);\n ", ": var(--plasma-typo-h4-letter-spacing);\n ", ": var(--plasma-typo-h4-line-height);\n "])), _styledComponents.tabsTokens.itemBorderRadius, _styledComponents.tabsTokens.itemWidth, _styledComponents.tabsTokens.itemHeight, _styledComponents.tabsTokens.itemPadding, _styledComponents.tabsTokens.itemMarginLeft, _styledComponents.tabsTokens.itemContentGap, _styledComponents.tabsTokens.fontFamily, _styledComponents.tabsTokens.fontSize, _styledComponents.tabsTokens.fontStyle, _styledComponents.tabsTokens.fontWeight, _styledComponents.tabsTokens.letterSpacing, _styledComponents.tabsTokens.lineHeight),
|
29
29
|
h3: /*#__PURE__*/(0, _styledComponents.css)(_templateObject11 || (_templateObject11 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": auto;\n ", ": 3.875rem;\n ", ": 0rem;\n ", ": 2.25rem;\n ", ": 0.75rem;\n\n ", ": var(--plasma-typo-h3-font-family);\n ", ": var(--plasma-typo-h3-font-size);\n ", ": var(--plasma-typo-h3-font-style);\n ", ": var(--plasma-typo-h3-font-weight);\n ", ": var(--plasma-typo-h3-letter-spacing);\n ", ": var(--plasma-typo-h3-line-height);\n "])), _styledComponents.tabsTokens.itemBorderRadius, _styledComponents.tabsTokens.itemWidth, _styledComponents.tabsTokens.itemHeight, _styledComponents.tabsTokens.itemPadding, _styledComponents.tabsTokens.itemMarginLeft, _styledComponents.tabsTokens.itemContentGap, _styledComponents.tabsTokens.fontFamily, _styledComponents.tabsTokens.fontSize, _styledComponents.tabsTokens.fontStyle, _styledComponents.tabsTokens.fontWeight, _styledComponents.tabsTokens.letterSpacing, _styledComponents.tabsTokens.lineHeight),
|
@@ -10,14 +10,13 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
|
|
10
10
|
var config = exports.config = {
|
11
11
|
defaults: {
|
12
12
|
view: 'divider',
|
13
|
-
size: 'l'
|
14
|
-
disabled: 'false'
|
13
|
+
size: 'l'
|
15
14
|
},
|
16
15
|
variations: {
|
17
16
|
view: {
|
18
|
-
clear: /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-colors-secondary);\n ", ":
|
19
|
-
filled: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-colors-secondary);\n ", ": var(--surface-transparent-primary);\n ", ": var(--plasma-colors-button-focused);\n\n ", ": 0rem;\n ", ":
|
20
|
-
divider: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-colors-secondary);\n ", ":
|
17
|
+
clear: /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-colors-secondary);\n ", ": transparent;\n ", ": var(--plasma-colors-button-focused);\n\n ", ": 0rem;\n ", ": transparent;\n ", ": 0rem;\n "])), _styledComponents.tabsTokens.arrowColor, _styledComponents.tabsTokens.tabsBackgroundColor, _styledComponents.tabsTokens.outlineFocusColor, _styledComponents.tabsTokens.tabsDividerHeight, _styledComponents.tabsTokens.tabsDividerColor, _styledComponents.tabsTokens.tabsDividerBorderRadius),
|
18
|
+
filled: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-colors-secondary);\n ", ": var(--surface-transparent-primary);\n ", ": var(--plasma-colors-button-focused);\n\n ", ": 0rem;\n ", ": transparent;\n ", ": 0rem;\n "])), _styledComponents.tabsTokens.arrowColor, _styledComponents.tabsTokens.tabsBackgroundColor, _styledComponents.tabsTokens.outlineFocusColor, _styledComponents.tabsTokens.tabsDividerHeight, _styledComponents.tabsTokens.tabsDividerColor, _styledComponents.tabsTokens.tabsDividerBorderRadius),
|
19
|
+
divider: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-colors-secondary);\n ", ": transparent;\n ", ": var(--plasma-colors-button-focused);\n\n ", ": 0.0625rem;\n ", ": var(--surface-transparent-tertiary);\n ", ": 0.0625rem;\n "])), _styledComponents.tabsTokens.arrowColor, _styledComponents.tabsTokens.tabsBackgroundColor, _styledComponents.tabsTokens.outlineFocusColor, _styledComponents.tabsTokens.tabsDividerHeight, _styledComponents.tabsTokens.tabsDividerColor, _styledComponents.tabsTokens.tabsDividerBorderRadius)
|
21
20
|
},
|
22
21
|
size: {
|
23
22
|
xs: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": fit-content;\n ", ": auto;\n ", ": 0rem;\n ", ": 0.125rem;\n "])), _styledComponents.tabsTokens.tabsBorderRadius, _styledComponents.tabsTokens.tabsWidth, _styledComponents.tabsTokens.tabsHeight, _styledComponents.tabsTokens.arrowInnerPadding, _styledComponents.tabsTokens.arrowOuterPadding),
|
@@ -3,14 +3,15 @@ import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
|
3
3
|
* Контейнер вкладок, основной компонент для пользовательской сборки вкладок.
|
4
4
|
*/
|
5
5
|
export declare const Tabs: ForwardRefExoticComponent<import("@salutejs/plasma-new-hope/types/types").AsProps<any> & import("react").HTMLAttributes<HTMLDivElement> & {
|
6
|
+
clip?: "scroll" | "showAll" | undefined;
|
6
7
|
disabled?: boolean | undefined;
|
7
8
|
stretch?: boolean | undefined;
|
8
9
|
pilled?: boolean | undefined;
|
9
10
|
size?: string | undefined;
|
10
11
|
view?: string | undefined;
|
12
|
+
index?: number | undefined;
|
11
13
|
outsideScroll?: boolean | {
|
12
14
|
left?: string | undefined;
|
13
15
|
right?: string | undefined;
|
14
16
|
} | undefined;
|
15
|
-
index?: number | undefined;
|
16
17
|
} & RefAttributes<HTMLDivElement>>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabItem.config.js","sources":["../../../../src-css/components/Tabs/TabItem.config.ts"],"sourcesContent":["import { css, tabsTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'divider',\n size: 'l',\n },\n variations: {\n view: {\n clear: css`\n ${tabsTokens.itemColor}: var(--plasma-colors-secondary);\n ${tabsTokens.itemBackgroundColor}: transparent;\n ${tabsTokens.itemColorHover}: var(--plasma-colors-primary);\n ${tabsTokens.itemBackgroundColorHover}: transparent;\n ${tabsTokens.itemSelectedColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedBackgroundColor}: transparent;\n ${tabsTokens.itemSelectedColorHover}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedBackgroundColorHover}: transparent;\n ${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;\n\n ${tabsTokens.itemPaddingClear}: 0;\n ${tabsTokens.itemContentPaddingClear}: 0;\n\n ${tabsTokens.outlineFocusColor}: var(--plasma-colors-button-focused);\n\n ${tabsTokens.itemSelectedDividerHeight}: 0rem;\n ${tabsTokens.itemSelectedDividerColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--plasma-colors-primary);\n\n ${tabsTokens.additionalContentColor}: var(--plasma-colors-tertiary);\n ${tabsTokens.additionalContentHoverColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentSelectedColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentSelectedHoverColor}: var(--plasma-colors-secondary);\n `,\n secondary: css`\n ${tabsTokens.itemColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemBackgroundColor}: transparent;\n ${tabsTokens.itemColorHover}: var(--plasma-colors-primary);\n ${tabsTokens.itemBackgroundColorHover}: transparent;\n ${tabsTokens.itemSelectedColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedBackgroundColor}: var(--plasma-colors-surface-card);\n ${tabsTokens.itemSelectedColorHover}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedBackgroundColorHover}: var(--plasma-colors-surface-card);\n ${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;\n\n ${tabsTokens.itemMarginLeftFilled}: 0.125rem;\n\n ${tabsTokens.outlineFocusColor}: var(--plasma-colors-button-focused);\n\n ${tabsTokens.itemSelectedDividerHeight}: 0rem;\n ${tabsTokens.itemSelectedDividerColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--plasma-colors-primary);\n\n ${tabsTokens.additionalContentColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentHoverColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentSelectedColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentSelectedHoverColor}: var(--plasma-colors-secondary);\n `,\n divider: css`\n ${tabsTokens.itemColor}: var(--plasma-colors-secondary);\n ${tabsTokens.itemBackgroundColor}: transparent;\n ${tabsTokens.itemColorHover}: var(--plasma-colors-primary);\n ${tabsTokens.itemBackgroundColorHover}: transparent;\n ${tabsTokens.itemSelectedColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedBackgroundColor}: transparent;\n ${tabsTokens.itemSelectedColorHover}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedBackgroundColorHover}: transparent;\n ${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;\n\n ${tabsTokens.itemPaddingClear}: 0;\n ${tabsTokens.itemContentPaddingClear}: 0;\n\n ${tabsTokens.outlineFocusColor}: var(--plasma-colors-button-focused);\n\n ${tabsTokens.itemSelectedDividerHeight}: 0.125rem;\n ${tabsTokens.itemSelectedDividerColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--plasma-colors-primary);\n\n ${tabsTokens.additionalContentColor}: var(--plasma-colors-tertiary);\n ${tabsTokens.additionalContentHoverColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentSelectedColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentSelectedHoverColor}: var(--plasma-colors-secondary);\n `,\n default: css`\n ${tabsTokens.itemColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemBackgroundColor}: transparent;\n ${tabsTokens.itemColorHover}: var(--plasma-colors-primary);\n ${tabsTokens.itemBackgroundColorHover}: transparent;\n ${tabsTokens.itemSelectedColor}: var(--plasma-colors-inverse);\n ${tabsTokens.itemSelectedBackgroundColor}: var(--surface-solid-default);\n ${tabsTokens.itemSelectedColorHover}: var(--plasma-colors-inverse);\n ${tabsTokens.itemSelectedBackgroundColorHover}: var(--surface-solid-default);\n ${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;\n\n ${tabsTokens.itemMarginLeftFilled}: 0.125rem;\n\n ${tabsTokens.outlineFocusColor}: var(--plasma-colors-button-focused);\n\n ${tabsTokens.itemSelectedDividerHeight}: 0rem;\n ${tabsTokens.itemSelectedDividerColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--plasma-colors-primary);\n\n ${tabsTokens.additionalContentColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentHoverColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentSelectedColor}: var(--plasma-colors-white-secondary);\n ${tabsTokens.additionalContentSelectedHoverColor}: var(--plasma-colors-white-secondary);\n `,\n },\n size: {\n xs: css`\n ${tabsTokens.itemBorderRadius}: 0.375rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 1.5rem;\n ${tabsTokens.itemPadding}: 0 0.5rem;\n ${tabsTokens.itemPaddingPilled}: 0 0.375rem;\n ${tabsTokens.itemMarginLeft}: 1.75rem;\n ${tabsTokens.itemContentGap}: 0.25rem;\n ${tabsTokens.itemContentPadding}: 0.125rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-body-xs-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-body-xs-line-height);\n `,\n s: css`\n ${tabsTokens.itemBorderRadius}: 0.5rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 2rem;\n ${tabsTokens.itemPadding}: 0 0.625rem;\n ${tabsTokens.itemPaddingPilled}: 0 0.5rem;\n ${tabsTokens.itemMarginLeft}: 1.75rem;\n ${tabsTokens.itemContentGap}: 0.25rem;\n ${tabsTokens.itemContentPadding}: 0.125rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-body-s-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-body-s-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-body-s-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-body-s-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-body-s-line-height);\n `,\n m: css`\n ${tabsTokens.itemBorderRadius}: 0.625rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 2.5rem;\n ${tabsTokens.itemPadding}: 0 0.625rem;\n ${tabsTokens.itemPaddingPilled}: 0 0.5rem;\n ${tabsTokens.itemMarginLeft}: 1.75rem;\n ${tabsTokens.itemContentGap}: 0.5rem;\n ${tabsTokens.itemContentPadding}: 0.125rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-body-m-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-body-m-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-body-m-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-body-m-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-body-m-line-height);\n `,\n l: css`\n ${tabsTokens.itemBorderRadius}: 0.75rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 3rem;\n ${tabsTokens.itemPadding}: 0 0.875rem;\n ${tabsTokens.itemPaddingPilled}: 0 0.75rem;\n ${tabsTokens.itemMarginLeft}: 1.75rem;\n ${tabsTokens.itemContentGap}: 0.5rem;\n ${tabsTokens.itemContentPadding}: 0.125rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-body-l-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-body-l-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-body-l-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-body-l-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-body-l-line-height);\n `,\n h5: css`\n ${tabsTokens.itemBorderRadius}: 0.375rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 3rem;\n ${tabsTokens.itemPadding}: 0rem;\n ${tabsTokens.itemMarginLeft}: 1.75rem;\n ${tabsTokens.itemContentGap}: 0.625rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-h5-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-h5-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-h5-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-h5-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-h5-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-h5-line-height);\n `,\n h4: css`\n ${tabsTokens.itemBorderRadius}: 0.375rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 3.25rem;\n ${tabsTokens.itemPadding}: 0rem;\n ${tabsTokens.itemMarginLeft}: 2rem;\n ${tabsTokens.itemContentGap}: 0.625rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-h4-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-h4-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-h4-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-h4-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-h4-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-h4-line-height);\n `,\n h3: css`\n ${tabsTokens.itemBorderRadius}: 0.5rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 3.875rem;\n ${tabsTokens.itemPadding}: 0rem;\n ${tabsTokens.itemMarginLeft}: 2.25rem;\n ${tabsTokens.itemContentGap}: 0.75rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-h3-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-h3-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-h3-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-h3-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-h3-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-h3-line-height);\n `,\n h2: css`\n ${tabsTokens.itemBorderRadius}: 0.625rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 4.5rem;\n ${tabsTokens.itemPadding}: 0rem;\n ${tabsTokens.itemMarginLeft}: 2.5rem;\n ${tabsTokens.itemContentGap}: 1rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-h2-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-h2-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-h2-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-h2-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-h2-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-h2-line-height);\n `,\n h1: css`\n ${tabsTokens.itemBorderRadius}: 0.75rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 5.75rem;\n ${tabsTokens.itemPadding}: 0rem;\n ${tabsTokens.itemMarginLeft}: 3.5rem;\n ${tabsTokens.itemContentGap}: 0.5rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-h1-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-h1-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-h1-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-h1-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-h1-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-h1-line-height);\n `,\n },\n disabled: {\n true: css`\n ${tabsTokens.disabledOpacity}: 0.4;\n `,\n },\n pilled: {\n true: css`\n ${tabsTokens.itemPilledBorderRadius}: 1.5rem;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","clear","secondary","divider","default","xs","s","m","l","h5","h4","h3","h2","h1","disabled","true","pilled"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;AACFG,MAAAA,KAAK,EAwBJ,UAAA;AACDC,MAAAA,SAAS,EAwBR,SAAA;AACDC,MAAAA,OAAO,EAyBN,UAAA;MACDC,SAAO,EAAA,SAAA;KAyBV;AACDL,IAAAA,IAAI,EAAE;AACFM,MAAAA,EAAE,EAgBD,SAAA;AACDC,MAAAA,CAAC,EAgBA,SAAA;AACDC,MAAAA,CAAC,EAgBA,SAAA;AACDC,MAAAA,CAAC,EAgBA,UAAA;AACDC,MAAAA,EAAE,EAcD,SAAA;AACDC,MAAAA,EAAE,EAcD,SAAA;AACDC,MAAAA,EAAE,EAcD,UAAA;AACDC,MAAAA,EAAE,EAcD,UAAA;AACDC,MAAAA,EAAE,EAAA,SAAA;KAeL;AACDC,IAAAA,QAAQ,EAAE;MACNC,MAAI,EAAA,UAAA;KAGP;AACDC,IAAAA,MAAM,EAAE;MACJD,MAAI,EAAA,UAAA;AAGR,KAAA;AACJ,GAAA;AACJ;;;;"}
|
1
|
+
{"version":3,"file":"TabItem.config.js","sources":["../../../../src-css/components/Tabs/TabItem.config.ts"],"sourcesContent":["import { css, tabsTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'divider',\n size: 'l',\n },\n variations: {\n view: {\n clear: css`\n ${tabsTokens.itemColor}: var(--plasma-colors-secondary);\n ${tabsTokens.itemBackgroundColor}: transparent;\n ${tabsTokens.itemColorHover}: var(--text-secondary-hover);\n ${tabsTokens.itemColorActive}: var(--text-secondary-active);\n ${tabsTokens.itemBackgroundColorHover}: transparent;\n ${tabsTokens.itemSelectedColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedBackgroundColor}: transparent;\n ${tabsTokens.itemSelectedColorHover}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedBackgroundColorHover}: transparent;\n ${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;\n\n ${tabsTokens.itemPaddingClear}: 0;\n ${tabsTokens.itemContentPaddingClear}: 0;\n\n ${tabsTokens.outlineFocusColor}: var(--plasma-colors-button-focused);\n\n ${tabsTokens.itemSelectedDividerHeight}: 0rem;\n ${tabsTokens.itemSelectedDividerColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--plasma-colors-primary);\n\n ${tabsTokens.additionalContentColor}: var(--plasma-colors-tertiary);\n ${tabsTokens.additionalContentHoverColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentSelectedColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentSelectedHoverColor}: var(--plasma-colors-secondary);\n `,\n secondary: css`\n ${tabsTokens.itemColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemBackgroundColor}: transparent;\n ${tabsTokens.itemColorHover}: var(--text-secondary-hover);\n ${tabsTokens.itemColorActive}: var(--text-secondary-active);\n ${tabsTokens.itemBackgroundColorHover}: transparent;\n ${tabsTokens.itemSelectedColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedBackgroundColor}: var(--plasma-colors-surface-card);\n ${tabsTokens.itemSelectedColorHover}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedBackgroundColorHover}: var(--plasma-colors-surface-card);\n ${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;\n\n ${tabsTokens.itemMarginLeftFilled}: 0.125rem;\n\n ${tabsTokens.outlineFocusColor}: var(--plasma-colors-button-focused);\n\n ${tabsTokens.itemSelectedDividerHeight}: 0rem;\n ${tabsTokens.itemSelectedDividerColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--plasma-colors-primary);\n\n ${tabsTokens.additionalContentColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentHoverColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentSelectedColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentSelectedHoverColor}: var(--plasma-colors-secondary);\n `,\n divider: css`\n ${tabsTokens.itemColor}: var(--plasma-colors-secondary);\n ${tabsTokens.itemBackgroundColor}: transparent;\n ${tabsTokens.itemColorHover}: var(--text-secondary-hover);\n ${tabsTokens.itemColorActive}: var(--text-secondary-active);\n ${tabsTokens.itemBackgroundColorHover}: transparent;\n ${tabsTokens.itemSelectedColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedBackgroundColor}: transparent;\n ${tabsTokens.itemSelectedColorHover}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedBackgroundColorHover}: transparent;\n ${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;\n\n ${tabsTokens.itemPaddingClear}: 0;\n ${tabsTokens.itemContentPaddingClear}: 0;\n\n ${tabsTokens.outlineFocusColor}: var(--plasma-colors-button-focused);\n\n ${tabsTokens.itemSelectedDividerHeight}: 0.125rem;\n ${tabsTokens.itemSelectedDividerColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--plasma-colors-primary);\n\n ${tabsTokens.additionalContentColor}: var(--plasma-colors-tertiary);\n ${tabsTokens.additionalContentHoverColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentSelectedColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentSelectedHoverColor}: var(--plasma-colors-secondary);\n `,\n default: css`\n ${tabsTokens.itemColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemBackgroundColor}: transparent;\n ${tabsTokens.itemColorHover}: var(--text-secondary-hover);\n ${tabsTokens.itemColorActive}: var(--text-secondary-active);\n ${tabsTokens.itemBackgroundColorHover}: transparent;\n ${tabsTokens.itemSelectedColor}: var(--plasma-colors-inverse);\n ${tabsTokens.itemSelectedBackgroundColor}: var(--surface-solid-default);\n ${tabsTokens.itemSelectedColorHover}: var(--plasma-colors-inverse);\n ${tabsTokens.itemSelectedBackgroundColorHover}: var(--surface-solid-default);\n ${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;\n\n ${tabsTokens.itemMarginLeftFilled}: 0.125rem;\n\n ${tabsTokens.outlineFocusColor}: var(--plasma-colors-button-focused);\n\n ${tabsTokens.itemSelectedDividerHeight}: 0rem;\n ${tabsTokens.itemSelectedDividerColor}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--plasma-colors-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--plasma-colors-primary);\n\n ${tabsTokens.additionalContentColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentHoverColor}: var(--plasma-colors-secondary);\n ${tabsTokens.additionalContentSelectedColor}: var(--plasma-colors-white-secondary);\n ${tabsTokens.additionalContentSelectedHoverColor}: var(--plasma-colors-white-secondary);\n `,\n },\n size: {\n xs: css`\n ${tabsTokens.itemBorderRadius}: 0.375rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 2rem;\n ${tabsTokens.itemPadding}: 0 0.5rem;\n ${tabsTokens.itemPaddingPilled}: 0 0.375rem;\n ${tabsTokens.itemMarginLeft}: 1.75rem;\n ${tabsTokens.itemContentGap}: 0.25rem;\n ${tabsTokens.itemContentPadding}: 0.125rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-body-xs-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-body-xs-line-height);\n `,\n s: css`\n ${tabsTokens.itemBorderRadius}: 0.5rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 2.5rem;\n ${tabsTokens.itemPadding}: 0 0.625rem;\n ${tabsTokens.itemPaddingPilled}: 0 0.5rem;\n ${tabsTokens.itemMarginLeft}: 1.75rem;\n ${tabsTokens.itemContentGap}: 0.25rem;\n ${tabsTokens.itemContentPadding}: 0.125rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-body-s-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-body-s-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-body-s-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-body-s-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-body-s-line-height);\n `,\n m: css`\n ${tabsTokens.itemBorderRadius}: 0.625rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 3rem;\n ${tabsTokens.itemPadding}: 0 0.625rem;\n ${tabsTokens.itemPaddingPilled}: 0 0.5rem;\n ${tabsTokens.itemMarginLeft}: 1.75rem;\n ${tabsTokens.itemContentGap}: 0.375rem;\n ${tabsTokens.itemContentPadding}: 0.125rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-body-m-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-body-m-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-body-m-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-body-m-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-body-m-line-height);\n `,\n l: css`\n ${tabsTokens.itemBorderRadius}: 0.75rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 3.5rem;\n ${tabsTokens.itemPadding}: 0 0.875rem;\n ${tabsTokens.itemPaddingPilled}: 0 0.75rem;\n ${tabsTokens.itemMarginLeft}: 1.75rem;\n ${tabsTokens.itemContentGap}: 0.5rem;\n ${tabsTokens.itemContentPadding}: 0.125rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-body-l-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-body-l-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-body-l-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-body-l-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-body-l-line-height);\n `,\n h5: css`\n ${tabsTokens.itemBorderRadius}: 0.375rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 3rem;\n ${tabsTokens.itemPadding}: 0rem;\n ${tabsTokens.itemMarginLeft}: 1.75rem;\n ${tabsTokens.itemContentGap}: 0.625rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-h5-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-h5-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-h5-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-h5-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-h5-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-h5-line-height);\n `,\n h4: css`\n ${tabsTokens.itemBorderRadius}: 0.375rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 3.25rem;\n ${tabsTokens.itemPadding}: 0rem;\n ${tabsTokens.itemMarginLeft}: 2rem;\n ${tabsTokens.itemContentGap}: 0.625rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-h4-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-h4-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-h4-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-h4-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-h4-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-h4-line-height);\n `,\n h3: css`\n ${tabsTokens.itemBorderRadius}: 0.5rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 3.875rem;\n ${tabsTokens.itemPadding}: 0rem;\n ${tabsTokens.itemMarginLeft}: 2.25rem;\n ${tabsTokens.itemContentGap}: 0.75rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-h3-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-h3-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-h3-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-h3-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-h3-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-h3-line-height);\n `,\n h2: css`\n ${tabsTokens.itemBorderRadius}: 0.625rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 4.5rem;\n ${tabsTokens.itemPadding}: 0rem;\n ${tabsTokens.itemMarginLeft}: 2.5rem;\n ${tabsTokens.itemContentGap}: 1rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-h2-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-h2-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-h2-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-h2-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-h2-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-h2-line-height);\n `,\n h1: css`\n ${tabsTokens.itemBorderRadius}: 0.75rem;\n ${tabsTokens.itemWidth}: auto;\n ${tabsTokens.itemHeight}: 5.75rem;\n ${tabsTokens.itemPadding}: 0rem;\n ${tabsTokens.itemMarginLeft}: 3.5rem;\n ${tabsTokens.itemContentGap}: 0.5rem;\n\n ${tabsTokens.fontFamily}: var(--plasma-typo-h1-font-family);\n ${tabsTokens.fontSize}: var(--plasma-typo-h1-font-size);\n ${tabsTokens.fontStyle}: var(--plasma-typo-h1-font-style);\n ${tabsTokens.fontWeight}: var(--plasma-typo-h1-font-weight);\n ${tabsTokens.letterSpacing}: var(--plasma-typo-h1-letter-spacing);\n ${tabsTokens.lineHeight}: var(--plasma-typo-h1-line-height);\n `,\n },\n disabled: {\n true: css`\n ${tabsTokens.disabledOpacity}: 0.4;\n `,\n },\n pilled: {\n true: css`\n ${tabsTokens.itemPilledBorderRadius}: 1.5rem;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","clear","secondary","divider","default","xs","s","m","l","h5","h4","h3","h2","h1","disabled","true","pilled"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;AACFG,MAAAA,KAAK,EAyBJ,UAAA;AACDC,MAAAA,SAAS,EAyBR,SAAA;AACDC,MAAAA,OAAO,EA0BN,UAAA;MACDC,SAAO,EAAA,SAAA;KA0BV;AACDL,IAAAA,IAAI,EAAE;AACFM,MAAAA,EAAE,EAgBD,SAAA;AACDC,MAAAA,CAAC,EAgBA,SAAA;AACDC,MAAAA,CAAC,EAgBA,SAAA;AACDC,MAAAA,CAAC,EAgBA,UAAA;AACDC,MAAAA,EAAE,EAcD,SAAA;AACDC,MAAAA,EAAE,EAcD,SAAA;AACDC,MAAAA,EAAE,EAcD,UAAA;AACDC,MAAAA,EAAE,EAcD,UAAA;AACDC,MAAAA,EAAE,EAAA,SAAA;KAeL;AACDC,IAAAA,QAAQ,EAAE;MACNC,MAAI,EAAA,UAAA;KAGP;AACDC,IAAAA,MAAM,EAAE;MACJD,MAAI,EAAA,UAAA;AAGR,KAAA;AACJ,GAAA;AACJ;;;;"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
.c12geyh4{--plasma-tab-item-color:var(--plasma-colors-secondary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--plasma-colors-primary);--plasma-tab-item-selected-background-color:transparent;--plasma-tab-item-selected-color-hover:var(--plasma-colors-primary);--plasma-tab-item-selected-background-color-hover:transparent;--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-padding-clear:0;--plasma-tab-item-content-padding-clear:0;--plasma-tabs-outline-focus-color:var(--plasma-colors-button-focused);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--plasma-colors-primary);--plasma-tab-item-selected-hover-divider-color:var(--plasma-colors-primary);--plasma-tab-item-additional-content-color:var(--plasma-colors-tertiary);--plasma-tab-item-hover-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-selected-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--plasma-colors-secondary);}
|
2
|
+
.skxrl3x{--plasma-tab-item-color:var(--plasma-colors-primary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--plasma-colors-primary);--plasma-tab-item-selected-background-color:var(--plasma-colors-surface-card);--plasma-tab-item-selected-color-hover:var(--plasma-colors-primary);--plasma-tab-item-selected-background-color-hover:var(--plasma-colors-surface-card);--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-margin-left-filled:0.125rem;--plasma-tabs-outline-focus-color:var(--plasma-colors-button-focused);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--plasma-colors-primary);--plasma-tab-item-selected-hover-divider-color:var(--plasma-colors-primary);--plasma-tab-item-selected-hover-divider-color:var(--plasma-colors-primary);--plasma-tab-item-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-hover-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-selected-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--plasma-colors-secondary);}
|
3
|
+
.d1qfynte{--plasma-tab-item-color:var(--plasma-colors-secondary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--plasma-colors-primary);--plasma-tab-item-selected-background-color:transparent;--plasma-tab-item-selected-color-hover:var(--plasma-colors-primary);--plasma-tab-item-selected-background-color-hover:transparent;--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-padding-clear:0;--plasma-tab-item-content-padding-clear:0;--plasma-tabs-outline-focus-color:var(--plasma-colors-button-focused);--plasma-tab-item-selected-divider-height:0.125rem;--plasma-tab-item-selected-divider-color:var(--plasma-colors-primary);--plasma-tab-item-selected-hover-divider-color:var(--plasma-colors-primary);--plasma-tab-item-selected-hover-divider-color:var(--plasma-colors-primary);--plasma-tab-item-additional-content-color:var(--plasma-colors-tertiary);--plasma-tab-item-hover-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-selected-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--plasma-colors-secondary);}
|
4
|
+
.dcu9hou{--plasma-tab-item-color:var(--plasma-colors-primary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--plasma-colors-inverse);--plasma-tab-item-selected-background-color:var(--surface-solid-default);--plasma-tab-item-selected-color-hover:var(--plasma-colors-inverse);--plasma-tab-item-selected-background-color-hover:var(--surface-solid-default);--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-margin-left-filled:0.125rem;--plasma-tabs-outline-focus-color:var(--plasma-colors-button-focused);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--plasma-colors-primary);--plasma-tab-item-selected-hover-divider-color:var(--plasma-colors-primary);--plasma-tab-item-selected-hover-divider-color:var(--plasma-colors-primary);--plasma-tab-item-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-hover-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-selected-additional-content-color:var(--plasma-colors-white-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--plasma-colors-white-secondary);}
|
5
|
+
.xd9jef9{--plasma-tab-item-border-radius:0.375rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:2rem;--plasma-tab-item-padding:0 0.5rem;--plasma-tab-item-padding-pilled:0 0.375rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.25rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-xs-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-xs-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-xs-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-xs-line-height);}
|
6
|
+
.svtzz6s{--plasma-tab-item-border-radius:0.5rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:2.5rem;--plasma-tab-item-padding:0 0.625rem;--plasma-tab-item-padding-pilled:0 0.5rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.25rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-s-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-s-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-s-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-s-line-height);}
|
7
|
+
.mv38ab4{--plasma-tab-item-border-radius:0.625rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3rem;--plasma-tab-item-padding:0 0.625rem;--plasma-tab-item-padding-pilled:0 0.5rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.375rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-m-line-height);}
|
8
|
+
.l1bx3z7v{--plasma-tab-item-border-radius:0.75rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3.5rem;--plasma-tab-item-padding:0 0.875rem;--plasma-tab-item-padding-pilled:0 0.75rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.5rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-l-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-l-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-l-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-l-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-l-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-l-line-height);}
|
9
|
+
.hst8lw7{--plasma-tab-item-border-radius:0.375rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.625rem;--plasma-tab-item-font-family:var(--plasma-typo-h5-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h5-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h5-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h5-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h5-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h5-line-height);}
|
10
|
+
.hnmfpx2{--plasma-tab-item-border-radius:0.375rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3.25rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:2rem;--plasma-tab-item-content-gap:0.625rem;--plasma-tab-item-font-family:var(--plasma-typo-h4-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h4-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h4-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h4-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h4-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h4-line-height);}
|
11
|
+
.h1ph8cz0{--plasma-tab-item-border-radius:0.5rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3.875rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:2.25rem;--plasma-tab-item-content-gap:0.75rem;--plasma-tab-item-font-family:var(--plasma-typo-h3-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h3-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h3-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h3-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h3-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h3-line-height);}
|
12
|
+
.h1dyyy38{--plasma-tab-item-border-radius:0.625rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:4.5rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:2.5rem;--plasma-tab-item-content-gap:1rem;--plasma-tab-item-font-family:var(--plasma-typo-h2-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h2-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h2-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h2-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h2-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h2-line-height);}
|
13
|
+
.hsee6cj{--plasma-tab-item-border-radius:0.75rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:5.75rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:3.5rem;--plasma-tab-item-content-gap:0.5rem;--plasma-tab-item-font-family:var(--plasma-typo-h1-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h1-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h1-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h1-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h1-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h1-line-height);}
|
14
|
+
.t1uqdflh{--plasma-tabs-disabled-opacity:0.4;}
|
15
|
+
.t1cm9seg{--plasma-tab-item-pilled-border-radius:1.5rem;}
|
@@ -1,15 +1,15 @@
|
|
1
|
-
.
|
2
|
-
.
|
3
|
-
.
|
4
|
-
.
|
5
|
-
.
|
6
|
-
.
|
7
|
-
.
|
8
|
-
.
|
9
|
-
.
|
10
|
-
.
|
11
|
-
.
|
12
|
-
.
|
13
|
-
.
|
14
|
-
.
|
15
|
-
.
|
1
|
+
.TabItem_config_1fqdgmr_c12geyh4__e004acee{--plasma-tab-item-color:var(--plasma-colors-secondary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--plasma-colors-primary);--plasma-tab-item-selected-background-color:transparent;--plasma-tab-item-selected-color-hover:var(--plasma-colors-primary);--plasma-tab-item-selected-background-color-hover:transparent;--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-padding-clear:0;--plasma-tab-item-content-padding-clear:0;--plasma-tabs-outline-focus-color:var(--plasma-colors-button-focused);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--plasma-colors-primary);--plasma-tab-item-selected-hover-divider-color:var(--plasma-colors-primary);--plasma-tab-item-additional-content-color:var(--plasma-colors-tertiary);--plasma-tab-item-hover-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-selected-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--plasma-colors-secondary);}
|
2
|
+
.TabItem_config_1fqdgmr_skxrl3x__e004acee{--plasma-tab-item-color:var(--plasma-colors-primary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--plasma-colors-primary);--plasma-tab-item-selected-background-color:var(--plasma-colors-surface-card);--plasma-tab-item-selected-color-hover:var(--plasma-colors-primary);--plasma-tab-item-selected-background-color-hover:var(--plasma-colors-surface-card);--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-margin-left-filled:0.125rem;--plasma-tabs-outline-focus-color:var(--plasma-colors-button-focused);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--plasma-colors-primary);--plasma-tab-item-selected-hover-divider-color:var(--plasma-colors-primary);--plasma-tab-item-selected-hover-divider-color:var(--plasma-colors-primary);--plasma-tab-item-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-hover-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-selected-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--plasma-colors-secondary);}
|
3
|
+
.TabItem_config_1fqdgmr_d1qfynte__e004acee{--plasma-tab-item-color:var(--plasma-colors-secondary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--plasma-colors-primary);--plasma-tab-item-selected-background-color:transparent;--plasma-tab-item-selected-color-hover:var(--plasma-colors-primary);--plasma-tab-item-selected-background-color-hover:transparent;--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-padding-clear:0;--plasma-tab-item-content-padding-clear:0;--plasma-tabs-outline-focus-color:var(--plasma-colors-button-focused);--plasma-tab-item-selected-divider-height:0.125rem;--plasma-tab-item-selected-divider-color:var(--plasma-colors-primary);--plasma-tab-item-selected-hover-divider-color:var(--plasma-colors-primary);--plasma-tab-item-selected-hover-divider-color:var(--plasma-colors-primary);--plasma-tab-item-additional-content-color:var(--plasma-colors-tertiary);--plasma-tab-item-hover-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-selected-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--plasma-colors-secondary);}
|
4
|
+
.TabItem_config_1fqdgmr_dcu9hou__e004acee{--plasma-tab-item-color:var(--plasma-colors-primary);--plasma-tab-item-background-color:transparent;--plasma-tab-item-color-hover:var(--text-secondary-hover);--plasma-tab-item-color-active:var(--text-secondary-active);--plasma-tab-item-background-color-hover:transparent;--plasma-tab-item-selected-color:var(--plasma-colors-inverse);--plasma-tab-item-selected-background-color:var(--surface-solid-default);--plasma-tab-item-selected-color-hover:var(--plasma-colors-inverse);--plasma-tab-item-selected-background-color-hover:var(--surface-solid-default);--plasma-tab-item-background-transition:background-color 0.3s ease-in-out;--plasma-tab-item-margin-left-filled:0.125rem;--plasma-tabs-outline-focus-color:var(--plasma-colors-button-focused);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--plasma-colors-primary);--plasma-tab-item-selected-hover-divider-color:var(--plasma-colors-primary);--plasma-tab-item-selected-hover-divider-color:var(--plasma-colors-primary);--plasma-tab-item-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-hover-additional-content-color:var(--plasma-colors-secondary);--plasma-tab-item-selected-additional-content-color:var(--plasma-colors-white-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--plasma-colors-white-secondary);}
|
5
|
+
.TabItem_config_1fqdgmr_xd9jef9__e004acee{--plasma-tab-item-border-radius:0.375rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:2rem;--plasma-tab-item-padding:0 0.5rem;--plasma-tab-item-padding-pilled:0 0.375rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.25rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-xs-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-xs-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-xs-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-xs-line-height);}
|
6
|
+
.TabItem_config_1fqdgmr_svtzz6s__e004acee{--plasma-tab-item-border-radius:0.5rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:2.5rem;--plasma-tab-item-padding:0 0.625rem;--plasma-tab-item-padding-pilled:0 0.5rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.25rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-s-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-s-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-s-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-s-line-height);}
|
7
|
+
.TabItem_config_1fqdgmr_mv38ab4__e004acee{--plasma-tab-item-border-radius:0.625rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3rem;--plasma-tab-item-padding:0 0.625rem;--plasma-tab-item-padding-pilled:0 0.5rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.375rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-m-line-height);}
|
8
|
+
.TabItem_config_1fqdgmr_l1bx3z7v__e004acee{--plasma-tab-item-border-radius:0.75rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3.5rem;--plasma-tab-item-padding:0 0.875rem;--plasma-tab-item-padding-pilled:0 0.75rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.5rem;--plasma-tab-item-content-padding:0.125rem;--plasma-tab-item-font-family:var(--plasma-typo-body-l-font-family);--plasma-tab-item-font-size:var(--plasma-typo-body-l-font-size);--plasma-tab-item-font-style:var(--plasma-typo-body-l-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-body-l-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-body-l-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-body-l-line-height);}
|
9
|
+
.TabItem_config_1fqdgmr_hst8lw7__e004acee{--plasma-tab-item-border-radius:0.375rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:1.75rem;--plasma-tab-item-content-gap:0.625rem;--plasma-tab-item-font-family:var(--plasma-typo-h5-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h5-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h5-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h5-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h5-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h5-line-height);}
|
10
|
+
.TabItem_config_1fqdgmr_hnmfpx2__e004acee{--plasma-tab-item-border-radius:0.375rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3.25rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:2rem;--plasma-tab-item-content-gap:0.625rem;--plasma-tab-item-font-family:var(--plasma-typo-h4-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h4-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h4-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h4-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h4-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h4-line-height);}
|
11
|
+
.TabItem_config_1fqdgmr_h1ph8cz0__e004acee{--plasma-tab-item-border-radius:0.5rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:3.875rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:2.25rem;--plasma-tab-item-content-gap:0.75rem;--plasma-tab-item-font-family:var(--plasma-typo-h3-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h3-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h3-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h3-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h3-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h3-line-height);}
|
12
|
+
.TabItem_config_1fqdgmr_h1dyyy38__e004acee{--plasma-tab-item-border-radius:0.625rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:4.5rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:2.5rem;--plasma-tab-item-content-gap:1rem;--plasma-tab-item-font-family:var(--plasma-typo-h2-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h2-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h2-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h2-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h2-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h2-line-height);}
|
13
|
+
.TabItem_config_1fqdgmr_hsee6cj__e004acee{--plasma-tab-item-border-radius:0.75rem;--plasma-tab-item-width:auto;--plasma-tab-item-height:5.75rem;--plasma-tab-item-padding:0rem;--plasma-tab-item-margin-left:3.5rem;--plasma-tab-item-content-gap:0.5rem;--plasma-tab-item-font-family:var(--plasma-typo-h1-font-family);--plasma-tab-item-font-size:var(--plasma-typo-h1-font-size);--plasma-tab-item-font-style:var(--plasma-typo-h1-font-style);--plasma-tab-item-font-weight:var(--plasma-typo-h1-font-weight);--plasma-tab-item-letter-spacing:var(--plasma-typo-h1-letter-spacing);--plasma-tab-item-lineheight:var(--plasma-typo-h1-line-height);}
|
14
|
+
.TabItem_config_1fqdgmr_t1uqdflh__e004acee{--plasma-tabs-disabled-opacity:0.4;}
|
15
|
+
.TabItem_config_1fqdgmr_t1cm9seg__e004acee{--plasma-tab-item-pilled-border-radius:1.5rem;}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import './Tabs.
|
1
|
+
import './Tabs.config_hnbp5.css';
|
2
2
|
'use strict';
|
3
3
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
@@ -6,8 +6,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
6
6
|
var config = {
|
7
7
|
defaults: {
|
8
8
|
view: 'divider',
|
9
|
-
size: 'l'
|
10
|
-
disabled: 'false'
|
9
|
+
size: 'l'
|
11
10
|
},
|
12
11
|
variations: {
|
13
12
|
view: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Tabs.config.js","sources":["../../../../src-css/components/Tabs/Tabs.config.ts"],"sourcesContent":["import { css, tabsTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'divider',\n size: 'l',\n
|
1
|
+
{"version":3,"file":"Tabs.config.js","sources":["../../../../src-css/components/Tabs/Tabs.config.ts"],"sourcesContent":["import { css, tabsTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'divider',\n size: 'l',\n },\n variations: {\n view: {\n clear: css`\n ${tabsTokens.arrowColor}: var(--plasma-colors-secondary);\n ${tabsTokens.tabsBackgroundColor}: transparent;\n ${tabsTokens.outlineFocusColor}: var(--plasma-colors-button-focused);\n\n ${tabsTokens.tabsDividerHeight}: 0rem;\n ${tabsTokens.tabsDividerColor}: transparent;\n ${tabsTokens.tabsDividerBorderRadius}: 0rem;\n `,\n filled: css`\n ${tabsTokens.arrowColor}: var(--plasma-colors-secondary);\n ${tabsTokens.tabsBackgroundColor}: var(--surface-transparent-primary);\n ${tabsTokens.outlineFocusColor}: var(--plasma-colors-button-focused);\n\n ${tabsTokens.tabsDividerHeight}: 0rem;\n ${tabsTokens.tabsDividerColor}: transparent;\n ${tabsTokens.tabsDividerBorderRadius}: 0rem;\n `,\n divider: css`\n ${tabsTokens.arrowColor}: var(--plasma-colors-secondary);\n ${tabsTokens.tabsBackgroundColor}: transparent;\n ${tabsTokens.outlineFocusColor}: var(--plasma-colors-button-focused);\n\n ${tabsTokens.tabsDividerHeight}: 0.0625rem;\n ${tabsTokens.tabsDividerColor}: var(--surface-transparent-tertiary);\n ${tabsTokens.tabsDividerBorderRadius}: 0.0625rem;\n `,\n },\n size: {\n xs: css`\n ${tabsTokens.tabsBorderRadius}: 0.5rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 0rem;\n ${tabsTokens.arrowOuterPadding}: 0.125rem;\n `,\n s: css`\n ${tabsTokens.tabsBorderRadius}: 0.625rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 0rem;\n ${tabsTokens.arrowOuterPadding}: 0.25rem;\n `,\n m: css`\n ${tabsTokens.tabsBorderRadius}: 0.75rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 0rem;\n ${tabsTokens.arrowOuterPadding}: 0.625rem;\n `,\n l: css`\n ${tabsTokens.tabsBorderRadius}: 0.875rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 0rem;\n ${tabsTokens.arrowOuterPadding}: 0.75rem;\n `,\n h5: css`\n ${tabsTokens.tabsBorderRadius}: 0.5rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 0.25rem;\n ${tabsTokens.arrowOuterPadding}: 0rem;\n `,\n h4: css`\n ${tabsTokens.tabsBorderRadius}: 0.5rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 0.25rem;\n ${tabsTokens.arrowOuterPadding}: 0rem;\n `,\n h3: css`\n ${tabsTokens.tabsBorderRadius}: 0.625rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 0.375rem;\n ${tabsTokens.arrowOuterPadding}: 0rem;\n `,\n h2: css`\n ${tabsTokens.tabsBorderRadius}: 0.75rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 0.5rem;\n ${tabsTokens.arrowOuterPadding}: 0rem;\n `,\n h1: css`\n ${tabsTokens.tabsBorderRadius}: 0.75rem;\n ${tabsTokens.tabsWidth}: fit-content;\n ${tabsTokens.tabsHeight}: auto;\n ${tabsTokens.arrowInnerPadding}: 1rem;\n ${tabsTokens.arrowOuterPadding}: 0rem;\n `,\n },\n stretch: {\n true: css`\n ${tabsTokens.containerWidth}: 100%;\n `,\n },\n disabled: {\n true: css`\n ${tabsTokens.disabledOpacity}: 0.4;\n `,\n },\n pilled: {\n true: css`\n ${tabsTokens.tabsPilledBorderRadius}: 1.625rem;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","clear","filled","divider","xs","s","m","l","h5","h4","h3","h2","h1","stretch","true","disabled","pilled"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;AACFG,MAAAA,KAAK,EAQJ,UAAA;AACDC,MAAAA,MAAM,EAQL,SAAA;AACDC,MAAAA,OAAO,EAAA,SAAA;KASV;AACDJ,IAAAA,IAAI,EAAE;AACFK,MAAAA,EAAE,EAMD,UAAA;AACDC,MAAAA,CAAC,EAMA,SAAA;AACDC,MAAAA,CAAC,EAMA,UAAA;AACDC,MAAAA,CAAC,EAMA,UAAA;AACDC,MAAAA,EAAE,EAMD,UAAA;AACDC,MAAAA,EAAE,EAMD,UAAA;AACDC,MAAAA,EAAE,EAMD,SAAA;AACDC,MAAAA,EAAE,EAMD,SAAA;AACDC,MAAAA,EAAE,EAAA,UAAA;KAOL;AACDC,IAAAA,OAAO,EAAE;MACLC,MAAI,EAAA,UAAA;KAGP;AACDC,IAAAA,QAAQ,EAAE;MACND,MAAI,EAAA,SAAA;KAGP;AACDE,IAAAA,MAAM,EAAE;MACJF,MAAI,EAAA,SAAA;AAGR,KAAA;AACJ,GAAA;AACJ;;;;"}
|