@salutejs/plasma-web 1.404.0-canary.1374.11013124158.0 → 1.404.0-canary.1445.11027864145.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +72 -0
- package/api/plasma-web.api.md +24 -2
- package/components/{Tabs/vertical/VerticalTabItem.config.d.ts → ChipGroup/ChipGroup.config.d.ts} +9 -6
- package/components/ChipGroup/ChipGroup.config.js +32 -0
- package/components/ChipGroup/ChipGroup.d.ts +18 -0
- package/components/ChipGroup/ChipGroup.js +10 -0
- package/components/ChipGroup/index.d.ts +1 -0
- package/components/ChipGroup/index.js +12 -0
- package/components/Tabs/TabItem.d.ts +2 -3
- package/components/Tabs/TabItem.js +3 -14
- package/components/Tabs/Tabs.d.ts +2 -3
- package/components/Tabs/Tabs.js +3 -17
- package/components/Tabs/TabsController.d.ts +2 -2
- package/css/cjs/components/ChipGroup/ChipGroup.config.js +31 -0
- package/css/cjs/components/ChipGroup/ChipGroup.config.js.map +1 -0
- package/css/cjs/components/ChipGroup/ChipGroup.config_o3u1bd.css +9 -0
- package/css/cjs/components/ChipGroup/ChipGroup.css +9 -0
- package/css/cjs/components/ChipGroup/ChipGroup.js +12 -0
- package/css/cjs/components/ChipGroup/ChipGroup.js.map +1 -0
- package/css/cjs/components/Tabs/TabItem.config.js +39 -0
- package/css/cjs/components/Tabs/TabItem.config.js.map +1 -0
- package/css/cjs/components/Tabs/TabItem.config_mjoml6.css +15 -0
- package/css/cjs/components/Tabs/TabItem.css +15 -22
- package/css/cjs/components/Tabs/TabItem.js +3 -13
- package/css/cjs/components/Tabs/TabItem.js.map +1 -1
- package/css/cjs/components/Tabs/Tabs.config.js +41 -0
- package/css/cjs/components/Tabs/Tabs.config.js.map +1 -0
- package/css/cjs/components/Tabs/Tabs.config_1g344dn.css +15 -0
- package/css/cjs/components/Tabs/Tabs.css +15 -23
- package/css/cjs/components/Tabs/Tabs.js +3 -16
- package/css/cjs/components/Tabs/Tabs.js.map +1 -1
- package/css/cjs/components/Tabs/TabsController.css +30 -45
- package/css/cjs/components/Tabs/TabsController.js.map +1 -1
- package/css/cjs/index.css +41 -46
- package/css/cjs/index.js +2 -0
- package/css/cjs/index.js.map +1 -1
- package/css/es/components/ChipGroup/ChipGroup.config.js +27 -0
- package/css/es/components/ChipGroup/ChipGroup.config.js.map +1 -0
- package/css/es/components/ChipGroup/ChipGroup.config_o3u1bd.css +9 -0
- package/css/es/components/ChipGroup/ChipGroup.css +9 -0
- package/css/es/components/ChipGroup/ChipGroup.js +8 -0
- package/css/es/components/ChipGroup/ChipGroup.js.map +1 -0
- package/css/es/components/Tabs/TabItem.config.js +35 -0
- package/css/es/components/Tabs/TabItem.config.js.map +1 -0
- package/css/es/components/Tabs/TabItem.config_mjoml6.css +15 -0
- package/css/es/components/Tabs/TabItem.css +15 -22
- package/css/es/components/Tabs/TabItem.js +4 -14
- package/css/es/components/Tabs/TabItem.js.map +1 -1
- package/css/es/components/Tabs/Tabs.config.js +37 -0
- package/css/es/components/Tabs/Tabs.config.js.map +1 -0
- package/css/es/components/Tabs/Tabs.config_1g344dn.css +15 -0
- package/css/es/components/Tabs/Tabs.css +15 -23
- package/css/es/components/Tabs/Tabs.js +4 -17
- package/css/es/components/Tabs/Tabs.js.map +1 -1
- package/css/es/components/Tabs/TabsController.css +30 -45
- package/css/es/components/Tabs/TabsController.js.map +1 -1
- package/css/es/index.css +41 -46
- package/css/es/index.js +1 -0
- package/css/es/index.js.map +1 -1
- package/css/index.d.ts +2 -0
- package/es/components/ChipGroup/ChipGroup.config.js +26 -0
- package/es/components/ChipGroup/ChipGroup.js +4 -0
- package/es/components/ChipGroup/index.js +1 -0
- package/es/components/Tabs/TabItem.js +4 -14
- package/es/components/Tabs/Tabs.js +4 -17
- package/es/index.js +2 -1
- package/index.d.ts +1 -0
- package/index.js +11 -0
- package/package.json +3 -3
- package/temp/plasma-web.api.md +24 -2
- package/components/Tabs/vertical/VerticalTabItem.config.js +0 -29
- package/components/Tabs/vertical/VerticalTabs.config.d.ts +0 -23
- package/components/Tabs/vertical/VerticalTabs.config.js +0 -32
- package/css/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -39
- package/css/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js.map +0 -1
- package/css/cjs/components/Tabs/horizontal/HorizontalTabItem.config_xl402n.css +0 -15
- package/css/cjs/components/Tabs/horizontal/HorizontalTabs.config.js +0 -41
- package/css/cjs/components/Tabs/horizontal/HorizontalTabs.config.js.map +0 -1
- package/css/cjs/components/Tabs/horizontal/HorizontalTabs.config_17bycx2.css +0 -15
- package/css/cjs/components/Tabs/vertical/VerticalTabItem.config.js +0 -28
- package/css/cjs/components/Tabs/vertical/VerticalTabItem.config.js.map +0 -1
- package/css/cjs/components/Tabs/vertical/VerticalTabItem.config_14utj3q.css +0 -6
- package/css/cjs/components/Tabs/vertical/VerticalTabs.config.js +0 -31
- package/css/cjs/components/Tabs/vertical/VerticalTabs.config.js.map +0 -1
- package/css/cjs/components/Tabs/vertical/VerticalTabs.config_sc92nl.css +0 -7
- package/css/es/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -35
- package/css/es/components/Tabs/horizontal/HorizontalTabItem.config.js.map +0 -1
- package/css/es/components/Tabs/horizontal/HorizontalTabItem.config_xl402n.css +0 -15
- package/css/es/components/Tabs/horizontal/HorizontalTabs.config.js +0 -37
- package/css/es/components/Tabs/horizontal/HorizontalTabs.config.js.map +0 -1
- package/css/es/components/Tabs/horizontal/HorizontalTabs.config_17bycx2.css +0 -15
- package/css/es/components/Tabs/vertical/VerticalTabItem.config.js +0 -24
- package/css/es/components/Tabs/vertical/VerticalTabItem.config.js.map +0 -1
- package/css/es/components/Tabs/vertical/VerticalTabItem.config_14utj3q.css +0 -6
- package/css/es/components/Tabs/vertical/VerticalTabs.config.js +0 -27
- package/css/es/components/Tabs/vertical/VerticalTabs.config.js.map +0 -1
- package/css/es/components/Tabs/vertical/VerticalTabs.config_sc92nl.css +0 -7
- package/es/components/Tabs/vertical/VerticalTabItem.config.js +0 -23
- package/es/components/Tabs/vertical/VerticalTabs.config.js +0 -26
- /package/components/Tabs/{horizontal/HorizontalTabItem.config.d.ts → TabItem.config.d.ts} +0 -0
- /package/components/Tabs/{horizontal/HorizontalTabItem.config.js → TabItem.config.js} +0 -0
- /package/components/Tabs/{horizontal/HorizontalTabs.config.d.ts → Tabs.config.d.ts} +0 -0
- /package/components/Tabs/{horizontal/HorizontalTabs.config.js → Tabs.config.js} +0 -0
- /package/es/components/Tabs/{horizontal/HorizontalTabItem.config.js → TabItem.config.js} +0 -0
- /package/es/components/Tabs/{horizontal/HorizontalTabs.config.js → Tabs.config.js} +0 -0
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,75 @@
|
|
1
|
+
# v1.403.0 (Tue Sep 24 2024)
|
2
|
+
|
3
|
+
### Release Notes
|
4
|
+
|
5
|
+
#### Release by 24.09.2024 ([#1450](https://github.com/salute-developers/plasma/pull/1450))
|
6
|
+
|
7
|
+
## Components
|
8
|
+
|
9
|
+
### Mask
|
10
|
+
|
11
|
+
- добавлен **новый** компонент
|
12
|
+
- включен в поставку plasma-* и sdds-* пакетов
|
13
|
+
|
14
|
+
feat(plasma-*): add Mask (https://github.com/salute-developers/plasma/pull/1418)
|
15
|
+
|
16
|
+
### Правка токенов в SDDS CS
|
17
|
+
|
18
|
+
- Изменены токены для компонентов `Autocomplite`, `Combobox`, `Datepicker`, `Range`, `Textfield`, `Textarea`, `Select` в поставке `sdds-cs`
|
19
|
+
|
20
|
+
|
21
|
+
feat(sdds-cs): edit tokens (https://github.com/salute-developers/plasma/pull/1439)
|
22
|
+
|
23
|
+
### Attach
|
24
|
+
- добавлен **новый** компонент в поставку всех клиентских библиотек
|
25
|
+
|
26
|
+
<img width="554" src="https://github.com/user-attachments/assets/0ede5244-018b-4801-9816-6d3f425a1ec5" />
|
27
|
+
|
28
|
+
<img width="296" src="https://github.com/user-attachments/assets/e86d1a79-13f9-430c-8c78-60da463bda6d" />
|
29
|
+
|
30
|
+
### Cell
|
31
|
+
- добавлена возможность использовать свойство `className`
|
32
|
+
|
33
|
+
|
34
|
+
`plasma-*, sdds-*`: Add Attach (https://github.com/salute-developers/plasma/pull/1437)
|
35
|
+
|
36
|
+
|
37
|
+
## Misc
|
38
|
+
|
39
|
+
### Tests
|
40
|
+
- изменены тесты plasma-b2c компонента TextArea
|
41
|
+
|
42
|
+
|
43
|
+
test(plasma-b2c): update tests for TextArea (https://github.com/salute-developers/plasma/pull/1434)
|
44
|
+
|
45
|
+
---
|
46
|
+
|
47
|
+
#### 🚀 Enhancement
|
48
|
+
|
49
|
+
- Release by 24.09.2024 [#1450](https://github.com/salute-developers/plasma/pull/1450) ([@IgorYar](https://github.com/IgorYar) [@TitanKuzmich](https://github.com/TitanKuzmich) [@Salute-Eva](https://github.com/Salute-Eva) [@iljs](https://github.com/iljs) [@denivladislav](https://github.com/denivladislav))
|
50
|
+
- docs(): api reports regenerated [#1437](https://github.com/salute-developers/plasma/pull/1437) ([@denivladislav](https://github.com/denivladislav))
|
51
|
+
- feat(sdds-cs): edit tokens [#1439](https://github.com/salute-developers/plasma/pull/1439) ([@iljs](https://github.com/iljs))
|
52
|
+
- feat(plasma-*): fix Mask stories prop [#1418](https://github.com/salute-developers/plasma/pull/1418) ([@TitanKuzmich](https://github.com/TitanKuzmich))
|
53
|
+
- feat(plasma-web/b2c): add Mask component ([@TitanKuzmich](https://github.com/TitanKuzmich))
|
54
|
+
|
55
|
+
#### 🐛 Bug Fix
|
56
|
+
|
57
|
+
- Update package-lock.json files ([@Salute-Eva](https://github.com/Salute-Eva))
|
58
|
+
- Update versions ([@Salute-Eva](https://github.com/Salute-Eva))
|
59
|
+
- feat(plasma-*, sdds-*): Attach ported; tests added ([@denivladislav](https://github.com/denivladislav))
|
60
|
+
- docs: generate new api reports ([@TitanKuzmich](https://github.com/TitanKuzmich))
|
61
|
+
- chore: Update package-lock.json files \[skip ci\] ([@Salute-Eva](https://github.com/Salute-Eva))
|
62
|
+
|
63
|
+
#### Authors: 5
|
64
|
+
|
65
|
+
- [@iljs](https://github.com/iljs)
|
66
|
+
- [@Salute-Eva](https://github.com/Salute-Eva)
|
67
|
+
- Igor Yaroslavtsev ([@IgorYar](https://github.com/IgorYar))
|
68
|
+
- Krivonos Aleksandr ([@TitanKuzmich](https://github.com/TitanKuzmich))
|
69
|
+
- Vladislav Denisov ([@denivladislav](https://github.com/denivladislav))
|
70
|
+
|
71
|
+
---
|
72
|
+
|
1
73
|
# v1.400.0 (Thu Sep 19 2024)
|
2
74
|
|
3
75
|
### Release Notes
|
package/api/plasma-web.api.md
CHANGED
@@ -81,6 +81,7 @@ import { CellTextboxSubtitle } from '@salutejs/plasma-new-hope/styled-components
|
|
81
81
|
import { CellTextboxTitle } from '@salutejs/plasma-new-hope/styled-components';
|
82
82
|
import { ChangeEvent } from 'react';
|
83
83
|
import { CheckboxProps as CheckboxProps_2 } from '@salutejs/plasma-new-hope/types/components/Checkbox/Checkbox.types';
|
84
|
+
import { ChipGroupProps } from '@salutejs/plasma-new-hope/types/components/ChipGroup/ChipGroup.types';
|
84
85
|
import { ChipProps } from '@salutejs/plasma-new-hope/styled-components';
|
85
86
|
import { clearSelection } from '@salutejs/plasma-hope';
|
86
87
|
import { closeNotification } from '@salutejs/plasma-new-hope/styled-components';
|
@@ -100,6 +101,8 @@ import { CounterProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
100
101
|
import { counterTokens } from '@salutejs/plasma-new-hope/styled-components';
|
101
102
|
import { CustomComboboxProps } from '@salutejs/plasma-new-hope/types/components/Combobox/ComboboxOld/Combobox.types';
|
102
103
|
import { CustomPopoverProps } from '@salutejs/plasma-new-hope/types/components/Popover/Popover.types';
|
104
|
+
import { CustomTabItemProps } from '@salutejs/plasma-new-hope/types/components/Tabs/ui/TabItem/TabItem.types';
|
105
|
+
import { CustomTabsProps } from '@salutejs/plasma-new-hope/types/components/Tabs/ui/Tabs/Tabs.types';
|
103
106
|
import { CustomToastProps } from '@salutejs/plasma-new-hope/types/components/Toast/Toast.types';
|
104
107
|
import { DateInfo } from '@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types';
|
105
108
|
import { DatePickerCalendarProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types';
|
@@ -1178,6 +1181,25 @@ true: PolymorphicClassName;
|
|
1178
1181
|
};
|
1179
1182
|
}> & ChipProps & RefAttributes<HTMLButtonElement>>;
|
1180
1183
|
|
1184
|
+
// @public (undocumented)
|
1185
|
+
export const ChipGroup: FunctionComponent<PropsType< {
|
1186
|
+
view: {
|
1187
|
+
default: PolymorphicClassName;
|
1188
|
+
secondary: PolymorphicClassName;
|
1189
|
+
accent: PolymorphicClassName;
|
1190
|
+
};
|
1191
|
+
size: {
|
1192
|
+
l: PolymorphicClassName;
|
1193
|
+
m: PolymorphicClassName;
|
1194
|
+
s: PolymorphicClassName;
|
1195
|
+
xs: PolymorphicClassName;
|
1196
|
+
};
|
1197
|
+
gap: {
|
1198
|
+
dense: PolymorphicClassName;
|
1199
|
+
wide: PolymorphicClassName;
|
1200
|
+
};
|
1201
|
+
}> & ChipGroupProps & RefAttributes<HTMLDivElement>>;
|
1202
|
+
|
1181
1203
|
export { ChipProps }
|
1182
1204
|
|
1183
1205
|
export { clearSelection }
|
@@ -2993,14 +3015,14 @@ export type SwitchProps = ComponentProps<typeof SwitchComponent>;
|
|
2993
3015
|
export { syntheticFocus }
|
2994
3016
|
|
2995
3017
|
// @public
|
2996
|
-
export const TabItem:
|
3018
|
+
export const TabItem: ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & AsProps_2<any> & CustomTabItemProps & RefAttributes<HTMLDivElement>>;
|
2997
3019
|
|
2998
3020
|
export { TabItemProps }
|
2999
3021
|
|
3000
3022
|
export { TabItemRefs }
|
3001
3023
|
|
3002
3024
|
// @public
|
3003
|
-
export const Tabs:
|
3025
|
+
export const Tabs: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & AsProps_2<any> & CustomTabsProps & RefAttributes<HTMLDivElement>>;
|
3004
3026
|
|
3005
3027
|
export { TabsContext }
|
3006
3028
|
|
package/components/{Tabs/vertical/VerticalTabItem.config.d.ts → ChipGroup/ChipGroup.config.d.ts}
RENAMED
@@ -5,16 +5,19 @@ export declare const config: {
|
|
5
5
|
};
|
6
6
|
variations: {
|
7
7
|
view: {
|
8
|
-
|
8
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
|
+
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
+
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
11
|
};
|
10
12
|
size: {
|
11
|
-
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
13
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
13
|
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
15
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
16
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
15
17
|
};
|
16
|
-
|
17
|
-
|
18
|
+
gap: {
|
19
|
+
dense: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
20
|
+
wide: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
18
21
|
};
|
19
22
|
};
|
20
23
|
};
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.config = void 0;
|
7
|
+
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9;
|
9
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
10
|
+
var config = exports.config = {
|
11
|
+
defaults: {
|
12
|
+
view: 'default',
|
13
|
+
size: 'm'
|
14
|
+
},
|
15
|
+
variations: {
|
16
|
+
view: {
|
17
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default);\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default-hover);\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default-active);\n "])), _styledComponents.chipGroupTokens.chipColor, _styledComponents.chipGroupTokens.chipBackground, _styledComponents.chipGroupTokens.chipColorHover, _styledComponents.chipGroupTokens.chipBackgroundHover, _styledComponents.chipGroupTokens.chipColorActive, _styledComponents.chipGroupTokens.chipBackgroundActive),
|
18
|
+
secondary: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary-hover);\n ", ": var(--text-primary);\n ", ": var(--surface-transparent-secondary-active);\n "])), _styledComponents.chipGroupTokens.chipColor, _styledComponents.chipGroupTokens.chipBackground, _styledComponents.chipGroupTokens.chipColorHover, _styledComponents.chipGroupTokens.chipBackgroundHover, _styledComponents.chipGroupTokens.chipColorActive, _styledComponents.chipGroupTokens.chipBackgroundActive),
|
19
|
+
accent: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-accent);\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-accent-hover);\n ", ": var(--on-dark-text-primary);\n ", ": var(--surface-accent-active);\n "])), _styledComponents.chipGroupTokens.chipColor, _styledComponents.chipGroupTokens.chipBackground, _styledComponents.chipGroupTokens.chipColorHover, _styledComponents.chipGroupTokens.chipBackgroundHover, _styledComponents.chipGroupTokens.chipColorActive, _styledComponents.chipGroupTokens.chipBackgroundActive)
|
20
|
+
},
|
21
|
+
size: {
|
22
|
+
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.75rem;\n ", ": auto;\n ", ": 3rem;\n ", ": 1rem;\n ", ": 1rem;\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\n ", ": -0.125rem;\n ", ": 0.5rem;\n ", ": 0.625rem;\n ", ": -0.25rem;\n\n ", ": 1.02;\n ", ": 0.98;\n\n ", ": 1.5rem;\n "])), _styledComponents.chipGroupTokens.chipBorderRadius, _styledComponents.chipGroupTokens.chipWidth, _styledComponents.chipGroupTokens.chipHeight, _styledComponents.chipGroupTokens.chipPaddingRight, _styledComponents.chipGroupTokens.chipPaddingLeft, _styledComponents.chipGroupTokens.chipFontFamily, _styledComponents.chipGroupTokens.chipFontSize, _styledComponents.chipGroupTokens.chipFontStyle, _styledComponents.chipGroupTokens.chipFontWeight, _styledComponents.chipGroupTokens.chipLetterSpacing, _styledComponents.chipGroupTokens.chipLineHeight, _styledComponents.chipGroupTokens.chipLeftContentMarginLeft, _styledComponents.chipGroupTokens.chipLeftContentMarginRight, _styledComponents.chipGroupTokens.chipClearContentMarginLeft, _styledComponents.chipGroupTokens.chipClearContentMarginRight, _styledComponents.chipGroupTokens.chipScaleHover, _styledComponents.chipGroupTokens.chipScaleActive, _styledComponents.chipGroupTokens.chipCloseIconSize),
|
23
|
+
m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.625rem;\n ", ": auto;\n ", ": 2.5rem;\n ", ": 0.875rem;\n ", ": 0.875rem;\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\n ", ": -0.125rem;\n ", ": 0.375rem;\n ", ": 0.5rem;\n ", ": -0.25rem;\n\n ", ": 1.02;\n ", ": 0.98;\n\n ", ": 1rem;\n "])), _styledComponents.chipGroupTokens.chipBorderRadius, _styledComponents.chipGroupTokens.chipWidth, _styledComponents.chipGroupTokens.chipHeight, _styledComponents.chipGroupTokens.chipPaddingRight, _styledComponents.chipGroupTokens.chipPaddingLeft, _styledComponents.chipGroupTokens.chipFontFamily, _styledComponents.chipGroupTokens.chipFontSize, _styledComponents.chipGroupTokens.chipFontStyle, _styledComponents.chipGroupTokens.chipFontWeight, _styledComponents.chipGroupTokens.chipLetterSpacing, _styledComponents.chipGroupTokens.chipLineHeight, _styledComponents.chipGroupTokens.chipLeftContentMarginLeft, _styledComponents.chipGroupTokens.chipLeftContentMarginRight, _styledComponents.chipGroupTokens.chipClearContentMarginLeft, _styledComponents.chipGroupTokens.chipClearContentMarginRight, _styledComponents.chipGroupTokens.chipScaleHover, _styledComponents.chipGroupTokens.chipScaleActive, _styledComponents.chipGroupTokens.chipCloseIconSize),
|
24
|
+
s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n ", ": auto;\n ", ": 2rem;\n ", ": 0.875rem;\n ", ": 0.875rem;\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\n ", ": -0.125rem;\n ", ": 0.25rem;\n ", ": 0.375rem;\n ", ": -0.25rem;\n\n ", ": 1.02;\n ", ": 0.98;\n\n ", ": 1rem;\n "])), _styledComponents.chipGroupTokens.chipBorderRadius, _styledComponents.chipGroupTokens.chipWidth, _styledComponents.chipGroupTokens.chipHeight, _styledComponents.chipGroupTokens.chipPaddingRight, _styledComponents.chipGroupTokens.chipPaddingLeft, _styledComponents.chipGroupTokens.chipFontFamily, _styledComponents.chipGroupTokens.chipFontSize, _styledComponents.chipGroupTokens.chipFontStyle, _styledComponents.chipGroupTokens.chipFontWeight, _styledComponents.chipGroupTokens.chipLetterSpacing, _styledComponents.chipGroupTokens.chipLineHeight, _styledComponents.chipGroupTokens.chipLeftContentMarginLeft, _styledComponents.chipGroupTokens.chipLeftContentMarginRight, _styledComponents.chipGroupTokens.chipClearContentMarginLeft, _styledComponents.chipGroupTokens.chipClearContentMarginRight, _styledComponents.chipGroupTokens.chipScaleHover, _styledComponents.chipGroupTokens.chipScaleActive, _styledComponents.chipGroupTokens.chipCloseIconSize),
|
25
|
+
xs: /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.375rem;\n ", ": auto;\n ", ": 1.5rem;\n ", ": 0.625rem;\n ", ": 0.625rem;\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\n ", ": -0.125rem;\n ", ": 0.25rem;\n ", ": 0.25rem;\n ", ": -0.25rem;\n\n ", ": 1.02;\n ", ": 0.98;\n\n ", ": 1rem;\n "])), _styledComponents.chipGroupTokens.chipBorderRadius, _styledComponents.chipGroupTokens.chipWidth, _styledComponents.chipGroupTokens.chipHeight, _styledComponents.chipGroupTokens.chipPaddingRight, _styledComponents.chipGroupTokens.chipPaddingLeft, _styledComponents.chipGroupTokens.chipFontFamily, _styledComponents.chipGroupTokens.chipFontSize, _styledComponents.chipGroupTokens.chipFontStyle, _styledComponents.chipGroupTokens.chipFontWeight, _styledComponents.chipGroupTokens.chipLetterSpacing, _styledComponents.chipGroupTokens.chipLineHeight, _styledComponents.chipGroupTokens.chipLeftContentMarginLeft, _styledComponents.chipGroupTokens.chipLeftContentMarginRight, _styledComponents.chipGroupTokens.chipClearContentMarginLeft, _styledComponents.chipGroupTokens.chipClearContentMarginRight, _styledComponents.chipGroupTokens.chipScaleHover, _styledComponents.chipGroupTokens.chipScaleActive, _styledComponents.chipGroupTokens.chipCloseIconSize)
|
26
|
+
},
|
27
|
+
gap: {
|
28
|
+
dense: /*#__PURE__*/(0, _styledComponents.css)(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.125rem;\n "])), _styledComponents.chipGroupTokens.chipGroupItemsGap),
|
29
|
+
wide: /*#__PURE__*/(0, _styledComponents.css)(_templateObject9 || (_templateObject9 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.5rem;\n "])), _styledComponents.chipGroupTokens.chipGroupItemsGap)
|
30
|
+
}
|
31
|
+
}
|
32
|
+
};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const ChipGroup: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
3
|
+
view: {
|
4
|
+
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
5
|
+
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
+
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
|
+
};
|
8
|
+
size: {
|
9
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
13
|
+
};
|
14
|
+
gap: {
|
15
|
+
dense: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
16
|
+
wide: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
17
|
+
};
|
18
|
+
}> & import("@salutejs/plasma-new-hope/types/components/ChipGroup/ChipGroup.types").ChipGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.ChipGroup = void 0;
|
7
|
+
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
|
+
var _ChipGroup = /*#__PURE__*/require("./ChipGroup.config");
|
9
|
+
var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.chipGroupConfig, _ChipGroup.config);
|
10
|
+
var ChipGroup = exports.ChipGroup = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
|
@@ -0,0 +1 @@
|
|
1
|
+
export { ChipGroup } from './ChipGroup';
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
Object.defineProperty(exports, "ChipGroup", {
|
7
|
+
enumerable: true,
|
8
|
+
get: function get() {
|
9
|
+
return _ChipGroup.ChipGroup;
|
10
|
+
}
|
11
|
+
});
|
12
|
+
var _ChipGroup = /*#__PURE__*/require("./ChipGroup");
|
@@ -1,6 +1,5 @@
|
|
1
|
-
|
2
|
-
import { TabItemProps } from '@salutejs/plasma-new-hope/styled-components';
|
1
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
3
2
|
/**
|
4
3
|
* Элемент списка, недопустимо использовать вне компонента Tabs.
|
5
4
|
*/
|
6
|
-
export declare const TabItem: (
|
5
|
+
export declare const TabItem: ForwardRefExoticComponent<import("react").ButtonHTMLAttributes<HTMLButtonElement> & import("@salutejs/plasma-new-hope/types/types").AsProps<any> & import("@salutejs/plasma-new-hope/types/components/Tabs/ui/TabItem/TabItem.types").CustomTabItemProps & RefAttributes<HTMLDivElement>>;
|
@@ -4,22 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.TabItem = void 0;
|
7
|
-
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
8
7
|
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
9
|
-
var
|
10
|
-
var
|
11
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
12
|
-
var mergedHorizontalTabItemConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.horizontalTabItemConfig, _HorizontalTabItem.config);
|
13
|
-
var HorizontalTabItem = /*#__PURE__*/(0, _styledComponents.component)(mergedHorizontalTabItemConfig);
|
14
|
-
var mergedVerticalTabItemConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.verticalTabItemConfig, _VerticalTabItem.config);
|
15
|
-
var VerticalTabItem = /*#__PURE__*/(0, _styledComponents.component)(mergedVerticalTabItemConfig);
|
8
|
+
var _TabItem = /*#__PURE__*/require("./TabItem.config");
|
9
|
+
var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.tabItemConfig, _TabItem.config);
|
16
10
|
|
17
11
|
/**
|
18
12
|
* Элемент списка, недопустимо использовать вне компонента Tabs.
|
19
13
|
*/
|
20
|
-
var TabItem = exports.TabItem =
|
21
|
-
if (props.orientation === 'vertical') {
|
22
|
-
return /*#__PURE__*/_react["default"].createElement(VerticalTabItem, props);
|
23
|
-
}
|
24
|
-
return /*#__PURE__*/_react["default"].createElement(HorizontalTabItem, props);
|
25
|
-
};
|
14
|
+
var TabItem = exports.TabItem = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
|
@@ -1,6 +1,5 @@
|
|
1
|
-
|
2
|
-
import { TabsProps } from '@salutejs/plasma-new-hope/styled-components';
|
1
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
3
2
|
/**
|
4
3
|
* Контейнер вкладок, основной компонент для пользовательской сборки вкладок.
|
5
4
|
*/
|
6
|
-
export declare const Tabs: (
|
5
|
+
export declare const Tabs: ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("@salutejs/plasma-new-hope/types/types").AsProps<any> & import("@salutejs/plasma-new-hope/types/components/Tabs/ui/Tabs/Tabs.types").CustomTabsProps & RefAttributes<HTMLDivElement>>;
|
package/components/Tabs/Tabs.js
CHANGED
@@ -4,24 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.Tabs = void 0;
|
7
|
-
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
8
7
|
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
9
|
-
var
|
10
|
-
var
|
11
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
12
|
-
var mergedHorizontalTabsConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.horizontalTabsConfig, _HorizontalTabs.config);
|
13
|
-
var mergedVerticalTabsConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.verticalTabsConfig, _VerticalTabs.config);
|
14
|
-
var HorizontalTabs = /*#__PURE__*/(0, _styledComponents.component)(mergedHorizontalTabsConfig);
|
15
|
-
var VerticalTabs = /*#__PURE__*/(0, _styledComponents.component)(mergedVerticalTabsConfig);
|
16
|
-
|
8
|
+
var _Tabs = /*#__PURE__*/require("./Tabs.config");
|
9
|
+
var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.tabsConfig, _Tabs.config);
|
17
10
|
/**
|
18
11
|
* Контейнер вкладок, основной компонент для пользовательской сборки вкладок.
|
19
12
|
*/
|
20
|
-
var Tabs = exports.Tabs =
|
21
|
-
if (props.orientation === 'vertical') {
|
22
|
-
return /*#__PURE__*/_react["default"].createElement(_styledComponents.VerticalTabsContext.Provider, {
|
23
|
-
value: props.contentLeft
|
24
|
-
}, /*#__PURE__*/_react["default"].createElement(VerticalTabs, props));
|
25
|
-
}
|
26
|
-
return /*#__PURE__*/_react["default"].createElement(HorizontalTabs, props);
|
27
|
-
};
|
13
|
+
var Tabs = exports.Tabs = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
2
|
/**
|
3
3
|
* Контроллер вкладок.
|
4
4
|
* Позволяет использовать клавиши ArrowLeft, ArrowRight, Home, End для навигации по вкладкам.
|
5
5
|
*/
|
6
|
-
export declare const TabsController: ForwardRefExoticComponent<import("@salutejs/plasma-new-hope/styled-components").TabsControllerProps & RefAttributes<HTMLDivElement>>;
|
6
|
+
export declare const TabsController: import("react").ForwardRefExoticComponent<import("@salutejs/plasma-new-hope/styled-components").TabsControllerProps & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import './ChipGroup.config_o3u1bd.css';
|
2
|
+
'use strict';
|
3
|
+
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
5
|
+
|
6
|
+
var config = {
|
7
|
+
defaults: {
|
8
|
+
view: 'default',
|
9
|
+
size: 'm'
|
10
|
+
},
|
11
|
+
variations: {
|
12
|
+
view: {
|
13
|
+
"default": "d1ypmiwn",
|
14
|
+
secondary: "sxaw5dt",
|
15
|
+
accent: "aimo9hk"
|
16
|
+
},
|
17
|
+
size: {
|
18
|
+
l: "l1ecjycw",
|
19
|
+
m: "m9yz770",
|
20
|
+
s: "s9y7l64",
|
21
|
+
xs: "x1v0c462"
|
22
|
+
},
|
23
|
+
gap: {
|
24
|
+
dense: "dp6l87u",
|
25
|
+
wide: "wug1gkx"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
};
|
29
|
+
|
30
|
+
exports.config = config;
|
31
|
+
//# sourceMappingURL=ChipGroup.config.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ChipGroup.config.js","sources":["../../../../src-css/components/ChipGroup/ChipGroup.config.ts"],"sourcesContent":["import { css, chipGroupTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'm',\n },\n variations: {\n view: {\n default: css`\n ${tokens.chipColor}: var(--inverse-text-primary);\n ${tokens.chipBackground}: var(--surface-solid-default);\n ${tokens.chipColorHover}: var(--inverse-text-primary);\n ${tokens.chipBackgroundHover}: var(--surface-solid-default-hover);\n ${tokens.chipColorActive}: var(--inverse-text-primary);\n ${tokens.chipBackgroundActive}: var(--surface-solid-default-active);\n `,\n secondary: css`\n ${tokens.chipColor}: var(--text-primary);\n ${tokens.chipBackground}: var(--surface-transparent-secondary);\n ${tokens.chipColorHover}: var(--text-primary);\n ${tokens.chipBackgroundHover}: var(--surface-transparent-secondary-hover);\n ${tokens.chipColorActive}: var(--text-primary);\n ${tokens.chipBackgroundActive}: var(--surface-transparent-secondary-active);\n `,\n accent: css`\n ${tokens.chipColor}: var(--on-dark-text-primary);\n ${tokens.chipBackground}: var(--surface-accent);\n ${tokens.chipColorHover}: var(--on-dark-text-primary);\n ${tokens.chipBackgroundHover}: var(--surface-accent-hover);\n ${tokens.chipColorActive}: var(--on-dark-text-primary);\n ${tokens.chipBackgroundActive}: var(--surface-accent-active);\n `,\n },\n size: {\n l: css`\n ${tokens.chipBorderRadius}: 0.75rem;\n ${tokens.chipWidth}: auto;\n ${tokens.chipHeight}: 3rem;\n ${tokens.chipPaddingRight}: 1rem;\n ${tokens.chipPaddingLeft}: 1rem;\n\n ${tokens.chipFontFamily}: var(--plasma-typo-body-l-font-family);\n ${tokens.chipFontSize}: var(--plasma-typo-body-l-font-size);\n ${tokens.chipFontStyle}: var(--plasma-typo-body-l-font-style);\n ${tokens.chipFontWeight}: var(--plasma-typo-body-l-font-weight);\n ${tokens.chipLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${tokens.chipLineHeight}: var(--plasma-typo-body-l-line-height);\n\n ${tokens.chipLeftContentMarginLeft}: -0.125rem;\n ${tokens.chipLeftContentMarginRight}: 0.5rem;\n ${tokens.chipClearContentMarginLeft}: 0.625rem;\n ${tokens.chipClearContentMarginRight}: -0.25rem;\n\n ${tokens.chipScaleHover}: 1.02;\n ${tokens.chipScaleActive}: 0.98;\n\n ${tokens.chipCloseIconSize}: 1.5rem;\n `,\n m: css`\n ${tokens.chipBorderRadius}: 0.625rem;\n ${tokens.chipWidth}: auto;\n ${tokens.chipHeight}: 2.5rem;\n ${tokens.chipPaddingRight}: 0.875rem;\n ${tokens.chipPaddingLeft}: 0.875rem;\n\n ${tokens.chipFontFamily}: var(--plasma-typo-body-m-font-family);\n ${tokens.chipFontSize}: var(--plasma-typo-body-m-font-size);\n ${tokens.chipFontStyle}: var(--plasma-typo-body-m-font-style);\n ${tokens.chipFontWeight}: var(--plasma-typo-body-m-font-weight);\n ${tokens.chipLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${tokens.chipLineHeight}: var(--plasma-typo-body-m-line-height);\n\n ${tokens.chipLeftContentMarginLeft}: -0.125rem;\n ${tokens.chipLeftContentMarginRight}: 0.375rem;\n ${tokens.chipClearContentMarginLeft}: 0.5rem;\n ${tokens.chipClearContentMarginRight}: -0.25rem;\n\n ${tokens.chipScaleHover}: 1.02;\n ${tokens.chipScaleActive}: 0.98;\n\n ${tokens.chipCloseIconSize}: 1rem;\n `,\n s: css`\n ${tokens.chipBorderRadius}: 0.5rem;\n ${tokens.chipWidth}: auto;\n ${tokens.chipHeight}: 2rem;\n ${tokens.chipPaddingRight}: 0.875rem;\n ${tokens.chipPaddingLeft}: 0.875rem;\n\n ${tokens.chipFontFamily}: var(--plasma-typo-body-s-font-family);\n ${tokens.chipFontSize}: var(--plasma-typo-body-s-font-size);\n ${tokens.chipFontStyle}: var(--plasma-typo-body-s-font-style);\n ${tokens.chipFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${tokens.chipLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${tokens.chipLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${tokens.chipLeftContentMarginLeft}: -0.125rem;\n ${tokens.chipLeftContentMarginRight}: 0.25rem;\n ${tokens.chipClearContentMarginLeft}: 0.375rem;\n ${tokens.chipClearContentMarginRight}: -0.25rem;\n\n ${tokens.chipScaleHover}: 1.02;\n ${tokens.chipScaleActive}: 0.98;\n\n ${tokens.chipCloseIconSize}: 1rem;\n `,\n xs: css`\n ${tokens.chipBorderRadius}: 0.375rem;\n ${tokens.chipWidth}: auto;\n ${tokens.chipHeight}: 1.5rem;\n ${tokens.chipPaddingRight}: 0.625rem;\n ${tokens.chipPaddingLeft}: 0.625rem;\n\n ${tokens.chipFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tokens.chipFontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.chipFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.chipFontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${tokens.chipLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.chipLineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${tokens.chipLeftContentMarginLeft}: -0.125rem;\n ${tokens.chipLeftContentMarginRight}: 0.25rem;\n ${tokens.chipClearContentMarginLeft}: 0.25rem;\n ${tokens.chipClearContentMarginRight}: -0.25rem;\n\n ${tokens.chipScaleHover}: 1.02;\n ${tokens.chipScaleActive}: 0.98;\n\n ${tokens.chipCloseIconSize}: 1rem;\n `,\n },\n gap: {\n dense: css`\n ${tokens.chipGroupItemsGap}: 0.125rem;\n `,\n wide: css`\n ${tokens.chipGroupItemsGap}: 0.5rem;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","default","secondary","accent","l","m","s","xs","gap","dense","wide"],"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,SAAAA,EAOC,UAAA;AACDC,MAAAA,SAAS,EAOR,SAAA;AACDC,MAAAA,MAAM,EAAA,SAAA;KAQT;AACDJ,IAAAA,IAAI,EAAE;AACFK,MAAAA,CAAC,EAuBA,UAAA;AACDC,MAAAA,CAAC,EAuBA,SAAA;AACDC,MAAAA,CAAC,EAuBA,SAAA;AACDC,MAAAA,EAAE,EAAA,UAAA;KAwBL;AACDC,IAAAA,GAAG,EAAE;AACDC,MAAAA,KAAK,EAEJ,SAAA;AACDC,MAAAA,IAAI,EAAA,SAAA;AAGR,KAAA;AACJ,GAAA;AACJ;;;;"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
.d1ypmiwn{--plasma-chip-group-items-color:var(--inverse-text-primary);--plasma-chip-group-items-background:var(--surface-solid-default);--plasma-chip-group-items-color-hover:var(--inverse-text-primary);--plasma-chip-group-items-background-hover:var(--surface-solid-default-hover);--plasma-chip-group-items-color-active:var(--inverse-text-primary);--plasma-chip-group-items-background-active:var(--surface-solid-default-active);}
|
2
|
+
.sxaw5dt{--plasma-chip-group-items-color:var(--text-primary);--plasma-chip-group-items-background:var(--surface-transparent-secondary);--plasma-chip-group-items-color-hover:var(--text-primary);--plasma-chip-group-items-background-hover:var(--surface-transparent-secondary-hover);--plasma-chip-group-items-color-active:var(--text-primary);--plasma-chip-group-items-background-active:var(--surface-transparent-secondary-active);}
|
3
|
+
.aimo9hk{--plasma-chip-group-items-color:var(--on-dark-text-primary);--plasma-chip-group-items-background:var(--surface-accent);--plasma-chip-group-items-color-hover:var(--on-dark-text-primary);--plasma-chip-group-items-background-hover:var(--surface-accent-hover);--plasma-chip-group-items-color-active:var(--on-dark-text-primary);--plasma-chip-group-items-background-active:var(--surface-accent-active);}
|
4
|
+
.l1ecjycw{--plasma-chip-group-items-border-radius:0.75rem;--plasma-chip-group-item-width:auto;--plasma-chip-group-item-height:3rem;--plasma-chip-group-item-padding-right:1rem;--plasma-chip-group-item-padding-left:1rem;--plasma-chip-group-item-font-family:var(--plasma-typo-body-l-font-family);--plasma-chip-group-item-font-size:var(--plasma-typo-body-l-font-size);--plasma-chip-group-item-font-style:var(--plasma-typo-body-l-font-style);--plasma-chip-group-item-font-weight:var(--plasma-typo-body-l-font-weight);--plasma-chip-group-item-letter-spacing:var(--plasma-typo-body-l-letter-spacing);--plasma-chip-group-item-line-height:var(--plasma-typo-body-l-line-height);--plasma-chip-group-item-left-content-margin-left:-0.125rem;--plasma-chip-group-item-left-content-margin-right:0.5rem;--plasma-chip-group-item-clear-content-margin-left:0.625rem;--plasma-chip-group-item-clear-content-margin-right:-0.25rem;--plasma-chip-group-items-scale-hover:1.02;--plasma-chip-group-items-scale-active:0.98;--plasma-chip-group-item-close-icon-size:1.5rem;}
|
5
|
+
.m9yz770{--plasma-chip-group-items-border-radius:0.625rem;--plasma-chip-group-item-width:auto;--plasma-chip-group-item-height:2.5rem;--plasma-chip-group-item-padding-right:0.875rem;--plasma-chip-group-item-padding-left:0.875rem;--plasma-chip-group-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-chip-group-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-chip-group-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-chip-group-item-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-chip-group-item-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-chip-group-item-line-height:var(--plasma-typo-body-m-line-height);--plasma-chip-group-item-left-content-margin-left:-0.125rem;--plasma-chip-group-item-left-content-margin-right:0.375rem;--plasma-chip-group-item-clear-content-margin-left:0.5rem;--plasma-chip-group-item-clear-content-margin-right:-0.25rem;--plasma-chip-group-items-scale-hover:1.02;--plasma-chip-group-items-scale-active:0.98;--plasma-chip-group-item-close-icon-size:1rem;}
|
6
|
+
.s9y7l64{--plasma-chip-group-items-border-radius:0.5rem;--plasma-chip-group-item-width:auto;--plasma-chip-group-item-height:2rem;--plasma-chip-group-item-padding-right:0.875rem;--plasma-chip-group-item-padding-left:0.875rem;--plasma-chip-group-item-font-family:var(--plasma-typo-body-s-font-family);--plasma-chip-group-item-font-size:var(--plasma-typo-body-s-font-size);--plasma-chip-group-item-font-style:var(--plasma-typo-body-s-font-style);--plasma-chip-group-item-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-chip-group-item-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-chip-group-item-line-height:var(--plasma-typo-body-s-line-height);--plasma-chip-group-item-left-content-margin-left:-0.125rem;--plasma-chip-group-item-left-content-margin-right:0.25rem;--plasma-chip-group-item-clear-content-margin-left:0.375rem;--plasma-chip-group-item-clear-content-margin-right:-0.25rem;--plasma-chip-group-items-scale-hover:1.02;--plasma-chip-group-items-scale-active:0.98;--plasma-chip-group-item-close-icon-size:1rem;}
|
7
|
+
.x1v0c462{--plasma-chip-group-items-border-radius:0.375rem;--plasma-chip-group-item-width:auto;--plasma-chip-group-item-height:1.5rem;--plasma-chip-group-item-padding-right:0.625rem;--plasma-chip-group-item-padding-left:0.625rem;--plasma-chip-group-item-font-family:var(--plasma-typo-body-xs-font-family);--plasma-chip-group-item-font-size:var(--plasma-typo-body-xs-font-size);--plasma-chip-group-item-font-style:var(--plasma-typo-body-xs-font-style);--plasma-chip-group-item-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-chip-group-item-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-chip-group-item-line-height:var(--plasma-typo-body-xs-line-height);--plasma-chip-group-item-left-content-margin-left:-0.125rem;--plasma-chip-group-item-left-content-margin-right:0.25rem;--plasma-chip-group-item-clear-content-margin-left:0.25rem;--plasma-chip-group-item-clear-content-margin-right:-0.25rem;--plasma-chip-group-items-scale-hover:1.02;--plasma-chip-group-items-scale-active:0.98;--plasma-chip-group-item-close-icon-size:1rem;}
|
8
|
+
.dp6l87u{--plasma-chip-group-items-gap:0.125rem;}
|
9
|
+
.wug1gkx{--plasma-chip-group-items-gap:0.5rem;}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
.ChipGroup_config_o3u1bd_d1ypmiwn__e56ee064{--plasma-chip-group-items-color:var(--inverse-text-primary);--plasma-chip-group-items-background:var(--surface-solid-default);--plasma-chip-group-items-color-hover:var(--inverse-text-primary);--plasma-chip-group-items-background-hover:var(--surface-solid-default-hover);--plasma-chip-group-items-color-active:var(--inverse-text-primary);--plasma-chip-group-items-background-active:var(--surface-solid-default-active);}
|
2
|
+
.ChipGroup_config_o3u1bd_sxaw5dt__e56ee064{--plasma-chip-group-items-color:var(--text-primary);--plasma-chip-group-items-background:var(--surface-transparent-secondary);--plasma-chip-group-items-color-hover:var(--text-primary);--plasma-chip-group-items-background-hover:var(--surface-transparent-secondary-hover);--plasma-chip-group-items-color-active:var(--text-primary);--plasma-chip-group-items-background-active:var(--surface-transparent-secondary-active);}
|
3
|
+
.ChipGroup_config_o3u1bd_aimo9hk__e56ee064{--plasma-chip-group-items-color:var(--on-dark-text-primary);--plasma-chip-group-items-background:var(--surface-accent);--plasma-chip-group-items-color-hover:var(--on-dark-text-primary);--plasma-chip-group-items-background-hover:var(--surface-accent-hover);--plasma-chip-group-items-color-active:var(--on-dark-text-primary);--plasma-chip-group-items-background-active:var(--surface-accent-active);}
|
4
|
+
.ChipGroup_config_o3u1bd_l1ecjycw__e56ee064{--plasma-chip-group-items-border-radius:0.75rem;--plasma-chip-group-item-width:auto;--plasma-chip-group-item-height:3rem;--plasma-chip-group-item-padding-right:1rem;--plasma-chip-group-item-padding-left:1rem;--plasma-chip-group-item-font-family:var(--plasma-typo-body-l-font-family);--plasma-chip-group-item-font-size:var(--plasma-typo-body-l-font-size);--plasma-chip-group-item-font-style:var(--plasma-typo-body-l-font-style);--plasma-chip-group-item-font-weight:var(--plasma-typo-body-l-font-weight);--plasma-chip-group-item-letter-spacing:var(--plasma-typo-body-l-letter-spacing);--plasma-chip-group-item-line-height:var(--plasma-typo-body-l-line-height);--plasma-chip-group-item-left-content-margin-left:-0.125rem;--plasma-chip-group-item-left-content-margin-right:0.5rem;--plasma-chip-group-item-clear-content-margin-left:0.625rem;--plasma-chip-group-item-clear-content-margin-right:-0.25rem;--plasma-chip-group-items-scale-hover:1.02;--plasma-chip-group-items-scale-active:0.98;--plasma-chip-group-item-close-icon-size:1.5rem;}
|
5
|
+
.ChipGroup_config_o3u1bd_m9yz770__e56ee064{--plasma-chip-group-items-border-radius:0.625rem;--plasma-chip-group-item-width:auto;--plasma-chip-group-item-height:2.5rem;--plasma-chip-group-item-padding-right:0.875rem;--plasma-chip-group-item-padding-left:0.875rem;--plasma-chip-group-item-font-family:var(--plasma-typo-body-m-font-family);--plasma-chip-group-item-font-size:var(--plasma-typo-body-m-font-size);--plasma-chip-group-item-font-style:var(--plasma-typo-body-m-font-style);--plasma-chip-group-item-font-weight:var(--plasma-typo-body-m-font-weight);--plasma-chip-group-item-letter-spacing:var(--plasma-typo-body-m-letter-spacing);--plasma-chip-group-item-line-height:var(--plasma-typo-body-m-line-height);--plasma-chip-group-item-left-content-margin-left:-0.125rem;--plasma-chip-group-item-left-content-margin-right:0.375rem;--plasma-chip-group-item-clear-content-margin-left:0.5rem;--plasma-chip-group-item-clear-content-margin-right:-0.25rem;--plasma-chip-group-items-scale-hover:1.02;--plasma-chip-group-items-scale-active:0.98;--plasma-chip-group-item-close-icon-size:1rem;}
|
6
|
+
.ChipGroup_config_o3u1bd_s9y7l64__e56ee064{--plasma-chip-group-items-border-radius:0.5rem;--plasma-chip-group-item-width:auto;--plasma-chip-group-item-height:2rem;--plasma-chip-group-item-padding-right:0.875rem;--plasma-chip-group-item-padding-left:0.875rem;--plasma-chip-group-item-font-family:var(--plasma-typo-body-s-font-family);--plasma-chip-group-item-font-size:var(--plasma-typo-body-s-font-size);--plasma-chip-group-item-font-style:var(--plasma-typo-body-s-font-style);--plasma-chip-group-item-font-weight:var(--plasma-typo-body-s-font-weight);--plasma-chip-group-item-letter-spacing:var(--plasma-typo-body-s-letter-spacing);--plasma-chip-group-item-line-height:var(--plasma-typo-body-s-line-height);--plasma-chip-group-item-left-content-margin-left:-0.125rem;--plasma-chip-group-item-left-content-margin-right:0.25rem;--plasma-chip-group-item-clear-content-margin-left:0.375rem;--plasma-chip-group-item-clear-content-margin-right:-0.25rem;--plasma-chip-group-items-scale-hover:1.02;--plasma-chip-group-items-scale-active:0.98;--plasma-chip-group-item-close-icon-size:1rem;}
|
7
|
+
.ChipGroup_config_o3u1bd_x1v0c462__e56ee064{--plasma-chip-group-items-border-radius:0.375rem;--plasma-chip-group-item-width:auto;--plasma-chip-group-item-height:1.5rem;--plasma-chip-group-item-padding-right:0.625rem;--plasma-chip-group-item-padding-left:0.625rem;--plasma-chip-group-item-font-family:var(--plasma-typo-body-xs-font-family);--plasma-chip-group-item-font-size:var(--plasma-typo-body-xs-font-size);--plasma-chip-group-item-font-style:var(--plasma-typo-body-xs-font-style);--plasma-chip-group-item-font-weight:var(--plasma-typo-body-xs-font-weight);--plasma-chip-group-item-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);--plasma-chip-group-item-line-height:var(--plasma-typo-body-xs-line-height);--plasma-chip-group-item-left-content-margin-left:-0.125rem;--plasma-chip-group-item-left-content-margin-right:0.25rem;--plasma-chip-group-item-clear-content-margin-left:0.25rem;--plasma-chip-group-item-clear-content-margin-right:-0.25rem;--plasma-chip-group-items-scale-hover:1.02;--plasma-chip-group-items-scale-active:0.98;--plasma-chip-group-item-close-icon-size:1rem;}
|
8
|
+
.ChipGroup_config_o3u1bd_dp6l87u__e56ee064{--plasma-chip-group-items-gap:0.125rem;}
|
9
|
+
.ChipGroup_config_o3u1bd_wug1gkx__e56ee064{--plasma-chip-group-items-gap:0.5rem;}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
'use strict';
|
2
|
+
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
4
|
+
|
5
|
+
var plasmaNewHope = require('@salutejs/plasma-new-hope');
|
6
|
+
var ChipGroup_config = require('./ChipGroup.config.js');
|
7
|
+
|
8
|
+
var mergedConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.chipGroupConfig, ChipGroup_config.config);
|
9
|
+
var ChipGroup = /*#__PURE__*/plasmaNewHope.component(mergedConfig);
|
10
|
+
|
11
|
+
exports.ChipGroup = ChipGroup;
|
12
|
+
//# sourceMappingURL=ChipGroup.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ChipGroup.js","sources":["../../../../src-css/components/ChipGroup/ChipGroup.ts"],"sourcesContent":["import { chipGroupConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './ChipGroup.config';\n\nconst mergedConfig = mergeConfig(chipGroupConfig, config);\n\nexport const ChipGroup = component(mergedConfig);\n"],"names":["mergedConfig","mergeConfig","chipGroupConfig","config","ChipGroup","component"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,6BAAe,EAAEC,uBAAM,CAAC,CAAA;IAE5CC,SAAS,gBAAGC,uBAAS,CAACL,YAAY;;;;"}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import './TabItem.config_mjoml6.css';
|
2
|
+
'use strict';
|
3
|
+
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
5
|
+
|
6
|
+
var config = {
|
7
|
+
defaults: {
|
8
|
+
view: 'divider',
|
9
|
+
size: 'l'
|
10
|
+
},
|
11
|
+
variations: {
|
12
|
+
view: {
|
13
|
+
clear: "c12geyh4",
|
14
|
+
secondary: "skxrl3x",
|
15
|
+
divider: "d1qfynte",
|
16
|
+
"default": "dcu9hou"
|
17
|
+
},
|
18
|
+
size: {
|
19
|
+
xs: "xd9jef9",
|
20
|
+
s: "svtzz6s",
|
21
|
+
m: "mv38ab4",
|
22
|
+
l: "l1bx3z7v",
|
23
|
+
h5: "hst8lw7",
|
24
|
+
h4: "hnmfpx2",
|
25
|
+
h3: "h1ph8cz0",
|
26
|
+
h2: "h1dyyy38",
|
27
|
+
h1: "hsee6cj"
|
28
|
+
},
|
29
|
+
disabled: {
|
30
|
+
"true": "t1uqdflh"
|
31
|
+
},
|
32
|
+
pilled: {
|
33
|
+
"true": "t1cm9seg"
|
34
|
+
}
|
35
|
+
}
|
36
|
+
};
|
37
|
+
|
38
|
+
exports.config = config;
|
39
|
+
//# sourceMappingURL=TabItem.config.js.map
|
@@ -0,0 +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(--text-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(--text-primary);\n ${tabsTokens.itemSelectedBackgroundColor}: transparent;\n ${tabsTokens.itemSelectedColorHover}: var(--text-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(--surface-accent);\n\n ${tabsTokens.itemSelectedDividerHeight}: 0rem;\n ${tabsTokens.itemSelectedDividerColor}: var(--text-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--text-primary);\n\n ${tabsTokens.additionalContentColor}: var(--text-tertiary);\n ${tabsTokens.additionalContentHoverColor}: var(--text-secondary);\n ${tabsTokens.additionalContentSelectedColor}: var(--text-secondary);\n ${tabsTokens.additionalContentSelectedHoverColor}: var(--text-secondary);\n `,\n secondary: css`\n ${tabsTokens.itemColor}: var(--text-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(--text-primary);\n ${tabsTokens.itemSelectedBackgroundColor}: var(--surface-solid-card);\n ${tabsTokens.itemSelectedColorHover}: var(--text-primary);\n ${tabsTokens.itemSelectedBackgroundColorHover}: var(--surface-solid-card);\n ${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;\n\n ${tabsTokens.itemMarginLeftFilled}: 0.125rem;\n\n ${tabsTokens.outlineFocusColor}: var(--surface-accent);\n\n ${tabsTokens.itemSelectedDividerHeight}: 0rem;\n ${tabsTokens.itemSelectedDividerColor}: var(--text-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--text-primary);\n\n ${tabsTokens.additionalContentColor}: var(--text-secondary);\n ${tabsTokens.additionalContentHoverColor}: var(--text-secondary);\n ${tabsTokens.additionalContentSelectedColor}: var(--text-secondary);\n ${tabsTokens.additionalContentSelectedHoverColor}: var(--text-secondary);\n `,\n divider: css`\n ${tabsTokens.itemColor}: var(--text-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(--text-primary);\n ${tabsTokens.itemSelectedBackgroundColor}: transparent;\n ${tabsTokens.itemSelectedColorHover}: var(--text-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(--surface-accent);\n\n ${tabsTokens.itemSelectedDividerHeight}: 0.125rem;\n ${tabsTokens.itemSelectedDividerColor}: var(--text-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--text-primary);\n\n ${tabsTokens.additionalContentColor}: var(--text-tertiary);\n ${tabsTokens.additionalContentHoverColor}: var(--text-secondary);\n ${tabsTokens.additionalContentSelectedColor}: var(--text-secondary);\n ${tabsTokens.additionalContentSelectedHoverColor}: var(--text-secondary);\n `,\n default: css`\n ${tabsTokens.itemColor}: var(--text-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(--inverse-text-primary);\n ${tabsTokens.itemSelectedBackgroundColor}: var(--surface-solid-default);\n ${tabsTokens.itemSelectedColorHover}: var(--inverse-text-primary);\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(--surface-accent);\n\n ${tabsTokens.itemSelectedDividerHeight}: 0rem;\n ${tabsTokens.itemSelectedDividerColor}: var(--text-primary);\n ${tabsTokens.itemSelectedDividerColorHover}: var(--text-primary);\n\n ${tabsTokens.additionalContentColor}: var(--text-secondary);\n ${tabsTokens.additionalContentHoverColor}: var(--text-secondary);\n ${tabsTokens.additionalContentSelectedColor}: var(--inverse-text-secondary);\n ${tabsTokens.additionalContentSelectedHoverColor}: var(--inverse-text-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,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;;;;"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
.c12geyh4{--plasma-tab-item-color:var(--text-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(--text-primary);--plasma-tab-item-selected-background-color:transparent;--plasma-tab-item-selected-color-hover:var(--text-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(--surface-accent);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--text-primary);--plasma-tab-item-selected-hover-divider-color:var(--text-primary);--plasma-tab-item-additional-content-color:var(--text-tertiary);--plasma-tab-item-hover-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--text-secondary);}
|
2
|
+
.skxrl3x{--plasma-tab-item-color:var(--text-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(--text-primary);--plasma-tab-item-selected-background-color:var(--surface-solid-card);--plasma-tab-item-selected-color-hover:var(--text-primary);--plasma-tab-item-selected-background-color-hover:var(--surface-solid-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(--surface-accent);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--text-primary);--plasma-tab-item-selected-hover-divider-color:var(--text-primary);--plasma-tab-item-additional-content-color:var(--text-secondary);--plasma-tab-item-hover-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--text-secondary);}
|
3
|
+
.d1qfynte{--plasma-tab-item-color:var(--text-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(--text-primary);--plasma-tab-item-selected-background-color:transparent;--plasma-tab-item-selected-color-hover:var(--text-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(--surface-accent);--plasma-tab-item-selected-divider-height:0.125rem;--plasma-tab-item-selected-divider-color:var(--text-primary);--plasma-tab-item-selected-hover-divider-color:var(--text-primary);--plasma-tab-item-additional-content-color:var(--text-tertiary);--plasma-tab-item-hover-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--text-secondary);}
|
4
|
+
.dcu9hou{--plasma-tab-item-color:var(--text-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(--inverse-text-primary);--plasma-tab-item-selected-background-color:var(--surface-solid-default);--plasma-tab-item-selected-color-hover:var(--inverse-text-primary);--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(--surface-accent);--plasma-tab-item-selected-divider-height:0rem;--plasma-tab-item-selected-divider-color:var(--text-primary);--plasma-tab-item-selected-hover-divider-color:var(--text-primary);--plasma-tab-item-additional-content-color:var(--text-secondary);--plasma-tab-item-hover-additional-content-color:var(--text-secondary);--plasma-tab-item-selected-additional-content-color:var(--inverse-text-secondary);--plasma-tab-item-selected-hover-additional-content-color:var(--inverse-text-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;}
|