@sanity/ui 4.0.0-next.4 → 4.0.0-next.6

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 (97) hide show
  1. package/README.md +4 -0
  2. package/dist/_system-CTe2lb5l.d.ts +40 -0
  3. package/dist/_system-CTe2lb5l.d.ts.map +1 -0
  4. package/dist/arrow-BaxgKzOL.js +161 -0
  5. package/dist/arrow-BaxgKzOL.js.map +1 -0
  6. package/dist/autocomplete.d.ts +140 -0
  7. package/dist/autocomplete.d.ts.map +1 -0
  8. package/dist/autocomplete.js +475 -0
  9. package/dist/autocomplete.js.map +1 -0
  10. package/dist/breadcrumbs.d.ts +18 -0
  11. package/dist/breadcrumbs.d.ts.map +1 -0
  12. package/dist/breadcrumbs.js +116 -0
  13. package/dist/breadcrumbs.js.map +1 -0
  14. package/dist/button-BDLRd1Rr.js +174 -0
  15. package/dist/button-BDLRd1Rr.js.map +1 -0
  16. package/dist/button-dnqMFkWg.d.ts +76 -0
  17. package/dist/button-dnqMFkWg.d.ts.map +1 -0
  18. package/dist/card-C0a0wQTc.d.ts +7 -0
  19. package/dist/card-C0a0wQTc.d.ts.map +1 -0
  20. package/dist/code.d.ts +20 -0
  21. package/dist/code.d.ts.map +1 -0
  22. package/dist/code.js +85 -0
  23. package/dist/code.js.map +1 -0
  24. package/dist/codeFontStyle-DYUujk7K.js +11 -0
  25. package/dist/codeFontStyle-DYUujk7K.js.map +1 -0
  26. package/dist/component-DVlwaWB-.d.ts +25 -0
  27. package/dist/component-DVlwaWB-.d.ts.map +1 -0
  28. package/dist/element-BYgCE_iK.js +51 -0
  29. package/dist/element-BYgCE_iK.js.map +1 -0
  30. package/dist/{getScopedTheme-CqaSCfTH.js → factory-CvRcEQ36.js} +6 -753
  31. package/dist/factory-CvRcEQ36.js.map +1 -0
  32. package/dist/flex-BYRpBTOc.js +69 -0
  33. package/dist/flex-BYRpBTOc.js.map +1 -0
  34. package/dist/font-EtfxKPUz.d.ts +49 -0
  35. package/dist/font-EtfxKPUz.d.ts.map +1 -0
  36. package/dist/getElementRef-5HZQ-Owu.js +91 -0
  37. package/dist/getElementRef-5HZQ-Owu.js.map +1 -0
  38. package/dist/getScopedTheme-C-sZsyAz.js +267 -0
  39. package/dist/getScopedTheme-C-sZsyAz.js.map +1 -0
  40. package/dist/getTheme_v2-y09KqtEb.js +487 -0
  41. package/dist/getTheme_v2-y09KqtEb.js.map +1 -0
  42. package/dist/grid-D88j-N7f.js +108 -0
  43. package/dist/grid-D88j-N7f.js.map +1 -0
  44. package/dist/helpers-bwfx1e-Y.js +67 -0
  45. package/dist/helpers-bwfx1e-Y.js.map +1 -0
  46. package/dist/hotkeys-aHdaZFAl.js +151 -0
  47. package/dist/hotkeys-aHdaZFAl.js.map +1 -0
  48. package/dist/index.d.ts +138 -922
  49. package/dist/index.d.ts.map +1 -1
  50. package/dist/index.js +201 -4418
  51. package/dist/index.js.map +1 -1
  52. package/dist/layer-ChlP9Ik6.d.ts +242 -0
  53. package/dist/layer-ChlP9Ik6.d.ts.map +1 -0
  54. package/dist/layer-DeCVQfUb.js +61 -0
  55. package/dist/layer-DeCVQfUb.js.map +1 -0
  56. package/dist/menu.d.ts +146 -0
  57. package/dist/menu.d.ts.map +1 -0
  58. package/dist/menu.js +614 -0
  59. package/dist/menu.js.map +1 -0
  60. package/dist/popover-CMlQeKn0.d.ts +96 -0
  61. package/dist/popover-CMlQeKn0.d.ts.map +1 -0
  62. package/dist/popover-DfXz9lUl.js +417 -0
  63. package/dist/popover-DfXz9lUl.js.map +1 -0
  64. package/dist/popover.d.ts +2 -0
  65. package/dist/popover.js +3 -0
  66. package/dist/responsiveFont-hN1mZFjm.js +55 -0
  67. package/dist/responsiveFont-hN1mZFjm.js.map +1 -0
  68. package/dist/{rgba-LmTDhX0u.d.ts → rgba-BSYaEUW6.d.ts} +4 -87
  69. package/dist/rgba-BSYaEUW6.d.ts.map +1 -0
  70. package/dist/selectable-B0GUIL74.d.ts +7 -0
  71. package/dist/selectable-B0GUIL74.d.ts.map +1 -0
  72. package/dist/stack-C5WV-BRh.js +98 -0
  73. package/dist/stack-C5WV-BRh.js.map +1 -0
  74. package/dist/styles.css +28 -0
  75. package/dist/textInput-DhCo-b3N.js +321 -0
  76. package/dist/textInput-DhCo-b3N.js.map +1 -0
  77. package/dist/theme.d.ts +3 -1
  78. package/dist/theme.d.ts.map +1 -1
  79. package/dist/theme.js +3 -1
  80. package/dist/theme.js.map +1 -1
  81. package/dist/toast.d.ts +73 -0
  82. package/dist/toast.d.ts.map +1 -0
  83. package/dist/toast.js +297 -0
  84. package/dist/toast.js.map +1 -0
  85. package/dist/tooltip.d.ts +88 -0
  86. package/dist/tooltip.d.ts.map +1 -0
  87. package/dist/tooltip.js +446 -0
  88. package/dist/tooltip.js.map +1 -0
  89. package/dist/useClickOutsideEvent-lEVhDFCQ.js +36 -0
  90. package/dist/useClickOutsideEvent-lEVhDFCQ.js.map +1 -0
  91. package/dist/useElementSize-BJvbGHq8.js +51 -0
  92. package/dist/useElementSize-BJvbGHq8.js.map +1 -0
  93. package/dist/useLayer-9Pz-GG0r.js +704 -0
  94. package/dist/useLayer-9Pz-GG0r.js.map +1 -0
  95. package/package.json +15 -3
  96. package/dist/getScopedTheme-CqaSCfTH.js.map +0 -1
  97. package/dist/rgba-LmTDhX0u.d.ts.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,5 +1,12 @@
1
- import { A as ThemeColorMutedTone, At as ThemeColorSchemeKey$1, B as ThemeColorBase, C as ThemeColorSpotKey, Ct as ThemeColorSyntax$1, D as ThemeColorSelectableState, Dt as ThemeColorCardToneKey, E as ThemeColorSelectable, Et as ThemeColorButtonModeKey$1, F as ThemeColorCardState, H as ThemeColorToneKey, Ht as HSL$1, I as ThemeColorButton, L as ThemeColorButtonState, M as ThemeColorInputState, Mt as ThemeColorStateToneKey, N as ThemeColorInputStates, O as ThemeColorSelectableStates, P as ThemeColorCard, R as ThemeColorButtonStates, S as ThemeColorSpot, St as ThemeFonts$1, T as ThemeColorSolidTone, U as ThemeColorGenericState, Ut as RGB$1, V as ThemeColorName, W as ThemeAvatar, _ as Theme_v2, _t as ThemeFont$1, a as rgbToHex$1, b as ThemeColorScheme, bt as ThemeFontWeight$1, c as screen$1, d as ThemeColorBuilderOpts, f as createColorTheme$1, ft as ThemeStyles, g as Theme$1, gt as ThemeLayer$1, ht as ThemeShadow$1, i as hslToRgb$1, j as ThemeColorInput, k as ThemeColorMuted, l as multiply$1, m as RootTheme$1, mt as ThemeBoxShadow, n as parseColor$1, o as rgbToHsl$1, p as BaseTheme$1, pt as CSSObject, r as hexToRgb$1, t as rgba$1, u as PartialThemeColorBuilderOpts, v as ThemeInput, vt as ThemeFontKey$1, w as ThemeColorSolid, wt as ThemeColorAvatarColorKey, x as ThemeColorSchemes, xt as ThemeFontWeightKey$1, y as ThemeColor, yt as ThemeFontSize$1, z as ThemeColorButtonTones } from "./rgba-LmTDhX0u.js";
2
- import { Component, ElementType as ElementType$1, HTMLProps, PropsWithChildren, ReactNode, Ref } from "react";
1
+ import { a as Props, i as EmptyProps, n as ComponentType, o as TagType, r as ElementType, t as Assign } from "./component-DVlwaWB-.js";
2
+ import { A as FlexWrap, C as GridAutoCols, D as FlexDirection, E as FlexAlign, M as BoxHeight, N as BoxOverflow, O as FlexJustify, P as BoxSizing, S as GridItemRowStart, T as GridAutoRows, _ as GridItemColumn, a as ResponsiveBorderProps, b as GridItemRow, c as ResponsiveFlexProps, d as ResponsiveMarginProps, f as ResponsivePaddingProps, g as Radius, h as ResponsiveWidthProps, i as Delay, j as BoxDisplay, k as FlexValue, l as ResponsiveGridItemProps, m as ResponsiveShadowProps, n as LayerProps, o as ResponsiveBoxProps, p as ResponsiveRadiusProps, r as Placement, s as ResponsiveFlexItemProps, t as Layer, u as ResponsiveGridProps, v as GridItemColumnEnd, w as GridAutoFlow, x as GridItemRowEnd, y as GridItemColumnStart } from "./layer-ChlP9Ik6.js";
3
+ import { a as ButtonTextAlign, c as Box, i as ButtonMode, l as BoxOwnProps, n as ButtonOwnProps, o as ButtonTone, r as ButtonProps, s as ButtonWidth, t as Button, u as BoxProps } from "./button-dnqMFkWg.js";
4
+ import { i as ThemeColorCardToneKey, l as ThemeColorStateToneKey, r as ThemeColorButtonModeKey$1, s as ThemeColorSchemeKey$1, t as ThemeColorAvatarColorKey } from "./_system-CTe2lb5l.js";
5
+ import { t as CardTone } from "./card-C0a0wQTc.js";
6
+ import { a as ThemeFontWeightKey$1, i as ThemeFontWeight$1, n as ThemeFontKey$1, o as ThemeFonts$1, r as ThemeFontSize$1, t as ThemeFont$1 } from "./font-EtfxKPUz.js";
7
+ import { A as ThemeColorMutedTone, B as ThemeColorBase, C as ThemeColorSpotKey, D as ThemeColorSelectableState, E as ThemeColorSelectable, F as ThemeColorCardState, H as ThemeColorToneKey, I as ThemeColorButton, L as ThemeColorButtonState, M as ThemeColorInputState, N as ThemeColorInputStates, O as ThemeColorSelectableStates, P as ThemeColorCard, R as ThemeColorButtonStates, S as ThemeColorSpot, T as ThemeColorSolidTone, U as ThemeColorGenericState, V as ThemeColorName, W as ThemeAvatar, _ as Theme_v2, _t as ThemeColorSyntax$1, a as rgbToHex$1, b as ThemeColorScheme, c as screen$1, d as ThemeColorBuilderOpts, f as createColorTheme$1, ft as ThemeStyles, g as Theme$1, gt as ThemeLayer$1, ht as ThemeShadow$1, i as hslToRgb$1, j as ThemeColorInput, k as ThemeColorMuted, l as multiply$1, m as RootTheme$1, mt as ThemeBoxShadow, n as parseColor$1, o as rgbToHsl$1, p as BaseTheme$1, pt as CSSObject, r as hexToRgb$1, t as rgba$1, u as PartialThemeColorBuilderOpts, v as ThemeInput, vt as HSL$1, w as ThemeColorSolid, x as ThemeColorSchemes, y as ThemeColor, yt as RGB$1, z as ThemeColorButtonTones } from "./rgba-BSYaEUW6.js";
8
+ import { t as SelectableTone } from "./selectable-B0GUIL74.js";
9
+ import { Component, HTMLProps, PropsWithChildren } from "react";
3
10
  /**
4
11
  * @public
5
12
  * @deprecated Use `BaseTheme` from `@sanity/ui/theme` instead.
@@ -140,583 +147,6 @@ declare const screen: typeof screen$1;
140
147
  * @deprecated Use `buildTheme` from `@sanity/ui/theme` instead.
141
148
  */
