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

@clayui/button

Package Overview
Dependencies
Maintainers
15
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clayui/button - npm Package Compare versions

Comparing version 3.81.0 to 3.82.0

2

lib/Button.js

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

undefined !== "production" ? (0, _warning.default)(!(childArray.length === 1 && // @ts-ignore
((_childArray$0$type = childArray[0].type) === null || _childArray$0$type === void 0 ? void 0 : _childArray$0$type.displayName) === 'ClayIcon' && typeof otherProps['aria-label'] !== 'string'), 'Button accessibility: component has only the Icon declared, defines an `aria-label` or `title` (consult your design team) attribute that labels the interactive button that screen readers can read.') : void 0;
((_childArray$0$type = childArray[0].type) === null || _childArray$0$type === void 0 ? void 0 : _childArray$0$type.displayName) === 'ClayIcon' && typeof otherProps['aria-label'] !== 'string'), 'Button Accessibility: Component has only the Icon declared. Define an `aria-label` or `title` attribute (consult your design team) that labels the interactive button that screen readers can read.') : void 0;
return /*#__PURE__*/_react.default.createElement("button", _extends({

@@ -53,0 +53,0 @@ className: (0, _classnames.default)(className, 'btn', (_classNames = {

{
"name": "@clayui/button",
"version": "3.81.0",
"version": "3.82.0",
"description": "ClayButton component",

@@ -41,3 +41,3 @@ "license": "BSD-3-Clause",

],
"gitHead": "ad8ecdbfe060ad7cec1128fb3d252bb660289519"
"gitHead": "ee9029ba2b53a94656be608165a77497b2b6708a"
}

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