@thecb/components 11.2.5-beta.0 → 11.2.5-beta.2
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 +15 -17
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +15 -17
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/registration-banner/RegistrationBanner.js +9 -5
- package/src/components/molecules/registration-banner/RegistrationBanner.stories.js +3 -6
- package/src/components/molecules/registration-banner/RegistrationBanner.styled.js +5 -4
package/dist/index.esm.js
CHANGED
|
@@ -49733,32 +49733,29 @@ var fallbackValues$U = {
|
|
|
49733
49733
|
var BannerContainer = styled(Cluster).withConfig({
|
|
49734
49734
|
displayName: "RegistrationBannerstyled__BannerContainer",
|
|
49735
49735
|
componentId: "sc-1m1lm4y-0"
|
|
49736
|
-
})(["background:", ";padding:
|
|
49736
|
+
})(["background:", ";padding:2rem;"], function (_ref) {
|
|
49737
49737
|
var themeValues = _ref.themeValues;
|
|
49738
49738
|
return adjustHexColor(themeValues.background, 10, "lighten");
|
|
49739
|
-
}, function (_ref2) {
|
|
49740
|
-
var isMobile = _ref2.isMobile;
|
|
49741
|
-
return isMobile ? "1rem 2rem" : " 2rem 1rem";
|
|
49742
49739
|
});
|
|
49743
49740
|
var ContentContainer = styled(Cluster).withConfig({
|
|
49744
49741
|
displayName: "RegistrationBannerstyled__ContentContainer",
|
|
49745
49742
|
componentId: "sc-1m1lm4y-1"
|
|
49746
|
-
})(["padding:0;width:", ";> div{flex-direction:", ";}"], function (
|
|
49747
|
-
var isMobile =
|
|
49743
|
+
})(["padding:0;width:", ";> div{flex-direction:", ";}"], function (_ref2) {
|
|
49744
|
+
var isMobile = _ref2.isMobile;
|
|
49748
49745
|
return isMobile ? "100%" : " 1224px";
|
|
49749
|
-
}, function (
|
|
49750
|
-
var isMobile =
|
|
49746
|
+
}, function (_ref3) {
|
|
49747
|
+
var isMobile = _ref3.isMobile;
|
|
49751
49748
|
return isMobile ? "column" : "row";
|
|
49752
49749
|
});
|
|
49753
49750
|
var ButtonContainer = styled(Stack).withConfig({
|
|
49754
49751
|
displayName: "RegistrationBannerstyled__ButtonContainer",
|
|
49755
49752
|
componentId: "sc-1m1lm4y-2"
|
|
49756
|
-
})(["align-items:center
|
|
49757
|
-
var isMobile =
|
|
49753
|
+
})(["align-items:center;width:", ";padding-left:", ";> *{width:inherit;}"], function (_ref4) {
|
|
49754
|
+
var isMobile = _ref4.isMobile;
|
|
49758
49755
|
return isMobile ? "100%" : "222px";
|
|
49759
|
-
}, function (
|
|
49760
|
-
var isMobile =
|
|
49761
|
-
return isMobile ? "0" : "
|
|
49756
|
+
}, function (_ref5) {
|
|
49757
|
+
var isMobile = _ref5.isMobile;
|
|
49758
|
+
return isMobile ? "0" : "2rem";
|
|
49762
49759
|
});
|
|
49763
49760
|
var RegisterLink = styled(ButtonWithLink).withConfig({
|
|
49764
49761
|
displayName: "RegistrationBannerstyled__RegisterLink",
|
|
@@ -49802,11 +49799,11 @@ var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
|
49802
49799
|
fontSize: isMobile ? FONT_SIZE.XL : "1.5rem",
|
|
49803
49800
|
variant: titleVariant,
|
|
49804
49801
|
weight: FONT_WEIGHT_SEMIBOLD
|
|
49805
|
-
}, "Register for a ", clientName, " Wallet
|
|
49802
|
+
}, "Register for a ", clientName, " Wallet"), /*#__PURE__*/React.createElement(Text$1, {
|
|
49806
49803
|
extraStyles: "\n display: block;\n padding: ".concat(isMobile ? ".125rem 0 1rem" : "0", "\n "),
|
|
49807
|
-
fontSize: isMobile ? FONT_SIZE.
|
|
49804
|
+
fontSize: isMobile ? FONT_SIZE.MD : FONT_SIZE.LG,
|
|
49808
49805
|
color: themeValues.secondaryColor
|
|
49809
|
-
}, "Save payment methods and information for fast, easy, and safe payments with ", clientName)), /*#__PURE__*/React.createElement(ButtonContainer, {
|
|
49806
|
+
}, "Save payment methods and billing information for fast, easy, and safe payments with ", clientName)), /*#__PURE__*/React.createElement(ButtonContainer, {
|
|
49810
49807
|
justify: "space-between",
|
|
49811
49808
|
fullHeight: true,
|
|
49812
49809
|
childGap: "0.5rem",
|
|
@@ -49819,7 +49816,8 @@ var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
|
49819
49816
|
url: registrationLink
|
|
49820
49817
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
49821
49818
|
justify: "center",
|
|
49822
|
-
align: "center"
|
|
49819
|
+
align: "center",
|
|
49820
|
+
extraStyles: "min-width: 100%"
|
|
49823
49821
|
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
49824
49822
|
extraStyles: "margin-right: 0.5rem",
|
|
49825
49823
|
fontSize: isMobile ? FONT_SIZE.MD : FONT_SIZE.LG,
|