@moondreamsdev/dreamer-ui 1.7.19-test.8 → 1.7.19-test.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.
@@ -1,12 +1,12 @@
1
1
  import { jsx as i, Fragment as q, jsxs as b } from "react/jsx-runtime";
2
2
  import g, { createContext as l, useId as F, useState as x, useEffect as p, useRef as H, useCallback as j, useMemo as z, useContext as A } from "react";
3
- import { createPortal as V } from "react-dom";
4
- import { X as Y, C as Z, E as K, I as P } from "./X-CIoyLewf.js";
5
- import { j as Q } from "./join-BmgR_f4v.js";
3
+ import { createPortal as Z } from "react-dom";
4
+ import { X as V, C as K, E as P, I as Q } from "./X-CIoyLewf.js";
5
+ import { j as X } from "./join-BmgR_f4v.js";
6
6
  function y(...n) {
7
7
  return n.filter((o) => typeof o == "string" && o).join(" ").trim() || void 0;
8
8
  }
9
- function X({ size: n = 15, color: o = "currentColor", className: u = "inline", ...e }) {
9
+ function Y({ size: n = 15, color: o = "currentColor", className: u = "inline", ...e }) {
10
10
  return /* @__PURE__ */ i(
11
11
  "svg",
12
12
  {
@@ -436,6 +436,11 @@ l(null);
436
436
  l(void 0);
437
437
  l(void 0);
438
438
  l(void 0);
439
+ l(null);
440
+ l(null);
441
+ l(void 0);
442
+ l(void 0);
443
+ l(void 0);
439
444
  function _() {
440
445
  const [n, o] = x(0);
441
446
  return p(() => {
@@ -604,7 +609,7 @@ function el({
604
609
  const { label: S, ...$ } = D;
605
610
  return /* @__PURE__ */ i(W, { ...$, "data-modal-action": "true", children: S }, O);
606
611
  }) });
607
- return /* @__PURE__ */ i(q, { children: V(
612
+ return /* @__PURE__ */ i(q, { children: Z(
608
613
  /* @__PURE__ */ i(
609
614
  "div",
610
615
  {
@@ -642,7 +647,7 @@ function el({
642
647
  onClick: u,
643
648
  "data-modal-close-button": "true",
644
649
  className: "rounded-md p-0.5 top-2.5 right-2.5 absolute opacity-80 hover:opacity-100 transition-opacity focus:outline-none focus:ring-2 focus:ring-gray-500 leading-0",
645
- children: /* @__PURE__ */ i(X, { size: 18 })
650
+ children: /* @__PURE__ */ i(Y, { size: 18 })
646
651
  }
647
652
  ),
648
653
  I(),
@@ -721,15 +726,15 @@ const il = l(null), cl = () => {
721
726
  }, T = {
722
727
  info: {
723
728
  className: "bg-blue-50 border-blue-200 text-blue-900 dark:bg-blue-800 dark:border-blue-950 dark:text-blue-100",
724
- icon: /* @__PURE__ */ i(P, { size: 20 })
729
+ icon: /* @__PURE__ */ i(Q, { size: 20 })
725
730
  },
726
731
  warning: {
727
732
  className: "bg-yellow-50 border-yellow-200 text-yellow-900 dark:bg-yellow-800 dark:border-yellow-950 dark:text-yellow-100",
728
- icon: /* @__PURE__ */ i(K, { size: 20 })
733
+ icon: /* @__PURE__ */ i(P, { size: 20 })
729
734
  },
730
735
  error: {
731
736
  className: "bg-red-50 border-red-200 text-red-900 dark:bg-red-800 dark:border-red-950 dark:text-red-100",
732
- icon: /* @__PURE__ */ i(Z, { size: 20 })
737
+ icon: /* @__PURE__ */ i(K, { size: 20 })
733
738
  }
734
739
  };
735
740
  function ml({
@@ -774,7 +779,7 @@ function ml({
774
779
  {
775
780
  role: e === "error" ? "alert" : "status",
776
781
  "aria-live": e === "error" ? void 0 : "polite",
777
- className: Q(
782
+ className: X(
778
783
  "relative flex items-start p-4 rounded-lg border shadow-lg transition-all ease-in-out",
779
784
  t && "pb-3",
780
785
  f.className,
@@ -799,7 +804,7 @@ function ml({
799
804
  {
800
805
  onClick: m,
801
806
  className: "flex-shrink-0 ml-3 p-1 rounded-md hover:bg-black/10 dark:hover:bg-white/10 focus:outline-none focus:ring-1 focus:ring-current leading-0",
802
- children: /* @__PURE__ */ i(Y, { size: 16 })
807
+ children: /* @__PURE__ */ i(V, { size: 16 })
803
808
  }
804
809
  )
805
810
  ]
@@ -815,4 +820,4 @@ export {
815
820
  y as n,
816
821
  cl as u
817
822
  };
818
- //# sourceMappingURL=Toast-Cr98a61X.js.map
823
+ //# sourceMappingURL=Toast-BYZDooaI.js.map