@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.cjs.js
CHANGED
|
@@ -49741,32 +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 1rem";
|
|
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 (
|
|
49755
|
-
var isMobile =
|
|
49751
|
+
})(["padding:0;width:", ";> div{flex-direction:", ";}"], function (_ref2) {
|
|
49752
|
+
var isMobile = _ref2.isMobile;
|
|
49756
49753
|
return isMobile ? "100%" : " 1224px";
|
|
49757
|
-
}, function (
|
|
49758
|
-
var isMobile =
|
|
49754
|
+
}, function (_ref3) {
|
|
49755
|
+
var isMobile = _ref3.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
|
|
49765
|
-
var isMobile =
|
|
49761
|
+
})(["align-items:center;width:", ";padding-left:", ";> *{width:inherit;}"], function (_ref4) {
|
|
49762
|
+
var isMobile = _ref4.isMobile;
|
|
49766
49763
|
return isMobile ? "100%" : "222px";
|
|
49767
|
-
}, function (
|
|
49768
|
-
var isMobile =
|
|
49769
|
-
return isMobile ? "0" : "
|
|
49764
|
+
}, function (_ref5) {
|
|
49765
|
+
var isMobile = _ref5.isMobile;
|
|
49766
|
+
return isMobile ? "0" : "2rem";
|
|
49770
49767
|
});
|
|
49771
49768
|
var RegisterLink = styled__default(ButtonWithLink).withConfig({
|
|
49772
49769
|
displayName: "RegistrationBannerstyled__RegisterLink",
|
|
@@ -49810,11 +49807,11 @@ var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
|
49810
49807
|
fontSize: isMobile ? FONT_SIZE.XL : "1.5rem",
|
|
49811
49808
|
variant: titleVariant,
|
|
49812
49809
|
weight: FONT_WEIGHT_SEMIBOLD
|
|
49813
|
-
}, "Register for a ", clientName, " Wallet
|
|
49810
|
+
}, "Register for a ", clientName, " Wallet"), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
49814
49811
|
extraStyles: "\n display: block;\n padding: ".concat(isMobile ? ".125rem 0 1rem" : "0", "\n "),
|
|
49815
|
-
fontSize: isMobile ? FONT_SIZE.
|
|
49812
|
+
fontSize: isMobile ? FONT_SIZE.MD : FONT_SIZE.LG,
|
|
49816
49813
|
color: themeValues.secondaryColor
|
|
49817
|
-
}, "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, {
|
|
49818
49815
|
justify: "space-between",
|
|
49819
49816
|
fullHeight: true,
|
|
49820
49817
|
childGap: "0.5rem",
|
|
@@ -49827,7 +49824,8 @@ var RegistrationBanner = function RegistrationBanner(_ref) {
|
|
|
49827
49824
|
url: registrationLink
|
|
49828
49825
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
49829
49826
|
justify: "center",
|
|
49830
|
-
align: "center"
|
|
49827
|
+
align: "center",
|
|
49828
|
+
extraStyles: "min-width: 100%"
|
|
49831
49829
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
49832
49830
|
extraStyles: "margin-right: 0.5rem",
|
|
49833
49831
|
fontSize: isMobile ? FONT_SIZE.MD : FONT_SIZE.LG,
|