@baseline-ui/core 0.29.3 → 0.31.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.
package/dist/index.d.ts CHANGED
@@ -1,7 +1,8 @@
1
- import React, { AriaRole, Key, Dispatch, SetStateAction } from 'react';
1
+ import * as React from 'react';
2
+ import React__default, { AriaRole, Key, ReactNode, Dispatch, SetStateAction } from 'react';
2
3
  import { IconProps, SVGRProps } from '@baseline-ui/icons';
3
4
  import * as react_stately from 'react-stately';
4
- import { DraggableCollectionStateOptions, DroppableCollectionStateOptions, Orientation, ListState, OverlayTriggerProps, OverlayTriggerState, TooltipTriggerProps, SliderStateOptions, ToggleProps, MenuTriggerProps, NumberFieldStateOptions, ListProps, SelectStateOptions, Item as Item$2, Selection as Selection$1, ComboBoxStateOptions, Node as Node$2 } from 'react-stately';
5
+ import { DraggableCollectionStateOptions, DroppableCollectionStateOptions, Orientation, ListState, OverlayTriggerProps, OverlayTriggerState, TooltipTriggerProps, SliderStateOptions, ToggleProps, MenuTriggerProps, NumberFieldStateOptions, ListProps, SelectStateOptions, Item as Item$2, Selection as Selection$1, ComboBoxStateOptions, Node as Node$2, TreeProps } from 'react-stately';
5
6
  import * as react_aria from 'react-aria';
6
7
  import { DraggableCollectionOptions, DroppableCollectionOptions, AriaListBoxProps, AriaListBoxOptions, OptionAria, AriaButtonProps, AriaPopoverProps, useOverlayTrigger, AriaTooltipProps, AriaPositionProps, AriaSliderProps, AriaSwitchProps, AriaSearchFieldProps, AriaMenuProps, AriaMenuTriggerProps, AriaLinkOptions, SeparatorProps as SeparatorProps$1, AriaProgressBarProps, AriaTextFieldProps, OverlayProps, AriaToggleButtonProps, AriaCheckboxProps, AriaNumberFieldProps, I18nProviderProps as I18nProviderProps$1, LocalizedStrings, useNumberFormatter, useDateFormatter, AriaTagGroupProps, AriaSelectOptions, Key as Key$1, AriaDialogProps, DropOptions, ClipboardProps, PressProps, AriaRadioGroupProps, AriaModalOverlayProps, AriaComboBoxOptions, AriaComboBoxProps, AriaGridListOptions, GridListItemAria, Locale } from 'react-aria';
7
8
  export { I18nProviderProps, useCollator, useDateFormatter, useNumberFormatter } from 'react-aria';
@@ -15,18 +16,21 @@ import { AriaToolbarProps } from '@react-aria/toolbar';
15
16
  import { UseTransitionProps } from '@react-spring/core';
16
17
  import { AriaColorSwatchProps } from '@react-aria/color';
17
18
  import { AriaActionGroupProps } from '@react-aria/actiongroup';
19
+ import { TreeItem } from 'react-complex-tree';
20
+ import { PanelProps as PanelProps$1, PanelGroupProps as PanelGroupProps$1, PanelResizeHandleProps as PanelResizeHandleProps$1, ImperativePanelGroupHandle as ImperativePanelGroupHandle$1, ImperativePanelHandle as ImperativePanelHandle$1 } from 'react-resizable-panels';
21
+ import * as react_jsx_runtime from 'react/jsx-runtime';
18
22
 
19
23
  interface ListOption<T = Record<string, any>> {
20
24
  id: string;
21
25
  label: string;
22
26
  description?: string;
23
- icon?: React.FC<IconProps>;
27
+ icon?: React__default.FC<IconProps>;
24
28
  data?: T;
25
29
  }
26
- interface ListSection {
30
+ interface ListSection<T = Record<string, any>> {
27
31
  id: string;
28
32
  title?: string;
29
- children: ListOption[];
33
+ children: ListOption<T>[];
30
34
  }
31
35
  declare type ListItem = ListOption | ListSection;
32
36
 
@@ -73,7 +77,7 @@ interface StylingProps extends BlockProps {
73
77
  /** The className applied to the root element of the component. */
74
78
  className?: string;
75
79
  /** The style applied to the root element of the component. */
76
- style?: React.CSSProperties;
80
+ style?: React__default.CSSProperties;
77
81
  }
78
82
  interface Rect {
79
83
  /** The left position of the rectangle. */
@@ -136,42 +140,42 @@ interface ListBoxProps extends StylingProps, Omit<AriaListBoxProps<ListItem> & A
136
140
  renderOption?: (item: Node$1<ListItem>, options: OptionAria & {
137
141
  showSelectedIcon?: boolean;
138
142
  _state: ListState<ListItem>;
139
- }, ref: React.Ref<HTMLLIElement>) => React.ReactNode;
143
+ }, ref: React__default.Ref<HTMLLIElement>) => React__default.ReactNode;
140
144
  /** Renders the drop indicator component. */
141
145
  renderDropIndicator?: (options: {
142
- dropIndicatorProps: React.HTMLAttributes<HTMLLIElement>;
146
+ dropIndicatorProps: React__default.HTMLAttributes<HTMLLIElement>;
143
147
  isDropTarget: boolean;
144
148
  isHidden: boolean;
145
149
  orientation: Orientation;
146
- }, ref: React.RefObject<HTMLLIElement>) => React.ReactNode;
150
+ }, ref: React__default.RefObject<HTMLLIElement>) => React__default.ReactNode;
147
151
  /**
148
152
  * The custom render function for the drag preview. This can be used to render
149
153
  * a custom drag preview when dragging items.
150
154
  */
151
- renderDragPreview?: (items: DragItem[]) => React.ReactNode;
155
+ renderDragPreview?: (items: DragItem[]) => React__default.ReactNode;
152
156
  /**
153
157
  * The custom render function for the listbox sections.
154
158
  *
155
159
  * @param section ListSection
156
160
  * @param ref React.RefObject<HTMLDivElement>
157
161
  */
158
- renderSectionHeader?: (section: Node$1<ListItem>, ref: React.Ref<HTMLSpanElement>) => React.ReactNode;
162
+ renderSectionHeader?: (section: Node$1<ListItem>, ref: React__default.Ref<HTMLSpanElement>) => React__default.ReactNode;
159
163
  /** Whether to show the selected checkmark icon. */
160
164
  showSelectedIcon?: boolean;
161
165
  /** The label for the listbox. */
162
- label?: React.ReactNode;
166
+ label?: React__default.ReactNode;
163
167
  /** The CSS class name for the drop indicator. */
164
168
  dropIndicatorClassName?: string;
165
169
  /** The style of the drop indicator used in a component. */
166
- dropIndicatorStyle?: React.CSSProperties;
170
+ dropIndicatorStyle?: React__default.CSSProperties;
167
171
  /** The CSS class name for the option. */
168
172
  optionClassName?: string | ((item: ListOption) => string | undefined);
169
173
  /** The CSS class name for the section. */
170
174
  sectionClassName?: string | ((item: ListSection) => string | undefined);
171
175
  /** The style of the option. */
172
- optionStyle?: React.CSSProperties | ((item: ListOption) => React.CSSProperties | undefined);
176
+ optionStyle?: React__default.CSSProperties | ((item: ListOption) => React__default.CSSProperties | undefined);
173
177
  /** The style of the section. */
174
- sectionStyle?: React.CSSProperties | ((item: ListSection) => React.CSSProperties | undefined);
178
+ sectionStyle?: React__default.CSSProperties | ((item: ListSection) => React__default.CSSProperties | undefined);
175
179
  /**
176
180
  * Whether to show each section title when provided.
177
181
  *
@@ -185,10 +189,10 @@ interface ListBoxProps extends StylingProps, Omit<AriaListBoxProps<ListItem> & A
185
189
  */
186
190
  withSectionHeaderPadding?: boolean;
187
191
  /** Handle to access the listbox methods. */
188
- listBoxHandle?: React.RefObject<ListBoxHandle>;
192
+ listBoxHandle?: React__default.RefObject<ListBoxHandle>;
189
193
  }
190
194
 
191
- declare const ListBox: React.ForwardRefExoticComponent<ListBoxProps & React.RefAttributes<HTMLUListElement>>;
195
+ declare const ListBox: React__default.ForwardRefExoticComponent<ListBoxProps & React__default.RefAttributes<HTMLUListElement>>;
192
196
 
