@coras-io/embed 0.6.4 → 0.6.5

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,11 @@
1
1
  # @coras-io/embed
2
2
 
3
+ ## 0.6.5
4
+
5
+ ### Patch Changes
6
+
7
+ - adfa7c5: Open the drawer with a clean slide-in on every screen size, instead of showing the panel in place before the slide and ahead of the overlay fade.
8
+
3
9
  ## 0.6.4
4
10
 
5
11
  ### Patch Changes
@@ -41,7 +41,9 @@ let CorasDrawer = class CorasDrawer extends OverlayMixin(LitElement) {
41
41
  }
42
42
  static { this.styles = styles; }
43
43
  focusPanel() {
44
- this.panel.focus();
44
+ // The panel is still translated off-screen when focus lands, so a plain
45
+ // focus scrolls the overflow-hidden wrapper to reveal it before the slide.
46
+ this.panel.focus({ preventScroll: true });
45
47
  }
46
48
  render() {
47
49
  const classes = {
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "engines": {
21
21
  "node": ">=22"
22
22
  },
23
- "version": "0.6.4",
23
+ "version": "0.6.5",
24
24
  "private": false,
25
25
  "homepage": "https://docs.coras.io",
26
26
  "bugs": {