@alfalab/core-components-tabs 6.0.1 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -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 +23 -19
- package/dist/components/primary-tablist/mobile.css +40 -30
- package/dist/components/scrollable-container/Component.js +1 -1
- package/dist/components/scrollable-container/index.css +10 -3
- package/dist/components/secondary-tablist/Component.desktop.js +4 -4
- 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 +28 -32
- package/dist/components/secondary-tablist/mobile.css +43 -41
- package/dist/components/tab/Component.js +1 -1
- package/dist/components/tab/index.css +3 -3
- package/dist/components/tabs/Component.desktop.js +4 -4
- package/dist/components/tabs/Component.mobile.js +3 -3
- package/dist/components/tabs/Component.responsive.js +3 -3
- package/dist/cssm/components/primary-tablist/index.module.css +6 -2
- package/dist/cssm/components/primary-tablist/mobile.module.css +4 -0
- package/dist/cssm/components/scrollable-container/index.module.css +7 -0
- package/dist/cssm/components/secondary-tablist/Component.desktop.js +2 -2
- package/dist/cssm/components/secondary-tablist/index.module.css +20 -24
- package/dist/cssm/components/secondary-tablist/mobile.module.css +4 -3
- package/dist/cssm/components/tabs/Component.desktop.js +1 -1
- package/dist/cssm/typings.d.ts +1 -1
- package/dist/cssm/vars.css +4 -0
- 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 +23 -19
- package/dist/esm/components/primary-tablist/mobile.css +40 -30
- package/dist/esm/components/scrollable-container/Component.js +1 -1
- package/dist/esm/components/scrollable-container/index.css +10 -3
- package/dist/esm/components/secondary-tablist/Component.desktop.js +4 -4
- 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 +28 -32
- package/dist/esm/components/secondary-tablist/mobile.css +43 -41
- 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 +4 -4
- 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-5a614d30.js +4 -0
- package/dist/esm/index.module-ae07ffd2.js +4 -0
- package/dist/esm/mobile.js +3 -3
- package/dist/esm/responsive.js +3 -3
- package/dist/esm/{tslib.es6-f32a8b0b.d.ts → tslib.es6-c35cab6f.d.ts} +0 -0
- package/dist/esm/{tslib.es6-f32a8b0b.js → tslib.es6-c35cab6f.js} +0 -0
- package/dist/esm/typings.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.module-dd84aa53.js +6 -0
- package/dist/index.module-ea171780.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 +23 -19
- package/dist/modern/components/primary-tablist/mobile.css +40 -30
- package/dist/modern/components/scrollable-container/Component.js +1 -1
- package/dist/modern/components/scrollable-container/index.css +10 -3
- package/dist/modern/components/secondary-tablist/Component.desktop.js +2 -2
- 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 +28 -32
- package/dist/modern/components/secondary-tablist/mobile.css +43 -41
- 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 +3 -3
- 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-5a614d30.js +4 -0
- package/dist/modern/index.module-ae07ffd2.js +4 -0
- package/dist/modern/mobile.js +2 -2
- package/dist/modern/responsive.js +2 -2
- package/dist/modern/typings.d.ts +1 -1
- package/dist/responsive.js +3 -3
- package/dist/{tslib.es6-a945f620.d.ts → tslib.es6-bdf56a24.d.ts} +0 -0
- package/dist/{tslib.es6-a945f620.js → tslib.es6-bdf56a24.js} +0 -0
- package/dist/typings.d.ts +1 -1
- package/package.json +2 -2
- package/dist/esm/index.module-5f8ab866.js +0 -4
- package/dist/esm/index.module-79dd2b67.js +0 -4
- package/dist/index.module-09355c68.js +0 -6
- package/dist/index.module-313ebd46.js +0 -6
- package/dist/modern/index.module-5f8ab866.js +0 -4
- package/dist/modern/index.module-79dd2b67.js +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [6.1.0](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-tabs@6.0.1...@alfalab/core-components-tabs@6.1.0) (2022-02-09)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **tabs:** add xxs xs sizes to secondary view and fix heights ([#985](https://github.com/alfa-laboratory/core-components/issues/985)) ([dd20933](https://github.com/alfa-laboratory/core-components/commit/dd20933f7c9a8f08920f7ad21bacb25983d3e93e))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [6.0.1](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-tabs@6.0.0...@alfalab/core-components-tabs@6.0.1) (2021-12-08)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @alfalab/core-components-tabs
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-bdf56a24.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
require('classnames');
|
|
@@ -10,7 +10,7 @@ require('compute-scroll-into-view');
|
|
|
10
10
|
require('../scrollable-container/Component.js');
|
|
11
11
|
require('../../useTabs.js');
|
|
12
12
|
var components_primaryTablist_Component = require('./Component.js');
|
|
13
|
-
var index_module = require('../../index.module-
|
|
13
|
+
var index_module = require('../../index.module-dd84aa53.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
16
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-bdf56a24.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var coreComponentsKeyboardFocusable = require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
var cn = require('classnames');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-bdf56a24.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
var cn = require('classnames');
|
|
@@ -10,14 +10,14 @@ require('compute-scroll-into-view');
|
|
|
10
10
|
require('../scrollable-container/Component.js');
|
|
11
11
|
require('../../useTabs.js');
|
|
12
12
|
var components_primaryTablist_Component = require('./Component.js');
|
|
13
|
-
var index_module = require('../../index.module-
|
|
13
|
+
var index_module = require('../../index.module-dd84aa53.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
16
|
|
|
17
17
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
18
18
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
19
19
|
|
|
20
|
-
var mobileStyles = {"title":"
|
|
20
|
+
var mobileStyles = {"title":"tabs__title_1v39v tabs__title_rbbzt"};
|
|
21
21
|
require('./mobile.css')
|
|
22
22
|
|
|
23
23
|
var styles = tslib_es6.__assign(tslib_es6.__assign({}, index_module.commonStyles), mobileStyles);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-bdf56a24.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
require('classnames');
|
|
@@ -10,7 +10,7 @@ require('compute-scroll-into-view');
|
|
|
10
10
|
require('../scrollable-container/Component.js');
|
|
11
11
|
require('../../useTabs.js');
|
|
12
12
|
require('./Component.js');
|
|
13
|
-
require('../../index.module-
|
|
13
|
+
require('../../index.module-dd84aa53.js');
|
|
14
14
|
var components_primaryTablist_Component_desktop = require('./Component.desktop.js');
|
|
15
15
|
var hooks = require('@alfalab/hooks');
|
|
16
16
|
var components_primaryTablist_Component_mobile = require('./Component.mobile.js');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1vr8c */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-accent: #ef3124;
|
|
4
4
|
--color-light-border-link: #007aff;
|
|
@@ -70,6 +70,10 @@
|
|
|
70
70
|
|
|
71
71
|
/* mobile */
|
|
72
72
|
|
|
73
|
+
/* size xxs */
|
|
74
|
+
|
|
75
|
+
/* size xs */
|
|
76
|
+
|
|
73
77
|
/* size s */
|
|
74
78
|
|
|
75
79
|
/* size m */
|
|
@@ -78,10 +82,10 @@
|
|
|
78
82
|
|
|
79
83
|
/* size xl */
|
|
80
84
|
}
|
|
81
|
-
.
|
|
85
|
+
.tabs__component_rbbzt {
|
|
82
86
|
position: relative
|
|
83
87
|
}
|
|
84
|
-
.
|
|
88
|
+
.tabs__component_rbbzt:before {
|
|
85
89
|
content: '';
|
|
86
90
|
display: block;
|
|
87
91
|
position: absolute;
|
|
@@ -90,11 +94,11 @@
|
|
|
90
94
|
width: 100%;
|
|
91
95
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
92
96
|
}
|
|
93
|
-
.
|
|
97
|
+
.tabs__container_rbbzt {
|
|
94
98
|
position: relative;
|
|
95
99
|
display: flex;
|
|
96
100
|
}
|
|
97
|
-
.
|
|
101
|
+
.tabs__title_rbbzt {
|
|
98
102
|
display: flex;
|
|
99
103
|
align-items: center;
|
|
100
104
|
height: 100%;
|
|
@@ -112,22 +116,22 @@
|
|
|
112
116
|
cursor: pointer;
|
|
113
117
|
outline: none
|
|
114
118
|
}
|
|
115
|
-
.
|
|
119
|
+
.tabs__title_rbbzt:not(.tabs__disabled_rbbzt):hover {
|
|
116
120
|
color: var(--primary-tablist-hover-color);
|
|
117
121
|
}
|
|
118
|
-
.
|
|
122
|
+
.tabs__focused_rbbzt {
|
|
119
123
|
outline: 2px solid var(--focus-color);
|
|
120
124
|
outline-offset: 2px;
|
|
121
125
|
}
|
|
122
|
-
.
|
|
126
|
+
.tabs__selected_rbbzt {
|
|
123
127
|
cursor: default;
|
|
124
128
|
color: var(--primary-tablist-selected-color);
|
|
125
129
|
}
|
|
126
|
-
.
|
|
130
|
+
.tabs__disabled_rbbzt {
|
|
127
131
|
cursor: var(--disabled-cursor);
|
|
128
132
|
color: var(--primary-tablist-disabled-color);
|
|
129
133
|
}
|
|
130
|
-
.
|
|
134
|
+
.tabs__line_rbbzt {
|
|
131
135
|
position: absolute;
|
|
132
136
|
height: 3px;
|
|
133
137
|
bottom: 0;
|
|
@@ -136,46 +140,46 @@
|
|
|
136
140
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
137
141
|
}
|
|
138
142
|
/* sizes */
|
|
139
|
-
.
|
|
143
|
+
.tabs__s_rbbzt .tabs__title_rbbzt, .tabs__xs_rbbzt .tabs__title_rbbzt, .tabs__xxs_rbbzt .tabs__title_rbbzt {
|
|
140
144
|
padding: var(--primary-tablist-s-padding);
|
|
141
145
|
font-size: var(--primary-tablist-s-font-size);
|
|
142
146
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
143
147
|
font-family: var(--primary-tablist-s-font-family);
|
|
144
148
|
line-height: 24px;
|
|
145
149
|
}
|
|
146
|
-
.
|
|
150
|
+
.tabs__s_rbbzt .tabs__title_rbbzt + .tabs__title_rbbzt, .tabs__xs_rbbzt .tabs__title_rbbzt + .tabs__title_rbbzt, .tabs__xxs_rbbzt .tabs__title_rbbzt + .tabs__title_rbbzt {
|
|
147
151
|
margin-left: var(--primary-tablist-s-gaps);
|
|
148
152
|
}
|
|
149
|
-
.
|
|
153
|
+
.tabs__m_rbbzt .tabs__title_rbbzt {
|
|
150
154
|
padding: var(--primary-tablist-m-padding);
|
|
151
155
|
font-size: var(--primary-tablist-m-font-size);
|
|
152
156
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
153
157
|
font-family: var(--primary-tablist-m-font-family);
|
|
154
158
|
line-height: 24px;
|
|
155
159
|
}
|
|
156
|
-
.
|
|
160
|
+
.tabs__m_rbbzt .tabs__title_rbbzt + .tabs__title_rbbzt {
|
|
157
161
|
margin-left: var(--primary-tablist-m-gaps);
|
|
158
162
|
}
|
|
159
|
-
.
|
|
163
|
+
.tabs__l_rbbzt .tabs__title_rbbzt {
|
|
160
164
|
padding: var(--primary-tablist-l-padding);
|
|
161
165
|
font-size: var(--primary-tablist-l-font-size);
|
|
162
166
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
163
167
|
font-family: var(--primary-tablist-l-font-family);
|
|
164
168
|
line-height: 24px;
|
|
165
169
|
}
|
|
166
|
-
.
|
|
170
|
+
.tabs__l_rbbzt .tabs__title_rbbzt + .tabs__title_rbbzt {
|
|
167
171
|
margin-left: var(--primary-tablist-l-gaps);
|
|
168
172
|
}
|
|
169
|
-
.
|
|
173
|
+
.tabs__xl_rbbzt .tabs__title_rbbzt {
|
|
170
174
|
padding: var(--primary-tablist-xl-padding);
|
|
171
175
|
font-size: var(--primary-tablist-xl-font-size);
|
|
172
176
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
173
177
|
font-family: var(--primary-tablist-xl-font-family);
|
|
174
178
|
line-height: 32px;
|
|
175
179
|
}
|
|
176
|
-
.
|
|
180
|
+
.tabs__xl_rbbzt .tabs__title_rbbzt + .tabs__title_rbbzt {
|
|
177
181
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
178
182
|
}
|
|
179
|
-
.
|
|
183
|
+
.tabs__rightAddons_rbbzt {
|
|
180
184
|
margin-left: var(--gap-xs);
|
|
181
185
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1hp42 */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -75,6 +75,10 @@
|
|
|
75
75
|
|
|
76
76
|
/* mobile */
|
|
77
77
|
|
|
78
|
+
/* size xxs */
|
|
79
|
+
|
|
80
|
+
/* size xs */
|
|
81
|
+
|
|
78
82
|
/* size s */
|
|
79
83
|
|
|
80
84
|
/* size m */
|
|
@@ -82,9 +86,9 @@
|
|
|
82
86
|
/* size l */
|
|
83
87
|
|
|
84
88
|
/* size xl */
|
|
85
|
-
}.
|
|
89
|
+
}.tabs__component_rbbzt {
|
|
86
90
|
position: relative
|
|
87
|
-
}.
|
|
91
|
+
}.tabs__component_rbbzt:before {
|
|
88
92
|
content: '';
|
|
89
93
|
display: block;
|
|
90
94
|
position: absolute;
|
|
@@ -92,10 +96,10 @@
|
|
|
92
96
|
height: 1px;
|
|
93
97
|
width: 100%;
|
|
94
98
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
95
|
-
}.
|
|
99
|
+
}.tabs__container_rbbzt {
|
|
96
100
|
position: relative;
|
|
97
101
|
display: flex;
|
|
98
|
-
}.
|
|
102
|
+
}.tabs__title_rbbzt {
|
|
99
103
|
display: flex;
|
|
100
104
|
align-items: center;
|
|
101
105
|
height: 100%;
|
|
@@ -112,57 +116,57 @@
|
|
|
112
116
|
user-select: none;
|
|
113
117
|
cursor: pointer;
|
|
114
118
|
outline: none
|
|
115
|
-
}.
|
|
119
|
+
}.tabs__title_rbbzt:not(.tabs__disabled_rbbzt):hover {
|
|
116
120
|
color: var(--primary-tablist-hover-color);
|
|
117
|
-
}.
|
|
121
|
+
}.tabs__focused_rbbzt {
|
|
118
122
|
outline: 2px solid var(--focus-color);
|
|
119
123
|
outline-offset: 2px;
|
|
120
|
-
}.
|
|
124
|
+
}.tabs__selected_rbbzt {
|
|
121
125
|
cursor: default;
|
|
122
126
|
color: var(--primary-tablist-selected-color);
|
|
123
|
-
}.
|
|
127
|
+
}.tabs__disabled_rbbzt {
|
|
124
128
|
cursor: var(--disabled-cursor);
|
|
125
129
|
color: var(--primary-tablist-disabled-color);
|
|
126
|
-
}.
|
|
130
|
+
}.tabs__line_rbbzt {
|
|
127
131
|
position: absolute;
|
|
128
132
|
height: 3px;
|
|
129
133
|
bottom: 0;
|
|
130
134
|
left: 0;
|
|
131
135
|
background-color: var(--primary-tablist-line-color);
|
|
132
136
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
133
|
-
}/* sizes */.
|
|
137
|
+
}/* sizes */.tabs__s_rbbzt .tabs__title_rbbzt, .tabs__xs_rbbzt .tabs__title_rbbzt, .tabs__xxs_rbbzt .tabs__title_rbbzt {
|
|
134
138
|
padding: var(--primary-tablist-s-padding);
|
|
135
139
|
font-size: var(--primary-tablist-s-font-size);
|
|
136
140
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
137
141
|
font-family: var(--primary-tablist-s-font-family);
|
|
138
142
|
line-height: 24px;
|
|
139
|
-
}.
|
|
143
|
+
}.tabs__s_rbbzt .tabs__title_rbbzt + .tabs__title_rbbzt, .tabs__xs_rbbzt .tabs__title_rbbzt + .tabs__title_rbbzt, .tabs__xxs_rbbzt .tabs__title_rbbzt + .tabs__title_rbbzt {
|
|
140
144
|
margin-left: var(--primary-tablist-s-gaps);
|
|
141
|
-
}.
|
|
145
|
+
}.tabs__m_rbbzt .tabs__title_rbbzt {
|
|
142
146
|
padding: var(--primary-tablist-m-padding);
|
|
143
147
|
font-size: var(--primary-tablist-m-font-size);
|
|
144
148
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
145
149
|
font-family: var(--primary-tablist-m-font-family);
|
|
146
150
|
line-height: 24px;
|
|
147
|
-
}.
|
|
151
|
+
}.tabs__m_rbbzt .tabs__title_rbbzt + .tabs__title_rbbzt {
|
|
148
152
|
margin-left: var(--primary-tablist-m-gaps);
|
|
149
|
-
}.
|
|
153
|
+
}.tabs__l_rbbzt .tabs__title_rbbzt {
|
|
150
154
|
padding: var(--primary-tablist-l-padding);
|
|
151
155
|
font-size: var(--primary-tablist-l-font-size);
|
|
152
156
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
153
157
|
font-family: var(--primary-tablist-l-font-family);
|
|
154
158
|
line-height: 24px;
|
|
155
|
-
}.
|
|
159
|
+
}.tabs__l_rbbzt .tabs__title_rbbzt + .tabs__title_rbbzt {
|
|
156
160
|
margin-left: var(--primary-tablist-l-gaps);
|
|
157
|
-
}.
|
|
161
|
+
}.tabs__xl_rbbzt .tabs__title_rbbzt {
|
|
158
162
|
padding: var(--primary-tablist-xl-padding);
|
|
159
163
|
font-size: var(--primary-tablist-xl-font-size);
|
|
160
164
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
161
165
|
font-family: var(--primary-tablist-xl-font-family);
|
|
162
166
|
line-height: 32px;
|
|
163
|
-
}.
|
|
167
|
+
}.tabs__xl_rbbzt .tabs__title_rbbzt + .tabs__title_rbbzt {
|
|
164
168
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
165
|
-
}.
|
|
169
|
+
}.tabs__rightAddons_rbbzt {
|
|
166
170
|
margin-left: var(--gap-xs);
|
|
167
171
|
}
|
|
168
172
|
:root {
|
|
@@ -283,13 +287,13 @@
|
|
|
283
287
|
--color-static-status-purple: #673ab7;
|
|
284
288
|
--color-static-status-red: #d91d0b;
|
|
285
289
|
--color-static-status-teal: #219187;
|
|
286
|
-
--color-static-status-blue-
|
|
287
|
-
--color-static-status-green-
|
|
288
|
-
--color-static-status-grey-
|
|
289
|
-
--color-static-status-orange-
|
|
290
|
-
--color-static-status-purple-
|
|
291
|
-
--color-static-status-red-
|
|
292
|
-
--color-static-status-teal-
|
|
290
|
+
--color-static-status-blue-alpha-10: rgba(0, 122, 255, 0.1);
|
|
291
|
+
--color-static-status-green-alpha-10: rgba(19, 164, 99, 0.1);
|
|
292
|
+
--color-static-status-grey-alpha-10: rgba(109, 121, 134, 0.1);
|
|
293
|
+
--color-static-status-orange-alpha-10: rgba(222, 106, 0, 0.1);
|
|
294
|
+
--color-static-status-purple-alpha-10: rgba(103, 58, 183, 0.1);
|
|
295
|
+
--color-static-status-red-alpha-10: rgba(217, 29, 11, 0.1);
|
|
296
|
+
--color-static-status-teal-alpha-10: rgba(33, 145, 135, 0.1);
|
|
293
297
|
}
|
|
294
298
|
:root {
|
|
295
299
|
--color-dark-bg-accent: #ef3124;
|
|
@@ -725,6 +729,12 @@
|
|
|
725
729
|
/* mobile */
|
|
726
730
|
--secondary-tablist-mobile-gaps: var(--gap-xs);
|
|
727
731
|
|
|
732
|
+
/* size xxs */
|
|
733
|
+
--secondary-tablist-xxs-gaps: var(--gap-xs);
|
|
734
|
+
|
|
735
|
+
/* size xs */
|
|
736
|
+
--secondary-tablist-xs-gaps: var(--gap-xs);
|
|
737
|
+
|
|
728
738
|
/* size s */
|
|
729
739
|
--secondary-tablist-s-gaps: var(--gap-s);
|
|
730
740
|
|
|
@@ -732,12 +742,12 @@
|
|
|
732
742
|
--secondary-tablist-m-gaps: var(--gap-s);
|
|
733
743
|
|
|
734
744
|
/* size l */
|
|
735
|
-
--secondary-tablist-l-gaps: var(--gap-
|
|
745
|
+
--secondary-tablist-l-gaps: var(--gap-m);
|
|
736
746
|
|
|
737
747
|
/* size xl */
|
|
738
|
-
--secondary-tablist-xl-gaps: var(--gap-
|
|
748
|
+
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
739
749
|
}
|
|
740
|
-
.
|
|
750
|
+
.tabs__title_1v39v {
|
|
741
751
|
|
|
742
752
|
padding: var(--primary-tablist-mobile-padding);
|
|
743
753
|
font-size: var(--primary-tablist-mobile-font-size);
|
|
@@ -745,6 +755,6 @@
|
|
|
745
755
|
font-family: var(--primary-tablist-mobile-font-family);
|
|
746
756
|
line-height: 24px
|
|
747
757
|
}
|
|
748
|
-
.
|
|
758
|
+
.tabs__title_1v39v + .tabs__title_1v39v {
|
|
749
759
|
margin-left: var(--primary-tablist-mobile-gaps);
|
|
750
760
|
}
|
|
@@ -12,7 +12,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
12
12
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
13
13
|
var computeScrollIntoView__default = /*#__PURE__*/_interopDefaultLegacy(computeScrollIntoView);
|
|
14
14
|
|
|
15
|
-
var styles = {"container":"
|
|
15
|
+
var styles = {"container":"tabs__container_1vfie"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
var ScrollableContainer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 2fctq */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -21,6 +21,10 @@
|
|
|
21
21
|
|
|
22
22
|
/* mobile */
|
|
23
23
|
|
|
24
|
+
/* size xxs */
|
|
25
|
+
|
|
26
|
+
/* size xs */
|
|
27
|
+
|
|
24
28
|
/* size s */
|
|
25
29
|
|
|
26
30
|
/* size m */
|
|
@@ -29,7 +33,7 @@
|
|
|
29
33
|
|
|
30
34
|
/* size xl */
|
|
31
35
|
}
|
|
32
|
-
.
|
|
36
|
+
.tabs__container_1vfie {
|
|
33
37
|
position: relative;
|
|
34
38
|
display: flex;
|
|
35
39
|
align-items: center;
|
|
@@ -37,6 +41,9 @@
|
|
|
37
41
|
overflow-y: hidden;
|
|
38
42
|
scrollbar-width: none
|
|
39
43
|
}
|
|
40
|
-
.
|
|
44
|
+
.tabs__container_1vfie::-webkit-scrollbar {
|
|
41
45
|
display: none;
|
|
42
46
|
}
|
|
47
|
+
.tabs__container_1vfie > * {
|
|
48
|
+
flex-shrink: 0;
|
|
49
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-bdf56a24.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('compute-scroll-into-view');
|
|
@@ -10,15 +10,15 @@ require('../scrollable-container/Component.js');
|
|
|
10
10
|
require('../../useTabs.js');
|
|
11
11
|
require('@alfalab/core-components-tag');
|
|
12
12
|
var components_secondaryTablist_Component = require('./Component.js');
|
|
13
|
-
var index_module = require('../../index.module-
|
|
13
|
+
var index_module = require('../../index.module-ea171780.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
16
|
|
|
17
17
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
18
18
|
|
|
19
19
|
var SecondaryTabListDesktop = function (_a) {
|
|
20
|
-
var _b = _a.size, size = _b === void 0 ? '
|
|
21
|
-
return (React__default['default'].createElement(components_secondaryTablist_Component.SecondaryTabList, tslib_es6.__assign({}, restProps, { size: size, styles: index_module.commonStyles, tagSize: size
|
|
20
|
+
var _b = _a.size, size = _b === void 0 ? 's' : _b, restProps = tslib_es6.__rest(_a, ["size"]);
|
|
21
|
+
return (React__default['default'].createElement(components_secondaryTablist_Component.SecondaryTabList, tslib_es6.__assign({}, restProps, { size: size, styles: index_module.commonStyles, tagSize: size })));
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
exports.SecondaryTabListDesktop = SecondaryTabListDesktop;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-bdf56a24.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
require('compute-scroll-into-view');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-bdf56a24.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
require('compute-scroll-into-view');
|
|
@@ -10,14 +10,14 @@ require('../scrollable-container/Component.js');
|
|
|
10
10
|
require('../../useTabs.js');
|
|
11
11
|
require('@alfalab/core-components-tag');
|
|
12
12
|
var components_secondaryTablist_Component = require('./Component.js');
|
|
13
|
-
var index_module = require('../../index.module-
|
|
13
|
+
var index_module = require('../../index.module-ea171780.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
16
|
|
|
17
17
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
18
18
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
19
19
|
|
|
20
|
-
var mobileStyles = {"title":"
|
|
20
|
+
var mobileStyles = {"title":"tabs__title_1c3i4 tabs__title_1td6e"};
|
|
21
21
|
require('./mobile.css')
|
|
22
22
|
|
|
23
23
|
var styles = tslib_es6.__assign(tslib_es6.__assign({}, index_module.commonStyles), mobileStyles);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-bdf56a24.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('compute-scroll-into-view');
|
|
@@ -10,7 +10,7 @@ require('../scrollable-container/Component.js');
|
|
|
10
10
|
require('../../useTabs.js');
|
|
11
11
|
require('@alfalab/core-components-tag');
|
|
12
12
|
require('./Component.js');
|
|
13
|
-
require('../../index.module-
|
|
13
|
+
require('../../index.module-ea171780.js');
|
|
14
14
|
var components_secondaryTablist_Component_desktop = require('./Component.desktop.js');
|
|
15
15
|
var hooks = require('@alfalab/hooks');
|
|
16
16
|
var components_secondaryTablist_Component_mobile = require('./Component.mobile.js');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1kufs */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -8,13 +8,9 @@
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
10
|
:root {
|
|
11
|
+
--gap-xs: 8px;
|
|
11
12
|
--gap-s: 12px;
|
|
12
|
-
|
|
13
|
-
:root {
|
|
14
|
-
--size-s-height: 48px;
|
|
15
|
-
--size-m-height: 56px;
|
|
16
|
-
--size-l-height: 64px;
|
|
17
|
-
--size-xl-height: 72px;
|
|
13
|
+
--gap-m: 16px;
|
|
18
14
|
}
|
|
19
15
|
:root {
|
|
20
16
|
|
|
@@ -30,6 +26,12 @@
|
|
|
30
26
|
|
|
31
27
|
/* mobile */
|
|
32
28
|
|
|
29
|
+
/* size xxs */
|
|
30
|
+
--secondary-tablist-xxs-gaps: var(--gap-xs);
|
|
31
|
+
|
|
32
|
+
/* size xs */
|
|
33
|
+
--secondary-tablist-xs-gaps: var(--gap-xs);
|
|
34
|
+
|
|
33
35
|
/* size s */
|
|
34
36
|
--secondary-tablist-s-gaps: var(--gap-s);
|
|
35
37
|
|
|
@@ -37,45 +39,39 @@
|
|
|
37
39
|
--secondary-tablist-m-gaps: var(--gap-s);
|
|
38
40
|
|
|
39
41
|
/* size l */
|
|
40
|
-
--secondary-tablist-l-gaps: var(--gap-
|
|
42
|
+
--secondary-tablist-l-gaps: var(--gap-m);
|
|
41
43
|
|
|
42
44
|
/* size xl */
|
|
43
|
-
--secondary-tablist-xl-gaps: var(--gap-
|
|
45
|
+
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
44
46
|
}
|
|
45
|
-
.
|
|
47
|
+
.tabs__component_1td6e {
|
|
46
48
|
position: relative;
|
|
47
49
|
display: flex;
|
|
48
50
|
align-items: center;
|
|
49
51
|
}
|
|
50
|
-
.
|
|
52
|
+
.tabs__container_1td6e {
|
|
51
53
|
display: flex;
|
|
52
54
|
align-items: center;
|
|
53
55
|
}
|
|
54
|
-
.
|
|
56
|
+
.tabs__title_1td6e {
|
|
55
57
|
white-space: nowrap;
|
|
56
58
|
}
|
|
57
59
|
/* sizes */
|
|
58
|
-
.
|
|
59
|
-
|
|
60
|
+
.tabs__xxs_1td6e .tabs__title_1td6e + .tabs__title_1td6e {
|
|
61
|
+
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
62
|
+
}
|
|
63
|
+
.tabs__xs_1td6e .tabs__title_1td6e + .tabs__title_1td6e {
|
|
64
|
+
margin-left: var(--secondary-tablist-xs-gaps);
|
|
65
|
+
}
|
|
66
|
+
.tabs__s_1td6e .tabs__title_1td6e + .tabs__title_1td6e {
|
|
67
|
+
margin-left: var(--secondary-tablist-s-gaps);
|
|
60
68
|
}
|
|
61
|
-
.
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
.tabs__m_16m8j {
|
|
65
|
-
height: var(--size-m-height)
|
|
69
|
+
.tabs__m_1td6e .tabs__title_1td6e + .tabs__title_1td6e {
|
|
70
|
+
margin-left: var(--secondary-tablist-m-gaps);
|
|
66
71
|
}
|
|
67
|
-
.
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
.tabs__l_16m8j {
|
|
71
|
-
height: var(--size-l-height)
|
|
72
|
+
.tabs__l_1td6e .tabs__title_1td6e + .tabs__title_1td6e {
|
|
73
|
+
margin-left: var(--secondary-tablist-l-gaps);
|
|
72
74
|
}
|
|
73
|
-
.
|
|
74
|
-
|
|
75
|
-
}
|
|
76
|
-
.tabs__xl_16m8j {
|
|
77
|
-
height: var(--size-xl-height)
|
|
75
|
+
.tabs__xl_1td6e .tabs__title_1td6e + .tabs__title_1td6e {
|
|
76
|
+
margin-left: var(--secondary-tablist-xl-gaps);
|
|
78
77
|
}
|
|
79
|
-
.tabs__xl_16m8j .tabs__title_16m8j + .tabs__title_16m8j {
|
|
80
|
-
margin-left: var(--secondary-tablist-xl-gaps);
|
|
81
|
-
}
|