@ai-matrx/design-system 0.42.0 → 0.43.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/data-table/copy-helpers.d.cts +1 -1
  3. package/dist/data-table/copy-helpers.d.ts +1 -1
  4. package/dist/data-table/filter-engine.d.cts +1 -1
  5. package/dist/data-table/filter-engine.d.ts +1 -1
  6. package/dist/data-table/host.d.cts +1 -1
  7. package/dist/data-table/host.d.ts +1 -1
  8. package/dist/data-table/index.cjs +1453 -1330
  9. package/dist/data-table/index.cjs.map +1 -1
  10. package/dist/data-table/index.d.cts +2 -2
  11. package/dist/data-table/index.d.ts +2 -2
  12. package/dist/data-table/index.js +1468 -1345
  13. package/dist/data-table/index.js.map +1 -1
  14. package/dist/data-table/infer-filter.d.cts +1 -1
  15. package/dist/data-table/infer-filter.d.ts +1 -1
  16. package/dist/data-table/layered-filters.d.cts +1 -1
  17. package/dist/data-table/layered-filters.d.ts +1 -1
  18. package/dist/data-table/query-control.d.cts +1 -1
  19. package/dist/data-table/query-control.d.ts +1 -1
  20. package/dist/data-table/spreadsheet.cjs +68 -1
  21. package/dist/data-table/spreadsheet.cjs.map +1 -1
  22. package/dist/data-table/spreadsheet.d.cts +55 -1
  23. package/dist/data-table/spreadsheet.d.ts +55 -1
  24. package/dist/data-table/spreadsheet.js +68 -1
  25. package/dist/data-table/spreadsheet.js.map +1 -1
  26. package/dist/data-table/types.cjs.map +1 -1
  27. package/dist/data-table/types.d.cts +1 -1
  28. package/dist/data-table/types.d.ts +1 -1
  29. package/dist/data-table/url-state.d.cts +1 -1
  30. package/dist/data-table/url-state.d.ts +1 -1
  31. package/dist/data-table/xlsx.d.cts +1 -1
  32. package/dist/data-table/xlsx.d.ts +1 -1
  33. package/dist/index.cjs +534 -468
  34. package/dist/index.cjs.map +1 -1
  35. package/dist/index.d.cts +67 -1
  36. package/dist/index.d.ts +67 -1
  37. package/dist/index.js +541 -475
  38. package/dist/index.js.map +1 -1
  39. package/dist/{types-afUz93xo.d.ts → types-CUR8Hbt5.d.ts} +12 -0
  40. package/dist/{types-q5ficDSo.d.cts → types-CqU57qk8.d.cts} +12 -0
  41. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,43 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.43.0 (2026-09-26 — type-to-edit in spreadsheet mode)
4
+
5
+ * **Type to edit, for every table in spreadsheet mode.** The grid's keyboard focus now lives in a
6
+ hidden TYPE CATCHER textarea inside the scroll container (`[data-matrx-type-catcher]`,
7
+ `inputMode="none"`), so text that never arrives as a one-character keydown — an IME
8
+ composition, an Option / AltGr character, a dead-key accent, dictation, insertText — still opens
9
+ the selected cell's editor seeded with it. A paste or drop into the catcher is never a seed; a
10
+ space alone opens nothing; a `readOnly` grid takes nothing. Grid keys still bubble to the
11
+ container exactly as before (`targetsAnEditor` excludes the catcher). New hook return
12
+ `typeCatcherProps` and `containerProps.onFocus` (Tab into the grid lands in the catcher).
13
+ * **`spreadsheet.onEditRequest(address, seed)`** — a consumer whose cells carry their own editor
14
+ (no `editable` on the column) is asked to open it, with what was typed (`null` for Enter/F2).
15
+ Test: `MatrxDataTable.type-to-edit.test.tsx` (RED 6/6 on 0.42.1 → GREEN 6/6; data-table 667/667).
16
+
17
+ ## 0.42.1
18
+ ### Unreleased
19
+
20
+ ### Error actions on every package error (RC-B12, 2026-09-26)
21
+
22
+ * **`ErrorBox`** — the one way a package draws an error: a `role="alert"` element in
23
+ the caller's tag and classes (`as`, `className`, children unchanged) that renders the
24
+ host's error actions after its content. **`ErrorActionsProvider render={...}`** is the
25
+ host slot (mount once at the app root); **`ErrorActions`** places the slot inside a
26
+ box you do not draw; **`useErrorActions`**, types `ErrorActionsInput` (message, title,
27
+ error, operation, records, unsavedInput, origin) and `ErrorActionsRenderer`. No
28
+ provider = nothing extra renders.
29
+ * **Wired:** destructive `Alert`; `OrganizationPicker` load failure; `MatrxDataTable`
30
+ saved-view, toolbar-action and load-more errors; `SavedViewsControl` errors.
31
+ * **One context across bundles:** the context lives under
32
+ `Symbol.for("@ai-matrx/design-system/error-actions")`, because tsup inlines the file
33
+ into `.` and `./data-table` separately (a plain context would never reach the table).
34
+ * **Guard:** `error-box.census.test.ts` fails on a bare error `role="alert"` in
35
+ design-system or associations sources.
36
+
37
+ **Consumer action:** hosts that want actions on package errors mount
38
+ `ErrorActionsProvider` once. matrx-frontend mounts it in `AlchemyHost` and drops its
39
+ own destructive-`Alert` wrapper (the package now carries the slot).
40
+
3
41
  ## 0.42.0 (2026-09-25)
