@salutejs/sdds-cs 0.317.0-canary.1991.15252784001.0 → 0.317.0-canary.1992.15255012441.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.
Files changed (61) hide show
  1. package/components/Accordion/Accordion.d.ts +10 -9
  2. package/components/Attach/Attach.d.ts +159 -158
  3. package/components/Autocomplete/Autocomplete.d.ts +353 -352
  4. package/components/Avatar/Avatar.d.ts +47 -46
  5. package/components/AvatarGroup/AvatarGroup.d.ts +2 -1
  6. package/components/Badge/Badge.d.ts +41 -40
  7. package/components/Breadcrumbs/Breadcrumbs.d.ts +4 -3
  8. package/components/Button/Button.d.ts +71 -71
  9. package/components/ButtonGroup/ButtonGroup.d.ts +1 -0
  10. package/components/Card/Card.d.ts +6 -5
  11. package/components/Cell/Cell.d.ts +20 -19
  12. package/components/Checkbox/Checkbox.d.ts +1 -1
  13. package/components/Chip/Chip.d.ts +1 -0
  14. package/components/ChipGroup/ChipGroup.d.ts +1 -0
  15. package/components/Combobox/Combobox.d.ts +951 -951
  16. package/components/Counter/Counter.d.ts +1 -0
  17. package/components/DatePicker/DatePicker.d.ts +54 -53
  18. package/components/Divider/Divider.d.ts +1 -0
  19. package/components/Drawer/Drawer.d.ts +19 -18
  20. package/components/Dropdown/Dropdown.d.ts +52 -52
  21. package/components/Dropzone/Dropzone.d.ts +16 -15
  22. package/components/EmptyState/EmptyState.d.ts +1 -0
  23. package/components/Flow/Flow.d.ts +2 -1
  24. package/components/Grid/Grid.d.ts +1 -0
  25. package/components/IconButton/IconButton.d.ts +36 -35
  26. package/components/Image/Image.d.ts +4 -3
  27. package/components/Indicator/Indicator.d.ts +1 -0
  28. package/components/Link/Link.d.ts +2 -1
  29. package/components/Mask/Mask.d.ts +225 -224
  30. package/components/NumberFormat/NumberFormat.d.ts +1 -1
  31. package/components/NumberInput/NumberInput.d.ts +39 -38
  32. package/components/Pagination/Pagination.d.ts +1 -0
  33. package/components/Popover/Popover.d.ts +1 -0
  34. package/components/Price/Price.d.ts +1 -0
  35. package/components/Progress/Progress.d.ts +1 -0
  36. package/components/Radiobox/Radiobox.d.ts +1 -1
  37. package/components/Range/Range.d.ts +106 -105
  38. package/components/Rating/Rating.d.ts +14 -13
  39. package/components/Segment/Segment.d.ts +9 -8
  40. package/components/Select/Select.d.ts +244 -244
  41. package/components/Sheet/Sheet.d.ts +1 -0
  42. package/components/Skeleton/Skeleton.d.ts +5 -4
  43. package/components/Slider/Slider.d.ts +105 -96
  44. package/components/Spinner/Spinner.d.ts +14 -9
  45. package/components/Steps/Steps.d.ts +1 -0
  46. package/components/Switch/Switch.d.ts +1 -1
  47. package/components/Table/Table.d.ts +1 -0
  48. package/components/Tabs/TabItem.d.ts +23 -23
  49. package/components/Tabs/Tabs.d.ts +1 -1
  50. package/components/TextArea/TextArea.d.ts +206 -205
  51. package/components/TextField/TextField.d.ts +225 -224
  52. package/components/Toast/Toast.d.ts +1 -0
  53. package/components/ToastNew/ToastNew.d.ts +1 -1
  54. package/components/Tokens/Colors/Colors.styles.d.ts +26 -25
  55. package/components/Tokens/Typography/Typography.styles.d.ts +24 -23
  56. package/components/Toolbar/Toolbar.d.ts +6 -5
  57. package/components/Tree/Tree.d.ts +1 -0
  58. package/components/Typography/Typography.d.ts +205 -204
  59. package/components/ViewContainer/ViewContainer.d.ts +1 -0
  60. package/mixins/index.d.ts +2 -1
  61. package/package.json +8 -8
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components").ComponentConfig<string, {
2
3
  view: {
3
4
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -37,17 +38,17 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
37
38
  negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
38
39
  };
