@tamagui/floating 1.116.1 → 1.116.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.
- package/dist/cjs/Floating.js +15 -0
- package/dist/cjs/index.js +34 -0
- package/dist/cjs/useFloating.js +31 -0
- package/package.json +2 -2
- package/dist/cjs/Floating.native.cjs +0 -30
- package/dist/cjs/Floating.native.cjs.map +0 -6
- /package/dist/cjs/{Floating.cjs.map → Floating.js.map} +0 -0
- /package/dist/cjs/{index.cjs.map → index.js.map} +0 -0
- /package/dist/cjs/{useFloating.cjs.map → useFloating.js.map} +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
9
|
+
return to;
|
|
10
|
+
}, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
11
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
12
|
+
var Floating_exports = {};
|
|
13
|
+
module.exports = __toCommonJS(Floating_exports);
|
|
14
|
+
__reExport(Floating_exports, require("@floating-ui/react-dom"), module.exports);
|
|
15
|
+
//# sourceMappingURL=Floating.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
+
for (let key of __getOwnPropNames(from))
|
|
11
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var src_exports = {};
|
|
16
|
+
__export(src_exports, {
|
|
17
|
+
FloatingOverrideContext: () => import_useFloating.FloatingOverrideContext,
|
|
18
|
+
arrow: () => import_Floating.arrow,
|
|
19
|
+
autoPlacement: () => import_Floating.autoPlacement,
|
|
20
|
+
autoUpdate: () => import_Floating.autoUpdate,
|
|
21
|
+
detectOverflow: () => import_Floating.detectOverflow,
|
|
22
|
+
flip: () => import_Floating.flip,
|
|
23
|
+
hide: () => import_Floating.hide,
|
|
24
|
+
inline: () => import_Floating.inline,
|
|
25
|
+
limitShift: () => import_Floating.limitShift,
|
|
26
|
+
offset: () => import_Floating.offset,
|
|
27
|
+
platform: () => import_Floating.platform,
|
|
28
|
+
shift: () => import_Floating.shift,
|
|
29
|
+
size: () => import_Floating.size,
|
|
30
|
+
useFloating: () => import_useFloating.useFloating
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(src_exports);
|
|
33
|
+
var import_Floating = require("./Floating"), import_useFloating = require("./useFloating");
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
16
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
17
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
18
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
19
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
21
|
+
mod
|
|
22
|
+
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
23
|
+
var useFloating_exports = {};
|
|
24
|
+
__export(useFloating_exports, {
|
|
25
|
+
FloatingOverrideContext: () => FloatingOverrideContext,
|
|
26
|
+
useFloating: () => useFloating
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(useFloating_exports);
|
|
29
|
+
var import_react = __toESM(require("react")), Floating = __toESM(require("./Floating"));
|
|
30
|
+
const FloatingOverrideContext = import_react.default.createContext(null), useFloating = (props) => (import_react.default.useContext(FloatingOverrideContext) || Floating.useFloating)?.(props);
|
|
31
|
+
//# sourceMappingURL=useFloating.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/floating",
|
|
3
|
-
"version": "1.116.
|
|
3
|
+
"version": "1.116.2",
|
|
4
4
|
"sideEffects": true,
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@floating-ui/react-native": "^0.10.6"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@tamagui/build": "1.116.
|
|
45
|
+
"@tamagui/build": "1.116.2",
|
|
46
46
|
"react": "^18.2.0 || ^19.0.0",
|
|
47
47
|
"react-dom": "^18.2.0 || ^19.0.0",
|
|
48
48
|
"react-native": "0.74.1"
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all) __defProp(target, name, {
|
|
7
|
-
get: all[name],
|
|
8
|
-
enumerable: !0
|
|
9
|
-
});
|
|
10
|
-
},
|
|
11
|
-
__copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
-
get: () => from[key],
|
|
14
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
-
});
|
|
16
|
-
return to;
|
|
17
|
-
},
|
|
18
|
-
__reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
19
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
20
|
-
value: !0
|
|
21
|
-
}), mod);
|
|
22
|
-
var Floating_native_exports = {};
|
|
23
|
-
__export(Floating_native_exports, {
|
|
24
|
-
autoUpdate: () => autoUpdate,
|
|
25
|
-
platform: () => platform
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(Floating_native_exports);
|
|
28
|
-
__reExport(Floating_native_exports, require("@floating-ui/react-native"), module.exports);
|
|
29
|
-
const autoUpdate = () => {},
|
|
30
|
-
platform = null;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|