@thecb/components 11.2.3-beta.2 → 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 +6 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +6 -6
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/registration-banner/RegistrationBanner.js +5 -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/RegistrationBanner.styled.js +1 -1
- package/src/components/molecules/registration-banner/index.d.ts +2 -3
package/dist/index.cjs.js
CHANGED
|
@@ -49751,7 +49751,7 @@ var fallbackValues$U = {
|
|
|
49751
49751
|
background: CORNFLOWER_BLUE
|
|
49752
49752
|
};
|
|
49753
49753
|
|
|
49754
|
-
var BannerContainer = styled__default(
|
|
49754
|
+
var BannerContainer = styled__default(Cluster).withConfig({
|
|
49755
49755
|
displayName: "RegistrationBannerstyled__BannerContainer",
|
|
49756
49756
|
componentId: "sc-1m1lm4y-0"
|
|
49757
49757
|
})(["background:", ";padding:", ";"], function (_ref) {
|
|
@@ -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);
|
|
@@ -49805,7 +49804,8 @@ var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
|
49805
49804
|
themeValues: themeValues,
|
|
49806
49805
|
isMobile: isMobile,
|
|
49807
49806
|
role: "banner",
|
|
49808
|
-
"aria-label": "Registration Banner"
|
|
49807
|
+
"aria-label": "Registration Banner",
|
|
49808
|
+
justify: "center"
|
|
49809
49809
|
}, /*#__PURE__*/React__default.createElement(ContentContainer, {
|
|
49810
49810
|
role: "main",
|
|
49811
49811
|
align: "center",
|
|
@@ -49821,11 +49821,11 @@ var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
|
49821
49821
|
fontSize: isMobile ? FONT_SIZE.XL : "1.5rem",
|
|
49822
49822
|
variant: titleVariant,
|
|
49823
49823
|
weight: FONT_WEIGHT_SEMIBOLD
|
|
49824
|
-
},
|
|
49824
|
+
}, "Register for a ", clientName, " Wallet Account"), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
49825
49825
|
extraStyles: "\n display: block;\n padding: ".concat(isMobile ? ".125rem 0 1rem" : "0", "\n "),
|
|
49826
49826
|
fontSize: isMobile ? FONT_SIZE.SM : FONT_SIZE.LG,
|
|
49827
49827
|
color: themeValues.secondaryColor
|
|
49828
|
-
},
|
|
49828
|
+
}, "Save payment methods and information for fast, easy, and safe payments with ", clientName)), /*#__PURE__*/React__default.createElement(ButtonContainer, {
|
|
49829
49829
|
justify: "space-between",
|
|
49830
49830
|
fullHeight: true,
|
|
49831
49831
|
childGap: "0.5rem",
|