@alfalab/core-components-tabs 7.0.1 → 7.1.1
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 +22 -21
- package/components/primary-tablist/mobile.css +35 -25
- 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 +21 -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/index.module.css +2 -1
- 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 +22 -21
- package/esm/components/primary-tablist/mobile.css +35 -25
- 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 +21 -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-17321b1b.js +4 -0
- package/esm/index.module-198d371d.js +4 -0
- package/esm/mobile.js +3 -3
- package/esm/responsive.js +3 -3
- package/esm/{tslib.es6-4074594a.d.ts → tslib.es6-444ae64e.d.ts} +0 -0
- package/esm/{tslib.es6-4074594a.js → tslib.es6-444ae64e.js} +0 -0
- package/index.js +3 -3
- package/index.module-3530e300.js +6 -0
- package/index.module-c424649c.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 +22 -21
- package/modern/components/primary-tablist/mobile.css +35 -25
- 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 +21 -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-17321b1b.js +4 -0
- package/modern/index.module-198d371d.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-fcb75541.d.ts} +0 -0
- package/{tslib.es6-0ecd86e7.js → tslib.es6-fcb75541.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-fcb75541.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
require('classnames');
|
|
@@ -10,7 +10,7 @@ require('compute-scroll-into-view');
|
|
|
10
10
|
require('../scrollable-container/Component.js');
|
|
11
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-c424649c.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
16
|
|
|
@@ -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-fcb75541.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var coreComponentsKeyboardFocusable = require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
var cn = require('classnames');
|
|
@@ -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-fcb75541.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
var cn = require('classnames');
|
|
@@ -10,14 +10,14 @@ require('compute-scroll-into-view');
|
|
|
10
10
|
require('../scrollable-container/Component.js');
|
|
11
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-c424649c.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_fowyz tabs__title_1aith","mobile":"tabs__mobile_fowyz"};
|
|
21
21
|
require('./mobile.css')
|
|
22
22
|
|
|
23
23
|
var styles = tslib_es6.__assign(tslib_es6.__assign({}, index_module.commonStyles), mobileStyles);
|
|
@@ -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-fcb75541.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
require('classnames');
|
|
@@ -10,7 +10,7 @@ require('compute-scroll-into-view');
|
|
|
10
10
|
require('../scrollable-container/Component.js');
|
|
11
11
|
require('../../useTabs.js');
|
|
12
12
|
require('./Component.js');
|
|
13
|
-
require('../../index.module-
|
|
13
|
+
require('../../index.module-c424649c.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,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: skdkb */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-accent: #ef3124;
|
|
4
4
|
--color-light-border-link: #007aff;
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
--primary-tablist-disabled-color: var(--color-light-text-tertiary);
|
|
38
38
|
--primary-tablist-bottom-border-color: var(--color-light-border-primary);
|
|
39
39
|
--primary-tablist-line-color: var(--color-light-border-accent);
|
|
40
|
+
--primary-tablist-font-feature-settings: normal;
|
|
40
41
|
|
|
41
42
|
/* mobile */
|
|
42
43
|
|
|
@@ -82,12 +83,12 @@
|
|
|
82
83
|
|
|
83
84
|
/* size xl */
|
|
84
85
|
}
|
|
85
|
-
.
|
|
86
|
+
.tabs__component_1aith {
|
|
86
87
|
position: relative;
|
|
87
88
|
display: inline-flex;
|
|
88
89
|
min-width: 100%
|
|
89
90
|
}
|
|
90
|
-
.
|
|
91
|
+
.tabs__component_1aith:before {
|
|
91
92
|
content: '';
|
|
92
93
|
display: block;
|
|
93
94
|
position: absolute;
|
|
@@ -96,22 +97,22 @@
|
|
|
96
97
|
width: 100%;
|
|
97
98
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
98
99
|
}
|
|
99
|
-
.
|
|
100
|
+
.tabs__fullWidthScroll_1aith {
|
|
100
101
|
min-width: calc(100% - 2 * var(--gap-m));
|
|
101
102
|
margin: 0 var(--gap-m);
|
|
102
103
|
}
|
|
103
|
-
.
|
|
104
|
+
.tabs__container_1aith {
|
|
104
105
|
position: relative;
|
|
105
106
|
overflow: hidden;
|
|
106
107
|
}
|
|
107
|
-
.
|
|
108
|
+
.tabs__title_1aith {
|
|
108
109
|
display: flex;
|
|
109
110
|
align-items: center;
|
|
110
111
|
height: 100%;
|
|
111
112
|
padding: 0;
|
|
112
113
|
cursor: pointer;
|
|
113
114
|
color: var(--primary-tablist-color);
|
|
114
|
-
font-feature-settings:
|
|
115
|
+
font-feature-settings: var(--primary-tablist-font-feature-settings);
|
|
115
116
|
transition: color 0.2s ease;
|
|
116
117
|
border: 0;
|
|
117
118
|
background: none;
|
|
@@ -122,22 +123,22 @@
|
|
|
122
123
|
cursor: pointer;
|
|
123
124
|
outline: none
|
|
124
125
|
}
|
|
125
|
-
.
|
|
126
|
+
.tabs__title_1aith:not(.tabs__disabled_1aith):hover {
|
|
126
127
|
color: var(--primary-tablist-hover-color);
|
|
127
128
|
}
|
|
128
|
-
.
|
|
129
|
+
.tabs__focused_1aith {
|
|
129
130
|
outline: 2px solid var(--focus-color);
|
|
130
131
|
outline-offset: 2px;
|
|
131
132
|
}
|
|
132
|
-
.
|
|
133
|
+
.tabs__selected_1aith {
|
|
133
134
|
cursor: default;
|
|
134
135
|
color: var(--primary-tablist-selected-color);
|
|
135
136
|
}
|
|
136
|
-
.
|
|
137
|
+
.tabs__disabled_1aith {
|
|
137
138
|
cursor: var(--disabled-cursor);
|
|
138
139
|
color: var(--primary-tablist-disabled-color);
|
|
139
140
|
}
|
|
140
|
-
.
|
|
141
|
+
.tabs__line_1aith {
|
|
141
142
|
position: absolute;
|
|
142
143
|
height: 3px;
|
|
143
144
|
bottom: 0;
|
|
@@ -146,46 +147,46 @@
|
|
|
146
147
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
147
148
|
}
|
|
148
149
|
/* sizes */
|
|
149
|
-
.
|
|
150
|
+
.tabs__s_1aith .tabs__title_1aith, .tabs__xs_1aith .tabs__title_1aith, .tabs__xxs_1aith .tabs__title_1aith {
|
|
150
151
|
padding: var(--primary-tablist-s-padding);
|
|
151
152
|
font-size: var(--primary-tablist-s-font-size);
|
|
152
153
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
153
154
|
font-family: var(--primary-tablist-s-font-family);
|
|
154
155
|
line-height: 24px;
|
|
155
156
|
}
|
|
156
|
-
.
|
|
157
|
+
.tabs__s_1aith .tabs__title_1aith + .tabs__title_1aith, .tabs__xs_1aith .tabs__title_1aith + .tabs__title_1aith, .tabs__xxs_1aith .tabs__title_1aith + .tabs__title_1aith {
|
|
157
158
|
margin-left: var(--primary-tablist-s-gaps);
|
|
158
159
|
}
|
|
159
|
-
.
|
|
160
|
+
.tabs__m_1aith .tabs__title_1aith {
|
|
160
161
|
padding: var(--primary-tablist-m-padding);
|
|
161
162
|
font-size: var(--primary-tablist-m-font-size);
|
|
162
163
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
163
164
|
font-family: var(--primary-tablist-m-font-family);
|
|
164
165
|
line-height: 24px;
|
|
165
166
|
}
|
|
166
|
-
.
|
|
167
|
+
.tabs__m_1aith .tabs__title_1aith + .tabs__title_1aith {
|
|
167
168
|
margin-left: var(--primary-tablist-m-gaps);
|
|
168
169
|
}
|
|
169
|
-
.
|
|
170
|
+
.tabs__l_1aith .tabs__title_1aith {
|
|
170
171
|
padding: var(--primary-tablist-l-padding);
|
|
171
172
|
font-size: var(--primary-tablist-l-font-size);
|
|
172
173
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
173
174
|
font-family: var(--primary-tablist-l-font-family);
|
|
174
175
|
line-height: 24px;
|
|
175
176
|
}
|
|
176
|
-
.
|
|
177
|
+
.tabs__l_1aith .tabs__title_1aith + .tabs__title_1aith {
|
|
177
178
|
margin-left: var(--primary-tablist-l-gaps);
|
|
178
179
|
}
|
|
179
|
-
.
|
|
180
|
+
.tabs__xl_1aith .tabs__title_1aith {
|
|
180
181
|
padding: var(--primary-tablist-xl-padding);
|
|
181
182
|
font-size: var(--primary-tablist-xl-font-size);
|
|
182
183
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
183
184
|
font-family: var(--primary-tablist-xl-font-family);
|
|
184
185
|
line-height: 32px;
|
|
185
186
|
}
|
|
186
|
-
.
|
|
187
|
+
.tabs__xl_1aith .tabs__title_1aith + .tabs__title_1aith {
|
|
187
188
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
188
189
|
}
|
|
189
|
-
.
|
|
190
|
+
.tabs__rightAddons_1aith {
|
|
190
191
|
margin-left: var(--gap-xs);
|
|
191
192
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: tyvld */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -37,10 +37,12 @@
|
|
|
37
37
|
--primary-tablist-disabled-color: var(--color-light-text-tertiary);
|
|
38
38
|
--primary-tablist-bottom-border-color: var(--color-light-border-primary);
|
|
39
39
|
--primary-tablist-line-color: var(--color-light-border-accent);
|
|
40
|
+
--primary-tablist-font-feature-settings: normal;
|
|
40
41
|
|
|
41
42
|
/* mobile */
|
|
42
43
|
--primary-tablist-mobile-gaps: var(--gap-xl);
|
|
43
44
|
--primary-tablist-mobile-font-size: 16px;
|
|
45
|
+
--primary-tablist-mobile-line-height: 24px;
|
|
44
46
|
--primary-tablist-mobile-font-weight: 400;
|
|
45
47
|
--primary-tablist-mobile-font-family: var(--font-family-system);
|
|
46
48
|
--primary-tablist-mobile-padding: 0 0 var(--gap-s);
|
|
@@ -86,11 +88,11 @@
|
|
|
86
88
|
/* size l */
|
|
87
89
|
|
|
88
90
|
/* size xl */
|
|
89
|
-
}.
|
|
91
|
+
}.tabs__component_1aith {
|
|
90
92
|
position: relative;
|
|
91
93
|
display: inline-flex;
|
|
92
94
|
min-width: 100%
|
|
93
|
-
}.
|
|
95
|
+
}.tabs__component_1aith:before {
|
|
94
96
|
content: '';
|
|
95
97
|
display: block;
|
|
96
98
|
position: absolute;
|
|
@@ -98,20 +100,20 @@
|
|
|
98
100
|
height: 1px;
|
|
99
101
|
width: 100%;
|
|
100
102
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
101
|
-
}.
|
|
103
|
+
}.tabs__fullWidthScroll_1aith {
|
|
102
104
|
min-width: calc(100% - 2 * var(--gap-m));
|
|
103
105
|
margin: 0 var(--gap-m);
|
|
104
|
-
}.
|
|
106
|
+
}.tabs__container_1aith {
|
|
105
107
|
position: relative;
|
|
106
108
|
overflow: hidden;
|
|
107
|
-
}.
|
|
109
|
+
}.tabs__title_1aith {
|
|
108
110
|
display: flex;
|
|
109
111
|
align-items: center;
|
|
110
112
|
height: 100%;
|
|
111
113
|
padding: 0;
|
|
112
114
|
cursor: pointer;
|
|
113
115
|
color: var(--primary-tablist-color);
|
|
114
|
-
font-feature-settings:
|
|
116
|
+
font-feature-settings: var(--primary-tablist-font-feature-settings);
|
|
115
117
|
transition: color 0.2s ease;
|
|
116
118
|
border: 0;
|
|
117
119
|
background: none;
|
|
@@ -121,57 +123,57 @@
|
|
|
121
123
|
user-select: none;
|
|
122
124
|
cursor: pointer;
|
|
123
125
|
outline: none
|
|
124
|
-
}.
|
|
126
|
+
}.tabs__title_1aith:not(.tabs__disabled_1aith):hover {
|
|
125
127
|
color: var(--primary-tablist-hover-color);
|
|
126
|
-
}.
|
|
128
|
+
}.tabs__focused_1aith {
|
|
127
129
|
outline: 2px solid var(--focus-color);
|
|
128
130
|
outline-offset: 2px;
|
|
129
|
-
}.
|
|
131
|
+
}.tabs__selected_1aith {
|
|
130
132
|
cursor: default;
|
|
131
133
|
color: var(--primary-tablist-selected-color);
|
|
132
|
-
}.
|
|
134
|
+
}.tabs__disabled_1aith {
|
|
133
135
|
cursor: var(--disabled-cursor);
|
|
134
136
|
color: var(--primary-tablist-disabled-color);
|
|
135
|
-
}.
|
|
137
|
+
}.tabs__line_1aith {
|
|
136
138
|
position: absolute;
|
|
137
139
|
height: 3px;
|
|
138
140
|
bottom: 0;
|
|
139
141
|
left: 0;
|
|
140
142
|
background-color: var(--primary-tablist-line-color);
|
|
141
143
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
142
|
-
}/* sizes */.
|
|
144
|
+
}/* sizes */.tabs__s_1aith .tabs__title_1aith, .tabs__xs_1aith .tabs__title_1aith, .tabs__xxs_1aith .tabs__title_1aith {
|
|
143
145
|
padding: var(--primary-tablist-s-padding);
|
|
144
146
|
font-size: var(--primary-tablist-s-font-size);
|
|
145
147
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
146
148
|
font-family: var(--primary-tablist-s-font-family);
|
|
147
149
|
line-height: 24px;
|
|
148
|
-
}.
|
|
150
|
+
}.tabs__s_1aith .tabs__title_1aith + .tabs__title_1aith, .tabs__xs_1aith .tabs__title_1aith + .tabs__title_1aith, .tabs__xxs_1aith .tabs__title_1aith + .tabs__title_1aith {
|
|
149
151
|
margin-left: var(--primary-tablist-s-gaps);
|
|
150
|
-
}.
|
|
152
|
+
}.tabs__m_1aith .tabs__title_1aith {
|
|
151
153
|
padding: var(--primary-tablist-m-padding);
|
|
152
154
|
font-size: var(--primary-tablist-m-font-size);
|
|
153
155
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
154
156
|
font-family: var(--primary-tablist-m-font-family);
|
|
155
157
|
line-height: 24px;
|
|
156
|
-
}.
|
|
158
|
+
}.tabs__m_1aith .tabs__title_1aith + .tabs__title_1aith {
|
|
157
159
|
margin-left: var(--primary-tablist-m-gaps);
|
|
158
|
-
}.
|
|
160
|
+
}.tabs__l_1aith .tabs__title_1aith {
|
|
159
161
|
padding: var(--primary-tablist-l-padding);
|
|
160
162
|
font-size: var(--primary-tablist-l-font-size);
|
|
161
163
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
162
164
|
font-family: var(--primary-tablist-l-font-family);
|
|
163
165
|
line-height: 24px;
|
|
164
|
-
}.
|
|
166
|
+
}.tabs__l_1aith .tabs__title_1aith + .tabs__title_1aith {
|
|
165
167
|
margin-left: var(--primary-tablist-l-gaps);
|
|
166
|
-
}.
|
|
168
|
+
}.tabs__xl_1aith .tabs__title_1aith {
|
|
167
169
|
padding: var(--primary-tablist-xl-padding);
|
|
168
170
|
font-size: var(--primary-tablist-xl-font-size);
|
|
169
171
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
170
172
|
font-family: var(--primary-tablist-xl-font-family);
|
|
171
173
|
line-height: 32px;
|
|
172
|
-
}.
|
|
174
|
+
}.tabs__xl_1aith .tabs__title_1aith + .tabs__title_1aith {
|
|
173
175
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
174
|
-
}.
|
|
176
|
+
}.tabs__rightAddons_1aith {
|
|
175
177
|
margin-left: var(--gap-xs);
|
|
176
178
|
}
|
|
177
179
|
:root {
|
|
@@ -516,6 +518,8 @@
|
|
|
516
518
|
--color-dark-bg-primary-alpha-32: rgba(11, 31, 53, 0.32);
|
|
517
519
|
--color-dark-bg-primary-alpha-37: rgba(11, 31, 53, 0.37);
|
|
518
520
|
--color-dark-bg-primary-alpha-40: rgba(11, 31, 53, 0.4);
|
|
521
|
+
--color-dark-bg-primary-tint-7: rgb(28, 47, 67);
|
|
522
|
+
--color-dark-bg-primary-tint-15: rgb(48, 65, 83);
|
|
519
523
|
--color-dark-bg-primary-inverted-alpha-3: rgba(255, 255, 255, 0.03);
|
|
520
524
|
--color-dark-bg-primary-inverted-alpha-4: rgba(255, 255, 255, 0.04);
|
|
521
525
|
--color-dark-bg-primary-inverted-alpha-5: rgba(255, 255, 255, 0.05);
|
|
@@ -531,6 +535,7 @@
|
|
|
531
535
|
--color-dark-bg-primary-inverted-alpha-32: rgba(255, 255, 255, 0.32);
|
|
532
536
|
--color-dark-bg-primary-inverted-alpha-40: rgba(255, 255, 255, 0.4);
|
|
533
537
|
--color-dark-bg-primary-inverted-alpha-50: rgba(255, 255, 255, 0.5);
|
|
538
|
+
--color-dark-bg-primary-inverted-shade-7: rgb(237, 237, 237);
|
|
534
539
|
--color-dark-bg-primary-inverted-shade-15: rgb(217, 217, 217);
|
|
535
540
|
--color-dark-bg-primary-inverted-shade-20: rgb(204, 204, 204);
|
|
536
541
|
--color-dark-bg-quaternary-alpha-30: rgba(72, 87, 103, 0.3);
|
|
@@ -652,6 +657,8 @@
|
|
|
652
657
|
--color-light-bg-primary-alpha-32: rgba(255, 255, 255, 0.32);
|
|
653
658
|
--color-light-bg-primary-alpha-37: rgba(255, 255, 255, 0.37);
|
|
654
659
|
--color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
|
|
660
|
+
--color-light-bg-primary-shade-7: rgb(237, 237, 237);
|
|
661
|
+
--color-light-bg-primary-shade-15: rgb(217, 217, 217);
|
|
655
662
|
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
656
663
|
--color-light-bg-primary-inverted-alpha-4: rgba(11, 31, 53, 0.04);
|
|
657
664
|
--color-light-bg-primary-inverted-alpha-5: rgba(11, 31, 53, 0.05);
|
|
@@ -667,6 +674,7 @@
|
|
|
667
674
|
--color-light-bg-primary-inverted-alpha-32: rgba(11, 31, 53, 0.32);
|
|
668
675
|
--color-light-bg-primary-inverted-alpha-40: rgba(11, 31, 53, 0.4);
|
|
669
676
|
--color-light-bg-primary-inverted-alpha-50: rgba(11, 31, 53, 0.5);
|
|
677
|
+
--color-light-bg-primary-inverted-tint-7: rgb(28, 47, 67);
|
|
670
678
|
--color-light-bg-primary-inverted-tint-15: rgb(48, 65, 83);
|
|
671
679
|
--color-light-bg-primary-inverted-tint-20: rgb(60, 76, 93);
|
|
672
680
|
--color-light-bg-quaternary-alpha-30: rgba(219, 222, 225, 0.3);
|
|
@@ -909,10 +917,12 @@
|
|
|
909
917
|
--primary-tablist-disabled-color: var(--color-light-text-tertiary);
|
|
910
918
|
--primary-tablist-bottom-border-color: var(--color-light-border-primary);
|
|
911
919
|
--primary-tablist-line-color: var(--color-light-border-accent);
|
|
920
|
+
--primary-tablist-font-feature-settings: normal;
|
|
912
921
|
|
|
913
922
|
/* mobile */
|
|
914
923
|
--primary-tablist-mobile-gaps: var(--gap-xl);
|
|
915
924
|
--primary-tablist-mobile-font-size: 16px;
|
|
925
|
+
--primary-tablist-mobile-line-height: 24px;
|
|
916
926
|
--primary-tablist-mobile-font-weight: 400;
|
|
917
927
|
--primary-tablist-mobile-font-family: var(--font-family-system);
|
|
918
928
|
--primary-tablist-mobile-padding: 0 0 var(--gap-s);
|
|
@@ -966,15 +976,15 @@
|
|
|
966
976
|
/* size xl */
|
|
967
977
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
968
978
|
}
|
|
969
|
-
.
|
|
979
|
+
.tabs__title_fowyz {
|
|
970
980
|
}
|
|
971
|
-
.
|
|
981
|
+
.tabs__mobile_fowyz .tabs__title_fowyz {
|
|
972
982
|
padding: var(--primary-tablist-mobile-padding);
|
|
973
983
|
font-size: var(--primary-tablist-mobile-font-size);
|
|
974
984
|
font-weight: var(--primary-tablist-mobile-font-weight);
|
|
975
985
|
font-family: var(--primary-tablist-mobile-font-family);
|
|
976
|
-
line-height:
|
|
986
|
+
line-height: var(--primary-tablist-mobile-line-height)
|
|
977
987
|
}
|
|
978
|
-
.
|
|
988
|
+
.tabs__mobile_fowyz .tabs__title_fowyz + .tabs__title_fowyz {
|
|
979
989
|
margin-left: var(--primary-tablist-mobile-gaps);
|
|
980
990
|
}
|
|
@@ -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_1fhnm","fullWidthScroll":"tabs__fullWidthScroll_1fhnm"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 15m7l */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
|
|
37
37
|
/* size xl */
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.tabs__container_1fhnm {
|
|
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_1fhnm::-webkit-scrollbar {
|
|
47
47
|
display: none;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.tabs__container_1fhnm > * {
|
|
50
50
|
flex-shrink: 0;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.tabs__fullWidthScroll_1fhnm {
|
|
53
53
|
margin: 0 var(--gap-m-neg);
|
|
54
54
|
}
|
|
@@ -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-fcb75541.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('compute-scroll-into-view');
|
|
@@ -10,7 +10,7 @@ require('../scrollable-container/Component.js');
|
|
|
10
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-3530e300.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
16
|
|
|
@@ -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-fcb75541.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
require('compute-scroll-into-view');
|
|
@@ -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-fcb75541.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
require('compute-scroll-into-view');
|
|
@@ -10,14 +10,14 @@ require('../scrollable-container/Component.js');
|
|
|
10
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-3530e300.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_144r8 tabs__title_1pnpi","mobile":"tabs__mobile_144r8"};
|
|
21
21
|
require('./mobile.css')
|
|
22
22
|
|
|
23
23
|
var styles = tslib_es6.__assign(tslib_es6.__assign({}, index_module.commonStyles), mobileStyles);
|
|
@@ -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-fcb75541.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('compute-scroll-into-view');
|
|
@@ -10,7 +10,7 @@ require('../scrollable-container/Component.js');
|
|
|
10
10
|
require('../../useTabs.js');
|
|
11
11
|
require('@alfalab/core-components-tag');
|
|
12
12
|
require('./Component.js');
|
|
13
|
-
require('../../index.module-
|
|
13
|
+
require('../../index.module-3530e300.js');
|
|
14
14
|
var components_secondaryTablist_Component_desktop = require('./Component.desktop.js');
|
|
15
15
|
var hooks = require('@alfalab/hooks');
|
|
16
16
|
var components_secondaryTablist_Component_mobile = require('./Component.mobile.js');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: x47bo */
|
|
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_1pnpi {
|
|
48
48
|
position: relative;
|
|
49
49
|
display: inline-flex;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.tabs__fullWidthScroll_1pnpi {
|
|
52
52
|
margin: 0 var(--gap-m);
|
|
53
53
|
}
|
|
54
|
-
.
|
|
54
|
+
.tabs__container_1pnpi {
|
|
55
55
|
overflow: hidden;
|
|
56
56
|
}
|
|
57
|
-
.
|
|
57
|
+
.tabs__title_1pnpi {
|
|
58
58
|
white-space: nowrap;
|
|
59
59
|
}
|
|
60
60
|
/* sizes */
|
|
61
|
-
.
|
|
61
|
+
.tabs__xxs_1pnpi .tabs__title_1pnpi + .tabs__title_1pnpi {
|
|
62
62
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
63
63
|
}
|
|
64
|
-
.
|
|
64
|
+
.tabs__xs_1pnpi .tabs__title_1pnpi + .tabs__title_1pnpi {
|
|
65
65
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
66
66
|
}
|
|
67
|
-
.
|
|
67
|
+
.tabs__s_1pnpi .tabs__title_1pnpi + .tabs__title_1pnpi {
|
|
68
68
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
.tabs__m_1pnpi .tabs__title_1pnpi + .tabs__title_1pnpi {
|
|
71
71
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
72
72
|
}
|
|
73
|
-
.
|
|
73
|
+
.tabs__l_1pnpi .tabs__title_1pnpi + .tabs__title_1pnpi {
|
|
74
74
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.tabs__xl_1pnpi .tabs__title_1pnpi + .tabs__title_1pnpi {
|
|
77
77
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
78
78
|
}
|