193
197
  declare type UIStateOptions<T extends {
194
198
  isSelected?: boolean;
@@ -203,7 +207,7 @@ interface StylingWithUIState<T = object> {
203
207
  /** The button's class name. */
204
208
  className?: string | ((props: UIStateOptions<T>) => string);
205
209
  /** The button's style. */
206
- style?: React.CSSProperties | ((props: UIStateOptions<T>) => React.CSSProperties);
210
+ style?: React__default.CSSProperties | ((props: UIStateOptions<T>) => React__default.CSSProperties);
207
211
  }
208
212
  interface ActionButtonSharedProps extends Omit<AriaButtonProps<"button" | "div">, "rel" | "href" | "target" | "children">, Omit<StylingProps, "className" | "style">, StylingWithUIState {
209
213
  /**
@@ -224,11 +228,11 @@ interface ActionButtonProps extends ActionButtonSharedProps {
224
228
  */
225
229
  variant?: "primary" | "secondary" | "tertiary" | "ghost" | "popover" | "toolbar" | "success" | "warning" | "error";
226
230
  /** The button's label. */
227
- label: React.ReactNode;
231
+ label: React__default.ReactNode;
228
232
  /** The button's icon before the label. */
229
- iconStart?: React.FC<IconProps>;
233
+ iconStart?: React__default.FC<IconProps>;
230
234
  /** The button's icon after the label. */
231
- iconEnd?: React.FC<IconProps>;
235
+ iconEnd?: React__default.FC<IconProps>;
232
236
  /**
233
237
  * The button's size.
234
238
  *
@@ -239,7 +243,7 @@ interface ActionButtonProps extends ActionButtonSharedProps {
239
243
  preventFocusOnPress?: boolean;
240
244
  }
241
245
 
242
- declare const ActionButton: React.ForwardRefExoticComponent<ActionButtonProps & React.RefAttributes<HTMLButtonElement>>;
246
+ declare const ActionButton: React__default.ForwardRefExoticComponent<ActionButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
243
247
 
244
248
  interface DomNodeRendererProps extends StylingProps, Omit<PressHookProps, "ref"> {
245
249
  /**
@@ -251,23 +255,23 @@ interface DomNodeRendererProps extends StylingProps, Omit<PressHookProps, "ref">
251
255
  node: Node;
252
256
  }
253
257
 
254
- declare const DomNodeRenderer: React.ForwardRefExoticComponent<DomNodeRendererProps & React.RefAttributes<HTMLDivElement>>;
258
+ declare const DomNodeRenderer: React__default.ForwardRefExoticComponent<DomNodeRendererProps & React__default.RefAttributes<HTMLDivElement>>;
255
259
 
256
260
  declare type OverlayTriggerProps_ = Parameters<typeof useOverlayTrigger>[0];
257
261
  interface PopoverProps extends OverlayTriggerProps, OverlayTriggerProps_ {
258
262
  /** The children of the popover. */
259
- children: React.ReactNode;
263
+ children: React__default.ReactNode;
260
264
  }
261
265
  interface PopoverContentProps extends Omit<AriaPopoverProps, "popoverRef" | "triggerRef" | "arrowSize" | "arrowBoundaryOffset">, StylingProps {
262
266
  /**
263
267
  * The reference element for the popover position. By default, the popover is
264
268
  * positioned relative to the trigger element.
265
269
  */
266
- triggerRef?: React.RefObject<HTMLElement>;
270
+ triggerRef?: React__default.RefObject<HTMLElement>;
267
271
  /** The class name for the underlay element. */
268
272
  underlayClassName?: string;
269
273
  /** The contents of the popover. */
270
- children: React.ReactNode | ((state: OverlayTriggerState) => React.ReactNode);
274
+ children: React__default.ReactNode | ((state: OverlayTriggerState) => React__default.ReactNode);
271
275
  /**
272
276
  * The container element for the popover. By default, the modal is rendered as
273
277
  * a child of the body element.
@@ -284,15 +288,15 @@ interface PopoverContentProps extends Omit<AriaPopoverProps, "popoverRef" | "tri
284
288
  /** The class name for the content container element. */
285
289
  contentContainerClassName?: string;
286
290
  /** The style for the content container element. */
287
- contentContainerStyle?: React.CSSProperties;
291
+ contentContainerStyle?: React__default.CSSProperties;
288
292
  }
289
293
  interface PopoverTriggerProps {
290
294
  /** The contents of the popover trigger. */
291
- children?: React.ReactNode | (({ isOpen, triggerProps, triggerRef, }: {
295
+ children?: React__default.ReactNode | (({ isOpen, triggerProps, triggerRef, }: {
292
296
  isOpen: boolean;
293
297
  triggerProps: AriaButtonProps<"button">;
294
- triggerRef: React.RefObject<HTMLElement>;
295
- }) => React.ReactNode);
298
+ triggerRef: React__default.RefObject<HTMLElement>;
299
+ }) => React__default.ReactNode);
296
300
  /**
297
301
  * Client rect to be used as anchor for the popover content when no child
298
302
  * element is provided.
@@ -300,17 +304,17 @@ interface PopoverTriggerProps {
300
304
  anchorRect?: Rect;
301
305
  }
302
306
 
303
- declare const PopoverContent: React.ForwardRefExoticComponent<PopoverContentProps & React.RefAttributes<HTMLDivElement>>;
307
+ declare const PopoverContent: React__default.ForwardRefExoticComponent<PopoverContentProps & React__default.RefAttributes<HTMLDivElement>>;
304
308
 
305
- declare const PopoverTrigger: React.FC<PopoverTriggerProps>;
309
+ declare const PopoverTrigger: React__default.FC<PopoverTriggerProps>;
306
310
 
307
- declare const Popover: React.FC<PopoverProps>;
311
+ declare const Popover: React__default.FC<PopoverProps>;
308
312
 
309
313
  interface TooltipProps extends StylingProps, TooltipTriggerProps, AriaTooltipProps, Omit<AriaPositionProps, "overlayRef" | "targetRef" | "maxHeight" | "isOpen" | "arrowSize"> {
310
314
  /** The content of the tooltip. */
311
315
  text?: string;
312
316
  /** The tooltip trigger element. */
313
- children: React.ReactNode;
317
+ children: React__default.ReactNode;
314
318
  /**
315
319
  * The delay time for the tooltip to show up.
316
320
  *
@@ -350,11 +354,11 @@ interface TooltipProps extends StylingProps, TooltipTriggerProps, AriaTooltipPro
350
354
  portalContainer?: HTMLElement;
351
355
  }
352
356
 
353
- declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<HTMLDivElement>>;
357
+ declare const Tooltip: React__default.ForwardRefExoticComponent<TooltipProps & React__default.RefAttributes<HTMLDivElement>>;
354
358
 
355
359
  interface IconComponentProps {
356
360
  /** The icon to show at the start of the color input. */
357
- icon?: React.FC<IconProps>;
361
+ icon?: React__default.FC<IconProps>;
358
362
  /** The aria label for the color input button. */
359
363
  "aria-label": string;
360
364
  /** Props to pass to the tooltip component. */
@@ -373,7 +377,7 @@ interface SliderProps extends Omit<AriaSliderProps<number> & SliderStateOptions<
373
377
  numberingSystem?: string;
374
378
  };
375
379
  /** The label for the slider. */
376
- label?: React.ReactNode;
380
+ label?: React__default.ReactNode;
377
381
  /**
378
382
  * Whether to include a number input for the slider.
379
383
  *
@@ -392,13 +396,13 @@ interface IconSliderProps extends Pick<SliderProps, "value" | "minValue" | "maxV
392
396
  popoverContentProps?: Omit<PopoverContentProps, "children">;
393
397
  }
394
398
 
395
- declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLDivElement>>;
399
+ declare const Slider: React__default.ForwardRefExoticComponent<SliderProps & React__default.RefAttributes<HTMLDivElement>>;
396
400
 
397
- declare const IconSlider: React.ForwardRefExoticComponent<IconSliderProps & React.RefAttributes<HTMLDivElement>>;
401
+ declare const IconSlider: React__default.ForwardRefExoticComponent<IconSliderProps & React__default.RefAttributes<HTMLDivElement>>;
398
402
 
399
403
  interface SwitchProps extends Omit<AriaSwitchProps, "children">, Omit<ToggleProps, "children" | "isRequired" | "validate" | "validationBehavior" | "validationState" | "isInvalid">, StylingProps {
400
404
  /** The label to display next to the switch. */
401
- label?: React.ReactNode;
405
+ label?: React__default.ReactNode;
402
406
  /** The position of the label. */
403
407
  labelPosition?: "top" | "left";
404
408
  /** The status label to display next to the switch. */
@@ -408,7 +412,7 @@ interface SwitchProps extends Omit<AriaSwitchProps, "children">, Omit<ToggleProp
408
412
  };
409
413
  }
410
414
 
411
- declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLLabelElement>>;
415
+ declare const Switch: React__default.ForwardRefExoticComponent<SwitchProps & React__default.RefAttributes<HTMLLabelElement>>;
412
416
 
413
417
  interface SearchInputProps extends Omit<AriaSearchFieldProps, "validationState" | "label" | "aria-autocomplete" | "autoComplete" | "isRequired" | "aria-haspopup" | "isReadOnly" | "aria-activedescendant" | "type" | "validationBehavior" | "validate" | "isInvalid">, StylingProps {
414
418
  /**
@@ -427,7 +431,7 @@ interface SearchInputProps extends Omit<AriaSearchFieldProps, "validationState"
427
431
  "aria-label": string;
428
432
  }
429
433
 
430
- declare const SearchInput: React.ForwardRefExoticComponent<SearchInputProps & React.RefAttributes<HTMLDivElement>>;
434
+ declare const SearchInput: React__default.ForwardRefExoticComponent<SearchInputProps & React__default.RefAttributes<HTMLDivElement>>;
431
435
 
432
436
  interface ThemeProviderProps extends StylingProps {
433
437
  /**
@@ -439,7 +443,7 @@ interface ThemeProviderProps extends StylingProps {
439
443
  */
440
444
  theme?: Theme | "light" | "dark" | "system";
441
445
  /** The children to render. */
442
- children: React.ReactNode;
446
+ children: React__default.ReactNode;
443
447
  /**
444
448
  * A function that will be called when the theme changes from any of the child
445
449
  * components.
@@ -447,7 +451,7 @@ interface ThemeProviderProps extends StylingProps {
447
451
  setTheme?: (theme: Theme | "light" | "dark" | "system") => void;
448
452
  }
449
453
 
450
- declare const ThemeProvider: React.ForwardRefExoticComponent<ThemeProviderProps & React.RefAttributes<HTMLDivElement>>;
454
+ declare const ThemeProvider: React__default.ForwardRefExoticComponent<ThemeProviderProps & React__default.RefAttributes<HTMLDivElement>>;
451
455
 
452
456
  /**
453
457
  * A hook that returns the user preferences for color scheme, contrast, reduced
@@ -478,10 +482,10 @@ interface PortalContainerProviderProps {
478
482
  */
479
483
  portalContainer: HTMLElement | undefined;
480
484
  /** The children to render. */
481
- children: React.ReactNode;
485
+ children: React__default.ReactNode;
482
486
  }
483
487
 
484
- declare const PortalContainerProvider: React.FC<PortalContainerProviderProps>;
488
+ declare const PortalContainerProvider: React__default.FC<PortalContainerProviderProps>;
485
489
 
486
490
  declare type MenuOption = Omit<ListOption, "description"> & {
487
491
  keyboardShortcut?: string;
@@ -530,22 +534,22 @@ interface MenuProps extends MenuPopoverProps, MenuTriggerProps, Omit<AriaMenuPro
530
534
  */
531
535
  renderTrigger?: (options: {
532
536
  buttonProps: ActionButtonProps;
533
- ref: React.RefObject<HTMLButtonElement>;
534
- }) => React.ReactNode;
537
+ ref: React__default.RefObject<HTMLButtonElement>;
538
+ }) => React__default.ReactNode;
535
539
  /**
536
540
  * The label of the trigger element. This can be a string, a React node, or a
537
541
  * function that accepts a boolean indicating whether the menu is open.
538
542
  */
539
- triggerLabel?: React.ReactNode | ((isOpen: boolean) => React.ReactNode);
543
+ triggerLabel?: React__default.ReactNode | ((isOpen: boolean) => React__default.ReactNode);
540
544
  }
541
545
 
542
- declare const Menu: React.ForwardRefExoticComponent<MenuProps & React.RefAttributes<HTMLUListElement>>;
546
+ declare const Menu: React__default.ForwardRefExoticComponent<MenuProps & React__default.RefAttributes<HTMLUListElement>>;
543
547
 
