@nnc-digital/nnc-design-system 1.0.0-beta20 → 1.0.0-beta21

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
@@ -6355,6 +6355,15 @@ const Container$I = styled__default.default.div`
6355
6355
  }
6356
6356
  `;
6357
6357
 
6358
+ const ImageColumn = styled__default.default.div`
6359
+ width: 100%;
6360
+
6361
+ @media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.m}) {
6362
+ width: 50%;
6363
+ min-height: 300px;
6364
+ }
6365
+ `;
6366
+
6358
6367
  const ImageLink = styled__default.default.a`
6359
6368
  background-image: url('${(props) => props.$img}');
6360
6369
  background-size: cover;
@@ -6364,7 +6373,6 @@ const ImageLink = styled__default.default.a`
6364
6373
  display: block;
6365
6374
 
6366
6375
  @media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.m}) {
6367
- width: 50%;
6368
6376
  min-height: 300px;
6369
6377
  }
6370
6378
  `;
@@ -6408,9 +6416,10 @@ const CTA = styled__default.default.a`
6408
6416
  var PromoBanner = function (_a) {
6409
6417
  var title = _a.title, image1440x810 = _a.image1440x810, image144x81 = _a.image144x81, ctaText = _a.ctaText, ctaUrl = _a.ctaUrl, children = _a.children;
6410
6418
  return (React__default.default.createElement(Container$I, null,
6411
- React__default.default.createElement(LazyImage, { src: image1440x810, placeholder: image144x81, visibilitySensorProps: {
6412
- partialVisibility: true,
6413
- } }, function (src) { return React__default.default.createElement(ImageLink, { "$img": src, href: ctaUrl, title: ctaText }); }),
6419
+ React__default.default.createElement(ImageColumn, null,
6420
+ React__default.default.createElement(LazyImage, { src: image1440x810, placeholder: image144x81, visibilitySensorProps: {
6421
+ partialVisibility: true,
6422
+ } }, function (src) { return React__default.default.createElement(ImageLink, { "$img": src, href: ctaUrl, title: ctaText }); })),
6414
6423
  React__default.default.createElement(Wrapper$4, null,
6415
6424
  React__default.default.createElement(Heading, { text: title }),
6416
6425
  React__default.default.createElement(Content$4, null, children),
@@ -14874,7 +14883,7 @@ var Event = function (_a) {
14874
14883
  id: 'org-1',
14875
14884
  name: 'Wicksteed Park',
14876
14885
  description: 'A family theme park and nature reserve in Kettering',
14877
- logo: 'https://via.placeholder.com/200x100?text=Wicksteed+Park',
14886
+ logo: 'https://placehold.co/200x100?text=Wicksteed+Park',
14878
14887
  url: 'https://www.wicksteedpark.co.uk',
14879
14888
  },
14880
14889
  location: {
@@ -14982,7 +14991,7 @@ var Event = function (_a) {
14982
14991
  id: 'org-2',
14983
14992
  name: 'Northamptonshire Family Support',
14984
14993
  description: 'Supporting families across Northamptonshire',
14985
- logo: 'https://via.placeholder.com/200x100?text=Family+Support',
14994
+ logo: 'https://placehold.co/200x100?text=Family+Support',
14986
14995
  url: 'https://www.northantsfamilysupport.org.uk',
14987
14996
  },
14988
14997
  location: {