@salutejs/plasma-web 1.584.0-canary.2002.15300192913.0 → 1.584.0-canary.2006.15549711826.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 (113) hide show
  1. package/CHANGELOG.md +134 -3101
  2. package/components/Accordion/Accordion.d.ts +9 -10
  3. package/components/Attach/Attach.d.ts +158 -159
  4. package/components/Autocomplete/Autocomplete.d.ts +344 -345
  5. package/components/Avatar/Avatar.d.ts +46 -47
  6. package/components/AvatarGroup/AvatarGroup.d.ts +1 -2
  7. package/components/Badge/Badge.d.ts +40 -41
  8. package/components/Breadcrumbs/Breadcrumbs.d.ts +3 -4
  9. package/components/Button/Button.d.ts +35 -36
  10. package/components/ButtonGroup/ButtonGroup.d.ts +0 -4
  11. package/components/Carousel/Carousel.d.ts +2 -3
  12. package/components/Cell/Cell.d.ts +19 -20
  13. package/components/Checkbox/Checkbox.d.ts +1 -1
  14. package/components/Chip/Chip.d.ts +0 -1
  15. package/components/ChipGroup/ChipGroup.d.ts +0 -1
  16. package/components/CodeField/CodeField.d.ts +18 -19
  17. package/components/Combobox/Combobox.config.js +8 -8
  18. package/components/Combobox/Combobox.d.ts +977 -953
  19. package/components/Combobox/Legacy/Combobox.d.ts +36 -37
  20. package/components/Counter/Counter.d.ts +0 -1
  21. package/components/DatePicker/DatePicker.d.ts +52 -54
  22. package/components/Divider/Divider.d.ts +0 -1
  23. package/components/Drawer/Drawer.d.ts +18 -19
  24. package/components/Dropdown/Dropdown.d.ts +52 -52
  25. package/components/Dropdown/components/DropdownItem.d.ts +14 -14
  26. package/components/Dropzone/Dropzone.d.ts +15 -16
  27. package/components/Editable/Editable.d.ts +0 -1
  28. package/components/EmptyState/EmptyState.d.ts +0 -1
  29. package/components/Flow/Flow.d.ts +1 -2
  30. package/components/Grid/Grid.d.ts +0 -1
  31. package/components/IconButton/IconButton.d.ts +35 -36
  32. package/components/Image/Image.d.ts +3 -4
  33. package/components/Indicator/Indicator.d.ts +0 -1
  34. package/components/Link/Link.d.ts +0 -1
  35. package/components/LinkButton/LinkButton.d.ts +8 -9
  36. package/components/List/List.d.ts +4 -5
  37. package/components/Mask/Mask.d.ts +224 -225
  38. package/components/Note/Note.d.ts +11 -12
  39. package/components/NumberFormat/NumberFormat.d.ts +1 -1
  40. package/components/NumberInput/NumberInput.d.ts +38 -39
  41. package/components/Pagination/Pagination.d.ts +0 -1
  42. package/components/Popover/Popover.d.ts +0 -1
  43. package/components/Price/Price.d.ts +0 -1
  44. package/components/Progress/Progress.d.ts +0 -1
  45. package/components/Radiobox/Radiobox.d.ts +1 -1
  46. package/components/Range/Range.d.ts +105 -106
  47. package/components/Rating/Rating.d.ts +13 -14
  48. package/components/Segment/Segment.d.ts +8 -9
  49. package/components/Select/Select.config.js +14 -14
  50. package/components/Select/Select.d.ts +247 -244
  51. package/components/Sheet/Sheet.d.ts +0 -1
  52. package/components/Skeleton/Skeleton.d.ts +4 -5
  53. package/components/Slider/Slider.d.ts +96 -105
  54. package/components/Steps/Steps.d.ts +0 -1
  55. package/components/Switch/Switch.d.ts +1 -1
  56. package/components/Table/Table.config.js +3 -3
  57. package/components/Table/Table.d.ts +0 -1
  58. package/components/Tabs/TabItem.d.ts +14 -14
  59. package/components/Tabs/Tabs.d.ts +5 -7
  60. package/components/TextArea/TextArea.config.js +4 -4
  61. package/components/TextArea/TextArea.d.ts +205 -206
  62. package/components/TextArea/index.d.ts +4 -4
  63. package/components/TextField/TextField.d.ts +261 -269
  64. package/components/TextFieldGroup/TextFieldGroup.d.ts +12 -13
  65. package/components/Toast/Toast.d.ts +0 -1
  66. package/components/Tokens/Colors/Colors.styles.d.ts +25 -26
  67. package/components/Tokens/Typography/Typography.styles.d.ts +23 -24
  68. package/components/Toolbar/Toolbar.d.ts +5 -6
  69. package/components/Tree/Tree.d.ts +0 -1
  70. package/components/Typography/Old/index.d.ts +36 -37
  71. package/components/Typography/Typography.d.ts +204 -205
  72. package/css/cjs/components/Combobox/Combobox.config.js +1 -1
  73. package/css/cjs/components/Combobox/Combobox.config.js.map +1 -1
  74. package/css/cjs/components/Combobox/{Combobox.config_i068pn.css → Combobox.config_16vxdhl.css} +8 -8
  75. package/css/cjs/components/Combobox/Combobox.css +14 -14
  76. package/css/cjs/components/Select/Select.config.js +1 -1
  77. package/css/cjs/components/Select/Select.config.js.map +1 -1
  78. package/css/{es/components/Select/Select.config_1kk8sph.css → cjs/components/Select/Select.config_14aqv25.css} +14 -14
  79. package/css/cjs/components/Select/Select.css +23 -23
  80. package/css/cjs/components/Table/Table.config.js +1 -1
  81. package/css/cjs/components/Table/Table.config.js.map +1 -1
  82. package/css/cjs/components/Table/Table.config_11seey5.css +5 -0
  83. package/css/cjs/components/Table/Table.css +5 -5
  84. package/css/cjs/components/TextArea/TextArea.config.js +1 -1
  85. package/css/cjs/components/TextArea/TextArea.config.js.map +1 -1
  86. package/css/{es/components/TextArea/TextArea.config_si8t6e.css → cjs/components/TextArea/TextArea.config_ww37fs.css} +4 -4
  87. package/css/cjs/components/TextArea/TextArea.css +14 -14
  88. package/css/cjs/index.css +59 -59
  89. package/css/es/components/Combobox/Combobox.config.js +1 -1
  90. package/css/es/components/Combobox/Combobox.config.js.map +1 -1
  91. package/css/es/components/Combobox/{Combobox.config_i068pn.css → Combobox.config_16vxdhl.css} +8 -8
  92. package/css/es/components/Combobox/Combobox.css +14 -14
  93. package/css/es/components/Select/Select.config.js +1 -1
  94. package/css/es/components/Select/Select.config.js.map +1 -1
  95. package/css/{cjs/components/Select/Select.config_1kk8sph.css → es/components/Select/Select.config_14aqv25.css} +14 -14
  96. package/css/es/components/Select/Select.css +23 -23
  97. package/css/es/components/Table/Table.config.js +1 -1
  98. package/css/es/components/Table/Table.config.js.map +1 -1
  99. package/css/es/components/Table/Table.config_11seey5.css +5 -0
  100. package/css/es/components/Table/Table.css +5 -5
  101. package/css/es/components/TextArea/TextArea.config.js +1 -1
  102. package/css/es/components/TextArea/TextArea.config.js.map +1 -1
  103. package/css/{cjs/components/TextArea/TextArea.config_si8t6e.css → es/components/TextArea/TextArea.config_ww37fs.css} +4 -4
  104. package/css/es/components/TextArea/TextArea.css +14 -14
  105. package/css/es/index.css +59 -59
  106. package/es/components/Combobox/Combobox.config.js +8 -8
  107. package/es/components/Select/Select.config.js +14 -14
  108. package/es/components/Table/Table.config.js +3 -3
  109. package/es/components/TextArea/TextArea.config.js +4 -4
  110. package/mixins/index.d.ts +1 -2
  111. package/package.json +12 -12
  112. package/css/cjs/components/Table/Table.config_lk2ssy.css +0 -5
  113. package/css/es/components/Table/Table.config_lk2ssy.css +0 -5
