@nypl/design-system-react-components 3.4.0-rc-hero → 3.4.0-rc-hero-1

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.
@@ -38701,10 +38701,6 @@ const db = [
38701
38701
  variant: v
38702
38702
  }), O = R.heading, P = d && X.cloneElement(d, { __css: O });
38703
38703
  let I = {}, Y = {};
38704
- if (L.component) {
38705
- const { src: e1, id: c1, alt: v1, fallbackSrc: w1, onError: y1 } = L.component.props;
38706
- Object.assign(L, { src: e1, id: c1, alt: v1, fallbackSrc: w1, onError: y1 });
38707
- }
38708
38704
  L.src && !L.alt && console.warn(
38709
38705
  'NYPL Reservoir Hero: The "imageProps.src" prop was passed but the "imageProps.alt" props was not. This will make the rendered image inaccessible.'
38710
38706
  ), v === "primary" ? (i || console.warn(
@@ -38788,7 +38784,7 @@ const db = [
38788
38784
  }, p && M && console.warn(
38789
38785
  "NYPL Reservoir Hero: The `foregroundColor` and `isDarkText` props have both been passed. Thse props can not be used at the same time, so the `foregroundColor` prop will override the `isDarkText` prop."
38790
38786
  );
38791
- const j = /* @__PURE__ */ H.jsx(
38787
+ const j = L.component || /* @__PURE__ */ H.jsx(
38792
38788
  ua,
38793
38789
  {
38794
38790
  alt: L.alt,
@@ -38797,7 +38793,12 @@ const db = [
38797
38793
  onError: L.onError,
38798
38794
  src: L.src
38799
38795
  }
38800
- ), i1 = v === "campaign" ? /* @__PURE__ */ H.jsxs(H.Fragment, { children: [
38796
+ );
38797
+ if (L.component) {
38798
+ const { src: e1, id: c1, alt: v1, fallbackSrc: w1, onError: y1 } = L.component.props;
38799
+ Object.assign(L, { src: e1, id: c1, alt: v1, fallbackSrc: w1, onError: y1 });
38800
+ }
38801
+ const i1 = v === "campaign" ? /* @__PURE__ */ H.jsxs(H.Fragment, { children: [
38801
38802
  /* @__PURE__ */ H.jsx(
38802
38803
  g1,
38803
38804
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nypl/design-system-react-components",
3
- "version": "3.4.0-rc-hero",
3
+ "version": "3.4.0-rc-hero-1",
4
4
  "description": "NYPL Reservoir Design System React Components",
5
5
  "repository": {
6
6
  "type": "git",