@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 CHANGED
@@ -21930,6 +21930,8 @@ const PaymentStatus = ({ variant, id, className }) => {
21930
21930
  const iconName = variant ? STATUS_ICON_MAP[variant] : "";
21931
21931
  const labelWords = variant?.split(/(?=[A-Z])/);
21932
21932
  let label = labelWords ? labelWords.join(" ") : "--";
21933
+ if (variant === PaymentStatusVariant.PAYMENT_PENDING)
21934
+ label = "Payment Required";
21933
21935
  if (variant === PaymentStatusVariant.PAYMENT_SETTLED)
21934
21936
  label = "Paid";
21935
21937
  if (variant === PaymentStatusVariant.PAYMENT_CANCELED)