@ai-matrx/records-ui 0.102.14 → 0.102.15
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/CHANGELOG.md +6 -0
- package/dist/index.cjs +15 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +15 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -7748,15 +7748,28 @@ function BodySkeleton({ layout, embedded, rows }) {
|
|
|
7748
7748
|
/* @__PURE__ */ jsx29("div", { className: "flex h-9 items-center gap-6 border-b border-border px-3", children: Array.from({ length: 6 }, (_, i) => /* @__PURE__ */ jsx29(Skeleton2, { shape: "line", width: "sm", className: "w-16" }, i)) }),
|
|
7749
7749
|
Array.from({ length: Math.min(lineCount, 8) }, (_, i) => /* @__PURE__ */ jsx29("div", { className: "flex h-10 items-center border-b border-border/60 px-3", children: /* @__PURE__ */ jsx29(Skeleton2, { className: "h-6 rounded-md", style: { marginLeft: `${i * 13 % 45}%`, width: `${20 + i * 7 % 25}%` } }) }, i))
|
|
7750
7750
|
] });
|
|
7751
|
-
case "form":
|
|
7752
7751
|
case "record":
|
|
7752
|
+
return /* @__PURE__ */ jsxs24("div", { className: "flex min-h-0 flex-1 flex-col gap-2 overflow-hidden", "data-records-skeleton-part": "body", children: [
|
|
7753
|
+
/* @__PURE__ */ jsx29(Skeleton2, { shape: "title", width: "1/2", className: "h-8", "data-records-skeleton-part": "title" }),
|
|
7754
|
+
/* @__PURE__ */ jsxs24("div", { className: "flex h-[38px] items-center gap-2", "data-records-skeleton-part": "actions", children: [
|
|
7755
|
+
/* @__PURE__ */ jsx29(Skeleton2, { shape: "control", width: "sm", className: "h-8" }),
|
|
7756
|
+
/* @__PURE__ */ jsx29(Skeleton2, { shape: "control", width: "sm", className: "h-8" })
|
|
7757
|
+
] }),
|
|
7758
|
+
/* @__PURE__ */ jsx29("div", { className: "h-px w-full shrink-0 bg-border" }),
|
|
7759
|
+
/* @__PURE__ */ jsx29("div", { className: "grid grid-cols-[minmax(6rem,12rem)_1fr] gap-x-3 gap-y-0.5", "data-records-skeleton-part": "fields", children: Array.from({ length: 6 }, (_, i) => /* @__PURE__ */ jsxs24("div", { className: "contents", children: [
|
|
7760
|
+
/* @__PURE__ */ jsx29(Skeleton2, { shape: "line", width: "2/3", className: "my-[7px]" }),
|
|
7761
|
+
/* @__PURE__ */ jsx29(Skeleton2, { shape: "row", className: "h-7" })
|
|
7762
|
+
] }, i)) }),
|
|
7763
|
+
/* @__PURE__ */ jsx29(Skeleton2, { shape: "block", height: "lg" })
|
|
7764
|
+
] });
|
|
7765
|
+
case "form":
|
|
7753
7766
|
return /* @__PURE__ */ jsxs24("div", { className: "flex min-h-0 flex-1 flex-col gap-4 overflow-hidden", "data-records-skeleton-part": "body", children: [
|
|
7754
7767
|
/* @__PURE__ */ jsx29(Skeleton2, { shape: "title", width: "1/2" }),
|
|
7755
7768
|
/* @__PURE__ */ jsx29("div", { className: "grid grid-cols-[minmax(6rem,12rem)_1fr] gap-x-3 gap-y-1.5", children: Array.from({ length: 6 }, (_, i) => /* @__PURE__ */ jsxs24("div", { className: "contents", children: [
|
|
7756
7769
|
/* @__PURE__ */ jsx29(Skeleton2, { shape: "line", width: "2/3", className: "my-1.5" }),
|
|
7757
7770
|
/* @__PURE__ */ jsx29(Skeleton2, { shape: "row", className: "h-7" })
|
|
7758
7771
|
] }, i)) }),
|
|
7759
|
-
|
|
7772
|
+
/* @__PURE__ */ jsx29(Skeleton2, { shape: "control", width: "sm" })
|
|
7760
7773
|
] });
|
|
7761
7774
|
case "chart":
|
|
7762
7775
|
return /* @__PURE__ */ jsxs24("div", { className: "flex flex-col gap-2", "data-records-skeleton-part": "body", children: [
|