@alfalab/core-components-tabs 7.3.17 → 7.4.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/component-3885b0d7.d.ts +1 -1
- package/components/primary-tablist/Component.desktop.js +1 -1
- package/components/primary-tablist/Component.mobile.js +2 -2
- package/components/primary-tablist/Component.responsive.js +1 -1
- package/components/primary-tablist/index.css +29 -29
- package/components/primary-tablist/mobile.css +34 -32
- package/components/scrollable-container/Component.js +1 -1
- package/components/scrollable-container/index.css +5 -5
- package/components/secondary-tablist/Component.desktop.js +1 -1
- package/components/secondary-tablist/Component.mobile.js +2 -2
- package/components/secondary-tablist/Component.responsive.js +1 -1
- package/components/secondary-tablist/index.css +11 -11
- package/components/secondary-tablist/mobile.css +15 -13
- package/components/tab/Component.js +1 -1
- package/components/tab/index.css +3 -3
- package/components/tabs/Component.desktop.js +2 -2
- package/components/tabs/Component.mobile.js +2 -2
- package/components/tabs/Component.responsive.js +2 -2
- package/cssm/component-3885b0d7.d.ts +1 -1
- package/cssm/index-f12ee135.d.ts +1 -1
- package/cssm/{types-24527f54.d.ts → types-996ad249.d.ts} +3 -2
- package/desktop.js +2 -2
- package/esm/component-3885b0d7.d.ts +1 -1
- package/esm/components/primary-tablist/Component.desktop.js +1 -1
- package/esm/components/primary-tablist/Component.mobile.js +2 -2
- package/esm/components/primary-tablist/Component.responsive.js +1 -1
- package/esm/components/primary-tablist/index.css +29 -29
- package/esm/components/primary-tablist/mobile.css +34 -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 +1 -1
- package/esm/components/secondary-tablist/Component.mobile.js +2 -2
- package/esm/components/secondary-tablist/Component.responsive.js +1 -1
- package/esm/components/secondary-tablist/index.css +11 -11
- package/esm/components/secondary-tablist/mobile.css +15 -13
- package/esm/components/tab/Component.js +1 -1
- package/esm/components/tab/index.css +3 -3
- package/esm/components/tabs/Component.desktop.js +2 -2
- package/esm/components/tabs/Component.mobile.js +2 -2
- package/esm/components/tabs/Component.responsive.js +2 -2
- package/esm/desktop.js +2 -2
- package/esm/index-f12ee135.d.ts +1 -1
- package/esm/index.js +2 -2
- package/esm/index.module-5133b558.js +4 -0
- package/esm/index.module-fa319b45.js +4 -0
- package/esm/mobile.js +2 -2
- package/esm/responsive.js +2 -2
- package/{modern/types-24527f54.d.ts → esm/types-996ad249.d.ts} +3 -2
- package/index-f12ee135.d.ts +1 -1
- package/index.js +2 -2
- package/index.module-16c600cb.js +6 -0
- package/index.module-bacb9546.js +6 -0
- package/mobile.js +2 -2
- package/modern/component-3885b0d7.d.ts +1 -1
- 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 +34 -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 +15 -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-f12ee135.d.ts +1 -1
- package/modern/index.js +2 -2
- package/modern/index.module-777f9d93.js +4 -0
- package/modern/index.module-8bb023c1.js +4 -0
- package/modern/mobile.js +2 -2
- package/modern/responsive.js +2 -2
- package/{types-24527f54.d.ts → modern/types-996ad249.d.ts} +3 -2
- package/package.json +4 -4
- package/responsive.js +2 -2
- package/{esm/types-24527f54.d.ts → types-996ad249.d.ts} +3 -2
- package/esm/index.module-07fcc464.js +0 -4
- package/esm/index.module-3296aa43.js +0 -4
- package/index.module-3542b7eb.js +0 -6
- package/index.module-8ba53f9c.js +0 -6
- package/modern/index.module-0980df8e.js +0 -4
- package/modern/index.module-56412f23.js +0 -4
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { SecondaryTabList } from './Component.js';
|
|
4
|
-
import { c as commonStyles } from '../../index.module-
|
|
4
|
+
import { c as commonStyles } from '../../index.module-8bb023c1.js';
|
|
5
5
|
import '@alfalab/core-components-tag/modern';
|
|
6
6
|
import '../../hooks/use-tabs.js';
|
|
7
7
|
import '../scrollable-container/Component.js';
|
|
8
8
|
import 'compute-scroll-into-view';
|
|
9
9
|
|
|
10
|
-
const mobileStyles = {"title":"
|
|
10
|
+
const mobileStyles = {"title":"tabs__title_fypcm tabs__title_19hnj","mobile":"tabs__mobile_fypcm"};
|
|
11
11
|
require('./mobile.css')
|
|
12
12
|
|
|
13
13
|
const styles = {
|
|
@@ -8,7 +8,7 @@ import '@alfalab/core-components-tag/modern';
|
|
|
8
8
|
import '../../hooks/use-tabs.js';
|
|
9
9
|
import '../scrollable-container/Component.js';
|
|
10
10
|
import 'compute-scroll-into-view';
|
|
11
|
-
import '../../index.module-
|
|
11
|
+
import '../../index.module-8bb023c1.js';
|
|
12
12
|
|
|
13
13
|
const SecondaryTabListResponsive = ({ size, defaultMatch = 'desktop', fullWidthScroll, ...restProps }) => {
|
|
14
14
|
const [view] = useMedia([
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: r5svp */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -50,29 +50,29 @@
|
|
|
50
50
|
|
|
51
51
|
/* size xl */
|
|
52
52
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
53
|
-
} .
|
|
53
|
+
} .tabs__component_19hnj {
|
|
54
54
|
position: relative;
|
|
55
55
|
display: inline-flex;
|
|
56
|
-
} .
|
|
56
|
+
} .tabs__fullWidthScroll_19hnj {
|
|
57
57
|
margin: 0 var(--gap-m);
|
|
58
|
-
} .
|
|
58
|
+
} .tabs__container_19hnj {
|
|
59
59
|
overflow: hidden;
|
|
60
60
|
|
|
61
61
|
/* focus-outline fix */
|
|
62
62
|
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
63
63
|
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
|
|
64
|
-
} .
|
|
64
|
+
} .tabs__title_19hnj {
|
|
65
65
|
white-space: nowrap;
|
|
66
|
-
} /* sizes */ .
|
|
66
|
+
} /* sizes */ .tabs__xxs_19hnj .tabs__title_19hnj + .tabs__title_19hnj {
|
|
67
67
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
68
|
-
} .
|
|
68
|
+
} .tabs__xs_19hnj .tabs__title_19hnj + .tabs__title_19hnj {
|
|
69
69
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
70
|
-
} .
|
|
70
|
+
} .tabs__s_19hnj .tabs__title_19hnj + .tabs__title_19hnj {
|
|
71
71
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
72
|
-
} .
|
|
72
|
+
} .tabs__m_19hnj .tabs__title_19hnj + .tabs__title_19hnj {
|
|
73
73
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
74
|
-
} .
|
|
74
|
+
} .tabs__l_19hnj .tabs__title_19hnj + .tabs__title_19hnj {
|
|
75
75
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
76
|
-
} .
|
|
76
|
+
} .tabs__xl_19hnj .tabs__title_19hnj + .tabs__title_19hnj {
|
|
77
77
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
78
78
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 6eze4 */
|
|
2
2
|
:root {
|
|
3
3
|
}/* deprecated */:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
}:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -51,30 +51,30 @@
|
|
|
51
51
|
|
|
52
52
|
/* size xl */
|
|
53
53
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
54
|
-
}.
|
|
54
|
+
}.tabs__component_19hnj {
|
|
55
55
|
position: relative;
|
|
56
56
|
display: inline-flex;
|
|
57
|
-
}.
|
|
57
|
+
}.tabs__fullWidthScroll_19hnj {
|
|
58
58
|
margin: 0 var(--gap-m);
|
|
59
|
-
}.
|
|
59
|
+
}.tabs__container_19hnj {
|
|
60
60
|
overflow: hidden;
|
|
61
61
|
|
|
62
62
|
/* focus-outline fix */
|
|
63
63
|
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
64
64
|
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
|
|
65
|
-
}.
|
|
65
|
+
}.tabs__title_19hnj {
|
|
66
66
|
white-space: nowrap;
|
|
67
|
-
}/* sizes */.
|
|
67
|
+
}/* sizes */.tabs__xxs_19hnj .tabs__title_19hnj + .tabs__title_19hnj {
|
|
68
68
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
69
|
-
}.
|
|
69
|
+
}.tabs__xs_19hnj .tabs__title_19hnj + .tabs__title_19hnj {
|
|
70
70
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
71
|
-
}.
|
|
71
|
+
}.tabs__s_19hnj .tabs__title_19hnj + .tabs__title_19hnj {
|
|
72
72
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
73
|
-
}.
|
|
73
|
+
}.tabs__m_19hnj .tabs__title_19hnj + .tabs__title_19hnj {
|
|
74
74
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
75
|
-
}.
|
|
75
|
+
}.tabs__l_19hnj .tabs__title_19hnj + .tabs__title_19hnj {
|
|
76
76
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
77
|
-
}.
|
|
77
|
+
}.tabs__xl_19hnj .tabs__title_19hnj + .tabs__title_19hnj {
|
|
78
78
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
79
79
|
} :root {
|
|
80
80
|
--color-dark-indigo: #0b1f35;
|
|
@@ -346,6 +346,7 @@
|
|
|
346
346
|
--color-dark-bg-primary-alpha-15: rgba(18, 18, 18, 0.15);
|
|
347
347
|
--color-dark-bg-primary-alpha-16: rgba(18, 18, 18, 0.16);
|
|
348
348
|
--color-dark-bg-primary-alpha-20: rgba(18, 18, 18, 0.2);
|
|
349
|
+
--color-dark-bg-primary-alpha-30: rgba(18, 18, 18, 0.3);
|
|
349
350
|
--color-dark-bg-primary-alpha-32: rgba(18, 18, 18, 0.32);
|
|
350
351
|
--color-dark-bg-primary-alpha-37: rgba(18, 18, 18, 0.37);
|
|
351
352
|
--color-dark-bg-primary-alpha-40: rgba(18, 18, 18, 0.4);
|
|
@@ -497,6 +498,7 @@
|
|
|
497
498
|
--color-light-bg-primary-alpha-15: rgba(255, 255, 255, 0.15);
|
|
498
499
|
--color-light-bg-primary-alpha-16: rgba(255, 255, 255, 0.16);
|
|
499
500
|
--color-light-bg-primary-alpha-20: rgba(255, 255, 255, 0.2);
|
|
501
|
+
--color-light-bg-primary-alpha-30: rgba(255, 255, 255, 0.3);
|
|
500
502
|
--color-light-bg-primary-alpha-32: rgba(255, 255, 255, 0.32);
|
|
501
503
|
--color-light-bg-primary-alpha-37: rgba(255, 255, 255, 0.37);
|
|
502
504
|
--color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
|
|
@@ -961,7 +963,7 @@
|
|
|
961
963
|
|
|
962
964
|
/* size xl */
|
|
963
965
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
964
|
-
} .
|
|
965
|
-
} .
|
|
966
|
+
} .tabs__title_fypcm {
|
|
967
|
+
} .tabs__mobile_fypcm .tabs__title_fypcm + .tabs__title_fypcm {
|
|
966
968
|
margin-left: var(--secondary-tablist-mobile-gaps);
|
|
967
969
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
const styles = {"component":"
|
|
4
|
+
const styles = {"component":"tabs__component_e3skj","hidden":"tabs__hidden_e3skj"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
const Tab = ({ children, hidden, className, disabled, dataTestId }) => children ? (React.createElement("div", { className: cn(styles.component, {
|
|
@@ -16,10 +16,10 @@ import '../../synthetic-events.js';
|
|
|
16
16
|
import '../scrollable-container/Component.js';
|
|
17
17
|
import 'compute-scroll-into-view';
|
|
18
18
|
import '../title/Component.js';
|
|
19
|
-
import '../../index.module-
|
|
19
|
+
import '../../index.module-777f9d93.js';
|
|
20
20
|
import '../secondary-tablist/Component.js';
|
|
21
21
|
import '@alfalab/core-components-tag/modern';
|
|
22
|
-
import '../../index.module-
|
|
22
|
+
import '../../index.module-8bb023c1.js';
|
|
23
23
|
|
|
24
24
|
const views = {
|
|
25
25
|
primary: PrimaryTabListDesktop,
|
|
@@ -16,10 +16,10 @@ import '../../synthetic-events.js';
|
|
|
16
16
|
import '../scrollable-container/Component.js';
|
|
17
17
|
import 'compute-scroll-into-view';
|
|
18
18
|
import '../title/Component.js';
|
|
19
|
-
import '../../index.module-
|
|
19
|
+
import '../../index.module-777f9d93.js';
|
|
20
20
|
import '../secondary-tablist/Component.js';
|
|
21
21
|
import '@alfalab/core-components-tag/modern';
|
|
22
|
-
import '../../index.module-
|
|
22
|
+
import '../../index.module-8bb023c1.js';
|
|
23
23
|
|
|
24
24
|
const views = {
|
|
25
25
|
primary: PrimaryTabListMobile,
|
|
@@ -17,12 +17,12 @@ 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-777f9d93.js';
|
|
21
21
|
import '../primary-tablist/Component.mobile.js';
|
|
22
22
|
import '../secondary-tablist/Component.desktop.js';
|
|
23
23
|
import '../secondary-tablist/Component.js';
|
|
24
24
|
import '@alfalab/core-components-tag/modern';
|
|
25
|
-
import '../../index.module-
|
|
25
|
+
import '../../index.module-8bb023c1.js';
|
|
26
26
|
import '../secondary-tablist/Component.mobile.js';
|
|
27
27
|
|
|
28
28
|
const views = {
|
package/modern/desktop.js
CHANGED
|
@@ -15,10 +15,10 @@ import './hooks/use-tablist-titles.js';
|
|
|
15
15
|
import '@alfalab/hooks';
|
|
16
16
|
import './synthetic-events.js';
|
|
17
17
|
import './components/title/Component.js';
|
|
18
|
-
import './index.module-
|
|
18
|
+
import './index.module-777f9d93.js';
|
|
19
19
|
import 'compute-scroll-into-view';
|
|
20
20
|
import './components/secondary-tablist/Component.js';
|
|
21
21
|
import '@alfalab/core-components-tag/modern';
|
|
22
|
-
import './index.module-
|
|
22
|
+
import './index.module-8bb023c1.js';
|
|
23
23
|
import './components/tabs/Component.js';
|
|
24
24
|
import '@juggle/resize-observer';
|
package/modern/index.js
CHANGED
|
@@ -17,12 +17,12 @@ import './hooks/use-collapsible-elements.js';
|
|
|
17
17
|
import '@juggle/resize-observer';
|
|
18
18
|
import './synthetic-events.js';
|
|
19
19
|
import './components/title/Component.js';
|
|
20
|
-
import './index.module-
|
|
20
|
+
import './index.module-777f9d93.js';
|
|
21
21
|
import './components/primary-tablist/Component.mobile.js';
|
|
22
22
|
import 'compute-scroll-into-view';
|
|
23
23
|
import './components/secondary-tablist/Component.desktop.js';
|
|
24
24
|
import './components/secondary-tablist/Component.js';
|
|
25
25
|
import '@alfalab/core-components-tag/modern';
|
|
26
|
-
import './index.module-
|
|
26
|
+
import './index.module-8bb023c1.js';
|
|
27
27
|
import './components/secondary-tablist/Component.mobile.js';
|
|
28
28
|
import './components/tabs/Component.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const commonStyles = {"component":"tabs__component_1l1f9","fullWidthScroll":"tabs__fullWidthScroll_1l1f9","container":"tabs__container_1l1f9","title":"tabs__title_1l1f9","disabled":"tabs__disabled_1l1f9","focused":"tabs__focused_1l1f9","collapsed":"tabs__collapsed_1l1f9","selected":"tabs__selected_1l1f9","line":"tabs__line_1l1f9","s":"tabs__s_1l1f9","xs":"tabs__xs_1l1f9","xxs":"tabs__xxs_1l1f9","pickerWrapper":"tabs__pickerWrapper_1l1f9","option":"tabs__option_1l1f9","m":"tabs__m_1l1f9","l":"tabs__l_1l1f9","xl":"tabs__xl_1l1f9","rightAddons":"tabs__rightAddons_1l1f9"};
|
|
2
|
+
require('./components/primary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const commonStyles = {"component":"tabs__component_19hnj","fullWidthScroll":"tabs__fullWidthScroll_19hnj","container":"tabs__container_19hnj","title":"tabs__title_19hnj","xxs":"tabs__xxs_19hnj","xs":"tabs__xs_19hnj","s":"tabs__s_19hnj","m":"tabs__m_19hnj","l":"tabs__l_19hnj","xl":"tabs__xl_19hnj"};
|
|
2
|
+
require('./components/secondary-tablist/index.css')
|
|
3
|
+
|
|
4
|
+
export { commonStyles as c };
|
package/modern/mobile.js
CHANGED
|
@@ -16,9 +16,9 @@ import './hooks/use-collapsible-elements.js';
|
|
|
16
16
|
import '@juggle/resize-observer';
|
|
17
17
|
import './synthetic-events.js';
|
|
18
18
|
import './components/title/Component.js';
|
|
19
|
-
import './index.module-
|
|
19
|
+
import './index.module-777f9d93.js';
|
|
20
20
|
import 'compute-scroll-into-view';
|
|
21
21
|
import './components/secondary-tablist/Component.js';
|
|
22
22
|
import '@alfalab/core-components-tag/modern';
|
|
23
|
-
import './index.module-
|
|
23
|
+
import './index.module-8bb023c1.js';
|
|
24
24
|
import './components/tabs/Component.js';
|
package/modern/responsive.js
CHANGED
|
@@ -16,13 +16,13 @@ import '@alfalab/core-components-picker-button/modern/desktop';
|
|
|
16
16
|
import './hooks/use-tablist-titles.js';
|
|
17
17
|
import './synthetic-events.js';
|
|
18
18
|
import './components/title/Component.js';
|
|
19
|
-
import './index.module-
|
|
19
|
+
import './index.module-777f9d93.js';
|
|
20
20
|
import './components/primary-tablist/Component.mobile.js';
|
|
21
21
|
import 'compute-scroll-into-view';
|
|
22
22
|
import './components/secondary-tablist/Component.desktop.js';
|
|
23
23
|
import './components/secondary-tablist/Component.js';
|
|
24
24
|
import '@alfalab/core-components-tag/modern';
|
|
25
|
-
import './index.module-
|
|
25
|
+
import './index.module-8bb023c1.js';
|
|
26
26
|
import './components/secondary-tablist/Component.mobile.js';
|
|
27
27
|
import './components/tabs/Component.js';
|
|
28
28
|
import '@juggle/resize-observer';
|
|
@@ -5,6 +5,7 @@ import { BaseModalProps } from "./index-bdb4c6b9";
|
|
|
5
5
|
import { NavigationBarProps } from "./index-e81c389f";
|
|
6
6
|
type BackgroundColorType = "accent" | "info" | "attention-muted" | "positive-muted" | "negative-muted" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "quaternary" | "quaternary-inverted" | "specialbg-component" | "specialbg-component-inverted" | "specialbg-primary-grouped" | "specialbg-secondary-grouped" | "specialbg-tertiary-grouped" | "specialbg-secondary-transparent" | "specialbg-secondary-transparent-inverted" | "specialbg-tertiary-transparent" | "specialbg-tertiary-transparent-inverted";
|
|
7
7
|
type BorderColorType = "accent" | "key" | "key-inverted" | "link" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "underline" | "underline-inverted" | "graphic-attention" | "graphic-link" | "graphic-negative" | "graphic-positive" | "specialbg-secondary-transparent" | "specialbg-secondary-transparent-inverted" | "specialbg-tertiary-transparent" | "specialbg-tertiary-transparent-inverted";
|
|
8
|
+
type GraphicColorType = "accent" | "link" | "attention" | "positive" | "negative" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "quaternary" | "quaternary-inverted" | "static-light" | "static-accent" | "static-dark";
|
|
8
9
|
type ShadowType = "shadow-xs" | "shadow-s" | "shadow-m" | "shadow-l" | "shadow-xl" | "shadow-xs-hard" | "shadow-s-hard" | "shadow-m-hard" | "shadow-l-hard" | "shadow-xl-hard" | "shadow-xs-up" | "shadow-s-up" | "shadow-m-up" | "shadow-l-up" | "shadow-xl-up" | "shadow-xs-hard-up" | "shadow-s-hard-up" | "shadow-m-hard-up" | "shadow-l-hard-up" | "shadow-xl-hard-up";
|
|
9
10
|
type GapType = "3xs" | "2xs" | "xs" | "s" | "m" | "l" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl";
|
|
10
11
|
type BottomSheetTitleAlign = 'center' | 'left';
|
|
@@ -189,7 +190,7 @@ type BottomSheetProps = {
|
|
|
189
190
|
* По-умолчанию -[0, window.innerHeight - '24px']
|
|
190
191
|
* массив должен состоять минимум из 2 элементов
|
|
191
192
|
*/
|
|
192
|
-
magneticAreas?: number
|
|
193
|
+
magneticAreas?: Array<number | string>;
|
|
193
194
|
/**
|
|
194
195
|
* Индекс точки из magneticAreas, к которому нужно примагнититься при первом открытии шторки.
|
|
195
196
|
*/
|
|
@@ -215,4 +216,4 @@ type BottomSheetProps = {
|
|
|
215
216
|
*/
|
|
216
217
|
onMagnetize?: (index: number) => void;
|
|
217
218
|
};
|
|
218
|
-
export { BackgroundColorType, BorderColorType, ShadowType, GapType, BottomSheetTitleAlign, BottomSheetProps };
|
|
219
|
+
export { BackgroundColorType, BorderColorType, GraphicColorType, ShadowType, GapType, BottomSheetTitleAlign, BottomSheetProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-tabs",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.4.0",
|
|
4
4
|
"description": "Tabs components",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@alfalab/core-components-keyboard-focusable": "^4.0.5",
|
|
21
|
-
"@alfalab/core-components-tag": "^5.3.
|
|
22
|
-
"@alfalab/core-components-picker-button": "^10.3.
|
|
23
|
-
"@alfalab/core-components-badge": "^5.0
|
|
21
|
+
"@alfalab/core-components-tag": "^5.3.1",
|
|
22
|
+
"@alfalab/core-components-picker-button": "^10.3.19",
|
|
23
|
+
"@alfalab/core-components-badge": "^5.1.0",
|
|
24
24
|
"classnames": "^2.3.1",
|
|
25
25
|
"compute-scroll-into-view": "^1.0.20",
|
|
26
26
|
"lodash.debounce": "^4.0.8",
|
package/responsive.js
CHANGED
|
@@ -21,13 +21,13 @@ require('@alfalab/core-components-picker-button/desktop');
|
|
|
21
21
|
require('./hooks/use-tablist-titles.js');
|
|
22
22
|
require('./synthetic-events.js');
|
|
23
23
|
require('./components/title/Component.js');
|
|
24
|
-
require('./index.module-
|
|
24
|
+
require('./index.module-bacb9546.js');
|
|
25
25
|
require('./components/primary-tablist/Component.mobile.js');
|
|
26
26
|
require('compute-scroll-into-view');
|
|
27
27
|
require('./components/secondary-tablist/Component.desktop.js');
|
|
28
28
|
require('./components/secondary-tablist/Component.js');
|
|
29
29
|
require('@alfalab/core-components-tag');
|
|
30
|
-
require('./index.module-
|
|
30
|
+
require('./index.module-16c600cb.js');
|
|
31
31
|
require('./components/secondary-tablist/Component.mobile.js');
|
|
32
32
|
require('./components/tabs/Component.js');
|
|
33
33
|
require('@juggle/resize-observer');
|
|
@@ -5,6 +5,7 @@ import { BaseModalProps } from "./index-bdb4c6b9";
|
|
|
5
5
|
import { NavigationBarProps } from "./index-e81c389f";
|
|
6
6
|
type BackgroundColorType = "accent" | "info" | "attention-muted" | "positive-muted" | "negative-muted" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "quaternary" | "quaternary-inverted" | "specialbg-component" | "specialbg-component-inverted" | "specialbg-primary-grouped" | "specialbg-secondary-grouped" | "specialbg-tertiary-grouped" | "specialbg-secondary-transparent" | "specialbg-secondary-transparent-inverted" | "specialbg-tertiary-transparent" | "specialbg-tertiary-transparent-inverted";
|
|
7
7
|
type BorderColorType = "accent" | "key" | "key-inverted" | "link" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "underline" | "underline-inverted" | "graphic-attention" | "graphic-link" | "graphic-negative" | "graphic-positive" | "specialbg-secondary-transparent" | "specialbg-secondary-transparent-inverted" | "specialbg-tertiary-transparent" | "specialbg-tertiary-transparent-inverted";
|
|
8
|
+
type GraphicColorType = "accent" | "link" | "attention" | "positive" | "negative" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "quaternary" | "quaternary-inverted" | "static-light" | "static-accent" | "static-dark";
|
|
8
9
|
type ShadowType = "shadow-xs" | "shadow-s" | "shadow-m" | "shadow-l" | "shadow-xl" | "shadow-xs-hard" | "shadow-s-hard" | "shadow-m-hard" | "shadow-l-hard" | "shadow-xl-hard" | "shadow-xs-up" | "shadow-s-up" | "shadow-m-up" | "shadow-l-up" | "shadow-xl-up" | "shadow-xs-hard-up" | "shadow-s-hard-up" | "shadow-m-hard-up" | "shadow-l-hard-up" | "shadow-xl-hard-up";
|
|
9
10
|
type GapType = "3xs" | "2xs" | "xs" | "s" | "m" | "l" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl";
|
|
10
11
|
type BottomSheetTitleAlign = 'center' | 'left';
|
|
@@ -189,7 +190,7 @@ type BottomSheetProps = {
|
|
|
189
190
|
* По-умолчанию -[0, window.innerHeight - '24px']
|
|
190
191
|
* массив должен состоять минимум из 2 элементов
|
|
191
192
|
*/
|
|
192
|
-
magneticAreas?: number
|
|
193
|
+
magneticAreas?: Array<number | string>;
|
|
193
194
|
/**
|
|
194
195
|
* Индекс точки из magneticAreas, к которому нужно примагнититься при первом открытии шторки.
|
|
195
196
|
*/
|
|
@@ -215,4 +216,4 @@ type BottomSheetProps = {
|
|
|
215
216
|
*/
|
|
216
217
|
onMagnetize?: (index: number) => void;
|
|
217
218
|
};
|
|
218
|
-
export { BackgroundColorType, BorderColorType, ShadowType, GapType, BottomSheetTitleAlign, BottomSheetProps };
|
|
219
|
+
export { BackgroundColorType, BorderColorType, GraphicColorType, ShadowType, GapType, BottomSheetTitleAlign, BottomSheetProps };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var commonStyles = {"component":"tabs__component_1vmms","fullWidthScroll":"tabs__fullWidthScroll_1vmms","container":"tabs__container_1vmms","title":"tabs__title_1vmms","xxs":"tabs__xxs_1vmms","xs":"tabs__xs_1vmms","s":"tabs__s_1vmms","m":"tabs__m_1vmms","l":"tabs__l_1vmms","xl":"tabs__xl_1vmms"};
|
|
2
|
-
require('./components/secondary-tablist/index.css')
|
|
3
|
-
|
|
4
|
-
export { commonStyles as c };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var commonStyles = {"component":"tabs__component_nmi4j","fullWidthScroll":"tabs__fullWidthScroll_nmi4j","container":"tabs__container_nmi4j","title":"tabs__title_nmi4j","disabled":"tabs__disabled_nmi4j","focused":"tabs__focused_nmi4j","collapsed":"tabs__collapsed_nmi4j","selected":"tabs__selected_nmi4j","line":"tabs__line_nmi4j","s":"tabs__s_nmi4j","xs":"tabs__xs_nmi4j","xxs":"tabs__xxs_nmi4j","pickerWrapper":"tabs__pickerWrapper_nmi4j","option":"tabs__option_nmi4j","m":"tabs__m_nmi4j","l":"tabs__l_nmi4j","xl":"tabs__xl_nmi4j","rightAddons":"tabs__rightAddons_nmi4j"};
|
|
2
|
-
require('./components/primary-tablist/index.css')
|
|
3
|
-
|
|
4
|
-
export { commonStyles as c };
|
package/index.module-3542b7eb.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var commonStyles = {"component":"tabs__component_nmi4j","fullWidthScroll":"tabs__fullWidthScroll_nmi4j","container":"tabs__container_nmi4j","title":"tabs__title_nmi4j","disabled":"tabs__disabled_nmi4j","focused":"tabs__focused_nmi4j","collapsed":"tabs__collapsed_nmi4j","selected":"tabs__selected_nmi4j","line":"tabs__line_nmi4j","s":"tabs__s_nmi4j","xs":"tabs__xs_nmi4j","xxs":"tabs__xxs_nmi4j","pickerWrapper":"tabs__pickerWrapper_nmi4j","option":"tabs__option_nmi4j","m":"tabs__m_nmi4j","l":"tabs__l_nmi4j","xl":"tabs__xl_nmi4j","rightAddons":"tabs__rightAddons_nmi4j"};
|
|
4
|
-
require('./components/primary-tablist/index.css')
|
|
5
|
-
|
|
6
|
-
exports.commonStyles = commonStyles;
|
package/index.module-8ba53f9c.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var commonStyles = {"component":"tabs__component_1vmms","fullWidthScroll":"tabs__fullWidthScroll_1vmms","container":"tabs__container_1vmms","title":"tabs__title_1vmms","xxs":"tabs__xxs_1vmms","xs":"tabs__xs_1vmms","s":"tabs__s_1vmms","m":"tabs__m_1vmms","l":"tabs__l_1vmms","xl":"tabs__xl_1vmms"};
|
|
4
|
-
require('./components/secondary-tablist/index.css')
|
|
5
|
-
|
|
6
|
-
exports.commonStyles = commonStyles;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const commonStyles = {"component":"tabs__component_nmi4j","fullWidthScroll":"tabs__fullWidthScroll_nmi4j","container":"tabs__container_nmi4j","title":"tabs__title_nmi4j","disabled":"tabs__disabled_nmi4j","focused":"tabs__focused_nmi4j","collapsed":"tabs__collapsed_nmi4j","selected":"tabs__selected_nmi4j","line":"tabs__line_nmi4j","s":"tabs__s_nmi4j","xs":"tabs__xs_nmi4j","xxs":"tabs__xxs_nmi4j","pickerWrapper":"tabs__pickerWrapper_nmi4j","option":"tabs__option_nmi4j","m":"tabs__m_nmi4j","l":"tabs__l_nmi4j","xl":"tabs__xl_nmi4j","rightAddons":"tabs__rightAddons_nmi4j"};
|
|
2
|
-
require('./components/primary-tablist/index.css')
|
|
3
|
-
|
|
4
|
-
export { commonStyles as c };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const commonStyles = {"component":"tabs__component_1vmms","fullWidthScroll":"tabs__fullWidthScroll_1vmms","container":"tabs__container_1vmms","title":"tabs__title_1vmms","xxs":"tabs__xxs_1vmms","xs":"tabs__xs_1vmms","s":"tabs__s_1vmms","m":"tabs__m_1vmms","l":"tabs__l_1vmms","xl":"tabs__xl_1vmms"};
|
|
2
|
-
require('./components/secondary-tablist/index.css')
|
|
3
|
-
|
|
4
|
-
export { commonStyles as c };
|