@moontra/moonui 2.2.4 → 2.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +409 -71
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +409 -71
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/ui/date-picker.tsx +3 -3
- package/src/components/ui/simple-editor.tsx +16 -14
package/dist/index.d.mts
CHANGED
|
@@ -487,7 +487,7 @@ declare const commandVariants: (props?: {
|
|
|
487
487
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
488
488
|
interface CommandProps extends React.ComponentProps<typeof Command$1>, VariantProps<typeof commandVariants> {
|
|
489
489
|
}
|
|
490
|
-
declare const Command: React.ForwardRefExoticComponent<Omit<CommandProps, "ref"> & React.RefAttributes<
|
|
490
|
+
declare const Command: React.ForwardRefExoticComponent<Omit<CommandProps, "ref"> & React.RefAttributes<never>>;
|
|
491
491
|
interface CommandDialogProps extends React.ComponentProps<typeof Dialog> {
|
|
492
492
|
commandClassName?: string;
|
|
493
493
|
children?: React.ReactNode;
|
|
@@ -495,22 +495,22 @@ interface CommandDialogProps extends React.ComponentProps<typeof Dialog> {
|
|
|
495
495
|
declare const CommandDialog: ({ children, commandClassName, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
|
|
496
496
|
interface CommandInputProps extends React.ComponentProps<typeof Command$1.Input> {
|
|
497
497
|
}
|
|
498
|
-
declare const CommandInput: React.ForwardRefExoticComponent<Omit<CommandInputProps, "ref"> & React.RefAttributes<
|
|
498
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<CommandInputProps, "ref"> & React.RefAttributes<never>>;
|
|
499
499
|
interface CommandListProps extends React.ComponentProps<typeof Command$1.List> {
|
|
500
500
|
}
|
|
501
|
-
declare const CommandList: React.ForwardRefExoticComponent<Omit<CommandListProps, "ref"> & React.RefAttributes<
|
|
501
|
+
declare const CommandList: React.ForwardRefExoticComponent<Omit<CommandListProps, "ref"> & React.RefAttributes<never>>;
|
|
502
502
|
interface CommandEmptyProps extends React.ComponentProps<typeof Command$1.Empty> {
|
|
503
503
|
}
|
|
504
|
-
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<CommandEmptyProps, "ref"> & React.RefAttributes<
|
|
504
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<CommandEmptyProps, "ref"> & React.RefAttributes<never>>;
|
|
505
505
|
interface CommandGroupProps extends React.ComponentProps<typeof Command$1.Group> {
|
|
506
506
|
}
|
|
507
|
-
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<CommandGroupProps, "ref"> & React.RefAttributes<
|
|
507
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<CommandGroupProps, "ref"> & React.RefAttributes<never>>;
|
|
508
508
|
interface CommandSeparatorProps extends React.ComponentProps<typeof Command$1.Separator> {
|
|
509
509
|
}
|
|
510
|
-
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<CommandSeparatorProps, "ref"> & React.RefAttributes<
|
|
510
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<CommandSeparatorProps, "ref"> & React.RefAttributes<never>>;
|
|
511
511
|
interface CommandItemProps extends React.ComponentProps<typeof Command$1.Item> {
|
|
512
512
|
}
|
|
513
|
-
declare const CommandItem: React.ForwardRefExoticComponent<Omit<CommandItemProps, "ref"> & React.RefAttributes<
|
|
513
|
+
declare const CommandItem: React.ForwardRefExoticComponent<Omit<CommandItemProps, "ref"> & React.RefAttributes<never>>;
|
|
514
514
|
declare const CommandShortcut: {
|
|
515
515
|
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
516
516
|
displayName: string;
|
|
@@ -1176,8 +1176,8 @@ interface RichTextEditorProps {
|
|
|
1176
1176
|
}
|
|
1177
1177
|
declare function RichTextEditor({ value, onChange, placeholder, className, disabled }: RichTextEditorProps): react_jsx_runtime.JSX.Element;
|
|
1178
1178
|
|
|
1179
|
-
declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<
|
|
1180
|
-
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<
|
|
1179
|
+
declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<never>>;
|
|
1180
|
+
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<never>>;
|
|
1181
1181
|
|
|
1182
1182
|
/**
|
|
1183
1183
|
* Premium Select Component
|
|
@@ -1620,7 +1620,7 @@ declare const toggleVariants: (props?: {
|
|
|
1620
1620
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1621
1621
|
interface ToggleProps extends React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> {
|
|
1622
1622
|
}
|
|
1623
|
-
declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<
|
|
1623
|
+
declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<never>>;
|
|
1624
1624
|
|
|
1625
1625
|
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1626
1626
|
declare const tooltipVariants: (props?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -487,7 +487,7 @@ declare const commandVariants: (props?: {
|
|
|
487
487
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
488
488
|
interface CommandProps extends React.ComponentProps<typeof Command$1>, VariantProps<typeof commandVariants> {
|
|
489
489
|
}
|
|
490
|
-
declare const Command: React.ForwardRefExoticComponent<Omit<CommandProps, "ref"> & React.RefAttributes<
|
|
490
|
+
declare const Command: React.ForwardRefExoticComponent<Omit<CommandProps, "ref"> & React.RefAttributes<never>>;
|
|
491
491
|
interface CommandDialogProps extends React.ComponentProps<typeof Dialog> {
|
|
492
492
|
commandClassName?: string;
|
|
493
493
|
children?: React.ReactNode;
|
|
@@ -495,22 +495,22 @@ interface CommandDialogProps extends React.ComponentProps<typeof Dialog> {
|
|
|
495
495
|
declare const CommandDialog: ({ children, commandClassName, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
|
|
496
496
|
interface CommandInputProps extends React.ComponentProps<typeof Command$1.Input> {
|
|
497
497
|
}
|
|
498
|
-
declare const CommandInput: React.ForwardRefExoticComponent<Omit<CommandInputProps, "ref"> & React.RefAttributes<
|
|
498
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<CommandInputProps, "ref"> & React.RefAttributes<never>>;
|
|
499
499
|
interface CommandListProps extends React.ComponentProps<typeof Command$1.List> {
|
|
500
500
|
}
|
|
501
|
-
declare const CommandList: React.ForwardRefExoticComponent<Omit<CommandListProps, "ref"> & React.RefAttributes<
|
|
501
|
+
declare const CommandList: React.ForwardRefExoticComponent<Omit<CommandListProps, "ref"> & React.RefAttributes<never>>;
|
|
502
502
|
interface CommandEmptyProps extends React.ComponentProps<typeof Command$1.Empty> {
|
|
503
503
|
}
|
|
504
|
-
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<CommandEmptyProps, "ref"> & React.RefAttributes<
|
|
504
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<CommandEmptyProps, "ref"> & React.RefAttributes<never>>;
|
|
505
505
|
interface CommandGroupProps extends React.ComponentProps<typeof Command$1.Group> {
|
|
506
506
|
}
|
|
507
|
-
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<CommandGroupProps, "ref"> & React.RefAttributes<
|
|
507
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<CommandGroupProps, "ref"> & React.RefAttributes<never>>;
|
|
508
508
|
interface CommandSeparatorProps extends React.ComponentProps<typeof Command$1.Separator> {
|
|
509
509
|
}
|
|
510
|
-
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<CommandSeparatorProps, "ref"> & React.RefAttributes<
|
|
510
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<CommandSeparatorProps, "ref"> & React.RefAttributes<never>>;
|
|
511
511
|
interface CommandItemProps extends React.ComponentProps<typeof Command$1.Item> {
|
|
512
512
|
}
|
|
513
|
-
declare const CommandItem: React.ForwardRefExoticComponent<Omit<CommandItemProps, "ref"> & React.RefAttributes<
|
|
513
|
+
declare const CommandItem: React.ForwardRefExoticComponent<Omit<CommandItemProps, "ref"> & React.RefAttributes<never>>;
|
|
514
514
|
declare const CommandShortcut: {
|
|
515
515
|
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
516
516
|
displayName: string;
|
|
@@ -1176,8 +1176,8 @@ interface RichTextEditorProps {
|
|
|
1176
1176
|
}
|
|
1177
1177
|
declare function RichTextEditor({ value, onChange, placeholder, className, disabled }: RichTextEditorProps): react_jsx_runtime.JSX.Element;
|
|
1178
1178
|
|
|
1179
|
-
declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<
|
|
1180
|
-
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<
|
|
1179
|
+
declare const ScrollArea: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<never>>;
|
|
1180
|
+
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<never>>;
|
|
1181
1181
|
|
|
1182
1182
|
/**
|
|
1183
1183
|
* Premium Select Component
|
|
@@ -1620,7 +1620,7 @@ declare const toggleVariants: (props?: {
|
|
|
1620
1620
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
1621
1621
|
interface ToggleProps extends React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root>, VariantProps<typeof toggleVariants> {
|
|
1622
1622
|
}
|
|
1623
|
-
declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<
|
|
1623
|
+
declare const Toggle: React.ForwardRefExoticComponent<ToggleProps & React.RefAttributes<never>>;
|
|
1624
1624
|
|
|
1625
1625
|
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
1626
1626
|
declare const tooltipVariants: (props?: {
|