@opentiny/vue-tag
Advanced tools
Comparing version 3.13.0 to 3.14.0
@@ -79,3 +79,3 @@ function _extends() { | ||
}); | ||
var version = "3.13.0"; | ||
var version = "3.14.0"; | ||
Tag.install = function(Vue) { | ||
@@ -82,0 +82,0 @@ Vue.component(Tag.name, Tag); |
@@ -14,3 +14,3 @@ import { createVNode, resolveComponent } from "vue"; | ||
"dark-purple": "text-color-text-inverse bg-color-chart-11", | ||
"dark-cyan": "text-color-text-inverse bg-color-chart-5", | ||
"dark-cyan": "text-color-text-inverse bg-color-chart-2", | ||
"light-success": "text-color-success bg-color-success-subtler", | ||
@@ -24,3 +24,3 @@ "light-alerting": "text-color-alert bg-color-alert-subtler", | ||
"light-purple": "text-color-chart-11 bg-color-chart-11-subtler", | ||
"light-cyan": "text-color-chart-5 bg-color-chart-5-subtler", | ||
"light-cyan": "text-color-chart-2 bg-color-chart-2-subtler", | ||
"plain-success": "text-color-success bg-color-bg-1", | ||
@@ -34,3 +34,3 @@ "plain-alerting": "text-color-alert bg-color-bg-1", | ||
"plain-purple": "text-color-chart-11 bg-color-bg-1", | ||
"plain-cyan": "text-color-chart-5 bg-color-bg-1", | ||
"plain-cyan": "text-color-chart-2 bg-color-bg-1", | ||
"success-border": "border-color-success-subtle", | ||
@@ -44,3 +44,3 @@ "alerting-border": "border-color-alert-subtle", | ||
"purple-border": "border-color-chart-11-subtle", | ||
"cyan-border": "border-color-chart-5-subtle", | ||
"cyan-border": "border-color-chart-2-subtle", | ||
"fill-dark": "fill-color-bg-6 hover:fill-color-icon-inverse", | ||
@@ -55,5 +55,5 @@ "fill-light-success": "fill-color-success-subtle hover:fill-color-success", | ||
"fill-light-purple": "fill-color-chart-11-subtle hover:fill-color-chart-11", | ||
"fill-light-cyan": "fill-color-chart-5-subtle hover:fill-color-chart-5", | ||
"selectable-unselect": "h-9 sm:h-7 text-color-text-primary bg-color-bg-4 cursor-pointer hover:bg-color-bg-3", | ||
"selectable-selected": "h-9 sm:h-7 text-color-brand border-current bg-color-info-secondary-subtle cursor-pointer hover:text-color-brand-hover", | ||
"fill-light-cyan": "fill-color-chart-2-subtle hover:fill-color-chart-2", | ||
"selectable-unselect": "h-9 sm:h-7 text-color-text-primary bg-color-bg-4 cursor-pointer hover:bg-color-fill-1", | ||
"selectable-selected": "h-9 sm:h-7 text-color-brand border-current bg-color-info-primary-subtler cursor-pointer hover:text-color-brand-hover", | ||
"tag-disabled": "h-9 sm:h-7 text-color-text-disabled bg-color-bg-4 border-transparent cursor-not-allowed hover:text-color-text-disabled hover:bg-color-bg-4", | ||
@@ -60,0 +60,0 @@ "tag-operable": "h-7 sm:h-6 cursor-pointer", |
@@ -23,3 +23,4 @@ import { createVNode, resolveComponent } from "vue"; | ||
var classes = ["tiny-tag", type ? "tiny-tag--" + type : "", size ? "tiny-tag--" + size : "", effect ? "tiny-tag--" + effect : "", hit && "is-hit", disabled ? "is-disabled" : ""]; | ||
var tagElement = createVNode("span", { | ||
var tagElement = value || slots.default && slots.default() ? createVNode("span", { | ||
"data-tag": "tiny-tag", | ||
"class": classes, | ||
@@ -33,3 +34,3 @@ "style": { | ||
"onClick": handleClose | ||
}, null)]); | ||
}, null)]) : createVNode("span", null, null); | ||
return tagElement; | ||
@@ -36,0 +37,0 @@ } |
{ | ||
"name": "@opentiny/vue-tag", | ||
"version": "3.13.0", | ||
"version": "3.14.0", | ||
"description": "", | ||
@@ -10,7 +10,7 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.13.0", | ||
"@opentiny/vue-common": "~3.13.0", | ||
"@opentiny/vue-icon": "~3.13.0", | ||
"@opentiny/vue-theme": "~3.13.0", | ||
"@opentiny/vue-theme-mobile": "~3.13.0" | ||
"@opentiny/vue-renderless": "~3.14.0", | ||
"@opentiny/vue-common": "~3.14.0", | ||
"@opentiny/vue-icon": "~3.14.0", | ||
"@opentiny/vue-theme": "~3.14.0", | ||
"@opentiny/vue-theme-mobile": "~3.14.0" | ||
}, | ||
@@ -17,0 +17,0 @@ "license": "MIT", |
25914
683
+ Added@opentiny/vue-common@3.14.0(transitive)
+ Added@opentiny/vue-icon@3.14.0(transitive)
+ Added@opentiny/vue-locale@3.14.0(transitive)
+ Added@opentiny/vue-renderless@3.14.1(transitive)
+ Added@opentiny/vue-theme@3.14.1(transitive)
+ Added@opentiny/vue-theme-mobile@3.14.2(transitive)
- Removed@opentiny/vue-common@3.13.1(transitive)
- Removed@opentiny/vue-icon@3.13.0(transitive)
- Removed@opentiny/vue-locale@3.13.0(transitive)
- Removed@opentiny/vue-renderless@3.13.2(transitive)
- Removed@opentiny/vue-theme@3.13.3(transitive)
- Removed@opentiny/vue-theme-mobile@3.13.0(transitive)
Updated@opentiny/vue-common@~3.14.0
Updated@opentiny/vue-icon@~3.14.0
Updated@opentiny/vue-theme@~3.14.0