@object-ui/plugin-charts 15.0.0 → 16.1.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 +90 -0
- package/dist/ChartContainerImpl.d.ts +8 -1
- package/dist/index.js +325 -299
- package/dist/index.umd.cjs +2 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,95 @@
|
|
|
1
1
|
# @object-ui/plugin-charts
|
|
2
2
|
|
|
3
|
+
## 16.1.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ebe6494: chore(lint): clear the baseline lint errors in nine more packages (objectui#2713 Wave 2)
|
|
8
|
+
|
|
9
|
+
Second wave of the #2713 lint-gate restoration (after #2730). These nine package
|
|
10
|
+
lints were red at baseline on `main`, so their per-package `lint` gate could not
|
|
11
|
+
catch new violations. Cleared every **error** (no behavior change; warnings out
|
|
12
|
+
of scope):
|
|
13
|
+
|
|
14
|
+
- **`react-hooks/rules-of-hooks`** (`i18n`, `plugin-grid`, `plugin-view`,
|
|
15
|
+
`plugin-list`) — translation helpers (`useSafeFieldLabel`,
|
|
16
|
+
`useRowActionTranslation`, `useViewLabel`, `useViewTabLabel`, `useMoreLabel`)
|
|
17
|
+
wrapped a provider-safe hook (`useObjectTranslation`/`useObjectLabel`, which
|
|
18
|
+
never throw) in try/catch; removed the wrapper (the same fix #2709 applied in
|
|
19
|
+
fields). `plugin-kanban` `ObjectKanban` moved its `if (error)` early return
|
|
20
|
+
below the `useCallback` so hooks run unconditionally. `collaboration`
|
|
21
|
+
`__unsafe_usePresenceContext` keeps its deliberate danger-prefix name via a
|
|
22
|
+
justified scoped disable.
|
|
23
|
+
- **`react-hooks/static-components`** (`layout`, `plugin-list`, `plugin-report`)
|
|
24
|
+
— dynamic-icon / registry lookups (`resolveIcon`, `useRegistryComponent`) are
|
|
25
|
+
stable component references, not components created during render → scoped
|
|
26
|
+
disable with justification. `plugin-charts` `TreemapCell` was a _genuine_
|
|
27
|
+
inline component and is hoisted to module scope (it is purely props-driven).
|
|
28
|
+
- **`no-irregular-whitespace`** (`plugin-grid` `ImportWizard`) — the literal
|
|
29
|
+
U+FEFF BOM prepended to exported CSV/text blobs (so Excel detects UTF-8) is
|
|
30
|
+
now written as the `` escape: byte-identical at runtime, no literal
|
|
31
|
+
irregular-whitespace character in source.
|
|
32
|
+
- **`no-useless-assignment`** (`plugin-grid` `BulkActionDialog`) — dropped a
|
|
33
|
+
dead `= null` initializer that the exhaustive `switch` (incl. `default`)
|
|
34
|
+
overwrites before it is read.
|
|
35
|
+
- **`no-unsafe-function-type`** (`plugin-view` `ViewTabBar`) — the dnd-kit
|
|
36
|
+
render-prop `listeners` map is typed `Record<string, (...args: any[]) => void>`
|
|
37
|
+
instead of bare `Function`.
|
|
38
|
+
- **`no-require-imports`** (`plugin-kanban`, `plugin-view` tests) — hoisted
|
|
39
|
+
`vi.mock` factories use an `async` factory with `await import('react')`.
|
|
40
|
+
|
|
41
|
+
- Updated dependencies [0318118]
|
|
42
|
+
- Updated dependencies [1c8935a]
|
|
43
|
+
- Updated dependencies [af1b0db]
|
|
44
|
+
- Updated dependencies [8b8b744]
|
|
45
|
+
- Updated dependencies [7cf4051]
|
|
46
|
+
- Updated dependencies [803558e]
|
|
47
|
+
- Updated dependencies [2e7d7f0]
|
|
48
|
+
- Updated dependencies [ef14f69]
|
|
49
|
+
- Updated dependencies [94d4876]
|
|
50
|
+
- Updated dependencies [1100a8b]
|
|
51
|
+
- Updated dependencies [7abe4cd]
|
|
52
|
+
- Updated dependencies [69fa5d1]
|
|
53
|
+
- Updated dependencies [549c67d]
|
|
54
|
+
- Updated dependencies [ebe6494]
|
|
55
|
+
- Updated dependencies [2b17339]
|
|
56
|
+
- Updated dependencies [31b77d4]
|
|
57
|
+
- Updated dependencies [6d4fbe6]
|
|
58
|
+
- Updated dependencies [0a3710b]
|
|
59
|
+
- Updated dependencies [f80aaf2]
|
|
60
|
+
- Updated dependencies [62b9ab5]
|
|
61
|
+
- Updated dependencies [1629313]
|
|
62
|
+
- Updated dependencies [29c6040]
|
|
63
|
+
- Updated dependencies [faebac3]
|
|
64
|
+
- Updated dependencies [2331ac9]
|
|
65
|
+
- Updated dependencies [199fa83]
|
|
66
|
+
- Updated dependencies [eee4ded]
|
|
67
|
+
- @object-ui/i18n@16.1.0
|
|
68
|
+
- @object-ui/core@16.1.0
|
|
69
|
+
- @object-ui/types@16.1.0
|
|
70
|
+
- @object-ui/react@16.1.0
|
|
71
|
+
- @object-ui/components@16.1.0
|
|
72
|
+
|
|
73
|
+
## 16.0.0
|
|
74
|
+
|
|
75
|
+
### Patch Changes
|
|
76
|
+
|
|
77
|
+
- Updated dependencies [d3e19ed]
|
|
78
|
+
- Updated dependencies [59d4fa9]
|
|
79
|
+
- Updated dependencies [4c7c47f]
|
|
80
|
+
- Updated dependencies [210806a]
|
|
81
|
+
- Updated dependencies [b4ef588]
|
|
82
|
+
- Updated dependencies [ca0f5f0]
|
|
83
|
+
- Updated dependencies [5534535]
|
|
84
|
+
- Updated dependencies [9b8f978]
|
|
85
|
+
- Updated dependencies [195a651]
|
|
86
|
+
- Updated dependencies [33b4995]
|
|
87
|
+
- @object-ui/react@16.0.0
|
|
88
|
+
- @object-ui/components@16.0.0
|
|
89
|
+
- @object-ui/types@16.0.0
|
|
90
|
+
- @object-ui/i18n@16.0.0
|
|
91
|
+
- @object-ui/core@16.0.0
|
|
92
|
+
|
|
3
93
|
## 15.0.0
|
|
4
94
|
|
|
5
95
|
### Patch Changes
|
|
@@ -23,9 +23,16 @@ export type ChartConfig = {
|
|
|
23
23
|
theme: Record<keyof typeof THEMES, string>;
|
|
24
24
|
});
|
|
25
25
|
};
|
|
26
|
-
declare function ChartContainer({ id, className, children, config, ...props }: React.ComponentProps<"div"> & {
|
|
26
|
+
declare function ChartContainer({ id, className, children, config, disableSettleRemount, ...props }: React.ComponentProps<"div"> & {
|
|
27
27
|
config: ChartConfig;
|
|
28
28
|
children: React.ComponentProps<typeof ResponsiveContainer>["children"];
|
|
29
|
+
/**
|
|
30
|
+
* Skip the settle re-mount below. Set by callers that render their series with
|
|
31
|
+
* `isAnimationActive={false}` (e.g. dashboard charts, see #2756): with no
|
|
32
|
+
* entrance-animation tween there is nothing to "heal", so re-mounting would
|
|
33
|
+
* only cost a needless 1-frame ResponsiveContainer reflow on first paint.
|
|
34
|
+
*/
|
|
35
|
+
disableSettleRemount?: boolean;
|
|
29
36
|
}): React.JSX.Element;
|
|
30
37
|
declare const ChartStyle: ({ id, config }: {
|
|
31
38
|
id: string;
|