@salutejs/sdds-cs 0.351.0-canary.2717.24710516640.0 → 0.351.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,6 @@ Object.defineProperty(exports, "Button", {
10
10
  });
11
11
  var _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
12
12
  var _emotion = require("@salutejs/plasma-new-hope/emotion");
13
- var _plasmanewhope = require("@salutejs/plasma-new-hope");
14
13
  var _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
15
14
  var _Buttonconfig = require("./Button.config");
16
15
  function _array_like_to_array(arr, len) {
@@ -179,10 +178,10 @@ var mergedConfig = (0, _emotion.mergeConfig)(_emotion.buttonConfig, _Buttonconfi
179
178
  var ButtonComponent = (0, _emotion.component)(mergedConfig);
180
179
  // INFO: Данное поведение запрошено продуктом/командой `sdds-cs`
181
180
  var StyledButton = /*#__PURE__*/ (0, _styled.default)(ButtonComponent, {
182
- target: "e19yzswk0",
181
+ target: "embbk120",
183
182
  label: "StyledButton"
184
- })("&&.", String(_emotion.buttonClasses.buttonLoading), "{color:var(", _emotion.buttonTokens.buttonColorActive, ",var(", _emotion.buttonTokens.buttonColor, "));background:var(", _emotion.buttonTokens.buttonBackgroundColorActive, ",var(", _emotion.buttonTokens.buttonBackgroundColor, "));pointer-events:none;}", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjL2NvbXBvbmVudHMvQnV0dG9uL0J1dHRvbi50c3giLCJzb3VyY2VzIjpbInNyYy9jb21wb25lbnRzL0J1dHRvbi9CdXR0b24udHN4Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyBDb21wb25lbnRQcm9wcywgdXNlQ2FsbGJhY2ssIE1vdXNlRXZlbnQsIGZvcndhcmRSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBidXR0b25Db25maWcsIGNvb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bkJhY2tncm91bmRDb2xvcn0pKTtcblxuICAgICAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgICB9XG5gO1xuXG4vKipcbiAqINCa0L3QvtC/0LrQsC5cbiAqL1xuZXhwb3J0IGNvbnN0IEJ1dHRvbiA9IG1ha2VQb2x5bW9ycGhpYyhcbiAgICBmb3J3YXJkUmVmPE9taXQ8SFRNTEJ1dHRvbkVsZW1lbnQsICd2YWx1ZSc+LCBCdXR0b25Qcm9wcz4oKHsgb25DbGljaywgaXNMb2FkaW5nLCB2YWx1ZSwgLi4ucHJvcHMgfSwgcmVmKSA9PiB7XG4gICAgICAgIGNvbnN0IGhhbmRsZUNsaWNrID0gdXNlQ2FsbGJhY2soXG4gICAgICAgICAgICAoZXZlbnQ6IE1vdXNlRXZlbnQ8SFRNTEJ1dHRvbkVsZW1lbnQ+KSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKCFpc0xvYWRpbmcpIHtcbiAgICAgICAgICAgICAgICAgICAgb25DbGljaz8uKGV2ZW50KTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgW2lzTG9hZGluZywgb25DbGlja10sXG4gICAgICAgICk7XG5cbiAgICAgICAgLy8gQHRzLWlnbm9yZVxuICAgICAgICByZXR1cm4gPFN0eWxlZEJ1dHRvbiB2YWx1ZT17dmFsdWV9IHJlZj17cmVmfSBvbkNsaWNrPXtoYW5kbGVDbGlja30gaXNMb2FkaW5nPXtpc0xvYWRpbmd9IHsuLi5wcm9wc30gLz47XG4gICAgfSksXG4gICAgJ2J1dHRvbicsXG4pO1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWFxQiJ9 */");
185
- var Button = (0, _plasmanewhope.makePolymorphic)(/*#__PURE__*/ (0, _react.forwardRef)(function(_0, _1) {
183
+ })("&&.", String(_emotion.buttonClasses.buttonLoading), "{color:var(", _emotion.buttonTokens.buttonColorActive, ",var(", _emotion.buttonTokens.buttonColor, "));background:var(", _emotion.buttonTokens.buttonBackgroundColorActive, ",var(", _emotion.buttonTokens.buttonBackgroundColor, "));pointer-events:none;}", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjL2NvbXBvbmVudHMvQnV0dG9uL0J1dHRvbi50c3giLCJzb3VyY2VzIjpbInNyYy9jb21wb25lbnRzL0J1dHRvbi9CdXR0b24udHN4Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyBDb21wb25lbnRQcm9wcywgdXNlQ2FsbGJhY2ssIE1vdXNlRXZlbnQsIGZvcndhcmRSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBidXR0b25Db25maWcsIGNvbXBvbmVudCwgbWVyZ2VDb25maWcsIGJ1dHRvbkNsYXNzZXMsIGJ1dHRvblRva2VucyB9IGZyb20gJ0BzYWx1dGVqcy9wbGFzbWEtbmV3LWhvcGUvZW1vdGlvbic7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbmZpZyB9IGZyb20gJy4vQnV0dG9uLmNvbmZpZyc7XG5cbmNvbnN0IG1lcmdlZENvbmZpZyA9IG1lcmdlQ29uZmlnKGJ1dHRvbkNvbmZpZywgY29uZmlnKTtcbmNvbnN0IEJ1dHRvbkNvbXBvbmVudCA9IGNvbXBvbmVudChtZXJnZWRDb25maWcpO1xuXG5leHBvcnQgdHlwZSBCdXR0b25Qcm9wcyA9IENvbXBvbmVudFByb3BzPHR5cGVvZiBCdXR0b25Db21wb25lbnQ+O1xuXG4vLyBJTkZPOiDQlNCw0L3QvdC+0LUg0L/QvtCy0LXQtNC10L3QuNC1INC30LDQv9GA0L7RiNC10L3QviDQv9GA0L7QtNGD0LrRgtC+0Lwv0LrQvtC80LDQvdC00L7QuSBgc2Rkcy1jc2BcbmNvbnN0IFN0eWxlZEJ1dHRvbiA9IHN0eWxlZCh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kbGVDbGlja30gaXNMb2FkaW5nPXtpc0xvYWRpbmd9IHsuLi5wcm9wc30gLz47XG4gICAgfSxcbik7XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWXFCIn0= */");
184
+ var Button = /*#__PURE__*/ (0, _react.forwardRef)(function(_0, _1) {
186
185
  var _ref = [
187
186
  _0,
188
187
  _1
@@ -206,4 +205,4 @@ var Button = (0, _plasmanewhope.makePolymorphic)(/*#__PURE__*/ (0, _react.forwar
206
205
  onClick: handleClick,
207
206
  isLoading: isLoading
208
207
  }, props));
209
- }), 'button');
208
+ });
@@ -116,19 +116,18 @@ function _unsupported_iterable_to_array(o, minLen) {
116
116
  }
117
117
  import React, { useCallback, forwardRef } from 'react';
118
118
  import { buttonConfig, component, mergeConfig, buttonClasses, buttonTokens } from '@salutejs/plasma-new-hope/emotion';
119
- import { makePolymorphic } from '@salutejs/plasma-new-hope';
120
119
  import styled from '@emotion/styled';
121
120
  import { config } from './Button.config';
122
121
  var mergedConfig = mergeConfig(buttonConfig, config);
123
122
  var ButtonComponent = component(mergedConfig);
124
123
  // INFO: Данное поведение запрошено продуктом/командой `sdds-cs`
125
124
  var StyledButton = /*#__PURE__*/ styled(ButtonComponent, {
126
- target: "e19yzswk0",
125
+ target: "embbk120",
127
126
  label: "StyledButton"
128
- })("&&.", String(buttonClasses.buttonLoading), "{color:var(", buttonTokens.buttonColorActive, ",var(", buttonTokens.buttonColor, "));background:var(", buttonTokens.buttonBackgroundColorActive, ",var(", buttonTokens.buttonBackgroundColor, "));pointer-events:none;}", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjL2NvbXBvbmVudHMvQnV0dG9uL0J1dHRvbi50c3giLCJzb3VyY2VzIjpbInNyYy9jb21wb25lbnRzL0J1dHRvbi9CdXR0b24udHN4Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyBDb21wb25lbnRQcm9wcywgdXN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iB2YXIoJHtidXR0b25Ub2tlbnMuYnV0dG9uQmFja2dyb3VuZENvbG9yQWN0aXZlfSwgdmFyKCR7YnV0dG9uVG9rZW5zLmJ1dHRvbkJhY2tncm91bmRDb2xvcn0pKTtcblxuICAgICAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgICB9XG5gO1xuXG4vKipcbiAqINCa0L3QvtC/0LrQsC5cbiAqL1xuZXhwb3J0IGNvbnN0IEJ1dHRvbiA9IG1ha2VQb2x5bW9ycGhpYyhcbiAgICBmb3J3YXJkUmVmPE9taXQ8SFRNTEJ1dHRvbkVsZW1lbnQsICd2YWx1ZSc+LCBCdXR0b25Qcm9wcz4oKHsgb25DbGljaywgaXNMb2FkaW5nLCB2YWx1ZSwgLi4ucHJvcHMgfSwgcmVmKSA9PiB7XG4gICAgICAgIGNvbnN0IGhhbmRsZUNsaWNrID0gdXNlQ2FsbGJhY2soXG4gICAgICAgICAgICAoZXZlbnQ6IE1vdXNlRXZlbnQ8SFRNTEJ1dHRvbkVsZW1lbnQ+KSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKCFpc0xvYWRpbmcpIHtcbiAgICAgICAgICAgICAgICAgICAgb25DbGljaz8uKGV2ZW50KTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgW2lzTG9hZGluZywgb25DbGlja10sXG4gICAgICAgICk7XG5cbiAgICAgICAgLy8gQHRzLWlnbm9yZVxuICAgICAgICByZXR1cm4gPFN0eWxlZEJ1dHRvbiB2YWx1ZT17dmFsdWV9IHJlZj17cmVmfSBvbkNsaWNrPXtoYW5kbGVDbGlja30gaXNMb2FkaW5nPXtpc0xvYWRpbmd9IHsuLi5wcm9wc30gLz47XG4gICAgfSksXG4gICAgJ2J1dHRvbicsXG4pO1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWFxQiJ9 */");
127
+ })("&&.", String(buttonClasses.buttonLoading), "{color:var(", buttonTokens.buttonColorActive, ",var(", buttonTokens.buttonColor, "));background:var(", buttonTokens.buttonBackgroundColorActive, ",var(", buttonTokens.buttonBackgroundColor, "));pointer-events:none;}", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjL2NvbXBvbmVudHMvQnV0dG9uL0J1dHRvbi50c3giLCJzb3VyY2VzIjpbInNyYy9jb21wb25lbnRzL0J1dHRvbi9CdXR0b24udHN4Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyBDb21wb25lbnRQcm9wcywgdXNlQ2FsbGJhY2ssIE1vdXNlRXZlbnQsIGZvcndhcmRSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBidXR0b25Db25maWcsIGNvbXBvbmVudCwgbWVyZ2VDb25maWcsIGJ1dHRvbkNsYXNzZXMsIGJ1dHRvblRva2VucyB9IGZyb20gJ0BzYWx1dGVqcy9wbGFzbWEtbmV3LWhvcGUvZW1vdGlvbic7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IGNvbmZpZyB9IGZyb20gJy4vQnV0dG9uLmNvbmZpZyc7XG5cbmNvbnN0IG1lcmdlZENvbmZpZyA9IG1lcmdlQ29uZmlnKGJ1dHRvbkNvbmZpZywgY29uZmlnKTtcbmNvbnN0IEJ1dHRvbkNvbXBvbmVudCA9IGNvbXBvbmVudChtZXJnZWRDb25maWcpO1xuXG5leHBvcnQgdHlwZSBCdXR0b25Qcm9wcyA9IENvbXBvbmVudFByb3BzPHR5cGVvZiBCdXR0b25Db21wb25lbnQ+O1xuXG4vLyBJTkZPOiDQlNCw0L3QvdC+0LUg0L/QvtCy0LXQtNC10L3QuNC1INC30LDQv9GA0L7RiNC10L3QviDQv9GA0L7QtNGD0LrRgtC+0Lwv0LrQvtC80LDQvdC00L7QuSBgc2Rkcy1jc2BcbmNvbnN0IFN0eWxlZEJ1dHRvbiA9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WNrPXtoYW5kbGVDbGlja30gaXNMb2FkaW5nPXtpc0xvYWRpbmd9IHsuLi5wcm9wc30gLz47XG4gICAgfSxcbik7XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWXFCIn0= */");
129
128
  /**
130
129
  * Кнопка.
131
- */ export var Button = makePolymorphic(/*#__PURE__*/ forwardRef(function(_0, _1) {
130
+ */ export var Button = /*#__PURE__*/ forwardRef(function(_0, _1) {
132
131
  var _ref = [
133
132
  _0,
134
133
  _1
@@ -152,4 +151,4 @@ var StyledButton = /*#__PURE__*/ styled(ButtonComponent, {
152
151
  onClick: handleClick,
153
152
  isLoading: isLoading
154
153
  }, props));
155
- }), 'button');
154
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/sdds-cs",
3
- "version": "0.351.0-canary.2717.24710516640.0",
3
+ "version": "0.351.0",
4
4
  "description": "Salute Design System / React UI kit for SDDS CS web applications",
5
5
  "author": "Salute Frontend Team <salute.developers@gmail.com>",
6
6
  "exports": {
@@ -32,8 +32,8 @@
32
32
  "directory": "packages/sdds-cs"
33
33
  },
34
34
  "dependencies": {
35
- "@salutejs/plasma-new-hope": "0.359.0-canary.2717.24710516640.0",
36
- "@salutejs/sdds-themes": "0.63.0-canary.2717.24710516640.0"
35
+ "@salutejs/plasma-new-hope": "0.359.0",
36
+ "@salutejs/sdds-themes": "0.62.0"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@emotion/react": ">=11",
@@ -56,10 +56,10 @@
56
56
  "@microsoft/api-extractor": "7.38.3",
57
57
  "@originjs/vite-plugin-commonjs": "1.0.3",
58
58
  "@salutejs/plasma-colors": "0.16.0",
59
- "@salutejs/plasma-core": "1.224.0-canary.2717.24710516640.0",
60
- "@salutejs/plasma-cy-utils": "0.154.0-canary.2717.24710516640.0",
61
- "@salutejs/plasma-icons": "1.236.0-canary.2717.24710516640.0",
62
- "@salutejs/plasma-sb-utils": "0.224.0-canary.2717.24710516640.0",
59
+ "@salutejs/plasma-core": "1.223.0",
60
+ "@salutejs/plasma-cy-utils": "0.153.0",
61
+ "@salutejs/plasma-icons": "1.235.0",
62
+ "@salutejs/plasma-sb-utils": "0.223.0",
63
63
  "@types/node": "16.7.13",
64
64
  "@types/react": "18.0.28",
65
65
  "@types/react-dom": "18.0.11",
@@ -107,5 +107,5 @@
107
107
  "Anton Vinogradov"
108
108
  ],
109
109
  "sideEffects": false,
110
- "gitHead": "ec757c8349512a57c6993cd2ee1681887a7a6833"
110
+ "gitHead": "a7cba4d3017687e2fef71219f5740b5dc2fd8c81"
111
111
  }
@@ -14,7 +14,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
14
14
  size: {
15
15
  s: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
16
16
  };
17
- }> & ((Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
17
+ }> & ((Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
18
18
  text?: string;
19
19
  contentLeft?: import("react").ReactNode;
20
20
  contentPlacing?: "default" | "relaxed";
@@ -53,7 +53,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
53
53
  dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types.js").DropdownOptions;
54
54
  } & {
55
55
  buttonType?: "button";
56
- } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
56
+ } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
57
57
  text?: string;
58
58
  contentLeft?: import("react").ReactNode;
59
59
  contentPlacing?: "default" | "relaxed";
@@ -95,7 +95,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
95
95
  } & {
96
96
  value?: never;
97
97
  contentRight?: import("react").ReactNode;
98
- } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
98
+ } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
99
99
  text?: string;
100
100
  contentLeft?: import("react").ReactNode;
101
101
  contentPlacing?: "default" | "relaxed";
@@ -135,7 +135,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
135
135
  } & {
136
136
  buttonType?: "iconButton";
137
137
  icon?: React.ReactNode;
138
- } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
138
+ } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
139
139
  text?: string;
