@royaloperahouse/harmonic 0.17.0-j → 0.17.0-l

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.
@@ -8535,7 +8535,7 @@ var _excluded$l = ["text"],
8535
8535
  _excluded3$1 = ["text"];
8536
8536
  var _buttonTypeToButton$1;
8537
8537
  var LENGTH_TEXT$1 = 28;
8538
- var LENGTH_TEXT_PARAGRAPH = 130;
8538
+ var LENGTH_TEXT_PARAGRAPH = 185;
8539
8539
  var buttonTypeToButton$1 = (_buttonTypeToButton$1 = {}, _buttonTypeToButton$1[ButtonType.Primary] = PrimaryButton, _buttonTypeToButton$1[ButtonType.Secondary] = SecondaryButton, _buttonTypeToButton$1[ButtonType.Tertiary] = TertiaryButton, _buttonTypeToButton$1);
8540
8540
  var PromoWithTags = function PromoWithTags(_ref) {
8541
8541
  var _ref$imagePosition = _ref.imagePosition,
@@ -11120,7 +11120,7 @@ var Heading = /*#__PURE__*/styled(HarmonicHeader).attrs({
11120
11120
  var Intro = /*#__PURE__*/styled(HarmonicSubtitle).attrs({
11121
11121
  size: 'large'
11122
11122
  })(_templateObject5$B || (_templateObject5$B = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n && {\n margin-bottom: 27px;\n\n @media ", " {\n margin-bottom: 20px;\n }\n }\n"])), devices.mobile);
11123
- var SignInLink = /*#__PURE__*/styled.a(_templateObject6$r || (_templateObject6$r = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--primary-black);\n text-decoration: underline;\n text-decoration-skip: none;\n"])));
11123
+ var SignInLink = /*#__PURE__*/styled.a(_templateObject6$r || (_templateObject6$r = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--primary-black);\n cursor: pointer;\n text-decoration: underline;\n text-decoration-skip: none;\n"])));
11124
11124
  var SignInPrompt = /*#__PURE__*/styled(BodyCopyHarmonic).attrs({
11125
11125
  size: 'large'
11126
11126
  })(_templateObject7$l || (_templateObject7$l = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
@@ -11130,8 +11130,10 @@ var Paywall = function Paywall(_ref) {
11130
11130
  title = _ref.title,
11131
11131
  intro = _ref.intro,
11132
11132
  description = _ref.description,
11133
+ buttonOnClick = _ref.buttonOnClick,
11133
11134
  buttonText = _ref.buttonText,
11134
11135
  buttonUrl = _ref.buttonUrl,
11136
+ signInLinkOnClick = _ref.signInLinkOnClick,
11135
11137
  signInPromptText = _ref.signInPromptText,
11136
11138
  signInLinkUrl = _ref.signInLinkUrl;
11137
11139
  return /*#__PURE__*/React__default.createElement(Container$7, {
@@ -11140,9 +11142,11 @@ var Paywall = function Paywall(_ref) {
11140
11142
  html: description
11141
11143
  }), /*#__PURE__*/React__default.createElement(Button$2, {
11142
11144
  href: buttonUrl,
11145
+ onClick: buttonOnClick,
11143
11146
  role: "button"
11144
11147
  }, buttonText), !!(signInPromptText && signInLinkUrl) && (/*#__PURE__*/React__default.createElement(SignInPrompt, null, signInPromptText + " ", /*#__PURE__*/React__default.createElement(SignInLink, {
11145
- href: signInLinkUrl
11148
+ href: signInLinkUrl,
11149
+ onClick: signInLinkOnClick
11146
11150
  }, "Sign in"))));
11147
11151
  };
11148
11152