@zag-js/splitter 1.35.0 → 1.35.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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _zag_js_anatomy from '@zag-js/anatomy';
|
|
2
2
|
|
|
3
|
-
declare const anatomy: _zag_js_anatomy.AnatomyInstance<"root" | "
|
|
4
|
-
declare const parts: Record<"root" | "
|
|
3
|
+
declare const anatomy: _zag_js_anatomy.AnatomyInstance<"root" | "resizeTrigger" | "panel" | "resizeTriggerIndicator">;
|
|
4
|
+
declare const parts: Record<"root" | "resizeTrigger" | "panel" | "resizeTriggerIndicator", _zag_js_anatomy.AnatomyPart>;
|
|
5
5
|
|
|
6
6
|
export { anatomy, parts };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _zag_js_anatomy from '@zag-js/anatomy';
|
|
2
2
|
|
|
3
|
-
declare const anatomy: _zag_js_anatomy.AnatomyInstance<"root" | "
|
|
4
|
-
declare const parts: Record<"root" | "
|
|
3
|
+
declare const anatomy: _zag_js_anatomy.AnatomyInstance<"root" | "resizeTrigger" | "panel" | "resizeTriggerIndicator">;
|
|
4
|
+
declare const parts: Record<"root" | "resizeTrigger" | "panel" | "resizeTriggerIndicator", _zag_js_anatomy.AnatomyPart>;
|
|
5
5
|
|
|
6
6
|
export { anatomy, parts };
|
package/dist/splitter.dom.d.mts
CHANGED
|
@@ -11,7 +11,7 @@ declare const getGlobalCursorId: (ctx: Scope) => string;
|
|
|
11
11
|
declare const getRootEl: (ctx: Scope) => HTMLElement | null;
|
|
12
12
|
declare const getResizeTriggerEl: (ctx: Scope, id: string) => HTMLElement | null;
|
|
13
13
|
declare const getPanelEl: (ctx: Scope, id: string | number) => HTMLElement | null;
|
|
14
|
-
declare const getCursor: (state: CursorState, x: boolean) => (string & {}) | "col-resize" | "
|
|
14
|
+
declare const getCursor: (state: CursorState, x: boolean) => (string & {}) | "col-resize" | "row-resize" | "e-resize" | "n-resize" | "s-resize" | "w-resize";
|
|
15
15
|
declare const getResizeTriggerEls: (ctx: Scope) => HTMLElement[];
|
|
16
16
|
declare const setupGlobalCursor: (ctx: Scope, state: CursorState, x: boolean, nonce?: string) => void;
|
|
17
17
|
declare const removeGlobalCursor: (ctx: Scope) => void;
|
package/dist/splitter.dom.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare const getGlobalCursorId: (ctx: Scope) => string;
|
|
|
11
11
|
declare const getRootEl: (ctx: Scope) => HTMLElement | null;
|
|
12
12
|
declare const getResizeTriggerEl: (ctx: Scope, id: string) => HTMLElement | null;
|
|
13
13
|
declare const getPanelEl: (ctx: Scope, id: string | number) => HTMLElement | null;
|
|
14
|
-
declare const getCursor: (state: CursorState, x: boolean) => (string & {}) | "col-resize" | "
|
|
14
|
+
declare const getCursor: (state: CursorState, x: boolean) => (string & {}) | "col-resize" | "row-resize" | "e-resize" | "n-resize" | "s-resize" | "w-resize";
|
|
15
15
|
declare const getResizeTriggerEls: (ctx: Scope) => HTMLElement[];
|
|
16
16
|
declare const setupGlobalCursor: (ctx: Scope, state: CursorState, x: boolean, nonce?: string) => void;
|
|
17
17
|
declare const removeGlobalCursor: (ctx: Scope) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/splitter",
|
|
3
|
-
"version": "1.35.
|
|
3
|
+
"version": "1.35.1",
|
|
4
4
|
"description": "Core logic for the splitter widget implemented as a state machine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"js",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"url": "https://github.com/chakra-ui/zag/issues"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@zag-js/anatomy": "1.35.
|
|
31
|
-
"@zag-js/core": "1.35.
|
|
32
|
-
"@zag-js/types": "1.35.
|
|
33
|
-
"@zag-js/dom-query": "1.35.
|
|
34
|
-
"@zag-js/utils": "1.35.
|
|
30
|
+
"@zag-js/anatomy": "1.35.1",
|
|
31
|
+
"@zag-js/core": "1.35.1",
|
|
32
|
+
"@zag-js/types": "1.35.1",
|
|
33
|
+
"@zag-js/dom-query": "1.35.1",
|
|
34
|
+
"@zag-js/utils": "1.35.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"clean-package": "2.2.0"
|