@react-aria/toast
Advanced tools
Comparing version 3.0.0-beta.4 to 3.0.0-beta.5
@@ -317,3 +317,3 @@ var $35jN2$react = require("react"); | ||
function $ec537504faac71d2$export$a407b657d3044108(props, state, ref) { | ||
let { key: key , timer: timer , timeout: timeout , animation: animation } = props.toast; | ||
let { key: key, timer: timer, timeout: timeout, animation: animation } = props.toast; | ||
(0, $35jN2$react.useEffect)(()=>{ | ||
@@ -387,7 +387,7 @@ if (!timer) return; | ||
let stringFormatter = (0, $35jN2$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($f49b2d6c91681304$exports)))); | ||
let { landmarkProps: landmarkProps } = (0, $35jN2$reactarialandmark.useLandmark)({ | ||
let { landmarkProps: landmarkProps } = (0, $35jN2$reactarialandmark.useLandmark)({ | ||
role: "region", | ||
"aria-label": props["aria-label"] || stringFormatter.format("notifications") | ||
}, ref); | ||
let { hoverProps: hoverProps } = (0, $35jN2$reactariainteractions.useHover)({ | ||
let { hoverProps: hoverProps } = (0, $35jN2$reactariainteractions.useHover)({ | ||
onHoverStart: state.pauseAll, | ||
@@ -397,3 +397,3 @@ onHoverEnd: state.resumeAll | ||
let lastFocused = (0, $35jN2$react.useRef)(null); | ||
let { focusWithinProps: focusWithinProps } = (0, $35jN2$reactariainteractions.useFocusWithin)({ | ||
let { focusWithinProps: focusWithinProps } = (0, $35jN2$reactariainteractions.useFocusWithin)({ | ||
onFocusWithin: (e)=>{ | ||
@@ -400,0 +400,0 @@ state.pauseAll(); |
@@ -311,3 +311,3 @@ import {useEffect as $5bA4N$useEffect, useRef as $5bA4N$useRef} from "react"; | ||
function $d6542812f0669241$export$a407b657d3044108(props, state, ref) { | ||
let { key: key , timer: timer , timeout: timeout , animation: animation } = props.toast; | ||
let { key: key, timer: timer, timeout: timeout, animation: animation } = props.toast; | ||
(0, $5bA4N$useEffect)(()=>{ | ||
@@ -381,7 +381,7 @@ if (!timer) return; | ||
let stringFormatter = (0, $5bA4N$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($7853651519a70071$exports)))); | ||
let { landmarkProps: landmarkProps } = (0, $5bA4N$useLandmark)({ | ||
let { landmarkProps: landmarkProps } = (0, $5bA4N$useLandmark)({ | ||
role: "region", | ||
"aria-label": props["aria-label"] || stringFormatter.format("notifications") | ||
}, ref); | ||
let { hoverProps: hoverProps } = (0, $5bA4N$useHover)({ | ||
let { hoverProps: hoverProps } = (0, $5bA4N$useHover)({ | ||
onHoverStart: state.pauseAll, | ||
@@ -391,3 +391,3 @@ onHoverEnd: state.resumeAll | ||
let lastFocused = (0, $5bA4N$useRef)(null); | ||
let { focusWithinProps: focusWithinProps } = (0, $5bA4N$useFocusWithin)({ | ||
let { focusWithinProps: focusWithinProps } = (0, $5bA4N$useFocusWithin)({ | ||
onFocusWithin: (e)=>{ | ||
@@ -394,0 +394,0 @@ state.pauseAll(); |
{ | ||
"name": "@react-aria/toast", | ||
"version": "3.0.0-beta.4", | ||
"version": "3.0.0-beta.5", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,9 +25,9 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/i18n": "^3.8.2", | ||
"@react-aria/interactions": "^3.18.0", | ||
"@react-aria/landmark": "3.0.0-beta.4", | ||
"@react-aria/utils": "^3.20.0", | ||
"@react-aria/i18n": "^3.8.3", | ||
"@react-aria/interactions": "^3.19.0", | ||
"@react-aria/landmark": "3.0.0-beta.5", | ||
"@react-aria/utils": "^3.21.0", | ||
"@react-stately/toast": "3.0.0-beta.1", | ||
"@react-types/button": "^3.8.0", | ||
"@react-types/shared": "^3.20.0", | ||
"@react-types/button": "^3.9.0", | ||
"@react-types/shared": "^3.21.0", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -41,3 +41,3 @@ }, | ||
}, | ||
"gitHead": "54fbaa67cc56867506811819fef765546d403253" | ||
"gitHead": "4122e44d1991c90507d630d35ed297f89db435d3" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
99095
+ Added@react-aria/landmark@3.0.0-beta.5(transitive)
- Removed@react-aria/landmark@3.0.0-beta.4(transitive)
Updated@react-aria/i18n@^3.8.3
Updated@react-aria/utils@^3.21.0
Updated@react-types/button@^3.9.0
Updated@react-types/shared@^3.21.0