@xh/hoist 67.0.0-SNAPSHOT.1725050289733 → 67.0.0-SNAPSHOT.1725133204871
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 -15
- package/data/Field.ts +2 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
## 67.0.0-SNAPSHOT - unreleased
|
|
4
4
|
|
|
5
|
-
### 💥 Breaking Changes
|
|
5
|
+
### 💥 Breaking Changes (upgrade difficulty: 🟢 LOW - Hoist Core update only)
|
|
6
6
|
|
|
7
7
|
* Requires `hoist-core >= 21.0`.
|
|
8
8
|
|
|
@@ -19,32 +19,29 @@
|
|
|
19
19
|
new `FetchOptions.track` API (see below).
|
|
20
20
|
* If set on a fetch request, Correlation IDs are passed through to downstream error reporting
|
|
21
21
|
and are available for review in the Admin Console.
|
|
22
|
-
*
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
*
|
|
22
|
+
* Added `FetchOptions.track` as streamlined syntax to track a request via Hoist activity tracking.
|
|
23
|
+
Prefer this option (vs. a chained `.track()` call) to relay the request's `correlationId` and
|
|
24
|
+
`loadSpec` automatically.
|
|
25
|
+
* Added `FetchOptions.asJson` to instruct `FetchService` to decode an HTTP response as JSON.
|
|
26
26
|
Note that `FetchService` methods suffixed with `Json` will set this property automatically.
|
|
27
|
+
* Added global interceptors on `FetchService`. See `FetchService.addInterceptor()`.
|
|
27
28
|
* `GridModel` will now accept `contextMenu: false` to omit context menus.
|
|
28
|
-
*
|
|
29
|
-
|
|
29
|
+
* Added bindable `AppContainerModel.intializingLoadMaskMessage` to allow apps to customize the
|
|
30
|
+
load mask message shown during app initialization.
|
|
30
31
|
* Enhanced `select` component with new `emptyValue` prop, allowing for a custom value to be returned
|
|
31
|
-
when the control is empty (vs
|
|
32
|
-
*
|
|
32
|
+
when the control is empty (vs `null`). Expected usage is `[]` when `enableMulti:true`.
|
|
33
|
+
* Added `GroupingChooserModel.setDimensions()` API, to support updating available dimensions on an
|
|
33
34
|
already constructed `GroupingChooserModel`.
|
|
34
35
|
|
|
35
36
|
### 🐞 Bug Fixes
|
|
36
37
|
|
|
37
|
-
* Fixed bug where a role with a dot in its name could not be deleted.
|
|
38
|
-
* Fixed `SelectEditor` to ensure new value is flushed before editing stops.
|
|
38
|
+
* Fixed Admin Console bug where a role with a dot in its name could not be deleted.
|
|
39
|
+
* Fixed inline `SelectEditor` to ensure new value is flushed before grid editing stops.
|
|
39
40
|
|
|
40
41
|
### ✨ Styles
|
|
41
42
|
|
|
42
43
|
* Added CSS variables to support customization of `Badge` component styling.
|
|
43
44
|
|
|
44
|
-
### ⚙️ Technical
|
|
45
|
-
|
|
46
|
-
* Remove context menus from column choosers.
|
|
47
|
-
|
|
48
45
|
### 📚 Libraries
|
|
49
46
|
|
|
50
47
|
* short-unique-id `added @ 5.2`
|
package/data/Field.ts
CHANGED
|
@@ -173,5 +173,6 @@ export type FieldType = (typeof FieldType)[keyof typeof FieldType];
|
|
|
173
173
|
* @returns fieldName transformed into user-facing / longer name for display.
|
|
174
174
|
*/
|
|
175
175
|
export function genDisplayName(fieldName: string): string {
|
|
176
|
-
|
|
176
|
+
// Handle common cases of "id" -> "ID" and "foo_id" -> "Foo ID" (vs "Foo Id")
|
|
177
|
+
return startCase(fieldName).replace(/(^| )Id\b/g, '$1ID');
|
|
177
178
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "67.0.0-SNAPSHOT.
|
|
3
|
+
"version": "67.0.0-SNAPSHOT.1725133204871",
|
|
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",
|