Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentiny/vue-tag

Package Overview
Dependencies
Maintainers
0
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-tag - npm Package Compare versions

Comparing version 2.18.0 to 2.19.0

4

lib/index.js

@@ -44,2 +44,4 @@ function _extends() {

selectable: Boolean,
onlyIcon: Boolean,
// 仅图标模式
customClass: {

@@ -79,3 +81,3 @@ type: String,

});
var version = "2.18.0";
var version = "2.19.0";
Tag.install = function(Vue) {

@@ -82,0 +84,0 @@ Vue.component(Tag.name, Tag);

@@ -64,3 +64,16 @@ import { renderless, api } from '@opentiny/vue-renderless/tag/vue';

emits: ["click", "close"],
props: [].concat(props, ["text", "closable", "type", "hit", "disabled", "color", "size", "effect", "value", "beforeDelete"]),
props: [].concat(props, [
"text",
"closable",
"type",
"hit",
// hit 只保留类名供aui使用, tinyvue 这边的border是随着规范走,取决于css var中的border色值
"disabled",
"color",
"size",
"effect",
"value",
"beforeDelete",
"onlyIcon"
]),
setup: function setup$1(props2, context) {

@@ -77,5 +90,5 @@ return setup({

var h2 = arguments[0];
var type = this.type, size = this.size, hit = this.hit, effect = this.effect, slots = this.slots, closable = this.closable, color = this.color, handleClose = this.handleClose, handleClick = this.handleClick, disabled = this.disabled; this.state; var value = this.value;
var type = this.type, size = this.size, hit = this.hit, effect = this.effect, slots = this.slots, closable = this.closable, color = this.color, handleClose = this.handleClose, handleClick = this.handleClick, disabled = this.disabled; this.state; var value = this.value, onlyIcon = this.onlyIcon;
var styles = {};
var classes = ["tiny-tag", type ? "tiny-tag--" + type : "", size ? "tiny-tag--" + size : "", effect ? "tiny-tag--" + effect : "", hit && "is-hit", disabled ? "is-disabled" : ""];
var classes = ["tiny-tag", type ? "tiny-tag--" + type : "", size ? "tiny-tag--" + size : "", effect ? "tiny-tag--" + effect : "", hit && "is-hit", disabled ? "is-disabled" : "", onlyIcon ? "tiny-tag--only-icon" : ""];
if (color) {

@@ -82,0 +95,0 @@ if (Array.isArray(color)) {

{
"name": "@opentiny/vue-tag",
"version": "2.18.0",
"version": "2.19.0",
"description": "",

@@ -10,7 +10,7 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-renderless": "~3.18.0",
"@opentiny/vue-common": "~2.18.0",
"@opentiny/vue-icon": "~2.18.0",
"@opentiny/vue-theme": "~3.18.0",
"@opentiny/vue-theme-mobile": "~3.18.0"
"@opentiny/vue-renderless": "~3.19.0",
"@opentiny/vue-common": "~2.19.0",
"@opentiny/vue-icon": "~2.19.0",
"@opentiny/vue-theme": "~3.19.0",
"@opentiny/vue-theme-mobile": "~3.19.0"
},

@@ -17,0 +17,0 @@ "license": "MIT",

@@ -15,2 +15,3 @@ export declare const tagProps: {

selectable: BooleanConstructor;
onlyIcon: BooleanConstructor;
customClass: {

@@ -17,0 +18,0 @@ type: StringConstructor;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc