@stackframe/stack 2.2.1 → 2.2.2

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 (63) hide show
  1. package/dist/components/card-frame.d.ts +1 -0
  2. package/dist/components/credential-sign-in.d.ts +1 -0
  3. package/dist/components/credential-sign-up.d.ts +1 -0
  4. package/dist/components/forgot-password.d.ts +1 -0
  5. package/dist/components/form-warning.d.ts +1 -0
  6. package/dist/components/message-card.d.ts +1 -0
  7. package/dist/components/oauth-button.d.ts +1 -0
  8. package/dist/components/oauth-group.d.ts +1 -0
  9. package/dist/components/password-field.d.ts +1 -0
  10. package/dist/components/password-reset-inner.d.ts +1 -0
  11. package/dist/components/redirect-message-card.d.ts +1 -0
  12. package/dist/components/separator-with-text.d.ts +1 -0
  13. package/dist/components/user-avatar.d.ts +1 -0
  14. package/dist/components/user-button.d.ts +1 -0
  15. package/dist/components-core/avatar.d.ts +1 -0
  16. package/dist/components-core/button.d.ts +1 -0
  17. package/dist/components-core/card.d.ts +1 -0
  18. package/dist/components-core/collapsible.d.ts +1 -0
  19. package/dist/components-core/container.d.ts +1 -0
  20. package/dist/components-core/dropdown.d.ts +1 -0
  21. package/dist/components-core/index.d.ts +1 -0
  22. package/dist/components-core/input.d.ts +1 -0
  23. package/dist/components-core/label.d.ts +1 -0
  24. package/dist/components-core/link.d.ts +1 -0
  25. package/dist/components-core/loading-indicator.d.ts +1 -0
  26. package/dist/components-core/popover.d.ts +1 -0
  27. package/dist/components-core/separator.d.ts +1 -0
  28. package/dist/components-core/text.d.ts +1 -0
  29. package/dist/components-core-joy/button.d.ts +1 -0
  30. package/dist/components-core-joy/input.d.ts +1 -0
  31. package/dist/components-core-joy/separator.d.ts +1 -0
  32. package/dist/components-core-joy/text.d.ts +1 -0
  33. package/dist/components-page/account-settings.d.ts +1 -0
  34. package/dist/components-page/email-verification.d.ts +1 -0
  35. package/dist/components-page/forgot-password.d.ts +1 -0
  36. package/dist/components-page/oauth-callback.d.ts +1 -0
  37. package/dist/components-page/password-reset.d.ts +1 -0
  38. package/dist/components-page/sign-in.d.ts +1 -0
  39. package/dist/components-page/sign-out.d.ts +1 -0
  40. package/dist/components-page/sign-up.d.ts +1 -0
  41. package/dist/components-page/stack-handler.d.ts +1 -0
  42. package/dist/index.d.ts +1 -1
  43. package/dist/index.d.ts.map +1 -1
  44. package/dist/index.js +0 -1
  45. package/dist/joy.d.ts +2 -0
  46. package/dist/joy.d.ts.map +1 -0
  47. package/dist/joy.js +1 -0
  48. package/dist/lib/auth.d.ts +1 -0
  49. package/dist/lib/cookie.d.ts +1 -0
  50. package/dist/lib/hooks.d.ts +1 -0
  51. package/dist/lib/stack-app.d.ts +1 -0
  52. package/dist/providers/component-provider.d.ts +1 -0
  53. package/dist/providers/design-provider.d.ts +1 -0
  54. package/dist/providers/joy-provider.d.ts +1 -0
  55. package/dist/providers/stack-provider-client.d.ts +1 -0
  56. package/dist/providers/stack-provider.d.ts +1 -0
  57. package/dist/providers/styled-components-registry.d.ts +1 -0
  58. package/dist/providers/theme-provider.d.ts +1 -0
  59. package/dist/utils/constants.d.ts +1 -0
  60. package/dist/utils/email.d.ts +1 -0
  61. package/dist/utils/next.d.ts +1 -0
  62. package/dist/utils/url.d.ts +1 -0
  63. package/package.json +11 -3
