@tamagui/config-default 2.7.6 → 3.0.0-beta.637.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.
@@ -1,44 +1,41 @@
1
+
1
2
  var __defProp = Object.defineProperty;
2
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
6
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
7
+ for (var name in all) __defProp(target, name, {
8
+ get: all[name],
9
+ enumerable: true
10
+ });
10
11
  };
11
12
  var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ }
19
+ return to;
19
20
  };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
21
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
22
  var animations_exports = {};
24
- __export(animations_exports, {
25
- animations: () => animations
26
- });
23
+ __export(animations_exports, { animations: () => animations });
27
24
  module.exports = __toCommonJS(animations_exports);
28
25
  var import_animations_css = require("@tamagui/animations-css");
29
26
  const smoothBezier = "cubic-bezier(0.215, 0.610, 0.355, 1.000)";
30
27
  const animations = (0, import_animations_css.createAnimations)({
31
- "75ms": "ease-in 75ms",
32
- "100ms": "ease-in 100ms",
33
- "200ms": "ease-in 200ms",
34
- bouncy: "ease-in 200ms",
35
- superBouncy: "ease-in 500ms",
36
- lazy: "ease-in 1000ms",
37
- medium: "ease-in 300ms",
38
- slow: "ease-in 500ms",
39
- quick: `${smoothBezier} 400ms`,
40
- quicker: `${smoothBezier} 300ms`,
41
- quickest: `${smoothBezier} 200ms`,
42
- tooltip: "ease-in 400ms",
43
- select: "ease-in 150ms"
44
- });
28
+ "75ms": "ease-in 75ms",
29
+ "100ms": "ease-in 100ms",
30
+ "200ms": "ease-in 200ms",
31
+ bouncy: "ease-in 200ms",
32
+ superBouncy: "ease-in 500ms",
33
+ lazy: "ease-in 1000ms",
34
+ medium: "ease-in 300ms",
35
+ slow: "ease-in 500ms",
36
+ quick: `${smoothBezier} 400ms`,
37
+ quicker: `${smoothBezier} 300ms`,
38
+ quickest: `${smoothBezier} 200ms`,
39
+ tooltip: "ease-in 400ms",
40
+ select: "ease-in 150ms"
41
+ });
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+
3
+
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all) __defProp(target, name, {
10
+ get: all[name],
11
+ enumerable: true
12
+ });
13
+ };
14
+ var __copyProps = (to, from, except, desc) => {
15
+ if (from && typeof from === "object" || typeof from === "function") {
16
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
17
+ get: () => from[key],
18
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
+ });
20
+ }
21
+ return to;
22
+ };
23
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
24
+ var animations_native_exports = {};
25
+ __export(animations_native_exports, { animations: () => animations });
26
+ module.exports = __toCommonJS(animations_native_exports);
27
+ var import_animations_react_native = require("@tamagui/animations-react-native");
28
+ var animations = (0, import_animations_react_native.createAnimations)({
29
+ "100ms": {
30
+ type: "timing",
31
+ duration: 100
32
+ },
33
+ bouncy: {
34
+ damping: 9,
35
+ mass: .9,
36
+ stiffness: 150
37
+ },
38
+ lazy: {
39
+ damping: 18,
40
+ stiffness: 50
41
+ },
42
+ medium: {
43
+ damping: 15,
44
+ stiffness: 120,
45
+ mass: 1
46
+ },
47
+ slow: {
48
+ damping: 15,
49
+ stiffness: 40
50
+ },
51
+ quick: {
52
+ damping: 20,
53
+ mass: 1.2,
54
+ stiffness: 250
55
+ },
56
+ tooltip: {
57
+ damping: 10,
58
+ mass: .9,
59
+ stiffness: 100
60
+ },
61
+ select: {
62
+ damping: 45,
63
+ mass: .5,
64
+ stiffness: 1e3
65
+ }
66
+ });
@@ -1,70 +1,68 @@
1
1
  "use strict";
2
2
 
3
+
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
8
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
9
+ for (var name in all) __defProp(target, name, {
10
+ get: all[name],
11
+ enumerable: true
12
+ });
12
13
  };
13
14
  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;
15
+ if (from && typeof from === "object" || typeof from === "function") {
16
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
17
+ get: () => from[key],
18
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
19
+ });
20
+ }
21
+ return to;
21
22
  };
22
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
23
- value: true
24
- }), mod);
23
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
25
24
  var animations_native_exports = {};
26
- __export(animations_native_exports, {
27
- animations: () => animations
28
- });
25
+ __export(animations_native_exports, { animations: () => animations });
29
26
  module.exports = __toCommonJS(animations_native_exports);
30
27
  var import_animations_react_native = require("@tamagui/animations-react-native");
