@salutejs/sdds-serv 0.313.0-canary.2006.15341327171.0 → 0.313.0-canary.2009.15429813487.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 (65) hide show
  1. package/components/Accordion/Accordion.d.ts +9 -10
  2. package/components/Attach/Attach.d.ts +158 -159
  3. package/components/Autocomplete/Autocomplete.d.ts +344 -345
  4. package/components/Avatar/Avatar.d.ts +46 -47
  5. package/components/AvatarGroup/AvatarGroup.d.ts +1 -2
  6. package/components/Badge/Badge.d.ts +40 -41
  7. package/components/Breadcrumbs/Breadcrumbs.d.ts +3 -4
  8. package/components/Button/Button.d.ts +71 -72
  9. package/components/ButtonGroup/ButtonGroup.d.ts +0 -4
  10. package/components/Card/Card.d.ts +5 -6
  11. package/components/Cell/Cell.d.ts +19 -20
  12. package/components/Checkbox/Checkbox.d.ts +1 -1
  13. package/components/Chip/Chip.d.ts +0 -1
  14. package/components/ChipGroup/ChipGroup.d.ts +0 -1
  15. package/components/CodeField/CodeField.d.ts +18 -19
  16. package/components/Combobox/Combobox.d.ts +951 -951
  17. package/components/Counter/Counter.d.ts +0 -1
  18. package/components/DatePicker/DatePicker.d.ts +53 -54
  19. package/components/Divider/Divider.d.ts +0 -1
  20. package/components/Drawer/Drawer.d.ts +18 -19
  21. package/components/Dropdown/Dropdown.d.ts +52 -52
  22. package/components/Dropzone/Dropzone.d.ts +15 -16
  23. package/components/EmptyState/EmptyState.d.ts +0 -1
  24. package/components/Flow/Flow.d.ts +1 -2
  25. package/components/Grid/Grid.d.ts +0 -1
  26. package/components/IconButton/IconButton.d.ts +35 -36
  27. package/components/Image/Image.d.ts +3 -4
  28. package/components/Indicator/Indicator.d.ts +0 -1
  29. package/components/Link/Link.d.ts +1 -2
  30. package/components/LinkButton/LinkButton.d.ts +8 -9
  31. package/components/List/List.d.ts +4 -5
  32. package/components/Mask/Mask.d.ts +224 -225
  33. package/components/Note/Note.d.ts +11 -12
  34. package/components/NumberFormat/NumberFormat.d.ts +1 -1
  35. package/components/NumberInput/NumberInput.d.ts +38 -39
  36. package/components/Pagination/Pagination.d.ts +0 -1
  37. package/components/Popover/Popover.d.ts +0 -1
  38. package/components/Price/Price.d.ts +0 -1
  39. package/components/Progress/Progress.d.ts +0 -1
  40. package/components/Radiobox/Radiobox.d.ts +1 -1
  41. package/components/Range/Range.d.ts +105 -106
  42. package/components/Rating/Rating.d.ts +13 -14
  43. package/components/Segment/Segment.d.ts +8 -12
  44. package/components/Select/Select.d.ts +244 -244
  45. package/components/Sheet/Sheet.d.ts +0 -1
  46. package/components/Skeleton/Skeleton.d.ts +4 -5
  47. package/components/Slider/Slider.d.ts +96 -105
  48. package/components/Spinner/Spinner.d.ts +9 -14
  49. package/components/Steps/Steps.d.ts +0 -1
  50. package/components/Switch/Switch.d.ts +1 -1
  51. package/components/Table/Table.d.ts +0 -1
  52. package/components/Tabs/TabItem.d.ts +32 -32
  53. package/components/Tabs/Tabs.d.ts +1 -1
  54. package/components/TextArea/TextArea.d.ts +205 -206
  55. package/components/TextField/TextField.d.ts +224 -225
  56. package/components/TextFieldGroup/TextFieldGroup.d.ts +12 -13
  57. package/components/Toast/Toast.d.ts +0 -1
  58. package/components/Tokens/Colors/Colors.styles.d.ts +25 -26
  59. package/components/Tokens/Typography/Typography.styles.d.ts +23 -24
  60. package/components/Toolbar/Toolbar.d.ts +5 -6
  61. package/components/Tree/Tree.d.ts +0 -1
  62. package/components/Typography/Typography.d.ts +204 -205
  63. package/components/ViewContainer/ViewContainer.d.ts +0 -1
  64. package/mixins/index.d.ts +1 -2
  65. package/package.json +7 -7
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components").ComponentConfig<string, {
3
2
  view: {
4
3
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -64,17 +63,17 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
64
63
  light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
65
64
  };
