@zag-js/splitter 0.2.10 → 0.2.12

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.
@@ -494,7 +494,7 @@ function machine(userContext) {
494
494
  },
495
495
  focusResizeHandle(ctx2) {
496
496
  raf(() => {
497
- dom.getActiveHandleEl(ctx2)?.focus();
497
+ dom.getActiveHandleEl(ctx2)?.focus({ preventScroll: true });
498
498
  });
499
499
  },
500
500
  blurResizeHandle(ctx2) {
package/dist/index.js CHANGED
@@ -920,7 +920,7 @@ function machine(userContext) {
920
920
  },
921
921
  focusResizeHandle(ctx2) {
922
922
  raf(() => {
923
- dom.getActiveHandleEl(ctx2)?.focus();
923
+ dom.getActiveHandleEl(ctx2)?.focus({ preventScroll: true });
924
924
  });
925
925
  },
926
926
  blurResizeHandle(ctx2) {
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-HPRMFGOY.mjs";
7
7
  import {
8
8
  machine
9
- } from "./chunk-EABXMZ6N.mjs";
9
+ } from "./chunk-AO5KCFS2.mjs";
10
10
  import "./chunk-QY3R66FZ.mjs";
11
11
  import "./chunk-MV44GBQY.mjs";
12
12
  export {
@@ -718,7 +718,7 @@ function machine(userContext) {
718
718
  },
719
719
  focusResizeHandle(ctx2) {
720
720
  raf(() => {
721
- dom.getActiveHandleEl(ctx2)?.focus();
721
+ dom.getActiveHandleEl(ctx2)?.focus({ preventScroll: true });
722
722
  });
723
723
  },
724
724
  blurResizeHandle(ctx2) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  machine
3
- } from "./chunk-EABXMZ6N.mjs";
3
+ } from "./chunk-AO5KCFS2.mjs";
4
4
  import "./chunk-QY3R66FZ.mjs";
5
5
  import "./chunk-MV44GBQY.mjs";
6
6
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zag-js/splitter",
3
- "version": "0.2.10",
3
+ "version": "0.2.12",
4
4
  "description": "Core logic for the splitter widget implemented as a state machine",
5
5
  "keywords": [
6
6
  "js",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@zag-js/anatomy": "0.1.4",
31
- "@zag-js/core": "0.2.7",
31
+ "@zag-js/core": "0.2.9",
32
32
  "@zag-js/types": "0.3.4"
33
33
  },
34
34
  "devDependencies": {