544
548
  interface LinkProps extends AriaLinkOptions, StylingProps {
545
549
  /** The link's style variant. */
546
550
  variant?: "default" | "inline";
547
551
  /** The children to render. */
548
- children: React.ReactNode;
552
+ children: React__default.ReactNode;
549
553
  /** The size of the link. */
550
554
  size?: "sm" | "md" | "lg";
551
555
  /**
@@ -564,7 +568,7 @@ interface LinkProps extends AriaLinkOptions, StylingProps {
564
568
  role?: AriaRole;
565
569
  }
566
570
 
567
- declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLElement>>;
571
+ declare const Link: React__default.ForwardRefExoticComponent<LinkProps & React__default.RefAttributes<HTMLElement>>;
568
572
 
569
573
  interface SharedFileUploadProps extends StylingProps {
570
574
  /** Whether the component is inlined. */
@@ -583,7 +587,7 @@ interface SharedFileUploadProps extends StylingProps {
583
587
  /** The name of the input. */
584
588
  name?: string;
585
589
  /** The callback function that is fired when the value changes. */
586
- onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
590
+ onChange?: (event: React__default.ChangeEvent<HTMLInputElement>) => void;
587
591
  /**
588
592
  * The callback function that is fired when the value changes and the value is
589
593
  * valid.
@@ -597,12 +601,12 @@ interface SharedFileUploadProps extends StylingProps {
597
601
  }
598
602
  interface FileUploadProps extends SharedFileUploadProps {
599
603
  /** The Icon to display. */
600
- icon?: React.FC<IconProps>;
604
+ icon?: React__default.FC<IconProps>;
601
605
  /** Whether to allow multiple files to be uploaded. */
602
606
  multiple?: boolean;
603
607
  }
604
608
 
605
- declare const FileUpload: React.ForwardRefExoticComponent<FileUploadProps & React.RefAttributes<HTMLLabelElement>>;
609
+ declare const FileUpload: React__default.ForwardRefExoticComponent<FileUploadProps & React__default.RefAttributes<HTMLLabelElement>>;
606
610
 
607
611
  interface SeparatorProps extends SeparatorProps$1, StylingProps {
608
612
  /**
@@ -613,7 +617,7 @@ interface SeparatorProps extends SeparatorProps$1, StylingProps {
613
617
  variant?: "primary" | "secondary";
614
618
  }
615
619
 
616
- declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
620
+ declare const Separator: React__default.ForwardRefExoticComponent<SeparatorProps & React__default.RefAttributes<HTMLDivElement>>;
617
621
 
618
622
  interface ProgressBarProps extends StylingProps, Omit<AriaProgressBarProps, "isIndeterminate"> {
619
623
  /**
@@ -634,7 +638,7 @@ interface ProgressBarProps extends StylingProps, Omit<AriaProgressBarProps, "isI
634
638
  errorMessage?: string;
635
639
  }
636
640
 
637
- declare const ProgressBar: React.ForwardRefExoticComponent<ProgressBarProps & React.RefAttributes<HTMLDivElement>>;
641
+ declare const ProgressBar: React__default.ForwardRefExoticComponent<ProgressBarProps & React__default.RefAttributes<HTMLDivElement>>;
638
642
 
639
643
  interface InputMessage {
640
644
  /** The description to display below the input. */
@@ -662,12 +666,12 @@ interface TextInputProps extends Omit<AriaTextFieldProps, "validationState" | "i
662
666
  /** Whether the input is read only. */
663
667
  readOnly?: boolean;
664
668
  /** The style object to apply to the input element */
665
- inputStyle?: React.CSSProperties;
669
+ inputStyle?: React__default.CSSProperties;
666
670
  /** The class name to apply to the input element */
667
671
  inputClassName?: string;
668
672
  }
669
673
 
670
- declare const TextInput: React.ForwardRefExoticComponent<TextInputProps & React.RefAttributes<HTMLInputElement>>;
674
+ declare const TextInput: React__default.ForwardRefExoticComponent<TextInputProps & React__default.RefAttributes<HTMLInputElement>>;
671
675
 
672
676
  interface ReactionProps extends Omit<AriaSwitchProps & ToggleProps, "validationState" | "isRequired" | "children" | "isInvalid" | "validationBehavior" | "validate">, StylingProps {
673
677
  /** The size of the reaction. */
@@ -675,15 +679,15 @@ interface ReactionProps extends Omit<AriaSwitchProps & ToggleProps, "validationS
675
679
  /** The number of reactions. */
676
680
  count: number;
677
681
  /** The icon to render. */
678
- icon?: React.FC<IconProps>;
682
+ icon?: React__default.FC<IconProps>;
679
683
  }
680
684
 
681
- declare const Reaction: React.ForwardRefExoticComponent<ReactionProps & React.RefAttributes<HTMLLabelElement>>;
685
+ declare const Reaction: React__default.ForwardRefExoticComponent<ReactionProps & React__default.RefAttributes<HTMLLabelElement>>;
682
686
 
683
687
  interface PortalProps extends OverlayProps, StylingProps {
684
688
  }
685
689
 
686
- declare const Portal: React.ForwardRefExoticComponent<PortalProps & React.RefAttributes<HTMLDivElement>>;
690
+ declare const Portal: React__default.ForwardRefExoticComponent<PortalProps & React__default.RefAttributes<HTMLDivElement>>;
687
691
 
688
692
  interface ProgressSpinnerProps extends Omit<AriaProgressBarProps, "value" | "isIndeterminate" | "formatOptions" | "maxValue" | "minValue" | "valueLabel">, StylingProps {
689
693
  /**
@@ -700,11 +704,11 @@ interface ProgressSpinnerProps extends Omit<AriaProgressBarProps, "value" | "isI
700
704
  variant?: "active" | "inactive" | "success" | "error";
701
705
  }
702
706
 
703
- declare const ProgressSpinner: React.ForwardRefExoticComponent<ProgressSpinnerProps & React.RefAttributes<HTMLDivElement>>;
707
+ declare const ProgressSpinner: React__default.ForwardRefExoticComponent<ProgressSpinnerProps & React__default.RefAttributes<HTMLDivElement>>;
704
708
 
705
709
  interface ActionIconButtonProps extends ActionButtonSharedProps {
706
710
  /** The icon to display */
707
- icon: React.FC<IconProps>;
711
+ icon: React__default.FC<IconProps>;
708
712
  /**
709
713
  * The size of the icon button.
710
714
  *
@@ -728,15 +732,15 @@ interface ActionIconButtonProps extends ActionButtonSharedProps {
728
732
  tooltip?: boolean | Partial<Omit<TooltipProps, "children">>;
729
733
  }
730
734
 
731
- declare const ActionIconButton: React.ForwardRefExoticComponent<ActionIconButtonProps & React.RefAttributes<HTMLButtonElement>>;
735
+ declare const ActionIconButton: React__default.ForwardRefExoticComponent<ActionIconButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
732
736
 
733
737
  interface ToggleButtonProps extends Omit<StylingProps, "style" | "className">, Omit<AriaToggleButtonProps, "children">, StylingWithUIState<{
734
738
  isSelected?: boolean;
735
739
  }> {
736
740
  /** The text content of the button. */
737
- label: React.ReactNode;
741
+ label: React__default.ReactNode;
738
742
  /** The icon to display before the label. */
739
- iconStart?: React.FC<SVGRProps>;
743
+ iconStart?: React__default.FC<IconProps>;
740
744
  /**
741
745
  * The size of the button.
742
746
  *
@@ -745,9 +749,15 @@ interface ToggleButtonProps extends Omit<StylingProps, "style" | "className">, O
745
749
  size?: "sm" | "md" | "lg";
746
750
  /** Indicates whether focusing should be prevented on press. */
747
751
  preventFocusOnPress?: boolean;
752
+ /**
753
+ * Button variant
754
+ *
755
+ * @default toolbar
756
+ */
757
+ variant?: "primary" | "toolbar";
748
758
  }
749
759
 
750
- declare const ToggleButton: React.ForwardRefExoticComponent<ToggleButtonProps & React.RefAttributes<HTMLButtonElement>>;
760
+ declare const ToggleButton: React__default.ForwardRefExoticComponent<ToggleButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
751
761
 
752
762
  interface CheckboxProps extends Omit<AriaCheckboxProps, "children" | "validationBehavior" | "validationState" | "validate">, StylingProps {
753
763
  /** The checkbox's label. */
@@ -760,7 +770,7 @@ interface CheckboxProps extends Omit<AriaCheckboxProps, "children" | "validation
760
770
  labelPosition?: "start" | "end";
761
771
  }
762
772
 
763
- declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLLabelElement>>;
773
+ declare const Checkbox: React__default.ForwardRefExoticComponent<CheckboxProps & React__default.RefAttributes<HTMLLabelElement>>;
764
774
 
765
775
  declare type Excluded = "isRequired" | "locale" | "validationState" | "label" | "formatOptions" | "isInvalid" | "validationBehaviour" | "validate" | "description" | "errorMessage";
766
776
  interface PaginationProps extends Omit<AriaNumberFieldProps, Excluded>, Omit<NumberFieldStateOptions, Excluded>, StylingProps {
@@ -784,13 +794,13 @@ interface PaginationProps extends Omit<AriaNumberFieldProps, Excluded>, Omit<Num
784
794
  hideActions?: boolean;
785
795
  }
786
796
 
787
- declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLDivElement>>;
797
+ declare const Pagination: React__default.ForwardRefExoticComponent<PaginationProps & React__default.RefAttributes<HTMLDivElement>>;
788
798
 
789
799
  interface I18nProviderProps extends I18nProviderProps$1 {
790
800
  /** The messages to use for internationalization. */
791
801
  messages?: LocalizedStrings;
792
802
  /** The children to render. */
793
- children: React.ReactNode;
803
+ children: React__default.ReactNode;
794
804
  /**
795
805
  * Whether to log missing messages.
796
806
  *
@@ -799,27 +809,27 @@ interface I18nProviderProps extends I18nProviderProps$1 {
799
809
  shouldLogMissingMessages?: boolean;
800
810
  }
801
811
 
802
- declare const I18nProvider: React.FC<I18nProviderProps>;
812
+ declare const I18nProvider: React__default.FC<I18nProviderProps>;
803
813
 
804
814
  declare type NumberFormatProps = Parameters<typeof useNumberFormatter>[0] & {
805
815
  /** The number to format. */
806
816
  value: number;
807
817
  };
808
818
 
809
- declare const NumberFormat: React.FC<NumberFormatProps>;
819
+ declare const NumberFormat: React__default.FC<NumberFormatProps>;
810
820
 
811
821
  declare type DateFormatProps = Parameters<typeof useDateFormatter>[0] & {
812
822
  /** The date to format. */
813
823
  date: Date;
814
824
  };
815
825
 
816
- declare const DateFormat: React.FC<DateFormatProps>;
826
+ declare const DateFormat: React__default.FC<DateFormatProps>;
817
827
 
818
828
  interface Item$1 {
819
829
  id: string;
820
830
  label: string;
821
831
  variant?: "neutral" | "red" | "green" | "blue" | "high-contrast";
822
- icon?: React.FC<SVGRProps>;
832
+ icon?: React__default.FC<SVGRProps>;
823
833
  }
824
834
  interface TagGroupProps extends StylingProps, Omit<AriaTagGroupProps<Item$1>, "children" | "errorMessage" | "description">, Omit<ListProps<Item$1>, "children" | "collection" | "filter"> {
825
835
  /**
@@ -839,7 +849,7 @@ interface TagGroupProps extends StylingProps, Omit<AriaTagGroupProps<Item$1>, "c
839
849
  "aria-label": string;
840
850
  }
841
851
 
842
- declare const TagGroup: React.ForwardRefExoticComponent<TagGroupProps & React.RefAttributes<HTMLDivElement>>;
852
+ declare const TagGroup: React__default.ForwardRefExoticComponent<TagGroupProps & React__default.RefAttributes<HTMLDivElement>>;
843
853
 
844
854
  interface AccordionProps extends StylingProps {
845
855
  /**
@@ -853,7 +863,7 @@ interface AccordionProps extends StylingProps {
853
863
  /** This callback is called when the expanded state of the accordion changes. */
854
864
  onChange?: (value: Set<Key>) => void;
855
865
  /** The children of the accordion. Each child should be an `AccordionItem`. */
856
- children: React.ReactNode;
866
+ children: React__default.ReactNode;
857
867
  /** The keys of the items that should be expanded by default. */
858
868
  defaultExpandedKeys?: Set<Key>;
859
869
  /**
@@ -898,7 +908,7 @@ interface AccordionItemProps extends StylingProps {
898
908
  */
899
909
  showActionsOnTriggerOnly?: boolean;
900
910
  /** The content of the accordion item. */
901
- children: React.ReactNode;
911
+ children: React__default.ReactNode;
902
912
  /** The key of the accordion item. */
903
913
  value: Key;
904
914
  /**
@@ -908,9 +918,9 @@ interface AccordionItemProps extends StylingProps {
908
918
  subLabel?: string;
909
919
  }
910
920
 
911
- declare const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<HTMLDivElement>>;
921
+ declare const Accordion: React__default.ForwardRefExoticComponent<AccordionProps & React__default.RefAttributes<HTMLDivElement>>;
912
922
 
913
- declare const AccordionItem: React.ForwardRefExoticComponent<AccordionItemProps & React.RefAttributes<HTMLHeadingElement>>;
923
+ declare const AccordionItem: React__default.ForwardRefExoticComponent<AccordionItemProps & React__default.RefAttributes<HTMLHeadingElement>>;
914
924
 
915
925
  interface SelectProps extends Omit<AriaSelectOptions<ListItem> & SelectStateOptions<ListItem> & PopoverContentProps, "validationState" | "items" | "children" | "isRequired" | "className" | "style" | "triggerRef" | "validate" | "validationBehavior" | "keyboardDelegate">, Pick<ListBoxProps, "items" | "showSelectedIcon" | "optionStyle" | "optionClassName">, StylingProps {
916
926
  /**
@@ -926,7 +936,7 @@ interface SelectProps extends Omit<AriaSelectOptions<ListItem> & SelectStateOpti
926
936
  /** The warning message of the select component. */
927
937
  warningMessage?: string;
928
938
  /** The label of the select component. */
929
- label?: React.ReactNode;
939
+ label?: React__default.ReactNode;
930
940
  /** The variant of the select component. */
931
941
  variant?: "primary" | "ghost";
932
942
  /** The state of the select component. */
@@ -943,19 +953,19 @@ interface SelectProps extends Omit<AriaSelectOptions<ListItem> & SelectStateOpti
943
953
  valueProps: DOMAttributes;
944
954
  isOpen: boolean;
945
955
  selectedValue: ListItem | null;
946
- ref: React.RefObject<HTMLButtonElement>;
947
- }) => React.ReactNode;
956
+ ref: React__default.RefObject<HTMLButtonElement>;
957
+ }) => React__default.ReactNode;
948
958
  /** The class name of the trigger element. */
949
959
  triggerClassName?: string;
950
960
  /** The style of the trigger element. */
951
- triggerStyle?: React.CSSProperties;
961
+ triggerStyle?: React__default.CSSProperties;
952
962
  }
953
963
  interface IconSelectProps extends Omit<SelectProps, "renderTrigger" | "aria-label">, IconComponentProps {
954
964
  }
955
965
 
956
- declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLDivElement>>;
966
+ declare const Select: React__default.ForwardRefExoticComponent<SelectProps & React__default.RefAttributes<HTMLDivElement>>;
957
967
 
958
- declare const IconSelect: React.ForwardRefExoticComponent<IconSelectProps & React.RefAttributes<HTMLDivElement>>;
968
+ declare const IconSelect: React__default.ForwardRefExoticComponent<IconSelectProps & React__default.RefAttributes<HTMLDivElement>>;
959
969
 