66
65
  }>, (import("react").HTMLAttributes<HTMLDivElement> & {
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;
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";
78
77
  } & {
79
78
  badgeView?: string | undefined;
80
79
  pilled?: boolean | undefined;
@@ -88,17 +87,17 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
88
87
  count?: undefined;
89
88
  maxCount?: undefined;
90
89
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
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;
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";
102
101
  } & {
103
102
  counterView?: string | undefined;
104
103
  count?: number | undefined;
@@ -110,7 +109,7 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
110
109
  customColor?: undefined;
111
110
  customBackgroundColor?: undefined;
112
111
  contentLeft?: undefined;
113
- contentRight?: undefined;
112
+ contentRight?: never | undefined;
114
113
  } & import("react").RefAttributes<HTMLDivElement>)>;
115
114
  declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
116
115
  view: {
@@ -145,17 +144,17 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
145
144
  light: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
146
145
  };
147
146
  }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
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;
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";
159
158
  } & {
160
159
  badgeView?: string | undefined;
161
160
  pilled?: boolean | undefined;
@@ -169,17 +168,17 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
169
168
  count?: undefined;
170
169
  maxCount?: undefined;
171
170
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
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;
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";
183
182
  } & {
184
183
  counterView?: string | undefined;
185
184
  count?: number | undefined;
@@ -191,6 +190,6 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
191
190
  customColor?: undefined;
192
191
  customBackgroundColor?: undefined;
193
192
  contentLeft?: undefined;
194
- contentRight?: undefined;
193
+ contentRight?: never | undefined;
195
194
  } & import("react").RefAttributes<HTMLDivElement>))>;
196
195
  export { Avatar, mergedConfig };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  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> & {
3
- children: import("react").ReactNode;
2
+ children: React.ReactNode;
4
3
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * Компонент Badge.
4
3
  */
@@ -28,59 +27,59 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
28
27
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
29
28
  };
30
29
  }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