142
149
  declare const studioTheme: BaseTheme$1;
143
- /**
144
- * Assign properties from `U` to `T`, excluding properties that already exist in `T`.
145
- *
146
- * @public
147
- */
148
- type Assign<T extends object, U extends object> = Omit<T, keyof U> & U;
149
- /** @public */
150
- type EmptyProps = object;
151
- /** @public */
152
- type TagType = keyof React.JSX.IntrinsicElements;
153
- /** @public */
154
- type ComponentType<P = any> = React.FunctionComponent<P> | React.ComponentClass<P> | React.ExoticComponent<P>;
155
- /** @public */
156
- type ElementType<P = any> = TagType | ComponentType<P>;
157
- /**
158
- * Resolves the props of a polymorphic component: the props of the element/component passed to `as`
159
- * (defaulting to the component's own element), with the component's own props assigned on top.
160
- *
161
- * @public
162
- */
163
- type Props<P extends EmptyProps, E extends ElementType<P>> = Assign<E extends TagType ? React.JSX.IntrinsicElements[E] : React.ComponentProps<E>, P & {
164
- as?: E;
165
- }>;
166
- /**
167
- * @public
168
- */
169
- type BoxSizing = 'content' | 'border';
170
- /**
171
- * @public
172
- */
173
- type BoxDisplay = 'none' | 'block' | 'grid' | 'flex' | 'inline-block';
174
- /**
175
- * @public
176
- */
177
- type BoxHeight = 'stretch' | 'fill';
178
- /**
179
- * @public
180
- */
181
- type BoxOverflow = 'visible' | 'hidden' | 'auto';
182
- /**
183
- * @public
184
- */
185
- type FlexAlign = 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch';
186
- /**
187
- * @public
188
- */
189
- type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
190
- /**
191
- * @public
192
- */
193
- type FlexJustify = 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
194
- /**
195
- * @public
196
- */
197
- type FlexValue = number | 'none' | 'auto' | 'initial';
198
- /**
199
- * @public
200
- */
201
- type FlexWrap = 'wrap' | 'wrap-reverse' | 'nowrap';
202
- /**
203
- * @public
204
- */
205
- type GridAutoRows = 'auto' | 'min' | 'max' | 'fr';
206
- /**
207
- * @public
208
- */
209
- type GridAutoCols = 'auto' | 'min' | 'max' | 'fr';
210
- /**
211
- * @public
212
- */
213
- type GridAutoFlow = 'row' | 'column' | 'row dense' | 'column dense';
214
- /**
215
- * @public
216
- */
217
- type GridItemColumn = 'auto' | 'full' | number;
218
- /**
219
- * @public
220
- */
221
- type GridItemColumnStart = 'auto' | number;
222
- /**
223
- * @public
224
- */
225
- type GridItemColumnEnd = 'auto' | number;
226
- /**
227
- * @public
228
- */
229
- type GridItemRow = 'auto' | 'full' | number;
230
- /**
231
- * @public
232
- */
233
- type GridItemRowStart = 'auto' | number;
234
- /**
235
- * @public
236
- */
237
- type GridItemRowEnd = 'auto' | number;
238
- /**
239
- * @public
240
- */
241
- type Radius = number | 'full';
242
- /**
243
- * @public
244
- */
245
- interface ResponsiveBorderProps {
246
- border?: boolean | boolean[];
247
- borderTop?: boolean | boolean[];
248
- borderRight?: boolean | boolean[];
249
- borderBottom?: boolean | boolean[];
250
- borderLeft?: boolean | boolean[];
251
- }
252
- /**
253
- * @public
254
- */
255
- interface ResponsiveBoxProps {
256
- display?: BoxDisplay | BoxDisplay[];
257
- height?: BoxHeight | BoxHeight[];
258
- overflow?: BoxOverflow | BoxOverflow[];
259
- sizing?: BoxSizing | BoxSizing[];
260
- }
261
- /**
262
- * @public
263
- */
264
- interface ResponsiveFlexProps {
265
- align?: FlexAlign | FlexAlign[];
266
- direction?: FlexDirection | FlexDirection[];
267
- justify?: FlexJustify | FlexJustify[];
268
- wrap?: FlexWrap | FlexWrap[];
269
- }
270
- /**
271
- * @public
272
- */
273
- interface ResponsiveFlexItemProps {
274
- /** Sets the flex CSS attribute. The property is responsive. */
275
- flex?: FlexValue | FlexValue[];
276
- }
277
- /**
278
- * @public
279
- */
280
- interface ResponsiveGridProps {
281
- autoRows?: GridAutoRows | GridAutoRows[];
282
- autoCols?: GridAutoCols | GridAutoCols[];
283
- autoFlow?: GridAutoFlow | GridAutoFlow[];
284
- /**
285
- * @deprecated Use `gridTemplateColumns` instead.
286
- */
287
- columns?: never;
288
- gridTemplateColumns?: number | number[];
289
- gap?: number | number[];
290
- gapX?: number | number[];
291
- gapY?: number | number[];
292
- /**
293
- * @deprecated Use `gridTemplateRows` instead.
294
- */
295
- rows?: never;
296
- gridTemplateRows?: number | number[];
297
- }
298
- /**
299
- * @public
300
- */
301
- interface ResponsiveGridItemProps {
302
- gridColumn?: GridItemColumn | GridItemColumn[];
303
- /**
304
- * @deprecated Use `gridColumn` instead.
305
- */
306
- column?: never;
307
- gridColumnStart?: GridItemColumnStart | GridItemColumnStart[];
308
- /**
309
- * @deprecated Use `gridColumnStart` instead.
310
- */
311
- columnStart?: never;
312
- gridColumnEnd?: GridItemColumnEnd | GridItemColumnEnd[];
313
- /**
314
- * @deprecated Use `gridColumnEnd` instead.
315
- */
316
- columnEnd?: never;
317
- gridRow?: GridItemRow | GridItemRow[];
318
- /**
319
- * @deprecated Use `gridRow` instead.
320
- */
321
- row?: never;
322
- gridRowStart?: GridItemRowStart | GridItemRowStart[];
323
- /**
324
- * @deprecated Use `gridRowStart` instead.
325
- */
326
- rowStart?: never;
327
- gridRowEnd?: GridItemRowEnd | GridItemRowEnd[];
328
- /**
329
- * @deprecated Use `gridRowEnd` instead.
330
- */
331
- rowEnd?: never;
332
- }
333
- /**
334
- * @public
335
- */
336
- interface ResponsiveMarginProps {
337
- /** Applies margins to all sides. The property is responsive. */
338
- margin?: number | number[];
339
- /** Applies margins to the left and right sides. The property is responsive. */
340
- marginX?: number | number[];
341
- /** Applies margins to the top and bottom sides. The property is responsive. */
342
- marginY?: number | number[];
343
- marginTop?: number | number[];
344
- marginRight?: number | number[];
345
- marginBottom?: number | number[];
346
- marginLeft?: number | number[];
347
- }
348
- /**
349
- * @public
350
- */
351
- interface ResponsivePaddingProps {
352
- padding?: number | number[];
353
- paddingX?: number | number[];
354
- paddingY?: number | number[];
355
- paddingTop?: number | number[];
356
- paddingRight?: number | number[];
357
- paddingBottom?: number | number[];
358
- paddingLeft?: number | number[];
359
- }
360
- /**
361
- * @public
362
- */
363
- interface ResponsiveRadiusProps {
364
- radius?: Radius | Radius[];
365
- }
366
- /**
367
- * @public
368
- */
369
- interface ResponsiveShadowProps {
370
- shadow?: number | number[];
371
- }
372
- /**
373
- * @public
374
- */
375
- interface ResponsiveWidthProps {
376
- width?: number | 'auto' | (number | 'auto')[];
377
- }
378
- /**
379
- * @public
380
- */
381
- type Delay = number | Partial<{
382
- open: number;
383
- close: number;
384
- }>;
385
- /**
386
- * The props that `Box` adds on top of the element it renders as.
387
- *
388
- * @public
389
- */
390
- interface BoxOwnProps extends ResponsiveFlexItemProps, ResponsiveBoxProps, ResponsiveGridItemProps, ResponsiveMarginProps, ResponsivePaddingProps {
391
- forwardedAs?: ElementType;
392
- }
393
- /**
394
- * @public
395
- */
396
- type BoxProps<E extends ElementType = 'div'> = Props<BoxOwnProps, E>;
397
- /**
398
- * The `Box` component is a basic layout wrapper component which provides utility properties
399
- * for flex, margins and padding.
400
- *
401
- * @public
402
- */
403
- declare const Box: <E extends ElementType = 'div'>(props: BoxProps<E>) => React.JSX.Element;
404
- /**
405
- * @public
406
- */
407
- type CardTone = ThemeColorCardToneKey | 'inherit';
408
- /**
409
- * Placement of floating UI elements.
410
- *
411
- * @public
412
- */
413
- type Placement = 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end';
414
- /**
415
- * @beta
416
- */
417
- type PopoverMargins = [number, number, number, number];
418
- /**
419
- * @public
420
- */
421
- interface LayerProps {
422
- as?: React.ElementType | keyof React.JSX.IntrinsicElements;
423
- /** A callback that fires when the layer becomes the top layer when it was not the top layer before. */
424
- onActivate?: (props: {
425
- activeElement: HTMLElement | null;
426
- }) => void;
427
- zOffset?: number | number[];
428
- }
429
- /**
430
- * @public
431
- */
432
- declare const Layer: (props: LayerProps & Omit<React.HTMLProps<HTMLDivElement>, 'as'>) => import("react").JSX.Element;
433
- /** @beta */
434
- type PopoverUpdateCallback = () => void;
435
- /** @public */
436
- type PopoverWidth = number | 'auto';
437
- /** @public */
438
- interface PopoverProps extends Omit<LayerProps, 'as'>, ResponsiveRadiusProps, ResponsiveShadowProps {
439
- /** @beta */
440
- __unstable_margins?: PopoverMargins;
441
- /**
442
- * Whether the popover should animate in and out.
443
- *
444
- * @beta
445
- * @defaultValue false
446
- */
447
- animate?: boolean;
448
- arrow?: boolean;
449
- /** @deprecated Use `floatingBoundary` and/or `referenceBoundary` instead */
450
- boundaryElement?: never;
451
- children?: React.JSX.Element;
452
- /**
453
- * When `true`, prevent overflow within the current boundary:
454
- * - by flipping on its side axis
455
- * - by resizing
456
- /*
457
- * Note that:
458
- * - setting `preventOverflow` to `true` also prevents overflow on its side axis
459
- * - setting `matchReferenceWidth` to `true` also causes the popover to resize
460
- *
461
- * @defaultValue false
462
- */
463
- constrainSize?: boolean;
464
- content?: React.ReactNode;
465
- disabled?: boolean;
466
- fallbackPlacements?: Placement[];
467
- floatingBoundary?: HTMLElement | null;
468
- /**
469
- * When `true`, set the maximum width to match the reference element, and also prevent overflow within
470
- * the current boundary by resizing.
471
- *
472
- * Note that setting `constrainSize` to `true` also causes the popover to resize
473
- *
474
- * @defaultValue false
475
- */
476
- matchReferenceWidth?: boolean;
477
- /**
478
- * When true, blocks all pointer interaction with elements beneath the popover until closed.
479
- *
480
- * @beta
481
- * @defaultValue false
482
- */
483
- modal?: boolean;
484
- open?: boolean;
485
- overflow?: BoxOverflow;
486
- padding?: number | number[];
487
- placement?: Placement;
488
- /**
489
- * When 'flip' (default), the placement is determined from the initial placement and the
490
- * fallback placements in order. Whichever fits in the viewport first.
491
- *
492
- * When 'autoPlacement', the initial placement and all fallback placements are evaluated
493
- * and the placement with the most viewport space available.
494
- *
495
- * Option is only relevant if either `constrainSize` or `preventOverflow` is `true`
496
- */
497
- placementStrategy?: 'flip' | 'autoPlacement';
498
- /** Whether or not to render the popover in a portal element. */
499
- portal?: boolean | string;
500
- preventOverflow?: boolean;
501
- referenceBoundary?: HTMLElement | null;
502
- /**
503
- * When defined, the popover will be positioned relative to this element.
504
- * The children of the popover won't be rendered.
505
- */
506
- referenceElement?: HTMLElement | null;
507
- scheme?: ThemeColorSchemeKey$1;
508
- tone?: CardTone;
509
- /** @beta */
510
- updateRef?: Ref<PopoverUpdateCallback | undefined>;
511
- width?: PopoverWidth | PopoverWidth[];
512
- }
513
- /**
514
- * The `Popover` component is used to display some content on top of another.
515
- *
516
- * @public
517
- */
518
- declare const Popover: (props: PopoverProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'children' | 'content' | 'width'>) => React.JSX.Element;
519
- /**
520
- * @public
521
- */
522
- type ButtonMode = ThemeColorButtonModeKey$1;
523
- /**
524
- * @public
525
- */
526
- type ButtonTextAlign = 'left' | 'right' | 'center';
527
- /**
528
- * @public
529
- */
530
- type ButtonTone = ThemeColorStateToneKey;
531
- /**
532
- * @public
533
- */
534
- type ButtonWidth = 'fill';
535
- /**
536
- * @public
537
- */
538
- interface ButtonOwnProps extends ResponsivePaddingProps, ResponsiveRadiusProps {
539
- fontSize?: number | number[];
540
- mode?: ButtonMode;
541
- icon?: React.ElementType | React.ReactNode;
542
- iconRight?: React.ElementType | React.ReactNode;
543
- justify?: FlexJustify | FlexJustify[];
544
- /**
545
- * @beta Do not use in production, as this might change.
546
- */
547
- loading?: boolean;
548
- selected?: boolean;
549
- /**
550
- * @deprecated Use `gap` instead.
551
- */
552
- space?: never;
553
- gap?: number | number[];
554
- muted?: boolean;
555
- text?: React.ReactNode;
556
- textAlign?: ButtonTextAlign;
557
- textWeight?: ThemeFontWeightKey$1;
558
- tone?: ButtonTone;
559
- type?: 'button' | 'reset' | 'submit';
560
- width?: ButtonWidth;
561
- }
562
- /**
563
- * @public
564
- */
565
- type ButtonProps<E extends ElementType = 'button'> = Props<ButtonOwnProps, E>;
566
- /**
567
- * @public
568
- */
569
- declare const Button: <E extends ElementType = 'button'>(props: ButtonProps<E>) => React.JSX.Element;
570
- /**
571
- * @public
572
- */
573
- type AutocompleteOpenButtonProps = ButtonOwnProps & Omit<React.HTMLProps<HTMLButtonElement>, 'as' | 'ref'>;
574
- /**
575
- * @public
576
- */
577
- interface BaseAutocompleteOption {
578
- value: string;
579
- }
580
- /**
581
- * @internal
582
- */
583
- interface AutocompleteState {
584
- activeValue: string | null;
585
- focused: boolean;
586
- listFocused: boolean;
587
- query: string | null;
588
- value: string | null;
589
- }
590
- /**
591
- * @internal
592
- */
593
- interface AutocompleteRootBlurMsg {
594
- type: 'root/blur';
595
- }
596
- /**
597
- * @internal
598
- */
599
- interface AutocompleteRootClearMsg {
600
- type: 'root/clear';
601
- }
602
- /**
603
- * @internal
604
- */
605
- interface AutocompleteRootEscapeMsg {
606
- type: 'root/escape';
607
- }
608
- /**
609
- * @internal
610
- */
611
- interface AutocompleteRootOpenMsg {
612
- type: 'root/open';
613
- query: string | null;
614
- }
615
- /**
616
- * @internal
617
- */
618
- interface AutocompleteRootSetActiveValueMsg {
619
- type: 'root/setActiveValue';
620
- value: string;
621
- listFocused?: boolean;
622
- }
623
- /**
624
- * @internal
625
- */
626
- interface AutocompleteRootSetListFocusedMsg {
627
- type: 'root/setListFocused';
628
- listFocused: boolean;
629
- }
630
- /**
631
- * @internal
632
- */
633
- interface AutocompleteInputChangeMsg {
634
- type: 'input/change';
635
- query: string | null;
636
- }
637
- /**
638
- * @internal
639
- */
640
- interface AutocompleteInputFoocusMsg {
641
- type: 'input/focus';
642
- }
643
- /**
644
- * @internal
645
- */
646
- interface AutocompleteValueChangeMsg {
647
- type: 'value/change';
648
- value: string | null;
649
- }
650
- /**
651
- * @internal
652
- */
653
- type AutocompleteMsg = AutocompleteRootBlurMsg | AutocompleteRootClearMsg | AutocompleteRootEscapeMsg | AutocompleteRootOpenMsg | AutocompleteRootSetActiveValueMsg | AutocompleteRootSetListFocusedMsg | AutocompleteInputChangeMsg | AutocompleteInputFoocusMsg | AutocompleteValueChangeMsg;
654
- /**
655
- * @public
656
- */
657
- interface AutocompleteProps<Option extends BaseAutocompleteOption = BaseAutocompleteOption> {
658
- border?: boolean;
659
- customValidity?: string;
660
- filterOption?: (query: string, option: Option) => boolean;
661
- fontSize?: number | number[];
662
- icon?: ElementType$1 | ReactNode;
663
- id: string;
664
- /** @beta */
665
- listBox?: BoxProps;
666
- loading?: boolean;
667
- onChange?: (value: string) => void;
668
- onQueryChange?: (query: string | null) => void;
669
- onSelect?: (value: string) => void;
670
- /** @beta */
671
- openButton?: boolean | AutocompleteOpenButtonProps;
672
- /** @beta */
673
- openOnFocus?: boolean;
674
- /** The options to render. */
675
- options?: Option[];
676
- padding?: number | number[];
677
- popover?: Omit<PopoverProps, 'content' | 'onMouseEnter' | 'onMouseLeave' | 'open'> & Omit<HTMLProps<HTMLDivElement>, 'as' | 'children' | 'content' | 'ref' | 'width'>;
678
- prefix?: ReactNode;
679
- radius?: Radius | Radius[];
680
- /** @beta */
681
- relatedElements?: HTMLElement[];
682
- /** The callback function for rendering each option. */
683
- renderOption?: (option: Option) => React.JSX.Element;
684
- /** @beta */
685
- renderPopover?: (props: {
686
- content: React.JSX.Element | null;
687
- hidden: boolean;
688
- inputElement: HTMLInputElement | null;
689
- onMouseEnter: () => void;
690
- onMouseLeave: () => void;
691
- }, ref: Ref<HTMLDivElement>) => ReactNode;
692
- renderValue?: (value: string, option?: Option) => string;
693
- suffix?: ReactNode;
694
- /** The current value. */
695
- value?: string;
696
- }
697
- /**
698
- * The Autocomplete component is typically used for search components.
699
- * It consists of a text input for writing a query, and properties for rendering suggestions.
700
- *
701
- * @public
702
- */
703
- declare const Autocomplete: <Option extends BaseAutocompleteOption>(props: AutocompleteProps<Option> & Omit<HTMLProps<HTMLInputElement>, 'aria-activedescendant' | 'aria-autocomplete' | 'aria-expanded' | 'aria-owns' | 'as' | 'autoCapitalize' | 'autoComplete' | 'autoCorrect' | 'id' | 'inputMode' | 'onChange' | 'onSelect' | 'popover' | 'prefix' | 'role' | 'spellCheck' | 'type' | 'value'>) => import("react").JSX.Element;
704
- /**
705
- * @beta
706
- */
707
- interface BreadcrumbsProps {
708
- maxLength?: number;
709
- separator?: React.ReactNode;
710
- gap?: number | number[];
711
- /**
712
- * @deprecated Use `gap` instead.
713
- */
714
- space?: never;
715
- }
716
- /**
717
- * @beta
718
- */
719
- declare const Breadcrumbs: (props: BreadcrumbsProps & Omit<React.HTMLProps<HTMLOListElement>, 'as' | 'type'>) => import("react").JSX.Element;
720
150
  /**
721
151
  * @public
722
152
  */
