@noya-app/noya-designsystem 0.1.77 → 0.1.78

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 (81) hide show
  1. package/.turbo/turbo-build.log +20 -12
  2. package/CHANGELOG.md +9 -0
  3. package/dist/chunk-D57E6H3M.mjs +36 -0
  4. package/dist/chunk-D57E6H3M.mjs.map +1 -0
  5. package/dist/emojis.d.mts +1 -0
  6. package/dist/emojis.d.ts +1 -0
  7. package/dist/emojis.js +31 -0
  8. package/dist/emojis.js.map +1 -0
  9. package/dist/emojis.mjs +8 -0
  10. package/dist/emojis.mjs.map +1 -0
  11. package/dist/index.css +1 -1
  12. package/dist/index.d.mts +142 -90
  13. package/dist/index.d.ts +142 -90
  14. package/dist/index.js +3171 -1745
  15. package/dist/index.js.map +1 -1
  16. package/dist/index.mjs +3349 -1918
  17. package/dist/index.mjs.map +1 -1
  18. package/package.json +11 -7
  19. package/src/__tests__/__snapshots__/fuzzyScorer.test.ts.snap +1 -1
  20. package/src/components/Avatar.tsx +10 -10
  21. package/src/components/Banner.tsx +1 -1
  22. package/src/components/BaseToolbar.tsx +1 -1
  23. package/src/components/Button.tsx +2 -1
  24. package/src/components/Chip.tsx +1 -1
  25. package/src/components/ColorSwatchControl.tsx +22 -14
  26. package/src/components/CommandPalette.tsx +10 -6
  27. package/src/components/ContextMenu.tsx +249 -38
  28. package/src/components/Dialog.tsx +70 -67
  29. package/src/components/Drawer.tsx +56 -17
  30. package/src/components/DropdownMenu.tsx +305 -46
  31. package/src/components/EditableText.tsx +1 -1
  32. package/src/components/EmojiPicker.tsx +645 -0
  33. package/src/components/GridView.tsx +5 -1
  34. package/src/components/IVirtualizedList.tsx +21 -1
  35. package/src/components/InputField.tsx +2 -10
  36. package/src/components/InspectorContainer.tsx +4 -2
  37. package/src/components/Message.tsx +5 -16
  38. package/src/components/Popover.tsx +73 -107
  39. package/src/components/Progress.tsx +18 -18
  40. package/src/components/ScrollArea.tsx +66 -31
  41. package/src/components/ScrollableSidebar.tsx +1 -1
  42. package/src/components/SegmentedControl.tsx +166 -38
  43. package/src/components/SelectMenu.tsx +193 -101
  44. package/src/components/Slider.tsx +40 -38
  45. package/src/components/Switch.tsx +4 -4
  46. package/src/components/TextArea.tsx +1 -1
  47. package/src/components/Toast.tsx +99 -26
  48. package/src/components/Toolbar.tsx +114 -16
  49. package/src/components/Tooltip.tsx +18 -8
  50. package/src/components/Virtualized.tsx +193 -14
  51. package/src/components/VisuallyHidden.tsx +20 -0
  52. package/src/components/__tests__/Virtualized.math.test.ts +426 -1
  53. package/src/components/__tests__/Virtualized.test.tsx +129 -1
  54. package/src/components/ai-assistant/AIAssistantLayout.tsx +11 -6
  55. package/src/components/internal/Menu.tsx +4 -0
  56. package/src/components/listView/ListViewEditableRowTitle.tsx +1 -1
  57. package/src/components/listView/ListViewRoot.tsx +5 -1
  58. package/src/components/resizablePanels/Panel.tsx +94 -0
  59. package/src/components/resizablePanels/PanelGroup.tsx +498 -0
  60. package/src/components/resizablePanels/PanelGroupContext.tsx +14 -0
  61. package/src/components/resizablePanels/PanelResizeHandle.tsx +61 -0
  62. package/src/components/resizablePanels/index.ts +7 -0
  63. package/src/components/resizablePanels/types.ts +65 -0
  64. package/src/components/workspace/DrawerWorkspaceLayout.tsx +22 -7
  65. package/src/components/workspace/PanelWorkspaceLayout.tsx +30 -84
  66. package/src/components/workspace/WorkspaceLayout.tsx +28 -58
  67. package/src/components/workspace/types.ts +6 -4
  68. package/src/contexts/DialogContext.tsx +15 -24
  69. package/src/emojis.ts +1 -0
  70. package/src/hooks/useTriggerToggle.ts +95 -0
  71. package/src/index.css +2 -0
  72. package/src/index.tsx +1 -2
  73. package/src/theme/proseTheme.ts +2 -0
  74. package/src/utils/mergeProps.ts +57 -0
  75. package/src/utils/skinTone.ts +90 -0
  76. package/tsup.config.ts +1 -1
  77. package/src/__tests__/workspaceLayout.test.ts +0 -281
  78. package/src/components/ScrollArea2.tsx +0 -76
  79. package/src/components/internal/MenuViewport.tsx +0 -178
  80. package/src/components/internal/SelectItem.tsx +0 -138
  81. package/src/components/workspace/panelStorage.ts +0 -216
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { ReactNode, ComponentProps, CSSProperties, AriaRole, KeyboardEventHandler, MouseEventHandler, PointerEventHandler, FocusEventHandler, InputHTMLAttributes, ForwardedRef, SyntheticEvent, LabelHTMLAttributes, DetailedHTMLProps, HTMLAttributes } from 'react';
2
+ import React__default, { ReactNode, ComponentProps, CSSProperties, AriaRole, KeyboardEventHandler, MouseEventHandler, PointerEventHandler, FocusEventHandler, InputHTMLAttributes, ForwardedRef, LabelHTMLAttributes, DetailedHTMLProps, HTMLAttributes } from 'react';
3
3
  import { IItemScore } from 'vscode-fuzzy-scorer';
4
4
  import * as Icons from '@noya-app/noya-icons';
5
5
  import { IconProps } from '@noya-app/noya-icons';
