@alfalab/core-components-tabs 6.0.0 → 6.0.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/CHANGELOG.md +8 -0
- package/dist/components/primary-tablist/Component.desktop.js +2 -2
- package/dist/components/primary-tablist/Component.js +1 -1
- package/dist/components/primary-tablist/Component.mobile.js +3 -3
- package/dist/components/primary-tablist/Component.responsive.js +2 -2
- package/dist/components/primary-tablist/index.css +19 -19
- package/dist/components/primary-tablist/mobile.css +21 -21
- package/dist/components/scrollable-container/Component.js +1 -1
- package/dist/components/scrollable-container/index.css +3 -3
- package/dist/components/secondary-tablist/Component.desktop.js +2 -2
- package/dist/components/secondary-tablist/Component.js +1 -1
- package/dist/components/secondary-tablist/Component.mobile.js +3 -3
- package/dist/components/secondary-tablist/Component.responsive.js +2 -2
- package/dist/components/secondary-tablist/index.css +12 -12
- package/dist/components/secondary-tablist/mobile.css +15 -15
- package/dist/components/tab/Component.js +1 -1
- package/dist/components/tab/index.css +3 -3
- package/dist/components/tabs/Component.desktop.js +3 -3
- package/dist/components/tabs/Component.mobile.js +3 -3
- package/dist/components/tabs/Component.responsive.js +3 -3
- package/dist/desktop.js +3 -3
- package/dist/esm/components/primary-tablist/Component.desktop.js +2 -2
- package/dist/esm/components/primary-tablist/Component.js +1 -1
- package/dist/esm/components/primary-tablist/Component.mobile.js +3 -3
- package/dist/esm/components/primary-tablist/Component.responsive.js +2 -2
- package/dist/esm/components/primary-tablist/index.css +19 -19
- package/dist/esm/components/primary-tablist/mobile.css +21 -21
- package/dist/esm/components/scrollable-container/Component.js +1 -1
- package/dist/esm/components/scrollable-container/index.css +3 -3
- package/dist/esm/components/secondary-tablist/Component.desktop.js +2 -2
- package/dist/esm/components/secondary-tablist/Component.js +1 -1
- package/dist/esm/components/secondary-tablist/Component.mobile.js +3 -3
- package/dist/esm/components/secondary-tablist/Component.responsive.js +2 -2
- package/dist/esm/components/secondary-tablist/index.css +12 -12
- package/dist/esm/components/secondary-tablist/mobile.css +15 -15
- package/dist/esm/components/tab/Component.js +1 -1
- package/dist/esm/components/tab/index.css +3 -3
- package/dist/esm/components/tabs/Component.desktop.js +3 -3
- package/dist/esm/components/tabs/Component.mobile.js +3 -3
- package/dist/esm/components/tabs/Component.responsive.js +3 -3
- package/dist/esm/desktop.js +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.module-5f8ab866.js +4 -0
- package/dist/esm/index.module-79dd2b67.js +4 -0
- package/dist/esm/mobile.js +3 -3
- package/dist/esm/responsive.js +3 -3
- package/dist/esm/{tslib.es6-3cbdcf8b.d.ts → tslib.es6-f32a8b0b.d.ts} +0 -0
- package/dist/esm/{tslib.es6-3cbdcf8b.js → tslib.es6-f32a8b0b.js} +0 -0
- package/dist/index.js +3 -3
- package/dist/index.module-09355c68.js +6 -0
- package/dist/index.module-313ebd46.js +6 -0
- package/dist/mobile.js +3 -3
- package/dist/modern/components/primary-tablist/Component.desktop.js +1 -1
- package/dist/modern/components/primary-tablist/Component.mobile.js +2 -2
- package/dist/modern/components/primary-tablist/Component.responsive.js +1 -1
- package/dist/modern/components/primary-tablist/index.css +19 -19
- package/dist/modern/components/primary-tablist/mobile.css +21 -21
- package/dist/modern/components/scrollable-container/Component.js +1 -1
- package/dist/modern/components/scrollable-container/index.css +3 -3
- package/dist/modern/components/secondary-tablist/Component.desktop.js +1 -1
- package/dist/modern/components/secondary-tablist/Component.mobile.js +2 -2
- package/dist/modern/components/secondary-tablist/Component.responsive.js +1 -1
- package/dist/modern/components/secondary-tablist/index.css +12 -12
- package/dist/modern/components/secondary-tablist/mobile.css +15 -15
- package/dist/modern/components/tab/Component.js +1 -1
- package/dist/modern/components/tab/index.css +3 -3
- package/dist/modern/components/tabs/Component.desktop.js +2 -2
- package/dist/modern/components/tabs/Component.mobile.js +2 -2
- package/dist/modern/components/tabs/Component.responsive.js +2 -2
- package/dist/modern/desktop.js +2 -2
- package/dist/modern/index.js +2 -2
- package/dist/modern/index.module-5f8ab866.js +4 -0
- package/dist/modern/index.module-79dd2b67.js +4 -0
- package/dist/modern/mobile.js +2 -2
- package/dist/modern/responsive.js +2 -2
- package/dist/responsive.js +3 -3
- package/dist/{tslib.es6-c391e8b1.d.ts → tslib.es6-a945f620.d.ts} +0 -0
- package/dist/{tslib.es6-c391e8b1.js → tslib.es6-a945f620.js} +0 -0
- package/package.json +4 -4
- package/dist/esm/index.module-4ceeb0c2.js +0 -4
- package/dist/esm/index.module-62f9e5fe.js +0 -4
- package/dist/index.module-177547f1.js +0 -6
- package/dist/index.module-77910764.js +0 -6
- package/dist/modern/index.module-4ceeb0c2.js +0 -4
- package/dist/modern/index.module-62f9e5fe.js +0 -4
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"tabs__component_18h98","container":"tabs__container_18h98","title":"tabs__title_18h98","disabled":"tabs__disabled_18h98","focused":"tabs__focused_18h98","selected":"tabs__selected_18h98","line":"tabs__line_18h98","s":"tabs__s_18h98","m":"tabs__m_18h98","l":"tabs__l_18h98","xl":"tabs__xl_18h98","rightAddons":"tabs__rightAddons_18h98"};
|
|
2
|
+
require('./components/primary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"tabs__component_16m8j","container":"tabs__container_16m8j","title":"tabs__title_16m8j","s":"tabs__s_16m8j","m":"tabs__m_16m8j","l":"tabs__l_16m8j","xl":"tabs__xl_16m8j"};
|
|
2
|
+
require('./components/secondary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
package/dist/esm/mobile.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-f32a8b0b.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,10 +6,10 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
export { ScrollableContainer } from './components/scrollable-container/Component.js';
|
|
7
7
|
export { useTabs } from './useTabs.js';
|
|
8
8
|
import './components/primary-tablist/Component.js';
|
|
9
|
-
import './index.module-
|
|
9
|
+
import './index.module-5f8ab866.js';
|
|
10
10
|
import '@alfalab/core-components-tag/dist/esm';
|
|
11
11
|
import './components/secondary-tablist/Component.js';
|
|
12
|
-
import './index.module-
|
|
12
|
+
import './index.module-79dd2b67.js';
|
|
13
13
|
export { Tab } from './components/tab/Component.js';
|
|
14
14
|
import './components/tabs/Component.js';
|
|
15
15
|
export { PrimaryTabListMobile } from './components/primary-tablist/Component.mobile.js';
|
package/dist/esm/responsive.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-f32a8b0b.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,11 +6,11 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
export { ScrollableContainer } from './components/scrollable-container/Component.js';
|
|
7
7
|
export { useTabs } from './useTabs.js';
|
|
8
8
|
import './components/primary-tablist/Component.js';
|
|
9
|
-
import './index.module-
|
|
9
|
+
import './index.module-5f8ab866.js';
|
|
10
10
|
import './components/primary-tablist/Component.desktop.js';
|
|
11
11
|
import '@alfalab/core-components-tag/dist/esm';
|
|
12
12
|
import './components/secondary-tablist/Component.js';
|
|
13
|
-
import './index.module-
|
|
13
|
+
import './index.module-79dd2b67.js';
|
|
14
14
|
import './components/secondary-tablist/Component.desktop.js';
|
|
15
15
|
export { Tab } from './components/tab/Component.js';
|
|
16
16
|
import './components/tabs/Component.js';
|
|
File without changes
|
|
File without changes
|
package/dist/index.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-a945f620.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-313ebd46.js');
|
|
14
14
|
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-09355c68.js');
|
|
18
18
|
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');
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var commonStyles = {"component":"tabs__component_16m8j","container":"tabs__container_16m8j","title":"tabs__title_16m8j","s":"tabs__s_16m8j","m":"tabs__m_16m8j","l":"tabs__l_16m8j","xl":"tabs__xl_16m8j"};
|
|
4
|
+
require('./components/secondary-tablist/index.css')
|
|
5
|
+
|
|
6
|
+
exports.commonStyles = commonStyles;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var commonStyles = {"component":"tabs__component_18h98","container":"tabs__container_18h98","title":"tabs__title_18h98","disabled":"tabs__disabled_18h98","focused":"tabs__focused_18h98","selected":"tabs__selected_18h98","line":"tabs__line_18h98","s":"tabs__s_18h98","m":"tabs__m_18h98","l":"tabs__l_18h98","xl":"tabs__xl_18h98","rightAddons":"tabs__rightAddons_18h98"};
|
|
4
|
+
require('./components/primary-tablist/index.css')
|
|
5
|
+
|
|
6
|
+
exports.commonStyles = commonStyles;
|
package/dist/mobile.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-a945f620.js');
|
|
6
6
|
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
|
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-313ebd46.js');
|
|
14
14
|
require('@alfalab/core-components-tag');
|
|
15
15
|
require('./components/secondary-tablist/Component.js');
|
|
16
|
-
require('./index.module-
|
|
16
|
+
require('./index.module-09355c68.js');
|
|
17
17
|
var components_tab_Component = require('./components/tab/Component.js');
|
|
18
18
|
require('./components/tabs/Component.js');
|
|
19
19
|
var components_primaryTablist_Component_mobile = require('./components/primary-tablist/Component.mobile.js');
|
|
@@ -5,7 +5,7 @@ import 'compute-scroll-into-view';
|
|
|
5
5
|
import '../scrollable-container/Component.js';
|
|
6
6
|
import '../../useTabs.js';
|
|
7
7
|
import { PrimaryTabList } from './Component.js';
|
|
8
|
-
import { c as commonStyles } from '../../index.module-
|
|
8
|
+
import { c as commonStyles } from '../../index.module-5f8ab866.js';
|
|
9
9
|
|
|
10
10
|
const PrimaryTabListDesktop = ({ size = 'm', ...restProps }) => (React.createElement(PrimaryTabList, Object.assign({}, restProps, { size: size, styles: commonStyles })));
|
|
11
11
|
|
|
@@ -5,9 +5,9 @@ import 'compute-scroll-into-view';
|
|
|
5
5
|
import '../scrollable-container/Component.js';
|
|
6
6
|
import '../../useTabs.js';
|
|
7
7
|
import { PrimaryTabList } from './Component.js';
|
|
8
|
-
import { c as commonStyles } from '../../index.module-
|
|
8
|
+
import { c as commonStyles } from '../../index.module-5f8ab866.js';
|
|
9
9
|
|
|
10
|
-
var mobileStyles = {"title":"
|
|
10
|
+
var mobileStyles = {"title":"tabs__title_1vok1 tabs__title_18h98"};
|
|
11
11
|
require('./mobile.css')
|
|
12
12
|
|
|
13
13
|
const styles = {
|
|
@@ -5,7 +5,7 @@ import 'compute-scroll-into-view';
|
|
|
5
5
|
import '../scrollable-container/Component.js';
|
|
6
6
|
import '../../useTabs.js';
|
|
7
7
|
import './Component.js';
|
|
8
|
-
import '../../index.module-
|
|
8
|
+
import '../../index.module-5f8ab866.js';
|
|
9
9
|
import { PrimaryTabListDesktop } from './Component.desktop.js';
|
|
10
10
|
import { useMedia } from '@alfalab/hooks';
|
|
11
11
|
import { PrimaryTabListMobile } from './Component.mobile.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: uy17c */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-accent: #ef3124;
|
|
4
4
|
--color-light-border-link: #007aff;
|
|
@@ -78,10 +78,10 @@
|
|
|
78
78
|
|
|
79
79
|
/* size xl */
|
|
80
80
|
}
|
|
81
|
-
.
|
|
81
|
+
.tabs__component_18h98 {
|
|
82
82
|
position: relative
|
|
83
83
|
}
|
|
84
|
-
.
|
|
84
|
+
.tabs__component_18h98:before {
|
|
85
85
|
content: '';
|
|
86
86
|
display: block;
|
|
87
87
|
position: absolute;
|
|
@@ -90,11 +90,11 @@
|
|
|
90
90
|
width: 100%;
|
|
91
91
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
92
92
|
}
|
|
93
|
-
.
|
|
93
|
+
.tabs__container_18h98 {
|
|
94
94
|
position: relative;
|
|
95
95
|
display: flex;
|
|
96
96
|
}
|
|
97
|
-
.
|
|
97
|
+
.tabs__title_18h98 {
|
|
98
98
|
display: flex;
|
|
99
99
|
align-items: center;
|
|
100
100
|
height: 100%;
|
|
@@ -112,22 +112,22 @@
|
|
|
112
112
|
cursor: pointer;
|
|
113
113
|
outline: none
|
|
114
114
|
}
|
|
115
|
-
.
|
|
115
|
+
.tabs__title_18h98:not(.tabs__disabled_18h98):hover {
|
|
116
116
|
color: var(--primary-tablist-hover-color);
|
|
117
117
|
}
|
|
118
|
-
.
|
|
118
|
+
.tabs__focused_18h98 {
|
|
119
119
|
outline: 2px solid var(--focus-color);
|
|
120
120
|
outline-offset: 2px;
|
|
121
121
|
}
|
|
122
|
-
.
|
|
122
|
+
.tabs__selected_18h98 {
|
|
123
123
|
cursor: default;
|
|
124
124
|
color: var(--primary-tablist-selected-color);
|
|
125
125
|
}
|
|
126
|
-
.
|
|
126
|
+
.tabs__disabled_18h98 {
|
|
127
127
|
cursor: var(--disabled-cursor);
|
|
128
128
|
color: var(--primary-tablist-disabled-color);
|
|
129
129
|
}
|
|
130
|
-
.
|
|
130
|
+
.tabs__line_18h98 {
|
|
131
131
|
position: absolute;
|
|
132
132
|
height: 3px;
|
|
133
133
|
bottom: 0;
|
|
@@ -136,46 +136,46 @@
|
|
|
136
136
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
137
137
|
}
|
|
138
138
|
/* sizes */
|
|
139
|
-
.
|
|
139
|
+
.tabs__s_18h98 .tabs__title_18h98 {
|
|
140
140
|
padding: var(--primary-tablist-s-padding);
|
|
141
141
|
font-size: var(--primary-tablist-s-font-size);
|
|
142
142
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
143
143
|
font-family: var(--primary-tablist-s-font-family);
|
|
144
144
|
line-height: 24px;
|
|
145
145
|
}
|
|
146
|
-
.
|
|
146
|
+
.tabs__s_18h98 .tabs__title_18h98 + .tabs__title_18h98 {
|
|
147
147
|
margin-left: var(--primary-tablist-s-gaps);
|
|
148
148
|
}
|
|
149
|
-
.
|
|
149
|
+
.tabs__m_18h98 .tabs__title_18h98 {
|
|
150
150
|
padding: var(--primary-tablist-m-padding);
|
|
151
151
|
font-size: var(--primary-tablist-m-font-size);
|
|
152
152
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
153
153
|
font-family: var(--primary-tablist-m-font-family);
|
|
154
154
|
line-height: 24px;
|
|
155
155
|
}
|
|
156
|
-
.
|
|
156
|
+
.tabs__m_18h98 .tabs__title_18h98 + .tabs__title_18h98 {
|
|
157
157
|
margin-left: var(--primary-tablist-m-gaps);
|
|
158
158
|
}
|
|
159
|
-
.
|
|
159
|
+
.tabs__l_18h98 .tabs__title_18h98 {
|
|
160
160
|
padding: var(--primary-tablist-l-padding);
|
|
161
161
|
font-size: var(--primary-tablist-l-font-size);
|
|
162
162
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
163
163
|
font-family: var(--primary-tablist-l-font-family);
|
|
164
164
|
line-height: 24px;
|
|
165
165
|
}
|
|
166
|
-
.
|
|
166
|
+
.tabs__l_18h98 .tabs__title_18h98 + .tabs__title_18h98 {
|
|
167
167
|
margin-left: var(--primary-tablist-l-gaps);
|
|
168
168
|
}
|
|
169
|
-
.
|
|
169
|
+
.tabs__xl_18h98 .tabs__title_18h98 {
|
|
170
170
|
padding: var(--primary-tablist-xl-padding);
|
|
171
171
|
font-size: var(--primary-tablist-xl-font-size);
|
|
172
172
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
173
173
|
font-family: var(--primary-tablist-xl-font-family);
|
|
174
174
|
line-height: 32px;
|
|
175
175
|
}
|
|
176
|
-
.
|
|
176
|
+
.tabs__xl_18h98 .tabs__title_18h98 + .tabs__title_18h98 {
|
|
177
177
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
178
178
|
}
|
|
179
|
-
.
|
|
179
|
+
.tabs__rightAddons_18h98 {
|
|
180
180
|
margin-left: var(--gap-xs);
|
|
181
181
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ommsi */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -82,9 +82,9 @@
|
|
|
82
82
|
/* size l */
|
|
83
83
|
|
|
84
84
|
/* size xl */
|
|
85
|
-
}.
|
|
85
|
+
}.tabs__component_18h98 {
|
|
86
86
|
position: relative
|
|
87
|
-
}.
|
|
87
|
+
}.tabs__component_18h98:before {
|
|
88
88
|
content: '';
|
|
89
89
|
display: block;
|
|
90
90
|
position: absolute;
|
|
@@ -92,10 +92,10 @@
|
|
|
92
92
|
height: 1px;
|
|
93
93
|
width: 100%;
|
|
94
94
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
95
|
-
}.
|
|
95
|
+
}.tabs__container_18h98 {
|
|
96
96
|
position: relative;
|
|
97
97
|
display: flex;
|
|
98
|
-
}.
|
|
98
|
+
}.tabs__title_18h98 {
|
|
99
99
|
display: flex;
|
|
100
100
|
align-items: center;
|
|
101
101
|
height: 100%;
|
|
@@ -112,57 +112,57 @@
|
|
|
112
112
|
user-select: none;
|
|
113
113
|
cursor: pointer;
|
|
114
114
|
outline: none
|
|
115
|
-
}.
|
|
115
|
+
}.tabs__title_18h98:not(.tabs__disabled_18h98):hover {
|
|
116
116
|
color: var(--primary-tablist-hover-color);
|
|
117
|
-
}.
|
|
117
|
+
}.tabs__focused_18h98 {
|
|
118
118
|
outline: 2px solid var(--focus-color);
|
|
119
119
|
outline-offset: 2px;
|
|
120
|
-
}.
|
|
120
|
+
}.tabs__selected_18h98 {
|
|
121
121
|
cursor: default;
|
|
122
122
|
color: var(--primary-tablist-selected-color);
|
|
123
|
-
}.
|
|
123
|
+
}.tabs__disabled_18h98 {
|
|
124
124
|
cursor: var(--disabled-cursor);
|
|
125
125
|
color: var(--primary-tablist-disabled-color);
|
|
126
|
-
}.
|
|
126
|
+
}.tabs__line_18h98 {
|
|
127
127
|
position: absolute;
|
|
128
128
|
height: 3px;
|
|
129
129
|
bottom: 0;
|
|
130
130
|
left: 0;
|
|
131
131
|
background-color: var(--primary-tablist-line-color);
|
|
132
132
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
133
|
-
}/* sizes */.
|
|
133
|
+
}/* sizes */.tabs__s_18h98 .tabs__title_18h98 {
|
|
134
134
|
padding: var(--primary-tablist-s-padding);
|
|
135
135
|
font-size: var(--primary-tablist-s-font-size);
|
|
136
136
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
137
137
|
font-family: var(--primary-tablist-s-font-family);
|
|
138
138
|
line-height: 24px;
|
|
139
|
-
}.
|
|
139
|
+
}.tabs__s_18h98 .tabs__title_18h98 + .tabs__title_18h98 {
|
|
140
140
|
margin-left: var(--primary-tablist-s-gaps);
|
|
141
|
-
}.
|
|
141
|
+
}.tabs__m_18h98 .tabs__title_18h98 {
|
|
142
142
|
padding: var(--primary-tablist-m-padding);
|
|
143
143
|
font-size: var(--primary-tablist-m-font-size);
|
|
144
144
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
145
145
|
font-family: var(--primary-tablist-m-font-family);
|
|
146
146
|
line-height: 24px;
|
|
147
|
-
}.
|
|
147
|
+
}.tabs__m_18h98 .tabs__title_18h98 + .tabs__title_18h98 {
|
|
148
148
|
margin-left: var(--primary-tablist-m-gaps);
|
|
149
|
-
}.
|
|
149
|
+
}.tabs__l_18h98 .tabs__title_18h98 {
|
|
150
150
|
padding: var(--primary-tablist-l-padding);
|
|
151
151
|
font-size: var(--primary-tablist-l-font-size);
|
|
152
152
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
153
153
|
font-family: var(--primary-tablist-l-font-family);
|
|
154
154
|
line-height: 24px;
|
|
155
|
-
}.
|
|
155
|
+
}.tabs__l_18h98 .tabs__title_18h98 + .tabs__title_18h98 {
|
|
156
156
|
margin-left: var(--primary-tablist-l-gaps);
|
|
157
|
-
}.
|
|
157
|
+
}.tabs__xl_18h98 .tabs__title_18h98 {
|
|
158
158
|
padding: var(--primary-tablist-xl-padding);
|
|
159
159
|
font-size: var(--primary-tablist-xl-font-size);
|
|
160
160
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
161
161
|
font-family: var(--primary-tablist-xl-font-family);
|
|
162
162
|
line-height: 32px;
|
|
163
|
-
}.
|
|
163
|
+
}.tabs__xl_18h98 .tabs__title_18h98 + .tabs__title_18h98 {
|
|
164
164
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
165
|
-
}.
|
|
165
|
+
}.tabs__rightAddons_18h98 {
|
|
166
166
|
margin-left: var(--gap-xs);
|
|
167
167
|
}
|
|
168
168
|
:root {
|
|
@@ -737,7 +737,7 @@
|
|
|
737
737
|
/* size xl */
|
|
738
738
|
--secondary-tablist-xl-gaps: var(--gap-s);
|
|
739
739
|
}
|
|
740
|
-
.
|
|
740
|
+
.tabs__title_1vok1 {
|
|
741
741
|
|
|
742
742
|
padding: var(--primary-tablist-mobile-padding);
|
|
743
743
|
font-size: var(--primary-tablist-mobile-font-size);
|
|
@@ -745,6 +745,6 @@
|
|
|
745
745
|
font-family: var(--primary-tablist-mobile-font-family);
|
|
746
746
|
line-height: 24px
|
|
747
747
|
}
|
|
748
|
-
.
|
|
748
|
+
.tabs__title_1vok1 + .tabs__title_1vok1 {
|
|
749
749
|
margin-left: var(--primary-tablist-mobile-gaps);
|
|
750
750
|
}
|
|
@@ -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_1pc2k"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const ScrollableContainer = ({ containerClassName, children, activeChild, }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1xbn4 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
|
|
30
30
|
/* size xl */
|
|
31
31
|
}
|
|
32
|
-
.
|
|
32
|
+
.tabs__container_1pc2k {
|
|
33
33
|
position: relative;
|
|
34
34
|
display: flex;
|
|
35
35
|
align-items: center;
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
overflow-y: hidden;
|
|
38
38
|
scrollbar-width: none
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
.tabs__container_1pc2k::-webkit-scrollbar {
|
|
41
41
|
display: none;
|
|
42
42
|
}
|
|
@@ -5,7 +5,7 @@ import '../scrollable-container/Component.js';
|
|
|
5
5
|
import '../../useTabs.js';
|
|
6
6
|
import '@alfalab/core-components-tag/dist/modern';
|
|
7
7
|
import { SecondaryTabList } from './Component.js';
|
|
8
|
-
import { c as commonStyles } from '../../index.module-
|
|
8
|
+
import { c as commonStyles } from '../../index.module-79dd2b67.js';
|
|
9
9
|
|
|
10
10
|
const SecondaryTabListDesktop = ({ size = 'm', ...restProps }) => (React.createElement(SecondaryTabList, Object.assign({}, restProps, { size: size, styles: commonStyles, tagSize: size === 's' ? 'xs' : 's' })));
|
|
11
11
|
|
|
@@ -5,9 +5,9 @@ import '../scrollable-container/Component.js';
|
|
|
5
5
|
import '../../useTabs.js';
|
|
6
6
|
import '@alfalab/core-components-tag/dist/modern';
|
|
7
7
|
import { SecondaryTabList } from './Component.js';
|
|
8
|
-
import { c as commonStyles } from '../../index.module-
|
|
8
|
+
import { c as commonStyles } from '../../index.module-79dd2b67.js';
|
|
9
9
|
|
|
10
|
-
var mobileStyles = {"title":"
|
|
10
|
+
var mobileStyles = {"title":"tabs__title_6w2ss tabs__title_16m8j","mobile":"tabs__mobile_6w2ss"};
|
|
11
11
|
require('./mobile.css')
|
|
12
12
|
|
|
13
13
|
const styles = {
|
|
@@ -5,7 +5,7 @@ import '../scrollable-container/Component.js';
|
|
|
5
5
|
import '../../useTabs.js';
|
|
6
6
|
import '@alfalab/core-components-tag/dist/modern';
|
|
7
7
|
import './Component.js';
|
|
8
|
-
import '../../index.module-
|
|
8
|
+
import '../../index.module-79dd2b67.js';
|
|
9
9
|
import { SecondaryTabListDesktop } from './Component.desktop.js';
|
|
10
10
|
import { useMedia } from '@alfalab/hooks';
|
|
11
11
|
import { SecondaryTabListMobile } from './Component.mobile.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: rryiu */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -42,40 +42,40 @@
|
|
|
42
42
|
/* size xl */
|
|
43
43
|
--secondary-tablist-xl-gaps: var(--gap-s);
|
|
44
44
|
}
|
|
45
|
-
.
|
|
45
|
+
.tabs__component_16m8j {
|
|
46
46
|
position: relative;
|
|
47
47
|
display: flex;
|
|
48
48
|
align-items: center;
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.tabs__container_16m8j {
|
|
51
51
|
display: flex;
|
|
52
52
|
align-items: center;
|
|
53
53
|
}
|
|
54
|
-
.
|
|
54
|
+
.tabs__title_16m8j {
|
|
55
55
|
white-space: nowrap;
|
|
56
56
|
}
|
|
57
57
|
/* sizes */
|
|
58
|
-
.
|
|
58
|
+
.tabs__s_16m8j {
|
|
59
59
|
height: var(--size-s-height)
|
|
60
60
|
}
|
|
61
|
-
.
|
|
61
|
+
.tabs__s_16m8j .tabs__title_16m8j + .tabs__title_16m8j {
|
|
62
62
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
63
63
|
}
|
|
64
|
-
.
|
|
64
|
+
.tabs__m_16m8j {
|
|
65
65
|
height: var(--size-m-height)
|
|
66
66
|
}
|
|
67
|
-
.
|
|
67
|
+
.tabs__m_16m8j .tabs__title_16m8j + .tabs__title_16m8j {
|
|
68
68
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
.tabs__l_16m8j {
|
|
71
71
|
height: var(--size-l-height)
|
|
72
72
|
}
|
|
73
|
-
.
|
|
73
|
+
.tabs__l_16m8j .tabs__title_16m8j + .tabs__title_16m8j {
|
|
74
74
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.tabs__xl_16m8j {
|
|
77
77
|
height: var(--size-xl-height)
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.tabs__xl_16m8j .tabs__title_16m8j + .tabs__title_16m8j {
|
|
80
80
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
81
81
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ymbos */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -46,30 +46,30 @@
|
|
|
46
46
|
|
|
47
47
|
/* size xl */
|
|
48
48
|
--secondary-tablist-xl-gaps: var(--gap-s);
|
|
49
|
-
}.
|
|
49
|
+
}.tabs__component_16m8j {
|
|
50
50
|
position: relative;
|
|
51
51
|
display: flex;
|
|
52
52
|
align-items: center;
|
|
53
|
-
}.
|
|
53
|
+
}.tabs__container_16m8j {
|
|
54
54
|
display: flex;
|
|
55
55
|
align-items: center;
|
|
56
|
-
}.
|
|
56
|
+
}.tabs__title_16m8j {
|
|
57
57
|
white-space: nowrap;
|
|
58
|
-
}/* sizes */.
|
|
58
|
+
}/* sizes */.tabs__s_16m8j {
|
|
59
59
|
height: var(--size-s-height)
|
|
60
|
-
}.
|
|
60
|
+
}.tabs__s_16m8j .tabs__title_16m8j + .tabs__title_16m8j {
|
|
61
61
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
62
|
-
}.
|
|
62
|
+
}.tabs__m_16m8j {
|
|
63
63
|
height: var(--size-m-height)
|
|
64
|
-
}.
|
|
64
|
+
}.tabs__m_16m8j .tabs__title_16m8j + .tabs__title_16m8j {
|
|
65
65
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
66
|
-
}.
|
|
66
|
+
}.tabs__l_16m8j {
|
|
67
67
|
height: var(--size-l-height)
|
|
68
|
-
}.
|
|
68
|
+
}.tabs__l_16m8j .tabs__title_16m8j + .tabs__title_16m8j {
|
|
69
69
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
70
|
-
}.
|
|
70
|
+
}.tabs__xl_16m8j {
|
|
71
71
|
height: var(--size-xl-height)
|
|
72
|
-
}.
|
|
72
|
+
}.tabs__xl_16m8j .tabs__title_16m8j + .tabs__title_16m8j {
|
|
73
73
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
74
74
|
}
|
|
75
75
|
:root {
|
|
@@ -644,11 +644,11 @@
|
|
|
644
644
|
/* size xl */
|
|
645
645
|
--secondary-tablist-xl-gaps: var(--gap-s);
|
|
646
646
|
}
|
|
647
|
-
.
|
|
647
|
+
.tabs__title_6w2ss {
|
|
648
648
|
}
|
|
649
|
-
.
|
|
649
|
+
.tabs__title_6w2ss + .tabs__title_6w2ss {
|
|
650
650
|
margin-left: var(--secondary-tablist-mobile-gaps);
|
|
651
651
|
}
|
|
652
|
-
.
|
|
652
|
+
.tabs__mobile_6w2ss {
|
|
653
653
|
height: 48px;
|
|
654
654
|
}
|
|
@@ -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_1tze2","hidden":"tabs__hidden_1tze2"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
const Tab = ({ children, hidden, className, disabled }) => children ? (React.createElement("div", { className: cn(styles.component, {
|
|
@@ -5,11 +5,11 @@ import 'compute-scroll-into-view';
|
|
|
5
5
|
import '../scrollable-container/Component.js';
|
|
6
6
|
import '../../useTabs.js';
|
|
7
7
|
import '../primary-tablist/Component.js';
|
|
8
|
-
import '../../index.module-
|
|
8
|
+
import '../../index.module-5f8ab866.js';
|
|
9
9
|
import { PrimaryTabListDesktop } from '../primary-tablist/Component.desktop.js';
|
|
10
10
|
import '@alfalab/core-components-tag/dist/modern';
|
|
11
11
|
import '../secondary-tablist/Component.js';
|
|
12
|
-
import '../../index.module-
|
|
12
|
+
import '../../index.module-79dd2b67.js';
|
|
13
13
|
import { SecondaryTabListDesktop } from '../secondary-tablist/Component.desktop.js';
|
|
14
14
|
import { Tabs } from './Component.js';
|
|
15
15
|
|
|
@@ -5,10 +5,10 @@ import 'compute-scroll-into-view';
|
|
|
5
5
|
import '../scrollable-container/Component.js';
|
|
6
6
|
import '../../useTabs.js';
|
|
7
7
|
import '../primary-tablist/Component.js';
|
|
8
|
-
import '../../index.module-
|
|
8
|
+
import '../../index.module-5f8ab866.js';
|
|
9
9
|
import '@alfalab/core-components-tag/dist/modern';
|
|
10
10
|
import '../secondary-tablist/Component.js';
|
|
11
|
-
import '../../index.module-
|
|
11
|
+
import '../../index.module-79dd2b67.js';
|
|
12
12
|
import { Tabs } from './Component.js';
|
|
13
13
|
import { PrimaryTabListMobile } from '../primary-tablist/Component.mobile.js';
|
|
14
14
|
import { SecondaryTabListMobile } from '../secondary-tablist/Component.mobile.js';
|
|
@@ -5,11 +5,11 @@ import 'compute-scroll-into-view';
|
|
|
5
5
|
import '../scrollable-container/Component.js';
|
|
6
6
|
import '../../useTabs.js';
|
|
7
7
|
import '../primary-tablist/Component.js';
|
|
8
|
-
import '../../index.module-
|
|
8
|
+
import '../../index.module-5f8ab866.js';
|
|
9
9
|
import '../primary-tablist/Component.desktop.js';
|
|
10
10
|
import '@alfalab/core-components-tag/dist/modern';
|
|
11
11
|
import '../secondary-tablist/Component.js';
|
|
12
|
-
import '../../index.module-
|
|
12
|
+
import '../../index.module-79dd2b67.js';
|
|
13
13
|
import '../secondary-tablist/Component.desktop.js';
|
|
14
14
|
import { Tabs } from './Component.js';
|
|
15
15
|
import '@alfalab/hooks';
|