Skip to content

Commit

Permalink
Merge pull request #26 from williamtroup/2.0.1
Browse files Browse the repository at this point in the history
2.0.1
  • Loading branch information
William Troup authored Jul 6, 2024
2 parents 65df6d4 + 2b85171 commit 015a48e
Show file tree
Hide file tree
Showing 74 changed files with 172 additions and 172 deletions.
2 changes: 1 addition & 1 deletion BUILD_INSTRUCTIONS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Building Journey.js v2.0.0
# Building Journey.js

Before getting started with Journey.js, please read through the following instructions:

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
Journey.js

[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Journey.js%2C%20a%20free%20JavaScript%journey%builder&url=https://github.com/williamtroup/Journey.js&hashtags=javascript,html,journey,guide)
[![npm](https://img.shields.io/badge/npmjs-v2.0.0-blue)](https://www.npmjs.com/package/jjourney.js)
[![nuget](https://img.shields.io/badge/nuget-v2.0.0-purple)](https://www.nuget.org/packages/jJourney.js/)
[![npm](https://img.shields.io/badge/npmjs-v2.0.1-blue)](https://www.npmjs.com/package/jjourney.js)
[![nuget](https://img.shields.io/badge/nuget-v2.0.1-purple)](https://www.nuget.org/packages/jJourney.js/)
[![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/williamtroup/Journey.js/blob/main/LICENSE.txt)
[![discussions Welcome](https://img.shields.io/badge/discussions-Welcome-red)](https://github.com/williamtroup/Journey.js/discussions)
[![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://www.william-troup.com/)
</h1>

> <p align="center">🚶 A lightweight, easy-to-use JavaScript library to create interactive, customizable, accessible guided tours across your websites or web apps!</p>
> <p align="center">v2.0.0</p>
> <p align="center">v2.0.1</p>
<br />
![Journey.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 @@
# Journey.js v2.0.0
# Journey.js v2.0.1

[![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Journey.js%2C%20a%20free%20JavaScript%journey%builder&url=https://github.com/williamtroup/Journey.js&hashtags=javascript,html,journey,guide)
[![npm](https://img.shields.io/badge/npmjs-v2.0.0-blue)](https://www.npmjs.com/package/jjourney.js)
[![nuget](https://img.shields.io/badge/nuget-v2.0.0-purple)](https://www.nuget.org/packages/jJourney.js/)
[![npm](https://img.shields.io/badge/npmjs-v2.0.1-blue)](https://www.npmjs.com/package/jjourney.js)
[![nuget](https://img.shields.io/badge/nuget-v2.0.1-purple)](https://www.nuget.org/packages/jJourney.js/)
[![license](https://img.shields.io/badge/license-MIT-green)](https://github.com/williamtroup/Journey.js/blob/main/LICENSE.txt)
[![discussions Welcome](https://img.shields.io/badge/discussions-Welcome-red)](https://github.com/williamtroup/Journey.js/discussions)
[![coded by William Troup](https://img.shields.io/badge/coded_by-William_Troup-yellow)](https://www.william-troup.com/)
Expand Down
30 changes: 15 additions & 15 deletions dist/journey.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,26 +275,26 @@ var require_journey = __commonJS({
let _groups = {};
let _element_Focus_Element_PositionStyle = "";
let _element_Disabled_Background;
let _element_Dialog;
let _element_Dialog_Close_Button;
let _element_Dialog_Title;
let _element_Dialog_Description;
let _element_Dialog_CheckBox_Container;
let _element_Dialog_CheckBox_Input;
let _element_Dialog_ProgressDots;
let _element_Dialog_ProgressBar;
let _element_Dialog_ProgressBar_Percentage;
let _element_Dialog_ProgressBar_Percentage_Text;
let _element_Dialog_Buttons;
let _element_Dialog_Buttons_Back_Button;
let _element_Dialog_Buttons_Next_Button;
let _element_Dialog = null;
let _element_Dialog_Close_Button = null;
let _element_Dialog_Title = null;
let _element_Dialog_Description = null;
let _element_Dialog_CheckBox_Container = null;
let _element_Dialog_CheckBox_Input = null;
let _element_Dialog_ProgressDots = null;
let _element_Dialog_ProgressBar = null;
let _element_Dialog_ProgressBar_Percentage = null;
let _element_Dialog_ProgressBar_Percentage_Text = null;
let _element_Dialog_Buttons = null;
let _element_Dialog_Buttons_Back_Button = null;
let _element_Dialog_Buttons_Next_Button = null;
let _element_Dialog_IsHint = false;
let _element_Dialog_Move_Original_X = 0;
let _element_Dialog_Move_Original_Y = 0;
let _element_Dialog_Move_IsMoving = false;
let _element_Dialog_Move_X = 0;
let _element_Dialog_Move_Y = 0;
let _element_ToolTip;
let _element_ToolTip = null;
let _element_ToolTip_Timer = 0;
function setupDefaultGroup(e = null) {
_groups = Data.getDefaultObject(e, {});
Expand Down Expand Up @@ -1017,7 +1017,7 @@ var require_journey = __commonJS({
return _public;
},
getVersion: function() {
return "2.0.0";
return "2.0.1";
}
};
(() => {
Expand Down
2 changes: 1 addition & 1 deletion dist/journey.esm.js.map

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions dist/journey.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ var Is;
return t(e) && typeof e === "string";
}
e.definedString = i;
function r(e) {
function l(e) {
return t(e) && typeof e === "function";
}
e.definedFunction = r;
function l(e) {
e.definedFunction = l;
function r(e) {
return t(e) && typeof e === "number";
}
e.definedNumber = l;
e.definedNumber = r;
function s(e) {
return o(e) && e instanceof Array;
}
Expand All @@ -58,14 +58,14 @@ var Data;
return Is.definedNumber(e) ? e : t;
}
e.getDefaultNumber = i;
function r(e, t) {
function l(e, t) {
return Is.definedFunction(e) ? e : t;
}
e.getDefaultFunction = r;
function l(e, t) {
e.getDefaultFunction = l;
function r(e, t) {
return Is.definedObject(e) ? e : t;
}
e.getDefaultObject = l;
e.getDefaultObject = r;
function s(e, t) {
return Is.definedArray(e) ? e : t;
}
Expand Down Expand Up @@ -132,7 +132,7 @@ var DomElement;
return o;
}
e.getStyleValueByName = i;
function r(e, t) {
function l(e, t) {
try {
if (!e.contains(t)) {
e.appendChild(t);
Expand All @@ -141,8 +141,8 @@ var DomElement;
console.warn(e.message);
}
}
e.addNode = r;
function l(e, t) {
e.addNode = l;
function r(e, t) {
try {
if (e.contains(t)) {
e.removeChild(t);
Expand All @@ -151,7 +151,7 @@ var DomElement;
console.warn(e.message);
}
}
e.removeNode = l;
e.removeNode = r;
function s(e) {
e.preventDefault();
e.cancelBubble = true;
Expand All @@ -160,7 +160,7 @@ var DomElement;
function a(e, t) {
let o = e.pageX;
let i = e.pageY;
const r = n();
const l = n();
t.style.display = "block";
if (o + t.offsetWidth > window.innerWidth) {
o -= t.offsetWidth;
Expand All @@ -172,17 +172,17 @@ var DomElement;
} else {
i++;
}
if (o < r.left) {
if (o < l.left) {
o = e.pageX + 1;
}
if (i < r.top) {
if (i < l.top) {
i = e.pageY + 1;
}
t.style.left = o + "px";
t.style.top = i + "px";
}
e.showElementAtMousePosition = a;
function _(e, t) {
function u(e, t) {
if (t) {
if (e.style.display !== "block") {
e.style.display = "block";
Expand All @@ -193,23 +193,23 @@ var DomElement;
}
}
}
e.showElementBasedOnCondition = _;
function u(e, o) {
e.showElementBasedOnCondition = u;
function _(e, o) {
const n = t("div");
const i = t("label", "checkbox");
const r = t("input");
const l = t("input");
e.appendChild(n);
n.appendChild(i);
i.appendChild(r);
r.type = "checkbox";
const l = t("span", "check-mark");
i.appendChild(l);
l.type = "checkbox";
const r = t("span", "check-mark");
const s = t("span", "text");
s.innerHTML = o;
i.appendChild(l);
i.appendChild(r);
i.appendChild(s);
return r;
return l;
}
e.createCheckBox = u;
e.createCheckBox = _;
function g(e, t) {
let o = e.getElementsByClassName(t);
while (o[0]) {
Expand All @@ -227,26 +227,26 @@ var DomElement;
let _groups = {};
let _element_Focus_Element_PositionStyle = "";
let _element_Disabled_Background;
let _element_Dialog;
let _element_Dialog_Close_Button;
let _element_Dialog_Title;
let _element_Dialog_Description;
let _element_Dialog_CheckBox_Container;
let _element_Dialog_CheckBox_Input;
let _element_Dialog_ProgressDots;
let _element_Dialog_ProgressBar;
let _element_Dialog_ProgressBar_Percentage;
let _element_Dialog_ProgressBar_Percentage_Text;
let _element_Dialog_Buttons;
let _element_Dialog_Buttons_Back_Button;
let _element_Dialog_Buttons_Next_Button;
let _element_Dialog = null;
let _element_Dialog_Close_Button = null;
let _element_Dialog_Title = null;
let _element_Dialog_Description = null;
let _element_Dialog_CheckBox_Container = null;
let _element_Dialog_CheckBox_Input = null;
let _element_Dialog_ProgressDots = null;
let _element_Dialog_ProgressBar = null;
let _element_Dialog_ProgressBar_Percentage = null;
let _element_Dialog_ProgressBar_Percentage_Text = null;
let _element_Dialog_Buttons = null;
let _element_Dialog_Buttons_Back_Button = null;
let _element_Dialog_Buttons_Next_Button = null;
let _element_Dialog_IsHint = false;
let _element_Dialog_Move_Original_X = 0;
let _element_Dialog_Move_Original_Y = 0;
let _element_Dialog_Move_IsMoving = false;
let _element_Dialog_Move_X = 0;
let _element_Dialog_Move_Y = 0;
let _element_ToolTip;
let _element_ToolTip = null;
let _element_ToolTip_Timer = 0;
function setupDefaultGroup(e = null) {
_groups = Data.getDefaultObject(e, {});
Expand Down Expand Up @@ -969,7 +969,7 @@ var DomElement;
return _public;
},
getVersion: function() {
return "2.0.0";
return "2.0.1";
}
};
(() => {
Expand Down
2 changes: 1 addition & 1 deletion dist/journey.js.css

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

2 changes: 1 addition & 1 deletion dist/journey.js.css.map

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

2 changes: 1 addition & 1 deletion dist/journey.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/journey.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/translations/journey.translations.af.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - Afrikaans | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - Afrikaans | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Terug",
"nextButtonText": "Volgende",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.ar.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - Arabic | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - Arabic | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "خلف",
"nextButtonText": "التالي",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.be.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - Belarusian | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - Belarusian | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Назад",
"nextButtonText": "Далей",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.bg.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - Bulgarian | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - Bulgarian | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "обратно",
"nextButtonText": "Следващия",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.bn.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - Bengali | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - Bengali | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "পেছনে",
"nextButtonText": "পরবর্তী",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.ca.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - Catalan | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - Catalan | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "esquena",
"nextButtonText": "Pròxim",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.da.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - Danish | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - Danish | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Tilbage",
"nextButtonText": "Næste",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.de.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - German | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - German | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Zurück",
"nextButtonText": "Nächste",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.el.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - Greek | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - Greek | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Πίσω",
"nextButtonText": "Επόμενο",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.en.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - English | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - English | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Back",
"nextButtonText": "Next",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.eo.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - Esperanto | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - Esperanto | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Reen",
"nextButtonText": "Poste",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.es.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - Spanish | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - Spanish | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Atrás",
"nextButtonText": "Próximo",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.et.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - Estonian | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - Estonian | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "tagasi",
"nextButtonText": "Edasi",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.fa.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - Farsi | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - Farsi | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "بازگشت",
"nextButtonText": "بعد",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.fi.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - Finnish | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - Finnish | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Takaisin",
"nextButtonText": "Seuraava",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.fr.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - French | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - French | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Dos",
"nextButtonText": "Suivant",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.fy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - Frisian | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - Frisian | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Efter",
"nextButtonText": "Folgjende",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.ga.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - Irish | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - Irish | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Ar ais",
"nextButtonText": "Ar aghaidh",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.gl.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - Galician | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - Galician | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "De volta",
"nextButtonText": "A continuación",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.he.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.0 - Hebrew | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.1 - Hebrew | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "חזור",
"nextButtonText": "הַבָּא",
Expand Down
Loading

0 comments on commit 015a48e

Please sign in to comment.