@alfalab/core-components-tabs 8.8.2 → 8.8.4
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/components/primary-tablist/Component.collapsible.js +1 -1
- package/components/primary-tablist/Component.desktop.js +1 -1
- package/components/primary-tablist/Component.mobile.js +2 -2
- package/components/primary-tablist/index.css +132 -132
- package/components/primary-tablist/mobile.css +220 -220
- package/components/scroll-controls/Component.js +2 -1
- package/components/scroll-controls/index.css +12 -12
- package/components/scrollable-container/Component.js +1 -1
- package/components/scrollable-container/index.css +6 -6
- package/components/secondary-tablist/Component.desktop.js +1 -1
- package/components/secondary-tablist/Component.mobile.js +2 -2
- package/components/secondary-tablist/index.css +11 -11
- package/components/secondary-tablist/mobile.css +13 -13
- package/components/tab/Component.js +1 -1
- package/components/tab/index.css +3 -3
- package/cssm/components/scroll-controls/Component.js +1 -0
- package/esm/components/primary-tablist/Component.collapsible.js +1 -1
- package/esm/components/primary-tablist/Component.desktop.js +1 -1
- package/esm/components/primary-tablist/Component.mobile.js +2 -2
- package/esm/components/primary-tablist/index.css +132 -132
- package/esm/components/primary-tablist/mobile.css +220 -220
- package/esm/components/scroll-controls/Component.js +2 -1
- package/esm/components/scroll-controls/index.css +12 -12
- package/esm/components/scrollable-container/Component.js +1 -1
- package/esm/components/scrollable-container/index.css +6 -6
- package/esm/components/secondary-tablist/Component.desktop.js +1 -1
- package/esm/components/secondary-tablist/Component.mobile.js +2 -2
- package/esm/components/secondary-tablist/index.css +11 -11
- package/esm/components/secondary-tablist/mobile.css +13 -13
- package/esm/components/tab/Component.js +1 -1
- package/esm/components/tab/index.css +3 -3
- package/esm/index.module-9a47e43a.js +4 -0
- package/esm/index.module-a317c204.js +4 -0
- package/index.module-7b6d2d6f.js +6 -0
- package/index.module-ef72aae7.js +6 -0
- package/modern/components/primary-tablist/Component.collapsible.js +1 -1
- 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/index.css +132 -132
- package/modern/components/primary-tablist/mobile.css +220 -220
- package/modern/components/scroll-controls/Component.js +2 -1
- package/modern/components/scroll-controls/index.css +12 -12
- package/modern/components/scrollable-container/Component.js +1 -1
- package/modern/components/scrollable-container/index.css +6 -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/index.css +11 -11
- package/modern/components/secondary-tablist/mobile.css +13 -13
- package/modern/components/tab/Component.js +1 -1
- package/modern/components/tab/index.css +3 -3
- package/modern/index.module-266cdbfe.js +4 -0
- package/modern/index.module-46792af7.js +4 -0
- package/package.json +4 -4
- package/src/components/scroll-controls/Component.tsx +2 -0
- package/esm/index.module-0479b8df.js +0 -4
- package/esm/index.module-8bfeca4d.js +0 -4
- package/index.module-9020d7b5.js +0 -6
- package/index.module-e9bc9a5f.js +0 -6
- package/modern/index.module-087edae9.js +0 -4
- package/modern/index.module-f6f9b889.js +0 -4
|
@@ -6,7 +6,7 @@ import { ChevronLeftCompactSIcon } from '@alfalab/icons-glyph/ChevronLeftCompact
|
|
|
6
6
|
import { ChevronRightCompactSIcon } from '@alfalab/icons-glyph/ChevronRightCompactSIcon';
|
|
7
7
|
import { getDisabledState, scrollIntoFirstTab, scrollIntoLastTab } from './utils.js';
|
|
8
8
|
|
|
9
|
-
const styles = {"component":"
|
|
9
|
+
const styles = {"component":"tabs__component_lhofs","primary":"tabs__primary_lhofs","button":"tabs__button_lhofs","xl":"tabs__xl_lhofs","secondary":"tabs__secondary_lhofs","xs":"tabs__xs_lhofs","borderVisible":"tabs__borderVisible_lhofs"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
const ScrollControls = forwardRef(({ containerRef, view, size: sizeProp, className }, ref) => {
|
|
@@ -36,5 +36,6 @@ const ScrollControls = forwardRef(({ containerRef, view, size: sizeProp, classNa
|
|
|
36
36
|
React.createElement(IconButton, { ...commonButtonProps, icon: ChevronLeftCompactSIcon, disabled: disabledState.toLeft, onClick: handleScrollLeft }),
|
|
37
37
|
React.createElement(IconButton, { ...commonButtonProps, icon: ChevronRightCompactSIcon, disabled: disabledState.toRight, onClick: handleScrollRight })));
|
|
38
38
|
});
|
|
39
|
+
ScrollControls.displayName = 'ScrollControls';
|
|
39
40
|
|
|
40
41
|
export { ScrollControls };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: bn6s3 */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-translucent-300: rgba(15, 25, 55, 0.1);
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
/* size l */
|
|
45
45
|
|
|
46
46
|
/* size xl */
|
|
47
|
-
} .
|
|
47
|
+
} .tabs__component_lhofs {
|
|
48
48
|
position: relative;
|
|
49
49
|
display: flex;
|
|
50
50
|
flex-shrink: 0;
|
|
51
|
-
} .
|
|
51
|
+
} .tabs__primary_lhofs {
|
|
52
52
|
align-items: flex-start;
|
|
53
53
|
justify-content: flex-end
|
|
54
|
-
} .
|
|
54
|
+
} .tabs__primary_lhofs:after {
|
|
55
55
|
content: '';
|
|
56
56
|
display: block;
|
|
57
57
|
position: absolute;
|
|
@@ -59,18 +59,18 @@
|
|
|
59
59
|
height: 1px;
|
|
60
60
|
width: 100%;
|
|
61
61
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
62
|
-
} .
|
|
62
|
+
} .tabs__primary_lhofs {
|
|
63
63
|
|
|
64
|
-
.
|
|
64
|
+
.tabs__button_lhofs:first-child {
|
|
65
65
|
padding-left: var(--gap-xs);
|
|
66
66
|
margin-right: var(--gap-xs);
|
|
67
67
|
}
|
|
68
|
-
} .
|
|
68
|
+
} .tabs__primary_lhofs.tabs__xl_lhofs .tabs__button_lhofs:first-child {
|
|
69
69
|
margin-right: var(--gap-2xs);
|
|
70
|
-
} .
|
|
70
|
+
} .tabs__secondary_lhofs {
|
|
71
71
|
align-items: center;
|
|
72
72
|
justify-content: center
|
|
73
|
-
} .
|
|
73
|
+
} .tabs__secondary_lhofs:before {
|
|
74
74
|
content: '';
|
|
75
75
|
display: block;
|
|
76
76
|
position: absolute;
|
|
@@ -80,12 +80,12 @@
|
|
|
80
80
|
background-color: transparent;
|
|
81
81
|
transition: background-color 0.3s ease;
|
|
82
82
|
bottom: 0;
|
|
83
|
-
} .
|
|
83
|
+
} .tabs__secondary_lhofs.tabs__xs_lhofs {
|
|
84
84
|
width: 76px;
|
|
85
85
|
|
|
86
|
-
.
|
|
86
|
+
.tabs__button_lhofs:first-child {
|
|
87
87
|
margin-right: var(--gap-2xs);
|
|
88
88
|
}
|
|
89
|
-
} .
|
|
89
|
+
} .tabs__borderVisible_lhofs:before {
|
|
90
90
|
background-color: var(--color-light-neutral-translucent-300);
|
|
91
91
|
}
|
|
@@ -3,7 +3,7 @@ import cn from 'classnames';
|
|
|
3
3
|
import { compute } from 'compute-scroll-into-view';
|
|
4
4
|
import { ScrollControls } from '../scroll-controls/Component.js';
|
|
5
5
|
|
|
6
|
-
const styles = {"scrollableContainerWrapper":"
|
|
6
|
+
const styles = {"scrollableContainerWrapper":"tabs__scrollableContainerWrapper_3e0gq","container":"tabs__container_3e0gq","fullWidthScroll":"tabs__fullWidthScroll_3e0gq"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1x6x3 */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
/* size l */
|
|
43
43
|
|
|
44
44
|
/* size xl */
|
|
45
|
-
} .
|
|
45
|
+
} .tabs__scrollableContainerWrapper_3e0gq {
|
|
46
46
|
display: flex;
|
|
47
|
-
} .
|
|
47
|
+
} .tabs__container_3e0gq {
|
|
48
48
|
position: relative;
|
|
49
49
|
overflow-x: auto;
|
|
50
50
|
overflow-y: hidden;
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
/* focus-outline fix */
|
|
56
56
|
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
57
57
|
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs)
|
|
58
|
-
} .
|
|
58
|
+
} .tabs__container_3e0gq::-webkit-scrollbar {
|
|
59
59
|
display: none;
|
|
60
|
-
} .
|
|
60
|
+
} .tabs__container_3e0gq > * {
|
|
61
61
|
flex-shrink: 0;
|
|
62
|
-
} .
|
|
62
|
+
} .tabs__fullWidthScroll_3e0gq {
|
|
63
63
|
padding-left: 0;
|
|
64
64
|
margin: var(--gap-2xs-neg) var(--gap-m-neg);
|
|
65
65
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TagDesktop } from '@alfalab/core-components-tag/modern/desktop';
|
|
3
3
|
import { SecondaryTabList } from './Component.js';
|
|
4
|
-
import { c as commonStyles } from '../../index.module-
|
|
4
|
+
import { c as commonStyles } from '../../index.module-46792af7.js';
|
|
5
5
|
|
|
6
6
|
const SecondaryTabListDesktop = ({ size = 's', ...restProps }) => (React.createElement(SecondaryTabList, { ...restProps, TagComponent: TagDesktop, size: size, styles: commonStyles, tagSize: size, platform: 'desktop' }));
|
|
7
7
|
|
|
@@ -2,9 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { TagMobile } from '@alfalab/core-components-tag/modern/mobile';
|
|
4
4
|
import { SecondaryTabList } from './Component.js';
|
|
5
|
-
import { c as commonStyles } from '../../index.module-
|
|
5
|
+
import { c as commonStyles } from '../../index.module-46792af7.js';
|
|
6
6
|
|
|
7
|
-
const mobileStyles = {"title":"
|
|
7
|
+
const mobileStyles = {"title":"tabs__title_1x4c3 tabs__title_etl3l","mobile":"tabs__mobile_1x4c3"};
|
|
8
8
|
require('./mobile.css')
|
|
9
9
|
|
|
10
10
|
const styles = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1p3zl */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -50,29 +50,29 @@
|
|
|
50
50
|
|
|
51
51
|
/* size xl */
|
|
52
52
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
53
|
-
} .
|
|
53
|
+
} .tabs__component_etl3l {
|
|
54
54
|
position: relative;
|
|
55
55
|
display: inline-flex;
|
|
56
|
-
} .
|
|
56
|
+
} .tabs__fullWidthScroll_etl3l {
|
|
57
57
|
margin: 0 var(--gap-m);
|
|
58
|
-
} .
|
|
58
|
+
} .tabs__container_etl3l {
|
|
59
59
|
overflow: hidden;
|
|
60
60
|
|
|
61
61
|
/* focus-outline fix */
|
|
62
62
|
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
63
63
|
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
|
|
64
|
-
} .
|
|
64
|
+
} .tabs__title_etl3l {
|
|
65
65
|
white-space: nowrap;
|
|
66
|
-
} /* sizes */ .
|
|
66
|
+
} /* sizes */ .tabs__xxs_etl3l .tabs__title_etl3l + .tabs__title_etl3l {
|
|
67
67
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
68
|
-
} .
|
|
68
|
+
} .tabs__xs_etl3l .tabs__title_etl3l + .tabs__title_etl3l {
|
|
69
69
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
70
|
-
} .
|
|
70
|
+
} .tabs__s_etl3l .tabs__title_etl3l + .tabs__title_etl3l {
|
|
71
71
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
72
|
-
} .
|
|
72
|
+
} .tabs__m_etl3l .tabs__title_etl3l + .tabs__title_etl3l {
|
|
73
73
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
74
|
-
} .
|
|
74
|
+
} .tabs__l_etl3l .tabs__title_etl3l + .tabs__title_etl3l {
|
|
75
75
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
76
|
-
} .
|
|
76
|
+
} .tabs__xl_etl3l .tabs__title_etl3l + .tabs__title_etl3l {
|
|
77
77
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
78
78
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1vjn8 */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
}/* deprecated */:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
}:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -51,30 +51,30 @@
|
|
|
51
51
|
|
|
52
52
|
/* size xl */
|
|
53
53
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
54
|
-
}.
|
|
54
|
+
}.tabs__component_etl3l {
|
|
55
55
|
position: relative;
|
|
56
56
|
display: inline-flex;
|
|
57
|
-
}.
|
|
57
|
+
}.tabs__fullWidthScroll_etl3l {
|
|
58
58
|
margin: 0 var(--gap-m);
|
|
59
|
-
}.
|
|
59
|
+
}.tabs__container_etl3l {
|
|
60
60
|
overflow: hidden;
|
|
61
61
|
|
|
62
62
|
/* focus-outline fix */
|
|
63
63
|
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
64
64
|
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
|
|
65
|
-
}.
|
|
65
|
+
}.tabs__title_etl3l {
|
|
66
66
|
white-space: nowrap;
|
|
67
|
-
}/* sizes */.
|
|
67
|
+
}/* sizes */.tabs__xxs_etl3l .tabs__title_etl3l + .tabs__title_etl3l {
|
|
68
68
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
69
|
-
}.
|
|
69
|
+
}.tabs__xs_etl3l .tabs__title_etl3l + .tabs__title_etl3l {
|
|
70
70
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
71
|
-
}.
|
|
71
|
+
}.tabs__s_etl3l .tabs__title_etl3l + .tabs__title_etl3l {
|
|
72
72
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
73
|
-
}.
|
|
73
|
+
}.tabs__m_etl3l .tabs__title_etl3l + .tabs__title_etl3l {
|
|
74
74
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
75
|
-
}.
|
|
75
|
+
}.tabs__l_etl3l .tabs__title_etl3l + .tabs__title_etl3l {
|
|
76
76
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
77
|
-
}.
|
|
77
|
+
}.tabs__xl_etl3l .tabs__title_etl3l + .tabs__title_etl3l {
|
|
78
78
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
79
79
|
} :root {
|
|
80
80
|
--color-dark-indigo: #0b1f35; /* deprecated */
|
|
@@ -1663,7 +1663,7 @@
|
|
|
1663
1663
|
|
|
1664
1664
|
/* size xl */
|
|
1665
1665
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
1666
|
-
} .
|
|
1667
|
-
} .
|
|
1666
|
+
} .tabs__title_1x4c3 {
|
|
1667
|
+
} .tabs__mobile_1x4c3 .tabs__title_1x4c3 + .tabs__title_1x4c3 {
|
|
1668
1668
|
margin-left: var(--secondary-tablist-mobile-gaps);
|
|
1669
1669
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
const styles = {"component":"
|
|
4
|
+
const styles = {"component":"tabs__component_1ilye","hidden":"tabs__hidden_1ilye"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
const Tab = ({ children, hidden, className, disabled, dataTestId }) => children ? (React.createElement("div", { className: cn(styles.component, {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const styles = {"component":"tabs__component_n4pcl","desktop":"tabs__desktop_n4pcl","paragraph-primary-large":"tabs__paragraph-primary-large_n4pcl","title":"tabs__title_n4pcl","paragraph-primary-medium":"tabs__paragraph-primary-medium_n4pcl","paragraph-primary-small":"tabs__paragraph-primary-small_n4pcl","action-primary-large":"tabs__action-primary-large_n4pcl","action-primary-medium":"tabs__action-primary-medium_n4pcl","action-primary-small":"tabs__action-primary-small_n4pcl","accent-primary-large":"tabs__accent-primary-large_n4pcl","accent-primary-medium":"tabs__accent-primary-medium_n4pcl","accent-primary-small":"tabs__accent-primary-small_n4pcl","pickerWrapper":"tabs__pickerWrapper_n4pcl","option":"tabs__option_n4pcl","scrollControls":"tabs__scrollControls_n4pcl","headline-system-xlarge":"tabs__headline-system-xlarge_n4pcl","headline-system-large":"tabs__headline-system-large_n4pcl","headline-system-medium":"tabs__headline-system-medium_n4pcl","headline-system-small":"tabs__headline-system-small_n4pcl","headline-system-xsmall":"tabs__headline-system-xsmall_n4pcl","headline-xlarge":"tabs__headline-xlarge_n4pcl","headline-large":"tabs__headline-large_n4pcl","headline-medium":"tabs__headline-medium_n4pcl","headline-small":"tabs__headline-small_n4pcl","headline-xsmall":"tabs__headline-xsmall_n4pcl","fullWidthScroll":"tabs__fullWidthScroll_n4pcl","container":"tabs__container_n4pcl","disabled":"tabs__disabled_n4pcl","focused":"tabs__focused_n4pcl","collapsed":"tabs__collapsed_n4pcl","selected":"tabs__selected_n4pcl","line":"tabs__line_n4pcl","s":"tabs__s_n4pcl","xs":"tabs__xs_n4pcl","xxs":"tabs__xxs_n4pcl","m":"tabs__m_n4pcl","l":"tabs__l_n4pcl","xl":"tabs__xl_n4pcl","rightAddons":"tabs__rightAddons_n4pcl","rightAddonsMarginZero":"tabs__rightAddonsMarginZero_n4pcl"};
|
|
2
|
+
require('./components/primary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { styles as s };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const commonStyles = {"component":"tabs__component_etl3l","fullWidthScroll":"tabs__fullWidthScroll_etl3l","container":"tabs__container_etl3l","title":"tabs__title_etl3l","xxs":"tabs__xxs_etl3l","xs":"tabs__xs_etl3l","s":"tabs__s_etl3l","m":"tabs__m_etl3l","l":"tabs__l_etl3l","xl":"tabs__xl_etl3l"};
|
|
2
|
+
require('./components/secondary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-tabs",
|
|
3
|
-
"version": "8.8.
|
|
3
|
+
"version": "8.8.4",
|
|
4
4
|
"description": "Tabs components",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@alfalab/core-components-keyboard-focusable": "^4.1.0",
|
|
18
|
-
"@alfalab/core-components-tag": "^8.2.
|
|
19
|
-
"@alfalab/core-components-picker-button": "^11.7.
|
|
18
|
+
"@alfalab/core-components-tag": "^8.2.1",
|
|
19
|
+
"@alfalab/core-components-picker-button": "^11.7.4",
|
|
20
20
|
"@alfalab/core-components-badge": "^5.5.2",
|
|
21
21
|
"@alfalab/core-components-mq": "^4.2.0",
|
|
22
22
|
"@alfalab/hooks": "^1.13.0",
|
|
23
23
|
"@alfalab/core-components-shared": "^0.10.0",
|
|
24
|
-
"@alfalab/core-components-icon-button": "^6.6.
|
|
24
|
+
"@alfalab/core-components-icon-button": "^6.6.1",
|
|
25
25
|
"@alfalab/icons-glyph": "^2.139.0",
|
|
26
26
|
"classnames": "^2.3.1",
|
|
27
27
|
"compute-scroll-into-view": "^3.1.0",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var styles = {"component":"tabs__component_q9sbb","desktop":"tabs__desktop_q9sbb","paragraph-primary-large":"tabs__paragraph-primary-large_q9sbb","title":"tabs__title_q9sbb","paragraph-primary-medium":"tabs__paragraph-primary-medium_q9sbb","paragraph-primary-small":"tabs__paragraph-primary-small_q9sbb","action-primary-large":"tabs__action-primary-large_q9sbb","action-primary-medium":"tabs__action-primary-medium_q9sbb","action-primary-small":"tabs__action-primary-small_q9sbb","accent-primary-large":"tabs__accent-primary-large_q9sbb","accent-primary-medium":"tabs__accent-primary-medium_q9sbb","accent-primary-small":"tabs__accent-primary-small_q9sbb","pickerWrapper":"tabs__pickerWrapper_q9sbb","option":"tabs__option_q9sbb","scrollControls":"tabs__scrollControls_q9sbb","headline-system-xlarge":"tabs__headline-system-xlarge_q9sbb","headline-system-large":"tabs__headline-system-large_q9sbb","headline-system-medium":"tabs__headline-system-medium_q9sbb","headline-system-small":"tabs__headline-system-small_q9sbb","headline-system-xsmall":"tabs__headline-system-xsmall_q9sbb","headline-xlarge":"tabs__headline-xlarge_q9sbb","headline-large":"tabs__headline-large_q9sbb","headline-medium":"tabs__headline-medium_q9sbb","headline-small":"tabs__headline-small_q9sbb","headline-xsmall":"tabs__headline-xsmall_q9sbb","fullWidthScroll":"tabs__fullWidthScroll_q9sbb","container":"tabs__container_q9sbb","disabled":"tabs__disabled_q9sbb","focused":"tabs__focused_q9sbb","collapsed":"tabs__collapsed_q9sbb","selected":"tabs__selected_q9sbb","line":"tabs__line_q9sbb","s":"tabs__s_q9sbb","xs":"tabs__xs_q9sbb","xxs":"tabs__xxs_q9sbb","m":"tabs__m_q9sbb","l":"tabs__l_q9sbb","xl":"tabs__xl_q9sbb","rightAddons":"tabs__rightAddons_q9sbb","rightAddonsMarginZero":"tabs__rightAddonsMarginZero_q9sbb"};
|
|
2
|
-
require('./components/primary-tablist/index.css')
|
|
3
|
-
|
|
4
|
-
export { styles as s };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var commonStyles = {"component":"tabs__component_1hxm9","fullWidthScroll":"tabs__fullWidthScroll_1hxm9","container":"tabs__container_1hxm9","title":"tabs__title_1hxm9","xxs":"tabs__xxs_1hxm9","xs":"tabs__xs_1hxm9","s":"tabs__s_1hxm9","m":"tabs__m_1hxm9","l":"tabs__l_1hxm9","xl":"tabs__xl_1hxm9"};
|
|
2
|
-
require('./components/secondary-tablist/index.css')
|
|
3
|
-
|
|
4
|
-
export { commonStyles as c };
|
package/index.module-9020d7b5.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var styles = {"component":"tabs__component_q9sbb","desktop":"tabs__desktop_q9sbb","paragraph-primary-large":"tabs__paragraph-primary-large_q9sbb","title":"tabs__title_q9sbb","paragraph-primary-medium":"tabs__paragraph-primary-medium_q9sbb","paragraph-primary-small":"tabs__paragraph-primary-small_q9sbb","action-primary-large":"tabs__action-primary-large_q9sbb","action-primary-medium":"tabs__action-primary-medium_q9sbb","action-primary-small":"tabs__action-primary-small_q9sbb","accent-primary-large":"tabs__accent-primary-large_q9sbb","accent-primary-medium":"tabs__accent-primary-medium_q9sbb","accent-primary-small":"tabs__accent-primary-small_q9sbb","pickerWrapper":"tabs__pickerWrapper_q9sbb","option":"tabs__option_q9sbb","scrollControls":"tabs__scrollControls_q9sbb","headline-system-xlarge":"tabs__headline-system-xlarge_q9sbb","headline-system-large":"tabs__headline-system-large_q9sbb","headline-system-medium":"tabs__headline-system-medium_q9sbb","headline-system-small":"tabs__headline-system-small_q9sbb","headline-system-xsmall":"tabs__headline-system-xsmall_q9sbb","headline-xlarge":"tabs__headline-xlarge_q9sbb","headline-large":"tabs__headline-large_q9sbb","headline-medium":"tabs__headline-medium_q9sbb","headline-small":"tabs__headline-small_q9sbb","headline-xsmall":"tabs__headline-xsmall_q9sbb","fullWidthScroll":"tabs__fullWidthScroll_q9sbb","container":"tabs__container_q9sbb","disabled":"tabs__disabled_q9sbb","focused":"tabs__focused_q9sbb","collapsed":"tabs__collapsed_q9sbb","selected":"tabs__selected_q9sbb","line":"tabs__line_q9sbb","s":"tabs__s_q9sbb","xs":"tabs__xs_q9sbb","xxs":"tabs__xxs_q9sbb","m":"tabs__m_q9sbb","l":"tabs__l_q9sbb","xl":"tabs__xl_q9sbb","rightAddons":"tabs__rightAddons_q9sbb","rightAddonsMarginZero":"tabs__rightAddonsMarginZero_q9sbb"};
|
|
4
|
-
require('./components/primary-tablist/index.css')
|
|
5
|
-
|
|
6
|
-
exports.styles = styles;
|
package/index.module-e9bc9a5f.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var commonStyles = {"component":"tabs__component_1hxm9","fullWidthScroll":"tabs__fullWidthScroll_1hxm9","container":"tabs__container_1hxm9","title":"tabs__title_1hxm9","xxs":"tabs__xxs_1hxm9","xs":"tabs__xs_1hxm9","s":"tabs__s_1hxm9","m":"tabs__m_1hxm9","l":"tabs__l_1hxm9","xl":"tabs__xl_1hxm9"};
|
|
4
|
-
require('./components/secondary-tablist/index.css')
|
|
5
|
-
|
|
6
|
-
exports.commonStyles = commonStyles;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const commonStyles = {"component":"tabs__component_1hxm9","fullWidthScroll":"tabs__fullWidthScroll_1hxm9","container":"tabs__container_1hxm9","title":"tabs__title_1hxm9","xxs":"tabs__xxs_1hxm9","xs":"tabs__xs_1hxm9","s":"tabs__s_1hxm9","m":"tabs__m_1hxm9","l":"tabs__l_1hxm9","xl":"tabs__xl_1hxm9"};
|
|
2
|
-
require('./components/secondary-tablist/index.css')
|
|
3
|
-
|
|
4
|
-
export { commonStyles as c };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const styles = {"component":"tabs__component_q9sbb","desktop":"tabs__desktop_q9sbb","paragraph-primary-large":"tabs__paragraph-primary-large_q9sbb","title":"tabs__title_q9sbb","paragraph-primary-medium":"tabs__paragraph-primary-medium_q9sbb","paragraph-primary-small":"tabs__paragraph-primary-small_q9sbb","action-primary-large":"tabs__action-primary-large_q9sbb","action-primary-medium":"tabs__action-primary-medium_q9sbb","action-primary-small":"tabs__action-primary-small_q9sbb","accent-primary-large":"tabs__accent-primary-large_q9sbb","accent-primary-medium":"tabs__accent-primary-medium_q9sbb","accent-primary-small":"tabs__accent-primary-small_q9sbb","pickerWrapper":"tabs__pickerWrapper_q9sbb","option":"tabs__option_q9sbb","scrollControls":"tabs__scrollControls_q9sbb","headline-system-xlarge":"tabs__headline-system-xlarge_q9sbb","headline-system-large":"tabs__headline-system-large_q9sbb","headline-system-medium":"tabs__headline-system-medium_q9sbb","headline-system-small":"tabs__headline-system-small_q9sbb","headline-system-xsmall":"tabs__headline-system-xsmall_q9sbb","headline-xlarge":"tabs__headline-xlarge_q9sbb","headline-large":"tabs__headline-large_q9sbb","headline-medium":"tabs__headline-medium_q9sbb","headline-small":"tabs__headline-small_q9sbb","headline-xsmall":"tabs__headline-xsmall_q9sbb","fullWidthScroll":"tabs__fullWidthScroll_q9sbb","container":"tabs__container_q9sbb","disabled":"tabs__disabled_q9sbb","focused":"tabs__focused_q9sbb","collapsed":"tabs__collapsed_q9sbb","selected":"tabs__selected_q9sbb","line":"tabs__line_q9sbb","s":"tabs__s_q9sbb","xs":"tabs__xs_q9sbb","xxs":"tabs__xxs_q9sbb","m":"tabs__m_q9sbb","l":"tabs__l_q9sbb","xl":"tabs__xl_q9sbb","rightAddons":"tabs__rightAddons_q9sbb","rightAddonsMarginZero":"tabs__rightAddonsMarginZero_q9sbb"};
|
|
2
|
-
require('./components/primary-tablist/index.css')
|
|
3
|
-
|
|
4
|
-
export { styles as s };
|