@moondreamsdev/dreamer-ui 1.7.17-test.0 → 1.7.18

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
  {
@@ -396,6 +396,11 @@ l(null);
396
396
  l(void 0);
397
397
  l(void 0);
398
398
  l(void 0);
399
+ l(null);
400
+ l(null);
401
+ l(void 0);
402
+ l(void 0);
403
+ l(void 0);
399
404
  function _() {
400
405
  const [n, i] = x(0);
401
406
  return p(() => {
@@ -564,7 +569,7 @@ function el({
564
569
  const { label: S, ...$ } = D;
565
570
  return /* @__PURE__ */ u(W, { ...$, "data-modal-action": "true", children: S }, O);
566
571
  }) });
567
- return /* @__PURE__ */ u(q, { children: V(
572
+ return /* @__PURE__ */ u(q, { children: Z(
568
573
  /* @__PURE__ */ u(
569
574
  "div",
570
575
  {
@@ -602,7 +607,7 @@ function el({
602
607
  onClick: o,
603
608
  "data-modal-close-button": "true",
604
609
  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",
605
- children: /* @__PURE__ */ u(X, { size: 18 })
610
+ children: /* @__PURE__ */ u(Y, { size: 18 })
606
611
  }
607
612
  ),
608
613
  I(),
@@ -681,15 +686,15 @@ const ul = l(null), cl = () => {
681
686
  }, T = {
682
687
  info: {
683
688
  className: "bg-blue-50 border-blue-200 text-blue-900 dark:bg-blue-800 dark:border-blue-950 dark:text-blue-100",
684
- icon: /* @__PURE__ */ u(P, { size: 20 })
689
+ icon: /* @__PURE__ */ u(Q, { size: 20 })
685
690
  },
686
691
  warning: {
687
692
  className: "bg-yellow-50 border-yellow-200 text-yellow-900 dark:bg-yellow-800 dark:border-yellow-950 dark:text-yellow-100",
688
- icon: /* @__PURE__ */ u(K, { size: 20 })
693
+ icon: /* @__PURE__ */ u(P, { size: 20 })
689
694
  },
690
695
  error: {
691
696
  className: "bg-red-50 border-red-200 text-red-900 dark:bg-red-800 dark:border-red-950 dark:text-red-100",
692
- icon: /* @__PURE__ */ u(Z, { size: 20 })
697
+ icon: /* @__PURE__ */ u(K, { size: 20 })
693
698
  }
694
699
  };
695
700
  function ml({
@@ -734,7 +739,7 @@ function ml({
734
739
  {
735
740
  role: e === "error" ? "alert" : "status",
736
741
  "aria-live": e === "error" ? void 0 : "polite",
737
- className: Q(
742
+ className: X(
738
743
  "relative flex items-start p-4 rounded-lg border shadow-lg transition-all duration-150 ease-in-out",
739
744
  r && "pb-3",
740
745
  f.className,
@@ -759,7 +764,7 @@ function ml({
759
764
  {
760
765
  onClick: m,
761
766
  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",
762
- children: /* @__PURE__ */ u(Y, { size: 16 })
767
+ children: /* @__PURE__ */ u(V, { size: 16 })
763
768
  }
764
769
  )
765
770
  ]
@@ -775,4 +780,4 @@ export {
775
780
  y as n,
776
781
  cl as u
777
782
  };
778
- //# sourceMappingURL=Toast-GnTYRmnY.js.map
783
+ //# sourceMappingURL=Toast-D2GJgSZ2.js.map