@ai-matrx/design-system 0.50.9 → 0.50.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.
@@ -54768,8 +54768,11 @@ function MatrxDataTableCore(coreProps) {
54768
54768
  hasSummaryTotals ? summaryUsesSource : null,
54769
54769
  ...summaryTotals.flatMap((total) => [total.id, total.value, total.unavailable])
54770
54770
  ]);
54771
+ const locallyFilteredSourcePage = remoteQuery?.mode === "controlled" && processed.length !== data.length;
54771
54772
  const paginationEpoch = useRenderEpoch([
54772
54773
  totalItems,
54774
+ locallyFilteredSourcePage,
54775
+ locallyFilteredSourcePage ? processed.length : null,
54773
54776
  sourceTotal,
54774
54777
  paginationLabelFormat,
54775
54778
  sourceTotal === void 0 ? null : data.length,
@@ -56531,7 +56534,7 @@ function MatrxDataTableCore(coreProps) {
56531
56534
  {
56532
56535
  totalItems,
56533
56536
  ...readView.failure ? { countUnavailable: "failed" } : read?.status === "loading" && data.length === 0 ? { countUnavailable: "loading" } : {},
56534
- ...paginationLabelFormat ? { labelFormat: paginationLabelFormat } : sourceTotal === void 0 ? {} : { labelFormat: (start, end, total) => `${formatCount12(start)}\u2013${formatCount12(end)} of ${formatCount12(total)} matching \xB7 ${formatCount12(data.length)} / ${formatCount12(sourceTotal)} loaded` },
56537
+ ...locallyFilteredSourcePage ? { labelFormat: (start, end, total) => `${formatCount12(processed.length)} matching on this source page \xB7 source ${paginationLabelFormat ? paginationLabelFormat(start, end, total) : `${formatCount12(start)}\u2013${formatCount12(end)} of ${formatCount12(total)}`}` } : paginationLabelFormat ? { labelFormat: paginationLabelFormat } : sourceTotal === void 0 ? {} : { labelFormat: (start, end, total) => `${formatCount12(start)}\u2013${formatCount12(end)} of ${formatCount12(total)} matching \xB7 ${formatCount12(data.length)} / ${formatCount12(sourceTotal)} loaded` },
56535
56538
  ...localProgressiveEnabled ? { progressive: {
56536
56539
  shownCount: progressiveRows.shownCount,
56537
56540
  loadedCount: data.length,
@@ -56585,7 +56588,7 @@ function MatrxDataTableCore(coreProps) {
56585
56588
  ]
56586
56589
  }
56587
56590
  ),
56588
- /* @__PURE__ */ jsxs47("div", { className: "ml-auto flex flex-wrap items-center gap-1.5", children: [
56591
+ /* @__PURE__ */ jsxs47("div", { className: "flex flex-1 flex-wrap items-center justify-end gap-0", children: [
56589
56592
  effectiveCopy && selectedRows.length > 0 ? /* @__PURE__ */ jsx58(
56590
56593
  CopyButtons,
56591
56594
  {