@noya-app/noya-designsystem 0.1.9 → 0.1.11

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.
@@ -5,13 +5,13 @@
5
5
  CLI Target: esnext
6
6
  CJS Build start
7
7
  ESM Build start
8
- ESM dist/index.mjs 185.59 KB
9
- ESM dist/index.mjs.map 411.74 KB
10
- ESM ⚡️ Build success in 79ms
11
- CJS dist/index.js 201.80 KB
12
- CJS dist/index.js.map 411.93 KB
13
- CJS ⚡️ Build success in 80ms
8
+ CJS dist/index.js 213.16 KB
9
+ CJS dist/index.js.map 432.10 KB
10
+ CJS ⚡️ Build success in 101ms
11
+ ESM dist/index.mjs 196.22 KB
12
+ ESM dist/index.mjs.map 431.93 KB
13
+ ESM ⚡️ Build success in 102ms
14
14
  DTS Build start
15
- DTS ⚡️ Build success in 6041ms
16
- DTS dist/index.d.ts 54.34 KB
17
- DTS dist/index.d.mts 54.34 KB
15
+ DTS ⚡️ Build success in 7105ms
16
+ DTS dist/index.d.ts 56.28 KB
17
+ DTS dist/index.d.mts 56.28 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @noya-app/noya-designsystem
2
2
 
3
+ ## 0.1.11
4
+
5
+ ### Patch Changes
6
+
7
+ - 3680245: Add floating window API, improve keymap names
8
+ - d694f45: Bump package versions
9
+ - Updated dependencies [3680245]
10
+ - Updated dependencies [d694f45]
11
+ - @noya-app/noya-keymap@0.1.2
12
+ - @noya-app/noya-icons@0.1.3
13
+
14
+ ## 0.1.10
15
+
16
+ ### Patch Changes
17
+
18
+ - c93caa1: Improve menu style
19
+ - Updated dependencies [c93caa1]
20
+ - @noya-app/noya-keymap@0.1.1
21
+
3
22
  ## 0.1.9
4
23
 
