@noya-app/noya-designsystem 0.1.62 → 0.1.64

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 (118) hide show
  1. package/.eslintrc.js +1 -5
  2. package/.turbo/turbo-build.log +10 -10
  3. package/.turbo/turbo-lint.log +0 -1
  4. package/CHANGELOG.md +23 -0
  5. package/dist/index.css +1 -1
  6. package/dist/index.d.mts +299 -179
  7. package/dist/index.d.ts +299 -179
  8. package/dist/index.js +3772 -2999
  9. package/dist/index.js.map +1 -1
  10. package/dist/index.mjs +3485 -2720
  11. package/dist/index.mjs.map +1 -1
  12. package/package.json +10 -22
  13. package/src/__tests__/validateDropIndicator.test.ts +26 -41
  14. package/src/__tests__/workspaceLayout.test.ts +281 -0
  15. package/src/components/ActionMenu.tsx +2 -0
  16. package/src/components/ActivityIndicator.tsx +5 -3
  17. package/src/components/AnimatePresence.tsx +6 -4
  18. package/src/components/Avatar.tsx +4 -2
  19. package/src/components/BaseToolbar.tsx +45 -34
  20. package/src/components/Breadcrumbs.tsx +2 -0
  21. package/src/components/Button.tsx +35 -21
  22. package/src/components/Chip.tsx +2 -0
  23. package/src/components/Collection.tsx +4 -1
  24. package/src/components/ColorSwatch.tsx +42 -22
  25. package/src/components/ColorSwatchControl.tsx +5 -3
  26. package/src/components/Combobox.tsx +2 -0
  27. package/src/components/CommandPalette.tsx +2 -0
  28. package/src/components/ContextMenu.tsx +3 -1
  29. package/src/components/Dialog.tsx +3 -1
  30. package/src/components/DimensionInput.tsx +3 -1
  31. package/src/components/Divider.tsx +10 -6
  32. package/src/components/DraggableMenuButton.tsx +22 -4
  33. package/src/components/Drawer.tsx +11 -3
  34. package/src/components/DropdownMenu.tsx +34 -6
  35. package/src/components/EditableText.tsx +2 -0
  36. package/src/components/FileUploadIndicator.tsx +108 -0
  37. package/src/components/FillPreviewBackground.tsx +2 -0
  38. package/src/components/FloatingWindow.tsx +2 -0
  39. package/src/components/GradientPicker.tsx +2 -0
  40. package/src/components/Grid.tsx +47 -38
  41. package/src/components/GridView.tsx +33 -11
  42. package/src/components/IconButton.tsx +4 -2
  43. package/src/components/Icons.tsx +1 -1
  44. package/src/components/InputField.tsx +7 -5
  45. package/src/components/Label.tsx +1 -3
  46. package/src/components/LabeledElementView.tsx +6 -2
  47. package/src/components/LabeledField.tsx +38 -34
  48. package/src/components/List.tsx +10 -2
  49. package/src/components/ListView.tsx +27 -14
  50. package/src/components/MediaThumbnail.tsx +31 -2
  51. package/src/components/Message.tsx +8 -9
  52. package/src/components/Popover.tsx +15 -4
  53. package/src/components/Progress.tsx +20 -7
  54. package/src/components/ScrollArea.tsx +3 -1
  55. package/src/components/SearchCompletionMenu.tsx +2 -0
  56. package/src/components/Section.tsx +2 -0
  57. package/src/components/SegmentedControl.tsx +43 -17
  58. package/src/components/SelectMenu.tsx +6 -4
  59. package/src/components/SelectionToolbar.tsx +31 -8
  60. package/src/components/Slider.tsx +4 -2
  61. package/src/components/Spacer.tsx +0 -1
  62. package/src/components/Switch.tsx +3 -1
  63. package/src/components/Tabs.tsx +48 -0
  64. package/src/components/Text.tsx +6 -5
  65. package/src/components/TextArea.tsx +2 -0
  66. package/src/components/Toast.tsx +1 -1
  67. package/src/components/Toolbar.tsx +113 -12
  68. package/src/components/ToolbarDrawer.tsx +29 -0
  69. package/src/components/Tooltip.tsx +9 -9
  70. package/src/components/TreeView.tsx +2 -0
  71. package/src/components/UserPointer.tsx +2 -0
  72. package/src/components/ai-assistant/AIAssistantLayout.tsx +2 -0
  73. package/src/components/blocks/ImageBlockComponent.tsx +156 -0
  74. package/src/components/connected-users-menu/ConnectedUsersMenuLayout.tsx +2 -0
  75. package/src/components/file-explorer/FileExplorerLayout.tsx +14 -6
  76. package/src/components/internal/Checkmark.tsx +24 -0
  77. package/src/components/internal/Menu.tsx +21 -3
  78. package/src/components/internal/MenuViewport.tsx +8 -5
  79. package/src/components/internal/SelectItem.tsx +4 -23
  80. package/src/components/internal/TextInput.tsx +2 -0
  81. package/src/components/sorting/DragRegistration.tsx +8 -4
  82. package/src/components/sorting/SharedDragProvider.tsx +43 -18
  83. package/src/components/sorting/Sortable.tsx +19 -10
  84. package/src/components/sorting/createSharedDrag.tsx +7 -6
  85. package/src/components/sorting/sorting.ts +6 -9
  86. package/src/components/workspace/DrawerWorkspaceLayout.tsx +113 -28
  87. package/src/components/workspace/PanelWorkspaceLayout.tsx +149 -16
  88. package/src/components/workspace/VerticalTabMenu.tsx +36 -0
  89. package/src/components/workspace/WorkspaceLayout.tsx +132 -47
  90. package/src/components/workspace/constants.ts +4 -0
  91. package/src/components/workspace/panelStorage.ts +216 -0
  92. package/src/components/workspace/renderPanelChildren.tsx +12 -0
  93. package/src/components/workspace/types.ts +30 -7
  94. package/src/contexts/DesignSystemConfiguration.tsx +12 -5
  95. package/src/contexts/DialogContext.tsx +2 -0
  96. package/src/contexts/FloatingWindowContext.tsx +2 -0
  97. package/src/contexts/GlobalInputBlurContext.tsx +2 -0
  98. package/src/contexts/ImageDataContext.tsx +2 -0
  99. package/src/contexts/LinkComponentContext.tsx +17 -0
  100. package/src/contexts/OpenPortalsContext.tsx +2 -0
  101. package/src/contexts/PortalScopeContext.tsx +2 -0
  102. package/src/hooks/mergeEventHandlers.ts +1 -1
  103. package/src/hooks/useHover.ts +30 -17
  104. package/src/hooks/useIndent.ts +2 -0
  105. package/src/hooks/useLabel.ts +12 -10
  106. package/src/hooks/useObjectURL.ts +5 -3
  107. package/src/hooks/usePlatform.ts +5 -3
  108. package/src/hooks/useTheme.ts +3 -1
  109. package/src/index.css +25 -4
  110. package/src/index.tsx +7 -2
  111. package/src/utils/classNames.ts +4 -3
  112. package/src/utils/combobox.ts +2 -0
  113. package/src/utils/editableBlockStyles.ts +10 -0
  114. package/src/utils/formatByteSize.ts +8 -0
  115. package/src/utils/withSeparatorElements.ts +1 -1
  116. package/src/hooks/usePreservePanelSize.tsx +0 -183
  117. package/src/hooks/useWindowSize.tsx +0 -26
  118. package/src/mediaQuery.ts +0 -13
package/dist/index.d.mts CHANGED
@@ -1,26 +1,23 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { ReactNode, CSSProperties, ReactHTML, HTMLAttributes, AriaRole, KeyboardEventHandler, MouseEventHandler, PointerEventHandler, FocusEventHandler, InputHTMLAttributes, ForwardedRef, ComponentProps, SyntheticEvent, LabelHTMLAttributes } from 'react';
2
+ import React__default, { ReactNode, CSSProperties, HTMLAttributes, AriaRole, KeyboardEventHandler, MouseEventHandler, PointerEventHandler, FocusEventHandler, InputHTMLAttributes, ForwardedRef, ComponentProps, SyntheticEvent, LabelHTMLAttributes, DetailedHTMLProps } from 'react';
3
3
  import { IItemScore } from 'vscode-fuzzy-scorer';
4
4
  import * as Icons from '@noya-app/noya-icons';
5
5
  export { Icons };
6
6
  import tailwindConfig from '@noya-app/noya-tailwind-config';
7
7
  import * as _noya_app_noya_geometry from '@noya-app/noya-geometry';
8
8
  import { Point as Point$1, Size, Rect } from '@noya-app/noya-geometry';
9
- import { UniqueIdentifier, Active, Over, CollisionDetection } from '@dnd-kit/core';
9
+ import { UniqueIdentifier, ClientRect, CollisionDetection } from '@dnd-kit/core';
10
10
  import { Property } from 'csstype';
11
11
  import * as _noya_app_noya_designsystem from '@noya-app/noya-designsystem';
12
12
  import { SectionProps as SectionProps$1, BannerProps as BannerProps$1 } from '@noya-app/noya-designsystem';
13
- import * as DialogPrimitive from '@radix-ui/react-dialog';
14
- import * as RadixDropdownMenu from '@radix-ui/react-dropdown-menu';
13
+ import { Dialog as Dialog$1, DropdownMenu as DropdownMenu$1, ContextMenu as ContextMenu$1, Popover as Popover$1, Tooltip as Tooltip$1 } from 'radix-ui';
15
14
  import { Sketch } from '@noya-app/noya-file-format';
16
15
  import * as _noya_app_noya_keymap from '@noya-app/noya-keymap';
17
16
  import { KeyModifiers, PlatformName } from '@noya-app/noya-keymap';
18
- import * as RadixContextMenu from '@radix-ui/react-context-menu';
19
17
  import { MultiplayerUser } from '@noya-app/noya-multiplayer-react';
20
- import * as PopoverPrimitive from '@radix-ui/react-popover';
18
+ import * as PopperPrimitive from '@radix-ui/react-popper';
21
19
  import { SelectProps } from '@radix-ui/react-select';
22
20
  import { useSortable } from '@dnd-kit/sortable';
23
- import { ImperativePanelGroupHandle } from 'react-resizable-panels';
24
21
  import { RgbaColor } from '@noya-app/noya-colorpicker';
25
22
 
