@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,38 @@
|
|
1
|
+
|
2
|
+
.container {
|
3
|
+
width: 100%;
|
4
|
+
}
|
5
|
+
|
6
|
+
table {
|
7
|
+
border-collapse: collapse;
|
8
|
+
box-shadow: 0 0 20px rgba(0,0,0,0.1);
|
9
|
+
}
|
10
|
+
|
11
|
+
th,
|
12
|
+
td {
|
13
|
+
padding: 15px;
|
14
|
+
}
|
15
|
+
|
16
|
+
th {
|
17
|
+
text-align: left;
|
18
|
+
}
|
19
|
+
|
20
|
+
table, th, td {
|
21
|
+
border: 1px solid lightgray;
|
22
|
+
border-collapse: collapse;
|
23
|
+
}
|
24
|
+
|
25
|
+
thead {
|
26
|
+
th {
|
27
|
+
background-color: #55608f;
|
28
|
+
color: #fff;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
tbody {
|
33
|
+
|
34
|
+
td {
|
35
|
+
position: relative;
|
36
|
+
|
37
|
+
}
|
38
|
+
}
|
@@ -71,25 +71,21 @@ export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
|
|
71
71
|
* @default normal
|
72
72
|
*/
|
73
73
|
variant?: 'normal' | 'tight';
|
74
|
-
/**
|
75
|
-
* Обработчик клика по item.
|
76
|
-
* @deprecated использовать onItemSelect.
|
77
|
-
*/
|
78
|
-
onItemClick?: (item: DropdownItemOption, event: SyntheticEvent) => void;
|
79
74
|
/**
|
80
75
|
* Значение css overflow для выпадающего меню.
|
81
|
-
* @default initial
|
82
|
-
* @deprecated
|
83
76
|
* @example listOverflow="scroll"
|
84
77
|
*/
|
85
78
|
listOverflow?: CSSProperties['overflow'];
|
86
79
|
/**
|
87
80
|
* Значение css height для выпадающего меню.
|
88
|
-
* @default initial
|
89
|
-
* @deprecated
|
90
81
|
* @example listHeight="11", listHeight="auto", listHeight={11}
|
91
82
|
*/
|
92
83
|
listHeight?: number | CSSProperties['height'];
|
84
|
+
/**
|
85
|
+
* Обработчик клика по item.
|
86
|
+
* @deprecated использовать onItemSelect.
|
87
|
+
*/
|
88
|
+
onItemClick?: (item: DropdownItemOption, event: SyntheticEvent) => void;
|
93
89
|
/**
|
94
90
|
* Индекс элемента при наведении
|
95
91
|
* @deprecated использовать onHover
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dropdown.types.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,oBAAY,sBAAsB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AACzE,oBAAY,iBAAiB,GAAG,sBAAsB,GAAG,MAAM,CAAC;AAEhE,oBAAY,eAAe,GAAG,OAAO,GAAG,OAAO,CAAC;AAEhD,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC;IACjE;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IACzE;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B;;;OAGG;IACH,SAAS,CAAC,EAAE,iBAAiB,GAAG,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC9D;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;;OAGG;IACH,SAAS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age.styles.d.ts
CHANGED
@@ -1,29 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
export declare const SelectPerPageRoot: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
3
|
-
export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & (({
|
4
|
-
items: import("../../../Select/elements/Inner/elements/Item/Item.types").ItemOption[];
|
5
|
-
placement?: import("../../../Select/Select.types").SelectPlacement | import("../../../Select/Select.types").SelectPlacementBasic[] | undefined;
|
6
|
-
label?: string | undefined;
|
7
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
8
|
-
placeholder?: string | undefined;
|
9
|
-
helperText?: string | undefined;
|
10
|
-
disabled?: boolean | undefined;
|
11
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
12
|
-
isInfiniteLoading?: boolean | undefined;
|
13
|
-
notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
14
|
-
variant?: "normal" | "tight" | undefined;
|
15
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
16
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
17
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
18
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
19
|
-
renderValue?: ((value: string, label: string) => string) | undefined;
|
20
|
-
size?: string | undefined;
|
21
|
-
view?: string | undefined;
|
22
|
-
chipView?: string | undefined;
|
23
|
-
multiselect?: boolean | undefined;
|
24
|
-
isOpen?: boolean | undefined;
|
25
|
-
status?: "error" | "success" | "warning" | undefined;
|
26
|
-
} & {
|
3
|
+
export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & ((import("../../../Select/Select.types").BasicProps & {
|
27
4
|
value: string;
|
28
5
|
onChange: (value: string) => void;
|
29
6
|
separator?: undefined;
|
@@ -32,30 +9,11 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
|
|
32
9
|
target?: "textfield" | undefined;
|
33
10
|
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
34
11
|
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
35
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
36
|
-
items: import("../../../Select/elements/Inner/elements/Item/Item.types").ItemOption[];
|
37
|
-
placement?: import("../../../Select/Select.types").SelectPlacement | import("../../../Select/Select.types").SelectPlacementBasic[] | undefined;
|
38
12
|
label?: string | undefined;
|
39
13
|
labelPlacement?: "inner" | "outer" | undefined;
|
40
14
|
placeholder?: string | undefined;
|
41
15
|
helperText?: string | undefined;
|
42
|
-
|
43
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
44
|
-
isInfiniteLoading?: boolean | undefined;
|
45
|
-
notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
46
|
-
variant?: "normal" | "tight" | undefined;
|
47
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
48
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
49
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
50
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
51
|
-
renderValue?: ((value: string, label: string) => string) | undefined;
|
52
|
-
size?: string | undefined;
|
53
|
-
view?: string | undefined;
|
54
|
-
chipView?: string | undefined;
|
55
|
-
multiselect?: boolean | undefined;
|
56
|
-
isOpen?: boolean | undefined;
|
57
|
-
status?: "error" | "success" | "warning" | undefined;
|
58
|
-
} & {
|
16
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../Select/Select.types").BasicProps & {
|
59
17
|
value: string;
|
60
18
|
onChange: (value: string) => void;
|
61
19
|
separator?: undefined;
|
@@ -64,30 +22,11 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
|
|
64
22
|
target?: "button" | undefined;
|
65
23
|
view?: "default" | "accent" | "secondary" | "black" | "white" | "dark" | "clear" | "warning" | "positive" | "negative" | undefined;
|
66
24
|
contentLeft?: undefined;
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
placeholder?: string | undefined;
|
73
|
-
helperText?: string | undefined;
|
74
|
-
disabled?: boolean | undefined;
|
75
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
76
|
-
isInfiniteLoading?: boolean | undefined;
|
77
|
-
notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
78
|
-
variant?: "normal" | "tight" | undefined;
|
79
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
80
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
81
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
82
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
83
|
-
renderValue?: ((value: string, label: string) => string) | undefined;
|
84
|
-
size?: string | undefined;
|
85
|
-
view?: string | undefined;
|
86
|
-
chipView?: string | undefined;
|
87
|
-
multiselect?: boolean | undefined;
|
88
|
-
isOpen?: boolean | undefined;
|
89
|
-
status?: "error" | "success" | "warning" | undefined;
|
90
|
-
} & {
|
25
|
+
label?: undefined;
|
26
|
+
labelPlacement?: undefined;
|
27
|
+
placeholder?: undefined;
|
28
|
+
helperText?: undefined;
|
29
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../Select/Select.types").BasicProps & {
|
91
30
|
value: string[];
|
92
31
|
onChange: (value: string[]) => void;
|
93
32
|
separator?: string | undefined;
|
@@ -96,30 +35,11 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
|
|
96
35
|
target?: "textfield" | undefined;
|
97
36
|
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
98
37
|
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
99
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
100
|
-
items: import("../../../Select/elements/Inner/elements/Item/Item.types").ItemOption[];
|
101
|
-
placement?: import("../../../Select/Select.types").SelectPlacement | import("../../../Select/Select.types").SelectPlacementBasic[] | undefined;
|
102
38
|
label?: string | undefined;
|
103
39
|
labelPlacement?: "inner" | "outer" | undefined;
|
104
40
|
placeholder?: string | undefined;
|
105
41
|
helperText?: string | undefined;
|
106
|
-
|
107
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
108
|
-
isInfiniteLoading?: boolean | undefined;
|
109
|
-
notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
110
|
-
variant?: "normal" | "tight" | undefined;
|
111
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
112
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
113
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
114
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
115
|
-
renderValue?: ((value: string, label: string) => string) | undefined;
|
116
|
-
size?: string | undefined;
|
117
|
-
view?: string | undefined;
|
118
|
-
chipView?: string | undefined;
|
119
|
-
multiselect?: boolean | undefined;
|
120
|
-
isOpen?: boolean | undefined;
|
121
|
-
status?: "error" | "success" | "warning" | undefined;
|
122
|
-
} & {
|
42
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../Select/Select.types").BasicProps & {
|
123
43
|
value: string[];
|
124
44
|
onChange: (value: string[]) => void;
|
125
45
|
separator?: string | undefined;
|
@@ -128,6 +48,10 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
|
|
128
48
|
target?: "button" | undefined;
|
129
49
|
view?: "default" | "accent" | "secondary" | "black" | "white" | "dark" | "clear" | "warning" | "positive" | "negative" | undefined;
|
130
50
|
contentLeft?: undefined;
|
51
|
+
label?: undefined;
|
52
|
+
labelPlacement?: undefined;
|
53
|
+
placeholder?: undefined;
|
54
|
+
helperText?: undefined;
|
131
55
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>))>;
|
132
56
|
export declare const SelectPerPageTypography: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
133
57
|
//# sourceMappingURL=PaginationSelectPerPage.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PaginationSelectPerPage.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,iBAAiB,qKAI7B,CAAC;AAEF,eAAO,MAAM,mBAAmB
|
1
|
+
{"version":3,"file":"PaginationSelectPerPage.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,iBAAiB,qKAI7B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLAsB/B,CAAC;AAEF,eAAO,MAAM,uBAAuB,qKAOnC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoF,MAAM,OAAO,CAAC;AAEzG,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoF,MAAM,OAAO,CAAC;AAEzG,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAY1C,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAK/D,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,UAAU,SAAU,UAAU,iBAAiB,EAAE,WAAW,CAAC,0FAsQpE,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBAxQQ,UAAU,iBAAiB,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;CA0RzE,CAAC"}
|
@@ -16,10 +16,31 @@ declare type Target = {
|
|
16
16
|
* Слот для контента слева.
|
17
17
|
*/
|
18
18
|
contentLeft?: React.ReactElement;
|
19
|
+
/**
|
20
|
+
* Метка-подпись к элементу.
|
21
|
+
*/
|
22
|
+
label?: string;
|
23
|
+
/**
|
24
|
+
* Расположение лейбла.
|
25
|
+
* @default outer
|
26
|
+
*/
|
27
|
+
labelPlacement?: 'outer' | 'inner';
|
28
|
+
/**
|
29
|
+
* Placeholder.
|
30
|
+
*/
|
31
|
+
placeholder?: string;
|
32
|
+
/**
|
33
|
+
* Вспомогательный текст снизу слева для поля ввода.
|
34
|
+
*/
|
35
|
+
helperText?: string;
|
19
36
|
} | {
|
20
37
|
target?: 'button' | never;
|
21
38
|
view?: 'default' | 'accent' | 'secondary' | 'clear' | 'positive' | 'warning' | 'negative' | 'dark' | 'black' | 'white';
|
22
39
|
contentLeft?: never;
|
40
|
+
label?: never;
|
41
|
+
labelPlacement?: never;
|
42
|
+
placeholder?: never;
|
43
|
+
helperText?: never;
|
23
44
|
};
|
24
45
|
declare type IsMultiselect = {
|
25
46
|
value: string;
|
@@ -39,7 +60,7 @@ declare type IsMultiselect = {
|
|
39
60
|
separator?: string;
|
40
61
|
isTargetAmount?: boolean;
|
41
62
|
};
|
42
|
-
|
63
|
+
export interface BasicProps {
|
43
64
|
/**
|
44
65
|
* Список элементов.
|
45
66
|
*/
|
@@ -49,23 +70,6 @@ declare type BasicProps = {
|
|
49
70
|
* @default bottom
|
50
71
|
*/
|
51
72
|
placement?: SelectPlacement | Array<SelectPlacementBasic>;
|
52
|
-
/**
|
53
|
-
* Метка-подпись к элементу.
|
54
|
-
*/
|
55
|
-
label?: string;
|
56
|
-
/**
|
57
|
-
* Расположение лейбла.
|
58
|
-
* @default outer
|
59
|
-
*/
|
60
|
-
labelPlacement?: 'outer' | 'inner';
|
61
|
-
/**
|
62
|
-
* Placeholder.
|
63
|
-
*/
|
64
|
-
placeholder?: string;
|
65
|
-
/**
|
66
|
-
* Вспомогательный текст снизу слева для поля ввода.
|
67
|
-
*/
|
68
|
-
helperText?: string;
|
69
73
|
/**
|
70
74
|
* Компонент неактивен.
|
71
75
|
* @default false
|
@@ -90,13 +94,11 @@ declare type BasicProps = {
|
|
90
94
|
variant?: 'normal' | 'tight';
|
91
95
|
/**
|
92
96
|
* Значение css overflow для выпадающего меню.
|
93
|
-
* @default initial
|
94
97
|
* @example listOverflow="scroll"
|
95
98
|
*/
|
96
99
|
listOverflow?: CSSProperties['overflow'];
|
97
100
|
/**
|
98
101
|
* Значение css height для выпадающего меню.
|
99
|
-
* @default initial
|
100
102
|
* @example listHeight="11", listHeight="auto", listHeight={11}
|
101
103
|
*/
|
102
104
|
listHeight?: number | CSSProperties['height'];
|
@@ -140,7 +142,7 @@ declare type BasicProps = {
|
|
140
142
|
* @deprecated
|
141
143
|
*/
|
142
144
|
status?: 'warning' | 'success' | 'error';
|
143
|
-
}
|
145
|
+
}
|
144
146
|
export declare type SelectProps = BasicProps & IsMultiselect & Target & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value' | 'onChange' | 'onResize' | 'onResizeCapture' | 'nonce'>;
|
145
147
|
export declare type ItemContext = {
|
146
148
|
focusedPath: FocusedPathState;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEjE,oBAAY,oBAAoB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AACvE,oBAAY,eAAe,GAAG,oBAAoB,GAAG,MAAM,CAAC;AAE5D,aAAK,MAAM,GACL;IACI;;;OAGG;IACH,MAAM,CAAC,EAAE,WAAW,GAAG,KAAK,CAAC;IAC7B,IAAI,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,UAAU,CAAC;IACvD;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;
|
1
|
+
{"version":3,"file":"Select.types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAC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CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,UAAU,CAAC,OAAO,CAAC,KAAK,MAAM,CAAC;IAEjF;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;CAC5C;AAED,oBAAY,WAAW,GAAG,UAAU,GAChC,aAAa,GACb,MAAM,GACN,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,UAAU,GAAG,iBAAiB,GAAG,OAAO,CAAC,CAAC;AAEnH,oBAAY,WAAW,GAAG;IACtB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,OAAO,EAAE,qBAAqB,CAAC;IAC/B,WAAW,EAAE,OAAO,CAAC;IACrB,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC1B,oBAAoB,EAAE,CAAC,IAAI,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAC5D,eAAe,EAAE,CAAC,IAAI,EAAE,qBAAqB,EAAE,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACzF,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CACnC,CAAC"}
|
package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectNotFoundContent.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,KAAK;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,
|
1
|
+
{"version":3,"file":"SelectNotFoundContent.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,KAAK;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useKeyboardNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/hooks/useKeyboardNavigation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACH,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,sBAAsB,EACzB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAIvF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;CAchB,CAAC;AAQF,UAAU,KAAK;IACX,WAAW,EAAE,gBAAgB,CAAC;IAC9B,mBAAmB,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IACjD,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IACnC,OAAO,EAAE,WAAW,CAAC;IACrB,iBAAiB,EAAE,qBAAqB,CAAC;IACzC,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,eAAe,EAAE,CAAC,IAAI,EAAE,qBAAqB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAC1F,gBAAgB,EAAE,qBAAqB,CAAC;IACxC,wBAAwB,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC;IAC3D,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5B,cAAc,EAAE,kBAAkB,CAAC;IACnC,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;CACjD;AAED,UAAU,aAAa;IACnB,SAAS,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;CAChE;AAED,eAAO,MAAM,gBAAgB,yNAe1B,KAAK,KAAG,
|
1
|
+
{"version":3,"file":"useKeyboardNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/hooks/useKeyboardNavigation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,QAAQ,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACH,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,qBAAqB,EACrB,sBAAsB,EACzB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAIvF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;CAchB,CAAC;AAQF,UAAU,KAAK;IACX,WAAW,EAAE,gBAAgB,CAAC;IAC9B,mBAAmB,EAAE,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IACjD,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IACnC,OAAO,EAAE,WAAW,CAAC;IACrB,iBAAiB,EAAE,qBAAqB,CAAC;IACzC,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,eAAe,EAAE,CAAC,IAAI,EAAE,qBAAqB,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAC1F,gBAAgB,EAAE,qBAAqB,CAAC;IACxC,wBAAwB,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC;IAC3D,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC5B,cAAc,EAAE,kBAAkB,CAAC;IACnC,WAAW,EAAE,OAAO,CAAC;IACrB,cAAc,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;CACjD;AAED,UAAU,aAAa;IACnB,SAAS,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;CAChE;AAED,eAAO,MAAM,gBAAgB,yNAe1B,KAAK,KAAG,aA+NV,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Select/Select.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM
|
1
|
+
{"version":3,"file":"Select.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Select/Select.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8YlB,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import { SelectNotFoundContent } from '../../../../components/Select';
|
3
|
-
|
3
|
+
declare const Select: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
4
4
|
size: {
|
5
5
|
xs: import("@linaria/core").LinariaClassName;
|
6
6
|
s: import("@linaria/core").LinariaClassName;
|
@@ -24,30 +24,7 @@ export declare const Select: import("react").FunctionComponent<import("../../../
|
|
24
24
|
secondary: import("@linaria/core").LinariaClassName;
|
25
25
|
accent: import("@linaria/core").LinariaClassName;
|
26
26
|
};
|
27
|
-
}> & (({
|
28
|
-
items: import("../../../../components/Select/elements/Inner/elements/Item/Item.types").ItemOption[];
|
29
|
-
placement?: import("../../../../components/Select/Select.types").SelectPlacement | import("../../../../components/Select/Select.types").SelectPlacementBasic[] | undefined;
|
30
|
-
label?: string | undefined;
|
31
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
32
|
-
placeholder?: string | undefined;
|
33
|
-
helperText?: string | undefined;
|
34
|
-
disabled?: boolean | undefined;
|
35
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
36
|
-
isInfiniteLoading?: boolean | undefined;
|
37
|
-
notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
38
|
-
variant?: "normal" | "tight" | undefined;
|
39
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
40
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
41
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
42
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
43
|
-
renderValue?: ((value: string, label: string) => string) | undefined;
|
44
|
-
size?: string | undefined;
|
45
|
-
view?: string | undefined;
|
46
|
-
chipView?: string | undefined;
|
47
|
-
multiselect?: boolean | undefined;
|
48
|
-
isOpen?: boolean | undefined;
|
49
|
-
status?: "error" | "success" | "warning" | undefined;
|
50
|
-
} & {
|
27
|
+
}> & ((import("../../../../components/Select/Select.types").BasicProps & {
|
51
28
|
value: string;
|
52
29
|
onChange: (value: string) => void;
|
53
30
|
separator?: undefined;
|
@@ -56,30 +33,11 @@ export declare const Select: import("react").FunctionComponent<import("../../../
|
|
56
33
|
target?: "textfield" | undefined;
|
57
34
|
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
58
35
|
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
59
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
60
|
-
items: import("../../../../components/Select/elements/Inner/elements/Item/Item.types").ItemOption[];
|
61
|
-
placement?: import("../../../../components/Select/Select.types").SelectPlacement | import("../../../../components/Select/Select.types").SelectPlacementBasic[] | undefined;
|
62
36
|
label?: string | undefined;
|
63
37
|
labelPlacement?: "inner" | "outer" | undefined;
|
64
38
|
placeholder?: string | undefined;
|
65
39
|
helperText?: string | undefined;
|
66
|
-
|
67
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
68
|
-
isInfiniteLoading?: boolean | undefined;
|
69
|
-
notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
70
|
-
variant?: "normal" | "tight" | undefined;
|
71
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
72
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
73
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
74
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
75
|
-
renderValue?: ((value: string, label: string) => string) | undefined;
|
76
|
-
size?: string | undefined;
|
77
|
-
view?: string | undefined;
|
78
|
-
chipView?: string | undefined;
|
79
|
-
multiselect?: boolean | undefined;
|
80
|
-
isOpen?: boolean | undefined;
|
81
|
-
status?: "error" | "success" | "warning" | undefined;
|
82
|
-
} & {
|
40
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../../components/Select/Select.types").BasicProps & {
|
83
41
|
value: string;
|
84
42
|
onChange: (value: string) => void;
|
85
43
|
separator?: undefined;
|
@@ -88,30 +46,11 @@ export declare const Select: import("react").FunctionComponent<import("../../../
|
|
88
46
|
target?: "button" | undefined;
|
89
47
|
view?: "default" | "accent" | "secondary" | "black" | "white" | "dark" | "clear" | "warning" | "positive" | "negative" | undefined;
|
90
48
|
contentLeft?: undefined;
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
placeholder?: string | undefined;
|
97
|
-
helperText?: string | undefined;
|
98
|
-
disabled?: boolean | undefined;
|
99
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
100
|
-
isInfiniteLoading?: boolean | undefined;
|
101
|
-
notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
102
|
-
variant?: "normal" | "tight" | undefined;
|
103
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
104
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
105
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
106
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
107
|
-
renderValue?: ((value: string, label: string) => string) | undefined;
|
108
|
-
size?: string | undefined;
|
109
|
-
view?: string | undefined;
|
110
|
-
chipView?: string | undefined;
|
111
|
-
multiselect?: boolean | undefined;
|
112
|
-
isOpen?: boolean | undefined;
|
113
|
-
status?: "error" | "success" | "warning" | undefined;
|
114
|
-
} & {
|
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 & {
|
115
54
|
value: string[];
|
116
55
|
onChange: (value: string[]) => void;
|
117
56
|
separator?: string | undefined;
|
@@ -120,30 +59,11 @@ export declare const Select: import("react").FunctionComponent<import("../../../
|
|
120
59
|
target?: "textfield" | undefined;
|
121
60
|
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
122
61
|
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
123
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
124
|
-
items: import("../../../../components/Select/elements/Inner/elements/Item/Item.types").ItemOption[];
|
125
|
-
placement?: import("../../../../components/Select/Select.types").SelectPlacement | import("../../../../components/Select/Select.types").SelectPlacementBasic[] | undefined;
|
126
62
|
label?: string | undefined;
|
127
63
|
labelPlacement?: "inner" | "outer" | undefined;
|
128
64
|
placeholder?: string | undefined;
|
129
65
|
helperText?: string | undefined;
|
130
|
-
|
131
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
132
|
-
isInfiniteLoading?: boolean | undefined;
|
133
|
-
notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
134
|
-
variant?: "normal" | "tight" | undefined;
|
135
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
136
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
137
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
138
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
139
|
-
renderValue?: ((value: string, label: string) => string) | undefined;
|
140
|
-
size?: string | undefined;
|
141
|
-
view?: string | undefined;
|
142
|
-
chipView?: string | undefined;
|
143
|
-
multiselect?: boolean | undefined;
|
144
|
-
isOpen?: boolean | undefined;
|
145
|
-
status?: "error" | "success" | "warning" | undefined;
|
146
|
-
} & {
|
66
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../../components/Select/Select.types").BasicProps & {
|
147
67
|
value: string[];
|
148
68
|
onChange: (value: string[]) => void;
|
149
69
|
separator?: string | undefined;
|
@@ -152,6 +72,10 @@ export declare const Select: import("react").FunctionComponent<import("../../../
|
|
152
72
|
target?: "button" | undefined;
|
153
73
|
view?: "default" | "accent" | "secondary" | "black" | "white" | "dark" | "clear" | "warning" | "positive" | "negative" | undefined;
|
154
74
|
contentLeft?: undefined;
|
75
|
+
label?: undefined;
|
76
|
+
labelPlacement?: undefined;
|
77
|
+
placeholder?: undefined;
|
78
|
+
helperText?: undefined;
|
155
79
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>))>;
|
156
|
-
export { SelectNotFoundContent };
|
80
|
+
export { Select, SelectNotFoundContent };
|
157
81
|
//# sourceMappingURL=Select.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Select/Select.ts"],"names":[],"mappings":";AACA,OAAO,EAAgB,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAKpF,
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/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"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
export declare const config: {
|
2
|
+
defaults: {
|
3
|
+
view: string;
|
4
|
+
chipView: string;
|
5
|
+
size: string;
|
6
|
+
};
|
7
|
+
variations: {
|
8
|
+
size: {
|
9
|
+
xs: import("@linaria/core").LinariaClassName;
|
10
|
+
s: import("@linaria/core").LinariaClassName;
|
11
|
+
m: import("@linaria/core").LinariaClassName;
|
12
|
+
l: import("@linaria/core").LinariaClassName;
|
13
|
+
};
|
14
|
+
view: {
|
15
|
+
default: import("@linaria/core").LinariaClassName;
|
16
|
+
positive: import("@linaria/core").LinariaClassName;
|
17
|
+
warning: import("@linaria/core").LinariaClassName;
|
18
|
+
negative: import("@linaria/core").LinariaClassName;
|
19
|
+
accent: import("@linaria/core").LinariaClassName;
|
20
|
+
secondary: import("@linaria/core").LinariaClassName;
|
21
|
+
clear: import("@linaria/core").LinariaClassName;
|
22
|
+
dark: import("@linaria/core").LinariaClassName;
|
23
|
+
black: import("@linaria/core").LinariaClassName;
|
24
|
+
white: import("@linaria/core").LinariaClassName;
|
25
|
+
};
|
26
|
+
chipView: {
|
27
|
+
default: import("@linaria/core").LinariaClassName;
|
28
|
+
secondary: import("@linaria/core").LinariaClassName;
|
29
|
+
accent: import("@linaria/core").LinariaClassName;
|
30
|
+
};
|
31
|
+
};
|
32
|
+
};
|
33
|
+
//# sourceMappingURL=Select.config.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Select.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Select/Select.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8YlB,CAAC"}
|