Socket
Socket
Sign inDemoInstall

@opentiny/vue-button

Package Overview
Dependencies
Maintainers
1
Versions
59
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 2.8.3 to 2.9.0

2

lib/index.js

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

});
var version = "3.7.0";
var version = "2.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";
function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {

@@ -108,3 +108,3 @@ var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;

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

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

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

@@ -129,0 +129,0 @@ }), _vm.gcls({

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

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

@@ -89,0 +90,0 @@ attrs: {

{
"name": "@opentiny/vue-button",
"version": "2.8.3",
"version": "2.9.0",
"description": "",

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

"dependencies": {
"@opentiny/vue-common": "~2.8.3",
"@opentiny/vue-icon": "~2.8.3",
"@opentiny/vue-renderless": "~3.8.3"
"@opentiny/vue-common": "~2.9.0",
"@opentiny/vue-icon": "~2.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