Skip to content

Releases: uiwjs/react-heat-map

v2.0.3

27 Feb 16:19
Compare
Choose a tag to compare

npm bundle size

v2.0.2...v2.0.3

Bundle Example: https://uiwjs.github.io/react-heat-map/bundle.html

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <script src="https://unpkg.com/@babel/[email protected]/babel.min.js" crossorigin></script>
    <script src="https://unpkg.com/[email protected]/umd/react.development.js" crossorigin></script>
    <script src="https://unpkg.com/[email protected]/umd/react-dom.development.js" crossorigin></script>
    <script src="https://unpkg.com/@uiw/codepen-require-polyfill/index.js" crossorigin></script>
    <link rel="stylesheet" href="https://unpkg.com/@uiw/react-heat-map/dist/heat-map.css">
  </head>
  <body>
    <div id="container" style="padding: 24px"></div>
    <script src="https://unpkg.com/@uiw/react-heat-map/dist/heat-map.min.js"></script>
    <script type="text/babel">
      import HeatMap from '@uiw/react-heat-map';

      const value = [
        { date: '2016/01/11', count: 2 },
        { date: '2016/01/12', count: 20 },
        { date: '2016/01/13', count: 10 },
        ...[...Array(17)].map((_, idx) => ({ date: `2016/02/${idx + 10}`, count: idx, content: '' })),
        { date: '2016/04/11', count: 2 },
        { date: '2016/05/01', count: 5 },
        { date: '2016/05/02', count: 5 },
        { date: '2016/05/04', count: 11 },
      ];

      const Demo = () => {
        return (
          <HeatMap value={value} startDate={new Date('2016/01/01')} />
        );
      };

      ReactDOM.render(<Demo />, document.getElementById('container'));
    </script>
  </body>
</html>

v2.0.2

27 Feb 15:31
Compare
Choose a tag to compare

npm bundle size

v2.0.1...v2.0.2

v2.0.1

27 Feb 15:24
Compare
Choose a tag to compare

npm bundle size

v2.0.0...v2.0.1

v2.0.0

13 Oct 08:26
Compare
Choose a tag to compare

npm bundle size

v1.4.8...v2.0.0

Fix Typo:

- weekLables
+ weekLabels
- monthLables
+ monthLabels
  • 💄 chore: update .github/workflows/ci.yml 2637b63
  • 💄 chore(deps): update dependency @uiw/react-markdown-preview to v3.4.0 #56 fbe753a
  • 💄 chore(deps): update dependency @uiw/react-code-preview to v2.1.4 (#53) bb6e820
  • 🐞 fix: Fix Typo weekLables -> weekLabels,monthLables -> monthLabels (#61) 1e512da

v1.4.8

17 Sep 03:56
Compare
Choose a tag to compare

npm bundle size

v1.4.7...v1.4.8

v1.4.7

17 Sep 03:08
Compare
Choose a tag to compare

npm bundle size

v1.4.6...v1.4.7

v1.4.6

13 Sep 07:54
Compare
Choose a tag to compare

npm bundle size

v1.4.5...v1.4.6

  • 🌍 website: update example preview. 779a919
  • 💄 chore(deps): update dependency tsbb to v3.1.11 de1b08b

v1.4.5

12 Sep 15:01
Compare
Choose a tag to compare

npm bundle size

v1.4.4...v1.4.5

v1.4.4

10 Sep 08:03
Compare
Choose a tag to compare

npm bundle size

v1.4.3...v1.4.4

v1.4.3

08 Sep 19:49
Compare
Choose a tag to compare

npm bundle size

v1.4.2...v1.4.3