Skip to content

v0.6.0

Compare
Choose a tag to compare
@tkonopka tkonopka released this 29 Jun 05:46
· 45 commits to main since this release

Highlights

  • New components for creating dendrogram charts
  • Adjustments in package configuration files to better support esm / umd
  • Adjustment to component transforms to better support server-side rendering

Added

  • [core] custom style transformations for server-side rendering to counter-act a bug in framer-motion
  • [examples] chart with hierarchical clustering
  • [band] components Dendrogram, DendrogramTree, DendrogramLeafLabels, and DendrogramSurface to summarize hierarchical clustering
  • [core] linear scale specs with and without the nice parameter
  • [all] more keywords in package.json files

Changed

  • [all] removed unused type definitions; affected items mostly reflect types for contexts holding processed data for views
  • [polar] changed types for labels to allow React components
  • [set] changed types for labels to allow React components
  • [core] fixed a bug in useCreateScales that delayed updates to scales after a refresh, causing charts to redraw momentarily with new data but out-of-date scales
  • [core] fixed missing motion in Polygon
  • [band] restricted types for BarsLabels prop format; the value axis requires numeric values
  • [core] removed redundant interface TextContentProps (similar to TypographyProps)
  • [core] simplified implementation of Typography, Label, and Counter components to remove unnecessary g elements
  • [core] expanded types for title, label, titleFormat, and labelFormat in legends and tooltips to support more complex content, for example including tspan elements
  • [core] default stroke width for tick marks to 1
  • [core] replaced getIdKeySets with hook useIdsKeys; reduces the need for useMemo in add-on packages
  • [band] props for BarsLabels to match DendrogramLeafLabels
  • [all] added conditional exports to package.json files, specifying entry points for 'import' and 'require'
  • [all] updated dependencies in package.json files to enable recent version of framer-motion
  • [all] simplified build process to generate es modules (primary objects) and umd files (used by jest)
  • [all] adjusted package.json files to add type field and remove main field