@@ -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;
@@ -108,7 +107,7 @@ declare const mergedConfig: import("@salutejs/plasma-new-hope/styled-components"
108
107
  pilled?: undefined;
109
108
  text?: undefined;
110
109
  contentLeft?: undefined;
111
- contentRight?: undefined;
110
+ contentRight?: never | undefined;
112
111
  customColor?: undefined;
113
112
  customBackgroundColor?: undefined;
114
113
  } & import("react").RefAttributes<HTMLDivElement>)>;
@@ -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;
@@ -189,7 +188,7 @@ declare const Avatar: import("react").FunctionComponent<import("@salutejs/plasma
189
188
  pilled?: undefined;
190
189
  text?: undefined;
191
190
  contentLeft?: undefined;
192
- contentRight?: undefined;
191
+ contentRight?: never | undefined;
193
192
  customColor?: undefined;
194
193
  customBackgroundColor?: undefined;
195
194
  } & import("react").RefAttributes<HTMLDivElement>))>;
@@ -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
  */
@@ -29,59 +28,59 @@ export declare const Badge: import("react").FunctionComponent<import("@salutejs/
29
28
  true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
30
29
  };
31
30
  }> & ((import("react").HTMLAttributes<HTMLDivElement> & {
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;
31
+ text?: string;
32
+ customColor?: string;
33
+ customBackgroundColor?: string;
34
+ maxWidth?: import("react").CSSProperties["width"];
35
+ size?: string;
36
+ view?: string;
38
37
  } & {
39
38
  contentLeft?: import("react").ReactNode;
40
- contentRight?: undefined;
39
+ contentRight?: never;
41
40
  } & {
42
- clear?: true | undefined;
43
- pilled?: undefined;
44
- transparent?: undefined;
41
+ clear?: true;
42
+ pilled?: never;
43
+ transparent?: never;
45
44
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
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;
45
+ text?: string;
46
+ customColor?: string;
47
+ customBackgroundColor?: string;
48
+ maxWidth?: import("react").CSSProperties["width"];
49
+ size?: string;
50
+ view?: string;
52
51
  } & {
53
52
  contentLeft?: import("react").ReactNode;
54
- contentRight?: undefined;
53
+ contentRight?: never;
55
54
  } & {
56
- pilled?: boolean | undefined;
57
- transparent?: boolean | undefined;
58
- clear?: undefined;
55
+ pilled?: boolean;
56
+ transparent?: boolean;
57
+ clear?: never;
59
58
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
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;
59
+ text?: string;
60
+ customColor?: string;
61
+ customBackgroundColor?: string;
62
+ maxWidth?: import("react").CSSProperties["width"];
63
+ size?: string;
64
+ view?: string;
66
65
  } & {
67
- contentLeft?: undefined;
66
+ contentLeft?: never;
68
67
  contentRight?: import("react").ReactNode;
69
68
  } & {
70
- clear?: true | undefined;
71
- pilled?: undefined;
72
- transparent?: undefined;
69
+ clear?: true;
70
+ pilled?: never;
71
+ transparent?: never;
73
72
  } & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
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;
73
+ text?: string;
74
+ customColor?: string;
75
+ customBackgroundColor?: string;
76
+ maxWidth?: import("react").CSSProperties["width"];
77
+ size?: string;
78
+ view?: string;
80
79
  } & {
81
- contentLeft?: undefined;
80
+ contentLeft?: never;
82
81
  contentRight?: import("react").ReactNode;
83
82
  } & {
84
- pilled?: boolean | undefined;
85
- transparent?: boolean | undefined;
86
- clear?: undefined;
83
+ pilled?: boolean;
84
+ transparent?: boolean;
85
+ clear?: never;
87
86
  } & 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
  /**
3
2
  * Компонент Button.
4
3
  */
@@ -40,46 +39,46 @@ export declare const Button: import("react").FunctionComponent<import("@salutejs
40
39
  filled: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
41
40
  fixed: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
42
41
  };
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;
42
+ }> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/styled-components").AsProps & {
43
+ text?: string;
45
44
  contentLeft?: import("react").ReactNode;
