@alfalab/core-components-tabs 7.3.13 → 7.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Component-3e68f8db.d.ts +2 -2
- package/{cssm/Component-a8deae7f.d.ts → Component-f9462675.d.ts} +1 -1
- package/{esm/Component.responsive-3677ec46.d.ts → Component.responsive-abcc39aa.d.ts} +3 -3
- package/components/primary-tablist/Component.desktop.js +3 -1
- package/components/primary-tablist/Component.js +2 -0
- package/components/primary-tablist/Component.mobile.js +4 -2
- package/components/primary-tablist/Component.responsive.js +3 -1
- package/components/primary-tablist/index.css +34 -34
- package/components/primary-tablist/mobile.css +374 -369
- package/components/scrollable-container/Component.js +3 -1
- package/components/scrollable-container/index.css +5 -5
- package/components/scrollable-container/index.js +2 -0
- package/components/secondary-tablist/Component.desktop.js +3 -1
- package/components/secondary-tablist/Component.js +2 -0
- package/components/secondary-tablist/Component.mobile.js +4 -2
- package/components/secondary-tablist/Component.responsive.js +3 -1
- package/components/secondary-tablist/index.css +11 -11
- package/components/secondary-tablist/mobile.css +350 -345
- package/components/tab/Component.js +3 -1
- package/components/tab/index.css +3 -3
- package/components/tab/index.js +2 -0
- package/components/tabs/Component.desktop.js +4 -2
- package/components/tabs/Component.js +2 -0
- package/components/tabs/Component.mobile.js +4 -2
- package/components/tabs/Component.responsive.js +4 -2
- package/components/title/Component.js +2 -0
- package/components/title/index.js +2 -0
- package/cssm/Component-3e68f8db.d.ts +2 -2
- package/{Component-a8deae7f.d.ts → cssm/Component-f9462675.d.ts} +1 -1
- package/cssm/{Component.responsive-3677ec46.d.ts → Component.responsive-abcc39aa.d.ts} +3 -3
- package/cssm/components/primary-tablist/Component.desktop.js +2 -0
- package/cssm/components/primary-tablist/Component.js +2 -0
- package/cssm/components/primary-tablist/Component.mobile.js +2 -0
- package/cssm/components/primary-tablist/Component.responsive.js +2 -0
- package/cssm/components/primary-tablist/index.module.css +5 -5
- package/cssm/components/scrollable-container/Component.js +2 -0
- package/cssm/components/scrollable-container/index.js +2 -0
- package/cssm/components/secondary-tablist/Component.desktop.js +2 -0
- package/cssm/components/secondary-tablist/Component.js +2 -0
- package/cssm/components/secondary-tablist/Component.mobile.js +2 -0
- package/cssm/components/secondary-tablist/Component.responsive.js +2 -0
- package/cssm/components/tab/Component.js +2 -0
- package/cssm/components/tab/index.js +2 -0
- package/cssm/components/tabs/Component.desktop.js +2 -0
- package/cssm/components/tabs/Component.js +2 -0
- package/cssm/components/tabs/Component.mobile.js +2 -0
- package/cssm/components/tabs/Component.responsive.js +2 -0
- package/cssm/components/title/Component.js +2 -0
- package/cssm/components/title/index.js +2 -0
- package/cssm/desktop.js +2 -0
- package/cssm/hooks/use-collapsible-elements.js +2 -0
- package/cssm/hooks/use-tablist-titles.js +2 -0
- package/cssm/hooks/use-tabs.js +2 -0
- package/cssm/index-3e68f8db.d.ts +3 -3
- package/cssm/index-48646db0.d.ts +1 -1
- package/cssm/{index-3677ec46.d.ts → index-abcc39aa.d.ts} +2 -2
- package/cssm/index-ebda875c.d.ts +1 -1
- package/cssm/index.js +4 -2
- package/cssm/mobile.js +4 -2
- package/cssm/responsive.js +5 -3
- package/cssm/synthetic-events.js +2 -0
- package/cssm/{typings-a8deae7f.d.ts → typings-f9462675.d.ts} +1 -1
- package/{esm/utils-a8deae7f.d.ts → cssm/utils-f9462675.d.ts} +1 -1
- package/desktop.js +4 -2
- package/esm/Component-3e68f8db.d.ts +2 -2
- package/esm/{Component-a8deae7f.d.ts → Component-f9462675.d.ts} +1 -1
- package/{Component.responsive-3677ec46.d.ts → esm/Component.responsive-abcc39aa.d.ts} +3 -3
- 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/Component.responsive.js +1 -1
- package/esm/components/primary-tablist/index.css +34 -34
- package/esm/components/primary-tablist/mobile.css +374 -369
- package/esm/components/scrollable-container/Component.js +1 -1
- package/esm/components/scrollable-container/index.css +5 -5
- 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/Component.responsive.js +1 -1
- package/esm/components/secondary-tablist/index.css +11 -11
- package/esm/components/secondary-tablist/mobile.css +350 -345
- package/esm/components/tab/Component.js +1 -1
- package/esm/components/tab/index.css +3 -3
- package/esm/components/tabs/Component.desktop.js +2 -2
- package/esm/components/tabs/Component.mobile.js +2 -2
- package/esm/components/tabs/Component.responsive.js +2 -2
- package/esm/desktop.js +2 -2
- package/esm/index-3e68f8db.d.ts +3 -3
- package/esm/index-48646db0.d.ts +1 -1
- package/esm/{index-3677ec46.d.ts → index-abcc39aa.d.ts} +2 -2
- package/esm/index-ebda875c.d.ts +1 -1
- package/esm/index.js +3 -3
- package/esm/index.module-39c2e145.js +4 -0
- package/esm/index.module-42191a44.js +4 -0
- package/esm/mobile.js +2 -2
- package/esm/responsive.js +4 -4
- package/esm/{typings-a8deae7f.d.ts → typings-f9462675.d.ts} +1 -1
- package/{cssm/utils-a8deae7f.d.ts → esm/utils-f9462675.d.ts} +1 -1
- package/hooks/use-collapsible-elements.js +2 -0
- package/hooks/use-tablist-titles.js +2 -0
- package/hooks/use-tabs.js +2 -0
- package/index-3e68f8db.d.ts +3 -3
- package/index-48646db0.d.ts +1 -1
- package/{index-3677ec46.d.ts → index-abcc39aa.d.ts} +2 -2
- package/index-ebda875c.d.ts +1 -1
- package/index.js +5 -3
- package/index.module-1a4b95d7.js +6 -0
- package/index.module-38cd83a8.js +6 -0
- package/mobile.js +4 -2
- package/modern/Component-3e68f8db.d.ts +2 -2
- package/modern/{Component-a8deae7f.d.ts → Component-f9462675.d.ts} +1 -1
- package/modern/{Component.responsive-3677ec46.d.ts → Component.responsive-abcc39aa.d.ts} +3 -3
- package/modern/components/primary-tablist/Component.desktop.js +1 -1
- package/modern/components/primary-tablist/Component.mobile.js +2 -2
- package/modern/components/primary-tablist/Component.responsive.js +1 -1
- package/modern/components/primary-tablist/index.css +34 -34
- package/modern/components/primary-tablist/mobile.css +374 -369
- package/modern/components/scrollable-container/Component.js +1 -1
- package/modern/components/scrollable-container/index.css +5 -5
- package/modern/components/secondary-tablist/Component.desktop.js +1 -1
- package/modern/components/secondary-tablist/Component.mobile.js +2 -2
- package/modern/components/secondary-tablist/Component.responsive.js +1 -1
- package/modern/components/secondary-tablist/index.css +11 -11
- package/modern/components/secondary-tablist/mobile.css +350 -345
- package/modern/components/tab/Component.js +1 -1
- package/modern/components/tab/index.css +3 -3
- package/modern/components/tabs/Component.desktop.js +2 -2
- package/modern/components/tabs/Component.mobile.js +2 -2
- package/modern/components/tabs/Component.responsive.js +2 -2
- package/modern/desktop.js +2 -2
- package/modern/index-3e68f8db.d.ts +3 -3
- package/modern/index-48646db0.d.ts +1 -1
- package/modern/{index-3677ec46.d.ts → index-abcc39aa.d.ts} +2 -2
- package/modern/index-ebda875c.d.ts +1 -1
- package/modern/index.js +3 -3
- package/modern/index.module-21d0d0f4.js +4 -0
- package/modern/index.module-97bc07a5.js +4 -0
- package/modern/mobile.js +2 -2
- package/modern/responsive.js +4 -4
- package/modern/{typings-a8deae7f.d.ts → typings-f9462675.d.ts} +1 -1
- package/modern/{utils-a8deae7f.d.ts → utils-f9462675.d.ts} +1 -1
- package/package.json +5 -5
- package/responsive.js +6 -4
- package/synthetic-events.js +2 -0
- package/{typings-a8deae7f.d.ts → typings-f9462675.d.ts} +1 -1
- package/{utils-a8deae7f.d.ts → utils-f9462675.d.ts} +1 -1
- package/esm/index.module-9d799350.js +0 -4
- package/esm/index.module-cd3889ee.js +0 -4
- package/index.module-aaadb186.js +0 -6
- package/index.module-cfa85c1f.js +0 -6
- package/modern/index.module-585f12e8.js +0 -4
- package/modern/index.module-733dba62.js +0 -4
- /package/{Component-3677ec46.d.ts → Component-abcc39aa.d.ts} +0 -0
- /package/cssm/{Component-3677ec46.d.ts → Component-abcc39aa.d.ts} +0 -0
- /package/esm/{Component-3677ec46.d.ts → Component-abcc39aa.d.ts} +0 -0
- /package/modern/{Component-3677ec46.d.ts → Component-abcc39aa.d.ts} +0 -0
|
@@ -2,7 +2,7 @@ import React, { useEffect } from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import computeScrollIntoView from 'compute-scroll-into-view';
|
|
4
4
|
|
|
5
|
-
var styles = {"container":"
|
|
5
|
+
var styles = {"container":"tabs__container_1km8q","fullWidthScroll":"tabs__fullWidthScroll_1km8q"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 178oc */
|
|
2
2
|
:root {
|
|
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,7 +42,7 @@
|
|
|
42
42
|
/* size l */
|
|
43
43
|
|
|
44
44
|
/* size xl */
|
|
45
|
-
} .
|
|
45
|
+
} .tabs__container_1km8q {
|
|
46
46
|
position: relative;
|
|
47
47
|
overflow-x: auto;
|
|
48
48
|
overflow-y: hidden;
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
/* focus-outline fix */
|
|
53
53
|
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
54
54
|
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs)
|
|
55
|
-
} .
|
|
55
|
+
} .tabs__container_1km8q::-webkit-scrollbar {
|
|
56
56
|
display: none;
|
|
57
|
-
} .
|
|
57
|
+
} .tabs__container_1km8q > * {
|
|
58
58
|
flex-shrink: 0;
|
|
59
|
-
} .
|
|
59
|
+
} .tabs__fullWidthScroll_1km8q {
|
|
60
60
|
margin: 0 var(--gap-m-neg);
|
|
61
61
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { SecondaryTabList } from './Component.js';
|
|
4
|
-
import { c as commonStyles } from '../../index.module-
|
|
4
|
+
import { c as commonStyles } from '../../index.module-42191a44.js';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '@alfalab/core-components-tag/esm';
|
|
7
7
|
import '../../hooks/use-tabs.js';
|
|
@@ -2,13 +2,13 @@ import { __assign, __rest } from 'tslib';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { SecondaryTabList } from './Component.js';
|
|
5
|
-
import { c as commonStyles } from '../../index.module-
|
|
5
|
+
import { c as commonStyles } from '../../index.module-42191a44.js';
|
|
6
6
|
import '@alfalab/core-components-tag/esm';
|
|
7
7
|
import '../../hooks/use-tabs.js';
|
|
8
8
|
import '../scrollable-container/Component.js';
|
|
9
9
|
import 'compute-scroll-into-view';
|
|
10
10
|
|
|
11
|
-
var mobileStyles = {"title":"
|
|
11
|
+
var mobileStyles = {"title":"tabs__title_of68k tabs__title_da1wu","mobile":"tabs__mobile_of68k"};
|
|
12
12
|
require('./mobile.css')
|
|
13
13
|
|
|
14
14
|
var styles = __assign(__assign({}, commonStyles), mobileStyles);
|
|
@@ -9,7 +9,7 @@ import '@alfalab/core-components-tag/esm';
|
|
|
9
9
|
import '../../hooks/use-tabs.js';
|
|
10
10
|
import '../scrollable-container/Component.js';
|
|
11
11
|
import 'compute-scroll-into-view';
|
|
12
|
-
import '../../index.module-
|
|
12
|
+
import '../../index.module-42191a44.js';
|
|
13
13
|
|
|
14
14
|
var SecondaryTabListResponsive = function (_a) {
|
|
15
15
|
var size = _a.size, _b = _a.defaultMatch, defaultMatch = _b === void 0 ? 'desktop' : _b, fullWidthScroll = _a.fullWidthScroll, restProps = __rest(_a, ["size", "defaultMatch", "fullWidthScroll"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1d34d */
|
|
2
2
|
:root {
|
|
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_da1wu {
|
|
54
54
|
position: relative;
|
|
55
55
|
display: inline-flex;
|
|
56
|
-
} .
|
|
56
|
+
} .tabs__fullWidthScroll_da1wu {
|
|
57
57
|
margin: 0 var(--gap-m);
|
|
58
|
-
} .
|
|
58
|
+
} .tabs__container_da1wu {
|
|
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_da1wu {
|
|
65
65
|
white-space: nowrap;
|
|
66
|
-
} /* sizes */ .
|
|
66
|
+
} /* sizes */ .tabs__xxs_da1wu .tabs__title_da1wu + .tabs__title_da1wu {
|
|
67
67
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
68
|
-
} .
|
|
68
|
+
} .tabs__xs_da1wu .tabs__title_da1wu + .tabs__title_da1wu {
|
|
69
69
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
70
|
-
} .
|
|
70
|
+
} .tabs__s_da1wu .tabs__title_da1wu + .tabs__title_da1wu {
|
|
71
71
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
72
|
-
} .
|
|
72
|
+
} .tabs__m_da1wu .tabs__title_da1wu + .tabs__title_da1wu {
|
|
73
73
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
74
|
-
} .
|
|
74
|
+
} .tabs__l_da1wu .tabs__title_da1wu + .tabs__title_da1wu {
|
|
75
75
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
76
|
-
} .
|
|
76
|
+
} .tabs__xl_da1wu .tabs__title_da1wu + .tabs__title_da1wu {
|
|
77
77
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
78
78
|
}
|