wcstack 1.32.0 → 2.0.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # wcstack
2
2
 
3
- **wcstack** is a set of 45 zero-dependency Web Components packages: reactive data binding, declarative SPA routing, and 30+ Web APIs exposed as HTML tags. No build step, no bundler, no framework runtime. One CDN `<script>` tag per package — or one `wcstack/auto` tag for the whole SPA core.
3
+ **wcstack** is a set of 47 zero-dependency Web Components packages: reactive data binding, declarative SPA routing, and 30+ Web APIs exposed as HTML tags. No build step, no bundler, no framework runtime. One CDN `<script>` tag per package — or one `wcstack/auto` tag for the whole SPA core.
4
4
 
5
5
  Project site: **https://wcstack.github.io** · Source: **https://github.com/wcstack/wcstack**
6
6
 
@@ -39,7 +39,7 @@ For an app that uses the SPA core anyway, **this package ships the bundle**: `wc
39
39
 
40
40
  ```html
41
41
  <script type="module"
42
- src="https://cdn.jsdelivr.net/npm/wcstack@1.32.0/dist/auto.min.js"
42
+ src="https://cdn.jsdelivr.net/npm/wcstack@2.0.0/dist/auto.min.js"
43
43
  integrity="sha384-…"></script>
44
44
  ```
45
45
 
@@ -152,7 +152,7 @@ Note `checked#ro:` on the checkbox. Without `#ro`, the two-way binding writes `.
152
152
  State and UI are connected by **path strings only**. There are no hooks, selectors, or per-element binding objects.
153
153
 
154
154
  ```
155
- property[#modifier]: path[@state][|filter[|filter(args)]...]
155
+ property[#modifier]: path[|filter[|filter(args)]...]
156
156
  ```
157
157
 
158
158
  Multiple bindings are separated by `;`:
@@ -195,7 +195,7 @@ Combine after one `#`, comma separated: `value#ro,init=none: path`.
195
195
  | `count`, `user.name` | Plain property path |
196
196
  | `items.*.price` | Wildcard — the current row inside a `for:` loop |
197
197
  | `.price` | Shorthand for the current row's property inside a loop |
198
- | `path@cart` | Read from a *named* state element (`<wcs-state name="cart">`) |
198
+ | `cart.path` | Read a mounted volume (`<wcs-state mount="cart">`) by its path prefix — one tree per root, extended by mounts (`name=` / `path@name` were removed in v2) |
199
199
 
200
200
  ### Structural directives
201
201