Skip to content

Latest commit

 

History

History
174 lines (110 loc) · 5.93 KB

CHANGELOG.md

File metadata and controls

174 lines (110 loc) · 5.93 KB

Changelog

  • Fix issue, #119
  • Remove plugin from default export
  • Remove blur prop
  • Change dist CSS file name
  • Rename CSS class names
  • Allow composition API usage, #88
  • Now you can import package like
// New way of importing
import {useLoading} from 'vue-loading-overlay';
import {Component} from 'vue-loading-overlay';
import {Plugin} from 'vue-loading-overlay';

// The good old way still works as before
import VueLoading from 'vue-loading-overlay';
  • (Breaking) Use named export in web browser environment
- app.use(VueLoading)
+ app.use(VueLoading.Plugin)
  • Fix: Composition API usage, #88
  • Fix: Possible SSR issue
  • Fix: usage as plugin, in-correct parameters were being passed

4.0.0 ⚠️

  • Drop support for Vue v2.x and add support for Vue v3.x
  • Drop IE 11 support
  • Add type definitions
  • Add: Lock scroll feature, #51
  • Add: blur prop to blur the background
  • Fix: restore broken IE 11 support. ⚠️ IE 11 support will be removed in next major version.
  • Fix: #26 by introducing enforceFocus prop
  • Increase z-index value to 9999
  • Add: z-index prop
  • Fix: onCancel prop default value to empty function
  • Add: bars loader type
  • Add: opacity prop

3.0.0 (breaking)

  • Changed:
    • use SVG instead of CSS animation
    • rename animation prop to transition
    • rename close event to hide
    • onCancel callback will be called only when cancelled by user
    • use v-show instead of v-if
    • CSS classes has been prefixed with vld
    • Output CSS file name has been renamed dist/vue-loading.css, removed .min from name
  • Added: see docs for usage
    • add loader prop
    • add color and backgroundColor prop
    • add height and width prop
    • add before and after slots
    • add second argument to $loading.show(props?,slots?) method to accept slots
  • Removed:
    • SCSS has been removed completely
  • Other:
    • live example available on gh-pages
  • Fix: SSR issue #18
  • Fix: regression in trap focus feature
  • Fix: regression in z-index issue
  • Docs: updated demo examples
  • Add: default slot to override the loading indicator
  • Add: trap focus feature, user will not be able to tab on elements those are behind the loading overlay
  • a11y: use aria-live
  • Fix: detecting window object
  • Fix: z-index issue on loading element
  • Test: add tests
  • Docs: update readme with better examples
  • Add: allow loader to be restricted to a container element
  • Chore: auto pre-fixer
  • Chore: dist now includes non-minified js file as well
  • Fix: webpack build config, #3
  • Fix: Don't call onCancel callback function when loader is not active
  • Fix: was not working in non module environments

2.0.0 (breaking)

  • Fix: v1.0.0 was completely broken due to a webpack configuration
  • Change: check readme.md file for updated usage instruction

1.0.0

  • Initial release