@@ -10,12 +10,14 @@ import { Point as Point$1, Insets, Size, AffineTransform, Rect } from '@noya-app
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, IconName as IconName$1, OptionModeProps as OptionModeProps$1 } from '@noya-app/noya-designsystem';
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';
13
+ import * as _base_ui_react_menu from '@base-ui/react/menu';
14
+ import { Menu } from '@base-ui/react/menu';
15
+ import { Gemoji } from 'gemoji';
16
+ export { Gemoji } from 'gemoji';
14
17
  import * as _noya_app_noya_keymap from '@noya-app/noya-keymap';
15
18
  import { KeyModifiers, PlatformName } from '@noya-app/noya-keymap';
16
19
  import { MultiplayerUser } from '@noya-app/noya-multiplayer-react';
17
20
  import * as PopperPrimitive from '@radix-ui/react-popper';
18
- import { SelectProps } from '@radix-ui/react-select';
19
21
  import { useSortable } from '@dnd-kit/sortable';
20
22
  import { Sketch } from '@noya-app/noya-file-format';
21
23
 
@@ -91,6 +93,10 @@ type PopoverMenuItem = BaseMenuItem & {
91
93
  }) => ReactNode);
92
94
  shortcut?: string;
93
95
  tooltip?: ReactNode;
96
+ /** Class name applied to the popover container (not used for dialogs on small screens) */
97
+ popoverClassName?: string;
98
+ /** Extra props to pass to the trigger button (e.g., data attributes) */
99
+ triggerProps?: Record<string, unknown>;
94
100
  };
95
101
  type NonSelectableMenuItem<T extends string> = SeparatorItem | SectionHeaderMenuItem | SubMenuItem<T> | PopoverMenuItem;
96
102
  type MenuItem<T extends string> = SeparatorItem | SelectableMenuItem<T> | SectionHeaderMenuItem | SubMenuItem<T> | PopoverMenuItem;
@@ -151,7 +157,7 @@ type ActionMenuProps<TMenu extends string> = {
151
157
  };
152
158
  declare const ActionMenu: <TMenu extends string>(props: ActionMenuProps<TMenu>) => React__default.ReactElement<any> | null;
153
159
 
