@alfalab/core-components-tabs 7.3.0 → 7.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Component-3fe0d3e6.d.ts +2 -2
- 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 +35 -29
- package/components/primary-tablist/mobile.css +38 -32
- package/components/scrollable-container/Component.js +1 -1
- package/components/scrollable-container/index.css +12 -6
- 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 +17 -11
- package/components/secondary-tablist/mobile.css +19 -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-3fe0d3e6.d.ts +2 -2
- package/cssm/components/primary-tablist/index.module.css +6 -0
- package/cssm/components/scrollable-container/index.module.css +7 -1
- package/cssm/components/secondary-tablist/index.module.css +6 -0
- package/desktop.js +3 -3
- package/esm/Component-3fe0d3e6.d.ts +2 -2
- 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 +35 -29
- package/esm/components/primary-tablist/mobile.css +38 -32
- package/esm/components/scrollable-container/Component.js +1 -1
- package/esm/components/scrollable-container/index.css +12 -6
- 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 +17 -11
- package/esm/components/secondary-tablist/mobile.css +19 -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-260b2e11.js +4 -0
- package/esm/index.module-6cb75603.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-991a0924.d.ts → tslib.es6-b7cce272.d.ts} +0 -0
- package/esm/{tslib.es6-991a0924.js → tslib.es6-b7cce272.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-26e594f4.js +6 -0
- package/index.module-3d214349.js +6 -0
- package/mobile.js +3 -3
- package/modern/Component-3fe0d3e6.d.ts +2 -2
- 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 +35 -29
- package/modern/components/primary-tablist/mobile.css +38 -32
- package/modern/components/scrollable-container/Component.js +1 -1
- package/modern/components/scrollable-container/index.css +12 -6
- 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 +17 -11
- package/modern/components/secondary-tablist/mobile.css +19 -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-651ee496.js +4 -0
- package/modern/index.module-c197fcff.js +4 -0
- package/modern/mobile.js +2 -2
- package/modern/responsive.js +2 -2
- package/package.json +3 -3
- package/responsive.js +3 -3
- package/synthetic-events.js +1 -1
- package/{tslib.es6-ab9150c8.d.ts → tslib.es6-310680f9.d.ts} +0 -0
- package/{tslib.es6-ab9150c8.js → tslib.es6-310680f9.js} +0 -0
- package/esm/index.module-307739e4.js +0 -4
- package/esm/index.module-426df292.js +0 -4
- package/index.module-5b87e23a.js +0 -6
- package/index.module-78610370.js +0 -6
- package/modern/index.module-e2287162.js +0 -4
- package/modern/index.module-f5a85c82.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1hlw5 */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -17,12 +17,14 @@
|
|
|
17
17
|
|
|
18
18
|
/* Hard up */
|
|
19
19
|
}:root {
|
|
20
|
+
--gap-2xs: 4px;
|
|
20
21
|
--gap-xs: 8px;
|
|
21
22
|
--gap-s: 12px;
|
|
22
23
|
--gap-m: 16px;
|
|
23
24
|
--gap-l: 20px;
|
|
24
25
|
--gap-xl: 24px;
|
|
25
26
|
--gap-2xl: 32px;
|
|
27
|
+
--gap-2xs-neg: -4px;
|
|
26
28
|
}:root {
|
|
27
29
|
--font-family-system: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica,
|
|
28
30
|
sans-serif;
|
|
@@ -88,11 +90,11 @@
|
|
|
88
90
|
/* size l */
|
|
89
91
|
|
|
90
92
|
/* size xl */
|
|
91
|
-
}.
|
|
93
|
+
}.tabs__component_vx28z {
|
|
92
94
|
position: relative;
|
|
93
95
|
display: inline-flex;
|
|
94
96
|
min-width: 100%
|
|
95
|
-
}.
|
|
97
|
+
}.tabs__component_vx28z:before {
|
|
96
98
|
content: '';
|
|
97
99
|
display: block;
|
|
98
100
|
position: absolute;
|
|
@@ -100,13 +102,17 @@
|
|
|
100
102
|
height: 1px;
|
|
101
103
|
width: 100%;
|
|
102
104
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
103
|
-
}.
|
|
105
|
+
}.tabs__fullWidthScroll_vx28z {
|
|
104
106
|
min-width: calc(100% - 2 * var(--gap-m));
|
|
105
107
|
margin: 0 var(--gap-m);
|
|
106
|
-
}.
|
|
108
|
+
}.tabs__container_vx28z {
|
|
107
109
|
position: relative;
|
|
108
110
|
overflow: hidden;
|
|
109
|
-
|
|
111
|
+
|
|
112
|
+
/* focus-outline fix */
|
|
113
|
+
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
114
|
+
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
|
|
115
|
+
}.tabs__title_vx28z {
|
|
110
116
|
display: flex;
|
|
111
117
|
align-items: center;
|
|
112
118
|
height: 100%;
|
|
@@ -123,76 +129,76 @@
|
|
|
123
129
|
user-select: none;
|
|
124
130
|
cursor: pointer;
|
|
125
131
|
outline: none
|
|
126
|
-
}.
|
|
132
|
+
}.tabs__title_vx28z:not(.tabs__disabled_vx28z):hover {
|
|
127
133
|
color: var(--primary-tablist-hover-color);
|
|
128
|
-
}.
|
|
134
|
+
}.tabs__focused_vx28z {
|
|
129
135
|
outline: 2px solid var(--focus-color);
|
|
130
136
|
outline-offset: 2px;
|
|
131
|
-
}.
|
|
137
|
+
}.tabs__collapsed_vx28z {
|
|
132
138
|
order: 99;
|
|
133
139
|
visibility: collapse;
|
|
134
|
-
}.
|
|
140
|
+
}.tabs__selected_vx28z {
|
|
135
141
|
cursor: default;
|
|
136
142
|
color: var(--primary-tablist-selected-color);
|
|
137
|
-
}.
|
|
143
|
+
}.tabs__disabled_vx28z {
|
|
138
144
|
cursor: var(--disabled-cursor);
|
|
139
145
|
color: var(--primary-tablist-disabled-color);
|
|
140
|
-
}.
|
|
146
|
+
}.tabs__line_vx28z {
|
|
141
147
|
position: absolute;
|
|
142
148
|
height: 3px;
|
|
143
149
|
bottom: 0;
|
|
144
150
|
left: 0;
|
|
145
151
|
background-color: var(--primary-tablist-line-color);
|
|
146
152
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
147
|
-
}/* sizes */.
|
|
153
|
+
}/* sizes */.tabs__s_vx28z .tabs__title_vx28z, .tabs__xs_vx28z .tabs__title_vx28z, .tabs__xxs_vx28z .tabs__title_vx28z {
|
|
148
154
|
padding: var(--primary-tablist-s-padding);
|
|
149
155
|
font-size: var(--primary-tablist-s-font-size);
|
|
150
156
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
151
157
|
font-family: var(--primary-tablist-s-font-family);
|
|
152
158
|
line-height: 24px;
|
|
153
|
-
}.
|
|
159
|
+
}.tabs__s_vx28z .tabs__title_vx28z + .tabs__title_vx28z, .tabs__xs_vx28z .tabs__title_vx28z + .tabs__title_vx28z, .tabs__xxs_vx28z .tabs__title_vx28z + .tabs__title_vx28z {
|
|
154
160
|
margin-left: var(--primary-tablist-s-gaps);
|
|
155
|
-
}.
|
|
161
|
+
}.tabs__s_vx28z .tabs__pickerWrapper_vx28z, .tabs__xs_vx28z .tabs__pickerWrapper_vx28z, .tabs__xxs_vx28z .tabs__pickerWrapper_vx28z {
|
|
156
162
|
margin-left: var(--primary-tablist-s-gaps);
|
|
157
|
-
}.
|
|
163
|
+
}.tabs__s_vx28z .tabs__option_vx28z, .tabs__xs_vx28z .tabs__option_vx28z, .tabs__xxs_vx28z .tabs__option_vx28z {
|
|
158
164
|
padding: 0;
|
|
159
|
-
}.
|
|
165
|
+
}.tabs__m_vx28z .tabs__title_vx28z {
|
|
160
166
|
padding: var(--primary-tablist-m-padding);
|
|
161
167
|
font-size: var(--primary-tablist-m-font-size);
|
|
162
168
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
163
169
|
font-family: var(--primary-tablist-m-font-family);
|
|
164
170
|
line-height: 24px;
|
|
165
|
-
}.
|
|
171
|
+
}.tabs__m_vx28z .tabs__title_vx28z + .tabs__title_vx28z {
|
|
166
172
|
margin-left: var(--primary-tablist-m-gaps);
|
|
167
|
-
}.
|
|
173
|
+
}.tabs__m_vx28z .tabs__pickerWrapper_vx28z {
|
|
168
174
|
margin-left: var(--primary-tablist-m-gaps);
|
|
169
|
-
}.
|
|
175
|
+
}.tabs__m_vx28z .tabs__option_vx28z {
|
|
170
176
|
padding: 0;
|
|
171
|
-
}.
|
|
177
|
+
}.tabs__l_vx28z .tabs__title_vx28z {
|
|
172
178
|
padding: var(--primary-tablist-l-padding);
|
|
173
179
|
font-size: var(--primary-tablist-l-font-size);
|
|
174
180
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
175
181
|
font-family: var(--primary-tablist-l-font-family);
|
|
176
182
|
line-height: 24px;
|
|
177
|
-
}.
|
|
183
|
+
}.tabs__l_vx28z .tabs__title_vx28z + .tabs__title_vx28z {
|
|
178
184
|
margin-left: var(--primary-tablist-l-gaps);
|
|
179
|
-
}.
|
|
185
|
+
}.tabs__l_vx28z .tabs__pickerWrapper_vx28z {
|
|
180
186
|
margin-left: var(--primary-tablist-l-gaps);
|
|
181
|
-
}.
|
|
187
|
+
}.tabs__l_vx28z .tabs__option_vx28z {
|
|
182
188
|
padding: 0;
|
|
183
|
-
}.
|
|
189
|
+
}.tabs__xl_vx28z .tabs__title_vx28z {
|
|
184
190
|
padding: var(--primary-tablist-xl-padding);
|
|
185
191
|
font-size: var(--primary-tablist-xl-font-size);
|
|
186
192
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
187
193
|
font-family: var(--primary-tablist-xl-font-family);
|
|
188
194
|
line-height: 32px;
|
|
189
|
-
}.
|
|
195
|
+
}.tabs__xl_vx28z .tabs__title_vx28z + .tabs__title_vx28z {
|
|
190
196
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
191
|
-
}.
|
|
197
|
+
}.tabs__xl_vx28z .tabs__pickerWrapper_vx28z {
|
|
192
198
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
193
|
-
}.
|
|
199
|
+
}.tabs__xl_vx28z .tabs__option_vx28z {
|
|
194
200
|
padding: 0;
|
|
195
|
-
}.
|
|
201
|
+
}.tabs__rightAddons_vx28z {
|
|
196
202
|
display: flex;
|
|
197
203
|
justify-content: center;
|
|
198
204
|
align-items: center;
|
|
@@ -1012,15 +1018,15 @@
|
|
|
1012
1018
|
/* size xl */
|
|
1013
1019
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
1014
1020
|
}
|
|
1015
|
-
.
|
|
1021
|
+
.tabs__title_1f5an {
|
|
1016
1022
|
}
|
|
1017
|
-
.
|
|
1023
|
+
.tabs__mobile_1f5an .tabs__title_1f5an {
|
|
1018
1024
|
padding: var(--primary-tablist-mobile-padding);
|
|
1019
1025
|
font-size: var(--primary-tablist-mobile-font-size);
|
|
1020
1026
|
font-weight: var(--primary-tablist-mobile-font-weight);
|
|
1021
1027
|
font-family: var(--primary-tablist-mobile-font-family);
|
|
1022
1028
|
line-height: var(--primary-tablist-mobile-line-height)
|
|
1023
1029
|
}
|
|
1024
|
-
.
|
|
1030
|
+
.tabs__mobile_1f5an .tabs__title_1f5an + .tabs__title_1f5an {
|
|
1025
1031
|
margin-left: var(--primary-tablist-mobile-gaps);
|
|
1026
1032
|
}
|
|
@@ -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_lbais","fullWidthScroll":"tabs__fullWidthScroll_lbais"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1aro6 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
10
|
:root {
|
|
11
|
+
--gap-2xs: 4px;
|
|
12
|
+
--gap-2xs-neg: -4px;
|
|
11
13
|
--gap-m-neg: -16px;
|
|
12
14
|
}
|
|
13
15
|
:root {
|
|
@@ -36,19 +38,23 @@
|
|
|
36
38
|
|
|
37
39
|
/* size xl */
|
|
38
40
|
}
|
|
39
|
-
.
|
|
41
|
+
.tabs__container_lbais {
|
|
40
42
|
position: relative;
|
|
41
43
|
overflow-x: auto;
|
|
42
44
|
overflow-y: hidden;
|
|
43
45
|
scroll-behavior: smooth;
|
|
44
|
-
scrollbar-width: none
|
|
46
|
+
scrollbar-width: none;
|
|
47
|
+
|
|
48
|
+
/* focus-outline fix */
|
|
49
|
+
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
50
|
+
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs)
|
|
45
51
|
}
|
|
46
|
-
.
|
|
52
|
+
.tabs__container_lbais::-webkit-scrollbar {
|
|
47
53
|
display: none;
|
|
48
54
|
}
|
|
49
|
-
.
|
|
55
|
+
.tabs__container_lbais > * {
|
|
50
56
|
flex-shrink: 0;
|
|
51
57
|
}
|
|
52
|
-
.
|
|
58
|
+
.tabs__fullWidthScroll_lbais {
|
|
53
59
|
margin: 0 var(--gap-m-neg);
|
|
54
60
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-b7cce272.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { SecondaryTabList } from './Component.js';
|
|
4
|
-
import { c as commonStyles } from '../../index.module-
|
|
4
|
+
import { c as commonStyles } from '../../index.module-260b2e11.js';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '@alfalab/core-components-tag/esm';
|
|
7
7
|
import '../../hooks/use-tabs.js';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as __assign, _ as __rest } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign, _ as __rest } from '../../tslib.es6-b7cce272.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { SecondaryTabList } from './Component.js';
|
|
5
|
-
import { c as commonStyles } from '../../index.module-
|
|
5
|
+
import { c as commonStyles } from '../../index.module-260b2e11.js';
|
|
6
6
|
import '@alfalab/core-components-tag/esm';
|
|
7
7
|
import '../../hooks/use-tabs.js';
|
|
8
8
|
import '../scrollable-container/Component.js';
|
|
9
9
|
import 'compute-scroll-into-view';
|
|
10
10
|
|
|
11
|
-
var mobileStyles = {"title":"
|
|
11
|
+
var mobileStyles = {"title":"tabs__title_znkv5 tabs__title_q2z56","mobile":"tabs__mobile_znkv5"};
|
|
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-b7cce272.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { useMedia } from '@alfalab/hooks';
|
|
4
4
|
import { SecondaryTabListDesktop } from './Component.desktop.js';
|
|
@@ -9,7 +9,7 @@ import '@alfalab/core-components-tag/esm';
|
|
|
9
9
|
import '../../hooks/use-tabs.js';
|
|
10
10
|
import '../scrollable-container/Component.js';
|
|
11
11
|
import 'compute-scroll-into-view';
|
|
12
|
-
import '../../index.module-
|
|
12
|
+
import '../../index.module-260b2e11.js';
|
|
13
13
|
|
|
14
14
|
var SecondaryTabListResponsive = function (_a) {
|
|
15
15
|
var size = _a.size, _b = _a.defaultMatch, defaultMatch = _b === void 0 ? 'desktop' : _b, fullWidthScroll = _a.fullWidthScroll, restProps = __rest(_a, ["size", "defaultMatch", "fullWidthScroll"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1kr7v */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -8,9 +8,11 @@
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
10
|
:root {
|
|
11
|
+
--gap-2xs: 4px;
|
|
11
12
|
--gap-xs: 8px;
|
|
12
13
|
--gap-s: 12px;
|
|
13
14
|
--gap-m: 16px;
|
|
15
|
+
--gap-2xs-neg: -4px;
|
|
14
16
|
}
|
|
15
17
|
:root {
|
|
16
18
|
|
|
@@ -44,35 +46,39 @@
|
|
|
44
46
|
/* size xl */
|
|
45
47
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
46
48
|
}
|
|
47
|
-
.
|
|
49
|
+
.tabs__component_q2z56 {
|
|
48
50
|
position: relative;
|
|
49
51
|
display: inline-flex;
|
|
50
52
|
}
|
|
51
|
-
.
|
|
53
|
+
.tabs__fullWidthScroll_q2z56 {
|
|
52
54
|
margin: 0 var(--gap-m);
|
|
53
55
|
}
|
|
54
|
-
.
|
|
56
|
+
.tabs__container_q2z56 {
|
|
55
57
|
overflow: hidden;
|
|
58
|
+
|
|
59
|
+
/* focus-outline fix */
|
|
60
|
+
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
61
|
+
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
|
|
56
62
|
}
|
|
57
|
-
.
|
|
63
|
+
.tabs__title_q2z56 {
|
|
58
64
|
white-space: nowrap;
|
|
59
65
|
}
|
|
60
66
|
/* sizes */
|
|
61
|
-
.
|
|
67
|
+
.tabs__xxs_q2z56 .tabs__title_q2z56 + .tabs__title_q2z56 {
|
|
62
68
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
63
69
|
}
|
|
64
|
-
.
|
|
70
|
+
.tabs__xs_q2z56 .tabs__title_q2z56 + .tabs__title_q2z56 {
|
|
65
71
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
66
72
|
}
|
|
67
|
-
.
|
|
73
|
+
.tabs__s_q2z56 .tabs__title_q2z56 + .tabs__title_q2z56 {
|
|
68
74
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
69
75
|
}
|
|
70
|
-
.
|
|
76
|
+
.tabs__m_q2z56 .tabs__title_q2z56 + .tabs__title_q2z56 {
|
|
71
77
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
72
78
|
}
|
|
73
|
-
.
|
|
79
|
+
.tabs__l_q2z56 .tabs__title_q2z56 + .tabs__title_q2z56 {
|
|
74
80
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
75
81
|
}
|
|
76
|
-
.
|
|
82
|
+
.tabs__xl_q2z56 .tabs__title_q2z56 + .tabs__title_q2z56 {
|
|
77
83
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
78
84
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1oqna */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -11,9 +11,11 @@
|
|
|
11
11
|
|
|
12
12
|
/* Hard up */
|
|
13
13
|
}:root {
|
|
14
|
+
--gap-2xs: 4px;
|
|
14
15
|
--gap-xs: 8px;
|
|
15
16
|
--gap-s: 12px;
|
|
16
17
|
--gap-m: 16px;
|
|
18
|
+
--gap-2xs-neg: -4px;
|
|
17
19
|
}:root {
|
|
18
20
|
}:root {
|
|
19
21
|
}:root {
|
|
@@ -49,26 +51,30 @@
|
|
|
49
51
|
|
|
50
52
|
/* size xl */
|
|
51
53
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
52
|
-
}.
|
|
54
|
+
}.tabs__component_q2z56 {
|
|
53
55
|
position: relative;
|
|
54
56
|
display: inline-flex;
|
|
55
|
-
}.
|
|
57
|
+
}.tabs__fullWidthScroll_q2z56 {
|
|
56
58
|
margin: 0 var(--gap-m);
|
|
57
|
-
}.
|
|
59
|
+
}.tabs__container_q2z56 {
|
|
58
60
|
overflow: hidden;
|
|
59
|
-
|
|
61
|
+
|
|
62
|
+
/* focus-outline fix */
|
|
63
|
+
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
64
|
+
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
|
|
65
|
+
}.tabs__title_q2z56 {
|
|
60
66
|
white-space: nowrap;
|
|
61
|
-
}/* sizes */.
|
|
67
|
+
}/* sizes */.tabs__xxs_q2z56 .tabs__title_q2z56 + .tabs__title_q2z56 {
|
|
62
68
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
63
|
-
}.
|
|
69
|
+
}.tabs__xs_q2z56 .tabs__title_q2z56 + .tabs__title_q2z56 {
|
|
64
70
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
65
|
-
}.
|
|
71
|
+
}.tabs__s_q2z56 .tabs__title_q2z56 + .tabs__title_q2z56 {
|
|
66
72
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
67
|
-
}.
|
|
73
|
+
}.tabs__m_q2z56 .tabs__title_q2z56 + .tabs__title_q2z56 {
|
|
68
74
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
69
|
-
}.
|
|
75
|
+
}.tabs__l_q2z56 .tabs__title_q2z56 + .tabs__title_q2z56 {
|
|
70
76
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
71
|
-
}.
|
|
77
|
+
}.tabs__xl_q2z56 .tabs__title_q2z56 + .tabs__title_q2z56 {
|
|
72
78
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
73
79
|
}
|
|
74
80
|
:root {
|
|
@@ -885,8 +891,8 @@
|
|
|
885
891
|
/* size xl */
|
|
886
892
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
887
893
|
}
|
|
888
|
-
.
|
|
894
|
+
.tabs__title_znkv5 {
|
|
889
895
|
}
|
|
890
|
-
.
|
|
896
|
+
.tabs__mobile_znkv5 .tabs__title_znkv5 + .tabs__title_znkv5 {
|
|
891
897
|
margin-left: var(--secondary-tablist-mobile-gaps);
|
|
892
898
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
var styles = {"component":"
|
|
4
|
+
var styles = {"component":"tabs__component_1jx53","hidden":"tabs__hidden_1jx53"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
var Tab = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-b7cce272.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { PrimaryTabListDesktop } from '../primary-tablist/Component.desktop.js';
|
|
4
4
|
import { SecondaryTabListDesktop } from '../secondary-tablist/Component.desktop.js';
|
|
@@ -17,10 +17,10 @@ import '../../synthetic-events.js';
|
|
|
17
17
|
import '../scrollable-container/Component.js';
|
|
18
18
|
import 'compute-scroll-into-view';
|
|
19
19
|
import '../title/Component.js';
|
|
20
|
-
import '../../index.module-
|
|
20
|
+
import '../../index.module-6cb75603.js';
|
|
21
21
|
import '../secondary-tablist/Component.js';
|
|
22
22
|
import '@alfalab/core-components-tag/esm';
|
|
23
|
-
import '../../index.module-
|
|
23
|
+
import '../../index.module-260b2e11.js';
|
|
24
24
|
|
|
25
25
|
var views = {
|
|
26
26
|
primary: PrimaryTabListDesktop,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-b7cce272.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { PrimaryTabListMobile } from '../primary-tablist/Component.mobile.js';
|
|
4
4
|
import { SecondaryTabListMobile } from '../secondary-tablist/Component.mobile.js';
|
|
@@ -17,10 +17,10 @@ import '../../synthetic-events.js';
|
|
|
17
17
|
import '../scrollable-container/Component.js';
|
|
18
18
|
import 'compute-scroll-into-view';
|
|
19
19
|
import '../title/Component.js';
|
|
20
|
-
import '../../index.module-
|
|
20
|
+
import '../../index.module-6cb75603.js';
|
|
21
21
|
import '../secondary-tablist/Component.js';
|
|
22
22
|
import '@alfalab/core-components-tag/esm';
|
|
23
|
-
import '../../index.module-
|
|
23
|
+
import '../../index.module-260b2e11.js';
|
|
24
24
|
|
|
25
25
|
var views = {
|
|
26
26
|
primary: PrimaryTabListMobile,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-b7cce272.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { PrimaryTabListResponsive } from '../primary-tablist/Component.responsive.js';
|
|
4
4
|
import { SecondaryTabListResponsive } from '../secondary-tablist/Component.responsive.js';
|
|
@@ -18,12 +18,12 @@ import '../../synthetic-events.js';
|
|
|
18
18
|
import '../scrollable-container/Component.js';
|
|
19
19
|
import 'compute-scroll-into-view';
|
|
20
20
|
import '../title/Component.js';
|
|
21
|
-
import '../../index.module-
|
|
21
|
+
import '../../index.module-6cb75603.js';
|
|
22
22
|
import '../primary-tablist/Component.mobile.js';
|
|
23
23
|
import '../secondary-tablist/Component.desktop.js';
|
|
24
24
|
import '../secondary-tablist/Component.js';
|
|
25
25
|
import '@alfalab/core-components-tag/esm';
|
|
26
|
-
import '../../index.module-
|
|
26
|
+
import '../../index.module-260b2e11.js';
|
|
27
27
|
import '../secondary-tablist/Component.mobile.js';
|
|
28
28
|
|
|
29
29
|
var views = {
|
package/esm/desktop.js
CHANGED
|
@@ -5,7 +5,7 @@ export { Tab } from './components/tab/Component.js';
|
|
|
5
5
|
export { TabsDesktop } from './components/tabs/Component.desktop.js';
|
|
6
6
|
export { useTabs } from './hooks/use-tabs.js';
|
|
7
7
|
export { useCollapsibleElements } from './hooks/use-collapsible-elements.js';
|
|
8
|
-
import './tslib.es6-
|
|
8
|
+
import './tslib.es6-b7cce272.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import './components/primary-tablist/Component.js';
|
|
11
11
|
import 'classnames';
|
|
@@ -16,10 +16,10 @@ import './hooks/use-tablist-titles.js';
|
|
|
16
16
|
import '@alfalab/hooks';
|
|
17
17
|
import './synthetic-events.js';
|
|
18
18
|
import './components/title/Component.js';
|
|
19
|
-
import './index.module-
|
|
19
|
+
import './index.module-6cb75603.js';
|
|
20
20
|
import 'compute-scroll-into-view';
|
|
21
21
|
import './components/secondary-tablist/Component.js';
|
|
22
22
|
import '@alfalab/core-components-tag/esm';
|
|
23
|
-
import './index.module-
|
|
23
|
+
import './index.module-260b2e11.js';
|
|
24
24
|
import './components/tabs/Component.js';
|
|
25
25
|
import '@juggle/resize-observer';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { b as __spreadArray } from '../tslib.es6-b7cce272.js';
|
|
2
2
|
import { useState, useRef } from 'react';
|
|
3
3
|
import { ResizeObserver } from '@juggle/resize-observer';
|
|
4
4
|
import { useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
package/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@ export { SecondaryTabListResponsive } from './components/secondary-tablist/Compo
|
|
|
4
4
|
export { Tab } from './components/tab/Component.js';
|
|
5
5
|
export { TabsResponsive } from './components/tabs/Component.responsive.js';
|
|
6
6
|
export { useTabs } from './hooks/use-tabs.js';
|
|
7
|
-
import './tslib.es6-
|
|
7
|
+
import './tslib.es6-b7cce272.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import './components/primary-tablist/Component.desktop.js';
|
|
@@ -19,11 +19,11 @@ import '@juggle/resize-observer';
|
|
|
19
19
|
import './synthetic-events.js';
|
|
20
20
|
import './components/title/Component.js';
|
|
21
21
|
import 'compute-scroll-into-view';
|
|
22
|
-
import './index.module-
|
|
22
|
+
import './index.module-6cb75603.js';
|
|
23
23
|
import './components/primary-tablist/Component.mobile.js';
|
|
24
24
|
import './components/secondary-tablist/Component.desktop.js';
|
|
25
25
|
import './components/secondary-tablist/Component.js';
|
|
26
26
|
import '@alfalab/core-components-tag/esm';
|
|
27
|
-
import './index.module-
|
|
27
|
+
import './index.module-260b2e11.js';
|
|
28
28
|
import './components/secondary-tablist/Component.mobile.js';
|
|
29
29
|
import './components/tabs/Component.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"tabs__component_q2z56","fullWidthScroll":"tabs__fullWidthScroll_q2z56","container":"tabs__container_q2z56","title":"tabs__title_q2z56","xxs":"tabs__xxs_q2z56","xs":"tabs__xs_q2z56","s":"tabs__s_q2z56","m":"tabs__m_q2z56","l":"tabs__l_q2z56","xl":"tabs__xl_q2z56"};
|
|
2
|
+
require('./components/secondary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"tabs__component_vx28z","fullWidthScroll":"tabs__fullWidthScroll_vx28z","container":"tabs__container_vx28z","title":"tabs__title_vx28z","disabled":"tabs__disabled_vx28z","focused":"tabs__focused_vx28z","collapsed":"tabs__collapsed_vx28z","selected":"tabs__selected_vx28z","line":"tabs__line_vx28z","s":"tabs__s_vx28z","xs":"tabs__xs_vx28z","xxs":"tabs__xxs_vx28z","pickerWrapper":"tabs__pickerWrapper_vx28z","option":"tabs__option_vx28z","m":"tabs__m_vx28z","l":"tabs__l_vx28z","xl":"tabs__xl_vx28z","rightAddons":"tabs__rightAddons_vx28z"};
|
|
2
|
+
require('./components/primary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
package/esm/mobile.js
CHANGED
|
@@ -4,7 +4,7 @@ export { SecondaryTabListMobile } from './components/secondary-tablist/Component
|
|
|
4
4
|
export { Tab } from './components/tab/Component.js';
|
|
5
5
|
export { TabsMobile } from './components/tabs/Component.mobile.js';
|
|
6
6
|
export { useTabs } from './hooks/use-tabs.js';
|
|
7
|
-
import './tslib.es6-
|
|
7
|
+
import './tslib.es6-b7cce272.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import 'classnames';
|
|
10
10
|
import './components/primary-tablist/Component.js';
|
|
@@ -18,8 +18,8 @@ import '@juggle/resize-observer';
|
|
|
18
18
|
import './synthetic-events.js';
|
|
19
19
|
import './components/title/Component.js';
|
|
20
20
|
import 'compute-scroll-into-view';
|
|
21
|
-
import './index.module-
|
|
21
|
+
import './index.module-6cb75603.js';
|
|
22
22
|
import './components/secondary-tablist/Component.js';
|
|
23
23
|
import '@alfalab/core-components-tag/esm';
|
|
24
|
-
import './index.module-
|
|
24
|
+
import './index.module-260b2e11.js';
|
|
25
25
|
import './components/tabs/Component.js';
|
package/esm/responsive.js
CHANGED
|
@@ -5,7 +5,7 @@ export { Tab } from './components/tab/Component.js';
|
|
|
5
5
|
export { TabsResponsive } from './components/tabs/Component.responsive.js';
|
|
6
6
|
export { useTabs } from './hooks/use-tabs.js';
|
|
7
7
|
export { useCollapsibleElements } from './hooks/use-collapsible-elements.js';
|
|
8
|
-
import './tslib.es6-
|
|
8
|
+
import './tslib.es6-b7cce272.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
11
|
import './components/primary-tablist/Component.desktop.js';
|
|
@@ -19,11 +19,11 @@ import '@juggle/resize-observer';
|
|
|
19
19
|
import './synthetic-events.js';
|
|
20
20
|
import './components/title/Component.js';
|
|
21
21
|
import 'compute-scroll-into-view';
|
|
22
|
-
import './index.module-
|
|
22
|
+
import './index.module-6cb75603.js';
|
|
23
23
|
import './components/primary-tablist/Component.mobile.js';
|
|
24
24
|
import './components/secondary-tablist/Component.desktop.js';
|
|
25
25
|
import './components/secondary-tablist/Component.js';
|
|
26
26
|
import '@alfalab/core-components-tag/esm';
|
|
27
|
-
import './index.module-
|
|
27
|
+
import './index.module-260b2e11.js';
|
|
28
28
|
import './components/secondary-tablist/Component.mobile.js';
|
|
29
29
|
import './components/tabs/Component.js';
|
package/esm/synthetic-events.js
CHANGED
|
File without changes
|