@@ -760,7 +190,7 @@ interface DialogProps extends ResponsivePaddingProps, ResponsiveWidthProps {
760
190
  *
761
191
  * @public
762
192
  */
763
- declare const Dialog: (props: DialogProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'id' | 'width'>) => import("react").JSX.Element;
193
+ declare function Dialog(props: DialogProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'id' | 'width'>): import("react").JSX.Element;
764
194
  /**
765
195
  * This API might change. DO NOT USE IN PRODUCTION.
766
196
  * @beta
@@ -812,151 +242,7 @@ interface HotkeysProps {
812
242
  *
813
243
  * @public
814
244
  */
815
- declare const Hotkeys: (props: HotkeysProps & Omit<React.HTMLProps<HTMLElement>, 'as' | 'size'>) => import("react").JSX.Element;
816
- /**
817
- * @public
818
- */
819
- interface MenuProps extends ResponsivePaddingProps {
820
- /**
821
- * @deprecated Use `shouldFocus="first"` instead.
822
- */
823
- 'focusFirst'?: never;
824
- /**
825
- * @deprecated Use `shouldFocus="last"` instead.
826
- */
827
- 'focusLast'?: never;
828
- 'onClickOutside'?: (event: MouseEvent) => void;
829
- 'onEscape'?: () => void;
830
- 'onItemClick'?: () => void;
831
- 'onItemSelect'?: (index: number) => void;
832
- 'originElement'?: HTMLElement | null;
833
- 'registerElement'?: (el: HTMLElement) => () => void;
834
- 'shouldFocus'?: 'first' | 'last' | null;
835
- 'gap'?: number | number[];
836
- /**
837
- * @deprecated Use `gap` instead.
838
- */
839
- 'space'?: never;
840
- 'aria-labelledby'?: string;
841
- 'onBlurCapture'?: (event: FocusEvent) => void;
842
- }
843
- /**
844
- * The `Menu` component is a building block for application menus.
845
- *
846
- * @public
847
- */
848
- declare const Menu: (props: MenuProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'height' | 'role' | 'tabIndex'>) => import("react").JSX.Element;
849
- /**
850
- * @public
851
- */
852
- interface MenuButtonProps {
853
- /**
854
- * @beta Do not use in production.
855
- */
856
- __unstable_disableRestoreFocusOnClose?: boolean;
857
- /**
858
- * @deprecated Use `popover={{boundaryElement: element}}` instead.
859
- */
860
- boundaryElement?: never;
861
- button: React.JSX.Element;
862
- id: string;
863
- menu?: React.JSX.Element;
864
- onClose?: () => void;
865
- onOpen?: () => void;
866
- /**
867
- * @deprecated Use `popover={{placement: 'top'}}` instead.
868
- */
869
- placement?: never;
870
- popover?: Omit<PopoverProps, 'content' | 'open'>;
871
- /**
872
- * @deprecated Use `popover={{scheme: 'dark'}}` instead.
873
- */
874
- popoverScheme?: never;
875
- /**
876
- * @deprecated Use `popover={{radius: 2}}` instead.
877
- */
878
- popoverRadius?: never;
879
- /**
880
- * @beta Do not use in production.
881
- * @deprecated Use `popover={{portal: true}}` instead.
882
- */
883
- portal?: never;
884
- /**
885
- * @deprecated Use `popover={{preventOverflow: true}}` instead.
886
- */
887
- preventOverflow?: never;
888
- ref?: React.Ref<HTMLButtonElement | null>;
889
- }
890
- /**
891
- * The `MenuButton` component follows the WAI-ARIA specification for menu buttons.
892
- *
893
- * @public
894
- */
895
- declare const MenuButton: (props: MenuButtonProps) => import("react").JSX.Element;
896
- /**
897
- * @public
898
- */
899
- type MenuDividerProps<E extends ElementType = 'hr'> = Props<EmptyProps, E>;
900
- /**
901
- * @public
902
- */
903
- declare const MenuDivider: <E extends ElementType = 'hr'>(props: MenuDividerProps<E>) => React.JSX.Element;
904
- /**
905
- * @public
906
- */
907
- type SelectableTone = ThemeColorStateToneKey;
908
- /**
909
- * @public
910
- */
911
- interface MenuGroupOwnProps {
912
- fontSize?: number | number[];
913
- icon?: React.ElementType | React.ReactNode;
914
- menu?: Omit<MenuProps, 'onClickOutside' | 'onEscape' | 'onItemClick' | 'onKeyDown' | 'onMouseEnter' | 'registerElement' | 'shouldFocus' | 'onBlurCapture'>;
915
- padding?: number | number[];
916
- popover?: Omit<PopoverProps, 'content' | 'open'>;
917
- radius?: Radius | Radius[];
918
- gap?: number | number[];
919
- /**
920
- * @deprecated Use `gap` instead.
921
- */
922
- space?: never;
923
- text: React.ReactNode;
924
- tone?: SelectableTone;
925
- }
926
- /**
927
- * @public
928
- */
929
- type MenuGroupProps<E extends ElementType = 'button'> = Props<MenuGroupOwnProps, E>;
930
- /**
931
- * @public
932
- */
933
- declare const MenuGroup: <E extends ElementType = 'button'>(props: MenuGroupProps<E>) => React.JSX.Element;
934
- /**
935
- * @public
936
- */
937
- interface MenuItemOwnProps extends ResponsivePaddingProps, ResponsiveRadiusProps {
938
- fontSize?: number | number[];
939
- hotkeys?: string[];
940
- icon?: React.ElementType | React.ReactNode;
941
- iconRight?: React.ElementType | React.ReactNode;
942
- pressed?: boolean;
943
- selected?: boolean;
944
- gap?: number | number[];
945
- /**
946
- * @deprecated Use `gap` instead.
947
- */
948
- space?: never;
949
- text?: React.ReactNode;
950
- tone?: SelectableTone;
951
- }
952
- /**
953
- * @public
954
- */
955
- type MenuItemProps<E extends ElementType = 'button'> = Props<MenuItemOwnProps, E>;
956
- /**
957
- * @public
958
- */
959
- declare const MenuItem: <E extends ElementType = 'button'>(props: MenuItemProps<E>) => React.JSX.Element;
245
+ declare function Hotkeys(props: HotkeysProps & Omit<React.HTMLProps<HTMLElement>, 'as' | 'size'>): import("react").JSX.Element;
960
246
  /**
961
247
  * This API might change. DO NOT USE IN PRODUCTION.
962
248
  * @beta
@@ -969,7 +255,7 @@ interface SkeletonProps extends ResponsiveRadiusProps, Omit<BoxOwnProps, 'childr
969
255
  * This API might change. DO NOT USE IN PRODUCTION.
970
256
  * @beta
971
257
  */
972
- declare const Skeleton: (props: SkeletonProps & Omit<React.HTMLProps<HTMLDivElement>, 'height'>) => import("react").JSX.Element;
258
+ declare function Skeleton(props: SkeletonProps & Omit<React.HTMLProps<HTMLDivElement>, 'height'>): import("react").JSX.Element;
973
259
  /**
974
260
  * This API might change. DO NOT USE IN PRODUCTION.
975
261
  * @beta
@@ -1002,22 +288,22 @@ interface CodeSkeletonProps extends SkeletonProps {
1002
288
  * This API might change. DO NOT USE IN PRODUCTION.
1003
289
  * @beta
1004
290
  */
1005
- declare const TextSkeleton: (props: TextSkeletonProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'children' | 'height' | 'size'>) => import("react").JSX.Element;
291
+ declare function TextSkeleton(props: TextSkeletonProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'children' | 'height' | 'size'>): import("react").JSX.Element;
1006
292
  /**
1007
293
  * This API might change. DO NOT USE IN PRODUCTION.
1008
294
  * @beta
1009
295
  */
1010
- declare const LabelSkeleton: (props: LabelSkeletonProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'children' | 'height' | 'size'>) => import("react").JSX.Element;
296
+ declare function LabelSkeleton(props: LabelSkeletonProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'children' | 'height' | 'size'>): import("react").JSX.Element;
1011
297
  /**
1012
298
  * This API might change. DO NOT USE IN PRODUCTION.
1013
299
  * @beta
1014
300
  */
1015
- declare const HeadingSkeleton: (props: HeadingSkeletonProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'children' | 'height' | 'size'>) => import("react").JSX.Element;
301
+ declare function HeadingSkeleton(props: HeadingSkeletonProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'children' | 'height' | 'size'>): import("react").JSX.Element;
1016
302
  /**
1017
303
  * This API might change. DO NOT USE IN PRODUCTION.
1018
304
  * @beta
1019
305
  */
1020
- declare const CodeSkeleton: (props: CodeSkeletonProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'children' | 'height' | 'size'>) => import("react").JSX.Element;
306
+ declare function CodeSkeleton(props: CodeSkeletonProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'children' | 'height' | 'size'>): import("react").JSX.Element;
1021
307
  /**
1022
308
  * @public
1023
309
  */
@@ -1038,7 +324,7 @@ interface TabProps {
1038
324
  /**
1039
325
  * @public
1040
326
  */
1041
- declare const Tab: (props: TabProps & Omit<React.HTMLProps<HTMLButtonElement>, 'aria-controls' | 'as' | 'id' | 'label' | 'type' | 'width'>) => import("react").JSX.Element;
327
+ declare function Tab(props: TabProps & Omit<React.HTMLProps<HTMLButtonElement>, 'aria-controls' | 'as' | 'id' | 'label' | 'type' | 'width'>): import("react").JSX.Element;
1042
328
  /**
1043
329
  * @public
1044
330
  */
@@ -1069,7 +355,7 @@ interface TabListProps extends Omit<InlineOwnProps, 'height'> {
1069
355
  /**
1070
356
  * @public
1071
357
  */
1072
- declare const TabList: (props: TabListProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'height'>) => import("react").JSX.Element;
358
+ declare function TabList(props: TabListProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'height'>): import("react").JSX.Element;
1073
359
  /**
1074
360
  * @public
1075
361
  */
@@ -1083,78 +369,7 @@ interface TabPanelProps extends BoxOwnProps {
1083
369
  /**
1084
370
  * @public
1085
371
  */
1086
- declare const TabPanel: (props: TabPanelProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'aria-labelledby' | 'id' | 'role'>) => import("react").JSX.Element;
1087
- /**
1088
- * @public
1089
- */
1090
- interface ToastProps {
1091
- closable?: boolean;
1092
- description?: React.ReactNode;
1093
- onClose: () => void;
1094
- radius?: number | number[];
1095
- title?: React.ReactNode;
1096
- status?: 'error' | 'warning' | 'success' | 'info';
1097
- duration?: number;
1098
- updatedAt?: number;
1099
- }
1100
- /**
1101
- * The `Toast` component gives feedback to users when an action has taken place.
1102
- *
1103
- * Toasts can be closed with a close button, or auto-dismiss after a certain timeout.
1104
- *
1105
- * @public
1106
- */
1107
- declare function Toast(props: ToastProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'height' | 'ref' | 'title' | 'onAnimationStart' | 'onDragStart' | 'onDragEnd' | 'onDrag'>): React.JSX.Element;
1108
- /**
1109
- * @public
1110
- */
1111
- interface ToastLayerProps {
1112
- children: React.ReactNode;
1113
- padding?: number | number[];
1114
- paddingX?: number | number[];
1115
- paddingY?: number | number[];
1116
- gap?: number | number[];
1117
- }
1118
- /**
1119
- * @public
1120
- */
1121
- interface ToastProviderProps extends Omit<ToastLayerProps, 'children'> {
1122
- children?: React.ReactNode;
1123
- zOffset?: number | number[];
1124
- }
1125
- /**
1126
- * @public
1127
- */
1128
- declare function ToastProvider(props: ToastProviderProps): React.JSX.Element;
1129
- /**
1130
- * @public
1131
- */
1132
- interface ToastParams {
1133
- closable?: boolean;
1134
- description?: React.ReactNode;
1135
- duration?: number;
1136
- id?: string;
1137
- onClose?: () => void;
1138
- title?: React.ReactNode;
1139
- status?: 'error' | 'warning' | 'success' | 'info';
1140
- }
1141
- /**
1142
- * @public
1143
- */
1144
- interface ToastContextValue {
1145
- version: 0.0;
1146
- /**
1147
- * Creates or updates a toast notification.
1148
- * If a toast with the same ID already exists, it will be updated.
1149
- * If an ID is not provided, a random one will be generated.
1150
- * The returned ID can be used to programatically update a toast.
1151
- */
1152
- push: (params: ToastParams) => string;
1153
- }
1154
- /**
1155
- * @public
1156
- */
1157
- declare function useToast(): ToastContextValue;
372
+ declare function TabPanel(props: TabPanelProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'aria-labelledby' | 'id' | 'role'>): import("react").JSX.Element;
1158
373
  /**
1159
374
  * This API might change. DO NOT USE IN PRODUCTION.
1160
375
  * @beta
@@ -1170,7 +385,7 @@ interface TreeProps {
1170
385
  * This API might change. DO NOT USE IN PRODUCTION.
1171
386
  * @beta
1172
387
  */
1173
- declare const Tree: (props: TreeProps & Omit<React.HTMLProps<HTMLUListElement>, 'align' | 'as' | 'height' | 'role' | 'wrap'>) => React.JSX.Element;
388
+ declare function Tree(props: TreeProps & Omit<React.HTMLProps<HTMLUListElement>, 'align' | 'as' | 'height' | 'role' | 'wrap'>): React.JSX.Element;
1174
389
  /**
1175
390
  * @beta
1176
391
  */
@@ -1513,9 +728,9 @@ interface AvatarCounterProps {
1513
728
  /**
1514
729
  * @public
1515
730
  */
1516
- declare const AvatarCounter: (props: AvatarCounterProps & {
731
+ declare function AvatarCounter(props: AvatarCounterProps & {
1517
732
  ref?: React.Ref<HTMLDivElement>;
1518
- }) => import("react").JSX.Element;
733
+ }): import("react").JSX.Element;
1519
734
  /**
1520
735
  * @public
1521
736
  */
@@ -1529,7 +744,7 @@ interface AvatarStackProps {
1529
744
  /**
1530
745
  * @public
1531
746
  */
1532
- declare const AvatarStack: (props: AvatarStackProps & Omit<React.HTMLProps<HTMLDivElement>, 'as'>) => import("react").JSX.Element;
747
+ declare function AvatarStack(props: AvatarStackProps & Omit<React.HTMLProps<HTMLDivElement>, 'as'>): import("react").JSX.Element;
1533
748
  /**
1534
749
  * @internal
1535
750
  */
@@ -1623,24 +838,7 @@ interface CheckboxProps {
1623
838
  *
1624
839
  * @public
1625
840
  */
1626
- declare const Checkbox: (props: Omit<React.HTMLProps<HTMLInputElement>, 'as' | 'type'> & CheckboxProps) => import("react").JSX.Element;
1627
- /**
1628
- * @public
1629
- */
1630
- interface CodeOwnProps {
1631
- /** Define the language to use for syntax highlighting. */
1632
- language?: string;
1633
- size?: number | number[];
1634
- weight?: string;
1635
- }
1636
- /**
1637
- * @public
1638
- */
1639
- type CodeProps<E extends ElementType = 'pre'> = Props<CodeOwnProps, E>;
1640
- /**
1641
- * @public
1642
- */
1643
- declare const Code: <E extends ElementType = 'pre'>(props: CodeProps<E>) => React.JSX.Element;
841
+ declare function Checkbox(props: Omit<React.HTMLProps<HTMLInputElement>, 'as' | 'type'> & CheckboxProps): import("react").JSX.Element;
1644
842
  /**
1645
843
  * @public
1646
844
  */
@@ -1776,7 +974,7 @@ interface RadioProps {
1776
974
  *
1777
975
  * @public
1778
976
  */
1779
- declare const Radio: (props: Omit<React.HTMLProps<HTMLInputElement>, 'as' | 'type'> & RadioProps) => import("react").JSX.Element;
977
+ declare function Radio(props: Omit<React.HTMLProps<HTMLInputElement>, 'as' | 'type'> & RadioProps): import("react").JSX.Element;
1780
978
  /**
1781
979
  * @public
1782
980
  */
@@ -1796,7 +994,7 @@ interface SelectProps {
1796
994
  *
1797
995
  * @public
1798
996
  */
1799
- declare const Select: (props: SelectProps & Omit<React.HTMLProps<HTMLSelectElement>, 'as'>) => import("react").JSX.Element;
997
+ declare function Select(props: SelectProps & Omit<React.HTMLProps<HTMLSelectElement>, 'as'>): import("react").JSX.Element;
1800
998
  /**
1801
999
  * @public
1802
1000
  */
@@ -1809,7 +1007,7 @@ interface SpinnerProps {
1809
1007
  *
1810
1008
  * @public
1811
1009
  */
1812
- declare const Spinner: (props: SpinnerProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'size'>) => import("react").JSX.Element;
1010
+ declare function Spinner(props: SpinnerProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'size'>): import("react").JSX.Element;
1813
1011
  /**
1814
1012
  * @public
1815
1013
  */
@@ -1843,7 +1041,7 @@ interface SwitchProps {
1843
1041
  *
1844
1042
  * @public
1845
1043
  */
1846
- declare const Switch: (props: Omit<React.HTMLProps<HTMLInputElement>, 'as' | 'type'> & SwitchProps) => import("react").JSX.Element;
1044
+ declare function Switch(props: Omit<React.HTMLProps<HTMLInputElement>, 'as' | 'type'> & SwitchProps): import("react").JSX.Element;
1847
1045
  /**
1848
1046
  * @public
1849
1047
  */
@@ -1890,7 +1088,7 @@ interface TextAreaProps extends ResponsiveRadiusProps {
1890
1088
  *
1891
1089
  * @public
1892
1090
  */
1893
- declare const TextArea: (props: TextAreaProps & Omit<React.HTMLProps<HTMLTextAreaElement>, 'as'>) => import("react").JSX.Element;
1091
+ declare function TextArea(props: TextAreaProps & Omit<React.HTMLProps<HTMLTextAreaElement>, 'as'>): import("react").JSX.Element;
1894
1092
  /**
1895
1093
  * @public
1896
1094
  */
@@ -1937,91 +1135,7 @@ interface TextInputProps {
1937
1135
  *
1938
1136
  * @public
1939
1137
  */
1940
- declare const TextInput: (props: TextInputProps & Omit<React.HTMLProps<HTMLInputElement>, 'as' | 'prefix' | 'type'>) => import("react").JSX.Element;
1941
- /**
1942
- * @public
1943
- */
1944
- interface TooltipProps extends Omit<LayerProps, 'as'> {
1945
- /** @deprecated Use `fallbackPlacements` instead. */
1946
- allowedAutoPlacements?: never;
1947
- arrow?: boolean;
1948
- boundaryElement?: HTMLElement | null;
1949
- children?: React.JSX.Element;
1950
- content?: React.ReactNode;
1951
- disabled?: boolean;
1952
- fallbackPlacements?: Placement[];
1953
- padding?: number | number[];
1954
- placement?: Placement;
1955
- /** Whether or not to render the tooltip in a portal element. */
1956
- portal?: boolean | string;
1957
- radius?: number | number[];
1958
- scheme?: ThemeColorSchemeKey$1;
1959
- shadow?: number | number[];
1960
- /**
1961
- * Adds a delay to open or close the tooltip.
1962
- *
1963
- * If only a `number` is passed, it will be used for both opening and closing.
1964
- *
1965
- * If an object `{open: number; close:number}` is passed, it can be used to set different delays for each action.
1966
- *
1967
- * @public
1968
- * @defaultValue 0
1969
- */
1970
- delay?: Delay;
1971
- /**
1972
- * Whether the tooltip should animate in and out.
1973
- *
1974
- * @beta
1975
- * @defaultValue false
1976
- */
1977
- animate?: boolean;
1978
- }
1979
- /**
1980
- * Tooltips display information when hovering, focusing or tapping.
1981
- *
1982
- * @public
1983
- */
1984
- declare const Tooltip: (props: TooltipProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'children' | 'content'>) => import("react").JSX.Element;
1985
- /**
1986
- * @beta
1987
- */
1988
- interface TooltipDelayGroupContextValue {
1989
- setIsGroupActive: (nextState: React.SetStateAction<boolean>, delay?: number | undefined) => void;
1990
- setOpenTooltipId: (nextId: string | null, delay?: number | undefined) => void;
1991
- openDelay: number;
1992
- closeDelay: number;
1993
- openTooltipId: string | null;
1994
- }
1995
- /**
1996
- * @beta
1997
- */
1998
- declare const TooltipDelayGroupContext: import("react").Context<TooltipDelayGroupContextValue | null>;
1999
- /**
2000
- * @public
2001
- * */
2002
- interface TooltipDelayGroupProviderProps {
2003
- children?: React.ReactNode;
2004
- /**
2005
- * Handles the delays to open or close a tooltip inside a group
2006
- *
2007
- * If only a `number` is passed, it will be used for both opening and closing.
2008
- *
2009
- * If an object `{open: number; close:number}` is passed, it can be used to set different delays for each action.
2010
- *
2011
- * @public
2012
- */
2013
- delay: Delay;
2014
- }
2015
- /**
2016
- * @public
2017
- * Provides context for a group of tooltip elements that should share a delay
2018
- * which temporarily becomes 1 ms after the first floating element of the group opens.
2019
- */
2020
- declare function TooltipDelayGroupProvider(props: TooltipDelayGroupProviderProps): React.JSX.Element;
2021
- /**
2022
- * @beta
2023
- */
2024
- declare function useTooltipDelayGroup(): TooltipDelayGroupContextValue | null;
1138
+ declare function TextInput(props: TextInputProps & Omit<React.HTMLProps<HTMLInputElement>, 'as' | 'prefix' | 'type'>): import("react").JSX.Element;
2025
1139
  /**
2026
1140
  * @internal
2027
1141
  */
@@ -2146,11 +1260,11 @@ declare function useTheme(): Theme$1;
2146
1260
  */
2147
1261
  declare function useTheme_v2(): Theme_v2;
2148
1262
  /** @internal */
2149
- declare const Arrow: (props: {
1263
+ declare function Arrow(props: {
2150
1264
  width: number;
2151
1265
  height: number;
2152
1266
  radius?: number;
2153
- } & Omit<HTMLProps<HTMLDivElement>, 'width' | 'height'>) => React.JSX.Element;
1267
+ } & Omit<HTMLProps<HTMLDivElement>, 'width' | 'height'>): React.JSX.Element;
2154
1268
  /**
2155
1269
  * @public
2156
1270
  */
@@ -2190,7 +1304,7 @@ interface MediaQueryProps {
2190
1304
  * DO NOT USE IN PRODUCTION.
2191
1305
  * @beta
2192
1306
  */
2193
- declare const ElementQuery: (props: MediaQueryProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'media'>) => import("react").JSX.Element;
1307
+ declare function ElementQuery(props: MediaQueryProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'media'>): import("react").JSX.Element;
2194
1308
  /**
2195
1309
  * DO NOT USE IN PRODUCTION
2196
1310
  * @beta
@@ -2298,7 +1412,7 @@ interface SrOnlyProps {
2298
1412
  /**
2299
1413
  * @public
2300
1414
  */
2301
- declare const SrOnly: (props: SrOnlyProps & Omit<React.HTMLProps<HTMLDivElement>, 'aria-hidden' | 'as'>) => import("react").JSX.Element;
1415
+ declare function SrOnly(props: SrOnlyProps & Omit<React.HTMLProps<HTMLDivElement>, 'aria-hidden' | 'as'>): import("react").JSX.Element;
2302
1416
  /**
2303
1417
  * @beta
2304
1418
  */
@@ -2324,6 +1438,108 @@ interface VirtualListProps<Item = any> {
2324
1438
  /**
2325
1439
  * @beta
2326
1440
  */
2327
- declare const VirtualList: (props: VirtualListProps & StackOwnProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'children' | 'onChange'>) => React.JSX.Element;
2328
- export { type ArrayPropPrimitive, Arrow, type Assign, Autocomplete, type AutocompleteInputChangeMsg, type AutocompleteInputFoocusMsg, type AutocompleteMsg, type AutocompleteOpenButtonProps, type AutocompleteProps, type AutocompleteRootBlurMsg, type AutocompleteRootClearMsg, type AutocompleteRootEscapeMsg, type AutocompleteRootOpenMsg, type AutocompleteRootSetActiveValueMsg, type AutocompleteRootSetListFocusedMsg, type AutocompleteState, type AutocompleteValueChangeMsg, Avatar, AvatarCounter, type AvatarCounterProps, type AvatarOwnProps, type AvatarPosition, type AvatarProps, type AvatarRootStyleProps, type AvatarSize, AvatarStack, type AvatarStackProps, type AvatarStatus, Badge, type BadgeMode, type BadgeOwnProps, type BadgeProps, type BadgeTone, type BaseAutocompleteOption, type BaseTheme, type BoundaryElementContextValue, BoundaryElementProvider, type BoundaryElementProviderProps, Box, type BoxDisplay, type BoxHeight, type BoxOverflow, type BoxOwnProps, type BoxProps, type BoxShadow, type BoxSizing, Breadcrumbs, type BreadcrumbsProps, Button, type ButtonMode, type ButtonOwnProps, type ButtonProps, type ButtonTextAlign, type ButtonTone, type ButtonWidth, Card, type CardOwnProps, type CardProps, type CardStyleProps, type CardTone, Checkbox, type CheckboxProps, type ClickOutsideElements, type ClickOutsideEventElements, type ClickOutsideEventListener, type ClickOutsideListener, Code, type CodeOwnProps, type CodeProps, CodeSkeleton, type CodeSkeletonProps, type ComponentType, ConditionalWrapper, Container, type ContainerOwnProps, type ContainerProps, type Delay, Dialog, DialogContext, type DialogContextValue, type DialogPosition, type DialogProps, DialogProvider, type DialogProviderProps, ElementQuery, type ElementRectValue, type ElementSize, type ElementType, type EmptyProps, ErrorBoundary, type ErrorBoundaryProps, type ErrorBoundaryState, Flex, type FlexAlign, type FlexDirection, type FlexJustify, type FlexOwnProps, type FlexProps, type FlexValue, type FlexWrap, type FontWeightStyleProps, Grid, type GridAutoCols, type GridAutoFlow, type GridAutoRows, type GridItemColumn, type GridItemColumnEnd, type GridItemColumnStart, type GridItemRow, type GridItemRowEnd, type GridItemRowStart, type GridOwnProps, type GridProps, type HSL, Heading, type HeadingOwnProps, type HeadingProps, HeadingSkeleton, type HeadingSkeletonProps, Hotkeys, type HotkeysProps, Inline, type InlineOwnProps, type InlineProps, KBD, type KBDOwnProps, type KBDProps, Label, type LabelOwnProps, type LabelProps, LabelSkeleton, type LabelSkeletonProps, Layer, type LayerContextValue, type LayerProps, LayerProvider, type LayerProviderProps, type MediaQueryProps, Menu, MenuButton, type MenuButtonProps, MenuDivider, type MenuDividerProps, MenuGroup, type MenuGroupOwnProps, type MenuGroupProps, MenuItem, type MenuItemOwnProps, type MenuItemProps, type MenuProps, type PartialThemeColorBuilderOpts, type Placement, Popover, type PopoverMargins, type PopoverProps, type PopoverUpdateCallback, type PopoverWidth, Portal, type PortalContextValue, type PortalProps, PortalProvider, type PortalProviderProps, type Props, type RGB, Radio, type RadioProps, type Radius, type ResponsiveAvatarSizeStyleProps, type ResponsiveBorderProps, type ResponsiveBoxProps, type ResponsiveFlexItemProps, type ResponsiveFlexProps, type ResponsiveFontSizeStyleProps, type ResponsiveFontStyleProps, type ResponsiveGridItemProps, type ResponsiveGridProps, type ResponsiveMarginProps, type ResponsivePaddingProps, type ResponsiveRadiusProps, type ResponsiveShadowProps, type ResponsiveTextAlignStyleProps, type ResponsiveWidthProps, type ResponsiveWidthStyleProps, type RootTheme, Select, type SelectProps, type SelectableTone, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, SrOnly, type SrOnlyProps, Stack, type StackOwnProps, type StackProps, type Styles, Switch, type SwitchProps, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, type TagType, Text, type TextAlign, TextArea, type TextAreaProps, TextInput, type TextInputClearButtonProps, type TextInputProps, type TextInputType, type TextOwnProps, type TextProps, TextSkeleton, type TextSkeletonProps, type Theme, type ThemeAvatar, type ThemeColor, type ThemeColorBase, type ThemeColorBuilderOpts, type ThemeColorButton, type ThemeColorButtonModeKey, type ThemeColorButtonState, type ThemeColorButtonStates, type ThemeColorButtonTones, type ThemeColorCard, type ThemeColorCardState, type ThemeColorGenericState, type ThemeColorInput, type ThemeColorInputState, type ThemeColorInputStates, type ThemeColorMuted, type ThemeColorMutedTone, type ThemeColorName, ThemeColorProvider, type ThemeColorProviderProps, type ThemeColorScheme, type ThemeColorSchemeKey, type ThemeColorSchemes, type ThemeColorSelectable, type ThemeColorSelectableState, type ThemeColorSelectableStates, type ThemeColorSolid, type ThemeColorSolidTone, type ThemeColorSpot, type ThemeColorSpotKey, type ThemeColorSyntax, type ThemeColorToneKey, type ThemeContextValue, type ThemeFont, type ThemeFontKey, type ThemeFontSize, type ThemeFontWeight, type ThemeFontWeightKey, type ThemeFonts, type ThemeInput, type ThemeLayer, type ThemeProps, ThemeProvider, type ThemeProviderProps, type ThemeShadow, Toast, type ToastContextValue, type ToastParams, type ToastProps, ToastProvider, type ToastProviderProps, Tooltip, TooltipDelayGroupContext, type TooltipDelayGroupContextValue, TooltipDelayGroupProvider, type TooltipDelayGroupProviderProps, type TooltipProps, Tree, type TreeContextValue, TreeItem, type TreeItemProps, type TreeProps, type TreeState, VirtualList, type VirtualListChangeOpts, type VirtualListProps, type _ElementSizeListener, type _ElementSizeObserver, type _ElementSizeSubscriber, type _MediaStore, _elementSizeObserver, _fillCSSObject, _getArrayProp, _getResponsiveSpace, _hasFocus, _isEnterToClickElement, _isScrollable, _raf, _raf2, _responsive, attemptFocus, containsOrEqualsElement, createColorTheme, focusFirstDescendant, focusLastDescendant, hexToRgb, hslToRgb, isFocusable, isHTMLAnchorElement, isHTMLButtonElement, isHTMLElement, isHTMLInputElement, isHTMLSelectElement, isHTMLTextAreaElement, multiply, parseColor, rem, responsiveCodeFontStyle, responsiveHeadingFont, responsiveLabelFont, responsiveTextAlignStyle, responsiveTextFont, rgbToHex, rgbToHsl, rgba, screen, studioTheme, useArrayProp, useBoundaryElement, useClickOutside, useClickOutsideEvent, useCustomValidity, useDialog, useElementRect, useElementSize, useForwardedRef, useGlobalKeyDown, useLayer, useMatchMedia, useMediaIndex, usePortal, usePrefersDark, usePrefersReducedMotion, useRootTheme, useTheme, useTheme_v2, useToast, useTooltipDelayGroup, useTree };
1441
+ declare function VirtualList(props: VirtualListProps & StackOwnProps & Omit<React.HTMLProps<HTMLDivElement>, 'as' | 'children' | 'onChange'>): React.JSX.Element;
1442
+ /** @deprecated Moved to `@sanity/ui/autocomplete` */
1443
+ declare const Autocomplete: never;
1444
+ /** @deprecated Moved to `@sanity/ui/autocomplete` */
1445
+ type AutocompleteInputChangeMsg = never;
1446
+ /** @deprecated Moved to `@sanity/ui/autocomplete` */
1447
+ type AutocompleteInputFoocusMsg = never;
1448
+ /** @deprecated Moved to `@sanity/ui/autocomplete` */
1449
+ type AutocompleteMsg = never;
1450
+ /** @deprecated Moved to `@sanity/ui/autocomplete` */
1451
+ type AutocompleteOpenButtonProps = never;
1452
+ /** @deprecated Moved to `@sanity/ui/autocomplete` */
1453
+ type AutocompleteProps = never;
1454
+ /** @deprecated Moved to `@sanity/ui/autocomplete` */
1455
+ type AutocompleteRootBlurMsg = never;
1456
+ /** @deprecated Moved to `@sanity/ui/autocomplete` */
1457
+ type AutocompleteRootClearMsg = never;
1458
+ /** @deprecated Moved to `@sanity/ui/autocomplete` */
1459
+ type AutocompleteRootEscapeMsg = never;
1460
+ /** @deprecated Moved to `@sanity/ui/autocomplete` */
1461
+ type AutocompleteRootOpenMsg = never;
1462
+ /** @deprecated Moved to `@sanity/ui/autocomplete` */
1463
+ type AutocompleteRootSetActiveValueMsg = never;
1464
+ /** @deprecated Moved to `@sanity/ui/autocomplete` */
1465
+ type AutocompleteRootSetListFocusedMsg = never;
1466
+ /** @deprecated Moved to `@sanity/ui/autocomplete` */
1467
+ type AutocompleteState = never;
1468
+ /** @deprecated Moved to `@sanity/ui/autocomplete` */
1469
+ type AutocompleteValueChangeMsg = never;
1470
+ /** @deprecated Moved to `@sanity/ui/autocomplete` */
1471
+ type BaseAutocompleteOption = never;
1472
+ /** @deprecated Moved to `@sanity/ui/breadcrumbs` */
1473
+ declare const Breadcrumbs: never;
1474
+ /** @deprecated Moved to `@sanity/ui/breadcrumbs` */
1475
+ type BreadcrumbsProps = never;
1476
+ /** @deprecated Moved to `@sanity/ui/code` */
1477
+ declare const Code: never;
1478
+ /** @deprecated Moved to `@sanity/ui/code` */
1479
+ type CodeOwnProps = never;
1480
+ /** @deprecated Moved to `@sanity/ui/code` */
1481
+ type CodeProps = never;
1482
+ /** @deprecated Moved to `@sanity/ui/menu` */
1483
+ declare const Menu: never;
1484
+ /** @deprecated Moved to `@sanity/ui/menu` */
1485
+ declare const MenuButton: never;
1486
+ /** @deprecated Moved to `@sanity/ui/menu` */
1487
+ type MenuButtonProps = never;
1488
+ /** @deprecated Moved to `@sanity/ui/menu` */
1489
+ declare const MenuDivider: never;
1490
+ /** @deprecated Moved to `@sanity/ui/menu` */
1491
+ type MenuDividerProps = never;
1492
+ /** @deprecated Moved to `@sanity/ui/menu` */
1493
+ declare const MenuGroup: never;
1494
+ /** @deprecated Moved to `@sanity/ui/menu` */
1495
+ type MenuGroupOwnProps = never;
1496
+ /** @deprecated Moved to `@sanity/ui/menu` */
1497
+ type MenuGroupProps = never;
1498
+ /** @deprecated Moved to `@sanity/ui/menu` */
1499
+ declare const MenuItem: never;
1500
+ /** @deprecated Moved to `@sanity/ui/menu` */
1501
+ type MenuItemOwnProps = never;
1502
+ /** @deprecated Moved to `@sanity/ui/menu` */
1503
+ type MenuItemProps = never;
1504
+ /** @deprecated Moved to `@sanity/ui/menu` */
1505
+ type MenuProps = never;
1506
+ /** @deprecated Moved to `@sanity/ui/popover` */
1507
+ declare const Popover: never;
1508
+ /** @deprecated Moved to `@sanity/ui/popover` */
1509
+ type PopoverMargins = never;
1510
+ /** @deprecated Moved to `@sanity/ui/popover` */
1511
+ type PopoverProps = never;
1512
+ /** @deprecated Moved to `@sanity/ui/popover` */
1513
+ type PopoverUpdateCallback = never;
1514
+ /** @deprecated Moved to `@sanity/ui/popover` */
1515
+ type PopoverWidth = never;
1516
+ /** @deprecated Moved to `@sanity/ui/toast` */
1517
+ declare const Toast: never;
1518
+ /** @deprecated Moved to `@sanity/ui/toast` */
1519
+ type ToastContextValue = never;
1520
+ /** @deprecated Moved to `@sanity/ui/toast` */
1521
+ type ToastParams = never;
1522
+ /** @deprecated Moved to `@sanity/ui/toast` */
1523
+ type ToastProps = never;
1524
+ /** @deprecated Moved to `@sanity/ui/toast` */
1525
+ declare const ToastProvider: never;
1526
+ /** @deprecated Moved to `@sanity/ui/toast` */
1527
+ type ToastProviderProps = never;
1528
+ /** @deprecated Moved to `@sanity/ui/toast` */
1529
+ declare const useToast: never;
1530
+ /** @deprecated Moved to `@sanity/ui/tooltip` */
1531
+ declare const Tooltip: never;
1532
+ /** @deprecated Moved to `@sanity/ui/tooltip` */
1533
+ declare const TooltipDelayGroupContext: never;
1534
+ /** @deprecated Moved to `@sanity/ui/tooltip` */
1535
+ type TooltipDelayGroupContextValue = never;
1536
+ /** @deprecated Moved to `@sanity/ui/tooltip` */
1537
+ declare const TooltipDelayGroupProvider: never;
1538
+ /** @deprecated Moved to `@sanity/ui/tooltip` */
1539
+ type TooltipDelayGroupProviderProps = never;
1540
+ /** @deprecated Moved to `@sanity/ui/tooltip` */
1541
+ type TooltipProps = never;
1542
+ /** @deprecated Moved to `@sanity/ui/tooltip` */
1543
+ declare const useTooltipDelayGroup: never;
1544
+ export { type ArrayPropPrimitive, Arrow, type Assign, Autocomplete, AutocompleteInputChangeMsg, AutocompleteInputFoocusMsg, AutocompleteMsg, AutocompleteOpenButtonProps, AutocompleteProps, AutocompleteRootBlurMsg, AutocompleteRootClearMsg, AutocompleteRootEscapeMsg, AutocompleteRootOpenMsg, AutocompleteRootSetActiveValueMsg, AutocompleteRootSetListFocusedMsg, AutocompleteState, AutocompleteValueChangeMsg, Avatar, AvatarCounter, type AvatarCounterProps, type AvatarOwnProps, type AvatarPosition, type AvatarProps, type AvatarRootStyleProps, type AvatarSize, AvatarStack, type AvatarStackProps, type AvatarStatus, Badge, type BadgeMode, type BadgeOwnProps, type BadgeProps, type BadgeTone, BaseAutocompleteOption, type BaseTheme, type BoundaryElementContextValue, BoundaryElementProvider, type BoundaryElementProviderProps, Box, type BoxDisplay, type BoxHeight, type BoxOverflow, type BoxOwnProps, type BoxProps, type BoxShadow, type BoxSizing, Breadcrumbs, BreadcrumbsProps, Button, type ButtonMode, type ButtonOwnProps, type ButtonProps, type ButtonTextAlign, type ButtonTone, type ButtonWidth, Card, type CardOwnProps, type CardProps, type CardStyleProps, type CardTone, Checkbox, type CheckboxProps, type ClickOutsideElements, type ClickOutsideEventElements, type ClickOutsideEventListener, type ClickOutsideListener, Code, CodeOwnProps, CodeProps, CodeSkeleton, type CodeSkeletonProps, type ComponentType, ConditionalWrapper, Container, type ContainerOwnProps, type ContainerProps, type Delay, Dialog, DialogContext, type DialogContextValue, type DialogPosition, type DialogProps, DialogProvider, type DialogProviderProps, ElementQuery, type ElementRectValue, type ElementSize, type ElementType, type EmptyProps, ErrorBoundary, type ErrorBoundaryProps, type ErrorBoundaryState, Flex, type FlexAlign, type FlexDirection, type FlexJustify, type FlexOwnProps, type FlexProps, type FlexValue, type FlexWrap, type FontWeightStyleProps, Grid, type GridAutoCols, type GridAutoFlow, type GridAutoRows, type GridItemColumn, type GridItemColumnEnd, type GridItemColumnStart, type GridItemRow, type GridItemRowEnd, type GridItemRowStart, type GridOwnProps, type GridProps, type HSL, Heading, type HeadingOwnProps, type HeadingProps, HeadingSkeleton, type HeadingSkeletonProps, Hotkeys, type HotkeysProps, Inline, type InlineOwnProps, type InlineProps, KBD, type KBDOwnProps, type KBDProps, Label, type LabelOwnProps, type LabelProps, LabelSkeleton, type LabelSkeletonProps, Layer, type LayerContextValue, type LayerProps, LayerProvider, type LayerProviderProps, type MediaQueryProps, Menu, MenuButton, MenuButtonProps, MenuDivider, MenuDividerProps, MenuGroup, MenuGroupOwnProps, MenuGroupProps, MenuItem, MenuItemOwnProps, MenuItemProps, MenuProps, type PartialThemeColorBuilderOpts, type Placement, Popover, PopoverMargins, PopoverProps, PopoverUpdateCallback, PopoverWidth, Portal, type PortalContextValue, type PortalProps, PortalProvider, type PortalProviderProps, type Props, type RGB, Radio, type RadioProps, type Radius, type ResponsiveAvatarSizeStyleProps, type ResponsiveBorderProps, type ResponsiveBoxProps, type ResponsiveFlexItemProps, type ResponsiveFlexProps, type ResponsiveFontSizeStyleProps, type ResponsiveFontStyleProps, type ResponsiveGridItemProps, type ResponsiveGridProps, type ResponsiveMarginProps, type ResponsivePaddingProps, type ResponsiveRadiusProps, type ResponsiveShadowProps, type ResponsiveTextAlignStyleProps, type ResponsiveWidthProps, type ResponsiveWidthStyleProps, type RootTheme, Select, type SelectProps, type SelectableTone, Skeleton, type SkeletonProps, Spinner, type SpinnerProps, SrOnly, type SrOnlyProps, Stack, type StackOwnProps, type StackProps, type Styles, Switch, type SwitchProps, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, type TagType, Text, type TextAlign, TextArea, type TextAreaProps, TextInput, type TextInputClearButtonProps, type TextInputProps, type TextInputType, type TextOwnProps, type TextProps, TextSkeleton, type TextSkeletonProps, type Theme, type ThemeAvatar, type ThemeColor, type ThemeColorBase, type ThemeColorBuilderOpts, type ThemeColorButton, type ThemeColorButtonModeKey, type ThemeColorButtonState, type ThemeColorButtonStates, type ThemeColorButtonTones, type ThemeColorCard, type ThemeColorCardState, type ThemeColorGenericState, type ThemeColorInput, type ThemeColorInputState, type ThemeColorInputStates, type ThemeColorMuted, type ThemeColorMutedTone, type ThemeColorName, ThemeColorProvider, type ThemeColorProviderProps, type ThemeColorScheme, type ThemeColorSchemeKey, type ThemeColorSchemes, type ThemeColorSelectable, type ThemeColorSelectableState, type ThemeColorSelectableStates, type ThemeColorSolid, type ThemeColorSolidTone, type ThemeColorSpot, type ThemeColorSpotKey, type ThemeColorSyntax, type ThemeColorToneKey, type ThemeContextValue, type ThemeFont, type ThemeFontKey, type ThemeFontSize, type ThemeFontWeight, type ThemeFontWeightKey, type ThemeFonts, type ThemeInput, type ThemeLayer, type ThemeProps, ThemeProvider, type ThemeProviderProps, type ThemeShadow, Toast, ToastContextValue, ToastParams, ToastProps, ToastProvider, ToastProviderProps, Tooltip, TooltipDelayGroupContext, TooltipDelayGroupContextValue, TooltipDelayGroupProvider, TooltipDelayGroupProviderProps, TooltipProps, Tree, type TreeContextValue, TreeItem, type TreeItemProps, type TreeProps, type TreeState, VirtualList, type VirtualListChangeOpts, type VirtualListProps, type _ElementSizeListener, type _ElementSizeObserver, type _ElementSizeSubscriber, type _MediaStore, _elementSizeObserver, _fillCSSObject, _getArrayProp, _getResponsiveSpace, _hasFocus, _isEnterToClickElement, _isScrollable, _raf, _raf2, _responsive, attemptFocus, containsOrEqualsElement, createColorTheme, focusFirstDescendant, focusLastDescendant, hexToRgb, hslToRgb, isFocusable, isHTMLAnchorElement, isHTMLButtonElement, isHTMLElement, isHTMLInputElement, isHTMLSelectElement, isHTMLTextAreaElement, multiply, parseColor, rem, responsiveCodeFontStyle, responsiveHeadingFont, responsiveLabelFont, responsiveTextAlignStyle, responsiveTextFont, rgbToHex, rgbToHsl, rgba, screen, studioTheme, useArrayProp, useBoundaryElement, useClickOutside, useClickOutsideEvent, useCustomValidity, useDialog, useElementRect, useElementSize, useForwardedRef, useGlobalKeyDown, useLayer, useMatchMedia, useMediaIndex, usePortal, usePrefersDark, usePrefersReducedMotion, useRootTheme, useTheme, useTheme_v2, useToast, useTooltipDelayGroup, useTree };
2329
1545
  //# sourceMappingURL=index.d.ts.map