@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
|
@@ -37112,21 +37112,41 @@ function SearchContainerSkeleton({
|
|
|
37112
37112
|
] });
|
|
37113
37113
|
}
|
|
37114
37114
|
function CategorySidebarSkeleton({ className }) {
|
|
37115
|
-
|
|
37116
|
-
|
|
37117
|
-
|
|
37118
|
-
|
|
37119
|
-
|
|
37120
|
-
|
|
37121
|
-
|
|
37122
|
-
|
|
37123
|
-
|
|
37124
|
-
|
|
37125
|
-
|
|
37126
|
-
|
|
37127
|
-
|
|
37128
|
-
|
|
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 }) {
|