@daren/button
Advanced tools
Comparing version 1.6.10 to 1.7.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
59998
Updated@daren/form-elements@^1.12.0
Updated@daren/typography@^1.9.0
Updated@daren/utils@^1.9.0