@react-spectrum/inlinealert 3.2.4-nightly.4555 → 3.2.4-nightly.4560

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.
Files changed (61) hide show
  1. package/dist/InlineAlert.main.js +105 -0
  2. package/dist/InlineAlert.main.js.map +1 -0
  3. package/dist/InlineAlert.mjs +100 -0
  4. package/dist/InlineAlert.module.js +100 -0
  5. package/dist/InlineAlert.module.js.map +1 -0
  6. package/dist/ar-AE.mjs +1 -1
  7. package/dist/bg-BG.mjs +1 -1
  8. package/dist/cs-CZ.mjs +1 -1
  9. package/dist/da-DK.mjs +1 -1
  10. package/dist/de-DE.mjs +1 -1
  11. package/dist/el-GR.mjs +1 -1
  12. package/dist/en-US.mjs +1 -1
  13. package/dist/es-ES.mjs +1 -1
  14. package/dist/et-EE.mjs +1 -1
  15. package/dist/fi-FI.mjs +1 -1
  16. package/dist/fr-FR.mjs +1 -1
  17. package/dist/he-IL.mjs +1 -1
  18. package/dist/hr-HR.mjs +1 -1
  19. package/dist/hu-HU.mjs +1 -1
  20. package/dist/import.mjs +1 -261
  21. package/dist/inlinealert_vars_css.main.js +62 -0
  22. package/dist/inlinealert_vars_css.main.js.map +1 -0
  23. package/dist/inlinealert_vars_css.mjs +64 -0
  24. package/dist/inlinealert_vars_css.module.js +64 -0
  25. package/dist/inlinealert_vars_css.module.js.map +1 -0
  26. package/dist/intlStrings.main.js +108 -0
  27. package/dist/intlStrings.main.js.map +1 -0
  28. package/dist/intlStrings.mjs +110 -0
  29. package/dist/intlStrings.module.js +110 -0
  30. package/dist/intlStrings.module.js.map +1 -0
  31. package/dist/it-IT.mjs +1 -1
  32. package/dist/ja-JP.mjs +1 -1
  33. package/dist/ko-KR.mjs +1 -1
  34. package/dist/lt-LT.mjs +1 -1
  35. package/dist/lv-LV.mjs +1 -1
  36. package/dist/main.js +2 -258
  37. package/dist/main.js.map +1 -1
  38. package/dist/module.js +1 -261
  39. package/dist/module.js.map +1 -1
  40. package/dist/nb-NO.mjs +1 -1
  41. package/dist/nl-NL.mjs +1 -1
  42. package/dist/pl-PL.mjs +1 -1
  43. package/dist/pt-BR.mjs +1 -1
  44. package/dist/pt-PT.mjs +1 -1
  45. package/dist/ro-RO.mjs +1 -1
  46. package/dist/ru-RU.mjs +1 -1
  47. package/dist/sk-SK.mjs +1 -1
  48. package/dist/sl-SI.mjs +1 -1
  49. package/dist/sr-SP.mjs +1 -1
  50. package/dist/sv-SE.mjs +1 -1
  51. package/dist/tr-TR.mjs +1 -1
  52. package/dist/types.d.ts +2 -2
  53. package/dist/types.d.ts.map +1 -1
  54. package/dist/uk-UA.mjs +1 -1
  55. package/dist/{main.css → vars.7182e6d0.css} +1 -1
  56. package/dist/{main.css.map → vars.7182e6d0.css.map} +1 -1
  57. package/dist/zh-CN.mjs +1 -1
  58. package/dist/zh-TW.mjs +1 -1
  59. package/package.json +10 -10
  60. package/dist/module.css +0 -199
  61. package/dist/module.css.map +0 -1
