@ai-matrx/design-system 0.15.1 → 0.16.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/CHANGELOG.md CHANGED
@@ -1,5 +1,44 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.16.0 — 2026-09-11
4
+
5
+ `ConfirmDialogHost` now rides the shared opener primitive instead of its own
6
+ copy of the machinery: `useOpenerHost` from `@ai-matrx/kit/opener-react`
7
+ (kit 0.10.0) supplies the host registration, the ref-backed request queue, the
8
+ drain effect and the settle-once callback, and this package keeps only what was
9
+ ever its own — the dialog body, its motion layer and the themed scrim.
10
+
11
+ The same twenty lines lived here AND in three matrx-frontend dialog hosts;
12
+ package logic is never duplicated outside the package, and a host registry in
13
+ particular must never be re-implemented, because module-level host state
14
+ silently splits across ESM/CJS loader graphs.
15
+
16
+ Behaviour is unchanged and proven unchanged: all 17 confirm-surface tests —
17
+ imperative queueing, pre-mount calls, sequential presentation, the
18
+ never-resolve-silently rule, the destructive variant and the consequence-first
19
+ copy contract — pass untouched against the new host.
20
+
21
+ ### Consumer action
22
+
23
+ None. `<ConfirmDialogHost />` mounts and behaves exactly as before. Requires
24
+ `@ai-matrx/kit` 0.10.0 or later.
25
+
26
+ ## 0.15.2 — 2026-09-11
27
+
28
+ Editable append tables retain unsaved drafts by source identity. Returning to the
29
+ same query restores them; previous-result drafts can be copied or explicitly
30
+ discarded. Save completions are scoped so an older request cannot clear newer
31
+ edits or another query's saving state. Concurrent cell saves and immediate
32
+ callback failures are covered by regression tests. Explicit select filters also
33
+ retain every distinct value already loaded, removing a silent 500-option cutoff.
34
+
35
+ ### Consumer action
36
+
37
+ Upgrade before enabling editable `controlled-append` tables. Include every source
38
+ and identity dimension in the pagination query key. Drafts remain in component
39
+ memory; applications still own persistence and component lifetime. Existing
40
+ local and exact-page modes keep their query contracts.
41
+
3
42
  ## 0.15.1 — 2026-09-11
4
43
 
5
44
  The unpublished 0.15.0 candidate caught a clean-checkout test-order defect.
package/README.md CHANGED
@@ -162,3 +162,9 @@ Framework-specific identity ports are optional via
162
162
  `@ai-matrx/design-system/data-table/host`. Utilities and types have dedicated
163
163
  subpaths listed in the export map. The package retains copy/subset/export, row
164
164
  windows, hierarchy, selection, inline editing, and accessible manual pagination.
165
+
166
+ Editable append tables keep drafts separately for each query identity during the
167
+ component lifetime. A return to that identity restores its drafts; drafts from
168
+ other results offer Copy and confirmed Discard, never a save against the current
169
+ rows. Applications own persistence across unmounts and must remount the table
170
+ when changing authenticated users so prior-user drafts are not exposed.