39
40
  }>, (import("react").HTMLAttributes<HTMLDivElement> & {
40
- size?: string;
41
- name?: string;
42
- url?: string;
43
- customText?: string;
44
- status?: "active" | "inactive";
45
- isScalable?: boolean;
46
- focused?: boolean;
47
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
48
- hasExtra?: boolean;
49
- type?: "badge" | "counter";
50
- extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
41
+ size?: string | undefined;
42
+ name?: string | undefined;
43
+ url?: string | undefined;
44
+ customText?: string | undefined;
45
+ status?: "active" | "inactive" | undefined;
46
+ isScalable?: boolean | undefined;
47
+ focused?: boolean | undefined;
48
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
49
+ hasExtra?: boolean | undefined;
50
+ type?: "badge" | "counter" | undefined;
51
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
51
52
  } & {
52
53
  badgeView?: string | undefined;
53
54
  pilled?: boolean | undefined;
@@ -61,17 +62,17 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
61
62
  count?: undefined;
62
63
  maxCount?: undefined;
63
64
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
64
- size?: string;
65
- name?: string;
66
- url?: string;
67
- customText?: string;
68
- status?: "active" | "inactive";
69
- isScalable?: boolean;
70
- focused?: boolean;
71
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
72
- hasExtra?: boolean;
73
- type?: "badge" | "counter";
74
- extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
65
+ size?: string | undefined;
66
+ name?: string | undefined;
67
+ url?: string | undefined;
68
+ customText?: string | undefined;
69
+ status?: "active" | "inactive" | undefined;
70
+ isScalable?: boolean | undefined;
71
+ focused?: boolean | undefined;
72
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
73
+ hasExtra?: boolean | undefined;
74
+ type?: "badge" | "counter" | undefined;
75
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
75
76
  } & {
76
77
  counterView?: string | undefined;
77
78
  count?: number | undefined;
@@ -83,7 +84,7 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
83
84
  customColor?: undefined;
84
85
  customBackgroundColor?: undefined;
85
86
  contentLeft?: undefined;
86
- contentRight?: never | undefined;
87
+ contentRight?: undefined;
87
88
  } & import("react").RefAttributes<HTMLDivElement>)>;
88
89
  declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
89
90
  view: {
@@ -105,17 +106,17 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
105
106
  negative: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
106
107
  };
107
108
  }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
108
- size?: string;
109
- name?: string;
110
- url?: string;
111
- customText?: string;
112
- status?: "active" | "inactive";
113
- isScalable?: boolean;
114
- focused?: boolean;
115
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
116
- hasExtra?: boolean;
117
- type?: "badge" | "counter";
118
- extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
109
+ size?: string | undefined;
110
+ name?: string | undefined;
111
+ url?: string | undefined;
112
+ customText?: string | undefined;
113
+ status?: "active" | "inactive" | undefined;
114
+ isScalable?: boolean | undefined;
115
+ focused?: boolean | undefined;
116
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
117
+ hasExtra?: boolean | undefined;
118
+ type?: "badge" | "counter" | undefined;
119
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
119
120
  } & {
120
121
  badgeView?: string | undefined;
121
122
  pilled?: boolean | undefined;
@@ -129,17 +130,17 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
129
130
  count?: undefined;
130
131
  maxCount?: undefined;
131
132
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
132
- size?: string;
133
- name?: string;
134
- url?: string;
135
- customText?: string;
136
- status?: "active" | "inactive";
137
- isScalable?: boolean;
138
- focused?: boolean;
139
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
140
- hasExtra?: boolean;
141
- type?: "badge" | "counter";
142
- extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
133
+ size?: string | undefined;
134
+ name?: string | undefined;
135
+ url?: string | undefined;
136
+ customText?: string | undefined;
137
+ status?: "active" | "inactive" | undefined;
138
+ isScalable?: boolean | undefined;
139
+ focused?: boolean | undefined;
140
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
141
+ hasExtra?: boolean | undefined;
142
+ type?: "badge" | "counter" | undefined;
143
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
143
144
  } & {
144
145
  counterView?: string | undefined;
145
146
  count?: number | undefined;
@@ -151,6 +152,6 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
151
152
  customColor?: undefined;
152
153
  customBackgroundColor?: undefined;
153
154
  contentLeft?: undefined;
154
- contentRight?: never | undefined;
155
+ contentRight?: undefined;
155
156
  } & import("react").RefAttributes<HTMLDivElement>))>;
