@noya-app/noya-designsystem 0.1.34 → 0.1.36
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 +13 -12
- package/CHANGELOG.md +14 -0
- package/dist/index.css +1 -1
- package/dist/index.d.mts +1053 -0
- package/dist/index.d.ts +3 -16
- package/dist/index.js +3231 -19229
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3491 -19642
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/components/Button.tsx +4 -9
- package/tsconfig.json +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ declare function AvatarStack({ size, children, }: {
|
|
|
40
40
|
children: React__default.ReactNode;
|
|
41
41
|
}): React__default.JSX.Element;
|
|
42
42
|
|
|
43
|
-
type ButtonVariant = "normal" | "primary" | "
|
|
43
|
+
type ButtonVariant = "normal" | "primary" | "secondary" | "secondaryBright" | "thin" | "floating" | "none";
|
|
44
44
|
type ButtonSize = "small" | "normal" | "large" | "floating";
|
|
45
45
|
interface ButtonRootProps {
|
|
46
46
|
id?: string;
|
|
@@ -56,7 +56,6 @@ interface ButtonRootProps {
|
|
|
56
56
|
onClick?: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
57
57
|
onPointerDown?: (event: React__default.PointerEvent<HTMLButtonElement>) => void;
|
|
58
58
|
contentStyle?: CSSProperties;
|
|
59
|
-
defaultBackground?: string;
|
|
60
59
|
as?: React__default.ElementType;
|
|
61
60
|
htmlFor?: string;
|
|
62
61
|
href?: string;
|
|
@@ -1043,19 +1042,7 @@ declare const InspectorPrimitives_Text: typeof Text;
|
|
|
1043
1042
|
declare const InspectorPrimitives_Title: typeof Title;
|
|
1044
1043
|
declare const InspectorPrimitives_VerticalSeparator: typeof VerticalSeparator;
|
|
1045
1044
|
declare namespace InspectorPrimitives {
|
|
1046
|
-
export {
|
|
1047
|
-
InspectorPrimitives_Checkbox as Checkbox,
|
|
1048
|
-
InspectorPrimitives_Column as Column,
|
|
1049
|
-
InspectorPrimitives_HorizontalSeparator as HorizontalSeparator,
|
|
1050
|
-
InspectorPrimitives_LabeledRow as LabeledRow,
|
|
1051
|
-
InspectorPrimitives_Row as Row,
|
|
1052
|
-
InspectorPrimitives_RowLabel as RowLabel,
|
|
1053
|
-
InspectorPrimitives_Section as Section,
|
|
1054
|
-
InspectorPrimitives_SectionHeader as SectionHeader,
|
|
1055
|
-
InspectorPrimitives_Text as Text,
|
|
1056
|
-
InspectorPrimitives_Title as Title,
|
|
1057
|
-
InspectorPrimitives_VerticalSeparator as VerticalSeparator,
|
|
1058
|
-
};
|
|
1045
|
+
export { InspectorPrimitives_Checkbox as Checkbox, InspectorPrimitives_Column as Column, InspectorPrimitives_HorizontalSeparator as HorizontalSeparator, InspectorPrimitives_LabeledRow as LabeledRow, InspectorPrimitives_Row as Row, InspectorPrimitives_RowLabel as RowLabel, InspectorPrimitives_Section as Section, InspectorPrimitives_SectionHeader as SectionHeader, InspectorPrimitives_Text as Text, InspectorPrimitives_Title as Title, InspectorPrimitives_VerticalSeparator as VerticalSeparator };
|
|
1059
1046
|
}
|
|
1060
1047
|
|
|
1061
1048
|
declare module "react" {
|
|
@@ -1063,4 +1050,4 @@ declare module "react" {
|
|
|
1063
1050
|
function forwardRef<T, P = {}>(render: (props: P, ref: React.ForwardedRef<T>) => React.ReactElement | null): (props: P & React.RefAttributes<T>) => React.ReactElement | null;
|
|
1064
1051
|
}
|
|
1065
1052
|
|
|
1066
|
-
export { ActivityIndicator, AutoResizingTextArea, Avatar, AvatarStack, Body, Button, ButtonRootProps, CONTENT_AREA_ID, Chip, ChipProps, CompletionItem, CompletionListItem, CompletionMenu, CompletionSectionHeader, ContextMenu, DesignSystemConfigurationContextValue, DesignSystemConfigurationProvider, Dialog, DialogContextValue, DialogProvider, DimensionInput, DimensionValue, Divider, DividerVertical, DraggableMenuButton, DropValidator, DropdownMenu, EDITOR_PANEL_GROUP_ID, EditableRowProps, ExtractMenuItemType, FillInputField, FillPreviewBackground, FloatingWindow, FloatingWindowProvider, FullscreenDialog, GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, GridView, GridViewSize, Heading1, Heading2, Heading3, Heading4, Heading5, HoverEvent, HoverEvents, HoverProps, IDialog, IScoredItem, IToken, IVirtualizedList, IWorkspaceLayout, IconButton, IconName, ImageDataContextValue, ImageDataProvider, InputField, InputFieldInputProps, InputFieldSize, InputFieldWithCompletions, InputFieldWithCompletionsProps, InputFieldWithCompletionsRef, InspectorContainer, InspectorPrimitives, Italic, KeyboardShortcut, LEFT_SIDEBAR_ID, Label, LabeledElementView, ListRowMarginType, ListRowPosition, ListView, MatchRange, MenuConfig, MenuItem, MenuItemProps, MenuProps, Optional, PanelLayoutState, PatternPreviewBackground, Popover, Progress, RIGHT_SIDEBAR_ID, RadioGroup, RegularMenuItem, RelativeDropPosition, SEPARATOR_ITEM, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, ScrollArea, SelectMenu, SetNumberMode, SketchPattern, Slider, Small, Sortable, Spacer, SupportedCanvasUploadType, SupportedImageUploadType, Switch, Text$1 as Text, TextProps, Theme, ThemeColor, Toast, ToastProvider, Tooltip, TreeView, WorkspaceLayout, cn, createSectionedMenu, fuzzyFilter, fuzzyScore, fuzzyTokenize, getGradientBackground, getNewValue, mediaQuery, normalizeListDestinationIndex, renderIcon, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, textStyles, useAutoResize, useCurrentFloatingWindowInternal, useDarkMode, useDesignSystemConfiguration, useDialogContainsElement, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, usePreservePanelSize, withSeparatorElements };
|
|
1053
|
+
export { ActivityIndicator, AutoResizingTextArea, Avatar, AvatarStack, Body, Button, type ButtonRootProps, CONTENT_AREA_ID, Chip, type ChipProps, type CompletionItem, type CompletionListItem, CompletionMenu, type CompletionSectionHeader, ContextMenu, type DesignSystemConfigurationContextValue, DesignSystemConfigurationProvider, Dialog, type DialogContextValue, DialogProvider, DimensionInput, type DimensionValue, Divider, DividerVertical, DraggableMenuButton, type DropValidator, DropdownMenu, EDITOR_PANEL_GROUP_ID, type EditableRowProps, type ExtractMenuItemType, FillInputField, FillPreviewBackground, FloatingWindow, FloatingWindowProvider, FullscreenDialog, type GlobalInputBlurContextValue, GlobalInputBlurProvider, GradientPicker, GridView, type GridViewSize, Heading1, Heading2, Heading3, Heading4, Heading5, type HoverEvent, type HoverEvents, type HoverProps, type IDialog, type IScoredItem, type IToken, type IVirtualizedList, type IWorkspaceLayout, IconButton, type IconName, type ImageDataContextValue, ImageDataProvider, InputField, type InputFieldInputProps, type InputFieldSize, InputFieldWithCompletions, type InputFieldWithCompletionsProps, type InputFieldWithCompletionsRef, InspectorContainer, InspectorPrimitives, Italic, KeyboardShortcut, LEFT_SIDEBAR_ID, Label, LabeledElementView, type ListRowMarginType, type ListRowPosition, ListView, type MatchRange, type MenuConfig, type MenuItem, type MenuItemProps, type MenuProps, type Optional, type PanelLayoutState, PatternPreviewBackground, Popover, Progress, RIGHT_SIDEBAR_ID, RadioGroup, type RegularMenuItem, type RelativeDropPosition, SEPARATOR_ITEM, SUPPORTED_CANVAS_UPLOAD_TYPES, SUPPORTED_IMAGE_UPLOAD_TYPES, ScrollArea, SelectMenu, type SetNumberMode, type SketchPattern, Slider, Small, Sortable, Spacer, type SupportedCanvasUploadType, type SupportedImageUploadType, Switch, Text$1 as Text, type TextProps, type Theme, type ThemeColor, Toast, ToastProvider, Tooltip, TreeView, WorkspaceLayout, cn, createSectionedMenu, fuzzyFilter, fuzzyScore, fuzzyTokenize, getGradientBackground, getNewValue, mediaQuery, normalizeListDestinationIndex, renderIcon, rgbaToSketchColor, size, sketchColorToHex, sketchColorToRgba, sketchColorToRgbaString, textStyles, useAutoResize, useCurrentFloatingWindowInternal, useDarkMode, useDesignSystemConfiguration, useDialogContainsElement, useFloatingWindowManager, useGlobalInputBlur, useGlobalInputBlurListener, useGlobalInputBlurTrigger, useHover, useImageData, useOpenInputDialog, usePlatform, usePlatformModKey, usePreservePanelSize, withSeparatorElements };
|