Skip to content

Commit

Permalink
Merge pull request #27 from williamtroup/2.0.2
Browse files Browse the repository at this point in the history
2.0.2
  • Loading branch information
William Troup authored Jul 8, 2024
2 parents 015a48e + c2330cd commit 47d4810
Show file tree
Hide file tree
Showing 72 changed files with 197 additions and 186 deletions.
10 changes: 5 additions & 5 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.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/)
[![npm](https://img.shields.io/badge/npmjs-v2.0.2-blue)](https://www.npmjs.com/package/jjourney.js)
[![nuget](https://img.shields.io/badge/nuget-v2.0.2-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.1</p>
> <p align="center">v2.0.2</p>
<br />
![Journey.js](docs/images/main.png)
Expand Down Expand Up @@ -129,8 +129,8 @@ Or, you can download the latest zipped up version [here](https://www.william-tro
Or, you can also use the following CDN links:

```markdown
https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@main/dist/journey.min.js
https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@main/dist/journey.js.min.css
https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@2.0.2/dist/journey.min.js
https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@2.0.2/dist/journey.js.min.css
```
<br>
<br>
Expand Down
10 changes: 5 additions & 5 deletions README_NUGET.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Journey.js v2.0.1
# Journey.js v2.0.2

[![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.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/)
[![npm](https://img.shields.io/badge/npmjs-v2.0.2-blue)](https://www.npmjs.com/package/jjourney.js)
[![nuget](https://img.shields.io/badge/nuget-v2.0.2-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 Expand Up @@ -113,8 +113,8 @@ Or, you can download the latest zipped up version [here](https://www.william-tro
Or, you can also use the following CDN links:

```markdown
https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@main/dist/journey.min.js
https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@main/dist/journey.js.min.css
https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@2.0.2/dist/journey.min.js
https://cdn.jsdelivr.net/gh/williamtroup/Journey.js@2.0.2/dist/journey.js.min.css
```


Expand Down
14 changes: 5 additions & 9 deletions dist/journey.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,13 +162,9 @@ var init_dom = __esm({
}
e.getScrollPosition = n;
function i(e, t) {
let o = null;
if (document.defaultView.getComputedStyle) {
o = document.defaultView.getComputedStyle(e, null).getPropertyValue(t);
} else if (e.currentStyle) {
o = e.currentStyle[t];
}
return o;
const o = getComputedStyle(e);
let n = o.getPropertyValue(t);
return n;
}
e.getStyleValueByName = i;
function r(e, t) {
Expand All @@ -193,7 +189,7 @@ var init_dom = __esm({
e.removeNode = l;
function s(e) {
e.preventDefault();
e.cancelBubble = true;
e.stopPropagation();
}
e.cancelBubble = s;
function a(e, t) {
Expand Down Expand Up @@ -1017,7 +1013,7 @@ var require_journey = __commonJS({
return _public;
},
getVersion: function() {
return "2.0.1";
return "2.0.2";
}
};
(() => {
Expand Down
2 changes: 1 addition & 1 deletion dist/journey.esm.js.map

Large diffs are not rendered by default.

22 changes: 9 additions & 13 deletions dist/journey.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,9 @@ var DomElement;
}
e.getScrollPosition = n;
function i(e, t) {
let o = null;
if (document.defaultView.getComputedStyle) {
o = document.defaultView.getComputedStyle(e, null).getPropertyValue(t);
} else if (e.currentStyle) {
o = e.currentStyle[t];
}
return o;
const o = getComputedStyle(e);
let n = o.getPropertyValue(t);
return n;
}
e.getStyleValueByName = i;
function l(e, t) {
Expand All @@ -154,7 +150,7 @@ var DomElement;
e.removeNode = r;
function s(e) {
e.preventDefault();
e.cancelBubble = true;
e.stopPropagation();
}
e.cancelBubble = s;
function a(e, t) {
Expand Down Expand Up @@ -182,7 +178,7 @@ var DomElement;
t.style.top = i + "px";
}
e.showElementAtMousePosition = a;
function u(e, t) {
function _(e, t) {
if (t) {
if (e.style.display !== "block") {
e.style.display = "block";
Expand All @@ -193,8 +189,8 @@ var DomElement;
}
}
}
e.showElementBasedOnCondition = u;
function _(e, o) {
e.showElementBasedOnCondition = _;
function u(e, o) {
const n = t("div");
const i = t("label", "checkbox");
const l = t("input");
Expand All @@ -209,7 +205,7 @@ var DomElement;
i.appendChild(s);
return l;
}
e.createCheckBox = _;
e.createCheckBox = u;
function g(e, t) {
let o = e.getElementsByClassName(t);
while (o[0]) {
Expand Down Expand Up @@ -969,7 +965,7 @@ var DomElement;
return _public;
},
getVersion: function() {
return "2.0.1";
return "2.0.2";
}
};
(() => {
Expand Down
15 changes: 13 additions & 2 deletions 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.1 - Afrikaans | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - Arabic | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - Belarusian | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - Bulgarian | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - Bengali | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - Catalan | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - Danish | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - German | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - Greek | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - English | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - Esperanto | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - Spanish | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - Estonian | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - Farsi | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - Finnish | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - French | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - Frisian | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - Irish | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - Galician | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - 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.1 - Hebrew | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - Hebrew | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "חזור",
"nextButtonText": "הַבָּא",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.hi.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.1 - Hindi | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - Hindi | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "पीछे",
"nextButtonText": "अगला",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.hu.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.1 - Hungarian | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - Hungarian | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Vissza",
"nextButtonText": "Következő",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.hy.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.1 - Armenian | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - Armenian | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Ետ",
"nextButtonText": "Հաջորդը",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.id.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.1 - Indonesian | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - Indonesian | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Kembali",
"nextButtonText": "Berikutnya",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.is.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.1 - Icelandic | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - Icelandic | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Til baka",
"nextButtonText": "Næst",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.it.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.1 - Italian | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - Italian | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Indietro",
"nextButtonText": "Prossimo",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.ja.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.1 - Japanese | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - Japanese | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "戻る",
"nextButtonText": "次",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.ka.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.1 - Georgian | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - Georgian | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "უკან",
"nextButtonText": "შემდეგი",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.ko.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.1 - Korean | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - Korean | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "뒤쪽에",
"nextButtonText": "다음",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.lb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.1 - Luxembourgish | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - Luxembourgish | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Zréck",
"nextButtonText": "Nächst",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.lt.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.1 - Lithuanian | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - Lithuanian | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Atgal",
"nextButtonText": "Kitas",
Expand Down
2 changes: 1 addition & 1 deletion dist/translations/journey.translations.lv.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Journey.js v2.0.1 - Latvian | (c) Bunoon 2024 | MIT License */
/*! Journey.js v2.0.2 - Latvian | (c) Bunoon 2024 | MIT License */
$journey.setConfiguration( {
"backButtonText": "Atpakaļ",
"nextButtonText": "Nākamais",
Expand Down
Loading

0 comments on commit 47d4810

Please sign in to comment.