@alfalab/core-components-tabs 8.1.1 → 8.1.3
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.desktop-785df74d.d.ts +1 -1
- package/Component.mobile-d7e9f69d.d.ts +1 -1
- package/collapsible.js +1 -1
- package/components/primary-tablist/Component.collapsible.js +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 +30 -30
- package/components/primary-tablist/mobile.css +33 -33
- package/components/scroll-controls/Component.js +1 -1
- package/components/scroll-controls/index.css +14 -14
- package/components/scrollable-container/Component.js +1 -1
- package/components/scrollable-container/index.css +6 -6
- 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 +13 -13
- package/components/tab/Component.js +1 -1
- package/components/tab/index.css +3 -3
- package/components/tabs/Component.collapsible.js +1 -1
- 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.desktop-785df74d.d.ts +1 -1
- package/cssm/Component.mobile-d7e9f69d.d.ts +1 -1
- package/cssm/index-c44170fe.d.ts +117 -9
- package/cssm/index-c76d6398.d.ts +1 -1
- package/cssm/index-f12ee135.d.ts +1 -1
- package/desktop.js +2 -2
- package/esm/Component.desktop-785df74d.d.ts +1 -1
- package/esm/Component.desktop-ebda875c.d.ts +6 -0
- package/esm/Component.mobile-d7e9f69d.d.ts +1 -1
- package/esm/collapsible.js +1 -1
- package/esm/components/primary-tablist/Component.collapsible.js +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 +30 -30
- package/esm/components/primary-tablist/mobile.css +33 -33
- package/esm/components/scroll-controls/Component.js +1 -1
- package/esm/components/scroll-controls/index.css +14 -14
- package/esm/components/scrollable-container/Component.js +1 -1
- package/esm/components/scrollable-container/index.css +6 -6
- 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 +13 -13
- package/esm/components/tab/Component.js +1 -1
- package/esm/components/tab/index.css +3 -3
- package/esm/components/tabs/Component.collapsible.js +1 -1
- 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-c44170fe.d.ts +117 -9
- package/esm/index-c76d6398.d.ts +1 -1
- package/esm/index-f12ee135.d.ts +1 -1
- package/esm/index.js +2 -2
- package/esm/index.module-2f7a3bd7.js +4 -0
- package/esm/index.module-8bb1bf99.js +4 -0
- package/esm/mobile.js +2 -2
- package/index-c44170fe.d.ts +117 -9
- package/index-c76d6398.d.ts +1 -1
- package/index-f12ee135.d.ts +1 -1
- package/index.js +2 -2
- package/index.module-43b6c98c.js +6 -0
- package/index.module-7b796643.js +6 -0
- package/mobile.js +2 -2
- package/modern/Component.desktop-785df74d.d.ts +1 -1
- package/modern/Component.mobile-d7e9f69d.d.ts +1 -1
- package/modern/collapsible.js +1 -1
- package/modern/components/primary-tablist/Component.collapsible.js +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 +30 -30
- package/modern/components/primary-tablist/mobile.css +33 -33
- package/modern/components/scroll-controls/Component.js +1 -1
- package/modern/components/scroll-controls/index.css +14 -14
- package/modern/components/scrollable-container/Component.js +1 -1
- package/modern/components/scrollable-container/index.css +6 -6
- 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 +13 -13
- package/modern/components/tab/Component.js +1 -1
- package/modern/components/tab/index.css +3 -3
- package/modern/components/tabs/Component.collapsible.js +1 -1
- 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-c44170fe.d.ts +117 -9
- package/modern/index-c76d6398.d.ts +1 -1
- package/modern/index-f12ee135.d.ts +1 -1
- package/modern/index.js +2 -2
- package/modern/index.module-488b1ce4.js +4 -0
- package/modern/index.module-bf88e596.js +4 -0
- package/modern/mobile.js +2 -2
- package/package.json +4 -4
- package/Component.responsive-785df74d.d.ts +0 -26
- package/cssm/Component.responsive-785df74d.d.ts +0 -26
- package/esm/Component.mobile-ebda875c.d.ts +0 -6
- package/esm/Component.responsive-785df74d.d.ts +0 -26
- package/esm/index.module-e0497aa4.js +0 -4
- package/esm/index.module-ee44d88b.js +0 -4
- package/index.module-ae0eca4b.js +0 -6
- package/index.module-ed812325.js +0 -6
- package/modern/Component.responsive-785df74d.d.ts +0 -26
- package/modern/index.module-0162508b.js +0 -4
- package/modern/index.module-1d3d8c31.js +0 -4
- /package/cssm/{mobile-96988a65.d.ts → mobile-d7e9f69d.d.ts} +0 -0
- /package/esm/{mobile-96988a65.d.ts → mobile-d7e9f69d.d.ts} +0 -0
- /package/{mobile-96988a65.d.ts → mobile-d7e9f69d.d.ts} +0 -0
- /package/modern/{mobile-96988a65.d.ts → mobile-d7e9f69d.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: rg0gn */
|
|
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_1kvbz {
|
|
55
55
|
position: relative;
|
|
56
56
|
display: inline-flex;
|
|
57
|
-
}.
|
|
57
|
+
}.tabs__fullWidthScroll_1kvbz {
|
|
58
58
|
margin: 0 var(--gap-m);
|
|
59
|
-
}.
|
|
59
|
+
}.tabs__container_1kvbz {
|
|
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_1kvbz {
|
|
66
66
|
white-space: nowrap;
|
|
67
|
-
}/* sizes */.
|
|
67
|
+
}/* sizes */.tabs__xxs_1kvbz .tabs__title_1kvbz + .tabs__title_1kvbz {
|
|
68
68
|
margin-left: var(--secondary-tablist-xxs-gaps);
|
|
69
|
-
}.
|
|
69
|
+
}.tabs__xs_1kvbz .tabs__title_1kvbz + .tabs__title_1kvbz {
|
|
70
70
|
margin-left: var(--secondary-tablist-xs-gaps);
|
|
71
|
-
}.
|
|
71
|
+
}.tabs__s_1kvbz .tabs__title_1kvbz + .tabs__title_1kvbz {
|
|
72
72
|
margin-left: var(--secondary-tablist-s-gaps);
|
|
73
|
-
}.
|
|
73
|
+
}.tabs__m_1kvbz .tabs__title_1kvbz + .tabs__title_1kvbz {
|
|
74
74
|
margin-left: var(--secondary-tablist-m-gaps);
|
|
75
|
-
}.
|
|
75
|
+
}.tabs__l_1kvbz .tabs__title_1kvbz + .tabs__title_1kvbz {
|
|
76
76
|
margin-left: var(--secondary-tablist-l-gaps);
|
|
77
|
-
}.
|
|
77
|
+
}.tabs__xl_1kvbz .tabs__title_1kvbz + .tabs__title_1kvbz {
|
|
78
78
|
margin-left: var(--secondary-tablist-xl-gaps);
|
|
79
79
|
} :root {
|
|
80
80
|
--color-dark-indigo: #0b1f35;
|
|
@@ -979,7 +979,7 @@
|
|
|
979
979
|
|
|
980
980
|
/* size xl */
|
|
981
981
|
--secondary-tablist-xl-gaps: var(--gap-m);
|
|
982
|
-
} .
|
|
983
|
-
} .
|
|
982
|
+
} .tabs__title_106yx {
|
|
983
|
+
} .tabs__mobile_106yx .tabs__title_106yx + .tabs__title_106yx {
|
|
984
984
|
margin-left: var(--secondary-tablist-mobile-gaps);
|
|
985
985
|
}
|
|
@@ -10,7 +10,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
10
10
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
11
11
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
12
12
|
|
|
13
|
-
var styles = {"component":"
|
|
13
|
+
var styles = {"component":"tabs__component_gayns","hidden":"tabs__hidden_gayns"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
var Tab = function (_a) {
|
package/components/tab/index.css
CHANGED
|
@@ -19,7 +19,7 @@ require('../../hooks/use-tabs.js');
|
|
|
19
19
|
require('@alfalab/core-components-shared');
|
|
20
20
|
require('../../synthetic-events.js');
|
|
21
21
|
require('../title/Component.js');
|
|
22
|
-
require('../../index.module-
|
|
22
|
+
require('../../index.module-43b6c98c.js');
|
|
23
23
|
|
|
24
24
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
25
25
|
|
|
@@ -21,10 +21,10 @@ require('@alfalab/icons-glyph/ChevronLeftMIcon');
|
|
|
21
21
|
require('@alfalab/icons-glyph/ChevronRightMIcon');
|
|
22
22
|
require('../scroll-controls/utils.js');
|
|
23
23
|
require('../title/Component.js');
|
|
24
|
-
require('../../index.module-
|
|
24
|
+
require('../../index.module-43b6c98c.js');
|
|
25
25
|
require('@alfalab/core-components-tag/desktop');
|
|
26
26
|
require('../secondary-tablist/Component.js');
|
|
27
|
-
require('../../index.module-
|
|
27
|
+
require('../../index.module-7b796643.js');
|
|
28
28
|
|
|
29
29
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
30
30
|
|
|
@@ -21,10 +21,10 @@ require('@alfalab/icons-glyph/ChevronLeftMIcon');
|
|
|
21
21
|
require('@alfalab/icons-glyph/ChevronRightMIcon');
|
|
22
22
|
require('../scroll-controls/utils.js');
|
|
23
23
|
require('../title/Component.js');
|
|
24
|
-
require('../../index.module-
|
|
24
|
+
require('../../index.module-43b6c98c.js');
|
|
25
25
|
require('@alfalab/core-components-tag/mobile');
|
|
26
26
|
require('../secondary-tablist/Component.js');
|
|
27
|
-
require('../../index.module-
|
|
27
|
+
require('../../index.module-7b796643.js');
|
|
28
28
|
|
|
29
29
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
30
30
|
|
|
@@ -23,12 +23,12 @@ require('@alfalab/icons-glyph/ChevronLeftMIcon');
|
|
|
23
23
|
require('@alfalab/icons-glyph/ChevronRightMIcon');
|
|
24
24
|
require('../scroll-controls/utils.js');
|
|
25
25
|
require('../title/Component.js');
|
|
26
|
-
require('../../index.module-
|
|
26
|
+
require('../../index.module-43b6c98c.js');
|
|
27
27
|
require('../primary-tablist/Component.mobile.js');
|
|
28
28
|
require('../secondary-tablist/Component.desktop.js');
|
|
29
29
|
require('@alfalab/core-components-tag/desktop');
|
|
30
30
|
require('../secondary-tablist/Component.js');
|
|
31
|
-
require('../../index.module-
|
|
31
|
+
require('../../index.module-7b796643.js');
|
|
32
32
|
require('../secondary-tablist/Component.mobile.js');
|
|
33
33
|
require('@alfalab/core-components-tag/mobile');
|
|
34
34
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { BaseFormControlProps } from "./index-
|
|
3
|
+
import { BaseFormControlProps } from "./index-c44170fe";
|
|
4
4
|
type FormControlDesktopProps = Omit<BaseFormControlProps, 'styles' | 'colorStyles'>;
|
|
5
5
|
declare const FormControlDesktop: React.ForwardRefExoticComponent<FormControlDesktopProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
export { FormControlDesktopProps, FormControlDesktop };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { BaseFormControlProps } from "./index-
|
|
3
|
+
import { BaseFormControlProps } from "./index-c44170fe";
|
|
4
4
|
type FormControlMobileProps = Omit<BaseFormControlProps, 'styles' | 'colorStyles'>;
|
|
5
5
|
declare const FormControlMobile: React.ForwardRefExoticComponent<FormControlMobileProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
export { FormControlMobileProps, FormControlMobile };
|
package/cssm/index-c44170fe.d.ts
CHANGED
|
@@ -1,6 +1,119 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
|
-
|
|
3
|
+
import { HTMLAttributes, ReactNode } from "react";
|
|
4
|
+
type StyleColors = {
|
|
5
|
+
default: {
|
|
6
|
+
[key: string]: string;
|
|
7
|
+
};
|
|
8
|
+
inverted: {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
type BaseFormControlProps = HTMLAttributes<HTMLDivElement> & {
|
|
13
|
+
/**
|
|
14
|
+
* Растягивает компонент на ширину контейнера
|
|
15
|
+
*/
|
|
16
|
+
block?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Размер компонента
|
|
19
|
+
*/
|
|
20
|
+
size?: "s" | "m" | "l" | "xl";
|
|
21
|
+
/**
|
|
22
|
+
* Набор цветов для компонента
|
|
23
|
+
*/
|
|
24
|
+
colors?: "default" | "inverted";
|
|
25
|
+
/**
|
|
26
|
+
* Заблокированное состояние
|
|
27
|
+
*/
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Cостояние только для чтения
|
|
31
|
+
*/
|
|
32
|
+
readOnly?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Заполненное состояние
|
|
35
|
+
*/
|
|
36
|
+
filled?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Выбранное (фокус) состояние
|
|
39
|
+
*/
|
|
40
|
+
focused?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Отображение ошибки
|
|
43
|
+
*/
|
|
44
|
+
error?: ReactNode | boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Текст подсказки
|
|
47
|
+
*/
|
|
48
|
+
hint?: ReactNode;
|
|
49
|
+
/**
|
|
50
|
+
* Лейбл компонента
|
|
51
|
+
*/
|
|
52
|
+
label?: ReactNode;
|
|
53
|
+
/**
|
|
54
|
+
* Вид лейбла внутри / снаружи
|
|
55
|
+
*/
|
|
56
|
+
labelView?: "inner" | "outer";
|
|
57
|
+
/**
|
|
58
|
+
* Слот слева
|
|
59
|
+
*/
|
|
60
|
+
leftAddons?: ReactNode;
|
|
61
|
+
/**
|
|
62
|
+
* Слот справа
|
|
63
|
+
*/
|
|
64
|
+
rightAddons?: ReactNode;
|
|
65
|
+
/**
|
|
66
|
+
* Слот под полем
|
|
67
|
+
*/
|
|
68
|
+
bottomAddons?: ReactNode;
|
|
69
|
+
/**
|
|
70
|
+
* Дополнительный класс
|
|
71
|
+
*/
|
|
72
|
+
className?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Дополнительный класс для поля
|
|
75
|
+
*/
|
|
76
|
+
fieldClassName?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Дополнительный класс для поля
|
|
79
|
+
*/
|
|
80
|
+
inputWrapperClassName?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Дополнительный класс для лейбла
|
|
83
|
+
*/
|
|
84
|
+
labelClassName?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Дополнительный класс для аддонов
|
|
87
|
+
*/
|
|
88
|
+
addonsClassName?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Свойства для обертки левых аддонов
|
|
91
|
+
*/
|
|
92
|
+
leftAddonsProps?: HTMLAttributes<HTMLDivElement>;
|
|
93
|
+
/**
|
|
94
|
+
* Свойства для обертки правых аддонов
|
|
95
|
+
*/
|
|
96
|
+
rightAddonsProps?: HTMLAttributes<HTMLDivElement>;
|
|
97
|
+
/**
|
|
98
|
+
* Идентификатор для систем автоматизированного тестирования
|
|
99
|
+
*/
|
|
100
|
+
dataTestId?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Компонент поля (инпут, textarea и пр.)
|
|
103
|
+
*/
|
|
104
|
+
children?: ReactNode;
|
|
105
|
+
/**
|
|
106
|
+
* Основные стили компонента.
|
|
107
|
+
*/
|
|
108
|
+
styles: {
|
|
109
|
+
[key: string]: string;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Стили компонента для default и inverted режима.
|
|
113
|
+
*/
|
|
114
|
+
colorStyles?: StyleColors;
|
|
115
|
+
};
|
|
116
|
+
type FormControlProps = Omit<BaseFormControlProps, "styles" | "colorStyles"> & {
|
|
4
117
|
/**
|
|
5
118
|
* Контрольная точка, с нее начинается desktop версия
|
|
6
119
|
* @default 1024
|
|
@@ -11,13 +124,8 @@ type InputProps = Omit<BaseInputProps, "FormControlComponent" | "colorStyles"> &
|
|
|
11
124
|
*/
|
|
12
125
|
defaultMatchMediaValue?: boolean | (() => boolean);
|
|
13
126
|
};
|
|
14
|
-
declare const
|
|
127
|
+
declare const FormControl: React.ForwardRefExoticComponent<Omit<BaseFormControlProps, "styles" | "colorStyles"> & {
|
|
15
128
|
breakpoint?: number | undefined;
|
|
16
129
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
17
|
-
} & React.RefAttributes<
|
|
18
|
-
|
|
19
|
-
declare const InputDesktop: React.ForwardRefExoticComponent<InputDesktopProps & React.RefAttributes<HTMLInputElement>>;
|
|
20
|
-
type InputMobileProps = Omit<BaseInputProps, "FormControlComponent" | "colorStyles">;
|
|
21
|
-
declare const InputMobile: React.ForwardRefExoticComponent<InputMobileProps & React.RefAttributes<HTMLInputElement>>;
|
|
22
|
-
export { InputProps, Input, InputDesktopProps, InputDesktop, InputMobileProps, InputMobile };
|
|
23
|
-
export * from "./Component.desktop-785df74d";
|
|
130
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
131
|
+
export { FormControlProps, FormControl };
|
package/cssm/index-c76d6398.d.ts
CHANGED
package/cssm/index-f12ee135.d.ts
CHANGED
package/desktop.js
CHANGED
|
@@ -22,10 +22,10 @@ require('@alfalab/icons-glyph/ChevronLeftMIcon');
|
|
|
22
22
|
require('@alfalab/icons-glyph/ChevronRightMIcon');
|
|
23
23
|
require('./components/scroll-controls/utils.js');
|
|
24
24
|
require('./components/title/Component.js');
|
|
25
|
-
require('./index.module-
|
|
25
|
+
require('./index.module-43b6c98c.js');
|
|
26
26
|
require('@alfalab/core-components-tag/desktop');
|
|
27
27
|
require('./components/secondary-tablist/Component.js');
|
|
28
|
-
require('./index.module-
|
|
28
|
+
require('./index.module-7b796643.js');
|
|
29
29
|
require('./components/tabs/Component.js');
|
|
30
30
|
|
|
31
31
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { BaseFormControlProps } from "./index-
|
|
3
|
+
import { BaseFormControlProps } from "./index-c44170fe";
|
|
4
4
|
type FormControlDesktopProps = Omit<BaseFormControlProps, 'styles' | 'colorStyles'>;
|
|
5
5
|
declare const FormControlDesktop: React.ForwardRefExoticComponent<FormControlDesktopProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
export { FormControlDesktopProps, FormControlDesktop };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { BaseTagProps } from "./index-ebda875c";
|
|
4
|
+
type TagDesktopProps = Omit<BaseTagProps, 'styles' | 'colorStylesMap'>;
|
|
5
|
+
declare const TagDesktop: React.ForwardRefExoticComponent<TagDesktopProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
+
export { TagDesktopProps, TagDesktop };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { BaseFormControlProps } from "./index-
|
|
3
|
+
import { BaseFormControlProps } from "./index-c44170fe";
|
|
4
4
|
type FormControlMobileProps = Omit<BaseFormControlProps, 'styles' | 'colorStyles'>;
|
|
5
5
|
declare const FormControlMobile: React.ForwardRefExoticComponent<FormControlMobileProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
6
|
export { FormControlMobileProps, FormControlMobile };
|
package/esm/collapsible.js
CHANGED
|
@@ -16,5 +16,5 @@ import './hooks/use-tabs.js';
|
|
|
16
16
|
import '@alfalab/core-components-shared/esm';
|
|
17
17
|
import './synthetic-events.js';
|
|
18
18
|
import './components/title/Component.js';
|
|
19
|
-
import './index.module-
|
|
19
|
+
import './index.module-2f7a3bd7.js';
|
|
20
20
|
import './components/tabs/Component.js';
|
|
@@ -7,7 +7,7 @@ import { PickerButtonDesktop } from '@alfalab/core-components-picker-button/esm/
|
|
|
7
7
|
import { useTablistTitles } from '../../hooks/use-tablist-titles.js';
|
|
8
8
|
import { createSyntheticMouseEvent } from '../../synthetic-events.js';
|
|
9
9
|
import { Title } from '../title/Component.js';
|
|
10
|
-
import { c as commonStyles } from '../../index.module-
|
|
10
|
+
import { c as commonStyles } from '../../index.module-2f7a3bd7.js';
|
|
11
11
|
import '@alfalab/core-components-mq/esm';
|
|
12
12
|
import '../../hooks/use-collapsible-elements.js';
|
|
13
13
|
import '@juggle/resize-observer';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __rest, __assign } from 'tslib';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { PrimaryTabList } from './Component.js';
|
|
4
|
-
import { c as commonStyles } from '../../index.module-
|
|
4
|
+
import { c as commonStyles } from '../../index.module-2f7a3bd7.js';
|
|
5
5
|
import 'classnames';
|
|
6
6
|
import '@alfalab/core-components-keyboard-focusable/esm';
|
|
7
7
|
import '../../hooks/use-tabs.js';
|
|
@@ -2,7 +2,7 @@ import { __assign, __rest } from 'tslib';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { PrimaryTabList } from './Component.js';
|
|
5
|
-
import { c as commonStyles } from '../../index.module-
|
|
5
|
+
import { c as commonStyles } from '../../index.module-2f7a3bd7.js';
|
|
6
6
|
import '@alfalab/core-components-keyboard-focusable/esm';
|
|
7
7
|
import '../../hooks/use-tabs.js';
|
|
8
8
|
import '@alfalab/core-components-shared/esm';
|
|
@@ -16,7 +16,7 @@ import '@alfalab/icons-glyph/ChevronRightMIcon';
|
|
|
16
16
|
import '../scroll-controls/utils.js';
|
|
17
17
|
import '../title/Component.js';
|
|
18
18
|
|
|
19
|
-
var mobileStyles = {"title":"
|
|
19
|
+
var mobileStyles = {"title":"tabs__title_1mlff tabs__title_9r6x8","mobile":"tabs__mobile_1mlff"};
|
|
20
20
|
require('./mobile.css')
|
|
21
21
|
|
|
22
22
|
var styles = __assign(__assign({}, commonStyles), mobileStyles);
|
|
@@ -17,7 +17,7 @@ import '@alfalab/icons-glyph/ChevronLeftMIcon';
|
|
|
17
17
|
import '@alfalab/icons-glyph/ChevronRightMIcon';
|
|
18
18
|
import '../scroll-controls/utils.js';
|
|
19
19
|
import '../title/Component.js';
|
|
20
|
-
import '../../index.module-
|
|
20
|
+
import '../../index.module-2f7a3bd7.js';
|
|
21
21
|
|
|
22
22
|
var PrimaryTabListResponsive = function (_a) {
|
|
23
23
|
var size = _a.size, _b = _a.breakpoint, breakpoint = _b === void 0 ? 1024 : _b, fullWidthScroll = _a.fullWidthScroll, defaultMatchMediaValue = _a.defaultMatchMediaValue, restProps = __rest(_a, ["size", "breakpoint", "fullWidthScroll", "defaultMatchMediaValue"]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1dtix */
|
|
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_9r6x8 {
|
|
87
87
|
position: relative;
|
|
88
88
|
display: inline-flex;
|
|
89
89
|
min-width: 100%
|
|
90
|
-
} .
|
|
90
|
+
} .tabs__component_9r6x8: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_9r6x8 {
|
|
99
99
|
min-width: calc(100% - 2 * var(--gap-m));
|
|
100
100
|
margin: 0 var(--gap-m);
|
|
101
|
-
} .
|
|
101
|
+
} .tabs__container_9r6x8 {
|
|
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_9r6x8 {
|
|
109
109
|
display: flex;
|
|
110
110
|
align-items: center;
|
|
111
111
|
height: 100%;
|
|
@@ -122,78 +122,78 @@
|
|
|
122
122
|
user-select: none;
|
|
123
123
|
cursor: pointer;
|
|
124
124
|
outline: none
|
|
125
|
-
} .
|
|
125
|
+
} .tabs__title_9r6x8:not(.tabs__disabled_9r6x8):hover {
|
|
126
126
|
color: var(--primary-tablist-hover-color);
|
|
127
|
-
} .
|
|
127
|
+
} .tabs__focused_9r6x8 {
|
|
128
128
|
outline: 2px solid var(--focus-color);
|
|
129
129
|
outline-offset: 2px;
|
|
130
|
-
} .
|
|
130
|
+
} .tabs__collapsed_9r6x8 {
|
|
131
131
|
order: 99;
|
|
132
132
|
visibility: collapse;
|
|
133
|
-
} .
|
|
133
|
+
} .tabs__selected_9r6x8 {
|
|
134
134
|
cursor: default;
|
|
135
135
|
color: var(--primary-tablist-selected-color);
|
|
136
|
-
} .
|
|
136
|
+
} .tabs__disabled_9r6x8 {
|
|
137
137
|
cursor: var(--disabled-cursor);
|
|
138
138
|
color: var(--primary-tablist-disabled-color);
|
|
139
|
-
} .
|
|
139
|
+
} .tabs__line_9r6x8 {
|
|
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
|
-
} .
|
|
146
|
+
} .tabs__option_9r6x8 {
|
|
147
147
|
color: var(--color-light-text-primary);
|
|
148
|
-
} /* sizes */ .
|
|
148
|
+
} /* sizes */ .tabs__s_9r6x8 .tabs__title_9r6x8, .tabs__xs_9r6x8 .tabs__title_9r6x8, .tabs__xxs_9r6x8 .tabs__title_9r6x8 {
|
|
149
149
|
padding: var(--primary-tablist-s-padding);
|
|
150
150
|
font-size: var(--primary-tablist-s-font-size);
|
|
151
151
|
font-weight: var(--primary-tablist-s-font-weight);
|
|
152
152
|
font-family: var(--primary-tablist-s-font-family);
|
|
153
153
|
line-height: 24px;
|
|
154
|
-
} .
|
|
154
|
+
} .tabs__s_9r6x8 .tabs__title_9r6x8 + .tabs__title_9r6x8, .tabs__xs_9r6x8 .tabs__title_9r6x8 + .tabs__title_9r6x8, .tabs__xxs_9r6x8 .tabs__title_9r6x8 + .tabs__title_9r6x8 {
|
|
155
155
|
margin-left: var(--primary-tablist-s-gaps);
|
|
156
|
-
} .
|
|
156
|
+
} .tabs__s_9r6x8 .tabs__pickerWrapper_9r6x8, .tabs__xs_9r6x8 .tabs__pickerWrapper_9r6x8, .tabs__xxs_9r6x8 .tabs__pickerWrapper_9r6x8 {
|
|
157
157
|
margin-left: var(--primary-tablist-s-gaps);
|
|
158
|
-
} .
|
|
158
|
+
} .tabs__s_9r6x8 .tabs__option_9r6x8, .tabs__xs_9r6x8 .tabs__option_9r6x8, .tabs__xxs_9r6x8 .tabs__option_9r6x8 {
|
|
159
159
|
padding: 0;
|
|
160
|
-
} .
|
|
160
|
+
} .tabs__m_9r6x8 .tabs__title_9r6x8 {
|
|
161
161
|
padding: var(--primary-tablist-m-padding);
|
|
162
162
|
font-size: var(--primary-tablist-m-font-size);
|
|
163
163
|
font-weight: var(--primary-tablist-m-font-weight);
|
|
164
164
|
font-family: var(--primary-tablist-m-font-family);
|
|
165
165
|
line-height: 24px;
|
|
166
|
-
} .
|
|
166
|
+
} .tabs__m_9r6x8 .tabs__title_9r6x8 + .tabs__title_9r6x8 {
|
|
167
167
|
margin-left: var(--primary-tablist-m-gaps);
|
|
168
|
-
} .
|
|
168
|
+
} .tabs__m_9r6x8 .tabs__pickerWrapper_9r6x8 {
|
|
169
169
|
margin-left: var(--primary-tablist-m-gaps);
|
|
170
|
-
} .
|
|
170
|
+
} .tabs__m_9r6x8 .tabs__option_9r6x8 {
|
|
171
171
|
padding: 0;
|
|
172
|
-
} .
|
|
172
|
+
} .tabs__l_9r6x8 .tabs__title_9r6x8 {
|
|
173
173
|
padding: var(--primary-tablist-l-padding);
|
|
174
174
|
font-size: var(--primary-tablist-l-font-size);
|
|
175
175
|
font-weight: var(--primary-tablist-l-font-weight);
|
|
176
176
|
font-family: var(--primary-tablist-l-font-family);
|
|
177
177
|
line-height: 24px;
|
|
178
|
-
} .
|
|
178
|
+
} .tabs__l_9r6x8 .tabs__title_9r6x8 + .tabs__title_9r6x8 {
|
|
179
179
|
margin-left: var(--primary-tablist-l-gaps);
|
|
180
|
-
} .
|
|
180
|
+
} .tabs__l_9r6x8 .tabs__pickerWrapper_9r6x8 {
|
|
181
181
|
margin-left: var(--primary-tablist-l-gaps);
|
|
182
|
-
} .
|
|
182
|
+
} .tabs__l_9r6x8 .tabs__option_9r6x8 {
|
|
183
183
|
padding: 0;
|
|
184
|
-
} .
|
|
184
|
+
} .tabs__xl_9r6x8 .tabs__title_9r6x8 {
|
|
185
185
|
padding: var(--primary-tablist-xl-padding);
|
|
186
186
|
font-size: var(--primary-tablist-xl-font-size);
|
|
187
187
|
font-weight: var(--primary-tablist-xl-font-weight);
|
|
188
188
|
font-family: var(--primary-tablist-xl-font-family);
|
|
189
189
|
line-height: 32px;
|
|
190
|
-
} .
|
|
190
|
+
} .tabs__xl_9r6x8 .tabs__title_9r6x8 + .tabs__title_9r6x8 {
|
|
191
191
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
192
|
-
} .
|
|
192
|
+
} .tabs__xl_9r6x8 .tabs__pickerWrapper_9r6x8 {
|
|
193
193
|
margin-left: var(--primary-tablist-xl-gaps);
|
|
194
|
-
} .
|
|
194
|
+
} .tabs__xl_9r6x8 .tabs__option_9r6x8 {
|
|
195
195
|
padding: 0;
|
|
196
|
-
} .
|
|
196
|
+
} .tabs__rightAddons_9r6x8 {
|
|
197
197
|
display: flex;
|
|
198
198
|
justify-content: center;
|
|
199
199
|
align-items: center;
|