@daltonr/pathwrite-solid 0.13.0 → 0.13.1
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/README.md +2 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ import { PathShell } from "@daltonr/pathwrite-solid";
|
|
|
35
35
|
import "@daltonr/pathwrite-solid/styles.css";
|
|
36
36
|
import type { PathDefinition, PathData } from "@daltonr/pathwrite-core";
|
|
37
37
|
|
|
38
|
-
interface SignupData extends PathData {
|
|
38
|
+
export interface SignupData extends PathData {
|
|
39
39
|
name: string;
|
|
40
40
|
email: string;
|
|
41
41
|
}
|
|
@@ -66,6 +66,7 @@ export function SignupFlow() {
|
|
|
66
66
|
```tsx
|
|
67
67
|
// DetailsStep.tsx
|
|
68
68
|
import { usePathContext } from "@daltonr/pathwrite-solid";
|
|
69
|
+
import type { SignupData } from "./SignupFlow";
|
|
69
70
|
|
|
70
71
|
export function DetailsStep() {
|
|
71
72
|
const { snapshot, setData } = usePathContext<SignupData>();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daltonr/pathwrite-solid",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "SolidJS adapter for @daltonr/pathwrite-core — reactive usePath() composable and optional PathShell component.",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"solid-js": ">=1.8.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@daltonr/pathwrite-core": "^0.13.
|
|
50
|
+
"@daltonr/pathwrite-core": "^0.13.1"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"solid-js": "^1.9.0"
|