@alfalab/core-components-tabs 7.1.0 → 7.1.2
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.d.ts +2 -4
- package/components/primary-tablist/Component.desktop.js +4 -4
- package/components/primary-tablist/Component.js +3 -3
- package/components/primary-tablist/Component.mobile.d.ts +1 -1
- package/components/primary-tablist/Component.mobile.js +5 -5
- package/components/primary-tablist/Component.responsive.js +4 -4
- package/components/primary-tablist/index.css +24 -23
- package/components/primary-tablist/mobile.css +80 -70
- package/components/scrollable-container/Component.d.ts +1 -1
- package/components/scrollable-container/Component.js +1 -1
- package/components/scrollable-container/index.css +5 -5
- package/components/secondary-tablist/Component.d.ts +2 -6
- package/components/secondary-tablist/Component.desktop.d.ts +1 -1
- package/components/secondary-tablist/Component.desktop.js +3 -3
- package/components/secondary-tablist/Component.js +2 -2
- package/components/secondary-tablist/Component.mobile.d.ts +1 -1
- package/components/secondary-tablist/Component.mobile.js +4 -4
- package/components/secondary-tablist/Component.responsive.js +3 -3
- package/components/secondary-tablist/index.css +11 -11
- package/components/secondary-tablist/mobile.css +66 -57
- package/components/tab/Component.js +1 -1
- package/components/tab/index.css +3 -3
- package/components/tabs/Component.d.ts +1 -1
- package/components/tabs/Component.desktop.d.ts +1 -1
- package/components/tabs/Component.desktop.js +5 -5
- package/components/tabs/Component.mobile.d.ts +1 -1
- package/components/tabs/Component.mobile.js +5 -5
- package/components/tabs/Component.responsive.d.ts +1 -1
- package/components/tabs/Component.responsive.js +5 -5
- package/cssm/components/primary-tablist/Component.d.ts +2 -4
- package/cssm/components/primary-tablist/Component.desktop.js +3 -3
- package/cssm/components/primary-tablist/Component.js +3 -3
- package/cssm/components/primary-tablist/Component.mobile.d.ts +1 -1
- package/cssm/components/primary-tablist/Component.mobile.js +3 -3
- package/cssm/components/primary-tablist/Component.responsive.js +3 -3
- package/cssm/components/primary-tablist/index.module.css +4 -3
- package/cssm/components/scrollable-container/Component.d.ts +1 -1
- package/cssm/components/secondary-tablist/Component.d.ts +2 -6
- package/cssm/components/secondary-tablist/Component.desktop.d.ts +1 -1
- package/cssm/components/secondary-tablist/Component.desktop.js +2 -2
- package/cssm/components/secondary-tablist/Component.js +2 -2
- package/cssm/components/secondary-tablist/Component.mobile.d.ts +1 -1
- package/cssm/components/secondary-tablist/Component.mobile.js +2 -2
- package/cssm/components/secondary-tablist/Component.responsive.js +2 -2
- package/cssm/components/tabs/Component.d.ts +1 -1
- package/cssm/components/tabs/Component.desktop.d.ts +1 -1
- package/cssm/components/tabs/Component.desktop.js +3 -3
- package/cssm/components/tabs/Component.mobile.d.ts +1 -1
- package/cssm/components/tabs/Component.mobile.js +3 -3
- package/cssm/components/tabs/Component.responsive.d.ts +1 -1
- package/cssm/components/tabs/Component.responsive.js +3 -3
- package/cssm/desktop.js +4 -4
- package/cssm/index.js +4 -4
- package/cssm/mobile.js +4 -4
- package/cssm/responsive.js +4 -4
- package/cssm/{tslib.es6-ce870b46.d.ts → tslib.es6-9682e485.d.ts} +8 -4
- package/{tslib.es6-e61a3999.js → cssm/tslib.es6-9682e485.js} +1 -1
- package/cssm/typings.d.ts +1 -1
- package/desktop.js +6 -6
- package/esm/components/primary-tablist/Component.d.ts +2 -4
- package/esm/components/primary-tablist/Component.desktop.js +4 -4
- package/esm/components/primary-tablist/Component.js +3 -3
- package/esm/components/primary-tablist/Component.mobile.d.ts +1 -1
- package/esm/components/primary-tablist/Component.mobile.js +5 -5
- package/esm/components/primary-tablist/Component.responsive.js +4 -4
- package/esm/components/primary-tablist/index.css +24 -23
- package/esm/components/primary-tablist/mobile.css +80 -70
- package/esm/components/scrollable-container/Component.d.ts +1 -1
- package/esm/components/scrollable-container/Component.js +1 -1
- package/esm/components/scrollable-container/index.css +5 -5
- package/esm/components/secondary-tablist/Component.d.ts +2 -6
- package/esm/components/secondary-tablist/Component.desktop.d.ts +1 -1
- package/esm/components/secondary-tablist/Component.desktop.js +3 -3
- package/esm/components/secondary-tablist/Component.js +2 -2
- package/esm/components/secondary-tablist/Component.mobile.d.ts +1 -1
- package/esm/components/secondary-tablist/Component.mobile.js +4 -4
- package/esm/components/secondary-tablist/Component.responsive.js +3 -3
- package/esm/components/secondary-tablist/index.css +11 -11
- package/esm/components/secondary-tablist/mobile.css +66 -57
- package/esm/components/tab/Component.js +1 -1
- package/esm/components/tab/index.css +3 -3
- package/esm/components/tabs/Component.d.ts +1 -1
- package/esm/components/tabs/Component.desktop.d.ts +1 -1
- package/esm/components/tabs/Component.desktop.js +5 -5
- package/esm/components/tabs/Component.mobile.d.ts +1 -1
- package/esm/components/tabs/Component.mobile.js +5 -5
- package/esm/components/tabs/Component.responsive.d.ts +1 -1
- package/esm/components/tabs/Component.responsive.js +5 -5
- package/esm/desktop.js +5 -5
- package/esm/index.js +5 -5
- package/esm/index.module-7ca9e703.js +4 -0
- package/esm/index.module-e51ae308.js +4 -0
- package/esm/mobile.js +5 -5
- package/esm/responsive.js +5 -5
- package/{tslib.es6-e61a3999.d.ts → esm/tslib.es6-954a2f25.d.ts} +8 -4
- package/esm/{tslib.es6-fbd13ab9.js → tslib.es6-954a2f25.js} +1 -1
- package/esm/typings.d.ts +1 -1
- package/index.js +6 -6
- package/index.module-7a6d77c2.js +6 -0
- package/index.module-d59767dd.js +6 -0
- package/mobile.js +6 -6
- package/modern/components/primary-tablist/Component.d.ts +2 -4
- package/modern/components/primary-tablist/Component.desktop.js +4 -4
- package/modern/components/primary-tablist/Component.js +4 -4
- package/modern/components/primary-tablist/Component.mobile.d.ts +1 -1
- package/modern/components/primary-tablist/Component.mobile.js +5 -5
- package/modern/components/primary-tablist/Component.responsive.js +4 -4
- package/modern/components/primary-tablist/index.css +24 -23
- package/modern/components/primary-tablist/mobile.css +80 -70
- package/modern/components/scrollable-container/Component.d.ts +1 -1
- package/modern/components/scrollable-container/Component.js +1 -1
- package/modern/components/scrollable-container/index.css +5 -5
- package/modern/components/secondary-tablist/Component.d.ts +2 -6
- package/modern/components/secondary-tablist/Component.desktop.d.ts +1 -1
- package/modern/components/secondary-tablist/Component.desktop.js +3 -3
- package/modern/components/secondary-tablist/Component.js +2 -2
- package/modern/components/secondary-tablist/Component.mobile.d.ts +1 -1
- package/modern/components/secondary-tablist/Component.mobile.js +4 -4
- package/modern/components/secondary-tablist/Component.responsive.js +3 -3
- package/modern/components/secondary-tablist/index.css +11 -11
- package/modern/components/secondary-tablist/mobile.css +66 -57
- package/modern/components/tab/Component.js +1 -1
- package/modern/components/tab/index.css +3 -3
- package/modern/components/tabs/Component.d.ts +1 -1
- package/modern/components/tabs/Component.desktop.d.ts +1 -1
- package/modern/components/tabs/Component.desktop.js +5 -5
- package/modern/components/tabs/Component.mobile.d.ts +1 -1
- package/modern/components/tabs/Component.mobile.js +5 -5
- package/modern/components/tabs/Component.responsive.d.ts +1 -1
- package/modern/components/tabs/Component.responsive.js +5 -5
- package/modern/desktop.js +4 -4
- package/modern/index.js +4 -4
- package/modern/index.module-7ca9e703.js +4 -0
- package/modern/index.module-e51ae308.js +4 -0
- package/modern/mobile.js +4 -4
- package/modern/responsive.js +4 -4
- package/modern/typings.d.ts +1 -1
- package/package.json +3 -3
- package/responsive.js +6 -6
- package/{esm/tslib.es6-fbd13ab9.d.ts → tslib.es6-3a2676d6.d.ts} +8 -4
- package/{cssm/tslib.es6-ce870b46.js → tslib.es6-3a2676d6.js} +1 -1
- package/typings.d.ts +1 -1
- package/esm/index.module-134e200e.js +0 -4
- package/esm/index.module-523e7b48.js +0 -4
- package/index.module-509288bb.js +0 -6
- package/index.module-7226e3a9.js +0 -6
- package/modern/index.module-134e200e.js +0 -4
- package/modern/index.module-523e7b48.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: u4scu */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
|
|
37
37
|
/* size xl */
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
.tabs__container_1f1bc {
|
|
40
40
|
position: relative;
|
|
41
41
|
overflow-x: auto;
|
|
42
42
|
overflow-y: hidden;
|
|
43
43
|
scroll-behavior: smooth;
|
|
44
44
|
scrollbar-width: none
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
.tabs__container_1f1bc::-webkit-scrollbar {
|
|
47
47
|
display: none;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
.tabs__container_1f1bc > * {
|
|
50
50
|
flex-shrink: 0;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.tabs__fullWidthScroll_1f1bc {
|
|
53
53
|
margin: 0 var(--gap-m-neg);
|
|
54
54
|
}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { Styles } from "../../typings";
|
|
3
|
-
declare const SecondaryTabList: ({ styles, className, containerClassName, size, titles, selectedId, scrollable, fullWidthScroll, tagSize, onChange, dataTestId, }:
|
|
4
|
-
titles?: import("../../typings").TabListTitle[] | undefined;
|
|
5
|
-
} & {
|
|
6
|
-
tagSize?: "xxs" | "xs" | "s" | "m" | "l" | "xl" | undefined;
|
|
7
|
-
} & Styles) => JSX.Element;
|
|
2
|
+
import { SecondaryTabListProps, Styles } from "../../typings";
|
|
3
|
+
declare const SecondaryTabList: ({ styles, className, containerClassName, size, titles, selectedId, scrollable, fullWidthScroll, tagSize, onChange, dataTestId, }: SecondaryTabListProps & Styles) => JSX.Element;
|
|
8
4
|
export { SecondaryTabList };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SecondaryTabListProps } from "../../typings";
|
|
3
3
|
type SecondaryTabListDesktopProps = Omit<SecondaryTabListProps, 'tagSize'>;
|
|
4
|
-
declare const SecondaryTabListDesktop: ({ size, ...restProps }:
|
|
4
|
+
declare const SecondaryTabListDesktop: ({ size, ...restProps }: SecondaryTabListDesktopProps) => JSX.Element;
|
|
5
5
|
export { SecondaryTabListDesktopProps, SecondaryTabListDesktop };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
+
import '../../useTabs.js';
|
|
3
4
|
import 'compute-scroll-into-view';
|
|
4
5
|
import '../scrollable-container/Component.js';
|
|
5
|
-
import '../../useTabs.js';
|
|
6
6
|
import '@alfalab/core-components-tag/modern';
|
|
7
7
|
import { SecondaryTabList } from './Component.js';
|
|
8
|
-
import { c as commonStyles } from '../../index.module-
|
|
8
|
+
import { c as commonStyles } from '../../index.module-e51ae308.js';
|
|
9
9
|
|
|
10
|
-
const SecondaryTabListDesktop = ({ size = 's', ...restProps }) => (React.createElement(SecondaryTabList,
|
|
10
|
+
const SecondaryTabListDesktop = ({ size = 's', ...restProps }) => (React.createElement(SecondaryTabList, { ...restProps, size: size, styles: commonStyles, tagSize: size }));
|
|
11
11
|
|
|
12
12
|
export { SecondaryTabListDesktop };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
+
import { useTabs } from '../../useTabs.js';
|
|
3
4
|
import 'compute-scroll-into-view';
|
|
4
5
|
import { ScrollableContainer } from '../scrollable-container/Component.js';
|
|
5
|
-
import { useTabs } from '../../useTabs.js';
|
|
6
6
|
import { Tag } from '@alfalab/core-components-tag/modern';
|
|
7
7
|
|
|
8
8
|
const SecondaryTabList = ({ styles = {}, className, containerClassName, size, titles = [], selectedId = titles.length ? titles[0].id : undefined, scrollable = true, fullWidthScroll, tagSize = 'xs', onChange, dataTestId, }) => {
|
|
@@ -16,7 +16,7 @@ const SecondaryTabList = ({ styles = {}, className, containerClassName, size, ti
|
|
|
16
16
|
}) }, titles.map((item, index) => {
|
|
17
17
|
if (item.hidden)
|
|
18
18
|
return null;
|
|
19
|
-
return (React.createElement(Tag,
|
|
19
|
+
return (React.createElement(Tag, { ...getTabListItemProps(index), key: item.id, className: cn(styles.title, item.toggleClassName), checked: item.id === selectedId, size: tagSize, rightAddons: item.rightAddons }, item.title));
|
|
20
20
|
})));
|
|
21
21
|
return scrollable ? (React.createElement(ScrollableContainer, { activeChild: focusedTab || selectedTab, containerClassName: containerClassName, fullWidthScroll: fullWidthScroll }, renderContent())) : (React.createElement("div", { className: cn(styles.container, containerClassName) }, renderContent()));
|
|
22
22
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SecondaryTabListProps } from "../../typings";
|
|
3
3
|
type SecondaryTabListMobileProps = Omit<SecondaryTabListProps, 'size' | 'tagSize'>;
|
|
4
|
-
declare const SecondaryTabListMobile: ({ className, ...restProps }:
|
|
4
|
+
declare const SecondaryTabListMobile: ({ className, ...restProps }: SecondaryTabListMobileProps) => JSX.Element;
|
|
5
5
|
export { SecondaryTabListMobileProps, SecondaryTabListMobile };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
+
import '../../useTabs.js';
|
|
3
4
|
import 'compute-scroll-into-view';
|
|
4
5
|
import '../scrollable-container/Component.js';
|
|
5
|
-
import '../../useTabs.js';
|
|
6
6
|
import '@alfalab/core-components-tag/modern';
|
|
7
7
|
import { SecondaryTabList } from './Component.js';
|
|
8
|
-
import { c as commonStyles } from '../../index.module-
|
|
8
|
+
import { c as commonStyles } from '../../index.module-e51ae308.js';
|
|
9
9
|
|
|
10
|
-
var mobileStyles = {"title":"
|
|
10
|
+
var mobileStyles = {"title":"tabs__title_ciy0q tabs__title_o4zuv","mobile":"tabs__mobile_ciy0q"};
|
|
11
11
|
require('./mobile.css')
|
|
12
12
|
|
|
13
13
|
const styles = {
|
|
14
14
|
...commonStyles,
|
|
15
15
|
...mobileStyles,
|
|
16
16
|
};
|
|
17
|
-
const SecondaryTabListMobile = ({ className, ...restProps }) => (React.createElement(SecondaryTabList,
|
|
17
|
+
const SecondaryTabListMobile = ({ className, ...restProps }) => (React.createElement(SecondaryTabList, { ...restProps, styles: styles, className: cn(className, styles.mobile), tagSize: 'xs' }));
|
|
18
18
|
|
|
19
19
|
export { SecondaryTabListMobile };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
+
import '../../useTabs.js';
|
|
3
4
|
import 'compute-scroll-into-view';
|
|
4
5
|
import '../scrollable-container/Component.js';
|
|
5
|
-
import '../../useTabs.js';
|
|
6
6
|
import '@alfalab/core-components-tag/modern';
|
|
7
7
|
import './Component.js';
|
|
8
|
-
import '../../index.module-
|
|
8
|
+
import '../../index.module-e51ae308.js';
|
|
9
9
|
import { SecondaryTabListDesktop } from './Component.desktop.js';
|
|
10
10
|
import { useMedia } from '@alfalab/hooks';
|
|
11
11
|
import { SecondaryTabListMobile } from './Component.mobile.js';
|
|
@@ -15,7 +15,7 @@ const SecondaryTabListResponsive = ({ size, defaultMatch = 'desktop', fullWidthS
|
|
|
15
15
|
['mobile', '(max-width: 767px)'],
|
|
16
16
|
['desktop', '(min-width: 768px)'],
|
|
17
17
|
], defaultMatch);
|
|
18
|
-
return view === 'desktop' ? (React.createElement(SecondaryTabListDesktop,
|
|
18
|
+
return view === 'desktop' ? (React.createElement(SecondaryTabListDesktop, { size: size, ...restProps })) : (React.createElement(SecondaryTabListMobile, { fullWidthScroll: fullWidthScroll, ...restProps }));
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
export { SecondaryTabListResponsive };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1fi70 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -44,35 +44,35 @@
|
|
|
44
44
|
/* size xl */
|
|
45
45
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.tabs__component_o4zuv {
|
|
48
48
|
position: relative;
|
|
49
49
|
display: inline-flex;
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.tabs__fullWidthScroll_o4zuv {
|
|
52
52
|
margin: 0 var(--gap-m);
|
|
53
53
|
}
|
|
54
|
-
.
|
|
54
|
+
.tabs__container_o4zuv {
|
|
55
55
|
overflow: hidden;
|
|
56
56
|
}
|
|
57
|
-
.
|
|
57
|
+
.tabs__title_o4zuv {
|
|
58
58
|
white-space: nowrap;
|
|
59
59
|
}
|
|
60
60
|
/* sizes */
|
|
61
|
-
.
|
|
61
|
+
.tabs__xxs_o4zuv .tabs__title_o4zuv + .tabs__title_o4zuv {
|
|
62
62
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
63
63
|
}
|
|
64
|
-
.
|
|
64
|
+
.tabs__xs_o4zuv .tabs__title_o4zuv + .tabs__title_o4zuv {
|
|
65
65
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
66
66
|
}
|
|
67
|
-
.
|
|
67
|
+
.tabs__s_o4zuv .tabs__title_o4zuv + .tabs__title_o4zuv {
|
|
68
68
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
69
69
|
}
|
|
70
|
-
.
|
|
70
|
+
.tabs__m_o4zuv .tabs__title_o4zuv + .tabs__title_o4zuv {
|
|
71
71
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
72
72
|
}
|
|
73
|
-
.
|
|
73
|
+
.tabs__l_o4zuv .tabs__title_o4zuv + .tabs__title_o4zuv {
|
|
74
74
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
75
75
|
}
|
|
76
|
-
.
|
|
76
|
+
.tabs__xl_o4zuv .tabs__title_o4zuv + .tabs__title_o4zuv {
|
|
77
77
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
78
78
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 183rh */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -49,26 +49,26 @@
|
|
|
49
49
|
|
|
50
50
|
/* size xl */
|
|
51
51
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
52
|
-
}.
|
|
52
|
+
}.tabs__component_o4zuv {
|
|
53
53
|
position: relative;
|
|
54
54
|
display: inline-flex;
|
|
55
|
-
}.
|
|
55
|
+
}.tabs__fullWidthScroll_o4zuv {
|
|
56
56
|
margin: 0 var(--gap-m);
|
|
57
|
-
}.
|
|
57
|
+
}.tabs__container_o4zuv {
|
|
58
58
|
overflow: hidden;
|
|
59
|
-
}.
|
|
59
|
+
}.tabs__title_o4zuv {
|
|
60
60
|
white-space: nowrap;
|
|
61
|
-
}/* sizes */.
|
|
61
|
+
}/* sizes */.tabs__xxs_o4zuv .tabs__title_o4zuv + .tabs__title_o4zuv {
|
|
62
62
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
63
|
-
}.
|
|
63
|
+
}.tabs__xs_o4zuv .tabs__title_o4zuv + .tabs__title_o4zuv {
|
|
64
64
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
65
|
-
}.
|
|
65
|
+
}.tabs__s_o4zuv .tabs__title_o4zuv + .tabs__title_o4zuv {
|
|
66
66
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
67
|
-
}.
|
|
67
|
+
}.tabs__m_o4zuv .tabs__title_o4zuv + .tabs__title_o4zuv {
|
|
68
68
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
69
|
-
}.
|
|
69
|
+
}.tabs__l_o4zuv .tabs__title_o4zuv + .tabs__title_o4zuv {
|
|
70
70
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
71
|
-
}.
|
|
71
|
+
}.tabs__xl_o4zuv .tabs__title_o4zuv + .tabs__title_o4zuv {
|
|
72
72
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
73
73
|
}
|
|
74
74
|
:root {
|
|
@@ -287,26 +287,24 @@
|
|
|
287
287
|
--color-dark-specialbg-overlay-fallback: #070707;
|
|
288
288
|
--color-dark-specialbg-primary-grouped: #0b1f35;
|
|
289
289
|
--color-dark-specialbg-secondary-grouped: #233549;
|
|
290
|
+
--color-dark-specialbg-secondary-transparent: rgba(255, 255, 255, 0.1);
|
|
291
|
+
--color-dark-specialbg-secondary-transparent-inverted: rgba(11, 31, 53, 0.05);
|
|
290
292
|
--color-dark-specialbg-tertiary-grouped: #3c4c5d;
|
|
293
|
+
--color-dark-specialbg-tertiary-transparent: rgba(255, 255, 255, 0.2);
|
|
294
|
+
--color-dark-specialbg-tertiary-transparent-inverted: rgba(11, 31, 53, 0.1);
|
|
291
295
|
--color-dark-text-accent: #ef3124;
|
|
292
296
|
--color-dark-text-attention: #de6a00;
|
|
293
|
-
--color-dark-text-disabled:
|
|
294
|
-
--color-dark-text-disabled-inverted:
|
|
295
|
-
--color-dark-text-disabled-inverted-transparent: rgba(11, 31, 53, 0.15);
|
|
296
|
-
--color-dark-text-disabled-transparent: rgba(255, 255, 255, 0.25);
|
|
297
|
+
--color-dark-text-disabled: rgba(255, 255, 255, 0.25);
|
|
298
|
+
--color-dark-text-disabled-inverted: rgba(11, 31, 53, 0.15);
|
|
297
299
|
--color-dark-text-link: #007aff;
|
|
298
300
|
--color-dark-text-negative: #d91d0b;
|
|
299
301
|
--color-dark-text-positive: #13a463;
|
|
300
302
|
--color-dark-text-primary: #fff;
|
|
301
303
|
--color-dark-text-primary-inverted: #0b1f35;
|
|
302
|
-
--color-dark-text-secondary:
|
|
303
|
-
--color-dark-text-secondary-inverted:
|
|
304
|
-
--color-dark-text-
|
|
305
|
-
--color-dark-text-
|
|
306
|
-
--color-dark-text-tertiary: #6d7986;
|
|
307
|
-
--color-dark-text-tertiary-inverted: #b6bcc3;
|
|
308
|
-
--color-dark-text-tertiary-inverted-transparent: rgba(11, 31, 53, 0.3);
|
|
309
|
-
--color-dark-text-tertiary-transparent: rgba(255, 255, 255, 0.4);
|
|
304
|
+
--color-dark-text-secondary: rgba(255, 255, 255, 0.7);
|
|
305
|
+
--color-dark-text-secondary-inverted: rgba(11, 31, 53, 0.7);
|
|
306
|
+
--color-dark-text-tertiary: rgba(255, 255, 255, 0.4);
|
|
307
|
+
--color-dark-text-tertiary-inverted: rgba(11, 31, 53, 0.3);
|
|
310
308
|
--color-light-bg-accent: #ef3124;
|
|
311
309
|
--color-light-bg-attention-muted: #fff3e0;
|
|
312
310
|
--color-light-bg-info: #d6e8fc;
|
|
@@ -353,26 +351,24 @@
|
|
|
353
351
|
--color-light-specialbg-overlay-fallback: #5c5c5c;
|
|
354
352
|
--color-light-specialbg-primary-grouped: #f3f4f5;
|
|
355
353
|
--color-light-specialbg-secondary-grouped: #fff;
|
|
354
|
+
--color-light-specialbg-secondary-transparent: rgba(11, 31, 53, 0.05);
|
|
355
|
+
--color-light-specialbg-secondary-transparent-inverted: rgba(255, 255, 255, 0.1);
|
|
356
356
|
--color-light-specialbg-tertiary-grouped: #f3f4f5;
|
|
357
|
+
--color-light-specialbg-tertiary-transparent: rgba(11, 31, 53, 0.1);
|
|
358
|
+
--color-light-specialbg-tertiary-transparent-inverted: rgba(255, 255, 255, 0.2);
|
|
357
359
|
--color-light-text-accent: #ef3124;
|
|
358
360
|
--color-light-text-attention: #de6a00;
|
|
359
|
-
--color-light-text-disabled:
|
|
360
|
-
--color-light-text-disabled-inverted:
|
|
361
|
-
--color-light-text-disabled-inverted-transparent: rgba(255, 255, 255, 0.25);
|
|
362
|
-
--color-light-text-disabled-transparent: rgba(11, 31, 53, 0.15);
|
|
361
|
+
--color-light-text-disabled: rgba(11, 31, 53, 0.15);
|
|
362
|
+
--color-light-text-disabled-inverted: rgba(255, 255, 255, 0.25);
|
|
363
363
|
--color-light-text-link: #007aff;
|
|
364
364
|
--color-light-text-negative: #d91d0b;
|
|
365
365
|
--color-light-text-positive: #13a463;
|
|
366
366
|
--color-light-text-primary: #0b1f35;
|
|
367
367
|
--color-light-text-primary-inverted: #fff;
|
|
368
|
-
--color-light-text-secondary:
|
|
369
|
-
--color-light-text-secondary-inverted:
|
|
370
|
-
--color-light-text-
|
|
371
|
-
--color-light-text-
|
|
372
|
-
--color-light-text-tertiary: #b6bcc3;
|
|
373
|
-
--color-light-text-tertiary-inverted: #6d7986;
|
|
374
|
-
--color-light-text-tertiary-inverted-transparent: rgba(255, 255, 255, 0.4);
|
|
375
|
-
--color-light-text-tertiary-transparent: rgba(11, 31, 53, 0.3);
|
|
368
|
+
--color-light-text-secondary: rgba(11, 31, 53, 0.7);
|
|
369
|
+
--color-light-text-secondary-inverted: rgba(255, 255, 255, 0.7);
|
|
370
|
+
--color-light-text-tertiary: rgba(11, 31, 53, 0.3);
|
|
371
|
+
--color-light-text-tertiary-inverted: rgba(255, 255, 255, 0.4);
|
|
376
372
|
--color-static-bg-accent: #ef3124;
|
|
377
373
|
--color-static-bg-primary-dark: #0b1f35;
|
|
378
374
|
--color-static-bg-primary-light: #fff;
|
|
@@ -389,14 +385,10 @@
|
|
|
389
385
|
--color-static-text-accent: #ef3124;
|
|
390
386
|
--color-static-text-primary-dark: #0b1f35;
|
|
391
387
|
--color-static-text-primary-light: #fff;
|
|
392
|
-
--color-static-text-secondary-dark:
|
|
393
|
-
--color-static-text-secondary-
|
|
394
|
-
--color-static-text-
|
|
395
|
-
--color-static-text-
|
|
396
|
-
--color-static-text-tertiary-dark: #b6bcc3;
|
|
397
|
-
--color-static-text-tertiary-dark-transparent: rgba(11, 31, 53, 0.3);
|
|
398
|
-
--color-static-text-tertiary-light: #6d7986;
|
|
399
|
-
--color-static-text-tertiary-light-transparent: rgba(255, 255, 255, 0.4);
|
|
388
|
+
--color-static-text-secondary-dark: rgba(11, 31, 53, 0.6);
|
|
389
|
+
--color-static-text-secondary-light: rgba(255, 255, 255, 0.7);
|
|
390
|
+
--color-static-text-tertiary-dark: rgba(11, 31, 53, 0.3);
|
|
391
|
+
--color-static-text-tertiary-light: rgba(255, 255, 255, 0.4);
|
|
400
392
|
--color-dark-bg-accent-alpha-30: rgba(239, 49, 36, 0.3);
|
|
401
393
|
--color-dark-bg-accent-shade-15: rgb(203, 42, 31);
|
|
402
394
|
--color-dark-bg-accent-shade-20: rgb(191, 39, 29);
|
|
@@ -513,12 +505,18 @@
|
|
|
513
505
|
--color-dark-specialbg-component-inverted-alpha-30: rgba(11, 31, 53, 0.3);
|
|
514
506
|
--color-dark-specialbg-component-inverted-shade-15: rgba(9, 26, 45, 0.2095);
|
|
515
507
|
--color-dark-specialbg-component-inverted-shade-20: rgba(9, 25, 42, 0.256);
|
|
508
|
+
--color-dark-specialbg-tertiary-transparent-tint-7: rgba(255, 255, 255, 0.256);
|
|
509
|
+
--color-dark-specialbg-tertiary-transparent-tint-15: rgba(255, 255, 255, 0.32);
|
|
510
|
+
--color-dark-specialbg-tertiary-transparent-inverted-shade-15: rgba(9, 26, 45, 0.235);
|
|
511
|
+
--color-dark-specialbg-tertiary-transparent-inverted-shade-20: rgba(9, 25, 42, 0.28);
|
|
516
512
|
--color-dark-text-link-shade-30: rgb(0, 85, 179);
|
|
517
513
|
--color-dark-text-link-shade-50: rgb(0, 61, 128);
|
|
518
514
|
--color-dark-text-link-tint-20: rgb(51, 149, 255);
|
|
519
515
|
--color-dark-text-link-tint-40: rgb(102, 175, 255);
|
|
520
516
|
--color-dark-text-primary-alpha-30: rgba(255, 255, 255, 0.3);
|
|
517
|
+
--color-dark-text-primary-shade-24: rgb(194, 194, 194);
|
|
521
518
|
--color-dark-text-primary-shade-30: rgb(179, 179, 179);
|
|
519
|
+
--color-dark-text-primary-shade-40: rgb(153, 153, 153);
|
|
522
520
|
--color-dark-text-primary-shade-50: rgb(128, 128, 128);
|
|
523
521
|
--color-dark-text-primary-tint-20: rgb(255, 255, 255);
|
|
524
522
|
--color-dark-text-primary-tint-40: rgb(255, 255, 255);
|
|
@@ -528,14 +526,16 @@
|
|
|
528
526
|
--color-dark-text-primary-inverted-shade-30: rgb(8, 22, 37);
|
|
529
527
|
--color-dark-text-primary-inverted-tint-7: rgb(28, 47, 67);
|
|
530
528
|
--color-dark-text-primary-inverted-tint-15: rgb(48, 65, 83);
|
|
529
|
+
--color-dark-text-primary-inverted-tint-24: rgb(70, 85, 101);
|
|
531
530
|
--color-dark-text-primary-inverted-tint-30: rgb(84, 98, 114);
|
|
531
|
+
--color-dark-text-primary-inverted-tint-40: rgb(109, 121, 134);
|
|
532
532
|
--color-dark-text-primary-inverted-tint-50: rgb(133, 143, 154);
|
|
533
|
-
--color-dark-text-secondary-shade-20:
|
|
534
|
-
--color-dark-text-secondary-shade-30:
|
|
535
|
-
--color-dark-text-secondary-tint-20:
|
|
536
|
-
--color-dark-text-secondary-tint-40:
|
|
537
|
-
--color-dark-text-secondary-inverted-shade-20:
|
|
538
|
-
--color-dark-text-secondary-inverted-shade-30:
|
|
533
|
+
--color-dark-text-secondary-shade-20: rgba(204, 204, 204, 0.76);
|
|
534
|
+
--color-dark-text-secondary-shade-30: rgba(179, 179, 179, 0.79);
|
|
535
|
+
--color-dark-text-secondary-tint-20: rgba(255, 255, 255, 0.76);
|
|
536
|
+
--color-dark-text-secondary-tint-40: rgba(255, 255, 255, 0.82);
|
|
537
|
+
--color-dark-text-secondary-inverted-shade-20: rgba(9, 25, 42, 0.76);
|
|
538
|
+
--color-dark-text-secondary-inverted-shade-30: rgba(8, 22, 37, 0.79);
|
|
539
539
|
--color-light-bg-accent-alpha-30: rgba(239, 49, 36, 0.3);
|
|
540
540
|
--color-light-bg-accent-tint-15: rgb(241, 80, 69);
|
|
541
541
|
--color-light-bg-accent-tint-20: rgb(242, 90, 80);
|
|
@@ -652,12 +652,18 @@
|
|
|
652
652
|
--color-light-specialbg-component-inverted-alpha-30: rgba(255, 255, 255, 0.3);
|
|
653
653
|
--color-light-specialbg-component-inverted-tint-15: rgba(255, 255, 255, 0.2775);
|
|
654
654
|
--color-light-specialbg-component-inverted-tint-20: rgba(255, 255, 255, 0.32);
|
|
655
|
+
--color-light-specialbg-tertiary-transparent-shade-7: rgba(10, 29, 49, 0.163);
|
|
656
|
+
--color-light-specialbg-tertiary-transparent-shade-15: rgba(9, 26, 45, 0.235);
|
|
657
|
+
--color-light-specialbg-tertiary-transparent-inverted-tint-15: rgba(255, 255, 255, 0.32);
|
|
658
|
+
--color-light-specialbg-tertiary-transparent-inverted-tint-20: rgba(255, 255, 255, 0.36);
|
|
655
659
|
--color-light-text-link-tint-30: rgb(77, 162, 255);
|
|
656
660
|
--color-light-text-link-tint-50: rgb(128, 189, 255);
|
|
657
661
|
--color-light-text-link-shade-20: rgb(0, 98, 204);
|
|
658
662
|
--color-light-text-link-shade-40: rgb(0, 73, 153);
|
|
659
663
|
--color-light-text-primary-alpha-30: rgba(11, 31, 53, 0.3);
|
|
664
|
+
--color-light-text-primary-tint-24: rgb(70, 85, 101);
|
|
660
665
|
--color-light-text-primary-tint-30: rgb(84, 98, 114);
|
|
666
|
+
--color-light-text-primary-tint-40: rgb(109, 121, 134);
|
|
661
667
|
--color-light-text-primary-tint-50: rgb(133, 143, 154);
|
|
662
668
|
--color-light-text-primary-shade-20: rgb(9, 25, 42);
|
|
663
669
|
--color-light-text-primary-shade-40: rgb(7, 19, 32);
|
|
@@ -667,14 +673,16 @@
|
|
|
667
673
|
--color-light-text-primary-inverted-tint-30: rgb(255, 255, 255);
|
|
668
674
|
--color-light-text-primary-inverted-shade-7: rgb(237, 237, 237);
|
|
669
675
|
--color-light-text-primary-inverted-shade-15: rgb(217, 217, 217);
|
|
676
|
+
--color-light-text-primary-inverted-shade-24: rgb(194, 194, 194);
|
|
670
677
|
--color-light-text-primary-inverted-shade-30: rgb(179, 179, 179);
|
|
678
|
+
--color-light-text-primary-inverted-shade-40: rgb(153, 153, 153);
|
|
671
679
|
--color-light-text-primary-inverted-shade-50: rgb(128, 128, 128);
|
|
672
|
-
--color-light-text-secondary-tint-20:
|
|
673
|
-
--color-light-text-secondary-tint-30:
|
|
674
|
-
--color-light-text-secondary-shade-20:
|
|
675
|
-
--color-light-text-secondary-shade-40:
|
|
676
|
-
--color-light-text-secondary-inverted-tint-20:
|
|
677
|
-
--color-light-text-secondary-inverted-tint-30:
|
|
680
|
+
--color-light-text-secondary-tint-20: rgba(60, 76, 93, 0.76);
|
|
681
|
+
--color-light-text-secondary-tint-30: rgba(84, 98, 114, 0.79);
|
|
682
|
+
--color-light-text-secondary-shade-20: rgba(9, 25, 42, 0.76);
|
|
683
|
+
--color-light-text-secondary-shade-40: rgba(7, 19, 32, 0.82);
|
|
684
|
+
--color-light-text-secondary-inverted-tint-20: rgba(255, 255, 255, 0.76);
|
|
685
|
+
--color-light-text-secondary-inverted-tint-30: rgba(255, 255, 255, 0.79);
|
|
678
686
|
--color-static-bg-primary-dark-alpha-10: rgba(11, 31, 53, 0.1);
|
|
679
687
|
--color-static-bg-primary-dark-alpha-20: rgba(11, 31, 53, 0.2);
|
|
680
688
|
--color-static-text-primary-light-alpha-30: rgba(255, 255, 255, 0.3);
|
|
@@ -812,6 +820,7 @@
|
|
|
812
820
|
--primary-tablist-disabled-color: var(--color-light-text-tertiary);
|
|
813
821
|
--primary-tablist-bottom-border-color: var(--color-light-border-primary);
|
|
814
822
|
--primary-tablist-line-color: var(--color-light-border-accent);
|
|
823
|
+
--primary-tablist-font-feature-settings: normal;
|
|
815
824
|
|
|
816
825
|
/* mobile */
|
|
817
826
|
--primary-tablist-mobile-gaps: var(--gap-xl);
|
|
@@ -870,8 +879,8 @@
|
|
|
870
879
|
/* size xl */
|
|
871
880
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
872
881
|
}
|
|
873
|
-
.
|
|
882
|
+
.tabs__title_ciy0q {
|
|
874
883
|
}
|
|
875
|
-
.
|
|
884
|
+
.tabs__mobile_ciy0q .tabs__title_ciy0q + .tabs__title_ciy0q {
|
|
876
885
|
margin-left: var(--secondary-tablist-mobile-gaps);
|
|
877
886
|
}
|
|
@@ -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_80nw8","hidden":"tabs__hidden_80nw8"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
const Tab = ({ children, hidden, className, disabled, dataTestId }) => children ? (React.createElement("div", { className: cn(styles.component, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TabsProps } from "../../typings";
|
|
3
|
-
declare const Tabs: ({ TabList, className, containerClassName, size, defaultMatch, children, selectedId, scrollable, fullWidthScroll, keepMounted, dataTestId, onChange, }:
|
|
3
|
+
declare const Tabs: ({ TabList, className, containerClassName, size, defaultMatch, children, selectedId, scrollable, fullWidthScroll, keepMounted, dataTestId, onChange, }: Omit<TabsProps, 'view'>) => JSX.Element;
|
|
4
4
|
export { Tabs };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TabsProps } from "../../typings";
|
|
3
3
|
type TabsDesktopProps = Omit<TabsProps, 'TabList' | 'fullWidthScroll'>;
|
|
4
|
-
declare const TabsDesktop: ({ view, scrollable, size, ...restProps }:
|
|
4
|
+
declare const TabsDesktop: ({ view, scrollable, size, ...restProps }: TabsDesktopProps) => JSX.Element;
|
|
5
5
|
export { TabsDesktopProps, TabsDesktop };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import '@alfalab/core-components-keyboard-focusable/modern';
|
|
3
2
|
import 'classnames';
|
|
3
|
+
import '@alfalab/core-components-keyboard-focusable/modern';
|
|
4
|
+
import '../../useTabs.js';
|
|
4
5
|
import 'compute-scroll-into-view';
|
|
5
6
|
import '../scrollable-container/Component.js';
|
|
6
|
-
import '../../useTabs.js';
|
|
7
7
|
import '../primary-tablist/Component.js';
|
|
8
|
-
import '../../index.module-
|
|
8
|
+
import '../../index.module-7ca9e703.js';
|
|
9
9
|
import { PrimaryTabListDesktop } from '../primary-tablist/Component.desktop.js';
|
|
10
10
|
import '@alfalab/core-components-tag/modern';
|
|
11
11
|
import '../secondary-tablist/Component.js';
|
|
12
|
-
import '../../index.module-
|
|
12
|
+
import '../../index.module-e51ae308.js';
|
|
13
13
|
import { SecondaryTabListDesktop } from '../secondary-tablist/Component.desktop.js';
|
|
14
14
|
import { Tabs } from './Component.js';
|
|
15
15
|
|
|
@@ -17,6 +17,6 @@ const views = {
|
|
|
17
17
|
primary: PrimaryTabListDesktop,
|
|
18
18
|
secondary: SecondaryTabListDesktop,
|
|
19
19
|
};
|
|
20
|
-
const TabsDesktop = ({ view = 'primary', scrollable = false, size = view === 'primary' ? 'm' : 's', ...restProps }) => (React.createElement(Tabs,
|
|
20
|
+
const TabsDesktop = ({ view = 'primary', scrollable = false, size = view === 'primary' ? 'm' : 's', ...restProps }) => (React.createElement(Tabs, { TabList: views[view], scrollable: scrollable, size: size, ...restProps }));
|
|
21
21
|
|
|
22
22
|
export { TabsDesktop };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TabsProps } from "../../typings";
|
|
3
3
|
type TabsMobileProps = Omit<TabsProps, 'TabList' | 'size'>;
|
|
4
|
-
declare const TabsMobile: ({ view, scrollable, ...restProps }:
|
|
4
|
+
declare const TabsMobile: ({ view, scrollable, ...restProps }: TabsMobileProps) => JSX.Element;
|
|
5
5
|
export { TabsMobileProps, TabsMobile };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import '@alfalab/core-components-keyboard-focusable/modern';
|
|
3
2
|
import 'classnames';
|
|
3
|
+
import '@alfalab/core-components-keyboard-focusable/modern';
|
|
4
|
+
import '../../useTabs.js';
|
|
4
5
|
import 'compute-scroll-into-view';
|
|
5
6
|
import '../scrollable-container/Component.js';
|
|
6
|
-
import '../../useTabs.js';
|
|
7
7
|
import '../primary-tablist/Component.js';
|
|
8
|
-
import '../../index.module-
|
|
8
|
+
import '../../index.module-7ca9e703.js';
|
|
9
9
|
import '@alfalab/core-components-tag/modern';
|
|
10
10
|
import '../secondary-tablist/Component.js';
|
|
11
|
-
import '../../index.module-
|
|
11
|
+
import '../../index.module-e51ae308.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';
|
|
@@ -17,6 +17,6 @@ const views = {
|
|
|
17
17
|
primary: PrimaryTabListMobile,
|
|
18
18
|
secondary: SecondaryTabListMobile,
|
|
19
19
|
};
|
|
20
|
-
const TabsMobile = ({ view = 'primary', scrollable = true, ...restProps }) => React.createElement(Tabs,
|
|
20
|
+
const TabsMobile = ({ view = 'primary', scrollable = true, ...restProps }) => React.createElement(Tabs, { TabList: views[view], scrollable: scrollable, ...restProps });
|
|
21
21
|
|
|
22
22
|
export { TabsMobile };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TabsProps } from "../../typings";
|
|
3
3
|
type TabsResponsiveProps = Omit<TabsProps, 'TabList'>;
|
|
4
|
-
declare const TabsResponsive: ({ view, scrollable, ...restProps }:
|
|
4
|
+
declare const TabsResponsive: ({ view, scrollable, ...restProps }: TabsResponsiveProps) => JSX.Element;
|
|
5
5
|
export { TabsResponsiveProps, TabsResponsive };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import '@alfalab/core-components-keyboard-focusable/modern';
|
|
3
2
|
import 'classnames';
|
|
3
|
+
import '@alfalab/core-components-keyboard-focusable/modern';
|
|
4
|
+
import '../../useTabs.js';
|
|
4
5
|
import 'compute-scroll-into-view';
|
|
5
6
|
import '../scrollable-container/Component.js';
|
|
6
|
-
import '../../useTabs.js';
|
|
7
7
|
import '../primary-tablist/Component.js';
|
|
8
|
-
import '../../index.module-
|
|
8
|
+
import '../../index.module-7ca9e703.js';
|
|
9
9
|
import '../primary-tablist/Component.desktop.js';
|
|
10
10
|
import '@alfalab/core-components-tag/modern';
|
|
11
11
|
import '../secondary-tablist/Component.js';
|
|
12
|
-
import '../../index.module-
|
|
12
|
+
import '../../index.module-e51ae308.js';
|
|
13
13
|
import '../secondary-tablist/Component.desktop.js';
|
|
14
14
|
import { Tabs } from './Component.js';
|
|
15
15
|
import '@alfalab/hooks';
|
|
@@ -22,6 +22,6 @@ const views = {
|
|
|
22
22
|
primary: PrimaryTabListResponsive,
|
|
23
23
|
secondary: SecondaryTabListResponsive,
|
|
24
24
|
};
|
|
25
|
-
const TabsResponsive = ({ view = 'primary', scrollable = false, ...restProps }) => React.createElement(Tabs,
|
|
25
|
+
const TabsResponsive = ({ view = 'primary', scrollable = false, ...restProps }) => React.createElement(Tabs, { TabList: views[view], scrollable: scrollable, ...restProps });
|
|
26
26
|
|
|
27
27
|
export { TabsResponsive };
|
package/modern/desktop.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
import '@alfalab/core-components-keyboard-focusable/modern';
|
|
3
2
|
import 'classnames';
|
|
3
|
+
import '@alfalab/core-components-keyboard-focusable/modern';
|
|
4
|
+
export { useTabs } from './useTabs.js';
|
|
4
5
|
import 'compute-scroll-into-view';
|
|
5
6
|
export { ScrollableContainer } from './components/scrollable-container/Component.js';
|
|
6
|
-
export { useTabs } from './useTabs.js';
|
|
7
7
|
import './components/primary-tablist/Component.js';
|
|
8
|
-
import './index.module-
|
|
8
|
+
import './index.module-7ca9e703.js';
|
|
9
9
|
export { PrimaryTabListDesktop } from './components/primary-tablist/Component.desktop.js';
|
|
10
10
|
import '@alfalab/core-components-tag/modern';
|
|
11
11
|
import './components/secondary-tablist/Component.js';
|
|
12
|
-
import './index.module-
|
|
12
|
+
import './index.module-e51ae308.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/modern/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
import '@alfalab/core-components-keyboard-focusable/modern';
|
|
3
2
|
import 'classnames';
|
|
3
|
+
import '@alfalab/core-components-keyboard-focusable/modern';
|
|
4
|
+
export { useTabs } from './useTabs.js';
|
|
4
5
|
import 'compute-scroll-into-view';
|
|
5
6
|
export { ScrollableContainer } from './components/scrollable-container/Component.js';
|
|
6
|
-
export { useTabs } from './useTabs.js';
|
|
7
7
|
import './components/primary-tablist/Component.js';
|
|
8
|
-
import './index.module-
|
|
8
|
+
import './index.module-7ca9e703.js';
|
|
9
9
|
import './components/primary-tablist/Component.desktop.js';
|
|
10
10
|
import '@alfalab/core-components-tag/modern';
|
|
11
11
|
import './components/secondary-tablist/Component.js';
|
|
12
|
-
import './index.module-
|
|
12
|
+
import './index.module-e51ae308.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_8sfek","fullWidthScroll":"tabs__fullWidthScroll_8sfek","container":"tabs__container_8sfek","title":"tabs__title_8sfek","disabled":"tabs__disabled_8sfek","focused":"tabs__focused_8sfek","selected":"tabs__selected_8sfek","line":"tabs__line_8sfek","s":"tabs__s_8sfek","xs":"tabs__xs_8sfek","xxs":"tabs__xxs_8sfek","m":"tabs__m_8sfek","l":"tabs__l_8sfek","xl":"tabs__xl_8sfek","rightAddons":"tabs__rightAddons_8sfek"};
|
|
2
|
+
require('./components/primary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|