140
140
  contentLeft?: import("react").ReactNode;
141
141
  contentPlacing?: "default" | "relaxed";
@@ -178,7 +178,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
178
178
  } & {
179
179
  value?: never;
180
180
  contentRight?: import("react").ReactNode;
181
- } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
181
+ } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
182
182
  text?: string;
183
183
  contentLeft?: import("react").ReactNode;
184
184
  contentPlacing?: "default" | "relaxed";
@@ -217,7 +217,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
217
217
  dropdownOptions?: never;
218
218
  } & {
219
219
  buttonType?: "button";
220
- } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
220
+ } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
221
221
  text?: string;
222
222
  contentLeft?: import("react").ReactNode;
223
223
  contentPlacing?: "default" | "relaxed";
@@ -259,7 +259,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
259
259
  } & {
260
260
  value?: never;
261
261
  contentRight?: import("react").ReactNode;
262
- } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
262
+ } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
263
263
  text?: string;
264
264
  contentLeft?: import("react").ReactNode;
265
265
  contentPlacing?: "default" | "relaxed";
@@ -299,7 +299,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
299
299
  } & {
300
300
  buttonType?: "iconButton";
301
301
  icon?: React.ReactNode;
302
- } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
302
+ } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
303
303
  text?: string;
304
304
  contentLeft?: import("react").ReactNode;
