@stackframe/dashboard-ui-components 2.8.81 → 2.8.83

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.
@@ -4,8 +4,8 @@ import React from "react";
4
4
 
5
5
  //#region src/components/button.d.ts
6
6
  declare const designButtonVariants: (props?: ({
7
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "plain" | null | undefined;
8
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
7
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "plain" | null | undefined;
8
+ size?: "icon" | "default" | "sm" | "lg" | null | undefined;
9
9
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
10
10
  type DesignOriginalButtonProps = {
11
11
  asChild?: boolean;
@@ -22,8 +22,8 @@ declare const DesignButton: React.FC<{
22
22
  } & {
23
23
  asChild?: boolean;
24
24
  } & React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
25
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "plain" | null | undefined;
26
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
25
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "plain" | null | undefined;
26
+ size?: "icon" | "default" | "sm" | "lg" | null | undefined;
27
27
  } & class_variance_authority_types0.ClassProp) | undefined) => string> & {
28
28
  ref?: React.Ref<HTMLButtonElement> | undefined;
29
29
  }>;
@@ -4074,6 +4074,7 @@ This is likely an error in Stack. Please make sure you are running the newest ve
4074
4074
  var InvalidAuthorizationCode = createKnownErrorConstructor(KnownError, "INVALID_AUTHORIZATION_CODE", () => [400, "The given authorization code is invalid."], () => []);
4075
4075
  var InvalidAppleCredentials = createKnownErrorConstructor(KnownError, "INVALID_APPLE_CREDENTIALS", () => [400, "The Apple Sign In credentials could not be verified. Please try signing in again."], () => []);
4076
4076
  var OAuthProviderAccessDenied = createKnownErrorConstructor(KnownError, "OAUTH_PROVIDER_ACCESS_DENIED", () => [400, "The OAuth provider denied access to the user."], () => []);
4077
+ var OAuthProviderTemporarilyUnavailable = createKnownErrorConstructor(KnownError, "OAUTH_PROVIDER_TEMPORARILY_UNAVAILABLE", () => [503, "The OAuth provider is temporarily unavailable. Please try signing in again."], () => []);
4077
4078
  var ContactChannelAlreadyUsedForAuthBySomeoneElse = createKnownErrorConstructor(KnownError, "CONTACT_CHANNEL_ALREADY_USED_FOR_AUTH_BY_SOMEONE_ELSE", (type, contactChannelValue, wouldWorkIfEmailWasVerified = false) => [
4078
4079
  409,
4079
4080
  `This ${type} ${contactChannelValue ? `"(${contactChannelValue})"` : ""} is already used for authentication by another account${wouldWorkIfEmailWasVerified ? " but the email is not verified. Please login to your existing account with the method you used to sign up, and then verify your email to sign in with this login method." : "."}`,
@@ -4360,6 +4361,7 @@ This is likely an error in Stack. Please make sure you are running the newest ve
4360
4361
  InvalidAppleCredentials,
4361
4362
  TeamPermissionNotFound,
4362
4363
  OAuthProviderAccessDenied,
4364
+ OAuthProviderTemporarilyUnavailable,
4363
4365
  ContactChannelAlreadyUsedForAuthBySomeoneElse,
4364
4366
  InvalidPollingCodeError,
4365
4367
  ApiKeyNotValid,