@react-aria/toast 3.0.0-beta.7 → 3.0.0-beta.8

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 (178) hide show
  1. package/dist/ar-AE.main.js +7 -0
  2. package/dist/ar-AE.main.js.map +1 -0
  3. package/dist/ar-AE.mjs +9 -0
  4. package/dist/ar-AE.module.js +9 -0
  5. package/dist/ar-AE.module.js.map +1 -0
  6. package/dist/bg-BG.main.js +7 -0
  7. package/dist/bg-BG.main.js.map +1 -0
  8. package/dist/bg-BG.mjs +9 -0
  9. package/dist/bg-BG.module.js +9 -0
  10. package/dist/bg-BG.module.js.map +1 -0
  11. package/dist/cs-CZ.main.js +7 -0
  12. package/dist/cs-CZ.main.js.map +1 -0
  13. package/dist/cs-CZ.mjs +9 -0
  14. package/dist/cs-CZ.module.js +9 -0
  15. package/dist/cs-CZ.module.js.map +1 -0
  16. package/dist/da-DK.main.js +7 -0
  17. package/dist/da-DK.main.js.map +1 -0
  18. package/dist/da-DK.mjs +9 -0
  19. package/dist/da-DK.module.js +9 -0
  20. package/dist/da-DK.module.js.map +1 -0
  21. package/dist/de-DE.main.js +7 -0
  22. package/dist/de-DE.main.js.map +1 -0
  23. package/dist/de-DE.mjs +9 -0
  24. package/dist/de-DE.module.js +9 -0
  25. package/dist/de-DE.module.js.map +1 -0
  26. package/dist/el-GR.main.js +7 -0
  27. package/dist/el-GR.main.js.map +1 -0
  28. package/dist/el-GR.mjs +9 -0
  29. package/dist/el-GR.module.js +9 -0
  30. package/dist/el-GR.module.js.map +1 -0
  31. package/dist/en-US.main.js +7 -0
  32. package/dist/en-US.main.js.map +1 -0
  33. package/dist/en-US.mjs +9 -0
  34. package/dist/en-US.module.js +9 -0
  35. package/dist/en-US.module.js.map +1 -0
  36. package/dist/es-ES.main.js +7 -0
  37. package/dist/es-ES.main.js.map +1 -0
  38. package/dist/es-ES.mjs +9 -0
  39. package/dist/es-ES.module.js +9 -0
  40. package/dist/es-ES.module.js.map +1 -0
  41. package/dist/et-EE.main.js +7 -0
  42. package/dist/et-EE.main.js.map +1 -0
  43. package/dist/et-EE.mjs +9 -0
  44. package/dist/et-EE.module.js +9 -0
  45. package/dist/et-EE.module.js.map +1 -0
  46. package/dist/fi-FI.main.js +7 -0
  47. package/dist/fi-FI.main.js.map +1 -0
  48. package/dist/fi-FI.mjs +9 -0
  49. package/dist/fi-FI.module.js +9 -0
  50. package/dist/fi-FI.module.js.map +1 -0
  51. package/dist/fr-FR.main.js +7 -0
  52. package/dist/fr-FR.main.js.map +1 -0
  53. package/dist/fr-FR.mjs +9 -0
  54. package/dist/fr-FR.module.js +9 -0
  55. package/dist/fr-FR.module.js.map +1 -0
  56. package/dist/he-IL.main.js +7 -0
  57. package/dist/he-IL.main.js.map +1 -0
  58. package/dist/he-IL.mjs +9 -0
  59. package/dist/he-IL.module.js +9 -0
  60. package/dist/he-IL.module.js.map +1 -0
  61. package/dist/hr-HR.main.js +7 -0
  62. package/dist/hr-HR.main.js.map +1 -0
  63. package/dist/hr-HR.mjs +9 -0
  64. package/dist/hr-HR.module.js +9 -0
  65. package/dist/hr-HR.module.js.map +1 -0
  66. package/dist/hu-HU.main.js +7 -0
  67. package/dist/hu-HU.main.js.map +1 -0
  68. package/dist/hu-HU.mjs +9 -0
  69. package/dist/hu-HU.module.js +9 -0
  70. package/dist/hu-HU.module.js.map +1 -0
  71. package/dist/import.mjs +36 -206
  72. package/dist/it-IT.main.js +7 -0
  73. package/dist/it-IT.main.js.map +1 -0
  74. package/dist/it-IT.mjs +9 -0
  75. package/dist/it-IT.module.js +9 -0
  76. package/dist/it-IT.module.js.map +1 -0
  77. package/dist/ja-JP.main.js +7 -0
  78. package/dist/ja-JP.main.js.map +1 -0
  79. package/dist/ja-JP.mjs +9 -0
  80. package/dist/ja-JP.module.js +9 -0
  81. package/dist/ja-JP.module.js.map +1 -0
  82. package/dist/ko-KR.main.js +7 -0
  83. package/dist/ko-KR.main.js.map +1 -0
  84. package/dist/ko-KR.mjs +9 -0
  85. package/dist/ko-KR.module.js +9 -0
  86. package/dist/ko-KR.module.js.map +1 -0
  87. package/dist/lt-LT.main.js +7 -0
  88. package/dist/lt-LT.main.js.map +1 -0
  89. package/dist/lt-LT.mjs +9 -0
  90. package/dist/lt-LT.module.js +9 -0
  91. package/dist/lt-LT.module.js.map +1 -0
  92. package/dist/lv-LV.main.js +7 -0
  93. package/dist/lv-LV.main.js.map +1 -0
  94. package/dist/lv-LV.mjs +9 -0
  95. package/dist/lv-LV.module.js +9 -0
  96. package/dist/lv-LV.module.js.map +1 -0
  97. package/dist/main.js +36 -206
  98. package/dist/main.js.map +1 -1
  99. package/dist/module.js +36 -206
  100. package/dist/module.js.map +1 -1
  101. package/dist/nb-NO.main.js +7 -0
  102. package/dist/nb-NO.main.js.map +1 -0
  103. package/dist/nb-NO.mjs +9 -0
  104. package/dist/nb-NO.module.js +9 -0
  105. package/dist/nb-NO.module.js.map +1 -0
  106. package/dist/nl-NL.main.js +7 -0
  107. package/dist/nl-NL.main.js.map +1 -0
  108. package/dist/nl-NL.mjs +9 -0
  109. package/dist/nl-NL.module.js +9 -0
  110. package/dist/nl-NL.module.js.map +1 -0
  111. package/dist/pl-PL.main.js +7 -0
  112. package/dist/pl-PL.main.js.map +1 -0
  113. package/dist/pl-PL.mjs +9 -0
  114. package/dist/pl-PL.module.js +9 -0
  115. package/dist/pl-PL.module.js.map +1 -0
  116. package/dist/pt-BR.main.js +7 -0
  117. package/dist/pt-BR.main.js.map +1 -0
  118. package/dist/pt-BR.mjs +9 -0
  119. package/dist/pt-BR.module.js +9 -0
  120. package/dist/pt-BR.module.js.map +1 -0
  121. package/dist/pt-PT.main.js +7 -0
  122. package/dist/pt-PT.main.js.map +1 -0
  123. package/dist/pt-PT.mjs +9 -0
  124. package/dist/pt-PT.module.js +9 -0
  125. package/dist/pt-PT.module.js.map +1 -0
  126. package/dist/ro-RO.main.js +7 -0
  127. package/dist/ro-RO.main.js.map +1 -0
  128. package/dist/ro-RO.mjs +9 -0
  129. package/dist/ro-RO.module.js +9 -0
  130. package/dist/ro-RO.module.js.map +1 -0
  131. package/dist/ru-RU.main.js +7 -0
  132. package/dist/ru-RU.main.js.map +1 -0
  133. package/dist/ru-RU.mjs +9 -0
  134. package/dist/ru-RU.module.js +9 -0
  135. package/dist/ru-RU.module.js.map +1 -0
  136. package/dist/sk-SK.main.js +7 -0
  137. package/dist/sk-SK.main.js.map +1 -0
  138. package/dist/sk-SK.mjs +9 -0
  139. package/dist/sk-SK.module.js +9 -0
  140. package/dist/sk-SK.module.js.map +1 -0
  141. package/dist/sl-SI.main.js +7 -0
  142. package/dist/sl-SI.main.js.map +1 -0
  143. package/dist/sl-SI.mjs +9 -0
  144. package/dist/sl-SI.module.js +9 -0
  145. package/dist/sl-SI.module.js.map +1 -0
  146. package/dist/sr-SP.main.js +7 -0
  147. package/dist/sr-SP.main.js.map +1 -0
  148. package/dist/sr-SP.mjs +9 -0
  149. package/dist/sr-SP.module.js +9 -0
  150. package/dist/sr-SP.module.js.map +1 -0
  151. package/dist/sv-SE.main.js +7 -0
  152. package/dist/sv-SE.main.js.map +1 -0
  153. package/dist/sv-SE.mjs +9 -0
  154. package/dist/sv-SE.module.js +9 -0
  155. package/dist/sv-SE.module.js.map +1 -0
  156. package/dist/tr-TR.main.js +7 -0
  157. package/dist/tr-TR.main.js.map +1 -0
  158. package/dist/tr-TR.mjs +9 -0
  159. package/dist/tr-TR.module.js +9 -0
  160. package/dist/tr-TR.module.js.map +1 -0
  161. package/dist/uk-UA.main.js +7 -0
  162. package/dist/uk-UA.main.js.map +1 -0
  163. package/dist/uk-UA.mjs +9 -0
  164. package/dist/uk-UA.module.js +9 -0
  165. package/dist/uk-UA.module.js.map +1 -0
  166. package/dist/zh-CN.main.js +7 -0
  167. package/dist/zh-CN.main.js.map +1 -0
  168. package/dist/zh-CN.mjs +9 -0
  169. package/dist/zh-CN.module.js +9 -0
  170. package/dist/zh-CN.module.js.map +1 -0
  171. package/dist/zh-TW.main.js +7 -0
  172. package/dist/zh-TW.main.js.map +1 -0
  173. package/dist/zh-TW.mjs +9 -0
  174. package/dist/zh-TW.module.js +9 -0
  175. package/dist/zh-TW.module.js.map +1 -0
  176. package/package.json +6 -6
  177. package/src/useToast.ts +1 -1
  178. package/src/useToastRegion.ts +1 -1
