@react-spectrum/inlinealert 3.2.22 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/dist/import.mjs +2 -2
  2. package/dist/main.js +2 -2
  3. package/dist/main.js.map +1 -1
  4. package/dist/module.js +2 -2
  5. package/dist/module.js.map +1 -1
  6. package/dist/types/src/index.d.ts +2 -0
  7. package/package.json +12 -31
  8. package/src/index.ts +3 -2
  9. package/dist/InlineAlert.main.js +0 -101
  10. package/dist/InlineAlert.main.js.map +0 -1
  11. package/dist/InlineAlert.mjs +0 -96
  12. package/dist/InlineAlert.module.js +0 -96
  13. package/dist/InlineAlert.module.js.map +0 -1
  14. package/dist/ar-AE.main.js +0 -9
  15. package/dist/ar-AE.main.js.map +0 -1
  16. package/dist/ar-AE.mjs +0 -11
  17. package/dist/ar-AE.module.js +0 -11
  18. package/dist/ar-AE.module.js.map +0 -1
  19. package/dist/bg-BG.main.js +0 -9
  20. package/dist/bg-BG.main.js.map +0 -1
  21. package/dist/bg-BG.mjs +0 -11
  22. package/dist/bg-BG.module.js +0 -11
  23. package/dist/bg-BG.module.js.map +0 -1
  24. package/dist/cs-CZ.main.js +0 -9
  25. package/dist/cs-CZ.main.js.map +0 -1
  26. package/dist/cs-CZ.mjs +0 -11
  27. package/dist/cs-CZ.module.js +0 -11
  28. package/dist/cs-CZ.module.js.map +0 -1
  29. package/dist/da-DK.main.js +0 -9
  30. package/dist/da-DK.main.js.map +0 -1
  31. package/dist/da-DK.mjs +0 -11
  32. package/dist/da-DK.module.js +0 -11
  33. package/dist/da-DK.module.js.map +0 -1
  34. package/dist/de-DE.main.js +0 -9
  35. package/dist/de-DE.main.js.map +0 -1
  36. package/dist/de-DE.mjs +0 -11
  37. package/dist/de-DE.module.js +0 -11
  38. package/dist/de-DE.module.js.map +0 -1
  39. package/dist/el-GR.main.js +0 -9
  40. package/dist/el-GR.main.js.map +0 -1
  41. package/dist/el-GR.mjs +0 -11
  42. package/dist/el-GR.module.js +0 -11
  43. package/dist/el-GR.module.js.map +0 -1
  44. package/dist/en-US.main.js +0 -9
  45. package/dist/en-US.main.js.map +0 -1
  46. package/dist/en-US.mjs +0 -11
  47. package/dist/en-US.module.js +0 -11
  48. package/dist/en-US.module.js.map +0 -1
  49. package/dist/es-ES.main.js +0 -9
  50. package/dist/es-ES.main.js.map +0 -1
  51. package/dist/es-ES.mjs +0 -11
  52. package/dist/es-ES.module.js +0 -11
  53. package/dist/es-ES.module.js.map +0 -1
  54. package/dist/et-EE.main.js +0 -9
  55. package/dist/et-EE.main.js.map +0 -1
  56. package/dist/et-EE.mjs +0 -11
  57. package/dist/et-EE.module.js +0 -11
  58. package/dist/et-EE.module.js.map +0 -1
  59. package/dist/fi-FI.main.js +0 -9
  60. package/dist/fi-FI.main.js.map +0 -1
  61. package/dist/fi-FI.mjs +0 -11
  62. package/dist/fi-FI.module.js +0 -11
  63. package/dist/fi-FI.module.js.map +0 -1
  64. package/dist/fr-FR.main.js +0 -9
  65. package/dist/fr-FR.main.js.map +0 -1
  66. package/dist/fr-FR.mjs +0 -11
  67. package/dist/fr-FR.module.js +0 -11
  68. package/dist/fr-FR.module.js.map +0 -1
  69. package/dist/he-IL.main.js +0 -9
  70. package/dist/he-IL.main.js.map +0 -1
  71. package/dist/he-IL.mjs +0 -11
  72. package/dist/he-IL.module.js +0 -11
  73. package/dist/he-IL.module.js.map +0 -1
  74. package/dist/hr-HR.main.js +0 -9
  75. package/dist/hr-HR.main.js.map +0 -1
  76. package/dist/hr-HR.mjs +0 -11
  77. package/dist/hr-HR.module.js +0 -11
  78. package/dist/hr-HR.module.js.map +0 -1
  79. package/dist/hu-HU.main.js +0 -9
  80. package/dist/hu-HU.main.js.map +0 -1
  81. package/dist/hu-HU.mjs +0 -11
  82. package/dist/hu-HU.module.js +0 -11
  83. package/dist/hu-HU.module.js.map +0 -1
  84. package/dist/inlinealert.644ca5fc.css +0 -199
  85. package/dist/inlinealert.644ca5fc.css.map +0 -1
  86. package/dist/inlinealert_vars_css.main.js +0 -62
  87. package/dist/inlinealert_vars_css.main.js.map +0 -1
  88. package/dist/inlinealert_vars_css.mjs +0 -64
  89. package/dist/inlinealert_vars_css.module.js +0 -64
  90. package/dist/inlinealert_vars_css.module.js.map +0 -1
  91. package/dist/intlStrings.main.js +0 -108
  92. package/dist/intlStrings.main.js.map +0 -1
  93. package/dist/intlStrings.mjs +0 -110
  94. package/dist/intlStrings.module.js +0 -110
  95. package/dist/intlStrings.module.js.map +0 -1
  96. package/dist/it-IT.main.js +0 -9
  97. package/dist/it-IT.main.js.map +0 -1
  98. package/dist/it-IT.mjs +0 -11
  99. package/dist/it-IT.module.js +0 -11
  100. package/dist/it-IT.module.js.map +0 -1
  101. package/dist/ja-JP.main.js +0 -9
  102. package/dist/ja-JP.main.js.map +0 -1
  103. package/dist/ja-JP.mjs +0 -11
  104. package/dist/ja-JP.module.js +0 -11
  105. package/dist/ja-JP.module.js.map +0 -1
  106. package/dist/ko-KR.main.js +0 -9
  107. package/dist/ko-KR.main.js.map +0 -1
  108. package/dist/ko-KR.mjs +0 -11
  109. package/dist/ko-KR.module.js +0 -11
  110. package/dist/ko-KR.module.js.map +0 -1
  111. package/dist/lt-LT.main.js +0 -9
  112. package/dist/lt-LT.main.js.map +0 -1
  113. package/dist/lt-LT.mjs +0 -11
  114. package/dist/lt-LT.module.js +0 -11
  115. package/dist/lt-LT.module.js.map +0 -1
  116. package/dist/lv-LV.main.js +0 -9
  117. package/dist/lv-LV.main.js.map +0 -1
  118. package/dist/lv-LV.mjs +0 -11
  119. package/dist/lv-LV.module.js +0 -11
  120. package/dist/lv-LV.module.js.map +0 -1
  121. package/dist/nb-NO.main.js +0 -9
  122. package/dist/nb-NO.main.js.map +0 -1
  123. package/dist/nb-NO.mjs +0 -11
  124. package/dist/nb-NO.module.js +0 -11
  125. package/dist/nb-NO.module.js.map +0 -1
  126. package/dist/nl-NL.main.js +0 -9
  127. package/dist/nl-NL.main.js.map +0 -1
  128. package/dist/nl-NL.mjs +0 -11
  129. package/dist/nl-NL.module.js +0 -11
  130. package/dist/nl-NL.module.js.map +0 -1
  131. package/dist/pl-PL.main.js +0 -9
  132. package/dist/pl-PL.main.js.map +0 -1
  133. package/dist/pl-PL.mjs +0 -11
  134. package/dist/pl-PL.module.js +0 -11
  135. package/dist/pl-PL.module.js.map +0 -1
  136. package/dist/pt-BR.main.js +0 -9
  137. package/dist/pt-BR.main.js.map +0 -1
  138. package/dist/pt-BR.mjs +0 -11
  139. package/dist/pt-BR.module.js +0 -11
  140. package/dist/pt-BR.module.js.map +0 -1
  141. package/dist/pt-PT.main.js +0 -9
  142. package/dist/pt-PT.main.js.map +0 -1
  143. package/dist/pt-PT.mjs +0 -11
  144. package/dist/pt-PT.module.js +0 -11
  145. package/dist/pt-PT.module.js.map +0 -1
  146. package/dist/ro-RO.main.js +0 -9
  147. package/dist/ro-RO.main.js.map +0 -1
  148. package/dist/ro-RO.mjs +0 -11
  149. package/dist/ro-RO.module.js +0 -11
  150. package/dist/ro-RO.module.js.map +0 -1
  151. package/dist/ru-RU.main.js +0 -9
  152. package/dist/ru-RU.main.js.map +0 -1
  153. package/dist/ru-RU.mjs +0 -11
  154. package/dist/ru-RU.module.js +0 -11
  155. package/dist/ru-RU.module.js.map +0 -1
  156. package/dist/sk-SK.main.js +0 -9
  157. package/dist/sk-SK.main.js.map +0 -1
  158. package/dist/sk-SK.mjs +0 -11
  159. package/dist/sk-SK.module.js +0 -11
  160. package/dist/sk-SK.module.js.map +0 -1
  161. package/dist/sl-SI.main.js +0 -9
  162. package/dist/sl-SI.main.js.map +0 -1
  163. package/dist/sl-SI.mjs +0 -11
  164. package/dist/sl-SI.module.js +0 -11
  165. package/dist/sl-SI.module.js.map +0 -1
  166. package/dist/sr-SP.main.js +0 -9
  167. package/dist/sr-SP.main.js.map +0 -1
  168. package/dist/sr-SP.mjs +0 -11
  169. package/dist/sr-SP.module.js +0 -11
  170. package/dist/sr-SP.module.js.map +0 -1
  171. package/dist/sv-SE.main.js +0 -9
  172. package/dist/sv-SE.main.js.map +0 -1
  173. package/dist/sv-SE.mjs +0 -11
  174. package/dist/sv-SE.module.js +0 -11
  175. package/dist/sv-SE.module.js.map +0 -1
  176. package/dist/tr-TR.main.js +0 -9
  177. package/dist/tr-TR.main.js.map +0 -1
  178. package/dist/tr-TR.mjs +0 -11
  179. package/dist/tr-TR.module.js +0 -11
  180. package/dist/tr-TR.module.js.map +0 -1
  181. package/dist/types.d.ts +0 -24
  182. package/dist/types.d.ts.map +0 -1
  183. package/dist/uk-UA.main.js +0 -9
  184. package/dist/uk-UA.main.js.map +0 -1
  185. package/dist/uk-UA.mjs +0 -11
  186. package/dist/uk-UA.module.js +0 -11
  187. package/dist/uk-UA.module.js.map +0 -1
  188. package/dist/zh-CN.main.js +0 -9
  189. package/dist/zh-CN.main.js.map +0 -1
  190. package/dist/zh-CN.mjs +0 -11
  191. package/dist/zh-CN.module.js +0 -11
  192. package/dist/zh-CN.module.js.map +0 -1
  193. package/dist/zh-TW.main.js +0 -9
  194. package/dist/zh-TW.main.js.map +0 -1
  195. package/dist/zh-TW.mjs +0 -11
  196. package/dist/zh-TW.module.js +0 -11
  197. package/dist/zh-TW.module.js.map +0 -1
  198. package/src/InlineAlert.tsx +0 -112
