@tamagui/animations-motion 1.0.0-beta.0

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.
@@ -0,0 +1,38 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
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 createAnimations_exports = {};
20
+ __export(createAnimations_exports, {
21
+ createAnimations: () => createAnimations
22
+ });
23
+ module.exports = __toCommonJS(createAnimations_exports);
24
+ function createAnimations(animations) {
25
+ const useAnimations = /* @__PURE__ */ __name((props, extra) => {
26
+ const { style, hoverStyle, pressStyle, exitStyle, onDidAnimate, delay } = extra;
27
+ }, "useAnimations");
28
+ return {
29
+ useAnimations,
30
+ animations
31
+ };
32
+ }
33
+ __name(createAnimations, "createAnimations");
34
+ // Annotate the CommonJS export names for ESM import in node:
35
+ 0 && (module.exports = {
36
+ createAnimations
37
+ });
38
+ //# sourceMappingURL=createAnimations.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/createAnimations.tsx"],
4
+ "sourcesContent": ["export function createAnimations<A>(animations: A): {\n useAnimations: any\n animations: A\n View?: any\n Text?: any\n} {\n const useAnimations = (props: Object, extra) => {\n const { style, hoverStyle, pressStyle, exitStyle, onDidAnimate, delay } = extra\n }\n return {\n useAnimations,\n animations,\n }\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,0BAA6B,YAKlC;AACA,QAAM,gBAAgB,wBAAC,OAAe,UAAU;AAC9C,UAAM,EAAE,OAAO,YAAY,YAAY,WAAW,cAAc,UAAU;AAAA,EAC5E,GAFsB;AAGtB,SAAO;AAAA,IACL;AAAA,IACA;AAAA,EACF;AACF;AAbgB;",
6
+ "names": []
7
+ }
@@ -0,0 +1,18 @@
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
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var src_exports = {};
16
+ module.exports = __toCommonJS(src_exports);
17
+ __reExport(src_exports, require("./createAnimations"), module.exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/index.tsx"],
4
+ "sourcesContent": ["export * from './createAnimations'\n"],
5
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,+BAAd;",
6
+ "names": []
7
+ }
@@ -0,0 +1,16 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+ function createAnimations(animations) {
4
+ const useAnimations = /* @__PURE__ */ __name((props, extra) => {
5
+ const { style, hoverStyle, pressStyle, exitStyle, onDidAnimate, delay } = extra;
6
+ }, "useAnimations");
7
+ return {
8
+ useAnimations,
9
+ animations
10
+ };
11
+ }
12
+ __name(createAnimations, "createAnimations");
13
+ export {
14
+ createAnimations
15
+ };
16
+ //# sourceMappingURL=createAnimations.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/createAnimations.tsx"],
4
+ "sourcesContent": ["export function createAnimations<A>(animations: A): {\n useAnimations: any\n animations: A\n View?: any\n Text?: any\n} {\n const useAnimations = (props: Object, extra) => {\n const { style, hoverStyle, pressStyle, exitStyle, onDidAnimate, delay } = extra\n }\n return {\n useAnimations,\n animations,\n }\n}\n"],
5
+ "mappings": ";;AAAO,0BAA6B,YAKlC;AACA,QAAM,gBAAgB,wBAAC,OAAe,UAAU;AAC9C,UAAM,EAAE,OAAO,YAAY,YAAY,WAAW,cAAc,UAAU;AAAA,EAC5E,GAFsB;AAGtB,SAAO;AAAA,IACL;AAAA,IACA;AAAA,EACF;AACF;AAbgB;",
6
+ "names": []
7
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./createAnimations";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/index.tsx"],
4
+ "sourcesContent": ["export * from './createAnimations'\n"],
5
+ "mappings": "AAAA;",
6
+ "names": []
7
+ }
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+ function createAnimations(animations) {
4
+ const useAnimations = /* @__PURE__ */ __name((props, extra) => {
5
+ const { style, hoverStyle, pressStyle, exitStyle, onDidAnimate, delay } = extra;
6
+ }, "useAnimations");
7
+ return {
8
+ useAnimations,
9
+ animations
10
+ };
11
+ }
12
+ __name(createAnimations, "createAnimations");
13
+ export {
14
+ createAnimations
15
+ };
@@ -0,0 +1 @@
1
+ export * from "./createAnimations";
package/package.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "@tamagui/animations-motion",
3
+ "version": "1.0.0-beta.0",
4
+ "source": "src/index.ts",
5
+ "license": "MIT",
6
+ "typings": "types",
7
+ "main": "dist/cjs",
8
+ "module": "dist/esm",
9
+ "module:jsx": "dist/jsx",
10
+ "files": [
11
+ "types",
12
+ "dist"
13
+ ],
14
+ "dependencies": {
15
+ "@tamagui/core": "^1.0.0-beta.0"
16
+ },
17
+ "devDependencies": {
18
+ "@tamagui/build": "^1.0.0-beta.0"
19
+ },
20
+ "scripts": {
21
+ "build": "tamagui-build",
22
+ "watch": "tamagui-build --watch",
23
+ "clean": "tamagui-build clean",
24
+ "clean:build": "tamagui-build clean:build"
25
+ },
26
+ "publishConfig": {
27
+ "access": "public"
28
+ },
29
+ "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14"
30
+ }
@@ -0,0 +1,7 @@
1
+ export declare function createAnimations<A>(animations: A): {
2
+ useAnimations: any;
3
+ animations: A;
4
+ View?: any;
5
+ Text?: any;
6
+ };
7
+ //# sourceMappingURL=createAnimations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createAnimations.d.ts","sourceRoot":"","sources":["../src/createAnimations.tsx"],"names":[],"mappings":"AAAA,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,GAAG;IAClD,aAAa,EAAE,GAAG,CAAA;IAClB,UAAU,EAAE,CAAC,CAAA;IACb,IAAI,CAAC,EAAE,GAAG,CAAA;IACV,IAAI,CAAC,EAAE,GAAG,CAAA;CACX,CAQA"}
@@ -0,0 +1,2 @@
1
+ export * from './createAnimations';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}