@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.
Files changed (170) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/components/elements/sidebar-layout.js +2 -9
  3. package/dist/components/elements/sidebar-layout.js.map +1 -1
  4. package/dist/components-page/account-settings.js +70 -83
  5. package/dist/components-page/account-settings.js.map +1 -1
  6. package/dist/esm/components/elements/sidebar-layout.js +2 -9
  7. package/dist/esm/components/elements/sidebar-layout.js.map +1 -1
  8. package/dist/esm/components-page/account-settings.js +69 -80
  9. package/dist/esm/components-page/account-settings.js.map +1 -1
  10. package/dist/esm/generated/global-css.js +1 -1
  11. package/dist/esm/generated/global-css.js.map +1 -1
  12. package/dist/esm/lib/stack-app/apps/implementations/client-app-impl.js +6 -10
  13. package/dist/esm/lib/stack-app/apps/implementations/client-app-impl.js.map +1 -1
  14. package/dist/esm/lib/stack-app/apps/implementations/common.js +1 -1
  15. package/dist/esm/lib/stack-app/apps/implementations/common.js.map +1 -1
  16. package/dist/esm/lib/stack-app/users/index.js.map +1 -1
  17. package/dist/generated/global-css.js +1 -1
  18. package/dist/generated/global-css.js.map +1 -1
  19. package/dist/index.d.mts +1054 -53
  20. package/dist/index.d.ts +1054 -53
  21. package/dist/lib/stack-app/apps/implementations/client-app-impl.js +5 -9
  22. package/dist/lib/stack-app/apps/implementations/client-app-impl.js.map +1 -1
  23. package/dist/lib/stack-app/apps/implementations/common.js +1 -1
  24. package/dist/lib/stack-app/apps/implementations/common.js.map +1 -1
  25. package/dist/lib/stack-app/users/index.js.map +1 -1
  26. package/package.json +4 -4
  27. package/dist/admin-app-impl-CTQhv9tV.d.ts +0 -395
  28. package/dist/admin-app-impl-DpyRKp1e.d.mts +0 -395
  29. package/dist/components/credential-sign-in.d.mts +0 -5
  30. package/dist/components/credential-sign-in.d.ts +0 -5
  31. package/dist/components/credential-sign-up.d.mts +0 -7
  32. package/dist/components/credential-sign-up.d.ts +0 -7
  33. package/dist/components/elements/form-warning.d.mts +0 -7
  34. package/dist/components/elements/form-warning.d.ts +0 -7
  35. package/dist/components/elements/maybe-full-page.d.mts +0 -11
  36. package/dist/components/elements/maybe-full-page.d.ts +0 -11
  37. package/dist/components/elements/separator-with-text.d.mts +0 -7
  38. package/dist/components/elements/separator-with-text.d.ts +0 -7
  39. package/dist/components/elements/sidebar-layout.d.mts +0 -19
  40. package/dist/components/elements/sidebar-layout.d.ts +0 -19
  41. package/dist/components/elements/ssr-layout-effect.d.mts +0 -8
  42. package/dist/components/elements/ssr-layout-effect.d.ts +0 -8
  43. package/dist/components/elements/user-avatar.d.mts +0 -13
  44. package/dist/components/elements/user-avatar.d.ts +0 -13
  45. package/dist/components/iframe-preventer.d.mts +0 -8
  46. package/dist/components/iframe-preventer.d.ts +0 -8
  47. package/dist/components/link.d.mts +0 -14
  48. package/dist/components/link.d.ts +0 -14
  49. package/dist/components/magic-link-sign-in.d.mts +0 -5
  50. package/dist/components/magic-link-sign-in.d.ts +0 -5
  51. package/dist/components/message-cards/known-error-message-card.d.mts +0 -9
  52. package/dist/components/message-cards/known-error-message-card.d.ts +0 -9
  53. package/dist/components/message-cards/message-card.d.mts +0 -14
  54. package/dist/components/message-cards/message-card.d.ts +0 -14
  55. package/dist/components/message-cards/predefined-message-card.d.mts +0 -8
  56. package/dist/components/message-cards/predefined-message-card.d.ts +0 -8
  57. package/dist/components/oauth-button-group.d.mts +0 -14
  58. package/dist/components/oauth-button-group.d.ts +0 -14
  59. package/dist/components/oauth-button.d.mts +0 -8
  60. package/dist/components/oauth-button.d.ts +0 -8
  61. package/dist/components/passkey-button.d.mts +0 -7
  62. package/dist/components/passkey-button.d.ts +0 -7
  63. package/dist/components/profile-image-editor.d.mts +0 -11
  64. package/dist/components/profile-image-editor.d.ts +0 -11
  65. package/dist/components/selected-team-switcher.d.mts +0 -33
  66. package/dist/components/selected-team-switcher.d.ts +0 -33
  67. package/dist/components/team-icon.d.mts +0 -30
  68. package/dist/components/team-icon.d.ts +0 -30
  69. package/dist/components/user-button.d.mts +0 -15
  70. package/dist/components/user-button.d.ts +0 -15
  71. package/dist/components-page/account-settings.d.mts +0 -24
  72. package/dist/components-page/account-settings.d.ts +0 -24
  73. package/dist/components-page/auth-page.d.mts +0 -24
  74. package/dist/components-page/auth-page.d.ts +0 -24
  75. package/dist/components-page/email-verification.d.mts +0 -8
  76. package/dist/components-page/email-verification.d.ts +0 -8
  77. package/dist/components-page/error-page.d.mts +0 -8
  78. package/dist/components-page/error-page.d.ts +0 -8
  79. package/dist/components-page/forgot-password.d.mts +0 -10
  80. package/dist/components-page/forgot-password.d.ts +0 -10
  81. package/dist/components-page/magic-link-callback.d.mts +0 -8
  82. package/dist/components-page/magic-link-callback.d.ts +0 -8
  83. package/dist/components-page/oauth-callback.d.mts +0 -7
  84. package/dist/components-page/oauth-callback.d.ts +0 -7
  85. package/dist/components-page/password-reset.d.mts +0 -12
  86. package/dist/components-page/password-reset.d.ts +0 -12
  87. package/dist/components-page/sign-in.d.mts +0 -10
  88. package/dist/components-page/sign-in.d.ts +0 -10
  89. package/dist/components-page/sign-out.d.mts +0 -7
  90. package/dist/components-page/sign-out.d.ts +0 -7
  91. package/dist/components-page/sign-up.d.mts +0 -11
  92. package/dist/components-page/sign-up.d.ts +0 -11
  93. package/dist/components-page/stack-handler.d.mts +0 -72
  94. package/dist/components-page/stack-handler.d.ts +0 -72
  95. package/dist/components-page/team-creation.d.mts +0 -7
  96. package/dist/components-page/team-creation.d.ts +0 -7
  97. package/dist/components-page/team-invitation.d.mts +0 -8
  98. package/dist/components-page/team-invitation.d.ts +0 -8
  99. package/dist/generated/global-css.d.mts +0 -3
  100. package/dist/generated/global-css.d.ts +0 -3
  101. package/dist/generated/quetzal-translations.d.mts +0 -4
  102. package/dist/generated/quetzal-translations.d.ts +0 -4
  103. package/dist/global.d.d.mts +0 -2
  104. package/dist/global.d.d.ts +0 -2
  105. package/dist/index-C7D6Vt7X.d.mts +0 -560
  106. package/dist/index-DQk7XJpU.d.ts +0 -560
  107. package/dist/lib/auth.d.mts +0 -33
  108. package/dist/lib/auth.d.ts +0 -33
  109. package/dist/lib/cookie.d.mts +0 -33
  110. package/dist/lib/cookie.d.ts +0 -33
  111. package/dist/lib/hooks.d.mts +0 -53
  112. package/dist/lib/hooks.d.ts +0 -53
  113. package/dist/lib/stack-app/api-keys/index.d.mts +0 -40
  114. package/dist/lib/stack-app/api-keys/index.d.ts +0 -40
  115. package/dist/lib/stack-app/apps/implementations/admin-app-impl.d.mts +0 -30
  116. package/dist/lib/stack-app/apps/implementations/admin-app-impl.d.ts +0 -30
  117. package/dist/lib/stack-app/apps/implementations/client-app-impl.d.mts +0 -30
  118. package/dist/lib/stack-app/apps/implementations/client-app-impl.d.ts +0 -30
  119. package/dist/lib/stack-app/apps/implementations/common.d.mts +0 -45
  120. package/dist/lib/stack-app/apps/implementations/common.d.ts +0 -45
  121. package/dist/lib/stack-app/apps/implementations/index.d.mts +0 -36
  122. package/dist/lib/stack-app/apps/implementations/index.d.ts +0 -36
  123. package/dist/lib/stack-app/apps/implementations/server-app-impl.d.mts +0 -30
  124. package/dist/lib/stack-app/apps/implementations/server-app-impl.d.ts +0 -30
  125. package/dist/lib/stack-app/apps/index.d.mts +0 -23
  126. package/dist/lib/stack-app/apps/index.d.ts +0 -23
  127. package/dist/lib/stack-app/apps/interfaces/admin-app.d.mts +0 -23
  128. package/dist/lib/stack-app/apps/interfaces/admin-app.d.ts +0 -23
  129. package/dist/lib/stack-app/apps/interfaces/client-app.d.mts +0 -23
  130. package/dist/lib/stack-app/apps/interfaces/client-app.d.ts +0 -23
  131. package/dist/lib/stack-app/apps/interfaces/server-app.d.mts +0 -23
  132. package/dist/lib/stack-app/apps/interfaces/server-app.d.ts +0 -23
  133. package/dist/lib/stack-app/common.d.mts +0 -63
  134. package/dist/lib/stack-app/common.d.ts +0 -63
  135. package/dist/lib/stack-app/connected-accounts/index.d.mts +0 -13
  136. package/dist/lib/stack-app/connected-accounts/index.d.ts +0 -13
  137. package/dist/lib/stack-app/contact-channels/index.d.mts +0 -38
  138. package/dist/lib/stack-app/contact-channels/index.d.ts +0 -38
  139. package/dist/lib/stack-app/email-templates/index.d.mts +0 -15
  140. package/dist/lib/stack-app/email-templates/index.d.ts +0 -15
  141. package/dist/lib/stack-app/index.d.mts +0 -23
  142. package/dist/lib/stack-app/index.d.ts +0 -23
  143. package/dist/lib/stack-app/permissions/index.d.mts +0 -21
  144. package/dist/lib/stack-app/permissions/index.d.ts +0 -21
  145. package/dist/lib/stack-app/project-configs/index.d.mts +0 -82
  146. package/dist/lib/stack-app/project-configs/index.d.ts +0 -82
  147. package/dist/lib/stack-app/projects/index.d.mts +0 -23
  148. package/dist/lib/stack-app/projects/index.d.ts +0 -23
  149. package/dist/lib/stack-app/teams/index.d.mts +0 -23
  150. package/dist/lib/stack-app/teams/index.d.ts +0 -23
  151. package/dist/lib/stack-app/users/index.d.mts +0 -23
  152. package/dist/lib/stack-app/users/index.d.ts +0 -23
  153. package/dist/lib/translations.d.mts +0 -5
  154. package/dist/lib/translations.d.ts +0 -5
  155. package/dist/providers/stack-provider-client.d.mts +0 -39
  156. package/dist/providers/stack-provider-client.d.ts +0 -39
  157. package/dist/providers/stack-provider.d.mts +0 -42
  158. package/dist/providers/stack-provider.d.ts +0 -42
  159. package/dist/providers/theme-provider.d.mts +0 -40
  160. package/dist/providers/theme-provider.d.ts +0 -40
  161. package/dist/providers/translation-provider-client.d.mts +0 -14
  162. package/dist/providers/translation-provider-client.d.ts +0 -14
  163. package/dist/providers/translation-provider.d.mts +0 -10
  164. package/dist/providers/translation-provider.d.ts +0 -10
  165. package/dist/utils/browser-script.d.mts +0 -7
  166. package/dist/utils/browser-script.d.ts +0 -7
  167. package/dist/utils/constants.d.mts +0 -79
  168. package/dist/utils/constants.d.ts +0 -79
  169. package/dist/utils/url.d.mts +0 -3
  170. 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,8 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare function OAuthButton({ provider, type, }: {
4
- provider: string;
5
- type: 'sign-in' | 'sign-up';
6
- }): react_jsx_runtime.JSX.Element;
7
-
8
- export { OAuthButton };
@@ -1,8 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare function OAuthButton({ provider, type, }: {
4
- provider: string;
5
- type: 'sign-in' | 'sign-up';
6
- }): react_jsx_runtime.JSX.Element;
7
-
8
- export { OAuthButton };
@@ -1,7 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare function PasskeyButton({ type, }: {
4
- type: 'sign-in' | 'sign-up';
5
- }): react_jsx_runtime.JSX.Element;
6
-
7
- export { PasskeyButton };
@@ -1,7 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare function PasskeyButton({ type, }: {
4
- type: 'sign-in' | 'sign-up';
5
- }): react_jsx_runtime.JSX.Element;
6
-
7
- export { PasskeyButton };
@@ -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,8 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare function EmailVerification(props: {
4
- searchParams?: Record<string, string>;
5
- fullPage?: boolean;
6
- }): react_jsx_runtime.JSX.Element;
7
-
8
- export { EmailVerification };
@@ -1,8 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare function EmailVerification(props: {
4
- searchParams?: Record<string, string>;
5
- fullPage?: boolean;
6
- }): react_jsx_runtime.JSX.Element;
7
-
8
- export { EmailVerification };
@@ -1,8 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare function ErrorPage(props: {
4
- fullPage?: boolean;
5
- searchParams: Record<string, string>;
6
- }): react_jsx_runtime.JSX.Element;
7
-
8
- export { ErrorPage };
@@ -1,8 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare function ErrorPage(props: {
4
- fullPage?: boolean;
5
- searchParams: Record<string, string>;
6
- }): react_jsx_runtime.JSX.Element;
7
-
8
- export { ErrorPage };
@@ -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,8 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare function MagicLinkCallback(props: {
4
- searchParams?: Record<string, string>;
5
- fullPage?: boolean;
6
- }): react_jsx_runtime.JSX.Element;
7
-
8
- export { MagicLinkCallback };
@@ -1,8 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare function MagicLinkCallback(props: {
4
- searchParams?: Record<string, string>;
5
- fullPage?: boolean;
6
- }): react_jsx_runtime.JSX.Element;
7
-
8
- export { MagicLinkCallback };
@@ -1,7 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare function OAuthCallback(props: {
4
- fullPage?: boolean;
5
- }): react_jsx_runtime.JSX.Element;
6
-
7
- export { OAuthCallback };
@@ -1,7 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare function OAuthCallback(props: {
4
- fullPage?: boolean;
5
- }): react_jsx_runtime.JSX.Element;
6
-
7
- export { OAuthCallback };
@@ -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,7 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare function SignOut(props: {
4
- fullPage?: boolean;
5
- }): react_jsx_runtime.JSX.Element;
6
-
7
- export { SignOut };
@@ -1,7 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- declare function SignOut(props: {
4
- fullPage?: boolean;
5
- }): react_jsx_runtime.JSX.Element;
6
-
7
- export { SignOut };
@@ -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 };