156
157
  export { Avatar, mergedConfig };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const AvatarGroup: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<import("@salutejs/plasma-new-hope/types/engines/types").Variants> & import("react").HTMLAttributes<HTMLDivElement> & {
2
- children: React.ReactNode;
3
+ children: import("react").ReactNode;
3
4
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Компонент Badge.
3
4
  */
@@ -21,59 +22,59 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
21
22
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
22
23
  };
23
24
  }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
24
- text?: string;
25
- customColor?: string;
26
- customBackgroundColor?: string;
27
- maxWidth?: import("react").CSSProperties["width"];
28
- size?: string;
29
- view?: string;
25
+ text?: string | undefined;
26
+ customColor?: string | undefined;
27
+ customBackgroundColor?: string | undefined;
28
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
29
+ size?: string | undefined;
30
+ view?: string | undefined;
30
31
  } & {
31
32
  contentLeft?: import("react").ReactNode;
32
- contentRight?: never;
33
+ contentRight?: undefined;
33
34
  } & {
34
- clear?: true;
35
- pilled?: never;
36
- transparent?: never;
35
+ clear?: true | undefined;
36
+ pilled?: undefined;
37
+ transparent?: undefined;
37
38
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
38
- text?: string;
39
- customColor?: string;
40
- customBackgroundColor?: string;
41
- maxWidth?: import("react").CSSProperties["width"];
42
- size?: string;
43
- view?: string;
39
+ text?: string | undefined;
40
+ customColor?: string | undefined;
41
+ customBackgroundColor?: string | undefined;
42
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
43
+ size?: string | undefined;
44
+ view?: string | undefined;
44
45
  } & {
45
46
  contentLeft?: import("react").ReactNode;
46
- contentRight?: never;
47
+ contentRight?: undefined;
47
48
  } & {
48
- pilled?: boolean;
49
- transparent?: boolean;
50
- clear?: never;
49
+ pilled?: boolean | undefined;
50
+ transparent?: boolean | undefined;
51
+ clear?: undefined;
51
52
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
52
- text?: string;
53
- customColor?: string;
54
- customBackgroundColor?: string;
55
- maxWidth?: import("react").CSSProperties["width"];
56
- size?: string;
57
- view?: string;
53
+ text?: string | undefined;
54
+ customColor?: string | undefined;
55
+ customBackgroundColor?: string | undefined;
56
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
57
+ size?: string | undefined;
58
+ view?: string | undefined;
58
59
  } & {
59
- contentLeft?: never;
60
+ contentLeft?: undefined;
60
61
  contentRight?: import("react").ReactNode;
61
62
  } & {
62
- clear?: true;
63
- pilled?: never;
64
- transparent?: never;
63
+ clear?: true | undefined;
64
+ pilled?: undefined;
65
+ transparent?: undefined;
65
66
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
66
- text?: string;
67
- customColor?: string;
68
- customBackgroundColor?: string;
69
- maxWidth?: import("react").CSSProperties["width"];
70
- size?: string;
71
- view?: string;
67
+ text?: string | undefined;
68
+ customColor?: string | undefined;
69
+ customBackgroundColor?: string | undefined;
70
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
71
+ size?: string | undefined;
72
+ view?: string | undefined;
72
73
  } & {
73
- contentLeft?: never;
74
+ contentLeft?: undefined;
74
75
  contentRight?: import("react").ReactNode;
75
76
  } & {
76
- pilled?: boolean;
77
- transparent?: boolean;
78
- clear?: never;
77
+ pilled?: boolean | undefined;
78
+ transparent?: boolean | undefined;
79
+ clear?: undefined;
79
80
  } & import("react").RefAttributes<HTMLDivElement>))>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Breadcrumbs
