@react-spectrum/menu 3.15.2-nightly.4250 → 3.15.2-nightly.4256
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 +122 -166
- package/dist/main.js +125 -169
- package/dist/main.js.map +1 -1
- package/dist/module.js +122 -166
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +29 -29
- package/src/ContextualHelpTrigger.tsx +3 -3
- package/src/MenuItem.tsx +2 -2
- package/src/MenuSection.tsx +2 -2
package/dist/import.mjs
CHANGED
|
@@ -21,88 +21,104 @@ import {DismissButton as $9SHwR$DismissButton} from "@react-aria/overlays";
|
|
|
21
21
|
import {useOverlayTriggerState as $9SHwR$useOverlayTriggerState} from "@react-stately/overlays";
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
function $parcel$export(e, n, v, s) {
|
|
25
|
-
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
26
|
-
}
|
|
27
|
-
|
|
28
24
|
function $parcel$interopDefault(a) {
|
|
29
25
|
return a && a.__esModule ? a.default : a;
|
|
30
26
|
}
|
|
31
27
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
28
|
+
function $parcel$export(e, n, v, s) {
|
|
29
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
30
|
+
}
|
|
31
|
+
/*
|
|
32
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
33
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
34
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
35
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
36
|
+
*
|
|
37
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
38
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
39
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
40
|
+
* governing permissions and limitations under the License.
|
|
41
|
+
*/ /// <reference types="css-module-types" />
|
|
42
|
+
/*
|
|
43
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
44
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
45
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
46
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
47
|
+
*
|
|
48
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
49
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
50
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
51
|
+
* governing permissions and limitations under the License.
|
|
52
|
+
*/
|
|
53
|
+
/*
|
|
54
|
+
* Copyright 2020 Adobe. All rights reserved.
|
|
55
|
+
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
56
|
+
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
57
|
+
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
58
|
+
*
|
|
59
|
+
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
60
|
+
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
61
|
+
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
62
|
+
* governing permissions and limitations under the License.
|
|
63
|
+
*/
|
|
64
|
+
const $d94604d52c3e3feb$export$c7e742effb1c51e2 = (0, $9SHwR$react).createContext({});
|
|
65
|
+
function $d94604d52c3e3feb$export$21c7ab35b39f78ec() {
|
|
66
|
+
return (0, $9SHwR$useContext)($d94604d52c3e3feb$export$c7e742effb1c51e2);
|
|
67
|
+
}
|
|
68
|
+
const $d94604d52c3e3feb$export$e239f1ef5b7afe1a = (0, $9SHwR$react).createContext(undefined);
|
|
69
|
+
function $d94604d52c3e3feb$export$4bbcd0ebecc48abd() {
|
|
70
|
+
return (0, $9SHwR$useContext)($d94604d52c3e3feb$export$e239f1ef5b7afe1a);
|
|
71
|
+
}
|
|
72
|
+
const $d94604d52c3e3feb$export$24aad8519b95b41b = (0, $9SHwR$react).createContext({});
|
|
73
|
+
function $d94604d52c3e3feb$export$efa3856fc0e85e7f() {
|
|
74
|
+
return (0, $9SHwR$useContext)($d94604d52c3e3feb$export$24aad8519b95b41b);
|
|
75
|
+
}
|
|
36
76
|
|
|
37
|
-
var parcelRequire = $parcel$global["parcelRequire7f0c"];
|
|
38
77
|
|
|
39
|
-
if (parcelRequire == null) {
|
|
40
|
-
parcelRequire = function(id) {
|
|
41
|
-
if (id in $parcel$modules) {
|
|
42
|
-
return $parcel$modules[id].exports;
|
|
43
|
-
}
|
|
44
|
-
if (id in $parcel$inits) {
|
|
45
|
-
var init = $parcel$inits[id];
|
|
46
|
-
delete $parcel$inits[id];
|
|
47
|
-
var module = {id: id, exports: {}};
|
|
48
|
-
$parcel$modules[id] = module;
|
|
49
|
-
init.call(module.exports, module, module.exports);
|
|
50
|
-
return module.exports;
|
|
51
|
-
}
|
|
52
|
-
var err = new Error("Cannot find module '" + id + "'");
|
|
53
|
-
err.code = 'MODULE_NOT_FOUND';
|
|
54
|
-
throw err;
|
|
55
|
-
};
|
|
56
78
|
|
|
57
|
-
parcelRequire.register = function register(id, init) {
|
|
58
|
-
$parcel$inits[id] = init;
|
|
59
|
-
};
|
|
60
79
|
|
|
61
|
-
$parcel$global["parcelRequire7f0c"] = parcelRequire;
|
|
62
|
-
}
|
|
63
80
|
|
|
64
|
-
var
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
$parcel$export(
|
|
68
|
-
$parcel$export(
|
|
69
|
-
$parcel$export(
|
|
70
|
-
$parcel$export(
|
|
71
|
-
$parcel$export(
|
|
72
|
-
$parcel$export(
|
|
73
|
-
$parcel$export(
|
|
74
|
-
$parcel$export(
|
|
75
|
-
$parcel$export(
|
|
76
|
-
$parcel$export(
|
|
77
|
-
$parcel$export(
|
|
78
|
-
$parcel$export(
|
|
79
|
-
$parcel$export(
|
|
80
|
-
$parcel$export(
|
|
81
|
-
$parcel$export(
|
|
82
|
-
$parcel$export(
|
|
83
|
-
$parcel$export(
|
|
84
|
-
$parcel$export(
|
|
85
|
-
$parcel$export(
|
|
86
|
-
$parcel$export(
|
|
87
|
-
$parcel$export(
|
|
88
|
-
$parcel$export(
|
|
89
|
-
$parcel$export(
|
|
90
|
-
$parcel$export(
|
|
91
|
-
$parcel$export(
|
|
92
|
-
$parcel$export(
|
|
93
|
-
$parcel$export(
|
|
94
|
-
$parcel$export(
|
|
95
|
-
$parcel$export(
|
|
96
|
-
$parcel$export(
|
|
97
|
-
$parcel$export(
|
|
98
|
-
$parcel$export(
|
|
99
|
-
$parcel$export(
|
|
100
|
-
$parcel$export(
|
|
101
|
-
$parcel$export(
|
|
102
|
-
$parcel$export(
|
|
103
|
-
$parcel$export(
|
|
104
|
-
$parcel$export(
|
|
105
|
-
$parcel$export(module.exports, "text", () => $286d1cb34bb7dc84$export$6f093cfa640b7166, (v) => $286d1cb34bb7dc84$export$6f093cfa640b7166 = v);
|
|
81
|
+
var $286d1cb34bb7dc84$exports = {};
|
|
82
|
+
|
|
83
|
+
$parcel$export($286d1cb34bb7dc84$exports, "checkmark", () => $286d1cb34bb7dc84$export$292abbf31ed842a, (v) => $286d1cb34bb7dc84$export$292abbf31ed842a = v);
|
|
84
|
+
$parcel$export($286d1cb34bb7dc84$exports, "description", () => $286d1cb34bb7dc84$export$6d59db4903f20f7d, (v) => $286d1cb34bb7dc84$export$6d59db4903f20f7d = v);
|
|
85
|
+
$parcel$export($286d1cb34bb7dc84$exports, "end", () => $286d1cb34bb7dc84$export$bd5df0f255a350f8, (v) => $286d1cb34bb7dc84$export$bd5df0f255a350f8 = v);
|
|
86
|
+
$parcel$export($286d1cb34bb7dc84$exports, "focus-ring", () => $286d1cb34bb7dc84$export$f39a09f249340e2a, (v) => $286d1cb34bb7dc84$export$f39a09f249340e2a = v);
|
|
87
|
+
$parcel$export($286d1cb34bb7dc84$exports, "i18nFontFamily", () => $286d1cb34bb7dc84$export$8c4ee2c50c22c514, (v) => $286d1cb34bb7dc84$export$8c4ee2c50c22c514 = v);
|
|
88
|
+
$parcel$export($286d1cb34bb7dc84$exports, "icon", () => $286d1cb34bb7dc84$export$1ca1ec8b29a4ce27, (v) => $286d1cb34bb7dc84$export$1ca1ec8b29a4ce27 = v);
|
|
89
|
+
$parcel$export($286d1cb34bb7dc84$exports, "is-active", () => $286d1cb34bb7dc84$export$20fd0f7cd4e6112f, (v) => $286d1cb34bb7dc84$export$20fd0f7cd4e6112f = v);
|
|
90
|
+
$parcel$export($286d1cb34bb7dc84$exports, "is-disabled", () => $286d1cb34bb7dc84$export$d35bc1e505d1ebbf, (v) => $286d1cb34bb7dc84$export$d35bc1e505d1ebbf = v);
|
|
91
|
+
$parcel$export($286d1cb34bb7dc84$exports, "is-focused", () => $286d1cb34bb7dc84$export$e7dc768d35940237, (v) => $286d1cb34bb7dc84$export$e7dc768d35940237 = v);
|
|
92
|
+
$parcel$export($286d1cb34bb7dc84$exports, "is-highlighted", () => $286d1cb34bb7dc84$export$451c613d0772eb99, (v) => $286d1cb34bb7dc84$export$451c613d0772eb99 = v);
|
|
93
|
+
$parcel$export($286d1cb34bb7dc84$exports, "is-hovered", () => $286d1cb34bb7dc84$export$b8813cd5d7824ce7, (v) => $286d1cb34bb7dc84$export$b8813cd5d7824ce7 = v);
|
|
94
|
+
$parcel$export($286d1cb34bb7dc84$exports, "is-open", () => $286d1cb34bb7dc84$export$a9781837241c946d, (v) => $286d1cb34bb7dc84$export$a9781837241c946d = v);
|
|
95
|
+
$parcel$export($286d1cb34bb7dc84$exports, "is-selectable", () => $286d1cb34bb7dc84$export$fbd22ba224473193, (v) => $286d1cb34bb7dc84$export$fbd22ba224473193 = v);
|
|
96
|
+
$parcel$export($286d1cb34bb7dc84$exports, "is-selected", () => $286d1cb34bb7dc84$export$1e0fb04f31d3c22a, (v) => $286d1cb34bb7dc84$export$1e0fb04f31d3c22a = v);
|
|
97
|
+
$parcel$export($286d1cb34bb7dc84$exports, "keyboard", () => $286d1cb34bb7dc84$export$cfdd767f5a513509, (v) => $286d1cb34bb7dc84$export$cfdd767f5a513509 = v);
|
|
98
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-FocusRing-ring", () => $286d1cb34bb7dc84$export$4109102f950813a6, (v) => $286d1cb34bb7dc84$export$4109102f950813a6 = v);
|
|
99
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-FocusRing", () => $286d1cb34bb7dc84$export$24c7f46a6e3605dd, (v) => $286d1cb34bb7dc84$export$24c7f46a6e3605dd = v);
|
|
100
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-FocusRing--quiet", () => $286d1cb34bb7dc84$export$2927016961429360, (v) => $286d1cb34bb7dc84$export$2927016961429360 = v);
|
|
101
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Icon", () => $286d1cb34bb7dc84$export$d374b04f30360026, (v) => $286d1cb34bb7dc84$export$d374b04f30360026 = v);
|
|
102
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu", () => $286d1cb34bb7dc84$export$fae6af6decd50ac5, (v) => $286d1cb34bb7dc84$export$fae6af6decd50ac5 = v);
|
|
103
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-checkmark", () => $286d1cb34bb7dc84$export$8e15a726e4f7e62d, (v) => $286d1cb34bb7dc84$export$8e15a726e4f7e62d = v);
|
|
104
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-description", () => $286d1cb34bb7dc84$export$36f1275051e39ead, (v) => $286d1cb34bb7dc84$export$36f1275051e39ead = v);
|
|
105
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-divider", () => $286d1cb34bb7dc84$export$e892026f534efed8, (v) => $286d1cb34bb7dc84$export$e892026f534efed8 = v);
|
|
106
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-end", () => $286d1cb34bb7dc84$export$926a1bb74ed65667, (v) => $286d1cb34bb7dc84$export$926a1bb74ed65667 = v);
|
|
107
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-icon", () => $286d1cb34bb7dc84$export$cbbae63ef9e44c7a, (v) => $286d1cb34bb7dc84$export$cbbae63ef9e44c7a = v);
|
|
108
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-item", () => $286d1cb34bb7dc84$export$45faad328e6c532b, (v) => $286d1cb34bb7dc84$export$45faad328e6c532b = v);
|
|
109
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-itemGrid", () => $286d1cb34bb7dc84$export$ee5f52784f57f9c8, (v) => $286d1cb34bb7dc84$export$ee5f52784f57f9c8 = v);
|
|
110
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-itemIcon", () => $286d1cb34bb7dc84$export$f431001e1bb54633, (v) => $286d1cb34bb7dc84$export$f431001e1bb54633 = v);
|
|
111
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-itemLabel", () => $286d1cb34bb7dc84$export$1aa6419c5c650567, (v) => $286d1cb34bb7dc84$export$1aa6419c5c650567 = v);
|
|
112
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-itemLabel--wrapping", () => $286d1cb34bb7dc84$export$465092164a8e1d98, (v) => $286d1cb34bb7dc84$export$465092164a8e1d98 = v);
|
|
113
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-keyboard", () => $286d1cb34bb7dc84$export$4f9817a7dff6ba0f, (v) => $286d1cb34bb7dc84$export$4f9817a7dff6ba0f = v);
|
|
114
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-popover", () => $286d1cb34bb7dc84$export$d959f30786125b, (v) => $286d1cb34bb7dc84$export$d959f30786125b = v);
|
|
115
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-section--isFirst", () => $286d1cb34bb7dc84$export$dae331c15950f1e, (v) => $286d1cb34bb7dc84$export$dae331c15950f1e = v);
|
|
116
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-section--isLast", () => $286d1cb34bb7dc84$export$9778864c5b622fbc, (v) => $286d1cb34bb7dc84$export$9778864c5b622fbc = v);
|
|
117
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-section--noHeading", () => $286d1cb34bb7dc84$export$8b61ec49b96ad17e, (v) => $286d1cb34bb7dc84$export$8b61ec49b96ad17e = v);
|
|
118
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-sectionHeading", () => $286d1cb34bb7dc84$export$c20ea4b35020fbdd, (v) => $286d1cb34bb7dc84$export$c20ea4b35020fbdd = v);
|
|
119
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-subdialog", () => $286d1cb34bb7dc84$export$d7e47bfca92b5744, (v) => $286d1cb34bb7dc84$export$d7e47bfca92b5744 = v);
|
|
120
|
+
$parcel$export($286d1cb34bb7dc84$exports, "spectrum-Menu-wrapper", () => $286d1cb34bb7dc84$export$76d36e55740ad742, (v) => $286d1cb34bb7dc84$export$76d36e55740ad742 = v);
|
|
121
|
+
$parcel$export($286d1cb34bb7dc84$exports, "text", () => $286d1cb34bb7dc84$export$6f093cfa640b7166, (v) => $286d1cb34bb7dc84$export$6f093cfa640b7166 = v);
|
|
106
122
|
var $286d1cb34bb7dc84$export$292abbf31ed842a;
|
|
107
123
|
var $286d1cb34bb7dc84$export$6d59db4903f20f7d;
|
|
108
124
|
var $286d1cb34bb7dc84$export$bd5df0f255a350f8;
|
|
@@ -182,77 +198,7 @@ $286d1cb34bb7dc84$export$d7e47bfca92b5744 = `Q7FggG_spectrum-Menu-subdialog`;
|
|
|
182
198
|
$286d1cb34bb7dc84$export$76d36e55740ad742 = `Q7FggG_spectrum-Menu-wrapper`;
|
|
183
199
|
$286d1cb34bb7dc84$export$6f093cfa640b7166 = `Q7FggG_text`;
|
|
184
200
|
|
|
185
|
-
});
|
|
186
|
-
|
|
187
|
-
parcelRegister("gS7K3", function(module, exports) {
|
|
188
201
|
|
|
189
|
-
$parcel$export(module.exports, "react-spectrum-ContextualHelp-button", () => $c487b1d738ebeac2$export$20d9583c9f1529c1, (v) => $c487b1d738ebeac2$export$20d9583c9f1529c1 = v);
|
|
190
|
-
$parcel$export(module.exports, "react-spectrum-ContextualHelp-content", () => $c487b1d738ebeac2$export$a1f805890cf58c4, (v) => $c487b1d738ebeac2$export$a1f805890cf58c4 = v);
|
|
191
|
-
$parcel$export(module.exports, "react-spectrum-ContextualHelp-dialog", () => $c487b1d738ebeac2$export$ab2d873674d20d28, (v) => $c487b1d738ebeac2$export$ab2d873674d20d28 = v);
|
|
192
|
-
$parcel$export(module.exports, "react-spectrum-ContextualHelp-footer", () => $c487b1d738ebeac2$export$d901bc3fa82b87a6, (v) => $c487b1d738ebeac2$export$d901bc3fa82b87a6 = v);
|
|
193
|
-
var $c487b1d738ebeac2$export$20d9583c9f1529c1;
|
|
194
|
-
var $c487b1d738ebeac2$export$a1f805890cf58c4;
|
|
195
|
-
var $c487b1d738ebeac2$export$ab2d873674d20d28;
|
|
196
|
-
var $c487b1d738ebeac2$export$d901bc3fa82b87a6;
|
|
197
|
-
$c487b1d738ebeac2$export$20d9583c9f1529c1 = `L6gUaa_react-spectrum-ContextualHelp-button`;
|
|
198
|
-
$c487b1d738ebeac2$export$a1f805890cf58c4 = `L6gUaa_react-spectrum-ContextualHelp-content`;
|
|
199
|
-
$c487b1d738ebeac2$export$ab2d873674d20d28 = `L6gUaa_react-spectrum-ContextualHelp-dialog`;
|
|
200
|
-
$c487b1d738ebeac2$export$d901bc3fa82b87a6 = `L6gUaa_react-spectrum-ContextualHelp-footer`;
|
|
201
|
-
|
|
202
|
-
});
|
|
203
|
-
|
|
204
|
-
/*
|
|
205
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
206
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
207
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
208
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
209
|
-
*
|
|
210
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
211
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
212
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
213
|
-
* governing permissions and limitations under the License.
|
|
214
|
-
*/ /// <reference types="css-module-types" />
|
|
215
|
-
/*
|
|
216
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
217
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
218
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
219
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
220
|
-
*
|
|
221
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
222
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
223
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
224
|
-
* governing permissions and limitations under the License.
|
|
225
|
-
*/
|
|
226
|
-
/*
|
|
227
|
-
* Copyright 2020 Adobe. All rights reserved.
|
|
228
|
-
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
229
|
-
* you may not use this file except in compliance with the License. You may obtain a copy
|
|
230
|
-
* of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
231
|
-
*
|
|
232
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
|
233
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
234
|
-
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
235
|
-
* governing permissions and limitations under the License.
|
|
236
|
-
*/
|
|
237
|
-
const $d94604d52c3e3feb$export$c7e742effb1c51e2 = (0, $9SHwR$react).createContext({});
|
|
238
|
-
function $d94604d52c3e3feb$export$21c7ab35b39f78ec() {
|
|
239
|
-
return (0, $9SHwR$useContext)($d94604d52c3e3feb$export$c7e742effb1c51e2);
|
|
240
|
-
}
|
|
241
|
-
const $d94604d52c3e3feb$export$e239f1ef5b7afe1a = (0, $9SHwR$react).createContext(undefined);
|
|
242
|
-
function $d94604d52c3e3feb$export$4bbcd0ebecc48abd() {
|
|
243
|
-
return (0, $9SHwR$useContext)($d94604d52c3e3feb$export$e239f1ef5b7afe1a);
|
|
244
|
-
}
|
|
245
|
-
const $d94604d52c3e3feb$export$24aad8519b95b41b = (0, $9SHwR$react).createContext({});
|
|
246
|
-
function $d94604d52c3e3feb$export$efa3856fc0e85e7f() {
|
|
247
|
-
return (0, $9SHwR$useContext)($d94604d52c3e3feb$export$24aad8519b95b41b);
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
var $3tbDX = parcelRequire("3tbDX");
|
|
256
202
|
|
|
257
203
|
|
|
258
204
|
function $aa0b855f135b86e3$var$MenuTrigger(props, ref) {
|
|
@@ -291,7 +237,7 @@ function $aa0b855f135b86e3$var$MenuTrigger(props, ref) {
|
|
|
291
237
|
width: "100%",
|
|
292
238
|
maxHeight: "inherit"
|
|
293
239
|
} : undefined,
|
|
294
|
-
UNSAFE_className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
240
|
+
UNSAFE_className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), {
|
|
295
241
|
"spectrum-Menu-popover": !isMobile
|
|
296
242
|
})
|
|
297
243
|
};
|
|
@@ -676,7 +622,6 @@ $90339528ca3fdd88$exports = {
|
|
|
676
622
|
|
|
677
623
|
|
|
678
624
|
|
|
679
|
-
var $3tbDX = parcelRequire("3tbDX");
|
|
680
625
|
|
|
681
626
|
|
|
682
627
|
|
|
@@ -720,44 +665,44 @@ function $48fb8f5e1202c980$export$2ce376c2cc3355c8(props) {
|
|
|
720
665
|
}
|
|
721
666
|
let contents = typeof rendered === "string" ? /*#__PURE__*/ (0, $9SHwR$react).createElement((0, $9SHwR$Text), null, rendered) : rendered;
|
|
722
667
|
return /*#__PURE__*/ (0, $9SHwR$react).createElement((0, $9SHwR$FocusRing), {
|
|
723
|
-
focusRingClass: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
668
|
+
focusRingClass: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), "focus-ring")
|
|
724
669
|
}, /*#__PURE__*/ (0, $9SHwR$react).createElement(ElementType, {
|
|
725
670
|
...menuItemProps,
|
|
726
671
|
ref: ref,
|
|
727
|
-
className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
672
|
+
className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), "spectrum-Menu-item", {
|
|
728
673
|
"is-disabled": isDisabled,
|
|
729
674
|
"is-selected": isSelected,
|
|
730
675
|
"is-selectable": state.selectionManager.selectionMode !== "none",
|
|
731
676
|
"is-open": state.expandedKeys.has(key)
|
|
732
677
|
})
|
|
733
678
|
}, /*#__PURE__*/ (0, $9SHwR$react).createElement((0, $9SHwR$Grid), {
|
|
734
|
-
UNSAFE_className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
679
|
+
UNSAFE_className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), "spectrum-Menu-itemGrid")
|
|
735
680
|
}, /*#__PURE__*/ (0, $9SHwR$react).createElement((0, $9SHwR$ClearSlots), null, /*#__PURE__*/ (0, $9SHwR$react).createElement((0, $9SHwR$SlotProvider), {
|
|
736
681
|
slots: {
|
|
737
682
|
text: {
|
|
738
|
-
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($
|
|
683
|
+
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports)))["spectrum-Menu-itemLabel"],
|
|
739
684
|
...labelProps
|
|
740
685
|
},
|
|
741
686
|
end: {
|
|
742
|
-
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($
|
|
687
|
+
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports)))["spectrum-Menu-end"],
|
|
743
688
|
...endProps
|
|
744
689
|
},
|
|
745
690
|
icon: {
|
|
746
|
-
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($
|
|
691
|
+
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports)))["spectrum-Menu-icon"],
|
|
747
692
|
size: "S"
|
|
748
693
|
},
|
|
749
694
|
description: {
|
|
750
|
-
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($
|
|
695
|
+
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports)))["spectrum-Menu-description"],
|
|
751
696
|
...descriptionProps
|
|
752
697
|
},
|
|
753
698
|
keyboard: {
|
|
754
|
-
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($
|
|
699
|
+
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports)))["spectrum-Menu-keyboard"],
|
|
755
700
|
...keyboardShortcutProps
|
|
756
701
|
}
|
|
757
702
|
}
|
|
758
703
|
}, contents, isSelected && /*#__PURE__*/ (0, $9SHwR$react).createElement((0, $9SHwR$spectrumiconsuiCheckmarkMedium), {
|
|
759
704
|
slot: "checkmark",
|
|
760
|
-
UNSAFE_className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
705
|
+
UNSAFE_className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), "spectrum-Menu-checkmark")
|
|
761
706
|
}), isUnavailable && /*#__PURE__*/ (0, $9SHwR$react).createElement((0, $9SHwR$spectrumiconsworkflowInfoOutline), {
|
|
762
707
|
slot: "end",
|
|
763
708
|
size: "XS",
|
|
@@ -782,7 +727,6 @@ function $48fb8f5e1202c980$export$2ce376c2cc3355c8(props) {
|
|
|
782
727
|
|
|
783
728
|
|
|
784
729
|
|
|
785
|
-
var $3tbDX = parcelRequire("3tbDX");
|
|
786
730
|
|
|
787
731
|
|
|
788
732
|
function $b966e606890cc5ca$export$4b1545b4f2016d26(props) {
|
|
@@ -803,13 +747,13 @@ function $b966e606890cc5ca$export$4b1545b4f2016d26(props) {
|
|
|
803
747
|
let sectionIsLast = lastSectionKey === item.key && state.collection.getItem(state.collection.getLastKey()).parentKey === lastSectionKey;
|
|
804
748
|
return /*#__PURE__*/ (0, $9SHwR$react).createElement((0, $9SHwR$Fragment), null, item.key !== state.collection.getFirstKey() && /*#__PURE__*/ (0, $9SHwR$react).createElement("div", {
|
|
805
749
|
...separatorProps,
|
|
806
|
-
className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
750
|
+
className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), "spectrum-Menu-divider")
|
|
807
751
|
}), /*#__PURE__*/ (0, $9SHwR$react).createElement("div", itemProps, item.rendered && /*#__PURE__*/ (0, $9SHwR$react).createElement("span", {
|
|
808
752
|
...headingProps,
|
|
809
|
-
className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
753
|
+
className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), "spectrum-Menu-sectionHeading")
|
|
810
754
|
}, item.rendered), /*#__PURE__*/ (0, $9SHwR$react).createElement("div", {
|
|
811
755
|
...groupProps,
|
|
812
|
-
className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
756
|
+
className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), "spectrum-Menu", {
|
|
813
757
|
"spectrum-Menu-section--noHeading": item.rendered == null,
|
|
814
758
|
"spectrum-Menu-section--isFirst": sectionIsFirst,
|
|
815
759
|
"spectrum-Menu-section--isLast": sectionIsLast
|
|
@@ -832,7 +776,6 @@ function $b966e606890cc5ca$export$4b1545b4f2016d26(props) {
|
|
|
832
776
|
|
|
833
777
|
|
|
834
778
|
|
|
835
|
-
var $3tbDX = parcelRequire("3tbDX");
|
|
836
779
|
|
|
837
780
|
|
|
838
781
|
function $49b26f4b606348f6$var$Menu(props, ref) {
|
|
@@ -856,12 +799,12 @@ function $49b26f4b606348f6$var$Menu(props, ref) {
|
|
|
856
799
|
}, /*#__PURE__*/ (0, $9SHwR$react).createElement((0, $9SHwR$FocusScope), {
|
|
857
800
|
contain: state.expandedKeys.size > 0
|
|
858
801
|
}, /*#__PURE__*/ (0, $9SHwR$react).createElement("div", {
|
|
859
|
-
className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
802
|
+
className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), !isMobile ? "spectrum-Menu-wrapper" : "")
|
|
860
803
|
}, /*#__PURE__*/ (0, $9SHwR$react).createElement("div", {
|
|
861
804
|
...menuProps,
|
|
862
805
|
...styleProps,
|
|
863
806
|
ref: domRef,
|
|
864
|
-
className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
807
|
+
className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), "spectrum-Menu", styleProps.className)
|
|
865
808
|
}, [
|
|
866
809
|
...state.collection
|
|
867
810
|
].map((item)=>{
|
|
@@ -951,13 +894,26 @@ function $43fa9949e6af393d$var$ActionMenu(props, ref) {
|
|
|
951
894
|
* governing permissions and limitations under the License.
|
|
952
895
|
*/
|
|
953
896
|
|
|
897
|
+
var $c487b1d738ebeac2$exports = {};
|
|
898
|
+
|
|
899
|
+
$parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-button", () => $c487b1d738ebeac2$export$20d9583c9f1529c1, (v) => $c487b1d738ebeac2$export$20d9583c9f1529c1 = v);
|
|
900
|
+
$parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-content", () => $c487b1d738ebeac2$export$a1f805890cf58c4, (v) => $c487b1d738ebeac2$export$a1f805890cf58c4 = v);
|
|
901
|
+
$parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-dialog", () => $c487b1d738ebeac2$export$ab2d873674d20d28, (v) => $c487b1d738ebeac2$export$ab2d873674d20d28 = v);
|
|
902
|
+
$parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-footer", () => $c487b1d738ebeac2$export$d901bc3fa82b87a6, (v) => $c487b1d738ebeac2$export$d901bc3fa82b87a6 = v);
|
|
903
|
+
var $c487b1d738ebeac2$export$20d9583c9f1529c1;
|
|
904
|
+
var $c487b1d738ebeac2$export$a1f805890cf58c4;
|
|
905
|
+
var $c487b1d738ebeac2$export$ab2d873674d20d28;
|
|
906
|
+
var $c487b1d738ebeac2$export$d901bc3fa82b87a6;
|
|
907
|
+
$c487b1d738ebeac2$export$20d9583c9f1529c1 = `L6gUaa_react-spectrum-ContextualHelp-button`;
|
|
908
|
+
$c487b1d738ebeac2$export$a1f805890cf58c4 = `L6gUaa_react-spectrum-ContextualHelp-content`;
|
|
909
|
+
$c487b1d738ebeac2$export$ab2d873674d20d28 = `L6gUaa_react-spectrum-ContextualHelp-dialog`;
|
|
910
|
+
$c487b1d738ebeac2$export$d901bc3fa82b87a6 = `L6gUaa_react-spectrum-ContextualHelp-footer`;
|
|
911
|
+
|
|
954
912
|
|
|
955
|
-
var $gS7K3 = parcelRequire("gS7K3");
|
|
956
913
|
|
|
957
914
|
|
|
958
915
|
|
|
959
916
|
|
|
960
|
-
var $3tbDX = parcelRequire("3tbDX");
|
|
961
917
|
|
|
962
918
|
function $726fb1b478e356bf$var$ContextualHelpTrigger(props) {
|
|
963
919
|
let { isUnavailable: isUnavailable } = props;
|
|
@@ -976,13 +932,13 @@ function $726fb1b478e356bf$var$ContextualHelpTrigger(props) {
|
|
|
976
932
|
let slots = {};
|
|
977
933
|
if (isUnavailable) slots = {
|
|
978
934
|
dialog: {
|
|
979
|
-
UNSAFE_className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
935
|
+
UNSAFE_className: (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($c487b1d738ebeac2$exports))), "react-spectrum-ContextualHelp-dialog", (0, $9SHwR$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($286d1cb34bb7dc84$exports))), !isMobile ? "spectrum-Menu-subdialog" : ""))
|
|
980
936
|
},
|
|
981
937
|
content: {
|
|
982
|
-
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($
|
|
938
|
+
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c487b1d738ebeac2$exports)))["react-spectrum-ContextualHelp-content"]
|
|
983
939
|
},
|
|
984
940
|
footer: {
|
|
985
|
-
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($
|
|
941
|
+
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($c487b1d738ebeac2$exports)))["react-spectrum-ContextualHelp-footer"]
|
|
986
942
|
}
|
|
987
943
|
};
|
|
988
944
|
let [trigger] = (0, $9SHwR$react).Children.toArray(props.children);
|