@noya-app/noya-designsystem 0.0.8 → 0.0.9

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 @@ CLI tsup v8.0.1
5
5
  CLI Target: esnext
6
6
  CJS Build start
7
7
  ESM Build start
8
- CJS dist/index.js 183.08 KB
9
- CJS dist/index.js.map 366.48 KB
10
- CJS ⚡️ Build success in 48ms
11
- ESM dist/index.mjs 166.96 KB
12
- ESM dist/index.mjs.map 365.59 KB
13
- ESM ⚡️ Build success in 48ms
8
+ ESM dist/index.mjs 167.98 KB
9
+ ESM dist/index.mjs.map 366.02 KB
10
+ ESM ⚡️ Build success in 79ms
11
+ CJS dist/index.js 184.28 KB
12
+ CJS dist/index.js.map 366.94 KB
13
+ CJS ⚡️ Build success in 79ms
14
14
  DTS Build start
15
- DTS ⚡️ Build success in 5132ms
16
- DTS dist/index.d.ts 52.64 KB
17
- DTS dist/index.d.mts 52.64 KB
15
+ DTS ⚡️ Build success in 5889ms
16
+ DTS dist/index.d.ts 53.26 KB
17
+ DTS dist/index.d.mts 53.26 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @noya-app/noya-designsystem
2
2
 
3
+ ## 0.0.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @noya-app/noya-geometry@0.0.8
9
+
3
10
  ## 0.0.8
4
11
 
5
12
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -18,13 +18,13 @@ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
18
18
  import { useGesture } from 'react-use-gesture';
19
19
  import { RgbaColor } from '@noya-app/noya-colorpicker';
20
20
 
