@thecb/components 5.11.2 → 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.esm.js
CHANGED
|
@@ -40246,13 +40246,13 @@ var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
|
40246
40246
|
label: "Amount paid",
|
|
40247
40247
|
amount: displayCurrency(voidableAmountPaid)
|
|
40248
40248
|
})), !hasVoidablePaymentsSection && !!lineItemElems.length && /*#__PURE__*/React.createElement(SolidDivider$1, null) // avoids duplicate dividers -> case of voidable payment section, that acts as divider
|
|
40249
|
-
, subtotal
|
|
40249
|
+
, subtotal ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, {
|
|
40250
40250
|
padding: "0.5rem 0"
|
|
40251
40251
|
}, /*#__PURE__*/React.createElement(LabeledAmount$1, {
|
|
40252
40252
|
variant: themeValues.labeledAmountSubtotal,
|
|
40253
40253
|
label: "Subtotal",
|
|
40254
40254
|
amount: displayCurrency(subtotal)
|
|
40255
|
-
}), 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, {
|
|
40256
40256
|
as: "p",
|
|
40257
40257
|
variant: themeValues.labeledAmountTotal,
|
|
40258
40258
|
label: hasVoidablePaymentsSection ? "Remaining amount due" : "Total",
|