package/dist/main.js CHANGED
@@ -1,3 +1,37 @@
1
+ var $3ba38fcbd805da3c$exports = require("./ar-AE.main.js");
2
+ var $06073da8a2e837af$exports = require("./bg-BG.main.js");
3
+ var $f53ed7e9d51b5d55$exports = require("./cs-CZ.main.js");
4
+ var $a6b6afdb5a98f76c$exports = require("./da-DK.main.js");
5
+ var $52ad23060875775f$exports = require("./de-DE.main.js");
6
+ var $08dcc76c0e5f63e1$exports = require("./el-GR.main.js");
7
+ var $ac3044aff017d368$exports = require("./en-US.main.js");
8
+ var $0299c089dcae9213$exports = require("./es-ES.main.js");
9
+ var $6e794080ab3e230e$exports = require("./et-EE.main.js");
10
+ var $0e8addbb92e8793c$exports = require("./fi-FI.main.js");
11
+ var $ccffda58861e52b2$exports = require("./fr-FR.main.js");
12
+ var $653260ae334153b4$exports = require("./he-IL.main.js");
13
+ var $290423d4fc0aea87$exports = require("./hr-HR.main.js");
14
+ var $da81172046d02c49$exports = require("./hu-HU.main.js");
15
+ var $e473b08597cfe1ba$exports = require("./it-IT.main.js");
16
+ var $a922e1b461f17a4b$exports = require("./ja-JP.main.js");
17
+ var $be1e07b486982d9f$exports = require("./ko-KR.main.js");
18
+ var $8ce068abcf4f94c2$exports = require("./lt-LT.main.js");
19
+ var $0f0bc08f611d7d33$exports = require("./lv-LV.main.js");
20
+ var $5166d11eab257c28$exports = require("./nb-NO.main.js");
21
+ var $cb220a55cf7a5fab$exports = require("./nl-NL.main.js");
22
+ var $917614d5adb28d77$exports = require("./pl-PL.main.js");
23
+ var $23cdda07bb218e23$exports = require("./pt-BR.main.js");
24
+ var $bb1b7d8bd48e0fee$exports = require("./pt-PT.main.js");
25
+ var $969ad461d232c044$exports = require("./ro-RO.main.js");
26
+ var $fca911223f29355e$exports = require("./ru-RU.main.js");
27
+ var $19e9a28d44f83203$exports = require("./sk-SK.main.js");
28
+ var $778cdcc7dbced5c1$exports = require("./sl-SI.main.js");
29
+ var $9359f9b7eac75ac1$exports = require("./sr-SP.main.js");
30
+ var $ac7ed8cd33134ccc$exports = require("./sv-SE.main.js");
31
+ var $b55461bb5ab189cd$exports = require("./tr-TR.main.js");
32
+ var $e6a0bdd8a70a947a$exports = require("./uk-UA.main.js");
33
+ var $c2f8abea7819ef8e$exports = require("./zh-CN.main.js");
34
+ var $765deb5c0d35c4bc$exports = require("./zh-TW.main.js");
1
35
  var $35jN2$react = require("react");
2
36
  var $35jN2$reactariautils = require("@react-aria/utils");
3
37
  var $35jN2$reactariai18n = require("@react-aria/i18n");