305
305
  contentPlacing?: "default" | "relaxed";
@@ -342,7 +342,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
342
342
  } & {
343
343
  value?: never;
344
344
  contentRight?: import("react").ReactNode;
345
- } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
345
+ } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
346
346
  text?: string;
347
347
  contentLeft?: import("react").ReactNode;
348
348
  contentPlacing?: "default" | "relaxed";
@@ -384,7 +384,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
384
384
  } & {
385
385
  value?: string | number;
386
386
  contentRight?: never;
387
- } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
387
+ } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
388
388
  text?: string;
389
389
  contentLeft?: import("react").ReactNode;
390
390
  contentPlacing?: "default" | "relaxed";
@@ -423,7 +423,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
423
423
  dropdownOptions?: import("@salutejs/plasma-new-hope/types/components/Attach/Attach.types.js").DropdownOptions;
424
424
  } & {
425
425
  buttonType?: "button";
426
- } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
426
+ } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
427
427
  text?: string;
428
428
  contentLeft?: import("react").ReactNode;
429
429
  contentPlacing?: "default" | "relaxed";
@@ -466,7 +466,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
466
466
  } & {
467
467
  value?: string | number;
468
468
  contentRight?: never;
469
- } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
469
+ } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
470
470
  text?: string;
471
471
  contentLeft?: import("react").ReactNode;
472
472
  contentPlacing?: "default" | "relaxed";
@@ -506,7 +506,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
506
506
  } & {
507
507
  buttonType?: "iconButton";
508
508
  icon?: React.ReactNode;
509
- } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
509
+ } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
510
510
  text?: string;
511
511
  contentLeft?: import("react").ReactNode;
512
512
  contentPlacing?: "default" | "relaxed";
@@ -548,7 +548,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
548
548
  } & {
549
549
  value?: string | number;
550
550
  contentRight?: never;
551
- } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
551
+ } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
552
552
  text?: string;
553
553
  contentLeft?: import("react").ReactNode;
554
554
  contentPlacing?: "default" | "relaxed";
@@ -587,7 +587,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
587
587
  dropdownOptions?: never;
588
588
  } & {
589
589
  buttonType?: "button";
590
- } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
590
+ } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
591
591
  text?: string;
592
592
  contentLeft?: import("react").ReactNode;
593
593
  contentPlacing?: "default" | "relaxed";
@@ -630,7 +630,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
630
630
  } & {
631
631
  value?: string | number;
632
632
  contentRight?: never;
633
- } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
633
+ } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
634
634
  text?: string;
635
635
  contentLeft?: import("react").ReactNode;
636
636
  contentPlacing?: "default" | "relaxed";
