@salutejs/sdds-finportal 0.167.0-canary.1558.11807380775.0 → 0.167.0-canary.1559.11816419999.0
Sign up to get free protection for your applications and to get access to all the features.
- package/api/sdds-finportal.api.md +16 -644
- package/components/Attach/Attach.d.ts +8 -8
- package/components/Button/Button.d.ts +4 -4
- package/components/Combobox/Combobox.d.ts +86 -80
- package/components/Combobox/Combobox.js +10 -1
- package/components/Combobox/index.d.ts +1 -465
- package/components/Combobox/index.js +7 -3
- 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 +15 -7
- package/components/Select/Select.config.js +29 -21
- package/components/Select/Select.d.ts +61 -52
- package/components/Select/Select.js +5 -6
- package/components/Steps/Steps.config.js +1 -1
- package/components/TextArea/TextArea.d.ts +16 -16
- package/components/TextField/TextField.d.ts +16 -16
- package/es/components/Combobox/Combobox.js +11 -2
- package/es/components/Combobox/index.js +1 -3
- package/es/components/Select/Select.config.js +30 -22
- package/es/components/Select/Select.js +5 -4
- package/es/components/Steps/Steps.config.js +1 -1
- package/package.json +8 -8
- package/temp/sdds-finportal.api.md +0 -5628
@@ -1,12 +1,6 @@
|
|
1
|
-
import type { SelectProps as SelectPropsNewHope } from '@salutejs/plasma-new-hope
|
2
|
-
import React from 'react';
|
3
|
-
declare const
|
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
|
-
};
|
1
|
+
import type { SelectProps as SelectPropsNewHope, ItemOptionSelect, DistributivePick, DistributiveOmit } from '@salutejs/plasma-new-hope';
|
2
|
+
import React, { ComponentProps } from 'react';
|
3
|
+
declare const SelectNewHope: React.FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
10
4
|
view: {
|
11
5
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
12
6
|
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
@@ -19,11 +13,24 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope, "
|
|
19
13
|
black: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
20
14
|
white: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
21
15
|
};
|
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
|
+
};
|
22
26
|
chipView: {
|
23
27
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
24
28
|
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
25
29
|
accent: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
26
30
|
};
|
31
|
+
disabled: {
|
32
|
+
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
33
|
+
};
|
27
34
|
}> & (({
|
28
35
|
target?: "textfield-like" | undefined;
|
29
36
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
@@ -35,33 +42,33 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope, "
|
|
35
42
|
multiselect?: false | undefined;
|
36
43
|
separator?: undefined;
|
37
44
|
} & {
|
38
|
-
value
|
45
|
+
value?: any;
|
39
46
|
onChange?: ((value: any) => void) | undefined;
|
40
47
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
41
48
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
42
|
-
status?: "warning" | "success" | "error" | undefined;
|
43
49
|
placeholder?: string | undefined;
|
44
50
|
helperText?: string | undefined;
|
45
51
|
disabled?: boolean | undefined;
|
46
|
-
items?: import("@salutejs/plasma-new-hope/
|
47
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/
|
48
|
-
hasItems?: boolean | undefined;
|
52
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
53
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
49
54
|
children?: undefined;
|
50
|
-
isOpen?: boolean | undefined;
|
51
55
|
isTargetAmount?: boolean | undefined;
|
52
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/
|
53
|
-
placement?: ("
|
56
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
57
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
54
58
|
label?: string | undefined;
|
55
59
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
56
60
|
variant?: "normal" | "tight" | undefined;
|
57
61
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
58
62
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
59
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/
|
60
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/
|
63
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
64
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
61
65
|
closeAfterSelect?: boolean | undefined;
|
62
66
|
size?: string | undefined;
|
63
67
|
view?: string | undefined;
|
64
68
|
chipView?: string | undefined;
|
69
|
+
status?: "warning" | "success" | "error" | undefined;
|
70
|
+
hasItems?: boolean | undefined;
|
71
|
+
isOpen?: boolean | undefined;
|
65
72
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
66
73
|
target?: "textfield-like" | undefined;
|
67
74
|
view?: "default" | "positive" | "warning" | "negative" | undefined;
|
@@ -73,35 +80,35 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope, "
|
|
73
80
|
multiselect?: true | undefined;
|
74
81
|
separator?: string | undefined;
|
75
82
|
} & {
|
76
|
-
value
|
83
|
+
value?: any;
|
77
84
|
onChange?: ((value: any) => void) | undefined;
|
78
85
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
79
86
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
80
|
-
status?: "warning" | "success" | "error" | undefined;
|
81
87
|
placeholder?: string | undefined;
|
82
88
|
helperText?: string | undefined;
|
83
89
|
disabled?: boolean | undefined;
|
84
|
-
items?: import("@salutejs/plasma-new-hope/
|
85
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/
|
86
|
-
hasItems?: boolean | undefined;
|
90
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
91
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
87
92
|
children?: undefined;
|
88
|
-
isOpen?: boolean | undefined;
|
89
93
|
isTargetAmount?: boolean | undefined;
|
90
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/
|
91
|
-
placement?: ("
|
94
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
95
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
92
96
|
label?: string | undefined;
|
93
97
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
94
98
|
variant?: "normal" | "tight" | undefined;
|
95
99
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
96
100
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
97
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/
|
98
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/
|
101
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
102
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
99
103
|
closeAfterSelect?: boolean | undefined;
|
100
104
|
size?: string | undefined;
|
101
105
|
view?: string | undefined;
|
102
106
|
chipView?: string | undefined;
|
107
|
+
status?: "warning" | "success" | "error" | undefined;
|
108
|
+
hasItems?: boolean | undefined;
|
109
|
+
isOpen?: boolean | undefined;
|
103
110
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
104
|
-
target
|
111
|
+
target: "button-like";
|
105
112
|
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
106
113
|
contentLeft?: undefined;
|
107
114
|
labelPlacement?: undefined;
|
@@ -111,35 +118,35 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope, "
|
|
111
118
|
multiselect?: false | undefined;
|
112
119
|
separator?: undefined;
|
113
120
|
} & {
|
114
|
-
value
|
121
|
+
value?: any;
|
115
122
|
onChange?: ((value: any) => void) | undefined;
|
116
123
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
117
124
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
118
|
-
status?: "warning" | "success" | "error" | undefined;
|
119
125
|
placeholder?: string | undefined;
|
120
126
|
helperText?: string | undefined;
|
121
127
|
disabled?: boolean | undefined;
|
122
|
-
items?: import("@salutejs/plasma-new-hope/
|
123
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/
|
124
|
-
hasItems?: boolean | undefined;
|
128
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
129
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
125
130
|
children?: undefined;
|
126
|
-
isOpen?: boolean | undefined;
|
127
131
|
isTargetAmount?: boolean | undefined;
|
128
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/
|
129
|
-
placement?: ("
|
132
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
133
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
130
134
|
label?: string | undefined;
|
131
135
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
132
136
|
variant?: "normal" | "tight" | undefined;
|
133
137
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
134
138
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
135
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/
|
136
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/
|
139
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
140
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
137
141
|
closeAfterSelect?: boolean | undefined;
|
138
142
|
size?: string | undefined;
|
139
143
|
view?: string | undefined;
|
140
144
|
chipView?: string | undefined;
|
145
|
+
status?: "warning" | "success" | "error" | undefined;
|
146
|
+
hasItems?: boolean | undefined;
|
147
|
+
isOpen?: boolean | undefined;
|
141
148
|
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>) | ({
|
142
|
-
target
|
149
|
+
target: "button-like";
|
143
150
|
view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
|
144
151
|
contentLeft?: undefined;
|
145
152
|
labelPlacement?: undefined;
|
@@ -149,32 +156,34 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope, "
|
|
149
156
|
multiselect?: true | undefined;
|
150
157
|
separator?: string | undefined;
|
151
158
|
} & {
|
152
|
-
value
|
159
|
+
value?: any;
|
153
160
|
onChange?: ((value: any) => void) | undefined;
|
154
161
|
listOverflow?: import("csstype").Property.Overflow | undefined;
|
155
162
|
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
156
|
-
status?: "warning" | "success" | "error" | undefined;
|
157
163
|
placeholder?: string | undefined;
|
158
164
|
helperText?: string | undefined;
|
159
165
|
disabled?: boolean | undefined;
|
160
|
-
items?: import("@salutejs/plasma-new-hope/
|
161
|
-
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/
|
162
|
-
hasItems?: boolean | undefined;
|
166
|
+
items?: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[] | undefined;
|
167
|
+
onItemSelect?: ((e: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
|
163
168
|
children?: undefined;
|
164
|
-
isOpen?: boolean | undefined;
|
165
169
|
isTargetAmount?: boolean | undefined;
|
166
|
-
renderTarget?: ((item: import("@salutejs/plasma-new-hope/
|
167
|
-
placement?: ("
|
170
|
+
renderTarget?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect | import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect[]) => React.ReactNode) | undefined;
|
171
|
+
placement?: ("top" | "bottom" | "right" | "left" | "auto") | ("top" | "bottom" | "right" | "left")[] | undefined;
|
168
172
|
label?: string | undefined;
|
169
173
|
onScrollBottom?: ((e: React.UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
170
174
|
variant?: "normal" | "tight" | undefined;
|
171
175
|
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
172
176
|
portal?: string | React.RefObject<HTMLElement> | undefined;
|
173
|
-
renderValue?: ((item: import("@salutejs/plasma-new-hope/
|
174
|
-
renderItem?: ((item: import("@salutejs/plasma-new-hope/
|
177
|
+
renderValue?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => string) | undefined;
|
178
|
+
renderItem?: ((item: import("@salutejs/plasma-new-hope/styled-components").DropdownNodeSelect) => React.ReactNode) | undefined;
|
175
179
|
closeAfterSelect?: boolean | undefined;
|
176
180
|
size?: string | undefined;
|
177
181
|
view?: string | undefined;
|
178
182
|
chipView?: string | undefined;
|
179
|
-
|
183
|
+
status?: "warning" | "success" | "error" | undefined;
|
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;
|
180
189
|
export { Select };
|
@@ -1,20 +1,19 @@
|
|
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); }
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
5
4
|
value: true
|
6
5
|
});
|
7
6
|
exports.Select = void 0;
|
8
7
|
var _styledComponents = /*#__PURE__*/require("@salutejs/plasma-new-hope/styled-components");
|
9
|
-
var _react = /*#__PURE__*/
|
8
|
+
var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
|
10
9
|
var _Select = /*#__PURE__*/require("./Select.config");
|
11
|
-
function
|
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; }
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
13
11
|
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); }
|
14
12
|
var mergedConfig = /*#__PURE__*/(0, _styledComponents.mergeConfig)(_styledComponents.selectConfig, _Select.config);
|
15
13
|
var SelectNewHope = /*#__PURE__*/(0, _styledComponents.component)(mergedConfig);
|
16
|
-
var
|
14
|
+
var SelectComponent = function SelectComponent(props, ref) {
|
17
15
|
return /*#__PURE__*/_react["default"].createElement(SelectNewHope, _extends({
|
18
16
|
ref: ref
|
19
17
|
}, props));
|
20
|
-
}
|
18
|
+
};
|
19
|
+
var Select = exports.Select = /*#__PURE__*/(0, _styledComponents.fixedForwardRef)(SelectComponent);
|
@@ -14,7 +14,7 @@ var config = exports.config = {
|
|
14
14
|
},
|
15
15
|
variations: {
|
16
16
|
view: {
|
17
|
-
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-primary-hover);\n ", ": solid var(--surface-solid-default);\n ", ": var(--text-primary);\n ", ": var(--surface-clear);\n\n ", ": var(--inverse-text-primary);\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default);\n ", ": var(--surface-solid-default-hover);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--surface-transparent-secondary-hover);\n\n ", ": var(--text-secondary);\n\n ", ": 0.4;\n "])), _styledComponents.stepsTokens.activeTitleColor, _styledComponents.stepsTokens.activeTitleColorHover, _styledComponents.stepsTokens.activeIndicatorBorder, _styledComponents.stepsTokens.activeIndicatorColor, _styledComponents.stepsTokens.activeIndicatorBackground, _styledComponents.stepsTokens.completedIndicatorColor, _styledComponents.stepsTokens.completedIndicatorColorHover, _styledComponents.stepsTokens.completedIndicatorBackground, _styledComponents.stepsTokens.completedIndicatorBackgroundHover, _styledComponents.stepsTokens.inactiveTitleColor, _styledComponents.stepsTokens.inactiveTitleColorHover, _styledComponents.stepsTokens.inactiveIndicatorColor, _styledComponents.stepsTokens.inactiveIndicatorColorHover, _styledComponents.stepsTokens.inactiveIndicatorBackground, _styledComponents.stepsTokens.inactiveIndicatorBackgroundHover, _styledComponents.stepsTokens.contentColor, _styledComponents.stepsTokens.disabledOpacity)
|
17
|
+
"default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--text-primary);\n ", ": var(--text-primary-hover);\n ", ": solid var(--surface-solid-default);\n ", ": var(--text-primary);\n ", ": var(--surface-clear);\n\n ", ": var(--inverse-text-primary);\n ", ": var(--inverse-text-primary);\n ", ": var(--surface-solid-default);\n ", ": var(--surface-solid-default-hover);\n\n ", ": var(--text-secondary);\n ", ": var(--text-secondary-hover);\n ", ": var(--text-secondary);\n ", ": var(--text-secondary);\n ", ": var(--surface-transparent-secondary);\n ", ": var(--surface-transparent-secondary-hover);\n\n ", ": var(--text-secondary);\n ", ": var(--surface-accent);\n\n ", ": 0.4;\n "])), _styledComponents.stepsTokens.activeTitleColor, _styledComponents.stepsTokens.activeTitleColorHover, _styledComponents.stepsTokens.activeIndicatorBorder, _styledComponents.stepsTokens.activeIndicatorColor, _styledComponents.stepsTokens.activeIndicatorBackground, _styledComponents.stepsTokens.completedIndicatorColor, _styledComponents.stepsTokens.completedIndicatorColorHover, _styledComponents.stepsTokens.completedIndicatorBackground, _styledComponents.stepsTokens.completedIndicatorBackgroundHover, _styledComponents.stepsTokens.inactiveTitleColor, _styledComponents.stepsTokens.inactiveTitleColorHover, _styledComponents.stepsTokens.inactiveIndicatorColor, _styledComponents.stepsTokens.inactiveIndicatorColorHover, _styledComponents.stepsTokens.inactiveIndicatorBackground, _styledComponents.stepsTokens.inactiveIndicatorBackgroundHover, _styledComponents.stepsTokens.contentColor, _styledComponents.stepsTokens.focusColor, _styledComponents.stepsTokens.disabledOpacity)
|
18
18
|
},
|
19
19
|
size: {
|
20
20
|
l: /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 1.5rem;\n ", ": 2.25rem;\n ", ": 0.5rem;\n ", ": 1rem;\n\n ", ": 0.75rem;\n ", ": 0.375rem;\n ", ": 2rem;\n ", ": 1.0625rem;\n ", ": 0.75rem;\n\n ", ": 1rem;\n ", ": 0.625rem;\n ", ": 1.5rem;\n ", ": 1.25rem;\n\n ", ": var(--plasma-typo-body-xs-font-family);\n ", ": var(--plasma-typo-body-xs-font-size);\n ", ": var(--plasma-typo-body-xs-font-style);\n ", ": var(--plasma-typo-body-xs-font-weight);\n ", ": var(--plasma-typo-body-xs-letter-spacing);\n ", ": var(--plasma-typo-body-xs-line-height);\n\n ", ": var(--plasma-typo-body-s-font-family);\n ", ": var(--plasma-typo-body-s-font-size);\n ", ": var(--plasma-typo-body-s-font-style);\n ", ": var(--plasma-typo-body-s-font-weight);\n ", ": var(--plasma-typo-body-s-letter-spacing);\n ", ": var(--plasma-typo-body-s-line-height);\n\n ", ": var(--plasma-typo-body-l-font-family);\n ", ": var(--plasma-typo-body-l-font-size);\n ", ": var(--plasma-typo-body-l-font-style);\n ", ": var(--plasma-typo-body-l-font-weight);\n ", ": var(--plasma-typo-body-l-letter-spacing);\n ", ": var(--plasma-typo-body-l-line-height);\n\n ", ": var(--plasma-typo-body-m-font-family);\n ", ": var(--plasma-typo-body-m-font-size);\n ", ": var(--plasma-typo-body-m-font-style);\n ", ": var(--plasma-typo-body-m-font-weight);\n ", ": var(--plasma-typo-body-m-letter-spacing);\n ", ": var(--plasma-typo-body-m-line-height);\n\n ", ": 0.125rem;\n "])), _styledComponents.stepsTokens.indicatorSize, _styledComponents.stepsTokens.activeIndicatorSize, _styledComponents.stepsTokens.bulletSize, _styledComponents.stepsTokens.activeBulletSize, _styledComponents.stepsTokens.titlePaddingTop, _styledComponents.stepsTokens.contentPaddingTop, _styledComponents.stepsTokens.contentSidePadding, _styledComponents.stepsTokens.contentVerticalPadding, _styledComponents.stepsTokens.verticalContentPaddingLeft, _styledComponents.stepsTokens.smallIndicatorIndentHeight, _styledComponents.stepsTokens.largeIndicatorIndentHeight, _styledComponents.stepsTokens.smallBulletIndentHeight, _styledComponents.stepsTokens.largeBulletIndentHeight, _styledComponents.stepsTokens.indicatorFontFamily, _styledComponents.stepsTokens.indicatorFontSize, _styledComponents.stepsTokens.indicatorFontStyle, _styledComponents.stepsTokens.indicatorFontWeight, _styledComponents.stepsTokens.indicatorLetterSpacing, _styledComponents.stepsTokens.indicatorLineHeight, _styledComponents.stepsTokens.activeIndicatorFontFamily, _styledComponents.stepsTokens.activeIndicatorFontSize, _styledComponents.stepsTokens.activeIndicatorFontStyle, _styledComponents.stepsTokens.activeIndicatorFontWeight, _styledComponents.stepsTokens.activeIndicatorLetterSpacing, _styledComponents.stepsTokens.activeIndicatorLineHeight, _styledComponents.stepsTokens.titleFontFamily, _styledComponents.stepsTokens.titleFontSize, _styledComponents.stepsTokens.titleFontStyle, _styledComponents.stepsTokens.titleFontWeight, _styledComponents.stepsTokens.titleLetterSpacing, _styledComponents.stepsTokens.titleLineHeight, _styledComponents.stepsTokens.contentFontFamily, _styledComponents.stepsTokens.contentFontSize, _styledComponents.stepsTokens.contentFontStyle, _styledComponents.stepsTokens.contentFontWeight, _styledComponents.stepsTokens.contentLetterSpacing, _styledComponents.stepsTokens.contentLineHeight, _styledComponents.stepsTokens.dividerThickness),
|
@@ -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/styled-components").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/styled-components").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/styled-components").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/styled-components").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/styled-components").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/styled-components").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/styled-components").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/styled-components").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/styled-components").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/styled-components").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/styled-components").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/styled-components").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/styled-components").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/styled-components").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/styled-components").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/styled-components").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
|
678
678
|
status?: "" | "warning" | "success" | "error" | undefined;
|
679
679
|
label?: string | undefined;
|
680
680
|
labelPlacement?: "outer" | "inner" | undefined;
|
@@ -74,7 +74,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
74
74
|
onChangeChips?: undefined;
|
75
75
|
enumerationType?: "plain" | undefined;
|
76
76
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
77
|
-
} & Omit<import("@salutejs/plasma-new-hope/
|
77
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
78
78
|
size?: string | undefined;
|
79
79
|
view?: string | undefined;
|
80
80
|
readOnly?: boolean | undefined;
|
@@ -113,7 +113,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
113
113
|
onSearch?: undefined;
|
114
114
|
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
115
115
|
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
116
|
-
} & Omit<import("@salutejs/plasma-new-hope/
|
116
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
117
117
|
size?: string | undefined;
|
118
118
|
view?: string | undefined;
|
119
119
|
readOnly?: boolean | undefined;
|
@@ -152,7 +152,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
152
152
|
onChangeChips?: undefined;
|
153
153
|
enumerationType?: "plain" | undefined;
|
154
154
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
155
|
-
} & Omit<import("@salutejs/plasma-new-hope/
|
155
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
156
156
|
size?: string | undefined;
|
157
157
|
view?: string | undefined;
|
158
158
|
readOnly?: boolean | undefined;
|
@@ -191,7 +191,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
191
191
|
onSearch?: undefined;
|
192
192
|
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
193
193
|
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
194
|
-
} & Omit<import("@salutejs/plasma-new-hope/
|
194
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
195
195
|
size?: string | undefined;
|
196
196
|
view?: string | undefined;
|
197
197
|
readOnly?: boolean | undefined;
|
@@ -230,7 +230,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
230
230
|
onChangeChips?: undefined;
|
231
231
|
enumerationType?: "plain" | undefined;
|
232
232
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
233
|
-
} & Omit<import("@salutejs/plasma-new-hope/
|
233
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
234
234
|
size?: string | undefined;
|
235
235
|
view?: string | undefined;
|
236
236
|
readOnly?: boolean | undefined;
|
@@ -269,7 +269,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
269
269
|
onSearch?: undefined;
|
270
270
|
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
271
271
|
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
272
|
-
} & Omit<import("@salutejs/plasma-new-hope/
|
272
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
273
273
|
size?: string | undefined;
|
274
274
|
view?: string | undefined;
|
275
275
|
readOnly?: boolean | undefined;
|
@@ -308,7 +308,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
308
308
|
onChangeChips?: undefined;
|
309
309
|
enumerationType?: "plain" | undefined;
|
310
310
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
311
|
-
} & Omit<import("@salutejs/plasma-new-hope/
|
311
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
312
312
|
size?: string | undefined;
|
313
313
|
view?: string | undefined;
|
314
314
|
readOnly?: boolean | undefined;
|
@@ -347,7 +347,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
347
347
|
onSearch?: undefined;
|
348
348
|
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
349
349
|
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
350
|
-
} & Omit<import("@salutejs/plasma-new-hope/
|
350
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
351
351
|
size?: string | undefined;
|
352
352
|
view?: string | undefined;
|
353
353
|
readOnly?: boolean | undefined;
|
@@ -386,7 +386,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
386
386
|
onChangeChips?: undefined;
|
387
387
|
enumerationType?: "plain" | undefined;
|
388
388
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
389
|
-
} & Omit<import("@salutejs/plasma-new-hope/
|
389
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
390
390
|
size?: string | undefined;
|
391
391
|
view?: string | undefined;
|
392
392
|
readOnly?: boolean | undefined;
|
@@ -425,7 +425,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
425
425
|
onSearch?: undefined;
|
426
426
|
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
427
427
|
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
428
|
-
} & Omit<import("@salutejs/plasma-new-hope/
|
428
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
429
429
|
size?: string | undefined;
|
430
430
|
view?: string | undefined;
|
431
431
|
readOnly?: boolean | undefined;
|
@@ -464,7 +464,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
464
464
|
onChangeChips?: undefined;
|
465
465
|
enumerationType?: "plain" | undefined;
|
466
466
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
467
|
-
} & Omit<import("@salutejs/plasma-new-hope/
|
467
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
468
468
|
size?: string | undefined;
|
469
469
|
view?: string | undefined;
|
470
470
|
readOnly?: boolean | undefined;
|
@@ -503,7 +503,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
503
503
|
onSearch?: undefined;
|
504
504
|
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
505
505
|
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
506
|
-
} & Omit<import("@salutejs/plasma-new-hope/
|
506
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
507
507
|
size?: string | undefined;
|
508
508
|
view?: string | undefined;
|
509
509
|
readOnly?: boolean | undefined;
|
@@ -542,7 +542,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
542
542
|
onChangeChips?: undefined;
|
543
543
|
enumerationType?: "plain" | undefined;
|
544
544
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
545
|
-
} & Omit<import("@salutejs/plasma-new-hope/
|
545
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
546
546
|
size?: string | undefined;
|
547
547
|
view?: string | undefined;
|
548
548
|
readOnly?: boolean | undefined;
|
@@ -581,7 +581,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
581
581
|
onSearch?: undefined;
|
582
582
|
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
583
583
|
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
584
|
-
} & Omit<import("@salutejs/plasma-new-hope/
|
584
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
585
585
|
size?: string | undefined;
|
586
586
|
view?: string | undefined;
|
587
587
|
readOnly?: boolean | undefined;
|
@@ -620,7 +620,7 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
620
620
|
onChangeChips?: undefined;
|
621
621
|
enumerationType?: "plain" | undefined;
|
622
622
|
onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
|
623
|
-
} & Omit<import("@salutejs/plasma-new-hope/
|
623
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
624
624
|
size?: string | undefined;
|
625
625
|
view?: string | undefined;
|
626
626
|
readOnly?: boolean | undefined;
|
@@ -659,4 +659,4 @@ export declare const TextField: import("react").FunctionComponent<import("@salut
|
|
659
659
|
onSearch?: undefined;
|
660
660
|
chips?: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
|
661
661
|
onChangeChips?: ((value: import("@salutejs/plasma-new-hope/types/components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
|
662
|
-
} & Omit<import("@salutejs/plasma-new-hope/
|
662
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>))>;
|
@@ -1,4 +1,13 @@
|
|
1
|
-
|
1
|
+
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); }
|
2
|
+
import { comboboxNewConfig, component, mergeConfig, fixedForwardRef } from '@salutejs/plasma-new-hope/styled-components';
|
3
|
+
import React from 'react';
|
2
4
|
import { config } from './Combobox.config';
|
3
5
|
var mergedConfig = /*#__PURE__*/mergeConfig(comboboxNewConfig, config);
|
4
|
-
|
6
|
+
var ComboboxNew = /*#__PURE__*/component(mergedConfig);
|
7
|
+
var ComboboxComponent = function ComboboxComponent(props, ref) {
|
8
|
+
return /*#__PURE__*/React.createElement(ComboboxNew, _extends({
|
9
|
+
ref: ref
|
10
|
+
}, props));
|
11
|
+
};
|
12
|
+
var Combobox = /*#__PURE__*/fixedForwardRef(ComboboxComponent);
|
13
|
+
export { Combobox };
|