@radix-ui/react-visually-hidden 1.0.3 → 1.1.0-rc.2

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.
package/dist/index.d.mts CHANGED
@@ -1,10 +1,11 @@
1
- import * as React from "react";
2
- import * as Radix from "@radix-ui/react-primitive";
3
- import { Primitive } from "@radix-ui/react-primitive";
4
- type PrimitiveSpanProps = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;
5
- export interface VisuallyHiddenProps extends PrimitiveSpanProps {
1
+ import * as React from 'react';
2
+ import * as Radix from '@radix-ui/react-primitive';
3
+ import { Primitive } from '@radix-ui/react-primitive';
4
+
5
+ declare type PrimitiveSpanProps = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;
6
+ interface VisuallyHiddenProps extends PrimitiveSpanProps {
6
7
  }
7
- export const VisuallyHidden: React.ForwardRefExoticComponent<VisuallyHiddenProps & React.RefAttributes<HTMLSpanElement>>;
8
- export const Root: React.ForwardRefExoticComponent<VisuallyHiddenProps & React.RefAttributes<HTMLSpanElement>>;
8
+ declare const VisuallyHidden: React.ForwardRefExoticComponent<VisuallyHiddenProps & React.RefAttributes<HTMLSpanElement>>;
9
+ declare const Root: React.ForwardRefExoticComponent<VisuallyHiddenProps & React.RefAttributes<HTMLSpanElement>>;
9
10
 
10
- //# sourceMappingURL=index.d.ts.map
11
+ export { Root, VisuallyHidden, type VisuallyHiddenProps };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,11 @@
1
- import * as React from "react";
2
- import * as Radix from "@radix-ui/react-primitive";
3
- import { Primitive } from "@radix-ui/react-primitive";
4
- type PrimitiveSpanProps = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;
5
- export interface VisuallyHiddenProps extends PrimitiveSpanProps {
1
+ import * as React from 'react';
2
+ import * as Radix from '@radix-ui/react-primitive';
3
+ import { Primitive } from '@radix-ui/react-primitive';
4
+
5
+ declare type PrimitiveSpanProps = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;
6
+ interface VisuallyHiddenProps extends PrimitiveSpanProps {
6
7
  }
7
- export const VisuallyHidden: React.ForwardRefExoticComponent<VisuallyHiddenProps & React.RefAttributes<HTMLSpanElement>>;
8
- export const Root: React.ForwardRefExoticComponent<VisuallyHiddenProps & React.RefAttributes<HTMLSpanElement>>;
8
+ declare const VisuallyHidden: React.ForwardRefExoticComponent<VisuallyHiddenProps & React.RefAttributes<HTMLSpanElement>>;
9
+ declare const Root: React.ForwardRefExoticComponent<VisuallyHiddenProps & React.RefAttributes<HTMLSpanElement>>;
9
10
 
10
- //# sourceMappingURL=index.d.ts.map
11
+ export { Root, VisuallyHidden, type VisuallyHiddenProps };
package/dist/index.js CHANGED
@@ -1,47 +1,65 @@
1
- var $awrN2$babelruntimehelpersextends = require("@babel/runtime/helpers/extends");
2
- var $awrN2$react = require("react");
3
- var $awrN2$radixuireactprimitive = require("@radix-ui/react-primitive");
1
+ "use strict";
2
+ (() => {
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
10
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
11
+ }) : x)(function(x) {
12
+ if (typeof require !== "undefined") return require.apply(this, arguments);
13
+ throw Error('Dynamic require of "' + x + '" is not supported');
14
+ });
15
+ var __copyProps = (to, from, except, desc) => {
16
+ if (from && typeof from === "object" || typeof from === "function") {
17
+ for (let key of __getOwnPropNames(from))
18
+ if (!__hasOwnProp.call(to, key) && key !== except)
19
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
20
+ }
21
+ return to;
22
+ };
23
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
24
+ // If the importer is in node compatibility mode or this is not an ESM
25
+ // file that has been converted to a CommonJS file using a Babel-
26
+ // compatible transform (i.e. "__esModule" has not been set), then set
27
+ // "default" to the CommonJS "module.exports" for node compatibility.
28
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
29
+ mod
30
+ ));
4
31
 
