@react-spectrum/contextualhelp 3.6.5-nightly.4230 → 3.6.5-nightly.4242
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 +97 -58
- package/dist/main.js +95 -56
- package/dist/main.js.map +1 -1
- package/dist/module.js +97 -58
- package/dist/module.js.map +1 -1
- package/package.json +13 -13
package/dist/import.mjs
CHANGED
|
@@ -8,12 +8,65 @@ import {useLabels as $2FtBM$useLabels, mergeProps as $2FtBM$mergeProps} from "@r
|
|
|
8
8
|
import $2FtBM$react from "react";
|
|
9
9
|
import {useLocalizedStringFormatter as $2FtBM$useLocalizedStringFormatter} from "@react-aria/i18n";
|
|
10
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
|
+
|
|
11
16
|
function $parcel$interopDefault(a) {
|
|
12
17
|
return a && a.__esModule ? a.default : a;
|
|
13
18
|
}
|
|
14
|
-
|
|
15
|
-
|
|
19
|
+
|
|
20
|
+
var $parcel$global = globalThis;
|
|
21
|
+
|
|
22
|
+
var $parcel$modules = {};
|
|
23
|
+
var $parcel$inits = {};
|
|
24
|
+
|
|
25
|
+
var parcelRequire = $parcel$global["parcelRequire7f0c"];
|
|
26
|
+
|
|
27
|
+
if (parcelRequire == null) {
|
|
28
|
+
parcelRequire = function(id) {
|
|
29
|
+
if (id in $parcel$modules) {
|
|
30
|
+
return $parcel$modules[id].exports;
|
|
31
|
+
}
|
|
32
|
+
if (id in $parcel$inits) {
|
|
33
|
+
var init = $parcel$inits[id];
|
|
34
|
+
delete $parcel$inits[id];
|
|
35
|
+
var module = {id: id, exports: {}};
|
|
36
|
+
$parcel$modules[id] = module;
|
|
37
|
+
init.call(module.exports, module, module.exports);
|
|
38
|
+
return module.exports;
|
|
39
|
+
}
|
|
40
|
+
var err = new Error("Cannot find module '" + id + "'");
|
|
41
|
+
err.code = 'MODULE_NOT_FOUND';
|
|
42
|
+
throw err;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
parcelRequire.register = function register(id, init) {
|
|
46
|
+
$parcel$inits[id] = init;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
$parcel$global["parcelRequire7f0c"] = parcelRequire;
|
|
16
50
|
}
|
|
51
|
+
|
|
52
|
+
var parcelRegister = parcelRequire.register;
|
|
53
|
+
parcelRegister("gS7K3", function(module, exports) {
|
|
54
|
+
|
|
55
|
+
$parcel$export(module.exports, "react-spectrum-ContextualHelp-button", () => $c487b1d738ebeac2$export$20d9583c9f1529c1, (v) => $c487b1d738ebeac2$export$20d9583c9f1529c1 = v);
|
|
56
|
+
$parcel$export(module.exports, "react-spectrum-ContextualHelp-content", () => $c487b1d738ebeac2$export$a1f805890cf58c4, (v) => $c487b1d738ebeac2$export$a1f805890cf58c4 = v);
|
|
57
|
+
$parcel$export(module.exports, "react-spectrum-ContextualHelp-dialog", () => $c487b1d738ebeac2$export$ab2d873674d20d28, (v) => $c487b1d738ebeac2$export$ab2d873674d20d28 = v);
|
|
58
|
+
$parcel$export(module.exports, "react-spectrum-ContextualHelp-footer", () => $c487b1d738ebeac2$export$d901bc3fa82b87a6, (v) => $c487b1d738ebeac2$export$d901bc3fa82b87a6 = v);
|
|
59
|
+
var $c487b1d738ebeac2$export$20d9583c9f1529c1;
|
|
60
|
+
var $c487b1d738ebeac2$export$a1f805890cf58c4;
|
|
61
|
+
var $c487b1d738ebeac2$export$ab2d873674d20d28;
|
|
62
|
+
var $c487b1d738ebeac2$export$d901bc3fa82b87a6;
|
|
63
|
+
$c487b1d738ebeac2$export$20d9583c9f1529c1 = `L6gUaa_react-spectrum-ContextualHelp-button`;
|
|
64
|
+
$c487b1d738ebeac2$export$a1f805890cf58c4 = `L6gUaa_react-spectrum-ContextualHelp-content`;
|
|
65
|
+
$c487b1d738ebeac2$export$ab2d873674d20d28 = `L6gUaa_react-spectrum-ContextualHelp-dialog`;
|
|
66
|
+
$c487b1d738ebeac2$export$d901bc3fa82b87a6 = `L6gUaa_react-spectrum-ContextualHelp-footer`;
|
|
67
|
+
|
|
68
|
+
});
|
|
69
|
+
|
|
17
70
|
/*
|
|
18
71
|
* Copyright 2021 Adobe. All rights reserved.
|
|
19
72
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -38,48 +91,34 @@ function $parcel$export(e, n, v, s) {
|
|
|
38
91
|
|
|
39
92
|
|
|
40
93
|
|
|
41
|
-
var $c487b1d738ebeac2$exports = {};
|
|
42
|
-
|
|
43
|
-
$parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-button", () => $c487b1d738ebeac2$export$20d9583c9f1529c1, (v) => $c487b1d738ebeac2$export$20d9583c9f1529c1 = v);
|
|
44
|
-
$parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-content", () => $c487b1d738ebeac2$export$a1f805890cf58c4, (v) => $c487b1d738ebeac2$export$a1f805890cf58c4 = v);
|
|
45
|
-
$parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-dialog", () => $c487b1d738ebeac2$export$ab2d873674d20d28, (v) => $c487b1d738ebeac2$export$ab2d873674d20d28 = v);
|
|
46
|
-
$parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-footer", () => $c487b1d738ebeac2$export$d901bc3fa82b87a6, (v) => $c487b1d738ebeac2$export$d901bc3fa82b87a6 = v);
|
|
47
|
-
var $c487b1d738ebeac2$export$20d9583c9f1529c1;
|
|
48
|
-
var $c487b1d738ebeac2$export$a1f805890cf58c4;
|
|
49
|
-
var $c487b1d738ebeac2$export$ab2d873674d20d28;
|
|
50
|
-
var $c487b1d738ebeac2$export$d901bc3fa82b87a6;
|
|
51
|
-
$c487b1d738ebeac2$export$20d9583c9f1529c1 = `L6gUaa_react-spectrum-ContextualHelp-button`;
|
|
52
|
-
$c487b1d738ebeac2$export$a1f805890cf58c4 = `L6gUaa_react-spectrum-ContextualHelp-content`;
|
|
53
|
-
$c487b1d738ebeac2$export$ab2d873674d20d28 = `L6gUaa_react-spectrum-ContextualHelp-dialog`;
|
|
54
|
-
$c487b1d738ebeac2$export$d901bc3fa82b87a6 = `L6gUaa_react-spectrum-ContextualHelp-footer`;
|
|
55
|
-
|
|
56
94
|
|
|
95
|
+
var $gS7K3 = parcelRequire("gS7K3");
|
|
57
96
|
|
|
58
97
|
var $ff7022a435a048e3$exports = {};
|
|
59
98
|
var $9cc8b85ee8327c05$exports = {};
|
|
60
99
|
$9cc8b85ee8327c05$exports = {
|
|
61
|
-
"help":
|
|
62
|
-
"info":
|
|
100
|
+
"help": `\u{645}\u{633}\u{627}\u{639}\u{62F}\u{629}`,
|
|
101
|
+
"info": `\u{645}\u{639}\u{644}\u{648}\u{645}\u{627}\u{62A}`
|
|
63
102
|
};
|
|
64
103
|
|
|
65
104
|
|
|
66
105
|
var $56f7d9be41e5dc75$exports = {};
|
|
67
106
|
$56f7d9be41e5dc75$exports = {
|
|
68
|
-
"help":
|
|
69
|
-
"info":
|
|
107
|
+
"help": `\u{41F}\u{43E}\u{43C}\u{43E}\u{449}`,
|
|
108
|
+
"info": `\u{418}\u{43D}\u{444}\u{43E}\u{440}\u{43C}\u{430}\u{446}\u{438}\u{44F}`
|
|
70
109
|
};
|
|
71
110
|
|
|
72
111
|
|
|
73
112
|
var $c427e4a9ab6700b2$exports = {};
|
|
74
113
|
$c427e4a9ab6700b2$exports = {
|
|
75
|
-
"help": `
|
|
114
|
+
"help": `N\xe1pov\u{11B}da`,
|
|
76
115
|
"info": `Informace`
|
|
77
116
|
};
|
|
78
117
|
|
|
79
118
|
|
|
80
119
|
var $ee2212e66656667f$exports = {};
|
|
81
120
|
$ee2212e66656667f$exports = {
|
|
82
|
-
"help": `
|
|
121
|
+
"help": `Hj\xe6lp`,
|
|
83
122
|
"info": `Oplysninger`
|
|
84
123
|
};
|
|
85
124
|
|
|
@@ -93,8 +132,8 @@ $112e467ad7137275$exports = {
|
|
|
93
132
|
|
|
94
133
|
var $7ad0d6a9c54bdc43$exports = {};
|
|
95
134
|
$7ad0d6a9c54bdc43$exports = {
|
|
96
|
-
"help":
|
|
97
|
-
"info":
|
|
135
|
+
"help": `\u{392}\u{3BF}\u{3AE}\u{3B8}\u{3B5}\u{3B9}\u{3B1}`,
|
|
136
|
+
"info": `\u{3A0}\u{3BB}\u{3B7}\u{3C1}\u{3BF}\u{3C6}\u{3BF}\u{3C1}\u{3AF}\u{3B5}\u{3C2}`
|
|
98
137
|
};
|
|
99
138
|
|
|
100
139
|
|
|
@@ -108,7 +147,7 @@ $704e90e35332a9cb$exports = {
|
|
|
108
147
|
var $f2e0410dbb606550$exports = {};
|
|
109
148
|
$f2e0410dbb606550$exports = {
|
|
110
149
|
"help": `Ayuda`,
|
|
111
|
-
"info": `
|
|
150
|
+
"info": `Informaci\xf3n`
|
|
112
151
|
};
|
|
113
152
|
|
|
114
153
|
|
|
@@ -135,22 +174,22 @@ $28b0fbf00803a68f$exports = {
|
|
|
135
174
|
|
|
136
175
|
var $77110a8f3000e559$exports = {};
|
|
137
176
|
$77110a8f3000e559$exports = {
|
|
138
|
-
"help":
|
|
139
|
-
"info":
|
|
177
|
+
"help": `\u{5E2}\u{5D6}\u{5E8}\u{5D4}`,
|
|
178
|
+
"info": `\u{5DE}\u{5D9}\u{5D3}\u{5E2}`
|
|
140
179
|
};
|
|
141
180
|
|
|
142
181
|
|
|
143
182
|
var $dcc3492993669fc3$exports = {};
|
|
144
183
|
$dcc3492993669fc3$exports = {
|
|
145
|
-
"help": `Pomo
|
|
184
|
+
"help": `Pomo\u{107}`,
|
|
146
185
|
"info": `Informacije`
|
|
147
186
|
};
|
|
148
187
|
|
|
149
188
|
|
|
150
189
|
var $d376dd5b16d08137$exports = {};
|
|
151
190
|
$d376dd5b16d08137$exports = {
|
|
152
|
-
"help": `
|
|
153
|
-
"info": `
|
|
191
|
+
"help": `S\xfag\xf3`,
|
|
192
|
+
"info": `Inform\xe1ci\xf3`
|
|
154
193
|
};
|
|
155
194
|
|
|
156
195
|
|
|
@@ -163,29 +202,29 @@ $45f88f0321bb5a8f$exports = {
|
|
|
163
202
|
|
|
164
203
|
var $8f643aac2e9e9e26$exports = {};
|
|
165
204
|
$8f643aac2e9e9e26$exports = {
|
|
166
|
-
"help":
|
|
167
|
-
"info":
|
|
205
|
+
"help": `\u{30D8}\u{30EB}\u{30D7}`,
|
|
206
|
+
"info": `\u{60C5}\u{5831}`
|
|
168
207
|
};
|
|
169
208
|
|
|
170
209
|
|
|
171
210
|
var $784ec4e789b99a71$exports = {};
|
|
172
211
|
$784ec4e789b99a71$exports = {
|
|
173
|
-
"help":
|
|
174
|
-
"info":
|
|
212
|
+
"help": `\u{B3C4}\u{C6C0}\u{B9D0}`,
|
|
213
|
+
"info": `\u{C815}\u{BCF4}`
|
|
175
214
|
};
|
|
176
215
|
|
|
177
216
|
|
|
178
217
|
var $fcda0e0582088650$exports = {};
|
|
179
218
|
$fcda0e0582088650$exports = {
|
|
180
|
-
"help":
|
|
219
|
+
"help": `\u{17D}inynas`,
|
|
181
220
|
"info": `Informacija`
|
|
182
221
|
};
|
|
183
222
|
|
|
184
223
|
|
|
185
224
|
var $9c3b35ecd7c5e348$exports = {};
|
|
186
225
|
$9c3b35ecd7c5e348$exports = {
|
|
187
|
-
"help": `
|
|
188
|
-
"info": `
|
|
226
|
+
"help": `Pal\u{12B}dz\u{12B}ba`,
|
|
227
|
+
"info": `Inform\u{101}cija`
|
|
189
228
|
};
|
|
190
229
|
|
|
191
230
|
|
|
@@ -213,84 +252,84 @@ $3ed876b500650109$exports = {
|
|
|
213
252
|
var $999b0348d4f9e0ae$exports = {};
|
|
214
253
|
$999b0348d4f9e0ae$exports = {
|
|
215
254
|
"help": `Ajuda`,
|
|
216
|
-
"info": `
|
|
255
|
+
"info": `Informa\xe7\xf5es`
|
|
217
256
|
};
|
|
218
257
|
|
|
219
258
|
|
|
220
259
|
var $01e38e0d24e067b8$exports = {};
|
|
221
260
|
$01e38e0d24e067b8$exports = {
|
|
222
261
|
"help": `Ajuda`,
|
|
223
|
-
"info": `
|
|
262
|
+
"info": `Informa\xe7\xe3o`
|
|
224
263
|
};
|
|
225
264
|
|
|
226
265
|
|
|
227
266
|
var $130ce4093fe216d5$exports = {};
|
|
228
267
|
$130ce4093fe216d5$exports = {
|
|
229
268
|
"help": `Ajutor`,
|
|
230
|
-
"info": `
|
|
269
|
+
"info": `Informa\u{163}ii`
|
|
231
270
|
};
|
|
232
271
|
|
|
233
272
|
|
|
234
273
|
var $3b25696a80a9bfd8$exports = {};
|
|
235
274
|
$3b25696a80a9bfd8$exports = {
|
|
236
|
-
"help":
|
|
237
|
-
"info":
|
|
275
|
+
"help": `\u{421}\u{43F}\u{440}\u{430}\u{432}\u{43A}\u{430}`,
|
|
276
|
+
"info": `\u{418}\u{43D}\u{444}\u{43E}\u{440}\u{43C}\u{430}\u{446}\u{438}\u{44F}`
|
|
238
277
|
};
|
|
239
278
|
|
|
240
279
|
|
|
241
280
|
var $70037a741b152768$exports = {};
|
|
242
281
|
$70037a741b152768$exports = {
|
|
243
282
|
"help": `Pomoc`,
|
|
244
|
-
"info": `
|
|
283
|
+
"info": `Inform\xe1cie`
|
|
245
284
|
};
|
|
246
285
|
|
|
247
286
|
|
|
248
287
|
var $4ce06844b60c40b5$exports = {};
|
|
249
288
|
$4ce06844b60c40b5$exports = {
|
|
250
|
-
"help": `Pomo
|
|
289
|
+
"help": `Pomo\u{10D}`,
|
|
251
290
|
"info": `Informacije`
|
|
252
291
|
};
|
|
253
292
|
|
|
254
293
|
|
|
255
294
|
var $78c0c0c4796561ef$exports = {};
|
|
256
295
|
$78c0c0c4796561ef$exports = {
|
|
257
|
-
"help": `Pomo
|
|
296
|
+
"help": `Pomo\u{107}`,
|
|
258
297
|
"info": `Informacije`
|
|
259
298
|
};
|
|
260
299
|
|
|
261
300
|
|
|
262
301
|
var $a701758f24293d53$exports = {};
|
|
263
302
|
$a701758f24293d53$exports = {
|
|
264
|
-
"help": `
|
|
303
|
+
"help": `Hj\xe4lp`,
|
|
265
304
|
"info": `Information`
|
|
266
305
|
};
|
|
267
306
|
|
|
268
307
|
|
|
269
308
|
var $ac0041dae2f30090$exports = {};
|
|
270
309
|
$ac0041dae2f30090$exports = {
|
|
271
|
-
"help": `
|
|
310
|
+
"help": `Yard\u{131}m`,
|
|
272
311
|
"info": `Bilgiler`
|
|
273
312
|
};
|
|
274
313
|
|
|
275
314
|
|
|
276
315
|
var $e3e68b40fcb16018$exports = {};
|
|
277
316
|
$e3e68b40fcb16018$exports = {
|
|
278
|
-
"help":
|
|
279
|
-
"info":
|
|
317
|
+
"help": `\u{414}\u{43E}\u{432}\u{456}\u{434}\u{43A}\u{430}`,
|
|
318
|
+
"info": `\u{406}\u{43D}\u{444}\u{43E}\u{440}\u{43C}\u{430}\u{446}\u{456}\u{44F}`
|
|
280
319
|
};
|
|
281
320
|
|
|
282
321
|
|
|
283
322
|
var $befba97b83d35197$exports = {};
|
|
284
323
|
$befba97b83d35197$exports = {
|
|
285
|
-
"help":
|
|
286
|
-
"info":
|
|
324
|
+
"help": `\u{5E2E}\u{52A9}`,
|
|
325
|
+
"info": `\u{4FE1}\u{606F}`
|
|
287
326
|
};
|
|
288
327
|
|
|
289
328
|
|
|
290
329
|
var $6051e1035ff73e7b$exports = {};
|
|
291
330
|
$6051e1035ff73e7b$exports = {
|
|
292
|
-
"help":
|
|
293
|
-
"info":
|
|
331
|
+
"help": `\u{8AAA}\u{660E}`,
|
|
332
|
+
"info": `\u{8CC7}\u{8A0A}`
|
|
294
333
|
};
|
|
295
334
|
|
|
296
335
|
|
|
@@ -341,10 +380,10 @@ function $9d9069cfc9959198$var$ContextualHelp(props, ref) {
|
|
|
341
380
|
let icon = variant === "info" ? /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$spectrumiconsworkflowInfoOutline), null) : /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$spectrumiconsworkflowHelpOutline), null);
|
|
342
381
|
let slots = {
|
|
343
382
|
content: {
|
|
344
|
-
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($
|
|
383
|
+
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($gS7K3)))["react-spectrum-ContextualHelp-content"]
|
|
345
384
|
},
|
|
346
385
|
footer: {
|
|
347
|
-
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($
|
|
386
|
+
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($gS7K3)))["react-spectrum-ContextualHelp-footer"]
|
|
348
387
|
}
|
|
349
388
|
};
|
|
350
389
|
let labelProps = (0, $2FtBM$useLabels)(otherProps, stringFormatter.format(variant));
|
|
@@ -358,12 +397,12 @@ function $9d9069cfc9959198$var$ContextualHelp(props, ref) {
|
|
|
358
397
|
isDisabled: false
|
|
359
398
|
}),
|
|
360
399
|
ref: ref,
|
|
361
|
-
UNSAFE_className: (0, $2FtBM$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
400
|
+
UNSAFE_className: (0, $2FtBM$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($gS7K3))), "react-spectrum-ContextualHelp-button", otherProps.UNSAFE_className),
|
|
362
401
|
isQuiet: true
|
|
363
402
|
}, icon), /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$ClearSlots), null, /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$SlotProvider), {
|
|
364
403
|
slots: slots
|
|
365
404
|
}, /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$Dialog), {
|
|
366
|
-
UNSAFE_className: (0, $2FtBM$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
405
|
+
UNSAFE_className: (0, $2FtBM$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($gS7K3))), "react-spectrum-ContextualHelp-dialog")
|
|
367
406
|
}, children))));
|
|
368
407
|
}
|
|
369
408
|
/**
|
package/dist/main.js
CHANGED
|
@@ -8,13 +8,66 @@ var $ST3N8$reactariautils = require("@react-aria/utils");
|
|
|
8
8
|
var $ST3N8$react = require("react");
|
|
9
9
|
var $ST3N8$reactariai18n = require("@react-aria/i18n");
|
|
10
10
|
|
|
11
|
+
|
|
11
12
|
function $parcel$export(e, n, v, s) {
|
|
12
13
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
13
14
|
}
|
|
15
|
+
|
|
14
16
|
function $parcel$interopDefault(a) {
|
|
15
17
|
return a && a.__esModule ? a.default : a;
|
|
16
18
|
}
|
|
17
19
|
|
|
20
|
+
var $parcel$global = globalThis;
|
|
21
|
+
|
|
22
|
+
var $parcel$modules = {};
|
|
23
|
+
var $parcel$inits = {};
|
|
24
|
+
|
|
25
|
+
var parcelRequire = $parcel$global["parcelRequire7f0c"];
|
|
26
|
+
|
|
27
|
+
if (parcelRequire == null) {
|
|
28
|
+
parcelRequire = function(id) {
|
|
29
|
+
if (id in $parcel$modules) {
|
|
30
|
+
return $parcel$modules[id].exports;
|
|
31
|
+
}
|
|
32
|
+
if (id in $parcel$inits) {
|
|
33
|
+
var init = $parcel$inits[id];
|
|
34
|
+
delete $parcel$inits[id];
|
|
35
|
+
var module = {id: id, exports: {}};
|
|
36
|
+
$parcel$modules[id] = module;
|
|
37
|
+
init.call(module.exports, module, module.exports);
|
|
38
|
+
return module.exports;
|
|
39
|
+
}
|
|
40
|
+
var err = new Error("Cannot find module '" + id + "'");
|
|
41
|
+
err.code = 'MODULE_NOT_FOUND';
|
|
42
|
+
throw err;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
parcelRequire.register = function register(id, init) {
|
|
46
|
+
$parcel$inits[id] = init;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
$parcel$global["parcelRequire7f0c"] = parcelRequire;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
var parcelRegister = parcelRequire.register;
|
|
53
|
+
parcelRegister("dPiqX", function(module, exports) {
|
|
54
|
+
|
|
55
|
+
$parcel$export(module.exports, "react-spectrum-ContextualHelp-button", () => $a10e565ec42bcf96$export$20d9583c9f1529c1, (v) => $a10e565ec42bcf96$export$20d9583c9f1529c1 = v);
|
|
56
|
+
$parcel$export(module.exports, "react-spectrum-ContextualHelp-content", () => $a10e565ec42bcf96$export$a1f805890cf58c4, (v) => $a10e565ec42bcf96$export$a1f805890cf58c4 = v);
|
|
57
|
+
$parcel$export(module.exports, "react-spectrum-ContextualHelp-dialog", () => $a10e565ec42bcf96$export$ab2d873674d20d28, (v) => $a10e565ec42bcf96$export$ab2d873674d20d28 = v);
|
|
58
|
+
$parcel$export(module.exports, "react-spectrum-ContextualHelp-footer", () => $a10e565ec42bcf96$export$d901bc3fa82b87a6, (v) => $a10e565ec42bcf96$export$d901bc3fa82b87a6 = v);
|
|
59
|
+
var $a10e565ec42bcf96$export$20d9583c9f1529c1;
|
|
60
|
+
var $a10e565ec42bcf96$export$a1f805890cf58c4;
|
|
61
|
+
var $a10e565ec42bcf96$export$ab2d873674d20d28;
|
|
62
|
+
var $a10e565ec42bcf96$export$d901bc3fa82b87a6;
|
|
63
|
+
$a10e565ec42bcf96$export$20d9583c9f1529c1 = `L6gUaa_react-spectrum-ContextualHelp-button`;
|
|
64
|
+
$a10e565ec42bcf96$export$a1f805890cf58c4 = `L6gUaa_react-spectrum-ContextualHelp-content`;
|
|
65
|
+
$a10e565ec42bcf96$export$ab2d873674d20d28 = `L6gUaa_react-spectrum-ContextualHelp-dialog`;
|
|
66
|
+
$a10e565ec42bcf96$export$d901bc3fa82b87a6 = `L6gUaa_react-spectrum-ContextualHelp-footer`;
|
|
67
|
+
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
|
|
18
71
|
$parcel$export(module.exports, "ContextualHelp", () => $05e6407aa891f27c$export$7d3cdb256c2ba320);
|
|
19
72
|
/*
|
|
20
73
|
* Copyright 2021 Adobe. All rights reserved.
|
|
@@ -40,48 +93,34 @@ $parcel$export(module.exports, "ContextualHelp", () => $05e6407aa891f27c$export$
|
|
|
40
93
|
|
|
41
94
|
|
|
42
95
|
|
|
43
|
-
var $a10e565ec42bcf96$exports = {};
|
|
44
|
-
|
|
45
|
-
$parcel$export($a10e565ec42bcf96$exports, "react-spectrum-ContextualHelp-button", () => $a10e565ec42bcf96$export$20d9583c9f1529c1, (v) => $a10e565ec42bcf96$export$20d9583c9f1529c1 = v);
|
|
46
|
-
$parcel$export($a10e565ec42bcf96$exports, "react-spectrum-ContextualHelp-content", () => $a10e565ec42bcf96$export$a1f805890cf58c4, (v) => $a10e565ec42bcf96$export$a1f805890cf58c4 = v);
|
|
47
|
-
$parcel$export($a10e565ec42bcf96$exports, "react-spectrum-ContextualHelp-dialog", () => $a10e565ec42bcf96$export$ab2d873674d20d28, (v) => $a10e565ec42bcf96$export$ab2d873674d20d28 = v);
|
|
48
|
-
$parcel$export($a10e565ec42bcf96$exports, "react-spectrum-ContextualHelp-footer", () => $a10e565ec42bcf96$export$d901bc3fa82b87a6, (v) => $a10e565ec42bcf96$export$d901bc3fa82b87a6 = v);
|
|
49
|
-
var $a10e565ec42bcf96$export$20d9583c9f1529c1;
|
|
50
|
-
var $a10e565ec42bcf96$export$a1f805890cf58c4;
|
|
51
|
-
var $a10e565ec42bcf96$export$ab2d873674d20d28;
|
|
52
|
-
var $a10e565ec42bcf96$export$d901bc3fa82b87a6;
|
|
53
|
-
$a10e565ec42bcf96$export$20d9583c9f1529c1 = `L6gUaa_react-spectrum-ContextualHelp-button`;
|
|
54
|
-
$a10e565ec42bcf96$export$a1f805890cf58c4 = `L6gUaa_react-spectrum-ContextualHelp-content`;
|
|
55
|
-
$a10e565ec42bcf96$export$ab2d873674d20d28 = `L6gUaa_react-spectrum-ContextualHelp-dialog`;
|
|
56
|
-
$a10e565ec42bcf96$export$d901bc3fa82b87a6 = `L6gUaa_react-spectrum-ContextualHelp-footer`;
|
|
57
|
-
|
|
58
96
|
|
|
97
|
+
var $dPiqX = parcelRequire("dPiqX");
|
|
59
98
|
|
|
60
99
|
var $ab07f09ac8b48f11$exports = {};
|
|
61
100
|
var $acb7f58c98e2cf06$exports = {};
|
|
62
101
|
$acb7f58c98e2cf06$exports = {
|
|
63
|
-
"help":
|
|
64
|
-
"info":
|
|
102
|
+
"help": `\u{645}\u{633}\u{627}\u{639}\u{62F}\u{629}`,
|
|
103
|
+
"info": `\u{645}\u{639}\u{644}\u{648}\u{645}\u{627}\u{62A}`
|
|
65
104
|
};
|
|
66
105
|
|
|
67
106
|
|
|
68
107
|
var $2bbfbfd282c7ac2e$exports = {};
|
|
69
108
|
$2bbfbfd282c7ac2e$exports = {
|
|
70
|
-
"help":
|
|
71
|
-
"info":
|
|
109
|
+
"help": `\u{41F}\u{43E}\u{43C}\u{43E}\u{449}`,
|
|
110
|
+
"info": `\u{418}\u{43D}\u{444}\u{43E}\u{440}\u{43C}\u{430}\u{446}\u{438}\u{44F}`
|
|
72
111
|
};
|
|
73
112
|
|
|
74
113
|
|
|
75
114
|
var $fb114849c2cd165d$exports = {};
|
|
76
115
|
$fb114849c2cd165d$exports = {
|
|
77
|
-
"help": `
|
|
116
|
+
"help": `N\xe1pov\u{11B}da`,
|
|
78
117
|
"info": `Informace`
|
|
79
118
|
};
|
|
80
119
|
|
|
81
120
|
|
|
82
121
|
var $d915a218ab0c9e80$exports = {};
|
|
83
122
|
$d915a218ab0c9e80$exports = {
|
|
84
|
-
"help": `
|
|
123
|
+
"help": `Hj\xe6lp`,
|
|
85
124
|
"info": `Oplysninger`
|
|
86
125
|
};
|
|
87
126
|
|
|
@@ -95,8 +134,8 @@ $b967195fa197fdf6$exports = {
|
|
|
95
134
|
|
|
96
135
|
var $2e327399cfbbb22c$exports = {};
|
|
97
136
|
$2e327399cfbbb22c$exports = {
|
|
98
|
-
"help":
|
|
99
|
-
"info":
|
|
137
|
+
"help": `\u{392}\u{3BF}\u{3AE}\u{3B8}\u{3B5}\u{3B9}\u{3B1}`,
|
|
138
|
+
"info": `\u{3A0}\u{3BB}\u{3B7}\u{3C1}\u{3BF}\u{3C6}\u{3BF}\u{3C1}\u{3AF}\u{3B5}\u{3C2}`
|
|
100
139
|
};
|
|
101
140
|
|
|
102
141
|
|
|
@@ -110,7 +149,7 @@ $76d69c9d92b7631c$exports = {
|
|
|
110
149
|
var $f16d20dee3bf2650$exports = {};
|
|
111
150
|
$f16d20dee3bf2650$exports = {
|
|
112
151
|
"help": `Ayuda`,
|
|
113
|
-
"info": `
|
|
152
|
+
"info": `Informaci\xf3n`
|
|
114
153
|
};
|
|
115
154
|
|
|
116
155
|
|
|
@@ -137,22 +176,22 @@ $6ca7aa54fe17b013$exports = {
|
|
|
137
176
|
|
|
138
177
|
var $eead079849c849a8$exports = {};
|
|
139
178
|
$eead079849c849a8$exports = {
|
|
140
|
-
"help":
|
|
141
|
-
"info":
|
|
179
|
+
"help": `\u{5E2}\u{5D6}\u{5E8}\u{5D4}`,
|
|
180
|
+
"info": `\u{5DE}\u{5D9}\u{5D3}\u{5E2}`
|
|
142
181
|
};
|
|
143
182
|
|
|
144
183
|
|
|
145
184
|
var $c595ccd23af366f1$exports = {};
|
|
146
185
|
$c595ccd23af366f1$exports = {
|
|
147
|
-
"help": `Pomo
|
|
186
|
+
"help": `Pomo\u{107}`,
|
|
148
187
|
"info": `Informacije`
|
|
149
188
|
};
|
|
150
189
|
|
|
151
190
|
|
|
152
191
|
var $13646d03ad3676f9$exports = {};
|
|
153
192
|
$13646d03ad3676f9$exports = {
|
|
154
|
-
"help": `
|
|
155
|
-
"info": `
|
|
193
|
+
"help": `S\xfag\xf3`,
|
|
194
|
+
"info": `Inform\xe1ci\xf3`
|
|
156
195
|
};
|
|
157
196
|
|
|
158
197
|
|
|
@@ -165,29 +204,29 @@ $d288177f1ed0c023$exports = {
|
|
|
165
204
|
|
|
166
205
|
var $97fad5409bb5ac4b$exports = {};
|
|
167
206
|
$97fad5409bb5ac4b$exports = {
|
|
168
|
-
"help":
|
|
169
|
-
"info":
|
|
207
|
+
"help": `\u{30D8}\u{30EB}\u{30D7}`,
|
|
208
|
+
"info": `\u{60C5}\u{5831}`
|
|
170
209
|
};
|
|
171
210
|
|
|
172
211
|
|
|
173
212
|
var $8c367af4c98bf9ef$exports = {};
|
|
174
213
|
$8c367af4c98bf9ef$exports = {
|
|
175
|
-
"help":
|
|
176
|
-
"info":
|
|
214
|
+
"help": `\u{B3C4}\u{C6C0}\u{B9D0}`,
|
|
215
|
+
"info": `\u{C815}\u{BCF4}`
|
|
177
216
|
};
|
|
178
217
|
|
|
179
218
|
|
|
180
219
|
var $ff404be8bf7c1541$exports = {};
|
|
181
220
|
$ff404be8bf7c1541$exports = {
|
|
182
|
-
"help":
|
|
221
|
+
"help": `\u{17D}inynas`,
|
|
183
222
|
"info": `Informacija`
|
|
184
223
|
};
|
|
185
224
|
|
|
186
225
|
|
|
187
226
|
var $8f9381b231c1b1e7$exports = {};
|
|
188
227
|
$8f9381b231c1b1e7$exports = {
|
|
189
|
-
"help": `
|
|
190
|
-
"info": `
|
|
228
|
+
"help": `Pal\u{12B}dz\u{12B}ba`,
|
|
229
|
+
"info": `Inform\u{101}cija`
|
|
191
230
|
};
|
|
192
231
|
|
|
193
232
|
|
|
@@ -215,84 +254,84 @@ $1b8a6c42bf8a93cf$exports = {
|
|
|
215
254
|
var $21519e2cdfbf2418$exports = {};
|
|
216
255
|
$21519e2cdfbf2418$exports = {
|
|
217
256
|
"help": `Ajuda`,
|
|
218
|
-
"info": `
|
|
257
|
+
"info": `Informa\xe7\xf5es`
|
|
219
258
|
};
|
|
220
259
|
|
|
221
260
|
|
|
222
261
|
var $af034b95fde6a053$exports = {};
|
|
223
262
|
$af034b95fde6a053$exports = {
|
|
224
263
|
"help": `Ajuda`,
|
|
225
|
-
"info": `
|
|
264
|
+
"info": `Informa\xe7\xe3o`
|
|
226
265
|
};
|
|
227
266
|
|
|
228
267
|
|
|
229
268
|
var $4881897691d95dcd$exports = {};
|
|
230
269
|
$4881897691d95dcd$exports = {
|
|
231
270
|
"help": `Ajutor`,
|
|
232
|
-
"info": `
|
|
271
|
+
"info": `Informa\u{163}ii`
|
|
233
272
|
};
|
|
234
273
|
|
|
235
274
|
|
|
236
275
|
var $697e58aab1351cb6$exports = {};
|
|
237
276
|
$697e58aab1351cb6$exports = {
|
|
238
|
-
"help":
|
|
239
|
-
"info":
|
|
277
|
+
"help": `\u{421}\u{43F}\u{440}\u{430}\u{432}\u{43A}\u{430}`,
|
|
278
|
+
"info": `\u{418}\u{43D}\u{444}\u{43E}\u{440}\u{43C}\u{430}\u{446}\u{438}\u{44F}`
|
|
240
279
|
};
|
|
241
280
|
|
|
242
281
|
|
|
243
282
|
var $18d1df2cd1fd4664$exports = {};
|
|
244
283
|
$18d1df2cd1fd4664$exports = {
|
|
245
284
|
"help": `Pomoc`,
|
|
246
|
-
"info": `
|
|
285
|
+
"info": `Inform\xe1cie`
|
|
247
286
|
};
|
|
248
287
|
|
|
249
288
|
|
|
250
289
|
var $5923d5e92381fe28$exports = {};
|
|
251
290
|
$5923d5e92381fe28$exports = {
|
|
252
|
-
"help": `Pomo
|
|
291
|
+
"help": `Pomo\u{10D}`,
|
|
253
292
|
"info": `Informacije`
|
|
254
293
|
};
|
|
255
294
|
|
|
256
295
|
|
|
257
296
|
var $0ef592839a88ef41$exports = {};
|
|
258
297
|
$0ef592839a88ef41$exports = {
|
|
259
|
-
"help": `Pomo
|
|
298
|
+
"help": `Pomo\u{107}`,
|
|
260
299
|
"info": `Informacije`
|
|
261
300
|
};
|
|
262
301
|
|
|
263
302
|
|
|
264
303
|
var $c254a7ac0f4821d7$exports = {};
|
|
265
304
|
$c254a7ac0f4821d7$exports = {
|
|
266
|
-
"help": `
|
|
305
|
+
"help": `Hj\xe4lp`,
|
|
267
306
|
"info": `Information`
|
|
268
307
|
};
|
|
269
308
|
|
|
270
309
|
|
|
271
310
|
var $a520943f16b6160a$exports = {};
|
|
272
311
|
$a520943f16b6160a$exports = {
|
|
273
|
-
"help": `
|
|
312
|
+
"help": `Yard\u{131}m`,
|
|
274
313
|
"info": `Bilgiler`
|
|
275
314
|
};
|
|
276
315
|
|
|
277
316
|
|
|
278
317
|
var $679d794c1ece5065$exports = {};
|
|
279
318
|
$679d794c1ece5065$exports = {
|
|
280
|
-
"help":
|
|
281
|
-
"info":
|
|
319
|
+
"help": `\u{414}\u{43E}\u{432}\u{456}\u{434}\u{43A}\u{430}`,
|
|
320
|
+
"info": `\u{406}\u{43D}\u{444}\u{43E}\u{440}\u{43C}\u{430}\u{446}\u{456}\u{44F}`
|
|
282
321
|
};
|
|
283
322
|
|
|
284
323
|
|
|
285
324
|
var $a531570c7a651d45$exports = {};
|
|
286
325
|
$a531570c7a651d45$exports = {
|
|
287
|
-
"help":
|
|
288
|
-
"info":
|
|
326
|
+
"help": `\u{5E2E}\u{52A9}`,
|
|
327
|
+
"info": `\u{4FE1}\u{606F}`
|
|
289
328
|
};
|
|
290
329
|
|
|
291
330
|
|
|
292
331
|
var $487db55c4b552587$exports = {};
|
|
293
332
|
$487db55c4b552587$exports = {
|
|
294
|
-
"help":
|
|
295
|
-
"info":
|
|
333
|
+
"help": `\u{8AAA}\u{660E}`,
|
|
334
|
+
"info": `\u{8CC7}\u{8A0A}`
|
|
296
335
|
};
|
|
297
336
|
|
|
298
337
|
|
|
@@ -343,10 +382,10 @@ function $05e6407aa891f27c$var$ContextualHelp(props, ref) {
|
|
|
343
382
|
let icon = variant === "info" ? /*#__PURE__*/ (0, ($parcel$interopDefault($ST3N8$react))).createElement((0, ($parcel$interopDefault($ST3N8$spectrumiconsworkflowInfoOutline))), null) : /*#__PURE__*/ (0, ($parcel$interopDefault($ST3N8$react))).createElement((0, ($parcel$interopDefault($ST3N8$spectrumiconsworkflowHelpOutline))), null);
|
|
344
383
|
let slots = {
|
|
345
384
|
content: {
|
|
346
|
-
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($
|
|
385
|
+
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($dPiqX)))["react-spectrum-ContextualHelp-content"]
|
|
347
386
|
},
|
|
348
387
|
footer: {
|
|
349
|
-
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($
|
|
388
|
+
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($dPiqX)))["react-spectrum-ContextualHelp-footer"]
|
|
350
389
|
}
|
|
351
390
|
};
|
|
352
391
|
let labelProps = (0, $ST3N8$reactariautils.useLabels)(otherProps, stringFormatter.format(variant));
|
|
@@ -360,12 +399,12 @@ function $05e6407aa891f27c$var$ContextualHelp(props, ref) {
|
|
|
360
399
|
isDisabled: false
|
|
361
400
|
}),
|
|
362
401
|
ref: ref,
|
|
363
|
-
UNSAFE_className: (0, $ST3N8$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
402
|
+
UNSAFE_className: (0, $ST3N8$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($dPiqX))), "react-spectrum-ContextualHelp-button", otherProps.UNSAFE_className),
|
|
364
403
|
isQuiet: true
|
|
365
404
|
}, icon), /*#__PURE__*/ (0, ($parcel$interopDefault($ST3N8$react))).createElement((0, $ST3N8$reactspectrumutils.ClearSlots), null, /*#__PURE__*/ (0, ($parcel$interopDefault($ST3N8$react))).createElement((0, $ST3N8$reactspectrumutils.SlotProvider), {
|
|
366
405
|
slots: slots
|
|
367
406
|
}, /*#__PURE__*/ (0, ($parcel$interopDefault($ST3N8$react))).createElement((0, $ST3N8$reactspectrumdialog.Dialog), {
|
|
368
|
-
UNSAFE_className: (0, $ST3N8$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
407
|
+
UNSAFE_className: (0, $ST3N8$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($dPiqX))), "react-spectrum-ContextualHelp-dialog")
|
|
369
408
|
}, children))));
|
|
370
409
|
}
|
|
371
410
|
/**
|
package/dist/main.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;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AG,YACJ,GAAG;IAEJ,IAAI,kBAAkB,CAAA,GAAA,gDAA0B,EAAE,CAAA,GAAA,gEAAW;IAE7D,IAAI,OAAO,YAAY,uBAAS,0DAAC,CAAA,GAAA,iEAAU,yBAAO,0DAAC,CAAA,GAAA,iEAAU;IAE7D,IAAI,QAAQ;QACV,SAAS;YAAC,kBAAkB,CAAA,GAAA,gEAAS,CAAC,CAAC,wCAAwC;QAAA;QAC/E,QAAQ;YAAC,kBAAkB,CAAA,GAAA,gEAAS,CAAC,CAAC,uCAAuC;QAAA;IAC/E;IAEA,IAAI,aAAa,CAAA,GAAA,+BAAQ,EAAE,YAAY,gBAAgB,OAAO;IAE9D,qBACE,0DAAC,CAAA,GAAA,wCAAY;QAAG,GAAG,UAAU;QAAE,MAAK;QAAU,WAAW;QAAW,WAAA;qBAClE,0DAAC,CAAA,GAAA,uCAAW;QACT,GAAG,CAAA,GAAA,gCAAS,EAAE,YAAY,YAAY;YAAC,YAAY;QAAK,EAAE;QAC3D,KAAK;QACL,kBAAkB,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,gEAAS,GAAG,wCAAwC,WAAW;QAC5F,SAAA;OACC,qBAEH,0DAAC,CAAA,GAAA,oCAAS,uBACR,0DAAC,CAAA,GAAA,sCAAW;QAAE,OAAO;qBACnB,0DAAC,CAAA,GAAA,iCAAK;QAAE,kBAAkB,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,gEAAS,GAAG;OAC9C;AAMb;AAEA;;CAEC,GACD,IAAI,0DAAkB,CAAA,GAAA,sCAAI,EAAE,WAAW;;CD1DtC","sources":["packages/@react-spectrum/contextualhelp/src/index.ts","packages/@react-spectrum/contextualhelp/src/ContextualHelp.tsx","packages/@adobe/spectrum-css-temp/components/contextualhelp/vars.css","packages/@react-spectrum/contextualhelp/src/*.js","packages/@react-spectrum/contextualhelp/intl/ar-AE.json","packages/@react-spectrum/contextualhelp/intl/bg-BG.json","packages/@react-spectrum/contextualhelp/intl/cs-CZ.json","packages/@react-spectrum/contextualhelp/intl/da-DK.json","packages/@react-spectrum/contextualhelp/intl/de-DE.json","packages/@react-spectrum/contextualhelp/intl/el-GR.json","packages/@react-spectrum/contextualhelp/intl/en-US.json","packages/@react-spectrum/contextualhelp/intl/es-ES.json","packages/@react-spectrum/contextualhelp/intl/et-EE.json","packages/@react-spectrum/contextualhelp/intl/fi-FI.json","packages/@react-spectrum/contextualhelp/intl/fr-FR.json","packages/@react-spectrum/contextualhelp/intl/he-IL.json","packages/@react-spectrum/contextualhelp/intl/hr-HR.json","packages/@react-spectrum/contextualhelp/intl/hu-HU.json","packages/@react-spectrum/contextualhelp/intl/it-IT.json","packages/@react-spectrum/contextualhelp/intl/ja-JP.json","packages/@react-spectrum/contextualhelp/intl/ko-KR.json","packages/@react-spectrum/contextualhelp/intl/lt-LT.json","packages/@react-spectrum/contextualhelp/intl/lv-LV.json","packages/@react-spectrum/contextualhelp/intl/nb-NO.json","packages/@react-spectrum/contextualhelp/intl/nl-NL.json","packages/@react-spectrum/contextualhelp/intl/pl-PL.json","packages/@react-spectrum/contextualhelp/intl/pt-BR.json","packages/@react-spectrum/contextualhelp/intl/pt-PT.json","packages/@react-spectrum/contextualhelp/intl/ro-RO.json","packages/@react-spectrum/contextualhelp/intl/ru-RU.json","packages/@react-spectrum/contextualhelp/intl/sk-SK.json","packages/@react-spectrum/contextualhelp/intl/sl-SI.json","packages/@react-spectrum/contextualhelp/intl/sr-SP.json","packages/@react-spectrum/contextualhelp/intl/sv-SE.json","packages/@react-spectrum/contextualhelp/intl/tr-TR.json","packages/@react-spectrum/contextualhelp/intl/uk-UA.json","packages/@react-spectrum/contextualhelp/intl/zh-CN.json","packages/@react-spectrum/contextualhelp/intl/zh-TW.json"],"sourcesContent":["/*\n * Copyright 2021 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\nexport {ContextualHelp} from './ContextualHelp';\nexport type {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\n","/*\n * Copyright 2021 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 {ActionButton} from '@react-spectrum/button';\nimport {classNames, ClearSlots, SlotProvider} from '@react-spectrum/utils';\nimport {Dialog, DialogTrigger} from '@react-spectrum/dialog';\nimport {FocusableRef} from '@react-types/shared';\nimport HelpOutline from '@spectrum-icons/workflow/HelpOutline';\nimport helpStyles from '@adobe/spectrum-css-temp/components/contextualhelp/vars.css';\nimport InfoOutline from '@spectrum-icons/workflow/InfoOutline';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {mergeProps, useLabels} from '@react-aria/utils';\nimport React from 'react';\nimport {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nfunction ContextualHelp(props: SpectrumContextualHelpProps, ref: FocusableRef<HTMLButtonElement>) {\n let {\n variant = 'help',\n placement = 'bottom start',\n children,\n ...otherProps\n } = props;\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n\n let icon = variant === 'info' ? <InfoOutline /> : <HelpOutline />;\n\n let slots = {\n content: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-content']},\n footer: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-footer']}\n };\n\n let labelProps = useLabels(otherProps, stringFormatter.format(variant));\n\n return (\n <DialogTrigger {...otherProps} type=\"popover\" placement={placement} hideArrow>\n <ActionButton\n {...mergeProps(otherProps, labelProps, {isDisabled: false})}\n ref={ref}\n UNSAFE_className={classNames(helpStyles, 'react-spectrum-ContextualHelp-button', otherProps.UNSAFE_className)}\n isQuiet>\n {icon}\n </ActionButton>\n <ClearSlots>\n <SlotProvider slots={slots}>\n <Dialog UNSAFE_className={classNames(helpStyles, 'react-spectrum-ContextualHelp-dialog')}>\n {children}\n </Dialog>\n </SlotProvider>\n </ClearSlots>\n </DialogTrigger>\n );\n}\n\n/**\n * Contextual help shows a user extra information about the state of an adjacent component, or a total view.\n */\nlet _ContextualHelp = React.forwardRef(ContextualHelp);\nexport {_ContextualHelp as ContextualHelp};\n","/*\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\n@import './index.css';\n@import './skin.css';\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"help\": \"مساعدة\",\n \"info\": \"معلومات\"\n}\n","{\n \"help\": \"Помощ\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Nápověda\",\n \"info\": \"Informace\"\n}\n","{\n \"help\": \"Hjælp\",\n \"info\": \"Oplysninger\"\n}\n","{\n \"help\": \"Hilfe\",\n \"info\": \"Informationen\"\n}\n","{\n \"help\": \"Βοήθεια\",\n \"info\": \"Πληροφορίες\"\n}\n","{\n \"info\": \"Information\",\n \"help\": \"Help\"\n}\n","{\n \"help\": \"Ayuda\",\n \"info\": \"Información\"\n}\n","{\n \"help\": \"Spikker\",\n \"info\": \"Teave\"\n}\n","{\n \"help\": \"Ohje\",\n \"info\": \"Tiedot\"\n}\n","{\n \"help\": \"Aide\",\n \"info\": \"Informations\"\n}\n","{\n \"help\": \"עזרה\",\n \"info\": \"מידע\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Súgó\",\n \"info\": \"Információ\"\n}\n","{\n \"help\": \"Aiuto\",\n \"info\": \"Informazioni\"\n}\n","{\n \"help\": \"ヘルプ\",\n \"info\": \"情報\"\n}\n","{\n \"help\": \"도움말\",\n \"info\": \"정보\"\n}\n","{\n \"help\": \"Žinynas\",\n \"info\": \"Informacija\"\n}\n","{\n \"help\": \"Palīdzība\",\n \"info\": \"Informācija\"\n}\n","{\n \"help\": \"Hjelp\",\n \"info\": \"Informasjon\"\n}\n","{\n \"help\": \"Help\",\n \"info\": \"Informatie\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informacja\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informações\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informação\"\n}\n","{\n \"help\": \"Ajutor\",\n \"info\": \"Informaţii\"\n}\n","{\n \"help\": \"Справка\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informácie\"\n}\n","{\n \"help\": \"Pomoč\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Hjälp\",\n \"info\": \"Information\"\n}\n","{\n \"help\": \"Yardım\",\n \"info\": \"Bilgiler\"\n}\n","{\n \"help\": \"Довідка\",\n \"info\": \"Інформація\"\n}\n","{\n \"help\": \"帮助\",\n \"info\": \"信息\"\n}\n","{\n \"help\": \"說明\",\n \"info\": \"資訊\"\n}\n"],"names":[],"version":3,"file":"main.js.map"}
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAHA,4CAAyD,CAAC,2CAA2C,CAAC;AACtG,2CAA0D,CAAC,4CAA4C,CAAC;AACxG,4CAAyD,CAAC,2CAA2C,CAAC;AACtG,4CAAyD,CAAC,2CAA2C,CAAC;;;;;;ACHtG;;;;;;;;;;ACAA;;;;;;;;;;CAUC;;;;;;;;;AEVD,4BAAiB;IAAG,QAAQ,CAAC,0CAAM,CAAC;IAClC,QAAQ,CAAC,iDAAO,CAAC;AACnB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,mCAAK,CAAC;IACjC,QAAQ,CAAC,sEAAU,CAAC;AACtB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,iBAAQ,CAAC;IACpC,QAAQ,CAAC,SAAS,CAAC;AACrB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,QAAK,CAAC;IACjC,QAAQ,CAAC,WAAW,CAAC;AACvB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,KAAK,CAAC;IACjC,QAAQ,CAAC,aAAa,CAAC;AACzB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,iDAAO,CAAC;IACnC,QAAQ,CA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,SAAA;OACC,qBAEH,0DAAC,CAAA,GAAA,oCAAS,uBACR,0DAAC,CAAA,GAAA,sCAAW;QAAE,OAAO;qBACnB,0DAAC,CAAA,GAAA,iCAAK;QAAE,kBAAkB,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,6CAAS,GAAG;OAC9C;AAMb;AAEA;;CAEC,GACD,IAAI,0DAAkB,CAAA,GAAA,sCAAI,EAAE,UAAU,CAAC;;CD1DtC","sources":["packages/@adobe/spectrum-css-temp/components/contextualhelp/vars.css","packages/@react-spectrum/contextualhelp/src/index.ts","packages/@react-spectrum/contextualhelp/src/ContextualHelp.tsx","packages/@react-spectrum/contextualhelp/src/*.js","packages/@react-spectrum/contextualhelp/intl/ar-AE.json","packages/@react-spectrum/contextualhelp/intl/bg-BG.json","packages/@react-spectrum/contextualhelp/intl/cs-CZ.json","packages/@react-spectrum/contextualhelp/intl/da-DK.json","packages/@react-spectrum/contextualhelp/intl/de-DE.json","packages/@react-spectrum/contextualhelp/intl/el-GR.json","packages/@react-spectrum/contextualhelp/intl/en-US.json","packages/@react-spectrum/contextualhelp/intl/es-ES.json","packages/@react-spectrum/contextualhelp/intl/et-EE.json","packages/@react-spectrum/contextualhelp/intl/fi-FI.json","packages/@react-spectrum/contextualhelp/intl/fr-FR.json","packages/@react-spectrum/contextualhelp/intl/he-IL.json","packages/@react-spectrum/contextualhelp/intl/hr-HR.json","packages/@react-spectrum/contextualhelp/intl/hu-HU.json","packages/@react-spectrum/contextualhelp/intl/it-IT.json","packages/@react-spectrum/contextualhelp/intl/ja-JP.json","packages/@react-spectrum/contextualhelp/intl/ko-KR.json","packages/@react-spectrum/contextualhelp/intl/lt-LT.json","packages/@react-spectrum/contextualhelp/intl/lv-LV.json","packages/@react-spectrum/contextualhelp/intl/nb-NO.json","packages/@react-spectrum/contextualhelp/intl/nl-NL.json","packages/@react-spectrum/contextualhelp/intl/pl-PL.json","packages/@react-spectrum/contextualhelp/intl/pt-BR.json","packages/@react-spectrum/contextualhelp/intl/pt-PT.json","packages/@react-spectrum/contextualhelp/intl/ro-RO.json","packages/@react-spectrum/contextualhelp/intl/ru-RU.json","packages/@react-spectrum/contextualhelp/intl/sk-SK.json","packages/@react-spectrum/contextualhelp/intl/sl-SI.json","packages/@react-spectrum/contextualhelp/intl/sr-SP.json","packages/@react-spectrum/contextualhelp/intl/sv-SE.json","packages/@react-spectrum/contextualhelp/intl/tr-TR.json","packages/@react-spectrum/contextualhelp/intl/uk-UA.json","packages/@react-spectrum/contextualhelp/intl/zh-CN.json","packages/@react-spectrum/contextualhelp/intl/zh-TW.json"],"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\n@import './index.css';\n@import './skin.css';\n","/*\n * Copyright 2021 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\nexport {ContextualHelp} from './ContextualHelp';\nexport type {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\n","/*\n * Copyright 2021 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 {ActionButton} from '@react-spectrum/button';\nimport {classNames, ClearSlots, SlotProvider} from '@react-spectrum/utils';\nimport {Dialog, DialogTrigger} from '@react-spectrum/dialog';\nimport {FocusableRef} from '@react-types/shared';\nimport HelpOutline from '@spectrum-icons/workflow/HelpOutline';\nimport helpStyles from '@adobe/spectrum-css-temp/components/contextualhelp/vars.css';\nimport InfoOutline from '@spectrum-icons/workflow/InfoOutline';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {mergeProps, useLabels} from '@react-aria/utils';\nimport React from 'react';\nimport {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nfunction ContextualHelp(props: SpectrumContextualHelpProps, ref: FocusableRef<HTMLButtonElement>) {\n let {\n variant = 'help',\n placement = 'bottom start',\n children,\n ...otherProps\n } = props;\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n\n let icon = variant === 'info' ? <InfoOutline /> : <HelpOutline />;\n\n let slots = {\n content: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-content']},\n footer: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-footer']}\n };\n\n let labelProps = useLabels(otherProps, stringFormatter.format(variant));\n\n return (\n <DialogTrigger {...otherProps} type=\"popover\" placement={placement} hideArrow>\n <ActionButton\n {...mergeProps(otherProps, labelProps, {isDisabled: false})}\n ref={ref}\n UNSAFE_className={classNames(helpStyles, 'react-spectrum-ContextualHelp-button', otherProps.UNSAFE_className)}\n isQuiet>\n {icon}\n </ActionButton>\n <ClearSlots>\n <SlotProvider slots={slots}>\n <Dialog UNSAFE_className={classNames(helpStyles, 'react-spectrum-ContextualHelp-dialog')}>\n {children}\n </Dialog>\n </SlotProvider>\n </ClearSlots>\n </DialogTrigger>\n );\n}\n\n/**\n * Contextual help shows a user extra information about the state of an adjacent component, or a total view.\n */\nlet _ContextualHelp = React.forwardRef(ContextualHelp);\nexport {_ContextualHelp as ContextualHelp};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"help\": \"مساعدة\",\n \"info\": \"معلومات\"\n}\n","{\n \"help\": \"Помощ\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Nápověda\",\n \"info\": \"Informace\"\n}\n","{\n \"help\": \"Hjælp\",\n \"info\": \"Oplysninger\"\n}\n","{\n \"help\": \"Hilfe\",\n \"info\": \"Informationen\"\n}\n","{\n \"help\": \"Βοήθεια\",\n \"info\": \"Πληροφορίες\"\n}\n","{\n \"info\": \"Information\",\n \"help\": \"Help\"\n}\n","{\n \"help\": \"Ayuda\",\n \"info\": \"Información\"\n}\n","{\n \"help\": \"Spikker\",\n \"info\": \"Teave\"\n}\n","{\n \"help\": \"Ohje\",\n \"info\": \"Tiedot\"\n}\n","{\n \"help\": \"Aide\",\n \"info\": \"Informations\"\n}\n","{\n \"help\": \"עזרה\",\n \"info\": \"מידע\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Súgó\",\n \"info\": \"Információ\"\n}\n","{\n \"help\": \"Aiuto\",\n \"info\": \"Informazioni\"\n}\n","{\n \"help\": \"ヘルプ\",\n \"info\": \"情報\"\n}\n","{\n \"help\": \"도움말\",\n \"info\": \"정보\"\n}\n","{\n \"help\": \"Žinynas\",\n \"info\": \"Informacija\"\n}\n","{\n \"help\": \"Palīdzība\",\n \"info\": \"Informācija\"\n}\n","{\n \"help\": \"Hjelp\",\n \"info\": \"Informasjon\"\n}\n","{\n \"help\": \"Help\",\n \"info\": \"Informatie\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informacja\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informações\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informação\"\n}\n","{\n \"help\": \"Ajutor\",\n \"info\": \"Informaţii\"\n}\n","{\n \"help\": \"Справка\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informácie\"\n}\n","{\n \"help\": \"Pomoč\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Hjälp\",\n \"info\": \"Information\"\n}\n","{\n \"help\": \"Yardım\",\n \"info\": \"Bilgiler\"\n}\n","{\n \"help\": \"Довідка\",\n \"info\": \"Інформація\"\n}\n","{\n \"help\": \"帮助\",\n \"info\": \"信息\"\n}\n","{\n \"help\": \"說明\",\n \"info\": \"資訊\"\n}\n"],"names":[],"version":3,"file":"main.js.map"}
|
package/dist/module.js
CHANGED
|
@@ -8,12 +8,65 @@ import {useLabels as $2FtBM$useLabels, mergeProps as $2FtBM$mergeProps} from "@r
|
|
|
8
8
|
import $2FtBM$react from "react";
|
|
9
9
|
import {useLocalizedStringFormatter as $2FtBM$useLocalizedStringFormatter} from "@react-aria/i18n";
|
|
10
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
|
+
|
|
11
16
|
function $parcel$interopDefault(a) {
|
|
12
17
|
return a && a.__esModule ? a.default : a;
|
|
13
18
|
}
|
|
14
|
-
|
|
15
|
-
|
|
19
|
+
|
|
20
|
+
var $parcel$global = globalThis;
|
|
21
|
+
|
|
22
|
+
var $parcel$modules = {};
|
|
23
|
+
var $parcel$inits = {};
|
|
24
|
+
|
|
25
|
+
var parcelRequire = $parcel$global["parcelRequire7f0c"];
|
|
26
|
+
|
|
27
|
+
if (parcelRequire == null) {
|
|
28
|
+
parcelRequire = function(id) {
|
|
29
|
+
if (id in $parcel$modules) {
|
|
30
|
+
return $parcel$modules[id].exports;
|
|
31
|
+
}
|
|
32
|
+
if (id in $parcel$inits) {
|
|
33
|
+
var init = $parcel$inits[id];
|
|
34
|
+
delete $parcel$inits[id];
|
|
35
|
+
var module = {id: id, exports: {}};
|
|
36
|
+
$parcel$modules[id] = module;
|
|
37
|
+
init.call(module.exports, module, module.exports);
|
|
38
|
+
return module.exports;
|
|
39
|
+
}
|
|
40
|
+
var err = new Error("Cannot find module '" + id + "'");
|
|
41
|
+
err.code = 'MODULE_NOT_FOUND';
|
|
42
|
+
throw err;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
parcelRequire.register = function register(id, init) {
|
|
46
|
+
$parcel$inits[id] = init;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
$parcel$global["parcelRequire7f0c"] = parcelRequire;
|
|
16
50
|
}
|
|
51
|
+
|
|
52
|
+
var parcelRegister = parcelRequire.register;
|
|
53
|
+
parcelRegister("gS7K3", function(module, exports) {
|
|
54
|
+
|
|
55
|
+
$parcel$export(module.exports, "react-spectrum-ContextualHelp-button", () => $c487b1d738ebeac2$export$20d9583c9f1529c1, (v) => $c487b1d738ebeac2$export$20d9583c9f1529c1 = v);
|
|
56
|
+
$parcel$export(module.exports, "react-spectrum-ContextualHelp-content", () => $c487b1d738ebeac2$export$a1f805890cf58c4, (v) => $c487b1d738ebeac2$export$a1f805890cf58c4 = v);
|
|
57
|
+
$parcel$export(module.exports, "react-spectrum-ContextualHelp-dialog", () => $c487b1d738ebeac2$export$ab2d873674d20d28, (v) => $c487b1d738ebeac2$export$ab2d873674d20d28 = v);
|
|
58
|
+
$parcel$export(module.exports, "react-spectrum-ContextualHelp-footer", () => $c487b1d738ebeac2$export$d901bc3fa82b87a6, (v) => $c487b1d738ebeac2$export$d901bc3fa82b87a6 = v);
|
|
59
|
+
var $c487b1d738ebeac2$export$20d9583c9f1529c1;
|
|
60
|
+
var $c487b1d738ebeac2$export$a1f805890cf58c4;
|
|
61
|
+
var $c487b1d738ebeac2$export$ab2d873674d20d28;
|
|
62
|
+
var $c487b1d738ebeac2$export$d901bc3fa82b87a6;
|
|
63
|
+
$c487b1d738ebeac2$export$20d9583c9f1529c1 = `L6gUaa_react-spectrum-ContextualHelp-button`;
|
|
64
|
+
$c487b1d738ebeac2$export$a1f805890cf58c4 = `L6gUaa_react-spectrum-ContextualHelp-content`;
|
|
65
|
+
$c487b1d738ebeac2$export$ab2d873674d20d28 = `L6gUaa_react-spectrum-ContextualHelp-dialog`;
|
|
66
|
+
$c487b1d738ebeac2$export$d901bc3fa82b87a6 = `L6gUaa_react-spectrum-ContextualHelp-footer`;
|
|
67
|
+
|
|
68
|
+
});
|
|
69
|
+
|
|
17
70
|
/*
|
|
18
71
|
* Copyright 2021 Adobe. All rights reserved.
|
|
19
72
|
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
@@ -38,48 +91,34 @@ function $parcel$export(e, n, v, s) {
|
|
|
38
91
|
|
|
39
92
|
|
|
40
93
|
|
|
41
|
-
var $c487b1d738ebeac2$exports = {};
|
|
42
|
-
|
|
43
|
-
$parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-button", () => $c487b1d738ebeac2$export$20d9583c9f1529c1, (v) => $c487b1d738ebeac2$export$20d9583c9f1529c1 = v);
|
|
44
|
-
$parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-content", () => $c487b1d738ebeac2$export$a1f805890cf58c4, (v) => $c487b1d738ebeac2$export$a1f805890cf58c4 = v);
|
|
45
|
-
$parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-dialog", () => $c487b1d738ebeac2$export$ab2d873674d20d28, (v) => $c487b1d738ebeac2$export$ab2d873674d20d28 = v);
|
|
46
|
-
$parcel$export($c487b1d738ebeac2$exports, "react-spectrum-ContextualHelp-footer", () => $c487b1d738ebeac2$export$d901bc3fa82b87a6, (v) => $c487b1d738ebeac2$export$d901bc3fa82b87a6 = v);
|
|
47
|
-
var $c487b1d738ebeac2$export$20d9583c9f1529c1;
|
|
48
|
-
var $c487b1d738ebeac2$export$a1f805890cf58c4;
|
|
49
|
-
var $c487b1d738ebeac2$export$ab2d873674d20d28;
|
|
50
|
-
var $c487b1d738ebeac2$export$d901bc3fa82b87a6;
|
|
51
|
-
$c487b1d738ebeac2$export$20d9583c9f1529c1 = `L6gUaa_react-spectrum-ContextualHelp-button`;
|
|
52
|
-
$c487b1d738ebeac2$export$a1f805890cf58c4 = `L6gUaa_react-spectrum-ContextualHelp-content`;
|
|
53
|
-
$c487b1d738ebeac2$export$ab2d873674d20d28 = `L6gUaa_react-spectrum-ContextualHelp-dialog`;
|
|
54
|
-
$c487b1d738ebeac2$export$d901bc3fa82b87a6 = `L6gUaa_react-spectrum-ContextualHelp-footer`;
|
|
55
|
-
|
|
56
94
|
|
|
95
|
+
var $gS7K3 = parcelRequire("gS7K3");
|
|
57
96
|
|
|
58
97
|
var $ff7022a435a048e3$exports = {};
|
|
59
98
|
var $9cc8b85ee8327c05$exports = {};
|
|
60
99
|
$9cc8b85ee8327c05$exports = {
|
|
61
|
-
"help":
|
|
62
|
-
"info":
|
|
100
|
+
"help": `\u{645}\u{633}\u{627}\u{639}\u{62F}\u{629}`,
|
|
101
|
+
"info": `\u{645}\u{639}\u{644}\u{648}\u{645}\u{627}\u{62A}`
|
|
63
102
|
};
|
|
64
103
|
|
|
65
104
|
|
|
66
105
|
var $56f7d9be41e5dc75$exports = {};
|
|
67
106
|
$56f7d9be41e5dc75$exports = {
|
|
68
|
-
"help":
|
|
69
|
-
"info":
|
|
107
|
+
"help": `\u{41F}\u{43E}\u{43C}\u{43E}\u{449}`,
|
|
108
|
+
"info": `\u{418}\u{43D}\u{444}\u{43E}\u{440}\u{43C}\u{430}\u{446}\u{438}\u{44F}`
|
|
70
109
|
};
|
|
71
110
|
|
|
72
111
|
|
|
73
112
|
var $c427e4a9ab6700b2$exports = {};
|
|
74
113
|
$c427e4a9ab6700b2$exports = {
|
|
75
|
-
"help": `
|
|
114
|
+
"help": `N\xe1pov\u{11B}da`,
|
|
76
115
|
"info": `Informace`
|
|
77
116
|
};
|
|
78
117
|
|
|
79
118
|
|
|
80
119
|
var $ee2212e66656667f$exports = {};
|
|
81
120
|
$ee2212e66656667f$exports = {
|
|
82
|
-
"help": `
|
|
121
|
+
"help": `Hj\xe6lp`,
|
|
83
122
|
"info": `Oplysninger`
|
|
84
123
|
};
|
|
85
124
|
|
|
@@ -93,8 +132,8 @@ $112e467ad7137275$exports = {
|
|
|
93
132
|
|
|
94
133
|
var $7ad0d6a9c54bdc43$exports = {};
|
|
95
134
|
$7ad0d6a9c54bdc43$exports = {
|
|
96
|
-
"help":
|
|
97
|
-
"info":
|
|
135
|
+
"help": `\u{392}\u{3BF}\u{3AE}\u{3B8}\u{3B5}\u{3B9}\u{3B1}`,
|
|
136
|
+
"info": `\u{3A0}\u{3BB}\u{3B7}\u{3C1}\u{3BF}\u{3C6}\u{3BF}\u{3C1}\u{3AF}\u{3B5}\u{3C2}`
|
|
98
137
|
};
|
|
99
138
|
|
|
100
139
|
|
|
@@ -108,7 +147,7 @@ $704e90e35332a9cb$exports = {
|
|
|
108
147
|
var $f2e0410dbb606550$exports = {};
|
|
109
148
|
$f2e0410dbb606550$exports = {
|
|
110
149
|
"help": `Ayuda`,
|
|
111
|
-
"info": `
|
|
150
|
+
"info": `Informaci\xf3n`
|
|
112
151
|
};
|
|
113
152
|
|
|
114
153
|
|
|
@@ -135,22 +174,22 @@ $28b0fbf00803a68f$exports = {
|
|
|
135
174
|
|
|
136
175
|
var $77110a8f3000e559$exports = {};
|
|
137
176
|
$77110a8f3000e559$exports = {
|
|
138
|
-
"help":
|
|
139
|
-
"info":
|
|
177
|
+
"help": `\u{5E2}\u{5D6}\u{5E8}\u{5D4}`,
|
|
178
|
+
"info": `\u{5DE}\u{5D9}\u{5D3}\u{5E2}`
|
|
140
179
|
};
|
|
141
180
|
|
|
142
181
|
|
|
143
182
|
var $dcc3492993669fc3$exports = {};
|
|
144
183
|
$dcc3492993669fc3$exports = {
|
|
145
|
-
"help": `Pomo
|
|
184
|
+
"help": `Pomo\u{107}`,
|
|
146
185
|
"info": `Informacije`
|
|
147
186
|
};
|
|
148
187
|
|
|
149
188
|
|
|
150
189
|
var $d376dd5b16d08137$exports = {};
|
|
151
190
|
$d376dd5b16d08137$exports = {
|
|
152
|
-
"help": `
|
|
153
|
-
"info": `
|
|
191
|
+
"help": `S\xfag\xf3`,
|
|
192
|
+
"info": `Inform\xe1ci\xf3`
|
|
154
193
|
};
|
|
155
194
|
|
|
156
195
|
|
|
@@ -163,29 +202,29 @@ $45f88f0321bb5a8f$exports = {
|
|
|
163
202
|
|
|
164
203
|
var $8f643aac2e9e9e26$exports = {};
|
|
165
204
|
$8f643aac2e9e9e26$exports = {
|
|
166
|
-
"help":
|
|
167
|
-
"info":
|
|
205
|
+
"help": `\u{30D8}\u{30EB}\u{30D7}`,
|
|
206
|
+
"info": `\u{60C5}\u{5831}`
|
|
168
207
|
};
|
|
169
208
|
|
|
170
209
|
|
|
171
210
|
var $784ec4e789b99a71$exports = {};
|
|
172
211
|
$784ec4e789b99a71$exports = {
|
|
173
|
-
"help":
|
|
174
|
-
"info":
|
|
212
|
+
"help": `\u{B3C4}\u{C6C0}\u{B9D0}`,
|
|
213
|
+
"info": `\u{C815}\u{BCF4}`
|
|
175
214
|
};
|
|
176
215
|
|
|
177
216
|
|
|
178
217
|
var $fcda0e0582088650$exports = {};
|
|
179
218
|
$fcda0e0582088650$exports = {
|
|
180
|
-
"help":
|
|
219
|
+
"help": `\u{17D}inynas`,
|
|
181
220
|
"info": `Informacija`
|
|
182
221
|
};
|
|
183
222
|
|
|
184
223
|
|
|
185
224
|
var $9c3b35ecd7c5e348$exports = {};
|
|
186
225
|
$9c3b35ecd7c5e348$exports = {
|
|
187
|
-
"help": `
|
|
188
|
-
"info": `
|
|
226
|
+
"help": `Pal\u{12B}dz\u{12B}ba`,
|
|
227
|
+
"info": `Inform\u{101}cija`
|
|
189
228
|
};
|
|
190
229
|
|
|
191
230
|
|
|
@@ -213,84 +252,84 @@ $3ed876b500650109$exports = {
|
|
|
213
252
|
var $999b0348d4f9e0ae$exports = {};
|
|
214
253
|
$999b0348d4f9e0ae$exports = {
|
|
215
254
|
"help": `Ajuda`,
|
|
216
|
-
"info": `
|
|
255
|
+
"info": `Informa\xe7\xf5es`
|
|
217
256
|
};
|
|
218
257
|
|
|
219
258
|
|
|
220
259
|
var $01e38e0d24e067b8$exports = {};
|
|
221
260
|
$01e38e0d24e067b8$exports = {
|
|
222
261
|
"help": `Ajuda`,
|
|
223
|
-
"info": `
|
|
262
|
+
"info": `Informa\xe7\xe3o`
|
|
224
263
|
};
|
|
225
264
|
|
|
226
265
|
|
|
227
266
|
var $130ce4093fe216d5$exports = {};
|
|
228
267
|
$130ce4093fe216d5$exports = {
|
|
229
268
|
"help": `Ajutor`,
|
|
230
|
-
"info": `
|
|
269
|
+
"info": `Informa\u{163}ii`
|
|
231
270
|
};
|
|
232
271
|
|
|
233
272
|
|
|
234
273
|
var $3b25696a80a9bfd8$exports = {};
|
|
235
274
|
$3b25696a80a9bfd8$exports = {
|
|
236
|
-
"help":
|
|
237
|
-
"info":
|
|
275
|
+
"help": `\u{421}\u{43F}\u{440}\u{430}\u{432}\u{43A}\u{430}`,
|
|
276
|
+
"info": `\u{418}\u{43D}\u{444}\u{43E}\u{440}\u{43C}\u{430}\u{446}\u{438}\u{44F}`
|
|
238
277
|
};
|
|
239
278
|
|
|
240
279
|
|
|
241
280
|
var $70037a741b152768$exports = {};
|
|
242
281
|
$70037a741b152768$exports = {
|
|
243
282
|
"help": `Pomoc`,
|
|
244
|
-
"info": `
|
|
283
|
+
"info": `Inform\xe1cie`
|
|
245
284
|
};
|
|
246
285
|
|
|
247
286
|
|
|
248
287
|
var $4ce06844b60c40b5$exports = {};
|
|
249
288
|
$4ce06844b60c40b5$exports = {
|
|
250
|
-
"help": `Pomo
|
|
289
|
+
"help": `Pomo\u{10D}`,
|
|
251
290
|
"info": `Informacije`
|
|
252
291
|
};
|
|
253
292
|
|
|
254
293
|
|
|
255
294
|
var $78c0c0c4796561ef$exports = {};
|
|
256
295
|
$78c0c0c4796561ef$exports = {
|
|
257
|
-
"help": `Pomo
|
|
296
|
+
"help": `Pomo\u{107}`,
|
|
258
297
|
"info": `Informacije`
|
|
259
298
|
};
|
|
260
299
|
|
|
261
300
|
|
|
262
301
|
var $a701758f24293d53$exports = {};
|
|
263
302
|
$a701758f24293d53$exports = {
|
|
264
|
-
"help": `
|
|
303
|
+
"help": `Hj\xe4lp`,
|
|
265
304
|
"info": `Information`
|
|
266
305
|
};
|
|
267
306
|
|
|
268
307
|
|
|
269
308
|
var $ac0041dae2f30090$exports = {};
|
|
270
309
|
$ac0041dae2f30090$exports = {
|
|
271
|
-
"help": `
|
|
310
|
+
"help": `Yard\u{131}m`,
|
|
272
311
|
"info": `Bilgiler`
|
|
273
312
|
};
|
|
274
313
|
|
|
275
314
|
|
|
276
315
|
var $e3e68b40fcb16018$exports = {};
|
|
277
316
|
$e3e68b40fcb16018$exports = {
|
|
278
|
-
"help":
|
|
279
|
-
"info":
|
|
317
|
+
"help": `\u{414}\u{43E}\u{432}\u{456}\u{434}\u{43A}\u{430}`,
|
|
318
|
+
"info": `\u{406}\u{43D}\u{444}\u{43E}\u{440}\u{43C}\u{430}\u{446}\u{456}\u{44F}`
|
|
280
319
|
};
|
|
281
320
|
|
|
282
321
|
|
|
283
322
|
var $befba97b83d35197$exports = {};
|
|
284
323
|
$befba97b83d35197$exports = {
|
|
285
|
-
"help":
|
|
286
|
-
"info":
|
|
324
|
+
"help": `\u{5E2E}\u{52A9}`,
|
|
325
|
+
"info": `\u{4FE1}\u{606F}`
|
|
287
326
|
};
|
|
288
327
|
|
|
289
328
|
|
|
290
329
|
var $6051e1035ff73e7b$exports = {};
|
|
291
330
|
$6051e1035ff73e7b$exports = {
|
|
292
|
-
"help":
|
|
293
|
-
"info":
|
|
331
|
+
"help": `\u{8AAA}\u{660E}`,
|
|
332
|
+
"info": `\u{8CC7}\u{8A0A}`
|
|
294
333
|
};
|
|
295
334
|
|
|
296
335
|
|
|
@@ -341,10 +380,10 @@ function $9d9069cfc9959198$var$ContextualHelp(props, ref) {
|
|
|
341
380
|
let icon = variant === "info" ? /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$spectrumiconsworkflowInfoOutline), null) : /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$spectrumiconsworkflowHelpOutline), null);
|
|
342
381
|
let slots = {
|
|
343
382
|
content: {
|
|
344
|
-
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($
|
|
383
|
+
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($gS7K3)))["react-spectrum-ContextualHelp-content"]
|
|
345
384
|
},
|
|
346
385
|
footer: {
|
|
347
|
-
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($
|
|
386
|
+
UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($gS7K3)))["react-spectrum-ContextualHelp-footer"]
|
|
348
387
|
}
|
|
349
388
|
};
|
|
350
389
|
let labelProps = (0, $2FtBM$useLabels)(otherProps, stringFormatter.format(variant));
|
|
@@ -358,12 +397,12 @@ function $9d9069cfc9959198$var$ContextualHelp(props, ref) {
|
|
|
358
397
|
isDisabled: false
|
|
359
398
|
}),
|
|
360
399
|
ref: ref,
|
|
361
|
-
UNSAFE_className: (0, $2FtBM$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
400
|
+
UNSAFE_className: (0, $2FtBM$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($gS7K3))), "react-spectrum-ContextualHelp-button", otherProps.UNSAFE_className),
|
|
362
401
|
isQuiet: true
|
|
363
402
|
}, icon), /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$ClearSlots), null, /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$SlotProvider), {
|
|
364
403
|
slots: slots
|
|
365
404
|
}, /*#__PURE__*/ (0, $2FtBM$react).createElement((0, $2FtBM$Dialog), {
|
|
366
|
-
UNSAFE_className: (0, $2FtBM$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($
|
|
405
|
+
UNSAFE_className: (0, $2FtBM$classNames)((0, (/*@__PURE__*/$parcel$interopDefault($gS7K3))), "react-spectrum-ContextualHelp-dialog")
|
|
367
406
|
}, children))));
|
|
368
407
|
}
|
|
369
408
|
/**
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;ACAA;;;;;;;;;;CAUC;;;;;;;;;;ACVD,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAHA,4CAAyD,CAAC,2CAA2C,CAAC;AACtG,2CAA0D,CAAC,4CAA4C,CAAC;AACxG,4CAAyD,CAAC,2CAA2C,CAAC;AACtG,4CAAyD,CAAC,2CAA2C,CAAC;;;;;;AEHtG,4BAAiB;IAAG,QAAQ,CAAC,MAAM,CAAC;IAClC,QAAQ,CAAC,OAAO,CAAC;AACnB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,KAAK,CAAC;IACjC,QAAQ,CAAC,UAAU,CAAC;AACtB;;;;ACFA,4BAAiB;IAAG,QAAQ,CAAC,QAAQ,CAAC;IACpC,QAAQ,C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WAAW;QAAW,WAAA;qBAClE,gCAAC,CAAA,GAAA,mBAAW;QACT,GAAG,CAAA,GAAA,iBAAS,EAAE,YAAY,YAAY;YAAC,YAAY;QAAK,EAAE;QAC3D,KAAK;QACL,kBAAkB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAS,GAAG,wCAAwC,WAAW;QAC5F,SAAA;OACC,qBAEH,gCAAC,CAAA,GAAA,iBAAS,uBACR,gCAAC,CAAA,GAAA,mBAAW;QAAE,OAAO;qBACnB,gCAAC,CAAA,GAAA,aAAK;QAAE,kBAAkB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAS,GAAG;OAC9C;AAMb;AAEA;;CAEC,GACD,IAAI,0DAAkB,CAAA,GAAA,YAAI,EAAE,WAAW;;CD1DtC","sources":["packages/@react-spectrum/contextualhelp/src/index.ts","packages/@react-spectrum/contextualhelp/src/ContextualHelp.tsx","packages/@adobe/spectrum-css-temp/components/contextualhelp/vars.css","packages/@react-spectrum/contextualhelp/src/*.js","packages/@react-spectrum/contextualhelp/intl/ar-AE.json","packages/@react-spectrum/contextualhelp/intl/bg-BG.json","packages/@react-spectrum/contextualhelp/intl/cs-CZ.json","packages/@react-spectrum/contextualhelp/intl/da-DK.json","packages/@react-spectrum/contextualhelp/intl/de-DE.json","packages/@react-spectrum/contextualhelp/intl/el-GR.json","packages/@react-spectrum/contextualhelp/intl/en-US.json","packages/@react-spectrum/contextualhelp/intl/es-ES.json","packages/@react-spectrum/contextualhelp/intl/et-EE.json","packages/@react-spectrum/contextualhelp/intl/fi-FI.json","packages/@react-spectrum/contextualhelp/intl/fr-FR.json","packages/@react-spectrum/contextualhelp/intl/he-IL.json","packages/@react-spectrum/contextualhelp/intl/hr-HR.json","packages/@react-spectrum/contextualhelp/intl/hu-HU.json","packages/@react-spectrum/contextualhelp/intl/it-IT.json","packages/@react-spectrum/contextualhelp/intl/ja-JP.json","packages/@react-spectrum/contextualhelp/intl/ko-KR.json","packages/@react-spectrum/contextualhelp/intl/lt-LT.json","packages/@react-spectrum/contextualhelp/intl/lv-LV.json","packages/@react-spectrum/contextualhelp/intl/nb-NO.json","packages/@react-spectrum/contextualhelp/intl/nl-NL.json","packages/@react-spectrum/contextualhelp/intl/pl-PL.json","packages/@react-spectrum/contextualhelp/intl/pt-BR.json","packages/@react-spectrum/contextualhelp/intl/pt-PT.json","packages/@react-spectrum/contextualhelp/intl/ro-RO.json","packages/@react-spectrum/contextualhelp/intl/ru-RU.json","packages/@react-spectrum/contextualhelp/intl/sk-SK.json","packages/@react-spectrum/contextualhelp/intl/sl-SI.json","packages/@react-spectrum/contextualhelp/intl/sr-SP.json","packages/@react-spectrum/contextualhelp/intl/sv-SE.json","packages/@react-spectrum/contextualhelp/intl/tr-TR.json","packages/@react-spectrum/contextualhelp/intl/uk-UA.json","packages/@react-spectrum/contextualhelp/intl/zh-CN.json","packages/@react-spectrum/contextualhelp/intl/zh-TW.json"],"sourcesContent":["/*\n * Copyright 2021 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\nexport {ContextualHelp} from './ContextualHelp';\nexport type {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\n","/*\n * Copyright 2021 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 {ActionButton} from '@react-spectrum/button';\nimport {classNames, ClearSlots, SlotProvider} from '@react-spectrum/utils';\nimport {Dialog, DialogTrigger} from '@react-spectrum/dialog';\nimport {FocusableRef} from '@react-types/shared';\nimport HelpOutline from '@spectrum-icons/workflow/HelpOutline';\nimport helpStyles from '@adobe/spectrum-css-temp/components/contextualhelp/vars.css';\nimport InfoOutline from '@spectrum-icons/workflow/InfoOutline';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {mergeProps, useLabels} from '@react-aria/utils';\nimport React from 'react';\nimport {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nfunction ContextualHelp(props: SpectrumContextualHelpProps, ref: FocusableRef<HTMLButtonElement>) {\n let {\n variant = 'help',\n placement = 'bottom start',\n children,\n ...otherProps\n } = props;\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n\n let icon = variant === 'info' ? <InfoOutline /> : <HelpOutline />;\n\n let slots = {\n content: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-content']},\n footer: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-footer']}\n };\n\n let labelProps = useLabels(otherProps, stringFormatter.format(variant));\n\n return (\n <DialogTrigger {...otherProps} type=\"popover\" placement={placement} hideArrow>\n <ActionButton\n {...mergeProps(otherProps, labelProps, {isDisabled: false})}\n ref={ref}\n UNSAFE_className={classNames(helpStyles, 'react-spectrum-ContextualHelp-button', otherProps.UNSAFE_className)}\n isQuiet>\n {icon}\n </ActionButton>\n <ClearSlots>\n <SlotProvider slots={slots}>\n <Dialog UNSAFE_className={classNames(helpStyles, 'react-spectrum-ContextualHelp-dialog')}>\n {children}\n </Dialog>\n </SlotProvider>\n </ClearSlots>\n </DialogTrigger>\n );\n}\n\n/**\n * Contextual help shows a user extra information about the state of an adjacent component, or a total view.\n */\nlet _ContextualHelp = React.forwardRef(ContextualHelp);\nexport {_ContextualHelp as ContextualHelp};\n","/*\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\n@import './index.css';\n@import './skin.css';\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"help\": \"مساعدة\",\n \"info\": \"معلومات\"\n}\n","{\n \"help\": \"Помощ\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Nápověda\",\n \"info\": \"Informace\"\n}\n","{\n \"help\": \"Hjælp\",\n \"info\": \"Oplysninger\"\n}\n","{\n \"help\": \"Hilfe\",\n \"info\": \"Informationen\"\n}\n","{\n \"help\": \"Βοήθεια\",\n \"info\": \"Πληροφορίες\"\n}\n","{\n \"info\": \"Information\",\n \"help\": \"Help\"\n}\n","{\n \"help\": \"Ayuda\",\n \"info\": \"Información\"\n}\n","{\n \"help\": \"Spikker\",\n \"info\": \"Teave\"\n}\n","{\n \"help\": \"Ohje\",\n \"info\": \"Tiedot\"\n}\n","{\n \"help\": \"Aide\",\n \"info\": \"Informations\"\n}\n","{\n \"help\": \"עזרה\",\n \"info\": \"מידע\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Súgó\",\n \"info\": \"Információ\"\n}\n","{\n \"help\": \"Aiuto\",\n \"info\": \"Informazioni\"\n}\n","{\n \"help\": \"ヘルプ\",\n \"info\": \"情報\"\n}\n","{\n \"help\": \"도움말\",\n \"info\": \"정보\"\n}\n","{\n \"help\": \"Žinynas\",\n \"info\": \"Informacija\"\n}\n","{\n \"help\": \"Palīdzība\",\n \"info\": \"Informācija\"\n}\n","{\n \"help\": \"Hjelp\",\n \"info\": \"Informasjon\"\n}\n","{\n \"help\": \"Help\",\n \"info\": \"Informatie\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informacja\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informações\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informação\"\n}\n","{\n \"help\": \"Ajutor\",\n \"info\": \"Informaţii\"\n}\n","{\n \"help\": \"Справка\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informácie\"\n}\n","{\n \"help\": \"Pomoč\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Hjälp\",\n \"info\": \"Information\"\n}\n","{\n \"help\": \"Yardım\",\n \"info\": \"Bilgiler\"\n}\n","{\n \"help\": \"Довідка\",\n \"info\": \"Інформація\"\n}\n","{\n \"help\": \"帮助\",\n \"info\": \"信息\"\n}\n","{\n \"help\": \"說明\",\n \"info\": \"資訊\"\n}\n"],"names":[],"version":3,"file":"module.js.map"}
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAA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AQ,EACR,GAAG,YACJ,GAAG;IAEJ,IAAI,kBAAkB,CAAA,GAAA,kCAA0B,EAAE,CAAA,GAAA,gEAAW;IAE7D,IAAI,OAAO,YAAY,uBAAS,gCAAC,CAAA,GAAA,uCAAU,yBAAO,gCAAC,CAAA,GAAA,uCAAU;IAE7D,IAAI,QAAQ;QACV,SAAS;YAAC,kBAAkB,CAAA,GAAA,6CAAS,CAAC,CAAC,wCAAwC;QAAA;QAC/E,QAAQ;YAAC,kBAAkB,CAAA,GAAA,6CAAS,CAAC,CAAC,uCAAuC;QAAA;IAC/E;IAEA,IAAI,aAAa,CAAA,GAAA,gBAAQ,EAAE,YAAY,gBAAgB,MAAM,CAAC;IAE9D,qBACE,gCAAC,CAAA,GAAA,oBAAY;QAAG,GAAG,UAAU;QAAE,MAAK;QAAU,WAAW;QAAW,WAAA;qBAClE,gCAAC,CAAA,GAAA,mBAAW;QACT,GAAG,CAAA,GAAA,iBAAS,EAAE,YAAY,YAAY;YAAC,YAAY;QAAK,EAAE;QAC3D,KAAK;QACL,kBAAkB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,6CAAS,GAAG,wCAAwC,WAAW,gBAAgB;QAC5G,SAAA;OACC,qBAEH,gCAAC,CAAA,GAAA,iBAAS,uBACR,gCAAC,CAAA,GAAA,mBAAW;QAAE,OAAO;qBACnB,gCAAC,CAAA,GAAA,aAAK;QAAE,kBAAkB,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,6CAAS,GAAG;OAC9C;AAMb;AAEA;;CAEC,GACD,IAAI,0DAAkB,CAAA,GAAA,YAAI,EAAE,UAAU,CAAC;;CD1DtC","sources":["packages/@adobe/spectrum-css-temp/components/contextualhelp/vars.css","packages/@react-spectrum/contextualhelp/src/index.ts","packages/@react-spectrum/contextualhelp/src/ContextualHelp.tsx","packages/@react-spectrum/contextualhelp/src/*.js","packages/@react-spectrum/contextualhelp/intl/ar-AE.json","packages/@react-spectrum/contextualhelp/intl/bg-BG.json","packages/@react-spectrum/contextualhelp/intl/cs-CZ.json","packages/@react-spectrum/contextualhelp/intl/da-DK.json","packages/@react-spectrum/contextualhelp/intl/de-DE.json","packages/@react-spectrum/contextualhelp/intl/el-GR.json","packages/@react-spectrum/contextualhelp/intl/en-US.json","packages/@react-spectrum/contextualhelp/intl/es-ES.json","packages/@react-spectrum/contextualhelp/intl/et-EE.json","packages/@react-spectrum/contextualhelp/intl/fi-FI.json","packages/@react-spectrum/contextualhelp/intl/fr-FR.json","packages/@react-spectrum/contextualhelp/intl/he-IL.json","packages/@react-spectrum/contextualhelp/intl/hr-HR.json","packages/@react-spectrum/contextualhelp/intl/hu-HU.json","packages/@react-spectrum/contextualhelp/intl/it-IT.json","packages/@react-spectrum/contextualhelp/intl/ja-JP.json","packages/@react-spectrum/contextualhelp/intl/ko-KR.json","packages/@react-spectrum/contextualhelp/intl/lt-LT.json","packages/@react-spectrum/contextualhelp/intl/lv-LV.json","packages/@react-spectrum/contextualhelp/intl/nb-NO.json","packages/@react-spectrum/contextualhelp/intl/nl-NL.json","packages/@react-spectrum/contextualhelp/intl/pl-PL.json","packages/@react-spectrum/contextualhelp/intl/pt-BR.json","packages/@react-spectrum/contextualhelp/intl/pt-PT.json","packages/@react-spectrum/contextualhelp/intl/ro-RO.json","packages/@react-spectrum/contextualhelp/intl/ru-RU.json","packages/@react-spectrum/contextualhelp/intl/sk-SK.json","packages/@react-spectrum/contextualhelp/intl/sl-SI.json","packages/@react-spectrum/contextualhelp/intl/sr-SP.json","packages/@react-spectrum/contextualhelp/intl/sv-SE.json","packages/@react-spectrum/contextualhelp/intl/tr-TR.json","packages/@react-spectrum/contextualhelp/intl/uk-UA.json","packages/@react-spectrum/contextualhelp/intl/zh-CN.json","packages/@react-spectrum/contextualhelp/intl/zh-TW.json"],"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\n@import './index.css';\n@import './skin.css';\n","/*\n * Copyright 2021 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\nexport {ContextualHelp} from './ContextualHelp';\nexport type {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\n","/*\n * Copyright 2021 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 {ActionButton} from '@react-spectrum/button';\nimport {classNames, ClearSlots, SlotProvider} from '@react-spectrum/utils';\nimport {Dialog, DialogTrigger} from '@react-spectrum/dialog';\nimport {FocusableRef} from '@react-types/shared';\nimport HelpOutline from '@spectrum-icons/workflow/HelpOutline';\nimport helpStyles from '@adobe/spectrum-css-temp/components/contextualhelp/vars.css';\nimport InfoOutline from '@spectrum-icons/workflow/InfoOutline';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {mergeProps, useLabels} from '@react-aria/utils';\nimport React from 'react';\nimport {SpectrumContextualHelpProps} from '@react-types/contextualhelp';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nfunction ContextualHelp(props: SpectrumContextualHelpProps, ref: FocusableRef<HTMLButtonElement>) {\n let {\n variant = 'help',\n placement = 'bottom start',\n children,\n ...otherProps\n } = props;\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n\n let icon = variant === 'info' ? <InfoOutline /> : <HelpOutline />;\n\n let slots = {\n content: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-content']},\n footer: {UNSAFE_className: helpStyles['react-spectrum-ContextualHelp-footer']}\n };\n\n let labelProps = useLabels(otherProps, stringFormatter.format(variant));\n\n return (\n <DialogTrigger {...otherProps} type=\"popover\" placement={placement} hideArrow>\n <ActionButton\n {...mergeProps(otherProps, labelProps, {isDisabled: false})}\n ref={ref}\n UNSAFE_className={classNames(helpStyles, 'react-spectrum-ContextualHelp-button', otherProps.UNSAFE_className)}\n isQuiet>\n {icon}\n </ActionButton>\n <ClearSlots>\n <SlotProvider slots={slots}>\n <Dialog UNSAFE_className={classNames(helpStyles, 'react-spectrum-ContextualHelp-dialog')}>\n {children}\n </Dialog>\n </SlotProvider>\n </ClearSlots>\n </DialogTrigger>\n );\n}\n\n/**\n * Contextual help shows a user extra information about the state of an adjacent component, or a total view.\n */\nlet _ContextualHelp = React.forwardRef(ContextualHelp);\nexport {_ContextualHelp as ContextualHelp};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"help\": \"مساعدة\",\n \"info\": \"معلومات\"\n}\n","{\n \"help\": \"Помощ\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Nápověda\",\n \"info\": \"Informace\"\n}\n","{\n \"help\": \"Hjælp\",\n \"info\": \"Oplysninger\"\n}\n","{\n \"help\": \"Hilfe\",\n \"info\": \"Informationen\"\n}\n","{\n \"help\": \"Βοήθεια\",\n \"info\": \"Πληροφορίες\"\n}\n","{\n \"info\": \"Information\",\n \"help\": \"Help\"\n}\n","{\n \"help\": \"Ayuda\",\n \"info\": \"Información\"\n}\n","{\n \"help\": \"Spikker\",\n \"info\": \"Teave\"\n}\n","{\n \"help\": \"Ohje\",\n \"info\": \"Tiedot\"\n}\n","{\n \"help\": \"Aide\",\n \"info\": \"Informations\"\n}\n","{\n \"help\": \"עזרה\",\n \"info\": \"מידע\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Súgó\",\n \"info\": \"Információ\"\n}\n","{\n \"help\": \"Aiuto\",\n \"info\": \"Informazioni\"\n}\n","{\n \"help\": \"ヘルプ\",\n \"info\": \"情報\"\n}\n","{\n \"help\": \"도움말\",\n \"info\": \"정보\"\n}\n","{\n \"help\": \"Žinynas\",\n \"info\": \"Informacija\"\n}\n","{\n \"help\": \"Palīdzība\",\n \"info\": \"Informācija\"\n}\n","{\n \"help\": \"Hjelp\",\n \"info\": \"Informasjon\"\n}\n","{\n \"help\": \"Help\",\n \"info\": \"Informatie\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informacja\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informações\"\n}\n","{\n \"help\": \"Ajuda\",\n \"info\": \"Informação\"\n}\n","{\n \"help\": \"Ajutor\",\n \"info\": \"Informaţii\"\n}\n","{\n \"help\": \"Справка\",\n \"info\": \"Информация\"\n}\n","{\n \"help\": \"Pomoc\",\n \"info\": \"Informácie\"\n}\n","{\n \"help\": \"Pomoč\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Pomoć\",\n \"info\": \"Informacije\"\n}\n","{\n \"help\": \"Hjälp\",\n \"info\": \"Information\"\n}\n","{\n \"help\": \"Yardım\",\n \"info\": \"Bilgiler\"\n}\n","{\n \"help\": \"Довідка\",\n \"info\": \"Інформація\"\n}\n","{\n \"help\": \"帮助\",\n \"info\": \"信息\"\n}\n","{\n \"help\": \"說明\",\n \"info\": \"資訊\"\n}\n"],"names":[],"version":3,"file":"module.js.map"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-spectrum/contextualhelp",
|
|
3
|
-
"version": "3.6.5-nightly.
|
|
3
|
+
"version": "3.6.5-nightly.4242+068ecd12e",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -36,20 +36,20 @@
|
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@react-aria/i18n": "3.0.0-nightly.
|
|
40
|
-
"@react-aria/utils": "3.0.0-nightly.
|
|
41
|
-
"@react-spectrum/button": "3.0.0-nightly.
|
|
42
|
-
"@react-spectrum/dialog": "3.0.0-nightly.
|
|
43
|
-
"@react-spectrum/utils": "3.0.0-nightly.
|
|
44
|
-
"@react-types/contextualhelp": "3.2.7-nightly.
|
|
45
|
-
"@react-types/shared": "3.0.0-nightly.
|
|
46
|
-
"@spectrum-icons/workflow": "3.0.0-nightly.
|
|
39
|
+
"@react-aria/i18n": "3.0.0-nightly.2531+068ecd12e",
|
|
40
|
+
"@react-aria/utils": "3.0.0-nightly.2531+068ecd12e",
|
|
41
|
+
"@react-spectrum/button": "3.0.0-nightly.2531+068ecd12e",
|
|
42
|
+
"@react-spectrum/dialog": "3.0.0-nightly.2531+068ecd12e",
|
|
43
|
+
"@react-spectrum/utils": "3.0.0-nightly.2531+068ecd12e",
|
|
44
|
+
"@react-types/contextualhelp": "3.2.7-nightly.4242+068ecd12e",
|
|
45
|
+
"@react-types/shared": "3.0.0-nightly.2531+068ecd12e",
|
|
46
|
+
"@spectrum-icons/workflow": "3.0.0-nightly.2531+068ecd12e",
|
|
47
47
|
"@swc/helpers": "^0.5.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@adobe/spectrum-css-temp": "3.0.0-nightly.
|
|
51
|
-
"@react-spectrum/link": "3.0.0-nightly.
|
|
52
|
-
"@react-spectrum/view": "3.0.0-nightly.
|
|
50
|
+
"@adobe/spectrum-css-temp": "3.0.0-nightly.2531+068ecd12e",
|
|
51
|
+
"@react-spectrum/link": "3.0.0-nightly.2531+068ecd12e",
|
|
52
|
+
"@react-spectrum/view": "3.0.0-nightly.2531+068ecd12e"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@react-spectrum/provider": "^3.0.0",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"access": "public"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "068ecd12e8a8c61546dfda691b04ca87cbdae687"
|
|
63
63
|
}
|