@object-ui/plugin-list 5.0.2 → 5.2.1

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,75 @@
1
1
  # @object-ui/plugin-list
2
2
 
3
+ ## 5.2.1
4
+
5
+ ## 5.2.0
6
+
7
+ ### Minor Changes
8
+
9
+ - fe63b8c: Gallery cards now prefix numeric / currency / percent fields with their
10
+ translated field label.
11
+
12
+ The card layout in `ObjectGallery` previously dropped every label,
13
+ relying on each cell renderer to be self-describing. That works for
14
+ status badges, phone links, email links, and dates — but for bare
15
+ numbers a row like `5,000,000 / 250` gives the user no clue whether
16
+ those are revenue, headcount, pipeline value, or close-date.
17
+
18
+ We now auto-prepend a small muted field label for the low-semantic
19
+ renderer types (`number`, `currency`, `percent`, `integer`, `decimal`).
20
+ Self-describing types are unchanged. The label is routed through the
21
+ i18n field-label dictionary so authored objects with translated labels
22
+ render consistently with the detail page.
23
+
24
+ ### Patch Changes
25
+
26
+ - 87bc8ff: `DataEmptyState` (re-exported as `EmptyState`) is now the canonical
27
+ platform primitive for "no records / no data" states. Two new props
28
+ keep it flexible enough to absorb the hand-rolled variants that lived
29
+ in `plugin-list`, `plugin-kanban`, and `plugin-dashboard`:
30
+ - `showIcon?: boolean` — drops the icon container entirely. Used by the
31
+ kanban board-level empty banner, which is a status banner rather than
32
+ a true empty-state.
33
+ - `iconWrapperClassName?: string` — overrides the default muted rounded
34
+ square. Pass `""` to render the icon raw (used by `ListView`'s grid
35
+ empty state, which uses a large standalone glyph).
36
+
37
+ Adopters:
38
+ - `plugin-list` (`ListView` grid empty-state) — preserves the existing
39
+ large icon, title, message, add-record button and `data-testid`s,
40
+ but delegates the structural markup to `DataEmptyState`.
41
+ - `plugin-kanban` (board-level "all columns empty" banner) — keeps the
42
+ dashed border + `role="status"` / `aria-live="polite"` semantics.
43
+ - `plugin-dashboard` (`PivotTable` zero-rows branch) — keeps the
44
+ custom 4-quad SVG icon and `pivot-empty-state` test id.
45
+
46
+ No public-API change for consumers; the older inline markup is gone
47
+ but the rendered output, translation keys, and test hooks are
48
+ preserved.
49
+
50
+ - 50cdefd: Gallery cards no longer render a giant gradient letter placeholder when
51
+ the configured `coverField` has no populated values anywhere in the
52
+ dataset. Previously, simply declaring `gallery.coverField` would force
53
+ the cover area on even when every record's image was null/empty, producing
54
+ oversized 200×200 "C" / "A" letter blocks that dwarfed the actual card
55
+ content (the Contact and Account card views in the CRM example were the
56
+ most visible offenders).
57
+
58
+ The configured-but-empty state now matches the unconfigured state:
59
+ collapse the cover area, render a compact title-plus-fields card.
60
+ When at least one record in the dataset has a cover image, the cover
61
+ area still renders for all cards so heights stay consistent.
62
+
63
+ ## 5.1.1
64
+
65
+ ## 5.1.0
66
+
67
+ ### Minor Changes
68
+
69
+ - 8fd863e: Platform highlight + list polish:
70
+ - **deriveHighlightFields**: extended the preferred-field list (close_date, due_date, account, contact, …) and now skips fields whose declared type is not "highlight-friendly" (textarea, markdown, json, boolean, rich-text, etc.). Untyped legacy fields still pass through. Prevents long-form/structural fields from ending up in the highlight strip on objects with sparse metadata.
71
+ - **ListView bulk-action labels**: bulk-action buttons now resolve their labels through `actionLabel(objectName, action, fallback)` so they pick up app-supplied translations under `_actions.<name>.label`, matching the detail-page page-header overflow menu. Falls back to the previous title-cased string when no resource is found.
72
+
3
73
  ## 5.0.2
4
74
 
5
75
  ## 5.0.1