Zack Tanner
ee15b3be5d
fix: error overlay hijacking application focus (safari) ( #53693 )
...
### What?
When Safari is in the background and HMR triggers a full page reload,
Safari hijacks application focus.
### Why?
Having a `role="dialog"` is correctly prompting Safari to autofocus the
first focusable element (the close button). However, Safari's behavior
seems to also bring the application to the foreground when a background
focus event occurs.
### How?
This only adds the role when the document is focused.
#### Before
https://github.com/vercel/next.js/assets/1939140/9d2cce52-c6ee-4d49-9262-03620efad86c
#### After
https://github.com/vercel/next.js/assets/1939140/dc7d337c-b621-49e9-9a17-03b5d8b5c3f4
Confirmed voiceover behavior still appears to be correct
<img width="1371" alt="CleanShot 2023-08-07 at 12 14 34@2x"
src="https://github.com/vercel/next.js/assets/1939140/e53acfbc-cf6b-4d74-8b83-cf98edb2c2ab ">
slack x-ref:
https://vercel.slack.com/archives/C03KAR5DCKC/p1691264077313599
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-08-08 21:45:03 +02:00
vercel-release-bot
d7405b0c28
v13.4.14-canary.1
2023-08-08 14:11:47 +00:00
vercel-release-bot
5ea372d642
v13.4.14-canary.0
2023-08-07 12:49:08 +00:00
vercel-release-bot
498692b698
v13.4.13
2023-08-07 06:57:47 +00:00
vercel-release-bot
1e02a92a94
v13.4.13-canary.18
2023-08-07 01:06:01 +00:00
vercel-release-bot
bc8deab6ef
v13.4.13-canary.17
2023-08-06 20:38:12 +00:00
vercel-release-bot
f47081f15b
v13.4.13-canary.16
2023-08-05 00:20:47 +00:00
vercel-release-bot
324814f2ae
v13.4.13-canary.15
2023-08-04 19:13:19 +00:00
vercel-release-bot
f04dc5ad51
v13.4.13-canary.14
2023-08-04 09:02:27 +00:00
vercel-release-bot
be457445b8
v13.4.13-canary.13
2023-08-03 15:51:26 +00:00
vercel-release-bot
480e3a3939
v13.4.13-canary.12
2023-08-02 17:19:31 +00:00
vercel-release-bot
b1bf7aeefa
v13.4.13-canary.11
2023-08-02 11:15:46 +00:00
vercel-release-bot
e757cac3f4
v13.4.13-canary.10
2023-08-02 09:49:13 +00:00
vercel-release-bot
3a3030882c
v13.4.13-canary.9
2023-08-01 16:30:58 +00:00
vercel-release-bot
caf5ee80be
v13.4.13-canary.8
2023-07-31 20:06:20 +00:00
vercel-release-bot
82e3d5126a
v13.4.13-canary.7
2023-07-31 17:31:05 +00:00
vercel-release-bot
e575179b3e
v13.4.13-canary.6
2023-07-28 12:32:12 +00:00
vercel-release-bot
0814c82d0b
v13.4.13-canary.5
2023-07-28 00:50:18 +00:00
vercel-release-bot
127c5bbf80
v13.4.13-canary.4
2023-07-27 00:17:07 +00:00
vercel-release-bot
f389d815fd
v13.4.13-canary.3
2023-07-26 04:13:11 +00:00
vercel-release-bot
f89987f09d
v13.4.13-canary.2
2023-07-25 19:56:56 +00:00
vercel-release-bot
87acd0432a
v13.4.13-canary.1
2023-07-25 14:48:22 +00:00
vercel-release-bot
d680975537
v13.4.13-canary.0
2023-07-24 23:10:37 +00:00
vercel-release-bot
552bca46eb
v13.4.12
2023-07-21 20:30:24 +00:00
vercel-release-bot
576cb6ed4f
v13.4.12-canary.0
2023-07-21 19:40:40 +00:00
vercel-release-bot
04ae5be8d0
v13.4.11
2023-07-21 04:28:14 +00:00
vercel-release-bot
5853258d19
v13.4.11-canary.2
2023-07-21 03:49:07 +00:00
vercel-release-bot
0df8aac935
v13.4.11-canary.1
2023-07-20 22:21:52 +00:00
vercel-release-bot
5bf2bbb378
v13.4.11-canary.0
2023-07-18 17:12:06 +00:00
vercel-release-bot
c2a54aaecb
v13.4.10
2023-07-14 09:14:17 +00:00
vercel-release-bot
62aa2d221c
v13.4.10-canary.8
2023-07-14 01:51:38 +00:00
vercel-release-bot
3cde104d64
v13.4.10-canary.7
2023-07-13 19:40:00 +00:00
vercel-release-bot
c56915842a
v13.4.10-canary.6
2023-07-13 02:16:14 +00:00
vercel-release-bot
22cb1bf027
v13.4.10-canary.5
2023-07-12 16:38:56 +00:00
vercel-release-bot
2441ad4760
v13.4.10-canary.4
2023-07-12 06:45:31 +00:00
Josh Story
6839ef379b
use npm pack
instead of yarn pack
( #52563 )
...
`yarn pack` does not pack the same way that `npm pack` does. There is at least one bug with how files are treated where node_modules are ignored even inside folders defined by the files config. While this is not currently used in next.js an upcoming change will rely on it. The reason this change makes sense otherwise is we use npm to publish next and during a publish the pack from npm is used. For consistency we should use the same pack for our actions and other code that does repo setup such as `create-next-install` which is used for tests
The implementation is slightly more complicated than just replacing the pack command however. `npm pack` respects gitignore files whereas `yarn pack` does not (or at least not nested ones). For some packages the `"files"` property in package.json is set which overrides any gitignore rules however the `@next/swc` package uses a gitignore to prevent the committing of native binaries but does not use files and thus npm pack does not includes native binaries when yarn pack does. To address this the PR adds a temporary rename of the `next-swc/native/.gitignore` file which allows npm pack to mimic the yarn pack behavior. The reason I did not just add `"files"` is that this package actually publishes to many different package names on npm for each architecture and I was unsure about making changes to the package.json that would potentially affect this codepath.
In addition to those changes there are 2 `.gitignore` files that appear to be outdated and unnecessary. I removed them.
2023-07-11 23:36:07 +00:00
vercel-release-bot
63a6cdaf53
v13.4.10-canary.3
2023-07-10 23:02:55 +00:00
vercel-release-bot
4e710645f8
v13.4.10-canary.2
2023-07-10 14:44:00 +00:00
vercel-release-bot
62c2c5abc2
v13.4.10-canary.1
2023-07-10 08:01:26 +00:00
vercel-release-bot
b2c6bc4572
v13.4.10-canary.0
2023-07-07 11:14:32 +00:00
vercel-release-bot
1045644655
v13.4.9
2023-07-06 20:50:37 +00:00
vercel-release-bot
21392cb4e0
v13.4.9-canary.3
2023-07-06 17:07:58 +00:00
vercel-release-bot
0b470753b7
v13.4.9-canary.2
2023-07-05 10:26:56 +00:00
vercel-release-bot
4f75c79938
v13.4.9-canary.1
2023-07-04 08:30:06 +00:00
vercel-release-bot
f60b5621ac
v13.4.9-canary.0
2023-07-04 00:05:08 +00:00
vercel-release-bot
b4a875eb57
v13.4.8
2023-07-03 17:00:28 +00:00
vercel-release-bot
eca315308a
v13.4.8-canary.15
2023-07-03 10:21:27 +00:00
vercel-release-bot
9f6cf08fd4
v13.4.8-canary.14
2023-06-30 22:36:17 +00:00
vercel-release-bot
0dd225b128
v13.4.8-canary.13
2023-06-30 12:25:06 +00:00
vercel-release-bot
27953213f8
v13.4.8-canary.12
2023-06-29 23:30:23 +00:00