Skip to content

Commit

Permalink
Merge pull request #29 from williamtroup/1.8.1
Browse files Browse the repository at this point in the history
1.8.1
  • Loading branch information
William Troup authored Feb 2, 2024
2 parents 4495907 + a29ec89 commit 57dd95e
Show file tree
Hide file tree
Showing 45 changed files with 750 additions and 68 deletions.
47 changes: 31 additions & 16 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.8.0-blue)](https://www.npmjs.com/package/jheat.js)
[![nuget](https://img.shields.io/badge/nuget-v1.8.0-purple)](https://www.nuget.org/packages/jHeat.js/)
[![npm](https://img.shields.io/badge/npmjs-v1.8.1-blue)](https://www.npmjs.com/package/jheat.js)
[![nuget](https://img.shields.io/badge/nuget-v1.8.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://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.8.0</p>
> <p align="center">v1.8.1</p>
<br />
![Heat.js](docs/images/main.png)
Expand All @@ -27,7 +27,7 @@ Heat.js
- Fully configurable per DOM element.
- Toggling colors on/off support.
- Export all data to CSV.
- 12 language translations available!
- 27 language translations available!
- Trend types allows data to be split up and viewed separately.
- Customizable tooltips.
- 7 themes available (for dark and light mode).
Expand All @@ -44,18 +44,33 @@ All modern browsers (such as Google Chrome, FireFox, and Opera) are fully suppor

<h1>What languages are supported?</h1>

- Arabic
- Bengali
- Chinese (simplified)
- English
- French
- German
- Hindi
- Japanese
- Polish
- Portuguese
- Spanish
- Turkish
- `ar` Arabic
- `bn` Bengali
- `bg` Bulgarian
- `zh` Chinese (simplified)
- `da` Danish
- `nl` Dutch
- `en` English (default)
- `fi` Finnish
- `fr` French
- `ka` Georgian
- `de` German
- `el` Greek
- `hi` Hindi
- `hu` Hungarian
- `ir` Italian
- `ja` Japanese
- `ko` Korean
- `lv` Latvian
- `lt` Lithuanian
- `no` Norwegian
- `pl` Polish
- `pt` Portuguese
- `ro` Romanian
- `es` Spanish
- `sv` Swedish
- `tr` Turkish
- `uk` Ukrainian
<br>
<br>

Expand Down
47 changes: 31 additions & 16 deletions README_NUGET.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Heat.js v1.8.0
# Heat.js v1.8.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-v1.8.0-blue)](https://www.npmjs.com/package/jheat.js)
[![nuget](https://img.shields.io/badge/nuget-v1.8.0-purple)](https://www.nuget.org/packages/jHeat.js/)
[![npm](https://img.shields.io/badge/npmjs-v1.8.1-blue)](https://www.npmjs.com/package/jheat.js)
[![nuget](https://img.shields.io/badge/nuget-v1.8.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://william-troup.com/)
Expand All @@ -20,7 +20,7 @@
- Fully configurable per DOM element.
- Toggling colors on/off support.
- Export all data to CSV.
- 12 language translations available!
- 27 language translations available!
- Trend types allows data to be split up and viewed separately.
- Customizable tooltips.
- 7 themes available (for dark and light mode).
Expand All @@ -33,18 +33,33 @@ All modern browsers (such as Google Chrome, FireFox, and Opera) are fully suppor

## What languages are supported?

- Arabic
- Bengali
- Chinese (simplified)
- English
- French
- German
- Hindi
- Japanese
- Polish
- Portuguese
- Spanish
- Turkish
- `ar` Arabic
- `bn` Bengali
- `bg` Bulgarian
- `zh` Chinese (simplified)
- `da` Danish
- `nl` Dutch
- `en` English (default)
- `fi` Finnish
- `fr` French
- `ka` Georgian
- `de` German
- `el` Greek
- `hi` Hindi
- `hu` Hungarian
- `ir` Italian
- `ja` Japanese
- `ko` Korean
- `lv` Latvian
- `lt` Lithuanian
- `no` Norwegian
- `pl` Polish
- `pt` Portuguese
- `ro` Romanian
- `es` Spanish
- `sv` Swedish
- `tr` Turkish
- `uk` Ukrainian


## What are the most recent changes?
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.8.0 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.8.1 | (c) Bunoon 2024 | MIT License */
(function() {
function render() {
var tagTypes = _configuration.domElementTypes;
Expand Down Expand Up @@ -1324,7 +1324,7 @@
return result;
};
this.getVersion = function() {
return "1.8.0";
return "1.8.1";
};
(function(documentObject, windowObject) {
_parameter_Document = documentObject;
Expand Down
6 changes: 3 additions & 3 deletions dist/heat.js.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Heat.js Library v1.8.0
* Heat.js Library v1.8.1
*
* Copyright 2024 Bunoon
* Released under the MIT License
Expand Down Expand Up @@ -585,7 +585,7 @@ div.heat-js div.statistics-contents div.statistics div.range-lines div.range-lin
background-color: var(--heat-js-day-background-color);
border: var(--heat-js-border-size) solid var(--heat-js-day-border-color);
vertical-align: bottom;
width: 60px;
flex: 1 100%;
margin-right: var(--heat-js-spacing);
display: inline-block;
transition: var(--heat-js-transition);
Expand All @@ -605,10 +605,10 @@ div.heat-js div.statistics-contents div.statistics-ranges {
height: calc(var(--heat-js-spacing-font-size) + var(--heat-js-spacing));
}
div.heat-js div.statistics-contents div.statistics-ranges div.range-name {
flex: 1 100%;
margin-top: var(--heat-js-spacing);
font-weight: var(--heat-js-text-bold-weight);
text-align: center !important;
width: 60px;
}

/*
Expand Down
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/dark/heat.js.dark.blue.theme.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.8.1 | (c) Bunoon 2024 | MIT License */
:root {
/* Days - Colors */
--heat-js-day-color-1-background-color: rgba( 28, 45, 255, 0.25 );
Expand Down
2 changes: 1 addition & 1 deletion dist/themes/dark/heat.js.dark.orange.theme.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.8.1 | (c) Bunoon 2024 | MIT License */
:root {
/* Days - Colors */
--heat-js-day-color-1-background-color: rgba( 255, 172, 28, 0.25 );
Expand Down
2 changes: 1 addition & 1 deletion dist/themes/dark/heat.js.dark.red.theme.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.8.1 | (c) Bunoon 2024 | MIT License */
:root {
/* Days - Colors */
--heat-js-day-color-1-background-color: rgba( 255, 0, 0, 0.25 );
Expand Down
2 changes: 1 addition & 1 deletion dist/themes/light/heat.js.light.blue.theme.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.8.1 | (c) Bunoon 2024 | MIT License */
:root {
/* Colors */
--heat-js-color-black: #F5F5F5;
Expand Down
2 changes: 1 addition & 1 deletion dist/themes/light/heat.js.light.orange.theme.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.8.1 | (c) Bunoon 2024 | MIT License */
:root {
/* Colors */
--heat-js-color-black: #F5F5F5;
Expand Down
2 changes: 1 addition & 1 deletion dist/themes/light/heat.js.light.red.theme.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.8.1 | (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.8.0 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.8.1 - Arabic | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
Expand Down
42 changes: 42 additions & 0 deletions dist/translations/heat.translations.bg.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*! Heat.js v1.8.1 - Bulgarian | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
"rdText": "",
"thText": "",
"backButtonText": "обратно",
"nextButtonText": "Следващия",
"refreshButtonText": "Опресняване",
"exportButtonText": "Експортиране",
"lessText": "По-малко",
"moreText": "| Повече ▼",
"dateText": "Дата",
"countText": "Броя",
"mapText": "Карта",
"chartText": "Диаграма",
"noChartDataMessage": "В момента няма данни за преглед.",
"statisticsText": "Статистика",
"monthNames": [
"януари",
"февр",
"март",
"апр",
"Може",
"юни",
"юли",
"авг",
"септ",
"окт",
"ноем",
"дек"
],
"dayNames": [
"пн",
"вт",
"ср",
"чт",
"пт",
"сб",
"слънце"
]
} );
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.8.0 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.8.1 - Bengali | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
Expand Down
42 changes: 42 additions & 0 deletions dist/translations/heat.translations.da.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*! Heat.js v1.8.1 - Danish | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
"rdText": "",
"thText": "",
"backButtonText": "Tilbage",
"nextButtonText": "Næste",
"refreshButtonText": "Opdater",
"exportButtonText": "Eksport",
"lessText": "Mindre",
"moreText": "Mere",
"dateText": "Dato",
"countText": "Tælle",
"mapText": "Kort",
"chartText": "Diagram",
"noChartDataMessage": "Der er i øjeblikket ingen data at se.",
"statisticsText": "Statistikker",
"monthNames": [
"Jan",
"feb",
"Mar",
"apr",
"Kan",
"jun",
"jul",
"aug",
"sep",
"okt",
"nov",
"dec"
],
"dayNames": [
"man",
"tir",
"ons",
"tor",
"fre",
"Lør",
"Sol"
]
} );
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.8.0 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.8.1 - German | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
Expand Down
42 changes: 42 additions & 0 deletions dist/translations/heat.translations.el.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/*! Heat.js v1.8.1 - Greek | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
"rdText": "",
"thText": "",
"backButtonText": "Πίσω",
"nextButtonText": "Επόμενο",
"refreshButtonText": "Φρεσκάρω",
"exportButtonText": "Εξαγωγή",
"lessText": "Πιο λιγο",
"moreText": "Περισσότερο",
"dateText": "Ημερομηνία",
"countText": "μετρώ",
"mapText": "Χάρτης",
"chartText": "Διάγραμμα",
"noChartDataMessage": "Αυτήν τη στιγμή δεν υπάρχουν δεδομένα για προβολή.",
"statisticsText": "Στατιστική",
"monthNames": [
"Ιαν",
"Φεβ",
"Αφανίζω",
"Απρ",
"Ενδέχεται",
"Ιούν",
"Ιούλ",
"Αύγ",
"Σεπτ",
"Οκτ",
"Νοε",
"Δεκ"
],
"dayNames": [
"Δευτ",
"Τρ",
"Νυμφεύομαι",
"Πέμ",
"Παρ",
"Σάβ",
"Ήλιος"
]
} );
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.8.0 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.8.1 - English | (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.8.0 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v1.8.1 - Spanish | (c) Bunoon 2024 | MIT License */
$heat.setConfiguration( {
"stText": "",
"ndText": "",
Expand Down
Loading

0 comments on commit 57dd95e

Please sign in to comment.