960
970
  interface AvatarProps extends StylingProps {
961
971
  /**
@@ -968,7 +978,7 @@ interface AvatarProps extends StylingProps {
968
978
  * The icon to display. This icon has to be imported from the
969
979
  * `@baseline-ui/icons` package.
970
980
  */
971
- icon?: React.FC<SVGRProps>;
981
+ icon?: React__default.FC<SVGRProps>;
972
982
  /** The name of the user. */
973
983
  name: string;
974
984
  /** The URL of the image to display. */
@@ -986,15 +996,15 @@ interface AvatarProps extends StylingProps {
986
996
  hasNotifications?: boolean;
987
997
  }
988
998
 
989
- declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLSpanElement>>;
999
+ declare const Avatar: React__default.ForwardRefExoticComponent<AvatarProps & React__default.RefAttributes<HTMLSpanElement>>;
990
1000
 
991
- declare type ItemProps = React.ComponentProps<typeof Item$2> & StylingProps & {
1001
+ declare type ItemProps = React__default.ComponentProps<typeof Item$2> & StylingProps & {
992
1002
  key?: Key$1;
993
- icon?: React.FC<SVGRProps>;
1003
+ icon?: React__default.FC<IconProps>;
994
1004
  value?: string;
995
1005
  title?: string;
996
1006
  titleClassName?: string;
997
- titleStyle?: React.CSSProperties;
1007
+ titleStyle?: React__default.CSSProperties;
998
1008
  };
999
1009
  declare type TabsProps = Omit<StylingProps & AriaTabListProps<ItemProps>, "orientation" | "children" | "items" | "selectedKey" | "defaultSelectedKey" | "disabledKeys"> & {
1000
1010
  /**
@@ -1011,7 +1021,7 @@ declare type TabsProps = Omit<StylingProps & AriaTabListProps<ItemProps>, "orien
1011
1021
  * </Tabs>;
1012
1022
  * ```
1013
1023
  */
1014
- children: React.ReactNode;
1024
+ children: React__default.ReactNode;
1015
1025
  /**
1016
1026
  * The key of the tab that needs to be removed.
1017
1027
  *
@@ -1031,25 +1041,25 @@ declare type TabsProps = Omit<StylingProps & AriaTabListProps<ItemProps>, "orien
1031
1041
  /** The className to apply to the tab header container. */
1032
1042
  tabHeaderClassName?: string;
1033
1043
  /** The style to apply to the tab header container. */
1034
- tabHeaderStyle?: React.CSSProperties;
1044
+ tabHeaderStyle?: React__default.CSSProperties;
1035
1045
  };
1036
1046
  declare type TabItemProps = StylingProps & {
1037
1047
  /** The title of the tab. This will be displayed in the tab button. */
1038
1048
  title: string;
1039
1049
  /** The icon to display in front of the title. */
1040
- icon?: React.FC<SVGRProps>;
1050
+ icon?: React__default.FC<SVGRProps>;
1041
1051
  /** The value of the tab. This will be used to identify the tab. */
1042
1052
  value: string;
1043
1053
  /** The className to apply to the tab item. */
1044
1054
  titleClassName?: string;
1045
1055
  /** The style to apply to the tab item. */
1046
- titleStyle?: React.CSSProperties;
1056
+ titleStyle?: React__default.CSSProperties;
1047
1057
  /** The contents of the tab item. */
1048
- children: React.ReactNode;
1058
+ children: React__default.ReactNode;
1049
1059
  };
1050
1060
 
1051
- declare const Tabs: React.ForwardRefExoticComponent<Omit<StylingProps & react_aria.AriaTabListProps<ItemProps>, "children" | "items" | "orientation" | "disabledKeys" | "selectedKey" | "defaultSelectedKey"> & {
1052
- children: React.ReactNode;
1061
+ declare const Tabs: React__default.ForwardRefExoticComponent<Omit<StylingProps & react_aria.AriaTabListProps<ItemProps>, "children" | "items" | "orientation" | "disabledKeys" | "selectedKey" | "defaultSelectedKey"> & {
1062
+ children: React__default.ReactNode;
1053
1063
  onRemove?: ((key: react_stately.Key) => void) | undefined;
1054
1064
  selectedValue?: string | undefined;
1055
1065
  defaultSelectedValue?: string | undefined;
@@ -1057,10 +1067,10 @@ declare const Tabs: React.ForwardRefExoticComponent<Omit<StylingProps & react_ar
1057
1067
  actions?: Omit<ActionIconButtonProps, "size" | "variant">[] | undefined;
1058
1068
  variant?: "primary" | "ghost" | undefined;
1059
1069
  tabHeaderClassName?: string | undefined;
1060
- tabHeaderStyle?: React.CSSProperties | undefined;
1061
- } & React.RefAttributes<HTMLDivElement>>;
1070
+ tabHeaderStyle?: React__default.CSSProperties | undefined;
1071
+ } & React__default.RefAttributes<HTMLDivElement>>;
1062
1072
 
1063
- declare const TabItem: React.FC<TabItemProps>;
1073
+ declare const TabItem: React__default.FC<TabItemProps>;
1064
1074
 
1065
1075
  interface InlineAlertProps extends StylingProps {
1066
1076
  /**
@@ -1100,7 +1110,7 @@ interface InlineAlertProps extends StylingProps {
1100
1110
  size?: "sm" | "md";
1101
1111
  }
1102
1112
 
1103
- declare const InlineAlert: React.ForwardRefExoticComponent<InlineAlertProps & React.RefAttributes<HTMLDivElement>>;
1113
+ declare const InlineAlert: React__default.ForwardRefExoticComponent<InlineAlertProps & React__default.RefAttributes<HTMLDivElement>>;
1104
1114
 
1105
1115
  interface NumberInputProps extends StylingProps, Omit<AriaNumberFieldProps, "validationState" | "isRequired" | "validate" | "validationBehavior"> {
1106
1116
  /**
@@ -1127,11 +1137,11 @@ interface NumberInputProps extends StylingProps, Omit<AriaNumberFieldProps, "val
1127
1137
  errorMessage?: string;
1128
1138
  }
1129
1139
 
1130
- declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<HTMLDivElement>>;
1140
+ declare const NumberInput: React__default.ForwardRefExoticComponent<NumberInputProps & React__default.RefAttributes<HTMLDivElement>>;
1131
1141
 
1132
1142
  interface DrawerProps extends StylingProps, AriaDialogProps {
1133
1143
  /** The children to render. */
1134
- children: React.ReactNode;
1144
+ children: React__default.ReactNode;
1135
1145
  /**
1136
1146
  * The valid values for the background type are "medium" and "subtle".
1137
1147
  *
@@ -1146,11 +1156,11 @@ interface DrawerProps extends StylingProps, AriaDialogProps {
1146
1156
  onCloseRequest?: () => void;
1147
1157
  }
1148
1158
 
1149
- declare const Drawer: React.ForwardRefExoticComponent<DrawerProps & React.RefAttributes<HTMLDivElement>>;
1159
+ declare const Drawer: React__default.ForwardRefExoticComponent<DrawerProps & React__default.RefAttributes<HTMLDivElement>>;
1150
1160
 
1151
1161
  interface DialogProps extends AriaDialogProps, StylingProps {
1152
1162
  /** The children to render. */
1153
- children: React.ReactNode;
1163
+ children: React__default.ReactNode;
1154
1164
  /**
1155
1165
  * The size of the dialog. This defines the max width of the dialog.
1156
1166
  *
@@ -1179,12 +1189,12 @@ interface DialogProps extends AriaDialogProps, StylingProps {
1179
1189
  }
1180
1190
  interface DialogTitleProps extends StylingProps {
1181
1191
  /** The children to render. */
1182
- children: React.ReactNode;
1192
+ children: React__default.ReactNode;
1183
1193
  }
1184
1194
 
1185
- declare const Dialog: React.ForwardRefExoticComponent<DialogProps & React.RefAttributes<HTMLDivElement>>;
1195
+ declare const Dialog: React__default.ForwardRefExoticComponent<DialogProps & React__default.RefAttributes<HTMLDivElement>>;
1186
1196
 
1187
- declare const DialogTitle: React.ForwardRefExoticComponent<DialogTitleProps & React.RefAttributes<HTMLDivElement>>;
1197
+ declare const DialogTitle: React__default.ForwardRefExoticComponent<DialogTitleProps & React__default.RefAttributes<HTMLDivElement>>;
1188
1198
 
1189
1199
  interface ColorPreset {
1190
1200
  label: string;
@@ -1281,11 +1291,17 @@ interface ColorInputProps extends OverlayTriggerProps, StylingProps, Pick<ColorF
1281
1291
  renderTriggerButton?: (options: {
1282
1292
  isOpen: boolean;
1283
1293
  color: Color | null;
1284
- ref: React.RefObject<HTMLButtonElement>;
1294
+ ref: React__default.RefObject<HTMLButtonElement>;
1285
1295
  colorName?: string | boolean;
1286
1296
  triggerProps: AriaButtonProps<"button">;
1287
1297
  labelId?: string;
1288
- }) => React.ReactElement;
1298
+ }) => React__default.ReactElement;
1299
+ /**
1300
+ * Handler that is called when the user stops dragging or clicking on the
1301
+ * color picker. In case of presets, this is called when the user clicks on a
1302
+ * color preset.
1303
+ */
1304
+ onChangeEnd?: (color: Color | null) => void;
1289
1305
  }