31
- text?: string | undefined;
32
- customColor?: string | undefined;
33
- customBackgroundColor?: string | undefined;
34
- maxWidth?: import("csstype").Property.Width<string | number> | undefined;
35
- size?: string | undefined;
36
- view?: string | undefined;
30
+ text?: string;
31
+ customColor?: string;
32
+ customBackgroundColor?: string;
33
+ maxWidth?: import("react").CSSProperties["width"];
34
+ size?: string;
35
+ view?: string;
37
36
  } & {
38
37
  contentLeft?: import("react").ReactNode;
39
- contentRight?: undefined;
38
+ contentRight?: never;
40
39
  } & {
41
- clear?: true | undefined;
42
- pilled?: undefined;
43
- transparent?: undefined;
40
+ clear?: true;
41
+ pilled?: never;
42
+ transparent?: never;
44
43
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
45
- text?: string | undefined;
46
- customColor?: string | undefined;
47
- customBackgroundColor?: string | undefined;
48
- maxWidth?: import("csstype").Property.Width<string | number> | undefined;
49
- size?: string | undefined;
50
- view?: string | undefined;
44
+ text?: string;
45
+ customColor?: string;
46
+ customBackgroundColor?: string;
47
+ maxWidth?: import("react").CSSProperties["width"];
48
+ size?: string;
49
+ view?: string;
51
50
  } & {
52
51
  contentLeft?: import("react").ReactNode;
53
- contentRight?: undefined;
52
+ contentRight?: never;
54
53
  } & {
55
- pilled?: boolean | undefined;
56
- transparent?: boolean | undefined;
57
- clear?: undefined;
54
+ pilled?: boolean;
55
+ transparent?: boolean;
56
+ clear?: never;
58
57
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
59
- text?: string | undefined;
60
- customColor?: string | undefined;
61
- customBackgroundColor?: string | undefined;
62
- maxWidth?: import("csstype").Property.Width<string | number> | undefined;
63
- size?: string | undefined;
64
- view?: string | undefined;
58
+ text?: string;
59
+ customColor?: string;
60
+ customBackgroundColor?: string;
61
+ maxWidth?: import("react").CSSProperties["width"];
62
+ size?: string;
63
+ view?: string;
65
64
  } & {
66
- contentLeft?: undefined;
65
+ contentLeft?: never;
67
66
  contentRight?: import("react").ReactNode;
68
67
  } & {
69
- clear?: true | undefined;
70
- pilled?: undefined;
71
- transparent?: undefined;
68
+ clear?: true;
69
+ pilled?: never;
70
+ transparent?: never;
72
71
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
73
- text?: string | undefined;
74
- customColor?: string | undefined;
75
- customBackgroundColor?: string | undefined;
76
- maxWidth?: import("csstype").Property.Width<string | number> | undefined;
77
- size?: string | undefined;
78
- view?: string | undefined;
72
+ text?: string;
73
+ customColor?: string;
74
+ customBackgroundColor?: string;
75
+ maxWidth?: import("react").CSSProperties["width"];
76
+ size?: string;
77
+ view?: string;
79
78
  } & {
80
- contentLeft?: undefined;
79
+ contentLeft?: never;
81
80
  contentRight?: import("react").ReactNode;
82
81
  } & {
83
- pilled?: boolean | undefined;
84
- transparent?: boolean | undefined;
85
- clear?: undefined;
82
+ pilled?: boolean;
83
+ transparent?: boolean;
84
+ clear?: never;
86
85
  } & import("react").RefAttributes<HTMLDivElement>))>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * Breadcrumbs
4
3
  */
@@ -13,9 +12,9 @@ export declare const Breadcrumbs: import("react").FunctionComponent<import("@sal
13
12
  xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
13
  };
15
14
  }> & import("react").HTMLAttributes<HTMLDivElement> & {
16
- view?: string | undefined;
17
- size?: string | undefined;
15
+ view?: string;
16
+ size?: string;
18
17
  separator?: import("react").ReactNode;
19
18
  items: import("@salutejs/plasma-new-hope/types/components/Breadcrumbs/Breadcrumbs.types").BreadcrumbsItem[];
20
- showItems?: number | undefined;
19
+ showItems?: number;
21
20
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const ButtonComponent: 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;
@@ -36,50 +35,50 @@ declare const ButtonComponent: import("react").FunctionComponent<import("@salute
36
35
  filled: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
37
36
  fixed: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
38
37
  };
39
- }> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
40
- text?: string | undefined;
38
+ }> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
39
+ text?: string;
41
40
  contentLeft?: import("react").ReactNode;
42
- contentPlacing?: ("default" | "relaxed") | undefined;
43
- isLoading?: boolean | undefined;
41
+ contentPlacing?: "default" | "relaxed";
42
+ isLoading?: boolean;
44
43
  loader?: import("react").ReactNode;
