prometeo-design-system 7.2.7 → 7.2.9

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.
@@ -3,7 +3,7 @@ import { c as s } from "./cn-B6yFEsav.js";
3
3
  import { memo as T, forwardRef as H, useCallback as P } from "react";
4
4
  import { useDropzone as E } from "react-dropzone";
5
5
  import G from "./PlainTooltip.es.js";
6
- import { H as _ } from "./HelperComponent-BFzIO-0g.js";
6
+ import { H as _ } from "./HelperComponent-DaFtt5zg.js";
7
7
  import { c as i } from "./index-BOQuZ0gG.js";
8
8
  import { UploadCloud as q } from "./Icons/UploadCloud.es.js";
9
9
  import { Info as K } from "./Icons/Info.es.js";
@@ -4,8 +4,8 @@ import { c as n } from "./index-BOQuZ0gG.js";
4
4
  import { memo as d } from "react";
5
5
  import { CheckCircle as c } from "./Icons/CheckCircle.es.js";
6
6
  import { Error as o } from "./Icons/Error.es.js";
7
- import { Info as f } from "./Icons/Info.es.js";
8
- const u = n("", {
7
+ import { Info as u } from "./Icons/Info.es.js";
8
+ const f = n("truncate", {
9
9
  variants: {
10
10
  variant: {
11
11
  default: "text-neutral-secondary-default",
@@ -21,7 +21,7 @@ const u = n("", {
21
21
  variant: "default",
22
22
  disabled: !1
23
23
  }
24
- }), m = n("min-h-4", {
24
+ }), m = n("min-h-4 shrink-0", {
25
25
  variants: {
26
26
  variant: {
27
27
  default: "",
@@ -47,7 +47,7 @@ const u = n("", {
47
47
  }
48
48
  }), b = (e, s) => {
49
49
  const a = {
50
- default: f,
50
+ default: u,
51
51
  error: o,
52
52
  success: c
53
53
  }[e];
@@ -56,7 +56,7 @@ const u = n("", {
56
56
  const { variant: s, className: l, disabled: a } = e;
57
57
  return /* @__PURE__ */ t.jsxs("div", { ref: e.ref, className: r("flex gap-0.5 px-3 items-center prometeo-fonts-body-small", a && v, l), children: [
58
58
  e.children && b(s, a ?? !1),
59
- typeof e.children == "string" ? /* @__PURE__ */ t.jsx("p", { className: r(" prometeo-fonts-body-small", u({ variant: s, disabled: a })), children: e.children }) : e.children
59
+ typeof e.children == "string" ? /* @__PURE__ */ t.jsx("p", { title: e.children, className: r(" prometeo-fonts-body-small", f({ variant: s, disabled: a })), children: e.children }) : e.children
60
60
  ] });
61
61
  };
62
62
  i.displayName = "HelperText";
package/dist/Input.es.js CHANGED
@@ -4,7 +4,7 @@ import { i as re } from "./iconUtils-rTOfKDxE.js";
4
4
  import { c as d } from "./cn-B6yFEsav.js";
5
5
  import { C as ie } from "./CardBackground-D5SgTU1i.js";
6
6
  import oe from "./IconButton.es.js";
7
- import { H as le } from "./HelperComponent-BFzIO-0g.js";
7
+ import { H as le } from "./HelperComponent-DaFtt5zg.js";
8
8
  import { c } from "./index-BOQuZ0gG.js";
9
9
  import { Close as de } from "./Icons/Close.es.js";
10
10
  const ce = process.env.NODE_ENV !== "production", P = /* @__PURE__ */ new Set();
@@ -1,7 +1,7 @@
1
1
  import { j as r } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { c as i } from "./cn-B6yFEsav.js";
3
3
  import $, { useRef as S, useState as w, useCallback as se, useEffect as ae } from "react";
4
- import { H as U } from "./HelperComponent-BFzIO-0g.js";
4
+ import { H as U } from "./HelperComponent-DaFtt5zg.js";
5
5
  import { Close as le } from "./Icons/Close.es.js";
6
6
  import { Info as ue } from "./Icons/Info.es.js";
7
7
  const de = ({ label: O, name: q, onChange: m, value: s, icon: P, valueSeparator: j = ",", variant: N = "default", placeholder: A, itemClassName: z, itemIcon: I, helperText: h, errorText: x, disabled: u, onClick: D, className: G, readonly: p, onValueDelete: J, tabIndex: L, renderItem: R, ...Q }) => {