@alfalab/core-components-tabs 6.2.6 → 6.2.7
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 +18 -18
- package/dist/components/primary-tablist/mobile.css +32 -27
- package/dist/components/scrollable-container/Component.js +1 -1
- package/dist/components/scrollable-container/index.css +3 -3
- 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 +9 -9
- package/dist/components/secondary-tablist/mobile.css +15 -11
- package/dist/components/tab/Component.js +1 -1
- package/dist/components/tab/index.css +2 -2
- 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/cssm/components/primary-tablist/mobile.module.css +9 -8
- package/dist/cssm/components/secondary-tablist/mobile.module.css +2 -2
- package/dist/cssm/components/tabs/Component.d.ts +1 -1
- package/dist/cssm/components/tabs/Component.desktop.d.ts +1 -1
- package/dist/cssm/components/tabs/Component.mobile.d.ts +1 -1
- package/dist/cssm/components/tabs/Component.responsive.d.ts +1 -1
- 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 +18 -18
- package/dist/esm/components/primary-tablist/mobile.css +32 -27
- package/dist/esm/components/scrollable-container/Component.js +1 -1
- package/dist/esm/components/scrollable-container/index.css +3 -3
- 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 +9 -9
- package/dist/esm/components/secondary-tablist/mobile.css +15 -11
- package/dist/esm/components/tab/Component.js +1 -1
- package/dist/esm/components/tab/index.css +2 -2
- 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-0b49bd8c.js +4 -0
- package/dist/esm/index.module-467f4c32.js +4 -0
- package/dist/esm/mobile.js +3 -3
- package/dist/esm/responsive.js +3 -3
- package/dist/esm/{tslib.es6-58e23a63.d.ts → tslib.es6-0d96f196.d.ts} +0 -0
- package/dist/esm/{tslib.es6-58e23a63.js → tslib.es6-0d96f196.js} +0 -0
- package/dist/index.js +3 -3
- package/dist/index.module-0f417062.js +6 -0
- package/dist/index.module-24f4736a.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 +18 -18
- package/dist/modern/components/primary-tablist/mobile.css +32 -27
- package/dist/modern/components/scrollable-container/Component.js +1 -1
- package/dist/modern/components/scrollable-container/index.css +3 -3
- 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 +9 -9
- package/dist/modern/components/secondary-tablist/mobile.css +15 -11
- package/dist/modern/components/tab/Component.js +1 -1
- package/dist/modern/components/tab/index.css +2 -2
- 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-0b49bd8c.js +4 -0
- package/dist/modern/index.module-467f4c32.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-458e718e.d.ts → tslib.es6-3a9c9503.d.ts} +0 -0
- package/dist/{tslib.es6-458e718e.js → tslib.es6-3a9c9503.js} +0 -0
- package/package.json +2 -2
- package/dist/esm/index.module-2ea3d338.js +0 -4
- package/dist/esm/index.module-3b6fb134.js +0 -4
- package/dist/index.module-5199abc6.js +0 -6
- package/dist/index.module-d8000b3b.js +0 -6
- package/dist/modern/index.module-2ea3d338.js +0 -4
- package/dist/modern/index.module-3b6fb134.js +0 -4
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var tslib_es6 = require('../../tslib.es6-
|
|
5
|
+
var tslib_es6 = require('../../tslib.es6-3a9c9503.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
require('@alfalab/core-components-keyboard-focusable');
|
|
8
8
|
require('classnames');
|
|
@@ -10,11 +10,11 @@ require('compute-scroll-into-view');
|
|
|
10
10
|
require('../scrollable-container/Component.js');
|
|
11
11
|
require('../../useTabs.js');
|
|
12
12
|
require('../primary-tablist/Component.js');
|
|
13
|
-
require('../../index.module-
|
|
13
|
+
require('../../index.module-0f417062.js');
|
|
14
14
|
require('../primary-tablist/Component.desktop.js');
|
|
15
15
|
require('@alfalab/core-components-tag');
|
|
16
16
|
require('../secondary-tablist/Component.js');
|
|
17
|
-
require('../../index.module-
|
|
17
|
+
require('../../index.module-24f4736a.js');
|
|
18
18
|
require('../secondary-tablist/Component.desktop.js');
|
|
19
19
|
var components_tabs_Component = require('./Component.js');
|
|
20
20
|
require('@alfalab/hooks');
|
|
@@ -47,13 +47,14 @@
|
|
|
47
47
|
}
|
|
48
48
|
.title {
|
|
49
49
|
composes: title from 'index.module.css';
|
|
50
|
-
|
|
51
|
-
padding: var(--primary-tablist-mobile-padding);
|
|
52
|
-
font-size: var(--primary-tablist-mobile-font-size);
|
|
53
|
-
font-weight: var(--primary-tablist-mobile-font-weight);
|
|
54
|
-
font-family: var(--primary-tablist-mobile-font-family);
|
|
55
|
-
line-height: 24px
|
|
56
50
|
}
|
|
57
|
-
.
|
|
58
|
-
|
|
51
|
+
.mobile .title {
|
|
52
|
+
padding: var(--primary-tablist-mobile-padding);
|
|
53
|
+
font-size: var(--primary-tablist-mobile-font-size);
|
|
54
|
+
font-weight: var(--primary-tablist-mobile-font-weight);
|
|
55
|
+
font-family: var(--primary-tablist-mobile-font-family);
|
|
56
|
+
line-height: 24px
|
|
59
57
|
}
|
|
58
|
+
.mobile .title + .title {
|
|
59
|
+
margin-left: var(--primary-tablist-mobile-gaps);
|
|
60
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TabsProps } from "../../typings";
|
|
3
|
-
declare const Tabs: ({ TabList, className, containerClassName, size, defaultMatch, children, selectedId, scrollable, keepMounted, dataTestId, onChange, }: Pick<TabsProps, "
|
|
3
|
+
declare const Tabs: ({ TabList, className, containerClassName, size, defaultMatch, children, selectedId, scrollable, keepMounted, dataTestId, onChange, }: Pick<TabsProps, "children" | "className" | "onChange" | "size" | "dataTestId" | "mobile" | "containerClassName" | "defaultMatch" | "selectedId" | "scrollable" | "keepMounted" | "TabList">) => JSX.Element;
|
|
4
4
|
export { Tabs };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TabsProps } from "../../typings";
|
|
3
3
|
type TabsDesktopProps = Omit<TabsProps, 'TabList'>;
|
|
4
|
-
declare const TabsDesktop: ({ view, scrollable, size, ...restProps }: Pick<TabsProps, "
|
|
4
|
+
declare const TabsDesktop: ({ view, scrollable, size, ...restProps }: Pick<TabsProps, "children" | "className" | "onChange" | "size" | "dataTestId" | "view" | "mobile" | "containerClassName" | "defaultMatch" | "selectedId" | "scrollable" | "keepMounted">) => JSX.Element;
|
|
5
5
|
export { TabsDesktopProps, TabsDesktop };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TabsProps } from "../../typings";
|
|
3
3
|
type TabsMobileProps = Omit<TabsProps, 'TabList' | 'size'>;
|
|
4
|
-
declare const TabsMobile: ({ view, scrollable, ...restProps }: Pick<TabsProps, "
|
|
4
|
+
declare const TabsMobile: ({ view, scrollable, ...restProps }: Pick<TabsProps, "children" | "className" | "onChange" | "dataTestId" | "view" | "mobile" | "containerClassName" | "defaultMatch" | "selectedId" | "scrollable" | "keepMounted">) => JSX.Element;
|
|
5
5
|
export { TabsMobileProps, TabsMobile };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TabsProps } from "../../typings";
|
|
3
3
|
type TabsResponsiveProps = Omit<TabsProps, 'TabList'>;
|
|
4
|
-
declare const TabsResponsive: ({ view, scrollable, ...restProps }: Pick<TabsProps, "
|
|
4
|
+
declare const TabsResponsive: ({ view, scrollable, ...restProps }: Pick<TabsProps, "children" | "className" | "onChange" | "size" | "dataTestId" | "view" | "mobile" | "containerClassName" | "defaultMatch" | "selectedId" | "scrollable" | "keepMounted">) => JSX.Element;
|
|
5
5
|
export { TabsResponsiveProps, TabsResponsive };
|
package/dist/desktop.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('./tslib.es6-
|
|
5
|
+
require('./tslib.es6-3a9c9503.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-0f417062.js');
|
|
14
14
|
var components_primaryTablist_Component_desktop = require('./components/primary-tablist/Component.desktop.js');
|
|
15
15
|
require('@alfalab/core-components-tag');
|
|
16
16
|
require('./components/secondary-tablist/Component.js');
|
|
17
|
-
require('./index.module-
|
|
17
|
+
require('./index.module-24f4736a.js');
|
|
18
18
|
var components_secondaryTablist_Component_desktop = require('./components/secondary-tablist/Component.desktop.js');
|
|
19
19
|
var components_tab_Component = require('./components/tab/Component.js');
|
|
20
20
|
require('./components/tabs/Component.js');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-0d96f196.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,7 +6,7 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import { PrimaryTabList } from './Component.js';
|
|
9
|
-
import { c as commonStyles } from '../../index.module-
|
|
9
|
+
import { c as commonStyles } from '../../index.module-467f4c32.js';
|
|
10
10
|
|
|
11
11
|
var PrimaryTabListDesktop = function (_a) {
|
|
12
12
|
var _b = _a.size, size = _b === void 0 ? 'm' : _b, restProps = __rest(_a, ["size"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign } from '../../tslib.es6-0d96f196.js';
|
|
2
2
|
import React, { useRef, useEffect } from 'react';
|
|
3
3
|
import { KeyboardFocusable } from '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import cn from 'classnames';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign, _ as __rest } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign, _ as __rest } from '../../tslib.es6-0d96f196.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import cn from 'classnames';
|
|
@@ -6,9 +6,9 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import { PrimaryTabList } from './Component.js';
|
|
9
|
-
import { c as commonStyles } from '../../index.module-
|
|
9
|
+
import { c as commonStyles } from '../../index.module-467f4c32.js';
|
|
10
10
|
|
|
11
|
-
var mobileStyles = {"title":"
|
|
11
|
+
var mobileStyles = {"title":"tabs__title_11alq tabs__title_1wevv","mobile":"tabs__mobile_11alq"};
|
|
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-0d96f196.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import '@alfalab/core-components-keyboard-focusable/dist/esm';
|
|
4
4
|
import 'classnames';
|
|
@@ -6,7 +6,7 @@ import 'compute-scroll-into-view';
|
|
|
6
6
|
import '../scrollable-container/Component.js';
|
|
7
7
|
import '../../useTabs.js';
|
|
8
8
|
import './Component.js';
|
|
9
|
-
import '../../index.module-
|
|
9
|
+
import '../../index.module-467f4c32.js';
|
|
10
10
|
import { PrimaryTabListDesktop } from './Component.desktop.js';
|
|
11
11
|
import { useMedia } from '@alfalab/hooks';
|
|
12
12
|
import { PrimaryTabListMobile } from './Component.mobile.js';
|
|
@@ -82,10 +82,10 @@
|
|
|
82
82
|
|
|
83
83
|
/* size xl */
|
|
84
84
|
}
|
|
85
|
-
.
|
|
85
|
+
.tabs__component_1wevv {
|
|
86
86
|
position: relative
|
|
87
87
|
}
|
|
88
|
-
.
|
|
88
|
+
.tabs__component_1wevv: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_1wevv {
|
|
98
98
|
position: relative;
|
|
99
99
|
display: flex;
|
|
100
100
|
}
|
|
101
|
-
.
|
|
101
|
+
.tabs__title_1wevv {
|
|
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_1wevv:not(.tabs__disabled_1wevv):hover {
|
|
120
120
|
color: var(--primary-tablist-hover-color);
|
|
121
121
|
}
|
|
122
|
-
.
|
|
122
|
+
.tabs__focused_1wevv {
|
|
123
123
|
outline: 2px solid var(--focus-color);
|
|
124
124
|
outline-offset: 2px;
|
|
125
125
|
}
|
|
126
|
-
.
|
|
126
|
+
.tabs__selected_1wevv {
|
|
127
127
|
cursor: default;
|
|
128
128
|
color: var(--primary-tablist-selected-color);
|
|
129
129
|
}
|
|
130
|
-
.
|
|
130
|
+
.tabs__disabled_1wevv {
|
|
131
131
|
cursor: var(--disabled-cursor);
|
|
132
132
|
color: var(--primary-tablist-disabled-color);
|
|
133
133
|
}
|
|
134
|
-
.
|
|
134
|
+
.tabs__line_1wevv {
|
|
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_1wevv .tabs__title_1wevv, .tabs__xs_1wevv .tabs__title_1wevv, .tabs__xxs_1wevv .tabs__title_1wevv {
|
|
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_1wevv .tabs__title_1wevv + .tabs__title_1wevv, .tabs__xs_1wevv .tabs__title_1wevv + .tabs__title_1wevv, .tabs__xxs_1wevv .tabs__title_1wevv + .tabs__title_1wevv {
|
|
151
151
|
margin-left: var(--primary-tablist-s-gaps);
|
|
152
152
|
}
|
|
153
|
-
.
|
|
153
|
+
.tabs__m_1wevv .tabs__title_1wevv {
|
|
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_1wevv .tabs__title_1wevv + .tabs__title_1wevv {
|
|
161
161
|
margin-left: var(--primary-tablist-m-gaps);
|
|
162
162
|
}
|
|
163
|
-
.
|
|
163
|
+
.tabs__l_1wevv .tabs__title_1wevv {
|
|
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_1wevv .tabs__title_1wevv + .tabs__title_1wevv {
|
|
171
171
|
margin-left: var(--primary-tablist-l-gaps);
|
|
172
172
|
}
|
|
173
|
-
.
|
|
173
|
+
.tabs__xl_1wevv .tabs__title_1wevv {
|
|
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_1wevv .tabs__title_1wevv + .tabs__title_1wevv {
|
|
181
181
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
182
182
|
}
|
|
183
|
-
.
|
|
183
|
+
.tabs__rightAddons_1wevv {
|
|
184
184
|
margin-left: var(--gap-xs);
|
|
185
185
|
}
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
/* size l */
|
|
87
87
|
|
|
88
88
|
/* size xl */
|
|
89
|
-
}.
|
|
89
|
+
}.tabs__component_1wevv {
|
|
90
90
|
position: relative
|
|
91
|
-
}.
|
|
91
|
+
}.tabs__component_1wevv:before {
|
|
92
92
|
content: '';
|
|
93
93
|
display: block;
|
|
94
94
|
position: absolute;
|
|
@@ -96,10 +96,10 @@
|
|
|
96
96
|
height: 1px;
|
|
97
97
|
width: 100%;
|
|
98
98
|
background-color: var(--primary-tablist-bottom-border-color);
|
|
99
|
-
}.
|
|
99
|
+
}.tabs__container_1wevv {
|
|
100
100
|
position: relative;
|
|
101
101
|
display: flex;
|
|
102
|
-
}.
|
|
102
|
+
}.tabs__title_1wevv {
|
|
103
103
|
display: flex;
|
|
104
104
|
align-items: center;
|
|
105
105
|
height: 100%;
|
|
@@ -116,57 +116,57 @@
|
|
|
116
116
|
user-select: none;
|
|
117
117
|
cursor: pointer;
|
|
118
118
|
outline: none
|
|
119
|
-
}.
|
|
119
|
+
}.tabs__title_1wevv:not(.tabs__disabled_1wevv):hover {
|
|
120
120
|
color: var(--primary-tablist-hover-color);
|
|
121
|
-
}.
|
|
121
|
+
}.tabs__focused_1wevv {
|
|
122
122
|
outline: 2px solid var(--focus-color);
|
|
123
123
|
outline-offset: 2px;
|
|
124
|
-
}.
|
|
124
|
+
}.tabs__selected_1wevv {
|
|
125
125
|
cursor: default;
|
|
126
126
|
color: var(--primary-tablist-selected-color);
|
|
127
|
-
}.
|
|
127
|
+
}.tabs__disabled_1wevv {
|
|
128
128
|
cursor: var(--disabled-cursor);
|
|
129
129
|
color: var(--primary-tablist-disabled-color);
|
|
130
|
-
}.
|
|
130
|
+
}.tabs__line_1wevv {
|
|
131
131
|
position: absolute;
|
|
132
132
|
height: 3px;
|
|
133
133
|
bottom: 0;
|
|
134
134
|
left: 0;
|
|
135
135
|
background-color: var(--primary-tablist-line-color);
|
|
136
136
|
transition: transform 0.2s ease, width 0.2s ease;
|
|
137
|
-
}/* sizes */.
|
|
137
|
+
}/* sizes */.tabs__s_1wevv .tabs__title_1wevv, .tabs__xs_1wevv .tabs__title_1wevv, .tabs__xxs_1wevv .tabs__title_1wevv {
|
|
138
138
|
padding: var(--primary-tablist-s-padding);
|
|
139
139
|
font-size: var(--primary-tablist-s-font-size);
|
|
140
140
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
141
141
|
font-family: var(--primary-tablist-s-font-family);
|
|
142
142
|
line-height: 24px;
|
|
143
|
-
}.
|
|
143
|
+
}.tabs__s_1wevv .tabs__title_1wevv + .tabs__title_1wevv, .tabs__xs_1wevv .tabs__title_1wevv + .tabs__title_1wevv, .tabs__xxs_1wevv .tabs__title_1wevv + .tabs__title_1wevv {
|
|
144
144
|
margin-left: var(--primary-tablist-s-gaps);
|
|
145
|
-
}.
|
|
145
|
+
}.tabs__m_1wevv .tabs__title_1wevv {
|
|
146
146
|
padding: var(--primary-tablist-m-padding);
|
|
147
147
|
font-size: var(--primary-tablist-m-font-size);
|
|
148
148
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
149
149
|
font-family: var(--primary-tablist-m-font-family);
|
|
150
150
|
line-height: 24px;
|
|
151
|
-
}.
|
|
151
|
+
}.tabs__m_1wevv .tabs__title_1wevv + .tabs__title_1wevv {
|
|
152
152
|
margin-left: var(--primary-tablist-m-gaps);
|
|
153
|
-
}.
|
|
153
|
+
}.tabs__l_1wevv .tabs__title_1wevv {
|
|
154
154
|
padding: var(--primary-tablist-l-padding);
|
|
155
155
|
font-size: var(--primary-tablist-l-font-size);
|
|
156
156
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
157
157
|
font-family: var(--primary-tablist-l-font-family);
|
|
158
158
|
line-height: 24px;
|
|
159
|
-
}.
|
|
159
|
+
}.tabs__l_1wevv .tabs__title_1wevv + .tabs__title_1wevv {
|
|
160
160
|
margin-left: var(--primary-tablist-l-gaps);
|
|
161
|
-
}.
|
|
161
|
+
}.tabs__xl_1wevv .tabs__title_1wevv {
|
|
162
162
|
padding: var(--primary-tablist-xl-padding);
|
|
163
163
|
font-size: var(--primary-tablist-xl-font-size);
|
|
164
164
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
165
165
|
font-family: var(--primary-tablist-xl-font-family);
|
|
166
166
|
line-height: 32px;
|
|
167
|
-
}.
|
|
167
|
+
}.tabs__xl_1wevv .tabs__title_1wevv + .tabs__title_1wevv {
|
|
168
168
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
169
|
-
}.
|
|
169
|
+
}.tabs__rightAddons_1wevv {
|
|
170
170
|
margin-left: var(--gap-xs);
|
|
171
171
|
}
|
|
172
172
|
:root {
|
|
@@ -553,6 +553,7 @@
|
|
|
553
553
|
--color-dark-graphic-primary-alpha-30: rgba(255, 255, 255, 0.3);
|
|
554
554
|
--color-dark-graphic-primary-alpha-40: rgba(255, 255, 255, 0.4);
|
|
555
555
|
--color-dark-graphic-primary-alpha-50: rgba(255, 255, 255, 0.5);
|
|
556
|
+
--color-dark-graphic-primary-alpha-60: rgba(255, 255, 255, 0.6);
|
|
556
557
|
--color-dark-graphic-primary-shade-15: rgb(217, 217, 217);
|
|
557
558
|
--color-dark-graphic-primary-shade-20: rgb(204, 204, 204);
|
|
558
559
|
--color-dark-graphic-primary-shade-30: rgb(179, 179, 179);
|
|
@@ -561,6 +562,7 @@
|
|
|
561
562
|
--color-dark-graphic-primary-inverted-alpha-30: rgba(11, 31, 53, 0.3);
|
|
562
563
|
--color-dark-graphic-primary-inverted-alpha-40: rgba(11, 31, 53, 0.4);
|
|
563
564
|
--color-dark-graphic-primary-inverted-alpha-50: rgba(11, 31, 53, 0.5);
|
|
565
|
+
--color-dark-graphic-primary-inverted-alpha-60: rgba(11, 31, 53, 0.6);
|
|
564
566
|
--color-dark-graphic-primary-inverted-tint-7: rgb(28, 47, 67);
|
|
565
567
|
--color-dark-graphic-primary-inverted-tint-10: rgb(35, 53, 73);
|
|
566
568
|
--color-dark-graphic-primary-inverted-tint-15: rgb(48, 65, 83);
|
|
@@ -674,6 +676,7 @@
|
|
|
674
676
|
--color-light-graphic-primary-alpha-30: rgba(11, 31, 53, 0.3);
|
|
675
677
|
--color-light-graphic-primary-alpha-40: rgba(11, 31, 53, 0.4);
|
|
676
678
|
--color-light-graphic-primary-alpha-50: rgba(11, 31, 53, 0.5);
|
|
679
|
+
--color-light-graphic-primary-alpha-60: rgba(11, 31, 53, 0.6);
|
|
677
680
|
--color-light-graphic-primary-tint-15: rgb(48, 65, 83);
|
|
678
681
|
--color-light-graphic-primary-tint-20: rgb(60, 76, 93);
|
|
679
682
|
--color-light-graphic-primary-tint-30: rgb(84, 98, 114);
|
|
@@ -682,6 +685,7 @@
|
|
|
682
685
|
--color-light-graphic-primary-inverted-alpha-30: rgba(255, 255, 255, 0.3);
|
|
683
686
|
--color-light-graphic-primary-inverted-alpha-40: rgba(255, 255, 255, 0.4);
|
|
684
687
|
--color-light-graphic-primary-inverted-alpha-50: rgba(255, 255, 255, 0.5);
|
|
688
|
+
--color-light-graphic-primary-inverted-alpha-60: rgba(255, 255, 255, 0.6);
|
|
685
689
|
--color-light-graphic-primary-inverted-shade-7: rgb(237, 237, 237);
|
|
686
690
|
--color-light-graphic-primary-inverted-shade-10: rgb(230, 230, 230);
|
|
687
691
|
--color-light-graphic-primary-inverted-shade-15: rgb(217, 217, 217);
|
|
@@ -929,14 +933,15 @@
|
|
|
929
933
|
/* size xl */
|
|
930
934
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
931
935
|
}
|
|
932
|
-
.
|
|
933
|
-
|
|
934
|
-
padding: var(--primary-tablist-mobile-padding);
|
|
935
|
-
font-size: var(--primary-tablist-mobile-font-size);
|
|
936
|
-
font-weight: var(--primary-tablist-mobile-font-weight);
|
|
937
|
-
font-family: var(--primary-tablist-mobile-font-family);
|
|
938
|
-
line-height: 24px
|
|
936
|
+
.tabs__title_11alq {
|
|
939
937
|
}
|
|
940
|
-
.
|
|
941
|
-
|
|
938
|
+
.tabs__mobile_11alq .tabs__title_11alq {
|
|
939
|
+
padding: var(--primary-tablist-mobile-padding);
|
|
940
|
+
font-size: var(--primary-tablist-mobile-font-size);
|
|
941
|
+
font-weight: var(--primary-tablist-mobile-font-weight);
|
|
942
|
+
font-family: var(--primary-tablist-mobile-font-family);
|
|
943
|
+
line-height: 24px
|
|
942
944
|
}
|
|
945
|
+
.tabs__mobile_11alq .tabs__title_11alq + .tabs__title_11alq {
|
|
946
|
+
margin-left: var(--primary-tablist-mobile-gaps);
|
|
947
|
+
}
|
|
@@ -2,7 +2,7 @@ import React, { useEffect } from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import computeScrollIntoView from 'compute-scroll-into-view';
|
|
4
4
|
|
|
5
|
-
var styles = {"container":"
|
|
5
|
+
var styles = {"container":"tabs__container_9k86v"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var ScrollableContainer = function (_a) {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
|
|
34
34
|
/* size xl */
|
|
35
35
|
}
|
|
36
|
-
.
|
|
36
|
+
.tabs__container_9k86v {
|
|
37
37
|
position: relative;
|
|
38
38
|
display: flex;
|
|
39
39
|
align-items: center;
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
overflow-y: hidden;
|
|
42
42
|
scrollbar-width: none
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
.tabs__container_9k86v::-webkit-scrollbar {
|
|
45
45
|
display: none;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.tabs__container_9k86v > * {
|
|
48
48
|
flex-shrink: 0;
|
|
49
49
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from '../../tslib.es6-
|
|
1
|
+
import { _ as __rest, a as __assign } from '../../tslib.es6-0d96f196.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 { SecondaryTabList } from './Component.js';
|
|
9
|
-
import { c as commonStyles } from '../../index.module-
|
|
9
|
+
import { c as commonStyles } from '../../index.module-0b49bd8c.js';
|
|
10
10
|
|
|
11
11
|
var SecondaryTabListDesktop = function (_a) {
|
|
12
12
|
var _b = _a.size, size = _b === void 0 ? 's' : _b, restProps = __rest(_a, ["size"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __assign, _ as __rest } from '../../tslib.es6-
|
|
1
|
+
import { a as __assign, _ as __rest } from '../../tslib.es6-0d96f196.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-0b49bd8c.js';
|
|
10
10
|
|
|
11
|
-
var mobileStyles = {"title":"
|
|
11
|
+
var mobileStyles = {"title":"tabs__title_cmkg8 tabs__title_c8a82","mobile":"tabs__mobile_cmkg8"};
|
|
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-0d96f196.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-0b49bd8c.js';
|
|
10
10
|
import { SecondaryTabListDesktop } from './Component.desktop.js';
|
|
11
11
|
import { useMedia } from '@alfalab/hooks';
|
|
12
12
|
import { SecondaryTabListMobile } from './Component.mobile.js';
|
|
@@ -44,34 +44,34 @@
|
|
|
44
44
|
/* size xl */
|
|
45
45
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
.tabs__component_c8a82 {
|
|
48
48
|
position: relative;
|
|
49
49
|
display: flex;
|
|
50
50
|
align-items: center;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
.tabs__container_c8a82 {
|
|
53
53
|
display: flex;
|
|
54
54
|
align-items: center;
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
.tabs__title_c8a82 {
|
|
57
57
|
white-space: nowrap;
|
|
58
58
|
}
|
|
59
59
|
/* sizes */
|
|
60
|
-
.
|
|
60
|
+
.tabs__xxs_c8a82 .tabs__title_c8a82 + .tabs__title_c8a82 {
|
|
61
61
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
.tabs__xs_c8a82 .tabs__title_c8a82 + .tabs__title_c8a82 {
|
|
64
64
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
.tabs__s_c8a82 .tabs__title_c8a82 + .tabs__title_c8a82 {
|
|
67
67
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
.tabs__m_c8a82 .tabs__title_c8a82 + .tabs__title_c8a82 {
|
|
70
70
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
71
71
|
}
|
|
72
|
-
.
|
|
72
|
+
.tabs__l_c8a82 .tabs__title_c8a82 + .tabs__title_c8a82 {
|
|
73
73
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
74
74
|
}
|
|
75
|
-
.
|
|
75
|
+
.tabs__xl_c8a82 .tabs__title_c8a82 + .tabs__title_c8a82 {
|
|
76
76
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
77
77
|
}
|