@noya-app/noya-designsystem 0.1.76 → 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 (86) hide show
  1. package/.turbo/turbo-build.log +20 -12
  2. package/CHANGELOG.md +19 -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 +192 -93
  13. package/dist/index.d.ts +192 -93
  14. package/dist/index.js +3355 -1763
  15. package/dist/index.js.map +1 -1
  16. package/dist/index.mjs +3622 -2030
  17. package/dist/index.mjs.map +1 -1
  18. package/package.json +13 -9
  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 +20 -6
  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 +307 -46
  31. package/src/components/EditableText.tsx +1 -1
  32. package/src/components/EmojiPicker.tsx +645 -0
  33. package/src/components/GridBackground.tsx +40 -0
  34. package/src/components/GridView.tsx +5 -1
  35. package/src/components/IVirtualizedList.tsx +21 -1
  36. package/src/components/InputField.tsx +2 -10
  37. package/src/components/InspectorContainer.tsx +4 -2
  38. package/src/components/Message.tsx +5 -16
  39. package/src/components/OverlayToolbar.tsx +97 -0
  40. package/src/components/Popover.tsx +73 -107
  41. package/src/components/Progress.tsx +18 -18
  42. package/src/components/ScrollArea.tsx +66 -31
  43. package/src/components/ScrollableSidebar.tsx +1 -1
  44. package/src/components/SegmentedControl.tsx +166 -38
  45. package/src/components/SelectMenu.tsx +193 -101
  46. package/src/components/Slider.tsx +40 -38
  47. package/src/components/StackNavigator.tsx +1 -0
  48. package/src/components/Switch.tsx +4 -4
  49. package/src/components/TextArea.tsx +1 -1
  50. package/src/components/Toast.tsx +99 -26
  51. package/src/components/Toolbar.tsx +133 -24
  52. package/src/components/Tooltip.tsx +18 -8
  53. package/src/components/UserPointer.tsx +5 -3
  54. package/src/components/Virtualized.tsx +193 -14
  55. package/src/components/VisuallyHidden.tsx +20 -0
  56. package/src/components/__tests__/Virtualized.math.test.ts +426 -1
  57. package/src/components/__tests__/Virtualized.test.tsx +129 -1
  58. package/src/components/ai-assistant/AIAssistantLayout.tsx +11 -6
  59. package/src/components/internal/Menu.tsx +4 -0
  60. package/src/components/listView/ListViewEditableRowTitle.tsx +1 -1
  61. package/src/components/listView/ListViewRoot.tsx +5 -1
  62. package/src/components/resizablePanels/Panel.tsx +94 -0
  63. package/src/components/resizablePanels/PanelGroup.tsx +498 -0
  64. package/src/components/resizablePanels/PanelGroupContext.tsx +14 -0
  65. package/src/components/resizablePanels/PanelResizeHandle.tsx +61 -0
  66. package/src/components/resizablePanels/index.ts +7 -0
  67. package/src/components/resizablePanels/types.ts +65 -0
  68. package/src/components/workspace/DrawerWorkspaceLayout.tsx +22 -7
  69. package/src/components/workspace/PanelWorkspaceLayout.tsx +30 -84
  70. package/src/components/workspace/WorkspaceLayout.tsx +82 -76
  71. package/src/components/workspace/types.ts +6 -4
  72. package/src/contexts/DialogContext.tsx +15 -24
  73. package/src/emojis.ts +1 -0
  74. package/src/hooks/useTriggerToggle.ts +95 -0
  75. package/src/index.css +2 -0
  76. package/src/index.tsx +3 -2
  77. package/src/theme/proseTheme.ts +22 -0
  78. package/src/utils/mergeProps.ts +57 -0
  79. package/src/utils/skinTone.ts +90 -0
  80. package/tailwind.config.ts +6 -1
  81. package/tsup.config.ts +1 -1
  82. package/src/__tests__/workspaceLayout.test.ts +0 -281
  83. package/src/components/ScrollArea2.tsx +0 -76
  84. package/src/components/internal/MenuViewport.tsx +0 -178
  85. package/src/components/internal/SelectItem.tsx +0 -138
  86. package/src/components/workspace/panelStorage.ts +0 -216
package/dist/index.d.ts CHANGED
@@ -1,21 +1,23 @@
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';
6
6
  export { Icons };
