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" }, "Criar ", '"', searchTerm, '"')
180
+ /* @__PURE__ */ React.createElement(Typography, { variant: fontVariant, className: "text-primary-600" }, t("multiSelect.create"), " ", '"', searchTerm, '"')
180
181
  );
181
182
  };
182
183
  CreateOption.displayName = "CreateOption";
@@ -20,7 +20,8 @@ const language = {
20
20
  search: "Type to search",
21
21
  empty: "No results found",
22
22
  selectAll: "Select all",
23
- placeholder: "Select"
23
+ placeholder: "Select",
24
+ create: "Create"
24
25
  }
25
26
  }
26
27
  };
@@ -20,7 +20,8 @@ const language = {
20
20
  search: "Tipo a buscar",
21
21
  empty: "No se han encontrado resultados",
22
22
  selectAll: "Seleccionar todo",
23
- placeholder: "Seleccionar"
23
+ placeholder: "Seleccionar",
24
+ create: "Crear"
24
25
  }
25
26
  }
26
27
  };
@@ -20,7 +20,8 @@ const language = {
20
20
  search: "Digite para pesquisar",
21
21
  empty: "Nenhum resultado encontrado",
22
22
  selectAll: "Selecionar tudo",
23
- placeholder: "Selecione"
23
+ placeholder: "Selecione",
24
+ create: "Criar"
24
25
  }
25
26
  }
26
27
  };
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<HTMLButtonElement | HTMLElement | HTMLDivElement | HTMLOListElement | HTMLLIElement | HTMLAnchorElement | HTMLSpanElement | 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"> & {
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?: "default" | "both" | "horizontal" | "vertical" | "vertical-limited" | null | undefined;
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?: "left" | "right" | "top" | "bottom" | null | undefined;
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lecom-ui",
3
- "version": "5.4.24",
3
+ "version": "5.4.25",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",