@salutejs/plasma-web 1.583.0-canary.1991.15252784001.0 → 1.583.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 (66) 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 +345 -344
  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 +36 -35
  9. package/components/ButtonGroup/ButtonGroup.d.ts +4 -0
  10. package/components/Carousel/Carousel.d.ts +3 -2
  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 +953 -953
  16. package/components/Combobox/Legacy/Combobox.d.ts +37 -36
  17. package/components/Counter/Counter.d.ts +1 -0
  18. package/components/DatePicker/DatePicker.d.ts +54 -53
  19. package/components/Divider/Divider.d.ts +1 -0
  20. package/components/Drawer/Drawer.d.ts +19 -18
  21. package/components/Dropdown/Dropdown.d.ts +52 -52
  22. package/components/Dropdown/components/DropdownItem.d.ts +14 -14
  23. package/components/Dropzone/Dropzone.d.ts +16 -15
  24. package/components/Editable/Editable.d.ts +1 -0
  25. package/components/EmptyState/EmptyState.d.ts +1 -0
  26. package/components/Flow/Flow.d.ts +2 -1
  27. package/components/Grid/Grid.d.ts +1 -0
  28. package/components/IconButton/IconButton.d.ts +36 -35
  29. package/components/Image/Image.d.ts +4 -3
  30. package/components/Indicator/Indicator.d.ts +1 -0
  31. package/components/Link/Link.d.ts +1 -0
  32. package/components/LinkButton/LinkButton.d.ts +9 -8
  33. package/components/Mask/Mask.d.ts +225 -224
  34. package/components/Note/Note.d.ts +12 -11
  35. package/components/NumberFormat/NumberFormat.d.ts +1 -1
  36. package/components/NumberInput/NumberInput.d.ts +39 -38
  37. package/components/Pagination/Pagination.d.ts +1 -0
  38. package/components/Popover/Popover.d.ts +1 -0
  39. package/components/Price/Price.d.ts +1 -0
  40. package/components/Progress/Progress.d.ts +1 -0
  41. package/components/Radiobox/Radiobox.d.ts +1 -1
  42. package/components/Range/Range.d.ts +106 -105
  43. package/components/Rating/Rating.d.ts +14 -13
  44. package/components/Segment/Segment.d.ts +9 -8
  45. package/components/Select/Select.d.ts +244 -244
  46. package/components/Sheet/Sheet.d.ts +1 -0
  47. package/components/Skeleton/Skeleton.d.ts +5 -4
  48. package/components/Slider/Slider.d.ts +105 -96
  49. package/components/Steps/Steps.d.ts +1 -0
  50. package/components/Switch/Switch.d.ts +1 -1
  51. package/components/Table/Table.d.ts +1 -0
  52. package/components/Tabs/TabItem.d.ts +14 -14
  53. package/components/Tabs/Tabs.d.ts +7 -5
  54. package/components/TextArea/TextArea.d.ts +206 -205
  55. package/components/TextArea/index.d.ts +4 -4
  56. package/components/TextField/TextField.d.ts +269 -261
  57. package/components/TextFieldGroup/TextFieldGroup.d.ts +13 -12
  58. package/components/Toast/Toast.d.ts +1 -0
  59. package/components/Tokens/Colors/Colors.styles.d.ts +26 -25
  60. package/components/Tokens/Typography/Typography.styles.d.ts +24 -23
  61. package/components/Toolbar/Toolbar.d.ts +6 -5
  62. package/components/Tree/Tree.d.ts +1 -0
  63. package/components/Typography/Old/index.d.ts +37 -36
  64. package/components/Typography/Typography.d.ts +205 -204
  65. package/mixins/index.d.ts +2 -1
  66. package/package.json +12 -12
@@ -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;
@@ -63,17 +64,17 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
63
64
  light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
64
65
  };
