@opentiny/vue-button
Advanced tools
Comparing version 3.8.3 to 3.9.0
@@ -89,3 +89,3 @@ function _extends() { | ||
}); | ||
var version = "3.7.0"; | ||
var version = "3.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"; | ||
import { resolveComponent, openBlock, createElementBlock, mergeProps, createBlock, normalizeClass, createCommentVNode, resolveDynamicComponent, renderSlot, createElementVNode, toDisplayString } from "vue"; | ||
@@ -100,3 +100,3 @@ function _createForOfIteratorHelperLoose(o, allowArrayLike) { | ||
components: { | ||
IconLoading: IconLoading() | ||
IconLoading: iconLoading() | ||
}, | ||
@@ -124,3 +124,3 @@ setup: function setup(props2, context) { | ||
type: _ctx.nativeType, | ||
class: _ctx.m(_ctx.gcls("button"), _ctx.gcls("size-" + (_ctx.size || "default")), _ctx.gcls("type-" + (_ctx.type || "default") + (_ctx.icon ? "-icon" : _ctx.state.plain ? "-plain" : "") + (_ctx.state.buttonDisabled ? "-disabled" : "")), _ctx.gcls(_ctx.round ? "is-round" : "no-round"), _ctx.gcls(_ctx.circle ? "is-circle" : "no-circle"), _ctx.gcls({ | ||
class: _ctx.m(_ctx.gcls("button"), _ctx.gcls("size-" + (_ctx.size || "default")), _ctx.gcls("type-" + (_ctx.type || "default") + (_ctx.icon ? "-icon" : _ctx.state.plain ? "-plain" : "") + "\n " + (_ctx.state.buttonDisabled ? "-disabled" : "")), _ctx.gcls(_ctx.round ? "is-round" : "no-round"), _ctx.gcls(_ctx.circle ? "is-circle" : "no-circle"), _ctx.gcls({ | ||
"is-border": _ctx.circle || !(_ctx.type === "text" || _ctx.icon) | ||
@@ -127,0 +127,0 @@ }), _ctx.gcls({ |
@@ -76,3 +76,4 @@ import { renderless, api } from "@opentiny/vue-renderless/button/vue"; | ||
"is-circle": _ctx.circle, | ||
"is-icon": _ctx.icon && !_ctx.loading && (_ctx.text || _ctx.$slots.default) | ||
"is-icon": _ctx.icon && !_ctx.loading && (_ctx.text || _ctx.$slots.default), | ||
"is-only-icon": _ctx.icon && !_ctx.loading && !(_ctx.text || _ctx.$slots.default) | ||
}]], | ||
@@ -79,0 +80,0 @@ onClick: _cache[0] || (_cache[0] = function() { |
{ | ||
"name": "@opentiny/vue-button", | ||
"version": "3.8.3", | ||
"version": "3.9.0", | ||
"description": "", | ||
@@ -9,5 +9,5 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~3.8.3", | ||
"@opentiny/vue-icon": "~3.8.3", | ||
"@opentiny/vue-renderless": "~3.8.3" | ||
"@opentiny/vue-common": "~3.9.0", | ||
"@opentiny/vue-icon": "~3.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
29458
677
+ Added@opentiny/vue-common@3.9.0(transitive)
+ Added@opentiny/vue-icon@3.9.1(transitive)
+ Added@opentiny/vue-locale@3.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@3.8.3(transitive)
- Removed@opentiny/vue-icon@3.8.3(transitive)
- Removed@opentiny/vue-locale@3.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@~3.9.0
Updated@opentiny/vue-icon@~3.9.0