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

@opentiny/vue-button

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-button - npm Package Compare versions

Comparing version 3.8.3 to 3.9.0

2

lib/index.js

@@ -89,3 +89,3 @@ function _extends() {

});
var version = "3.7.0";
var version = "3.9.0";
Button.install = function(Vue) {

@@ -92,0 +92,0 @@ Vue.component(Button.name, Button);

import { renderless, api } from "@opentiny/vue-renderless/button/vue";
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common";
import { IconLoading } from "@opentiny/vue-icon";
import { iconLoading } from "@opentiny/vue-icon";
import { resolveComponent, openBlock, createElementBlock, mergeProps, createBlock, normalizeClass, createCommentVNode, resolveDynamicComponent, renderSlot, createElementVNode, toDisplayString } from "vue";

@@ -100,3 +100,3 @@ function _createForOfIteratorHelperLoose(o, allowArrayLike) {

components: {
IconLoading: IconLoading()
IconLoading: iconLoading()
},

@@ -124,3 +124,3 @@ setup: function setup(props2, context) {

type: _ctx.nativeType,
class: _ctx.m(_ctx.gcls("button"), _ctx.gcls("size-" + (_ctx.size || "default")), _ctx.gcls("type-" + (_ctx.type || "default") + (_ctx.icon ? "-icon" : _ctx.state.plain ? "-plain" : "") + (_ctx.state.buttonDisabled ? "-disabled" : "")), _ctx.gcls(_ctx.round ? "is-round" : "no-round"), _ctx.gcls(_ctx.circle ? "is-circle" : "no-circle"), _ctx.gcls({
class: _ctx.m(_ctx.gcls("button"), _ctx.gcls("size-" + (_ctx.size || "default")), _ctx.gcls("type-" + (_ctx.type || "default") + (_ctx.icon ? "-icon" : _ctx.state.plain ? "-plain" : "") + "\n " + (_ctx.state.buttonDisabled ? "-disabled" : "")), _ctx.gcls(_ctx.round ? "is-round" : "no-round"), _ctx.gcls(_ctx.circle ? "is-circle" : "no-circle"), _ctx.gcls({
"is-border": _ctx.circle || !(_ctx.type === "text" || _ctx.icon)

@@ -127,0 +127,0 @@ }), _ctx.gcls({

@@ -76,3 +76,4 @@ import { renderless, api } from "@opentiny/vue-renderless/button/vue";

"is-circle": _ctx.circle,
"is-icon": _ctx.icon && !_ctx.loading && (_ctx.text || _ctx.$slots.default)
"is-icon": _ctx.icon && !_ctx.loading && (_ctx.text || _ctx.$slots.default),
"is-only-icon": _ctx.icon && !_ctx.loading && !(_ctx.text || _ctx.$slots.default)
}]],

@@ -79,0 +80,0 @@ onClick: _cache[0] || (_cache[0] = function() {

{
"name": "@opentiny/vue-button",
"version": "3.8.3",
"version": "3.9.0",
"description": "",

@@ -9,5 +9,5 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-common": "~3.8.3",
"@opentiny/vue-icon": "~3.8.3",
"@opentiny/vue-renderless": "~3.8.3"
"@opentiny/vue-common": "~3.9.0",
"@opentiny/vue-icon": "~3.9.0",
"@opentiny/vue-renderless": "~3.9.0"
},

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

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