@tamagui/config-default 2.0.0-rc.4 → 2.0.0-rc.40

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,20 +3,22 @@ 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: !0
9
- });
10
- },
11
- __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ };
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, {
13
14
  get: () => from[key],
14
15
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
16
  });
16
- return to;
17
- };
17
+ }
18
+ return to;
19
+ };
18
20
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
- value: !0
21
+ value: true
20
22
  }), mod);
21
23
  var animations_exports = {};
22
24
  __export(animations_exports, {
@@ -24,19 +26,19 @@ __export(animations_exports, {
24
26
  });
25
27
  module.exports = __toCommonJS(animations_exports);
26
28
  var import_animations_css = require("@tamagui/animations-css");
27
- const smoothBezier = "cubic-bezier(0.215, 0.610, 0.355, 1.000)",
28
- animations = (0, import_animations_css.createAnimations)({
29
- "75ms": "ease-in 75ms",
30
- "100ms": "ease-in 100ms",
31
- "200ms": "ease-in 200ms",
32
- bouncy: "ease-in 200ms",
33
- superBouncy: "ease-in 500ms",
34
- lazy: "ease-in 1000ms",
35
- medium: "ease-in 300ms",
36
- slow: "ease-in 500ms",
37
- quick: `${smoothBezier} 400ms`,
38
- quicker: `${smoothBezier} 300ms`,
39
- quickest: `${smoothBezier} 200ms`,
40
- tooltip: "ease-in 400ms",
41
- select: "ease-in 150ms"
42
- });
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
+ });
@@ -5,64 +5,66 @@ 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: !0
11
- });
12
- },
13
- __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
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, {
15
16
  get: () => from[key],
16
17
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
18
  });
18
- return to;
19
- };
19
+ }
20
+ return to;
21
+ };
20
22
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: !0
23
+ value: true
22
24
  }), mod);
23
25
  var animations_native_exports = {};
24
26
  __export(animations_native_exports, {
25
27
  animations: () => animations
26
28
  });
27
29
  module.exports = __toCommonJS(animations_native_exports);
28
- var import_animations_react_native = require("@tamagui/animations-react-native"),
29
- animations = (0, import_animations_react_native.createAnimations)({
30
- "100ms": {
31
- type: "timing",
32
- duration: 100
33
- },
34
- bouncy: {
35
- damping: 9,
36
- mass: 0.9,
37
- stiffness: 150
38
- },
39
- lazy: {
40
- damping: 18,
41
- stiffness: 50
42
- },
43
- medium: {
44
- damping: 15,
45
- stiffness: 120,
46
- mass: 1
47
- },
48
- slow: {
49
- damping: 15,
50
- stiffness: 40
51
- },
52
- quick: {
53
- damping: 20,
54
- mass: 1.2,
55
- stiffness: 250
56
- },
57
- tooltip: {
58
- damping: 10,
59
- mass: 0.9,
60
- stiffness: 100
61
- },
62
- select: {
63
- damping: 45,
64
- mass: 0.5,
65
- stiffness: 1e3
66
- }
67
- });
30
+ 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
+ });
68
70
  //# 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;EACtBL,UAAA,OAAaI,8BAAA,CAAAE,gBAAA,EAAiB;IACrC,SAAS;MACLC,IAAA,EAAM;MACNC,QAAA,EAAU;IACd;IACAC,MAAA,EAAQ;MACJC,OAAA,EAAS;MACTC,IAAA,EAAM;MACNC,SAAA,EAAW;IACf;IACAC,IAAA,EAAM;MACFH,OAAA,EAAS;MACTE,SAAA,EAAW;IACf;IACAE,MAAA,EAAQ;MACJJ,OAAA,EAAS;MACTE,SAAA,EAAW;MACXD,IAAA,EAAM;IACV;IACAI,IAAA,EAAM;MACFL,OAAA,EAAS;MACTE,SAAA,EAAW;IACf;IACAI,KAAA,EAAO;MACHN,OAAA,EAAS;MACTC,IAAA,EAAM;MACNC,SAAA,EAAW;IACf;IACAK,OAAA,EAAS;MACLP,OAAA,EAAS;MACTC,IAAA,EAAM;MACNC,SAAA,EAAW;IACf;IACAM,MAAA,EAAQ;MACJR,OAAA,EAAS;MACTC,IAAA,EAAM;MACNC,SAAA,EAAW;IACf;EACJ,CAAC","ignoreList":[]}
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":[]}