@slashid/jump-page 0.0.8-package.5 → 0.0.8-package.8
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/package/main.js +50 -54
- package/package/main.js.map +1 -1
- package/package/src/components/card/card.component.d.ts +2 -1
- package/package/src/components/flow/flow.error.d.ts +2 -1
- package/package/src/components/flow/flow.progress.d.ts +3 -1
- package/package/src/components/flow/flow.success.d.ts +3 -1
- package/package/src/components/text/use-i18n.d.ts +1 -1
- package/package.json +8 -7
- package/dist/_astro/app.18b98bb6.js +0 -40
- package/dist/_astro/client.a5ffbec0.js +0 -24
- package/dist/_astro/index.03be2d59.js +0 -9
- package/dist/_astro/sdk.080ae68e.css +0 -1
- package/dist/_astro/sdk.35b1e93e.css +0 -1
- package/dist/favicon.png +0 -0
- package/dist/sdk.html +0 -7
- package/package/dist/_astro/app.18b98bb6.d.ts +0 -2
- package/package/dist/_astro/client.a5ffbec0.d.ts +0 -7
- package/package/dist/_astro/index.03be2d59.d.ts +0 -3
|
@@ -3,5 +3,6 @@ export type Props = {
|
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
footer?: React.ReactNode;
|
|
5
5
|
header?: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
6
7
|
};
|
|
7
|
-
export declare function Card({ children, header, footer
|
|
8
|
+
export declare function Card({ children, className, header, footer }: Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { FlowType } from "./flow.types";
|
|
2
|
+
import type { RedirectUriDiscoveredEvent } from "@slashid/slashid";
|
|
2
3
|
export type Props = {
|
|
3
4
|
flowType: FlowType;
|
|
4
5
|
onSuccess: () => void;
|
|
5
6
|
onError: ({ error }: {
|
|
6
7
|
error: Error;
|
|
7
8
|
}) => void;
|
|
9
|
+
onRedirectDiscovered?: (event: RedirectUriDiscoveredEvent) => void;
|
|
8
10
|
};
|
|
9
|
-
export declare function Progress({ onSuccess, onError, flowType }: Props): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare function Progress({ onSuccess, onError, flowType, onRedirectDiscovered }: Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function useI18n(): (key: "footer.text" | "recover.password.title" | "recover.password.details" | "recover.password.input.password.label" | "recover.password.input.confirmPassword.label" | "recover.password.input.placeholder" | "recover.password.submit" | "recover.password.validation.passwordsDoNotMatch" | "recover.password.validation.length" | "recover.password.validation.password_variants" | "recover.password.validation.admin_variants" | "recover.password.validation.user_variants" | "recover.password.validation.alphanumeric_sequences_1" | "recover.password.validation.alphanumeric_sequences_2" | "recover.password.validation.numeric_sequences_ascending" | "recover.password.validation.numeric_subsequences_ascending" | "recover.password.validation.numeric_sequences_descending" | "recover.password.validation.numeric_subsequences_descending" | "recover.password.validation.common_password_xkcd" | "
|
|
1
|
+
export declare function useI18n(): (key: "footer.text" | "initial.title" | "initial.details" | "recover.password.title" | "recover.password.details" | "recover.password.input.password.label" | "recover.password.input.confirmPassword.label" | "recover.password.input.placeholder" | "recover.password.submit" | "recover.password.validation.passwordsDoNotMatch" | "recover.password.validation.length" | "recover.password.validation.password_variants" | "recover.password.validation.admin_variants" | "recover.password.validation.user_variants" | "recover.password.validation.alphanumeric_sequences_1" | "recover.password.validation.alphanumeric_sequences_2" | "recover.password.validation.numeric_sequences_ascending" | "recover.password.validation.numeric_subsequences_ascending" | "recover.password.validation.numeric_sequences_descending" | "recover.password.validation.numeric_subsequences_descending" | "recover.password.validation.common_password_xkcd" | "success.title" | "success.details" | "error.title" | "error.detail") => string;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slashid/jump-page",
|
|
3
|
-
"version": "0.0.8-package.
|
|
3
|
+
"version": "0.0.8-package.8",
|
|
4
4
|
"homepage": "https://slashid.dev",
|
|
5
5
|
"author": "SlashID",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"private": false,
|
|
8
8
|
"publishConfig": {
|
|
9
|
-
"access": "
|
|
9
|
+
"access": "public"
|
|
10
10
|
},
|
|
11
11
|
"type": "module",
|
|
12
12
|
"types": "package/src/main.d.ts",
|
|
@@ -44,25 +44,26 @@
|
|
|
44
44
|
"@astrojs/check": "^0.3.1",
|
|
45
45
|
"@astrojs/react": "^3.0.5",
|
|
46
46
|
"@sentry/react": "^7.81.1",
|
|
47
|
-
"@slashid/react-primitives": "0.
|
|
47
|
+
"@slashid/react-primitives": "0.3.0",
|
|
48
48
|
"@types/react": "^18.0.21",
|
|
49
49
|
"@types/react-dom": "^18.0.6",
|
|
50
50
|
"@vitejs/plugin-react": "^4.2.1",
|
|
51
51
|
"astro": "^3.5.5",
|
|
52
|
+
"clsx": "^2.1.0",
|
|
52
53
|
"commander": "^11.1.0",
|
|
53
54
|
"typescript": "^5.3.3",
|
|
54
55
|
"vite": "^5.2.2"
|
|
55
56
|
},
|
|
56
57
|
"peerDependencies": {
|
|
58
|
+
"@slashid/slashid": "^3.20.2",
|
|
57
59
|
"react": "^18.2.0",
|
|
58
|
-
"react-dom": "^18.2.0"
|
|
59
|
-
"@slashid/slashid": "^3.20.2"
|
|
60
|
+
"react-dom": "^18.2.0"
|
|
60
61
|
},
|
|
61
62
|
"devDependencies": {
|
|
63
|
+
"@slashid/slashid": "3.21.0-rc.1",
|
|
62
64
|
"@vanilla-extract/css": "^1.9.2",
|
|
63
65
|
"@vanilla-extract/vite-plugin": "^4.0.6",
|
|
64
66
|
"react": "^18.2.0",
|
|
65
|
-
"react-dom": "^18.2.0"
|
|
66
|
-
"@slashid/slashid": "^3.20.2"
|
|
67
|
+
"react-dom": "^18.2.0"
|
|
67
68
|
}
|
|
68
69
|
}
|