arxatec-ui 0.1.23 → 0.1.24

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.js CHANGED
@@ -6048,16 +6048,18 @@ var rl = ({ closeButton: e = !0, ...t }) => /* @__PURE__ */ V(Pn, {
6048
6048
  background: "bg-status-card-background-error",
6049
6049
  backgroundCardIcon: "bg-status-card-background-icon-error",
6050
6050
  textPrimary: "text-status-card-foreground-error",
6051
- textSecondary: "text-status-card-foreground-error opacity-60"
6051
+ textSecondary: "text-status-card-foreground-error opacity-60",
6052
+ border: "border-status-card-border-error"
6052
6053
  },
6053
6054
  white: {
6054
6055
  background: "bg-status-card-background-empty",
6055
6056
  backgroundCardIcon: "bg-status-card-background-icon-empty",
6056
6057
  textPrimary: "text-status-card-foreground-empty",
6057
- textSecondary: "text-status-card-foreground-emtpy opacity-60"
6058
+ textSecondary: "text-status-card-foreground-emtpy opacity-60",
6059
+ border: "border-status-card-border-empty"
6058
6060
  }
6059
6061
  }, al = ({ title: e, description: t, color: n = "rose", icon: r, size: i = "md", classNameCard: a, classNameDescription: o, classNameIconCard: s, classNameTitle: c }) => /* @__PURE__ */ H("div", {
6060
- className: g(" rounded-md flex items-center flex-wrap", i === "sm" ? "p-4 gap-2" : "p-6 gap-4", a, il[n].background),
6062
+ className: g(" rounded-md flex items-center flex-wrap border", i === "sm" ? "p-4 gap-2" : "p-6 gap-4", a, il[n].background, il[n].border),
6061
6063
  children: [r && /* @__PURE__ */ V("div", {
6062
6064
  className: g("rounded-md flex items-center justify-center ", i === "sm" ? "size-8" : "size-12", s, il[n].backgroundCardIcon),
6063
6065
  children: /* @__PURE__ */ V(r, { className: g(il[n].textPrimary, i === "sm" ? "size-4" : "size-6") })
@@ -8693,7 +8695,7 @@ function wu(e) {
8693
8695
  function Tu(e) {
8694
8696
  if (e.selection instanceof ar) return null;
8695
8697
  let t = or(e.doc, e.selection.from), n = t ? e.doc.nodeAt(t.pos) : null;
8696
- return !n || n.type.name !== "tableCell" && n.type.name !== "tableHeader" ? null : t.pos;
8698
+ return !n || n.type.name !== "tableCell" && n.type.name !== "tableHeader" ? null : t?.pos ?? null;
8697
8699
  }
8698
8700
  var Eu = ve.create({
8699
8701
  name: "tableSideControls",