@alfalab/core-components-tabs 7.1.1 → 7.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/primary-tablist/Component.d.ts +2 -4
- package/components/primary-tablist/Component.desktop.js +4 -4
- package/components/primary-tablist/Component.js +3 -3
- package/components/primary-tablist/Component.mobile.d.ts +1 -1
- package/components/primary-tablist/Component.mobile.js +5 -5
- package/components/primary-tablist/Component.responsive.js +4 -4
- package/components/primary-tablist/index.css +22 -22
- package/components/primary-tablist/mobile.css +77 -69
- package/components/scrollable-container/Component.d.ts +1 -1
- package/components/scrollable-container/Component.js +1 -1
- package/components/scrollable-container/index.css +5 -5
- package/components/secondary-tablist/Component.d.ts +2 -6
- package/components/secondary-tablist/Component.desktop.d.ts +1 -1
- package/components/secondary-tablist/Component.desktop.js +3 -3
- package/components/secondary-tablist/Component.js +2 -2
- package/components/secondary-tablist/Component.mobile.d.ts +1 -1
- package/components/secondary-tablist/Component.mobile.js +4 -4
- package/components/secondary-tablist/Component.responsive.js +3 -3
- package/components/secondary-tablist/index.css +11 -11
- package/components/secondary-tablist/mobile.css +65 -57
- package/components/tab/Component.js +1 -1
- package/components/tab/index.css +3 -3
- package/components/tabs/Component.d.ts +1 -1
- package/components/tabs/Component.desktop.d.ts +1 -1
- package/components/tabs/Component.desktop.js +5 -5
- package/components/tabs/Component.mobile.d.ts +1 -1
- package/components/tabs/Component.mobile.js +5 -5
- package/components/tabs/Component.responsive.d.ts +1 -1
- package/components/tabs/Component.responsive.js +5 -5
- package/cssm/components/primary-tablist/Component.d.ts +2 -4
- package/cssm/components/primary-tablist/Component.desktop.js +3 -3
- package/cssm/components/primary-tablist/Component.js +3 -3
- package/cssm/components/primary-tablist/Component.mobile.d.ts +1 -1
- package/cssm/components/primary-tablist/Component.mobile.js +3 -3
- package/cssm/components/primary-tablist/Component.responsive.js +3 -3
- package/cssm/components/primary-tablist/index.module.css +2 -2
- package/cssm/components/scrollable-container/Component.d.ts +1 -1
- package/cssm/components/secondary-tablist/Component.d.ts +2 -6
- package/cssm/components/secondary-tablist/Component.desktop.d.ts +1 -1
- package/cssm/components/secondary-tablist/Component.desktop.js +2 -2
- package/cssm/components/secondary-tablist/Component.js +2 -2
- package/cssm/components/secondary-tablist/Component.mobile.d.ts +1 -1
- package/cssm/components/secondary-tablist/Component.mobile.js +2 -2
- package/cssm/components/secondary-tablist/Component.responsive.js +2 -2
- package/cssm/components/tabs/Component.d.ts +1 -1
- package/cssm/components/tabs/Component.desktop.d.ts +1 -1
- package/cssm/components/tabs/Component.desktop.js +3 -3
- package/cssm/components/tabs/Component.mobile.d.ts +1 -1
- package/cssm/components/tabs/Component.mobile.js +3 -3
- package/cssm/components/tabs/Component.responsive.d.ts +1 -1
- package/cssm/components/tabs/Component.responsive.js +3 -3
- package/cssm/desktop.js +4 -4
- package/cssm/index.js +4 -4
- package/cssm/mobile.js +4 -4
- package/cssm/responsive.js +4 -4
- package/cssm/{tslib.es6-ce870b46.d.ts → tslib.es6-9682e485.d.ts} +8 -4
- package/{tslib.es6-fcb75541.js → cssm/tslib.es6-9682e485.js} +1 -1
- package/cssm/typings.d.ts +1 -1
- package/desktop.js +6 -6
- package/esm/components/primary-tablist/Component.d.ts +2 -4
- package/esm/components/primary-tablist/Component.desktop.js +4 -4
- package/esm/components/primary-tablist/Component.js +3 -3
- package/esm/components/primary-tablist/Component.mobile.d.ts +1 -1
- package/esm/components/primary-tablist/Component.mobile.js +5 -5
- package/esm/components/primary-tablist/Component.responsive.js +4 -4
- package/esm/components/primary-tablist/index.css +22 -22
- package/esm/components/primary-tablist/mobile.css +77 -69
- package/esm/components/scrollable-container/Component.d.ts +1 -1
- package/esm/components/scrollable-container/Component.js +1 -1
- package/esm/components/scrollable-container/index.css +5 -5
- package/esm/components/secondary-tablist/Component.d.ts +2 -6
- package/esm/components/secondary-tablist/Component.desktop.d.ts +1 -1
- package/esm/components/secondary-tablist/Component.desktop.js +3 -3
- package/esm/components/secondary-tablist/Component.js +2 -2
- package/esm/components/secondary-tablist/Component.mobile.d.ts +1 -1
- package/esm/components/secondary-tablist/Component.mobile.js +4 -4
- package/esm/components/secondary-tablist/Component.responsive.js +3 -3
- package/esm/components/secondary-tablist/index.css +11 -11
- package/esm/components/secondary-tablist/mobile.css +65 -57
- package/esm/components/tab/Component.js +1 -1
- package/esm/components/tab/index.css +3 -3
- package/esm/components/tabs/Component.d.ts +1 -1
- package/esm/components/tabs/Component.desktop.d.ts +1 -1
- package/esm/components/tabs/Component.desktop.js +5 -5
- package/esm/components/tabs/Component.mobile.d.ts +1 -1
- package/esm/components/tabs/Component.mobile.js +5 -5
- package/esm/components/tabs/Component.responsive.d.ts +1 -1
- package/esm/components/tabs/Component.responsive.js +5 -5
- package/esm/desktop.js +5 -5
- package/esm/index.js +5 -5
- package/esm/index.module-7ca9e703.js +4 -0
- package/esm/index.module-e51ae308.js +4 -0
- package/esm/mobile.js +5 -5
- package/esm/responsive.js +5 -5
- package/{tslib.es6-fcb75541.d.ts → esm/tslib.es6-954a2f25.d.ts} +8 -4
- package/esm/{tslib.es6-444ae64e.js → tslib.es6-954a2f25.js} +1 -1
- package/esm/typings.d.ts +1 -1
- package/index.js +6 -6
- package/index.module-7a6d77c2.js +6 -0
- package/index.module-d59767dd.js +6 -0
- package/mobile.js +6 -6
- package/modern/components/primary-tablist/Component.d.ts +2 -4
- package/modern/components/primary-tablist/Component.desktop.js +4 -4
- package/modern/components/primary-tablist/Component.js +4 -4
- package/modern/components/primary-tablist/Component.mobile.d.ts +1 -1
- package/modern/components/primary-tablist/Component.mobile.js +5 -5
- package/modern/components/primary-tablist/Component.responsive.js +4 -4
- package/modern/components/primary-tablist/index.css +22 -22
- package/modern/components/primary-tablist/mobile.css +77 -69
- package/modern/components/scrollable-container/Component.d.ts +1 -1
- package/modern/components/scrollable-container/Component.js +1 -1
- package/modern/components/scrollable-container/index.css +5 -5
- package/modern/components/secondary-tablist/Component.d.ts +2 -6
- package/modern/components/secondary-tablist/Component.desktop.d.ts +1 -1
- package/modern/components/secondary-tablist/Component.desktop.js +3 -3
- package/modern/components/secondary-tablist/Component.js +2 -2
- package/modern/components/secondary-tablist/Component.mobile.d.ts +1 -1
- package/modern/components/secondary-tablist/Component.mobile.js +4 -4
- package/modern/components/secondary-tablist/Component.responsive.js +3 -3
- package/modern/components/secondary-tablist/index.css +11 -11
- package/modern/components/secondary-tablist/mobile.css +65 -57
- package/modern/components/tab/Component.js +1 -1
- package/modern/components/tab/index.css +3 -3
- package/modern/components/tabs/Component.d.ts +1 -1
- package/modern/components/tabs/Component.desktop.d.ts +1 -1
- package/modern/components/tabs/Component.desktop.js +5 -5
- package/modern/components/tabs/Component.mobile.d.ts +1 -1
- package/modern/components/tabs/Component.mobile.js +5 -5
- package/modern/components/tabs/Component.responsive.d.ts +1 -1
- package/modern/components/tabs/Component.responsive.js +5 -5
- package/modern/desktop.js +4 -4
- package/modern/index.js +4 -4
- package/modern/index.module-7ca9e703.js +4 -0
- package/modern/index.module-e51ae308.js +4 -0
- package/modern/mobile.js +4 -4
- package/modern/responsive.js +4 -4
- package/modern/typings.d.ts +1 -1
- package/package.json +3 -3
- package/responsive.js +6 -6
- package/{esm/tslib.es6-444ae64e.d.ts → tslib.es6-3a2676d6.d.ts} +8 -4
- package/{cssm/tslib.es6-ce870b46.js → tslib.es6-3a2676d6.js} +1 -1
- package/typings.d.ts +1 -1
- package/esm/index.module-17321b1b.js +0 -4
- package/esm/index.module-198d371d.js +0 -4
- package/index.module-3530e300.js +0 -6
- package/index.module-c424649c.js +0 -6
- package/modern/index.module-17321b1b.js +0 -4
- package/modern/index.module-198d371d.js +0 -4
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Styles } from "../../typings";
|
|
3
|
-
declare const PrimaryTabList: ({ size, styles, className, containerClassName, titles, selectedId, scrollable, fullWidthScroll, onChange, dataTestId, }:
|
|
4
|
-
titles?: import("../../typings").TabListTitle[] | undefined;
|
|
5
|
-
} & Styles) => JSX.Element;
|
|
2
|
+
import { Styles, TabListProps } from "../../typings";
|
|
3
|
+
declare const PrimaryTabList: ({ size, styles, className, containerClassName, titles, selectedId, scrollable, fullWidthScroll, onChange, dataTestId, }: TabListProps & Styles) => JSX.Element;
|
|
6
4
|
export { PrimaryTabList };
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-3a2676d6.js');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
require('@alfalab/core-components-keyboard-focusable');
|
|
8
7
|
require('classnames');
|
|
8
|
+
require('@alfalab/core-components-keyboard-focusable');
|
|
9
|
+
require('../../useTabs.js');
|
|
9
10
|
require('compute-scroll-into-view');
|
|
10
11
|
require('../scrollable-container/Component.js');
|
|
11
|
-
require('../../useTabs.js');
|
|
12
12
|
var components_primaryTablist_Component = require('./Component.js');
|
|
13
|
-
var index_module = require('../../index.module-
|
|
13
|
+
var index_module = require('../../index.module-7a6d77c2.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
16
|
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-3a2676d6.js');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
var coreComponentsKeyboardFocusable = require('@alfalab/core-components-keyboard-focusable');
|
|
8
7
|
var cn = require('classnames');
|
|
8
|
+
var coreComponentsKeyboardFocusable = require('@alfalab/core-components-keyboard-focusable');
|
|
9
|
+
var useTabs = require('../../useTabs.js');
|
|
9
10
|
require('compute-scroll-into-view');
|
|
10
11
|
var components_scrollableContainer_Component = require('../scrollable-container/Component.js');
|
|
11
|
-
var useTabs = require('../../useTabs.js');
|
|
12
12
|
|
|
13
13
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
14
14
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TabListProps } from "../../typings";
|
|
3
3
|
type PrimaryTabListMobileProps = Omit<TabListProps, 'size'>;
|
|
4
|
-
declare const PrimaryTabListMobile: ({ className, ...restProps }:
|
|
4
|
+
declare const PrimaryTabListMobile: ({ className, ...restProps }: PrimaryTabListMobileProps) => JSX.Element;
|
|
5
5
|
export { PrimaryTabListMobileProps, PrimaryTabListMobile };
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-3a2676d6.js');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
require('@alfalab/core-components-keyboard-focusable');
|
|
8
7
|
var cn = require('classnames');
|
|
8
|
+
require('@alfalab/core-components-keyboard-focusable');
|
|
9
|
+
require('../../useTabs.js');
|
|
9
10
|
require('compute-scroll-into-view');
|
|
10
11
|
require('../scrollable-container/Component.js');
|
|
11
|
-
require('../../useTabs.js');
|
|
12
12
|
var components_primaryTablist_Component = require('./Component.js');
|
|
13
|
-
var index_module = require('../../index.module-
|
|
13
|
+
var index_module = require('../../index.module-7a6d77c2.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
16
|
|
|
17
17
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
18
18
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
19
19
|
|
|
20
|
-
var mobileStyles = {"title":"
|
|
20
|
+
var mobileStyles = {"title":"tabs__title_1d7bc tabs__title_8sfek","mobile":"tabs__mobile_1d7bc"};
|
|
21
21
|
require('./mobile.css')
|
|
22
22
|
|
|
23
23
|
var styles = tslib_es6.__assign(tslib_es6.__assign({}, index_module.commonStyles), mobileStyles);
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-3a2676d6.js');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
require('@alfalab/core-components-keyboard-focusable');
|
|
8
7
|
require('classnames');
|
|
8
|
+
require('@alfalab/core-components-keyboard-focusable');
|
|
9
|
+
require('../../useTabs.js');
|
|
9
10
|
require('compute-scroll-into-view');
|
|
10
11
|
require('../scrollable-container/Component.js');
|
|
11
|
-
require('../../useTabs.js');
|
|
12
12
|
require('./Component.js');
|
|
13
|
-
require('../../index.module-
|
|
13
|
+
require('../../index.module-7a6d77c2.js');
|
|
14
14
|
var components_primaryTablist_Component_desktop = require('./Component.desktop.js');
|
|
15
15
|
var hooks = require('@alfalab/hooks');
|
|
16
16
|
var components_primaryTablist_Component_mobile = require('./Component.mobile.js');
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 141st */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-accent: #ef3124;
|
|
4
4
|
--color-light-border-link: #007aff;
|
|
5
5
|
--color-light-border-primary: #dbdee1;
|
|
6
6
|
--color-light-text-primary: #0b1f35;
|
|
7
|
-
--color-light-text-secondary:
|
|
8
|
-
--color-light-text-tertiary:
|
|
7
|
+
--color-light-text-secondary: rgba(11, 31, 53, 0.7);
|
|
8
|
+
--color-light-text-tertiary: rgba(11, 31, 53, 0.3);
|
|
9
9
|
}
|
|
10
10
|
:root {
|
|
11
11
|
|
|
@@ -83,12 +83,12 @@
|
|
|
83
83
|
|
|
84
84
|
/* size xl */
|
|
85
85
|
}
|
|
86
|
-
.
|
|
86
|
+
.tabs__component_8sfek {
|
|
87
87
|
position: relative;
|
|
88
88
|
display: inline-flex;
|
|
89
89
|
min-width: 100%
|
|
90
90
|
}
|
|
91
|
-
.
|
|
91
|
+
.tabs__component_8sfek:before {
|
|
92
92
|
content: '';
|
|
93
93
|
display: block;
|
|
94
94
|
position: absolute;
|
|
@@ -97,15 +97,15 @@
|
|
|
97
97
|
width: 100%;
|
|
98
98
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
99
99
|
}
|
|
100
|
-
.
|
|
100
|
+
.tabs__fullWidthScroll_8sfek {
|
|
101
101
|
min-width: calc(100% - 2 * var(--gap-m));
|
|
102
102
|
margin: 0 var(--gap-m);
|
|
103
103
|
}
|
|
104
|
-
.
|
|
104
|
+
.tabs__container_8sfek {
|
|
105
105
|
position: relative;
|
|
106
106
|
overflow: hidden;
|
|
107
107
|
}
|
|
108
|
-
.
|
|
108
|
+
.tabs__title_8sfek {
|
|
109
109
|
display: flex;
|
|
110
110
|
align-items: center;
|
|
111
111
|
height: 100%;
|
|
@@ -123,22 +123,22 @@
|
|
|
123
123
|
cursor: pointer;
|
|
124
124
|
outline: none
|
|
125
125
|
}
|
|
126
|
-
.
|
|
126
|
+
.tabs__title_8sfek:not(.tabs__disabled_8sfek):hover {
|
|
127
127
|
color: var(--primary-tablist-hover-color);
|
|
128
128
|
}
|
|
129
|
-
.
|
|
129
|
+
.tabs__focused_8sfek {
|
|
130
130
|
outline: 2px solid var(--focus-color);
|
|
131
131
|
outline-offset: 2px;
|
|
132
132
|
}
|
|
133
|
-
.
|
|
133
|
+
.tabs__selected_8sfek {
|
|
134
134
|
cursor: default;
|
|
135
135
|
color: var(--primary-tablist-selected-color);
|
|
136
136
|
}
|
|
137
|
-
.
|
|
137
|
+
.tabs__disabled_8sfek {
|
|
138
138
|
cursor: var(--disabled-cursor);
|
|
139
139
|
color: var(--primary-tablist-disabled-color);
|
|
140
140
|
}
|
|
141
|
-
.
|
|
141
|
+
.tabs__line_8sfek {
|
|
142
142
|
position: absolute;
|
|
143
143
|
height: 3px;
|
|
144
144
|
bottom: 0;
|
|
@@ -147,46 +147,46 @@
|
|
|
147
147
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
148
148
|
}
|
|
149
149
|
/* sizes */
|
|
150
|
-
.
|
|
150
|
+
.tabs__s_8sfek .tabs__title_8sfek, .tabs__xs_8sfek .tabs__title_8sfek, .tabs__xxs_8sfek .tabs__title_8sfek {
|
|
151
151
|
padding: var(--primary-tablist-s-padding);
|
|
152
152
|
font-size: var(--primary-tablist-s-font-size);
|
|
153
153
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
154
154
|
font-family: var(--primary-tablist-s-font-family);
|
|
155
155
|
line-height: 24px;
|
|
156
156
|
}
|
|
157
|
-
.
|
|
157
|
+
.tabs__s_8sfek .tabs__title_8sfek + .tabs__title_8sfek, .tabs__xs_8sfek .tabs__title_8sfek + .tabs__title_8sfek, .tabs__xxs_8sfek .tabs__title_8sfek + .tabs__title_8sfek {
|
|
158
158
|
margin-left: var(--primary-tablist-s-gaps);
|
|
159
159
|
}
|
|
160
|
-
.
|
|
160
|
+
.tabs__m_8sfek .tabs__title_8sfek {
|
|
161
161
|
padding: var(--primary-tablist-m-padding);
|
|
162
162
|
font-size: var(--primary-tablist-m-font-size);
|
|
163
163
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
164
164
|
font-family: var(--primary-tablist-m-font-family);
|
|
165
165
|
line-height: 24px;
|
|
166
166
|
}
|
|
167
|
-
.
|
|
167
|
+
.tabs__m_8sfek .tabs__title_8sfek + .tabs__title_8sfek {
|
|
168
168
|
margin-left: var(--primary-tablist-m-gaps);
|
|
169
169
|
}
|
|
170
|
-
.
|
|
170
|
+
.tabs__l_8sfek .tabs__title_8sfek {
|
|
171
171
|
padding: var(--primary-tablist-l-padding);
|
|
172
172
|
font-size: var(--primary-tablist-l-font-size);
|
|
173
173
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
174
174
|
font-family: var(--primary-tablist-l-font-family);
|
|
175
175
|
line-height: 24px;
|
|
176
176
|
}
|
|
177
|
-
.
|
|
177
|
+
.tabs__l_8sfek .tabs__title_8sfek + .tabs__title_8sfek {
|
|
178
178
|
margin-left: var(--primary-tablist-l-gaps);
|
|
179
179
|
}
|
|
180
|
-
.
|
|
180
|
+
.tabs__xl_8sfek .tabs__title_8sfek {
|
|
181
181
|
padding: var(--primary-tablist-xl-padding);
|
|
182
182
|
font-size: var(--primary-tablist-xl-font-size);
|
|
183
183
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
184
184
|
font-family: var(--primary-tablist-xl-font-family);
|
|
185
185
|
line-height: 32px;
|
|
186
186
|
}
|
|
187
|
-
.
|
|
187
|
+
.tabs__xl_8sfek .tabs__title_8sfek + .tabs__title_8sfek {
|
|
188
188
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
189
189
|
}
|
|
190
|
-
.
|
|
190
|
+
.tabs__rightAddons_8sfek {
|
|
191
191
|
margin-left: var(--gap-xs);
|
|
192
192
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ccv9 */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
--color-light-border-link: #007aff;
|
|
7
7
|
--color-light-border-primary: #dbdee1;
|
|
8
8
|
--color-light-text-primary: #0b1f35;
|
|
9
|
-
--color-light-text-secondary:
|
|
10
|
-
--color-light-text-tertiary:
|
|
9
|
+
--color-light-text-secondary: rgba(11, 31, 53, 0.7);
|
|
10
|
+
--color-light-text-tertiary: rgba(11, 31, 53, 0.3);
|
|
11
11
|
}:root {
|
|
12
12
|
}:root {
|
|
13
13
|
|
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
/* size l */
|
|
89
89
|
|
|
90
90
|
/* size xl */
|
|
91
|
-
}.
|
|
91
|
+
}.tabs__component_8sfek {
|
|
92
92
|
position: relative;
|
|
93
93
|
display: inline-flex;
|
|
94
94
|
min-width: 100%
|
|
95
|
-
}.
|
|
95
|
+
}.tabs__component_8sfek:before {
|
|
96
96
|
content: '';
|
|
97
97
|
display: block;
|
|
98
98
|
position: absolute;
|
|
@@ -100,13 +100,13 @@
|
|
|
100
100
|
height: 1px;
|
|
101
101
|
width: 100%;
|
|
102
102
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
103
|
-
}.
|
|
103
|
+
}.tabs__fullWidthScroll_8sfek {
|
|
104
104
|
min-width: calc(100% - 2 * var(--gap-m));
|
|
105
105
|
margin: 0 var(--gap-m);
|
|
106
|
-
}.
|
|
106
|
+
}.tabs__container_8sfek {
|
|
107
107
|
position: relative;
|
|
108
108
|
overflow: hidden;
|
|
109
|
-
}.
|
|
109
|
+
}.tabs__title_8sfek {
|
|
110
110
|
display: flex;
|
|
111
111
|
align-items: center;
|
|
112
112
|
height: 100%;
|
|
@@ -123,57 +123,57 @@
|
|
|
123
123
|
user-select: none;
|
|
124
124
|
cursor: pointer;
|
|
125
125
|
outline: none
|
|
126
|
-
}.
|
|
126
|
+
}.tabs__title_8sfek:not(.tabs__disabled_8sfek):hover {
|
|
127
127
|
color: var(--primary-tablist-hover-color);
|
|
128
|
-
}.
|
|
128
|
+
}.tabs__focused_8sfek {
|
|
129
129
|
outline: 2px solid var(--focus-color);
|
|
130
130
|
outline-offset: 2px;
|
|
131
|
-
}.
|
|
131
|
+
}.tabs__selected_8sfek {
|
|
132
132
|
cursor: default;
|
|
133
133
|
color: var(--primary-tablist-selected-color);
|
|
134
|
-
}.
|
|
134
|
+
}.tabs__disabled_8sfek {
|
|
135
135
|
cursor: var(--disabled-cursor);
|
|
136
136
|
color: var(--primary-tablist-disabled-color);
|
|
137
|
-
}.
|
|
137
|
+
}.tabs__line_8sfek {
|
|
138
138
|
position: absolute;
|
|
139
139
|
height: 3px;
|
|
140
140
|
bottom: 0;
|
|
141
141
|
left: 0;
|
|
142
142
|
background-color: var(--primary-tablist-line-color);
|
|
143
143
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
144
|
-
}/* sizes */.
|
|
144
|
+
}/* sizes */.tabs__s_8sfek .tabs__title_8sfek, .tabs__xs_8sfek .tabs__title_8sfek, .tabs__xxs_8sfek .tabs__title_8sfek {
|
|
145
145
|
padding: var(--primary-tablist-s-padding);
|
|
146
146
|
font-size: var(--primary-tablist-s-font-size);
|
|
147
147
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
148
148
|
font-family: var(--primary-tablist-s-font-family);
|
|
149
149
|
line-height: 24px;
|
|
150
|
-
}.
|
|
150
|
+
}.tabs__s_8sfek .tabs__title_8sfek + .tabs__title_8sfek, .tabs__xs_8sfek .tabs__title_8sfek + .tabs__title_8sfek, .tabs__xxs_8sfek .tabs__title_8sfek + .tabs__title_8sfek {
|
|
151
151
|
margin-left: var(--primary-tablist-s-gaps);
|
|
152
|
-
}.
|
|
152
|
+
}.tabs__m_8sfek .tabs__title_8sfek {
|
|
153
153
|
padding: var(--primary-tablist-m-padding);
|
|
154
154
|
font-size: var(--primary-tablist-m-font-size);
|
|
155
155
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
156
156
|
font-family: var(--primary-tablist-m-font-family);
|
|
157
157
|
line-height: 24px;
|
|
158
|
-
}.
|
|
158
|
+
}.tabs__m_8sfek .tabs__title_8sfek + .tabs__title_8sfek {
|
|
159
159
|
margin-left: var(--primary-tablist-m-gaps);
|
|
160
|
-
}.
|
|
160
|
+
}.tabs__l_8sfek .tabs__title_8sfek {
|
|
161
161
|
padding: var(--primary-tablist-l-padding);
|
|
162
162
|
font-size: var(--primary-tablist-l-font-size);
|
|
163
163
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
164
164
|
font-family: var(--primary-tablist-l-font-family);
|
|
165
165
|
line-height: 24px;
|
|
166
|
-
}.
|
|
166
|
+
}.tabs__l_8sfek .tabs__title_8sfek + .tabs__title_8sfek {
|
|
167
167
|
margin-left: var(--primary-tablist-l-gaps);
|
|
168
|
-
}.
|
|
168
|
+
}.tabs__xl_8sfek .tabs__title_8sfek {
|
|
169
169
|
padding: var(--primary-tablist-xl-padding);
|
|
170
170
|
font-size: var(--primary-tablist-xl-font-size);
|
|
171
171
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
172
172
|
font-family: var(--primary-tablist-xl-font-family);
|
|
173
173
|
line-height: 32px;
|
|
174
|
-
}.
|
|
174
|
+
}.tabs__xl_8sfek .tabs__title_8sfek + .tabs__title_8sfek {
|
|
175
175
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
176
|
-
}.
|
|
176
|
+
}.tabs__rightAddons_8sfek {
|
|
177
177
|
margin-left: var(--gap-xs);
|
|
178
178
|
}
|
|
179
179
|
:root {
|
|
@@ -392,26 +392,24 @@
|
|
|
392
392
|
--color-dark-specialbg-overlay-fallback: #070707;
|
|
393
393
|
--color-dark-specialbg-primary-grouped: #0b1f35;
|
|
394
394
|
--color-dark-specialbg-secondary-grouped: #233549;
|
|
395
|
+
--color-dark-specialbg-secondary-transparent: rgba(255, 255, 255, 0.1);
|
|
396
|
+
--color-dark-specialbg-secondary-transparent-inverted: rgba(11, 31, 53, 0.05);
|
|
395
397
|
--color-dark-specialbg-tertiary-grouped: #3c4c5d;
|
|
398
|
+
--color-dark-specialbg-tertiary-transparent: rgba(255, 255, 255, 0.2);
|
|
399
|
+
--color-dark-specialbg-tertiary-transparent-inverted: rgba(11, 31, 53, 0.1);
|
|
396
400
|
--color-dark-text-accent: #ef3124;
|
|
397
401
|
--color-dark-text-attention: #de6a00;
|
|
398
|
-
--color-dark-text-disabled:
|
|
399
|
-
--color-dark-text-disabled-inverted:
|
|
400
|
-
--color-dark-text-disabled-inverted-transparent: rgba(11, 31, 53, 0.15);
|
|
401
|
-
--color-dark-text-disabled-transparent: rgba(255, 255, 255, 0.25);
|
|
402
|
+
--color-dark-text-disabled: rgba(255, 255, 255, 0.25);
|
|
403
|
+
--color-dark-text-disabled-inverted: rgba(11, 31, 53, 0.15);
|
|
402
404
|
--color-dark-text-link: #007aff;
|
|
403
405
|
--color-dark-text-negative: #d91d0b;
|
|
404
406
|
--color-dark-text-positive: #13a463;
|
|
405
407
|
--color-dark-text-primary: #fff;
|
|
406
408
|
--color-dark-text-primary-inverted: #0b1f35;
|
|
407
|
-
--color-dark-text-secondary:
|
|
408
|
-
--color-dark-text-secondary-inverted:
|
|
409
|
-
--color-dark-text-
|
|
410
|
-
--color-dark-text-
|
|
411
|
-
--color-dark-text-tertiary: #6d7986;
|
|
412
|
-
--color-dark-text-tertiary-inverted: #b6bcc3;
|
|
413
|
-
--color-dark-text-tertiary-inverted-transparent: rgba(11, 31, 53, 0.3);
|
|
414
|
-
--color-dark-text-tertiary-transparent: rgba(255, 255, 255, 0.4);
|
|
409
|
+
--color-dark-text-secondary: rgba(255, 255, 255, 0.7);
|
|
410
|
+
--color-dark-text-secondary-inverted: rgba(11, 31, 53, 0.7);
|
|
411
|
+
--color-dark-text-tertiary: rgba(255, 255, 255, 0.4);
|
|
412
|
+
--color-dark-text-tertiary-inverted: rgba(11, 31, 53, 0.3);
|
|
415
413
|
--color-light-bg-accent: #ef3124;
|
|
416
414
|
--color-light-bg-attention-muted: #fff3e0;
|
|
417
415
|
--color-light-bg-info: #d6e8fc;
|
|
@@ -458,26 +456,24 @@
|
|
|
458
456
|
--color-light-specialbg-overlay-fallback: #5c5c5c;
|
|
459
457
|
--color-light-specialbg-primary-grouped: #f3f4f5;
|
|
460
458
|
--color-light-specialbg-secondary-grouped: #fff;
|
|
459
|
+
--color-light-specialbg-secondary-transparent: rgba(11, 31, 53, 0.05);
|
|
460
|
+
--color-light-specialbg-secondary-transparent-inverted: rgba(255, 255, 255, 0.1);
|
|
461
461
|
--color-light-specialbg-tertiary-grouped: #f3f4f5;
|
|
462
|
+
--color-light-specialbg-tertiary-transparent: rgba(11, 31, 53, 0.1);
|
|
463
|
+
--color-light-specialbg-tertiary-transparent-inverted: rgba(255, 255, 255, 0.2);
|
|
462
464
|
--color-light-text-accent: #ef3124;
|
|
463
465
|
--color-light-text-attention: #de6a00;
|
|
464
|
-
--color-light-text-disabled:
|
|
465
|
-
--color-light-text-disabled-inverted:
|
|
466
|
-
--color-light-text-disabled-inverted-transparent: rgba(255, 255, 255, 0.25);
|
|
467
|
-
--color-light-text-disabled-transparent: rgba(11, 31, 53, 0.15);
|
|
466
|
+
--color-light-text-disabled: rgba(11, 31, 53, 0.15);
|
|
467
|
+
--color-light-text-disabled-inverted: rgba(255, 255, 255, 0.25);
|
|
468
468
|
--color-light-text-link: #007aff;
|
|
469
469
|
--color-light-text-negative: #d91d0b;
|
|
470
470
|
--color-light-text-positive: #13a463;
|
|
471
471
|
--color-light-text-primary: #0b1f35;
|
|
472
472
|
--color-light-text-primary-inverted: #fff;
|
|
473
|
-
--color-light-text-secondary:
|
|
474
|
-
--color-light-text-secondary-inverted:
|
|
475
|
-
--color-light-text-
|
|
476
|
-
--color-light-text-
|
|
477
|
-
--color-light-text-tertiary: #b6bcc3;
|
|
478
|
-
--color-light-text-tertiary-inverted: #6d7986;
|
|
479
|
-
--color-light-text-tertiary-inverted-transparent: rgba(255, 255, 255, 0.4);
|
|
480
|
-
--color-light-text-tertiary-transparent: rgba(11, 31, 53, 0.3);
|
|
473
|
+
--color-light-text-secondary: rgba(11, 31, 53, 0.7);
|
|
474
|
+
--color-light-text-secondary-inverted: rgba(255, 255, 255, 0.7);
|
|
475
|
+
--color-light-text-tertiary: rgba(11, 31, 53, 0.3);
|
|
476
|
+
--color-light-text-tertiary-inverted: rgba(255, 255, 255, 0.4);
|
|
481
477
|
--color-static-bg-accent: #ef3124;
|
|
482
478
|
--color-static-bg-primary-dark: #0b1f35;
|
|
483
479
|
--color-static-bg-primary-light: #fff;
|
|
@@ -494,14 +490,10 @@
|
|
|
494
490
|
--color-static-text-accent: #ef3124;
|
|
495
491
|
--color-static-text-primary-dark: #0b1f35;
|
|
496
492
|
--color-static-text-primary-light: #fff;
|
|
497
|
-
--color-static-text-secondary-dark:
|
|
498
|
-
--color-static-text-secondary-
|
|
499
|
-
--color-static-text-
|
|
500
|
-
--color-static-text-
|
|
501
|
-
--color-static-text-tertiary-dark: #b6bcc3;
|
|
502
|
-
--color-static-text-tertiary-dark-transparent: rgba(11, 31, 53, 0.3);
|
|
503
|
-
--color-static-text-tertiary-light: #6d7986;
|
|
504
|
-
--color-static-text-tertiary-light-transparent: rgba(255, 255, 255, 0.4);
|
|
493
|
+
--color-static-text-secondary-dark: rgba(11, 31, 53, 0.6);
|
|
494
|
+
--color-static-text-secondary-light: rgba(255, 255, 255, 0.7);
|
|
495
|
+
--color-static-text-tertiary-dark: rgba(11, 31, 53, 0.3);
|
|
496
|
+
--color-static-text-tertiary-light: rgba(255, 255, 255, 0.4);
|
|
505
497
|
--color-dark-bg-accent-alpha-30: rgba(239, 49, 36, 0.3);
|
|
506
498
|
--color-dark-bg-accent-shade-15: rgb(203, 42, 31);
|
|
507
499
|
--color-dark-bg-accent-shade-20: rgb(191, 39, 29);
|
|
@@ -618,12 +610,18 @@
|
|
|
618
610
|
--color-dark-specialbg-component-inverted-alpha-30: rgba(11, 31, 53, 0.3);
|
|
619
611
|
--color-dark-specialbg-component-inverted-shade-15: rgba(9, 26, 45, 0.2095);
|
|
620
612
|
--color-dark-specialbg-component-inverted-shade-20: rgba(9, 25, 42, 0.256);
|
|
613
|
+
--color-dark-specialbg-tertiary-transparent-tint-7: rgba(255, 255, 255, 0.256);
|
|
614
|
+
--color-dark-specialbg-tertiary-transparent-tint-15: rgba(255, 255, 255, 0.32);
|
|
615
|
+
--color-dark-specialbg-tertiary-transparent-inverted-shade-15: rgba(9, 26, 45, 0.235);
|
|
616
|
+
--color-dark-specialbg-tertiary-transparent-inverted-shade-20: rgba(9, 25, 42, 0.28);
|
|
621
617
|
--color-dark-text-link-shade-30: rgb(0, 85, 179);
|
|
622
618
|
--color-dark-text-link-shade-50: rgb(0, 61, 128);
|
|
623
619
|
--color-dark-text-link-tint-20: rgb(51, 149, 255);
|
|
624
620
|
--color-dark-text-link-tint-40: rgb(102, 175, 255);
|
|
625
621
|
--color-dark-text-primary-alpha-30: rgba(255, 255, 255, 0.3);
|
|
622
|
+
--color-dark-text-primary-shade-24: rgb(194, 194, 194);
|
|
626
623
|
--color-dark-text-primary-shade-30: rgb(179, 179, 179);
|
|
624
|
+
--color-dark-text-primary-shade-40: rgb(153, 153, 153);
|
|
627
625
|
--color-dark-text-primary-shade-50: rgb(128, 128, 128);
|
|
628
626
|
--color-dark-text-primary-tint-20: rgb(255, 255, 255);
|
|
629
627
|
--color-dark-text-primary-tint-40: rgb(255, 255, 255);
|
|
@@ -633,14 +631,16 @@
|
|
|
633
631
|
--color-dark-text-primary-inverted-shade-30: rgb(8, 22, 37);
|
|
634
632
|
--color-dark-text-primary-inverted-tint-7: rgb(28, 47, 67);
|
|
635
633
|
--color-dark-text-primary-inverted-tint-15: rgb(48, 65, 83);
|
|
634
|
+
--color-dark-text-primary-inverted-tint-24: rgb(70, 85, 101);
|
|
636
635
|
--color-dark-text-primary-inverted-tint-30: rgb(84, 98, 114);
|
|
636
|
+
--color-dark-text-primary-inverted-tint-40: rgb(109, 121, 134);
|
|
637
637
|
--color-dark-text-primary-inverted-tint-50: rgb(133, 143, 154);
|
|
638
|
-
--color-dark-text-secondary-shade-20:
|
|
639
|
-
--color-dark-text-secondary-shade-30:
|
|
640
|
-
--color-dark-text-secondary-tint-20:
|
|
641
|
-
--color-dark-text-secondary-tint-40:
|
|
642
|
-
--color-dark-text-secondary-inverted-shade-20:
|
|
643
|
-
--color-dark-text-secondary-inverted-shade-30:
|
|
638
|
+
--color-dark-text-secondary-shade-20: rgba(204, 204, 204, 0.76);
|
|
639
|
+
--color-dark-text-secondary-shade-30: rgba(179, 179, 179, 0.79);
|
|
640
|
+
--color-dark-text-secondary-tint-20: rgba(255, 255, 255, 0.76);
|
|
641
|
+
--color-dark-text-secondary-tint-40: rgba(255, 255, 255, 0.82);
|
|
642
|
+
--color-dark-text-secondary-inverted-shade-20: rgba(9, 25, 42, 0.76);
|
|
643
|
+
--color-dark-text-secondary-inverted-shade-30: rgba(8, 22, 37, 0.79);
|
|
644
644
|
--color-light-bg-accent-alpha-30: rgba(239, 49, 36, 0.3);
|
|
645
645
|
--color-light-bg-accent-tint-15: rgb(241, 80, 69);
|
|
646
646
|
--color-light-bg-accent-tint-20: rgb(242, 90, 80);
|
|
@@ -757,12 +757,18 @@
|
|
|
757
757
|
--color-light-specialbg-component-inverted-alpha-30: rgba(255, 255, 255, 0.3);
|
|
758
758
|
--color-light-specialbg-component-inverted-tint-15: rgba(255, 255, 255, 0.2775);
|
|
759
759
|
--color-light-specialbg-component-inverted-tint-20: rgba(255, 255, 255, 0.32);
|
|
760
|
+
--color-light-specialbg-tertiary-transparent-shade-7: rgba(10, 29, 49, 0.163);
|
|
761
|
+
--color-light-specialbg-tertiary-transparent-shade-15: rgba(9, 26, 45, 0.235);
|
|
762
|
+
--color-light-specialbg-tertiary-transparent-inverted-tint-15: rgba(255, 255, 255, 0.32);
|
|
763
|
+
--color-light-specialbg-tertiary-transparent-inverted-tint-20: rgba(255, 255, 255, 0.36);
|
|
760
764
|
--color-light-text-link-tint-30: rgb(77, 162, 255);
|
|
761
765
|
--color-light-text-link-tint-50: rgb(128, 189, 255);
|
|
762
766
|
--color-light-text-link-shade-20: rgb(0, 98, 204);
|
|
763
767
|
--color-light-text-link-shade-40: rgb(0, 73, 153);
|
|
764
768
|
--color-light-text-primary-alpha-30: rgba(11, 31, 53, 0.3);
|
|
769
|
+
--color-light-text-primary-tint-24: rgb(70, 85, 101);
|
|
765
770
|
--color-light-text-primary-tint-30: rgb(84, 98, 114);
|
|
771
|
+
--color-light-text-primary-tint-40: rgb(109, 121, 134);
|
|
766
772
|
--color-light-text-primary-tint-50: rgb(133, 143, 154);
|
|
767
773
|
--color-light-text-primary-shade-20: rgb(9, 25, 42);
|
|
768
774
|
--color-light-text-primary-shade-40: rgb(7, 19, 32);
|
|
@@ -772,14 +778,16 @@
|
|
|
772
778
|
--color-light-text-primary-inverted-tint-30: rgb(255, 255, 255);
|
|
773
779
|
--color-light-text-primary-inverted-shade-7: rgb(237, 237, 237);
|
|
774
780
|
--color-light-text-primary-inverted-shade-15: rgb(217, 217, 217);
|
|
781
|
+
--color-light-text-primary-inverted-shade-24: rgb(194, 194, 194);
|
|
775
782
|
--color-light-text-primary-inverted-shade-30: rgb(179, 179, 179);
|
|
783
|
+
--color-light-text-primary-inverted-shade-40: rgb(153, 153, 153);
|
|
776
784
|
--color-light-text-primary-inverted-shade-50: rgb(128, 128, 128);
|
|
777
|
-
--color-light-text-secondary-tint-20:
|
|
778
|
-
--color-light-text-secondary-tint-30:
|
|
779
|
-
--color-light-text-secondary-shade-20:
|
|
780
|
-
--color-light-text-secondary-shade-40:
|
|
781
|
-
--color-light-text-secondary-inverted-tint-20:
|
|
782
|
-
--color-light-text-secondary-inverted-tint-30:
|
|
785
|
+
--color-light-text-secondary-tint-20: rgba(60, 76, 93, 0.76);
|
|
786
|
+
--color-light-text-secondary-tint-30: rgba(84, 98, 114, 0.79);
|
|
787
|
+
--color-light-text-secondary-shade-20: rgba(9, 25, 42, 0.76);
|
|
788
|
+
--color-light-text-secondary-shade-40: rgba(7, 19, 32, 0.82);
|
|
789
|
+
--color-light-text-secondary-inverted-tint-20: rgba(255, 255, 255, 0.76);
|
|
790
|
+
--color-light-text-secondary-inverted-tint-30: rgba(255, 255, 255, 0.79);
|
|
783
791
|
--color-static-bg-primary-dark-alpha-10: rgba(11, 31, 53, 0.1);
|
|
784
792
|
--color-static-bg-primary-dark-alpha-20: rgba(11, 31, 53, 0.2);
|
|
785
793
|
--color-static-text-primary-light-alpha-30: rgba(255, 255, 255, 0.3);
|
|
@@ -976,15 +984,15 @@
|
|
|
976
984
|
/* size xl */
|
|
977
985
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
978
986
|
}
|
|
979
|
-
.
|
|
987
|
+
.tabs__title_1d7bc {
|
|
980
988
|
}
|
|
981
|
-
.
|
|
989
|
+
.tabs__mobile_1d7bc .tabs__title_1d7bc {
|
|
982
990
|
padding: var(--primary-tablist-mobile-padding);
|
|
983
991
|
font-size: var(--primary-tablist-mobile-font-size);
|
|
984
992
|
font-weight: var(--primary-tablist-mobile-font-weight);
|
|
985
993
|
font-family: var(--primary-tablist-mobile-font-family);
|
|
986
994
|
line-height: var(--primary-tablist-mobile-line-height)
|
|
987
995
|
}
|
|
988
|
-
.
|
|
996
|
+
.tabs__mobile_1d7bc .tabs__title_1d7bc + .tabs__title_1d7bc {
|
|
989
997
|
margin-left: var(--primary-tablist-mobile-gaps);
|
|
990
998
|
}
|
|
@@ -15,5 +15,5 @@ type ScrollableContainerProps = {
|
|
|
15
15
|
*/
|
|
16
16
|
activeChild: HTMLElement | null;
|
|
17
17
|
};
|
|
18
|
-
declare const ScrollableContainer: ({ containerClassName, children, activeChild, fullWidthScroll, }: ScrollableContainerProps & Pick<TabsProps,
|
|
18
|
+
declare const ScrollableContainer: ({ containerClassName, children, activeChild, fullWidthScroll, }: ScrollableContainerProps & Pick<TabsProps, 'fullWidthScroll'>) => JSX.Element;
|
|
19
19
|
export { ScrollableContainerProps, ScrollableContainer };
|
|
@@ -12,7 +12,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
12
12
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
13
13
|
var computeScrollIntoView__default = /*#__PURE__*/_interopDefaultLegacy(computeScrollIntoView);
|
|
14
14
|
|
|
15
|
-
var styles = {"container":"
|
|
15
|
+
var styles = {"container":"tabs__container_1f1bc","fullWidthScroll":"tabs__fullWidthScroll_1f1bc"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: u4scu */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
|
|
37
37
|
/* size xl */
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.tabs__container_1f1bc {
|
|
40
40
|
position: relative;
|
|
41
41
|
overflow-x: auto;
|
|
42
42
|
overflow-y: hidden;
|
|
43
43
|
scroll-behavior: smooth;
|
|
44
44
|
scrollbar-width: none
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.tabs__container_1f1bc::-webkit-scrollbar {
|
|
47
47
|
display: none;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.tabs__container_1f1bc > * {
|
|
50
50
|
flex-shrink: 0;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.tabs__fullWidthScroll_1f1bc {
|
|
53
53
|
margin: 0 var(--gap-m-neg);
|
|
54
54
|
}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Styles } from "../../typings";
|
|
3
|
-
declare const SecondaryTabList: ({ styles, className, containerClassName, size, titles, selectedId, scrollable, fullWidthScroll, tagSize, onChange, dataTestId, }:
|
|
4
|
-
titles?: import("../../typings").TabListTitle[] | undefined;
|
|
5
|
-
} & {
|
|
6
|
-
tagSize?: "xxs" | "xs" | "s" | "m" | "l" | "xl" | undefined;
|
|
7
|
-
} & Styles) => JSX.Element;
|
|
2
|
+
import { SecondaryTabListProps, Styles } from "../../typings";
|
|
3
|
+
declare const SecondaryTabList: ({ styles, className, containerClassName, size, titles, selectedId, scrollable, fullWidthScroll, tagSize, onChange, dataTestId, }: SecondaryTabListProps & Styles) => JSX.Element;
|
|
8
4
|
export { SecondaryTabList };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SecondaryTabListProps } from "../../typings";
|
|
3
3
|
type SecondaryTabListDesktopProps = Omit<SecondaryTabListProps, 'tagSize'>;
|
|
4
|
-
declare const SecondaryTabListDesktop: ({ size, ...restProps }:
|
|
4
|
+
declare const SecondaryTabListDesktop: ({ size, ...restProps }: SecondaryTabListDesktopProps) => JSX.Element;
|
|
5
5
|
export { SecondaryTabListDesktopProps, SecondaryTabListDesktop };
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-3a2676d6.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
|
+
require('../../useTabs.js');
|
|
8
9
|
require('compute-scroll-into-view');
|
|
9
10
|
require('../scrollable-container/Component.js');
|
|
10
|
-
require('../../useTabs.js');
|
|
11
11
|
require('@alfalab/core-components-tag');
|
|
12
12
|
var components_secondaryTablist_Component = require('./Component.js');
|
|
13
|
-
var index_module = require('../../index.module-
|
|
13
|
+
var index_module = require('../../index.module-d59767dd.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
16
|
|