@@ -0,0 +1,110 @@
1
+ import $hSQ4u$arAEmodulejs from "./ar-AE.mjs";
2
+ import $hSQ4u$bgBGmodulejs from "./bg-BG.mjs";
3
+ import $hSQ4u$csCZmodulejs from "./cs-CZ.mjs";
4
+ import $hSQ4u$daDKmodulejs from "./da-DK.mjs";
5
+ import $hSQ4u$deDEmodulejs from "./de-DE.mjs";
6
+ import $hSQ4u$elGRmodulejs from "./el-GR.mjs";
7
+ import $hSQ4u$enUSmodulejs from "./en-US.mjs";
8
+ import $hSQ4u$esESmodulejs from "./es-ES.mjs";
9
+ import $hSQ4u$etEEmodulejs from "./et-EE.mjs";
10
+ import $hSQ4u$fiFImodulejs from "./fi-FI.mjs";
11
+ import $hSQ4u$frFRmodulejs from "./fr-FR.mjs";
12
+ import $hSQ4u$heILmodulejs from "./he-IL.mjs";
13
+ import $hSQ4u$hrHRmodulejs from "./hr-HR.mjs";
14
+ import $hSQ4u$huHUmodulejs from "./hu-HU.mjs";
15
+ import $hSQ4u$itITmodulejs from "./it-IT.mjs";
16
+ import $hSQ4u$jaJPmodulejs from "./ja-JP.mjs";
17
+ import $hSQ4u$koKRmodulejs from "./ko-KR.mjs";
18
+ import $hSQ4u$ltLTmodulejs from "./lt-LT.mjs";
19
+ import $hSQ4u$lvLVmodulejs from "./lv-LV.mjs";
20
+ import $hSQ4u$nbNOmodulejs from "./nb-NO.mjs";
21
+ import $hSQ4u$nlNLmodulejs from "./nl-NL.mjs";
22
+ import $hSQ4u$plPLmodulejs from "./pl-PL.mjs";
23
+ import $hSQ4u$ptBRmodulejs from "./pt-BR.mjs";
24
+ import $hSQ4u$ptPTmodulejs from "./pt-PT.mjs";
25
+ import $hSQ4u$roROmodulejs from "./ro-RO.mjs";
26
+ import $hSQ4u$ruRUmodulejs from "./ru-RU.mjs";
27
+ import $hSQ4u$skSKmodulejs from "./sk-SK.mjs";
28
+ import $hSQ4u$slSImodulejs from "./sl-SI.mjs";
29
+ import $hSQ4u$srSPmodulejs from "./sr-SP.mjs";
30
+ import $hSQ4u$svSEmodulejs from "./sv-SE.mjs";
31
+ import $hSQ4u$trTRmodulejs from "./tr-TR.mjs";
32
+ import $hSQ4u$ukUAmodulejs from "./uk-UA.mjs";
33
+ import $hSQ4u$zhCNmodulejs from "./zh-CN.mjs";
34
+ import $hSQ4u$zhTWmodulejs from "./zh-TW.mjs";
35
+
36
+ var $a0360622247416a9$exports = {};
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+ $a0360622247416a9$exports = {
72
+ "ar-AE": $hSQ4u$arAEmodulejs,
73
+ "bg-BG": $hSQ4u$bgBGmodulejs,
74
+ "cs-CZ": $hSQ4u$csCZmodulejs,
75
+ "da-DK": $hSQ4u$daDKmodulejs,
76
+ "de-DE": $hSQ4u$deDEmodulejs,
77
+ "el-GR": $hSQ4u$elGRmodulejs,
78
+ "en-US": $hSQ4u$enUSmodulejs,
79
+ "es-ES": $hSQ4u$esESmodulejs,
80
+ "et-EE": $hSQ4u$etEEmodulejs,
81
+ "fi-FI": $hSQ4u$fiFImodulejs,
82
+ "fr-FR": $hSQ4u$frFRmodulejs,
83
+ "he-IL": $hSQ4u$heILmodulejs,
84
+ "hr-HR": $hSQ4u$hrHRmodulejs,
85
+ "hu-HU": $hSQ4u$huHUmodulejs,
86
+ "it-IT": $hSQ4u$itITmodulejs,
87
+ "ja-JP": $hSQ4u$jaJPmodulejs,
88
+ "ko-KR": $hSQ4u$koKRmodulejs,
89
+ "lt-LT": $hSQ4u$ltLTmodulejs,
90
+ "lv-LV": $hSQ4u$lvLVmodulejs,
91
+ "nb-NO": $hSQ4u$nbNOmodulejs,
92
+ "nl-NL": $hSQ4u$nlNLmodulejs,
93
+ "pl-PL": $hSQ4u$plPLmodulejs,
94
+ "pt-BR": $hSQ4u$ptBRmodulejs,
95
+ "pt-PT": $hSQ4u$ptPTmodulejs,
96
+ "ro-RO": $hSQ4u$roROmodulejs,
97
+ "ru-RU": $hSQ4u$ruRUmodulejs,
98
+ "sk-SK": $hSQ4u$skSKmodulejs,
99
+ "sl-SI": $hSQ4u$slSImodulejs,
100
+ "sr-SP": $hSQ4u$srSPmodulejs,
101
+ "sv-SE": $hSQ4u$svSEmodulejs,
102
+ "tr-TR": $hSQ4u$trTRmodulejs,
103
+ "uk-UA": $hSQ4u$ukUAmodulejs,
104
+ "zh-CN": $hSQ4u$zhCNmodulejs,
105
+ "zh-TW": $hSQ4u$zhTWmodulejs
106
+ };
107
+
108
+
109
+ export {$a0360622247416a9$exports as default};
110
+ //# sourceMappingURL=intlStrings.mjs.map
@@ -0,0 +1,110 @@
1
+ import $hSQ4u$arAEmodulejs from "./ar-AE.module.js";
2
+ import $hSQ4u$bgBGmodulejs from "./bg-BG.module.js";
3
+ import $hSQ4u$csCZmodulejs from "./cs-CZ.module.js";
4
+ import $hSQ4u$daDKmodulejs from "./da-DK.module.js";
5
+ import $hSQ4u$deDEmodulejs from "./de-DE.module.js";
6
+ import $hSQ4u$elGRmodulejs from "./el-GR.module.js";
7
+ import $hSQ4u$enUSmodulejs from "./en-US.module.js";
8
+ import $hSQ4u$esESmodulejs from "./es-ES.module.js";
9
+ import $hSQ4u$etEEmodulejs from "./et-EE.module.js";
10
+ import $hSQ4u$fiFImodulejs from "./fi-FI.module.js";
11
+ import $hSQ4u$frFRmodulejs from "./fr-FR.module.js";
12
+ import $hSQ4u$heILmodulejs from "./he-IL.module.js";
13
+ import $hSQ4u$hrHRmodulejs from "./hr-HR.module.js";
14
+ import $hSQ4u$huHUmodulejs from "./hu-HU.module.js";
15
+ import $hSQ4u$itITmodulejs from "./it-IT.module.js";
16
+ import $hSQ4u$jaJPmodulejs from "./ja-JP.module.js";
17
+ import $hSQ4u$koKRmodulejs from "./ko-KR.module.js";
18
+ import $hSQ4u$ltLTmodulejs from "./lt-LT.module.js";
19
+ import $hSQ4u$lvLVmodulejs from "./lv-LV.module.js";
20
+ import $hSQ4u$nbNOmodulejs from "./nb-NO.module.js";
21
+ import $hSQ4u$nlNLmodulejs from "./nl-NL.module.js";
22
+ import $hSQ4u$plPLmodulejs from "./pl-PL.module.js";
23
+ import $hSQ4u$ptBRmodulejs from "./pt-BR.module.js";
24
+ import $hSQ4u$ptPTmodulejs from "./pt-PT.module.js";
25
+ import $hSQ4u$roROmodulejs from "./ro-RO.module.js";
26
+ import $hSQ4u$ruRUmodulejs from "./ru-RU.module.js";
27
+ import $hSQ4u$skSKmodulejs from "./sk-SK.module.js";
28
+ import $hSQ4u$slSImodulejs from "./sl-SI.module.js";
29
+ import $hSQ4u$srSPmodulejs from "./sr-SP.module.js";
30
+ import $hSQ4u$svSEmodulejs from "./sv-SE.module.js";
31
+ import $hSQ4u$trTRmodulejs from "./tr-TR.module.js";
32
+ import $hSQ4u$ukUAmodulejs from "./uk-UA.module.js";
33
+ import $hSQ4u$zhCNmodulejs from "./zh-CN.module.js";
34
+ import $hSQ4u$zhTWmodulejs from "./zh-TW.module.js";
35
+
36
+ var $a0360622247416a9$exports = {};
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+ $a0360622247416a9$exports = {
72
+ "ar-AE": $hSQ4u$arAEmodulejs,
73
+ "bg-BG": $hSQ4u$bgBGmodulejs,
74
+ "cs-CZ": $hSQ4u$csCZmodulejs,
75
+ "da-DK": $hSQ4u$daDKmodulejs,
76
+ "de-DE": $hSQ4u$deDEmodulejs,
77
+ "el-GR": $hSQ4u$elGRmodulejs,
78
+ "en-US": $hSQ4u$enUSmodulejs,
79
+ "es-ES": $hSQ4u$esESmodulejs,
80
+ "et-EE": $hSQ4u$etEEmodulejs,
81
+ "fi-FI": $hSQ4u$fiFImodulejs,
82
+ "fr-FR": $hSQ4u$frFRmodulejs,
83
+ "he-IL": $hSQ4u$heILmodulejs,
84
+ "hr-HR": $hSQ4u$hrHRmodulejs,
85
+ "hu-HU": $hSQ4u$huHUmodulejs,
86
+ "it-IT": $hSQ4u$itITmodulejs,
87
+ "ja-JP": $hSQ4u$jaJPmodulejs,
88
+ "ko-KR": $hSQ4u$koKRmodulejs,
89
+ "lt-LT": $hSQ4u$ltLTmodulejs,
90
+ "lv-LV": $hSQ4u$lvLVmodulejs,
91
+ "nb-NO": $hSQ4u$nbNOmodulejs,
92
+ "nl-NL": $hSQ4u$nlNLmodulejs,
93
+ "pl-PL": $hSQ4u$plPLmodulejs,
94
+ "pt-BR": $hSQ4u$ptBRmodulejs,
95
+ "pt-PT": $hSQ4u$ptPTmodulejs,
96
+ "ro-RO": $hSQ4u$roROmodulejs,
97
+ "ru-RU": $hSQ4u$ruRUmodulejs,
98
+ "sk-SK": $hSQ4u$skSKmodulejs,
99
+ "sl-SI": $hSQ4u$slSImodulejs,
100
+ "sr-SP": $hSQ4u$srSPmodulejs,
101
+ "sv-SE": $hSQ4u$svSEmodulejs,
102
+ "tr-TR": $hSQ4u$trTRmodulejs,
103
+ "uk-UA": $hSQ4u$ukUAmodulejs,
104
+ "zh-CN": $hSQ4u$zhCNmodulejs,
105
+ "zh-TW": $hSQ4u$zhTWmodulejs
106
+ };
107
+
108
+
109
+ export {$a0360622247416a9$exports as default};
110
+ //# sourceMappingURL=intlStrings.module.js.map
@@ -0,0 +1 @@
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCA,4BAAiB;IACf,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;AACX","sources":["packages/@react-spectrum/inlinealert/src/*.js"],"sourcesContent":["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}"],"names":[],"version":3,"file":"intlStrings.module.js.map"}
package/dist/it-IT.mjs CHANGED
@@ -8,4 +8,4 @@ $2ebc0e35fdc040b7$exports = {
8
8
 
9
9
 
10
10
  export {$2ebc0e35fdc040b7$exports as default};
11
- //# sourceMappingURL=it-IT.module.js.map
11
+ //# sourceMappingURL=it-IT.mjs.map
package/dist/ja-JP.mjs CHANGED
@@ -8,4 +8,4 @@ $44f02920600efced$exports = {
8
8
 
9
9
 
10
10
  export {$44f02920600efced$exports as default};
11
- //# sourceMappingURL=ja-JP.module.js.map
11
+ //# sourceMappingURL=ja-JP.mjs.map
package/dist/ko-KR.mjs CHANGED
@@ -8,4 +8,4 @@ $eeee9839fa747b1b$exports = {
8
8
 
9
9
 
10
10
  export {$eeee9839fa747b1b$exports as default};
11
- //# sourceMappingURL=ko-KR.module.js.map
11
+ //# sourceMappingURL=ko-KR.mjs.map
package/dist/lt-LT.mjs CHANGED
@@ -8,4 +8,4 @@ $7889661aab511c26$exports = {
8
8
 
9
9
 
10
10
  export {$7889661aab511c26$exports as default};
11
- //# sourceMappingURL=lt-LT.module.js.map
11
+ //# sourceMappingURL=lt-LT.mjs.map
package/dist/lv-LV.mjs CHANGED
@@ -8,4 +8,4 @@ $f73d040d5b290afc$exports = {
8
8
 
9
9
 
10
10
  export {$f73d040d5b290afc$exports as default};
11
- //# sourceMappingURL=lv-LV.module.js.map
11
+ //# sourceMappingURL=lv-LV.mjs.map
package/dist/main.js CHANGED
@@ -1,59 +1,11 @@
1
- var $70305e81a8d2187b$exports = require("./ar-AE.main.js");
2
- var $0c660aaf1ba719ea$exports = require("./bg-BG.main.js");
3
- var $09ed32d40da22228$exports = require("./cs-CZ.main.js");
4
- var $fb9891466d18e5a4$exports = require("./da-DK.main.js");
5
- var $5ccd3660efbdf1ba$exports = require("./de-DE.main.js");
6
- var $d99fc87568761416$exports = require("./el-GR.main.js");
7
- var $fc814fd646f97b4a$exports = require("./en-US.main.js");
8
- var $cd2deb9e4ace11a8$exports = require("./es-ES.main.js");
9
- var $f0d5c61765f22ed3$exports = require("./et-EE.main.js");
10
- var $a2bb977ca4ce5ca1$exports = require("./fi-FI.main.js");
11
- var $116c45d32f2f45ca$exports = require("./fr-FR.main.js");
12
- var $1071566f78693587$exports = require("./he-IL.main.js");
13
- var $c636cbe8751599df$exports = require("./hr-HR.main.js");
14
- var $2f9ee8544d50270a$exports = require("./hu-HU.main.js");
15
- var $c3a100d558fcd0c3$exports = require("./it-IT.main.js");
16
- var $9b6747fa80c2005c$exports = require("./ja-JP.main.js");
17
- var $7aa436d0bc11d8df$exports = require("./ko-KR.main.js");
18
- var $2306a8fe8a217aae$exports = require("./lt-LT.main.js");
19
- var $7ee88da038778f20$exports = require("./lv-LV.main.js");
20
- var $4ba767217b9690c2$exports = require("./nb-NO.main.js");
21
- var $3c4e9f1e46e8db66$exports = require("./nl-NL.main.js");
22
- var $15ba96b5246db651$exports = require("./pl-PL.main.js");
23
- var $969881ee58ec3452$exports = require("./pt-BR.main.js");
24
- var $ded9cae395371ad3$exports = require("./pt-PT.main.js");
25
- var $9966420945e42ed8$exports = require("./ro-RO.main.js");
26
- var $9c9f39649e3598f2$exports = require("./ru-RU.main.js");
27
- var $d9dce3fa927805b2$exports = require("./sk-SK.main.js");
28
- var $bdb67023e40cc961$exports = require("./sl-SI.main.js");
29
- var $21eca3566d4fbc9e$exports = require("./sr-SP.main.js");
30
- var $77c4ed2ec49f90d9$exports = require("./sv-SE.main.js");
31
- var $aea4f814e594ee44$exports = require("./tr-TR.main.js");
32
- var $ed1255c500b98f56$exports = require("./uk-UA.main.js");
33
- var $2adae4170a5c1992$exports = require("./zh-CN.main.js");
34
- var $7cf811ce2d1c9d87$exports = require("./zh-TW.main.js");
35
- require("./main.css");
36
- var $RX49b$spectrumiconsuiAlertMedium = require("@spectrum-icons/ui/AlertMedium");
37
- var $RX49b$reactspectrumutils = require("@react-spectrum/utils");
38
- var $RX49b$reactariautils = require("@react-aria/utils");
39
- var $RX49b$reactariafocus = require("@react-aria/focus");
40
- var $RX49b$reactspectrumlayout = require("@react-spectrum/layout");
41
- var $RX49b$spectrumiconsuiInfoMedium = require("@spectrum-icons/ui/InfoMedium");
42
- var $RX49b$react = require("react");
43
- var $RX49b$spectrumiconsuiSuccessMedium = require("@spectrum-icons/ui/SuccessMedium");
44
- var $RX49b$reactariai18n = require("@react-aria/i18n");
45
- var $RX49b$reactspectrumprovider = require("@react-spectrum/provider");
1
+ var $5de8c6729f05c665$exports = require("./InlineAlert.main.js");
46
2
 
47
3
 
48
4
  function $parcel$export(e, n, v, s) {
49
5
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
50
6
  }
51
7
 
52
- function $parcel$interopDefault(a) {
53
- return a && a.__esModule ? a.default : a;
54
- }
55
-
56
- $parcel$export(module.exports, "InlineAlert", () => $5de8c6729f05c665$export$a3b2c96db9b0eb71);
8
+ $parcel$export(module.exports, "InlineAlert", () => $5de8c6729f05c665$exports.InlineAlert);
57
9
  /*
58
10
  * Copyright 2023 Adobe. All rights reserved.
59
11
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -65,214 +17,6 @@ $parcel$export(module.exports, "InlineAlert", () => $5de8c6729f05c665$export$a3b
65
17
  * OF ANY KIND, either express or implied. See the License for the specific language
66
18
  * governing permissions and limitations under the License.
67
19
  */ /// <reference types="css-module-types" />
