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 1.6.10 to 1.7.0

4

dist/cjs/button.js

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

'bg-accent text-accent dark:bg-accent-100 dark:text-white': variant === 'primary',
'bg-gray-200 text-primary dark:bg-gray-800': variant === 'secondary',
'bg-gray-100 text-primary dark:bg-gray-800': variant === 'secondary',
'bg-red-200 text-red-500 ': variant === 'danger',

@@ -36,3 +36,3 @@ 'bg-green-200 text-green-500 ': variant === 'success'

}), /*#__PURE__*/React.createElement("div", {
className: (0, _utils.cx)('relative flex h-full w-full items-center justify-center whitespace-nowrap', {
className: (0, _utils.cx)('not-prose relative flex h-full w-full items-center justify-center whitespace-nowrap', {
'cursor-not-allowed text-gray-100 opacity-50': disabled,

@@ -39,0 +39,0 @@ '!text-white dark:!text-accent': variant === 'primary',

@@ -22,3 +22,3 @@ var _excluded = ["children", "size", "variant", "className", "disabled"],

'bg-accent text-accent dark:bg-accent-100 dark:text-white': variant === 'primary',
'bg-gray-200 text-primary dark:bg-gray-800': variant === 'secondary',
'bg-gray-100 text-primary dark:bg-gray-800': variant === 'secondary',
'bg-red-200 text-red-500 ': variant === 'danger',

@@ -28,3 +28,3 @@ 'bg-green-200 text-green-500 ': variant === 'success'

}), /*#__PURE__*/React.createElement("div", {
className: cx('relative flex h-full w-full items-center justify-center whitespace-nowrap', {
className: cx('not-prose relative flex h-full w-full items-center justify-center whitespace-nowrap', {
'cursor-not-allowed text-gray-100 opacity-50': disabled,

@@ -31,0 +31,0 @@ '!text-white dark:!text-accent': variant === 'primary',

{
"name": "@daren/button",
"version": "1.6.10",
"version": "1.7.0",
"repository": {

@@ -41,5 +41,5 @@ "type": "git",

"dependencies": {
"@daren/form-elements": "^1.11.12",
"@daren/typography": "^1.8.0",
"@daren/utils": "^1.8.5",
"@daren/form-elements": "^1.12.0",
"@daren/typography": "^1.9.0",
"@daren/utils": "^1.9.0",
"@heroicons/react": "^2.0.13"

@@ -56,3 +56,3 @@ },

},
"gitHead": "ee00738dd3ee6173ab63f37475f6c7351e0c1120"
"gitHead": "e71bdf170fb05651469080fb51af607b2cac3eae"
}

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