@depup/react-aria__overlays 3.31.2-depup.0 → 3.32.1-depup.36
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/README.md +5 -4
- package/changes.json +7 -3
- package/dist/import.mjs +12 -12
- package/dist/main.js +28 -28
- package/dist/main.js.map +1 -1
- package/dist/module.js +12 -12
- package/dist/module.js.map +1 -1
- package/dist/types/src/index.d.ts +19 -0
- package/package.json +33 -32
- package/src/index.ts +39 -22
- package/dist/DismissButton.main.js +0 -51
- package/dist/DismissButton.main.js.map +0 -1
- package/dist/DismissButton.mjs +0 -46
- package/dist/DismissButton.module.js +0 -46
- package/dist/DismissButton.module.js.map +0 -1
- package/dist/Overlay.main.js +0 -73
- package/dist/Overlay.main.js.map +0 -1
- package/dist/Overlay.mjs +0 -63
- package/dist/Overlay.module.js +0 -63
- package/dist/Overlay.module.js.map +0 -1
- package/dist/PortalProvider.main.js +0 -41
- package/dist/PortalProvider.main.js.map +0 -1
- package/dist/PortalProvider.mjs +0 -31
- package/dist/PortalProvider.module.js +0 -31
- package/dist/PortalProvider.module.js.map +0 -1
- package/dist/ar-AE.main.js +0 -6
- package/dist/ar-AE.main.js.map +0 -1
- package/dist/ar-AE.mjs +0 -8
- package/dist/ar-AE.module.js +0 -8
- package/dist/ar-AE.module.js.map +0 -1
- package/dist/ariaHideOutside.main.js +0 -203
- package/dist/ariaHideOutside.main.js.map +0 -1
- package/dist/ariaHideOutside.mjs +0 -197
- package/dist/ariaHideOutside.module.js +0 -197
- package/dist/ariaHideOutside.module.js.map +0 -1
- package/dist/bg-BG.main.js +0 -6
- package/dist/bg-BG.main.js.map +0 -1
- package/dist/bg-BG.mjs +0 -8
- package/dist/bg-BG.module.js +0 -8
- package/dist/bg-BG.module.js.map +0 -1
- package/dist/calculatePosition.main.js +0 -438
- package/dist/calculatePosition.main.js.map +0 -1
- package/dist/calculatePosition.mjs +0 -432
- package/dist/calculatePosition.module.js +0 -432
- package/dist/calculatePosition.module.js.map +0 -1
- package/dist/cs-CZ.main.js +0 -6
- package/dist/cs-CZ.main.js.map +0 -1
- package/dist/cs-CZ.mjs +0 -8
- package/dist/cs-CZ.module.js +0 -8
- package/dist/cs-CZ.module.js.map +0 -1
- package/dist/da-DK.main.js +0 -6
- package/dist/da-DK.main.js.map +0 -1
- package/dist/da-DK.mjs +0 -8
- package/dist/da-DK.module.js +0 -8
- package/dist/da-DK.module.js.map +0 -1
- package/dist/de-DE.main.js +0 -6
- package/dist/de-DE.main.js.map +0 -1
- package/dist/de-DE.mjs +0 -8
- package/dist/de-DE.module.js +0 -8
- package/dist/de-DE.module.js.map +0 -1
- package/dist/el-GR.main.js +0 -6
- package/dist/el-GR.main.js.map +0 -1
- package/dist/el-GR.mjs +0 -8
- package/dist/el-GR.module.js +0 -8
- package/dist/el-GR.module.js.map +0 -1
- package/dist/en-US.main.js +0 -6
- package/dist/en-US.main.js.map +0 -1
- package/dist/en-US.mjs +0 -8
- package/dist/en-US.module.js +0 -8
- package/dist/en-US.module.js.map +0 -1
- package/dist/es-ES.main.js +0 -6
- package/dist/es-ES.main.js.map +0 -1
- package/dist/es-ES.mjs +0 -8
- package/dist/es-ES.module.js +0 -8
- package/dist/es-ES.module.js.map +0 -1
- package/dist/et-EE.main.js +0 -6
- package/dist/et-EE.main.js.map +0 -1
- package/dist/et-EE.mjs +0 -8
- package/dist/et-EE.module.js +0 -8
- package/dist/et-EE.module.js.map +0 -1
- package/dist/fi-FI.main.js +0 -6
- package/dist/fi-FI.main.js.map +0 -1
- package/dist/fi-FI.mjs +0 -8
- package/dist/fi-FI.module.js +0 -8
- package/dist/fi-FI.module.js.map +0 -1
- package/dist/fr-FR.main.js +0 -6
- package/dist/fr-FR.main.js.map +0 -1
- package/dist/fr-FR.mjs +0 -8
- package/dist/fr-FR.module.js +0 -8
- package/dist/fr-FR.module.js.map +0 -1
- package/dist/he-IL.main.js +0 -6
- package/dist/he-IL.main.js.map +0 -1
- package/dist/he-IL.mjs +0 -8
- package/dist/he-IL.module.js +0 -8
- package/dist/he-IL.module.js.map +0 -1
- package/dist/hr-HR.main.js +0 -6
- package/dist/hr-HR.main.js.map +0 -1
- package/dist/hr-HR.mjs +0 -8
- package/dist/hr-HR.module.js +0 -8
- package/dist/hr-HR.module.js.map +0 -1
- package/dist/hu-HU.main.js +0 -6
- package/dist/hu-HU.main.js.map +0 -1
- package/dist/hu-HU.mjs +0 -8
- package/dist/hu-HU.module.js +0 -8
- package/dist/hu-HU.module.js.map +0 -1
- package/dist/intlStrings.main.js +0 -108
- package/dist/intlStrings.main.js.map +0 -1
- package/dist/intlStrings.mjs +0 -110
- package/dist/intlStrings.module.js +0 -110
- package/dist/intlStrings.module.js.map +0 -1
- package/dist/it-IT.main.js +0 -6
- package/dist/it-IT.main.js.map +0 -1
- package/dist/it-IT.mjs +0 -8
- package/dist/it-IT.module.js +0 -8
- package/dist/it-IT.module.js.map +0 -1
- package/dist/ja-JP.main.js +0 -6
- package/dist/ja-JP.main.js.map +0 -1
- package/dist/ja-JP.mjs +0 -8
- package/dist/ja-JP.module.js +0 -8
- package/dist/ja-JP.module.js.map +0 -1
- package/dist/ko-KR.main.js +0 -6
- package/dist/ko-KR.main.js.map +0 -1
- package/dist/ko-KR.mjs +0 -8
- package/dist/ko-KR.module.js +0 -8
- package/dist/ko-KR.module.js.map +0 -1
- package/dist/lt-LT.main.js +0 -6
- package/dist/lt-LT.main.js.map +0 -1
- package/dist/lt-LT.mjs +0 -8
- package/dist/lt-LT.module.js +0 -8
- package/dist/lt-LT.module.js.map +0 -1
- package/dist/lv-LV.main.js +0 -6
- package/dist/lv-LV.main.js.map +0 -1
- package/dist/lv-LV.mjs +0 -8
- package/dist/lv-LV.module.js +0 -8
- package/dist/lv-LV.module.js.map +0 -1
- package/dist/nb-NO.main.js +0 -6
- package/dist/nb-NO.main.js.map +0 -1
- package/dist/nb-NO.mjs +0 -8
- package/dist/nb-NO.module.js +0 -8
- package/dist/nb-NO.module.js.map +0 -1
- package/dist/nl-NL.main.js +0 -6
- package/dist/nl-NL.main.js.map +0 -1
- package/dist/nl-NL.mjs +0 -8
- package/dist/nl-NL.module.js +0 -8
- package/dist/nl-NL.module.js.map +0 -1
- package/dist/pl-PL.main.js +0 -6
- package/dist/pl-PL.main.js.map +0 -1
- package/dist/pl-PL.mjs +0 -8
- package/dist/pl-PL.module.js +0 -8
- package/dist/pl-PL.module.js.map +0 -1
- package/dist/pt-BR.main.js +0 -6
- package/dist/pt-BR.main.js.map +0 -1
- package/dist/pt-BR.mjs +0 -8
- package/dist/pt-BR.module.js +0 -8
- package/dist/pt-BR.module.js.map +0 -1
- package/dist/pt-PT.main.js +0 -6
- package/dist/pt-PT.main.js.map +0 -1
- package/dist/pt-PT.mjs +0 -8
- package/dist/pt-PT.module.js +0 -8
- package/dist/pt-PT.module.js.map +0 -1
- package/dist/ro-RO.main.js +0 -6
- package/dist/ro-RO.main.js.map +0 -1
- package/dist/ro-RO.mjs +0 -8
- package/dist/ro-RO.module.js +0 -8
- package/dist/ro-RO.module.js.map +0 -1
- package/dist/ru-RU.main.js +0 -6
- package/dist/ru-RU.main.js.map +0 -1
- package/dist/ru-RU.mjs +0 -8
- package/dist/ru-RU.module.js +0 -8
- package/dist/ru-RU.module.js.map +0 -1
- package/dist/sk-SK.main.js +0 -6
- package/dist/sk-SK.main.js.map +0 -1
- package/dist/sk-SK.mjs +0 -8
- package/dist/sk-SK.module.js +0 -8
- package/dist/sk-SK.module.js.map +0 -1
- package/dist/sl-SI.main.js +0 -6
- package/dist/sl-SI.main.js.map +0 -1
- package/dist/sl-SI.mjs +0 -8
- package/dist/sl-SI.module.js +0 -8
- package/dist/sl-SI.module.js.map +0 -1
- package/dist/sr-SP.main.js +0 -6
- package/dist/sr-SP.main.js.map +0 -1
- package/dist/sr-SP.mjs +0 -8
- package/dist/sr-SP.module.js +0 -8
- package/dist/sr-SP.module.js.map +0 -1
- package/dist/sv-SE.main.js +0 -6
- package/dist/sv-SE.main.js.map +0 -1
- package/dist/sv-SE.mjs +0 -8
- package/dist/sv-SE.module.js +0 -8
- package/dist/sv-SE.module.js.map +0 -1
- package/dist/tr-TR.main.js +0 -6
- package/dist/tr-TR.main.js.map +0 -1
- package/dist/tr-TR.mjs +0 -8
- package/dist/tr-TR.module.js +0 -8
- package/dist/tr-TR.module.js.map +0 -1
- package/dist/types.d.ts +0 -355
- package/dist/types.d.ts.map +0 -1
- package/dist/uk-UA.main.js +0 -6
- package/dist/uk-UA.main.js.map +0 -1
- package/dist/uk-UA.mjs +0 -8
- package/dist/uk-UA.module.js +0 -8
- package/dist/uk-UA.module.js.map +0 -1
- package/dist/useCloseOnScroll.main.js +0 -52
- package/dist/useCloseOnScroll.main.js.map +0 -1
- package/dist/useCloseOnScroll.mjs +0 -46
- package/dist/useCloseOnScroll.module.js +0 -46
- package/dist/useCloseOnScroll.module.js.map +0 -1
- package/dist/useModal.main.js +0 -118
- package/dist/useModal.main.js.map +0 -1
- package/dist/useModal.mjs +0 -105
- package/dist/useModal.module.js +0 -105
- package/dist/useModal.module.js.map +0 -1
- package/dist/useModalOverlay.main.js +0 -57
- package/dist/useModalOverlay.main.js.map +0 -1
- package/dist/useModalOverlay.mjs +0 -52
- package/dist/useModalOverlay.module.js +0 -52
- package/dist/useModalOverlay.module.js.map +0 -1
- package/dist/useOverlay.main.js +0 -113
- package/dist/useOverlay.main.js.map +0 -1
- package/dist/useOverlay.mjs +0 -108
- package/dist/useOverlay.module.js +0 -108
- package/dist/useOverlay.module.js.map +0 -1
- package/dist/useOverlayPosition.main.js +0 -226
- package/dist/useOverlayPosition.main.js.map +0 -1
- package/dist/useOverlayPosition.mjs +0 -221
- package/dist/useOverlayPosition.module.js +0 -221
- package/dist/useOverlayPosition.module.js.map +0 -1
- package/dist/useOverlayTrigger.main.js +0 -54
- package/dist/useOverlayTrigger.main.js.map +0 -1
- package/dist/useOverlayTrigger.mjs +0 -49
- package/dist/useOverlayTrigger.module.js +0 -49
- package/dist/useOverlayTrigger.module.js.map +0 -1
- package/dist/usePopover.main.js +0 -77
- package/dist/usePopover.main.js.map +0 -1
- package/dist/usePopover.mjs +0 -72
- package/dist/usePopover.module.js +0 -72
- package/dist/usePopover.module.js.map +0 -1
- package/dist/usePreventScroll.main.js +0 -220
- package/dist/usePreventScroll.main.js.map +0 -1
- package/dist/usePreventScroll.mjs +0 -215
- package/dist/usePreventScroll.module.js +0 -215
- package/dist/usePreventScroll.module.js.map +0 -1
- package/dist/zh-CN.main.js +0 -6
- package/dist/zh-CN.main.js.map +0 -1
- package/dist/zh-CN.mjs +0 -8
- package/dist/zh-CN.module.js +0 -8
- package/dist/zh-CN.module.js.map +0 -1
- package/dist/zh-TW.main.js +0 -6
- package/dist/zh-TW.main.js.map +0 -1
- package/dist/zh-TW.mjs +0 -8
- package/dist/zh-TW.module.js +0 -8
- package/dist/zh-TW.module.js.map +0 -1
- package/src/DismissButton.tsx +0 -52
- package/src/Overlay.tsx +0 -95
- package/src/PortalProvider.tsx +0 -41
- package/src/ariaHideOutside.ts +0 -300
- package/src/calculatePosition.ts +0 -702
- package/src/useCloseOnScroll.ts +0 -65
- package/src/useModal.tsx +0 -197
- package/src/useModalOverlay.ts +0 -69
- package/src/useOverlay.ts +0 -170
- package/src/useOverlayPosition.ts +0 -328
- package/src/useOverlayTrigger.ts +0 -72
- package/src/usePopover.ts +0 -138
- package/src/usePreventScroll.ts +0 -279
package/README.md
CHANGED
|
@@ -13,16 +13,17 @@ npm install @depup/react-aria__overlays
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [@react-aria/overlays](https://www.npmjs.com/package/@react-aria/overlays) @ 3.
|
|
17
|
-
| Processed | 2026-
|
|
16
|
+
| Original | [@react-aria/overlays](https://www.npmjs.com/package/@react-aria/overlays) @ 3.32.1 |
|
|
17
|
+
| Processed | 2026-07-21 |
|
|
18
18
|
| Smoke test | passed |
|
|
19
|
-
| Deps updated |
|
|
19
|
+
| Deps updated | 2 |
|
|
20
20
|
|
|
21
21
|
## Dependency Changes
|
|
22
22
|
|
|
23
23
|
| Dependency | From | To |
|
|
24
24
|
|------------|------|-----|
|
|
25
|
-
| @swc/helpers | ^0.5.0 | ^0.5.
|
|
25
|
+
| @swc/helpers | ^0.5.0 | ^0.5.23 |
|
|
26
|
+
| react-aria | ^3.48.0 | ^3.50.0 |
|
|
26
27
|
|
|
27
28
|
---
|
|
28
29
|
|
package/changes.json
CHANGED
|
@@ -2,9 +2,13 @@
|
|
|
2
2
|
"bumped": {
|
|
3
3
|
"@swc/helpers": {
|
|
4
4
|
"from": "^0.5.0",
|
|
5
|
-
"to": "^0.5.
|
|
5
|
+
"to": "^0.5.23"
|
|
6
|
+
},
|
|
7
|
+
"react-aria": {
|
|
8
|
+
"from": "^3.48.0",
|
|
9
|
+
"to": "^3.50.0"
|
|
6
10
|
}
|
|
7
11
|
},
|
|
8
|
-
"timestamp": "2026-
|
|
9
|
-
"totalUpdated":
|
|
12
|
+
"timestamp": "2026-07-21T19:30:16.123Z",
|
|
13
|
+
"totalUpdated": 2
|
|
10
14
|
}
|
package/dist/import.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {useOverlayPosition as $
|
|
2
|
-
import {useOverlay as $
|
|
3
|
-
import {useOverlayTrigger as $
|
|
4
|
-
import {usePreventScroll as $
|
|
5
|
-
import {ModalProvider as $
|
|
6
|
-
import {DismissButton as $
|
|
7
|
-
import {ariaHideOutside as $
|
|
8
|
-
import {usePopover as $
|
|
9
|
-
import {useModalOverlay as $
|
|
10
|
-
import {
|
|
11
|
-
import {UNSAFE_PortalProvider as $
|
|
1
|
+
import {useOverlayPosition as $b0efc2604d85c5c0$re_export$useOverlayPosition} from "react-aria/useOverlayPosition";
|
|
2
|
+
import {useOverlay as $b0efc2604d85c5c0$re_export$useOverlay} from "react-aria/useOverlay";
|
|
3
|
+
import {useOverlayTrigger as $b0efc2604d85c5c0$re_export$useOverlayTrigger} from "react-aria/useOverlayTrigger";
|
|
4
|
+
import {usePreventScroll as $b0efc2604d85c5c0$re_export$usePreventScroll} from "react-aria/usePreventScroll";
|
|
5
|
+
import {ModalProvider as $b0efc2604d85c5c0$re_export$ModalProvider, useModalProvider as $b0efc2604d85c5c0$re_export$useModalProvider, OverlayProvider as $b0efc2604d85c5c0$re_export$OverlayProvider, OverlayContainer as $b0efc2604d85c5c0$re_export$OverlayContainer, useModal as $b0efc2604d85c5c0$re_export$useModal} from "react-aria/private/overlays/useModal";
|
|
6
|
+
import {DismissButton as $b0efc2604d85c5c0$re_export$DismissButton, Overlay as $b0efc2604d85c5c0$re_export$Overlay} from "react-aria/Overlay";
|
|
7
|
+
import {ariaHideOutside as $b0efc2604d85c5c0$re_export$ariaHideOutside} from "react-aria/private/overlays/ariaHideOutside";
|
|
8
|
+
import {usePopover as $b0efc2604d85c5c0$re_export$usePopover} from "react-aria/usePopover";
|
|
9
|
+
import {useModalOverlay as $b0efc2604d85c5c0$re_export$useModalOverlay} from "react-aria/useModalOverlay";
|
|
10
|
+
import {useOverlayFocusContain as $b0efc2604d85c5c0$re_export$useOverlayFocusContain} from "react-aria/private/overlays/Overlay";
|
|
11
|
+
import {UNSAFE_PortalProvider as $b0efc2604d85c5c0$re_export$UNSAFE_PortalProvider, useUNSAFE_PortalContext as $b0efc2604d85c5c0$re_export$useUNSAFE_PortalContext} from "react-aria/PortalProvider";
|
|
12
12
|
|
|
13
13
|
/*
|
|
14
14
|
* Copyright 2020 Adobe. All rights reserved.
|
|
@@ -33,5 +33,5 @@ import {UNSAFE_PortalProvider as $96b38030c423d352$export$78efe591171d7d45, useU
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
export {$
|
|
36
|
+
export {$b0efc2604d85c5c0$re_export$useOverlayPosition as useOverlayPosition, $b0efc2604d85c5c0$re_export$useOverlay as useOverlay, $b0efc2604d85c5c0$re_export$useOverlayTrigger as useOverlayTrigger, $b0efc2604d85c5c0$re_export$usePreventScroll as usePreventScroll, $b0efc2604d85c5c0$re_export$ModalProvider as ModalProvider, $b0efc2604d85c5c0$re_export$useModalProvider as useModalProvider, $b0efc2604d85c5c0$re_export$OverlayProvider as OverlayProvider, $b0efc2604d85c5c0$re_export$OverlayContainer as OverlayContainer, $b0efc2604d85c5c0$re_export$useModal as useModal, $b0efc2604d85c5c0$re_export$DismissButton as DismissButton, $b0efc2604d85c5c0$re_export$Overlay as Overlay, $b0efc2604d85c5c0$re_export$ariaHideOutside as ariaHideOutside, $b0efc2604d85c5c0$re_export$usePopover as usePopover, $b0efc2604d85c5c0$re_export$useModalOverlay as useModalOverlay, $b0efc2604d85c5c0$re_export$useOverlayFocusContain as useOverlayFocusContain, $b0efc2604d85c5c0$re_export$UNSAFE_PortalProvider as UNSAFE_PortalProvider, $b0efc2604d85c5c0$re_export$useUNSAFE_PortalContext as useUNSAFE_PortalContext};
|
|
37
37
|
//# sourceMappingURL=module.js.map
|
package/dist/main.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
var $
|
|
2
|
-
var $
|
|
3
|
-
var $
|
|
4
|
-
var $
|
|
5
|
-
var $
|
|
6
|
-
var $
|
|
7
|
-
var $
|
|
8
|
-
var $
|
|
9
|
-
var $
|
|
10
|
-
var $
|
|
11
|
-
var $
|
|
1
|
+
var $2hcbo$reactariauseOverlayPosition = require("react-aria/useOverlayPosition");
|
|
2
|
+
var $2hcbo$reactariauseOverlay = require("react-aria/useOverlay");
|
|
3
|
+
var $2hcbo$reactariauseOverlayTrigger = require("react-aria/useOverlayTrigger");
|
|
4
|
+
var $2hcbo$reactariausePreventScroll = require("react-aria/usePreventScroll");
|
|
5
|
+
var $2hcbo$reactariaprivateoverlaysuseModal = require("react-aria/private/overlays/useModal");
|
|
6
|
+
var $2hcbo$reactariaOverlay = require("react-aria/Overlay");
|
|
7
|
+
var $2hcbo$reactariaprivateoverlaysariaHideOutside = require("react-aria/private/overlays/ariaHideOutside");
|
|
8
|
+
var $2hcbo$reactariausePopover = require("react-aria/usePopover");
|
|
9
|
+
var $2hcbo$reactariauseModalOverlay = require("react-aria/useModalOverlay");
|
|
10
|
+
var $2hcbo$reactariaprivateoverlaysOverlay = require("react-aria/private/overlays/Overlay");
|
|
11
|
+
var $2hcbo$reactariaPortalProvider = require("react-aria/PortalProvider");
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
function $parcel$export(e, n, v, s) {
|
|
15
15
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
$parcel$export(module.exports, "useOverlayPosition", ()
|
|
19
|
-
$parcel$export(module.exports, "useOverlay", ()
|
|
20
|
-
$parcel$export(module.exports, "useOverlayTrigger", ()
|
|
21
|
-
$parcel$export(module.exports, "usePreventScroll", ()
|
|
22
|
-
$parcel$export(module.exports, "ModalProvider", ()
|
|
23
|
-
$parcel$export(module.exports, "useModalProvider", ()
|
|
24
|
-
$parcel$export(module.exports, "OverlayProvider", ()
|
|
25
|
-
$parcel$export(module.exports, "OverlayContainer", ()
|
|
26
|
-
$parcel$export(module.exports, "useModal", ()
|
|
27
|
-
$parcel$export(module.exports, "DismissButton", ()
|
|
28
|
-
$parcel$export(module.exports, "
|
|
29
|
-
$parcel$export(module.exports, "
|
|
30
|
-
$parcel$export(module.exports, "
|
|
31
|
-
$parcel$export(module.exports, "
|
|
32
|
-
$parcel$export(module.exports, "useOverlayFocusContain", ()
|
|
33
|
-
$parcel$export(module.exports, "UNSAFE_PortalProvider", ()
|
|
34
|
-
$parcel$export(module.exports, "useUNSAFE_PortalContext", ()
|
|
18
|
+
$parcel$export(module.exports, "useOverlayPosition", function () { return $2hcbo$reactariauseOverlayPosition.useOverlayPosition; });
|
|
19
|
+
$parcel$export(module.exports, "useOverlay", function () { return $2hcbo$reactariauseOverlay.useOverlay; });
|
|
20
|
+
$parcel$export(module.exports, "useOverlayTrigger", function () { return $2hcbo$reactariauseOverlayTrigger.useOverlayTrigger; });
|
|
21
|
+
$parcel$export(module.exports, "usePreventScroll", function () { return $2hcbo$reactariausePreventScroll.usePreventScroll; });
|
|
22
|
+
$parcel$export(module.exports, "ModalProvider", function () { return $2hcbo$reactariaprivateoverlaysuseModal.ModalProvider; });
|
|
23
|
+
$parcel$export(module.exports, "useModalProvider", function () { return $2hcbo$reactariaprivateoverlaysuseModal.useModalProvider; });
|
|
24
|
+
$parcel$export(module.exports, "OverlayProvider", function () { return $2hcbo$reactariaprivateoverlaysuseModal.OverlayProvider; });
|
|
25
|
+
$parcel$export(module.exports, "OverlayContainer", function () { return $2hcbo$reactariaprivateoverlaysuseModal.OverlayContainer; });
|
|
26
|
+
$parcel$export(module.exports, "useModal", function () { return $2hcbo$reactariaprivateoverlaysuseModal.useModal; });
|
|
27
|
+
$parcel$export(module.exports, "DismissButton", function () { return $2hcbo$reactariaOverlay.DismissButton; });
|
|
28
|
+
$parcel$export(module.exports, "Overlay", function () { return $2hcbo$reactariaOverlay.Overlay; });
|
|
29
|
+
$parcel$export(module.exports, "ariaHideOutside", function () { return $2hcbo$reactariaprivateoverlaysariaHideOutside.ariaHideOutside; });
|
|
30
|
+
$parcel$export(module.exports, "usePopover", function () { return $2hcbo$reactariausePopover.usePopover; });
|
|
31
|
+
$parcel$export(module.exports, "useModalOverlay", function () { return $2hcbo$reactariauseModalOverlay.useModalOverlay; });
|
|
32
|
+
$parcel$export(module.exports, "useOverlayFocusContain", function () { return $2hcbo$reactariaprivateoverlaysOverlay.useOverlayFocusContain; });
|
|
33
|
+
$parcel$export(module.exports, "UNSAFE_PortalProvider", function () { return $2hcbo$reactariaPortalProvider.UNSAFE_PortalProvider; });
|
|
34
|
+
$parcel$export(module.exports, "useUNSAFE_PortalContext", function () { return $2hcbo$reactariaPortalProvider.useUNSAFE_PortalContext; });
|
|
35
35
|
/*
|
|
36
36
|
* Copyright 2020 Adobe. All rights reserved.
|
|
37
37
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC","sources":["packages/@react-aria/overlays/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nexport {useOverlayPosition} from '
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC","sources":["packages/@react-aria/overlays/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nexport {useOverlayPosition} from 'react-aria/useOverlayPosition';\nexport {useOverlay} from 'react-aria/useOverlay';\nexport {useOverlayTrigger} from 'react-aria/useOverlayTrigger';\nexport {usePreventScroll} from 'react-aria/usePreventScroll';\nexport {\n ModalProvider,\n useModalProvider,\n OverlayProvider,\n OverlayContainer,\n useModal\n} from 'react-aria/private/overlays/useModal';\nexport {DismissButton, Overlay} from 'react-aria/Overlay';\nexport {ariaHideOutside} from 'react-aria/private/overlays/ariaHideOutside';\nexport {usePopover} from 'react-aria/usePopover';\nexport {useModalOverlay} from 'react-aria/useModalOverlay';\nexport {useOverlayFocusContain} from 'react-aria/private/overlays/Overlay';\nexport {UNSAFE_PortalProvider, useUNSAFE_PortalContext} from 'react-aria/PortalProvider';\nexport type {\n AriaPositionProps,\n PositionAria,\n Placement,\n PlacementAxis,\n PositionProps,\n Axis,\n SizeAxis\n} from 'react-aria/useOverlayPosition';\nexport type {AriaOverlayProps, OverlayAria} from 'react-aria/useOverlay';\nexport type {OverlayTriggerAria, OverlayTriggerProps} from 'react-aria/useOverlayTrigger';\nexport type {\n AriaModalOptions,\n ModalAria,\n ModalProviderAria,\n ModalProviderProps,\n OverlayContainerProps\n} from 'react-aria/private/overlays/useModal';\nexport type {DismissButtonProps, OverlayProps} from 'react-aria/Overlay';\nexport type {AriaPopoverProps, PopoverAria} from 'react-aria/usePopover';\nexport type {AriaModalOverlayProps, ModalOverlayAria} from 'react-aria/useModalOverlay';\nexport type {PortalProviderProps, PortalProviderContextValue} from 'react-aria/PortalProvider';\n"],"names":[],"version":3,"file":"main.js.map"}
|
package/dist/module.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {useOverlayPosition as $
|
|
2
|
-
import {useOverlay as $
|
|
3
|
-
import {useOverlayTrigger as $
|
|
4
|
-
import {usePreventScroll as $
|
|
5
|
-
import {ModalProvider as $
|
|
6
|
-
import {DismissButton as $
|
|
7
|
-
import {ariaHideOutside as $
|
|
8
|
-
import {usePopover as $
|
|
9
|
-
import {useModalOverlay as $
|
|
10
|
-
import {
|
|
11
|
-
import {UNSAFE_PortalProvider as $
|
|
1
|
+
import {useOverlayPosition as $b0efc2604d85c5c0$re_export$useOverlayPosition} from "react-aria/useOverlayPosition";
|
|
2
|
+
import {useOverlay as $b0efc2604d85c5c0$re_export$useOverlay} from "react-aria/useOverlay";
|
|
3
|
+
import {useOverlayTrigger as $b0efc2604d85c5c0$re_export$useOverlayTrigger} from "react-aria/useOverlayTrigger";
|
|
4
|
+
import {usePreventScroll as $b0efc2604d85c5c0$re_export$usePreventScroll} from "react-aria/usePreventScroll";
|
|
5
|
+
import {ModalProvider as $b0efc2604d85c5c0$re_export$ModalProvider, useModalProvider as $b0efc2604d85c5c0$re_export$useModalProvider, OverlayProvider as $b0efc2604d85c5c0$re_export$OverlayProvider, OverlayContainer as $b0efc2604d85c5c0$re_export$OverlayContainer, useModal as $b0efc2604d85c5c0$re_export$useModal} from "react-aria/private/overlays/useModal";
|
|
6
|
+
import {DismissButton as $b0efc2604d85c5c0$re_export$DismissButton, Overlay as $b0efc2604d85c5c0$re_export$Overlay} from "react-aria/Overlay";
|
|
7
|
+
import {ariaHideOutside as $b0efc2604d85c5c0$re_export$ariaHideOutside} from "react-aria/private/overlays/ariaHideOutside";
|
|
8
|
+
import {usePopover as $b0efc2604d85c5c0$re_export$usePopover} from "react-aria/usePopover";
|
|
9
|
+
import {useModalOverlay as $b0efc2604d85c5c0$re_export$useModalOverlay} from "react-aria/useModalOverlay";
|
|
10
|
+
import {useOverlayFocusContain as $b0efc2604d85c5c0$re_export$useOverlayFocusContain} from "react-aria/private/overlays/Overlay";
|
|
11
|
+
import {UNSAFE_PortalProvider as $b0efc2604d85c5c0$re_export$UNSAFE_PortalProvider, useUNSAFE_PortalContext as $b0efc2604d85c5c0$re_export$useUNSAFE_PortalContext} from "react-aria/PortalProvider";
|
|
12
12
|
|
|
13
13
|
/*
|
|
14
14
|
* Copyright 2020 Adobe. All rights reserved.
|
|
@@ -33,5 +33,5 @@ import {UNSAFE_PortalProvider as $96b38030c423d352$export$78efe591171d7d45, useU
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
export {$
|
|
36
|
+
export {$b0efc2604d85c5c0$re_export$useOverlayPosition as useOverlayPosition, $b0efc2604d85c5c0$re_export$useOverlay as useOverlay, $b0efc2604d85c5c0$re_export$useOverlayTrigger as useOverlayTrigger, $b0efc2604d85c5c0$re_export$usePreventScroll as usePreventScroll, $b0efc2604d85c5c0$re_export$ModalProvider as ModalProvider, $b0efc2604d85c5c0$re_export$useModalProvider as useModalProvider, $b0efc2604d85c5c0$re_export$OverlayProvider as OverlayProvider, $b0efc2604d85c5c0$re_export$OverlayContainer as OverlayContainer, $b0efc2604d85c5c0$re_export$useModal as useModal, $b0efc2604d85c5c0$re_export$DismissButton as DismissButton, $b0efc2604d85c5c0$re_export$Overlay as Overlay, $b0efc2604d85c5c0$re_export$ariaHideOutside as ariaHideOutside, $b0efc2604d85c5c0$re_export$usePopover as usePopover, $b0efc2604d85c5c0$re_export$useModalOverlay as useModalOverlay, $b0efc2604d85c5c0$re_export$useOverlayFocusContain as useOverlayFocusContain, $b0efc2604d85c5c0$re_export$UNSAFE_PortalProvider as UNSAFE_PortalProvider, $b0efc2604d85c5c0$re_export$useUNSAFE_PortalContext as useUNSAFE_PortalContext};
|
|
37
37
|
//# sourceMappingURL=module.js.map
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;CAUC","sources":["packages/@react-aria/overlays/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nexport {useOverlayPosition} from '
|
|
1
|
+
{"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;CAUC","sources":["packages/@react-aria/overlays/src/index.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nexport {useOverlayPosition} from 'react-aria/useOverlayPosition';\nexport {useOverlay} from 'react-aria/useOverlay';\nexport {useOverlayTrigger} from 'react-aria/useOverlayTrigger';\nexport {usePreventScroll} from 'react-aria/usePreventScroll';\nexport {\n ModalProvider,\n useModalProvider,\n OverlayProvider,\n OverlayContainer,\n useModal\n} from 'react-aria/private/overlays/useModal';\nexport {DismissButton, Overlay} from 'react-aria/Overlay';\nexport {ariaHideOutside} from 'react-aria/private/overlays/ariaHideOutside';\nexport {usePopover} from 'react-aria/usePopover';\nexport {useModalOverlay} from 'react-aria/useModalOverlay';\nexport {useOverlayFocusContain} from 'react-aria/private/overlays/Overlay';\nexport {UNSAFE_PortalProvider, useUNSAFE_PortalContext} from 'react-aria/PortalProvider';\nexport type {\n AriaPositionProps,\n PositionAria,\n Placement,\n PlacementAxis,\n PositionProps,\n Axis,\n SizeAxis\n} from 'react-aria/useOverlayPosition';\nexport type {AriaOverlayProps, OverlayAria} from 'react-aria/useOverlay';\nexport type {OverlayTriggerAria, OverlayTriggerProps} from 'react-aria/useOverlayTrigger';\nexport type {\n AriaModalOptions,\n ModalAria,\n ModalProviderAria,\n ModalProviderProps,\n OverlayContainerProps\n} from 'react-aria/private/overlays/useModal';\nexport type {DismissButtonProps, OverlayProps} from 'react-aria/Overlay';\nexport type {AriaPopoverProps, PopoverAria} from 'react-aria/usePopover';\nexport type {AriaModalOverlayProps, ModalOverlayAria} from 'react-aria/useModalOverlay';\nexport type {PortalProviderProps, PortalProviderContextValue} from 'react-aria/PortalProvider';\n"],"names":[],"version":3,"file":"module.js.map"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { useOverlayPosition } from 'react-aria/useOverlayPosition';
|
|
2
|
+
export { useOverlay } from 'react-aria/useOverlay';
|
|
3
|
+
export { useOverlayTrigger } from 'react-aria/useOverlayTrigger';
|
|
4
|
+
export { usePreventScroll } from 'react-aria/usePreventScroll';
|
|
5
|
+
export { ModalProvider, useModalProvider, OverlayProvider, OverlayContainer, useModal } from 'react-aria/private/overlays/useModal';
|
|
6
|
+
export { DismissButton, Overlay } from 'react-aria/Overlay';
|
|
7
|
+
export { ariaHideOutside } from 'react-aria/private/overlays/ariaHideOutside';
|
|
8
|
+
export { usePopover } from 'react-aria/usePopover';
|
|
9
|
+
export { useModalOverlay } from 'react-aria/useModalOverlay';
|
|
10
|
+
export { useOverlayFocusContain } from 'react-aria/private/overlays/Overlay';
|
|
11
|
+
export { UNSAFE_PortalProvider, useUNSAFE_PortalContext } from 'react-aria/PortalProvider';
|
|
12
|
+
export type { AriaPositionProps, PositionAria, Placement, PlacementAxis, PositionProps, Axis, SizeAxis } from 'react-aria/useOverlayPosition';
|
|
13
|
+
export type { AriaOverlayProps, OverlayAria } from 'react-aria/useOverlay';
|
|
14
|
+
export type { OverlayTriggerAria, OverlayTriggerProps } from 'react-aria/useOverlayTrigger';
|
|
15
|
+
export type { AriaModalOptions, ModalAria, ModalProviderAria, ModalProviderProps, OverlayContainerProps } from 'react-aria/private/overlays/useModal';
|
|
16
|
+
export type { DismissButtonProps, OverlayProps } from 'react-aria/Overlay';
|
|
17
|
+
export type { AriaPopoverProps, PopoverAria } from 'react-aria/usePopover';
|
|
18
|
+
export type { AriaModalOverlayProps, ModalOverlayAria } from 'react-aria/useModalOverlay';
|
|
19
|
+
export type { PortalProviderProps, PortalProviderContextValue } from 'react-aria/PortalProvider';
|
package/package.json
CHANGED
|
@@ -1,20 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/react-aria__overlays",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.32.1-depup.36",
|
|
4
4
|
"description": "Spectrum UI components in React (with updated dependencies)",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"source": "./src/index.ts",
|
|
10
|
-
"types": [
|
|
11
|
-
"./dist/types.d.ts",
|
|
12
|
-
"./src/index.ts"
|
|
13
|
-
],
|
|
14
|
-
"import": "./dist/import.mjs",
|
|
15
|
-
"require": "./dist/main.js"
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/adobe/react-spectrum"
|
|
16
9
|
},
|
|
17
|
-
"types": "dist/types.d.ts",
|
|
18
10
|
"source": "src/index.ts",
|
|
19
11
|
"files": [
|
|
20
12
|
"dist",
|
|
@@ -23,29 +15,34 @@
|
|
|
23
15
|
"README.md"
|
|
24
16
|
],
|
|
25
17
|
"sideEffects": false,
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
18
|
+
"main": "dist/main.js",
|
|
19
|
+
"module": "dist/module.js",
|
|
20
|
+
"types": "dist/types/src/index.d.ts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"source": "./src/index.ts",
|
|
24
|
+
"types": "./dist/types/src/index.d.ts",
|
|
25
|
+
"import": "./dist/import.mjs",
|
|
26
|
+
"require": "./dist/main.js"
|
|
27
|
+
},
|
|
28
|
+
"./package.json": "./package.json"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"@react-stately/flags": "^3.1.2",
|
|
38
|
-
"@react-stately/overlays": "^3.6.23",
|
|
39
|
-
"@react-types/button": "^3.15.1",
|
|
40
|
-
"@react-types/overlays": "^3.9.4",
|
|
41
|
-
"@react-types/shared": "^3.33.1",
|
|
42
|
-
"@swc/helpers": "^0.5.19"
|
|
31
|
+
"@swc/helpers": "^0.5.23",
|
|
32
|
+
"react-aria": "^3.50.0"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
|
|
36
|
+
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
|
|
43
37
|
},
|
|
44
38
|
"peerDependencies": {
|
|
45
39
|
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
|
|
46
40
|
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
|
|
47
41
|
},
|
|
48
|
-
"
|
|
42
|
+
"targets": {
|
|
43
|
+
"types": false
|
|
44
|
+
},
|
|
45
|
+
"gitHead": "3577a20859b9585a000010c720f6ee39c1c588cc",
|
|
49
46
|
"keywords": [
|
|
50
47
|
"@react-aria/overlays",
|
|
51
48
|
"depup",
|
|
@@ -58,13 +55,17 @@
|
|
|
58
55
|
"changes": {
|
|
59
56
|
"@swc/helpers": {
|
|
60
57
|
"from": "^0.5.0",
|
|
61
|
-
"to": "^0.5.
|
|
58
|
+
"to": "^0.5.23"
|
|
59
|
+
},
|
|
60
|
+
"react-aria": {
|
|
61
|
+
"from": "^3.48.0",
|
|
62
|
+
"to": "^3.50.0"
|
|
62
63
|
}
|
|
63
64
|
},
|
|
64
|
-
"depsUpdated":
|
|
65
|
+
"depsUpdated": 2,
|
|
65
66
|
"originalPackage": "@react-aria/overlays",
|
|
66
|
-
"originalVersion": "3.
|
|
67
|
-
"processedAt": "2026-
|
|
67
|
+
"originalVersion": "3.32.1",
|
|
68
|
+
"processedAt": "2026-07-21T19:30:25.331Z",
|
|
68
69
|
"smokeTest": "passed"
|
|
69
70
|
}
|
|
70
71
|
}
|
package/src/index.ts
CHANGED
|
@@ -9,25 +9,42 @@
|
|
|
9
9
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
10
|
* governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
|
-
export {useOverlayPosition} from '
|
|
13
|
-
export {useOverlay} from '
|
|
14
|
-
export {useOverlayTrigger} from '
|
|
15
|
-
export {usePreventScroll} from '
|
|
16
|
-
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export type {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
12
|
+
export {useOverlayPosition} from 'react-aria/useOverlayPosition';
|
|
13
|
+
export {useOverlay} from 'react-aria/useOverlay';
|
|
14
|
+
export {useOverlayTrigger} from 'react-aria/useOverlayTrigger';
|
|
15
|
+
export {usePreventScroll} from 'react-aria/usePreventScroll';
|
|
16
|
+
export {
|
|
17
|
+
ModalProvider,
|
|
18
|
+
useModalProvider,
|
|
19
|
+
OverlayProvider,
|
|
20
|
+
OverlayContainer,
|
|
21
|
+
useModal
|
|
22
|
+
} from 'react-aria/private/overlays/useModal';
|
|
23
|
+
export {DismissButton, Overlay} from 'react-aria/Overlay';
|
|
24
|
+
export {ariaHideOutside} from 'react-aria/private/overlays/ariaHideOutside';
|
|
25
|
+
export {usePopover} from 'react-aria/usePopover';
|
|
26
|
+
export {useModalOverlay} from 'react-aria/useModalOverlay';
|
|
27
|
+
export {useOverlayFocusContain} from 'react-aria/private/overlays/Overlay';
|
|
28
|
+
export {UNSAFE_PortalProvider, useUNSAFE_PortalContext} from 'react-aria/PortalProvider';
|
|
29
|
+
export type {
|
|
30
|
+
AriaPositionProps,
|
|
31
|
+
PositionAria,
|
|
32
|
+
Placement,
|
|
33
|
+
PlacementAxis,
|
|
34
|
+
PositionProps,
|
|
35
|
+
Axis,
|
|
36
|
+
SizeAxis
|
|
37
|
+
} from 'react-aria/useOverlayPosition';
|
|
38
|
+
export type {AriaOverlayProps, OverlayAria} from 'react-aria/useOverlay';
|
|
39
|
+
export type {OverlayTriggerAria, OverlayTriggerProps} from 'react-aria/useOverlayTrigger';
|
|
40
|
+
export type {
|
|
41
|
+
AriaModalOptions,
|
|
42
|
+
ModalAria,
|
|
43
|
+
ModalProviderAria,
|
|
44
|
+
ModalProviderProps,
|
|
45
|
+
OverlayContainerProps
|
|
46
|
+
} from 'react-aria/private/overlays/useModal';
|
|
47
|
+
export type {DismissButtonProps, OverlayProps} from 'react-aria/Overlay';
|
|
48
|
+
export type {AriaPopoverProps, PopoverAria} from 'react-aria/usePopover';
|
|
49
|
+
export type {AriaModalOverlayProps, ModalOverlayAria} from 'react-aria/useModalOverlay';
|
|
50
|
+
export type {PortalProviderProps, PortalProviderContextValue} from 'react-aria/PortalProvider';
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
var $90f032faf016e1fb$exports = require("./intlStrings.main.js");
|
|
2
|
-
var $21EvL$react = require("react");
|
|
3
|
-
var $21EvL$reactariautils = require("@react-aria/utils");
|
|
4
|
-
var $21EvL$reactariai18n = require("@react-aria/i18n");
|
|
5
|
-
var $21EvL$reactariavisuallyhidden = require("@react-aria/visually-hidden");
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
function $parcel$interopDefault(a) {
|
|
9
|
-
return a && a.__esModule ? a.default : a;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
function $parcel$export(e, n, v, s) {
|
|
13
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
$parcel$export(module.exports, "DismissButton", () => $f69bb3e6457495cc$export$2317d149ed6f78c4);
|
|
17
|
-
/*
|
|
18
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
19
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
20
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
21
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
22
|
-
*
|
|
23
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
24
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
25
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
26
|
-
* governing permissions and limitations under the License.
|
|
27
|
-
*/
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
function $f69bb3e6457495cc$export$2317d149ed6f78c4(props) {
|
|
33
|
-
let { onDismiss: onDismiss, ...otherProps } = props;
|
|
34
|
-
let stringFormatter = (0, $21EvL$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($90f032faf016e1fb$exports))), '@react-aria/overlays');
|
|
35
|
-
let labels = (0, $21EvL$reactariautils.useLabels)(otherProps, stringFormatter.format('dismiss'));
|
|
36
|
-
let onClick = ()=>{
|
|
37
|
-
if (onDismiss) onDismiss();
|
|
38
|
-
};
|
|
39
|
-
return /*#__PURE__*/ (0, ($parcel$interopDefault($21EvL$react))).createElement((0, $21EvL$reactariavisuallyhidden.VisuallyHidden), null, /*#__PURE__*/ (0, ($parcel$interopDefault($21EvL$react))).createElement("button", {
|
|
40
|
-
...labels,
|
|
41
|
-
tabIndex: -1,
|
|
42
|
-
onClick: onClick,
|
|
43
|
-
style: {
|
|
44
|
-
width: 1,
|
|
45
|
-
height: 1
|
|
46
|
-
}
|
|
47
|
-
}));
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
//# sourceMappingURL=DismissButton.main.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;AAoBM,SAAS,0CAAc,KAAyB;IACrD,IAAI,aAAC,SAAS,EAAE,GAAG,YAAW,GAAG;IACjC,IAAI,kBAAkB,CAAA,GAAA,gDAA0B,EAAE,CAAA,GAAA,mDAAW,GAAG;IAEhE,IAAI,SAAS,CAAA,GAAA,+BAAQ,EAAE,YAAY,gBAAgB,MAAM,CAAC;IAE1D,IAAI,UAAU;QACZ,IAAI,WACF;IAEJ;IAEA,qBACE,0DAAC,CAAA,GAAA,6CAAa,uBACZ,0DAAC;QACE,GAAG,MAAM;QACV,UAAU;QACV,SAAS;QACT,OAAO;YAAC,OAAO;YAAG,QAAQ;QAAC;;AAGnC","sources":["packages/@react-aria/overlays/src/DismissButton.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps} from '@react-types/shared';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React, {JSX} from 'react';\nimport {useLabels} from '@react-aria/utils';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {VisuallyHidden} from '@react-aria/visually-hidden';\n\nexport interface DismissButtonProps extends AriaLabelingProps, DOMProps {\n /** Called when the dismiss button is activated. */\n onDismiss?: () => void\n}\n\n/**\n * A visually hidden button that can be used to allow screen reader\n * users to dismiss a modal or popup when there is no visual\n * affordance to do so.\n */\nexport function DismissButton(props: DismissButtonProps): JSX.Element {\n let {onDismiss, ...otherProps} = props;\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-aria/overlays');\n\n let labels = useLabels(otherProps, stringFormatter.format('dismiss'));\n\n let onClick = () => {\n if (onDismiss) {\n onDismiss();\n }\n };\n\n return (\n <VisuallyHidden>\n <button\n {...labels}\n tabIndex={-1}\n onClick={onClick}\n style={{width: 1, height: 1}} />\n </VisuallyHidden>\n );\n}\n"],"names":[],"version":3,"file":"DismissButton.main.js.map"}
|
package/dist/DismissButton.mjs
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import $iYaQO$intlStringsmodulejs from "./intlStrings.mjs";
|
|
2
|
-
import $iYaQO$react from "react";
|
|
3
|
-
import {useLabels as $iYaQO$useLabels} from "@react-aria/utils";
|
|
4
|
-
import {useLocalizedStringFormatter as $iYaQO$useLocalizedStringFormatter} from "@react-aria/i18n";
|
|
5
|
-
import {VisuallyHidden as $iYaQO$VisuallyHidden} from "@react-aria/visually-hidden";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
function $parcel$interopDefault(a) {
|
|
9
|
-
return a && a.__esModule ? a.default : a;
|
|
10
|
-
}
|
|
11
|
-
/*
|
|
12
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
13
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
14
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
15
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
-
*
|
|
17
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
18
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
19
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
20
|
-
* governing permissions and limitations under the License.
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
function $86ea4cb521eb2e37$export$2317d149ed6f78c4(props) {
|
|
27
|
-
let { onDismiss: onDismiss, ...otherProps } = props;
|
|
28
|
-
let stringFormatter = (0, $iYaQO$useLocalizedStringFormatter)((0, ($parcel$interopDefault($iYaQO$intlStringsmodulejs))), '@react-aria/overlays');
|
|
29
|
-
let labels = (0, $iYaQO$useLabels)(otherProps, stringFormatter.format('dismiss'));
|
|
30
|
-
let onClick = ()=>{
|
|
31
|
-
if (onDismiss) onDismiss();
|
|
32
|
-
};
|
|
33
|
-
return /*#__PURE__*/ (0, $iYaQO$react).createElement((0, $iYaQO$VisuallyHidden), null, /*#__PURE__*/ (0, $iYaQO$react).createElement("button", {
|
|
34
|
-
...labels,
|
|
35
|
-
tabIndex: -1,
|
|
36
|
-
onClick: onClick,
|
|
37
|
-
style: {
|
|
38
|
-
width: 1,
|
|
39
|
-
height: 1
|
|
40
|
-
}
|
|
41
|
-
}));
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
export {$86ea4cb521eb2e37$export$2317d149ed6f78c4 as DismissButton};
|
|
46
|
-
//# sourceMappingURL=DismissButton.module.js.map
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import $iYaQO$intlStringsmodulejs from "./intlStrings.module.js";
|
|
2
|
-
import $iYaQO$react from "react";
|
|
3
|
-
import {useLabels as $iYaQO$useLabels} from "@react-aria/utils";
|
|
4
|
-
import {useLocalizedStringFormatter as $iYaQO$useLocalizedStringFormatter} from "@react-aria/i18n";
|
|
5
|
-
import {VisuallyHidden as $iYaQO$VisuallyHidden} from "@react-aria/visually-hidden";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
function $parcel$interopDefault(a) {
|
|
9
|
-
return a && a.__esModule ? a.default : a;
|
|
10
|
-
}
|
|
11
|
-
/*
|
|
12
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
13
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
14
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
15
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
-
*
|
|
17
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
18
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
19
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
20
|
-
* governing permissions and limitations under the License.
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
function $86ea4cb521eb2e37$export$2317d149ed6f78c4(props) {
|
|
27
|
-
let { onDismiss: onDismiss, ...otherProps } = props;
|
|
28
|
-
let stringFormatter = (0, $iYaQO$useLocalizedStringFormatter)((0, ($parcel$interopDefault($iYaQO$intlStringsmodulejs))), '@react-aria/overlays');
|
|
29
|
-
let labels = (0, $iYaQO$useLabels)(otherProps, stringFormatter.format('dismiss'));
|
|
30
|
-
let onClick = ()=>{
|
|
31
|
-
if (onDismiss) onDismiss();
|
|
32
|
-
};
|
|
33
|
-
return /*#__PURE__*/ (0, $iYaQO$react).createElement((0, $iYaQO$VisuallyHidden), null, /*#__PURE__*/ (0, $iYaQO$react).createElement("button", {
|
|
34
|
-
...labels,
|
|
35
|
-
tabIndex: -1,
|
|
36
|
-
onClick: onClick,
|
|
37
|
-
style: {
|
|
38
|
-
width: 1,
|
|
39
|
-
height: 1
|
|
40
|
-
}
|
|
41
|
-
}));
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
export {$86ea4cb521eb2e37$export$2317d149ed6f78c4 as DismissButton};
|
|
46
|
-
//# sourceMappingURL=DismissButton.module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;AAoBM,SAAS,0CAAc,KAAyB;IACrD,IAAI,aAAC,SAAS,EAAE,GAAG,YAAW,GAAG;IACjC,IAAI,kBAAkB,CAAA,GAAA,kCAA0B,EAAE,CAAA,GAAA,oDAAW,GAAG;IAEhE,IAAI,SAAS,CAAA,GAAA,gBAAQ,EAAE,YAAY,gBAAgB,MAAM,CAAC;IAE1D,IAAI,UAAU;QACZ,IAAI,WACF;IAEJ;IAEA,qBACE,gCAAC,CAAA,GAAA,qBAAa,uBACZ,gCAAC;QACE,GAAG,MAAM;QACV,UAAU;QACV,SAAS;QACT,OAAO;YAAC,OAAO;YAAG,QAAQ;QAAC;;AAGnC","sources":["packages/@react-aria/overlays/src/DismissButton.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps} from '@react-types/shared';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React, {JSX} from 'react';\nimport {useLabels} from '@react-aria/utils';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {VisuallyHidden} from '@react-aria/visually-hidden';\n\nexport interface DismissButtonProps extends AriaLabelingProps, DOMProps {\n /** Called when the dismiss button is activated. */\n onDismiss?: () => void\n}\n\n/**\n * A visually hidden button that can be used to allow screen reader\n * users to dismiss a modal or popup when there is no visual\n * affordance to do so.\n */\nexport function DismissButton(props: DismissButtonProps): JSX.Element {\n let {onDismiss, ...otherProps} = props;\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-aria/overlays');\n\n let labels = useLabels(otherProps, stringFormatter.format('dismiss'));\n\n let onClick = () => {\n if (onDismiss) {\n onDismiss();\n }\n };\n\n return (\n <VisuallyHidden>\n <button\n {...labels}\n tabIndex={-1}\n onClick={onClick}\n style={{width: 1, height: 1}} />\n </VisuallyHidden>\n );\n}\n"],"names":[],"version":3,"file":"DismissButton.module.js.map"}
|