Skip to content

First stable release is finally here!

Compare
Choose a tag to compare
@damienix damienix released this 13 Apr 11:59
· 65 commits to master since this release

Summary of the changes from past release candidates

Updated component names prefix to va (deprecated prefix aui)

To avoid conflicts with some existing and future web components that AUI provides, we've changing naming convention away from aui-.

  • Exported all components with Va prefix i.e. import { VaButton } from 'vue-aui' (deprecated syntax import { AuiButton })
  • Registered all components with va- prefix i.e. <va-button> (deprecated syntax <aui-button>)
  • Usage of globally registered components with aui- prefix will generate warning in the console
  • BRAKING <aui-spinner> doesn't exist in its deprecated version as it overlaps with a new AUI web component. Use <va-spinner> for pre AUI 7.7 (deprecated component) and AUI web component <aui-spinner> for the following AUIs (AUI web component).
  • <aui-toggle-button> has been renamed to <va-toggle> (rather than <va-toggle-button>)

Select2 syntax simplified to be HTML-like

In 0.X you had to import 2 separate components to have single select and multiple select components. The more natural and common (including HTML select) way to do it is using multiple attribute to switch. This is exactly what has been done here as well.

  • New syntax is <va-select2 v-model="value"> and <va-select2 multiple v-model="items">
  • BRAKING <va-select2-single> and <va-select2-multi> (available in the past release candidates) are removed. Use <va-select2> and <va-select2 multiple> respectively.

P.S. For a frictionless upgrade you can still use deprecated <aui-select2-multi> and <aui-select2-single> components but upgrading to the new cleaner syntax is highly recommended.

Other small improvements

  • <va-toggle> not doesn't require (but still supports) id attribute
  • Clean up <va-inline-dialog> events to support syncable open prop.
  • Fix XSS in select2 in single mode
  • Fix misplaced select2 clear button (on non-retina displays when AUI css is minified)
  • Support busy prop that shows the spinner inside <va-button>.
  • Added <va-progress-tracker> and <va-progress-tracker-step> components

Merged from master

  • <va-lozenge> accepts default as type prop (with no effect)
  • Fix va-tooltip that doesn't disappear in some cases