Skip to content

Releases: cristijora/vue-tabs

v0.5.7

09 Apr 18:44
Compare
Choose a tag to compare

Patches

  • Added tabData propety that can be passed to the title: 0952d7d
  • Remove type constraint: 1607e86
  • Fix for undefined oldIndex when using dynamic tabs reset.: af8959e

v0.5.6

07 Dec 18:00
Compare
Choose a tag to compare

Patches

  • [fix] tab link break routes: 1958164
  • Add babel-vue-app-preset to dev-deps: 8e07ed0
  • Better aria accessibility support: 0f711a8

v0.5.5

28 Nov 16:45
Compare
Choose a tag to compare

Patches

  • Merge pull request #22 from raeno/patch-1: 25dea0d
  • Fix error when removing the active tab: 02d4304
  • Merge pull request #23 from daniouyea/master: d3da9f9
  • #20 Get rid of global anchor styles inside tabs: 796c1cf
  • Merge pull request #1 from moondef/moondef-patch-1: bd77c2d
  • Edit href: 65f47ad
  • Merge pull request #27 from moondef/moondef-patch-2: 23f5f9d
  • Merge pull request #26 from moondef/master: 65f90b3

v0.5.4

04 Sep 15:22
Compare
Choose a tag to compare

Patches

v0.5.3

04 Sep 07:06
Compare
Choose a tag to compare

Patches

v0.5.2

23 Aug 09:10
Compare
Choose a tag to compare

Patches

  • #15 Add space to icon instead of tab title: 6508b3f

v0.5.1

30 Jul 20:03
Compare
Choose a tag to compare

Patches

v0.5.0

11 Jul 20:29
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

New

  • Vue-tabs supports 3 different themes now!. They can be found under themes
  • Rewrite with jsx for better modularity
  • Full support for dynamic tab rendering (addition/removal)
  • v-model support to switch tabs programmatically #7
    Usage:
<vue-tabs v-model="tabName">
      <v-tab v-for="(tab, index) in tabs"
             :key="tab.name"
             :title="tab.name"
             icon="ti-user">
        {{tab.name}}
      </v-tab>
</vue-tabs>
export default{
 data(){
  return {
    tabs: [{name:'name1'},{name:'name2'},{name:'name3'}],
    tabName: 'name2'
  }
 }
}
  • value prop (part of v-model) to specify the initial tab that should be open
    value: [String, Number, Object]
  • Vue.use(VueTabs) is no longer needed if the component is included via script tag. Note that it is still needed when used with npm
  • JS bundle size went down from 7kb minified to 4kb minified
  • New title slot to customize tabs
    Usage:
<v-tab>
    <div slot="title"><i class="ti-user"></i> My customized tab</div> 
</v-tab>

Breaking changes/Deprectations

  • start-index is no longer support. v-model/value should be used instead
  • beforeChange has been deprecated/removed. The usage of this prop was not well documented/showed in examples and implied a lot of changes in order to work properly. If you need it, please use vue-form-wizard or make a fork of this repo as I don't want to include validations in vue-tabs
  • vue-router & routing based on tabs is temporarily not supported

0.3.0

13 Jun 20:40
Compare
Choose a tag to compare

Minor Changes

  • #3 Emit event upon tab change: 74e1412
  • #3 Send tab components on upon tab change event: 54291ce
  • Add documentation site: f70b8a6
  • #4 Support async validation functions: 3f8a759
  • Use aria tab interface specs. Css cleanup: 4d9e26f
  • Auto install tabs plugin if Vue is defined in window: cf8cc42

Patches

  • Add tab-container class on tab-content: 2538aec
  • Update installation to ES6: d0cb348

Vue Tabs Release

09 May 17:46
Compare
Choose a tag to compare

Initial release. Please check the Readme for functionalities