Vue Tabs Versions Save

Simplified bootstrap tabs

v0.5.7

6 years ago

Patches

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

v0.5.6

6 years ago

Patches

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

v0.5.5

6 years ago

Patches

  • Merge pull request #22 from raeno/patch-1: 25dea0d72fc5adb67427093815fa5d6f877a3b0e
  • Fix error when removing the active tab: 02d43043946fe2b6d333c07db52b17f970b5787e
  • Merge pull request #23 from daniouyea/master: d3da9f966aae206c7ba17e127fa82b2842dd1cd1
  • #20 Get rid of global anchor styles inside tabs: 796c1cfae051644782597b913fb169e634d71357
  • Merge pull request #1 from moondef/moondef-patch-1: bd77c2d186d2ce3a573d9b23a393c0305d1b3a14
  • Edit href: 65f47adefe03b08d8595dd23aee34407af20b956
  • Merge pull request #27 from moondef/moondef-patch-2: 23f5f9d9b8baa291f0e1f3698eecb739c404f933
  • Merge pull request #26 from moondef/master: 65f90b3a5dda8a756d93b566b92b36e087f6f1ab

v0.5.4

6 years ago

Patches

  • #18 Support disabled tabs: d2f1f414d96f41a7eda570227fa123ac4d952411

v0.5.3

6 years ago

Patches

  • #17 Fix repeated tab-change events: 12a2f2c85036cef491ee2af62dcae482434118a0

v0.5.2

6 years ago

Patches

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

v0.5.1

6 years ago

Patches

  • Fix v-model not working: e4d2f6f9df0502d2f118acd8f7a2e77f2a240f6c with the help of @thatside from #14 Working demo here: https://jsfiddle.net/b44cc4dq/275/ Updated docs and Readme with the respective demo.

v0.5.0

6 years ago

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

7 years ago

Minor Changes

  • #3 Emit event upon tab change: 74e14129cfe9e8bb5c6780640faa3cafd074ba69
  • #3 Send tab components on upon tab change event: 54291ce911f27f883d94789c621dc62d9bcf63e3
  • Add documentation site: f70b8a6aa00342b140f7fb5bdaa6d4aa1315503c
  • #4 Support async validation functions: 3f8a759c0e3bfa2d48375721b63d05867468fde4
  • Use aria tab interface specs. Css cleanup: 4d9e26fc843c8040b9b470f2ab7c0a896e71db1d
  • Auto install tabs plugin if Vue is defined in window: cf8cc4202da0891e1115103f71db20fc5f6490a1

Patches

  • Add tab-container class on tab-content: 2538aec5dfd66e88fb58eef4b6b5a357526f276b
  • Update installation to ES6: d0cb348ab328e9794e7a94ecb68ca037d53c8d44

0.2.2

7 years ago

Initial release. Please check the Readme for functionalities