@embarkai/ui-kit 0.4.97 → 0.4.98

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.d.cts CHANGED
@@ -206,6 +206,8 @@ interface WatchToken {
206
206
  /** Logo URL (optional) */
207
207
  logo?: string;
208
208
  }
209
+ /** real ID from @wagmi/connectors, extensionProvider = injected plugin */
210
+ type AlowedWallet = 'walletConnect' | 'metaMaskSDK' | 'extensionProvider' | 'baseAccount' | 'coinbaseWalletSDK';
209
211
  type WalletMode = 'linked' | 'direct' | 'both';
210
212
  interface ProviderConfig {
211
213
  projectId: string;
@@ -213,26 +215,27 @@ interface ProviderConfig {
213
215
  enabled: boolean;
214
216
  showCreateButton: boolean;
215
217
  primaryButtonText: string;
218
+ order?: number;
216
219
  };
217
220
  email: {
218
221
  enabled: boolean;
219
- placeholder: string;
220
- buttonText: string;
221
- verificationTitle: string;
222
+ order?: number;
222
223
  };
223
224
  social: {
224
225
  enabled: boolean;
225
226
  providers: SocialProvider[];
227
+ order?: number;
226
228
  };
227
229
  wallet: {
228
230
  enabled: boolean;
229
231
  supportedChains?: number[];
230
232
  requireSignature: boolean;
231
- walletConnectProjectId?: string;
232
233
  /** Operating mode: 'linked' = AA (current), 'direct' = external wallet signs, 'both' = user choice */
233
234
  mode?: WalletMode;
234
235
  /** Filter the wallet connector list shown in ConnectExternalWalletMenu. undefined = show all wallets */
235
- allowedWallets?: string[];
236
+ allowedWallets?: AlowedWallet[];
237
+ order?: number;
238
+ as?: 'menu' | 'social';
236
239
  };
237
240
  preferedColorMode?: 'light' | 'dark';
238
241
  /**
@@ -279,7 +282,6 @@ interface ProviderConfig {
279
282
  subtitle?: string;
280
283
  useExternalIcons?: boolean;
281
284
  dialogClassName?: string;
282
- authOrder?: ('email' | 'social' | 'wallet')[];
283
285
  };
284
286
  network: {
285
287
  name: string;
@@ -1145,7 +1147,6 @@ declare const buttonVariants: (props?: {
1145
1147
  size?: "small" | "large" | "medium" | "icon";
1146
1148
  } & class_variance_authority_types.ClassProp) => string;
1147
1149
  interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
1148
- asChild?: boolean;
1149
1150
  }
1150
1151
 
1151
1152
  /** EmbarkAI Color Mode Switcher */
package/dist/index.d.ts CHANGED
@@ -206,6 +206,8 @@ interface WatchToken {
206
206
  /** Logo URL (optional) */
207
207
  logo?: string;
208
208
  }
209
+ /** real ID from @wagmi/connectors, extensionProvider = injected plugin */
210
+ type AlowedWallet = 'walletConnect' | 'metaMaskSDK' | 'extensionProvider' | 'baseAccount' | 'coinbaseWalletSDK';
209
211
  type WalletMode = 'linked' | 'direct' | 'both';
210
212
  interface ProviderConfig {
211
213
  projectId: string;
@@ -213,26 +215,27 @@ interface ProviderConfig {
213
215
  enabled: boolean;
214
216
  showCreateButton: boolean;
215
217
  primaryButtonText: string;
218
+ order?: number;
216
219
  };
217
220
  email: {
218
221
  enabled: boolean;
219
- placeholder: string;
220
- buttonText: string;
221
- verificationTitle: string;
222
+ order?: number;
222
223
  };
223
224
  social: {
224
225
  enabled: boolean;
225
226
  providers: SocialProvider[];
227
+ order?: number;
226
228
  };
227
229
  wallet: {
228
230
  enabled: boolean;
229
231
  supportedChains?: number[];
230
232
  requireSignature: boolean;
231
- walletConnectProjectId?: string;
232
233
  /** Operating mode: 'linked' = AA (current), 'direct' = external wallet signs, 'both' = user choice */
233
234
  mode?: WalletMode;
234
235
  /** Filter the wallet connector list shown in ConnectExternalWalletMenu. undefined = show all wallets */
235
- allowedWallets?: string[];
236
+ allowedWallets?: AlowedWallet[];
237
+ order?: number;
238
+ as?: 'menu' | 'social';
236
239
  };
237
240
  preferedColorMode?: 'light' | 'dark';
238
241
  /**
@@ -279,7 +282,6 @@ interface ProviderConfig {
279
282
  subtitle?: string;
280
283
  useExternalIcons?: boolean;
281
284
  dialogClassName?: string;
282
- authOrder?: ('email' | 'social' | 'wallet')[];
283
285
  };
284
286
  network: {
285
287
  name: string;
@@ -1145,7 +1147,6 @@ declare const buttonVariants: (props?: {
1145
1147
  size?: "small" | "large" | "medium" | "icon";
1146
1148
  } & class_variance_authority_types.ClassProp) => string;
1147
1149
  interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
1148
- asChild?: boolean;
1149
1150
  }
1150
1151
 
1151
1152
  /** EmbarkAI Color Mode Switcher */