@thecb/components 11.2.4 → 11.2.5-beta.1
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 +16 -14
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +16 -14
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/molecules/registration-banner/RegistrationBanner.js +9 -4
- package/src/components/molecules/registration-banner/RegistrationBanner.styled.js +6 -4
package/dist/index.esm.js
CHANGED
|
@@ -49733,29 +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 8.25rem";
|
|
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 (
|
|
49743
|
+
})(["padding:0;width:", ";> div{flex-direction:", ";}"], function (_ref2) {
|
|
49744
|
+
var isMobile = _ref2.isMobile;
|
|
49745
|
+
return isMobile ? "100%" : " 1224px";
|
|
49746
|
+
}, function (_ref3) {
|
|
49747
49747
|
var isMobile = _ref3.isMobile;
|
|
49748
|
-
return isMobile ? "296px" : " 1176px";
|
|
49749
|
-
}, function (_ref4) {
|
|
49750
|
-
var isMobile = _ref4.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
|
|
49753
|
+
})(["align-items:center;width:", ";padding-left:", ";> *{width:inherit;}"], function (_ref4) {
|
|
49754
|
+
var isMobile = _ref4.isMobile;
|
|
49755
|
+
return isMobile ? "100%" : "222px";
|
|
49756
|
+
}, function (_ref5) {
|
|
49757
49757
|
var isMobile = _ref5.isMobile;
|
|
49758
|
-
return isMobile ? "
|
|
49758
|
+
return isMobile ? "0" : "2rem";
|
|
49759
49759
|
});
|
|
49760
49760
|
var RegisterLink = styled(ButtonWithLink).withConfig({
|
|
49761
49761
|
displayName: "RegistrationBannerstyled__RegisterLink",
|
|
@@ -49788,7 +49788,8 @@ var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
|
49788
49788
|
align: "center",
|
|
49789
49789
|
justify: "space-between",
|
|
49790
49790
|
overflow: "visible",
|
|
49791
|
-
isMobile: isMobile
|
|
49791
|
+
isMobile: isMobile,
|
|
49792
|
+
nowrap: true
|
|
49792
49793
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
49793
49794
|
padding: "0",
|
|
49794
49795
|
textAlign: "left"
|
|
@@ -49800,9 +49801,9 @@ var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
|
49800
49801
|
weight: FONT_WEIGHT_SEMIBOLD
|
|
49801
49802
|
}, "Register for a ", clientName, " Wallet Account"), /*#__PURE__*/React.createElement(Text$1, {
|
|
49802
49803
|
extraStyles: "\n display: block;\n padding: ".concat(isMobile ? ".125rem 0 1rem" : "0", "\n "),
|
|
49803
|
-
fontSize: isMobile ? FONT_SIZE.
|
|
49804
|
+
fontSize: isMobile ? FONT_SIZE.MD : FONT_SIZE.LG,
|
|
49804
49805
|
color: themeValues.secondaryColor
|
|
49805
|
-
}, "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, {
|
|
49806
49807
|
justify: "space-between",
|
|
49807
49808
|
fullHeight: true,
|
|
49808
49809
|
childGap: "0.5rem",
|
|
@@ -49815,7 +49816,8 @@ var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
|
49815
49816
|
url: registrationLink
|
|
49816
49817
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
49817
49818
|
justify: "center",
|
|
49818
|
-
align: "center"
|
|
49819
|
+
align: "center",
|
|
49820
|
+
extraStyles: "min-width: 100%"
|
|
49819
49821
|
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
49820
49822
|
extraStyles: "margin-right: 0.5rem",
|
|
49821
49823
|
fontSize: isMobile ? FONT_SIZE.MD : FONT_SIZE.LG,
|