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