@object-ui/plugin-detail 4.4.0 → 4.5.0
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 +24 -0
- package/dist/index.js +1043 -951
- package/dist/index.umd.cjs +3 -3
- package/dist/packages/plugin-detail/src/DetailView.d.ts.map +1 -1
- package/dist/packages/plugin-detail/src/HistoryTimeline.d.ts +14 -1
- package/dist/packages/plugin-detail/src/HistoryTimeline.d.ts.map +1 -1
- package/dist/packages/plugin-detail/src/renderers/record-highlights.d.ts.map +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @object-ui/plugin-detail
|
|
2
2
|
|
|
3
|
+
## 4.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- ab5e281: `record:highlights` renderer normalizes rich field items.
|
|
8
|
+
|
|
9
|
+
`RecordHighlightsComponentProps.fields` is now `Array<string | { name, label?, icon?, type? }>`. The renderer normalizes both forms before passing to `HeaderHighlight`, so schemas can attach per-instance label/icon overrides without editing the underlying object metadata. FLS and `redactFields` still apply on the normalized list.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- d714e85: Lookup display-name resolution now falls back through a Salesforce-style chain
|
|
14
|
+
when an `$expand`'d reference object lacks a top-level `name`/`label`/
|
|
15
|
+
`display_name`/`title` field:
|
|
16
|
+
1. Standard display fields (existing behaviour)
|
|
17
|
+
2. `salutation first_name last_name` composite — handles person records that
|
|
18
|
+
only carry first/last name parts
|
|
19
|
+
3. `email` — last-resort identifier, beats the opaque id
|
|
20
|
+
|
|
21
|
+
Applies to `LookupCellRenderer`, `PageHeader.subtitle` interpolation,
|
|
22
|
+
`DetailView` page-mode `titleFormat`, and the shared `formatRecordTitle`
|
|
23
|
+
utility. Concretely: a Contact reference with `first_name: Bob`, `last_name:
|
|
24
|
+
Lin` and no `name` field now renders as `Bob Lin` everywhere — instead of
|
|
25
|
+
the email or [object Object] fallback.
|
|
26
|
+
|
|
3
27
|
## 4.4.0
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|