@stackframe/dashboard-ui-components 2.8.81 → 2.8.82
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/components/button.d.ts +4 -4
- package/dist/components/chart-legend.d.ts +1 -1
- package/dist/dashboard-ui-components.global.js +2 -0
- package/dist/dashboard-ui-components.global.js.map +2 -2
- package/dist/esm/components/button.d.ts +4 -4
- package/dist/esm/components/chart-legend.d.ts +1 -1
- package/package.json +3 -3
|
@@ -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" | "
|
|
8
|
-
size?: "
|
|
7
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "plain" | null | undefined;
|
|
8
|
+
size?: "icon" | "sm" | "lg" | "default" | 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" | "
|
|
26
|
-
size?: "
|
|
25
|
+
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "plain" | null | undefined;
|
|
26
|
+
size?: "icon" | "sm" | "lg" | "default" | null | undefined;
|
|
27
27
|
} & class_variance_authority_types0.ClassProp) | undefined) => string> & {
|
|
28
28
|
ref?: React.Ref<HTMLButtonElement> | undefined;
|
|
29
29
|
}>;
|
|
@@ -3,7 +3,7 @@ import * as RechartsPrimitive from "recharts";
|
|
|
3
3
|
|
|
4
4
|
//#region src/components/chart-legend.d.ts
|
|
5
5
|
declare const DesignChartLegend: typeof RechartsPrimitive.Legend;
|
|
6
|
-
declare const DesignChartLegendContent: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "
|
|
6
|
+
declare const DesignChartLegendContent: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "verticalAlign" | "payload"> & {
|
|
7
7
|
hideIcon?: boolean;
|
|
8
8
|
nameKey?: string;
|
|
9
9
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -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,
|