@noya-app/noya-designsystem 0.1.24 → 0.1.26
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 +14 -0
- package/dist/index.d.mts +23 -3
- package/dist/index.d.ts +23 -3
- package/dist/index.js +347 -162
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +373 -193
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/components/Button.tsx +7 -0
- package/src/components/Chip.tsx +16 -11
- package/src/components/InputField.tsx +48 -8
- package/src/components/InputFieldWithCompletions.tsx +5 -3
- package/src/components/InspectorPrimitives.tsx +1 -1
- package/src/components/ListView.tsx +36 -8
- package/src/components/SelectMenu.tsx +40 -5
- package/src/components/Switch.tsx +3 -0
- package/src/components/Text.tsx +3 -0
- package/src/components/TextArea.tsx +82 -0
- package/src/index.tsx +1 -0
- package/src/theme/light.ts +26 -22
package/.turbo/turbo-build.log
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
[34mCJS[39m Build start
|
|
7
7
|
[34mESM[39m Build start
|
|
8
8
|
[34mDTS[39m Build start
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
17
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[
|
|
9
|
+
[32mCJS[39m [1mdist/index.js [22m[32m237.57 KB[39m
|
|
10
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m477.33 KB[39m
|
|
11
|
+
[32mCJS[39m ⚡️ Build success in 262ms
|
|
12
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m218.90 KB[39m
|
|
13
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m477.46 KB[39m
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 262ms
|
|
15
|
+
[32mDTS[39m ⚡️ Build success in 11217ms
|
|
16
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m62.86 KB[39m
|
|
17
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m62.86 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @noya-app/noya-designsystem
|
|
2
2
|
|
|
3
|
+
## 0.1.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 740bd32: Handle tools, creators, tags
|
|
8
|
+
- 5978f81: Update line height
|
|
9
|
+
- @noya-app/noya-colorpicker@0.1.11
|
|
10
|
+
|
|
11
|
+
## 0.1.25
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- b1903d5: Update json editor and improve multiplayer sync
|
|
16
|
+
|
|
3
17
|
## 0.1.24
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -66,6 +66,7 @@ interface ButtonRootProps {
|
|
|
66
66
|
contentStyle?: CSSProperties;
|
|
67
67
|
defaultBackground?: string;
|
|
68
68
|
as?: React__default.ElementType;
|
|
69
|
+
htmlFor?: string;
|
|
69
70
|
href?: string;
|
|
70
71
|
target?: string;
|
|
71
72
|
rel?: string;
|
|
@@ -73,7 +74,7 @@ interface ButtonRootProps {
|
|
|
73
74
|
declare const Button: (props: ButtonRootProps & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
74
75
|
|
|
75
76
|
type ChipColorScheme = "primary" | "secondary" | "error";
|
|
76
|
-
type ChipSize = "small" | "medium";
|
|
77
|
+
type ChipSize = "small" | "medium" | "large";
|
|
77
78
|
type ChipVariant = "solid" | "outlined" | "ghost";
|
|
78
79
|
interface ChipProps {
|
|
79
80
|
id?: string;
|
|
@@ -101,6 +102,7 @@ declare const colors$1: {
|
|
|
101
102
|
fill: string;
|
|
102
103
|
highlight: string;
|
|
103
104
|
};
|
|
105
|
+
background: string;
|
|
104
106
|
text: string;
|
|
105
107
|
textMuted: string;
|
|
106
108
|
textSubtle: string;
|
|
@@ -111,8 +113,10 @@ declare const colors$1: {
|
|
|
111
113
|
dividerStrong: string;
|
|
112
114
|
primary: string;
|
|
113
115
|
primaryLight: string;
|
|
116
|
+
primaryPastel: string;
|
|
114
117
|
secondary: string;
|
|
115
118
|
secondaryLight: string;
|
|
119
|
+
secondaryPastel: string;
|
|
116
120
|
secondaryBright: string;
|
|
117
121
|
warning: string;
|
|
118
122
|
neutralBackground: string;
|
|
@@ -530,6 +534,7 @@ declare namespace InputField {
|
|
|
530
534
|
variant?: "bare" | undefined;
|
|
531
535
|
}) & React__default.RefAttributes<HTMLInputElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
532
536
|
const Typeahead: (props: {
|
|
537
|
+
prefix: string;
|
|
533
538
|
value: string;
|
|
534
539
|
}) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
535
540
|
const NumberInput: (props: InputFieldNumberInputProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
@@ -539,6 +544,7 @@ declare namespace InputField {
|
|
|
539
544
|
onClick?: (() => void) | undefined;
|
|
540
545
|
}) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
541
546
|
const Label: (props: InputFieldLabelProps & React__default.RefAttributes<HTMLLabelElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
547
|
+
const PrimitiveElement: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<React__default.DetailedHTMLProps<React__default.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
|
|
542
548
|
}
|
|
543
549
|
|
|
544
550
|
declare function fuzzyScore({ item, query }: {
|
|
@@ -660,6 +666,7 @@ interface ListViewRowProps<MenuItemType extends string = string> {
|
|
|
660
666
|
onMenuOpenChange?: (isOpen: boolean) => void;
|
|
661
667
|
onKeyDown?: (event: React__default.KeyboardEvent) => void;
|
|
662
668
|
style?: CSSProperties;
|
|
669
|
+
className?: string;
|
|
663
670
|
dragIndicatorStyle?: CSSProperties | ((props: {
|
|
664
671
|
depth: number;
|
|
665
672
|
indentation: number;
|
|
@@ -871,6 +878,8 @@ type Props$8<T extends string> = {
|
|
|
871
878
|
value: T;
|
|
872
879
|
onSelect?: (value: T) => void;
|
|
873
880
|
placeholder?: string;
|
|
881
|
+
disabled?: boolean;
|
|
882
|
+
readOnly?: boolean;
|
|
874
883
|
};
|
|
875
884
|
declare const SelectMenu: <T extends string = string>(props: Props$8<T>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
876
885
|
|
|
@@ -975,8 +984,9 @@ interface Props$4 {
|
|
|
975
984
|
value: boolean;
|
|
976
985
|
onChange: (value: boolean) => void;
|
|
977
986
|
colorScheme?: SwitchColorScheme;
|
|
987
|
+
disabled?: boolean;
|
|
978
988
|
}
|
|
979
|
-
declare const Switch: ({ value, onChange, colorScheme, }: Props$4) => React__default.JSX.Element;
|
|
989
|
+
declare const Switch: ({ value, onChange, colorScheme, disabled, }: Props$4) => React__default.JSX.Element;
|
|
980
990
|
|
|
981
991
|
type StyleProps = {
|
|
982
992
|
flex?: CSSProperties$1["flex"];
|
|
@@ -1013,6 +1023,7 @@ interface Props$3 extends StyleProps {
|
|
|
1013
1023
|
as?: keyof ReactHTML;
|
|
1014
1024
|
href?: string;
|
|
1015
1025
|
className?: string;
|
|
1026
|
+
style?: React__default.CSSProperties;
|
|
1016
1027
|
variant: keyof Theme["textStyles"];
|
|
1017
1028
|
breakpoints?: BreakpointCollection<StyleProps> | null | false;
|
|
1018
1029
|
color?: ThemeColorName;
|
|
@@ -1035,6 +1046,12 @@ declare const Italic: ({ children }: {
|
|
|
1035
1046
|
children: ReactNode;
|
|
1036
1047
|
}) => React__default.JSX.Element;
|
|
1037
1048
|
|
|
1049
|
+
declare const useAutoResize: (value: string) => React__default.MutableRefObject<HTMLTextAreaElement | null>;
|
|
1050
|
+
declare const AutoResizingTextArea: (props: Omit<styled_components.FastOmit<React__default.DetailedHTMLProps<React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, never>, "onChange" | "value"> & {
|
|
1051
|
+
onChangeText: (value: string) => void;
|
|
1052
|
+
value?: string | undefined;
|
|
1053
|
+
} & React__default.RefAttributes<HTMLTextAreaElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
1054
|
+
|
|
1038
1055
|
declare const Toast: ({ title, content, children, ...props }: {
|
|
1039
1056
|
title?: string | undefined;
|
|
1040
1057
|
content: ReactNode;
|
|
@@ -1253,6 +1270,7 @@ declare const colors: {
|
|
|
1253
1270
|
fill: string;
|
|
1254
1271
|
highlight: string;
|
|
1255
1272
|
};
|
|
1273
|
+
background: string;
|
|
1256
1274
|
text: string;
|
|
1257
1275
|
textMuted: string;
|
|
1258
1276
|
textSubtle: string;
|
|
@@ -1263,8 +1281,10 @@ declare const colors: {
|
|
|
1263
1281
|
dividerStrong: string;
|
|
1264
1282
|
primary: string;
|
|
1265
1283
|
primaryLight: string;
|
|
1284
|
+
primaryPastel: string;
|
|
1266
1285
|
secondary: string;
|
|
1267
1286
|
secondaryLight: string;
|
|
1287
|
+
secondaryPastel: string;
|
|
1268
1288
|
secondaryBright: string;
|
|
1269
1289
|
warning: string;
|
|
1270
1290
|
neutralBackground: string;
|
|
@@ -1430,4 +1450,4 @@ declare module "react" {
|
|
|
1430
1450
|
function forwardRef<T, P = {}>(render: (props: P, ref: React.ForwardedRef<T>) => React.ReactElement | null): (props: P & React.RefAttributes<T>) => React.ReactElement | null;
|
|
1431
1451
|
}
|
|
1432
1452
|
|
|
1433
|
-
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, 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 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, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useCurrentFloatingWindowInternal, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, withSeparatorElements };
|
|
1453
|
+
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 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, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useAutoResize, useCurrentFloatingWindowInternal, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, withSeparatorElements };
|
package/dist/index.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ interface ButtonRootProps {
|
|
|
66
66
|
contentStyle?: CSSProperties;
|
|
67
67
|
defaultBackground?: string;
|
|
68
68
|
as?: React__default.ElementType;
|
|
69
|
+
htmlFor?: string;
|
|
69
70
|
href?: string;
|
|
70
71
|
target?: string;
|
|
71
72
|
rel?: string;
|
|
@@ -73,7 +74,7 @@ interface ButtonRootProps {
|
|
|
73
74
|
declare const Button: (props: ButtonRootProps & React__default.RefAttributes<HTMLButtonElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
74
75
|
|
|
75
76
|
type ChipColorScheme = "primary" | "secondary" | "error";
|
|
76
|
-
type ChipSize = "small" | "medium";
|
|
77
|
+
type ChipSize = "small" | "medium" | "large";
|
|
77
78
|
type ChipVariant = "solid" | "outlined" | "ghost";
|
|
78
79
|
interface ChipProps {
|
|
79
80
|
id?: string;
|
|
@@ -101,6 +102,7 @@ declare const colors$1: {
|
|
|
101
102
|
fill: string;
|
|
102
103
|
highlight: string;
|
|
103
104
|
};
|
|
105
|
+
background: string;
|
|
104
106
|
text: string;
|
|
105
107
|
textMuted: string;
|
|
106
108
|
textSubtle: string;
|
|
@@ -111,8 +113,10 @@ declare const colors$1: {
|
|
|
111
113
|
dividerStrong: string;
|
|
112
114
|
primary: string;
|
|
113
115
|
primaryLight: string;
|
|
116
|
+
primaryPastel: string;
|
|
114
117
|
secondary: string;
|
|
115
118
|
secondaryLight: string;
|
|
119
|
+
secondaryPastel: string;
|
|
116
120
|
secondaryBright: string;
|
|
117
121
|
warning: string;
|
|
118
122
|
neutralBackground: string;
|
|
@@ -530,6 +534,7 @@ declare namespace InputField {
|
|
|
530
534
|
variant?: "bare" | undefined;
|
|
531
535
|
}) & React__default.RefAttributes<HTMLInputElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
532
536
|
const Typeahead: (props: {
|
|
537
|
+
prefix: string;
|
|
533
538
|
value: string;
|
|
534
539
|
}) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
535
540
|
const NumberInput: (props: InputFieldNumberInputProps) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
@@ -539,6 +544,7 @@ declare namespace InputField {
|
|
|
539
544
|
onClick?: (() => void) | undefined;
|
|
540
545
|
}) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
541
546
|
const Label: (props: InputFieldLabelProps & React__default.RefAttributes<HTMLLabelElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
547
|
+
const PrimitiveElement: styled_components_dist_types.IStyledComponentBase<"web", styled_components.FastOmit<React__default.DetailedHTMLProps<React__default.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
|
|
542
548
|
}
|
|
543
549
|
|
|
544
550
|
declare function fuzzyScore({ item, query }: {
|
|
@@ -660,6 +666,7 @@ interface ListViewRowProps<MenuItemType extends string = string> {
|
|
|
660
666
|
onMenuOpenChange?: (isOpen: boolean) => void;
|
|
661
667
|
onKeyDown?: (event: React__default.KeyboardEvent) => void;
|
|
662
668
|
style?: CSSProperties;
|
|
669
|
+
className?: string;
|
|
663
670
|
dragIndicatorStyle?: CSSProperties | ((props: {
|
|
664
671
|
depth: number;
|
|
665
672
|
indentation: number;
|
|
@@ -871,6 +878,8 @@ type Props$8<T extends string> = {
|
|
|
871
878
|
value: T;
|
|
872
879
|
onSelect?: (value: T) => void;
|
|
873
880
|
placeholder?: string;
|
|
881
|
+
disabled?: boolean;
|
|
882
|
+
readOnly?: boolean;
|
|
874
883
|
};
|
|
875
884
|
declare const SelectMenu: <T extends string = string>(props: Props$8<T>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
876
885
|
|
|
@@ -975,8 +984,9 @@ interface Props$4 {
|
|
|
975
984
|
value: boolean;
|
|
976
985
|
onChange: (value: boolean) => void;
|
|
977
986
|
colorScheme?: SwitchColorScheme;
|
|
987
|
+
disabled?: boolean;
|
|
978
988
|
}
|
|
979
|
-
declare const Switch: ({ value, onChange, colorScheme, }: Props$4) => React__default.JSX.Element;
|
|
989
|
+
declare const Switch: ({ value, onChange, colorScheme, disabled, }: Props$4) => React__default.JSX.Element;
|
|
980
990
|
|
|
981
991
|
type StyleProps = {
|
|
982
992
|
flex?: CSSProperties$1["flex"];
|
|
@@ -1013,6 +1023,7 @@ interface Props$3 extends StyleProps {
|
|
|
1013
1023
|
as?: keyof ReactHTML;
|
|
1014
1024
|
href?: string;
|
|
1015
1025
|
className?: string;
|
|
1026
|
+
style?: React__default.CSSProperties;
|
|
1016
1027
|
variant: keyof Theme["textStyles"];
|
|
1017
1028
|
breakpoints?: BreakpointCollection<StyleProps> | null | false;
|
|
1018
1029
|
color?: ThemeColorName;
|
|
@@ -1035,6 +1046,12 @@ declare const Italic: ({ children }: {
|
|
|
1035
1046
|
children: ReactNode;
|
|
1036
1047
|
}) => React__default.JSX.Element;
|
|
1037
1048
|
|
|
1049
|
+
declare const useAutoResize: (value: string) => React__default.MutableRefObject<HTMLTextAreaElement | null>;
|
|
1050
|
+
declare const AutoResizingTextArea: (props: Omit<styled_components.FastOmit<React__default.DetailedHTMLProps<React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, never>, "onChange" | "value"> & {
|
|
1051
|
+
onChangeText: (value: string) => void;
|
|
1052
|
+
value?: string | undefined;
|
|
1053
|
+
} & React__default.RefAttributes<HTMLTextAreaElement>) => React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | null;
|
|
1054
|
+
|
|
1038
1055
|
declare const Toast: ({ title, content, children, ...props }: {
|
|
1039
1056
|
title?: string | undefined;
|
|
1040
1057
|
content: ReactNode;
|
|
@@ -1253,6 +1270,7 @@ declare const colors: {
|
|
|
1253
1270
|
fill: string;
|
|
1254
1271
|
highlight: string;
|
|
1255
1272
|
};
|
|
1273
|
+
background: string;
|
|
1256
1274
|
text: string;
|
|
1257
1275
|
textMuted: string;
|
|
1258
1276
|
textSubtle: string;
|
|
@@ -1263,8 +1281,10 @@ declare const colors: {
|
|
|
1263
1281
|
dividerStrong: string;
|
|
1264
1282
|
primary: string;
|
|
1265
1283
|
primaryLight: string;
|
|
1284
|
+
primaryPastel: string;
|
|
1266
1285
|
secondary: string;
|
|
1267
1286
|
secondaryLight: string;
|
|
1287
|
+
secondaryPastel: string;
|
|
1268
1288
|
secondaryBright: string;
|
|
1269
1289
|
warning: string;
|
|
1270
1290
|
neutralBackground: string;
|
|
@@ -1430,4 +1450,4 @@ declare module "react" {
|
|
|
1430
1450
|
function forwardRef<T, P = {}>(render: (props: P, ref: React.ForwardedRef<T>) => React.ReactElement | null): (props: P & React.RefAttributes<T>) => React.ReactElement | null;
|
|
1431
1451
|
}
|
|
1432
1452
|
|
|
1433
|
-
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, 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 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, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useCurrentFloatingWindowInternal, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, withSeparatorElements };
|
|
1453
|
+
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 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, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, useAutoResize, useCurrentFloatingWindowInternal, useDesignSystemConfiguration, useDesignSystemTheme, useDialogContainsElement, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, withSeparatorElements };
|