@thecb/components 11.2.3-beta.3 → 11.2.3-beta.4
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/dist/index.cjs.js +3 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -4
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/registration-banner/RegistrationBanner.js +4 -4
- package/src/components/molecules/registration-banner/RegistrationBanner.mdx +4 -11
- package/src/components/molecules/registration-banner/RegistrationBanner.stories.js +4 -14
- package/src/components/molecules/registration-banner/index.d.ts +2 -3
package/dist/index.cjs.js
CHANGED
|
@@ -49788,14 +49788,13 @@ var LoginLink = styled__default(ButtonWithLink).withConfig({
|
|
|
49788
49788
|
})(["border-radius:100px;padding:0;margin:0;width:100%;min-height:2rem;margin-top:0px;border:none;&:hover{text-decoration:none;}"]);
|
|
49789
49789
|
|
|
49790
49790
|
var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
49791
|
-
var
|
|
49791
|
+
var clientName = _ref.clientName,
|
|
49792
49792
|
extraStyles = _ref.extraStyles,
|
|
49793
49793
|
_ref$loginLink = _ref.loginLink,
|
|
49794
49794
|
loginLink = _ref$loginLink === void 0 ? "/login" : _ref$loginLink,
|
|
49795
49795
|
_ref$registrationLink = _ref.registrationLink,
|
|
49796
49796
|
registrationLink = _ref$registrationLink === void 0 ? "/registration" : _ref$registrationLink,
|
|
49797
49797
|
themeValues = _ref.themeValues,
|
|
49798
|
-
title = _ref.title,
|
|
49799
49798
|
titleAs = _ref.titleAs,
|
|
49800
49799
|
titleVariant = _ref.titleVariant;
|
|
49801
49800
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
@@ -49822,11 +49821,11 @@ var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
|
49822
49821
|
fontSize: isMobile ? FONT_SIZE.XL : "1.5rem",
|
|
49823
49822
|
variant: titleVariant,
|
|
49824
49823
|
weight: FONT_WEIGHT_SEMIBOLD
|
|
49825
|
-
},
|
|
49824
|
+
}, "Register for a ", clientName, " Wallet Account"), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
49826
49825
|
extraStyles: "\n display: block;\n padding: ".concat(isMobile ? ".125rem 0 1rem" : "0", "\n "),
|
|
49827
49826
|
fontSize: isMobile ? FONT_SIZE.SM : FONT_SIZE.LG,
|
|
49828
49827
|
color: themeValues.secondaryColor
|
|
49829
|
-
},
|
|
49828
|
+
}, "Save payment methods and information for fast, easy, and safe payments with ", clientName)), /*#__PURE__*/React__default.createElement(ButtonContainer, {
|
|
49830
49829
|
justify: "space-between",
|
|
49831
49830
|
fullHeight: true,
|
|
49832
49831
|
childGap: "0.5rem",
|