@@ -36,242 +70,38 @@ $parcel$export(module.exports, "useToastRegion", () => $eda7c6204a682dd4$export$
36
70
  * OF ANY KIND, either express or implied. See the License for the specific language
37
71
  * governing permissions and limitations under the License.
38
72
  */ var $f49b2d6c91681304$exports = {};
39
- var $3ba38fcbd805da3c$exports = {};
40
- $3ba38fcbd805da3c$exports = {
41
- "close": `\u{625}\u{63A}\u{644}\u{627}\u{642}`,
42
- "notifications": `\u{625}\u{634}\u{639}\u{627}\u{631}\u{627}\u{62A}`
43
- };
44
-
45
-
46
- var $06073da8a2e837af$exports = {};
47
- $06073da8a2e837af$exports = {
48
- "close": `\u{417}\u{430}\u{442}\u{432}\u{43E}\u{440}\u{438}`,
49
- "notifications": `\u{418}\u{437}\u{432}\u{435}\u{441}\u{442}\u{438}\u{44F}`
50
- };
51
-
52
-
53
- var $f53ed7e9d51b5d55$exports = {};
54
- $f53ed7e9d51b5d55$exports = {
55
- "close": `Zav\u{159}\xedt`,
56
- "notifications": `Upozorn\u{11B}n\xed`
57
- };
58
-
59
-
60
- var $a6b6afdb5a98f76c$exports = {};
61
- $a6b6afdb5a98f76c$exports = {
62
- "close": `Luk`,
63
- "notifications": `P\xe5mindelser`
64
- };
65
-
66
-
67
- var $52ad23060875775f$exports = {};
68
- $52ad23060875775f$exports = {
69
- "close": `Schlie\xdfen`,
70
- "notifications": `Benachrichtigungen`
71
- };
72
-
73
-
74
- var $08dcc76c0e5f63e1$exports = {};
75
- $08dcc76c0e5f63e1$exports = {
76
- "close": `\u{39A}\u{3BB}\u{3B5}\u{3AF}\u{3C3}\u{3B9}\u{3BC}\u{3BF}`,
77
- "notifications": `\u{395}\u{3B9}\u{3B4}\u{3BF}\u{3C0}\u{3BF}\u{3B9}\u{3AE}\u{3C3}\u{3B5}\u{3B9}\u{3C2}`
78
- };
79
-
80
-
81
- var $ac3044aff017d368$exports = {};
82
- $ac3044aff017d368$exports = {
83
- "close": `Close`,
84
- "notifications": `Notifications`
85
- };
86
-
87
-
88
- var $0299c089dcae9213$exports = {};
89
- $0299c089dcae9213$exports = {
90
- "close": `Cerrar`,
91
- "notifications": `Notificaciones`
92
- };
93
-
94
-
95
- var $6e794080ab3e230e$exports = {};
96
- $6e794080ab3e230e$exports = {
97
- "close": `Sule`,
98
- "notifications": `Teated`
99
- };
100
-
101
-
102
- var $0e8addbb92e8793c$exports = {};
103
- $0e8addbb92e8793c$exports = {
104
- "close": `Sulje`,
105
- "notifications": `Ilmoitukset`
106
- };
107
-
108
-
109
- var $ccffda58861e52b2$exports = {};
110
- $ccffda58861e52b2$exports = {
111
- "close": `Fermer`,
112
- "notifications": `Notifications`
113
- };
114
-
115
-
116
- var $653260ae334153b4$exports = {};
117
- $653260ae334153b4$exports = {
118
- "close": `\u{5E1}\u{5D2}\u{5D5}\u{5E8}`,
119
- "notifications": `\u{5D4}\u{5EA}\u{5E8}\u{5D0}\u{5D5}\u{5EA}`
120
- };
121
73
 
122
74
 
123
- var $290423d4fc0aea87$exports = {};
124
- $290423d4fc0aea87$exports = {
125
- "close": `Zatvori`,
126
- "notifications": `Obavijesti`
127
- };
128
-
129
-
130
- var $da81172046d02c49$exports = {};
131
- $da81172046d02c49$exports = {
132
- "close": `Bez\xe1r\xe1s`,
133
- "notifications": `\xc9rtes\xedt\xe9sek`
134
- };
135
-
136
-
137
- var $e473b08597cfe1ba$exports = {};
138
- $e473b08597cfe1ba$exports = {
139
- "close": `Chiudi`,
140
- "notifications": `Notifiche`
141
- };
142
-
143
-
144
- var $a922e1b461f17a4b$exports = {};
145
- $a922e1b461f17a4b$exports = {
146
- "close": `\u{9589}\u{3058}\u{308B}`,
147
- "notifications": `\u{901A}\u{77E5}`
148
- };
149
-
150
-
151
- var $be1e07b486982d9f$exports = {};
152
- $be1e07b486982d9f$exports = {
153
- "close": `\u{B2EB}\u{AE30}`,
154
- "notifications": `\u{C54C}\u{B9BC}`
155
- };
156
-
157
-
158
- var $8ce068abcf4f94c2$exports = {};
159
- $8ce068abcf4f94c2$exports = {
160
- "close": `U\u{17E}daryti`,
161
- "notifications": `Prane\u{161}imai`
162
- };
163
-
164
75
 
165
- var $0f0bc08f611d7d33$exports = {};
166
- $0f0bc08f611d7d33$exports = {
167
- "close": `Aizv\u{113}rt`,
168
- "notifications": `Pazi\u{146}ojumi`
169
- };
170
76
 
171
77
 
172
- var $5166d11eab257c28$exports = {};
173
- $5166d11eab257c28$exports = {
174
- "close": `Lukk`,
175
- "notifications": `Varsler`
176
- };
177
78
 
178
79
 
179
- var $cb220a55cf7a5fab$exports = {};
180
- $cb220a55cf7a5fab$exports = {
181
- "close": `Sluiten`,
182
- "notifications": `Meldingen`
183
- };
184
80
 
185
81
 
186
- var $917614d5adb28d77$exports = {};
187
- $917614d5adb28d77$exports = {
188
- "close": `Zamknij`,
189
- "notifications": `Powiadomienia`
190
- };
191
82
 
192
83
 
193
- var $23cdda07bb218e23$exports = {};
194
- $23cdda07bb218e23$exports = {
195
- "close": `Fechar`,
196
- "notifications": `Notifica\xe7\xf5es`
197
- };
198
84
 
199
85
 
200
- var $bb1b7d8bd48e0fee$exports = {};
201
- $bb1b7d8bd48e0fee$exports = {
202
- "close": `Fechar`,
203
- "notifications": `Notifica\xe7\xf5es`
204
- };
205
86
 
206
87
 
207
- var $969ad461d232c044$exports = {};
208
- $969ad461d232c044$exports = {
209
- "close": `\xcenchide\u{163}i`,
210
- "notifications": `Notific\u{103}ri`
211
- };
212
88
 
213
89
 
214
- var $fca911223f29355e$exports = {};
215
- $fca911223f29355e$exports = {
216
- "close": `\u{417}\u{430}\u{43A}\u{440}\u{44B}\u{442}\u{44C}`,
217
- "notifications": `\u{423}\u{432}\u{435}\u{434}\u{43E}\u{43C}\u{43B}\u{435}\u{43D}\u{438}\u{44F}`
218
- };
219
90
 
220
91
 
221
- var $19e9a28d44f83203$exports = {};
222
- $19e9a28d44f83203$exports = {
223
- "close": `Zatvori\u{165}`,
224
- "notifications": `Ozn\xe1menia`
225
- };
226
92
 
227
93
 
228
- var $778cdcc7dbced5c1$exports = {};
229
- $778cdcc7dbced5c1$exports = {
230
- "close": `Zapri`,
231
- "notifications": `Obvestila`
232
- };
233
-
234
94
 
235
- var $9359f9b7eac75ac1$exports = {};
236
- $9359f9b7eac75ac1$exports = {
237
- "close": `Zatvori`,
238
- "notifications": `Obave\u{161}tenja`
239
- };
240
95
 
241
96
 
242
- var $ac7ed8cd33134ccc$exports = {};
243
- $ac7ed8cd33134ccc$exports = {
244
- "close": `St\xe4ng`,
245
- "notifications": `Aviseringar`
246
- };
247
97
 
248
98
 
249
- var $b55461bb5ab189cd$exports = {};
250
- $b55461bb5ab189cd$exports = {
251
- "close": `Kapat`,
252
- "notifications": `Bildirimler`
253
- };
254
99
 
255
100
 
256
- var $e6a0bdd8a70a947a$exports = {};
257
- $e6a0bdd8a70a947a$exports = {
258
- "close": `\u{417}\u{430}\u{43A}\u{440}\u{438}\u{442}\u{438}`,
259
- "notifications": `\u{421}\u{43F}\u{43E}\u{432}\u{456}\u{449}\u{435}\u{43D}\u{43D}\u{44F}`
260
- };
261
101
 
262
102
 
263
- var $c2f8abea7819ef8e$exports = {};
264
- $c2f8abea7819ef8e$exports = {
265
- "close": `\u{5173}\u{95ED}`,
266
- "notifications": `\u{901A}\u{77E5}`
267
- };
268
103
 
269
104
 
270
- var $765deb5c0d35c4bc$exports = {};
271
- $765deb5c0d35c4bc$exports = {
272
- "close": `\u{95DC}\u{9589}`,
273
- "notifications": `\u{901A}\u{77E5}`
274
- };
275
105
 
276
106
 
277
107
  $f49b2d6c91681304$exports = {
@@ -352,7 +182,7 @@ function $ec537504faac71d2$export$a407b657d3044108(props, state, ref) {
352
182
  ]);
353
183
  let titleId = (0, $35jN2$reactariautils.useId)();
354
184
  let descriptionId = (0, $35jN2$reactariautils.useSlotId)();
355
- let stringFormatter = (0, $35jN2$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($f49b2d6c91681304$exports))));
185
+ let stringFormatter = (0, $35jN2$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($f49b2d6c91681304$exports))), "@react-aria/toast");
356
186
  return {
357
187
  toastProps: {
358
188
  role: "alert",
@@ -384,7 +214,7 @@ function $ec537504faac71d2$export$a407b657d3044108(props, state, ref) {
384
214
 
385
215
 
386
216
  function $eda7c6204a682dd4$export$b8cbbb20a51697de(props, state, ref) {
387
- let stringFormatter = (0, $35jN2$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($f49b2d6c91681304$exports))));
217
+ let stringFormatter = (0, $35jN2$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($f49b2d6c91681304$exports))), "@react-aria/toast");
388
218
  let { landmarkProps: landmarkProps } = (0, $35jN2$reactarialandmark.useLandmark)({
389
219
  role: "region",
390
220
  "aria-label": props["aria-label"] || stringFormatter.format("notifications")
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;ACAA;;;;;;;;;;;;AEAA,4BAAiB;IAAG,SAAS,CAAC,mCAAK,CAAC;IAClC,iBAAiB,CAAC,iDAAO,CAAC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CAAA,GAAA,qCAAO,EAAE;QAC1B,cAAc,MAAM,QAAQ;QAC5B,YAAY,MAAM,SAAS;IAC7B;IAEA,IAAI,cAAc,CAAA,GAAA,mBAAK,EAAE;IACzB,IAAI,oBAAC,gBAAgB,EAAC,GAAG,CAAA,GAAA,2CAAa,EAAE;QACtC,eAAe,CAAC;YACd,MAAM,QAAQ;YACd,YAAY,OAAO,GAAG,EAAE,aAAa;QACvC;QACA,cAAc;YACZ,MAAM,SAAS;YACf,YAAY,OAAO,GAAG;QACxB;IACF;IAEA,6EAA6E;IAC7E,+CAA+C;IAC/C,oEAAoE;IACpE,4CAA4C;IAC5C,CAAA,GAAA,sBAAQ,EAAE;QACR,OAAO;YACL,IAAI,YAAY,OAAO,IAAI,SAAS,IAAI,CAAC,QAAQ,CAAC,YAAY,OAAO;gBACnE,IAAI,CAAA,GAAA,mDAAqB,QAAQ,WAC/B,CAAA,GAAA,2CAAoB,EAAE,YAAY,OAAO;qBAEzC,YAAY,OAAO,CAAC,KAAK;;QAG/B;IACF,GAAG;QAAC;KAAI;IAER,OAAO;QACL,aAAa,CAAA,GAAA,gCAAS,EAAE,eAAe,YAAY,kBAAkB;YACnE,UAAU;YACV,sDAAsD;YACtD,iDAAiD;YACjD,yDAAyD;YACzD,8EAA8E;YAC9E,aAAa;YACb,6BAA6B;QAC/B;IACF;AACF;","sources":["packages/@react-aria/toast/src/index.ts","packages/@react-aria/toast/src/useToast.ts","packages/@react-aria/toast/src/*.js","packages/@react-aria/toast/intl/ar-AE.json","packages/@react-aria/toast/intl/bg-BG.json","packages/@react-aria/toast/intl/cs-CZ.json","packages/@react-aria/toast/intl/da-DK.json","packages/@react-aria/toast/intl/de-DE.json","packages/@react-aria/toast/intl/el-GR.json","packages/@react-aria/toast/intl/en-US.json","packages/@react-aria/toast/intl/es-ES.json","packages/@react-aria/toast/intl/et-EE.json","packages/@react-aria/toast/intl/fi-FI.json","packages/@react-aria/toast/intl/fr-FR.json","packages/@react-aria/toast/intl/he-IL.json","packages/@react-aria/toast/intl/hr-HR.json","packages/@react-aria/toast/intl/hu-HU.json","packages/@react-aria/toast/intl/it-IT.json","packages/@react-aria/toast/intl/ja-JP.json","packages/@react-aria/toast/intl/ko-KR.json","packages/@react-aria/toast/intl/lt-LT.json","packages/@react-aria/toast/intl/lv-LV.json","packages/@react-aria/toast/intl/nb-NO.json","packages/@react-aria/toast/intl/nl-NL.json","packages/@react-aria/toast/intl/pl-PL.json","packages/@react-aria/toast/intl/pt-BR.json","packages/@react-aria/toast/intl/pt-PT.json","packages/@react-aria/toast/intl/ro-RO.json","packages/@react-aria/toast/intl/ru-RU.json","packages/@react-aria/toast/intl/sk-SK.json","packages/@react-aria/toast/intl/sl-SI.json","packages/@react-aria/toast/intl/sr-SP.json","packages/@react-aria/toast/intl/sv-SE.json","packages/@react-aria/toast/intl/tr-TR.json","packages/@react-aria/toast/intl/uk-UA.json","packages/@react-aria/toast/intl/zh-CN.json","packages/@react-aria/toast/intl/zh-TW.json","packages/@react-aria/toast/src/useToastRegion.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nexport {useToast} from './useToast';\nexport {useToastRegion} from './useToastRegion';\n\nexport type {AriaToastRegionProps, ToastRegionAria} from './useToastRegion';\nexport type {AriaToastProps, ToastAria} from './useToast';\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\nimport {AriaButtonProps} from '@react-types/button';\nimport {AriaLabelingProps, DOMAttributes, FocusableElement} from '@react-types/shared';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {QueuedToast, ToastState} from '@react-stately/toast';\nimport {RefObject, useEffect, useRef} from 'react';\nimport {useId, useLayoutEffect, useSlotId} from '@react-aria/utils';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nexport interface AriaToastProps<T> extends AriaLabelingProps {\n /** The toast object. */\n toast: QueuedToast<T>\n}\n\nexport interface ToastAria {\n /** Props for the toast container element. */\n toastProps: DOMAttributes,\n /** Props for the toast title element. */\n titleProps: DOMAttributes,\n /** Props for the toast description element, if any. */\n descriptionProps: DOMAttributes,\n /** Props for the toast close button. */\n closeButtonProps: AriaButtonProps\n}\n\n/**\n * Provides the behavior and accessibility implementation for a toast component.\n * Toasts display brief, temporary notifications of actions, errors, or other events in an application.\n */\nexport function useToast<T>(props: AriaToastProps<T>, state: ToastState<T>, ref: RefObject<FocusableElement>): ToastAria {\n let {\n key,\n timer,\n timeout,\n animation\n } = props.toast;\n\n useEffect(() => {\n if (!timer) {\n return;\n }\n\n timer.reset(timeout);\n return () => {\n timer.pause();\n };\n }, [timer, timeout]);\n\n // Restore focus to the toast container on unmount.\n // If there are no more toasts, the container will be unmounted\n // and will restore focus to wherever focus was before the user\n // focused the toast region.\n let focusOnUnmount = useRef(null);\n useLayoutEffect(() => {\n let container = ref.current.closest('[role=region]') as HTMLElement;\n return () => {\n if (container && container.contains(document.activeElement)) {\n // Focus must be delayed for focus ring to appear, but we can't wait\n // until useEffect cleanup to check if focus was inside the container.\n focusOnUnmount.current = container;\n }\n };\n }, [ref]);\n\n // eslint-disable-next-line\n useEffect(() => {\n return () => {\n if (focusOnUnmount.current) {\n focusOnUnmount.current.focus();\n }\n };\n }, [ref]);\n\n let titleId = useId();\n let descriptionId = useSlotId();\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n\n return {\n toastProps: {\n role: 'alert',\n 'aria-label': props['aria-label'],\n 'aria-labelledby': props['aria-labelledby'] || titleId,\n 'aria-describedby': props['aria-describedby'] || descriptionId,\n 'aria-details': props['aria-details'],\n // Hide toasts that are animating out so VoiceOver doesn't announce them.\n 'aria-hidden': animation === 'exiting' ? 'true' : undefined\n },\n titleProps: {\n id: titleId\n },\n descriptionProps: {\n id: descriptionId\n },\n closeButtonProps: {\n 'aria-label': stringFormatter.format('close'),\n onPress: () => state.close(key)\n }\n };\n}\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 \"close\": \"إغلاق\",\n \"notifications\": \"إشعارات\"\n}\n","{\n \"close\": \"Затвори\",\n \"notifications\": \"Известия\"\n}\n","{\n \"close\": \"Zavřít\",\n \"notifications\": \"Upozornění\"\n}\n","{\n \"close\": \"Luk\",\n \"notifications\": \"Påmindelser\"\n}\n","{\n \"close\": \"Schließen\",\n \"notifications\": \"Benachrichtigungen\"\n}\n","{\n \"close\": \"Κλείσιμο\",\n \"notifications\": \"Ειδοποιήσεις\"\n}\n","{\n \"close\": \"Close\",\n \"notifications\": \"Notifications\"\n}\n","{\n \"close\": \"Cerrar\",\n \"notifications\": \"Notificaciones\"\n}\n","{\n \"close\": \"Sule\",\n \"notifications\": \"Teated\"\n}\n","{\n \"close\": \"Sulje\",\n \"notifications\": \"Ilmoitukset\"\n}\n","{\n \"close\": \"Fermer\",\n \"notifications\": \"Notifications\"\n}\n","{\n \"close\": \"סגור\",\n \"notifications\": \"התראות\"\n}\n","{\n \"close\": \"Zatvori\",\n \"notifications\": \"Obavijesti\"\n}\n","{\n \"close\": \"Bezárás\",\n \"notifications\": \"Értesítések\"\n}\n","{\n \"close\": \"Chiudi\",\n \"notifications\": \"Notifiche\"\n}\n","{\n \"close\": \"閉じる\",\n \"notifications\": \"通知\"\n}\n","{\n \"close\": \"닫기\",\n \"notifications\": \"알림\"\n}\n","{\n \"close\": \"Uždaryti\",\n \"notifications\": \"Pranešimai\"\n}\n","{\n \"close\": \"Aizvērt\",\n \"notifications\": \"Paziņojumi\"\n}\n","{\n \"close\": \"Lukk\",\n \"notifications\": \"Varsler\"\n}\n","{\n \"close\": \"Sluiten\",\n \"notifications\": \"Meldingen\"\n}\n","{\n \"close\": \"Zamknij\",\n \"notifications\": \"Powiadomienia\"\n}\n","{\n \"close\": \"Fechar\",\n \"notifications\": \"Notificações\"\n}\n","{\n \"close\": \"Fechar\",\n \"notifications\": \"Notificações\"\n}\n","{\n \"close\": \"Închideţi\",\n \"notifications\": \"Notificări\"\n}\n","{\n \"close\": \"Закрыть\",\n \"notifications\": \"Уведомления\"\n}\n","{\n \"close\": \"Zatvoriť\",\n \"notifications\": \"Oznámenia\"\n}\n","{\n \"close\": \"Zapri\",\n \"notifications\": \"Obvestila\"\n}\n","{\n \"close\": \"Zatvori\",\n \"notifications\": \"Obaveštenja\"\n}\n","{\n \"close\": \"Stäng\",\n \"notifications\": \"Aviseringar\"\n}\n","{\n \"close\": \"Kapat\",\n \"notifications\": \"Bildirimler\"\n}\n","{\n \"close\": \"Закрити\",\n \"notifications\": \"Сповіщення\"\n}\n","{\n \"close\": \"关闭\",\n \"notifications\": \"通知\"\n}\n","{\n \"close\": \"關閉\",\n \"notifications\": \"通知\"\n}\n","import {AriaLabelingProps, DOMAttributes} from '@react-types/shared';\nimport {focusWithoutScrolling, mergeProps} from '@react-aria/utils';\nimport {getInteractionModality, useFocusWithin, useHover} from '@react-aria/interactions';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {RefObject, useEffect, useRef} from 'react';\nimport {ToastState} from '@react-stately/toast';\nimport {useLandmark} from '@react-aria/landmark';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nexport interface AriaToastRegionProps extends AriaLabelingProps {\n /**\n * An accessibility label for the toast region.\n * @default \"Notifications\"\n */\n 'aria-label'?: string\n}\n\nexport interface ToastRegionAria {\n /** Props for the landmark region element. */\n regionProps: DOMAttributes\n}\n\n/**\n * Provides the behavior and accessibility implementation for a toast region containing one or more toasts.\n * Toasts display brief, temporary notifications of actions, errors, or other events in an application.\n */\nexport function useToastRegion<T>(props: AriaToastRegionProps, state: ToastState<T>, ref: RefObject<HTMLElement>): ToastRegionAria {\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n let {landmarkProps} = useLandmark({\n role: 'region',\n 'aria-label': props['aria-label'] || stringFormatter.format('notifications')\n }, ref);\n\n let {hoverProps} = useHover({\n onHoverStart: state.pauseAll,\n onHoverEnd: state.resumeAll\n });\n\n let lastFocused = useRef(null);\n let {focusWithinProps} = useFocusWithin({\n onFocusWithin: (e) => {\n state.pauseAll();\n lastFocused.current = e.relatedTarget;\n },\n onBlurWithin: () => {\n state.resumeAll();\n lastFocused.current = null;\n }\n });\n\n // When the region unmounts, restore focus to the last element that had focus\n // before the user moved focus into the region.\n // TODO: handle when the element has unmounted like FocusScope does?\n // eslint-disable-next-line arrow-body-style\n useEffect(() => {\n return () => {\n if (lastFocused.current && document.body.contains(lastFocused.current)) {\n if (getInteractionModality() === 'pointer') {\n focusWithoutScrolling(lastFocused.current);\n } else {\n lastFocused.current.focus();\n }\n }\n };\n }, [ref]);\n\n return {\n regionProps: mergeProps(landmarkProps, hoverProps, focusWithinProps, {\n tabIndex: -1,\n // Mark the toast region as a \"top layer\", so that it:\n // - is not aria-hidden when opening an overlay\n // - allows focus even outside a containing focus scope\n // - doesn’t dismiss overlays when clicking on it, even though it is outside\n // @ts-ignore\n 'data-react-aria-top-layer': true\n })\n };\n}\n"],"names":[],"version":3,"file":"main.js.map"}
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;ACAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkCA,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;;CD3DC;;;;AA+BM,SAAS,0CAAY,KAAwB,EAAE,KAAoB,EAAE,GAAgC;IAC1G,IAAI,OACF,GAAG,SACH,KAAK,WACL,OAAO,aACP,SAAS,EACV,GAAG,MAAM,KAAK;IAEf,CAAA,GAAA,sBAAQ,EAAE;QACR,IAAI,CAAC,OACH;QAGF,MAAM,KAAK,CAAC;QACZ,OAAO;YACL,MAAM,KAAK;QACb;IACF,GAAG;QAAC;QAAO;KAAQ;IAEnB,mDAAmD;IACnD,+DAA+D;IAC/D,+DAA+D;IAC/D,4BAA4B;IAC5B,IAAI,iBAAiB,CAAA,GAAA,mBAAK,EA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GAAA,qCAAO,EAAE;QAC1B,cAAc,MAAM,QAAQ;QAC5B,YAAY,MAAM,SAAS;IAC7B;IAEA,IAAI,cAAc,CAAA,GAAA,mBAAK,EAAE;IACzB,IAAI,oBAAC,gBAAgB,EAAC,GAAG,CAAA,GAAA,2CAAa,EAAE;QACtC,eAAe,CAAC;YACd,MAAM,QAAQ;YACd,YAAY,OAAO,GAAG,EAAE,aAAa;QACvC;QACA,cAAc;YACZ,MAAM,SAAS;YACf,YAAY,OAAO,GAAG;QACxB;IACF;IAEA,6EAA6E;IAC7E,+CAA+C;IAC/C,oEAAoE;IACpE,4CAA4C;IAC5C,CAAA,GAAA,sBAAQ,EAAE;QACR,OAAO;YACL,IAAI,YAAY,OAAO,IAAI,SAAS,IAAI,CAAC,QAAQ,CAAC,YAAY,OAAO;gBACnE,IAAI,CAAA,GAAA,mDAAqB,QAAQ,WAC/B,CAAA,GAAA,2CAAoB,EAAE,YAAY,OAAO;qBAEzC,YAAY,OAAO,CAAC,KAAK;;QAG/B;IACF,GAAG;QAAC;KAAI;IAER,OAAO;QACL,aAAa,CAAA,GAAA,gCAAS,EAAE,eAAe,YAAY,kBAAkB;YACnE,UAAU;YACV,sDAAsD;YACtD,iDAAiD;YACjD,yDAAyD;YACzD,8EAA8E;YAC9E,aAAa;YACb,6BAA6B;QAC/B;IACF;AACF;","sources":["packages/@react-aria/toast/src/index.ts","packages/@react-aria/toast/src/useToast.ts","packages/@react-aria/toast/src/*.js","packages/@react-aria/toast/src/useToastRegion.ts"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nexport {useToast} from './useToast';\nexport {useToastRegion} from './useToastRegion';\n\nexport type {AriaToastRegionProps, ToastRegionAria} from './useToastRegion';\nexport type {AriaToastProps, ToastAria} from './useToast';\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\nimport {AriaButtonProps} from '@react-types/button';\nimport {AriaLabelingProps, DOMAttributes, FocusableElement} from '@react-types/shared';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {QueuedToast, ToastState} from '@react-stately/toast';\nimport {RefObject, useEffect, useRef} from 'react';\nimport {useId, useLayoutEffect, useSlotId} from '@react-aria/utils';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nexport interface AriaToastProps<T> extends AriaLabelingProps {\n /** The toast object. */\n toast: QueuedToast<T>\n}\n\nexport interface ToastAria {\n /** Props for the toast container element. */\n toastProps: DOMAttributes,\n /** Props for the toast title element. */\n titleProps: DOMAttributes,\n /** Props for the toast description element, if any. */\n descriptionProps: DOMAttributes,\n /** Props for the toast close button. */\n closeButtonProps: AriaButtonProps\n}\n\n/**\n * Provides the behavior and accessibility implementation for a toast component.\n * Toasts display brief, temporary notifications of actions, errors, or other events in an application.\n */\nexport function useToast<T>(props: AriaToastProps<T>, state: ToastState<T>, ref: RefObject<FocusableElement>): ToastAria {\n let {\n key,\n timer,\n timeout,\n animation\n } = props.toast;\n\n useEffect(() => {\n if (!timer) {\n return;\n }\n\n timer.reset(timeout);\n return () => {\n timer.pause();\n };\n }, [timer, timeout]);\n\n // Restore focus to the toast container on unmount.\n // If there are no more toasts, the container will be unmounted\n // and will restore focus to wherever focus was before the user\n // focused the toast region.\n let focusOnUnmount = useRef(null);\n useLayoutEffect(() => {\n let container = ref.current.closest('[role=region]') as HTMLElement;\n return () => {\n if (container && container.contains(document.activeElement)) {\n // Focus must be delayed for focus ring to appear, but we can't wait\n // until useEffect cleanup to check if focus was inside the container.\n focusOnUnmount.current = container;\n }\n };\n }, [ref]);\n\n // eslint-disable-next-line\n useEffect(() => {\n return () => {\n if (focusOnUnmount.current) {\n focusOnUnmount.current.focus();\n }\n };\n }, [ref]);\n\n let titleId = useId();\n let descriptionId = useSlotId();\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-aria/toast');\n\n return {\n toastProps: {\n role: 'alert',\n 'aria-label': props['aria-label'],\n 'aria-labelledby': props['aria-labelledby'] || titleId,\n 'aria-describedby': props['aria-describedby'] || descriptionId,\n 'aria-details': props['aria-details'],\n // Hide toasts that are animating out so VoiceOver doesn't announce them.\n 'aria-hidden': animation === 'exiting' ? 'true' : undefined\n },\n titleProps: {\n id: titleId\n },\n descriptionProps: {\n id: descriptionId\n },\n closeButtonProps: {\n 'aria-label': stringFormatter.format('close'),\n onPress: () => state.close(key)\n }\n };\n}\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}","import {AriaLabelingProps, DOMAttributes} from '@react-types/shared';\nimport {focusWithoutScrolling, mergeProps} from '@react-aria/utils';\nimport {getInteractionModality, useFocusWithin, useHover} from '@react-aria/interactions';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {RefObject, useEffect, useRef} from 'react';\nimport {ToastState} from '@react-stately/toast';\nimport {useLandmark} from '@react-aria/landmark';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nexport interface AriaToastRegionProps extends AriaLabelingProps {\n /**\n * An accessibility label for the toast region.\n * @default \"Notifications\"\n */\n 'aria-label'?: string\n}\n\nexport interface ToastRegionAria {\n /** Props for the landmark region element. */\n regionProps: DOMAttributes\n}\n\n/**\n * Provides the behavior and accessibility implementation for a toast region containing one or more toasts.\n * Toasts display brief, temporary notifications of actions, errors, or other events in an application.\n */\nexport function useToastRegion<T>(props: AriaToastRegionProps, state: ToastState<T>, ref: RefObject<HTMLElement>): ToastRegionAria {\n let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-aria/toast');\n let {landmarkProps} = useLandmark({\n role: 'region',\n 'aria-label': props['aria-label'] || stringFormatter.format('notifications')\n }, ref);\n\n let {hoverProps} = useHover({\n onHoverStart: state.pauseAll,\n onHoverEnd: state.resumeAll\n });\n\n let lastFocused = useRef(null);\n let {focusWithinProps} = useFocusWithin({\n onFocusWithin: (e) => {\n state.pauseAll();\n lastFocused.current = e.relatedTarget;\n },\n onBlurWithin: () => {\n state.resumeAll();\n lastFocused.current = null;\n }\n });\n\n // When the region unmounts, restore focus to the last element that had focus\n // before the user moved focus into the region.\n // TODO: handle when the element has unmounted like FocusScope does?\n // eslint-disable-next-line arrow-body-style\n useEffect(() => {\n return () => {\n if (lastFocused.current && document.body.contains(lastFocused.current)) {\n if (getInteractionModality() === 'pointer') {\n focusWithoutScrolling(lastFocused.current);\n } else {\n lastFocused.current.focus();\n }\n }\n };\n }, [ref]);\n\n return {\n regionProps: mergeProps(landmarkProps, hoverProps, focusWithinProps, {\n tabIndex: -1,\n // Mark the toast region as a \"top layer\", so that it:\n // - is not aria-hidden when opening an overlay\n // - allows focus even outside a containing focus scope\n // - doesn’t dismiss overlays when clicking on it, even though it is outside\n // @ts-ignore\n 'data-react-aria-top-layer': true\n })\n };\n}\n"],"names":[],"version":3,"file":"main.js.map"}
package/dist/module.js CHANGED
@@ -1,3 +1,37 @@
1
+ import $ff9177efc58547ad$exports from "./ar-AE.module.js";
2
+ import $25eb7c0c0c45e544$exports from "./bg-BG.module.js";
3
+ import $28feffc3d61a8691$exports from "./cs-CZ.module.js";
4
+ import $390d441203d25ff4$exports from "./da-DK.module.js";
5
+ import $7063c2d0f14f979a$exports from "./de-DE.module.js";
6
+ import $2dfc1dbb6590af88$exports from "./el-GR.module.js";
7
+ import $9a12ff1caae5a7a5$exports from "./en-US.module.js";
8
+ import $f4095fb5a72adbe6$exports from "./es-ES.module.js";
9
+ import $75bc5191b9d7826a$exports from "./et-EE.module.js";
10
+ import $e4b9aef18b0db8dc$exports from "./fi-FI.module.js";
11
+ import $888756784d832bd7$exports from "./fr-FR.module.js";
12
+ import $6835949b68a1fabf$exports from "./he-IL.module.js";
13
+ import $87ffcbc0b651e40b$exports from "./hr-HR.module.js";
14
+ import $dc6e3b2813600d69$exports from "./hu-HU.module.js";
15
+ import $fe136bcbacfcfa14$exports from "./it-IT.module.js";
16
+ import $8fb53a929b46df83$exports from "./ja-JP.module.js";
17
+ import $2c38dbfaf041a865$exports from "./ko-KR.module.js";
18
+ import $48f3f33a29908d4c$exports from "./lt-LT.module.js";
19
+ import $9867160d996455a0$exports from "./lv-LV.module.js";
20
+ import $196258ea25c96487$exports from "./nb-NO.module.js";
21
+ import $949061cb954e8000$exports from "./nl-NL.module.js";
22
+ import $8189bed27add1ad3$exports from "./pl-PL.module.js";
23
+ import $a361756a93b6e28c$exports from "./pt-BR.module.js";
24
+ import $034c7393857c8db0$exports from "./pt-PT.module.js";
25
+ import $e33d3b3868478b04$exports from "./ro-RO.module.js";
26
+ import $9a7dcb914b29cd9f$exports from "./ru-RU.module.js";
27
+ import $e43d964a0c7f1266$exports from "./sk-SK.module.js";
28
+ import $0bc56cee3275bcaa$exports from "./sl-SI.module.js";
29
+ import $7dbdd7289c10d2ba$exports from "./sr-SP.module.js";
30
+ import $ccbe6066c10b1e53$exports from "./sv-SE.module.js";
31
+ import $9d503476b9d858b7$exports from "./tr-TR.module.js";
32
+ import $32ee419c7b9b7a83$exports from "./uk-UA.module.js";
33
+ import $122525af1cb737c7$exports from "./zh-CN.module.js";
34
+ import $52e8b1b00094e5a3$exports from "./zh-TW.module.js";
1
35
  import {useEffect as $5bA4N$useEffect, useRef as $5bA4N$useRef} from "react";
2
36
  import {useLayoutEffect as $5bA4N$useLayoutEffect, useId as $5bA4N$useId, useSlotId as $5bA4N$useSlotId, focusWithoutScrolling as $5bA4N$focusWithoutScrolling, mergeProps as $5bA4N$mergeProps} from "@react-aria/utils";
3
37
  import {useLocalizedStringFormatter as $5bA4N$useLocalizedStringFormatter} from "@react-aria/i18n";
@@ -29,242 +63,38 @@ function $parcel$interopDefault(a) {
29
63
  * OF ANY KIND, either express or implied. See the License for the specific language
30
64
  * governing permissions and limitations under the License.
31
65
  */ var $7853651519a70071$exports = {};
32
- var $ff9177efc58547ad$exports = {};
33
- $ff9177efc58547ad$exports = {
34
- "close": `\u{625}\u{63A}\u{644}\u{627}\u{642}`,
35
- "notifications": `\u{625}\u{634}\u{639}\u{627}\u{631}\u{627}\u{62A}`
36
- };
37
-
38
-
39
- var $25eb7c0c0c45e544$exports = {};
40
- $25eb7c0c0c45e544$exports = {
41
- "close": `\u{417}\u{430}\u{442}\u{432}\u{43E}\u{440}\u{438}`,
42
- "notifications": `\u{418}\u{437}\u{432}\u{435}\u{441}\u{442}\u{438}\u{44F}`
43
- };
44
-
45
-
46
- var $28feffc3d61a8691$exports = {};
47
- $28feffc3d61a8691$exports = {
48
- "close": `Zav\u{159}\xedt`,
49
- "notifications": `Upozorn\u{11B}n\xed`
50
- };
51
-
52
-
53
- var $390d441203d25ff4$exports = {};
54
- $390d441203d25ff4$exports = {
55
- "close": `Luk`,
56
- "notifications": `P\xe5mindelser`
57
- };
58
-
59
-
60
- var $7063c2d0f14f979a$exports = {};
61
- $7063c2d0f14f979a$exports = {
62
- "close": `Schlie\xdfen`,
63
- "notifications": `Benachrichtigungen`
64
- };
65
-
66
-
67
- var $2dfc1dbb6590af88$exports = {};
68
- $2dfc1dbb6590af88$exports = {
69
- "close": `\u{39A}\u{3BB}\u{3B5}\u{3AF}\u{3C3}\u{3B9}\u{3BC}\u{3BF}`,
70
- "notifications": `\u{395}\u{3B9}\u{3B4}\u{3BF}\u{3C0}\u{3BF}\u{3B9}\u{3AE}\u{3C3}\u{3B5}\u{3B9}\u{3C2}`
71
- };
72
-
73
-
74
- var $9a12ff1caae5a7a5$exports = {};
75
- $9a12ff1caae5a7a5$exports = {
76
- "close": `Close`,
77
- "notifications": `Notifications`
78
- };
79
-
80
-
81
- var $f4095fb5a72adbe6$exports = {};
82
- $f4095fb5a72adbe6$exports = {
83
- "close": `Cerrar`,
84
- "notifications": `Notificaciones`
85
- };
86
-
87
-
88
- var $75bc5191b9d7826a$exports = {};
89
- $75bc5191b9d7826a$exports = {
90
- "close": `Sule`,
91
- "notifications": `Teated`
92
- };
93
-
94
-
95
- var $e4b9aef18b0db8dc$exports = {};
96
- $e4b9aef18b0db8dc$exports = {
97
- "close": `Sulje`,
98
- "notifications": `Ilmoitukset`
99
- };
100
-
101
-
102
- var $888756784d832bd7$exports = {};
103
- $888756784d832bd7$exports = {
104
- "close": `Fermer`,
105
- "notifications": `Notifications`
106
- };
107
-
108
-
109
- var $6835949b68a1fabf$exports = {};
110
- $6835949b68a1fabf$exports = {
111
- "close": `\u{5E1}\u{5D2}\u{5D5}\u{5E8}`,
112
- "notifications": `\u{5D4}\u{5EA}\u{5E8}\u{5D0}\u{5D5}\u{5EA}`
113
- };
114
66
 
115
67
 
116
- var $87ffcbc0b651e40b$exports = {};
117
- $87ffcbc0b651e40b$exports = {
118
- "close": `Zatvori`,
119
- "notifications": `Obavijesti`
120
- };
121
-
122
-
123
- var $dc6e3b2813600d69$exports = {};
124
- $dc6e3b2813600d69$exports = {
125
- "close": `Bez\xe1r\xe1s`,
126
- "notifications": `\xc9rtes\xedt\xe9sek`
127
- };
128
-
129
-
130
- var $fe136bcbacfcfa14$exports = {};
131
- $fe136bcbacfcfa14$exports = {
132
- "close": `Chiudi`,
133
- "notifications": `Notifiche`
134
- };
135
-
136
-
137
- var $8fb53a929b46df83$exports = {};
138
- $8fb53a929b46df83$exports = {
139
- "close": `\u{9589}\u{3058}\u{308B}`,
140
- "notifications": `\u{901A}\u{77E5}`
141
- };
142
-
143
-
144
- var $2c38dbfaf041a865$exports = {};
145
- $2c38dbfaf041a865$exports = {
146
- "close": `\u{B2EB}\u{AE30}`,
147
- "notifications": `\u{C54C}\u{B9BC}`
148
- };
149
-
150
-
151
- var $48f3f33a29908d4c$exports = {};
152
- $48f3f33a29908d4c$exports = {
153
- "close": `U\u{17E}daryti`,
154
- "notifications": `Prane\u{161}imai`
155
- };
156
-
157
68
 
158
- var $9867160d996455a0$exports = {};
159
- $9867160d996455a0$exports = {
160
- "close": `Aizv\u{113}rt`,
161
- "notifications": `Pazi\u{146}ojumi`
162
- };
163
69
 
164
70
 
165
- var $196258ea25c96487$exports = {};
166
- $196258ea25c96487$exports = {
167
- "close": `Lukk`,
168
- "notifications": `Varsler`
169
- };
170
71
 
171
72
 
172
- var $949061cb954e8000$exports = {};
173
- $949061cb954e8000$exports = {
174
- "close": `Sluiten`,
175
- "notifications": `Meldingen`
176
- };
177
73
 
178
74
 
179
- var $8189bed27add1ad3$exports = {};
180
- $8189bed27add1ad3$exports = {
181
- "close": `Zamknij`,
182
- "notifications": `Powiadomienia`
183
- };
184
75
 
185
76
 
186
- var $a361756a93b6e28c$exports = {};
187
- $a361756a93b6e28c$exports = {
188
- "close": `Fechar`,
189
- "notifications": `Notifica\xe7\xf5es`
190
- };
191
77
 
192
78
 
193
- var $034c7393857c8db0$exports = {};
194
- $034c7393857c8db0$exports = {
195
- "close": `Fechar`,
196
- "notifications": `Notifica\xe7\xf5es`
197
- };
198
79
 
199
80
 
200
- var $e33d3b3868478b04$exports = {};
201
- $e33d3b3868478b04$exports = {
202
- "close": `\xcenchide\u{163}i`,
203
- "notifications": `Notific\u{103}ri`
204
- };
205
81
 
206
82
 
207
- var $9a7dcb914b29cd9f$exports = {};
208
- $9a7dcb914b29cd9f$exports = {
209
- "close": `\u{417}\u{430}\u{43A}\u{440}\u{44B}\u{442}\u{44C}`,
210
- "notifications": `\u{423}\u{432}\u{435}\u{434}\u{43E}\u{43C}\u{43B}\u{435}\u{43D}\u{438}\u{44F}`
211
- };
212
83
 
213
84
 
214
- var $e43d964a0c7f1266$exports = {};
215
- $e43d964a0c7f1266$exports = {
216
- "close": `Zatvori\u{165}`,
217
- "notifications": `Ozn\xe1menia`
218
- };
219
85
 
220
86
 
221
- var $0bc56cee3275bcaa$exports = {};
222
- $0bc56cee3275bcaa$exports = {
223
- "close": `Zapri`,
224
- "notifications": `Obvestila`
225
- };
226
-
227
87
 
228
- var $7dbdd7289c10d2ba$exports = {};
229
- $7dbdd7289c10d2ba$exports = {
230
- "close": `Zatvori`,
231
- "notifications": `Obave\u{161}tenja`
232
- };
233
88
 
234
89
 
235
- var $ccbe6066c10b1e53$exports = {};
236
- $ccbe6066c10b1e53$exports = {
237
- "close": `St\xe4ng`,
238
- "notifications": `Aviseringar`
239
- };
240
90
 
241
91
 
242
- var $9d503476b9d858b7$exports = {};
243
- $9d503476b9d858b7$exports = {
244
- "close": `Kapat`,
245
- "notifications": `Bildirimler`
246
- };
247
92
 
248
93
 
249
- var $32ee419c7b9b7a83$exports = {};
250
- $32ee419c7b9b7a83$exports = {
251
- "close": `\u{417}\u{430}\u{43A}\u{440}\u{438}\u{442}\u{438}`,
252
- "notifications": `\u{421}\u{43F}\u{43E}\u{432}\u{456}\u{449}\u{435}\u{43D}\u{43D}\u{44F}`
253
- };
254
94
 
255
95
 
256
- var $122525af1cb737c7$exports = {};
257
- $122525af1cb737c7$exports = {
258
- "close": `\u{5173}\u{95ED}`,
259
- "notifications": `\u{901A}\u{77E5}`
260
- };
261
96
 
262
97
 
263
- var $52e8b1b00094e5a3$exports = {};
264
- $52e8b1b00094e5a3$exports = {
265
- "close": `\u{95DC}\u{9589}`,
266
- "notifications": `\u{901A}\u{77E5}`
267
- };
268
98
 
269
99
 
270
100
  $7853651519a70071$exports = {
@@ -345,7 +175,7 @@ function $d6542812f0669241$export$a407b657d3044108(props, state, ref) {
345
175
  ]);
346
176
  let titleId = (0, $5bA4N$useId)();
347
177
  let descriptionId = (0, $5bA4N$useSlotId)();
348
- let stringFormatter = (0, $5bA4N$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($7853651519a70071$exports))));
178
+ let stringFormatter = (0, $5bA4N$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($7853651519a70071$exports))), "@react-aria/toast");
349
179
  return {
350
180
  toastProps: {
351
181
  role: "alert",
@@ -377,7 +207,7 @@ function $d6542812f0669241$export$a407b657d3044108(props, state, ref) {
377
207
 
378
208
 
379
209
  function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
380
- let stringFormatter = (0, $5bA4N$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($7853651519a70071$exports))));
210
+ let stringFormatter = (0, $5bA4N$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($7853651519a70071$exports))), "@react-aria/toast");
381
211
  let { landmarkProps: landmarkProps } = (0, $5bA4N$useLandmark)({
382
212
  role: "region",
383
213
  "aria-label": props["aria-label"] || stringFormatter.format("notifications")