prisma-goat 0.6.6 → 0.6.8

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Version
4
4
 
5
- ### 0.6.6
5
+ ### 0.6.8
6
6
 
7
7
  ---
8
8
 
@@ -6185,15 +6185,18 @@ const zs = N(
6185
6185
  ),
6186
6186
  (!B || B.trim() === "") && /* @__PURE__ */ i("div", { className: `text-[10px] ${U[A]} tracking-[4px]`, children: "DATA" })
6187
6187
  ] }) }),
6188
- /* @__PURE__ */ i("div", { style: { display: w ? "none" : "block", flexGrow: 1, marginLeft: "1.5rem" }, children: /* @__PURE__ */ i("nav", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ i("ul", { className: "flex space-x-4", children: g.map(({ label: Z, href: G, refId: u }) => /* @__PURE__ */ i("li", { children: /* @__PURE__ */ i(ZM, { href: G, Viewport: l[A], colorButton: c[A], setIsOpen: C, children: /* @__PURE__ */ i(
6189
- "div",
6190
- {
6191
- id: u,
6192
- ref: n[u],
6193
- style: { padding: "6px", color: c[A] },
6194
- children: Z
6195
- }
6196
- ) }) }, G)) }) }) })
6188
+ /* @__PURE__ */ i("div", { style: { display: w ? "none" : "block", flexGrow: 1, marginLeft: "1.5rem" }, children: /* @__PURE__ */ i("nav", { style: { display: "flex", justifyContent: "flex-end" }, children: /* @__PURE__ */ i("ul", { className: "flex space-x-4", children: g.map(({ label: Z, href: G, refId: u }) => (
6189
+ // <li key={href}>
6190
+ /* @__PURE__ */ i(ZM, { href: G, Viewport: l[A], colorButton: c[A], setIsOpen: C, children: /* @__PURE__ */ i(
6191
+ "div",
6192
+ {
6193
+ id: u,
6194
+ ref: n[u],
6195
+ style: { padding: "6px", color: c[A] },
6196
+ children: Z
6197
+ }
6198
+ ) }, G)
6199
+ )) }) }) })
6197
6200
  ] })
6198
6201
  ] })
6199
6202
  ] }),
@@ -6804,22 +6807,22 @@ function Ss(A) {
6804
6807
  return K({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "circle", attr: { cx: "12", cy: "12", r: "10" }, child: [] }, { tag: "line", attr: { x1: "15", y1: "9", x2: "9", y2: "15" }, child: [] }, { tag: "line", attr: { x1: "9", y1: "9", x2: "15", y2: "15" }, child: [] }] })(A);
6805
6808
  }
6806
6809
  const Xs = N(
6807
- ({ type: A = "success", message: g, duration: B = 5500 }, M) => {
6808
- const [D, t] = h(!0), [e, w] = h(!1), [Q, C] = h(!1);
6810
+ ({ type: A = "success", message: g, duration: B = 5500, ...M }, D) => {
6811
+ const [t, e] = h(!0), [w, Q] = h(!1), [C, s] = h(!1);
6809
6812
  if (O(() => {
6810
- const I = setTimeout(() => w(!0), B - 500);
6811
- return () => clearTimeout(I);
6813
+ const n = setTimeout(() => Q(!0), B - 500);
6814
+ return () => clearTimeout(n);
6812
6815
  }, [B]), O(() => {
6813
- e && setTimeout(() => t(!1), 500);
6814
- }, [e]), O(() => {
6815
- setTimeout(() => C(!0), 100);
6816
- }, []), !D) return null;
6817
- const s = {
6816
+ w && setTimeout(() => e(!1), 500);
6817
+ }, [w]), O(() => {
6818
+ setTimeout(() => s(!0), 100);
6819
+ }, []), !t) return null;
6820
+ const o = {
6818
6821
  success: { bg: "#047857", progress: "#0c583c" },
6819
6822
  error: { bg: "#b91c1c", progress: "#911d1d" },
6820
6823
  info: { bg: "#0369a1", progress: "#034067" },
6821
6824
  warning: { bg: "#b45309", progress: "#8a3e07" }
6822
- }, o = {
6825
+ }, I = {
6823
6826
  success: /* @__PURE__ */ i(Hs, { className: "w-6 h-6 flex-shrink-0" }),
6824
6827
  error: /* @__PURE__ */ i(Ss, { className: "w-6 h-6 flex-shrink-0" }),
6825
6828
  info: /* @__PURE__ */ i(Ts, { className: "w-6 h-6 flex-shrink-0" }),
@@ -6828,20 +6831,21 @@ const Xs = N(
6828
6831
  return /* @__PURE__ */ y(
6829
6832
  "div",
6830
6833
  {
6831
- ref: M,
6832
- className: `fixed top-5 right-5 z-50 flex items-center gap-3 p-4 rounded-lg shadow-lg text-white bg-opacity-90 transition-transform transform ${e ? "animate-slide-out" : "animate-slide-in"} max-w-sm w-full`,
6833
- style: { backgroundColor: s[A].bg },
6834
+ ref: D,
6835
+ ...M,
6836
+ className: `fixed top-5 right-5 z-50 flex items-center gap-3 p-4 rounded-lg shadow-lg text-white bg-opacity-90 transition-transform transform ${w ? "animate-slide-out" : "animate-slide-in"} max-w-sm w-full`,
6837
+ style: { backgroundColor: o[A].bg, zIndex: 1e4 },
6834
6838
  children: [
6835
- o[A],
6839
+ I[A],
6836
6840
  /* @__PURE__ */ i("span", { className: "flex-1 break-words", children: g }),
6837
- /* @__PURE__ */ i("button", { onClick: () => w(!0), children: /* @__PURE__ */ i(Mw, { className: "w-5 h-5 flex-shrink-0" }) }),
6841
+ /* @__PURE__ */ i("button", { onClick: () => Q(!0), children: /* @__PURE__ */ i(Mw, { className: "w-5 h-5 flex-shrink-0" }) }),
6838
6842
  /* @__PURE__ */ i("div", { className: "absolute bottom-0 left-0 w-full h-[6px] bg-opacity-50 overflow-hidden", children: /* @__PURE__ */ i(
6839
6843
  "div",
6840
6844
  {
6841
6845
  className: "h-full transition-all ease-linear opacity-100",
6842
6846
  style: {
6843
- width: Q ? "0%" : "100%",
6844
- backgroundColor: s[A].progress,
6847
+ width: C ? "0%" : "100%",
6848
+ backgroundColor: o[A].progress,
6845
6849
  transitionDuration: `${B}ms`
6846
6850
  }
6847
6851
  }