Skip to content

Commit 2281406

Browse files
committed
update Changes
1 parent 7244c03 commit 2281406

File tree

3 files changed

+151
-135
lines changed

3 files changed

+151
-135
lines changed

chartlets.js/CHANGES.md

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,154 +1,154 @@
11
## Version 0.1.4 (in development)
22

3-
- Add `multiple` property for `Select` component to enable the
3+
* In `chartlets.js` we no longer emit warnings and errors in common
4+
situations to avoid too much spam in the browser console.
5+
6+
* Add `multiple` property for `Select` component to enable the
47
of multiple elements.
58

69
## Version 0.1.3 (from 2025/01/28)
710

8-
- **Chore:** Version bump to align CI process with GitHub release flow.
9-
No functional changes. This release ensures proper triggering of the CI
11+
* **Chore:** Version bump to align CI process with GitHub release flow.
12+
No functional changes. This release ensures proper triggering of the CI
1013
pipeline for publishing and NPM.
1114

1215
## Version 0.1.0 (from 2025/01/14)
1316

14-
- Reorganised Chartlets project to better separate demo from library code.
17+
* Reorganised Chartlets project to better separate demo from library code.
1518
Using monorepo layout for `chartlets.js` with workspaces `lib` and `demo`
1619
that host the packages for `chartlets` and `chartlets-demo`.
1720

18-
- Other code reorganisations:
19-
20-
- moved `component/Registry` into `store`
21-
- renamed module `component` into `components`
21+
* Other code reorganisations:
22+
- moved `component/Registry` into `store`
23+
- renamed module `component` into `components`
2224
- no longer exposing `Registry` type
2325

24-
- Chartlets now allows for plugins that can provide individual component
26+
* Chartlets now allows for plugins that can provide individual component
2527
implementations.
26-
The Vega-based chart and MUI components are now optional and have been
28+
The Vega-based chart and MUI components are now optional and have been
2729
moved into respective plugin modules `chartlets/plugins/vega` and
2830
`chartlets/plugins/mui`.
29-
To activate them, use the new `plugins: PluginLike[]` option
31+
To activate them, use the new `plugins: PluginLike[]` option
3032
of `FrameworkOptions`:
31-
3233
```TypeScript
3334
import { configureFramework } from "chartlets";
3435
import mui from "chartlets/plugins/mui";
3536
import vega from "chartlets/plugins/vega";
36-
37-
configureFramework({ plugins: [mui(), vega()], ... });
37+
38+
configureFramework({ plugins: [mui(), vega()], ... });
3839
```
3940

40-
- Renamed `Plot` component into `VegaChart`.
41+
* Renamed `Plot` component into `VegaChart`.
4142

42-
- The new `VegaChart` component respects a `theme` property. If not given,
43+
* The new `VegaChart` component respects a `theme` property. If not given,
4344
it will respect the current theme mode `"dark"` otherwise fallback to the
44-
Vega default theme.
45+
Vega default theme.
4546

46-
- The demo application now allows for switching the theme mode between
47+
* The demo application now allows for switching the theme mode between
4748
dark, light, and system mode.
4849

49-
- Changed the yet unused descriptor type `CbFunction` for callback functions.
50-
50+
* Changed the yet unused descriptor type `CbFunction` for callback functions.
5151
- using `schema` instead of `type` property for callback arguments
5252
- using `return` object with `schema` property for callback return values
5353

54-
- New (MUI) components
55-
54+
* New (MUI) components
5655
- `Divider`
5756
- `LinearProgress`
5857
- `RadioGroup` and `Radio`
5958
- `Switch`
6059
- `Tabs`
6160
- `Slider`
6261

63-
- Supporting `tooltip` property for interactive MUI components.
62+
* Supporting `tooltip` property for interactive MUI components.
6463

6564
## Version 0.0.29 (from 2024/11/26)
6665

67-
- Resolved warnings that appeared when using Vega charts.
66+
* Resolved warnings that appeared when using Vega charts.
6867

6968
## Version 0.0.28 (from 2024/11/26)
7069

71-
- Updated docs.
70+
* Updated docs.
7271

7372
## Version 0.0.27 (from 2024/11/25)
7473

75-
- Added component `IconButton` and enhanced other components' attributes.
74+
* Added component `IconButton` and enhanced other components' attributes.
7675

