@radix-ui/react-visually-hidden 0.1.5-rc.39 → 0.1.5-rc.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"mappings":";;;AAYA,0BAA0B,MAAM,wBAAwB,CAAC,OAAO,UAAU,IAAI,CAAC,CAAC;AAChF,oCAA8B,SAAQ,kBAAkB;CAAG;AAE3D,OAAA,MAAM,2GAuBL,CAAC;AAMF,OAAA,MAAM,iGAAqB,CAAC","sources":["packages/react/visually-hidden/src/packages/react/visually-hidden/src/VisuallyHidden.tsx","packages/react/visually-hidden/src/packages/react/visually-hidden/src/index.ts","packages/react/visually-hidden/src/index.ts"],"sourcesContent":[null,null,"export * from './VisuallyHidden';\n"],"names":[],"version":3,"file":"index.d.ts.map"}
1
+ {"mappings":";;;AAYA,0BAA0B,MAAM,wBAAwB,CAAC,OAAO,UAAU,IAAI,CAAC,CAAC;AAChF,oCAA8B,SAAQ,kBAAkB;CAAG;AAE3D,OAAA,MAAM,2GAuBL,CAAC;AAMF,OAAA,MAAM,iGAAqB,CAAC","sources":["packages/react/visually-hidden/src/packages/react/visually-hidden/src/VisuallyHidden.tsx","packages/react/visually-hidden/src/packages/react/visually-hidden/src/index.ts","packages/react/visually-hidden/src/index.ts"],"sourcesContent":[null,null,"export {\n VisuallyHidden,\n //\n Root,\n} from './VisuallyHidden';\nexport type { VisuallyHiddenProps } from './VisuallyHidden';\n"],"names":[],"version":3,"file":"index.d.ts.map"}
package/dist/index.js CHANGED
@@ -2,32 +2,15 @@ var $awrN2$babelruntimehelpersextends = require("@babel/runtime/helpers/extends"
2
2
  var $awrN2$react = require("react");
3
3
  var $awrN2$radixuireactprimitive = require("@radix-ui/react-primitive");
4
4
 
5
- function $parcel$exportWildcard(dest, source) {
6
- Object.keys(source).forEach(function(key) {
7
- if (key === 'default' || key === '__esModule' || dest.hasOwnProperty(key)) {
8
- return;
9
- }
10
-
11
- Object.defineProperty(dest, key, {
12
- enumerable: true,
13
- get: function get() {
14
- return source[key];
15
- }
16
- });
17
- });
18
-
19
- return dest;
5
+ function $parcel$export(e, n, v, s) {
6
+ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
20
7
  }
21
8
  function $parcel$interopDefault(a) {
22
9
  return a && a.__esModule ? a.default : a;
23
10
  }
24
- function $parcel$export(e, n, v, s) {
25
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
26
- }
27
- var $685371e9c20848e2$exports = {};
28
11
 
29
- $parcel$export($685371e9c20848e2$exports, "VisuallyHidden", () => $685371e9c20848e2$export$439d29a4e110a164);
30
- $parcel$export($685371e9c20848e2$exports, "Root", () => $685371e9c20848e2$export$be92b6f5f03c0fe9);
12
+ $parcel$export(module.exports, "VisuallyHidden", () => $685371e9c20848e2$export$439d29a4e110a164);
13
+ $parcel$export(module.exports, "Root", () => $685371e9c20848e2$export$be92b6f5f03c0fe9);
31
14
 
32
15
 
33
16
 
@@ -59,7 +42,6 @@ const $685371e9c20848e2$export$439d29a4e110a164 = /*#__PURE__*/ $awrN2$react.for
59
42
  /* -----------------------------------------------------------------------------------------------*/ const $685371e9c20848e2$export$be92b6f5f03c0fe9 = $685371e9c20848e2$export$439d29a4e110a164;
60
43
 
61
44
 
62
- $parcel$exportWildcard(module.exports, $685371e9c20848e2$exports);
63
45
 
64
46
 
65
47
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;A;;;ACKA;;oGAEA,CAEA,MAAME,0BAAI,GAAG,gBAAb,AAAA;AAMA,MAAMC,yCAAc,GAAA,aAAGH,CAAAA,uBAAA,CACrB,CAACK,KAAD,EAAQC,YAAR,GAAyB;IACvB,OAAA,aACE,CAAA,0BAAA,CAAC,sCAAD,CAAW,IAAX,EAAA,2DAAA,CAAA,EAAA,EACMD,KADN,EADF;QAGI,GAAG,EAAEC,YAFP;QAGE,KAAK,EAAE;YACL,qFAAA;YACAC,QAAQ,EAAE,UAFL;YAGLC,MAAM,EAAE,CAHH;YAILC,KAAK,EAAE,CAJF;YAKLC,MAAM,EAAE,CALH;YAMLC,OAAO,EAAE,CANJ;YAOLC,MAAM,EAAE,EAPH;YAQLC,QAAQ,EAAE,QARL;YASLC,IAAI,EAAE,kBATD;YAULC,UAAU,EAAE,QAVP;YAWLC,QAAQ,EAAE,QAXL;YAYL,GAAGX,KAAK,CAACY,KAAT;SAZK;KAHT,CAAA,CADF,CACE;CAHiB,CAAvB,AAsBG;AAGH,aAAA,CAAA,MAAA,CAAA,MAAA,CAAA,yCAAA,EAAA;IAAA,WAAA,EAAA,0BAAA;CAAA,CAAA,CAAA;AAEA,oGAAA,CAEA,MAAMC,yCAAI,GAAGf,yCAAb,AAAA;;AD5CA","sources":["packages/react/visually-hidden/src/index.ts","packages/react/visually-hidden/src/VisuallyHidden.tsx"],"sourcesContent":["export * from './VisuallyHidden';\n","import * as React from 'react';\nimport { Primitive } from '@radix-ui/react-primitive';\n\nimport type * as Radix from '@radix-ui/react-primitive';\n\n/* -------------------------------------------------------------------------------------------------\n * VisuallyHidden\n * -----------------------------------------------------------------------------------------------*/\n\nconst NAME = 'VisuallyHidden';\n\ntype VisuallyHiddenElement = React.ElementRef<typeof Primitive.span>;\ntype PrimitiveSpanProps = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;\ninterface VisuallyHiddenProps extends PrimitiveSpanProps {}\n\nconst VisuallyHidden = React.forwardRef<VisuallyHiddenElement, VisuallyHiddenProps>(\n (props, forwardedRef) => {\n return (\n <Primitive.span\n {...props}\n ref={forwardedRef}\n style={{\n // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss\n position: 'absolute',\n border: 0,\n width: 1,\n height: 1,\n padding: 0,\n margin: -1,\n overflow: 'hidden',\n clip: 'rect(0, 0, 0, 0)',\n whiteSpace: 'nowrap',\n wordWrap: 'normal',\n ...props.style,\n }}\n />\n );\n }\n);\n\nVisuallyHidden.displayName = NAME;\n\n/* -----------------------------------------------------------------------------------------------*/\n\nconst Root = VisuallyHidden;\n\nexport {\n VisuallyHidden,\n //\n Root,\n};\nexport type { VisuallyHiddenProps };\n"],"names":["React","Primitive","NAME","VisuallyHidden","forwardRef","props","forwardedRef","position","border","width","height","padding","margin","overflow","clip","whiteSpace","wordWrap","style","Root"],"version":3,"file":"index.js.map"}
1
+ {"mappings":";;;;;;;;;;;;;A;;;ACKA;;oGAEA,CAEA,MAAMI,0BAAI,GAAG,gBAAb,AAAA;AAMA,MAAMJ,yCAAc,GAAA,aAAGE,CAAAA,uBAAA,CACrB,CAACI,KAAD,EAAQC,YAAR,GAAyB;IACvB,OAAA,aACE,CAAA,0BAAA,CAAC,sCAAD,CAAW,IAAX,EAAA,2DAAA,CAAA,EAAA,EACMD,KADN,EADF;QAGI,GAAG,EAAEC,YAFP;QAGE,KAAK,EAAE;YACL,qFAAA;YACAC,QAAQ,EAAE,UAFL;YAGLC,MAAM,EAAE,CAHH;YAILC,KAAK,EAAE,CAJF;YAKLC,MAAM,EAAE,CALH;YAMLC,OAAO,EAAE,CANJ;YAOLC,MAAM,EAAE,EAPH;YAQLC,QAAQ,EAAE,QARL;YASLC,IAAI,EAAE,kBATD;YAULC,UAAU,EAAE,QAVP;YAWLC,QAAQ,EAAE,QAXL;YAYL,GAAGX,KAAK,CAACY,KAAT;SAZK;KAHT,CAAA,CADF,CACE;CAHiB,CAAvB,AAsBG;AAGH,aAAA,CAAA,MAAA,CAAA,MAAA,CAAA,yCAAA,EAAA;IAAA,WAAA,EAAA,0BAAA;CAAA,CAAA,CAAA;AAEA,oGAAA,CAEA,MAAMjB,yCAAI,GAAGD,yCAAb,AAAA;;AD5CA","sources":["packages/react/visually-hidden/src/index.ts","packages/react/visually-hidden/src/VisuallyHidden.tsx"],"sourcesContent":["export {\n VisuallyHidden,\n //\n Root,\n} from './VisuallyHidden';\nexport type { VisuallyHiddenProps } from './VisuallyHidden';\n","import * as React from 'react';\nimport { Primitive } from '@radix-ui/react-primitive';\n\nimport type * as Radix from '@radix-ui/react-primitive';\n\n/* -------------------------------------------------------------------------------------------------\n * VisuallyHidden\n * -----------------------------------------------------------------------------------------------*/\n\nconst NAME = 'VisuallyHidden';\n\ntype VisuallyHiddenElement = React.ElementRef<typeof Primitive.span>;\ntype PrimitiveSpanProps = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;\ninterface VisuallyHiddenProps extends PrimitiveSpanProps {}\n\nconst VisuallyHidden = React.forwardRef<VisuallyHiddenElement, VisuallyHiddenProps>(\n (props, forwardedRef) => {\n return (\n <Primitive.span\n {...props}\n ref={forwardedRef}\n style={{\n // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss\n position: 'absolute',\n border: 0,\n width: 1,\n height: 1,\n padding: 0,\n margin: -1,\n overflow: 'hidden',\n clip: 'rect(0, 0, 0, 0)',\n whiteSpace: 'nowrap',\n wordWrap: 'normal',\n ...props.style,\n }}\n />\n );\n }\n);\n\nVisuallyHidden.displayName = NAME;\n\n/* -----------------------------------------------------------------------------------------------*/\n\nconst Root = VisuallyHidden;\n\nexport {\n VisuallyHidden,\n //\n Root,\n};\nexport type { VisuallyHiddenProps };\n"],"names":["VisuallyHidden","Root","React","Primitive","NAME","forwardRef","props","forwardedRef","position","border","width","height","padding","margin","overflow","clip","whiteSpace","wordWrap","style"],"version":3,"file":"index.js.map"}
@@ -2,13 +2,6 @@ import $kVwnw$babelruntimehelpersesmextends from "@babel/runtime/helpers/esm/ext
2
2
  import {forwardRef as $kVwnw$forwardRef, createElement as $kVwnw$createElement} from "react";
3
3
  import {Primitive as $kVwnw$Primitive} from "@radix-ui/react-primitive";
4
4
 
5
- function $parcel$export(e, n, v, s) {
6
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
7
- }
8
- var $ea1ef594cf570d83$exports = {};
9
-
10
- $parcel$export($ea1ef594cf570d83$exports, "VisuallyHidden", () => $ea1ef594cf570d83$export$439d29a4e110a164);
11
- $parcel$export($ea1ef594cf570d83$exports, "Root", () => $ea1ef594cf570d83$export$be92b6f5f03c0fe9);
12
5
 
13
6
 
14
7
 
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;A;;;ACKA;;oGAEA,CAEA,MAAME,0BAAI,GAAG,gBAAb,AAAA;AAMA,MAAMC,yCAAc,GAAA,aAAGH,CAAAA,iBAAA,CACrB,CAACK,KAAD,EAAQC,YAAR,GAAyB;IACvB,OAAA,aACE,CAAA,oBAAA,CAAC,gBAAD,CAAW,IAAX,EAAA,oCAAA,CAAA,EAAA,EACMD,KADN,EADF;QAGI,GAAG,EAAEC,YAFP;QAGE,KAAK,EAAE;YACL,qFAAA;YACAC,QAAQ,EAAE,UAFL;YAGLC,MAAM,EAAE,CAHH;YAILC,KAAK,EAAE,CAJF;YAKLC,MAAM,EAAE,CALH;YAMLC,OAAO,EAAE,CANJ;YAOLC,MAAM,EAAE,EAPH;YAQLC,QAAQ,EAAE,QARL;YASLC,IAAI,EAAE,kBATD;YAULC,UAAU,EAAE,QAVP;YAWLC,QAAQ,EAAE,QAXL;YAYL,GAAGX,KAAK,CAACY,KAAT;SAZK;KAHT,CAAA,CADF,CACE;CAHiB,CAAvB,AAsBG;AAGH,aAAA,CAAA,MAAA,CAAA,MAAA,CAAA,yCAAA,EAAA;IAAA,WAAA,EAAA,0BAAA;CAAA,CAAA,CAAA;AAEA,oGAAA,CAEA,MAAMC,yCAAI,GAAGf,yCAAb,AAAA;;AD5CA","sources":["packages/react/visually-hidden/src/index.ts","packages/react/visually-hidden/src/VisuallyHidden.tsx"],"sourcesContent":["export * from './VisuallyHidden';\n","import * as React from 'react';\nimport { Primitive } from '@radix-ui/react-primitive';\n\nimport type * as Radix from '@radix-ui/react-primitive';\n\n/* -------------------------------------------------------------------------------------------------\n * VisuallyHidden\n * -----------------------------------------------------------------------------------------------*/\n\nconst NAME = 'VisuallyHidden';\n\ntype VisuallyHiddenElement = React.ElementRef<typeof Primitive.span>;\ntype PrimitiveSpanProps = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;\ninterface VisuallyHiddenProps extends PrimitiveSpanProps {}\n\nconst VisuallyHidden = React.forwardRef<VisuallyHiddenElement, VisuallyHiddenProps>(\n (props, forwardedRef) => {\n return (\n <Primitive.span\n {...props}\n ref={forwardedRef}\n style={{\n // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss\n position: 'absolute',\n border: 0,\n width: 1,\n height: 1,\n padding: 0,\n margin: -1,\n overflow: 'hidden',\n clip: 'rect(0, 0, 0, 0)',\n whiteSpace: 'nowrap',\n wordWrap: 'normal',\n ...props.style,\n }}\n />\n );\n }\n);\n\nVisuallyHidden.displayName = NAME;\n\n/* -----------------------------------------------------------------------------------------------*/\n\nconst Root = VisuallyHidden;\n\nexport {\n VisuallyHidden,\n //\n Root,\n};\nexport type { VisuallyHiddenProps };\n"],"names":["React","Primitive","NAME","VisuallyHidden","forwardRef","props","forwardedRef","position","border","width","height","padding","margin","overflow","clip","whiteSpace","wordWrap","style","Root"],"version":3,"file":"index.module.js.map"}
1
+ {"mappings":";;;;A;;;ACKA;;oGAEA,CAEA,MAAMI,0BAAI,GAAG,gBAAb,AAAA;AAMA,MAAMJ,yCAAc,GAAA,aAAGE,CAAAA,iBAAA,CACrB,CAACI,KAAD,EAAQC,YAAR,GAAyB;IACvB,OAAA,aACE,CAAA,oBAAA,CAAC,gBAAD,CAAW,IAAX,EAAA,oCAAA,CAAA,EAAA,EACMD,KADN,EADF;QAGI,GAAG,EAAEC,YAFP;QAGE,KAAK,EAAE;YACL,qFAAA;YACAC,QAAQ,EAAE,UAFL;YAGLC,MAAM,EAAE,CAHH;YAILC,KAAK,EAAE,CAJF;YAKLC,MAAM,EAAE,CALH;YAMLC,OAAO,EAAE,CANJ;YAOLC,MAAM,EAAE,EAPH;YAQLC,QAAQ,EAAE,QARL;YASLC,IAAI,EAAE,kBATD;YAULC,UAAU,EAAE,QAVP;YAWLC,QAAQ,EAAE,QAXL;YAYL,GAAGX,KAAK,CAACY,KAAT;SAZK;KAHT,CAAA,CADF,CACE;CAHiB,CAAvB,AAsBG;AAGH,aAAA,CAAA,MAAA,CAAA,MAAA,CAAA,yCAAA,EAAA;IAAA,WAAA,EAAA,0BAAA;CAAA,CAAA,CAAA;AAEA,oGAAA,CAEA,MAAMjB,yCAAI,GAAGD,yCAAb,AAAA;;AD5CA","sources":["packages/react/visually-hidden/src/index.ts","packages/react/visually-hidden/src/VisuallyHidden.tsx"],"sourcesContent":["export {\n VisuallyHidden,\n //\n Root,\n} from './VisuallyHidden';\nexport type { VisuallyHiddenProps } from './VisuallyHidden';\n","import * as React from 'react';\nimport { Primitive } from '@radix-ui/react-primitive';\n\nimport type * as Radix from '@radix-ui/react-primitive';\n\n/* -------------------------------------------------------------------------------------------------\n * VisuallyHidden\n * -----------------------------------------------------------------------------------------------*/\n\nconst NAME = 'VisuallyHidden';\n\ntype VisuallyHiddenElement = React.ElementRef<typeof Primitive.span>;\ntype PrimitiveSpanProps = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;\ninterface VisuallyHiddenProps extends PrimitiveSpanProps {}\n\nconst VisuallyHidden = React.forwardRef<VisuallyHiddenElement, VisuallyHiddenProps>(\n (props, forwardedRef) => {\n return (\n <Primitive.span\n {...props}\n ref={forwardedRef}\n style={{\n // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss\n position: 'absolute',\n border: 0,\n width: 1,\n height: 1,\n padding: 0,\n margin: -1,\n overflow: 'hidden',\n clip: 'rect(0, 0, 0, 0)',\n whiteSpace: 'nowrap',\n wordWrap: 'normal',\n ...props.style,\n }}\n />\n );\n }\n);\n\nVisuallyHidden.displayName = NAME;\n\n/* -----------------------------------------------------------------------------------------------*/\n\nconst Root = VisuallyHidden;\n\nexport {\n VisuallyHidden,\n //\n Root,\n};\nexport type { VisuallyHiddenProps };\n"],"names":["VisuallyHidden","Root","React","Primitive","NAME","forwardRef","props","forwardedRef","position","border","width","height","padding","margin","overflow","clip","whiteSpace","wordWrap","style"],"version":3,"file":"index.module.js.map"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radix-ui/react-visually-hidden",
3
- "version": "0.1.5-rc.39",
3
+ "version": "0.1.5-rc.41",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@babel/runtime": "^7.13.10",
20
- "@radix-ui/react-primitive": "0.1.5-rc.39"
20
+ "@radix-ui/react-primitive": "0.1.5-rc.41"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "react": "^16.8 || ^17.0 || ^18.0",