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

@radix-ui/react-visually-hidden

Package Overview
Dependencies
Maintainers
5
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@radix-ui/react-visually-hidden - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

2

dist/index.js

@@ -1,2 +0,2 @@

function e(e){return e&&e.__esModule?e.default:e}function r(e,r,t){Object.defineProperty(e,r,{get:t,enumerable:!0})}var t=require("@radix-ui/react-primitive").Primitive,i=require("react"),o=i.forwardRef,n=i.createElement,a=e(require("@babel/runtime-corejs3/helpers/objectWithoutProperties")),s=e(require("@babel/runtime-corejs3/helpers/defineProperty")),l=e(require("@babel/runtime-corejs3/helpers/extends")),c=e(require("@babel/runtime-corejs3/core-js-stable/object/define-property")),u=e(require("@babel/runtime-corejs3/core-js-stable/object/define-properties")),b=e(require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors")),p=e(require("@babel/runtime-corejs3/core-js-stable/instance/for-each")),j=e(require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor")),d=e(require("@babel/runtime-corejs3/core-js-stable/instance/filter")),f=e(require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols")),m=e(require("@babel/runtime-corejs3/core-js-stable/object/keys")),y={};function q(e,r){var t=m(e);if(f){var i=f(e);r&&(i=d(i).call(i,(function(r){return j(e,r).enumerable}))),t.push.apply(t,i)}return t}function v(e){for(var r=1;r<arguments.length;r++){var t,i=null!=arguments[r]?arguments[r]:{};if(r%2)p(t=q(Object(i),!0)).call(t,(function(r){s(e,r,i[r])}));else if(b)u(e,b(i));else{var o;p(o=q(Object(i))).call(o,(function(r){c(e,r,j(i,r))}))}}return e}var h=o((function(e,r){var i=e.as,o=void 0===i?"span":i,s=a(e,["as"]);return n(t,l({},s,{as:o,ref:r,style:v(v({},e.style),{},{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"})}))}));exports.VisuallyHidden=h,h.displayName="VisuallyHidden";var w=h;exports.Root=w,r(y,"Root",(function(){return w})),r(y,"VisuallyHidden",(function(){return h}));
function e(e,r,t){Object.defineProperty(e,r,{get:t,enumerable:!0})}var r,t=require("@radix-ui/react-primitive").Primitive,i=require("react"),n=i.forwardRef,a=i.createElement,o=(r=require("@babel/runtime/helpers/extends"))&&r.__esModule?r.default:r,d={};const l="span",s=n(((e,r)=>{const{as:i=l,...n}=e;return a(t,o({},n,{as:i,ref:r,style:{...e.style,position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}}))}));exports.VisuallyHidden=s,s.displayName="VisuallyHidden";const u=s;exports.Root=u,e(d,"Root",(function(){return u})),e(d,"VisuallyHidden",(function(){return s}));
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

function e(e,r,o){Object.defineProperty(e,r,{get:o,enumerable:!0})}import{Primitive as r}from"@radix-ui/react-primitive";import{forwardRef as o,createElement as t}from"react";import i from"@babel/runtime-corejs3/helpers/esm/objectWithoutProperties";import n from"@babel/runtime-corejs3/helpers/esm/defineProperty";import s from"@babel/runtime-corejs3/helpers/esm/extends";import a from"@babel/runtime-corejs3/core-js-stable/object/define-property";import l from"@babel/runtime-corejs3/core-js-stable/object/define-properties";import c from"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";import m from"@babel/runtime-corejs3/core-js-stable/instance/for-each";import b from"@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor";import p from"@babel/runtime-corejs3/core-js-stable/instance/filter";import u from"@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";import f from"@babel/runtime-corejs3/core-js-stable/object/keys";var d={};function j(e,r){var o=f(e);if(u){var t=u(e);r&&(t=p(t).call(t,(function(r){return b(e,r).enumerable}))),o.push.apply(o,t)}return o}function y(e){for(var r=1;r<arguments.length;r++){var o,t=null!=arguments[r]?arguments[r]:{};if(r%2)m(o=j(Object(t),!0)).call(o,(function(r){n(e,r,t[r])}));else if(c)l(e,c(t));else{var i;m(i=j(Object(t))).call(i,(function(r){a(e,r,b(t,r))}))}}return e}export var VisuallyHidden=o((function(e,o){var n=e.as,a=void 0===n?"span":n,l=i(e,["as"]);return t(r,s({},l,{as:a,ref:o,style:y(y({},e.style),{},{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"})}))}));VisuallyHidden.displayName="VisuallyHidden";export var Root=VisuallyHidden;e(d,"Root",(function(){return Root})),e(d,"VisuallyHidden",(function(){return VisuallyHidden}));
function e(e,i,r){Object.defineProperty(e,i,{get:r,enumerable:!0})}import{Primitive as i}from"@radix-ui/react-primitive";import{forwardRef as r,createElement as t}from"react";import o from"@babel/runtime/helpers/esm/extends";var n={};const a="span";export const VisuallyHidden=r(((e,r)=>{const{as:n=a,...d}=e;return t(i,o({},d,{as:n,ref:r,style:{...e.style,position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}}))}));VisuallyHidden.displayName="VisuallyHidden";export const Root=VisuallyHidden;e(n,"Root",(function(){return Root})),e(n,"VisuallyHidden",(function(){return VisuallyHidden}));
//# sourceMappingURL=index.module.js.map
{
"name": "@radix-ui/react-visually-hidden",
"version": "0.0.7",
"version": "0.0.8",
"license": "MIT",

@@ -20,5 +20,5 @@ "source": "src/index.ts",

"dependencies": {
"@babel/runtime-corejs3": "^7.13.10",
"@babel/runtime": "^7.13.10",
"@radix-ui/react-polymorphic": "0.0.7",
"@radix-ui/react-primitive": "0.0.7"
"@radix-ui/react-primitive": "0.0.8"
},

@@ -25,0 +25,0 @@ "peerDependencies": {

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