@zonos/amino 6.0.0-alpha.16 → 6.0.0-alpha.17
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("../../tslib.es6-cdc5f922.js"),r=require("../../styles/constants/theme.js"),a=require("../../utils/cn.js"),s=require("react/jsx-runtime");require("clsx"),require("tailwind-merge");exports.Layout=function(i){var o=i.className,n=i.content,d=i.footer,l=i.headerContent,t=i.logoSidebar,h=i.noPaddingContent,c=i.sidebar,b=i.style;return s.jsxs("main",{className:a.cn("h-screen overflow-hidden",o),style:e.__assign(e.__assign({},b),{"--amino-layout-height":l?"calc(100vh - ".concat(r.theme.appbarHeight,")"):"100vh"}),children:[!!l&&s.jsx("header",{className:"sticky top-0 z-[var(--amino-appbar-elevation)] flex h-[var(--amino-appbar-height)] box-border border-b border-amino bg-header shadow-[var(--amino-v3-shadow-base)]",children:l}),s.jsxs("div",{className:"grid h-[var(--amino-layout-height)]",style:{gridTemplateColumns:"var(--amino-sidebar-width) 1fr"},children:[s.jsxs("nav",{className:"grid h-full w-[var(--amino-sidebar-width)] box-border grid-rows-[1fr_auto] border-r border-amino-subtle bg-sidebar",children:[s.jsxs("div",{className:"h-full w-full box-border overflow-y-auto p-amino-16",children:[!!t&&s.jsx("div",{className:"mb-amino-24",children:t}),c]}),s.jsx("div",{className:"w-[var(--amino-sidebar-width)] box-border",children:d})]}),s.jsx("div",{className:a.cn("h-full box-border overflow-y-auto
|
|
1
|
+
"use strict";var e=require("../../tslib.es6-cdc5f922.js"),r=require("../../styles/constants/theme.js"),a=require("../../utils/cn.js"),s=require("react/jsx-runtime");require("clsx"),require("tailwind-merge");exports.Layout=function(i){var o=i.className,n=i.content,d=i.footer,l=i.headerContent,t=i.logoSidebar,h=i.noPaddingContent,c=i.sidebar,b=i.style;return s.jsxs("main",{className:a.cn("h-screen overflow-hidden",o),style:e.__assign(e.__assign({},b),{"--amino-layout-height":l?"calc(100vh - ".concat(r.theme.appbarHeight,")"):"100vh"}),children:[!!l&&s.jsx("header",{className:"sticky top-0 z-[var(--amino-appbar-elevation)] flex h-[var(--amino-appbar-height)] box-border border-b border-amino bg-header shadow-[var(--amino-v3-shadow-base)]",children:l}),s.jsxs("div",{className:"grid h-[var(--amino-layout-height)]",style:{gridTemplateColumns:"var(--amino-sidebar-width) 1fr"},children:[s.jsxs("nav",{className:"grid h-full w-[var(--amino-sidebar-width)] box-border grid-rows-[1fr_auto] border-r border-amino-subtle bg-sidebar",children:[s.jsxs("div",{className:"h-full w-full box-border overflow-y-auto p-amino-16",children:[!!t&&s.jsx("div",{className:"mb-amino-24",children:t}),c]}),s.jsx("div",{className:"w-[var(--amino-sidebar-width)] box-border",children:d})]}),s.jsx("div",{className:a.cn("h-full box-border overflow-y-auto",h?"p-0":"p-amino-32"),children:n})]})]})};
|