@noya-app/noya-designsystem 0.1.63 → 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 (112) hide show
  1. package/.turbo/turbo-build.log +10 -10
  2. package/CHANGELOG.md +13 -0
  3. package/dist/index.css +1 -1
  4. package/dist/index.d.mts +169 -127
  5. package/dist/index.d.ts +169 -127
  6. package/dist/index.js +3131 -2642
  7. package/dist/index.js.map +1 -1
  8. package/dist/index.mjs +2941 -2459
  9. package/dist/index.mjs.map +1 -1
  10. package/package.json +10 -22
  11. package/src/__tests__/validateDropIndicator.test.ts +26 -41
  12. package/src/__tests__/workspaceLayout.test.ts +281 -0
  13. package/src/components/ActionMenu.tsx +2 -0
  14. package/src/components/ActivityIndicator.tsx +5 -3
  15. package/src/components/AnimatePresence.tsx +6 -4
  16. package/src/components/Avatar.tsx +4 -2
  17. package/src/components/BaseToolbar.tsx +45 -34
  18. package/src/components/Breadcrumbs.tsx +2 -0
  19. package/src/components/Button.tsx +9 -3
  20. package/src/components/Chip.tsx +2 -0
  21. package/src/components/Collection.tsx +4 -1
  22. package/src/components/ColorSwatch.tsx +42 -22
  23. package/src/components/ColorSwatchControl.tsx +5 -3
  24. package/src/components/Combobox.tsx +2 -0
  25. package/src/components/CommandPalette.tsx +2 -0
  26. package/src/components/ContextMenu.tsx +3 -1
  27. package/src/components/Dialog.tsx +3 -1
  28. package/src/components/DimensionInput.tsx +2 -0
  29. package/src/components/Divider.tsx +10 -6
  30. package/src/components/DraggableMenuButton.tsx +2 -0
  31. package/src/components/Drawer.tsx +11 -3
  32. package/src/components/DropdownMenu.tsx +3 -1
  33. package/src/components/EditableText.tsx +2 -0
  34. package/src/components/FileUploadIndicator.tsx +108 -0
  35. package/src/components/FillPreviewBackground.tsx +2 -0
  36. package/src/components/FloatingWindow.tsx +2 -0
  37. package/src/components/GradientPicker.tsx +2 -0
  38. package/src/components/Grid.tsx +47 -38
  39. package/src/components/GridView.tsx +33 -11
  40. package/src/components/IconButton.tsx +2 -0
  41. package/src/components/Icons.tsx +1 -1
  42. package/src/components/InputField.tsx +2 -0
  43. package/src/components/Label.tsx +1 -1
  44. package/src/components/LabeledElementView.tsx +6 -2
  45. package/src/components/LabeledField.tsx +2 -0
  46. package/src/components/List.tsx +10 -2
  47. package/src/components/ListView.tsx +27 -14
  48. package/src/components/MediaThumbnail.tsx +31 -2
  49. package/src/components/Message.tsx +8 -9
  50. package/src/components/Popover.tsx +3 -1
  51. package/src/components/Progress.tsx +20 -7
  52. package/src/components/ScrollArea.tsx +3 -1
  53. package/src/components/SearchCompletionMenu.tsx +2 -0
  54. package/src/components/Section.tsx +2 -0
  55. package/src/components/SegmentedControl.tsx +42 -16
  56. package/src/components/SelectMenu.tsx +3 -1
  57. package/src/components/SelectionToolbar.tsx +3 -1
  58. package/src/components/Slider.tsx +3 -1
  59. package/src/components/Switch.tsx +3 -1
  60. package/src/components/Tabs.tsx +3 -1
  61. package/src/components/Text.tsx +6 -5
  62. package/src/components/TextArea.tsx +2 -0
  63. package/src/components/Toast.tsx +1 -1
  64. package/src/components/Toolbar.tsx +8 -2
  65. package/src/components/ToolbarDrawer.tsx +29 -0
  66. package/src/components/Tooltip.tsx +1 -1
  67. package/src/components/TreeView.tsx +2 -0
  68. package/src/components/UserPointer.tsx +2 -0
  69. package/src/components/ai-assistant/AIAssistantLayout.tsx +2 -0
  70. package/src/components/blocks/ImageBlockComponent.tsx +156 -0
  71. package/src/components/connected-users-menu/ConnectedUsersMenuLayout.tsx +2 -0
  72. package/src/components/file-explorer/FileExplorerLayout.tsx +2 -0
  73. package/src/components/internal/Checkmark.tsx +24 -0
  74. package/src/components/internal/Menu.tsx +2 -1
  75. package/src/components/internal/MenuViewport.tsx +4 -2
  76. package/src/components/internal/SelectItem.tsx +4 -23
  77. package/src/components/internal/TextInput.tsx +2 -0
  78. package/src/components/sorting/DragRegistration.tsx +8 -4
  79. package/src/components/sorting/SharedDragProvider.tsx +43 -18
  80. package/src/components/sorting/Sortable.tsx +19 -10
  81. package/src/components/sorting/createSharedDrag.tsx +7 -6
  82. package/src/components/sorting/sorting.ts +6 -9
  83. package/src/components/workspace/DrawerWorkspaceLayout.tsx +107 -26
  84. package/src/components/workspace/PanelWorkspaceLayout.tsx +98 -65
  85. package/src/components/workspace/VerticalTabMenu.tsx +36 -0
  86. package/src/components/workspace/WorkspaceLayout.tsx +46 -42
  87. package/src/components/workspace/constants.ts +4 -0
  88. package/src/components/workspace/panelStorage.ts +216 -0
  89. package/src/components/workspace/types.ts +11 -4
  90. package/src/contexts/DesignSystemConfiguration.tsx +12 -5
  91. package/src/contexts/DialogContext.tsx +2 -0
  92. package/src/contexts/FloatingWindowContext.tsx +2 -0
  93. package/src/contexts/GlobalInputBlurContext.tsx +2 -0
  94. package/src/contexts/ImageDataContext.tsx +2 -0
  95. package/src/contexts/LinkComponentContext.tsx +17 -0
  96. package/src/contexts/OpenPortalsContext.tsx +2 -0
  97. package/src/contexts/PortalScopeContext.tsx +2 -0
  98. package/src/hooks/mergeEventHandlers.ts +1 -1
  99. package/src/hooks/useHover.ts +30 -17
  100. package/src/hooks/useIndent.ts +2 -0
  101. package/src/hooks/useLabel.ts +2 -0
  102. package/src/hooks/useObjectURL.ts +5 -3
  103. package/src/hooks/usePlatform.ts +5 -3
  104. package/src/hooks/useTheme.ts +3 -1
  105. package/src/index.css +19 -0
  106. package/src/index.tsx +5 -2
  107. package/src/utils/classNames.ts +4 -3
  108. package/src/utils/combobox.ts +2 -0
  109. package/src/utils/formatByteSize.ts +8 -0
  110. package/src/utils/withSeparatorElements.ts +1 -1
  111. package/src/hooks/usePreservePanelSize.tsx +0 -183
  112. package/src/mediaQuery.ts +0 -13
