@xh/hoist 73.0.0-SNAPSHOT.1738687983846 → 73.0.0-SNAPSHOT.1739483970981
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
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
## v73.0.0-SNAPSHOT - unreleased
|
|
4
4
|
|
|
5
|
-
### 💥 Breaking Changes (upgrade difficulty: 🟢 LOW - Hoist core update)
|
|
6
|
-
|
|
7
|
-
* Requires `hoist-core >= 28.1` with new APIs to support JSON searching in the Admin Console.
|
|
8
|
-
|
|
9
5
|
### 🎁 New Features
|
|
10
6
|
|
|
11
7
|
* Introduced a new "JSON Search" feature to the Hoist Admin Console, accessible from the Config,
|
|
12
8
|
User Preference, and JSON Blob tabs. Supports searching JSON values stored within these objects
|
|
13
9
|
to filter and match data using JSON Path expressions.
|
|
14
|
-
*
|
|
15
|
-
|
|
10
|
+
* ⚠️Requires `hoist-core >= 28.1` with new APIs for this (optional) feature to function.
|
|
11
|
+
* Added new getters `StoreRecord.isDirty`, `Store.dirtyRecords`, and `Store.isDirty` to provide a
|
|
12
|
+
more consistent API in the data package. The pre-existing `isModified` getters are retained as
|
|
13
|
+
aliases, with the same semantics.
|
|
16
14
|
|
|
17
15
|
### 🐞 Bug Fixes
|
|
18
16
|
|
|
19
|
-
*
|
|
17
|
+
* Tuned mobile swipe handling to prevent horizontal swipes on a scrolling grid view from triggering
|
|
18
|
+
the Navigator's back gesture.
|
|
19
|
+
* Prevented the Admin Console Roles grid from losing its expand/collapse/scroll state on refresh.
|
|
20
20
|
* Fixed bug when merging `PersistOptions` with conflicting implicit provider types.
|
|
21
21
|
* Fixed bug where explicit `persistGrouping` options were not being respected by `GridModel`.
|
|
22
22
|
|
|
@@ -149,6 +149,7 @@ export class NavigatorModel extends HoistModel {
|
|
|
149
149
|
// to propagate to scrollable elements within the page.
|
|
150
150
|
swiper.on('touchStart', (s, event: PointerEvent) => {
|
|
151
151
|
swiper.allowTouchMove = false;
|
|
152
|
+
swiper.params.shortSwipes = true;
|
|
152
153
|
this._touchStartX = event.pageX;
|
|
153
154
|
});
|
|
154
155
|
|
|
@@ -175,6 +176,12 @@ export class NavigatorModel extends HoistModel {
|
|
|
175
176
|
swiper.allowTouchMove =
|
|
176
177
|
swiper.progress < 1 || !isDraggableEl(scrollableParent, 'right');
|
|
177
178
|
|
|
179
|
+
// Disable short swipes to prevent accidental navigation when reaching the
|
|
180
|
+
// end of the scrollable parent.
|
|
181
|
+
if (!swiper.allowTouchMove) {
|
|
182
|
+
swiper.params.shortSwipes = false;
|
|
183
|
+
}
|
|
184
|
+
|
|
178
185
|
// During the swiper transition, undo the scrollable parent's internal scroll
|
|
179
186
|
// to keep it static.
|
|
180
187
|
if (swiper.progress < 1) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "73.0.0-SNAPSHOT.
|
|
3
|
+
"version": "73.0.0-SNAPSHOT.1739483970981",
|
|
4
4
|
"description": "Hoist add-on for building and deploying React Applications.",
|
|
5
5
|
"repository": "github:xh/hoist-react",
|
|
6
6
|
"homepage": "https://xh.io",
|