taet-ui 0.6.0-rc.4 → 0.6.0-rc.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Tæt UI changes
2
2
 
3
+ ## 0.6.0-rc.5 - cross-platform release candidate, 2026-11-08
4
+
5
+ - Improve macOS modal Tab containment, including native contenteditable focus targets, and strengthen portable Ctrl/Cmd regression coverage.
6
+ - Preserve Grid/TreeGrid edit drafts when viewport resize scrolling precedes ResizeObserver, while retaining ordinary scroll cancellation.
7
+ - Recalculate ScrollingLabel geometry after asynchronous font completion and release font listeners on teardown.
8
+ - Add macOS CI and browser regressions; retain strict interaction assertions and wait for actual editor/render readiness.
9
+ - Include the minimal macOS Tauri icon and document the bounded Apple Silicon build/smoke evidence. Native IME, VoiceOver, clipboard/file dialogs, mixed DPI, signing/notarization and Intel/universal builds remain unverified.
10
+ - Keep zero runtime dependencies, existing API maturity, immutable imported provenance and published rc.3/rc.4 artifacts unchanged. This candidate targets npm next; latest is not promoted.
11
+
3
12
  ## 0.6.0-rc.4 - release candidate, 2026-11-03
4
13
 
5
14
  - Clean current branding, remove the private historical CI link and update local benchmark/demo identifiers.
package/README.md CHANGED
@@ -4,7 +4,7 @@ Compact desktop UI controls for embedded WebViews. Build screens with live
4
4
  JavaScript objects, explicit ownership, events, commands and data models.
5
5
  No JSX, virtual DOM, runtime npm dependencies or CDN.
6
6
 
7
- **0.6.0-rc.4 is a pre-1.0 release candidate; published rc.3 artifacts remain unchanged.** Grid/TreeGrid and Advanced remain experimental.
7
+ **0.6.0-rc.5 is a pre-1.0 release candidate; published rc.3 and rc.4 artifacts remain unchanged.** Grid/TreeGrid and Advanced remain experimental.
8
8
  Source packages and standalone WebView ZIPs are separate delivery choices.
9
9
  The npm preview channel uses `next`: `npm install taet-ui@next`; publication
10
10
  status is recorded in the matching GitHub prerelease notes.
@@ -132,11 +132,13 @@ export function destroy() { screen.destroy(); } // Host calls this when closing.
132
132
 
133
133
  A source-only [minimal Tauri host](examples/tauri-minimal/README.md) demonstrates
134
134
  a compact Form and bounded Rust echo. Its historical pre-rename Windows smoke passed
135
- 7/7 programmatic checks. A renamed Tæt UI native rebuild, physical input and other OSes remain unverified.
135
+ 7/7 programmatic checks. The current host also builds on Apple Silicon macOS;
136
+ the maintainer exercised the native Rust echo. See the example notes for the
137
+ difference between that smoke check and full native acceptance.
136
138
 
137
139
  For TypeScript or resolver-based apps, `npm pack --pack-destination ..` creates
138
- the local `taet-ui-0.6.0-rc.4.tgz`. Install that file in your app with
139
- `npm install ../taet-ui-0.6.0-rc.4.tgz`. Bare package names need a resolver or
140
+ the local `taet-ui-0.6.0-rc.5.tgz`. Install that file in your app with
141
+ `npm install ../taet-ui-0.6.0-rc.5.tgz`. Bare package names need a resolver or
140
142
  browser import map; installing a tarball does not create native browser URLs.
141
143
 
142
144
  | Import | Scope |
@@ -154,19 +156,43 @@ screen, read [mutation/ownership examples](docs/MUTATIONS.md).
154
156
  ## Preview limits
155
157
 
156
158
  Current migration checks are recorded in [verification](docs/VERIFICATION.md).
157
- Earlier pre-rename results identify their original inputs and are historical evidence.
159
+ Results apply to the recorded source revision, not automatically to older release
160
+ archives. Earlier pre-rename results identify their original inputs and are
161
+ historical evidence.
158
162
 
159
163
  Recorded checks include Windows browser automation and a separate Windows
160
164
  Tauri/WebView2 acceptance stand. Programmatic/synthetic input is distinguished
161
165
  from physical input in [verification](docs/VERIFICATION.md).
162
- macOS and Linux native hosts are **not verified**. macOS will be checked in a new
163
- consumer project after GitHub publication; it is not a blocker for this preview.
164
- Real IME, screen-reader, native file-dialog and mixed-DPI acceptance remain unverified.
166
+ On Apple Silicon macOS, the corrected source passed the full Chromium, Firefox
167
+ and WebKit suites, and the Tauri example was rebuilt with the current bundle.
168
+ The maintainer also checked documentation and Grid interactions in Safari.
169
+ Playwright WebKit is separate from a complete Safari or native WKWebView
170
+ acceptance pass. Linux native hosts, Intel/universal macOS builds, signing and
171
+ notarization remain unverified. Real IME, VoiceOver/screen-reader, native
172
+ clipboard/file-dialog and mixed-DPI acceptance remain unverified.
165
173
 
166
174
  Grid row transfer is local and opt-in. Tree subtree movement is inside one local
167
175
  tree; cross-tree copy/move and remote/custom providers are outside that contract.
168
176
  Raster/Painter/StockChart/FlatFile/Spectrum/Pivot are [deferred extensions](docs/EXTENSIONS.md).
169
177
 
178
+ ## macOS keyboard behavior
179
+
180
+ Use **Cmd** where a Grid or TreeGrid example says **Ctrl/Cmd**, including
181
+ additive row selection with Cmd-click and primary-modifier keyboard navigation.
182
+ Shift extends the selection; Ctrl-click on macOS is normally a context-menu
183
+ gesture. Browser tests use the platform primary modifier and unit tests retain
184
+ separate Ctrl and Meta coverage.
185
+
186
+ ShortcutManager treats Ctrl/Cmd/Command bindings as portable shortcuts: a
187
+ Command-key event can fall back to the Ctrl binding, while an explicit Meta
188
+ binding takes precedence. Browser- or OS-reserved shortcuts still belong to the
189
+ host; this is not a global keyboard remapping.
190
+
191
+ Safari/WebKit native Tab navigation depends on the host's keyboard-navigation
192
+ settings. Option-Tab reaches native controls when plain Tab skips them. Modal
193
+ focus containment and Grid editor commit/navigation are tested with plain
194
+ Tab and Shift-Tab; no system setting change is required by the test helper.
195
+
170
196
  For contributors: [setup/checks](CONTRIBUTING.md), [AI entry point](docs/AI_CONTEXT.md),
171
197
  [preview version recommendations](docs/VERSIONING.md), [changelog](CHANGELOG.md), [security](SECURITY.md).
172
198
  Browser tests additionally require matching Playwright binaries; `npm ci` alone
@@ -1,6 +1,6 @@
1
1
  # Tæt UI: start here
2
2
 
3
- 0.6.0-rc.4 is a dependency-free desktop/WebView preview.
3
+ 0.6.0-rc.5 is a dependency-free desktop/WebView preview.
4
4
 
5
5
  1. Read [LLM_GUIDE](LLM_GUIDE.md), then one [AI_MAP](AI_MAP.md) row.
6
6
  2. Read its exact public .d.ts and one recipe before guessing a method.
package/docs/RELEASE.md CHANGED
@@ -15,11 +15,25 @@ Choose one immutable commit and version. Finish changes before the final build.
15
15
  a committed workflow file is not a passing CI run.
16
16
  6. Prepare source, local npm tarball and optional portable profile archives from
17
17
  that commit; include checksums and matching fonts/notices. Mark GitHub release
18
- as a pre-release. Keep private:true unless npm publication is separately chosen.
18
+ as a pre-release. npm publication requires a separate explicit decision;
19
+ do not infer permission from package.json metadata or a branch push.
19
20
 
20
- macOS is intentionally checked after GitHub publication in a new consumer project
21
- on the author's MacBook. Until then label it unverified; this is not a blocker for
22
- the preliminary release. Linux native hosts are also unverified.
21
+ macOS browser checks and a bounded Apple Silicon Tauri build/smoke are now
22
+ recorded in VERIFICATION.md. They do not certify all native integrations:
23
+ actual IME, VoiceOver, native clipboard/file dialogs, mixed DPI, signing,
24
+ notarization and Intel/universal builds remain unverified. Linux native hosts
25
+ are also unverified. Preserve these limits in release notes.
26
+
27
+ The macOS CI job uses Node 22 and two browser workers: test:all, the Firefox and
28
+ WebKit compatibility projects, and all three bundle projects. It has a
29
+ 30-minute timeout and runs for pull requests, main pushes and manual dispatch,
30
+ not duplicate feature-branch pushes. It does not compile or certify a native
31
+ Tauri host. Local full-engine runs are recorded separately; verify the remote
32
+ job for the exact proposed commit before calling CI successful.
33
+
34
+ Keep existing release tags immutable. Corrections go through a reviewed branch
35
+ in this repository; merging a PR, choosing a new preview version and publishing
36
+ npm/GitHub release artifacts are separate steps.
23
37
 
24
38
  No script here publishes, pushes or changes GitHub settings automatically.
25
39
 
@@ -1,6 +1,6 @@
1
1
  # API maturity
2
2
 
3
- 0.6.0-rc.4 preserves the stable root and experimental status of retained APIs.
3
+ 0.6.0-rc.5 preserves the stable root and experimental status of retained APIs.
4
4
  Tier does not promote maturity: [TIERS](TIERS.md).
5
5
  Grid/TreeGrid remain experimental. Approved common-contract changes are recorded
6
6
  in the candidate manifest; maturity and tier boundaries are unchanged.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Display name: Tæt UI. Package, import and repository name: taet-ui.
4
4
  The public repository is https://github.com/edward-ap/taet-ui.
5
- The current 0.6.0-rc.4 candidate retains published rc.3 source, npm versions,
5
+ The current 0.6.0-rc.5 candidate retains published rc.3/rc.4 source, npm versions,
6
6
  GitHub releases and assets unchanged. Each new publication has its own version
7
7
  and assets; exact outcomes are recorded in the matching GitHub prerelease notes.
8
8
 
