New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@opentiny/vue-button

Package Overview
Dependencies
Maintainers
0
Versions
65
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.19.0 to 3.20.0

7

lib/index.js

@@ -74,3 +74,6 @@ function _extends() {

/** 是否圆角按钮 */
round: Boolean,
round: {
type: Boolean,
default: void 0
},
/** 是否朴素按钮 */

@@ -120,3 +123,3 @@ plain: Boolean,

});
var version = "3.19.0";
var version = "3.20.0";
Button.install = function(Vue) {

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

@@ -36,3 +36,3 @@ import { renderless, api } from '@opentiny/vue-renderless/button/vue';

for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
var _step$value2 = _step.value, key = _step$value2[0], val = _step$value2[1];
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
target[key] = val;

@@ -117,3 +117,3 @@ }

type: _ctx.nativeType,
class: _ctx.m(_ctx.gcls("button"), _ctx.gcls(_ctx.banner ? "button-banner" : "button-base-width"), _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(_ctx.banner ? "button-banner" : "button-base-width"), _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.state.round ? "is-round" : "no-round"), _ctx.gcls(_ctx.circle ? "is-circle" : "no-circle"), _ctx.gcls({
"is-border": _ctx.circle || !(_ctx.type === "text" || _ctx.icon)

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

@@ -36,3 +36,3 @@ import { renderless, api } from '@opentiny/vue-renderless/button/vue';

for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
var _step$value2 = _step.value, key = _step$value2[0], val = _step$value2[1];
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
target[key] = val;

@@ -39,0 +39,0 @@ }

@@ -37,3 +37,3 @@ import { renderless, api } from '@opentiny/vue-renderless/button/vue';

for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
var _step$value2 = _step.value, key = _step$value2[0], val = _step$value2[1];
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
target[key] = val;

@@ -68,3 +68,3 @@ }

"is-ghost": _ctx.ghost,
"is-round": _ctx.round,
"is-round": _ctx.state.round,
"is-circle": _ctx.circle,

@@ -71,0 +71,0 @@ "is-icon": _ctx.icon && !_ctx.loading && (_ctx.text || _ctx.slots.default),

{
"name": "@opentiny/vue-button",
"version": "3.19.0",
"version": "3.20.0",
"description": "",

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

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

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

@@ -44,3 +44,6 @@ export declare const buttonProps: {

/** 是否圆角按钮 */
round: BooleanConstructor;
round: {
type: BooleanConstructor;
default: undefined;
};
/** 是否朴素按钮 */

@@ -75,3 +78,3 @@ plain: BooleanConstructor;

tiny_template: (ObjectConstructor | FunctionConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_renderless: FunctionConstructor; /** 是否圆形按钮 */
tiny_theme: StringConstructor;

@@ -123,3 +126,6 @@ tiny_chart_theme: ObjectConstructor;

/** 是否圆角按钮 */
round: BooleanConstructor;
round: {
type: BooleanConstructor;
default: undefined;
};
/** 是否朴素按钮 */

@@ -154,3 +160,3 @@ plain: BooleanConstructor;

tiny_template: (ObjectConstructor | FunctionConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_renderless: FunctionConstructor; /** 是否圆形按钮 */
tiny_theme: StringConstructor;

@@ -203,3 +209,6 @@ tiny_chart_theme: ObjectConstructor;

/** 是否圆角按钮 */
round: BooleanConstructor;
round: {
type: BooleanConstructor;
default: undefined;
};
/** 是否朴素按钮 */

@@ -234,3 +243,3 @@ plain: BooleanConstructor;

tiny_template: (ObjectConstructor | FunctionConstructor)[];
tiny_renderless: FunctionConstructor;
tiny_renderless: FunctionConstructor; /** 是否圆形按钮 */
tiny_theme: StringConstructor;

@@ -243,4 +252,4 @@ tiny_chart_theme: ObjectConstructor;

type: string;
onClick: any;
size: string;
onClick: any;
href: string;

@@ -247,0 +256,0 @@ tiny_mode_root: boolean;

@@ -26,2 +26,3 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{

gcls: (key: any) => any;
m: (...cssClasses: any[]) => string;
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, "click"[], "click", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{

@@ -28,0 +29,0 @@ disabled?: any;

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