@alfalab/core-components-tabs 6.2.2 → 6.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -47
- package/dist/components/primary-tablist/Component.desktop.js +2 -2
- package/dist/components/primary-tablist/Component.js +1 -1
- package/dist/components/primary-tablist/Component.mobile.js +3 -3
- package/dist/components/primary-tablist/Component.responsive.js +2 -2
- package/dist/components/primary-tablist/index.css +19 -19
- package/dist/components/primary-tablist/mobile.css +21 -21
- package/dist/components/scrollable-container/Component.js +1 -1
- package/dist/components/scrollable-container/index.css +4 -4
- package/dist/components/secondary-tablist/Component.desktop.js +2 -2
- package/dist/components/secondary-tablist/Component.js +1 -1
- package/dist/components/secondary-tablist/Component.mobile.js +3 -3
- package/dist/components/secondary-tablist/Component.responsive.js +2 -2
- package/dist/components/secondary-tablist/index.css +10 -10
- package/dist/components/secondary-tablist/mobile.css +12 -12
- package/dist/components/tab/Component.js +1 -1
- package/dist/components/tab/index.css +3 -3
- package/dist/components/tabs/Component.desktop.js +3 -3
- package/dist/components/tabs/Component.mobile.js +3 -3
- package/dist/components/tabs/Component.responsive.js +3 -3
- package/dist/desktop.js +3 -3
- package/dist/esm/components/primary-tablist/Component.desktop.js +2 -2
- package/dist/esm/components/primary-tablist/Component.js +1 -1
- package/dist/esm/components/primary-tablist/Component.mobile.js +3 -3
- package/dist/esm/components/primary-tablist/Component.responsive.js +2 -2
- package/dist/esm/components/primary-tablist/index.css +19 -19
- package/dist/esm/components/primary-tablist/mobile.css +21 -21
- package/dist/esm/components/scrollable-container/Component.js +1 -1
- package/dist/esm/components/scrollable-container/index.css +4 -4
- package/dist/esm/components/secondary-tablist/Component.desktop.js +2 -2
- package/dist/esm/components/secondary-tablist/Component.js +1 -1
- package/dist/esm/components/secondary-tablist/Component.mobile.js +3 -3
- package/dist/esm/components/secondary-tablist/Component.responsive.js +2 -2
- package/dist/esm/components/secondary-tablist/index.css +10 -10
- package/dist/esm/components/secondary-tablist/mobile.css +12 -12
- package/dist/esm/components/tab/Component.js +1 -1
- package/dist/esm/components/tab/index.css +3 -3
- package/dist/esm/components/tabs/Component.desktop.js +3 -3
- package/dist/esm/components/tabs/Component.mobile.js +3 -3
- package/dist/esm/components/tabs/Component.responsive.js +3 -3
- package/dist/esm/desktop.js +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.module-0dbe4577.js +4 -0
- package/dist/esm/index.module-5b4a53cf.js +4 -0
- package/dist/esm/mobile.js +3 -3
- package/dist/esm/responsive.js +3 -3
- package/dist/esm/{tslib.es6-9b996690.d.ts → tslib.es6-cad1610b.d.ts} +0 -0
- package/dist/esm/{tslib.es6-9b996690.js → tslib.es6-cad1610b.js} +0 -0
- package/dist/index.js +3 -3
- package/dist/index.module-5b94e085.js +6 -0
- package/dist/index.module-7b52c74b.js +6 -0
- package/dist/mobile.js +3 -3
- package/dist/modern/components/primary-tablist/Component.desktop.js +1 -1
- package/dist/modern/components/primary-tablist/Component.mobile.js +2 -2
- package/dist/modern/components/primary-tablist/Component.responsive.js +1 -1
- package/dist/modern/components/primary-tablist/index.css +19 -19
- package/dist/modern/components/primary-tablist/mobile.css +21 -21
- package/dist/modern/components/scrollable-container/Component.js +1 -1
- package/dist/modern/components/scrollable-container/index.css +4 -4
- package/dist/modern/components/secondary-tablist/Component.desktop.js +1 -1
- package/dist/modern/components/secondary-tablist/Component.mobile.js +2 -2
- package/dist/modern/components/secondary-tablist/Component.responsive.js +1 -1
- package/dist/modern/components/secondary-tablist/index.css +10 -10
- package/dist/modern/components/secondary-tablist/mobile.css +12 -12
- package/dist/modern/components/tab/Component.js +1 -1
- package/dist/modern/components/tab/index.css +3 -3
- package/dist/modern/components/tabs/Component.desktop.js +2 -2
- package/dist/modern/components/tabs/Component.mobile.js +2 -2
- package/dist/modern/components/tabs/Component.responsive.js +2 -2
- package/dist/modern/desktop.js +2 -2
- package/dist/modern/index.js +2 -2
- package/dist/modern/index.module-0dbe4577.js +4 -0
- package/dist/modern/index.module-5b4a53cf.js +4 -0
- package/dist/modern/mobile.js +2 -2
- package/dist/modern/responsive.js +2 -2
- package/dist/responsive.js +3 -3
- package/dist/{tslib.es6-e89c9d98.d.ts → tslib.es6-b6f2e966.d.ts} +0 -0
- package/dist/{tslib.es6-e89c9d98.js → tslib.es6-b6f2e966.js} +0 -0
- package/package.json +4 -4
- package/dist/esm/index.module-1fc6dbc5.js +0 -4
- package/dist/esm/index.module-9bcdb0c4.js +0 -4
- package/dist/index.module-33cc127a.js +0 -6
- package/dist/index.module-f07c0ef4.js +0 -6
- package/dist/modern/index.module-1fc6dbc5.js +0 -4
- package/dist/modern/index.module-9bcdb0c4.js +0 -4
|
@@ -12,7 +12,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
12
12
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
13
13
|
var computeScrollIntoView__default = /*#__PURE__*/_interopDefaultLegacy(computeScrollIntoView);
|
|
14
14
|
|
|
15
|
-
var styles = {"container":"
|
|
15
|
+
var styles = {"container":"tabs__container_cho9k"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
var ScrollableContainer = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: kpd18 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
/* size xl */
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.tabs__container_cho9k {
|
|
37
37
|
position: relative;
|
|
38
38
|
display: flex;
|
|
39
39
|
align-items: center;
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
overflow-y: hidden;
|
|
42
42
|
scrollbar-width: none
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.tabs__container_cho9k::-webkit-scrollbar {
|
|
45
45
|
display: none;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.tabs__container_cho9k > * {
|
|
48
48
|
flex-shrink: 0;
|
|
49
49
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-b6f2e966.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('compute-scroll-into-view');
|
|
@@ -10,7 +10,7 @@ require('../scrollable-container/Component.js');
|
|
|
10
10
|
require('../../useTabs.js');
|
|
11
11
|
require('@alfalab/core-components-tag');
|
|
12
12
|
var components_secondaryTablist_Component = require('./Component.js');
|
|
13
|
-
var index_module = require('../../index.module-
|
|
13
|
+
var index_module = require('../../index.module-7b52c74b.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
16
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-b6f2e966.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
require('compute-scroll-into-view');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-b6f2e966.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var cn = require('classnames');
|
|
8
8
|
require('compute-scroll-into-view');
|
|
@@ -10,14 +10,14 @@ require('../scrollable-container/Component.js');
|
|
|
10
10
|
require('../../useTabs.js');
|
|
11
11
|
require('@alfalab/core-components-tag');
|
|
12
12
|
var components_secondaryTablist_Component = require('./Component.js');
|
|
13
|
-
var index_module = require('../../index.module-
|
|
13
|
+
var index_module = require('../../index.module-7b52c74b.js');
|
|
14
14
|
|
|
15
15
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
16
16
|
|
|
17
17
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
18
18
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
19
19
|
|
|
20
|
-
var mobileStyles = {"title":"
|
|
20
|
+
var mobileStyles = {"title":"tabs__title_1bh5r tabs__title_1qomx"};
|
|
21
21
|
require('./mobile.css')
|
|
22
22
|
|
|
23
23
|
var styles = tslib_es6.__assign(tslib_es6.__assign({}, index_module.commonStyles), mobileStyles);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-b6f2e966.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('compute-scroll-into-view');
|
|
@@ -10,7 +10,7 @@ require('../scrollable-container/Component.js');
|
|
|
10
10
|
require('../../useTabs.js');
|
|
11
11
|
require('@alfalab/core-components-tag');
|
|
12
12
|
require('./Component.js');
|
|
13
|
-
require('../../index.module-
|
|
13
|
+
require('../../index.module-7b52c74b.js');
|
|
14
14
|
var components_secondaryTablist_Component_desktop = require('./Component.desktop.js');
|
|
15
15
|
var hooks = require('@alfalab/hooks');
|
|
16
16
|
var components_secondaryTablist_Component_mobile = require('./Component.mobile.js');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 12kfl */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -44,34 +44,34 @@
|
|
|
44
44
|
/* size xl */
|
|
45
45
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.tabs__component_1qomx {
|
|
48
48
|
position: relative;
|
|
49
49
|
display: flex;
|
|
50
50
|
align-items: center;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.tabs__container_1qomx {
|
|
53
53
|
display: flex;
|
|
54
54
|
align-items: center;
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.tabs__title_1qomx {
|
|
57
57
|
white-space: nowrap;
|
|
58
58
|
}
|
|
59
59
|
/* sizes */
|
|
60
|
-
.
|
|
60
|
+
.tabs__xxs_1qomx .tabs__title_1qomx + .tabs__title_1qomx {
|
|
61
61
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
.tabs__xs_1qomx .tabs__title_1qomx + .tabs__title_1qomx {
|
|
64
64
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
.tabs__s_1qomx .tabs__title_1qomx + .tabs__title_1qomx {
|
|
67
67
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
.tabs__m_1qomx .tabs__title_1qomx + .tabs__title_1qomx {
|
|
70
70
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
71
71
|
}
|
|
72
|
-
.
|
|
72
|
+
.tabs__l_1qomx .tabs__title_1qomx + .tabs__title_1qomx {
|
|
73
73
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
74
74
|
}
|
|
75
|
-
.
|
|
75
|
+
.tabs__xl_1qomx .tabs__title_1qomx + .tabs__title_1qomx {
|
|
76
76
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
77
77
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: j235q */
|
|
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_1qomx {
|
|
53
53
|
position: relative;
|
|
54
54
|
display: flex;
|
|
55
55
|
align-items: center;
|
|
56
|
-
}.
|
|
56
|
+
}.tabs__container_1qomx {
|
|
57
57
|
display: flex;
|
|
58
58
|
align-items: center;
|
|
59
|
-
}.
|
|
59
|
+
}.tabs__title_1qomx {
|
|
60
60
|
white-space: nowrap;
|
|
61
|
-
}/* sizes */.
|
|
61
|
+
}/* sizes */.tabs__xxs_1qomx .tabs__title_1qomx + .tabs__title_1qomx {
|
|
62
62
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
63
|
-
}.
|
|
63
|
+
}.tabs__xs_1qomx .tabs__title_1qomx + .tabs__title_1qomx {
|
|
64
64
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
65
|
-
}.
|
|
65
|
+
}.tabs__s_1qomx .tabs__title_1qomx + .tabs__title_1qomx {
|
|
66
66
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
67
|
-
}.
|
|
67
|
+
}.tabs__m_1qomx .tabs__title_1qomx + .tabs__title_1qomx {
|
|
68
68
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
69
|
-
}.
|
|
69
|
+
}.tabs__l_1qomx .tabs__title_1qomx + .tabs__title_1qomx {
|
|
70
70
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
71
|
-
}.
|
|
71
|
+
}.tabs__xl_1qomx .tabs__title_1qomx + .tabs__title_1qomx {
|
|
72
72
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
73
73
|
}
|
|
74
74
|
:root {
|
|
@@ -734,8 +734,8 @@
|
|
|
734
734
|
/* size xl */
|
|
735
735
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
736
736
|
}
|
|
737
|
-
.
|
|
737
|
+
.tabs__title_1bh5r {
|
|
738
738
|
}
|
|
739
|
-
.
|
|
739
|
+
.tabs__title_1bh5r + .tabs__title_1bh5r {
|
|
740
740
|
margin-left: var(--secondary-tablist-mobile-gaps);
|
|
741
741
|
}
|
|
@@ -10,7 +10,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
10
10
|
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
11
11
|
var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
|
|
12
12
|
|
|
13
|
-
var styles = {"component":"
|
|
13
|
+
var styles = {"component":"tabs__component_wyypi","hidden":"tabs__hidden_wyypi"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
var Tab = function (_a) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-b6f2e966.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
require('classnames');
|
|
@@ -10,11 +10,11 @@ require('compute-scroll-into-view');
|
|
|
10
10
|
require('../scrollable-container/Component.js');
|
|
11
11
|
require('../../useTabs.js');
|
|
12
12
|
require('../primary-tablist/Component.js');
|
|
13
|
-
require('../../index.module-
|
|
13
|
+
require('../../index.module-5b94e085.js');
|
|
14
14
|
var components_primaryTablist_Component_desktop = require('../primary-tablist/Component.desktop.js');
|
|
15
15
|
require('@alfalab/core-components-tag');
|
|
16
16
|
require('../secondary-tablist/Component.js');
|
|
17
|
-
require('../../index.module-
|
|
17
|
+
require('../../index.module-7b52c74b.js');
|
|
18
18
|
var components_secondaryTablist_Component_desktop = require('../secondary-tablist/Component.desktop.js');
|
|
19
19
|
var components_tabs_Component = require('./Component.js');
|
|
20
20
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-b6f2e966.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
require('classnames');
|
|
@@ -10,10 +10,10 @@ require('compute-scroll-into-view');
|
|
|
10
10
|
require('../scrollable-container/Component.js');
|
|
11
11
|
require('../../useTabs.js');
|
|
12
12
|
require('../primary-tablist/Component.js');
|
|
13
|
-
require('../../index.module-
|
|
13
|
+
require('../../index.module-5b94e085.js');
|
|
14
14
|
require('@alfalab/core-components-tag');
|
|
15
15
|
require('../secondary-tablist/Component.js');
|
|
16
|
-
require('../../index.module-
|
|
16
|
+
require('../../index.module-7b52c74b.js');
|
|
17
17
|
var components_tabs_Component = require('./Component.js');
|
|
18
18
|
var components_primaryTablist_Component_mobile = require('../primary-tablist/Component.mobile.js');
|
|
19
19
|
var components_secondaryTablist_Component_mobile = require('../secondary-tablist/Component.mobile.js');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-b6f2e966.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
require('classnames');
|
|
@@ -10,11 +10,11 @@ require('compute-scroll-into-view');
|
|
|
10
10
|
require('../scrollable-container/Component.js');
|
|
11
11
|
require('../../useTabs.js');
|
|
12
12
|
require('../primary-tablist/Component.js');
|
|
13
|
-
require('../../index.module-
|
|
13
|
+
require('../../index.module-5b94e085.js');
|
|
14
14
|
require('../primary-tablist/Component.desktop.js');
|
|
15
15
|
require('@alfalab/core-components-tag');
|
|
16
16
|
require('../secondary-tablist/Component.js');
|
|
17
|
-
require('../../index.module-
|
|
17
|
+
require('../../index.module-7b52c74b.js');
|
|
18
18
|
require('../secondary-tablist/Component.desktop.js');
|
|
19
19
|
var components_tabs_Component = require('./Component.js');
|
|
20
20
|
require('@alfalab/hooks');
|
package/dist/desktop.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./tslib.es6-
|
|
5
|
+
require('./tslib.es6-b6f2e966.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
require('classnames');
|
|
@@ -10,11 +10,11 @@ require('compute-scroll-into-view');
|
|
|
10
10
|
var components_scrollableContainer_Component = require('./components/scrollable-container/Component.js');
|
|
11
11
|
var useTabs = require('./useTabs.js');
|
|
12
12
|
require('./components/primary-tablist/Component.js');
|
|
13
|
-
require('./index.module-
|
|
13
|
+
require('./index.module-5b94e085.js');
|
|
14
14
|
var components_primaryTablist_Component_desktop = require('./components/primary-tablist/Component.desktop.js');
|
|
15
15
|
require('@alfalab/core-components-tag');
|
|
16
16
|
require('./components/secondary-tablist/Component.js');
|
|
17
|
-
require('./index.module-
|
|
17
|
+
require('./index.module-7b52c74b.js');
|
|
18
18
|
var components_secondaryTablist_Component_desktop = require('./components/secondary-tablist/Component.desktop.js');
|
|
19
19
|
var components_tab_Component = require('./components/tab/Component.js');
|
|
20
20
|
require('./components/tabs/Component.js');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-cad1610b.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,7 +6,7 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import { PrimaryTabList } from './Component.js';
|
|
9
|
-
import { c as commonStyles } from '../../index.module-
|
|
9
|
+
import { c as commonStyles } from '../../index.module-5b4a53cf.js';
|
|
10
10
|
|
|
11
11
|
var PrimaryTabListDesktop = function (_a) {
|
|
12
12
|
var _b = _a.size, size = _b === void 0 ? 'm' : _b, restProps = __rest(_a, ["size"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign } from '../../tslib.es6-cad1610b.js';
|
|
2
2
|
import React, { useRef, useEffect } from 'react';
|
|
3
3
|
import { KeyboardFocusable } from '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import cn from 'classnames';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign, _ as __rest } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign, _ as __rest } from '../../tslib.es6-cad1610b.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import cn from 'classnames';
|
|
@@ -6,9 +6,9 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import { PrimaryTabList } from './Component.js';
|
|
9
|
-
import { c as commonStyles } from '../../index.module-
|
|
9
|
+
import { c as commonStyles } from '../../index.module-5b4a53cf.js';
|
|
10
10
|
|
|
11
|
-
var mobileStyles = {"title":"
|
|
11
|
+
var mobileStyles = {"title":"tabs__title_gpudo tabs__title_1unyz"};
|
|
12
12
|
require('./mobile.css')
|
|
13
13
|
|
|
14
14
|
var styles = __assign(__assign({}, commonStyles), mobileStyles);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-cad1610b.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,7 +6,7 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import './Component.js';
|
|
9
|
-
import '../../index.module-
|
|
9
|
+
import '../../index.module-5b4a53cf.js';
|
|
10
10
|
import { PrimaryTabListDesktop } from './Component.desktop.js';
|
|
11
11
|
import { useMedia } from '@alfalab/hooks';
|
|
12
12
|
import { PrimaryTabListMobile } from './Component.mobile.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: f04hz */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-accent: #ef3124;
|
|
4
4
|
--color-light-border-link: #007aff;
|
|
@@ -82,10 +82,10 @@
|
|
|
82
82
|
|
|
83
83
|
/* size xl */
|
|
84
84
|
}
|
|
85
|
-
.
|
|
85
|
+
.tabs__component_1unyz {
|
|
86
86
|
position: relative
|
|
87
87
|
}
|
|
88
|
-
.
|
|
88
|
+
.tabs__component_1unyz:before {
|
|
89
89
|
content: '';
|
|
90
90
|
display: block;
|
|
91
91
|
position: absolute;
|
|
@@ -94,11 +94,11 @@
|
|
|
94
94
|
width: 100%;
|
|
95
95
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
96
96
|
}
|
|
97
|
-
.
|
|
97
|
+
.tabs__container_1unyz {
|
|
98
98
|
position: relative;
|
|
99
99
|
display: flex;
|
|
100
100
|
}
|
|
101
|
-
.
|
|
101
|
+
.tabs__title_1unyz {
|
|
102
102
|
display: flex;
|
|
103
103
|
align-items: center;
|
|
104
104
|
height: 100%;
|
|
@@ -116,22 +116,22 @@
|
|
|
116
116
|
cursor: pointer;
|
|
117
117
|
outline: none
|
|
118
118
|
}
|
|
119
|
-
.
|
|
119
|
+
.tabs__title_1unyz:not(.tabs__disabled_1unyz):hover {
|
|
120
120
|
color: var(--primary-tablist-hover-color);
|
|
121
121
|
}
|
|
122
|
-
.
|
|
122
|
+
.tabs__focused_1unyz {
|
|
123
123
|
outline: 2px solid var(--focus-color);
|
|
124
124
|
outline-offset: 2px;
|
|
125
125
|
}
|
|
126
|
-
.
|
|
126
|
+
.tabs__selected_1unyz {
|
|
127
127
|
cursor: default;
|
|
128
128
|
color: var(--primary-tablist-selected-color);
|
|
129
129
|
}
|
|
130
|
-
.
|
|
130
|
+
.tabs__disabled_1unyz {
|
|
131
131
|
cursor: var(--disabled-cursor);
|
|
132
132
|
color: var(--primary-tablist-disabled-color);
|
|
133
133
|
}
|
|
134
|
-
.
|
|
134
|
+
.tabs__line_1unyz {
|
|
135
135
|
position: absolute;
|
|
136
136
|
height: 3px;
|
|
137
137
|
bottom: 0;
|
|
@@ -140,46 +140,46 @@
|
|
|
140
140
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
141
141
|
}
|
|
142
142
|
/* sizes */
|
|
143
|
-
.
|
|
143
|
+
.tabs__s_1unyz .tabs__title_1unyz, .tabs__xs_1unyz .tabs__title_1unyz, .tabs__xxs_1unyz .tabs__title_1unyz {
|
|
144
144
|
padding: var(--primary-tablist-s-padding);
|
|
145
145
|
font-size: var(--primary-tablist-s-font-size);
|
|
146
146
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
147
147
|
font-family: var(--primary-tablist-s-font-family);
|
|
148
148
|
line-height: 24px;
|
|
149
149
|
}
|
|
150
|
-
.
|
|
150
|
+
.tabs__s_1unyz .tabs__title_1unyz + .tabs__title_1unyz, .tabs__xs_1unyz .tabs__title_1unyz + .tabs__title_1unyz, .tabs__xxs_1unyz .tabs__title_1unyz + .tabs__title_1unyz {
|
|
151
151
|
margin-left: var(--primary-tablist-s-gaps);
|
|
152
152
|
}
|
|
153
|
-
.
|
|
153
|
+
.tabs__m_1unyz .tabs__title_1unyz {
|
|
154
154
|
padding: var(--primary-tablist-m-padding);
|
|
155
155
|
font-size: var(--primary-tablist-m-font-size);
|
|
156
156
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
157
157
|
font-family: var(--primary-tablist-m-font-family);
|
|
158
158
|
line-height: 24px;
|
|
159
159
|
}
|
|
160
|
-
.
|
|
160
|
+
.tabs__m_1unyz .tabs__title_1unyz + .tabs__title_1unyz {
|
|
161
161
|
margin-left: var(--primary-tablist-m-gaps);
|
|
162
162
|
}
|
|
163
|
-
.
|
|
163
|
+
.tabs__l_1unyz .tabs__title_1unyz {
|
|
164
164
|
padding: var(--primary-tablist-l-padding);
|
|
165
165
|
font-size: var(--primary-tablist-l-font-size);
|
|
166
166
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
167
167
|
font-family: var(--primary-tablist-l-font-family);
|
|
168
168
|
line-height: 24px;
|
|
169
169
|
}
|
|
170
|
-
.
|
|
170
|
+
.tabs__l_1unyz .tabs__title_1unyz + .tabs__title_1unyz {
|
|
171
171
|
margin-left: var(--primary-tablist-l-gaps);
|
|
172
172
|
}
|
|
173
|
-
.
|
|
173
|
+
.tabs__xl_1unyz .tabs__title_1unyz {
|
|
174
174
|
padding: var(--primary-tablist-xl-padding);
|
|
175
175
|
font-size: var(--primary-tablist-xl-font-size);
|
|
176
176
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
177
177
|
font-family: var(--primary-tablist-xl-font-family);
|
|
178
178
|
line-height: 32px;
|
|
179
179
|
}
|
|
180
|
-
.
|
|
180
|
+
.tabs__xl_1unyz .tabs__title_1unyz + .tabs__title_1unyz {
|
|
181
181
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
182
182
|
}
|
|
183
|
-
.
|
|
183
|
+
.tabs__rightAddons_1unyz {
|
|
184
184
|
margin-left: var(--gap-xs);
|
|
185
185
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: zf3v5 */
|
|
2
2
|
:root {
|
|
3
3
|
}:root {
|
|
4
4
|
}:root {
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
/* size l */
|
|
87
87
|
|
|
88
88
|
/* size xl */
|
|
89
|
-
}.
|
|
89
|
+
}.tabs__component_1unyz {
|
|
90
90
|
position: relative
|
|
91
|
-
}.
|
|
91
|
+
}.tabs__component_1unyz:before {
|
|
92
92
|
content: '';
|
|
93
93
|
display: block;
|
|
94
94
|
position: absolute;
|
|
@@ -96,10 +96,10 @@
|
|
|
96
96
|
height: 1px;
|
|
97
97
|
width: 100%;
|
|
98
98
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
99
|
-
}.
|
|
99
|
+
}.tabs__container_1unyz {
|
|
100
100
|
position: relative;
|
|
101
101
|
display: flex;
|
|
102
|
-
}.
|
|
102
|
+
}.tabs__title_1unyz {
|
|
103
103
|
display: flex;
|
|
104
104
|
align-items: center;
|
|
105
105
|
height: 100%;
|
|
@@ -116,57 +116,57 @@
|
|
|
116
116
|
user-select: none;
|
|
117
117
|
cursor: pointer;
|
|
118
118
|
outline: none
|
|
119
|
-
}.
|
|
119
|
+
}.tabs__title_1unyz:not(.tabs__disabled_1unyz):hover {
|
|
120
120
|
color: var(--primary-tablist-hover-color);
|
|
121
|
-
}.
|
|
121
|
+
}.tabs__focused_1unyz {
|
|
122
122
|
outline: 2px solid var(--focus-color);
|
|
123
123
|
outline-offset: 2px;
|
|
124
|
-
}.
|
|
124
|
+
}.tabs__selected_1unyz {
|
|
125
125
|
cursor: default;
|
|
126
126
|
color: var(--primary-tablist-selected-color);
|
|
127
|
-
}.
|
|
127
|
+
}.tabs__disabled_1unyz {
|
|
128
128
|
cursor: var(--disabled-cursor);
|
|
129
129
|
color: var(--primary-tablist-disabled-color);
|
|
130
|
-
}.
|
|
130
|
+
}.tabs__line_1unyz {
|
|
131
131
|
position: absolute;
|
|
132
132
|
height: 3px;
|
|
133
133
|
bottom: 0;
|
|
134
134
|
left: 0;
|
|
135
135
|
background-color: var(--primary-tablist-line-color);
|
|
136
136
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
137
|
-
}/* sizes */.
|
|
137
|
+
}/* sizes */.tabs__s_1unyz .tabs__title_1unyz, .tabs__xs_1unyz .tabs__title_1unyz, .tabs__xxs_1unyz .tabs__title_1unyz {
|
|
138
138
|
padding: var(--primary-tablist-s-padding);
|
|
139
139
|
font-size: var(--primary-tablist-s-font-size);
|
|
140
140
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
141
141
|
font-family: var(--primary-tablist-s-font-family);
|
|
142
142
|
line-height: 24px;
|
|
143
|
-
}.
|
|
143
|
+
}.tabs__s_1unyz .tabs__title_1unyz + .tabs__title_1unyz, .tabs__xs_1unyz .tabs__title_1unyz + .tabs__title_1unyz, .tabs__xxs_1unyz .tabs__title_1unyz + .tabs__title_1unyz {
|
|
144
144
|
margin-left: var(--primary-tablist-s-gaps);
|
|
145
|
-
}.
|
|
145
|
+
}.tabs__m_1unyz .tabs__title_1unyz {
|
|
146
146
|
padding: var(--primary-tablist-m-padding);
|
|
147
147
|
font-size: var(--primary-tablist-m-font-size);
|
|
148
148
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
149
149
|
font-family: var(--primary-tablist-m-font-family);
|
|
150
150
|
line-height: 24px;
|
|
151
|
-
}.
|
|
151
|
+
}.tabs__m_1unyz .tabs__title_1unyz + .tabs__title_1unyz {
|
|
152
152
|
margin-left: var(--primary-tablist-m-gaps);
|
|
153
|
-
}.
|
|
153
|
+
}.tabs__l_1unyz .tabs__title_1unyz {
|
|
154
154
|
padding: var(--primary-tablist-l-padding);
|
|
155
155
|
font-size: var(--primary-tablist-l-font-size);
|
|
156
156
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
157
157
|
font-family: var(--primary-tablist-l-font-family);
|
|
158
158
|
line-height: 24px;
|
|
159
|
-
}.
|
|
159
|
+
}.tabs__l_1unyz .tabs__title_1unyz + .tabs__title_1unyz {
|
|
160
160
|
margin-left: var(--primary-tablist-l-gaps);
|
|
161
|
-
}.
|
|
161
|
+
}.tabs__xl_1unyz .tabs__title_1unyz {
|
|
162
162
|
padding: var(--primary-tablist-xl-padding);
|
|
163
163
|
font-size: var(--primary-tablist-xl-font-size);
|
|
164
164
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
165
165
|
font-family: var(--primary-tablist-xl-font-family);
|
|
166
166
|
line-height: 32px;
|
|
167
|
-
}.
|
|
167
|
+
}.tabs__xl_1unyz .tabs__title_1unyz + .tabs__title_1unyz {
|
|
168
168
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
169
|
-
}.
|
|
169
|
+
}.tabs__rightAddons_1unyz {
|
|
170
170
|
margin-left: var(--gap-xs);
|
|
171
171
|
}
|
|
172
172
|
:root {
|
|
@@ -832,7 +832,7 @@
|
|
|
832
832
|
/* size xl */
|
|
833
833
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
834
834
|
}
|
|
835
|
-
.
|
|
835
|
+
.tabs__title_gpudo {
|
|
836
836
|
|
|
837
837
|
padding: var(--primary-tablist-mobile-padding);
|
|
838
838
|
font-size: var(--primary-tablist-mobile-font-size);
|
|
@@ -840,6 +840,6 @@
|
|
|
840
840
|
font-family: var(--primary-tablist-mobile-font-family);
|
|
841
841
|
line-height: 24px
|
|
842
842
|
}
|
|
843
|
-
.
|
|
843
|
+
.tabs__title_gpudo + .tabs__title_gpudo {
|
|
844
844
|
margin-left: var(--primary-tablist-mobile-gaps);
|
|
845
845
|
}
|
|
@@ -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_cho9k"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var ScrollableContainer = function (_a) {
|