@tamagui/config-default 2.7.7 → 3.0.0-beta.1093.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.
@@ -3,42 +3,24 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
10
  };
11
11
  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;
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;
19
19
  };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
21
  var animations_exports = {};
24
- __export(animations_exports, {
25
- animations: () => animations
26
- });
22
+ __export(animations_exports, { animations: () => animations });
27
23
  module.exports = __toCommonJS(animations_exports);
28
- var import_animations_css = require("@tamagui/animations-css");
29
- const smoothBezier = "cubic-bezier(0.215, 0.610, 0.355, 1.000)";
30
- 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
- });
24
+ var import_extras = require("@tamagui/animations-css/extras");
25
+ var import_presets = require("./presets.cjs");
26
+ const animations = (0, import_extras.createAnimations)(import_presets.presets);
@@ -0,0 +1,28 @@
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 animations_native_exports = {};
24
+ __export(animations_native_exports, { animations: () => animations });
25
+ module.exports = __toCommonJS(animations_native_exports);
26
+ var import_animations_react_native = require("@tamagui/animations-react-native");
27
+ var import_presets = require("./presets.native.js");
28
+ var animations = (0, import_animations_react_native.createAnimations)(import_presets.presets);
@@ -5,66 +5,26 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
12
  };
13
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;
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
21
  };
22
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
23
- value: true
24
- }), mod);
22
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
25
23
  var animations_native_exports = {};
26
- __export(animations_native_exports, {
27
- animations: () => animations
28
- });
24
+ __export(animations_native_exports, { animations: () => animations });
29
25
  module.exports = __toCommonJS(animations_native_exports);
30
26
  var import_animations_react_native = require("@tamagui/animations-react-native");
31
- 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
- }
69
- });
27
+ var import_presets = require("./presets.native.js");
28
+ var animations = (0, import_animations_react_native.createAnimations)(import_presets.presets);
29
+
70
30
  //# 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 import_presets = require(\"./presets\");\nvar animations = (0, import_animations_react_native.createAnimations)(import_presets.presets);\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,iBAAiB,QAAQ,qBAAW;AACxC,IAAI,cAAc,GAAG,+BAA+B,iBAAgB,CAAE,eAAe,OAAO"}