Releases: williamtroup/Journey.js
Releases · williamtroup/Journey.js
Journey.js v2.2.0 - Bigger dialogs! Offsets! General improvements and fixes!
New Features:
- Bigger dialog support (unavailable for hints).
Building Options:
- Added a new binding option called "offset" (defaults to 0), which states the additional offset to use for the dialog position.
- Added a new binding option called "useLargerDisplay" (defaults to false), which states if the bigger display for the dialog should be used (uses a new class called "journey-js-dialog-lg").
Configuration Options:
- Added a new configuration option called "hintClickPositionOffset" (defaults to 0), which states the additional offset to use for hints that are shown at the mouse position.
- Added a new configuration option called "tooltipOffset" (defaults to 0), which states the additional offset to use for the tooltip position.
General Improvements:
- Moved from ES2016 to ES2020.
- Added an ignore path for ".DS_Store" files when packing the NuGet package.
- Added more strict types around variables and objects.
- Updated to the latest NPM packages.
Journey.js v2.1.0 - Ignore! Step numbers! Click to move to next! Code improvements and fixes!
Building Options:
- Added a new binding option called "ignore" (defaults to false), which states if the element should be ignored in the journey.
- Added a new binding option called "moveToNextOnClick" (defaults to false), which states if the journey should move to the next step element the focused element is clicked.
Configuration Options:
- BREAKING: All text configuration settings are now under a new section called "text".
- BREAKING: All event configuration settings are now under a new section called "events".
- Added a new configuration option called "showStepNumbersInTitle" (defaults to false), which states if the step number should be shown in the dialog title bar.
Improvements:
- Massive reorganization of all the .ts files in the project.
- Updated to the latest NPM packages.
- Minor type improvements.
Fixes:
- Fixed an issue that caused the buttons in the display to use the wrong font.
Journey.js v2.0.3 - Code improvements and minor fixes!
- Fixed bad HTML in the README files.
- Moved all string concatenation to use string templates.
- Appending/Removing classes from elements now uses the "classList" object.
- Updated to the latest NPM packages.
Journey.js v2.0.2 - New scripts! Removed deprecated methods! Import improvements! Code improvements! Latest
- Fixed CDN links pointing to the wrong version.
- Added a "build-all" script option so that everything (including minimized versions) can be built with one command.
- Minor CSS layout improvements.
- Removed deprecated "cancelBubble" usages and replaced them with "stopPropagation()".
- Rewritten "getStyleValueByName()" to use the modern implementation to get a style.
- Fixed a type mismatch between the PublicApi structure and the implementation.
- Improved more type implementations.
- The "import" public API function will now show the select files dialog if no files are passed.
Journey.js v2.0.1 - Type improvements, package updates, and general documentation updates!
- Updated file headers to show the correct name of the file.
- Added more strict types around variables and objects.
- Updated packages.
- Renames the SASS "foundation" folder to "sass".
- Minor documentation updates.
Journey.js v2.0.0 - Rewritten in TypeScript, allowing greater React, Angular, and other library support!
Language Shift:
- The entire project has been rewritten in TypeScript, allowing all components to be exported, which allows better support for libraries such as React, Angular, etc.
- Added CDN links for the minimized version of the files.
- The TypeScript code is compiled to ES2016 instead of ES5 (older browsers, such as IE, are no longer supported).
Building:
- You can now run separate builds to produce CJS, ESM, and minimized project versions.
- All files not required for the NPM packages have now been excluded.
Testing:
- Removed the "src" and "dist" folders under "test". Only the dist versions remain, removing duplication.
- Added "BUILD_INSTRUCTIONS.md" to help first-time users set up their dev environments.
Journey.js v1.7.2 - Third party library support (via export)
- Added export support for the global "$journey" object, which can now be imported as "journey.js".
Journey.js v1.7.1 - Translations and public function improvements!
- The public functions "start()", "show()", and "hide()" will now only fire if the right conditions are met (dialog open/closed, etc).
- All text translations now allow empty text to be passed (which will prevent them from defaulting to the English version).
Journey.js v1.7.0 - Move dialog support and minor UI improvements!
New Features:
- Added dialog moving support (unavailable for hints)!
Configuration Options:
- Added a new configuration option called "dialogMovingEnabled", which states if the dialog can be moved (via the title bar, defaults to false).
Public Functions:
- Added the parameter "group" to the public function "clearSteps()", which states the group of steps to be removed (defaults to all groups).
UI Improvements:
- Added a new underline effect to the active dot in the dialog.
Journey.js v1.6.1 - UI improvements!
- Added border hover effect to the "Do not show again" checkbox.
- The active stage dot shown in the dialog now uses a slightly larger width.
- The "Back" button on the dialog is now aligned to the right side of the dialog.
- Added more spacing above the "Back" and "Next" buttons.
- Added a line separator above the "Back" and "Next" buttons.
- Fixed a fault that prevented the progress dots from wrapping to the next line when lots of steps were available.
- Decreased the default font size from 0.9rem to 0.85rem.