@bigin/bigin-ui-button
Advanced tools
Comparing version 0.0.51 to 0.0.52
@@ -72,2 +72,7 @@ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var BaseButton = { | ||
} | ||
}, | ||
computed: { | ||
iconSize() { | ||
return (this.small && 14) || (this.large && 18) || 16 | ||
} | ||
} | ||
@@ -173,3 +178,3 @@ };function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) { | ||
staticClass: "mr-1x", | ||
attrs: { name: _vm.prefixIcon } | ||
attrs: { name: _vm.prefixIcon, size: _vm.iconSize } | ||
}) | ||
@@ -183,3 +188,3 @@ : _vm._e(), | ||
staticClass: "ml-1x", | ||
attrs: { name: _vm.suffixIcon } | ||
attrs: { name: _vm.suffixIcon, size: _vm.iconSize } | ||
}) | ||
@@ -467,2 +472,7 @@ : _vm._e() | ||
} | ||
}, | ||
computed: { | ||
iconSize() { | ||
return (this.small && 14) || (this.large && 18) || 16 | ||
} | ||
} | ||
@@ -495,3 +505,3 @@ };/* script */ | ||
staticClass: "mr-1x", | ||
attrs: { name: _vm.prefixIcon } | ||
attrs: { name: _vm.prefixIcon, size: _vm.iconSize } | ||
}) | ||
@@ -505,3 +515,3 @@ : _vm._e(), | ||
staticClass: "ml-1x", | ||
attrs: { name: _vm.suffixIcon } | ||
attrs: { name: _vm.suffixIcon, size: _vm.iconSize } | ||
}) | ||
@@ -508,0 +518,0 @@ : _vm._e() |
{ | ||
"name": "@bigin/bigin-ui-button", | ||
"version": "0.0.51", | ||
"version": "0.0.52", | ||
"description": "Bigin Design System Button component", | ||
@@ -30,3 +30,3 @@ "author": "Tam Mai <tam.mai@bigin.vn>", | ||
}, | ||
"gitHead": "452fb2b6058074383e20ebac6113d8b866969f11" | ||
"gitHead": "a22b8f6e2446ef523f2c90f041b16db622326c28" | ||
} |
17662
571