@@ -1,3 +1,290 @@
1
+ # rc.5 release preparation - 2026-11-08
2
+
3
+ The 0.6.0-rc.5 release metadata is based on merge commit
4
+ `65abe6a5b2d3dff0c28ebb88e4e9a96dfbca3bc1`. Runtime, declarations, test
5
+ fixtures, build scripts and workflows are unchanged from that commit. All 47
6
+ reviewed Grid candidate source hashes and the immutable imported manifest are
7
+ preserved; only the candidate packageVersion advances with package.json.
8
+
9
+ The exact merge commit passed all seven jobs in
10
+ [CI run 42427920445](https://github.com/edward-ap/taet-ui/actions/runs/42427920445):
11
+ Windows/Linux Node 22 and 24, macOS, three-engine compatibility/bundles, and
12
+ performance. This is base-commit evidence, not a claim about a later commit.
13
+ The final release commit must pass its own linked GitHub Actions run before npm
14
+ publication. The public npm registry separately records publication outcome.
15
+
16
+ Local preparation checks:
17
+
18
+ - Clean macOS main at the merge commit: npm test passed 546 syntax files,
19
+ API/package guards, 698 units and installed TS/JS consumers (476 exports).
20
+ - Windows rc.5 metadata snapshot: fresh build, bundle/provenance/assets guard
21
+ and 77 documentation imports passed; publication metadata prerequisites passed.
22
+ - npm dry-run contained 497 files. Build products, dependencies, logs, profiles
23
+ and credential files were excluded. A bounded scan found no common npm/GitHub
24
+ token, private-key, AWS-access-key or npm auth-assignment patterns. This is
25
+ package hygiene, not a security certification.
26
+ - Windows test:all and sequential Firefox/WebKit compatibility runs were
27
+ interrupted during execution. They have no completed pass/fail summary and
28
+ are not counted as passed gates. Full results must come from the final CI run.
29
+
30
+ No API maturity is promoted. Native IME, VoiceOver, clipboard/file dialogs,
31
+ mixed DPI, signing/notarization, Intel/universal macOS and Linux native hosts
32
+ remain unverified. Earlier failed runs and bounded native evidence below remain
33
+ historical records. Published rc.3/rc.4 versions and release tags are unchanged;
34
+ rc.5 is intended for npm next, without promoting latest.
35
+
36
+ ---
37
+
38
+ # Cross-platform branch preparation - 2026-11-07
39
+
40
+ Pre-PR verification snapshot for `fix/macos-webkit-portability`, based on
41
+ `bfd3ddcddf1cdc539397e5d2ac5ed3cb976e72c2`. These are source-branch results,
42
+ not new results for the previously published v0.6.0-rc.4 archives. The original
43
+ Windows main was checked clean at that common base; Windows verification uses
44
+ a separate detached worktree. No release tag or npm publication is part of
45
+ this change. Final remote CI and further Windows engine results belong to the
46
+ pull request for this branch, not to an assumed passing workflow file.
47
+
48
+ ## Additional findings before the PR
49
+
50
+ - Modal traversal now includes native contenteditable hosts with true, empty
51
+ and plaintext-only attributes. Their default tabIndex is -1 despite being
52
+ native Tab stops. Explicit negative tabindex and inherited/nested editors
53
+ stay excluded unless explicitly tabbable. Twenty modal cases per engine
54
+ cover these and the earlier containment/editor/reentry contracts.
55
+ - A separate pre-existing Firefox race lost an active Grid/TreeGrid draft when
56
+ automatic scrolling after a resize arrived before ResizeObserver. It was
57
+ reproduced with the baseline OverlayManager, so it was not a modal-fix
58
+ regression. Both tables now reconcile changed client geometry first using
59
+ their existing resize path. A subsequent scroll at unchanged geometry still
60
+ immediately cancels editing; there is no timer or grace period. Factory
61
+ teardown remains safe. Four new width/height regressions force this ordering.
62
+ - The lab27 MDI test had a separate render-readiness race: selecting a connector
63
+ updates status immediately, then replaces SVG ports in a later animation
64
+ frame. The fixture now waits for selection rendering and bounded-polls live
65
+ port geometry. All interaction and connection assertions remain; production
66
+ ConnectorLayer code is unchanged.
67
+ - ScrollingLabel had a rapid-font-swap edge: setGap could measure fallback
68
+ metrics, then the loaded font restored the observer's original width before
69
+ ResizeObserver sampled the fallback. The stale animation could persist.
70
+ Font loading/completion/error events now invalidate metrics; each loading
71
+ cycle also captures FontFaceSet.ready because WebKit can omit loadingdone.
72
+ Listeners are disposed and pending continuations cannot measure after
73
+ destruction. No polling, timers or per-frame JavaScript were added. The
74
+ original late-font test is unchanged; dedicated no-resize-delivery, listener
75
+ cleanup and missing-API cases cover the correction.
76
+ - The two Grid source changes were reviewed before updating only their two
77
+ candidate hashes. The other 45 entries and immutable source-snapshot remain
78
+ unchanged. Imported CRLF bytes are retained.
79
+
80
+ ## Completed local checks
81
+
82
+ | Check | Result |
83
+ | --- | --- |
84
+ | macOS test:all, two workers | 546 syntax files; API/package guards; 698/698 units; 755/755 Chromium; installed TS/JS/browser consumers; 476 runtime exports |
85
+ | macOS full Firefox, two workers | 755/755 passed, 7.9 minutes |
86
+ | macOS full WebKit, two workers | 755/755 passed, 6.2 minutes |
87
+ | macOS modal regression file, all engines | 60/60 passed |
88
+ | macOS Grid/TreeGrid window regressions, all engines | 66/66 passed |
89
+ | macOS editor activation/teardown, all engines | 15/15 passed |
90
+ | Original intermittent Firefox resize case | 30/30 serial repetitions passed after the fix |
91
+ | Corrected lab27 fixture | 10/10 WebKit repetitions and 3/3 engine checks passed |
92
+ | ScrollingLabel font completion | 21/21 focused engine checks; 40/40 WebKit repetitions; original/fixed comparison confirmed the stale endpoint and correction |
93
+ | macOS bundle guard and all-engine bundle suite | 77 documentation imports checked; 42/42 browser cases passed |
94
+ | macOS native example | prepare and cargo build --release --locked passed; final Mach-O arm64 binary and local .app copy match |
95
+ | Windows after Grid fix, before final font patch | 698/698 units; incremental syntax and API/package guards; fresh build; 752/752 Chromium; 515/515 Firefox compatibility |
96
+ | Windows initial patch baseline | Full test:all passed: 698 units, 748 Chromium, syntax/API/package and installed TS/JS/browser consumers |
97
+ | Local distribution and package inspection | 497 npm package files; native PNG and verification record present; build outputs/dependencies/reports excluded; three portable archives have 22 files each |
98
+ | Workflow and source hygiene | actionlint 1.7.12 passed; CRLF-aware diff check passed; only reviewed source/assets/tests/docs/workflow files selected |
99
+
100
+ At this pre-PR snapshot, further Windows engine runs and the final font patch's
101
+ Windows verification are still in progress. The pull request records their
102
+ outcome and CI for its exact head commit. Earlier exploratory WebKit runs each
103
+ passed 751/752 and exposed the lab27 fixture race and then the font-completion
104
+ edge; those failures are retained as evidence, not counted as passing full
105
+ runs. The final full Mac suites above use the corrected runtime and fixtures.
106
+
107
+ Final source-content SHA-256 (src/scripts/package inputs):
108
+ `e5672499ec2115ecf38a52b57d81d10a0839fd33f6005f9e3935563a60cb083a`.
109
+ Reviewed runtime SHA-256 values:
110
+
111
+ - OverlayManager.js: `17b9250fae7325a2164ae73af1c2b103f66397e6d4bd9cb9cd5c8f810d2b0de8`
112
+ - Grid.js: `646bf4902a17d068896204d64de68bcf967bc8ac70208d82b891221385599690`
113
+ - TreeGrid.js: `59c37c5e9c2a88c9242556dc7b8fa356c153bbe1d95b7d1d35fd7e77f42de3c2`
114
+ - ScrollingLabel.js: `5b3c1d5340c70c6571b8577e947909044b3953db4e1bb377d2ec3893d618e982`
115
+
116
+ Candidate manifest SHA-256:
117
+ `4d7dddb43219c6daead41568e9fc063467abb99dd19fad4e158d86be9a5f487c`.
118
+ The native BUNDLE.json and dist report identify the same final source content.
119
+
120
+ The maintainer's earlier Safari/Grid and native Rust-echo smoke remains bounded
121
+ manual evidence. The final rebuilt executable was not manually retested.
122
+ Playwright WebKit is not a complete Safari/WKWebView acceptance pass. Actual
123
+ IME, VoiceOver, native clipboard/file dialogs, mixed DPI, signing/notarization,
124
+ installers and Intel/universal macOS builds remain unverified. Linux native
125
+ hosts remain unverified. Earlier runs and their limitations follow below.
126
+
127
+ ---
128
+
129
+ # macOS keyboard and WebKit remediation - 2026-11-07
130
+
131
+ This local follow-up resolves the failures described in the first consumer
132
+ check below. Source checkout: `bfd3ddcddf1cdc539397e5d2ac5ed3cb976e72c2`, with
133
+ uncommitted local corrections. No release, push or publication was performed.
134
+ Host: Apple M1 Max (10 cores, 64 GiB), macOS 26.5.1 arm64. Toolchain and browser
135
+ versions are unchanged from the first check.
136
+
137
+ ## Findings and corrections
138
+
139
+ - **Real OverlayManager defects:** native macOS WebKit Tab could leave a modal
140
+ from an interior button; capture-phase trapping could steal Grid editor Tab
141
+ before validation/commit. Consumed Grid/TreeGrid Tab at the first/last cell
142
+ could also escape to an outside control or BODY. Popup editor forwarding at
143
+ document level must run before the modal's ordinary Tab handling.
144
+ - OverlayManager now handles unconsumed Tab at window bubble phase, explicitly
145
+ advances modal/portal focus, and checks captured Tab after dispatch/default
146
+ actions. The deferred check only repairs focus outside the same live top
147
+ modal, tolerates a child popup closing, and cannot reclaim focus after modal
148
+ replacement/reopen. Teardown clears pending checks. Positive tabindex,
149
+ radio groups, duplicate portal targets and native summary/media/frame targets
150
+ are retained. Escape handling remains capture-phase.
151
+ - **Platform-aware tests:** primary mouse/keyboard shortcuts use ControlOrMeta.
152
+ Unit tests retain explicit ctrlKey and metaKey coverage. macOS WebKit native
153
+ all-control navigation uses Option+Tab through a narrow test helper; Grid
154
+ editor and modal behavior still exercise plain Tab/Shift+Tab. No system
155
+ keyboard settings were changed.
156
+ - Safari mouse activation does not focus native buttons. Two focus-return
157
+ tests now explicitly focus and keyboard-activate their opener before checking
158
+ restoration. Diagnostics confirmed the previous implementation restored the
159
+ actual saved focus correctly in those cases.
160
+ - Firefox does not expose WebKit scrollbar pseudo-elements. Three visual tests
161
+ retain 6px pseudo-element assertions where supported and check standard
162
+ width/color against explicit native CSS probes elsewhere. macOS Firefox
163
+ computes native thin as none even in an independent plain-HTML probe. Theme
164
+ color assertions remain active; production CSS was unchanged.
165
+ - The syntax walker now excludes exactly examples/tauri-minimal/target: Tauri
166
+ writes compressed assets with .js suffixes there. A regression verifies that
167
+ an invalid real example source still fails the check. The PNG icon extracted
168
+ from the existing ICO remains the only native-example source addition.
169
+
170
+ Only src/core/OverlayManager.js changed in library runtime source. Grid source,
171
+ public exports, immutable provenance and all 47 approved Grid candidate hashes
172
+ are unchanged. Added coverage: 17 modal browser regressions, explicit Ctrl/Cmd
173
+ unit variants and the syntax-walker fixture. No whole tests were skipped.
174
+
175
+ ## Final verification on the corrected source
176
+
177
+ | Check | Result |
178
+ | --- | --- |
179
+ | npm run test:all, four workers | Passed: 546 syntax files, API/package guards, 698/698 units, 745/745 Chromium browser cases, installed TS/JS/browser consumers and 476 runtime exports |
180
+ | Full Firefox suite, four workers | 745/745 passed, 6.1 minutes |
181
+ | Full WebKit suite, two workers | 745/745 passed, 6.4 minutes |
182
+ | Modal plus existing overlay/reentry regressions, all three engines, one worker | 108/108 passed, including 17 new cases per engine |
183
+ | Bundle guard and three-engine bundle configuration, one worker | Passed; 42/42 browser cases; provenance/assets/exclusions and 77 documentation imports verified |
184
+ | Local npm pack dry-run and tarball inspection | 497 files; final verification record and native PNG included; target, node_modules and test-results absent |
185
+ | Portable ZIP packaging from the verified build | Full/components/foundation archives passed, 22 files each; local dirty-tree provenance retained |
186
+ | Native example prepare + cargo build --release --locked | Passed; current components bundle embedded in Mach-O arm64 executable |
187
+ | git diff --check | Passed |
188
+
189
+ Final commands, with the installed user toolchains on PATH, included:
190
+
191
+ - TAET_UI_PORT=5721 TAET_UI_WORKERS=4 npm run test:all
192
+ - TAET_UI_PORT=5723 node scripts/run-browser.js --browser=firefox --workers=4
193
+ - TAET_UI_PORT=5722 node scripts/run-browser.js --browser=webkit --workers=2
194
+ - node scripts/check-bundle.js
195
+ - TAET_UI_PORT=5724 node scripts/run-browser.js --config playwright.bundle.config.js --workers=1
196
+ - node examples/tauri-minimal/prepare.mjs
197
+ - cargo build --manifest-path examples/tauri-minimal/Cargo.toml --release --locked
198
+ - python scripts/package-distribution.py
199
+ - npm pack --dry-run --json; npm pack --json
200
+
201
+ Distinct output directories were used for each run. Final source-content SHA-256
202
+ (src/scripts/package inputs):
203
+ `6f197d60d98b8ac3662f7471038162e912dfcd8d95dc505e4da2d785440f26bc`.
204
+ OverlayManager.js SHA-256:
205
+ `a4417cb37ba24f4f36ba8fbbb6d1c73ffc5ff57214bec04c28f3bd987900be3a`.
206
+ The native BUNDLE.json source matches the final dist report. The existing local
207
+ .app wrapper was refreshed with the identical rebuilt executable; its Finder
208
+ launch is not an additional verified acceptance result.
209
+
210
+ Exploratory reports are retained separately. One early parallel run read dist
211
+ while another command rebuilt it, causing temporary delivery/JSON failures.
212
+ Two Firefox geometry-loop tests exceeded their 30-second budget under that
213
+ heavy load. The final runs used an unchanged completed build and both geometry
214
+ tests passed without changing their assertions or timeout.
215
+
216
+ ## Remaining limits
217
+
218
+ The maintainer's earlier native Rust-echo and Safari documentation/Grid checks
219
+ remain useful manual smoke evidence. The final native executable was rebuilt
220
+ but the already-open application was not restarted or manually retested. The
221
+ 2,235 passing final browser cases are Playwright Chromium/Firefox/WebKit tests,
222
+ not a claim that all were driven in the Safari application or native WKWebView.
223
+ Actual IME, VoiceOver, native clipboard/file dialogs, mixed-DPI behavior and a
224
+ complete native consumer acceptance pass remain unverified. Signing,
225
+ notarization, installers and Intel/universal builds were not configured.
226
+
227
+ ---
228
+
229
+ # macOS first consumer check - 2026-11-07
230
+
231
+ Local source checkout at `bfd3ddcddf1cdc539397e5d2ac5ed3cb976e72c2`,
232
+ Tæt UI 0.6.0-rc.4, on macOS 26.5.1 arm64. This is a local preparation and
233
+ verification record, not a publication or a complete macOS acceptance claim.
234
+
235
+ Toolchain: Node 22.23.4, npm 10.9.9, Python 3.13.18, Rust/Cargo 1.99.1,
236
+ Xcode 26.5 and macOS SDK 26.5. Playwright 1.61.1 used Chromium
237
+ 149.0.7827.55, Firefox 151.0 and WebKit 26.5. Tools and browser dependencies
238
+ were installed in user-owned locations; system keyboard/security settings
239
+ were not changed.
240
+
241
+ | Check | Result |
242
+ | --- | --- |
243
+ | Fresh npm ci | Passed; npm audit reported zero vulnerabilities |
244
+ | npm test | Passed: syntax/API/package guards, 695 units, installed TS/JS consumers and 476 runtime exports |
245
+ | npm run test:all | Failed at full Chromium browser stage: 706/728 passed, 22 failed; the final types-browser stage did not run in this command |
246
+ | Separate npm run test:types:browser | Passed |
247
+ | Standard Firefox compatibility | 470/473 passed; three keyboard text-replacement failures |
248
+ | Standard WebKit compatibility | 441/473 passed; modifier/selection and keyboard focus failures |
249
+ | npm run test:bundle | 42/42 passed across Chromium, Firefox and WebKit |
250
+ | Repeat of the 22 Chromium failures with one worker | All 22 reproduced; original evidence retained separately |
251
+ | Local npm pack and portable archive packaging | Passed; full/components/foundation archives each contain 22 files; no publication |
252
+ | Native Tauri example release build, locked Cargo dependencies | Passed after adding the PNG icon described below; Mach-O arm64 executable |
253
+ | Native interactive smoke | The maintainer reported seeing the native example and receiving Rust echo after clicking its button |
254
+
255
+ The Chromium failures are at test flows that hard-code Control-click or
256
+ Control+A. A separate diagnostic observed Chromium emitting contextmenu rather
257
+ than click for Control-click on this Mac. Control+A did not select all text.
258
+ Using Cmd-click selected both Grid records, and Cmd+A replaced and committed
259
+ the editor value in Chromium, Firefox and a fresh WebKit page. This is bounded
260
+ browser evidence, not a rerun of the full suite with modified tests. No Grid
261
+ implementation, candidate hashes or standard tests were changed.
262
+
263
+ WebKit additionally skipped native HTML buttons during a plain Tab sequence
264
+ in a minimal button/input/button page without Tæt: focus alternated between the
265
+ input and document body. Its suite failures involving Tab entry, focus return
266
+ and dialog trapping remain unresolved. They must not all be relabeled as
267
+ library passes or dismissed as only Control/Cmd test mistakes. The earlier
268
+ combined WebKit modifier diagnostic ran after a Control-click/context-menu
269
+ sequence and failed; a fresh independent Cmd-first diagnostic passed.
270
+
271
+ The native example originally failed in tauri::generate_context because
272
+ icons/icon.png was absent. The existing MIT-licensed icon.ico contains one
273
+ 32x32 RGBA PNG image. That original embedded image was extracted without
274
+ altering its pixels into icons/icon.png (125 bytes, SHA-256
275
+ `7ee8e611873e85c0f0bd6ef5a7ee03dc97dd791c52fb3d6b5efc87d81c25eee3`). The ICO, application Rust/JS and Tauri
276
+ configuration were unchanged. Native rebuild succeeded with pinned Tauri
277
+ 2.12.1 and tauri-build 2.7.1. The maintainer's button/echo observation is a
278
+ limited manual smoke, not the historical Windows acceptance stand.
279
+
280
+ Remaining work: platform-aware modifier tests, WebKit/native keyboard-focus
281
+ acceptance, extended native controls, actual IME, screen reader, clipboard/file
282
+ dialog and mixed-DPI checks. Signing, notarization and installer distribution
283
+ were not configured. No push, release, npm publication or other project change
284
+ was performed.
285
+
286
+ ---
287
+
1
288
  # rc.4 publication preflight - 2026-11-03
2
289
 
3
290
  The maintainer authorized a new rc.4 GitHub prerelease and npm next publication.
@@ -4,7 +4,7 @@ These are project recommendations for preview releases; the maintainer confirms
4
4
  each public version/tag. This document does not change the current version or
5
5
  create a new compatibility guarantee.
6
6
 
7
- 0.6.0-rc.4 is a preview, not a 1.0 compatibility promise. Stable root and
7
+ 0.6.0-rc.5 is a preview, not a 1.0 compatibility promise. Stable root and
8
8
  experimental API are listed separately in STABLE_API.md. Import tiers describe
9
9
  architecture; they do not change maturity.
10
10
 
@@ -10,8 +10,16 @@ as a separate consumer with historical pre-rename 0.6.0-rc.1 assets from commit
10
10
  156.0.4314.58 on Windows 11. Local JS/CSS/Noto loading, bounded Rust echo and
11
11
  programmatic Form input/button handling passed. These are this example's own
12
12
  checks, not inherited acceptance results; real keyboard/mouse/IME input is not
13
- certified by the programmatic smoke. The renamed Tæt UI host has not been rebuilt
14
- for this migration.
13
+ certified by the programmatic smoke.
14
+
15
+ **Apple Silicon macOS build and bounded smoke (2026-11-07).** The renamed host
16
+ built with Rust/Cargo 1.99.1, Xcode 26.5 and macOS SDK 26.5 on macOS 26.5.1
17
+ arm64. The maintainer clicked the native echo button and received the Rust
18
+ response. After the keyboard/WebKit corrections, prepare and the release build
19
+ passed again with the current components bundle; that final executable was not
20
+ manually retested. See [verification](../../docs/VERIFICATION.md) for exact inputs and limits.
21
+ The required PNG icon is the unchanged 32x32 image extracted from the existing
22
+ MIT-licensed ICO.
15
23
 
16
24
  When placed at examples/tauri-minimal in a Tæt UI checkout:
17
25
 
@@ -25,6 +33,9 @@ cargo build --release --locked
25
33
 
26
34
  Windows: launch target/release/taet-ui-tauri-example.exe. Installed WebView2,
27
35
  Rust MSVC and the appropriate Windows C++/SDK toolchain are host prerequisites.
36
+ macOS: launch ./target/release/taet-ui-tauri-example. Rust and the Apple C++/SDK
37
+ toolchain are host prerequisites; the checked build targets Apple Silicon only.
38
+
28
39
  Tauri/tauri-build are exact pinned; Cargo.lock is provided. The default Cargo
29
40
  command can fetch host crates. Offline builds work only with those crates cached.
30
41
  The standalone EXE embeds the prepared assets and needs no Node/Python/devserver.
@@ -39,5 +50,7 @@ Only the local main window is granted echo. No filesystem/shell/opener plugin is
39
50
  included; navigation is limited to the app origin. Runtime web assets and their
40
51
  MIT/OFL notices are copied together. Source code uses the repository MIT license.
41
52
 
42
- macOS/Linux, actual IME, screen readers and mixed-DPI behavior are unverified.
43
- macOS testing is planned after GitHub publication from a fresh consumer project.
53
+ Linux hosts, Intel/universal macOS builds, actual IME, VoiceOver/screen readers,
54
+ native clipboard/file dialogs and mixed-DPI behavior remain unverified. This
55
+ source example is not a signed/notarized app or installer and the bounded smoke
56
+ is not a complete native acceptance pass.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taet-ui",
3
- "version": "0.6.0-rc.4",
3
+ "version": "0.6.0-rc.5",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "python scripts/dev-server.py --port 5173 --bind 127.0.0.1",
@@ -1,244 +1,244 @@
1
- {
2
- "schemaVersion": 1,
3
- "packageVersion": "0.6.0-rc.4",
4
- "changeSet": "branding-row-drag-label-2026-11-03",
5
- "note": "User-authorized branding cleanup; reviewed Grid delta is the row-drag plain-text label only. Imported provenance and the other 46 candidate source hashes are preserved.",
6
- "importManifestSha256": "9d32c9bcbbafcce32f04719b4b095b6c8b8bed1230ae7bc47aeff18bc3150d67",
7
- "files": [
8
- {
9
- "path": "src/core/GridColumnModel.d.ts",
10
- "importedSha256": "43eb338c4a4d3ce219aacc78ed77ea438034138f8e3708b4309443f8f4398108",
11
- "sha256": "43eb338c4a4d3ce219aacc78ed77ea438034138f8e3708b4309443f8f4398108"
12
- },
13
- {
14
- "path": "src/core/GridColumnModel.js",
15
- "importedSha256": "a2751e8fb7074a2786fa7280efd50003798ab8b0442abee44e01b6de5551c641",
16
- "sha256": "a2751e8fb7074a2786fa7280efd50003798ab8b0442abee44e01b6de5551c641"
17
- },
18
- {
19
- "path": "src/core/GridDataProvider.d.ts",
20
- "importedSha256": "7533d9bd5e51d048234ebea6847056761c878ac2c17f99902f0ca3ced1d7e537",
21
- "sha256": "7533d9bd5e51d048234ebea6847056761c878ac2c17f99902f0ca3ced1d7e537"
22
- },
23
- {
24
- "path": "src/core/GridDataProvider.js",
25
- "importedSha256": "2e68dc16491c576c2814b0cebdb88e6d2cd686f84681ca484cb91dbea6ae298f",
26
- "sha256": "2e68dc16491c576c2814b0cebdb88e6d2cd686f84681ca484cb91dbea6ae298f"
27
- },
28
- {
29
- "path": "src/core/GridFilterModel.d.ts",
30
- "importedSha256": "12c5dad5287c96d8ac74345c2ce53b8dddc016a6412b13427b25f23de15d4b4b",
31
- "sha256": "12c5dad5287c96d8ac74345c2ce53b8dddc016a6412b13427b25f23de15d4b4b"
32
- },
33
- {
34
- "path": "src/core/GridFilterModel.js",
35
- "importedSha256": "b634604e2b6d5547008adb09c05aaff7dea5f30d26415e0262f475bdb9db1776",
36
- "sha256": "5dd4a969783669577b82d9b49a7a8a05477ac7e268adfea5a8b9760ccd3f3644"
37
- },
38
- {
39
- "path": "src/core/GridGroupModel.d.ts",
40
- "importedSha256": "c723efbcf4b5d4e749b6c9109585cabe6044583e033ea3c0a6e2a1c7fdffc24f",
41
- "sha256": "c723efbcf4b5d4e749b6c9109585cabe6044583e033ea3c0a6e2a1c7fdffc24f"
42
- },
43
- {
44
- "path": "src/core/GridGroupModel.js",
45
- "importedSha256": "f39c309995ae3d0d173539f446953abc47a7986407f5774c8d5f00663026ab81",
46
- "sha256": "f39c309995ae3d0d173539f446953abc47a7986407f5774c8d5f00663026ab81"
47
- },
48
- {
49
- "path": "src/core/GridSearchModel.d.ts",
50
- "importedSha256": "a9a39631e992426a5d97ef195d8e97d027a1fedce9e350bcab8a2bb83c3fc0c8",
51
- "sha256": "a9a39631e992426a5d97ef195d8e97d027a1fedce9e350bcab8a2bb83c3fc0c8"
52
- },
53
- {
54
- "path": "src/core/GridSearchModel.js",
55
- "importedSha256": "13bd03aea152dca652c6376df101d8871ecc39a6b2b87dfc611495fd62a573e0",
56
- "sha256": "13bd03aea152dca652c6376df101d8871ecc39a6b2b87dfc611495fd62a573e0"
57
- },
58
- {
59
- "path": "src/ui/grid-api.d.ts",
60
- "importedSha256": "f84203207e2cd58cf38f155e28c618d2110cab77cd4f4cfa8320450e8c8d6528",
61
- "sha256": "f84203207e2cd58cf38f155e28c618d2110cab77cd4f4cfa8320450e8c8d6528"
62
- },
63
- {
64
- "path": "src/ui/grid-api.js",
65
- "importedSha256": "e81e6a2d0683110975aff7a6b6c90eb77f8bc5faefdcc2168c23cb14120878d3",
66
- "sha256": "e81e6a2d0683110975aff7a6b6c90eb77f8bc5faefdcc2168c23cb14120878d3"
67
- },
68
- {
69
- "path": "src/ui/grid-columns.d.ts",
70
- "importedSha256": "9ab4be82bef2ba8bcc64e110684a361a3c75d631d4a036ce84e7164f6ed8aaf7",
71
- "sha256": "9ab4be82bef2ba8bcc64e110684a361a3c75d631d4a036ce84e7164f6ed8aaf7"
72
- },
73
- {
74
- "path": "src/ui/grid-controllers.d.ts",
75
- "importedSha256": "d5a3a8b594cf1c52d5584d400ca4134f58109cb60b4190ac385d51b9d8cd084b",
76
- "sha256": "d5a3a8b594cf1c52d5584d400ca4134f58109cb60b4190ac385d51b9d8cd084b"
77
- },
78
- {
79
- "path": "src/ui/grid-editor-contracts.d.ts",
80
- "importedSha256": "e6398ea5197fb9b83f2e120105ab5d3f2243e2a2000f4b4b79e9c80eb9b8b90b",
81
- "sha256": "997577e61823ef127b700d7a5355e4d8ddc5f6f75d261157bad1567813f56dd4"
82
- },
83
- {
84
- "path": "src/ui/grid-editor-options.d.ts",
85
- "importedSha256": "248269880ba7b41fbe9aac2c529883f08c6723eb8c2238d4302eee2ad22561ab",
86
- "sha256": "248269880ba7b41fbe9aac2c529883f08c6723eb8c2238d4302eee2ad22561ab"
87
- },
88
- {
89
- "path": "src/ui/grid-events.d.ts",
90
- "importedSha256": "5e49ed77c18e54050ad8510027b842355bdc8d6c7e3518b239d03f65c3984ddb",
91
- "sha256": "0989ad858b3f6fcdbdb68b917ea98fc9a5205eb130015e9efc5032601b844fc7"
92
- },
93
- {
94
- "path": "src/ui/grid-options.d.ts",
95
- "importedSha256": "1a524fd77bb1ada57fa7f7c592451d50fc76821862554b53a5b847073ef163a6",
96
- "sha256": "e3cc34d3252af5cf33a38883fc4092590610d824d210438ec123cc9ec912bf13"
97
- },
98
- {
99
- "path": "src/ui/Grid.d.ts",
100
- "importedSha256": "92a5812425cfaf1d9b37f025ba5f872762f46561ded821e35ca0060240b1d96c",
101
- "sha256": "070b55a7969dd8dfd6724d96b307d445cbd1a530a75a4edf89388c464418e329"
102
- },
103
- {
104
- "path": "src/ui/Grid.js",
105
- "importedSha256": "8784367eb52a32ad3799286b1a7730c3373ad60544e1f22f90bd3efa5a7e497a",
106
- "sha256": "5d95c4de9e818c8fd8afa0d1414d93dd2e243f45a9da699817aeef20abdad62a"
107
- },
108
- {
109
- "path": "src/ui/GridColumnReorderController.js",
110
- "importedSha256": "66805751a1e0bbddf98dd411957f8b54a0dea6e866edca35d2775172add8cc54",
111
- "sha256": "2c5eade62f5e93a7d9c7a27e6b948077cec1b84e9f7a6fdd23b9baf057832677"
112
- },
113
- {
114
- "path": "src/ui/GridColumnResizer.js",
115
- "importedSha256": "603a1ae606f842ca8016acafec4d80b3cd2ee85d2911281b1e286a2a58d9b693",
116
- "sha256": "603a1ae606f842ca8016acafec4d80b3cd2ee85d2911281b1e286a2a58d9b693"
117
- },
118
- {
119
- "path": "src/ui/GridCore.d.ts",
120
- "importedSha256": "add4c7e74c35082802014f795501f98eef2a537de2eb9ae74c50171c80678515",
121
- "sha256": "fe2cc9870b9ab583618755998baf4450fea3118a5b6ad5e2ea5d1c8a03b44631"
122
- },
123
- {
124
- "path": "src/ui/GridCore.js",
125
- "importedSha256": "c1da1e53a90741efa1714aabeef3495736d10f92a740c8416a0fe205eb2e2cea",
126
- "sha256": "48de9b0a27092a03a783663ea9721b4f9bc6d95b3511424b6517b8eb62fbdd35"
127
- },
128
- {
129
- "path": "src/ui/GridDefinition.d.ts",
130
- "importedSha256": "09e3ede6fd6c140b600891ec1f0702cb8f95ccdefb518f5e925a1cb452a10f3c",
131
- "sha256": "09e3ede6fd6c140b600891ec1f0702cb8f95ccdefb518f5e925a1cb452a10f3c"
132
- },
133
- {
134
- "path": "src/ui/GridDefinition.js",
135
- "importedSha256": "dbdc1aeabb509a8d53701f82f890bd825b81779db70a31e7b518488d8674f3c2",
136
- "sha256": "dbdc1aeabb509a8d53701f82f890bd825b81779db70a31e7b518488d8674f3c2"
137
- },
138
- {
139
- "path": "src/ui/gridEditorFactory.js",
140
- "importedSha256": null,
141
- "sha256": "babfe58949983e8a5311a59e577f95c4c66d13e22a258f41a1906ceadd3a97a1"
142
- },
143
- {
144
- "path": "src/ui/gridEditorLifecycle.js",
145
- "importedSha256": "df91b0bf754dddc34718ffc485b2a5c124ca037a5966f6cdebf55a569474e42f",
146
- "sha256": "ebea1a8d259b3857307ece7a8ce4578c1aa5cd2159a40d371e25fd5929b7698a"
147
- },
148
- {
149
- "path": "src/ui/GridEditors.d.ts",
150
- "importedSha256": "5caee5c609f7835baf8a12e75fed14cf4fd2839fea9c75a7b4ba8624f741243c",
151
- "sha256": "5caee5c609f7835baf8a12e75fed14cf4fd2839fea9c75a7b4ba8624f741243c"
152
- },
153
- {
154
- "path": "src/ui/GridEditors.js",
155
- "importedSha256": "40864c67ff0ea5dcbdde46faed0f940244e46b9e20cdfd8f72782af0f8923ff6",
156
- "sha256": "df9a3edfcddda4d6c9f861834927f76a7b00d1323ff61e74aed9352f05ac5d57"
157
- },
158
- {
159
- "path": "src/ui/GridExporters.d.ts",
160
- "importedSha256": "de6254a2eb4e1d847fa17fc970eaaeedd657cf27aa513545080ea52a8eec3cb2",
161
- "sha256": "de6254a2eb4e1d847fa17fc970eaaeedd657cf27aa513545080ea52a8eec3cb2"
162
- },
163
- {
164
- "path": "src/ui/GridExporters.js",
165
- "importedSha256": "bcd8c7cfb85c42c63f7aa06643656882bdf1ec5002a29dc3c3be96fb1733556c",
166
- "sha256": "bcd8c7cfb85c42c63f7aa06643656882bdf1ec5002a29dc3c3be96fb1733556c"
167
- },
168
- {
169
- "path": "src/ui/gridIntrinsicWidth.js",
170
- "importedSha256": "af6ede1e4bc2922b8a4d6b9bcd9d4ea9ab36148d7e59ffaf0ee1bd4c44dc60bb",
171
- "sha256": "af6ede1e4bc2922b8a4d6b9bcd9d4ea9ab36148d7e59ffaf0ee1bd4c44dc60bb"
172
- },
173
- {
174
- "path": "src/ui/GridKeyboardController.js",
175
- "importedSha256": "4bf4f3221caecfbae2c13989f1b74352754a1731fe2ef0c82bbc1b6d0702f8bd",
176
- "sha256": "4bf4f3221caecfbae2c13989f1b74352754a1731fe2ef0c82bbc1b6d0702f8bd"
177
- },
178
- {
179
- "path": "src/ui/GridPortProvider.js",
180
- "importedSha256": "9ff560dc92909b5bd8bc5aeef6f3b7decc951f1a791eebdeebc98cf367b471f8",
181
- "sha256": "9ff560dc92909b5bd8bc5aeef6f3b7decc951f1a791eebdeebc98cf367b471f8"
182
- },
183
- {
184
- "path": "src/ui/GridPrimitives.js",
185
- "importedSha256": "984f2764a955a31154d63e8e2684448e45c0eebcd5d324d8df2cca37bcfe6d9c",
186
- "sha256": "984f2764a955a31154d63e8e2684448e45c0eebcd5d324d8df2cca37bcfe6d9c"
187
- },
188
- {
189
- "path": "src/ui/GridRowReorderController.js",
190
- "importedSha256": "dfb289d6824b2538ba98fae598a80aed5e6aecf5732231c31123506c6134bf42",
191
- "sha256": "83b559b6e08b7413033402e734df54a41748b6ba9a957b11b1debd230dcfd75b"
192
- },
193
- {
194
- "path": "src/ui/GridRowTransferController.js",
195
- "importedSha256": null,
196
- "sha256": "8c7f81379492176804323531e07c62fabd35647222a8304ed5adc77a22bc3f07"
197
- },
198
- {
199
- "path": "src/ui/GridSelectionController.js",
200
- "importedSha256": "6222148377cdf828f6a62a3d990eb451d682fbe915c3ecc86d3e9317e5afdc67",
201
- "sha256": "6222148377cdf828f6a62a3d990eb451d682fbe915c3ecc86d3e9317e5afdc67"
202
- },
203
- {
204
- "path": "src/ui/gridSelectionState.js",
205
- "importedSha256": null,
206
- "sha256": "a7e3ad53ad6e4b9329c3f3d3ab5a787e7db0143de1908f670b1489e273be03b1"
207
- },
208
- {
209
- "path": "src/ui/gridStringCompare.js",
210
- "importedSha256": "8ae6c19bdb406d6982360289a7ce09834b8f59d69f1a14e868a6ef6deeb4aa47",
211
- "sha256": "8ae6c19bdb406d6982360289a7ce09834b8f59d69f1a14e868a6ef6deeb4aa47"
212
- },
213
- {
214
- "path": "src/ui/GridTreeMove.js",
215
- "importedSha256": null,
216
- "sha256": "91a120e346ce84a9fb310c1f3ff9a27e26aee4c828feecff0127441a9b02c61d"
217
- },
218
- {
219
- "path": "src/ui/GridVirtualRenderer.js",
220
- "importedSha256": "96d853915ff937fa6d45b74516a21657fd288b0fb70d720d8ce47bd47eac5a21",
221
- "sha256": "96d853915ff937fa6d45b74516a21657fd288b0fb70d720d8ce47bd47eac5a21"
222
- },
223
- {
224
- "path": "src/ui/gridWindowGeometry.js",
225
- "importedSha256": "48ef984c67dc8af60c12ce04ce507abbb18bff8011f23eda3b7827845cd588ec",
226
- "sha256": "48ef984c67dc8af60c12ce04ce507abbb18bff8011f23eda3b7827845cd588ec"
227
- },
228
- {
229
- "path": "src/ui/GridWindowRenderer.js",
230
- "importedSha256": "a0739154a5ad0efee4477020beb2a16de07503caaa372ef474eac4ba1c5adbd4",
231
- "sha256": "79e482be490ef07d1be207120f6c6492afbfe2e751bb34994cefdfcf9bfda896"
232
- },
233
- {
234
- "path": "src/ui/TreeGrid.d.ts",
235
- "importedSha256": "607eefa426cb9b06147ddff9bac4454b349cd3237c44b69a819bdbc2f3d12512",
236
- "sha256": "09e444b3affd4fd2920cd34786d5003927770ea3555e9ec45eca3b79a4a086dc"
237
- },
238
- {
239
- "path": "src/ui/TreeGrid.js",
240
- "importedSha256": "4729994205f2fe3e2287f8931d41e813af328def5172fec05d5e8f60e31bdf11",
241
- "sha256": "4f763242c1d6a174a1b55c9aefe6d7df8dc4ba3cb7104964d6e3141033881fc7"
242
- }
243
- ]
244
- }
1
+ {
2
+ "schemaVersion": 1,
3
+ "packageVersion": "0.6.0-rc.5",
4
+ "changeSet": "macos-firefox-resize-editor-2026-11-07",
5
+ "note": "User-authorized and reviewed Grid/TreeGrid viewport-resize editor preservation. Only these two candidate hashes change; imported provenance and the other 45 candidate hashes are preserved.",
6
+ "importManifestSha256": "9d32c9bcbbafcce32f04719b4b095b6c8b8bed1230ae7bc47aeff18bc3150d67",
7
+ "files": [
8
+ {
9
+ "path": "src/core/GridColumnModel.d.ts",
10
+ "importedSha256": "43eb338c4a4d3ce219aacc78ed77ea438034138f8e3708b4309443f8f4398108",
11
+ "sha256": "43eb338c4a4d3ce219aacc78ed77ea438034138f8e3708b4309443f8f4398108"
12
+ },
13
+ {
14
+ "path": "src/core/GridColumnModel.js",
15
+ "importedSha256": "a2751e8fb7074a2786fa7280efd50003798ab8b0442abee44e01b6de5551c641",
16
+ "sha256": "a2751e8fb7074a2786fa7280efd50003798ab8b0442abee44e01b6de5551c641"
17
+ },
18
+ {
19
+ "path": "src/core/GridDataProvider.d.ts",
20
+ "importedSha256": "7533d9bd5e51d048234ebea6847056761c878ac2c17f99902f0ca3ced1d7e537",
21
+ "sha256": "7533d9bd5e51d048234ebea6847056761c878ac2c17f99902f0ca3ced1d7e537"
22
+ },
23
+ {
24
+ "path": "src/core/GridDataProvider.js",
25
+ "importedSha256": "2e68dc16491c576c2814b0cebdb88e6d2cd686f84681ca484cb91dbea6ae298f",
26
+ "sha256": "2e68dc16491c576c2814b0cebdb88e6d2cd686f84681ca484cb91dbea6ae298f"
27
+ },
28
+ {
29
+ "path": "src/core/GridFilterModel.d.ts",
30
+ "importedSha256": "12c5dad5287c96d8ac74345c2ce53b8dddc016a6412b13427b25f23de15d4b4b",
31
+ "sha256": "12c5dad5287c96d8ac74345c2ce53b8dddc016a6412b13427b25f23de15d4b4b"
32
+ },
33
+ {
34
+ "path": "src/core/GridFilterModel.js",
35
+ "importedSha256": "b634604e2b6d5547008adb09c05aaff7dea5f30d26415e0262f475bdb9db1776",
36
+ "sha256": "5dd4a969783669577b82d9b49a7a8a05477ac7e268adfea5a8b9760ccd3f3644"
37
+ },
38
+ {
39
+ "path": "src/core/GridGroupModel.d.ts",
40
+ "importedSha256": "c723efbcf4b5d4e749b6c9109585cabe6044583e033ea3c0a6e2a1c7fdffc24f",
41
+ "sha256": "c723efbcf4b5d4e749b6c9109585cabe6044583e033ea3c0a6e2a1c7fdffc24f"
42
+ },
43
+ {
44
+ "path": "src/core/GridGroupModel.js",
45
+ "importedSha256": "f39c309995ae3d0d173539f446953abc47a7986407f5774c8d5f00663026ab81",
46
+ "sha256": "f39c309995ae3d0d173539f446953abc47a7986407f5774c8d5f00663026ab81"
47
+ },
48
+ {
49
+ "path": "src/core/GridSearchModel.d.ts",
50
+ "importedSha256": "a9a39631e992426a5d97ef195d8e97d027a1fedce9e350bcab8a2bb83c3fc0c8",
51
+ "sha256": "a9a39631e992426a5d97ef195d8e97d027a1fedce9e350bcab8a2bb83c3fc0c8"
52
+ },
53
+ {
54
+ "path": "src/core/GridSearchModel.js",
55
+ "importedSha256": "13bd03aea152dca652c6376df101d8871ecc39a6b2b87dfc611495fd62a573e0",
56
+ "sha256": "13bd03aea152dca652c6376df101d8871ecc39a6b2b87dfc611495fd62a573e0"
57
+ },
58
+ {
59
+ "path": "src/ui/grid-api.d.ts",
60
+ "importedSha256": "f84203207e2cd58cf38f155e28c618d2110cab77cd4f4cfa8320450e8c8d6528",
61
+ "sha256": "f84203207e2cd58cf38f155e28c618d2110cab77cd4f4cfa8320450e8c8d6528"
62
+ },
63
+ {
64
+ "path": "src/ui/grid-api.js",
65
+ "importedSha256": "e81e6a2d0683110975aff7a6b6c90eb77f8bc5faefdcc2168c23cb14120878d3",
66
+ "sha256": "e81e6a2d0683110975aff7a6b6c90eb77f8bc5faefdcc2168c23cb14120878d3"
67
+ },
68
+ {
69
+ "path": "src/ui/grid-columns.d.ts",
70
+ "importedSha256": "9ab4be82bef2ba8bcc64e110684a361a3c75d631d4a036ce84e7164f6ed8aaf7",
71
+ "sha256": "9ab4be82bef2ba8bcc64e110684a361a3c75d631d4a036ce84e7164f6ed8aaf7"
72
+ },
73
+ {
74
+ "path": "src/ui/grid-controllers.d.ts",
75
+ "importedSha256": "d5a3a8b594cf1c52d5584d400ca4134f58109cb60b4190ac385d51b9d8cd084b",
76
+ "sha256": "d5a3a8b594cf1c52d5584d400ca4134f58109cb60b4190ac385d51b9d8cd084b"
77
+ },
78
+ {
79
+ "path": "src/ui/grid-editor-contracts.d.ts",
80
+ "importedSha256": "e6398ea5197fb9b83f2e120105ab5d3f2243e2a2000f4b4b79e9c80eb9b8b90b",
81
+ "sha256": "997577e61823ef127b700d7a5355e4d8ddc5f6f75d261157bad1567813f56dd4"
82
+ },
83
+ {
84
+ "path": "src/ui/grid-editor-options.d.ts",
85
+ "importedSha256": "248269880ba7b41fbe9aac2c529883f08c6723eb8c2238d4302eee2ad22561ab",
86
+ "sha256": "248269880ba7b41fbe9aac2c529883f08c6723eb8c2238d4302eee2ad22561ab"
87
+ },
88
+ {
89
+ "path": "src/ui/grid-events.d.ts",
90
+ "importedSha256": "5e49ed77c18e54050ad8510027b842355bdc8d6c7e3518b239d03f65c3984ddb",
91
+ "sha256": "0989ad858b3f6fcdbdb68b917ea98fc9a5205eb130015e9efc5032601b844fc7"
92
+ },
93
+ {
94
+ "path": "src/ui/grid-options.d.ts",
95
+ "importedSha256": "1a524fd77bb1ada57fa7f7c592451d50fc76821862554b53a5b847073ef163a6",
96
+ "sha256": "e3cc34d3252af5cf33a38883fc4092590610d824d210438ec123cc9ec912bf13"
97
+ },
98
+ {
99
+ "path": "src/ui/Grid.d.ts",
100
+ "importedSha256": "92a5812425cfaf1d9b37f025ba5f872762f46561ded821e35ca0060240b1d96c",
101
+ "sha256": "070b55a7969dd8dfd6724d96b307d445cbd1a530a75a4edf89388c464418e329"
102
+ },
103
+ {
104
+ "path": "src/ui/Grid.js",
105
+ "importedSha256": "8784367eb52a32ad3799286b1a7730c3373ad60544e1f22f90bd3efa5a7e497a",
106
+ "sha256": "646bf4902a17d068896204d64de68bcf967bc8ac70208d82b891221385599690"
107
+ },
108
+ {
109
+ "path": "src/ui/GridColumnReorderController.js",
110
+ "importedSha256": "66805751a1e0bbddf98dd411957f8b54a0dea6e866edca35d2775172add8cc54",
111
+ "sha256": "2c5eade62f5e93a7d9c7a27e6b948077cec1b84e9f7a6fdd23b9baf057832677"
112
+ },
113
+ {
114
+ "path": "src/ui/GridColumnResizer.js",
115
+ "importedSha256": "603a1ae606f842ca8016acafec4d80b3cd2ee85d2911281b1e286a2a58d9b693",
116
+ "sha256": "603a1ae606f842ca8016acafec4d80b3cd2ee85d2911281b1e286a2a58d9b693"
117
+ },
118
+ {
119
+ "path": "src/ui/GridCore.d.ts",
120
+ "importedSha256": "add4c7e74c35082802014f795501f98eef2a537de2eb9ae74c50171c80678515",
121
+ "sha256": "fe2cc9870b9ab583618755998baf4450fea3118a5b6ad5e2ea5d1c8a03b44631"
122
+ },
123
+ {
124
+ "path": "src/ui/GridCore.js",
125
+ "importedSha256": "c1da1e53a90741efa1714aabeef3495736d10f92a740c8416a0fe205eb2e2cea",
126
+ "sha256": "48de9b0a27092a03a783663ea9721b4f9bc6d95b3511424b6517b8eb62fbdd35"
127
+ },
128
+ {
129
+ "path": "src/ui/GridDefinition.d.ts",
130
+ "importedSha256": "09e3ede6fd6c140b600891ec1f0702cb8f95ccdefb518f5e925a1cb452a10f3c",
131
+ "sha256": "09e3ede6fd6c140b600891ec1f0702cb8f95ccdefb518f5e925a1cb452a10f3c"
132
+ },
133
+ {
134
+ "path": "src/ui/GridDefinition.js",
135
+ "importedSha256": "dbdc1aeabb509a8d53701f82f890bd825b81779db70a31e7b518488d8674f3c2",
136
+ "sha256": "dbdc1aeabb509a8d53701f82f890bd825b81779db70a31e7b518488d8674f3c2"
137
+ },
138
+ {
139
+ "path": "src/ui/gridEditorFactory.js",
140
+ "importedSha256": null,
141
+ "sha256": "babfe58949983e8a5311a59e577f95c4c66d13e22a258f41a1906ceadd3a97a1"
142
+ },
143
+ {
144
+ "path": "src/ui/gridEditorLifecycle.js",
145
+ "importedSha256": "df91b0bf754dddc34718ffc485b2a5c124ca037a5966f6cdebf55a569474e42f",
146
+ "sha256": "ebea1a8d259b3857307ece7a8ce4578c1aa5cd2159a40d371e25fd5929b7698a"
147
+ },
148
+ {
149
+ "path": "src/ui/GridEditors.d.ts",
150
+ "importedSha256": "5caee5c609f7835baf8a12e75fed14cf4fd2839fea9c75a7b4ba8624f741243c",
151
+ "sha256": "5caee5c609f7835baf8a12e75fed14cf4fd2839fea9c75a7b4ba8624f741243c"
152
+ },
153
+ {
154
+ "path": "src/ui/GridEditors.js",
155
+ "importedSha256": "40864c67ff0ea5dcbdde46faed0f940244e46b9e20cdfd8f72782af0f8923ff6",
156
+ "sha256": "df9a3edfcddda4d6c9f861834927f76a7b00d1323ff61e74aed9352f05ac5d57"
157
+ },
158
+ {
159
+ "path": "src/ui/GridExporters.d.ts",
160
+ "importedSha256": "de6254a2eb4e1d847fa17fc970eaaeedd657cf27aa513545080ea52a8eec3cb2",
161
+ "sha256": "de6254a2eb4e1d847fa17fc970eaaeedd657cf27aa513545080ea52a8eec3cb2"
162
+ },
163
+ {
164
+ "path": "src/ui/GridExporters.js",
165
+ "importedSha256": "bcd8c7cfb85c42c63f7aa06643656882bdf1ec5002a29dc3c3be96fb1733556c",
166
+ "sha256": "bcd8c7cfb85c42c63f7aa06643656882bdf1ec5002a29dc3c3be96fb1733556c"
167
+ },
168
+ {
169
+ "path": "src/ui/gridIntrinsicWidth.js",
170
+ "importedSha256": "af6ede1e4bc2922b8a4d6b9bcd9d4ea9ab36148d7e59ffaf0ee1bd4c44dc60bb",
171
+ "sha256": "af6ede1e4bc2922b8a4d6b9bcd9d4ea9ab36148d7e59ffaf0ee1bd4c44dc60bb"
172
+ },
173
+ {
174
+ "path": "src/ui/GridKeyboardController.js",
175
+ "importedSha256": "4bf4f3221caecfbae2c13989f1b74352754a1731fe2ef0c82bbc1b6d0702f8bd",
176
+ "sha256": "4bf4f3221caecfbae2c13989f1b74352754a1731fe2ef0c82bbc1b6d0702f8bd"
177
+ },
178
+ {
179
+ "path": "src/ui/GridPortProvider.js",
180
+ "importedSha256": "9ff560dc92909b5bd8bc5aeef6f3b7decc951f1a791eebdeebc98cf367b471f8",
181
+ "sha256": "9ff560dc92909b5bd8bc5aeef6f3b7decc951f1a791eebdeebc98cf367b471f8"
182
+ },
183
+ {
184
+ "path": "src/ui/GridPrimitives.js",
185
+ "importedSha256": "984f2764a955a31154d63e8e2684448e45c0eebcd5d324d8df2cca37bcfe6d9c",
186
+ "sha256": "984f2764a955a31154d63e8e2684448e45c0eebcd5d324d8df2cca37bcfe6d9c"
187
+ },
188
+ {
189
+ "path": "src/ui/GridRowReorderController.js",
190
+ "importedSha256": "dfb289d6824b2538ba98fae598a80aed5e6aecf5732231c31123506c6134bf42",
191
+ "sha256": "83b559b6e08b7413033402e734df54a41748b6ba9a957b11b1debd230dcfd75b"
192
+ },
193
+ {
194
+ "path": "src/ui/GridRowTransferController.js",
195
+ "importedSha256": null,
196
+ "sha256": "8c7f81379492176804323531e07c62fabd35647222a8304ed5adc77a22bc3f07"
197
+ },
198
+ {
199
+ "path": "src/ui/GridSelectionController.js",
200
+ "importedSha256": "6222148377cdf828f6a62a3d990eb451d682fbe915c3ecc86d3e9317e5afdc67",
201
+ "sha256": "6222148377cdf828f6a62a3d990eb451d682fbe915c3ecc86d3e9317e5afdc67"
202
+ },
203
+ {
204
+ "path": "src/ui/gridSelectionState.js",
205
+ "importedSha256": null,
206
+ "sha256": "a7e3ad53ad6e4b9329c3f3d3ab5a787e7db0143de1908f670b1489e273be03b1"
207
+ },
208
+ {
209
+ "path": "src/ui/gridStringCompare.js",
210
+ "importedSha256": "8ae6c19bdb406d6982360289a7ce09834b8f59d69f1a14e868a6ef6deeb4aa47",
211
+ "sha256": "8ae6c19bdb406d6982360289a7ce09834b8f59d69f1a14e868a6ef6deeb4aa47"
212
+ },
213
+ {
214
+ "path": "src/ui/GridTreeMove.js",
215
+ "importedSha256": null,
216
+ "sha256": "91a120e346ce84a9fb310c1f3ff9a27e26aee4c828feecff0127441a9b02c61d"
217
+ },
218
+ {
219
+ "path": "src/ui/GridVirtualRenderer.js",
220
+ "importedSha256": "96d853915ff937fa6d45b74516a21657fd288b0fb70d720d8ce47bd47eac5a21",
221
+ "sha256": "96d853915ff937fa6d45b74516a21657fd288b0fb70d720d8ce47bd47eac5a21"
222
+ },
223
+ {
224
+ "path": "src/ui/gridWindowGeometry.js",
225
+ "importedSha256": "48ef984c67dc8af60c12ce04ce507abbb18bff8011f23eda3b7827845cd588ec",
226
+ "sha256": "48ef984c67dc8af60c12ce04ce507abbb18bff8011f23eda3b7827845cd588ec"
227
+ },
228
+ {
229
+ "path": "src/ui/GridWindowRenderer.js",
230
+ "importedSha256": "a0739154a5ad0efee4477020beb2a16de07503caaa372ef474eac4ba1c5adbd4",
231
+ "sha256": "79e482be490ef07d1be207120f6c6492afbfe2e751bb34994cefdfcf9bfda896"
232
+ },
233
+ {
234
+ "path": "src/ui/TreeGrid.d.ts",
235
+ "importedSha256": "607eefa426cb9b06147ddff9bac4454b349cd3237c44b69a819bdbc2f3d12512",
236
+ "sha256": "09e444b3affd4fd2920cd34786d5003927770ea3555e9ec45eca3b79a4a086dc"
237
+ },
238
+ {
239
+ "path": "src/ui/TreeGrid.js",
240
+ "importedSha256": "4729994205f2fe3e2287f8931d41e813af328def5172fec05d5e8f60e31bdf11",
241
+ "sha256": "59c37c5e9c2a88c9242556dc7b8fa356c153bbe1d95b7d1d35fd7e77f42de3c2"
242
+ }
243
+ ]
244
+ }
@@ -32,7 +32,10 @@ reevaluates a function text source without emitting textChange. `setSpeed`, `set
32
32
  and `setPaused` return this, work before mount and reject after destroy. Invalid
33
33
  numeric settings throw before mutation. speed must be positive; gap/startDelay
34
34
  nonnegative. The owner cancels the animation and disconnects all observers/listeners
35
- on destroy. No animation/measurement promise survives teardown.
35
+ on destroy. No animation or measurement runs after teardown. Native font-ready
36
+ promises cannot be canceled, but their continuations are guarded against
37
+ measurement after destruction. Font loading/completion/error subscriptions are
38
+ released with the control.
36
39
 
37
40
  Tests: test/scrolling-label.test.js; browser-tests/scrolling-label.spec.js checks
38
41
  native mouse drag selection beyond both ends of a neighboring long TextInput,
@@ -10,6 +10,8 @@ export class OverlayManager {
10
10
  this._stackRevision = 0;
11
11
  this._pointerDown = event => this._handlePointerDown(event);
12
12
  this._keyDown = event => this._handleKeyDown(event);
13
+ this._tabKeyDown = event => this._handleTabKeyDown(event);
14
+ this._tabChecks = new Set();
13
15
  }
14
16
 
15
17
  getRoot() {
@@ -101,29 +103,78 @@ export class OverlayManager {
101
103
  _handleKeyDown(event) {
102
104
  const entry = this._entries.at(-1);
103
105
  if (!entry) return;
106
+ if (event.key === "Tab" && !event.isComposing && event.keyCode !== 229) this._scheduleTabContainment(event.shiftKey);
104
107
  if (event.key === "Escape" && !event.isComposing && !event.defaultPrevented && entry.closeOnEscape) {
105
108
  event.preventDefault();
106
109
  this._requestClose(entry, "escape", event);
107
110
  return;
108
111
  }
109
- if (event.key === "Tab") {
110
- const index = this._entries.findLastIndex(item => item.modal);
111
- if (index >= 0) this._trapFocus(event, this._entries[index].element, this._entries.slice(index + 1).map(item => item.element));
112
- }
112
+ }
113
+
114
+ _scheduleTabContainment(shiftKey) {
115
+ const modal = this._entries.findLast(item => item.modal);
116
+ if (!modal) return;
117
+ // Editors may stop propagation and move focus outside the modal, or blur
118
+ // to BODY. Check after dispatch/default actions, not in a microtask that
119
+ // could run before the target's native event handlers.
120
+ const timer = setTimeout(() => {
121
+ this._tabChecks.delete(timer);
122
+ // A child popup may close during commit. Keep checking the same modal,
123
+ // but never steal focus after replacement, nesting, or close/reopen.
124
+ if (this._entries.findLast(item => item.modal) !== modal || !modal.element.isConnected ||
125
+ modal.element.closest('[hidden], [inert]')) return;
126
+ const index = this._entries.indexOf(modal);
127
+ if (index < 0) return;
128
+ const roots = this._entries.slice(index).map(item => item.element);
129
+ if (roots.some(root => root.contains(document.activeElement))) return;
130
+ this._trapFocus({ shiftKey, preventDefault() {} }, modal.element, roots.slice(1));
131
+ }, 0);
132
+ this._tabChecks.add(timer);
133
+ }
134
+
135
+ _handleTabKeyDown(event) {
136
+ // Window bubbling lets even document-level popup editors consume Tab first.
137
+ if (event.key !== "Tab" || event.defaultPrevented || event.isComposing || event.keyCode === 229) return;
138
+ const index = this._entries.findLastIndex(item => item.modal);
139
+ if (index >= 0) this._trapFocus(event, this._entries[index].element, this._entries.slice(index + 1).map(item => item.element));
113
140
  }
114
141
 
115
142
  _trapFocus(event, element, additional = []) {
116
- const focusable = [element, ...additional].flatMap(root => [...root.querySelectorAll(
117
- 'a[href], area[href], button, input, select, textarea, [tabindex], [contenteditable="true"]'
118
- )]).filter(item => item.tabIndex >= 0 && !item.matches(':disabled') &&
143
+ const candidates = [...new Set([element, ...additional].flatMap(root => [...root.querySelectorAll(
144
+ 'a[href], area[href], button, input, select, textarea, iframe, object, embed, summary, audio[controls], video[controls], [tabindex], [contenteditable]'
145
+ )]))].filter(item => (item.tabIndex >= 0 ||
146
+ // Editable hosts are native Tab stops despite a default tabIndex of -1.
147
+ // Nested editors inherit editability, but need an explicit tabindex.
148
+ (!item.hasAttribute('tabindex') && item.isContentEditable && !item.parentElement?.isContentEditable)) &&
149
+ !item.matches(':disabled') &&
119
150
  !item.closest('[hidden], [inert]') && item.getClientRects().length &&
120
151
  getComputedStyle(item).visibility !== 'hidden');
152
+ // Positive tabindex precedes zero; equal priorities follow document order.
153
+ candidates.sort((a, b) => {
154
+ const priority = (a.tabIndex > 0 ? a.tabIndex : Infinity) - (b.tabIndex > 0 ? b.tabIndex : Infinity);
155
+ if (priority) return priority;
156
+ const position = a.compareDocumentPosition(b);
157
+ return position & Node.DOCUMENT_POSITION_FOLLOWING ? -1
158
+ : position & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
159
+ });
160
+ const focusable = candidates.filter(item => {
161
+ if (!item.matches('input[type="radio"]') || !item.name) return true;
162
+ const group = candidates.filter(other => other.matches('input[type="radio"]') &&
163
+ other.name === item.name && other.form === item.form && other.getRootNode() === item.getRootNode());
164
+ // A radio group is one Tab stop. Preserve a directly focused member,
165
+ // otherwise enter its checked member (or the directional endpoint).
166
+ const representative = group.find(other => other === document.activeElement) ||
167
+ group.find(other => other.checked) || (event.shiftKey ? group.at(-1) : group[0]);
168
+ return item === representative;
169
+ });
121
170
  if (!focusable.length) { event.preventDefault(); element.focus({ preventScroll:true }); return; }
122
- const first = focusable[0];
123
- const last = focusable.at(-1);
124
- if (!focusable.includes(document.activeElement)) { event.preventDefault(); (event.shiftKey ? last : first).focus(); }
125
- else if (event.shiftKey && document.activeElement === first) { event.preventDefault(); last.focus(); }
126
- else if (!event.shiftKey && document.activeElement === last) { event.preventDefault(); first.focus(); }
171
+ // Native Tab can skip buttons on macOS WebKit, even from an interior
172
+ // control. Own every unconsumed step, not only the apparent boundaries.
173
+ const current = focusable.indexOf(document.activeElement);
174
+ const next = current < 0 ? (event.shiftKey ? focusable.length - 1 : 0)
175
+ : (current + (event.shiftKey ? -1 : 1) + focusable.length) % focusable.length;
176
+ event.preventDefault();
177
+ focusable[next].focus();
127
178
  }
128
179
 
129
180
  _syncStack() {
@@ -138,13 +189,17 @@ export class OverlayManager {
138
189
  if (this._listening) return;
139
190
  document.addEventListener("pointerdown", this._pointerDown, true);
140
191
  document.addEventListener("keydown", this._keyDown, true);
192
+ window.addEventListener("keydown", this._tabKeyDown);
141
193
  this._listening = true;
142
194
  }
143
195
 
144
196
  _stopListening() {
197
+ for (const timer of this._tabChecks) clearTimeout(timer);
198
+ this._tabChecks.clear();
145
199
  if (!this._listening || typeof document === "undefined") return;
146
200
  document.removeEventListener("pointerdown", this._pointerDown, true);
147
201
  document.removeEventListener("keydown", this._keyDown, true);
202
+ window.removeEventListener("keydown", this._tabKeyDown);
148
203
  this._listening = false;
149
204
  }
150
205
  }
package/src/ui/Grid.js CHANGED
@@ -567,6 +567,9 @@ export class Grid extends GridCore {
567
567
  footer.scrollLeft = body.scrollLeft;
568
568
 
569
569
  if (this.virtualRows || this.virtualColumns) {
570
+ // Layout can scroll a focused editor before ResizeObserver runs.
571
+ if (this._editing && (this._editing.viewportWidth !== body.clientWidth ||
572
+ this._editing.viewportHeight !== body.clientHeight)) this._afterResize();
570
573
  if (this._editing && (this._editing.scrollTop !== body.scrollTop || this._editing.scrollLeft !== body.scrollLeft)) {
571
574
  this._discardActiveEdit({
572
575
  origin: "user",
@@ -2588,6 +2591,8 @@ export class Grid extends GridCore {
2588
2591
  this._windowRenderer.scrollToColumn(this._editing.column.id);
2589
2592
  this._editing.scrollLeft = this._body.scrollLeft;
2590
2593
  this._editing.scrollTop = this._body.scrollTop;
2594
+ this._editing.viewportWidth = this._body.clientWidth;
2595
+ this._editing.viewportHeight = this._body.clientHeight;
2591
2596
  }
2592
2597
  this._windowRenderer.request();
2593
2598
  this._syncScrollbarGutter();
@@ -3495,6 +3500,8 @@ export class Grid extends GridCore {
3495
3500
  const editing = { item, id, column, editor, cellEditor, oldValue: value, cell,
3496
3501
  scrollTop: this._body?.scrollTop ?? 0, scrollLeft: this._body?.scrollLeft ?? 0, editorElement: host,
3497
3502
  origin: options.origin ?? "api", userAction: options.userAction === true };
3503
+ editing.viewportWidth = this._body?.clientWidth ?? 0;
3504
+ editing.viewportHeight = this._body?.clientHeight ?? 0;
3498
3505
  return mountGridEditor(this, editing, host, options,
3499
3506
  () => validTarget() && this._body?.contains(cell));
3500
3507
  }
@@ -28,6 +28,19 @@ export class ScrollingLabel extends LabelText {
28
28
  this._motion=matchMedia('(prefers-reduced-motion: reduce)');
29
29
  this.disposables.addEventListener(this._motion,'change',()=>this._measure());
30
30
  this.disposables.addEventListener(document,'visibilitychange',()=>this._syncPlayback());
31
+ // A fallback font can come and go between ResizeObserver deliveries, leaving
32
+ // its measured animation behind even when the final text size is unchanged.
33
+ if(document.fonts?.addEventListener) {
34
+ const measureFonts=()=>{if(!this.destroyed)this._measure();};
35
+ // WebKit can resolve ready without delivering loadingdone. Capture each
36
+ // loading cycle's promise; ready also waits for font-dependent layout.
37
+ const fonts=document.fonts;
38
+ const loadingFonts=()=>{fonts.ready?.then(measureFonts);};
39
+ this.disposables.addEventListener(fonts,'loading',loadingFonts);
40
+ this.disposables.addEventListener(fonts,'loadingdone',measureFonts);
41
+ this.disposables.addEventListener(fonts,'loadingerror',measureFonts);
42
+ if(fonts.status==='loading')loadingFonts();
43
+ }
31
44
  this._sizeObserver=new ResizeObserver(()=>this._measure());this._sizeObserver.observe(root);this._sizeObserver.observe(first);
32
45
  this._intersection=new IntersectionObserver(entries=>{if(this.destroyed)return;this._intersecting=entries[0]?.isIntersecting===true;this._syncPlayback();});this._intersection.observe(root);
33
46
  return root;
@@ -481,6 +481,12 @@ export class TreeGrid extends GridCore {
481
481
 
482
482
  if (this.virtualRows || this.virtualColumns) {
483
483
 
484
+ // Layout can scroll a focused editor before ResizeObserver runs.
485
+
486
+ if (this._editing && (this._editing.viewportWidth !== body.clientWidth ||
487
+
488
+ this._editing.viewportHeight !== body.clientHeight)) this._afterResize();
489
+
484
490
  if (this._editing && (this._editing.scrollTop !== body.scrollTop || this._editing.scrollLeft !== body.scrollLeft)) {
485
491
 
486
492
  this._discardActiveEdit({ origin: "user", reason: "scroll", userAction: true });
@@ -1116,6 +1122,10 @@ export class TreeGrid extends GridCore {
1116
1122
 
1117
1123
  scrollLeft: this._body?.scrollLeft ?? 0, oldValue: value, origin: options.origin ?? "api", userAction: options.userAction === true };
1118
1124
 
1125
+ editing.viewportWidth = this._body?.clientWidth ?? 0;
1126
+
1127
+ editing.viewportHeight = this._body?.clientHeight ?? 0;
1128
+
1119
1129
  return mountGridEditor(this, editing, host, options,
1120
1130
 
1121
1131
  () => validTarget() && this._body?.contains(cell), false);
@@ -1756,6 +1766,10 @@ export class TreeGrid extends GridCore {
1756
1766
 
1757
1767
  this._editing.scrollTop = this._body.scrollTop;
1758
1768
 
1769
+ this._editing.viewportWidth = this._body.clientWidth;
1770
+
1771
+ this._editing.viewportHeight = this._body.clientHeight;
1772
+
1759
1773
  }
1760
1774
 
1761
1775
  this._windowRenderer.request(); this._syncScrollbarGutter();
package/src/ui/dense.css CHANGED
@@ -1,2 +1,2 @@
1
- /* Compatibility stylesheet path; prefer taet-ui/taet-ui.css. */
2
- @import url("./taet-ui.css");
1
+ /* Compatibility stylesheet path; prefer taet-ui/taet-ui.css. */
2
+ @import url("./taet-ui.css");