@react-spectrum/overlays 4.1.0 → 5.0.0
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/import.mjs +558 -0
- package/dist/main.js +31 -12
- package/dist/main.js.map +1 -1
- package/dist/module.js +32 -13
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +13 -8
- package/src/Modal.tsx +11 -9
- package/src/Overlay.tsx +3 -2
- package/src/Popover.tsx +11 -7
- package/src/Tray.tsx +12 -8
package/dist/import.mjs
ADDED
|
@@ -0,0 +1,558 @@
|
|
|
1
|
+
import "./main.css";
|
|
2
|
+
import {Provider as $fQOb3$Provider} from "@react-spectrum/provider";
|
|
3
|
+
import $fQOb3$react, {useState as $fQOb3$useState, useCallback as $fQOb3$useCallback, useRef as $fQOb3$useRef, forwardRef as $fQOb3$forwardRef} from "react";
|
|
4
|
+
import {Overlay as $fQOb3$Overlay, usePopover as $fQOb3$usePopover, DismissButton as $fQOb3$DismissButton, useModalOverlay as $fQOb3$useModalOverlay} from "@react-aria/overlays";
|
|
5
|
+
import {Transition as $fQOb3$Transition} from "react-transition-group";
|
|
6
|
+
import {useDOMRef as $fQOb3$useDOMRef, useStyleProps as $fQOb3$useStyleProps, classNames as $fQOb3$classNames} from "@react-spectrum/utils";
|
|
7
|
+
import {useLayoutEffect as $fQOb3$useLayoutEffect, useViewportSize as $fQOb3$useViewportSize} from "@react-aria/utils";
|
|
8
|
+
|
|
9
|
+
function $parcel$interopDefault(a) {
|
|
10
|
+
return a && a.__esModule ? a.default : a;
|
|
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
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
17
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
18
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
19
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
20
|
+
*
|
|
21
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
22
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
23
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
24
|
+
* governing permissions and limitations under the License.
|
|
25
|
+
*/ /// <reference types="css-module-types" />
|
|
26
|
+
/*
|
|
27
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
28
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
29
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
30
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
31
|
+
*
|
|
32
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
33
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
34
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
35
|
+
* governing permissions and limitations under the License.
|
|
36
|
+
*/ /*
|
|
37
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
38
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
39
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
40
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
41
|
+
*
|
|
42
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
43
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
44
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
45
|
+
* governing permissions and limitations under the License.
|
|
46
|
+
*/
|
|
47
|
+
|
|
48
|
+
const $bc765a7a041310da$var$OPEN_STATES = {
|
|
49
|
+
entering: false,
|
|
50
|
+
entered: true
|
|
51
|
+
};
|
|
52
|
+
function $bc765a7a041310da$export$b847a40ee92eff38(props) {
|
|
53
|
+
var child;
|
|
54
|
+
return /*#__PURE__*/ (0, $fQOb3$react).createElement((0, $fQOb3$Transition), {
|
|
55
|
+
timeout: {
|
|
56
|
+
enter: 0,
|
|
57
|
+
exit: 350
|
|
58
|
+
},
|
|
59
|
+
...props
|
|
60
|
+
}, (state)=>(0, $fQOb3$react).Children.map(props.children, (child)=>child && /*#__PURE__*/ (0, $fQOb3$react).cloneElement(child, {
|
|
61
|
+
isOpen: !!$bc765a7a041310da$var$OPEN_STATES[state]
|
|
62
|
+
})));
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
function $70305dc5fb729c3b$var$Overlay(props, ref) {
|
|
70
|
+
let { children: children , isOpen: isOpen , container: container , onEnter: onEnter , onEntering: onEntering , onEntered: onEntered , onExit: onExit , onExiting: onExiting , onExited: onExited , nodeRef: nodeRef } = props;
|
|
71
|
+
let [exited, setExited] = (0, $fQOb3$useState)(!isOpen);
|
|
72
|
+
let handleEntered = (0, $fQOb3$useCallback)(()=>{
|
|
73
|
+
setExited(false);
|
|
74
|
+
if (onEntered) onEntered();
|
|
75
|
+
}, [
|
|
76
|
+
onEntered
|
|
77
|
+
]);
|
|
78
|
+
let handleExited = (0, $fQOb3$useCallback)(()=>{
|
|
79
|
+
setExited(true);
|
|
80
|
+
if (onExited) onExited();
|
|
81
|
+
}, [
|
|
82
|
+
onExited
|
|
83
|
+
]);
|
|
84
|
+
// Don't un-render the overlay while it's transitioning out.
|
|
85
|
+
let mountOverlay = isOpen || !exited;
|
|
86
|
+
if (!mountOverlay) // Don't bother showing anything if we don't have to.
|
|
87
|
+
return null;
|
|
88
|
+
return /*#__PURE__*/ (0, $fQOb3$react).createElement((0, $fQOb3$Overlay), {
|
|
89
|
+
portalContainer: container
|
|
90
|
+
}, /*#__PURE__*/ (0, $fQOb3$react).createElement((0, $fQOb3$Provider), {
|
|
91
|
+
ref: ref,
|
|
92
|
+
UNSAFE_style: {
|
|
93
|
+
background: "transparent",
|
|
94
|
+
isolation: "isolate"
|
|
95
|
+
},
|
|
96
|
+
isDisabled: false
|
|
97
|
+
}, /*#__PURE__*/ (0, $fQOb3$react).createElement((0, $bc765a7a041310da$export$b847a40ee92eff38), {
|
|
98
|
+
in: isOpen,
|
|
99
|
+
appear: true,
|
|
100
|
+
onExit: onExit,
|
|
101
|
+
onExiting: onExiting,
|
|
102
|
+
onExited: handleExited,
|
|
103
|
+
onEnter: onEnter,
|
|
104
|
+
onEntering: onEntering,
|
|
105
|
+
onEntered: handleEntered,
|
|
106
|
+
nodeRef: nodeRef
|
|
107
|
+
}, children)));
|
|
108
|
+
}
|
|
109
|
+
let $70305dc5fb729c3b$export$c6fdb837b070b4ff = /*#__PURE__*/ (0, $fQOb3$react).forwardRef($70305dc5fb729c3b$var$Overlay);
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
/*
|
|
113
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
114
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
115
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
116
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
117
|
+
*
|
|
118
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
119
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
120
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
121
|
+
* governing permissions and limitations under the License.
|
|
122
|
+
*/
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
var $853e19557ad8790f$exports = {};
|
|
126
|
+
|
|
127
|
+
$parcel$export($853e19557ad8790f$exports, "spectrum-Popover", () => $853e19557ad8790f$export$a62dc1b6ab23a7bb, (v) => $853e19557ad8790f$export$a62dc1b6ab23a7bb = v);
|
|
128
|
+
$parcel$export($853e19557ad8790f$exports, "react-spectrum-Popover", () => $853e19557ad8790f$export$884f6b5065bdc41a, (v) => $853e19557ad8790f$export$884f6b5065bdc41a = v);
|
|
129
|
+
$parcel$export($853e19557ad8790f$exports, "spectrum-Dialog-content", () => $853e19557ad8790f$export$cb8eccd0f3639238, (v) => $853e19557ad8790f$export$cb8eccd0f3639238 = v);
|
|
130
|
+
$parcel$export($853e19557ad8790f$exports, "spectrum-Modal-wrapper", () => $853e19557ad8790f$export$35bea187ff802494, (v) => $853e19557ad8790f$export$35bea187ff802494 = v);
|
|
131
|
+
$parcel$export($853e19557ad8790f$exports, "react-spectrum-Modal-wrapper", () => $853e19557ad8790f$export$e088717c213c31d7, (v) => $853e19557ad8790f$export$e088717c213c31d7 = v);
|
|
132
|
+
$parcel$export($853e19557ad8790f$exports, "spectrum-Modal", () => $853e19557ad8790f$export$4c0b1e44c3834c85, (v) => $853e19557ad8790f$export$4c0b1e44c3834c85 = v);
|
|
133
|
+
$parcel$export($853e19557ad8790f$exports, "react-spectrum-Modal", () => $853e19557ad8790f$export$f8edeb62d7fed8c1, (v) => $853e19557ad8790f$export$f8edeb62d7fed8c1 = v);
|
|
134
|
+
$parcel$export($853e19557ad8790f$exports, "spectrum-Tray", () => $853e19557ad8790f$export$ce0704cd084c4f0d, (v) => $853e19557ad8790f$export$ce0704cd084c4f0d = v);
|
|
135
|
+
$parcel$export($853e19557ad8790f$exports, "react-spectrum-Tray", () => $853e19557ad8790f$export$69dafa24343974dd, (v) => $853e19557ad8790f$export$69dafa24343974dd = v);
|
|
136
|
+
var $853e19557ad8790f$export$a62dc1b6ab23a7bb;
|
|
137
|
+
var $853e19557ad8790f$export$884f6b5065bdc41a;
|
|
138
|
+
var $853e19557ad8790f$export$cb8eccd0f3639238;
|
|
139
|
+
var $853e19557ad8790f$export$35bea187ff802494;
|
|
140
|
+
var $853e19557ad8790f$export$e088717c213c31d7;
|
|
141
|
+
var $853e19557ad8790f$export$4c0b1e44c3834c85;
|
|
142
|
+
var $853e19557ad8790f$export$f8edeb62d7fed8c1;
|
|
143
|
+
var $853e19557ad8790f$export$ce0704cd084c4f0d;
|
|
144
|
+
var $853e19557ad8790f$export$69dafa24343974dd;
|
|
145
|
+
$853e19557ad8790f$export$a62dc1b6ab23a7bb = "spectrum-Popover_38efea";
|
|
146
|
+
$853e19557ad8790f$export$884f6b5065bdc41a = "react-spectrum-Popover_38efea";
|
|
147
|
+
$853e19557ad8790f$export$cb8eccd0f3639238 = "spectrum-Dialog-content_38efea";
|
|
148
|
+
$853e19557ad8790f$export$35bea187ff802494 = "spectrum-Modal-wrapper_38efea";
|
|
149
|
+
$853e19557ad8790f$export$e088717c213c31d7 = "react-spectrum-Modal-wrapper_38efea";
|
|
150
|
+
$853e19557ad8790f$export$4c0b1e44c3834c85 = "spectrum-Modal_38efea";
|
|
151
|
+
$853e19557ad8790f$export$f8edeb62d7fed8c1 = "react-spectrum-Modal_38efea";
|
|
152
|
+
$853e19557ad8790f$export$ce0704cd084c4f0d = "spectrum-Tray_38efea";
|
|
153
|
+
$853e19557ad8790f$export$69dafa24343974dd = "react-spectrum-Tray_38efea";
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
var $645594d913f34a2a$exports = {};
|
|
158
|
+
|
|
159
|
+
$parcel$export($645594d913f34a2a$exports, "spectrum-Popover", () => $645594d913f34a2a$export$a62dc1b6ab23a7bb, (v) => $645594d913f34a2a$export$a62dc1b6ab23a7bb = v);
|
|
160
|
+
$parcel$export($645594d913f34a2a$exports, "is-open", () => $645594d913f34a2a$export$a9781837241c946d, (v) => $645594d913f34a2a$export$a9781837241c946d = v);
|
|
161
|
+
$parcel$export($645594d913f34a2a$exports, "spectrum-Popover--bottom", () => $645594d913f34a2a$export$6a19b19b14780d4a, (v) => $645594d913f34a2a$export$6a19b19b14780d4a = v);
|
|
162
|
+
$parcel$export($645594d913f34a2a$exports, "spectrum-Popover--top", () => $645594d913f34a2a$export$f30becfb1df0cae4, (v) => $645594d913f34a2a$export$f30becfb1df0cae4 = v);
|
|
163
|
+
$parcel$export($645594d913f34a2a$exports, "spectrum-Popover--right", () => $645594d913f34a2a$export$5fc8b429396c9f58, (v) => $645594d913f34a2a$export$5fc8b429396c9f58 = v);
|
|
164
|
+
$parcel$export($645594d913f34a2a$exports, "spectrum-Popover--left", () => $645594d913f34a2a$export$79cc55906ac5b00, (v) => $645594d913f34a2a$export$79cc55906ac5b00 = v);
|
|
165
|
+
$parcel$export($645594d913f34a2a$exports, "spectrum-Popover-tip", () => $645594d913f34a2a$export$3100ec4dc1668df1, (v) => $645594d913f34a2a$export$3100ec4dc1668df1 = v);
|
|
166
|
+
$parcel$export($645594d913f34a2a$exports, "spectrum-Popover-tip-triangle", () => $645594d913f34a2a$export$ed733fa6cf19ab80, (v) => $645594d913f34a2a$export$ed733fa6cf19ab80 = v);
|
|
167
|
+
$parcel$export($645594d913f34a2a$exports, "spectrum-Popover--dialog", () => $645594d913f34a2a$export$cf634262e726cd19, (v) => $645594d913f34a2a$export$cf634262e726cd19 = v);
|
|
168
|
+
$parcel$export($645594d913f34a2a$exports, "spectrum-Popover--withTip", () => $645594d913f34a2a$export$d8b16c5377728262, (v) => $645594d913f34a2a$export$d8b16c5377728262 = v);
|
|
169
|
+
var $645594d913f34a2a$export$a62dc1b6ab23a7bb;
|
|
170
|
+
var $645594d913f34a2a$export$a9781837241c946d;
|
|
171
|
+
var $645594d913f34a2a$export$6a19b19b14780d4a;
|
|
172
|
+
var $645594d913f34a2a$export$f30becfb1df0cae4;
|
|
173
|
+
var $645594d913f34a2a$export$5fc8b429396c9f58;
|
|
174
|
+
var $645594d913f34a2a$export$79cc55906ac5b00;
|
|
175
|
+
var $645594d913f34a2a$export$3100ec4dc1668df1;
|
|
176
|
+
var $645594d913f34a2a$export$ed733fa6cf19ab80;
|
|
177
|
+
var $645594d913f34a2a$export$cf634262e726cd19;
|
|
178
|
+
var $645594d913f34a2a$export$d8b16c5377728262;
|
|
179
|
+
$645594d913f34a2a$export$a62dc1b6ab23a7bb = "spectrum-Popover_6115b8";
|
|
180
|
+
$645594d913f34a2a$export$a9781837241c946d = "is-open_6115b8";
|
|
181
|
+
$645594d913f34a2a$export$6a19b19b14780d4a = "spectrum-Popover--bottom_6115b8";
|
|
182
|
+
$645594d913f34a2a$export$f30becfb1df0cae4 = "spectrum-Popover--top_6115b8";
|
|
183
|
+
$645594d913f34a2a$export$5fc8b429396c9f58 = "spectrum-Popover--right_6115b8";
|
|
184
|
+
$645594d913f34a2a$export$79cc55906ac5b00 = "spectrum-Popover--left_6115b8";
|
|
185
|
+
$645594d913f34a2a$export$3100ec4dc1668df1 = "spectrum-Popover-tip_6115b8";
|
|
186
|
+
$645594d913f34a2a$export$ed733fa6cf19ab80 = "spectrum-Popover-tip-triangle_6115b8";
|
|
187
|
+
$645594d913f34a2a$export$cf634262e726cd19 = "spectrum-Popover--dialog_6115b8";
|
|
188
|
+
$645594d913f34a2a$export$d8b16c5377728262 = "spectrum-Popover--withTip_6115b8";
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
/*
|
|
192
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
193
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
194
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
195
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
*
|
|
197
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
198
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
199
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
200
|
+
* governing permissions and limitations under the License.
|
|
201
|
+
*/
|
|
202
|
+
|
|
203
|
+
var $c77d7b73b2bbd0fb$exports = {};
|
|
204
|
+
|
|
205
|
+
$parcel$export($c77d7b73b2bbd0fb$exports, "spectrum-Underlay", () => $c77d7b73b2bbd0fb$export$74470528f463af97, (v) => $c77d7b73b2bbd0fb$export$74470528f463af97 = v);
|
|
206
|
+
$parcel$export($c77d7b73b2bbd0fb$exports, "is-open", () => $c77d7b73b2bbd0fb$export$a9781837241c946d, (v) => $c77d7b73b2bbd0fb$export$a9781837241c946d = v);
|
|
207
|
+
$parcel$export($c77d7b73b2bbd0fb$exports, "spectrum-Underlay--transparent", () => $c77d7b73b2bbd0fb$export$8eb3860104039b44, (v) => $c77d7b73b2bbd0fb$export$8eb3860104039b44 = v);
|
|
208
|
+
var $c77d7b73b2bbd0fb$export$74470528f463af97;
|
|
209
|
+
var $c77d7b73b2bbd0fb$export$a9781837241c946d;
|
|
210
|
+
var $c77d7b73b2bbd0fb$export$8eb3860104039b44;
|
|
211
|
+
$c77d7b73b2bbd0fb$export$74470528f463af97 = "spectrum-Underlay_eb7615";
|
|
212
|
+
$c77d7b73b2bbd0fb$export$a9781837241c946d = "is-open_eb7615";
|
|
213
|
+
$c77d7b73b2bbd0fb$export$8eb3860104039b44 = "spectrum-Underlay--transparent_eb7615";
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
function $76a452f4e3df11be$export$f360afc887607b02({ isOpen: isOpen , isTransparent: isTransparent }) {
|
|
217
|
+
return /*#__PURE__*/ (0, $fQOb3$react).createElement("div", {
|
|
218
|
+
className: (0, $fQOb3$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c77d7b73b2bbd0fb$exports))), "spectrum-Underlay", {
|
|
219
|
+
"is-open": isOpen,
|
|
220
|
+
"spectrum-Underlay--transparent": isTransparent
|
|
221
|
+
})
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Arrow placement can be done pointing right or down because those paths start at 0, x or y. Because the
|
|
229
|
+
* other two don't, they start at a fractional pixel value, it introduces rounding differences between browsers and
|
|
230
|
+
* between display types (retina with subpixels vs not retina). By flipping them with CSS we can ensure that
|
|
231
|
+
* the path always starts at 0 so that it perfectly overlaps the popover's border.
|
|
232
|
+
* See bottom of file for more explanation.
|
|
233
|
+
*/ let $17b503f7de08fecc$var$arrowPlacement = {
|
|
234
|
+
left: "right",
|
|
235
|
+
right: "right",
|
|
236
|
+
top: "bottom",
|
|
237
|
+
bottom: "bottom"
|
|
238
|
+
};
|
|
239
|
+
function $17b503f7de08fecc$var$Popover(props, ref) {
|
|
240
|
+
let { children: children , state: state , ...otherProps } = props;
|
|
241
|
+
let domRef = (0, $fQOb3$useDOMRef)(ref);
|
|
242
|
+
let wrapperRef = (0, $fQOb3$useRef)(null);
|
|
243
|
+
return /*#__PURE__*/ (0, $fQOb3$react).createElement((0, $70305dc5fb729c3b$export$c6fdb837b070b4ff), {
|
|
244
|
+
...otherProps,
|
|
245
|
+
isOpen: state.isOpen,
|
|
246
|
+
nodeRef: wrapperRef
|
|
247
|
+
}, /*#__PURE__*/ (0, $fQOb3$react).createElement($17b503f7de08fecc$var$PopoverWrapper, {
|
|
248
|
+
ref: domRef,
|
|
249
|
+
...props,
|
|
250
|
+
wrapperRef: wrapperRef
|
|
251
|
+
}, children));
|
|
252
|
+
}
|
|
253
|
+
const $17b503f7de08fecc$var$PopoverWrapper = /*#__PURE__*/ (0, $fQOb3$forwardRef)((props, ref)=>{
|
|
254
|
+
let { children: children , isOpen: isOpen , hideArrow: hideArrow , isNonModal: isNonModal , state: state , wrapperRef: wrapperRef } = props;
|
|
255
|
+
let { styleProps: styleProps } = (0, $fQOb3$useStyleProps)(props);
|
|
256
|
+
let { popoverProps: popoverProps , arrowProps: arrowProps , underlayProps: underlayProps , placement: placement } = (0, $fQOb3$usePopover)({
|
|
257
|
+
...props,
|
|
258
|
+
popoverRef: ref,
|
|
259
|
+
maxHeight: null
|
|
260
|
+
}, state);
|
|
261
|
+
// Attach Transition's nodeRef to outer most wrapper for node.reflow: https://github.com/reactjs/react-transition-group/blob/c89f807067b32eea6f68fd6c622190d88ced82e2/src/Transition.js#L231
|
|
262
|
+
return /*#__PURE__*/ (0, $fQOb3$react).createElement("div", {
|
|
263
|
+
ref: wrapperRef
|
|
264
|
+
}, !isNonModal && /*#__PURE__*/ (0, $fQOb3$react).createElement((0, $76a452f4e3df11be$export$f360afc887607b02), {
|
|
265
|
+
isTransparent: true,
|
|
266
|
+
...underlayProps,
|
|
267
|
+
isOpen: isOpen
|
|
268
|
+
}), /*#__PURE__*/ (0, $fQOb3$react).createElement("div", {
|
|
269
|
+
...styleProps,
|
|
270
|
+
...popoverProps,
|
|
271
|
+
style: {
|
|
272
|
+
...styleProps.style,
|
|
273
|
+
...popoverProps.style
|
|
274
|
+
},
|
|
275
|
+
ref: ref,
|
|
276
|
+
className: (0, $fQOb3$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($645594d913f34a2a$exports))), "spectrum-Popover", `spectrum-Popover--${placement}`, {
|
|
277
|
+
"spectrum-Popover--withTip": !hideArrow,
|
|
278
|
+
"is-open": isOpen
|
|
279
|
+
}, (0, $fQOb3$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($853e19557ad8790f$exports))), "spectrum-Popover", "react-spectrum-Popover"), styleProps.className),
|
|
280
|
+
role: "presentation",
|
|
281
|
+
"data-testid": "popover"
|
|
282
|
+
}, !isNonModal && /*#__PURE__*/ (0, $fQOb3$react).createElement((0, $fQOb3$DismissButton), {
|
|
283
|
+
onDismiss: state.close
|
|
284
|
+
}), children, hideArrow ? null : /*#__PURE__*/ (0, $fQOb3$react).createElement($17b503f7de08fecc$var$Arrow, {
|
|
285
|
+
arrowProps: arrowProps,
|
|
286
|
+
direction: $17b503f7de08fecc$var$arrowPlacement[placement]
|
|
287
|
+
}), /*#__PURE__*/ (0, $fQOb3$react).createElement((0, $fQOb3$DismissButton), {
|
|
288
|
+
onDismiss: state.close
|
|
289
|
+
})));
|
|
290
|
+
});
|
|
291
|
+
let $17b503f7de08fecc$var$ROOT_2 = Math.sqrt(2);
|
|
292
|
+
function $17b503f7de08fecc$var$Arrow(props) {
|
|
293
|
+
let [size, setSize] = (0, $fQOb3$useState)(20);
|
|
294
|
+
let [borderWidth, setBorderWidth] = (0, $fQOb3$useState)(1);
|
|
295
|
+
let ref = (0, $fQOb3$useRef)();
|
|
296
|
+
// get the css value for the tip size and divide it by 2 for this arrow implementation
|
|
297
|
+
(0, $fQOb3$useLayoutEffect)(()=>{
|
|
298
|
+
if (ref.current) {
|
|
299
|
+
let spectrumTipWidth = window.getComputedStyle(ref.current).getPropertyValue("--spectrum-popover-tip-size");
|
|
300
|
+
if (spectrumTipWidth !== "") setSize(parseInt(spectrumTipWidth, 10) / 2);
|
|
301
|
+
let spectrumBorderWidth = window.getComputedStyle(ref.current).getPropertyValue("--spectrum-popover-tip-borderWidth");
|
|
302
|
+
if (spectrumBorderWidth !== "") setBorderWidth(parseInt(spectrumBorderWidth, 10));
|
|
303
|
+
}
|
|
304
|
+
}, [
|
|
305
|
+
ref
|
|
306
|
+
]);
|
|
307
|
+
let landscape = props.direction === "top" || props.direction === "bottom";
|
|
308
|
+
let mirror = props.direction === "left" || props.direction === "top";
|
|
309
|
+
let borderDiagonal = borderWidth * $17b503f7de08fecc$var$ROOT_2;
|
|
310
|
+
let halfBorderDiagonal = borderDiagonal / 2;
|
|
311
|
+
let secondary = 2 * size + 2 * borderDiagonal;
|
|
312
|
+
let primary = size + borderDiagonal;
|
|
313
|
+
let primaryStart = mirror ? primary : 0;
|
|
314
|
+
let primaryEnd = mirror ? halfBorderDiagonal : primary - halfBorderDiagonal;
|
|
315
|
+
let secondaryStart = halfBorderDiagonal;
|
|
316
|
+
let secondaryMiddle = secondary / 2;
|
|
317
|
+
let secondaryEnd = secondary - halfBorderDiagonal;
|
|
318
|
+
let pathData = landscape ? [
|
|
319
|
+
"M",
|
|
320
|
+
secondaryStart,
|
|
321
|
+
primaryStart,
|
|
322
|
+
"L",
|
|
323
|
+
secondaryMiddle,
|
|
324
|
+
primaryEnd,
|
|
325
|
+
"L",
|
|
326
|
+
secondaryEnd,
|
|
327
|
+
primaryStart
|
|
328
|
+
] : [
|
|
329
|
+
"M",
|
|
330
|
+
primaryStart,
|
|
331
|
+
secondaryStart,
|
|
332
|
+
"L",
|
|
333
|
+
primaryEnd,
|
|
334
|
+
secondaryMiddle,
|
|
335
|
+
"L",
|
|
336
|
+
primaryStart,
|
|
337
|
+
secondaryEnd
|
|
338
|
+
];
|
|
339
|
+
let arrowProps = props.arrowProps;
|
|
340
|
+
/* use ceil because the svg needs to always accomodate the path inside it */ return /*#__PURE__*/ (0, $fQOb3$react).createElement("svg", {
|
|
341
|
+
xmlns: "http://www.w3.org/svg/2000",
|
|
342
|
+
width: Math.ceil(landscape ? secondary : primary),
|
|
343
|
+
height: Math.ceil(landscape ? primary : secondary),
|
|
344
|
+
style: props.style,
|
|
345
|
+
className: (0, $fQOb3$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($645594d913f34a2a$exports))), "spectrum-Popover-tip"),
|
|
346
|
+
ref: ref,
|
|
347
|
+
...arrowProps
|
|
348
|
+
}, /*#__PURE__*/ (0, $fQOb3$react).createElement("path", {
|
|
349
|
+
className: (0, $fQOb3$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($645594d913f34a2a$exports))), "spectrum-Popover-tip-triangle"),
|
|
350
|
+
d: pathData.join(" ")
|
|
351
|
+
}));
|
|
352
|
+
}
|
|
353
|
+
let $17b503f7de08fecc$export$5b6b19405a83ff9d = /*#__PURE__*/ (0, $fQOb3$forwardRef)($17b503f7de08fecc$var$Popover);
|
|
354
|
+
/**
|
|
355
|
+
* More explanation on popover tips.
|
|
356
|
+
* - I tried changing the calculation of the popover placement in an effort to get it squarely onto the pixel grid.
|
|
357
|
+
* This did not work because the problem was in the svg partial pixel end of the path in the popover right and popover bottom.
|
|
358
|
+
* - I tried creating an extra 'bandaid' path that matched the background color and would overlap the popover border.
|
|
359
|
+
* This didn't work because the border on the svg triangle didn't extend all the way to match nicely with the popover border.
|
|
360
|
+
* - I tried getting the client bounding box and setting the svg to that partial pixel value
|
|
361
|
+
* This didn't work because again the issue was inside the svg
|
|
362
|
+
* - I didn't try drawing the svg backwards
|
|
363
|
+
* This could still be tried
|
|
364
|
+
* - I tried changing the calculation of the popover placement AND the svg height/width so that they were all rounded
|
|
365
|
+
* This seems to have done the trick.
|
|
366
|
+
*/
|
|
367
|
+
|
|
368
|
+
/*
|
|
369
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
370
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
371
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
372
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
373
|
+
*
|
|
374
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
375
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
376
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
377
|
+
* governing permissions and limitations under the License.
|
|
378
|
+
*/
|
|
379
|
+
|
|
380
|
+
var $f7ed9f5201273840$exports = {};
|
|
381
|
+
|
|
382
|
+
$parcel$export($f7ed9f5201273840$exports, "spectrum-Modal", () => $f7ed9f5201273840$export$4c0b1e44c3834c85, (v) => $f7ed9f5201273840$export$4c0b1e44c3834c85 = v);
|
|
383
|
+
$parcel$export($f7ed9f5201273840$exports, "is-open", () => $f7ed9f5201273840$export$a9781837241c946d, (v) => $f7ed9f5201273840$export$a9781837241c946d = v);
|
|
384
|
+
$parcel$export($f7ed9f5201273840$exports, "spectrum-Modal-wrapper", () => $f7ed9f5201273840$export$35bea187ff802494, (v) => $f7ed9f5201273840$export$35bea187ff802494 = v);
|
|
385
|
+
$parcel$export($f7ed9f5201273840$exports, "spectrum-Modal--responsive", () => $f7ed9f5201273840$export$fd1e42aa8ea02a1, (v) => $f7ed9f5201273840$export$fd1e42aa8ea02a1 = v);
|
|
386
|
+
$parcel$export($f7ed9f5201273840$exports, "spectrum-Modal--fullscreen", () => $f7ed9f5201273840$export$a4423fa77727431a, (v) => $f7ed9f5201273840$export$a4423fa77727431a = v);
|
|
387
|
+
$parcel$export($f7ed9f5201273840$exports, "spectrum-Modal--fullscreenTakeover", () => $f7ed9f5201273840$export$175dd699720b5fb7, (v) => $f7ed9f5201273840$export$175dd699720b5fb7 = v);
|
|
388
|
+
var $f7ed9f5201273840$export$4c0b1e44c3834c85;
|
|
389
|
+
var $f7ed9f5201273840$export$a9781837241c946d;
|
|
390
|
+
var $f7ed9f5201273840$export$35bea187ff802494;
|
|
391
|
+
var $f7ed9f5201273840$export$fd1e42aa8ea02a1;
|
|
392
|
+
var $f7ed9f5201273840$export$a4423fa77727431a;
|
|
393
|
+
var $f7ed9f5201273840$export$175dd699720b5fb7;
|
|
394
|
+
$f7ed9f5201273840$export$4c0b1e44c3834c85 = "spectrum-Modal_f81956";
|
|
395
|
+
$f7ed9f5201273840$export$a9781837241c946d = "is-open_f81956";
|
|
396
|
+
$f7ed9f5201273840$export$35bea187ff802494 = "spectrum-Modal-wrapper_f81956";
|
|
397
|
+
$f7ed9f5201273840$export$fd1e42aa8ea02a1 = "spectrum-Modal--responsive_f81956";
|
|
398
|
+
$f7ed9f5201273840$export$a4423fa77727431a = "spectrum-Modal--fullscreen_f81956";
|
|
399
|
+
$f7ed9f5201273840$export$175dd699720b5fb7 = "spectrum-Modal--fullscreenTakeover_f81956";
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
function $842084dfa182af65$var$Modal(props, ref) {
|
|
408
|
+
let { children: children , state: state , ...otherProps } = props;
|
|
409
|
+
let domRef = (0, $fQOb3$useDOMRef)(ref);
|
|
410
|
+
let wrapperRef = (0, $fQOb3$useRef)(null);
|
|
411
|
+
return /*#__PURE__*/ (0, $fQOb3$react).createElement((0, $70305dc5fb729c3b$export$c6fdb837b070b4ff), {
|
|
412
|
+
...otherProps,
|
|
413
|
+
isOpen: state.isOpen,
|
|
414
|
+
nodeRef: wrapperRef
|
|
415
|
+
}, /*#__PURE__*/ (0, $fQOb3$react).createElement($842084dfa182af65$var$ModalWrapper, {
|
|
416
|
+
...props,
|
|
417
|
+
wrapperRef: wrapperRef,
|
|
418
|
+
ref: domRef
|
|
419
|
+
}, children));
|
|
420
|
+
}
|
|
421
|
+
let $842084dfa182af65$var$typeMap = {
|
|
422
|
+
fullscreen: "fullscreen",
|
|
423
|
+
fullscreenTakeover: "fullscreenTakeover"
|
|
424
|
+
};
|
|
425
|
+
let $842084dfa182af65$var$ModalWrapper = /*#__PURE__*/ (0, $fQOb3$forwardRef)(function(props, ref) {
|
|
426
|
+
let { type: type , children: children , state: state , isOpen: isOpen , wrapperRef: wrapperRef } = props;
|
|
427
|
+
let typeVariant = $842084dfa182af65$var$typeMap[type];
|
|
428
|
+
let { styleProps: styleProps } = (0, $fQOb3$useStyleProps)(props);
|
|
429
|
+
let { modalProps: modalProps , underlayProps: underlayProps } = (0, $fQOb3$useModalOverlay)(props, state, ref);
|
|
430
|
+
let wrapperClassName = (0, $fQOb3$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f7ed9f5201273840$exports))), "spectrum-Modal-wrapper", (0, $fQOb3$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($853e19557ad8790f$exports))), "spectrum-Modal-wrapper", "react-spectrum-Modal-wrapper"));
|
|
431
|
+
let modalClassName = (0, $fQOb3$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($f7ed9f5201273840$exports))), "spectrum-Modal", {
|
|
432
|
+
"is-open": isOpen
|
|
433
|
+
}, (0, $fQOb3$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($853e19557ad8790f$exports))), "spectrum-Modal", "react-spectrum-Modal"), {
|
|
434
|
+
[`spectrum-Modal--${typeVariant}`]: typeVariant
|
|
435
|
+
}, styleProps.className);
|
|
436
|
+
let viewport = (0, $fQOb3$useViewportSize)();
|
|
437
|
+
let style = {
|
|
438
|
+
"--spectrum-visual-viewport-height": viewport.height + "px"
|
|
439
|
+
};
|
|
440
|
+
// Attach Transition's nodeRef to outer most wrapper for node.reflow: https://github.com/reactjs/react-transition-group/blob/c89f807067b32eea6f68fd6c622190d88ced82e2/src/Transition.js#L231
|
|
441
|
+
return /*#__PURE__*/ (0, $fQOb3$react).createElement("div", {
|
|
442
|
+
ref: wrapperRef
|
|
443
|
+
}, /*#__PURE__*/ (0, $fQOb3$react).createElement((0, $76a452f4e3df11be$export$f360afc887607b02), {
|
|
444
|
+
...underlayProps,
|
|
445
|
+
isOpen: isOpen
|
|
446
|
+
}), /*#__PURE__*/ (0, $fQOb3$react).createElement("div", {
|
|
447
|
+
className: wrapperClassName,
|
|
448
|
+
style: style
|
|
449
|
+
}, /*#__PURE__*/ (0, $fQOb3$react).createElement("div", {
|
|
450
|
+
...styleProps,
|
|
451
|
+
...modalProps,
|
|
452
|
+
ref: ref,
|
|
453
|
+
className: modalClassName,
|
|
454
|
+
"data-testid": "modal"
|
|
455
|
+
}, children)));
|
|
456
|
+
});
|
|
457
|
+
let $842084dfa182af65$export$2b77a92f1a5ad772 = /*#__PURE__*/ (0, $fQOb3$forwardRef)($842084dfa182af65$var$Modal);
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
/*
|
|
461
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
462
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
463
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
464
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
465
|
+
*
|
|
466
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
467
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
468
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
469
|
+
* governing permissions and limitations under the License.
|
|
470
|
+
*/
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
var $930b2f4095bb11d1$exports = {};
|
|
476
|
+
|
|
477
|
+
$parcel$export($930b2f4095bb11d1$exports, "spectrum-Tray", () => $930b2f4095bb11d1$export$ce0704cd084c4f0d, (v) => $930b2f4095bb11d1$export$ce0704cd084c4f0d = v);
|
|
478
|
+
$parcel$export($930b2f4095bb11d1$exports, "is-open", () => $930b2f4095bb11d1$export$a9781837241c946d, (v) => $930b2f4095bb11d1$export$a9781837241c946d = v);
|
|
479
|
+
$parcel$export($930b2f4095bb11d1$exports, "spectrum-Tray-wrapper", () => $930b2f4095bb11d1$export$641b9b70c23dce66, (v) => $930b2f4095bb11d1$export$641b9b70c23dce66 = v);
|
|
480
|
+
$parcel$export($930b2f4095bb11d1$exports, "spectrum-Tray--fixedHeight", () => $930b2f4095bb11d1$export$79bfb05e59a300b, (v) => $930b2f4095bb11d1$export$79bfb05e59a300b = v);
|
|
481
|
+
var $930b2f4095bb11d1$export$ce0704cd084c4f0d;
|
|
482
|
+
var $930b2f4095bb11d1$export$a9781837241c946d;
|
|
483
|
+
var $930b2f4095bb11d1$export$641b9b70c23dce66;
|
|
484
|
+
var $930b2f4095bb11d1$export$79bfb05e59a300b;
|
|
485
|
+
$930b2f4095bb11d1$export$ce0704cd084c4f0d = "spectrum-Tray_23bf66";
|
|
486
|
+
$930b2f4095bb11d1$export$a9781837241c946d = "is-open_23bf66";
|
|
487
|
+
$930b2f4095bb11d1$export$641b9b70c23dce66 = "spectrum-Tray-wrapper_23bf66";
|
|
488
|
+
$930b2f4095bb11d1$export$79bfb05e59a300b = "spectrum-Tray--fixedHeight_23bf66";
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
function $1afc87f3d16a5a1c$var$Tray(props, ref) {
|
|
494
|
+
let { children: children , state: state , ...otherProps } = props;
|
|
495
|
+
let domRef = (0, $fQOb3$useDOMRef)(ref);
|
|
496
|
+
let wrapperRef = (0, $fQOb3$useRef)(null);
|
|
497
|
+
return /*#__PURE__*/ (0, $fQOb3$react).createElement((0, $70305dc5fb729c3b$export$c6fdb837b070b4ff), {
|
|
498
|
+
...otherProps,
|
|
499
|
+
isOpen: state.isOpen,
|
|
500
|
+
nodeRef: wrapperRef
|
|
501
|
+
}, /*#__PURE__*/ (0, $fQOb3$react).createElement($1afc87f3d16a5a1c$var$TrayWrapper, {
|
|
502
|
+
...props,
|
|
503
|
+
wrapperRef: wrapperRef,
|
|
504
|
+
ref: domRef
|
|
505
|
+
}, children));
|
|
506
|
+
}
|
|
507
|
+
let $1afc87f3d16a5a1c$var$TrayWrapper = /*#__PURE__*/ (0, $fQOb3$forwardRef)(function(props, ref) {
|
|
508
|
+
let { children: children , isOpen: isOpen , isFixedHeight: isFixedHeight , state: state , wrapperRef: wrapperRef } = props;
|
|
509
|
+
let { styleProps: styleProps } = (0, $fQOb3$useStyleProps)(props);
|
|
510
|
+
let { modalProps: modalProps , underlayProps: underlayProps } = (0, $fQOb3$useModalOverlay)({
|
|
511
|
+
...props,
|
|
512
|
+
isDismissable: true
|
|
513
|
+
}, state, ref);
|
|
514
|
+
// We need to measure the window's height in JS rather than using percentages in CSS
|
|
515
|
+
// so that contents (e.g. menu) can inherit the max-height properly. Using percentages
|
|
516
|
+
// does not work properly because there is nothing to base the percentage on.
|
|
517
|
+
// We cannot use vh units because mobile browsers adjust the window height dynamically
|
|
518
|
+
// when the address bar/bottom toolbars show and hide on scroll and vh units are fixed.
|
|
519
|
+
// Also, the visual viewport is smaller than the layout viewport when the virtual keyboard
|
|
520
|
+
// is up, so use the VisualViewport API to ensure the tray is displayed above the keyboard.
|
|
521
|
+
let viewport = (0, $fQOb3$useViewportSize)();
|
|
522
|
+
let wrapperStyle = {
|
|
523
|
+
"--spectrum-visual-viewport-height": viewport.height + "px"
|
|
524
|
+
};
|
|
525
|
+
let wrapperClassName = (0, $fQOb3$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($930b2f4095bb11d1$exports))), "spectrum-Tray-wrapper");
|
|
526
|
+
let className = (0, $fQOb3$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($930b2f4095bb11d1$exports))), "spectrum-Tray", {
|
|
527
|
+
"is-open": isOpen,
|
|
528
|
+
"spectrum-Tray--fixedHeight": isFixedHeight
|
|
529
|
+
}, (0, $fQOb3$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($853e19557ad8790f$exports))), "spectrum-Tray", "react-spectrum-Tray"), styleProps.className);
|
|
530
|
+
// Attach Transition's nodeRef to outer most wrapper for node.reflow: https://github.com/reactjs/react-transition-group/blob/c89f807067b32eea6f68fd6c622190d88ced82e2/src/Transition.js#L231
|
|
531
|
+
return /*#__PURE__*/ (0, $fQOb3$react).createElement("div", {
|
|
532
|
+
ref: wrapperRef
|
|
533
|
+
}, /*#__PURE__*/ (0, $fQOb3$react).createElement((0, $76a452f4e3df11be$export$f360afc887607b02), {
|
|
534
|
+
...underlayProps,
|
|
535
|
+
isOpen: isOpen
|
|
536
|
+
}), /*#__PURE__*/ (0, $fQOb3$react).createElement("div", {
|
|
537
|
+
className: wrapperClassName,
|
|
538
|
+
style: wrapperStyle
|
|
539
|
+
}, /*#__PURE__*/ (0, $fQOb3$react).createElement("div", {
|
|
540
|
+
...styleProps,
|
|
541
|
+
...modalProps,
|
|
542
|
+
className: className,
|
|
543
|
+
ref: ref,
|
|
544
|
+
"data-testid": "tray"
|
|
545
|
+
}, /*#__PURE__*/ (0, $fQOb3$react).createElement((0, $fQOb3$DismissButton), {
|
|
546
|
+
onDismiss: state.close
|
|
547
|
+
}), children, /*#__PURE__*/ (0, $fQOb3$react).createElement((0, $fQOb3$DismissButton), {
|
|
548
|
+
onDismiss: state.close
|
|
549
|
+
}))));
|
|
550
|
+
});
|
|
551
|
+
let $1afc87f3d16a5a1c$export$4589ed81930b555c = /*#__PURE__*/ (0, $fQOb3$forwardRef)($1afc87f3d16a5a1c$var$Tray);
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
export {$70305dc5fb729c3b$export$c6fdb837b070b4ff as Overlay, $17b503f7de08fecc$export$5b6b19405a83ff9d as Popover, $842084dfa182af65$export$2b77a92f1a5ad772 as Modal, $1afc87f3d16a5a1c$export$4589ed81930b555c as Tray, $bc765a7a041310da$export$b847a40ee92eff38 as OpenTransition};
|
|
558
|
+
//# sourceMappingURL=module.js.map
|