@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/cjs/index.js
CHANGED
|
@@ -17195,8 +17195,8 @@ const TextFieldWrapper = styled.div.attrs({
|
|
|
17195
17195
|
border: 1px solid ${Styles.color.grey.medium};
|
|
17196
17196
|
border-radius: 6px;
|
|
17197
17197
|
overflow: hidden;
|
|
17198
|
-
margin-top:
|
|
17199
|
-
background-color: ${({ $isDisabled }) => $isDisabled ? Styles.color.grey.pale : "
|
|
17198
|
+
margin-top: 3px;
|
|
17199
|
+
background-color: ${({ $isDisabled }) => $isDisabled ? Styles.color.grey.pale : "white"};
|
|
17200
17200
|
outline: ${({ $hasError }) => $hasError && `${Styles.color.states.error} auto 1px`};
|
|
17201
17201
|
cursor: ${({ $isDisabled, $isLoading }) => {
|
|
17202
17202
|
if ($isDisabled)
|
|
@@ -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)
|