Releases: uiwjs/react-heat-map
Releases · uiwjs/react-heat-map
v2.3.1
npm i @uiw/react-heat-map@2.3.1
- 📖 doc: Update document. 625562a @jaywcjlove
- 📖 doc: Update document. a8a513c @jaywcjlove
- 💊 clean: remove console log. 1f86e7e @apmanager001
v2.3.0
v2.2.2
v2.2.1
npm i @uiw/react-heat-map@2.2.1
- 💄 chore: add sponsor badge. 8571b20 @jaywcjlove
- 🐞 fix(deps): update dependency @uiw/react-markdown-preview-example to v2 (#125) aaf126b @renovate-bot
- 💄 chore(deps): update dependency lerna to v8 (#124) 75a640f @renovate-bot
- 💄 chore(deps): update dependency prettier to v3 (#120) e4240a1 @renovate-bot
- 💄 chore(deps): update dependency lint-staged to v15 (#123) bc055bb @renovate-bot
v2.2.0
npm i @uiw/react-heat-map@2.2.0
- 🌍 website: display version. 4de98b8 @jaywcjlove
- 📖 doc: update example. f4a6bf5 @jaywcjlove
- 🌍 website: update markdown preview. 9b4d1d4 @jaywcjlove
- 💄 chore(deps): update dependency lerna to v7 #119 bd4158d @jaywcjlove
- 💢 ci: update workflows config. 081253d @jaywcjlove
- 🌟 feat: add
monthPlacement
props. (#114) 8c51eb0 @jaywcjlove
v2.1.1
npm i @uiw/react-heat-map@2.1.1
- 🆎 type: fix value props type error. 9861e9b @jaywcjlove
v2.1.0
npm i @uiw/react-heat-map@2.1.0
- 💄 chore: update workflows config. da875cb @jaywcjlove
- 💄 chore(deps): update dependency tsbb to v4 #118 6c2b07c @jaywcjlove
- 🐞 fix(deps): update dependency react-code-preview-layout to v3 #117 718146d @jaywcjlove
- 🌟 feat: add css variable to change the color. (#121) bb4f826 @jaywcjlove
v2.0.5
npm i @uiw/react-heat-map@2.0.5
- 💄 chore: update workflows config. 71431a8 @jaywcjlove
- 💄 chore(deps): update devDependencies. 7bcad13 @jaywcjlove
- 💄 chore: update renovate.json. ad0f40d @jaywcjlove
- 📖 doc: Update README.md e40dfe4 @jaywcjlove
- 📖 doc: Update README.md 19ae8ba @jaywcjlove
- 📖 doc: Update README.md e984478 @jaywcjlove
- 🆎 type:修复类型导出 (#113) d1c7b5c @SunLxy
v2.0.4
npm i @uiw/react-heat-map@2.0.4
- 🌍 website: update public/bundle.html 471551f @jaywcjlove
- 🌍 website: update public/bundle.html c6a62d7 @jaywcjlove
- 💄 chore: use workspaces & support react 18. 51be410 @jaywcjlove
- 📖 doc: Update README.md 3bbd68d @jaywcjlove
- 💄 chore: update workflows config. b938ce6 @jaywcjlove
- 💄 chore: update workflows config. e18413e @jaywcjlove
- 💄 chore: update workflows config. 37ff80e @jaywcjlove
v2.0.3
npm i @uiw/react-heat-map@2.0.3
- 📖 doc: Update README.md c4e3309 @jaywcjlove
- 🐞 fix: Fix kkt config. 93c79ee @jaywcjlove
- 💄 chore: update ts config. cf652c0 @jaywcjlove
- 🌍 website: fix example issue. 17547e3 @jaywcjlove
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/standalone@7.17.5/babel.min.js" crossorigin></script>
<script src="https://unpkg.com/react@16.x/umd/react.development.js" crossorigin></script>
<script src="https://unpkg.com/react-dom@16.x/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>