lecom-ui 5.3.97 → 5.3.98
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.
|
@@ -6,9 +6,19 @@ import { cva } from 'class-variance-authority';
|
|
|
6
6
|
const TooltipProvider = TooltipPrimitive.Provider;
|
|
7
7
|
const Tooltip = TooltipPrimitive.Root;
|
|
8
8
|
const TooltipTriggerBase = TooltipPrimitive.Trigger;
|
|
9
|
-
const TooltipTrigger = React.forwardRef(({ disableWrapper = false, style, ...props }, ref) => {
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
const TooltipTrigger = React.forwardRef(({ disableWrapper = false, style, className, ...props }, ref) => {
|
|
10
|
+
if (disableWrapper) {
|
|
11
|
+
return /* @__PURE__ */ React.createElement(
|
|
12
|
+
TooltipTriggerBase,
|
|
13
|
+
{
|
|
14
|
+
ref,
|
|
15
|
+
style: { display: "contents", ...style },
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
}
|
|
21
|
+
return /* @__PURE__ */ React.createElement(TooltipTriggerBase, { ref, style, className, ...props });
|
|
12
22
|
});
|
|
13
23
|
TooltipTrigger.displayName = "TooltipTrigger";
|
|
14
24
|
const TooltipArrow = TooltipPrimitive.Arrow;
|
package/dist/index.d.ts
CHANGED
|
@@ -756,9 +756,9 @@ interface HeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<
|
|
|
756
756
|
}
|
|
757
757
|
|
|
758
758
|
declare const inputVariants: (props?: ({
|
|
759
|
-
variant?: "
|
|
760
|
-
size?: "
|
|
761
|
-
radius?: "
|
|
759
|
+
variant?: "default" | "filled" | "borderless" | null | undefined;
|
|
760
|
+
size?: "default" | "small" | "large" | null | undefined;
|
|
761
|
+
radius?: "default" | "small" | "large" | "full" | null | undefined;
|
|
762
762
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
763
763
|
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size' | 'sufix' | 'prefix'>, VariantProps<typeof inputVariants> {
|
|
764
764
|
sufix?: React$1.ReactNode;
|
|
@@ -963,7 +963,7 @@ declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimi
|
|
|
963
963
|
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
964
964
|
|
|
965
965
|
declare const ResizablePanelGroup: ({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React$1.JSX.Element;
|
|
966
|
-
declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<
|
|
966
|
+
declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLButtonElement | HTMLOListElement | HTMLLIElement | HTMLAnchorElement | HTMLSpanElement | HTMLHeadingElement | HTMLParagraphElement | HTMLInputElement | HTMLLabelElement | HTMLUListElement | HTMLObjectElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableCaptionElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLFormElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLImageElement | HTMLLegendElement | HTMLLinkElement | HTMLMapElement | HTMLMenuElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLPictureElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSlotElement | HTMLSourceElement | HTMLStyleElement | HTMLTableElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTemplateElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTitleElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement>, "id" | "onResize"> & {
|
|
967
967
|
className?: string;
|
|
968
968
|
collapsedSize?: number | undefined;
|
|
969
969
|
collapsible?: boolean | undefined;
|
|
@@ -1132,9 +1132,9 @@ declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.
|
|
|
1132
1132
|
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1133
1133
|
|
|
1134
1134
|
declare const textareaVariants: (props?: ({
|
|
1135
|
-
variant?: "
|
|
1136
|
-
size?: "
|
|
1137
|
-
radius?: "
|
|
1135
|
+
variant?: "default" | "filled" | "borderless" | null | undefined;
|
|
1136
|
+
size?: "default" | "small" | "large" | null | undefined;
|
|
1137
|
+
radius?: "default" | "small" | "large" | "full" | null | undefined;
|
|
1138
1138
|
resize?: "default" | "both" | "horizontal" | "vertical" | "vertical-limited" | null | undefined;
|
|
1139
1139
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1140
1140
|
interface TextareaProps extends React$1.ComponentProps<'textarea'>, VariantProps<typeof textareaVariants> {
|