package/dist/index.d.ts CHANGED
@@ -1,28 +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, DetailedHTMLProps } 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';
21
18
  import * as PopperPrimitive from '@radix-ui/react-popper';
22
19
  import { SelectProps } from '@radix-ui/react-select';
23
20
  import { useSortable } from '@dnd-kit/sortable';
24
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
25
- import { ImperativePanelGroupHandle } from 'react-resizable-panels';
26
21
  import { RgbaColor } from '@noya-app/noya-colorpicker';
27
22
 
28
23
  declare function fuzzyScore({ item, query }: {
@@ -63,7 +58,7 @@ type SeparatorItem = {
63
58
  };
64
59
  declare const separator: SeparatorItem;
65
60
  type FalsyReactNode = false | "" | null | undefined;
66
- type MenuItemIcon = IconName | React__default.ReactElement | FalsyReactNode;
61
+ type MenuItemIcon = IconName | React__default.ReactElement<any> | FalsyReactNode;
67
62
  type BaseMenuItem = {
68
63
  checked?: boolean;
69
64
  disabled?: boolean;
@@ -85,6 +80,7 @@ type SelectableMenuItem<T extends string> = BaseMenuItem & {
85
80
  value: T;
86
81
  testSelected?: boolean;
87
82
  tooltip?: ReactNode;
83
+ drawer?: ReactNode;
88
84
  };
89
85
  type SubMenuItem<T extends string> = BaseMenuItem & {
90
86
  type: "submenu";
@@ -149,7 +145,7 @@ type ActionMenuProps<TMenu extends string> = {
149
145
  variant?: "normal" | "bare";
150
146
  color?: string;
151
147
  };
152
- 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;
153
149
 
154
150
  interface Props$f {
155
151
  size?: number;
@@ -224,7 +220,7 @@ type AvatarProps = {
224
220
  children?: React__default.ReactNode;
225
221
  onClick?: () => void;
226
222
  };
227
- 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>>;
228
224
  declare const AvatarStack: React__default.NamedExoticComponent<{
229
225
  size?: number;
230
226
  /** @default 3 */
@@ -240,6 +236,19 @@ type BannerProps = {
240
236
  };
241
237
  declare function Banner({ label, className, style }: BannerProps): React__default.JSX.Element;
242
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
+
243
252
  type Theme = (typeof tailwindConfig.theme)["extend"];
244
253
  type ThemeColor = keyof Theme["colors"];
245
254
  declare const cssVars: {
@@ -278,6 +287,9 @@ declare const cssVars: {
278
287
  buttonBackgroundActiveHover: string;
279
288
  buttonText: string;
280
289
  buttonTextActive: string;
290
+ toolbarDrawerBackground: string;
291
+ toolbarDrawerBorder: string;
292
+ toolbarDrawerShadow: string;
281
293
  canvasBackground: string;
282
294
  canvasGrid: string;
283
295
  sidebarBackground: string;
@@ -481,6 +493,9 @@ declare const cssVarNames: {
481
493
  buttonBackgroundActiveHover: string;
482
494
  buttonText: string;
483
495
  buttonTextActive: string;
496
+ toolbarDrawerBackground: string;
497
+ toolbarDrawerBorder: string;
498
+ toolbarDrawerShadow: string;
484
499
  canvasBackground: string;
485
500
  canvasGrid: string;
486
501
  sidebarBackground: string;
@@ -655,7 +670,7 @@ type KebabToCamelCase<S extends string> = S extends `${infer First}-${infer Rest
655
670
  type Variant = "title" | "subtitle" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "body" | "small" | "button" | "code" | "label";
656
671
  declare const textStyles: Record<Variant, string>;
657
672
  type TextProps = {
658
- as?: keyof ReactHTML;
673
+ as?: React__default.HTMLElementType;
659
674
  href?: string;
660
675
  className?: string;
661
676
  style?: React__default.CSSProperties;
@@ -685,7 +700,7 @@ type BreadcrumbTextProps = Omit<TextProps, "variant" | "whiteSpace" | "lineHeigh
685
700
  declare const BreadcrumbText: React__default.ForwardRefExoticComponent<BreadcrumbTextProps & React__default.RefAttributes<HTMLSpanElement>>;
686
701
  declare const BreadcrumbSlash: () => React__default.JSX.Element;
687
702
 
688
- type ButtonVariant = "normal" | "thin" | "floating" | "none";
703
+ type ButtonVariant = "normal" | "thin" | "floating" | "none" | "ghost";
689
704
  type ButtonSize = "small" | "normal" | "large" | "floating";
690
705
  type ButtonColorScheme = "primary" | "secondary";
691
706
  interface ButtonProps extends React__default.DetailedHTMLProps<React__default.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
@@ -717,7 +732,7 @@ declare const Button: React__default.ForwardRefExoticComponent<Omit<ButtonProps,
717
732
  interface CheckboxProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type"> {
718
733
  colorScheme?: "primary" | "secondary";
719
734
  }
720
- 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>>;
721
736
 
722
737
  type ChipColorScheme = "primary" | "secondary" | "error";
723
738
  type ChipSize = "small" | "medium" | "large";
@@ -742,7 +757,7 @@ interface ChipProps {
742
757
  role?: string;
743
758
  disabled?: boolean;
744
759
  }
745
- 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>>;
746
761
 
747
762
  type RelativeDropPosition = "above" | "below" | "inside";
748
763
  type MoveDragItemParameters = {
@@ -786,16 +801,15 @@ type SortableItemContextProps = {
786
801
  declare const SortableItemContext: React$1.Context<SortableItemContextProps>;
787
802
  type ValidateDropIndicatorParams = {
788
803
  acceptsDrop: DropValidator;
789
- keys: UniqueIdentifier[];
790
- activeId: UniqueIdentifier;
791
- overId: UniqueIdentifier;
804
+ activeIndex: number;
805
+ overIndex: number;
792
806
  offsetStart: number;
793
807
  elementStart: number;
794
808
  elementSize: number;
795
809
  sourceListId: string;
796
810
  targetListId: string;
797
811
  };
798
- 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;
799
813
  declare const dragItemKeySeparator = "-~-";
800
814
  declare function createDragItemKey(listId: string, itemId: UniqueIdentifier): string;
801
815
  declare function parseDragItemKey(key: string): {
@@ -805,8 +819,9 @@ declare function parseDragItemKey(key: string): {
805
819
 
806
820
  type GetDropIndicatorParameters = {
807
821
  absolutePosition: Point$1;
808
- active: Active;
809
- over: Over;
822
+ activeIndex: number;
823
+ overIndex: number;
824
+ overRect: ClientRect;
810
825
  sourceListId: string;
811
826
  targetListId: string;
812
827
  };
@@ -817,7 +832,7 @@ interface RegisteredList {
817
832
  renderOverlay?: (id: UniqueIdentifier) => React__default.ReactNode;
818
833
  acceptsFromList: AcceptsFromList;
819
834
  acceptsDrop: AcceptsDrop;
820
- getDropIndicator: (parameters: GetDropIndicatorParameters) => RelativeDropPosition | undefined;
835
+ getDropIndicator: (parameters: GetDropIndicatorParameters, acceptsDrop: AcceptsDrop) => RelativeDropPosition | undefined;
821
836
  }
822
837
  interface DragRegistrationContextType {
823
838
  registerList: (list: RegisteredList) => void;
@@ -887,6 +902,8 @@ interface ListViewRowProps<MenuItemType extends string = string> {
887
902
  className?: string;
888
903
  dragIndicatorStyle?: CSSProperties | ((props: DragIndicatorStyleProps) => CSSProperties);
889
904
  testRelativeDropPosition?: RelativeDropPosition;
905
+ href?: string;
906
+ as?: React__default.ElementType;
890
907
  }
891
908
  type DragIndicatorStyleProps = {
892
909
  depth: number;
@@ -937,7 +954,7 @@ type ListViewRootProps = {
937
954
  divider?: boolean;
938
955
  gap?: number;
939
956
  colorScheme?: ListColorScheme;
940
- containerRef?: React__default.RefObject<HTMLDivElement>;
957
+ containerRef?: React__default.RefObject<HTMLDivElement | null>;
941
958
  onDragOver?: React__default.DragEventHandler<HTMLDivElement>;
942
959
  onDragEnter?: React__default.DragEventHandler<HTMLDivElement>;
943
960
  onDragLeave?: React__default.DragEventHandler<HTMLDivElement>;
@@ -953,8 +970,8 @@ declare namespace ListView {
953
970
  children: React__default.ReactNode;
954
971
  } & HTMLAttributes<HTMLSpanElement>) => React__default.JSX.Element>;
955
972
  const EditableRowTitle: React__default.MemoExoticComponent<typeof ListViewEditableRowTitle>;
956
- const Row: <MenuItemType extends string>(props: ListViewRowProps<MenuItemType> & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement | null;
957
- 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;
958
975
  const RowContext: React__default.Context<ListRowContextValue>;
959
976
  type ClickInfo = ListViewClickInfo;
960
977
  type ItemInfo = ListViewItemInfo;
@@ -995,6 +1012,7 @@ interface CollectionProps<T, M extends string = string> {
995
1012
  items: T[];
996
1013
  getId: (item: T) => string;
997
1014
  getName: (item: T) => string;
1015
+ getHref?: (item: T) => string;
998
1016
  getExpanded?: (item: T) => boolean | undefined;
999
1017
  getPlaceholder?: (item: T) => string;
1000
1018
  /**
@@ -1041,27 +1059,23 @@ interface CollectionProps<T, M extends string = string> {
1041
1059
  viewType?: CollectionViewType;
1042
1060
  onClickItem?: (itemId: string) => void;
1043
1061
  onDoubleClickItem?: (itemId: string) => void;
1044
- renderEmptyState?: () => React__default.ReactElement;
1062
+ renderEmptyState?: () => React__default.ReactElement<any>;
1045
1063
  /** @default false */
1046
1064
  sortable?: boolean;
1047
1065
  dragIndicatorStyle?: ListViewRowProps<M>["dragIndicatorStyle"];
1048
1066
  sharedDragProps?: SharedDragProps;
1049
1067
  sortableId?: string;
1050
1068
  }
1051
- 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;
1052
1070
  type CollectionItemSize = "xxs" | "xs" | "small" | "medium" | "mediumLarge" | "large" | "xl";
1053
1071
 
1054
- type ColorSwatchSize = "xsmall" | "small" | "medium" | "large";
1055
- declare const colorSwatchSizeMap: {
1056
- xsmall: number;
1057
- small: number;
1058
- medium: number;
1059
- large: number;
1060
- };
1072
+ type ColorSwatchSize = "xxsmall" | "xsmall" | "small" | "medium" | "large";
1073
+ declare const colorSwatchSizeMap: Record<ColorSwatchSize, number>;
1061
1074
  declare const ColorSwatch: React__default.ForwardRefExoticComponent<{
1062
1075
  color: string;
1063
1076
  size?: ColorSwatchSize;
1064
1077
  checked?: boolean;
1078
+ as?: React__default.ElementType;
1065
1079
  } & React__default.ButtonHTMLAttributes<HTMLButtonElement> & React__default.RefAttributes<HTMLButtonElement>>;
1066
1080
 
1067
1081
  type TokenValue = string | {
@@ -1192,17 +1206,17 @@ declare function InputFieldRoot({ id, children, width, sideOffset, startWidth: s
1192
1206
  type InputFieldProps = InputFieldRootProps & InputFieldInputProps;
1193
1207
  declare const InputField: React__default.ForwardRefExoticComponent<InputFieldProps & React__default.RefAttributes<HTMLInputElement>> & {
1194
1208
  readonly Root: React__default.MemoExoticComponent<typeof InputFieldRoot>;
1195
- readonly Input: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<InputFieldInputProps & React__default.RefAttributes<HTMLInputElement>>>;
1209
+ readonly Input: React__default.NamedExoticComponent<InputFieldInputProps & React__default.RefAttributes<HTMLInputElement>>;
1196
1210
  readonly Typeahead: React__default.MemoExoticComponent<(props: {
1197
1211
  prefix: string;
1198
1212
  value: string;
1199
1213
  isFocused: boolean;
1200
1214
  }) => React__default.JSX.Element>;
1201
1215
  readonly NumberInput: React__default.MemoExoticComponent<typeof InputFieldNumberInput>;
1202
- readonly DropdownMenu: <T extends string>(props: InputFieldDropdownProps<T>) => React__default.ReactElement | null;
1203
- readonly Button: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement> & ButtonProps & {
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 & {
1204
1218
  variant?: "floating" | "normal";
1205
- }, "ref"> & React__default.RefAttributes<HTMLButtonElement>>>;
1219
+ }, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
1206
1220
  readonly PrimitiveElement: ({ readOnly, disabled, className, style, ...props }: {
1207
1221
  readOnly?: boolean;
1208
1222
  disabled?: boolean;
@@ -1252,7 +1266,7 @@ interface ComboboxRef<T extends string> {
1252
1266
  setValue(value: string | SelectableMenuItem<T>): void;
1253
1267
  selectAllInputText(): void;
1254
1268
  }
1255
- 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;
1256
1270
 
1257
1271
  interface ComboboxMenuProps<T extends string> {
1258
1272
  items: ScoredMenuItem<T>[];
@@ -1265,7 +1279,7 @@ interface ComboboxMenuProps<T extends string> {
1265
1279
  /** @default right */
1266
1280
  iconPosition?: "left" | "right";
1267
1281
  }
1268
- 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;
1269
1283
 
1270
1284
  interface ISearchCompletionMenu {
1271
1285
  focus: () => void;
@@ -1319,9 +1333,9 @@ interface MenuProps<T extends string> {
1319
1333
  shouldBindKeyboardShortcuts?: boolean;
1320
1334
  onOpenChange?: (open: boolean) => void;
1321
1335
  }
1322
- 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;
1323
1337
 
1324
- 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>>;
1325
1339
  interface IDialog {
1326
1340
  containsElement: (element: HTMLElement) => boolean;
1327
1341
  }
@@ -1330,9 +1344,9 @@ interface Props$d {
1330
1344
  description?: ReactNode;
1331
1345
  children?: ReactNode;
1332
1346
  style?: ComponentProps<typeof StyledContent>["style"];
1333
- open: ComponentProps<typeof DialogPrimitive.Root>["open"];
1334
- onOpenChange?: ComponentProps<typeof DialogPrimitive.Root>["onOpenChange"];
1335
- 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"];
1336
1350
  closeOnInteractOutside?: boolean;
1337
1351
  showCloseButton?: boolean;
1338
1352
  className?: string;
@@ -1362,7 +1376,7 @@ declare const DraggableMenuButton: <T extends string>(props: {
1362
1376
  isVisible?: boolean;
1363
1377
  className?: string;
1364
1378
  style?: React__default.CSSProperties;
1365
- } & Omit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "onSelect">) => React__default.ReactElement | null;
1379
+ } & Omit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "onSelect">) => React__default.ReactElement<any> | null;
1366
1380
 
1367
1381
  type SidebarRef = {
1368
1382
  expand: () => void;
@@ -1374,6 +1388,8 @@ type PercentageSidebarOptions = {
1374
1388
  maxSize?: number;
1375
1389
  initialSize?: number;
1376
1390
  resizable?: boolean;
1391
+ defaultCollapsed?: boolean;
1392
+ showTabs?: boolean;
1377
1393
  };
1378
1394
  type PanelLayoutState = {
1379
1395
  leftSidebarCollapsed: boolean;
@@ -1396,11 +1412,14 @@ type LayoutProps<LeftTab extends string = string, RightTab extends string = stri
1396
1412
  rightSidebarOptions: PercentageSidebarOptions;
1397
1413
  centerPanelPercentage: number;
1398
1414
  autoSavePrefix?: string;
1399
- internalLayoutState: PanelLayoutState | null;
1400
- leftSidebarRef: React.RefObject<SidebarRef>;
1401
- rightSidebarRef: React.RefObject<SidebarRef>;
1402
- handleChangeLayoutState: (state: PanelLayoutState) => void;
1415
+ leftSidebarRef: React.RefObject<SidebarRef | null>;
1416
+ rightSidebarRef: React.RefObject<SidebarRef | null>;
1403
1417
  };
1418
+ type WorkspaceLayoutGroup = {
1419
+ expandToSizes: Record<string, number>;
1420
+ layout: number[];
1421
+ };
1422
+ type WorkspaceLayoutState = Record<string, WorkspaceLayoutGroup>;
1404
1423
 
1405
1424
  type DrawerProps = {
1406
1425
  open?: boolean;
@@ -1411,12 +1430,14 @@ type DrawerProps = {
1411
1430
  className?: string;
1412
1431
  id?: string;
1413
1432
  style?: React$1.CSSProperties;
1433
+ overlayClassName?: string;
1434
+ overlayStyle?: React$1.CSSProperties;
1414
1435
  positioning?: "fixed" | "absolute";
1415
1436
  side?: "left" | "right";
1416
1437
  portalled?: boolean;
1417
1438
  portalContainer?: HTMLElement | null;
1418
1439
  };
1419
- 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>>;
1420
1441
 
1421
1442
  type DropdownRootProps<T extends string> = Omit<MenuProps<T>, "children"> & {
1422
1443
  children?: ReactNode | ((props: {
@@ -1428,7 +1449,7 @@ type DropdownRootProps<T extends string> = Omit<MenuProps<T>, "children"> & {
1428
1449
  onCloseAutoFocus?: React__default.EventHandler<SyntheticEvent<unknown>>;
1429
1450
  emptyState?: React__default.ReactNode;
1430
1451
  contentStyle?: React__default.CSSProperties;
1431
- } & Pick<ComponentProps<typeof RadixDropdownMenu.Content>, "side" | "sideOffset" | "align" | "alignOffset" | "collisionPadding">;
1452
+ } & Pick<ComponentProps<typeof DropdownMenu$1.Content>, "side" | "sideOffset" | "align" | "alignOffset" | "collisionPadding">;
1432
1453
  declare const DropdownMenu: <T extends string>(props: Omit<MenuProps<T>, "children"> & {
1433
1454
  children?: ReactNode | ((props: {
1434
1455
  open: boolean;
@@ -1439,7 +1460,7 @@ declare const DropdownMenu: <T extends string>(props: Omit<MenuProps<T>, "childr
1439
1460
  onCloseAutoFocus?: React__default.EventHandler<SyntheticEvent<unknown>>;
1440
1461
  emptyState?: React__default.ReactNode;
1441
1462
  contentStyle?: React__default.CSSProperties;
1442
- } & Pick<RadixDropdownMenu.DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>, "align" | "side" | "sideOffset" | "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;
1443
1464
 
1444
1465
  type RenderPreviewProps = {
1445
1466
  children: string;
@@ -1474,7 +1495,7 @@ type Props$c = {
1474
1495
  interface EditableTextRef {
1475
1496
  startEditing: () => void;
1476
1497
  }
1477
- declare const EditableText: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Props$c & React__default.RefAttributes<EditableTextRef>>>;
1498
+ declare const EditableText: React__default.NamedExoticComponent<Props$c & React__default.RefAttributes<EditableTextRef>>;
1478
1499
 
1479
1500
  type FadeDirection = "left" | "right" | "top" | "bottom";
1480
1501
  type FadeProps = {
@@ -1499,7 +1520,7 @@ declare const FileExplorerUploadButton: ({ showUploadButton, onUpload, isUploadi
1499
1520
  isUploading?: boolean;
1500
1521
  children?: React__default.ReactNode;
1501
1522
  }) => React__default.JSX.Element;
1502
- 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;
1503
1524
  declare const FileExplorerDetail: ({ selected, size, children, }: {
1504
1525
  selected: boolean;
1505
1526
  children: React__default.ReactNode;
@@ -1507,6 +1528,19 @@ declare const FileExplorerDetail: ({ selected, size, children, }: {
1507
1528
  }) => React__default.JSX.Element;
1508
1529
  declare const FileExplorerEmptyState: ({ label, ...props }: BannerProps$1) => React__default.JSX.Element;
1509
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
+
1510
1544
  declare const SUPPORTED_IMAGE_UPLOAD_TYPES: ("image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
1511
1545
  declare const SUPPORTED_CANVAS_UPLOAD_TYPES: ("" | "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
1512
1546
  type SupportedImageUploadType = (typeof SUPPORTED_IMAGE_UPLOAD_TYPES)[number];
@@ -1522,7 +1556,7 @@ interface Props$b {
1522
1556
  id?: string;
1523
1557
  value?: Sketch.Color | Sketch.Gradient | SketchPattern;
1524
1558
  }
1525
- declare const FillInputField: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Props$b & React__default.RefAttributes<HTMLButtonElement>>>;
1559
+ declare const FillInputField: React__default.NamedExoticComponent<Props$b & React__default.RefAttributes<HTMLButtonElement>>;
1526
1560
 
1527
1561
  declare const PatternPreviewBackground: React$1.NamedExoticComponent<{
1528
1562
  fillType: Sketch.PatternFillType;
@@ -1570,10 +1604,11 @@ declare const getGridSize: (size: CollectionItemSize) => {
1570
1604
  };
1571
1605
  declare const Grid: <T, M extends string = string>(props: CollectionProps<T, M> & {
1572
1606
  ref?: React__default.ForwardedRef<CollectionRef>;
1573
- } & React__default.RefAttributes<CollectionRef>) => React__default.ReactElement | null;
1607
+ } & React__default.RefAttributes<CollectionRef>) => React__default.ReactElement<any> | null;
1574
1608
 
1575
1609
  interface ItemProps<MenuItemType extends string = string> {
1576
1610
  id: string;
1611
+ href?: string;
1577
1612
  title?: ReactNode;
1578
1613
  subtitle?: ReactNode;
1579
1614
  loading?: boolean;
@@ -1600,6 +1635,7 @@ type GridViewContextValue = {
1600
1635
  bordered: boolean;
1601
1636
  disabled: boolean;
1602
1637
  gap: number;
1638
+ alwaysShowSubtitles: boolean;
1603
1639
  };
1604
1640
  interface GridViewRootProps extends Partial<GridViewContextValue> {
1605
1641
  children: ReactNode;
@@ -1613,18 +1649,19 @@ interface GridViewRootProps extends Partial<GridViewContextValue> {
1613
1649
  role?: string;
1614
1650
  renderEmptyState?: () => ReactNode;
1615
1651
  contentClassName?: string;
1652
+ alwaysShowSubtitles?: boolean;
1616
1653
  }
1617
1654
  declare function GridViewSection({ children, className, renderEmptyState, }: {
1618
1655
  children?: ReactNode;
1619
1656
  className?: string;
1620
1657
  renderEmptyState?: () => ReactNode;
1621
- }): 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;
1622
1659
  declare function GridViewSectionHeader({ title }: {
1623
1660
  title: string;
1624
1661
  }): React__default.JSX.Element;
1625
1662
  declare namespace GridView {
1626
- const Root: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<GridViewRootProps & React__default.RefAttributes<HTMLDivElement>>>;
1627
- 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;
1628
1665
  const Section: React__default.MemoExoticComponent<typeof GridViewSection>;
1629
1666
  const SectionHeader: React__default.MemoExoticComponent<typeof GridViewSectionHeader>;
1630
1667
  }
@@ -1637,9 +1674,9 @@ type Props$8 = Omit<ButtonProps, "children" | "variant" | "flex" | "size"> & {
1637
1674
  color?: string;
1638
1675
  size?: number;
1639
1676
  };
1640
- declare const IconButton: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<Omit<Props$8, "ref"> & React$1.RefAttributes<HTMLButtonElement>>>;
1677
+ declare const IconButton: React$1.NamedExoticComponent<Omit<Props$8, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
1641
1678
 
1642
- declare const InspectorContainer: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
1679
+ declare const InspectorContainer: React__default.NamedExoticComponent<{
1643
1680
  header?: React__default.ReactNode;
1644
1681
  children?: React__default.ReactNode;
1645
1682
  fallback?: React__default.ReactNode;
@@ -1647,7 +1684,7 @@ declare const InspectorContainer: React__default.MemoExoticComponent<React__defa
1647
1684
  id?: string;
1648
1685
  className?: string;
1649
1686
  style?: React__default.CSSProperties;
1650
- } & React__default.RefAttributes<HTMLDivElement>>>;
1687
+ } & React__default.RefAttributes<HTMLDivElement>>;
1651
1688
 
1652
1689
  type MenuSeparatorComponent = React__default.FC<{
1653
1690
  className?: string;
@@ -1680,10 +1717,10 @@ type MenuComponents = {
1680
1717
  Item: MenuItemComponent;
1681
1718
  CheckboxItem?: MenuCheckboxItemComponent;
1682
1719
  ItemIndicator?: MenuItemIndicatorComponent;
1683
- Sub?: typeof RadixDropdownMenu.Sub | typeof RadixContextMenu.Sub;
1684
- SubTrigger?: typeof RadixDropdownMenu.SubTrigger | typeof RadixContextMenu.SubTrigger;
1685
- SubContent?: typeof RadixDropdownMenu.SubContent | typeof RadixContextMenu.SubContent;
1686
- 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;
1687
1724
  };
1688
1725
  type MenuViewportProps<T extends string> = {
1689
1726
  items: MenuItem<T>[];
@@ -1694,7 +1731,7 @@ declare const MenuViewport: <T extends string>({ items, Components, onSelect, }:
1694
1731
 
1695
1732
  interface LabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
1696
1733
  }
1697
- 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>>;
1698
1735
 
1699
1736
  interface ContainerProps {
1700
1737
  children: React$1.ReactNode;
@@ -1729,7 +1766,7 @@ type LabelWidthContextValue = {
1729
1766
  declare const LabelWidthContext: React__default.Context<LabelWidthContextValue>;
1730
1767
  declare const useLabelWidth: () => number;
1731
1768
 
1732
- declare const labeledFieldStyles: (labelType?: LabelType) => string;
1769
+ declare const labeledFieldStyles: (labelType?: LabelType) => string | undefined;
1733
1770
  declare const LabeledField: React__default.NamedExoticComponent<{
1734
1771
  children: React__default.ReactNode;
1735
1772
  label: React__default.ReactNode;
@@ -1743,9 +1780,13 @@ declare const LabeledField: React__default.NamedExoticComponent<{
1743
1780
  minWidth?: number;
1744
1781
  }>;
1745
1782
 
1746
- 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;
1747
1784
 
1748
- 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
+ };
1749
1790
  type MediaThumbnailProps = {
1750
1791
  contentType?: string;
1751
1792
  url?: string;
@@ -1754,15 +1795,16 @@ type MediaThumbnailProps = {
1754
1795
  /** Color scheme for the thumbnail. Affects icon color and background.
1755
1796
  * @default "icon"
1756
1797
  */
1757
- colorScheme?: ColorScheme$1;
1798
+ colorScheme?: ColorScheme$2;
1758
1799
  /**
1759
1800
  * If provided, use this icon instead of the default one for the asset type
1760
1801
  */
1761
1802
  iconName?: IconName;
1762
1803
  size?: CollectionItemSize;
1763
1804
  fileName?: string;
1805
+ renderThumbnailIcon?: (props: RenderThumbnailIconProps) => React__default.ReactNode;
1764
1806
  };
1765
- declare const getThumbnailColors: (colorScheme: ColorScheme$1, selected: boolean) => {
1807
+ declare const getThumbnailColors: (colorScheme: ColorScheme$2, selected: boolean) => {
1766
1808
  icon: string;
1767
1809
  background: string;
1768
1810
  };
@@ -1775,7 +1817,7 @@ type MessageProps = {
1775
1817
  /** @default 27 */
1776
1818
  avatarSize?: number;
1777
1819
  };
1778
- 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>>;
1779
1821
 
1780
1822
  declare const Logo: React__default.ForwardRefExoticComponent<Omit<React__default.SVGProps<SVGSVGElement>, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
1781
1823
 
@@ -1790,7 +1832,7 @@ declare function getPipelineResultLink(value: unknown): {
1790
1832
  } | undefined;
1791
1833
 
1792
1834
  type PopoverVariant = "normal" | "large";
1793
- interface Props$7 extends Pick<ComponentProps<(typeof PopoverPrimitive)["Content"]>, "onOpenAutoFocus" | "onCloseAutoFocus" | "onPointerDownOutside" | "onInteractOutside" | "onFocusOutside" | "side"> {
1835
+ interface Props$7 extends Pick<ComponentProps<(typeof Popover$1)["Content"]>, "onOpenAutoFocus" | "onCloseAutoFocus" | "onPointerDownOutside" | "onInteractOutside" | "onFocusOutside" | "side"> {
1794
1836
  children: React__default.ReactNode | ((props: {
1795
1837
  close: () => void;
1796
1838
  }) => React__default.ReactNode);
@@ -1812,11 +1854,12 @@ declare const popoverStyle: {
1812
1854
  };
1813
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;
1814
1856
 
1815
- type ProgressVariant = "normal" | "warning" | "primary" | "secondary";
1816
- declare function Progress({ value, variant, className, }: {
1857
+ type ColorScheme$1 = "normal" | "warning" | "primary" | "secondary";
1858
+ declare function Progress({ value, colorScheme, className, style, }: {
1817
1859
  value: number;
1818
- variant?: ProgressVariant;
1860
+ colorScheme?: ColorScheme$1;
1819
1861
  className?: string;
1862
+ style?: React$1.CSSProperties;
1820
1863
  }): React$1.JSX.Element;
1821
1864
 
1822
1865
  interface Props$6 {
@@ -1847,7 +1890,7 @@ type ExpandableSectionProps = {
1847
1890
  declare const Section$1: React__default.NamedExoticComponent<SectionProps & Partial<ExpandableSectionProps>>;
1848
1891
 
1849
1892
  type SegmentedControlColorScheme = "primary" | "secondary";
1850
- type SegmentedControlVariant = "default" | "tabs";
1893
+ type SegmentedControlVariant = "default" | "tabs" | "buttons";
1851
1894
  interface SegmentedControlProps<T extends string> {
1852
1895
  id?: string;
1853
1896
  value?: T;
@@ -1867,7 +1910,7 @@ type SegmentedControlItemProps<T extends string> = {
1867
1910
  tooltip?: ReactNode;
1868
1911
  variant?: SegmentedControlVariant;
1869
1912
  } & Pick<SelectableMenuItem<T>, "value" | "disabled" | "icon" | "role" | "title">;
1870
- 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;
1871
1914
 
1872
1915
  type PopperPrimitiveContentProps = ComponentProps<typeof PopperPrimitive.Content>;
1873
1916
  type SelectionToolbarContainerProps = Pick<PopperPrimitiveContentProps, "side" | "sideOffset" | "align"> & {
@@ -1895,7 +1938,7 @@ type Props$5<T extends string> = {
1895
1938
  onBlur?: FocusEventHandler;
1896
1939
  contentStyle?: React__default.CSSProperties;
1897
1940
  } & Pick<SelectProps, "open" | "onOpenChange">;
1898
- 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;
1899
1942
 
1900
1943
  type ColorScheme = "primary" | "secondary";
1901
1944
  interface Props$4 {
@@ -1917,10 +1960,11 @@ declare const Slider: React__default.NamedExoticComponent<Props$4>;
1917
1960
 
1918
1961
  type SharedDragProviderProps = {
1919
1962
  children: React$1.ReactNode;
1963
+ acceptsDrop?: AcceptsDrop;
1920
1964
  onMoveItem?: MoveDragItemHandler;
1921
1965
  sharedDragProps?: SharedDragProps;
1922
1966
  };
1923
- declare function SharedDragProvider({ children, onMoveItem, sharedDragProps, }: SharedDragProviderProps): React$1.JSX.Element;
1967
+ declare function SharedDragProvider({ children, acceptsDrop, onMoveItem, sharedDragProps, }: SharedDragProviderProps): React$1.JSX.Element;
1924
1968
  declare function withDragProvider<T extends object>(Component: React$1.ComponentType<T>): (props: T) => React$1.JSX.Element;
1925
1969
  declare const getItemFirstCollisionDetection: (registeredLists: Map<string, RegisteredList>) => CollisionDetection;
1926
1970
 
@@ -1941,7 +1985,7 @@ interface RootProps {
1941
1985
  acceptsDrop?: DropValidator;
1942
1986
  getDropTargetParentIndex?: (index: number) => number | undefined;
1943
1987
  sharedDragProps?: SharedDragProps;
1944
- containerRef?: React$1.RefObject<HTMLElement>;
1988
+ containerRef?: React$1.RefObject<HTMLElement | null>;
1945
1989
  }
1946
1990
  declare function SortableItem<TElement extends HTMLElement>({ id, disabled, children, }: {
1947
1991
  id: UniqueIdentifier;
@@ -1999,28 +2043,27 @@ type TabsProps<T extends string = string> = {
1999
2043
  renderContent: ({ value }: {
2000
2044
  value: T;
2001
2045
  }) => React$1.ReactNode;
2046
+ variant?: "default" | "tabs" | "buttons";
2002
2047
  } & DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
2003
- declare function Tabs<T extends string = string>({ value, onValueChange, items, renderContent, ...props }: TabsProps<T>): React$1.JSX.Element;
2048
+ declare function Tabs<T extends string = string>({ value, onValueChange, items, renderContent, variant, ...props }: TabsProps<T>): React$1.JSX.Element;
2004
2049
 
2005
- declare const useAutoResize: (value: string | undefined) => React__default.MutableRefObject<HTMLTextAreaElement | null>;
2006
- declare const TextArea: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
2050
+ declare const useAutoResize: (value: string | undefined) => React__default.RefObject<HTMLTextAreaElement | null>;
2051
+ declare const TextArea: React__default.NamedExoticComponent<{
2007
2052
  onChangeText?: (value: string) => void;
2008
2053
  value?: string;
2009
2054
  autoResize?: boolean;
2010
- } & React__default.TextareaHTMLAttributes<HTMLTextAreaElement> & React__default.RefAttributes<HTMLTextAreaElement>>>;
2011
- 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<{
2012
2057
  className?: string;
2013
2058
  textAreaClassName?: string;
2014
2059
  textAreaRef?: React__default.Ref<HTMLTextAreaElement>;
2015
2060
  end?: React__default.ReactNode;
2016
2061
  endClassName?: string;
2017
- } & Omit<{
2062
+ } & {
2018
2063
  onChangeText?: (value: string) => void;
2019
2064
  value?: string;
2020
2065
  autoResize?: boolean;
2021
- } & React__default.TextareaHTMLAttributes<HTMLTextAreaElement> & React__default.RefAttributes<HTMLTextAreaElement>, "ref"> & {
2022
- 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;
2023
- }, "ref"> & React__default.RefAttributes<HTMLDivElement>>>;
2066
+ } & React__default.TextareaHTMLAttributes<HTMLTextAreaElement> & React__default.RefAttributes<HTMLTextAreaElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
2024
2067
 
2025
2068
  declare const Toast: ({ title, content, children, ...props }: {
2026
2069
  title?: string;
@@ -2035,7 +2078,7 @@ interface Props$1 {
2035
2078
  children: React$1.ReactNode;
2036
2079
  content: React$1.ReactNode;
2037
2080
  sideOffset?: number;
2038
- side?: ComponentProps<typeof TooltipPrimitive.Content>["side"];
2081
+ side?: ComponentProps<typeof Tooltip$1.Content>["side"];
2039
2082
  portalContainer?: HTMLElement | null;
2040
2083
  }
2041
2084
  declare const Tooltip: React$1.NamedExoticComponent<Props$1>;
@@ -2059,13 +2102,13 @@ declare namespace TreeView {
2059
2102
  keyExtractor: (item: T, index: number) => string;
2060
2103
  sortable?: boolean;
2061
2104
  virtualized?: _noya_app_noya_geometry.Size;
2062
- }) & ListViewRootProps) & React__default.RefAttributes<IVirtualizedList>) => React__default.ReactElement | null;
2105
+ }) & ListViewRootProps) & React__default.RefAttributes<IVirtualizedList>) => React__default.ReactElement<any> | null;
2063
2106
  const RowTitle: React__default.MemoExoticComponent<({ className, children, ...props }: {
2064
2107
  className?: string;
2065
2108
  children: React__default.ReactNode;
2066
2109
  } & React__default.HTMLAttributes<HTMLSpanElement>) => React__default.JSX.Element>;
2067
2110
  const EditableRowTitle: React__default.MemoExoticComponent<({ value, onSubmitEditing, autoFocus, placeholder, className, onKeyDown, }: EditableRowProps) => React__default.JSX.Element>;
2068
- 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;
2069
2112
  type ClickInfo = ListView.ClickInfo;
2070
2113
  type RowProps<MenuItemType extends string> = TreeViewRowProps<MenuItemType>;
2071
2114
  }
@@ -2104,7 +2147,6 @@ interface WorkspaceLayoutProps<LeftTab extends string, RightTab extends string>
2104
2147
  sideType?: SideType;
2105
2148
  sideTypeBreakpoint?: number;
2106
2149
  detectSize?: DetectSizeType;
2107
- onChangeLayoutState?: (layoutState: PanelLayoutState) => void;
2108
2150
  }
2109
2151
  type WorkspaceLayoutRef = {
2110
2152
  setLeftExpanded: (expanded: boolean) => void;
@@ -2125,8 +2167,13 @@ type SideOptions = {
2125
2167
  minSize?: number | string;
2126
2168
  maxSize?: number | string;
2127
2169
  defaultCollapsed?: boolean;
2170
+ showTabs?: boolean;
2128
2171
  };
2129
- declare const WorkspaceLayout: <LeftTab extends string = string, RightTab extends string = string>(props: WorkspaceLayoutProps<LeftTab, RightTab> & React__default.RefAttributes<WorkspaceLayoutRef>) => React__default.ReactElement | null;
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;
2130
2177
 
2131
2178
  type DesignSystemConfigurationContextValue = {
2132
2179
  platform: PlatformName;
@@ -2134,6 +2181,7 @@ type DesignSystemConfigurationContextValue = {
2134
2181
  declare const DesignSystemConfigurationProvider: React$1.NamedExoticComponent<{
2135
2182
  children: React$1.ReactNode;
2136
2183
  platform?: PlatformName;
2184
+ LinkComponent?: LinkComponent;
2137
2185
  }>;
2138
2186
  declare function useDesignSystemConfiguration(): DesignSystemConfigurationContextValue;
2139
2187
 
@@ -2244,9 +2292,9 @@ declare function getClosestPortalScope(element: EventTarget): string | undefined
2244
2292
 
2245
2293
  interface HoverEvent {
2246
2294
  /** The type of hover event being fired. */
2247
- type: 'hoverstart' | 'hoverend';
2295
+ type: "hoverstart" | "hoverend";
2248
2296
  /** The pointer type that triggered the hover event. */
2249
- pointerType: 'mouse' | 'pen';
2297
+ pointerType: "mouse" | "pen";
2250
2298
  /** The target element of the hover event. */
2251
2299
  target: HTMLElement;
2252
2300
  }
@@ -2282,13 +2330,7 @@ declare function usePlatform(): _noya_app_noya_keymap.PlatformName;
2282
2330
  /**
2283
2331
  * Either ctrl or meta, depending on the platform
2284
2332
  */
2285
- declare function usePlatformModKey(): 'ctrlKey' | 'metaKey';
2286
-
2287
- declare const EDITOR_PANEL_GROUP_ID = "editor-panel-group";
2288
- declare const LEFT_SIDEBAR_ID = "editor-left-sidebar";
2289
- declare const RIGHT_SIDEBAR_ID = "editor-right-sidebar";
2290
- declare const CONTENT_AREA_ID = "editor-content-area";
2291
- declare function usePreservePanelSize(panelGroupRef: React__default.RefObject<ImperativePanelGroupHandle | null>, setPanelLayoutState?: (state: PanelLayoutState) => void): void;
2333
+ declare function usePlatformModKey(): "ctrlKey" | "metaKey";
2292
2334
 
2293
2335
  /** @default light */
2294
2336
  type UseThemeReturnType = "dark" | "light";
@@ -2298,31 +2340,20 @@ type UseThemeReturnType = "dark" | "light";
2298
2340
  */
2299
2341
  declare function useTheme(): UseThemeReturnType;
2300
2342
 
2301
- declare const size: {
2302
- medium: string;
2303
- large: string;
2304
- xlarge: string;
2305
- xxlarge: string;
2306
- };
2307
- declare const mediaQuery: {
2308
- small: string;
2309
- medium: string;
2310
- large: string;
2311
- xlarge: string;
2312
- };
2313
-
2314
2343
  type ClassNameItem = string | number | BigInt | boolean | null | undefined;
2315
2344
  type Category = "text" | "color" | "font" | "flex" | "position";
2316
2345
  type Options = {
2317
2346
  categories?: Category[];
2318
2347
  };
2319
- declare function cx(...args: ClassNameItem[]): string;
2348
+ declare function cx(...args: ClassNameItem[]): string | undefined;
2320
2349
  declare function mergeConflictingClassNames(classNames: ClassNameItem | ClassNameItem[], options?: Options): string;
2321
2350
 
2322
2351
  type Optional<T> = T | false | null | undefined;
2323
2352
  type MenuConfig<T extends string> = Optional<Optional<MenuItem<T>>[]>[];
2324
2353
  declare function createSectionedMenu<T extends string>(...sections: MenuConfig<T>): MenuItem<T>[];
2325
2354
 
2355
+ declare function formatByteSize(size: number): string;
2356
+
2326
2357
  declare function getGradientBackground(value: Sketch.GradientStop[], type: Sketch.GradientType, direction?: number): string;
2327
2358
 
2328
2359
  declare const colorForStringValues: Record<string, string>;
@@ -2374,7 +2405,7 @@ declare function getNextIndex<T>({ items, currentIndex, direction, isDisabled, }
2374
2405
  }): number;
2375
2406
  declare function useComboboxState<T extends string>(state: ComboboxState<T>): ComboboxStateSnapshot<T>;
2376
2407
 
2377
- declare const editableBlockStyles: (viewType?: "editable" | "readOnly" | "preview") => string;
2408
+ declare const editableBlockStyles: (viewType?: "editable" | "readOnly" | "preview") => string | undefined;
2378
2409
 
2379
2410
  type MoveOptions = {
2380
2411
  paths: number[][];
@@ -2485,12 +2516,16 @@ interface BaseToolbarProps {
2485
2516
  logo?: React__default.ReactNode;
2486
2517
  showDivider?: boolean;
2487
2518
  }
2519
+ declare function BaseToolbarContainer({ children, showDivider, }: {
2520
+ children: React__default.ReactNode;
2521
+ showDivider?: boolean;
2522
+ }): React__default.JSX.Element;
2488
2523
  declare function BaseToolbar({ children, left, right, logo, showDivider, }: BaseToolbarProps): React__default.JSX.Element;
2489
2524
 
2490
2525
  declare const ToolbarMenuDropdown: <T extends string>(props: {
2491
2526
  item: SubMenuItem<T>;
2492
2527
  onSelectMenuItem?: (value: T) => void;
2493
- }) => React__default.ReactElement | null;
2528
+ }) => React__default.ReactElement<any> | null;
2494
2529
  declare const ToolbarShortcut: ({ shortcut, label, }: {
2495
2530
  shortcut: string;
2496
2531
  label?: ReactNode;
@@ -2498,14 +2533,14 @@ declare const ToolbarShortcut: ({ shortcut, label, }: {
2498
2533
  declare const ToolbarMenuPopover: (props: {
2499
2534
  item: PopoverMenuItem;
2500
2535
  portalContainer?: HTMLElement | null;
2501
- }) => React__default.ReactElement | null;
2536
+ }) => React__default.ReactElement<any> | null;
2502
2537
  declare const ToolbarMenuButton: <T extends string>(props: {
2503
2538
  item: SelectableMenuItem<T>;
2504
2539
  onSelectMenuItem?: (value: T) => void;
2505
2540
  as?: ComponentProps<typeof Button>["as"];
2506
2541
  activeValue?: T;
2507
2542
  tooltipSide?: ComponentProps<typeof Tooltip>["side"];
2508
- }) => React__default.ReactElement | null;
2543
+ }) => React__default.ReactElement<any> | null;
2509
2544
  declare const ToolbarMenuItem: <T extends string>(props: {
2510
2545
  item: MenuItem<T>;
2511
2546
  onSelectMenuItem?: (value: T) => void;
@@ -2513,7 +2548,7 @@ declare const ToolbarMenuItem: <T extends string>(props: {
2513
2548
  activeValue?: T;
2514
2549
  tooltipSide?: ComponentProps<typeof Tooltip>["side"];
2515
2550
  portalContainer?: HTMLElement | null;
2516
- }) => React__default.ReactElement | null;
2551
+ }) => React__default.ReactElement<any> | null;
2517
2552
  declare const ToolbarMenu: <T extends string>(props: {
2518
2553
  items: MenuItem<T>[];
2519
2554
  onSelectMenuItem?: (value: T) => void;
@@ -2521,7 +2556,7 @@ declare const ToolbarMenu: <T extends string>(props: {
2521
2556
  activeValue?: T;
2522
2557
  tooltipSide?: ComponentProps<typeof Tooltip>["side"];
2523
2558
  portalContainer?: HTMLElement | null;
2524
- }) => React__default.ReactElement | null;
2559
+ }) => React__default.ReactElement<any> | null;
2525
2560
  interface ToolbarProps<T extends string = string> {
2526
2561
  children?: React__default.ReactNode;
2527
2562
  logo?: React__default.ReactNode;
@@ -2533,4 +2568,11 @@ interface ToolbarProps<T extends string = string> {
2533
2568
  }
2534
2569
  declare function Toolbar<T extends string = string>({ children, logo, leftMenuItems, rightMenuItems, onSelectMenuItem, shouldBindKeyboardShortcuts, }: ToolbarProps<T>): React__default.JSX.Element;
2535
2570
 
2536
- 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 ButtonProps, 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 LabelProps, type LabelType, LabelTypeContext, type LabelTypeContextValue, 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 PopoverMenuItem, type PortalScopeContextValue, PortalScopeProvider, Progress, RIGHT_SIDEBAR_ID, type RelativeDropPosition, type RenderPanel, 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, Tabs, type TabsProps, Text$1 as Text, TextArea, TextAreaRow, type TextProps, type Theme, type ThemeColor, Toast, ToastProvider, type TokenValue, Toolbar, ToolbarMenu, ToolbarMenuButton, ToolbarMenuDropdown, ToolbarMenuItem, ToolbarMenuPopover, type ToolbarProps, ToolbarShortcut, 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, editableBlockStyles, filterWithGroupedSections, fuzzyFilter, fuzzyScore, fuzzyTokenize, getClosestPortalScope, getFieldSpacing, getGradientBackground, getGridSize, getItemFirstCollisionDetection, getKeyboardShortcutsForMenuItems, getMenuItemKey, getNewValue, getNextIndex, getPipelineResultLink, getThumbnailColors, isMenuItemSectionHeader, isNonSelectableMenuItem, isPopoverMenuItem, 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, useLabelType, 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 };