@motion-proto/live-tokens 0.101.0 → 0.101.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.101.1 — Lightbox focus outline
4
+
5
+ ### Fixed
6
+
7
+ - **Holding Space in the zoom lightbox draws no focus outline.** With
8
+ `extended`, a click on the image gives the stage focus, and Space then woke
9
+ the browser's focus ring around the image. The stage now draws no outline;
10
+ the close button and thumbnails keep theirs.
11
+
3
12
  ## 0.101.0 — Video lightbox controls
4
13
 
5
14
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@motion-proto/live-tokens",
3
- "version": "0.101.0",
3
+ "version": "0.101.1",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "**/*.css"
@@ -1058,6 +1058,12 @@
1058
1058
  border-radius: var(--imagelightbox-tile-radius);
1059
1059
  }
1060
1060
 
1061
+ /* The stage takes focus only to hold it inside the dialog. Space toggles the
1062
+ hand tool, which would otherwise wake :focus-visible around the image. */
1063
+ .image-lightbox-stage:focus {
1064
+ outline: none;
1065
+ }
1066
+
1061
1067
  .image-lightbox-clip {
1062
1068
  position: absolute;
1063
1069
  inset: 0;