lecom-ui 4.5.4 → 4.5.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.
@@ -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 grid 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",
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
  ));
@@ -1,3 +1,4 @@
1
+ import * as React from 'react';
1
2
  import { cn } from '../../lib/utils.js';
2
3
  import { XIcon } from 'lucide-react';
3
4
 
package/dist/index.d.ts CHANGED
@@ -540,9 +540,9 @@ interface HeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<
540
540
  }
541
541
 
542
542
  declare const inputVariants: (props?: ({
543
- variant?: "default" | "filled" | "borderless" | null | undefined;
544
- size?: "small" | "default" | "large" | null | undefined;
545
- radius?: "small" | "default" | "large" | null | undefined;
543
+ variant?: "filled" | "default" | "borderless" | null | undefined;
544
+ size?: "small" | "large" | "default" | null | undefined;
545
+ radius?: "small" | "large" | "default" | 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;
@@ -701,7 +701,7 @@ declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive
701
701
  declare const TooltipArrow: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipArrowProps & React$1.RefAttributes<SVGSVGElement>>;
702
702
  declare const TooltipPortal: React$1.FC<TooltipPrimitive.TooltipPortalProps>;
703
703
  declare const tooltipContentVariants: (props?: ({
704
- color?: "white" | "black" | null | undefined;
704
+ color?: "black" | "white" | null | undefined;
705
705
  arrow?: boolean | null | undefined;
706
706
  } & class_variance_authority_types.ClassProp) | undefined) => string;
707
707
  interface TooltipContentProps extends React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>, VariantProps<typeof tooltipContentVariants> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lecom-ui",
3
- "version": "4.5.4",
3
+ "version": "4.5.6",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",