@salutejs/plasma-new-hope 0.166.0-canary.1392.11343531504.0 → 0.166.0-canary.1392.11347585113.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. package/cjs/components/Attach/Attach.js +17 -8
  2. package/cjs/components/Attach/Attach.js.map +1 -1
  3. package/cjs/components/Combobox/ComboboxNew/utils/filterItems.js +4 -5
  4. package/cjs/components/Combobox/ComboboxNew/utils/filterItems.js.map +1 -1
  5. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.css +8 -8
  6. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +9 -9
  7. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js.map +1 -1
  8. package/cjs/components/Segment/ui/SegmentGroup/{SegmentGroup.styles_1tb4sy2.css → SegmentGroup.styles_zqao76.css} +1 -1
  9. package/cjs/index.css +8 -8
  10. package/emotion/cjs/components/Attach/Attach.js +17 -8
  11. package/emotion/cjs/components/Attach/Attach.template-doc.mdx +69 -0
  12. package/emotion/cjs/components/Combobox/ComboboxNew/utils/filterItems.js +4 -5
  13. package/emotion/cjs/components/Segment/Segment.template-doc.mdx +47 -4
  14. package/emotion/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +8 -8
  15. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.js +2 -1
  16. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -2
  17. package/emotion/cjs/examples/plasma_b2c/components/Toast/Toast.config.js +5 -5
  18. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.js +2 -1
  19. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +0 -2
  20. package/emotion/cjs/examples/plasma_web/components/Toast/Toast.config.js +5 -5
  21. package/emotion/es/components/Attach/Attach.js +17 -8
  22. package/emotion/es/components/Attach/Attach.template-doc.mdx +69 -0
  23. package/emotion/es/components/Combobox/ComboboxNew/utils/filterItems.js +4 -5
  24. package/emotion/es/components/Segment/Segment.template-doc.mdx +47 -4
  25. package/emotion/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +8 -8
  26. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.js +2 -1
  27. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -2
  28. package/emotion/es/examples/plasma_b2c/components/Toast/Toast.config.js +5 -5
  29. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.js +2 -1
  30. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +0 -2
  31. package/emotion/es/examples/plasma_web/components/Toast/Toast.config.js +5 -5
  32. package/es/components/Attach/Attach.js +17 -8
  33. package/es/components/Attach/Attach.js.map +1 -1
  34. package/es/components/Combobox/ComboboxNew/utils/filterItems.js +4 -5
  35. package/es/components/Combobox/ComboboxNew/utils/filterItems.js.map +1 -1
  36. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.css +8 -8
  37. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +9 -9
  38. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js.map +1 -1
  39. package/es/components/Segment/ui/SegmentGroup/{SegmentGroup.styles_1tb4sy2.css → SegmentGroup.styles_zqao76.css} +1 -1
  40. package/es/index.css +8 -8
  41. package/package.json +2 -2
  42. package/styled-components/cjs/components/Attach/Attach.js +17 -8
  43. package/styled-components/cjs/components/Attach/Attach.template-doc.mdx +69 -0
  44. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/filterItems.js +4 -5
  45. package/styled-components/cjs/components/Segment/Segment.template-doc.mdx +47 -4
  46. package/styled-components/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +1 -1
  47. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.js +2 -1
  48. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -2
  49. package/styled-components/cjs/examples/plasma_b2c/components/Toast/Toast.config.js +1 -1
  50. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.js +2 -1
  51. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +0 -2
  52. package/styled-components/cjs/examples/plasma_web/components/Toast/Toast.config.js +1 -1
  53. package/styled-components/es/components/Attach/Attach.js +17 -8
  54. package/styled-components/es/components/Attach/Attach.template-doc.mdx +69 -0
  55. package/styled-components/es/components/Combobox/ComboboxNew/utils/filterItems.js +4 -5
  56. package/styled-components/es/components/Segment/Segment.template-doc.mdx +47 -4
  57. package/styled-components/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +1 -1
  58. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.js +2 -1
  59. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +0 -2
  60. package/styled-components/es/examples/plasma_b2c/components/Toast/Toast.config.js +1 -1
  61. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.js +2 -1
  62. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +0 -2
  63. package/styled-components/es/examples/plasma_web/components/Toast/Toast.config.js +1 -1
  64. package/types/components/Attach/Attach.d.ts.map +1 -1
  65. package/types/components/Attach/Attach.types.d.ts +4 -0
  66. package/types/components/Attach/Attach.types.d.ts.map +1 -1
  67. package/types/components/Combobox/ComboboxNew/Combobox.d.ts +2 -2
  68. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  69. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +6 -7
  70. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  71. package/types/components/Combobox/ComboboxNew/index.d.ts +2 -0
  72. package/types/components/Combobox/ComboboxNew/index.d.ts.map +1 -1
  73. package/types/components/Combobox/ComboboxNew/utils/filterItems.d.ts +2 -2
  74. package/types/components/Combobox/ComboboxNew/utils/filterItems.d.ts.map +1 -1
  75. package/types/components/Combobox/index.d.ts +1 -0
  76. package/types/components/Combobox/index.d.ts.map +1 -1
  77. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.styles.d.ts.map +1 -1
  78. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +332 -8
  79. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  80. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +332 -8
  81. 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;
