@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.
- package/dist/components/card-frame.d.ts +1 -0
- package/dist/components/credential-sign-in.d.ts +1 -0
- package/dist/components/credential-sign-up.d.ts +1 -0
- package/dist/components/forgot-password.d.ts +1 -0
- package/dist/components/form-warning.d.ts +1 -0
- package/dist/components/message-card.d.ts +1 -0
- package/dist/components/oauth-button.d.ts +1 -0
- package/dist/components/oauth-group.d.ts +1 -0
- package/dist/components/password-field.d.ts +1 -0
- package/dist/components/password-reset-inner.d.ts +1 -0
- package/dist/components/redirect-message-card.d.ts +1 -0
- package/dist/components/separator-with-text.d.ts +1 -0
- package/dist/components/user-avatar.d.ts +1 -0
- package/dist/components/user-button.d.ts +1 -0
- package/dist/components-core/avatar.d.ts +1 -0
- package/dist/components-core/button.d.ts +1 -0
- package/dist/components-core/card.d.ts +1 -0
- package/dist/components-core/collapsible.d.ts +1 -0
- package/dist/components-core/container.d.ts +1 -0
- package/dist/components-core/dropdown.d.ts +1 -0
- package/dist/components-core/index.d.ts +1 -0
- package/dist/components-core/input.d.ts +1 -0
- package/dist/components-core/label.d.ts +1 -0
- package/dist/components-core/link.d.ts +1 -0
- package/dist/components-core/loading-indicator.d.ts +1 -0
- package/dist/components-core/popover.d.ts +1 -0
- package/dist/components-core/separator.d.ts +1 -0
- package/dist/components-core/text.d.ts +1 -0
- package/dist/components-core-joy/button.d.ts +1 -0
- package/dist/components-core-joy/input.d.ts +1 -0
- package/dist/components-core-joy/separator.d.ts +1 -0
- package/dist/components-core-joy/text.d.ts +1 -0
- package/dist/components-page/account-settings.d.ts +1 -0
- package/dist/components-page/email-verification.d.ts +1 -0
- package/dist/components-page/forgot-password.d.ts +1 -0
- package/dist/components-page/oauth-callback.d.ts +1 -0
- package/dist/components-page/password-reset.d.ts +1 -0
- package/dist/components-page/sign-in.d.ts +1 -0
- package/dist/components-page/sign-out.d.ts +1 -0
- package/dist/components-page/sign-up.d.ts +1 -0
- package/dist/components-page/stack-handler.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/joy.d.ts +2 -0
- package/dist/joy.d.ts.map +1 -0
- package/dist/joy.js +1 -0
- package/dist/lib/auth.d.ts +1 -0
- package/dist/lib/cookie.d.ts +1 -0
- package/dist/lib/hooks.d.ts +1 -0
- package/dist/lib/stack-app.d.ts +1 -0
- package/dist/providers/component-provider.d.ts +1 -0
- package/dist/providers/design-provider.d.ts +1 -0
- package/dist/providers/joy-provider.d.ts +1 -0
- package/dist/providers/stack-provider-client.d.ts +1 -0
- package/dist/providers/stack-provider.d.ts +1 -0
- package/dist/providers/styled-components-registry.d.ts +1 -0
- package/dist/providers/theme-provider.d.ts +1 -0
- package/dist/utils/constants.d.ts +1 -0
- package/dist/utils/email.d.ts +1 -0
- package/dist/utils/next.d.ts +1 -0
- package/dist/utils/url.d.ts +1 -0
- 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,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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
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
|
package/dist/index.d.ts.map
CHANGED
|
@@ -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;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4B,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 @@
|
|
|
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';
|
package/dist/lib/auth.d.ts
CHANGED
|
@@ -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
|
package/dist/lib/cookie.d.ts
CHANGED
package/dist/lib/hooks.d.ts
CHANGED
package/dist/lib/stack-app.d.ts
CHANGED
|
@@ -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
|
package/dist/utils/email.d.ts
CHANGED
package/dist/utils/next.d.ts
CHANGED
package/dist/utils/url.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackframe/stack",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.2",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"
|
|
6
|
-
|
|
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
|
],
|