1290
1306
  interface IconColorInputProps extends StylingProps, Omit<ColorInputProps, "renderTriggerButton" | "colorLabel" | "label" | "labelPosition" | "aria-label">, IconComponentProps {
1291
1307
  /**
@@ -1296,12 +1312,12 @@ interface IconColorInputProps extends StylingProps, Omit<ColorInputProps, "rende
1296
1312
  variant?: "compact" | "standard";
1297
1313
  }
1298
1314
 
1299
- declare const ColorInput: React.ForwardRefExoticComponent<ColorInputProps & React.RefAttributes<HTMLDivElement>>;
1315
+ declare const ColorInput: React__default.ForwardRefExoticComponent<ColorInputProps & React__default.RefAttributes<HTMLDivElement>>;
1300
1316
 
1301
- declare const IconColorInputButton: React.ForwardRefExoticComponent<Omit<ColorInputButtonProps, "children" | "color" | "labelPosition"> & {
1302
- icon: React.FC<IconProps>;
1317
+ declare const IconColorInputButton: React__default.ForwardRefExoticComponent<Omit<ColorInputButtonProps, "children" | "color" | "labelPosition"> & {
1318
+ icon: React__default.FC<IconProps>;
1303
1319
  color?: string | null | undefined;
1304
- } & React.RefAttributes<HTMLButtonElement>>;
1320
+ } & React__default.RefAttributes<HTMLButtonElement>>;
1305
1321
  interface ColorInputButtonProps extends Omit<ActionButtonProps, "label" | "className" | "style">, StylingProps, Pick<ColorInputProps, "colorLabel"> {
1306
1322
  isOpen: boolean;
1307
1323
  "aria-label"?: string;
@@ -1310,19 +1326,19 @@ interface ColorInputButtonProps extends Omit<ActionButtonProps, "label" | "class
1310
1326
  colorName?: string | boolean;
1311
1327
  }
1312
1328
 
1313
- declare const IconColorInput: React.ForwardRefExoticComponent<IconColorInputProps & React.RefAttributes<HTMLDivElement>>;
1329
+ declare const IconColorInput: React__default.ForwardRefExoticComponent<IconColorInputProps & React__default.RefAttributes<HTMLDivElement>>;
1314
1330
 
1315
1331
  interface FreehandCanvasProps extends StylingProps, AriaLabelingProps {
1316
1332
  /** The className applicable to the SVG canvas. */
1317
1333
  canvasClassName?: string;
1318
1334
  /** The style applicable to the SVG canvas. */
1319
- canvasStyle?: React.CSSProperties;
1335
+ canvasStyle?: React__default.CSSProperties;
1320
1336
  /** The ref for the canvas. */
1321
- canvasRef?: React.RefObject<HTMLDivElement>;
1337
+ canvasRef?: React__default.RefObject<HTMLDivElement>;
1322
1338
  /** The className applicable to the footer. */
1323
1339
  footerClassName?: string;
1324
1340
  /** The style applicable to the footer. */
1325
- footerStyle?: React.CSSProperties;
1341
+ footerStyle?: React__default.CSSProperties;
1326
1342
  /**
1327
1343
  * How much to soften the stroke's edges.
1328
1344
  *
@@ -1426,9 +1442,9 @@ declare type FreehandCanvasLine = FreehandCanvasPoint[];
1426
1442
  /** A point in the freehand canvas. The pressure is optional. */
1427
1443
  declare type FreehandCanvasPoint = [x: number, y: number, pressure?: number];
1428
1444
 
1429
- declare const FreehandCanvas: React.ForwardRefExoticComponent<FreehandCanvasProps & React.RefAttributes<HTMLDivElement>>;
1445
+ declare const FreehandCanvas: React__default.ForwardRefExoticComponent<FreehandCanvasProps & React__default.RefAttributes<HTMLDivElement>>;
1430
1446
 
1431
- declare type TextProps<T extends keyof React.JSX.IntrinsicElements = "span"> = StylingProps & React.ComponentProps<T> & {
1447
+ declare type TextProps<T extends keyof React__default.JSX.IntrinsicElements = "span"> = StylingProps & React__default.ComponentProps<T> & {
1432
1448
  /**
1433
1449
  * The type of text to render.
1434
1450
  *
@@ -1442,26 +1458,26 @@ declare type TextProps<T extends keyof React.JSX.IntrinsicElements = "span"> = S
1442
1458
  */
1443
1459
  size?: "sm" | "md" | "lg";
1444
1460
  /** The text to render. Can be a string or a number. */
1445
- children: React.ReactNode;
1461
+ children: React__default.ReactNode;
1446
1462
  /**
1447
1463
  * The HTML element to render.
1448
1464
  *
1449
1465
  * @default "span"
1450
1466
  */
1451
- elementType?: React.ElementType;
1467
+ elementType?: React__default.ElementType;
1452
1468
  };
1453
1469
 
1454
- declare const Text: React.ForwardRefExoticComponent<Omit<TextProps<"span">, "ref"> & React.RefAttributes<HTMLDivElement>>;
1470
+ declare const Text: React__default.ForwardRefExoticComponent<Omit<TextProps<"span">, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
1455
1471
 
1456
1472
  interface TransformProps {
1457
1473
  /** The `className` property assigned to the root element of the component. */
1458
1474
  className?: string;
1459
1475
  /** The `style` property assigned to the root element of the component. */
1460
- style?: React.CSSProperties;
1476
+ style?: React__default.CSSProperties;
1461
1477
  /** The children to render. */
1462
1478
  children: (options: {
1463
- style: React.CSSProperties;
1464
- }) => React.ReactNode;
1479
+ style: React__default.CSSProperties;
1480
+ }) => React__default.ReactNode;
1465
1481
  /** Whether the transform is draggable. */
1466
1482
  isDraggable?: boolean;
1467
1483
  /** Whether the transform is resizable. */
@@ -1497,7 +1513,7 @@ interface TransformProps {
1497
1513
  /** A callback that will be called when the target is snapped. */
1498
1514
  onSnap?: (e: OnSnap) => void;
1499
1515
  /** A callback that will be called when the child is double clicked. */
1500
- onDoubleClick?: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
1516
+ onDoubleClick?: (e: React__default.MouseEvent<HTMLDivElement, MouseEvent>) => void;
1501
1517
  /** A list of selectors relative to which the guidelines will be rendered. */
1502
1518
  elementGuidelines?: string[];
1503
1519
  /**
@@ -1532,9 +1548,9 @@ interface TransformProps {
1532
1548
  /** Whether the transform should be updated automatically. */
1533
1549
  autoUpdate?: boolean;
1534
1550
  /** The element ref, selector or element to which the transform will be bound. */
1535
- bound?: React.RefObject<HTMLElement> | string | HTMLElement;
1551
+ bound?: React__default.RefObject<HTMLElement> | string | HTMLElement;
1536
1552
  /** The element ref, selector or element that is it's scrollable ancestor. */
1537
- scrollableAncestor?: React.RefObject<HTMLElement> | string | HTMLElement;
1553
+ scrollableAncestor?: React__default.RefObject<HTMLElement> | string | HTMLElement;
1538
1554
  /**
1539
1555
  * Whether to prevent bubbling of events like mousedown, touchstart, etc.
1540
1556
  *
@@ -1555,7 +1571,7 @@ interface TransformProps {
1555
1571
  transformOrigin?: (string | number)[] | string;
1556
1572
  }
1557
1573
 
1558
- declare const Transform: React.ForwardRefExoticComponent<TransformProps & React.RefAttributes<HTMLDivElement>>;
1574
+ declare const Transform: React__default.ForwardRefExoticComponent<TransformProps & React__default.RefAttributes<HTMLDivElement>>;
1559
1575
 
1560
1576
  interface ImageDropZoneProps extends Omit<SharedFileUploadProps, "label" | "variant">, Omit<DropOptions, "ref" | "getDropOperation" | "hasDropButton" | "getDropOperationForPoint">, Omit<ClipboardProps, "getItems" | "onCut" | "onCopy">, Pick<FreehandCanvasProps, "footerClassName" | "footerStyle" | "placeholder" | "clearLabel">, AriaLabelingProps {
1561
1577
  /**
@@ -1589,14 +1605,14 @@ interface ImageDropZoneProps extends Omit<SharedFileUploadProps, "label" | "vari
1589
1605
  /** The class name to apply to the picker button. */
1590
1606
  pickerButtonClassName?: string;
1591
1607
  /** The style to apply to the picker button. */
1592
- pickerButtonStyle?: React.CSSProperties;
1608
+ pickerButtonStyle?: React__default.CSSProperties;
1593
1609
  /** The class name to apply to the label. */
1594
1610
  labelClassName?: string;
1595
1611
  /** The style to apply to the label. */
1596
- labelStyle?: React.CSSProperties;
1612
+ labelStyle?: React__default.CSSProperties;
1597
1613
  }
1598
1614
 
1599
- declare const ImageDropZone: React.ForwardRefExoticComponent<ImageDropZoneProps & React.RefAttributes<HTMLDivElement>>;
1615
+ declare const ImageDropZone: React__default.ForwardRefExoticComponent<ImageDropZoneProps & React__default.RefAttributes<HTMLDivElement>>;
1600
1616
 
1601
1617
  interface PreviewProps extends StylingProps, AriaLabelingProps {
1602
1618
  /**
@@ -1614,13 +1630,13 @@ interface PreviewProps extends StylingProps, AriaLabelingProps {
1614
1630
  /** The alt text for the image. */
1615
1631
  imageAlt?: string;
1616
1632
  /** The SVG to display in the preview. This can be a React element or a string. */
1617
- svgSrc?: string | React.ReactElement;
1633
+ svgSrc?: string | React__default.ReactElement;
1618
1634
  /** Whether the preview should be disabled or not. */
1619
1635
  isDisabled?: boolean;
1620
1636
  /** The text to display in the preview. */
1621
1637
  textValue?: string;
1622
1638
  /** The style of the text. */
1623
- textStyle?: React.CSSProperties;
1639
+ textStyle?: React__default.CSSProperties;
1624
1640
  /**
1625
1641
  * This is fired when the `actionButtons` are not passed and you trigger a
1626
1642
  * `click` event on the preview. In case you have passed `actionButtons`, this
@@ -1653,7 +1669,7 @@ interface PreviewProps extends StylingProps, AriaLabelingProps {
1653
1669
  accent?: "theme" | "positive";
1654
1670
  }
1655
1671
 
1656
- declare const Preview: React.ForwardRefExoticComponent<PreviewProps & React.RefAttributes<HTMLDivElement>>;
1672
+ declare const Preview: React__default.ForwardRefExoticComponent<PreviewProps & React__default.RefAttributes<HTMLDivElement>>;
1657
1673
 
1658
1674
  interface RadioGroupProps extends StylingProps, Omit<AriaRadioGroupProps, "description" | "errorMessage" | "isRequired" | "isInvalid" | "validate" | "validationBehavior" | "validationState"> {
1659
1675
  /**
@@ -1700,11 +1716,11 @@ interface RadioGroupProps extends StylingProps, Omit<AriaRadioGroupProps, "descr
1700
1716
  isDisabled: boolean;
1701
1717
  optionLabelPosition: "start" | "end";
1702
1718
  isReadOnly?: boolean;
1703
- }) => React.ReactNode;
1719
+ }) => React__default.ReactNode;
1704
1720
  /** The class name for the group container. */
1705
1721
  optionsContainerClassName?: string;
1706
1722
  /** The style for the group container. */
1707
- optionsContainerStyle?: React.CSSProperties;
1723
+ optionsContainerStyle?: React__default.CSSProperties;
1708
1724
  /** The ids of the items that are disabled. */
1709
1725
  disabledValues?: string[];
1710
1726
  /**
@@ -1716,21 +1732,21 @@ interface RadioGroupProps extends StylingProps, Omit<AriaRadioGroupProps, "descr
1716
1732
  /** The className applicable to the label. */
1717
1733
  optionClassName?: string;
1718
1734
  /** The style applicable to the label. */
1719
- optionStyle?: React.CSSProperties;
1735
+ optionStyle?: React__default.CSSProperties;
1720
1736
  }
1721
1737
 
1722
- declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
1738
+ declare const RadioGroup: React__default.ForwardRefExoticComponent<RadioGroupProps & React__default.RefAttributes<HTMLDivElement>>;
1723
1739
 
1724
1740
  interface ModalProps extends OverlayTriggerProps {
1725
1741
  /** The contents of the modal. */
1726
- children: React.ReactNode;
1742
+ children: React__default.ReactNode;
1727
1743
  }
1728
1744
  interface ModalContentProps extends Omit<AriaModalOverlayProps, "isDismissable" | "isKeyboardDismissDisabled">, StylingProps {
1729
1745
  /**
1730
1746
  * The contents of the modal. Can be a React node or a function that returns a
1731
1747
  * React node.
1732
1748
  */
1733
- children: React.ReactNode | ((props: OverlayTriggerState) => React.ReactNode);
1749
+ children: React__default.ReactNode | ((props: OverlayTriggerState) => React__default.ReactNode);
1734
1750
  /**
1735
1751
  * The container element for the modal. By default, the modal is rendered as a
1736
1752
  * child of the body element.
@@ -1772,16 +1788,16 @@ interface ModalContentProps extends Omit<AriaModalOverlayProps, "isDismissable"
1772
1788
  isKeyboardDismissDisabled?: boolean | ((isDrawer: boolean) => boolean);
1773
1789
  }
1774
1790
 
1775
- declare const Modal: React.FC<ModalProps>;
1791
+ declare const Modal: React__default.FC<ModalProps>;
1776
1792
 
1777
- declare const ModalContent: React.FC<ModalContentProps>;
1793
+ declare const ModalContent: React__default.FC<ModalContentProps>;
1778
1794
 
1779
- declare const ModalTrigger: React.FC<{
1780
- children: React.ReactNode;
1795
+ declare const ModalTrigger: React__default.FC<{
1796
+ children: React__default.ReactNode;
1781
1797
  }>;
1782
1798
 
1783
- declare const ModalClose: React.FC<{
1784
- children: React.ReactNode;
1799
+ declare const ModalClose: React__default.FC<{
1800
+ children: React__default.ReactNode;
1785
1801
  }>;
1786
1802
 
1787
1803
  interface MessageFormatProps {
@@ -1791,14 +1807,14 @@ interface MessageFormatProps {
1791
1807
  * it with another React element (recommended), specify a different tagName
1792
1808
  * (e.g., 'div')
1793
1809
  */
1794
- elementType?: React.ElementType | "div" | "span";
1810
+ elementType?: React__default.ElementType | "div" | "span";
1795
1811
  /** The id of the message to format. */
1796
1812
  id: string;
1797
1813
  /** The default message to use if the message id is not found. */
1798
1814
  defaultMessage?: string;
1799
1815
  }
1800
1816
 
1801
- declare const MessageFormat: React.FC<MessageFormatProps>;
1817
+ declare const MessageFormat: React__default.FC<MessageFormatProps>;
1802
1818
 
1803
1819
  interface GroupProps extends StylingProps, AriaLabelingProps {
1804
1820
  /**
@@ -1814,13 +1830,13 @@ interface GroupProps extends StylingProps, AriaLabelingProps {
1814
1830
  /** Whether the group is disabled. */
1815
1831
  isDisabled?: boolean;
1816
1832
  /** The children to render. */
1817
- children: React.ReactNode;
1833
+ children: React__default.ReactNode;
1818
1834
  }
1819
1835
 
1820
- declare const Group: React.ForwardRefExoticComponent<GroupProps & React.RefAttributes<HTMLDivElement>>;
1836
+ declare const Group: React__default.ForwardRefExoticComponent<GroupProps & React__default.RefAttributes<HTMLDivElement>>;
1821
1837
 
1822
1838
  declare type SprinkleProps = Parameters<Sprinkles>[0];
1823
- interface BoxProps extends Pick<StylingProps, "data-block-id">, Omit<React.ComponentPropsWithoutRef<"div">, "color">, SprinkleProps {
1839
+ interface BoxProps extends Pick<StylingProps, "data-block-id">, Omit<React__default.ComponentPropsWithoutRef<"div">, "color">, SprinkleProps {
1824
1840
  /**
1825
1841
  * The HTML element to use for the box.
1826
1842
  *
@@ -1829,11 +1845,11 @@ interface BoxProps extends Pick<StylingProps, "data-block-id">, Omit<React.Compo
1829
1845
  elementType?: string;
1830
1846
  }
1831
1847
 
1832
- declare const Box: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLDivElement>>;
1848
+ declare const Box: React__default.ForwardRefExoticComponent<BoxProps & React__default.RefAttributes<HTMLDivElement>>;
1833
1849
 
1834
1850
  interface ToolbarProps extends StylingProps, AriaToolbarProps {
1835
1851
  /** The children of the toolbar. */
1836
- children: React.ReactNode;
1852
+ children: React__default.ReactNode;
1837
1853
  /**
1838
1854
  * Identifies the element (or elements) whose contents or presence are
1839
1855
  * controlled by the current element.
@@ -1862,9 +1878,9 @@ interface ToolbarProps extends StylingProps, AriaToolbarProps {
1862
1878
  onKeyDown?: KeyboardProps["onKeyDown"];
1863
1879
  }
1864
1880
 
1865
- declare const Toolbar: React.ForwardRefExoticComponent<ToolbarProps & React.RefAttributes<HTMLDivElement>>;
1881
+ declare const Toolbar: React__default.ForwardRefExoticComponent<ToolbarProps & React__default.RefAttributes<HTMLDivElement>>;
1866
1882
 
1867
- interface ToggleIconButtonProps extends Omit<StylingProps, "style" | "className">, Omit<ToggleProps, "children">, Omit<ToggleButtonProps, "size" | "iconStart" | "label">, Pick<ActionIconButtonProps, "tooltip">, StylingWithUIState<{
1883
+ interface ToggleIconButtonProps extends Omit<StylingProps, "style" | "className">, Omit<ToggleProps, "children">, Omit<ToggleButtonProps, "size" | "iconStart" | "label" | "variant">, Pick<ActionIconButtonProps, "tooltip">, StylingWithUIState<{
1868
1884
  isSelected?: boolean;
1869
1885
  }> {
1870
1886
  /**
@@ -1880,15 +1896,15 @@ interface ToggleIconButtonProps extends Omit<StylingProps, "style" | "className"
1880
1896
  * `selected` and `unselected` keys to display different icons based on the
1881
1897
  * state of the button.
1882
1898
  */
1883
- icon: React.FC<IconProps> | {
1884
- selected: React.FC<IconProps>;
1885
- unselected: React.FC<IconProps>;
1899
+ icon: React__default.FC<IconProps> | {
1900
+ selected: React__default.FC<IconProps>;
1901
+ unselected: React__default.FC<IconProps>;
1886
1902
  };
1887
1903
  /** Indicates whether focusing should be prevented on press. */
1888
1904
  preventFocusOnPress?: boolean;
1889
1905
  }
1890
1906
 
1891
- declare const ToggleIconButton: React.ForwardRefExoticComponent<ToggleIconButtonProps & React.RefAttributes<HTMLButtonElement>>;
1907
+ declare const ToggleIconButton: React__default.ForwardRefExoticComponent<ToggleIconButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
1892
1908
 
1893
1909
  interface MentionableUser {
1894
1910
  id: string;
@@ -1957,7 +1973,7 @@ interface EditorProps extends StylingProps, AriaLabelingProps {
1957
1973
  *
1958
1974
  * @default ArrowUpCircleFilledIcon
1959
1975
  */
1960
- submitButtonIcon?: React.FC<IconProps>;
1976
+ submitButtonIcon?: React__default.FC<IconProps>;
1961
1977
  /**
1962
1978
  * Optional property that represents the ARIA label for the cancel button.
1963
1979
  *
@@ -2010,7 +2026,7 @@ interface EditorProps extends StylingProps, AriaLabelingProps {
2010
2026
  props: Omit<ToggleIconButtonProps, "size" | "variant">;
2011
2027
  })[];
2012
2028
  /** The imperative handle for manipulating editor. */
2013
- editorHandle?: React.RefObject<EditorHandle>;
2029
+ editorHandle?: React__default.RefObject<EditorHandle>;
2014
2030
  /**
2015
2031
  * Whether to clear the editor value when the editor is saved.
2016
2032
  *
@@ -2037,7 +2053,7 @@ interface EditorProps extends StylingProps, AriaLabelingProps {
2037
2053
  saveOnEnter?: boolean;
2038
2054
  }
2039
2055
 
2040
- declare const Editor: React.MemoExoticComponent<React.ForwardRefExoticComponent<EditorProps & React.RefAttributes<HTMLDivElement>>>;
2056
+ declare const Editor: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<EditorProps & React__default.RefAttributes<HTMLDivElement>>>;
2041
2057
 
2042
2058
  interface ScrollControlButtonProps extends StylingProps, Pick<ActionButtonProps, "label"> {
2043
2059
  /**
@@ -2045,7 +2061,7 @@ interface ScrollControlButtonProps extends StylingProps, Pick<ActionButtonProps,
2045
2061
  *
2046
2062
  * @default document.body
2047
2063
  */
2048
- scrollRef?: React.RefObject<HTMLElement>;
2064
+ scrollRef?: React__default.RefObject<HTMLElement>;
2049
2065
  /**
2050
2066
  * Indicates whether the button should be hidden when the keyboard is being
2051
2067
  * used.
@@ -2068,16 +2084,16 @@ interface ScrollControlButtonProps extends StylingProps, Pick<ActionButtonProps,
2068
2084
  smoothScroll?: boolean;
2069
2085
  }
2070
2086
 
2071
- declare const ScrollControlButton: React.ForwardRefExoticComponent<ScrollControlButtonProps & React.RefAttributes<HTMLButtonElement>>;
2087
+ declare const ScrollControlButton: React__default.ForwardRefExoticComponent<ScrollControlButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
2072
2088
 
2073
2089
  interface TransitionProps extends StylingProps {
2074
2090
  isMounted: boolean;
2075
2091
  transitions: UseTransitionProps;
2076
- elementType?: keyof React.ReactHTML;
2077
- children: React.ReactNode;
2092
+ elementType?: keyof React__default.ReactHTML;
2093
+ children: React__default.ReactNode;
2078
2094
  }
2079
2095
 
2080
- declare const Transition: React.ForwardRefExoticComponent<TransitionProps & React.RefAttributes<HTMLElement>>;
2096
+ declare const Transition: React__default.ForwardRefExoticComponent<TransitionProps & React__default.RefAttributes<HTMLElement>>;
2081
2097
 
2082
2098
  interface AlertDialogProps extends StylingProps {
2083
2099
  /**
@@ -2089,7 +2105,7 @@ interface AlertDialogProps extends StylingProps {
2089
2105
  * The message of the dialog. This is the main content of the dialog and is
2090
2106
  * displayed below the title.
2091
2107
  */
2092
- message?: React.ReactNode;
2108
+ message?: React__default.ReactNode;
2093
2109
  /**
2094
2110
  * The label for the cancel button. This is the text that is displayed on the
2095
2111
  * button that allows the user to cancel the dialog.
@@ -2123,7 +2139,7 @@ interface AlertDialogProps extends StylingProps {
2123
2139
  * The icon that is displayed at the top of the dialog. This is typically used
2124
2140
  * to display an icon that represents the type of alert that is being shown.
2125
2141
  */
2126
- icon?: React.FC<IconProps>;
2142
+ icon?: React__default.FC<IconProps>;
2127
2143
  /** The color of the icon. This is the color that is used to fill the icon. */
2128
2144
  iconColor?: string;
2129
2145
  /**
@@ -2136,7 +2152,7 @@ interface AlertDialogProps extends StylingProps {
2136
2152
  showCloseButton?: boolean;
2137
2153
  }
2138
2154
 
2139
- declare const AlertDialog: React.ForwardRefExoticComponent<AlertDialogProps & React.RefAttributes<HTMLDivElement>>;
2155
+ declare const AlertDialog: React__default.ForwardRefExoticComponent<AlertDialogProps & React__default.RefAttributes<HTMLDivElement>>;
2140
2156
 
2141
2157
  interface MarkdownProps extends StylingProps {
2142
2158
  /** The markdown to render. */
@@ -2145,7 +2161,7 @@ interface MarkdownProps extends StylingProps {
2145
2161
  showCaret?: boolean;
2146
2162
  }
2147
2163
 
2148
- declare const Markdown: React.ForwardRefExoticComponent<MarkdownProps & React.RefAttributes<HTMLDivElement>>;
2164
+ declare const Markdown: React__default.ForwardRefExoticComponent<MarkdownProps & React__default.RefAttributes<HTMLDivElement>>;
2149
2165
 
2150
2166
  interface AudioPlayerProps extends StylingProps, AriaLabelingProps {
2151
2167
  /**
@@ -2173,7 +2189,7 @@ interface AudioPlayerProps extends StylingProps, AriaLabelingProps {
2173
2189
  size?: "sm" | "lg";
2174
2190
  }
2175
2191
 
2176
- declare const AudioPlayer: React.ForwardRefExoticComponent<AudioPlayerProps & React.RefAttributes<HTMLDivElement>>;
2192
+ declare const AudioPlayer: React__default.ForwardRefExoticComponent<AudioPlayerProps & React__default.RefAttributes<HTMLDivElement>>;
2177
2193
 
2178
2194
  interface Item {
2179
2195
  id: string;
@@ -2256,7 +2272,7 @@ interface ImageGalleryProps extends StylingProps, Omit<ListBoxProps, "items" | "
2256
2272
  /** A callback that is called when an image is deleted. */
2257
2273
  onDelete?: (keys: Selection$1) => void;
2258
2274
  /** A callback that is called when a key is pressed. */
2259
- onKeyDown?: (event: React.KeyboardEvent<HTMLDivElement>) => void;
2275
+ onKeyDown?: (event: React__default.KeyboardEvent<HTMLDivElement>) => void;
2260
2276
  /** ClassName for each item container */
2261
2277
  imageContainerClassName?: string;
2262
2278
  /** ClassName for each item image */
@@ -2265,18 +2281,18 @@ interface ImageGalleryProps extends StylingProps, Omit<ListBoxProps, "items" | "
2265
2281
  labelClassName?: string;
2266
2282
  /** A callback that is called to render the image. */
2267
2283
  renderImage?: (item: ListOption<Pick<Item, "alt" | "src">>, options: {
2268
- deleteElement?: React.ReactElement;
2284
+ deleteElement?: React__default.ReactElement;
2269
2285
  onDelete?: (id: string) => void;
2270
- }) => React.ReactElement;
2286
+ }) => React__default.ReactElement;
2271
2287
  /** The dimensions of the grid. */
2272
- imageContainerStyle?: React.CSSProperties;
2288
+ imageContainerStyle?: React__default.CSSProperties;
2273
2289
  /** The dimensions of the image. */
2274
2290
  imageDimensions?: Dimension | ((item: Item, options: {
2275
2291
  isSelected: boolean;
2276
2292
  }) => Dimension);
2277
2293
  }
2278
2294
 
2279
- declare const ImageGallery: React.ForwardRefExoticComponent<ImageGalleryProps & React.RefAttributes<HTMLDivElement>>;
2295
+ declare const ImageGallery: React__default.ForwardRefExoticComponent<ImageGalleryProps & React__default.RefAttributes<HTMLDivElement>>;
2280
2296
 
2281
2297
  interface ButtonSelectProps extends StylingProps, Pick<SelectProps, "isDisabled" | "validationState" | "onSelectionChange" | "selectedKey" | "defaultSelectedKey" | "items" | "showSelectedIcon" | "isOpen" | "defaultOpen" | "triggerClassName" | "triggerStyle">, Pick<ToggleButtonProps, "onPress" | "isSelected" | "defaultSelected" | "excludeFromTabOrder">, AriaLabelingProps {
2282
2298
  /**
@@ -2304,15 +2320,15 @@ interface ButtonSelectProps extends StylingProps, Pick<SelectProps, "isDisabled"
2304
2320
  isSelected: boolean;
2305
2321
  }) => string);
2306
2322
  /** A function that is called to get the style for the option. */
2307
- optionStyle?: React.CSSProperties | ((item: ListOption, options: {
2323
+ optionStyle?: React__default.CSSProperties | ((item: ListOption, options: {
2308
2324
  isButton: boolean;
2309
2325
  isSelected: boolean;
2310
- }) => React.CSSProperties);
2326
+ }) => React__default.CSSProperties);
2311
2327
  /** Props for the tooltip. */
2312
2328
  tooltipProps?: Omit<TooltipProps, "children"> | ((trigger: "button" | "select") => Omit<TooltipProps, "children">);
2313
2329
  }
2314
2330
 
2315
- declare const ButtonSelect: React.ForwardRefExoticComponent<ButtonSelectProps & React.RefAttributes<HTMLDivElement>>;
2331
+ declare const ButtonSelect: React__default.ForwardRefExoticComponent<ButtonSelectProps & React__default.RefAttributes<HTMLDivElement>>;
2316
2332
 
2317
2333
  interface ComboBoxProps extends StylingProps, Omit<AriaComboBoxOptions<ListItem>, "items" | "children" | "inputRef" | "popoverRef" | "listBoxRef" | "buttonRef" | "validationState" | "errorMessage" | "description">, Omit<AriaComboBoxProps<ListItem>, "items" | "children" | "errorMessage" | "description" | "validationState">, Omit<ListBoxProps, "autoFocus" | "onBlur" | "onFocus" | "onSelectionChange" | "selectionBehavior" | "selectionMode" | "selectedKeys" | "defaultSelectedKeys" | "renderDropIndicator" | "renderDragPreview" | "dropIndicatorClassName" | "dropIndicatorStyle" | keyof DragAndDropProps>, AriaValidationProps, Omit<ComboBoxStateOptions<ListItem>, "items" | "children" | "errorMessage" | "description" | "validationState" | "selectedKey">, InputMessage {
2318
2334
  /** ID of the initially selected item */
@@ -2338,7 +2354,7 @@ interface ComboBoxProps extends StylingProps, Omit<AriaComboBoxOptions<ListItem>
2338
2354
  /** Whether the input is read only. */
2339
2355
  readOnly?: boolean;
2340
2356
  /** The style object to apply to the input element */
2341
- inputStyle?: React.CSSProperties;
2357
+ inputStyle?: React__default.CSSProperties;
2342
2358
  /** The class name to apply to the input element */
2343
2359
  inputClassName?: string;
2344
2360
  /** Optional label for the toggle button */
@@ -2353,7 +2369,7 @@ interface ComboBoxProps extends StylingProps, Omit<AriaComboBoxOptions<ListItem>
2353
2369
  renderOption?: (item: Node$1<ListItem>, options: OptionAria & {
2354
2370
  showSelectedIcon?: boolean;
2355
2371
  _state: ListState<ListItem>;
2356
- }, ref: React.Ref<HTMLLIElement>) => React.ReactNode;
2372
+ }, ref: React__default.Ref<HTMLLIElement>) => React__default.ReactNode;
2357
2373
  filterItems?: boolean;
2358
2374
  onInputChange?: (value: string) => void;
2359
2375
  showIcon?: boolean;
@@ -2405,7 +2421,7 @@ interface ComboBoxProps extends StylingProps, Omit<AriaComboBoxOptions<ListItem>
2405
2421
  maxValue?: number;
2406
2422
  }
2407
2423
 
2408
- declare const ComboBox: React.ForwardRefExoticComponent<ComboBoxProps & React.RefAttributes<HTMLDivElement>>;
2424
+ declare const ComboBox: React__default.ForwardRefExoticComponent<ComboBoxProps & React__default.RefAttributes<HTMLDivElement>>;
2409
2425
 
2410
2426
  interface ColorSwatchProps extends Omit<AriaColorSwatchProps, "colorName">, StylingProps, DOMProps, AriaLabelingProps {
2411
2427
  /** Whether the swatch is focused by keyboard. */
@@ -2424,7 +2440,7 @@ interface ColorSwatchProps extends Omit<AriaColorSwatchProps, "colorName">, Styl
2424
2440
  isDisabled?: boolean;
2425
2441
  }
2426
2442
 
2427
- declare const ColorSwatch: React.ForwardRefExoticComponent<ColorSwatchProps & React.RefAttributes<HTMLDivElement>>;
2443
+ declare const ColorSwatch: React__default.ForwardRefExoticComponent<ColorSwatchProps & React__default.RefAttributes<HTMLDivElement>>;
2428
2444
 
2429
2445
  interface GridListHandle {
2430
2446
  /** Sets the selection manager focus state */
@@ -2484,7 +2500,7 @@ declare type GridListProps = Omit<StylingProps & ListProps<ListOption> & AriaGri
2484
2500
  */
2485
2501
  renderGridItem: (item: Node$1<ListOption>, options: GridListItemAria & {
2486
2502
  checkBoxProps?: CheckboxProps;
2487
- }, ref: React.Ref<HTMLLIElement>) => React.ReactElement;
2503
+ }, ref: React__default.Ref<HTMLLIElement>) => React__default.ReactElement;
2488
2504
  /**
2489
2505
  * Enables editing mode which disables keydown event capturing, useful
2490
2506
  * when you may want the internal `GridList` from taking away focus from
@@ -2494,10 +2510,10 @@ declare type GridListProps = Omit<StylingProps & ListProps<ListOption> & AriaGri
2494
2510
  */
