@salutejs/plasma-new-hope 0.166.0-canary.1470.11343749799.0 → 0.166.0-canary.1470.11346674821.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. package/cjs/components/Attach/Attach.js +17 -8
  2. package/cjs/components/Attach/Attach.js.map +1 -1
  3. package/emotion/cjs/components/Attach/Attach.js +17 -8
  4. package/emotion/cjs/components/Attach/Attach.template-doc.mdx +69 -0
  5. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.js +2 -1
  6. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -2
  7. package/emotion/cjs/examples/plasma_b2c/components/Toast/Toast.config.js +5 -5
  8. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.js +2 -1
  9. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +0 -2
  10. package/emotion/cjs/examples/plasma_web/components/Toast/Toast.config.js +5 -5
  11. package/emotion/es/components/Attach/Attach.js +17 -8
  12. package/emotion/es/components/Attach/Attach.template-doc.mdx +69 -0
  13. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.js +2 -1
  14. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -2
  15. package/emotion/es/examples/plasma_b2c/components/Toast/Toast.config.js +5 -5
  16. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.js +2 -1
  17. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +0 -2
  18. package/emotion/es/examples/plasma_web/components/Toast/Toast.config.js +5 -5
  19. package/es/components/Attach/Attach.js +17 -8
  20. package/es/components/Attach/Attach.js.map +1 -1
  21. package/package.json +2 -2
  22. package/styled-components/cjs/components/Attach/Attach.js +17 -8
  23. package/styled-components/cjs/components/Attach/Attach.template-doc.mdx +69 -0
  24. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.js +2 -1
  25. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -2
  26. package/styled-components/cjs/examples/plasma_b2c/components/Toast/Toast.config.js +1 -1
  27. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.js +2 -1
  28. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +0 -2
  29. package/styled-components/cjs/examples/plasma_web/components/Toast/Toast.config.js +1 -1
  30. package/styled-components/es/components/Attach/Attach.js +17 -8
  31. package/styled-components/es/components/Attach/Attach.template-doc.mdx +69 -0
  32. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.js +2 -1
  33. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -2
  34. package/styled-components/es/examples/plasma_b2c/components/Toast/Toast.config.js +1 -1
  35. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.js +2 -1
  36. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +0 -2
  37. package/styled-components/es/examples/plasma_web/components/Toast/Toast.config.js +1 -1
  38. package/types/components/Attach/Attach.d.ts.map +1 -1
  39. package/types/components/Attach/Attach.types.d.ts +4 -0
  40. package/types/components/Attach/Attach.types.d.ts.map +1 -1
  41. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +230 -26
  42. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  43. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +230 -26
  44. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
@@ -1,5 +1,7 @@
1
- /// <reference types="react" />
2
- declare const Combobox: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
1
+ import type { ForwardedRef, ComponentProps, ReactElement } from 'react';
2
+ import type { ComboboxProps, ItemOption } from '../../../../components/Combobox';
3
+ import { config } from './Combobox.config';
4
+ declare const ComboboxComponent: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
5
  view: {
4
6
  default: import("@linaria/core").LinariaClassName;
5
7
  positive: import("@linaria/core").LinariaClassName;
@@ -23,12 +25,12 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
23
25
  true: import("@linaria/core").LinariaClassName;
24
26
  };
