@noya-app/noya-designsystem 0.1.36 → 0.1.38

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 (38) hide show
  1. package/.turbo/turbo-build.log +10 -10
  2. package/CHANGELOG.md +12 -0
  3. package/dist/index.css +1 -1
  4. package/dist/index.d.mts +358 -33
  5. package/dist/index.d.ts +358 -33
  6. package/dist/index.js +1227 -854
  7. package/dist/index.js.map +1 -1
  8. package/dist/index.mjs +1010 -626
  9. package/dist/index.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/src/components/Button.tsx +1 -1
  12. package/src/components/Checkbox.tsx +78 -0
  13. package/src/components/Chip.tsx +15 -8
  14. package/src/components/DraggableMenuButton.tsx +3 -2
  15. package/src/components/FillPreviewBackground.tsx +10 -9
  16. package/src/components/FloatingWindow.tsx +5 -6
  17. package/src/components/IconButton.tsx +5 -1
  18. package/src/components/InputField.tsx +95 -68
  19. package/src/components/InspectorContainer.tsx +2 -2
  20. package/src/components/InspectorPrimitives.tsx +19 -9
  21. package/src/components/Label.tsx +16 -29
  22. package/src/components/ListView.tsx +19 -32
  23. package/src/components/RadioGroup.tsx +1 -1
  24. package/src/components/SelectMenu.tsx +41 -35
  25. package/src/components/Switch.tsx +5 -2
  26. package/src/components/Text.tsx +20 -7
  27. package/src/components/TextArea.tsx +1 -1
  28. package/src/components/Tooltip.tsx +1 -1
  29. package/src/components/WorkspaceLayout.tsx +4 -3
  30. package/src/components/internal/TextInput.tsx +1 -0
  31. package/src/index.css +12 -2
  32. package/src/index.tsx +1 -1
  33. package/src/theme/index.ts +6 -3
  34. package/src/theme/themeUtils.ts +72 -0
  35. package/src/utils/tailwind.ts +4 -12
  36. package/src/utils/withSeparatorElements.ts +29 -3
  37. package/tailwind.config.ts +19 -5
  38. package/tsconfig.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { CSSProperties, ReactNode, ComponentProps, SyntheticEvent, AriaRole, KeyboardEventHandler, MouseEventHandler, PointerEventHandler, FocusEventHandler, InputHTMLAttributes, Ref, ReactHTML } from 'react';
2
+ import React__default, { CSSProperties, ReactNode, InputHTMLAttributes, ComponentProps, SyntheticEvent, AriaRole, KeyboardEventHandler, MouseEventHandler, PointerEventHandler, FocusEventHandler, Ref, LabelHTMLAttributes, ReactHTML } from 'react';
3
3
  import * as Icons from '@noya-app/noya-icons';
4
4
  export { Icons };
5
5
  import * as DialogPrimitive from '@radix-ui/react-dialog';
@@ -14,7 +14,6 @@ import { IItemScore } from 'vscode-fuzzy-scorer';
14
14
  import { useSortable } from '@dnd-kit/sortable';
15
15
  import * as PopoverPrimitive from '@radix-ui/react-popover';
16
16
  import { SelectProps } from '@radix-ui/react-select';
17
- import { Config } from 'tailwindcss';
18
17
  import { ImperativePanelGroupHandle } from 'react-resizable-panels';
19
18
  import { RgbaColor } from '@noya-app/noya-colorpicker';
20
19
 
@@ -64,6 +63,11 @@ interface ButtonRootProps {
64
63
  }
65
64
  declare const Button: (props: ButtonRootProps & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement | null;
66
65
 
66
+ interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "type"> {
67
+ colorScheme?: "primary" | "secondary";
68
+ }
69
+ declare const Checkbox$1: (props: CheckboxProps & React__default.RefAttributes<HTMLInputElement>) => React__default.ReactElement | null;
70
+
67
71
  type ChipColorScheme = "primary" | "secondary" | "error";
68
72
  type ChipSize = "small" | "medium" | "large";
69
73
  type ChipVariant = "solid" | "outlined" | "ghost";
@@ -269,7 +273,7 @@ declare namespace GridView {
269
273
  }) => React__default.ReactElement | null;
