@ai-matrx/records-ui 0.115.53 → 0.115.55
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 +12 -0
- package/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records-ui
|
|
2
2
|
|
|
3
|
+
## 0.115.55
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/records-ui/v0.115.54..npm/records-ui/v0.115.55 -- apps/shared/records-ui`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
9
|
+
## 0.115.54
|
|
10
|
+
|
|
11
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
12
|
+
`git diff npm/records-ui/v0.115.53..npm/records-ui/v0.115.54 -- apps/shared/records-ui`).
|
|
13
|
+
No source changes intended and no consumer action required.
|
|
14
|
+
|
|
3
15
|
## 0.115.53
|
|
4
16
|
|
|
5
17
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
package/dist/index.cjs
CHANGED
|
@@ -38218,6 +38218,12 @@ function ViewSwitcher({
|
|
|
38218
38218
|
const pageSize = pageSizeAsked ?? (embedded ? import_first_page5.EMBEDDED_PAGE_SIZE : 200);
|
|
38219
38219
|
const [layout, setLayout] = (0, import_react224.useState)(view.layout);
|
|
38220
38220
|
const [local, setLocal] = (0, import_react224.useState)({});
|
|
38221
|
+
const viewSignature = JSON.stringify(view);
|
|
38222
|
+
const [seenSignature, setSeenSignature] = (0, import_react224.useState)(viewSignature);
|
|
38223
|
+
if (seenSignature !== viewSignature) {
|
|
38224
|
+
setSeenSignature(viewSignature);
|
|
38225
|
+
if (Object.keys(local).length > 0) setLocal({});
|
|
38226
|
+
}
|
|
38221
38227
|
(0, import_react224.useEffect)(() => {
|
|
38222
38228
|
setLayout(view.layout);
|
|
38223
38229
|
setLocal({});
|