2495
2511
  isEditing?: boolean;
2496
2512
  /** Handle to access the gridlist imperative methods. */
2497
- gridListHandle?: React.RefObject<GridListHandle>;
2513
+ gridListHandle?: React__default.RefObject<GridListHandle>;
2498
2514
  }, "children" | "suppressTextValueWarning" | "allowDuplicateSelectionEvents" | "linkBehavior" | "keyboardDelegate" | "isVirtualized" | "filter">;
2499
2515
 
2500
- declare const GridList: React.ForwardRefExoticComponent<GridListProps & React.RefAttributes<HTMLUListElement>>;
2516
+ declare const GridList: React__default.ForwardRefExoticComponent<GridListProps & React__default.RefAttributes<HTMLUListElement>>;
2501
2517
 
2502
2518
  interface ActionGroupProps extends StylingProps, Omit<AriaActionGroupProps<ListItem>, "children"> {
2503
2519
  /** The items to display in the action group. */
@@ -2529,11 +2545,11 @@ interface ActionGroupProps extends StylingProps, Omit<AriaActionGroupProps<ListI
2529
2545
  renderActionItem?: (item: Node$2<ListItem>, options: {
2530
2546
  isSelected?: boolean;
2531
2547
  isDisabled?: boolean;
2532
- }) => React.ReactNode;
2548
+ }) => React__default.ReactNode;
2533
2549
  }
