@ai-matrx/design-system 0.50.11 → 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,14 @@
|
|
|
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
|
+
|
|
3
12
|
## 0.50.11
|
|
4
13
|
|
|
5
14
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
@@ -3720,4 +3729,3 @@ New dependencies: `@radix-ui/react-dialog`, `@radix-ui/react-popover`,
|
|
|
3720
3729
|
- Added Button, Badge, Label, Separator, and `cn` as the first shared semantic UI foundation.
|
|
3721
3730
|
- Added strict TypeScript, SSR-focused tests, package linting, declaration analysis, and isolated tarball import verification.
|
|
3722
3731
|
|
|
3723
|
-
|
|
@@ -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
|
}
|
|
@@ -56131,7 +56131,7 @@ function MatrxDataTableCore(coreProps) {
|
|
|
56131
56131
|
label: col.header,
|
|
56132
56132
|
...embedded ? { plainLabel: true } : {},
|
|
56133
56133
|
labelText: headerLabel,
|
|
56134
|
-
...facetsEnabled || meta?.kind !== void 0 && meta.kind !== null && coreSuggestionsEnabled ? {
|
|
56134
|
+
...facetsEnabled || meta?.kind !== void 0 && meta.kind !== null && coreSuggestionsEnabled && !col.filterOptions?.length ? {
|
|
56135
56135
|
facets: facetState[id]?.data ?? null,
|
|
56136
56136
|
facetsLoading: facetState[id]?.loading ?? false,
|
|
56137
56137
|
...facetState[id]?.error === void 0 ? {} : { facetsError: facetState[id]?.error },
|