Skip to content

Latest commit

 

History

History
212 lines (185 loc) · 10.7 KB

File metadata and controls

212 lines (185 loc) · 10.7 KB

CHANGELOG

v7.0.2

  • Fixed: destroy method corection
  • Fixed: _reset.scss The reset breaks Bootstrap, Tailwind, and modern CSS frameworks #191

v7.0.1

All new jQuery SmartWizard v7 — full TypeScript rewrite

  • Added: Complete rewrite in TypeScript with bundled type declarations (dist/types/)

  • Added: displayMode option — auto (follows system preference) | dark | light | none

  • Added: swipeNavigation option — swipe left/right on touch devices to navigate steps (enabled, threshold)

  • Added: Horizontal mouse-wheel scroll on the nav bar when steps overflow

  • Added: behavior.useUrlHash and behavior.supportBrowserHistory options replace old enableUrlHash / backButtonSupport

  • Added: navigation.completed.clickable option — control whether completed steps are re-clickable

  • Added: DATA_ATTRIBUTES constants for data-theme attribute management

  • Added: contentLoader callback for dynamic step content loading

  • Added: CSS animation support for transitions via transition.css (prefix, forward, backward class groups)

  • Added: Nav scroll buttons shown automatically when nav content overflows

  • Added: UMD, ESM, and CJS build outputs

  • Added: scrollToView option — scroll the active step anchor into view on step change

  • Changed: All options restructured with clearer namespacing (see README for full reference)

    • selectedinitialStep
    • autoAdjustHeightbehavior.autoHeight
    • enableUrlHashbehavior.useUrlHash
    • backButtonSupportbehavior.supportBrowserHistory
    • anchor.enableNavigationnavigation.enabled
    • anchor.enableNavigationAlwaysnavigation.alwaysClickable
    • anchor.enableDoneStatenavigation.completed.enabled
    • anchor.markPreviousStepsAsDonenavigation.completed.completeAllPreviousSteps
    • anchor.unDoneOnBackNavigationnavigation.completed.clearOnBack
    • anchor.enableDoneStateNavigationnavigation.completed.clickable
    • transition.animationtransition.effect
    • toolbar.showNextButton / showPreviousButtontoolbar.buttons.showNext / showPrevious
    • toolbar.extraHtmltoolbar.extraElements
    • keyboard.keyNavigationkeyboardNavigation.enabled
    • keyboard.keyLeft / keyRightkeyboardNavigation.keys.left / right
    • langlocalization.buttons
    • disabledSteps, errorSteps, warningSteps, hiddenStepsstepStates.disabled, .error, .warning, .hidden
    • getContentcontentLoader
  • Changed: Events renamed for consistency

    • leaveStepleave.sw
    • showStepshown.sw
    • initializedinitialized.sw
    • loadedloaded.sw
  • Changed: reset() no longer manipulates URL hash unless useUrlHash + supportBrowserHistory are both enabled

  • Changed: transition.css animations require the element to be visible before class is applied (fixes animationend not firing)

  • Changed: this.default(...) references inside transition handlers replaced with direct transitions.default(...) to prevent TypeError when handlers are invoked without object context

  • Changed: Progressbar width uses .toFixed(2) for cleaner CSS values

  • Changed: ANIMATIONEND / ANIMATIONCANCEL events are now namespaced (.sw)

  • Fixed: this is undefined TypeError in CSS / fade / slide transition fallbacks

  • Fixed: animationend event not firing on hidden elements (element now shown before animation class is applied)

  • Fixed: Double-invocation of transition complete callback (guard flag added)

  • Fixed: URL hash incorrectly always set; now only when both useUrlHash and supportBrowserHistory are true

  • Removed: justified option (layout handled by CSS)

  • Removed: cycleNavigation option

  • Removed: STEPCHANGE and RESET events (use shown.sw and handle externally)

v6.0.6

  • Fixed: History back on step1 not working #152

v6.0.5

  • Fixed: unDoneOnBackNavigation not working #146

v6.0.4

  • Changed: Code optimizations

v6.0.3

  • Fixed: Navigation not properly maintained when navigate fast
  • Changed: Code optimizations