65
66
  }>, (import("react").HTMLAttributes<HTMLDivElement> & {
66
- size?: string;
67
- name?: string;
68
- url?: string;
69
- customText?: string;
70
- status?: "active" | "inactive";
71
- isScalable?: boolean;
72
- focused?: boolean;
73
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
74
- hasExtra?: boolean;
75
- type?: "badge" | "counter";
76
- extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
67
+ size?: string | undefined;
68
+ name?: string | undefined;
69
+ url?: string | undefined;
70
+ customText?: string | undefined;
71
+ status?: "active" | "inactive" | undefined;
72
+ isScalable?: boolean | undefined;
73
+ focused?: boolean | undefined;
74
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
75
+ hasExtra?: boolean | undefined;
76
+ type?: "badge" | "counter" | undefined;
77
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
77
78
  } & {
78
79
  badgeView?: string | undefined;
79
80
  pilled?: boolean | undefined;
@@ -87,17 +88,17 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
87
88
  count?: undefined;
88
89
  maxCount?: undefined;
89
90
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
90
- size?: string;
91
- name?: string;
92
- url?: string;
93
- customText?: string;
94
- status?: "active" | "inactive";
95
- isScalable?: boolean;
96
- focused?: boolean;
97
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
98
- hasExtra?: boolean;
99
- type?: "badge" | "counter";
100
- extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
91
+ size?: string | undefined;
92
+ name?: string | undefined;
93
+ url?: string | undefined;
94
+ customText?: string | undefined;
95
+ status?: "active" | "inactive" | undefined;
96
+ isScalable?: boolean | undefined;
97
+ focused?: boolean | undefined;
98
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
99
+ hasExtra?: boolean | undefined;
100
+ type?: "badge" | "counter" | undefined;
101
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
101
102
  } & {
102
103
  counterView?: string | undefined;
103
104
  count?: number | undefined;
@@ -107,7 +108,7 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
107
108
  pilled?: undefined;
108
109
  text?: undefined;
109
110
  contentLeft?: undefined;
110
- contentRight?: never | undefined;
111
+ contentRight?: undefined;
111
112
  customColor?: undefined;
112
113
  customBackgroundColor?: undefined;
113
114
  } & import("react").RefAttributes<HTMLDivElement>)>;
@@ -144,17 +145,17 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
144
145
  light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
145
146
  };
146
147
  }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
147
- size?: string;
148
- name?: string;
149
- url?: string;
150
- customText?: string;
151
- status?: "active" | "inactive";
152
- isScalable?: boolean;
153
- focused?: boolean;
154
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
155
- hasExtra?: boolean;
156
- type?: "badge" | "counter";
157
- extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
148
+ size?: string | undefined;
149
+ name?: string | undefined;
150
+ url?: string | undefined;
151
+ customText?: string | undefined;
152
+ status?: "active" | "inactive" | undefined;
153
+ isScalable?: boolean | undefined;
154
+ focused?: boolean | undefined;
155
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
156
+ hasExtra?: boolean | undefined;
157
+ type?: "badge" | "counter" | undefined;
158
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
158
159
  } & {
159
160
  badgeView?: string | undefined;
160
161
  pilled?: boolean | undefined;
@@ -168,17 +169,17 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
168
169
  count?: undefined;
169
170
  maxCount?: undefined;
170
171
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
171
- size?: string;
172
- name?: string;
173
- url?: string;
174
- customText?: string;
175
- status?: "active" | "inactive";
176
- isScalable?: boolean;
177
- focused?: boolean;
178
- statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels;
179
- hasExtra?: boolean;
180
- type?: "badge" | "counter";
181
- extraPlacement?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
172
+ size?: string | undefined;
173
+ name?: string | undefined;
174
+ url?: string | undefined;
175
+ customText?: string | undefined;
176
+ status?: "active" | "inactive" | undefined;
177
+ isScalable?: boolean | undefined;
178
+ focused?: boolean | undefined;
179
+ statusLabels?: import("@salutejs/plasma-new-hope/types/components/Avatar/Avatar.types").StatusLabels | undefined;
180
+ hasExtra?: boolean | undefined;
181
+ type?: "badge" | "counter" | undefined;
182
+ extraPlacement?: "top-right" | "top-left" | "bottom-right" | "bottom-left" | undefined;
182
183
  } & {
183
184
  counterView?: string | undefined;
184
185
  count?: number | undefined;
@@ -188,7 +189,7 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
188
189
  pilled?: undefined;
189
190
  text?: undefined;
190
191
  contentLeft?: undefined;
191
- contentRight?: never | undefined;
192
+ contentRight?: undefined;
192
193
  customColor?: undefined;
193
194
  customBackgroundColor?: undefined;
194
195
  } & import("react").RefAttributes<HTMLDivElement>))>;