package/dist/ru-RU.mjs DELETED
@@ -1,11 +0,0 @@
1
- var $96d433eefb3f8906$exports = {};
2
- $96d433eefb3f8906$exports = {
3
- "info": `\u{418}\u{43D}\u{444}\u{43E}\u{440}\u{43C}\u{430}\u{446}\u{438}\u{44F}`,
4
- "negative": `\u{41E}\u{448}\u{438}\u{431}\u{43A}\u{430}`,
5
- "notice": `\u{41F}\u{440}\u{435}\u{434}\u{443}\u{43F}\u{440}\u{435}\u{436}\u{434}\u{435}\u{43D}\u{438}\u{435}`,
6
- "positive": `\u{423}\u{441}\u{43F}\u{435}\u{448}\u{43D}\u{43E}`
7
- };
8
-
9
-
10
- export {$96d433eefb3f8906$exports as default};
11
- //# sourceMappingURL=ru-RU.module.js.map
@@ -1,11 +0,0 @@
1
- var $96d433eefb3f8906$exports = {};
2
- $96d433eefb3f8906$exports = {
3
- "info": `\u{418}\u{43D}\u{444}\u{43E}\u{440}\u{43C}\u{430}\u{446}\u{438}\u{44F}`,
4
- "negative": `\u{41E}\u{448}\u{438}\u{431}\u{43A}\u{430}`,
5
- "notice": `\u{41F}\u{440}\u{435}\u{434}\u{443}\u{43F}\u{440}\u{435}\u{436}\u{434}\u{435}\u{43D}\u{438}\u{435}`,
6
- "positive": `\u{423}\u{441}\u{43F}\u{435}\u{448}\u{43D}\u{43E}`
7
- };
8
-
9
-
10
- export {$96d433eefb3f8906$exports as default};
11
- //# sourceMappingURL=ru-RU.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,QAAQ,CAAC,sEAAU,CAAC;IACtC,YAAY,CAAC,0CAAM,CAAC;IACpB,UAAU,CAAC,kGAAc,CAAC;IAC1B,YAAY,CAAC,iDAAO,CAAC;AACvB","sources":["packages/@react-spectrum/inlinealert/intl/ru-RU.json"],"sourcesContent":["{\n \"info\": \"Информация\",\n \"negative\": \"Ошибка\",\n \"notice\": \"Предупреждение\",\n \"positive\": \"Успешно\"\n}\n"],"names":[],"version":3,"file":"ru-RU.module.js.map"}
@@ -1,9 +0,0 @@
1
- module.exports = {
2
- "info": `Inform\xe1cie`,
3
- "negative": `Chyba`,
4
- "notice": `Upozornenie`,
5
- "positive": `\xdaspech`
6
- };
7
-
8
-
9
- //# sourceMappingURL=sk-SK.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,QAAQ,CAAC,aAAU,CAAC;IACtC,YAAY,CAAC,KAAK,CAAC;IACnB,UAAU,CAAC,WAAW,CAAC;IACvB,YAAY,CAAC,SAAM,CAAC;AACtB","sources":["packages/@react-spectrum/inlinealert/intl/sk-SK.json"],"sourcesContent":["{\n \"info\": \"Informácie\",\n \"negative\": \"Chyba\",\n \"notice\": \"Upozornenie\",\n \"positive\": \"Úspech\"\n}\n"],"names":[],"version":3,"file":"sk-SK.main.js.map"}
package/dist/sk-SK.mjs DELETED
@@ -1,11 +0,0 @@
1
- var $0893538688618f33$exports = {};
2
- $0893538688618f33$exports = {
3
- "info": `Inform\xe1cie`,
4
- "negative": `Chyba`,
5
- "notice": `Upozornenie`,
6
- "positive": `\xdaspech`
7
- };
8
-
9
-
10
- export {$0893538688618f33$exports as default};
11
- //# sourceMappingURL=sk-SK.module.js.map
@@ -1,11 +0,0 @@
1
- var $0893538688618f33$exports = {};
2
- $0893538688618f33$exports = {
3
- "info": `Inform\xe1cie`,
4
- "negative": `Chyba`,
5
- "notice": `Upozornenie`,
6
- "positive": `\xdaspech`
7
- };
8
-
9
-
10
- export {$0893538688618f33$exports as default};
11
- //# sourceMappingURL=sk-SK.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,QAAQ,CAAC,aAAU,CAAC;IACtC,YAAY,CAAC,KAAK,CAAC;IACnB,UAAU,CAAC,WAAW,CAAC;IACvB,YAAY,CAAC,SAAM,CAAC;AACtB","sources":["packages/@react-spectrum/inlinealert/intl/sk-SK.json"],"sourcesContent":["{\n \"info\": \"Informácie\",\n \"negative\": \"Chyba\",\n \"notice\": \"Upozornenie\",\n \"positive\": \"Úspech\"\n}\n"],"names":[],"version":3,"file":"sk-SK.module.js.map"}
@@ -1,9 +0,0 @@
1
- module.exports = {
2
- "info": `Informacije`,
3
- "negative": `Napaka`,
4
- "notice": `Opozorilo`,
5
- "positive": `Uspe\u{161}no`
6
- };
7
-
8
-
9
- //# sourceMappingURL=sl-SI.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,QAAQ,CAAC,WAAW,CAAC;IACvC,YAAY,CAAC,MAAM,CAAC;IACpB,UAAU,CAAC,SAAS,CAAC;IACrB,YAAY,CAAC,aAAO,CAAC;AACvB","sources":["packages/@react-spectrum/inlinealert/intl/sl-SI.json"],"sourcesContent":["{\n \"info\": \"Informacije\",\n \"negative\": \"Napaka\",\n \"notice\": \"Opozorilo\",\n \"positive\": \"Uspešno\"\n}\n"],"names":[],"version":3,"file":"sl-SI.main.js.map"}
package/dist/sl-SI.mjs DELETED
@@ -1,11 +0,0 @@
1
- var $254b6c961e4f0e80$exports = {};
2
- $254b6c961e4f0e80$exports = {
3
- "info": `Informacije`,
4
- "negative": `Napaka`,
5
- "notice": `Opozorilo`,
6
- "positive": `Uspe\u{161}no`
7
- };
8
-
9
-
10
- export {$254b6c961e4f0e80$exports as default};
11
- //# sourceMappingURL=sl-SI.module.js.map
@@ -1,11 +0,0 @@
1
- var $254b6c961e4f0e80$exports = {};
2
- $254b6c961e4f0e80$exports = {
3
- "info": `Informacije`,
4
- "negative": `Napaka`,
5
- "notice": `Opozorilo`,
6
- "positive": `Uspe\u{161}no`
7
- };
8
-
9
-
10
- export {$254b6c961e4f0e80$exports as default};
11
- //# sourceMappingURL=sl-SI.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,QAAQ,CAAC,WAAW,CAAC;IACvC,YAAY,CAAC,MAAM,CAAC;IACpB,UAAU,CAAC,SAAS,CAAC;IACrB,YAAY,CAAC,aAAO,CAAC;AACvB","sources":["packages/@react-spectrum/inlinealert/intl/sl-SI.json"],"sourcesContent":["{\n \"info\": \"Informacije\",\n \"negative\": \"Napaka\",\n \"notice\": \"Opozorilo\",\n \"positive\": \"Uspešno\"\n}\n"],"names":[],"version":3,"file":"sl-SI.module.js.map"}
@@ -1,9 +0,0 @@
1
- module.exports = {
2
- "info": `Informacije`,
3
- "negative": `Gre\u{161}ka`,
4
- "notice": `Upozorenje`,
5
- "positive": `Uspe\u{161}no`
6
- };
7
-
8
-
9
- //# sourceMappingURL=sr-SP.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,QAAQ,CAAC,WAAW,CAAC;IACvC,YAAY,CAAC,YAAM,CAAC;IACpB,UAAU,CAAC,UAAU,CAAC;IACtB,YAAY,CAAC,aAAO,CAAC;AACvB","sources":["packages/@react-spectrum/inlinealert/intl/sr-SP.json"],"sourcesContent":["{\n \"info\": \"Informacije\",\n \"negative\": \"Greška\",\n \"notice\": \"Upozorenje\",\n \"positive\": \"Uspešno\"\n}\n"],"names":[],"version":3,"file":"sr-SP.main.js.map"}
package/dist/sr-SP.mjs DELETED
@@ -1,11 +0,0 @@
1
- var $680d309814a11fc5$exports = {};
2
- $680d309814a11fc5$exports = {
3
- "info": `Informacije`,
4
- "negative": `Gre\u{161}ka`,
5
- "notice": `Upozorenje`,
6
- "positive": `Uspe\u{161}no`
7
- };
8
-
9
-
10
- export {$680d309814a11fc5$exports as default};
11
- //# sourceMappingURL=sr-SP.module.js.map
@@ -1,11 +0,0 @@
1
- var $680d309814a11fc5$exports = {};
2
- $680d309814a11fc5$exports = {
3
- "info": `Informacije`,
4
- "negative": `Gre\u{161}ka`,
5
- "notice": `Upozorenje`,
6
- "positive": `Uspe\u{161}no`
7
- };
8
-
9
-
10
- export {$680d309814a11fc5$exports as default};
11
- //# sourceMappingURL=sr-SP.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,QAAQ,CAAC,WAAW,CAAC;IACvC,YAAY,CAAC,YAAM,CAAC;IACpB,UAAU,CAAC,UAAU,CAAC;IACtB,YAAY,CAAC,aAAO,CAAC;AACvB","sources":["packages/@react-spectrum/inlinealert/intl/sr-SP.json"],"sourcesContent":["{\n \"info\": \"Informacije\",\n \"negative\": \"Greška\",\n \"notice\": \"Upozorenje\",\n \"positive\": \"Uspešno\"\n}\n"],"names":[],"version":3,"file":"sr-SP.module.js.map"}
@@ -1,9 +0,0 @@
1
- module.exports = {
2
- "info": `Information`,
3
- "negative": `Fel`,
4
- "notice": `Varning`,
5
- "positive": `Lyckades`
6
- };
7
-
8
-
9
- //# sourceMappingURL=sv-SE.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,QAAQ,CAAC,WAAW,CAAC;IACvC,YAAY,CAAC,GAAG,CAAC;IACjB,UAAU,CAAC,OAAO,CAAC;IACnB,YAAY,CAAC,QAAQ,CAAC;AACxB","sources":["packages/@react-spectrum/inlinealert/intl/sv-SE.json"],"sourcesContent":["{\n \"info\": \"Information\",\n \"negative\": \"Fel\",\n \"notice\": \"Varning\",\n \"positive\": \"Lyckades\"\n}\n"],"names":[],"version":3,"file":"sv-SE.main.js.map"}
package/dist/sv-SE.mjs DELETED
@@ -1,11 +0,0 @@
1
- var $f9418595c1e772cf$exports = {};
2
- $f9418595c1e772cf$exports = {
3
- "info": `Information`,
4
- "negative": `Fel`,
5
- "notice": `Varning`,
6
- "positive": `Lyckades`
7
- };
8
-
9
-
10
- export {$f9418595c1e772cf$exports as default};
11
- //# sourceMappingURL=sv-SE.module.js.map
@@ -1,11 +0,0 @@
1
- var $f9418595c1e772cf$exports = {};
2
- $f9418595c1e772cf$exports = {
3
- "info": `Information`,
4
- "negative": `Fel`,
5
- "notice": `Varning`,
6
- "positive": `Lyckades`
7
- };
8
-
9
-
10
- export {$f9418595c1e772cf$exports as default};
11
- //# sourceMappingURL=sv-SE.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,QAAQ,CAAC,WAAW,CAAC;IACvC,YAAY,CAAC,GAAG,CAAC;IACjB,UAAU,CAAC,OAAO,CAAC;IACnB,YAAY,CAAC,QAAQ,CAAC;AACxB","sources":["packages/@react-spectrum/inlinealert/intl/sv-SE.json"],"sourcesContent":["{\n \"info\": \"Information\",\n \"negative\": \"Fel\",\n \"notice\": \"Varning\",\n \"positive\": \"Lyckades\"\n}\n"],"names":[],"version":3,"file":"sv-SE.module.js.map"}
@@ -1,9 +0,0 @@
1
- module.exports = {
2
- "info": `Bilgiler`,
3
- "negative": `Hata`,
4
- "notice": `Uyar\u{131}`,
5
- "positive": `Ba\u{15F}ar\u{131}l\u{131}`
6
- };
7
-
8
-
9
- //# sourceMappingURL=tr-TR.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,QAAQ,CAAC,QAAQ,CAAC;IACpC,YAAY,CAAC,IAAI,CAAC;IAClB,UAAU,CAAC,WAAK,CAAC;IACjB,YAAY,CAAC,0BAAQ,CAAC;AACxB","sources":["packages/@react-spectrum/inlinealert/intl/tr-TR.json"],"sourcesContent":["{\n \"info\": \"Bilgiler\",\n \"negative\": \"Hata\",\n \"notice\": \"Uyarı\",\n \"positive\": \"Başarılı\"\n}\n"],"names":[],"version":3,"file":"tr-TR.main.js.map"}
package/dist/tr-TR.mjs DELETED
@@ -1,11 +0,0 @@
1
- var $f7b3644c5b6100d7$exports = {};
2
- $f7b3644c5b6100d7$exports = {
3
- "info": `Bilgiler`,
4
- "negative": `Hata`,
5
- "notice": `Uyar\u{131}`,
6
- "positive": `Ba\u{15F}ar\u{131}l\u{131}`
7
- };
8
-
9
-
10
- export {$f7b3644c5b6100d7$exports as default};
11
- //# sourceMappingURL=tr-TR.module.js.map
@@ -1,11 +0,0 @@
1
- var $f7b3644c5b6100d7$exports = {};
2
- $f7b3644c5b6100d7$exports = {
3
- "info": `Bilgiler`,
4
- "negative": `Hata`,
5
- "notice": `Uyar\u{131}`,
6
- "positive": `Ba\u{15F}ar\u{131}l\u{131}`
7
- };
8
-
9
-
10
- export {$f7b3644c5b6100d7$exports as default};
11
- //# sourceMappingURL=tr-TR.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,QAAQ,CAAC,QAAQ,CAAC;IACpC,YAAY,CAAC,IAAI,CAAC;IAClB,UAAU,CAAC,WAAK,CAAC;IACjB,YAAY,CAAC,0BAAQ,CAAC;AACxB","sources":["packages/@react-spectrum/inlinealert/intl/tr-TR.json"],"sourcesContent":["{\n \"info\": \"Bilgiler\",\n \"negative\": \"Hata\",\n \"notice\": \"Uyarı\",\n \"positive\": \"Başarılı\"\n}\n"],"names":[],"version":3,"file":"tr-TR.module.js.map"}
package/dist/types.d.ts DELETED
@@ -1,24 +0,0 @@
1
- import { DOMProps, StyleProps, DOMRefValue } from "@react-types/shared";
2
- import React, { ReactNode } from "react";
3
- export interface SpectrumInlineAlertProps extends DOMProps, StyleProps {
4
- /**
5
- * The [visual style](https://spectrum.adobe.com/page/in-line-alert/#Options) of the Inline Alert.
6
- * @default 'neutral'
7
- */
8
- variant?: 'neutral' | 'info' | 'positive' | 'notice' | 'negative';
9
- /**
10
- * The contents of the Inline Alert.
11
- */
12
- children: ReactNode;
13
- /**
14
- * Whether to automatically focus the Inline Alert when it first renders.
15
- */
16
- autoFocus?: boolean;
17
- }
18
- /**
19
- * Inline alerts display a non-modal message associated with objects in a view.
20
- * These are often used in form validation, providing a place to aggregate feedback related to multiple fields.
21
- */
22
- export const InlineAlert: React.ForwardRefExoticComponent<SpectrumInlineAlertProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
23
-
24
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"mappings":";;AA2BA,yCAA0C,SAAQ,QAAQ,EAAE,UAAU;IACpE;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,UAAU,CAAC;IAClE;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AASD;;;GAGG;AACH,OAAO,MAAM,yHAyDX,CAAC","sources":["packages/@react-spectrum/inlinealert/src/packages/@react-spectrum/inlinealert/src/InlineAlert.tsx","packages/@react-spectrum/inlinealert/src/packages/@react-spectrum/inlinealert/src/index.ts","packages/@react-spectrum/inlinealert/src/index.ts"],"sourcesContent":[null,null,"/*\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":"types.d.ts.map"}
@@ -1,9 +0,0 @@
1
- module.exports = {
2
- "info": `\u{406}\u{43D}\u{444}\u{43E}\u{440}\u{43C}\u{430}\u{446}\u{456}\u{44F}`,
3
- "negative": `\u{41F}\u{43E}\u{43C}\u{438}\u{43B}\u{43A}\u{430}`,
4
- "notice": `\u{41F}\u{43E}\u{43F}\u{435}\u{440}\u{435}\u{434}\u{436}\u{435}\u{43D}\u{43D}\u{44F}`,
5
- "positive": `\u{423}\u{441}\u{43F}\u{456}\u{448}\u{43D}\u{43E}`
6
- };
7
-
8
-
9
- //# sourceMappingURL=uk-UA.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,QAAQ,CAAC,sEAAU,CAAC;IACtC,YAAY,CAAC,iDAAO,CAAC;IACrB,UAAU,CAAC,oFAAY,CAAC;IACxB,YAAY,CAAC,iDAAO,CAAC;AACvB","sources":["packages/@react-spectrum/inlinealert/intl/uk-UA.json"],"sourcesContent":["{\n \"info\": \"Інформація\",\n \"negative\": \"Помилка\",\n \"notice\": \"Попередження\",\n \"positive\": \"Успішно\"\n}\n"],"names":[],"version":3,"file":"uk-UA.main.js.map"}
package/dist/uk-UA.mjs DELETED
@@ -1,11 +0,0 @@
1
- var $74a01294f8d465f8$exports = {};
2
- $74a01294f8d465f8$exports = {
3
- "info": `\u{406}\u{43D}\u{444}\u{43E}\u{440}\u{43C}\u{430}\u{446}\u{456}\u{44F}`,
4
- "negative": `\u{41F}\u{43E}\u{43C}\u{438}\u{43B}\u{43A}\u{430}`,
5
- "notice": `\u{41F}\u{43E}\u{43F}\u{435}\u{440}\u{435}\u{434}\u{436}\u{435}\u{43D}\u{43D}\u{44F}`,
6
- "positive": `\u{423}\u{441}\u{43F}\u{456}\u{448}\u{43D}\u{43E}`
7
- };
8
-
9
-
10
- export {$74a01294f8d465f8$exports as default};
11
- //# sourceMappingURL=uk-UA.module.js.map
@@ -1,11 +0,0 @@
1
- var $74a01294f8d465f8$exports = {};
2
- $74a01294f8d465f8$exports = {
3
- "info": `\u{406}\u{43D}\u{444}\u{43E}\u{440}\u{43C}\u{430}\u{446}\u{456}\u{44F}`,
4
- "negative": `\u{41F}\u{43E}\u{43C}\u{438}\u{43B}\u{43A}\u{430}`,
5
- "notice": `\u{41F}\u{43E}\u{43F}\u{435}\u{440}\u{435}\u{434}\u{436}\u{435}\u{43D}\u{43D}\u{44F}`,
6
- "positive": `\u{423}\u{441}\u{43F}\u{456}\u{448}\u{43D}\u{43E}`
7
- };
8
-
9
-
10
- export {$74a01294f8d465f8$exports as default};
11
- //# sourceMappingURL=uk-UA.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,QAAQ,CAAC,sEAAU,CAAC;IACtC,YAAY,CAAC,iDAAO,CAAC;IACrB,UAAU,CAAC,oFAAY,CAAC;IACxB,YAAY,CAAC,iDAAO,CAAC;AACvB","sources":["packages/@react-spectrum/inlinealert/intl/uk-UA.json"],"sourcesContent":["{\n \"info\": \"Інформація\",\n \"negative\": \"Помилка\",\n \"notice\": \"Попередження\",\n \"positive\": \"Успішно\"\n}\n"],"names":[],"version":3,"file":"uk-UA.module.js.map"}
@@ -1,9 +0,0 @@
1
- module.exports = {
2
- "info": `\u{4FE1}\u{606F}`,
3
- "negative": `\u{9519}\u{8BEF}`,
4
- "notice": `\u{8B66}\u{544A}`,
5
- "positive": `\u{6210}\u{529F}`
6
- };
7
-
8
-
9
- //# sourceMappingURL=zh-CN.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,QAAQ,CAAC,gBAAE,CAAC;IAC9B,YAAY,CAAC,gBAAE,CAAC;IAChB,UAAU,CAAC,gBAAE,CAAC;IACd,YAAY,CAAC,gBAAE,CAAC;AAClB","sources":["packages/@react-spectrum/inlinealert/intl/zh-CN.json"],"sourcesContent":["{\n \"info\": \"信息\",\n \"negative\": \"错误\",\n \"notice\": \"警告\",\n \"positive\": \"成功\"\n}\n"],"names":[],"version":3,"file":"zh-CN.main.js.map"}
package/dist/zh-CN.mjs DELETED
@@ -1,11 +0,0 @@
1
- var $a1438ca118687381$exports = {};
2
- $a1438ca118687381$exports = {
3
- "info": `\u{4FE1}\u{606F}`,
4
- "negative": `\u{9519}\u{8BEF}`,
5
- "notice": `\u{8B66}\u{544A}`,
6
- "positive": `\u{6210}\u{529F}`
7
- };
8
-
9
-
10
- export {$a1438ca118687381$exports as default};
11
- //# sourceMappingURL=zh-CN.module.js.map
@@ -1,11 +0,0 @@
1
- var $a1438ca118687381$exports = {};
2
- $a1438ca118687381$exports = {
3
- "info": `\u{4FE1}\u{606F}`,
4
- "negative": `\u{9519}\u{8BEF}`,
5
- "notice": `\u{8B66}\u{544A}`,
6
- "positive": `\u{6210}\u{529F}`
7
- };
8
-
9
-
10
- export {$a1438ca118687381$exports as default};
11
- //# sourceMappingURL=zh-CN.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,QAAQ,CAAC,gBAAE,CAAC;IAC9B,YAAY,CAAC,gBAAE,CAAC;IAChB,UAAU,CAAC,gBAAE,CAAC;IACd,YAAY,CAAC,gBAAE,CAAC;AAClB","sources":["packages/@react-spectrum/inlinealert/intl/zh-CN.json"],"sourcesContent":["{\n \"info\": \"信息\",\n \"negative\": \"错误\",\n \"notice\": \"警告\",\n \"positive\": \"成功\"\n}\n"],"names":[],"version":3,"file":"zh-CN.module.js.map"}
@@ -1,9 +0,0 @@
1
- module.exports = {
2
- "info": `\u{8CC7}\u{8A0A}`,
3
- "negative": `\u{932F}\u{8AA4}`,
4
- "notice": `\u{8B66}\u{544A}`,
5
- "positive": `\u{6210}\u{529F}`
6
- };
7
-
8
-
9
- //# sourceMappingURL=zh-TW.main.js.map
@@ -1 +0,0 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,QAAQ,CAAC,gBAAE,CAAC;IAC9B,YAAY,CAAC,gBAAE,CAAC;IAChB,UAAU,CAAC,gBAAE,CAAC;IACd,YAAY,CAAC,gBAAE,CAAC;AAClB","sources":["packages/@react-spectrum/inlinealert/intl/zh-TW.json"],"sourcesContent":["{\n \"info\": \"資訊\",\n \"negative\": \"錯誤\",\n \"notice\": \"警告\",\n \"positive\": \"成功\"\n}\n"],"names":[],"version":3,"file":"zh-TW.main.js.map"}
package/dist/zh-TW.mjs DELETED
@@ -1,11 +0,0 @@
1
- var $948f0650714aa894$exports = {};
2
- $948f0650714aa894$exports = {
3
- "info": `\u{8CC7}\u{8A0A}`,
4
- "negative": `\u{932F}\u{8AA4}`,
5
- "notice": `\u{8B66}\u{544A}`,
6
- "positive": `\u{6210}\u{529F}`
7
- };
8
-
9
-
10
- export {$948f0650714aa894$exports as default};
11
- //# sourceMappingURL=zh-TW.module.js.map
@@ -1,11 +0,0 @@
1
- var $948f0650714aa894$exports = {};
2
- $948f0650714aa894$exports = {
3
- "info": `\u{8CC7}\u{8A0A}`,
4
- "negative": `\u{932F}\u{8AA4}`,
5
- "notice": `\u{8B66}\u{544A}`,
6
- "positive": `\u{6210}\u{529F}`
7
- };
8
-
9
-
10
- export {$948f0650714aa894$exports as default};
11
- //# sourceMappingURL=zh-TW.module.js.map
@@ -1 +0,0 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,QAAQ,CAAC,gBAAE,CAAC;IAC9B,YAAY,CAAC,gBAAE,CAAC;IAChB,UAAU,CAAC,gBAAE,CAAC;IACd,YAAY,CAAC,gBAAE,CAAC;AAClB","sources":["packages/@react-spectrum/inlinealert/intl/zh-TW.json"],"sourcesContent":["{\n \"info\": \"資訊\",\n \"negative\": \"錯誤\",\n \"notice\": \"警告\",\n \"positive\": \"成功\"\n}\n"],"names":[],"version":3,"file":"zh-TW.module.js.map"}
@@ -1,112 +0,0 @@
1
- /*
2
- * Copyright 2023 Adobe. All rights reserved.
3
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- * you may not use this file except in compliance with the License. You may obtain a copy
5
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
6
- *
7
- * Unless required by applicable law or agreed to in writing, software distributed under
8
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
- * OF ANY KIND, either express or implied. See the License for the specific language
10
- * governing permissions and limitations under the License.
11
- */
12
-
13
- import AlertMedium from '@spectrum-icons/ui/AlertMedium';
14
- import {classNames, SlotProvider, useDOMRef, useStyleProps} from '@react-spectrum/utils';
15
- import {DOMProps, DOMRef, StyleProps} from '@react-types/shared';
16
- import {filterDOMProps} from '@react-aria/utils';
17
- import {FocusRing} from '@react-aria/focus';
18
- import {Grid} from '@react-spectrum/layout';
19
- import InfoMedium from '@spectrum-icons/ui/InfoMedium';
20
- // @ts-ignore
21
- import intlMessages from '../intl/*.json';
22
- import React, {ReactNode, useEffect, useRef} from 'react';
23
- import styles from '@adobe/spectrum-css-temp/components/inlinealert/vars.css';
24
- import SuccessMedium from '@spectrum-icons/ui/SuccessMedium';
25
- import {useLocalizedStringFormatter} from '@react-aria/i18n';
26
- import {useProviderProps} from '@react-spectrum/provider';
27
-
28
- export interface SpectrumInlineAlertProps extends DOMProps, StyleProps {
29
- /**
30
- * The [visual style](https://spectrum.adobe.com/page/in-line-alert/#Options) of the Inline Alert.
31
- * @default 'neutral'
32
- */
33
- variant?: 'neutral' | 'info' | 'positive' | 'notice' | 'negative',
34
- /**
35
- * The contents of the Inline Alert.
36
- */
37
- children: ReactNode,
38
- /**
39
- * Whether to automatically focus the Inline Alert when it first renders.
40
- */
41
- autoFocus?: boolean
42
- }
43
-
44
- let ICONS = {
45
- info: InfoMedium,
46
- positive: SuccessMedium,
47
- notice: AlertMedium,
48
- negative: AlertMedium
49
- };
50
-
51
- /**
52
- * Inline alerts display a non-modal message associated with objects in a view.
53
- * These are often used in form validation, providing a place to aggregate feedback related to multiple fields.
54
- */
55
- export const InlineAlert = React.forwardRef(function InlineAlert(props: SpectrumInlineAlertProps, ref: DOMRef<HTMLDivElement>) {
56
- props = useProviderProps(props);
57
- let {
58
- children,
59
- variant = 'neutral',
60
- autoFocus,
61
- ...otherProps
62
- } = props;
63
-
64
- let {styleProps} = useStyleProps(otherProps);
65
- let domRef = useDOMRef(ref);
66
-
67
- let slots = {
68
- heading: {UNSAFE_className: styles['spectrum-InLineAlert-heading']},
69
- content: {UNSAFE_className: styles['spectrum-InLineAlert-content']}
70
- };
71
-
72
- let stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-spectrum/inlinealert');
73
- let Icon: typeof React.Component | null = null;
74
- let iconAlt: string = '';
75
- if (variant in ICONS) {
76
- Icon = ICONS[variant];
77
- iconAlt = stringFormatter.format(variant);
78
- }
79
-
80
- let autoFocusRef = useRef(props.autoFocus);
81
- useEffect(() => {
82
- if (autoFocusRef.current && domRef.current) {
83
- domRef.current.focus();
84
- }
85
- autoFocusRef.current = false;
86
- }, [domRef]);
87
-
88
- return (
89
- <FocusRing focusRingClass={styles['focus-ring']}>
90
- <div
91
- {...filterDOMProps(props)}
92
- {...styleProps}
93
- ref={domRef}
94
- tabIndex={autoFocus ? -1 : undefined}
95
- autoFocus={autoFocus}
96
- className={classNames(
97
- styles,
98
- 'spectrum-InLineAlert',
99
- `spectrum-InLineAlert--${variant}`,
100
- styleProps.className
101
- )}
102
- role="alert">
103
- <Grid UNSAFE_className={styles['spectrum-InLineAlert-grid']}>
104
- <SlotProvider slots={slots}>
105
- {Icon && <Icon UNSAFE_className={styles['spectrum-InLineAlert-icon']} aria-label={iconAlt} />}
106
- {children}
107
- </SlotProvider>
108
- </Grid>
109
- </div>
110
- </FocusRing>
111
- );
112
- });