@opentiny/vue-tag
Advanced tools
Comparing version 2.11.0-alpha.2 to 2.11.0
@@ -64,3 +64,3 @@ function _extends() { | ||
}); | ||
var version = "2.11.0-alpha.2"; | ||
var version = "2.11.0"; | ||
Tag.install = function(Vue) { | ||
@@ -67,0 +67,0 @@ Vue.component(Tag.name, Tag); |
@@ -137,6 +137,6 @@ import { renderless, api } from "@opentiny/vue-renderless/tag/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 = h2("span", { | ||
var tagElement = value || slots.default && slots.default() ? h2("span", { | ||
"attrs": { | ||
@@ -157,3 +157,3 @@ "data-tag": "tiny-tag" | ||
} | ||
})]); | ||
})]) : h2("span"); | ||
return tagElement; | ||
@@ -160,0 +160,0 @@ } |
{ | ||
"name": "@opentiny/vue-tag", | ||
"version": "2.11.0-alpha.2", | ||
"version": "2.11.0", | ||
"description": "", | ||
@@ -10,7 +10,7 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.11.0-alpha.0", | ||
"@opentiny/vue-common": "~2.11.0-alpha.0", | ||
"@opentiny/vue-icon": "~2.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": "~2.11.0", | ||
"@opentiny/vue-icon": "~2.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
1
18223