@@ -4,3 +4,4 @@ export default function CardFrame({ children, fullPage }: {
4
4
  children: React.ReactNode;
5
5
  fullPage?: boolean;
6
6
  }): string | number | boolean | Iterable<React.ReactNode> | Promise<React.AwaitedReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
7
+ //# sourceMappingURL=card-frame.d.ts.map
@@ -1 +1,2 @@
1
1
  export default function CredentialSignIn(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=credential-sign-in.d.ts.map
@@ -1 +1,2 @@
1
1
  export default function CredentialSignUp(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=credential-sign-up.d.ts.map
@@ -1,3 +1,4 @@
1
1
  export default function ForgotPassword({ onSent }: {
2
2
  onSent?: () => void;
3
3
  }): import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=forgot-password.d.ts.map
@@ -1,3 +1,4 @@
1
1
  export default function FormWarningText({ text }: {
2
2
  text?: string;
3
3
  }): import("react/jsx-runtime").JSX.Element | null;
4
+ //# sourceMappingURL=form-warning.d.ts.map
@@ -4,3 +4,4 @@ export default function MessageCard({ children, title, fullPage }: {
4
4
  title: string;
5
5
  fullPage?: boolean;
6
6
  }): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=message-card.d.ts.map
@@ -2,3 +2,4 @@ export default function OAuthButton({ provider, type, }: {
2
2
  provider: string;
3
3
  type: 'signin' | 'signup';
4
4
  }): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=oauth-button.d.ts.map
@@ -1,3 +1,4 @@
1
1
  export default function OAuthGroup({ type, }: {
2
2
  type: 'signin' | 'signup';
3
3
  }): import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=oauth-group.d.ts.map
@@ -1,3 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  declare const PasswordField: import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & import("react").RefAttributes<HTMLInputElement>>;
3
3
  export default PasswordField;
4
+ //# sourceMappingURL=password-field.d.ts.map
@@ -2,3 +2,4 @@ export default function PasswordResetInner({ code, fullPage }: {
2
2
  code: string;
3
3
  fullPage?: boolean;
4
4
  }): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=password-reset-inner.d.ts.map
@@ -2,3 +2,4 @@ export default function RedirectMessageCard({ type, fullPage, }: {
2
2
  type: 'signedIn' | 'signedOut' | 'emailSent' | 'passwordReset' | 'emailVerified';
3
3
  fullPage?: boolean;
4
4
  }): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=redirect-message-card.d.ts.map
@@ -1,3 +1,4 @@
1
1
  export default function SeparatorWithText({ text }: {
2
2
  text: string;
3
3
  }): import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=separator-with-text.d.ts.map
@@ -1,3 +1,4 @@
1
1
  export default function UserAvatar(props: {
2
2
  size?: number;
3
3
  }): import("react/jsx-runtime").JSX.Element | null;
4
+ //# sourceMappingURL=user-avatar.d.ts.map
@@ -2,3 +2,4 @@ export default function UserButton({ showUserInfo, showColorMode, }: {
2
2
  showUserInfo?: boolean;
3
3
  showColorMode?: boolean;
4
4
  }): import("react/jsx-runtime").JSX.Element | null;
5
+ //# sourceMappingURL=user-button.d.ts.map
@@ -4,3 +4,4 @@ declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.Avata
4
4
  declare const AvatarImage: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React.RefAttributes<HTMLImageElement>, "ref"> & React.RefAttributes<HTMLImageElement>>;
5
5
  declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
6
6
  export { Avatar, AvatarImage, AvatarFallback };
7
+ //# sourceMappingURL=avatar.d.ts.map
@@ -8,3 +8,4 @@ export type ButtonProps = {
8
8
  } & Omit<React.HTMLProps<HTMLButtonElement>, 'size' | 'type' | 'onClick'>;
9
9
  declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
10
10
  export { Button, };
11
+ //# sourceMappingURL=button.d.ts.map
@@ -4,3 +4,4 @@ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<H
4
4
  declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
5
5
  declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
6
6
  export { Card, CardHeader, CardFooter, CardContent, };
7
+ //# sourceMappingURL=card.d.ts.map
@@ -4,3 +4,4 @@ declare const Collapsible: import("react").ForwardRefExoticComponent<Collapsible
4
4
  declare const CollapsibleTrigger: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
5
5
  declare const CollapsibleContent: import("react").ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleContentProps & import("react").RefAttributes<HTMLDivElement>>;
6
6
  export { Collapsible, CollapsibleTrigger, CollapsibleContent };
7
+ //# sourceMappingURL=collapsible.d.ts.map
@@ -4,3 +4,4 @@ type ContainerProps = {
4
4
  } & Omit<React.HTMLProps<HTMLDivElement>, 'size'>;
5
5
  export declare function Container({ size, ...props }: ContainerProps): import("react/jsx-runtime").JSX.Element;
6
6
  export {};
7
+ //# sourceMappingURL=container.d.ts.map
@@ -11,3 +11,4 @@ declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMe
11
11
  } & React.RefAttributes<HTMLDivElement>>;
12
12
  declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
13
  export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, };
