Skip to content

Latest commit

 

History

History
221 lines (149 loc) · 6.67 KB

File metadata and controls

221 lines (149 loc) · 6.67 KB

Version 0.1.8 (in development)

  • Updated dependencies

    • glob: ^13.0.1
    • react-vega: ^8.0.0
    • vega-lite: ^6.4.1
    • @vitest/coverage-istanbul: ^3.2.4
    • vite: ^7.1.11
    • vitest: ^3.2.4
  • Added icon support for Button, IconButton and Tabs components. (#124).

  • Added (MUI) component Accordion. (#41, #134) (#124)

  • Adjusted VegaChart component, due to react-vega upgrade from v7 to v8. (#132)

  • Fixed handling of style prop in Tabs component and added prop iconPosition. (#135, #136)

Version 0.1.7 (from 2025/12/03)

  • Updated dependencies

    • canvas: ^3.2.0
    • glob: ^11.1.0
    • react-vega: ^7.7.1
    • vega: ^6.2.0
    • vega-embed: ^7.1.0
    • vega-lite: ^6.4.1
  • Updated eslint to v9 with related dependencies and configuration.

  • Omitted multiple VegaTheme options. While using react-vega v7 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 Tabs component and added demo panel H, that showcases the use of Tabs component. (#129).

Version 0.1.6 (from 2025/06/18)

  • 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 RadioGroup component. (#122) See xcube-dev/xcube#1144

Version 0.1.5 (from 2025/03/21)

  • Add multiple property for Select component to enable the selection of multiple elements. The default mode 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)

Version 0.1.4 (from 2025/03/06)

  • In chartlets.js we no longer emit warnings and errors in common situations to avoid too much spam in the browser console.

  • New (MUI) components

    • DataGrid
    • Dialog
    • Table

Version 0.1.3 (from 2025/01/28)

  • 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.

Version 0.1.0 (from 2025/01/14)

  • Reorganised Chartlets project to better separate demo from library code. Using monorepo layout for chartlets.js with workspaces lib and demo that host the packages for chartlets and chartlets-demo.

  • Other code reorganisations:

    • moved component/Registry into store
    • renamed module component into components
    • no longer exposing Registry type
  • 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/vega and chartlets/plugins/mui. To activate them, use the new plugins: PluginLike[] option of FrameworkOptions:

    import { configureFramework } from "chartlets";
    import mui from "chartlets/plugins/mui";
    import vega from "chartlets/plugins/vega";
    
    configureFramework({ plugins: [mui(), vega()], ... });   
  • Renamed Plot component into VegaChart.

  • The new VegaChart component respects a theme property. 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 CbFunction for callback functions.

    • using schema instead of type property for callback arguments
    • using return object with schema property for callback return values
  • New (MUI) components

    • Divider
    • LinearProgress
    • RadioGroup and Radio
    • Switch
    • Tabs
    • Slider
  • Supporting tooltip property for interactive MUI components.

Version 0.0.29 (from 2024/11/26)

  • Resolved warnings that appeared when using Vega charts.

Version 0.0.28 (from 2024/11/26)

  • Updated docs.

Version 0.0.27 (from 2024/11/25)

  • Added component IconButton and enhanced other components' attributes.

Version 0.0.26 (from 2024/11/23)

  • Channels such as Input, State, Output no longer have a link property. Instead, we use a special id format, namely "@app" and @container to address states other than components. (#52)

Version 0.0.25 (from 2024/11/23)

  • Registry.register() now requires the type to be passed as 1st argument because component.name will be a mangled name in most cases.

Version 0.0.24 (from 2024/11/23)

  • Exporting required HostStore type.

Version 0.0.23 (from 2024/11/23)

  • Introduced new interface HostState that applications may implement to provide computed properties, i.e., a derived state. (#43)

  • Replacing entire components if a related component StateChange has an empty property. (#38)

  • Added handy hooks useContributions and useComponentChangeHandlers.

Version 0.0.22 (from 2024/11/19)

  • Improved robustness while rendering the in Select component wrt options property.

  • Button component now sets a clicked: boolean property instead of n_clicks: int.

Version 0.0.21 (from 2024/11/19)

  • Component children can now also be text nodes (of type string).

  • Typography component has children instead of text.

  • A component's children property can now be changed, even from a scalar.

  • Renamed Dropdown component into Select (to refer to MUI component with same name).

  • Select component has more flexible options.

Version 0.0.20 (from 2024/11/19)

  • Using FrameworkOptions.getDerivedHostState also in handleHostStoreChange().

  • Actions handleComponentChange() and handleHostStoreChange() now exit immediately, if no extensions are configured yet.

  • Module utils.objPath: Renamed toObjPath into normalizeObjPath, added formatObjPath.

Version 0.0.19 (from 2024/11/18)

  • Fixed TypeScript typing issues with configureFramework<S>() and FrameworkOptions.

Version 0.0.18 (from 2024/11/18)

  • Fixed TypeScript typing issues with configureFramework<S>() and FrameworkOptions.

Version 0.0.17 (from 2024/11/18)

  • Enhanced interface FrameworkOptions by property getDerivedHostState, which is a user-supplied function that can compute derived host state property.

Version 0.0.16 (from 2024/11/12)

Initial, still experimental version.