@passkeyme/react-auth 1.1.7 → 1.2.0

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
@@ -1055,16 +1055,30 @@ const providerStyles = {
1055
1055
  color: "white",
1056
1056
  border: "1px solid #1877f2",
1057
1057
  },
1058
+ apple: {
1059
+ backgroundColor: "#000",
1060
+ color: "white",
1061
+ border: "1px solid #000",
1062
+ },
1063
+ microsoft: {
1064
+ backgroundColor: "#0078d4",
1065
+ color: "white",
1066
+ border: "1px solid #0078d4",
1067
+ },
1058
1068
  };
1059
1069
  const providerIcons = {
1060
1070
  google: "🌐",
1061
1071
  github: "📱",
1062
1072
  facebook: "📘",
1073
+ apple: "🍎",
1074
+ microsoft: "Ⓜ️",
1063
1075
  };
1064
1076
  const providerNames = {
1065
1077
  google: "Google",
1066
1078
  github: "GitHub",
1067
1079
  facebook: "Facebook",
1080
+ apple: "Apple",
1081
+ microsoft: "Microsoft",
1068
1082
  };
1069
1083
  const PasskeymeOAuthButtonComponent = ({ provider, variant = "default", size = "medium", redirectUri, children, className = "", style = {}, disabled = false, onClick, loading: externalLoading = false, }) => {
1070
1084
  const { redirectToOAuth, loading: authLoading } = usePasskeyme();
@@ -2228,7 +2242,7 @@ const defaultTheme = {
2228
2242
  */
2229
2243
  const PasskeymeAuthPanel = ({
2230
2244
  // Core functionality
2231
- providers = ["google", "github"], enablePasskeys = true, enableUsernamePassword: _enableUsernamePassword = false, // Reserved for future implementation
2245
+ providers = ["google", "github", "apple", "microsoft"], enablePasskeys = true, enableUsernamePassword: _enableUsernamePassword = false, // Reserved for future implementation
2232
2246
  redirectUri, state: _state, // Reserved for future implementation
2233
2247
  // Layout & behavior
2234
2248
  layout = "vertical", spacing = "normal", passkeyFirst = true, hideProvidersInitially = false, autoTriggerPasskey = true,