14
+ //# sourceMappingURL=dropdown.d.ts.map
@@ -39,3 +39,4 @@ export declare const CollapsibleContent: React.ForwardRefExoticComponent<Omit<im
39
39
  export declare const CardHeader: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
40
40
  export declare const CardContent: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
41
41
  export declare const CardFooter: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
42
+ //# sourceMappingURL=index.d.ts.map
@@ -2,3 +2,4 @@ import React from "react";
2
2
  type InputProps = React.InputHTMLAttributes<HTMLInputElement> & Pick<React.HTMLProps<HTMLInputElement>, 'ref'>;
3
3
  declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
4
4
  export { Input };
5
+ //# sourceMappingURL=input.d.ts.map
@@ -2,3 +2,4 @@ import React from "react";
2
2
  import * as LabelPrimitive from "@radix-ui/react-label";
3
3
  declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
4
4
  export { Label };
5
+ //# sourceMappingURL=label.d.ts.map
@@ -7,3 +7,4 @@ type LinkProps = {
7
7
  } & Omit<React.HTMLProps<HTMLLinkElement>, 'size' | 'href'>;
8
8
  export declare function Link({ size, href, style, ...props }: LinkProps): import("react/jsx-runtime").JSX.Element;
9
9
  export {};
10
+ //# sourceMappingURL=link.d.ts.map
@@ -4,3 +4,4 @@ declare const LoadingIndicator: import("styled-components").IStyledComponent<"we
4
4
  size?: number | undefined;
5
5
  }>>;
6
6
  export default LoadingIndicator;
7
+ //# sourceMappingURL=loading-indicator.d.ts.map
@@ -4,3 +4,4 @@ declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
4
4
  declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
5
  declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
6
  export { Popover, PopoverTrigger, PopoverContent };
7
+ //# sourceMappingURL=popover.d.ts.map
@@ -2,3 +2,4 @@ import React from 'react';
2
2
  import * as SeparatorPrimitive from '@radix-ui/react-separator';
3
3
  declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
4
  export { Separator };
5
+ //# sourceMappingURL=separator.d.ts.map
@@ -6,3 +6,4 @@ type TextProps = {
6
6
  } & Omit<React.HTMLProps<HTMLParagraphElement>, 'size'>;
7
7
  declare const Text: React.ForwardRefExoticComponent<Omit<TextProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
8
8
  export { Text };
9
+ //# sourceMappingURL=text.d.ts.map
@@ -1,2 +1,3 @@
1
1
  import React from "react";
2
2
  export declare const Button: React.ForwardRefExoticComponent<Omit<Omit<Omit<import("../components-core/button").ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
3
+ //# sourceMappingURL=button.d.ts.map
@@ -1,2 +1,3 @@
1
1
  import React from 'react';
2
2
  export declare const Input: React.ForwardRefExoticComponent<Omit<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement> & Pick<React.HTMLProps<HTMLInputElement>, "ref">, "ref"> & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
3
+ //# sourceMappingURL=input.d.ts.map
@@ -1,2 +1,3 @@
1
1
  import React from "react";
2
2
  export declare const Separator: React.ForwardRefExoticComponent<Omit<Omit<Omit<import("@radix-ui/react-separator").SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLHRElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
