@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.esm.js
CHANGED
|
@@ -49780,14 +49780,13 @@ var LoginLink = styled(ButtonWithLink).withConfig({
|
|
|
49780
49780
|
})(["border-radius:100px;padding:0;margin:0;width:100%;min-height:2rem;margin-top:0px;border:none;&:hover{text-decoration:none;}"]);
|
|
49781
49781
|
|
|
49782
49782
|
var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
49783
|
-
var
|
|
49783
|
+
var clientName = _ref.clientName,
|
|
49784
49784
|
extraStyles = _ref.extraStyles,
|
|
49785
49785
|
_ref$loginLink = _ref.loginLink,
|
|
49786
49786
|
loginLink = _ref$loginLink === void 0 ? "/login" : _ref$loginLink,
|
|
49787
49787
|
_ref$registrationLink = _ref.registrationLink,
|
|
49788
49788
|
registrationLink = _ref$registrationLink === void 0 ? "/registration" : _ref$registrationLink,
|
|
49789
49789
|
themeValues = _ref.themeValues,
|
|
49790
|
-
title = _ref.title,
|
|
49791
49790
|
titleAs = _ref.titleAs,
|
|
49792
49791
|
titleVariant = _ref.titleVariant;
|
|
49793
49792
|
var themeContext = useContext(ThemeContext);
|
|
@@ -49814,11 +49813,11 @@ var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
|
49814
49813
|
fontSize: isMobile ? FONT_SIZE.XL : "1.5rem",
|
|
49815
49814
|
variant: titleVariant,
|
|
49816
49815
|
weight: FONT_WEIGHT_SEMIBOLD
|
|
49817
|
-
},
|
|
49816
|
+
}, "Register for a ", clientName, " Wallet Account"), /*#__PURE__*/React.createElement(Text$1, {
|
|
49818
49817
|
extraStyles: "\n display: block;\n padding: ".concat(isMobile ? ".125rem 0 1rem" : "0", "\n "),
|
|
49819
49818
|
fontSize: isMobile ? FONT_SIZE.SM : FONT_SIZE.LG,
|
|
49820
49819
|
color: themeValues.secondaryColor
|
|
49821
|
-
},
|
|
49820
|
+
}, "Save payment methods and information for fast, easy, and safe payments with ", clientName)), /*#__PURE__*/React.createElement(ButtonContainer, {
|
|
49822
49821
|
justify: "space-between",
|
|
49823
49822
|
fullHeight: true,
|
|
49824
49823
|
childGap: "0.5rem",
|