@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
|
@@ -17,10 +17,10 @@ import '../../synthetic-events.js';
|
|
|
17
17
|
import '../scrollable-container/Component.js';
|
|
18
18
|
import 'compute-scroll-into-view';
|
|
19
19
|
import '../title/Component.js';
|
|
20
|
-
import '../../index.module-
|
|
20
|
+
import '../../index.module-fa319b45.js';
|
|
21
21
|
import '../secondary-tablist/Component.js';
|
|
22
22
|
import '@alfalab/core-components-tag/esm';
|
|
23
|
-
import '../../index.module-
|
|
23
|
+
import '../../index.module-5133b558.js';
|
|
24
24
|
|
|
25
25
|
var views = {
|
|
26
26
|
primary: PrimaryTabListDesktop,
|
|
@@ -17,10 +17,10 @@ import '../../synthetic-events.js';
|
|
|
17
17
|
import '../scrollable-container/Component.js';
|
|
18
18
|
import 'compute-scroll-into-view';
|
|
19
19
|
import '../title/Component.js';
|
|
20
|
-
import '../../index.module-
|
|
20
|
+
import '../../index.module-fa319b45.js';
|
|
21
21
|
import '../secondary-tablist/Component.js';
|
|
22
22
|
import '@alfalab/core-components-tag/esm';
|
|
23
|
-
import '../../index.module-
|
|
23
|
+
import '../../index.module-5133b558.js';
|
|
24
24
|
|
|
25
25
|
var views = {
|
|
26
26
|
primary: PrimaryTabListMobile,
|
|
@@ -18,12 +18,12 @@ import '../../synthetic-events.js';
|
|
|
18
18
|
import '../scrollable-container/Component.js';
|
|
19
19
|
import 'compute-scroll-into-view';
|
|
20
20
|
import '../title/Component.js';
|
|
21
|
-
import '../../index.module-
|
|
21
|
+
import '../../index.module-fa319b45.js';
|
|
22
22
|
import '../primary-tablist/Component.mobile.js';
|
|
23
23
|
import '../secondary-tablist/Component.desktop.js';
|
|
24
24
|
import '../secondary-tablist/Component.js';
|
|
25
25
|
import '@alfalab/core-components-tag/esm';
|
|
26
|
-
import '../../index.module-
|
|
26
|
+
import '../../index.module-5133b558.js';
|
|
27
27
|
import '../secondary-tablist/Component.mobile.js';
|
|
28
28
|
|
|
29
29
|
var views = {
|
package/esm/desktop.js
CHANGED
|
@@ -16,10 +16,10 @@ import './hooks/use-tablist-titles.js';
|
|
|
16
16
|
import '@alfalab/hooks';
|
|
17
17
|
import './synthetic-events.js';
|
|
18
18
|
import './components/title/Component.js';
|
|
19
|
-
import './index.module-
|
|
19
|
+
import './index.module-fa319b45.js';
|
|
20
20
|
import 'compute-scroll-into-view';
|
|
21
21
|
import './components/secondary-tablist/Component.js';
|
|
22
22
|
import '@alfalab/core-components-tag/esm';
|
|
23
|
-
import './index.module-
|
|
23
|
+
import './index.module-5133b558.js';
|
|
24
24
|
import './components/tabs/Component.js';
|
|
25
25
|
import '@juggle/resize-observer';
|
package/esm/index-f12ee135.d.ts
CHANGED
package/esm/index.js
CHANGED
|
@@ -18,12 +18,12 @@ import './hooks/use-collapsible-elements.js';
|
|
|
18
18
|
import '@juggle/resize-observer';
|
|
19
19
|
import './synthetic-events.js';
|
|
20
20
|
import './components/title/Component.js';
|
|
21
|
-
import './index.module-
|
|
21
|
+
import './index.module-fa319b45.js';
|
|
22
22
|
import './components/primary-tablist/Component.mobile.js';
|
|
23
23
|
import 'compute-scroll-into-view';
|
|
24
24
|
import './components/secondary-tablist/Component.desktop.js';
|
|
25
25
|
import './components/secondary-tablist/Component.js';
|
|
26
26
|
import '@alfalab/core-components-tag/esm';
|
|
27
|
-
import './index.module-
|
|
27
|
+
import './index.module-5133b558.js';
|
|
28
28
|
import './components/secondary-tablist/Component.mobile.js';
|
|
29
29
|
import './components/tabs/Component.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var commonStyles = {"component":"tabs__component_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 };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var 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 };
|
package/esm/mobile.js
CHANGED
|
@@ -17,9 +17,9 @@ 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-fa319b45.js';
|
|
21
21
|
import 'compute-scroll-into-view';
|
|
22
22
|
import './components/secondary-tablist/Component.js';
|
|
23
23
|
import '@alfalab/core-components-tag/esm';
|
|
24
|
-
import './index.module-
|
|
24
|
+
import './index.module-5133b558.js';
|
|
25
25
|
import './components/tabs/Component.js';
|
package/esm/responsive.js
CHANGED
|
@@ -17,13 +17,13 @@ import '@alfalab/core-components-picker-button/esm/desktop';
|
|
|
17
17
|
import './hooks/use-tablist-titles.js';
|
|
18
18
|
import './synthetic-events.js';
|
|
19
19
|
import './components/title/Component.js';
|
|
20
|
-
import './index.module-
|
|
20
|
+
import './index.module-fa319b45.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/esm';
|
|
26
|
-
import './index.module-
|
|
26
|
+
import './index.module-5133b558.js';
|
|
27
27
|
import './components/secondary-tablist/Component.mobile.js';
|
|
28
28
|
import './components/tabs/Component.js';
|
|
29
29
|
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/index-f12ee135.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -22,13 +22,13 @@ require('./hooks/use-collapsible-elements.js');
|
|
|
22
22
|
require('@juggle/resize-observer');
|
|
23
23
|
require('./synthetic-events.js');
|
|
24
24
|
require('./components/title/Component.js');
|
|
25
|
-
require('./index.module-
|
|
25
|
+
require('./index.module-bacb9546.js');
|
|
26
26
|
require('./components/primary-tablist/Component.mobile.js');
|
|
27
27
|
require('compute-scroll-into-view');
|
|
28
28
|
require('./components/secondary-tablist/Component.desktop.js');
|
|
29
29
|
require('./components/secondary-tablist/Component.js');
|
|
30
30
|
require('@alfalab/core-components-tag');
|
|
31
|
-
require('./index.module-
|
|
31
|
+
require('./index.module-16c600cb.js');
|
|
32
32
|
require('./components/secondary-tablist/Component.mobile.js');
|
|
33
33
|
require('./components/tabs/Component.js');
|
|
34
34
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var 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"};
|
|
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_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"};
|
|
4
|
+
require('./components/primary-tablist/index.css')
|
|
5
|
+
|
|
6
|
+
exports.commonStyles = commonStyles;
|
package/mobile.js
CHANGED
|
@@ -21,11 +21,11 @@ require('./hooks/use-collapsible-elements.js');
|
|
|
21
21
|
require('@juggle/resize-observer');
|
|
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('compute-scroll-into-view');
|
|
26
26
|
require('./components/secondary-tablist/Component.js');
|
|
27
27
|
require('@alfalab/core-components-tag');
|
|
28
|
-
require('./index.module-
|
|
28
|
+
require('./index.module-16c600cb.js');
|
|
29
29
|
require('./components/tabs/Component.js');
|
|
30
30
|
|
|
31
31
|
|
|
@@ -4,7 +4,7 @@ import { FC, RefObject, ReactNode } from "react";
|
|
|
4
4
|
import { NavigationBarProps } from "./index-e81c389f";
|
|
5
5
|
import { SwipeableHandlers } from "react-swipeable";
|
|
6
6
|
import { BackdropProps } from "./index-ebda875c";
|
|
7
|
-
import { BottomSheetProps } from "./types-
|
|
7
|
+
import { BottomSheetProps } from "./types-996ad249";
|
|
8
8
|
type HeaderProps = Omit<NavigationBarProps, "view" | "size"> & {
|
|
9
9
|
headerRef: RefObject<HTMLDivElement>;
|
|
10
10
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PrimaryTabList } from './Component.js';
|
|
3
|
-
import { c as commonStyles } from '../../index.module-
|
|
3
|
+
import { c as commonStyles } from '../../index.module-777f9d93.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/core-components-badge/modern';
|
|
6
6
|
import '@alfalab/core-components-keyboard-focusable/modern';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { PrimaryTabList } from './Component.js';
|
|
4
|
-
import { c as commonStyles } from '../../index.module-
|
|
4
|
+
import { c as commonStyles } from '../../index.module-777f9d93.js';
|
|
5
5
|
import '@alfalab/core-components-badge/modern';
|
|
6
6
|
import '@alfalab/core-components-keyboard-focusable/modern';
|
|
7
7
|
import '@alfalab/core-components-picker-button/modern/desktop';
|
|
@@ -15,7 +15,7 @@ import '../scrollable-container/Component.js';
|
|
|
15
15
|
import 'compute-scroll-into-view';
|
|
16
16
|
import '../title/Component.js';
|
|
17
17
|
|
|
18
|
-
const mobileStyles = {"title":"
|
|
18
|
+
const mobileStyles = {"title":"tabs__title_1yjz1 tabs__title_1l1f9","mobile":"tabs__mobile_1yjz1"};
|
|
19
19
|
require('./mobile.css')
|
|
20
20
|
|
|
21
21
|
const styles = {
|
|
@@ -15,7 +15,7 @@ import '../../synthetic-events.js';
|
|
|
15
15
|
import '../scrollable-container/Component.js';
|
|
16
16
|
import 'compute-scroll-into-view';
|
|
17
17
|
import '../title/Component.js';
|
|
18
|
-
import '../../index.module-
|
|
18
|
+
import '../../index.module-777f9d93.js';
|
|
19
19
|
|
|
20
20
|
const PrimaryTabListResponsive = ({ size, defaultMatch = 'desktop', collapsible, collapsedTabsIds, fullWidthScroll, ...restProps }) => {
|
|
21
21
|
const [view] = useMedia([
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 9diiy */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-accent: #ef3124;
|
|
@@ -83,11 +83,11 @@
|
|
|
83
83
|
/* size l */
|
|
84
84
|
|
|
85
85
|
/* size xl */
|
|
86
|
-
} .
|
|
86
|
+
} .tabs__component_1l1f9 {
|
|
87
87
|
position: relative;
|
|
88
88
|
display: inline-flex;
|
|
89
89
|
min-width: 100%
|
|
90
|
-
} .
|
|
90
|
+
} .tabs__component_1l1f9:before {
|
|
91
91
|
content: '';
|
|
92
92
|
display: block;
|
|
93
93
|
position: absolute;
|
|
@@ -95,17 +95,17 @@
|
|
|
95
95
|
height: 1px;
|
|
96
96
|
width: 100%;
|
|
97
97
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
98
|
-
} .
|
|
98
|
+
} .tabs__fullWidthScroll_1l1f9 {
|
|
99
99
|
min-width: calc(100% - 2 * var(--gap-m));
|
|
100
100
|
margin: 0 var(--gap-m);
|
|
101
|
-
} .
|
|
101
|
+
} .tabs__container_1l1f9 {
|
|
102
102
|
position: relative;
|
|
103
103
|
overflow: hidden;
|
|
104
104
|
|
|
105
105
|
/* focus-outline fix */
|
|
106
106
|
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
107
107
|
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
|
|
108
|
-
} .
|
|
108
|
+
} .tabs__title_1l1f9 {
|
|
109
109
|
display: flex;
|
|
110
110
|
align-items: center;
|
|
111
111
|
height: 100%;
|
|
@@ -122,76 +122,76 @@
|
|
|
122
122
|
user-select: none;
|
|
123
123
|
cursor: pointer;
|
|
124
124
|
outline: none
|
|
125
|
-
} .
|
|
125
|
+
} .tabs__title_1l1f9:not(.tabs__disabled_1l1f9):hover {
|
|
126
126
|
color: var(--primary-tablist-hover-color);
|
|
127
|
-
} .
|
|
127
|
+
} .tabs__focused_1l1f9 {
|
|
128
128
|
outline: 2px solid var(--focus-color);
|
|
129
129
|
outline-offset: 2px;
|
|
130
|
-
} .
|
|
130
|
+
} .tabs__collapsed_1l1f9 {
|
|
131
131
|
order: 99;
|
|
132
132
|
visibility: collapse;
|
|
133
|
-
} .
|
|
133
|
+
} .tabs__selected_1l1f9 {
|
|
134
134
|
cursor: default;
|
|
135
135
|
color: var(--primary-tablist-selected-color);
|
|
136
|
-
} .
|
|
136
|
+
} .tabs__disabled_1l1f9 {
|
|
137
137
|
cursor: var(--disabled-cursor);
|
|
138
138
|
color: var(--primary-tablist-disabled-color);
|
|
139
|
-
} .
|
|
139
|
+
} .tabs__line_1l1f9 {
|
|
140
140
|
position: absolute;
|
|
141
141
|
height: 3px;
|
|
142
142
|
bottom: 0;
|
|
143
143
|
left: 0;
|
|
144
144
|
background-color: var(--primary-tablist-line-color);
|
|
145
145
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
146
|
-
} /* sizes */ .
|
|
146
|
+
} /* sizes */ .tabs__s_1l1f9 .tabs__title_1l1f9, .tabs__xs_1l1f9 .tabs__title_1l1f9, .tabs__xxs_1l1f9 .tabs__title_1l1f9 {
|
|
147
147
|
padding: var(--primary-tablist-s-padding);
|
|
148
148
|
font-size: var(--primary-tablist-s-font-size);
|
|
149
149
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
150
150
|
font-family: var(--primary-tablist-s-font-family);
|
|
151
151
|
line-height: 24px;
|
|
152
|
-
} .
|
|
152
|
+
} .tabs__s_1l1f9 .tabs__title_1l1f9 + .tabs__title_1l1f9, .tabs__xs_1l1f9 .tabs__title_1l1f9 + .tabs__title_1l1f9, .tabs__xxs_1l1f9 .tabs__title_1l1f9 + .tabs__title_1l1f9 {
|
|
153
153
|
margin-left: var(--primary-tablist-s-gaps);
|
|
154
|
-
} .
|
|
154
|
+
} .tabs__s_1l1f9 .tabs__pickerWrapper_1l1f9, .tabs__xs_1l1f9 .tabs__pickerWrapper_1l1f9, .tabs__xxs_1l1f9 .tabs__pickerWrapper_1l1f9 {
|
|
155
155
|
margin-left: var(--primary-tablist-s-gaps);
|
|
156
|
-
} .
|
|
156
|
+
} .tabs__s_1l1f9 .tabs__option_1l1f9, .tabs__xs_1l1f9 .tabs__option_1l1f9, .tabs__xxs_1l1f9 .tabs__option_1l1f9 {
|
|
157
157
|
padding: 0;
|
|
158
|
-
} .
|
|
158
|
+
} .tabs__m_1l1f9 .tabs__title_1l1f9 {
|
|
159
159
|
padding: var(--primary-tablist-m-padding);
|
|
160
160
|
font-size: var(--primary-tablist-m-font-size);
|
|
161
161
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
162
162
|
font-family: var(--primary-tablist-m-font-family);
|
|
163
163
|
line-height: 24px;
|
|
164
|
-
} .
|
|
164
|
+
} .tabs__m_1l1f9 .tabs__title_1l1f9 + .tabs__title_1l1f9 {
|
|
165
165
|
margin-left: var(--primary-tablist-m-gaps);
|
|
166
|
-
} .
|
|
166
|
+
} .tabs__m_1l1f9 .tabs__pickerWrapper_1l1f9 {
|
|
167
167
|
margin-left: var(--primary-tablist-m-gaps);
|
|
168
|
-
} .
|
|
168
|
+
} .tabs__m_1l1f9 .tabs__option_1l1f9 {
|
|
169
169
|
padding: 0;
|
|
170
|
-
} .
|
|
170
|
+
} .tabs__l_1l1f9 .tabs__title_1l1f9 {
|
|
171
171
|
padding: var(--primary-tablist-l-padding);
|
|
172
172
|
font-size: var(--primary-tablist-l-font-size);
|
|
173
173
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
174
174
|
font-family: var(--primary-tablist-l-font-family);
|
|
175
175
|
line-height: 24px;
|
|
176
|
-
} .
|
|
176
|
+
} .tabs__l_1l1f9 .tabs__title_1l1f9 + .tabs__title_1l1f9 {
|
|
177
177
|
margin-left: var(--primary-tablist-l-gaps);
|
|
178
|
-
} .
|
|
178
|
+
} .tabs__l_1l1f9 .tabs__pickerWrapper_1l1f9 {
|
|
179
179
|
margin-left: var(--primary-tablist-l-gaps);
|
|
180
|
-
} .
|
|
180
|
+
} .tabs__l_1l1f9 .tabs__option_1l1f9 {
|
|
181
181
|
padding: 0;
|
|
182
|
-
} .
|
|
182
|
+
} .tabs__xl_1l1f9 .tabs__title_1l1f9 {
|
|
183
183
|
padding: var(--primary-tablist-xl-padding);
|
|
184
184
|
font-size: var(--primary-tablist-xl-font-size);
|
|
185
185
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
186
186
|
font-family: var(--primary-tablist-xl-font-family);
|
|
187
187
|
line-height: 32px;
|
|
188
|
-
} .
|
|
188
|
+
} .tabs__xl_1l1f9 .tabs__title_1l1f9 + .tabs__title_1l1f9 {
|
|
189
189
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
190
|
-
} .
|
|
190
|
+
} .tabs__xl_1l1f9 .tabs__pickerWrapper_1l1f9 {
|
|
191
191
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
192
|
-
} .
|
|
192
|
+
} .tabs__xl_1l1f9 .tabs__option_1l1f9 {
|
|
193
193
|
padding: 0;
|
|
194
|
-
} .
|
|
194
|
+
} .tabs__rightAddons_1l1f9 {
|
|
195
195
|
display: flex;
|
|
196
196
|
justify-content: center;
|
|
197
197
|
align-items: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1m2rr */
|
|
2
2
|
:root {
|
|
3
3
|
}/* deprecated */:root {
|
|
4
4
|
--color-light-border-accent: #ef3124;
|
|
@@ -90,11 +90,11 @@
|
|
|
90
90
|
/* size l */
|
|
91
91
|
|
|
92
92
|
/* size xl */
|
|
93
|
-
}.
|
|
93
|
+
}.tabs__component_1l1f9 {
|
|
94
94
|
position: relative;
|
|
95
95
|
display: inline-flex;
|
|
96
96
|
min-width: 100%
|
|
97
|
-
}.
|
|
97
|
+
}.tabs__component_1l1f9:before {
|
|
98
98
|
content: '';
|
|
99
99
|
display: block;
|
|
100
100
|
position: absolute;
|
|
@@ -102,17 +102,17 @@
|
|
|
102
102
|
height: 1px;
|
|
103
103
|
width: 100%;
|
|
104
104
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
105
|
-
}.
|
|
105
|
+
}.tabs__fullWidthScroll_1l1f9 {
|
|
106
106
|
min-width: calc(100% - 2 * var(--gap-m));
|
|
107
107
|
margin: 0 var(--gap-m);
|
|
108
|
-
}.
|
|
108
|
+
}.tabs__container_1l1f9 {
|
|
109
109
|
position: relative;
|
|
110
110
|
overflow: hidden;
|
|
111
111
|
|
|
112
112
|
/* focus-outline fix */
|
|
113
113
|
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
114
114
|
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
|
|
115
|
-
}.
|
|
115
|
+
}.tabs__title_1l1f9 {
|
|
116
116
|
display: flex;
|
|
117
117
|
align-items: center;
|
|
118
118
|
height: 100%;
|
|
@@ -129,76 +129,76 @@
|
|
|
129
129
|
user-select: none;
|
|
130
130
|
cursor: pointer;
|
|
131
131
|
outline: none
|
|
132
|
-
}.
|
|
132
|
+
}.tabs__title_1l1f9:not(.tabs__disabled_1l1f9):hover {
|
|
133
133
|
color: var(--primary-tablist-hover-color);
|
|
134
|
-
}.
|
|
134
|
+
}.tabs__focused_1l1f9 {
|
|
135
135
|
outline: 2px solid var(--focus-color);
|
|
136
136
|
outline-offset: 2px;
|
|
137
|
-
}.
|
|
137
|
+
}.tabs__collapsed_1l1f9 {
|
|
138
138
|
order: 99;
|
|
139
139
|
visibility: collapse;
|
|
140
|
-
}.
|
|
140
|
+
}.tabs__selected_1l1f9 {
|
|
141
141
|
cursor: default;
|
|
142
142
|
color: var(--primary-tablist-selected-color);
|
|
143
|
-
}.
|
|
143
|
+
}.tabs__disabled_1l1f9 {
|
|
144
144
|
cursor: var(--disabled-cursor);
|
|
145
145
|
color: var(--primary-tablist-disabled-color);
|
|
146
|
-
}.
|
|
146
|
+
}.tabs__line_1l1f9 {
|
|
147
147
|
position: absolute;
|
|
148
148
|
height: 3px;
|
|
149
149
|
bottom: 0;
|
|
150
150
|
left: 0;
|
|
151
151
|
background-color: var(--primary-tablist-line-color);
|
|
152
152
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
153
|
-
}/* sizes */.
|
|
153
|
+
}/* sizes */.tabs__s_1l1f9 .tabs__title_1l1f9, .tabs__xs_1l1f9 .tabs__title_1l1f9, .tabs__xxs_1l1f9 .tabs__title_1l1f9 {
|
|
154
154
|
padding: var(--primary-tablist-s-padding);
|
|
155
155
|
font-size: var(--primary-tablist-s-font-size);
|
|
156
156
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
157
157
|
font-family: var(--primary-tablist-s-font-family);
|
|
158
158
|
line-height: 24px;
|
|
159
|
-
}.
|
|
159
|
+
}.tabs__s_1l1f9 .tabs__title_1l1f9 + .tabs__title_1l1f9, .tabs__xs_1l1f9 .tabs__title_1l1f9 + .tabs__title_1l1f9, .tabs__xxs_1l1f9 .tabs__title_1l1f9 + .tabs__title_1l1f9 {
|
|
160
160
|
margin-left: var(--primary-tablist-s-gaps);
|
|
161
|
-
}.
|
|
161
|
+
}.tabs__s_1l1f9 .tabs__pickerWrapper_1l1f9, .tabs__xs_1l1f9 .tabs__pickerWrapper_1l1f9, .tabs__xxs_1l1f9 .tabs__pickerWrapper_1l1f9 {
|
|
162
162
|
margin-left: var(--primary-tablist-s-gaps);
|
|
163
|
-
}.
|
|
163
|
+
}.tabs__s_1l1f9 .tabs__option_1l1f9, .tabs__xs_1l1f9 .tabs__option_1l1f9, .tabs__xxs_1l1f9 .tabs__option_1l1f9 {
|
|
164
164
|
padding: 0;
|
|
165
|
-
}.
|
|
165
|
+
}.tabs__m_1l1f9 .tabs__title_1l1f9 {
|
|
166
166
|
padding: var(--primary-tablist-m-padding);
|
|
167
167
|
font-size: var(--primary-tablist-m-font-size);
|
|
168
168
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
169
169
|
font-family: var(--primary-tablist-m-font-family);
|
|
170
170
|
line-height: 24px;
|
|
171
|
-
}.
|
|
171
|
+
}.tabs__m_1l1f9 .tabs__title_1l1f9 + .tabs__title_1l1f9 {
|
|
172
172
|
margin-left: var(--primary-tablist-m-gaps);
|
|
173
|
-
}.
|
|
173
|
+
}.tabs__m_1l1f9 .tabs__pickerWrapper_1l1f9 {
|
|
174
174
|
margin-left: var(--primary-tablist-m-gaps);
|
|
175
|
-
}.
|
|
175
|
+
}.tabs__m_1l1f9 .tabs__option_1l1f9 {
|
|
176
176
|
padding: 0;
|
|
177
|
-
}.
|
|
177
|
+
}.tabs__l_1l1f9 .tabs__title_1l1f9 {
|
|
178
178
|
padding: var(--primary-tablist-l-padding);
|
|
179
179
|
font-size: var(--primary-tablist-l-font-size);
|
|
180
180
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
181
181
|
font-family: var(--primary-tablist-l-font-family);
|
|
182
182
|
line-height: 24px;
|
|
183
|
-
}.
|
|
183
|
+
}.tabs__l_1l1f9 .tabs__title_1l1f9 + .tabs__title_1l1f9 {
|
|
184
184
|
margin-left: var(--primary-tablist-l-gaps);
|
|
185
|
-
}.
|
|
185
|
+
}.tabs__l_1l1f9 .tabs__pickerWrapper_1l1f9 {
|
|
186
186
|
margin-left: var(--primary-tablist-l-gaps);
|
|
187
|
-
}.
|
|
187
|
+
}.tabs__l_1l1f9 .tabs__option_1l1f9 {
|
|
188
188
|
padding: 0;
|
|
189
|
-
}.
|
|
189
|
+
}.tabs__xl_1l1f9 .tabs__title_1l1f9 {
|
|
190
190
|
padding: var(--primary-tablist-xl-padding);
|
|
191
191
|
font-size: var(--primary-tablist-xl-font-size);
|
|
192
192
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
193
193
|
font-family: var(--primary-tablist-xl-font-family);
|
|
194
194
|
line-height: 32px;
|
|
195
|
-
}.
|
|
195
|
+
}.tabs__xl_1l1f9 .tabs__title_1l1f9 + .tabs__title_1l1f9 {
|
|
196
196
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
197
|
-
}.
|
|
197
|
+
}.tabs__xl_1l1f9 .tabs__pickerWrapper_1l1f9 {
|
|
198
198
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
199
|
-
}.
|
|
199
|
+
}.tabs__xl_1l1f9 .tabs__option_1l1f9 {
|
|
200
200
|
padding: 0;
|
|
201
|
-
}.
|
|
201
|
+
}.tabs__rightAddons_1l1f9 {
|
|
202
202
|
display: flex;
|
|
203
203
|
justify-content: center;
|
|
204
204
|
align-items: center;
|
|
@@ -473,6 +473,7 @@
|
|
|
473
473
|
--color-dark-bg-primary-alpha-15: rgba(18, 18, 18, 0.15);
|
|
474
474
|
--color-dark-bg-primary-alpha-16: rgba(18, 18, 18, 0.16);
|
|
475
475
|
--color-dark-bg-primary-alpha-20: rgba(18, 18, 18, 0.2);
|
|
476
|
+
--color-dark-bg-primary-alpha-30: rgba(18, 18, 18, 0.3);
|
|
476
477
|
--color-dark-bg-primary-alpha-32: rgba(18, 18, 18, 0.32);
|
|
477
478
|
--color-dark-bg-primary-alpha-37: rgba(18, 18, 18, 0.37);
|
|
478
479
|
--color-dark-bg-primary-alpha-40: rgba(18, 18, 18, 0.4);
|
|
@@ -624,6 +625,7 @@
|
|
|
624
625
|
--color-light-bg-primary-alpha-15: rgba(255, 255, 255, 0.15);
|
|
625
626
|
--color-light-bg-primary-alpha-16: rgba(255, 255, 255, 0.16);
|
|
626
627
|
--color-light-bg-primary-alpha-20: rgba(255, 255, 255, 0.2);
|
|
628
|
+
--color-light-bg-primary-alpha-30: rgba(255, 255, 255, 0.3);
|
|
627
629
|
--color-light-bg-primary-alpha-32: rgba(255, 255, 255, 0.32);
|
|
628
630
|
--color-light-bg-primary-alpha-37: rgba(255, 255, 255, 0.37);
|
|
629
631
|
--color-light-bg-primary-alpha-40: rgba(255, 255, 255, 0.4);
|
|
@@ -1088,13 +1090,13 @@
|
|
|
1088
1090
|
|
|
1089
1091
|
/* size xl */
|
|
1090
1092
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
1091
|
-
} .
|
|
1092
|
-
} .
|
|
1093
|
+
} .tabs__title_1yjz1 {
|
|
1094
|
+
} .tabs__mobile_1yjz1 .tabs__title_1yjz1 {
|
|
1093
1095
|
padding: var(--primary-tablist-mobile-padding);
|
|
1094
1096
|
font-size: var(--primary-tablist-mobile-font-size);
|
|
1095
1097
|
font-weight: var(--primary-tablist-mobile-font-weight);
|
|
1096
1098
|
font-family: var(--primary-tablist-mobile-font-family);
|
|
1097
1099
|
line-height: var(--primary-tablist-mobile-line-height)
|
|
1098
|
-
} .
|
|
1100
|
+
} .tabs__mobile_1yjz1 .tabs__title_1yjz1 + .tabs__title_1yjz1 {
|
|
1099
1101
|
margin-left: var(--primary-tablist-mobile-gaps);
|
|
1100
1102
|
}
|
|
@@ -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
|
-
const styles = {"container":"
|
|
5
|
+
const styles = {"container":"tabs__container_ys9sr","fullWidthScroll":"tabs__fullWidthScroll_ys9sr"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1gpjb */
|
|
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 */
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
/* size l */
|
|
43
43
|
|
|
44
44
|
/* size xl */
|
|
45
|
-
} .
|
|
45
|
+
} .tabs__container_ys9sr {
|
|
46
46
|
position: relative;
|
|
47
47
|
overflow-x: auto;
|
|
48
48
|
overflow-y: hidden;
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
/* focus-outline fix */
|
|
53
53
|
margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
|
|
54
54
|
padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs)
|
|
55
|
-
} .
|
|
55
|
+
} .tabs__container_ys9sr::-webkit-scrollbar {
|
|
56
56
|
display: none;
|
|
57
|
-
} .
|
|
57
|
+
} .tabs__container_ys9sr > * {
|
|
58
58
|
flex-shrink: 0;
|
|
59
|
-
} .
|
|
59
|
+
} .tabs__fullWidthScroll_ys9sr {
|
|
60
60
|
margin: 0 var(--gap-m-neg);
|
|
61
61
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SecondaryTabList } from './Component.js';
|
|
3
|
-
import { c as commonStyles } from '../../index.module-
|
|
3
|
+
import { c as commonStyles } from '../../index.module-8bb023c1.js';
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/core-components-tag/modern';
|
|
6
6
|
import '../../hooks/use-tabs.js';
|