@@ -17,7 +17,7 @@ declare const ButtonComponent: React.FunctionComponent<import("@salutejs/plasma-
17
17
  filled: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
18
18
  fixed: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
19
19
  };
20
- }> & ((Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
20
+ }> & ((Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
21
21
  text?: string;
22
22
  contentLeft?: React.ReactNode;
23
23
  contentPlacing?: "default" | "relaxed";
@@ -40,7 +40,7 @@ declare const ButtonComponent: React.FunctionComponent<import("@salutejs/plasma-
40
40
  } & {
41
41
  value?: string | number;
42
42
  contentRight?: never;
43
- } & React.RefAttributes<HTMLButtonElement>) | (Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
43
+ } & React.RefAttributes<HTMLButtonElement>) | (Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
44
44
  text?: string;
45
45
  contentLeft?: React.ReactNode;
46
46
  contentPlacing?: "default" | "relaxed";
@@ -68,7 +68,7 @@ export type ButtonProps = ComponentProps<typeof ButtonComponent>;
68
68
  /**
69
69
  * Кнопка.
70
70
  */
71
- export declare const Button: import("@salutejs/plasma-new-hope/emotion").MakePolymorphic<React.ForwardRefExoticComponent<(Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
71
+ export declare const Button: React.ForwardRefExoticComponent<(Omit<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
72
72
  view: {
73
73
  accent: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
74
74
  secondary: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
@@ -86,7 +86,7 @@ export declare const Button: import("@salutejs/plasma-new-hope/emotion").MakePol
86
86
  filled: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
87
87
  fixed: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
88
88
  };
89
- }> & Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
89
+ }> & Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
90
90
  text?: string;
91
91
  contentLeft?: React.ReactNode;
92
92
  contentPlacing?: "default" | "relaxed";
@@ -127,7 +127,7 @@ export declare const Button: import("@salutejs/plasma-new-hope/emotion").MakePol
127
127
  filled: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
128
128
  fixed: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
129
129
  };
130
- }> & Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
130
+ }> & Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
131
131
  text?: string;
