@object-ui/plugin-dashboard 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,124 @@
1
1
  # @object-ui/plugin-dashboard
2
2
 
3
+ ## 5.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - @object-ui/types@5.2.1
8
+ - @object-ui/core@5.2.1
9
+ - @object-ui/i18n@5.2.1
10
+ - @object-ui/react@5.2.1
11
+ - @object-ui/components@5.2.1
12
+ - @object-ui/fields@5.2.1
13
+
14
+ ## 5.2.0
15
+
16
+ ### Patch Changes
17
+
18
+ - 87bc8ff: `DataEmptyState` (re-exported as `EmptyState`) is now the canonical
19
+ platform primitive for "no records / no data" states. Two new props
20
+ keep it flexible enough to absorb the hand-rolled variants that lived
21
+ in `plugin-list`, `plugin-kanban`, and `plugin-dashboard`:
22
+ - `showIcon?: boolean` — drops the icon container entirely. Used by the
23
+ kanban board-level empty banner, which is a status banner rather than
24
+ a true empty-state.
25
+ - `iconWrapperClassName?: string` — overrides the default muted rounded
26
+ square. Pass `""` to render the icon raw (used by `ListView`'s grid
27
+ empty state, which uses a large standalone glyph).
28
+
29
+ Adopters:
30
+ - `plugin-list` (`ListView` grid empty-state) — preserves the existing
31
+ large icon, title, message, add-record button and `data-testid`s,
32
+ but delegates the structural markup to `DataEmptyState`.
33
+ - `plugin-kanban` (board-level "all columns empty" banner) — keeps the
34
+ dashed border + `role="status"` / `aria-live="polite"` semantics.
35
+ - `plugin-dashboard` (`PivotTable` zero-rows branch) — keeps the
36
+ custom 4-quad SVG icon and `pivot-empty-state` test id.
37
+
38
+ No public-API change for consumers; the older inline markup is gone
39
+ but the rendered output, translation keys, and test hooks are
40
+ preserved.
41
+
42
+ - e919433: Stop silently assuming USD when a currency field has no `currency`
43
+ configured. For non-USD orgs (e.g. a CNY-based CRM seeded without an
44
+ explicit currency) the cells now render as plain locale-formatted
45
+ numbers (`150,000.00`) instead of `$150,000.00` — which was the #1
46
+ "why is my RMB showing as dollars?" bug.
47
+
48
+ Behavior change is opt-in via omission: when `currency` /
49
+ `defaultCurrency` is set on the field/column, formatting is unchanged.
50
+
51
+ Fixed call sites:
52
+ - `@object-ui/fields`: `formatCurrency`, `formatCompactCurrency`, and
53
+ `CurrencyCellRenderer` no longer default-param `'USD'`.
54
+ - `@object-ui/i18n`: `formatCurrency()` falls back to `formatNumber`
55
+ semantics when `currency` is omitted.
56
+ - `@object-ui/plugin-grid`: column-summary formatter (`Sum: 5,000,000`
57
+ instead of `Sum: $5,000,000.00`).
58
+ - `@object-ui/plugin-detail`: header-highlight currency formatter.
59
+ - `@object-ui/plugin-dashboard`: `ObjectMetricWidget` inferred
60
+ currency now resolves to `undefined` (not `'USD'`) for un-tagged
61
+ fields, so `MetricWidget`'s `isCurrency` heuristic falls through
62
+ to plain number formatting.
63
+
64
+ - Updated dependencies [de0c5e6]
65
+ - Updated dependencies [9997cae]
66
+ - Updated dependencies [321294c]
67
+ - Updated dependencies [b2d1704]
68
+ - Updated dependencies [0a644f0]
69
+ - Updated dependencies [a3cb88f]
70
+ - Updated dependencies [5425608]
71
+ - Updated dependencies [6c3f018]
72
+ - Updated dependencies [d912a60]
73
+ - Updated dependencies [87bc8ff]
74
+ - Updated dependencies [3ebba63]
75
+ - Updated dependencies [e919433]
76
+ - Updated dependencies [a8d12ec]
77
+ - Updated dependencies [70b5570]
78
+ - Updated dependencies [aa063db]
79
+ - Updated dependencies [d9c3bae]
80
+ - Updated dependencies [d1442e3]
81
+ - Updated dependencies [7c7400a]
82
+ - @object-ui/types@5.2.0
83
+ - @object-ui/core@5.2.0
84
+ - @object-ui/i18n@5.2.0
85
+ - @object-ui/react@5.2.0
86
+ - @object-ui/fields@5.2.0
87
+ - @object-ui/components@5.2.0
88
+
89
+ ## 5.1.1
90
+
91
+ ### Patch Changes
92
+
93
+ - Updated dependencies [8955b9c]
94
+ - @object-ui/components@5.1.1
95
+ - @object-ui/fields@5.1.1
96
+ - @object-ui/types@5.1.1
97
+ - @object-ui/core@5.1.1
98
+ - @object-ui/i18n@5.1.1
99
+ - @object-ui/react@5.1.1
100
+
101
+ ## 5.1.0
102
+
103
+ ### Patch Changes
104
+
105
+ - Updated dependencies [bd8447d]
106
+ - Updated dependencies [fbd5052]
107
+ - Updated dependencies [d51a577]
108
+ - Updated dependencies [1976691]
109
+ - Updated dependencies [d1ec6a2]
110
+ - Updated dependencies [cf30cc2]
111
+ - Updated dependencies [5b80cfd]
112
+ - Updated dependencies [49b1760]
113
+ - Updated dependencies [c0b236f]
114
+ - Updated dependencies [d548d6b]
115
+ - @object-ui/components@5.1.0
116
+ - @object-ui/react@5.1.0
117
+ - @object-ui/i18n@5.1.0
118
+ - @object-ui/types@5.1.0
119
+ - @object-ui/core@5.1.0
120
+ - @object-ui/fields@5.1.0
121
+
3
122
  ## 5.0.2
4
123
 
5
124
  ### Patch Changes