2534
2550
 
2535
- declare const ActionGroup: React.ForwardRefExoticComponent<ActionGroupProps & React.RefAttributes<HTMLDivElement>>;
2536
- declare const ActionGroupItem: React.FC<ActionGroupItemProps>;
2551
+ declare const ActionGroup: React__default.ForwardRefExoticComponent<ActionGroupProps & React__default.RefAttributes<HTMLDivElement>>;
2552
+ declare const ActionGroupItem: React__default.FC<ActionGroupItemProps>;
2537
2553
  interface ActionGroupItemProps extends Pick<ActionGroupProps, "tooltipProps" | "renderActionItem" | "onAction" | "isDisabled"> {
2538
2554
  item: Node$2<ListItem>;
2539
2555
  state: ListState<ListItem>;
@@ -2555,7 +2571,7 @@ interface ColorSwatchPickerProps extends StylingProps, Pick<RadioGroupProps, "op
2555
2571
  */
2556
2572
  items: ColorPreset[];
2557
2573
  /** The icon visible at the start of the picker. */
2558
- icon?: React.FC<IconProps>;
2574
+ icon?: React__default.FC<IconProps>;
2559
2575
  /**
2560
2576
  * The value of the selected item. This is useful if you want to control the
2561
2577
  * value of the picker.
@@ -2571,7 +2587,182 @@ interface ColorSwatchPickerProps extends StylingProps, Pick<RadioGroupProps, "op
2571
2587
  isDisabled?: boolean;
2572
2588
  }
2573
2589
 
2574
- declare const ColorSwatchPicker: React.ForwardRefExoticComponent<ColorSwatchPickerProps & React.RefAttributes<HTMLDivElement>>;
2590
+ declare const ColorSwatchPicker: React__default.ForwardRefExoticComponent<ColorSwatchPickerProps & React__default.RefAttributes<HTMLDivElement>>;
2591
+
2592
+ interface TreeListItem extends ListOption {
2593
+ children?: TreeListItem[];
2594
+ }
2595
+ interface TreeViewProps extends StylingProps, Omit<AriaLabelingProps, "aria-describedby" | "aria-details">, Omit<TreeProps<TreeListItem>, "items" | "children" | "disabledKeys" | "selectedKeys" | "defaultSelectedKeys" | "onSelectionChange" | "collection" | "selectionMode"> {
2596
+ /**
2597
+ * The items to display in the tree view. Each item can be a leaf or a
2598
+ * section.
2599
+ *
2600
+ * @example
2601
+ * ```tsx
2602
+ * const treeItems = {
2603
+ * id: "root",
2604
+ * label: "Root item",
2605
+ * children: [
2606
+ * {
2607
+ * id: "documents",
2608
+ * label: "Documents",
2609
+ * icon: EllipseIcon,
2610
+ * children: [
2611
+ * {
2612
+ * id: "work",
2613
+ * icon: EllipseIcon,
2614
+ * label: "Work",
2615
+ * children: [
2616
+ * {
2617
+ * id: "project-a",
2618
+ * icon: EllipseIcon,
2619
+ * label: "Project A",
2620
+ * },
2621
+ * ],
2622
+ * },
2623
+ * {
2624
+ * id: "personal",
2625
+ * icon: EllipseIcon,
2626
+ * label: "Personal",
2627
+ * },
2628
+ * ],
2629
+ * },
2630
+ * {
2631
+ * id: "downloads",
2632
+ * icon: EllipseIcon,
2633
+ * label: "Downloads",
2634
+ * },
2635
+ * ],
2636
+ * };
2637
+ * ```;
2638
+ */
2639
+ items: TreeListItem;
2640
+ /**
2641
+ * The id of the root item. If not provided, the id of the first item will be
2642
+ * used.
2643
+ */
2644
+ rootId?: string;
2645
+ /** The callback function that is called when the item is collapsed. */
2646
+ onCollapse?: (key: Key) => void;
2647
+ /** The callback function that is called when the item is expanded. */
2648
+ onExpand?: (key: Key) => void;
2649
+ /**
2650
+ * The callback function that is called when the primary action is triggered.
2651
+ * If not provided, the primary action will not be shown.
2652
+ */
2653
+ onPrimaryAction?: (key: Key) => void;
2654
+ /**
2655
+ * The callback function that is called when the secondary action is
2656
+ * triggered. If not provided, the secondary action will not be shown.
2657
+ */
2658
+ onSecondaryAction?: (key: Key) => void;
2659
+ /** The icon to use for the primary action. */
2660
+ primaryActionIcon?: ToggleIconButtonProps["icon"];
2661
+ /** The icon to use for the secondary action. */
2662
+ secondaryActionIcon?: ToggleIconButtonProps["icon"];
2663
+ /** The aria label for the primary action. */
2664
+ primaryActionAriaLabel?: string | ((key: Key) => string);
2665
+ /** The aria label for the secondary action. */
2666
+ secondaryActionAriaLabel?: string | ((key: Key) => string);
2667
+ /**
2668
+ * The position of the actions.
2669
+ *
2670
+ * @default "end"
2671
+ */
2672
+ actionsPosition?: "start" | "end";
2673
+ /**
2674
+ * The callback function that is called when the item is renamed. The rename
2675
+ * functionality is disabled if not provided.
2676
+ */
2677
+ onRename?: (options: {
2678
+ key: Key;
2679
+ value: string;
2680
+ }) => void;
2681
+ /** The callback function that is called when the item is clicked. */
2682
+ onAction?: (key: Key) => void;
2683
+ /**
2684
+ * The callback function that is called to render the item title.
2685
+ *
2686
+ * @default item => item.label
2687
+ */
2688
+ renderItemTitle?: (item: ReactComplexTreeItem) => ReactNode;
2689
+ }
2690
+
2691
+ declare type ReactComplexTreeItem = TreeItem<{
2692
+ label: string;
2693
+ description?: string;
2694
+ icon?: React__default.ElementType;
2695
+ posInset: number;
2696
+ setSize: number;
2697
+ [key: string]: unknown;
2698
+ }>;
2699
+ declare const TreeView: React__default.ForwardRefExoticComponent<TreeViewProps & React__default.RefAttributes<HTMLDivElement>>;
2700
+
2701
+ interface PanelProps extends StylingProps {
2702
+ /** Content */
2703
+ children: ReactNode;
2704
+ /**
2705
+ * Panel collapses to this size
2706
+ *
2707
+ * @default 0
2708
+ */
2709
+ collapsedSize?: PanelProps$1["collapsedSize"];
2710
+ /**
2711
+ * Whether panel can be collapsed when resized beyond `minSize`
2712
+ *
2713
+ * @default false
2714
+ */
2715
+ isCollapsible?: PanelProps$1["collapsible"];
2716
+ /** Initial size of the panel, accepts value between 0 - 100 */
2717
+ defaultSize?: PanelProps$1["defaultSize"];
2718
+ /**
2719
+ * Maximum allowed size for the panel, accepts value between 0 - 100
2720
+ *
2721
+ * @default 100
2722
+ */
2723
+ maxSize?: PanelProps$1["maxSize"];
2724
+ /**
2725
+ * Minimum allowed size for the panel, accepts value between 0 - 100
2726
+ *
2727
+ * @default 10
2728
+ */
2729
+ minSize?: PanelProps$1["minSize"];
2730
+ /** Called with current panel size on resize */
2731
+ onResize?: PanelProps$1["onResize"];
2732
+ }
2733
+ interface PanelGroupProps extends StylingProps {
2734
+ /** Content comprising `Panel` and `PanelResizeHandle` */
2735
+ children: ReactNode;
2736
+ /** Orientation of the layout */
2737
+ direction: PanelGroupProps$1["direction"];
2738
+ /** Called with current panel sizes when group layout changes */
2739
+ onLayout?: PanelGroupProps$1["onLayout"];
2740
+ }
2741
+ interface PanelResizeHandleProps extends StylingProps {
2742
+ /**
2743
+ * Disables resizing
2744
+ *
2745
+ * @default false
2746
+ */
2747
+ isDisabled?: PanelResizeHandleProps$1["disabled"];
2748
+ }
2749
+ interface PanelResizeHandleProps extends StylingProps {
2750
+ }
2751
+ interface ImperativePanelGroupHandle {
2752
+ setLayout?: ImperativePanelGroupHandle$1["setLayout"];
2753
+ }
2754
+ interface ImperativePanelHandle {
2755
+ resize?: ImperativePanelHandle$1["resize"];
2756
+ }
2757
+
2758
+ declare const Panel: React.ForwardRefExoticComponent<PanelProps & React.RefAttributes<ImperativePanelHandle>>;
2759
+
2760
+ declare const PanelGroup: React.ForwardRefExoticComponent<PanelGroupProps & React.RefAttributes<ImperativePanelGroupHandle>>;
2761
+
2762
+ declare const PanelResizeHandle: {
2763
+ ({ className, isDisabled, ...props }: PanelResizeHandleProps): react_jsx_runtime.JSX.Element;
2764
+ displayName: string;
2765
+ };
2575
2766
 
