@alfalab/core-components-tabs 6.2.7 → 6.3.0
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 +11 -0
- 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 +45 -22
- 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 +35 -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 +45 -22
- 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 +35 -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-4687a3b6.js +4 -0
- package/dist/esm/index.module-4cd5c08a.js +4 -0
- package/dist/esm/mobile.js +3 -3
- package/dist/esm/responsive.js +3 -3
- package/dist/esm/{tslib.es6-0d96f196.d.ts → tslib.es6-8a4b035c.d.ts} +0 -0
- package/dist/esm/{tslib.es6-0d96f196.js → tslib.es6-8a4b035c.js} +0 -0
- package/dist/index.js +3 -3
- package/dist/index.module-a61e7b44.js +6 -0
- package/dist/index.module-b9c824d3.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 +45 -22
- 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 +35 -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-4687a3b6.js +4 -0
- package/dist/modern/index.module-4cd5c08a.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-3a9c9503.d.ts → tslib.es6-394cebb0.d.ts} +0 -0
- package/dist/{tslib.es6-3a9c9503.js → tslib.es6-394cebb0.js} +0 -0
- package/package.json +7 -7
- package/dist/esm/index.module-0b49bd8c.js +0 -4
- package/dist/esm/index.module-467f4c32.js +0 -4
- package/dist/index.module-0f417062.js +0 -6
- package/dist/index.module-24f4736a.js +0 -6
- package/dist/modern/index.module-0b49bd8c.js +0 -4
- package/dist/modern/index.module-467f4c32.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign, _ as __rest } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign, _ as __rest } from '../../tslib.es6-8a4b035c.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import 'compute-scroll-into-view';
|
|
@@ -6,9 +6,9 @@ import '../scrollable-container/Component.js';
|
|
|
6
6
|
import '../../useTabs.js';
|
|
7
7
|
import '@alfalab/core-components-tag/dist/esm';
|
|
8
8
|
import { SecondaryTabList } from './Component.js';
|
|
9
|
-
import { c as commonStyles } from '../../index.module-
|
|
9
|
+
import { c as commonStyles } from '../../index.module-4687a3b6.js';
|
|
10
10
|
|
|
11
|
-
var mobileStyles = {"title":"
|
|
11
|
+
var mobileStyles = {"title":"tabs__title_dshuh tabs__title_1eesx","mobile":"tabs__mobile_dshuh"};
|
|
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-8a4b035c.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import 'compute-scroll-into-view';
|
|
@@ -6,7 +6,7 @@ import '../scrollable-container/Component.js';
|
|
|
6
6
|
import '../../useTabs.js';
|
|
7
7
|
import '@alfalab/core-components-tag/dist/esm';
|
|
8
8
|
import './Component.js';
|
|
9
|
-
import '../../index.module-
|
|
9
|
+
import '../../index.module-4687a3b6.js';
|
|
10
10
|
import { SecondaryTabListDesktop } from './Component.desktop.js';
|
|
11
11
|
import { useMedia } from '@alfalab/hooks';
|
|
12
12
|
import { SecondaryTabListMobile } from './Component.mobile.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1klfz */
|
|
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_1eesx {
|
|
48
48
|
position: relative;
|
|
49
49
|
display: flex;
|
|
50
50
|
align-items: center;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.tabs__container_1eesx {
|
|
53
53
|
display: flex;
|
|
54
54
|
align-items: center;
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.tabs__title_1eesx {
|
|
57
57
|
white-space: nowrap;
|
|
58
58
|
}
|
|
59
59
|
/* sizes */
|
|
60
|
-
.
|
|
60
|
+
.tabs__xxs_1eesx .tabs__title_1eesx + .tabs__title_1eesx {
|
|
61
61
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
.tabs__xs_1eesx .tabs__title_1eesx + .tabs__title_1eesx {
|
|
64
64
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
.tabs__s_1eesx .tabs__title_1eesx + .tabs__title_1eesx {
|
|
67
67
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
.tabs__m_1eesx .tabs__title_1eesx + .tabs__title_1eesx {
|
|
70
70
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
71
71
|
}
|
|
72
|
-
.
|
|
72
|
+
.tabs__l_1eesx .tabs__title_1eesx + .tabs__title_1eesx {
|
|
73
73
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
74
74
|
}
|
|
75
|
-
.
|
|
75
|
+
.tabs__xl_1eesx .tabs__title_1eesx + .tabs__title_1eesx {
|
|
76
76
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
77
77
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 112s4 */
|
|
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_1eesx {
|
|
53
53
|
position: relative;
|
|
54
54
|
display: flex;
|
|
55
55
|
align-items: center;
|
|
56
|
-
}.
|
|
56
|
+
}.tabs__container_1eesx {
|
|
57
57
|
display: flex;
|
|
58
58
|
align-items: center;
|
|
59
|
-
}.
|
|
59
|
+
}.tabs__title_1eesx {
|
|
60
60
|
white-space: nowrap;
|
|
61
|
-
}/* sizes */.
|
|
61
|
+
}/* sizes */.tabs__xxs_1eesx .tabs__title_1eesx + .tabs__title_1eesx {
|
|
62
62
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
63
|
-
}.
|
|
63
|
+
}.tabs__xs_1eesx .tabs__title_1eesx + .tabs__title_1eesx {
|
|
64
64
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
65
|
-
}.
|
|
65
|
+
}.tabs__s_1eesx .tabs__title_1eesx + .tabs__title_1eesx {
|
|
66
66
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
67
|
-
}.
|
|
67
|
+
}.tabs__m_1eesx .tabs__title_1eesx + .tabs__title_1eesx {
|
|
68
68
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
69
|
-
}.
|
|
69
|
+
}.tabs__l_1eesx .tabs__title_1eesx + .tabs__title_1eesx {
|
|
70
70
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
71
|
-
}.
|
|
71
|
+
}.tabs__xl_1eesx .tabs__title_1eesx + .tabs__title_1eesx {
|
|
72
72
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
73
73
|
}
|
|
74
74
|
:root {
|
|
@@ -404,17 +404,28 @@
|
|
|
404
404
|
--color-dark-bg-accent-tint-10: rgb(241, 70, 58);
|
|
405
405
|
--color-dark-bg-accent-tint-15: rgb(241, 80, 69);
|
|
406
406
|
--color-dark-bg-accent-tint-30: rgb(244, 111, 102);
|
|
407
|
+
--color-dark-bg-primary-alpha-4: rgba(11, 31, 53, 0.04);
|
|
407
408
|
--color-dark-bg-primary-alpha-8: rgba(11, 31, 53, 0.08);
|
|
409
|
+
--color-dark-bg-primary-alpha-12: rgba(11, 31, 53, 0.12);
|
|
408
410
|
--color-dark-bg-primary-alpha-15: rgba(11, 31, 53, 0.15);
|
|
411
|
+
--color-dark-bg-primary-alpha-16: rgba(11, 31, 53, 0.16);
|
|
409
412
|
--color-dark-bg-primary-alpha-20: rgba(11, 31, 53, 0.2);
|
|
413
|
+
--color-dark-bg-primary-alpha-32: rgba(11, 31, 53, 0.32);
|
|
414
|
+
--color-dark-bg-primary-alpha-37: rgba(11, 31, 53, 0.37);
|
|
410
415
|
--color-dark-bg-primary-alpha-40: rgba(11, 31, 53, 0.4);
|
|
411
416
|
--color-dark-bg-primary-inverted-alpha-3: rgba(255, 255, 255, 0.03);
|
|
417
|
+
--color-dark-bg-primary-inverted-alpha-4: rgba(255, 255, 255, 0.04);
|
|
412
418
|
--color-dark-bg-primary-inverted-alpha-5: rgba(255, 255, 255, 0.05);
|
|
413
419
|
--color-dark-bg-primary-inverted-alpha-7: rgba(255, 255, 255, 0.07);
|
|
420
|
+
--color-dark-bg-primary-inverted-alpha-8: rgba(255, 255, 255, 0.08);
|
|
414
421
|
--color-dark-bg-primary-inverted-alpha-10: rgba(255, 255, 255, 0.1);
|
|
422
|
+
--color-dark-bg-primary-inverted-alpha-12: rgba(255, 255, 255, 0.12);
|
|
415
423
|
--color-dark-bg-primary-inverted-alpha-15: rgba(255, 255, 255, 0.15);
|
|
424
|
+
--color-dark-bg-primary-inverted-alpha-16: rgba(255, 255, 255, 0.16);
|
|
416
425
|
--color-dark-bg-primary-inverted-alpha-20: rgba(255, 255, 255, 0.2);
|
|
426
|
+
--color-dark-bg-primary-inverted-alpha-24: rgba(255, 255, 255, 0.24);
|
|
417
427
|
--color-dark-bg-primary-inverted-alpha-30: rgba(255, 255, 255, 0.3);
|
|
428
|
+
--color-dark-bg-primary-inverted-alpha-32: rgba(255, 255, 255, 0.32);
|
|
418
429
|
--color-dark-bg-primary-inverted-alpha-40: rgba(255, 255, 255, 0.4);
|
|
419
430
|
--color-dark-bg-primary-inverted-alpha-50: rgba(255, 255, 255, 0.5);
|
|
420
431
|
--color-dark-bg-primary-inverted-shade-15: rgb(217, 217, 217);
|
|
@@ -527,17 +538,28 @@
|
|
|
527
538
|
--color-light-bg-accent-shade-10: rgb(215, 44, 32);
|
|
528
539
|
--color-light-bg-accent-shade-15: rgb(203, 42, 31);
|
|
529
540
|
--color-light-bg-accent-shade-30: rgb(167, 34, 25);
|
|
541
|
+
--color-light-bg-primary-alpha-4: rgba(255, 255, 255, 0.04);
|
|
530
542
|
--color-light-bg-primary-alpha-8: rgba(255, 255, 255, 0.08);
|
|
543
|
+
--color-light-bg-primary-alpha-12: rgba(255, 255, 255, 0.12);
|
|
531
544
|
--color-light-bg-primary-alpha-15: rgba(255, 255, 255, 0.15);
|
|
545
|
+
--color-light-bg-primary-alpha-16: rgba(255, 255, 255, 0.16);
|
|
532
546
|
--color-light-bg-primary-alpha-20: rgba(255, 255, 255, 0.2);
|
|
547
|
+
--color-light-bg-primary-alpha-32: rgba(255, 255, 255, 0.32);
|
|
548
|
+
--color-light-bg-primary-alpha-37: rgba(255, 255, 255, 0.37);
|
|
533
549
|
--color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
|
|
534
550
|
--color-light-bg-primary-inverted-alpha-3: rgba(11, 31, 53, 0.03);
|
|
551
|
+
--color-light-bg-primary-inverted-alpha-4: rgba(11, 31, 53, 0.04);
|
|
535
552
|
--color-light-bg-primary-inverted-alpha-5: rgba(11, 31, 53, 0.05);
|
|
536
553
|
--color-light-bg-primary-inverted-alpha-7: rgba(11, 31, 53, 0.07);
|
|
554
|
+
--color-light-bg-primary-inverted-alpha-8: rgba(11, 31, 53, 0.08);
|
|
537
555
|
--color-light-bg-primary-inverted-alpha-10: rgba(11, 31, 53, 0.1);
|
|
556
|
+
--color-light-bg-primary-inverted-alpha-12: rgba(11, 31, 53, 0.12);
|
|
538
557
|
--color-light-bg-primary-inverted-alpha-15: rgba(11, 31, 53, 0.15);
|
|
558
|
+
--color-light-bg-primary-inverted-alpha-16: rgba(11, 31, 53, 0.16);
|
|
539
559
|
--color-light-bg-primary-inverted-alpha-20: rgba(11, 31, 53, 0.2);
|
|
560
|
+
--color-light-bg-primary-inverted-alpha-24: rgba(11, 31, 53, 0.24);
|
|
540
561
|
--color-light-bg-primary-inverted-alpha-30: rgba(11, 31, 53, 0.3);
|
|
562
|
+
--color-light-bg-primary-inverted-alpha-32: rgba(11, 31, 53, 0.32);
|
|
541
563
|
--color-light-bg-primary-inverted-alpha-40: rgba(11, 31, 53, 0.4);
|
|
542
564
|
--color-light-bg-primary-inverted-alpha-50: rgba(11, 31, 53, 0.5);
|
|
543
565
|
--color-light-bg-primary-inverted-tint-15: rgb(48, 65, 83);
|
|
@@ -753,6 +775,7 @@
|
|
|
753
775
|
--border-radius-m: 8px;
|
|
754
776
|
--border-radius-l: 12px;
|
|
755
777
|
--border-radius-xl: 16px;
|
|
778
|
+
--border-radius-xxl: 20px;
|
|
756
779
|
--border-radius-circle: 50%;
|
|
757
780
|
--border-radius-pill: 99px;
|
|
758
781
|
}
|
|
@@ -835,8 +858,8 @@
|
|
|
835
858
|
/* size xl */
|
|
836
859
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
837
860
|
}
|
|
838
|
-
.
|
|
861
|
+
.tabs__title_dshuh {
|
|
839
862
|
}
|
|
840
|
-
.
|
|
863
|
+
.tabs__mobile_dshuh .tabs__title_dshuh + .tabs__title_dshuh {
|
|
841
864
|
margin-left: var(--secondary-tablist-mobile-gaps);
|
|
842
865
|
}
|
|
@@ -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_wp7vz","hidden":"tabs__hidden_wp7vz"};
|
|
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-8a4b035c.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,11 +6,11 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import '../primary-tablist/Component.js';
|
|
9
|
-
import '../../index.module-
|
|
9
|
+
import '../../index.module-4cd5c08a.js';
|
|
10
10
|
import { PrimaryTabListDesktop } from '../primary-tablist/Component.desktop.js';
|
|
11
11
|
import '@alfalab/core-components-tag/dist/esm';
|
|
12
12
|
import '../secondary-tablist/Component.js';
|
|
13
|
-
import '../../index.module-
|
|
13
|
+
import '../../index.module-4687a3b6.js';
|
|
14
14
|
import { SecondaryTabListDesktop } from '../secondary-tablist/Component.desktop.js';
|
|
15
15
|
import { Tabs } from './Component.js';
|
|
16
16
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-8a4b035c.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,10 +6,10 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import '../primary-tablist/Component.js';
|
|
9
|
-
import '../../index.module-
|
|
9
|
+
import '../../index.module-4cd5c08a.js';
|
|
10
10
|
import '@alfalab/core-components-tag/dist/esm';
|
|
11
11
|
import '../secondary-tablist/Component.js';
|
|
12
|
-
import '../../index.module-
|
|
12
|
+
import '../../index.module-4687a3b6.js';
|
|
13
13
|
import { Tabs } from './Component.js';
|
|
14
14
|
import { PrimaryTabListMobile } from '../primary-tablist/Component.mobile.js';
|
|
15
15
|
import { SecondaryTabListMobile } from '../secondary-tablist/Component.mobile.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-8a4b035c.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,11 +6,11 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import '../primary-tablist/Component.js';
|
|
9
|
-
import '../../index.module-
|
|
9
|
+
import '../../index.module-4cd5c08a.js';
|
|
10
10
|
import '../primary-tablist/Component.desktop.js';
|
|
11
11
|
import '@alfalab/core-components-tag/dist/esm';
|
|
12
12
|
import '../secondary-tablist/Component.js';
|
|
13
|
-
import '../../index.module-
|
|
13
|
+
import '../../index.module-4687a3b6.js';
|
|
14
14
|
import '../secondary-tablist/Component.desktop.js';
|
|
15
15
|
import { Tabs } from './Component.js';
|
|
16
16
|
import '@alfalab/hooks';
|
package/dist/esm/desktop.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-8a4b035c.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,11 +6,11 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
export { ScrollableContainer } from './components/scrollable-container/Component.js';
|
|
7
7
|
export { useTabs } from './useTabs.js';
|
|
8
8
|
import './components/primary-tablist/Component.js';
|
|
9
|
-
import './index.module-
|
|
9
|
+
import './index.module-4cd5c08a.js';
|
|
10
10
|
export { PrimaryTabListDesktop } from './components/primary-tablist/Component.desktop.js';
|
|
11
11
|
import '@alfalab/core-components-tag/dist/esm';
|
|
12
12
|
import './components/secondary-tablist/Component.js';
|
|
13
|
-
import './index.module-
|
|
13
|
+
import './index.module-4687a3b6.js';
|
|
14
14
|
export { SecondaryTabListDesktop } from './components/secondary-tablist/Component.desktop.js';
|
|
15
15
|
export { Tab } from './components/tab/Component.js';
|
|
16
16
|
import './components/tabs/Component.js';
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-8a4b035c.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,11 +6,11 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
export { ScrollableContainer } from './components/scrollable-container/Component.js';
|
|
7
7
|
export { useTabs } from './useTabs.js';
|
|
8
8
|
import './components/primary-tablist/Component.js';
|
|
9
|
-
import './index.module-
|
|
9
|
+
import './index.module-4cd5c08a.js';
|
|
10
10
|
import './components/primary-tablist/Component.desktop.js';
|
|
11
11
|
import '@alfalab/core-components-tag/dist/esm';
|
|
12
12
|
import './components/secondary-tablist/Component.js';
|
|
13
|
-
import './index.module-
|
|
13
|
+
import './index.module-4687a3b6.js';
|
|
14
14
|
import './components/secondary-tablist/Component.desktop.js';
|
|
15
15
|
export { Tab } from './components/tab/Component.js';
|
|
16
16
|
import './components/tabs/Component.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"tabs__component_1eesx","container":"tabs__container_1eesx","title":"tabs__title_1eesx","xxs":"tabs__xxs_1eesx","xs":"tabs__xs_1eesx","s":"tabs__s_1eesx","m":"tabs__m_1eesx","l":"tabs__l_1eesx","xl":"tabs__xl_1eesx"};
|
|
2
|
+
require('./components/secondary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"tabs__component_1c7rr","container":"tabs__container_1c7rr","title":"tabs__title_1c7rr","disabled":"tabs__disabled_1c7rr","focused":"tabs__focused_1c7rr","selected":"tabs__selected_1c7rr","line":"tabs__line_1c7rr","s":"tabs__s_1c7rr","xs":"tabs__xs_1c7rr","xxs":"tabs__xxs_1c7rr","m":"tabs__m_1c7rr","l":"tabs__l_1c7rr","xl":"tabs__xl_1c7rr","rightAddons":"tabs__rightAddons_1c7rr"};
|
|
2
|
+
require('./components/primary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
package/dist/esm/mobile.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-8a4b035c.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,10 +6,10 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
export { ScrollableContainer } from './components/scrollable-container/Component.js';
|
|
7
7
|
export { useTabs } from './useTabs.js';
|
|
8
8
|
import './components/primary-tablist/Component.js';
|
|
9
|
-
import './index.module-
|
|
9
|
+
import './index.module-4cd5c08a.js';
|
|
10
10
|
import '@alfalab/core-components-tag/dist/esm';
|
|
11
11
|
import './components/secondary-tablist/Component.js';
|
|
12
|
-
import './index.module-
|
|
12
|
+
import './index.module-4687a3b6.js';
|
|
13
13
|
export { Tab } from './components/tab/Component.js';
|
|
14
14
|
import './components/tabs/Component.js';
|
|
15
15
|
export { PrimaryTabListMobile } from './components/primary-tablist/Component.mobile.js';
|
package/dist/esm/responsive.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './tslib.es6-
|
|
1
|
+
import './tslib.es6-8a4b035c.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,11 +6,11 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
export { ScrollableContainer } from './components/scrollable-container/Component.js';
|
|
7
7
|
export { useTabs } from './useTabs.js';
|
|
8
8
|
import './components/primary-tablist/Component.js';
|
|
9
|
-
import './index.module-
|
|
9
|
+
import './index.module-4cd5c08a.js';
|
|
10
10
|
import './components/primary-tablist/Component.desktop.js';
|
|
11
11
|
import '@alfalab/core-components-tag/dist/esm';
|
|
12
12
|
import './components/secondary-tablist/Component.js';
|
|
13
|
-
import './index.module-
|
|
13
|
+
import './index.module-4687a3b6.js';
|
|
14
14
|
import './components/secondary-tablist/Component.desktop.js';
|
|
15
15
|
export { Tab } from './components/tab/Component.js';
|
|
16
16
|
import './components/tabs/Component.js';
|
|
File without changes
|
|
File without changes
|
package/dist/index.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-394cebb0.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-b9c824d3.js');
|
|
14
14
|
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-a61e7b44.js');
|
|
18
18
|
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');
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var commonStyles = {"component":"tabs__component_1eesx","container":"tabs__container_1eesx","title":"tabs__title_1eesx","xxs":"tabs__xxs_1eesx","xs":"tabs__xs_1eesx","s":"tabs__s_1eesx","m":"tabs__m_1eesx","l":"tabs__l_1eesx","xl":"tabs__xl_1eesx"};
|
|
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_1c7rr","container":"tabs__container_1c7rr","title":"tabs__title_1c7rr","disabled":"tabs__disabled_1c7rr","focused":"tabs__focused_1c7rr","selected":"tabs__selected_1c7rr","line":"tabs__line_1c7rr","s":"tabs__s_1c7rr","xs":"tabs__xs_1c7rr","xxs":"tabs__xxs_1c7rr","m":"tabs__m_1c7rr","l":"tabs__l_1c7rr","xl":"tabs__xl_1c7rr","rightAddons":"tabs__rightAddons_1c7rr"};
|
|
4
|
+
require('./components/primary-tablist/index.css')
|
|
5
|
+
|
|
6
|
+
exports.commonStyles = commonStyles;
|
package/dist/mobile.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-394cebb0.js');
|
|
6
6
|
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
|
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-b9c824d3.js');
|
|
14
14
|
require('@alfalab/core-components-tag');
|
|
15
15
|
require('./components/secondary-tablist/Component.js');
|
|
16
|
-
require('./index.module-
|
|
16
|
+
require('./index.module-a61e7b44.js');
|
|
17
17
|
var components_tab_Component = require('./components/tab/Component.js');
|
|
18
18
|
require('./components/tabs/Component.js');
|
|
19
19
|
var components_primaryTablist_Component_mobile = require('./components/primary-tablist/Component.mobile.js');
|
|
@@ -5,7 +5,7 @@ import 'compute-scroll-into-view';
|
|
|
5
5
|
import '../scrollable-container/Component.js';
|
|
6
6
|
import '../../useTabs.js';
|
|
7
7
|
import { PrimaryTabList } from './Component.js';
|
|
8
|
-
import { c as commonStyles } from '../../index.module-
|
|
8
|
+
import { c as commonStyles } from '../../index.module-4cd5c08a.js';
|
|
9
9
|
|
|
10
10
|
const PrimaryTabListDesktop = ({ size = 'm', ...restProps }) => (React.createElement(PrimaryTabList, Object.assign({}, restProps, { size: size, styles: commonStyles })));
|
|
11
11
|
|
|
@@ -5,9 +5,9 @@ import 'compute-scroll-into-view';
|
|
|
5
5
|
import '../scrollable-container/Component.js';
|
|
6
6
|
import '../../useTabs.js';
|
|
7
7
|
import { PrimaryTabList } from './Component.js';
|
|
8
|
-
import { c as commonStyles } from '../../index.module-
|
|
8
|
+
import { c as commonStyles } from '../../index.module-4cd5c08a.js';
|
|
9
9
|
|
|
10
|
-
var mobileStyles = {"title":"
|
|
10
|
+
var mobileStyles = {"title":"tabs__title_1o8np tabs__title_1c7rr","mobile":"tabs__mobile_1o8np"};
|
|
11
11
|
require('./mobile.css')
|
|
12
12
|
|
|
13
13
|
const styles = {
|
|
@@ -5,7 +5,7 @@ import 'compute-scroll-into-view';
|
|
|
5
5
|
import '../scrollable-container/Component.js';
|
|
6
6
|
import '../../useTabs.js';
|
|
7
7
|
import './Component.js';
|
|
8
|
-
import '../../index.module-
|
|
8
|
+
import '../../index.module-4cd5c08a.js';
|
|
9
9
|
import { PrimaryTabListDesktop } from './Component.desktop.js';
|
|
10
10
|
import { useMedia } from '@alfalab/hooks';
|
|
11
11
|
import { PrimaryTabListMobile } from './Component.mobile.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1w086 */
|
|
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_1c7rr {
|
|
86
86
|
position: relative
|
|
87
87
|
}
|
|
88
|
-
.
|
|
88
|
+
.tabs__component_1c7rr: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_1c7rr {
|
|
98
98
|
position: relative;
|
|
99
99
|
display: flex;
|
|
100
100
|
}
|
|
101
|
-
.
|
|
101
|
+
.tabs__title_1c7rr {
|
|
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_1c7rr:not(.tabs__disabled_1c7rr):hover {
|
|
120
120
|
color: var(--primary-tablist-hover-color);
|
|
121
121
|
}
|
|
122
|
-
.
|
|
122
|
+
.tabs__focused_1c7rr {
|
|
123
123
|
outline: 2px solid var(--focus-color);
|
|
124
124
|
outline-offset: 2px;
|
|
125
125
|
}
|
|
126
|
-
.
|
|
126
|
+
.tabs__selected_1c7rr {
|
|
127
127
|
cursor: default;
|
|
128
128
|
color: var(--primary-tablist-selected-color);
|
|
129
129
|
}
|
|
130
|
-
.
|
|
130
|
+
.tabs__disabled_1c7rr {
|
|
131
131
|
cursor: var(--disabled-cursor);
|
|
132
132
|
color: var(--primary-tablist-disabled-color);
|
|
133
133
|
}
|
|
134
|
-
.
|
|
134
|
+
.tabs__line_1c7rr {
|
|
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_1c7rr .tabs__title_1c7rr, .tabs__xs_1c7rr .tabs__title_1c7rr, .tabs__xxs_1c7rr .tabs__title_1c7rr {
|
|
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_1c7rr .tabs__title_1c7rr + .tabs__title_1c7rr, .tabs__xs_1c7rr .tabs__title_1c7rr + .tabs__title_1c7rr, .tabs__xxs_1c7rr .tabs__title_1c7rr + .tabs__title_1c7rr {
|
|
151
151
|
margin-left: var(--primary-tablist-s-gaps);
|
|
152
152
|
}
|
|
153
|
-
.
|
|
153
|
+
.tabs__m_1c7rr .tabs__title_1c7rr {
|
|
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_1c7rr .tabs__title_1c7rr + .tabs__title_1c7rr {
|
|
161
161
|
margin-left: var(--primary-tablist-m-gaps);
|
|
162
162
|
}
|
|
163
|
-
.
|
|
163
|
+
.tabs__l_1c7rr .tabs__title_1c7rr {
|
|
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_1c7rr .tabs__title_1c7rr + .tabs__title_1c7rr {
|
|
171
171
|
margin-left: var(--primary-tablist-l-gaps);
|
|
172
172
|
}
|
|
173
|
-
.
|
|
173
|
+
.tabs__xl_1c7rr .tabs__title_1c7rr {
|
|
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_1c7rr .tabs__title_1c7rr + .tabs__title_1c7rr {
|
|
181
181
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
182
182
|
}
|
|
183
|
-
.
|
|
183
|
+
.tabs__rightAddons_1c7rr {
|
|
184
184
|
margin-left: var(--gap-xs);
|
|
185
185
|
}
|