45
- stretch?: boolean | undefined;
46
- stretching?: ("fixed" | "auto" | "filled") | undefined;
47
- square?: boolean | undefined;
48
- focused?: boolean | undefined;
49
- disabled?: boolean | undefined;
50
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
51
- view?: string | undefined;
52
- size?: string | undefined;
53
- outlined?: boolean | undefined;
54
- shiftLeft?: boolean | undefined;
55
- shiftRight?: boolean | undefined;
56
- blur?: "small" | "medium" | "large" | undefined;
44
+ stretch?: boolean;
45
+ stretching?: "fixed" | "auto" | "filled";
46
+ square?: boolean;
47
+ focused?: boolean;
48
+ disabled?: boolean;
49
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
50
+ view?: string;
51
+ size?: string;
52
+ outlined?: boolean;
53
+ shiftLeft?: boolean;
54
+ shiftRight?: boolean;
55
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
57
56
  } & {
58
- value?: string | number | undefined;
59
- contentRight?: undefined;
60
- } & 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> & {
61
- text?: string | undefined;
57
+ value?: string | number;
58
+ contentRight?: never;
59
+ } & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
60
+ text?: string;
62
61
  contentLeft?: import("react").ReactNode;
63
- contentPlacing?: ("default" | "relaxed") | undefined;
64
- isLoading?: boolean | undefined;
62
+ contentPlacing?: "default" | "relaxed";
63
+ isLoading?: boolean;
65
64
  loader?: import("react").ReactNode;
66
- stretch?: boolean | undefined;
67
- stretching?: ("fixed" | "auto" | "filled") | undefined;
68
- square?: boolean | undefined;
69
- focused?: boolean | undefined;
70
- disabled?: boolean | undefined;
71
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
72
- view?: string | undefined;
73
- size?: string | undefined;
74
- outlined?: boolean | undefined;
75
- shiftLeft?: boolean | undefined;
76
- shiftRight?: boolean | undefined;
77
- blur?: "small" | "medium" | "large" | undefined;
65
+ stretch?: boolean;
66
+ stretching?: "fixed" | "auto" | "filled";
67
+ square?: boolean;
68
+ focused?: boolean;
69
+ disabled?: boolean;
70
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
71
+ view?: string;
72
+ size?: string;
73
+ outlined?: boolean;
74
+ shiftLeft?: boolean;
75
+ shiftRight?: boolean;
76
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
78
77
  } & {
79
- value?: undefined;
78
+ value?: never;
80
79
  contentRight?: import("react").ReactNode;
81
80
  } & import("react").RefAttributes<HTMLButtonElement>))>;
82
- export declare type ButtonProps = typeof ButtonComponent;
81
+ export type ButtonProps = typeof ButtonComponent;
83
82
  /**
84
83
  * Кнопка.
85
84
  */
@@ -120,47 +119,47 @@ export declare const Button: import("react").FunctionComponent<import("@salutejs
120
119
  filled: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
121
120
  fixed: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
122
121
  };
123
- }> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps<any> & {
124
- text?: string | undefined;
122
+ }> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
123
+ text?: string;
125
124
  contentLeft?: import("react").ReactNode;
126
- contentPlacing?: ("default" | "relaxed") | undefined;
127
- isLoading?: boolean | undefined;
125
+ contentPlacing?: "default" | "relaxed";
126
+ isLoading?: boolean;
128
127
  loader?: import("react").ReactNode;
129
- stretch?: boolean | undefined;
130
- stretching?: ("fixed" | "auto" | "filled") | undefined;
131
- square?: boolean | undefined;
132
- focused?: boolean | undefined;
133
- disabled?: boolean | undefined;
134
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
135
- view?: string | undefined;
136
- size?: string | undefined;
137
- outlined?: boolean | undefined;
138
- shiftLeft?: boolean | undefined;
139
- shiftRight?: boolean | undefined;
140
- blur?: "small" | "medium" | "large" | undefined;
128
+ stretch?: boolean;
129
+ stretching?: "fixed" | "auto" | "filled";
130
+ square?: boolean;
131
+ focused?: boolean;
132
+ disabled?: boolean;
133
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
134
+ view?: string;
135
+ size?: string;
136
+ outlined?: boolean;
137
+ shiftLeft?: boolean;
138
+ shiftRight?: boolean;
139
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
141
140
  } & {
142
- value?: string | number | undefined;
143
- contentRight?: undefined;
144
- } & 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> & {
145
- text?: string | undefined;
141
+ value?: string | number;
142
+ contentRight?: never;
143
+ } & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
144
+ text?: string;
146
145
  contentLeft?: import("react").ReactNode;