v6.0.1

  • Added: Support for jQuery Slim version

  • Added: Public function fixHeight. See http://techlaboratory.net/jquery-smartwizard#func-fixheight

  • Added: Public function setState. See http://techlaboratory.net/jquery-smartwizard#func-setstate #131

  • Added: Public function unsetState. See http://techlaboratory.net/jquery-smartwizard#func-unsetstate

  • Added: Public function getStepInfo to get step index and total steps. See http://techlaboratory.net/jquery-smartwizard#func-getstepinfo

  • Added: goToStep function with force parameter. See http://techlaboratory.net/jquery-smartwizard#func-gotostep

  • Added: Built-in progressbar

  • Added: New themes, Square and Round

  • Added: Dots and Square these can have progressbar on navigation by adding nav-progress CSS Class.

  • Added: Colors are changable dynamically using CSS variables.

  • Added: Bootstrap 5 support

  • Added: Num(badge) class support on all themes

  • Added: RTL (Right-to-left language) support #72

  • Added: initialized event . See http://techlaboratory.net/jquery-smartwizard#event-initialized #118

  • Added: Move CSS class names to options

  • Added: Transition animations can be extended

  • Added: CSS Animations support on transition animations. Supports Animate.css

  • Changed: JavaScript and CSS code is rewritten

  • Changed: Imporoved all CSS themes

  • Changed: Made most of the options can changed with setOptions function

  • Changed: Rewritten option names and properties with minimal and meaningful names

  • Changed: Improved transition animations

  • Fixed: Reset doesn't clear the existing steps of the error state. #134

  • Fixed: goToStep method fails to recognize the correct step #133

  • Fixed: URL Navigation to check if step visited. #140

  • Fixed: Fixed and also added fixHeight public function to refresh content height. #142 #116 #88 #114 #101

  • Fixed: CSS Files are empty #113

  • Fixed: stepNumber is incorrect on showStep event when no transition #112

  • Fixed: showStep showing Null instead of index 0 on initializing #109

  • Fixed: showStep's stepIndex contains previous index #103

  • Fixed: Content not showing when used inside a Bootrap 4 modal #98

  • Fixed: Other fixes #111 #107 #86

  • Removed: this.options.toolbar.buttonPosition is removed

  • Removed: cycleNavigation is removed

  • Removed: Dark mode is removed. Added CSS variable support to change any colors. See example for dark colors.

v5.1.1

  • Added: Accessibility
  • Added: Dark Mode support for all themes
  • Added: New theme "Progress"
  • Added: leaveStep event has new parameter => nextStepIndex
  • Added: UMD (Universal Module Definition) support
  • Changed: leaveStep event has new parameter => nextStepIndex
  • Fixed: stepDirection on leaveStep event
  • Fixed: Incorrect stepDirection on leaveStep event (#91)

v5.0.0

All new jQuery SmartWizard v5

  • Added: External Ajax content support via Promise
  • Added: New navigation animations
  • Added: New themes
  • Added: New public functions
  • Added: New content loading event
  • Added: Standalone CSS with Bootstrap compatibility
  • Changed: Complete rewrite of JavaScript and CSS
  • Changed: CSS to SCSS
  • Changed: Updated all build packages

v4.4.1

  • Added: Two new public functions, goToStep and hiddenSteps.
  • Changed: Build system packages updated to latest available.

v4.3.1

  • Added: Bootstrap 4 support added
  • Added: Yarn package manager added
  • Added: Ajax loader UI updated
  • Fixed: Fixes and improvements

v4.2.2

  • Added: Example for multiple wizard in a page
  • Fixed: Auto height adjust when content height change after step is shown

v4.2.1

  • Added: Gulp automation tasks
  • Added: Validation and bundling
  • Added: Test file
  • Changed: Repository structure with src, dist, test

v4.1.7

  • Updated: Themes (dots and circles)
  • Updated: Examples pages

v4.1.5

  • Updated: Updated to v4.1.5
  • Added: New option contentCache
  • Added: On or Off caching of step contents on ajax calls, if false content is fetched always from ajax url
  • Added: New option ajaxSettings
  • Added: Extra settings for step ajax content calls

v4.1.2

Patch version

  • Changed: Option markAllPreviousStepsAsDone is enabled for selected option
  • Changed: While reset, set hash is now controllable using showStepURLhash option

v4.1.1

  • Added: New options showStepURLhash, removeDoneStepOnNavigateBack, markAllPreviousStepsAsDone, hiddenSteps
  • Added: New parameter on showStep event, name: stepPosition values: first, final, middle
  • Added: New public method, stepState to Dynamically disable/enable hide/show steps
  • Added: Compatible with latest jQuery versions (jQuery 1.9+, jQuery 2+, jQuery 3+)
  • Changed: Option toolbarExtraButtons now accepts elements as jQuery objects
  • Changed: Code optimized
  • Fixed: General bugs

v4.0.5

  • Added: Get direction navigaion on leaveStep and showStep events
  • Added: New Events beginReset, endReset, themeChanged
  • Updated: Example pages

v4.0.1

  • Changed: Completely rewritten the code from scratch
  • Added: Bootstrap support
  • Added: Theme support
  • Added: Customizable toolbar