@ai-matrx/design-system 0.49.40 → 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,16 @@
|
|
|
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
|
+
|
|
8
|
+
## 0.49.41
|
|
9
|
+
|
|
10
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
11
|
+
`git diff npm/design-system/v0.49.40..npm/design-system/v0.49.41 -- apps/shared/design-system`).
|
|
12
|
+
No source changes intended and no consumer action required.
|
|
13
|
+
|
|
3
14
|
## 0.49.40
|
|
4
15
|
|
|
5
16
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
@@ -44949,7 +44949,6 @@ function MatrxDrillAnswerTable({
|
|
|
44949
44949
|
const pivot = Boolean(question.across) && columns !== null && columns.length > 0;
|
|
44950
44950
|
const pivotSays = pivot && columns ? columns.find((c) => c.other && c.says)?.says ?? null : null;
|
|
44951
44951
|
const next = nextDrillLevel(question, dimensions, paths);
|
|
44952
|
-
const nextLabel = next ? dimensionRefLabel(dimensions, next) : null;
|
|
44953
44952
|
const byKeys = new Set(question.by.map((ref) => parseDimensionRef(ref).key));
|
|
44954
44953
|
const filteredKeys = new Set(question.where.map((w) => parseDimensionRef(w.dim).key));
|
|
44955
44954
|
const timeTaken = [...question.by, ...question.across ? [question.across] : []].some(
|
|
@@ -52920,6 +52919,7 @@ function MatrxDataTableCore(coreProps) {
|
|
|
52920
52919
|
);
|
|
52921
52920
|
const pinnedFolded = usePinnedFold(pinnedEl, pinnedRowActive);
|
|
52922
52921
|
const toolbarEnd = { node: null };
|
|
52922
|
+
const toolbarSearch = { node: null };
|
|
52923
52923
|
const renderToolbarControls = (controls) => {
|
|
52924
52924
|
toolbarEnd.node = null;
|
|
52925
52925
|
const overflow = toolbar?.overflow;
|
|
@@ -52955,6 +52955,7 @@ function MatrxDataTableCore(coreProps) {
|
|
|
52955
52955
|
...folded ? { "data-matrx-table-toolbar-pinned-folded": "" } : {},
|
|
52956
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",
|
|
52957
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,
|
|
52958
52959
|
controls,
|
|
52959
52960
|
overflow?.pinned,
|
|
52960
52961
|
overflow?.sheetExtras
|
|
@@ -54526,7 +54527,7 @@ function MatrxDataTableCore(coreProps) {
|
|
|
54526
54527
|
onApply: applyLatestSavedView
|
|
54527
54528
|
}
|
|
54528
54529
|
) }) : void 0,
|
|
54529
|
-
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)(
|
|
54530
54531
|
TableSearch,
|
|
54531
54532
|
{
|
|
54532
54533
|
value: searchValue,
|
|
@@ -54597,7 +54598,7 @@ function MatrxDataTableCore(coreProps) {
|
|
|
54597
54598
|
] }) : null
|
|
54598
54599
|
]
|
|
54599
54600
|
}
|
|
54600
|
-
) : null),
|
|
54601
|
+
) : null), pinnedFolded && pinnedRowActive ? void 0 : toolbarSearch.node),
|
|
54601
54602
|
children: [
|
|
54602
54603
|
toolbar?.layeredFilters ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
54603
54604
|
LayeredFilterBuilder,
|