@object-ui/plugin-dashboard 5.1.1 → 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 +86 -0
- package/dist/index.js +399 -399
- package/dist/index.umd.cjs +1 -1
- package/dist/packages/plugin-dashboard/src/PivotTable.d.ts.map +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,91 @@
|
|
|
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
|
+
|
|
3
89
|
## 5.1.1
|
|
4
90
|
|
|
5
91
|
### Patch Changes
|