@noya-app/noya-designsystem 0.1.62 → 0.1.63
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/.eslintrc.js +1 -5
- package/.turbo/turbo-build.log +10 -10
- package/.turbo/turbo-lint.log +0 -1
- package/CHANGELOG.md +10 -0
- package/dist/index.css +1 -1
- package/dist/index.d.mts +147 -69
- package/dist/index.d.ts +147 -69
- package/dist/index.js +1347 -1063
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +756 -473
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/components/Button.tsx +28 -20
- package/src/components/DimensionInput.tsx +1 -1
- package/src/components/DraggableMenuButton.tsx +20 -4
- package/src/components/DropdownMenu.tsx +31 -5
- package/src/components/IconButton.tsx +2 -2
- package/src/components/InputField.tsx +5 -5
- package/src/components/Label.tsx +0 -2
- package/src/components/LabeledField.tsx +36 -34
- package/src/components/Popover.tsx +12 -3
- package/src/components/SegmentedControl.tsx +1 -1
- package/src/components/SelectMenu.tsx +3 -3
- package/src/components/SelectionToolbar.tsx +28 -7
- package/src/components/Slider.tsx +1 -1
- package/src/components/Spacer.tsx +0 -1
- package/src/components/Tabs.tsx +46 -0
- package/src/components/Toolbar.tsx +106 -11
- package/src/components/Tooltip.tsx +8 -8
- package/src/components/file-explorer/FileExplorerLayout.tsx +12 -6
- package/src/components/internal/Menu.tsx +19 -2
- package/src/components/internal/MenuViewport.tsx +4 -3
- package/src/components/workspace/DrawerWorkspaceLayout.tsx +7 -3
- package/src/components/workspace/PanelWorkspaceLayout.tsx +103 -3
- package/src/components/workspace/WorkspaceLayout.tsx +96 -15
- package/src/components/workspace/renderPanelChildren.tsx +12 -0
- package/src/components/workspace/types.ts +19 -3
- package/src/hooks/useLabel.ts +10 -10
- package/src/hooks/usePreservePanelSize.tsx +1 -1
- package/src/index.css +6 -4
- package/src/index.tsx +2 -0
- package/src/utils/editableBlockStyles.ts +10 -0
- package/src/hooks/useWindowSize.tsx +0 -26
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { ReactNode, CSSProperties, ReactHTML, HTMLAttributes, AriaRole, KeyboardEventHandler, MouseEventHandler, PointerEventHandler, FocusEventHandler, InputHTMLAttributes, ForwardedRef, ComponentProps, SyntheticEvent, LabelHTMLAttributes } from 'react';
|
|
2
|
+
import React__default, { ReactNode, CSSProperties, ReactHTML, HTMLAttributes, AriaRole, KeyboardEventHandler, MouseEventHandler, PointerEventHandler, FocusEventHandler, InputHTMLAttributes, ForwardedRef, ComponentProps, SyntheticEvent, LabelHTMLAttributes, DetailedHTMLProps } from 'react';
|
|
3
3
|
import { IItemScore } from 'vscode-fuzzy-scorer';
|
|
4
4
|
import * as Icons from '@noya-app/noya-icons';
|
|
5
5
|
export { Icons };
|
|
@@ -18,8 +18,10 @@ import { KeyModifiers, PlatformName } from '@noya-app/noya-keymap';
|
|
|
18
18
|
import * as RadixContextMenu from '@radix-ui/react-context-menu';
|
|
19
19
|
import { MultiplayerUser } from '@noya-app/noya-multiplayer-react';
|
|
20
20
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
21
|
+
import * as PopperPrimitive from '@radix-ui/react-popper';
|
|
21
22
|
import { SelectProps } from '@radix-ui/react-select';
|
|
22
23
|
import { useSortable } from '@dnd-kit/sortable';
|
|
24
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
23
25
|
import { ImperativePanelGroupHandle } from 'react-resizable-panels';
|
|
24
26
|
import { RgbaColor } from '@noya-app/noya-colorpicker';
|
|
25
27
|
|
|
@@ -89,8 +91,17 @@ type SubMenuItem<T extends string> = BaseMenuItem & {
|
|
|
89
91
|
items: MenuItem<T>[];
|
|
90
92
|
id: string;
|
|
91
93
|
};
|
|
92
|
-
type
|
|
93
|
-
type
|
|
94
|
+
type PopoverMenuItem = BaseMenuItem & {
|
|
95
|
+
type: "popover";
|
|
96
|
+
id: string;
|
|
97
|
+
content: ReactNode | ((props: {
|
|
98
|
+
close: () => void;
|
|
99
|
+
}) => ReactNode);
|
|
100
|
+
shortcut?: string;
|
|
101
|
+
tooltip?: ReactNode;
|
|
102
|
+
};
|
|
103
|
+
type NonSelectableMenuItem<T extends string> = SeparatorItem | SectionHeaderMenuItem | SubMenuItem<T> | PopoverMenuItem;
|
|
104
|
+
type MenuItem<T extends string> = SeparatorItem | SelectableMenuItem<T> | SectionHeaderMenuItem | SubMenuItem<T> | PopoverMenuItem;
|
|
94
105
|
type ScoredSelectableMenuItem<T extends string> = SelectableMenuItem<T> & IScoredItem;
|
|
95
106
|
type ScoredMenuItem<T extends string> = ScoredSelectableMenuItem<T> | SectionHeaderMenuItem;
|
|
96
107
|
type ExtractMenuItemType<T> = T extends SelectableMenuItem<infer U> ? U : never;
|
|
@@ -98,6 +109,7 @@ declare const isSelectableMenuItem: <T extends string>(item: MenuItem<T>) => ite
|
|
|
98
109
|
declare const isNonSelectableMenuItem: <T extends string>(item: MenuItem<T>) => item is NonSelectableMenuItem<T>;
|
|
99
110
|
declare const isMenuItemSectionHeader: (item: MenuItem<string>) => item is SectionHeaderMenuItem;
|
|
100
111
|
declare const isSelectableMenuItemWithScore: (item: MenuItem<string>) => item is ScoredSelectableMenuItem<string>;
|
|
112
|
+
declare const isPopoverMenuItem: (item: MenuItem<string>) => item is PopoverMenuItem;
|
|
101
113
|
declare const getMenuItemKey: <T extends string>(item: MenuItem<T>, index: number) => string;
|
|
102
114
|
declare const CHECKBOX_WIDTH = 15;
|
|
103
115
|
declare const CHECKBOX_RIGHT_INSET = 6;
|
|
@@ -139,14 +151,14 @@ type ActionMenuProps<TMenu extends string> = {
|
|
|
139
151
|
};
|
|
140
152
|
declare const ActionMenu: <TMenu extends string>(props: ActionMenuProps<TMenu>) => React__default.ReactElement | null;
|
|
141
153
|
|
|
142
|
-
interface Props$
|
|
154
|
+
interface Props$f {
|
|
143
155
|
size?: number;
|
|
144
156
|
opacity?: number;
|
|
145
157
|
color?: string;
|
|
146
158
|
trackColor?: string;
|
|
147
159
|
className?: string;
|
|
148
160
|
}
|
|
149
|
-
declare const ActivityIndicator: React$1.NamedExoticComponent<Props$
|
|
161
|
+
declare const ActivityIndicator: React$1.NamedExoticComponent<Props$f>;
|
|
150
162
|
|
|
151
163
|
declare const AIAssistantLoadingIndicator: () => React__default.JSX.Element;
|
|
152
164
|
type AIAssistantInputProps = {
|
|
@@ -275,6 +287,7 @@ declare const cssVars: {
|
|
|
275
287
|
listviewEditingBackground: string;
|
|
276
288
|
sliderThumbBackground: string;
|
|
277
289
|
sliderBorder: string;
|
|
290
|
+
sliderActiveBackground: string;
|
|
278
291
|
segmentedControlItem: string;
|
|
279
292
|
segmentedControlItemActiveBackground: string;
|
|
280
293
|
segmentedControlItemActiveText: string;
|
|
@@ -429,6 +442,7 @@ declare const cssVars: {
|
|
|
429
442
|
activeInput: string;
|
|
430
443
|
segment: string;
|
|
431
444
|
sliderThumb: string;
|
|
445
|
+
tooltip: string;
|
|
432
446
|
};
|
|
433
447
|
};
|
|
434
448
|
declare const cssVarNames: {
|
|
@@ -476,6 +490,7 @@ declare const cssVarNames: {
|
|
|
476
490
|
listviewEditingBackground: string;
|
|
477
491
|
sliderThumbBackground: string;
|
|
478
492
|
sliderBorder: string;
|
|
493
|
+
sliderActiveBackground: string;
|
|
479
494
|
segmentedControlItem: string;
|
|
480
495
|
segmentedControlItemActiveBackground: string;
|
|
481
496
|
segmentedControlItemActiveText: string;
|
|
@@ -630,6 +645,7 @@ declare const cssVarNames: {
|
|
|
630
645
|
activeInput: string;
|
|
631
646
|
segment: string;
|
|
632
647
|
sliderThumb: string;
|
|
648
|
+
tooltip: string;
|
|
633
649
|
};
|
|
634
650
|
};
|
|
635
651
|
declare const INPUT_HEIGHT = 27;
|
|
@@ -669,18 +685,20 @@ type BreadcrumbTextProps = Omit<TextProps, "variant" | "whiteSpace" | "lineHeigh
|
|
|
669
685
|
declare const BreadcrumbText: React__default.ForwardRefExoticComponent<BreadcrumbTextProps & React__default.RefAttributes<HTMLSpanElement>>;
|
|
670
686
|
declare const BreadcrumbSlash: () => React__default.JSX.Element;
|
|
671
687
|
|
|
672
|
-
type ButtonVariant = "normal" | "
|
|
688
|
+
type ButtonVariant = "normal" | "thin" | "floating" | "none";
|
|
673
689
|
type ButtonSize = "small" | "normal" | "large" | "floating";
|
|
674
|
-
|
|
690
|
+
type ButtonColorScheme = "primary" | "secondary";
|
|
691
|
+
interface ButtonProps extends React__default.DetailedHTMLProps<React__default.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
|
|
675
692
|
id?: string;
|
|
676
693
|
className?: string;
|
|
677
694
|
style?: CSSProperties;
|
|
678
695
|
tabIndex?: number;
|
|
679
696
|
icon?: MenuItemIcon;
|
|
680
697
|
iconRight?: MenuItemIcon;
|
|
681
|
-
children
|
|
698
|
+
children?: ReactNode;
|
|
682
699
|
active?: boolean;
|
|
683
700
|
disabled?: boolean;
|
|
701
|
+
colorScheme?: ButtonColorScheme;
|
|
684
702
|
variant?: ButtonVariant;
|
|
685
703
|
size?: ButtonSize;
|
|
686
704
|
tooltip?: ReactNode;
|
|
@@ -694,7 +712,7 @@ interface ButtonRootProps {
|
|
|
694
712
|
rel?: string;
|
|
695
713
|
download?: string;
|
|
696
714
|
}
|
|
697
|
-
declare const Button: React__default.ForwardRefExoticComponent<
|
|
715
|
+
declare const Button: React__default.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
698
716
|
|
|
699
717
|
interface CheckboxProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "type"> {
|
|
700
718
|
colorScheme?: "primary" | "secondary";
|
|
@@ -1067,7 +1085,7 @@ declare function ColorSwatchControl(props: ColorSwatchControlProps): React__defa
|
|
|
1067
1085
|
|
|
1068
1086
|
type InputSize = "small" | "medium" | "large";
|
|
1069
1087
|
|
|
1070
|
-
type Props$
|
|
1088
|
+
type Props$e = {
|
|
1071
1089
|
id?: string;
|
|
1072
1090
|
style?: any;
|
|
1073
1091
|
className?: string;
|
|
@@ -1085,15 +1103,15 @@ type Props$d = {
|
|
|
1085
1103
|
onFocusChange?: (isFocused: boolean) => void;
|
|
1086
1104
|
onBlur?: FocusEventHandler;
|
|
1087
1105
|
} & Pick<InputHTMLAttributes<HTMLInputElement>, "autoComplete" | "autoCapitalize" | "autoCorrect" | "spellCheck" | "autoFocus">;
|
|
1088
|
-
type ReadOnlyProps = Props$
|
|
1106
|
+
type ReadOnlyProps = Props$e & {
|
|
1089
1107
|
readOnly: true;
|
|
1090
1108
|
};
|
|
1091
|
-
type ControlledProps = Props$
|
|
1109
|
+
type ControlledProps = Props$e & {
|
|
1092
1110
|
onChange: (value: string) => void;
|
|
1093
1111
|
onFocus?: FocusEventHandler;
|
|
1094
1112
|
onBlur?: FocusEventHandler;
|
|
1095
1113
|
};
|
|
1096
|
-
type SubmittableProps = Props$
|
|
1114
|
+
type SubmittableProps = Props$e & {
|
|
1097
1115
|
onSubmit: (value: string) => void;
|
|
1098
1116
|
allowSubmittingWithSameValue?: boolean;
|
|
1099
1117
|
submitAutomaticallyAfterDelay?: number;
|
|
@@ -1182,9 +1200,9 @@ declare const InputField: React__default.ForwardRefExoticComponent<InputFieldPro
|
|
|
1182
1200
|
}) => React__default.JSX.Element>;
|
|
1183
1201
|
readonly NumberInput: React__default.MemoExoticComponent<typeof InputFieldNumberInput>;
|
|
1184
1202
|
readonly DropdownMenu: <T extends string>(props: InputFieldDropdownProps<T>) => React__default.ReactElement | null;
|
|
1185
|
-
readonly Button: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<React__default.ButtonHTMLAttributes<HTMLButtonElement> &
|
|
1203
|
+
readonly Button: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Omit<React__default.ButtonHTMLAttributes<HTMLButtonElement> & ButtonProps & {
|
|
1186
1204
|
variant?: "floating" | "normal";
|
|
1187
|
-
} & React__default.RefAttributes<HTMLButtonElement>>>;
|
|
1205
|
+
}, "ref"> & React__default.RefAttributes<HTMLButtonElement>>>;
|
|
1188
1206
|
readonly PrimitiveElement: ({ readOnly, disabled, className, style, ...props }: {
|
|
1189
1207
|
readOnly?: boolean;
|
|
1190
1208
|
disabled?: boolean;
|
|
@@ -1307,7 +1325,7 @@ declare const StyledContent: React__default.ForwardRefExoticComponent<Omit<Dialo
|
|
|
1307
1325
|
interface IDialog {
|
|
1308
1326
|
containsElement: (element: HTMLElement) => boolean;
|
|
1309
1327
|
}
|
|
1310
|
-
interface Props$
|
|
1328
|
+
interface Props$d {
|
|
1311
1329
|
title?: ReactNode;
|
|
1312
1330
|
description?: ReactNode;
|
|
1313
1331
|
children?: ReactNode;
|
|
@@ -1319,8 +1337,8 @@ interface Props$c {
|
|
|
1319
1337
|
showCloseButton?: boolean;
|
|
1320
1338
|
className?: string;
|
|
1321
1339
|
}
|
|
1322
|
-
declare const Dialog: React__default.ForwardRefExoticComponent<Props$
|
|
1323
|
-
declare const FullscreenDialog: React__default.ForwardRefExoticComponent<Props$
|
|
1340
|
+
declare const Dialog: React__default.ForwardRefExoticComponent<Props$d & React__default.RefAttributes<IDialog>>;
|
|
1341
|
+
declare const FullscreenDialog: React__default.ForwardRefExoticComponent<Props$d & React__default.RefAttributes<IDialog>>;
|
|
1324
1342
|
|
|
1325
1343
|
type DividerVariant = "normal" | "subtle" | "strong";
|
|
1326
1344
|
interface DividerProps {
|
|
@@ -1336,13 +1354,15 @@ declare const DividerVertical: React__default.NamedExoticComponent<DividerProps>
|
|
|
1336
1354
|
* A button that opens a menu when clicked, but also allows dragging the
|
|
1337
1355
|
*/
|
|
1338
1356
|
declare const DraggableMenuButton: <T extends string>(props: {
|
|
1357
|
+
open?: boolean;
|
|
1358
|
+
onOpenChange?: (open: boolean) => void;
|
|
1339
1359
|
items?: MenuItem<T>[];
|
|
1340
1360
|
onSelect?: (value: T) => void;
|
|
1341
1361
|
onClick?: () => void;
|
|
1342
1362
|
isVisible?: boolean;
|
|
1343
1363
|
className?: string;
|
|
1344
1364
|
style?: React__default.CSSProperties;
|
|
1345
|
-
}) => React__default.ReactElement | null;
|
|
1365
|
+
} & Omit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "onSelect">) => React__default.ReactElement | null;
|
|
1346
1366
|
|
|
1347
1367
|
type SidebarRef = {
|
|
1348
1368
|
expand: () => void;
|
|
@@ -1359,9 +1379,18 @@ type PanelLayoutState = {
|
|
|
1359
1379
|
leftSidebarCollapsed: boolean;
|
|
1360
1380
|
rightSidebarCollapsed: boolean;
|
|
1361
1381
|
};
|
|
1362
|
-
type
|
|
1363
|
-
|
|
1364
|
-
|
|
1382
|
+
type RenderPanel<TabValue extends string> = ReactNode | ((props: {
|
|
1383
|
+
activeTabValue: TabValue;
|
|
1384
|
+
}) => ReactNode);
|
|
1385
|
+
type LayoutProps<LeftTab extends string = string, RightTab extends string = string> = {
|
|
1386
|
+
leftPanel: ReactNode;
|
|
1387
|
+
leftTabItems?: MenuItem<LeftTab>[];
|
|
1388
|
+
leftTabValue?: LeftTab;
|
|
1389
|
+
onChangeLeftTab?: (value: LeftTab) => void;
|
|
1390
|
+
rightPanel: ReactNode;
|
|
1391
|
+
rightTabItems?: MenuItem<RightTab>[];
|
|
1392
|
+
rightTabValue?: RightTab;
|
|
1393
|
+
onChangeRightTab?: (value: RightTab) => void;
|
|
1365
1394
|
centerPanel: React.ReactNode;
|
|
1366
1395
|
leftSidebarOptions: PercentageSidebarOptions;
|
|
1367
1396
|
rightSidebarOptions: PercentageSidebarOptions;
|
|
@@ -1389,18 +1418,28 @@ type DrawerProps = {
|
|
|
1389
1418
|
};
|
|
1390
1419
|
declare const Drawer: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<DrawerProps & React$1.RefAttributes<SidebarRef>>>;
|
|
1391
1420
|
|
|
1392
|
-
type DropdownRootProps<T extends string> = MenuProps<T> & {
|
|
1421
|
+
type DropdownRootProps<T extends string> = Omit<MenuProps<T>, "children"> & {
|
|
1422
|
+
children?: ReactNode | ((props: {
|
|
1423
|
+
open: boolean;
|
|
1424
|
+
}) => ReactNode);
|
|
1425
|
+
title?: ReactNode;
|
|
1426
|
+
icon?: ButtonProps["icon"];
|
|
1393
1427
|
open?: boolean;
|
|
1394
1428
|
onCloseAutoFocus?: React__default.EventHandler<SyntheticEvent<unknown>>;
|
|
1395
1429
|
emptyState?: React__default.ReactNode;
|
|
1396
1430
|
contentStyle?: React__default.CSSProperties;
|
|
1397
1431
|
} & Pick<ComponentProps<typeof RadixDropdownMenu.Content>, "side" | "sideOffset" | "align" | "alignOffset" | "collisionPadding">;
|
|
1398
|
-
declare const DropdownMenu: <T extends string>(props: MenuProps<T> & {
|
|
1432
|
+
declare const DropdownMenu: <T extends string>(props: Omit<MenuProps<T>, "children"> & {
|
|
1433
|
+
children?: ReactNode | ((props: {
|
|
1434
|
+
open: boolean;
|
|
1435
|
+
}) => ReactNode);
|
|
1436
|
+
title?: ReactNode;
|
|
1437
|
+
icon?: ButtonProps["icon"];
|
|
1399
1438
|
open?: boolean;
|
|
1400
1439
|
onCloseAutoFocus?: React__default.EventHandler<SyntheticEvent<unknown>>;
|
|
1401
1440
|
emptyState?: React__default.ReactNode;
|
|
1402
1441
|
contentStyle?: React__default.CSSProperties;
|
|
1403
|
-
} & Pick<RadixDropdownMenu.DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>, "align" | "
|
|
1442
|
+
} & Pick<RadixDropdownMenu.DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>, "align" | "side" | "sideOffset" | "alignOffset" | "collisionPadding"> & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement | null;
|
|
1404
1443
|
|
|
1405
1444
|
type RenderPreviewProps = {
|
|
1406
1445
|
children: string;
|
|
@@ -1411,7 +1450,7 @@ type RenderPreviewProps = {
|
|
|
1411
1450
|
style?: React__default.CSSProperties;
|
|
1412
1451
|
className?: string;
|
|
1413
1452
|
};
|
|
1414
|
-
type Props$
|
|
1453
|
+
type Props$c = {
|
|
1415
1454
|
value: string;
|
|
1416
1455
|
children?: (props: RenderPreviewProps) => React__default.ReactNode;
|
|
1417
1456
|
placeholder?: string;
|
|
@@ -1435,7 +1474,7 @@ type Props$b = {
|
|
|
1435
1474
|
interface EditableTextRef {
|
|
1436
1475
|
startEditing: () => void;
|
|
1437
1476
|
}
|
|
1438
|
-
declare const EditableText: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Props$
|
|
1477
|
+
declare const EditableText: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Props$c & React__default.RefAttributes<EditableTextRef>>>;
|
|
1439
1478
|
|
|
1440
1479
|
type FadeDirection = "left" | "right" | "top" | "bottom";
|
|
1441
1480
|
type FadeProps = {
|
|
@@ -1454,9 +1493,10 @@ type FadeProps = {
|
|
|
1454
1493
|
declare const Fade: ({ children, direction, width, height, className, zIndex, position, }: FadeProps) => React__default.JSX.Element;
|
|
1455
1494
|
|
|
1456
1495
|
declare const FileExplorerLayout: ({ children, className, ...props }: SectionProps$1) => React__default.JSX.Element;
|
|
1457
|
-
declare const FileExplorerUploadButton: ({ showUploadButton, onUpload, children, }: {
|
|
1496
|
+
declare const FileExplorerUploadButton: ({ showUploadButton, onUpload, isUploading, children, }: {
|
|
1458
1497
|
showUploadButton?: boolean;
|
|
1459
1498
|
onUpload?: () => void;
|
|
1499
|
+
isUploading?: boolean;
|
|
1460
1500
|
children?: React__default.ReactNode;
|
|
1461
1501
|
}) => React__default.JSX.Element;
|
|
1462
1502
|
declare const FileExplorerCollection: <T, M extends string = string>(props: CollectionProps<T, M> & React__default.RefAttributes<CollectionRef>) => React__default.ReactElement | null;
|
|
@@ -1478,21 +1518,21 @@ type SketchPattern = {
|
|
|
1478
1518
|
patternTileScale: number;
|
|
1479
1519
|
};
|
|
1480
1520
|
|
|
1481
|
-
interface Props$
|
|
1521
|
+
interface Props$b {
|
|
1482
1522
|
id?: string;
|
|
1483
1523
|
value?: Sketch.Color | Sketch.Gradient | SketchPattern;
|
|
1484
1524
|
}
|
|
1485
|
-
declare const FillInputField: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Props$
|
|
1525
|
+
declare const FillInputField: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<Props$b & React__default.RefAttributes<HTMLButtonElement>>>;
|
|
1486
1526
|
|
|
1487
1527
|
declare const PatternPreviewBackground: React$1.NamedExoticComponent<{
|
|
1488
1528
|
fillType: Sketch.PatternFillType;
|
|
1489
1529
|
tileScale: number;
|
|
1490
1530
|
imageRef: string;
|
|
1491
1531
|
}>;
|
|
1492
|
-
interface Props$
|
|
1532
|
+
interface Props$a {
|
|
1493
1533
|
value?: Sketch.Color | Sketch.Gradient | SketchPattern;
|
|
1494
1534
|
}
|
|
1495
|
-
declare const FillPreviewBackground: React$1.NamedExoticComponent<Props$
|
|
1535
|
+
declare const FillPreviewBackground: React$1.NamedExoticComponent<Props$a>;
|
|
1496
1536
|
|
|
1497
1537
|
interface FloatingWindowProps {
|
|
1498
1538
|
title?: string;
|
|
@@ -1513,7 +1553,7 @@ interface FloatingWindowProps {
|
|
|
1513
1553
|
}
|
|
1514
1554
|
declare const FloatingWindow: React__default.FC<FloatingWindowProps>;
|
|
1515
1555
|
|
|
1516
|
-
interface Props$
|
|
1556
|
+
interface Props$9 {
|
|
1517
1557
|
value: Sketch.GradientStop[];
|
|
1518
1558
|
selectedStop: number;
|
|
1519
1559
|
onChangeColor: (color: Sketch.Color) => void;
|
|
@@ -1522,7 +1562,7 @@ interface Props$8 {
|
|
|
1522
1562
|
onDelete: () => void;
|
|
1523
1563
|
onSelectStop: (index: number) => void;
|
|
1524
1564
|
}
|
|
1525
|
-
declare const GradientPicker: React$1.NamedExoticComponent<Props$
|
|
1565
|
+
declare const GradientPicker: React$1.NamedExoticComponent<Props$9>;
|
|
1526
1566
|
|
|
1527
1567
|
declare const getGridSize: (size: CollectionItemSize) => {
|
|
1528
1568
|
minColumnWidth: string;
|
|
@@ -1589,14 +1629,15 @@ declare namespace GridView {
|
|
|
1589
1629
|
const SectionHeader: React__default.MemoExoticComponent<typeof GridViewSectionHeader>;
|
|
1590
1630
|
}
|
|
1591
1631
|
|
|
1592
|
-
|
|
1632
|
+
type Props$8 = Omit<ButtonProps, "children" | "variant" | "flex" | "size"> & {
|
|
1593
1633
|
iconName: IconName;
|
|
1594
1634
|
className?: string;
|
|
1595
1635
|
style?: React$1.CSSProperties;
|
|
1596
1636
|
selected?: boolean;
|
|
1597
1637
|
color?: string;
|
|
1598
1638
|
size?: number;
|
|
1599
|
-
}
|
|
1639
|
+
};
|
|
1640
|
+
declare const IconButton: React$1.MemoExoticComponent<React$1.ForwardRefExoticComponent<Omit<Props$8, "ref"> & React$1.RefAttributes<HTMLButtonElement>>>;
|
|
1600
1641
|
|
|
1601
1642
|
declare const InspectorContainer: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
1602
1643
|
header?: React__default.ReactNode;
|
|
@@ -1651,7 +1692,6 @@ type MenuViewportProps<T extends string> = {
|
|
|
1651
1692
|
};
|
|
1652
1693
|
declare const MenuViewport: <T extends string>({ items, Components, onSelect, }: MenuViewportProps<T>) => React__default.JSX.Element;
|
|
1653
1694
|
|
|
1654
|
-
type LabelPosition = "inset" | "start" | "end" | "above";
|
|
1655
1695
|
interface LabelProps extends LabelHTMLAttributes<HTMLLabelElement> {
|
|
1656
1696
|
}
|
|
1657
1697
|
declare const Label: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<LabelProps & React__default.RefAttributes<HTMLLabelElement>>>;
|
|
@@ -1665,11 +1705,35 @@ interface ContainerProps {
|
|
|
1665
1705
|
}
|
|
1666
1706
|
declare const LabeledElementView: React$1.NamedExoticComponent<ContainerProps>;
|
|
1667
1707
|
|
|
1668
|
-
|
|
1708
|
+
type LabelType = "inset" | "start" | "end" | "above" | "none";
|
|
1709
|
+
declare const LabelContext: React__default.Context<{
|
|
1710
|
+
fieldId?: string;
|
|
1711
|
+
label?: React__default.ReactNode;
|
|
1712
|
+
}>;
|
|
1713
|
+
type UseLabelParams = {
|
|
1714
|
+
label?: ReactNode;
|
|
1715
|
+
fieldId?: string;
|
|
1716
|
+
};
|
|
1717
|
+
declare const useLabel: ({ label, fieldId }: UseLabelParams) => {
|
|
1718
|
+
label: React__default.ReactNode;
|
|
1719
|
+
fieldId: string | undefined;
|
|
1720
|
+
};
|
|
1721
|
+
declare const LabelTypeContext: React__default.Context<LabelTypeContextValue>;
|
|
1722
|
+
declare const useLabelType: () => LabelType;
|
|
1723
|
+
type LabelTypeContextValue = {
|
|
1724
|
+
type: LabelType;
|
|
1725
|
+
};
|
|
1726
|
+
type LabelWidthContextValue = {
|
|
1727
|
+
width: number;
|
|
1728
|
+
};
|
|
1729
|
+
declare const LabelWidthContext: React__default.Context<LabelWidthContextValue>;
|
|
1730
|
+
declare const useLabelWidth: () => number;
|
|
1731
|
+
|
|
1732
|
+
declare const labeledFieldStyles: (labelType?: LabelType) => string;
|
|
1669
1733
|
declare const LabeledField: React__default.NamedExoticComponent<{
|
|
1670
1734
|
children: React__default.ReactNode;
|
|
1671
1735
|
label: React__default.ReactNode;
|
|
1672
|
-
|
|
1736
|
+
labelType?: LabelType;
|
|
1673
1737
|
labelStyle?: React__default.CSSProperties;
|
|
1674
1738
|
/** Used for both the `id` of the field and the `htmlFor` of the label, unless `id` and `htmlFor` are explicitly provided */
|
|
1675
1739
|
fieldId?: string;
|
|
@@ -1727,7 +1791,9 @@ declare function getPipelineResultLink(value: unknown): {
|
|
|
1727
1791
|
|
|
1728
1792
|
type PopoverVariant = "normal" | "large";
|
|
1729
1793
|
interface Props$7 extends Pick<ComponentProps<(typeof PopoverPrimitive)["Content"]>, "onOpenAutoFocus" | "onCloseAutoFocus" | "onPointerDownOutside" | "onInteractOutside" | "onFocusOutside" | "side"> {
|
|
1730
|
-
children: React__default.ReactNode
|
|
1794
|
+
children: React__default.ReactNode | ((props: {
|
|
1795
|
+
close: () => void;
|
|
1796
|
+
}) => React__default.ReactNode);
|
|
1731
1797
|
trigger: React__default.ReactNode;
|
|
1732
1798
|
variant?: PopoverVariant;
|
|
1733
1799
|
closable?: boolean;
|
|
@@ -1803,10 +1869,14 @@ type SegmentedControlItemProps<T extends string> = {
|
|
|
1803
1869
|
} & Pick<SelectableMenuItem<T>, "value" | "disabled" | "icon" | "role" | "title">;
|
|
1804
1870
|
declare const SegmentedControl: <T extends string>(props: SegmentedControlProps<T>) => React__default.ReactElement | null;
|
|
1805
1871
|
|
|
1806
|
-
type
|
|
1872
|
+
type PopperPrimitiveContentProps = ComponentProps<typeof PopperPrimitive.Content>;
|
|
1873
|
+
type SelectionToolbarContainerProps = Pick<PopperPrimitiveContentProps, "side" | "sideOffset" | "align"> & {
|
|
1807
1874
|
rect: Rect;
|
|
1808
1875
|
children: React__default.ReactNode;
|
|
1809
1876
|
portalContainer?: HTMLElement | null;
|
|
1877
|
+
containerClassName?: string;
|
|
1878
|
+
containerStyle?: React__default.CSSProperties;
|
|
1879
|
+
transitionDuration?: number;
|
|
1810
1880
|
};
|
|
1811
1881
|
declare const SelectionToolbarContainer: React__default.NamedExoticComponent<SelectionToolbarContainerProps>;
|
|
1812
1882
|
|
|
@@ -1922,6 +1992,16 @@ interface Props$2 {
|
|
|
1922
1992
|
}
|
|
1923
1993
|
declare const Switch: ({ id, value, onChange, colorScheme, disabled, onFocus, onBlur, style, className, }: Props$2) => React$1.JSX.Element;
|
|
1924
1994
|
|
|
1995
|
+
type TabsProps<T extends string = string> = {
|
|
1996
|
+
value?: T;
|
|
1997
|
+
onValueChange?: (value: T) => void;
|
|
1998
|
+
items: MenuItem<T>[];
|
|
1999
|
+
renderContent: ({ value }: {
|
|
2000
|
+
value: T;
|
|
2001
|
+
}) => React$1.ReactNode;
|
|
2002
|
+
} & DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
|
|
2003
|
+
declare function Tabs<T extends string = string>({ value, onValueChange, items, renderContent, ...props }: TabsProps<T>): React$1.JSX.Element;
|
|
2004
|
+
|
|
1925
2005
|
declare const useAutoResize: (value: string | undefined) => React__default.MutableRefObject<HTMLTextAreaElement | null>;
|
|
1926
2006
|
declare const TextArea: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<{
|
|
1927
2007
|
onChangeText?: (value: string) => void;
|
|
@@ -1955,6 +2035,8 @@ interface Props$1 {
|
|
|
1955
2035
|
children: React$1.ReactNode;
|
|
1956
2036
|
content: React$1.ReactNode;
|
|
1957
2037
|
sideOffset?: number;
|
|
2038
|
+
side?: ComponentProps<typeof TooltipPrimitive.Content>["side"];
|
|
2039
|
+
portalContainer?: HTMLElement | null;
|
|
1958
2040
|
}
|
|
1959
2041
|
declare const Tooltip: React$1.NamedExoticComponent<Props$1>;
|
|
1960
2042
|
|
|
@@ -2007,16 +2089,16 @@ declare const UserPointer: React__default.NamedExoticComponent<UserPointerProps>
|
|
|
2007
2089
|
|
|
2008
2090
|
type SideType = "auto" | "panel" | "drawer";
|
|
2009
2091
|
type DetectSizeType = "container" | "window";
|
|
2010
|
-
interface WorkspaceLayoutProps {
|
|
2092
|
+
interface WorkspaceLayoutProps<LeftTab extends string, RightTab extends string> extends Pick<LayoutProps<LeftTab, RightTab>, "leftTabItems" | "leftTabValue" | "rightTabItems" | "rightTabValue" | "onChangeLeftTab" | "onChangeRightTab"> {
|
|
2011
2093
|
id?: string;
|
|
2012
2094
|
className?: string;
|
|
2013
2095
|
style?: React__default.CSSProperties;
|
|
2014
2096
|
theme?: "light" | "dark";
|
|
2015
2097
|
autoSavePrefix?: string;
|
|
2016
|
-
left?:
|
|
2098
|
+
left?: RenderPanel<LeftTab>;
|
|
2017
2099
|
leftOptions?: SideOptions;
|
|
2018
2100
|
children?: React__default.ReactNode;
|
|
2019
|
-
right?:
|
|
2101
|
+
right?: RenderPanel<RightTab>;
|
|
2020
2102
|
rightOptions?: SideOptions;
|
|
2021
2103
|
toolbar?: React__default.ReactNode;
|
|
2022
2104
|
sideType?: SideType;
|
|
@@ -2042,8 +2124,9 @@ type SideOptions = {
|
|
|
2042
2124
|
initialSize?: number | string;
|
|
2043
2125
|
minSize?: number | string;
|
|
2044
2126
|
maxSize?: number | string;
|
|
2127
|
+
defaultCollapsed?: boolean;
|
|
2045
2128
|
};
|
|
2046
|
-
declare const WorkspaceLayout:
|
|
2129
|
+
declare const WorkspaceLayout: <LeftTab extends string = string, RightTab extends string = string>(props: WorkspaceLayoutProps<LeftTab, RightTab> & React__default.RefAttributes<WorkspaceLayoutRef>) => React__default.ReactElement | null;
|
|
2047
2130
|
|
|
2048
2131
|
type DesignSystemConfigurationContextValue = {
|
|
2049
2132
|
platform: PlatformName;
|
|
@@ -2195,29 +2278,6 @@ declare const IndentContext: React__default.Context<{
|
|
|
2195
2278
|
}>;
|
|
2196
2279
|
declare const useIndent: () => number;
|
|
2197
2280
|
|
|
2198
|
-
declare const LabelContext: React__default.Context<{
|
|
2199
|
-
fieldId?: string;
|
|
2200
|
-
label?: React__default.ReactNode;
|
|
2201
|
-
}>;
|
|
2202
|
-
type UseLabelParams = {
|
|
2203
|
-
label?: ReactNode;
|
|
2204
|
-
fieldId?: string;
|
|
2205
|
-
};
|
|
2206
|
-
declare const useLabel: ({ label, fieldId }: UseLabelParams) => {
|
|
2207
|
-
label: React__default.ReactNode;
|
|
2208
|
-
fieldId: string | undefined;
|
|
2209
|
-
};
|
|
2210
|
-
declare const LabelPositionContext: React__default.Context<LabelPositionContextValue>;
|
|
2211
|
-
declare const useLabelPosition: () => LabelPosition;
|
|
2212
|
-
type LabelPositionContextValue = {
|
|
2213
|
-
position: LabelPosition;
|
|
2214
|
-
};
|
|
2215
|
-
type LabelWidthContextValue = {
|
|
2216
|
-
width: number;
|
|
2217
|
-
};
|
|
2218
|
-
declare const LabelWidthContext: React__default.Context<LabelWidthContextValue>;
|
|
2219
|
-
declare const useLabelWidth: () => number;
|
|
2220
|
-
|
|
2221
2281
|
declare function usePlatform(): _noya_app_noya_keymap.PlatformName;
|
|
2222
2282
|
/**
|
|
2223
2283
|
* Either ctrl or meta, depending on the platform
|
|
@@ -2314,6 +2374,8 @@ declare function getNextIndex<T>({ items, currentIndex, direction, isDisabled, }
|
|
|
2314
2374
|
}): number;
|
|
2315
2375
|
declare function useComboboxState<T extends string>(state: ComboboxState<T>): ComboboxStateSnapshot<T>;
|
|
2316
2376
|
|
|
2377
|
+
declare const editableBlockStyles: (viewType?: "editable" | "readOnly" | "preview") => string;
|
|
2378
|
+
|
|
2317
2379
|
type MoveOptions = {
|
|
2318
2380
|
paths: number[][];
|
|
2319
2381
|
to: number[];
|
|
@@ -2429,20 +2491,36 @@ declare const ToolbarMenuDropdown: <T extends string>(props: {
|
|
|
2429
2491
|
item: SubMenuItem<T>;
|
|
2430
2492
|
onSelectMenuItem?: (value: T) => void;
|
|
2431
2493
|
}) => React__default.ReactElement | null;
|
|
2494
|
+
declare const ToolbarShortcut: ({ shortcut, label, }: {
|
|
2495
|
+
shortcut: string;
|
|
2496
|
+
label?: ReactNode;
|
|
2497
|
+
}) => React__default.JSX.Element;
|
|
2498
|
+
declare const ToolbarMenuPopover: (props: {
|
|
2499
|
+
item: PopoverMenuItem;
|
|
2500
|
+
portalContainer?: HTMLElement | null;
|
|
2501
|
+
}) => React__default.ReactElement | null;
|
|
2432
2502
|
declare const ToolbarMenuButton: <T extends string>(props: {
|
|
2433
2503
|
item: SelectableMenuItem<T>;
|
|
2434
2504
|
onSelectMenuItem?: (value: T) => void;
|
|
2435
2505
|
as?: ComponentProps<typeof Button>["as"];
|
|
2506
|
+
activeValue?: T;
|
|
2507
|
+
tooltipSide?: ComponentProps<typeof Tooltip>["side"];
|
|
2436
2508
|
}) => React__default.ReactElement | null;
|
|
2437
2509
|
declare const ToolbarMenuItem: <T extends string>(props: {
|
|
2438
2510
|
item: MenuItem<T>;
|
|
2439
2511
|
onSelectMenuItem?: (value: T) => void;
|
|
2440
2512
|
buttonAs?: ComponentProps<typeof Button>["as"];
|
|
2513
|
+
activeValue?: T;
|
|
2514
|
+
tooltipSide?: ComponentProps<typeof Tooltip>["side"];
|
|
2515
|
+
portalContainer?: HTMLElement | null;
|
|
2441
2516
|
}) => React__default.ReactElement | null;
|
|
2442
2517
|
declare const ToolbarMenu: <T extends string>(props: {
|
|
2443
2518
|
items: MenuItem<T>[];
|
|
2444
2519
|
onSelectMenuItem?: (value: T) => void;
|
|
2445
2520
|
buttonAs?: ComponentProps<typeof Button>["as"];
|
|
2521
|
+
activeValue?: T;
|
|
2522
|
+
tooltipSide?: ComponentProps<typeof Tooltip>["side"];
|
|
2523
|
+
portalContainer?: HTMLElement | null;
|
|
2446
2524
|
}) => React__default.ReactElement | null;
|
|
2447
2525
|
interface ToolbarProps<T extends string = string> {
|
|
2448
2526
|
children?: React__default.ReactNode;
|
|
@@ -2455,4 +2533,4 @@ interface ToolbarProps<T extends string = string> {
|
|
|
2455
2533
|
}
|
|
2456
2534
|
declare function Toolbar<T extends string = string>({ children, logo, leftMenuItems, rightMenuItems, onSelectMenuItem, shouldBindKeyboardShortcuts, }: ToolbarProps<T>): React__default.JSX.Element;
|
|
2457
2535
|
|
|
2458
|
-
export { AIAssistantInput, AIAssistantLayout, AIAssistantLoadingIndicator, type AcceptsDrop, type AcceptsDropOptions, type AcceptsFromList, ActionMenu, ActivityIndicator, AnimatePresence, type AnimatePresenceProps, Avatar, type AvatarProps, AvatarStack, Banner, type BannerProps, type BaseComboboxProps, BaseToolbar, type BaseToolbarProps, Body, BreadcrumbSlash, BreadcrumbText, Button, type
|
|
2536
|
+
export { AIAssistantInput, AIAssistantLayout, AIAssistantLoadingIndicator, type AcceptsDrop, type AcceptsDropOptions, type AcceptsFromList, ActionMenu, ActivityIndicator, AnimatePresence, type AnimatePresenceProps, Avatar, type AvatarProps, AvatarStack, Banner, type BannerProps, type BaseComboboxProps, BaseToolbar, type BaseToolbarProps, Body, BreadcrumbSlash, BreadcrumbText, Button, type ButtonProps, CHECKBOX_INDENT_WIDTH, CHECKBOX_RIGHT_INSET, CHECKBOX_WIDTH, CONTENT_AREA_ID, Checkbox$1 as Checkbox, Chip, type ChipProps, Collection, type CollectionItemSize, type CollectionProps, type CollectionRef, type CollectionRenderActionProps, type CollectionThumbnailProps, type CollectionThumbnailSize, type CollectionViewType, ColorSwatch, ColorSwatchControl, type ColorSwatchSize, Combobox, ComboboxMenu, type ComboboxProps, type ComboboxRef, ComboboxState, type ComboboxStateSnapshot, CommandPalette, ConnectedUsersMenuLayout, ContextMenu, type DesignSystemConfigurationContextValue, DesignSystemConfigurationProvider, type DetectSizeType, Dialog, type DialogContextValue, DialogProvider, DimensionInput, type DimensionValue, Divider, DividerVertical, type DragIndicatorStyleProps, type DragItem, type DragState, DraggableMenuButton, Drawer, type DrawerProps, type DropValidator, DropdownMenu, type DropdownRootProps, EDITOR_PANEL_GROUP_ID, type EditableRowProps, EditableText, type EditableTextRef, type ExtractMenuItemType, Fade, type FadeDirection, type FadeProps, FileExplorerCollection, FileExplorerDetail, FileExplorerEmptyState, FileExplorerLayout, FileExplorerUploadButton, FillInputField, FillPreviewBackground, FloatingWindow, FloatingWindowProvider, FullscreenDialog, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, Grid, GridView, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, INPUT_HEIGHT, type IScoredItem, type ISearchCompletionMenu, type IToken, type IVirtualizedList, IconButton, type IconName, type ImageDataContextValue, ImageDataProvider, IndentContext, InputField, type InputFieldInputProps, type InputFieldProps, type InputFieldSize, InspectorContainer, InspectorPrimitives, Italic, KeyboardShortcut, LEFT_SIDEBAR_ID, Label, LabelContext, type LabelProps, type LabelType, LabelTypeContext, type LabelTypeContextValue, LabelWidthContext, type LabelWidthContextValue, LabeledElementView, LabeledField, type LayoutProps, List, type ListRowMarginType, type ListRowPosition, ListView, type ListViewItemInfo, type ListViewRootProps, type ListViewRowProps, Logo, type MatchRange, MediaThumbnail, type MenuComponents, type MenuConfig, type MenuItem, type MenuItemIcon, type MenuItemProps, type MenuItemRole, type MenuProps, MenuViewport, Message, type MessageProps, type MoveDragItemHandler, type MoveDragItemParameters, type MoveTreeItemOptions, type NonSelectableMenuItem, type OpenPortalControlsContextValue, type OpenPortalsContextValue, OpenPortalsProvider, type OptionModeOnlyProps, type OptionModeProps, type Optional, type PanelLayoutState, PatternPreviewBackground, type PercentageSidebarOptions, PipelineResultLayout, PipelineResultLink, Popover, type PopoverMenuItem, type PortalScopeContextValue, PortalScopeProvider, Progress, RIGHT_SIDEBAR_ID, type RelativeDropPosition, type RenderPanel, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, type ScoredMenuItem, ScrollArea, SearchCompletionMenu, Section$1 as Section, SectionHeader$1 as SectionHeader, type SectionHeaderMenuItem, type SectionProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlProps, SelectMenu, type SelectableMenuItem, SelectionToolbarContainer, type SeparatorItem, type SetNumberMode, SharedDragProvider, type SideOptions, type SideType, type SidebarRef, type SketchPattern, Slider, Small, Sortable, SortableItemContext, type SortableItemContextProps, type SortableProps, Spacer, type StringModeOnlyProps, type StringModeProps, type SubMenuItem, type SupportedCanvasUploadType, type SupportedImageUploadType, Switch, Tabs, type TabsProps, Text$1 as Text, TextArea, TextAreaRow, type TextProps, type Theme, type ThemeColor, Toast, ToastProvider, type TokenValue, Toolbar, ToolbarMenu, ToolbarMenuButton, ToolbarMenuDropdown, ToolbarMenuItem, ToolbarMenuPopover, type ToolbarProps, ToolbarShortcut, Tooltip, TreeView, type UseThemeReturnType, UserAvatar, UserPointer, type UserPointerProps, type ValidateDropIndicatorParams, WorkspaceLayout, type WorkspaceLayoutProps, type WorkspaceLayoutRef, acceptsDrop, colorForStringValues, colorFromString, colorSwatchSizeMap, createDragItemKey, createSectionedMenu, createSharedDrag, cssVarNames, cssVars, cx, defaultAcceptsDrop, dragItemKeySeparator, editableBlockStyles, filterWithGroupedSections, fuzzyFilter, fuzzyScore, fuzzyTokenize, getClosestPortalScope, getFieldSpacing, getGradientBackground, getGridSize, getItemFirstCollisionDetection, getKeyboardShortcutsForMenuItems, getMenuItemKey, getNewValue, getNextIndex, getPipelineResultLink, getThumbnailColors, isMenuItemSectionHeader, isNonSelectableMenuItem, isPopoverMenuItem, isSelectableMenuItem, isSelectableMenuItemWithScore, labeledFieldStyles, mediaQuery, mergeConflictingClassNames, moveTreeItem, normalizeListTargetIndex, parseDragItemKey, popoverStyle, portalScopeDataSetName, portalScopePropName, portalScopeProps, renderIcon, rgbaToSketchColor, separator, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, styles, textStyles, updateSelection, useAutoResize, useComboboxState, useCurrentFloatingWindowInternal, useDesignSystemConfiguration, useDialogContainsElement, useDialogContext, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHasOpenPortals, useHover, useImageData, useIndent, useInputFieldContext, useLabel, useLabelType, useLabelWidth, useOpenConfirmationDialog, useOpenDialog, useOpenInputDialog, useOpenPortalsControls, usePlatform, usePlatformModKey, usePortalScopeId, usePreservePanelSize, useTheme, validateDropIndicator, withDragProvider, withSeparatorElements };
|