Skip to content

Commit 57dd95e

Browse files
author
William Troup
authored
Merge pull request #29 from williamtroup/1.8.1
1.8.1
2 parents 4495907 + a29ec89 commit 57dd95e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+750
-68
lines changed

README.md

+31-16
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
Heat.js
33

44
[![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)
5-
[![npm](https://img.shields.io/badge/npmjs-v1.8.0-blue)](https://www.npmjs.com/package/jheat.js)
6-
[![nuget](https://img.shields.io/badge/nuget-v1.8.0-purple)](https://www.nuget.org/packages/jHeat.js/)
5+
[![npm](https://img.shields.io/badge/npmjs-v1.8.1-blue)](https://www.npmjs.com/package/jheat.js)
6+
[![nuget](https://img.shields.io/badge/nuget-v1.8.1-purple)](https://www.nuget.org/packages/jHeat.js/)
77
[![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/williamtroup/Heat.js/blob/main/LICENSE.txt)
88
[![discussions Welcome](https://img.shields.io/badge/discussions-Welcome-red)](https://github.com/williamtroup/Heat.js/discussions)
99
[![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://william-troup.com/)
1010
</h1>
1111

1212
> <p align="center">🌞 A lightweight JavaScript library that generates customizable heat maps and charts to visualize date-based activity and trends.</p>
13-
> <p align="center">v1.8.0</p>
13+
> <p align="center">v1.8.1</p>
1414
<br />
1515
1616
![Heat.js](docs/images/main.png)
@@ -27,7 +27,7 @@ Heat.js
2727
- Fully configurable per DOM element.
2828
- Toggling colors on/off support.
2929
- Export all data to CSV.
30-
- 12 language translations available!
30+
- 27 language translations available!
3131
- Trend types allows data to be split up and viewed separately.
3232
- Customizable tooltips.
3333
- 7 themes available (for dark and light mode).
@@ -44,18 +44,33 @@ All modern browsers (such as Google Chrome, FireFox, and Opera) are fully suppor
4444

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

47-
- Arabic
48-
- Bengali
49-
- Chinese (simplified)
50-
- English
51-
- French
52-
- German
53-
- Hindi
54-
- Japanese
55-
- Polish
56-
- Portuguese
57-
- Spanish
58-
- Turkish
47+
- `ar` Arabic
48+
- `bn` Bengali
49+
- `bg` Bulgarian
50+
- `zh` Chinese (simplified)
51+
- `da` Danish
52+
- `nl` Dutch
53+
- `en` English (default)
54+
- `fi` Finnish
55+
- `fr` French
56+
- `ka` Georgian
57+
- `de` German
58+
- `el` Greek
59+
- `hi` Hindi
60+
- `hu` Hungarian
61+
- `ir` Italian
62+
- `ja` Japanese
63+
- `ko` Korean
64+
- `lv` Latvian
65+
- `lt` Lithuanian
66+
- `no` Norwegian
67+
- `pl` Polish
68+
- `pt` Portuguese
69+
- `ro` Romanian
70+
- `es` Spanish
71+
- `sv` Swedish
72+
- `tr` Turkish
73+
- `uk` Ukrainian
5974
<br>
6075
<br>
6176

README_NUGET.md

+31-16
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Heat.js v1.8.0
1+
# Heat.js v1.8.1
22

33
[![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)
4-
[![npm](https://img.shields.io/badge/npmjs-v1.8.0-blue)](https://www.npmjs.com/package/jheat.js)
5-
[![nuget](https://img.shields.io/badge/nuget-v1.8.0-purple)](https://www.nuget.org/packages/jHeat.js/)
4+
[![npm](https://img.shields.io/badge/npmjs-v1.8.1-blue)](https://www.npmjs.com/package/jheat.js)
5+
[![nuget](https://img.shields.io/badge/nuget-v1.8.1-purple)](https://www.nuget.org/packages/jHeat.js/)
66
[![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/williamtroup/Heat.js/blob/main/LICENSE.txt)
77
[![discussions Welcome](https://img.shields.io/badge/discussions-Welcome-red)](https://github.com/williamtroup/Heat.js/discussions)
88
[![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://william-troup.com/)
@@ -20,7 +20,7 @@
2020
- Fully configurable per DOM element.
2121
- Toggling colors on/off support.
2222
- Export all data to CSV.
23-
- 12 language translations available!
23+
- 27 language translations available!
2424
- Trend types allows data to be split up and viewed separately.
2525
- Customizable tooltips.
2626
- 7 themes available (for dark and light mode).
@@ -33,18 +33,33 @@ All modern browsers (such as Google Chrome, FireFox, and Opera) are fully suppor
3333

3434
## What languages are supported?
3535

36-
- Arabic
37-
- Bengali
38-
- Chinese (simplified)
39-
- English
40-
- French
41-
- German
42-
- Hindi
43-
- Japanese
44-
- Polish
45-
- Portuguese
46-
- Spanish
47-
- Turkish
36+
- `ar` Arabic
37+
- `bn` Bengali
38+
- `bg` Bulgarian
39+
- `zh` Chinese (simplified)
40+
- `da` Danish
41+
- `nl` Dutch
42+
- `en` English (default)
43+
- `fi` Finnish
44+
- `fr` French
45+
- `ka` Georgian
46+
- `de` German
47+
- `el` Greek
48+
- `hi` Hindi
49+
- `hu` Hungarian
50+
- `ir` Italian
51+
- `ja` Japanese
52+
- `ko` Korean
53+
- `lv` Latvian
54+
- `lt` Lithuanian
55+
- `no` Norwegian
56+
- `pl` Polish
57+
- `pt` Portuguese
58+
- `ro` Romanian
59+
- `es` Spanish
60+
- `sv` Swedish
61+
- `tr` Turkish
62+
- `uk` Ukrainian
4863

4964

5065
## What are the most recent changes?

dist/heat.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
1+
/*! Heat.js v1.8.1 | (c) Bunoon 2024 | MIT License */
22
(function() {
33
function render() {
44
var tagTypes = _configuration.domElementTypes;
@@ -1324,7 +1324,7 @@
13241324
return result;
13251325
};
13261326
this.getVersion = function() {
1327-
return "1.8.0";
1327+
return "1.8.1";
13281328
};
13291329
(function(documentObject, windowObject) {
13301330
_parameter_Document = documentObject;

dist/heat.js.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Heat.js Library v1.8.0
2+
* Heat.js Library v1.8.1
33
*
44
* Copyright 2024 Bunoon
55
* Released under the MIT License
@@ -585,7 +585,7 @@ div.heat-js div.statistics-contents div.statistics div.range-lines div.range-lin
585585
background-color: var(--heat-js-day-background-color);
586586
border: var(--heat-js-border-size) solid var(--heat-js-day-border-color);
587587
vertical-align: bottom;
588-
width: 60px;
588+
flex: 1 100%;
589589
margin-right: var(--heat-js-spacing);
590590
display: inline-block;
591591
transition: var(--heat-js-transition);
@@ -605,10 +605,10 @@ div.heat-js div.statistics-contents div.statistics-ranges {
605605
height: calc(var(--heat-js-spacing-font-size) + var(--heat-js-spacing));
606606
}
607607
div.heat-js div.statistics-contents div.statistics-ranges div.range-name {
608+
flex: 1 100%;
608609
margin-top: var(--heat-js-spacing);
609610
font-weight: var(--heat-js-text-bold-weight);
610611
text-align: center !important;
611-
width: 60px;
612612
}
613613

614614
/*

dist/heat.js.min.css

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/heat.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/themes/dark/heat.js.dark.blue.theme.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
1+
/*! Heat.js v1.8.1 | (c) Bunoon 2024 | MIT License */
22
:root {
33
/* Days - Colors */
44
--heat-js-day-color-1-background-color: rgba( 28, 45, 255, 0.25 );

dist/themes/dark/heat.js.dark.orange.theme.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
1+
/*! Heat.js v1.8.1 | (c) Bunoon 2024 | MIT License */
22
:root {
33
/* Days - Colors */
44
--heat-js-day-color-1-background-color: rgba( 255, 172, 28, 0.25 );

dist/themes/dark/heat.js.dark.red.theme.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
1+
/*! Heat.js v1.8.1 | (c) Bunoon 2024 | MIT License */
22
:root {
33
/* Days - Colors */
44
--heat-js-day-color-1-background-color: rgba( 255, 0, 0, 0.25 );

dist/themes/light/heat.js.light.blue.theme.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
1+
/*! Heat.js v1.8.1 | (c) Bunoon 2024 | MIT License */
22
:root {
33
/* Colors */
44
--heat-js-color-black: #F5F5F5;

dist/themes/light/heat.js.light.orange.theme.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
1+
/*! Heat.js v1.8.1 | (c) Bunoon 2024 | MIT License */
22
:root {
33
/* Colors */
44
--heat-js-color-black: #F5F5F5;

dist/themes/light/heat.js.light.red.theme.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
1+
/*! Heat.js v1.8.1 | (c) Bunoon 2024 | MIT License */
22
:root {
33
/* Colors */
44
--heat-js-color-black: #F5F5F5;

dist/translations/heat.translations.ar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
1+
/*! Heat.js v1.8.1 - Arabic | (c) Bunoon 2024 | MIT License */
22
$heat.setConfiguration( {
33
"stText": "",
44
"ndText": "",
+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/*! Heat.js v1.8.1 - Bulgarian | (c) Bunoon 2024 | MIT License */
2+
$heat.setConfiguration( {
3+
"stText": "",
4+
"ndText": "",
5+
"rdText": "",
6+
"thText": "",
7+
"backButtonText": "обратно",
8+
"nextButtonText": "Следващия",
9+
"refreshButtonText": "Опресняване",
10+
"exportButtonText": "Експортиране",
11+
"lessText": "По-малко",
12+
"moreText": "| Повече ▼",
13+
"dateText": "Дата",
14+
"countText": "Броя",
15+
"mapText": "Карта",
16+
"chartText": "Диаграма",
17+
"noChartDataMessage": "В момента няма данни за преглед.",
18+
"statisticsText": "Статистика",
19+
"monthNames": [
20+
"януари",
21+
"февр",
22+
"март",
23+
"апр",
24+
"Може",
25+
"юни",
26+
"юли",
27+
"авг",
28+
"септ",
29+
"окт",
30+
"ноем",
31+
"дек"
32+
],
33+
"dayNames": [
34+
"пн",
35+
"вт",
36+
"ср",
37+
"чт",
38+
"пт",
39+
"сб",
40+
"слънце"
41+
]
42+
} );

dist/translations/heat.translations.bn.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
1+
/*! Heat.js v1.8.1 - Bengali | (c) Bunoon 2024 | MIT License */
22
$heat.setConfiguration( {
33
"stText": "",
44
"ndText": "",
+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/*! Heat.js v1.8.1 - Danish | (c) Bunoon 2024 | MIT License */
2+
$heat.setConfiguration( {
3+
"stText": "",
4+
"ndText": "",
5+
"rdText": "",
6+
"thText": "",
7+
"backButtonText": "Tilbage",
8+
"nextButtonText": "Næste",
9+
"refreshButtonText": "Opdater",
10+
"exportButtonText": "Eksport",
11+
"lessText": "Mindre",
12+
"moreText": "Mere",
13+
"dateText": "Dato",
14+
"countText": "Tælle",
15+
"mapText": "Kort",
16+
"chartText": "Diagram",
17+
"noChartDataMessage": "Der er i øjeblikket ingen data at se.",
18+
"statisticsText": "Statistikker",
19+
"monthNames": [
20+
"Jan",
21+
"feb",
22+
"Mar",
23+
"apr",
24+
"Kan",
25+
"jun",
26+
"jul",
27+
"aug",
28+
"sep",
29+
"okt",
30+
"nov",
31+
"dec"
32+
],
33+
"dayNames": [
34+
"man",
35+
"tir",
36+
"ons",
37+
"tor",
38+
"fre",
39+
"Lør",
40+
"Sol"
41+
]
42+
} );

dist/translations/heat.translations.de.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
1+
/*! Heat.js v1.8.1 - German | (c) Bunoon 2024 | MIT License */
22
$heat.setConfiguration( {
33
"stText": "",
44
"ndText": "",
+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/*! Heat.js v1.8.1 - Greek | (c) Bunoon 2024 | MIT License */
2+
$heat.setConfiguration( {
3+
"stText": "",
4+
"ndText": "",
5+
"rdText": "",
6+
"thText": "",
7+
"backButtonText": "Πίσω",
8+
"nextButtonText": "Επόμενο",
9+
"refreshButtonText": "Φρεσκάρω",
10+
"exportButtonText": "Εξαγωγή",
11+
"lessText": "Πιο λιγο",
12+
"moreText": "Περισσότερο",
13+
"dateText": "Ημερομηνία",
14+
"countText": "μετρώ",
15+
"mapText": "Χάρτης",
16+
"chartText": "Διάγραμμα",
17+
"noChartDataMessage": "Αυτήν τη στιγμή δεν υπάρχουν δεδομένα για προβολή.",
18+
"statisticsText": "Στατιστική",
19+
"monthNames": [
20+
"Ιαν",
21+
"Φεβ",
22+
"Αφανίζω",
23+
"Απρ",
24+
"Ενδέχεται",
25+
"Ιούν",
26+
"Ιούλ",
27+
"Αύγ",
28+
"Σεπτ",
29+
"Οκτ",
30+
"Νοε",
31+
"Δεκ"
32+
],
33+
"dayNames": [
34+
"Δευτ",
35+
"Τρ",
36+
"Νυμφεύομαι",
37+
"Πέμ",
38+
"Παρ",
39+
"Σάβ",
40+
"Ήλιος"
41+
]
42+
} );

dist/translations/heat.translations.en.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
1+
/*! Heat.js v1.8.1 - English | (c) Bunoon 2024 | MIT License */
22
$heat.setConfiguration( {
33
"stText": "st",
44
"ndText": "nd",

dist/translations/heat.translations.es.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Heat.js v1.8.0 | (c) Bunoon 2024 | MIT License */
1+
/*! Heat.js v1.8.1 - Spanish | (c) Bunoon 2024 | MIT License */
22
$heat.setConfiguration( {
33
"stText": "",
44
"ndText": "",

0 commit comments

Comments
 (0)