@embarkai/ui-kit 0.4.97 → 0.4.99

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,28 @@ 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';
239
+ walletConnectId?: string;
236
240
  };
237
241
  preferedColorMode?: 'light' | 'dark';
238
242
  /**
@@ -279,7 +283,6 @@ interface ProviderConfig {
279
283
  subtitle?: string;
280
284
  useExternalIcons?: boolean;
281
285
  dialogClassName?: string;
282
- authOrder?: ('email' | 'social' | 'wallet')[];
283
286
  };
284
287
  network: {
285
288
  name: string;
@@ -1145,7 +1148,6 @@ declare const buttonVariants: (props?: {
1145
1148
  size?: "small" | "large" | "medium" | "icon";
1146
1149
  } & class_variance_authority_types.ClassProp) => string;
1147
1150
  interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
1148
- asChild?: boolean;
1149
1151
  }
1150
1152
 
1151
1153
  /** 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,28 @@ 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';
239
+ walletConnectId?: string;
236
240
  };
237
241
  preferedColorMode?: 'light' | 'dark';
238
242
  /**
@@ -279,7 +283,6 @@ interface ProviderConfig {
279
283
  subtitle?: string;
280
284
  useExternalIcons?: boolean;
281
285
  dialogClassName?: string;
282
- authOrder?: ('email' | 'social' | 'wallet')[];
283
286
  };
284
287
  network: {
285
288
  name: string;
@@ -1145,7 +1148,6 @@ declare const buttonVariants: (props?: {
1145
1148
  size?: "small" | "large" | "medium" | "icon";
1146
1149
  } & class_variance_authority_types.ClassProp) => string;
1147
1150
  interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
1148
- asChild?: boolean;
1149
1151
  }
1150
1152
 
1151
1153
  /** EmbarkAI Color Mode Switcher */