@noya-app/noya-designsystem 0.1.10 → 0.1.12
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/.turbo/turbo-build.log +9 -9
- package/CHANGELOG.md +17 -0
- package/dist/index.d.mts +51 -9
- package/dist/index.d.ts +51 -9
- package/dist/index.js +981 -616
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +898 -538
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/components/Avatar.tsx +85 -34
- package/src/components/Button.tsx +1 -1
- package/src/components/FloatingWindow.tsx +315 -0
- package/src/components/Text.tsx +2 -1
- package/src/components/internal/Menu.tsx +1 -3
- package/src/contexts/DesignSystemConfiguration.tsx +12 -9
- package/src/contexts/FloatingWindowContext.tsx +85 -0
- package/src/index.tsx +3 -1
- package/src/theme/dark.ts +2 -0
- package/src/theme/light.ts +9 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
[34mCLI[39m Target: esnext
|
|
6
6
|
[34mCJS[39m Build start
|
|
7
7
|
[34mESM[39m Build start
|
|
8
|
-
[
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
8
|
+
[32mCJS[39m [1mdist/index.js [22m[32m213.16 KB[39m
|
|
9
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m432.10 KB[39m
|
|
10
|
+
[32mCJS[39m ⚡️ Build success in 164ms
|
|
11
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m196.22 KB[39m
|
|
12
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m431.93 KB[39m
|
|
13
|
+
[32mESM[39m ⚡️ Build success in 178ms
|
|
14
14
|
[34mDTS[39m Build start
|
|
15
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[
|
|
15
|
+
[32mDTS[39m ⚡️ Build success in 7581ms
|
|
16
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m56.28 KB[39m
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m56.28 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @noya-app/noya-designsystem
|
|
2
2
|
|
|
3
|
+
## 0.1.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4661b34: Reorder providers
|
|
8
|
+
|
|
9
|
+
## 0.1.11
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 3680245: Add floating window API, improve keymap names
|
|
14
|
+
- d694f45: Bump package versions
|
|
15
|
+
- Updated dependencies [3680245]
|
|
16
|
+
- Updated dependencies [d694f45]
|
|
17
|
+
- @noya-app/noya-keymap@0.1.2
|
|
18
|
+
- @noya-app/noya-icons@0.1.3
|
|
19
|
+
|
|
3
20
|
## 0.1.10
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -26,12 +26,18 @@ interface Props$h {
|
|
|
26
26
|
}
|
|
27
27
|
declare const ActivityIndicator: (props: Props$h) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
28
28
|
|
|
29
|
-
declare
|
|
30
|
-
image?: string;
|
|
31
|
-
name?: string;
|
|
32
|
-
fallback?: string;
|
|
29
|
+
declare const Avatar: (props: {
|
|
30
|
+
image?: string | undefined;
|
|
31
|
+
name?: string | undefined;
|
|
32
|
+
fallback?: string | undefined;
|
|
33
|
+
size?: number | undefined;
|
|
34
|
+
overflow?: number | undefined;
|
|
35
|
+
style?: React__default.CSSProperties | undefined;
|
|
36
|
+
className?: string | undefined;
|
|
37
|
+
} & React__default.RefAttributes<HTMLDivElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
38
|
+
declare function AvatarStack({ size, children, }: {
|
|
33
39
|
size?: number;
|
|
34
|
-
|
|
40
|
+
children: React__default.ReactNode;
|
|
35
41
|
}): React__default.JSX.Element;
|
|
36
42
|
|
|
37
43
|
type ButtonVariant = "normal" | "primary" | "primaryGradient" | "secondary" | "secondaryBright" | "white" | "thin" | "floating" | "none";
|
|
@@ -86,6 +92,7 @@ interface ChipProps {
|
|
|
86
92
|
}
|
|
87
93
|
declare const Chip: (props: ChipProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
88
94
|
|
|
95
|
+
declare const name$1: string;
|
|
89
96
|
declare const colors$1: {
|
|
90
97
|
logo: {
|
|
91
98
|
fill: string;
|
|
@@ -171,6 +178,7 @@ declare const textStyles: {
|
|
|
171
178
|
heading5: CSSObject;
|
|
172
179
|
body: CSSObject;
|
|
173
180
|
small: CSSObject;
|
|
181
|
+
button: CSSObject;
|
|
174
182
|
code: CSSObject;
|
|
175
183
|
label: CSSObject;
|
|
176
184
|
};
|
|
@@ -202,7 +210,7 @@ declare const lightTheme_fonts: typeof fonts;
|
|
|
202
210
|
declare const lightTheme_sizes: typeof sizes;
|
|
203
211
|
declare const lightTheme_textStyles: typeof textStyles;
|
|
204
212
|
declare namespace lightTheme {
|
|
205
|
-
export { colors$1 as colors, lightTheme_fonts as fonts, lightTheme_sizes as sizes, lightTheme_textStyles as textStyles };
|
|
213
|
+
export { colors$1 as colors, lightTheme_fonts as fonts, name$1 as name, lightTheme_sizes as sizes, lightTheme_textStyles as textStyles };
|
|
206
214
|
}
|
|
207
215
|
|
|
208
216
|
type Theme = typeof lightTheme;
|
|
@@ -294,7 +302,7 @@ declare const DraggableMenuButton: <T extends string>(props: {
|
|
|
294
302
|
declare const DropdownMenu: <T extends string>(props: MenuProps<T> & {
|
|
295
303
|
open?: boolean | undefined;
|
|
296
304
|
onCloseAutoFocus?: ((event: React__default.SyntheticEvent<unknown, Event>) => void) | undefined;
|
|
297
|
-
} & Pick<RadixDropdownMenu.DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>, "
|
|
305
|
+
} & Pick<RadixDropdownMenu.DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>, "align" | "side" | "sideOffset" | "alignOffset" | "collisionPadding"> & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
298
306
|
|
|
299
307
|
declare const SUPPORTED_IMAGE_UPLOAD_TYPES: ("image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
|
|
300
308
|
declare const SUPPORTED_CANVAS_UPLOAD_TYPES: ("" | "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
|
|
@@ -324,6 +332,25 @@ interface Props$e {
|
|
|
324
332
|
}
|
|
325
333
|
declare const FillPreviewBackground: (props: Props$e) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
326
334
|
|
|
335
|
+
interface FloatingWindowProps {
|
|
336
|
+
title?: string;
|
|
337
|
+
onClose?: () => void;
|
|
338
|
+
children: React__default.ReactNode;
|
|
339
|
+
initialWidth?: number;
|
|
340
|
+
initialHeight?: number;
|
|
341
|
+
initialX?: number;
|
|
342
|
+
initialY?: number;
|
|
343
|
+
minWidth?: number;
|
|
344
|
+
minHeight?: number;
|
|
345
|
+
toolbarContent?: React__default.ReactNode;
|
|
346
|
+
renderToolbar?: (props: {
|
|
347
|
+
title?: string;
|
|
348
|
+
toolbarContent?: React__default.ReactNode;
|
|
349
|
+
onClose?: () => void;
|
|
350
|
+
}) => React__default.ReactNode;
|
|
351
|
+
}
|
|
352
|
+
declare const FloatingWindow: React__default.FC<FloatingWindowProps>;
|
|
353
|
+
|
|
327
354
|
interface Props$d {
|
|
328
355
|
value: Sketch.GradientStop[];
|
|
329
356
|
selectedStop: number;
|
|
@@ -1047,6 +1074,19 @@ declare const DialogProvider: ({ children, }: {
|
|
|
1047
1074
|
declare function useOpenInputDialog(): (title: string, inputValue?: string | undefined) => Promise<string | undefined>;
|
|
1048
1075
|
declare function useDialogContainsElement(): (element: HTMLElement) => boolean;
|
|
1049
1076
|
|
|
1077
|
+
type FloatingWindowContextValue = {
|
|
1078
|
+
createWindow: (element: React__default.ReactNode) => string;
|
|
1079
|
+
closeWindow: (id: string) => void;
|
|
1080
|
+
};
|
|
1081
|
+
type CurrentWindowContextValue = {
|
|
1082
|
+
id: string;
|
|
1083
|
+
};
|
|
1084
|
+
declare const FloatingWindowProvider: ({ children, }: {
|
|
1085
|
+
children: React__default.ReactNode;
|
|
1086
|
+
}) => React__default.JSX.Element;
|
|
1087
|
+
declare const useFloatingWindowManager: () => FloatingWindowContextValue;
|
|
1088
|
+
declare const useCurrentFloatingWindowInternal: () => CurrentWindowContextValue;
|
|
1089
|
+
|
|
1050
1090
|
type ImageDataContextValue = {
|
|
1051
1091
|
getImageData: (ref: string) => ArrayBuffer | undefined;
|
|
1052
1092
|
};
|
|
@@ -1123,6 +1163,7 @@ declare const mediaQuery: {
|
|
|
1123
1163
|
xlarge: string;
|
|
1124
1164
|
};
|
|
1125
1165
|
|
|
1166
|
+
declare const name: string;
|
|
1126
1167
|
declare const colors: {
|
|
1127
1168
|
logo: {
|
|
1128
1169
|
fill: string;
|
|
@@ -1197,10 +1238,11 @@ declare const colors: {
|
|
|
1197
1238
|
|
|
1198
1239
|
declare const dark_colors: typeof colors;
|
|
1199
1240
|
declare const dark_fonts: typeof fonts;
|
|
1241
|
+
declare const dark_name: typeof name;
|
|
1200
1242
|
declare const dark_sizes: typeof sizes;
|
|
1201
1243
|
declare const dark_textStyles: typeof textStyles;
|
|
1202
1244
|
declare namespace dark {
|
|
1203
|
-
export { dark_colors as colors, dark_fonts as fonts, dark_sizes as sizes, dark_textStyles as textStyles };
|
|
1245
|
+
export { dark_colors as colors, dark_fonts as fonts, dark_name as name, dark_sizes as sizes, dark_textStyles as textStyles };
|
|
1204
1246
|
}
|
|
1205
1247
|
|
|
1206
1248
|
type Optional<T> = T | false | null | undefined;
|
|
@@ -1303,4 +1345,4 @@ declare module "react" {
|
|
|
1303
1345
|
function forwardRef<T, P = {}>(render: (props: P, ref: React.ForwardedRef<T>) => React.ReactElement | null): (props: P & React.RefAttributes<T>) => React.ReactElement | null;
|
|
1304
1346
|
}
|
|
1305
1347
|
|
|
1306
|
-
export { ActivityIndicator, ArrayController, type ArrayControllerProps, Avatar, Body, Button, ButtonElement, type ButtonRootProps, Chip, type ChipProps, CloseButtonContainer, type Colors, type CompletionItem, type CompletionListItem, CompletionMenu, type CompletionSectionHeader, CompletionToken, ContextMenu, type DesignSystemConfigurationContextValue, DesignSystemConfigurationProvider, Dialog, type DialogContextValue, DialogProvider, DimensionInput, type DimensionValue, Divider, DividerVertical, DraggableMenuButton, type DropValidator, DropdownMenu, type EditableRowProps, type ExtractMenuItemType, FillInputField, FillPreviewBackground, FullscreenDialog, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, type GridProps, GridView, type GridViewSize, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, type IInputFieldWithCompletions, type IScoredItem, type IToken, type IVirtualizedList, IconButton, type ImageDataContextValue, ImageDataProvider, InputElement, InputField, type InputFieldSize, InputFieldWithCompletions, InspectorPrimitives, Italic, KeyboardShortcut, Label, LabeledElementView, type ListRowMarginType, type ListRowPosition, ListView, type MatchRange, type MenuConfig, type MenuItem, type MenuItemProps, type MenuProps, type Optional, PatternPreviewBackground, Popover, Progress, RadioGroup, type RegularMenuItem, type RelativeDropPosition, Row$1 as Row, SEPARATOR_ITEM, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, ScrollArea, Select, SelectOption, type SetNumberMode, type SketchPattern, Slider, Small, Sortable, Spacer, Stack, type StackBreakpointList, type SupportedCanvasUploadType, type SupportedImageUploadType, Switch, Text$1 as Text, type TextBreakpointList, type Theme, type ThemeColorName, Toast, ToastProvider, Tooltip, TreeView, createSectionedMenu, dark as darkTheme, fuzzyFilter, fuzzyScore, fuzzyTokenize, getGradientBackground, getNewValue, lightTheme, mediaQuery, normalizeListDestinationIndex, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, withSeparatorElements };
|
|
1348
|
+
export { ActivityIndicator, ArrayController, type ArrayControllerProps, Avatar, AvatarStack, Body, Button, ButtonElement, type ButtonRootProps, Chip, type ChipProps, CloseButtonContainer, type Colors, type CompletionItem, type CompletionListItem, CompletionMenu, type CompletionSectionHeader, CompletionToken, ContextMenu, type DesignSystemConfigurationContextValue, DesignSystemConfigurationProvider, Dialog, type DialogContextValue, DialogProvider, DimensionInput, type DimensionValue, Divider, DividerVertical, DraggableMenuButton, type DropValidator, DropdownMenu, type EditableRowProps, type ExtractMenuItemType, FillInputField, FillPreviewBackground, FloatingWindow, FloatingWindowProvider, FullscreenDialog, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, type GridProps, GridView, type GridViewSize, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, type IInputFieldWithCompletions, type IScoredItem, type IToken, type IVirtualizedList, IconButton, type ImageDataContextValue, ImageDataProvider, InputElement, InputField, type InputFieldSize, InputFieldWithCompletions, InspectorPrimitives, Italic, KeyboardShortcut, Label, LabeledElementView, type ListRowMarginType, type ListRowPosition, ListView, type MatchRange, type MenuConfig, type MenuItem, type MenuItemProps, type MenuProps, type Optional, PatternPreviewBackground, Popover, Progress, RadioGroup, type RegularMenuItem, type RelativeDropPosition, Row$1 as Row, SEPARATOR_ITEM, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, ScrollArea, Select, SelectOption, type SetNumberMode, type SketchPattern, Slider, Small, Sortable, Spacer, Stack, type StackBreakpointList, type SupportedCanvasUploadType, type SupportedImageUploadType, Switch, Text$1 as Text, type TextBreakpointList, type Theme, type ThemeColorName, Toast, ToastProvider, Tooltip, TreeView, createSectionedMenu, dark as darkTheme, fuzzyFilter, fuzzyScore, fuzzyTokenize, getGradientBackground, getNewValue, lightTheme, mediaQuery, normalizeListDestinationIndex, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useCurrentFloatingWindowInternal, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, withSeparatorElements };
|
package/dist/index.d.ts
CHANGED
|
@@ -26,12 +26,18 @@ interface Props$h {
|
|
|
26
26
|
}
|
|
27
27
|
declare const ActivityIndicator: (props: Props$h) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
28
28
|
|
|
29
|
-
declare
|
|
30
|
-
image?: string;
|
|
31
|
-
name?: string;
|
|
32
|
-
fallback?: string;
|
|
29
|
+
declare const Avatar: (props: {
|
|
30
|
+
image?: string | undefined;
|
|
31
|
+
name?: string | undefined;
|
|
32
|
+
fallback?: string | undefined;
|
|
33
|
+
size?: number | undefined;
|
|
34
|
+
overflow?: number | undefined;
|
|
35
|
+
style?: React__default.CSSProperties | undefined;
|
|
36
|
+
className?: string | undefined;
|
|
37
|
+
} & React__default.RefAttributes<HTMLDivElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
38
|
+
declare function AvatarStack({ size, children, }: {
|
|
33
39
|
size?: number;
|
|
34
|
-
|
|
40
|
+
children: React__default.ReactNode;
|
|
35
41
|
}): React__default.JSX.Element;
|
|
36
42
|
|
|
37
43
|
type ButtonVariant = "normal" | "primary" | "primaryGradient" | "secondary" | "secondaryBright" | "white" | "thin" | "floating" | "none";
|
|
@@ -86,6 +92,7 @@ interface ChipProps {
|
|
|
86
92
|
}
|
|
87
93
|
declare const Chip: (props: ChipProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
88
94
|
|
|
95
|
+
declare const name$1: string;
|
|
89
96
|
declare const colors$1: {
|
|
90
97
|
logo: {
|
|
91
98
|
fill: string;
|
|
@@ -171,6 +178,7 @@ declare const textStyles: {
|
|
|
171
178
|
heading5: CSSObject;
|
|
172
179
|
body: CSSObject;
|
|
173
180
|
small: CSSObject;
|
|
181
|
+
button: CSSObject;
|
|
174
182
|
code: CSSObject;
|
|
175
183
|
label: CSSObject;
|
|
176
184
|
};
|
|
@@ -202,7 +210,7 @@ declare const lightTheme_fonts: typeof fonts;
|
|
|
202
210
|
declare const lightTheme_sizes: typeof sizes;
|
|
203
211
|
declare const lightTheme_textStyles: typeof textStyles;
|
|
204
212
|
declare namespace lightTheme {
|
|
205
|
-
export { colors$1 as colors, lightTheme_fonts as fonts, lightTheme_sizes as sizes, lightTheme_textStyles as textStyles };
|
|
213
|
+
export { colors$1 as colors, lightTheme_fonts as fonts, name$1 as name, lightTheme_sizes as sizes, lightTheme_textStyles as textStyles };
|
|
206
214
|
}
|
|
207
215
|
|
|
208
216
|
type Theme = typeof lightTheme;
|
|
@@ -294,7 +302,7 @@ declare const DraggableMenuButton: <T extends string>(props: {
|
|
|
294
302
|
declare const DropdownMenu: <T extends string>(props: MenuProps<T> & {
|
|
295
303
|
open?: boolean | undefined;
|
|
296
304
|
onCloseAutoFocus?: ((event: React__default.SyntheticEvent<unknown, Event>) => void) | undefined;
|
|
297
|
-
} & Pick<RadixDropdownMenu.DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>, "
|
|
305
|
+
} & Pick<RadixDropdownMenu.DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>, "align" | "side" | "sideOffset" | "alignOffset" | "collisionPadding"> & React__default.RefAttributes<HTMLElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
298
306
|
|
|
299
307
|
declare const SUPPORTED_IMAGE_UPLOAD_TYPES: ("image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
|
|
300
308
|
declare const SUPPORTED_CANVAS_UPLOAD_TYPES: ("" | "image/png" | "image/jpeg" | "image/webp" | "image/svg+xml" | "application/pdf")[];
|
|
@@ -324,6 +332,25 @@ interface Props$e {
|
|
|
324
332
|
}
|
|
325
333
|
declare const FillPreviewBackground: (props: Props$e) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
326
334
|
|
|
335
|
+
interface FloatingWindowProps {
|
|
336
|
+
title?: string;
|
|
337
|
+
onClose?: () => void;
|
|
338
|
+
children: React__default.ReactNode;
|
|
339
|
+
initialWidth?: number;
|
|
340
|
+
initialHeight?: number;
|
|
341
|
+
initialX?: number;
|
|
342
|
+
initialY?: number;
|
|
343
|
+
minWidth?: number;
|
|
344
|
+
minHeight?: number;
|
|
345
|
+
toolbarContent?: React__default.ReactNode;
|
|
346
|
+
renderToolbar?: (props: {
|
|
347
|
+
title?: string;
|
|
348
|
+
toolbarContent?: React__default.ReactNode;
|
|
349
|
+
onClose?: () => void;
|
|
350
|
+
}) => React__default.ReactNode;
|
|
351
|
+
}
|
|
352
|
+
declare const FloatingWindow: React__default.FC<FloatingWindowProps>;
|
|
353
|
+
|
|
327
354
|
interface Props$d {
|
|
328
355
|
value: Sketch.GradientStop[];
|
|
329
356
|
selectedStop: number;
|
|
@@ -1047,6 +1074,19 @@ declare const DialogProvider: ({ children, }: {
|
|
|
1047
1074
|
declare function useOpenInputDialog(): (title: string, inputValue?: string | undefined) => Promise<string | undefined>;
|
|
1048
1075
|
declare function useDialogContainsElement(): (element: HTMLElement) => boolean;
|
|
1049
1076
|
|
|
1077
|
+
type FloatingWindowContextValue = {
|
|
1078
|
+
createWindow: (element: React__default.ReactNode) => string;
|
|
1079
|
+
closeWindow: (id: string) => void;
|
|
1080
|
+
};
|
|
1081
|
+
type CurrentWindowContextValue = {
|
|
1082
|
+
id: string;
|
|
1083
|
+
};
|
|
1084
|
+
declare const FloatingWindowProvider: ({ children, }: {
|
|
1085
|
+
children: React__default.ReactNode;
|
|
1086
|
+
}) => React__default.JSX.Element;
|
|
1087
|
+
declare const useFloatingWindowManager: () => FloatingWindowContextValue;
|
|
1088
|
+
declare const useCurrentFloatingWindowInternal: () => CurrentWindowContextValue;
|
|
1089
|
+
|
|
1050
1090
|
type ImageDataContextValue = {
|
|
1051
1091
|
getImageData: (ref: string) => ArrayBuffer | undefined;
|
|
1052
1092
|
};
|
|
@@ -1123,6 +1163,7 @@ declare const mediaQuery: {
|
|
|
1123
1163
|
xlarge: string;
|
|
1124
1164
|
};
|
|
1125
1165
|
|
|
1166
|
+
declare const name: string;
|
|
1126
1167
|
declare const colors: {
|
|
1127
1168
|
logo: {
|
|
1128
1169
|
fill: string;
|
|
@@ -1197,10 +1238,11 @@ declare const colors: {
|
|
|
1197
1238
|
|
|
1198
1239
|
declare const dark_colors: typeof colors;
|
|
1199
1240
|
declare const dark_fonts: typeof fonts;
|
|
1241
|
+
declare const dark_name: typeof name;
|
|
1200
1242
|
declare const dark_sizes: typeof sizes;
|
|
1201
1243
|
declare const dark_textStyles: typeof textStyles;
|
|
1202
1244
|
declare namespace dark {
|
|
1203
|
-
export { dark_colors as colors, dark_fonts as fonts, dark_sizes as sizes, dark_textStyles as textStyles };
|
|
1245
|
+
export { dark_colors as colors, dark_fonts as fonts, dark_name as name, dark_sizes as sizes, dark_textStyles as textStyles };
|
|
1204
1246
|
}
|
|
1205
1247
|
|
|
1206
1248
|
type Optional<T> = T | false | null | undefined;
|
|
@@ -1303,4 +1345,4 @@ declare module "react" {
|
|
|
1303
1345
|
function forwardRef<T, P = {}>(render: (props: P, ref: React.ForwardedRef<T>) => React.ReactElement | null): (props: P & React.RefAttributes<T>) => React.ReactElement | null;
|
|
1304
1346
|
}
|
|
1305
1347
|
|
|
1306
|
-
export { ActivityIndicator, ArrayController, type ArrayControllerProps, Avatar, Body, Button, ButtonElement, type ButtonRootProps, Chip, type ChipProps, CloseButtonContainer, type Colors, type CompletionItem, type CompletionListItem, CompletionMenu, type CompletionSectionHeader, CompletionToken, ContextMenu, type DesignSystemConfigurationContextValue, DesignSystemConfigurationProvider, Dialog, type DialogContextValue, DialogProvider, DimensionInput, type DimensionValue, Divider, DividerVertical, DraggableMenuButton, type DropValidator, DropdownMenu, type EditableRowProps, type ExtractMenuItemType, FillInputField, FillPreviewBackground, FullscreenDialog, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, type GridProps, GridView, type GridViewSize, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, type IInputFieldWithCompletions, type IScoredItem, type IToken, type IVirtualizedList, IconButton, type ImageDataContextValue, ImageDataProvider, InputElement, InputField, type InputFieldSize, InputFieldWithCompletions, InspectorPrimitives, Italic, KeyboardShortcut, Label, LabeledElementView, type ListRowMarginType, type ListRowPosition, ListView, type MatchRange, type MenuConfig, type MenuItem, type MenuItemProps, type MenuProps, type Optional, PatternPreviewBackground, Popover, Progress, RadioGroup, type RegularMenuItem, type RelativeDropPosition, Row$1 as Row, SEPARATOR_ITEM, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, ScrollArea, Select, SelectOption, type SetNumberMode, type SketchPattern, Slider, Small, Sortable, Spacer, Stack, type StackBreakpointList, type SupportedCanvasUploadType, type SupportedImageUploadType, Switch, Text$1 as Text, type TextBreakpointList, type Theme, type ThemeColorName, Toast, ToastProvider, Tooltip, TreeView, createSectionedMenu, dark as darkTheme, fuzzyFilter, fuzzyScore, fuzzyTokenize, getGradientBackground, getNewValue, lightTheme, mediaQuery, normalizeListDestinationIndex, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, withSeparatorElements };
|
|
1348
|
+
export { ActivityIndicator, ArrayController, type ArrayControllerProps, Avatar, AvatarStack, Body, Button, ButtonElement, type ButtonRootProps, Chip, type ChipProps, CloseButtonContainer, type Colors, type CompletionItem, type CompletionListItem, CompletionMenu, type CompletionSectionHeader, CompletionToken, ContextMenu, type DesignSystemConfigurationContextValue, DesignSystemConfigurationProvider, Dialog, type DialogContextValue, DialogProvider, DimensionInput, type DimensionValue, Divider, DividerVertical, DraggableMenuButton, type DropValidator, DropdownMenu, type EditableRowProps, type ExtractMenuItemType, FillInputField, FillPreviewBackground, FloatingWindow, FloatingWindowProvider, FullscreenDialog, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, type GridProps, GridView, type GridViewSize, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, type IInputFieldWithCompletions, type IScoredItem, type IToken, type IVirtualizedList, IconButton, type ImageDataContextValue, ImageDataProvider, InputElement, InputField, type InputFieldSize, InputFieldWithCompletions, InspectorPrimitives, Italic, KeyboardShortcut, Label, LabeledElementView, type ListRowMarginType, type ListRowPosition, ListView, type MatchRange, type MenuConfig, type MenuItem, type MenuItemProps, type MenuProps, type Optional, PatternPreviewBackground, Popover, Progress, RadioGroup, type RegularMenuItem, type RelativeDropPosition, Row$1 as Row, SEPARATOR_ITEM, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, ScrollArea, Select, SelectOption, type SetNumberMode, type SketchPattern, Slider, Small, Sortable, Spacer, Stack, type StackBreakpointList, type SupportedCanvasUploadType, type SupportedImageUploadType, Switch, Text$1 as Text, type TextBreakpointList, type Theme, type ThemeColorName, Toast, ToastProvider, Tooltip, TreeView, createSectionedMenu, dark as darkTheme, fuzzyFilter, fuzzyScore, fuzzyTokenize, getGradientBackground, getNewValue, lightTheme, mediaQuery, normalizeListDestinationIndex, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useCurrentFloatingWindowInternal, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, withSeparatorElements };
|