@zag-js/popper 1.15.7 → 1.16.0
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/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -29,8 +29,8 @@ interface PositioningOptions {
|
|
|
29
29
|
* The offset of the floating element
|
|
30
30
|
*/
|
|
31
31
|
offset?: {
|
|
32
|
-
mainAxis?: number;
|
|
33
|
-
crossAxis?: number;
|
|
32
|
+
mainAxis?: number | undefined;
|
|
33
|
+
crossAxis?: number | undefined;
|
|
34
34
|
} | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* The main axis offset or gap between the reference and floating elements
|
|
@@ -102,7 +102,7 @@ interface PositioningOptions {
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
declare function getPlacement(referenceOrFn: MaybeFn<MaybeRectElement>, floatingOrFn: MaybeFn<MaybeElement>, opts?: PositioningOptions & {
|
|
105
|
-
defer?: boolean;
|
|
105
|
+
defer?: boolean | undefined;
|
|
106
106
|
}): () => void;
|
|
107
107
|
|
|
108
108
|
declare const cssVars: {
|
package/dist/index.d.ts
CHANGED
|
@@ -29,8 +29,8 @@ interface PositioningOptions {
|
|
|
29
29
|
* The offset of the floating element
|
|
30
30
|
*/
|
|
31
31
|
offset?: {
|
|
32
|
-
mainAxis?: number;
|
|
33
|
-
crossAxis?: number;
|
|
32
|
+
mainAxis?: number | undefined;
|
|
33
|
+
crossAxis?: number | undefined;
|
|
34
34
|
} | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* The main axis offset or gap between the reference and floating elements
|
|
@@ -102,7 +102,7 @@ interface PositioningOptions {
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
declare function getPlacement(referenceOrFn: MaybeFn<MaybeRectElement>, floatingOrFn: MaybeFn<MaybeElement>, opts?: PositioningOptions & {
|
|
105
|
-
defer?: boolean;
|
|
105
|
+
defer?: boolean | undefined;
|
|
106
106
|
}): () => void;
|
|
107
107
|
|
|
108
108
|
declare const cssVars: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/popper",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.0",
|
|
4
4
|
"description": "Dynamic positioning logic for ui machines",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"js",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@floating-ui/dom": "1.7.1",
|
|
26
|
-
"@zag-js/dom-query": "1.
|
|
27
|
-
"@zag-js/utils": "1.
|
|
26
|
+
"@zag-js/dom-query": "1.16.0",
|
|
27
|
+
"@zag-js/utils": "1.16.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"clean-package": "2.2.0"
|