@@ -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
  */
@@ -28,59 +29,59 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
28
29
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
29
30
  };
30
31
  }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
31
- text?: string;
32
- customColor?: string;
33
- customBackgroundColor?: string;
34
- maxWidth?: import("react").CSSProperties["width"];
35
- size?: string;
36
- view?: string;
32
+ text?: string | undefined;
33
+ customColor?: string | undefined;
34
+ customBackgroundColor?: string | undefined;
35
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
36
+ size?: string | undefined;
37
+ view?: string | undefined;
37
38
  } & {
38
39
  contentLeft?: import("react").ReactNode;
39
- contentRight?: never;
40
+ contentRight?: undefined;
40
41
  } & {
41
- clear?: true;
42
- pilled?: never;
43
- transparent?: never;
42
+ clear?: true | undefined;
43
+ pilled?: undefined;
44
+ transparent?: undefined;
44
45
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
45
- text?: string;
46
- customColor?: string;
47
- customBackgroundColor?: string;
48
- maxWidth?: import("react").CSSProperties["width"];
49
- size?: string;
50
- view?: string;
46
+ text?: string | undefined;
47
+ customColor?: string | undefined;
48
+ customBackgroundColor?: string | undefined;
49
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
50
+ size?: string | undefined;
51
+ view?: string | undefined;
51
52
  } & {
52
53
  contentLeft?: import("react").ReactNode;
53
- contentRight?: never;
54
+ contentRight?: undefined;
54
55
  } & {
55
- pilled?: boolean;
56
- transparent?: boolean;
57
- clear?: never;
56
+ pilled?: boolean | undefined;
57
+ transparent?: boolean | undefined;
58
+ clear?: undefined;
58
59
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
59
- text?: string;
60
- customColor?: string;
61
- customBackgroundColor?: string;
62
- maxWidth?: import("react").CSSProperties["width"];
63
- size?: string;
64
- view?: string;
60
+ text?: string | undefined;
61
+ customColor?: string | undefined;
62
+ customBackgroundColor?: string | undefined;
63
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
64
+ size?: string | undefined;
65
+ view?: string | undefined;
65
66
  } & {
66
- contentLeft?: never;
67
+ contentLeft?: undefined;
67
68
  contentRight?: import("react").ReactNode;
68
69
  } & {
69
- clear?: true;
70
- pilled?: never;
71
- transparent?: never;
70
+ clear?: true | undefined;
71
+ pilled?: undefined;
72
+ transparent?: undefined;
72
73
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
73
- text?: string;
74
- customColor?: string;
75
- customBackgroundColor?: string;
76
- maxWidth?: import("react").CSSProperties["width"];
77
- size?: string;
78
- view?: string;
74
+ text?: string | undefined;
75
+ customColor?: string | undefined;
76
+ customBackgroundColor?: string | undefined;
77
+ maxWidth?: import("csstype").Property.Width<string | number> | undefined;
78
+ size?: string | undefined;
79
+ view?: string | undefined;
79
80
  } & {
80
- contentLeft?: never;
81
+ contentLeft?: undefined;
81
82
  contentRight?: import("react").ReactNode;
82
83
  } & {
83
- pilled?: boolean;
84
- transparent?: boolean;
85
- clear?: never;
84
+ pilled?: boolean | undefined;
85
+ transparent?: boolean | undefined;
86
+ clear?: undefined;
86
87
  } & import("react").RefAttributes<HTMLDivElement>))>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Breadcrumbs
