@salutejs/plasma-new-hope 0.161.0-canary.1468.11177090450.0 → 0.162.0-canary.1470.11181201904.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +2 -2
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts +2 -2
- package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +5 -6
- package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/index.d.ts +2 -0
- package/types/components/Combobox/ComboboxNew/index.d.ts.map +1 -1
- package/types/components/Combobox/index.d.ts +1 -0
- package/types/components/Combobox/index.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +126 -6
- package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +126 -6
- package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salutejs/plasma-new-hope",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.162.0-canary.1470.11181201904.0",
|
4
4
|
"description": "Salute Design System blueprint",
|
5
5
|
"main": "cjs/index.js",
|
6
6
|
"module": "es/index.js",
|
@@ -124,5 +124,5 @@
|
|
124
124
|
"react-popper": "2.3.0",
|
125
125
|
"storeon": "3.1.5"
|
126
126
|
},
|
127
|
-
"gitHead": "
|
127
|
+
"gitHead": "35b518838f3d4549c52600a89ff0a7a7ee3ce548"
|
128
128
|
}
|
@@ -5,11 +5,11 @@ export declare const Context: React.Context<ItemContext>;
|
|
5
5
|
/**
|
6
6
|
* Поле ввода с выпадающим списком и возможностью фильтрации и выбора элементов.
|
7
7
|
*/
|
8
|
-
export declare const comboboxRoot: (Root: RootProps<HTMLInputElement, Omit<ComboboxProps, 'items'>>) => React.ForwardRefExoticComponent<ComboboxProps & React.RefAttributes<HTMLInputElement>>;
|
8
|
+
export declare const comboboxRoot: (Root: RootProps<HTMLInputElement, Omit<ComboboxProps, 'items'>>) => React.ForwardRefExoticComponent<ComboboxProps<import("./ui/Inner/ui/Item/Item.types").ItemOption> & React.RefAttributes<HTMLInputElement>>;
|
9
9
|
export declare const comboboxConfig: {
|
10
10
|
name: string;
|
11
11
|
tag: string;
|
12
|
-
layout: (Root: RootProps<HTMLInputElement, Omit<ComboboxProps, 'items'>>) => React.ForwardRefExoticComponent<ComboboxProps & React.RefAttributes<HTMLInputElement>>;
|
12
|
+
layout: (Root: RootProps<HTMLInputElement, Omit<ComboboxProps, 'items'>>) => React.ForwardRefExoticComponent<ComboboxProps<import("./ui/Inner/ui/Item/Item.types").ItemOption> & React.RefAttributes<HTMLInputElement>>;
|
13
13
|
base: import("@linaria/core").LinariaClassName;
|
14
14
|
variations: {
|
15
15
|
view: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4F,MAAM,OAAO,CAAC;AAIjH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAoB7C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKnE,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC,
|
1
|
+
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4F,MAAM,OAAO,CAAC;AAIjH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAoB7C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKnE,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC,+IAuYtF,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAzYQ,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;CA8Z3F,CAAC"}
|
@@ -59,11 +59,11 @@ declare type ViewStateProps = {
|
|
59
59
|
*/
|
60
60
|
alwaysOpened?: true;
|
61
61
|
};
|
62
|
-
export
|
62
|
+
export declare type ComboboxProps<T extends ItemOption = ItemOption> = {
|
63
63
|
/**
|
64
64
|
* Список элементов.
|
65
65
|
*/
|
66
|
-
items: Array<
|
66
|
+
items: Array<T>;
|
67
67
|
/**
|
68
68
|
* Сторона открытия дропдауна относительно target элемента.
|
69
69
|
* @default bottom
|
@@ -119,7 +119,7 @@ export interface BasicProps {
|
|
119
119
|
/**
|
120
120
|
* Callback для кастомной настройки айтема в выпадающем списке.
|
121
121
|
*/
|
122
|
-
renderItem?: (item:
|
122
|
+
renderItem?: (item: T) => React.ReactNode;
|
123
123
|
/**
|
124
124
|
* Функция фильтрации элементов.
|
125
125
|
*/
|
@@ -142,15 +142,14 @@ export interface BasicProps {
|
|
142
142
|
* @default outer
|
143
143
|
*/
|
144
144
|
labelPlacement?: 'outer' | 'inner';
|
145
|
-
}
|
146
|
-
export declare type ComboboxProps = BasicProps & ViewStateProps & IsMultiselect & Omit<ButtonHTMLAttributes<HTMLInputElement>, 'value' | 'onChange'>;
|
145
|
+
} & ViewStateProps & IsMultiselect & Omit<ButtonHTMLAttributes<HTMLInputElement>, 'value' | 'onChange'>;
|
147
146
|
export declare type FloatingPopoverProps = {
|
148
147
|
target: React.ReactNode | ((ref: React.MutableRefObject<HTMLElement | null>) => React.ReactNode);
|
149
148
|
children: React.ReactNode;
|
150
149
|
opened: boolean;
|
151
150
|
onToggle: (opened: boolean) => void;
|
152
151
|
placement: Placement;
|
153
|
-
portal?:
|
152
|
+
portal?: ComboboxProps['portal'];
|
154
153
|
offset?: number;
|
155
154
|
};
|
156
155
|
export declare type ItemContext = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.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,+BAA+B,CAAC;AAClF,OAAO,KAAK,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAErF,aAAK,SAAS,GACR,KAAK,GACL,WAAW,GACX,SAAS,GACT,OAAO,GACP,aAAa,GACb,WAAW,GACX,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,MAAM,GACN,YAAY,GACZ,UAAU,CAAC;AAEjB,aAAK,aAAa,GACZ;IACI,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;;OAGG;IACH,cAAc,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;CAClC,GACD;IACI,QAAQ,EAAE,IAAI,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,KAAK,IAAI,CAAC;IAC1C,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAER,aAAK,cAAc,GACb;IACI;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACxB,GACD;IACI;;OAEG;IACH,QAAQ,CAAC,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACxB,GACD;IACI;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB;;OAEG;IACH,YAAY,CAAC,EAAE,IAAI,CAAC;CACvB,CAAC;AAER,
|
1
|
+
{"version":3,"file":"Combobox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.types.ts"],"names":[],"mappings":"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"}
|
@@ -1,3 +1,5 @@
|
|
1
1
|
export { comboboxConfig, comboboxRoot } from './Combobox';
|
2
2
|
export { tokens as comboboxTokens } from './Combobox.tokens';
|
3
|
+
export type { ComboboxProps } from './Combobox.types';
|
4
|
+
export type { ItemOption } from './ui/Inner/ui/Item/Item.types';
|
3
5
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAE7D,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,YAAY,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export { comboboxRoot as comboboxOldRoot, comboboxConfig as comboboxOldConfig, comboboxDividerRoot, comboboxDividerConfig, comboboxFooterRoot, comboboxFooterConfig, comboboxGroupRoot, comboboxGroupConfig, comboboxHeaderRoot, comboboxHeaderConfig, comboboxItemRoot, comboboxItemConfig, ComboboxTarget, comboboxClasses as comboboxOldClasses, comboboxTokens as comboboxOldTokens, } from './ComboboxOld';
|
2
2
|
export type { ComboboxProps as ComboboxOldProps } from './ComboboxOld';
|
3
3
|
export { comboboxTokens as comboboxNewTokens, comboboxRoot as comboboxNewRoot, comboboxConfig as comboboxNewConfig, } from './ComboboxNew';
|
4
|
+
export type { ItemOption, ComboboxProps } from './ComboboxNew';
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,IAAI,eAAe,EAC/B,cAAc,IAAI,iBAAiB,EACnC,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,eAAe,IAAI,kBAAkB,EACrC,cAAc,IAAI,iBAAiB,GACtC,MAAM,eAAe,CAAC;AAEvB,YAAY,EAAE,aAAa,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEvE,OAAO,EACH,cAAc,IAAI,iBAAiB,EACnC,YAAY,IAAI,eAAe,EAC/B,cAAc,IAAI,iBAAiB,GACtC,MAAM,eAAe,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,IAAI,eAAe,EAC/B,cAAc,IAAI,iBAAiB,EACnC,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,eAAe,IAAI,kBAAkB,EACrC,cAAc,IAAI,iBAAiB,GACtC,MAAM,eAAe,CAAC;AAEvB,YAAY,EAAE,aAAa,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEvE,OAAO,EACH,cAAc,IAAI,iBAAiB,EACnC,YAAY,IAAI,eAAe,EAC/B,cAAc,IAAI,iBAAiB,GACtC,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC"}
|
@@ -22,7 +22,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
|
|
22
22
|
readOnly: {
|
23
23
|
true: import("@linaria/core").LinariaClassName;
|
24
24
|
};
|
25
|
-
}> & ((
|
25
|
+
}> & (({
|
26
|
+
items: import("../../../..").ItemOption[];
|
27
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
28
|
+
label?: string | undefined;
|
29
|
+
placeholder?: string | undefined;
|
30
|
+
helperText?: string | undefined;
|
31
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
32
|
+
textBefore?: string | undefined;
|
33
|
+
textAfter?: string | undefined;
|
34
|
+
variant?: "normal" | "tight" | undefined;
|
35
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
36
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
37
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
38
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
39
|
+
renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
|
40
|
+
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
41
|
+
closeAfterSelect?: boolean | undefined;
|
42
|
+
size?: string | undefined;
|
43
|
+
view?: string | undefined;
|
44
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
45
|
+
} & {
|
26
46
|
readOnly?: boolean | undefined;
|
27
47
|
disabled?: true | undefined;
|
28
48
|
alwaysOpened?: false | undefined;
|
@@ -31,7 +51,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
|
|
31
51
|
value?: string | undefined;
|
32
52
|
onChange?: ((value: string) => void) | undefined;
|
33
53
|
isTargetAmount?: false | undefined;
|
34
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (
|
54
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
55
|
+
items: import("../../../..").ItemOption[];
|
56
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
57
|
+
label?: string | undefined;
|
58
|
+
placeholder?: string | undefined;
|
59
|
+
helperText?: string | undefined;
|
60
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
61
|
+
textBefore?: string | undefined;
|
62
|
+
textAfter?: string | undefined;
|
63
|
+
variant?: "normal" | "tight" | undefined;
|
64
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
65
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
66
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
67
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
68
|
+
renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
|
69
|
+
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
70
|
+
closeAfterSelect?: boolean | undefined;
|
71
|
+
size?: string | undefined;
|
72
|
+
view?: string | undefined;
|
73
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
74
|
+
} & {
|
35
75
|
readOnly?: boolean | undefined;
|
36
76
|
disabled?: true | undefined;
|
37
77
|
alwaysOpened?: false | undefined;
|
@@ -40,7 +80,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
|
|
40
80
|
value?: string[] | undefined;
|
41
81
|
onChange?: ((value: string[]) => void) | undefined;
|
42
82
|
isTargetAmount?: boolean | undefined;
|
43
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (
|
83
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
84
|
+
items: import("../../../..").ItemOption[];
|
85
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
86
|
+
label?: string | undefined;
|
87
|
+
placeholder?: string | undefined;
|
88
|
+
helperText?: string | undefined;
|
89
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
90
|
+
textBefore?: string | undefined;
|
91
|
+
textAfter?: string | undefined;
|
92
|
+
variant?: "normal" | "tight" | undefined;
|
93
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
94
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
95
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
96
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
97
|
+
renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
|
98
|
+
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
99
|
+
closeAfterSelect?: boolean | undefined;
|
100
|
+
size?: string | undefined;
|
101
|
+
view?: string | undefined;
|
102
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
103
|
+
} & {
|
44
104
|
readOnly?: true | undefined;
|
45
105
|
disabled?: boolean | undefined;
|
46
106
|
alwaysOpened?: false | undefined;
|
@@ -49,7 +109,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
|
|
49
109
|
value?: string | undefined;
|
50
110
|
onChange?: ((value: string) => void) | undefined;
|
51
111
|
isTargetAmount?: false | undefined;
|
52
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (
|
112
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
113
|
+
items: import("../../../..").ItemOption[];
|
114
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
115
|
+
label?: string | undefined;
|
116
|
+
placeholder?: string | undefined;
|
117
|
+
helperText?: string | undefined;
|
118
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
119
|
+
textBefore?: string | undefined;
|
120
|
+
textAfter?: string | undefined;
|
121
|
+
variant?: "normal" | "tight" | undefined;
|
122
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
123
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
124
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
125
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
126
|
+
renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
|
127
|
+
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
128
|
+
closeAfterSelect?: boolean | undefined;
|
129
|
+
size?: string | undefined;
|
130
|
+
view?: string | undefined;
|
131
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
132
|
+
} & {
|
53
133
|
readOnly?: true | undefined;
|
54
134
|
disabled?: boolean | undefined;
|
55
135
|
alwaysOpened?: false | undefined;
|
@@ -58,7 +138,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
|
|
58
138
|
value?: string[] | undefined;
|
59
139
|
onChange?: ((value: string[]) => void) | undefined;
|
60
140
|
isTargetAmount?: boolean | undefined;
|
61
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (
|
141
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
142
|
+
items: import("../../../..").ItemOption[];
|
143
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
144
|
+
label?: string | undefined;
|
145
|
+
placeholder?: string | undefined;
|
146
|
+
helperText?: string | undefined;
|
147
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
148
|
+
textBefore?: string | undefined;
|
149
|
+
textAfter?: string | undefined;
|
150
|
+
variant?: "normal" | "tight" | undefined;
|
151
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
152
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
153
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
154
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
155
|
+
renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
|
156
|
+
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
157
|
+
closeAfterSelect?: boolean | undefined;
|
158
|
+
size?: string | undefined;
|
159
|
+
view?: string | undefined;
|
160
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
161
|
+
} & {
|
62
162
|
readOnly?: false | undefined;
|
63
163
|
disabled?: false | undefined;
|
64
164
|
alwaysOpened?: true | undefined;
|
@@ -67,7 +167,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
|
|
67
167
|
value?: string | undefined;
|
68
168
|
onChange?: ((value: string) => void) | undefined;
|
69
169
|
isTargetAmount?: false | undefined;
|
70
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (
|
170
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
171
|
+
items: import("../../../..").ItemOption[];
|
172
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
173
|
+
label?: string | undefined;
|
174
|
+
placeholder?: string | undefined;
|
175
|
+
helperText?: string | undefined;
|
176
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
177
|
+
textBefore?: string | undefined;
|
178
|
+
textAfter?: string | undefined;
|
179
|
+
variant?: "normal" | "tight" | undefined;
|
180
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
181
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
182
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
183
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
184
|
+
renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
|
185
|
+
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
186
|
+
closeAfterSelect?: boolean | undefined;
|
187
|
+
size?: string | undefined;
|
188
|
+
view?: string | undefined;
|
189
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
190
|
+
} & {
|
71
191
|
readOnly?: false | undefined;
|
72
192
|
disabled?: false | undefined;
|
73
193
|
alwaysOpened?: true | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Combobox/Combobox.ts"],"names":[],"mappings":";AAMA,QAAA,MAAM,QAAQ
|
1
|
+
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Combobox/Combobox.ts"],"names":[],"mappings":";AAMA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2IAA0B,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
@@ -22,7 +22,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
|
|
22
22
|
readOnly: {
|
23
23
|
true: import("@linaria/core").LinariaClassName;
|
24
24
|
};
|
25
|
-
}> & ((
|
25
|
+
}> & (({
|
26
|
+
items: import("../../../..").ItemOption[];
|
27
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
28
|
+
label?: string | undefined;
|
29
|
+
placeholder?: string | undefined;
|
30
|
+
helperText?: string | undefined;
|
31
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
32
|
+
textBefore?: string | undefined;
|
33
|
+
textAfter?: string | undefined;
|
34
|
+
variant?: "normal" | "tight" | undefined;
|
35
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
36
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
37
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
38
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
39
|
+
renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
|
40
|
+
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
41
|
+
closeAfterSelect?: boolean | undefined;
|
42
|
+
size?: string | undefined;
|
43
|
+
view?: string | undefined;
|
44
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
45
|
+
} & {
|
26
46
|
readOnly?: boolean | undefined;
|
27
47
|
disabled?: true | undefined;
|
28
48
|
alwaysOpened?: false | undefined;
|
@@ -31,7 +51,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
|
|
31
51
|
value?: string | undefined;
|
32
52
|
onChange?: ((value: string) => void) | undefined;
|
33
53
|
isTargetAmount?: false | undefined;
|
34
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (
|
54
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
55
|
+
items: import("../../../..").ItemOption[];
|
56
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
57
|
+
label?: string | undefined;
|
58
|
+
placeholder?: string | undefined;
|
59
|
+
helperText?: string | undefined;
|
60
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
61
|
+
textBefore?: string | undefined;
|
62
|
+
textAfter?: string | undefined;
|
63
|
+
variant?: "normal" | "tight" | undefined;
|
64
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
65
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
66
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
67
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
68
|
+
renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
|
69
|
+
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
70
|
+
closeAfterSelect?: boolean | undefined;
|
71
|
+
size?: string | undefined;
|
72
|
+
view?: string | undefined;
|
73
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
74
|
+
} & {
|
35
75
|
readOnly?: boolean | undefined;
|
36
76
|
disabled?: true | undefined;
|
37
77
|
alwaysOpened?: false | undefined;
|
@@ -40,7 +80,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
|
|
40
80
|
value?: string[] | undefined;
|
41
81
|
onChange?: ((value: string[]) => void) | undefined;
|
42
82
|
isTargetAmount?: boolean | undefined;
|
43
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (
|
83
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
84
|
+
items: import("../../../..").ItemOption[];
|
85
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
86
|
+
label?: string | undefined;
|
87
|
+
placeholder?: string | undefined;
|
88
|
+
helperText?: string | undefined;
|
89
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
90
|
+
textBefore?: string | undefined;
|
91
|
+
textAfter?: string | undefined;
|
92
|
+
variant?: "normal" | "tight" | undefined;
|
93
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
94
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
95
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
96
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
97
|
+
renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
|
98
|
+
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
99
|
+
closeAfterSelect?: boolean | undefined;
|
100
|
+
size?: string | undefined;
|
101
|
+
view?: string | undefined;
|
102
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
103
|
+
} & {
|
44
104
|
readOnly?: true | undefined;
|
45
105
|
disabled?: boolean | undefined;
|
46
106
|
alwaysOpened?: false | undefined;
|
@@ -49,7 +109,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
|
|
49
109
|
value?: string | undefined;
|
50
110
|
onChange?: ((value: string) => void) | undefined;
|
51
111
|
isTargetAmount?: false | undefined;
|
52
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (
|
112
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
113
|
+
items: import("../../../..").ItemOption[];
|
114
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
115
|
+
label?: string | undefined;
|
116
|
+
placeholder?: string | undefined;
|
117
|
+
helperText?: string | undefined;
|
118
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
119
|
+
textBefore?: string | undefined;
|
120
|
+
textAfter?: string | undefined;
|
121
|
+
variant?: "normal" | "tight" | undefined;
|
122
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
123
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
124
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
125
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
126
|
+
renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
|
127
|
+
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
128
|
+
closeAfterSelect?: boolean | undefined;
|
129
|
+
size?: string | undefined;
|
130
|
+
view?: string | undefined;
|
131
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
132
|
+
} & {
|
53
133
|
readOnly?: true | undefined;
|
54
134
|
disabled?: boolean | undefined;
|
55
135
|
alwaysOpened?: false | undefined;
|
@@ -58,7 +138,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
|
|
58
138
|
value?: string[] | undefined;
|
59
139
|
onChange?: ((value: string[]) => void) | undefined;
|
60
140
|
isTargetAmount?: boolean | undefined;
|
61
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (
|
141
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
142
|
+
items: import("../../../..").ItemOption[];
|
143
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
144
|
+
label?: string | undefined;
|
145
|
+
placeholder?: string | undefined;
|
146
|
+
helperText?: string | undefined;
|
147
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
148
|
+
textBefore?: string | undefined;
|
149
|
+
textAfter?: string | undefined;
|
150
|
+
variant?: "normal" | "tight" | undefined;
|
151
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
152
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
153
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
154
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
155
|
+
renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
|
156
|
+
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
157
|
+
closeAfterSelect?: boolean | undefined;
|
158
|
+
size?: string | undefined;
|
159
|
+
view?: string | undefined;
|
160
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
161
|
+
} & {
|
62
162
|
readOnly?: false | undefined;
|
63
163
|
disabled?: false | undefined;
|
64
164
|
alwaysOpened?: true | undefined;
|
@@ -67,7 +167,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
|
|
67
167
|
value?: string | undefined;
|
68
168
|
onChange?: ((value: string) => void) | undefined;
|
69
169
|
isTargetAmount?: false | undefined;
|
70
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (
|
170
|
+
} & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
|
171
|
+
items: import("../../../..").ItemOption[];
|
172
|
+
placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
|
173
|
+
label?: string | undefined;
|
174
|
+
placeholder?: string | undefined;
|
175
|
+
helperText?: string | undefined;
|
176
|
+
contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
177
|
+
textBefore?: string | undefined;
|
178
|
+
textAfter?: string | undefined;
|
179
|
+
variant?: "normal" | "tight" | undefined;
|
180
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
181
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
182
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
183
|
+
portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
|
184
|
+
renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
|
185
|
+
filter?: ((label: string, textValue: string) => boolean) | undefined;
|
186
|
+
closeAfterSelect?: boolean | undefined;
|
187
|
+
size?: string | undefined;
|
188
|
+
view?: string | undefined;
|
189
|
+
labelPlacement?: "inner" | "outer" | undefined;
|
190
|
+
} & {
|
71
191
|
readOnly?: false | undefined;
|
72
192
|
disabled?: false | undefined;
|
73
193
|
alwaysOpened?: true | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Combobox/Combobox.ts"],"names":[],"mappings":";AAMA,QAAA,MAAM,QAAQ
|
1
|
+
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Combobox/Combobox.ts"],"names":[],"mappings":";AAMA,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2IAA0B,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|