diff --git a/README.md b/README.md index 97fbb1e0..49e1c1ce 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,15 @@ Heat.js [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Heat.js%2C%20a%20free%20JavaScript%heat%20map&url=https://github.com/williamtroup/Heat.js&hashtags=javascript,heat,map) -[![npm](https://img.shields.io/badge/npmjs-v0.6.0-blue)](https://www.npmjs.com/package/jheat.js) -[![nuget](https://img.shields.io/badge/nuget-v0.6.0-purple)](https://www.nuget.org/packages/jHeat.js/) +[![npm](https://img.shields.io/badge/npmjs-v0.6.1-blue)](https://www.npmjs.com/package/jheat.js) +[![nuget](https://img.shields.io/badge/nuget-v0.6.1-purple)](https://www.nuget.org/packages/jHeat.js/) [![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/williamtroup/Heat.js/blob/main/LICENSE.txt) [![discussions Welcome](https://img.shields.io/badge/discussions-Welcome-red)](https://github.com/williamtroup/Heat.js/discussions) [![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://github.com/williamtroup) >

🌞 A lightweight JavaScript library that generates customizable heat maps to visualize date-based activity and trends.

->

v0.6.0

+>

v0.6.1


![Heat.js](docs/images/main.png) @@ -92,8 +92,8 @@ Now, you can add/remove dates, which will update the heat map automatically! ```
diff --git a/README_NUGET.md b/README_NUGET.md index 69759689..5a767a37 100644 --- a/README_NUGET.md +++ b/README_NUGET.md @@ -1,8 +1,8 @@ -# Heat.js v0.6.0 +# Heat.js v0.6.1 [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Heat.js%2C%20a%20free%20JavaScript%heat%20map&url=https://github.com/williamtroup/Heat.js&hashtags=javascript,heat,map) -[![npm](https://img.shields.io/badge/npmjs-v0.6.0-blue)](https://www.npmjs.com/package/jheat.js) -[![nuget](https://img.shields.io/badge/nuget-v0.6.0-purple)](https://www.nuget.org/packages/jHeat.js/) +[![npm](https://img.shields.io/badge/npmjs-v0.6.1-blue)](https://www.npmjs.com/package/jheat.js) +[![nuget](https://img.shields.io/badge/nuget-v0.6.1-purple)](https://www.nuget.org/packages/jHeat.js/) [![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/williamtroup/Heat.js/blob/main/LICENSE.txt) [![discussions Welcome](https://img.shields.io/badge/discussions-Welcome-red)](https://github.com/williamtroup/Heat.js/discussions) [![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://github.com/williamtroup) @@ -71,8 +71,8 @@ Now, you can add/remove dates, which will update the heat map automatically! ``` diff --git a/dist/heat.js b/dist/heat.js index 7db2d5b4..3534b91e 100644 --- a/dist/heat.js +++ b/dist/heat.js @@ -1,4 +1,4 @@ -/*! Heat.js v0.6.0 | (c) Bunoon 2024 | MIT License */ +/*! Heat.js v0.6.1 | (c) Bunoon 2024 | MIT License */ (function() { function u(a) { a.element.className = "heat-js"; @@ -393,7 +393,7 @@ return this; }; this.getVersion = function() { - return "0.6.0"; + return "0.6.1"; }; (function(a, c) { A = a; diff --git a/dist/heat.js.min.css b/dist/heat.js.min.css index ab10fabe..23c35b03 100644 --- a/dist/heat.js.min.css +++ b/dist/heat.js.min.css @@ -1,2 +1,2 @@ -/*! Heat.js v0.6.0 | (c) Bunoon 2024 | MIT License */ +/*! Heat.js v0.6.1 | (c) Bunoon 2024 | MIT License */ :root{--color-black:#3b3a3a;--color-white:#F5F5F5;--color-gray:#AAA;--container-background-color:#22272e;--container-border-color:#454c56;--day-background-color:#2d333b;--day-background-color-hover:#454c56;--button-background-color:#2d333b;--button-border-color:#454c56;--button-background-color-hover:#454c56;--border-radius:.5rem;--border-radius-day:.25rem;--border-size:.5px;--border-size-day:1px;--spacing:10px;--spacing-font-size:.85rem;--transition:all .3s}div.heat-js{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none;cursor:default;display:inline-block;border-radius:var(--border-radius);background-color:var(--container-background-color);color:var(--color-white);border:var(--border-size) solid var(--container-border-color);padding:var(--spacing);font-size:var(--spacing-font-size)}div.heat-js *{box-sizing:border-box;line-height:normal}div.heat-js *::before,div.heat-js *::after{box-sizing:border-box;line-height:normal}div.heat-js div.title-bar{text-align:right;margin-bottom:var(--spacing)}div.heat-js div.title-bar div.title{float:left;font-weight:800;font-size:1.2rem}div.heat-js div.title-bar button{background-color:var(--button-background-color);border:var(--border-size) solid var(--button-border-color);color:var(--color-white);border-radius:var(--border-radius);padding-top:5px;padding-bottom:5px;padding-left:9px;padding-right:9px}div.heat-js div.title-bar button:hover{cursor:pointer;background:var(--button-background-color-hover);transition:var(--transition)}div.heat-js div.title-bar button.active{cursor:default;background:var(--button-background-color-hover);transition:var(--transition)}div.heat-js div.title-bar button.back{margin-left:calc(var(--spacing) * 2)!important}div.heat-js div.title-bar div.year-text{margin-left:var(--spacing);margin-right:var(--spacing);display:inline-block}div.heat-js div.map{display:inline-flex;flex-direction:row;max-width:700px;overflow-y:scroll}div.heat-js div.map div.days{background-color:var(--container-background-color);padding-right:calc(var(--spacing) * 3);padding-top:calc(var(--spacing-font-size) + var(--spacing) + 1px);position:sticky;left:0}div.heat-js div.map div.days div.day-name{font-weight:300;margin-bottom:4px}div.heat-js div.map div.months{display:flex;justify-content:space-between;flex-grow:1}div.heat-js div.map div.months div.month{flex:1;pointer-events:none}div.heat-js div.map div.months div.month:last-child{margin-right:0}div.heat-js div.map div.months div.month div.month-name{font-weight:300;margin-bottom:var(--spacing)}div.heat-js div.map div.months div.month div.day-columns{display:flex;justify-content:space-between}div.heat-js div.map div.months div.month div.day-columns div.day-column div.day,div.heat-js div.map div.months div.month div.day-columns div.day-column div.day-disabled{border-radius:var(--border-radius-day);width:var(--spacing-font-size);height:var(--spacing-font-size);margin-right:2px;margin-bottom:6.3px}div.heat-js div.map div.months div.month div.day-columns div.day-column div.day:last-child,div.heat-js div.map div.months div.month div.day-columns div.day-column div.day-disabled:last-child{margin-bottom:0}div.heat-js div.map div.months div.month div.day-columns div.day-column div.day{pointer-events:all!important;background-color:var(--day-background-color);border:var(--border-size) solid var(--day-background-color)}div.heat-js div.map div.months div.month div.day-columns div.day-column div.day:hover{cursor:pointer;background:var(--day-background-color-hover);transition:var(--transition)}div.heat-js div.guide{margin-top:var(--spacing);display:flex}div.heat-js div.guide div.map-types,div.heat-js div.guide div.map-toggles{flex-basis:100%}div.heat-js div.guide div.map-types{text-align:left}div.heat-js div.guide div.map-types button{background-color:var(--button-background-color);border:var(--border-size) solid var(--button-border-color);color:var(--color-white);border-radius:var(--border-radius);padding-top:5px;padding-bottom:5px;padding-left:9px;padding-right:9px}div.heat-js div.guide div.map-types button:hover{cursor:pointer;background:var(--button-background-color-hover);transition:var(--transition)}div.heat-js div.guide div.map-types button.active{cursor:default;background:var(--button-background-color-hover);transition:var(--transition)}div.heat-js div.guide div.map-types button{margin-left:0!important;margin-right:var(--spacing)!important}div.heat-js div.guide div.map-toggles{text-align:right;display:flex;align-items:center;justify-content:right}div.heat-js div.guide div.map-toggles div.less-text,div.heat-js div.guide div.map-toggles div.more-text{display:inline-block;font-weight:300}div.heat-js div.guide div.map-toggles div.less-text:hover,div.heat-js div.guide div.map-toggles div.more-text:hover{cursor:pointer;text-decoration:underline}div.heat-js div.guide div.map-toggles div.less-text{margin-right:var(--spacing)}div.heat-js div.guide div.map-toggles div.more-text{margin-left:var(--spacing)}div.heat-js div.guide div.map-toggles div.days{display:inline-flex;align-items:center;justify-content:right}div.heat-js div.guide div.map-toggles div.days div.day{background-color:var(--day-background-color);border:var(--border-size) solid var(--day-background-color);display:inline-block;border-radius:var(--border-radius-day);width:var(--spacing-font-size);height:var(--spacing-font-size);margin-right:3px;cursor:pointer}div.heat-js div.guide div.map-toggles div.days div.day:last-child{margin-right:0}div.heat-js div.day-color-1{background-color:rgba(57,211,83,.25)!important;border:var(--border-size-day) solid rgba(57,211,83,.15)!important}div.heat-js div.day-color-1:hover{opacity:.7}div.heat-js div.day-color-2{background-color:rgba(57,211,83,.5)!important;border:var(--border-size-day) solid rgba(57,211,83,.25)!important}div.heat-js div.day-color-2:hover{opacity:.7}div.heat-js div.day-color-3{background-color:rgba(57,211,83,.75)!important;border:var(--border-size-day) solid rgba(57,211,83,.5)!important}div.heat-js div.day-color-3:hover{opacity:.7}div.heat-js div.day-color-4{background-color:rgb(57,211,83)!important;border:var(--border-size-day) solid rgba(57,211,83,.75)!important}div.heat-js div.day-color-4:hover{opacity:.7} \ No newline at end of file diff --git a/dist/heat.min.js b/dist/heat.min.js index f0b4e85a..06a489f9 100644 --- a/dist/heat.min.js +++ b/dist/heat.min.js @@ -1,4 +1,4 @@ -/*! Heat.js v0.6.0 | (c) Bunoon 2024 | MIT License */ +/*! Heat.js v0.6.1 | (c) Bunoon 2024 | MIT License */ (function(){function u(a){a.element.className="heat-js";a.element.innerHTML=q.empty;X(a);Y(a)}function X(a){P(a.currentView.year)||(a.currentView.year=(new Date).getFullYear());if(a.showTitle||a.showYearSelector||a.showRefreshButton||a.showExportButton){var c=m("div","title-bar");a.element.appendChild(c);if(a.showTitle){var b=m("div","title");b.innerHTML=a.titleText;c.appendChild(b)}a.showExportButton&&(b=m("button","export"),b.innerHTML=f.exportButtonText,c.appendChild(b),b.onclick=function(){var d= h[a.element.id].type[a.currentView.type];var g=[];var k=[];g.push([F(f.dateText),F(f.countText)].join());for(var l in d)d.hasOwnProperty(l)&&k.push(l);k.sort();l=k.length;for(var n=0;n + + ## Version 0.6.0: #### **New Features:** diff --git a/heat.js.nuspec b/heat.js.nuspec index a41b197c..4ac49123 100644 --- a/heat.js.nuspec +++ b/heat.js.nuspec @@ -2,7 +2,7 @@ jHeat.js - 0.6.0 + 0.6.1 Heat.js A lightweight JavaScript library that generates customizable heat maps to visualize date-based activity and trends. William Troup diff --git a/package.json b/package.json index 9bd1f2da..6af050c2 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "jheat.js", "title": "Heat.js", "description": "A lightweight JavaScript library that generates customizable heat maps to visualize date-based activity and trends.", - "version": "0.6.0", + "version": "0.6.1", "main": "dist/heat.js", "author": { "name": "Bunoon" diff --git a/src/heat.js b/src/heat.js index 61d5fb26..a2464e51 100644 --- a/src/heat.js +++ b/src/heat.js @@ -4,7 +4,7 @@ * A lightweight JavaScript library that generates customizable heat maps to visualize date-based activity and trends. * * @file observe.js - * @version v0.6.0 + * @version v0.6.1 * @author Bunoon * @license MIT License * @copyright Bunoon 2024 @@ -1171,7 +1171,7 @@ * @returns {string} The version number. */ this.getVersion = function() { - return "0.6.0"; + return "0.6.1"; };