21
- interface Props$g {
21
+ interface Props$h {
22
22
  size?: number;
23
23
  opacity?: number;
24
24
  color?: string;
25
25
  trackColor?: string;
26
26
  }
27
- declare const ActivityIndicator: (props: Props$g) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
27
+ declare const ActivityIndicator: (props: Props$h) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
28
28
 
29
29
  declare function Avatar({ image, name, fallback, size, overflow, }: {
30
30
  image?: string;
@@ -247,7 +247,7 @@ declare const CloseButtonContainer: styled_components.StyledComponent<"div", sty
247
247
  interface IDialog {
248
248
  containsElement: (element: HTMLElement) => boolean;
249
249
  }
250
- interface Props$f {
250
+ interface Props$g {
251
251
  title?: ReactNode;
252
252
  description?: ReactNode;
253
253
  children?: ReactNode;
@@ -257,7 +257,7 @@ interface Props$f {
257
257
  onOpenAutoFocus?: ComponentProps<typeof DialogPrimitive.Content>['onOpenAutoFocus'];
258
258
  closeOnInteractOutside?: boolean;
259
259
  }
260
- declare const Dialog: (props: Props$f & React__default.RefAttributes<IDialog>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
260
+ declare const Dialog: (props: Props$g & React__default.RefAttributes<IDialog>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
261
261
 
262
262
  type DividerVariant = 'normal' | 'strong' | 'subtle';
263
263
  interface DividerProps {
@@ -272,8 +272,8 @@ declare const DropdownMenu: <T extends string>(props: MenuProps<T> & {
272
272
  onCloseAutoFocus?: ((event: React__default.SyntheticEvent<unknown, Event>) => void) | undefined;
273
273
  } & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
274
274
 
275
- declare const SUPPORTED_IMAGE_UPLOAD_TYPES: ("image/png" | "image/jpeg" | "image/webp" | "application/pdf" | "image/svg+xml")[];
276
- declare const SUPPORTED_CANVAS_UPLOAD_TYPES: ("" | "image/png" | "image/jpeg" | "image/webp" | "application/pdf" | "image/svg+xml")[];
275
+ declare const SUPPORTED_IMAGE_UPLOAD_TYPES: ("image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
276
+ declare const SUPPORTED_CANVAS_UPLOAD_TYPES: ("" | "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
277
277
  type SupportedImageUploadType = (typeof SUPPORTED_IMAGE_UPLOAD_TYPES)[number];
278
278
  type SupportedCanvasUploadType = (typeof SUPPORTED_CANVAS_UPLOAD_TYPES)[number];
279
279
  type SketchPattern = {
@@ -283,24 +283,24 @@ type SketchPattern = {
283
283
  patternTileScale: number;
284
284
  };
285
285
 
286
- interface Props$e {
286
+ interface Props$f {
287
287
  id?: string;
288
288
  value?: Sketch.Color | Sketch.Gradient | SketchPattern;
289
289
  flex?: CSSProperties['flex'];
290
290
  }
291
- declare const FillInputField: (props: Props$e & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
291
+ declare const FillInputField: (props: Props$f & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
292
292
 
293
293
  declare const PatternPreviewBackground: (props: {
294
294
  fillType: Sketch.PatternFillType;
295
295
  tileScale: number;
296
296
  imageRef: string;
297
297
  }) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
298
- interface Props$d {
298
+ interface Props$e {
299
299
  value?: Sketch.Color | Sketch.Gradient | SketchPattern;
300
300
  }
301
- declare const FillPreviewBackground: (props: Props$d) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
301
+ declare const FillPreviewBackground: (props: Props$e) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
302
302
 
303
- interface Props$c {
303
+ interface Props$d {
304
304
  value: Sketch.GradientStop[];
305
305
  selectedStop: number;
306
306
  onChangeColor: (color: Sketch.Color) => void;
@@ -309,7 +309,7 @@ interface Props$c {
309
309
  onDelete: () => void;
310
310
  onSelectStop: (index: number) => void;
311
311
  }
312
- declare const GradientPicker: (props: Props$c) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
312
+ declare const GradientPicker: (props: Props$d) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
313
313
 
314
314
  type GridProps = {
315
315
  columns?: string;
@@ -382,7 +382,7 @@ declare const IconButton: (props: Omit<ButtonRootProps, "children" | "size" | "f
382
382
  size?: number | undefined;
383
383
  } & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
384
384
 
385
- type Props$b = {
385
+ type Props$c = {
386
386
  id?: string;
387
387
  style?: any;
388
388
  className?: string;
@@ -400,13 +400,13 @@ type Props$b = {
400
400
  onFocusChange?: (isFocused: boolean) => void;
401
401
  onBlur?: FocusEventHandler;
402
402
  } & Pick<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "autoCapitalize" | "autoCorrect" | "spellCheck" | "autoFocus">;
403
- type ReadOnlyProps = Props$b & {
403
+ type ReadOnlyProps = Props$c & {
404
404
  readOnly: true;
405
405
  };
406
- type ControlledProps = Props$b & {
406
+ type ControlledProps = Props$c & {
407
407
  onChange: (value: string) => void;
408
408
  };
409
- type SubmittableProps = Props$b & {
409
+ type SubmittableProps = Props$c & {
410
410
  onSubmit: (value: string) => void;
411
411
  allowSubmittingWithSameValue?: boolean;
412
412
  submitAutomaticallyAfterDelay?: number;
@@ -663,7 +663,7 @@ interface CompletionMenuProps {
663
663
  listSize: Size;
664
664
  }
665
665
  declare const CompletionMenu: (props: CompletionMenuProps & React__default.RefAttributes<IVirtualizedList>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
666
- interface Props$a {
666
+ type Props$b = {
667
667
  loading?: boolean;
668
668
  initialValue?: string;
669
669
  placeholder?: string;
@@ -679,8 +679,8 @@ interface Props$a {
679
679
  children?: React__default.ReactNode;
680
680
  hideChildrenWhenFocused?: boolean;
681
681
  hideMenuWhenEmptyValue?: boolean;
682
- }
683
- declare const InputFieldWithCompletions: (props: Props$a & React__default.RefAttributes<HTMLInputElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
682
+ };
683
+ declare const InputFieldWithCompletions: (props: Props$b & React__default.RefAttributes<HTMLInputElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
684
684
 
685
685
  interface LabelRootProps {
686
686
  label: ReactNode;
@@ -703,7 +703,7 @@ interface ContainerProps {
703
703
  declare const LabeledElementView: (props: ContainerProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
704
704
 
705
705
  type PopoverVariant = 'normal' | 'large';
706
- interface Props$9 extends Pick<ComponentProps<typeof PopoverPrimitive['Content']>, 'onOpenAutoFocus' | 'onCloseAutoFocus' | 'onPointerDownOutside' | 'onInteractOutside' | 'onFocusOutside' | 'side'> {
706
+ interface Props$a extends Pick<ComponentProps<typeof PopoverPrimitive['Content']>, 'onOpenAutoFocus' | 'onCloseAutoFocus' | 'onPointerDownOutside' | 'onInteractOutside' | 'onFocusOutside' | 'side'> {
707
707
  children: React__default.ReactNode;
708
708
  trigger: React__default.ReactNode;
709
709
  variant?: PopoverVariant;
@@ -714,7 +714,7 @@ interface Props$9 extends Pick<ComponentProps<typeof PopoverPrimitive['Content']
714
714
  onClickClose?: () => void;
715
715
  showArrow?: boolean;
716
716
  }
717
- declare function Popover({ children, trigger, variant, closable, open, side, sideOffset, showArrow, onOpenChange, onOpenAutoFocus, onCloseAutoFocus, onPointerDownOutside, onInteractOutside, onFocusOutside, onClickClose, }: Props$9): React__default.JSX.Element;
717
+ declare function Popover({ children, trigger, variant, closable, open, side, sideOffset, showArrow, onOpenChange, onOpenAutoFocus, onCloseAutoFocus, onPointerDownOutside, onInteractOutside, onFocusOutside, onClickClose, }: Props$a): React__default.JSX.Element;
718
718
 
719
719
  type ProgressVariant = 'normal' | 'warning' | 'primary' | 'secondary';
720
720
  declare function Progress({ value, width, height, flex, variant, }: {
@@ -735,7 +735,7 @@ interface ItemProps {
735
735
  children: ReactNode;
736
736
  disabled?: boolean;
737
737
  }
738
- interface Props$8 {
738
+ interface Props$9 {
739
739
  id?: string;
740
740
  value?: string;
741
741
  onValueChange?: ComponentProps<typeof StyledRoot>['onValueChange'];
@@ -744,14 +744,14 @@ interface Props$8 {
744
744
  children: ReactNode;
745
745
  }
746
746
  declare namespace RadioGroup {
747
- const Root: (props: Props$8) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
747
+ const Root: (props: Props$9) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
748
748
  const Item: (props: ItemProps & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
749
749
  }
750
750
 
751
- interface Props$7 {
751
+ interface Props$8 {
752
752
  children?: ReactNode | ((scrollElementRef: HTMLDivElement) => ReactNode);
753
753
  }
754
- declare const ScrollArea: (props: Props$7) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
754
+ declare const ScrollArea: (props: Props$8) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
755
755
 
756
756
  interface SelectOptionProps<T extends string> {
757
757
  value: T;
@@ -766,29 +766,29 @@ type ChildrenProps<T> = {
766
766
  getTitle?: (option: T, index: number) => string;
767
767
  onChange: (value: T) => void;
768
768
  };
769
- type Props$6<T extends string> = ChildrenProps<T> & {
769
+ type Props$7<T extends string> = ChildrenProps<T> & {
770
770
  id: string;
771
771
  flex?: CSSProperties["flex"];
772
772
  value: T;
773
773
  };
774
- declare const Select: <T extends string>(props: Props$6<T>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
774
+ declare const Select: <T extends string>(props: Props$7<T>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
775
775
 
776
- interface Props$5 {
776
+ interface Props$6 {
777
777
  id?: string;
778
778
  value: number;
779
779
  onValueChange: (value: number) => void;
780
780
  min: number;
781
781
  max: number;
782
782
  }
783
- declare const Slider: ({ id, value, onValueChange, min, max, }: Props$5) => React__default.JSX.Element;
783
+ declare const Slider: ({ id, value, onValueChange, min, max, }: Props$6) => React__default.JSX.Element;
784
784
 
785
- interface Props$4 {
785
+ interface Props$5 {
786
786
  size?: number | string;
787
787
  inline?: boolean;
788
788
  }
789
789
  declare namespace Spacer {
790
- const Vertical: styled_components.StyledComponent<"span", styled_components.DefaultTheme, Props$4, never>;
791
- const Horizontal: styled_components.StyledComponent<"span", styled_components.DefaultTheme, Props$4, never>;
790
+ const Vertical: styled_components.StyledComponent<"span", styled_components.DefaultTheme, Props$5, never>;
791
+ const Horizontal: styled_components.StyledComponent<"span", styled_components.DefaultTheme, Props$5, never>;
792
792
  }
793
793
 
794
794
  type BreakpointKey = number | string;
@@ -851,7 +851,7 @@ interface StyleProps$1 {
851
851
  lineHeight?: CSSProperties['lineHeight'];
852
852
  }
853
853
  type StackBreakpointList = BreakpointCollection<StyleProps$1>;
854
- interface Props$3 extends StyleProps$1 {
854
+ interface Props$4 extends StyleProps$1 {
855
855
  id?: string;
856
856
  as?: keyof ReactHTML;
857
857
  className?: string;
@@ -861,19 +861,19 @@ interface Props$3 extends StyleProps$1 {
861
861
  href?: string;
862
862
  tabIndex?: number;
863
863
  }
864
- type StackProps = Omit<Props$3, 'flexDirection'>;
864
+ type StackProps = Omit<Props$4, 'flexDirection'>;
865
865
  declare const Stack: {
866
866
  V: (props: StackProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
867
867
  H: (props: StackProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
868
868
  };
869
869
 
870
870
  type SwitchVariant = 'normal' | 'primary' | 'secondary';
871
- interface Props$2 {
871
+ interface Props$3 {
872
872
  value: boolean;
873
873
  onChange: (value: boolean) => void;
874
874
  variant?: SwitchVariant;
875
875
  }
876
- declare const Switch: ({ value, onChange, variant, }: Props$2) => React__default.JSX.Element;
876
+ declare const Switch: ({ value, onChange, variant, }: Props$3) => React__default.JSX.Element;
877
877
 
878
878
  type StyleProps = {
879
879
  flex?: CSSProperties$1['flex'];
@@ -903,7 +903,7 @@ type StyleProps = {
903
903
  userSelect?: CSSProperties$1['userSelect'];
904
904
  };
905
905
  type TextBreakpointList = BreakpointCollection<StyleProps>;
906
- interface Props$1 extends StyleProps {
906
+ interface Props$2 extends StyleProps {
907
907
  as?: keyof ReactHTML;
908
908
  href?: string;
909
909
  className?: string;
@@ -913,8 +913,8 @@ interface Props$1 extends StyleProps {
913
913
  children: ReactNode;
914
914
  onClick?: () => void;
915
915
  }
916
- declare const Text$1: (props: Props$1 & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
917
- type PresetProps = Omit<Props$1, 'variant'>;
916
+ declare const Text$1: (props: Props$2 & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
917
+ type PresetProps = Omit<Props$2, 'variant'>;
918
918
  declare const Heading1: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
919
919
  declare const Heading2: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
920
920
  declare const Heading3: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
@@ -935,11 +935,11 @@ declare const ToastProvider: ({ children }: {
935
935
  children: React__default.ReactNode;
936
936
  }) => React__default.JSX.Element;
937
937
 
938
- interface Props {
938
+ interface Props$1 {
939
939
  children: ReactNode;
940
940
  content: ReactNode;
941
941
  }
942
- declare const Tooltip: (props: Props) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
942
+ declare const Tooltip: (props: Props$1) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
943
943
 
944
944
  type TreeRowBaseProps = {
945
945
  icon?: ReactNode;
@@ -1248,9 +1248,24 @@ interface ArrayControllerProps<Item> {
1248
1248
  }
1249
1249
  declare const ArrayController: <Item>(props: ArrayControllerProps<Item>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1250
1250
 
1251
+ type SetNumberMode = "replace" | "adjust";
1252
+ declare function getNewValue(value: number, mode: SetNumberMode, delta?: number): number;
1253
+ type DimensionValue = number | undefined;
1254
+ interface Props {
1255
+ id?: string;
1256
+ value: DimensionValue;
1257
+ onSetValue: (value: number, mode: SetNumberMode) => void;
1258
+ label?: string;
1259
+ size?: number;
1260
+ placeholder?: string;
1261
+ disabled?: boolean;
1262
+ trigger?: "change" | "submit";
1263
+ }
1264
+ declare const DimensionInput: (props: Props) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1265
+
1251
1266
  declare module "react" {
1252
1267
  function memo<A, B>(Component: (props: A) => B): (props: A) => React.ReactElement | null;
1253
1268
  function forwardRef<T, P = {}>(render: (props: P, ref: React.ForwardedRef<T>) => React.ReactElement | null): (props: P & React.RefAttributes<T>) => React.ReactElement | null;
1254
1269
  }
1255
1270
 
1256
- 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, Divider, DividerVertical, type DropValidator, DropdownMenu, type EditableRowProps, type EventName, type ExtractMenuItemType, FillInputField, FillPreviewBackground, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, type GridProps, GridView, type GridViewSize, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, 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 ReactDOMEventHandlers, type ReactEventHandlers, type RegularMenuItem, type RelativeDropPosition, Row$1 as Row, SEPARATOR_ITEM, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, ScrollArea, Select, SelectOption, 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, isLeftButtonClicked, isRightButtonClicked, lightTheme, mediaQuery, mergeEventHandlers, normalizeListIndex, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, withSeparatorElements };
1271
+ 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, type DropValidator, DropdownMenu, type EditableRowProps, type EventName, type ExtractMenuItemType, FillInputField, FillPreviewBackground, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, type GridProps, GridView, type GridViewSize, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, 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 ReactDOMEventHandlers, type ReactEventHandlers, 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, isLeftButtonClicked, isRightButtonClicked, lightTheme, mediaQuery, mergeEventHandlers, normalizeListIndex, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, withSeparatorElements };
package/dist/index.d.ts CHANGED
@@ -18,13 +18,13 @@ import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
18
18
  import { useGesture } from 'react-use-gesture';
19
19
  import { RgbaColor } from '@noya-app/noya-colorpicker';
20
20
 
21
- interface Props$g {
21
+ interface Props$h {
22
22
  size?: number;
23
23
  opacity?: number;
24
24
  color?: string;
25
25
  trackColor?: string;
26
26
  }
27
- declare const ActivityIndicator: (props: Props$g) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
27
+ declare const ActivityIndicator: (props: Props$h) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
28
28
 
29
29
  declare function Avatar({ image, name, fallback, size, overflow, }: {
30
30
  image?: string;
@@ -247,7 +247,7 @@ declare const CloseButtonContainer: styled_components.StyledComponent<"div", sty
247
247
  interface IDialog {
248
248
  containsElement: (element: HTMLElement) => boolean;
249
249
  }
250
- interface Props$f {
250
+ interface Props$g {
251
251
  title?: ReactNode;
252
252
  description?: ReactNode;
253
253
  children?: ReactNode;
@@ -257,7 +257,7 @@ interface Props$f {
257
257
  onOpenAutoFocus?: ComponentProps<typeof DialogPrimitive.Content>['onOpenAutoFocus'];
258
258
  closeOnInteractOutside?: boolean;
259
259
  }
260
- declare const Dialog: (props: Props$f & React__default.RefAttributes<IDialog>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
260
+ declare const Dialog: (props: Props$g & React__default.RefAttributes<IDialog>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
261
261
 
262
262
  type DividerVariant = 'normal' | 'strong' | 'subtle';
263
263
  interface DividerProps {
@@ -272,8 +272,8 @@ declare const DropdownMenu: <T extends string>(props: MenuProps<T> & {
272
272
  onCloseAutoFocus?: ((event: React__default.SyntheticEvent<unknown, Event>) => void) | undefined;
273
273
  } & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
274
274
 
275
- declare const SUPPORTED_IMAGE_UPLOAD_TYPES: ("image/png" | "image/jpeg" | "image/webp" | "application/pdf" | "image/svg+xml")[];
276
- declare const SUPPORTED_CANVAS_UPLOAD_TYPES: ("" | "image/png" | "image/jpeg" | "image/webp" | "application/pdf" | "image/svg+xml")[];
275
+ declare const SUPPORTED_IMAGE_UPLOAD_TYPES: ("image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
276
+ declare const SUPPORTED_CANVAS_UPLOAD_TYPES: ("" | "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
277
277
  type SupportedImageUploadType = (typeof SUPPORTED_IMAGE_UPLOAD_TYPES)[number];
278
278
  type SupportedCanvasUploadType = (typeof SUPPORTED_CANVAS_UPLOAD_TYPES)[number];
279
279
  type SketchPattern = {
@@ -283,24 +283,24 @@ type SketchPattern = {
283
283
  patternTileScale: number;
284
284
  };
285
285
 
286
- interface Props$e {
286
+ interface Props$f {
287
287
  id?: string;
288
288
  value?: Sketch.Color | Sketch.Gradient | SketchPattern;
289
289
  flex?: CSSProperties['flex'];
290
290
  }
291
- declare const FillInputField: (props: Props$e & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
291
+ declare const FillInputField: (props: Props$f & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
292
292
 
293
293
  declare const PatternPreviewBackground: (props: {
294
294
  fillType: Sketch.PatternFillType;
295
295
  tileScale: number;
296
296
  imageRef: string;
297
297
  }) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
298
- interface Props$d {
298
+ interface Props$e {
299
299
  value?: Sketch.Color | Sketch.Gradient | SketchPattern;
300
300
  }
301
- declare const FillPreviewBackground: (props: Props$d) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
301
+ declare const FillPreviewBackground: (props: Props$e) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
302
302
 
303
- interface Props$c {
303
+ interface Props$d {
304
304
  value: Sketch.GradientStop[];
305
305
  selectedStop: number;
306
306
  onChangeColor: (color: Sketch.Color) => void;
@@ -309,7 +309,7 @@ interface Props$c {
309
309
  onDelete: () => void;
310
310
  onSelectStop: (index: number) => void;
311
311
  }
312
- declare const GradientPicker: (props: Props$c) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
312
+ declare const GradientPicker: (props: Props$d) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
313
313
 
314
314
  type GridProps = {
315
315
  columns?: string;
@@ -382,7 +382,7 @@ declare const IconButton: (props: Omit<ButtonRootProps, "children" | "size" | "f
382
382
  size?: number | undefined;
383
383
  } & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
384
384
 
385
- type Props$b = {
385
+ type Props$c = {
386
386
  id?: string;
387
387
  style?: any;
388
388
  className?: string;
@@ -400,13 +400,13 @@ type Props$b = {
400
400
  onFocusChange?: (isFocused: boolean) => void;
401
401
  onBlur?: FocusEventHandler;
402
402
  } & Pick<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "autoCapitalize" | "autoCorrect" | "spellCheck" | "autoFocus">;
403
- type ReadOnlyProps = Props$b & {
403
+ type ReadOnlyProps = Props$c & {
404
404
  readOnly: true;
405
405
  };
406
- type ControlledProps = Props$b & {
406
+ type ControlledProps = Props$c & {
407
407
  onChange: (value: string) => void;
408
408
  };
409
- type SubmittableProps = Props$b & {
409
+ type SubmittableProps = Props$c & {
410
410
  onSubmit: (value: string) => void;
411
411
  allowSubmittingWithSameValue?: boolean;
412
412
  submitAutomaticallyAfterDelay?: number;
@@ -663,7 +663,7 @@ interface CompletionMenuProps {
663
663
  listSize: Size;
664
664
  }
665
665
  declare const CompletionMenu: (props: CompletionMenuProps & React__default.RefAttributes<IVirtualizedList>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
666
- interface Props$a {
666
+ type Props$b = {
667
667
  loading?: boolean;
668
668
  initialValue?: string;
669
669
  placeholder?: string;
@@ -679,8 +679,8 @@ interface Props$a {
679
679
  children?: React__default.ReactNode;
680
680
  hideChildrenWhenFocused?: boolean;
681
681
  hideMenuWhenEmptyValue?: boolean;
682
- }
683
- declare const InputFieldWithCompletions: (props: Props$a & React__default.RefAttributes<HTMLInputElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
682
+ };
683
+ declare const InputFieldWithCompletions: (props: Props$b & React__default.RefAttributes<HTMLInputElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
684
684
 
685
685
  interface LabelRootProps {
686
686
  label: ReactNode;
@@ -703,7 +703,7 @@ interface ContainerProps {
703
703
  declare const LabeledElementView: (props: ContainerProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
704
704
 
705
705
  type PopoverVariant = 'normal' | 'large';
706
- interface Props$9 extends Pick<ComponentProps<typeof PopoverPrimitive['Content']>, 'onOpenAutoFocus' | 'onCloseAutoFocus' | 'onPointerDownOutside' | 'onInteractOutside' | 'onFocusOutside' | 'side'> {
706
+ interface Props$a extends Pick<ComponentProps<typeof PopoverPrimitive['Content']>, 'onOpenAutoFocus' | 'onCloseAutoFocus' | 'onPointerDownOutside' | 'onInteractOutside' | 'onFocusOutside' | 'side'> {
707
707
  children: React__default.ReactNode;
708
708
  trigger: React__default.ReactNode;
709
709
  variant?: PopoverVariant;
@@ -714,7 +714,7 @@ interface Props$9 extends Pick<ComponentProps<typeof PopoverPrimitive['Content']
714
714
  onClickClose?: () => void;
715
715
  showArrow?: boolean;
716
716
  }
717
- declare function Popover({ children, trigger, variant, closable, open, side, sideOffset, showArrow, onOpenChange, onOpenAutoFocus, onCloseAutoFocus, onPointerDownOutside, onInteractOutside, onFocusOutside, onClickClose, }: Props$9): React__default.JSX.Element;
717
+ declare function Popover({ children, trigger, variant, closable, open, side, sideOffset, showArrow, onOpenChange, onOpenAutoFocus, onCloseAutoFocus, onPointerDownOutside, onInteractOutside, onFocusOutside, onClickClose, }: Props$a): React__default.JSX.Element;
718
718
 
719
719
  type ProgressVariant = 'normal' | 'warning' | 'primary' | 'secondary';
720
720
  declare function Progress({ value, width, height, flex, variant, }: {
@@ -735,7 +735,7 @@ interface ItemProps {
735
735
  children: ReactNode;
736
736
  disabled?: boolean;
737
737
  }
738
- interface Props$8 {
738
+ interface Props$9 {
739
739
  id?: string;
740
740
  value?: string;
741
741
  onValueChange?: ComponentProps<typeof StyledRoot>['onValueChange'];
@@ -744,14 +744,14 @@ interface Props$8 {
744
744
  children: ReactNode;
745
745
  }
746
746
  declare namespace RadioGroup {
747
- const Root: (props: Props$8) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
747
+ const Root: (props: Props$9) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
748
748
  const Item: (props: ItemProps & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
749
749
  }
750
750
 
751
- interface Props$7 {
751
+ interface Props$8 {
752
752
  children?: ReactNode | ((scrollElementRef: HTMLDivElement) => ReactNode);
753
753
  }
754
- declare const ScrollArea: (props: Props$7) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
754
+ declare const ScrollArea: (props: Props$8) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
755
755
 
756
756
  interface SelectOptionProps<T extends string> {
757
757
  value: T;
@@ -766,29 +766,29 @@ type ChildrenProps<T> = {
766
766
  getTitle?: (option: T, index: number) => string;
767
767
  onChange: (value: T) => void;
768
768
  };
769
- type Props$6<T extends string> = ChildrenProps<T> & {
769
+ type Props$7<T extends string> = ChildrenProps<T> & {
770
770
  id: string;
771
771
  flex?: CSSProperties["flex"];
772
772
  value: T;
773
773
  };
774
- declare const Select: <T extends string>(props: Props$6<T>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
774
+ declare const Select: <T extends string>(props: Props$7<T>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
775
775
 
776
- interface Props$5 {
776
+ interface Props$6 {
777
777
  id?: string;
778
778
  value: number;
779
779
  onValueChange: (value: number) => void;
780
780
  min: number;
781
781
  max: number;
782
782
  }
783
- declare const Slider: ({ id, value, onValueChange, min, max, }: Props$5) => React__default.JSX.Element;
783
+ declare const Slider: ({ id, value, onValueChange, min, max, }: Props$6) => React__default.JSX.Element;
784
784
 
785
- interface Props$4 {
785
+ interface Props$5 {
786
786
  size?: number | string;
787
787
  inline?: boolean;
788
788
  }
789
789
  declare namespace Spacer {
790
- const Vertical: styled_components.StyledComponent<"span", styled_components.DefaultTheme, Props$4, never>;
791
- const Horizontal: styled_components.StyledComponent<"span", styled_components.DefaultTheme, Props$4, never>;
790
+ const Vertical: styled_components.StyledComponent<"span", styled_components.DefaultTheme, Props$5, never>;
791
+ const Horizontal: styled_components.StyledComponent<"span", styled_components.DefaultTheme, Props$5, never>;
792
792
  }
793
793
 
794
794
  type BreakpointKey = number | string;
@@ -851,7 +851,7 @@ interface StyleProps$1 {
851
851
  lineHeight?: CSSProperties['lineHeight'];
852
852
  }
853
853
  type StackBreakpointList = BreakpointCollection<StyleProps$1>;
854
- interface Props$3 extends StyleProps$1 {
854
+ interface Props$4 extends StyleProps$1 {
855
855
  id?: string;
856
856
  as?: keyof ReactHTML;
857
857
  className?: string;
@@ -861,19 +861,19 @@ interface Props$3 extends StyleProps$1 {
861
861
  href?: string;
862
862
  tabIndex?: number;
863
863
  }
864
- type StackProps = Omit<Props$3, 'flexDirection'>;
864
+ type StackProps = Omit<Props$4, 'flexDirection'>;
865
865
  declare const Stack: {
866
866
  V: (props: StackProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
867
867
  H: (props: StackProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
868
868
  };
869
869
 
870
870
  type SwitchVariant = 'normal' | 'primary' | 'secondary';
871
- interface Props$2 {
871
+ interface Props$3 {
872
872
  value: boolean;
873
873
  onChange: (value: boolean) => void;
874
874
  variant?: SwitchVariant;
875
875
  }
876
- declare const Switch: ({ value, onChange, variant, }: Props$2) => React__default.JSX.Element;
876
+ declare const Switch: ({ value, onChange, variant, }: Props$3) => React__default.JSX.Element;
877
877
 
878
878
  type StyleProps = {
879
879
  flex?: CSSProperties$1['flex'];
@@ -903,7 +903,7 @@ type StyleProps = {
903
903
  userSelect?: CSSProperties$1['userSelect'];
904
904
  };
905
905
  type TextBreakpointList = BreakpointCollection<StyleProps>;
906
- interface Props$1 extends StyleProps {
906
+ interface Props$2 extends StyleProps {
907
907
  as?: keyof ReactHTML;
908
908
  href?: string;
909
909
  className?: string;
@@ -913,8 +913,8 @@ interface Props$1 extends StyleProps {
913
913
  children: ReactNode;
914
914
  onClick?: () => void;
915
915
  }
916
- declare const Text$1: (props: Props$1 & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
917
- type PresetProps = Omit<Props$1, 'variant'>;
916
+ declare const Text$1: (props: Props$2 & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
917
+ type PresetProps = Omit<Props$2, 'variant'>;
918
918
  declare const Heading1: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
919
919
  declare const Heading2: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
920
920
  declare const Heading3: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
@@ -935,11 +935,11 @@ declare const ToastProvider: ({ children }: {
935
935
  children: React__default.ReactNode;
936
936
  }) => React__default.JSX.Element;
937
937
 
938
- interface Props {
938
+ interface Props$1 {
939
939
  children: ReactNode;
940
940
  content: ReactNode;
941
941
  }
942
- declare const Tooltip: (props: Props) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
942
+ declare const Tooltip: (props: Props$1) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
943
943
 
944
944
  type TreeRowBaseProps = {
945
945
  icon?: ReactNode;
@@ -1248,9 +1248,24 @@ interface ArrayControllerProps<Item> {
1248
1248
  }
1249
1249
  declare const ArrayController: <Item>(props: ArrayControllerProps<Item>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1250
1250
 
1251
+ type SetNumberMode = "replace" | "adjust";
1252
+ declare function getNewValue(value: number, mode: SetNumberMode, delta?: number): number;
1253
+ type DimensionValue = number | undefined;
1254
+ interface Props {
1255
+ id?: string;
1256
+ value: DimensionValue;
1257
+ onSetValue: (value: number, mode: SetNumberMode) => void;
1258
+ label?: string;
1259
+ size?: number;
1260
+ placeholder?: string;
1261
+ disabled?: boolean;
1262
+ trigger?: "change" | "submit";
1263
+ }
1264
+ declare const DimensionInput: (props: Props) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1265
+
1251
1266
  declare module "react" {
1252
1267
  function memo<A, B>(Component: (props: A) => B): (props: A) => React.ReactElement | null;
1253
1268
  function forwardRef<T, P = {}>(render: (props: P, ref: React.ForwardedRef<T>) => React.ReactElement | null): (props: P & React.RefAttributes<T>) => React.ReactElement | null;
1254
1269
  }
1255
1270
 
1256
- 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, Divider, DividerVertical, type DropValidator, DropdownMenu, type EditableRowProps, type EventName, type ExtractMenuItemType, FillInputField, FillPreviewBackground, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, type GridProps, GridView, type GridViewSize, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, 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 ReactDOMEventHandlers, type ReactEventHandlers, type RegularMenuItem, type RelativeDropPosition, Row$1 as Row, SEPARATOR_ITEM, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, ScrollArea, Select, SelectOption, 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, isLeftButtonClicked, isRightButtonClicked, lightTheme, mediaQuery, mergeEventHandlers, normalizeListIndex, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, withSeparatorElements };
1271
+ 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, type DropValidator, DropdownMenu, type EditableRowProps, type EventName, type ExtractMenuItemType, FillInputField, FillPreviewBackground, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, type GridProps, GridView, type GridViewSize, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, 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 ReactDOMEventHandlers, type ReactEventHandlers, 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, isLeftButtonClicked, isRightButtonClicked, lightTheme, mediaQuery, mergeEventHandlers, normalizeListIndex, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, withSeparatorElements };