@tamagui/floating 1.113.0 → 1.113.2
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,5 +1,8 @@
|
|
|
1
1
|
export * from "@floating-ui/react-native";
|
|
2
|
-
var autoUpdate = function
|
|
3
|
-
|
|
4
|
-
export {
|
|
2
|
+
var autoUpdate = function() {
|
|
3
|
+
}, platform = null;
|
|
4
|
+
export {
|
|
5
|
+
autoUpdate,
|
|
6
|
+
platform
|
|
7
|
+
};
|
|
5
8
|
//# sourceMappingURL=Floating.native.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/floating/src/Floating.native.tsx"],
|
|
4
|
+
"mappings": "AAKA,cAAc;AAFP,IAAMA,aAAa,WAAA;AAAO,GAIpBC,WAAW;",
|
|
5
|
+
"names": ["autoUpdate", "platform"]
|
|
6
|
+
}
|
package/dist/esm/index.native.js
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
import { arrow, autoPlacement, autoUpdate, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size } from "./Floating
|
|
2
|
-
import { useFloating, FloatingOverrideContext } from "./useFloating
|
|
3
|
-
export {
|
|
4
|
-
|
|
1
|
+
import { arrow, autoPlacement, autoUpdate, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size } from "./Floating";
|
|
2
|
+
import { useFloating, FloatingOverrideContext } from "./useFloating";
|
|
3
|
+
export {
|
|
4
|
+
FloatingOverrideContext,
|
|
5
|
+
arrow,
|
|
6
|
+
autoPlacement,
|
|
7
|
+
autoUpdate,
|
|
8
|
+
detectOverflow,
|
|
9
|
+
flip,
|
|
10
|
+
hide,
|
|
11
|
+
inline,
|
|
12
|
+
limitShift,
|
|
13
|
+
offset,
|
|
14
|
+
platform,
|
|
15
|
+
shift,
|
|
16
|
+
size,
|
|
17
|
+
useFloating
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/floating/src/index.ts"],
|
|
4
|
+
"mappings": "AA4CA,SACEA,OACAC,eACAC,YACAC,gBACAC,MACAC,MACAC,QACAC,YACAC,QACAC,UACAC,OACAC,YACK;AACP,SACEC,aACAC,+BAIK;",
|
|
5
|
+
"names": ["arrow", "autoPlacement", "autoUpdate", "detectOverflow", "flip", "hide", "inline", "limitShift", "offset", "platform", "shift", "size", "useFloating", "FloatingOverrideContext"]
|
|
6
|
+
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as Floating from "./Floating
|
|
3
|
-
var FloatingOverrideContext = /* @__PURE__ */React.createContext(null),
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
import * as Floating from "./Floating";
|
|
3
|
+
var FloatingOverrideContext = /* @__PURE__ */ React.createContext(null), useFloating = function(props) {
|
|
4
|
+
var _this, context = React.useContext(FloatingOverrideContext);
|
|
5
|
+
return (_this = context || Floating.useFloating) === null || _this === void 0 ? void 0 : _this(props);
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
FloatingOverrideContext,
|
|
9
|
+
useFloating
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=useFloating.js.map
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/Users/n8/tamagui/code/core/floating/src/useFloating.tsx"],
|
|
4
|
+
"mappings": "AAAA,OAAOA,WAAW;AAElB,YAAYC,cAAc;AAkBnB,IAAMC,0BAA0BF,sBAAMG,cAAoC,IAAA,GAEpEC,cAAc,SAACC,OAAAA;MAElBC,OADFA,UAAUN,MAAMO,WAAWL,uBAAAA;AACjC,UAAQI,QAAAA,WAAWL,SAASG,iBAAW,QAA/BE,UAAAA,SAAAA,SAAAA,MAAmCD,KAAAA;AAC7C;",
|
|
5
|
+
"names": ["React", "Floating", "FloatingOverrideContext", "createContext", "useFloating", "props", "context", "useContext"]
|
|
6
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/floating",
|
|
3
|
-
"version": "1.113.
|
|
3
|
+
"version": "1.113.2",
|
|
4
4
|
"sideEffects": true,
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@floating-ui/react-native": "^0.10.6"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@tamagui/build": "1.113.
|
|
44
|
+
"@tamagui/build": "1.113.2",
|
|
45
45
|
"react": "^18.2.0 || ^19.0.0",
|
|
46
46
|
"react-dom": "^18.2.0 || ^19.0.0",
|
|
47
47
|
"react-native": "0.74.1"
|