5
24
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -3,6 +3,7 @@ import React__default, { CSSProperties, ReactNode, ReactElement, ComponentProps,
3
3
  import * as styled_components from 'styled-components';
4
4
  import { CSSObject, CSSProperties as CSSProperties$1 } from 'styled-components';
5
5
  import * as DialogPrimitive from '@radix-ui/react-dialog';
6
+ import * as RadixDropdownMenu from '@radix-ui/react-dropdown-menu';
6
7
  import { Sketch } from '@noya-app/noya-file-format';
7
8
  import * as csstype from 'csstype';
8
9
  import { Property } from 'csstype';
@@ -25,12 +26,18 @@ interface Props$h {
25
26
  }
26
27
  declare const ActivityIndicator: (props: Props$h) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
27
28
 
28
- declare function Avatar({ image, name, fallback, size, overflow, }: {
29
- image?: string;
30
- name?: string;
31
- fallback?: string;
29
+ declare const Avatar: (props: {
30
+ image?: string | undefined;
31
+ name?: string | undefined;
32
+ fallback?: string | undefined;
33
+ size?: number | undefined;
34
+ overflow?: number | undefined;
35
+ style?: React__default.CSSProperties | undefined;
36
+ className?: string | undefined;
37
+ } & React__default.RefAttributes<HTMLDivElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
38
+ declare function AvatarStack({ size, children, }: {
32
39
  size?: number;
33
- overflow?: number;
40
+ children: React__default.ReactNode;
34
41
  }): React__default.JSX.Element;
35
42
 
36
43
  type ButtonVariant = "normal" | "primary" | "primaryGradient" | "secondary" | "secondaryBright" | "white" | "thin" | "floating" | "none";
@@ -40,6 +47,7 @@ declare const ButtonElement: styled_components.StyledComponent<"button", styled_
40
47
  variant: ButtonVariant;
41
48
  size: ButtonSize;
42
49
  flex?: CSSProperties["flex"];
50
+ defaultBackground?: string | undefined;
43
51
  }, never>;
44
52
  interface ButtonRootProps {
45
53
  id?: string;
@@ -56,6 +64,7 @@ interface ButtonRootProps {
56
64
  onClick?: (event: React__default.MouseEvent) => void;
57
65
  onPointerDown?: (event: React__default.PointerEvent) => void;
58
66
  contentStyle?: CSSProperties;
67
+ defaultBackground?: string;
59
68
  as?: React__default.ElementType;
60
69
  href?: string;
61
70
  target?: string;
@@ -83,6 +92,7 @@ interface ChipProps {
83
92
  }
84
93
  declare const Chip: (props: ChipProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
85
94
 
95
+ declare const name$1: string;
86
96
  declare const colors$1: {
87
97
  logo: {
88
98
  fill: string;
@@ -168,6 +178,7 @@ declare const textStyles: {
168
178
  heading5: CSSObject;
169
179
  body: CSSObject;
170
180
  small: CSSObject;
181
+ button: CSSObject;
171
182
  code: CSSObject;
172
183
  label: CSSObject;
173
184
  };
@@ -199,7 +210,7 @@ declare const lightTheme_fonts: typeof fonts;
199
210
  declare const lightTheme_sizes: typeof sizes;
200
211
  declare const lightTheme_textStyles: typeof textStyles;
201
212
  declare namespace lightTheme {
202
- export { colors$1 as colors, lightTheme_fonts as fonts, lightTheme_sizes as sizes, lightTheme_textStyles as textStyles };
213
+ export { colors$1 as colors, lightTheme_fonts as fonts, name$1 as name, lightTheme_sizes as sizes, lightTheme_textStyles as textStyles };
203
214
  }
204
215
 
205
216
  type Theme = typeof lightTheme;
@@ -291,7 +302,7 @@ declare const DraggableMenuButton: <T extends string>(props: {
291
302
  declare const DropdownMenu: <T extends string>(props: MenuProps<T> & {
292
303
  open?: boolean | undefined;
293
304
  onCloseAutoFocus?: ((event: React__default.SyntheticEvent<unknown, Event>) => void) | undefined;
294
- } & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
305
+ } & Pick<RadixDropdownMenu.DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>, "align" | "side" | "sideOffset" | "alignOffset" | "collisionPadding"> & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
295
306
 
296
307
  declare const SUPPORTED_IMAGE_UPLOAD_TYPES: ("image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
297
308
  declare const SUPPORTED_CANVAS_UPLOAD_TYPES: ("" | "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
@@ -321,6 +332,25 @@ interface Props$e {
321
332
  }
322
333
  declare const FillPreviewBackground: (props: Props$e) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
323
334
 
335
+ interface FloatingWindowProps {
336
+ title?: string;
337
+ onClose?: () => void;
338
+ children: React__default.ReactNode;
339
+ initialWidth?: number;
340
+ initialHeight?: number;
341
+ initialX?: number;
342
+ initialY?: number;
343
+ minWidth?: number;
344
+ minHeight?: number;
345
+ toolbarContent?: React__default.ReactNode;
346
+ renderToolbar?: (props: {
347
+ title?: string;
348
+ toolbarContent?: React__default.ReactNode;
349
+ onClose?: () => void;
350
+ }) => React__default.ReactNode;
351
+ }
352
+ declare const FloatingWindow: React__default.FC<FloatingWindowProps>;
353
+
324
354
  interface Props$d {
325
355
  value: Sketch.GradientStop[];
326
356
  selectedStop: number;
@@ -1044,6 +1074,19 @@ declare const DialogProvider: ({ children, }: {
1044
1074
  declare function useOpenInputDialog(): (title: string, inputValue?: string | undefined) => Promise<string | undefined>;
1045
1075
  declare function useDialogContainsElement(): (element: HTMLElement) => boolean;
1046
1076
 
1077
+ type FloatingWindowContextValue = {
1078
+ createWindow: (element: React__default.ReactNode) => string;
1079
+ closeWindow: (id: string) => void;
1080
+ };
1081
+ type CurrentWindowContextValue = {
1082
+ id: string;
1083
+ };
1084
+ declare const FloatingWindowProvider: ({ children, }: {
1085
+ children: React__default.ReactNode;
1086
+ }) => React__default.JSX.Element;
1087
+ declare const useFloatingWindowManager: () => FloatingWindowContextValue;
1088
+ declare const useCurrentFloatingWindowInternal: () => CurrentWindowContextValue;
1089
+
1047
1090
  type ImageDataContextValue = {
1048
1091
  getImageData: (ref: string) => ArrayBuffer | undefined;
1049
1092
  };
@@ -1120,6 +1163,7 @@ declare const mediaQuery: {
1120
1163
  xlarge: string;
1121
1164
  };
1122
1165
 
1166
+ declare const name: string;
1123
1167
  declare const colors: {
1124
1168
  logo: {
1125
1169
  fill: string;
@@ -1194,10 +1238,11 @@ declare const colors: {
1194
1238
 
1195
1239
  declare const dark_colors: typeof colors;
1196
1240
  declare const dark_fonts: typeof fonts;
1241
+ declare const dark_name: typeof name;
1197
1242
  declare const dark_sizes: typeof sizes;
1198
1243
  declare const dark_textStyles: typeof textStyles;
1199
1244
  declare namespace dark {
1200
- export { dark_colors as colors, dark_fonts as fonts, dark_sizes as sizes, dark_textStyles as textStyles };
1245
+ export { dark_colors as colors, dark_fonts as fonts, dark_name as name, dark_sizes as sizes, dark_textStyles as textStyles };
1201
1246
  }
1202
1247
 
1203
1248
  type Optional<T> = T | false | null | undefined;
@@ -1300,4 +1345,4 @@ declare module "react" {
1300
1345
  function forwardRef<T, P = {}>(render: (props: P, ref: React.ForwardedRef<T>) => React.ReactElement | null): (props: P & React.RefAttributes<T>) => React.ReactElement | null;
1301
1346
  }
1302
1347
 
1303
- export { ActivityIndicator, ArrayController, type ArrayControllerProps, Avatar, Body, Button, ButtonElement, type ButtonRootProps, Chip, type ChipProps, CloseButtonContainer, type Colors, type CompletionItem, type CompletionListItem, CompletionMenu, type CompletionSectionHeader, CompletionToken, ContextMenu, type DesignSystemConfigurationContextValue, DesignSystemConfigurationProvider, Dialog, type DialogContextValue, DialogProvider, DimensionInput, type DimensionValue, Divider, DividerVertical, DraggableMenuButton, type DropValidator, DropdownMenu, type EditableRowProps, type ExtractMenuItemType, FillInputField, FillPreviewBackground, FullscreenDialog, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, type GridProps, GridView, type GridViewSize, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, type IInputFieldWithCompletions, type IScoredItem, type IToken, type IVirtualizedList, IconButton, type ImageDataContextValue, ImageDataProvider, InputElement, InputField, type InputFieldSize, InputFieldWithCompletions, InspectorPrimitives, Italic, KeyboardShortcut, Label, LabeledElementView, type ListRowMarginType, type ListRowPosition, ListView, type MatchRange, type MenuConfig, type MenuItem, type MenuItemProps, type MenuProps, type Optional, PatternPreviewBackground, Popover, Progress, RadioGroup, type RegularMenuItem, type RelativeDropPosition, Row$1 as Row, SEPARATOR_ITEM, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, ScrollArea, Select, SelectOption, type SetNumberMode, type SketchPattern, Slider, Small, Sortable, Spacer, Stack, type StackBreakpointList, type SupportedCanvasUploadType, type SupportedImageUploadType, Switch, Text$1 as Text, type TextBreakpointList, type Theme, type ThemeColorName, Toast, ToastProvider, Tooltip, TreeView, createSectionedMenu, dark as darkTheme, fuzzyFilter, fuzzyScore, fuzzyTokenize, getGradientBackground, getNewValue, lightTheme, mediaQuery, normalizeListDestinationIndex, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, withSeparatorElements };
1348
+ export { ActivityIndicator, ArrayController, type ArrayControllerProps, Avatar, AvatarStack, Body, Button, ButtonElement, type ButtonRootProps, Chip, type ChipProps, CloseButtonContainer, type Colors, type CompletionItem, type CompletionListItem, CompletionMenu, type CompletionSectionHeader, CompletionToken, ContextMenu, type DesignSystemConfigurationContextValue, DesignSystemConfigurationProvider, Dialog, type DialogContextValue, DialogProvider, DimensionInput, type DimensionValue, Divider, DividerVertical, DraggableMenuButton, type DropValidator, DropdownMenu, type EditableRowProps, type ExtractMenuItemType, FillInputField, FillPreviewBackground, FloatingWindow, FloatingWindowProvider, FullscreenDialog, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, type GridProps, GridView, type GridViewSize, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, type IInputFieldWithCompletions, type IScoredItem, type IToken, type IVirtualizedList, IconButton, type ImageDataContextValue, ImageDataProvider, InputElement, InputField, type InputFieldSize, InputFieldWithCompletions, InspectorPrimitives, Italic, KeyboardShortcut, Label, LabeledElementView, type ListRowMarginType, type ListRowPosition, ListView, type MatchRange, type MenuConfig, type MenuItem, type MenuItemProps, type MenuProps, type Optional, PatternPreviewBackground, Popover, Progress, RadioGroup, type RegularMenuItem, type RelativeDropPosition, Row$1 as Row, SEPARATOR_ITEM, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, ScrollArea, Select, SelectOption, type SetNumberMode, type SketchPattern, Slider, Small, Sortable, Spacer, Stack, type StackBreakpointList, type SupportedCanvasUploadType, type SupportedImageUploadType, Switch, Text$1 as Text, type TextBreakpointList, type Theme, type ThemeColorName, Toast, ToastProvider, Tooltip, TreeView, createSectionedMenu, dark as darkTheme, fuzzyFilter, fuzzyScore, fuzzyTokenize, getGradientBackground, getNewValue, lightTheme, mediaQuery, normalizeListDestinationIndex, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useCurrentFloatingWindowInternal, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, withSeparatorElements };
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import React__default, { CSSProperties, ReactNode, ReactElement, ComponentProps,
3
3
  import * as styled_components from 'styled-components';
4
4
  import { CSSObject, CSSProperties as CSSProperties$1 } from 'styled-components';
5
5
  import * as DialogPrimitive from '@radix-ui/react-dialog';
6
+ import * as RadixDropdownMenu from '@radix-ui/react-dropdown-menu';
6
7
  import { Sketch } from '@noya-app/noya-file-format';
7
8
  import * as csstype from 'csstype';
8
9
  import { Property } from 'csstype';
@@ -25,12 +26,18 @@ interface Props$h {
25
26
  }
26
27
  declare const ActivityIndicator: (props: Props$h) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
27
28
 
28
- declare function Avatar({ image, name, fallback, size, overflow, }: {
29
- image?: string;
30
- name?: string;
31
- fallback?: string;
29
+ declare const Avatar: (props: {
30
+ image?: string | undefined;
31
+ name?: string | undefined;
32
+ fallback?: string | undefined;
33
+ size?: number | undefined;
34
+ overflow?: number | undefined;
35
+ style?: React__default.CSSProperties | undefined;
36
+ className?: string | undefined;
37
+ } & React__default.RefAttributes<HTMLDivElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
38
+ declare function AvatarStack({ size, children, }: {
32
39
  size?: number;
33
- overflow?: number;
40
+ children: React__default.ReactNode;
34
41
  }): React__default.JSX.Element;
35
42
 
36
43
  type ButtonVariant = "normal" | "primary" | "primaryGradient" | "secondary" | "secondaryBright" | "white" | "thin" | "floating" | "none";
@@ -40,6 +47,7 @@ declare const ButtonElement: styled_components.StyledComponent<"button", styled_
40
47
  variant: ButtonVariant;
41
48
  size: ButtonSize;
42
49
  flex?: CSSProperties["flex"];
50
+ defaultBackground?: string | undefined;
43
51
  }, never>;
44
52
  interface ButtonRootProps {
45
53
  id?: string;
@@ -56,6 +64,7 @@ interface ButtonRootProps {
56
64
  onClick?: (event: React__default.MouseEvent) => void;
57
65
  onPointerDown?: (event: React__default.PointerEvent) => void;
58
66
  contentStyle?: CSSProperties;
67
+ defaultBackground?: string;
59
68
  as?: React__default.ElementType;
60
69
  href?: string;
61
70
  target?: string;
@@ -83,6 +92,7 @@ interface ChipProps {
83
92
  }
84
93
  declare const Chip: (props: ChipProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
85
94
 
95
+ declare const name$1: string;
86
96
  declare const colors$1: {
87
97
  logo: {
88
98
  fill: string;
@@ -168,6 +178,7 @@ declare const textStyles: {
168
178
  heading5: CSSObject;
169
179
  body: CSSObject;
170
180
  small: CSSObject;
181
+ button: CSSObject;
171
182
  code: CSSObject;
172
183
  label: CSSObject;
173
184
  };
@@ -199,7 +210,7 @@ declare const lightTheme_fonts: typeof fonts;
199
210
  declare const lightTheme_sizes: typeof sizes;
200
211
  declare const lightTheme_textStyles: typeof textStyles;
201
212
  declare namespace lightTheme {
202
- export { colors$1 as colors, lightTheme_fonts as fonts, lightTheme_sizes as sizes, lightTheme_textStyles as textStyles };
213
+ export { colors$1 as colors, lightTheme_fonts as fonts, name$1 as name, lightTheme_sizes as sizes, lightTheme_textStyles as textStyles };
203
214
  }
204
215
 
205
216
  type Theme = typeof lightTheme;
@@ -291,7 +302,7 @@ declare const DraggableMenuButton: <T extends string>(props: {
291
302
  declare const DropdownMenu: <T extends string>(props: MenuProps<T> & {
292
303
  open?: boolean | undefined;
293
304
  onCloseAutoFocus?: ((event: React__default.SyntheticEvent<unknown, Event>) => void) | undefined;
294
- } & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
305
+ } & Pick<RadixDropdownMenu.DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>, "align" | "side" | "sideOffset" | "alignOffset" | "collisionPadding"> & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
295
306
 
296
307
  declare const SUPPORTED_IMAGE_UPLOAD_TYPES: ("image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
297
308
  declare const SUPPORTED_CANVAS_UPLOAD_TYPES: ("" | "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
@@ -321,6 +332,25 @@ interface Props$e {
321
332
  }
322
333
  declare const FillPreviewBackground: (props: Props$e) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
323
334
 
335
+ interface FloatingWindowProps {
336
+ title?: string;
337
+ onClose?: () => void;
338
+ children: React__default.ReactNode;
339
+ initialWidth?: number;
340
+ initialHeight?: number;
341
+ initialX?: number;
342
+ initialY?: number;
343
+ minWidth?: number;
344
+ minHeight?: number;
345
+ toolbarContent?: React__default.ReactNode;
346
+ renderToolbar?: (props: {
347
+ title?: string;
348
+ toolbarContent?: React__default.ReactNode;
349
+ onClose?: () => void;
350
+ }) => React__default.ReactNode;
351
+ }
352
+ declare const FloatingWindow: React__default.FC<FloatingWindowProps>;
353
+
324
354
  interface Props$d {
325
355
  value: Sketch.GradientStop[];
326
356
  selectedStop: number;
@@ -1044,6 +1074,19 @@ declare const DialogProvider: ({ children, }: {
1044
1074
  declare function useOpenInputDialog(): (title: string, inputValue?: string | undefined) => Promise<string | undefined>;
1045
1075
  declare function useDialogContainsElement(): (element: HTMLElement) => boolean;
1046
1076
 
1077
+ type FloatingWindowContextValue = {
1078
+ createWindow: (element: React__default.ReactNode) => string;
1079
+ closeWindow: (id: string) => void;
1080
+ };
1081
+ type CurrentWindowContextValue = {
1082
+ id: string;
1083
+ };
1084
+ declare const FloatingWindowProvider: ({ children, }: {
1085
+ children: React__default.ReactNode;
1086
+ }) => React__default.JSX.Element;
1087
+ declare const useFloatingWindowManager: () => FloatingWindowContextValue;
1088
+ declare const useCurrentFloatingWindowInternal: () => CurrentWindowContextValue;
1089
+
1047
1090
  type ImageDataContextValue = {
1048
1091
  getImageData: (ref: string) => ArrayBuffer | undefined;
1049
1092
  };
@@ -1120,6 +1163,7 @@ declare const mediaQuery: {
1120
1163
  xlarge: string;
1121
1164
  };
1122
1165
 
1166
+ declare const name: string;
1123
1167
  declare const colors: {
1124
1168
  logo: {
1125
1169
  fill: string;
@@ -1194,10 +1238,11 @@ declare const colors: {
1194
1238
 
1195
1239
  declare const dark_colors: typeof colors;
1196
1240
  declare const dark_fonts: typeof fonts;
1241
+ declare const dark_name: typeof name;
1197
1242
  declare const dark_sizes: typeof sizes;
1198
1243
  declare const dark_textStyles: typeof textStyles;
1199
1244
  declare namespace dark {
1200
- export { dark_colors as colors, dark_fonts as fonts, dark_sizes as sizes, dark_textStyles as textStyles };
1245
+ export { dark_colors as colors, dark_fonts as fonts, dark_name as name, dark_sizes as sizes, dark_textStyles as textStyles };
1201
1246
  }
1202
1247
 
1203
1248
  type Optional<T> = T | false | null | undefined;
@@ -1300,4 +1345,4 @@ declare module "react" {
1300
1345
  function forwardRef<T, P = {}>(render: (props: P, ref: React.ForwardedRef<T>) => React.ReactElement | null): (props: P & React.RefAttributes<T>) => React.ReactElement | null;
1301
1346
  }
1302
1347
 
1303
- export { ActivityIndicator, ArrayController, type ArrayControllerProps, Avatar, Body, Button, ButtonElement, type ButtonRootProps, Chip, type ChipProps, CloseButtonContainer, type Colors, type CompletionItem, type CompletionListItem, CompletionMenu, type CompletionSectionHeader, CompletionToken, ContextMenu, type DesignSystemConfigurationContextValue, DesignSystemConfigurationProvider, Dialog, type DialogContextValue, DialogProvider, DimensionInput, type DimensionValue, Divider, DividerVertical, DraggableMenuButton, type DropValidator, DropdownMenu, type EditableRowProps, type ExtractMenuItemType, FillInputField, FillPreviewBackground, FullscreenDialog, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, type GridProps, GridView, type GridViewSize, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, type IInputFieldWithCompletions, type IScoredItem, type IToken, type IVirtualizedList, IconButton, type ImageDataContextValue, ImageDataProvider, InputElement, InputField, type InputFieldSize, InputFieldWithCompletions, InspectorPrimitives, Italic, KeyboardShortcut, Label, LabeledElementView, type ListRowMarginType, type ListRowPosition, ListView, type MatchRange, type MenuConfig, type MenuItem, type MenuItemProps, type MenuProps, type Optional, PatternPreviewBackground, Popover, Progress, RadioGroup, type RegularMenuItem, type RelativeDropPosition, Row$1 as Row, SEPARATOR_ITEM, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, ScrollArea, Select, SelectOption, type SetNumberMode, type SketchPattern, Slider, Small, Sortable, Spacer, Stack, type StackBreakpointList, type SupportedCanvasUploadType, type SupportedImageUploadType, Switch, Text$1 as Text, type TextBreakpointList, type Theme, type ThemeColorName, Toast, ToastProvider, Tooltip, TreeView, createSectionedMenu, dark as darkTheme, fuzzyFilter, fuzzyScore, fuzzyTokenize, getGradientBackground, getNewValue, lightTheme, mediaQuery, normalizeListDestinationIndex, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, withSeparatorElements };
1348
+ export { ActivityIndicator, ArrayController, type ArrayControllerProps, Avatar, AvatarStack, Body, Button, ButtonElement, type ButtonRootProps, Chip, type ChipProps, CloseButtonContainer, type Colors, type CompletionItem, type CompletionListItem, CompletionMenu, type CompletionSectionHeader, CompletionToken, ContextMenu, type DesignSystemConfigurationContextValue, DesignSystemConfigurationProvider, Dialog, type DialogContextValue, DialogProvider, DimensionInput, type DimensionValue, Divider, DividerVertical, DraggableMenuButton, type DropValidator, DropdownMenu, type EditableRowProps, type ExtractMenuItemType, FillInputField, FillPreviewBackground, FloatingWindow, FloatingWindowProvider, FullscreenDialog, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, type GridProps, GridView, type GridViewSize, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, type IInputFieldWithCompletions, type IScoredItem, type IToken, type IVirtualizedList, IconButton, type ImageDataContextValue, ImageDataProvider, InputElement, InputField, type InputFieldSize, InputFieldWithCompletions, InspectorPrimitives, Italic, KeyboardShortcut, Label, LabeledElementView, type ListRowMarginType, type ListRowPosition, ListView, type MatchRange, type MenuConfig, type MenuItem, type MenuItemProps, type MenuProps, type Optional, PatternPreviewBackground, Popover, Progress, RadioGroup, type RegularMenuItem, type RelativeDropPosition, Row$1 as Row, SEPARATOR_ITEM, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, ScrollArea, Select, SelectOption, type SetNumberMode, type SketchPattern, Slider, Small, Sortable, Spacer, Stack, type StackBreakpointList, type SupportedCanvasUploadType, type SupportedImageUploadType, Switch, Text$1 as Text, type TextBreakpointList, type Theme, type ThemeColorName, Toast, ToastProvider, Tooltip, TreeView, createSectionedMenu, dark as darkTheme, fuzzyFilter, fuzzyScore, fuzzyTokenize, getGradientBackground, getNewValue, lightTheme, mediaQuery, normalizeListDestinationIndex, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useCurrentFloatingWindowInternal, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, withSeparatorElements };