@opentiny/vue-tag
Advanced tools
Comparing version 2.13.0 to 2.14.0
@@ -79,3 +79,3 @@ function _extends() { | ||
}); | ||
var version = "2.13.0"; | ||
var version = "2.14.0"; | ||
Tag.install = function(Vue) { | ||
@@ -82,0 +82,0 @@ Vue.component(Tag.name, Tag); |
@@ -67,3 +67,3 @@ import { renderless, api } from "@opentiny/vue-renderless/tag/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", | ||
@@ -77,3 +77,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", | ||
@@ -87,3 +87,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", | ||
@@ -97,3 +97,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", | ||
@@ -108,5 +108,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", | ||
@@ -113,0 +113,0 @@ "tag-operable": "h-7 sm:h-6 cursor-pointer", |
@@ -77,3 +77,6 @@ import { renderless, api } from "@opentiny/vue-renderless/tag/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 = h2("span", { | ||
var tagElement = value || slots.default && slots.default() ? h2("span", { | ||
"attrs": { | ||
"data-tag": "tiny-tag" | ||
}, | ||
"class": classes, | ||
@@ -91,3 +94,3 @@ "style": { | ||
} | ||
})]); | ||
})]) : h2("span"); | ||
return tagElement; | ||
@@ -94,0 +97,0 @@ } |
{ | ||
"name": "@opentiny/vue-tag", | ||
"version": "2.13.0", | ||
"version": "2.14.0", | ||
"description": "", | ||
@@ -10,7 +10,7 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.13.0", | ||
"@opentiny/vue-common": "~2.13.0", | ||
"@opentiny/vue-icon": "~2.13.0", | ||
"@opentiny/vue-theme": "~3.13.0", | ||
"@opentiny/vue-theme-mobile": "~3.13.0" | ||
"@opentiny/vue-renderless": "~3.14.0", | ||
"@opentiny/vue-common": "~2.14.0", | ||
"@opentiny/vue-icon": "~2.14.0", | ||
"@opentiny/vue-theme": "~3.14.0", | ||
"@opentiny/vue-theme-mobile": "~3.14.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
21999
577
+ Added@opentiny/vue-common@2.14.0(transitive)
+ Added@opentiny/vue-icon@2.14.0(transitive)
+ Added@opentiny/vue-locale@2.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)
+ Added@vue/composition-api@1.7.2(transitive)
+ Addedvue@2.6.14(transitive)
- Removed@babel/helper-string-parser@7.25.9(transitive)
- Removed@babel/helper-validator-identifier@7.25.9(transitive)
- Removed@babel/parser@7.26.2(transitive)
- Removed@babel/types@7.26.0(transitive)
- Removed@opentiny/vue-common@2.13.1(transitive)
- Removed@opentiny/vue-icon@2.13.0(transitive)
- Removed@opentiny/vue-locale@2.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)
- Removed@vue/compiler-sfc@2.7.16(transitive)
- Removed@vue/composition-api@1.2.4(transitive)
- Removedcsstype@3.1.3(transitive)
- Removednanoid@3.3.8(transitive)
- Removedpicocolors@1.1.1(transitive)
- Removedpostcss@8.4.49(transitive)
- Removedprettier@2.8.8(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedsource-map-js@1.2.1(transitive)
- Removedtslib@2.8.1(transitive)
- Removedvue@2.7.16(transitive)
Updated@opentiny/vue-common@~2.14.0
Updated@opentiny/vue-icon@~2.14.0
Updated@opentiny/vue-theme@~3.14.0