@stella-source/stellasource-dsl 1.4.0 → 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 +4 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.esm.js +4 -2
- package/dist/esm/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.esm.js
CHANGED
|
@@ -17175,8 +17175,8 @@ const TextFieldWrapper = styled.div.attrs({
|
|
|
17175
17175
|
border: 1px solid ${Styles.color.grey.medium};
|
|
17176
17176
|
border-radius: 6px;
|
|
17177
17177
|
overflow: hidden;
|
|
17178
|
-
margin-top:
|
|
17179
|
-
background-color: ${({ $isDisabled }) => $isDisabled ? Styles.color.grey.pale : "
|
|
17178
|
+
margin-top: 3px;
|
|
17179
|
+
background-color: ${({ $isDisabled }) => $isDisabled ? Styles.color.grey.pale : "white"};
|
|
17180
17180
|
outline: ${({ $hasError }) => $hasError && `${Styles.color.states.error} auto 1px`};
|
|
17181
17181
|
cursor: ${({ $isDisabled, $isLoading }) => {
|
|
17182
17182
|
if ($isDisabled)
|
|
@@ -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)
|