@opencxh/ui-kit 3.147.0 → 3.153.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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/src/content/Page.d.ts +8 -4
- package/package.json +1 -1
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-
|
|
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
|
|
4976
|
+
surface: m,
|
|
4977
4977
|
title: t,
|
|
4978
4978
|
subtitle: r,
|
|
4979
4979
|
meta: n,
|
|
@@ -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-
|
|
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
|
}
|