68
- /*
69
- * Copyright 2023 Adobe. All rights reserved.
70
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
71
- * you may not use this file except in compliance with the License. You may obtain a copy
72
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
73
- *
74
- * Unless required by applicable law or agreed to in writing, software distributed under
75
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
76
- * OF ANY KIND, either express or implied. See the License for the specific language
77
- * governing permissions and limitations under the License.
78
- */
79
-
80
-
81
-
82
-
83
-
84
- var $cf1d087b199fc7c5$exports = {};
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
-
98
-
99
-
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
-
109
-
110
-
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
-
119
- $cf1d087b199fc7c5$exports = {
120
- "ar-AE": $70305e81a8d2187b$exports,
121
- "bg-BG": $0c660aaf1ba719ea$exports,
122
- "cs-CZ": $09ed32d40da22228$exports,
123
- "da-DK": $fb9891466d18e5a4$exports,
124
- "de-DE": $5ccd3660efbdf1ba$exports,
125
- "el-GR": $d99fc87568761416$exports,
126
- "en-US": $fc814fd646f97b4a$exports,
127
- "es-ES": $cd2deb9e4ace11a8$exports,
128
- "et-EE": $f0d5c61765f22ed3$exports,
129
- "fi-FI": $a2bb977ca4ce5ca1$exports,
130
- "fr-FR": $116c45d32f2f45ca$exports,
131
- "he-IL": $1071566f78693587$exports,
132
- "hr-HR": $c636cbe8751599df$exports,
133
- "hu-HU": $2f9ee8544d50270a$exports,
134
- "it-IT": $c3a100d558fcd0c3$exports,
135
- "ja-JP": $9b6747fa80c2005c$exports,
136
- "ko-KR": $7aa436d0bc11d8df$exports,
137
- "lt-LT": $2306a8fe8a217aae$exports,
138
- "lv-LV": $7ee88da038778f20$exports,
139
- "nb-NO": $4ba767217b9690c2$exports,
140
- "nl-NL": $3c4e9f1e46e8db66$exports,
141
- "pl-PL": $15ba96b5246db651$exports,
142
- "pt-BR": $969881ee58ec3452$exports,
143
- "pt-PT": $ded9cae395371ad3$exports,
144
- "ro-RO": $9966420945e42ed8$exports,
145
- "ru-RU": $9c9f39649e3598f2$exports,
146
- "sk-SK": $d9dce3fa927805b2$exports,
147
- "sl-SI": $bdb67023e40cc961$exports,
148
- "sr-SP": $21eca3566d4fbc9e$exports,
149
- "sv-SE": $77c4ed2ec49f90d9$exports,
150
- "tr-TR": $aea4f814e594ee44$exports,
151
- "uk-UA": $ed1255c500b98f56$exports,
152
- "zh-CN": $2adae4170a5c1992$exports,
153
- "zh-TW": $7cf811ce2d1c9d87$exports
154
- };
155
-
156
-
157
-
158
- var $8d976ce4ebad141b$exports = {};
159
-
160
- $parcel$export($8d976ce4ebad141b$exports, "content", () => $8d976ce4ebad141b$export$a7db06668cad9adb, (v) => $8d976ce4ebad141b$export$a7db06668cad9adb = v);
161
- $parcel$export($8d976ce4ebad141b$exports, "focus-ring", () => $8d976ce4ebad141b$export$f39a09f249340e2a, (v) => $8d976ce4ebad141b$export$f39a09f249340e2a = v);
162
- $parcel$export($8d976ce4ebad141b$exports, "heading", () => $8d976ce4ebad141b$export$46e4a324ac90507f, (v) => $8d976ce4ebad141b$export$46e4a324ac90507f = v);
163
- $parcel$export($8d976ce4ebad141b$exports, "i18nFontFamily", () => $8d976ce4ebad141b$export$8c4ee2c50c22c514, (v) => $8d976ce4ebad141b$export$8c4ee2c50c22c514 = v);
164
- $parcel$export($8d976ce4ebad141b$exports, "icon", () => $8d976ce4ebad141b$export$1ca1ec8b29a4ce27, (v) => $8d976ce4ebad141b$export$1ca1ec8b29a4ce27 = v);
165
- $parcel$export($8d976ce4ebad141b$exports, "spectrum-FocusRing-ring", () => $8d976ce4ebad141b$export$4109102f950813a6, (v) => $8d976ce4ebad141b$export$4109102f950813a6 = v);
166
- $parcel$export($8d976ce4ebad141b$exports, "spectrum-FocusRing", () => $8d976ce4ebad141b$export$24c7f46a6e3605dd, (v) => $8d976ce4ebad141b$export$24c7f46a6e3605dd = v);
167
- $parcel$export($8d976ce4ebad141b$exports, "spectrum-FocusRing--quiet", () => $8d976ce4ebad141b$export$2927016961429360, (v) => $8d976ce4ebad141b$export$2927016961429360 = v);
168
- $parcel$export($8d976ce4ebad141b$exports, "spectrum-InLineAlert", () => $8d976ce4ebad141b$export$73769bb5d26d9ff7, (v) => $8d976ce4ebad141b$export$73769bb5d26d9ff7 = v);
169
- $parcel$export($8d976ce4ebad141b$exports, "spectrum-InLineAlert--info", () => $8d976ce4ebad141b$export$71c1df0099076ffd, (v) => $8d976ce4ebad141b$export$71c1df0099076ffd = v);
170
- $parcel$export($8d976ce4ebad141b$exports, "spectrum-InLineAlert--negative", () => $8d976ce4ebad141b$export$22162c465dd1f294, (v) => $8d976ce4ebad141b$export$22162c465dd1f294 = v);
171
- $parcel$export($8d976ce4ebad141b$exports, "spectrum-InLineAlert--neutral", () => $8d976ce4ebad141b$export$1d6dd31283ff6c5c, (v) => $8d976ce4ebad141b$export$1d6dd31283ff6c5c = v);
172
- $parcel$export($8d976ce4ebad141b$exports, "spectrum-InLineAlert--notice", () => $8d976ce4ebad141b$export$29b25aea79cc7183, (v) => $8d976ce4ebad141b$export$29b25aea79cc7183 = v);
173
- $parcel$export($8d976ce4ebad141b$exports, "spectrum-InLineAlert--positive", () => $8d976ce4ebad141b$export$fe577b621f09240b, (v) => $8d976ce4ebad141b$export$fe577b621f09240b = v);
174
- $parcel$export($8d976ce4ebad141b$exports, "spectrum-InLineAlert-content", () => $8d976ce4ebad141b$export$b9bc26a202328584, (v) => $8d976ce4ebad141b$export$b9bc26a202328584 = v);
175
- $parcel$export($8d976ce4ebad141b$exports, "spectrum-InLineAlert-grid", () => $8d976ce4ebad141b$export$c31ea092819cec48, (v) => $8d976ce4ebad141b$export$c31ea092819cec48 = v);
176
- $parcel$export($8d976ce4ebad141b$exports, "spectrum-InLineAlert-heading", () => $8d976ce4ebad141b$export$5f11e05135494154, (v) => $8d976ce4ebad141b$export$5f11e05135494154 = v);
177
- $parcel$export($8d976ce4ebad141b$exports, "spectrum-InLineAlert-icon", () => $8d976ce4ebad141b$export$3be02ea40f92bdfc, (v) => $8d976ce4ebad141b$export$3be02ea40f92bdfc = v);
178
- var $8d976ce4ebad141b$export$a7db06668cad9adb;
179
- var $8d976ce4ebad141b$export$f39a09f249340e2a;
180
- var $8d976ce4ebad141b$export$46e4a324ac90507f;
181
- var $8d976ce4ebad141b$export$8c4ee2c50c22c514;
182
- var $8d976ce4ebad141b$export$1ca1ec8b29a4ce27;
183
- var $8d976ce4ebad141b$export$4109102f950813a6;
184
- var $8d976ce4ebad141b$export$24c7f46a6e3605dd;
185
- var $8d976ce4ebad141b$export$2927016961429360;
186
- var $8d976ce4ebad141b$export$73769bb5d26d9ff7;
187
- var $8d976ce4ebad141b$export$71c1df0099076ffd;
188
- var $8d976ce4ebad141b$export$22162c465dd1f294;
189
- var $8d976ce4ebad141b$export$1d6dd31283ff6c5c;
190
- var $8d976ce4ebad141b$export$29b25aea79cc7183;
191
- var $8d976ce4ebad141b$export$fe577b621f09240b;
192
- var $8d976ce4ebad141b$export$b9bc26a202328584;
193
- var $8d976ce4ebad141b$export$c31ea092819cec48;
194
- var $8d976ce4ebad141b$export$5f11e05135494154;
195
- var $8d976ce4ebad141b$export$3be02ea40f92bdfc;
196
- $8d976ce4ebad141b$export$a7db06668cad9adb = `G_feca_content`;
197
- $8d976ce4ebad141b$export$f39a09f249340e2a = `G_feca_focus-ring`;
198
- $8d976ce4ebad141b$export$46e4a324ac90507f = `G_feca_heading`;
199
- $8d976ce4ebad141b$export$8c4ee2c50c22c514 = `G_feca_i18nFontFamily`;
200
- $8d976ce4ebad141b$export$1ca1ec8b29a4ce27 = `G_feca_icon`;
201
- $8d976ce4ebad141b$export$4109102f950813a6 = `G_feca_spectrum-FocusRing-ring`;
202
- $8d976ce4ebad141b$export$24c7f46a6e3605dd = `G_feca_spectrum-FocusRing ${$8d976ce4ebad141b$export$4109102f950813a6}`;
203
- $8d976ce4ebad141b$export$2927016961429360 = `G_feca_spectrum-FocusRing--quiet`;
204
- $8d976ce4ebad141b$export$73769bb5d26d9ff7 = `G_feca_spectrum-InLineAlert ${$8d976ce4ebad141b$export$24c7f46a6e3605dd}`;
205
- $8d976ce4ebad141b$export$71c1df0099076ffd = `G_feca_spectrum-InLineAlert--info`;
206
- $8d976ce4ebad141b$export$22162c465dd1f294 = `G_feca_spectrum-InLineAlert--negative`;
207
- $8d976ce4ebad141b$export$1d6dd31283ff6c5c = `G_feca_spectrum-InLineAlert--neutral`;
208
- $8d976ce4ebad141b$export$29b25aea79cc7183 = `G_feca_spectrum-InLineAlert--notice`;
209
- $8d976ce4ebad141b$export$fe577b621f09240b = `G_feca_spectrum-InLineAlert--positive`;
210
- $8d976ce4ebad141b$export$b9bc26a202328584 = `G_feca_spectrum-InLineAlert-content`;
211
- $8d976ce4ebad141b$export$c31ea092819cec48 = `G_feca_spectrum-InLineAlert-grid`;
212
- $8d976ce4ebad141b$export$5f11e05135494154 = `G_feca_spectrum-InLineAlert-heading`;
213
- $8d976ce4ebad141b$export$3be02ea40f92bdfc = `G_feca_spectrum-InLineAlert-icon`;
214
-
215
-
216
-
217
-
218
-
219
- let $5de8c6729f05c665$var$ICONS = {
220
- info: (0, ($parcel$interopDefault($RX49b$spectrumiconsuiInfoMedium))),
221
- positive: (0, ($parcel$interopDefault($RX49b$spectrumiconsuiSuccessMedium))),
222
- notice: (0, ($parcel$interopDefault($RX49b$spectrumiconsuiAlertMedium))),
223
- negative: (0, ($parcel$interopDefault($RX49b$spectrumiconsuiAlertMedium)))
224
- };
225
- function $5de8c6729f05c665$var$InlineAlert(props, ref) {
226
- props = (0, $RX49b$reactspectrumprovider.useProviderProps)(props);
227
- let { children: children, variant: variant = "neutral", autoFocus: autoFocus, ...otherProps } = props;
228
- let { styleProps: styleProps } = (0, $RX49b$reactspectrumutils.useStyleProps)(otherProps);
229
- let domRef = (0, $RX49b$reactspectrumutils.useDOMRef)(ref);
230
- let slots = {
231
- heading: {
232
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($8d976ce4ebad141b$exports)))["spectrum-InLineAlert-heading"]
233
- },
234
- content: {
235
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($8d976ce4ebad141b$exports)))["spectrum-InLineAlert-content"]
236
- }
237
- };
238
- let stringFormatter = (0, $RX49b$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($cf1d087b199fc7c5$exports))), "@react-spectrum/inlinealert");
239
- let Icon = null;
240
- let iconAlt = "";
241
- if (variant in $5de8c6729f05c665$var$ICONS) {
242
- Icon = $5de8c6729f05c665$var$ICONS[variant];
243
- iconAlt = stringFormatter.format(variant);
244
- }
245
- let autoFocusRef = (0, $RX49b$react.useRef)(props.autoFocus);
246
- (0, $RX49b$react.useEffect)(()=>{
247
- if (autoFocusRef.current && domRef.current) domRef.current.focus();
248
- autoFocusRef.current = false;
249
- }, [
250
- domRef
251
- ]);
252
- return /*#__PURE__*/ (0, ($parcel$interopDefault($RX49b$react))).createElement((0, $RX49b$reactariafocus.FocusRing), {
253
- focusRingClass: (0, (/*@__PURE__*/$parcel$interopDefault($8d976ce4ebad141b$exports)))["focus-ring"]
254
- }, /*#__PURE__*/ (0, ($parcel$interopDefault($RX49b$react))).createElement("div", {
255
- ...(0, $RX49b$reactariautils.filterDOMProps)(props),
256
- ...styleProps,
257
- ref: domRef,
258
- tabIndex: autoFocus ? -1 : undefined,
259
- autoFocus: autoFocus,
260
- className: (0, $RX49b$reactspectrumutils.classNames)((0, (/*@__PURE__*/$parcel$interopDefault($8d976ce4ebad141b$exports))), "spectrum-InLineAlert", `spectrum-InLineAlert--${variant}`, styleProps.className),
261
- role: "alert"
262
- }, /*#__PURE__*/ (0, ($parcel$interopDefault($RX49b$react))).createElement((0, $RX49b$reactspectrumlayout.Grid), {
263
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($8d976ce4ebad141b$exports)))["spectrum-InLineAlert-grid"]
264
- }, /*#__PURE__*/ (0, ($parcel$interopDefault($RX49b$react))).createElement((0, $RX49b$reactspectrumutils.SlotProvider), {
265
- slots: slots
266
- }, Icon && /*#__PURE__*/ (0, ($parcel$interopDefault($RX49b$react))).createElement(Icon, {
267
- UNSAFE_className: (0, (/*@__PURE__*/$parcel$interopDefault($8d976ce4ebad141b$exports)))["spectrum-InLineAlert-icon"],
268
- "aria-label": iconAlt
269
- }), children))));
270
- }
271
- /**
272
- * Inline alerts display a non-modal message associated with objects in a view.
273
- * These are often used in form validation, providing a place to aggregate feedback related to multiple fields.
274
- */ const $5de8c6729f05c665$export$a3b2c96db9b0eb71 = /*#__PURE__*/ (0, ($parcel$interopDefault($RX49b$react))).forwardRef($5de8c6729f05c665$var$InlineAlert);
275
-
276
20
 
