@threadlabs/looma 0.2.20 → 0.3.0

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.
Files changed (51) hide show
  1. package/dist/{chunk-A5MSXQ7Y.js → chunk-3NVMCHGR.js} +2225 -1255
  2. package/dist/chunk-XDNZIKNI.js +2721 -0
  3. package/dist/declarative-generated.cjs +93 -79
  4. package/dist/declarative-generated.d.cts +7 -1
  5. package/dist/declarative-generated.d.ts +7 -1
  6. package/dist/declarative-generated.js +91 -78
  7. package/dist/declarative.cjs +1499 -1702
  8. package/dist/declarative.d.cts +77 -3
  9. package/dist/declarative.d.ts +77 -3
  10. package/dist/declarative.js +5 -3
  11. package/dist/index.cjs +3732 -3025
  12. package/dist/index.d.cts +211 -35
  13. package/dist/index.d.ts +211 -35
  14. package/dist/index.js +6 -61
  15. package/dist/loader.cjs +3725 -2962
  16. package/dist/loader.js +2 -2
  17. package/editor/{chunk-VAXI7Q6T.js → chunk-U36XNFJN.js} +105 -77
  18. package/editor/extensions/index.d.ts +272 -27
  19. package/editor/index.d.ts +1 -1
  20. package/editor/index.js +1 -1
  21. package/editor/{table-overlay-DoiLie4h.d.ts → table-overlay-DZFGHQDt.d.ts} +48 -6
  22. package/editor/ui.d.ts +15 -11
  23. package/editor/ui.js +1 -1
  24. package/layout/index.cjs +197 -340
  25. package/layout/index.d.cts +11 -0
  26. package/layout/index.d.ts +11 -0
  27. package/layout/index.js +197 -340
  28. package/layout.css +31 -134
  29. package/package.json +24 -11
  30. package/react/index.d.ts +1276 -0
  31. package/react/index.js +1526 -0
  32. package/styles.css +5 -10
  33. package/svelte/index.d.ts +204 -0
  34. package/svelte/index.js +1881 -0
  35. package/theme-dark.css +81 -2
  36. package/theme-high-contrast.css +14 -0
  37. package/theme-light.css +30 -1
  38. package/tokens.css +45 -1
  39. package/vue/chunk-UZMTYDP6.js +4355 -0
  40. package/vue/editor/index.d.ts +78 -8
  41. package/vue/editor/index.js +54 -49
  42. package/vue/index.d.ts +67 -78
  43. package/vue/index.js +3 -9
  44. package/dist/chunk-ECJQ4YGC.js +0 -2925
  45. package/dist/valibot.cjs +0 -31
  46. package/dist/valibot.d.cts +0 -10
  47. package/dist/valibot.d.ts +0 -10
  48. package/dist/valibot.js +0 -9
  49. package/dist/validation-bxcou-l-.d.cts +0 -58
  50. package/dist/validation-bxcou-l-.d.ts +0 -58
  51. package/vue/chunk-P7BZ2KJZ.js +0 -3559
