@ai-matrx/design-system 0.50.9 → 0.50.12
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,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.50.12
|
|
4
|
+
|
|
5
|
+
- Preserve declared select-filter choices and their human labels instead of replacing them with automatic loaded-row suggestions.
|
|
6
|
+
- Keep unopened facet state stable so cell edits and realtime patches do not redraw every column header.
|
|
7
|
+
|
|
8
|
+
### Consumer action
|
|
9
|
+
|
|
10
|
+
- Update to latest. Existing column filter options remain authoritative; no API changes are required.
|
|
11
|
+
|
|
12
|
+
## 0.50.11
|
|
13
|
+
|
|
14
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
15
|
+
`git diff npm/design-system/v0.50.9..npm/design-system/v0.50.11 -- apps/shared/design-system`).
|
|
16
|
+
No source changes intended and no consumer action required.
|
|
17
|
+
|
|
18
|
+
## 0.50.10
|
|
19
|
+
|
|
20
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
21
|
+
`git diff npm/design-system/v0.50.9..npm/design-system/v0.50.10 -- apps/shared/design-system`).
|
|
22
|
+
No source changes intended and no consumer action required.
|
|
23
|
+
|
|
3
24
|
## 0.50.9
|
|
4
25
|
|
|
5
26
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
@@ -3708,4 +3729,3 @@ New dependencies: `@radix-ui/react-dialog`, `@radix-ui/react-popover`,
|
|
|
3708
3729
|
- Added Button, Badge, Label, Separator, and `cn` as the first shared semantic UI foundation.
|
|
3709
3730
|
- Added strict TypeScript, SSR-focused tests, package linting, declaration analysis, and isolated tarball import verification.
|
|
3710
3731
|
|
|
3711
|
-
|
|
@@ -53796,7 +53796,7 @@ function MatrxDataTableCore(coreProps) {
|
|
|
53796
53796
|
});
|
|
53797
53797
|
}, []);
|
|
53798
53798
|
(0, import_react28.useEffect)(() => {
|
|
53799
|
-
setFacetState({});
|
|
53799
|
+
setFacetState((current) => Object.keys(current).length === 0 ? current : {});
|
|
53800
53800
|
for (const [colId, ticket] of facetRequestRef.current) {
|
|
53801
53801
|
facetRequestRef.current.set(colId, ticket + 1);
|
|
53802
53802
|
}
|
|
@@ -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,
|
|
@@ -56128,7 +56131,7 @@ function MatrxDataTableCore(coreProps) {
|
|
|
56128
56131
|
label: col.header,
|
|
56129
56132
|
...embedded ? { plainLabel: true } : {},
|
|
56130
56133
|
labelText: headerLabel,
|
|
56131
|
-
...facetsEnabled || meta?.kind !== void 0 && meta.kind !== null && coreSuggestionsEnabled ? {
|
|
56134
|
+
...facetsEnabled || meta?.kind !== void 0 && meta.kind !== null && coreSuggestionsEnabled && !col.filterOptions?.length ? {
|
|
56132
56135
|
facets: facetState[id]?.data ?? null,
|
|
56133
56136
|
facetsLoading: facetState[id]?.loading ?? false,
|
|
56134
56137
|
...facetState[id]?.error === void 0 ? {} : { facetsError: facetState[id]?.error },
|
|
@@ -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: "
|
|
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
|
{
|