@tamagui/config-default 2.7.7 → 3.0.0-beta.1097.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.
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
+ get: () => from[key],
17
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
+ });
19
+ }
20
+ return to;
21
+ };
22
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
+ var presets_exports = {};
24
+ __export(presets_exports, { presets: () => presets });
25
+ module.exports = __toCommonJS(presets_exports);
26
+ var import_animation_helpers = require("@tamagui/animation-helpers");
27
+ var presets = {
28
+ ...import_animation_helpers.animationPresets,
29
+ tooltip: {
30
+ duration: 250,
31
+ bounce: .1
32
+ },
33
+ select: {
34
+ duration: 150,
35
+ bounce: 0
36
+ }
37
+ };
38
+
39
+ //# sourceMappingURL=presets.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"presets.native.js","names":[],"sources":["presets.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar presets_exports = {};\n__export(presets_exports, {\n presets: () => presets\n});\nmodule.exports = __toCommonJS(presets_exports);\nvar import_animation_helpers = require(\"@tamagui/animation-helpers\");\nvar presets = {\n ...import_animation_helpers.animationPresets,\n // named for where they are used, not for how they feel\n tooltip: {\n duration: 250,\n bounce: 0.1\n },\n select: {\n duration: 150,\n bounce: 0\n }\n};\n//# sourceMappingURL=presets.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,kBAAkB,CAAC;AACvB,SAAS,iBAAiB,EACxB,eAAe,QACjB,CAAC;AACD,OAAO,UAAU,aAAa,eAAe;AAC7C,IAAI,2BAA2B,QAAQ,4BAA4B;AACnE,IAAI,UAAU;CACZ,GAAG,yBAAyB;CAE5B,SAAS;EACP,UAAU;EACV,QAAQ;CACV;CACA,QAAQ;EACN,UAAU;EACV,QAAQ;CACV;AACF"}
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@tamagui/config-default",
3
- "version": "2.7.7",
3
+ "version": "3.0.0-beta.1097.1",
4
+ "license": "MIT",
4
5
  "source": "src/index.ts",
5
6
  "files": [
6
7
  "types",
@@ -19,14 +20,15 @@
19
20
  "clean:build": "tamagui-build clean:build"
20
21
  },
21
22
  "dependencies": {
22
- "@tamagui/animations-css": "2.7.7",
23
- "@tamagui/animations-react-native": "2.7.7",
24
- "@tamagui/core": "2.7.7",
25
- "@tamagui/shorthands": "2.7.7",
26
- "@tamagui/web": "2.7.7"
23
+ "@tamagui/animation-helpers": "3.0.0-beta.1097.1",
24
+ "@tamagui/animations-css": "3.0.0-beta.1097.1",
25
+ "@tamagui/animations-react-native": "3.0.0-beta.1097.1",
26
+ "@tamagui/core": "3.0.0-beta.1097.1",
27
+ "@tamagui/shorthands": "3.0.0-beta.1097.1",
28
+ "@tamagui/web": "3.0.0-beta.1097.1"
27
29
  },
28
30
  "devDependencies": {
29
- "@tamagui/build": "2.7.7"
31
+ "@tamagui/build": "3.0.0-beta.1097.1"
30
32
  },