4
42
 
5
43
  ### Lane data-tables-grid-overhaul — merge step 3 (2026-09-25)
@@ -2804,3 +2842,4 @@ New dependencies: `@radix-ui/react-dialog`, `@radix-ui/react-popover`,
2804
2842
 
2805
2843
  - Added Button, Badge, Label, Separator, and `cn` as the first shared semantic UI foundation.
2806
2844
  - Added strict TypeScript, SSR-focused tests, package linting, declaration analysis, and isolated tarball import verification.
2845
+
@@ -1,5 +1,5 @@
1
1
  import { AgentPayloadInput } from './copy-types.cjs';
2
- import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../types-q5ficDSo.cjs';
2
+ import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../types-CqU57qk8.cjs';
3
3
  import '../content-transfer.cjs';
4
4
  import 'react';
5
5
  import '@ai-matrx/kit/content-transfer';
@@ -1,5 +1,5 @@
1
1
  import { AgentPayloadInput } from './copy-types.js';
2
- import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../types-afUz93xo.js';
2
+ import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../types-CUR8Hbt5.js';
3
3
  import '../content-transfer.js';
4
4
  import 'react';
5
5
  import '@ai-matrx/kit/content-transfer';
@@ -1,4 +1,4 @@
1
- import { M as MatrxColumnDef, C as ColumnFiltersState, S as SortState, L as LayeredFilterRule, T as TableSearchMatchMode, a as ColumnFilterValue } from '../types-q5ficDSo.cjs';
1
+ import { M as MatrxColumnDef, C as ColumnFiltersState, S as SortState, L as LayeredFilterRule, T as TableSearchMatchMode, a as ColumnFilterValue } from '../types-CqU57qk8.cjs';
2
2
  import '../content-transfer.cjs';
3
3
  import 'react';
4
4
  import '@ai-matrx/kit/content-transfer';
@@ -1,4 +1,4 @@
1
- import { M as MatrxColumnDef, C as ColumnFiltersState, S as SortState, L as LayeredFilterRule, T as TableSearchMatchMode, a as ColumnFilterValue } from '../types-afUz93xo.js';
1
+ import { M as MatrxColumnDef, C as ColumnFiltersState, S as SortState, L as LayeredFilterRule, T as TableSearchMatchMode, a as ColumnFilterValue } from '../types-CUR8Hbt5.js';
2
2
  import '../content-transfer.js';
3
3
  import 'react';
4
4
  import '@ai-matrx/kit/content-transfer';
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { ComponentType, ReactNode, MouseEventHandler } from 'react';
3
3
  import { CopyControlProps } from './copy-types.cjs';
4
4
  export { AgentPayloadInput, AiCustomSource, AiVariant, CopyExportConfig } from './copy-types.cjs';
5
- import { b as TableSavedViewsProps, c as MatrxDataTableDensity, d as MatrxDataTableRecordControls } from '../types-q5ficDSo.cjs';
5
+ import { b as TableSavedViewsProps, c as MatrxDataTableDensity, d as MatrxDataTableRecordControls } from '../types-CqU57qk8.cjs';
6
6
  import { MatrxTableMenuTarget, MatrxTableMenuPayload, MatrxTableMenuSectionsResolver, MatrxTableMenuIconName } from './menu-targets.cjs';
7
7
  export { MatrxTableMenuItem, MatrxTableMenuSection } from './menu-targets.cjs';
8
8
  import '../content-transfer.cjs';
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { ComponentType, ReactNode, MouseEventHandler } from 'react';
3
3
  import { CopyControlProps } from './copy-types.js';
4
4
  export { AgentPayloadInput, AiCustomSource, AiVariant, CopyExportConfig } from './copy-types.js';
5
- import { b as TableSavedViewsProps, c as MatrxDataTableDensity, d as MatrxDataTableRecordControls } from '../types-afUz93xo.js';
5
+ import { b as TableSavedViewsProps, c as MatrxDataTableDensity, d as MatrxDataTableRecordControls } from '../types-CUR8Hbt5.js';
6
6
  import { MatrxTableMenuTarget, MatrxTableMenuPayload, MatrxTableMenuSectionsResolver, MatrxTableMenuIconName } from './menu-targets.js';
7
7
  export { MatrxTableMenuItem, MatrxTableMenuSection } from './menu-targets.js';
8
8
  import '../content-transfer.js';