@nextwebwg/html-next-converter 1.0.0-alpha.29 → 1.0.0-alpha.30

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.
Files changed (2) hide show
  1. package/README.md +9 -4
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -75,10 +75,15 @@ compiler or `@sveltejs/vite-plugin-svelte`. Source consumers can use `svelte-che
75
75
  emitting declaration files can use `svelte2tsx`. The generated public types cover props, native and
76
76
  declared event callbacks and scoped slot fields. Both graph modes export components; application and library consumers use public `mount`/`hydrate`
77
77
  or their framework's usual mounting and hydration flow.
78
- Svelte 5.57.1 loses focus when it moves a focused keyed row in Chromium and Firefox. The
79
- [compatibility patch](../../patches/README.md#keyed-focus) preserves focus and native focus events.
80
- Install it in the consuming application when that behavior is required; this repository's pnpm
81
- patches do not propagate through generated output or published dependencies.
78
+ Svelte support uses the unmodified framework; consumers do not install a runtime patch.
79
+ One known upstream gap remains: reordering a keyed row can blur its focused input. Svelte uses
80
+ ordinary DOM insertion to move the row, which can clear browser focus. In Svelte 5.57.1, our
81
+ Chromium, Firefox, and WebKit checks retain edited values and selection but lose focus;
82
+ Chromium also fires `blur` and `focusout`. The native HTML Next runtime retains focus in engines
83
+ with state-preserving `moveBefore`; its WebKit insertion fallback has the same focus loss.
84
+ This affects both mounting and hydration. See [Svelte issue #3973 and the editable Playground
85
+ reproduction](https://github.com/sveltejs/svelte/issues/3973#issuecomment-6003429271). Converter tests keep
86
+ this difference explicit while continuing to check rendering, edits, events, lifecycle and hydration.
82
87
 
83
88
  Feature helpers are emitted once per converted graph and imported only by components that need
84
89
  them. Style bindings record `cssstyle` and `css-tree` in server dependencies; the generated helper's
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextwebwg/html-next-converter",
3
- "version": "1.0.0-alpha.29",
3
+ "version": "1.0.0-alpha.30",
4
4
  "description": "Vue, React, and Svelte conversion for Declarative HTML Components.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -21,7 +21,7 @@
21
21
  "node": ">=22.13 <23 || >=24 <25"
22
22
  },
23
23
  "dependencies": {
24
- "@nextwebwg/html-next": "1.0.0-alpha.29"
24
+ "@nextwebwg/html-next": "1.0.0-alpha.30"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@formatjs/intl-durationformat": "0.11.1",