@@ -22,7 +24,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
22
24
  readOnly: {
23
25
  true: import("@linaria/core").LinariaClassName;
24
26
  };
25
- }> & ((import("../../../../components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
27
+ }> & (({
28
+ items: ItemOption[];
29
+ placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
30
+ label?: string | undefined;
31
+ placeholder?: string | undefined;
32
+ helperText?: string | undefined;
33
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
34
+ textBefore?: string | undefined;
35
+ textAfter?: string | undefined;
36
+ variant?: "normal" | "tight" | undefined;
37
+ listOverflow?: import("csstype").Property.Overflow | undefined;
38
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
39
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
40
+ portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
41
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
42
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
43
+ closeAfterSelect?: boolean | undefined;
44
+ size?: string | undefined;
45
+ view?: string | undefined;
46
+ labelPlacement?: "inner" | "outer" | undefined;
47
+ } & {
26
48
  readOnly?: boolean | undefined;
27
49
  disabled?: true | undefined;
28
50
  alwaysOpened?: false | undefined;
@@ -31,7 +53,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
31
53
  value?: string | undefined;
32
54
  onChange?: ((value: string) => void) | undefined;
33
55
  isTargetAmount?: false | undefined;
34
- } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (import("../../../../components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
56
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
57
+ items: ItemOption[];
58
+ placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
59
+ label?: string | undefined;
60
+ placeholder?: string | undefined;
61
+ helperText?: string | undefined;
62
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
63
+ textBefore?: string | undefined;
64
+ textAfter?: string | undefined;
65
+ variant?: "normal" | "tight" | undefined;
66
+ listOverflow?: import("csstype").Property.Overflow | undefined;
67
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
68
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
69
+ portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
70
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
71
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
72
+ closeAfterSelect?: boolean | undefined;
73
+ size?: string | undefined;
74
+ view?: string | undefined;
75
+ labelPlacement?: "inner" | "outer" | undefined;
76
+ } & {
35
77
  readOnly?: boolean | undefined;
36
78
  disabled?: true | undefined;
37
79
  alwaysOpened?: false | undefined;
@@ -40,7 +82,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
40
82
  value?: string[] | undefined;
41
83
  onChange?: ((value: string[]) => void) | undefined;
42
84
  isTargetAmount?: boolean | undefined;
43
- } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (import("../../../../components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
85
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
86
+ items: ItemOption[];
87
+ placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
88
+ label?: string | undefined;
89
+ placeholder?: string | undefined;
90
+ helperText?: string | undefined;
91
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
92
+ textBefore?: string | undefined;
93
+ textAfter?: string | undefined;
94
+ variant?: "normal" | "tight" | undefined;
95
+ listOverflow?: import("csstype").Property.Overflow | undefined;
96
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
97
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
98
+ portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
99
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
100
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
101
+ closeAfterSelect?: boolean | undefined;
102
+ size?: string | undefined;
103
+ view?: string | undefined;
104
+ labelPlacement?: "inner" | "outer" | undefined;
105
+ } & {
44
106
  readOnly?: true | undefined;
45
107
  disabled?: boolean | undefined;
46
108
  alwaysOpened?: false | undefined;
@@ -49,7 +111,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
49
111
  value?: string | undefined;
50
112
  onChange?: ((value: string) => void) | undefined;
51
113
  isTargetAmount?: false | undefined;
52
- } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (import("../../../../components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
114
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
115
+ items: ItemOption[];
116
+ placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
117
+ label?: string | undefined;
118
+ placeholder?: string | undefined;
119
+ helperText?: string | undefined;
120
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
121
+ textBefore?: string | undefined;
122
+ textAfter?: string | undefined;
123
+ variant?: "normal" | "tight" | undefined;
124
+ listOverflow?: import("csstype").Property.Overflow | undefined;
125
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
126
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
127
+ portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
128
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
129
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
130
+ closeAfterSelect?: boolean | undefined;
131
+ size?: string | undefined;
132
+ view?: string | undefined;
133
+ labelPlacement?: "inner" | "outer" | undefined;
134
+ } & {
53
135
  readOnly?: true | undefined;
54
136
  disabled?: boolean | undefined;
55
137
  alwaysOpened?: false | undefined;
@@ -58,7 +140,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
58
140
  value?: string[] | undefined;
59
141
  onChange?: ((value: string[]) => void) | undefined;
60
142
  isTargetAmount?: boolean | undefined;
61
- } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (import("../../../../components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
143
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
144
+ items: ItemOption[];
145
+ placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
146
+ label?: string | undefined;
147
+ placeholder?: string | undefined;
148
+ helperText?: string | undefined;
149
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
150
+ textBefore?: string | undefined;
151
+ textAfter?: string | undefined;
152
+ variant?: "normal" | "tight" | undefined;
153
+ listOverflow?: import("csstype").Property.Overflow | undefined;
154
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
155
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
156
+ portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
157
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
158
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
159
+ closeAfterSelect?: boolean | undefined;
160
+ size?: string | undefined;
161
+ view?: string | undefined;
162
+ labelPlacement?: "inner" | "outer" | undefined;
163
+ } & {
62
164
  readOnly?: false | undefined;
63
165
  disabled?: false | undefined;
64
166
  alwaysOpened?: true | undefined;
@@ -67,7 +169,27 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
67
169
  value?: string | undefined;
68
170
  onChange?: ((value: string) => void) | undefined;
69
171
  isTargetAmount?: false | undefined;
70
- } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | (import("../../../../components/Combobox/ComboboxNew/Combobox.types").BasicProps & {
172
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLInputElement>, "onChange" | "value"> & import("react").RefAttributes<HTMLInputElement>) | ({
173
+ items: ItemOption[];
174
+ placement?: ("left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | undefined;
175
+ label?: string | undefined;
176
+ placeholder?: string | undefined;
177
+ helperText?: string | undefined;
178
+ contentLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
179
+ textBefore?: string | undefined;
180
+ textAfter?: string | undefined;
181
+ variant?: "normal" | "tight" | undefined;
182
+ listOverflow?: import("csstype").Property.Overflow | undefined;
183
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
184
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
185
+ portal?: import("react").MutableRefObject<HTMLElement | null> | undefined;
186
+ renderItem?: ((item: ItemOption) => import("react").ReactNode) | undefined;
187
+ filter?: ((item: ItemOption, textValue: string) => boolean) | undefined;
188
+ closeAfterSelect?: boolean | undefined;
189
+ size?: string | undefined;
190
+ view?: string | undefined;
191
+ labelPlacement?: "inner" | "outer" | undefined;
192
+ } & {
71
193
  readOnly?: false | undefined;
72
194
  disabled?: false | undefined;
73
195
  alwaysOpened?: true | undefined;
@@ -77,5 +199,207 @@ declare const Combobox: import("react").FunctionComponent<import("../../../../en
77
199
  onChange?: ((value: string[]) => void) | undefined;
78
200
  isTargetAmount?: boolean | undefined;
79
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;
80
404
  export { Combobox };
81
405
  //# sourceMappingURL=Combobox.d.ts.map
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2IAA0B,CAAC;AAEzC,OAAO,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/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"}