@tamagui/floating 1.122.8 → 1.123.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.
- package/package.json +2 -3
- package/dist/jsx/Floating.js +0 -2
- package/dist/jsx/Floating.js.map +0 -6
- package/dist/jsx/Floating.mjs +0 -2
- package/dist/jsx/Floating.mjs.map +0 -1
- package/dist/jsx/Floating.native.js +0 -8
- package/dist/jsx/Floating.native.js.map +0 -6
- package/dist/jsx/index.js +0 -35
- package/dist/jsx/index.js.map +0 -6
- package/dist/jsx/index.mjs +0 -4
- package/dist/jsx/index.mjs.map +0 -1
- package/dist/jsx/index.native.js +0 -19
- package/dist/jsx/index.native.js.map +0 -6
- package/dist/jsx/useFloating.js +0 -8
- package/dist/jsx/useFloating.js.map +0 -6
- package/dist/jsx/useFloating.mjs +0 -6
- package/dist/jsx/useFloating.mjs.map +0 -1
- package/dist/jsx/useFloating.native.js +0 -11
- package/dist/jsx/useFloating.native.js.map +0 -6
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/floating",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.123.1",
|
|
4
4
|
"sideEffects": true,
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
7
7
|
"main": "dist/cjs",
|
|
8
8
|
"module": "dist/esm",
|
|
9
|
-
"module:jsx": "dist/jsx",
|
|
10
9
|
"files": [
|
|
11
10
|
"src",
|
|
12
11
|
"types",
|
|
@@ -44,7 +43,7 @@
|
|
|
44
43
|
"@floating-ui/react-native": "^0.10.6"
|
|
45
44
|
},
|
|
46
45
|
"devDependencies": {
|
|
47
|
-
"@tamagui/build": "1.
|
|
46
|
+
"@tamagui/build": "1.123.1",
|
|
48
47
|
"react": "*",
|
|
49
48
|
"react-native": "^0.76.5"
|
|
50
49
|
}
|
package/dist/jsx/Floating.js
DELETED
package/dist/jsx/Floating.js.map
DELETED
package/dist/jsx/Floating.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["../../src/Floating.tsx"],"sourcesContent":[null],"mappings":"AAAA,cAAc","ignoreList":[]}
|
package/dist/jsx/index.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
arrow,
|
|
3
|
-
autoPlacement,
|
|
4
|
-
autoUpdate,
|
|
5
|
-
detectOverflow,
|
|
6
|
-
flip,
|
|
7
|
-
hide,
|
|
8
|
-
inline,
|
|
9
|
-
limitShift,
|
|
10
|
-
offset,
|
|
11
|
-
platform,
|
|
12
|
-
shift,
|
|
13
|
-
size
|
|
14
|
-
} from "./Floating";
|
|
15
|
-
import {
|
|
16
|
-
useFloating,
|
|
17
|
-
FloatingOverrideContext
|
|
18
|
-
} from "./useFloating";
|
|
19
|
-
export {
|
|
20
|
-
FloatingOverrideContext,
|
|
21
|
-
arrow,
|
|
22
|
-
autoPlacement,
|
|
23
|
-
autoUpdate,
|
|
24
|
-
detectOverflow,
|
|
25
|
-
flip,
|
|
26
|
-
hide,
|
|
27
|
-
inline,
|
|
28
|
-
limitShift,
|
|
29
|
-
offset,
|
|
30
|
-
platform,
|
|
31
|
-
shift,
|
|
32
|
-
size,
|
|
33
|
-
useFloating
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=index.js.map
|
package/dist/jsx/index.js.map
DELETED
package/dist/jsx/index.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { arrow, autoPlacement, autoUpdate, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size } from "./Floating.mjs";
|
|
2
|
-
import { useFloating, FloatingOverrideContext } from "./useFloating.mjs";
|
|
3
|
-
export { FloatingOverrideContext, arrow, autoPlacement, autoUpdate, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size, useFloating };
|
|
4
|
-
//# sourceMappingURL=index.mjs.map
|
package/dist/jsx/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["arrow","autoPlacement","autoUpdate","detectOverflow","flip","hide","inline","limitShift","offset","platform","shift","size","useFloating","FloatingOverrideContext"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AA4CA,SACEA,KAAA,EACAC,aAAA,EACAC,UAAA,EACAC,cAAA,EACAC,IAAA,EACAC,IAAA,EACAC,MAAA,EACAC,UAAA,EACAC,MAAA,EACAC,QAAA,EACAC,KAAA,EACAC,IAAA,QACK;AACP,SACEC,WAAA,EACAC,uBAAA,QAIK","ignoreList":[]}
|
package/dist/jsx/index.native.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
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,6 +0,0 @@
|
|
|
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
|
-
}
|
package/dist/jsx/useFloating.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import * as Floating from "./Floating";
|
|
3
|
-
const FloatingOverrideContext = React.createContext(null), useFloating = (props) => (React.useContext(FloatingOverrideContext) || Floating.useFloating)?.(props);
|
|
4
|
-
export {
|
|
5
|
-
FloatingOverrideContext,
|
|
6
|
-
useFloating
|
|
7
|
-
};
|
|
8
|
-
//# sourceMappingURL=useFloating.js.map
|
package/dist/jsx/useFloating.mjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import * as Floating from "./Floating.mjs";
|
|
3
|
-
const FloatingOverrideContext = React.createContext(null),
|
|
4
|
-
useFloating = props => (React.useContext(FloatingOverrideContext) || Floating.useFloating)?.(props);
|
|
5
|
-
export { FloatingOverrideContext, useFloating };
|
|
6
|
-
//# sourceMappingURL=useFloating.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Floating","FloatingOverrideContext","createContext","useFloating","props","useContext"],"sources":["../../src/useFloating.tsx"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,KAAA,MAAW;AAElB,YAAYC,QAAA,MAAc;AAkBnB,MAAMC,uBAAA,GAA0BF,KAAA,CAAMG,aAAA,CAAoC,IAAI;EAExEC,WAAA,GAAeC,KAAA,KACVL,KAAA,CAAMM,UAAA,CAAWJ,uBAAuB,KACrCD,QAAA,CAASG,WAAA,IAAeC,KAAK","ignoreList":[]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
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,6 +0,0 @@
|
|
|
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
|
-
}
|