Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.6.2 #23

Merged
merged 5 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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-v1.6.1-blue)](https://www.npmjs.com/package/jheat.js)
[![nuget](https://img.shields.io/badge/nuget-v1.6.1-purple)](https://www.nuget.org/packages/jHeat.js/)
[![npm](https://img.shields.io/badge/npmjs-v1.6.2-blue)](https://www.npmjs.com/package/jheat.js)
[![nuget](https://img.shields.io/badge/nuget-v1.6.2-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://william-troup.com/)
</h1>

> <p align="center">🌞 A lightweight JavaScript library that generates customizable heat maps and charts to visualize date-based activity and trends.</p>
> <p align="center">v1.6.1</p>
> <p align="center">v1.6.2</p>
<br />

![Heat.js](docs/images/main.png)
Expand All @@ -29,6 +29,7 @@ Heat.js
- Export all data to CSV.
- 12 language translations available!
- Trend types allows data to be split up and viewed separately.
- Customizable tooltips.
<br />
<br />

Expand Down
7 changes: 4 additions & 3 deletions README_NUGET.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Heat.js v1.6.1
# Heat.js v1.6.2

[![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-v1.6.1-blue)](https://www.npmjs.com/package/jheat.js)
[![nuget](https://img.shields.io/badge/nuget-v1.6.1-purple)](https://www.nuget.org/packages/jHeat.js/)
[![npm](https://img.shields.io/badge/npmjs-v1.6.2-blue)](https://www.npmjs.com/package/jheat.js)
[![nuget](https://img.shields.io/badge/nuget-v1.6.2-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://william-troup.com/)
Expand All @@ -22,6 +22,7 @@
- Export all data to CSV.
- 12 language translations available!
- Trend types allows data to be split up and viewed separately.
- Customizable tooltips.


## What browsers are supported?
Expand Down
4 changes: 2 additions & 2 deletions dist/heat.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.6.1 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.6.2 | (c) Bunoon 2024 | MIT License */
(function() {
function render() {
var tagTypes = _configuration.domElementTypes;
Expand Down Expand Up @@ -1126,7 +1126,7 @@
return this;
};
this.getVersion = function() {
return "1.6.1";
return "1.6.2";
};
(function(documentObject, windowObject) {
_parameter_Document = documentObject;
Expand Down
6 changes: 5 additions & 1 deletion dist/heat.js.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Heat.js Library v1.6.1
* Heat.js Library v1.6.2
*
* Copyright 2024 Bunoon
* Released under the MIT License
Expand Down Expand Up @@ -583,6 +583,10 @@ div.heat-js div.guide div.map-toggles div.days div.day {
div.heat-js div.guide div.map-toggles div.days div.day:last-child {
margin-right: 0;
}
div.heat-js div.guide div.map-toggles div.days div.day:not(.no-hover):hover {
cursor: pointer;
background: var(--heat-js-day-background-color-hover);
}

/*
-------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion dist/heat.js.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/heat.js.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/heat.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/themes/heat.js.light.theme.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.6.1 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.6.2 | (c) Bunoon 2024 | MIT License */
:root {
/* Colors */
--heat-js-color-black: #F5F5F5;
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/heat.translations.ar.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.6.1 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.6.2 | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/heat.translations.bn.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.6.1 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.6.2 | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/heat.translations.de.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.6.1 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.6.2 | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/heat.translations.en.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.6.1 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.6.2 | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "st",
"ndText": "nd",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/heat.translations.es.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.6.1 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.6.2 | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/heat.translations.fr.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.6.1 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.6.2 | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/heat.translations.hi.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.6.1 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.6.2 | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/heat.translations.ja.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.6.1 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.6.2 | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/heat.translations.pl.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.6.1 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.6.2 | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/heat.translations.pt.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.6.1 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.6.2 | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/heat.translations.tr.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.6.1 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.6.2 | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/heat.translations.zh.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.6.1 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.6.2 | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
Expand Down
7 changes: 7 additions & 0 deletions docs/CHANGE_LOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Heat.js - Change Log:

## Version 1.6.2:
- Added hover effect for the guide day toggles that are turned off.
- Fixed package keywords and description being wrong.

<br>


## Version 1.6.1:
- Fixed a fault that prevented the tooltips from showing when click events are not assigned, or the map toggles are turned off.
- Removed more duplicate code.
Expand Down
6 changes: 3 additions & 3 deletions heat.js.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>jHeat.js</id>
<version>1.6.1</version>
<version>1.6.2</version>
<title>Heat.js</title>
<description>A lightweight JavaScript library that generates customizable heat maps to visualize date-based activity and trends.</description>
<description>A lightweight JavaScript library that generates customizable heat maps and charts to visualize date-based activity and trends.</description>
<authors>William Troup</authors>
<projectUrl>https://www.william-troup.com/heat-js/</projectUrl>
<repository type="git" url="https://github.com/williamtroup/Heat.js" branch="main" />
<readme>README_NUGET.md</readme>
<license type="expression">MIT</license>
<tags>javascript css heat.js html date heatmap generator</tags>
<tags>javascript css heat.js html date heatmap generator map chart heat activity trends</tags>
<icon>docs\images\icon.png</icon>
<copyright>William Troup</copyright>
</metadata>
Expand Down
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "jheat.js",
"title": "Heat.js",
"description": "A lightweight JavaScript library that generates customizable heat maps to visualize date-based activity and trends.",
"version": "1.6.1",
"description": "A lightweight JavaScript library that generates customizable heat maps and charts to visualize date-based activity and trends.",
"version": "1.6.2",
"main": "dist/heat.js",
"homepage": "https://www.william-troup.com/heat-js/",
"author": {
Expand All @@ -19,7 +19,12 @@
"html",
"date",
"heatmap",
"generator"
"generator",
"chart",
"map",
"heat",
"activity",
"trends"
],
"bugs": {
"url": "https://github.com/williamtroup/Heat.js/issues"
Expand Down
6 changes: 3 additions & 3 deletions src/heat.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**
* Heat.js
*
* A lightweight JavaScript library that generates customizable heat maps to visualize date-based activity and trends.
* A lightweight JavaScript library that generates customizable heat maps and charts to visualize date-based activity and trends.
*
* @file observe.js
* @version v1.6.1
* @version v1.6.2
* @author Bunoon
* @license MIT License
* @copyright Bunoon 2024
Expand Down Expand Up @@ -1865,7 +1865,7 @@
* @returns {string} The version number.
*/
this.getVersion = function() {
return "1.6.1";
return "1.6.2";
};


Expand Down
7 changes: 6 additions & 1 deletion src/heat.js.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Heat.js Library v1.6.1
* Heat.js Library v1.6.2
*
* Copyright 2024 Bunoon
* Released under the MIT License
Expand Down Expand Up @@ -677,6 +677,11 @@ div.heat-js {
&:last-child {
margin-right: 0;
}

&:not(.no-hover):hover {
cursor: pointer;
background: var(--heat-js-day-background-color-hover);
}
}
}
}
Expand Down
Loading