You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@cypress-design/vue-button

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cypress-design/vue-button - npm Package Compare versions

Comparing version

to
0.3.2

dist/index.es.mjs
# @cypress-design/vue-button
## 0.3.2
### Patch Changes
- [#68](https://github.com/cypress-io/cypress-design/pull/68) [`8c577fb`](https://github.com/cypress-io/cypress-design/commit/8c577fb0c6a0411cf8218dfe78281834df3d6f13) Thanks [@elevatebart](https://github.com/elevatebart)! - feat: publish `.mjs` files for esm intead of `.js`
## 0.3.1

@@ -4,0 +10,0 @@

2

dist/index.umd.js
(function(e,r){typeof exports=="object"&&typeof module<"u"?module.exports=r(require("vue")):typeof define=="function"&&define.amd?define(["vue"],r):(e=typeof globalThis<"u"?globalThis:e||self,e.Button=r(e.Vue))})(this,function(e){"use strict";const r={link:"border-transparent text-indigo-600 hover:underline disabled:text-gray-500 disabled:no-underline ring-transparent","outline-light":"border-gray-100 text-indigo-500 hocus:border-gray-200 disabled:border-gray-100 hocus:ring-gray-50 disabled:text-gray-500","outline-dark":"border-white/20 text-white hocus:border-white/60 hocus:ring-white/20 disabled:border-white/20 disabled:text-white/50",white:"border-gray-100 bg-white text-indigo-500 hocus:border-gray-200 hocus:ring-gray-50 disabled:text-gray-500","indigo-light":"border-indigo-50 bg-indigo-50 text-indigo-500 hocus:border-indigo-200 hocus:ring-2 hocus:ring-indigo-50","indigo-dark":"border-indigo-500 bg-indigo-500 text-white hocus:ring-2 hocus:ring-indigo-100 focus:bg-indigo-600","jade-light":"border-transparent bg-jade-200 text-teal-600 hocus:border-jade-300 hocus:ring-2 hocus:ring-jade-50","jade-dark":"border-jade-500 bg-jade-500 text-white hocus:ring-2 hocus:ring-jade-100","teal-dark":"border-teal-500 bg-teal-500 text-white hocus:ring-2 hocus:ring-teal-100 focus:bg-teal-600","purple-dark":"border-purple-500 bg-purple-500 text-white hocus:ring-2 hocus:ring-purple-100 focus:bg-purple-600","red-dark":"border-red-500 bg-red-500 text-white hocus:ring-2 hocus:ring-red-100 focus:bg-red-600","gray-dark":"border-gray-800 bg-gray-800 text-white hocus:ring-2 hocus:ring-gray-100","gray-darkest":"border-gray-1000 bg-gray-1000 text-white hocus:ring-2 hocus:ring-gray-100",disabled:"border-gray-500 bg-gray-500 text-white"},a={20:"px-4px py-0 text-14px leading-20px",24:"px-8px py-2px text-14px leading-20px",32:"px-12px py-6px text-14px leading-20px",40:"px-16px py-8px text-16px leading-24px",48:"px-20px py-12px text-16px leading-24px"},g="border rounded rounded-4px flex font-medium items-center transition duration-150 enabled:hover:ring-2 enabled:focus:ring-2 disabled:cursor-not-allowed",s={variant:String,size:String,disabled:Boolean},d=e.defineComponent((u,{slots:i})=>{const{variant:t="indigo-dark",size:l="32",disabled:n=!1}=u,b=e.computed(()=>n&&!["outline-dark","outline-light","link"].includes(t)?"disabled":t),p=e.computed(()=>n||t==="disabled");return()=>{var o;return e.h("button",{class:[g,r[b.value],a[l]],disabled:p.value},(o=i.default)==null?void 0:o.call(i))}});return d.props=s,d});
/* <windicss-keep class="border-transparent text-indigo-600 hover:underline disabled:text-gray-500 disabled:no-underline ring-transparent border-gray-100 text-indigo-500 hocus:border-gray-200 disabled:border-gray-100 hocus:ring-gray-50 border-white/20 text-white hocus:border-white/60 hocus:ring-white/20 disabled:border-white/20 disabled:text-white/50 bg-white border-indigo-50 bg-indigo-50 hocus:border-indigo-200 hocus:ring-2 hocus:ring-indigo-50 border-indigo-500 bg-indigo-500 hocus:ring-indigo-100 focus:bg-indigo-600 bg-jade-200 text-teal-600 hocus:border-jade-300 hocus:ring-jade-50 border-jade-500 bg-jade-500 hocus:ring-jade-100 border-teal-500 bg-teal-500 hocus:ring-teal-100 focus:bg-teal-600 border-purple-500 bg-purple-500 hocus:ring-purple-100 focus:bg-purple-600 border-red-500 bg-red-500 hocus:ring-red-100 focus:bg-red-600 border-gray-800 bg-gray-800 hocus:ring-gray-100 border-gray-1000 bg-gray-1000 border-gray-500 bg-gray-500 px-4px py-0 text-14px leading-20px px-8px py-2px px-12px py-6px px-16px py-8px text-16px leading-24px px-20px py-12px border rounded rounded-4px flex font-medium items-center transition duration-150 enabled:hover:ring-2 enabled:focus:ring-2 disabled:cursor-not-allowed"> */
//# sourceMappingURL=index.umd.js.map
{
"name": "@cypress-design/vue-button",
"version": "0.3.1",
"version": "0.3.2",
"files": [

@@ -9,6 +9,6 @@ "*"

"main": "./dist/index.umd.js",
"module": "./dist/index.es.js",
"module": "./dist/index.es.mjs",
"exports": {
".": {
"import": "./dist/index.es.js",
"import": "./dist/index.es.mjs",
"require": "./dist/index.umd.js"

@@ -23,2 +23,2 @@ }

"license": "MIT"
}
}
SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.