@salutejs/plasma-new-hope 0.88.0-canary.1233.9437372350.0 → 0.88.0-canary.1233.9449328054.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +0 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
- package/cjs/components/Select/Select.css +0 -5
- package/cjs/components/Select/Select.js +2 -5
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Select/elements/Inner/Inner.css +0 -5
- package/cjs/components/Select/elements/Inner/elements/Item/Item.css +0 -5
- package/cjs/components/Select/hooks/useKeyboardNavigation.js +9 -0
- package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +0 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
- package/es/components/Select/Select.css +0 -5
- package/es/components/Select/Select.js +2 -5
- package/es/components/Select/Select.js.map +1 -1
- package/es/components/Select/elements/Inner/Inner.css +0 -5
- package/es/components/Select/elements/Inner/elements/Item/Item.css +0 -5
- package/es/components/Select/hooks/useKeyboardNavigation.js +9 -0
- package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +0 -1
- package/styled-components/cjs/components/Select/Select.js +2 -5
- package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +9 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +1 -0
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +33 -49
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +40 -0
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.js +17 -0
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +817 -0
- package/styled-components/cjs/examples/plasma_web/components/Select/style.css +38 -0
- package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +0 -1
- package/styled-components/es/components/Select/Select.js +2 -5
- package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +9 -0
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +1 -0
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +33 -49
- package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +34 -0
- package/styled-components/es/examples/plasma_web/components/Select/Select.js +6 -0
- package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +817 -0
- package/styled-components/es/examples/plasma_web/components/Select/style.css +38 -0
- package/types/components/Dropdown/Dropdown.types.d.ts +5 -9
- package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +12 -88
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
- package/types/components/Select/Select.d.ts +1 -0
- package/types/components/Select/Select.d.ts.map +1 -1
- package/types/components/Select/Select.types.d.ts +23 -21
- package/types/components/Select/Select.types.d.ts.map +1 -1
- package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.d.ts +1 -1
- package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.d.ts.map +1 -1
- package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Select/Select.config.d.ts +1 -0
- package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Select/Select.d.ts +14 -90
- package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Select/Select.config.d.ts +33 -0
- package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -0
- package/types/examples/plasma_web/components/Select/Select.d.ts +81 -0
- package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -0
@@ -0,0 +1,81 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { SelectNotFoundContent } from '../../../../components/Select';
|
3
|
+
declare const Select: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
4
|
+
size: {
|
5
|
+
xs: import("@linaria/core").LinariaClassName;
|
6
|
+
s: import("@linaria/core").LinariaClassName;
|
7
|
+
m: import("@linaria/core").LinariaClassName;
|
8
|
+
l: import("@linaria/core").LinariaClassName;
|
9
|
+
};
|
10
|
+
view: {
|
11
|
+
default: import("@linaria/core").LinariaClassName;
|
12
|
+
positive: import("@linaria/core").LinariaClassName;
|
13
|
+
warning: import("@linaria/core").LinariaClassName;
|
14
|
+
negative: import("@linaria/core").LinariaClassName;
|
15
|
+
accent: import("@linaria/core").LinariaClassName;
|
16
|
+
secondary: import("@linaria/core").LinariaClassName;
|
17
|
+
clear: import("@linaria/core").LinariaClassName;
|
18
|
+
dark: import("@linaria/core").LinariaClassName;
|
19
|
+
black: import("@linaria/core").LinariaClassName;
|
20
|
+
white: import("@linaria/core").LinariaClassName;
|
21
|
+
};
|
22
|
+
chipView: {
|
23
|
+
default: import("@linaria/core").LinariaClassName;
|
24
|
+
secondary: import("@linaria/core").LinariaClassName;
|
25
|
+
accent: import("@linaria/core").LinariaClassName;
|
26
|
+
};
|
27
|
+
}> & ((import("../../../../components/Select/Select.types").BasicProps & {
|
28
|
+
value: string;
|
29
|
+
onChange: (value: string) => void;
|
30
|
+
separator?: undefined;
|
31
|
+
isTargetAmount?: false | undefined;
|
32
|
+
} & {
|
33
|
+
target?: "textfield" | undefined;
|
34
|
+
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
35
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
36
|
+
label?: string | undefined;
|
37
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
38
|
+
placeholder?: string | undefined;
|
39
|
+
helperText?: string | undefined;
|
40
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../../components/Select/Select.types").BasicProps & {
|
41
|
+
value: string;
|
42
|
+
onChange: (value: string) => void;
|
43
|
+
separator?: undefined;
|
44
|
+
isTargetAmount?: false | undefined;
|
45
|
+
} & {
|
46
|
+
target?: "button" | undefined;
|
47
|
+
view?: "default" | "accent" | "secondary" | "black" | "white" | "dark" | "clear" | "warning" | "positive" | "negative" | undefined;
|
48
|
+
contentLeft?: undefined;
|
49
|
+
label?: undefined;
|
50
|
+
labelPlacement?: undefined;
|
51
|
+
placeholder?: undefined;
|
52
|
+
helperText?: undefined;
|
53
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../../components/Select/Select.types").BasicProps & {
|
54
|
+
value: string[];
|
55
|
+
onChange: (value: string[]) => void;
|
56
|
+
separator?: string | undefined;
|
57
|
+
isTargetAmount?: boolean | undefined;
|
58
|
+
} & {
|
59
|
+
target?: "textfield" | undefined;
|
60
|
+
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
61
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
62
|
+
label?: string | undefined;
|
63
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
64
|
+
placeholder?: string | undefined;
|
65
|
+
helperText?: string | undefined;
|
66
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../../components/Select/Select.types").BasicProps & {
|
67
|
+
value: string[];
|
68
|
+
onChange: (value: string[]) => void;
|
69
|
+
separator?: string | undefined;
|
70
|
+
isTargetAmount?: boolean | undefined;
|
71
|
+
} & {
|
72
|
+
target?: "button" | undefined;
|
73
|
+
view?: "default" | "accent" | "secondary" | "black" | "white" | "dark" | "clear" | "warning" | "positive" | "negative" | undefined;
|
74
|
+
contentLeft?: undefined;
|
75
|
+
label?: undefined;
|
76
|
+
labelPlacement?: undefined;
|
77
|
+
placeholder?: undefined;
|
78
|
+
helperText?: undefined;
|
79
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>))>;
|
80
|
+
export { Select, SelectNotFoundContent };
|
81
|
+
//# sourceMappingURL=Select.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Select/Select.ts"],"names":[],"mappings":";AACA,OAAO,EAAgB,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAKpF,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLAA0B,CAAC;AAEvC,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,CAAC"}
|