@reach/visually-hidden
Advanced tools
Comparing version 0.7.4 to 0.8.0
@@ -48,5 +48,8 @@ 'use strict'; |
}); |
VisuallyHidden.displayName = "VisuallyHidden"; |
{ |
VisuallyHidden.displayName = "VisuallyHidden"; |
} |
exports.default = VisuallyHidden; |
//# sourceMappingURL=visually-hidden.cjs.development.js.map |
@@ -1,2 +0,2 @@ |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=require("react"),t=(e=r)&&"object"==typeof e&&"default"in e?e.default:e,a=r.forwardRef((function(e,r){return t.createElement("span",Object.assign({ref:r,style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},e))}));a.displayName="VisuallyHidden",exports.default=a; |
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=require("react"),t=(e=r)&&"object"==typeof e&&"default"in e?e.default:e;exports.default=r.forwardRef((function(e,r){return t.createElement("span",Object.assign({ref:r,style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},e))})); |
//# sourceMappingURL=visually-hidden.cjs.production.min.js.map |
@@ -41,5 +41,8 @@ import React, { forwardRef } from 'react'; |
}); |
VisuallyHidden.displayName = "VisuallyHidden"; |
if (process.env.NODE_ENV !== "production") { |
VisuallyHidden.displayName = "VisuallyHidden"; |
} |
export default VisuallyHidden; |
//# sourceMappingURL=visually-hidden.esm.js.map |
{ | ||
"name": "@reach/visually-hidden", | ||
"version": "0.7.4", | ||
"version": "0.8.0", | ||
"description": "Render text that is announced to screen readers but visually hidden.", | ||
@@ -28,3 +28,3 @@ "author": "React Training <hello@reacttraining.com>", | ||
], | ||
"gitHead": "f460709e283a60dd5ea62952b7feaf88546a50ff" | ||
"gitHead": "7702c46373c7f11adc21184e7def9977203e9326" | ||
} |
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
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
13878
119
2