@clayui/button
Advanced tools
Comparing version 3.81.0 to 3.82.0
@@ -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
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
28372