3
+ //# sourceMappingURL=separator.d.ts.map
@@ -4,3 +4,4 @@ export declare const Text: React.ForwardRefExoticComponent<Omit<Omit<Omit<{
4
4
  as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | undefined;
5
5
  size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
6
6
  } & Omit<React.HTMLProps<HTMLParagraphElement>, "size">, "ref"> & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
7
+ //# sourceMappingURL=text.d.ts.map
@@ -1,3 +1,4 @@
1
1
  export default function AccountSettings({ fullPage }: {
2
2
  fullPage?: boolean;
3
3
  }): import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=account-settings.d.ts.map
@@ -2,3 +2,4 @@ export default function EmailVerification({ searchParams: { code, }, fullPage, }
2
2
  searchParams?: Record<string, string>;
3
3
  fullPage?: boolean;
4
4
  }): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=email-verification.d.ts.map
@@ -1,3 +1,4 @@
1
1
  export default function ForgotPassword({ fullPage }: {
2
2
  fullPage?: boolean;
3
3
  }): import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=forgot-password.d.ts.map
@@ -1 +1,2 @@
1
1
  export default function OAuthCallback(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=oauth-callback.d.ts.map
@@ -2,3 +2,4 @@ export default function PasswordReset({ searchParams, fullPage, }: {
2
2
  searchParams?: Record<string, string>;
3
3
  fullPage?: boolean;
4
4
  }): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=password-reset.d.ts.map
@@ -1,3 +1,4 @@
1
1
  export default function SignIn({ fullPage }: {
2
2
  fullPage?: boolean;
3
3
  }): import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=sign-in.d.ts.map
@@ -1 +1,2 @@
1
1
  export default function Signout(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=sign-out.d.ts.map
@@ -1,3 +1,4 @@
1
1
  export default function SignUp({ fullPage }: {
2
2
  fullPage?: boolean;
3
3
  }): import("react/jsx-runtime").JSX.Element;
4
+ //# sourceMappingURL=sign-up.d.ts.map
@@ -6,3 +6,4 @@ export default function StackHandler<HasTokenStore extends boolean>({ app, param
6
6
  };
7
7
  searchParams?: Record<string, string>;
8
8
  }): Promise<import("react/jsx-runtime").JSX.Element>;
9
+ //# sourceMappingURL=stack-handler.d.ts.map
package/dist/index.d.ts CHANGED
@@ -18,5 +18,5 @@ export { default as AccountSettings } from "./components-page/account-settings";
18
18
  export { useDesign } from './providers/design-provider';
19
19
  export { useComponents } from './providers/component-provider';
20
20
  export { StackTheme, ThemeConfig } from './providers/theme-provider';
21
- export { StackJoyTheme } from './providers/joy-provider';
22
21
  export * from './components-core';
22
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAEnE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAEhF,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACpF,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAEnE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAEhF,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACrE,cAAc,mBAAmB,CAAC"}
package/dist/index.js CHANGED
@@ -18,5 +18,4 @@ export { default as AccountSettings } from "./components-page/account-settings";
18
18
  export { useDesign } from './providers/design-provider';
19
19
  export { useComponents } from './providers/component-provider';
20
20
  export { StackTheme } from './providers/theme-provider';
21
- export { StackJoyTheme } from './providers/joy-provider';
22
21
  export * from './components-core';
package/dist/joy.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export { StackJoyTheme } from './providers/joy-provider';
2
+ //# sourceMappingURL=joy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"joy.d.ts","sourceRoot":"","sources":["../src/joy.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC"}
package/dist/joy.js ADDED
@@ -0,0 +1 @@
1
+ export { StackJoyTheme } from './providers/joy-provider';
@@ -5,3 +5,4 @@ export declare function signInWithOAuth(iface: StackClientInterface, { provider,
5
5
  redirectUrl?: string;
6
6
  }): Promise<void>;
7
7
  export declare function callOAuthCallback(iface: StackClientInterface, tokenStore: TokenStore, redirectUrl: string): Promise<import("oauth4webapi").OAuth2TokenEndpointResponse | null>;
8
+ //# sourceMappingURL=auth.d.ts.map
@@ -10,3 +10,4 @@ export declare function getVerifierAndState(): {
10
10
  codeVerifier: string | null;
11
11
  state: string | null;
12
12
  };
13
+ //# sourceMappingURL=cookie.d.ts.map
@@ -19,3 +19,4 @@ export declare function useUser(options?: GetUserOptions): CurrentUser | null;
19
19
  export declare function useStackApp<ProjectId extends string>(options?: {
20
20
  projectIdMustMatch?: ProjectId;
21
21
  }): StackClientApp<true, ProjectId>;
22
+ //# sourceMappingURL=hooks.d.ts.map
@@ -210,3 +210,4 @@ type StackAdminAppConstructor = {
210
210
  };
211
211
  export declare const StackAdminApp: StackAdminAppConstructor;
212
212
  export {};
213
+ //# sourceMappingURL=stack-app.d.ts.map
@@ -79,3 +79,4 @@ export declare function useComponents(): {
79
79
  export declare function StackComponentProvider(props: {
80
80
  children?: React.ReactNode;
81
81
  } & ComponentConfig): import("react/jsx-runtime").JSX.Element;
82
+ //# sourceMappingURL=component-provider.d.ts.map
@@ -37,3 +37,4 @@ export declare function StackDesignProvider(props: {
37
37
  } & DesignConfig): import("react/jsx-runtime").JSX.Element | null;
38
38
  export declare function useDesign(): DesignContextValue;
39
39
  export {};
40
+ //# sourceMappingURL=design-provider.d.ts.map
@@ -14,3 +14,4 @@ export declare function StackJoyTheme(props: {
14
14
  theme?: ThemeConfig;
15
15
  children?: React.ReactNode;
16
16
  }): import("react/jsx-runtime").JSX.Element;
17
+ //# sourceMappingURL=joy-provider.d.ts.map
@@ -7,3 +7,4 @@ export declare function StackProviderClient(props: {
7
7
  appJsonPromise: Promise<StackClientAppJson<true, string>>;
8
8
  children?: React.ReactNode;
9
9
  }): import("react/jsx-runtime").JSX.Element;
10
+ //# sourceMappingURL=stack-provider-client.d.ts.map
@@ -4,3 +4,4 @@ export default function StackProvider({ children, app, }: {
4
4
  children: React.ReactNode;
5
5
  app: StackClientApp<true>;
6
6
  }): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=stack-provider.d.ts.map
@@ -2,3 +2,4 @@ import React from 'react';
2
2
  export default function StyledComponentsRegistry({ children, }: {
3
3
  children: React.ReactNode;
4
4
  }): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=styled-components-registry.d.ts.map
@@ -8,3 +8,4 @@ export declare function StackTheme({ theme, children, colorModeConfig, }: {
8
8
  theme?: DesignConfig & ComponentConfig;
9
9
  colorModeConfig?: Omit<ComponentProps<typeof NextThemeProvider>, "themes" | "children">;
10
10
  }): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=theme-provider.d.ts.map
@@ -44,3 +44,4 @@ export declare const DEFAULT_COLORS: {
44
44
  readonly neutralColor: "#e4e4e7";
45
45
  };
46
46
  };
47
+ //# sourceMappingURL=constants.d.ts.map
@@ -1 +1,2 @@
1
1
  export declare function validateEmail(email: string): RegExpMatchArray | null;
2
+ //# sourceMappingURL=email.d.ts.map
@@ -1 +1,2 @@
1
1
  export declare function isClient(): boolean;
2
+ //# sourceMappingURL=next.d.ts.map
@@ -1,2 +1,3 @@
1
1
  export declare function autoRedirect(): void;
2
2
  export declare function constructRedirectUrl(redirectUrl: URL | string | undefined): string;
3
+ //# sourceMappingURL=url.d.ts.map
package/package.json CHANGED
@@ -1,9 +1,17 @@
1
1
  {
2
2
  "name": "@stackframe/stack",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "type": "module",
5
- "types": "./dist/index.d.ts",
6
- "main": "./dist/index.js",
5
+ "exports": {
6
+ ".": {
7
+ "types": "./dist/index.d.ts",
8
+ "default": "./dist/index.js"
9
+ },
10
+ "./joy": {
11
+ "types": "./dist/joy.d.ts",
12
+ "default": "./dist/joy.js"
13
+ }
14
+ },
7
15
  "files": [
8
16
  "dist"
9
17
  ],