132
132
  contentLeft?: React.ReactNode;
133
133
  contentPlacing?: "default" | "relaxed";
@@ -150,5 +150,5 @@ export declare const Button: import("@salutejs/plasma-new-hope/emotion").MakePol
150
150
  } & {
151
151
  value?: never;
152
152
  contentRight?: React.ReactNode;
153
- } & React.RefAttributes<HTMLButtonElement>, "ref">) & React.RefAttributes<Omit<HTMLButtonElement, "value">>>, "button">;
153
+ } & React.RefAttributes<HTMLButtonElement>, "ref">) & React.RefAttributes<Omit<HTMLButtonElement, "value">>>;
154
154
  export {};
@@ -83,7 +83,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
83
83
  hintOffset?: [number, number];
84
84
  hintWidth?: string;
85
85
  hintContentLeft?: React.ReactNode;
86
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
86
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
87
87
  items: ComboboxItemOption[];
88
88
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
89
89
  placeholder?: string;
@@ -147,7 +147,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
147
147
  hintOffset?: never;
148
148
  hintWidth?: never;
149
149
  hintContentLeft?: never;
150
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
150
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
151
151
  items: ComboboxItemOption[];
152
152
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
153
153
  placeholder?: string;
@@ -211,7 +211,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
211
211
  hintOffset?: [number, number];
