@zag-js/popper 1.18.4 → 1.19.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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -249,7 +249,7 @@ function getPlacementImpl(referenceOrVirtual, floating, opts = {}) {
|
|
|
249
249
|
};
|
|
250
250
|
const update = async () => {
|
|
251
251
|
if (opts.updatePosition) {
|
|
252
|
-
await opts.updatePosition({ updatePosition });
|
|
252
|
+
await opts.updatePosition({ updatePosition, floatingElement: floating });
|
|
253
253
|
onPositioned?.({ placed: true });
|
|
254
254
|
} else {
|
|
255
255
|
await updatePosition();
|
package/dist/index.mjs
CHANGED
|
@@ -247,7 +247,7 @@ function getPlacementImpl(referenceOrVirtual, floating, opts = {}) {
|
|
|
247
247
|
};
|
|
248
248
|
const update = async () => {
|
|
249
249
|
if (opts.updatePosition) {
|
|
250
|
-
await opts.updatePosition({ updatePosition });
|
|
250
|
+
await opts.updatePosition({ updatePosition, floatingElement: floating });
|
|
251
251
|
onPositioned?.({ placed: true });
|
|
252
252
|
} else {
|
|
253
253
|
await updatePosition();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/popper",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.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.2",
|
|
26
|
-
"@zag-js/dom-query": "1.
|
|
27
|
-
"@zag-js/utils": "1.
|
|
26
|
+
"@zag-js/dom-query": "1.19.0",
|
|
27
|
+
"@zag-js/utils": "1.19.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"clean-package": "2.2.0"
|