5
- function $parcel$export(e, n, v, s) {
6
- Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
7
- }
8
- function $parcel$interopDefault(a) {
9
- return a && a.__esModule ? a.default : a;
10
- }
11
-
12
- $parcel$export(module.exports, "VisuallyHidden", () => $685371e9c20848e2$export$439d29a4e110a164);
13
- $parcel$export(module.exports, "Root", () => $685371e9c20848e2$export$be92b6f5f03c0fe9);
14
-
15
-
16
-
17
- /* -------------------------------------------------------------------------------------------------
18
- * VisuallyHidden
19
- * -----------------------------------------------------------------------------------------------*/ const $685371e9c20848e2$var$NAME = 'VisuallyHidden';
20
- const $685371e9c20848e2$export$439d29a4e110a164 = /*#__PURE__*/ $awrN2$react.forwardRef((props, forwardedRef)=>{
21
- return /*#__PURE__*/ $awrN2$react.createElement($awrN2$radixuireactprimitive.Primitive.span, ($parcel$interopDefault($awrN2$babelruntimehelpersextends))({}, props, {
22
- ref: forwardedRef,
23
- style: {
32
+ // packages/react/visually-hidden/src/VisuallyHidden.tsx
33
+ var React = __toESM(__require("react"));
34
+ var import_react_primitive = __require("@radix-ui/react-primitive");
35
+ var import_jsx_runtime = __require("react/jsx-runtime");
36
+ var NAME = "VisuallyHidden";
37
+ var VisuallyHidden = React.forwardRef(
38
+ (props, forwardedRef) => {
39
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
40
+ import_react_primitive.Primitive.span,
41
+ {
42
+ ...props,
43
+ ref: forwardedRef,
44
+ style: {
24
45
  // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
25
- position: 'absolute',
46
+ position: "absolute",
26
47
  border: 0,
27
48
  width: 1,
28
49
  height: 1,
29
50
  padding: 0,
30
51
  margin: -1,
31
- overflow: 'hidden',
32
- clip: 'rect(0, 0, 0, 0)',
33
- whiteSpace: 'nowrap',
34
- wordWrap: 'normal',
52
+ overflow: "hidden",
53
+ clip: "rect(0, 0, 0, 0)",
54
+ whiteSpace: "nowrap",
55
+ wordWrap: "normal",
35
56
  ...props.style
57
+ }
36
58
  }
37
- }));
38
- });
39
- /*#__PURE__*/ Object.assign($685371e9c20848e2$export$439d29a4e110a164, {
40
- displayName: $685371e9c20848e2$var$NAME
41
- });
42
- /* -----------------------------------------------------------------------------------------------*/ const $685371e9c20848e2$export$be92b6f5f03c0fe9 = $685371e9c20848e2$export$439d29a4e110a164;
43
-
44
-
45
-
46
-
59
+ );
60
+ }
61
+ );
62
+ VisuallyHidden.displayName = NAME;
63
+ var Root = VisuallyHidden;
64
+ })();
47
65
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1,7 @@
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"}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/VisuallyHidden.tsx"],
4
+ "sourcesContent": ["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"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,cAAuB;AACvB,+BAA0B;AAiBpB;AATN,MAAM,OAAO;AAMb,MAAM,iBAAuB;AAAA,IAC3B,CAAC,OAAO,iBAAiB;AACvB,aACE;AAAA,QAAC,iCAAU;AAAA,QAAV;AAAA,UACE,GAAG;AAAA,UACJ,KAAK;AAAA,UACL,OAAO;AAAA;AAAA,YAEL,UAAU;AAAA,YACV,QAAQ;AAAA,YACR,OAAO;AAAA,YACP,QAAQ;AAAA,YACR,SAAS;AAAA,YACT,QAAQ;AAAA,YACR,UAAU;AAAA,YACV,MAAM;AAAA,YACN,YAAY;AAAA,YACZ,UAAU;AAAA,YACV,GAAG,MAAM;AAAA,UACX;AAAA;AAAA,MACF;AAAA,IAEJ;AAAA,EACF;AAEA,iBAAe,cAAc;AAI7B,MAAM,OAAO;",
6
+ "names": []
7
+ }
package/dist/index.mjs CHANGED
@@ -1,39 +1,37 @@
1
- import $kVwnw$babelruntimehelpersesmextends from "@babel/runtime/helpers/esm/extends";
2
- import {forwardRef as $kVwnw$forwardRef, createElement as $kVwnw$createElement} from "react";
3
- import {Primitive as $kVwnw$Primitive} from "@radix-ui/react-primitive";
4
-
5
-
6
-
7
-
8
- /* -------------------------------------------------------------------------------------------------
9
- * VisuallyHidden
10
- * -----------------------------------------------------------------------------------------------*/ const $ea1ef594cf570d83$var$NAME = 'VisuallyHidden';
11
- const $ea1ef594cf570d83$export$439d29a4e110a164 = /*#__PURE__*/ $kVwnw$forwardRef((props, forwardedRef)=>{
12
- return /*#__PURE__*/ $kVwnw$createElement($kVwnw$Primitive.span, $kVwnw$babelruntimehelpersesmextends({}, props, {
1
+ // packages/react/visually-hidden/src/VisuallyHidden.tsx
2
+ import * as React from "react";
3
+ import { Primitive } from "@radix-ui/react-primitive";
4
+ import { jsx } from "react/jsx-runtime";
5
+ var NAME = "VisuallyHidden";
6
+ var VisuallyHidden = React.forwardRef(
7
+ (props, forwardedRef) => {
8
+ return /* @__PURE__ */ jsx(
9
+ Primitive.span,
10
+ {
11
+ ...props,
13
12
  ref: forwardedRef,
14
13
  style: {
15
- // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
16
- position: 'absolute',
17
- border: 0,
18
- width: 1,
19
- height: 1,
20
- padding: 0,
21
- margin: -1,
22
- overflow: 'hidden',
23
- clip: 'rect(0, 0, 0, 0)',
24
- whiteSpace: 'nowrap',
25
- wordWrap: 'normal',
26
- ...props.style
14
+ // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
15
+ position: "absolute",
16
+ border: 0,
17
+ width: 1,
18
+ height: 1,
19
+ padding: 0,
20
+ margin: -1,
21
+ overflow: "hidden",
22
+ clip: "rect(0, 0, 0, 0)",
23
+ whiteSpace: "nowrap",
24
+ wordWrap: "normal",
25
+ ...props.style
27
26
  }
28
- }));
29
- });
30
- /*#__PURE__*/ Object.assign($ea1ef594cf570d83$export$439d29a4e110a164, {
31
- displayName: $ea1ef594cf570d83$var$NAME
32
- });
33
- /* -----------------------------------------------------------------------------------------------*/ const $ea1ef594cf570d83$export$be92b6f5f03c0fe9 = $ea1ef594cf570d83$export$439d29a4e110a164;
34
-
35
-
36
-
37
-
38
- export {$ea1ef594cf570d83$export$439d29a4e110a164 as VisuallyHidden, $ea1ef594cf570d83$export$be92b6f5f03c0fe9 as Root};
27
+ }
28
+ );
29
+ }
30
+ );
31
+ VisuallyHidden.displayName = NAME;
32
+ var Root = VisuallyHidden;
33
+ export {
34
+ Root,
35
+ VisuallyHidden
36
+ };
39
37
  //# sourceMappingURL=index.mjs.map
