@noya-app/noya-designsystem 0.1.29 → 0.1.31

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.
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, AriaRole, KeyboardEventHandler, MouseEventHandler, PointerEventHandler, FocusEventHandler, InputHTMLAttributes, Ref, ReactHTML } from 'react';
2
+ import React__default, { CSSProperties, ReactNode, ComponentProps, SyntheticEvent, AriaRole, KeyboardEventHandler, MouseEventHandler, PointerEventHandler, FocusEventHandler, InputHTMLAttributes, Ref, ReactHTML } from 'react';
3
3
  import * as styled_components_dist_types from 'styled-components/dist/types';
4
4
  import * as styled_components from 'styled-components';
5
5
  import { CSSObject, CSSProperties as CSSProperties$1 } from 'styled-components';
@@ -8,47 +8,48 @@ export { Icons };
8
8
  import * as DialogPrimitive from '@radix-ui/react-dialog';
9
9
  import * as RadixDropdownMenu from '@radix-ui/react-dropdown-menu';
10
10
  import { Sketch } from '@noya-app/noya-file-format';
11
- import * as csstype from 'csstype';
12
- import { Property } from 'csstype';
13
11
  import * as _noya_app_noya_keymap from '@noya-app/noya-keymap';
14
12
  import { KeyModifiers, PlatformName } from '@noya-app/noya-keymap';
13
+ import { Property } from 'csstype';
15
14
  import * as _noya_app_noya_geometry from '@noya-app/noya-geometry';
16
15
  import { Size } from '@noya-app/noya-geometry';
17
16
  import { IItemScore } from 'vscode-fuzzy-scorer';
18
17
  import { useSortable } from '@dnd-kit/sortable';
19
18
  import * as PopoverPrimitive from '@radix-ui/react-popover';
19
+ import { SelectProps } from '@radix-ui/react-select';
20
+ import { ImperativePanelGroupHandle } from 'react-resizable-panels';
20
21
  import { RgbaColor } from '@noya-app/noya-colorpicker';
21
22
 
22
- interface Props$j {
23
+ interface Props$i {
23
24
  size?: number;
24
25
  opacity?: number;
25
26
  color?: string;
26
27
  trackColor?: string;
27
28
  }
28
- declare const ActivityIndicator: (props: Props$j) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
29
+ declare const ActivityIndicator: (props: Props$i) => React__default.ReactElement | null;
29
30
 
30
31
  declare const Avatar: (props: {
31
- image?: string | undefined;
32
- name?: string | undefined;
33
- fallback?: string | undefined;
34
- size?: number | undefined;
35
- overflow?: number | undefined;
36
- style?: React__default.CSSProperties | undefined;
37
- className?: string | undefined;
38
- } & React__default.RefAttributes<HTMLDivElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
32
+ image?: string;
33
+ name?: string;
34
+ fallback?: string;
35
+ size?: number;
36
+ overflow?: number;
37
+ style?: React__default.CSSProperties;
38
+ className?: string;
39
+ } & React__default.RefAttributes<HTMLDivElement>) => React__default.ReactElement | null;
39
40
  declare function AvatarStack({ size, children, }: {
40
41
  size?: number;
41
42
  children: React__default.ReactNode;
42
43
  }): React__default.JSX.Element;
43
44
 
44
45
  type ButtonVariant = "normal" | "primary" | "primaryGradient" | "secondary" | "secondaryBright" | "white" | "thin" | "floating" | "none";
45
- type ButtonSize = "normal" | "large";
46
+ type ButtonSize = "small" | "normal" | "large";
46
47
  declare const ButtonElement: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<React__default.DetailedHTMLProps<React__default.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
47
48
  $active: boolean;
48
49
  $variant: ButtonVariant;
49
50
  $size: ButtonSize;
50
51
  $flex?: CSSProperties["flex"];
51
- $defaultBackground?: string | undefined;
52
+ $defaultBackground?: string;
52
53
  }>> & string;