25
27
  }> & (({
26
- items: import("../../../..").ItemOption[];
28
+ items: ItemOption[];
27
29
  placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
28
30
  label?: string | undefined;
29
31
  placeholder?: string | undefined;
30
32
  helperText?: string | undefined;
31
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
33
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
32
34
  textBefore?: string | undefined;
33
35
  textAfter?: string | undefined;
34
36
  variant?: "normal" | "tight" | undefined;
@@ -36,8 +38,8 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
36
38
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
37
39
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
38
40
  portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
39
- renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
40
- filter?: ((item: import("../../../..").ItemOption, textValue: string) => boolean) | undefined;
41
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
42
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
41
43
  closeAfterSelect?: boolean | undefined;
42
44
  size?: string | undefined;
43
45
  view?: string | undefined;
@@ -52,12 +54,12 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
52
54
  onChange?: ((value: string) => void) | undefined;
53
55
  isTargetAmount?: false | undefined;
54
56
  } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
55
- items: import("../../../..").ItemOption[];
57
+ items: ItemOption[];
56
58
  placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
57
59
  label?: string | undefined;
58
60
  placeholder?: string | undefined;
59
61
  helperText?: string | undefined;
60
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
62
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
61
63
  textBefore?: string | undefined;
62
64
  textAfter?: string | undefined;
63
65
  variant?: "normal" | "tight" | undefined;
@@ -65,8 +67,8 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
65
67
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
66
68
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
67
69
  portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
68
- renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
69
- filter?: ((item: import("../../../..").ItemOption, textValue: string) => boolean) | undefined;
70
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
71
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
70
72
  closeAfterSelect?: boolean | undefined;
71
73
  size?: string | undefined;
72
74
  view?: string | undefined;
@@ -81,12 +83,12 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
81
83
  onChange?: ((value: string[]) => void) | undefined;
82
84
  isTargetAmount?: boolean | undefined;
83
85
  } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
84
- items: import("../../../..").ItemOption[];
86
+ items: ItemOption[];
85
87
  placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
86
88
  label?: string | undefined;
87
89
  placeholder?: string | undefined;
88
90
  helperText?: string | undefined;
89
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
91
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
90
92
  textBefore?: string | undefined;
91
93
  textAfter?: string | undefined;
92
94
  variant?: "normal" | "tight" | undefined;
@@ -94,8 +96,8 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
94
96
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
95
97
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
96
98
  portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
97
- renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
98
- filter?: ((item: import("../../../..").ItemOption, textValue: string) => boolean) | undefined;
99
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
100
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
99
101
  closeAfterSelect?: boolean | undefined;
100
102
  size?: string | undefined;
101
103
  view?: string | undefined;
@@ -110,12 +112,12 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
110
112
  onChange?: ((value: string) => void) | undefined;
111
113
  isTargetAmount?: false | undefined;
112
114
  } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
113
- items: import("../../../..").ItemOption[];
115
+ items: ItemOption[];
114
116
  placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
115
117
  label?: string | undefined;
116
118
  placeholder?: string | undefined;
117
119
  helperText?: string | undefined;
118
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
120
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
119
121
  textBefore?: string | undefined;
120
122
  textAfter?: string | undefined;
121
123
  variant?: "normal" | "tight" | undefined;
@@ -123,8 +125,8 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
123
125
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
124
126
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
125
127
  portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
126
- renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
127
- filter?: ((item: import("../../../..").ItemOption, textValue: string) => boolean) | undefined;
128
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
129
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
128
130
  closeAfterSelect?: boolean | undefined;
129
131
  size?: string | undefined;
130
132
  view?: string | undefined;
@@ -139,12 +141,12 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
139
141
  onChange?: ((value: string[]) => void) | undefined;
140
142
  isTargetAmount?: boolean | undefined;
141
143
  } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
142
- items: import("../../../..").ItemOption[];
144
+ items: ItemOption[];
143
145
  placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
144
146
  label?: string | undefined;
145
147
  placeholder?: string | undefined;
146
148
  helperText?: string | undefined;
147
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
149
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
148
150
  textBefore?: string | undefined;
149
151
  textAfter?: string | undefined;
150
152
  variant?: "normal" | "tight" | undefined;
@@ -152,8 +154,8 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
152
154
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
153
155
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
154
156
  portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
155
- renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
156
- filter?: ((item: import("../../../..").ItemOption, textValue: string) => boolean) | undefined;
157
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
158
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
157
159
  closeAfterSelect?: boolean | undefined;
158
160
  size?: string | undefined;
159
161
  view?: string | undefined;
@@ -168,12 +170,12 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
168
170
  onChange?: ((value: string) => void) | undefined;
169
171
  isTargetAmount?: false | undefined;
170
172
  } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
171
- items: import("../../../..").ItemOption[];
173
+ items: ItemOption[];
172
174
  placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
173
175
  label?: string | undefined;
174
176
  placeholder?: string | undefined;
175
177
  helperText?: string | undefined;
176
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
178
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
177
179
  textBefore?: string | undefined;
178
180
  textAfter?: string | undefined;
179
181
  variant?: "normal" | "tight" | undefined;
@@ -181,8 +183,8 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
181
183
  listHeight?: import("csstype").Property.Height<string | number> | undefined;
182
184
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
183
185
  portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
184
- renderItem?: ((item: import("../../../..").ItemOption) => import("react").ReactNode) | undefined;
185
- filter?: ((item: import("../../../..").ItemOption, textValue: string) => boolean) | undefined;
186
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
187
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
186
188
  closeAfterSelect?: boolean | undefined;
