@paymanai/payman-ask-sdk 1.1.0 → 1.1.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/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -748,11 +748,11 @@ function OtpInput({ value, onChange, maxLength, disabled = false }) {
|
|
|
748
748
|
textAlign: "center",
|
|
749
749
|
fontSize: "20px",
|
|
750
750
|
fontWeight: 600,
|
|
751
|
-
border: "1px solid var(--border,
|
|
751
|
+
border: "1px solid hsl(var(--border, 214.3 31.8% 91.4%))",
|
|
752
752
|
borderRadius: "8px",
|
|
753
753
|
outline: "none",
|
|
754
|
-
backgroundColor: disabled ? "var(--muted,
|
|
755
|
-
color: "var(--foreground,
|
|
754
|
+
backgroundColor: disabled ? "hsl(var(--muted, 210 40% 96.1%))" : "transparent",
|
|
755
|
+
color: "hsl(var(--foreground, 222.2 84% 4.9%))",
|
|
756
756
|
opacity: disabled ? 0.5 : 1
|
|
757
757
|
}
|
|
758
758
|
},
|
|
@@ -944,7 +944,7 @@ function UserActionModal({
|
|
|
944
944
|
role: "dialog",
|
|
945
945
|
"aria-modal": "true",
|
|
946
946
|
style: {
|
|
947
|
-
backgroundColor: "var(--card,
|
|
947
|
+
backgroundColor: "hsl(var(--card, 0 0% 100%))",
|
|
948
948
|
borderRadius: "12px",
|
|
949
949
|
padding: "24px",
|
|
950
950
|
width: "100%",
|
|
@@ -965,7 +965,7 @@ function UserActionModal({
|
|
|
965
965
|
width: "48px",
|
|
966
966
|
height: "48px",
|
|
967
967
|
borderRadius: "50%",
|
|
968
|
-
backgroundColor: "var(--muted,
|
|
968
|
+
backgroundColor: "hsl(var(--muted, 210 40% 96.1%))",
|
|
969
969
|
marginBottom: "12px"
|
|
970
970
|
},
|
|
971
971
|
children: /* @__PURE__ */ jsx(
|
|
@@ -983,7 +983,7 @@ function UserActionModal({
|
|
|
983
983
|
style: {
|
|
984
984
|
fontSize: "18px",
|
|
985
985
|
fontWeight: 600,
|
|
986
|
-
color: "var(--foreground,
|
|
986
|
+
color: "hsl(var(--foreground, 222.2 84% 4.9%))",
|
|
987
987
|
margin: 0
|
|
988
988
|
},
|
|
989
989
|
children: MODAL_CONTENT.TITLE
|
|
@@ -995,7 +995,7 @@ function UserActionModal({
|
|
|
995
995
|
{
|
|
996
996
|
style: {
|
|
997
997
|
fontSize: "14px",
|
|
998
|
-
color: "var(--muted-foreground,
|
|
998
|
+
color: "hsl(var(--muted-foreground, 215.4 16.3% 46.9%))",
|
|
999
999
|
textAlign: "center",
|
|
1000
1000
|
margin: "0 0 24px 0",
|
|
1001
1001
|
lineHeight: 1.5
|
|
@@ -1035,8 +1035,8 @@ function UserActionModal({
|
|
|
1035
1035
|
onClick: handleReject,
|
|
1036
1036
|
disabled: isSubmitting,
|
|
1037
1037
|
className: cn(
|
|
1038
|
-
"py-2.5 px-4 rounded-lg text-sm font-medium transition-colors",
|
|
1039
|
-
"bg-destructive/10 text-destructive hover:bg-destructive/
|
|
1038
|
+
"py-2.5 px-4 rounded-lg text-sm font-medium transition-colors cursor-pointer",
|
|
1039
|
+
"bg-destructive/10 text-destructive hover:bg-destructive/30 hover:text-destructive",
|
|
1040
1040
|
"disabled:opacity-50 disabled:cursor-not-allowed"
|
|
1041
1041
|
),
|
|
1042
1042
|
style: {
|
|
@@ -1060,7 +1060,7 @@ function UserActionModal({
|
|
|
1060
1060
|
onClick: handleApprove,
|
|
1061
1061
|
disabled: !isOtpValid || isSubmitting,
|
|
1062
1062
|
className: cn(
|
|
1063
|
-
"py-2.5 px-4 rounded-lg text-sm font-medium transition-colors",
|
|
1063
|
+
"py-2.5 px-4 rounded-lg text-sm font-medium transition-colors cursor-pointer",
|
|
1064
1064
|
"bg-primary text-primary-foreground hover:bg-primary/90 active:bg-primary/80",
|
|
1065
1065
|
"disabled:opacity-50 disabled:cursor-not-allowed"
|
|
1066
1066
|
),
|
|
@@ -1088,8 +1088,8 @@ function UserActionModal({
|
|
|
1088
1088
|
onClick: handleResend,
|
|
1089
1089
|
disabled: isSubmitting || resendCooldownRemaining > 0,
|
|
1090
1090
|
className: cn(
|
|
1091
|
-
"py-2 px-4 rounded-lg text-xs font-medium transition-colors w-full",
|
|
1092
|
-
"text-muted-foreground hover:text-foreground",
|
|
1091
|
+
"py-2 px-4 rounded-lg text-xs font-medium transition-colors w-full cursor-pointer",
|
|
1092
|
+
"border border-border text-muted-foreground hover:text-foreground hover:border-muted-foreground/40 hover:bg-muted/50",
|
|
1093
1093
|
"disabled:opacity-50 disabled:cursor-not-allowed"
|
|
1094
1094
|
),
|
|
1095
1095
|
style: {
|