Releases: jledentu/vue-finder
Releases · jledentu/vue-finder
v2.2.2
v5.0.0
5.0.0 (2024-07-05)
- feat!: replace components by scoped slots for customization
BREAKING CHANGES
This release introduces scoped slots allowing to customize some parts of the UI. They replace previous custom components passed as props : itemComponent
, arrowComponent
and undocumented dragImageComponent
, dropZoneComponent
.
- <Finder :tree="tree" :item-component="itemComponent" />
+ <Finder :tree="tree">
+ <template #item="{ item }">
+ <div style="color: blue">
+ <em>Name:</em> <strong>{{ item.label }}</strong>
+ </div>
+ </template>
+ </Finder>
- itemComponent: {
- props: ["item"],
- template: '<div style="color: blue"><em>Name:</em> <strong>{{ item.label }}</strong></div>',
- }
See https://vue-finder.netlify.app/customization.html#custom-slots
v2.2.1
v2.2.0
v4.1.1
v2.1.2
v4.1.0
v2.1.1
v4.0.0
This new release brings the stable support of Vue 3. 🎉
BREAKING CHANGES
This version does not support Vue 2, please use the 2.x version if you use Vue 2.
Here are the changes since the 2.1.0 version:
Features
Bug Fixes
- update package.json to support CSS export / import (#188) (e5394ea), thanks @tomcoonen
Chore
- upgrade many development dependencies