@react-aria/visually-hidden 3.8.11 → 3.8.12

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.
@@ -28,15 +28,15 @@ $parcel$export(module.exports, "VisuallyHidden", () => $b5c81b25cdf7a43c$export$
28
28
 
29
29
  const $b5c81b25cdf7a43c$var$styles = {
30
30
  border: 0,
31
- clip: "rect(0 0 0 0)",
32
- clipPath: "inset(50%)",
33
- height: "1px",
34
- margin: "-1px",
35
- overflow: "hidden",
31
+ clip: 'rect(0 0 0 0)',
32
+ clipPath: 'inset(50%)',
33
+ height: '1px',
34
+ margin: '-1px',
35
+ overflow: 'hidden',
36
36
  padding: 0,
37
- position: "absolute",
38
- width: "1px",
39
- whiteSpace: "nowrap"
37
+ position: 'absolute',
38
+ width: '1px',
39
+ whiteSpace: 'nowrap'
40
40
  };
41
41
  function $b5c81b25cdf7a43c$export$a966af930f325cab(props = {}) {
42
42
  let { style: style, isFocusable: isFocusable } = props;
@@ -66,7 +66,7 @@ function $b5c81b25cdf7a43c$export$a966af930f325cab(props = {}) {
66
66
  }
67
67
  function $b5c81b25cdf7a43c$export$439d29a4e110a164(props) {
68
68
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
69
- let { children: children, elementType: Element = "div", isFocusable: isFocusable, style: style, ...otherProps } = props;
69
+ let { children: children, elementType: Element = 'div', isFocusable: isFocusable, style: style, ...otherProps } = props;
70
70
  let { visuallyHiddenProps: visuallyHiddenProps } = $b5c81b25cdf7a43c$export$a966af930f325cab(props);
71
71
  return /*#__PURE__*/ (0, ($parcel$interopDefault($2ohTN$react))).createElement(Element, (0, $2ohTN$reactariautils.mergeProps)(otherProps, visuallyHiddenProps), children);
72
72
  }
@@ -17,15 +17,15 @@ import {useFocusWithin as $7JYt2$useFocusWithin} from "@react-aria/interactions"
17
17
 
18
18
  const $5c3e21d68f1c4674$var$styles = {
19
19
  border: 0,
20
- clip: "rect(0 0 0 0)",
21
- clipPath: "inset(50%)",
22
- height: "1px",
23
- margin: "-1px",
24
- overflow: "hidden",
20
+ clip: 'rect(0 0 0 0)',
21
+ clipPath: 'inset(50%)',
22
+ height: '1px',
23
+ margin: '-1px',
24
+ overflow: 'hidden',
25
25
  padding: 0,
26
- position: "absolute",
27
- width: "1px",
28
- whiteSpace: "nowrap"
26
+ position: 'absolute',
27
+ width: '1px',
28
+ whiteSpace: 'nowrap'
29
29
  };
30
30
  function $5c3e21d68f1c4674$export$a966af930f325cab(props = {}) {
31
31
  let { style: style, isFocusable: isFocusable } = props;
@@ -55,11 +55,11 @@ function $5c3e21d68f1c4674$export$a966af930f325cab(props = {}) {
55
55
  }
56
56
  function $5c3e21d68f1c4674$export$439d29a4e110a164(props) {
57
57
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
58
- let { children: children, elementType: Element = "div", isFocusable: isFocusable, style: style, ...otherProps } = props;
58
+ let { children: children, elementType: Element = 'div', isFocusable: isFocusable, style: style, ...otherProps } = props;
59
59
  let { visuallyHiddenProps: visuallyHiddenProps } = $5c3e21d68f1c4674$export$a966af930f325cab(props);
60
60
  return /*#__PURE__*/ (0, $7JYt2$react).createElement(Element, (0, $7JYt2$mergeProps)(otherProps, visuallyHiddenProps), children);
61
61
  }
62
62
 
63
63
 
64
64
  export {$5c3e21d68f1c4674$export$a966af930f325cab as useVisuallyHidden, $5c3e21d68f1c4674$export$439d29a4e110a164 as VisuallyHidden};
65
- //# sourceMappingURL=VisuallyHidden.mjs.map
65
+ //# sourceMappingURL=VisuallyHidden.module.js.map
@@ -17,15 +17,15 @@ import {useFocusWithin as $7JYt2$useFocusWithin} from "@react-aria/interactions"
17
17
 
18
18
  const $5c3e21d68f1c4674$var$styles = {
19
19
  border: 0,
20
- clip: "rect(0 0 0 0)",
21
- clipPath: "inset(50%)",
22
- height: "1px",
23
- margin: "-1px",
24
- overflow: "hidden",
20
+ clip: 'rect(0 0 0 0)',
21
+ clipPath: 'inset(50%)',
22
+ height: '1px',
23
+ margin: '-1px',
24
+ overflow: 'hidden',
25
25
  padding: 0,
26
- position: "absolute",
27
- width: "1px",
28
- whiteSpace: "nowrap"
26
+ position: 'absolute',
27
+ width: '1px',
28
+ whiteSpace: 'nowrap'
29
29
  };
30
30
  function $5c3e21d68f1c4674$export$a966af930f325cab(props = {}) {
31
31
  let { style: style, isFocusable: isFocusable } = props;
@@ -55,7 +55,7 @@ function $5c3e21d68f1c4674$export$a966af930f325cab(props = {}) {
55
55
  }
56
56
  function $5c3e21d68f1c4674$export$439d29a4e110a164(props) {
57
57
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
58
- let { children: children, elementType: Element = "div", isFocusable: isFocusable, style: style, ...otherProps } = props;
58
+ let { children: children, elementType: Element = 'div', isFocusable: isFocusable, style: style, ...otherProps } = props;
59
59
  let { visuallyHiddenProps: visuallyHiddenProps } = $5c3e21d68f1c4674$export$a966af930f325cab(props);
60
60
  return /*#__PURE__*/ (0, $7JYt2$react).createElement(Element, (0, $7JYt2$mergeProps)(otherProps, visuallyHiddenProps), children);
61
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-aria/visually-hidden",
3
- "version": "3.8.11",
3
+ "version": "3.8.12",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -24,9 +24,9 @@
24
24
  "url": "https://github.com/adobe/react-spectrum"
25
25
  },
26
26
  "dependencies": {
27
- "@react-aria/interactions": "^3.21.2",
28
- "@react-aria/utils": "^3.24.0",
29
- "@react-types/shared": "^3.23.0",
27
+ "@react-aria/interactions": "^3.21.3",
28
+ "@react-aria/utils": "^3.24.1",
29
+ "@react-types/shared": "^3.23.1",
30
30
  "@swc/helpers": "^0.5.0"
31
31
  },
32
32
  "peerDependencies": {
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "f645f29edc1322153fd60af4640cbcab1d992dbd"
38
+ "gitHead": "b77d7d594dff4dcfb5359bffbcfd18142b146433"
39
39
  }