@react-aria/toast 3.0.0-beta.11 → 3.0.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ar-AE.mjs CHANGED
@@ -6,4 +6,4 @@ $ff9177efc58547ad$exports = {
6
6
 
7
7
 
8
8
  export {$ff9177efc58547ad$exports as default};
9
- //# sourceMappingURL=ar-AE.mjs.map
9
+ //# sourceMappingURL=ar-AE.module.js.map
package/dist/bg-BG.mjs CHANGED
@@ -6,4 +6,4 @@ $25eb7c0c0c45e544$exports = {
6
6
 
7
7
 
8
8
  export {$25eb7c0c0c45e544$exports as default};
9
- //# sourceMappingURL=bg-BG.mjs.map
9
+ //# sourceMappingURL=bg-BG.module.js.map
package/dist/cs-CZ.mjs CHANGED
@@ -6,4 +6,4 @@ $28feffc3d61a8691$exports = {
6
6
 
7
7
 
8
8
  export {$28feffc3d61a8691$exports as default};
9
- //# sourceMappingURL=cs-CZ.mjs.map
9
+ //# sourceMappingURL=cs-CZ.module.js.map
package/dist/da-DK.mjs CHANGED
@@ -6,4 +6,4 @@ $390d441203d25ff4$exports = {
6
6
 
7
7
 
8
8
  export {$390d441203d25ff4$exports as default};
9
- //# sourceMappingURL=da-DK.mjs.map
9
+ //# sourceMappingURL=da-DK.module.js.map
package/dist/de-DE.mjs CHANGED
@@ -6,4 +6,4 @@ $7063c2d0f14f979a$exports = {
6
6
 
7
7
 
8
8
  export {$7063c2d0f14f979a$exports as default};
9
- //# sourceMappingURL=de-DE.mjs.map
9
+ //# sourceMappingURL=de-DE.module.js.map
package/dist/el-GR.mjs CHANGED
@@ -6,4 +6,4 @@ $2dfc1dbb6590af88$exports = {
6
6
 
7
7
 
8
8
  export {$2dfc1dbb6590af88$exports as default};
9
- //# sourceMappingURL=el-GR.mjs.map
9
+ //# sourceMappingURL=el-GR.module.js.map
package/dist/en-US.mjs CHANGED
@@ -6,4 +6,4 @@ $9a12ff1caae5a7a5$exports = {
6
6
 
7
7
 
8
8
  export {$9a12ff1caae5a7a5$exports as default};
9
- //# sourceMappingURL=en-US.mjs.map
9
+ //# sourceMappingURL=en-US.module.js.map
package/dist/es-ES.mjs CHANGED
@@ -6,4 +6,4 @@ $f4095fb5a72adbe6$exports = {
6
6
 
7
7
 
8
8
  export {$f4095fb5a72adbe6$exports as default};
9
- //# sourceMappingURL=es-ES.mjs.map
9
+ //# sourceMappingURL=es-ES.module.js.map
package/dist/et-EE.mjs CHANGED
@@ -6,4 +6,4 @@ $75bc5191b9d7826a$exports = {
6
6
 
7
7
 
8
8
  export {$75bc5191b9d7826a$exports as default};
9
- //# sourceMappingURL=et-EE.mjs.map
9
+ //# sourceMappingURL=et-EE.module.js.map
package/dist/fi-FI.mjs CHANGED
@@ -6,4 +6,4 @@ $e4b9aef18b0db8dc$exports = {
6
6
 
7
7
 
8
8
  export {$e4b9aef18b0db8dc$exports as default};
9
- //# sourceMappingURL=fi-FI.mjs.map
9
+ //# sourceMappingURL=fi-FI.module.js.map
package/dist/fr-FR.mjs CHANGED
@@ -6,4 +6,4 @@ $888756784d832bd7$exports = {
6
6
 
7
7
 
8
8
  export {$888756784d832bd7$exports as default};
9
- //# sourceMappingURL=fr-FR.mjs.map
9
+ //# sourceMappingURL=fr-FR.module.js.map
package/dist/he-IL.mjs CHANGED
@@ -6,4 +6,4 @@ $6835949b68a1fabf$exports = {
6
6
 
7
7
 
8
8
  export {$6835949b68a1fabf$exports as default};
9
- //# sourceMappingURL=he-IL.mjs.map
9
+ //# sourceMappingURL=he-IL.module.js.map
package/dist/hr-HR.mjs CHANGED
@@ -6,4 +6,4 @@ $87ffcbc0b651e40b$exports = {
6
6
 
7
7
 
8
8
  export {$87ffcbc0b651e40b$exports as default};
9
- //# sourceMappingURL=hr-HR.mjs.map
9
+ //# sourceMappingURL=hr-HR.module.js.map
package/dist/hu-HU.mjs CHANGED
@@ -6,4 +6,4 @@ $dc6e3b2813600d69$exports = {
6
6
 
7
7
 
8
8
  export {$dc6e3b2813600d69$exports as default};
9
- //# sourceMappingURL=hu-HU.mjs.map
9
+ //# sourceMappingURL=hu-HU.module.js.map
@@ -107,4 +107,4 @@ $7853651519a70071$exports = {
107
107
 
108
108
 
109
109
  export {$7853651519a70071$exports as default};
110
- //# sourceMappingURL=intlStrings.mjs.map
110
+ //# sourceMappingURL=intlStrings.module.js.map
package/dist/it-IT.mjs CHANGED
@@ -6,4 +6,4 @@ $fe136bcbacfcfa14$exports = {
6
6
 
7
7
 
8
8
  export {$fe136bcbacfcfa14$exports as default};
9
- //# sourceMappingURL=it-IT.mjs.map
9
+ //# sourceMappingURL=it-IT.module.js.map
package/dist/ja-JP.mjs CHANGED
@@ -6,4 +6,4 @@ $8fb53a929b46df83$exports = {
6
6
 
7
7
 
8
8
  export {$8fb53a929b46df83$exports as default};
9
- //# sourceMappingURL=ja-JP.mjs.map
9
+ //# sourceMappingURL=ja-JP.module.js.map
package/dist/ko-KR.mjs CHANGED
@@ -6,4 +6,4 @@ $2c38dbfaf041a865$exports = {
6
6
 
7
7
 
8
8
  export {$2c38dbfaf041a865$exports as default};
9
- //# sourceMappingURL=ko-KR.mjs.map
9
+ //# sourceMappingURL=ko-KR.module.js.map
package/dist/lt-LT.mjs CHANGED
@@ -6,4 +6,4 @@ $48f3f33a29908d4c$exports = {
6
6
 
7
7
 
8
8
  export {$48f3f33a29908d4c$exports as default};
9
- //# sourceMappingURL=lt-LT.mjs.map
9
+ //# sourceMappingURL=lt-LT.module.js.map
package/dist/lv-LV.mjs CHANGED
@@ -6,4 +6,4 @@ $9867160d996455a0$exports = {
6
6
 
7
7
 
8
8
  export {$9867160d996455a0$exports as default};
9
- //# sourceMappingURL=lv-LV.mjs.map
9
+ //# sourceMappingURL=lv-LV.module.js.map
package/dist/nb-NO.mjs CHANGED
@@ -6,4 +6,4 @@ $196258ea25c96487$exports = {
6
6
 
7
7
 
8
8
  export {$196258ea25c96487$exports as default};
9
- //# sourceMappingURL=nb-NO.mjs.map
9
+ //# sourceMappingURL=nb-NO.module.js.map
package/dist/nl-NL.mjs CHANGED
@@ -6,4 +6,4 @@ $949061cb954e8000$exports = {
6
6
 
7
7
 
8
8
  export {$949061cb954e8000$exports as default};
9
- //# sourceMappingURL=nl-NL.mjs.map
9
+ //# sourceMappingURL=nl-NL.module.js.map
package/dist/pl-PL.mjs CHANGED
@@ -6,4 +6,4 @@ $8189bed27add1ad3$exports = {
6
6
 
7
7
 
8
8
  export {$8189bed27add1ad3$exports as default};
9
- //# sourceMappingURL=pl-PL.mjs.map
9
+ //# sourceMappingURL=pl-PL.module.js.map
package/dist/pt-BR.mjs CHANGED
@@ -6,4 +6,4 @@ $a361756a93b6e28c$exports = {
6
6
 
7
7
 
8
8
  export {$a361756a93b6e28c$exports as default};
9
- //# sourceMappingURL=pt-BR.mjs.map
9
+ //# sourceMappingURL=pt-BR.module.js.map
package/dist/pt-PT.mjs CHANGED
@@ -6,4 +6,4 @@ $034c7393857c8db0$exports = {
6
6
 
7
7
 
8
8
  export {$034c7393857c8db0$exports as default};
9
- //# sourceMappingURL=pt-PT.mjs.map
9
+ //# sourceMappingURL=pt-PT.module.js.map
package/dist/ro-RO.mjs CHANGED
@@ -6,4 +6,4 @@ $e33d3b3868478b04$exports = {
6
6
 
7
7
 
8
8
  export {$e33d3b3868478b04$exports as default};
9
- //# sourceMappingURL=ro-RO.mjs.map
9
+ //# sourceMappingURL=ro-RO.module.js.map
package/dist/ru-RU.mjs CHANGED
@@ -6,4 +6,4 @@ $9a7dcb914b29cd9f$exports = {
6
6
 
7
7
 
8
8
  export {$9a7dcb914b29cd9f$exports as default};
9
- //# sourceMappingURL=ru-RU.mjs.map
9
+ //# sourceMappingURL=ru-RU.module.js.map
package/dist/sk-SK.mjs CHANGED
@@ -6,4 +6,4 @@ $e43d964a0c7f1266$exports = {
6
6
 
7
7
 
8
8
  export {$e43d964a0c7f1266$exports as default};
9
- //# sourceMappingURL=sk-SK.mjs.map
9
+ //# sourceMappingURL=sk-SK.module.js.map
package/dist/sl-SI.mjs CHANGED
@@ -6,4 +6,4 @@ $0bc56cee3275bcaa$exports = {
6
6
 
7
7
 
8
8
  export {$0bc56cee3275bcaa$exports as default};
9
- //# sourceMappingURL=sl-SI.mjs.map
9
+ //# sourceMappingURL=sl-SI.module.js.map
package/dist/sr-SP.mjs CHANGED
@@ -6,4 +6,4 @@ $7dbdd7289c10d2ba$exports = {
6
6
 
7
7
 
8
8
  export {$7dbdd7289c10d2ba$exports as default};
9
- //# sourceMappingURL=sr-SP.mjs.map
9
+ //# sourceMappingURL=sr-SP.module.js.map
package/dist/sv-SE.mjs CHANGED
@@ -6,4 +6,4 @@ $ccbe6066c10b1e53$exports = {
6
6
 
7
7
 
8
8
  export {$ccbe6066c10b1e53$exports as default};
9
- //# sourceMappingURL=sv-SE.mjs.map
9
+ //# sourceMappingURL=sv-SE.module.js.map
package/dist/tr-TR.mjs CHANGED
@@ -6,4 +6,4 @@ $9d503476b9d858b7$exports = {
6
6
 
7
7
 
8
8
  export {$9d503476b9d858b7$exports as default};
9
- //# sourceMappingURL=tr-TR.mjs.map
9
+ //# sourceMappingURL=tr-TR.module.js.map
package/dist/uk-UA.mjs CHANGED
@@ -6,4 +6,4 @@ $32ee419c7b9b7a83$exports = {
6
6
 
7
7
 
8
8
  export {$32ee419c7b9b7a83$exports as default};
9
- //# sourceMappingURL=uk-UA.mjs.map
9
+ //# sourceMappingURL=uk-UA.module.js.map
@@ -45,7 +45,7 @@ function $ec537504faac71d2$export$a407b657d3044108(props, state, ref) {
45
45
  // focused the toast region.
46
46
  let focusOnUnmount = (0, $ijFUR$react.useRef)(null);
47
47
  (0, $ijFUR$reactariautils.useLayoutEffect)(()=>{
48
- let container = ref.current.closest("[role=region]");
48
+ let container = ref.current.closest('[role=region]');
49
49
  return ()=>{
50
50
  if (container && container.contains(document.activeElement)) // Focus must be delayed for focus ring to appear, but we can't wait
51
51
  // until useEffect cleanup to check if focus was inside the container.
@@ -64,16 +64,16 @@ function $ec537504faac71d2$export$a407b657d3044108(props, state, ref) {
64
64
  ]);
65
65
  let titleId = (0, $ijFUR$reactariautils.useId)();
66
66
  let descriptionId = (0, $ijFUR$reactariautils.useSlotId)();
67
- let stringFormatter = (0, $ijFUR$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($f49b2d6c91681304$exports))), "@react-aria/toast");
67
+ let stringFormatter = (0, $ijFUR$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($f49b2d6c91681304$exports))), '@react-aria/toast');
68
68
  return {
69
69
  toastProps: {
70
- role: "alert",
71
- "aria-label": props["aria-label"],
72
- "aria-labelledby": props["aria-labelledby"] || titleId,
73
- "aria-describedby": props["aria-describedby"] || descriptionId,
74
- "aria-details": props["aria-details"],
70
+ role: 'alert',
71
+ 'aria-label': props['aria-label'],
72
+ 'aria-labelledby': props['aria-labelledby'] || titleId,
73
+ 'aria-describedby': props['aria-describedby'] || descriptionId,
74
+ 'aria-details': props['aria-details'],
75
75
  // Hide toasts that are animating out so VoiceOver doesn't announce them.
76
- "aria-hidden": animation === "exiting" ? "true" : undefined
76
+ 'aria-hidden': animation === 'exiting' ? 'true' : undefined
77
77
  },
78
78
  titleProps: {
79
79
  id: titleId
@@ -82,7 +82,7 @@ function $ec537504faac71d2$export$a407b657d3044108(props, state, ref) {
82
82
  id: descriptionId
83
83
  },
84
84
  closeButtonProps: {
85
- "aria-label": stringFormatter.format("close"),
85
+ 'aria-label': stringFormatter.format('close'),
86
86
  onPress: ()=>state.close(key)
87
87
  }
88
88
  };
package/dist/useToast.mjs CHANGED
@@ -39,7 +39,7 @@ function $d6542812f0669241$export$a407b657d3044108(props, state, ref) {
39
39
  // focused the toast region.
40
40
  let focusOnUnmount = (0, $7WpW4$useRef)(null);
41
41
  (0, $7WpW4$useLayoutEffect)(()=>{
42
- let container = ref.current.closest("[role=region]");
42
+ let container = ref.current.closest('[role=region]');
43
43
  return ()=>{
44
44
  if (container && container.contains(document.activeElement)) // Focus must be delayed for focus ring to appear, but we can't wait
45
45
  // until useEffect cleanup to check if focus was inside the container.
@@ -58,16 +58,16 @@ function $d6542812f0669241$export$a407b657d3044108(props, state, ref) {
58
58
  ]);
59
59
  let titleId = (0, $7WpW4$useId)();
60
60
  let descriptionId = (0, $7WpW4$useSlotId)();
61
- let stringFormatter = (0, $7WpW4$useLocalizedStringFormatter)((0, ($parcel$interopDefault($7WpW4$intlStringsmodulejs))), "@react-aria/toast");
61
+ let stringFormatter = (0, $7WpW4$useLocalizedStringFormatter)((0, ($parcel$interopDefault($7WpW4$intlStringsmodulejs))), '@react-aria/toast');
62
62
  return {
63
63
  toastProps: {
64
- role: "alert",
65
- "aria-label": props["aria-label"],
66
- "aria-labelledby": props["aria-labelledby"] || titleId,
67
- "aria-describedby": props["aria-describedby"] || descriptionId,
68
- "aria-details": props["aria-details"],
64
+ role: 'alert',
65
+ 'aria-label': props['aria-label'],
66
+ 'aria-labelledby': props['aria-labelledby'] || titleId,
67
+ 'aria-describedby': props['aria-describedby'] || descriptionId,
68
+ 'aria-details': props['aria-details'],
69
69
  // Hide toasts that are animating out so VoiceOver doesn't announce them.
70
- "aria-hidden": animation === "exiting" ? "true" : undefined
70
+ 'aria-hidden': animation === 'exiting' ? 'true' : undefined
71
71
  },
72
72
  titleProps: {
73
73
  id: titleId
@@ -76,7 +76,7 @@ function $d6542812f0669241$export$a407b657d3044108(props, state, ref) {
76
76
  id: descriptionId
77
77
  },
78
78
  closeButtonProps: {
79
- "aria-label": stringFormatter.format("close"),
79
+ 'aria-label': stringFormatter.format('close'),
80
80
  onPress: ()=>state.close(key)
81
81
  }
82
82
  };
@@ -84,4 +84,4 @@ function $d6542812f0669241$export$a407b657d3044108(props, state, ref) {
84
84
 
85
85
 
86
86
  export {$d6542812f0669241$export$a407b657d3044108 as useToast};
87
- //# sourceMappingURL=useToast.mjs.map
87
+ //# sourceMappingURL=useToast.module.js.map
@@ -39,7 +39,7 @@ function $d6542812f0669241$export$a407b657d3044108(props, state, ref) {
39
39
  // focused the toast region.
40
40
  let focusOnUnmount = (0, $7WpW4$useRef)(null);
41
41
  (0, $7WpW4$useLayoutEffect)(()=>{
42
- let container = ref.current.closest("[role=region]");
42
+ let container = ref.current.closest('[role=region]');
43
43
  return ()=>{
44
44
  if (container && container.contains(document.activeElement)) // Focus must be delayed for focus ring to appear, but we can't wait
45
45
  // until useEffect cleanup to check if focus was inside the container.
@@ -58,16 +58,16 @@ function $d6542812f0669241$export$a407b657d3044108(props, state, ref) {
58
58
  ]);
59
59
  let titleId = (0, $7WpW4$useId)();
60
60
  let descriptionId = (0, $7WpW4$useSlotId)();
61
- let stringFormatter = (0, $7WpW4$useLocalizedStringFormatter)((0, ($parcel$interopDefault($7WpW4$intlStringsmodulejs))), "@react-aria/toast");
61
+ let stringFormatter = (0, $7WpW4$useLocalizedStringFormatter)((0, ($parcel$interopDefault($7WpW4$intlStringsmodulejs))), '@react-aria/toast');
62
62
  return {
63
63
  toastProps: {
64
- role: "alert",
65
- "aria-label": props["aria-label"],
66
- "aria-labelledby": props["aria-labelledby"] || titleId,
67
- "aria-describedby": props["aria-describedby"] || descriptionId,
68
- "aria-details": props["aria-details"],
64
+ role: 'alert',
65
+ 'aria-label': props['aria-label'],
66
+ 'aria-labelledby': props['aria-labelledby'] || titleId,
67
+ 'aria-describedby': props['aria-describedby'] || descriptionId,
68
+ 'aria-details': props['aria-details'],
69
69
  // Hide toasts that are animating out so VoiceOver doesn't announce them.
70
- "aria-hidden": animation === "exiting" ? "true" : undefined
70
+ 'aria-hidden': animation === 'exiting' ? 'true' : undefined
71
71
  },
72
72
  titleProps: {
73
73
  id: titleId
@@ -76,7 +76,7 @@ function $d6542812f0669241$export$a407b657d3044108(props, state, ref) {
76
76
  id: descriptionId
77
77
  },
78
78
  closeButtonProps: {
79
- "aria-label": stringFormatter.format("close"),
79
+ 'aria-label': stringFormatter.format('close'),
80
80
  onPress: ()=>state.close(key)
81
81
  }
82
82
  };
@@ -22,10 +22,10 @@ $parcel$export(module.exports, "useToastRegion", () => $eda7c6204a682dd4$export$
22
22
 
23
23
 
24
24
  function $eda7c6204a682dd4$export$b8cbbb20a51697de(props, state, ref) {
25
- let stringFormatter = (0, $eO7VF$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($f49b2d6c91681304$exports))), "@react-aria/toast");
25
+ let stringFormatter = (0, $eO7VF$reactariai18n.useLocalizedStringFormatter)((0, ($parcel$interopDefault($f49b2d6c91681304$exports))), '@react-aria/toast');
26
26
  let { landmarkProps: landmarkProps } = (0, $eO7VF$reactarialandmark.useLandmark)({
27
- role: "region",
28
- "aria-label": props["aria-label"] || stringFormatter.format("notifications")
27
+ role: 'region',
28
+ 'aria-label': props['aria-label'] || stringFormatter.format('notifications')
29
29
  }, ref);
30
30
  let { hoverProps: hoverProps } = (0, $eO7VF$reactariainteractions.useHover)({
31
31
  onHoverStart: state.pauseAll,
@@ -49,7 +49,7 @@ function $eda7c6204a682dd4$export$b8cbbb20a51697de(props, state, ref) {
49
49
  (0, $eO7VF$react.useEffect)(()=>{
50
50
  return ()=>{
51
51
  if (lastFocused.current && document.body.contains(lastFocused.current)) {
52
- if ((0, $eO7VF$reactariainteractions.getInteractionModality)() === "pointer") (0, $eO7VF$reactariautils.focusWithoutScrolling)(lastFocused.current);
52
+ if ((0, $eO7VF$reactariainteractions.getInteractionModality)() === 'pointer') (0, $eO7VF$reactariautils.focusWithoutScrolling)(lastFocused.current);
53
53
  else lastFocused.current.focus();
54
54
  }
55
55
  };
@@ -64,7 +64,7 @@ function $eda7c6204a682dd4$export$b8cbbb20a51697de(props, state, ref) {
64
64
  // - allows focus even outside a containing focus scope
65
65
  // - doesn’t dismiss overlays when clicking on it, even though it is outside
66
66
  // @ts-ignore
67
- "data-react-aria-top-layer": true
67
+ 'data-react-aria-top-layer': true
68
68
  })
69
69
  };
70
70
  }
@@ -16,10 +16,10 @@ function $parcel$interopDefault(a) {
16
16
 
17
17
 
18
18
  function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
19
- let stringFormatter = (0, $ckyCP$useLocalizedStringFormatter)((0, ($parcel$interopDefault($ckyCP$intlStringsmodulejs))), "@react-aria/toast");
19
+ let stringFormatter = (0, $ckyCP$useLocalizedStringFormatter)((0, ($parcel$interopDefault($ckyCP$intlStringsmodulejs))), '@react-aria/toast');
20
20
  let { landmarkProps: landmarkProps } = (0, $ckyCP$useLandmark)({
21
- role: "region",
22
- "aria-label": props["aria-label"] || stringFormatter.format("notifications")
21
+ role: 'region',
22
+ 'aria-label': props['aria-label'] || stringFormatter.format('notifications')
23
23
  }, ref);
24
24
  let { hoverProps: hoverProps } = (0, $ckyCP$useHover)({
25
25
  onHoverStart: state.pauseAll,
@@ -43,7 +43,7 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
43
43
  (0, $ckyCP$useEffect)(()=>{
44
44
  return ()=>{
45
45
  if (lastFocused.current && document.body.contains(lastFocused.current)) {
46
- if ((0, $ckyCP$getInteractionModality)() === "pointer") (0, $ckyCP$focusWithoutScrolling)(lastFocused.current);
46
+ if ((0, $ckyCP$getInteractionModality)() === 'pointer') (0, $ckyCP$focusWithoutScrolling)(lastFocused.current);
47
47
  else lastFocused.current.focus();
48
48
  }
49
49
  };
@@ -58,11 +58,11 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
58
58
  // - allows focus even outside a containing focus scope
59
59
  // - doesn’t dismiss overlays when clicking on it, even though it is outside
60
60
  // @ts-ignore
61
- "data-react-aria-top-layer": true
61
+ 'data-react-aria-top-layer': true
62
62
  })
63
63
  };
64
64
  }
65
65
 
66
66
 
67
67
  export {$6cc546b19ee7130a$export$b8cbbb20a51697de as useToastRegion};
68
- //# sourceMappingURL=useToastRegion.mjs.map
68
+ //# sourceMappingURL=useToastRegion.module.js.map
@@ -16,10 +16,10 @@ function $parcel$interopDefault(a) {
16
16
 
17
17
 
18
18
  function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
19
- let stringFormatter = (0, $ckyCP$useLocalizedStringFormatter)((0, ($parcel$interopDefault($ckyCP$intlStringsmodulejs))), "@react-aria/toast");
19
+ let stringFormatter = (0, $ckyCP$useLocalizedStringFormatter)((0, ($parcel$interopDefault($ckyCP$intlStringsmodulejs))), '@react-aria/toast');
20
20
  let { landmarkProps: landmarkProps } = (0, $ckyCP$useLandmark)({
21
- role: "region",
22
- "aria-label": props["aria-label"] || stringFormatter.format("notifications")
21
+ role: 'region',
22
+ 'aria-label': props['aria-label'] || stringFormatter.format('notifications')
23
23
  }, ref);
24
24
  let { hoverProps: hoverProps } = (0, $ckyCP$useHover)({
25
25
  onHoverStart: state.pauseAll,
@@ -43,7 +43,7 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
43
43
  (0, $ckyCP$useEffect)(()=>{
44
44
  return ()=>{
45
45
  if (lastFocused.current && document.body.contains(lastFocused.current)) {
46
- if ((0, $ckyCP$getInteractionModality)() === "pointer") (0, $ckyCP$focusWithoutScrolling)(lastFocused.current);
46
+ if ((0, $ckyCP$getInteractionModality)() === 'pointer') (0, $ckyCP$focusWithoutScrolling)(lastFocused.current);
47
47
  else lastFocused.current.focus();
48
48
  }
49
49
  };
@@ -58,7 +58,7 @@ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
58
58
  // - allows focus even outside a containing focus scope
59
59
  // - doesn’t dismiss overlays when clicking on it, even though it is outside
60
60
  // @ts-ignore
61
- "data-react-aria-top-layer": true
61
+ 'data-react-aria-top-layer': true
62
62
  })
63
63
  };
64
64
  }
package/dist/zh-CN.mjs CHANGED
@@ -6,4 +6,4 @@ $122525af1cb737c7$exports = {
6
6
 
7
7
 
8
8
  export {$122525af1cb737c7$exports as default};
9
- //# sourceMappingURL=zh-CN.mjs.map
9
+ //# sourceMappingURL=zh-CN.module.js.map
package/dist/zh-TW.mjs CHANGED
@@ -6,4 +6,4 @@ $52e8b1b00094e5a3$exports = {
6
6
 
7
7
 
8
8
  export {$52e8b1b00094e5a3$exports as default};
9
- //# sourceMappingURL=zh-TW.mjs.map
9
+ //# sourceMappingURL=zh-TW.module.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-aria/toast",
3
- "version": "3.0.0-beta.11",
3
+ "version": "3.0.0-beta.12",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -22,13 +22,13 @@
22
22
  "url": "https://github.com/adobe/react-spectrum"
23
23
  },
24
24
  "dependencies": {
25
- "@react-aria/i18n": "^3.11.0",
26
- "@react-aria/interactions": "^3.21.2",
27
- "@react-aria/landmark": "3.0.0-beta.11",
28
- "@react-aria/utils": "^3.24.0",
29
- "@react-stately/toast": "3.0.0-beta.3",
30
- "@react-types/button": "^3.9.3",
31
- "@react-types/shared": "^3.23.0",
25
+ "@react-aria/i18n": "^3.11.1",
26
+ "@react-aria/interactions": "^3.21.3",
27
+ "@react-aria/landmark": "3.0.0-beta.12",
28
+ "@react-aria/utils": "^3.24.1",
29
+ "@react-stately/toast": "3.0.0-beta.4",
30
+ "@react-types/button": "^3.9.4",
31
+ "@react-types/shared": "^3.23.1",
32
32
  "@swc/helpers": "^0.5.0"
33
33
  },
34
34
  "peerDependencies": {
@@ -37,5 +37,5 @@
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },
40
- "gitHead": "f645f29edc1322153fd60af4640cbcab1d992dbd"
40
+ "gitHead": "b77d7d594dff4dcfb5359bffbcfd18142b146433"
41
41
  }