@opencxh/ui-kit 3.147.0 → 3.154.0

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
@@ -817,7 +817,7 @@ function es({
817
817
  "div",
818
818
  {
819
819
  className: i(
820
- "flex items-center justify-center overflow-hidden rounded-md border border-neutral bg-surface-sunk",
820
+ "flex items-center justify-center overflow-hidden rounded-md border border-border bg-surface-sunk",
821
821
  l === "square" ? "h-16 w-16" : "h-16 w-28"
822
822
  ),
823
823
  children: r ? /* @__PURE__ */ e("img", { src: r, alt: "", className: "h-full w-full object-contain" }) : /* @__PURE__ */ e(me, { variant: "caption", color: "muted", children: "—" })
@@ -2400,7 +2400,7 @@ const Lr = (t) => {
2400
2400
  {
2401
2401
  "border-accent-border text-text": o === d.id,
2402
2402
  "border-transparent text-text-muted hover:text-text": o !== d.id && !d.disabled,
2403
- "border-transparent text-disabled cursor-not-allowed": d.disabled
2403
+ "border-transparent text-text-disabled cursor-not-allowed": d.disabled
2404
2404
  }
2405
2405
  ),
2406
2406
  children: /* @__PURE__ */ c("span", { className: "flex items-center gap-2", children: [
@@ -4946,7 +4946,7 @@ const pn = ({
4946
4946
  onBack: a,
4947
4947
  editable: l,
4948
4948
  onTitleChange: o,
4949
- surface: m,
4949
+ surface: m = !1,
4950
4950
  headerContent: d,
4951
4951
  loading: v = !1,
4952
4952
  loadingShape: h = "table",
@@ -4973,7 +4973,7 @@ const pn = ({
4973
4973
  /* @__PURE__ */ e(
4974
4974
  pn,
4975
4975
  {
4976
- surface: m ?? g,
4976
+ surface: m,
4977
4977
  title: t,
4978
4978
  subtitle: r,
4979
4979
  meta: n,
@@ -5470,7 +5470,7 @@ const As = ({
5470
5470
  const a = !!(t.children && t.children.length > 0), l = r ? r(t.path) : !1;
5471
5471
  if (a)
5472
5472
  return /* @__PURE__ */ c("li", { children: [
5473
- /* @__PURE__ */ c(
5473
+ t.label && /* @__PURE__ */ c(
5474
5474
  "div",
5475
5475
  {
5476
5476
  className: i(
@@ -5923,7 +5923,7 @@ class Fs extends xt {
5923
5923
  /* @__PURE__ */ e(
5924
5924
  "button",
5925
5925
  {
5926
- className: "mt-4 px-4 py-2 bg-danger text-on-error rounded hover:opacity-90 transition-opacity text-sm",
5926
+ className: "mt-4 px-4 py-2 bg-danger text-danger-fg rounded hover:opacity-90 transition-opacity text-sm",
5927
5927
  onClick: () => this.setState({ hasError: !1, error: null }),
5928
5928
  children: "Try again"
5929
5929
  }