2576
2767
  /**
2577
2768
  * A hook that creates an IntersectionObserver and observes a target element.
@@ -2609,9 +2800,9 @@ declare const ColorSwatchPicker: React.ForwardRefExoticComponent<ColorSwatchPick
2609
2800
  */
2610
2801
  declare function useIntersectionObserver({ ref, onIntersect, isDisabled, threshold, rootMargin, root, }: IntersectionObserverOptions): void;
2611
2802
  interface IntersectionObserverOptions {
2612
- ref: React.RefObject<HTMLElement>;
2803
+ ref: React__default.RefObject<HTMLElement>;
2613
2804
  onIntersect: (entry: IntersectionObserverEntry) => void;
2614
- root?: React.RefObject<HTMLElement>;
2805
+ root?: React__default.RefObject<HTMLElement>;
2615
2806
  rootMargin?: string;
2616
2807
  threshold?: number;
2617
2808
  isDisabled?: boolean;
@@ -2650,7 +2841,7 @@ declare function useResizeObserver({ ref, onResize, isDisabled, }: ResizeObserve
2650
2841
  } | undefined;
2651
2842
  };
2652
2843
  interface ResizeObserverOptions {
2653
- ref: React.RefObject<HTMLElement>;
2844
+ ref: React__default.RefObject<HTMLElement>;
2654
2845
  onResize?: (entry: ResizeObserverEntry) => void;
2655
2846
  isDisabled?: boolean;
2656
2847
  }
@@ -2864,7 +3055,7 @@ declare function useLocalStorage<T>(key: string, initialValue: T): [T, SetValue<
2864
3055
  */
2865
3056
  declare function useTextSelection({ ref, onSelectionChange, onSelectionEnd, isDisabled, }: TextSelectionProps): void;
2866
3057
  interface TextSelectionProps {
2867
- ref: React.RefObject<HTMLElement>;
3058
+ ref: React__default.RefObject<HTMLElement>;
2868
3059
  onSelectionChange: (selection: Selection) => void;
2869
3060
  onSelectionEnd?: (selection: Selection) => void;
2870
3061
  isDisabled?: boolean;
@@ -2903,4 +3094,4 @@ declare type Device = ReturnType<typeof useDevice>;
2903
3094
  */
2904
3095
  declare function usePortalContainer(_portalContainer?: HTMLElement): HTMLElement | undefined;
2905
3096
 
2906
- export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionButton, type ActionButtonProps, ActionGroup, ActionGroupItem, type ActionGroupProps, ActionIconButton, type ActionIconButtonProps, AlertDialog, type AlertDialogProps, AudioPlayer, type AudioPlayerProps, Avatar, type AvatarProps, type BlockProps, Box, type BoxProps, ButtonSelect, type ButtonSelectProps, Checkbox, type CheckboxProps, ColorInput, type ColorInputProps, type ColorPreset, ColorSwatch, ColorSwatchPicker, type ColorSwatchPickerProps, type ColorSwatchProps, ComboBox, type ComboBoxProps, DateFormat, type DateFormatProps, type Device, Dialog, type DialogProps, DialogTitle, type DialogTitleProps, DomNodeRenderer, type DomNodeRendererProps, Drawer, type DrawerProps, Editor, type EditorHandle, type EditorProps, FileUpload, type FileUploadProps, FreehandCanvas, type FreehandCanvasProps, GridList, type GridListHandle, type GridListProps, Group, type GroupProps, I18nProvider, type I18nResult, IconColorInput, IconColorInputButton, type IconColorInputProps, IconSelect, type IconSelectProps, IconSlider, type IconSliderProps, ImageDropZone, type ImageDropZoneProps, ImageGallery, type ImageGalleryProps, InlineAlert, type InlineAlertProps, Link, type LinkProps, ListBox, type ListBoxProps, type ListOption, Markdown, type MarkdownProps, Menu, type MenuItem, type MenuProps, type MessageDescriptor, MessageFormat, type MessageFormatProps, Modal, ModalClose, ModalContent, type ModalContentProps, type ModalProps, ModalTrigger, NumberFormat, type NumberFormatProps, NumberInput, type NumberInputProps, Pagination, type PaginationProps, Popover, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Portal, PortalContainerProvider, type PortalProps, Preview, type PreviewProps, ProgressBar, type ProgressBarProps, ProgressSpinner, type ProgressSpinnerProps, RadioGroup, type RadioGroupProps, Reaction, type ReactionProps, type Rect, ScrollControlButton, type ScrollControlButtonProps, SearchInput, type SearchInputProps, Select, type SelectProps, Separator, type SeparatorProps, Slider, type SliderProps, type StylingProps, Switch, type SwitchProps, TabItem, type TabItemProps, Tabs, type TabsProps, TagGroup, type TagGroupProps, Text, TextInput, type TextInputProps, type TextProps, ThemeProvider, type ThemeProviderProps, ToggleButton, type ToggleButtonProps, ToggleIconButton, type ToggleIconButtonProps, Toolbar, type ToolbarProps, Tooltip, type TooltipProps, Transform, type TransformProps, Transition, type TransitionProps, defineMessages, isInsideOverlayContent, isRect, useDevice, useI18n, useImage, useIntersectionObserver, useIsFirstRender, useLocalStorage, useMutationObserver, usePortalContainer, useResizeObserver, useTextSelection, useUndoRedo, useUserPreferences };
3097
+ export { Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionButton, type ActionButtonProps, ActionGroup, ActionGroupItem, type ActionGroupProps, ActionIconButton, type ActionIconButtonProps, AlertDialog, type AlertDialogProps, AudioPlayer, type AudioPlayerProps, Avatar, type AvatarProps, type BlockProps, Box, type BoxProps, ButtonSelect, type ButtonSelectProps, Checkbox, type CheckboxProps, ColorInput, type ColorInputProps, type ColorPreset, ColorSwatch, ColorSwatchPicker, type ColorSwatchPickerProps, type ColorSwatchProps, ComboBox, type ComboBoxProps, DateFormat, type DateFormatProps, type Device, Dialog, type DialogProps, DialogTitle, type DialogTitleProps, DomNodeRenderer, type DomNodeRendererProps, Drawer, type DrawerProps, Editor, type EditorHandle, type EditorProps, FileUpload, type FileUploadProps, FreehandCanvas, type FreehandCanvasProps, GridList, type GridListHandle, type GridListProps, Group, type GroupProps, I18nProvider, type I18nResult, IconColorInput, IconColorInputButton, type IconColorInputProps, IconSelect, type IconSelectProps, IconSlider, type IconSliderProps, ImageDropZone, type ImageDropZoneProps, ImageGallery, type ImageGalleryProps, type ImperativePanelGroupHandle, type ImperativePanelHandle, InlineAlert, type InlineAlertProps, Link, type LinkProps, ListBox, type ListBoxProps, type ListOption, Markdown, type MarkdownProps, Menu, type MenuItem, type MenuProps, type MessageDescriptor, MessageFormat, type MessageFormatProps, Modal, ModalClose, ModalContent, type ModalContentProps, type ModalProps, ModalTrigger, NumberFormat, type NumberFormatProps, NumberInput, type NumberInputProps, Pagination, type PaginationProps, Panel, PanelGroup, type PanelGroupProps, type PanelProps, PanelResizeHandle, type PanelResizeHandleProps, Popover, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Portal, PortalContainerProvider, type PortalProps, Preview, type PreviewProps, ProgressBar, type ProgressBarProps, ProgressSpinner, type ProgressSpinnerProps, RadioGroup, type RadioGroupProps, type ReactComplexTreeItem, Reaction, type ReactionProps, type Rect, ScrollControlButton, type ScrollControlButtonProps, SearchInput, type SearchInputProps, Select, type SelectProps, Separator, type SeparatorProps, Slider, type SliderProps, type StylingProps, Switch, type SwitchProps, TabItem, type TabItemProps, Tabs, type TabsProps, TagGroup, type TagGroupProps, Text, TextInput, type TextInputProps, type TextProps, ThemeProvider, type ThemeProviderProps, ToggleButton, type ToggleButtonProps, ToggleIconButton, type ToggleIconButtonProps, Toolbar, type ToolbarProps, Tooltip, type TooltipProps, Transform, type TransformProps, Transition, type TransitionProps, TreeView, type TreeViewProps, defineMessages, isInsideOverlayContent, isRect, useDevice, useI18n, useImage, useIntersectionObserver, useIsFirstRender, useLocalStorage, useMutationObserver, usePortalContainer, useResizeObserver, useTextSelection, useUndoRedo, useUserPreferences };