@object-ui/plugin-detail 11.0.0 → 11.3.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 CHANGED
@@ -1,5 +1,55 @@
1
1
  # @object-ui/plugin-detail
2
2
 
3
+ ## 11.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - db5ebe4: Declare designer inputs for the `record:*` blocks (details, related_list,
8
+ highlights, path) so they conform to the spec protocol (RecordDetailsProps /
9
+ RecordRelatedListProps / RecordHighlightsProps / RecordPathProps in
10
+ @objectstack/spec component.zod). They previously registered ZERO inputs — the
11
+ visual designer could not configure them, and the spec↔frontend conformance
12
+ check flagged 17 spec-only divergences. Now each block's inputs mirror its spec
13
+ schema (columns/layout/sections/fields, etc.).
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [d88c8ec]
18
+ - @object-ui/i18n@11.3.0
19
+
20
+ ## 11.2.0
21
+
22
+ ### Minor Changes
23
+
24
+ - 32dbd6a: feat(detail): `relatedLayout: 'tabs'` — surface related tables as peer tabs via config
25
+
26
+ Record detail pages can now show each related table as its own top-level tab
27
+ instead of stacking them all inside a single **Related** tab — no custom page
28
+ required. Set `detail.relatedLayout: 'tabs'` on the object; the synthesized
29
+ record page then emits one tab per related list (label = the related list's
30
+ `title`, falling back to its `objectName`, carrying its `icon`), slotted between
31
+ the **Details** tab and **Activity** / **History**.
32
+
33
+ - `buildDefaultPageSchema` (`@object-ui/plugin-detail`): new
34
+ `BuildPageOptions.relatedLayout?: 'stack' | 'tabs'` threaded through
35
+ `buildDefaultTabs` (the single choke point for the related-tab emission).
36
+ `'tabs'` fans the related children out into peer tabs; `'stack'` (default)
37
+ keeps the legacy single **Related** tab — **zero regression** when omitted.
38
+ Still honours `hideRelatedTab` (no related tabs emitted) in both modes.
39
+ - `RecordDetailView` (`@object-ui/app-shell`): reads
40
+ `objectDef.detail.relatedLayout` per object and forwards it to the synth.
41
+
42
+ ### Patch Changes
43
+
44
+ - @object-ui/i18n@11.2.0
45
+
46
+ ## 11.1.0
47
+
48
+ ### Patch Changes
49
+
50
+ - Updated dependencies [6726a2b]
51
+ - @object-ui/i18n@11.1.0
52
+
3
53
  ## 7.3.0
4
54
 
5
55
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"DetailView.d.ts","sourceRoot":"","sources":["../src/DetailView.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAwC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAA4B,MAAM,kBAAkB,CAAC;AA8F/F,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,gBAAgB,CAAC;IACzB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,qDAAqD;IACrD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kDAAkD;IAClD,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/E;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;IACrC;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO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