26
23
  declare function fuzzyScore({ item, query }: {
@@ -61,7 +58,7 @@ type SeparatorItem = {
61
58
  };
62
59
  declare const separator: SeparatorItem;
63
60
  type FalsyReactNode = false | "" | null | undefined;
64
- type MenuItemIcon = IconName | React__default.ReactElement | FalsyReactNode;
61
+ type MenuItemIcon = IconName | React__default.ReactElement<any> | FalsyReactNode;
65
62
  type BaseMenuItem = {
66
63
  checked?: boolean;
67
64
  disabled?: boolean;
@@ -83,14 +80,24 @@ type SelectableMenuItem<T extends string> = BaseMenuItem & {
83
80
  value: T;
84
81
  testSelected?: boolean;
85
82
  tooltip?: ReactNode;
83
+ drawer?: ReactNode;
86
84
  };
87
85
  type SubMenuItem<T extends string> = BaseMenuItem & {
88
86
  type: "submenu";
89
87
  items: MenuItem<T>[];
90
88
  id: string;
91
89
  };
92
- type NonSelectableMenuItem<T extends string> = SeparatorItem | SectionHeaderMenuItem | SubMenuItem<T>;
93
- type MenuItem<T extends string> = SeparatorItem | SelectableMenuItem<T> | SectionHeaderMenuItem | SubMenuItem<T>;
90
+ type PopoverMenuItem = BaseMenuItem & {
91
+ type: "popover";
92
+ id: string;
93
+ content: ReactNode | ((props: {
94
+ close: () => void;
95
+ }) => ReactNode);
96
+ shortcut?: string;
97
+ tooltip?: ReactNode;
98
+ };
99
+ type NonSelectableMenuItem<T extends string> = SeparatorItem | SectionHeaderMenuItem | SubMenuItem<T> | PopoverMenuItem;
100
+ type MenuItem<T extends string> = SeparatorItem | SelectableMenuItem<T> | SectionHeaderMenuItem | SubMenuItem<T> | PopoverMenuItem;
94
101
  type ScoredSelectableMenuItem<T extends string> = SelectableMenuItem<T> & IScoredItem;
95
102
  type ScoredMenuItem<T extends string> = ScoredSelectableMenuItem<T> | SectionHeaderMenuItem;
96
103
  type ExtractMenuItemType<T> = T extends SelectableMenuItem<infer U> ? U : never;
@@ -98,6 +105,7 @@ declare const isSelectableMenuItem: <T extends string>(item: MenuItem<T>) => ite
98
105
  declare const isNonSelectableMenuItem: <T extends string>(item: MenuItem<T>) => item is NonSelectableMenuItem<T>;
99
106
  declare const isMenuItemSectionHeader: (item: MenuItem<string>) => item is SectionHeaderMenuItem;
100
107
  declare const isSelectableMenuItemWithScore: (item: MenuItem<string>) => item is ScoredSelectableMenuItem<string>;
108
+ declare const isPopoverMenuItem: (item: MenuItem<string>) => item is PopoverMenuItem;
101
109
  declare const getMenuItemKey: <T extends string>(item: MenuItem<T>, index: number) => string;
102
110
  declare const CHECKBOX_WIDTH = 15;
103
111
  declare const CHECKBOX_RIGHT_INSET = 6;
@@ -137,16 +145,16 @@ type ActionMenuProps<TMenu extends string> = {
137
145
  variant?: "normal" | "bare";
138
146
  color?: string;
139
147
  };
140
- declare const ActionMenu: <TMenu extends string>(props: ActionMenuProps<TMenu>) => React__default.ReactElement | null;
148
+ declare const ActionMenu: <TMenu extends string>(props: ActionMenuProps<TMenu>) => React__default.ReactElement<any> | null;
141
149
 
142
- interface Props$e {
150
+ interface Props$f {
143
151
  size?: number;
144
152
  opacity?: number;
145
153
  color?: string;
146
154
  trackColor?: string;
147
155
  className?: string;
148
156
  }
149
- declare const ActivityIndicator: React$1.NamedExoticComponent<Props$e>;
157
+ declare const ActivityIndicator: React$1.NamedExoticComponent<Props$f>;
150
158
 
151
159
  declare const AIAssistantLoadingIndicator: () => React__default.JSX.Element;
152
160
  type AIAssistantInputProps = {
@@ -212,7 +220,7 @@ type AvatarProps = {
212
220
  children?: React__default.ReactNode;
213
221
  onClick?: () => void;
214
222
  };
215
- declare const Avatar: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<AvatarProps & React__default.RefAttributes<HTMLDivElement>>>;
223
+ declare const Avatar: React__default.NamedExoticComponent<AvatarProps & React__default.RefAttributes<HTMLDivElement>>;
216
224
  declare const AvatarStack: React__default.NamedExoticComponent<{
217
225
  size?: number;
218
226
  /** @default 3 */
@@ -228,6 +236,19 @@ type BannerProps = {
228
236
  };
229
237
  declare function Banner({ label, className, style }: BannerProps): React__default.JSX.Element;
230
238
 
239
+ type ImageState = "loading" | "error" | "loaded";
240
+ declare function decodeImageSrc(src?: string): string | undefined;
241
+ declare const ImageBlockComponent: React__default.ForwardRefExoticComponent<Omit<React__default.ClassAttributes<HTMLImageElement> & React__default.ImgHTMLAttributes<HTMLImageElement> & {
242
+ imageState?: ImageState;
243
+ }, "ref"> & React__default.RefAttributes<HTMLImageElement>> & {
244
+ Loading: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLSpanElement> & React__default.RefAttributes<HTMLSpanElement>>;
245
+ Placeholder: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLSpanElement> & React__default.RefAttributes<HTMLSpanElement>>;
246
+ Error: React__default.ForwardRefExoticComponent<React__default.HTMLAttributes<HTMLSpanElement> & {
247
+ src?: string;
248
+ } & React__default.RefAttributes<HTMLSpanElement>>;
249
+ Display: React__default.ForwardRefExoticComponent<Omit<React__default.DetailedHTMLProps<React__default.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & React__default.RefAttributes<HTMLImageElement>>;
250
+ };
251
+
231
252
  type Theme = (typeof tailwindConfig.theme)["extend"];
232
253
  type ThemeColor = keyof Theme["colors"];
233
254
  declare const cssVars: {
@@ -266,6 +287,9 @@ declare const cssVars: {
266
287
  buttonBackgroundActiveHover: string;
267
288
  buttonText: string;
268
289
  buttonTextActive: string;
290
+ toolbarDrawerBackground: string;
291
+ toolbarDrawerBorder: string;
292
+ toolbarDrawerShadow: string;
269
293
  canvasBackground: string;
270
294
  canvasGrid: string;
271
295
  sidebarBackground: string;
@@ -275,6 +299,7 @@ declare const cssVars: {
275
299
  listviewEditingBackground: string;
276
300
  sliderThumbBackground: string;
277
301
  sliderBorder: string;
302
+ sliderActiveBackground: string;
278
303
  segmentedControlItem: string;
279
304
  segmentedControlItemActiveBackground: string;
280
305
  segmentedControlItemActiveText: string;
@@ -429,6 +454,7 @@ declare const cssVars: {
429
454
  activeInput: string;
430
455
  segment: string;
431
456
  sliderThumb: string;
457
+ tooltip: string;
432
458
  };
433
459
  };
434
460
  declare const cssVarNames: {
@@ -467,6 +493,9 @@ declare const cssVarNames: {
467
493
  buttonBackgroundActiveHover: string;
468
494
  buttonText: string;
469
495
  buttonTextActive: string;
496
+ toolbarDrawerBackground: string;
497
+ toolbarDrawerBorder: string;
498
+ toolbarDrawerShadow: string;
470
499
  canvasBackground: string;
471
500
  canvasGrid: string;
472
501
  sidebarBackground: string;
@@ -476,6 +505,7 @@ declare const cssVarNames: {
476
505
  listviewEditingBackground: string;
477
506
  sliderThumbBackground: string;
478
507
  sliderBorder: string;
508
+ sliderActiveBackground: string;
479
509
  segmentedControlItem: string;
480
510
  segmentedControlItemActiveBackground: string;
481
511
  segmentedControlItemActiveText: string;
@@ -630,6 +660,7 @@ declare const cssVarNames: {
630
660
  activeInput: string;
631
661
  segment: string;
632
662
  sliderThumb: string;
663
+ tooltip: string;
633
664
  };
634
665
  };
635
666
  declare const INPUT_HEIGHT = 27;
@@ -639,7 +670,7 @@ type KebabToCamelCase<S extends string> = S extends `${infer First}-${infer Rest
639
670
  type Variant = "title" | "subtitle" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "body" | "small" | "button" | "code" | "label";
640
671
  declare const textStyles: Record<Variant, string>;
641
672
  type TextProps = {
642
- as?: keyof ReactHTML;
673
+ as?: React__default.HTMLElementType;
643
674
  href?: string;
644
675
  className?: string;
645
676
  style?: React__default.CSSProperties;
@@ -669,18 +700,20 @@ type BreadcrumbTextProps = Omit<TextProps, "variant" | "whiteSpace" | "lineHeigh
669
700
  declare const BreadcrumbText: React__default.ForwardRefExoticComponent<BreadcrumbTextProps & React__default.RefAttributes<HTMLSpanElement>>;
670
701
  declare const BreadcrumbSlash: () => React__default.JSX.Element;
671
702
 
672
- type ButtonVariant = "normal" | "primary" | "secondary" | "secondaryBright" | "thin" | "floating" | "none";
703
+ type ButtonVariant = "normal" | "thin" | "floating" | "none" | "ghost";
673
704
  type ButtonSize = "small" | "normal" | "large" | "floating";
674
- interface ButtonRootProps {
705
+ type ButtonColorScheme = "primary" | "secondary";
706
+ interface ButtonProps extends React__default.DetailedHTMLProps<React__default.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
675
707
  id?: string;
676
708
  className?: string;
677
709
  style?: CSSProperties;
678
710
  tabIndex?: number;
679
711
  icon?: MenuItemIcon;
680
712
  iconRight?: MenuItemIcon;
681
- children: ReactNode;
713
+ children?: ReactNode;
682
714
  active?: boolean;
683
715
  disabled?: boolean;
716
+ colorScheme?: ButtonColorScheme;
684
717
  variant?: ButtonVariant;
685
718
  size?: ButtonSize;
686
719
  tooltip?: ReactNode;
@@ -694,12 +727,12 @@ interface ButtonRootProps {
694
727
  rel?: string;
695
728
  download?: string;
696
729
  }
697
- declare const Button: React__default.ForwardRefExoticComponent<ButtonRootProps & React__default.RefAttributes<HTMLButtonElement>>;
730
+ declare const Button: React__default.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
698
731
 
699
732
  interface CheckboxProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type"> {
700
733
  colorScheme?: "primary" | "secondary";
701
734
  }
702
- declare const Checkbox$1: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLInputElement>>>;
735
+ declare const Checkbox$1: React$1.NamedExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLInputElement>>;
703
736
 
704
737
  type ChipColorScheme = "primary" | "secondary" | "error";
705
738
  type ChipSize = "small" | "medium" | "large";
@@ -724,7 +757,7 @@ interface ChipProps {
724
757
  role?: string;
725
758
  disabled?: boolean;
726
759
  }
727
- declare const Chip: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<ChipProps & React__default.RefAttributes<HTMLSpanElement>>>;
760
+ declare const Chip: React__default.NamedExoticComponent<ChipProps & React__default.RefAttributes<HTMLSpanElement>>;
728
761
 
729
762
  type RelativeDropPosition = "above" | "below" | "inside";
730
763
  type MoveDragItemParameters = {
@@ -768,16 +801,15 @@ type SortableItemContextProps = {
768
801
  declare const SortableItemContext: React$1.Context<SortableItemContextProps>;
769
802
  type ValidateDropIndicatorParams = {
770
803
  acceptsDrop: DropValidator;
771
- keys: UniqueIdentifier[];
772
- activeId: UniqueIdentifier;
773
- overId: UniqueIdentifier;
804
+ activeIndex: number;
805
+ overIndex: number;
774
806
  offsetStart: number;
775
807
  elementStart: number;
776
808
  elementSize: number;
777
809
  sourceListId: string;
778
810
  targetListId: string;
779
811
  };
780
- declare function validateDropIndicator({ acceptsDrop, keys, activeId, overId, offsetStart, elementStart, elementSize, sourceListId, targetListId, }: ValidateDropIndicatorParams): RelativeDropPosition | undefined;
812
+ declare function validateDropIndicator({ acceptsDrop, activeIndex, overIndex, offsetStart, elementStart, elementSize, sourceListId, targetListId, }: ValidateDropIndicatorParams): RelativeDropPosition | undefined;
781
813
  declare const dragItemKeySeparator = "-~-";
782
814
  declare function createDragItemKey(listId: string, itemId: UniqueIdentifier): string;
783
815
  declare function parseDragItemKey(key: string): {
@@ -787,8 +819,9 @@ declare function parseDragItemKey(key: string): {
787
819
 
788
820
  type GetDropIndicatorParameters = {
789
821
  absolutePosition: Point$1;
790
- active: Active;
791
- over: Over;
822
+ activeIndex: number;
823
+ overIndex: number;
824
+ overRect: ClientRect;
792
825
  sourceListId: string;
793
826
  targetListId: string;
794
827
  };
@@ -799,7 +832,7 @@ interface RegisteredList {
799
832
  renderOverlay?: (id: UniqueIdentifier) => React__default.ReactNode;
800
833
  acceptsFromList: AcceptsFromList;
801
834
  acceptsDrop: AcceptsDrop;
802
- getDropIndicator: (parameters: GetDropIndicatorParameters) => RelativeDropPosition | undefined;
835
+ getDropIndicator: (parameters: GetDropIndicatorParameters, acceptsDrop: AcceptsDrop) => RelativeDropPosition | undefined;
803
836
  }
804
837
  interface DragRegistrationContextType {
805
838
  registerList: (list: RegisteredList) => void;
@@ -869,6 +902,8 @@ interface ListViewRowProps<MenuItemType extends string = string> {
869
902
  className?: string;
870
903
  dragIndicatorStyle?: CSSProperties | ((props: DragIndicatorStyleProps) => CSSProperties);
871
904
  testRelativeDropPosition?: RelativeDropPosition;
905
+ href?: string;
906
+ as?: React__default.ElementType;
872
907
  }
873
908
  type DragIndicatorStyleProps = {
874
909
  depth: number;
@@ -919,7 +954,7 @@ type ListViewRootProps = {
919
954
  divider?: boolean;
920
955
  gap?: number;
921
956
  colorScheme?: ListColorScheme;
922
- containerRef?: React__default.RefObject<HTMLDivElement>;
957
+ containerRef?: React__default.RefObject<HTMLDivElement | null>;
923
958
  onDragOver?: React__default.DragEventHandler<HTMLDivElement>;
924
959
  onDragEnter?: React__default.DragEventHandler<HTMLDivElement>;
925
960
  onDragLeave?: React__default.DragEventHandler<HTMLDivElement>;
@@ -935,8 +970,8 @@ declare namespace ListView {
935
970
  children: React__default.ReactNode;
936
971
  } & HTMLAttributes<HTMLSpanElement>) => React__default.JSX.Element>;
937
972
  const EditableRowTitle: React__default.MemoExoticComponent<typeof ListViewEditableRowTitle>;
938
- const Row: <MenuItemType extends string>(props: ListViewRowProps<MenuItemType> & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement | null;
939
- const Root: <T = any>(props: ((ChildrenProps | RenderProps<T>) & ListViewRootProps) & React__default.RefAttributes<IVirtualizedList>) => React__default.ReactElement | null;
973
+ const Row: <MenuItemType extends string>(props: ListViewRowProps<MenuItemType> & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any> | null;
974
+ const Root: <T = any>(props: ((ChildrenProps | RenderProps<T>) & ListViewRootProps) & React__default.RefAttributes<IVirtualizedList>) => React__default.ReactElement<any> | null;
940
975
  const RowContext: React__default.Context<ListRowContextValue>;
941
976
  type ClickInfo = ListViewClickInfo;
942
977
  type ItemInfo = ListViewItemInfo;
@@ -977,6 +1012,7 @@ interface CollectionProps<T, M extends string = string> {
977
1012
  items: T[];
978
1013
  getId: (item: T) => string;
979
1014
  getName: (item: T) => string;
1015
+ getHref?: (item: T) => string;
980
1016
  getExpanded?: (item: T) => boolean | undefined;
981
1017
  getPlaceholder?: (item: T) => string;
982
1018
  /**
@@ -1023,27 +1059,23 @@ interface CollectionProps<T, M extends string = string> {
1023
1059
  viewType?: CollectionViewType;
1024
1060
  onClickItem?: (itemId: string) => void;
1025
1061
  onDoubleClickItem?: (itemId: string) => void;
1026
- renderEmptyState?: () => React__default.ReactElement;
1062
+ renderEmptyState?: () => React__default.ReactElement<any>;
1027
1063
  /** @default false */
1028
1064
  sortable?: boolean;
1029
1065
  dragIndicatorStyle?: ListViewRowProps<M>["dragIndicatorStyle"];
1030
1066
  sharedDragProps?: SharedDragProps;
1031
1067
  sortableId?: string;
1032
1068
  }
1033
- declare const Collection: <T, M extends string = string>(props: CollectionProps<T, M> & React__default.RefAttributes<CollectionRef>) => React__default.ReactElement | null;
1069
+ declare const Collection: <T, M extends string = string>(props: CollectionProps<T, M> & React__default.RefAttributes<CollectionRef>) => React__default.ReactElement<any> | null;
1034
1070
  type CollectionItemSize = "xxs" | "xs" | "small" | "medium" | "mediumLarge" | "large" | "xl";
1035
1071
 
1036
- type ColorSwatchSize = "xsmall" | "small" | "medium" | "large";
1037
- declare const colorSwatchSizeMap: {
1038
- xsmall: number;
1039
- small: number;
1040
- medium: number;
1041
- large: number;
1042
- };
1072
+ type ColorSwatchSize = "xxsmall" | "xsmall" | "small" | "medium" | "large";
1073
+ declare const colorSwatchSizeMap: Record<ColorSwatchSize, number>;
1043
1074
  declare const ColorSwatch: React__default.ForwardRefExoticComponent<{
1044
1075
  color: string;
1045
1076
  size?: ColorSwatchSize;
1046
1077
  checked?: boolean;
1078
+ as?: React__default.ElementType;
1047
1079
  } & React__default.ButtonHTMLAttributes<HTMLButtonElement> & React__default.RefAttributes<HTMLButtonElement>>;
1048
1080
 
1049
1081
  type TokenValue = string | {
@@ -1067,7 +1099,7 @@ declare function ColorSwatchControl(props: ColorSwatchControlProps): React__defa
1067
1099
 
1068
1100
  type InputSize = "small" | "medium" | "large";
1069
1101
 
1070
- type Props$d = {
1102
+ type Props$e = {
1071
1103
  id?: string;
1072
1104
  style?: any;
1073
1105
  className?: string;
@@ -1085,15 +1117,15 @@ type Props$d = {
1085
1117
  onFocusChange?: (isFocused: boolean) => void;
1086
1118
  onBlur?: FocusEventHandler;
1087
1119
  } & Pick<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "autoCapitalize" | "autoCorrect" | "spellCheck" | "autoFocus">;
1088
- type ReadOnlyProps = Props$d & {
1120
+ type ReadOnlyProps = Props$e & {
1089
1121
  readOnly: true;
1090
1122
  };
1091
- type ControlledProps = Props$d & {
1123
+ type ControlledProps = Props$e & {
1092
1124
  onChange: (value: string) => void;
1093
1125
  onFocus?: FocusEventHandler;
1094
1126
  onBlur?: FocusEventHandler;
1095
1127
  };
1096
- type SubmittableProps = Props$d & {
1128
+ type SubmittableProps = Props$e & {
1097
1129
  onSubmit: (value: string) => void;
1098
1130
  allowSubmittingWithSameValue?: boolean;
1099
1131
  submitAutomaticallyAfterDelay?: number;
@@ -1174,17 +1206,17 @@ declare function InputFieldRoot({ id, children, width, sideOffset, startWidth: s
1174
1206
  type InputFieldProps = InputFieldRootProps & InputFieldInputProps;
1175
1207
  declare const InputField: React__default.ForwardRefExoticComponent<InputFieldProps & React__default.RefAttributes<HTMLInputElement>> & {
1176
1208
  readonly Root: React__default.MemoExoticComponent<typeof InputFieldRoot>;
1177
- readonly Input: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<InputFieldInputProps & React__default.RefAttributes<HTMLInputElement>>>;
1209
+ readonly Input: React__default.NamedExoticComponent<InputFieldInputProps & React__default.RefAttributes<HTMLInputElement>>;
1178
1210
  readonly Typeahead: React__default.MemoExoticComponent<(props: {
1179
1211
  prefix: string;
1180
1212
  value: string;
1181
1213
  isFocused: boolean;
1182
1214
  }) => React__default.JSX.Element>;
1183
1215
  readonly NumberInput: React__default.MemoExoticComponent<typeof InputFieldNumberInput>;
1184
- readonly DropdownMenu: <T extends string>(props: InputFieldDropdownProps<T>) => React__default.ReactElement | null;
1185
- readonly Button: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<React__default.ButtonHTMLAttributes<HTMLButtonElement> & ButtonRootProps & {
1216
+ readonly DropdownMenu: <T extends string>(props: InputFieldDropdownProps<T>) => React__default.ReactElement<any> | null;
1217
+ readonly Button: React__default.NamedExoticComponent<Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement> & ButtonProps & {
1186
1218
  variant?: "floating" | "normal";
1187
- } & React__default.RefAttributes<HTMLButtonElement>>>;
1219
+ }, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
1188
1220
  readonly PrimitiveElement: ({ readOnly, disabled, className, style, ...props }: {
1189
1221
  readOnly?: boolean;
1190
1222
  disabled?: boolean;
@@ -1234,7 +1266,7 @@ interface ComboboxRef<T extends string> {
1234
1266
  setValue(value: string | SelectableMenuItem<T>): void;
1235
1267
  selectAllInputText(): void;
1236
1268
  }
1237
- declare const Combobox: <T extends string>(props: ComboboxProps<T> & React__default.RefAttributes<ComboboxRef<T>>) => React__default.ReactElement | null;
1269
+ declare const Combobox: <T extends string>(props: ComboboxProps<T> & React__default.RefAttributes<ComboboxRef<T>>) => React__default.ReactElement<any> | null;
1238
1270
 
1239
1271
  interface ComboboxMenuProps<T extends string> {
1240
1272
  items: ScoredMenuItem<T>[];
@@ -1247,7 +1279,7 @@ interface ComboboxMenuProps<T extends string> {
1247
1279
  /** @default right */
1248
1280
  iconPosition?: "left" | "right";
1249
1281
  }
1250
- declare const ComboboxMenu: <T extends string>(props: ComboboxMenuProps<T> & React__default.RefAttributes<IVirtualizedList>) => React__default.ReactElement | null;
1282
+ declare const ComboboxMenu: <T extends string>(props: ComboboxMenuProps<T> & React__default.RefAttributes<IVirtualizedList>) => React__default.ReactElement<any> | null;
1251
1283
 
1252
1284
  interface ISearchCompletionMenu {
1253
1285
  focus: () => void;
@@ -1301,26 +1333,26 @@ interface MenuProps<T extends string> {
1301
1333
  shouldBindKeyboardShortcuts?: boolean;
1302
1334
  onOpenChange?: (open: boolean) => void;
1303
1335
  }
1304
- declare const ContextMenu: <T extends string>(props: MenuProps<T>) => React__default.ReactElement | null;
1336
+ declare const ContextMenu: <T extends string>(props: MenuProps<T>) => React__default.ReactElement<any> | null;
1305
1337
 
1306
- declare const StyledContent: React__default.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
1338
+ declare const StyledContent: React__default.ForwardRefExoticComponent<Omit<Dialog$1.DialogContentProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
1307
1339
  interface IDialog {
1308
1340
  containsElement: (element: HTMLElement) => boolean;
1309
1341
  }
1310
- interface Props$c {
1342
+ interface Props$d {
1311
1343
  title?: ReactNode;
1312
1344
  description?: ReactNode;
1313
1345
  children?: ReactNode;
1314
1346
  style?: ComponentProps<typeof StyledContent>["style"];
1315
- open: ComponentProps<typeof DialogPrimitive.Root>["open"];
1316
- onOpenChange?: ComponentProps<typeof DialogPrimitive.Root>["onOpenChange"];
1317
- onOpenAutoFocus?: ComponentProps<typeof DialogPrimitive.Content>["onOpenAutoFocus"];
1347
+ open: ComponentProps<typeof Dialog$1.Root>["open"];
1348
+ onOpenChange?: ComponentProps<typeof Dialog$1.Root>["onOpenChange"];
1349
+ onOpenAutoFocus?: ComponentProps<typeof Dialog$1.Content>["onOpenAutoFocus"];
1318
1350
  closeOnInteractOutside?: boolean;
1319
1351
  showCloseButton?: boolean;
1320
1352
  className?: string;
1321
1353
  }
1322
- declare const Dialog: React__default.ForwardRefExoticComponent<Props$c & React__default.RefAttributes<IDialog>>;
1323
- declare const FullscreenDialog: React__default.ForwardRefExoticComponent<Props$c & React__default.RefAttributes<IDialog>>;
1354
+ declare const Dialog: React__default.ForwardRefExoticComponent<Props$d & React__default.RefAttributes<IDialog>>;
1355
+ declare const FullscreenDialog: React__default.ForwardRefExoticComponent<Props$d & React__default.RefAttributes<IDialog>>;
1324
1356
 
1325
1357
  type DividerVariant = "normal" | "subtle" | "strong";
1326
1358
  interface DividerProps {
@@ -1336,13 +1368,15 @@ declare const DividerVertical: React__default.NamedExoticComponent<DividerProps>
1336
1368
  * A button that opens a menu when clicked, but also allows dragging the
1337
1369
  */
1338
1370
  declare const DraggableMenuButton: <T extends string>(props: {
1371
+ open?: boolean;
1372
+ onOpenChange?: (open: boolean) => void;
1339
1373
  items?: MenuItem<T>[];
1340
1374
  onSelect?: (value: T) => void;
1341
1375
  onClick?: () => void;
1342
1376
  isVisible?: boolean;
1343
1377
  className?: string;
1344
1378
  style?: React__default.CSSProperties;
1345
- }) => React__default.ReactElement | null;
1379
+ } & Omit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "onSelect">) => React__default.ReactElement<any> | null;
1346
1380
 
1347
1381
  type SidebarRef = {
1348
1382
  expand: () => void;
@@ -1354,24 +1388,38 @@ type PercentageSidebarOptions = {
1354
1388
  maxSize?: number;
1355
1389
  initialSize?: number;
1356
1390
  resizable?: boolean;
1391
+ defaultCollapsed?: boolean;
1392
+ showTabs?: boolean;
1357
1393
  };
1358
1394
  type PanelLayoutState = {
1359
1395
  leftSidebarCollapsed: boolean;
1360
1396
  rightSidebarCollapsed: boolean;
1361
1397
  };
1362
- type LayoutProps = {
1363
- leftPanel: React.ReactNode;
1364
- rightPanel: React.ReactNode;
1398
+ type RenderPanel<TabValue extends string> = ReactNode | ((props: {
1399
+ activeTabValue: TabValue;
1400
+ }) => ReactNode);
1401
+ type LayoutProps<LeftTab extends string = string, RightTab extends string = string> = {
1402
+ leftPanel: ReactNode;
1403
+ leftTabItems?: MenuItem<LeftTab>[];
1404
+ leftTabValue?: LeftTab;
1405
+ onChangeLeftTab?: (value: LeftTab) => void;
1406
+ rightPanel: ReactNode;
1407
+ rightTabItems?: MenuItem<RightTab>[];
1408
+ rightTabValue?: RightTab;
1409
+ onChangeRightTab?: (value: RightTab) => void;
1365
1410
  centerPanel: React.ReactNode;
1366
1411
  leftSidebarOptions: PercentageSidebarOptions;
1367
1412
  rightSidebarOptions: PercentageSidebarOptions;
1368
1413
  centerPanelPercentage: number;
1369
1414
  autoSavePrefix?: string;
1370
- internalLayoutState: PanelLayoutState | null;
1371
- leftSidebarRef: React.RefObject<SidebarRef>;
1372
- rightSidebarRef: React.RefObject<SidebarRef>;
1373
- handleChangeLayoutState: (state: PanelLayoutState) => void;
1415
+ leftSidebarRef: React.RefObject<SidebarRef | null>;
1416
+ rightSidebarRef: React.RefObject<SidebarRef | null>;
1417
+ };
1418
+ type WorkspaceLayoutGroup = {
1419
+ expandToSizes: Record<string, number>;
1420
+ layout: number[];
1374
1421
  };
1422
+ type WorkspaceLayoutState = Record<string, WorkspaceLayoutGroup>;
1375
1423
 
1376
1424
  type DrawerProps = {
1377
1425
  open?: boolean;
@@ -1382,25 +1430,37 @@ type DrawerProps = {
1382
1430
  className?: string;
1383
1431
  id?: string;
1384
1432
  style?: React$1.CSSProperties;
1433
+ overlayClassName?: string;
1434
+ overlayStyle?: React$1.CSSProperties;
1385
1435
  positioning?: "fixed" | "absolute";
1386
1436
  side?: "left" | "right";
1387
1437
  portalled?: boolean;
1388
1438
  portalContainer?: HTMLElement | null;
1389
1439
  };
1390
- declare const Drawer: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<DrawerProps & React$1.RefAttributes<SidebarRef>>>;
1440
+ declare const Drawer: React$1.NamedExoticComponent<DrawerProps & React$1.RefAttributes<SidebarRef>>;
1391
1441
 
1392
- type DropdownRootProps<T extends string> = MenuProps<T> & {
1442
+ type DropdownRootProps<T extends string> = Omit<MenuProps<T>, "children"> & {
1443
+ children?: ReactNode | ((props: {
1444
+ open: boolean;
1445
+ }) => ReactNode);
1446
+ title?: ReactNode;
1447
+ icon?: ButtonProps["icon"];
1393
1448
  open?: boolean;
1394
1449
  onCloseAutoFocus?: React__default.EventHandler<SyntheticEvent<unknown>>;
1395
1450
  emptyState?: React__default.ReactNode;
1396
1451
  contentStyle?: React__default.CSSProperties;
1397
- } & Pick<ComponentProps<typeof RadixDropdownMenu.Content>, "side" | "sideOffset" | "align" | "alignOffset" | "collisionPadding">;
1398
- declare const DropdownMenu: <T extends string>(props: MenuProps<T> & {
1452
+ } & Pick<ComponentProps<typeof DropdownMenu$1.Content>, "side" | "sideOffset" | "align" | "alignOffset" | "collisionPadding">;
1453
+ declare const DropdownMenu: <T extends string>(props: Omit<MenuProps<T>, "children"> & {
1454
+ children?: ReactNode | ((props: {
1455
+ open: boolean;
1456
+ }) => ReactNode);
1457
+ title?: ReactNode;
1458
+ icon?: ButtonProps["icon"];
1399
1459
  open?: boolean;
1400
1460
  onCloseAutoFocus?: React__default.EventHandler<SyntheticEvent<unknown>>;
1401
1461
  emptyState?: React__default.ReactNode;
1402
1462
  contentStyle?: React__default.CSSProperties;
1403
- } & Pick<RadixDropdownMenu.DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>, "align" | "sideOffset" | "side" | "alignOffset" | "collisionPadding"> & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement | null;
1463
+ } & Pick<DropdownMenu$1.DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>, "side" | "sideOffset" | "align" | "alignOffset" | "collisionPadding"> & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any> | null;
1404
1464
 
1405
1465
  type RenderPreviewProps = {
1406
1466
  children: string;
@@ -1411,7 +1471,7 @@ type RenderPreviewProps = {
1411
1471
  style?: React__default.CSSProperties;
1412
1472
  className?: string;
1413
1473
  };
1414
- type Props$b = {
1474
+ type Props$c = {
1415
1475
  value: string;
1416
1476
  children?: (props: RenderPreviewProps) => React__default.ReactNode;
1417
1477
  placeholder?: string;
@@ -1435,7 +1495,7 @@ type Props$b = {
1435
1495
  interface EditableTextRef {
1436
1496
  startEditing: () => void;
1437
1497
  }
1438
- declare const EditableText: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Props$b & React__default.RefAttributes<EditableTextRef>>>;
1498
+ declare const EditableText: React__default.NamedExoticComponent<Props$c & React__default.RefAttributes<EditableTextRef>>;
1439
1499
 
1440
1500
  type FadeDirection = "left" | "right" | "top" | "bottom";
1441
1501
  type FadeProps = {
@@ -1454,12 +1514,13 @@ type FadeProps = {
1454
1514
  declare const Fade: ({ children, direction, width, height, className, zIndex, position, }: FadeProps) => React__default.JSX.Element;
1455
1515
 
1456
1516
  declare const FileExplorerLayout: ({ children, className, ...props }: SectionProps$1) => React__default.JSX.Element;
1457
- declare const FileExplorerUploadButton: ({ showUploadButton, onUpload, children, }: {
1517
+ declare const FileExplorerUploadButton: ({ showUploadButton, onUpload, isUploading, children, }: {
1458
1518
  showUploadButton?: boolean;
1459
1519
  onUpload?: () => void;
1520
+ isUploading?: boolean;
1460
1521
  children?: React__default.ReactNode;
1461
1522
  }) => React__default.JSX.Element;
1462
- declare const FileExplorerCollection: <T, M extends string = string>(props: CollectionProps<T, M> & React__default.RefAttributes<CollectionRef>) => React__default.ReactElement | null;
1523
+ declare const FileExplorerCollection: <T, M extends string = string>(props: CollectionProps<T, M> & React__default.RefAttributes<CollectionRef>) => React__default.ReactElement<any> | null;
1463
1524
  declare const FileExplorerDetail: ({ selected, size, children, }: {
1464
1525
  selected: boolean;
1465
1526
  children: React__default.ReactNode;
@@ -1467,6 +1528,19 @@ declare const FileExplorerDetail: ({ selected, size, children, }: {
1467
1528
  }) => React__default.JSX.Element;
1468
1529
  declare const FileExplorerEmptyState: ({ label, ...props }: BannerProps$1) => React__default.JSX.Element;
1469
1530
 
1531
+ type FileUploadIndicatorProps = {
1532
+ name?: string;
1533
+ percent?: number;
1534
+ total?: number;
1535
+ contentType?: string;
1536
+ };
1537
+ declare function FileUploadIndicator({ name, percent, total, contentType, }: FileUploadIndicatorProps): React__default.JSX.Element;
1538
+ declare function FileUploadList({ uploads, }: {
1539
+ uploads: (FileUploadIndicatorProps & {
1540
+ id: string;
1541
+ })[];
1542
+ }): React__default.JSX.Element;
1543
+
1470
1544
  declare const SUPPORTED_IMAGE_UPLOAD_TYPES: ("image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
1471
1545
  declare const SUPPORTED_CANVAS_UPLOAD_TYPES: ("" | "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
1472
1546
  type SupportedImageUploadType = (typeof SUPPORTED_IMAGE_UPLOAD_TYPES)[number];
@@ -1478,21 +1552,21 @@ type SketchPattern = {
1478
1552
  patternTileScale: number;
1479
1553
  };
1480
1554
 
1481
- interface Props$a {
1555
+ interface Props$b {
1482
1556
  id?: string;
1483
1557
  value?: Sketch.Color | Sketch.Gradient | SketchPattern;
1484
1558
  }
1485
- declare const FillInputField: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Props$a & React__default.RefAttributes<HTMLButtonElement>>>;
1559
+ declare const FillInputField: React__default.NamedExoticComponent<Props$b & React__default.RefAttributes<HTMLButtonElement>>;
1486
1560
 
1487
1561
  declare const PatternPreviewBackground: React$1.NamedExoticComponent<{
1488
1562
  fillType: Sketch.PatternFillType;
1489
1563
  tileScale: number;
1490
1564
  imageRef: string;
1491
1565
  }>;
1492
- interface Props$9 {
1566
+ interface Props$a {
1493
1567
  value?: Sketch.Color | Sketch.Gradient | SketchPattern;
1494
1568
  }
1495
- declare const FillPreviewBackground: React$1.NamedExoticComponent<Props$9>;
1569
+ declare const FillPreviewBackground: React$1.NamedExoticComponent<Props$a>;
1496
1570
 
1497
1571
  interface FloatingWindowProps {
1498
1572
  title?: string;
@@ -1513,7 +1587,7 @@ interface FloatingWindowProps {
1513
1587
  }
1514
1588
  declare const FloatingWindow: React__default.FC<FloatingWindowProps>;
1515
1589
 
1516
- interface Props$8 {
1590
+ interface Props$9 {
1517
1591
  value: Sketch.GradientStop[];
1518
1592
  selectedStop: number;
1519
1593
  onChangeColor: (color: Sketch.Color) => void;
@@ -1522,7 +1596,7 @@ interface Props$8 {
1522
1596
  onDelete: () => void;
1523
1597
  onSelectStop: (index: number) => void;
1524
1598
  }
1525
- declare const GradientPicker: React$1.NamedExoticComponent<Props$8>;
1599
+ declare const GradientPicker: React$1.NamedExoticComponent<Props$9>;
1526
1600
 
1527
1601
  declare const getGridSize: (size: CollectionItemSize) => {
1528
1602
  minColumnWidth: string;
@@ -1530,10 +1604,11 @@ declare const getGridSize: (size: CollectionItemSize) => {
1530
1604
  };
1531
1605
  declare const Grid: <T, M extends string = string>(props: CollectionProps<T, M> & {
1532
1606
  ref?: React__default.ForwardedRef<CollectionRef>;
1533
- } & React__default.RefAttributes<CollectionRef>) => React__default.ReactElement | null;
1607
+ } & React__default.RefAttributes<CollectionRef>) => React__default.ReactElement<any> | null;
1534
1608
 
1535
1609
  interface ItemProps<MenuItemType extends string = string> {
1536
1610
  id: string;
1611
+ href?: string;
1537
1612
  title?: ReactNode;
1538
1613
  subtitle?: ReactNode;
1539
1614
  loading?: boolean;
@@ -1560,6 +1635,7 @@ type GridViewContextValue = {
1560
1635
  bordered: boolean;
1561
1636
  disabled: boolean;
1562
1637
  gap: number;
1638
+ alwaysShowSubtitles: boolean;
1563
1639
  };
1564
1640
  interface GridViewRootProps extends Partial<GridViewContextValue> {
1565
1641
  children: ReactNode;
@@ -1573,32 +1649,34 @@ interface GridViewRootProps extends Partial<GridViewContextValue> {
1573
1649
  role?: string;
1574
1650
  renderEmptyState?: () => ReactNode;
1575
1651
  contentClassName?: string;
1652
+ alwaysShowSubtitles?: boolean;
1576
1653
  }
1577
1654
  declare function GridViewSection({ children, className, renderEmptyState, }: {
1578
1655
  children?: ReactNode;
1579
1656
  className?: string;
1580
1657
  renderEmptyState?: () => ReactNode;
1581
- }): string | number | boolean | Iterable<React__default.ReactNode> | React__default.JSX.Element | null | undefined;
1658
+ }): string | number | bigint | boolean | Iterable<React__default.ReactNode> | Promise<string | number | bigint | boolean | React__default.ReactPortal | React__default.ReactElement<unknown, string | React__default.JSXElementConstructor<any>> | Iterable<React__default.ReactNode> | null | undefined> | React__default.JSX.Element | null | undefined;
1582
1659
  declare function GridViewSectionHeader({ title }: {
1583
1660
  title: string;
1584
1661
  }): React__default.JSX.Element;
1585
1662
  declare namespace GridView {
1586
- const Root: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<GridViewRootProps & React__default.RefAttributes<HTMLDivElement>>>;
1587
- const Item: <MenuItemType extends string>(props: ItemProps<MenuItemType> & React__default.RefAttributes<HTMLDivElement>) => React__default.ReactElement | null;
1663
+ const Root: React__default.NamedExoticComponent<GridViewRootProps & React__default.RefAttributes<HTMLDivElement>>;
1664
+ const Item: <MenuItemType extends string>(props: ItemProps<MenuItemType> & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any> | null;
1588
1665
  const Section: React__default.MemoExoticComponent<typeof GridViewSection>;
1589
1666
  const SectionHeader: React__default.MemoExoticComponent<typeof GridViewSectionHeader>;
1590
1667
  }
1591
1668
 
1592
- declare const IconButton: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<Omit<ButtonRootProps, "size" | "flex" | "children" | "variant"> & {
1669
+ type Props$8 = Omit<ButtonProps, "children" | "variant" | "flex" | "size"> & {
1593
1670
  iconName: IconName;
1594
1671
  className?: string;
1595
1672
  style?: React$1.CSSProperties;
1596
1673
  selected?: boolean;
1597
1674
  color?: string;
1598
1675
  size?: number;
1599
- } & React$1.RefAttributes<HTMLButtonElement>>>;
1676
+ };
1677
+ declare const IconButton: React$1.NamedExoticComponent<Omit<Props$8, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
1600
1678
 
1601
- declare const InspectorContainer: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
1679
+ declare const InspectorContainer: React__default.NamedExoticComponent<{
1602
1680
  header?: React__default.ReactNode;
1603
1681
  children?: React__default.ReactNode;
1604
1682
  fallback?: React__default.ReactNode;
@@ -1606,7 +1684,7 @@ declare const InspectorContainer: React__default.MemoExoticComponent<React__defa
1606
1684
  id?: string;
1607
1685
  className?: string;
1608
1686
  style?: React__default.CSSProperties;
1609
- } & React__default.RefAttributes<HTMLDivElement>>>;
1687
+ } & React__default.RefAttributes<HTMLDivElement>>;
1610
1688
 
1611
1689
  type MenuSeparatorComponent = React__default.FC<{
1612
1690
  className?: string;
@@ -1639,10 +1717,10 @@ type MenuComponents = {
1639
1717
  Item: MenuItemComponent;
1640
1718
  CheckboxItem?: MenuCheckboxItemComponent;
1641
1719
  ItemIndicator?: MenuItemIndicatorComponent;
1642
- Sub?: typeof RadixDropdownMenu.Sub | typeof RadixContextMenu.Sub;
1643
- SubTrigger?: typeof RadixDropdownMenu.SubTrigger | typeof RadixContextMenu.SubTrigger;
1644
- SubContent?: typeof RadixDropdownMenu.SubContent | typeof RadixContextMenu.SubContent;
1645
- Portal?: typeof RadixDropdownMenu.Portal | typeof RadixContextMenu.Portal;
1720
+ Sub?: typeof DropdownMenu$1.Sub | typeof ContextMenu$1.Sub;
1721
+ SubTrigger?: typeof DropdownMenu$1.SubTrigger | typeof ContextMenu$1.SubTrigger;
1722
+ SubContent?: typeof DropdownMenu$1.SubContent | typeof ContextMenu$1.SubContent;
1723
+ Portal?: typeof DropdownMenu$1.Portal | typeof ContextMenu$1.Portal;
1646
1724
  };
1647
1725
  type MenuViewportProps<T extends string> = {
1648
1726
  items: MenuItem<T>[];
@@ -1651,10 +1729,9 @@ type MenuViewportProps<T extends string> = {
1651
1729
  };
1652
1730
  declare const MenuViewport: <T extends string>({ items, Components, onSelect, }: MenuViewportProps<T>) => React__default.JSX.Element;
1653
1731
 
1654
- type LabelPosition = "inset" | "start" | "end" | "above";
1655
1732
  interface LabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
1656
1733
  }
1657
- declare const Label: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<LabelProps & React__default.RefAttributes<HTMLLabelElement>>>;
1734
+ declare const Label: React__default.NamedExoticComponent<LabelProps & React__default.RefAttributes<HTMLLabelElement>>;
1658
1735
 
1659
1736
  interface ContainerProps {
1660
1737
  children: React$1.ReactNode;
@@ -1665,11 +1742,35 @@ interface ContainerProps {
1665
1742
  }
1666
1743
  declare const LabeledElementView: React$1.NamedExoticComponent<ContainerProps>;
1667
1744
 
1668
- declare const labeledFieldStyles: (labelPosition?: LabelPosition) => string;
1745
+ type LabelType = "inset" | "start" | "end" | "above" | "none";
1746
+ declare const LabelContext: React__default.Context<{
1747
+ fieldId?: string;
1748
+ label?: React__default.ReactNode;
1749
+ }>;
1750
+ type UseLabelParams = {
1751
+ label?: ReactNode;
1752
+ fieldId?: string;
1753
+ };
1754
+ declare const useLabel: ({ label, fieldId }: UseLabelParams) => {
1755
+ label: React__default.ReactNode;
1756
+ fieldId: string | undefined;
1757
+ };
1758
+ declare const LabelTypeContext: React__default.Context<LabelTypeContextValue>;
1759
+ declare const useLabelType: () => LabelType;
1760
+ type LabelTypeContextValue = {
1761
+ type: LabelType;
1762
+ };
1763
+ type LabelWidthContextValue = {
1764
+ width: number;
1765
+ };
1766
+ declare const LabelWidthContext: React__default.Context<LabelWidthContextValue>;
1767
+ declare const useLabelWidth: () => number;
1768
+
1769
+ declare const labeledFieldStyles: (labelType?: LabelType) => string | undefined;
1669
1770
  declare const LabeledField: React__default.NamedExoticComponent<{
1670
1771
  children: React__default.ReactNode;
1671
1772
  label: React__default.ReactNode;
1672
- labelPosition?: LabelPosition;
1773
+ labelType?: LabelType;
1673
1774
  labelStyle?: React__default.CSSProperties;
1674
1775
  /** Used for both the `id` of the field and the `htmlFor` of the label, unless `id` and `htmlFor` are explicitly provided */
1675
1776
  fieldId?: string;
@@ -1679,9 +1780,13 @@ declare const LabeledField: React__default.NamedExoticComponent<{
1679
1780
  minWidth?: number;
1680
1781
  }>;
1681
1782
 
1682
- declare const List: <T, M extends string = string>(props: CollectionProps<T, M> & React__default.RefAttributes<CollectionRef>) => React__default.ReactElement | null;
1783
+ declare const List: <T, M extends string = string>(props: CollectionProps<T, M> & React__default.RefAttributes<CollectionRef>) => React__default.ReactElement<any> | null;
1683
1784
 
1684
- type ColorScheme$1 = "primary" | "secondary" | "icon" | "warning";
1785
+ type ColorScheme$2 = "primary" | "secondary" | "icon" | "warning";
1786
+ type RenderThumbnailIconProps = {
1787
+ fileName?: string;
1788
+ contentType?: string;
1789
+ };
1685
1790
  type MediaThumbnailProps = {
1686
1791
  contentType?: string;
1687
1792
  url?: string;
@@ -1690,15 +1795,16 @@ type MediaThumbnailProps = {
1690
1795
  /** Color scheme for the thumbnail. Affects icon color and background.
1691
1796
  * @default "icon"
1692
1797
  */
1693
- colorScheme?: ColorScheme$1;
1798
+ colorScheme?: ColorScheme$2;
1694
1799
  /**
1695
1800
  * If provided, use this icon instead of the default one for the asset type
1696
1801
  */
1697
1802
  iconName?: IconName;
1698
1803
  size?: CollectionItemSize;
1699
1804
  fileName?: string;
1805
+ renderThumbnailIcon?: (props: RenderThumbnailIconProps) => React__default.ReactNode;
1700
1806
  };
1701
- declare const getThumbnailColors: (colorScheme: ColorScheme$1, selected: boolean) => {
1807
+ declare const getThumbnailColors: (colorScheme: ColorScheme$2, selected: boolean) => {
1702
1808
  icon: string;
1703
1809
  background: string;
1704
1810
  };
@@ -1711,7 +1817,7 @@ type MessageProps = {
1711
1817
  /** @default 27 */
1712
1818
  avatarSize?: number;
1713
1819
  };
1714
- declare const Message: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<MessageProps & React__default.RefAttributes<HTMLDivElement>>>;
1820
+ declare const Message: React__default.NamedExoticComponent<MessageProps & React__default.RefAttributes<HTMLDivElement>>;
1715
1821
 
1716
1822
  declare const Logo: React__default.ForwardRefExoticComponent<Omit<React__default.SVGProps<SVGSVGElement>, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1717
1823
 
@@ -1726,8 +1832,10 @@ declare function getPipelineResultLink(value: unknown): {
1726
1832
  } | undefined;
1727
1833
 
1728
1834
  type PopoverVariant = "normal" | "large";
1729
- interface Props$7 extends Pick<ComponentProps<(typeof PopoverPrimitive)["Content"]>, "onOpenAutoFocus" | "onCloseAutoFocus" | "onPointerDownOutside" | "onInteractOutside" | "onFocusOutside" | "side"> {
1730
- children: React__default.ReactNode;
1835
+ interface Props$7 extends Pick<ComponentProps<(typeof Popover$1)["Content"]>, "onOpenAutoFocus" | "onCloseAutoFocus" | "onPointerDownOutside" | "onInteractOutside" | "onFocusOutside" | "side"> {
1836
+ children: React__default.ReactNode | ((props: {
1837
+ close: () => void;
1838
+ }) => React__default.ReactNode);
1731
1839
  trigger: React__default.ReactNode;
1732
1840
  variant?: PopoverVariant;
1733
1841
  closable?: boolean;
@@ -1746,11 +1854,12 @@ declare const popoverStyle: {
1746
1854
  };
1747
1855
  declare function Popover({ children, trigger, variant, closable, open, side, sideOffset, showArrow, onOpenChange, onOpenAutoFocus, onCloseAutoFocus, onPointerDownOutside, onInteractOutside, onFocusOutside, onClickClose, className, portalContainer, }: Props$7): React__default.JSX.Element;
1748
1856
 
1749
- type ProgressVariant = "normal" | "warning" | "primary" | "secondary";
1750
- declare function Progress({ value, variant, className, }: {
1857
+ type ColorScheme$1 = "normal" | "warning" | "primary" | "secondary";
1858
+ declare function Progress({ value, colorScheme, className, style, }: {
1751
1859
  value: number;
1752
- variant?: ProgressVariant;
1860
+ colorScheme?: ColorScheme$1;
1753
1861
  className?: string;
1862
+ style?: React$1.CSSProperties;
1754
1863
  }): React$1.JSX.Element;
1755
1864
 
1756
1865
  interface Props$6 {
@@ -1781,7 +1890,7 @@ type ExpandableSectionProps = {
1781
1890
  declare const Section$1: React__default.NamedExoticComponent<SectionProps & Partial<ExpandableSectionProps>>;
1782
1891
 
1783
1892
  type SegmentedControlColorScheme = "primary" | "secondary";
1784
- type SegmentedControlVariant = "default" | "tabs";
1893
+ type SegmentedControlVariant = "default" | "tabs" | "buttons";
1785
1894
  interface SegmentedControlProps<T extends string> {
1786
1895
  id?: string;
1787
1896
  value?: T;
@@ -1801,12 +1910,16 @@ type SegmentedControlItemProps<T extends string> = {
1801
1910
  tooltip?: ReactNode;
1802
1911
  variant?: SegmentedControlVariant;
1803
1912
  } & Pick<SelectableMenuItem<T>, "value" | "disabled" | "icon" | "role" | "title">;
1804
- declare const SegmentedControl: <T extends string>(props: SegmentedControlProps<T>) => React__default.ReactElement | null;
1913
+ declare const SegmentedControl: <T extends string>(props: SegmentedControlProps<T>) => React__default.ReactElement<any> | null;
1805
1914
 
1806
- type SelectionToolbarContainerProps = {
1915
+ type PopperPrimitiveContentProps = ComponentProps<typeof PopperPrimitive.Content>;
1916
+ type SelectionToolbarContainerProps = Pick<PopperPrimitiveContentProps, "side" | "sideOffset" | "align"> & {
1807
1917
  rect: Rect;
1808
1918
  children: React__default.ReactNode;
1809
1919
  portalContainer?: HTMLElement | null;
1920
+ containerClassName?: string;
1921
+ containerStyle?: React__default.CSSProperties;
1922
+ transitionDuration?: number;
1810
1923
  };
1811
1924
  declare const SelectionToolbarContainer: React__default.NamedExoticComponent<SelectionToolbarContainerProps>;
1812
1925
 
@@ -1825,7 +1938,7 @@ type Props$5<T extends string> = {
1825
1938
  onBlur?: FocusEventHandler;
1826
1939
  contentStyle?: React__default.CSSProperties;
1827
1940
  } & Pick<SelectProps, "open" | "onOpenChange">;
1828
- declare const SelectMenu: <T extends string = string>(props: Props$5<T>) => React__default.ReactElement | null;
1941
+ declare const SelectMenu: <T extends string = string>(props: Props$5<T>) => React__default.ReactElement<any> | null;
1829
1942
 
1830
1943
  type ColorScheme = "primary" | "secondary";
1831
1944
  interface Props$4 {
@@ -1847,10 +1960,11 @@ declare const Slider: React__default.NamedExoticComponent<Props$4>;
1847
1960
 
1848
1961
  type SharedDragProviderProps = {
1849
1962
  children: React$1.ReactNode;
1963
+ acceptsDrop?: AcceptsDrop;
1850
1964
  onMoveItem?: MoveDragItemHandler;
1851
1965
  sharedDragProps?: SharedDragProps;
1852
1966
  };
1853
- declare function SharedDragProvider({ children, onMoveItem, sharedDragProps, }: SharedDragProviderProps): React$1.JSX.Element;
1967
+ declare function SharedDragProvider({ children, acceptsDrop, onMoveItem, sharedDragProps, }: SharedDragProviderProps): React$1.JSX.Element;
1854
1968
  declare function withDragProvider<T extends object>(Component: React$1.ComponentType<T>): (props: T) => React$1.JSX.Element;
1855
1969
  declare const getItemFirstCollisionDetection: (registeredLists: Map<string, RegisteredList>) => CollisionDetection;
1856
1970
 
@@ -1871,7 +1985,7 @@ interface RootProps {
1871
1985
  acceptsDrop?: DropValidator;
1872
1986
  getDropTargetParentIndex?: (index: number) => number | undefined;
1873
1987
  sharedDragProps?: SharedDragProps;
1874
- containerRef?: React$1.RefObject<HTMLElement>;
1988
+ containerRef?: React$1.RefObject<HTMLElement | null>;
1875
1989
  }
1876
1990
  declare function SortableItem<TElement extends HTMLElement>({ id, disabled, children, }: {
1877
1991
  id: UniqueIdentifier;
@@ -1922,25 +2036,34 @@ interface Props$2 {
1922
2036
  }
1923
2037
  declare const Switch: ({ id, value, onChange, colorScheme, disabled, onFocus, onBlur, style, className, }: Props$2) => React$1.JSX.Element;
1924
2038
 
1925
- declare const useAutoResize: (value: string | undefined) => React__default.MutableRefObject<HTMLTextAreaElement | null>;
1926
- declare const TextArea: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
2039
+ type TabsProps<T extends string = string> = {
2040
+ value?: T;
2041
+ onValueChange?: (value: T) => void;
2042
+ items: MenuItem<T>[];
2043
+ renderContent: ({ value }: {
2044
+ value: T;
2045
+ }) => React$1.ReactNode;
2046
+ variant?: "default" | "tabs" | "buttons";
2047
+ } & DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
2048
+ declare function Tabs<T extends string = string>({ value, onValueChange, items, renderContent, variant, ...props }: TabsProps<T>): React$1.JSX.Element;
2049
+
2050
+ declare const useAutoResize: (value: string | undefined) => React__default.RefObject<HTMLTextAreaElement | null>;
2051
+ declare const TextArea: React__default.NamedExoticComponent<{
1927
2052
  onChangeText?: (value: string) => void;
1928
2053
  value?: string;
1929
2054
  autoResize?: boolean;
1930
- } & React__default.TextareaHTMLAttributes<HTMLTextAreaElement> & React__default.RefAttributes<HTMLTextAreaElement>>>;
1931
- declare const TextAreaRow: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Omit<{
2055
+ } & React__default.TextareaHTMLAttributes<HTMLTextAreaElement> & React__default.RefAttributes<HTMLTextAreaElement>>;
2056
+ declare const TextAreaRow: React__default.NamedExoticComponent<Omit<{
1932
2057
  className?: string;
1933
2058
  textAreaClassName?: string;
1934
2059
  textAreaRef?: React__default.Ref<HTMLTextAreaElement>;
1935
2060
  end?: React__default.ReactNode;
1936
2061
  endClassName?: string;
1937
- } & Omit<{
2062
+ } & {
1938
2063
  onChangeText?: (value: string) => void;
1939
2064
  value?: string;
1940
2065
  autoResize?: boolean;
1941
- } & React__default.TextareaHTMLAttributes<HTMLTextAreaElement> & React__default.RefAttributes<HTMLTextAreaElement>, "ref"> & {
1942
- ref?: ((instance: HTMLTextAreaElement | null) => void | React__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React__default.RefObject<HTMLTextAreaElement> | null | undefined;
1943
- }, "ref"> & React__default.RefAttributes<HTMLDivElement>>>;
2066
+ } & React__default.TextareaHTMLAttributes<HTMLTextAreaElement> & React__default.RefAttributes<HTMLTextAreaElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
1944
2067
 
1945
2068
  declare const Toast: ({ title, content, children, ...props }: {
1946
2069
  title?: string;
@@ -1955,6 +2078,8 @@ interface Props$1 {
1955
2078
  children: React$1.ReactNode;
1956
2079
  content: React$1.ReactNode;
1957
2080
  sideOffset?: number;
2081
+ side?: ComponentProps<typeof Tooltip$1.Content>["side"];
2082
+ portalContainer?: HTMLElement | null;
1958
2083
  }
1959
2084
  declare const Tooltip: React$1.NamedExoticComponent<Props$1>;
1960
2085
 
@@ -1977,13 +2102,13 @@ declare namespace TreeView {
1977
2102
  keyExtractor: (item: T, index: number) => string;
1978
2103
  sortable?: boolean;
1979
2104
  virtualized?: _noya_app_noya_geometry.Size;
1980
- }) & ListViewRootProps) & React__default.RefAttributes<IVirtualizedList>) => React__default.ReactElement | null;
2105
+ }) & ListViewRootProps) & React__default.RefAttributes<IVirtualizedList>) => React__default.ReactElement<any> | null;
1981
2106
  const RowTitle: React__default.MemoExoticComponent<({ className, children, ...props }: {
1982
2107
  className?: string;
1983
2108
  children: React__default.ReactNode;
1984
2109
  } & React__default.HTMLAttributes<HTMLSpanElement>) => React__default.JSX.Element>;
1985
2110
  const EditableRowTitle: React__default.MemoExoticComponent<({ value, onSubmitEditing, autoFocus, placeholder, className, onKeyDown, }: EditableRowProps) => React__default.JSX.Element>;
1986
- const Row: <MenuItemType extends string>(props: ListView.RowProps<MenuItemType> & TreeRowBaseProps & React__default.RefAttributes<HTMLLIElement>) => React__default.ReactElement | null;
2111
+ const Row: <MenuItemType extends string>(props: ListView.RowProps<MenuItemType> & TreeRowBaseProps & React__default.RefAttributes<HTMLLIElement>) => React__default.ReactElement<any> | null;
1987
2112
  type ClickInfo = ListView.ClickInfo;
1988
2113
  type RowProps<MenuItemType extends string> = TreeViewRowProps<MenuItemType>;
1989
2114
  }
@@ -2007,22 +2132,21 @@ declare const UserPointer: React__default.NamedExoticComponent<UserPointerProps>
2007
2132
 
2008
2133
  type SideType = "auto" | "panel" | "drawer";
2009
2134
  type DetectSizeType = "container" | "window";
2010
- interface WorkspaceLayoutProps {
2135
+ interface WorkspaceLayoutProps<LeftTab extends string, RightTab extends string> extends Pick<LayoutProps<LeftTab, RightTab>, "leftTabItems" | "leftTabValue" | "rightTabItems" | "rightTabValue" | "onChangeLeftTab" | "onChangeRightTab"> {
2011
2136
  id?: string;
2012
2137
  className?: string;
2013
2138
  style?: React__default.CSSProperties;
2014
2139
  theme?: "light" | "dark";
2015
2140
  autoSavePrefix?: string;
2016
- left?: React__default.ReactNode;
2141
+ left?: RenderPanel<LeftTab>;
2017
2142
  leftOptions?: SideOptions;
2018
2143
  children?: React__default.ReactNode;
2019
- right?: React__default.ReactNode;
2144
+ right?: RenderPanel<RightTab>;
2020
2145
  rightOptions?: SideOptions;
2021
2146
  toolbar?: React__default.ReactNode;
2022
2147
  sideType?: SideType;
2023
2148
  sideTypeBreakpoint?: number;
2024
2149
  detectSize?: DetectSizeType;
2025
- onChangeLayoutState?: (layoutState: PanelLayoutState) => void;
2026
2150
  }
2027
2151
  type WorkspaceLayoutRef = {
2028
2152
  setLeftExpanded: (expanded: boolean) => void;
@@ -2042,8 +2166,14 @@ type SideOptions = {
2042
2166
  initialSize?: number | string;
2043
2167
  minSize?: number | string;
2044
2168
  maxSize?: number | string;
2169
+ defaultCollapsed?: boolean;
2170
+ showTabs?: boolean;
2045
2171
  };
2046
- declare const WorkspaceLayout: React__default.ForwardRefExoticComponent<WorkspaceLayoutProps & React__default.RefAttributes<WorkspaceLayoutRef>>;
2172
+ declare const WorkspaceLayout: <LeftTab extends string = string, RightTab extends string = string>(props: WorkspaceLayoutProps<LeftTab, RightTab> & React__default.RefAttributes<WorkspaceLayoutRef>) => React__default.ReactElement<any> | null;
2173
+
2174
+ type LinkComponent = React__default.ComponentType<React__default.ComponentProps<"a">>;
2175
+ declare const LinkComponentProvider: React__default.Provider<LinkComponent | undefined>;
2176
+ declare const useLinkComponent: () => "a" | LinkComponent;
2047
2177
 
2048
2178
  type DesignSystemConfigurationContextValue = {
2049
2179
  platform: PlatformName;
@@ -2051,6 +2181,7 @@ type DesignSystemConfigurationContextValue = {
2051
2181
  declare const DesignSystemConfigurationProvider: React$1.NamedExoticComponent<{
2052
2182
  children: React$1.ReactNode;
2053
2183
  platform?: PlatformName;
2184
+ LinkComponent?: LinkComponent;
2054
2185
  }>;
2055
2186
  declare function useDesignSystemConfiguration(): DesignSystemConfigurationContextValue;
2056
2187
 
@@ -2161,9 +2292,9 @@ declare function getClosestPortalScope(element: EventTarget): string | undefined
2161
2292
 
2162
2293
  interface HoverEvent {
2163
2294
  /** The type of hover event being fired. */
2164
- type: 'hoverstart' | 'hoverend';
2295
+ type: "hoverstart" | "hoverend";
2165
2296
  /** The pointer type that triggered the hover event. */
2166
- pointerType: 'mouse' | 'pen';
2297
+ pointerType: "mouse" | "pen";
2167
2298
  /** The target element of the hover event. */
2168
2299
  target: HTMLElement;
2169
2300
  }
@@ -2195,40 +2326,11 @@ declare const IndentContext: React__default.Context<{
2195
2326
  }>;
2196
2327
  declare const useIndent: () => number;
2197
2328
 
2198
- declare const LabelContext: React__default.Context<{
2199
- fieldId?: string;
2200
- label?: React__default.ReactNode;
2201
- }>;
2202
- type UseLabelParams = {
2203
- label?: ReactNode;
2204
- fieldId?: string;
2205
- };
2206
- declare const useLabel: ({ label, fieldId }: UseLabelParams) => {
2207
- label: React__default.ReactNode;
2208
- fieldId: string | undefined;
2209
- };
2210
- declare const LabelPositionContext: React__default.Context<LabelPositionContextValue>;
2211
- declare const useLabelPosition: () => LabelPosition;
2212
- type LabelPositionContextValue = {
2213
- position: LabelPosition;
2214
- };
2215
- type LabelWidthContextValue = {
2216
- width: number;
2217
- };
2218
- declare const LabelWidthContext: React__default.Context<LabelWidthContextValue>;
2219
- declare const useLabelWidth: () => number;
2220
-
2221
2329
  declare function usePlatform(): _noya_app_noya_keymap.PlatformName;
2222
2330
  /**
2223
2331
  * Either ctrl or meta, depending on the platform
2224
2332
  */
2225
- declare function usePlatformModKey(): 'ctrlKey' | 'metaKey';
2226
-
2227
- declare const EDITOR_PANEL_GROUP_ID = "editor-panel-group";
2228
- declare const LEFT_SIDEBAR_ID = "editor-left-sidebar";
2229
- declare const RIGHT_SIDEBAR_ID = "editor-right-sidebar";
2230
- declare const CONTENT_AREA_ID = "editor-content-area";
2231
- declare function usePreservePanelSize(panelGroupRef: React__default.RefObject<ImperativePanelGroupHandle | null>, setPanelLayoutState?: (state: PanelLayoutState) => void): void;
2333
+ declare function usePlatformModKey(): "ctrlKey" | "metaKey";
2232
2334
 
2233
2335
  /** @default light */
2234
2336
  type UseThemeReturnType = "dark" | "light";
@@ -2238,31 +2340,20 @@ type UseThemeReturnType = "dark" | "light";
2238
2340
  */
2239
2341
  declare function useTheme(): UseThemeReturnType;
2240
2342
 
2241
- declare const size: {
2242
- medium: string;
2243
- large: string;
2244
- xlarge: string;
2245
- xxlarge: string;
2246
- };
2247
- declare const mediaQuery: {
2248
- small: string;
2249
- medium: string;
2250
- large: string;
2251
- xlarge: string;
2252
- };
2253
-
2254
2343
  type ClassNameItem = string | number | BigInt | boolean | null | undefined;
2255
2344
  type Category = "text" | "color" | "font" | "flex" | "position";
2256
2345
  type Options = {
2257
2346
  categories?: Category[];
2258
2347
  };
2259
- declare function cx(...args: ClassNameItem[]): string;
2348
+ declare function cx(...args: ClassNameItem[]): string | undefined;
2260
2349
  declare function mergeConflictingClassNames(classNames: ClassNameItem | ClassNameItem[], options?: Options): string;
2261
2350
 
2262
2351
  type Optional<T> = T | false | null | undefined;
2263
2352
  type MenuConfig<T extends string> = Optional<Optional<MenuItem<T>>[]>[];
2264
2353
  declare function createSectionedMenu<T extends string>(...sections: MenuConfig<T>): MenuItem<T>[];
2265
2354
 
2355
+ declare function formatByteSize(size: number): string;
2356
+
2266
2357
  declare function getGradientBackground(value: Sketch.GradientStop[], type: Sketch.GradientType, direction?: number): string;
2267
2358
 
2268
2359
  declare const colorForStringValues: Record<string, string>;
@@ -2314,6 +2405,8 @@ declare function getNextIndex<T>({ items, currentIndex, direction, isDisabled, }
2314
2405
  }): number;
2315
2406
  declare function useComboboxState<T extends string>(state: ComboboxState<T>): ComboboxStateSnapshot<T>;
2316
2407
 
2408
+ declare const editableBlockStyles: (viewType?: "editable" | "readOnly" | "preview") => string | undefined;
2409
+
2317
2410
  type MoveOptions = {
2318
2411
  paths: number[][];
2319
2412
  to: number[];
@@ -2423,27 +2516,47 @@ interface BaseToolbarProps {
2423
2516
  logo?: React__default.ReactNode;
2424
2517
  showDivider?: boolean;
2425
2518
  }
2519
+ declare function BaseToolbarContainer({ children, showDivider, }: {
2520
+ children: React__default.ReactNode;
2521
+ showDivider?: boolean;
2522
+ }): React__default.JSX.Element;
2426
2523
  declare function BaseToolbar({ children, left, right, logo, showDivider, }: BaseToolbarProps): React__default.JSX.Element;
2427
2524
 
2428
2525
  declare const ToolbarMenuDropdown: <T extends string>(props: {
2429
2526
  item: SubMenuItem<T>;
2430
2527
  onSelectMenuItem?: (value: T) => void;
2431
- }) => React__default.ReactElement | null;
2528
+ }) => React__default.ReactElement<any> | null;
2529
+ declare const ToolbarShortcut: ({ shortcut, label, }: {
2530
+ shortcut: string;
2531
+ label?: ReactNode;
2532
+ }) => React__default.JSX.Element;
2533
+ declare const ToolbarMenuPopover: (props: {
2534
+ item: PopoverMenuItem;
2535
+ portalContainer?: HTMLElement | null;
2536
+ }) => React__default.ReactElement<any> | null;
2432
2537
  declare const ToolbarMenuButton: <T extends string>(props: {
2433
2538
  item: SelectableMenuItem<T>;
2434
2539
  onSelectMenuItem?: (value: T) => void;
2435
2540
  as?: ComponentProps<typeof Button>["as"];
2436
- }) => React__default.ReactElement | null;
2541
+ activeValue?: T;
2542
+ tooltipSide?: ComponentProps<typeof Tooltip>["side"];
2543
+ }) => React__default.ReactElement<any> | null;
2437
2544
  declare const ToolbarMenuItem: <T extends string>(props: {
2438
2545
  item: MenuItem<T>;
2439
2546
  onSelectMenuItem?: (value: T) => void;
2440
2547
  buttonAs?: ComponentProps<typeof Button>["as"];
2441
- }) => React__default.ReactElement | null;
2548
+ activeValue?: T;
2549
+ tooltipSide?: ComponentProps<typeof Tooltip>["side"];
2550
+ portalContainer?: HTMLElement | null;
2551
+ }) => React__default.ReactElement<any> | null;
2442
2552
  declare const ToolbarMenu: <T extends string>(props: {
2443
2553
  items: MenuItem<T>[];
2444
2554
  onSelectMenuItem?: (value: T) => void;
2445
2555
  buttonAs?: ComponentProps<typeof Button>["as"];
2446
- }) => React__default.ReactElement | null;
2556
+ activeValue?: T;
2557
+ tooltipSide?: ComponentProps<typeof Tooltip>["side"];
2558
+ portalContainer?: HTMLElement | null;
2559
+ }) => React__default.ReactElement<any> | null;
2447
2560
  interface ToolbarProps<T extends string = string> {
2448
2561
  children?: React__default.ReactNode;
2449
2562
  logo?: React__default.ReactNode;
@@ -2455,4 +2568,11 @@ interface ToolbarProps<T extends string = string> {
2455
2568
  }
2456
2569
  declare function Toolbar<T extends string = string>({ children, logo, leftMenuItems, rightMenuItems, onSelectMenuItem, shouldBindKeyboardShortcuts, }: ToolbarProps<T>): React__default.JSX.Element;
2457
2570
 
2458
- export { AIAssistantInput, AIAssistantLayout, AIAssistantLoadingIndicator, type AcceptsDrop, type AcceptsDropOptions, type AcceptsFromList, ActionMenu, ActivityIndicator, AnimatePresence, type AnimatePresenceProps, Avatar, type AvatarProps, AvatarStack, Banner, type BannerProps, type BaseComboboxProps, BaseToolbar, type BaseToolbarProps, Body, BreadcrumbSlash, BreadcrumbText, Button, type ButtonRootProps, CHECKBOX_INDENT_WIDTH, CHECKBOX_RIGHT_INSET, CHECKBOX_WIDTH, CONTENT_AREA_ID, Checkbox$1 as Checkbox, Chip, type ChipProps, Collection, type CollectionItemSize, type CollectionProps, type CollectionRef, type CollectionRenderActionProps, type CollectionThumbnailProps, type CollectionThumbnailSize, type CollectionViewType, ColorSwatch, ColorSwatchControl, type ColorSwatchSize, Combobox, ComboboxMenu, type ComboboxProps, type ComboboxRef, ComboboxState, type ComboboxStateSnapshot, CommandPalette, ConnectedUsersMenuLayout, ContextMenu, type DesignSystemConfigurationContextValue, DesignSystemConfigurationProvider, type DetectSizeType, Dialog, type DialogContextValue, DialogProvider, DimensionInput, type DimensionValue, Divider, DividerVertical, type DragIndicatorStyleProps, type DragItem, type DragState, DraggableMenuButton, Drawer, type DrawerProps, type DropValidator, DropdownMenu, type DropdownRootProps, EDITOR_PANEL_GROUP_ID, type EditableRowProps, EditableText, type EditableTextRef, type ExtractMenuItemType, Fade, type FadeDirection, type FadeProps, FileExplorerCollection, FileExplorerDetail, FileExplorerEmptyState, FileExplorerLayout, FileExplorerUploadButton, FillInputField, FillPreviewBackground, FloatingWindow, FloatingWindowProvider, FullscreenDialog, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, Grid, GridView, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, INPUT_HEIGHT, type IScoredItem, type ISearchCompletionMenu, type IToken, type IVirtualizedList, IconButton, type IconName, type ImageDataContextValue, ImageDataProvider, IndentContext, InputField, type InputFieldInputProps, type InputFieldProps, type InputFieldSize, InspectorContainer, InspectorPrimitives, Italic, KeyboardShortcut, LEFT_SIDEBAR_ID, Label, LabelContext, type LabelPosition, LabelPositionContext, type LabelPositionContextValue, type LabelProps, LabelWidthContext, type LabelWidthContextValue, LabeledElementView, LabeledField, type LayoutProps, List, type ListRowMarginType, type ListRowPosition, ListView, type ListViewItemInfo, type ListViewRootProps, type ListViewRowProps, Logo, type MatchRange, MediaThumbnail, type MenuComponents, type MenuConfig, type MenuItem, type MenuItemIcon, type MenuItemProps, type MenuItemRole, type MenuProps, MenuViewport, Message, type MessageProps, type MoveDragItemHandler, type MoveDragItemParameters, type MoveTreeItemOptions, type NonSelectableMenuItem, type OpenPortalControlsContextValue, type OpenPortalsContextValue, OpenPortalsProvider, type OptionModeOnlyProps, type OptionModeProps, type Optional, type PanelLayoutState, PatternPreviewBackground, type PercentageSidebarOptions, PipelineResultLayout, PipelineResultLink, Popover, type PortalScopeContextValue, PortalScopeProvider, Progress, RIGHT_SIDEBAR_ID, type RelativeDropPosition, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, type ScoredMenuItem, ScrollArea, SearchCompletionMenu, Section$1 as Section, SectionHeader$1 as SectionHeader, type SectionHeaderMenuItem, type SectionProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlProps, SelectMenu, type SelectableMenuItem, SelectionToolbarContainer, type SeparatorItem, type SetNumberMode, SharedDragProvider, type SideOptions, type SideType, type SidebarRef, type SketchPattern, Slider, Small, Sortable, SortableItemContext, type SortableItemContextProps, type SortableProps, Spacer, type StringModeOnlyProps, type StringModeProps, type SubMenuItem, type SupportedCanvasUploadType, type SupportedImageUploadType, Switch, Text$1 as Text, TextArea, TextAreaRow, type TextProps, type Theme, type ThemeColor, Toast, ToastProvider, type TokenValue, Toolbar, ToolbarMenu, ToolbarMenuButton, ToolbarMenuDropdown, ToolbarMenuItem, type ToolbarProps, Tooltip, TreeView, type UseThemeReturnType, UserAvatar, UserPointer, type UserPointerProps, type ValidateDropIndicatorParams, WorkspaceLayout, type WorkspaceLayoutProps, type WorkspaceLayoutRef, acceptsDrop, colorForStringValues, colorFromString, colorSwatchSizeMap, createDragItemKey, createSectionedMenu, createSharedDrag, cssVarNames, cssVars, cx, defaultAcceptsDrop, dragItemKeySeparator, filterWithGroupedSections, fuzzyFilter, fuzzyScore, fuzzyTokenize, getClosestPortalScope, getFieldSpacing, getGradientBackground, getGridSize, getItemFirstCollisionDetection, getKeyboardShortcutsForMenuItems, getMenuItemKey, getNewValue, getNextIndex, getPipelineResultLink, getThumbnailColors, isMenuItemSectionHeader, isNonSelectableMenuItem, isSelectableMenuItem, isSelectableMenuItemWithScore, labeledFieldStyles, mediaQuery, mergeConflictingClassNames, moveTreeItem, normalizeListTargetIndex, parseDragItemKey, popoverStyle, portalScopeDataSetName, portalScopePropName, portalScopeProps, renderIcon, rgbaToSketchColor, separator, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, styles, textStyles, updateSelection, useAutoResize, useComboboxState, useCurrentFloatingWindowInternal, useDesignSystemConfiguration, useDialogContainsElement, useDialogContext, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHasOpenPortals, useHover, useImageData, useIndent, useInputFieldContext, useLabel, useLabelPosition, useLabelWidth, useOpenConfirmationDialog, useOpenDialog, useOpenInputDialog, useOpenPortalsControls, usePlatform, usePlatformModKey, usePortalScopeId, usePreservePanelSize, useTheme, validateDropIndicator, withDragProvider, withSeparatorElements };
2571
+ type ToolbarDrawerProps = {
2572
+ children: ReactNode;
2573
+ trigger: ReactNode;
2574
+ sideOffset?: number;
2575
+ };
2576
+ declare const ToolbarDrawer: React__default.NamedExoticComponent<ToolbarDrawerProps & React__default.RefAttributes<HTMLDivElement>>;
2577
+
2578
+ export { AIAssistantInput, AIAssistantLayout, AIAssistantLoadingIndicator, type AcceptsDrop, type AcceptsDropOptions, type AcceptsFromList, ActionMenu, ActivityIndicator, AnimatePresence, type AnimatePresenceProps, Avatar, type AvatarProps, AvatarStack, Banner, type BannerProps, type BaseComboboxProps, BaseToolbar, BaseToolbarContainer, type BaseToolbarProps, Body, BreadcrumbSlash, BreadcrumbText, Button, type ButtonProps, CHECKBOX_INDENT_WIDTH, CHECKBOX_RIGHT_INSET, CHECKBOX_WIDTH, Checkbox$1 as Checkbox, Chip, type ChipProps, Collection, type CollectionItemSize, type CollectionProps, type CollectionRef, type CollectionRenderActionProps, type CollectionThumbnailProps, type CollectionThumbnailSize, type CollectionViewType, ColorSwatch, ColorSwatchControl, type ColorSwatchSize, Combobox, ComboboxMenu, type ComboboxProps, type ComboboxRef, ComboboxState, type ComboboxStateSnapshot, CommandPalette, ConnectedUsersMenuLayout, ContextMenu, type DesignSystemConfigurationContextValue, DesignSystemConfigurationProvider, type DetectSizeType, Dialog, type DialogContextValue, DialogProvider, DimensionInput, type DimensionValue, Divider, DividerVertical, type DragIndicatorStyleProps, type DragItem, type DragState, DraggableMenuButton, Drawer, type DrawerProps, type DropValidator, DropdownMenu, type DropdownRootProps, type EditableRowProps, EditableText, type EditableTextRef, type ExtractMenuItemType, Fade, type FadeDirection, type FadeProps, FileExplorerCollection, FileExplorerDetail, FileExplorerEmptyState, FileExplorerLayout, FileExplorerUploadButton, FileUploadIndicator, FileUploadList, FillInputField, FillPreviewBackground, FloatingWindow, FloatingWindowProvider, FullscreenDialog, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, Grid, GridView, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, INPUT_HEIGHT, type IScoredItem, type ISearchCompletionMenu, type IToken, type IVirtualizedList, IconButton, type IconName, ImageBlockComponent, type ImageDataContextValue, ImageDataProvider, IndentContext, InputField, type InputFieldInputProps, type InputFieldProps, type InputFieldSize, InspectorContainer, InspectorPrimitives, Italic, KeyboardShortcut, Label, LabelContext, type LabelProps, type LabelType, LabelTypeContext, type LabelTypeContextValue, LabelWidthContext, type LabelWidthContextValue, LabeledElementView, LabeledField, type LayoutProps, type LinkComponent, LinkComponentProvider, List, type ListRowMarginType, type ListRowPosition, ListView, type ListViewItemInfo, type ListViewRootProps, type ListViewRowProps, Logo, type MatchRange, MediaThumbnail, type MediaThumbnailProps, type MenuComponents, type MenuConfig, type MenuItem, type MenuItemIcon, type MenuItemProps, type MenuItemRole, type MenuProps, MenuViewport, Message, type MessageProps, type MoveDragItemHandler, type MoveDragItemParameters, type MoveTreeItemOptions, type NonSelectableMenuItem, type OpenPortalControlsContextValue, type OpenPortalsContextValue, OpenPortalsProvider, type OptionModeOnlyProps, type OptionModeProps, type Optional, type PanelLayoutState, PatternPreviewBackground, type PercentageSidebarOptions, PipelineResultLayout, PipelineResultLink, Popover, type PopoverMenuItem, type PortalScopeContextValue, PortalScopeProvider, Progress, type RelativeDropPosition, type RenderPanel, type RenderThumbnailIconProps, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, type ScoredMenuItem, ScrollArea, SearchCompletionMenu, Section$1 as Section, SectionHeader$1 as SectionHeader, type SectionHeaderMenuItem, type SectionProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlProps, SelectMenu, type SelectableMenuItem, SelectionToolbarContainer, type SeparatorItem, type SetNumberMode, SharedDragProvider, type SharedDragProviderProps, type SideOptions, type SideType, type SidebarRef, type SketchPattern, Slider, Small, Sortable, SortableItemContext, type SortableItemContextProps, type SortableProps, Spacer, type StringModeOnlyProps, type StringModeProps, type SubMenuItem, type SupportedCanvasUploadType, type SupportedImageUploadType, Switch, Tabs, type TabsProps, Text$1 as Text, TextArea, TextAreaRow, type TextProps, type Theme, type ThemeColor, Toast, ToastProvider, type TokenValue, Toolbar, ToolbarDrawer, ToolbarMenu, ToolbarMenuButton, ToolbarMenuDropdown, ToolbarMenuItem, ToolbarMenuPopover, type ToolbarProps, ToolbarShortcut, Tooltip, TreeView, type UseThemeReturnType, UserAvatar, UserPointer, type UserPointerProps, type ValidateDropIndicatorParams, WorkspaceLayout, type WorkspaceLayoutGroup, type WorkspaceLayoutProps, type WorkspaceLayoutRef, type WorkspaceLayoutState, acceptsDrop, colorForStringValues, colorFromString, colorSwatchSizeMap, createDragItemKey, createSectionedMenu, createSharedDrag, cssVarNames, cssVars, cx, decodeImageSrc, defaultAcceptsDrop, dragItemKeySeparator, editableBlockStyles, filterWithGroupedSections, formatByteSize, fuzzyFilter, fuzzyScore, fuzzyTokenize, getClosestPortalScope, getFieldSpacing, getGradientBackground, getGridSize, getItemFirstCollisionDetection, getKeyboardShortcutsForMenuItems, getMenuItemKey, getNewValue, getNextIndex, getPipelineResultLink, getThumbnailColors, isMenuItemSectionHeader, isNonSelectableMenuItem, isPopoverMenuItem, isSelectableMenuItem, isSelectableMenuItemWithScore, labeledFieldStyles, mergeConflictingClassNames, moveTreeItem, normalizeListTargetIndex, parseDragItemKey, popoverStyle, portalScopeDataSetName, portalScopePropName, portalScopeProps, renderIcon, rgbaToSketchColor, separator, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, styles, textStyles, updateSelection, useAutoResize, useComboboxState, useCurrentFloatingWindowInternal, useDesignSystemConfiguration, useDialogContainsElement, useDialogContext, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHasOpenPortals, useHover, useImageData, useIndent, useInputFieldContext, useLabel, useLabelType, useLabelWidth, useLinkComponent, useOpenConfirmationDialog, useOpenDialog, useOpenInputDialog, useOpenPortalsControls, usePlatform, usePlatformModKey, usePortalScopeId, useTheme, validateDropIndicator, withDragProvider, withSeparatorElements };