187
189
  size?: string | undefined;
188
190
  view?: string | undefined;
@@ -197,5 +199,207 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
197
199
  onChange?: ((value: string[]) => void) | undefined;
198
200
  isTargetAmount?: boolean | undefined;
199
201
  } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>))>;
202
+ declare type PropsFromConfig = keyof typeof config['variations'];
203
+ declare type PropsNew<T extends ItemOption> = Omit<ComboboxProps<T>, PropsFromConfig> & Pick<ComponentProps<typeof ComboboxComponent>, PropsFromConfig>;
204
+ declare const Combobox: <T extends ItemOption>(props: Omit<ComboboxProps<T>, "view" | "disabled" | "readOnly" | "size" | "labelPlacement"> & Pick<import("../../../../engines/types").PropsType<{
205
+ view: {
206
+ default: import("@linaria/core").LinariaClassName;
207
+ positive: import("@linaria/core").LinariaClassName;
208
+ warning: import("@linaria/core").LinariaClassName;
209
+ negative: import("@linaria/core").LinariaClassName;
210
+ };
211
+ size: {
212
+ l: import("@linaria/core").LinariaClassName;
213
+ m: import("@linaria/core").LinariaClassName;
214
+ s: import("@linaria/core").LinariaClassName;
215
+ xs: import("@linaria/core").LinariaClassName;
216
+ };
217
+ labelPlacement: {
218
+ inner: import("@linaria/core").LinariaClassName;
219
+ outer: import("@linaria/core").LinariaClassName;
220
+ };
221
+ disabled: {
222
+ true: import("@linaria/core").LinariaClassName;
223
+ };
224
+ readOnly: {
225
+ true: import("@linaria/core").LinariaClassName;
226
+ };
227
+ }> & (({
228
+ items: ItemOption[];
229
+ placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
230
+ label?: string | undefined;
231
+ placeholder?: string | undefined;
232
+ helperText?: string | undefined;
233
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
234
+ textBefore?: string | undefined;
235
+ textAfter?: string | undefined;
236
+ variant?: "normal" | "tight" | undefined;
237
+ listOverflow?: import("csstype").Property.Overflow | undefined;
238
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
239
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
240
+ portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
241
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
242
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
243
+ closeAfterSelect?: boolean | undefined;
244
+ size?: string | undefined;
245
+ view?: string | undefined;
246
+ labelPlacement?: "inner" | "outer" | undefined;
247
+ } & {
248
+ readOnly?: boolean | undefined;
249
+ disabled?: true | undefined;
250
+ alwaysOpened?: false | undefined;
251
+ } & {
252
+ multiple?: false | undefined;
253
+ value?: string | undefined;
254
+ onChange?: ((value: string) => void) | undefined;
255
+ isTargetAmount?: false | undefined;
256
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
257
+ items: ItemOption[];
258
+ placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
259
+ label?: string | undefined;
260
+ placeholder?: string | undefined;
261
+ helperText?: string | undefined;
262
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
263
+ textBefore?: string | undefined;
264
+ textAfter?: string | undefined;
265
+ variant?: "normal" | "tight" | undefined;
266
+ listOverflow?: import("csstype").Property.Overflow | undefined;
267
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
268
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
269
+ portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
270
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
271
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
272
+ closeAfterSelect?: boolean | undefined;
273
+ size?: string | undefined;
274
+ view?: string | undefined;
275
+ labelPlacement?: "inner" | "outer" | undefined;
276
+ } & {
277
+ readOnly?: boolean | undefined;
278
+ disabled?: true | undefined;
279
+ alwaysOpened?: false | undefined;
280
+ } & {
281
+ multiple: true;
282
+ value?: string[] | undefined;
283
+ onChange?: ((value: string[]) => void) | undefined;
284
+ isTargetAmount?: boolean | undefined;
285
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
286
+ items: ItemOption[];
287
+ placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
288
+ label?: string | undefined;
289
+ placeholder?: string | undefined;
290
+ helperText?: string | undefined;
291
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
292
+ textBefore?: string | undefined;
293
+ textAfter?: string | undefined;
294
+ variant?: "normal" | "tight" | undefined;
295
+ listOverflow?: import("csstype").Property.Overflow | undefined;
296
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
297
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
298
+ portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
299
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
300
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
301
+ closeAfterSelect?: boolean | undefined;
302
+ size?: string | undefined;
303
+ view?: string | undefined;
304
+ labelPlacement?: "inner" | "outer" | undefined;
305
+ } & {
306
+ readOnly?: true | undefined;
307
+ disabled?: boolean | undefined;
308
+ alwaysOpened?: false | undefined;
309
+ } & {
310
+ multiple?: false | undefined;
311
+ value?: string | undefined;
312
+ onChange?: ((value: string) => void) | undefined;
313
+ isTargetAmount?: false | undefined;
314
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
315
+ items: ItemOption[];
316
+ placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
317
+ label?: string | undefined;
318
+ placeholder?: string | undefined;
319
+ helperText?: string | undefined;
320
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
321
+ textBefore?: string | undefined;
322
+ textAfter?: string | undefined;
323
+ variant?: "normal" | "tight" | undefined;
324
+ listOverflow?: import("csstype").Property.Overflow | undefined;
325
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
326
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
327
+ portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
328
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
329
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
330
+ closeAfterSelect?: boolean | undefined;
331
+ size?: string | undefined;
332
+ view?: string | undefined;
333
+ labelPlacement?: "inner" | "outer" | undefined;
334
+ } & {
335
+ readOnly?: true | undefined;
336
+ disabled?: boolean | undefined;
337
+ alwaysOpened?: false | undefined;
338
+ } & {
339
+ multiple: true;
340
+ value?: string[] | undefined;
341
+ onChange?: ((value: string[]) => void) | undefined;
342
+ isTargetAmount?: boolean | undefined;
343
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
344
+ items: ItemOption[];
345
+ placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
346
+ label?: string | undefined;
347
+ placeholder?: string | undefined;
348
+ helperText?: string | undefined;
349
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
350
+ textBefore?: string | undefined;
351
+ textAfter?: string | undefined;
352
+ variant?: "normal" | "tight" | undefined;
353
+ listOverflow?: import("csstype").Property.Overflow | undefined;
354
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
355
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
356
+ portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
357
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
358
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
359
+ closeAfterSelect?: boolean | undefined;
360
+ size?: string | undefined;
361
+ view?: string | undefined;
362
+ labelPlacement?: "inner" | "outer" | undefined;
363
+ } & {
364
+ readOnly?: false | undefined;
365
+ disabled?: false | undefined;
366
+ alwaysOpened?: true | undefined;
367
+ } & {
368
+ multiple?: false | undefined;
369
+ value?: string | undefined;
370
+ onChange?: ((value: string) => void) | undefined;
371
+ isTargetAmount?: false | undefined;
372
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
373
+ items: ItemOption[];
374
+ placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
375
+ label?: string | undefined;
376
+ placeholder?: string | undefined;
377
+ helperText?: string | undefined;
378
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
379
+ textBefore?: string | undefined;
380
+ textAfter?: string | undefined;
381
+ variant?: "normal" | "tight" | undefined;
382
+ listOverflow?: import("csstype").Property.Overflow | undefined;
383
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
384
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
385
+ portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
386
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
387
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
388
+ closeAfterSelect?: boolean | undefined;
389
+ size?: string | undefined;
390
+ view?: string | undefined;
391
+ labelPlacement?: "inner" | "outer" | undefined;
392
+ } & {
393
+ readOnly?: false | undefined;
394
+ disabled?: false | undefined;
395
+ alwaysOpened?: true | undefined;
396
+ } & {
397
+ multiple: true;
398
+ value?: string[] | undefined;
399
+ onChange?: ((value: string[]) => void) | undefined;
400
+ isTargetAmount?: boolean | undefined;
401
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>)), "view" | "disabled" | "readOnly" | "size" | "labelPlacement"> & {
402
+ ref?: ForwardedRef<HTMLInputElement> | undefined;
403
+ }) => ReactElement | null;
200
404
  export { Combobox };
201
405
  //# sourceMappingURL=Combobox.d.ts.map
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2IAA0B,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Combobox/Combobox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAIxE,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAEjF,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG3C,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2IAA0B,CAAC;AAElD,aAAK,eAAe,GAAG,MAAM,OAAO,MAAM,CAAC,YAAY,CAAC,CAAC;AAEzD,aAAK,QAAQ,CAAC,CAAC,SAAS,UAAU,IAAI,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,eAAe,CAAC,GACzE,IAAI,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,EAAE,eAAe,CAAC,CAAC;AAEpE,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAET,YAAY,GAAG,IAAI,CAAC;AAEzB,OAAO,EAAE,QAAQ,EAAE,CAAC"}