Skip to content

Commit

Permalink
Merge pull request #54 from williamtroup/3.1.1
Browse files Browse the repository at this point in the history
3.1.1
  • Loading branch information
William Troup authored May 7, 2024
2 parents be7ecfd + 56bfd53 commit c7163dc
Show file tree
Hide file tree
Showing 74 changed files with 164 additions and 152 deletions.
6 changes: 3 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-v3.1.0-blue)](https://www.npmjs.com/package/jheat.js)
[![nuget](https://img.shields.io/badge/nuget-v3.1.0-purple)](https://www.nuget.org/packages/jHeat.js/)
[![npm](https://img.shields.io/badge/npmjs-v3.1.1-blue)](https://www.npmjs.com/package/jheat.js)
[![nuget](https://img.shields.io/badge/nuget-v3.1.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, charts, and statistics to visualize date-based activity and trends.</p>
> <p align="center">v3.1.0</p>
> <p align="center">v3.1.1</p>
<br />
![Heat.js](docs/images/main.png)
Expand Down
6 changes: 3 additions & 3 deletions README_NUGET.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Heat.js v3.1.0
# Heat.js v3.1.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-v3.1.0-blue)](https://www.npmjs.com/package/jheat.js)
[![nuget](https://img.shields.io/badge/nuget-v3.1.0-purple)](https://www.nuget.org/packages/jHeat.js/)
[![npm](https://img.shields.io/badge/npmjs-v3.1.1-blue)](https://www.npmjs.com/package/jheat.js)
[![nuget](https://img.shields.io/badge/nuget-v3.1.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 Down
12 changes: 8 additions & 4 deletions dist/heat.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Heat.js v3.1.0 | (c) Bunoon 2024 | MIT License */
/*! Heat.js v3.1.1 | (c) Bunoon 2024 | MIT License */
(function() {
var _parameter_Document = null, _parameter_Window = null, _parameter_Math = null, _parameter_JSON = null, _public = {}, _configuration = {}, _string = {empty:"", space:" ", newLine:"\n", dash:"-", underscore:"_", plus:"+", zero:"0", colon:":", comma:","}, _value = {notFound:-1}, _internal_Name_Holiday = "HOLIDAY", _local_Storage_Start_ID = "HJS_", _default_MonthsToShow = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], _default_DaysToShow = [1, 2, 3, 4, 5, 6, 7], _elements_Type = {}, _elements_Day_Width =
null, _elements_DateCounts = {}, _elements_View_Name_Map = "map", _elements_View_Name_Chart = "chart", _elements_View_Name_Days = "days", _elements_View_Name_Statistics = "statistics", _elements_View_Map = 1, _elements_View_Chart = 2, _elements_View_Days = 3, _elements_View_Statistics = 4, _export_Type_Csv = "csv", _export_Type_Json = "json", _export_Type_Xml = "xml", _export_Type_Txt = "txt", _attribute_Name_Options = "data-heat-js";
Expand Down Expand Up @@ -311,7 +311,9 @@
if (bindingOptions.title.showText || bindingOptions.title.showYearSelector || bindingOptions.title.showRefreshButton || bindingOptions.title.showExportButton || bindingOptions.title.showImportButton) {
var titleBar = createElement(bindingOptions.currentView.element, "div", "title-bar"), title = createElement(titleBar, "div", "title");
if (bindingOptions.views.chart.enabled || bindingOptions.views.days.enabled || bindingOptions.views.statistics.enabled) {
createElement(title, "div", "down-arrow");
if (bindingOptions.title.showTitleDropDownButton) {
createElement(title, "div", "down-arrow");
}
} else {
addClass(title, "no-click");
}
Expand Down Expand Up @@ -992,7 +994,7 @@
if (isDefinedString(bindingOptions.description.url)) {
var link = createElementWithHTML(container, "a", "label", bindingOptions.description.text);
link.href = bindingOptions.description.url;
link.target = "_blank";
link.target = bindingOptions.description.urlTarget;
} else {
createElementWithHTML(container, "span", "label", bindingOptions.description.text);
}
Expand Down Expand Up @@ -1509,12 +1511,14 @@
options.title.showYearSelectionDropDown = getDefaultBoolean(options.title.showYearSelectionDropDown, true);
options.title.showImportButton = getDefaultBoolean(options.title.showImportButton, false);
options.title.showConfigurationButton = getDefaultBoolean(options.title.showConfigurationButton, true);
options.title.showTitleDropDownButton = getDefaultBoolean(options.title.showTitleDropDownButton, true);
return options;
}
function buildAttributeOptionDescription(options) {
options.description = getDefaultObject(options.description, {});
options.description.text = getDefaultString(options.description.text, null);
options.description.url = getDefaultString(options.description.url, null);
options.description.urlTarget = getDefaultString(options.description.urlTarget, "_blank");
return options;
}
function buildAttributeOptionGuide(options) {
Expand Down Expand Up @@ -2318,7 +2322,7 @@
return result;
};
_public.getVersion = function() {
return "3.1.0";
return "3.1.1";
};
(function(documentObject, windowObject, mathObject, jsonObject) {
_parameter_Document = documentObject;
Expand Down
3 changes: 2 additions & 1 deletion dist/heat.js.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Heat.js Library v3.1.0
* Heat.js Library v3.1.1
*
* Copyright 2024 Bunoon
* Released under the MIT License
Expand Down Expand Up @@ -213,6 +213,7 @@ div.heat-js div.disabled div.configuration div.dialog-contents div.side-containe
display: inline-block;
width: calc(50% - var(--heat-js-spacing));
margin-right: var(--heat-js-spacing);
text-align: left !important;
}
div.heat-js div.disabled div.configuration div.dialog-contents div.side-container:last-child {
margin-right: 0;
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.

Loading

0 comments on commit c7163dc

Please sign in to comment.