@flamingo-stack/openframe-frontend-core 0.0.91 → 0.0.92
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/components/index.cjs +35 -15
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +35 -15
- package/dist/components/index.js.map +1 -1
- package/dist/components/loading/page-layout-skeleton.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/loading/page-layout-skeleton.tsx +37 -25
package/dist/components/index.js
CHANGED
|
@@ -36523,21 +36523,41 @@ function SearchContainerSkeleton({
|
|
|
36523
36523
|
] });
|
|
36524
36524
|
}
|
|
36525
36525
|
function CategorySidebarSkeleton({ className }) {
|
|
36526
|
-
|
|
36527
|
-
|
|
36528
|
-
|
|
36529
|
-
|
|
36530
|
-
|
|
36531
|
-
|
|
36532
|
-
|
|
36533
|
-
|
|
36534
|
-
|
|
36535
|
-
|
|
36536
|
-
|
|
36537
|
-
|
|
36538
|
-
|
|
36539
|
-
|
|
36540
|
-
] })
|
|
36526
|
+
const items = [
|
|
36527
|
+
{ type: "file", width: "w-20", hasBadge: false },
|
|
36528
|
+
{ type: "folder", width: "w-24", hasBadge: true },
|
|
36529
|
+
{ type: "folder", width: "w-20", hasBadge: true },
|
|
36530
|
+
{ type: "folder", width: "w-24", hasBadge: true },
|
|
36531
|
+
{ type: "folder", width: "w-16", hasBadge: true },
|
|
36532
|
+
{ type: "folder", width: "w-20", hasBadge: true },
|
|
36533
|
+
{ type: "folder", width: "w-28", hasBadge: true },
|
|
36534
|
+
{ type: "folder", width: "w-16", hasBadge: true },
|
|
36535
|
+
{ type: "folder", width: "w-24", hasBadge: true },
|
|
36536
|
+
{ type: "file", width: "w-28" },
|
|
36537
|
+
{ type: "file", width: "w-36" }
|
|
36538
|
+
];
|
|
36539
|
+
return /* @__PURE__ */ jsxs1488("div", { className: cn("w-full lg:w-[320px]", className), children: [
|
|
36540
|
+
/* @__PURE__ */ jsx2001(UnifiedSkeleton, { className: "h-[14px] w-24 rounded mb-4" }),
|
|
36541
|
+
/* @__PURE__ */ jsx2001("div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ jsxs1488(
|
|
36542
|
+
"div",
|
|
36543
|
+
{
|
|
36544
|
+
className: cn(
|
|
36545
|
+
"flex items-center justify-between py-4 px-4 rounded-lg border border-ods-border min-h-[50px]",
|
|
36546
|
+
index === 0 ? "bg-ods-accent/20" : "bg-ods-card"
|
|
36547
|
+
),
|
|
36548
|
+
children: [
|
|
36549
|
+
/* @__PURE__ */ jsxs1488("div", { className: "flex items-center gap-2.5", children: [
|
|
36550
|
+
/* @__PURE__ */ jsx2001(UnifiedSkeleton, { className: "w-4 h-4 shrink-0 rounded" }),
|
|
36551
|
+
/* @__PURE__ */ jsx2001(UnifiedSkeleton, { className: `h-[14px] ${item.width} rounded` })
|
|
36552
|
+
] }),
|
|
36553
|
+
/* @__PURE__ */ jsxs1488("div", { className: "flex items-center gap-2 h-[18px]", children: [
|
|
36554
|
+
item.hasBadge && /* @__PURE__ */ jsx2001(UnifiedSkeleton, { className: "h-[18px] w-14 rounded" }),
|
|
36555
|
+
item.type === "folder" && /* @__PURE__ */ jsx2001(UnifiedSkeleton, { className: "w-4 h-4 rounded" })
|
|
36556
|
+
] })
|
|
36557
|
+
]
|
|
36558
|
+
},
|
|
36559
|
+
index
|
|
36560
|
+
)) })
|
|
36541
36561
|
] });
|
|
36542
36562
|
}
|
|
36543
36563
|
function BreadcrumbSkeleton({ className }) {
|