|
1 | | -## Version 0.0.x (in development) |
| 1 | +## Version 0.1.0 (in development) |
| 2 | + |
| 3 | +* Reorganised Chartlets project to better separate demo from library code. |
| 4 | + Using monorepo layout for `chartlets.js` with workspaces `lib` and `demo` |
| 5 | + that host the packages for `chartlets` and `chartlets-demo`. |
| 6 | + |
| 7 | +* Chartlets now allows for plugins that can provide individual component |
| 8 | + implementations. |
| 9 | + The Vega-based chart and MUI components are now optional and have been |
| 10 | + moved into respective plugin modules `chartlets/plugins/vega` and |
| 11 | + `chartlets/plugins/mui`. |
| 12 | + To activate them, use the new `plugins: PluginLike[]` option |
| 13 | + of `FrameworkOptions`: |
| 14 | + ```TypeScript |
| 15 | + import { configureFramework } from "chartlets"; |
| 16 | + import mui from "chartlets/plugins/mui"; |
| 17 | + import vega from "chartlets/plugins/vega"; |
| 18 | + |
| 19 | + configureFramework({ plugins: [mui(), vega()], ... }); |
| 20 | + ``` |
| 21 | + |
| 22 | +* Renamed `Plot` component into `VegaChart`. |
| 23 | + |
| 24 | +* The new `VegaChart` component respects a `theme` property. If not given, |
| 25 | + it will respect the current theme mode `"dark"` otherwise fallback to the |
| 26 | + Vega default theme. |
| 27 | + |
| 28 | +* The demo application now allows for switching the theme mode between |
| 29 | + dark, light, and system mode. |
2 | 30 |
|
3 | 31 | * Changed the yet unused descriptor type `CbFunction` for callback functions. |
4 | 32 |
|
| 33 | +## Version 0.0.29 (from 2024/11/26) |
| 34 | + |
| 35 | +* Resolved warnings that appeared when using Vega charts. |
| 36 | + |
5 | 37 | ## Version 0.0.28 (from 2024/11/26) |
6 | 38 |
|
7 | 39 | * Updated docs. |
|
0 commit comments