3
4
  */
@@ -12,9 +13,9 @@ export declare const Breadcrumbs: import("react").FunctionComponent<import("@sal
12
13
  xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
13
14
  };
14
15
  }> & import("react").HTMLAttributes<HTMLDivElement> & {
15
- view?: string;
16
- size?: string;
16
+ view?: string | undefined;
17
+ size?: string | undefined;
17
18
  separator?: import("react").ReactNode;
18
19
  items: import("@salutejs/plasma-new-hope/types/components/Breadcrumbs/Breadcrumbs.types").BreadcrumbsItem[];
19
- showItems?: number;
20
+ showItems?: number | undefined;
20
21
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Компонент Button.
3
4
  */
@@ -39,46 +40,46 @@ export declare const Button: import("react").FunctionComponent<import("@salutejs
39
40
  filled: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
40
41
  fixed: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
41
42
  };
42
- }> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
43
- text?: string;
43
+ }> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
44
+ text?: string | undefined;
44
45
  contentLeft?: import("react").ReactNode;
45
- contentPlacing?: "default" | "relaxed";
46
- isLoading?: boolean;
46
+ contentPlacing?: ("default" | "relaxed") | undefined;
47
+ isLoading?: boolean | undefined;
47
48
  loader?: import("react").ReactNode;
48
- stretch?: boolean;
49
- stretching?: "fixed" | "auto" | "filled";
50
- square?: boolean;
51
- focused?: boolean;
52
- disabled?: boolean;
53
- pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
54
- view?: string;
55
- size?: string;
56
- outlined?: boolean;
57
- shiftLeft?: boolean;
58
- shiftRight?: boolean;
59
- blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
49
+ stretch?: boolean | undefined;
50
+ stretching?: ("fixed" | "auto" | "filled") | undefined;
51
+ square?: boolean | undefined;
52
+ focused?: boolean | undefined;
53
+ disabled?: boolean | undefined;
54
+ pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
55
+ view?: string | undefined;
56
+ size?: string | undefined;
57
+ outlined?: boolean | undefined;
58
+ shiftLeft?: boolean | undefined;
59
+ shiftRight?: boolean | undefined;
60
+ blur?: "small" | "medium" | "large" | undefined;
60
61
  } & {
61
- value?: string | number;
62
- contentRight?: never;
63
- } & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
64
- text?: string;
62
+ value?: string | number | undefined;
63
+ contentRight?: undefined;
64
+ } & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
65
+ text?: string | undefined;
65
66
  contentLeft?: import("react").ReactNode;
66
- contentPlacing?: "default" | "relaxed";
67
- isLoading?: boolean;
67
+ contentPlacing?: ("default" | "relaxed") | undefined;
68
+ isLoading?: boolean | undefined;
68
69
  loader?: import("react").ReactNode;
69
- stretch?: boolean;
70
- stretching?: "fixed" | "auto" | "filled";
71
- square?: boolean;
72
- focused?: boolean;
73
- disabled?: boolean;
74
- pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
75
- view?: string;
76
- size?: string;
77
- outlined?: boolean;
78
- shiftLeft?: boolean;
79
- shiftRight?: boolean;
80
- blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
70
+ stretch?: boolean | undefined;
71
+ stretching?: ("fixed" | "auto" | "filled") | undefined;
72
+ square?: boolean | undefined;
73
+ focused?: boolean | undefined;
74
+ disabled?: boolean | undefined;
75
+ pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
76
+ view?: string | undefined;
77
+ size?: string | undefined;
78
+ outlined?: boolean | undefined;
79
+ shiftLeft?: boolean | undefined;
80
+ shiftRight?: boolean | undefined;
81
+ blur?: "small" | "medium" | "large" | undefined;
81
82
  } & {
82
- value?: never;
83
+ value?: undefined;
83
84
  contentRight?: import("react").ReactNode;
84
85
  } & import("react").RefAttributes<HTMLButtonElement>))>;
