@salutejs/plasma-web 1.384.0-dev.0 → 1.384.1-canary.1374.10632027763.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/plasma-web.api.md +2 -4
- package/components/Tabs/TabItem.d.ts +3 -2
- package/components/Tabs/TabItem.js +21 -3
- package/components/Tabs/Tabs.d.ts +3 -2
- package/components/Tabs/Tabs.js +21 -3
- package/components/Tabs/TabsController.d.ts +2 -2
- package/components/Tabs/vertical/VerticalTabItem.config.d.ts +1 -0
- package/components/Tabs/vertical/VerticalTabItem.config.js +5 -0
- package/components/Tabs/vertical/VerticalTabs.config.d.ts +1 -0
- package/components/Tabs/vertical/VerticalTabs.config.js +5 -0
- package/css/cjs/components/Tabs/TabItem.css +15 -15
- package/css/cjs/components/Tabs/TabItem.js +18 -3
- package/css/cjs/components/Tabs/TabItem.js.map +1 -1
- package/css/cjs/components/Tabs/Tabs.css +15 -15
- package/css/cjs/components/Tabs/Tabs.js +18 -3
- package/css/cjs/components/Tabs/Tabs.js.map +1 -1
- package/css/cjs/components/Tabs/TabsController.css +30 -30
- package/css/cjs/components/Tabs/TabsController.js.map +1 -1
- package/css/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +39 -0
- package/css/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js.map +1 -0
- package/css/cjs/components/Tabs/horizontal/HorizontalTabItem.config_xl402n.css +15 -0
- package/css/cjs/components/Tabs/horizontal/HorizontalTabs.config.js +41 -0
- package/css/cjs/components/Tabs/horizontal/HorizontalTabs.config.js.map +1 -0
- package/css/cjs/components/Tabs/horizontal/HorizontalTabs.config_17bycx2.css +15 -0
- package/css/cjs/index.css +31 -31
- package/css/es/components/Tabs/TabItem.css +15 -15
- package/css/es/components/Tabs/TabItem.js +19 -4
- package/css/es/components/Tabs/TabItem.js.map +1 -1
- package/css/es/components/Tabs/Tabs.css +15 -15
- package/css/es/components/Tabs/Tabs.js +19 -4
- package/css/es/components/Tabs/Tabs.js.map +1 -1
- package/css/es/components/Tabs/TabsController.css +30 -30
- package/css/es/components/Tabs/TabsController.js.map +1 -1
- package/css/es/components/Tabs/horizontal/HorizontalTabItem.config.js +35 -0
- package/css/es/components/Tabs/horizontal/HorizontalTabItem.config.js.map +1 -0
- package/css/es/components/Tabs/horizontal/HorizontalTabItem.config_xl402n.css +15 -0
- package/css/es/components/Tabs/horizontal/HorizontalTabs.config.js +37 -0
- package/css/es/components/Tabs/horizontal/HorizontalTabs.config.js.map +1 -0
- package/css/es/components/Tabs/horizontal/HorizontalTabs.config_17bycx2.css +15 -0
- package/css/es/index.css +31 -31
- package/es/components/Tabs/TabItem.js +21 -4
- package/es/components/Tabs/Tabs.js +21 -4
- package/es/components/Tabs/vertical/VerticalTabItem.config.js +1 -0
- package/es/components/Tabs/vertical/VerticalTabs.config.js +1 -0
- package/package.json +3 -3
- package/temp/plasma-web.api.md +2641 -0
- package/css/cjs/components/Tabs/TabItem.config.js +0 -39
- package/css/cjs/components/Tabs/TabItem.config.js.map +0 -1
- package/css/cjs/components/Tabs/TabItem.config_mjoml6.css +0 -15
- package/css/cjs/components/Tabs/Tabs.config.js +0 -41
- package/css/cjs/components/Tabs/Tabs.config.js.map +0 -1
- package/css/cjs/components/Tabs/Tabs.config_1g344dn.css +0 -15
- package/css/es/components/Tabs/TabItem.config.js +0 -35
- package/css/es/components/Tabs/TabItem.config.js.map +0 -1
- package/css/es/components/Tabs/TabItem.config_mjoml6.css +0 -15
- package/css/es/components/Tabs/Tabs.config.js +0 -37
- package/css/es/components/Tabs/Tabs.config.js.map +0 -1
- package/css/es/components/Tabs/Tabs.config_1g344dn.css +0 -15
- /package/components/Tabs/{TabItem.config.d.ts → horizontal/HorizontalTabItem.config.d.ts} +0 -0
- /package/components/Tabs/{TabItem.config.js → horizontal/HorizontalTabItem.config.js} +0 -0
- /package/components/Tabs/{Tabs.config.d.ts → horizontal/HorizontalTabs.config.d.ts} +0 -0
- /package/components/Tabs/{Tabs.config.js → horizontal/HorizontalTabs.config.js} +0 -0
- /package/es/components/Tabs/{TabItem.config.js → horizontal/HorizontalTabItem.config.js} +0 -0
- /package/es/components/Tabs/{Tabs.config.js → horizontal/HorizontalTabs.config.js} +0 -0
package/api/plasma-web.api.md
CHANGED
@@ -98,8 +98,6 @@ import { CounterProps } from '@salutejs/plasma-new-hope/styled-components';
|
|
98
98
|
import { counterTokens } from '@salutejs/plasma-new-hope/styled-components';
|
99
99
|
import { CustomComboboxProps } from '@salutejs/plasma-new-hope/types/components/Combobox/Combobox.types';
|
100
100
|
import { CustomPopoverProps } from '@salutejs/plasma-new-hope/types/components/Popover/Popover.types';
|
101
|
-
import { CustomTabItemProps } from '@salutejs/plasma-new-hope/types/components/Tabs/ui/TabItem/TabItem.types';
|
102
|
-
import { CustomTabsProps } from '@salutejs/plasma-new-hope/types/components/Tabs/ui/Tabs/Tabs.types';
|
103
101
|
import { CustomToastProps } from '@salutejs/plasma-new-hope/types/components/Toast/Toast.types';
|
104
102
|
import { DateInfo } from '@salutejs/plasma-new-hope/types/components/Calendar/Calendar.types';
|
105
103
|
import { DatePickerCalendarProps } from '@salutejs/plasma-new-hope/types/components/DatePicker/DatePickerBase.types';
|
@@ -2331,14 +2329,14 @@ export type SwitchProps = ComponentProps<typeof SwitchComponent>;
|
|
2331
2329
|
export { syntheticFocus }
|
2332
2330
|
|
2333
2331
|
// @public
|
2334
|
-
export const TabItem:
|
2332
|
+
export const TabItem: ({ orientation, ...rest }: TabItemProps) => JSX.Element;
|
2335
2333
|
|
2336
2334
|
export { TabItemProps }
|
2337
2335
|
|
2338
2336
|
export { TabItemRefs }
|
2339
2337
|
|
2340
2338
|
// @public
|
2341
|
-
export const Tabs:
|
2339
|
+
export const Tabs: ({ orientation, ...rest }: TabsProps) => JSX.Element;
|
2342
2340
|
|
2343
2341
|
export { TabsContext }
|
2344
2342
|
|
@@ -1,5 +1,6 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { TabItemProps } from '@salutejs/plasma-new-hope/styled-components';
|
2
3
|
/**
|
3
4
|
* Элемент списка, недопустимо использовать вне компонента Tabs.
|
4
5
|
*/
|
5
|
-
export declare const TabItem:
|
6
|
+
export declare const TabItem: ({ orientation, ...rest }: TabItemProps) => JSX.Element;
|
@@ -4,11 +4,29 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.TabItem = void 0;
|
7
|
+
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
7
8
|
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
|
-
var
|
9
|
-
var
|
9
|
+
var _HorizontalTabItem = /*#__PURE__*/require("./horizontal/HorizontalTabItem.config");
|
10
|
+
var _div;
|
11
|
+
var _excluded = ["orientation"];
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
13
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
14
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
15
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
16
|
+
var mergedHorizontalTabItemConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.horizontalTabItemConfig, _HorizontalTabItem.config);
|
17
|
+
var HorizontalTabItem = /*#__PURE__*/(0, _styledComponents.component)(mergedHorizontalTabItemConfig);
|
10
18
|
|
11
19
|
/**
|
12
20
|
* Элемент списка, недопустимо использовать вне компонента Tabs.
|
13
21
|
*/
|
14
|
-
var TabItem = exports.TabItem =
|
22
|
+
var TabItem = exports.TabItem = function TabItem(_ref) {
|
23
|
+
var _ref$orientation = _ref.orientation,
|
24
|
+
orientation = _ref$orientation === void 0 ? 'horizontal' : _ref$orientation,
|
25
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
26
|
+
if (orientation === 'vertical') {
|
27
|
+
return _div || (_div = /*#__PURE__*/_react["default"].createElement("div", null, "to be implemented"));
|
28
|
+
}
|
29
|
+
return /*#__PURE__*/_react["default"].createElement(HorizontalTabItem, _extends({
|
30
|
+
orientation: orientation
|
31
|
+
}, rest));
|
32
|
+
};
|
@@ -1,5 +1,6 @@
|
|
1
|
-
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { TabsProps } from '@salutejs/plasma-new-hope/styled-components';
|
2
3
|
/**
|
3
4
|
* Контейнер вкладок, основной компонент для пользовательской сборки вкладок.
|
4
5
|
*/
|
5
|
-
export declare const Tabs:
|
6
|
+
export declare const Tabs: ({ orientation, ...rest }: TabsProps) => JSX.Element;
|
package/components/Tabs/Tabs.js
CHANGED
@@ -4,10 +4,28 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.Tabs = void 0;
|
7
|
+
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
7
8
|
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
|
-
var
|
9
|
-
var
|
9
|
+
var _HorizontalTabs = /*#__PURE__*/require("./horizontal/HorizontalTabs.config");
|
10
|
+
var _div;
|
11
|
+
var _excluded = ["orientation"];
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
13
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
14
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
15
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
16
|
+
var mergedHorizontalTabsConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.horizontalTabsConfig, _HorizontalTabs.config);
|
17
|
+
var HorizontalTabs = /*#__PURE__*/(0, _styledComponents.component)(mergedHorizontalTabsConfig);
|
18
|
+
|
10
19
|
/**
|
11
20
|
* Контейнер вкладок, основной компонент для пользовательской сборки вкладок.
|
12
21
|
*/
|
13
|
-
var Tabs = exports.Tabs =
|
22
|
+
var Tabs = exports.Tabs = function Tabs(_ref) {
|
23
|
+
var orientation = _ref.orientation,
|
24
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
25
|
+
if (orientation === 'vertical') {
|
26
|
+
return _div || (_div = /*#__PURE__*/_react["default"].createElement("div", null, "to be implemented"));
|
27
|
+
}
|
28
|
+
return /*#__PURE__*/_react["default"].createElement(HorizontalTabs, _extends({
|
29
|
+
orientation: orientation
|
30
|
+
}, rest));
|
31
|
+
};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
1
|
+
import { ForwardRefExoticComponent, RefAttributes } from 'react';
|
2
2
|
/**
|
3
3
|
* Контроллер вкладок.
|
4
4
|
* Позволяет использовать клавиши ArrowLeft, ArrowRight, Home, End для навигации по вкладкам.
|
5
5
|
*/
|
6
|
-
export declare const TabsController:
|
6
|
+
export declare const TabsController: ForwardRefExoticComponent<import("@salutejs/plasma-new-hope/styled-components").TabsControllerProps & RefAttributes<HTMLDivElement>>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,15 +1,15 @@
|
|
1
|
-
.
|
2
|
-
.
|
3
|
-
.
|
4
|
-
.
|
5
|
-
.
|
6
|
-
.
|
7
|
-
.
|
8
|
-
.
|
9
|
-
.
|
10
|
-
.
|
11
|
-
.
|
12
|
-
.
|
13
|
-
.
|
14
|
-
.
|
15
|
-
.
|
1
|
+
.HorizontalTabItem_config_xl402n_c1qbla27__fa6ac497{--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
|
+
.HorizontalTabItem_config_xl402n_s1sazr3k__fa6ac497{--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
|
+
.HorizontalTabItem_config_xl402n_d4t8mk9__fa6ac497{--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
|
+
.HorizontalTabItem_config_xl402n_d1hrjiow__fa6ac497{--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
|
+
.HorizontalTabItem_config_xl402n_x1539gzv__fa6ac497{--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
|
+
.HorizontalTabItem_config_xl402n_sikuk77__fa6ac497{--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
|
+
.HorizontalTabItem_config_xl402n_mp3y2ao__fa6ac497{--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
|
+
.HorizontalTabItem_config_xl402n_l1qh9jow__fa6ac497{--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
|
+
.HorizontalTabItem_config_xl402n_h1s7gpc9__fa6ac497{--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
|
+
.HorizontalTabItem_config_xl402n_h13wvabz__fa6ac497{--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
|
+
.HorizontalTabItem_config_xl402n_h1gxsxyj__fa6ac497{--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
|
+
.HorizontalTabItem_config_xl402n_hv3zmfq__fa6ac497{--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
|
+
.HorizontalTabItem_config_xl402n_hwisn6u__fa6ac497{--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
|
+
.HorizontalTabItem_config_xl402n_t19ews1g__fa6ac497{--plasma-tabs-disabled-opacity:0.4;}
|
15
|
+
.HorizontalTabItem_config_xl402n_tosxbtd__fa6ac497{--plasma-tab-item-pilled-border-radius:1.5rem;}
|
@@ -2,15 +2,30 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
+
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
6
|
+
var React = require('react');
|
5
7
|
var plasmaNewHope = require('@salutejs/plasma-new-hope');
|
6
|
-
var
|
8
|
+
var HorizontalTabItem_config = require('./horizontal/HorizontalTabItem.config.js');
|
7
9
|
|
8
|
-
var
|
10
|
+
var _div;
|
11
|
+
var _excluded = ["orientation"];
|
12
|
+
var mergedHorizontalTabItemConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.horizontalTabItemConfig, HorizontalTabItem_config.config);
|
13
|
+
var HorizontalTabItem = /*#__PURE__*/plasmaNewHope.component(mergedHorizontalTabItemConfig);
|
9
14
|
|
10
15
|
/**
|
11
16
|
* Элемент списка, недопустимо использовать вне компонента Tabs.
|
12
17
|
*/
|
13
|
-
var TabItem =
|
18
|
+
var TabItem = function TabItem(_ref) {
|
19
|
+
var _ref$orientation = _ref.orientation,
|
20
|
+
orientation = _ref$orientation === void 0 ? 'horizontal' : _ref$orientation,
|
21
|
+
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
22
|
+
if (orientation === 'vertical') {
|
23
|
+
return _div || (_div = /*#__PURE__*/React.createElement("div", null, "to be implemented"));
|
24
|
+
}
|
25
|
+
return /*#__PURE__*/React.createElement(HorizontalTabItem, _rollupPluginBabelHelpers.extends({
|
26
|
+
orientation: orientation
|
27
|
+
}, rest));
|
28
|
+
};
|
14
29
|
|
15
30
|
exports.TabItem = TabItem;
|
16
31
|
//# sourceMappingURL=TabItem.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabItem.js","sources":["../../../../src-css/components/Tabs/TabItem.tsx"],"sourcesContent":["import
|
1
|
+
{"version":3,"file":"TabItem.js","sources":["../../../../src-css/components/Tabs/TabItem.tsx"],"sourcesContent":["import React from 'react';\nimport {\n horizontalTabItemConfig,\n component,\n mergeConfig,\n TabItemProps,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './horizontal/HorizontalTabItem.config';\n\nconst mergedHorizontalTabItemConfig = mergeConfig(horizontalTabItemConfig, config);\nconst HorizontalTabItem = component(mergedHorizontalTabItemConfig);\n\n/**\n * Элемент списка, недопустимо использовать вне компонента Tabs.\n */\nexport const TabItem = ({ orientation = 'horizontal', ...rest }: TabItemProps) => {\n if (orientation === 'vertical') {\n return <div>to be implemented</div>;\n }\n\n return <HorizontalTabItem orientation={orientation} {...rest} />;\n};\n"],"names":["mergedHorizontalTabItemConfig","mergeConfig","horizontalTabItemConfig","config","HorizontalTabItem","component","TabItem","_ref","_ref$orientation","orientation","rest","_objectWithoutProperties","_excluded","_div","React","createElement","_extends"],"mappings":";;;;;;;;;;;AAUA,IAAMA,6BAA6B,gBAAGC,yBAAW,CAACC,qCAAuB,EAAEC,+BAAM,CAAC,CAAA;AAClF,IAAMC,iBAAiB,gBAAGC,uBAAS,CAACL,6BAA6B,CAAC,CAAA;;AAElE;AACA;AACA;IACaM,OAAO,GAAG,SAAVA,OAAOA,CAAAC,IAAA,EAA8D;AAAA,EAAA,IAAAC,gBAAA,GAAAD,IAAA,CAAxDE,WAAW;AAAXA,IAAAA,WAAW,GAAAD,gBAAA,KAAG,KAAA,CAAA,GAAA,YAAY,GAAAA,gBAAA;AAAKE,IAAAA,IAAI,GAAAC,iDAAA,CAAAJ,IAAA,EAAAK,SAAA,CAAA,CAAA;EACzD,IAAIH,WAAW,KAAK,UAAU,EAAE;IAC5B,OAAAI,IAAA,KAAAA,IAAA,gBAAOC,KAAA,CAAAC,aAAA,CAAK,KAAA,EAAA,IAAA,EAAA,mBAAsB,CAAC,CAAA,CAAA;AACvC,GAAA;AAEA,EAAA,oBAAOD,KAAA,CAAAC,aAAA,CAACX,iBAAiB,EAAAY,iCAAA,CAAA;AAACP,IAAAA,WAAW,EAAEA,WAAAA;GAAiBC,EAAAA,IAAI,CAAG,CAAC,CAAA;AACpE;;;;"}
|
@@ -1,15 +1,15 @@
|
|
1
|
-
.
|
2
|
-
.
|
3
|
-
.
|
4
|
-
.
|
5
|
-
.
|
6
|
-
.
|
7
|
-
.
|
8
|
-
.
|
9
|
-
.
|
10
|
-
.
|
11
|
-
.
|
12
|
-
.
|
13
|
-
.
|
14
|
-
.
|
15
|
-
.
|
1
|
+
.HorizontalTabs_config_17bycx2_csmhmdi__c5e37b1d{--plasma-tabs-arrow-color:var(--text-secondary);--plasma-tabs-background-color:transparent;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tabs-divider-height:0rem;--plasma-tabs-divider-color:transparent;--plasma-tabs-divider-border-radius:0rem;}
|
2
|
+
.HorizontalTabs_config_17bycx2_f1axjhin__c5e37b1d{--plasma-tabs-arrow-color:var(--text-secondary);--plasma-tabs-background-color:var(--surface-transparent-primary);--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tabs-divider-height:0rem;--plasma-tabs-divider-color:transparent;--plasma-tabs-divider-border-radius:0rem;}
|
3
|
+
.HorizontalTabs_config_17bycx2_d1th7ubw__c5e37b1d{--plasma-tabs-arrow-color:var(--text-secondary);--plasma-tabs-background-color:transparent;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tabs-divider-height:0.0625rem;--plasma-tabs-divider-color:var(--surface-transparent-tertiary);--plasma-tabs-divider-border-radius:0.0625rem;}
|
4
|
+
.HorizontalTabs_config_17bycx2_x1y5cvvr__c5e37b1d{--plasma-tabs-border-radius:0.5rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0rem;--plasma-tab-arrow-outer-padding:0.125rem;}
|
5
|
+
.HorizontalTabs_config_17bycx2_s1sxebyk__c5e37b1d{--plasma-tabs-border-radius:0.625rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0rem;--plasma-tab-arrow-outer-padding:0.25rem;}
|
6
|
+
.HorizontalTabs_config_17bycx2_m1npg82v__c5e37b1d{--plasma-tabs-border-radius:0.75rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0rem;--plasma-tab-arrow-outer-padding:0.625rem;}
|
7
|
+
.HorizontalTabs_config_17bycx2_l7r3i4__c5e37b1d{--plasma-tabs-border-radius:0.75rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0rem;--plasma-tab-arrow-outer-padding:0.75rem;}
|
8
|
+
.HorizontalTabs_config_17bycx2_h1tc6k6h__c5e37b1d{--plasma-tabs-border-radius:0.5rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0.25rem;--plasma-tab-arrow-outer-padding:0rem;}
|
9
|
+
.HorizontalTabs_config_17bycx2_h1yxijj0__c5e37b1d{--plasma-tabs-border-radius:0.5rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0.25rem;--plasma-tab-arrow-outer-padding:0rem;}
|
10
|
+
.HorizontalTabs_config_17bycx2_hgyid10__c5e37b1d{--plasma-tabs-border-radius:0.625rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0.375rem;--plasma-tab-arrow-outer-padding:0rem;}
|
11
|
+
.HorizontalTabs_config_17bycx2_hdcoiol__c5e37b1d{--plasma-tabs-border-radius:0.75rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0.5rem;--plasma-tab-arrow-outer-padding:0rem;}
|
12
|
+
.HorizontalTabs_config_17bycx2_h9rmvuc__c5e37b1d{--plasma-tabs-border-radius:0.75rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:1rem;--plasma-tab-arrow-outer-padding:0rem;}
|
13
|
+
.HorizontalTabs_config_17bycx2_tyx4id5__c5e37b1d{--plasma-tabs-container-width:100%;}
|
14
|
+
.HorizontalTabs_config_17bycx2_tp7ddhx__c5e37b1d{--plasma-tabs-disabled-opacity:0.4;}
|
15
|
+
.HorizontalTabs_config_17bycx2_tr3t05m__c5e37b1d{--plasma-tabs-pilled-border-radius:1.625rem;}
|
@@ -2,14 +2,29 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
+
var _rollupPluginBabelHelpers = require('../../_virtual/_rollupPluginBabelHelpers.js');
|
6
|
+
var React = require('react');
|
5
7
|
var plasmaNewHope = require('@salutejs/plasma-new-hope');
|
6
|
-
var
|
8
|
+
var HorizontalTabs_config = require('./horizontal/HorizontalTabs.config.js');
|
9
|
+
|
10
|
+
var _div;
|
11
|
+
var _excluded = ["orientation"];
|
12
|
+
var mergedHorizontalTabsConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.horizontalTabsConfig, HorizontalTabs_config.config);
|
13
|
+
var HorizontalTabs = /*#__PURE__*/plasmaNewHope.component(mergedHorizontalTabsConfig);
|
7
14
|
|
8
|
-
var mergedConfig = /*#__PURE__*/plasmaNewHope.mergeConfig(plasmaNewHope.tabsConfig, Tabs_config.config);
|
9
15
|
/**
|
10
16
|
* Контейнер вкладок, основной компонент для пользовательской сборки вкладок.
|
11
17
|
*/
|
12
|
-
var Tabs =
|
18
|
+
var Tabs = function Tabs(_ref) {
|
19
|
+
var orientation = _ref.orientation,
|
20
|
+
rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
|
21
|
+
if (orientation === 'vertical') {
|
22
|
+
return _div || (_div = /*#__PURE__*/React.createElement("div", null, "to be implemented"));
|
23
|
+
}
|
24
|
+
return /*#__PURE__*/React.createElement(HorizontalTabs, _rollupPluginBabelHelpers.extends({
|
25
|
+
orientation: orientation
|
26
|
+
}, rest));
|
27
|
+
};
|
13
28
|
|
14
29
|
exports.Tabs = Tabs;
|
15
30
|
//# sourceMappingURL=Tabs.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Tabs.js","sources":["../../../../src-css/components/Tabs/Tabs.tsx"],"sourcesContent":["import {
|
1
|
+
{"version":3,"file":"Tabs.js","sources":["../../../../src-css/components/Tabs/Tabs.tsx"],"sourcesContent":["import React from 'react';\nimport { horizontalTabsConfig, component, mergeConfig, TabsProps } from '@salutejs/plasma-new-hope';\n\nimport { config } from './horizontal/HorizontalTabs.config';\n\nconst mergedHorizontalTabsConfig = mergeConfig(horizontalTabsConfig, config);\n\nconst HorizontalTabs = component(mergedHorizontalTabsConfig);\n\n/**\n * Контейнер вкладок, основной компонент для пользовательской сборки вкладок.\n */\nexport const Tabs = ({ orientation, ...rest }: TabsProps) => {\n if (orientation === 'vertical') {\n return <div>to be implemented</div>;\n }\n\n return <HorizontalTabs orientation={orientation} {...rest} />;\n};\n"],"names":["mergedHorizontalTabsConfig","mergeConfig","horizontalTabsConfig","config","HorizontalTabs","component","Tabs","_ref","orientation","rest","_objectWithoutProperties","_excluded","_div","React","createElement","_extends"],"mappings":";;;;;;;;;;;AAKA,IAAMA,0BAA0B,gBAAGC,yBAAW,CAACC,kCAAoB,EAAEC,4BAAM,CAAC,CAAA;AAE5E,IAAMC,cAAc,gBAAGC,uBAAS,CAACL,0BAA0B,CAAC,CAAA;;AAE5D;AACA;AACA;IACaM,IAAI,GAAG,SAAPA,IAAIA,CAAAC,IAAA,EAA4C;AAAA,EAAA,IAAtCC,WAAW,GAAAD,IAAA,CAAXC,WAAW;AAAKC,IAAAA,IAAI,GAAAC,iDAAA,CAAAH,IAAA,EAAAI,SAAA,CAAA,CAAA;EACvC,IAAIH,WAAW,KAAK,UAAU,EAAE;IAC5B,OAAAI,IAAA,KAAAA,IAAA,gBAAOC,KAAA,CAAAC,aAAA,CAAK,KAAA,EAAA,IAAA,EAAA,mBAAsB,CAAC,CAAA,CAAA;AACvC,GAAA;AAEA,EAAA,oBAAOD,KAAA,CAAAC,aAAA,CAACV,cAAc,EAAAW,iCAAA,CAAA;AAACP,IAAAA,WAAW,EAAEA,WAAAA;GAAiBC,EAAAA,IAAI,CAAG,CAAC,CAAA;AACjE;;;;"}
|
@@ -1,31 +1,31 @@
|
|
1
|
-
.
|
2
|
-
.
|
3
|
-
.
|
4
|
-
.
|
5
|
-
.
|
6
|
-
.
|
7
|
-
.
|
8
|
-
.
|
9
|
-
.
|
10
|
-
.
|
11
|
-
.
|
12
|
-
.
|
13
|
-
.
|
14
|
-
.
|
15
|
-
.
|
1
|
+
.HorizontalTabs_config_17bycx2_csmhmdi__c5e37b1d{--plasma-tabs-arrow-color:var(--text-secondary);--plasma-tabs-background-color:transparent;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tabs-divider-height:0rem;--plasma-tabs-divider-color:transparent;--plasma-tabs-divider-border-radius:0rem;}
|
2
|
+
.HorizontalTabs_config_17bycx2_f1axjhin__c5e37b1d{--plasma-tabs-arrow-color:var(--text-secondary);--plasma-tabs-background-color:var(--surface-transparent-primary);--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tabs-divider-height:0rem;--plasma-tabs-divider-color:transparent;--plasma-tabs-divider-border-radius:0rem;}
|
3
|
+
.HorizontalTabs_config_17bycx2_d1th7ubw__c5e37b1d{--plasma-tabs-arrow-color:var(--text-secondary);--plasma-tabs-background-color:transparent;--plasma-tabs-outline-focus-color:var(--surface-accent);--plasma-tabs-divider-height:0.0625rem;--plasma-tabs-divider-color:var(--surface-transparent-tertiary);--plasma-tabs-divider-border-radius:0.0625rem;}
|
4
|
+
.HorizontalTabs_config_17bycx2_x1y5cvvr__c5e37b1d{--plasma-tabs-border-radius:0.5rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0rem;--plasma-tab-arrow-outer-padding:0.125rem;}
|
5
|
+
.HorizontalTabs_config_17bycx2_s1sxebyk__c5e37b1d{--plasma-tabs-border-radius:0.625rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0rem;--plasma-tab-arrow-outer-padding:0.25rem;}
|
6
|
+
.HorizontalTabs_config_17bycx2_m1npg82v__c5e37b1d{--plasma-tabs-border-radius:0.75rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0rem;--plasma-tab-arrow-outer-padding:0.625rem;}
|
7
|
+
.HorizontalTabs_config_17bycx2_l7r3i4__c5e37b1d{--plasma-tabs-border-radius:0.75rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0rem;--plasma-tab-arrow-outer-padding:0.75rem;}
|
8
|
+
.HorizontalTabs_config_17bycx2_h1tc6k6h__c5e37b1d{--plasma-tabs-border-radius:0.5rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0.25rem;--plasma-tab-arrow-outer-padding:0rem;}
|
9
|
+
.HorizontalTabs_config_17bycx2_h1yxijj0__c5e37b1d{--plasma-tabs-border-radius:0.5rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0.25rem;--plasma-tab-arrow-outer-padding:0rem;}
|
10
|
+
.HorizontalTabs_config_17bycx2_hgyid10__c5e37b1d{--plasma-tabs-border-radius:0.625rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0.375rem;--plasma-tab-arrow-outer-padding:0rem;}
|
11
|
+
.HorizontalTabs_config_17bycx2_hdcoiol__c5e37b1d{--plasma-tabs-border-radius:0.75rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:0.5rem;--plasma-tab-arrow-outer-padding:0rem;}
|
12
|
+
.HorizontalTabs_config_17bycx2_h9rmvuc__c5e37b1d{--plasma-tabs-border-radius:0.75rem;--plasma-tabs-width:fit-content;--plasma-tabs-height:auto;--plasma-tab-arrow-inner-padding:1rem;--plasma-tab-arrow-outer-padding:0rem;}
|
13
|
+
.HorizontalTabs_config_17bycx2_tyx4id5__c5e37b1d{--plasma-tabs-container-width:100%;}
|
14
|
+
.HorizontalTabs_config_17bycx2_tp7ddhx__c5e37b1d{--plasma-tabs-disabled-opacity:0.4;}
|
15
|
+
.HorizontalTabs_config_17bycx2_tr3t05m__c5e37b1d{--plasma-tabs-pilled-border-radius:1.625rem;}
|
16
16
|
|
17
|
-
.
|
18
|
-
.
|
19
|
-
.
|
20
|
-
.
|
21
|
-
.
|
22
|
-
.
|
23
|
-
.
|
24
|
-
.
|
25
|
-
.
|
26
|
-
.
|
27
|
-
.
|
28
|
-
.
|
29
|
-
.
|
30
|
-
.
|
31
|
-
.
|
17
|
+
.HorizontalTabItem_config_xl402n_c1qbla27__fa6ac497{--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);}
|
18
|
+
.HorizontalTabItem_config_xl402n_s1sazr3k__fa6ac497{--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);}
|
19
|
+
.HorizontalTabItem_config_xl402n_d4t8mk9__fa6ac497{--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);}
|
20
|
+
.HorizontalTabItem_config_xl402n_d1hrjiow__fa6ac497{--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);}
|
21
|
+
.HorizontalTabItem_config_xl402n_x1539gzv__fa6ac497{--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);}
|
22
|
+
.HorizontalTabItem_config_xl402n_sikuk77__fa6ac497{--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);}
|
23
|
+
.HorizontalTabItem_config_xl402n_mp3y2ao__fa6ac497{--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);}
|
24
|
+
.HorizontalTabItem_config_xl402n_l1qh9jow__fa6ac497{--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);}
|
25
|
+
.HorizontalTabItem_config_xl402n_h1s7gpc9__fa6ac497{--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);}
|
26
|
+
.HorizontalTabItem_config_xl402n_h13wvabz__fa6ac497{--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);}
|
27
|
+
.HorizontalTabItem_config_xl402n_h1gxsxyj__fa6ac497{--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);}
|
28
|
+
.HorizontalTabItem_config_xl402n_hv3zmfq__fa6ac497{--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);}
|
29
|
+
.HorizontalTabItem_config_xl402n_hwisn6u__fa6ac497{--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);}
|
30
|
+
.HorizontalTabItem_config_xl402n_t19ews1g__fa6ac497{--plasma-tabs-disabled-opacity:0.4;}
|
31
|
+
.HorizontalTabItem_config_xl402n_tosxbtd__fa6ac497{--plasma-tab-item-pilled-border-radius:1.5rem;}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TabsController.js","sources":["../../../../src-css/components/Tabs/TabsController.tsx"],"sourcesContent":["import { createTabsController } from '@salutejs/plasma-new-hope';\n\nimport { Tabs } from './Tabs';\nimport { TabItem } from './TabItem';\n\n/**\n * Контроллер вкладок.\n * Позволяет использовать клавиши ArrowLeft, ArrowRight, Home, End для навигации по вкладкам.\n */\nexport const TabsController = createTabsController(Tabs
|
1
|
+
{"version":3,"file":"TabsController.js","sources":["../../../../src-css/components/Tabs/TabsController.tsx"],"sourcesContent":["import { createTabsController, TabItemProps, TabsProps } from '@salutejs/plasma-new-hope';\nimport { ForwardRefExoticComponent, RefAttributes } from 'react';\n\nimport { Tabs } from './Tabs';\nimport { TabItem } from './TabItem';\n\n/**\n * Контроллер вкладок.\n * Позволяет использовать клавиши ArrowLeft, ArrowRight, Home, End для навигации по вкладкам.\n */\nexport const TabsController = createTabsController(\n Tabs as ForwardRefExoticComponent<TabsProps & RefAttributes<HTMLDivElement>>,\n TabItem as ForwardRefExoticComponent<TabItemProps & RefAttributes<HTMLDivElement>>,\n);\n"],"names":["TabsController","createTabsController","Tabs","TabItem"],"mappings":";;;;;;;;AAMA;AACA;AACA;AACA;AACO,IAAMA,cAAc,gBAAGC,kCAAoB,CAC9CC,SAAI,EACJC,eACJ;;;;"}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import './HorizontalTabItem.config_xl402n.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: "c1qbla27",
|
14
|
+
secondary: "s1sazr3k",
|
15
|
+
divider: "d4t8mk9",
|
16
|
+
"default": "d1hrjiow"
|
17
|
+
},
|
18
|
+
size: {
|
19
|
+
xs: "x1539gzv",
|
20
|
+
s: "sikuk77",
|
21
|
+
m: "mp3y2ao",
|
22
|
+
l: "l1qh9jow",
|
23
|
+
h5: "h1s7gpc9",
|
24
|
+
h4: "h13wvabz",
|
25
|
+
h3: "h1gxsxyj",
|
26
|
+
h2: "hv3zmfq",
|
27
|
+
h1: "hwisn6u"
|
28
|
+
},
|
29
|
+
disabled: {
|
30
|
+
"true": "t19ews1g"
|
31
|
+
},
|
32
|
+
pilled: {
|
33
|
+
"true": "tosxbtd"
|
34
|
+
}
|
35
|
+
}
|
36
|
+
};
|
37
|
+
|
38
|
+
exports.config = config;
|
39
|
+
//# sourceMappingURL=HorizontalTabItem.config.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"HorizontalTabItem.config.js","sources":["../../../../../src-css/components/Tabs/horizontal/HorizontalTabItem.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,UAAA;AACDC,MAAAA,OAAO,EAyBN,SAAA;MACDC,SAAO,EAAA,UAAA;KAyBV;AACDL,IAAAA,IAAI,EAAE;AACFM,MAAAA,EAAE,EAgBD,UAAA;AACDC,MAAAA,CAAC,EAgBA,SAAA;AACDC,MAAAA,CAAC,EAgBA,SAAA;AACDC,MAAAA,CAAC,EAgBA,UAAA;AACDC,MAAAA,EAAE,EAcD,UAAA;AACDC,MAAAA,EAAE,EAcD,UAAA;AACDC,MAAAA,EAAE,EAcD,UAAA;AACDC,MAAAA,EAAE,EAcD,SAAA;AACDC,MAAAA,EAAE,EAAA,SAAA;KAeL;AACDC,IAAAA,QAAQ,EAAE;MACNC,MAAI,EAAA,UAAA;KAGP;AACDC,IAAAA,MAAM,EAAE;MACJD,MAAI,EAAA,SAAA;AAGR,KAAA;AACJ,GAAA;AACJ;;;;"}
|