@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 CHANGED
@@ -754,11 +754,11 @@ function OtpInput({ value, onChange, maxLength, disabled = false }) {
754
754
  textAlign: "center",
755
755
  fontSize: "20px",
756
756
  fontWeight: 600,
757
- border: "1px solid var(--border, #E5E5E5)",
757
+ border: "1px solid hsl(var(--border, 214.3 31.8% 91.4%))",
758
758
  borderRadius: "8px",
759
759
  outline: "none",
760
- backgroundColor: disabled ? "var(--muted, #F5F5F5)" : "transparent",
761
- color: "var(--foreground, #000)",
760
+ backgroundColor: disabled ? "hsl(var(--muted, 210 40% 96.1%))" : "transparent",
761
+ color: "hsl(var(--foreground, 222.2 84% 4.9%))",
762
762
  opacity: disabled ? 0.5 : 1
763
763
  }
764
764
  },
@@ -950,7 +950,7 @@ function UserActionModal({
950
950
  role: "dialog",
951
951
  "aria-modal": "true",
952
952
  style: {
953
- backgroundColor: "var(--card, #FFFFFF)",
953
+ backgroundColor: "hsl(var(--card, 0 0% 100%))",
954
954
  borderRadius: "12px",
955
955
  padding: "24px",
956
956
  width: "100%",
@@ -971,7 +971,7 @@ function UserActionModal({
971
971
  width: "48px",
972
972
  height: "48px",
973
973
  borderRadius: "50%",
974
- backgroundColor: "var(--muted, #F5F5F5)",
974
+ backgroundColor: "hsl(var(--muted, 210 40% 96.1%))",
975
975
  marginBottom: "12px"
976
976
  },
977
977
  children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -989,7 +989,7 @@ function UserActionModal({
989
989
  style: {
990
990
  fontSize: "18px",
991
991
  fontWeight: 600,
992
- color: "var(--foreground, #000)",
992
+ color: "hsl(var(--foreground, 222.2 84% 4.9%))",
993
993
  margin: 0
994
994
  },
995
995
  children: MODAL_CONTENT.TITLE
@@ -1001,7 +1001,7 @@ function UserActionModal({
1001
1001
  {
1002
1002
  style: {
1003
1003
  fontSize: "14px",
1004
- color: "var(--muted-foreground, #666)",
1004
+ color: "hsl(var(--muted-foreground, 215.4 16.3% 46.9%))",
1005
1005
  textAlign: "center",
1006
1006
  margin: "0 0 24px 0",
1007
1007
  lineHeight: 1.5
@@ -1041,8 +1041,8 @@ function UserActionModal({
1041
1041
  onClick: handleReject,
1042
1042
  disabled: isSubmitting,
1043
1043
  className: cn(
1044
- "py-2.5 px-4 rounded-lg text-sm font-medium transition-colors",
1045
- "bg-destructive/10 text-destructive hover:bg-destructive/20 hover:text-destructive",
1044
+ "py-2.5 px-4 rounded-lg text-sm font-medium transition-colors cursor-pointer",
1045
+ "bg-destructive/10 text-destructive hover:bg-destructive/30 hover:text-destructive",
1046
1046
  "disabled:opacity-50 disabled:cursor-not-allowed"
1047
1047
  ),
1048
1048
  style: {
@@ -1066,7 +1066,7 @@ function UserActionModal({
1066
1066
  onClick: handleApprove,
1067
1067
  disabled: !isOtpValid || isSubmitting,
1068
1068
  className: cn(
1069
- "py-2.5 px-4 rounded-lg text-sm font-medium transition-colors",
1069
+ "py-2.5 px-4 rounded-lg text-sm font-medium transition-colors cursor-pointer",
1070
1070
  "bg-primary text-primary-foreground hover:bg-primary/90 active:bg-primary/80",
1071
1071
  "disabled:opacity-50 disabled:cursor-not-allowed"
1072
1072
  ),
@@ -1094,8 +1094,8 @@ function UserActionModal({
1094
1094
  onClick: handleResend,
1095
1095
  disabled: isSubmitting || resendCooldownRemaining > 0,
1096
1096
  className: cn(
1097
- "py-2 px-4 rounded-lg text-xs font-medium transition-colors w-full",
1098
- "text-muted-foreground hover:text-foreground",
1097
+ "py-2 px-4 rounded-lg text-xs font-medium transition-colors w-full cursor-pointer",
1098
+ "border border-border text-muted-foreground hover:text-foreground hover:border-muted-foreground/40 hover:bg-muted/50",
1099
1099
  "disabled:opacity-50 disabled:cursor-not-allowed"
1100
1100
  ),
1101
1101
  style: {