@camped-layout/sub-base
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -11,5 +11,5 @@ "use strict"; | ||
return ((0, jsx_runtime_1.jsx)("a", { href: `${link.href}`, children: (0, jsx_runtime_1.jsx)(button_1.Button, { variant: "ghost", className: `group mb-0.5 flex w-full items-center justify-start gap-2.5 px-3 py-2 text-sm font-medium outline-none ${isActive ? "bg-secondary" : ""} `, children: link === null || link === void 0 ? void 0 : link.title }, index) })); | ||
}) }), (0, jsx_runtime_1.jsxs)("div", { className: "flex h-full min-h-[60vh] w-full flex-col gap-4", children: [(0, jsx_runtime_1.jsxs)("div", { className: "hidden md:block", children: [(0, jsx_runtime_1.jsx)("h3", { className: "text-lg font-medium", children: subLayoutTitle }), (0, jsx_runtime_1.jsx)("p", { className: "text-muted-foreground text-sm", children: subLayoutDescription }), (0, jsx_runtime_1.jsx)(separator_1.Separator, {})] }), (0, jsx_runtime_1.jsx)("div", { className: "h-full min-h-[60vh] w-full min-w-[600px] pb-20 ", children: children })] })] }) })] })); | ||
}) }), (0, jsx_runtime_1.jsxs)("div", { className: "flex h-full min-h-[60vh] w-full flex-col gap-4", children: [(0, jsx_runtime_1.jsxs)("div", { className: "hidden md:block", children: [(0, jsx_runtime_1.jsx)("h3", { className: "text-lg font-medium", children: subLayoutTitle }), (0, jsx_runtime_1.jsx)("p", { className: "text-muted-foreground text-sm", children: subLayoutDescription }), (0, jsx_runtime_1.jsx)(separator_1.Separator, { className: "mt-2" })] }), (0, jsx_runtime_1.jsx)("div", { className: "h-full min-h-[60vh] w-full pb-20 ", children: children })] })] }) })] })); | ||
}; | ||
exports.SubLayoutWrapper = SubLayoutWrapper; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@camped-layout/sub-base", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
4985