147
- contentPlacing?: ("default" | "relaxed") | undefined;
148
- isLoading?: boolean | undefined;
146
+ contentPlacing?: "default" | "relaxed";
147
+ isLoading?: boolean;
149
148
  loader?: import("react").ReactNode;
150
- stretch?: boolean | undefined;
151
- stretching?: ("fixed" | "auto" | "filled") | undefined;
152
- square?: boolean | undefined;
153
- focused?: boolean | undefined;
154
- disabled?: boolean | undefined;
155
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
156
- view?: string | undefined;
157
- size?: string | undefined;
158
- outlined?: boolean | undefined;
159
- shiftLeft?: boolean | undefined;
160
- shiftRight?: boolean | undefined;
161
- blur?: "small" | "medium" | "large" | undefined;
149
+ stretch?: boolean;
150
+ stretching?: "fixed" | "auto" | "filled";
151
+ square?: boolean;
152
+ focused?: boolean;
153
+ disabled?: boolean;
154
+ pin?: import("@salutejs/plasma-new-hope/types/utils/roundness").Pin;
155
+ view?: string;
156
+ size?: string;
157
+ outlined?: boolean;
158
+ shiftLeft?: boolean;
159
+ shiftRight?: boolean;
160
+ blur?: import("@salutejs/plasma-new-hope/styled-components").Blur;
162
161
  } & {
163
- value?: undefined;
162
+ value?: never;
164
163
  contentRight?: import("react").ReactNode;
165
164
  } & import("react").RefAttributes<HTMLButtonElement>))>;
166
165
  export {};
@@ -1,11 +1,7 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * Группа кнопок.
4
3
  */
5
4
  export declare const ButtonGroup: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
6
- /**
7
- * Группа кнопок.
8
- */
9
5
  view: {
10
6
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
11
7
  accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CardContent, CardInnerContent } from '@salutejs/plasma-new-hope/styled-components';
3
2
  /**
4
3
  * Компонент Card.
@@ -13,10 +12,10 @@ export declare const Card: import("react").FunctionComponent<import("@salutejs/p
13
12
  s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
13
  };
15
14
  }> & {
16
- size?: string | undefined;
17
- view?: string | undefined;
18
- orientation?: "horizontal" | "vertical" | undefined;
19
- selected?: boolean | undefined;
20
- backgroundType?: "none" | "solid" | undefined;
15
+ size?: string;
16
+ view?: string;
17
+ orientation?: "horizontal" | "vertical";
18
+ selected?: boolean;
19
+ backgroundType?: "none" | "solid";
21
20
  } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
22
21
  export { CardContent, CardInnerContent };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * Кнопка.
4
3
  */
@@ -13,33 +12,33 @@ export declare const Cell: import("react").FunctionComponent<import("@salutejs/p
13
12
  xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
14
13
  };
