lecom-ui 4.5.4 → 4.5.5
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.
|
@@ -24,7 +24,7 @@ const DialogContent = React.forwardRef(({ className, children, ...props }, ref)
|
|
|
24
24
|
{
|
|
25
25
|
ref,
|
|
26
26
|
className: cn(
|
|
27
|
-
"fixed left-[50%] top-[50%] z-50
|
|
27
|
+
"fixed left-[50%] top-[50%] z-50 flex flex-col w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
|
|
28
28
|
className
|
|
29
29
|
),
|
|
30
30
|
...props
|
|
@@ -65,10 +65,7 @@ const DialogTitle = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
65
65
|
SheetPrimitive.Title,
|
|
66
66
|
{
|
|
67
67
|
ref,
|
|
68
|
-
className: cn(
|
|
69
|
-
"text-lg font-semibold leading-none tracking-tight",
|
|
70
|
-
className
|
|
71
|
-
),
|
|
68
|
+
className: cn("heading-small-600", className),
|
|
72
69
|
...props
|
|
73
70
|
}
|
|
74
71
|
));
|
package/dist/index.d.ts
CHANGED
|
@@ -541,8 +541,8 @@ interface HeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<
|
|
|
541
541
|
|
|
542
542
|
declare const inputVariants: (props?: ({
|
|
543
543
|
variant?: "default" | "filled" | "borderless" | null | undefined;
|
|
544
|
-
size?: "
|
|
545
|
-
radius?: "
|
|
544
|
+
size?: "default" | "small" | "large" | null | undefined;
|
|
545
|
+
radius?: "default" | "small" | "large" | null | undefined;
|
|
546
546
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
547
547
|
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size' | 'sufix' | 'prefix'>, VariantProps<typeof inputVariants> {
|
|
548
548
|
sufix?: React$1.ReactNode;
|