53
54
  interface ButtonRootProps {
54
55
  id?: string;
@@ -59,7 +60,9 @@ interface ButtonRootProps {
59
60
  children: ReactNode;
60
61
  active?: boolean;
61
62
  disabled?: boolean;
63
+ /** @default normal */
62
64
  variant?: ButtonVariant;
65
+ /** @default normal */
63
66
  size?: ButtonSize;
64
67
  tooltip?: ReactNode;
65
68
  onClick?: (event: React__default.MouseEvent) => void;
@@ -72,7 +75,7 @@ interface ButtonRootProps {
72
75
  target?: string;
73
76
  rel?: string;
74
77
  }
75
- declare const Button: (props: ButtonRootProps & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
78
+ declare const Button: (props: ButtonRootProps & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement | null;
76
79
 
77
80
  type ChipColorScheme = "primary" | "secondary" | "error";
78
81
  type ChipSize = "small" | "medium" | "large";
@@ -95,7 +98,7 @@ interface ChipProps {
95
98
  style?: React__default.CSSProperties;
96
99
  tabIndex?: number;
97
100
  }
98
- declare const Chip: (props: ChipProps & React__default.RefAttributes<HTMLSpanElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
101
+ declare const Chip: (props: ChipProps & React__default.RefAttributes<HTMLSpanElement>) => React__default.ReactElement | null;
99
102
 
100
103
  declare const name$1: string;
101
104
  declare const colors$1: {
@@ -263,7 +266,7 @@ type MenuItem<T extends string> = typeof SEPARATOR_ITEM | RegularMenuItem<T>;
263
266
  type ExtractMenuItemType<T> = T extends RegularMenuItem<infer U> ? U : never;
264
267
  declare const KeyboardShortcut: (props: {
265
268
  shortcut: string;
266
- }) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
269
+ }) => React__default.ReactElement | null;
267
270
 
268
271
  interface MenuItemProps<T extends string> {
269
272
  value?: T;
@@ -284,14 +287,14 @@ interface MenuProps<T extends string> {
284
287
  shouldBindKeyboardShortcuts?: boolean;
285
288
  onOpenChange?: (open: boolean) => void;
286
289
  }
287
- declare const ContextMenu: <T extends string>(props: MenuProps<T>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
290
+ declare const ContextMenu: <T extends string>(props: MenuProps<T>) => React__default.ReactElement | null;
288
291
 
289
292
  declare const StyledContent: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<DialogPrimitive.DialogContentProps & React__default.RefAttributes<HTMLDivElement>, never>> & string & Omit<React__default.ForwardRefExoticComponent<DialogPrimitive.DialogContentProps & React__default.RefAttributes<HTMLDivElement>>, keyof React__default.Component<any, {}, any>>;
290
293
  declare const CloseButtonContainer: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
291
294
  interface IDialog {
292
295
  containsElement: (element: HTMLElement) => boolean;
293
296
  }
294
- interface Props$i {
297
+ interface Props$h {
295
298
  title?: ReactNode;
296
299
  description?: ReactNode;
297
300
  children?: ReactNode;
@@ -301,30 +304,30 @@ interface Props$i {
301
304
  onOpenAutoFocus?: ComponentProps<typeof DialogPrimitive.Content>["onOpenAutoFocus"];
302
305
  closeOnInteractOutside?: boolean;
303
306
  }
304
- declare const Dialog: (props: Props$i & React__default.RefAttributes<IDialog>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
305
- declare const FullscreenDialog: (props: Props$i & React__default.RefAttributes<IDialog>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
307
+ declare const Dialog: (props: Props$h & React__default.RefAttributes<IDialog>) => React__default.ReactElement | null;
308
+ declare const FullscreenDialog: (props: Props$h & React__default.RefAttributes<IDialog>) => React__default.ReactElement | null;
306
309
 
307
310
  type DividerVariant = "normal" | "strong" | "subtle";
308
311
  interface DividerProps {
309
312
  variant?: DividerVariant;
310
313
  overflow?: number;
311
314
  }
312
- declare const Divider: (props: DividerProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
313
- declare const DividerVertical: (props: DividerProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
315
+ declare const Divider: (props: DividerProps) => React__default.ReactElement | null;
316
+ declare const DividerVertical: (props: DividerProps) => React__default.ReactElement | null;
314
317
 
315
318
  /**
316
319
  * A button that opens a menu when clicked, but also allows dragging the
317
320
  */
318
321
  declare const DraggableMenuButton: <T extends string>(props: {
319
- items?: MenuItem<T>[] | undefined;
320
- onSelect?: ((value: T) => void) | undefined;
321
- isVisible?: boolean | undefined;
322
- }) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
322
+ items?: MenuItem<T>[];
323
+ onSelect?: (value: T) => void;
324
+ isVisible?: boolean;
325
+ }) => React__default.ReactElement | null;
323
326
 
324
327
  declare const DropdownMenu: <T extends string>(props: MenuProps<T> & {
325
- open?: boolean | undefined;
326
- onCloseAutoFocus?: ((event: React__default.SyntheticEvent<unknown, Event>) => void) | undefined;
327
- } & 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;
328
+ open?: boolean;
329
+ onCloseAutoFocus?: React__default.EventHandler<SyntheticEvent<unknown>>;
330
+ } & Pick<RadixDropdownMenu.DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>, "align" | "side" | "sideOffset" | "alignOffset" | "collisionPadding"> & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement | null;
328
331
 
329
332
  declare const SUPPORTED_IMAGE_UPLOAD_TYPES: ("image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
330
333
  declare const SUPPORTED_CANVAS_UPLOAD_TYPES: ("" | "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
@@ -337,22 +340,22 @@ type SketchPattern = {
337
340
  patternTileScale: number;
338
341
  };
339
342
 
340
- interface Props$h {
343
+ interface Props$g {
341
344
  id?: string;
342
345
  value?: Sketch.Color | Sketch.Gradient | SketchPattern;
343
346
  flex?: CSSProperties["flex"];
344
347
  }
345
- declare const FillInputField: (props: Props$h & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
348
+ declare const FillInputField: (props: Props$g & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement | null;
346
349
 
347
350
  declare const PatternPreviewBackground: (props: {
348
351
  fillType: Sketch.PatternFillType;
349
352
  tileScale: number;
350
353
  imageRef: string;
351
- }) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
352
- interface Props$g {
354
+ }) => React__default.ReactElement | null;
355
+ interface Props$f {
353
356
  value?: Sketch.Color | Sketch.Gradient | SketchPattern;
354
357
  }
355
- declare const FillPreviewBackground: (props: Props$g) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
358
+ declare const FillPreviewBackground: (props: Props$f) => React__default.ReactElement | null;
356
359
 
357
360
  interface FloatingWindowProps {
358
361
  title?: string;
@@ -373,7 +376,7 @@ interface FloatingWindowProps {
373
376
  }
374
377
  declare const FloatingWindow: React__default.FC<FloatingWindowProps>;
375
378
 
376
- interface Props$f {
379
+ interface Props$e {
377
380
  value: Sketch.GradientStop[];
378
381
  selectedStop: number;
379
382
  onChangeColor: (color: Sketch.Color) => void;
@@ -382,7 +385,7 @@ interface Props$f {
382
385
  onDelete: () => void;
383
386
  onSelectStop: (index: number) => void;
384
387
  }
385
- declare const GradientPicker: (props: Props$f) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
388
+ declare const GradientPicker: (props: Props$e) => React__default.ReactElement | null;
386
389
 
387
390
  type GridProps = {
388
391
  columns?: string;
@@ -438,27 +441,27 @@ interface GridViewRootProps extends Partial<GridViewContextValue> {
438
441
  scrollable?: boolean;
439
442
  }
440
443
  declare namespace GridView {
441
- const Root: (props: GridViewRootProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
442
- const Item: <MenuItemType extends string>(props: ItemProps$2<MenuItemType> & React__default.RefAttributes<HTMLDivElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
444
+ const Root: (props: GridViewRootProps) => React__default.ReactElement | null;
445
+ const Item: <MenuItemType extends string>(props: ItemProps$2<MenuItemType> & React__default.RefAttributes<HTMLDivElement>) => React__default.ReactElement | null;
443
446
  const Section: (props: {
444
- children?: React__default.ReactNode;
445
- padding?: csstype.Property.Padding<string | number> | undefined;
446
- }) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
447
+ children?: ReactNode;
448
+ padding?: CSSProperties["padding"];
449
+ }) => React__default.ReactElement | null;
447
450
  const SectionHeader: (props: {
448
451
  title: string;
449
- }) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
452
+ }) => React__default.ReactElement | null;
450
453
  }
451
454
 
452
455
  declare const IconButton: (props: Omit<ButtonRootProps, "children" | "size" | "flex" | "variant"> & {
453
456
  iconName: IconName;
454
- className?: string | undefined;
455
- style?: React__default.CSSProperties | undefined;
456
- selected?: boolean | undefined;
457
- color?: string | undefined;
458
- size?: number | undefined;
459
- } & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
460
-
461
- type Props$e = {
457
+ className?: string;
458
+ style?: CSSProperties;
459
+ selected?: boolean;
460
+ color?: string;
461
+ size?: number;
462
+ } & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement | null;
463
+
464
+ type Props$d = {
462
465
  id?: string;
463
466
  style?: any;
464
467
  className?: string;
@@ -476,13 +479,13 @@ type Props$e = {
476
479
  onFocusChange?: (isFocused: boolean) => void;
477
480
  onBlur?: FocusEventHandler;
478
481
  } & Pick<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "autoCapitalize" | "autoCorrect" | "spellCheck" | "autoFocus">;
479
- type ReadOnlyProps = Props$e & {
482
+ type ReadOnlyProps = Props$d & {
480
483
  readOnly: true;
481
484
  };
482
- type ControlledProps = Props$e & {
485
+ type ControlledProps = Props$d & {
483
486
  onChange: (value: string) => void;
484
487
  };
485
- type SubmittableProps = Props$e & {
488
+ type SubmittableProps = Props$d & {
486
489
  onSubmit: (value: string) => void;
487
490
  allowSubmittingWithSameValue?: boolean;
488
491
  submitAutomaticallyAfterDelay?: number;
@@ -504,16 +507,15 @@ interface InputFieldDropdownProps<T extends string> {
504
507
  }
505
508
  type InputFieldVariant = "normal" | "bare";
506
509
  declare const InputElement: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<(TextInputProps & React__default.RefAttributes<HTMLInputElement>) & styled_components_dist_types.BaseObject, {
507
- disabled?: boolean | undefined;
508
- readOnly?: boolean | undefined;
510
+ disabled?: boolean;
511
+ readOnly?: boolean;
509
512
  $labelPosition: LabelPosition;
510
- $labelSize: number;
511
- $hasLabel: boolean;
513
+ $labelSize?: number;
512
514
  $hasDropdown: boolean;
513
- $textAlign?: Property.TextAlign | undefined;
514
- $variant?: InputFieldVariant | undefined;
515
+ $textAlign?: Property.TextAlign;
516
+ $variant?: InputFieldVariant;
515
517
  $size: InputFieldSize;
516
- }>> & string & Omit<(props: TextInputProps & React__default.RefAttributes<HTMLInputElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null, keyof React__default.Component<any, {}, any>>;
518
+ }>> & string & Omit<(props: TextInputProps & React__default.RefAttributes<HTMLInputElement>) => React__default.ReactElement | null, keyof React__default.Component<any, {}, any>>;
517
519
  type InputFieldNumberInputProps = Omit<TextInputProps, "value" | "onChange" | "onKeyDown" | "onSubmit"> & {
518
520
  value: number | undefined;
519
521
  onNudge?: (value: number) => void;
@@ -528,9 +530,11 @@ interface InputFieldRootProps {
528
530
  flex?: string;
529
531
  children?: ReactNode;
530
532
  width?: number;
533
+ /** @default end */
531
534
  labelPosition?: LabelPosition;
532
535
  labelSize?: number;
533
536
  hasDropdown?: boolean;
537
+ /** @default medium */
534
538
  size?: InputFieldSize;
535
539
  renderPopoverContent?: (options: {
536
540
  width: number;
@@ -540,22 +544,22 @@ interface InputFieldRootProps {
540
544
  className?: string;
541
545
  }
542
546
  declare namespace InputField {
543
- const Root: (props: InputFieldRootProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
547
+ const Root: (props: InputFieldRootProps) => React__default.ReactElement | null;
544
548
  const Input: (props: (TextInputProps & {
545
- textAlign?: Property.TextAlign | undefined;
546
- variant?: "bare" | undefined;
547
- }) & React__default.RefAttributes<HTMLInputElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
549
+ textAlign?: Property.TextAlign;
550
+ variant?: "bare";
551
+ }) & React__default.RefAttributes<HTMLInputElement>) => React__default.ReactElement | null;
548
552
  const Typeahead: (props: {
549
553
  prefix: string;
550
554
  value: string;
551
- }) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
552
- const NumberInput: (props: InputFieldNumberInputProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
553
- const DropdownMenu: <T extends string>(props: InputFieldDropdownProps<T>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
555
+ }) => React__default.ReactElement | null;
556
+ const NumberInput: (props: InputFieldNumberInputProps) => React__default.ReactElement | null;
557
+ const DropdownMenu: <T extends string>(props: InputFieldDropdownProps<T>) => React__default.ReactElement | null;
554
558
  const Button: (props: {
555
- children?: React__default.ReactNode;
556
- onClick?: (() => void) | undefined;
557
- }) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
558
- const Label: (props: InputFieldLabelProps & React__default.RefAttributes<HTMLLabelElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
559
+ children?: ReactNode;
560
+ onClick?: () => void;
561
+ } & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement | null;
562
+ const Label: (props: InputFieldLabelProps & React__default.RefAttributes<HTMLLabelElement>) => React__default.ReactElement | null;
559
563
  const PrimitiveElement: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<React__default.DetailedHTMLProps<React__default.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
560
564
  }
561
565
 
@@ -624,8 +628,8 @@ interface RootProps {
624
628
  axis?: "x" | "y";
625
629
  }
626
630
  declare namespace Sortable {
627
- const Item: <T extends HTMLElement>(props: ItemProps$1<T>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
628
- const Root: (props: RootProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
631
+ const Item: <T extends HTMLElement>(props: ItemProps$1<T>) => React__default.ReactElement | null;
632
+ const Root: (props: RootProps) => React__default.ReactElement | null;
629
633
  }
630
634
 
631
635
  type ListRowMarginType = "none" | "top" | "bottom" | "vertical";
@@ -661,6 +665,7 @@ interface ListViewRowProps<MenuItemType extends string = string> {
661
665
  id?: string;
662
666
  tabIndex?: number;
663
667
  selected?: boolean;
668
+ /** @default 0 */
664
669
  depth?: number;
665
670
  disabled?: boolean;
666
671
  hovered?: boolean;
@@ -691,7 +696,7 @@ interface IVirtualizedList {
691
696
  type ListViewItemInfo = {
692
697
  isDragging: boolean;
693
698
  };
694
- type ChildrenProps$1 = {
699
+ type ChildrenProps = {
695
700
  children: ReactNode;
696
701
  };
697
702
  type RenderProps<T> = {
@@ -726,10 +731,10 @@ type ListViewRootProps = {
726
731
  colorScheme?: ListColorScheme;
727
732
  };
728
733
  declare namespace ListView {
729
- const RowTitle: (props: styled_components.FastOmit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
730
- const EditableRowTitle: (props: EditableRowProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
731
- const Row: <MenuItemType extends string>(props: ListViewRowProps<MenuItemType> & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
732
- const Root: <T = any>(props: ((ChildrenProps$1 | RenderProps<T>) & ListViewRootProps) & React__default.RefAttributes<IVirtualizedList>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
734
+ const RowTitle: (props: styled_components.FastOmit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>) => React__default.ReactElement | null;
735
+ const EditableRowTitle: (props: EditableRowProps) => React__default.ReactElement | null;
736
+ const Row: <MenuItemType extends string>(props: ListViewRowProps<MenuItemType> & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement | null;
737
+ const Root: <T = any>(props: ((ChildrenProps | RenderProps<T>) & ListViewRootProps) & React__default.RefAttributes<IVirtualizedList>) => React__default.ReactElement | null;
733
738
  const RowContext: React__default.Context<ListRowContextValue>;
734
739
  type ClickInfo = ListViewClickInfo;
735
740
  type ItemInfo = ListViewItemInfo;
@@ -757,8 +762,8 @@ interface CompletionMenuProps {
757
762
  onHoverIndex: (index: number) => void;
758
763
  listSize: Size;
759
764
  }
760
- declare const CompletionMenu: (props: CompletionMenuProps & React__default.RefAttributes<IVirtualizedList>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
761
- type Props$d = {
765
+ declare const CompletionMenu: (props: CompletionMenuProps & React__default.RefAttributes<IVirtualizedList>) => React__default.ReactElement | null;
766
+ type Props$c = {
762
767
  loading?: boolean;
763
768
  initialValue?: string;
764
769
  placeholder?: string;
@@ -781,17 +786,17 @@ interface IInputFieldWithCompletions {
781
786
  setValue(value: string): void;
782
787
  selectAllInputText(): void;
783
788
  }
784
- declare const InputFieldWithCompletions: (props: Props$d & React__default.RefAttributes<IInputFieldWithCompletions>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
789
+ declare const InputFieldWithCompletions: (props: Props$c & React__default.RefAttributes<IInputFieldWithCompletions>) => React__default.ReactElement | null;
785
790
 
786
791
  declare const InspectorContainer: (props: {
787
792
  header?: React__default.ReactNode;
788
793
  children?: React__default.ReactNode;
789
794
  fallback?: React__default.ReactNode;
790
- showDividers?: boolean | undefined;
791
- id?: string | undefined;
792
- className?: string | undefined;
793
- style?: React__default.CSSProperties | undefined;
794
- } & React__default.RefAttributes<HTMLDivElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
795
+ showDividers?: boolean;
796
+ id?: string;
797
+ className?: string;
798
+ style?: React__default.CSSProperties;
799
+ } & React__default.RefAttributes<HTMLDivElement>) => React__default.ReactElement | null;
795
800
 
796
801
  interface LabelRootProps {
797
802
  label: ReactNode;
@@ -799,9 +804,9 @@ interface LabelRootProps {
799
804
  }
800
805
  declare namespace Label {
801
806
  const Label: (props: styled_components_dist_types.Substitute<React__default.DetailedHTMLProps<React__default.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {
802
- $selected?: boolean | undefined;
803
- }>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
804
- const Root: (props: LabelRootProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
807
+ $selected?: boolean;
808
+ }>) => React__default.ReactElement | null;
809
+ const Root: (props: LabelRootProps) => React__default.ReactElement | null;
805
810
  }
806
811
 
807
812
  interface ContainerProps {
@@ -811,10 +816,10 @@ interface ContainerProps {
811
816
  index: number;
812
817
  }) => ReactNode;
813
818
  }
814
- declare const LabeledElementView: (props: ContainerProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
819
+ declare const LabeledElementView: (props: ContainerProps) => React__default.ReactElement | null;
815
820
 
816
821
  type PopoverVariant = "normal" | "large";
817
- interface Props$c extends Pick<ComponentProps<(typeof PopoverPrimitive)["Content"]>, "onOpenAutoFocus" | "onCloseAutoFocus" | "onPointerDownOutside" | "onInteractOutside" | "onFocusOutside" | "side"> {
822
+ interface Props$b extends Pick<ComponentProps<(typeof PopoverPrimitive)["Content"]>, "onOpenAutoFocus" | "onCloseAutoFocus" | "onPointerDownOutside" | "onInteractOutside" | "onFocusOutside" | "side"> {
818
823
  children: React__default.ReactNode;
819
824
  trigger: React__default.ReactNode;
820
825
  variant?: PopoverVariant;
@@ -825,7 +830,7 @@ interface Props$c extends Pick<ComponentProps<(typeof PopoverPrimitive)["Content
825
830
  onClickClose?: () => void;
826
831
  showArrow?: boolean;
827
832
  }
828
- declare function Popover({ children, trigger, variant, closable, open, side, sideOffset, showArrow, onOpenChange, onOpenAutoFocus, onCloseAutoFocus, onPointerDownOutside, onInteractOutside, onFocusOutside, onClickClose, }: Props$c): React__default.JSX.Element;
833
+ declare function Popover({ children, trigger, variant, closable, open, side, sideOffset, showArrow, onOpenChange, onOpenAutoFocus, onCloseAutoFocus, onPointerDownOutside, onInteractOutside, onFocusOutside, onClickClose, }: Props$b): React__default.JSX.Element;
829
834
 
830
835
  type ProgressVariant = 'normal' | 'warning' | 'primary' | 'secondary';
831
836
  declare function Progress({ value, width, height, flex, variant, }: {
@@ -843,44 +848,24 @@ interface ItemProps {
843
848
  children: ReactNode;
844
849
  disabled?: boolean;
845
850
  }
846
- interface Props$b {
851
+ interface Props$a {
847
852
  id?: string;
848
853
  value?: string;
849
854
  onValueChange?: (value: string) => void;
855
+ /** @default primary */
850
856
  colorScheme?: RadioGroupColorScheme;
851
857
  allowEmpty?: boolean;
852
858
  children: ReactNode;
853
859
  }
854
860
  declare namespace RadioGroup {
855
- const Root: (props: Props$b) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
856
- const Item: (props: ItemProps & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
861
+ const Root: (props: Props$a) => React__default.ReactElement | null;
862
+ const Item: (props: ItemProps & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement | null;
857
863
  }
858
864
 
859
- interface Props$a {
865
+ interface Props$9 {
860
866
  children?: ReactNode | ((scrollElementRef: HTMLDivElement) => ReactNode);
861
867
  }
862
- declare const ScrollArea: (props: Props$a) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
863
-
864
- interface SelectOptionProps<T extends string> {
865
- value: T;
866
- title?: string;
867
- onSelect?: () => void;
868
- }
869
- declare const SelectOption: <T extends string>(props: SelectOptionProps<T>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
870
- type ChildrenProps<T> = {
871
- children: ReactNode;
872
- } | {
873
- options: readonly T[];
874
- getTitle?: (option: T, index: number) => string;
875
- onChange: (value: T) => void;
876
- };
877
- type Props$9<T extends string> = ChildrenProps<T> & {
878
- id: string;
879
- flex?: CSSProperties["flex"];
880
- value: T;
881
- label?: ReactNode;
882
- };
883
- declare const Select: <T extends string>(props: Props$9<T>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
868
+ declare const ScrollArea: (props: Props$9) => React__default.ReactElement | null;
884
869
 
885
870
  type Props$8<T extends string> = {
886
871
  id?: string;
@@ -892,8 +877,9 @@ type Props$8<T extends string> = {
892
877
  placeholder?: string;
893
878
  disabled?: boolean;
894
879
  readOnly?: boolean;
895
- };
896
- declare const SelectMenu: <T extends string = string>(props: Props$8<T>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
880
+ label?: React__default.ReactNode;
881
+ } & Pick<SelectProps, "open">;
882
+ declare const SelectMenu: <T extends string = string>(props: Props$8<T>) => React__default.ReactElement | null;
897
883
 
898
884
  interface Props$7 {
899
885
  id?: string;
@@ -909,8 +895,8 @@ interface Props$6 {
909
895
  inline?: boolean;
910
896
  }
911
897
  declare namespace Spacer {
912
- const Vertical: (props: Props$6 & React__default.RefAttributes<HTMLSpanElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
913
- const Horizontal: (props: Props$6 & React__default.RefAttributes<HTMLSpanElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
898
+ const Vertical: (props: Props$6 & React__default.RefAttributes<HTMLSpanElement>) => React__default.ReactElement | null;
899
+ const Horizontal: (props: Props$6 & React__default.RefAttributes<HTMLSpanElement>) => React__default.ReactElement | null;
914
900
  }
915
901
 
916
902
  type BreakpointKey = number | string;
@@ -920,7 +906,7 @@ type BreakpointCollection<T extends object> = Breakpoint<T>[] | Record<Breakpoin
920
906
  declare function withSeparatorElements(elements: ReactNode, separator: ReactNode | (() => ReactNode)): (string | number | React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>> | Iterable<ReactNode> | React$1.ReactPortal)[];
921
907
 
922
908
  interface StyleProps$1 {
923
- display?: "flex" | "inline-flex" | "none" | "block";
909
+ display?: CSSProperties["display"];
924
910
  visibility?: CSSProperties["visibility"];
925
911
  position?: CSSProperties["position"];
926
912
  zIndex?: CSSProperties["zIndex"];
@@ -984,17 +970,19 @@ interface Props$5 extends StyleProps$1 {
984
970
  breakpoints?: StackBreakpointList | null | false;
985
971
  href?: string;
986
972
  tabIndex?: number;
973
+ style?: StyleProps$1;
987
974
  }
988
975
  type StackProps = Omit<Props$5, "flexDirection">;
989
976
  declare const Stack: {
990
- V: (props: StackProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
991
- H: (props: StackProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
977
+ V: (props: StackProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement | null;
978
+ H: (props: StackProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement | null;
992
979
  };
993
980
 
994
981
  type SwitchColorScheme = "normal" | "primary" | "secondary";
995
982
  interface Props$4 {
996
983
  value: boolean;
997
984
  onChange: (value: boolean) => void;
985
+ /** @default normal */
998
986
  colorScheme?: SwitchColorScheme;
999
987
  disabled?: boolean;
1000
988
  }
@@ -1045,15 +1033,15 @@ interface Props$3 extends StyleProps {
1045
1033
  onKeyDown?: (event: React__default.KeyboardEvent<HTMLSpanElement>) => void;
1046
1034
  tabIndex?: number;
1047
1035
  }
1048
- declare const Text$1: (props: Props$3 & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1036
+ declare const Text$1: (props: Props$3 & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement | null;
1049
1037
  type PresetProps = Omit<Props$3, "variant">;
1050
- declare const Heading1: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1051
- declare const Heading2: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1052
- declare const Heading3: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1053
- declare const Heading4: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1054
- declare const Heading5: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1055
- declare const Body: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1056
- declare const Small: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1038
+ declare const Heading1: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement | null;
1039
+ declare const Heading2: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement | null;
1040
+ declare const Heading3: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement | null;
1041
+ declare const Heading4: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement | null;
1042
+ declare const Heading5: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement | null;
1043
+ declare const Body: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement | null;
1044
+ declare const Small: (props: PresetProps & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement | null;
1057
1045
  declare const Italic: ({ children }: {
1058
1046
  children: ReactNode;
1059
1047
  }) => React__default.JSX.Element;
@@ -1061,11 +1049,11 @@ declare const Italic: ({ children }: {
1061
1049
  declare const useAutoResize: (value: string) => React__default.MutableRefObject<HTMLTextAreaElement | null>;
1062
1050
  declare const AutoResizingTextArea: (props: Omit<styled_components.FastOmit<React__default.DetailedHTMLProps<React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, never>, "onChange" | "value"> & {
1063
1051
  onChangeText: (value: string) => void;
1064
- value?: string | undefined;
1065
- } & React__default.RefAttributes<HTMLTextAreaElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1052
+ value?: string;
1053
+ } & React__default.RefAttributes<HTMLTextAreaElement>) => React__default.ReactElement | null;
1066
1054
 
1067
1055
  declare const Toast: ({ title, content, children, ...props }: {
1068
- title?: string | undefined;
1056
+ title?: string;
1069
1057
  content: ReactNode;
1070
1058
  children?: React__default.ReactNode;
1071
1059
  }) => React__default.JSX.Element;
@@ -1077,7 +1065,7 @@ interface Props$2 {
1077
1065
  children: ReactNode;
1078
1066
  content: ReactNode;
1079
1067
  }
1080
- declare const Tooltip: (props: Props$2) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1068
+ declare const Tooltip: (props: Props$2) => React__default.ReactElement | null;
1081
1069
 
1082
1070
  type TreeRowBaseProps = {
1083
1071
  icon?: Exclude<ReactNode, string> | IconName;
@@ -1089,43 +1077,48 @@ type TreeRowBaseProps = {
1089
1077
  type TreeViewRowProps<MenuItemType extends string> = ListView.RowProps<MenuItemType> & TreeRowBaseProps;
1090
1078
  declare namespace TreeView {
1091
1079
  const Root: <T = any>(props: (({
1092
- children: React__default.ReactNode;
1080
+ children: ReactNode;
1093
1081
  } | {
1094
1082
  data: T[];
1095
1083
  renderItem: (item: T, index: number, info: {
1096
1084
  isDragging: boolean;
1097
- }) => React__default.ReactNode;
1085
+ }) => ReactNode;
1098
1086
  keyExtractor: (item: T, index: number) => string;
1099
- sortable?: boolean | undefined;
1100
- virtualized?: _noya_app_noya_geometry.Size | undefined;
1087
+ sortable?: boolean;
1088
+ virtualized?: _noya_app_noya_geometry.Size;
1101
1089
  }) & {
1102
- id?: string | undefined;
1103
- className?: string | undefined;
1104
- style?: React__default.CSSProperties | undefined;
1105
- onPress?: (() => void) | undefined;
1106
- scrollable?: boolean | undefined;
1107
- expandable?: boolean | undefined;
1108
- onMoveItem?: ((sourceIndex: number, destinationIndex: number, position: RelativeDropPosition) => void) | undefined;
1109
- indentation?: number | undefined;
1110
- acceptsDrop?: DropValidator | undefined;
1111
- pressEventName?: ("onClick" | "onPointerDown") | undefined;
1112
- variant?: ("normal" | "bare" | "padded") | undefined;
1113
- sectionHeaderVariant?: ("label" | "normal") | undefined;
1114
- divider?: boolean | undefined;
1115
- gap?: number | undefined;
1116
- colorScheme?: ("primary" | "secondary") | undefined;
1117
- }) & React__default.RefAttributes<IVirtualizedList>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1118
- const RowTitle: (props: styled_components.FastOmit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1119
- const EditableRowTitle: (props: EditableRowProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1120
- const Row: <MenuItemType extends string>(props: ListView.RowProps<MenuItemType> & TreeRowBaseProps & React__default.RefAttributes<HTMLLIElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1090
+ id?: string;
1091
+ className?: string;
1092
+ style?: React__default.CSSProperties;
1093
+ onPress?: () => void;
1094
+ scrollable?: boolean;
1095
+ expandable?: boolean;
1096
+ onMoveItem?: (sourceIndex: number, destinationIndex: number, position: RelativeDropPosition) => void;
1097
+ indentation?: number;
1098
+ acceptsDrop?: DropValidator;
1099
+ pressEventName?: "onClick" | "onPointerDown";
1100
+ variant?: "normal" | "bare" | "padded";
1101
+ sectionHeaderVariant?: "label" | "normal";
1102
+ divider?: boolean;
1103
+ gap?: number;
1104
+ colorScheme?: "primary" | "secondary";
1105
+ }) & React__default.RefAttributes<IVirtualizedList>) => React__default.ReactElement | null;
1106
+ const RowTitle: (props: styled_components.FastOmit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>) => React__default.ReactElement | null;
1107
+ const EditableRowTitle: (props: EditableRowProps) => React__default.ReactElement | null;
1108
+ const Row: <MenuItemType extends string>(props: ListView.RowProps<MenuItemType> & TreeRowBaseProps & React__default.RefAttributes<HTMLLIElement>) => React__default.ReactElement | null;
1121
1109
  type ClickInfo = ListView.ClickInfo;
1122
1110
  type RowProps<MenuItemType extends string> = TreeViewRowProps<MenuItemType>;
1123
1111
  }
1124
1112
 
1113
+ declare const EDITOR_PANEL_GROUP_ID = "editor-panel-group";
1114
+ declare const LEFT_SIDEBAR_ID = "editor-left-sidebar";
1115
+ declare const RIGHT_SIDEBAR_ID = "editor-right-sidebar";
1116
+ declare const CONTENT_AREA_ID = "editor-content-area";
1125
1117
  type PanelLayoutState = {
1126
1118
  leftSidebarCollapsed: boolean;
1127
1119
  rightSidebarCollapsed: boolean;
1128
1120
  };
1121
+ declare function usePreservePanelSize(panelGroupRef: React__default.RefObject<ImperativePanelGroupHandle | null>, setPanelLayoutState?: (state: PanelLayoutState) => void): void;
1129
1122
 
1130
1123
  interface Props$1 {
1131
1124
  autoSavePrefix?: string;
@@ -1159,20 +1152,20 @@ type IWorkspaceLayout = {
1159
1152
  toggleLeftSidebar: () => void;
1160
1153
  toggleRightSidebar: () => void;
1161
1154
  };
1162
- declare const WorkspaceLayout: (props: Props$1) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1155
+ declare const WorkspaceLayout: (props: Props$1 & React__default.RefAttributes<IWorkspaceLayout>) => React__default.ReactElement | null;
1163
1156
 
1164
1157
  declare const DesignSystemThemeProvider: (props: {
1165
1158
  children: ReactNode;
1166
- theme?: typeof lightTheme | undefined;
1167
- }) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1159
+ theme?: Theme;
1160
+ }) => React__default.ReactElement | null;
1168
1161
  type DesignSystemConfigurationContextValue = {
1169
1162
  platform: PlatformName;
1170
1163
  };
1171
1164
  declare const DesignSystemConfigurationProvider: (props: {
1172
1165
  children: ReactNode;
1173
- theme?: "dark" | "light" | typeof lightTheme | undefined;
1174
- platform?: PlatformName | undefined;
1175
- }) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1166
+ theme?: Theme | "light" | "dark";
1167
+ platform?: PlatformName;
1168
+ }) => React__default.ReactElement | null;
1176
1169
  declare function useDesignSystemConfiguration(): DesignSystemConfigurationContextValue;
1177
1170
  declare function useDesignSystemTheme(): styled_components.DefaultTheme;
1178
1171
 
@@ -1184,7 +1177,7 @@ type DialogContextValue = {
1184
1177
  declare const DialogProvider: ({ children, }: {
1185
1178
  children: ReactNode;
1186
1179
  }) => React__default.JSX.Element;
1187
- declare function useOpenInputDialog(): (title: string, inputValue?: string | undefined) => Promise<string | undefined>;
1180
+ declare function useOpenInputDialog(): (title: string, inputValue?: string) => Promise<string | undefined>;
1188
1181
  declare function useDialogContainsElement(): (element: HTMLElement) => boolean;
1189
1182
 
1190
1183
  type FloatingWindowContextValue = {
@@ -1205,8 +1198,8 @@ type ImageDataContextValue = {
1205
1198
  };
1206
1199
  declare const ImageDataProvider: (props: {
1207
1200
  children: ReactNode;
1208
- getImageData?: ((ref: string) => ArrayBuffer | undefined) | undefined;
1209
- }) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1201
+ getImageData?: (ref: string) => ArrayBuffer | undefined;
1202
+ }) => React__default.ReactElement | null;
1210
1203
  declare function useImageData(ref: string): ArrayBuffer | undefined;
1211
1204
 
1212
1205
  type GlobalInputBlurContextValue = {
@@ -1379,27 +1372,6 @@ declare function sketchColorToRgbaString(value: Sketch.Color): string;
1379
1372
  declare function rgbaToSketchColor(value: RgbaColor): Sketch.Color;
1380
1373
  declare function sketchColorToHex(value: Sketch.Color): string;
1381
1374
 
1382
- interface ArrayControllerProps<Item> {
1383
- id: string;
1384
- items: Item[];
1385
- title: ReactNode;
1386
- sortable?: boolean;
1387
- reversed?: boolean;
1388
- expanded?: boolean;
1389
- getKey?: (item: Item) => string;
1390
- onMoveItem?: (sourceIndex: number, destinationIndex: number) => void;
1391
- onClickPlus?: () => void;
1392
- onClickTrash?: () => void;
1393
- onClickExpand?: () => void;
1394
- renderItem: (props: {
1395
- item: Item;
1396
- index: number;
1397
- }) => ReactNode;
1398
- renderExpandedContent?: () => ReactNode;
1399
- padding?: number;
1400
- }
1401
- declare const ArrayController: <Item>(props: ArrayControllerProps<Item>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1402
-
1403
1375
  type SetNumberMode = "replace" | "adjust";
1404
1376
  declare function getNewValue(value: number, mode: SetNumberMode, delta?: number): number;
1405
1377
  type DimensionValue = number | undefined;
@@ -1413,7 +1385,7 @@ interface Props {
1413
1385
  disabled?: boolean;
1414
1386
  trigger?: "change" | "submit";
1415
1387
  }
1416
- declare const DimensionInput: (props: Props) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1388
+ declare const DimensionInput: (props: Props) => React__default.ReactElement | null;
1417
1389
 
1418
1390
  declare const Section: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
1419
1391
  $padding?: CSSProperties["padding"];
@@ -1421,7 +1393,7 @@ declare const Section: styled_components_dist_types.IStyledComponentBase<"web",
1421
1393
  }>> & string;
1422
1394
  declare const SectionHeader: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
1423
1395
  declare const Title: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
1424
- $textStyle?: "small" | "heading3" | "heading4" | "heading5" | undefined;
1396
+ $textStyle?: "small" | "heading5" | "heading4" | "heading3";
1425
1397
  }>> & string;
1426
1398
  declare const Row: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
1427
1399
  $gap?: CSSProperties["gap"];
@@ -1432,20 +1404,20 @@ declare const Text: styled_components_dist_types.IStyledComponentBase<"web", sty
1432
1404
  declare const VerticalSeparator: () => React__default.JSX.Element;
1433
1405
  declare const HorizontalSeparator: () => React__default.JSX.Element;
1434
1406
  declare const RowLabel: styled_components_dist_types.IStyledComponentBase<"web", styled_components_dist_types.Substitute<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
1435
- $textStyle?: "small" | "heading3" | "heading4" | "heading5" | undefined;
1407
+ $textStyle?: "small" | "heading5" | "heading4" | "heading3";
1436
1408
  }>> & string;
1437
1409
  declare const LabeledRow: (props: {
1438
- id?: string | undefined;
1410
+ id?: string;
1439
1411
  children: ReactNode;
1440
1412
  label: ReactNode;
1441
- labelTextStyle?: "small" | "heading3" | "heading4" | "heading5" | undefined;
1413
+ labelTextStyle?: "small" | "heading5" | "heading4" | "heading3";
1442
1414
  gap?: CSSProperties["gap"];
1443
1415
  right?: ReactNode;
1444
- }) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1416
+ }) => React__default.ReactElement | null;
1445
1417
  declare const LabeledSliderRow: (props: {
1446
1418
  children: ReactNode;
1447
1419
  label: string;
1448
- }) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
1420
+ }) => React__default.ReactElement | null;
1449
1421
 
1450
1422
  declare const InspectorPrimitives_Checkbox: typeof Checkbox;
1451
1423
  declare const InspectorPrimitives_Column: typeof Column;
@@ -1468,4 +1440,4 @@ declare module "react" {
1468
1440
  function forwardRef<T, P = {}>(render: (props: P, ref: React.ForwardedRef<T>) => React.ReactElement | null): (props: P & React.RefAttributes<T>) => React.ReactElement | null;
1469
1441
  }
1470
1442
 
1471
- export { ActivityIndicator, ArrayController, type ArrayControllerProps, AutoResizingTextArea, 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, DesignSystemThemeProvider, 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, type IWorkspaceLayout, IconButton, type IconName, type ImageDataContextValue, ImageDataProvider, InputElement, InputField, type InputFieldSize, InputFieldWithCompletions, InspectorContainer, 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, SelectMenu, 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, WorkspaceLayout, createSectionedMenu, dark as darkTheme, fuzzyFilter, fuzzyScore, fuzzyTokenize, getGradientBackground, getNewValue, lightTheme, mediaQuery, normalizeListDestinationIndex, renderIcon, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useAutoResize, useCurrentFloatingWindowInternal, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, withSeparatorElements };
1443
+ export { ActivityIndicator, AutoResizingTextArea, Avatar, AvatarStack, Body, Button, ButtonElement, type ButtonRootProps, CONTENT_AREA_ID, Chip, type ChipProps, CloseButtonContainer, type Colors, type CompletionItem, type CompletionListItem, CompletionMenu, type CompletionSectionHeader, CompletionToken, ContextMenu, type DesignSystemConfigurationContextValue, DesignSystemConfigurationProvider, DesignSystemThemeProvider, 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, 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, type IWorkspaceLayout, IconButton, type IconName, type ImageDataContextValue, ImageDataProvider, InputElement, InputField, type InputFieldSize, InputFieldWithCompletions, 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, Row$1 as Row, SEPARATOR_ITEM, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, ScrollArea, SelectMenu, 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, WorkspaceLayout, createSectionedMenu, dark as darkTheme, fuzzyFilter, fuzzyScore, fuzzyTokenize, getGradientBackground, getNewValue, lightTheme, mediaQuery, normalizeListDestinationIndex, renderIcon, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useAutoResize, useCurrentFloatingWindowInternal, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, usePreservePanelSize, withSeparatorElements };