@stella-source/stellasource-dsl 1.4.1 → 1.4.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/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.esm.js +2 -0
- package/dist/esm/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.esm.js
CHANGED
|
@@ -21910,6 +21910,8 @@ const PaymentStatus = ({ variant, id, className }) => {
|
|
|
21910
21910
|
const iconName = variant ? STATUS_ICON_MAP[variant] : "";
|
|
21911
21911
|
const labelWords = variant?.split(/(?=[A-Z])/);
|
|
21912
21912
|
let label = labelWords ? labelWords.join(" ") : "--";
|
|
21913
|
+
if (variant === PaymentStatusVariant.PAYMENT_PENDING)
|
|
21914
|
+
label = "Payment Required";
|
|
21913
21915
|
if (variant === PaymentStatusVariant.PAYMENT_SETTLED)
|
|
21914
21916
|
label = "Paid";
|
|
21915
21917
|
if (variant === PaymentStatusVariant.PAYMENT_CANCELED)
|