@alfalab/core-components-tabs 7.0.1 → 7.1.0
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 +20 -20
- package/components/primary-tablist/mobile.css +32 -24
- 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 +20 -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/cssm/components/primary-tablist/mobile.module.css +2 -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 +20 -20
- package/esm/components/primary-tablist/mobile.css +32 -24
- 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 +20 -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/desktop.js +3 -3
- package/esm/index.js +3 -3
- package/esm/index.module-134e200e.js +4 -0
- package/esm/index.module-523e7b48.js +4 -0
- package/esm/mobile.js +3 -3
- package/esm/responsive.js +3 -3
- package/esm/{tslib.es6-4074594a.d.ts → tslib.es6-fbd13ab9.d.ts} +0 -0
- package/esm/{tslib.es6-4074594a.js → tslib.es6-fbd13ab9.js} +0 -0
- package/index.js +3 -3
- package/index.module-509288bb.js +6 -0
- package/index.module-7226e3a9.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 +20 -20
- package/modern/components/primary-tablist/mobile.css +32 -24
- 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 +20 -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-134e200e.js +4 -0
- package/modern/index.module-523e7b48.js +4 -0
- package/modern/mobile.js +2 -2
- package/modern/responsive.js +2 -2
- package/package.json +1 -1
- package/responsive.js +3 -3
- package/{tslib.es6-0ecd86e7.d.ts → tslib.es6-e61a3999.d.ts} +0 -0
- package/{tslib.es6-0ecd86e7.js → tslib.es6-e61a3999.js} +0 -0
- package/esm/index.module-8a913c30.js +0 -4
- package/esm/index.module-e2bdd346.js +0 -4
- package/index.module-26e7f797.js +0 -6
- package/index.module-a6debef8.js +0 -6
- package/modern/index.module-8a913c30.js +0 -4
- package/modern/index.module-e2bdd346.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-e61a3999.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
require('classnames');
|
|
@@ -10,11 +10,11 @@ require('compute-scroll-into-view');
|
|
|
10
10
|
require('../scrollable-container/Component.js');
|
|
11
11
|
require('../../useTabs.js');
|
|
12
12
|
require('../primary-tablist/Component.js');
|
|
13
|
-
require('../../index.module-
|
|
13
|
+
require('../../index.module-7226e3a9.js');
|
|
14
14
|
var components_primaryTablist_Component_desktop = require('../primary-tablist/Component.desktop.js');
|
|
15
15
|
require('@alfalab/core-components-tag');
|
|
16
16
|
require('../secondary-tablist/Component.js');
|
|
17
|
-
require('../../index.module-
|
|
17
|
+
require('../../index.module-509288bb.js');
|
|
18
18
|
var components_secondaryTablist_Component_desktop = require('../secondary-tablist/Component.desktop.js');
|
|
19
19
|
var components_tabs_Component = require('./Component.js');
|
|
20
20
|
|
|
@@ -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-e61a3999.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
require('classnames');
|
|
@@ -10,10 +10,10 @@ require('compute-scroll-into-view');
|
|
|
10
10
|
require('../scrollable-container/Component.js');
|
|
11
11
|
require('../../useTabs.js');
|
|
12
12
|
require('../primary-tablist/Component.js');
|
|
13
|
-
require('../../index.module-
|
|
13
|
+
require('../../index.module-7226e3a9.js');
|
|
14
14
|
require('@alfalab/core-components-tag');
|
|
15
15
|
require('../secondary-tablist/Component.js');
|
|
16
|
-
require('../../index.module-
|
|
16
|
+
require('../../index.module-509288bb.js');
|
|
17
17
|
var components_tabs_Component = require('./Component.js');
|
|
18
18
|
var components_primaryTablist_Component_mobile = require('../primary-tablist/Component.mobile.js');
|
|
19
19
|
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-e61a3999.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
require('classnames');
|
|
@@ -10,11 +10,11 @@ require('compute-scroll-into-view');
|
|
|
10
10
|
require('../scrollable-container/Component.js');
|
|
11
11
|
require('../../useTabs.js');
|
|
12
12
|
require('../primary-tablist/Component.js');
|
|
13
|
-
require('../../index.module-
|
|
13
|
+
require('../../index.module-7226e3a9.js');
|
|
14
14
|
require('../primary-tablist/Component.desktop.js');
|
|
15
15
|
require('@alfalab/core-components-tag');
|
|
16
16
|
require('../secondary-tablist/Component.js');
|
|
17
|
-
require('../../index.module-
|
|
17
|
+
require('../../index.module-509288bb.js');
|
|
18
18
|
require('../secondary-tablist/Component.desktop.js');
|
|
19
19
|
var components_tabs_Component = require('./Component.js');
|
|
20
20
|
require('@alfalab/hooks');
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
/* mobile */
|
|
20
20
|
--primary-tablist-mobile-gaps: var(--gap-xl);
|
|
21
21
|
--primary-tablist-mobile-font-size: 16px;
|
|
22
|
+
--primary-tablist-mobile-line-height: 24px;
|
|
22
23
|
--primary-tablist-mobile-font-weight: 400;
|
|
23
24
|
--primary-tablist-mobile-font-family: var(--font-family-system);
|
|
24
25
|
--primary-tablist-mobile-padding: 0 0 var(--gap-s);
|
|
@@ -53,7 +54,7 @@
|
|
|
53
54
|
font-size: var(--primary-tablist-mobile-font-size);
|
|
54
55
|
font-weight: var(--primary-tablist-mobile-font-weight);
|
|
55
56
|
font-family: var(--primary-tablist-mobile-font-family);
|
|
56
|
-
line-height:
|
|
57
|
+
line-height: var(--primary-tablist-mobile-line-height)
|
|
57
58
|
}
|
|
58
59
|
.mobile .title + .title {
|
|
59
60
|
margin-left: var(--primary-tablist-mobile-gaps);
|
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-e61a3999.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
require('classnames');
|
|
@@ -10,11 +10,11 @@ require('compute-scroll-into-view');
|
|
|
10
10
|
var components_scrollableContainer_Component = require('./components/scrollable-container/Component.js');
|
|
11
11
|
var useTabs = require('./useTabs.js');
|
|
12
12
|
require('./components/primary-tablist/Component.js');
|
|
13
|
-
require('./index.module-
|
|
13
|
+
require('./index.module-7226e3a9.js');
|
|
14
14
|
var components_primaryTablist_Component_desktop = require('./components/primary-tablist/Component.desktop.js');
|
|
15
15
|
require('@alfalab/core-components-tag');
|
|
16
16
|
require('./components/secondary-tablist/Component.js');
|
|
17
|
-
require('./index.module-
|
|
17
|
+
require('./index.module-509288bb.js');
|
|
18
18
|
var components_secondaryTablist_Component_desktop = require('./components/secondary-tablist/Component.desktop.js');
|
|
19
19
|
var components_tab_Component = require('./components/tab/Component.js');
|
|
20
20
|
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-fbd13ab9.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,7 +6,7 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import { PrimaryTabList } from './Component.js';
|
|
9
|
-
import { c as commonStyles } from '../../index.module-
|
|
9
|
+
import { c as commonStyles } from '../../index.module-134e200e.js';
|
|
10
10
|
|
|
11
11
|
var PrimaryTabListDesktop = function (_a) {
|
|
12
12
|
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-fbd13ab9.js';
|
|
2
2
|
import React, { useRef, useEffect } from 'react';
|
|
3
3
|
import { KeyboardFocusable } from '@alfalab/core-components-keyboard-focusable/esm';
|
|
4
4
|
import cn from 'classnames';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign, _ as __rest } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign, _ as __rest } from '../../tslib.es6-fbd13ab9.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/esm';
|
|
4
4
|
import cn from 'classnames';
|
|
@@ -6,9 +6,9 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import { PrimaryTabList } from './Component.js';
|
|
9
|
-
import { c as commonStyles } from '../../index.module-
|
|
9
|
+
import { c as commonStyles } from '../../index.module-134e200e.js';
|
|
10
10
|
|
|
11
|
-
var mobileStyles = {"title":"
|
|
11
|
+
var mobileStyles = {"title":"tabs__title_186yr tabs__title_3bs9g","mobile":"tabs__mobile_186yr"};
|
|
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-fbd13ab9.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,7 +6,7 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import './Component.js';
|
|
9
|
-
import '../../index.module-
|
|
9
|
+
import '../../index.module-134e200e.js';
|
|
10
10
|
import { PrimaryTabListDesktop } from './Component.desktop.js';
|
|
11
11
|
import { useMedia } from '@alfalab/hooks';
|
|
12
12
|
import { PrimaryTabListMobile } from './Component.mobile.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: cqbct */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-accent: #ef3124;
|
|
4
4
|
--color-light-border-link: #007aff;
|
|
@@ -82,12 +82,12 @@
|
|
|
82
82
|
|
|
83
83
|
/* size xl */
|
|
84
84
|
}
|
|
85
|
-
.
|
|
85
|
+
.tabs__component_3bs9g {
|
|
86
86
|
position: relative;
|
|
87
87
|
display: inline-flex;
|
|
88
88
|
min-width: 100%
|
|
89
89
|
}
|
|
90
|
-
.
|
|
90
|
+
.tabs__component_3bs9g:before {
|
|
91
91
|
content: '';
|
|
92
92
|
display: block;
|
|
93
93
|
position: absolute;
|
|
@@ -96,15 +96,15 @@
|
|
|
96
96
|
width: 100%;
|
|
97
97
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
98
98
|
}
|
|
99
|
-
.
|
|
99
|
+
.tabs__fullWidthScroll_3bs9g {
|
|
100
100
|
min-width: calc(100% - 2 * var(--gap-m));
|
|
101
101
|
margin: 0 var(--gap-m);
|
|
102
102
|
}
|
|
103
|
-
.
|
|
103
|
+
.tabs__container_3bs9g {
|
|
104
104
|
position: relative;
|
|
105
105
|
overflow: hidden;
|
|
106
106
|
}
|
|
107
|
-
.
|
|
107
|
+
.tabs__title_3bs9g {
|
|
108
108
|
display: flex;
|
|
109
109
|
align-items: center;
|
|
110
110
|
height: 100%;
|
|
@@ -122,22 +122,22 @@
|
|
|
122
122
|
cursor: pointer;
|
|
123
123
|
outline: none
|
|
124
124
|
}
|
|
125
|
-
.
|
|
125
|
+
.tabs__title_3bs9g:not(.tabs__disabled_3bs9g):hover {
|
|
126
126
|
color: var(--primary-tablist-hover-color);
|
|
127
127
|
}
|
|
128
|
-
.
|
|
128
|
+
.tabs__focused_3bs9g {
|
|
129
129
|
outline: 2px solid var(--focus-color);
|
|
130
130
|
outline-offset: 2px;
|
|
131
131
|
}
|
|
132
|
-
.
|
|
132
|
+
.tabs__selected_3bs9g {
|
|
133
133
|
cursor: default;
|
|
134
134
|
color: var(--primary-tablist-selected-color);
|
|
135
135
|
}
|
|
136
|
-
.
|
|
136
|
+
.tabs__disabled_3bs9g {
|
|
137
137
|
cursor: var(--disabled-cursor);
|
|
138
138
|
color: var(--primary-tablist-disabled-color);
|
|
139
139
|
}
|
|
140
|
-
.
|
|
140
|
+
.tabs__line_3bs9g {
|
|
141
141
|
position: absolute;
|
|
142
142
|
height: 3px;
|
|
143
143
|
bottom: 0;
|
|
@@ -146,46 +146,46 @@
|
|
|
146
146
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
147
147
|
}
|
|
148
148
|
/* sizes */
|
|
149
|
-
.
|
|
149
|
+
.tabs__s_3bs9g .tabs__title_3bs9g, .tabs__xs_3bs9g .tabs__title_3bs9g, .tabs__xxs_3bs9g .tabs__title_3bs9g {
|
|
150
150
|
padding: var(--primary-tablist-s-padding);
|
|
151
151
|
font-size: var(--primary-tablist-s-font-size);
|
|
152
152
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
153
153
|
font-family: var(--primary-tablist-s-font-family);
|
|
154
154
|
line-height: 24px;
|
|
155
155
|
}
|
|
156
|
-
.
|
|
156
|
+
.tabs__s_3bs9g .tabs__title_3bs9g + .tabs__title_3bs9g, .tabs__xs_3bs9g .tabs__title_3bs9g + .tabs__title_3bs9g, .tabs__xxs_3bs9g .tabs__title_3bs9g + .tabs__title_3bs9g {
|
|
157
157
|
margin-left: var(--primary-tablist-s-gaps);
|
|
158
158
|
}
|
|
159
|
-
.
|
|
159
|
+
.tabs__m_3bs9g .tabs__title_3bs9g {
|
|
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
|
}
|
|
166
|
-
.
|
|
166
|
+
.tabs__m_3bs9g .tabs__title_3bs9g + .tabs__title_3bs9g {
|
|
167
167
|
margin-left: var(--primary-tablist-m-gaps);
|
|
168
168
|
}
|
|
169
|
-
.
|
|
169
|
+
.tabs__l_3bs9g .tabs__title_3bs9g {
|
|
170
170
|
padding: var(--primary-tablist-l-padding);
|
|
171
171
|
font-size: var(--primary-tablist-l-font-size);
|
|
172
172
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
173
173
|
font-family: var(--primary-tablist-l-font-family);
|
|
174
174
|
line-height: 24px;
|
|
175
175
|
}
|
|
176
|
-
.
|
|
176
|
+
.tabs__l_3bs9g .tabs__title_3bs9g + .tabs__title_3bs9g {
|
|
177
177
|
margin-left: var(--primary-tablist-l-gaps);
|
|
178
178
|
}
|
|
179
|
-
.
|
|
179
|
+
.tabs__xl_3bs9g .tabs__title_3bs9g {
|
|
180
180
|
padding: var(--primary-tablist-xl-padding);
|
|
181
181
|
font-size: var(--primary-tablist-xl-font-size);
|
|
182
182
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
183
183
|
font-family: var(--primary-tablist-xl-font-family);
|
|
184
184
|
line-height: 32px;
|
|
185
185
|
}
|
|
186
|
-
.
|
|
186
|
+
.tabs__xl_3bs9g .tabs__title_3bs9g + .tabs__title_3bs9g {
|
|
187
187
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
188
188
|
}
|
|
189
|
-
.
|
|
189
|
+
.tabs__rightAddons_3bs9g {
|
|
190
190
|
margin-left: var(--gap-xs);
|
|
191
191
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ktvhl */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
/* mobile */
|
|
42
42
|
--primary-tablist-mobile-gaps: var(--gap-xl);
|
|
43
43
|
--primary-tablist-mobile-font-size: 16px;
|
|
44
|
+
--primary-tablist-mobile-line-height: 24px;
|
|
44
45
|
--primary-tablist-mobile-font-weight: 400;
|
|
45
46
|
--primary-tablist-mobile-font-family: var(--font-family-system);
|
|
46
47
|
--primary-tablist-mobile-padding: 0 0 var(--gap-s);
|
|
@@ -86,11 +87,11 @@
|
|
|
86
87
|
/* size l */
|
|
87
88
|
|
|
88
89
|
/* size xl */
|
|
89
|
-
}.
|
|
90
|
+
}.tabs__component_3bs9g {
|
|
90
91
|
position: relative;
|
|
91
92
|
display: inline-flex;
|
|
92
93
|
min-width: 100%
|
|
93
|
-
}.
|
|
94
|
+
}.tabs__component_3bs9g:before {
|
|
94
95
|
content: '';
|
|
95
96
|
display: block;
|
|
96
97
|
position: absolute;
|
|
@@ -98,13 +99,13 @@
|
|
|
98
99
|
height: 1px;
|
|
99
100
|
width: 100%;
|
|
100
101
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
101
|
-
}.
|
|
102
|
+
}.tabs__fullWidthScroll_3bs9g {
|
|
102
103
|
min-width: calc(100% - 2 * var(--gap-m));
|
|
103
104
|
margin: 0 var(--gap-m);
|
|
104
|
-
}.
|
|
105
|
+
}.tabs__container_3bs9g {
|
|
105
106
|
position: relative;
|
|
106
107
|
overflow: hidden;
|
|
107
|
-
}.
|
|
108
|
+
}.tabs__title_3bs9g {
|
|
108
109
|
display: flex;
|
|
109
110
|
align-items: center;
|
|
110
111
|
height: 100%;
|
|
@@ -121,57 +122,57 @@
|
|
|
121
122
|
user-select: none;
|
|
122
123
|
cursor: pointer;
|
|
123
124
|
outline: none
|
|
124
|
-
}.
|
|
125
|
+
}.tabs__title_3bs9g:not(.tabs__disabled_3bs9g):hover {
|
|
125
126
|
color: var(--primary-tablist-hover-color);
|
|
126
|
-
}.
|
|
127
|
+
}.tabs__focused_3bs9g {
|
|
127
128
|
outline: 2px solid var(--focus-color);
|
|
128
129
|
outline-offset: 2px;
|
|
129
|
-
}.
|
|
130
|
+
}.tabs__selected_3bs9g {
|
|
130
131
|
cursor: default;
|
|
131
132
|
color: var(--primary-tablist-selected-color);
|
|
132
|
-
}.
|
|
133
|
+
}.tabs__disabled_3bs9g {
|
|
133
134
|
cursor: var(--disabled-cursor);
|
|
134
135
|
color: var(--primary-tablist-disabled-color);
|
|
135
|
-
}.
|
|
136
|
+
}.tabs__line_3bs9g {
|
|
136
137
|
position: absolute;
|
|
137
138
|
height: 3px;
|
|
138
139
|
bottom: 0;
|
|
139
140
|
left: 0;
|
|
140
141
|
background-color: var(--primary-tablist-line-color);
|
|
141
142
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
142
|
-
}/* sizes */.
|
|
143
|
+
}/* sizes */.tabs__s_3bs9g .tabs__title_3bs9g, .tabs__xs_3bs9g .tabs__title_3bs9g, .tabs__xxs_3bs9g .tabs__title_3bs9g {
|
|
143
144
|
padding: var(--primary-tablist-s-padding);
|
|
144
145
|
font-size: var(--primary-tablist-s-font-size);
|
|
145
146
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
146
147
|
font-family: var(--primary-tablist-s-font-family);
|
|
147
148
|
line-height: 24px;
|
|
148
|
-
}.
|
|
149
|
+
}.tabs__s_3bs9g .tabs__title_3bs9g + .tabs__title_3bs9g, .tabs__xs_3bs9g .tabs__title_3bs9g + .tabs__title_3bs9g, .tabs__xxs_3bs9g .tabs__title_3bs9g + .tabs__title_3bs9g {
|
|
149
150
|
margin-left: var(--primary-tablist-s-gaps);
|
|
150
|
-
}.
|
|
151
|
+
}.tabs__m_3bs9g .tabs__title_3bs9g {
|
|
151
152
|
padding: var(--primary-tablist-m-padding);
|
|
152
153
|
font-size: var(--primary-tablist-m-font-size);
|
|
153
154
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
154
155
|
font-family: var(--primary-tablist-m-font-family);
|
|
155
156
|
line-height: 24px;
|
|
156
|
-
}.
|
|
157
|
+
}.tabs__m_3bs9g .tabs__title_3bs9g + .tabs__title_3bs9g {
|
|
157
158
|
margin-left: var(--primary-tablist-m-gaps);
|
|
158
|
-
}.
|
|
159
|
+
}.tabs__l_3bs9g .tabs__title_3bs9g {
|
|
159
160
|
padding: var(--primary-tablist-l-padding);
|
|
160
161
|
font-size: var(--primary-tablist-l-font-size);
|
|
161
162
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
162
163
|
font-family: var(--primary-tablist-l-font-family);
|
|
163
164
|
line-height: 24px;
|
|
164
|
-
}.
|
|
165
|
+
}.tabs__l_3bs9g .tabs__title_3bs9g + .tabs__title_3bs9g {
|
|
165
166
|
margin-left: var(--primary-tablist-l-gaps);
|
|
166
|
-
}.
|
|
167
|
+
}.tabs__xl_3bs9g .tabs__title_3bs9g {
|
|
167
168
|
padding: var(--primary-tablist-xl-padding);
|
|
168
169
|
font-size: var(--primary-tablist-xl-font-size);
|
|
169
170
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
170
171
|
font-family: var(--primary-tablist-xl-font-family);
|
|
171
172
|
line-height: 32px;
|
|
172
|
-
}.
|
|
173
|
+
}.tabs__xl_3bs9g .tabs__title_3bs9g + .tabs__title_3bs9g {
|
|
173
174
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
174
|
-
}.
|
|
175
|
+
}.tabs__rightAddons_3bs9g {
|
|
175
176
|
margin-left: var(--gap-xs);
|
|
176
177
|
}
|
|
177
178
|
:root {
|
|
@@ -516,6 +517,8 @@
|
|
|
516
517
|
--color-dark-bg-primary-alpha-32: rgba(11, 31, 53, 0.32);
|
|
517
518
|
--color-dark-bg-primary-alpha-37: rgba(11, 31, 53, 0.37);
|
|
518
519
|
--color-dark-bg-primary-alpha-40: rgba(11, 31, 53, 0.4);
|
|
520
|
+
--color-dark-bg-primary-tint-7: rgb(28, 47, 67);
|
|
521
|
+
--color-dark-bg-primary-tint-15: rgb(48, 65, 83);
|
|
519
522
|
--color-dark-bg-primary-inverted-alpha-3: rgba(255, 255, 255, 0.03);
|
|
520
523
|
--color-dark-bg-primary-inverted-alpha-4: rgba(255, 255, 255, 0.04);
|
|
521
524
|
--color-dark-bg-primary-inverted-alpha-5: rgba(255, 255, 255, 0.05);
|
|
@@ -531,6 +534,7 @@
|
|
|
531
534
|
--color-dark-bg-primary-inverted-alpha-32: rgba(255, 255, 255, 0.32);
|
|
532
535
|
--color-dark-bg-primary-inverted-alpha-40: rgba(255, 255, 255, 0.4);
|
|
533
536
|
--color-dark-bg-primary-inverted-alpha-50: rgba(255, 255, 255, 0.5);
|
|
537
|
+
--color-dark-bg-primary-inverted-shade-7: rgb(237, 237, 237);
|
|
534
538
|
--color-dark-bg-primary-inverted-shade-15: rgb(217, 217, 217);
|
|
535
539
|
--color-dark-bg-primary-inverted-shade-20: rgb(204, 204, 204);
|
|
536
540
|
--color-dark-bg-quaternary-alpha-30: rgba(72, 87, 103, 0.3);
|
|
@@ -652,6 +656,8 @@
|
|
|
652
656
|
--color-light-bg-primary-alpha-32: rgba(255, 255, 255, 0.32);
|
|
653
657
|
--color-light-bg-primary-alpha-37: rgba(255, 255, 255, 0.37);
|
|
654
658
|
--color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
|
|
659
|
+
--color-light-bg-primary-shade-7: rgb(237, 237, 237);
|
|
660
|
+
--color-light-bg-primary-shade-15: rgb(217, 217, 217);
|
|
655
661
|
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
656
662
|
--color-light-bg-primary-inverted-alpha-4: rgba(11, 31, 53, 0.04);
|
|
657
663
|
--color-light-bg-primary-inverted-alpha-5: rgba(11, 31, 53, 0.05);
|
|
@@ -667,6 +673,7 @@
|
|
|
667
673
|
--color-light-bg-primary-inverted-alpha-32: rgba(11, 31, 53, 0.32);
|
|
668
674
|
--color-light-bg-primary-inverted-alpha-40: rgba(11, 31, 53, 0.4);
|
|
669
675
|
--color-light-bg-primary-inverted-alpha-50: rgba(11, 31, 53, 0.5);
|
|
676
|
+
--color-light-bg-primary-inverted-tint-7: rgb(28, 47, 67);
|
|
670
677
|
--color-light-bg-primary-inverted-tint-15: rgb(48, 65, 83);
|
|
671
678
|
--color-light-bg-primary-inverted-tint-20: rgb(60, 76, 93);
|
|
672
679
|
--color-light-bg-quaternary-alpha-30: rgba(219, 222, 225, 0.3);
|
|
@@ -913,6 +920,7 @@
|
|
|
913
920
|
/* mobile */
|
|
914
921
|
--primary-tablist-mobile-gaps: var(--gap-xl);
|
|
915
922
|
--primary-tablist-mobile-font-size: 16px;
|
|
923
|
+
--primary-tablist-mobile-line-height: 24px;
|
|
916
924
|
--primary-tablist-mobile-font-weight: 400;
|
|
917
925
|
--primary-tablist-mobile-font-family: var(--font-family-system);
|
|
918
926
|
--primary-tablist-mobile-padding: 0 0 var(--gap-s);
|
|
@@ -966,15 +974,15 @@
|
|
|
966
974
|
/* size xl */
|
|
967
975
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
968
976
|
}
|
|
969
|
-
.
|
|
977
|
+
.tabs__title_186yr {
|
|
970
978
|
}
|
|
971
|
-
.
|
|
979
|
+
.tabs__mobile_186yr .tabs__title_186yr {
|
|
972
980
|
padding: var(--primary-tablist-mobile-padding);
|
|
973
981
|
font-size: var(--primary-tablist-mobile-font-size);
|
|
974
982
|
font-weight: var(--primary-tablist-mobile-font-weight);
|
|
975
983
|
font-family: var(--primary-tablist-mobile-font-family);
|
|
976
|
-
line-height:
|
|
984
|
+
line-height: var(--primary-tablist-mobile-line-height)
|
|
977
985
|
}
|
|
978
|
-
.
|
|
986
|
+
.tabs__mobile_186yr .tabs__title_186yr + .tabs__title_186yr {
|
|
979
987
|
margin-left: var(--primary-tablist-mobile-gaps);
|
|
980
988
|
}
|
|
@@ -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_1p5a2","fullWidthScroll":"tabs__fullWidthScroll_1p5a2"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1lg9t */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
|
|
37
37
|
/* size xl */
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.tabs__container_1p5a2 {
|
|
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_1p5a2::-webkit-scrollbar {
|
|
47
47
|
display: none;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.tabs__container_1p5a2 > * {
|
|
50
50
|
flex-shrink: 0;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.tabs__fullWidthScroll_1p5a2 {
|
|
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-fbd13ab9.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import 'compute-scroll-into-view';
|
|
@@ -6,7 +6,7 @@ import '../scrollable-container/Component.js';
|
|
|
6
6
|
import '../../useTabs.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-523e7b48.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-fbd13ab9.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import 'compute-scroll-into-view';
|
|
@@ -6,9 +6,9 @@ import '../scrollable-container/Component.js';
|
|
|
6
6
|
import '../../useTabs.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-523e7b48.js';
|
|
10
10
|
|
|
11
|
-
var mobileStyles = {"title":"
|
|
11
|
+
var mobileStyles = {"title":"tabs__title_1otp0 tabs__title_j4n9p","mobile":"tabs__mobile_1otp0"};
|
|
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-fbd13ab9.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import 'compute-scroll-into-view';
|
|
@@ -6,7 +6,7 @@ import '../scrollable-container/Component.js';
|
|
|
6
6
|
import '../../useTabs.js';
|
|
7
7
|
import '@alfalab/core-components-tag/esm';
|
|
8
8
|
import './Component.js';
|
|
9
|
-
import '../../index.module-
|
|
9
|
+
import '../../index.module-523e7b48.js';
|
|
10
10
|
import { SecondaryTabListDesktop } from './Component.desktop.js';
|
|
11
11
|
import { useMedia } from '@alfalab/hooks';
|
|
12
12
|
import { SecondaryTabListMobile } from './Component.mobile.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: nz77x */
|
|
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_j4n9p {
|
|
48
48
|
position: relative;
|
|
49
49
|
display: inline-flex;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.tabs__fullWidthScroll_j4n9p {
|
|
52
52
|
margin: 0 var(--gap-m);
|
|
53
53
|
}
|
|
54
|
-
.
|
|
54
|
+
.tabs__container_j4n9p {
|
|
55
55
|
overflow: hidden;
|
|
56
56
|
}
|
|
57
|
-
.
|
|
57
|
+
.tabs__title_j4n9p {
|
|
58
58
|
white-space: nowrap;
|
|
59
59
|
}
|
|
60
60
|
/* sizes */
|
|
61
|
-
.
|
|
61
|
+
.tabs__xxs_j4n9p .tabs__title_j4n9p + .tabs__title_j4n9p {
|
|
62
62
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
63
63
|
}
|
|
64
|
-
.
|
|
64
|
+
.tabs__xs_j4n9p .tabs__title_j4n9p + .tabs__title_j4n9p {
|
|
65
65
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
66
66
|
}
|
|
67
|
-
.
|
|
67
|
+
.tabs__s_j4n9p .tabs__title_j4n9p + .tabs__title_j4n9p {
|
|
68
68
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
.tabs__m_j4n9p .tabs__title_j4n9p + .tabs__title_j4n9p {
|
|
71
71
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
72
72
|
}
|
|
73
|
-
.
|
|
73
|
+
.tabs__l_j4n9p .tabs__title_j4n9p + .tabs__title_j4n9p {
|
|
74
74
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.tabs__xl_j4n9p .tabs__title_j4n9p + .tabs__title_j4n9p {
|
|
77
77
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
78
78
|
}
|