Skip to content

Commit

Permalink
Merge pull request #2528 from adevinta/upd-react-aria-snackbar
Browse files Browse the repository at this point in the history
chore(snackbar): bump react-aria deps
  • Loading branch information
soykje authored Dec 10, 2024
2 parents bd3c905 + 181d6bb commit dc8bfca
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 47 deletions.
91 changes: 47 additions & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/components/snackbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"build": "vite build"
},
"dependencies": {
"@react-aria/toast": "^3.0.0-beta.12",
"@react-stately/toast": "3.0.0-beta.4",
"@react-aria/toast": "^3.0.0-beta.18",
"@react-stately/toast": "3.0.0-beta.7",
"@spark-ui/icon": "^7.2.9",
"@spark-ui/icon-button": "^7.2.9",
"@spark-ui/icons": "^7.2.9",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/snackbar/src/Snackbar.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('Snackbar', () => {
* onanimationend is not supported by `user-event` library,
* and has to be triggered programmatically with `fireEvent`.
*/
fireEvent.animationEnd(screen.getByRole('alert', { hidden: true }))
fireEvent.animationEnd(screen.getByRole('alertdialog', { hidden: true }))
}

it('should render a snackbar item when adding one to the queue', async () => {
Expand Down

0 comments on commit dc8bfca

Please sign in to comment.