@alfalab/core-components-picker-button 11.6.8 → 11.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{cssm/Component-57569e57.d.ts → Component-1fe708ea.d.ts} +1 -1
- package/Component-bdb4c6b9.d.ts +2 -1
- package/Component-c44170fe.d.ts +26 -2
- package/Component.responsive.d.ts +2 -1
- package/{esm/ResponsiveContext-88b743b5.d.ts → ResponsiveContext-d6bfd5b7.d.ts} +1 -1
- package/{Component-57569e57.d.ts → cssm/Component-1fe708ea.d.ts} +1 -1
- package/cssm/Component-bdb4c6b9.d.ts +2 -1
- package/cssm/Component-c44170fe.d.ts +26 -2
- package/cssm/Component.responsive.d.ts +2 -1
- package/{modern/ResponsiveContext-88b743b5.d.ts → cssm/ResponsiveContext-d6bfd5b7.d.ts} +1 -1
- package/cssm/desktop/Component.desktop.d.ts +11 -3
- package/cssm/desktop/Component.desktop.js +2 -1
- package/cssm/field/Component.d.ts +4 -2
- package/cssm/field/Component.js +2 -2
- package/cssm/index-bdb4c6b9.d.ts +11 -4
- package/cssm/mobile/Component.mobile.js +2 -1
- package/{esm/types-667e33fd.d.ts → cssm/types-a870d1f8.d.ts} +2 -2
- package/cssm/{typings-57569e57.d.ts → typings-1fe708ea.d.ts} +17 -15
- package/{esm/typings-88b743b5.d.ts → cssm/typings-d6bfd5b7.d.ts} +4 -0
- package/cssm/utils/index.d.ts +5 -3
- package/cssm/utils/index.js +9 -2
- package/cssm/utils-89376c31.d.ts +1 -1
- package/desktop/Component.desktop.d.ts +11 -3
- package/desktop/Component.desktop.js +3 -2
- package/esm/{Component-57569e57.d.ts → Component-1fe708ea.d.ts} +1 -1
- package/esm/Component-bdb4c6b9.d.ts +2 -1
- package/esm/Component-c44170fe.d.ts +26 -2
- package/esm/Component.responsive.d.ts +2 -1
- package/{ResponsiveContext-88b743b5.d.ts → esm/ResponsiveContext-d6bfd5b7.d.ts} +1 -1
- package/esm/desktop/Component.desktop.d.ts +11 -3
- package/esm/desktop/Component.desktop.js +3 -2
- package/esm/field/Component.d.ts +4 -2
- package/esm/field/Component.js +3 -3
- package/esm/field/index.css +6 -6
- package/esm/index-bdb4c6b9.d.ts +11 -4
- package/esm/index.css +5 -5
- package/esm/mobile/Component.mobile.js +2 -1
- package/esm/option/Component.js +1 -1
- package/esm/option/index.css +4 -4
- package/{cssm/types-667e33fd.d.ts → esm/types-a870d1f8.d.ts} +2 -2
- package/esm/{typings-57569e57.d.ts → typings-1fe708ea.d.ts} +17 -15
- package/{modern/typings-88b743b5.d.ts → esm/typings-d6bfd5b7.d.ts} +4 -0
- package/esm/utils/index.d.ts +5 -3
- package/esm/utils/index.js +9 -3
- package/esm/utils-89376c31.d.ts +1 -1
- package/field/Component.d.ts +4 -2
- package/field/Component.js +3 -3
- package/field/index.css +6 -6
- package/index-bdb4c6b9.d.ts +11 -4
- package/index.css +5 -5
- package/mobile/Component.mobile.js +2 -1
- package/modern/{Component-57569e57.d.ts → Component-1fe708ea.d.ts} +1 -1
- package/modern/Component-bdb4c6b9.d.ts +2 -1
- package/modern/Component-c44170fe.d.ts +26 -2
- package/modern/Component.responsive.d.ts +2 -1
- package/{cssm/ResponsiveContext-88b743b5.d.ts → modern/ResponsiveContext-d6bfd5b7.d.ts} +1 -1
- package/modern/desktop/Component.desktop.d.ts +11 -3
- package/modern/desktop/Component.desktop.js +3 -2
- package/modern/field/Component.d.ts +4 -2
- package/modern/field/Component.js +3 -3
- package/modern/field/index.css +6 -6
- package/modern/index-bdb4c6b9.d.ts +11 -4
- package/modern/index.css +5 -5
- package/modern/mobile/Component.mobile.js +2 -1
- package/modern/option/Component.js +1 -1
- package/modern/option/index.css +4 -4
- package/modern/{types-667e33fd.d.ts → types-a870d1f8.d.ts} +2 -2
- package/modern/{typings-57569e57.d.ts → typings-1fe708ea.d.ts} +17 -15
- package/{cssm/typings-88b743b5.d.ts → modern/typings-d6bfd5b7.d.ts} +4 -0
- package/modern/utils/index.d.ts +5 -3
- package/modern/utils/index.js +9 -3
- package/modern/utils-89376c31.d.ts +1 -1
- package/option/Component.js +1 -1
- package/option/index.css +4 -4
- package/package.json +2 -2
- package/src/desktop/Component.desktop.tsx +9 -2
- package/src/field/Component.tsx +6 -2
- package/src/mobile/Component.mobile.tsx +2 -0
- package/src/utils/index.ts +12 -3
- package/{types-667e33fd.d.ts → types-a870d1f8.d.ts} +2 -2
- package/{typings-57569e57.d.ts → typings-1fe708ea.d.ts} +17 -15
- package/{typings-88b743b5.d.ts → typings-d6bfd5b7.d.ts} +4 -0
- package/utils/index.d.ts +5 -3
- package/utils/index.js +9 -2
- package/utils-89376c31.d.ts +1 -1
- package/Component-064acd29.d.ts +0 -56
- package/cssm/Component-064acd29.d.ts +0 -56
- package/esm/Component-064acd29.d.ts +0 -56
- package/modern/Component-064acd29.d.ts +0 -56
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { BackgroundColorType, GraphicColorType } from "./index-064acd29";
|
|
4
|
-
type IconColorType = Extract<GraphicColorType, 'positive' | 'attention' | 'link' | 'negative' | 'tertiary' | 'secondary' | 'primary'>;
|
|
5
|
-
type BadgeProps = {
|
|
6
|
-
/**
|
|
7
|
-
* Дополнительный класс
|
|
8
|
-
*/
|
|
9
|
-
className?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Вид компонента
|
|
12
|
-
*/
|
|
13
|
-
view: 'icon' | 'count';
|
|
14
|
-
/**
|
|
15
|
-
* Размер компонента (только для view=icon)
|
|
16
|
-
* //deprecated(используйте height для view=count )
|
|
17
|
-
*/
|
|
18
|
-
size?: 's' | 'm' | 'l' | 'xl';
|
|
19
|
-
/**
|
|
20
|
-
* Видимость белой обводки вокруг иконки
|
|
21
|
-
*/
|
|
22
|
-
visibleIconOutline?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Видимость цветной обводки вокруг иконки (только для view=icon)
|
|
25
|
-
*/
|
|
26
|
-
visibleColorOutline?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Контент компонента
|
|
29
|
-
*/
|
|
30
|
-
content?: React.ReactElement | number;
|
|
31
|
-
/**
|
|
32
|
-
* Высота компонента, min = 16; max = 48 (только для view=count)
|
|
33
|
-
*/
|
|
34
|
-
height?: number;
|
|
35
|
-
/**
|
|
36
|
-
* Цветовое оформление бейджа при view='count'
|
|
37
|
-
*/
|
|
38
|
-
color?: Extract<BackgroundColorType, 'accent' | 'primary' | 'specialbg-secondary-transparent'>;
|
|
39
|
-
/**
|
|
40
|
-
* Цветовое оформление бейджа при view='icon'
|
|
41
|
-
*/
|
|
42
|
-
iconColor?: IconColorType;
|
|
43
|
-
/**
|
|
44
|
-
* Цвет подложки под иконкой
|
|
45
|
-
*/
|
|
46
|
-
iconUnderlayColor?: Extract<GraphicColorType, 'primary' | 'static-light'>;
|
|
47
|
-
/**
|
|
48
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
49
|
-
*/
|
|
50
|
-
dataTestId?: string;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* @deprecated Используйте StatusBadge или Indicator
|
|
54
|
-
*/
|
|
55
|
-
declare const Badge: ({ className, size, view, visibleIconOutline, visibleColorOutline, content, height, iconColor, color, iconUnderlayColor, dataTestId, }: BadgeProps) => React.JSX.Element;
|
|
56
|
-
export { IconColorType, BadgeProps, Badge };
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { BackgroundColorType, GraphicColorType } from "./index-064acd29";
|
|
4
|
-
type IconColorType = Extract<GraphicColorType, 'positive' | 'attention' | 'link' | 'negative' | 'tertiary' | 'secondary' | 'primary'>;
|
|
5
|
-
type BadgeProps = {
|
|
6
|
-
/**
|
|
7
|
-
* Дополнительный класс
|
|
8
|
-
*/
|
|
9
|
-
className?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Вид компонента
|
|
12
|
-
*/
|
|
13
|
-
view: 'icon' | 'count';
|
|
14
|
-
/**
|
|
15
|
-
* Размер компонента (только для view=icon)
|
|
16
|
-
* //deprecated(используйте height для view=count )
|
|
17
|
-
*/
|
|
18
|
-
size?: 's' | 'm' | 'l' | 'xl';
|
|
19
|
-
/**
|
|
20
|
-
* Видимость белой обводки вокруг иконки
|
|
21
|
-
*/
|
|
22
|
-
visibleIconOutline?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Видимость цветной обводки вокруг иконки (только для view=icon)
|
|
25
|
-
*/
|
|
26
|
-
visibleColorOutline?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Контент компонента
|
|
29
|
-
*/
|
|
30
|
-
content?: React.ReactElement | number;
|
|
31
|
-
/**
|
|
32
|
-
* Высота компонента, min = 16; max = 48 (только для view=count)
|
|
33
|
-
*/
|
|
34
|
-
height?: number;
|
|
35
|
-
/**
|
|
36
|
-
* Цветовое оформление бейджа при view='count'
|
|
37
|
-
*/
|
|
38
|
-
color?: Extract<BackgroundColorType, 'accent' | 'primary' | 'specialbg-secondary-transparent'>;
|
|
39
|
-
/**
|
|
40
|
-
* Цветовое оформление бейджа при view='icon'
|
|
41
|
-
*/
|
|
42
|
-
iconColor?: IconColorType;
|
|
43
|
-
/**
|
|
44
|
-
* Цвет подложки под иконкой
|
|
45
|
-
*/
|
|
46
|
-
iconUnderlayColor?: Extract<GraphicColorType, 'primary' | 'static-light'>;
|
|
47
|
-
/**
|
|
48
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
49
|
-
*/
|
|
50
|
-
dataTestId?: string;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* @deprecated Используйте StatusBadge или Indicator
|
|
54
|
-
*/
|
|
55
|
-
declare const Badge: ({ className, size, view, visibleIconOutline, visibleColorOutline, content, height, iconColor, color, iconUnderlayColor, dataTestId, }: BadgeProps) => React.JSX.Element;
|
|
56
|
-
export { IconColorType, BadgeProps, Badge };
|