@bigin/bigin-ui-button
Advanced tools
Comparing version 0.0.62 to 0.0.63
@@ -59,13 +59,13 @@ 'use strict';var BaseButton = { | ||
}, | ||
href: { | ||
baseIconClass: { | ||
type: String, | ||
default: '' | ||
default: 'b-icon' | ||
}, | ||
to: { | ||
nativeTag: { | ||
type: String, | ||
default: '' | ||
default: 'button' | ||
}, | ||
baseIconClass: { | ||
type: String, | ||
default: 'b-icon' | ||
extendProps: { | ||
type: Object, | ||
default: () => ({ type: 'button' }) | ||
} | ||
@@ -96,11 +96,2 @@ }, | ||
) | ||
}, | ||
nativeTag() { | ||
return (this.to && 'nuxt-link') || (this.href && 'a') || 'button' | ||
}, | ||
extendProps() { | ||
return ( | ||
(this.to && { to: this.to }) || | ||
(this.href && { href: this.href }) || { type: 'button' } | ||
) | ||
} | ||
@@ -107,0 +98,0 @@ } |
{ | ||
"name": "@bigin/bigin-ui-button", | ||
"version": "0.0.62", | ||
"version": "0.0.63", | ||
"description": "Bigin Design System Button component", | ||
@@ -30,3 +30,3 @@ "author": "Tam Mai <tam.mai@bigin.vn>", | ||
}, | ||
"gitHead": "5d801ed645521fa3c8e509d0c34386b41c2f843b" | ||
"gitHead": "59aff55f0acd4c80468f27a2a9a8b6463f96bb06" | ||
} |
9598
285