@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.esm.js
CHANGED
|
@@ -49743,7 +49743,7 @@ var fallbackValues$U = {
|
|
|
49743
49743
|
background: CORNFLOWER_BLUE
|
|
49744
49744
|
};
|
|
49745
49745
|
|
|
49746
|
-
var BannerContainer = styled(
|
|
49746
|
+
var BannerContainer = styled(Cluster).withConfig({
|
|
49747
49747
|
displayName: "RegistrationBannerstyled__BannerContainer",
|
|
49748
49748
|
componentId: "sc-1m1lm4y-0"
|
|
49749
49749
|
})(["background:", ";padding:", ";"], function (_ref) {
|
|
@@ -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);
|
|
@@ -49797,7 +49796,8 @@ var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
|
49797
49796
|
themeValues: themeValues,
|
|
49798
49797
|
isMobile: isMobile,
|
|
49799
49798
|
role: "banner",
|
|
49800
|
-
"aria-label": "Registration Banner"
|
|
49799
|
+
"aria-label": "Registration Banner",
|
|
49800
|
+
justify: "center"
|
|
49801
49801
|
}, /*#__PURE__*/React.createElement(ContentContainer, {
|
|
49802
49802
|
role: "main",
|
|
49803
49803
|
align: "center",
|
|
@@ -49813,11 +49813,11 @@ var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
|
49813
49813
|
fontSize: isMobile ? FONT_SIZE.XL : "1.5rem",
|
|
49814
49814
|
variant: titleVariant,
|
|
49815
49815
|
weight: FONT_WEIGHT_SEMIBOLD
|
|
49816
|
-
},
|
|
49816
|
+
}, "Register for a ", clientName, " Wallet Account"), /*#__PURE__*/React.createElement(Text$1, {
|
|
49817
49817
|
extraStyles: "\n display: block;\n padding: ".concat(isMobile ? ".125rem 0 1rem" : "0", "\n "),
|
|
49818
49818
|
fontSize: isMobile ? FONT_SIZE.SM : FONT_SIZE.LG,
|
|
49819
49819
|
color: themeValues.secondaryColor
|
|
49820
|
-
},
|
|
49820
|
+
}, "Save payment methods and information for fast, easy, and safe payments with ", clientName)), /*#__PURE__*/React.createElement(ButtonContainer, {
|
|
49821
49821
|
justify: "space-between",
|
|
49822
49822
|
fullHeight: true,
|
|
49823
49823
|
childGap: "0.5rem",
|