15
14
  }> & (({
16
- size?: string | undefined;
17
- view?: string | undefined;
15
+ size?: string;
16
+ view?: string;
18
17
  contentLeft?: import("react").ReactNode;
19
18
  contentRight?: import("react").ReactNode;
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;
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";
23
22
  content?: import("react").ReactNode;
24
- description?: string | undefined;
23
+ description?: string;
25
24
  } & {
26
- title?: string | undefined;
27
- subtitle?: string | undefined;
28
- label?: string | undefined;
29
- children?: undefined;
25
+ title?: string;
26
+ subtitle?: string;
27
+ label?: string;
28
+ children?: never;
30
29
  } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>) | ({
31
- size?: string | undefined;
32
- view?: string | undefined;
30
+ size?: string;
31
+ view?: string;
33
32
  contentLeft?: import("react").ReactNode;
34
33
  contentRight?: import("react").ReactNode;
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;
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";
38
37
  content?: import("react").ReactNode;
39
- description?: string | undefined;
38
+ description?: string;
40
39
  } & {
41
- title?: undefined;
42
- subtitle?: undefined;
43
- label?: undefined;
40
+ title?: never;
41
+ subtitle?: never;
42
+ label?: never;
44
43
  children?: import("react").ReactNode;
45
44
  } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>))>;
@@ -22,7 +22,7 @@ declare const CheckboxComponent: import("react").FunctionComponent<import("@salu
22
22
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
23
23
  };
24
24
  }> & import("@salutejs/plasma-new-hope/types/components/Checkbox/Checkbox.types").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
25
- export declare type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
25
+ export type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
26
26
  /**
27
27
  * Флажок или чекбокс. Позволяет пользователю управлять параметром с двумя состояниями — ☑ включено и ☐ отключено.
28
28
  */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * Компонент chip.
4
3
  */
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const ChipGroup: 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;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const CodeField: 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;
@@ -15,22 +14,22 @@ export declare const CodeField: import("react").FunctionComponent<import("@salut
15
14
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
16
15
  };
17
16
  }> & {
18
- value?: string | undefined;
19
- placeholder?: string | undefined;
20
- autoFocus?: boolean | undefined;
21
- codeLength?: 4 | 5 | 6 | undefined;
22
- caption?: import("react").ReactNode;
23
- captionAlign?: "center" | "left" | undefined;
24
- width?: string | number | undefined;
25
- shape?: "default" | "segmented" | undefined;
26
- view?: string | undefined;
27
- size?: string | undefined;
28
- disabled?: boolean | undefined;
29
- isError?: boolean | undefined;
30
- setIsError?: import("react").Dispatch<import("react").SetStateAction<boolean>> | undefined;
31
- allowedSymbols?: string | RegExp | undefined;
32
- itemErrorBehavior?: import("@salutejs/plasma-new-hope/types/components/CodeField/CodeField.types").ItemErrorBehavior | undefined;
33
- codeErrorBehavior?: import("@salutejs/plasma-new-hope/types/components/CodeField/CodeField.types").CodeErrorBehavior | undefined;
34
- onChange?: ((value: string) => void) | undefined;
35
- onFullCodeEnter?: ((code: string) => void) | undefined;
17
+ value?: string;
18
+ placeholder?: string;
19
+ autoFocus?: boolean;
20
+ codeLength?: 4 | 5 | 6;
21
+ caption?: React.ReactNode;
22
+ captionAlign?: "left" | "center";
23
+ width?: string | number;
24
+ shape?: "default" | "segmented";
25
+ view?: string;
26
+ size?: string;
27
+ disabled?: boolean;
28
+ isError?: boolean;
29
+ setIsError?: React.Dispatch<React.SetStateAction<boolean>>;
30
+ allowedSymbols?: string | RegExp;
31
+ itemErrorBehavior?: import("@salutejs/plasma-new-hope/types/components/CodeField/CodeField.types").ItemErrorBehavior;
32
+ codeErrorBehavior?: import("@salutejs/plasma-new-hope/types/components/CodeField/CodeField.types").CodeErrorBehavior;
33
+ onChange?: (value: string) => void;
34
+ onFullCodeEnter?: (code: string) => void;
36
35
  } & Pick<import("react").InputHTMLAttributes<HTMLInputElement>, "aria-label" | "autoComplete"> & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange"> & import("react").RefAttributes<HTMLInputElement>>;