@alfalab/core-components-tabs 7.3.7 → 7.3.9

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.
Files changed (108) hide show
  1. package/Component-7ca84eff.d.ts +5 -0
  2. package/Component-ebda875c.d.ts +2 -0
  3. package/Component.mobile-e81c389f.d.ts +38 -0
  4. package/components/primary-tablist/Component.desktop.js +1 -1
  5. package/components/primary-tablist/Component.mobile.js +2 -2
  6. package/components/primary-tablist/Component.responsive.js +1 -1
  7. package/components/primary-tablist/index.css +29 -29
  8. package/components/primary-tablist/mobile.css +32 -32
  9. package/components/scrollable-container/Component.js +1 -1
  10. package/components/scrollable-container/index.css +5 -5
  11. package/components/secondary-tablist/Component.desktop.js +1 -1
  12. package/components/secondary-tablist/Component.mobile.js +2 -2
  13. package/components/secondary-tablist/Component.responsive.js +1 -1
  14. package/components/secondary-tablist/index.css +11 -11
  15. package/components/secondary-tablist/mobile.css +13 -13
  16. package/components/tab/Component.js +1 -1
  17. package/components/tab/index.css +3 -3
  18. package/components/tabs/Component.desktop.js +2 -2
  19. package/components/tabs/Component.mobile.js +2 -2
  20. package/components/tabs/Component.responsive.js +2 -2
  21. package/cssm/Component-7ca84eff.d.ts +5 -0
  22. package/cssm/Component-ebda875c.d.ts +2 -0
  23. package/cssm/Component.mobile-e81c389f.d.ts +38 -0
  24. package/cssm/index-7ca84eff.d.ts +9 -0
  25. package/cssm/index-e81c389f.d.ts +141 -0
  26. package/desktop.js +2 -2
  27. package/esm/Component-7ca84eff.d.ts +5 -0
  28. package/esm/Component-ebda875c.d.ts +2 -0
  29. package/esm/Component.mobile-e81c389f.d.ts +38 -0
  30. package/esm/components/primary-tablist/Component.desktop.js +1 -1
  31. package/esm/components/primary-tablist/Component.mobile.js +2 -2
  32. package/esm/components/primary-tablist/Component.responsive.js +1 -1
  33. package/esm/components/primary-tablist/index.css +29 -29
  34. package/esm/components/primary-tablist/mobile.css +32 -32
  35. package/esm/components/scrollable-container/Component.js +1 -1
  36. package/esm/components/scrollable-container/index.css +5 -5
  37. package/esm/components/secondary-tablist/Component.desktop.js +1 -1
  38. package/esm/components/secondary-tablist/Component.mobile.js +2 -2
  39. package/esm/components/secondary-tablist/Component.responsive.js +1 -1
  40. package/esm/components/secondary-tablist/index.css +11 -11
  41. package/esm/components/secondary-tablist/mobile.css +13 -13
  42. package/esm/components/tab/Component.js +1 -1
  43. package/esm/components/tab/index.css +3 -3
  44. package/esm/components/tabs/Component.desktop.js +2 -2
  45. package/esm/components/tabs/Component.mobile.js +2 -2
  46. package/esm/components/tabs/Component.responsive.js +2 -2
  47. package/esm/desktop.js +2 -2
  48. package/esm/index-7ca84eff.d.ts +9 -0
  49. package/esm/index-e81c389f.d.ts +141 -0
  50. package/esm/index.js +2 -2
  51. package/esm/index.module-b06e730b.js +4 -0
  52. package/esm/index.module-ea1e031b.js +4 -0
  53. package/esm/mobile.js +2 -2
  54. package/esm/responsive.js +2 -2
  55. package/index-7ca84eff.d.ts +9 -0
  56. package/index-e81c389f.d.ts +141 -0
  57. package/index.js +2 -2
  58. package/index.module-9aac8027.js +6 -0
  59. package/index.module-dde2566f.js +6 -0
  60. package/mobile.js +2 -2
  61. package/modern/Component-7ca84eff.d.ts +5 -0
  62. package/modern/Component-ebda875c.d.ts +2 -0
  63. package/modern/Component.mobile-e81c389f.d.ts +38 -0
  64. package/modern/components/primary-tablist/Component.desktop.js +1 -1
  65. package/modern/components/primary-tablist/Component.mobile.js +2 -2
  66. package/modern/components/primary-tablist/Component.responsive.js +1 -1
  67. package/modern/components/primary-tablist/index.css +29 -29
  68. package/modern/components/primary-tablist/mobile.css +32 -32
  69. package/modern/components/scrollable-container/Component.js +1 -1
  70. package/modern/components/scrollable-container/index.css +5 -5
  71. package/modern/components/secondary-tablist/Component.desktop.js +1 -1
  72. package/modern/components/secondary-tablist/Component.mobile.js +2 -2
  73. package/modern/components/secondary-tablist/Component.responsive.js +1 -1
  74. package/modern/components/secondary-tablist/index.css +11 -11
  75. package/modern/components/secondary-tablist/mobile.css +13 -13
  76. package/modern/components/tab/Component.js +1 -1
  77. package/modern/components/tab/index.css +3 -3
  78. package/modern/components/tabs/Component.desktop.js +2 -2
  79. package/modern/components/tabs/Component.mobile.js +2 -2
  80. package/modern/components/tabs/Component.responsive.js +2 -2
  81. package/modern/desktop.js +2 -2
  82. package/modern/index-7ca84eff.d.ts +9 -0
  83. package/modern/index-e81c389f.d.ts +141 -0
  84. package/modern/index.js +2 -2
  85. package/modern/index.module-1428a125.js +4 -0
  86. package/modern/index.module-1e6e4859.js +4 -0
  87. package/modern/mobile.js +2 -2
  88. package/modern/responsive.js +2 -2
  89. package/package.json +2 -2
  90. package/responsive.js +2 -2
  91. package/Component-3885b0d7.d.ts +0 -49
  92. package/Component-3fe0d3e6.d.ts +0 -243
  93. package/Component-db573794.d.ts +0 -33
  94. package/cssm/Component-3885b0d7.d.ts +0 -49
  95. package/cssm/Component-3fe0d3e6.d.ts +0 -243
  96. package/cssm/Component-db573794.d.ts +0 -33
  97. package/esm/Component-3885b0d7.d.ts +0 -49
  98. package/esm/Component-3fe0d3e6.d.ts +0 -243
  99. package/esm/Component-db573794.d.ts +0 -33
  100. package/esm/index.module-6526d0f8.js +0 -4
  101. package/esm/index.module-9fdbc6b1.js +0 -4
  102. package/index.module-1af5e8ab.js +0 -6
  103. package/index.module-41c09f8d.js +0 -6
  104. package/modern/Component-3885b0d7.d.ts +0 -49
  105. package/modern/Component-3fe0d3e6.d.ts +0 -243
  106. package/modern/Component-db573794.d.ts +0 -33
  107. package/modern/index.module-14493370.js +0 -4
  108. package/modern/index.module-ffb625b2.js +0 -4
