@salutejs/sdds-dfa 0.172.0-canary.1550.11801015277.0 → 0.172.1-canary.1525.11803660289.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-dfa.api.md +240 -59
- package/components/Attach/Attach.d.ts +8 -8
- package/components/Button/Button.d.ts +4 -4
- package/components/Combobox/Combobox.d.ts +80 -82
- package/components/Combobox/Combobox.js +1 -10
- package/components/Combobox/index.d.ts +465 -1
- package/components/Combobox/index.js +3 -7
- package/components/IconButton/IconButton.d.ts +2 -2
- package/components/Mask/Mask.d.ts +16 -16
- package/components/Radiobox/Radiobox.d.ts +2 -2
- package/components/Select/Select.config.d.ts +7 -15
- package/components/Select/Select.config.js +21 -29
- package/components/Select/Select.d.ts +50 -59
- package/components/Select/Select.js +6 -5
- package/components/Switch/Switch.config.d.ts +7 -0
- package/components/Switch/Switch.config.js +12 -5
- package/components/Switch/Switch.d.ts +12 -0
- package/components/TextArea/TextArea.d.ts +16 -16
- package/components/TextField/TextField.d.ts +16 -16
- package/es/components/Combobox/Combobox.js +2 -11
- package/es/components/Combobox/index.js +3 -1
- package/es/components/Select/Select.config.js +22 -30
- package/es/components/Select/Select.js +4 -5
- package/es/components/Switch/Switch.config.js +12 -5
- package/package.json +3 -3
- package/temp/sdds-dfa.api.md +240 -59
@@ -1,6 +1,12 @@
|
|
1
|
-
import type { SelectProps as SelectPropsNewHope
|
2
|
-
import React
|
3
|
-
declare const
|
1
|
+
import type { SelectProps as SelectPropsNewHope } from '@salutejs/plasma-new-hope/styled-components';
|
2
|
+
import React from 'react';
|
3
|
+
declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope, "view" | "size" | "chipView"> & Pick<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
4
|
+
size: {
|
5
|
+
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
|
+
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
8
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
9
|
+
};
|
4
10
|
view: {
|
5
11
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
12
|
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -13,24 +19,11 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
13
19
|
black: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
20
|
white: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
15
21
|
};
|
16
|
-
size: {
|
17
|
-
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
18
|
-
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
19
|
-
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
20
|
-
xs: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
21
|
-
};
|
22
|
-
labelPlacement: {
|
23
|
-
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
24
|
-
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
25
|
-
};
|
26
22
|
chipView: {
|
27
23
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
28
24
|
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
29
25
|
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
30
26
|
};
|
31
|
-
disabled: {
|
32
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
33
|
-
};
|
34
27
|
}> & (({
|
35
28
|
target?: "textfield-like" | undefined;
|
36
29
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
@@ -42,33 +35,33 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
42
35
|
multiselect?: false | undefined;
|
43
36
|
separator?: undefined;
|
44
37
|
} & {
|
45
|
-
value
|
38
|
+
value: any;
|
46
39
|
onChange?: ((value: any) => void) | undefined;
|
47
40
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
48
41
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
42
|
+
status?: "warning" | "success" | "error" | undefined;
|
49
43
|
placeholder?: string | undefined;
|
50
44
|
helperText?: string | undefined;
|
51
45
|
disabled?: boolean | undefined;
|
52
|
-
items?: import("@salutejs/plasma-new-hope/
|
53
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/
|
46
|
+
items?: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[] | undefined;
|
47
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
48
|
+
hasItems?: boolean | undefined;
|
54
49
|
children?: undefined;
|
50
|
+
isOpen?: boolean | undefined;
|
55
51
|
isTargetAmount?: boolean | undefined;
|
56
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/
|
57
|
-
placement?: ("
|
52
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode | import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[]) => React.ReactNode) | undefined;
|
53
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
58
54
|
label?: string | undefined;
|
59
55
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
60
56
|
variant?: "normal" | "tight" | undefined;
|
61
57
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
62
58
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
63
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/
|
64
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/
|
59
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => string) | undefined;
|
60
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => React.ReactNode) | undefined;
|
65
61
|
closeAfterSelect?: boolean | undefined;
|
66
62
|
size?: string | undefined;
|
67
63
|
view?: string | undefined;
|
68
64
|
chipView?: string | undefined;
|
69
|
-
status?: "warning" | "success" | "error" | undefined;
|
70
|
-
hasItems?: boolean | undefined;
|
71
|
-
isOpen?: boolean | undefined;
|
72
65
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
73
66
|
target?: "textfield-like" | undefined;
|
74
67
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
@@ -80,33 +73,33 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
80
73
|
multiselect?: true | undefined;
|
81
74
|
separator?: string | undefined;
|
82
75
|
} & {
|
83
|
-
value
|
76
|
+
value: any;
|
84
77
|
onChange?: ((value: any) => void) | undefined;
|
85
78
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
86
79
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
80
|
+
status?: "warning" | "success" | "error" | undefined;
|
87
81
|
placeholder?: string | undefined;
|
88
82
|
helperText?: string | undefined;
|
89
83
|
disabled?: boolean | undefined;
|
90
|
-
items?: import("@salutejs/plasma-new-hope/
|
91
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/
|
84
|
+
items?: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[] | undefined;
|
85
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
86
|
+
hasItems?: boolean | undefined;
|
92
87
|
children?: undefined;
|
88
|
+
isOpen?: boolean | undefined;
|
93
89
|
isTargetAmount?: boolean | undefined;
|
94
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/
|
95
|
-
placement?: ("
|
90
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode | import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[]) => React.ReactNode) | undefined;
|
91
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
96
92
|
label?: string | undefined;
|
97
93
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
98
94
|
variant?: "normal" | "tight" | undefined;
|
99
95
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
100
96
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
101
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/
|
102
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/
|
97
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => string) | undefined;
|
98
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => React.ReactNode) | undefined;
|
103
99
|
closeAfterSelect?: boolean | undefined;
|
104
100
|
size?: string | undefined;
|
105
101
|
view?: string | undefined;
|
106
102
|
chipView?: string | undefined;
|
107
|
-
status?: "warning" | "success" | "error" | undefined;
|
108
|
-
hasItems?: boolean | undefined;
|
109
|
-
isOpen?: boolean | undefined;
|
110
103
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
111
104
|
target?: "button-like" | undefined;
|
112
105
|
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
@@ -118,33 +111,33 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
118
111
|
multiselect?: false | undefined;
|
119
112
|
separator?: undefined;
|
120
113
|
} & {
|
121
|
-
value
|
114
|
+
value: any;
|
122
115
|
onChange?: ((value: any) => void) | undefined;
|
123
116
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
124
117
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
118
|
+
status?: "warning" | "success" | "error" | undefined;
|
125
119
|
placeholder?: string | undefined;
|
126
120
|
helperText?: string | undefined;
|
127
121
|
disabled?: boolean | undefined;
|
128
|
-
items?: import("@salutejs/plasma-new-hope/
|
129
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/
|
122
|
+
items?: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[] | undefined;
|
123
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
124
|
+
hasItems?: boolean | undefined;
|
130
125
|
children?: undefined;
|
126
|
+
isOpen?: boolean | undefined;
|
131
127
|
isTargetAmount?: boolean | undefined;
|
132
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/
|
133
|
-
placement?: ("
|
128
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode | import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[]) => React.ReactNode) | undefined;
|
129
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
134
130
|
label?: string | undefined;
|
135
131
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
136
132
|
variant?: "normal" | "tight" | undefined;
|
137
133
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
138
134
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
139
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/
|
140
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/
|
135
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => string) | undefined;
|
136
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => React.ReactNode) | undefined;
|
141
137
|
closeAfterSelect?: boolean | undefined;
|
142
138
|
size?: string | undefined;
|
143
139
|
view?: string | undefined;
|
144
140
|
chipView?: string | undefined;
|
145
|
-
status?: "warning" | "success" | "error" | undefined;
|
146
|
-
hasItems?: boolean | undefined;
|
147
|
-
isOpen?: boolean | undefined;
|
148
141
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
149
142
|
target?: "button-like" | undefined;
|
150
143
|
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
@@ -156,34 +149,32 @@ declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-ne
|
|
156
149
|
multiselect?: true | undefined;
|
157
150
|
separator?: string | undefined;
|
158
151
|
} & {
|
159
|
-
value
|
152
|
+
value: any;
|
160
153
|
onChange?: ((value: any) => void) | undefined;
|
161
154
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
162
155
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
156
|
+
status?: "warning" | "success" | "error" | undefined;
|
163
157
|
placeholder?: string | undefined;
|
164
158
|
helperText?: string | undefined;
|
165
159
|
disabled?: boolean | undefined;
|
166
|
-
items?: import("@salutejs/plasma-new-hope/
|
167
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/
|
160
|
+
items?: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[] | undefined;
|
161
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
162
|
+
hasItems?: boolean | undefined;
|
168
163
|
children?: undefined;
|
164
|
+
isOpen?: boolean | undefined;
|
169
165
|
isTargetAmount?: boolean | undefined;
|
170
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/
|
171
|
-
placement?: ("
|
166
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode | import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode[]) => React.ReactNode) | undefined;
|
167
|
+
placement?: ("auto" | ("top" | "bottom" | "right" | "left")) | ("top" | "bottom" | "right" | "left")[] | undefined;
|
172
168
|
label?: string | undefined;
|
173
169
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
174
170
|
variant?: "normal" | "tight" | undefined;
|
175
171
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
176
172
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
177
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/
|
178
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/
|
173
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => string) | undefined;
|
174
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/types/components/Select/ui/Inner/ui/Item/Item.types").MergedDropdownNode) => React.ReactNode) | undefined;
|
179
175
|
closeAfterSelect?: boolean | undefined;
|
180
176
|
size?: string | undefined;
|
181
177
|
view?: string | undefined;
|
182
178
|
chipView?: string | undefined;
|
183
|
-
|
184
|
-
hasItems?: boolean | undefined;
|
185
|
-
isOpen?: boolean | undefined;
|
186
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>))>;
|
187
|
-
declare type SelectProps<K extends ItemOptionSelect> = DistributiveOmit<SelectPropsNewHope<K>, 'size' | 'view' | 'chipView' | 'disabled'> & DistributivePick<ComponentProps<typeof SelectNewHope>, 'size' | 'view' | 'chipView' | 'disabled'>;
|
188
|
-
declare const Select: <K extends ItemOptionSelect>(props: SelectProps<K> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
179
|
+
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>)), "view" | "size" | "chipView"> & React.RefAttributes<HTMLButtonElement>>;
|
189
180
|
export { Select };
|
@@ -1,19 +1,20 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
4
5
|
value: true
|
5
6
|
});
|
6
7
|
exports.Select = void 0;
|
7
8
|
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
|
-
var _react = /*#__PURE__*/
|
9
|
+
var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
|
9
10
|
var _Select = /*#__PURE__*/require("./Select.config");
|
10
|
-
function
|
11
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
12
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
11
13
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
12
14
|
var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.selectConfig, _Select.config);
|
13
15
|
var SelectNewHope = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
|
14
|
-
var
|
16
|
+
var Select = exports.Select = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
15
17
|
return /*#__PURE__*/_react["default"].createElement(SelectNewHope, _extends({
|
16
18
|
ref: ref
|
17
19
|
}, props));
|
18
|
-
};
|
19
|
-
var Select = exports.Select = /*#__PURE__*/(0, _styledComponents.fixedForwardRef)(SelectComponent);
|
20
|
+
});
|
@@ -2,12 +2,19 @@ export declare const config: {
|
|
2
2
|
defaults: {
|
3
3
|
view: string;
|
4
4
|
size: string;
|
5
|
+
toggleSize: string;
|
5
6
|
labelPosition: string;
|
6
7
|
focused: string;
|
7
8
|
};
|
8
9
|
variations: {
|
9
10
|
size: {
|
11
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
12
|
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
13
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
14
|
+
};
|
15
|
+
toggleSize: {
|
16
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
17
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
11
18
|
};
|
12
19
|
view: {
|
13
20
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -5,27 +5,34 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.config = void 0;
|
7
7
|
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
8
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
8
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
9
9
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
10
10
|
var config = exports.config = {
|
11
11
|
defaults: {
|
12
12
|
view: 'default',
|
13
13
|
size: 'm',
|
14
|
+
toggleSize: 'l',
|
14
15
|
labelPosition: 'before',
|
15
16
|
focused: 'true'
|
16
17
|
},
|
17
18
|
variations: {
|
18
19
|
size: {
|
19
|
-
|
20
|
+
s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-line-height);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-line-height);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": 0.25rem;\n ", ": 0.75rem;\n "])), _styledComponents.switchTokens.fontFamily, _styledComponents.switchTokens.fontStyle, _styledComponents.switchTokens.fontWeight, _styledComponents.switchTokens.lineHeight, _styledComponents.switchTokens.fontSize, _styledComponents.switchTokens.letterSpacing, _styledComponents.switchTokens.descriptionFontFamily, _styledComponents.switchTokens.descriptionFontStyle, _styledComponents.switchTokens.descriptionFontWeight, _styledComponents.switchTokens.descriptionLineHeight, _styledComponents.switchTokens.descriptionFontSize, _styledComponents.switchTokens.descriptionLetterSpacing, _styledComponents.switchTokens.verticalGap, _styledComponents.switchTokens.labelOffset),
|
21
|
+
m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-line-height);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-line-height);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": 0.25rem;\n ", ": 0.75rem;\n "])), _styledComponents.switchTokens.fontFamily, _styledComponents.switchTokens.fontStyle, _styledComponents.switchTokens.fontWeight, _styledComponents.switchTokens.lineHeight, _styledComponents.switchTokens.fontSize, _styledComponents.switchTokens.letterSpacing, _styledComponents.switchTokens.descriptionFontFamily, _styledComponents.switchTokens.descriptionFontStyle, _styledComponents.switchTokens.descriptionFontWeight, _styledComponents.switchTokens.descriptionLineHeight, _styledComponents.switchTokens.descriptionFontSize, _styledComponents.switchTokens.descriptionLetterSpacing, _styledComponents.switchTokens.verticalGap, _styledComponents.switchTokens.labelOffset),
|
22
|
+
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-line-height);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-line-height);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": 0.25rem;\n ", ": 0.75rem;\n "])), _styledComponents.switchTokens.fontFamily, _styledComponents.switchTokens.fontStyle, _styledComponents.switchTokens.fontWeight, _styledComponents.switchTokens.lineHeight, _styledComponents.switchTokens.fontSize, _styledComponents.switchTokens.letterSpacing, _styledComponents.switchTokens.descriptionFontFamily, _styledComponents.switchTokens.descriptionFontStyle, _styledComponents.switchTokens.descriptionFontWeight, _styledComponents.switchTokens.descriptionLineHeight, _styledComponents.switchTokens.descriptionFontSize, _styledComponents.switchTokens.descriptionLetterSpacing, _styledComponents.switchTokens.verticalGap, _styledComponents.switchTokens.labelOffset)
|
23
|
+
},
|
24
|
+
toggleSize: {
|
25
|
+
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2.75rem;\n ", ": 1.75rem;\n ", ": calc(var(", ") / 2);\n ", ": 1.5rem;\n ", ": calc(var(", ") / 2);\n ", ": 0.125rem;\n ", ": 1.25;\n "])), _styledComponents.switchTokens.trackWidth, _styledComponents.switchTokens.trackHeight, _styledComponents.switchTokens.trackBorderRadius, _styledComponents.switchTokens.trackHeight, _styledComponents.switchTokens.thumbSize, _styledComponents.switchTokens.thumbBorderRadius, _styledComponents.switchTokens.thumbSize, _styledComponents.switchTokens.thumbOffset, _styledComponents.switchTokens.thumbPressScale),
|
26
|
+
s: /*#__PURE__*/(0, _styledComponents.css)(_templateObject5 || (_templateObject5 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 2rem;\n ", ": 1.25rem;\n ", ": calc(var(", ") / 2);\n ", ": 1rem;\n ", ": calc(var(", ") / 2);\n ", ": 0.125rem;\n ", ": 1.25;\n "])), _styledComponents.switchTokens.trackWidth, _styledComponents.switchTokens.trackHeight, _styledComponents.switchTokens.trackBorderRadius, _styledComponents.switchTokens.trackHeight, _styledComponents.switchTokens.thumbSize, _styledComponents.switchTokens.thumbBorderRadius, _styledComponents.switchTokens.thumbSize, _styledComponents.switchTokens.thumbOffset, _styledComponents.switchTokens.thumbPressScale)
|
20
27
|
},
|
21
28
|
view: {
|
22
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(
|
29
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject6 || (_templateObject6 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-secondary);\n ", ": var(--surface-accent);\n ", ": var(--surface-accent-hover);\n ", ": var(--surface-transparent-tertiary);\n ", ": var(--surface-transparent-tertiary-hover);\n ", ": var(--on-dark-surface-solid-default);\n ", ": 0 1px 1px rgba(0, 0, 0, 0.11);\n "])), _styledComponents.switchTokens.labelColor, _styledComponents.switchTokens.descriptionColor, _styledComponents.switchTokens.trackBackgroundColorOn, _styledComponents.switchTokens.trackBackgroundColorOnHover, _styledComponents.switchTokens.trackBackgroundColorOff, _styledComponents.switchTokens.trackBackgroundColorOffHover, _styledComponents.switchTokens.thumbBackgroundColor, _styledComponents.switchTokens.thumbBoxShadow)
|
23
30
|
},
|
24
31
|
disabled: {
|
25
|
-
"true": /*#__PURE__*/(0, _styledComponents.css)(
|
32
|
+
"true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), _styledComponents.switchTokens.disabledOpacity)
|
26
33
|
},
|
27
34
|
focused: {
|
28
|
-
"true": /*#__PURE__*/(0, _styledComponents.css)(
|
35
|
+
"true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-accent);\n "])), _styledComponents.switchTokens.trackFocusColor)
|
29
36
|
}
|
30
37
|
}
|
31
38
|
};
|
@@ -1,7 +1,13 @@
|
|
1
1
|
import { ComponentProps } from 'react';
|
2
2
|
declare const SwitchComponent: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
3
3
|
size: {
|
4
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
4
5
|
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
6
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
7
|
+
};
|
8
|
+
toggleSize: {
|
9
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
10
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
5
11
|
};
|
6
12
|
view: {
|
7
13
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -15,7 +21,13 @@ declare const SwitchComponent: import("react").FunctionComponent<import("@salute
|
|
15
21
|
}> & import("@salutejs/plasma-new-hope/styled-components").SwitchProps & import("react").RefAttributes<HTMLInputElement>>;
|
16
22
|
export declare const Switch: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
17
23
|
size: {
|
24
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
18
25
|
m: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
26
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
27
|
+
};
|
28
|
+
toggleSize: {
|
29
|
+
l: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
30
|
+
s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
19
31
|
};
|
20
32
|
view: {
|
21
33
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -29,7 +29,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
29
29
|
disabled: {
|
30
30
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
31
31
|
};
|
32
|
-
}> & ((Omit<import("@salutejs/plasma-new-hope/
|
32
|
+
}> & ((Omit<import("@salutejs/plasma-new-hope/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
33
33
|
status?: "" | "warning" | "success" | "error" | undefined;
|
34
34
|
label?: string | undefined;
|
35
35
|
labelPlacement?: "outer" | "inner" | undefined;
|
@@ -72,7 +72,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
72
72
|
} & {
|
73
73
|
clear?: undefined;
|
74
74
|
hasDivider?: undefined;
|
75
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/
|
75
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
76
76
|
status?: "" | "warning" | "success" | "error" | undefined;
|
77
77
|
label?: string | undefined;
|
78
78
|
labelPlacement?: "outer" | "inner" | undefined;
|
@@ -115,7 +115,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
115
115
|
} & {
|
116
116
|
clear?: undefined;
|
117
117
|
hasDivider?: undefined;
|
118
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/
|
118
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
119
119
|
status?: "" | "warning" | "success" | "error" | undefined;
|
120
120
|
label?: string | undefined;
|
121
121
|
labelPlacement?: "outer" | "inner" | undefined;
|
@@ -158,7 +158,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
158
158
|
} & {
|
159
159
|
clear?: undefined;
|
160
160
|
hasDivider?: undefined;
|
161
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/
|
161
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
162
162
|
status?: "" | "warning" | "success" | "error" | undefined;
|
163
163
|
label?: string | undefined;
|
164
164
|
labelPlacement?: "outer" | "inner" | undefined;
|
@@ -201,7 +201,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
201
201
|
} & {
|
202
202
|
height?: undefined;
|
203
203
|
width?: undefined;
|
204
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/
|
204
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
205
205
|
status?: "" | "warning" | "success" | "error" | undefined;
|
206
206
|
label?: string | undefined;
|
207
207
|
labelPlacement?: "outer" | "inner" | undefined;
|
@@ -244,7 +244,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
244
244
|
} & {
|
245
245
|
clear?: undefined;
|
246
246
|
hasDivider?: undefined;
|
247
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/
|
247
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
248
248
|
status?: "" | "warning" | "success" | "error" | undefined;
|
249
249
|
label?: string | undefined;
|
250
250
|
labelPlacement?: "outer" | "inner" | undefined;
|
@@ -287,7 +287,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
287
287
|
} & {
|
288
288
|
clear?: undefined;
|
289
289
|
hasDivider?: undefined;
|
290
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/
|
290
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
291
291
|
status?: "" | "warning" | "success" | "error" | undefined;
|
292
292
|
label?: string | undefined;
|
293
293
|
labelPlacement?: "outer" | "inner" | undefined;
|
@@ -330,7 +330,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
330
330
|
} & {
|
331
331
|
clear?: undefined;
|
332
332
|
hasDivider?: undefined;
|
333
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/
|
333
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
334
334
|
status?: "" | "warning" | "success" | "error" | undefined;
|
335
335
|
label?: string | undefined;
|
336
336
|
labelPlacement?: "outer" | "inner" | undefined;
|
@@ -373,7 +373,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
373
373
|
} & {
|
374
374
|
height?: undefined;
|
375
375
|
width?: undefined;
|
376
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/
|
376
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
377
377
|
status?: "" | "warning" | "success" | "error" | undefined;
|
378
378
|
label?: string | undefined;
|
379
379
|
labelPlacement?: "outer" | "inner" | undefined;
|
@@ -416,7 +416,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
416
416
|
} & {
|
417
417
|
clear?: undefined;
|
418
418
|
hasDivider?: undefined;
|
419
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/
|
419
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
420
420
|
status?: "" | "warning" | "success" | "error" | undefined;
|
421
421
|
label?: string | undefined;
|
422
422
|
labelPlacement?: "outer" | "inner" | undefined;
|
@@ -459,7 +459,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
459
459
|
} & {
|
460
460
|
clear?: undefined;
|
461
461
|
hasDivider?: undefined;
|
462
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/
|
462
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
463
463
|
status?: "" | "warning" | "success" | "error" | undefined;
|
464
464
|
label?: string | undefined;
|
465
465
|
labelPlacement?: "outer" | "inner" | undefined;
|
@@ -502,7 +502,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
502
502
|
} & {
|
503
503
|
clear?: undefined;
|
504
504
|
hasDivider?: undefined;
|
505
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/
|
505
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
506
506
|
status?: "" | "warning" | "success" | "error" | undefined;
|
507
507
|
label?: string | undefined;
|
508
508
|
labelPlacement?: "outer" | "inner" | undefined;
|
@@ -545,7 +545,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
545
545
|
} & {
|
546
546
|
height?: undefined;
|
547
547
|
width?: undefined;
|
548
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/
|
548
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
549
549
|
status?: "" | "warning" | "success" | "error" | undefined;
|
550
550
|
label?: string | undefined;
|
551
551
|
labelPlacement?: "outer" | "inner" | undefined;
|
@@ -588,7 +588,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
588
588
|
} & {
|
589
589
|
clear?: undefined;
|
590
590
|
hasDivider?: undefined;
|
591
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/
|
591
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
592
592
|
status?: "" | "warning" | "success" | "error" | undefined;
|
593
593
|
label?: string | undefined;
|
594
594
|
labelPlacement?: "outer" | "inner" | undefined;
|
@@ -631,7 +631,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
631
631
|
} & {
|
632
632
|
clear?: undefined;
|
633
633
|
hasDivider?: undefined;
|
634
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/
|
634
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
635
635
|
status?: "" | "warning" | "success" | "error" | undefined;
|
636
636
|
label?: string | undefined;
|
637
637
|
labelPlacement?: "outer" | "inner" | undefined;
|
@@ -674,7 +674,7 @@ export declare const TextArea: import("react").FunctionComponent<import("@salute
|
|
674
674
|
} & {
|
675
675
|
clear?: undefined;
|
676
676
|
hasDivider?: undefined;
|
677
|
-
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/
|
677
|
+
} & import("react").RefAttributes<HTMLTextAreaElement>) | (Omit<import("@salutejs/plasma-new-hope/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
678
678
|
status?: "" | "warning" | "success" | "error" | undefined;
|
679
679
|
label?: string | undefined;
|
680
680
|
labelPlacement?: "outer" | "inner" | undefined;
|