@xola/ui-kit 2.0.0-84 → 2.0.0-85

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/build/ui-kit.mjs CHANGED
@@ -502,7 +502,7 @@ const _t = ({ isOpen: e = !1, title: t, content: o, onClose: a, classNames: r =
502
502
  as: Re
503
503
  }, /* @__PURE__ */ n.createElement(We, {
504
504
  as: "div",
505
- className: y("ui-drawer fixed inset-0 z-30 overflow-hidden", r.dialog),
505
+ className: y("ui-drawer fixed inset-0 z-10 overflow-hidden", r.dialog),
506
506
  open: e,
507
507
  onClose: a
508
508
  }, /* @__PURE__ */ n.createElement("div", {
@@ -756,7 +756,7 @@ const ia = {
756
756
  className: y(
757
757
  "ui-sidebar",
758
758
  r ? "fixed" : "relative",
759
- "z-50 flex h-full w-16 flex-col overflow-y-auto bg-black py-2 px-1 text-white md:w-24 xl:w-50",
759
+ "z-20 flex h-full w-16 flex-col overflow-y-auto bg-black py-2 px-1 text-white md:w-24 xl:w-50",
760
760
  t
761
761
  )
762
762
  }, x || v ? /* @__PURE__ */ n.createElement("div", {
@@ -849,7 +849,7 @@ const sa = (e, t) => Le.toArray(e).filter((o) => o.type === t), la = "_main_1wbe
849
849
  const i = sa(t, ye.Content), s = Le.toArray(t).filter((c) => c.type !== ye.Content);
850
850
  return /* @__PURE__ */ n.createElement(hn, {
851
851
  interactive: !0,
852
- zIndex: 20,
852
+ zIndex: 50,
853
853
  content: i,
854
854
  className: y("ui-popover", ca.main, "!rounded-lg !border-gray-light shadow-xl", e),
855
855
  plugins: [$r],
@@ -7044,7 +7044,7 @@ const ic = {
7044
7044
  this.show({ color: "caution", text: e, ...t });
7045
7045
  },
7046
7046
  danger(e, t) {
7047
- this.show({ color: "danger", text: e, text: e, ...t });
7047
+ this.show({ color: "danger", text: e, ...t });
7048
7048
  },
7049
7049
  getStyles(e, t, o) {
7050
7050
  return y("flex text-white rounded pointer-events-auto", ic[e], sc[t], o);