Tooltip
@@ -484,30 +447,28 @@
Composite
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -516,11 +477,7 @@
Single Select Group Button
-
+
@@ -543,42 +500,7 @@
diff --git a/src/demo/data.js b/src/demo/data.js
index 8089072..89d515b 100644
--- a/src/demo/data.js
+++ b/src/demo/data.js
@@ -13,9 +13,7 @@ const Components = [
title: 'Accordion Item',
html: 'vlt-accordion-item',
icon: 'chevron-down',
- propertyRows: [
- { property: 'expanded', type: 'Boolean', default: false },
- ],
+ propertyRows: [{ property: 'expanded', type: 'Boolean', default: false }],
code: '
HEADERBody
',
},
{
@@ -26,9 +24,7 @@ const Components = [
{ property: 'color', type: 'String' },
{ property: 'dismissable', type: 'Boolean', default: true },
],
- eventRows: [
- { event: 'dismissed', description: 'when the badge is dismissed' },
- ],
+ eventRows: [{ event: 'dismissed', description: 'when the badge is dismissed' }],
code: '
',
},
{
@@ -254,18 +250,14 @@ const Components = [
title: 'Sidemenu title',
html: 'vlt-sidemenu-title',
icon: 'menu',
- propertyRows: [
- { property: 'label', type: 'String' },
- ],
+ propertyRows: [{ property: 'label', type: 'String' }],
code: '
',
},
{
title: 'Spinner',
html: 'vlt-spinner',
icon: 'reload',
- propertyRows: [
- { property: 'small', type: 'Boolean' },
- ],
+ propertyRows: [{ property: 'small', type: 'Boolean' }],
code: '
',
},
{
@@ -379,9 +371,7 @@ const Components = [
title: 'Composite',
html: 'vlt-composite',
icon: 'type',
- propertyRows: [
- { property: 'className', type: 'String', default: '' },
- ],
+ propertyRows: [{ property: 'className', type: 'String', default: '' }],
code: '
',
},
{
diff --git a/src/main.js b/src/main.js
index 0a18b97..39c712c 100644
--- a/src/main.js
+++ b/src/main.js
@@ -4,5 +4,5 @@ import App from './demo/App';
// eslint-disable-next-line no-new
new Vue({
el: '#app',
- render: (h) => h(App),
+ render: h => h(App),
});
diff --git a/src/mixins/pagination.js b/src/mixins/pagination.js
index 99553d6..d6d180b 100644
--- a/src/mixins/pagination.js
+++ b/src/mixins/pagination.js
@@ -57,7 +57,7 @@ const paginationMixin = {
for (let i = left; i <= right; i += 1) {
pages.push({
number: i,
- click: (event) => {
+ click: event => {
this.pageChanged(i);
// Set focus on element to keep tab order
this.$nextTick(() => event.target.focus());
@@ -73,9 +73,9 @@ const paginationMixin = {
},
paginationRightEllipsis() {
- return this.totalPages > 9
- && this.pages.length
- && this.pages[this.pages.length - 1].number !== this.totalPages - 1;
+ return (
+ this.totalPages > 9 && this.pages.length && this.pages[this.pages.length - 1].number !== this.totalPages - 1
+ );
},
},
diff --git a/webpack.config.js b/webpack.config.js
index 5ab9a7c..660a998 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -1,3 +1,4 @@
+// eslint-disable-next-line import/no-extraneous-dependencies
const path = require('path');
const { VueLoaderPlugin } = require('vue-loader');
const { HotModuleReplacementPlugin } = require('webpack');
@@ -33,11 +34,7 @@ module.exports = {
},
{
test: /\.scss$/,
- use: [
- 'vue-style-loader',
- 'css-loader',
- 'sass-loader',
- ],
+ use: ['vue-style-loader', 'css-loader', 'sass-loader'],
},
{
test: /\.css$/,
@@ -65,10 +62,7 @@ module.exports = {
},
],
},
- plugins: [
- new VueLoaderPlugin(),
- new HotModuleReplacementPlugin(),
- ],
+ plugins: [new VueLoaderPlugin(), new HotModuleReplacementPlugin()],
resolve: {
alias: {
vue$: 'vue/dist/vue.esm.js',