3
4
  */
@@ -9,9 +10,9 @@ export declare const Breadcrumbs: import("react").FunctionComponent<import("@sal
9
10
  s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
10
11
  };
11
12
  }> & import("react").HTMLAttributes<HTMLDivElement> & {
12
- view?: string;
13
- size?: string;
13
+ view?: string | undefined;
14
+ size?: string | undefined;
14
15
  separator?: import("react").ReactNode;
15
16
  items: import("@salutejs/plasma-new-hope/types/components/Breadcrumbs/Breadcrumbs.types").BreadcrumbsItem[];
16
- showItems?: number;
17
+ showItems?: number | undefined;
17
18
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -17,50 +17,50 @@ declare const ButtonComponent: React.FunctionComponent<import("@salutejs/plasma-
17
17
  filled: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
18
18
  fixed: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
19
19
  };
20
- }> & ((Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
21
- text?: string;
20
+ }> & ((Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
21
+ text?: string | undefined;
22
22
  contentLeft?: React.ReactNode;
23
- contentPlacing?: "default" | "relaxed";
24
- isLoading?: boolean;
23
+ contentPlacing?: ("default" | "relaxed") | undefined;
24
+ isLoading?: boolean | undefined;
25
25
  loader?: React.ReactNode;
26
- stretch?: boolean;
27
- stretching?: "fixed" | "auto" | "filled";
28
- square?: boolean;
29
- focused?: boolean;
30
- disabled?: boolean;
31
- pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
32
- view?: string;
33
- size?: string;
34
- outlined?: boolean;
35
- shiftLeft?: boolean;
36
- shiftRight?: boolean;
37
- blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
26
+ stretch?: boolean | undefined;
27
+ stretching?: ("fixed" | "auto" | "filled") | undefined;
28
+ square?: boolean | undefined;
29
+ focused?: boolean | undefined;
30
+ disabled?: boolean | undefined;
31
+ pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
32
+ view?: string | undefined;
33
+ size?: string | undefined;
34
+ outlined?: boolean | undefined;
35
+ shiftLeft?: boolean | undefined;
36
+ shiftRight?: boolean | undefined;
37
+ blur?: "small" | "medium" | "large" | undefined;
38
38
  } & {
39
- value?: string | number;
40
- contentRight?: never;
41
- } & React.RefAttributes<HTMLButtonElement>) | (Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
42
- text?: string;
39
+ value?: string | number | undefined;
40
+ contentRight?: undefined;
41
+ } & React.RefAttributes<HTMLButtonElement>) | (Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
42
+ text?: string | undefined;
43
43
  contentLeft?: React.ReactNode;
44
- contentPlacing?: "default" | "relaxed";
45
- isLoading?: boolean;
44
+ contentPlacing?: ("default" | "relaxed") | undefined;
45
+ isLoading?: boolean | undefined;
46
46
  loader?: React.ReactNode;
47
- stretch?: boolean;
48
- stretching?: "fixed" | "auto" | "filled";
49
- square?: boolean;
50
- focused?: boolean;
51
- disabled?: boolean;
52
- pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
53
- view?: string;
54
- size?: string;
55
- outlined?: boolean;
56
- shiftLeft?: boolean;
57
- shiftRight?: boolean;
58
- blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
47
+ stretch?: boolean | undefined;
48
+ stretching?: ("fixed" | "auto" | "filled") | undefined;
49
+ square?: boolean | undefined;
50
+ focused?: boolean | undefined;
51
+ disabled?: boolean | undefined;
52
+ pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
53
+ view?: string | undefined;
54
+ size?: string | undefined;
55
+ outlined?: boolean | undefined;
56
+ shiftLeft?: boolean | undefined;
57
+ shiftRight?: boolean | undefined;
58
+ blur?: "small" | "medium" | "large" | undefined;
59
59
  } & {
60
- value?: never;
60
+ value?: undefined;
61
61
  contentRight?: React.ReactNode;
62
62
  } & React.RefAttributes<HTMLButtonElement>))>;
