@nnc-digital/nnc-design-system 1.0.0-alpha12 → 1.0.0-alpha14

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/index.js CHANGED
@@ -25801,13 +25801,13 @@ const VideoBackground = styled__default.default.video`
25801
25801
  * For optional use at the top of a service landing page, if set in the CMS.
25802
25802
  */
25803
25803
  var HeroImage = function (_a) {
25804
- var headline = _a.headline, content = _a.content, callToActionText = _a.callToActionText, callToActionURL = _a.callToActionURL, _b = _a.callToActionIsPrimary, callToActionIsPrimary = _b === void 0 ? true : _b, _c = _a.backgroundBox, backgroundBox = _c === void 0 ? true : _c, imageLarge = _a.imageLarge, imageSmall = _a.imageSmall, imageAltText = _a.imageAltText, heroVideo = _a.heroVideo, breadcrumb = _a.breadcrumb, customSearch = _a.customSearch;
25804
+ var headline = _a.headline, content = _a.content, callToActionText = _a.callToActionText, callToActionURL = _a.callToActionURL, _b = _a.callToActionIsPrimary, callToActionIsPrimary = _b === void 0 ? true : _b, _c = _a.backgroundBox, backgroundBox = _c === void 0 ? true : _c, imageLarge = _a.imageLarge, imageSmall = _a.imageSmall, imageAltText = _a.imageAltText, heroVideoUrl = _a.heroVideoUrl, breadcrumb = _a.breadcrumb, customSearch = _a.customSearch;
25805
25805
  return (React__default.default.createElement(React__default.default.Fragment, null,
25806
25806
  React__default.default.createElement(LazyImage, { src: imageLarge, placeholder: imageSmall, visibilitySensorProps: {
25807
25807
  partialVisibility: true,
25808
25808
  } }, function (src) { return (React__default.default.createElement(Container$u, { "$image": src, "$backgroundBox": backgroundBox, "data-testid": "HeroImage" },
25809
- heroVideo && (React__default.default.createElement(VideoBackground, { autoPlay: true, loop: true, muted: true },
25810
- React__default.default.createElement("source", { src: heroVideo, type: "video/mp4" }),
25809
+ heroVideoUrl && (React__default.default.createElement(VideoBackground, { autoPlay: true, loop: true, muted: true },
25810
+ React__default.default.createElement("source", { src: heroVideoUrl, type: "video/mp4" }),
25811
25811
  "Your browser does not support the video tag.")),
25812
25812
  React__default.default.createElement(InnerContainer, null,
25813
25813
  React__default.default.createElement(Overlay, { "$backgroundBox": backgroundBox, "data-testid": "HeroImageOverlay" },