@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.
@@ -44824,7 +44824,6 @@ function MatrxDrillAnswerTable({
44824
44824
  const pivot = Boolean(question.across) && columns !== null && columns.length > 0;
44825
44825
  const pivotSays = pivot && columns ? columns.find((c) => c.other && c.says)?.says ?? null : null;
44826
44826
  const next = nextDrillLevel(question, dimensions, paths);
44827
- const nextLabel = next ? dimensionRefLabel(dimensions, next) : null;
44828
44827
  const byKeys = new Set(question.by.map((ref) => parseDimensionRef(ref).key));
44829
44828
  const filteredKeys = new Set(question.where.map((w) => parseDimensionRef(w.dim).key));
44830
44829
  const timeTaken = [...question.by, ...question.across ? [question.across] : []].some(
@@ -52808,6 +52807,7 @@ function MatrxDataTableCore(coreProps) {
52808
52807
  );
52809
52808
  const pinnedFolded = usePinnedFold(pinnedEl, pinnedRowActive);
52810
52809
  const toolbarEnd = { node: null };
52810
+ const toolbarSearch = { node: null };
52811
52811
  const renderToolbarControls = (controls) => {
52812
52812
  toolbarEnd.node = null;
52813
52813
  const overflow = toolbar?.overflow;
@@ -52843,6 +52843,7 @@ function MatrxDataTableCore(coreProps) {
52843
52843
  ...folded ? { "data-matrx-table-toolbar-pinned-folded": "" } : {},
52844
52844
  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",
52845
52845
  children: folded ? /* @__PURE__ */ jsxs45(ToolbarOverflowMenu, { children: [
52846
+ toolbarSearch.node ? /* @__PURE__ */ jsx56("div", { "data-matrx-table-toolbar-folded-search": "", "data-matrx-table-tools-keep-open": "", children: toolbarSearch.node }) : null,
52846
52847
  controls,
52847
52848
  overflow?.pinned,
52848
52849
  overflow?.sheetExtras
@@ -54414,7 +54415,7 @@ function MatrxDataTableCore(coreProps) {
54414
54415
  onApply: applyLatestSavedView
54415
54416
  }
54416
54417
  ) }) : void 0,
54417
- search: toolbar?.customSearch ?? (showSearch ? intelligentSearchEnabled ? /* @__PURE__ */ jsx56(
54418
+ search: (toolbarSearch.node = toolbar?.customSearch ?? (showSearch ? intelligentSearchEnabled ? /* @__PURE__ */ jsx56(
54418
54419
  TableSearch,
54419
54420
  {
54420
54421
  value: searchValue,
@@ -54485,7 +54486,7 @@ function MatrxDataTableCore(coreProps) {
54485
54486
  ] }) : null
54486
54487
  ]
54487
54488
  }
54488
- ) : null),
54489
+ ) : null), pinnedFolded && pinnedRowActive ? void 0 : toolbarSearch.node),
54489
54490
  children: [
54490
54491
  toolbar?.layeredFilters ? /* @__PURE__ */ jsx56(
54491
54492
  LayeredFilterBuilder,