All Versions
169
Latest Version
Avg Release Cycle
30 days
Latest Release
-5 days ago

Changelog History
Page 1

  • v2.1.15 Changes

    December 12, 2022

    ๐Ÿ›  fix

    • ๐Ÿ›  Fix scroll on hover
    • 0๏ธโƒฃ DefaultTooltipContent.tsx Solving type error for entry.value and entry.name

    chore

    • โช Revert D3 version
  • v2.1.14 Changes

    September 07, 2022

    ๐Ÿ›  fix

    • โž• Add inactiveShape prop to Pie component (#2900)
    • โช Revert "chore: move type deps into devDependencies (#2843)" (#2942)
    • ๐Ÿ›  Fix typing of default tooltip formatter (#2924)
    • Take letter-spacing and font-size into consideration while rendering ticks (#2898)
    • โž• Add formatter function type to tooltip props (#2916)
    • โšก๏ธ doc: Update CHANGELOG.md about d3 7.x (#2919)
  • v2.1.13 Changes

    July 26, 2022

    ๐Ÿ›  fix

    • โšก๏ธ set animate flag before chart data update (#2911)
    • Error bar domain fix (#2863)
    • ๐Ÿ›  fix: fix "[email protected]โ€ฆ doesn't provide prop-types, requested by react-smooth" warning (#2895)

    chore

    • โฌ†๏ธ upgrade d3 (#2893)
  • v2.1.12 Changes

    June 27, 2022

    ๐Ÿ›  fix

    • โšก๏ธ update react-smooth version
    • โšก๏ธ update d3 from 6.x to 7.x it may break some tools like jest

    ๐Ÿ›  fix config for jest is to add the following configuration

    const path = require('path');
    // took from d3/package.json
    const d3Pkgs = [
        'd3',
        'd3-array',
        'd3-axis',
        'd3-brush',
        'd3-chord',
        'd3-color',
        'd3-contour',
        'd3-delaunay',
        'd3-dispatch',
        'd3-drag',
        'd3-dsv',
        'd3-ease',
        'd3-fetch',
        'd3-force',
        'd3-format',
        'd3-geo',
        'd3-hierarchy',
        'd3-interpolate',
        'd3-path',
        'd3-polygon',
        'd3-quadtree',
        'd3-random',
        'd3-scale',
        'd3-scale-chromatic',
        'd3-selection',
        'd3-shape',
        'd3-time',
        'd3-time-format',
        'd3-timer',
        'd3-transition',
        'd3-zoom',
    ];
    
    // option 1 map module to an bundled version of the package which is es5
    const moduleNameMapper = d3Pkgs.reduce((acc, pkg) => {
        acc[`^${pkg}$`] = path.join(require.resolve(pkg), `../../dist/${pkg}.min.js`);
        return acc;
    }, {});
    
    module.exports = {
        moduleNameMapper: {
            // option 1
            // ...moduleNameMapper
        },
        transform: {
            // match mjs js jsx ts tsx
            '^.+\\.m?[jt]sx?$': 'babel-jest',
        },
        // stop ignore node_modules transform since d3 and others start to put es6 as main of packages
        transformIgnorePatterns: [
            // option 2, stop ignore transform on es6 packages
            `/node_modules/(?!${d3Pkgs.join('|')}|internmap|d3-delaunay|delaunator|robust-predicates)`,
            // option 3, stop ignore transform on all node_modules
            // `/node_modules/(?!.*)`,
        ],
    };
    
  • v2.1.11 Changes

    June 24, 2022

    feat

    • Adds react ^18.0.0 as valid peerDependency (#2820)
  • v2.1.10 Changes

    May 19, 2022

    feat

    • โž• Add ARIA1.2 attributes to the SvgElementPropKeys filter array
    • โž• Added Storybook Badge (#2840)
    • 0๏ธโƒฃ Handling of undefined values and type checks in DefaultTooltipContent

    ๐Ÿ›  fix

    • Axis scale=band no longer works as of Recharts 2.x.x (#2742)

    chore

    • ๐Ÿšš chore: move type deps into devDependencies (#2843)
  • v2.1.9 Changes

    February 10, 2022

    feat

    • feat: allow axis domain to accept a callback (#2770)
    • Categorical chart callback types (#2739)

    ๐Ÿ›  fix

    • ๐Ÿ›  Fixing types in strict mode (#2745) (#2747)
    • ๐Ÿ›  Fix: removes overlapping legend for categorical charts (#2752)
    • Categorical chart callback types (#2739)
  • v2.1.8 Changes

    December 14, 2021

    ๐Ÿ›  fix

    • Must use import to load ES Module (#2658)
  • v2.1.7 Changes

    December 14, 2021

    ๐Ÿ›  fix

    • Treemap do not render depth (#2718 #2719)
    • โšก๏ธ Update PolarRadiusAxis.tsx (#2720)

    chore

    • โšก๏ธ Update d3-interpolate, d3-scale and d3-shape (#2707)
  • v2.1.6 Changes

    October 26, 2021

    ๐Ÿ›  fix

    • ๐Ÿ›  Fix types folder missing