@salutejs/sdds-finportal 0.166.0-canary.1539.11802074105.0 → 0.166.0-canary.1550.11801015277.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,6 @@
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
- };
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: any;
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/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;
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/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;
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/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;
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,33 +80,33 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope, "
73
80
  multiselect?: true | undefined;
74
81
  separator?: string | undefined;
75
82
  } & {
76
- value: any;
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/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;
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/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;
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/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;
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
111
  target?: "button-like" | undefined;
105
112
  view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | undefined;
@@ -111,33 +118,33 @@ declare const Select: React.ForwardRefExoticComponent<Omit<SelectPropsNewHope, "
111
118
  multiselect?: false | undefined;
112
119
  separator?: undefined;
113
120
  } & {
114
- value: any;
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/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;
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/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;
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/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;
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
149
  target?: "button-like" | undefined;
143
150
  view?: "default" | "accent" | "secondary" | "positive" | "warning" | "negative" | "clear" | "dark" | "black" | "white" | 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: any;
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/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;
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/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;
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/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;
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
- } & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "nonce" | "onResize" | "onResizeCapture" | "value"> & React.RefAttributes<HTMLButtonElement>)), "view" | "size" | "chipView"> & React.RefAttributes<HTMLButtonElement>>;
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__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
8
+ var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
10
9
  var _Select = /*#__PURE__*/require("./Select.config");
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; }
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 Select = exports.Select = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
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);
@@ -2,19 +2,12 @@ export declare const config: {
2
2
  defaults: {
3
3
  view: string;
4
4
  size: string;
5
- toggleSize: string;
6
5
  labelPosition: string;
7
6
  focused: string;
8
7
  };
9
8
  variations: {
10
9
  size: {
11
- s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
12
10
  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;
18
11
  };
19
12
  view: {
20
13
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -5,34 +5,27 @@ 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, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
8
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4;
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',
15
14
  labelPosition: 'before',
16
15
  focused: 'true'
17
16
  },
18
17
  variations: {
19
18
  size: {
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)
19
+ m: /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--plasma-typo-body1-font-family);\n ", ": var(--plasma-typo-body1-font-style);\n ", ": var(--plasma-typo-body1-font-weight);\n ", ": var(--plasma-typo-body1-font-weight);\n ", ": var(--plasma-typo-body1-line-height);\n ", ": var(--plasma-typo-body1-font-size);\n ", ": var(--plasma-typo-body1-letter-spacing);\n ", ": 2.75rem;\n ", ": 1.75rem;\n ", ": calc(var(", ") / 2);\n ", ": 1.5rem;\n ", ": calc(var(", ") / 2);\n ", ": 0.125rem;\n ", ": 1.25;\n ", ": 0.75rem;\n "])), _styledComponents.switchTokens.fontFamily, _styledComponents.switchTokens.fontStyle, _styledComponents.switchTokens.fontWeight, _styledComponents.switchTokens.fontWeight, _styledComponents.switchTokens.lineHeight, _styledComponents.switchTokens.fontSize, _styledComponents.switchTokens.letterSpacing, _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, _styledComponents.switchTokens.labelOffset)
27
20
  },
28
21
  view: {
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)
22
+ "default": /*#__PURE__*/(0, _styledComponents.css)(_templateObject2 || (_templateObject2 = /*#__PURE__*/_taggedTemplateLiteral(["\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.trackBackgroundColorOn, _styledComponents.switchTokens.trackBackgroundColorOnHover, _styledComponents.switchTokens.trackBackgroundColorOff, _styledComponents.switchTokens.trackBackgroundColorOffHover, _styledComponents.switchTokens.thumbBackgroundColor, _styledComponents.switchTokens.thumbBoxShadow)
30
23
  },
31
24
  disabled: {
32
- "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), _styledComponents.switchTokens.disabledOpacity)
25
+ "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": 0.4;\n "])), _styledComponents.switchTokens.disabledOpacity)
33
26
  },
34
27
  focused: {
35
- "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject8 || (_templateObject8 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-accent);\n "])), _styledComponents.switchTokens.trackFocusColor)
28
+ "true": /*#__PURE__*/(0, _styledComponents.css)(_templateObject4 || (_templateObject4 = /*#__PURE__*/_taggedTemplateLiteral(["\n ", ": var(--surface-accent);\n "])), _styledComponents.switchTokens.trackFocusColor)
36
29
  }
37
30
  }
38
31
  };
@@ -1,13 +1,7 @@
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;
5
4
  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;
11
5
  };
12
6
  view: {
13
7
  default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
@@ -21,13 +15,7 @@ declare const SwitchComponent: import("react").FunctionComponent<import("@salute
21
15
  }> & import("@salutejs/plasma-new-hope/styled-components").SwitchProps & import("react").RefAttributes<HTMLInputElement>>;
22
16
  export declare const Switch: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
23
17
  size: {
24
- s: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
25
18
  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;
31
19
  };
32
20
  view: {
33
21
  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/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
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/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
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/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
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/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
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/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
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/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
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/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
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/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
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/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
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/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
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/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
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/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
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/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
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/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
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/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
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/types/types").TextareaHTMLAttributes<HTMLTextAreaElement>, "required" | "rows" | "cols"> & {
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;