@alfalab/core-components-tabs 7.3.2 → 7.3.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/{Component-97288072.d.ts → Component-3885b0d7.d.ts} +0 -0
- package/Component-3fe0d3e6.d.ts +8 -0
- 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/cssm/{Component-97288072.d.ts → Component-3885b0d7.d.ts} +0 -0
- package/cssm/Component-3fe0d3e6.d.ts +8 -0
- package/cssm/index-3fe0d3e6.d.ts +2 -0
- package/desktop.js +3 -3
- package/esm/{Component-97288072.d.ts → Component-3885b0d7.d.ts} +0 -0
- package/esm/Component-3fe0d3e6.d.ts +8 -0
- 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-3fe0d3e6.d.ts +2 -0
- package/esm/index.js +3 -3
- package/esm/index.module-10d535eb.js +4 -0
- package/esm/index.module-9c2f5300.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-b7cce272.d.ts → tslib.es6-62e0e458.d.ts} +0 -0
- package/esm/{tslib.es6-b7cce272.js → tslib.es6-62e0e458.js} +0 -0
- package/hooks/use-collapsible-elements.js +1 -1
- package/hooks/use-tablist-titles.js +1 -1
- package/index-3fe0d3e6.d.ts +2 -0
- package/index.js +3 -3
- package/index.module-7dc52a7b.js +6 -0
- package/index.module-a5052a1c.js +6 -0
- package/mobile.js +3 -3
- package/modern/{Component-97288072.d.ts → Component-3885b0d7.d.ts} +0 -0
- package/modern/Component-3fe0d3e6.d.ts +8 -0
- 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-3fe0d3e6.d.ts +2 -0
- package/modern/index.js +2 -2
- package/modern/index.module-4d08392f.js +4 -0
- package/modern/index.module-cd099570.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-310680f9.d.ts → tslib.es6-edd9cdac.d.ts} +0 -0
- package/{tslib.es6-310680f9.js → tslib.es6-edd9cdac.js} +0 -0
- package/esm/index.module-260b2e11.js +0 -4
- package/esm/index.module-6cb75603.js +0 -4
- package/index.module-26e594f4.js +0 -6
- package/index.module-3d214349.js +0 -6
- package/modern/index.module-651ee496.js +0 -4
- package/modern/index.module-c197fcff.js +0 -4
|
File without changes
|
package/Component-3fe0d3e6.d.ts
CHANGED
|
@@ -75,6 +75,10 @@ type TextBaseProps = {
|
|
|
75
75
|
* Добавляет отступы к тэгу 'p'
|
|
76
76
|
*/
|
|
77
77
|
defaultMargins?: never;
|
|
78
|
+
/**
|
|
79
|
+
* Количество строк (не поддерживает IE)
|
|
80
|
+
*/
|
|
81
|
+
rowLimit?: 1 | 2 | 3;
|
|
78
82
|
};
|
|
79
83
|
type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
|
|
80
84
|
tag?: "p";
|
|
@@ -119,6 +123,10 @@ type TitleProps = Omit<NativeProps$0, "color"> & {
|
|
|
119
123
|
* Контент (native prop)
|
|
120
124
|
*/
|
|
121
125
|
children?: React.ReactNode;
|
|
126
|
+
/**
|
|
127
|
+
* Количество строк (не поддерживает IE)
|
|
128
|
+
*/
|
|
129
|
+
rowLimit?: 1 | 2 | 3;
|
|
122
130
|
};
|
|
123
131
|
type TitleMobileProps = Omit<TitleProps, "defaultMargins">;
|
|
124
132
|
declare const Typography: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
3
|
+
var tslib_es6 = require('../../tslib.es6-edd9cdac.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var components_primaryTablist_Component = require('./Component.js');
|
|
6
|
-
var index_module = require('../../index.module-
|
|
6
|
+
var index_module = require('../../index.module-7dc52a7b.js');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components-badge');
|
|
9
9
|
require('@alfalab/core-components-keyboard-focusable');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
3
|
+
var tslib_es6 = require('../../tslib.es6-edd9cdac.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var cn = require('classnames');
|
|
6
6
|
var coreComponentsBadge = require('@alfalab/core-components-badge');
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
3
|
+
var tslib_es6 = require('../../tslib.es6-edd9cdac.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var cn = require('classnames');
|
|
6
6
|
var components_primaryTablist_Component = require('./Component.js');
|
|
7
|
-
var index_module = require('../../index.module-
|
|
7
|
+
var index_module = require('../../index.module-7dc52a7b.js');
|
|
8
8
|
require('@alfalab/core-components-badge');
|
|
9
9
|
require('@alfalab/core-components-keyboard-focusable');
|
|
10
10
|
require('@alfalab/core-components-picker-button/desktop');
|
|
@@ -23,7 +23,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
23
23
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
24
24
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
25
25
|
|
|
26
|
-
var mobileStyles = {"title":"
|
|
26
|
+
var mobileStyles = {"title":"tabs__title_f1h14 tabs__title_1w0vv","mobile":"tabs__mobile_f1h14"};
|
|
27
27
|
require('./mobile.css')
|
|
28
28
|
|
|
29
29
|
var styles = tslib_es6.__assign(tslib_es6.__assign({}, index_module.commonStyles), mobileStyles);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
3
|
+
var tslib_es6 = require('../../tslib.es6-edd9cdac.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var hooks = require('@alfalab/hooks');
|
|
6
6
|
var components_primaryTablist_Component_desktop = require('./Component.desktop.js');
|
|
@@ -18,7 +18,7 @@ require('../../synthetic-events.js');
|
|
|
18
18
|
require('../scrollable-container/Component.js');
|
|
19
19
|
require('compute-scroll-into-view');
|
|
20
20
|
require('../title/Component.js');
|
|
21
|
-
require('../../index.module-
|
|
21
|
+
require('../../index.module-7dc52a7b.js');
|
|
22
22
|
|
|
23
23
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
24
24
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1audr */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-accent: #ef3124;
|
|
4
4
|
--color-light-border-link: #007aff;
|
|
@@ -85,12 +85,12 @@
|
|
|
85
85
|
|
|
86
86
|
/* size xl */
|
|
87
87
|
}
|
|
88
|
-
.
|
|
88
|
+
.tabs__component_1w0vv {
|
|
89
89
|
position: relative;
|
|
90
90
|
display: inline-flex;
|
|
91
91
|
min-width: 100%
|
|
92
92
|
}
|
|
93
|
-
.
|
|
93
|
+
.tabs__component_1w0vv:before {
|
|
94
94
|
content: '';
|
|
95
95
|
display: block;
|
|
96
96
|
position: absolute;
|
|
@@ -99,11 +99,11 @@
|
|
|
99
99
|
width: 100%;
|
|
100
100
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
101
101
|
}
|
|
102
|
-
.
|
|
102
|
+
.tabs__fullWidthScroll_1w0vv {
|
|
103
103
|
min-width: calc(100% - 2 * var(--gap-m));
|
|
104
104
|
margin: 0 var(--gap-m);
|
|
105
105
|
}
|
|
106
|
-
.
|
|
106
|
+
.tabs__container_1w0vv {
|
|
107
107
|
position: relative;
|
|
108
108
|
overflow: hidden;
|
|
109
109
|
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
112
112
|
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
|
|
113
113
|
}
|
|
114
|
-
.
|
|
114
|
+
.tabs__title_1w0vv {
|
|
115
115
|
display: flex;
|
|
116
116
|
align-items: center;
|
|
117
117
|
height: 100%;
|
|
@@ -129,26 +129,26 @@
|
|
|
129
129
|
cursor: pointer;
|
|
130
130
|
outline: none
|
|
131
131
|
}
|
|
132
|
-
.
|
|
132
|
+
.tabs__title_1w0vv:not(.tabs__disabled_1w0vv):hover {
|
|
133
133
|
color: var(--primary-tablist-hover-color);
|
|
134
134
|
}
|
|
135
|
-
.
|
|
135
|
+
.tabs__focused_1w0vv {
|
|
136
136
|
outline: 2px solid var(--focus-color);
|
|
137
137
|
outline-offset: 2px;
|
|
138
138
|
}
|
|
139
|
-
.
|
|
139
|
+
.tabs__collapsed_1w0vv {
|
|
140
140
|
order: 99;
|
|
141
141
|
visibility: collapse;
|
|
142
142
|
}
|
|
143
|
-
.
|
|
143
|
+
.tabs__selected_1w0vv {
|
|
144
144
|
cursor: default;
|
|
145
145
|
color: var(--primary-tablist-selected-color);
|
|
146
146
|
}
|
|
147
|
-
.
|
|
147
|
+
.tabs__disabled_1w0vv {
|
|
148
148
|
cursor: var(--disabled-cursor);
|
|
149
149
|
color: var(--primary-tablist-disabled-color);
|
|
150
150
|
}
|
|
151
|
-
.
|
|
151
|
+
.tabs__line_1w0vv {
|
|
152
152
|
position: absolute;
|
|
153
153
|
height: 3px;
|
|
154
154
|
bottom: 0;
|
|
@@ -157,71 +157,71 @@
|
|
|
157
157
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
158
158
|
}
|
|
159
159
|
/* sizes */
|
|
160
|
-
.
|
|
160
|
+
.tabs__s_1w0vv .tabs__title_1w0vv, .tabs__xs_1w0vv .tabs__title_1w0vv, .tabs__xxs_1w0vv .tabs__title_1w0vv {
|
|
161
161
|
padding: var(--primary-tablist-s-padding);
|
|
162
162
|
font-size: var(--primary-tablist-s-font-size);
|
|
163
163
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
164
164
|
font-family: var(--primary-tablist-s-font-family);
|
|
165
165
|
line-height: 24px;
|
|
166
166
|
}
|
|
167
|
-
.
|
|
167
|
+
.tabs__s_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv, .tabs__xs_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv, .tabs__xxs_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv {
|
|
168
168
|
margin-left: var(--primary-tablist-s-gaps);
|
|
169
169
|
}
|
|
170
|
-
.
|
|
170
|
+
.tabs__s_1w0vv .tabs__pickerWrapper_1w0vv, .tabs__xs_1w0vv .tabs__pickerWrapper_1w0vv, .tabs__xxs_1w0vv .tabs__pickerWrapper_1w0vv {
|
|
171
171
|
margin-left: var(--primary-tablist-s-gaps);
|
|
172
172
|
}
|
|
173
|
-
.
|
|
173
|
+
.tabs__s_1w0vv .tabs__option_1w0vv, .tabs__xs_1w0vv .tabs__option_1w0vv, .tabs__xxs_1w0vv .tabs__option_1w0vv {
|
|
174
174
|
padding: 0;
|
|
175
175
|
}
|
|
176
|
-
.
|
|
176
|
+
.tabs__m_1w0vv .tabs__title_1w0vv {
|
|
177
177
|
padding: var(--primary-tablist-m-padding);
|
|
178
178
|
font-size: var(--primary-tablist-m-font-size);
|
|
179
179
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
180
180
|
font-family: var(--primary-tablist-m-font-family);
|
|
181
181
|
line-height: 24px;
|
|
182
182
|
}
|
|
183
|
-
.
|
|
183
|
+
.tabs__m_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv {
|
|
184
184
|
margin-left: var(--primary-tablist-m-gaps);
|
|
185
185
|
}
|
|
186
|
-
.
|
|
186
|
+
.tabs__m_1w0vv .tabs__pickerWrapper_1w0vv {
|
|
187
187
|
margin-left: var(--primary-tablist-m-gaps);
|
|
188
188
|
}
|
|
189
|
-
.
|
|
189
|
+
.tabs__m_1w0vv .tabs__option_1w0vv {
|
|
190
190
|
padding: 0;
|
|
191
191
|
}
|
|
192
|
-
.
|
|
192
|
+
.tabs__l_1w0vv .tabs__title_1w0vv {
|
|
193
193
|
padding: var(--primary-tablist-l-padding);
|
|
194
194
|
font-size: var(--primary-tablist-l-font-size);
|
|
195
195
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
196
196
|
font-family: var(--primary-tablist-l-font-family);
|
|
197
197
|
line-height: 24px;
|
|
198
198
|
}
|
|
199
|
-
.
|
|
199
|
+
.tabs__l_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv {
|
|
200
200
|
margin-left: var(--primary-tablist-l-gaps);
|
|
201
201
|
}
|
|
202
|
-
.
|
|
202
|
+
.tabs__l_1w0vv .tabs__pickerWrapper_1w0vv {
|
|
203
203
|
margin-left: var(--primary-tablist-l-gaps);
|
|
204
204
|
}
|
|
205
|
-
.
|
|
205
|
+
.tabs__l_1w0vv .tabs__option_1w0vv {
|
|
206
206
|
padding: 0;
|
|
207
207
|
}
|
|
208
|
-
.
|
|
208
|
+
.tabs__xl_1w0vv .tabs__title_1w0vv {
|
|
209
209
|
padding: var(--primary-tablist-xl-padding);
|
|
210
210
|
font-size: var(--primary-tablist-xl-font-size);
|
|
211
211
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
212
212
|
font-family: var(--primary-tablist-xl-font-family);
|
|
213
213
|
line-height: 32px;
|
|
214
214
|
}
|
|
215
|
-
.
|
|
215
|
+
.tabs__xl_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv {
|
|
216
216
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
217
217
|
}
|
|
218
|
-
.
|
|
218
|
+
.tabs__xl_1w0vv .tabs__pickerWrapper_1w0vv {
|
|
219
219
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
220
220
|
}
|
|
221
|
-
.
|
|
221
|
+
.tabs__xl_1w0vv .tabs__option_1w0vv {
|
|
222
222
|
padding: 0;
|
|
223
223
|
}
|
|
224
|
-
.
|
|
224
|
+
.tabs__rightAddons_1w0vv {
|
|
225
225
|
display: flex;
|
|
226
226
|
justify-content: center;
|
|
227
227
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: bovdu */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -90,11 +90,11 @@
|
|
|
90
90
|
/* size l */
|
|
91
91
|
|
|
92
92
|
/* size xl */
|
|
93
|
-
}.
|
|
93
|
+
}.tabs__component_1w0vv {
|
|
94
94
|
position: relative;
|
|
95
95
|
display: inline-flex;
|
|
96
96
|
min-width: 100%
|
|
97
|
-
}.
|
|
97
|
+
}.tabs__component_1w0vv:before {
|
|
98
98
|
content: '';
|
|
99
99
|
display: block;
|
|
100
100
|
position: absolute;
|
|
@@ -102,17 +102,17 @@
|
|
|
102
102
|
height: 1px;
|
|
103
103
|
width: 100%;
|
|
104
104
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
105
|
-
}.
|
|
105
|
+
}.tabs__fullWidthScroll_1w0vv {
|
|
106
106
|
min-width: calc(100% - 2 * var(--gap-m));
|
|
107
107
|
margin: 0 var(--gap-m);
|
|
108
|
-
}.
|
|
108
|
+
}.tabs__container_1w0vv {
|
|
109
109
|
position: relative;
|
|
110
110
|
overflow: hidden;
|
|
111
111
|
|
|
112
112
|
/* focus-outline fix */
|
|
113
113
|
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
114
114
|
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
|
|
115
|
-
}.
|
|
115
|
+
}.tabs__title_1w0vv {
|
|
116
116
|
display: flex;
|
|
117
117
|
align-items: center;
|
|
118
118
|
height: 100%;
|
|
@@ -129,76 +129,76 @@
|
|
|
129
129
|
user-select: none;
|
|
130
130
|
cursor: pointer;
|
|
131
131
|
outline: none
|
|
132
|
-
}.
|
|
132
|
+
}.tabs__title_1w0vv:not(.tabs__disabled_1w0vv):hover {
|
|
133
133
|
color: var(--primary-tablist-hover-color);
|
|
134
|
-
}.
|
|
134
|
+
}.tabs__focused_1w0vv {
|
|
135
135
|
outline: 2px solid var(--focus-color);
|
|
136
136
|
outline-offset: 2px;
|
|
137
|
-
}.
|
|
137
|
+
}.tabs__collapsed_1w0vv {
|
|
138
138
|
order: 99;
|
|
139
139
|
visibility: collapse;
|
|
140
|
-
}.
|
|
140
|
+
}.tabs__selected_1w0vv {
|
|
141
141
|
cursor: default;
|
|
142
142
|
color: var(--primary-tablist-selected-color);
|
|
143
|
-
}.
|
|
143
|
+
}.tabs__disabled_1w0vv {
|
|
144
144
|
cursor: var(--disabled-cursor);
|
|
145
145
|
color: var(--primary-tablist-disabled-color);
|
|
146
|
-
}.
|
|
146
|
+
}.tabs__line_1w0vv {
|
|
147
147
|
position: absolute;
|
|
148
148
|
height: 3px;
|
|
149
149
|
bottom: 0;
|
|
150
150
|
left: 0;
|
|
151
151
|
background-color: var(--primary-tablist-line-color);
|
|
152
152
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
153
|
-
}/* sizes */.
|
|
153
|
+
}/* sizes */.tabs__s_1w0vv .tabs__title_1w0vv, .tabs__xs_1w0vv .tabs__title_1w0vv, .tabs__xxs_1w0vv .tabs__title_1w0vv {
|
|
154
154
|
padding: var(--primary-tablist-s-padding);
|
|
155
155
|
font-size: var(--primary-tablist-s-font-size);
|
|
156
156
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
157
157
|
font-family: var(--primary-tablist-s-font-family);
|
|
158
158
|
line-height: 24px;
|
|
159
|
-
}.
|
|
159
|
+
}.tabs__s_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv, .tabs__xs_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv, .tabs__xxs_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv {
|
|
160
160
|
margin-left: var(--primary-tablist-s-gaps);
|
|
161
|
-
}.
|
|
161
|
+
}.tabs__s_1w0vv .tabs__pickerWrapper_1w0vv, .tabs__xs_1w0vv .tabs__pickerWrapper_1w0vv, .tabs__xxs_1w0vv .tabs__pickerWrapper_1w0vv {
|
|
162
162
|
margin-left: var(--primary-tablist-s-gaps);
|
|
163
|
-
}.
|
|
163
|
+
}.tabs__s_1w0vv .tabs__option_1w0vv, .tabs__xs_1w0vv .tabs__option_1w0vv, .tabs__xxs_1w0vv .tabs__option_1w0vv {
|
|
164
164
|
padding: 0;
|
|
165
|
-
}.
|
|
165
|
+
}.tabs__m_1w0vv .tabs__title_1w0vv {
|
|
166
166
|
padding: var(--primary-tablist-m-padding);
|
|
167
167
|
font-size: var(--primary-tablist-m-font-size);
|
|
168
168
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
169
169
|
font-family: var(--primary-tablist-m-font-family);
|
|
170
170
|
line-height: 24px;
|
|
171
|
-
}.
|
|
171
|
+
}.tabs__m_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv {
|
|
172
172
|
margin-left: var(--primary-tablist-m-gaps);
|
|
173
|
-
}.
|
|
173
|
+
}.tabs__m_1w0vv .tabs__pickerWrapper_1w0vv {
|
|
174
174
|
margin-left: var(--primary-tablist-m-gaps);
|
|
175
|
-
}.
|
|
175
|
+
}.tabs__m_1w0vv .tabs__option_1w0vv {
|
|
176
176
|
padding: 0;
|
|
177
|
-
}.
|
|
177
|
+
}.tabs__l_1w0vv .tabs__title_1w0vv {
|
|
178
178
|
padding: var(--primary-tablist-l-padding);
|
|
179
179
|
font-size: var(--primary-tablist-l-font-size);
|
|
180
180
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
181
181
|
font-family: var(--primary-tablist-l-font-family);
|
|
182
182
|
line-height: 24px;
|
|
183
|
-
}.
|
|
183
|
+
}.tabs__l_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv {
|
|
184
184
|
margin-left: var(--primary-tablist-l-gaps);
|
|
185
|
-
}.
|
|
185
|
+
}.tabs__l_1w0vv .tabs__pickerWrapper_1w0vv {
|
|
186
186
|
margin-left: var(--primary-tablist-l-gaps);
|
|
187
|
-
}.
|
|
187
|
+
}.tabs__l_1w0vv .tabs__option_1w0vv {
|
|
188
188
|
padding: 0;
|
|
189
|
-
}.
|
|
189
|
+
}.tabs__xl_1w0vv .tabs__title_1w0vv {
|
|
190
190
|
padding: var(--primary-tablist-xl-padding);
|
|
191
191
|
font-size: var(--primary-tablist-xl-font-size);
|
|
192
192
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
193
193
|
font-family: var(--primary-tablist-xl-font-family);
|
|
194
194
|
line-height: 32px;
|
|
195
|
-
}.
|
|
195
|
+
}.tabs__xl_1w0vv .tabs__title_1w0vv + .tabs__title_1w0vv {
|
|
196
196
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
197
|
-
}.
|
|
197
|
+
}.tabs__xl_1w0vv .tabs__pickerWrapper_1w0vv {
|
|
198
198
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
199
|
-
}.
|
|
199
|
+
}.tabs__xl_1w0vv .tabs__option_1w0vv {
|
|
200
200
|
padding: 0;
|
|
201
|
-
}.
|
|
201
|
+
}.tabs__rightAddons_1w0vv {
|
|
202
202
|
display: flex;
|
|
203
203
|
justify-content: center;
|
|
204
204
|
align-items: center;
|
|
@@ -1018,15 +1018,15 @@
|
|
|
1018
1018
|
/* size xl */
|
|
1019
1019
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
1020
1020
|
}
|
|
1021
|
-
.
|
|
1021
|
+
.tabs__title_f1h14 {
|
|
1022
1022
|
}
|
|
1023
|
-
.
|
|
1023
|
+
.tabs__mobile_f1h14 .tabs__title_f1h14 {
|
|
1024
1024
|
padding: var(--primary-tablist-mobile-padding);
|
|
1025
1025
|
font-size: var(--primary-tablist-mobile-font-size);
|
|
1026
1026
|
font-weight: var(--primary-tablist-mobile-font-weight);
|
|
1027
1027
|
font-family: var(--primary-tablist-mobile-font-family);
|
|
1028
1028
|
line-height: var(--primary-tablist-mobile-line-height)
|
|
1029
1029
|
}
|
|
1030
|
-
.
|
|
1030
|
+
.tabs__mobile_f1h14 .tabs__title_f1h14 + .tabs__title_f1h14 {
|
|
1031
1031
|
margin-left: var(--primary-tablist-mobile-gaps);
|
|
1032
1032
|
}
|
|
@@ -10,7 +10,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
10
10
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
11
11
|
var computeScrollIntoView__default = /*#__PURE__*/_interopDefaultCompat(computeScrollIntoView);
|
|
12
12
|
|
|
13
|
-
var styles = {"container":"
|
|
13
|
+
var styles = {"container":"tabs__container_1lf44","fullWidthScroll":"tabs__fullWidthScroll_1lf44"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1nw7t */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
/* size xl */
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
.tabs__container_1lf44 {
|
|
42
42
|
position: relative;
|
|
43
43
|
overflow-x: auto;
|
|
44
44
|
overflow-y: hidden;
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
50
50
|
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs)
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.tabs__container_1lf44::-webkit-scrollbar {
|
|
53
53
|
display: none;
|
|
54
54
|
}
|
|
55
|
-
.
|
|
55
|
+
.tabs__container_1lf44 > * {
|
|
56
56
|
flex-shrink: 0;
|
|
57
57
|
}
|
|
58
|
-
.
|
|
58
|
+
.tabs__fullWidthScroll_1lf44 {
|
|
59
59
|
margin: 0 var(--gap-m-neg);
|
|
60
60
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
3
|
+
var tslib_es6 = require('../../tslib.es6-edd9cdac.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var components_secondaryTablist_Component = require('./Component.js');
|
|
6
|
-
var index_module = require('../../index.module-
|
|
6
|
+
var index_module = require('../../index.module-a5052a1c.js');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components-tag');
|
|
9
9
|
require('../../hooks/use-tabs.js');
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
3
|
+
var tslib_es6 = require('../../tslib.es6-edd9cdac.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var cn = require('classnames');
|
|
6
6
|
var components_secondaryTablist_Component = require('./Component.js');
|
|
7
|
-
var index_module = require('../../index.module-
|
|
7
|
+
var index_module = require('../../index.module-a5052a1c.js');
|
|
8
8
|
require('@alfalab/core-components-tag');
|
|
9
9
|
require('../../hooks/use-tabs.js');
|
|
10
10
|
require('../scrollable-container/Component.js');
|
|
@@ -15,7 +15,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
16
16
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
17
17
|
|
|
18
|
-
var mobileStyles = {"title":"
|
|
18
|
+
var mobileStyles = {"title":"tabs__title_qaf9d tabs__title_1p09l","mobile":"tabs__mobile_qaf9d"};
|
|
19
19
|
require('./mobile.css')
|
|
20
20
|
|
|
21
21
|
var styles = tslib_es6.__assign(tslib_es6.__assign({}, index_module.commonStyles), mobileStyles);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
3
|
+
var tslib_es6 = require('../../tslib.es6-edd9cdac.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var hooks = require('@alfalab/hooks');
|
|
6
6
|
var components_secondaryTablist_Component_desktop = require('./Component.desktop.js');
|
|
@@ -11,7 +11,7 @@ require('@alfalab/core-components-tag');
|
|
|
11
11
|
require('../../hooks/use-tabs.js');
|
|
12
12
|
require('../scrollable-container/Component.js');
|
|
13
13
|
require('compute-scroll-into-view');
|
|
14
|
-
require('../../index.module-
|
|
14
|
+
require('../../index.module-a5052a1c.js');
|
|
15
15
|
|
|
16
16
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
17
17
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: eu746 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -46,39 +46,39 @@
|
|
|
46
46
|
/* size xl */
|
|
47
47
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.tabs__component_1p09l {
|
|
50
50
|
position: relative;
|
|
51
51
|
display: inline-flex;
|
|
52
52
|
}
|
|
53
|
-
.
|
|
53
|
+
.tabs__fullWidthScroll_1p09l {
|
|
54
54
|
margin: 0 var(--gap-m);
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.tabs__container_1p09l {
|
|
57
57
|
overflow: hidden;
|
|
58
58
|
|
|
59
59
|
/* focus-outline fix */
|
|
60
60
|
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
61
61
|
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
.tabs__title_1p09l {
|
|
64
64
|
white-space: nowrap;
|
|
65
65
|
}
|
|
66
66
|
/* sizes */
|
|
67
|
-
.
|
|
67
|
+
.tabs__xxs_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
|
|
68
68
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
.tabs__xs_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
|
|
71
71
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
72
72
|
}
|
|
73
|
-
.
|
|
73
|
+
.tabs__s_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
|
|
74
74
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.tabs__m_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
|
|
77
77
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.tabs__l_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
|
|
80
80
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
81
81
|
}
|
|
82
|
-
.
|
|
82
|
+
.tabs__xl_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
|
|
83
83
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
84
84
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 9kndg */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -51,30 +51,30 @@
|
|
|
51
51
|
|
|
52
52
|
/* size xl */
|
|
53
53
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
54
|
-
}.
|
|
54
|
+
}.tabs__component_1p09l {
|
|
55
55
|
position: relative;
|
|
56
56
|
display: inline-flex;
|
|
57
|
-
}.
|
|
57
|
+
}.tabs__fullWidthScroll_1p09l {
|
|
58
58
|
margin: 0 var(--gap-m);
|
|
59
|
-
}.
|
|
59
|
+
}.tabs__container_1p09l {
|
|
60
60
|
overflow: hidden;
|
|
61
61
|
|
|
62
62
|
/* focus-outline fix */
|
|
63
63
|
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
64
64
|
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
|
|
65
|
-
}.
|
|
65
|
+
}.tabs__title_1p09l {
|
|
66
66
|
white-space: nowrap;
|
|
67
|
-
}/* sizes */.
|
|
67
|
+
}/* sizes */.tabs__xxs_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
|
|
68
68
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
69
|
-
}.
|
|
69
|
+
}.tabs__xs_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
|
|
70
70
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
71
|
-
}.
|
|
71
|
+
}.tabs__s_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
|
|
72
72
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
73
|
-
}.
|
|
73
|
+
}.tabs__m_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
|
|
74
74
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
75
|
-
}.
|
|
75
|
+
}.tabs__l_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
|
|
76
76
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
77
|
-
}.
|
|
77
|
+
}.tabs__xl_1p09l .tabs__title_1p09l + .tabs__title_1p09l {
|
|
78
78
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
79
79
|
}
|
|
80
80
|
:root {
|
|
@@ -891,8 +891,8 @@
|
|
|
891
891
|
/* size xl */
|
|
892
892
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
893
893
|
}
|
|
894
|
-
.
|
|
894
|
+
.tabs__title_qaf9d {
|
|
895
895
|
}
|
|
896
|
-
.
|
|
896
|
+
.tabs__mobile_qaf9d .tabs__title_qaf9d + .tabs__title_qaf9d {
|
|
897
897
|
margin-left: var(--secondary-tablist-mobile-gaps);
|
|
898
898
|
}
|
|
@@ -8,7 +8,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
8
8
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
9
9
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
10
10
|
|
|
11
|
-
var styles = {"component":"
|
|
11
|
+
var styles = {"component":"tabs__component_jtbhp","hidden":"tabs__hidden_jtbhp"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
var Tab = function (_a) {
|