63
- export type ButtonProps = ComponentProps<typeof ButtonComponent>;
63
+ export declare type ButtonProps = ComponentProps<typeof ButtonComponent>;
64
64
  /**
65
65
  * Кнопка.
66
66
  */
@@ -82,27 +82,27 @@ export declare const Button: React.ForwardRefExoticComponent<(Omit<import("@salu
82
82
  filled: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
83
83
  fixed: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
84
84
  };
85
- }> & Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
86
- text?: string;
85
+ }> & Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
86
+ text?: string | undefined;
87
87
  contentLeft?: React.ReactNode;
88
- contentPlacing?: "default" | "relaxed";
89
- isLoading?: boolean;
88
+ contentPlacing?: ("default" | "relaxed") | undefined;
89
+ isLoading?: boolean | undefined;
90
90
  loader?: React.ReactNode;
91
- stretch?: boolean;
92
- stretching?: "fixed" | "auto" | "filled";
93
- square?: boolean;
94
- focused?: boolean;
95
- disabled?: boolean;
96
- pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
97
- view?: string;
98
- size?: string;
99
- outlined?: boolean;
100
- shiftLeft?: boolean;
101
- shiftRight?: boolean;
102
- blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
91
+ stretch?: boolean | undefined;
92
+ stretching?: ("fixed" | "auto" | "filled") | undefined;
93
+ square?: boolean | undefined;
94
+ focused?: boolean | undefined;
95
+ disabled?: boolean | undefined;
96
+ pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
97
+ view?: string | undefined;
98
+ size?: string | undefined;
99
+ outlined?: boolean | undefined;
100
+ shiftLeft?: boolean | undefined;
101
+ shiftRight?: boolean | undefined;
102
+ blur?: "small" | "medium" | "large" | undefined;
103
103
  } & {
104
- value?: string | number;
105
- contentRight?: never;
104
+ value?: string | number | undefined;
105
+ contentRight?: undefined;
106
106
  } & React.RefAttributes<HTMLButtonElement>, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
107
107
  view: {
108
108
  accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -121,26 +121,26 @@ export declare const Button: React.ForwardRefExoticComponent<(Omit<import("@salu
121
121
  filled: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
122
122
  fixed: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
123
123
  };
124
- }> & Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
125
- text?: string;
124
+ }> & Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
125
+ text?: string | undefined;
126
126
  contentLeft?: React.ReactNode;
127
- contentPlacing?: "default" | "relaxed";
128
- isLoading?: boolean;
127
+ contentPlacing?: ("default" | "relaxed") | undefined;
128
+ isLoading?: boolean | undefined;
129
129
  loader?: React.ReactNode;
