@salutejs/plasma-web 1.583.0-canary.1972.15208810578.0 → 1.583.0-canary.1991.15252784001.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/components/Accordion/Accordion.d.ts +9 -10
- package/components/Attach/Attach.d.ts +158 -159
- package/components/Autocomplete/Autocomplete.d.ts +344 -345
- package/components/Avatar/Avatar.d.ts +46 -47
- package/components/AvatarGroup/AvatarGroup.d.ts +1 -2
- package/components/Badge/Badge.d.ts +40 -41
- package/components/Breadcrumbs/Breadcrumbs.d.ts +3 -4
- package/components/Button/Button.d.ts +35 -36
- package/components/ButtonGroup/ButtonGroup.d.ts +0 -4
- package/components/Calendar/CalendarBase.config.js +4 -4
- package/components/Calendar/CalendarDouble.config.js +4 -4
- package/components/Carousel/Carousel.d.ts +2 -3
- package/components/Cell/Cell.d.ts +19 -20
- package/components/Checkbox/Checkbox.d.ts +1 -1
- package/components/Chip/Chip.d.ts +0 -1
- package/components/ChipGroup/ChipGroup.d.ts +0 -1
- package/components/Combobox/Combobox.d.ts +953 -953
- package/components/Combobox/Legacy/Combobox.d.ts +36 -37
- package/components/Counter/Counter.d.ts +0 -1
- package/components/DatePicker/DatePicker.config.js +4 -4
- package/components/DatePicker/DatePicker.d.ts +53 -54
- package/components/Divider/Divider.d.ts +0 -1
- package/components/Drawer/Drawer.d.ts +18 -19
- package/components/Dropdown/Dropdown.d.ts +52 -52
- package/components/Dropdown/components/DropdownItem.d.ts +14 -14
- package/components/Dropzone/Dropzone.d.ts +15 -16
- package/components/Editable/Editable.d.ts +0 -1
- package/components/EmptyState/EmptyState.d.ts +0 -1
- package/components/Flow/Flow.d.ts +1 -2
- package/components/Grid/Grid.d.ts +0 -1
- package/components/IconButton/IconButton.d.ts +35 -36
- package/components/Image/Image.d.ts +3 -4
- package/components/Indicator/Indicator.d.ts +0 -1
- package/components/Link/Link.d.ts +0 -1
- package/components/LinkButton/LinkButton.d.ts +8 -9
- package/components/Mask/Mask.d.ts +224 -225
- package/components/Note/Note.config.js +4 -4
- package/components/Note/Note.d.ts +11 -10
- package/components/NumberFormat/NumberFormat.d.ts +1 -1
- package/components/NumberInput/NumberInput.d.ts +38 -39
- package/components/Pagination/Pagination.d.ts +0 -1
- package/components/PaginationDots/index.d.ts +3 -3
- package/components/PaginationDots/index.js +4 -4
- package/components/Popover/Popover.d.ts +0 -1
- package/components/Price/Price.d.ts +0 -1
- package/components/Progress/Progress.d.ts +0 -1
- package/components/Radiobox/Radiobox.d.ts +1 -1
- package/components/Range/Range.d.ts +105 -106
- package/components/Rating/Rating.d.ts +13 -14
- package/components/Segment/Segment.d.ts +8 -9
- package/components/Select/Select.d.ts +244 -244
- package/components/Sheet/Sheet.d.ts +0 -1
- package/components/Skeleton/Skeleton.d.ts +4 -5
- package/components/Slider/Slider.d.ts +96 -105
- package/components/Steps/Steps.d.ts +0 -1
- package/components/Switch/Switch.d.ts +1 -1
- package/components/Table/Table.d.ts +0 -1
- package/components/Tabs/TabItem.d.ts +14 -14
- package/components/Tabs/Tabs.d.ts +5 -7
- package/components/TextArea/TextArea.d.ts +205 -206
- package/components/TextArea/index.d.ts +4 -4
- package/components/TextField/TextField.d.ts +261 -269
- package/components/TextFieldGroup/TextFieldGroup.d.ts +12 -13
- package/components/Toast/Toast.d.ts +0 -1
- package/components/Tokens/Colors/Colors.styles.d.ts +25 -26
- package/components/Tokens/Typography/Typography.styles.d.ts +23 -24
- package/components/Toolbar/Toolbar.d.ts +5 -6
- package/components/Tree/Tree.d.ts +0 -1
- package/components/Typography/Old/index.d.ts +36 -37
- package/components/Typography/Typography.d.ts +204 -205
- package/css/cjs/components/Calendar/Calendar.css +10 -10
- package/css/cjs/components/Calendar/CalendarBase.config.js +1 -1
- package/css/cjs/components/Calendar/CalendarBase.config.js.map +1 -1
- package/css/cjs/components/Calendar/CalendarBase.config_1ii1j5y.css +5 -0
- package/css/cjs/components/Calendar/CalendarDouble.config.js +1 -1
- package/css/cjs/components/Calendar/CalendarDouble.config.js.map +1 -1
- package/css/cjs/components/Calendar/CalendarDouble.config_9xw0vs.css +5 -0
- package/css/cjs/components/DatePicker/DatePicker.config.js +1 -1
- package/css/cjs/components/DatePicker/DatePicker.config.js.map +1 -1
- package/css/{es/components/DatePicker/DatePicker.config_fn88mm.css → cjs/components/DatePicker/DatePicker.config_1q6rwyz.css} +4 -4
- package/css/cjs/components/DatePicker/DatePicker.css +7 -7
- package/css/cjs/components/Note/Note.config.js +1 -1
- package/css/cjs/components/Note/Note.config.js.map +1 -1
- package/css/cjs/components/Note/Note.config_2754qm.css +9 -0
- package/css/cjs/components/Note/Note.css +9 -9
- package/css/cjs/index.css +27 -27
- package/css/cjs/index.js +12 -0
- package/css/cjs/index.js.map +1 -1
- package/css/es/components/Calendar/Calendar.css +10 -10
- package/css/es/components/Calendar/CalendarBase.config.js +1 -1
- package/css/es/components/Calendar/CalendarBase.config.js.map +1 -1
- package/css/es/components/Calendar/CalendarBase.config_1ii1j5y.css +5 -0
- package/css/es/components/Calendar/CalendarDouble.config.js +1 -1
- package/css/es/components/Calendar/CalendarDouble.config.js.map +1 -1
- package/css/es/components/Calendar/CalendarDouble.config_9xw0vs.css +5 -0
- package/css/es/components/DatePicker/DatePicker.config.js +1 -1
- package/css/es/components/DatePicker/DatePicker.config.js.map +1 -1
- package/css/{cjs/components/DatePicker/DatePicker.config_fn88mm.css → es/components/DatePicker/DatePicker.config_1q6rwyz.css} +4 -4
- package/css/es/components/DatePicker/DatePicker.css +7 -7
- package/css/es/components/Note/Note.config.js +1 -1
- package/css/es/components/Note/Note.config.js.map +1 -1
- package/css/es/components/Note/Note.config_2754qm.css +9 -0
- package/css/es/components/Note/Note.css +9 -9
- package/css/es/index.css +27 -27
- package/css/es/index.js +1 -1
- package/css/index.d.ts +2 -0
- package/es/components/Calendar/CalendarBase.config.js +4 -4
- package/es/components/Calendar/CalendarDouble.config.js +4 -4
- package/es/components/DatePicker/DatePicker.config.js +4 -4
- package/es/components/Note/Note.config.js +4 -4
- package/es/components/PaginationDots/index.js +3 -3
- package/mixins/index.d.ts +1 -2
- package/package.json +11 -11
- package/css/cjs/components/Calendar/CalendarBase.config_1mwrz0n.css +0 -5
- package/css/cjs/components/Calendar/CalendarDouble.config_ysgolw.css +0 -5
- package/css/cjs/components/Note/Note.config_1psv03r.css +0 -9
- package/css/es/components/Calendar/CalendarBase.config_1mwrz0n.css +0 -5
- package/css/es/components/Calendar/CalendarDouble.config_ysgolw.css +0 -5
- package/css/es/components/Note/Note.config_1psv03r.css +0 -9
@@ -12,36 +12,36 @@ declare const DropdownNewHope: React.FunctionComponent<import("@salutejs/plasma-
|
|
12
12
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
13
13
|
};
|
14
14
|
}> & {
|
15
|
-
items: DropdownItemOption[];
|
16
|
-
alwaysOpened?: boolean
|
15
|
+
items: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption[];
|
16
|
+
alwaysOpened?: boolean;
|
17
17
|
children?: React.ReactNode;
|
18
|
-
itemRole?: string
|
19
|
-
onHover?: (
|
20
|
-
onItemSelect?: ((item: DropdownItemOption, event: React.SyntheticEvent
|
21
|
-
trigger?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownTrigger
|
22
|
-
openByRightClick?: boolean
|
23
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownPlacement
|
24
|
-
offset?: [number, number]
|
25
|
-
listOverflow?:
|
26
|
-
listMaxHeight?:
|
27
|
-
listWidth?:
|
28
|
-
hasArrow?: boolean
|
29
|
-
closeOnSelect?: boolean
|
30
|
-
closeOnOverlayClick?: boolean
|
31
|
-
onToggle?: (
|
32
|
-
size?: string
|
33
|
-
view?: string
|
34
|
-
variant?: "normal" | "tight"
|
35
|
-
portal?: string | React.RefObject<HTMLElement
|
36
|
-
renderItem?: ((item: DropdownItemOption) => React.ReactNode) | undefined;
|
37
|
-
zIndex?:
|
18
|
+
itemRole?: string;
|
19
|
+
onHover?: (index: number) => void;
|
20
|
+
onItemSelect?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
|
21
|
+
trigger?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownTrigger;
|
22
|
+
openByRightClick?: boolean;
|
23
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownPlacement;
|
24
|
+
offset?: [number, number];
|
25
|
+
listOverflow?: React.CSSProperties["overflow"];
|
26
|
+
listMaxHeight?: React.CSSProperties["height"];
|
27
|
+
listWidth?: React.CSSProperties["width"];
|
28
|
+
hasArrow?: boolean;
|
29
|
+
closeOnSelect?: boolean;
|
30
|
+
closeOnOverlayClick?: boolean;
|
31
|
+
onToggle?: (isOpen: boolean, event: React.SyntheticEvent | Event) => void;
|
32
|
+
size?: string;
|
33
|
+
view?: string;
|
34
|
+
variant?: "normal" | "tight";
|
35
|
+
portal?: string | React.RefObject<HTMLElement>;
|
36
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption) => React.ReactNode) | undefined;
|
37
|
+
zIndex?: React.CSSProperties["zIndex"];
|
38
38
|
beforeList?: React.ReactNode;
|
39
39
|
afterList?: React.ReactNode;
|
40
|
-
onItemClick?: ((item: DropdownItemOption, event: React.SyntheticEvent
|
41
|
-
listHeight?:
|
42
|
-
hoverIndex?: number
|
40
|
+
onItemClick?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
|
41
|
+
listHeight?: React.CSSProperties["height"];
|
42
|
+
hoverIndex?: number;
|
43
43
|
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
44
|
-
export
|
44
|
+
export type DropdownProps<T extends DropdownItemOption> = Omit<DropdownNewProps<T>, 'size' | 'view'> & Pick<ComponentProps<typeof DropdownNewHope>, 'size' | 'view'>;
|
45
45
|
declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewProps<T>, "view" | "size"> & Pick<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
46
46
|
size: {
|
47
47
|
xl: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -54,33 +54,33 @@ declare const Dropdown: <T extends DropdownItemOption>(props: Omit<DropdownNewPr
|
|
54
54
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
55
55
|
};
|
56
56
|
}> & {
|
57
|
-
items: DropdownItemOption[];
|
58
|
-
alwaysOpened?: boolean
|
57
|
+
items: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption[];
|
58
|
+
alwaysOpened?: boolean;
|
59
59
|
children?: React.ReactNode;
|
60
|
-
itemRole?: string
|
61
|
-
onHover?: (
|
62
|
-
onItemSelect?: ((item: DropdownItemOption, event: React.SyntheticEvent
|
63
|
-
trigger?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownTrigger
|
64
|
-
openByRightClick?: boolean
|
65
|
-
placement?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownPlacement
|
66
|
-
offset?: [number, number]
|
67
|
-
listOverflow?:
|
68
|
-
listMaxHeight?:
|
69
|
-
listWidth?:
|
70
|
-
hasArrow?: boolean
|
71
|
-
closeOnSelect?: boolean
|
72
|
-
closeOnOverlayClick?: boolean
|
73
|
-
onToggle?: (
|
74
|
-
size?: string
|
75
|
-
view?: string
|
76
|
-
variant?: "normal" | "tight"
|
77
|
-
portal?: string | React.RefObject<HTMLElement
|
78
|
-
renderItem?: ((item: DropdownItemOption) => React.ReactNode) | undefined;
|
79
|
-
zIndex?:
|
60
|
+
itemRole?: string;
|
61
|
+
onHover?: (index: number) => void;
|
62
|
+
onItemSelect?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
|
63
|
+
trigger?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownTrigger;
|
64
|
+
openByRightClick?: boolean;
|
65
|
+
placement?: import("@salutejs/plasma-new-hope/types/components/Dropdown/Dropdown.types").DropdownPlacement;
|
66
|
+
offset?: [number, number];
|
67
|
+
listOverflow?: React.CSSProperties["overflow"];
|
68
|
+
listMaxHeight?: React.CSSProperties["height"];
|
69
|
+
listWidth?: React.CSSProperties["width"];
|
70
|
+
hasArrow?: boolean;
|
71
|
+
closeOnSelect?: boolean;
|
72
|
+
closeOnOverlayClick?: boolean;
|
73
|
+
onToggle?: (isOpen: boolean, event: React.SyntheticEvent | Event) => void;
|
74
|
+
size?: string;
|
75
|
+
view?: string;
|
76
|
+
variant?: "normal" | "tight";
|
77
|
+
portal?: string | React.RefObject<HTMLElement>;
|
78
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption) => React.ReactNode) | undefined;
|
79
|
+
zIndex?: React.CSSProperties["zIndex"];
|
80
80
|
beforeList?: React.ReactNode;
|
81
81
|
afterList?: React.ReactNode;
|
82
|
-
onItemClick?: ((item: DropdownItemOption, event: React.SyntheticEvent
|
83
|
-
listHeight?:
|
84
|
-
hoverIndex?: number
|
85
|
-
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "view" | "size"> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement
|
82
|
+
onItemClick?: ((item: import("@salutejs/plasma-new-hope/types/components/Dropdown").DropdownItemOption, event: React.SyntheticEvent) => void) | undefined;
|
83
|
+
listHeight?: React.CSSProperties["height"];
|
84
|
+
hoverIndex?: number;
|
85
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "view" | "size"> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement | null;
|
86
86
|
export { Dropdown };
|
@@ -1,20 +1,20 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { DropdownItemProps } from '@salutejs/plasma-hope';
|
3
3
|
export declare const DropdownNewHopeItem: React.FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<import("@salutejs/plasma-new-hope/types/engines/types").Variants> & Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect"> & {
|
4
|
-
id?: string
|
5
|
-
disabled?: boolean
|
4
|
+
id?: string;
|
5
|
+
disabled?: boolean;
|
6
6
|
label?: React.ReactNode;
|
7
|
-
role?: string
|
8
|
-
contentLeft?:
|
9
|
-
contentRight?:
|
10
|
-
name?: string
|
11
|
-
checked?: boolean
|
12
|
-
text?: string
|
13
|
-
value?: string | number | boolean
|
14
|
-
isSelected?: boolean
|
15
|
-
onClick?: (
|
16
|
-
onSelect?: (
|
17
|
-
size?: string
|
18
|
-
view?: string
|
7
|
+
role?: string;
|
8
|
+
contentLeft?: React.ElementType | React.ReactNode;
|
9
|
+
contentRight?: React.ElementType | React.ReactNode;
|
10
|
+
name?: string;
|
11
|
+
checked?: boolean;
|
12
|
+
text?: string;
|
13
|
+
value?: string | number | boolean;
|
14
|
+
isSelected?: boolean;
|
15
|
+
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
16
|
+
onSelect?: (value?: any, text?: any) => void;
|
17
|
+
size?: string;
|
18
|
+
view?: string;
|
19
19
|
} & React.RefAttributes<HTMLDivElement>>;
|
20
20
|
export declare const DropdownItem: React.ForwardRefExoticComponent<DropdownItemProps & React.RefAttributes<HTMLDivElement>>;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
export declare const Dropzone: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
3
2
|
view: {
|
4
3
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -10,19 +9,19 @@ export declare const Dropzone: import("react").FunctionComponent<import("@salute
|
|
10
9
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
10
|
};
|
12
11
|
}> & {
|
13
|
-
multiple?: boolean
|
14
|
-
title?:
|
15
|
-
description?:
|
16
|
-
icon?:
|
17
|
-
iconPlacement?: "
|
18
|
-
size?: string
|
19
|
-
view?: string
|
20
|
-
disabled?: boolean
|
21
|
-
stretch?: boolean
|
22
|
-
onDragEnter?: (
|
23
|
-
onDragLeave?: (
|
24
|
-
onDragOver?: (
|
25
|
-
validator?: (
|
26
|
-
onDrop?: import("@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types").FileProcessHandler
|
27
|
-
onChoseFiles?: import("@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types").FileProcessHandler
|
12
|
+
multiple?: boolean;
|
13
|
+
title?: React.ReactNode;
|
14
|
+
description?: React.ReactNode;
|
15
|
+
icon?: React.ReactNode;
|
16
|
+
iconPlacement?: "top" | "left";
|
17
|
+
size?: string;
|
18
|
+
view?: string;
|
19
|
+
disabled?: boolean;
|
20
|
+
stretch?: boolean;
|
21
|
+
onDragEnter?: (event: import("react").DragEvent<HTMLDivElement>) => void;
|
22
|
+
onDragLeave?: (event: import("react").DragEvent<HTMLDivElement>) => void;
|
23
|
+
onDragOver?: (event: import("react").DragEvent<HTMLDivElement>) => void;
|
24
|
+
validator?: (files: File[]) => import("@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types").ValidatorReturnType;
|
25
|
+
onDrop?: import("@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types").FileProcessHandler;
|
26
|
+
onChoseFiles?: import("@salutejs/plasma-new-hope/types/components/Dropzone/Dropzone.types").FileProcessHandler;
|
28
27
|
} & import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>>;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
import * as typographyComponents from '../Typography';
|
3
2
|
export declare const typographyVariants: typeof typographyComponents;
|
4
3
|
export declare const Editable: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
export declare const Flow: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<import("@salutejs/plasma-new-hope/types/engines/types").Variants> & import("@salutejs/plasma-new-hope/styled-components").FlowProps & {
|
3
|
-
minColWidth?: string
|
2
|
+
minColWidth?: string;
|
4
3
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
/**
|
3
2
|
* Кнопка с иконкой.
|
4
3
|
*/
|
@@ -33,46 +32,46 @@ export declare const IconButton: import("react").FunctionComponent<import("@salu
|
|
33
32
|
focused: {
|
34
33
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
35
34
|
};
|
36
|
-
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps
|
37
|
-
text?: string
|
35
|
+
}> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
36
|
+
text?: string;
|
38
37
|
contentLeft?: import("react").ReactNode;
|
39
|
-
contentPlacing?:
|
40
|
-
isLoading?: boolean
|
38
|
+
contentPlacing?: "default" | "relaxed";
|
39
|
+
isLoading?: boolean;
|
41
40
|
loader?: import("react").ReactNode;
|
42
|
-
stretch?: boolean
|
43
|
-
stretching?:
|
44
|
-
square?: boolean
|
45
|
-
focused?: boolean
|
46
|
-
disabled?: boolean
|
47
|
-
pin?: "
|
48
|
-
view?: string
|
49
|
-
size?: string
|
50
|
-
outlined?: boolean
|
51
|
-
shiftLeft?: boolean
|
52
|
-
shiftRight?: boolean
|
53
|
-
blur?: "
|
41
|
+
stretch?: boolean;
|
42
|
+
stretching?: "fixed" | "auto" | "filled";
|
43
|
+
square?: boolean;
|
44
|
+
focused?: boolean;
|
45
|
+
disabled?: boolean;
|
46
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
47
|
+
view?: string;
|
48
|
+
size?: string;
|
49
|
+
outlined?: boolean;
|
50
|
+
shiftLeft?: boolean;
|
51
|
+
shiftRight?: boolean;
|
52
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
54
53
|
} & {
|
55
|
-
value?: string | number
|
56
|
-
contentRight?:
|
57
|
-
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps
|
58
|
-
text?: string
|
54
|
+
value?: string | number;
|
55
|
+
contentRight?: never;
|
56
|
+
} & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
|
57
|
+
text?: string;
|
59
58
|
contentLeft?: import("react").ReactNode;
|
60
|
-
contentPlacing?:
|
61
|
-
isLoading?: boolean
|
59
|
+
contentPlacing?: "default" | "relaxed";
|
60
|
+
isLoading?: boolean;
|
62
61
|
loader?: import("react").ReactNode;
|
63
|
-
stretch?: boolean
|
64
|
-
stretching?:
|
65
|
-
square?: boolean
|
66
|
-
focused?: boolean
|
67
|
-
disabled?: boolean
|
68
|
-
pin?: "
|
69
|
-
view?: string
|
70
|
-
size?: string
|
71
|
-
outlined?: boolean
|
72
|
-
shiftLeft?: boolean
|
73
|
-
shiftRight?: boolean
|
74
|
-
blur?: "
|
62
|
+
stretch?: boolean;
|
63
|
+
stretching?: "fixed" | "auto" | "filled";
|
64
|
+
square?: boolean;
|
65
|
+
focused?: boolean;
|
66
|
+
disabled?: boolean;
|
67
|
+
pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
|
68
|
+
view?: string;
|
69
|
+
size?: string;
|
70
|
+
outlined?: boolean;
|
71
|
+
shiftLeft?: boolean;
|
72
|
+
shiftRight?: boolean;
|
73
|
+
blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
|
75
74
|
} & {
|
76
|
-
value?:
|
75
|
+
value?: never;
|
77
76
|
contentRight?: import("react").ReactNode;
|
78
77
|
} & import("react").RefAttributes<HTMLButtonElement>))>;
|
@@ -1,9 +1,8 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
/**
|
3
2
|
* Компонент Image.
|
4
3
|
*/
|
5
4
|
export declare const Image: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<import("@salutejs/plasma-new-hope/types/engines/types").Variants> & import("react").ImgHTMLAttributes<HTMLImageElement> & {
|
6
|
-
base?: "div" | "img"
|
7
|
-
ratio?: "
|
8
|
-
customRatio?: string
|
5
|
+
base?: "div" | "img";
|
6
|
+
ratio?: import("@salutejs/plasma-new-hope/styled-components").Ratio;
|
7
|
+
customRatio?: string;
|
9
8
|
} & import("react").RefAttributes<HTMLDivElement>>;
|
@@ -1,4 +1,3 @@
|
|
1
|
-
/// <reference types="react" />
|
2
1
|
export declare const LinkButton: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
3
2
|
view: {
|
4
3
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -20,12 +19,12 @@ export declare const LinkButton: import("react").FunctionComponent<import("@salu
|
|
20
19
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
21
20
|
};
|
22
21
|
}> & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & {
|
23
|
-
text?: string
|
24
|
-
contentRight?:
|
25
|
-
contentLeft?:
|
26
|
-
isLoading?: boolean
|
27
|
-
loader?:
|
28
|
-
disabled?: boolean
|
29
|
-
view?: string
|
30
|
-
size?: string
|
22
|
+
text?: string;
|
23
|
+
contentRight?: React.ReactNode;
|
24
|
+
contentLeft?: React.ReactNode;
|
25
|
+
isLoading?: boolean;
|
26
|
+
loader?: React.ReactNode;
|
27
|
+
disabled?: boolean;
|
28
|
+
view?: string;
|
29
|
+
size?: string;
|
31
30
|
} & import("react").RefAttributes<HTMLAnchorElement>>;
|