@paymanai/payman-ask-sdk 1.2.1 → 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.js CHANGED
@@ -981,7 +981,7 @@ function UserActionModal({
981
981
  onClick: handleReject,
982
982
  disabled: isSubmitting,
983
983
  className: cn(
984
- "py-2.5 px-4 rounded-lg text-sm font-medium transition-colors cursor-pointer",
984
+ "rounded-lg font-medium transition-colors cursor-pointer",
985
985
  "bg-destructive/10 text-destructive hover:bg-destructive/30 hover:text-destructive",
986
986
  "disabled:opacity-50 disabled:cursor-not-allowed"
987
987
  ),
@@ -992,7 +992,11 @@ function UserActionModal({
992
992
  justifyContent: "center",
993
993
  gap: "6px",
994
994
  whiteSpace: "nowrap",
995
- minWidth: 0
995
+ minWidth: 0,
996
+ padding: "10px 16px",
997
+ fontSize: "14px",
998
+ lineHeight: "20px",
999
+ border: "none"
996
1000
  },
997
1001
  children: [
998
1002
  actionType === "reject" && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "w-4 h-4 animate-spin", style: { flexShrink: 0 } }),
@@ -1006,7 +1010,7 @@ function UserActionModal({
1006
1010
  onClick: handleApprove,
1007
1011
  disabled: !isOtpValid || isSubmitting,
1008
1012
  className: cn(
1009
- "py-2.5 px-4 rounded-lg text-sm font-medium transition-colors cursor-pointer",
1013
+ "rounded-lg font-medium transition-colors cursor-pointer",
1010
1014
  "bg-primary text-primary-foreground hover:bg-primary/90 active:bg-primary/80",
1011
1015
  "disabled:opacity-50 disabled:cursor-not-allowed"
1012
1016
  ),
@@ -1017,7 +1021,11 @@ function UserActionModal({
1017
1021
  justifyContent: "center",
1018
1022
  gap: "6px",
1019
1023
  whiteSpace: "nowrap",
1020
- minWidth: 0
1024
+ minWidth: 0,
1025
+ padding: "10px 16px",
1026
+ fontSize: "14px",
1027
+ lineHeight: "20px",
1028
+ border: "none"
1021
1029
  },
1022
1030
  children: [
1023
1031
  actionType === "approve" && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "w-4 h-4 animate-spin", style: { flexShrink: 0 } }),
@@ -1034,7 +1042,7 @@ function UserActionModal({
1034
1042
  onClick: handleResend,
1035
1043
  disabled: isSubmitting || resendCooldownRemaining > 0,
1036
1044
  className: cn(
1037
- "py-2 px-4 rounded-lg text-xs font-medium transition-colors w-full cursor-pointer",
1045
+ "rounded-lg font-medium transition-colors cursor-pointer",
1038
1046
  "border border-border text-muted-foreground hover:text-foreground hover:border-muted-foreground/40 hover:bg-muted/50",
1039
1047
  "disabled:opacity-50 disabled:cursor-not-allowed"
1040
1048
  ),
@@ -1043,7 +1051,11 @@ function UserActionModal({
1043
1051
  alignItems: "center",
1044
1052
  justifyContent: "center",
1045
1053
  gap: "6px",
1046
- whiteSpace: "nowrap"
1054
+ whiteSpace: "nowrap",
1055
+ width: "100%",
1056
+ padding: "8px 16px",
1057
+ fontSize: "12px",
1058
+ lineHeight: "16px"
1047
1059
  },
1048
1060
  children: [
1049
1061
  actionType === "resend" && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "w-3.5 h-3.5 animate-spin", style: { flexShrink: 0 } }),