@ai-matrx/records-ui 0.90.2 → 0.92.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 +45 -0
- package/dist/index.cjs +1407 -825
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +40 -8
- package/dist/index.d.ts +40 -8
- package/dist/index.js +2592 -2006
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records-ui
|
|
2
2
|
|
|
3
|
+
## 0.92.0 (2026-09-26 — the merged grid's chrome; lane C of the merged-grid review)
|
|
4
|
+
|
|
5
|
+
Needs `@ai-matrx/design-system` 0.46.0 (`toolbar.overflow`, `CHOICE_CHIP_CLASS`, number filter `op`).
|
|
6
|
+
|
|
7
|
+
- **Every toolbar control stays reachable.** The page row folds least-important first: your look's
|
|
8
|
+
doors → one menu; the layout chooser → ONE "Grid ▾" button that stays ON the row (it used to
|
|
9
|
+
leave the row at 1280 px and with the record panel open); the grid's own tools → the row's "…"
|
|
10
|
+
with Undo/Redo and New record kept beside it. On a phone the Tools sheet holds every control:
|
|
11
|
+
search, sort, the view filter, group by, the layout, columns, copy/export, Reorder, New record,
|
|
12
|
+
Share. One control height (32px).
|
|
13
|
+
- **Choice chips can be read.** Coloured options wear `CHOICE_CHIP_CLASS`; options with no colour
|
|
14
|
+
are a neutral chip, never bare text.
|
|
15
|
+
- **A new column lands at the end.** Declared one past the last column's `sort`; columns tie-break
|
|
16
|
+
by the order they were made, never by key; a view with a kept column order gets the new key
|
|
17
|
+
appended. "Add column" / "Create column" / "Save column" everywhere.
|
|
18
|
+
- **The header menu filters by what a column holds.** Choice columns list their options; number
|
|
19
|
+
columns compare (=, ≠, <, >, between, empty) and the store is asked the comparison; date columns
|
|
20
|
+
get the date filter.
|
|
21
|
+
- **Small ones.** Phone numbers are formatted; a URL is a link chip naming the site and the file;
|
|
22
|
+
an unchosen summary shows only on hover; a duplicate sits right below its source (and a
|
|
23
|
+
hand-ordered view writes that order).
|
|
24
|
+
|
|
25
|
+
## 0.91.0 (2026-09-26 — the merged grid keeps the person's hands; lane B of the merged-grid review)
|
|
26
|
+
|
|
27
|
+
Needs `@ai-matrx/design-system` 0.45.0 (`spreadsheet.controllerRef`, Space-to-open, paste fill).
|
|
28
|
+
|
|
29
|
+
- **Focus comes back.** Enter commits and the cursor moves down, Tab moves right (no chain of
|
|
30
|
+
editors), Escape stays — and the grid has the keyboard, so arrows and Cmd-Z work with no click
|
|
31
|
+
(`useGridEditing({ onEnded })` → the spreadsheet's `endEdit`).
|
|
32
|
+
- **The click model.** A pointer click selects the whole cell and never opens an editor or the
|
|
33
|
+
record; a double-click, Enter, F2 or typing opens the editor. One click on an already-selected
|
|
34
|
+
choice, multi-choice or person cell opens its list directly (`FieldControl autoOpen/onClose`); a
|
|
35
|
+
pick commits; no Save/Cancel form grows the row.
|
|
36
|
+
- **The record panel** opens from the row handle, Space or the menu, follows the cursor while open
|
|
37
|
+
(`Grid.openRecordId`, `ViewSwitcher.openRecordId`), shows the record's whole name on its own line,
|
|
38
|
+
and re-reads after every grid write (undo, paste, selection-bar changes announce the records).
|
|
39
|
+
- **Undo reaches everything.** Undo and Redo are both on the toolbar with their step counts; a
|
|
40
|
+
duplicate (undo archives the copy) and a delete (undo restores it) are steps; the notice floats
|
|
41
|
+
over the grid instead of pushing it down, and leaves by itself unless it is a refusal.
|
|
42
|
+
- **Paste is one step** into rows that exist — applied at once with an Undo notice; the preview
|
|
43
|
+
appears only when a paste would make rows or some cells are refused, and closes on a whole write.
|
|
44
|
+
- **A row is a row.** A table whose singular label is only its name says "row"/"rows" in the
|
|
45
|
+
merged grid ("2 rows selected").
|
|
46
|
+
- **"Who changed this?"** shows only on the active cell, beside the value, never selectable.
|
|
47
|
+
|
|
3
48
|
## 0.90.2
|
|
4
49
|
### Unreleased
|
|
5
50
|
|