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