@moondreamsdev/dreamer-ui 1.7.15 → 1.7.16

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 u, 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: o = "inline", ...e }) {
9
+ function Y({ size: n = 15, color: i = "currentColor", className: o = "inline", ...e }) {
10
10
  return /* @__PURE__ */ u(
11
11
  "svg",
12
12
  {
@@ -386,6 +386,11 @@ l(null);
386
386
  l(void 0);
387
387
  l(void 0);
388
388
  l(void 0);
389
+ l(null);
390
+ l(null);
391
+ l(void 0);
392
+ l(void 0);
393
+ l(void 0);
389
394
  function _() {
390
395
  const [n, i] = x(0);
391
396
  return p(() => {
@@ -554,7 +559,7 @@ function el({
554
559
  const { label: S, ...$ } = D;
555
560
  return /* @__PURE__ */ u(W, { ...$, "data-modal-action": "true", children: S }, O);
556
561
  }) });
557
- return /* @__PURE__ */ u(q, { children: V(
562
+ return /* @__PURE__ */ u(q, { children: Z(
558
563
  /* @__PURE__ */ u(
559
564
  "div",
560
565
  {
@@ -592,7 +597,7 @@ function el({
592
597
  onClick: o,
593
598
  "data-modal-close-button": "true",
594
599
  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",
595
- children: /* @__PURE__ */ u(X, { size: 18 })
600
+ children: /* @__PURE__ */ u(Y, { size: 18 })
596
601
  }
597
602
  ),
598
603
  I(),
@@ -671,15 +676,15 @@ const ul = l(null), cl = () => {
671
676
  }, T = {
672
677
  info: {
673
678
  className: "bg-blue-50 border-blue-200 text-blue-900 dark:bg-blue-800 dark:border-blue-950 dark:text-blue-100",
674
- icon: /* @__PURE__ */ u(P, { size: 20 })
679
+ icon: /* @__PURE__ */ u(Q, { size: 20 })
675
680
  },
676
681
  warning: {
677
682
  className: "bg-yellow-50 border-yellow-200 text-yellow-900 dark:bg-yellow-800 dark:border-yellow-950 dark:text-yellow-100",
678
- icon: /* @__PURE__ */ u(K, { size: 20 })
683
+ icon: /* @__PURE__ */ u(P, { size: 20 })
679
684
  },
680
685
  error: {
681
686
  className: "bg-red-50 border-red-200 text-red-900 dark:bg-red-800 dark:border-red-950 dark:text-red-100",
682
- icon: /* @__PURE__ */ u(Z, { size: 20 })
687
+ icon: /* @__PURE__ */ u(K, { size: 20 })
683
688
  }
684
689
  };
685
690
  function ml({
@@ -724,7 +729,7 @@ function ml({
724
729
  {
725
730
  role: e === "error" ? "alert" : "status",
726
731
  "aria-live": e === "error" ? void 0 : "polite",
727
- className: Q(
732
+ className: X(
728
733
  "relative flex items-start p-4 rounded-lg border shadow-lg transition-all duration-150 ease-in-out",
729
734
  r && "pb-3",
730
735
  f.className,
@@ -749,7 +754,7 @@ function ml({
749
754
  {
750
755
  onClick: m,
751
756
  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",
752
- children: /* @__PURE__ */ u(Y, { size: 16 })
757
+ children: /* @__PURE__ */ u(V, { size: 16 })
753
758
  }
754
759
  )
755
760
  ]
@@ -765,4 +770,4 @@ export {
765
770
  y as n,
766
771
  cl as u
767
772
  };
768
- //# sourceMappingURL=Toast-CT6Ns-gP.js.map
773
+ //# sourceMappingURL=Toast-aRIuMq3v.js.map