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

@bigin/bigin-ui-button

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bigin/bigin-ui-button - npm Package Compare versions

Comparing version 0.0.66 to 0.1.0

28

lib/index.js

@@ -78,14 +78,17 @@ 'use strict';var BaseButton = {

computed: {
variantClass() {
variantName() {
return (
(this.ghost && this.primary && `${this.baseClass}--ghost-primary`) ||
(this.ghost && this.danger && `${this.baseClass}--ghost-danger`) ||
(this.ghost && `${this.baseClass}--ghost`) ||
(this.primary && `${this.baseClass}--primary`) ||
(this.secondary && `${this.baseClass}--secondary`) ||
(this.danger && `${this.baseClass}--danger`) ||
(this.semiDanger && `${this.baseClass}--semi-danger`) ||
`${this.baseClass}--default`
(this.ghost && this.primary && `ghost-primary`) ||
(this.ghost && this.danger && `ghost-danger`) ||
(this.ghost && `ghost`) ||
(this.primary && `primary`) ||
(this.secondary && `secondary`) ||
(this.danger && `danger`) ||
(this.semiDanger && `semi-danger`) ||
`default`
)
},
variantClass() {
return `${this.baseClass}--${this.variantName}`
},
sizingClass() {

@@ -211,3 +214,8 @@ return (

],
attrs: { disabled: _vm.disabled || _vm.loading }
attrs: {
disabled: _vm.disabled || _vm.loading,
"data-test-name": "button",
"data-test-variant": _vm.variantName,
"data-test-state": _vm.disabled || _vm.loading ? "disabled" : ""
}
},

@@ -214,0 +222,0 @@ "component",

{
"name": "@bigin/bigin-ui-button",
"version": "0.0.66",
"version": "0.1.0",
"description": "Bigin Design System Button component",

@@ -30,3 +30,3 @@ "author": "Tam Mai <tam.mai@bigin.vn>",

},
"gitHead": "fc3e478ff7f448f0d2b5eb16c84775a4d220ae05"
"gitHead": "ce31d3bd684e4c1dfddcd77dffe420f800d94acb"
}
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