@mirohq/design-system-combobox 0.1.0-combobox.1 → 0.1.0-combobox.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +156 -80
- package/dist/main.js.map +1 -1
- package/dist/module.js +137 -79
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +52 -524
- package/package.json +8 -6
package/dist/types.d.ts
CHANGED
|
@@ -1,527 +1,51 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import React__default, { ReactNode } from 'react';
|
|
3
|
+
import * as packages_components_input_src_types from 'packages/components/input/src/types';
|
|
4
|
+
import { InputProps } from '@mirohq/design-system-input';
|
|
4
5
|
import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
|
|
5
6
|
import { StrictComponentProps } from '@mirohq/design-system-stitches';
|
|
6
7
|
import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
|
|
7
8
|
import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
|
|
8
|
-
import * as
|
|
9
|
-
import * as packages_components_input_src_types from 'packages/components/input/src/types';
|
|
10
|
-
import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
|
|
9
|
+
import * as RadixPopover from '@radix-ui/react-popover';
|
|
11
10
|
import { PopoverPortalProps } from '@radix-ui/react-popover';
|
|
12
11
|
import * as _ariakit_react from '@ariakit/react';
|
|
13
12
|
import { FormElementProps } from '@mirohq/design-system-base-form';
|
|
14
13
|
|
|
15
|
-
declare const
|
|
16
|
-
'border-widths': {
|
|
17
|
-
readonly none: 0;
|
|
18
|
-
readonly sm: "1px";
|
|
19
|
-
readonly md: "2px";
|
|
20
|
-
readonly lg: "4px";
|
|
21
|
-
};
|
|
22
|
-
colors: {
|
|
23
|
-
readonly black: any;
|
|
24
|
-
readonly 'blue-100': any;
|
|
25
|
-
readonly 'blue-200': any;
|
|
26
|
-
readonly 'blue-300': any;
|
|
27
|
-
readonly 'blue-400': any;
|
|
28
|
-
readonly 'blue-500': any;
|
|
29
|
-
readonly 'blue-600': any;
|
|
30
|
-
readonly 'blue-700': any;
|
|
31
|
-
readonly 'blue-800': any;
|
|
32
|
-
readonly 'blue-900': any;
|
|
33
|
-
readonly 'blue-1000': any;
|
|
34
|
-
readonly 'gray-100': any;
|
|
35
|
-
readonly 'gray-200': any;
|
|
36
|
-
readonly 'gray-300': any;
|
|
37
|
-
readonly 'gray-400': any;
|
|
38
|
-
readonly 'gray-500': any;
|
|
39
|
-
readonly 'gray-600': any;
|
|
40
|
-
readonly 'gray-700': any;
|
|
41
|
-
readonly 'gray-800': any;
|
|
42
|
-
readonly 'gray-900': any;
|
|
43
|
-
readonly 'green-100': any;
|
|
44
|
-
readonly 'green-200': any;
|
|
45
|
-
readonly 'green-300': any;
|
|
46
|
-
readonly 'green-400': any;
|
|
47
|
-
readonly 'green-500': any;
|
|
48
|
-
readonly 'green-600': any;
|
|
49
|
-
readonly 'green-700': any;
|
|
50
|
-
readonly 'green-800': any;
|
|
51
|
-
readonly 'green-900': any;
|
|
52
|
-
readonly 'indigo-100': any;
|
|
53
|
-
readonly 'indigo-200': any;
|
|
54
|
-
readonly 'indigo-300': any;
|
|
55
|
-
readonly 'indigo-400': any;
|
|
56
|
-
readonly 'indigo-500': any;
|
|
57
|
-
readonly 'indigo-600': any;
|
|
58
|
-
readonly 'indigo-700': any;
|
|
59
|
-
readonly 'indigo-800': any;
|
|
60
|
-
readonly 'indigo-900': any;
|
|
61
|
-
readonly 'red-100': any;
|
|
62
|
-
readonly 'red-200': any;
|
|
63
|
-
readonly 'red-300': any;
|
|
64
|
-
readonly 'red-400': any;
|
|
65
|
-
readonly 'red-500': any;
|
|
66
|
-
readonly 'red-600': any;
|
|
67
|
-
readonly 'red-700': any;
|
|
68
|
-
readonly 'red-800': any;
|
|
69
|
-
readonly 'red-900': any;
|
|
70
|
-
readonly transparent: any;
|
|
71
|
-
readonly white: any;
|
|
72
|
-
readonly 'yellow-100': any;
|
|
73
|
-
readonly 'yellow-200': any;
|
|
74
|
-
readonly 'yellow-300': any;
|
|
75
|
-
readonly 'yellow-400': any;
|
|
76
|
-
readonly 'yellow-500': any;
|
|
77
|
-
readonly 'yellow-600': any;
|
|
78
|
-
readonly 'yellow-700': any;
|
|
79
|
-
readonly 'yellow-800': any;
|
|
80
|
-
readonly 'yellow-900': any;
|
|
81
|
-
"background-alpha-active"?: any;
|
|
82
|
-
"background-alpha-hover"?: any;
|
|
83
|
-
"background-danger-prominent"?: any;
|
|
84
|
-
"background-danger-prominent-active"?: any;
|
|
85
|
-
"background-danger-prominent-hover"?: any;
|
|
86
|
-
"background-danger-subtle"?: any;
|
|
87
|
-
"background-danger-subtle-active"?: any;
|
|
88
|
-
"background-danger-subtle-hover"?: any;
|
|
89
|
-
"background-neutrals"?: any;
|
|
90
|
-
"background-neutrals-active"?: any;
|
|
91
|
-
"background-neutrals-container"?: any;
|
|
92
|
-
"background-neutrals-controls-disabled"?: any;
|
|
93
|
-
"background-neutrals-disabled"?: any;
|
|
94
|
-
"background-neutrals-hover"?: any;
|
|
95
|
-
"background-neutrals-inactive"?: any;
|
|
96
|
-
"background-neutrals-inactive-hover"?: any;
|
|
97
|
-
"background-neutrals-inverted"?: any;
|
|
98
|
-
"background-neutrals-inverted-subtle"?: any;
|
|
99
|
-
"background-neutrals-page"?: any;
|
|
100
|
-
"background-neutrals-page-subtle"?: any;
|
|
101
|
-
"background-neutrals-scrolls"?: any;
|
|
102
|
-
"background-neutrals-scrolls-expanded"?: any;
|
|
103
|
-
"background-neutrals-scrolls-hover"?: any;
|
|
104
|
-
"background-neutrals-scrolls-pressed"?: any;
|
|
105
|
-
"background-neutrals-scrolls-pressed-hover"?: any;
|
|
106
|
-
"background-neutrals-subtle"?: any;
|
|
107
|
-
"background-neutrals-subtle-active"?: any;
|
|
108
|
-
"background-neutrals-subtle-hover"?: any;
|
|
109
|
-
"background-primary-prominent"?: any;
|
|
110
|
-
"background-primary-prominent-active"?: any;
|
|
111
|
-
"background-primary-prominent-expanded"?: any;
|
|
112
|
-
"background-primary-prominent-hover"?: any;
|
|
113
|
-
"background-primary-prominent-pressed"?: any;
|
|
114
|
-
"background-primary-prominent-pressed-hover"?: any;
|
|
115
|
-
"background-primary-prominent-selected"?: any;
|
|
116
|
-
"background-primary-subtle"?: any;
|
|
117
|
-
"background-primary-subtle-active"?: any;
|
|
118
|
-
"background-primary-subtle-expanded"?: any;
|
|
119
|
-
"background-primary-subtle-hover"?: any;
|
|
120
|
-
"background-primary-subtle-pressed"?: any;
|
|
121
|
-
"background-primary-subtle-pressed-hover"?: any;
|
|
122
|
-
"background-primary-subtle-selected"?: any;
|
|
123
|
-
"background-success"?: any;
|
|
124
|
-
"background-success-prominent"?: any;
|
|
125
|
-
"background-success-prominent-active"?: any;
|
|
126
|
-
"background-success-prominent-hover"?: any;
|
|
127
|
-
"background-warning-prominent"?: any;
|
|
128
|
-
"background-warning-subtle"?: any;
|
|
129
|
-
"border-danger"?: any;
|
|
130
|
-
"border-danger-active"?: any;
|
|
131
|
-
"border-danger-hover"?: any;
|
|
132
|
-
"border-focus-inner"?: any;
|
|
133
|
-
"border-focus-middle"?: any;
|
|
134
|
-
"border-focus-outer"?: any;
|
|
135
|
-
"border-neutrals"?: any;
|
|
136
|
-
"border-neutrals-active"?: any;
|
|
137
|
-
"border-neutrals-controls"?: any;
|
|
138
|
-
"border-neutrals-controls-disabled"?: any;
|
|
139
|
-
"border-neutrals-disabled"?: any;
|
|
140
|
-
"border-neutrals-hover"?: any;
|
|
141
|
-
"border-neutrals-inverted"?: any;
|
|
142
|
-
"border-neutrals-subtle"?: any;
|
|
143
|
-
"border-neutrals-text"?: any;
|
|
144
|
-
"border-neutrals-text-active"?: any;
|
|
145
|
-
"border-neutrals-text-hover"?: any;
|
|
146
|
-
"border-neutrals-text-subtle"?: any;
|
|
147
|
-
"border-neutrals-text-subtle-active"?: any;
|
|
148
|
-
"border-neutrals-text-subtle-hover"?: any;
|
|
149
|
-
"border-neutrals-transparent"?: any;
|
|
150
|
-
"border-primary"?: any;
|
|
151
|
-
"border-primary-active"?: any;
|
|
152
|
-
"border-primary-hover"?: any;
|
|
153
|
-
"border-primary-inverted"?: any;
|
|
154
|
-
"border-success"?: any;
|
|
155
|
-
"border-success-active"?: any;
|
|
156
|
-
"border-success-hover"?: any;
|
|
157
|
-
"border-warning"?: any;
|
|
158
|
-
"icon-danger"?: any;
|
|
159
|
-
"icon-danger-active"?: any;
|
|
160
|
-
"icon-danger-hover"?: any;
|
|
161
|
-
"icon-danger-inverted"?: any;
|
|
162
|
-
"icon-neutrals"?: any;
|
|
163
|
-
"icon-neutrals-disabled"?: any;
|
|
164
|
-
"icon-neutrals-inactive"?: any;
|
|
165
|
-
"icon-neutrals-inactive-hover"?: any;
|
|
166
|
-
"icon-neutrals-inverted"?: any;
|
|
167
|
-
"icon-neutrals-search"?: any;
|
|
168
|
-
"icon-neutrals-subtle"?: any;
|
|
169
|
-
"icon-neutrals-text"?: any;
|
|
170
|
-
"icon-primary"?: any;
|
|
171
|
-
"icon-primary-active"?: any;
|
|
172
|
-
"icon-primary-hover"?: any;
|
|
173
|
-
"icon-primary-inverted"?: any;
|
|
174
|
-
"icon-primary-selected"?: any;
|
|
175
|
-
"icon-success"?: any;
|
|
176
|
-
"icon-success-active"?: any;
|
|
177
|
-
"icon-success-hover"?: any;
|
|
178
|
-
"icon-success-inverted"?: any;
|
|
179
|
-
"icon-warning"?: any;
|
|
180
|
-
"icon-warning-prominent"?: any;
|
|
181
|
-
"icon-warning-subtle"?: any;
|
|
182
|
-
"text-danger"?: any;
|
|
183
|
-
"text-danger-active"?: any;
|
|
184
|
-
"text-danger-hover"?: any;
|
|
185
|
-
"text-danger-inverted"?: any;
|
|
186
|
-
"text-neutrals"?: any;
|
|
187
|
-
"text-neutrals-active"?: any;
|
|
188
|
-
"text-neutrals-disabled"?: any;
|
|
189
|
-
"text-neutrals-hover"?: any;
|
|
190
|
-
"text-neutrals-inverted"?: any;
|
|
191
|
-
"text-neutrals-placeholder"?: any;
|
|
192
|
-
"text-neutrals-placeholder-only"?: any;
|
|
193
|
-
"text-neutrals-subtle"?: any;
|
|
194
|
-
"text-neutrals-subtle-active"?: any;
|
|
195
|
-
"text-neutrals-subtle-hover"?: any;
|
|
196
|
-
"text-primary"?: any;
|
|
197
|
-
"text-primary-active"?: any;
|
|
198
|
-
"text-primary-hover"?: any;
|
|
199
|
-
"text-primary-inverted"?: any;
|
|
200
|
-
"text-primary-inverted-subtle"?: any;
|
|
201
|
-
"text-primary-selected"?: any;
|
|
202
|
-
"text-success"?: any;
|
|
203
|
-
"text-success-active"?: any;
|
|
204
|
-
"text-success-hover"?: any;
|
|
205
|
-
"text-success-inverted"?: any;
|
|
206
|
-
"text-warning"?: any;
|
|
207
|
-
"text-warning-subtle"?: any;
|
|
208
|
-
};
|
|
209
|
-
'font-sizes': {
|
|
210
|
-
readonly 150: "0.75rem";
|
|
211
|
-
readonly 175: "0.875rem";
|
|
212
|
-
readonly 200: "1rem";
|
|
213
|
-
readonly 225: "1.125rem";
|
|
214
|
-
readonly 250: "1.25rem";
|
|
215
|
-
readonly 300: "1.5rem";
|
|
216
|
-
readonly 400: "2rem";
|
|
217
|
-
readonly 500: "2.5rem";
|
|
218
|
-
readonly 600: "3rem";
|
|
219
|
-
readonly 800: "4rem";
|
|
220
|
-
readonly 900: "4.5rem";
|
|
221
|
-
};
|
|
222
|
-
fonts: {
|
|
223
|
-
readonly heading: "Roobert, sans-serif";
|
|
224
|
-
readonly body: "Open Sans, sans-serif";
|
|
225
|
-
};
|
|
226
|
-
radii: {
|
|
227
|
-
readonly none: 0;
|
|
228
|
-
readonly half: "999em";
|
|
229
|
-
readonly 25: "2px";
|
|
230
|
-
readonly 50: "4px";
|
|
231
|
-
readonly 75: "6px";
|
|
232
|
-
readonly 100: "8px";
|
|
233
|
-
readonly 200: "16px";
|
|
234
|
-
};
|
|
235
|
-
shadows: {
|
|
236
|
-
readonly 'focus-small': "0 0 0 2px $colors$border-focus-outer, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-inner";
|
|
237
|
-
readonly 'focus-small-outline': "0 0 0 2px $colors$border-focus-outer, inset 0 0 0 1px $colors$border-focus-middle, inset 0 0 0 2px $colors$border-focus-inner";
|
|
238
|
-
readonly 'focus-large': "0 0 0 4px $colors$border-focus-inner, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-outer";
|
|
239
|
-
readonly 'focus-controls': "0 0 0 1px $colors$border-focus-inner, 0 0 0 3px $colors$border-focus-middle, 0 0 0 5px $colors$border-focus-outer";
|
|
240
|
-
readonly 'focus-controls-error': "0 0 0 1px $colors$border-focus-inner, 0 0 0 3px $colors$border-danger, 0 0 0 5px $colors$background-danger-subtle-hover";
|
|
241
|
-
readonly 'focus-controls-success': "0 0 0 1px $colors$border-focus-inner, 0 0 0 3px $colors$background-success-prominent, 0 0 0 5px $colors$background-success";
|
|
242
|
-
};
|
|
243
|
-
sizes: {
|
|
244
|
-
readonly number: string;
|
|
245
|
-
readonly 'icon-200': "16px";
|
|
246
|
-
readonly 'icon-300': "24px";
|
|
247
|
-
readonly 'icon-400': "32px";
|
|
248
|
-
};
|
|
249
|
-
space: {
|
|
250
|
-
readonly 0: "0px";
|
|
251
|
-
readonly 25: "2px";
|
|
252
|
-
readonly 50: "4px";
|
|
253
|
-
readonly 100: "8px";
|
|
254
|
-
readonly 150: "12px";
|
|
255
|
-
readonly 200: "16px";
|
|
256
|
-
readonly 300: "24px";
|
|
257
|
-
readonly 400: "32px";
|
|
258
|
-
readonly 500: "40px";
|
|
259
|
-
readonly 600: "48px";
|
|
260
|
-
readonly 700: "56px";
|
|
261
|
-
readonly 800: "64px";
|
|
262
|
-
readonly 1200: "96px";
|
|
263
|
-
readonly 1600: "128px";
|
|
264
|
-
};
|
|
265
|
-
'space-gap': {
|
|
266
|
-
readonly 0: any;
|
|
267
|
-
readonly 50: any;
|
|
268
|
-
readonly 100: any;
|
|
269
|
-
readonly 200: any;
|
|
270
|
-
readonly 300: any;
|
|
271
|
-
};
|
|
272
|
-
'space-inset': {
|
|
273
|
-
readonly 0: any;
|
|
274
|
-
readonly 50: any;
|
|
275
|
-
readonly 100: any;
|
|
276
|
-
readonly 150: any;
|
|
277
|
-
readonly 200: any;
|
|
278
|
-
readonly 300: any;
|
|
279
|
-
readonly 400: any;
|
|
280
|
-
readonly 500: any;
|
|
281
|
-
readonly 600: any;
|
|
282
|
-
readonly 700: any;
|
|
283
|
-
readonly 800: any;
|
|
284
|
-
readonly 1200: any;
|
|
285
|
-
readonly 1600: any;
|
|
286
|
-
};
|
|
287
|
-
'space-offset': {
|
|
288
|
-
readonly 0: any;
|
|
289
|
-
readonly 50: any;
|
|
290
|
-
readonly 100: any;
|
|
291
|
-
readonly 150: any;
|
|
292
|
-
readonly 200: any;
|
|
293
|
-
readonly 300: any;
|
|
294
|
-
readonly 400: any;
|
|
295
|
-
readonly 600: any;
|
|
296
|
-
readonly 800: any;
|
|
297
|
-
readonly 1200: any;
|
|
298
|
-
readonly 1600: any;
|
|
299
|
-
readonly 'stacking-0': any;
|
|
300
|
-
readonly 'stacking-100': any;
|
|
301
|
-
readonly 'stacking-200': any;
|
|
302
|
-
readonly 'stacking-300': any;
|
|
303
|
-
readonly 'stacking-400': any;
|
|
304
|
-
readonly 'stacking-500': any;
|
|
305
|
-
readonly 'stacking-800': any;
|
|
306
|
-
};
|
|
307
|
-
'stroke-width': {
|
|
308
|
-
readonly thin: "1.5px";
|
|
309
|
-
readonly normal: "2px";
|
|
310
|
-
readonly bold: "4px";
|
|
311
|
-
};
|
|
312
|
-
'z-indices': {
|
|
313
|
-
readonly dropdownMenu: 100;
|
|
314
|
-
readonly select: 200;
|
|
315
|
-
readonly popover: 300;
|
|
316
|
-
readonly tooltip: 400;
|
|
317
|
-
};
|
|
318
|
-
}, {
|
|
319
|
-
readonly background: "colors";
|
|
320
|
-
readonly backgroundColor: "colors";
|
|
321
|
-
readonly backgroundImage: "colors";
|
|
322
|
-
readonly blockSize: "sizes";
|
|
323
|
-
readonly border: "colors";
|
|
324
|
-
readonly borderBlock: "colors";
|
|
325
|
-
readonly borderBlockEnd: "colors";
|
|
326
|
-
readonly borderBlockStart: "colors";
|
|
327
|
-
readonly borderBottom: "colors";
|
|
328
|
-
readonly borderBottomColor: "colors";
|
|
329
|
-
readonly borderBottomLeftRadius: "radii";
|
|
330
|
-
readonly borderBottomRightRadius: "radii";
|
|
331
|
-
readonly borderBottomStyle: "border-styles";
|
|
332
|
-
readonly borderBottomWidth: "border-widths";
|
|
333
|
-
readonly borderColor: "colors";
|
|
334
|
-
readonly borderImage: "colors";
|
|
335
|
-
readonly borderInline: "colors";
|
|
336
|
-
readonly borderInlineEnd: "colors";
|
|
337
|
-
readonly borderInlineStart: "colors";
|
|
338
|
-
readonly borderLeft: "colors";
|
|
339
|
-
readonly borderLeftColor: "colors";
|
|
340
|
-
readonly borderLeftStyle: "border-styles";
|
|
341
|
-
readonly borderLeftWidth: "border-widths";
|
|
342
|
-
readonly borderRadius: "radii";
|
|
343
|
-
readonly borderRight: "colors";
|
|
344
|
-
readonly borderRightColor: "colors";
|
|
345
|
-
readonly borderRightStyle: "border-styles";
|
|
346
|
-
readonly borderRightWidth: "border-widths";
|
|
347
|
-
readonly borderSpacing: "space-offset";
|
|
348
|
-
readonly borderStyle: "border-styles";
|
|
349
|
-
readonly borderTop: "colors";
|
|
350
|
-
readonly borderTopColor: "colors";
|
|
351
|
-
readonly borderTopLeftRadius: "radii";
|
|
352
|
-
readonly borderTopRightRadius: "radii";
|
|
353
|
-
readonly borderTopStyle: "border-styles";
|
|
354
|
-
readonly borderTopWidth: "border-widths";
|
|
355
|
-
readonly borderWidth: "border-widths";
|
|
356
|
-
readonly bottom: "space";
|
|
357
|
-
readonly boxShadow: "shadows";
|
|
358
|
-
readonly caretColor: "colors";
|
|
359
|
-
readonly color: "colors";
|
|
360
|
-
readonly columnGap: "space-gap";
|
|
361
|
-
readonly columnRuleColor: "colors";
|
|
362
|
-
readonly fill: "colors";
|
|
363
|
-
readonly flexBasis: "sizes";
|
|
364
|
-
readonly fontFamily: "fonts";
|
|
365
|
-
readonly fontSize: "font-sizes";
|
|
366
|
-
readonly fontWeight: "font-weights";
|
|
367
|
-
readonly gap: "space-gap";
|
|
368
|
-
readonly gridColumnGap: "space-gap";
|
|
369
|
-
readonly gridGap: "space-gap";
|
|
370
|
-
readonly gridRowGap: "space-gap";
|
|
371
|
-
readonly gridTemplateColumns: "sizes";
|
|
372
|
-
readonly gridTemplateRows: "sizes";
|
|
373
|
-
readonly height: "sizes";
|
|
374
|
-
readonly inlineSize: "sizes";
|
|
375
|
-
readonly inset: "space-inset";
|
|
376
|
-
readonly insetBlock: "space-inset";
|
|
377
|
-
readonly insetBlockEnd: "space-inset";
|
|
378
|
-
readonly insetBlockStart: "space-inset";
|
|
379
|
-
readonly insetInline: "space-inset";
|
|
380
|
-
readonly insetInlineEnd: "space-inset";
|
|
381
|
-
readonly insetInlineStart: "space-inset";
|
|
382
|
-
readonly left: "space";
|
|
383
|
-
readonly letterSpacing: "letter-spacings";
|
|
384
|
-
readonly lineHeight: "line-heights";
|
|
385
|
-
readonly margin: "space-offset";
|
|
386
|
-
readonly marginBlock: "space-offset";
|
|
387
|
-
readonly marginBlockEnd: "space-offset";
|
|
388
|
-
readonly marginBlockStart: "space-offset";
|
|
389
|
-
readonly marginBottom: "space-offset";
|
|
390
|
-
readonly marginInline: "space-offset";
|
|
391
|
-
readonly marginInlineEnd: "space-offset";
|
|
392
|
-
readonly marginInlineStart: "space-offset";
|
|
393
|
-
readonly marginLeft: "space-offset";
|
|
394
|
-
readonly marginRight: "space-offset";
|
|
395
|
-
readonly marginTop: "space-offset";
|
|
396
|
-
readonly maxBlockSize: "sizes";
|
|
397
|
-
readonly maxHeight: "sizes";
|
|
398
|
-
readonly maxInlineSize: "sizes";
|
|
399
|
-
readonly maxWidth: "sizes";
|
|
400
|
-
readonly minBlockSize: "sizes";
|
|
401
|
-
readonly minHeight: "sizes";
|
|
402
|
-
readonly minInlineSize: "sizes";
|
|
403
|
-
readonly minWidth: "sizes";
|
|
404
|
-
readonly outline: "colors";
|
|
405
|
-
readonly outlineColor: "colors";
|
|
406
|
-
readonly padding: "space-inset";
|
|
407
|
-
readonly paddingBlock: "space-inset";
|
|
408
|
-
readonly paddingBlockEnd: "space-inset";
|
|
409
|
-
readonly paddingBlockStart: "space-inset";
|
|
410
|
-
readonly paddingBottom: "space-inset";
|
|
411
|
-
readonly paddingInline: "space-inset";
|
|
412
|
-
readonly paddingInlineEnd: "space-inset";
|
|
413
|
-
readonly paddingInlineStart: "space-inset";
|
|
414
|
-
readonly paddingLeft: "space-inset";
|
|
415
|
-
readonly paddingRight: "space-inset";
|
|
416
|
-
readonly paddingTop: "space-inset";
|
|
417
|
-
readonly right: "space";
|
|
418
|
-
readonly rowGap: "space-gap";
|
|
419
|
-
readonly scrollMargin: "space-offset";
|
|
420
|
-
readonly scrollMarginBlock: "space-offset";
|
|
421
|
-
readonly scrollMarginBlockEnd: "space-offset";
|
|
422
|
-
readonly scrollMarginBlockStart: "space-offset";
|
|
423
|
-
readonly scrollMarginBottom: "space-offset";
|
|
424
|
-
readonly scrollMarginInline: "space-offset";
|
|
425
|
-
readonly scrollMarginInlineEnd: "space-offset";
|
|
426
|
-
readonly scrollMarginInlineStart: "space-offset";
|
|
427
|
-
readonly scrollMarginLeft: "space-offset";
|
|
428
|
-
readonly scrollMarginRight: "space-offset";
|
|
429
|
-
readonly scrollMarginTop: "space-offset";
|
|
430
|
-
readonly scrollPadding: "space-inset";
|
|
431
|
-
readonly scrollPaddingBlock: "space-inset";
|
|
432
|
-
readonly scrollPaddingBlockEnd: "space-inset";
|
|
433
|
-
readonly scrollPaddingBlockStart: "space-inset";
|
|
434
|
-
readonly scrollPaddingBottom: "space-inset";
|
|
435
|
-
readonly scrollPaddingInline: "space-inset";
|
|
436
|
-
readonly scrollPaddingInlineEnd: "space-inset";
|
|
437
|
-
readonly scrollPaddingInlineStart: "space-inset";
|
|
438
|
-
readonly scrollPaddingLeft: "space-inset";
|
|
439
|
-
readonly scrollPaddingRight: "space-inset";
|
|
440
|
-
readonly scrollPaddingTop: "space-inset";
|
|
441
|
-
readonly stroke: "colors";
|
|
442
|
-
readonly strokeWidth: "stroke-width";
|
|
443
|
-
readonly textDecorationColor: "colors";
|
|
444
|
-
readonly textShadow: "shadows";
|
|
445
|
-
readonly top: "space";
|
|
446
|
-
readonly transition: "transitions";
|
|
447
|
-
readonly width: "sizes";
|
|
448
|
-
readonly zIndex: "z-indices";
|
|
449
|
-
}, {
|
|
450
|
-
paddingX: (value: {
|
|
451
|
-
readonly [$$PropertyValue]: "padding";
|
|
452
|
-
}) => {
|
|
453
|
-
paddingLeft: {
|
|
454
|
-
readonly [$$PropertyValue]: "padding";
|
|
455
|
-
};
|
|
456
|
-
paddingRight: {
|
|
457
|
-
readonly [$$PropertyValue]: "padding";
|
|
458
|
-
};
|
|
459
|
-
};
|
|
460
|
-
paddingY: (value: {
|
|
461
|
-
readonly [$$PropertyValue]: "padding";
|
|
462
|
-
}) => {
|
|
463
|
-
paddingTop: {
|
|
464
|
-
readonly [$$PropertyValue]: "padding";
|
|
465
|
-
};
|
|
466
|
-
paddingBottom: {
|
|
467
|
-
readonly [$$PropertyValue]: "padding";
|
|
468
|
-
};
|
|
469
|
-
};
|
|
470
|
-
marginX: (value: {
|
|
471
|
-
readonly [$$PropertyValue]: "margin";
|
|
472
|
-
}) => {
|
|
473
|
-
marginLeft: {
|
|
474
|
-
readonly [$$PropertyValue]: "margin";
|
|
475
|
-
};
|
|
476
|
-
marginRight: {
|
|
477
|
-
readonly [$$PropertyValue]: "margin";
|
|
478
|
-
};
|
|
479
|
-
};
|
|
480
|
-
marginY: (value: {
|
|
481
|
-
readonly [$$PropertyValue]: "margin";
|
|
482
|
-
}) => {
|
|
483
|
-
marginTop: {
|
|
484
|
-
readonly [$$PropertyValue]: "margin";
|
|
485
|
-
};
|
|
486
|
-
marginBottom: {
|
|
487
|
-
readonly [$$PropertyValue]: "margin";
|
|
488
|
-
};
|
|
489
|
-
};
|
|
490
|
-
square: (value: {
|
|
491
|
-
readonly [$$PropertyValue]: "width";
|
|
492
|
-
}) => {
|
|
493
|
-
width: {
|
|
494
|
-
readonly [$$PropertyValue]: "width";
|
|
495
|
-
};
|
|
496
|
-
height: {
|
|
497
|
-
readonly [$$PropertyValue]: "width";
|
|
498
|
-
};
|
|
499
|
-
};
|
|
500
|
-
_hover: (css: _stitches_react_types_css_util.CSSProperties) => {
|
|
501
|
-
'&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
|
|
502
|
-
};
|
|
503
|
-
}>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLInputElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<packages_components_input_src_types.ClearableInputProps> & packages_components_input_src_input.Partials, {}, {}>;
|
|
504
|
-
declare type StyledTriggerProps = StrictComponentProps<typeof StyledTrigger>;
|
|
505
|
-
|
|
506
|
-
interface TriggerProps extends StyledTriggerProps, HoverEvents {
|
|
14
|
+
declare const Trigger: React__default.ForwardRefExoticComponent<(Omit<packages_components_input_src_types.InputSharedProps & packages_components_input_src_types.ClearProps & {
|
|
507
15
|
/**
|
|
508
16
|
* The content.
|
|
509
17
|
*/
|
|
510
|
-
children?:
|
|
18
|
+
children?: React__default.ReactNode;
|
|
511
19
|
/**
|
|
512
20
|
* The size of the trigger.
|
|
513
21
|
* @default 'large'
|
|
514
22
|
*/
|
|
515
|
-
size?:
|
|
23
|
+
size?: InputProps['size'];
|
|
516
24
|
/**
|
|
517
25
|
* The content that will be rendered inside the Combobox.Trigger when no value or
|
|
518
26
|
* defaultValue is set.
|
|
519
27
|
*/
|
|
520
|
-
placeholder?: string;
|
|
521
|
-
}
|
|
522
|
-
|
|
28
|
+
placeholder?: string | undefined;
|
|
29
|
+
}, "ref"> | Omit<packages_components_input_src_types.InputSharedProps & {
|
|
30
|
+
clearable?: undefined;
|
|
31
|
+
} & {
|
|
32
|
+
/**
|
|
33
|
+
* The content.
|
|
34
|
+
*/
|
|
35
|
+
children?: React__default.ReactNode;
|
|
36
|
+
/**
|
|
37
|
+
* The size of the trigger.
|
|
38
|
+
* @default 'large'
|
|
39
|
+
*/
|
|
40
|
+
size?: InputProps['size'];
|
|
41
|
+
/**
|
|
42
|
+
* The content that will be rendered inside the Combobox.Trigger when no value or
|
|
43
|
+
* defaultValue is set.
|
|
44
|
+
*/
|
|
45
|
+
placeholder?: string | undefined;
|
|
46
|
+
}, "ref">) & React__default.RefAttributes<HTMLInputElement>>;
|
|
523
47
|
|
|
524
|
-
declare const StyledContent:
|
|
48
|
+
declare const StyledContent: React.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<React.ForwardRefExoticComponent<RadixPopover.PopoverContentProps & React.RefAttributes<HTMLDivElement>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
525
49
|
'border-widths': {
|
|
526
50
|
readonly none: 0;
|
|
527
51
|
readonly sm: "1px";
|
|
@@ -1009,7 +533,7 @@ declare const StyledContent: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_d
|
|
|
1009
533
|
_hover: (css: _stitches_react_types_css_util.CSSProperties) => {
|
|
1010
534
|
'&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
|
|
1011
535
|
};
|
|
1012
|
-
}>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> &
|
|
536
|
+
}>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<React.ForwardRefExoticComponent<RadixPopover.PopoverContentProps & React.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
1013
537
|
declare type StyledContentProps = StrictComponentProps<typeof StyledContent>;
|
|
1014
538
|
|
|
1015
539
|
interface ContentProps extends StyledContentProps {
|
|
@@ -1018,9 +542,9 @@ interface ContentProps extends StyledContentProps {
|
|
|
1018
542
|
*/
|
|
1019
543
|
children?: ReactNode;
|
|
1020
544
|
}
|
|
1021
|
-
declare const Content:
|
|
545
|
+
declare const Content: React__default.ForwardRefExoticComponent<Omit<ContentProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1022
546
|
|
|
1023
|
-
declare const StyledItem:
|
|
547
|
+
declare const StyledItem: React.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<(props: _ariakit_react.ComboboxItemProps<"div">) => React.ReactElement<any, string | React.JSXElementConstructor<any>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
1024
548
|
'border-widths': {
|
|
1025
549
|
readonly none: 0;
|
|
1026
550
|
readonly sm: "1px";
|
|
@@ -1508,7 +1032,7 @@ declare const StyledItem: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_desi
|
|
|
1508
1032
|
_hover: (css: _stitches_react_types_css_util.CSSProperties) => {
|
|
1509
1033
|
'&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
|
|
1510
1034
|
};
|
|
1511
|
-
}>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> &
|
|
1035
|
+
}>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<(props: _ariakit_react.ComboboxItemProps<"div">) => React.ReactElement<any, string | React.JSXElementConstructor<any>>, {}, {}>;
|
|
1512
1036
|
declare type StyledItemProps = StrictComponentProps<typeof StyledItem>;
|
|
1513
1037
|
|
|
1514
1038
|
interface ItemProps extends StyledItemProps {
|
|
@@ -1527,8 +1051,12 @@ interface ItemProps extends StyledItemProps {
|
|
|
1527
1051
|
* complex, or you have non-textual content inside.
|
|
1528
1052
|
*/
|
|
1529
1053
|
textValue?: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* Item's content.
|
|
1056
|
+
*/
|
|
1057
|
+
children?: ReactNode;
|
|
1530
1058
|
}
|
|
1531
|
-
declare const Item:
|
|
1059
|
+
declare const Item: React__default.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1532
1060
|
|
|
1533
1061
|
interface PortalProps extends PopoverPortalProps {
|
|
1534
1062
|
/**
|
|
@@ -1536,9 +1064,9 @@ interface PortalProps extends PopoverPortalProps {
|
|
|
1536
1064
|
*/
|
|
1537
1065
|
container?: HTMLElement | null;
|
|
1538
1066
|
}
|
|
1539
|
-
declare const Portal:
|
|
1067
|
+
declare const Portal: React__default.FC<PortalProps>;
|
|
1540
1068
|
|
|
1541
|
-
declare const StyledGroup:
|
|
1069
|
+
declare const StyledGroup: React.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<(props: _ariakit_react.GroupProps<"div">) => React.ReactElement<any, string | React.JSXElementConstructor<any>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
1542
1070
|
'border-widths': {
|
|
1543
1071
|
readonly none: 0;
|
|
1544
1072
|
readonly sm: "1px";
|
|
@@ -2026,14 +1554,14 @@ declare const StyledGroup: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_des
|
|
|
2026
1554
|
_hover: (css: _stitches_react_types_css_util.CSSProperties) => {
|
|
2027
1555
|
'&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
|
|
2028
1556
|
};
|
|
2029
|
-
}>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> &
|
|
1557
|
+
}>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<(props: _ariakit_react.GroupProps<"div">) => React.ReactElement<any, string | React.JSXElementConstructor<any>>, {}, {}>;
|
|
2030
1558
|
declare type StyledGroupProps = StrictComponentProps<typeof StyledGroup>;
|
|
2031
1559
|
|
|
2032
1560
|
interface GroupProps extends StyledGroupProps {
|
|
2033
1561
|
}
|
|
2034
|
-
declare const Group:
|
|
1562
|
+
declare const Group: React__default.ForwardRefExoticComponent<Omit<GroupProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
2035
1563
|
|
|
2036
|
-
declare const StyledGroupLabel:
|
|
1564
|
+
declare const StyledGroupLabel: React.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<(props: _ariakit_react.GroupLabelProps<"div">) => React.ReactElement<any, string | React.JSXElementConstructor<any>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
2037
1565
|
'border-widths': {
|
|
2038
1566
|
readonly none: 0;
|
|
2039
1567
|
readonly sm: "1px";
|
|
@@ -2521,22 +2049,22 @@ declare const StyledGroupLabel: react.ForwardRefExoticComponent<Omit<Omit<_miroh
|
|
|
2521
2049
|
_hover: (css: _stitches_react_types_css_util.CSSProperties) => {
|
|
2522
2050
|
'&:hover, &[data-hovered]': _stitches_react_types_css_util.CSSProperties;
|
|
2523
2051
|
};
|
|
2524
|
-
}>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> &
|
|
2052
|
+
}>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<(props: _ariakit_react.GroupLabelProps<"div">) => React.ReactElement<any, string | React.JSXElementConstructor<any>>, {}, {}>;
|
|
2525
2053
|
declare type StyledGroupLabelProps = StrictComponentProps<typeof StyledGroupLabel>;
|
|
2526
2054
|
|
|
2527
2055
|
interface GroupLabelProps extends StyledGroupLabelProps {
|
|
2528
2056
|
}
|
|
2529
|
-
declare const GroupLabel:
|
|
2057
|
+
declare const GroupLabel: React__default.ForwardRefExoticComponent<Omit<GroupLabelProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
2530
2058
|
|
|
2531
|
-
declare const Value:
|
|
2059
|
+
declare const Value: React__default.ForwardRefExoticComponent<React__default.RefAttributes<HTMLSpanElement>>;
|
|
2532
2060
|
|
|
2533
2061
|
declare type Direction = 'ltr' | 'rtl';
|
|
2534
2062
|
|
|
2535
2063
|
interface ComboboxProps$1 extends FormElementProps {
|
|
2536
2064
|
open?: boolean;
|
|
2537
2065
|
defaultOpen?: boolean;
|
|
2538
|
-
value?: string;
|
|
2539
|
-
defaultValue?: string;
|
|
2066
|
+
value?: string[];
|
|
2067
|
+
defaultValue?: string[];
|
|
2540
2068
|
searchValue?: string;
|
|
2541
2069
|
direction?: Direction;
|
|
2542
2070
|
}
|
|
@@ -2547,16 +2075,16 @@ interface ComboboxProps extends ComboboxProviderProps {
|
|
|
2547
2075
|
* The value of the combobox when initially rendered. Use when you do not need
|
|
2548
2076
|
* to control the state of the combobox.
|
|
2549
2077
|
*/
|
|
2550
|
-
defaultValue?: string;
|
|
2078
|
+
defaultValue?: string[];
|
|
2551
2079
|
/**
|
|
2552
2080
|
* The controlled value of the combobox. Should be used in conjunction with
|
|
2553
2081
|
* onValueChange.
|
|
2554
2082
|
*/
|
|
2555
|
-
value?: string;
|
|
2083
|
+
value?: string[];
|
|
2556
2084
|
/**
|
|
2557
2085
|
* Event handler called when the value changes.
|
|
2558
2086
|
*/
|
|
2559
|
-
onValueChange?: (value: string) => void;
|
|
2087
|
+
onValueChange?: (value: string[]) => void;
|
|
2560
2088
|
/**
|
|
2561
2089
|
* The open state of the combobox when it is initially rendered. Use when you do
|
|
2562
2090
|
* not need to control its open state.
|
|
@@ -2586,9 +2114,9 @@ interface ComboboxProps extends ComboboxProviderProps {
|
|
|
2586
2114
|
/**
|
|
2587
2115
|
* The content of the combobox
|
|
2588
2116
|
*/
|
|
2589
|
-
children?:
|
|
2117
|
+
children?: React__default.ReactNode;
|
|
2590
2118
|
}
|
|
2591
|
-
declare const Combobox:
|
|
2119
|
+
declare const Combobox: React__default.ForwardRefExoticComponent<ComboboxProps> & Partials;
|
|
2592
2120
|
interface Partials {
|
|
2593
2121
|
Portal: typeof Portal;
|
|
2594
2122
|
Trigger: typeof Trigger;
|