@stackframe/stack 2.7.23 → 2.7.25
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/CHANGELOG.md +19 -0
- package/dist/components/elements/sidebar-layout.js +2 -9
- package/dist/components/elements/sidebar-layout.js.map +1 -1
- package/dist/components-page/account-settings.js +70 -83
- package/dist/components-page/account-settings.js.map +1 -1
- package/dist/esm/components/elements/sidebar-layout.js +2 -9
- package/dist/esm/components/elements/sidebar-layout.js.map +1 -1
- package/dist/esm/components-page/account-settings.js +69 -80
- package/dist/esm/components-page/account-settings.js.map +1 -1
- package/dist/esm/generated/global-css.js +1 -1
- package/dist/esm/generated/global-css.js.map +1 -1
- package/dist/esm/lib/stack-app/apps/implementations/client-app-impl.js +6 -10
- package/dist/esm/lib/stack-app/apps/implementations/client-app-impl.js.map +1 -1
- package/dist/esm/lib/stack-app/apps/implementations/common.js +1 -1
- package/dist/esm/lib/stack-app/apps/implementations/common.js.map +1 -1
- package/dist/esm/lib/stack-app/users/index.js.map +1 -1
- package/dist/generated/global-css.js +1 -1
- package/dist/generated/global-css.js.map +1 -1
- package/dist/index.d.mts +1054 -53
- package/dist/index.d.ts +1054 -53
- package/dist/lib/stack-app/apps/implementations/client-app-impl.js +5 -9
- package/dist/lib/stack-app/apps/implementations/client-app-impl.js.map +1 -1
- package/dist/lib/stack-app/apps/implementations/common.js +1 -1
- package/dist/lib/stack-app/apps/implementations/common.js.map +1 -1
- package/dist/lib/stack-app/users/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/admin-app-impl-CTQhv9tV.d.ts +0 -395
- package/dist/admin-app-impl-DpyRKp1e.d.mts +0 -395
- package/dist/components/credential-sign-in.d.mts +0 -5
- package/dist/components/credential-sign-in.d.ts +0 -5
- package/dist/components/credential-sign-up.d.mts +0 -7
- package/dist/components/credential-sign-up.d.ts +0 -7
- package/dist/components/elements/form-warning.d.mts +0 -7
- package/dist/components/elements/form-warning.d.ts +0 -7
- package/dist/components/elements/maybe-full-page.d.mts +0 -11
- package/dist/components/elements/maybe-full-page.d.ts +0 -11
- package/dist/components/elements/separator-with-text.d.mts +0 -7
- package/dist/components/elements/separator-with-text.d.ts +0 -7
- package/dist/components/elements/sidebar-layout.d.mts +0 -19
- package/dist/components/elements/sidebar-layout.d.ts +0 -19
- package/dist/components/elements/ssr-layout-effect.d.mts +0 -8
- package/dist/components/elements/ssr-layout-effect.d.ts +0 -8
- package/dist/components/elements/user-avatar.d.mts +0 -13
- package/dist/components/elements/user-avatar.d.ts +0 -13
- package/dist/components/iframe-preventer.d.mts +0 -8
- package/dist/components/iframe-preventer.d.ts +0 -8
- package/dist/components/link.d.mts +0 -14
- package/dist/components/link.d.ts +0 -14
- package/dist/components/magic-link-sign-in.d.mts +0 -5
- package/dist/components/magic-link-sign-in.d.ts +0 -5
- package/dist/components/message-cards/known-error-message-card.d.mts +0 -9
- package/dist/components/message-cards/known-error-message-card.d.ts +0 -9
- package/dist/components/message-cards/message-card.d.mts +0 -14
- package/dist/components/message-cards/message-card.d.ts +0 -14
- package/dist/components/message-cards/predefined-message-card.d.mts +0 -8
- package/dist/components/message-cards/predefined-message-card.d.ts +0 -8
- package/dist/components/oauth-button-group.d.mts +0 -14
- package/dist/components/oauth-button-group.d.ts +0 -14
- package/dist/components/oauth-button.d.mts +0 -8
- package/dist/components/oauth-button.d.ts +0 -8
- package/dist/components/passkey-button.d.mts +0 -7
- package/dist/components/passkey-button.d.ts +0 -7
- package/dist/components/profile-image-editor.d.mts +0 -11
- package/dist/components/profile-image-editor.d.ts +0 -11
- package/dist/components/selected-team-switcher.d.mts +0 -33
- package/dist/components/selected-team-switcher.d.ts +0 -33
- package/dist/components/team-icon.d.mts +0 -30
- package/dist/components/team-icon.d.ts +0 -30
- package/dist/components/user-button.d.mts +0 -15
- package/dist/components/user-button.d.ts +0 -15
- package/dist/components-page/account-settings.d.mts +0 -24
- package/dist/components-page/account-settings.d.ts +0 -24
- package/dist/components-page/auth-page.d.mts +0 -24
- package/dist/components-page/auth-page.d.ts +0 -24
- package/dist/components-page/email-verification.d.mts +0 -8
- package/dist/components-page/email-verification.d.ts +0 -8
- package/dist/components-page/error-page.d.mts +0 -8
- package/dist/components-page/error-page.d.ts +0 -8
- package/dist/components-page/forgot-password.d.mts +0 -10
- package/dist/components-page/forgot-password.d.ts +0 -10
- package/dist/components-page/magic-link-callback.d.mts +0 -8
- package/dist/components-page/magic-link-callback.d.ts +0 -8
- package/dist/components-page/oauth-callback.d.mts +0 -7
- package/dist/components-page/oauth-callback.d.ts +0 -7
- package/dist/components-page/password-reset.d.mts +0 -12
- package/dist/components-page/password-reset.d.ts +0 -12
- package/dist/components-page/sign-in.d.mts +0 -10
- package/dist/components-page/sign-in.d.ts +0 -10
- package/dist/components-page/sign-out.d.mts +0 -7
- package/dist/components-page/sign-out.d.ts +0 -7
- package/dist/components-page/sign-up.d.mts +0 -11
- package/dist/components-page/sign-up.d.ts +0 -11
- package/dist/components-page/stack-handler.d.mts +0 -72
- package/dist/components-page/stack-handler.d.ts +0 -72
- package/dist/components-page/team-creation.d.mts +0 -7
- package/dist/components-page/team-creation.d.ts +0 -7
- package/dist/components-page/team-invitation.d.mts +0 -8
- package/dist/components-page/team-invitation.d.ts +0 -8
- package/dist/generated/global-css.d.mts +0 -3
- package/dist/generated/global-css.d.ts +0 -3
- package/dist/generated/quetzal-translations.d.mts +0 -4
- package/dist/generated/quetzal-translations.d.ts +0 -4
- package/dist/global.d.d.mts +0 -2
- package/dist/global.d.d.ts +0 -2
- package/dist/index-C7D6Vt7X.d.mts +0 -560
- package/dist/index-DQk7XJpU.d.ts +0 -560
- package/dist/lib/auth.d.mts +0 -33
- package/dist/lib/auth.d.ts +0 -33
- package/dist/lib/cookie.d.mts +0 -33
- package/dist/lib/cookie.d.ts +0 -33
- package/dist/lib/hooks.d.mts +0 -53
- package/dist/lib/hooks.d.ts +0 -53
- package/dist/lib/stack-app/api-keys/index.d.mts +0 -40
- package/dist/lib/stack-app/api-keys/index.d.ts +0 -40
- package/dist/lib/stack-app/apps/implementations/admin-app-impl.d.mts +0 -30
- package/dist/lib/stack-app/apps/implementations/admin-app-impl.d.ts +0 -30
- package/dist/lib/stack-app/apps/implementations/client-app-impl.d.mts +0 -30
- package/dist/lib/stack-app/apps/implementations/client-app-impl.d.ts +0 -30
- package/dist/lib/stack-app/apps/implementations/common.d.mts +0 -45
- package/dist/lib/stack-app/apps/implementations/common.d.ts +0 -45
- package/dist/lib/stack-app/apps/implementations/index.d.mts +0 -36
- package/dist/lib/stack-app/apps/implementations/index.d.ts +0 -36
- package/dist/lib/stack-app/apps/implementations/server-app-impl.d.mts +0 -30
- package/dist/lib/stack-app/apps/implementations/server-app-impl.d.ts +0 -30
- package/dist/lib/stack-app/apps/index.d.mts +0 -23
- package/dist/lib/stack-app/apps/index.d.ts +0 -23
- package/dist/lib/stack-app/apps/interfaces/admin-app.d.mts +0 -23
- package/dist/lib/stack-app/apps/interfaces/admin-app.d.ts +0 -23
- package/dist/lib/stack-app/apps/interfaces/client-app.d.mts +0 -23
- package/dist/lib/stack-app/apps/interfaces/client-app.d.ts +0 -23
- package/dist/lib/stack-app/apps/interfaces/server-app.d.mts +0 -23
- package/dist/lib/stack-app/apps/interfaces/server-app.d.ts +0 -23
- package/dist/lib/stack-app/common.d.mts +0 -63
- package/dist/lib/stack-app/common.d.ts +0 -63
- package/dist/lib/stack-app/connected-accounts/index.d.mts +0 -13
- package/dist/lib/stack-app/connected-accounts/index.d.ts +0 -13
- package/dist/lib/stack-app/contact-channels/index.d.mts +0 -38
- package/dist/lib/stack-app/contact-channels/index.d.ts +0 -38
- package/dist/lib/stack-app/email-templates/index.d.mts +0 -15
- package/dist/lib/stack-app/email-templates/index.d.ts +0 -15
- package/dist/lib/stack-app/index.d.mts +0 -23
- package/dist/lib/stack-app/index.d.ts +0 -23
- package/dist/lib/stack-app/permissions/index.d.mts +0 -21
- package/dist/lib/stack-app/permissions/index.d.ts +0 -21
- package/dist/lib/stack-app/project-configs/index.d.mts +0 -82
- package/dist/lib/stack-app/project-configs/index.d.ts +0 -82
- package/dist/lib/stack-app/projects/index.d.mts +0 -23
- package/dist/lib/stack-app/projects/index.d.ts +0 -23
- package/dist/lib/stack-app/teams/index.d.mts +0 -23
- package/dist/lib/stack-app/teams/index.d.ts +0 -23
- package/dist/lib/stack-app/users/index.d.mts +0 -23
- package/dist/lib/stack-app/users/index.d.ts +0 -23
- package/dist/lib/translations.d.mts +0 -5
- package/dist/lib/translations.d.ts +0 -5
- package/dist/providers/stack-provider-client.d.mts +0 -39
- package/dist/providers/stack-provider-client.d.ts +0 -39
- package/dist/providers/stack-provider.d.mts +0 -42
- package/dist/providers/stack-provider.d.ts +0 -42
- package/dist/providers/theme-provider.d.mts +0 -40
- package/dist/providers/theme-provider.d.ts +0 -40
- package/dist/providers/translation-provider-client.d.mts +0 -14
- package/dist/providers/translation-provider-client.d.ts +0 -14
- package/dist/providers/translation-provider.d.mts +0 -10
- package/dist/providers/translation-provider.d.ts +0 -10
- package/dist/utils/browser-script.d.mts +0 -7
- package/dist/utils/browser-script.d.ts +0 -7
- package/dist/utils/constants.d.mts +0 -79
- package/dist/utils/constants.d.ts +0 -79
- package/dist/utils/url.d.mts +0 -3
- package/dist/utils/url.d.ts +0 -3
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { KnownError } from '@stackframe/stack-shared';
|
|
3
|
-
|
|
4
|
-
declare function KnownErrorMessageCard({ error, fullPage, }: {
|
|
5
|
-
error: KnownError;
|
|
6
|
-
fullPage?: boolean;
|
|
7
|
-
}): react_jsx_runtime.JSX.Element;
|
|
8
|
-
|
|
9
|
-
export { KnownErrorMessageCard };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { KnownError } from '@stackframe/stack-shared';
|
|
3
|
-
|
|
4
|
-
declare function KnownErrorMessageCard({ error, fullPage, }: {
|
|
5
|
-
error: KnownError;
|
|
6
|
-
fullPage?: boolean;
|
|
7
|
-
}): react_jsx_runtime.JSX.Element;
|
|
8
|
-
|
|
9
|
-
export { KnownErrorMessageCard };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
|
|
4
|
-
declare function MessageCard({ fullPage, ...props }: {
|
|
5
|
-
children?: React__default.ReactNode;
|
|
6
|
-
title: string;
|
|
7
|
-
fullPage?: boolean;
|
|
8
|
-
primaryButtonText?: string;
|
|
9
|
-
primaryAction?: () => Promise<void> | void;
|
|
10
|
-
secondaryButtonText?: string;
|
|
11
|
-
secondaryAction?: () => Promise<void> | void;
|
|
12
|
-
}): react_jsx_runtime.JSX.Element;
|
|
13
|
-
|
|
14
|
-
export { MessageCard };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
|
|
4
|
-
declare function MessageCard({ fullPage, ...props }: {
|
|
5
|
-
children?: React__default.ReactNode;
|
|
6
|
-
title: string;
|
|
7
|
-
fullPage?: boolean;
|
|
8
|
-
primaryButtonText?: string;
|
|
9
|
-
primaryAction?: () => Promise<void> | void;
|
|
10
|
-
secondaryButtonText?: string;
|
|
11
|
-
secondaryAction?: () => Promise<void> | void;
|
|
12
|
-
}): react_jsx_runtime.JSX.Element;
|
|
13
|
-
|
|
14
|
-
export { MessageCard };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
declare function PredefinedMessageCard({ type, fullPage, }: {
|
|
4
|
-
type: 'signedIn' | 'signedOut' | 'emailSent' | 'passwordReset' | 'unknownError' | 'signUpDisabled';
|
|
5
|
-
fullPage?: boolean;
|
|
6
|
-
}): react_jsx_runtime.JSX.Element;
|
|
7
|
-
|
|
8
|
-
export { PredefinedMessageCard };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
declare function PredefinedMessageCard({ type, fullPage, }: {
|
|
4
|
-
type: 'signedIn' | 'signedOut' | 'emailSent' | 'passwordReset' | 'unknownError' | 'signUpDisabled';
|
|
5
|
-
fullPage?: boolean;
|
|
6
|
-
}): react_jsx_runtime.JSX.Element;
|
|
7
|
-
|
|
8
|
-
export { PredefinedMessageCard };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
declare function OAuthButtonGroup({ type, mockProject, }: {
|
|
4
|
-
type: 'sign-in' | 'sign-up';
|
|
5
|
-
mockProject?: {
|
|
6
|
-
config: {
|
|
7
|
-
oauthProviders: {
|
|
8
|
-
id: string;
|
|
9
|
-
}[];
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
}): react_jsx_runtime.JSX.Element;
|
|
13
|
-
|
|
14
|
-
export { OAuthButtonGroup };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
declare function OAuthButtonGroup({ type, mockProject, }: {
|
|
4
|
-
type: 'sign-in' | 'sign-up';
|
|
5
|
-
mockProject?: {
|
|
6
|
-
config: {
|
|
7
|
-
oauthProviders: {
|
|
8
|
-
id: string;
|
|
9
|
-
}[];
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
}): react_jsx_runtime.JSX.Element;
|
|
13
|
-
|
|
14
|
-
export { OAuthButtonGroup };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ComponentProps } from 'react';
|
|
3
|
-
import { UserAvatar } from './elements/user-avatar.mjs';
|
|
4
|
-
|
|
5
|
-
declare function checkImageUrl(url: string): Promise<boolean>;
|
|
6
|
-
declare function ProfileImageEditor(props: {
|
|
7
|
-
user: NonNullable<ComponentProps<typeof UserAvatar>['user']>;
|
|
8
|
-
onProfileImageUrlChange: (profileImageUrl: string | null) => void | Promise<void>;
|
|
9
|
-
}): react_jsx_runtime.JSX.Element;
|
|
10
|
-
|
|
11
|
-
export { ProfileImageEditor, checkImageUrl };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ComponentProps } from 'react';
|
|
3
|
-
import { UserAvatar } from './elements/user-avatar.js';
|
|
4
|
-
|
|
5
|
-
declare function checkImageUrl(url: string): Promise<boolean>;
|
|
6
|
-
declare function ProfileImageEditor(props: {
|
|
7
|
-
user: NonNullable<ComponentProps<typeof UserAvatar>['user']>;
|
|
8
|
-
onProfileImageUrlChange: (profileImageUrl: string | null) => void | Promise<void>;
|
|
9
|
-
}): react_jsx_runtime.JSX.Element;
|
|
10
|
-
|
|
11
|
-
export { ProfileImageEditor, checkImageUrl };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { T as Team } from '../index-C7D6Vt7X.mjs';
|
|
3
|
-
import '@stackframe/stack-shared';
|
|
4
|
-
import '@stackframe/stack-shared/dist/interface/crud/current-user';
|
|
5
|
-
import '@stackframe/stack-shared/dist/utils/results';
|
|
6
|
-
import '../lib/stack-app/common.mjs';
|
|
7
|
-
import '@stackframe/stack-shared/dist/utils/oauth';
|
|
8
|
-
import '@stackframe/stack-shared/dist/helpers/production-mode';
|
|
9
|
-
import '@stackframe/stack-shared/dist/interface/crud/projects';
|
|
10
|
-
import '@stackframe/stack-shared/dist/interface/crud/email-templates';
|
|
11
|
-
import '@stackframe/stack-shared/dist/sessions';
|
|
12
|
-
import '../lib/stack-app/api-keys/index.mjs';
|
|
13
|
-
import '@stackframe/stack-shared/dist/interface/adminInterface';
|
|
14
|
-
import '@stackframe/stack-shared/dist/interface/crud/api-keys';
|
|
15
|
-
import '../lib/stack-app/email-templates/index.mjs';
|
|
16
|
-
import '../lib/stack-app/permissions/index.mjs';
|
|
17
|
-
import '@stackframe/stack-shared/dist/interface/crud/team-permissions';
|
|
18
|
-
import '@stackframe/stack-shared/dist/interface/crud/teams';
|
|
19
|
-
import '@stackframe/stack-shared/dist/utils/json';
|
|
20
|
-
import '@stackframe/stack-shared/dist/interface/crud/users';
|
|
21
|
-
import '../lib/stack-app/connected-accounts/index.mjs';
|
|
22
|
-
import '../lib/stack-app/contact-channels/index.mjs';
|
|
23
|
-
import '@stackframe/stack-shared/dist/interface/crud/contact-channels';
|
|
24
|
-
import '../lib/stack-app/project-configs/index.mjs';
|
|
25
|
-
|
|
26
|
-
type SelectedTeamSwitcherProps = {
|
|
27
|
-
urlMap?: (team: Team) => string;
|
|
28
|
-
selectedTeam?: Team;
|
|
29
|
-
noUpdateSelectedTeam?: boolean;
|
|
30
|
-
};
|
|
31
|
-
declare function SelectedTeamSwitcher(props: SelectedTeamSwitcherProps): react_jsx_runtime.JSX.Element;
|
|
32
|
-
|
|
33
|
-
export { SelectedTeamSwitcher };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { T as Team } from '../index-DQk7XJpU.js';
|
|
3
|
-
import '@stackframe/stack-shared';
|
|
4
|
-
import '@stackframe/stack-shared/dist/interface/crud/current-user';
|
|
5
|
-
import '@stackframe/stack-shared/dist/utils/results';
|
|
6
|
-
import '../lib/stack-app/common.js';
|
|
7
|
-
import '@stackframe/stack-shared/dist/utils/oauth';
|
|
8
|
-
import '@stackframe/stack-shared/dist/helpers/production-mode';
|
|
9
|
-
import '@stackframe/stack-shared/dist/interface/crud/projects';
|
|
10
|
-
import '@stackframe/stack-shared/dist/interface/crud/email-templates';
|
|
11
|
-
import '@stackframe/stack-shared/dist/sessions';
|
|
12
|
-
import '../lib/stack-app/api-keys/index.js';
|
|
13
|
-
import '@stackframe/stack-shared/dist/interface/adminInterface';
|
|
14
|
-
import '@stackframe/stack-shared/dist/interface/crud/api-keys';
|
|
15
|
-
import '../lib/stack-app/email-templates/index.js';
|
|
16
|
-
import '../lib/stack-app/permissions/index.js';
|
|
17
|
-
import '@stackframe/stack-shared/dist/interface/crud/team-permissions';
|
|
18
|
-
import '@stackframe/stack-shared/dist/interface/crud/teams';
|
|
19
|
-
import '@stackframe/stack-shared/dist/utils/json';
|
|
20
|
-
import '@stackframe/stack-shared/dist/interface/crud/users';
|
|
21
|
-
import '../lib/stack-app/connected-accounts/index.js';
|
|
22
|
-
import '../lib/stack-app/contact-channels/index.js';
|
|
23
|
-
import '@stackframe/stack-shared/dist/interface/crud/contact-channels';
|
|
24
|
-
import '../lib/stack-app/project-configs/index.js';
|
|
25
|
-
|
|
26
|
-
type SelectedTeamSwitcherProps = {
|
|
27
|
-
urlMap?: (team: Team) => string;
|
|
28
|
-
selectedTeam?: Team;
|
|
29
|
-
noUpdateSelectedTeam?: boolean;
|
|
30
|
-
};
|
|
31
|
-
declare function SelectedTeamSwitcher(props: SelectedTeamSwitcherProps): react_jsx_runtime.JSX.Element;
|
|
32
|
-
|
|
33
|
-
export { SelectedTeamSwitcher };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { T as Team } from '../index-C7D6Vt7X.mjs';
|
|
3
|
-
import '@stackframe/stack-shared';
|
|
4
|
-
import '@stackframe/stack-shared/dist/interface/crud/current-user';
|
|
5
|
-
import '@stackframe/stack-shared/dist/utils/results';
|
|
6
|
-
import '../lib/stack-app/common.mjs';
|
|
7
|
-
import '@stackframe/stack-shared/dist/utils/oauth';
|
|
8
|
-
import '@stackframe/stack-shared/dist/helpers/production-mode';
|
|
9
|
-
import '@stackframe/stack-shared/dist/interface/crud/projects';
|
|
10
|
-
import '@stackframe/stack-shared/dist/interface/crud/email-templates';
|
|
11
|
-
import '@stackframe/stack-shared/dist/sessions';
|
|
12
|
-
import '../lib/stack-app/api-keys/index.mjs';
|
|
13
|
-
import '@stackframe/stack-shared/dist/interface/adminInterface';
|
|
14
|
-
import '@stackframe/stack-shared/dist/interface/crud/api-keys';
|
|
15
|
-
import '../lib/stack-app/email-templates/index.mjs';
|
|
16
|
-
import '../lib/stack-app/permissions/index.mjs';
|
|
17
|
-
import '@stackframe/stack-shared/dist/interface/crud/team-permissions';
|
|
18
|
-
import '@stackframe/stack-shared/dist/interface/crud/teams';
|
|
19
|
-
import '@stackframe/stack-shared/dist/utils/json';
|
|
20
|
-
import '@stackframe/stack-shared/dist/interface/crud/users';
|
|
21
|
-
import '../lib/stack-app/connected-accounts/index.mjs';
|
|
22
|
-
import '../lib/stack-app/contact-channels/index.mjs';
|
|
23
|
-
import '@stackframe/stack-shared/dist/interface/crud/contact-channels';
|
|
24
|
-
import '../lib/stack-app/project-configs/index.mjs';
|
|
25
|
-
|
|
26
|
-
declare function TeamIcon(props: {
|
|
27
|
-
team: Team;
|
|
28
|
-
}): react_jsx_runtime.JSX.Element;
|
|
29
|
-
|
|
30
|
-
export { TeamIcon };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { T as Team } from '../index-DQk7XJpU.js';
|
|
3
|
-
import '@stackframe/stack-shared';
|
|
4
|
-
import '@stackframe/stack-shared/dist/interface/crud/current-user';
|
|
5
|
-
import '@stackframe/stack-shared/dist/utils/results';
|
|
6
|
-
import '../lib/stack-app/common.js';
|
|
7
|
-
import '@stackframe/stack-shared/dist/utils/oauth';
|
|
8
|
-
import '@stackframe/stack-shared/dist/helpers/production-mode';
|
|
9
|
-
import '@stackframe/stack-shared/dist/interface/crud/projects';
|
|
10
|
-
import '@stackframe/stack-shared/dist/interface/crud/email-templates';
|
|
11
|
-
import '@stackframe/stack-shared/dist/sessions';
|
|
12
|
-
import '../lib/stack-app/api-keys/index.js';
|
|
13
|
-
import '@stackframe/stack-shared/dist/interface/adminInterface';
|
|
14
|
-
import '@stackframe/stack-shared/dist/interface/crud/api-keys';
|
|
15
|
-
import '../lib/stack-app/email-templates/index.js';
|
|
16
|
-
import '../lib/stack-app/permissions/index.js';
|
|
17
|
-
import '@stackframe/stack-shared/dist/interface/crud/team-permissions';
|
|
18
|
-
import '@stackframe/stack-shared/dist/interface/crud/teams';
|
|
19
|
-
import '@stackframe/stack-shared/dist/utils/json';
|
|
20
|
-
import '@stackframe/stack-shared/dist/interface/crud/users';
|
|
21
|
-
import '../lib/stack-app/connected-accounts/index.js';
|
|
22
|
-
import '../lib/stack-app/contact-channels/index.js';
|
|
23
|
-
import '@stackframe/stack-shared/dist/interface/crud/contact-channels';
|
|
24
|
-
import '../lib/stack-app/project-configs/index.js';
|
|
25
|
-
|
|
26
|
-
declare function TeamIcon(props: {
|
|
27
|
-
team: Team;
|
|
28
|
-
}): react_jsx_runtime.JSX.Element;
|
|
29
|
-
|
|
30
|
-
export { TeamIcon };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
|
|
4
|
-
type UserButtonProps = {
|
|
5
|
-
showUserInfo?: boolean;
|
|
6
|
-
colorModeToggle?: () => void | Promise<void>;
|
|
7
|
-
extraItems?: {
|
|
8
|
-
text: string;
|
|
9
|
-
icon: React__default.ReactNode;
|
|
10
|
-
onClick: () => void | Promise<void>;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
|
-
declare function UserButton(props: UserButtonProps): react_jsx_runtime.JSX.Element;
|
|
14
|
-
|
|
15
|
-
export { UserButton };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
|
|
4
|
-
type UserButtonProps = {
|
|
5
|
-
showUserInfo?: boolean;
|
|
6
|
-
colorModeToggle?: () => void | Promise<void>;
|
|
7
|
-
extraItems?: {
|
|
8
|
-
text: string;
|
|
9
|
-
icon: React__default.ReactNode;
|
|
10
|
-
onClick: () => void | Promise<void>;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
|
-
declare function UserButton(props: UserButtonProps): react_jsx_runtime.JSX.Element;
|
|
14
|
-
|
|
15
|
-
export { UserButton };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { icons } from 'lucide-react';
|
|
3
|
-
import React__default from 'react';
|
|
4
|
-
|
|
5
|
-
declare function AccountSettings(props: {
|
|
6
|
-
fullPage?: boolean;
|
|
7
|
-
extraItems?: ({
|
|
8
|
-
title: string;
|
|
9
|
-
content: React__default.ReactNode;
|
|
10
|
-
id: string;
|
|
11
|
-
} & ({
|
|
12
|
-
icon?: React__default.ReactNode;
|
|
13
|
-
} | {
|
|
14
|
-
iconName?: keyof typeof icons;
|
|
15
|
-
}))[];
|
|
16
|
-
}): react_jsx_runtime.JSX.Element;
|
|
17
|
-
declare function TeamCreation(): react_jsx_runtime.JSX.Element;
|
|
18
|
-
declare function useDeleteAccountSection(): react_jsx_runtime.JSX.Element | null;
|
|
19
|
-
declare function EditableText(props: {
|
|
20
|
-
value: string;
|
|
21
|
-
onSave?: (value: string) => void | Promise<void>;
|
|
22
|
-
}): react_jsx_runtime.JSX.Element;
|
|
23
|
-
|
|
24
|
-
export { AccountSettings, EditableText, TeamCreation, useDeleteAccountSection };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { icons } from 'lucide-react';
|
|
3
|
-
import React__default from 'react';
|
|
4
|
-
|
|
5
|
-
declare function AccountSettings(props: {
|
|
6
|
-
fullPage?: boolean;
|
|
7
|
-
extraItems?: ({
|
|
8
|
-
title: string;
|
|
9
|
-
content: React__default.ReactNode;
|
|
10
|
-
id: string;
|
|
11
|
-
} & ({
|
|
12
|
-
icon?: React__default.ReactNode;
|
|
13
|
-
} | {
|
|
14
|
-
iconName?: keyof typeof icons;
|
|
15
|
-
}))[];
|
|
16
|
-
}): react_jsx_runtime.JSX.Element;
|
|
17
|
-
declare function TeamCreation(): react_jsx_runtime.JSX.Element;
|
|
18
|
-
declare function useDeleteAccountSection(): react_jsx_runtime.JSX.Element | null;
|
|
19
|
-
declare function EditableText(props: {
|
|
20
|
-
value: string;
|
|
21
|
-
onSave?: (value: string) => void | Promise<void>;
|
|
22
|
-
}): react_jsx_runtime.JSX.Element;
|
|
23
|
-
|
|
24
|
-
export { AccountSettings, EditableText, TeamCreation, useDeleteAccountSection };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
type Props = {
|
|
4
|
-
noPasswordRepeat?: boolean;
|
|
5
|
-
firstTab?: 'magic-link' | 'password';
|
|
6
|
-
fullPage?: boolean;
|
|
7
|
-
type: 'sign-in' | 'sign-up';
|
|
8
|
-
automaticRedirect?: boolean;
|
|
9
|
-
extraInfo?: React.ReactNode;
|
|
10
|
-
mockProject?: {
|
|
11
|
-
config: {
|
|
12
|
-
signUpEnabled: boolean;
|
|
13
|
-
credentialEnabled: boolean;
|
|
14
|
-
passkeyEnabled: boolean;
|
|
15
|
-
magicLinkEnabled: boolean;
|
|
16
|
-
oauthProviders: {
|
|
17
|
-
id: string;
|
|
18
|
-
}[];
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
declare function AuthPage(props: Props): react_jsx_runtime.JSX.Element;
|
|
23
|
-
|
|
24
|
-
export { AuthPage };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
type Props = {
|
|
4
|
-
noPasswordRepeat?: boolean;
|
|
5
|
-
firstTab?: 'magic-link' | 'password';
|
|
6
|
-
fullPage?: boolean;
|
|
7
|
-
type: 'sign-in' | 'sign-up';
|
|
8
|
-
automaticRedirect?: boolean;
|
|
9
|
-
extraInfo?: React.ReactNode;
|
|
10
|
-
mockProject?: {
|
|
11
|
-
config: {
|
|
12
|
-
signUpEnabled: boolean;
|
|
13
|
-
credentialEnabled: boolean;
|
|
14
|
-
passkeyEnabled: boolean;
|
|
15
|
-
magicLinkEnabled: boolean;
|
|
16
|
-
oauthProviders: {
|
|
17
|
-
id: string;
|
|
18
|
-
}[];
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
declare function AuthPage(props: Props): react_jsx_runtime.JSX.Element;
|
|
23
|
-
|
|
24
|
-
export { AuthPage };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
declare function ForgotPasswordForm({ onSent }: {
|
|
4
|
-
onSent?: () => void;
|
|
5
|
-
}): react_jsx_runtime.JSX.Element;
|
|
6
|
-
declare function ForgotPassword(props: {
|
|
7
|
-
fullPage?: boolean;
|
|
8
|
-
}): react_jsx_runtime.JSX.Element;
|
|
9
|
-
|
|
10
|
-
export { ForgotPassword, ForgotPasswordForm };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
declare function ForgotPasswordForm({ onSent }: {
|
|
4
|
-
onSent?: () => void;
|
|
5
|
-
}): react_jsx_runtime.JSX.Element;
|
|
6
|
-
declare function ForgotPassword(props: {
|
|
7
|
-
fullPage?: boolean;
|
|
8
|
-
}): react_jsx_runtime.JSX.Element;
|
|
9
|
-
|
|
10
|
-
export { ForgotPassword, ForgotPasswordForm };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
declare function PasswordResetForm(props: {
|
|
4
|
-
code: string;
|
|
5
|
-
fullPage?: boolean;
|
|
6
|
-
}): react_jsx_runtime.JSX.Element;
|
|
7
|
-
declare function PasswordReset({ searchParams, fullPage, }: {
|
|
8
|
-
searchParams: Record<string, string>;
|
|
9
|
-
fullPage?: boolean;
|
|
10
|
-
}): react_jsx_runtime.JSX.Element;
|
|
11
|
-
|
|
12
|
-
export { PasswordReset, PasswordResetForm as default };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
declare function PasswordResetForm(props: {
|
|
4
|
-
code: string;
|
|
5
|
-
fullPage?: boolean;
|
|
6
|
-
}): react_jsx_runtime.JSX.Element;
|
|
7
|
-
declare function PasswordReset({ searchParams, fullPage, }: {
|
|
8
|
-
searchParams: Record<string, string>;
|
|
9
|
-
fullPage?: boolean;
|
|
10
|
-
}): react_jsx_runtime.JSX.Element;
|
|
11
|
-
|
|
12
|
-
export { PasswordReset, PasswordResetForm as default };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
declare function SignIn(props: {
|
|
4
|
-
fullPage?: boolean;
|
|
5
|
-
automaticRedirect?: boolean;
|
|
6
|
-
extraInfo?: React.ReactNode;
|
|
7
|
-
firstTab?: 'magic-link' | 'password';
|
|
8
|
-
}): react_jsx_runtime.JSX.Element;
|
|
9
|
-
|
|
10
|
-
export { SignIn };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
declare function SignIn(props: {
|
|
4
|
-
fullPage?: boolean;
|
|
5
|
-
automaticRedirect?: boolean;
|
|
6
|
-
extraInfo?: React.ReactNode;
|
|
7
|
-
firstTab?: 'magic-link' | 'password';
|
|
8
|
-
}): react_jsx_runtime.JSX.Element;
|
|
9
|
-
|
|
10
|
-
export { SignIn };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
declare function SignUp(props: {
|
|
4
|
-
fullPage?: boolean;
|
|
5
|
-
automaticRedirect?: boolean;
|
|
6
|
-
noPasswordRepeat?: boolean;
|
|
7
|
-
extraInfo?: React.ReactNode;
|
|
8
|
-
firstTab?: 'magic-link' | 'password';
|
|
9
|
-
}): react_jsx_runtime.JSX.Element;
|
|
10
|
-
|
|
11
|
-
export { SignUp };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
declare function SignUp(props: {
|
|
4
|
-
fullPage?: boolean;
|
|
5
|
-
automaticRedirect?: boolean;
|
|
6
|
-
noPasswordRepeat?: boolean;
|
|
7
|
-
extraInfo?: React.ReactNode;
|
|
8
|
-
firstTab?: 'magic-link' | 'password';
|
|
9
|
-
}): react_jsx_runtime.JSX.Element;
|
|
10
|
-
|
|
11
|
-
export { SignUp };
|