212
212
  hintWidth?: string;
213
213
  hintContentLeft?: React.ReactNode;
214
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
214
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
215
215
  items: ComboboxItemOption[];
216
216
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
217
217
  placeholder?: string;
@@ -275,7 +275,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
275
275
  hintOffset?: never;
276
276
  hintWidth?: never;
277
277
  hintContentLeft?: never;
278
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
278
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
279
279
  items: ComboboxItemOption[];
280
280
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
281
281
  placeholder?: string;
@@ -339,7 +339,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
339
339
  hintOffset?: [number, number];
340
340
  hintWidth?: string;
341
341
  hintContentLeft?: React.ReactNode;
342
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
342
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
343
343
  items: ComboboxItemOption[];
344
344
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
345
345
  placeholder?: string;
@@ -403,7 +403,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
403
403
  hintOffset?: never;
404
404
  hintWidth?: never;
405
405
  hintContentLeft?: never;
406
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
406
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
407
407
  items: ComboboxItemOption[];
408
408
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
409
409
  placeholder?: string;
@@ -467,7 +467,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
467
467
  hintOffset?: [number, number];
468
468
  hintWidth?: string;
469
469
  hintContentLeft?: React.ReactNode;
470
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
470
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
471
471
  items: ComboboxItemOption[];
472
472
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
473
473
  placeholder?: string;
@@ -531,7 +531,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
531
531
  hintOffset?: never;
532
532
  hintWidth?: never;
533
533
  hintContentLeft?: never;
534
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
534
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
535
535
  items: ComboboxItemOption[];
536
536
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
537
537
  placeholder?: string;
@@ -595,7 +595,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
595
595
  hintOffset?: [number, number];
596
596
  hintWidth?: string;
597
597
  hintContentLeft?: React.ReactNode;
598
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
598
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
599
599
  items: ComboboxItemOption[];
600
600
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
601
601
  placeholder?: string;
@@ -659,7 +659,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
659
659
  hintOffset?: never;
660
660
  hintWidth?: never;
661
661
  hintContentLeft?: never;
662
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
662
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
663
663
  items: ComboboxItemOption[];
664
664
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
665
665
  placeholder?: string;
@@ -723,7 +723,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
723
723
  hintOffset?: [number, number];
724
724
  hintWidth?: string;
725
725
  hintContentLeft?: React.ReactNode;
726
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
726
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
727
727
  items: ComboboxItemOption[];
728
728
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
729
729
  placeholder?: string;
@@ -787,7 +787,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
787
787
  hintOffset?: never;
788
788
  hintWidth?: never;
789
789
  hintContentLeft?: never;
790
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
790
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
791
791
  items: ComboboxItemOption[];
792
792
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
793
793
  placeholder?: string;
@@ -851,7 +851,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
851
851
  hintOffset?: [number, number];
852
852
  hintWidth?: string;
853
853
  hintContentLeft?: React.ReactNode;
854
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
854
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
855
855
  items: ComboboxItemOption[];
856
856
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
857
857
  placeholder?: string;
@@ -915,7 +915,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
915
915
  hintOffset?: never;
916
916
  hintWidth?: never;
917
917
  hintContentLeft?: never;
918
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
918
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
919
919
  items: ComboboxItemOption[];
920
920
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
921
921
  placeholder?: string;
@@ -979,7 +979,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
979
979
  hintOffset?: [number, number];
980
980
  hintWidth?: string;
981
981
  hintContentLeft?: React.ReactNode;
982
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
982
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
983
983
  items: ComboboxItemOption[];
984
984
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
985
985
  placeholder?: string;
@@ -1043,7 +1043,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1043
1043
  hintOffset?: never;
1044
1044
  hintWidth?: never;
1045
1045
  hintContentLeft?: never;
1046
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1046
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1047
1047
  items: ComboboxItemOption[];
