@ws-ui/shared 0.0.49 → 0.0.50

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/dist/index.es.js CHANGED
@@ -2843,13 +2843,13 @@ const Wa = (e) => {
2843
2843
  switch (e) {
2844
2844
  case "error":
2845
2845
  case "danger":
2846
- return /* @__PURE__ */ B.jsx(LS, { className: "flex-none mr-1 h-6 w-6" });
2846
+ return /* @__PURE__ */ B.jsx(LS, { className: "flex-none h-6 w-6" });
2847
2847
  case "info":
2848
- return /* @__PURE__ */ B.jsx(B.Fragment, { children: /* @__PURE__ */ B.jsx($d, { className: "flex-none mr-1 h-6 w-6" }) });
2848
+ return /* @__PURE__ */ B.jsx(B.Fragment, { children: /* @__PURE__ */ B.jsx($d, { className: "flex-none h-6 w-6" }) });
2849
2849
  case "warning":
2850
- return /* @__PURE__ */ B.jsx(B.Fragment, { children: /* @__PURE__ */ B.jsx(MS, { className: "flex-none mr-1 h-6 w-6" }) });
2850
+ return /* @__PURE__ */ B.jsx(B.Fragment, { children: /* @__PURE__ */ B.jsx(MS, { className: "flex-none h-6 w-6" }) });
2851
2851
  case "message":
2852
- return /* @__PURE__ */ B.jsx(B.Fragment, { children: /* @__PURE__ */ B.jsx($d, { className: "flex-none mr-1 h-6 w-6" }) });
2852
+ return /* @__PURE__ */ B.jsx(B.Fragment, { children: /* @__PURE__ */ B.jsx($d, { className: "flex-none h-6 w-6" }) });
2853
2853
  default:
2854
2854
  return null;
2855
2855
  }
@@ -2869,9 +2869,11 @@ const Wa = (e) => {
2869
2869
  "bg-blue-100 text-blue-900": n === "info",
2870
2870
  "bg-green-200 text-green-500": n === "message"
2871
2871
  }),
2872
- children: typeof o == "string" ? /* @__PURE__ */ B.jsxs("div", { className: "flex items-center gap-x-3", children: [
2873
- /* @__PURE__ */ B.jsx(zd, { kind: n, customIcon: u }),
2874
- a ? /* @__PURE__ */ B.jsx(Wa, { children: o }) : /* @__PURE__ */ B.jsx(B.Fragment, { children: o }),
2872
+ children: typeof o == "string" ? /* @__PURE__ */ B.jsxs("div", { className: "w-full flex items-center justify-between gap-x-3", children: [
2873
+ /* @__PURE__ */ B.jsxs("div", { className: "flex items-center gap-1", children: [
2874
+ /* @__PURE__ */ B.jsx(zd, { kind: n, customIcon: u }),
2875
+ a ? /* @__PURE__ */ B.jsx(Wa, { children: o }) : /* @__PURE__ */ B.jsx(B.Fragment, { children: o })
2876
+ ] }),
2875
2877
  /* @__PURE__ */ B.jsx(
2876
2878
  "button",
2877
2879
  {