@opentiny/vue-tag
Advanced tools
Comparing version 3.11.0-alpha.2 to 3.11.0
@@ -64,3 +64,3 @@ function _extends() { | ||
}); | ||
var version = "3.11.0-alpha.2"; | ||
var version = "3.11.0"; | ||
Tag.install = function(Vue) { | ||
@@ -67,0 +67,0 @@ Vue.component(Tag.name, Tag); |
@@ -83,6 +83,6 @@ import { createVNode, resolveComponent } from "vue"; | ||
var operable = selectable ? false : this.operable; | ||
var classes2 = m("text-xs inline-flex items-center rounded-sm box-border border-0.5 sm:border mr-2", effect === "plain" || hit ? gcls(type + "-border") : "border-transparent", gcls(effect + "-" + type), gcls(size), { | ||
var classes2 = m("text-xs inline-flex items-center rounded box-border border-0.5 sm:border mr-2", effect === "plain" || hit ? gcls(type + "-border") : "border-transparent", gcls(effect + "-" + type), gcls(size), { | ||
hidden: !state.show | ||
}, selectable ? state.selected ? gcls("selectable-selected") : gcls("selectable-unselect") : "", selectable && disabled ? gcls("tag-disabled") : "", operable ? gcls("tag-operable") : "", customClass); | ||
var tagElement = createVNode("span", { | ||
var tagElement = value || slots.default && slots.default() ? createVNode("span", { | ||
"data-tag": "tiny-tag", | ||
@@ -97,3 +97,3 @@ "class": classes2, | ||
"onClick": handleClose | ||
}, null)]); | ||
}, null)]) : createVNode("span", null, null); | ||
return tagElement; | ||
@@ -100,0 +100,0 @@ } |
{ | ||
"name": "@opentiny/vue-tag", | ||
"version": "3.11.0-alpha.2", | ||
"version": "3.11.0", | ||
"description": "", | ||
@@ -10,7 +10,7 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.11.0-alpha.0", | ||
"@opentiny/vue-common": "~3.11.0-alpha.0", | ||
"@opentiny/vue-icon": "~3.11.0-alpha.0", | ||
"@opentiny/vue-theme": "~3.11.0-alpha.0", | ||
"@opentiny/vue-theme-mobile": "~3.11.0-alpha.0" | ||
"@opentiny/vue-renderless": "~3.11.0", | ||
"@opentiny/vue-common": "~3.11.0", | ||
"@opentiny/vue-icon": "~3.11.0", | ||
"@opentiny/vue-theme": "~3.11.0", | ||
"@opentiny/vue-theme-mobile": "~3.11.0" | ||
}, | ||
@@ -17,0 +17,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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
20330
1