-
Updated dependencies
glob: ^13.0.1react-vega: ^8.0.0vega-lite: ^6.4.1@vitest/coverage-istanbul: ^3.2.4vite: ^7.1.11vitest: ^3.2.4
-
Added icon support for
Button,IconButtonandTabscomponents. (#124). -
Added (MUI) component
Accordion. (#41, #134) (#124) -
Adjusted
VegaChartcomponent, due toreact-vegaupgrade from v7 to v8. (#132) -
Fixed handling of
styleprop inTabscomponent and added propiconPosition. (#135, #136)
-
Updated dependencies
canvas: ^3.2.0glob: ^11.1.0react-vega: ^7.7.1vega: ^6.2.0vega-embed: ^7.1.0vega-lite: ^6.4.1
-
Updated
eslintto v9 with related dependencies and configuration. -
Omitted multiple VegaTheme options. While using
react-vegav7 the vegaTheme needs to be restricted to: "dark" | "excel" | "ggplot2" | "quartz" | "vox" | "default" | "system" | undefined . -
Typology component now allows color and text arguments. If a user uses text and children, the text argument replaces the children.
-
Applied changes to the return value of
Tabscomponent and added demo panel H, that showcases the use ofTabscomponent. (#129).
-
Implemented dynamic resizing for Vega Charts when the side panel's width changes. (#121) See xcube-dev/xcube#1134
-
Styles are now correctly applied to
RadioGroupcomponent. (#122) See xcube-dev/xcube#1144
-
Add
multipleproperty forSelectcomponent to enable the selection of multiple elements. Thedefaultmode is supported at the moment. -
Static information about callbacks retrieved from API is not cached reducing unnecessary processing and improving performance. (#113)
-
Callbacks will now only be invoked when there’s an actual change in state, reducing unnecessary processing and improving performance. (#112)
-
In
chartlets.jswe no longer emit warnings and errors in common situations to avoid too much spam in the browser console. -
New (MUI) components
DataGridDialogTable
- Chore: Version bump to align CI process with GitHub release flow. No functional changes. This release ensures proper triggering of the CI pipeline for publishing and NPM.
-
Reorganised Chartlets project to better separate demo from library code. Using monorepo layout for
chartlets.jswith workspaceslibanddemothat host the packages forchartletsandchartlets-demo. -
Other code reorganisations:
- moved
component/Registryintostore - renamed module
componentintocomponents - no longer exposing
Registrytype
- moved
-
Chartlets now allows for plugins that can provide individual component implementations. The Vega-based chart and MUI components are now optional and have been moved into respective plugin modules
chartlets/plugins/vegaandchartlets/plugins/mui. To activate them, use the newplugins: PluginLike[]option ofFrameworkOptions:import { configureFramework } from "chartlets"; import mui from "chartlets/plugins/mui"; import vega from "chartlets/plugins/vega"; configureFramework({ plugins: [mui(), vega()], ... });
-
Renamed
Plotcomponent intoVegaChart. -
The new
VegaChartcomponent respects athemeproperty. If not given, it will respect the current theme mode"dark"otherwise fallback to the Vega default theme. -
The demo application now allows for switching the theme mode between dark, light, and system mode.
-
Changed the yet unused descriptor type
CbFunctionfor callback functions.- using
schemainstead oftypeproperty for callback arguments - using
returnobject withschemaproperty for callback return values
- using
-
New (MUI) components
DividerLinearProgressRadioGroupandRadioSwitchTabsSlider
-
Supporting
tooltipproperty for interactive MUI components.
- Resolved warnings that appeared when using Vega charts.
- Updated docs.
- Added component
IconButtonand enhanced other components' attributes.
- Channels such as
Input,State,Outputno longer have alinkproperty. Instead, we use a specialidformat, namely"@app"and@containerto address states other than components. (#52)
Registry.register()now requires thetypeto be passed as 1st argument becausecomponent.namewill be a mangled name in most cases.
- Exporting required
HostStoretype.
-
Introduced new interface
HostStatethat applications may implement to provide computed properties, i.e., a derived state. (#43) -
Replacing entire components if a related component
StateChangehas an emptyproperty. (#38) -
Added handy hooks
useContributionsanduseComponentChangeHandlers.
-
Improved robustness while rendering the in
Selectcomponent wrtoptionsproperty. -
Buttoncomponent now sets aclicked: booleanproperty instead ofn_clicks: int.
-
Componentchildren can now also be text nodes (of typestring). -
Typographycomponent has children instead oftext. -
A component's
childrenproperty can now be changed, even from a scalar. -
Renamed
Dropdowncomponent intoSelect(to refer to MUI component with same name). -
Selectcomponent has more flexible options.
-
Using
FrameworkOptions.getDerivedHostStatealso inhandleHostStoreChange(). -
Actions
handleComponentChange()andhandleHostStoreChange()now exit immediately, if no extensions are configured yet. -
Module
utils.objPath: RenamedtoObjPathintonormalizeObjPath, addedformatObjPath.
- Fixed TypeScript typing issues with
configureFramework<S>()andFrameworkOptions.
- Fixed TypeScript typing issues with
configureFramework<S>()andFrameworkOptions.
- Enhanced interface
FrameworkOptionsby propertygetDerivedHostState, which is a user-supplied function that can compute derived host state property.
Initial, still experimental version.