@@ -1 +1,7 @@
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.mjs.map"}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/VisuallyHidden.tsx"],
4
+ "sourcesContent": ["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"],
5
+ "mappings": ";AAAA,YAAY,WAAW;AACvB,SAAS,iBAAiB;AAiBpB;AATN,IAAM,OAAO;AAMb,IAAM,iBAAuB;AAAA,EAC3B,CAAC,OAAO,iBAAiB;AACvB,WACE;AAAA,MAAC,UAAU;AAAA,MAAV;AAAA,QACE,GAAG;AAAA,QACJ,KAAK;AAAA,QACL,OAAO;AAAA;AAAA,UAEL,UAAU;AAAA,UACV,QAAQ;AAAA,UACR,OAAO;AAAA,UACP,QAAQ;AAAA,UACR,SAAS;AAAA,UACT,QAAQ;AAAA,UACR,UAAU;AAAA,UACV,MAAM;AAAA,UACN,YAAY;AAAA,UACZ,UAAU;AAAA,UACV,GAAG,MAAM;AAAA,QACX;AAAA;AAAA,IACF;AAAA,EAEJ;AACF;AAEA,eAAe,cAAc;AAI7B,IAAM,OAAO;",
6
+ "names": []
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radix-ui/react-visually-hidden",
3
- "version": "1.0.3",
3
+ "version": "1.1.0-rc.2",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": {
@@ -28,8 +28,7 @@
28
28
  "version": "yarn version"
29
29
  },
30
30
  "dependencies": {
31
- "@babel/runtime": "^7.13.10",
32
- "@radix-ui/react-primitive": "1.0.3"
31
+ "@radix-ui/react-primitive": "1.1.0-rc.2"
33
32
  },
34
33
  "peerDependencies": {
35
34
  "@types/react": "*",
@@ -52,5 +51,6 @@
52
51
  },
53
52
  "bugs": {
54
53
  "url": "https://github.com/radix-ui/primitives/issues"
55
- }
54
+ },
55
+ "stableVersion": "1.0.3"
56
56
  }
@@ -1 +0,0 @@
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"}