@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.
@@ -36523,21 +36523,41 @@ function SearchContainerSkeleton({
36523
36523
  ] });
36524
36524
  }
36525
36525
  function CategorySidebarSkeleton({ className }) {
36526
- return /* @__PURE__ */ jsxs1488("div", { className: cn("w-full lg:w-[320px] space-y-6", className), children: [
36527
- /* @__PURE__ */ jsxs1488("div", { className: "bg-ods-card border border-ods-border rounded-lg p-4 md:p-6", children: [
36528
- /* @__PURE__ */ jsx2001(TextSkeleton.Subheading, { className: "mb-4 w-1/2" }),
36529
- /* @__PURE__ */ jsx2001("div", { className: "space-y-3", children: Array.from({ length: 8 }).map((_, index) => /* @__PURE__ */ jsxs1488("div", { className: "flex items-center justify-between", children: [
36530
- /* @__PURE__ */ jsx2001(TextSkeleton.Body, { className: "w-3/4" }),
36531
- /* @__PURE__ */ jsx2001(TextSkeleton.Caption, { className: "w-8" })
36532
- ] }, index)) })
36533
- ] }),
36534
- /* @__PURE__ */ jsxs1488("div", { className: "bg-ods-card border border-ods-border rounded-lg p-4 md:p-6", children: [
36535
- /* @__PURE__ */ jsx2001(TextSkeleton.Subheading, { className: "mb-4 w-1/3" }),
36536
- /* @__PURE__ */ jsx2001("div", { className: "space-y-2", children: Array.from({ length: 5 }).map((_, index) => /* @__PURE__ */ jsxs1488("div", { className: "flex items-center gap-2", children: [
36537
- /* @__PURE__ */ jsx2001(UnifiedSkeleton, { variant: "default", className: "w-4 h-4" }),
36538
- /* @__PURE__ */ jsx2001(TextSkeleton.Body, { className: "w-2/3" })
36539
- ] }, index)) })
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 }) {