@flamingo-stack/openframe-frontend-core 0.0.91 → 0.0.92-snapshot.20260405050818

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.
@@ -37112,21 +37112,41 @@ function SearchContainerSkeleton({
37112
37112
  ] });
37113
37113
  }
37114
37114
  function CategorySidebarSkeleton({ className }) {
37115
- return /* @__PURE__ */ (0, import_jsx_runtime2001.jsxs)("div", { className: cn("w-full lg:w-[320px] space-y-6", className), children: [
37116
- /* @__PURE__ */ (0, import_jsx_runtime2001.jsxs)("div", { className: "bg-ods-card border border-ods-border rounded-lg p-4 md:p-6", children: [
37117
- /* @__PURE__ */ (0, import_jsx_runtime2001.jsx)(TextSkeleton.Subheading, { className: "mb-4 w-1/2" }),
37118
- /* @__PURE__ */ (0, import_jsx_runtime2001.jsx)("div", { className: "space-y-3", children: Array.from({ length: 8 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime2001.jsxs)("div", { className: "flex items-center justify-between", children: [
37119
- /* @__PURE__ */ (0, import_jsx_runtime2001.jsx)(TextSkeleton.Body, { className: "w-3/4" }),
37120
- /* @__PURE__ */ (0, import_jsx_runtime2001.jsx)(TextSkeleton.Caption, { className: "w-8" })
37121
- ] }, index)) })
37122
- ] }),
37123
- /* @__PURE__ */ (0, import_jsx_runtime2001.jsxs)("div", { className: "bg-ods-card border border-ods-border rounded-lg p-4 md:p-6", children: [
37124
- /* @__PURE__ */ (0, import_jsx_runtime2001.jsx)(TextSkeleton.Subheading, { className: "mb-4 w-1/3" }),
37125
- /* @__PURE__ */ (0, import_jsx_runtime2001.jsx)("div", { className: "space-y-2", children: Array.from({ length: 5 }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime2001.jsxs)("div", { className: "flex items-center gap-2", children: [
37126
- /* @__PURE__ */ (0, import_jsx_runtime2001.jsx)(UnifiedSkeleton, { variant: "default", className: "w-4 h-4" }),
37127
- /* @__PURE__ */ (0, import_jsx_runtime2001.jsx)(TextSkeleton.Body, { className: "w-2/3" })
37128
- ] }, index)) })
37129
- ] })
37115
+ const items = [
37116
+ { type: "file", width: "w-20", hasBadge: false },
37117
+ { type: "folder", width: "w-24", hasBadge: true },
37118
+ { type: "folder", width: "w-20", hasBadge: true },
37119
+ { type: "folder", width: "w-24", hasBadge: true },
37120
+ { type: "folder", width: "w-16", hasBadge: true },
37121
+ { type: "folder", width: "w-20", hasBadge: true },
37122
+ { type: "folder", width: "w-28", hasBadge: true },
37123
+ { type: "folder", width: "w-16", hasBadge: true },
37124
+ { type: "folder", width: "w-24", hasBadge: true },
37125
+ { type: "file", width: "w-28" },
37126
+ { type: "file", width: "w-36" }
37127
+ ];
37128
+ return /* @__PURE__ */ (0, import_jsx_runtime2001.jsxs)("div", { className: cn("w-full lg:w-[320px]", className), children: [
37129
+ /* @__PURE__ */ (0, import_jsx_runtime2001.jsx)(UnifiedSkeleton, { className: "h-[14px] w-24 rounded mb-4" }),
37130
+ /* @__PURE__ */ (0, import_jsx_runtime2001.jsx)("div", { className: "space-y-1.5", children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime2001.jsxs)(
37131
+ "div",
37132
+ {
37133
+ className: cn(
37134
+ "flex items-center justify-between py-4 px-4 rounded-lg border border-ods-border min-h-[50px]",
37135
+ index === 0 ? "bg-ods-accent/20" : "bg-ods-card"
37136
+ ),
37137
+ children: [
37138
+ /* @__PURE__ */ (0, import_jsx_runtime2001.jsxs)("div", { className: "flex items-center gap-2.5", children: [
37139
+ /* @__PURE__ */ (0, import_jsx_runtime2001.jsx)(UnifiedSkeleton, { className: "w-4 h-4 shrink-0 rounded" }),
37140
+ /* @__PURE__ */ (0, import_jsx_runtime2001.jsx)(UnifiedSkeleton, { className: `h-[14px] ${item.width} rounded` })
37141
+ ] }),
37142
+ /* @__PURE__ */ (0, import_jsx_runtime2001.jsxs)("div", { className: "flex items-center gap-2 h-[18px]", children: [
37143
+ item.hasBadge && /* @__PURE__ */ (0, import_jsx_runtime2001.jsx)(UnifiedSkeleton, { className: "h-[18px] w-14 rounded" }),
37144
+ item.type === "folder" && /* @__PURE__ */ (0, import_jsx_runtime2001.jsx)(UnifiedSkeleton, { className: "w-4 h-4 rounded" })
37145
+ ] })
37146
+ ]
37147
+ },
37148
+ index
37149
+ )) })
37130
37150
  ] });
37131
37151
  }
37132
37152
  function BreadcrumbSkeleton({ className }) {