7
7
  import tailwindConfig from '@noya-app/noya-tailwind-config';
8
8
  import { UniqueIdentifier, ClientRect, CollisionDetection } from '@dnd-kit/core';
9
- import { Point as Point$1, Insets, Size, Rect } from '@noya-app/noya-geometry';
9
+ import { Point as Point$1, Insets, Size, AffineTransform, Rect } from '@noya-app/noya-geometry';
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,20 +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
- } & Pick<ComponentProps<typeof DropdownMenu$1.Content>, "side" | "sideOffset" | "align" | "alignOffset" | "collisionPadding">;
1635
+ modal?: boolean;
1636
+ } & Pick<ComponentProps<typeof Menu.Positioner>, "side" | "sideOffset" | "align" | "alignOffset" | "collisionPadding">;
1610
1637
  declare const DropdownMenu: <T extends string>(props: Omit<MenuProps<T>, "children"> & {
1611
1638
  children?: ReactNode | ((props: {
1612
1639
  open: boolean;
@@ -1614,10 +1641,10 @@ declare const DropdownMenu: <T extends string>(props: Omit<MenuProps<T>, "childr
1614
1641
  title?: ReactNode;
1615
1642
  icon?: ButtonProps["icon"];
1616
1643
  open?: boolean;
1617
- onCloseAutoFocus?: React__default.EventHandler<SyntheticEvent<unknown>>;
1618
1644
  emptyState?: React__default.ReactNode;
1619
1645
  contentStyle?: React__default.CSSProperties;
1620
- } & Pick<DropdownMenu$1.DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>, "side" | "sideOffset" | "align" | "alignOffset" | "collisionPadding"> & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any> | null;
1646
+ modal?: boolean;
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;
1621
1648
 
1622
1649
  type RenderPreviewProps = {
1623
1650
  children: string;
@@ -1628,7 +1655,7 @@ type RenderPreviewProps = {
1628
1655
  style?: React__default.CSSProperties;
1629
1656
  className?: string;
1630
1657
  };
1631
- type Props$a = {
1658
+ type Props$9 = {
1632
1659
  value: string;
1633
1660
  children?: (props: RenderPreviewProps) => React__default.ReactNode;
1634
1661
  placeholder?: string;
@@ -1652,7 +1679,32 @@ type Props$a = {
1652
1679
  interface EditableTextRef {
1653
1680
  startEditing: () => void;
1654
1681
  }
1655
- 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>;
1656
1708
 
1657
1709
  type FadeDirection = "left" | "right" | "top" | "bottom";
1658
1710
  type FadeProps = {
@@ -1727,6 +1779,14 @@ declare const Grid: <T, M extends string = string>(props: CollectionProps<T, M>
1727
1779
  ref?: React__default.ForwardedRef<CollectionRef>;
1728
1780
  } & React__default.RefAttributes<CollectionRef>) => React__default.ReactElement<any> | null;
1729
1781
 
1782
+ interface GridBackgroundProps {
1783
+ transform?: AffineTransform;
1784
+ /** @default 10 */
1785
+ gridSize?: number;
1786
+ dotSize?: number;
1787
+ }
1788
+ declare const GridBackground: ({ transform, gridSize: gridSizeProp, dotSize, }: GridBackgroundProps) => React__default.JSX.Element;
1789
+
1730
1790
  interface ItemProps<MenuItemType extends string = string> {
1731
1791
  id: string;
1732
1792
  href?: string;
@@ -1791,7 +1851,7 @@ declare namespace GridView {
1791
1851
  const SectionHeader: React__default.MemoExoticComponent<typeof GridViewSectionHeader>;
1792
1852
  }
1793
1853
 
1794
- type Props$9 = Omit<ButtonProps, "children" | "variant" | "flex" | "size"> & {
1854
+ type Props$8 = Omit<ButtonProps, "children" | "variant" | "flex" | "size"> & {
1795
1855
  iconName: IconName;
1796
1856
  className?: string;
1797
1857
  style?: React$1.CSSProperties;
@@ -1799,7 +1859,7 @@ type Props$9 = Omit<ButtonProps, "children" | "variant" | "flex" | "size"> & {
1799
1859
  color?: string;
1800
1860
  size?: number;
1801
1861
  };
1802
- 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>>;
1803
1863
 
1804
1864
  declare const InspectorContainer: React__default.NamedExoticComponent<{
1805
1865
  header?: React__default.ReactNode;
@@ -1811,49 +1871,6 @@ declare const InspectorContainer: React__default.NamedExoticComponent<{
1811
1871
  style?: React__default.CSSProperties;
1812
1872
  } & React__default.RefAttributes<HTMLDivElement>>;
1813
1873
 
1814
- type MenuSeparatorComponent = React__default.FC<{
1815
- className?: string;
1816
- }>;
1817
- type MenuItemTextComponent = React__default.FC<{
1818
- children?: React__default.ReactNode;
1819
- }>;
1820
- type MenuItemComponent = React__default.ForwardRefExoticComponent<React__default.RefAttributes<HTMLDivElement> & React__default.PropsWithoutRef<{
1821
- className?: string;
1822
- disabled?: boolean;
1823
- children?: React__default.ReactNode;
1824
- value: string;
1825
- onSelect?: (event: any) => void;
1826
- onClick?: (event: React__default.MouseEvent<any>) => void;
1827
- }>>;
1828
- type MenuCheckboxItemComponent = React__default.FC<{
1829
- checked?: boolean | "indeterminate";
1830
- disabled?: boolean;
1831
- onSelect?: (event: any) => void;
1832
- className?: string;
1833
- children?: React__default.ReactNode;
1834
- }>;
1835
- type MenuItemIndicatorComponent = React__default.FC<{
1836
- className?: string;
1837
- children?: React__default.ReactNode;
1838
- }>;
1839
- type MenuComponents = {
1840
- Separator: MenuSeparatorComponent;
1841
- ItemText: MenuItemTextComponent;
1842
- Item: MenuItemComponent;
1843
- CheckboxItem?: MenuCheckboxItemComponent;
1844
- ItemIndicator?: MenuItemIndicatorComponent;
1845
- Sub?: typeof DropdownMenu$1.Sub | typeof ContextMenu$1.Sub;
1846
- SubTrigger?: typeof DropdownMenu$1.SubTrigger | typeof ContextMenu$1.SubTrigger;
1847
- SubContent?: typeof DropdownMenu$1.SubContent | typeof ContextMenu$1.SubContent;
1848
- Portal?: typeof DropdownMenu$1.Portal | typeof ContextMenu$1.Portal;
1849
- };
1850
- type MenuViewportProps<T extends string> = {
1851
- items: MenuItem<T>[];
1852
- Components: MenuComponents;
1853
- onSelect?: (value: any) => void;
1854
- };
1855
- declare const MenuViewport: <T extends string>({ items, Components, onSelect, }: MenuViewportProps<T>) => React__default.JSX.Element;
1856
-
1857
1874
  interface LabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
1858
1875
  }
1859
1876
  declare const Label: React__default.NamedExoticComponent<LabelProps & React__default.RefAttributes<HTMLLabelElement>>;
@@ -2084,7 +2101,7 @@ declare function getPipelineResultLink(value: unknown): {
2084
2101
  } | undefined;
2085
2102
 
2086
2103
  type PopoverVariant = "normal" | "large";
2087
- interface Props$8 extends Pick<ComponentProps<(typeof Popover$1)["Content"]>, "onOpenAutoFocus" | "onCloseAutoFocus" | "onPointerDownOutside" | "onInteractOutside" | "onFocusOutside" | "side"> {
2104
+ interface Props$7 {
2088
2105
  children: React__default.ReactNode | ((props: {
2089
2106
  close: () => void;
2090
2107
  }) => React__default.ReactNode);
@@ -2099,13 +2116,19 @@ interface Props$8 extends Pick<ComponentProps<(typeof Popover$1)["Content"]>, "o
2099
2116
  className?: string;
2100
2117
  style?: React__default.CSSProperties;
2101
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;
2102
2125
  }
2103
2126
  declare const popoverStyle: {
2104
2127
  base: string;
2105
2128
  large: string;
2106
2129
  normal: string;
2107
2130
  };
2108
- 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;
2109
2132
 
2110
2133
  type ColorScheme$3 = "normal" | "warning" | "primary" | "secondary";
2111
2134
  declare function Progress({ value, colorScheme, color, className, style: styleProp, }: {
@@ -2158,15 +2181,10 @@ declare function ScrollableSidebar({ children }: {
2158
2181
  children: React__default.ReactNode;
2159
2182
  }): React__default.JSX.Element;
2160
2183
 
2161
- interface Props$7 {
2162
- children?: React$1.ReactNode | ((scrollElementRef: HTMLDivElement) => React$1.ReactNode);
2163
- }
2164
- declare const ScrollArea: React$1.NamedExoticComponent<Props$7>;
2165
-
2166
2184
  type ScrollAreaViewportProps = React$1.HTMLAttributes<HTMLDivElement> & {
2167
2185
  ref?: React$1.Ref<HTMLDivElement>;
2168
2186
  };
2169
- declare function ScrollArea2({ children, className, viewportClassName, orientation, style, viewportProps, }: {
2187
+ declare function ScrollArea({ children, className, viewportClassName, orientation, style, viewportProps, }: {
2170
2188
  children: React$1.ReactNode;
2171
2189
  className?: string;
2172
2190
  viewportClassName?: string;
@@ -2210,6 +2228,7 @@ declare const Section$1: React__default.NamedExoticComponent<{
2210
2228
 
2211
2229
  type SegmentedControlColorScheme = "primary" | "secondary";
2212
2230
  type SegmentedControlVariant = "default" | "tabs" | "buttons";
2231
+ type SegmentedControlItemWidth = "auto" | "equal" | "fit";
2213
2232
  interface SegmentedControlProps<T extends string> {
2214
2233
  id?: string;
2215
2234
  value?: T;
@@ -2221,6 +2240,14 @@ interface SegmentedControlProps<T extends string> {
2221
2240
  className?: string;
2222
2241
  style?: React__default.CSSProperties;
2223
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;
2224
2251
  }
2225
2252
  type SegmentedControlItemProps<T extends string> = {
2226
2253
  title?: ReactNode;
@@ -2256,7 +2283,9 @@ type Props$6<T extends string> = {
2256
2283
  onFocus?: FocusEventHandler;
2257
2284
  onBlur?: FocusEventHandler;
2258
2285
  contentStyle?: React__default.CSSProperties;
2259
- } & Pick<SelectProps, "open" | "onOpenChange">;
2286
+ open?: boolean;
2287
+ onOpenChange?: (open: boolean) => void;
2288
+ };
2260
2289
  declare const SelectMenu: <T extends string = string>(props: Props$6<T>) => React__default.ReactElement<any> | null;
2261
2290
 
2262
2291
  type ColorScheme$1 = "primary" | "secondary";
@@ -2413,20 +2442,29 @@ declare const TextAreaRow: React__default.NamedExoticComponent<Omit<{
2413
2442
  autoResize?: boolean;
2414
2443
  } & React__default.TextareaHTMLAttributes<HTMLTextAreaElement> & React__default.RefAttributes<HTMLTextAreaElement>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
2415
2444
 
2416
- declare const Toast: ({ title, content, children, ...props }: {
2445
+ interface ToastData {
2417
2446
  title?: string;
2418
2447
  content: ReactNode;
2419
- children?: React__default.ReactNode;
2420
- }) => React__default.JSX.Element;
2448
+ action?: ReactNode;
2449
+ }
2450
+ interface ToastContextValue {
2451
+ showToast: (data: ToastData) => void;
2452
+ }
2453
+ declare function useToast(): ToastContextValue;
2421
2454
  declare const ToastProvider: ({ children }: {
2422
2455
  children: React__default.ReactNode;
2423
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;
2424
2462
 
2425
2463
  interface Props$1 {
2426
2464
  children: React$1.ReactNode;
2427
2465
  content: React$1.ReactNode;
2428
2466
  sideOffset?: number;
2429
- side?: ComponentProps<typeof Tooltip$1.Content>["side"];
2467
+ side?: "top" | "bottom" | "left" | "right";
2430
2468
  portalContainer?: HTMLElement | null;
2431
2469
  }
2432
2470
  declare const Tooltip: React$1.NamedExoticComponent<Props$1>;
@@ -2480,7 +2518,7 @@ type UserPointerProps = {
2480
2518
  name?: string;
2481
2519
  /** label to display in the tooltip next to the Pointer */
2482
2520
  visible?: boolean;
2483
- point: Point;
2521
+ point?: Point;
2484
2522
  /** defaults to a random color based on the key, but can optionally be overridden */
2485
2523
  backgroundColor?: string;
2486
2524
  style?: React__default.CSSProperties;
@@ -2529,18 +2567,35 @@ type VirtualizedProps = {
2529
2567
  */
2530
2568
  gap?: number;
2531
2569
  /**
2532
- * Render content inside ScrollArea2 instead of a plain div.
2570
+ * Render content inside ScrollArea instead of a plain div.
2533
2571
  */
2534
2572
  useScrollArea?: boolean;
2535
2573
  /**
2536
2574
  * Optional class applied to the ScrollArea viewport when `useScrollArea` is true.
2537
2575
  */
2538
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;
2539
2583
  };
2540
2584
  declare const Virtualized: React__default.NamedExoticComponent<VirtualizedProps & React__default.RefAttributes<IVirtualizedList>>;
2541
2585
 
2586
+ type OverlayLayout = "bottomCenterTopRight" | "topLeftTopRight";
2587
+ interface OverlayToolbarProps {
2588
+ left?: React__default.ReactNode;
2589
+ right?: React__default.ReactNode;
2590
+ overlayLayout?: OverlayLayout;
2591
+ className?: string;
2592
+ style?: React__default.CSSProperties;
2593
+ }
2594
+ declare function OverlayToolbar({ left, right, overlayLayout, className, style, }: OverlayToolbarProps): React__default.JSX.Element;
2595
+
2542
2596
  type SideType = "auto" | "panel" | "drawer";
2543
2597
  type DetectSizeType = "container" | "window";
2598
+ type ToolbarVariant = "default" | "overlay";
2544
2599
  interface WorkspaceLayoutProps<LeftTab extends string, RightTab extends string> extends Pick<LayoutProps<LeftTab, RightTab>, "leftTabItems" | "leftTabValue" | "rightTabItems" | "rightTabValue" | "onChangeLeftTab" | "onChangeRightTab"> {
2545
2600
  id?: string;
2546
2601
  className?: string;
@@ -2553,6 +2608,24 @@ interface WorkspaceLayoutProps<LeftTab extends string, RightTab extends string>
2553
2608
  right?: RenderPanel<RightTab>;
2554
2609
  rightOptions?: SideOptions;
2555
2610
  toolbar?: React__default.ReactNode;
2611
+ /**
2612
+ * Toolbar variant - "default" renders above content, "overlay" renders floating panels
2613
+ * @default "default"
2614
+ */
2615
+ toolbarVariant?: ToolbarVariant;
2616
+ /**
2617
+ * Content for the left/bottom-center overlay panel (when toolbarVariant is "overlay")
2618
+ */
2619
+ overlayToolbarLeft?: React__default.ReactNode;
2620
+ /**
2621
+ * Content for the right overlay panel (when toolbarVariant is "overlay")
2622
+ */
2623
+ overlayToolbarRight?: React__default.ReactNode;
2624
+ /**
2625
+ * Layout configuration for overlay toolbar
2626
+ * @default "bottomCenterTopRight"
2627
+ */
2628
+ overlayLayout?: OverlayLayout;
2556
2629
  sideType?: SideType;
2557
2630
  sideTypeBreakpoint?: number;
2558
2631
  detectSize?: DetectSizeType;
@@ -2766,6 +2839,7 @@ type UseThemeReturnType = "dark" | "light";
2766
2839
  declare function useTheme(): UseThemeReturnType;
2767
2840
 
2768
2841
  declare const proseTheme = "n-prose n-prose-sm n-max-w-none [[data-theme='dark']_&]:n-prose-invert prose-a:n-text-blue-600";
2842
+ declare const whiteboardProseTheme: (isDark: boolean) => string;
2769
2843
 
2770
2844
  type ClassNameItem = string | number | BigInt | boolean | null | undefined;
2771
2845
  type Category = "text" | "color" | "font" | "flex" | "position" | "textAlign" | "rounded";
@@ -2952,7 +3026,13 @@ interface BaseToolbarProps {
2952
3026
  className?: string;
2953
3027
  innerClassName?: string;
2954
3028
  enableAbsoluteBreakpoint?: boolean;
3029
+ /** Whether to enable container query classes. @default true */
3030
+ enableContainerQuery?: boolean;
2955
3031
  }
3032
+ /** Shared toolbar style that sets button and input backgrounds to transparent */
3033
+ declare const toolbarTransparentStyle: {
3034
+ readonly [x: string]: "transparent";
3035
+ };
2956
3036
  declare function BaseToolbarContainer({ children, showDivider, className, innerClassName, enableAbsoluteBreakpoint, }: {
2957
3037
  children: React__default.ReactNode;
2958
3038
  showDivider?: boolean;
@@ -2960,14 +3040,29 @@ declare function BaseToolbarContainer({ children, showDivider, className, innerC
2960
3040
  innerClassName?: string;
2961
3041
  enableAbsoluteBreakpoint?: boolean;
2962
3042
  }): React__default.JSX.Element;
2963
- declare function BaseToolbar({ children, left, right, logo, showDivider, className, innerClassName, enableAbsoluteBreakpoint, }: BaseToolbarProps): React__default.JSX.Element;
3043
+ declare function BaseToolbar({ children, left, right, logo, showDivider, className, innerClassName, enableAbsoluteBreakpoint, enableContainerQuery, }: BaseToolbarProps): React__default.JSX.Element;
2964
3044
 
2965
3045
  declare const ToolbarMenuContext: React__default.Context<{
2966
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
+ };
2967
3061
  }>;
2968
3062
  declare const ToolbarMenuDropdown: <T extends string>(props: {
2969
3063
  item: SubMenuItem<T>;
2970
3064
  onSelectMenuItem?: (value: T) => void;
3065
+ onPopoverOpenChange?: (open: boolean) => void;
2971
3066
  }) => React__default.ReactElement<any> | null;
2972
3067
  declare const ToolbarShortcut: ({ shortcut, label, }: {
2973
3068
  shortcut: string;
@@ -2976,6 +3071,7 @@ declare const ToolbarShortcut: ({ shortcut, label, }: {
2976
3071
  declare const ToolbarMenuPopover: (props: {
2977
3072
  item: PopoverMenuItem;
2978
3073
  portalContainer?: HTMLElement | null;
3074
+ onPopoverOpenChange?: (open: boolean) => void;
2979
3075
  }) => React__default.ReactElement<any> | null;
2980
3076
  declare const ToolbarMenuButton: <T extends string>(props: {
2981
3077
  item: SelectableMenuItem<T>;
@@ -2994,6 +3090,7 @@ declare const ToolbarMenuItem: <T extends string>(props: {
2994
3090
  portalContainer?: HTMLElement | null;
2995
3091
  displayFilter?: DisplayFilter;
2996
3092
  dividerOverflow?: number;
3093
+ onPopoverOpenChange?: (open: boolean) => void;
2997
3094
  }) => React__default.ReactElement<any> | null;
2998
3095
  type DisplayFilter = "iconOnly" | "iconAndText" | "textOnly";
2999
3096
  declare const ToolbarMenu: <T extends string>(props: {
@@ -3005,6 +3102,7 @@ declare const ToolbarMenu: <T extends string>(props: {
3005
3102
  portalContainer?: HTMLElement | null;
3006
3103
  displayFilter?: DisplayFilter;
3007
3104
  dividerOverflow?: number;
3105
+ onPopoverOpenChange?: (open: boolean) => void;
3008
3106
  }) => React__default.ReactElement<any> | null;
3009
3107
  interface ToolbarProps<T extends string = string> {
3010
3108
  children?: React__default.ReactNode;
@@ -3016,6 +3114,7 @@ interface ToolbarProps<T extends string = string> {
3016
3114
  shouldBindKeyboardShortcuts?: boolean;
3017
3115
  dividerOverflow?: number;
3018
3116
  }
3117
+ declare function useBindKeyboardShortcutsForMenuItems<T extends string>(items: MenuItem<T>[], onSelectMenuItem?: (value: T) => void): void;
3019
3118
  declare function Toolbar<T extends string = string>({ children, logo, leftMenuItems, rightMenuItems, onSelectMenuItem, shouldBindKeyboardShortcuts, dividerOverflow, }: ToolbarProps<T>): React__default.JSX.Element;
3020
3119
 
3021
3120
  type ToolbarDrawerProps = {
@@ -3025,4 +3124,4 @@ type ToolbarDrawerProps = {
3025
3124
  };
3026
3125
  declare const ToolbarDrawer: React__default.NamedExoticComponent<ToolbarDrawerProps & React__default.RefAttributes<HTMLDivElement>>;
3027
3126
 
3028
- 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, 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 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, 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, updateSelection, useAutoResize, 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, 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 };