@@ -1,7 +1,11 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Группа кнопок.
3
4
  */
4
5
  export declare const ButtonGroup: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
6
+ /**
7
+ * Группа кнопок.
8
+ */
5
9
  view: {
6
10
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
7
11
  primary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -1,4 +1,5 @@
1
+ /// <reference types="react" />
1
2
  export declare const Carousel: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<import("@salutejs/plasma-new-hope/types/engines/types").Variants> & Omit<import("@salutejs/plasma-new-hope/types/components/Carousel/Carousel.types").BasicProps & (import("@salutejs/plasma-new-hope/types/components/Carousel/Carousel.types").DetectionProps | import("@salutejs/plasma-new-hope/types/components/Carousel/Carousel.types").NoDetectionProps), "axis" | "animatedScrollByIndex" | "throttleMs" | "debounceMs"> & {
2
- ariaLive?: "off" | "polite";
3
- isDragScrollDisabled?: boolean;
3
+ ariaLive?: "off" | "polite" | undefined;
4
+ isDragScrollDisabled?: boolean | undefined;
4
5
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Кнопка.
3
4
  */
@@ -12,33 +13,33 @@ export declare const Cell: import("react").FunctionComponent<import("@salutejs/p
12
13
  xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
13
14
  };
14
15
  }> & (({
15
- size?: string;
16
- view?: string;
16
+ size?: string | undefined;
17
+ view?: string | undefined;
17
18
  contentLeft?: import("react").ReactNode;
18
19
  contentRight?: import("react").ReactNode;
19
- alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
20
- alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
21
- stretching?: "fixed" | "filled" | "auto";
20
+ alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
21
+ alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
22
+ stretching?: "fixed" | "auto" | "filled" | undefined;
22
23
  content?: import("react").ReactNode;
23
- description?: string;
24
+ description?: string | undefined;
24
25
  } & {
25
- title?: string;
26
- subtitle?: string;
27
- label?: string;
28
- children?: never;
26
+ title?: string | undefined;
27
+ subtitle?: string | undefined;
28
+ label?: string | undefined;
29
+ children?: undefined;
29
30
  } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>) | ({
30
- size?: string;
31
- view?: string;
31
+ size?: string | undefined;
32
+ view?: string | undefined;
32
33
  contentLeft?: import("react").ReactNode;
33
34
  contentRight?: import("react").ReactNode;
34
- alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
35
- alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp;
36
- stretching?: "fixed" | "filled" | "auto";
35
+ alignContentLeft?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
36
+ alignContentRight?: import("@salutejs/plasma-new-hope/types/components/Cell/Cell.types").AlignProp | undefined;
37
+ stretching?: "fixed" | "auto" | "filled" | undefined;
37
38
  content?: import("react").ReactNode;
38
- description?: string;
39
+ description?: string | undefined;
39
40
  } & {
40
- title?: never;
41
- subtitle?: never;
42
- label?: never;
41
+ title?: undefined;
42
+ subtitle?: undefined;
43
+ label?: undefined;
43
44
  children?: import("react").ReactNode;
44
45
  } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>))>;
@@ -23,7 +23,7 @@ declare const CheckboxComponent: import("react").FunctionComponent<import("@salu
23
23
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
24
24
  };
25
25
  }> & import("@salutejs/plasma-new-hope/types/components/Checkbox/Checkbox.types").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
26
- export type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
26
+ export declare type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
27
27
  /**
28
28
  * Флажок или чекбокс. Позволяет пользователю управлять параметром с двумя состояниями — ☑ включено и ☐ отключено.
29
29
  */
@@ -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;