46
- contentPlacing?: ("default" | "relaxed") | undefined;
47
- isLoading?: boolean | undefined;
45
+ contentPlacing?: "default" | "relaxed";
46
+ isLoading?: boolean;
48
47
  loader?: import("react").ReactNode;
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;
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;
61
60
  } & {
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;
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;
66
65
  contentLeft?: import("react").ReactNode;
67
- contentPlacing?: ("default" | "relaxed") | undefined;
68
- isLoading?: boolean | undefined;
66
+ contentPlacing?: "default" | "relaxed";
67
+ isLoading?: boolean;
69
68
  loader?: import("react").ReactNode;
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;
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;
82
81
  } & {
83
- value?: undefined;
82
+ value?: never;
84
83
  contentRight?: import("react").ReactNode;
85
84
  } & import("react").RefAttributes<HTMLButtonElement>))>;
@@ -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
  primary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  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"> & {
3
- ariaLive?: "off" | "polite" | undefined;
4
- isDragScrollDisabled?: boolean | undefined;
2
+ ariaLive?: "off" | "polite";
3
+ isDragScrollDisabled?: boolean;
5
4
  } & import("react").RefAttributes<HTMLDivElement>>;
@@ -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>))>;
@@ -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 declare type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
26
+ export type CheckboxProps = ComponentProps<typeof CheckboxComponent>;
27
27
  /**
28
28
  * Флажок или чекбокс. Позволяет пользователю управлять параметром с двумя состояниями — ☑ включено и ☐ отключено.
29
29
  */
@@ -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>>;