@moondreamsdev/dreamer-ui 1.7.19-test.21 → 1.7.19-test.22

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 o, 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((i) => typeof i == "string" && i).join(" ").trim() || void 0;
8
8
  }
9
- function X({ size: n = 15, color: i = "currentColor", className: u = "inline", ...e }) {
9
+ function Y({ size: n = 15, color: i = "currentColor", className: u = "inline", ...e }) {
10
10
  return /* @__PURE__ */ o(
11
11
  "svg",
12
12
  {
@@ -486,6 +486,11 @@ l(null);
486
486
  l(void 0);
487
487
  l(void 0);
488
488
  l(void 0);
489
+ l(null);
490
+ l(null);
491
+ l(void 0);
492
+ l(void 0);
493
+ l(void 0);
489
494
  function _() {
490
495
  const [n, i] = x(0);
491
496
  return p(() => {
@@ -654,7 +659,7 @@ function el({
654
659
  const { label: S, ...$ } = D;
655
660
  return /* @__PURE__ */ o(W, { ...$, "data-modal-action": "true", children: S }, O);
656
661
  }) });
657
- return /* @__PURE__ */ o(q, { children: V(
662
+ return /* @__PURE__ */ o(q, { children: Z(
658
663
  /* @__PURE__ */ o(
659
664
  "div",
660
665
  {
@@ -692,7 +697,7 @@ function el({
692
697
  onClick: u,
693
698
  "data-modal-close-button": "true",
694
699
  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",
695
- children: /* @__PURE__ */ o(X, { size: 18 })
700
+ children: /* @__PURE__ */ o(Y, { size: 18 })
696
701
  }
697
702
  ),
698
703
  I(),
@@ -771,15 +776,15 @@ const ol = l(null), vl = () => {
771
776
  }, T = {
772
777
  info: {
773
778
  className: "bg-blue-50 border-blue-200 text-blue-900 dark:bg-blue-800 dark:border-blue-950 dark:text-blue-100",
774
- icon: /* @__PURE__ */ o(P, { size: 20 })
779
+ icon: /* @__PURE__ */ o(Q, { size: 20 })
775
780
  },
776
781
  warning: {
777
782
  className: "bg-yellow-50 border-yellow-200 text-yellow-900 dark:bg-yellow-800 dark:border-yellow-950 dark:text-yellow-100",
778
- icon: /* @__PURE__ */ o(K, { size: 20 })
783
+ icon: /* @__PURE__ */ o(P, { size: 20 })
779
784
  },
780
785
  error: {
781
786
  className: "bg-red-50 border-red-200 text-red-900 dark:bg-red-800 dark:border-red-950 dark:text-red-100",
782
- icon: /* @__PURE__ */ o(Z, { size: 20 })
787
+ icon: /* @__PURE__ */ o(K, { size: 20 })
783
788
  }
784
789
  };
785
790
  function fl({
@@ -824,7 +829,7 @@ function fl({
824
829
  {
825
830
  role: e === "error" ? "alert" : "status",
826
831
  "aria-live": e === "error" ? void 0 : "polite",
827
- className: Q(
832
+ className: X(
828
833
  "relative flex items-start p-4 rounded-lg border shadow-lg transition-all ease-in-out",
829
834
  t && "pb-3",
830
835
  m.className,
@@ -849,7 +854,7 @@ function fl({
849
854
  {
850
855
  onClick: f,
851
856
  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",
852
- children: /* @__PURE__ */ o(Y, { size: 16 })
857
+ children: /* @__PURE__ */ o(V, { size: 16 })
853
858
  }
854
859
  )
855
860
  ]
@@ -865,4 +870,4 @@ export {
865
870
  y as n,
866
871
  vl as u
867
872
  };
868
- //# sourceMappingURL=Toast-Bdi3ohxP.js.map
873
+ //# sourceMappingURL=Toast-C5oX0fsR.js.map