@tamagui/core 1.111.11 → 1.111.12
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/react-native-web.js +35 -0
- package/dist/cjs/react-native-web.js.map +6 -0
- package/dist/esm/react-native-web.js +19 -0
- package/dist/esm/react-native-web.js.map +6 -0
- package/dist/esm/react-native-web.mjs +17 -0
- package/dist/esm/react-native-web.mjs.map +1 -0
- package/package.json +6 -6
- package/src/react-native-web.ts +23 -0
- package/types/react-native-web.d.ts +12 -0
- package/types/react-native-web.d.ts.map +1 -0
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
}, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
+
var react_native_web_exports = {};
|
|
16
|
+
__export(react_native_web_exports, {
|
|
17
|
+
Platform: () => Platform,
|
|
18
|
+
Pressable: () => Pressable,
|
|
19
|
+
StyleSheet: () => StyleSheet
|
|
20
|
+
});
|
|
21
|
+
module.exports = __toCommonJS(react_native_web_exports);
|
|
22
|
+
__reExport(react_native_web_exports, require("@tamagui/react-native-use-responder-events"), module.exports);
|
|
23
|
+
__reExport(react_native_web_exports, require("@tamagui/react-native-use-pressable"), module.exports);
|
|
24
|
+
__reExport(react_native_web_exports, require("./index"), module.exports);
|
|
25
|
+
const Platform = {
|
|
26
|
+
OS: "web",
|
|
27
|
+
select(obj) {
|
|
28
|
+
return obj.web;
|
|
29
|
+
}
|
|
30
|
+
}, StyleSheet = {
|
|
31
|
+
create(obj) {
|
|
32
|
+
return obj;
|
|
33
|
+
}
|
|
34
|
+
}, Pressable = () => null;
|
|
35
|
+
//# sourceMappingURL=react-native-web.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/react-native-web.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,qCAAc,uDAFd;AAGA,qCAAc,gDAHd;AAIA,qCAAc,oBAJd;AAMO,MAAM,WAAW;AAAA,EACtB,IAAI;AAAA,EAEJ,OAAO,KAAK;AACV,WAAO,IAAI;AAAA,EACb;AACF,GAEa,aAAa;AAAA,EACxB,OAAO,KAAK;AACV,WAAO;AAAA,EACT;AACF,GAEa,YAAY,MAChB;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from "@tamagui/react-native-use-responder-events";
|
|
2
|
+
export * from "@tamagui/react-native-use-pressable";
|
|
3
|
+
export * from "./index";
|
|
4
|
+
const Platform = {
|
|
5
|
+
OS: "web",
|
|
6
|
+
select(obj) {
|
|
7
|
+
return obj.web;
|
|
8
|
+
}
|
|
9
|
+
}, StyleSheet = {
|
|
10
|
+
create(obj) {
|
|
11
|
+
return obj;
|
|
12
|
+
}
|
|
13
|
+
}, Pressable = () => null;
|
|
14
|
+
export {
|
|
15
|
+
Platform,
|
|
16
|
+
Pressable,
|
|
17
|
+
StyleSheet
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=react-native-web.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/react-native-web.ts"],
|
|
4
|
+
"mappings": "AAEA,cAAc;AACd,cAAc;AACd,cAAc;AAEP,MAAM,WAAW;AAAA,EACtB,IAAI;AAAA,EAEJ,OAAO,KAAK;AACV,WAAO,IAAI;AAAA,EACb;AACF,GAEa,aAAa;AAAA,EACxB,OAAO,KAAK;AACV,WAAO;AAAA,EACT;AACF,GAEa,YAAY,MAChB;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from "@tamagui/react-native-use-responder-events";
|
|
2
|
+
export * from "@tamagui/react-native-use-pressable";
|
|
3
|
+
export * from "./index.mjs";
|
|
4
|
+
const Platform = {
|
|
5
|
+
OS: "web",
|
|
6
|
+
select(obj) {
|
|
7
|
+
return obj.web;
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
StyleSheet = {
|
|
11
|
+
create(obj) {
|
|
12
|
+
return obj;
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
Pressable = () => null;
|
|
16
|
+
export { Platform, Pressable, StyleSheet };
|
|
17
|
+
//# sourceMappingURL=react-native-web.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Platform","OS","select","obj","web","StyleSheet","create","Pressable"],"sources":["../../src/react-native-web.ts"],"sourcesContent":[null],"mappings":"AAEA,cAAc;AACd,cAAc;AACd,cAAc;AAEP,MAAMA,QAAA,GAAW;IACtBC,EAAA,EAAI;IAEJC,OAAOC,GAAA,EAAK;MACV,OAAOA,GAAA,CAAIC,GAAA;IACb;EACF;EAEaC,UAAA,GAAa;IACxBC,OAAOH,GAAA,EAAK;MACV,OAAOA,GAAA;IACT;EACF;EAEaI,SAAA,GAAYA,CAAA,KAChB","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/core",
|
|
3
|
-
"version": "1.111.
|
|
3
|
+
"version": "1.111.12",
|
|
4
4
|
"source": "src/index.tsx",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"native-test.d.ts"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@tamagui/react-native-use-pressable": "1.111.
|
|
39
|
-
"@tamagui/react-native-use-responder-events": "1.111.
|
|
40
|
-
"@tamagui/use-event": "1.111.
|
|
41
|
-
"@tamagui/web": "1.111.
|
|
38
|
+
"@tamagui/react-native-use-pressable": "1.111.12",
|
|
39
|
+
"@tamagui/react-native-use-responder-events": "1.111.12",
|
|
40
|
+
"@tamagui/use-event": "1.111.12",
|
|
41
|
+
"@tamagui/web": "1.111.12"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@tamagui/build": "1.111.
|
|
44
|
+
"@tamagui/build": "1.111.12",
|
|
45
45
|
"@testing-library/react": "^16.0.0",
|
|
46
46
|
"csstype": "^3.0.10",
|
|
47
47
|
"typescript": "^5.5.2",
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// TODO
|
|
2
|
+
|
|
3
|
+
export * from '@tamagui/react-native-use-responder-events'
|
|
4
|
+
export * from '@tamagui/react-native-use-pressable'
|
|
5
|
+
export * from './index'
|
|
6
|
+
|
|
7
|
+
export const Platform = {
|
|
8
|
+
OS: 'web',
|
|
9
|
+
|
|
10
|
+
select(obj) {
|
|
11
|
+
return obj.web
|
|
12
|
+
},
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const StyleSheet = {
|
|
16
|
+
create(obj) {
|
|
17
|
+
return obj
|
|
18
|
+
},
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export const Pressable = () => {
|
|
22
|
+
return null
|
|
23
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from '@tamagui/react-native-use-responder-events';
|
|
2
|
+
export * from '@tamagui/react-native-use-pressable';
|
|
3
|
+
export * from './index';
|
|
4
|
+
export declare const Platform: {
|
|
5
|
+
OS: string;
|
|
6
|
+
select(obj: any): any;
|
|
7
|
+
};
|
|
8
|
+
export declare const StyleSheet: {
|
|
9
|
+
create(obj: any): any;
|
|
10
|
+
};
|
|
11
|
+
export declare const Pressable: () => null;
|
|
12
|
+
//# sourceMappingURL=react-native-web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-native-web.d.ts","sourceRoot":"","sources":["../src/react-native-web.ts"],"names":[],"mappings":"AAEA,cAAc,4CAA4C,CAAA;AAC1D,cAAc,qCAAqC,CAAA;AACnD,cAAc,SAAS,CAAA;AAEvB,eAAO,MAAM,QAAQ;;;CAMpB,CAAA;AAED,eAAO,MAAM,UAAU;;CAItB,CAAA;AAED,eAAO,MAAM,SAAS,YAErB,CAAA"}
|