@@ -1,243 +0,0 @@
1
- import React from "react";
2
- import { ButtonHTMLAttributes, ElementType, FC, ForwardRefExoticComponent, RefAttributes, HTMLAttributes, ReactNode } from "react";
3
- import { IconButtonProps } from "./index-ebda875c";
4
- import { BottomSheetTitleAlign } from "./index-7ca84eff";
5
- type CloserProps = ButtonHTMLAttributes<HTMLButtonElement> & {
6
- /**
7
- * Дополнительный класс
8
- */
9
- className?: string;
10
- /**
11
- * Размер кнопки
12
- */
13
- size?: IconButtonProps["size"];
14
- /**
15
- * Идентификатор для систем автоматизированного тестирования
16
- */
17
- dataTestId?: string;
18
- /**
19
- * Иконка
20
- */
21
- icon?: ElementType;
22
- };
23
- declare const Closer: React.FC<CloserProps>;
24
- declare const colors: readonly [
25
- "tertiary",
26
- "disabled",
27
- "accent",
28
- "primary",
29
- "attention",
30
- "positive",
31
- "secondary",
32
- "tertiary-inverted",
33
- "primary-inverted",
34
- "secondary-inverted",
35
- "link",
36
- "negative"
37
- ];
38
- type Color = (typeof colors)[number];
39
- type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
40
- type NativeProps = HTMLAttributes<HTMLSpanElement>;
41
- type TextBaseProps = {
42
- /**
43
- * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
44
- */
45
- view?: "primary-large" | "primary-medium" | "primary-small" | "secondary-large" | "secondary-medium" | "secondary-small" | "component" | "caps";
46
- /**
47
- * Цвет текста
48
- */
49
- color?: Color;
50
- /**
51
- * Толщина шрифта
52
- */
53
- weight?: "regular" | "medium" | "bold";
54
- /**
55
- * Делает цифры моноширинными
56
- */
57
- monospaceNumbers?: boolean;
58
- /**
59
- * HTML тег
60
- */
61
- tag?: "span" | "div";
62
- /**
63
- * Css-класс для стилизации (native prop)
64
- */
65
- className?: string;
66
- /**
67
- * Id компонента для тестов
68
- */
69
- dataTestId?: string;
70
- /**
71
- * Контент (native prop)
72
- */
73
- children?: React.ReactNode;
74
- /**
75
- * Добавляет отступы к тэгу 'p'
76
- */
77
- defaultMargins?: never;
78
- /**
79
- * Количество строк (не поддерживает IE)
80
- */
81
- rowLimit?: 1 | 2 | 3;
82
- };
83
- type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
84
- tag?: "p";
85
- defaultMargins?: boolean;
86
- };
87
- type TextProps = Omit<NativeProps, "color"> & (TextBaseProps | TextPTagProps);
88
- type NativeProps$0 = HTMLAttributes<HTMLHeadingElement>;
89
- type TitleProps = Omit<NativeProps$0, "color"> & {
90
- /**
91
- * HTML тег
92
- */
93
- tag: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div";
94
- /**
95
- * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
96
- */
97
- view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
98
- /**
99
- * Цвет текста
100
- */
101
- color?: Color;
102
- /**
103
- * Толщина шрифта
104
- */
105
- weight?: "regular" | "medium" | "bold";
106
- /**
107
- * Шрифт текста
108
- */
109
- font?: "styrene" | "system";
110
- /**
111
- * Добавляет отступы
112
- */
113
- defaultMargins?: boolean;
114
- /**
115
- * Css-класс для стилизации (native prop)
116
- */
117
- className?: string;
118
- /**
119
- * Id компонента для тестов
120
- */
121
- dataTestId?: string;
122
- /**
123
- * Контент (native prop)
124
- */
125
- children?: React.ReactNode;
126
- /**
127
- * Количество строк (не поддерживает IE)
128
- */
129
- rowLimit?: 1 | 2 | 3;
130
- };
131
- type TitleMobileProps = Omit<TitleProps, "defaultMargins">;
132
- declare const Typography: {
133
- Title: FC<TitleProps>;
134
- Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
135
- TitleResponsive: FC<TitleProps>;
136
- TitleMobile: FC<TitleMobileProps>;
137
- };
138
- declare const typographyPresets: {
139
- mobile: {
140
- list: {
141
- text: {
142
- primary: {
143
- tag: string;
144
- view: string;
145
- };
146
- secondary: {
147
- tag: string;
148
- color: string;
149
- view: string;
150
- };
151
- };
152
- };
153
- };
154
- };
155
- type BackerProps = ButtonHTMLAttributes<HTMLButtonElement> & {
156
- /**
157
- * Дополнительный класс
158
- */
159
- className?: string;
160
- /**
161
- * Размер кнопки
162
- */
163
- size?: IconButtonProps["size"];
164
- /**
165
- * Иконка
166
- */
167
- icon?: ElementType;
168
- /**
169
- * Идентификатор для систем автоматизированного тестирования
170
- */
171
- dataTestId?: string;
172
- /**
173
- * Обработчик нажатия
174
- */
175
- onClick?: () => void;
176
- };
177
- declare const Backer: React.FC<BackerProps>;
178
- declare const TitleResponsive: FC<TitleProps>;
179
- type HeaderProps = {
180
- /**
181
- * Заголовок
182
- */
183
- title?: ReactNode;
184
- /**
185
- * Дополнительный класс
186
- */
187
- headerClassName?: string;
188
- /**
189
- * Дополнительный класс для аддонов
190
- */
191
- addonClassName?: string;
192
- /**
193
- * Дополнительный класс для компонента крестика
194
- */
195
- closerClassName?: string;
196
- /**
197
- * Дополнительный класс для компонента стрелки назад
198
- */
199
- backerClassName?: string;
200
- /**
201
- * Слот слева
202
- */
203
- leftAddons?: ReactNode;
204
- /**
205
- * Слот справа
206
- */
207
- rightAddons?: ReactNode;
208
- /**
209
- * Слот снизу
210
- */
211
- bottomAddons?: ReactNode;
212
- /**
213
- * Наличие компонента крестика
214
- */
215
- hasCloser?: boolean;
216
- /**
217
- * Наличие компонента стрелки назад
218
- */
219
- hasBacker?: boolean;
220
- /**
221
- * Выравнивание заголовка
222
- */
223
- titleAlign?: BottomSheetTitleAlign;
224
- /**
225
- * Будет ли обрезан заголовок
226
- */
227
- trimTitle?: boolean;
228
- /**
229
- * Фиксирует шапку
230
- */
231
- sticky?: boolean;
232
- /**
233
- * Идентификатор для систем автоматизированного тестирования
234
- */
235
- dataTestId?: string;
236
- /**
237
- * Обработчик нажатия на стрелку назад
238
- */
239
- onBack?: () => void;
240
- };
241
- declare const Header: FC<HeaderProps>;
242
- export { CloserProps, Closer, Typography, typographyPresets, BackerProps, Backer, TitleResponsive, HeaderProps, Header };
243
- export type { TitleProps, TextProps, Color };
@@ -1,33 +0,0 @@
1
- import { ButtonHTMLAttributes, ElementType, FC } from 'react';
2
- import { IconButtonProps } from "./index-ebda875c";
3
- type CloserProps = ButtonHTMLAttributes<HTMLButtonElement> & {
4
- /**
5
- * Дополнительный класс
6
- */
7
- className?: string;
8
- /**
9
- * Позиция крестика
10
- */
11
- align?: 'left' | 'right';
12
- /**
13
- * Размер кнопки
14
- */
15
- size?: IconButtonProps['size'];
16
- /**
17
- * Фиксирует крестик
18
- */
19
- sticky?: boolean;
20
- /**
21
- * Иконка
22
- */
23
- icon?: ElementType;
24
- /**
25
- * Идентификатор для систем автоматизированного тестирования
26
- */
27
- dataTestId?: string;
28
- };
29
- /**
30
- * @deprecated Компонент только для внутреннего использования. Используйте <Header />
31
- */
32
- declare const Closer: FC<CloserProps>;
33
- export { CloserProps, Closer };
@@ -1,49 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- type HeaderProps = {
3
- /**
4
- * Контент шапки
5
- */
6
- children?: ReactNode;
7
- /**
8
- * Слот слева
9
- */
10
- leftAddons?: ReactNode;
11
- /**
12
- * Наличие компонента крестика
13
- */
14
- hasCloser?: ReactNode;
15
- /**
16
- * Дополнительный класс
17
- */
18
- className?: string;
19
- /**
20
- * Дополнительный класс для аддонов
21
- */
22
- addonClassName?: string;
23
- /**
24
- * Дополнительный класс для контента
25
- */
26
- contentClassName?: string;
27
- /**
28
- * Заголовок шапки
29
- */
30
- title?: string;
31
- /**
32
- * Выравнивание заголовка
33
- */
34
- align?: 'left' | 'center';
35
- /**
36
- * Обрезать ли заголовок
37
- */
38
- trim?: boolean;
39
- /**
40
- * Фиксирует шапку
41
- */
42
- sticky?: boolean;
43
- /**
44
- * Идентификатор для систем автоматизированного тестирования
45
- */
46
- dataTestId?: string;
47
- };
48
- declare const Header: FC<HeaderProps>;
49
- export { HeaderProps, Header };
@@ -1,243 +0,0 @@
1
- import React from "react";
2
- import { ButtonHTMLAttributes, ElementType, FC, ForwardRefExoticComponent, RefAttributes, HTMLAttributes, ReactNode } from "react";
3
- import { IconButtonProps } from "./index-ebda875c";
4
- import { BottomSheetTitleAlign } from "./index-7ca84eff";
5
- type CloserProps = ButtonHTMLAttributes<HTMLButtonElement> & {
6
- /**
7
- * Дополнительный класс
8
- */
9
- className?: string;
10
- /**
11
- * Размер кнопки
12
- */
13
- size?: IconButtonProps["size"];
14
- /**
15
- * Идентификатор для систем автоматизированного тестирования
16
- */
17
- dataTestId?: string;
18
- /**
19
- * Иконка
20
- */
21
- icon?: ElementType;
22
- };
23
- declare const Closer: React.FC<CloserProps>;
24
- declare const colors: readonly [
25
- "tertiary",
26
- "disabled",
27
- "accent",
28
- "primary",
29
- "attention",
30
- "positive",
31
- "secondary",
32
- "tertiary-inverted",
33
- "primary-inverted",
34
- "secondary-inverted",
35
- "link",
36
- "negative"
37
- ];
38
- type Color = (typeof colors)[number];
39
- type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
40
- type NativeProps = HTMLAttributes<HTMLSpanElement>;
41
- type TextBaseProps = {
42
- /**
43
- * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
44
- */
45
- view?: "primary-large" | "primary-medium" | "primary-small" | "secondary-large" | "secondary-medium" | "secondary-small" | "component" | "caps";
46
- /**
47
- * Цвет текста
48
- */
49
- color?: Color;
50
- /**
51
- * Толщина шрифта
52
- */
53
- weight?: "regular" | "medium" | "bold";
54
- /**
55
- * Делает цифры моноширинными
56
- */
57
- monospaceNumbers?: boolean;
58
- /**
59
- * HTML тег
60
- */
61
- tag?: "span" | "div";
62
- /**
63
- * Css-класс для стилизации (native prop)
64
- */
65
- className?: string;
66
- /**
67
- * Id компонента для тестов
68
- */
69
- dataTestId?: string;
70
- /**
71
- * Контент (native prop)
72
- */
73
- children?: React.ReactNode;
74
- /**
75
- * Добавляет отступы к тэгу 'p'
76
- */
77
- defaultMargins?: never;
78
- /**
79
- * Количество строк (не поддерживает IE)
80
- */
81
- rowLimit?: 1 | 2 | 3;
82
- };
83
- type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
84
- tag?: "p";
85
- defaultMargins?: boolean;
86
- };
87
- type TextProps = Omit<NativeProps, "color"> & (TextBaseProps | TextPTagProps);
88
- type NativeProps$0 = HTMLAttributes<HTMLHeadingElement>;
89
- type TitleProps = Omit<NativeProps$0, "color"> & {
90
- /**
91
- * HTML тег
92
- */
93
- tag: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div";
94
- /**
95
- * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
96
- */
97
- view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
98
- /**
99
- * Цвет текста
100
- */
101
- color?: Color;
102
- /**
103
- * Толщина шрифта
104
- */
105
- weight?: "regular" | "medium" | "bold";
106
- /**
107
- * Шрифт текста
108
- */
109
- font?: "styrene" | "system";
110
- /**
111
- * Добавляет отступы
112
- */
113
- defaultMargins?: boolean;
114
- /**
115
- * Css-класс для стилизации (native prop)
116
- */
117
- className?: string;
118
- /**
119
- * Id компонента для тестов
120
- */
121
- dataTestId?: string;
122
- /**
123
- * Контент (native prop)
124
- */
125
- children?: React.ReactNode;
126
- /**
127
- * Количество строк (не поддерживает IE)
128
- */
129
- rowLimit?: 1 | 2 | 3;
130
- };
131
- type TitleMobileProps = Omit<TitleProps, "defaultMargins">;
132
- declare const Typography: {
133
- Title: FC<TitleProps>;
134
- Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
135
- TitleResponsive: FC<TitleProps>;
136
- TitleMobile: FC<TitleMobileProps>;
137
- };
138
- declare const typographyPresets: {
139
- mobile: {
140
- list: {
141
- text: {
142
- primary: {
143
- tag: string;
144
- view: string;
145
- };
146
- secondary: {
147
- tag: string;
148
- color: string;
149
- view: string;
150
- };
151
- };
152
- };
153
- };
154
- };
155
- type BackerProps = ButtonHTMLAttributes<HTMLButtonElement> & {
156
- /**
157
- * Дополнительный класс
158
- */
159
- className?: string;
160
- /**
161
- * Размер кнопки
162
- */
163
- size?: IconButtonProps["size"];
164
- /**
165
- * Иконка
166
- */
167
- icon?: ElementType;
168
- /**
169
- * Идентификатор для систем автоматизированного тестирования
170
- */
171
- dataTestId?: string;
172
- /**
173
- * Обработчик нажатия
174
- */
175
- onClick?: () => void;
176
- };
177
- declare const Backer: React.FC<BackerProps>;
178
- declare const TitleResponsive: FC<TitleProps>;
179
- type HeaderProps = {
180
- /**
181
- * Заголовок
182
- */
183
- title?: ReactNode;
184
- /**
185
- * Дополнительный класс
186
- */
187
- headerClassName?: string;
188
- /**
189
- * Дополнительный класс для аддонов
190
- */
191
- addonClassName?: string;
192
- /**
193
- * Дополнительный класс для компонента крестика
194
- */
195
- closerClassName?: string;
196
- /**
197
- * Дополнительный класс для компонента стрелки назад
198
- */
199
- backerClassName?: string;
200
- /**
201
- * Слот слева
202
- */
203
- leftAddons?: ReactNode;
204
- /**
205
- * Слот справа
206
- */
207
- rightAddons?: ReactNode;
208
- /**
209
- * Слот снизу
210
- */
211
- bottomAddons?: ReactNode;
212
- /**
213
- * Наличие компонента крестика
214
- */
215
- hasCloser?: boolean;
216
- /**
217
- * Наличие компонента стрелки назад
218
- */
219
- hasBacker?: boolean;
220
- /**
221
- * Выравнивание заголовка
222
- */
223
- titleAlign?: BottomSheetTitleAlign;
224
- /**
225
- * Будет ли обрезан заголовок
226
- */
227
- trimTitle?: boolean;
228
- /**
229
- * Фиксирует шапку
230
- */
231
- sticky?: boolean;
232
- /**
233
- * Идентификатор для систем автоматизированного тестирования
234
- */
235
- dataTestId?: string;
236
- /**
237
- * Обработчик нажатия на стрелку назад
238
- */
239
- onBack?: () => void;
240
- };
241
- declare const Header: FC<HeaderProps>;
242
- export { CloserProps, Closer, Typography, typographyPresets, BackerProps, Backer, TitleResponsive, HeaderProps, Header };
243
- export type { TitleProps, TextProps, Color };
@@ -1,33 +0,0 @@
1
- import { ButtonHTMLAttributes, ElementType, FC } from 'react';
2
- import { IconButtonProps } from "./index-ebda875c";
3
- type CloserProps = ButtonHTMLAttributes<HTMLButtonElement> & {
4
- /**
5
- * Дополнительный класс
6
- */
7
- className?: string;
8
- /**
9
- * Позиция крестика
10
- */
11
- align?: 'left' | 'right';
12
- /**
13
- * Размер кнопки
14
- */
15
- size?: IconButtonProps['size'];
16
- /**
17
- * Фиксирует крестик
18
- */
19
- sticky?: boolean;
20
- /**
21
- * Иконка
22
- */
23
- icon?: ElementType;
24
- /**
25
- * Идентификатор для систем автоматизированного тестирования
26
- */
27
- dataTestId?: string;
28
- };
29
- /**
30
- * @deprecated Компонент только для внутреннего использования. Используйте <Header />
31
- */
32
- declare const Closer: FC<CloserProps>;
33
- export { CloserProps, Closer };
@@ -1,4 +0,0 @@
1
- var commonStyles = {"component":"tabs__component_1q26v","fullWidthScroll":"tabs__fullWidthScroll_1q26v","container":"tabs__container_1q26v","title":"tabs__title_1q26v","disabled":"tabs__disabled_1q26v","focused":"tabs__focused_1q26v","collapsed":"tabs__collapsed_1q26v","selected":"tabs__selected_1q26v","line":"tabs__line_1q26v","s":"tabs__s_1q26v","xs":"tabs__xs_1q26v","xxs":"tabs__xxs_1q26v","pickerWrapper":"tabs__pickerWrapper_1q26v","option":"tabs__option_1q26v","m":"tabs__m_1q26v","l":"tabs__l_1q26v","xl":"tabs__xl_1q26v","rightAddons":"tabs__rightAddons_1q26v"};
2
- require('./components/primary-tablist/index.css')
3
-
4
- export { commonStyles as c };
@@ -1,4 +0,0 @@
1
- var commonStyles = {"component":"tabs__component_1e30c","fullWidthScroll":"tabs__fullWidthScroll_1e30c","container":"tabs__container_1e30c","title":"tabs__title_1e30c","xxs":"tabs__xxs_1e30c","xs":"tabs__xs_1e30c","s":"tabs__s_1e30c","m":"tabs__m_1e30c","l":"tabs__l_1e30c","xl":"tabs__xl_1e30c"};
2
- require('./components/secondary-tablist/index.css')
3
-
4
- export { commonStyles as c };
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var commonStyles = {"component":"tabs__component_1q26v","fullWidthScroll":"tabs__fullWidthScroll_1q26v","container":"tabs__container_1q26v","title":"tabs__title_1q26v","disabled":"tabs__disabled_1q26v","focused":"tabs__focused_1q26v","collapsed":"tabs__collapsed_1q26v","selected":"tabs__selected_1q26v","line":"tabs__line_1q26v","s":"tabs__s_1q26v","xs":"tabs__xs_1q26v","xxs":"tabs__xxs_1q26v","pickerWrapper":"tabs__pickerWrapper_1q26v","option":"tabs__option_1q26v","m":"tabs__m_1q26v","l":"tabs__l_1q26v","xl":"tabs__xl_1q26v","rightAddons":"tabs__rightAddons_1q26v"};
4
- require('./components/primary-tablist/index.css')
5
-
6
- exports.commonStyles = commonStyles;
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var commonStyles = {"component":"tabs__component_1e30c","fullWidthScroll":"tabs__fullWidthScroll_1e30c","container":"tabs__container_1e30c","title":"tabs__title_1e30c","xxs":"tabs__xxs_1e30c","xs":"tabs__xs_1e30c","s":"tabs__s_1e30c","m":"tabs__m_1e30c","l":"tabs__l_1e30c","xl":"tabs__xl_1e30c"};
4
- require('./components/secondary-tablist/index.css')
5
-
6
- exports.commonStyles = commonStyles;
@@ -1,49 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- type HeaderProps = {
3
- /**
4
- * Контент шапки
5
- */
6
- children?: ReactNode;
7
- /**
8
- * Слот слева
9
- */
10
- leftAddons?: ReactNode;
11
- /**
12
- * Наличие компонента крестика
13
- */
14
- hasCloser?: ReactNode;
15
- /**
16
- * Дополнительный класс
17
- */
18
- className?: string;
19
- /**
20
- * Дополнительный класс для аддонов
21
- */
22
- addonClassName?: string;
23
- /**
24
- * Дополнительный класс для контента
25
- */
26
- contentClassName?: string;
27
- /**
28
- * Заголовок шапки
29
- */
30
- title?: string;
31
- /**
32
- * Выравнивание заголовка
33
- */
34
- align?: 'left' | 'center';
35
- /**
36
- * Обрезать ли заголовок
37
- */
38
- trim?: boolean;
39
- /**
40
- * Фиксирует шапку
41
- */
42
- sticky?: boolean;
43
- /**
44
- * Идентификатор для систем автоматизированного тестирования
45
- */
46
- dataTestId?: string;
47
- };
48
- declare const Header: FC<HeaderProps>;
49
- export { HeaderProps, Header };