@@ -0,0 +1,1276 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ComponentPropsWithoutRef, ReactNode, Ref, ComponentRef } from 'react';
3
+
4
+ interface UiAffordanceScopeOwnProps {
5
+ nearRadius?: number | null;
6
+ slots?: Readonly<Record<string, ReactNode>>;
7
+ }
8
+ type UiAffordanceScopeHandle = ComponentRef<"span"> & {};
9
+ type UiAffordanceScopeProps = Omit<ComponentPropsWithoutRef<"span">, keyof UiAffordanceScopeOwnProps | "children"> & UiAffordanceScopeOwnProps & {
10
+ children?: ReactNode;
11
+ ref?: Ref<UiAffordanceScopeHandle>;
12
+ };
13
+ declare function UiAffordanceScope(props: UiAffordanceScopeProps): react_jsx_runtime.JSX.Element;
14
+
15
+ interface UiAvatarGroupOwnProps {
16
+ label?: string | null;
17
+ max?: number | null;
18
+ slots?: Readonly<Record<string, ReactNode>>;
19
+ }
20
+ type UiAvatarGroupHandle = ComponentRef<"div"> & {};
21
+ type UiAvatarGroupProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiAvatarGroupOwnProps | "children"> & UiAvatarGroupOwnProps & {
22
+ children?: ReactNode;
23
+ ref?: Ref<UiAvatarGroupHandle>;
24
+ };
25
+ declare function UiAvatarGroup(props: UiAvatarGroupProps): react_jsx_runtime.JSX.Element;
26
+
27
+ interface UiAvatarOwnProps {
28
+ alt?: string | null;
29
+ fallback?: string | null;
30
+ name?: string | null;
31
+ src?: string | null;
32
+ slots?: Readonly<Record<string, ReactNode>>;
33
+ }
34
+ type UiAvatarHandle = ComponentRef<"span"> & {};
35
+ type UiAvatarProps = Omit<ComponentPropsWithoutRef<"span">, keyof UiAvatarOwnProps | "children"> & UiAvatarOwnProps & {
36
+ children?: ReactNode;
37
+ ref?: Ref<UiAvatarHandle>;
38
+ };
39
+ declare function UiAvatar(props: UiAvatarProps): react_jsx_runtime.JSX.Element;
40
+
41
+ interface UiBadgeOwnProps {
42
+ tone?: "neutral" | "accent" | "info" | "success" | "warning" | "danger" | null;
43
+ variant?: "solid" | "subtle" | null;
44
+ slots?: Readonly<Record<string, ReactNode>>;
45
+ }
46
+ type UiBadgeHandle = ComponentRef<"span"> & {};
47
+ type UiBadgeProps = Omit<ComponentPropsWithoutRef<"span">, keyof UiBadgeOwnProps | "children"> & UiBadgeOwnProps & {
48
+ children?: ReactNode;
49
+ ref?: Ref<UiBadgeHandle>;
50
+ };
51
+ declare function UiBadge(props: UiBadgeProps): react_jsx_runtime.JSX.Element;
52
+
53
+ interface UiButtonOwnProps {
54
+ disabled?: boolean | null;
55
+ size?: "sm" | "md" | "lg" | null;
56
+ variant?: "outline" | "solid" | "danger" | "ghost" | "link" | null;
57
+ slots?: Readonly<Record<string, ReactNode>>;
58
+ }
59
+ type UiButtonHandle = ComponentRef<"button"> & {};
60
+ type UiButtonProps = Omit<ComponentPropsWithoutRef<"button">, keyof UiButtonOwnProps | "children"> & UiButtonOwnProps & {
61
+ children?: ReactNode;
62
+ ref?: Ref<UiButtonHandle>;
63
+ };
64
+ declare function UiButton(props: UiButtonProps): react_jsx_runtime.JSX.Element;
65
+
66
+ interface UiCalloutOwnProps {
67
+ tone?: "info" | "note" | "warning" | "success" | "danger" | null;
68
+ slots?: Readonly<Record<string, ReactNode>>;
69
+ }
70
+ type UiCalloutHandle = ComponentRef<"div"> & {};
71
+ type UiCalloutProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiCalloutOwnProps | "children"> & UiCalloutOwnProps & {
72
+ children?: ReactNode;
73
+ ref?: Ref<UiCalloutHandle>;
74
+ };
75
+ declare function UiCallout(props: UiCalloutProps): react_jsx_runtime.JSX.Element;
76
+
77
+ interface UiCheckboxOwnProps {
78
+ checked?: boolean | null;
79
+ disabled?: boolean | null;
80
+ indeterminate?: boolean | null;
81
+ required?: boolean | null;
82
+ value?: string | null;
83
+ onChange?: (detail: {
84
+ readonly checked: boolean;
85
+ readonly value: string;
86
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
87
+ }, event: CustomEvent<{
88
+ readonly checked: boolean;
89
+ readonly value: string;
90
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
91
+ }>) => void;
92
+ slots?: Readonly<Record<string, ReactNode>>;
93
+ }
94
+ type UiCheckboxHandle = ComponentRef<"span"> & {};
95
+ type UiCheckboxProps = Omit<ComponentPropsWithoutRef<"span">, keyof UiCheckboxOwnProps | "children"> & UiCheckboxOwnProps & {
96
+ children?: ReactNode;
97
+ ref?: Ref<UiCheckboxHandle>;
98
+ };
99
+ declare function UiCheckbox(props: UiCheckboxProps): react_jsx_runtime.JSX.Element;
100
+
101
+ interface UiComboboxOwnProps {
102
+ allowCreate?: boolean | null;
103
+ allowFreeText?: boolean | null;
104
+ clearable?: boolean | null;
105
+ disabled?: boolean | null;
106
+ disclosure?: boolean | null;
107
+ help?: string | null;
108
+ items?: readonly ({
109
+ readonly id: string;
110
+ readonly value: string;
111
+ readonly label: string;
112
+ readonly group?: string;
113
+ readonly disabled?: boolean;
114
+ })[] | null;
115
+ label?: string | null;
116
+ labelVisibility?: "visible" | "sr-only" | null;
117
+ multiple?: boolean | null;
118
+ name?: string | null;
119
+ placeholder?: string | null;
120
+ query?: string | null;
121
+ readOnly?: boolean | null;
122
+ required?: boolean | null;
123
+ size?: "sm" | "md" | null;
124
+ tokenSeparators?: readonly (string)[] | null;
125
+ value?: string | null;
126
+ onQueryChange?: (detail: {
127
+ readonly query: string;
128
+ readonly display: string;
129
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
130
+ }, event: CustomEvent<{
131
+ readonly query: string;
132
+ readonly display: string;
133
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
134
+ }>) => void;
135
+ onValueChange?: (detail: {
136
+ readonly value: string | null;
137
+ readonly query: string;
138
+ readonly option: {
139
+ readonly id: string;
140
+ readonly value: string;
141
+ readonly label: string;
142
+ readonly group?: string;
143
+ readonly disabled?: boolean;
144
+ } | null;
145
+ readonly kind: "selection" | "clear" | "free-entry" | "create";
146
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
147
+ } | readonly ({
148
+ readonly id: string;
149
+ readonly value: string;
150
+ readonly label: string;
151
+ readonly group?: string;
152
+ readonly disabled?: boolean;
153
+ })[], event: CustomEvent<{
154
+ readonly value: string | null;
155
+ readonly query: string;
156
+ readonly option: {
157
+ readonly id: string;
158
+ readonly value: string;
159
+ readonly label: string;
160
+ readonly group?: string;
161
+ readonly disabled?: boolean;
162
+ } | null;
163
+ readonly kind: "selection" | "clear" | "free-entry" | "create";
164
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
165
+ } | readonly ({
166
+ readonly id: string;
167
+ readonly value: string;
168
+ readonly label: string;
169
+ readonly group?: string;
170
+ readonly disabled?: boolean;
171
+ })[]>) => void;
172
+ onFreeEntry?: (detail: {
173
+ readonly value: string | null;
174
+ readonly query: string;
175
+ readonly option: {
176
+ readonly id: string;
177
+ readonly value: string;
178
+ readonly label: string;
179
+ readonly group?: string;
180
+ readonly disabled?: boolean;
181
+ } | null;
182
+ readonly kind: "selection" | "clear" | "free-entry" | "create";
183
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
184
+ }, event: CustomEvent<{
185
+ readonly value: string | null;
186
+ readonly query: string;
187
+ readonly option: {
188
+ readonly id: string;
189
+ readonly value: string;
190
+ readonly label: string;
191
+ readonly group?: string;
192
+ readonly disabled?: boolean;
193
+ } | null;
194
+ readonly kind: "selection" | "clear" | "free-entry" | "create";
195
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
196
+ }>) => void;
197
+ onCreateEntry?: (detail: {
198
+ readonly value: string | null;
199
+ readonly query: string;
200
+ readonly option: {
201
+ readonly id: string;
202
+ readonly value: string;
203
+ readonly label: string;
204
+ readonly group?: string;
205
+ readonly disabled?: boolean;
206
+ } | null;
207
+ readonly kind: "selection" | "clear" | "free-entry" | "create";
208
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
209
+ }, event: CustomEvent<{
210
+ readonly value: string | null;
211
+ readonly query: string;
212
+ readonly option: {
213
+ readonly id: string;
214
+ readonly value: string;
215
+ readonly label: string;
216
+ readonly group?: string;
217
+ readonly disabled?: boolean;
218
+ } | null;
219
+ readonly kind: "selection" | "clear" | "free-entry" | "create";
220
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
221
+ }>) => void;
222
+ onValidationChange?: (detail: {
223
+ readonly status: "pristine" | "pending" | "valid" | "warning" | "error";
224
+ readonly touched: boolean;
225
+ readonly dirty: boolean;
226
+ readonly issues: readonly ({
227
+ readonly message: string;
228
+ readonly path?: readonly (unknown)[];
229
+ readonly severity?: "error" | "warning";
230
+ })[];
231
+ readonly output?: unknown;
232
+ }, event: CustomEvent<{
233
+ readonly status: "pristine" | "pending" | "valid" | "warning" | "error";
234
+ readonly touched: boolean;
235
+ readonly dirty: boolean;
236
+ readonly issues: readonly ({
237
+ readonly message: string;
238
+ readonly path?: readonly (unknown)[];
239
+ readonly severity?: "error" | "warning";
240
+ })[];
241
+ readonly output?: unknown;
242
+ }>) => void;
243
+ onOptionsChange?: (detail: readonly ({
244
+ readonly id: string;
245
+ readonly value: string;
246
+ readonly label: string;
247
+ readonly group?: string;
248
+ readonly disabled?: boolean;
249
+ })[], event: CustomEvent<readonly ({
250
+ readonly id: string;
251
+ readonly value: string;
252
+ readonly label: string;
253
+ readonly group?: string;
254
+ readonly disabled?: boolean;
255
+ })[]>) => void;
256
+ onAddItem?: (detail: {
257
+ readonly item: {
258
+ readonly id: string;
259
+ readonly value: string;
260
+ readonly label: string;
261
+ readonly group?: string;
262
+ readonly disabled?: boolean;
263
+ };
264
+ readonly index: number;
265
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
266
+ }, event: CustomEvent<{
267
+ readonly item: {
268
+ readonly id: string;
269
+ readonly value: string;
270
+ readonly label: string;
271
+ readonly group?: string;
272
+ readonly disabled?: boolean;
273
+ };
274
+ readonly index: number;
275
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
276
+ }>) => void;
277
+ onRemoveItem?: (detail: {
278
+ readonly item: {
279
+ readonly id: string;
280
+ readonly value: string;
281
+ readonly label: string;
282
+ readonly group?: string;
283
+ readonly disabled?: boolean;
284
+ };
285
+ readonly index: number;
286
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
287
+ }, event: CustomEvent<{
288
+ readonly item: {
289
+ readonly id: string;
290
+ readonly value: string;
291
+ readonly label: string;
292
+ readonly group?: string;
293
+ readonly disabled?: boolean;
294
+ };
295
+ readonly index: number;
296
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
297
+ }>) => void;
298
+ onCreateItem?: (detail: {
299
+ readonly query: string;
300
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
301
+ }, event: CustomEvent<{
302
+ readonly query: string;
303
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
304
+ }>) => void;
305
+ slots?: Readonly<Record<string, ReactNode>>;
306
+ }
307
+ type UiComboboxHandle = ComponentRef<"div"> & {
308
+ validate(): Promise<unknown>;
309
+ focusInput(): Promise<void>;
310
+ };
311
+ type UiComboboxProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiComboboxOwnProps | "children"> & UiComboboxOwnProps & {
312
+ children?: ReactNode;
313
+ ref?: Ref<UiComboboxHandle>;
314
+ };
315
+ declare function UiCombobox(props: UiComboboxProps): react_jsx_runtime.JSX.Element;
316
+
317
+ interface UiContextMenuOwnProps {
318
+ for?: string | null;
319
+ open?: boolean | null;
320
+ onOpen?: (detail: {
321
+ readonly open: boolean;
322
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
323
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
324
+ }, event: CustomEvent<{
325
+ readonly open: boolean;
326
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
327
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
328
+ }>) => void;
329
+ onClose?: (detail: {
330
+ readonly open: boolean;
331
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
332
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
333
+ }, event: CustomEvent<{
334
+ readonly open: boolean;
335
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
336
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
337
+ }>) => void;
338
+ onSelect?: (detail: {
339
+ readonly value: string;
340
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
341
+ }, event: CustomEvent<{
342
+ readonly value: string;
343
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
344
+ }>) => void;
345
+ slots?: Readonly<Record<string, ReactNode>>;
346
+ }
347
+ type UiContextMenuHandle = ComponentRef<"span"> & {};
348
+ type UiContextMenuProps = Omit<ComponentPropsWithoutRef<"span">, keyof UiContextMenuOwnProps | "children"> & UiContextMenuOwnProps & {
349
+ children?: ReactNode;
350
+ ref?: Ref<UiContextMenuHandle>;
351
+ };
352
+ declare function UiContextMenu(props: UiContextMenuProps): react_jsx_runtime.JSX.Element;
353
+
354
+ interface UiDialogOwnProps {
355
+ dismissible?: boolean | null;
356
+ for?: string | null;
357
+ label?: string | null;
358
+ modal?: boolean | null;
359
+ open?: boolean | null;
360
+ onClose?: (detail: {
361
+ readonly open: boolean;
362
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
363
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
364
+ }, event: CustomEvent<{
365
+ readonly open: boolean;
366
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
367
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
368
+ }>) => void;
369
+ slots?: Readonly<Record<string, ReactNode>>;
370
+ }
371
+ type UiDialogHandle = ComponentRef<"dialog"> & {};
372
+ type UiDialogProps = Omit<ComponentPropsWithoutRef<"dialog">, keyof UiDialogOwnProps | "children"> & UiDialogOwnProps & {
373
+ children?: ReactNode;
374
+ ref?: Ref<UiDialogHandle>;
375
+ };
376
+ declare function UiDialog(props: UiDialogProps): react_jsx_runtime.JSX.Element;
377
+
378
+ interface UiDisclosureOwnProps {
379
+ disabled?: boolean | null;
380
+ open?: boolean | null;
381
+ summary?: string | null;
382
+ onOpen?: (detail: {
383
+ readonly open: boolean;
384
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
385
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
386
+ }, event: CustomEvent<{
387
+ readonly open: boolean;
388
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
389
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
390
+ }>) => void;
391
+ onClose?: (detail: {
392
+ readonly open: boolean;
393
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
394
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
395
+ }, event: CustomEvent<{
396
+ readonly open: boolean;
397
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
398
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
399
+ }>) => void;
400
+ slots?: Readonly<Record<string, ReactNode>>;
401
+ }
402
+ type UiDisclosureHandle = ComponentRef<"div"> & {};
403
+ type UiDisclosureProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiDisclosureOwnProps | "children"> & UiDisclosureOwnProps & {
404
+ children?: ReactNode;
405
+ ref?: Ref<UiDisclosureHandle>;
406
+ };
407
+ declare function UiDisclosure(props: UiDisclosureProps): react_jsx_runtime.JSX.Element;
408
+
409
+ interface UiEditableOwnProps {
410
+ actions?: boolean | null;
411
+ disabled?: boolean | null;
412
+ edit?: boolean | null;
413
+ hint?: string | null;
414
+ label?: string | null;
415
+ value?: string | null;
416
+ onInput?: (detail: {
417
+ readonly value: string;
418
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
419
+ }, event: CustomEvent<{
420
+ readonly value: string;
421
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
422
+ }>) => void;
423
+ onChange?: (detail: {
424
+ readonly value: string;
425
+ readonly previousValue: string;
426
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
427
+ }, event: CustomEvent<{
428
+ readonly value: string;
429
+ readonly previousValue: string;
430
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
431
+ }>) => void;
432
+ onEditChange?: (detail: {
433
+ readonly edit: boolean;
434
+ readonly reason: "activate" | "commit" | "cancel" | "light-dismiss" | "escape" | "programmatic";
435
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
436
+ }, event: CustomEvent<{
437
+ readonly edit: boolean;
438
+ readonly reason: "activate" | "commit" | "cancel" | "light-dismiss" | "escape" | "programmatic";
439
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
440
+ }>) => void;
441
+ slots?: Readonly<Record<string, ReactNode>>;
442
+ }
443
+ type UiEditableHandle = ComponentRef<"div"> & {};
444
+ type UiEditableProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiEditableOwnProps | "children"> & UiEditableOwnProps & {
445
+ children?: ReactNode;
446
+ ref?: Ref<UiEditableHandle>;
447
+ };
448
+ declare function UiEditable(props: UiEditableProps): react_jsx_runtime.JSX.Element;
449
+
450
+ interface UiFormFieldOwnProps {
451
+ disabled?: boolean | null;
452
+ invalid?: boolean | null;
453
+ required?: boolean | null;
454
+ slots?: Readonly<Record<string, ReactNode>>;
455
+ }
456
+ type UiFormFieldHandle = ComponentRef<"div"> & {};
457
+ type UiFormFieldProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiFormFieldOwnProps | "children"> & UiFormFieldOwnProps & {
458
+ children?: ReactNode;
459
+ ref?: Ref<UiFormFieldHandle>;
460
+ };
461
+ declare function UiFormField(props: UiFormFieldProps): react_jsx_runtime.JSX.Element;
462
+
463
+ interface UiIconButtonOwnProps {
464
+ anticipatory?: boolean | null;
465
+ disabled?: boolean | null;
466
+ label?: string | null;
467
+ round?: boolean | null;
468
+ size?: "sm" | "md" | "lg" | null;
469
+ variant?: "ghost" | "outline" | "solid" | null;
470
+ slots?: Readonly<Record<string, ReactNode>>;
471
+ }
472
+ type UiIconButtonHandle = ComponentRef<"button"> & {};
473
+ type UiIconButtonProps = Omit<ComponentPropsWithoutRef<"button">, keyof UiIconButtonOwnProps | "children"> & UiIconButtonOwnProps & {
474
+ children?: ReactNode;
475
+ ref?: Ref<UiIconButtonHandle>;
476
+ };
477
+ declare function UiIconButton(props: UiIconButtonProps): react_jsx_runtime.JSX.Element;
478
+
479
+ interface UiInputOwnProps {
480
+ disabled?: boolean | null;
481
+ invalid?: boolean | null;
482
+ readOnly?: boolean | null;
483
+ required?: boolean | null;
484
+ value?: string | null;
485
+ slots?: Readonly<Record<string, ReactNode>>;
486
+ }
487
+ type UiInputHandle = ComponentRef<"input"> & {};
488
+ type UiInputProps = Omit<ComponentPropsWithoutRef<"input">, keyof UiInputOwnProps | "children"> & UiInputOwnProps & {
489
+ children?: ReactNode;
490
+ ref?: Ref<UiInputHandle>;
491
+ };
492
+ declare function UiInput(props: UiInputProps): react_jsx_runtime.JSX.Element;
493
+
494
+ interface UiMenuItemOwnProps {
495
+ disabled?: boolean | null;
496
+ value?: string | null;
497
+ slots?: Readonly<Record<string, ReactNode>>;
498
+ }
499
+ type UiMenuItemHandle = ComponentRef<"div"> & {};
500
+ type UiMenuItemProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiMenuItemOwnProps | "children"> & UiMenuItemOwnProps & {
501
+ children?: ReactNode;
502
+ ref?: Ref<UiMenuItemHandle>;
503
+ };
504
+ declare function UiMenuItem(props: UiMenuItemProps): react_jsx_runtime.JSX.Element;
505
+
506
+ interface UiMenuOwnProps {
507
+ for?: string | null;
508
+ open?: boolean | null;
509
+ placement?: string | null;
510
+ onSelect?: (detail: {
511
+ readonly value: string;
512
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
513
+ }, event: CustomEvent<{
514
+ readonly value: string;
515
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
516
+ }>) => void;
517
+ onOpen?: (detail: {
518
+ readonly open: boolean;
519
+ readonly reason: "action" | "programmatic";
520
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
521
+ }, event: CustomEvent<{
522
+ readonly open: boolean;
523
+ readonly reason: "action" | "programmatic";
524
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
525
+ }>) => void;
526
+ onClose?: (detail: {
527
+ readonly open: boolean;
528
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
529
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
530
+ }, event: CustomEvent<{
531
+ readonly open: boolean;
532
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
533
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
534
+ }>) => void;
535
+ slots?: Readonly<Record<string, ReactNode>>;
536
+ }
537
+ type UiMenuHandle = ComponentRef<"div"> & {};
538
+ type UiMenuProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiMenuOwnProps | "children"> & UiMenuOwnProps & {
539
+ children?: ReactNode;
540
+ ref?: Ref<UiMenuHandle>;
541
+ };
542
+ declare function UiMenu(props: UiMenuProps): react_jsx_runtime.JSX.Element;
543
+
544
+ interface UiPopoverOwnProps {
545
+ for?: string | null;
546
+ open?: boolean | null;
547
+ placement?: string | null;
548
+ onOpen?: (detail: {
549
+ readonly open: boolean;
550
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
551
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
552
+ }, event: CustomEvent<{
553
+ readonly open: boolean;
554
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
555
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
556
+ }>) => void;
557
+ onClose?: (detail: {
558
+ readonly open: boolean;
559
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
560
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
561
+ }, event: CustomEvent<{
562
+ readonly open: boolean;
563
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
564
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
565
+ }>) => void;
566
+ slots?: Readonly<Record<string, ReactNode>>;
567
+ }
568
+ type UiPopoverHandle = ComponentRef<"span"> & {};
569
+ type UiPopoverProps = Omit<ComponentPropsWithoutRef<"span">, keyof UiPopoverOwnProps | "children"> & UiPopoverOwnProps & {
570
+ children?: ReactNode;
571
+ ref?: Ref<UiPopoverHandle>;
572
+ };
573
+ declare function UiPopover(props: UiPopoverProps): react_jsx_runtime.JSX.Element;
574
+
575
+ interface UiRadioGroupOwnProps {
576
+ disabled?: boolean | null;
577
+ label?: string | null;
578
+ name?: string | null;
579
+ orientation?: "horizontal" | "vertical" | null;
580
+ required?: boolean | null;
581
+ value?: string | null;
582
+ onSelect?: (detail: {
583
+ readonly value: string;
584
+ readonly previousValue: string;
585
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
586
+ }, event: CustomEvent<{
587
+ readonly value: string;
588
+ readonly previousValue: string;
589
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
590
+ }>) => void;
591
+ onChange?: (detail: {
592
+ readonly checked: boolean;
593
+ readonly value: string;
594
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
595
+ }, event: CustomEvent<{
596
+ readonly checked: boolean;
597
+ readonly value: string;
598
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
599
+ }>) => void;
600
+ slots?: Readonly<Record<string, ReactNode>>;
601
+ }
602
+ type UiRadioGroupHandle = ComponentRef<"fieldset"> & {};
603
+ type UiRadioGroupProps = Omit<ComponentPropsWithoutRef<"fieldset">, keyof UiRadioGroupOwnProps | "children"> & UiRadioGroupOwnProps & {
604
+ children?: ReactNode;
605
+ ref?: Ref<UiRadioGroupHandle>;
606
+ };
607
+ declare function UiRadioGroup(props: UiRadioGroupProps): react_jsx_runtime.JSX.Element;
608
+
609
+ interface UiRadioOwnProps {
610
+ checked?: boolean | null;
611
+ disabled?: boolean | null;
612
+ name?: string | null;
613
+ required?: boolean | null;
614
+ value?: string | null;
615
+ onChange?: (detail: {
616
+ readonly checked: boolean;
617
+ readonly value: string;
618
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
619
+ }, event: CustomEvent<{
620
+ readonly checked: boolean;
621
+ readonly value: string;
622
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
623
+ }>) => void;
624
+ slots?: Readonly<Record<string, ReactNode>>;
625
+ }
626
+ type UiRadioHandle = ComponentRef<"span"> & {};
627
+ type UiRadioProps = Omit<ComponentPropsWithoutRef<"span">, keyof UiRadioOwnProps | "children"> & UiRadioOwnProps & {
628
+ children?: ReactNode;
629
+ ref?: Ref<UiRadioHandle>;
630
+ };
631
+ declare function UiRadio(props: UiRadioProps): react_jsx_runtime.JSX.Element;
632
+
633
+ interface UiSearchResultRowOwnProps {
634
+ disabled?: boolean | null;
635
+ selected?: boolean | null;
636
+ slots?: Readonly<Record<string, ReactNode>>;
637
+ }
638
+ type UiSearchResultRowHandle = ComponentRef<"button"> & {};
639
+ type UiSearchResultRowProps = Omit<ComponentPropsWithoutRef<"button">, keyof UiSearchResultRowOwnProps | "children"> & UiSearchResultRowOwnProps & {
640
+ children?: ReactNode;
641
+ ref?: Ref<UiSearchResultRowHandle>;
642
+ };
643
+ declare function UiSearchResultRow(props: UiSearchResultRowProps): react_jsx_runtime.JSX.Element;
644
+
645
+ interface UiSearchShellOwnProps {
646
+ dismissible?: boolean | null;
647
+ label?: string | null;
648
+ modal?: boolean | null;
649
+ open?: boolean | null;
650
+ onClose?: (detail: {
651
+ readonly open: boolean;
652
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
653
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
654
+ }, event: CustomEvent<{
655
+ readonly open: boolean;
656
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
657
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
658
+ }>) => void;
659
+ slots?: Readonly<Record<string, ReactNode>>;
660
+ }
661
+ type UiSearchShellHandle = ComponentRef<"div"> & {};
662
+ type UiSearchShellProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiSearchShellOwnProps | "children"> & UiSearchShellOwnProps & {
663
+ children?: ReactNode;
664
+ ref?: Ref<UiSearchShellHandle>;
665
+ };
666
+ declare function UiSearchShell(props: UiSearchShellProps): react_jsx_runtime.JSX.Element;
667
+
668
+ interface UiSelectOwnProps {
669
+ disabled?: boolean | null;
670
+ invalid?: boolean | null;
671
+ multiple?: boolean | null;
672
+ required?: boolean | null;
673
+ value?: string | null;
674
+ slots?: Readonly<Record<string, ReactNode>>;
675
+ }
676
+ type UiSelectHandle = ComponentRef<"select"> & {};
677
+ type UiSelectProps = Omit<ComponentPropsWithoutRef<"select">, keyof UiSelectOwnProps | "children"> & UiSelectOwnProps & {
678
+ children?: ReactNode;
679
+ ref?: Ref<UiSelectHandle>;
680
+ };
681
+ declare function UiSelect(props: UiSelectProps): react_jsx_runtime.JSX.Element;
682
+
683
+ interface UiSwitchOwnProps {
684
+ checked?: boolean | null;
685
+ disabled?: boolean | null;
686
+ required?: boolean | null;
687
+ value?: string | null;
688
+ onChange?: (detail: {
689
+ readonly checked: boolean;
690
+ readonly value: string;
691
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
692
+ }, event: CustomEvent<{
693
+ readonly checked: boolean;
694
+ readonly value: string;
695
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
696
+ }>) => void;
697
+ slots?: Readonly<Record<string, ReactNode>>;
698
+ }
699
+ type UiSwitchHandle = ComponentRef<"span"> & {};
700
+ type UiSwitchProps = Omit<ComponentPropsWithoutRef<"span">, keyof UiSwitchOwnProps | "children"> & UiSwitchOwnProps & {
701
+ children?: ReactNode;
702
+ ref?: Ref<UiSwitchHandle>;
703
+ };
704
+ declare function UiSwitch(props: UiSwitchProps): react_jsx_runtime.JSX.Element;
705
+
706
+ interface UiTabsOwnProps {
707
+ label?: string | null;
708
+ orientation?: "horizontal" | "vertical" | null;
709
+ stretch?: boolean | null;
710
+ value?: string | null;
711
+ onSelect?: (detail: {
712
+ readonly value: string;
713
+ readonly previousValue: string;
714
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
715
+ }, event: CustomEvent<{
716
+ readonly value: string;
717
+ readonly previousValue: string;
718
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
719
+ }>) => void;
720
+ slots?: Readonly<Record<string, ReactNode>>;
721
+ }
722
+ type UiTabsHandle = ComponentRef<"div"> & {};
723
+ type UiTabsProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiTabsOwnProps | "children"> & UiTabsOwnProps & {
724
+ children?: ReactNode;
725
+ ref?: Ref<UiTabsHandle>;
726
+ };
727
+ declare function UiTabs(props: UiTabsProps): react_jsx_runtime.JSX.Element;
728
+
729
+ interface UiTextareaOwnProps {
730
+ disabled?: boolean | null;
731
+ invalid?: boolean | null;
732
+ readOnly?: boolean | null;
733
+ required?: boolean | null;
734
+ rows?: number | null;
735
+ value?: string | null;
736
+ slots?: Readonly<Record<string, ReactNode>>;
737
+ }
738
+ type UiTextareaHandle = ComponentRef<"textarea"> & {};
739
+ type UiTextareaProps = Omit<ComponentPropsWithoutRef<"textarea">, keyof UiTextareaOwnProps | "children"> & UiTextareaOwnProps & {
740
+ children?: ReactNode;
741
+ ref?: Ref<UiTextareaHandle>;
742
+ };
743
+ declare function UiTextarea(props: UiTextareaProps): react_jsx_runtime.JSX.Element;
744
+
745
+ interface UiToastRegionOwnProps {
746
+ auto?: boolean | null;
747
+ duration?: number | null;
748
+ message?: string | null;
749
+ open?: boolean | null;
750
+ onClose?: (detail: {
751
+ readonly open: boolean;
752
+ readonly reason: "action" | "timeout" | "programmatic" | "light-dismiss" | "escape";
753
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
754
+ }, event: CustomEvent<{
755
+ readonly open: boolean;
756
+ readonly reason: "action" | "timeout" | "programmatic" | "light-dismiss" | "escape";
757
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
758
+ }>) => void;
759
+ onDismiss?: (detail: {
760
+ readonly id: string;
761
+ readonly reason: "action" | "timeout";
762
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
763
+ }, event: CustomEvent<{
764
+ readonly id: string;
765
+ readonly reason: "action" | "timeout";
766
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
767
+ }>) => void;
768
+ slots?: Readonly<Record<string, ReactNode>>;
769
+ }
770
+ type UiToastRegionHandle = ComponentRef<"div"> & {
771
+ show(): Promise<string>;
772
+ };
773
+ type UiToastRegionProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiToastRegionOwnProps | "children"> & UiToastRegionOwnProps & {
774
+ children?: ReactNode;
775
+ ref?: Ref<UiToastRegionHandle>;
776
+ };
777
+ declare function UiToastRegion(props: UiToastRegionProps): react_jsx_runtime.JSX.Element;
778
+
779
+ interface UiTooltipOwnProps {
780
+ for?: string | null;
781
+ hideDelay?: number | null;
782
+ inverse?: boolean | null;
783
+ open?: boolean | null;
784
+ placement?: string | null;
785
+ showDelay?: number | null;
786
+ onOpen?: (detail: {
787
+ readonly open: boolean;
788
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
789
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
790
+ }, event: CustomEvent<{
791
+ readonly open: boolean;
792
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
793
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
794
+ }>) => void;
795
+ onClose?: (detail: {
796
+ readonly open: boolean;
797
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
798
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
799
+ }, event: CustomEvent<{
800
+ readonly open: boolean;
801
+ readonly reason: "action" | "programmatic" | "light-dismiss" | "escape";
802
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
803
+ }>) => void;
804
+ slots?: Readonly<Record<string, ReactNode>>;
805
+ }
806
+ type UiTooltipHandle = ComponentRef<"span"> & {};
807
+ type UiTooltipProps = Omit<ComponentPropsWithoutRef<"span">, keyof UiTooltipOwnProps | "children"> & UiTooltipOwnProps & {
808
+ children?: ReactNode;
809
+ ref?: Ref<UiTooltipHandle>;
810
+ };
811
+ declare function UiTooltip(props: UiTooltipProps): react_jsx_runtime.JSX.Element;
812
+
813
+ interface UiTopBarOwnProps {
814
+ slots?: Readonly<Record<string, ReactNode>>;
815
+ }
816
+ type UiTopBarHandle = ComponentRef<"div"> & {};
817
+ type UiTopBarProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiTopBarOwnProps | "children"> & UiTopBarOwnProps & {
818
+ children?: ReactNode;
819
+ ref?: Ref<UiTopBarHandle>;
820
+ };
821
+ declare function UiTopBar(props: UiTopBarProps): react_jsx_runtime.JSX.Element;
822
+
823
+ interface UiTreeItemOwnProps {
824
+ accepts?: string | null;
825
+ container?: boolean | null;
826
+ disabled?: boolean | null;
827
+ dragType?: string | null;
828
+ dropDepth?: number | null;
829
+ dropScope?: string | null;
830
+ expanded?: boolean | null;
831
+ itemId?: string | null;
832
+ label?: string | null;
833
+ selected?: boolean | null;
834
+ sortable?: boolean | null;
835
+ subtreeDepth?: number | null;
836
+ onExpand?: (detail: {
837
+ readonly id: string;
838
+ readonly expanded: boolean;
839
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
840
+ }, event: CustomEvent<{
841
+ readonly id: string;
842
+ readonly expanded: boolean;
843
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
844
+ }>) => void;
845
+ slots?: Readonly<Record<string, ReactNode>>;
846
+ }
847
+ type UiTreeItemHandle = ComponentRef<"div"> & {};
848
+ type UiTreeItemProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiTreeItemOwnProps | "children"> & UiTreeItemOwnProps & {
849
+ children?: ReactNode;
850
+ ref?: Ref<UiTreeItemHandle>;
851
+ };
852
+ declare function UiTreeItem(props: UiTreeItemProps): react_jsx_runtime.JSX.Element;
853
+
854
+ interface UiTreeOwnProps {
855
+ hoverExpandDelay?: number | null;
856
+ label?: string | null;
857
+ maxDepth?: number | null;
858
+ onReorder?: (detail: {
859
+ readonly sourceId: string;
860
+ readonly targetId: string;
861
+ readonly position: "before" | "inside" | "after";
862
+ readonly sourceType: string;
863
+ readonly targetType: string;
864
+ readonly sourceScope: string;
865
+ readonly targetScope: string;
866
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
867
+ }, event: CustomEvent<{
868
+ readonly sourceId: string;
869
+ readonly targetId: string;
870
+ readonly position: "before" | "inside" | "after";
871
+ readonly sourceType: string;
872
+ readonly targetType: string;
873
+ readonly sourceScope: string;
874
+ readonly targetScope: string;
875
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
876
+ }>) => void;
877
+ onReorderRejected?: (detail: {
878
+ readonly sourceId: string;
879
+ readonly targetId: string;
880
+ readonly position: "before" | "inside" | "after";
881
+ readonly reason: "max-depth";
882
+ readonly maxDepth: number;
883
+ readonly resultingDepth: number;
884
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
885
+ }, event: CustomEvent<{
886
+ readonly sourceId: string;
887
+ readonly targetId: string;
888
+ readonly position: "before" | "inside" | "after";
889
+ readonly reason: "max-depth";
890
+ readonly maxDepth: number;
891
+ readonly resultingDepth: number;
892
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
893
+ }>) => void;
894
+ slots?: Readonly<Record<string, ReactNode>>;
895
+ }
896
+ type UiTreeHandle = ComponentRef<"div"> & {};
897
+ type UiTreeProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiTreeOwnProps | "children"> & UiTreeOwnProps & {
898
+ children?: ReactNode;
899
+ ref?: Ref<UiTreeHandle>;
900
+ };
901
+ declare function UiTree(props: UiTreeProps): react_jsx_runtime.JSX.Element;
902
+
903
+ interface UiClusterOwnProps {
904
+ align?: "start" | "center" | "end" | "stretch" | null;
905
+ gap?: "xs" | "s" | "m" | "l" | "xl" | null;
906
+ slots?: Readonly<Record<string, ReactNode>>;
907
+ }
908
+ type UiClusterHandle = ComponentRef<"div"> & {};
909
+ type UiClusterProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiClusterOwnProps | "children"> & UiClusterOwnProps & {
910
+ children?: ReactNode;
911
+ ref?: Ref<UiClusterHandle>;
912
+ };
913
+ declare function UiCluster(props: UiClusterProps): react_jsx_runtime.JSX.Element;
914
+
915
+ interface UiContainerOwnProps {
916
+ gutters?: "s" | "m" | "l" | null;
917
+ measure?: "narrow" | "wide" | null;
918
+ slots?: Readonly<Record<string, ReactNode>>;
919
+ }
920
+ type UiContainerHandle = ComponentRef<"div"> & {};
921
+ type UiContainerProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiContainerOwnProps | "children"> & UiContainerOwnProps & {
922
+ children?: ReactNode;
923
+ ref?: Ref<UiContainerHandle>;
924
+ };
925
+ declare function UiContainer(props: UiContainerProps): react_jsx_runtime.JSX.Element;
926
+
927
+ interface UiGridOwnProps {
928
+ gap?: "xs" | "s" | "m" | "l" | "xl" | null;
929
+ min?: "sm" | "md" | "lg" | null;
930
+ slots?: Readonly<Record<string, ReactNode>>;
931
+ }
932
+ type UiGridHandle = ComponentRef<"div"> & {};
933
+ type UiGridProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiGridOwnProps | "children"> & UiGridOwnProps & {
934
+ children?: ReactNode;
935
+ ref?: Ref<UiGridHandle>;
936
+ };
937
+ declare function UiGrid(props: UiGridProps): react_jsx_runtime.JSX.Element;
938
+
939
+ interface UiReelOwnProps {
940
+ gap?: "xs" | "s" | "m" | "l" | "xl" | null;
941
+ itemWidth?: "sm" | "md" | "lg" | null;
942
+ snap?: "start" | "center" | null;
943
+ slots?: Readonly<Record<string, ReactNode>>;
944
+ }
945
+ type UiReelHandle = ComponentRef<"div"> & {};
946
+ type UiReelProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiReelOwnProps | "children"> & UiReelOwnProps & {
947
+ children?: ReactNode;
948
+ ref?: Ref<UiReelHandle>;
949
+ };
950
+ declare function UiReel(props: UiReelProps): react_jsx_runtime.JSX.Element;
951
+
952
+ interface UiSeparatorOwnProps {
953
+ orientation?: "horizontal" | "vertical" | null;
954
+ slots?: Readonly<Record<string, ReactNode>>;
955
+ }
956
+ type UiSeparatorHandle = ComponentRef<"div"> & {};
957
+ type UiSeparatorProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiSeparatorOwnProps | "children"> & UiSeparatorOwnProps & {
958
+ children?: ReactNode;
959
+ ref?: Ref<UiSeparatorHandle>;
960
+ };
961
+ declare function UiSeparator(props: UiSeparatorProps): react_jsx_runtime.JSX.Element;
962
+
963
+ interface UiSidebarOwnProps {
964
+ breakpoint?: "sm" | "md" | "lg" | null;
965
+ collapsed?: boolean | null;
966
+ maxWidth?: number | null;
967
+ minWidth?: number | null;
968
+ resizable?: boolean | null;
969
+ resizeLabel?: string | null;
970
+ resizeStep?: number | null;
971
+ side?: "start" | "end" | null;
972
+ width?: number | null;
973
+ onResize?: (detail: {
974
+ readonly width: number;
975
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
976
+ }, event: CustomEvent<{
977
+ readonly width: number;
978
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
979
+ }>) => void;
980
+ onToggle?: (detail: {
981
+ readonly open: boolean;
982
+ readonly mode: "docked" | "drawer";
983
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
984
+ }, event: CustomEvent<{
985
+ readonly open: boolean;
986
+ readonly mode: "docked" | "drawer";
987
+ readonly trigger: "keyboard" | "pointer" | "programmatic";
988
+ }>) => void;
989
+ slots?: Readonly<Record<string, ReactNode>>;
990
+ }
991
+ type UiSidebarHandle = ComponentRef<"aside"> & {};
992
+ type UiSidebarProps = Omit<ComponentPropsWithoutRef<"aside">, keyof UiSidebarOwnProps | "children"> & UiSidebarOwnProps & {
993
+ children?: ReactNode;
994
+ ref?: Ref<UiSidebarHandle>;
995
+ };
996
+ declare function UiSidebar(props: UiSidebarProps): react_jsx_runtime.JSX.Element;
997
+
998
+ interface UiStackOwnProps {
999
+ align?: "start" | "center" | "end" | "stretch" | null;
1000
+ gap?: "xs" | "s" | "m" | "l" | "xl" | null;
1001
+ justify?: "start" | "center" | "end" | "between" | null;
1002
+ slots?: Readonly<Record<string, ReactNode>>;
1003
+ }
1004
+ type UiStackHandle = ComponentRef<"div"> & {};
1005
+ type UiStackProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiStackOwnProps | "children"> & UiStackOwnProps & {
1006
+ children?: ReactNode;
1007
+ ref?: Ref<UiStackHandle>;
1008
+ };
1009
+ declare function UiStack(props: UiStackProps): react_jsx_runtime.JSX.Element;
1010
+
1011
+ interface UiSwitcherOwnProps {
1012
+ align?: "start" | "center" | "end" | "stretch" | null;
1013
+ gap?: "xs" | "s" | "m" | "l" | "xl" | null;
1014
+ threshold?: "xs" | "sm" | "md" | "lg" | null;
1015
+ slots?: Readonly<Record<string, ReactNode>>;
1016
+ }
1017
+ type UiSwitcherHandle = ComponentRef<"div"> & {};
1018
+ type UiSwitcherProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiSwitcherOwnProps | "children"> & UiSwitcherOwnProps & {
1019
+ children?: ReactNode;
1020
+ ref?: Ref<UiSwitcherHandle>;
1021
+ };
1022
+ declare function UiSwitcher(props: UiSwitcherProps): react_jsx_runtime.JSX.Element;
1023
+
1024
+ interface UiEditorInsertTableGridOwnProps {
1025
+ headerRow?: boolean | null;
1026
+ maxCols?: number | null;
1027
+ maxRows?: number | null;
1028
+ open?: boolean | null;
1029
+ onInsert?: (detail: {
1030
+ readonly rows: number;
1031
+ readonly cols: number;
1032
+ readonly withHeaderRow: boolean;
1033
+ }, event: CustomEvent<{
1034
+ readonly rows: number;
1035
+ readonly cols: number;
1036
+ readonly withHeaderRow: boolean;
1037
+ }>) => void;
1038
+ slots?: Readonly<Record<string, ReactNode>>;
1039
+ }
1040
+ type UiEditorInsertTableGridHandle = ComponentRef<"div"> & {};
1041
+ type UiEditorInsertTableGridProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiEditorInsertTableGridOwnProps | "children"> & UiEditorInsertTableGridOwnProps & {
1042
+ children?: ReactNode;
1043
+ ref?: Ref<UiEditorInsertTableGridHandle>;
1044
+ };
1045
+ declare function UiEditorInsertTableGrid(props: UiEditorInsertTableGridProps): react_jsx_runtime.JSX.Element;
1046
+
1047
+ interface UiEditorMentionMenuOwnProps {
1048
+ anchorRect?: {
1049
+ readonly left?: number;
1050
+ readonly top?: number;
1051
+ readonly right?: number;
1052
+ readonly bottom?: number;
1053
+ readonly x?: number;
1054
+ readonly y?: number;
1055
+ readonly width?: number;
1056
+ readonly height?: number;
1057
+ } | null;
1058
+ items?: readonly ({
1059
+ readonly id: string;
1060
+ readonly label: string;
1061
+ readonly detail?: string;
1062
+ readonly initials?: string;
1063
+ })[] | null;
1064
+ loading?: boolean | null;
1065
+ open?: boolean | null;
1066
+ query?: string | null;
1067
+ selectedIndex?: number | null;
1068
+ onHighlight?: (detail: {
1069
+ readonly index: number;
1070
+ }, event: CustomEvent<{
1071
+ readonly index: number;
1072
+ }>) => void;
1073
+ onSelect?: (detail: {
1074
+ readonly index: number;
1075
+ }, event: CustomEvent<{
1076
+ readonly index: number;
1077
+ }>) => void;
1078
+ slots?: Readonly<Record<string, ReactNode>>;
1079
+ }
1080
+ type UiEditorMentionMenuHandle = ComponentRef<"div"> & {};
1081
+ type UiEditorMentionMenuProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiEditorMentionMenuOwnProps | "children"> & UiEditorMentionMenuOwnProps & {
1082
+ children?: ReactNode;
1083
+ ref?: Ref<UiEditorMentionMenuHandle>;
1084
+ };
1085
+ declare function UiEditorMentionMenu(props: UiEditorMentionMenuProps): react_jsx_runtime.JSX.Element;
1086
+
1087
+ interface UiEditorSlashMenuOwnProps {
1088
+ anchorRect?: {
1089
+ readonly left?: number;
1090
+ readonly top?: number;
1091
+ readonly right?: number;
1092
+ readonly bottom?: number;
1093
+ readonly x?: number;
1094
+ readonly y?: number;
1095
+ readonly width?: number;
1096
+ readonly height?: number;
1097
+ } | null;
1098
+ items?: readonly ({
1099
+ readonly title: string;
1100
+ readonly description: string;
1101
+ readonly icon: string;
1102
+ })[] | null;
1103
+ open?: boolean | null;
1104
+ query?: string | null;
1105
+ selectedIndex?: number | null;
1106
+ onHighlight?: (detail: {
1107
+ readonly index: number;
1108
+ }, event: CustomEvent<{
1109
+ readonly index: number;
1110
+ }>) => void;
1111
+ onSelect?: (detail: {
1112
+ readonly index: number;
1113
+ }, event: CustomEvent<{
1114
+ readonly index: number;
1115
+ }>) => void;
1116
+ slots?: Readonly<Record<string, ReactNode>>;
1117
+ }
1118
+ type UiEditorSlashMenuHandle = ComponentRef<"div"> & {};
1119
+ type UiEditorSlashMenuProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiEditorSlashMenuOwnProps | "children"> & UiEditorSlashMenuOwnProps & {
1120
+ children?: ReactNode;
1121
+ ref?: Ref<UiEditorSlashMenuHandle>;
1122
+ };
1123
+ declare function UiEditorSlashMenu(props: UiEditorSlashMenuProps): react_jsx_runtime.JSX.Element;
1124
+
1125
+ interface UiEditorTableContextMenuOwnProps {
1126
+ actions?: readonly ("align-left" | "align-center" | "align-right" | "background-none" | "background-gray" | "background-yellow" | "background-blue" | "background-green" | "background-red" | "add-row-before" | "add-row-after" | "add-column-before" | "add-column-after" | "clear-cells" | "merge-cells" | "split-cell" | "delete-row" | "delete-column" | "delete-table")[] | null;
1127
+ cellBackground?: string | null;
1128
+ open?: boolean | null;
1129
+ onAction?: (detail: {
1130
+ readonly action: string;
1131
+ }, event: CustomEvent<{
1132
+ readonly action: string;
1133
+ }>) => void;
1134
+ slots?: Readonly<Record<string, ReactNode>>;
1135
+ }
1136
+ type UiEditorTableContextMenuHandle = ComponentRef<"div"> & {};
1137
+ type UiEditorTableContextMenuProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiEditorTableContextMenuOwnProps | "children"> & UiEditorTableContextMenuOwnProps & {
1138
+ children?: ReactNode;
1139
+ ref?: Ref<UiEditorTableContextMenuHandle>;
1140
+ };
1141
+ declare function UiEditorTableContextMenu(props: UiEditorTableContextMenuProps): react_jsx_runtime.JSX.Element;
1142
+
1143
+ interface UiEditorTableOverlayOwnProps {
1144
+ geometry?: {
1145
+ readonly rowBoundaries: readonly (number)[];
1146
+ readonly columnBoundaries: readonly (number)[];
1147
+ readonly activeCell: {
1148
+ readonly left: number;
1149
+ readonly top: number;
1150
+ readonly width: number;
1151
+ readonly height: number;
1152
+ readonly rowIndex: number;
1153
+ readonly columnIndex: number;
1154
+ } | null;
1155
+ readonly hoveredCell?: {
1156
+ readonly left: number;
1157
+ readonly top: number;
1158
+ readonly width: number;
1159
+ readonly height: number;
1160
+ readonly rowIndex: number;
1161
+ readonly columnIndex: number;
1162
+ } | null;
1163
+ } | null;
1164
+ open?: boolean | null;
1165
+ onAction?: (detail: {
1166
+ readonly action: string;
1167
+ readonly boundaryIndex?: number;
1168
+ readonly rowIndex?: number;
1169
+ readonly columnIndex?: number;
1170
+ readonly anchor?: {
1171
+ readonly left: number;
1172
+ readonly top: number;
1173
+ readonly right: number;
1174
+ readonly bottom: number;
1175
+ };
1176
+ }, event: CustomEvent<{
1177
+ readonly action: string;
1178
+ readonly boundaryIndex?: number;
1179
+ readonly rowIndex?: number;
1180
+ readonly columnIndex?: number;
1181
+ readonly anchor?: {
1182
+ readonly left: number;
1183
+ readonly top: number;
1184
+ readonly right: number;
1185
+ readonly bottom: number;
1186
+ };
1187
+ }>) => void;
1188
+ slots?: Readonly<Record<string, ReactNode>>;
1189
+ }
1190
+ type UiEditorTableOverlayHandle = ComponentRef<"div"> & {};
1191
+ type UiEditorTableOverlayProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiEditorTableOverlayOwnProps | "children"> & UiEditorTableOverlayOwnProps & {
1192
+ children?: ReactNode;
1193
+ ref?: Ref<UiEditorTableOverlayHandle>;
1194
+ };
1195
+ declare function UiEditorTableOverlay(props: UiEditorTableOverlayProps): react_jsx_runtime.JSX.Element;
1196
+
1197
+ interface UiEditorTableToolbarOwnProps {
1198
+ actions?: readonly ("align-left" | "align-center" | "align-right" | "background-none" | "background-gray" | "background-yellow" | "background-blue" | "background-green" | "background-red" | "add-row-before" | "add-row-after" | "add-column-before" | "add-column-after" | "clear-cells" | "merge-cells" | "split-cell" | "delete-row" | "delete-column" | "delete-table")[] | null;
1199
+ cellAlignment?: "left" | "center" | "right" | null;
1200
+ cellBackground?: string | null;
1201
+ open?: boolean | null;
1202
+ onAction?: (detail: {
1203
+ readonly action: string;
1204
+ }, event: CustomEvent<{
1205
+ readonly action: string;
1206
+ }>) => void;
1207
+ slots?: Readonly<Record<string, ReactNode>>;
1208
+ }
1209
+ type UiEditorTableToolbarHandle = ComponentRef<"div"> & {};
1210
+ type UiEditorTableToolbarProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiEditorTableToolbarOwnProps | "children"> & UiEditorTableToolbarOwnProps & {
1211
+ children?: ReactNode;
1212
+ ref?: Ref<UiEditorTableToolbarHandle>;
1213
+ };
1214
+ declare function UiEditorTableToolbar(props: UiEditorTableToolbarProps): react_jsx_runtime.JSX.Element;
1215
+
1216
+ interface UiEditorToolbarOwnProps {
1217
+ slots?: Readonly<Record<string, ReactNode>>;
1218
+ }
1219
+ type UiEditorToolbarHandle = ComponentRef<"div"> & {};
1220
+ type UiEditorToolbarProps = Omit<ComponentPropsWithoutRef<"div">, keyof UiEditorToolbarOwnProps | "children"> & UiEditorToolbarOwnProps & {
1221
+ children?: ReactNode;
1222
+ ref?: Ref<UiEditorToolbarHandle>;
1223
+ };
1224
+ declare function UiEditorToolbar(props: UiEditorToolbarProps): react_jsx_runtime.JSX.Element;
1225
+
1226
+ declare const ADAPTER_COMPONENT_TAG_MAP: {
1227
+ readonly Stack: "ui-stack";
1228
+ readonly Cluster: "ui-cluster";
1229
+ readonly Grid: "ui-grid";
1230
+ readonly Container: "ui-container";
1231
+ readonly Switcher: "ui-switcher";
1232
+ readonly Sidebar: "ui-sidebar";
1233
+ readonly Reel: "ui-reel";
1234
+ readonly Separator: "ui-separator";
1235
+ readonly Disclosure: "ui-disclosure";
1236
+ readonly Editable: "ui-editable";
1237
+ readonly Tabs: "ui-tabs";
1238
+ readonly Dialog: "ui-dialog";
1239
+ readonly Popover: "ui-popover";
1240
+ readonly Menu: "ui-menu";
1241
+ readonly MenuItem: "ui-menu-item";
1242
+ readonly ContextMenu: "ui-context-menu";
1243
+ readonly AffordanceScope: "ui-affordance-scope";
1244
+ readonly Button: "ui-button";
1245
+ readonly IconButton: "ui-icon-button";
1246
+ readonly Input: "ui-input";
1247
+ readonly Select: "ui-select";
1248
+ readonly Textarea: "ui-textarea";
1249
+ readonly FormField: "ui-form-field";
1250
+ readonly Tooltip: "ui-tooltip";
1251
+ readonly ToastRegion: "ui-toast-region";
1252
+ readonly Checkbox: "ui-checkbox";
1253
+ readonly Switch: "ui-switch";
1254
+ readonly RadioGroup: "ui-radio-group";
1255
+ readonly Radio: "ui-radio";
1256
+ readonly Badge: "ui-badge";
1257
+ readonly Callout: "ui-callout";
1258
+ readonly Avatar: "ui-avatar";
1259
+ readonly AvatarGroup: "ui-avatar-group";
1260
+ readonly SearchShell: "ui-search-shell";
1261
+ readonly SearchResultRow: "ui-search-result-row";
1262
+ readonly TopBar: "ui-top-bar";
1263
+ readonly Tree: "ui-tree";
1264
+ readonly TreeItem: "ui-tree-item";
1265
+ readonly Combobox: "ui-combobox";
1266
+ readonly EditorToolbar: "ui-editor-toolbar";
1267
+ readonly EditorSlashMenu: "ui-editor-slash-menu";
1268
+ readonly EditorMentionMenu: "ui-editor-mention-menu";
1269
+ readonly EditorTableContextMenu: "ui-editor-table-context-menu";
1270
+ readonly EditorTableToolbar: "ui-editor-table-toolbar";
1271
+ readonly EditorInsertTableGrid: "ui-editor-insert-table-grid";
1272
+ readonly EditorTableOverlay: "ui-editor-table-overlay";
1273
+ };
1274
+ declare const REACT_ADAPTER_NOTE = "Generated declarative adapter: renders a native root and attaches the framework-neutral Looma contract.";
1275
+
1276
+ export { ADAPTER_COMPONENT_TAG_MAP, UiAffordanceScope as AffordanceScope, type UiAffordanceScopeHandle as AffordanceScopeHandle, type UiAffordanceScopeProps as AffordanceScopeProps, UiAvatar as Avatar, UiAvatarGroup as AvatarGroup, type UiAvatarGroupHandle as AvatarGroupHandle, type UiAvatarGroupProps as AvatarGroupProps, type UiAvatarHandle as AvatarHandle, type UiAvatarProps as AvatarProps, UiBadge as Badge, type UiBadgeHandle as BadgeHandle, type UiBadgeProps as BadgeProps, UiButton as Button, type UiButtonHandle as ButtonHandle, type UiButtonProps as ButtonProps, UiCallout as Callout, type UiCalloutHandle as CalloutHandle, type UiCalloutProps as CalloutProps, UiCheckbox as Checkbox, type UiCheckboxHandle as CheckboxHandle, type UiCheckboxProps as CheckboxProps, UiCluster as Cluster, type UiClusterHandle as ClusterHandle, type UiClusterProps as ClusterProps, UiCombobox as Combobox, type UiComboboxHandle as ComboboxHandle, type UiComboboxProps as ComboboxProps, UiContainer as Container, type UiContainerHandle as ContainerHandle, type UiContainerProps as ContainerProps, UiContextMenu as ContextMenu, type UiContextMenuHandle as ContextMenuHandle, type UiContextMenuProps as ContextMenuProps, UiDialog as Dialog, type UiDialogHandle as DialogHandle, type UiDialogProps as DialogProps, UiDisclosure as Disclosure, type UiDisclosureHandle as DisclosureHandle, type UiDisclosureProps as DisclosureProps, UiEditable as Editable, type UiEditableHandle as EditableHandle, type UiEditableProps as EditableProps, UiEditorInsertTableGrid as EditorInsertTableGrid, type UiEditorInsertTableGridHandle as EditorInsertTableGridHandle, type UiEditorInsertTableGridProps as EditorInsertTableGridProps, UiEditorMentionMenu as EditorMentionMenu, type UiEditorMentionMenuHandle as EditorMentionMenuHandle, type UiEditorMentionMenuProps as EditorMentionMenuProps, UiEditorSlashMenu as EditorSlashMenu, type UiEditorSlashMenuHandle as EditorSlashMenuHandle, type UiEditorSlashMenuProps as EditorSlashMenuProps, UiEditorTableContextMenu as EditorTableContextMenu, type UiEditorTableContextMenuHandle as EditorTableContextMenuHandle, type UiEditorTableContextMenuProps as EditorTableContextMenuProps, UiEditorTableOverlay as EditorTableOverlay, type UiEditorTableOverlayHandle as EditorTableOverlayHandle, type UiEditorTableOverlayProps as EditorTableOverlayProps, UiEditorTableToolbar as EditorTableToolbar, type UiEditorTableToolbarHandle as EditorTableToolbarHandle, type UiEditorTableToolbarProps as EditorTableToolbarProps, UiEditorToolbar as EditorToolbar, type UiEditorToolbarHandle as EditorToolbarHandle, type UiEditorToolbarProps as EditorToolbarProps, UiFormField as FormField, type UiFormFieldHandle as FormFieldHandle, type UiFormFieldProps as FormFieldProps, UiGrid as Grid, type UiGridHandle as GridHandle, type UiGridProps as GridProps, UiIconButton as IconButton, type UiIconButtonHandle as IconButtonHandle, type UiIconButtonProps as IconButtonProps, UiInput as Input, type UiInputHandle as InputHandle, type UiInputProps as InputProps, UiMenu as Menu, type UiMenuHandle as MenuHandle, UiMenuItem as MenuItem, type UiMenuItemHandle as MenuItemHandle, type UiMenuItemProps as MenuItemProps, type UiMenuProps as MenuProps, UiPopover as Popover, type UiPopoverHandle as PopoverHandle, type UiPopoverProps as PopoverProps, REACT_ADAPTER_NOTE, UiRadio as Radio, UiRadioGroup as RadioGroup, type UiRadioGroupHandle as RadioGroupHandle, type UiRadioGroupProps as RadioGroupProps, type UiRadioHandle as RadioHandle, type UiRadioProps as RadioProps, UiReel as Reel, type UiReelHandle as ReelHandle, type UiReelProps as ReelProps, UiSearchResultRow as SearchResultRow, type UiSearchResultRowHandle as SearchResultRowHandle, type UiSearchResultRowProps as SearchResultRowProps, UiSearchShell as SearchShell, type UiSearchShellHandle as SearchShellHandle, type UiSearchShellProps as SearchShellProps, UiSelect as Select, type UiSelectHandle as SelectHandle, type UiSelectProps as SelectProps, UiSeparator as Separator, type UiSeparatorHandle as SeparatorHandle, type UiSeparatorProps as SeparatorProps, UiSidebar as Sidebar, type UiSidebarHandle as SidebarHandle, type UiSidebarProps as SidebarProps, UiStack as Stack, type UiStackHandle as StackHandle, type UiStackProps as StackProps, UiSwitch as Switch, type UiSwitchHandle as SwitchHandle, type UiSwitchProps as SwitchProps, UiSwitcher as Switcher, type UiSwitcherHandle as SwitcherHandle, type UiSwitcherProps as SwitcherProps, UiTabs as Tabs, type UiTabsHandle as TabsHandle, type UiTabsProps as TabsProps, UiTextarea as Textarea, type UiTextareaHandle as TextareaHandle, type UiTextareaProps as TextareaProps, UiToastRegion as ToastRegion, type UiToastRegionHandle as ToastRegionHandle, type UiToastRegionProps as ToastRegionProps, UiTooltip as Tooltip, type UiTooltipHandle as TooltipHandle, type UiTooltipProps as TooltipProps, UiTopBar as TopBar, type UiTopBarHandle as TopBarHandle, type UiTopBarProps as TopBarProps, UiTree as Tree, type UiTreeHandle as TreeHandle, UiTreeItem as TreeItem, type UiTreeItemHandle as TreeItemHandle, type UiTreeItemProps as TreeItemProps, type UiTreeProps as TreeProps };