277
21
 
278
22
 
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":"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","sources":["packages/@react-spectrum/inlinealert/src/index.ts","packages/@react-spectrum/inlinealert/src/InlineAlert.tsx","packages/@react-spectrum/inlinealert/src/*.js","packages/@adobe/spectrum-css-temp/components/inlinealert/vars.css"],"sourcesContent":["/*\n * Copyright 2023 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/// <reference types=\"css-module-types\" />\n\nexport {InlineAlert} from './InlineAlert';\nexport type {SpectrumInlineAlertProps} from './InlineAlert';\n","/*\n * Copyright 2023 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 AlertMedium from '@spectrum-icons/ui/AlertMedium';\nimport {classNames, SlotProvider, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DOMProps, DOMRef, StyleProps} from '@react-types/shared';\nimport {filterDOMProps} from '@react-aria/utils';\nimport {FocusRing} from '@react-aria/focus';\nimport {Grid} from '@react-spectrum/layout';\nimport InfoMedium from '@spectrum-icons/ui/InfoMedium';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport React, {ReactNode, useEffect, useRef} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/inlinealert/vars.css';\nimport SuccessMedium from '@spectrum-icons/ui/SuccessMedium';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\nimport {useProviderProps} from '@react-spectrum/provider';\n\nexport interface SpectrumInlineAlertProps extends DOMProps, StyleProps {\n /**\n * The [visual style](https://spectrum.adobe.com/page/in-line-alert/#Options) of the Inline Alert.\n * @default 'neutral'\n */\n variant?: 'neutral' | 'info' | 'positive' | 'notice' | 'negative',\n /**\n * The contents of the Inline Alert.\n */\n children: ReactNode,\n /**\n * Whether to automatically focus the Inline Alert when it first renders.\n */\n autoFocus?: boolean\n}\n\nlet ICONS = {\n info: InfoMedium,\n positive: SuccessMedium,\n notice: AlertMedium,\n negative: AlertMedium\n};\n\nfunction InlineAlert(props: SpectrumInlineAlertProps, ref: DOMRef<HTMLDivElement>) {\n props = useProviderProps(props);\n let {\n children,\n variant = 'neutral',\n autoFocus,\n ...otherProps\n } = props;\n\n let {styleProps} = useStyleProps(otherProps);\n let domRef = useDOMRef(ref);\n\n let slots = {\n heading: {UNSAFE_className: styles['spectrum-InLineAlert-heading']},\n content: {UNSAFE_className: styles['spectrum-InLineAlert-content']}\n };\n\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/inlinealert');\n let Icon: typeof React.Component | null = null;\n let iconAlt: string = '';\n if (variant in ICONS) {\n Icon = ICONS[variant];\n iconAlt = stringFormatter.format(variant);\n }\n\n let autoFocusRef = useRef(props.autoFocus);\n useEffect(() => {\n if (autoFocusRef.current && domRef.current) {\n domRef.current.focus();\n }\n autoFocusRef.current = false;\n }, [domRef]);\n\n return (\n <FocusRing focusRingClass={styles['focus-ring']}>\n <div\n {...filterDOMProps(props)}\n {...styleProps}\n ref={domRef}\n tabIndex={autoFocus ? -1 : undefined}\n autoFocus={autoFocus}\n className={classNames(\n styles,\n 'spectrum-InLineAlert',\n `spectrum-InLineAlert--${variant}`,\n styleProps.className\n )}\n role=\"alert\">\n <Grid UNSAFE_className={styles['spectrum-InLineAlert-grid']}>\n <SlotProvider slots={slots}>\n {Icon && <Icon UNSAFE_className={styles['spectrum-InLineAlert-icon']} aria-label={iconAlt} />}\n {children}\n </SlotProvider>\n </Grid>\n </div>\n </FocusRing>\n );\n}\n\n/**\n * Inline alerts display a non-modal message associated with objects in a view.\n * These are often used in form validation, providing a place to aggregate feedback related to multiple fields.\n */\nconst _InlineAlert = React.forwardRef(InlineAlert);\nexport {_InlineAlert as InlineAlert};\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}","/*\nCopyright 2023 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.js.map"}
1
+ {"mappings":";;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C","sources":["packages/@react-spectrum/inlinealert/src/index.ts"],"sourcesContent":["/*\n * Copyright 2023 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/// <reference types=\"css-module-types\" />\n\nexport {InlineAlert} from './InlineAlert';\nexport type {SpectrumInlineAlertProps} from './InlineAlert';\n"],"names":[],"version":3,"file":"main.js.map"}