@schemavaults/ui 0.13.9 → 0.13.10
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/layout/themed-page-container/themed-page-container.js +5 -5
- package/dist/components/layout/themed-page-container/themed-page-container.js.map +1 -1
- package/dist/components/ui/themed-page-background/themed-page-background.js +1 -1
- package/dist/components/ui/themed-page-background/themed-page-background.js.map +1 -1
- package/package.json +1 -1
|
@@ -17,13 +17,13 @@ import { cn } from "../../../lib/utils";
|
|
|
17
17
|
export function ThemedPageContainer({ children, ...props }) {
|
|
18
18
|
const defaultBackgroundClassName = cn("min-h-full", "p-2 sm:p-4 lg:p-6");
|
|
19
19
|
const defaultContentContainerClassName = cn("rounded-lg", "gap-2 sm:gap-4 lg:gap-6", props.additionalContentContainerClassName);
|
|
20
|
-
const
|
|
21
|
-
props.backgroundClassName
|
|
20
|
+
const backgroundContentClassName = typeof props.backgroundClassName === "string"
|
|
21
|
+
? props.backgroundClassName
|
|
22
22
|
: defaultBackgroundClassName;
|
|
23
|
-
const contentContainerClassName = typeof props.contentContainerClassName ===
|
|
24
|
-
cn(props.contentContainerClassName, props.additionalContentContainerClassName)
|
|
23
|
+
const contentContainerClassName = typeof props.contentContainerClassName === "string"
|
|
24
|
+
? cn(props.contentContainerClassName, props.additionalContentContainerClassName)
|
|
25
25
|
: defaultContentContainerClassName;
|
|
26
|
-
return (_jsx(ThemedPageBackground, { className: cn("grow", "overflow-y-scroll", "flex flex-col items-stretch justify-start",
|
|
26
|
+
return (_jsx(ThemedPageBackground, { className: cn("grow", "overflow-y-scroll no-scrollbar", "flex flex-col items-stretch justify-start", backgroundContentClassName), backgroundClassName: undefined, children: _jsx(PageColumnContainer, { className: contentContainerClassName, children: children }) }));
|
|
27
27
|
}
|
|
28
28
|
export default ThemedPageContainer;
|
|
29
29
|
//# sourceMappingURL=themed-page-container.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themed-page-container.js","sourceRoot":"","sources":["../../../../src/components/layout/themed-page-container/themed-page-container.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,oBAAoB,MAAM,wCAAwC,CAAC;AAE1E,OAAO,mBAAmB,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AASjC;;;;;;;;;;GAUG;AACH,MAAM,UAAU,mBAAmB,CAAC,EAClC,QAAQ,EACR,GAAG,KAAK,EACiB;
|
|
1
|
+
{"version":3,"file":"themed-page-container.js","sourceRoot":"","sources":["../../../../src/components/layout/themed-page-container/themed-page-container.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,oBAAoB,MAAM,wCAAwC,CAAC;AAE1E,OAAO,mBAAmB,MAAM,2CAA2C,CAAC;AAC5E,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AASjC;;;;;;;;;;GAUG;AACH,MAAM,UAAU,mBAAmB,CAAC,EAClC,QAAQ,EACR,GAAG,KAAK,EACiB;IACzB,MAAM,0BAA0B,GAAW,EAAE,CAC3C,YAAY,EACZ,mBAAmB,CACpB,CAAC;IAEF,MAAM,gCAAgC,GAAW,EAAE,CACjD,YAAY,EACZ,yBAAyB,EACzB,KAAK,CAAC,mCAAmC,CAC1C,CAAC;IAEF,MAAM,0BAA0B,GAC9B,OAAO,KAAK,CAAC,mBAAmB,KAAK,QAAQ;QAC3C,CAAC,CAAC,KAAK,CAAC,mBAAmB;QAC3B,CAAC,CAAC,0BAA0B,CAAC;IACjC,MAAM,yBAAyB,GAC7B,OAAO,KAAK,CAAC,yBAAyB,KAAK,QAAQ;QACjD,CAAC,CAAC,EAAE,CACA,KAAK,CAAC,yBAAyB,EAC/B,KAAK,CAAC,mCAAmC,CAC1C;QACH,CAAC,CAAC,gCAAgC,CAAC;IAEvC,OAAO,CACL,KAAC,oBAAoB,IACnB,SAAS,EAAE,EAAE,CACX,MAAM,EACN,gCAAgC,EAChC,2CAA2C,EAC3C,0BAA0B,CAC3B,EACD,mBAAmB,EAAE,SAAS,YAE9B,KAAC,mBAAmB,IAAC,SAAS,EAAE,yBAAyB,YACtD,QAAQ,GACW,GACD,CACxB,CAAC;AACJ,CAAC;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -17,7 +17,7 @@ export function ThemedPageBackground({ children, ...props }) {
|
|
|
17
17
|
if (typeof props.backgroundClassName === "string") {
|
|
18
18
|
backgroundClassNames.push(props.backgroundClassName);
|
|
19
19
|
}
|
|
20
|
-
return (_jsx("div", { className: backgroundClassNames.join(" "), children: _jsx("div", { className: cn("relative z-10 w-full min-h-full", props.className), children: children }) }));
|
|
20
|
+
return (_jsx("div", { className: backgroundClassNames.join(" "), children: _jsx("div", { className: cn("schemavaults-themed-page-background-internal-content", "relative z-10", "w-full min-h-full", props.className), children: children }) }));
|
|
21
21
|
}
|
|
22
22
|
export default ThemedPageBackground;
|
|
23
23
|
//# sourceMappingURL=themed-page-background.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"themed-page-background.js","sourceRoot":"","sources":["../../../../src/components/ui/themed-page-background/themed-page-background.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AASjC;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,EACnC,QAAQ,EACR,GAAG,KAAK,EACkB;IAC1B,MAAM,oBAAoB,GAAa;QACrC,qCAAqC;QACrC,4BAA4B;QAC5B,wFAAwF;KACzF,CAAC;IACF,IAAI,OAAO,KAAK,CAAC,mBAAmB,KAAK,QAAQ,EAAE,CAAC;QAClD,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvD,CAAC;IAED,OAAO,CACL,cAAK,SAAS,EAAE,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,YAC5C,
|
|
1
|
+
{"version":3,"file":"themed-page-background.js","sourceRoot":"","sources":["../../../../src/components/ui/themed-page-background/themed-page-background.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AASjC;;;;;;GAMG;AACH,MAAM,UAAU,oBAAoB,CAAC,EACnC,QAAQ,EACR,GAAG,KAAK,EACkB;IAC1B,MAAM,oBAAoB,GAAa;QACrC,qCAAqC;QACrC,4BAA4B;QAC5B,wFAAwF;KACzF,CAAC;IACF,IAAI,OAAO,KAAK,CAAC,mBAAmB,KAAK,QAAQ,EAAE,CAAC;QAClD,oBAAoB,CAAC,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACvD,CAAC;IAED,OAAO,CACL,cAAK,SAAS,EAAE,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,YAC5C,cACE,SAAS,EAAE,EAAE,CACX,sDAAsD,EACtD,eAAe,EACf,mBAAmB,EACnB,KAAK,CAAC,SAAS,CAChB,YAEA,QAAQ,GACL,GACF,CACP,CAAC;AACJ,CAAC;AAED,eAAe,oBAAoB,CAAC"}
|