lecom-ui 5.4.24 → 5.4.25
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.
|
@@ -153,6 +153,7 @@ const CreateOption = ({
|
|
|
153
153
|
onClose,
|
|
154
154
|
size = "medium"
|
|
155
155
|
}) => {
|
|
156
|
+
const { t } = useTranslation();
|
|
156
157
|
const fontVariant = getFontVariant(size);
|
|
157
158
|
const checkIconSize = CHECK_ICON_SIZES[size];
|
|
158
159
|
const handleCreate = () => {
|
|
@@ -176,7 +177,7 @@ const CreateOption = ({
|
|
|
176
177
|
strokeWidth: 2
|
|
177
178
|
}
|
|
178
179
|
)),
|
|
179
|
-
/* @__PURE__ */ React.createElement(Typography, { variant: fontVariant, className: "text-primary-600" }, "
|
|
180
|
+
/* @__PURE__ */ React.createElement(Typography, { variant: fontVariant, className: "text-primary-600" }, t("multiSelect.create"), " ", '"', searchTerm, '"')
|
|
180
181
|
);
|
|
181
182
|
};
|
|
182
183
|
CreateOption.displayName = "CreateOption";
|
package/dist/index.d.ts
CHANGED
|
@@ -990,7 +990,7 @@ declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimi
|
|
|
990
990
|
declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
991
991
|
|
|
992
992
|
declare const ResizablePanelGroup: ({ className, ...props }: React$1.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React$1.JSX.Element;
|
|
993
|
-
declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<
|
|
993
|
+
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"> & {
|
|
994
994
|
className?: string;
|
|
995
995
|
collapsedSize?: number | undefined;
|
|
996
996
|
collapsible?: boolean | undefined;
|
|
@@ -1159,7 +1159,7 @@ declare const textareaVariants: (props?: ({
|
|
|
1159
1159
|
variant?: "filled" | "default" | "borderless" | null | undefined;
|
|
1160
1160
|
size?: "small" | "large" | "default" | null | undefined;
|
|
1161
1161
|
radius?: "small" | "large" | "default" | "full" | null | undefined;
|
|
1162
|
-
resize?: "
|
|
1162
|
+
resize?: "both" | "horizontal" | "vertical" | "default" | "vertical-limited" | null | undefined;
|
|
1163
1163
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1164
1164
|
interface TextareaProps extends React$1.ComponentProps<'textarea'>, VariantProps<typeof textareaVariants> {
|
|
1165
1165
|
}
|
|
@@ -1300,7 +1300,7 @@ declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.Dial
|
|
|
1300
1300
|
declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
|
|
1301
1301
|
declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1302
1302
|
declare const sheetVariants: (props?: ({
|
|
1303
|
-
side?: "
|
|
1303
|
+
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
1304
1304
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1305
1305
|
interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
|
|
1306
1306
|
}
|