@paymanai/payman-ask-sdk 1.2.2 → 1.2.3

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.mjs CHANGED
@@ -975,7 +975,7 @@ function UserActionModal({
975
975
  onClick: handleReject,
976
976
  disabled: isSubmitting,
977
977
  className: cn(
978
- "py-2.5 px-4 rounded-lg text-sm font-medium transition-colors cursor-pointer",
978
+ "rounded-lg font-medium transition-colors cursor-pointer",
979
979
  "bg-destructive/10 text-destructive hover:bg-destructive/30 hover:text-destructive",
980
980
  "disabled:opacity-50 disabled:cursor-not-allowed"
981
981
  ),
@@ -986,7 +986,11 @@ function UserActionModal({
986
986
  justifyContent: "center",
987
987
  gap: "6px",
988
988
  whiteSpace: "nowrap",
989
- minWidth: 0
989
+ minWidth: 0,
990
+ padding: "10px 16px",
991
+ fontSize: "14px",
992
+ lineHeight: "20px",
993
+ border: "none"
990
994
  },
991
995
  children: [
992
996
  actionType === "reject" && /* @__PURE__ */ jsx(Loader2, { className: "w-4 h-4 animate-spin", style: { flexShrink: 0 } }),
@@ -1000,7 +1004,7 @@ function UserActionModal({
1000
1004
  onClick: handleApprove,
1001
1005
  disabled: !isOtpValid || isSubmitting,
1002
1006
  className: cn(
1003
- "py-2.5 px-4 rounded-lg text-sm font-medium transition-colors cursor-pointer",
1007
+ "rounded-lg font-medium transition-colors cursor-pointer",
1004
1008
  "bg-primary text-primary-foreground hover:bg-primary/90 active:bg-primary/80",
1005
1009
  "disabled:opacity-50 disabled:cursor-not-allowed"
1006
1010
  ),
@@ -1011,7 +1015,11 @@ function UserActionModal({
1011
1015
  justifyContent: "center",
1012
1016
  gap: "6px",
1013
1017
  whiteSpace: "nowrap",
1014
- minWidth: 0
1018
+ minWidth: 0,
1019
+ padding: "10px 16px",
1020
+ fontSize: "14px",
1021
+ lineHeight: "20px",
1022
+ border: "none"
1015
1023
  },
1016
1024
  children: [
1017
1025
  actionType === "approve" && /* @__PURE__ */ jsx(Loader2, { className: "w-4 h-4 animate-spin", style: { flexShrink: 0 } }),
@@ -1028,7 +1036,7 @@ function UserActionModal({
1028
1036
  onClick: handleResend,
1029
1037
  disabled: isSubmitting || resendCooldownRemaining > 0,
1030
1038
  className: cn(
1031
- "py-2 px-4 rounded-lg text-xs font-medium transition-colors w-full cursor-pointer",
1039
+ "rounded-lg font-medium transition-colors cursor-pointer",
1032
1040
  "border border-border text-muted-foreground hover:text-foreground hover:border-muted-foreground/40 hover:bg-muted/50",
1033
1041
  "disabled:opacity-50 disabled:cursor-not-allowed"
1034
1042
  ),
@@ -1037,7 +1045,11 @@ function UserActionModal({
1037
1045
  alignItems: "center",
1038
1046
  justifyContent: "center",
1039
1047
  gap: "6px",
1040
- whiteSpace: "nowrap"
1048
+ whiteSpace: "nowrap",
1049
+ width: "100%",
1050
+ padding: "8px 16px",
1051
+ fontSize: "12px",
1052
+ lineHeight: "16px"
1041
1053
  },
1042
1054
  children: [
1043
1055
  actionType === "resend" && /* @__PURE__ */ jsx(Loader2, { className: "w-3.5 h-3.5 animate-spin", style: { flexShrink: 0 } }),