1048
1048
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
1049
1049
  placeholder?: string;
@@ -1107,7 +1107,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1107
1107
  hintOffset?: [number, number];
1108
1108
  hintWidth?: string;
1109
1109
  hintContentLeft?: React.ReactNode;
1110
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1110
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1111
1111
  items: ComboboxItemOption[];
1112
1112
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
1113
1113
  placeholder?: string;
@@ -1171,7 +1171,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1171
1171
  hintOffset?: never;
1172
1172
  hintWidth?: never;
1173
1173
  hintContentLeft?: never;
1174
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1174
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1175
1175
  items: ComboboxItemOption[];
1176
1176
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
1177
1177
  placeholder?: string;
@@ -1235,7 +1235,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1235
1235
  hintOffset?: [number, number];
1236
1236
  hintWidth?: string;
1237
1237
  hintContentLeft?: React.ReactNode;
1238
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1238
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1239
1239
  items: ComboboxItemOption[];
1240
1240
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
1241
1241
  placeholder?: string;
@@ -1299,7 +1299,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1299
1299
  hintOffset?: never;
1300
1300
  hintWidth?: never;
1301
1301
  hintContentLeft?: never;
1302
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1302
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1303
1303
  items: ComboboxItemOption[];
1304
1304
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
1305
1305
  placeholder?: string;
@@ -1363,7 +1363,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1363
1363
  hintOffset?: [number, number];
1364
1364
  hintWidth?: string;
1365
1365
  hintContentLeft?: React.ReactNode;
1366
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1366
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1367
1367
  items: ComboboxItemOption[];
1368
1368
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
1369
1369
  placeholder?: string;
@@ -1427,7 +1427,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1427
1427
  hintOffset?: never;
1428
1428
  hintWidth?: never;
1429
1429
  hintContentLeft?: never;
1430
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1430
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1431
1431
  items: ComboboxItemOption[];
1432
1432
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
1433
1433
  placeholder?: string;
@@ -1491,7 +1491,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1491
1491
  hintOffset?: [number, number];
1492
1492
  hintWidth?: string;
1493
1493
  hintContentLeft?: React.ReactNode;
1494
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1494
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
1495
1495
  items: ComboboxItemOption[];
1496
1496
  placement?: import("@salutejs/plasma-new-hope/types/components/Combobox/ComboboxNew/Combobox.types.js").Placement;
1497
1497
  placeholder?: string;
@@ -1555,7 +1555,7 @@ declare const ComboboxNew: React.FunctionComponent<import("@salutejs/plasma-new-
1555
1555
  hintOffset?: never;
1556
1556
  hintWidth?: never;
1557
1557
  hintContentLeft?: never;
1558
- } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>))>;
1558
+ } & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "defaultValue" | "onScroll" | "name" | "value"> & React.RefAttributes<HTMLInputElement>))>;
1559
1559
  type PropsFromConfig = keyof typeof config['variations'];
1560
1560
  export type Props<T extends ComboboxItemOption> = DistributiveOmit<ComboboxProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof ComboboxNew>, PropsFromConfig>;
1561
1561
  declare const Combobox: <T extends ComboboxItemOption>(props: Props<T> & React.RefAttributes<HTMLInputElement>) => React.ReactElement | null;
@@ -16,7 +16,7 @@ export declare const IconButton: import("react").FunctionComponent<import("@salu
16
16
  focused: {
17
17
  true: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
18
18
  };
19
- }> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
19
+ }> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
20
20
  text?: string;
21
21
  contentLeft?: import("react").ReactNode;
22
22
  contentPlacing?: "default" | "relaxed";
@@ -39,7 +39,7 @@ export declare const IconButton: import("react").FunctionComponent<import("@salu
39
39
  } & {
40
40
  value?: string | number;
41
41
  contentRight?: never;
42
- } & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
42
+ } & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/emotion").AsProps & {
43
43
  text?: string;
44
44
  contentLeft?: import("react").ReactNode;
45
45
  contentPlacing?: "default" | "relaxed";