@salutejs/plasma-new-hope 0.88.0-canary.1233.9420319803.0 → 0.88.0-canary.1233.9439608380.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Chip/Chip.css +5 -5
- package/cjs/components/Chip/Chip.styles.js +1 -1
- package/cjs/components/Chip/Chip.styles.js.map +1 -1
- package/cjs/components/Chip/{Chip.styles_1l2rsrr.css → Chip.styles_1mwwhiw.css} +1 -1
- package/cjs/components/Combobox/Combobox.css +5 -5
- package/cjs/components/Combobox/ui/ComboboxChip/ComboboxChip.css +5 -5
- package/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.css +5 -5
- package/cjs/components/Pagination/Pagination.css +10 -11
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +10 -11
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +0 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
- package/cjs/components/Range/Range.css +5 -5
- package/cjs/components/Select/Select.css +10 -11
- package/cjs/components/Select/Select.js +16 -10
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Select/Select.styles.js +2 -0
- package/cjs/components/Select/Select.styles.js.map +1 -1
- package/cjs/components/Select/elements/Inner/Inner.css +10 -11
- package/cjs/components/Select/elements/Inner/Inner.js +7 -2
- package/cjs/components/Select/elements/Inner/Inner.js.map +1 -1
- package/cjs/components/Select/elements/Inner/elements/Item/Item.css +10 -11
- package/cjs/components/Select/elements/Inner/elements/Item/Item.js +17 -6
- package/cjs/components/Select/elements/Inner/elements/Item/Item.js.map +1 -1
- package/cjs/components/Select/elements/Target/Target.css +10 -11
- package/cjs/components/Select/elements/Target/Target.js +9 -3
- package/cjs/components/Select/elements/Target/Target.js.map +1 -1
- package/cjs/components/Select/elements/Target/elements/Button/Button.css +5 -6
- package/cjs/components/Select/elements/Target/elements/Button/Button.js +28 -32
- package/cjs/components/Select/elements/Target/elements/Button/Button.js.map +1 -1
- package/cjs/components/Select/elements/Target/elements/Button/Button.styles.js +2 -8
- package/cjs/components/Select/elements/Target/elements/Button/Button.styles.js.map +1 -1
- package/cjs/components/Select/elements/Target/elements/Button/{Button.styles_1bweq1y.css → Button.styles_1r519o1.css} +1 -2
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.css +5 -5
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js +25 -7
- package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js.map +1 -1
- package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.css +5 -5
- package/cjs/components/Select/hooks/useKeyboardNavigation.js +11 -2
- package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
- package/cjs/components/Select/utils/getButtonLabel.js +47 -0
- package/cjs/components/Select/utils/getButtonLabel.js.map +1 -0
- package/cjs/components/Slider/Slider.css +5 -5
- package/cjs/components/Slider/components/Double/Double.css +5 -5
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +5 -5
- package/cjs/index.css +10 -11
- package/es/components/Chip/Chip.css +5 -5
- package/es/components/Chip/Chip.styles.js +1 -1
- package/es/components/Chip/Chip.styles.js.map +1 -1
- package/es/components/Chip/{Chip.styles_1l2rsrr.css → Chip.styles_1mwwhiw.css} +1 -1
- package/es/components/Combobox/Combobox.css +5 -5
- package/es/components/Combobox/ui/ComboboxChip/ComboboxChip.css +5 -5
- package/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.css +5 -5
- package/es/components/Pagination/Pagination.css +10 -11
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +10 -11
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +0 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
- package/es/components/Range/Range.css +5 -5
- package/es/components/Select/Select.css +10 -11
- package/es/components/Select/Select.js +16 -10
- package/es/components/Select/Select.js.map +1 -1
- package/es/components/Select/Select.styles.js +2 -0
- package/es/components/Select/Select.styles.js.map +1 -1
- package/es/components/Select/elements/Inner/Inner.css +10 -11
- package/es/components/Select/elements/Inner/Inner.js +7 -2
- package/es/components/Select/elements/Inner/Inner.js.map +1 -1
- package/es/components/Select/elements/Inner/elements/Item/Item.css +10 -11
- package/es/components/Select/elements/Inner/elements/Item/Item.js +17 -6
- package/es/components/Select/elements/Inner/elements/Item/Item.js.map +1 -1
- package/es/components/Select/elements/Target/Target.css +10 -11
- package/es/components/Select/elements/Target/Target.js +9 -3
- package/es/components/Select/elements/Target/Target.js.map +1 -1
- package/es/components/Select/elements/Target/elements/Button/Button.css +5 -6
- package/es/components/Select/elements/Target/elements/Button/Button.js +29 -33
- package/es/components/Select/elements/Target/elements/Button/Button.js.map +1 -1
- package/es/components/Select/elements/Target/elements/Button/Button.styles.js +3 -8
- package/es/components/Select/elements/Target/elements/Button/Button.styles.js.map +1 -1
- package/es/components/Select/elements/Target/elements/Button/{Button.styles_1bweq1y.css → Button.styles_1r519o1.css} +1 -2
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.css +5 -5
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.js +25 -7
- package/es/components/Select/elements/Target/elements/Textfield/Textfield.js.map +1 -1
- package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.css +5 -5
- package/es/components/Select/hooks/useKeyboardNavigation.js +11 -2
- package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
- package/es/components/Select/utils/getButtonLabel.js +43 -0
- package/es/components/Select/utils/getButtonLabel.js.map +1 -0
- package/es/components/Slider/Slider.css +5 -5
- package/es/components/Slider/components/Double/Double.css +5 -5
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +5 -5
- package/es/index.css +10 -11
- package/package.json +2 -2
- package/styled-components/cjs/components/Chip/Chip.styles.js +1 -1
- package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +0 -1
- package/styled-components/cjs/components/Select/Select.js +26 -20
- package/styled-components/cjs/components/Select/elements/Inner/Inner.js +7 -2
- package/styled-components/cjs/components/Select/elements/Inner/elements/Item/Item.js +16 -5
- package/styled-components/cjs/components/Select/elements/Target/Target.js +9 -3
- package/styled-components/cjs/components/Select/elements/Target/elements/Button/Button.js +28 -31
- package/styled-components/cjs/components/Select/elements/Target/elements/Button/Button.styles.js +3 -6
- package/styled-components/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js +25 -7
- package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +11 -2
- package/styled-components/cjs/components/Select/utils/getButtonLabel.js +43 -0
- package/styled-components/cjs/components/Select/utils/index.js +8 -1
- 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 +22 -50
- package/styled-components/es/components/Chip/Chip.styles.js +1 -1
- package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +0 -1
- package/styled-components/es/components/Select/Select.js +16 -10
- package/styled-components/es/components/Select/elements/Inner/Inner.js +7 -2
- package/styled-components/es/components/Select/elements/Inner/elements/Item/Item.js +16 -5
- package/styled-components/es/components/Select/elements/Target/Target.js +9 -3
- package/styled-components/es/components/Select/elements/Target/elements/Button/Button.js +30 -33
- package/styled-components/es/components/Select/elements/Target/elements/Button/Button.styles.js +2 -5
- package/styled-components/es/components/Select/elements/Target/elements/Textfield/Textfield.js +25 -7
- package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +11 -2
- package/styled-components/es/components/Select/utils/getButtonLabel.js +37 -0
- package/styled-components/es/components/Select/utils/index.js +2 -1
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +1 -0
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +22 -50
- package/types/components/Chip/Chip.styles.d.ts.map +1 -1
- 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 +4 -92
- 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 +22 -12
- package/types/components/Select/Select.types.d.ts.map +1 -1
- package/types/components/Select/elements/Inner/Inner.d.ts.map +1 -1
- package/types/components/Select/elements/Inner/elements/Item/Item.d.ts.map +1 -1
- package/types/components/Select/elements/Inner/elements/Item/Item.types.d.ts +37 -1
- package/types/components/Select/elements/Inner/elements/Item/Item.types.d.ts.map +1 -1
- package/types/components/Select/elements/Target/Target.d.ts.map +1 -1
- package/types/components/Select/elements/Target/Target.types.d.ts +5 -3
- package/types/components/Select/elements/Target/Target.types.d.ts.map +1 -1
- package/types/components/Select/elements/Target/elements/Button/Button.d.ts.map +1 -1
- package/types/components/Select/elements/Target/elements/Button/Button.styles.d.ts +0 -1
- package/types/components/Select/elements/Target/elements/Button/Button.styles.d.ts.map +1 -1
- package/types/components/Select/elements/Target/elements/Button/Button.types.d.ts +1 -1
- package/types/components/Select/elements/Target/elements/Button/Button.types.d.ts.map +1 -1
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.d.ts.map +1 -1
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.types.d.ts +1 -1
- package/types/components/Select/elements/Target/elements/Textfield/Textfield.types.d.ts.map +1 -1
- package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
- package/types/components/Select/utils/getButtonLabel.d.ts +3 -0
- package/types/components/Select/utils/getButtonLabel.d.ts.map +1 -0
- package/types/components/Select/utils/index.d.ts +1 -0
- package/types/components/Select/utils/index.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 +4 -92
- package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts
CHANGED
@@ -1,123 +1,35 @@
|
|
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
|
-
label?: string | undefined;
|
6
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
7
|
-
placeholder?: string | undefined;
|
8
|
-
helperText?: string | undefined;
|
9
|
-
disabled?: boolean | undefined;
|
10
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
11
|
-
isInfiniteLoading?: boolean | undefined;
|
12
|
-
notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
13
|
-
variant?: "normal" | "tight" | undefined;
|
14
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
15
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
16
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
17
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
18
|
-
renderTargetLabel?: any;
|
19
|
-
size?: string | undefined;
|
20
|
-
view?: string | undefined;
|
21
|
-
chipView?: string | undefined;
|
22
|
-
isOpen?: boolean | undefined;
|
23
|
-
status?: "error" | "success" | "warning" | undefined;
|
24
|
-
} & {
|
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 & {
|
25
4
|
value: string;
|
26
5
|
onChange: (value: string) => void;
|
27
|
-
multiselect?: false | undefined;
|
28
6
|
separator?: undefined;
|
29
7
|
isTargetAmount?: false | undefined;
|
30
8
|
} & {
|
31
9
|
target?: "textfield" | undefined;
|
32
10
|
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
33
11
|
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
34
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
35
|
-
items: import("../../../Select/elements/Inner/elements/Item/Item.types").ItemOption[];
|
36
|
-
label?: string | undefined;
|
37
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
38
|
-
placeholder?: string | undefined;
|
39
|
-
helperText?: string | undefined;
|
40
|
-
disabled?: boolean | undefined;
|
41
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
42
|
-
isInfiniteLoading?: boolean | undefined;
|
43
|
-
notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
44
|
-
variant?: "normal" | "tight" | undefined;
|
45
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
46
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
47
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
48
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
49
|
-
renderTargetLabel?: any;
|
50
|
-
size?: string | undefined;
|
51
|
-
view?: string | undefined;
|
52
|
-
chipView?: string | undefined;
|
53
|
-
isOpen?: boolean | undefined;
|
54
|
-
status?: "error" | "success" | "warning" | undefined;
|
55
|
-
} & {
|
12
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../Select/Select.types").BasicProps & {
|
56
13
|
value: string;
|
57
14
|
onChange: (value: string) => void;
|
58
|
-
multiselect?: false | undefined;
|
59
15
|
separator?: undefined;
|
60
16
|
isTargetAmount?: false | undefined;
|
61
17
|
} & {
|
62
18
|
target?: "button" | undefined;
|
63
19
|
view?: "default" | "accent" | "secondary" | "black" | "white" | "dark" | "clear" | "warning" | "positive" | "negative" | undefined;
|
64
20
|
contentLeft?: undefined;
|
65
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
66
|
-
items: import("../../../Select/elements/Inner/elements/Item/Item.types").ItemOption[];
|
67
|
-
label?: string | undefined;
|
68
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
69
|
-
placeholder?: string | undefined;
|
70
|
-
helperText?: string | undefined;
|
71
|
-
disabled?: boolean | undefined;
|
72
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
73
|
-
isInfiniteLoading?: boolean | undefined;
|
74
|
-
notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
75
|
-
variant?: "normal" | "tight" | undefined;
|
76
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
77
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
78
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
79
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
80
|
-
renderTargetLabel?: any;
|
81
|
-
size?: string | undefined;
|
82
|
-
view?: string | undefined;
|
83
|
-
chipView?: string | undefined;
|
84
|
-
isOpen?: boolean | undefined;
|
85
|
-
status?: "error" | "success" | "warning" | undefined;
|
86
|
-
} & {
|
21
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../Select/Select.types").BasicProps & {
|
87
22
|
value: string[];
|
88
23
|
onChange: (value: string[]) => void;
|
89
|
-
multiselect?: true | undefined;
|
90
24
|
separator?: string | undefined;
|
91
25
|
isTargetAmount?: boolean | undefined;
|
92
26
|
} & {
|
93
27
|
target?: "textfield" | undefined;
|
94
28
|
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
95
29
|
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
96
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
97
|
-
items: import("../../../Select/elements/Inner/elements/Item/Item.types").ItemOption[];
|
98
|
-
label?: string | undefined;
|
99
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
100
|
-
placeholder?: string | undefined;
|
101
|
-
helperText?: string | undefined;
|
102
|
-
disabled?: boolean | undefined;
|
103
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
104
|
-
isInfiniteLoading?: boolean | undefined;
|
105
|
-
notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
106
|
-
variant?: "normal" | "tight" | undefined;
|
107
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
108
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
109
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
110
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
111
|
-
renderTargetLabel?: any;
|
112
|
-
size?: string | undefined;
|
113
|
-
view?: string | undefined;
|
114
|
-
chipView?: string | undefined;
|
115
|
-
isOpen?: boolean | undefined;
|
116
|
-
status?: "error" | "success" | "warning" | undefined;
|
117
|
-
} & {
|
30
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../Select/Select.types").BasicProps & {
|
118
31
|
value: string[];
|
119
32
|
onChange: (value: string[]) => void;
|
120
|
-
multiselect?: true | undefined;
|
121
33
|
separator?: string | undefined;
|
122
34
|
isTargetAmount?: boolean | undefined;
|
123
35
|
} & {
|
@@ -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;AAa1C,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,0FA8QpE,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBAhRQ,UAAU,iBAAiB,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;CAkSzE,CAAC"}
|
@@ -3,6 +3,8 @@ import React from 'react';
|
|
3
3
|
import { FocusedPathState } from './reducers';
|
4
4
|
import { ItemOption, ItemOptionTransformed } from './elements/Inner/elements/Item/Item.types';
|
5
5
|
import type { ValueToCheckedMapType } from './hooks/usePathMaps';
|
6
|
+
export declare type SelectPlacementBasic = 'top' | 'bottom' | 'right' | 'left';
|
7
|
+
export declare type SelectPlacement = SelectPlacementBasic | 'auto';
|
6
8
|
declare type Target = {
|
7
9
|
/**
|
8
10
|
* Стиль селекта: button или textfield.
|
@@ -22,11 +24,6 @@ declare type Target = {
|
|
22
24
|
declare type IsMultiselect = {
|
23
25
|
value: string;
|
24
26
|
onChange: (value: string) => void;
|
25
|
-
/**
|
26
|
-
* Выбор нескольких значений.
|
27
|
-
* @default false
|
28
|
-
*/
|
29
|
-
multiselect?: false;
|
30
27
|
/**
|
31
28
|
* Разделитель выбранных значений.
|
32
29
|
*/
|
@@ -39,12 +36,19 @@ declare type IsMultiselect = {
|
|
39
36
|
} | {
|
40
37
|
value: Array<string>;
|
41
38
|
onChange: (value: Array<string>) => void;
|
42
|
-
multiselect?: true;
|
43
39
|
separator?: string;
|
44
40
|
isTargetAmount?: boolean;
|
45
41
|
};
|
46
|
-
|
42
|
+
export interface BasicProps {
|
43
|
+
/**
|
44
|
+
* Список элементов.
|
45
|
+
*/
|
47
46
|
items: Array<ItemOption>;
|
47
|
+
/**
|
48
|
+
* Сторона открытия дропдауна относительно target элемента.
|
49
|
+
* @default bottom
|
50
|
+
*/
|
51
|
+
placement?: SelectPlacement | Array<SelectPlacementBasic>;
|
48
52
|
/**
|
49
53
|
* Метка-подпись к элементу.
|
50
54
|
*/
|
@@ -86,13 +90,11 @@ declare type BasicProps = {
|
|
86
90
|
variant?: 'normal' | 'tight';
|
87
91
|
/**
|
88
92
|
* Значение css overflow для выпадающего меню.
|
89
|
-
* @default initial
|
90
93
|
* @example listOverflow="scroll"
|
91
94
|
*/
|
92
95
|
listOverflow?: CSSProperties['overflow'];
|
93
96
|
/**
|
94
97
|
* Значение css height для выпадающего меню.
|
95
|
-
* @default initial
|
96
98
|
* @example listHeight="11", listHeight="auto", listHeight={11}
|
97
99
|
*/
|
98
100
|
listHeight?: number | CSSProperties['height'];
|
@@ -105,7 +107,10 @@ declare type BasicProps = {
|
|
105
107
|
* Портал для выпадающего списка. Принимает id контейнера или ref.
|
106
108
|
*/
|
107
109
|
portal?: string | React.RefObject<HTMLElement>;
|
108
|
-
|
110
|
+
/**
|
111
|
+
* Callback для кастомной настройки значения в селекте
|
112
|
+
*/
|
113
|
+
renderValue?: (value: ItemOption['value'], label: ItemOption['label']) => string;
|
109
114
|
/**
|
110
115
|
* Размер компонента.
|
111
116
|
*/
|
@@ -118,6 +123,11 @@ declare type BasicProps = {
|
|
118
123
|
* Внешний вид чипа в варианте textfield multiselect.
|
119
124
|
*/
|
120
125
|
chipView?: string;
|
126
|
+
/**
|
127
|
+
* Выбор нескольких значений.
|
128
|
+
* @deprecated Множественны выбор зависит от типа value и onChange.
|
129
|
+
*/
|
130
|
+
multiselect?: boolean;
|
121
131
|
/**
|
122
132
|
* @default false
|
123
133
|
* @deprecated
|
@@ -128,12 +138,12 @@ declare type BasicProps = {
|
|
128
138
|
* @deprecated
|
129
139
|
*/
|
130
140
|
status?: 'warning' | 'success' | 'error';
|
131
|
-
}
|
141
|
+
}
|
132
142
|
export declare type SelectProps = BasicProps & IsMultiselect & Target & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value' | 'onChange' | 'onResize' | 'onResizeCapture' | 'nonce'>;
|
133
143
|
export declare type ItemContext = {
|
134
144
|
focusedPath: FocusedPathState;
|
135
145
|
checked: ValueToCheckedMapType;
|
136
|
-
multiselect:
|
146
|
+
multiselect: boolean;
|
137
147
|
size: SelectProps['size'];
|
138
148
|
handleCheckboxChange: (item: ItemOptionTransformed) => void;
|
139
149
|
handleItemClick: (item: ItemOptionTransformed, e: React.MouseEvent<HTMLElement>) => void;
|
@@ -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,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;CACpC,GACD;IACI,MAAM,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IAC1B,IAAI,CAAC,EACC,SAAS,GACT,QAAQ,GACR,WAAW,GACX,OAAO,GACP,UAAU,GACV,SAAS,GACT,UAAU,GACV,MAAM,GACN,OAAO,GACP,OAAO,CAAC;IACd,WAAW,CAAC,EAAE,KAAK,CAAC;CACvB,CAAC;AAER,aAAK,aAAa,GACZ;IACI,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC
|
1
|
+
{"version":3,"file":"Select.types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.types.ts"],"names":[],"mappings":"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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Inner.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/elements/Inner/Inner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAOhC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,
|
1
|
+
{"version":3,"file":"Inner.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/elements/Inner/Inner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAOhC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAuDhC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/elements/Inner/elements/Item/Item.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAqB,EAAE,EAAc,MAAM,OAAO,CAAC;AAQjE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAYzC,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,
|
1
|
+
{"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/elements/Inner/elements/Item/Item.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAqB,EAAE,EAAc,MAAM,OAAO,CAAC;AAQjE,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAYzC,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,SAAS,CA8F9B,CAAC"}
|
@@ -1,13 +1,44 @@
|
|
1
1
|
import type { ReactNode } from 'react';
|
2
2
|
import type { PathState } from '../../../../reducers';
|
3
3
|
export declare type ItemOption = {
|
4
|
-
|
4
|
+
/**
|
5
|
+
* Значение у item
|
6
|
+
*/
|
7
|
+
value: string;
|
8
|
+
/**
|
9
|
+
* Метка-подпись к item
|
10
|
+
*/
|
5
11
|
label: string;
|
12
|
+
/**
|
13
|
+
* Список дочерних items.
|
14
|
+
*/
|
6
15
|
items?: Array<ItemOption>;
|
16
|
+
/**
|
17
|
+
* Item не активен
|
18
|
+
*/
|
19
|
+
disabled?: boolean;
|
20
|
+
/**
|
21
|
+
* Слот для контента слева
|
22
|
+
*/
|
7
23
|
contentLeft?: ReactNode;
|
24
|
+
/**
|
25
|
+
* Слот для контента справа
|
26
|
+
*/
|
8
27
|
contentRight?: ReactNode;
|
28
|
+
/**
|
29
|
+
* Выбранный item.
|
30
|
+
* @deprecated
|
31
|
+
*/
|
9
32
|
isActive?: boolean;
|
33
|
+
/**
|
34
|
+
* Кастомный цвет текста
|
35
|
+
* @deprecated
|
36
|
+
*/
|
10
37
|
color?: string;
|
38
|
+
/**
|
39
|
+
* Айтем не активен
|
40
|
+
* @deprecated использовать disabled
|
41
|
+
*/
|
11
42
|
isDisabled?: boolean;
|
12
43
|
};
|
13
44
|
export declare type ItemOptionTransformed = ItemOption & {
|
@@ -18,5 +49,10 @@ export interface ItemProps {
|
|
18
49
|
currentLevel: number;
|
19
50
|
index: number;
|
20
51
|
path: PathState;
|
52
|
+
ariaControls?: string;
|
53
|
+
ariaExpanded?: boolean;
|
54
|
+
ariaLevel?: React.AriaAttributes['aria-level'];
|
55
|
+
ariaLabel?: React.AriaAttributes['aria-label'];
|
56
|
+
itemRole?: string;
|
21
57
|
}
|
22
58
|
//# sourceMappingURL=Item.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Item.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/elements/Inner/elements/Item/Item.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,oBAAY,UAAU,GAAG;IACrB,KAAK,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"Item.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/elements/Inner/elements/Item/Item.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,oBAAY,UAAU,GAAG;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,oBAAY,qBAAqB,GAAG,UAAU,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,GAAG,IAAI,CAAA;CAAE,CAAC;AAEhF,MAAM,WAAW,SAAS;IACtB,IAAI,EAAE,qBAAqB,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;IAC/C,SAAS,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;IAC/C,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Target.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/elements/Target/Target.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAIlD,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,
|
1
|
+
{"version":3,"file":"Target.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/elements/Target/Target.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAIlD,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAwDxC,CAAC"}
|
@@ -1,12 +1,14 @@
|
|
1
1
|
import type { KeyboardEvent } from 'react';
|
2
|
-
import type { ValueToItemMapType } from '../../hooks/usePathMaps';
|
2
|
+
import type { ValueToItemMapType, FocusedToValueMapType } from '../../hooks/usePathMaps';
|
3
3
|
import type { SelectProps } from '../../Select.types';
|
4
|
-
import { FocusedChipIndexState } from '../../reducers';
|
5
|
-
export declare type TargetProps = Pick<SelectProps, 'value' | 'size' | 'multiselect' | 'isTargetAmount' | 'target' | 'label' | 'labelPlacement' | 'placeholder' | 'contentLeft' | 'disabled' | '
|
4
|
+
import { FocusedChipIndexState, FocusedPathState } from '../../reducers';
|
5
|
+
export declare type TargetProps = Pick<SelectProps, 'value' | 'size' | 'multiselect' | 'isTargetAmount' | 'target' | 'label' | 'labelPlacement' | 'placeholder' | 'contentLeft' | 'disabled' | 'renderValue'> & {
|
6
6
|
opened: boolean;
|
7
7
|
valueToItemMap: ValueToItemMapType;
|
8
8
|
onChipClick: (value: string) => void;
|
9
9
|
onKeyDown: (event: KeyboardEvent<HTMLElement>) => void;
|
10
10
|
focusedChipIndex: FocusedChipIndexState;
|
11
|
+
focusedPath: FocusedPathState;
|
12
|
+
focusedToValueMap: FocusedToValueMapType;
|
11
13
|
};
|
12
14
|
//# sourceMappingURL=Target.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Target.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/elements/Target/Target.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;
|
1
|
+
{"version":3,"file":"Target.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/elements/Target/Target.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACzF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEzE,oBAAY,WAAW,GAAG,IAAI,CAC1B,WAAW,EACT,OAAO,GACP,MAAM,GACN,aAAa,GACb,gBAAgB,GAChB,QAAQ,GACR,OAAO,GACP,gBAAgB,GAChB,aAAa,GACb,aAAa,GACb,UAAU,GACV,aAAa,CAClB,GAAG;IACA,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,kBAAkB,CAAC;IACnC,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACvD,gBAAgB,EAAE,qBAAqB,CAAC;IACxC,WAAW,EAAE,gBAAgB,CAAC;IAC9B,iBAAiB,EAAE,qBAAqB,CAAC;CAC5C,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/elements/Target/elements/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/elements/Target/elements/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAyDxC,CAAC"}
|
@@ -45,6 +45,5 @@ export declare const StyledButton: import("@linaria/react").StyledMeta & import(
|
|
45
45
|
export declare const IconArrowWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
46
46
|
export declare const StyledArrow: import("@linaria/react").StyledMeta & import("react").FC<import("../../../../../_Icon/IconRoot").IconProps>;
|
47
47
|
export declare const ButtonWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
48
|
-
export declare const InnerWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
49
48
|
export declare const Label: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
50
49
|
//# sourceMappingURL=Button.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/elements/Target/elements/Button/Button.styles.tsx"],"names":[],"mappings":";AAWA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAoBxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,qKAW5B,CAAC;AAEF,eAAO,MAAM,WAAW,6GAIvB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAMzB,CAAC;AAEF,eAAO,MAAM,
|
1
|
+
{"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/elements/Target/elements/Button/Button.styles.tsx"],"names":[],"mappings":";AAWA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAoBxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,qKAW5B,CAAC;AAEF,eAAO,MAAM,WAAW,6GAIvB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAMzB,CAAC;AAEF,eAAO,MAAM,KAAK,qKAUjB,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { TargetProps } from '../../Target.types';
|
2
2
|
export declare type ButtonProps = Omit<TargetProps, 'target' | 'onChipClick' | 'labelPlacement' | 'helperText' | 'focusedChipIndex' | 'contentLeft'>;
|
3
|
-
export declare type
|
3
|
+
export declare type GetButtonLabelProps = Omit<ButtonProps, 'opened' | 'onKeyDown' | 'size' | 'focusedToValueMap' | 'focusedPath'>;
|
4
4
|
//# sourceMappingURL=Button.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Button.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/elements/Target/elements/Button/Button.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,oBAAY,WAAW,GAAG,IAAI,CAC1B,WAAW,EACX,QAAQ,GAAG,aAAa,GAAG,gBAAgB,GAAG,YAAY,GAAG,kBAAkB,GAAG,aAAa,CAClG,CAAC;AAEF,oBAAY,
|
1
|
+
{"version":3,"file":"Button.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/elements/Target/elements/Button/Button.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,oBAAY,WAAW,GAAG,IAAI,CAC1B,WAAW,EACX,QAAQ,GAAG,aAAa,GAAG,gBAAgB,GAAG,YAAY,GAAG,kBAAkB,GAAG,aAAa,CAClG,CAAC;AAEF,oBAAY,mBAAmB,GAAG,IAAI,CAClC,WAAW,EACX,QAAQ,GAAG,WAAW,GAAG,MAAM,GAAG,mBAAmB,GAAG,aAAa,CACxE,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Textfield.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/elements/Target/elements/Textfield/Textfield.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,cAAc,
|
1
|
+
{"version":3,"file":"Textfield.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/elements/Target/elements/Textfield/Textfield.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,cAAc,EAA0B,MAAM,mBAAmB,CAAC;AAwE3E,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA0E9C,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { TargetProps } from '../../Target.types';
|
2
2
|
export declare type TextfieldProps = Omit<TargetProps, 'target'>;
|
3
|
-
export declare type
|
3
|
+
export declare type GetTextfieldLabelProps = Omit<TextfieldProps, 'opened' | 'onKeyDown' | 'focusedPath' | 'focusedToValueMap'>;
|
4
4
|
//# sourceMappingURL=Textfield.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Textfield.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/elements/Target/elements/Textfield/Textfield.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,oBAAY,cAAc,GAAG,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;AAEzD,oBAAY,
|
1
|
+
{"version":3,"file":"Textfield.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/elements/Target/elements/Textfield/Textfield.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,oBAAY,cAAc,GAAG,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;AAEzD,oBAAY,sBAAsB,GAAG,IAAI,CAAC,cAAc,EAAE,QAAQ,GAAG,WAAW,GAAG,aAAa,GAAG,mBAAmB,CAAC,CAAC"}
|
@@ -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"}
|
@@ -0,0 +1,3 @@
|
|
1
|
+
import { GetButtonLabelProps } from '../elements/Target/elements/Button/Button.types';
|
2
|
+
export declare const getButtonLabel: ({ value, label, isTargetAmount, multiselect, valueToItemMap, renderValue, }: GetButtonLabelProps) => string | undefined;
|
3
|
+
//# sourceMappingURL=getButtonLabel.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"getButtonLabel.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/utils/getButtonLabel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AAStF,eAAO,MAAM,cAAc,gFAOxB,mBAAmB,uBA0BrB,CAAC"}
|
@@ -5,4 +5,5 @@ export { updateSingleAncestors } from './updateSingleAncestors';
|
|
5
5
|
export { sizeToIconSize } from './sizeToIconSize';
|
6
6
|
export { getCorrectHeight } from './getCorrectHeight';
|
7
7
|
export { getView } from './getView';
|
8
|
+
export { getButtonLabel } from './getButtonLabel';
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,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"}
|
@@ -24,124 +24,36 @@ 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
|
-
label?: string | undefined;
|
30
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
31
|
-
placeholder?: string | undefined;
|
32
|
-
helperText?: string | undefined;
|
33
|
-
disabled?: boolean | undefined;
|
34
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
35
|
-
isInfiniteLoading?: boolean | undefined;
|
36
|
-
notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
37
|
-
variant?: "normal" | "tight" | undefined;
|
38
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
39
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
40
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
41
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
42
|
-
renderTargetLabel?: any;
|
43
|
-
size?: string | undefined;
|
44
|
-
view?: string | undefined;
|
45
|
-
chipView?: string | undefined;
|
46
|
-
isOpen?: boolean | undefined;
|
47
|
-
status?: "error" | "success" | "warning" | undefined;
|
48
|
-
} & {
|
27
|
+
}> & ((import("../../../../components/Select/Select.types").BasicProps & {
|
49
28
|
value: string;
|
50
29
|
onChange: (value: string) => void;
|
51
|
-
multiselect?: false | undefined;
|
52
30
|
separator?: undefined;
|
53
31
|
isTargetAmount?: false | undefined;
|
54
32
|
} & {
|
55
33
|
target?: "textfield" | undefined;
|
56
34
|
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
57
35
|
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
58
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
59
|
-
items: import("../../../../components/Select/elements/Inner/elements/Item/Item.types").ItemOption[];
|
60
|
-
label?: string | undefined;
|
61
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
62
|
-
placeholder?: string | undefined;
|
63
|
-
helperText?: string | undefined;
|
64
|
-
disabled?: boolean | undefined;
|
65
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
66
|
-
isInfiniteLoading?: boolean | undefined;
|
67
|
-
notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
68
|
-
variant?: "normal" | "tight" | undefined;
|
69
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
70
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
71
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
72
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
73
|
-
renderTargetLabel?: any;
|
74
|
-
size?: string | undefined;
|
75
|
-
view?: string | undefined;
|
76
|
-
chipView?: string | undefined;
|
77
|
-
isOpen?: boolean | undefined;
|
78
|
-
status?: "error" | "success" | "warning" | undefined;
|
79
|
-
} & {
|
36
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../../components/Select/Select.types").BasicProps & {
|
80
37
|
value: string;
|
81
38
|
onChange: (value: string) => void;
|
82
|
-
multiselect?: false | undefined;
|
83
39
|
separator?: undefined;
|
84
40
|
isTargetAmount?: false | undefined;
|
85
41
|
} & {
|
86
42
|
target?: "button" | undefined;
|
87
43
|
view?: "default" | "accent" | "secondary" | "black" | "white" | "dark" | "clear" | "warning" | "positive" | "negative" | undefined;
|
88
44
|
contentLeft?: undefined;
|
89
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
90
|
-
items: import("../../../../components/Select/elements/Inner/elements/Item/Item.types").ItemOption[];
|
91
|
-
label?: string | undefined;
|
92
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
93
|
-
placeholder?: string | undefined;
|
94
|
-
helperText?: string | undefined;
|
95
|
-
disabled?: boolean | undefined;
|
96
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
97
|
-
isInfiniteLoading?: boolean | undefined;
|
98
|
-
notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
99
|
-
variant?: "normal" | "tight" | undefined;
|
100
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
101
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
102
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
103
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
104
|
-
renderTargetLabel?: any;
|
105
|
-
size?: string | undefined;
|
106
|
-
view?: string | undefined;
|
107
|
-
chipView?: string | undefined;
|
108
|
-
isOpen?: boolean | undefined;
|
109
|
-
status?: "error" | "success" | "warning" | undefined;
|
110
|
-
} & {
|
45
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../../components/Select/Select.types").BasicProps & {
|
111
46
|
value: string[];
|
112
47
|
onChange: (value: string[]) => void;
|
113
|
-
multiselect?: true | undefined;
|
114
48
|
separator?: string | undefined;
|
115
49
|
isTargetAmount?: boolean | undefined;
|
116
50
|
} & {
|
117
51
|
target?: "textfield" | undefined;
|
118
52
|
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
119
53
|
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
120
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
121
|
-
items: import("../../../../components/Select/elements/Inner/elements/Item/Item.types").ItemOption[];
|
122
|
-
label?: string | undefined;
|
123
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
124
|
-
placeholder?: string | undefined;
|
125
|
-
helperText?: string | undefined;
|
126
|
-
disabled?: boolean | undefined;
|
127
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
128
|
-
isInfiniteLoading?: boolean | undefined;
|
129
|
-
notFoundContent?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
130
|
-
variant?: "normal" | "tight" | undefined;
|
131
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
132
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
133
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
134
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
135
|
-
renderTargetLabel?: any;
|
136
|
-
size?: string | undefined;
|
137
|
-
view?: string | undefined;
|
138
|
-
chipView?: string | undefined;
|
139
|
-
isOpen?: boolean | undefined;
|
140
|
-
status?: "error" | "success" | "warning" | undefined;
|
141
|
-
} & {
|
54
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | (import("../../../../components/Select/Select.types").BasicProps & {
|
142
55
|
value: string[];
|
143
56
|
onChange: (value: string[]) => void;
|
144
|
-
multiselect?: true | undefined;
|
145
57
|
separator?: string | undefined;
|
146
58
|
isTargetAmount?: boolean | undefined;
|
147
59
|
} & {
|
@@ -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,eAAO,MAAM,MAAM
|
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,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLAA0B,CAAC;AAE9C,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|