@alfalab/core-components-tabs 5.2.4 → 5.2.5
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 +5 -8
- 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 -23
- package/dist/components/primary-tablist/mobile.css +21 -25
- package/dist/components/scrollable-container/Component.js +2 -3
- package/dist/components/scrollable-container/index.css +6 -12
- 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 -16
- package/dist/components/tab/Component.js +1 -1
- package/dist/components/tab/index.css +3 -3
- package/dist/components/tabs/Component.d.ts +1 -1
- package/dist/components/tabs/Component.desktop.d.ts +1 -1
- package/dist/components/tabs/Component.desktop.js +3 -3
- package/dist/components/tabs/Component.mobile.d.ts +1 -1
- package/dist/components/tabs/Component.mobile.js +3 -3
- package/dist/components/tabs/Component.responsive.d.ts +1 -1
- package/dist/components/tabs/Component.responsive.js +3 -3
- package/dist/cssm/components/primary-tablist/Component.js +4 -7
- package/dist/cssm/components/primary-tablist/index.module.css +0 -4
- package/dist/cssm/components/scrollable-container/Component.js +1 -2
- package/dist/cssm/components/scrollable-container/index.module.css +4 -10
- 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 +5 -8
- 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 -23
- package/dist/esm/components/primary-tablist/mobile.css +21 -25
- package/dist/esm/components/scrollable-container/Component.js +2 -3
- package/dist/esm/components/scrollable-container/index.css +6 -12
- 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 -16
- 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-84f33b39.js +4 -0
- package/dist/esm/index.module-f3a43121.js +4 -0
- package/dist/esm/mobile.js +3 -3
- package/dist/esm/responsive.js +3 -3
- package/dist/esm/{tslib.es6-ca61a599.d.ts → tslib.es6-83775305.d.ts} +0 -0
- package/dist/esm/{tslib.es6-ca61a599.js → tslib.es6-83775305.js} +0 -0
- package/dist/index.js +3 -3
- package/dist/index.module-0b03a04a.js +6 -0
- package/dist/index.module-85790000.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.js +1 -3
- 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 -23
- package/dist/modern/components/primary-tablist/mobile.css +21 -25
- package/dist/modern/components/scrollable-container/Component.js +2 -3
- package/dist/modern/components/scrollable-container/index.css +6 -12
- 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 -16
- 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-84f33b39.js +4 -0
- package/dist/modern/index.module-f3a43121.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-351f4d47.d.ts → tslib.es6-38a0729a.d.ts} +0 -0
- package/dist/{tslib.es6-351f4d47.js → tslib.es6-38a0729a.js} +0 -0
- package/package.json +2 -2
- package/dist/esm/index.module-31042309.js +0 -4
- package/dist/esm/index.module-4b8e748a.js +0 -4
- package/dist/index.module-962759d1.js +0 -6
- package/dist/index.module-c1c14145.js +0 -6
- package/dist/modern/index.module-31042309.js +0 -4
- package/dist/modern/index.module-4b8e748a.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1sue5 */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
--focus-color: var(--color-light-border-link);
|
|
32
32
|
--disabled-cursor: not-allowed;
|
|
33
33
|
}:root {
|
|
34
|
-
--tablist-hidden-scrollbar-height: 20px;
|
|
35
34
|
--primary-tablist-color: var(--color-light-text-secondary);
|
|
36
35
|
--primary-tablist-hover-color: var(--color-light-text-primary);
|
|
37
36
|
--primary-tablist-selected-color: var(--color-light-text-primary);
|
|
@@ -83,9 +82,9 @@
|
|
|
83
82
|
/* size l */
|
|
84
83
|
|
|
85
84
|
/* size xl */
|
|
86
|
-
}.
|
|
85
|
+
}.tabs__component_1zmu4 {
|
|
87
86
|
position: relative
|
|
88
|
-
}.
|
|
87
|
+
}.tabs__component_1zmu4:before {
|
|
89
88
|
content: '';
|
|
90
89
|
display: block;
|
|
91
90
|
position: absolute;
|
|
@@ -93,10 +92,10 @@
|
|
|
93
92
|
height: 1px;
|
|
94
93
|
width: 100%;
|
|
95
94
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
96
|
-
}.
|
|
95
|
+
}.tabs__container_1zmu4 {
|
|
97
96
|
position: relative;
|
|
98
97
|
display: flex;
|
|
99
|
-
}.
|
|
98
|
+
}.tabs__title_1zmu4 {
|
|
100
99
|
display: flex;
|
|
101
100
|
align-items: center;
|
|
102
101
|
height: 100%;
|
|
@@ -113,59 +112,57 @@
|
|
|
113
112
|
user-select: none;
|
|
114
113
|
cursor: pointer;
|
|
115
114
|
outline: none
|
|
116
|
-
}.
|
|
115
|
+
}.tabs__title_1zmu4:not(.tabs__disabled_1zmu4):hover {
|
|
117
116
|
color: var(--primary-tablist-hover-color);
|
|
118
|
-
}.
|
|
117
|
+
}.tabs__focused_1zmu4 {
|
|
119
118
|
outline: 2px solid var(--focus-color);
|
|
120
119
|
outline-offset: 2px;
|
|
121
|
-
}.
|
|
120
|
+
}.tabs__selected_1zmu4 {
|
|
122
121
|
cursor: default;
|
|
123
122
|
color: var(--primary-tablist-selected-color);
|
|
124
|
-
}.
|
|
123
|
+
}.tabs__disabled_1zmu4 {
|
|
125
124
|
cursor: var(--disabled-cursor);
|
|
126
125
|
color: var(--primary-tablist-disabled-color);
|
|
127
|
-
}.
|
|
126
|
+
}.tabs__line_1zmu4 {
|
|
128
127
|
position: absolute;
|
|
129
128
|
height: 3px;
|
|
130
129
|
bottom: 0;
|
|
131
130
|
left: 0;
|
|
132
131
|
background-color: var(--primary-tablist-line-color);
|
|
133
132
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
134
|
-
}
|
|
135
|
-
bottom: var(--tablist-hidden-scrollbar-height);
|
|
136
|
-
}/* sizes */.tabs__s_10yps .tabs__title_10yps {
|
|
133
|
+
}/* sizes */.tabs__s_1zmu4 .tabs__title_1zmu4 {
|
|
137
134
|
padding: var(--primary-tablist-s-padding);
|
|
138
135
|
font-size: var(--primary-tablist-s-font-size);
|
|
139
136
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
140
137
|
font-family: var(--primary-tablist-s-font-family);
|
|
141
138
|
line-height: 24px;
|
|
142
|
-
}.
|
|
139
|
+
}.tabs__s_1zmu4 .tabs__title_1zmu4 + .tabs__title_1zmu4 {
|
|
143
140
|
margin-left: var(--primary-tablist-s-gaps);
|
|
144
|
-
}.
|
|
141
|
+
}.tabs__m_1zmu4 .tabs__title_1zmu4 {
|
|
145
142
|
padding: var(--primary-tablist-m-padding);
|
|
146
143
|
font-size: var(--primary-tablist-m-font-size);
|
|
147
144
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
148
145
|
font-family: var(--primary-tablist-m-font-family);
|
|
149
146
|
line-height: 24px;
|
|
150
|
-
}.
|
|
147
|
+
}.tabs__m_1zmu4 .tabs__title_1zmu4 + .tabs__title_1zmu4 {
|
|
151
148
|
margin-left: var(--primary-tablist-m-gaps);
|
|
152
|
-
}.
|
|
149
|
+
}.tabs__l_1zmu4 .tabs__title_1zmu4 {
|
|
153
150
|
padding: var(--primary-tablist-l-padding);
|
|
154
151
|
font-size: var(--primary-tablist-l-font-size);
|
|
155
152
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
156
153
|
font-family: var(--primary-tablist-l-font-family);
|
|
157
154
|
line-height: 24px;
|
|
158
|
-
}.
|
|
155
|
+
}.tabs__l_1zmu4 .tabs__title_1zmu4 + .tabs__title_1zmu4 {
|
|
159
156
|
margin-left: var(--primary-tablist-l-gaps);
|
|
160
|
-
}.
|
|
157
|
+
}.tabs__xl_1zmu4 .tabs__title_1zmu4 {
|
|
161
158
|
padding: var(--primary-tablist-xl-padding);
|
|
162
159
|
font-size: var(--primary-tablist-xl-font-size);
|
|
163
160
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
164
161
|
font-family: var(--primary-tablist-xl-font-family);
|
|
165
162
|
line-height: 32px;
|
|
166
|
-
}.
|
|
163
|
+
}.tabs__xl_1zmu4 .tabs__title_1zmu4 + .tabs__title_1zmu4 {
|
|
167
164
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
168
|
-
}.
|
|
165
|
+
}.tabs__rightAddons_1zmu4 {
|
|
169
166
|
margin-left: var(--gap-xs);
|
|
170
167
|
}
|
|
171
168
|
:root {
|
|
@@ -680,7 +677,6 @@
|
|
|
680
677
|
--size-xl-height: 72px;
|
|
681
678
|
}
|
|
682
679
|
:root {
|
|
683
|
-
--tablist-hidden-scrollbar-height: 20px;
|
|
684
680
|
--primary-tablist-color: var(--color-light-text-secondary);
|
|
685
681
|
--primary-tablist-hover-color: var(--color-light-text-primary);
|
|
686
682
|
--primary-tablist-selected-color: var(--color-light-text-primary);
|
|
@@ -738,7 +734,7 @@
|
|
|
738
734
|
/* size xl */
|
|
739
735
|
--secondary-tablist-xl-gaps: var(--gap-s);
|
|
740
736
|
}
|
|
741
|
-
.
|
|
737
|
+
.tabs__title_1s7oj {
|
|
742
738
|
|
|
743
739
|
padding: var(--primary-tablist-mobile-padding);
|
|
744
740
|
font-size: var(--primary-tablist-mobile-font-size);
|
|
@@ -746,6 +742,6 @@
|
|
|
746
742
|
font-family: var(--primary-tablist-mobile-font-family);
|
|
747
743
|
line-height: 24px
|
|
748
744
|
}
|
|
749
|
-
.
|
|
745
|
+
.tabs__title_1s7oj + .tabs__title_1s7oj {
|
|
750
746
|
margin-left: var(--primary-tablist-mobile-gaps);
|
|
751
747
|
}
|
|
@@ -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 = {"
|
|
5
|
+
var styles = {"container":"tabs__container_110wk"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const ScrollableContainer = ({ containerClassName, children, activeChild, }) => {
|
|
@@ -20,8 +20,7 @@ const ScrollableContainer = ({ containerClassName, children, activeChild, }) =>
|
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
22
|
}, [activeChild]);
|
|
23
|
-
return
|
|
24
|
-
React.createElement("div", { className: cn(styles.container, containerClassName) }, children)));
|
|
23
|
+
return React.createElement("div", { className: cn(styles.container, containerClassName) }, children);
|
|
25
24
|
};
|
|
26
25
|
|
|
27
26
|
export { ScrollableContainer };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 6y7dd */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
10
|
:root {
|
|
11
|
-
--tablist-hidden-scrollbar-height: 20px;
|
|
12
11
|
|
|
13
12
|
/* mobile */
|
|
14
13
|
|
|
@@ -30,19 +29,14 @@
|
|
|
30
29
|
|
|
31
30
|
/* size xl */
|
|
32
31
|
}
|
|
33
|
-
.
|
|
34
|
-
overflow: hidden
|
|
35
|
-
}
|
|
36
|
-
.tabs__component_n79bl:after {
|
|
37
|
-
content: '';
|
|
38
|
-
display: block;
|
|
39
|
-
margin-bottom: calc(var(--tablist-hidden-scrollbar-height) * -1);
|
|
40
|
-
}
|
|
41
|
-
.tabs__container_n79bl {
|
|
32
|
+
.tabs__container_110wk {
|
|
42
33
|
position: relative;
|
|
43
34
|
display: flex;
|
|
44
35
|
align-items: center;
|
|
45
36
|
overflow-x: auto;
|
|
46
37
|
overflow-y: hidden;
|
|
47
|
-
|
|
38
|
+
scrollbar-width: none
|
|
48
39
|
}
|
|
40
|
+
.tabs__container_110wk::-webkit-scrollbar {
|
|
41
|
+
display: none;
|
|
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-f3a43121.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-f3a43121.js';
|
|
9
9
|
|
|
10
|
-
var mobileStyles = {"title":"
|
|
10
|
+
var mobileStyles = {"title":"tabs__title_zfkg5 tabs__title_135d1","mobile":"tabs__mobile_zfkg5"};
|
|
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-f3a43121.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: 1vzpv */
|
|
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_135d1 {
|
|
46
46
|
position: relative;
|
|
47
47
|
display: flex;
|
|
48
48
|
align-items: center;
|
|
49
49
|
}
|
|
50
|
-
.
|
|
50
|
+
.tabs__container_135d1 {
|
|
51
51
|
display: flex;
|
|
52
52
|
align-items: center;
|
|
53
53
|
}
|
|
54
|
-
.
|
|
54
|
+
.tabs__title_135d1 {
|
|
55
55
|
white-space: nowrap;
|
|
56
56
|
}
|
|
57
57
|
/* sizes */
|
|
58
|
-
.
|
|
58
|
+
.tabs__s_135d1 {
|
|
59
59
|
height: var(--size-s-height)
|
|
60
60
|
}
|
|
61
|
-
.
|
|
61
|
+
.tabs__s_135d1 .tabs__title_135d1 + .tabs__title_135d1 {
|
|
62
62
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
63
63
|
}
|
|
64
|
-
.
|
|
64
|
+
.tabs__m_135d1 {
|
|
65
65
|
height: var(--size-m-height)
|
|
66
66
|
}
|
|
67
|
-
.
|
|
67
|
+
.tabs__m_135d1 .tabs__title_135d1 + .tabs__title_135d1 {
|
|
68
68
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
.tabs__l_135d1 {
|
|
71
71
|
height: var(--size-l-height)
|
|
72
72
|
}
|
|
73
|
-
.
|
|
73
|
+
.tabs__l_135d1 .tabs__title_135d1 + .tabs__title_135d1 {
|
|
74
74
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.tabs__xl_135d1 {
|
|
77
77
|
height: var(--size-xl-height)
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
.tabs__xl_135d1 .tabs__title_135d1 + .tabs__title_135d1 {
|
|
80
80
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
81
81
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1glaw */
|
|
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_135d1 {
|
|
50
50
|
position: relative;
|
|
51
51
|
display: flex;
|
|
52
52
|
align-items: center;
|
|
53
|
-
}.
|
|
53
|
+
}.tabs__container_135d1 {
|
|
54
54
|
display: flex;
|
|
55
55
|
align-items: center;
|
|
56
|
-
}.
|
|
56
|
+
}.tabs__title_135d1 {
|
|
57
57
|
white-space: nowrap;
|
|
58
|
-
}/* sizes */.
|
|
58
|
+
}/* sizes */.tabs__s_135d1 {
|
|
59
59
|
height: var(--size-s-height)
|
|
60
|
-
}.
|
|
60
|
+
}.tabs__s_135d1 .tabs__title_135d1 + .tabs__title_135d1 {
|
|
61
61
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
62
|
-
}.
|
|
62
|
+
}.tabs__m_135d1 {
|
|
63
63
|
height: var(--size-m-height)
|
|
64
|
-
}.
|
|
64
|
+
}.tabs__m_135d1 .tabs__title_135d1 + .tabs__title_135d1 {
|
|
65
65
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
66
|
-
}.
|
|
66
|
+
}.tabs__l_135d1 {
|
|
67
67
|
height: var(--size-l-height)
|
|
68
|
-
}.
|
|
68
|
+
}.tabs__l_135d1 .tabs__title_135d1 + .tabs__title_135d1 {
|
|
69
69
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
70
|
-
}.
|
|
70
|
+
}.tabs__xl_135d1 {
|
|
71
71
|
height: var(--size-xl-height)
|
|
72
|
-
}.
|
|
72
|
+
}.tabs__xl_135d1 .tabs__title_135d1 + .tabs__title_135d1 {
|
|
73
73
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
74
74
|
}
|
|
75
75
|
:root {
|
|
@@ -584,7 +584,6 @@
|
|
|
584
584
|
--size-xl-height: 72px;
|
|
585
585
|
}
|
|
586
586
|
:root {
|
|
587
|
-
--tablist-hidden-scrollbar-height: 20px;
|
|
588
587
|
--primary-tablist-color: var(--color-light-text-secondary);
|
|
589
588
|
--primary-tablist-hover-color: var(--color-light-text-primary);
|
|
590
589
|
--primary-tablist-selected-color: var(--color-light-text-primary);
|
|
@@ -642,11 +641,11 @@
|
|
|
642
641
|
/* size xl */
|
|
643
642
|
--secondary-tablist-xl-gaps: var(--gap-s);
|
|
644
643
|
}
|
|
645
|
-
.
|
|
644
|
+
.tabs__title_zfkg5 {
|
|
646
645
|
}
|
|
647
|
-
.
|
|
646
|
+
.tabs__title_zfkg5 + .tabs__title_zfkg5 {
|
|
648
647
|
margin-left: var(--secondary-tablist-mobile-gaps);
|
|
649
648
|
}
|
|
650
|
-
.
|
|
649
|
+
.tabs__mobile_zfkg5 {
|
|
651
650
|
height: 48px;
|
|
652
651
|
}
|
|
@@ -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_11fwe","hidden":"tabs__hidden_11fwe"};
|
|
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-84f33b39.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-f3a43121.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-84f33b39.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-f3a43121.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-84f33b39.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-f3a43121.js';
|
|
13
13
|
import '../secondary-tablist/Component.desktop.js';
|
|
14
14
|
import { Tabs } from './Component.js';
|
|
15
15
|
import '@alfalab/hooks';
|
package/dist/modern/desktop.js
CHANGED
|
@@ -5,11 +5,11 @@ import 'compute-scroll-into-view';
|
|
|
5
5
|
export { ScrollableContainer } from './components/scrollable-container/Component.js';
|
|
6
6
|
export { useTabs } from './useTabs.js';
|
|
7
7
|
import './components/primary-tablist/Component.js';
|
|
8
|
-
import './index.module-
|
|
8
|
+
import './index.module-84f33b39.js';
|
|
9
9
|
export { PrimaryTabListDesktop } from './components/primary-tablist/Component.desktop.js';
|
|
10
10
|
import '@alfalab/core-components-tag/dist/modern';
|
|
11
11
|
import './components/secondary-tablist/Component.js';
|
|
12
|
-
import './index.module-
|
|
12
|
+
import './index.module-f3a43121.js';
|
|
13
13
|
export { SecondaryTabListDesktop } from './components/secondary-tablist/Component.desktop.js';
|
|
14
14
|
export { Tab } from './components/tab/Component.js';
|
|
15
15
|
import './components/tabs/Component.js';
|
package/dist/modern/index.js
CHANGED
|
@@ -5,11 +5,11 @@ import 'compute-scroll-into-view';
|
|
|
5
5
|
export { ScrollableContainer } from './components/scrollable-container/Component.js';
|
|
6
6
|
export { useTabs } from './useTabs.js';
|
|
7
7
|
import './components/primary-tablist/Component.js';
|
|
8
|
-
import './index.module-
|
|
8
|
+
import './index.module-84f33b39.js';
|
|
9
9
|
import './components/primary-tablist/Component.desktop.js';
|
|
10
10
|
import '@alfalab/core-components-tag/dist/modern';
|
|
11
11
|
import './components/secondary-tablist/Component.js';
|
|
12
|
-
import './index.module-
|
|
12
|
+
import './index.module-f3a43121.js';
|
|
13
13
|
import './components/secondary-tablist/Component.desktop.js';
|
|
14
14
|
export { Tab } from './components/tab/Component.js';
|
|
15
15
|
import './components/tabs/Component.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"tabs__component_1zmu4","container":"tabs__container_1zmu4","title":"tabs__title_1zmu4","disabled":"tabs__disabled_1zmu4","focused":"tabs__focused_1zmu4","selected":"tabs__selected_1zmu4","line":"tabs__line_1zmu4","s":"tabs__s_1zmu4","m":"tabs__m_1zmu4","l":"tabs__l_1zmu4","xl":"tabs__xl_1zmu4","rightAddons":"tabs__rightAddons_1zmu4"};
|
|
2
|
+
require('./components/primary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"tabs__component_135d1","container":"tabs__container_135d1","title":"tabs__title_135d1","s":"tabs__s_135d1","m":"tabs__m_135d1","l":"tabs__l_135d1","xl":"tabs__xl_135d1"};
|
|
2
|
+
require('./components/secondary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
package/dist/modern/mobile.js
CHANGED
|
@@ -5,10 +5,10 @@ import 'compute-scroll-into-view';
|
|
|
5
5
|
export { ScrollableContainer } from './components/scrollable-container/Component.js';
|
|
6
6
|
export { useTabs } from './useTabs.js';
|
|
7
7
|
import './components/primary-tablist/Component.js';
|
|
8
|
-
import './index.module-
|
|
8
|
+
import './index.module-84f33b39.js';
|
|
9
9
|
import '@alfalab/core-components-tag/dist/modern';
|
|
10
10
|
import './components/secondary-tablist/Component.js';
|
|
11
|
-
import './index.module-
|
|
11
|
+
import './index.module-f3a43121.js';
|
|
12
12
|
export { Tab } from './components/tab/Component.js';
|
|
13
13
|
import './components/tabs/Component.js';
|
|
14
14
|
export { PrimaryTabListMobile } from './components/primary-tablist/Component.mobile.js';
|
|
@@ -5,11 +5,11 @@ import 'compute-scroll-into-view';
|
|
|
5
5
|
export { ScrollableContainer } from './components/scrollable-container/Component.js';
|
|
6
6
|
export { useTabs } from './useTabs.js';
|
|
7
7
|
import './components/primary-tablist/Component.js';
|
|
8
|
-
import './index.module-
|
|
8
|
+
import './index.module-84f33b39.js';
|
|
9
9
|
import './components/primary-tablist/Component.desktop.js';
|
|
10
10
|
import '@alfalab/core-components-tag/dist/modern';
|
|
11
11
|
import './components/secondary-tablist/Component.js';
|
|
12
|
-
import './index.module-
|
|
12
|
+
import './index.module-f3a43121.js';
|
|
13
13
|
import './components/secondary-tablist/Component.desktop.js';
|
|
14
14
|
export { Tab } from './components/tab/Component.js';
|
|
15
15
|
import './components/tabs/Component.js';
|
package/dist/responsive.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-38a0729a.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-0b03a04a.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-85790000.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');
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-tabs",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.5",
|
|
4
4
|
"description": "Tabs components",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"react": "^16.9.0 || ^17.0.1",
|
|
30
30
|
"react-dom": "^16.9.0 || ^17.0.1"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "b2bd5ac8f18f81a4dfd390b31d8c0c5d3117e6f9"
|
|
33
33
|
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var commonStyles = {"component":"tabs__component_lmphp","container":"tabs__container_lmphp","title":"tabs__title_lmphp","s":"tabs__s_lmphp","m":"tabs__m_lmphp","l":"tabs__l_lmphp","xl":"tabs__xl_lmphp"};
|
|
2
|
-
require('./components/secondary-tablist/index.css')
|
|
3
|
-
|
|
4
|
-
export { commonStyles as c };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var commonStyles = {"component":"tabs__component_10yps","container":"tabs__container_10yps","title":"tabs__title_10yps","disabled":"tabs__disabled_10yps","focused":"tabs__focused_10yps","selected":"tabs__selected_10yps","line":"tabs__line_10yps","scrollable":"tabs__scrollable_10yps","s":"tabs__s_10yps","m":"tabs__m_10yps","l":"tabs__l_10yps","xl":"tabs__xl_10yps","rightAddons":"tabs__rightAddons_10yps"};
|
|
2
|
-
require('./components/primary-tablist/index.css')
|
|
3
|
-
|
|
4
|
-
export { commonStyles as c };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var commonStyles = {"component":"tabs__component_10yps","container":"tabs__container_10yps","title":"tabs__title_10yps","disabled":"tabs__disabled_10yps","focused":"tabs__focused_10yps","selected":"tabs__selected_10yps","line":"tabs__line_10yps","scrollable":"tabs__scrollable_10yps","s":"tabs__s_10yps","m":"tabs__m_10yps","l":"tabs__l_10yps","xl":"tabs__xl_10yps","rightAddons":"tabs__rightAddons_10yps"};
|
|
4
|
-
require('./components/primary-tablist/index.css')
|
|
5
|
-
|
|
6
|
-
exports.commonStyles = commonStyles;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var commonStyles = {"component":"tabs__component_lmphp","container":"tabs__container_lmphp","title":"tabs__title_lmphp","s":"tabs__s_lmphp","m":"tabs__m_lmphp","l":"tabs__l_lmphp","xl":"tabs__xl_lmphp"};
|
|
4
|
-
require('./components/secondary-tablist/index.css')
|
|
5
|
-
|
|
6
|
-
exports.commonStyles = commonStyles;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var commonStyles = {"component":"tabs__component_lmphp","container":"tabs__container_lmphp","title":"tabs__title_lmphp","s":"tabs__s_lmphp","m":"tabs__m_lmphp","l":"tabs__l_lmphp","xl":"tabs__xl_lmphp"};
|
|
2
|
-
require('./components/secondary-tablist/index.css')
|
|
3
|
-
|
|
4
|
-
export { commonStyles as c };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var commonStyles = {"component":"tabs__component_10yps","container":"tabs__container_10yps","title":"tabs__title_10yps","disabled":"tabs__disabled_10yps","focused":"tabs__focused_10yps","selected":"tabs__selected_10yps","line":"tabs__line_10yps","scrollable":"tabs__scrollable_10yps","s":"tabs__s_10yps","m":"tabs__m_10yps","l":"tabs__l_10yps","xl":"tabs__xl_10yps","rightAddons":"tabs__rightAddons_10yps"};
|
|
2
|
-
require('./components/primary-tablist/index.css')
|
|
3
|
-
|
|
4
|
-
export { commonStyles as c };
|