prometeo-design-system 4.7.1 → 4.7.3

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.
package/dist/Chip.es.js CHANGED
@@ -37,7 +37,7 @@ const m = {
37
37
  e || (s.stopPropagation(), s.preventDefault(), a && n?.(a));
38
38
  },
39
39
  className: r(
40
- "shrink-0 p-0.5 transition-all duration-200 hover:text-neutral-default-hover cursor-pointer z-50 text-neutral-default-default hover:scale-105",
40
+ "shrink-0 p-0.5 transition-all duration-200 hover:text-neutral-default-hover cursor-pointer z-10 text-neutral-default-default hover:scale-105",
41
41
  e && "cursor-default hover:scale-100"
42
42
  ),
43
43
  type: "button",
package/dist/Header.es.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { j as s } from "./jsx-runtime-GkKLlHH4.js";
2
2
  import { c as i } from "./cn-B6yFEsav.js";
3
- import { motion as o } from "framer-motion";
3
+ import { motion as n } from "framer-motion";
4
4
  import { memo as f } from "react";
5
- const c = ({ title: e, subtitle: l, children: m, className: d, subtitleClassName: r, titleClassName: n, mainActionSlot: a, secondarySlot: t }) => /* @__PURE__ */ s.jsxs(
6
- o.header,
5
+ const c = ({ title: e, subtitle: l, children: m, className: d, subtitleClassName: r, titleClassName: o, mainActionSlot: a, secondarySlot: t }) => /* @__PURE__ */ s.jsxs(
6
+ n.header,
7
7
  {
8
8
  initial: { opacity: 0, y: -10 },
9
9
  animate: { opacity: 1, y: 0 },
@@ -13,14 +13,14 @@ const c = ({ title: e, subtitle: l, children: m, className: d, subtitleClassName
13
13
  d
14
14
  ),
15
15
  children: [
16
- /* @__PURE__ */ s.jsxs("div", { className: "md:w-full min-h-12 md:px-3 flex justify-between", children: [
16
+ /* @__PURE__ */ s.jsxs("div", { className: "md:w-full md:px-3 flex justify-between", children: [
17
17
  a && /* @__PURE__ */ s.jsx("div", { className: "", children: typeof a == "function" ? a() : a }),
18
18
  t && /* @__PURE__ */ s.jsx("div", { className: "hidden md:flex", children: typeof t == "function" ? t() : t })
19
19
  ] }),
20
- /* @__PURE__ */ s.jsxs("div", { className: "w-full min-h-12 flex justify-between md:px-6", children: [
20
+ /* @__PURE__ */ s.jsxs("div", { className: "w-full flex justify-between md:px-6", children: [
21
21
  /* @__PURE__ */ s.jsxs("div", { className: i("flex flex-col leading-6 justify-center relative overflow-hidden"), children: [
22
22
  l && /* @__PURE__ */ s.jsx("h3", { className: i(" prometeo-fonts-body-small md:prometeo-fonts-body-medium text-neutral-medium-default line-clamp-1 text-nowrap overflow-hidden text-ellipsis w-full", r), children: l }),
23
- e && /* @__PURE__ */ s.jsx("h1", { className: i("prometeo-fonts-headline-xsmall md:prometeo-fonts-headline-small text-neutral-strong-default line-clamp-1 text-nowrap overflow-hidden text-ellipsis w-full wrap-break-word", n), children: e })
23
+ e && /* @__PURE__ */ s.jsx("h1", { className: i("prometeo-fonts-headline-xsmall md:prometeo-fonts-headline-small text-neutral-strong-default line-clamp-1 text-nowrap overflow-hidden text-ellipsis w-full wrap-break-word", o), children: e })
24
24
  ] }),
25
25
  m,
26
26
  t && /* @__PURE__ */ s.jsx("div", { className: "md:hidden", children: typeof t == "function" ? t() : t })
@@ -255,7 +255,7 @@ const g = {
255
255
  if (n)
256
256
  return /* @__PURE__ */ a.jsx("div", { className: "flex items-center justify-center", children: !b && x });
257
257
  let t = null;
258
- if (console.log(typeof r), r)
258
+ if (r)
259
259
  if (h(r))
260
260
  v(r.type) ? t = t = /* @__PURE__ */ a.jsx(
261
261
  "span",
package/dist/Input.es.js CHANGED
@@ -14,7 +14,7 @@ const x = {
14
14
  input: e(
15
15
  "border-neutral-default-default text-neutral-default-default!",
16
16
  "focus:ring-primary-default-default focus:ring-[1px] focus:border-primary-default-default ",
17
- "hover:border-neutral-strong-default"
17
+ "hover:border-primary-default-default"
18
18
  ),
19
19
  label: e("text-neutral-medium-default"),
20
20
  icon: e(
@@ -122,7 +122,7 @@ const x = {
122
122
  T(!j);
123
123
  }, N = {};
124
124
  m && m !== "100%" && (N.width = m), a && (N.height = a);
125
- const H = u === "error" && w, C = !H && y, G = r === "password", J = () => o === "static" ? "-top-1 -translate-y-full left-0 pl-3" : l ? `${d ? "peer-placeholder-shown:top-[calc(50%-12px)]" : "peer-placeholder-shown:top-1/2"} -translate-y-1/2 peer-focus:top-0 peer-focus:left-3 peer-focus:px-1 peer-focus:ml-0 peer-focus:mr-0 ${s === "left" ? "peer-placeholder-shown:ml-6" : "peer-placeholder-shown:mr-6"}` : `${d ? "peer-placeholder-shown:top-[calc(50%-12px)]" : "peer-placeholder-shown:top-1/2"} -translate-y-1/2 peer-focus:top-0 peer-focus:left-3 peer-focus:px-1`, K = () => a ? f.customHeight.label : f[p].label, Q = () => a ? { height: a } : {}, U = () => o === "default" ? b : E || b || "", W = () => G ? !l && !i ? "pr-10" : s === "left" ? "pl-10 pr-10" : "pr-16" : i ? l ? s === "left" ? `pl-10 pr-7 ${g === "xsmall" && "pl-8"}` : "pr-10 pl-3" : "pr-7" : l ? s === "left" ? `pl-10 pr-7 ${g === "xsmall" && "pl-[31px]"}` : "pr-10 pl-3" : "", X = o === "default" && "transition-all duration-200 ease-in-out", d = w || y;
125
+ const H = u === "error" && w, C = !H && y, G = r === "password", J = () => o === "static" ? "-top-1 -translate-y-full left-0 pl-3" : l ? `${d ? "peer-placeholder-shown:top-[calc(50%-12px)]" : "peer-placeholder-shown:top-1/2"} -translate-y-1/2 peer-focus:top-0 peer-focus:left-3 peer-focus:px-1 peer-focus:ml-0 peer-focus:mr-0 ${s === "left" ? "peer-placeholder-shown:ml-6" : "peer-placeholder-shown:mr-6"}` : `${d ? "peer-placeholder-shown:top-[calc(50%-12px)]" : "peer-placeholder-shown:top-1/2"} -translate-y-1/2 peer-focus:top-0 peer-focus:left-3 peer-focus:px-1`, K = () => a ? f.customHeight.label : f[p].label, Q = () => a ? { height: a } : {}, U = () => o === "default" ? b : E || b || "", W = () => G ? !l && !i ? "pr-10" : s === "left" ? "pl-10 pr-10" : "pr-16" : i ? l ? s === "left" ? `pl-10 pr-7 ${g === "xsmall" && "pl-8"}` : "pr-10 pl-3" : "pr-7" : l ? s === "left" ? `pl-10 pr-7 ${g === "xsmall" && "pl-[31px]"}` : "pr-10 pl-3" : "", X = o === "default" && "transition-all duration-300 ease-in-out", d = w || y;
126
126
  return /* @__PURE__ */ t.jsxs(
127
127
  "div",
128
128
  {
@@ -146,7 +146,7 @@ const x = {
146
146
  placeholder: U(),
147
147
  type: r === "password" && j ? "text" : r,
148
148
  className: e(
149
- "peer w-full border rounded-lg bg-transparent appearance-none transition-all duration-200 ease-in-out",
149
+ "peer w-full border rounded-lg bg-transparent appearance-none transition-all duration-300 ease-in-out",
150
150
  "focus:outline-none px-3",
151
151
  o === "default" && "placeholder:text-transparent",
152
152
  o === "static" && "placeholder:text-neutral-medium-default ",