lecom-ui 4.7.3 → 4.7.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.
|
@@ -30,7 +30,7 @@ const DialogContent = React.forwardRef(({ className, children, ...props }, ref)
|
|
|
30
30
|
...props
|
|
31
31
|
},
|
|
32
32
|
children,
|
|
33
|
-
/* @__PURE__ */ React.createElement(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm
|
|
33
|
+
/* @__PURE__ */ React.createElement(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm ring-offset-background transition-opacity hover:opacity-70 focus:outline-none disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground" }, /* @__PURE__ */ React.createElement(X, { className: "h-5 w-5 text-grey-950" }), /* @__PURE__ */ React.createElement("span", { className: "sr-only" }, "Close"))
|
|
34
34
|
)));
|
|
35
35
|
DialogContent.displayName = SheetPrimitive.Content.displayName;
|
|
36
36
|
const DialogHeader = ({
|
package/dist/index.d.ts
CHANGED
|
@@ -444,11 +444,11 @@ declare const DropdownMenuShortcut: {
|
|
|
444
444
|
interface ErrorEmptyDisplayProps {
|
|
445
445
|
className?: string;
|
|
446
446
|
classContent?: string;
|
|
447
|
-
image?: React.ReactNode;
|
|
448
|
-
title?: React.ReactNode;
|
|
449
|
-
description?: React.ReactNode;
|
|
450
|
-
footer?: React.ReactNode;
|
|
451
|
-
render?: React.ReactNode;
|
|
447
|
+
image?: React$1.ReactNode;
|
|
448
|
+
title?: React$1.ReactNode;
|
|
449
|
+
description?: React$1.ReactNode;
|
|
450
|
+
footer?: React$1.ReactNode;
|
|
451
|
+
render?: React$1.ReactNode;
|
|
452
452
|
}
|
|
453
453
|
declare const ErrorEmptyDisplay: {
|
|
454
454
|
({ className, classContent, image, title, description, footer, render, }: ErrorEmptyDisplayProps): string | number | bigint | true | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | React$1.JSX.Element;
|
|
@@ -541,9 +541,9 @@ interface HeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<
|
|
|
541
541
|
}
|
|
542
542
|
|
|
543
543
|
declare const inputVariants: (props?: ({
|
|
544
|
-
variant?: "
|
|
545
|
-
size?: "
|
|
546
|
-
radius?: "
|
|
544
|
+
variant?: "filled" | "default" | "borderless" | null | undefined;
|
|
545
|
+
size?: "small" | "large" | "default" | null | undefined;
|
|
546
|
+
radius?: "small" | "large" | "default" | null | undefined;
|
|
547
547
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
548
548
|
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size' | 'sufix' | 'prefix'>, VariantProps<typeof inputVariants> {
|
|
549
549
|
sufix?: React$1.ReactNode;
|
|
@@ -704,7 +704,7 @@ declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive
|
|
|
704
704
|
declare const TooltipArrow: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipArrowProps & React$1.RefAttributes<SVGSVGElement>>;
|
|
705
705
|
declare const TooltipPortal: React$1.FC<TooltipPrimitive.TooltipPortalProps>;
|
|
706
706
|
declare const tooltipContentVariants: (props?: ({
|
|
707
|
-
color?: "
|
|
707
|
+
color?: "white" | "black" | null | undefined;
|
|
708
708
|
arrow?: boolean | null | undefined;
|
|
709
709
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
710
710
|
interface TooltipContentProps extends React$1.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>, VariantProps<typeof tooltipContentVariants> {
|