@kudzujs/core 0.8.9 → 0.8.10
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 +5 -1
- package/RELEASES.md +28 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,9 +8,13 @@ HTML-first TSX framework with synchronous state semantics and no virtual DOM.
|
|
|
8
8
|
|
|
9
9
|
Kudzu compiles ordinary React-shaped TypeScript and TSX into complete static HTML, CSS, and only the route-specific ESM capabilities actually used. Static pages ship zero JavaScript. React, hydration, a VDOM, and a retained browser component tree are not part of the output.
|
|
10
10
|
|
|
11
|
+
[](https://github.com/kudzujs/kudzu/blob/main/media/kudzu-demo.mp4)
|
|
12
|
+
|
|
13
|
+
*Watch: React-shaped TSX to static HTML and route-specific ESM in 22 seconds.*
|
|
14
|
+
|
|
11
15
|
> Experimental `0.8.x`: the compiler API and supported TSX surface may change.
|
|
12
16
|
|
|
13
|
-
**Latest release: 0.8.
|
|
17
|
+
**Latest release: 0.8.10 - Native dialog migration.** A reduced shadcn/Radix-shaped dialog now proves how AI migration can preserve `forwardRef`, props, children, refs, and handlers while replacing package-owned Portal and Context behavior with native `<dialog>`. Read the [release notes](./RELEASES.md#0810---native-dialog-migration) or open the [release page](https://kudzujs.cloud/releases/0.8.10).
|
|
14
18
|
|
|
15
19
|
- [Documentation](https://kudzujs.cloud/docs)
|
|
16
20
|
- [Installation guide](https://kudzujs.cloud/docs#install)
|
package/RELEASES.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Kudzu Releases
|
|
2
2
|
|
|
3
|
+
## 0.8.10 - Native dialog migration
|
|
4
|
+
|
|
5
|
+
Kudzu 0.8.10 proves a source migration path from a shadcn/Radix-shaped dialog to the native `<dialog>` element without adding package compatibility runtime.
|
|
6
|
+
|
|
7
|
+
### New in 0.8.10
|
|
8
|
+
|
|
9
|
+
- A reduced migration fixture preserves a relative `forwardRef` component, props, children, object refs, and ordinary JSX event handlers.
|
|
10
|
+
- Package-owned Portal and Context behavior becomes native `showModal()`, `close()`, and cancel handling.
|
|
11
|
+
- Complete accessible dialog markup is pre-rendered while route output includes only the `click` and `cancel` events it uses.
|
|
12
|
+
- Chrome coverage verifies modal top-layer behavior, initial focus, confirm and cancel paths, and explicit trigger-focus restoration.
|
|
13
|
+
- Public documentation now includes the migration recipe and its deliberate library boundary.
|
|
14
|
+
|
|
15
|
+
### Fixed in 0.8.10
|
|
16
|
+
|
|
17
|
+
- Mobile documentation code blocks stay within the content grid and scroll horizontally instead of widening the viewport.
|
|
18
|
+
- Browser tests allow slower CI Chrome startup and report process timeouts directly instead of failing later against empty DOM output.
|
|
19
|
+
- The complete suite passes 140/140 tests.
|
|
20
|
+
|
|
21
|
+
### Boundary
|
|
22
|
+
|
|
23
|
+
This release does not execute Radix or arbitrary React UI packages. `Portal`, `asChild`/`Slot`, element cloning, and arbitrary compound-component Context must be removed during source migration. Applications remain responsible for dialog labeling and explicit focus restoration.
|
|
24
|
+
|
|
25
|
+
### Upgrade
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npm install @kudzujs/core@^0.8.10
|
|
29
|
+
```
|
|
30
|
+
|
|
3
31
|
## 0.8.9 - Context-backed CRUD actions
|
|
4
32
|
|
|
5
33
|
Kudzu 0.8.9 specializes state-backed actions exposed through one conventional Context Provider and relative custom hook.
|