@salutejs/sdds-cs 0.349.0-next-platform-ai.0 → 0.349.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.
- package/dist/beta/cjs/Popover/Popover.closeInner.config.js +89 -0
- package/dist/beta/cjs/Popover/Popover.closeNone.config.js +81 -0
- package/dist/beta/cjs/Popover/Popover.js +37 -0
- package/dist/beta/cjs/Popover/index.js +11 -0
- package/dist/beta/cjs/Tooltip/Tooltip.config.js +84 -0
- package/dist/beta/cjs/Tooltip/Tooltip.js +14 -0
- package/dist/beta/cjs/Tooltip/index.js +11 -0
- package/dist/beta/cjs/index.js +19 -0
- package/dist/beta/es/Popover/Popover.closeInner.config.js +79 -0
- package/dist/beta/es/Popover/Popover.closeNone.config.js +71 -0
- package/dist/beta/es/Popover/Popover.js +16 -0
- package/dist/beta/es/Popover/index.js +1 -0
- package/dist/beta/es/Tooltip/Tooltip.config.js +74 -0
- package/dist/beta/es/Tooltip/Tooltip.js +4 -0
- package/dist/beta/es/Tooltip/index.js +1 -0
- package/dist/beta/es/index.js +2 -0
- package/dist/beta/types/Popover/Popover.closeInner.config.d.ts +16 -0
- package/dist/beta/types/Popover/Popover.closeNone.config.d.ts +16 -0
- package/dist/beta/types/Popover/Popover.d.ts +30 -0
- package/dist/beta/types/Popover/index.d.ts +1 -0
- package/dist/beta/types/Tooltip/Tooltip.config.d.ts +15 -0
- package/dist/beta/types/Tooltip/Tooltip.d.ts +9 -0
- package/dist/beta/types/Tooltip/index.d.ts +1 -0
- package/dist/beta/types/index.d.ts +2 -0
- package/dist/emotion/cjs/components/Button/Button.js +3 -2
- package/dist/emotion/cjs/components/IconButton/IconButton.config.js +2 -2
- package/dist/emotion/cjs/components/NumberInput/NumberInput.config.js +16 -10
- package/dist/emotion/cjs/components/Spinner/Spinner.js +1 -1
- package/dist/emotion/cjs/components/Tokens/Colors/Colors.styles.js +13 -13
- package/dist/emotion/cjs/components/Tokens/NumberTokens/NumberTokens.styles.js +6 -6
- package/dist/emotion/cjs/components/Tokens/Typography/Typography.styles.js +17 -17
- package/dist/emotion/es/components/Button/Button.js +3 -2
- package/dist/emotion/es/components/IconButton/IconButton.config.js +2 -2
- package/dist/emotion/es/components/NumberInput/NumberInput.config.js +16 -10
- package/dist/emotion/es/components/Spinner/Spinner.js +1 -1
- package/dist/emotion/es/components/Tokens/Colors/Colors.styles.js +13 -13
- package/dist/emotion/es/components/Tokens/NumberTokens/NumberTokens.styles.js +6 -6
- package/dist/emotion/es/components/Tokens/Typography/Typography.styles.js +17 -17
- package/package.json +21 -17
- package/types/components/Accordion/Accordion.d.ts +1 -1
- package/types/components/Attach/Attach.d.ts +32 -32
- package/types/components/Autocomplete/Autocomplete.d.ts +13 -13
- package/types/components/Avatar/Avatar.d.ts +1 -1
- package/types/components/Avatar/index.d.ts +1 -1
- package/types/components/AvatarGroup/index.d.ts +1 -1
- package/types/components/Badge/index.d.ts +1 -1
- package/types/components/Breadcrumbs/index.d.ts +1 -1
- package/types/components/Button/Button.d.ts +8 -8
- package/types/components/ButtonBase/index.d.ts +1 -1
- package/types/components/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/types/components/ButtonGroup/index.d.ts +1 -1
- package/types/components/Calendar/Calendar.d.ts +3 -3
- package/types/components/Calendar/index.d.ts +1 -1
- package/types/components/Card/Card.d.ts +1 -1
- package/types/components/Card/index.d.ts +1 -1
- package/types/components/Carousel/Carousel.d.ts +1 -1
- package/types/components/Carousel/index.d.ts +1 -1
- package/types/components/Cell/index.d.ts +2 -2
- package/types/components/Chip/Chip.d.ts +1 -1
- package/types/components/Chip/index.d.ts +1 -1
- package/types/components/Combobox/Combobox.d.ts +60 -36
- package/types/components/Counter/index.d.ts +2 -2
- package/types/components/DatePicker/DatePicker.d.ts +11 -11
- package/types/components/DatePicker/index.d.ts +2 -2
- package/types/components/Divider/Divider.d.ts +1 -1
- package/types/components/Divider/index.d.ts +2 -2
- package/types/components/Drawer/Drawer.d.ts +2 -2
- package/types/components/Drawer/index.d.ts +1 -1
- package/types/components/EmptyState/EmptyState.d.ts +1 -1
- package/types/components/Flow/Flow.d.ts +1 -1
- package/types/components/Grid/Grid.d.ts +2 -2
- package/types/components/Grid/index.d.ts +1 -1
- package/types/components/IconButton/IconButton.d.ts +4 -4
- package/types/components/Image/Image.d.ts +1 -1
- package/types/components/Image/index.d.ts +1 -1
- package/types/components/Indicator/Indicator.d.ts +1 -1
- package/types/components/Indicator/index.d.ts +1 -1
- package/types/components/Mask/Mask.d.ts +12 -12
- package/types/components/Modal/index.d.ts +2 -2
- package/types/components/Notification/Notification.d.ts +2 -2
- package/types/components/Notification/index.d.ts +2 -2
- package/types/components/NumberFormat/index.d.ts +1 -1
- package/types/components/NumberInput/index.d.ts +1 -1
- package/types/components/Overlay/index.d.ts +2 -2
- package/types/components/Pagination/Pagination.d.ts +1 -1
- package/types/components/Pagination/index.d.ts +1 -1
- package/types/components/Popover/index.d.ts +1 -1
- package/types/components/Popup/index.d.ts +2 -2
- package/types/components/Portal/index.d.ts +2 -2
- package/types/components/Price/index.d.ts +1 -1
- package/types/components/Progress/Progress.d.ts +1 -1
- package/types/components/Progress/index.d.ts +1 -1
- package/types/components/Radiobox/Radiobox.d.ts +3 -3
- package/types/components/Range/Range.d.ts +18 -18
- package/types/components/Range/index.d.ts +2 -2
- package/types/components/Rating/index.d.ts +1 -1
- package/types/components/SSRProvider/index.d.ts +1 -1
- package/types/components/Segment/Segment.d.ts +2 -2
- package/types/components/Segment/index.d.ts +1 -1
- package/types/components/Select/Select.d.ts +50 -44
- package/types/components/Sheet/Sheet.d.ts +1 -1
- package/types/components/Sheet/index.d.ts +2 -2
- package/types/components/Skeleton/Skeleton.d.ts +3 -3
- package/types/components/Slider/Slider.d.ts +2 -2
- package/types/components/Slider/index.d.ts +1 -1
- package/types/components/Spinner/Spinner.d.ts +4 -2
- package/types/components/Steps/index.d.ts +1 -1
- package/types/components/Switch/Switch.d.ts +2 -2
- package/types/components/Table/Table.d.ts +1 -1
- package/types/components/Table/index.d.ts +1 -1
- package/types/components/Tabs/TabItem.d.ts +4 -4
- package/types/components/Tabs/Tabs.d.ts +2 -2
- package/types/components/Tabs/TabsController.d.ts +1 -1
- package/types/components/Tabs/index.d.ts +2 -2
- package/types/components/TextArea/TextArea.d.ts +36 -36
- package/types/components/TextField/TextField.d.ts +36 -36
- package/types/components/TextField/index.d.ts +2 -2
- package/types/components/TimePicker/index.d.ts +1 -1
- package/types/components/Toast/Toast.d.ts +1 -1
- package/types/components/Toast/index.d.ts +1 -1
- package/types/components/ToastNew/ToastNew.d.ts +1 -1
- package/types/components/Tokens/Colors/Colors.styles.d.ts +53 -16
- package/types/components/Tokens/NumberTokens/NumberTokens.styles.d.ts +26 -6
- package/types/components/Tokens/Typography/Typography.styles.d.ts +69 -20
- package/types/components/Tooltip/Tooltip.d.ts +1 -1
- package/types/components/Tooltip/index.d.ts +1 -1
- package/types/components/Tour/Tour.d.ts +1 -1
- package/types/components/Tour/index.d.ts +1 -1
- package/types/components/Tree/Tree.d.ts +1 -1
- package/types/components/Typography/Typography.d.ts +51 -51
- package/types/mixins/index.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salutejs/sdds-cs",
|
|
3
|
-
"version": "0.349.0
|
|
3
|
+
"version": "0.349.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": {
|
|
@@ -8,6 +8,11 @@
|
|
|
8
8
|
"import": "./dist/emotion/es/index.js",
|
|
9
9
|
"require": "./dist/emotion/cjs/index.js",
|
|
10
10
|
"types": "./types/index.d.ts"
|
|
11
|
+
},
|
|
12
|
+
"./beta": {
|
|
13
|
+
"import": "./dist/beta/es/index.js",
|
|
14
|
+
"require": "./dist/beta/cjs/index.js",
|
|
15
|
+
"types": "./dist/beta/types/index.d.ts"
|
|
11
16
|
}
|
|
12
17
|
},
|
|
13
18
|
"files": [
|
|
@@ -27,8 +32,8 @@
|
|
|
27
32
|
"directory": "packages/sdds-cs"
|
|
28
33
|
},
|
|
29
34
|
"dependencies": {
|
|
30
|
-
"@salutejs/plasma-new-hope": "0.357.0
|
|
31
|
-
"@salutejs/sdds-themes": "0.61.0
|
|
35
|
+
"@salutejs/plasma-new-hope": "0.357.0",
|
|
36
|
+
"@salutejs/sdds-themes": "0.61.0"
|
|
32
37
|
},
|
|
33
38
|
"peerDependencies": {
|
|
34
39
|
"@emotion/react": ">=11",
|
|
@@ -51,10 +56,10 @@
|
|
|
51
56
|
"@microsoft/api-extractor": "7.38.3",
|
|
52
57
|
"@originjs/vite-plugin-commonjs": "1.0.3",
|
|
53
58
|
"@salutejs/plasma-colors": "0.16.0",
|
|
54
|
-
"@salutejs/plasma-core": "1.222.0
|
|
55
|
-
"@salutejs/plasma-cy-utils": "0.152.0
|
|
56
|
-
"@salutejs/plasma-icons": "1.234.0
|
|
57
|
-
"@salutejs/plasma-sb-utils": "0.222.0
|
|
59
|
+
"@salutejs/plasma-core": "1.222.0",
|
|
60
|
+
"@salutejs/plasma-cy-utils": "0.152.0",
|
|
61
|
+
"@salutejs/plasma-icons": "1.234.0",
|
|
62
|
+
"@salutejs/plasma-sb-utils": "0.222.0",
|
|
58
63
|
"@types/node": "16.7.13",
|
|
59
64
|
"@types/react": "18.0.28",
|
|
60
65
|
"@types/react-dom": "18.0.11",
|
|
@@ -75,17 +80,16 @@
|
|
|
75
80
|
"preapi-report": "npm run generate:typings",
|
|
76
81
|
"api-report": "npx api-extractor run --local",
|
|
77
82
|
"prepare": "npm run build",
|
|
78
|
-
"build": "npm run build:emotion",
|
|
79
|
-
"postbuild": "npm run generate:typings",
|
|
80
|
-
"prebuild:emotion": "rm -rf src-emotion && cp -R src src-emotion && node ./scripts/replaceStyledComponentsToEmotion.js",
|
|
83
|
+
"build": "npm run build:emotion && npm run build:beta",
|
|
81
84
|
"build:emotion": "rm -rf dist/emotion && npm run build:emotion:esm && npm run build:emotion:cjs",
|
|
82
|
-
"build:emotion:cjs": "swc ./src
|
|
83
|
-
"build:emotion:esm": "swc ./src
|
|
84
|
-
"
|
|
85
|
-
"
|
|
85
|
+
"build:emotion:cjs": "swc ./src --ignore \"src/components/_beta/**\" -d ./dist/emotion/cjs --strip-leading-paths --config-file ../../swc.config.json -C module.type=commonjs",
|
|
86
|
+
"build:emotion:esm": "swc ./src --ignore \"src/components/_beta/**\" -d ./dist/emotion/es --strip-leading-paths --config-file ../../swc.config.json -C module.type=es6",
|
|
87
|
+
"build:beta": "rm -rf dist/beta && npm run build:beta:esm && npm run build:beta:cjs",
|
|
88
|
+
"build:beta:cjs": "swc ./src/components/_beta -d ./dist/beta/cjs --strip-leading-paths --config-file ../../swc.config.json -C module.type=commonjs && mv dist/beta/cjs/components/_beta/* dist/beta/cjs && rimraf dist/beta/cjs/components",
|
|
89
|
+
"build:beta:esm": "swc ./src/components/_beta -d ./dist/beta/es --strip-leading-paths --config-file ../../swc.config.json -C module.type=es6 && mv dist/beta/es/components/_beta/* dist/beta/es && rimraf dist/beta/es/components",
|
|
90
|
+
"postbuild": "npm run generate:typings",
|
|
91
|
+
"generate:typings": "rm -rf types && tsc && rm -rf dist/beta/types && tsc -p src/components/_beta/tsconfig.json",
|
|
86
92
|
"storybook": "storybook dev -p ${PORT:-7007} -c .storybook",
|
|
87
|
-
"prestorybook:emotion": "npm run prebuild:emotion",
|
|
88
|
-
"storybook:emotion": "USE_EMOTION_COMPONENTS=true storybook dev -p ${PORT:-7002} -c .storybook",
|
|
89
93
|
"storybook:build": "storybook build -c .storybook -o build-sb",
|
|
90
94
|
"typescript-coverage": "npx typescript-coverage-report > /dev/null",
|
|
91
95
|
"lint": "../../node_modules/.bin/eslint ./src --ext .js,.ts,.tsx --quiet"
|
|
@@ -103,5 +107,5 @@
|
|
|
103
107
|
"Anton Vinogradov"
|
|
104
108
|
],
|
|
105
109
|
"sideEffects": false,
|
|
106
|
-
"gitHead": "
|
|
110
|
+
"gitHead": "3cdbc596bd9ed805f8633fbd715d34ab85dd6180"
|
|
107
111
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccordionItem } from '@salutejs/plasma-new-hope/
|
|
1
|
+
import { AccordionItem } from '@salutejs/plasma-new-hope/emotion';
|
|
2
2
|
export declare const Accordion: import("react").FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
3
3
|
view: {
|
|
4
4
|
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
@@ -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"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -33,7 +33,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
|
33
33
|
outlined?: boolean;
|
|
34
34
|
shiftLeft?: boolean;
|
|
35
35
|
shiftRight?: boolean;
|
|
36
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
36
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
37
37
|
} & {
|
|
38
38
|
value?: string | number;
|
|
39
39
|
contentRight?: never;
|
|
@@ -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"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -72,7 +72,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
|
72
72
|
outlined?: boolean;
|
|
73
73
|
shiftLeft?: boolean;
|
|
74
74
|
shiftRight?: boolean;
|
|
75
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
75
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
76
76
|
} & {
|
|
77
77
|
value?: string | number;
|
|
78
78
|
contentRight?: never;
|
|
@@ -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"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -114,7 +114,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
|
114
114
|
outlined?: boolean;
|
|
115
115
|
shiftLeft?: boolean;
|
|
116
116
|
shiftRight?: boolean;
|
|
117
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
117
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
118
118
|
} & {
|
|
119
119
|
value?: string | number;
|
|
120
120
|
contentRight?: never;
|
|
@@ -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"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -154,7 +154,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
|
154
154
|
outlined?: boolean;
|
|
155
155
|
shiftLeft?: boolean;
|
|
156
156
|
shiftRight?: boolean;
|
|
157
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
157
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
158
158
|
} & {
|
|
159
159
|
value?: string | number;
|
|
160
160
|
contentRight?: never;
|
|
@@ -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"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -197,7 +197,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
|
197
197
|
outlined?: boolean;
|
|
198
198
|
shiftLeft?: boolean;
|
|
199
199
|
shiftRight?: boolean;
|
|
200
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
200
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
201
201
|
} & {
|
|
202
202
|
value?: string | number;
|
|
203
203
|
contentRight?: never;
|
|
@@ -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"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -236,7 +236,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
|
236
236
|
outlined?: boolean;
|
|
237
237
|
shiftLeft?: boolean;
|
|
238
238
|
shiftRight?: boolean;
|
|
239
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
239
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
240
240
|
} & {
|
|
241
241
|
value?: string | number;
|
|
242
242
|
contentRight?: never;
|
|
@@ -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"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -278,7 +278,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
|
278
278
|
outlined?: boolean;
|
|
279
279
|
shiftLeft?: boolean;
|
|
280
280
|
shiftRight?: boolean;
|
|
281
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
281
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
282
282
|
} & {
|
|
283
283
|
value?: string | number;
|
|
284
284
|
contentRight?: never;
|
|
@@ -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"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -318,7 +318,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
|
318
318
|
outlined?: boolean;
|
|
319
319
|
shiftLeft?: boolean;
|
|
320
320
|
shiftRight?: boolean;
|
|
321
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
321
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
322
322
|
} & {
|
|
323
323
|
value?: string | number;
|
|
324
324
|
contentRight?: never;
|
|
@@ -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"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -361,7 +361,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
|
361
361
|
outlined?: boolean;
|
|
362
362
|
shiftLeft?: boolean;
|
|
363
363
|
shiftRight?: boolean;
|
|
364
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
364
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
365
365
|
} & {
|
|
366
366
|
value?: never;
|
|
367
367
|
contentRight?: import("react").ReactNode;
|
|
@@ -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"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -403,7 +403,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
|
403
403
|
outlined?: boolean;
|
|
404
404
|
shiftLeft?: boolean;
|
|
405
405
|
shiftRight?: boolean;
|
|
406
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
406
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
407
407
|
} & {
|
|
408
408
|
value?: never;
|
|
409
409
|
contentRight?: import("react").ReactNode;
|
|
@@ -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"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -442,7 +442,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
|
442
442
|
outlined?: boolean;
|
|
443
443
|
shiftLeft?: boolean;
|
|
444
444
|
shiftRight?: boolean;
|
|
445
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
445
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
446
446
|
} & {
|
|
447
447
|
value?: never;
|
|
448
448
|
contentRight?: import("react").ReactNode;
|
|
@@ -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"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -485,7 +485,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
|
485
485
|
outlined?: boolean;
|
|
486
486
|
shiftLeft?: boolean;
|
|
487
487
|
shiftRight?: boolean;
|
|
488
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
488
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
489
489
|
} & {
|
|
490
490
|
value?: never;
|
|
491
491
|
contentRight?: import("react").ReactNode;
|
|
@@ -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"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -525,7 +525,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
|
525
525
|
outlined?: boolean;
|
|
526
526
|
shiftLeft?: boolean;
|
|
527
527
|
shiftRight?: boolean;
|
|
528
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
528
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
529
529
|
} & {
|
|
530
530
|
value?: never;
|
|
531
531
|
contentRight?: import("react").ReactNode;
|
|
@@ -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"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -567,7 +567,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
|
567
567
|
outlined?: boolean;
|
|
568
568
|
shiftLeft?: boolean;
|
|
569
569
|
shiftRight?: boolean;
|
|
570
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
570
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
571
571
|
} & {
|
|
572
572
|
value?: never;
|
|
573
573
|
contentRight?: import("react").ReactNode;
|
|
@@ -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"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -606,7 +606,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
|
606
606
|
outlined?: boolean;
|
|
607
607
|
shiftLeft?: boolean;
|
|
608
608
|
shiftRight?: boolean;
|
|
609
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
609
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
610
610
|
} & {
|
|
611
611
|
value?: never;
|
|
612
612
|
contentRight?: import("react").ReactNode;
|
|
@@ -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"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -649,7 +649,7 @@ export declare const Attach: import("react").FunctionComponent<import("@salutejs
|
|
|
649
649
|
outlined?: boolean;
|
|
650
650
|
shiftLeft?: boolean;
|
|
651
651
|
shiftRight?: boolean;
|
|
652
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
652
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
653
653
|
} & {
|
|
654
654
|
value?: never;
|
|
655
655
|
contentRight?: import("react").ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AutocompleteProps, DistributiveOmit, DistributivePick, SuggestionItemType } from '@salutejs/plasma-new-hope/
|
|
1
|
+
import { AutocompleteProps, DistributiveOmit, DistributivePick, SuggestionItemType } from '@salutejs/plasma-new-hope/emotion';
|
|
2
2
|
import React, { ComponentProps } from 'react';
|
|
3
3
|
import { config } from './Autocomplete.config';
|
|
4
4
|
export declare const AutocompleteComponent: React.FunctionComponent<import("@salutejs/plasma-new-hope/types/engines/types.js").PropsType<{
|
|
@@ -63,7 +63,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
|
63
63
|
hintSize?: string;
|
|
64
64
|
hintTargetIcon?: React.ReactNode;
|
|
65
65
|
hintTargetPlacement?: "inner" | "outer";
|
|
66
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/
|
|
66
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/emotion").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/emotion").PopoverPlacementBasic>;
|
|
67
67
|
hintHasArrow?: boolean;
|
|
68
68
|
hintOffset?: [number, number];
|
|
69
69
|
hintWidth?: string;
|
|
@@ -76,7 +76,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
|
76
76
|
chipType?: never;
|
|
77
77
|
chipView?: never;
|
|
78
78
|
chipValidator?: never;
|
|
79
|
-
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "onScroll" | "
|
|
79
|
+
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "onScroll" | "required" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
|
80
80
|
labelPlacement?: string;
|
|
81
81
|
readOnly?: boolean;
|
|
82
82
|
disabled?: boolean;
|
|
@@ -120,7 +120,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
|
120
120
|
hintSize?: string;
|
|
121
121
|
hintTargetIcon?: React.ReactNode;
|
|
122
122
|
hintTargetPlacement?: "inner" | "outer";
|
|
123
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/
|
|
123
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/emotion").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/emotion").PopoverPlacementBasic>;
|
|
124
124
|
hintHasArrow?: boolean;
|
|
125
125
|
hintOffset?: [number, number];
|
|
126
126
|
hintWidth?: string;
|
|
@@ -135,7 +135,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
|
135
135
|
chipValidator?: (value: string) => {
|
|
136
136
|
view?: string;
|
|
137
137
|
};
|
|
138
|
-
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "onScroll" | "
|
|
138
|
+
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "onScroll" | "required" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
|
139
139
|
labelPlacement?: string;
|
|
140
140
|
readOnly?: boolean;
|
|
141
141
|
disabled?: boolean;
|
|
@@ -192,7 +192,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
|
192
192
|
chipType?: never;
|
|
193
193
|
chipView?: never;
|
|
194
194
|
chipValidator?: never;
|
|
195
|
-
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "onScroll" | "
|
|
195
|
+
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "onScroll" | "required" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
|
196
196
|
labelPlacement?: string;
|
|
197
197
|
readOnly?: boolean;
|
|
198
198
|
disabled?: boolean;
|
|
@@ -251,7 +251,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
|
251
251
|
chipValidator?: (value: string) => {
|
|
252
252
|
view?: string;
|
|
253
253
|
};
|
|
254
|
-
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "onScroll" | "
|
|
254
|
+
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "onScroll" | "required" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
|
255
255
|
labelPlacement?: string;
|
|
256
256
|
readOnly?: boolean;
|
|
257
257
|
disabled?: boolean;
|
|
@@ -295,7 +295,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
|
295
295
|
hintSize?: string;
|
|
296
296
|
hintTargetIcon?: React.ReactNode;
|
|
297
297
|
hintTargetPlacement?: "inner" | "outer";
|
|
298
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/
|
|
298
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/emotion").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/emotion").PopoverPlacementBasic>;
|
|
299
299
|
hintHasArrow?: boolean;
|
|
300
300
|
hintOffset?: [number, number];
|
|
301
301
|
hintWidth?: string;
|
|
@@ -308,7 +308,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
|
308
308
|
chipType?: never;
|
|
309
309
|
chipView?: never;
|
|
310
310
|
chipValidator?: never;
|
|
311
|
-
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "onScroll" | "
|
|
311
|
+
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "onScroll" | "required" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
|
312
312
|
labelPlacement?: string;
|
|
313
313
|
readOnly?: boolean;
|
|
314
314
|
disabled?: boolean;
|
|
@@ -352,7 +352,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
|
352
352
|
hintSize?: string;
|
|
353
353
|
hintTargetIcon?: React.ReactNode;
|
|
354
354
|
hintTargetPlacement?: "inner" | "outer";
|
|
355
|
-
hintPlacement?: import("@salutejs/plasma-new-hope/
|
|
355
|
+
hintPlacement?: import("@salutejs/plasma-new-hope/emotion").PopoverPlacement | Array<import("@salutejs/plasma-new-hope/emotion").PopoverPlacementBasic>;
|
|
356
356
|
hintHasArrow?: boolean;
|
|
357
357
|
hintOffset?: [number, number];
|
|
358
358
|
hintWidth?: string;
|
|
@@ -367,7 +367,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
|
367
367
|
chipValidator?: (value: string) => {
|
|
368
368
|
view?: string;
|
|
369
369
|
};
|
|
370
|
-
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "onScroll" | "
|
|
370
|
+
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "onScroll" | "required" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
|
371
371
|
labelPlacement?: string;
|
|
372
372
|
readOnly?: boolean;
|
|
373
373
|
disabled?: boolean;
|
|
@@ -424,7 +424,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
|
424
424
|
chipType?: never;
|
|
425
425
|
chipView?: never;
|
|
426
426
|
chipValidator?: never;
|
|
427
|
-
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "onScroll" | "
|
|
427
|
+
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "onScroll" | "required" | "value"> & React.RefAttributes<HTMLInputElement>) | ({
|
|
428
428
|
labelPlacement?: string;
|
|
429
429
|
readOnly?: boolean;
|
|
430
430
|
disabled?: boolean;
|
|
@@ -483,7 +483,7 @@ export declare const AutocompleteComponent: React.FunctionComponent<import("@sal
|
|
|
483
483
|
chipValidator?: (value: string) => {
|
|
484
484
|
view?: string;
|
|
485
485
|
};
|
|
486
|
-
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "onScroll" | "
|
|
486
|
+
}, "labelPlacement" | "chips" | "onChangeChips" | "enumerationType" | "chipType" | "chipView" | "chipValidator"> & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "defaultValue" | "onScroll" | "required" | "value"> & React.RefAttributes<HTMLInputElement>))>;
|
|
487
487
|
type PropsFromConfig = keyof typeof config['variations'];
|
|
488
488
|
type Props<T extends SuggestionItemType> = DistributiveOmit<AutocompleteProps<T>, PropsFromConfig> & DistributivePick<ComponentProps<typeof AutocompleteComponent>, PropsFromConfig>;
|
|
489
489
|
export declare const Autocomplete: <T extends SuggestionItemType>(props: Props<T> & React.RefAttributes<HTMLInputElement>) => React.ReactElement | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const mergedConfig: import("@salutejs/plasma-new-hope/
|
|
1
|
+
declare const mergedConfig: import("@salutejs/plasma-new-hope/emotion").ComponentConfig<string, {
|
|
2
2
|
view: {
|
|
3
3
|
default: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
4
4
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Avatar } from './Avatar';
|
|
2
|
-
export type { AvatarProps } from '@salutejs/plasma-new-hope/
|
|
2
|
+
export type { AvatarProps } from '@salutejs/plasma-new-hope/emotion';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { AvatarGroup } from './AvatarGroup';
|
|
2
|
-
export type { AvatarGroupProps } from '@salutejs/plasma-new-hope/
|
|
2
|
+
export type { AvatarGroupProps } from '@salutejs/plasma-new-hope/emotion';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Badge } from './Badge';
|
|
2
|
-
export type { BadgeProps } from '@salutejs/plasma-new-hope/
|
|
2
|
+
export type { BadgeProps } from '@salutejs/plasma-new-hope/emotion';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { Breadcrumbs } from './Breadcrumbs';
|
|
2
|
-
export type { BreadcrumbsProps } from '@salutejs/plasma-new-hope/
|
|
2
|
+
export type { BreadcrumbsProps } from '@salutejs/plasma-new-hope/emotion';
|
|
@@ -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"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -36,11 +36,11 @@ declare const ButtonComponent: React.FunctionComponent<import("@salutejs/plasma-
|
|
|
36
36
|
outlined?: boolean;
|
|
37
37
|
shiftLeft?: boolean;
|
|
38
38
|
shiftRight?: boolean;
|
|
39
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
39
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
40
40
|
} & {
|
|
41
41
|
value?: string | number;
|
|
42
42
|
contentRight?: never;
|
|
43
|
-
} & React.RefAttributes<HTMLButtonElement>) | (Omit<React.ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -59,7 +59,7 @@ declare const ButtonComponent: React.FunctionComponent<import("@salutejs/plasma-
|
|
|
59
59
|
outlined?: boolean;
|
|
60
60
|
shiftLeft?: boolean;
|
|
61
61
|
shiftRight?: boolean;
|
|
62
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
62
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
63
63
|
} & {
|
|
64
64
|
value?: never;
|
|
65
65
|
contentRight?: React.ReactNode;
|
|
@@ -86,7 +86,7 @@ export declare const Button: React.ForwardRefExoticComponent<(Omit<import("@salu
|
|
|
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"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -105,7 +105,7 @@ export declare const Button: React.ForwardRefExoticComponent<(Omit<import("@salu
|
|
|
105
105
|
outlined?: boolean;
|
|
106
106
|
shiftLeft?: boolean;
|
|
107
107
|
shiftRight?: boolean;
|
|
108
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
108
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
109
109
|
} & {
|
|
110
110
|
value?: string | number;
|
|
111
111
|
contentRight?: never;
|
|
@@ -127,7 +127,7 @@ export declare const Button: React.ForwardRefExoticComponent<(Omit<import("@salu
|
|
|
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"> & Omit<React.AnchorHTMLAttributes<HTMLElement>, "type"> & import("@salutejs/plasma-new-hope/
|
|
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";
|
|
@@ -146,7 +146,7 @@ export declare const Button: React.ForwardRefExoticComponent<(Omit<import("@salu
|
|
|
146
146
|
outlined?: boolean;
|
|
147
147
|
shiftLeft?: boolean;
|
|
148
148
|
shiftRight?: boolean;
|
|
149
|
-
blur?: import("@salutejs/plasma-new-hope/
|
|
149
|
+
blur?: import("@salutejs/plasma-new-hope/emotion").Blur;
|
|
150
150
|
} & {
|
|
151
151
|
value?: never;
|
|
152
152
|
contentRight?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ButtonBase } from '@salutejs/plasma-new-hope/
|
|
1
|
+
export { ButtonBase } from '@salutejs/plasma-new-hope/emotion';
|
|
@@ -28,4 +28,4 @@ export declare const ButtonGroup: import("react").FunctionComponent<import("@sal
|
|
|
28
28
|
auto: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
29
29
|
filled: import("@salutejs/plasma-new-hope/types/engines/types.js").PolymorphicClassName;
|
|
30
30
|
};
|
|
31
|
-
}> & import("@salutejs/plasma-new-hope/
|
|
31
|
+
}> & import("@salutejs/plasma-new-hope/emotion").ButtonGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { ButtonGroup } from './ButtonGroup';
|
|
2
|
-
export type { ButtonGroupProps } from '@salutejs/plasma-new-hope/
|
|
2
|
+
export type { ButtonGroupProps } from '@salutejs/plasma-new-hope/emotion';
|