@nnc-digital/nnc-design-system 1.0.0-alpha17 → 1.0.0-alpha19
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/build/ThemeVars.types.d.ts +60 -0
- package/build/index.js +5 -2
- package/build/index.js.map +1 -1
- package/build/index.mjs.js +5 -2
- package/build/index.mjs.js.map +1 -1
- package/package.json +1 -1
package/build/index.mjs.js
CHANGED
|
@@ -25778,9 +25778,12 @@ const VideoBackground = styled.video`
|
|
|
25778
25778
|
top: 0;
|
|
25779
25779
|
left: 0;
|
|
25780
25780
|
width: 100%;
|
|
25781
|
-
height:
|
|
25781
|
+
height: 575px;
|
|
25782
25782
|
object-fit: cover;
|
|
25783
25783
|
z-index: -1;
|
|
25784
|
+
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.l}) {
|
|
25785
|
+
height: 540px;
|
|
25786
|
+
}
|
|
25784
25787
|
`;
|
|
25785
25788
|
|
|
25786
25789
|
/**
|
|
@@ -25795,7 +25798,7 @@ var HeroImage = function (_a) {
|
|
|
25795
25798
|
} }, function (src) { return (React.createElement(Container$u, { "$image": src, "$backgroundBox": backgroundBox, "data-testid": "HeroImage" },
|
|
25796
25799
|
heroVideoUrl && (React.createElement(VideoBackground, { autoPlay: true, loop: true, muted: true },
|
|
25797
25800
|
React.createElement("source", { src: heroVideoUrl, type: "video/mp4" }),
|
|
25798
|
-
"Your browser
|
|
25801
|
+
"Your browser doesn't support this video.")),
|
|
25799
25802
|
React.createElement(InnerContainer, null,
|
|
25800
25803
|
React.createElement(Overlay, { "$backgroundBox": backgroundBox, "data-testid": "HeroImageOverlay" },
|
|
25801
25804
|
breadcrumb && (React.createElement(BreadcrumbLink, { href: breadcrumb.url, "$backgroundBox": backgroundBox }, breadcrumb.title)),
|