lecom-ui 5.2.87 → 5.2.88
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.
|
@@ -33,17 +33,10 @@ const AccordionTrigger = React.forwardRef(
|
|
|
33
33
|
ref,
|
|
34
34
|
className: cn(accordionVariants({ variant, size, className })),
|
|
35
35
|
...props,
|
|
36
|
-
disabled
|
|
36
|
+
disabled,
|
|
37
|
+
asChild
|
|
37
38
|
},
|
|
38
|
-
asChild ? /* @__PURE__ */ React.createElement(
|
|
39
|
-
ChevronDown,
|
|
40
|
-
{
|
|
41
|
-
className: cn(
|
|
42
|
-
"size-5 shrink-0 text-grey-800 transition-transform duration-200",
|
|
43
|
-
disabled && "text-grey-300"
|
|
44
|
-
)
|
|
45
|
-
}
|
|
46
|
-
)) : /* @__PURE__ */ React.createElement(React.Fragment, null, children, /* @__PURE__ */ React.createElement(
|
|
39
|
+
asChild ? children : /* @__PURE__ */ React.createElement(React.Fragment, null, children, /* @__PURE__ */ React.createElement(
|
|
47
40
|
ChevronDown,
|
|
48
41
|
{
|
|
49
42
|
className: cn(
|
package/dist/index.d.ts
CHANGED
|
@@ -714,9 +714,9 @@ interface HeaderProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<
|
|
|
714
714
|
}
|
|
715
715
|
|
|
716
716
|
declare const inputVariants: (props?: ({
|
|
717
|
-
variant?: "
|
|
718
|
-
size?: "small" | "
|
|
719
|
-
radius?: "small" | "
|
|
717
|
+
variant?: "filled" | "default" | "borderless" | null | undefined;
|
|
718
|
+
size?: "small" | "large" | "default" | null | undefined;
|
|
719
|
+
radius?: "small" | "large" | "default" | "full" | null | undefined;
|
|
720
720
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
721
721
|
interface InputProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, 'size' | 'sufix' | 'prefix'>, VariantProps<typeof inputVariants> {
|
|
722
722
|
sufix?: React$1.ReactNode;
|
|
@@ -875,7 +875,7 @@ declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimi
|
|
|
875
875
|
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
876
876
|
|
|
877
877
|
declare const ResizablePanelGroup: ({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React$1.JSX.Element;
|
|
878
|
-
declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<
|
|
878
|
+
declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLElement | HTMLOListElement | HTMLLIElement | HTMLAnchorElement | HTMLSpanElement | HTMLButtonElement | HTMLDivElement | HTMLHeadingElement | HTMLParagraphElement | HTMLLabelElement | HTMLInputElement | 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"> & {
|
|
879
879
|
className?: string;
|
|
880
880
|
collapsedSize?: number | undefined;
|
|
881
881
|
collapsible?: boolean | undefined;
|
|
@@ -1026,8 +1026,8 @@ declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.
|
|
|
1026
1026
|
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1027
1027
|
|
|
1028
1028
|
declare const textareaVariants: (props?: ({
|
|
1029
|
-
variant?: "
|
|
1030
|
-
radius?: "small" | "
|
|
1029
|
+
variant?: "filled" | "default" | "borderless" | null | undefined;
|
|
1030
|
+
radius?: "small" | "large" | "default" | null | undefined;
|
|
1031
1031
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1032
1032
|
interface TextareaProps extends React$1.ComponentProps<'textarea'>, VariantProps<typeof textareaVariants> {
|
|
1033
1033
|
resize?: 'none' | 'both' | 'horizontal' | 'vertical';
|