@alfalab/core-components-tabs 7.3.9 → 7.3.11
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 +5 -0
- package/Component-3e68f8db.d.ts +2 -2
- package/{esm/Component-cac440c1.d.ts → Component-a8deae7f.d.ts} +1 -1
- package/component-3885b0d7.d.ts +216 -0
- 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 +31 -31
- package/components/primary-tablist/mobile.css +105 -34
- package/components/scrollable-container/Component.js +1 -1
- package/components/scrollable-container/index.css +7 -7
- 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 +13 -13
- package/components/secondary-tablist/mobile.css +86 -15
- 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 +5 -0
- package/cssm/Component-3e68f8db.d.ts +2 -2
- package/{Component-cac440c1.d.ts → cssm/Component-a8deae7f.d.ts} +1 -1
- package/cssm/component-3885b0d7.d.ts +216 -0
- package/cssm/components/primary-tablist/index.module.css +2 -2
- package/cssm/components/primary-tablist/mobile.module.css +2 -2
- package/cssm/components/scrollable-container/index.module.css +2 -2
- package/cssm/components/secondary-tablist/index.module.css +2 -2
- package/cssm/components/secondary-tablist/mobile.module.css +2 -2
- package/cssm/{getDataTestId-3fe0d3e6.d.ts → index-3885b0d7.d.ts} +2 -1
- package/cssm/index-3e68f8db.d.ts +3 -3
- package/cssm/index-48646db0.d.ts +1 -1
- package/cssm/index-7ca84eff.d.ts +1 -215
- package/cssm/index-e81c389f.d.ts +3 -141
- package/cssm/index-ebda875c.d.ts +1 -1
- package/cssm/types-ebda875c.d.ts +113 -0
- package/cssm/{typings-cac440c1.d.ts → typings-a8deae7f.d.ts} +5 -5
- package/cssm/{utils-cac440c1.d.ts → utils-a8deae7f.d.ts} +1 -1
- package/cssm/vars.css +2 -2
- package/desktop.js +2 -2
- package/esm/Component-3885b0d7.d.ts +5 -0
- package/esm/Component-3e68f8db.d.ts +2 -2
- package/{modern/Component-cac440c1.d.ts → esm/Component-a8deae7f.d.ts} +1 -1
- package/esm/component-3885b0d7.d.ts +216 -0
- 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 +31 -31
- package/esm/components/primary-tablist/mobile.css +105 -34
- package/esm/components/scrollable-container/Component.js +1 -1
- package/esm/components/scrollable-container/index.css +7 -7
- 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 +13 -13
- package/esm/components/secondary-tablist/mobile.css +86 -15
- 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/{getDataTestId-3fe0d3e6.d.ts → esm/index-3885b0d7.d.ts} +2 -1
- package/esm/index-3e68f8db.d.ts +3 -3
- package/esm/index-48646db0.d.ts +1 -1
- package/esm/index-7ca84eff.d.ts +1 -215
- package/esm/index-e81c389f.d.ts +3 -141
- package/esm/index-ebda875c.d.ts +1 -1
- package/esm/index.js +2 -2
- package/esm/index.module-1865aaf0.js +4 -0
- package/esm/index.module-e818c324.js +4 -0
- package/esm/mobile.js +2 -2
- package/esm/responsive.js +2 -2
- package/esm/types-ebda875c.d.ts +113 -0
- package/esm/{typings-cac440c1.d.ts → typings-a8deae7f.d.ts} +5 -5
- package/esm/{utils-cac440c1.d.ts → utils-a8deae7f.d.ts} +1 -1
- package/{esm/getDataTestId-3fe0d3e6.d.ts → index-3885b0d7.d.ts} +2 -1
- package/index-3e68f8db.d.ts +3 -3
- package/index-48646db0.d.ts +1 -1
- package/index-7ca84eff.d.ts +1 -215
- package/index-e81c389f.d.ts +3 -141
- package/index-ebda875c.d.ts +1 -1
- package/index.js +2 -2
- package/index.module-07471830.js +6 -0
- package/index.module-38e2880e.js +6 -0
- package/mobile.js +2 -2
- package/modern/Component-3885b0d7.d.ts +5 -0
- package/modern/Component-3e68f8db.d.ts +2 -2
- package/{cssm/Component-cac440c1.d.ts → modern/Component-a8deae7f.d.ts} +1 -1
- package/modern/component-3885b0d7.d.ts +216 -0
- 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 +31 -31
- package/modern/components/primary-tablist/mobile.css +105 -34
- package/modern/components/scrollable-container/Component.js +1 -1
- package/modern/components/scrollable-container/index.css +7 -7
- 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 +13 -13
- package/modern/components/secondary-tablist/mobile.css +86 -15
- 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/{getDataTestId-3fe0d3e6.d.ts → index-3885b0d7.d.ts} +2 -1
- package/modern/index-3e68f8db.d.ts +3 -3
- package/modern/index-48646db0.d.ts +1 -1
- package/modern/index-7ca84eff.d.ts +1 -215
- package/modern/index-e81c389f.d.ts +3 -141
- package/modern/index-ebda875c.d.ts +1 -1
- package/modern/index.js +2 -2
- package/modern/index.module-540790c1.js +4 -0
- package/modern/index.module-a26a42c3.js +4 -0
- package/modern/mobile.js +2 -2
- package/modern/responsive.js +2 -2
- package/modern/types-ebda875c.d.ts +113 -0
- package/modern/{typings-cac440c1.d.ts → typings-a8deae7f.d.ts} +5 -5
- package/modern/{utils-cac440c1.d.ts → utils-a8deae7f.d.ts} +1 -1
- package/package.json +3 -3
- package/responsive.js +2 -2
- package/types-ebda875c.d.ts +113 -0
- package/{typings-cac440c1.d.ts → typings-a8deae7f.d.ts} +5 -5
- package/{utils-cac440c1.d.ts → utils-a8deae7f.d.ts} +1 -1
- package/Component-7ca84eff.d.ts +0 -5
- package/cssm/Component-7ca84eff.d.ts +0 -5
- package/cssm/index-3fe0d3e6.d.ts +0 -3
- package/esm/Component-7ca84eff.d.ts +0 -5
- package/esm/index-3fe0d3e6.d.ts +0 -3
- package/esm/index.module-b06e730b.js +0 -4
- package/esm/index.module-ea1e031b.js +0 -4
- package/index-3fe0d3e6.d.ts +0 -3
- package/index.module-9aac8027.js +0 -6
- package/index.module-dde2566f.js +0 -6
- package/modern/Component-7ca84eff.d.ts +0 -5
- package/modern/index-3fe0d3e6.d.ts +0 -3
- package/modern/index.module-1428a125.js +0 -4
- package/modern/index.module-1e6e4859.js +0 -4
package/Component-3e68f8db.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FC, SVGProps } from 'react';
|
|
3
|
-
import { OptionShape } from "./typings-
|
|
4
|
-
import { OptionProps as BaseOptionProps } from "./typings-
|
|
3
|
+
import { OptionShape } from "./typings-a8deae7f";
|
|
4
|
+
import { OptionProps as BaseOptionProps } from "./typings-a8deae7f";
|
|
5
5
|
type OptionProps = Omit<BaseOptionProps, 'option'> & {
|
|
6
6
|
option: OptionShape & {
|
|
7
7
|
icon?: FC<SVGProps<SVGSVGElement>>;
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
/// <reference types="react-transition-group" />
|
|
2
|
+
/// <reference types="react" />
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { FC, ReactNode, HTMLAttributes, RefObject } from "react";
|
|
5
|
+
import { NavigationBarProps } from "./index-e81c389f";
|
|
6
|
+
import { SwipeableHandlers } from "react-swipeable/types";
|
|
7
|
+
import { BackdropProps } from "./index-ebda875c";
|
|
8
|
+
import { TransitionProps } from 'react-transition-group/Transition';
|
|
9
|
+
import { BaseModalProps } from "./index-bdb4c6b9";
|
|
10
|
+
type HeaderProps = Omit<NavigationBarProps, "view" | "size">;
|
|
11
|
+
declare const Header: FC<HeaderProps>;
|
|
12
|
+
type FooterProps = {
|
|
13
|
+
/**
|
|
14
|
+
* Контент футера
|
|
15
|
+
*/
|
|
16
|
+
children?: ReactNode;
|
|
17
|
+
/**
|
|
18
|
+
* Фиксирует футер
|
|
19
|
+
*/
|
|
20
|
+
sticky?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Дополнительный класс
|
|
23
|
+
*/
|
|
24
|
+
className?: string;
|
|
25
|
+
};
|
|
26
|
+
declare const Footer: FC<FooterProps>;
|
|
27
|
+
type SwipeableBackdropProps = BackdropProps & {
|
|
28
|
+
/**
|
|
29
|
+
* Прозрачность бэкдропа
|
|
30
|
+
*/
|
|
31
|
+
opacity?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Обработчики свайпа
|
|
34
|
+
*/
|
|
35
|
+
handlers?: SwipeableHandlers;
|
|
36
|
+
/**
|
|
37
|
+
* Время анимации opacity
|
|
38
|
+
*/
|
|
39
|
+
opacityTimeout?: number;
|
|
40
|
+
};
|
|
41
|
+
declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
|
|
42
|
+
type BottomSheetTitleAlign = 'center' | 'left';
|
|
43
|
+
type BottomSheetProps = {
|
|
44
|
+
/**
|
|
45
|
+
* Контент
|
|
46
|
+
*/
|
|
47
|
+
children?: ReactNode;
|
|
48
|
+
/**
|
|
49
|
+
* Управление видимостью
|
|
50
|
+
*/
|
|
51
|
+
open: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Заголовок
|
|
54
|
+
*/
|
|
55
|
+
title?: ReactNode;
|
|
56
|
+
/**
|
|
57
|
+
* Размер заголовка
|
|
58
|
+
*/
|
|
59
|
+
titleSize?: NavigationBarProps['titleSize'];
|
|
60
|
+
/**
|
|
61
|
+
* Подзаголовок.
|
|
62
|
+
*/
|
|
63
|
+
subtitle?: NavigationBarProps['subtitle'];
|
|
64
|
+
/**
|
|
65
|
+
* Кнопка действия (обычно, это кнопка закрытия)
|
|
66
|
+
*/
|
|
67
|
+
actionButton?: ReactNode;
|
|
68
|
+
/**
|
|
69
|
+
* Нода, компонент или функция возвращающая их
|
|
70
|
+
*
|
|
71
|
+
* Контейнер к которому будут добавляться порталы
|
|
72
|
+
*/
|
|
73
|
+
container?: BaseModalProps['container'];
|
|
74
|
+
/**
|
|
75
|
+
* Дополнительный класс
|
|
76
|
+
*/
|
|
77
|
+
className?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Дополнительный класс
|
|
80
|
+
*/
|
|
81
|
+
contentClassName?: string;
|
|
82
|
+
/**
|
|
83
|
+
* Дополнительные пропсы на контейнер.
|
|
84
|
+
*/
|
|
85
|
+
containerProps?: HTMLAttributes<HTMLDivElement>;
|
|
86
|
+
/**
|
|
87
|
+
* Дополнительный класс
|
|
88
|
+
*/
|
|
89
|
+
containerClassName?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Дополнительный класс шапки
|
|
92
|
+
*/
|
|
93
|
+
headerClassName?: string;
|
|
94
|
+
/**
|
|
95
|
+
* Дополнительный класс футера
|
|
96
|
+
*/
|
|
97
|
+
footerClassName?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Дополнительный класс для аддонов
|
|
100
|
+
*/
|
|
101
|
+
addonClassName?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Дополнительный класс для компонента крестика
|
|
104
|
+
*/
|
|
105
|
+
closerClassName?: string;
|
|
106
|
+
/**
|
|
107
|
+
* Дополнительный класс для компонента стрелки назад
|
|
108
|
+
*/
|
|
109
|
+
backerClassName?: string;
|
|
110
|
+
/**
|
|
111
|
+
* Дополнительный класс для компонента модального окна
|
|
112
|
+
*/
|
|
113
|
+
modalClassName?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Дополнительный класс для обертки модального окна
|
|
116
|
+
*/
|
|
117
|
+
modalWrapperClassName?: string;
|
|
118
|
+
/**
|
|
119
|
+
* TransitionProps, прокидываются в компонент CSSTransitionProps.
|
|
120
|
+
*/
|
|
121
|
+
transitionProps?: Partial<TransitionProps>;
|
|
122
|
+
/**
|
|
123
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
124
|
+
*/
|
|
125
|
+
dataTestId?: string;
|
|
126
|
+
/**
|
|
127
|
+
* z-index компонента
|
|
128
|
+
*/
|
|
129
|
+
zIndex?: number;
|
|
130
|
+
/**
|
|
131
|
+
* Будет ли свайпаться шторка
|
|
132
|
+
* @default true
|
|
133
|
+
*/
|
|
134
|
+
swipeable?: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Слот слева
|
|
137
|
+
*/
|
|
138
|
+
leftAddons?: ReactNode;
|
|
139
|
+
/**
|
|
140
|
+
* Слот справа
|
|
141
|
+
*/
|
|
142
|
+
rightAddons?: ReactNode;
|
|
143
|
+
/**
|
|
144
|
+
* Слот снизу
|
|
145
|
+
*/
|
|
146
|
+
bottomAddons?: ReactNode;
|
|
147
|
+
/**
|
|
148
|
+
* Наличие компонента крестика
|
|
149
|
+
*/
|
|
150
|
+
hasCloser?: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* Наличие компонента стрелки назад
|
|
153
|
+
*/
|
|
154
|
+
hasBacker?: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Выравнивание заголовка
|
|
157
|
+
*/
|
|
158
|
+
titleAlign?: BottomSheetTitleAlign;
|
|
159
|
+
/**
|
|
160
|
+
* Фиксирует шапку
|
|
161
|
+
*/
|
|
162
|
+
stickyHeader?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Фиксирует футер
|
|
165
|
+
*/
|
|
166
|
+
stickyFooter?: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Высота шторки
|
|
169
|
+
*/
|
|
170
|
+
initialHeight?: 'default' | 'full';
|
|
171
|
+
/**
|
|
172
|
+
* Будет ли виден оверлэй
|
|
173
|
+
*/
|
|
174
|
+
hideOverlay?: boolean;
|
|
175
|
+
/**
|
|
176
|
+
* Будет ли видна шапка
|
|
177
|
+
*/
|
|
178
|
+
hideHeader?: boolean;
|
|
179
|
+
/**
|
|
180
|
+
* Будет ли обрезан заголовок
|
|
181
|
+
*/
|
|
182
|
+
trimTitle?: boolean;
|
|
183
|
+
/**
|
|
184
|
+
* Запретить закрытие шторки кликом на оверлэй
|
|
185
|
+
*/
|
|
186
|
+
disableOverlayClick?: boolean;
|
|
187
|
+
/**
|
|
188
|
+
* Отключает блокировку скролла при открытии модального окна
|
|
189
|
+
*/
|
|
190
|
+
disableBlockingScroll?: boolean;
|
|
191
|
+
/**
|
|
192
|
+
* @deprecated данный проп больше не используется, временно оставлен для обратной совместимости
|
|
193
|
+
* Не анимировать шторку при изменении размера вьюпорта
|
|
194
|
+
*/
|
|
195
|
+
ignoreScreenChange?: boolean;
|
|
196
|
+
/**
|
|
197
|
+
* Свойства для Бэкдропа
|
|
198
|
+
*/
|
|
199
|
+
backdropProps?: BaseModalProps['backdropProps'];
|
|
200
|
+
/**
|
|
201
|
+
* Реф на контейнер, в котором происходит скролл
|
|
202
|
+
*/
|
|
203
|
+
scrollableContainerRef?: RefObject<HTMLElement>;
|
|
204
|
+
/**
|
|
205
|
+
* Обработчик закрытия
|
|
206
|
+
*/
|
|
207
|
+
onClose: () => void;
|
|
208
|
+
/**
|
|
209
|
+
* Обработчик нажатия на стрелку назад
|
|
210
|
+
*/
|
|
211
|
+
onBack?: () => void;
|
|
212
|
+
};
|
|
213
|
+
declare const HEADER_OFFSET = 24;
|
|
214
|
+
declare const CLOSE_OFFSET = 0.2;
|
|
215
|
+
declare const BottomSheet: React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<HTMLDivElement>>;
|
|
216
|
+
export { HeaderProps, Header, FooterProps, Footer, SwipeableBackdropProps, SwipeableBackdrop, BottomSheetTitleAlign, BottomSheetProps, HEADER_OFFSET, CLOSE_OFFSET, BottomSheet };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var tslib = require('tslib');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var components_primaryTablist_Component = require('./Component.js');
|
|
6
|
-
var index_module = require('../../index.module-
|
|
6
|
+
var index_module = require('../../index.module-38e2880e.js');
|
|
7
7
|
require('classnames');
|
|
8
8
|
require('@alfalab/core-components-badge');
|
|
9
9
|
require('@alfalab/core-components-keyboard-focusable');
|
|
@@ -4,7 +4,7 @@ var tslib = require('tslib');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var cn = require('classnames');
|
|
6
6
|
var components_primaryTablist_Component = require('./Component.js');
|
|
7
|
-
var index_module = require('../../index.module-
|
|
7
|
+
var index_module = require('../../index.module-38e2880e.js');
|
|
8
8
|
require('@alfalab/core-components-badge');
|
|
9
9
|
require('@alfalab/core-components-keyboard-focusable');
|
|
10
10
|
require('@alfalab/core-components-picker-button/desktop');
|
|
@@ -23,7 +23,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
23
23
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
24
24
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
25
25
|
|
|
26
|
-
var mobileStyles = {"title":"
|
|
26
|
+
var mobileStyles = {"title":"tabs__title_1yivr tabs__title_1tvky","mobile":"tabs__mobile_1yivr"};
|
|
27
27
|
require('./mobile.css')
|
|
28
28
|
|
|
29
29
|
var styles = tslib.__assign(tslib.__assign({}, index_module.commonStyles), mobileStyles);
|
|
@@ -18,7 +18,7 @@ require('../../synthetic-events.js');
|
|
|
18
18
|
require('../scrollable-container/Component.js');
|
|
19
19
|
require('compute-scroll-into-view');
|
|
20
20
|
require('../title/Component.js');
|
|
21
|
-
require('../../index.module-
|
|
21
|
+
require('../../index.module-38e2880e.js');
|
|
22
22
|
|
|
23
23
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
24
24
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: p7glm */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-accent: #ef3124;
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
--color-light-border-primary: #dbdee1;
|
|
7
7
|
--color-light-text-primary: #0b1f35;
|
|
8
8
|
--color-light-text-secondary: rgba(11, 31, 53, 0.7);
|
|
9
|
-
--color-light-text-tertiary: rgba(11, 31, 53, 0.3);
|
|
10
|
-
} :root {
|
|
9
|
+
--color-light-text-tertiary: rgba(11, 31, 53, 0.3); /* 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 */
|
|
10
|
+
} :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 */
|
|
11
11
|
} :root {
|
|
12
12
|
} :root {
|
|
13
13
|
|
|
@@ -83,11 +83,11 @@
|
|
|
83
83
|
/* size l */
|
|
84
84
|
|
|
85
85
|
/* size xl */
|
|
86
|
-
} .
|
|
86
|
+
} .tabs__component_1tvky {
|
|
87
87
|
position: relative;
|
|
88
88
|
display: inline-flex;
|
|
89
89
|
min-width: 100%
|
|
90
|
-
} .
|
|
90
|
+
} .tabs__component_1tvky: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_1tvky {
|
|
99
99
|
min-width: calc(100% - 2 * var(--gap-m));
|
|
100
100
|
margin: 0 var(--gap-m);
|
|
101
|
-
} .
|
|
101
|
+
} .tabs__container_1tvky {
|
|
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_1tvky {
|
|
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_1tvky:not(.tabs__disabled_1tvky):hover {
|
|
126
126
|
color: var(--primary-tablist-hover-color);
|
|
127
|
-
} .
|
|
127
|
+
} .tabs__focused_1tvky {
|
|
128
128
|
outline: 2px solid var(--focus-color);
|
|
129
129
|
outline-offset: 2px;
|
|
130
|
-
} .
|
|
130
|
+
} .tabs__collapsed_1tvky {
|
|
131
131
|
order: 99;
|
|
132
132
|
visibility: collapse;
|
|
133
|
-
} .
|
|
133
|
+
} .tabs__selected_1tvky {
|
|
134
134
|
cursor: default;
|
|
135
135
|
color: var(--primary-tablist-selected-color);
|
|
136
|
-
} .
|
|
136
|
+
} .tabs__disabled_1tvky {
|
|
137
137
|
cursor: var(--disabled-cursor);
|
|
138
138
|
color: var(--primary-tablist-disabled-color);
|
|
139
|
-
} .
|
|
139
|
+
} .tabs__line_1tvky {
|
|
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_1tvky .tabs__title_1tvky, .tabs__xs_1tvky .tabs__title_1tvky, .tabs__xxs_1tvky .tabs__title_1tvky {
|
|
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_1tvky .tabs__title_1tvky + .tabs__title_1tvky, .tabs__xs_1tvky .tabs__title_1tvky + .tabs__title_1tvky, .tabs__xxs_1tvky .tabs__title_1tvky + .tabs__title_1tvky {
|
|
153
153
|
margin-left: var(--primary-tablist-s-gaps);
|
|
154
|
-
} .
|
|
154
|
+
} .tabs__s_1tvky .tabs__pickerWrapper_1tvky, .tabs__xs_1tvky .tabs__pickerWrapper_1tvky, .tabs__xxs_1tvky .tabs__pickerWrapper_1tvky {
|
|
155
155
|
margin-left: var(--primary-tablist-s-gaps);
|
|
156
|
-
} .
|
|
156
|
+
} .tabs__s_1tvky .tabs__option_1tvky, .tabs__xs_1tvky .tabs__option_1tvky, .tabs__xxs_1tvky .tabs__option_1tvky {
|
|
157
157
|
padding: 0;
|
|
158
|
-
} .
|
|
158
|
+
} .tabs__m_1tvky .tabs__title_1tvky {
|
|
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_1tvky .tabs__title_1tvky + .tabs__title_1tvky {
|
|
165
165
|
margin-left: var(--primary-tablist-m-gaps);
|
|
166
|
-
} .
|
|
166
|
+
} .tabs__m_1tvky .tabs__pickerWrapper_1tvky {
|
|
167
167
|
margin-left: var(--primary-tablist-m-gaps);
|
|
168
|
-
} .
|
|
168
|
+
} .tabs__m_1tvky .tabs__option_1tvky {
|
|
169
169
|
padding: 0;
|
|
170
|
-
} .
|
|
170
|
+
} .tabs__l_1tvky .tabs__title_1tvky {
|
|
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_1tvky .tabs__title_1tvky + .tabs__title_1tvky {
|
|
177
177
|
margin-left: var(--primary-tablist-l-gaps);
|
|
178
|
-
} .
|
|
178
|
+
} .tabs__l_1tvky .tabs__pickerWrapper_1tvky {
|
|
179
179
|
margin-left: var(--primary-tablist-l-gaps);
|
|
180
|
-
} .
|
|
180
|
+
} .tabs__l_1tvky .tabs__option_1tvky {
|
|
181
181
|
padding: 0;
|
|
182
|
-
} .
|
|
182
|
+
} .tabs__xl_1tvky .tabs__title_1tvky {
|
|
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_1tvky .tabs__title_1tvky + .tabs__title_1tvky {
|
|
189
189
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
190
|
-
} .
|
|
190
|
+
} .tabs__xl_1tvky .tabs__pickerWrapper_1tvky {
|
|
191
191
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
192
|
-
} .
|
|
192
|
+
} .tabs__xl_1tvky .tabs__option_1tvky {
|
|
193
193
|
padding: 0;
|
|
194
|
-
} .
|
|
194
|
+
} .tabs__rightAddons_1tvky {
|
|
195
195
|
display: flex;
|
|
196
196
|
justify-content: center;
|
|
197
197
|
align-items: center;
|