@object-ui/plugin-detail 4.2.1 → 4.4.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 +44 -0
- package/dist/index.js +2727 -2160
- 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 +17 -0
- package/dist/packages/plugin-detail/src/HistoryTimeline.d.ts.map +1 -0
- package/dist/packages/plugin-detail/src/RecordActivityTimeline.d.ts +4 -0
- package/dist/packages/plugin-detail/src/RecordActivityTimeline.d.ts.map +1 -1
- package/dist/packages/plugin-detail/src/RecordChatterPanel.d.ts.map +1 -1
- package/dist/packages/plugin-detail/src/RecordMetaFooter.d.ts +30 -0
- package/dist/packages/plugin-detail/src/RecordMetaFooter.d.ts.map +1 -0
- package/dist/packages/plugin-detail/src/RelatedList.d.ts.map +1 -1
- package/dist/packages/plugin-detail/src/index.d.ts +12 -0
- package/dist/packages/plugin-detail/src/index.d.ts.map +1 -1
- package/dist/packages/plugin-detail/src/renderers/record-activity.d.ts +10 -0
- package/dist/packages/plugin-detail/src/renderers/record-activity.d.ts.map +1 -0
- package/dist/packages/plugin-detail/src/renderers/record-chatter.d.ts +10 -0
- package/dist/packages/plugin-detail/src/renderers/record-chatter.d.ts.map +1 -0
- package/dist/packages/plugin-detail/src/renderers/record-details.d.ts +10 -0
- package/dist/packages/plugin-detail/src/renderers/record-details.d.ts.map +1 -0
- package/dist/packages/plugin-detail/src/renderers/record-highlights.d.ts +10 -0
- package/dist/packages/plugin-detail/src/renderers/record-highlights.d.ts.map +1 -0
- package/dist/packages/plugin-detail/src/renderers/record-path.d.ts +10 -0
- package/dist/packages/plugin-detail/src/renderers/record-path.d.ts.map +1 -0
- package/dist/packages/plugin-detail/src/renderers/record-quick-actions.d.ts +22 -0
- package/dist/packages/plugin-detail/src/renderers/record-quick-actions.d.ts.map +1 -0
- package/dist/packages/plugin-detail/src/renderers/record-related-list.d.ts +10 -0
- package/dist/packages/plugin-detail/src/renderers/record-related-list.d.ts.map +1 -0
- package/dist/packages/plugin-detail/src/useDetailTranslation.d.ts.map +1 -1
- package/package.json +12 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
1
1
|
# @object-ui/plugin-detail
|
|
2
2
|
|
|
3
|
+
## 4.4.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 67dabe1: feat(page-header): first-class `actions` property on page:header
|
|
8
|
+
|
|
9
|
+
PageHeader now accepts an `actions: ActionDef[]` (or string[]) property
|
|
10
|
+
and renders the toolbar inline in the header's right-aligned action slot.
|
|
11
|
+
Removes the need for authors to declare a sibling `record:quick_actions`
|
|
12
|
+
node and the `-mt-12` visual offset hack to pair the toolbar with the
|
|
13
|
+
title. The hack still applies for legacy schemas using the sibling form
|
|
14
|
+
(via location:'record_header'); the new in-header rendering opts out via
|
|
15
|
+
an `inline: true` flag automatically set by PageHeader.
|
|
16
|
+
|
|
17
|
+
- e33d575: Support dotted paths (e.g. `{account.name}`) in object `titleFormat`. When a
|
|
18
|
+
placeholder resolves to an expanded reference object, automatically extract
|
|
19
|
+
its `name`/`label`/`display_name`/`title` so detail page titles render the
|
|
20
|
+
related record's display name instead of falling through to the object label.
|
|
21
|
+
|
|
22
|
+
## 4.3.1
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- 0d8eb98: feat(detail): Salesforce-style record header + section field grid
|
|
27
|
+
- `page:header` now renders an icon chip (resolves Lucide names via
|
|
28
|
+
`LazyIcon`) plus subtitle, so detail pages can show
|
|
29
|
+
"Name / Company" without an extra component.
|
|
30
|
+
- `record:details` normalises string field entries (`fields: ['email']`)
|
|
31
|
+
into the `{name, label?}` shape expected by `DetailSection`, and maps
|
|
32
|
+
section `label` → `title`. Schemas authored against `@objectstack/spec`
|
|
33
|
+
now produce a real grouped field grid instead of an empty card.
|
|
34
|
+
|
|
35
|
+
- b0bc410: feat(detail): pair quick actions with header, suppress duplicate title chip
|
|
36
|
+
- `record:quick_actions` placed at `record_header` now visually pairs
|
|
37
|
+
with the surrounding `page:header` (Salesforce Lightning placement)
|
|
38
|
+
instead of orphaning into its own row below the title.
|
|
39
|
+
- `record:details` defaults to `showHeader: false` on the inner
|
|
40
|
+
DetailView so embedded record pages no longer render a duplicate
|
|
41
|
+
title chip + star/copy buttons under the page header. The legacy
|
|
42
|
+
standalone DetailView screens are unaffected (showHeader defaults
|
|
43
|
+
to true on that direct path).
|
|
44
|
+
|
|
45
|
+
## 4.3.0
|
|
46
|
+
|
|
3
47
|
## 4.2.1
|
|
4
48
|
|
|
5
49
|
## 4.2.0
|