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

@daren/button

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@daren/button - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

dist/cjs/button.js

@@ -21,3 +21,3 @@ "use strict";

ghost: 'bg-transparent hover:bg-gray-100 dark:hover:bg-gray-800 dark:text-gray-100 dark:hover:text-gray-100 data-[state=open]:bg-transparent dark:data-[state=open]:bg-transparent',
link: 'bg-transparent underline-offset-4 hover:underline text-primary hover:bg-transparent dark:hover:bg-transparent'
link: 'bg-transparent hover:underline text-primary hover:bg-transparent dark:hover:bg-transparent'
};

@@ -24,0 +24,0 @@ var sizes = {

@@ -31,3 +31,3 @@ "use strict";

ref: ref,
className: (0, _utils.cx)('bg-transparent underline-offset-4 hover:underline text-primary hover:bg-transparent dark:hover:bg-transparent inline-flex space-x-2', className),
className: (0, _utils.cx)('bg-transparent text-primary hover:bg-transparent dark:hover:bg-transparent inline-flex space-x-2', className),
tabIndex: disabled ? -1 : undefined,

@@ -34,0 +34,0 @@ to: href,

@@ -15,3 +15,3 @@ var _excluded = ["variant", "size", "className"],

ghost: 'bg-transparent hover:bg-gray-100 dark:hover:bg-gray-800 dark:text-gray-100 dark:hover:text-gray-100 data-[state=open]:bg-transparent dark:data-[state=open]:bg-transparent',
link: 'bg-transparent underline-offset-4 hover:underline text-primary hover:bg-transparent dark:hover:bg-transparent'
link: 'bg-transparent hover:underline text-primary hover:bg-transparent dark:hover:bg-transparent'
};

@@ -18,0 +18,0 @@ var sizes = {

@@ -25,3 +25,3 @@ var _excluded = ["disabled", "external", "onClick", "to", "href", "className", "as"],

ref: ref,
className: cx('bg-transparent underline-offset-4 hover:underline text-primary hover:bg-transparent dark:hover:bg-transparent inline-flex space-x-2', className),
className: cx('bg-transparent text-primary hover:bg-transparent dark:hover:bg-transparent inline-flex space-x-2', className),
tabIndex: disabled ? -1 : undefined,

@@ -28,0 +28,0 @@ to: href,

{
"name": "@daren/button",
"version": "2.0.0",
"version": "2.0.1",
"repository": {

@@ -55,3 +55,3 @@ "type": "git",

},
"gitHead": "bc865c27179bf2870d3d874814545e009b59e58d"
"gitHead": "721d0cec739db6f766bb92ff18e1f1ff9ab3e5b2"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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