31
28
  var animations = (0, import_animations_react_native.createAnimations)({
32
- "100ms": {
33
- type: "timing",
34
- duration: 100
35
- },
36
- bouncy: {
37
- damping: 9,
38
- mass: 0.9,
39
- stiffness: 150
40
- },
41
- lazy: {
42
- damping: 18,
43
- stiffness: 50
44
- },
45
- medium: {
46
- damping: 15,
47
- stiffness: 120,
48
- mass: 1
49
- },
50
- slow: {
51
- damping: 15,
52
- stiffness: 40
53
- },
54
- quick: {
55
- damping: 20,
56
- mass: 1.2,
57
- stiffness: 250
58
- },
59
- tooltip: {
60
- damping: 10,
61
- mass: 0.9,
62
- stiffness: 100
63
- },
64
- select: {
65
- damping: 45,
66
- mass: 0.5,
67
- stiffness: 1e3
68
- }
29
+ "100ms": {
30
+ type: "timing",
31
+ duration: 100
32
+ },
33
+ bouncy: {
34
+ damping: 9,
35
+ mass: .9,
36
+ stiffness: 150
37
+ },
38
+ lazy: {
39
+ damping: 18,
40
+ stiffness: 50
41
+ },
42
+ medium: {
43
+ damping: 15,
44
+ stiffness: 120,
45
+ mass: 1
46
+ },
47
+ slow: {
48
+ damping: 15,
49
+ stiffness: 40
50
+ },
51
+ quick: {
52
+ damping: 20,
53
+ mass: 1.2,
54
+ stiffness: 250
55
+ },
56
+ tooltip: {
57
+ damping: 10,
58
+ mass: .9,
59
+ stiffness: 100
60
+ },
61
+ select: {
62
+ damping: 45,
63
+ mass: .5,
64
+ stiffness: 1e3
65
+ }
69
66
  });
67
+
70
68
  //# sourceMappingURL=animations.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["animations_native_exports","__export","animations","module","exports","__toCommonJS","import_animations_react_native","require","createAnimations","type","duration","bouncy","damping","mass","stiffness","lazy","medium","slow","quick","tooltip","select"],"sources":["../src/animations.native.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,yBAAA;AAAAC,QAAA,CAAAD,yBAAA;EAAAE,UAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAL,yBAAA;AAAA,IAAAM,8BAAA,GAAiCC,OAAA;AAC1B,IAAIL,UAAA,OAAaI,8BAAA,CAAAE,gBAAA,EAAiB;EACrC,SAAS;IACLC,IAAA,EAAM;IACNC,QAAA,EAAU;EACd;EACAC,MAAA,EAAQ;IACJC,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACf;EACAC,IAAA,EAAM;IACFH,OAAA,EAAS;IACTE,SAAA,EAAW;EACf;EACAE,MAAA,EAAQ;IACJJ,OAAA,EAAS;IACTE,SAAA,EAAW;IACXD,IAAA,EAAM;EACV;EACAI,IAAA,EAAM;IACFL,OAAA,EAAS;IACTE,SAAA,EAAW;EACf;EACAI,KAAA,EAAO;IACHN,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACf;EACAK,OAAA,EAAS;IACLP,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACf;EACAM,MAAA,EAAQ;IACJR,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACf;AACJ,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"animations.native.js","names":[],"sources":["animations.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 animations_native_exports = {};\n__export(animations_native_exports, {\n animations: () => animations\n});\nmodule.exports = __toCommonJS(animations_native_exports);\nvar import_animations_react_native = require(\"@tamagui/animations-react-native\");\nvar animations = (0, import_animations_react_native.createAnimations)({\n \"100ms\": {\n type: \"timing\",\n duration: 100\n },\n bouncy: {\n damping: 9,\n mass: 0.9,\n stiffness: 150\n },\n lazy: {\n damping: 18,\n stiffness: 50\n },\n medium: {\n damping: 15,\n stiffness: 120,\n mass: 1\n },\n slow: {\n damping: 15,\n stiffness: 40\n },\n quick: {\n damping: 20,\n mass: 1.2,\n stiffness: 250\n },\n tooltip: {\n damping: 10,\n mass: 0.9,\n stiffness: 100\n },\n select: {\n damping: 45,\n mass: 0.5,\n stiffness: 1e3\n }\n});\n//# sourceMappingURL=animations.native.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,4BAA4B,CAAC;AACjC,SAAS,2BAA2B,EAClC,kBAAkB,WACpB,CAAC;AACD,OAAO,UAAU,aAAa,yBAAyB;AACvD,IAAI,iCAAiC,QAAQ,kCAAkC;AAC/E,IAAI,cAAc,GAAG,+BAA+B,kBAAkB;CACpE,SAAS;EACP,MAAM;EACN,UAAU;CACZ;CACA,QAAQ;EACN,SAAS;EACT,MAAM;EACN,WAAW;CACb;CACA,MAAM;EACJ,SAAS;EACT,WAAW;CACb;CACA,QAAQ;EACN,SAAS;EACT,WAAW;EACX,MAAM;CACR;CACA,MAAM;EACJ,SAAS;EACT,WAAW;CACb;CACA,OAAO;EACL,SAAS;EACT,MAAM;EACN,WAAW;CACb;CACA,SAAS;EACP,SAAS;EACT,MAAM;EACN,WAAW;CACb;CACA,QAAQ;EACN,SAAS;EACT,MAAM;EACN,WAAW;CACb;AACF,CAAC"}