@ai-matrx/design-system 0.49.41 → 0.49.42

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,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.49.42
4
+ ### Unreleased
5
+
6
+ - **A folded single-row toolbar carries its search in the "…"** (merged-grid leftovers, 2026-09-30): when the row is too narrow for its pinned group and everything folds behind ONE "…" (`usePinnedFold`), the search had stayed on the row, scrolled out of sight under the "…". It now rides the "…" first in the list (the phone sheet's `sheetTop` rule) and returns to the row when the row unfolds. Proof: `MatrxDataTable.pinned-whole-or-folded.test.tsx`. Consumer action: none.
7
+
3
8
  ## 0.49.41
4
9
 
5
10
  Automatic changed-only republish (docs/metadata drift since the last tag — see
@@ -52919,6 +52919,7 @@ function MatrxDataTableCore(coreProps) {
52919
52919
  );
52920
52920
  const pinnedFolded = usePinnedFold(pinnedEl, pinnedRowActive);
52921
52921
  const toolbarEnd = { node: null };
52922
+ const toolbarSearch = { node: null };
52922
52923
  const renderToolbarControls = (controls) => {
52923
52924
  toolbarEnd.node = null;
52924
52925
  const overflow = toolbar?.overflow;
@@ -52954,6 +52955,7 @@ function MatrxDataTableCore(coreProps) {
52954
52955
  ...folded ? { "data-matrx-table-toolbar-pinned-folded": "" } : {},
52955
52956
  className: "sticky right-0 z-[1] -ml-1 flex shrink-0 items-center gap-1 bg-background pl-1 before:pointer-events-none before:absolute before:inset-y-0 before:-left-6 before:w-6 before:bg-gradient-to-l before:from-background before:to-transparent",
52956
52957
  children: folded ? /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(ToolbarOverflowMenu, { children: [
52958
+ toolbarSearch.node ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { "data-matrx-table-toolbar-folded-search": "", "data-matrx-table-tools-keep-open": "", children: toolbarSearch.node }) : null,
52957
52959
  controls,
52958
52960
  overflow?.pinned,
52959
52961
  overflow?.sheetExtras
@@ -54525,7 +54527,7 @@ function MatrxDataTableCore(coreProps) {
54525
54527
  onApply: applyLatestSavedView
54526
54528
  }
54527
54529
  ) }) : void 0,
54528
- search: toolbar?.customSearch ?? (showSearch ? intelligentSearchEnabled ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
54530
+ search: (toolbarSearch.node = toolbar?.customSearch ?? (showSearch ? intelligentSearchEnabled ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
54529
54531
  TableSearch,
54530
54532
  {
54531
54533
  value: searchValue,
@@ -54596,7 +54598,7 @@ function MatrxDataTableCore(coreProps) {
54596
54598
  ] }) : null
54597
54599
  ]
54598
54600
  }
54599
- ) : null),
54601
+ ) : null), pinnedFolded && pinnedRowActive ? void 0 : toolbarSearch.node),
54600
54602
  children: [
54601
54603
  toolbar?.layeredFilters ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
54602
54604
  LayeredFilterBuilder,