7776
## Version 0.0.26 (from 2024/11/23)
7877

79-
- Channels such as `Input`, `State`, `Output` no longer have a `link` property.
78+
* Channels such as `Input`, `State`, `Output` no longer have a `link` property.
8079
Instead, we use a special `id` format, namely `"@app"` and `@container`
8180
to address states other than components. (#52)
8281

8382
## Version 0.0.25 (from 2024/11/23)
8483

85-
- `Registry.register()` now requires the `type`
84+
* `Registry.register()` now requires the `type`
8685
to be passed as 1st argument because `component.name` will
8786
be a mangled name in most cases.
8887

8988
## Version 0.0.24 (from 2024/11/23)
9089

91-
- Exporting required `HostStore` type.
90+
* Exporting required `HostStore` type.
9291

9392
## Version 0.0.23 (from 2024/11/23)
9493

95-
- Introduced new interface `HostState` that applications may implement
94+
* Introduced new interface `HostState` that applications may implement
9695
to provide computed properties, i.e., a derived state. (#43)
9796

98-
- Replacing entire components if a related component `StateChange`
97+
* Replacing entire components if a related component `StateChange`
9998
has an empty `property`. (#38)
10099

101-
- Added handy hooks `useContributions` and `useComponentChangeHandlers`.
100+
* Added handy hooks `useContributions` and `useComponentChangeHandlers`.
101+
102102

103103
## Version 0.0.22 (from 2024/11/19)
104104

105-
- Improved robustness while rendering the in `Select` component
105+
* Improved robustness while rendering the in `Select` component
106106
wrt `options` property.
107107

108-
- `Button` component now sets a `clicked: boolean` property instead
108+
* `Button` component now sets a `clicked: boolean` property instead
109109
of `n_clicks: int`.
110110

111111
## Version 0.0.21 (from 2024/11/19)
112112

113-
- `Component` children can now also be text nodes (of type `string`).
113+
* `Component` children can now also be text nodes (of type `string`).
114114

115-
- `Typography` component has children instead of `text`.
115+
* `Typography` component has children instead of `text`.
116116

117-
- A component's `children` property can now be changed, even from a
117+
* A component's `children` property can now be changed, even from a
118118
scalar.
119119

120-
- Renamed `Dropdown` component into `Select`
120+
* Renamed `Dropdown` component into `Select`
121121
(to refer to MUI component with same name).
122122

123-
- `Select` component has more flexible options.
123+
* `Select` component has more flexible options.
124124

125125
## Version 0.0.20 (from 2024/11/19)
126126

127-
- Using `FrameworkOptions.getDerivedHostState` also in
127+
* Using `FrameworkOptions.getDerivedHostState` also in
128128
`handleHostStoreChange()`.
129129

130-
- Actions `handleComponentChange()` and `handleHostStoreChange()`
130+
* Actions `handleComponentChange()` and `handleHostStoreChange()`
131131
now exit immediately, if no extensions are configured yet.
132132

133-
- Module `utils.objPath`: Renamed `toObjPath` into `normalizeObjPath`,
133+
* Module `utils.objPath`: Renamed `toObjPath` into `normalizeObjPath`,
134134
added `formatObjPath`.
135135

136136
## Version 0.0.19 (from 2024/11/18)
137137

138-
- Fixed TypeScript typing issues with `configureFramework<S>()` and
138+
* Fixed TypeScript typing issues with `configureFramework<S>()` and
139139
`FrameworkOptions`.
140-
140+
141141
## Version 0.0.18 (from 2024/11/18)
142142

143-
- Fixed TypeScript typing issues with `configureFramework<S>()` and
144-
`FrameworkOptions`.
143+
* Fixed TypeScript typing issues with `configureFramework<S>()` and
144+
`FrameworkOptions`.
145145

146146
## Version 0.0.17 (from 2024/11/18)
147147

148-
- Enhanced interface `FrameworkOptions` by property `getDerivedHostState`,
148+
* Enhanced interface `FrameworkOptions` by property `getDerivedHostState`,
149149
which is a user-supplied function that can compute derived
150-
host state property.
151-
150+
host state property.
151+
152152
## Version 0.0.16 (from 2024/11/12)
153153

154-
Initial, still experimental version.
154+
Initial, still experimental version.

0 commit comments

Comments
 (0)