@xh/hoist 75.0.0-SNAPSHOT.1753485410401 → 75.0.0-SNAPSHOT.1753486175346
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 +15 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -12,16 +12,15 @@
|
|
|
12
12
|
* A new `ExpandToLevelButton` menu component is also available for both desktop and mobile.
|
|
13
13
|
Provides easier discoverability on desktop and supports this feature on mobile, where we
|
|
14
14
|
don't have context menus.
|
|
15
|
+
* Enhanced `FilterChooser` to better handle filters with different `op`s on the same field.
|
|
16
|
+
* Multiple "inclusive" ops (e.g. `=`, `like`) will be OR'ed together.
|
|
17
|
+
* Multiple "exclusive" ops (e.g. `!=`, `not like`) will be AND'ed together.
|
|
18
|
+
* Range ops (e.g. `<`, `>` ) use a heuristic to avoid creating a filter that could never match.
|
|
19
|
+
* This behavior is consistent with current behavior and user intuition and should maximize the
|
|
20
|
+
ability to create useful queries using this component.
|
|
21
|
+
* Deprecated the `RelativeTimestamp.options` prop - all the same options are now top-level props.
|
|
15
22
|
* Added new `GroupingChooserModel.sortDimensions` config. Set to `false` to respect the order in
|
|
16
23
|
which `dimensions` are provided to the model.
|
|
17
|
-
* The usage of the `RelativeTimestamp` component has been streamlined by deprecating the `options`
|
|
18
|
-
prop. All `RelativeTimestampOptions` are now supported by this component as top-level props.
|
|
19
|
-
* `FilterChooserModel` has been enhanced to better handle multiple simultaneous filters with
|
|
20
|
-
different `op`s on the same field. "Inclusive" ops (e.g. `=`, `like`) will be OR'ed together,
|
|
21
|
-
"Exclusive" ops (e.g. `!=`, `not like`) will be AND'ed together and range ops (e.g. `<`, `>` )
|
|
22
|
-
will use a heuristic to create a meaningful query that will actually return results. This
|
|
23
|
-
behavior is consistent with current behavior and user intuition, and should maximize the ability
|
|
24
|
-
to create useful queries.
|
|
25
24
|
|
|
26
25
|
### 🐞 Bug Fixes
|
|
27
26
|
|
|
@@ -34,6 +33,14 @@
|
|
|
34
33
|
* Fixed framework components that bind to grids (e.g. `ColChooserButton`, `ColAutosizeButton`,
|
|
35
34
|
`GridFindField`), ensuring they automatically rebind to a new observable `GridModel` via context.
|
|
36
35
|
|
|
36
|
+
### ⚙️ Technical
|
|
37
|
+
|
|
38
|
+
* Hoist now sets a reference to an app's singleton `AuthModel` on a static `instance` property of
|
|
39
|
+
the app-specified class. App developers can declare a typed static `instance` property on their
|
|
40
|
+
model class and use it to access the singleton with its proper type, vs. `XH.authModel`.
|
|
41
|
+
* The `XH.authModel` property is still set and available - this is a non-breaking change.
|
|
42
|
+
* This approach was already (and continues to be) used for services and the `AppModel` singleton.
|
|
43
|
+
|
|
37
44
|
## v74.1.2 - 2025-07-03
|
|
38
45
|
|
|
39
46
|
### 🐞 Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "75.0.0-SNAPSHOT.
|
|
3
|
+
"version": "75.0.0-SNAPSHOT.1753486175346",
|
|
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",
|