@ai-matrx/design-system 0.19.9 → 0.19.11

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,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.19.11 — 2026-09-13
4
+
5
+ Table footer minimum height now follows the active density while preserving multiline footer content, removing extra wrapper gaps around compact and normal controls.
6
+
7
+ ### Consumer action
8
+
9
+ Update `@ai-matrx/design-system`; no host API change is required.
10
+
11
+ ## 0.19.10 — 2026-09-13
12
+
13
+ Density-aware action columns now measure their own visible action content, so explicit column resizing does not retain a spacious-width action cell after switching density. Saved-view controls use 32px, 36px, or 44px targets for compact, normal, or spacious tables.
14
+
15
+ ### Consumer action
16
+
17
+ Update `@ai-matrx/design-system`; no host API change is required.
18
+
3
19
  ## 0.19.9 — 2026-09-13
4
20
 
5
21
  MatrxDataTable now supports scoped compact, normal, and spacious density with matching row, action, pagination, selection, and tap-target geometry. Hosts may set `defaultDensity` through the table host contract.
@@ -8512,7 +8512,17 @@ function MatrxDataTableCore({
8512
8512
  0
8513
8513
  );
8514
8514
  const selectionWidth = widthFor("th[data-matrx-table-selection-column]");
8515
- const actionsWidth = widthFor("th[data-matrx-table-actions-column]");
8515
+ const headerActionsWidth = widthFor("th[data-matrx-table-actions-column]");
8516
+ const visibleActionStrips = Array.from(
8517
+ table?.querySelectorAll("[data-matrx-table-row-actions]") ?? []
8518
+ ).filter(
8519
+ (element) => element.closest("table") === table && element.getClientRects().length > 0
8520
+ );
8521
+ const actionContentWidth = Math.max(
8522
+ 0,
8523
+ ...visibleActionStrips.map((element) => Math.ceil(element.scrollWidth))
8524
+ );
8525
+ const actionsWidth = actionContentWidth || headerActionsWidth;
8516
8526
  return {
8517
8527
  ...headerTotal > 0 ? { tableWidth: Math.ceil(headerTotal) } : {},
8518
8528
  ...selectionWidth === void 0 ? {} : { selectionWidth },
@@ -9430,7 +9440,7 @@ function MatrxDataTableCore({
9430
9440
  TableTitleRow,
9431
9441
  {
9432
9442
  ...toolbar?.title === void 0 ? {} : { title: toolbar.title },
9433
- context: tableId && SavedViews ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
9443
+ context: tableId && SavedViews ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("span", { "data-matrx-table-view-control": true, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
9434
9444
  SavedViews,
9435
9445
  {
9436
9446
  tableId,
@@ -9438,7 +9448,7 @@ function MatrxDataTableCore({
9438
9448
  defaultSnapshot: declaredDefaultViewSnapshot,
9439
9449
  onApply: applySavedView
9440
9450
  }
9441
- ) : void 0,
9451
+ ) }) : void 0,
9442
9452
  search: showSearch ? intelligentSearchEnabled ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
9443
9453
  TableSearch,
9444
9454
  {