154
- interface Props$d {
160
+ interface Props$c {
155
161
  size?: number;
156
162
  opacity?: number;
157
163
  color?: string;
@@ -159,7 +165,7 @@ interface Props$d {
159
165
  className?: string;
160
166
  style?: React$1.CSSProperties;
161
167
  }
162
- declare const ActivityIndicator: React$1.NamedExoticComponent<Props$d>;
168
+ declare const ActivityIndicator: React$1.NamedExoticComponent<Props$c>;
163
169
 
164
170
  type ActivityIconSemanticColor = "add" | "remove" | "update";
165
171
  type ActivityUser = {
@@ -194,7 +200,8 @@ type AIAssistantInputProps = {
194
200
  onChange: (e: React__default.ChangeEvent<HTMLTextAreaElement>) => void;
195
201
  onSubmitClick: (e: React__default.MouseEvent<HTMLButtonElement>) => void;
196
202
  onKeyDown: (e: React__default.KeyboardEvent<HTMLTextAreaElement>) => void;
197
- disabled: boolean;
203
+ disabled?: boolean;
204
+ submitDisabled?: boolean;
198
205
  };
199
206
  declare const AIAssistantInput: React__default.ForwardRefExoticComponent<AIAssistantInputProps & React__default.RefAttributes<HTMLDivElement>>;
200
207
  type AIAssistantLayoutProps = {
@@ -490,6 +497,8 @@ declare const cssVars: {
490
497
  inspectorVSeparator: string;
491
498
  dialogPadding: string;
492
499
  inputHeight: string;
500
+ inputPaddingX: string;
501
+ inputPaddingY: string;
493
502
  };
494
503
  keyframes: {
495
504
  spin: {
@@ -721,6 +730,8 @@ declare const cssVarNames: {
721
730
  inspectorVSeparator: string;
722
731
  dialogPadding: string;
723
732
  inputHeight: string;
733
+ inputPaddingX: string;
734
+ inputPaddingY: string;
724
735
  };
725
736
  keyframes: {
726
737
  spin: {
@@ -868,8 +879,23 @@ type ListRowContextValue = {
868
879
  isSectionHeader: boolean;
869
880
  };
870
881
 
882
+ type ScrollToIndexAlign = "auto" | "start" | "center" | "end";
883
+ type ScrollToIndexPadding = number | {
884
+ top?: number;
885
+ bottom?: number;
886
+ };
887
+ interface ScrollToIndexOptions {
888
+ align?: ScrollToIndexAlign;
889
+ /**
890
+ * Extra padding to include when scrolling. When scrolling to "start",
891
+ * this adds space above the item. When scrolling to "end", this adds
892
+ * space below. For "auto", it applies the appropriate padding based
893
+ * on scroll direction. A number applies to both directions.
894
+ */
895
+ padding?: ScrollToIndexPadding;
896
+ }
871
897
  interface IVirtualizedList {
872
- scrollToIndex(index: number): void;
898
+ scrollToIndex(index: number, options?: ScrollToIndexOptions): void;
873
899
  }
874
900
 
875
901
  type RelativeDropPosition = "above" | "below" | "inside";
@@ -1233,7 +1259,7 @@ declare function ColorSwatchControl(props: ColorSwatchControlProps): React__defa
1233
1259
 
1234
1260
  type InputSize = "small" | "medium" | "large";
1235
1261
 
1236
- type Props$c = {
1262
+ type Props$b = {
1237
1263
  id?: string;
1238
1264
  style?: any;
1239
1265
  className?: string;
@@ -1251,15 +1277,15 @@ type Props$c = {
1251
1277
  onFocusChange?: (isFocused: boolean) => void;
1252
1278
  onBlur?: FocusEventHandler;
1253
1279
  } & Pick<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "autoCapitalize" | "autoCorrect" | "spellCheck" | "autoFocus">;
1254
- type ReadOnlyProps = Props$c & {
1280
+ type ReadOnlyProps = Props$b & {
1255
1281
  readOnly: true;
1256
1282
  };
1257
- type ControlledProps = Props$c & {
1283
+ type ControlledProps = Props$b & {
1258
1284
  onChange: (value: string) => void;
1259
1285
  onFocus?: FocusEventHandler;
1260
1286
  onBlur?: FocusEventHandler;
1261
1287
  };
1262
- type SubmittableProps = Props$c & {
1288
+ type SubmittableProps = Props$b & {
1263
1289
  onSubmit: (value: string) => void;
1264
1290
  allowSubmittingWithSameValue?: boolean;
1265
1291
  submitAutomaticallyAfterDelay?: number;
@@ -1479,24 +1505,22 @@ interface MenuProps<T extends string> {
1479
1505
  }
1480
1506
  declare const ContextMenu: <T extends string>(props: MenuProps<T>) => React__default.ReactElement<any> | null;
1481
1507
 
1482
- declare const StyledContent: React__default.ForwardRefExoticComponent<Omit<Dialog$1.DialogContentProps & React__default.RefAttributes<HTMLDivElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
1483
1508
  interface IDialog {
1484
1509
  containsElement: (element: HTMLElement) => boolean;
1485
1510
  }
1486
- interface Props$b {
1511
+ interface Props$a {
1487
1512
  title?: ReactNode;
1488
1513
  description?: ReactNode;
1489
1514
  children?: ReactNode;
1490
- style?: ComponentProps<typeof StyledContent>["style"];
1491
- open: ComponentProps<typeof Dialog$1.Root>["open"];
1492
- onOpenChange?: ComponentProps<typeof Dialog$1.Root>["onOpenChange"];
1493
- onOpenAutoFocus?: ComponentProps<typeof Dialog$1.Content>["onOpenAutoFocus"];
1515
+ style?: React__default.CSSProperties;
1516
+ open: boolean;
1517
+ onOpenChange?: (open: boolean) => void;
1494
1518
  closeOnInteractOutside?: boolean;
1495
1519
  showCloseButton?: boolean;
1496
1520
  className?: string;
1497
1521
  }
1498
- declare const Dialog: React__default.ForwardRefExoticComponent<Props$b & React__default.RefAttributes<IDialog>>;
1499
- declare const FullscreenDialog: React__default.ForwardRefExoticComponent<Props$b & React__default.RefAttributes<IDialog>>;
1522
+ declare const Dialog: React__default.ForwardRefExoticComponent<Props$a & React__default.RefAttributes<IDialog>>;
1523
+ declare const FullscreenDialog: React__default.ForwardRefExoticComponent<Props$a & React__default.RefAttributes<IDialog>>;
1500
1524
 
1501
1525
  type DividerVariant = "normal" | "subtle" | "strong";
1502
1526
  interface DividerProps {
@@ -1528,7 +1552,10 @@ type SidebarRef = {
1528
1552
  collapse: () => void;
1529
1553
  isExpanded: () => boolean;
1530
1554
  };
1531
- type PercentageSidebarOptions = {
1555
+ /**
1556
+ * Sidebar options with pixel-based sizing.
1557
+ */
1558
+ type SidebarOptions = {
1532
1559
  minSize?: number;
1533
1560
  maxSize?: number;
1534
1561
  initialSize?: number;
@@ -1558,9 +1585,8 @@ type LayoutProps<LeftTab extends string = string, RightTab extends string = stri
1558
1585
  rightTabValue?: RightTab;
1559
1586
  onChangeRightTab?: (value: RightTab) => void;
1560
1587
  centerPanel: React.ReactNode;
1561
- leftSidebarOptions: PercentageSidebarOptions;
1562
- rightSidebarOptions: PercentageSidebarOptions;
1563
- centerPanelPercentage: number;
1588
+ leftSidebarOptions: SidebarOptions;
1589
+ rightSidebarOptions: SidebarOptions;
1564
1590
  autoSavePrefix?: string;
1565
1591
  leftSidebarRef: React.RefObject<SidebarRef | null>;
1566
1592
  rightSidebarRef: React.RefObject<SidebarRef | null>;
@@ -1593,21 +1619,21 @@ type DrawerProps = {
1593
1619
  side?: "left" | "right";
1594
1620
  portalled?: boolean;
1595
1621
  portalContainer?: HTMLElement | null;
1622
+ modal?: boolean;
1596
1623
  };
1597
1624
  declare const Drawer: React$1.NamedExoticComponent<DrawerProps & React$1.RefAttributes<SidebarRef>>;
1598
1625
 
1599
- type DropdownRootProps<T extends string> = Omit<MenuProps<T>, "children"> & {
1626
+ type DropdownMenuProps<T extends string> = Omit<MenuProps<T>, "children"> & {
1600
1627
  children?: ReactNode | ((props: {
1601
1628
  open: boolean;
1602
1629
  }) => ReactNode);
1603
1630
  title?: ReactNode;
1604
1631
  icon?: ButtonProps["icon"];
1605
1632
  open?: boolean;
1606
- onCloseAutoFocus?: React__default.EventHandler<SyntheticEvent<unknown>>;
1607
1633
  emptyState?: React__default.ReactNode;
1608
1634
  contentStyle?: React__default.CSSProperties;
1609
1635
  modal?: boolean;
1610
- } & Pick<ComponentProps<typeof DropdownMenu$1.Content>, "side" | "sideOffset" | "align" | "alignOffset" | "collisionPadding">;
1636
+ } & Pick<ComponentProps<typeof Menu.Positioner>, "side" | "sideOffset" | "align" | "alignOffset" | "collisionPadding">;
1611
1637
  declare const DropdownMenu: <T extends string>(props: Omit<MenuProps<T>, "children"> & {
1612
1638
  children?: ReactNode | ((props: {
1613
1639
  open: boolean;
@@ -1615,11 +1641,10 @@ declare const DropdownMenu: <T extends string>(props: Omit<MenuProps<T>, "childr
1615
1641
  title?: ReactNode;
1616
1642
  icon?: ButtonProps["icon"];
1617
1643
  open?: boolean;
1618
- onCloseAutoFocus?: React__default.EventHandler<SyntheticEvent<unknown>>;
1619
1644
  emptyState?: React__default.ReactNode;
1620
1645
  contentStyle?: React__default.CSSProperties;
1621
1646
  modal?: boolean;
1622
- } & Pick<DropdownMenu$1.DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>, "side" | "sideOffset" | "align" | "alignOffset" | "collisionPadding"> & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any> | null;
1647
+ } & Pick<_base_ui_react_menu.MenuPositionerProps & React__default.RefAttributes<HTMLDivElement>, "sideOffset" | "side" | "align" | "alignOffset" | "collisionPadding"> & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any> | null;
1623
1648
 
1624
1649
  type RenderPreviewProps = {
1625
1650
  children: string;
@@ -1630,7 +1655,7 @@ type RenderPreviewProps = {
1630
1655
  style?: React__default.CSSProperties;
1631
1656
  className?: string;
1632
1657
  };
1633
- type Props$a = {
1658
+ type Props$9 = {
1634
1659
  value: string;
1635
1660
  children?: (props: RenderPreviewProps) => React__default.ReactNode;
1636
1661
  placeholder?: string;
@@ -1654,7 +1679,32 @@ type Props$a = {
1654
1679
  interface EditableTextRef {
1655
1680
  startEditing: () => void;
1656
1681
  }
1657
- declare const EditableText: React__default.NamedExoticComponent<Props$a & React__default.RefAttributes<EditableTextRef>>;
1682
+ declare const EditableText: React__default.NamedExoticComponent<Props$9 & React__default.RefAttributes<EditableTextRef>>;
1683
+
1684
+ declare const SKIN_TONES: {
1685
+ readonly default: "";
1686
+ readonly light: "🏻";
1687
+ readonly "medium-light": "🏼";
1688
+ readonly medium: "🏽";
1689
+ readonly "medium-dark": "🏾";
1690
+ readonly dark: "🏿";
1691
+ };
1692
+ type SkinTone = keyof typeof SKIN_TONES;
1693
+
1694
+ interface EmojiPickerStorage {
1695
+ getSkinTone: () => SkinTone | null;
1696
+ setSkinTone: (tone: SkinTone) => void;
1697
+ }
1698
+ interface EmojiPickerProps {
1699
+ size: {
1700
+ width: number;
1701
+ height: number;
1702
+ };
1703
+ emojis: Gemoji[];
1704
+ onSelect: (emoji: string) => void;
1705
+ storage?: EmojiPickerStorage;
1706
+ }
1707
+ declare const EmojiPicker: React__default.NamedExoticComponent<EmojiPickerProps>;
1658
1708
 
1659
1709
  type FadeDirection = "left" | "right" | "top" | "bottom";
1660
1710
  type FadeProps = {
@@ -1801,7 +1851,7 @@ declare namespace GridView {
1801
1851
  const SectionHeader: React__default.MemoExoticComponent<typeof GridViewSectionHeader>;
1802
1852
  }
1803
1853
 
1804
- type Props$9 = Omit<ButtonProps, "children" | "variant" | "flex" | "size"> & {
1854
+ type Props$8 = Omit<ButtonProps, "children" | "variant" | "flex" | "size"> & {
1805
1855
  iconName: IconName;
1806
1856
  className?: string;
1807
1857
  style?: React$1.CSSProperties;
@@ -1809,7 +1859,7 @@ type Props$9 = Omit<ButtonProps, "children" | "variant" | "flex" | "size"> & {
1809
1859
  color?: string;
1810
1860
  size?: number;
1811
1861
  };
1812
- declare const IconButton: React$1.NamedExoticComponent<Omit<Props$9, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
1862
+ declare const IconButton: React$1.NamedExoticComponent<Omit<Props$8, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
1813
1863
 
1814
1864
  declare const InspectorContainer: React__default.NamedExoticComponent<{
1815
1865
  header?: React__default.ReactNode;
@@ -1821,49 +1871,6 @@ declare const InspectorContainer: React__default.NamedExoticComponent<{
1821
1871
  style?: React__default.CSSProperties;
1822
1872
  } & React__default.RefAttributes<HTMLDivElement>>;
1823
1873
 
1824
- type MenuSeparatorComponent = React__default.FC<{
1825
- className?: string;
1826
- }>;
1827
- type MenuItemTextComponent = React__default.FC<{
1828
- children?: React__default.ReactNode;
1829
- }>;
1830
- type MenuItemComponent = React__default.ForwardRefExoticComponent<React__default.RefAttributes<HTMLDivElement> & React__default.PropsWithoutRef<{
1831
- className?: string;
1832
- disabled?: boolean;
1833
- children?: React__default.ReactNode;
1834
- value: string;
1835
- onSelect?: (event: any) => void;
1836
- onClick?: (event: React__default.MouseEvent<any>) => void;
1837
- }>>;
1838
- type MenuCheckboxItemComponent = React__default.FC<{
1839
- checked?: boolean | "indeterminate";
1840
- disabled?: boolean;
1841
- onSelect?: (event: any) => void;
1842
- className?: string;
1843
- children?: React__default.ReactNode;
1844
- }>;
1845
- type MenuItemIndicatorComponent = React__default.FC<{
1846
- className?: string;
1847
- children?: React__default.ReactNode;
1848
- }>;
1849
- type MenuComponents = {
1850
- Separator: MenuSeparatorComponent;
1851
- ItemText: MenuItemTextComponent;
1852
- Item: MenuItemComponent;
1853
- CheckboxItem?: MenuCheckboxItemComponent;
1854
- ItemIndicator?: MenuItemIndicatorComponent;
1855
- Sub?: typeof DropdownMenu$1.Sub | typeof ContextMenu$1.Sub;
1856
- SubTrigger?: typeof DropdownMenu$1.SubTrigger | typeof ContextMenu$1.SubTrigger;
1857
- SubContent?: typeof DropdownMenu$1.SubContent | typeof ContextMenu$1.SubContent;
1858
- Portal?: typeof DropdownMenu$1.Portal | typeof ContextMenu$1.Portal;
1859
- };
1860
- type MenuViewportProps<T extends string> = {
1861
- items: MenuItem<T>[];
1862
- Components: MenuComponents;
1863
- onSelect?: (value: any) => void;
1864
- };
1865
- declare const MenuViewport: <T extends string>({ items, Components, onSelect, }: MenuViewportProps<T>) => React__default.JSX.Element;
1866
-
1867
1874
  interface LabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
1868
1875
  }
1869
1876
  declare const Label: React__default.NamedExoticComponent<LabelProps & React__default.RefAttributes<HTMLLabelElement>>;
@@ -2094,7 +2101,7 @@ declare function getPipelineResultLink(value: unknown): {
2094
2101
  } | undefined;
2095
2102
 
2096
2103
  type PopoverVariant = "normal" | "large";
2097
- interface Props$8 extends Pick<ComponentProps<(typeof Popover$1)["Content"]>, "onOpenAutoFocus" | "onCloseAutoFocus" | "onPointerDownOutside" | "onInteractOutside" | "onFocusOutside" | "side"> {
2104
+ interface Props$7 {
2098
2105
  children: React__default.ReactNode | ((props: {
2099
2106
  close: () => void;
2100
2107
  }) => React__default.ReactNode);
@@ -2109,13 +2116,19 @@ interface Props$8 extends Pick<ComponentProps<(typeof Popover$1)["Content"]>, "o
2109
2116
  className?: string;
2110
2117
  style?: React__default.CSSProperties;
2111
2118
  portalContainer?: HTMLElement | null;
2119
+ side?: "top" | "bottom" | "left" | "right";
2120
+ /**
2121
+ * Called when an interaction outside the popover occurs.
2122
+ * Return false to prevent the popover from closing.
2123
+ */
2124
+ shouldCloseOnInteractOutside?: (event: PointerEvent) => boolean;
2112
2125
  }
2113
2126
  declare const popoverStyle: {
2114
2127
  base: string;
2115
2128
  large: string;
2116
2129
  normal: string;
2117
2130
  };
2118
- declare function Popover({ children, trigger, variant, closable, open, side, sideOffset, showArrow, onOpenChange, onOpenAutoFocus, onCloseAutoFocus, onPointerDownOutside, onInteractOutside, onFocusOutside, onClickClose, className, portalContainer, style, }: Props$8): React__default.JSX.Element;
2131
+ declare function Popover({ children, trigger, variant, closable, open, side, sideOffset, showArrow, onOpenChange, onClickClose, className, portalContainer, style, shouldCloseOnInteractOutside, }: Props$7): React__default.JSX.Element;
2119
2132
 
2120
2133
  type ColorScheme$3 = "normal" | "warning" | "primary" | "secondary";
2121
2134
  declare function Progress({ value, colorScheme, color, className, style: styleProp, }: {
@@ -2168,15 +2181,10 @@ declare function ScrollableSidebar({ children }: {
2168
2181
  children: React__default.ReactNode;
2169
2182
  }): React__default.JSX.Element;
2170
2183
 
2171
- interface Props$7 {
2172
- children?: React$1.ReactNode | ((scrollElementRef: HTMLDivElement) => React$1.ReactNode);
2173
- }
2174
- declare const ScrollArea: React$1.NamedExoticComponent<Props$7>;
2175
-
2176
2184
  type ScrollAreaViewportProps = React$1.HTMLAttributes<HTMLDivElement> & {
2177
2185
  ref?: React$1.Ref<HTMLDivElement>;
2178
2186
  };
2179
- declare function ScrollArea2({ children, className, viewportClassName, orientation, style, viewportProps, }: {
2187
+ declare function ScrollArea({ children, className, viewportClassName, orientation, style, viewportProps, }: {
2180
2188
  children: React$1.ReactNode;
2181
2189
  className?: string;
2182
2190
  viewportClassName?: string;
@@ -2220,6 +2228,7 @@ declare const Section$1: React__default.NamedExoticComponent<{
2220
2228
 
2221
2229
  type SegmentedControlColorScheme = "primary" | "secondary";
2222
2230
  type SegmentedControlVariant = "default" | "tabs" | "buttons";
2231
+ type SegmentedControlItemWidth = "auto" | "equal" | "fit";
2223
2232
  interface SegmentedControlProps<T extends string> {
2224
2233
  id?: string;
2225
2234
  value?: T;
@@ -2231,6 +2240,14 @@ interface SegmentedControlProps<T extends string> {
2231
2240
  className?: string;
2232
2241
  style?: React__default.CSSProperties;
2233
2242
  variant?: SegmentedControlVariant;
2243
+ /**
2244
+ * Controls item width distribution.
2245
+ * - "auto": Items try to be equal width, but won't shrink below their content
2246
+ * - "equal": Items are always equal width (may truncate content)
2247
+ * - "fit": Items fit their content
2248
+ * @default "auto"
2249
+ */
2250
+ itemWidth?: SegmentedControlItemWidth;
2234
2251
  }
2235
2252
  type SegmentedControlItemProps<T extends string> = {
2236
2253
  title?: ReactNode;
@@ -2266,7 +2283,9 @@ type Props$6<T extends string> = {
2266
2283
  onFocus?: FocusEventHandler;
2267
2284
  onBlur?: FocusEventHandler;
2268
2285
  contentStyle?: React__default.CSSProperties;
2269
- } & Pick<SelectProps, "open" | "onOpenChange">;
2286
+ open?: boolean;
2287
+ onOpenChange?: (open: boolean) => void;
2288
+ };
2270
2289
  declare const SelectMenu: <T extends string = string>(props: Props$6<T>) => React__default.ReactElement<any> | null;
2271
2290
 
2272
2291
  type ColorScheme$1 = "primary" | "secondary";
@@ -2423,20 +2442,29 @@ declare const TextAreaRow: React__default.NamedExoticComponent<Omit<{
2423
2442
  autoResize?: boolean;
2424
2443
  } & React__default.TextareaHTMLAttributes<HTMLTextAreaElement> & React__default.RefAttributes<HTMLTextAreaElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
2425
2444
 
2426
- declare const Toast: ({ title, content, children, ...props }: {
2445
+ interface ToastData {
2427
2446
  title?: string;
2428
2447
  content: ReactNode;
2429
- children?: React__default.ReactNode;
2430
- }) => React__default.JSX.Element;
2448
+ action?: ReactNode;
2449
+ }
2450
+ interface ToastContextValue {
2451
+ showToast: (data: ToastData) => void;
2452
+ }
2453
+ declare function useToast(): ToastContextValue;
2431
2454
  declare const ToastProvider: ({ children }: {
2432
2455
  children: React__default.ReactNode;
2433
2456
  }) => React__default.JSX.Element;
2457
+ declare const Toast: ({ title, content, children, }: {
2458
+ title?: string;
2459
+ content: ReactNode;
2460
+ children?: React__default.ReactNode;
2461
+ }) => React__default.JSX.Element;
2434
2462
 
2435
2463
  interface Props$1 {
2436
2464
  children: React$1.ReactNode;
2437
2465
  content: React$1.ReactNode;
2438
2466
  sideOffset?: number;
2439
- side?: ComponentProps<typeof Tooltip$1.Content>["side"];
2467
+ side?: "top" | "bottom" | "left" | "right";
2440
2468
  portalContainer?: HTMLElement | null;
2441
2469
  }
2442
2470
  declare const Tooltip: React$1.NamedExoticComponent<Props$1>;
@@ -2539,13 +2567,19 @@ type VirtualizedProps = {
2539
2567
  */
2540
2568
  gap?: number;
2541
2569
  /**
2542
- * Render content inside ScrollArea2 instead of a plain div.
2570
+ * Render content inside ScrollArea instead of a plain div.
2543
2571
  */
2544
2572
  useScrollArea?: boolean;
2545
2573
  /**
2546
2574
  * Optional class applied to the ScrollArea viewport when `useScrollArea` is true.
2547
2575
  */
2548
2576
  scrollAreaViewportClassName?: string;
2577
+ /**
2578
+ * Callback to determine if a row should be sticky.
2579
+ * Only one sticky row is shown at a time. When the next sticky row approaches,
2580
+ * it pushes the current one up and out of view.
2581
+ */
2582
+ isStickyRow?: (index: number) => boolean;
2549
2583
  };
2550
2584
  declare const Virtualized: React__default.NamedExoticComponent<VirtualizedProps & React__default.RefAttributes<IVirtualizedList>>;
2551
2585
 
@@ -3010,10 +3044,25 @@ declare function BaseToolbar({ children, left, right, logo, showDivider, classNa
3010
3044
 
3011
3045
  declare const ToolbarMenuContext: React__default.Context<{
3012
3046
  dividerOverflow?: number;
3047
+ /** When true, PopoverMenuItem items show as dialogs on small screens */
3048
+ useDialogOnSmallScreen?: boolean;
3049
+ /** Function to detect if screen is small. Required when useDialogOnSmallScreen is true */
3050
+ isSmallScreen?: boolean;
3051
+ /** Function to open a dialog. Required when useDialogOnSmallScreen is true */
3052
+ openDialog?: (options: {
3053
+ title: ReactNode;
3054
+ className?: string;
3055
+ children: ReactNode | ((props: {
3056
+ close: () => void;
3057
+ }) => ReactNode);
3058
+ }) => Promise<void> & {
3059
+ close: () => void;
3060
+ };
3013
3061
  }>;
3014
3062
  declare const ToolbarMenuDropdown: <T extends string>(props: {
3015
3063
  item: SubMenuItem<T>;
3016
3064
  onSelectMenuItem?: (value: T) => void;
3065
+ onPopoverOpenChange?: (open: boolean) => void;
3017
3066
  }) => React__default.ReactElement<any> | null;
3018
3067
  declare const ToolbarShortcut: ({ shortcut, label, }: {
3019
3068
  shortcut: string;
@@ -3022,6 +3071,7 @@ declare const ToolbarShortcut: ({ shortcut, label, }: {
3022
3071
  declare const ToolbarMenuPopover: (props: {
3023
3072
  item: PopoverMenuItem;
3024
3073
  portalContainer?: HTMLElement | null;
3074
+ onPopoverOpenChange?: (open: boolean) => void;
3025
3075
  }) => React__default.ReactElement<any> | null;
3026
3076
  declare const ToolbarMenuButton: <T extends string>(props: {
3027
3077
  item: SelectableMenuItem<T>;
@@ -3040,6 +3090,7 @@ declare const ToolbarMenuItem: <T extends string>(props: {
3040
3090
  portalContainer?: HTMLElement | null;
3041
3091
  displayFilter?: DisplayFilter;
3042
3092
  dividerOverflow?: number;
3093
+ onPopoverOpenChange?: (open: boolean) => void;
3043
3094
  }) => React__default.ReactElement<any> | null;
3044
3095
  type DisplayFilter = "iconOnly" | "iconAndText" | "textOnly";
3045
3096
  declare const ToolbarMenu: <T extends string>(props: {
@@ -3051,6 +3102,7 @@ declare const ToolbarMenu: <T extends string>(props: {
3051
3102
  portalContainer?: HTMLElement | null;
3052
3103
  displayFilter?: DisplayFilter;
3053
3104
  dividerOverflow?: number;
3105
+ onPopoverOpenChange?: (open: boolean) => void;
3054
3106
  }) => React__default.ReactElement<any> | null;
3055
3107
  interface ToolbarProps<T extends string = string> {
3056
3108
  children?: React__default.ReactNode;
@@ -3072,4 +3124,4 @@ type ToolbarDrawerProps = {
3072
3124
  };
3073
3125
  declare const ToolbarDrawer: React__default.NamedExoticComponent<ToolbarDrawerProps & React__default.RefAttributes<HTMLDivElement>>;
3074
3126
 
3075
- export { AIAssistantInput, AIAssistantLayout, AIAssistantLoadingIndicator, type AcceptsDrop, type AcceptsDropOptions, type AcceptsFromList, ActionMenu, type ActivityIconSemanticColor, ActivityIndicator, ActivityLog, type ActivityLogItem, Anchor, AnimatePresence, type AnimatePresenceChildState, 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 DragItem, type DragState, DraggableMenuButton, Drawer, type DrawerProps, type DropValidator, DropdownMenu, type DropdownRootProps, EditableText, type EditableTextRef, ExtraSmall, type ExtractMenuItemType, Fade, type FadeDirection, type FadeProps, FileExplorerCollection, FileExplorerDetail, FileExplorerEmptyState, FileExplorerLayout, FileExplorerUploadButton, FileUploadIndicator, FileUploadList, FloatingWindow, FloatingWindowProvider, FullscreenDialog, type GlobalInputBlurContextValue, GlobalInputBlurProvider, Grid, GridBackground, GridView, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, INPUT_HEIGHT, type IScoredItem, type ISearchCompletionMenu, type IToken, type IVirtualizedList, Icon, IconButton, type IconName, type IconProp, ImageBlockComponent, type ImageDataContextValue, ImageDataProvider, IndentContext, InputField, type InputFieldInputProps, type InputFieldProps, type InputFieldSize, InspectorContainer, InspectorPrimitives, Italic, type ItemChildrenExtraProps, type ItemChildrenProps, KeyboardShortcut, Label, LabelContext, type LabelProps, type LabelType, LabelTypeContext, type LabelTypeContextValue, LabelWidthContext, type LabelWidthContextValue, LabeledElementView, LabeledField, type LayoutProps, type LinkComponent, LinkComponentProvider, List, ListMenu, type ListMenuProps, ListNavigator, type ListNavigatorProps, ListView, 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, Navigator, type NavigatorHeaderProps, type NavigatorNavigation, type NavigatorParams, type NavigatorProps, type NavigatorPushFunction, type NavigatorRenderContext, type NavigatorRenderHeader, type NavigatorReplaceFunction, type NavigatorRoute, type NavigatorRoutesConfig, type NavigatorScreenProps, type NavigatorStackEntry, type NonSelectableMenuItem, type OpenPortalControlsContextValue, type OpenPortalsContextValue, OpenPortalsProvider, type OptionModeOnlyProps, type OptionModeProps, type Optional, type OverlayLayout, OverlayToolbar, type OverlayToolbarProps, type PanelLayoutState, type PercentageSidebarOptions, PipelineResultLayout, PipelineResultLink, Popover, type PopoverMenuItem, type PortalScopeContextValue, PortalScopeProvider, Progress, type RelativeDropPosition, type RenderPanel, type RenderThumbnailIconProps, ResizableContainer, RingProgress, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, type ScoredMenuItem, ScrollArea, ScrollArea2, ScrollableSidebar, SearchCompletionMenu, Section$1 as Section, SectionHeader$1 as SectionHeader, 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 StackItem, StackNavigator, type StackNavigatorHeaderProps, type StackNavigatorProps, type StackNavigatorRenderHeader, Stepper, 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, ToolbarMenuContext, ToolbarMenuDropdown, ToolbarMenuItem, ToolbarMenuPopover, type ToolbarProps, ToolbarShortcut, type ToolbarVariant, Tooltip, TreeView, type UseThemeReturnType, UserAvatar, UserPicker, type UserPickerProps, type UserPickerUser, UserPointer, type UserPointerProps, type ValidateDropIndicatorParams, Virtualized, type VirtualizedProps, type VirtualizedRenderItem, WorkspaceLayout, type WorkspaceLayoutGroup, type WorkspaceLayoutProps, type WorkspaceLayoutRef, type WorkspaceLayoutState, type WorkspaceSideContextValue, WorkspaceSideProvider, acceptsDrop, colorForStringValues, colorFromString, colorSwatchSizeMap, createDragItemKey, createNavigator, createSectionedMenu, createSharedDrag, cssVarNames, cssVars, cx, decodeImageSrc, defaultAcceptsDrop, dragItemKeySeparator, editableBlockStyles, filterWithGroupedSections, formatByteSize, fuzzyFilter, fuzzyScore, fuzzyTokenize, getClosestPortalScope, getFieldSpacing, getGridSize, getItemFirstCollisionDetection, getKeyboardShortcutsForMenuItems, getMenuItemKey, getNewValue, getNextIndex, getPipelineResultLink, getThumbnailColors, getUserDisplayName, isMenuItemSectionHeader, isNonSelectableMenuItem, isPopoverMenuItem, isSelectableMenuItem, isSelectableMenuItemWithScore, isSubMenuItem, labeledFieldStyles, mergeConflictingClassNames, moveTreeItem, normalizeListTargetIndex, parseDragItemKey, popoverStyle, portalScopeDataSetName, portalScopePropName, portalScopeProps, proseTheme, renderIcon, separator, styles, textStyles, toolbarTransparentStyle, updateSelection, useAutoResize, useBindKeyboardShortcutsForMenuItems, useComboboxState, useCurrentFloatingWindowInternal, useDesignSystemConfiguration, useDialogContainsElement, useDialogContext, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHasOpenPortals, useHover, useImageData, useIndent, useInputFieldContext, useLabel, useLabelType, useLabelWidth, useLinkComponent, useNavigator, useNavigatorRoute, useOpenConfirmationDialog, useOpenDialog, useOpenInputDialog, useOpenPortalsControls, usePlatform, usePlatformModKey, usePortalScopeId, useTheme, useWorkspaceSide, validateDropIndicator, whiteboardProseTheme, withDragProvider, withSeparatorElements };
3127
+ export { AIAssistantInput, AIAssistantLayout, AIAssistantLoadingIndicator, type AcceptsDrop, type AcceptsDropOptions, type AcceptsFromList, ActionMenu, type ActivityIconSemanticColor, ActivityIndicator, ActivityLog, type ActivityLogItem, Anchor, AnimatePresence, type AnimatePresenceChildState, 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 DragItem, type DragState, DraggableMenuButton, Drawer, type DrawerProps, type DropValidator, DropdownMenu, type DropdownMenuProps, EditableText, type EditableTextRef, EmojiPicker, type EmojiPickerStorage, ExtraSmall, type ExtractMenuItemType, Fade, type FadeDirection, type FadeProps, FileExplorerCollection, FileExplorerDetail, FileExplorerEmptyState, FileExplorerLayout, FileExplorerUploadButton, FileUploadIndicator, FileUploadList, FloatingWindow, FloatingWindowProvider, FullscreenDialog, type GlobalInputBlurContextValue, GlobalInputBlurProvider, Grid, GridBackground, GridView, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, INPUT_HEIGHT, type IScoredItem, type ISearchCompletionMenu, type IToken, type IVirtualizedList, Icon, IconButton, type IconName, type IconProp, ImageBlockComponent, type ImageDataContextValue, ImageDataProvider, IndentContext, InputField, type InputFieldInputProps, type InputFieldProps, type InputFieldSize, InspectorContainer, InspectorPrimitives, Italic, type ItemChildrenExtraProps, type ItemChildrenProps, KeyboardShortcut, Label, LabelContext, type LabelProps, type LabelType, LabelTypeContext, type LabelTypeContextValue, LabelWidthContext, type LabelWidthContextValue, LabeledElementView, LabeledField, type LayoutProps, type LinkComponent, LinkComponentProvider, List, ListMenu, type ListMenuProps, ListNavigator, type ListNavigatorProps, ListView, Logo, type MatchRange, MediaThumbnail, type MediaThumbnailProps, type MenuConfig, type MenuItem, type MenuItemIcon, type MenuItemProps, type MenuItemRole, type MenuProps, Message, type MessageProps, type MoveDragItemHandler, type MoveDragItemParameters, type MoveTreeItemOptions, Navigator, type NavigatorHeaderProps, type NavigatorNavigation, type NavigatorParams, type NavigatorProps, type NavigatorPushFunction, type NavigatorRenderContext, type NavigatorRenderHeader, type NavigatorReplaceFunction, type NavigatorRoute, type NavigatorRoutesConfig, type NavigatorScreenProps, type NavigatorStackEntry, type NonSelectableMenuItem, type OpenPortalControlsContextValue, type OpenPortalsContextValue, OpenPortalsProvider, type OptionModeOnlyProps, type OptionModeProps, type Optional, type OverlayLayout, OverlayToolbar, type OverlayToolbarProps, type PanelLayoutState, PipelineResultLayout, PipelineResultLink, Popover, type PopoverMenuItem, type PortalScopeContextValue, PortalScopeProvider, Progress, type RelativeDropPosition, type RenderPanel, type RenderThumbnailIconProps, ResizableContainer, RingProgress, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, type ScoredMenuItem, ScrollArea, type ScrollToIndexAlign, type ScrollToIndexOptions, type ScrollToIndexPadding, ScrollableSidebar, SearchCompletionMenu, Section$1 as Section, SectionHeader$1 as SectionHeader, SectionHeaderMenuItem, type SectionProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlProps, SelectMenu, type SelectableMenuItem, SelectionToolbarContainer, type SeparatorItem, type SetNumberMode, SharedDragProvider, type SharedDragProviderProps, type SideOptions, type SideType, type SidebarOptions, type SidebarRef, type SketchPattern, Slider, Small, Sortable, SortableItemContext, type SortableItemContextProps, type SortableProps, Spacer, type StackItem, StackNavigator, type StackNavigatorHeaderProps, type StackNavigatorProps, type StackNavigatorRenderHeader, Stepper, 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, ToolbarMenuContext, ToolbarMenuDropdown, ToolbarMenuItem, ToolbarMenuPopover, type ToolbarProps, ToolbarShortcut, type ToolbarVariant, Tooltip, TreeView, type UseThemeReturnType, UserAvatar, UserPicker, type UserPickerProps, type UserPickerUser, UserPointer, type UserPointerProps, type ValidateDropIndicatorParams, Virtualized, type VirtualizedProps, type VirtualizedRenderItem, WorkspaceLayout, type WorkspaceLayoutGroup, type WorkspaceLayoutProps, type WorkspaceLayoutRef, type WorkspaceLayoutState, type WorkspaceSideContextValue, WorkspaceSideProvider, acceptsDrop, colorForStringValues, colorFromString, colorSwatchSizeMap, createDragItemKey, createNavigator, createSectionedMenu, createSharedDrag, cssVarNames, cssVars, cx, decodeImageSrc, defaultAcceptsDrop, dragItemKeySeparator, editableBlockStyles, filterWithGroupedSections, formatByteSize, fuzzyFilter, fuzzyScore, fuzzyTokenize, getClosestPortalScope, getFieldSpacing, getGridSize, getItemFirstCollisionDetection, getKeyboardShortcutsForMenuItems, getMenuItemKey, getNewValue, getNextIndex, getPipelineResultLink, getThumbnailColors, getUserDisplayName, isMenuItemSectionHeader, isNonSelectableMenuItem, isPopoverMenuItem, isSelectableMenuItem, isSelectableMenuItemWithScore, isSubMenuItem, labeledFieldStyles, mergeConflictingClassNames, moveTreeItem, normalizeListTargetIndex, parseDragItemKey, popoverStyle, portalScopeDataSetName, portalScopePropName, portalScopeProps, proseTheme, renderIcon, separator, styles, textStyles, toolbarTransparentStyle, updateSelection, useAutoResize, useBindKeyboardShortcutsForMenuItems, useComboboxState, useCurrentFloatingWindowInternal, useDesignSystemConfiguration, useDialogContainsElement, useDialogContext, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHasOpenPortals, useHover, useImageData, useIndent, useInputFieldContext, useLabel, useLabelType, useLabelWidth, useLinkComponent, useNavigator, useNavigatorRoute, useOpenConfirmationDialog, useOpenDialog, useOpenInputDialog, useOpenPortalsControls, usePlatform, usePlatformModKey, usePortalScopeId, useTheme, useToast, useWorkspaceSide, validateDropIndicator, whiteboardProseTheme, withDragProvider, withSeparatorElements };