130
- stretch?: boolean;
131
- stretching?: "fixed" | "auto" | "filled";
132
- square?: boolean;
133
- focused?: boolean;
134
- disabled?: boolean;
135
- pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
136
- view?: string;
137
- size?: string;
138
- outlined?: boolean;
139
- shiftLeft?: boolean;
140
- shiftRight?: boolean;
141
- blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
130
+ stretch?: boolean | undefined;
131
+ stretching?: ("fixed" | "auto" | "filled") | undefined;
132
+ square?: boolean | undefined;
133
+ focused?: boolean | undefined;
134
+ disabled?: boolean | undefined;
135
+ pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
136
+ view?: string | undefined;
137
+ size?: string | undefined;
138
+ outlined?: boolean | undefined;
139
+ shiftLeft?: boolean | undefined;
140
+ shiftRight?: boolean | undefined;
141
+ blur?: "small" | "medium" | "large" | undefined;
142
142
  } & {
143
- value?: never;
143
+ value?: undefined;
144
144
  contentRight?: React.ReactNode;
145
145
  } & React.RefAttributes<HTMLButtonElement>, "ref">) & React.RefAttributes<Omit<HTMLButtonElement, "value">>>;
146
146
  export {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Группа кнопок.
3
4
  */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CardContent, CardInnerContent } from '@salutejs/plasma-new-hope/styled-components';
2
3
  /**
3
4
  * Компонент Card.
@@ -12,10 +13,10 @@ export declare const Card: import("react").FunctionComponent<import("@salutejs/p
12
13
  s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
13
14
  };
14
15
  }> & {
15
- size?: string;
16
- view?: string;
17
- orientation?: "horizontal" | "vertical";
18
- selected?: boolean;
19
- backgroundType?: "none" | "solid";
16
+ size?: string | undefined;
17
+ view?: string | undefined;
18
+ orientation?: "horizontal" | "vertical" | undefined;
19
+ selected?: boolean | undefined;
20
+ backgroundType?: "none" | "solid" | undefined;
20
21
  } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
21
22
  export { CardContent, CardInnerContent };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Кнопка.
3
4
  */
@@ -10,33 +11,33 @@ export declare const Cell: import("react").FunctionComponent<import("@salutejs/p
10
11
  xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
11
12
  };
12
13
  }> & (({
13
- size?: string;
14
- view?: string;
14
+ size?: string | undefined;
15
+ view?: string | undefined;
15
16
  contentLeft?: import("react").ReactNode;
16
17
  contentRight?: import("react").ReactNode;
17
- alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
18
- alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
19
- stretching?: "fixed" | "filled" | "auto";
18
+ alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
19
+ alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
20
+ stretching?: "fixed" | "auto" | "filled" | undefined;
20
21
  content?: import("react").ReactNode;
21
- description?: string;
22
+ description?: string | undefined;
22
23
  } & {
23
- title?: string;
24
- subtitle?: string;
25
- label?: string;
26
- children?: never;
24
+ title?: string | undefined;
25
+ subtitle?: string | undefined;
26
+ label?: string | undefined;
27
+ children?: undefined;
27
28
  } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>) | ({
28
- size?: string;
29
- view?: string;
29
+ size?: string | undefined;
30
+ view?: string | undefined;
30
31
  contentLeft?: import("react").ReactNode;
31
32
  contentRight?: import("react").ReactNode;
32
- alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
33
- alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
34
- stretching?: "fixed" | "filled" | "auto";
33
+ alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
34
+ alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
35
+ stretching?: "fixed" | "auto" | "filled" | undefined;
35
36
  content?: import("react").ReactNode;
36
- description?: string;
37
+ description?: string | undefined;
37
38
  } & {
38
- title?: never;
39
- subtitle?: never;
40
- label?: never;
39
+ title?: undefined;
40
+ subtitle?: undefined;
41
+ label?: undefined;
41
42
  children?: import("react").ReactNode;
42
43
  } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>))>;
@@ -13,7 +13,7 @@ declare const CheckboxComponent: import("react").FunctionComponent<import("@salu
13
13
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
14
  };
15
15
  }> & import("@salutejs/plasma-new-hope/types/components/Checkbox/Checkbox.types").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
16
- export type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
16
+ export declare type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
17
17
  /**
18
18
  * Флажок или чекбокс. Позволяет пользователю управлять параметром с двумя состояниями — ☑ включено и ☐ отключено.
19
19
  */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Компонент chip.
3
4
  */
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const ChipGroup: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
2
3
  view: {
3
4
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;