@thecb/components 10.6.3-beta.0 → 10.6.3-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
CHANGED
|
@@ -39647,7 +39647,9 @@ var Module = function Module(_ref) {
|
|
|
39647
39647
|
spacingBottom = _ref$spacingBottom === void 0 ? "2.5rem" : _ref$spacingBottom,
|
|
39648
39648
|
fontSize = _ref.fontSize,
|
|
39649
39649
|
themeValues = _ref.themeValues,
|
|
39650
|
-
children = _ref.children
|
|
39650
|
+
children = _ref.children,
|
|
39651
|
+
_ref$allowContentOver = _ref.allowContentOverflow,
|
|
39652
|
+
allowContentOverflow = _ref$allowContentOver === void 0 ? false : _ref$allowContentOver;
|
|
39651
39653
|
var themedFontSize = variant === "small" ? "1.25rem" : variant === "default" ? "1.375rem" : "2rem";
|
|
39652
39654
|
var computedFontSize = fontSize || themedFontSize;
|
|
39653
39655
|
var themedElemType = variant === "small" ? "h6" : variant === "default" ? "h5" : "h2";
|
|
@@ -39670,6 +39672,7 @@ var Module = function Module(_ref) {
|
|
|
39670
39672
|
}, heading && !rightTitleContent && headingText, heading && rightTitleContent && /*#__PURE__*/React__default.createElement(Cluster, {
|
|
39671
39673
|
justify: "space-between",
|
|
39672
39674
|
align: "center",
|
|
39675
|
+
overflow: allowContentOverflow,
|
|
39673
39676
|
nowrap: true
|
|
39674
39677
|
}, headingText, rightTitleContent), /*#__PURE__*/React__default.createElement(Box, {
|
|
39675
39678
|
padding: "0 0 ".concat(spacingBottom),
|
|
@@ -48919,9 +48922,9 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
48919
48922
|
justify: "space-between",
|
|
48920
48923
|
align: "center"
|
|
48921
48924
|
}, /*#__PURE__*/React__default.createElement(Title$1, {
|
|
48922
|
-
weight:
|
|
48925
|
+
weight: FONT_WEIGHT_SEMIBOLD,
|
|
48923
48926
|
as: "h2",
|
|
48924
|
-
extraStyles: "font-size: 1.
|
|
48927
|
+
extraStyles: "font-size: 1.5rem; line-height: ".concat(isMobile ? "2.2861rem" : "2.25rem", ";"),
|
|
48925
48928
|
id: "payment-details-title"
|
|
48926
48929
|
}, titleText), /*#__PURE__*/React__default.createElement(Title$1, {
|
|
48927
48930
|
weight: FONT_WEIGHT_BOLD,
|
|
@@ -48929,9 +48932,9 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
48929
48932
|
extraStyles: "font-size: 1.375rem;"
|
|
48930
48933
|
}, displayCurrency(total)))) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Title$1, {
|
|
48931
48934
|
as: "h2",
|
|
48932
|
-
weight:
|
|
48935
|
+
weight: FONT_WEIGHT_SEMIBOLD,
|
|
48933
48936
|
margin: "1rem 0 0 0",
|
|
48934
|
-
extraStyles: "font-size: 1.
|
|
48937
|
+
extraStyles: "font-size: 1.5rem; line-height: ".concat(isMobile ? "2.2861rem" : "2.25rem", ";"),
|
|
48935
48938
|
id: "payment-details-title"
|
|
48936
48939
|
}, titleText), agencySubheading);
|
|
48937
48940
|
return isCollapsible ? /*#__PURE__*/React__default.createElement(Collapsible, {
|