@wardic/solid 3.0.0-next.2 → 3.0.0-next.3
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 +3 -3
- package/dist/browser/v1/index.js +1 -1
- package/dist/server/v1/index.js +1 -1
- package/dist/solid/v1/index.d.ts +1 -1
- package/dist/solid/v1/index.jsx +1 -1
- package/package.json +7 -8
- package/src/v1/index.tsx +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ Wardic's hooks for [Solid](https://www.solidjs.com) 2: elements that animate, ge
|
|
|
5
5
|
> **This is a prerelease, on npm's `next` tag.** It's built from the [`solid-next`](https://github.com/wardiclabs/wardic/tree/solid-next) branch so you can try the hooks, and its API may still change. The stable 2.x, with Motion's components, is on `latest`. Tell us how it goes in [the hooks' discussion](https://github.com/wardiclabs/wardic/discussions/966).
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
npm install @wardic/solid@next
|
|
8
|
+
npm install @wardic/solid@next
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
```tsx
|
|
@@ -25,9 +25,9 @@ export function Card() {
|
|
|
25
25
|
- **Scopes:** `createConfigScope`, `createLayoutGroup` and `createWardicScope`, each with `within(fn)`.
|
|
26
26
|
- **Features at once:** `makeWard({ features })` in a module of its own, for wards that shouldn't wait for theirs, with the page's settings (`strict`, `reducedMotion`, `transition`).
|
|
27
27
|
|
|
28
|
-
**From 2.x:** `<AnimatePresence>` is `<Presence>`; `createWardic` is `makeWard`, which also takes a lazy load of Features in place of `<LazyWardic>`; `usePresence`, `useIsPresent` and `usePresenceData` are a ward's own `exiting()` and `hold()`; `PresenceContext` and `usePresenceContext` are gone. `wardic.*` still works, deprecated. `<WardicProvider>`, `<WardicConfig>`, `<LayoutGroup>`, `<Reorder.Group>`, `<Reorder.Item>` and `w.<tag>` stay, built on the hooks.
|
|
28
|
+
**From 2.x:** `@wardic/solid` installs alone, `effect` its dependency now, no longer a peer; `<AnimatePresence>` is `<Presence>`; `createWardic` is `makeWard`, which also takes a lazy load of Features in place of `<LazyWardic>`; `usePresence`, `useIsPresent` and `usePresenceData` are a ward's own `exiting()` and `hold()`; `PresenceContext` and `usePresenceContext` are gone. `wardic.*` still works, deprecated. `<WardicProvider>`, `<WardicConfig>`, `<LayoutGroup>`, `<Reorder.Group>`, `<Reorder.Item>` and `w.<tag>` stay, built on the hooks.
|
|
29
29
|
|
|
30
|
-
`@wardic/solid/v1`, Solid 1's binding, is unchanged in this prerelease. `@wardic/solid/unstable/v2`, Solid 2's entry before 2.0, re-exports the root, deprecated. The Effect-typed packages, `@wardic/core`, `@wardic/dom` and `@wardic/test`, and the bindings' Effect-typed entries, move to a new Effect major only in a Wardic major.
|
|
30
|
+
`@wardic/solid/v1`, Solid 1's binding, is unchanged in this prerelease. `@wardic/solid/unstable/v2`, Solid 2's entry before 2.0, re-exports the root, deprecated. The Effect-typed packages, `@wardic/core`, `@wardic/dom` and `@wardic/test`, and the bindings' Effect-typed entries, move to a new Effect major only in a Wardic major. An app that uses Effect itself shares `@wardic/solid`'s copy while its own `effect` is in `^4.1.4`; [Start](https://next.wardic.dev/start/solid-2#if-your-app-uses-effect-too) says what to do about two.
|
|
31
31
|
|
|
32
32
|
- Docs: https://next.wardic.dev (this prerelease), https://wardic.dev (2.x)
|
|
33
33
|
- Source: https://github.com/wardiclabs/wardic/tree/solid-next/packages/solid
|
package/dist/browser/v1/index.js
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*
|
|
18
18
|
* @deprecated Solid 1's binding, deprecated and frozen: it goes at Wardic's next major. Solid 2's is `@wardic/solid` (#566).
|
|
19
19
|
*/
|
|
20
|
-
export const VERSION = "3.0.0-next.
|
|
20
|
+
export const VERSION = "3.0.0-next.3";
|
|
21
21
|
/**
|
|
22
22
|
* `WardicProvider` (one Effect runtime + `AtomRegistry` per ADR-0006), the
|
|
23
23
|
* `useWardicRuntime` accessor, and the scoped-fiber runner (`runScoped` /
|
package/dist/server/v1/index.js
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*
|
|
18
18
|
* @deprecated Solid 1's binding, deprecated and frozen: it goes at Wardic's next major. Solid 2's is `@wardic/solid` (#566).
|
|
19
19
|
*/
|
|
20
|
-
export const VERSION = "3.0.0-next.
|
|
20
|
+
export const VERSION = "3.0.0-next.3";
|
|
21
21
|
/**
|
|
22
22
|
* `WardicProvider` (one Effect runtime + `AtomRegistry` per ADR-0006), the
|
|
23
23
|
* `useWardicRuntime` accessor, and the scoped-fiber runner (`runScoped` /
|
package/dist/solid/v1/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*
|
|
18
18
|
* @deprecated Solid 1's binding, deprecated and frozen: it goes at Wardic's next major. Solid 2's is `@wardic/solid` (#566).
|
|
19
19
|
*/
|
|
20
|
-
export declare const VERSION = "3.0.0-next.
|
|
20
|
+
export declare const VERSION = "3.0.0-next.3";
|
|
21
21
|
/**
|
|
22
22
|
* `WardicProvider` (one Effect runtime + `AtomRegistry` per ADR-0006), the
|
|
23
23
|
* `useWardicRuntime` accessor, and the scoped-fiber runner (`runScoped` /
|
package/dist/solid/v1/index.jsx
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*
|
|
18
18
|
* @deprecated Solid 1's binding, deprecated and frozen: it goes at Wardic's next major. Solid 2's is `@wardic/solid` (#566).
|
|
19
19
|
*/
|
|
20
|
-
export const VERSION = "3.0.0-next.
|
|
20
|
+
export const VERSION = "3.0.0-next.3";
|
|
21
21
|
/**
|
|
22
22
|
* `WardicProvider` (one Effect runtime + `AtomRegistry` per ADR-0006), the
|
|
23
23
|
* `useWardicRuntime` accessor, and the scoped-fiber runner (`runScoped` /
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wardic/solid",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.3",
|
|
4
4
|
"description": "Wardic's hooks for Solid 2, and Solid 1's binding at @wardic/solid/v1: elements, gestures, layout and presence animations.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"animation",
|
|
@@ -100,13 +100,13 @@
|
|
|
100
100
|
},
|
|
101
101
|
"dependencies": {
|
|
102
102
|
"@solid-primitives/refs": "^1.1.3",
|
|
103
|
-
"@wardic/core": "1.5.0-next.
|
|
104
|
-
"@wardic/dom": "1.5.0-next.
|
|
105
|
-
"csstype": "^3.1.0"
|
|
103
|
+
"@wardic/core": "1.5.0-next.3",
|
|
104
|
+
"@wardic/dom": "1.5.0-next.3",
|
|
105
|
+
"csstype": "^3.1.0",
|
|
106
|
+
"effect": "^4.1.4"
|
|
106
107
|
},
|
|
107
108
|
"peerDependencies": {
|
|
108
109
|
"@solidjs/web": "^2.0.0",
|
|
109
|
-
"effect": "^4.1.4",
|
|
110
110
|
"solid-js": "^1.9.13 || ^2.0.0"
|
|
111
111
|
},
|
|
112
112
|
"peerDependenciesMeta": {
|
|
@@ -123,10 +123,9 @@
|
|
|
123
123
|
"@solidjs/router-1": "npm:@solidjs/router@1.0.1",
|
|
124
124
|
"@solidjs/web": "2.0.1",
|
|
125
125
|
"@types/babel__core": "^7.20.5",
|
|
126
|
-
"@wardic/object": "1.5.0-next.
|
|
127
|
-
"@wardic/test": "1.5.0-next.
|
|
126
|
+
"@wardic/object": "1.5.0-next.3",
|
|
127
|
+
"@wardic/test": "1.5.0-next.3",
|
|
128
128
|
"babel-preset-solid": "1.9.12",
|
|
129
|
-
"effect": "4.1.4",
|
|
130
129
|
"solid-js": "2.0.1",
|
|
131
130
|
"solid-js-1": "npm:solid-js@1.9.18"
|
|
132
131
|
}
|
package/src/v1/index.tsx
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*
|
|
18
18
|
* @deprecated Solid 1's binding, deprecated and frozen: it goes at Wardic's next major. Solid 2's is `@wardic/solid` (#566).
|
|
19
19
|
*/
|
|
20
|
-
export const VERSION = "3.0.0-next.
|
|
20
|
+
export const VERSION = "3.0.0-next.3"
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* `WardicProvider` (one Effect runtime + `AtomRegistry` per ADR-0006), the
|