@ai-matrx/design-system 0.50.7 → 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.50.11
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/design-system/v0.50.9..npm/design-system/v0.50.11 -- apps/shared/design-system`).
7
+ No source changes intended and no consumer action required.
8
+
9
+ ## 0.50.10
10
+
11
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
12
+ `git diff npm/design-system/v0.50.9..npm/design-system/v0.50.10 -- apps/shared/design-system`).
13
+ No source changes intended and no consumer action required.
14
+
15
+ ## 0.50.9
16
+
17
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
18
+ `git diff npm/design-system/v0.50.7..npm/design-system/v0.50.9 -- apps/shared/design-system`).
19
+ No source changes intended and no consumer action required.
20
+
21
+ ## 0.50.8
22
+
23
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
24
+ `git diff npm/design-system/v0.50.7..npm/design-system/v0.50.8 -- apps/shared/design-system`).
25
+ No source changes intended and no consumer action required.
26
+
3
27
  ## 0.50.7
4
28
 
5
29
  Automatic changed-only republish (docs/metadata drift since the last tag — see
@@ -54882,8 +54882,11 @@ function MatrxDataTableCore(coreProps) {
54882
54882
  hasSummaryTotals ? summaryUsesSource : null,
54883
54883
  ...summaryTotals.flatMap((total) => [total.id, total.value, total.unavailable])
54884
54884
  ]);
54885
+ const locallyFilteredSourcePage = remoteQuery?.mode === "controlled" && processed.length !== data.length;
54885
54886
  const paginationEpoch = useRenderEpoch([
54886
54887
  totalItems,
54888
+ locallyFilteredSourcePage,
54889
+ locallyFilteredSourcePage ? processed.length : null,
54887
54890
  sourceTotal,
54888
54891
  paginationLabelFormat,
54889
54892
  sourceTotal === void 0 ? null : data.length,
@@ -56645,7 +56648,7 @@ function MatrxDataTableCore(coreProps) {
56645
56648
  {
56646
56649
  totalItems,
56647
56650
  ...readView.failure ? { countUnavailable: "failed" } : read?.status === "loading" && data.length === 0 ? { countUnavailable: "loading" } : {},
56648
- ...paginationLabelFormat ? { labelFormat: paginationLabelFormat } : sourceTotal === void 0 ? {} : { labelFormat: (start, end, total) => `${(0, import_format14.formatCount)(start)}\u2013${(0, import_format14.formatCount)(end)} of ${(0, import_format14.formatCount)(total)} matching \xB7 ${(0, import_format14.formatCount)(data.length)} / ${(0, import_format14.formatCount)(sourceTotal)} loaded` },
56651
+ ...locallyFilteredSourcePage ? { labelFormat: (start, end, total) => `${(0, import_format14.formatCount)(processed.length)} matching on this source page \xB7 source ${paginationLabelFormat ? paginationLabelFormat(start, end, total) : `${(0, import_format14.formatCount)(start)}\u2013${(0, import_format14.formatCount)(end)} of ${(0, import_format14.formatCount)(total)}`}` } : paginationLabelFormat ? { labelFormat: paginationLabelFormat } : sourceTotal === void 0 ? {} : { labelFormat: (start, end, total) => `${(0, import_format14.formatCount)(start)}\u2013${(0, import_format14.formatCount)(end)} of ${(0, import_format14.formatCount)(total)} matching \xB7 ${(0, import_format14.formatCount)(data.length)} / ${(0, import_format14.formatCount)(sourceTotal)} loaded` },
56649
56652
  ...localProgressiveEnabled ? { progressive: {
56650
56653
  shownCount: progressiveRows.shownCount,
56651
56654
  loadedCount: data.length,
@@ -56699,7 +56702,7 @@ function MatrxDataTableCore(coreProps) {
56699
56702
  ]
56700
56703
  }
56701
56704
  ),
56702
- /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "ml-auto flex flex-wrap items-center gap-1.5", children: [
56705
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex flex-1 flex-wrap items-center justify-end gap-0", children: [
56703
56706
  effectiveCopy && selectedRows.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
56704
56707
  CopyButtons,
56705
56708
  {