@alfalab/core-components-tabs 7.3.0 → 7.3.1
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.desktop.js +2 -2
- package/components/primary-tablist/Component.js +1 -1
- package/components/primary-tablist/Component.mobile.js +3 -3
- package/components/primary-tablist/Component.responsive.js +2 -2
- package/components/primary-tablist/index.css +29 -29
- package/components/primary-tablist/mobile.css +32 -32
- package/components/scrollable-container/Component.js +1 -1
- package/components/scrollable-container/index.css +5 -5
- package/components/secondary-tablist/Component.desktop.js +2 -2
- package/components/secondary-tablist/Component.js +1 -1
- package/components/secondary-tablist/Component.mobile.js +3 -3
- package/components/secondary-tablist/Component.responsive.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/components/tabs/Component.desktop.js +3 -3
- package/components/tabs/Component.mobile.js +3 -3
- package/components/tabs/Component.responsive.js +3 -3
- package/components/title/Component.js +1 -1
- package/components/title/index.js +1 -1
- package/desktop.js +3 -3
- package/esm/components/primary-tablist/Component.desktop.js +2 -2
- package/esm/components/primary-tablist/Component.js +1 -1
- package/esm/components/primary-tablist/Component.mobile.js +3 -3
- package/esm/components/primary-tablist/Component.responsive.js +2 -2
- package/esm/components/primary-tablist/index.css +29 -29
- package/esm/components/primary-tablist/mobile.css +32 -32
- 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 +2 -2
- package/esm/components/secondary-tablist/Component.js +1 -1
- package/esm/components/secondary-tablist/Component.mobile.js +3 -3
- package/esm/components/secondary-tablist/Component.responsive.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/components/tabs/Component.desktop.js +3 -3
- package/esm/components/tabs/Component.mobile.js +3 -3
- package/esm/components/tabs/Component.responsive.js +3 -3
- package/esm/components/title/Component.js +1 -1
- package/esm/components/title/index.js +1 -1
- package/esm/desktop.js +3 -3
- package/esm/hooks/use-collapsible-elements.js +1 -1
- package/esm/hooks/use-tablist-titles.js +1 -1
- package/esm/index.js +3 -3
- package/esm/index.module-68c9b9de.js +4 -0
- package/esm/index.module-a7b5a656.js +4 -0
- package/esm/mobile.js +3 -3
- package/esm/responsive.js +3 -3
- package/esm/synthetic-events.js +1 -1
- package/esm/{tslib.es6-991a0924.d.ts → tslib.es6-3747a020.d.ts} +0 -0
- package/esm/{tslib.es6-991a0924.js → tslib.es6-3747a020.js} +0 -0
- package/hooks/use-collapsible-elements.js +1 -1
- package/hooks/use-tablist-titles.js +1 -1
- package/index.js +3 -3
- package/index.module-396d3834.js +6 -0
- package/index.module-e526ba54.js +6 -0
- package/mobile.js +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 +29 -29
- package/modern/components/primary-tablist/mobile.css +32 -32
- 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 +13 -13
- 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.js +2 -2
- package/modern/index.module-21bf7188.js +4 -0
- package/modern/index.module-de52298e.js +4 -0
- package/modern/mobile.js +2 -2
- package/modern/responsive.js +2 -2
- package/package.json +2 -2
- package/responsive.js +3 -3
- package/synthetic-events.js +1 -1
- package/{tslib.es6-ab9150c8.d.ts → tslib.es6-72964df1.d.ts} +0 -0
- package/{tslib.es6-ab9150c8.js → tslib.es6-72964df1.js} +0 -0
- package/esm/index.module-307739e4.js +0 -4
- package/esm/index.module-426df292.js +0 -4
- package/index.module-5b87e23a.js +0 -6
- package/index.module-78610370.js +0 -6
- package/modern/index.module-e2287162.js +0 -4
- package/modern/index.module-f5a85c82.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: kh84b */
|
|
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_xep1h {
|
|
53
53
|
position: relative;
|
|
54
54
|
display: inline-flex;
|
|
55
|
-
}.
|
|
55
|
+
}.tabs__fullWidthScroll_xep1h {
|
|
56
56
|
margin: 0 var(--gap-m);
|
|
57
|
-
}.
|
|
57
|
+
}.tabs__container_xep1h {
|
|
58
58
|
overflow: hidden;
|
|
59
|
-
}.
|
|
59
|
+
}.tabs__title_xep1h {
|
|
60
60
|
white-space: nowrap;
|
|
61
|
-
}/* sizes */.
|
|
61
|
+
}/* sizes */.tabs__xxs_xep1h .tabs__title_xep1h + .tabs__title_xep1h {
|
|
62
62
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
63
|
-
}.
|
|
63
|
+
}.tabs__xs_xep1h .tabs__title_xep1h + .tabs__title_xep1h {
|
|
64
64
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
65
|
-
}.
|
|
65
|
+
}.tabs__s_xep1h .tabs__title_xep1h + .tabs__title_xep1h {
|
|
66
66
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
67
|
-
}.
|
|
67
|
+
}.tabs__m_xep1h .tabs__title_xep1h + .tabs__title_xep1h {
|
|
68
68
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
69
|
-
}.
|
|
69
|
+
}.tabs__l_xep1h .tabs__title_xep1h + .tabs__title_xep1h {
|
|
70
70
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
71
|
-
}.
|
|
71
|
+
}.tabs__xl_xep1h .tabs__title_xep1h + .tabs__title_xep1h {
|
|
72
72
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
73
73
|
}
|
|
74
74
|
:root {
|
|
@@ -885,8 +885,8 @@
|
|
|
885
885
|
/* size xl */
|
|
886
886
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
887
887
|
}
|
|
888
|
-
.
|
|
888
|
+
.tabs__title_hy89h {
|
|
889
889
|
}
|
|
890
|
-
.
|
|
890
|
+
.tabs__mobile_hy89h .tabs__title_hy89h + .tabs__title_hy89h {
|
|
891
891
|
margin-left: var(--secondary-tablist-mobile-gaps);
|
|
892
892
|
}
|
|
@@ -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_ygv2g","hidden":"tabs__hidden_ygv2g"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
var Tab = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-3747a020.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { PrimaryTabListDesktop } from '../primary-tablist/Component.desktop.js';
|
|
4
4
|
import { SecondaryTabListDesktop } from '../secondary-tablist/Component.desktop.js';
|
|
@@ -17,10 +17,10 @@ import '../../synthetic-events.js';
|
|
|
17
17
|
import '../scrollable-container/Component.js';
|
|
18
18
|
import 'compute-scroll-into-view';
|
|
19
19
|
import '../title/Component.js';
|
|
20
|
-
import '../../index.module-
|
|
20
|
+
import '../../index.module-68c9b9de.js';
|
|
21
21
|
import '../secondary-tablist/Component.js';
|
|
22
22
|
import '@alfalab/core-components-tag/esm';
|
|
23
|
-
import '../../index.module-
|
|
23
|
+
import '../../index.module-a7b5a656.js';
|
|
24
24
|
|
|
25
25
|
var views = {
|
|
26
26
|
primary: PrimaryTabListDesktop,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-3747a020.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { PrimaryTabListMobile } from '../primary-tablist/Component.mobile.js';
|
|
4
4
|
import { SecondaryTabListMobile } from '../secondary-tablist/Component.mobile.js';
|
|
@@ -17,10 +17,10 @@ import '../../synthetic-events.js';
|
|
|
17
17
|
import '../scrollable-container/Component.js';
|
|
18
18
|
import 'compute-scroll-into-view';
|
|
19
19
|
import '../title/Component.js';
|
|
20
|
-
import '../../index.module-
|
|
20
|
+
import '../../index.module-68c9b9de.js';
|
|
21
21
|
import '../secondary-tablist/Component.js';
|
|
22
22
|
import '@alfalab/core-components-tag/esm';
|
|
23
|
-
import '../../index.module-
|
|
23
|
+
import '../../index.module-a7b5a656.js';
|
|
24
24
|
|
|
25
25
|
var views = {
|
|
26
26
|
primary: PrimaryTabListMobile,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-3747a020.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { PrimaryTabListResponsive } from '../primary-tablist/Component.responsive.js';
|
|
4
4
|
import { SecondaryTabListResponsive } from '../secondary-tablist/Component.responsive.js';
|
|
@@ -18,12 +18,12 @@ import '../../synthetic-events.js';
|
|
|
18
18
|
import '../scrollable-container/Component.js';
|
|
19
19
|
import 'compute-scroll-into-view';
|
|
20
20
|
import '../title/Component.js';
|
|
21
|
-
import '../../index.module-
|
|
21
|
+
import '../../index.module-68c9b9de.js';
|
|
22
22
|
import '../primary-tablist/Component.mobile.js';
|
|
23
23
|
import '../secondary-tablist/Component.desktop.js';
|
|
24
24
|
import '../secondary-tablist/Component.js';
|
|
25
25
|
import '@alfalab/core-components-tag/esm';
|
|
26
|
-
import '../../index.module-
|
|
26
|
+
import '../../index.module-a7b5a656.js';
|
|
27
27
|
import '../secondary-tablist/Component.mobile.js';
|
|
28
28
|
|
|
29
29
|
var views = {
|
package/esm/desktop.js
CHANGED
|
@@ -5,7 +5,7 @@ export { Tab } from './components/tab/Component.js';
|
|
|
5
5
|
export { TabsDesktop } from './components/tabs/Component.desktop.js';
|
|
6
6
|
export { useTabs } from './hooks/use-tabs.js';
|
|
7
7
|
export { useCollapsibleElements } from './hooks/use-collapsible-elements.js';
|
|
8
|
-
import './tslib.es6-
|
|
8
|
+
import './tslib.es6-3747a020.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import './components/primary-tablist/Component.js';
|
|
11
11
|
import 'classnames';
|
|
@@ -16,10 +16,10 @@ import './hooks/use-tablist-titles.js';
|
|
|
16
16
|
import '@alfalab/hooks';
|
|
17
17
|
import './synthetic-events.js';
|
|
18
18
|
import './components/title/Component.js';
|
|
19
|
-
import './index.module-
|
|
19
|
+
import './index.module-68c9b9de.js';
|
|
20
20
|
import 'compute-scroll-into-view';
|
|
21
21
|
import './components/secondary-tablist/Component.js';
|
|
22
22
|
import '@alfalab/core-components-tag/esm';
|
|
23
|
-
import './index.module-
|
|
23
|
+
import './index.module-a7b5a656.js';
|
|
24
24
|
import './components/tabs/Component.js';
|
|
25
25
|
import '@juggle/resize-observer';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { b as __spreadArray } from '../tslib.es6-3747a020.js';
|
|
2
2
|
import { useState, useRef } from 'react';
|
|
3
3
|
import { ResizeObserver } from '@juggle/resize-observer';
|
|
4
4
|
import { useLayoutEffect_SAFE_FOR_SSR } from '@alfalab/hooks';
|
package/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@ export { SecondaryTabListResponsive } from './components/secondary-tablist/Compo
|
|
|
4
4
|
export { Tab } from './components/tab/Component.js';
|
|
5
5
|
export { TabsResponsive } from './components/tabs/Component.responsive.js';
|
|
6
6
|
export { useTabs } from './hooks/use-tabs.js';
|
|
7
|
-
import './tslib.es6-
|
|
7
|
+
import './tslib.es6-3747a020.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import '@alfalab/hooks';
|
|
10
10
|
import './components/primary-tablist/Component.desktop.js';
|
|
@@ -19,11 +19,11 @@ import '@juggle/resize-observer';
|
|
|
19
19
|
import './synthetic-events.js';
|
|
20
20
|
import './components/title/Component.js';
|
|
21
21
|
import 'compute-scroll-into-view';
|
|
22
|
-
import './index.module-
|
|
22
|
+
import './index.module-68c9b9de.js';
|
|
23
23
|
import './components/primary-tablist/Component.mobile.js';
|
|
24
24
|
import './components/secondary-tablist/Component.desktop.js';
|
|
25
25
|
import './components/secondary-tablist/Component.js';
|
|
26
26
|
import '@alfalab/core-components-tag/esm';
|
|
27
|
-
import './index.module-
|
|
27
|
+
import './index.module-a7b5a656.js';
|
|
28
28
|
import './components/secondary-tablist/Component.mobile.js';
|
|
29
29
|
import './components/tabs/Component.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"tabs__component_1hdca","fullWidthScroll":"tabs__fullWidthScroll_1hdca","container":"tabs__container_1hdca","title":"tabs__title_1hdca","disabled":"tabs__disabled_1hdca","focused":"tabs__focused_1hdca","collapsed":"tabs__collapsed_1hdca","selected":"tabs__selected_1hdca","line":"tabs__line_1hdca","s":"tabs__s_1hdca","xs":"tabs__xs_1hdca","xxs":"tabs__xxs_1hdca","pickerWrapper":"tabs__pickerWrapper_1hdca","option":"tabs__option_1hdca","m":"tabs__m_1hdca","l":"tabs__l_1hdca","xl":"tabs__xl_1hdca","rightAddons":"tabs__rightAddons_1hdca"};
|
|
2
|
+
require('./components/primary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"tabs__component_xep1h","fullWidthScroll":"tabs__fullWidthScroll_xep1h","container":"tabs__container_xep1h","title":"tabs__title_xep1h","xxs":"tabs__xxs_xep1h","xs":"tabs__xs_xep1h","s":"tabs__s_xep1h","m":"tabs__m_xep1h","l":"tabs__l_xep1h","xl":"tabs__xl_xep1h"};
|
|
2
|
+
require('./components/secondary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
package/esm/mobile.js
CHANGED
|
@@ -4,7 +4,7 @@ export { SecondaryTabListMobile } from './components/secondary-tablist/Component
|
|
|
4
4
|
export { Tab } from './components/tab/Component.js';
|
|
5
5
|
export { TabsMobile } from './components/tabs/Component.mobile.js';
|
|
6
6
|
export { useTabs } from './hooks/use-tabs.js';
|
|
7
|
-
import './tslib.es6-
|
|
7
|
+
import './tslib.es6-3747a020.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import 'classnames';
|
|
10
10
|
import './components/primary-tablist/Component.js';
|
|
@@ -18,8 +18,8 @@ import '@juggle/resize-observer';
|
|
|
18
18
|
import './synthetic-events.js';
|
|
19
19
|
import './components/title/Component.js';
|
|
20
20
|
import 'compute-scroll-into-view';
|
|
21
|
-
import './index.module-
|
|
21
|
+
import './index.module-68c9b9de.js';
|
|
22
22
|
import './components/secondary-tablist/Component.js';
|
|
23
23
|
import '@alfalab/core-components-tag/esm';
|
|
24
|
-
import './index.module-
|
|
24
|
+
import './index.module-a7b5a656.js';
|
|
25
25
|
import './components/tabs/Component.js';
|
package/esm/responsive.js
CHANGED
|
@@ -5,7 +5,7 @@ export { Tab } from './components/tab/Component.js';
|
|
|
5
5
|
export { TabsResponsive } from './components/tabs/Component.responsive.js';
|
|
6
6
|
export { useTabs } from './hooks/use-tabs.js';
|
|
7
7
|
export { useCollapsibleElements } from './hooks/use-collapsible-elements.js';
|
|
8
|
-
import './tslib.es6-
|
|
8
|
+
import './tslib.es6-3747a020.js';
|
|
9
9
|
import 'react';
|
|
10
10
|
import '@alfalab/hooks';
|
|
11
11
|
import './components/primary-tablist/Component.desktop.js';
|
|
@@ -19,11 +19,11 @@ import '@juggle/resize-observer';
|
|
|
19
19
|
import './synthetic-events.js';
|
|
20
20
|
import './components/title/Component.js';
|
|
21
21
|
import 'compute-scroll-into-view';
|
|
22
|
-
import './index.module-
|
|
22
|
+
import './index.module-68c9b9de.js';
|
|
23
23
|
import './components/primary-tablist/Component.mobile.js';
|
|
24
24
|
import './components/secondary-tablist/Component.desktop.js';
|
|
25
25
|
import './components/secondary-tablist/Component.js';
|
|
26
26
|
import '@alfalab/core-components-tag/esm';
|
|
27
|
-
import './index.module-
|
|
27
|
+
import './index.module-a7b5a656.js';
|
|
28
28
|
import './components/secondary-tablist/Component.mobile.js';
|
|
29
29
|
import './components/tabs/Component.js';
|
package/esm/synthetic-events.js
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var tslib_es6 = require('../tslib.es6-
|
|
3
|
+
var tslib_es6 = require('../tslib.es6-72964df1.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var hooks = require('@alfalab/hooks');
|
|
6
6
|
var hooks_useCollapsibleElements = require('./use-collapsible-elements.js');
|
package/index.js
CHANGED
|
@@ -6,7 +6,7 @@ var components_secondaryTablist_Component_responsive = require('./components/sec
|
|
|
6
6
|
var components_tab_Component = require('./components/tab/Component.js');
|
|
7
7
|
var components_tabs_Component_responsive = require('./components/tabs/Component.responsive.js');
|
|
8
8
|
var hooks_useTabs = require('./hooks/use-tabs.js');
|
|
9
|
-
require('./tslib.es6-
|
|
9
|
+
require('./tslib.es6-72964df1.js');
|
|
10
10
|
require('react');
|
|
11
11
|
require('@alfalab/hooks');
|
|
12
12
|
require('./components/primary-tablist/Component.desktop.js');
|
|
@@ -21,12 +21,12 @@ require('@juggle/resize-observer');
|
|
|
21
21
|
require('./synthetic-events.js');
|
|
22
22
|
require('./components/title/Component.js');
|
|
23
23
|
require('compute-scroll-into-view');
|
|
24
|
-
require('./index.module-
|
|
24
|
+
require('./index.module-e526ba54.js');
|
|
25
25
|
require('./components/primary-tablist/Component.mobile.js');
|
|
26
26
|
require('./components/secondary-tablist/Component.desktop.js');
|
|
27
27
|
require('./components/secondary-tablist/Component.js');
|
|
28
28
|
require('@alfalab/core-components-tag');
|
|
29
|
-
require('./index.module-
|
|
29
|
+
require('./index.module-396d3834.js');
|
|
30
30
|
require('./components/secondary-tablist/Component.mobile.js');
|
|
31
31
|
require('./components/tabs/Component.js');
|
|
32
32
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var commonStyles = {"component":"tabs__component_xep1h","fullWidthScroll":"tabs__fullWidthScroll_xep1h","container":"tabs__container_xep1h","title":"tabs__title_xep1h","xxs":"tabs__xxs_xep1h","xs":"tabs__xs_xep1h","s":"tabs__s_xep1h","m":"tabs__m_xep1h","l":"tabs__l_xep1h","xl":"tabs__xl_xep1h"};
|
|
4
|
+
require('./components/secondary-tablist/index.css')
|
|
5
|
+
|
|
6
|
+
exports.commonStyles = commonStyles;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var commonStyles = {"component":"tabs__component_1hdca","fullWidthScroll":"tabs__fullWidthScroll_1hdca","container":"tabs__container_1hdca","title":"tabs__title_1hdca","disabled":"tabs__disabled_1hdca","focused":"tabs__focused_1hdca","collapsed":"tabs__collapsed_1hdca","selected":"tabs__selected_1hdca","line":"tabs__line_1hdca","s":"tabs__s_1hdca","xs":"tabs__xs_1hdca","xxs":"tabs__xxs_1hdca","pickerWrapper":"tabs__pickerWrapper_1hdca","option":"tabs__option_1hdca","m":"tabs__m_1hdca","l":"tabs__l_1hdca","xl":"tabs__xl_1hdca","rightAddons":"tabs__rightAddons_1hdca"};
|
|
4
|
+
require('./components/primary-tablist/index.css')
|
|
5
|
+
|
|
6
|
+
exports.commonStyles = commonStyles;
|
package/mobile.js
CHANGED
|
@@ -6,7 +6,7 @@ var components_secondaryTablist_Component_mobile = require('./components/seconda
|
|
|
6
6
|
var components_tab_Component = require('./components/tab/Component.js');
|
|
7
7
|
var components_tabs_Component_mobile = require('./components/tabs/Component.mobile.js');
|
|
8
8
|
var hooks_useTabs = require('./hooks/use-tabs.js');
|
|
9
|
-
require('./tslib.es6-
|
|
9
|
+
require('./tslib.es6-72964df1.js');
|
|
10
10
|
require('react');
|
|
11
11
|
require('classnames');
|
|
12
12
|
require('./components/primary-tablist/Component.js');
|
|
@@ -20,10 +20,10 @@ require('@juggle/resize-observer');
|
|
|
20
20
|
require('./synthetic-events.js');
|
|
21
21
|
require('./components/title/Component.js');
|
|
22
22
|
require('compute-scroll-into-view');
|
|
23
|
-
require('./index.module-
|
|
23
|
+
require('./index.module-e526ba54.js');
|
|
24
24
|
require('./components/secondary-tablist/Component.js');
|
|
25
25
|
require('@alfalab/core-components-tag');
|
|
26
|
-
require('./index.module-
|
|
26
|
+
require('./index.module-396d3834.js');
|
|
27
27
|
require('./components/tabs/Component.js');
|
|
28
28
|
|
|
29
29
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PrimaryTabList } from './Component.js';
|
|
3
|
-
import { c as commonStyles } from '../../index.module-
|
|
3
|
+
import { c as commonStyles } from '../../index.module-21bf7188.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/core-components-badge/modern';
|
|
6
6
|
import '@alfalab/core-components-keyboard-focusable/modern';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { PrimaryTabList } from './Component.js';
|
|
4
|
-
import { c as commonStyles } from '../../index.module-
|
|
4
|
+
import { c as commonStyles } from '../../index.module-21bf7188.js';
|
|
5
5
|
import '@alfalab/core-components-badge/modern';
|
|
6
6
|
import '@alfalab/core-components-keyboard-focusable/modern';
|
|
7
7
|
import '@alfalab/core-components-picker-button/modern/desktop';
|
|
@@ -15,7 +15,7 @@ import '../scrollable-container/Component.js';
|
|
|
15
15
|
import 'compute-scroll-into-view';
|
|
16
16
|
import '../title/Component.js';
|
|
17
17
|
|
|
18
|
-
const mobileStyles = {"title":"
|
|
18
|
+
const mobileStyles = {"title":"tabs__title_1mh0j tabs__title_1hdca","mobile":"tabs__mobile_1mh0j"};
|
|
19
19
|
require('./mobile.css')
|
|
20
20
|
|
|
21
21
|
const styles = {
|
|
@@ -15,7 +15,7 @@ import '../../synthetic-events.js';
|
|
|
15
15
|
import '../scrollable-container/Component.js';
|
|
16
16
|
import 'compute-scroll-into-view';
|
|
17
17
|
import '../title/Component.js';
|
|
18
|
-
import '../../index.module-
|
|
18
|
+
import '../../index.module-21bf7188.js';
|
|
19
19
|
|
|
20
20
|
const PrimaryTabListResponsive = ({ size, defaultMatch = 'desktop', collapsible, collapsedTabsIds, fullWidthScroll, ...restProps }) => {
|
|
21
21
|
const [view] = useMedia([
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1979e */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-accent: #ef3124;
|
|
4
4
|
--color-light-border-link: #007aff;
|
|
@@ -83,12 +83,12 @@
|
|
|
83
83
|
|
|
84
84
|
/* size xl */
|
|
85
85
|
}
|
|
86
|
-
.
|
|
86
|
+
.tabs__component_1hdca {
|
|
87
87
|
position: relative;
|
|
88
88
|
display: inline-flex;
|
|
89
89
|
min-width: 100%
|
|
90
90
|
}
|
|
91
|
-
.
|
|
91
|
+
.tabs__component_1hdca:before {
|
|
92
92
|
content: '';
|
|
93
93
|
display: block;
|
|
94
94
|
position: absolute;
|
|
@@ -97,15 +97,15 @@
|
|
|
97
97
|
width: 100%;
|
|
98
98
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
99
99
|
}
|
|
100
|
-
.
|
|
100
|
+
.tabs__fullWidthScroll_1hdca {
|
|
101
101
|
min-width: calc(100% - 2 * var(--gap-m));
|
|
102
102
|
margin: 0 var(--gap-m);
|
|
103
103
|
}
|
|
104
|
-
.
|
|
104
|
+
.tabs__container_1hdca {
|
|
105
105
|
position: relative;
|
|
106
106
|
overflow: hidden;
|
|
107
107
|
}
|
|
108
|
-
.
|
|
108
|
+
.tabs__title_1hdca {
|
|
109
109
|
display: flex;
|
|
110
110
|
align-items: center;
|
|
111
111
|
height: 100%;
|
|
@@ -123,26 +123,26 @@
|
|
|
123
123
|
cursor: pointer;
|
|
124
124
|
outline: none
|
|
125
125
|
}
|
|
126
|
-
.
|
|
126
|
+
.tabs__title_1hdca:not(.tabs__disabled_1hdca):hover {
|
|
127
127
|
color: var(--primary-tablist-hover-color);
|
|
128
128
|
}
|
|
129
|
-
.
|
|
129
|
+
.tabs__focused_1hdca {
|
|
130
130
|
outline: 2px solid var(--focus-color);
|
|
131
131
|
outline-offset: 2px;
|
|
132
132
|
}
|
|
133
|
-
.
|
|
133
|
+
.tabs__collapsed_1hdca {
|
|
134
134
|
order: 99;
|
|
135
135
|
visibility: collapse;
|
|
136
136
|
}
|
|
137
|
-
.
|
|
137
|
+
.tabs__selected_1hdca {
|
|
138
138
|
cursor: default;
|
|
139
139
|
color: var(--primary-tablist-selected-color);
|
|
140
140
|
}
|
|
141
|
-
.
|
|
141
|
+
.tabs__disabled_1hdca {
|
|
142
142
|
cursor: var(--disabled-cursor);
|
|
143
143
|
color: var(--primary-tablist-disabled-color);
|
|
144
144
|
}
|
|
145
|
-
.
|
|
145
|
+
.tabs__line_1hdca {
|
|
146
146
|
position: absolute;
|
|
147
147
|
height: 3px;
|
|
148
148
|
bottom: 0;
|
|
@@ -151,71 +151,71 @@
|
|
|
151
151
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
152
152
|
}
|
|
153
153
|
/* sizes */
|
|
154
|
-
.
|
|
154
|
+
.tabs__s_1hdca .tabs__title_1hdca, .tabs__xs_1hdca .tabs__title_1hdca, .tabs__xxs_1hdca .tabs__title_1hdca {
|
|
155
155
|
padding: var(--primary-tablist-s-padding);
|
|
156
156
|
font-size: var(--primary-tablist-s-font-size);
|
|
157
157
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
158
158
|
font-family: var(--primary-tablist-s-font-family);
|
|
159
159
|
line-height: 24px;
|
|
160
160
|
}
|
|
161
|
-
.
|
|
161
|
+
.tabs__s_1hdca .tabs__title_1hdca + .tabs__title_1hdca, .tabs__xs_1hdca .tabs__title_1hdca + .tabs__title_1hdca, .tabs__xxs_1hdca .tabs__title_1hdca + .tabs__title_1hdca {
|
|
162
162
|
margin-left: var(--primary-tablist-s-gaps);
|
|
163
163
|
}
|
|
164
|
-
.
|
|
164
|
+
.tabs__s_1hdca .tabs__pickerWrapper_1hdca, .tabs__xs_1hdca .tabs__pickerWrapper_1hdca, .tabs__xxs_1hdca .tabs__pickerWrapper_1hdca {
|
|
165
165
|
margin-left: var(--primary-tablist-s-gaps);
|
|
166
166
|
}
|
|
167
|
-
.
|
|
167
|
+
.tabs__s_1hdca .tabs__option_1hdca, .tabs__xs_1hdca .tabs__option_1hdca, .tabs__xxs_1hdca .tabs__option_1hdca {
|
|
168
168
|
padding: 0;
|
|
169
169
|
}
|
|
170
|
-
.
|
|
170
|
+
.tabs__m_1hdca .tabs__title_1hdca {
|
|
171
171
|
padding: var(--primary-tablist-m-padding);
|
|
172
172
|
font-size: var(--primary-tablist-m-font-size);
|
|
173
173
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
174
174
|
font-family: var(--primary-tablist-m-font-family);
|
|
175
175
|
line-height: 24px;
|
|
176
176
|
}
|
|
177
|
-
.
|
|
177
|
+
.tabs__m_1hdca .tabs__title_1hdca + .tabs__title_1hdca {
|
|
178
178
|
margin-left: var(--primary-tablist-m-gaps);
|
|
179
179
|
}
|
|
180
|
-
.
|
|
180
|
+
.tabs__m_1hdca .tabs__pickerWrapper_1hdca {
|
|
181
181
|
margin-left: var(--primary-tablist-m-gaps);
|
|
182
182
|
}
|
|
183
|
-
.
|
|
183
|
+
.tabs__m_1hdca .tabs__option_1hdca {
|
|
184
184
|
padding: 0;
|
|
185
185
|
}
|
|
186
|
-
.
|
|
186
|
+
.tabs__l_1hdca .tabs__title_1hdca {
|
|
187
187
|
padding: var(--primary-tablist-l-padding);
|
|
188
188
|
font-size: var(--primary-tablist-l-font-size);
|
|
189
189
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
190
190
|
font-family: var(--primary-tablist-l-font-family);
|
|
191
191
|
line-height: 24px;
|
|
192
192
|
}
|
|
193
|
-
.
|
|
193
|
+
.tabs__l_1hdca .tabs__title_1hdca + .tabs__title_1hdca {
|
|
194
194
|
margin-left: var(--primary-tablist-l-gaps);
|
|
195
195
|
}
|
|
196
|
-
.
|
|
196
|
+
.tabs__l_1hdca .tabs__pickerWrapper_1hdca {
|
|
197
197
|
margin-left: var(--primary-tablist-l-gaps);
|
|
198
198
|
}
|
|
199
|
-
.
|
|
199
|
+
.tabs__l_1hdca .tabs__option_1hdca {
|
|
200
200
|
padding: 0;
|
|
201
201
|
}
|
|
202
|
-
.
|
|
202
|
+
.tabs__xl_1hdca .tabs__title_1hdca {
|
|
203
203
|
padding: var(--primary-tablist-xl-padding);
|
|
204
204
|
font-size: var(--primary-tablist-xl-font-size);
|
|
205
205
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
206
206
|
font-family: var(--primary-tablist-xl-font-family);
|
|
207
207
|
line-height: 32px;
|
|
208
208
|
}
|
|
209
|
-
.
|
|
209
|
+
.tabs__xl_1hdca .tabs__title_1hdca + .tabs__title_1hdca {
|
|
210
210
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
211
211
|
}
|
|
212
|
-
.
|
|
212
|
+
.tabs__xl_1hdca .tabs__pickerWrapper_1hdca {
|
|
213
213
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
214
214
|
}
|
|
215
|
-
.
|
|
215
|
+
.tabs__xl_1hdca .tabs__option_1hdca {
|
|
216
216
|
padding: 0;
|
|
217
217
|
}
|
|
218
|
-
.
|
|
218
|
+
.tabs__rightAddons_1hdca {
|
|
219
219
|
display: flex;
|
|
220
220
|
justify-content: center;
|
|
221
221
|
align-items: center;
|