Releases: spartez/vue-aui
v1.2.0
v1.1.2
Change the separator in the multiselect
Bump Webpack & Babel to latest versions
Two more Select2 attributes are now supported
Summary
You can easily use maximum-selection-size
and format-selection-too-big
attributes for va-select2
in multiple
mode from now on!
More information on the attributes can be found here.
Usage
<va-select2
multiple
:format-selection-too-big="formatSelectionTooBig"
:maximum-selection-size="3"
</va-select2>
methods: {
formatSelectionTooBig(size) {
return `You can select up to 3 items.`;
}
}
First stable release is finally here!
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 syntaximport { 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 syncableopen
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>
acceptsdefault
as type prop (with no effect)- Fix
va-tooltip
that doesn't disappear in some cases
v1.0.0-rc.6
✨ Support busy
prop that shows the spinner inside <va-button>
.
v1.0.0-rc.4
🔊 Add warning about usage of deprecated components (with aui-
prefix)
🔊 Deprecacion of <va-spinner>
in favour of AUI's webcomponent <aui-spinner>
🔒 Fix XSS in select2 in single mode
🐛 Fix misplaced select2 clear button on non-retina displays when AUI css is minified
v1.0.0-rc.3
Braking
aui-spinner
is no longer exported in a deprecated version as it conflicts with AUI webcomponent. Use va-spinner
to use old version or just aui-spinner
for AUI webcomponent.
v0.15.13
- Default lozenge can now be passed as type prop
- Fix tooltip that doesn't disappear in some cases