270
274
  }
271
275
 
272
- declare const IconButton: (props: Omit<ButtonRootProps, "size" | "flex" | "children" | "variant"> & {
276
+ declare const IconButton: (props: Omit<ButtonRootProps, "size" | "children" | "flex" | "variant"> & {
273
277
  iconName: IconName;
274
278
  className?: string;
275
279
  style?: CSSProperties;
@@ -311,12 +315,6 @@ type TextInputProps = ReadOnlyProps | ControlledProps | SubmittableProps;
311
315
 
312
316
  type LabelPosition = "start" | "end";
313
317
  type InputFieldSize = "small" | "medium" | "large";
314
- interface InputFieldLabelProps {
315
- children?: ReactNode;
316
- pointerEvents?: Property.PointerEvents;
317
- style?: React__default.CSSProperties;
318
- className?: string;
319
- }
320
318
  interface InputFieldDropdownProps<T extends string> {
321
319
  id?: string;
322
320
  items: MenuItem<T>[];
@@ -364,7 +362,7 @@ declare namespace InputField {
364
362
  const NumberInput: (props: InputFieldNumberInputProps) => React__default.ReactElement | null;
365
363
  const DropdownMenu: <T extends string>(props: InputFieldDropdownProps<T>) => React__default.ReactElement | null;
366
364
  const Button: (props: React__default.ButtonHTMLAttributes<HTMLButtonElement> & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement | null;
367
- const Label: (props: InputFieldLabelProps & React__default.RefAttributes<HTMLLabelElement>) => React__default.ReactElement | null;
365
+ const Label: (props: React__default.LabelHTMLAttributes<HTMLLabelElement> & React__default.RefAttributes<HTMLLabelElement>) => React__default.ReactElement | null;
368
366
  const PrimitiveElement: ({ readOnly, disabled, className, ...props }: {
369
367
  readOnly?: boolean;
370
368
  disabled?: boolean;
@@ -606,13 +604,9 @@ declare const InspectorContainer: (props: {
606
604
  style?: React__default.CSSProperties;
607
605
  } & React__default.RefAttributes<HTMLDivElement>) => React__default.ReactElement | null;
608
606
 
609
- interface LabelRootProps {
610
- label: ReactNode;
611
- children: ReactNode;
612
- }
613
- declare namespace Label {
614
- const Root: (props: LabelRootProps) => React__default.ReactElement | null;
607
+ interface LabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
615
608
  }
609
+ declare const Label: (props: LabelProps & React__default.RefAttributes<HTMLLabelElement>) => React__default.ReactElement | null;
616
610
 
617
611
  interface ContainerProps {
618
612
  children: ReactNode;
@@ -704,26 +698,347 @@ declare namespace Spacer {
704
698
 
705
699
  type SwitchColorScheme = "normal" | "primary" | "secondary";
706
700
  interface Props$3 {
701
+ id?: string;
707
702
  value: boolean;
708
703
  onChange: (value: boolean) => void;
709
704
  /** @default normal */
710
705
  colorScheme?: SwitchColorScheme;
711
706
  disabled?: boolean;
712
707
  }
713
- declare const Switch: ({ value, onChange, colorScheme, disabled, }: Props$3) => React__default.JSX.Element;
714
-
715
- declare const config: Config;
708
+ declare const Switch: ({ id, value, onChange, colorScheme, disabled, }: Props$3) => React__default.JSX.Element;
709
+
710
+ declare const config: {
711
+ content: string[];
712
+ corePlugins: {
713
+ preflight: false;
714
+ };
715
+ theme: {
716
+ extend: {
717
+ colors: {
718
+ "logo-fill": string;
719
+ "logo-highlight": string;
720
+ background: string;
721
+ text: string;
722
+ "text-muted": string;
723
+ "text-subtle": string;
724
+ "text-disabled": string;
725
+ "text-decorative-light": string;
726
+ "divider-subtle": string;
727
+ divider: string;
728
+ "divider-strong": string;
729
+ primary: string;
730
+ "primary-light": string;
731
+ "primary-pastel": string;
732
+ secondary: string;
733
+ "secondary-light": string;
734
+ "secondary-pastel": string;
735
+ "secondary-bright": string;
736
+ "input-background": string;
737
+ "input-background-light": string;
738
+ "code-background": string;
739
+ "code-background-dark": string;
740
+ "selected-background": string;
741
+ "breadcrumb-text": string;
742
+ "breadcrumb-text-hover": string;
743
+ "breadcrumb-icon": string;
744
+ "canvas-background": string;
745
+ "canvas-grid": string;
746
+ "sidebar-background": string;
747
+ "sidebar-background-transparent": string;
748
+ "popover-background": string;
749
+ "popover-divider": string;
750
+ "listview-raised-background": string;
751
+ "listview-editing-background": string;
752
+ "slider-background": string;
753
+ "slider-border": string;
754
+ "radio-group-background": string;
755
+ mask: string;
756
+ "transparent-checker": string;
757
+ scrollbar: string;
758
+ "placeholder-dots": string;
759
+ "drag-outline": string;
760
+ "active-background": string;
761
+ "thumbnail-background": string;
762
+ "thumbnail-shadow": string;
763
+ "inline-code-text": string;
764
+ "inline-code-background": string;
765
+ "text-link": string;
766
+ "text-link-focused": string;
767
+ icon: string;
768
+ "icon-selected": string;
769
+ warning: string;
770
+ "radio-group-item": string;
771
+ dot: string;
772
+ "row-highlight": string;
773
+ "table-row-background": string;
774
+ "chip-primary-bg": string;
775
+ "chip-secondary-bg": string;
776
+ "chip-error-bg": string;
777
+ "chip-default-bg": string;
778
+ "chip-primary-shadow": string;
779
+ "chip-secondary-shadow": string;
780
+ "chip-error-shadow": string;
781
+ "chip-default-shadow": string;
782
+ };
783
+ fontFamily: {
784
+ sans: [string, string, string, string, string, string, string, string, string, string];
785
+ mono: [string, string, string, string, string];
786
+ };
787
+ fontSize: {
788
+ title: [string, {
789
+ lineHeight: string;
790
+ letterSpacing: string;
791
+ }];
792
+ subtitle: [string, {
793
+ lineHeight: string;
794
+ letterSpacing: string;
795
+ }];
796
+ heading1: [string, {
797
+ lineHeight: string;
798
+ letterSpacing: string;
799
+ }];
800
+ heading2: [string, {
801
+ lineHeight: string;
802
+ letterSpacing: string;
803
+ }];
804
+ heading3: [string, {
805
+ lineHeight: string;
806
+ letterSpacing: string;
807
+ }];
808
+ heading4: [string, {
809
+ lineHeight: string;
810
+ }];
811
+ heading5: [string, {
812
+ lineHeight: string;
813
+ }];
814
+ body: [string, {
815
+ lineHeight: string;
816
+ }];
817
+ small: [string, {
818
+ lineHeight: string;
819
+ }];
820
+ code: [string, {
821
+ lineHeight: string;
822
+ }];
823
+ button: [string, {
824
+ lineHeight: string;
825
+ letterSpacing: string;
826
+ }];
827
+ label: [string, {
828
+ lineHeight: string;
829
+ letterSpacing: string;
830
+ }];
831
+ };
832
+ spacing: {
833
+ nano: string;
834
+ micro: string;
835
+ small: string;
836
+ medium: string;
837
+ large: string;
838
+ xlarge: string;
839
+ xxlarge: string;
840
+ "inset-top": string;
841
+ "sidebar-width": string;
842
+ "toolbar-height": string;
843
+ "toolbar-separator": string;
844
+ "inspector-h-separator": string;
845
+ "inspector-v-separator": string;
846
+ "dialog-padding": string;
847
+ };
848
+ keyframes: {
849
+ spin: {
850
+ "0%": {
851
+ transform: string;
852
+ };
853
+ "100%": {
854
+ transform: string;
855
+ };
856
+ };
857
+ shimmer: {
858
+ "0%": {
859
+ backgroundPosition: string;
860
+ };
861
+ "100%": {
862
+ backgroundPosition: string;
863
+ };
864
+ };
865
+ };
866
+ animation: {
867
+ spin: string;
868
+ shimmer: string;
869
+ };
870
+ zIndex: {
871
+ interactable: string;
872
+ label: string;
873
+ };
874
+ };
875
+ };
876
+ safelist: string[];
877
+ };
716
878
 
717
- type Theme = typeof config.theme.extend;
879
+ type Theme = (typeof config.theme)["extend"];
880
+ type ThemeColor = keyof Theme["colors"];
881
+ declare const cssVars: {
882
+ colors: {
883
+ logoFill: string;
884
+ logoHighlight: string;
885
+ background: string;
886
+ text: string;
887
+ textMuted: string;
888
+ textSubtle: string;
889
+ textDisabled: string;
890
+ textDecorativeLight: string;
891
+ dividerSubtle: string;
892
+ divider: string;
893
+ dividerStrong: string;
894
+ primary: string;
895
+ primaryLight: string;
896
+ primaryPastel: string;
897
+ secondary: string;
898
+ secondaryLight: string;
899
+ secondaryPastel: string;
900
+ secondaryBright: string;
901
+ inputBackground: string;
902
+ inputBackgroundLight: string;
903
+ codeBackground: string;
904
+ codeBackgroundDark: string;
905
+ selectedBackground: string;
906
+ breadcrumbText: string;
907
+ breadcrumbTextHover: string;
908
+ breadcrumbIcon: string;
909
+ canvasBackground: string;
910
+ canvasGrid: string;
911
+ sidebarBackground: string;
912
+ sidebarBackgroundTransparent: string;
913
+ popoverBackground: string;
914
+ popoverDivider: string;
915
+ listviewRaisedBackground: string;
916
+ listviewEditingBackground: string;
917
+ sliderBackground: string;
918
+ sliderBorder: string;
919
+ radioGroupBackground: string;
920
+ mask: string;
921
+ transparentChecker: string;
922
+ scrollbar: string;
923
+ placeholderDots: string;
924
+ dragOutline: string;
925
+ activeBackground: string;
926
+ thumbnailBackground: string;
927
+ thumbnailShadow: string;
928
+ inlineCodeText: string;
929
+ inlineCodeBackground: string;
930
+ textLink: string;
931
+ textLinkFocused: string;
932
+ icon: string;
933
+ iconSelected: string;
934
+ warning: string;
935
+ radioGroupItem: string;
936
+ dot: string;
937
+ rowHighlight: string;
938
+ tableRowBackground: string;
939
+ chipPrimaryBg: string;
940
+ chipSecondaryBg: string;
941
+ chipErrorBg: string;
942
+ chipDefaultBg: string;
943
+ chipPrimaryShadow: string;
944
+ chipSecondaryShadow: string;
945
+ chipErrorShadow: string;
946
+ chipDefaultShadow: string;
947
+ };
948
+ fontFamily: {
949
+ sans: [string, string, string, string, string, string, string, string, string, string];
950
+ mono: [string, string, string, string, string];
951
+ };
952
+ fontSize: {
953
+ title: [string, {
954
+ lineHeight: string;
955
+ letterSpacing: string;
956
+ }];
957
+ subtitle: [string, {
958
+ lineHeight: string;
959
+ letterSpacing: string;
960
+ }];
961
+ heading1: [string, {
962
+ lineHeight: string;
963
+ letterSpacing: string;
964
+ }];
965
+ heading2: [string, {
966
+ lineHeight: string;
967
+ letterSpacing: string;
968
+ }];
969
+ heading3: [string, {
970
+ lineHeight: string;
971
+ letterSpacing: string;
972
+ }];
973
+ heading4: [string, {
974
+ lineHeight: string;
975
+ }];
976
+ heading5: [string, {
977
+ lineHeight: string;
978
+ }];
979
+ body: [string, {
980
+ lineHeight: string;
981
+ }];
982
+ small: [string, {
983
+ lineHeight: string;
984
+ }];
985
+ code: [string, {
986
+ lineHeight: string;
987
+ }];
988
+ button: [string, {
989
+ lineHeight: string;
990
+ letterSpacing: string;
991
+ }];
992
+ label: [string, {
993
+ lineHeight: string;
994
+ letterSpacing: string;
995
+ }];
996
+ };
997
+ spacing: {
998
+ nano: string;
999
+ micro: string;
1000
+ small: string;
1001
+ medium: string;
1002
+ large: string;
1003
+ xlarge: string;
1004
+ xxlarge: string;
1005
+ insetTop: string;
1006
+ sidebarWidth: string;
1007
+ toolbarHeight: string;
1008
+ toolbarSeparator: string;
1009
+ inspectorHSeparator: string;
1010
+ inspectorVSeparator: string;
1011
+ dialogPadding: string;
1012
+ };
1013
+ keyframes: {
1014
+ spin: {
1015
+ "0%": {
1016
+ transform: string;
1017
+ };
1018
+ "100%": {
1019
+ transform: string;
1020
+ };
1021
+ };
1022
+ shimmer: {
1023
+ "0%": {
1024
+ backgroundPosition: string;
1025
+ };
1026
+ "100%": {
1027
+ backgroundPosition: string;
1028
+ };
1029
+ };
1030
+ };
1031
+ animation: {
1032
+ spin: string;
1033
+ shimmer: string;
1034
+ };
1035
+ zIndex: {
1036
+ interactable: string;
1037
+ label: string;
1038
+ };
1039
+ };
718
1040
 
719
- /**
720
- * Utility for merging classes conditionally. Right side will override left side if there are any conflicts.
721
- * Usage: cn('bg-red-500 text-white', 'bg-blue-500') // Returns: 'text-white bg-blue-500'
722
- * @danger do not use this function to concatenate class names. Use it to merge classes conditionally.
723
- */
724
- declare const cn: (...classes: (string | boolean | undefined | null)[]) => string;
725
- type ThemeExtend = NonNullable<Theme['extend']>;
726
- type ThemeColor = keyof ThemeExtend['colors'];
1041
+ type KebabToCamelCase<S extends string> = S extends `${infer First}-${infer Rest}` ? `${First}${Capitalize<KebabToCamelCase<Rest>>}` : S;
727
1042
 
728
1043
  type Variant = "title" | "subtitle" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "body" | "small" | "button" | "code" | "label";
729
1044
  declare const textStyles: Record<Variant, string>;
@@ -733,7 +1048,7 @@ type TextProps = {
733
1048
  className?: string;
734
1049
  style?: React__default.CSSProperties;
735
1050
  variant: Variant;
736
- color?: ThemeColor;
1051
+ color?: KebabToCamelCase<ThemeColor>;
737
1052
  children: ReactNode;
738
1053
  onClick?: () => void;
739
1054
  onDoubleClick?: () => void;
@@ -972,6 +1287,13 @@ declare const mediaQuery: {
972
1287
  xlarge: string;
973
1288
  };
974
1289
 
1290
+ /**
1291
+ * Utility for merging classes conditionally. Right side will override left side if there are any conflicts.
1292
+ * Usage: cn('bg-red-500 text-white', 'bg-blue-500') // Returns: 'text-white bg-blue-500'
1293
+ * @danger do not use this function to concatenate class names. Use it to merge classes conditionally.
1294
+ */
1295
+ declare const cn: (...classes: (string | boolean | undefined | null)[]) => string;
1296
+
975
1297
  type Optional<T> = T | false | null | undefined;
976
1298
  type MenuConfig<T extends string> = Optional<Optional<RegularMenuItem<T>>[]>[];
977
1299
  declare function createSectionedMenu<T extends string>(...sections: MenuConfig<T>): MenuItem<T>[];
@@ -988,7 +1310,10 @@ declare function sketchColorToRgbaString(value: Sketch.Color): string;
988
1310
  declare function rgbaToSketchColor(value: RgbaColor): Sketch.Color;
989
1311
  declare function sketchColorToHex(value: Sketch.Color): string;
990
1312
 
991
- declare function withSeparatorElements(elements: ReactNode, separator: ReactNode | (() => ReactNode)): (string | number | React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>> | Iterable<ReactNode> | React$1.ReactPortal)[];
1313
+ interface SeparatorOptions {
1314
+ traverseFragments?: boolean;
1315
+ }
1316
+ declare function withSeparatorElements(elements: ReactNode, separator: ReactNode | (() => ReactNode), options?: SeparatorOptions): ReactNode[];
992
1317
 
993
1318
  type SetNumberMode = "replace" | "adjust";
994
1319
  declare function getNewValue(value: number, mode: SetNumberMode, delta?: number): number;
@@ -1017,9 +1342,9 @@ declare const Checkbox: (props: React__default.InputHTMLAttributes<HTMLInputElem
1017
1342
  declare const Text: (props: React__default.HTMLAttributes<HTMLSpanElement> & React__default.RefAttributes<HTMLSpanElement>) => React__default.ReactElement | null;
1018
1343
  declare const VerticalSeparator: () => React__default.JSX.Element;
1019
1344
  declare const HorizontalSeparator: () => React__default.JSX.Element;
1020
- declare const RowLabel: (props: React__default.HTMLAttributes<HTMLSpanElement> & {
1345
+ declare const RowLabel: (props: React__default.LabelHTMLAttributes<HTMLLabelElement> & {
1021
1346
  $textStyle?: TitleTextStyle | "label";
1022
- } & React__default.RefAttributes<HTMLSpanElement>) => React__default.ReactElement | null;
1347
+ } & React__default.RefAttributes<HTMLLabelElement>) => React__default.ReactElement | null;
1023
1348
  interface LabeledRowProps {
1024
1349
  id?: string;
1025
1350
  children: ReactNode;
@@ -1050,4 +1375,4 @@ declare module "react" {
1050
1375
  function forwardRef<T, P = {}>(render: (props: P, ref: React.ForwardedRef<T>) => React.ReactElement | null): (props: P & React.RefAttributes<T>) => React.ReactElement | null;
1051
1376
  }
1052
1377
 
1053
- export { ActivityIndicator, AutoResizingTextArea, Avatar, AvatarStack, Body, Button, type ButtonRootProps, CONTENT_AREA_ID, Chip, type ChipProps, type CompletionItem, type CompletionListItem, CompletionMenu, type CompletionSectionHeader, ContextMenu, type DesignSystemConfigurationContextValue, DesignSystemConfigurationProvider, Dialog, type DialogContextValue, DialogProvider, DimensionInput, type DimensionValue, Divider, DividerVertical, DraggableMenuButton, type DropValidator, DropdownMenu, EDITOR_PANEL_GROUP_ID, type EditableRowProps, type ExtractMenuItemType, FillInputField, FillPreviewBackground, FloatingWindow, FloatingWindowProvider, FullscreenDialog, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, GridView, type GridViewSize, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, type IScoredItem, type IToken, type IVirtualizedList, type IWorkspaceLayout, IconButton, type IconName, type ImageDataContextValue, ImageDataProvider, InputField, type InputFieldInputProps, type InputFieldSize, InputFieldWithCompletions, type InputFieldWithCompletionsProps, type InputFieldWithCompletionsRef, InspectorContainer, InspectorPrimitives, Italic, KeyboardShortcut, LEFT_SIDEBAR_ID, Label, LabeledElementView, type ListRowMarginType, type ListRowPosition, ListView, type MatchRange, type MenuConfig, type MenuItem, type MenuItemProps, type MenuProps, type Optional, type PanelLayoutState, PatternPreviewBackground, Popover, Progress, RIGHT_SIDEBAR_ID, RadioGroup, type RegularMenuItem, type RelativeDropPosition, SEPARATOR_ITEM, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, ScrollArea, SelectMenu, type SetNumberMode, type SketchPattern, Slider, Small, Sortable, Spacer, type SupportedCanvasUploadType, type SupportedImageUploadType, Switch, Text$1 as Text, type TextProps, type Theme, type ThemeColor, Toast, ToastProvider, Tooltip, TreeView, WorkspaceLayout, cn, createSectionedMenu, fuzzyFilter, fuzzyScore, fuzzyTokenize, getGradientBackground, getNewValue, mediaQuery, normalizeListDestinationIndex, renderIcon, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, textStyles, useAutoResize, useCurrentFloatingWindowInternal, useDarkMode, useDesignSystemConfiguration, useDialogContainsElement, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, usePreservePanelSize, withSeparatorElements };
1378
+ export { ActivityIndicator, AutoResizingTextArea, Avatar, AvatarStack, Body, Button, type ButtonRootProps, CONTENT_AREA_ID, Checkbox$1 as Checkbox, Chip, type ChipProps, type CompletionItem, type CompletionListItem, CompletionMenu, type CompletionSectionHeader, ContextMenu, type DesignSystemConfigurationContextValue, DesignSystemConfigurationProvider, Dialog, type DialogContextValue, DialogProvider, DimensionInput, type DimensionValue, Divider, DividerVertical, DraggableMenuButton, type DropValidator, DropdownMenu, EDITOR_PANEL_GROUP_ID, type EditableRowProps, type ExtractMenuItemType, FillInputField, FillPreviewBackground, FloatingWindow, FloatingWindowProvider, FullscreenDialog, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, GridView, type GridViewSize, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, type IScoredItem, type IToken, type IVirtualizedList, type IWorkspaceLayout, IconButton, type IconName, type ImageDataContextValue, ImageDataProvider, InputField, type InputFieldInputProps, type InputFieldSize, InputFieldWithCompletions, type InputFieldWithCompletionsProps, type InputFieldWithCompletionsRef, InspectorContainer, InspectorPrimitives, Italic, KeyboardShortcut, LEFT_SIDEBAR_ID, Label, LabeledElementView, type ListRowMarginType, type ListRowPosition, ListView, type MatchRange, type MenuConfig, type MenuItem, type MenuItemProps, type MenuProps, type Optional, type PanelLayoutState, PatternPreviewBackground, Popover, Progress, RIGHT_SIDEBAR_ID, RadioGroup, type RegularMenuItem, type RelativeDropPosition, SEPARATOR_ITEM, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, ScrollArea, SelectMenu, type SetNumberMode, type SketchPattern, Slider, Small, Sortable, Spacer, type SupportedCanvasUploadType, type SupportedImageUploadType, Switch, Text$1 as Text, type TextProps, type Theme, type ThemeColor, Toast, ToastProvider, Tooltip, TreeView, WorkspaceLayout, cn, createSectionedMenu, cssVars, fuzzyFilter, fuzzyScore, fuzzyTokenize, getGradientBackground, getNewValue, mediaQuery, normalizeListDestinationIndex, renderIcon, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, textStyles, useAutoResize, useCurrentFloatingWindowInternal, useDarkMode, useDesignSystemConfiguration, useDialogContainsElement, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, usePreservePanelSize, withSeparatorElements };