@thecb/components 5.11.0 → 5.11.4-beta.0
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 +8 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +8 -7
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/molecules/obligation/modules/PaymentDetailsActions.js +1 -1
- package/src/components/molecules/payment-details/PaymentDetails.js +11 -5
package/dist/index.esm.js
CHANGED
|
@@ -39510,7 +39510,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
39510
39510
|
variant: "tertiary",
|
|
39511
39511
|
text: "Set Up ".concat(planType),
|
|
39512
39512
|
action: function action() {
|
|
39513
|
-
setDetailedObligation(obligations, config);
|
|
39513
|
+
setDetailedObligation(obligations, config, obligationAssocID);
|
|
39514
39514
|
handleAutopayAction();
|
|
39515
39515
|
},
|
|
39516
39516
|
dataQa: "Set Up Autopay",
|
|
@@ -40222,7 +40222,8 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
|
40222
40222
|
align: "center"
|
|
40223
40223
|
}, /*#__PURE__*/React.createElement(Cluster, {
|
|
40224
40224
|
padding: "0",
|
|
40225
|
-
align: "center"
|
|
40225
|
+
align: "center",
|
|
40226
|
+
extraStyles: "font-size: 14px;"
|
|
40226
40227
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
40227
40228
|
padding: "0"
|
|
40228
40229
|
}, t.voidText), /*#__PURE__*/React.createElement(ButtonWithAction, {
|
|
@@ -40232,8 +40233,8 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
|
40232
40233
|
},
|
|
40233
40234
|
text: "Void",
|
|
40234
40235
|
padding: "0",
|
|
40235
|
-
extraStyles: "\n min-width:
|
|
40236
|
-
textExtraStyles: "font-weight: ".concat(FONT_WEIGHT_REGULAR, "; font-size:
|
|
40236
|
+
extraStyles: "\n min-width: 65px; \n margin: 0px;\n min-height: 0px;\n ",
|
|
40237
|
+
textExtraStyles: "font-weight: ".concat(FONT_WEIGHT_REGULAR, "; font-size: 14px;")
|
|
40237
40238
|
})), /*#__PURE__*/React.createElement(Box, {
|
|
40238
40239
|
padding: "0",
|
|
40239
40240
|
key: t.id
|
|
@@ -40241,17 +40242,17 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
|
40241
40242
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
40242
40243
|
padding: "16px 0px"
|
|
40243
40244
|
}, /*#__PURE__*/React.createElement(SolidDivider$1, null)), /*#__PURE__*/React.createElement(LabeledAmount$1, {
|
|
40244
|
-
extraStyles: "font-weight: ".concat(FONT_WEIGHT_REGULAR, ";"),
|
|
40245
|
+
extraStyles: "font-weight: ".concat(FONT_WEIGHT_REGULAR, "; font-size: 14px;"),
|
|
40245
40246
|
label: "Amount paid",
|
|
40246
40247
|
amount: displayCurrency(voidableAmountPaid)
|
|
40247
40248
|
})), !hasVoidablePaymentsSection && !!lineItemElems.length && /*#__PURE__*/React.createElement(SolidDivider$1, null) // avoids duplicate dividers -> case of voidable payment section, that acts as divider
|
|
40248
|
-
, subtotal
|
|
40249
|
+
, subtotal ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
|
|
40249
40250
|
padding: "0.5rem 0"
|
|
40250
40251
|
}, /*#__PURE__*/React.createElement(LabeledAmount$1, {
|
|
40251
40252
|
variant: themeValues.labeledAmountSubtotal,
|
|
40252
40253
|
label: "Subtotal",
|
|
40253
40254
|
amount: displayCurrency(subtotal)
|
|
40254
|
-
}), feeElems), /*#__PURE__*/React.createElement(SolidDivider$1, null)), /*#__PURE__*/React.createElement(LabeledAmount$1, {
|
|
40255
|
+
}), feeElems), /*#__PURE__*/React.createElement(SolidDivider$1, null)) : /*#__PURE__*/React.createElement(React.Fragment, null), /*#__PURE__*/React.createElement(LabeledAmount$1, {
|
|
40255
40256
|
as: "p",
|
|
40256
40257
|
variant: themeValues.labeledAmountTotal,
|
|
40257
40258
|
label: hasVoidablePaymentsSection ? "Remaining amount due" : "Total",
|