@tamagui/tooltip 1.0.1-beta.136 → 1.0.1-beta.139
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/Tooltip.native.js +2 -5
- package/dist/cjs/Tooltip.native.js.map +2 -2
- package/dist/cjs/TooltipSimple.native.js +32 -0
- package/dist/cjs/TooltipSimple.native.js.map +7 -0
- package/dist/esm/Tooltip.native.js +1 -3
- package/dist/esm/Tooltip.native.js.map +2 -2
- package/dist/esm/TooltipSimple.native.js +8 -0
- package/dist/esm/TooltipSimple.native.js.map +7 -0
- package/dist/jsx/Tooltip.native.js +1 -3
- package/dist/jsx/Tooltip.native.js.map +2 -2
- package/dist/jsx/TooltipSimple.native.js +8 -0
- package/dist/jsx/TooltipSimple.native.js.map +7 -0
- package/package.json +13 -11
- package/src/Tooltip.native.tsx +0 -2
- package/src/TooltipSimple.native.tsx +5 -0
- package/types/Tooltip.native.d.ts +0 -1
- package/types/TooltipSimple.native.d.ts +2 -0
|
@@ -18,8 +18,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var Tooltip_native_exports = {};
|
|
20
20
|
__export(Tooltip_native_exports, {
|
|
21
|
-
Tooltip: () => Tooltip
|
|
22
|
-
TooltipSimple: () => TooltipSimple
|
|
21
|
+
Tooltip: () => Tooltip
|
|
23
22
|
});
|
|
24
23
|
module.exports = __toCommonJS(Tooltip_native_exports);
|
|
25
24
|
var import_core = require("@tamagui/core");
|
|
@@ -36,10 +35,8 @@ const Tooltip = (0, import_core.withStaticProperties)(RenderChildren, {
|
|
|
36
35
|
Content: RenderNull,
|
|
37
36
|
Trigger: RenderChildren
|
|
38
37
|
});
|
|
39
|
-
const TooltipSimple = RenderChildren;
|
|
40
38
|
// Annotate the CommonJS export names for ESM import in node:
|
|
41
39
|
0 && (module.exports = {
|
|
42
|
-
Tooltip
|
|
43
|
-
TooltipSimple
|
|
40
|
+
Tooltip
|
|
44
41
|
});
|
|
45
42
|
//# sourceMappingURL=Tooltip.native.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Tooltip.native.tsx"],
|
|
4
|
-
"sourcesContent": ["import { withStaticProperties } from '@tamagui/core'\n\n// no output on native for now\n// could have an option to long-press or similar to show in a context menu/drawer\n\nconst RenderChildren = (props: any) => {\n return props.children\n}\n\nconst RenderNull = (props: any) => {\n return null\n}\n\nexport const Tooltip = withStaticProperties(RenderChildren, {\n Anchor: RenderChildren,\n Arrow: RenderNull,\n Close: RenderNull,\n Content: RenderNull,\n Trigger: RenderChildren,\n})\n
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA
|
|
4
|
+
"sourcesContent": ["import { withStaticProperties } from '@tamagui/core'\n\n// no output on native for now\n// could have an option to long-press or similar to show in a context menu/drawer\n\nconst RenderChildren = (props: any) => {\n return props.children\n}\n\nconst RenderNull = (props: any) => {\n return null\n}\n\nexport const Tooltip = withStaticProperties(RenderChildren, {\n Anchor: RenderChildren,\n Arrow: RenderNull,\n Close: RenderNull,\n Content: RenderNull,\n Trigger: RenderChildren,\n})\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAqC;AAKrC,MAAM,iBAAiB,CAAC,UAAe;AACrC,SAAO,MAAM;AACf;AAEA,MAAM,aAAa,CAAC,UAAe;AACjC,SAAO;AACT;AAEO,MAAM,UAAU,sCAAqB,gBAAgB;AAAA,EAC1D,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS;AACX,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var TooltipSimple_native_exports = {};
|
|
20
|
+
__export(TooltipSimple_native_exports, {
|
|
21
|
+
TooltipSimple: () => TooltipSimple
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(TooltipSimple_native_exports);
|
|
24
|
+
const RenderChildren = (props) => {
|
|
25
|
+
return props.children;
|
|
26
|
+
};
|
|
27
|
+
const TooltipSimple = RenderChildren;
|
|
28
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
29
|
+
0 && (module.exports = {
|
|
30
|
+
TooltipSimple
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=TooltipSimple.native.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/TooltipSimple.native.tsx"],
|
|
4
|
+
"sourcesContent": ["const RenderChildren = (props: any) => {\n return props.children\n}\n\nexport const TooltipSimple = RenderChildren\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAAM,iBAAiB,CAAC,UAAe;AACrC,SAAO,MAAM;AACf;AAEO,MAAM,gBAAgB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -12,9 +12,7 @@ const Tooltip = withStaticProperties(RenderChildren, {
|
|
|
12
12
|
Content: RenderNull,
|
|
13
13
|
Trigger: RenderChildren
|
|
14
14
|
});
|
|
15
|
-
const TooltipSimple = RenderChildren;
|
|
16
15
|
export {
|
|
17
|
-
Tooltip
|
|
18
|
-
TooltipSimple
|
|
16
|
+
Tooltip
|
|
19
17
|
};
|
|
20
18
|
//# sourceMappingURL=Tooltip.native.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Tooltip.native.tsx"],
|
|
4
|
-
"sourcesContent": ["import { withStaticProperties } from '@tamagui/core'\n\n// no output on native for now\n// could have an option to long-press or similar to show in a context menu/drawer\n\nconst RenderChildren = (props: any) => {\n return props.children\n}\n\nconst RenderNull = (props: any) => {\n return null\n}\n\nexport const Tooltip = withStaticProperties(RenderChildren, {\n Anchor: RenderChildren,\n Arrow: RenderNull,\n Close: RenderNull,\n Content: RenderNull,\n Trigger: RenderChildren,\n})\n
|
|
5
|
-
"mappings": "AAAA;AAKA,MAAM,iBAAiB,CAAC,UAAe;AACrC,SAAO,MAAM;AACf;AAEA,MAAM,aAAa,CAAC,UAAe;AACjC,SAAO;AACT;AAEO,MAAM,UAAU,qBAAqB,gBAAgB;AAAA,EAC1D,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS;AACX,CAAC;
|
|
4
|
+
"sourcesContent": ["import { withStaticProperties } from '@tamagui/core'\n\n// no output on native for now\n// could have an option to long-press or similar to show in a context menu/drawer\n\nconst RenderChildren = (props: any) => {\n return props.children\n}\n\nconst RenderNull = (props: any) => {\n return null\n}\n\nexport const Tooltip = withStaticProperties(RenderChildren, {\n Anchor: RenderChildren,\n Arrow: RenderNull,\n Close: RenderNull,\n Content: RenderNull,\n Trigger: RenderChildren,\n})\n"],
|
|
5
|
+
"mappings": "AAAA;AAKA,MAAM,iBAAiB,CAAC,UAAe;AACrC,SAAO,MAAM;AACf;AAEA,MAAM,aAAa,CAAC,UAAe;AACjC,SAAO;AACT;AAEO,MAAM,UAAU,qBAAqB,gBAAgB;AAAA,EAC1D,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS;AACX,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/TooltipSimple.native.tsx"],
|
|
4
|
+
"sourcesContent": ["const RenderChildren = (props: any) => {\n return props.children\n}\n\nexport const TooltipSimple = RenderChildren\n"],
|
|
5
|
+
"mappings": "AAAA,MAAM,iBAAiB,CAAC,UAAe;AACrC,SAAO,MAAM;AACf;AAEO,MAAM,gBAAgB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -12,9 +12,7 @@ const Tooltip = withStaticProperties(RenderChildren, {
|
|
|
12
12
|
Content: RenderNull,
|
|
13
13
|
Trigger: RenderChildren
|
|
14
14
|
});
|
|
15
|
-
const TooltipSimple = RenderChildren;
|
|
16
15
|
export {
|
|
17
|
-
Tooltip
|
|
18
|
-
TooltipSimple
|
|
16
|
+
Tooltip
|
|
19
17
|
};
|
|
20
18
|
//# sourceMappingURL=Tooltip.native.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Tooltip.native.tsx"],
|
|
4
|
-
"sourcesContent": ["import { withStaticProperties } from '@tamagui/core'\n\n// no output on native for now\n// could have an option to long-press or similar to show in a context menu/drawer\n\nconst RenderChildren = (props: any) => {\n return props.children\n}\n\nconst RenderNull = (props: any) => {\n return null\n}\n\nexport const Tooltip = withStaticProperties(RenderChildren, {\n Anchor: RenderChildren,\n Arrow: RenderNull,\n Close: RenderNull,\n Content: RenderNull,\n Trigger: RenderChildren,\n})\n
|
|
5
|
-
"mappings": "AAAA;AAKA,MAAM,iBAAiB,CAAC,UAAe;AACrC,SAAO,MAAM;AACf;AAEA,MAAM,aAAa,CAAC,UAAe;AACjC,SAAO;AACT;AAEO,MAAM,UAAU,qBAAqB,gBAAgB;AAAA,EAC1D,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS;AACX,CAAC;
|
|
4
|
+
"sourcesContent": ["import { withStaticProperties } from '@tamagui/core'\n\n// no output on native for now\n// could have an option to long-press or similar to show in a context menu/drawer\n\nconst RenderChildren = (props: any) => {\n return props.children\n}\n\nconst RenderNull = (props: any) => {\n return null\n}\n\nexport const Tooltip = withStaticProperties(RenderChildren, {\n Anchor: RenderChildren,\n Arrow: RenderNull,\n Close: RenderNull,\n Content: RenderNull,\n Trigger: RenderChildren,\n})\n"],
|
|
5
|
+
"mappings": "AAAA;AAKA,MAAM,iBAAiB,CAAC,UAAe;AACrC,SAAO,MAAM;AACf;AAEA,MAAM,aAAa,CAAC,UAAe;AACjC,SAAO;AACT;AAEO,MAAM,UAAU,qBAAqB,gBAAgB;AAAA,EAC1D,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS;AACX,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/TooltipSimple.native.tsx"],
|
|
4
|
+
"sourcesContent": ["const RenderChildren = (props: any) => {\n return props.children\n}\n\nexport const TooltipSimple = RenderChildren\n"],
|
|
5
|
+
"mappings": "AAAA,MAAM,iBAAiB,CAAC,UAAe;AACrC,SAAO,MAAM;AACf;AAEO,MAAM,gBAAgB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/tooltip",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.139",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -17,20 +17,22 @@
|
|
|
17
17
|
"scripts": {
|
|
18
18
|
"build": "tamagui-build",
|
|
19
19
|
"watch": "tamagui-build --watch",
|
|
20
|
+
"lint": "eslint",
|
|
21
|
+
"lint:fix": "yarn lint --fix",
|
|
20
22
|
"clean": "tamagui-build clean",
|
|
21
23
|
"clean:build": "tamagui-build clean:build"
|
|
22
24
|
},
|
|
23
25
|
"dependencies": {
|
|
24
26
|
"@floating-ui/react-dom-interactions": "^0.8.1",
|
|
25
|
-
"@tamagui/compose-refs": "^1.0.1-beta.
|
|
26
|
-
"@tamagui/core": "^1.0.1-beta.
|
|
27
|
-
"@tamagui/create-context": "^1.0.1-beta.
|
|
28
|
-
"@tamagui/polyfill-dev": "^1.0.1-beta.
|
|
29
|
-
"@tamagui/popover": "^1.0.1-beta.
|
|
30
|
-
"@tamagui/popper": "^1.0.1-beta.
|
|
31
|
-
"@tamagui/stacks": "^1.0.1-beta.
|
|
32
|
-
"@tamagui/text": "^1.0.1-beta.
|
|
33
|
-
"@tamagui/use-controllable-state": "^1.0.1-beta.
|
|
27
|
+
"@tamagui/compose-refs": "^1.0.1-beta.139",
|
|
28
|
+
"@tamagui/core": "^1.0.1-beta.139",
|
|
29
|
+
"@tamagui/create-context": "^1.0.1-beta.139",
|
|
30
|
+
"@tamagui/polyfill-dev": "^1.0.1-beta.139",
|
|
31
|
+
"@tamagui/popover": "^1.0.1-beta.139",
|
|
32
|
+
"@tamagui/popper": "^1.0.1-beta.139",
|
|
33
|
+
"@tamagui/stacks": "^1.0.1-beta.139",
|
|
34
|
+
"@tamagui/text": "^1.0.1-beta.139",
|
|
35
|
+
"@tamagui/use-controllable-state": "^1.0.1-beta.139"
|
|
34
36
|
},
|
|
35
37
|
"peerDependencies": {
|
|
36
38
|
"react": "*",
|
|
@@ -38,7 +40,7 @@
|
|
|
38
40
|
"react-native": "*"
|
|
39
41
|
},
|
|
40
42
|
"devDependencies": {
|
|
41
|
-
"@tamagui/build": "^1.0.1-beta.
|
|
43
|
+
"@tamagui/build": "^1.0.1-beta.139",
|
|
42
44
|
"@types/react-dom": "^18.0.3",
|
|
43
45
|
"@types/react-native": "^0.69.2",
|
|
44
46
|
"react": "*",
|
package/src/Tooltip.native.tsx
CHANGED