@react-aria/aria-modal-polyfill 3.4.1-nightly.3085 → 3.4.1-nightly.3100

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/main.js CHANGED
@@ -1,13 +1,13 @@
1
- var $4eN4G$ariahidden = require("aria-hidden");
1
+ var $1AccS$ariahidden = require("aria-hidden");
2
2
 
3
3
  function $parcel$export(e, n, v, s) {
4
4
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
5
5
  }
6
6
 
7
- $parcel$export(module.exports, "watchModals", () => $df22a614184188da$export$11dddb85aae73809);
7
+ $parcel$export(module.exports, "watchModals", () => $c5c1748f6c3f5c15$export$11dddb85aae73809);
8
8
 
9
- const $df22a614184188da$var$currentDocument = typeof document !== 'undefined' ? document : undefined;
10
- function $df22a614184188da$export$11dddb85aae73809(selector = 'body', { document: document = $df22a614184188da$var$currentDocument } = {
9
+ const $c5c1748f6c3f5c15$var$currentDocument = typeof document !== 'undefined' ? document : undefined;
10
+ function $c5c1748f6c3f5c15$export$11dddb85aae73809(selector = 'body', { document: document = $c5c1748f6c3f5c15$var$currentDocument } = {
11
11
  }) {
12
12
  /**
13
13
  * Listen for additions to the child list of the selected element (defaults to body). This is where providers render modal portals.
@@ -31,7 +31,7 @@ function $df22a614184188da$export$11dddb85aae73809(selector = 'body', { document
31
31
  modalContainers.push(addNode);
32
32
  let modal = addNode.querySelector('[aria-modal="true"], [data-ismodal="true"]');
33
33
  undo?.();
34
- undo = $4eN4G$ariahidden.hideOthers(modal);
34
+ undo = $1AccS$ariahidden.hideOthers(modal);
35
35
  }
36
36
  } else if (mutation.type === 'childList' && mutation.removedNodes.length > 0) {
37
37
  let removedNodes = Array.from(mutation.removedNodes);
@@ -43,7 +43,7 @@ function $df22a614184188da$export$11dddb85aae73809(selector = 'body', { document
43
43
  );
44
44
  if (modalContainers.length > 0) {
45
45
  let modal = modalContainers[modalContainers.length - 1].querySelector('[aria-modal="true"], [data-ismodal="true"]');
46
- undo = $4eN4G$ariahidden.hideOthers(modal);
46
+ undo = $1AccS$ariahidden.hideOthers(modal);
47
47
  } else undo = undefined;
48
48
  }
49
49
  }
package/dist/module.js CHANGED
@@ -1,8 +1,8 @@
1
- import {hideOthers as $3k9S9$hideOthers} from "aria-hidden";
1
+ import {hideOthers as $d58a0$hideOthers} from "aria-hidden";
2
2
 
3
3
 
4
- const $6b73df5362e9871d$var$currentDocument = typeof document !== 'undefined' ? document : undefined;
5
- function $6b73df5362e9871d$export$11dddb85aae73809(selector = 'body', { document: document = $6b73df5362e9871d$var$currentDocument } = {
4
+ const $76a930dff3f273b3$var$currentDocument = typeof document !== 'undefined' ? document : undefined;
5
+ function $76a930dff3f273b3$export$11dddb85aae73809(selector = 'body', { document: document = $76a930dff3f273b3$var$currentDocument } = {
6
6
  }) {
7
7
  /**
8
8
  * Listen for additions to the child list of the selected element (defaults to body). This is where providers render modal portals.
@@ -26,7 +26,7 @@ function $6b73df5362e9871d$export$11dddb85aae73809(selector = 'body', { document
26
26
  modalContainers.push(addNode);
27
27
  let modal = addNode.querySelector('[aria-modal="true"], [data-ismodal="true"]');
28
28
  undo?.();
29
- undo = $3k9S9$hideOthers(modal);
29
+ undo = $d58a0$hideOthers(modal);
30
30
  }
31
31
  } else if (mutation.type === 'childList' && mutation.removedNodes.length > 0) {
32
32
  let removedNodes = Array.from(mutation.removedNodes);
@@ -38,7 +38,7 @@ function $6b73df5362e9871d$export$11dddb85aae73809(selector = 'body', { document
38
38
  );
39
39
  if (modalContainers.length > 0) {
40
40
  let modal = modalContainers[modalContainers.length - 1].querySelector('[aria-modal="true"], [data-ismodal="true"]');
41
- undo = $3k9S9$hideOthers(modal);
41
+ undo = $d58a0$hideOthers(modal);
42
42
  } else undo = undefined;
43
43
  }
44
44
  }
@@ -52,5 +52,5 @@ function $6b73df5362e9871d$export$11dddb85aae73809(selector = 'body', { document
52
52
  }
53
53
 
54
54
 
55
- export {$6b73df5362e9871d$export$11dddb85aae73809 as watchModals};
55
+ export {$76a930dff3f273b3$export$11dddb85aae73809 as watchModals};
56
56
  //# sourceMappingURL=module.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-aria/aria-modal-polyfill",
3
- "version": "3.4.1-nightly.3085+dfe72ee07",
3
+ "version": "3.4.1-nightly.3100+da2aa7467",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@babel/runtime": "^7.6.2",
21
- "@react-types/shared": "3.0.0-nightly.1394+dfe72ee07",
21
+ "@react-types/shared": "3.0.0-nightly.1409+da2aa7467",
22
22
  "aria-hidden": "^1.1.1"
23
23
  },
24
24
  "peerDependencies": {
@@ -27,5 +27,5 @@
27
27
  "publishConfig": {
28
28
  "access": "public"
29
29
  },
30
- "gitHead": "dfe72ee076f7ca27728d0b6b4c1ef86e11191ece"
30
+ "gitHead": "da2aa74670fbd93335ff01401ca53826b3602777"
31
31
  }