31
33
  "repository": {
32
34
  "type": "git",
@@ -1,16 +1,63 @@
1
- export declare const animations: import("@tamagui/web").AnimationDriver<{
2
- '75ms': string;
3
- '100ms': string;
4
- '200ms': string;
5
- bouncy: string;
6
- superBouncy: string;
7
- lazy: string;
8
- medium: string;
9
- slow: string;
10
- quick: string;
11
- quicker: string;
12
- quickest: string;
13
- tooltip: string;
14
- select: string;
1
+ export declare const animations: import("@tamagui/web").AnimationDriverWithAnimatedNumbers<{
2
+ quickest: {
3
+ readonly duration: 120;
4
+ readonly bounce: 0.2;
5
+ };
6
+ quickestLessBouncy: {
7
+ readonly duration: 120;
8
+ readonly bounce: 0;
9
+ };
10
+ quicker: {
11
+ readonly duration: 160;
12
+ readonly bounce: 0.25;
13
+ };
14
+ quickerLessBouncy: {
15
+ readonly duration: 160;
16
+ readonly bounce: 0;
17
+ };
18
+ quick: {
19
+ readonly duration: 220;
20
+ readonly bounce: 0.3;
21
+ };
22
+ quickLessBouncy: {
23
+ readonly duration: 220;
24
+ readonly bounce: 0;
25
+ };
26
+ medium: {
27
+ readonly duration: 300;
28
+ readonly bounce: 0.15;
29
+ };
30
+ slow: {
31
+ readonly duration: 450;
32
+ readonly bounce: 0.1;
33
+ };
34
+ slowest: {
35
+ readonly duration: 700;
36
+ readonly bounce: 0.1;
37
+ };
38
+ lazy: {
39
+ readonly duration: 500;
40
+ readonly bounce: -0.2;
41
+ };
42
+ superLazy: {
43
+ readonly duration: 800;
44
+ readonly bounce: -0.3;
45
+ };
46
+ bouncy: {
47
+ readonly duration: 400;
48
+ readonly bounce: 0.5;
49
+ };
50
+ superBouncy: {
51
+ readonly duration: 400;
52
+ readonly bounce: 0.75;
53
+ };
54
+ tooltip: {
55
+ duration: number;
56
+ bounce: number;
57
+ };
58
+ select: {
59
+ duration: number;
60
+ bounce: number;
61
+ };
15
62
  }>;
16
63
  //# sourceMappingURL=animations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"animations.d.ts","sourceRoot":"","sources":["../src/animations.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;EAcrB,CAAA"}
1
+ {"version":3,"file":"animations.d.ts","sourceRoot":"","sources":["../src/animations.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA"}
@@ -1,40 +1,63 @@
1
- export declare const animations: import("@tamagui/web").AnimationDriver<{
2
- '100ms': {
3
- type: "timing";
4
- duration: number;
1
+ export declare const animations: import("@tamagui/web").AnimationDriverWithAnimatedNumbers<{
2
+ quickest: {
3
+ readonly duration: 120;
4
+ readonly bounce: 0.2;
5
5
  };
6
- bouncy: {
7
- damping: number;
8
- mass: number;
9
- stiffness: number;
6
+ quickestLessBouncy: {
7
+ readonly duration: 120;
8
+ readonly bounce: 0;
10
9
  };
11
- lazy: {
12
- damping: number;
13
- stiffness: number;
10
+ quicker: {
11
+ readonly duration: 160;
12
+ readonly bounce: 0.25;
13
+ };
14
+ quickerLessBouncy: {
15
+ readonly duration: 160;
16
+ readonly bounce: 0;
17
+ };
18
+ quick: {
19
+ readonly duration: 220;
20
+ readonly bounce: 0.3;
21
+ };
22
+ quickLessBouncy: {
23
+ readonly duration: 220;
24
+ readonly bounce: 0;
14
25
  };
15
26
  medium: {
16
- damping: number;
17
- stiffness: number;
18
- mass: number;
27
+ readonly duration: 300;
28
+ readonly bounce: 0.15;
19
29
  };
20
30
  slow: {
21
- damping: number;
22
- stiffness: number;
31
+ readonly duration: 450;
32
+ readonly bounce: 0.1;
23
33
  };
24
- quick: {
25
- damping: number;
26
- mass: number;
27
- stiffness: number;
34
+ slowest: {
35
+ readonly duration: 700;
36
+ readonly bounce: 0.1;
37
+ };
38
+ lazy: {
39
+ readonly duration: 500;
40
+ readonly bounce: -0.2;
41
+ };
42
+ superLazy: {
43
+ readonly duration: 800;
44
+ readonly bounce: -0.3;
45
+ };
46
+ bouncy: {
47
+ readonly duration: 400;
48
+ readonly bounce: 0.5;
49
+ };
50
+ superBouncy: {
51
+ readonly duration: 400;
52
+ readonly bounce: 0.75;
28
53
  };
29
54
  tooltip: {
30
- damping: number;
31
- mass: number;
32
- stiffness: number;
55
+ duration: number;
56
+ bounce: number;
33
57
  };
34
58
  select: {
35
- damping: number;
36
- mass: number;
37
- stiffness: number;
59
+ duration: number;
60
+ bounce: number;
38
61
  };
39
62
  }>;
40
63
  //# sourceMappingURL=animations.native.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"animations.native.d.ts","sourceRoot":"","sources":["../src/animations.native.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsCrB,CAAA"}
1
+ {"version":3,"file":"animations.native.d.ts","sourceRoot":"","sources":["../src/animations.native.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA"}