@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.cjs.js
CHANGED
|
@@ -49741,29 +49741,29 @@ var fallbackValues$U = {
|
|
|
49741
49741
|
var BannerContainer = styled__default(Cluster).withConfig({
|
|
49742
49742
|
displayName: "RegistrationBannerstyled__BannerContainer",
|
|
49743
49743
|
componentId: "sc-1m1lm4y-0"
|
|
49744
|
-
})(["background:", ";padding:
|
|
49744
|
+
})(["background:", ";padding:2rem;"], function (_ref) {
|
|
49745
49745
|
var themeValues = _ref.themeValues;
|
|
49746
49746
|
return adjustHexColor(themeValues.background, 10, "lighten");
|
|
49747
|
-
}, function (_ref2) {
|
|
49748
|
-
var isMobile = _ref2.isMobile;
|
|
49749
|
-
return isMobile ? "1rem 2rem" : " 2rem 8.25rem";
|
|
49750
49747
|
});
|
|
49751
49748
|
var ContentContainer = styled__default(Cluster).withConfig({
|
|
49752
49749
|
displayName: "RegistrationBannerstyled__ContentContainer",
|
|
49753
49750
|
componentId: "sc-1m1lm4y-1"
|
|
49754
|
-
})(["padding:0;width:", ";> div{flex-direction:", ";}"], function (
|
|
49751
|
+
})(["padding:0;width:", ";> div{flex-direction:", ";}"], function (_ref2) {
|
|
49752
|
+
var isMobile = _ref2.isMobile;
|
|
49753
|
+
return isMobile ? "100%" : " 1224px";
|
|
49754
|
+
}, function (_ref3) {
|
|
49755
49755
|
var isMobile = _ref3.isMobile;
|
|
49756
|
-
return isMobile ? "296px" : " 1176px";
|
|
49757
|
-
}, function (_ref4) {
|
|
49758
|
-
var isMobile = _ref4.isMobile;
|
|
49759
49756
|
return isMobile ? "column" : "row";
|
|
49760
49757
|
});
|
|
49761
49758
|
var ButtonContainer = styled__default(Stack).withConfig({
|
|
49762
49759
|
displayName: "RegistrationBannerstyled__ButtonContainer",
|
|
49763
49760
|
componentId: "sc-1m1lm4y-2"
|
|
49764
|
-
})(["align-items:center
|
|
49761
|
+
})(["align-items:center;width:", ";padding-left:", ";> *{width:inherit;}"], function (_ref4) {
|
|
49762
|
+
var isMobile = _ref4.isMobile;
|
|
49763
|
+
return isMobile ? "100%" : "222px";
|
|
49764
|
+
}, function (_ref5) {
|
|
49765
49765
|
var isMobile = _ref5.isMobile;
|
|
49766
|
-
return isMobile ? "
|
|
49766
|
+
return isMobile ? "0" : "2rem";
|
|
49767
49767
|
});
|
|
49768
49768
|
var RegisterLink = styled__default(ButtonWithLink).withConfig({
|
|
49769
49769
|
displayName: "RegistrationBannerstyled__RegisterLink",
|
|
@@ -49796,7 +49796,8 @@ var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
|
49796
49796
|
align: "center",
|
|
49797
49797
|
justify: "space-between",
|
|
49798
49798
|
overflow: "visible",
|
|
49799
|
-
isMobile: isMobile
|
|
49799
|
+
isMobile: isMobile,
|
|
49800
|
+
nowrap: true
|
|
49800
49801
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
49801
49802
|
padding: "0",
|
|
49802
49803
|
textAlign: "left"
|
|
@@ -49808,9 +49809,9 @@ var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
|
49808
49809
|
weight: FONT_WEIGHT_SEMIBOLD
|
|
49809
49810
|
}, "Register for a ", clientName, " Wallet Account"), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
49810
49811
|
extraStyles: "\n display: block;\n padding: ".concat(isMobile ? ".125rem 0 1rem" : "0", "\n "),
|
|
49811
|
-
fontSize: isMobile ? FONT_SIZE.
|
|
49812
|
+
fontSize: isMobile ? FONT_SIZE.MD : FONT_SIZE.LG,
|
|
49812
49813
|
color: themeValues.secondaryColor
|
|
49813
|
-
}, "Save payment methods and information for fast, easy, and safe payments with ", clientName)), /*#__PURE__*/React__default.createElement(ButtonContainer, {
|
|
49814
|
+
}, "Save payment methods and billing information for fast, easy, and safe payments with ", clientName)), /*#__PURE__*/React__default.createElement(ButtonContainer, {
|
|
49814
49815
|
justify: "space-between",
|
|
49815
49816
|
fullHeight: true,
|
|
49816
49817
|
childGap: "0.5rem",
|
|
@@ -49823,7 +49824,8 @@ var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
|
49823
49824
|
url: registrationLink
|
|
49824
49825
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
49825
49826
|
justify: "center",
|
|
49826
|
-
align: "center"
|
|
49827
|
+
align: "center",
|
|
49828
|
+
extraStyles: "min-width: 100%"
|
|
49827
49829
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
49828
49830
|
extraStyles: "margin-right: 0.5rem",
|
|
49829
49831
|
fontSize: isMobile ? FONT_SIZE.MD : FONT_SIZE.LG,
|