@opentiny/vue-button
Advanced tools
Comparing version 2.8.3 to 2.9.0
@@ -89,3 +89,3 @@ function _extends() { | ||
}); | ||
var version = "3.7.0"; | ||
var version = "2.9.0"; | ||
Button.install = function(Vue) { | ||
@@ -92,0 +92,0 @@ Vue.component(Button.name, Button); |
import { renderless, api } from "@opentiny/vue-renderless/button/vue"; | ||
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common"; | ||
import { IconLoading } from "@opentiny/vue-icon"; | ||
import { iconLoading } from "@opentiny/vue-icon"; | ||
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) { | ||
@@ -108,3 +108,3 @@ var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports; | ||
components: { | ||
IconLoading: IconLoading() | ||
IconLoading: iconLoading() | ||
}, | ||
@@ -126,3 +126,3 @@ setup: function setup(props2, context) { | ||
return _c("button", _vm._b({ | ||
class: _vm.m(_vm.gcls("button"), _vm.gcls("size-" + (_vm.size || "default")), _vm.gcls("type-" + (_vm.type || "default") + (_vm.icon ? "-icon" : _vm.state.plain ? "-plain" : "") + (_vm.state.buttonDisabled ? "-disabled" : "")), _vm.gcls(_vm.round ? "is-round" : "no-round"), _vm.gcls(_vm.circle ? "is-circle" : "no-circle"), _vm.gcls({ | ||
class: _vm.m(_vm.gcls("button"), _vm.gcls("size-" + (_vm.size || "default")), _vm.gcls("type-" + (_vm.type || "default") + (_vm.icon ? "-icon" : _vm.state.plain ? "-plain" : "") + "\n " + (_vm.state.buttonDisabled ? "-disabled" : "")), _vm.gcls(_vm.round ? "is-round" : "no-round"), _vm.gcls(_vm.circle ? "is-circle" : "no-circle"), _vm.gcls({ | ||
"is-border": _vm.circle || !(_vm.type === "text" || _vm.icon) | ||
@@ -129,0 +129,0 @@ }), _vm.gcls({ |
@@ -86,3 +86,4 @@ import { renderless, api } from "@opentiny/vue-renderless/button/vue"; | ||
"is-circle": _vm.circle, | ||
"is-icon": _vm.icon && !_vm.loading && (_vm.text || _vm.$slots.default) | ||
"is-icon": _vm.icon && !_vm.loading && (_vm.text || _vm.$slots.default), | ||
"is-only-icon": _vm.icon && !_vm.loading && !(_vm.text || _vm.$slots.default) | ||
}], | ||
@@ -89,0 +90,0 @@ attrs: { |
{ | ||
"name": "@opentiny/vue-button", | ||
"version": "2.8.3", | ||
"version": "2.9.0", | ||
"description": "", | ||
@@ -9,5 +9,5 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~2.8.3", | ||
"@opentiny/vue-icon": "~2.8.3", | ||
"@opentiny/vue-renderless": "~3.8.3" | ||
"@opentiny/vue-common": "~2.9.0", | ||
"@opentiny/vue-icon": "~2.9.0", | ||
"@opentiny/vue-renderless": "~3.9.0" | ||
}, | ||
@@ -14,0 +14,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30298
751
+ Added@opentiny/vue-common@2.9.0(transitive)
+ Added@opentiny/vue-icon@2.9.1(transitive)
+ Added@opentiny/vue-locale@2.9.0(transitive)
+ Added@opentiny/vue-renderless@3.9.3(transitive)
+ Added@opentiny/vue-theme@3.9.4(transitive)
+ Added@opentiny/vue-theme-mobile@3.9.0(transitive)
- Removed@opentiny/vue-common@2.8.3(transitive)
- Removed@opentiny/vue-icon@2.8.3(transitive)
- Removed@opentiny/vue-locale@2.8.3(transitive)
- Removed@opentiny/vue-renderless@3.8.4(transitive)
- Removed@opentiny/vue-theme@3.8.5(transitive)
- Removed@opentiny/vue-theme-mobile@3.8.3(transitive)
Updated@opentiny/vue-common@~2.9.0
Updated@opentiny/vue-icon@~2.9.0