@alfalab/core-components-tabs 7.2.2 → 7.2.3
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.desktop.js +2 -2
- package/components/primary-tablist/Component.js +1 -1
- package/components/primary-tablist/Component.mobile.js +3 -3
- package/components/primary-tablist/Component.responsive.js +2 -2
- package/components/primary-tablist/index.css +29 -29
- package/components/primary-tablist/mobile.css +32 -32
- package/components/scrollable-container/Component.js +1 -1
- package/components/scrollable-container/index.css +5 -5
- package/components/secondary-tablist/Component.desktop.js +2 -2
- package/components/secondary-tablist/Component.js +1 -1
- package/components/secondary-tablist/Component.mobile.js +3 -3
- package/components/secondary-tablist/Component.responsive.js +2 -2
- package/components/secondary-tablist/index.css +11 -11
- package/components/secondary-tablist/mobile.css +13 -13
- package/components/tab/Component.js +1 -1
- package/components/tab/index.css +3 -3
- package/components/tabs/Component.desktop.js +3 -3
- package/components/tabs/Component.mobile.js +3 -3
- package/components/tabs/Component.responsive.js +3 -3
- package/components/title/Component.js +1 -1
- package/components/title/index.js +1 -1
- package/desktop.js +3 -3
- package/esm/components/primary-tablist/Component.desktop.js +2 -2
- package/esm/components/primary-tablist/Component.js +1 -1
- package/esm/components/primary-tablist/Component.mobile.js +3 -3
- package/esm/components/primary-tablist/Component.responsive.js +2 -2
- package/esm/components/primary-tablist/index.css +29 -29
- package/esm/components/primary-tablist/mobile.css +32 -32
- package/esm/components/scrollable-container/Component.js +1 -1
- package/esm/components/scrollable-container/index.css +5 -5
- package/esm/components/secondary-tablist/Component.desktop.js +2 -2
- package/esm/components/secondary-tablist/Component.js +1 -1
- package/esm/components/secondary-tablist/Component.mobile.js +3 -3
- package/esm/components/secondary-tablist/Component.responsive.js +2 -2
- package/esm/components/secondary-tablist/index.css +11 -11
- package/esm/components/secondary-tablist/mobile.css +13 -13
- package/esm/components/tab/Component.js +1 -1
- package/esm/components/tab/index.css +3 -3
- package/esm/components/tabs/Component.desktop.js +3 -3
- package/esm/components/tabs/Component.mobile.js +3 -3
- package/esm/components/tabs/Component.responsive.js +3 -3
- package/esm/components/title/Component.js +1 -1
- package/esm/components/title/index.js +1 -1
- package/esm/desktop.js +3 -3
- package/esm/hooks/use-collapsible-elements.js +1 -1
- package/esm/hooks/use-tablist-titles.js +1 -1
- package/esm/index.js +3 -3
- package/esm/index.module-22485442.js +4 -0
- package/esm/index.module-bf6a03c6.js +4 -0
- package/esm/mobile.js +3 -3
- package/esm/responsive.js +3 -3
- package/esm/synthetic-events.js +1 -1
- package/esm/{tslib.es6-76e98c79.d.ts → tslib.es6-dba20b6c.d.ts} +0 -0
- package/esm/{tslib.es6-76e98c79.js → tslib.es6-dba20b6c.js} +0 -0
- package/hooks/use-collapsible-elements.js +1 -1
- package/hooks/use-tablist-titles.js +1 -1
- package/index.js +3 -3
- package/index.module-6242c5bf.js +6 -0
- package/index.module-cafb3f2a.js +6 -0
- package/mobile.js +3 -3
- package/modern/components/primary-tablist/Component.desktop.js +1 -1
- package/modern/components/primary-tablist/Component.mobile.js +2 -2
- package/modern/components/primary-tablist/Component.responsive.js +1 -1
- package/modern/components/primary-tablist/index.css +29 -29
- package/modern/components/primary-tablist/mobile.css +32 -32
- package/modern/components/scrollable-container/Component.js +1 -1
- package/modern/components/scrollable-container/index.css +5 -5
- package/modern/components/secondary-tablist/Component.desktop.js +1 -1
- package/modern/components/secondary-tablist/Component.mobile.js +2 -2
- package/modern/components/secondary-tablist/Component.responsive.js +1 -1
- package/modern/components/secondary-tablist/index.css +11 -11
- package/modern/components/secondary-tablist/mobile.css +13 -13
- package/modern/components/tab/Component.js +1 -1
- package/modern/components/tab/index.css +3 -3
- package/modern/components/tabs/Component.desktop.js +2 -2
- package/modern/components/tabs/Component.mobile.js +2 -2
- package/modern/components/tabs/Component.responsive.js +2 -2
- package/modern/desktop.js +2 -2
- package/modern/index.js +2 -2
- package/modern/index.module-22485442.js +4 -0
- package/modern/index.module-bf6a03c6.js +4 -0
- package/modern/mobile.js +2 -2
- package/modern/responsive.js +2 -2
- package/package.json +2 -2
- package/responsive.js +3 -3
- package/synthetic-events.js +1 -1
- package/{tslib.es6-89ae1af5.d.ts → tslib.es6-bb11c82b.d.ts} +0 -0
- package/{tslib.es6-89ae1af5.js → tslib.es6-bb11c82b.js} +0 -0
- package/esm/index.module-576ec019.js +0 -4
- package/esm/index.module-86f1bcb8.js +0 -4
- package/index.module-42bd7767.js +0 -6
- package/index.module-626dbc66.js +0 -6
- package/modern/index.module-576ec019.js +0 -4
- package/modern/index.module-86f1bcb8.js +0 -4
|
@@ -2,7 +2,7 @@
|
|
|
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-bb11c82b.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components/picker-button/desktop');
|
|
@@ -18,11 +18,11 @@ require('compute-scroll-into-view');
|
|
|
18
18
|
require('../scrollable-container/Component.js');
|
|
19
19
|
require('../title/Component.js');
|
|
20
20
|
require('../primary-tablist/Component.js');
|
|
21
|
-
require('../../index.module-
|
|
21
|
+
require('../../index.module-cafb3f2a.js');
|
|
22
22
|
var components_primaryTablist_Component_desktop = require('../primary-tablist/Component.desktop.js');
|
|
23
23
|
require('@alfalab/core-components-tag');
|
|
24
24
|
require('../secondary-tablist/Component.js');
|
|
25
|
-
require('../../index.module-
|
|
25
|
+
require('../../index.module-6242c5bf.js');
|
|
26
26
|
var components_secondaryTablist_Component_desktop = require('../secondary-tablist/Component.desktop.js');
|
|
27
27
|
var components_tabs_Component = require('./Component.js');
|
|
28
28
|
|
|
@@ -2,7 +2,7 @@
|
|
|
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-bb11c82b.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components/picker-button/desktop');
|
|
@@ -18,10 +18,10 @@ require('compute-scroll-into-view');
|
|
|
18
18
|
require('../scrollable-container/Component.js');
|
|
19
19
|
require('../title/Component.js');
|
|
20
20
|
require('../primary-tablist/Component.js');
|
|
21
|
-
require('../../index.module-
|
|
21
|
+
require('../../index.module-cafb3f2a.js');
|
|
22
22
|
require('@alfalab/core-components-tag');
|
|
23
23
|
require('../secondary-tablist/Component.js');
|
|
24
|
-
require('../../index.module-
|
|
24
|
+
require('../../index.module-6242c5bf.js');
|
|
25
25
|
var components_tabs_Component = require('./Component.js');
|
|
26
26
|
var components_primaryTablist_Component_mobile = require('../primary-tablist/Component.mobile.js');
|
|
27
27
|
var components_secondaryTablist_Component_mobile = require('../secondary-tablist/Component.mobile.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
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-bb11c82b.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components/picker-button/desktop');
|
|
@@ -18,11 +18,11 @@ require('compute-scroll-into-view');
|
|
|
18
18
|
require('../scrollable-container/Component.js');
|
|
19
19
|
require('../title/Component.js');
|
|
20
20
|
require('../primary-tablist/Component.js');
|
|
21
|
-
require('../../index.module-
|
|
21
|
+
require('../../index.module-cafb3f2a.js');
|
|
22
22
|
require('../primary-tablist/Component.desktop.js');
|
|
23
23
|
require('@alfalab/core-components-tag');
|
|
24
24
|
require('../secondary-tablist/Component.js');
|
|
25
|
-
require('../../index.module-
|
|
25
|
+
require('../../index.module-6242c5bf.js');
|
|
26
26
|
require('../secondary-tablist/Component.desktop.js');
|
|
27
27
|
var components_tabs_Component = require('./Component.js');
|
|
28
28
|
require('../primary-tablist/Component.mobile.js');
|
package/desktop.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./tslib.es6-
|
|
5
|
+
require('./tslib.es6-bb11c82b.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components/picker-button/desktop');
|
|
@@ -18,11 +18,11 @@ require('compute-scroll-into-view');
|
|
|
18
18
|
var components_scrollableContainer_Component = require('./components/scrollable-container/Component.js');
|
|
19
19
|
require('./components/title/Component.js');
|
|
20
20
|
require('./components/primary-tablist/Component.js');
|
|
21
|
-
require('./index.module-
|
|
21
|
+
require('./index.module-cafb3f2a.js');
|
|
22
22
|
var components_primaryTablist_Component_desktop = require('./components/primary-tablist/Component.desktop.js');
|
|
23
23
|
require('@alfalab/core-components-tag');
|
|
24
24
|
require('./components/secondary-tablist/Component.js');
|
|
25
|
-
require('./index.module-
|
|
25
|
+
require('./index.module-6242c5bf.js');
|
|
26
26
|
var components_secondaryTablist_Component_desktop = require('./components/secondary-tablist/Component.desktop.js');
|
|
27
27
|
var components_tab_Component = require('./components/tab/Component.js');
|
|
28
28
|
require('./components/tabs/Component.js');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-dba20b6c.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components/picker-button/desktop';
|
|
@@ -14,7 +14,7 @@ import 'compute-scroll-into-view';
|
|
|
14
14
|
import '../scrollable-container/Component.js';
|
|
15
15
|
import '../title/Component.js';
|
|
16
16
|
import { PrimaryTabList } from './Component.js';
|
|
17
|
-
import { c as commonStyles } from '../../index.module-
|
|
17
|
+
import { c as commonStyles } from '../../index.module-22485442.js';
|
|
18
18
|
|
|
19
19
|
var PrimaryTabListDesktop = function (_a) {
|
|
20
20
|
var _b = _a.size, size = _b === void 0 ? 'm' : _b, restProps = __rest(_a, ["size"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign } from '../../tslib.es6-dba20b6c.js';
|
|
2
2
|
import React, { useRef, useEffect, useMemo } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { PickerButtonDesktop } from '@alfalab/core-components/picker-button/desktop';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign, _ as __rest } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign, _ as __rest } from '../../tslib.es6-dba20b6c.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import '@alfalab/core-components/picker-button/desktop';
|
|
@@ -14,9 +14,9 @@ import 'compute-scroll-into-view';
|
|
|
14
14
|
import '../scrollable-container/Component.js';
|
|
15
15
|
import '../title/Component.js';
|
|
16
16
|
import { PrimaryTabList } from './Component.js';
|
|
17
|
-
import { c as commonStyles } from '../../index.module-
|
|
17
|
+
import { c as commonStyles } from '../../index.module-22485442.js';
|
|
18
18
|
|
|
19
|
-
var mobileStyles = {"title":"
|
|
19
|
+
var mobileStyles = {"title":"tabs__title_122z5 tabs__title_o4rb8","mobile":"tabs__mobile_122z5"};
|
|
20
20
|
require('./mobile.css')
|
|
21
21
|
|
|
22
22
|
var styles = __assign(__assign({}, commonStyles), mobileStyles);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-dba20b6c.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components/picker-button/desktop';
|
|
@@ -14,7 +14,7 @@ import 'compute-scroll-into-view';
|
|
|
14
14
|
import '../scrollable-container/Component.js';
|
|
15
15
|
import '../title/Component.js';
|
|
16
16
|
import './Component.js';
|
|
17
|
-
import '../../index.module-
|
|
17
|
+
import '../../index.module-22485442.js';
|
|
18
18
|
import { PrimaryTabListDesktop } from './Component.desktop.js';
|
|
19
19
|
import { PrimaryTabListMobile } from './Component.mobile.js';
|
|
20
20
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 34r6e */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-accent: #ef3124;
|
|
4
4
|
--color-light-border-link: #007aff;
|
|
@@ -83,12 +83,12 @@
|
|
|
83
83
|
|
|
84
84
|
/* size xl */
|
|
85
85
|
}
|
|
86
|
-
.
|
|
86
|
+
.tabs__component_o4rb8 {
|
|
87
87
|
position: relative;
|
|
88
88
|
display: inline-flex;
|
|
89
89
|
min-width: 100%
|
|
90
90
|
}
|
|
91
|
-
.
|
|
91
|
+
.tabs__component_o4rb8: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_o4rb8 {
|
|
101
101
|
min-width: calc(100% - 2 * var(--gap-m));
|
|
102
102
|
margin: 0 var(--gap-m);
|
|
103
103
|
}
|
|
104
|
-
.
|
|
104
|
+
.tabs__container_o4rb8 {
|
|
105
105
|
position: relative;
|
|
106
106
|
overflow: hidden;
|
|
107
107
|
}
|
|
108
|
-
.
|
|
108
|
+
.tabs__title_o4rb8 {
|
|
109
109
|
display: flex;
|
|
110
110
|
align-items: center;
|
|
111
111
|
height: 100%;
|
|
@@ -123,26 +123,26 @@
|
|
|
123
123
|
cursor: pointer;
|
|
124
124
|
outline: none
|
|
125
125
|
}
|
|
126
|
-
.
|
|
126
|
+
.tabs__title_o4rb8:not(.tabs__disabled_o4rb8):hover {
|
|
127
127
|
color: var(--primary-tablist-hover-color);
|
|
128
128
|
}
|
|
129
|
-
.
|
|
129
|
+
.tabs__focused_o4rb8 {
|
|
130
130
|
outline: 2px solid var(--focus-color);
|
|
131
131
|
outline-offset: 2px;
|
|
132
132
|
}
|
|
133
|
-
.
|
|
133
|
+
.tabs__collapsed_o4rb8 {
|
|
134
134
|
order: 99;
|
|
135
135
|
visibility: collapse;
|
|
136
136
|
}
|
|
137
|
-
.
|
|
137
|
+
.tabs__selected_o4rb8 {
|
|
138
138
|
cursor: default;
|
|
139
139
|
color: var(--primary-tablist-selected-color);
|
|
140
140
|
}
|
|
141
|
-
.
|
|
141
|
+
.tabs__disabled_o4rb8 {
|
|
142
142
|
cursor: var(--disabled-cursor);
|
|
143
143
|
color: var(--primary-tablist-disabled-color);
|
|
144
144
|
}
|
|
145
|
-
.
|
|
145
|
+
.tabs__line_o4rb8 {
|
|
146
146
|
position: absolute;
|
|
147
147
|
height: 3px;
|
|
148
148
|
bottom: 0;
|
|
@@ -151,71 +151,71 @@
|
|
|
151
151
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
152
152
|
}
|
|
153
153
|
/* sizes */
|
|
154
|
-
.
|
|
154
|
+
.tabs__s_o4rb8 .tabs__title_o4rb8, .tabs__xs_o4rb8 .tabs__title_o4rb8, .tabs__xxs_o4rb8 .tabs__title_o4rb8 {
|
|
155
155
|
padding: var(--primary-tablist-s-padding);
|
|
156
156
|
font-size: var(--primary-tablist-s-font-size);
|
|
157
157
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
158
158
|
font-family: var(--primary-tablist-s-font-family);
|
|
159
159
|
line-height: 24px;
|
|
160
160
|
}
|
|
161
|
-
.
|
|
161
|
+
.tabs__s_o4rb8 .tabs__title_o4rb8 + .tabs__title_o4rb8, .tabs__xs_o4rb8 .tabs__title_o4rb8 + .tabs__title_o4rb8, .tabs__xxs_o4rb8 .tabs__title_o4rb8 + .tabs__title_o4rb8 {
|
|
162
162
|
margin-left: var(--primary-tablist-s-gaps);
|
|
163
163
|
}
|
|
164
|
-
.
|
|
164
|
+
.tabs__s_o4rb8 .tabs__pickerWrapper_o4rb8, .tabs__xs_o4rb8 .tabs__pickerWrapper_o4rb8, .tabs__xxs_o4rb8 .tabs__pickerWrapper_o4rb8 {
|
|
165
165
|
margin-left: var(--primary-tablist-s-gaps);
|
|
166
166
|
}
|
|
167
|
-
.
|
|
167
|
+
.tabs__s_o4rb8 .tabs__option_o4rb8, .tabs__xs_o4rb8 .tabs__option_o4rb8, .tabs__xxs_o4rb8 .tabs__option_o4rb8 {
|
|
168
168
|
padding: 0;
|
|
169
169
|
}
|
|
170
|
-
.
|
|
170
|
+
.tabs__m_o4rb8 .tabs__title_o4rb8 {
|
|
171
171
|
padding: var(--primary-tablist-m-padding);
|
|
172
172
|
font-size: var(--primary-tablist-m-font-size);
|
|
173
173
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
174
174
|
font-family: var(--primary-tablist-m-font-family);
|
|
175
175
|
line-height: 24px;
|
|
176
176
|
}
|
|
177
|
-
.
|
|
177
|
+
.tabs__m_o4rb8 .tabs__title_o4rb8 + .tabs__title_o4rb8 {
|
|
178
178
|
margin-left: var(--primary-tablist-m-gaps);
|
|
179
179
|
}
|
|
180
|
-
.
|
|
180
|
+
.tabs__m_o4rb8 .tabs__pickerWrapper_o4rb8 {
|
|
181
181
|
margin-left: var(--primary-tablist-m-gaps);
|
|
182
182
|
}
|
|
183
|
-
.
|
|
183
|
+
.tabs__m_o4rb8 .tabs__option_o4rb8 {
|
|
184
184
|
padding: 0;
|
|
185
185
|
}
|
|
186
|
-
.
|
|
186
|
+
.tabs__l_o4rb8 .tabs__title_o4rb8 {
|
|
187
187
|
padding: var(--primary-tablist-l-padding);
|
|
188
188
|
font-size: var(--primary-tablist-l-font-size);
|
|
189
189
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
190
190
|
font-family: var(--primary-tablist-l-font-family);
|
|
191
191
|
line-height: 24px;
|
|
192
192
|
}
|
|
193
|
-
.
|
|
193
|
+
.tabs__l_o4rb8 .tabs__title_o4rb8 + .tabs__title_o4rb8 {
|
|
194
194
|
margin-left: var(--primary-tablist-l-gaps);
|
|
195
195
|
}
|
|
196
|
-
.
|
|
196
|
+
.tabs__l_o4rb8 .tabs__pickerWrapper_o4rb8 {
|
|
197
197
|
margin-left: var(--primary-tablist-l-gaps);
|
|
198
198
|
}
|
|
199
|
-
.
|
|
199
|
+
.tabs__l_o4rb8 .tabs__option_o4rb8 {
|
|
200
200
|
padding: 0;
|
|
201
201
|
}
|
|
202
|
-
.
|
|
202
|
+
.tabs__xl_o4rb8 .tabs__title_o4rb8 {
|
|
203
203
|
padding: var(--primary-tablist-xl-padding);
|
|
204
204
|
font-size: var(--primary-tablist-xl-font-size);
|
|
205
205
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
206
206
|
font-family: var(--primary-tablist-xl-font-family);
|
|
207
207
|
line-height: 32px;
|
|
208
208
|
}
|
|
209
|
-
.
|
|
209
|
+
.tabs__xl_o4rb8 .tabs__title_o4rb8 + .tabs__title_o4rb8 {
|
|
210
210
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
211
211
|
}
|
|
212
|
-
.
|
|
212
|
+
.tabs__xl_o4rb8 .tabs__pickerWrapper_o4rb8 {
|
|
213
213
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
214
214
|
}
|
|
215
|
-
.
|
|
215
|
+
.tabs__xl_o4rb8 .tabs__option_o4rb8 {
|
|
216
216
|
padding: 0;
|
|
217
217
|
}
|
|
218
|
-
.
|
|
218
|
+
.tabs__rightAddons_o4rb8 {
|
|
219
219
|
display: flex;
|
|
220
220
|
justify-content: center;
|
|
221
221
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 137v6 */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -88,11 +88,11 @@
|
|
|
88
88
|
/* size l */
|
|
89
89
|
|
|
90
90
|
/* size xl */
|
|
91
|
-
}.
|
|
91
|
+
}.tabs__component_o4rb8 {
|
|
92
92
|
position: relative;
|
|
93
93
|
display: inline-flex;
|
|
94
94
|
min-width: 100%
|
|
95
|
-
}.
|
|
95
|
+
}.tabs__component_o4rb8: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_o4rb8 {
|
|
104
104
|
min-width: calc(100% - 2 * var(--gap-m));
|
|
105
105
|
margin: 0 var(--gap-m);
|
|
106
|
-
}.
|
|
106
|
+
}.tabs__container_o4rb8 {
|
|
107
107
|
position: relative;
|
|
108
108
|
overflow: hidden;
|
|
109
|
-
}.
|
|
109
|
+
}.tabs__title_o4rb8 {
|
|
110
110
|
display: flex;
|
|
111
111
|
align-items: center;
|
|
112
112
|
height: 100%;
|
|
@@ -123,76 +123,76 @@
|
|
|
123
123
|
user-select: none;
|
|
124
124
|
cursor: pointer;
|
|
125
125
|
outline: none
|
|
126
|
-
}.
|
|
126
|
+
}.tabs__title_o4rb8:not(.tabs__disabled_o4rb8):hover {
|
|
127
127
|
color: var(--primary-tablist-hover-color);
|
|
128
|
-
}.
|
|
128
|
+
}.tabs__focused_o4rb8 {
|
|
129
129
|
outline: 2px solid var(--focus-color);
|
|
130
130
|
outline-offset: 2px;
|
|
131
|
-
}.
|
|
131
|
+
}.tabs__collapsed_o4rb8 {
|
|
132
132
|
order: 99;
|
|
133
133
|
visibility: collapse;
|
|
134
|
-
}.
|
|
134
|
+
}.tabs__selected_o4rb8 {
|
|
135
135
|
cursor: default;
|
|
136
136
|
color: var(--primary-tablist-selected-color);
|
|
137
|
-
}.
|
|
137
|
+
}.tabs__disabled_o4rb8 {
|
|
138
138
|
cursor: var(--disabled-cursor);
|
|
139
139
|
color: var(--primary-tablist-disabled-color);
|
|
140
|
-
}.
|
|
140
|
+
}.tabs__line_o4rb8 {
|
|
141
141
|
position: absolute;
|
|
142
142
|
height: 3px;
|
|
143
143
|
bottom: 0;
|
|
144
144
|
left: 0;
|
|
145
145
|
background-color: var(--primary-tablist-line-color);
|
|
146
146
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
147
|
-
}/* sizes */.
|
|
147
|
+
}/* sizes */.tabs__s_o4rb8 .tabs__title_o4rb8, .tabs__xs_o4rb8 .tabs__title_o4rb8, .tabs__xxs_o4rb8 .tabs__title_o4rb8 {
|
|
148
148
|
padding: var(--primary-tablist-s-padding);
|
|
149
149
|
font-size: var(--primary-tablist-s-font-size);
|
|
150
150
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
151
151
|
font-family: var(--primary-tablist-s-font-family);
|
|
152
152
|
line-height: 24px;
|
|
153
|
-
}.
|
|
153
|
+
}.tabs__s_o4rb8 .tabs__title_o4rb8 + .tabs__title_o4rb8, .tabs__xs_o4rb8 .tabs__title_o4rb8 + .tabs__title_o4rb8, .tabs__xxs_o4rb8 .tabs__title_o4rb8 + .tabs__title_o4rb8 {
|
|
154
154
|
margin-left: var(--primary-tablist-s-gaps);
|
|
155
|
-
}.
|
|
155
|
+
}.tabs__s_o4rb8 .tabs__pickerWrapper_o4rb8, .tabs__xs_o4rb8 .tabs__pickerWrapper_o4rb8, .tabs__xxs_o4rb8 .tabs__pickerWrapper_o4rb8 {
|
|
156
156
|
margin-left: var(--primary-tablist-s-gaps);
|
|
157
|
-
}.
|
|
157
|
+
}.tabs__s_o4rb8 .tabs__option_o4rb8, .tabs__xs_o4rb8 .tabs__option_o4rb8, .tabs__xxs_o4rb8 .tabs__option_o4rb8 {
|
|
158
158
|
padding: 0;
|
|
159
|
-
}.
|
|
159
|
+
}.tabs__m_o4rb8 .tabs__title_o4rb8 {
|
|
160
160
|
padding: var(--primary-tablist-m-padding);
|
|
161
161
|
font-size: var(--primary-tablist-m-font-size);
|
|
162
162
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
163
163
|
font-family: var(--primary-tablist-m-font-family);
|
|
164
164
|
line-height: 24px;
|
|
165
|
-
}.
|
|
165
|
+
}.tabs__m_o4rb8 .tabs__title_o4rb8 + .tabs__title_o4rb8 {
|
|
166
166
|
margin-left: var(--primary-tablist-m-gaps);
|
|
167
|
-
}.
|
|
167
|
+
}.tabs__m_o4rb8 .tabs__pickerWrapper_o4rb8 {
|
|
168
168
|
margin-left: var(--primary-tablist-m-gaps);
|
|
169
|
-
}.
|
|
169
|
+
}.tabs__m_o4rb8 .tabs__option_o4rb8 {
|
|
170
170
|
padding: 0;
|
|
171
|
-
}.
|
|
171
|
+
}.tabs__l_o4rb8 .tabs__title_o4rb8 {
|
|
172
172
|
padding: var(--primary-tablist-l-padding);
|
|
173
173
|
font-size: var(--primary-tablist-l-font-size);
|
|
174
174
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
175
175
|
font-family: var(--primary-tablist-l-font-family);
|
|
176
176
|
line-height: 24px;
|
|
177
|
-
}.
|
|
177
|
+
}.tabs__l_o4rb8 .tabs__title_o4rb8 + .tabs__title_o4rb8 {
|
|
178
178
|
margin-left: var(--primary-tablist-l-gaps);
|
|
179
|
-
}.
|
|
179
|
+
}.tabs__l_o4rb8 .tabs__pickerWrapper_o4rb8 {
|
|
180
180
|
margin-left: var(--primary-tablist-l-gaps);
|
|
181
|
-
}.
|
|
181
|
+
}.tabs__l_o4rb8 .tabs__option_o4rb8 {
|
|
182
182
|
padding: 0;
|
|
183
|
-
}.
|
|
183
|
+
}.tabs__xl_o4rb8 .tabs__title_o4rb8 {
|
|
184
184
|
padding: var(--primary-tablist-xl-padding);
|
|
185
185
|
font-size: var(--primary-tablist-xl-font-size);
|
|
186
186
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
187
187
|
font-family: var(--primary-tablist-xl-font-family);
|
|
188
188
|
line-height: 32px;
|
|
189
|
-
}.
|
|
189
|
+
}.tabs__xl_o4rb8 .tabs__title_o4rb8 + .tabs__title_o4rb8 {
|
|
190
190
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
191
|
-
}.
|
|
191
|
+
}.tabs__xl_o4rb8 .tabs__pickerWrapper_o4rb8 {
|
|
192
192
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
193
|
-
}.
|
|
193
|
+
}.tabs__xl_o4rb8 .tabs__option_o4rb8 {
|
|
194
194
|
padding: 0;
|
|
195
|
-
}.
|
|
195
|
+
}.tabs__rightAddons_o4rb8 {
|
|
196
196
|
display: flex;
|
|
197
197
|
justify-content: center;
|
|
198
198
|
align-items: center;
|
|
@@ -1006,15 +1006,15 @@
|
|
|
1006
1006
|
/* size xl */
|
|
1007
1007
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
1008
1008
|
}
|
|
1009
|
-
.
|
|
1009
|
+
.tabs__title_122z5 {
|
|
1010
1010
|
}
|
|
1011
|
-
.
|
|
1011
|
+
.tabs__mobile_122z5 .tabs__title_122z5 {
|
|
1012
1012
|
padding: var(--primary-tablist-mobile-padding);
|
|
1013
1013
|
font-size: var(--primary-tablist-mobile-font-size);
|
|
1014
1014
|
font-weight: var(--primary-tablist-mobile-font-weight);
|
|
1015
1015
|
font-family: var(--primary-tablist-mobile-font-family);
|
|
1016
1016
|
line-height: var(--primary-tablist-mobile-line-height)
|
|
1017
1017
|
}
|
|
1018
|
-
.
|
|
1018
|
+
.tabs__mobile_122z5 .tabs__title_122z5 + .tabs__title_122z5 {
|
|
1019
1019
|
margin-left: var(--primary-tablist-mobile-gaps);
|
|
1020
1020
|
}
|
|
@@ -2,7 +2,7 @@ import React, { useEffect } from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import computeScrollIntoView from 'compute-scroll-into-view';
|
|
4
4
|
|
|
5
|
-
var styles = {"container":"
|
|
5
|
+
var styles = {"container":"tabs__container_t3lgk","fullWidthScroll":"tabs__fullWidthScroll_t3lgk"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: wkqcu */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
|
|
37
37
|
/* size xl */
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.tabs__container_t3lgk {
|
|
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_t3lgk::-webkit-scrollbar {
|
|
47
47
|
display: none;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.tabs__container_t3lgk > * {
|
|
50
50
|
flex-shrink: 0;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.tabs__fullWidthScroll_t3lgk {
|
|
53
53
|
margin: 0 var(--gap-m-neg);
|
|
54
54
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-dba20b6c.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '../../hooks/use-tabs.js';
|
|
@@ -6,7 +6,7 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '@alfalab/core-components-tag/esm';
|
|
8
8
|
import { SecondaryTabList } from './Component.js';
|
|
9
|
-
import { c as commonStyles } from '../../index.module-
|
|
9
|
+
import { c as commonStyles } from '../../index.module-bf6a03c6.js';
|
|
10
10
|
|
|
11
11
|
var SecondaryTabListDesktop = function (_a) {
|
|
12
12
|
var _b = _a.size, size = _b === void 0 ? 's' : _b, restProps = __rest(_a, ["size"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign, _ as __rest } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign, _ as __rest } from '../../tslib.es6-dba20b6c.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import '../../hooks/use-tabs.js';
|
|
@@ -6,9 +6,9 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '@alfalab/core-components-tag/esm';
|
|
8
8
|
import { SecondaryTabList } from './Component.js';
|
|
9
|
-
import { c as commonStyles } from '../../index.module-
|
|
9
|
+
import { c as commonStyles } from '../../index.module-bf6a03c6.js';
|
|
10
10
|
|
|
11
|
-
var mobileStyles = {"title":"
|
|
11
|
+
var mobileStyles = {"title":"tabs__title_1dr6m tabs__title_d0nna","mobile":"tabs__mobile_1dr6m"};
|
|
12
12
|
require('./mobile.css')
|
|
13
13
|
|
|
14
14
|
var styles = __assign(__assign({}, commonStyles), mobileStyles);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-dba20b6c.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import { useMedia } from '@alfalab/hooks';
|
|
@@ -7,7 +7,7 @@ import 'compute-scroll-into-view';
|
|
|
7
7
|
import '../scrollable-container/Component.js';
|
|
8
8
|
import '@alfalab/core-components-tag/esm';
|
|
9
9
|
import './Component.js';
|
|
10
|
-
import '../../index.module-
|
|
10
|
+
import '../../index.module-bf6a03c6.js';
|
|
11
11
|
import { SecondaryTabListDesktop } from './Component.desktop.js';
|
|
12
12
|
import { SecondaryTabListMobile } from './Component.mobile.js';
|
|
13
13
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 16d6w */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -44,35 +44,35 @@
|
|
|
44
44
|
/* size xl */
|
|
45
45
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.tabs__component_d0nna {
|
|
48
48
|
position: relative;
|
|
49
49
|
display: inline-flex;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.tabs__fullWidthScroll_d0nna {
|
|
52
52
|
margin: 0 var(--gap-m);
|
|
53
53
|
}
|
|
54
|
-
.
|
|
54
|
+
.tabs__container_d0nna {
|
|
55
55
|
overflow: hidden;
|
|
56
56
|
}
|
|
57
|
-
.
|
|
57
|
+
.tabs__title_d0nna {
|
|
58
58
|
white-space: nowrap;
|
|
59
59
|
}
|
|
60
60
|
/* sizes */
|
|
61
|
-
.
|
|
61
|
+
.tabs__xxs_d0nna .tabs__title_d0nna + .tabs__title_d0nna {
|
|
62
62
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
63
63
|
}
|
|
64
|
-
.
|
|
64
|
+
.tabs__xs_d0nna .tabs__title_d0nna + .tabs__title_d0nna {
|
|
65
65
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
66
66
|
}
|
|
67
|
-
.
|
|
67
|
+
.tabs__s_d0nna .tabs__title_d0nna + .tabs__title_d0nna {
|
|
68
68
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
.tabs__m_d0nna .tabs__title_d0nna + .tabs__title_d0nna {
|
|
71
71
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
72
72
|
}
|
|
73
|
-
.
|
|
73
|
+
.tabs__l_d0nna .tabs__title_d0nna + .tabs__title_d0nna {
|
|
74
74
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.tabs__xl_d0nna .tabs__title_d0nna + .tabs__title_d0nna {
|
|
77
77
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
78
78
|
}
|