@tamagui/tamagui-dev-config 1.125.11 → 1.125.13

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.
Files changed (57) hide show
  1. package/dist/cjs/animations.cjs +107 -0
  2. package/dist/cjs/animations.css.cjs +42 -0
  3. package/dist/cjs/animations.css.js +36 -0
  4. package/dist/cjs/animations.css.js.map +6 -0
  5. package/dist/cjs/animations.js +102 -0
  6. package/dist/cjs/animations.js.map +6 -0
  7. package/dist/cjs/animations.reanimated.cjs +83 -0
  8. package/dist/cjs/animations.reanimated.js +78 -0
  9. package/dist/cjs/animations.reanimated.js.map +6 -0
  10. package/dist/cjs/createGenericFont.cjs +61 -0
  11. package/dist/cjs/createGenericFont.js +54 -0
  12. package/dist/cjs/createGenericFont.js.map +6 -0
  13. package/dist/cjs/fonts.cjs +226 -0
  14. package/dist/cjs/fonts.js +217 -0
  15. package/dist/cjs/fonts.js.map +6 -0
  16. package/dist/cjs/index.cjs +21 -0
  17. package/dist/cjs/index.js +18 -0
  18. package/dist/cjs/index.js.map +6 -0
  19. package/dist/cjs/media.cjs +85 -0
  20. package/dist/cjs/media.js +49 -0
  21. package/dist/cjs/media.js.map +6 -0
  22. package/dist/cjs/tamagui.dev.config.cjs +101 -0
  23. package/dist/cjs/tamagui.dev.config.js +72 -0
  24. package/dist/cjs/tamagui.dev.config.js.map +6 -0
  25. package/dist/esm/animations.css.js +20 -0
  26. package/dist/esm/animations.css.js.map +6 -0
  27. package/dist/esm/animations.css.mjs +19 -0
  28. package/dist/esm/animations.css.mjs.map +1 -0
  29. package/dist/esm/animations.js +86 -0
  30. package/dist/esm/animations.js.map +6 -0
  31. package/dist/esm/animations.mjs +84 -0
  32. package/dist/esm/animations.mjs.map +1 -0
  33. package/dist/esm/animations.reanimated.js +62 -0
  34. package/dist/esm/animations.reanimated.js.map +6 -0
  35. package/dist/esm/animations.reanimated.mjs +60 -0
  36. package/dist/esm/animations.reanimated.mjs.map +1 -0
  37. package/dist/esm/createGenericFont.js +38 -0
  38. package/dist/esm/createGenericFont.js.map +6 -0
  39. package/dist/esm/createGenericFont.mjs +38 -0
  40. package/dist/esm/createGenericFont.mjs.map +1 -0
  41. package/dist/esm/fonts.js +208 -0
  42. package/dist/esm/fonts.js.map +6 -0
  43. package/dist/esm/fonts.mjs +195 -0
  44. package/dist/esm/fonts.mjs.map +1 -0
  45. package/dist/esm/index.js +5 -0
  46. package/dist/esm/index.js.map +6 -0
  47. package/dist/esm/index.mjs +5 -0
  48. package/dist/esm/index.mjs.map +1 -0
  49. package/dist/esm/media.js +33 -0
  50. package/dist/esm/media.js.map +6 -0
  51. package/dist/esm/media.mjs +59 -0
  52. package/dist/esm/media.mjs.map +1 -0
  53. package/dist/esm/tamagui.dev.config.js +72 -0
  54. package/dist/esm/tamagui.dev.config.js.map +6 -0
  55. package/dist/esm/tamagui.dev.config.mjs +78 -0
  56. package/dist/esm/tamagui.dev.config.mjs.map +1 -0
  57. package/package.json +13 -8
@@ -0,0 +1,107 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
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, {
13
+ get: () => from[key],
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ });
16
+ return to;
17
+ };
18
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
+ value: !0
20
+ }), mod);
21
+ var animations_exports = {};
22
+ __export(animations_exports, {
23
+ animations: () => animations
24
+ });
25
+ module.exports = __toCommonJS(animations_exports);
26
+ var import_animations_moti = require("@tamagui/animations-moti");
27
+ const animations = (0, import_animations_moti.createAnimations)({
28
+ "75ms": {
29
+ type: "timing",
30
+ duration: 75
31
+ },
32
+ "100ms": {
33
+ type: "timing",
34
+ duration: 100
35
+ },
36
+ "200ms": {
37
+ type: "timing",
38
+ duration: 200
39
+ },
40
+ superBouncy: {
41
+ type: "spring",
42
+ damping: 5,
43
+ mass: 0.7,
44
+ stiffness: 200
45
+ },
46
+ bouncy: {
47
+ type: "spring",
48
+ damping: 9,
49
+ mass: 0.9,
50
+ stiffness: 150
51
+ },
52
+ kindaBouncy: {
53
+ type: "spring",
54
+ damping: 16,
55
+ mass: 1,
56
+ stiffness: 25
57
+ },
58
+ superLazy: {
59
+ type: "spring",
60
+ damping: 25,
61
+ mass: 2,
62
+ stiffness: 25
63
+ },
64
+ lazy: {
65
+ type: "spring",
66
+ damping: 18,
67
+ stiffness: 50
68
+ },
69
+ medium: {
70
+ damping: 16,
71
+ stiffness: 120,
72
+ mass: 0.8
73
+ },
74
+ slowest: {
75
+ type: "spring",
76
+ damping: 15,
77
+ stiffness: 10
78
+ },
79
+ slow: {
80
+ type: "spring",
81
+ damping: 15,
82
+ stiffness: 60
83
+ },
84
+ quick: {
85
+ type: "spring",
86
+ damping: 20,
87
+ mass: 1.2,
88
+ stiffness: 250
89
+ },
90
+ tooltip: {
91
+ type: "spring",
92
+ damping: 10,
93
+ mass: 0.9,
94
+ stiffness: 100
95
+ },
96
+ quicker: {
97
+ type: "spring",
98
+ damping: 20,
99
+ mass: 1,
100
+ stiffness: 250
101
+ },
102
+ quickest: {
103
+ damping: 14,
104
+ mass: 0.1,
105
+ stiffness: 380
106
+ }
107
+ });
@@ -0,0 +1,42 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
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, {
13
+ get: () => from[key],
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ });
16
+ return to;
17
+ };
18
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
+ value: !0
20
+ }), mod);
21
+ var animations_css_exports = {};
22
+ __export(animations_css_exports, {
23
+ animationsCSS: () => animationsCSS
24
+ });
25
+ module.exports = __toCommonJS(animations_css_exports);
26
+ var import_animations_css = require("@tamagui/animations-css");
27
+ const smoothBezier = "cubic-bezier(0.215, 0.610, 0.355, 1.000)",
28
+ animationsCSS = (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 800ms",
35
+ superLazy: "ease-in 1000ms",
36
+ medium: "ease-in 300ms",
37
+ slow: "ease-in 500ms",
38
+ quick: `${smoothBezier} 240ms`,
39
+ quicker: `${smoothBezier} 180ms`,
40
+ quickest: `${smoothBezier} 90ms`,
41
+ tooltip: "ease-in 400ms"
42
+ });
@@ -0,0 +1,36 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: !0 });
8
+ }, __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from == "object" || typeof from == "function")
10
+ for (let key of __getOwnPropNames(from))
11
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
+ var animations_css_exports = {};
16
+ __export(animations_css_exports, {
17
+ animationsCSS: () => animationsCSS
18
+ });
19
+ module.exports = __toCommonJS(animations_css_exports);
20
+ var import_animations_css = require("@tamagui/animations-css");
21
+ const smoothBezier = "cubic-bezier(0.215, 0.610, 0.355, 1.000)", animationsCSS = (0, import_animations_css.createAnimations)({
22
+ "75ms": "ease-in 75ms",
23
+ "100ms": "ease-in 100ms",
24
+ "200ms": "ease-in 200ms",
25
+ bouncy: "ease-in 200ms",
26
+ superBouncy: "ease-in 500ms",
27
+ lazy: "ease-in 800ms",
28
+ superLazy: "ease-in 1000ms",
29
+ medium: "ease-in 300ms",
30
+ slow: "ease-in 500ms",
31
+ quick: `${smoothBezier} 240ms`,
32
+ quicker: `${smoothBezier} 180ms`,
33
+ quickest: `${smoothBezier} 90ms`,
34
+ tooltip: "ease-in 400ms"
35
+ });
36
+ //# sourceMappingURL=animations.css.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/animations.css.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAAiC;AAEjC,MAAM,eAAe,4CAER,oBAAgB,wCAAiB;AAAA,EAC5C,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,MAAM;AAAA,EACN,WAAW;AAAA,EACX,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,OAAO,GAAG,YAAY;AAAA,EACtB,SAAS,GAAG,YAAY;AAAA,EACxB,UAAU,GAAG,YAAY;AAAA,EACzB,SAAS;AACX,CAAC;",
5
+ "names": []
6
+ }
@@ -0,0 +1,102 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: !0 });
8
+ }, __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from == "object" || typeof from == "function")
10
+ for (let key of __getOwnPropNames(from))
11
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
+ var animations_exports = {};
16
+ __export(animations_exports, {
17
+ animations: () => animations
18
+ });
19
+ module.exports = __toCommonJS(animations_exports);
20
+ var import_animations_moti = require("@tamagui/animations-moti");
21
+ const animations = (0, import_animations_moti.createAnimations)({
22
+ "75ms": {
23
+ type: "timing",
24
+ duration: 75
25
+ },
26
+ "100ms": {
27
+ type: "timing",
28
+ duration: 100
29
+ },
30
+ "200ms": {
31
+ type: "timing",
32
+ duration: 200
33
+ },
34
+ superBouncy: {
35
+ type: "spring",
36
+ damping: 5,
37
+ mass: 0.7,
38
+ stiffness: 200
39
+ },
40
+ bouncy: {
41
+ type: "spring",
42
+ damping: 9,
43
+ mass: 0.9,
44
+ stiffness: 150
45
+ },
46
+ kindaBouncy: {
47
+ type: "spring",
48
+ damping: 16,
49
+ mass: 1,
50
+ stiffness: 25
51
+ },
52
+ superLazy: {
53
+ type: "spring",
54
+ damping: 25,
55
+ mass: 2,
56
+ stiffness: 25
57
+ },
58
+ lazy: {
59
+ type: "spring",
60
+ damping: 18,
61
+ stiffness: 50
62
+ },
63
+ medium: {
64
+ damping: 16,
65
+ stiffness: 120,
66
+ mass: 0.8
67
+ },
68
+ slowest: {
69
+ type: "spring",
70
+ damping: 15,
71
+ stiffness: 10
72
+ },
73
+ slow: {
74
+ type: "spring",
75
+ damping: 15,
76
+ stiffness: 60
77
+ },
78
+ quick: {
79
+ type: "spring",
80
+ damping: 20,
81
+ mass: 1.2,
82
+ stiffness: 250
83
+ },
84
+ tooltip: {
85
+ type: "spring",
86
+ damping: 10,
87
+ mass: 0.9,
88
+ stiffness: 100
89
+ },
90
+ quicker: {
91
+ type: "spring",
92
+ damping: 20,
93
+ mass: 1,
94
+ stiffness: 250
95
+ },
96
+ quickest: {
97
+ damping: 14,
98
+ mass: 0.1,
99
+ stiffness: 380
100
+ }
101
+ });
102
+ //# sourceMappingURL=animations.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/animations.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAAiC;AAE1B,MAAM,iBAAa,yCAAiB;AAAA,EACzC,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA,SAAS;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA,SAAS;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,WAAW;AAAA,IACT,MAAM;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,QAAQ;AAAA,IACN,SAAS;AAAA,IACT,WAAW;AAAA,IACX,MAAM;AAAA,EACR;AAAA,EACA,SAAS;AAAA,IACP,MAAM;AAAA,IACN,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,OAAO;AAAA,IACL,MAAM;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,SAAS;AAAA,IACP,MAAM;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,SAAS;AAAA,IACP,MAAM;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,UAAU;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AACF,CAAC;",
5
+ "names": []
6
+ }
@@ -0,0 +1,83 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
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, {
13
+ get: () => from[key],
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ });
16
+ return to;
17
+ };
18
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
+ value: !0
20
+ }), mod);
21
+ var animations_reanimated_exports = {};
22
+ __export(animations_reanimated_exports, {
23
+ animations: () => animations
24
+ });
25
+ module.exports = __toCommonJS(animations_reanimated_exports);
26
+ var import_animations_moti = require("@tamagui/animations-moti");
27
+ const animations = (0, import_animations_moti.createAnimations)({
28
+ "75ms": {
29
+ type: "timing",
30
+ duration: 75
31
+ },
32
+ "100ms": {
33
+ type: "timing",
34
+ duration: 100
35
+ },
36
+ "200ms": {
37
+ type: "timing",
38
+ duration: 200
39
+ },
40
+ superBouncy: {
41
+ damping: 5,
42
+ mass: 0.7,
43
+ stiffness: 200
44
+ },
45
+ bouncy: {
46
+ damping: 9,
47
+ mass: 0.9,
48
+ stiffness: 150
49
+ },
50
+ medium: {
51
+ damping: 15,
52
+ stiffness: 120,
53
+ mass: 1
54
+ },
55
+ lazy: {
56
+ damping: 18,
57
+ stiffness: 50
58
+ },
59
+ slow: {
60
+ damping: 15,
61
+ stiffness: 40
62
+ },
63
+ quick: {
64
+ damping: 20,
65
+ mass: 1.2,
66
+ stiffness: 250
67
+ },
68
+ tooltip: {
69
+ damping: 10,
70
+ mass: 0.9,
71
+ stiffness: 100
72
+ },
73
+ quicker: {
74
+ damping: 20,
75
+ mass: 0.7,
76
+ stiffness: 250
77
+ },
78
+ quickest: {
79
+ damping: 5,
80
+ mass: 0.2,
81
+ stiffness: 300
82
+ }
83
+ });
@@ -0,0 +1,78 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: !0 });
8
+ }, __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from == "object" || typeof from == "function")
10
+ for (let key of __getOwnPropNames(from))
11
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
+ var animations_reanimated_exports = {};
16
+ __export(animations_reanimated_exports, {
17
+ animations: () => animations
18
+ });
19
+ module.exports = __toCommonJS(animations_reanimated_exports);
20
+ var import_animations_moti = require("@tamagui/animations-moti");
21
+ const animations = (0, import_animations_moti.createAnimations)({
22
+ "75ms": {
23
+ type: "timing",
24
+ duration: 75
25
+ },
26
+ "100ms": {
27
+ type: "timing",
28
+ duration: 100
29
+ },
30
+ "200ms": {
31
+ type: "timing",
32
+ duration: 200
33
+ },
34
+ superBouncy: {
35
+ damping: 5,
36
+ mass: 0.7,
37
+ stiffness: 200
38
+ },
39
+ bouncy: {
40
+ damping: 9,
41
+ mass: 0.9,
42
+ stiffness: 150
43
+ },
44
+ medium: {
45
+ damping: 15,
46
+ stiffness: 120,
47
+ mass: 1
48
+ },
49
+ lazy: {
50
+ damping: 18,
51
+ stiffness: 50
52
+ },
53
+ slow: {
54
+ damping: 15,
55
+ stiffness: 40
56
+ },
57
+ quick: {
58
+ damping: 20,
59
+ mass: 1.2,
60
+ stiffness: 250
61
+ },
62
+ tooltip: {
63
+ damping: 10,
64
+ mass: 0.9,
65
+ stiffness: 100
66
+ },
67
+ quicker: {
68
+ damping: 20,
69
+ mass: 0.7,
70
+ stiffness: 250
71
+ },
72
+ quickest: {
73
+ damping: 5,
74
+ mass: 0.2,
75
+ stiffness: 300
76
+ }
77
+ });
78
+ //# sourceMappingURL=animations.reanimated.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/animations.reanimated.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAAiC;AAE1B,MAAM,iBAAa,yCAAiB;AAAA,EACzC,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA,SAAS;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA,SAAS;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA,aAAa;AAAA,IACX,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,QAAQ;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,QAAQ;AAAA,IACN,SAAS;AAAA,IACT,WAAW;AAAA,IACX,MAAM;AAAA,EACR;AAAA,EACA,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,WAAW;AAAA,EACb;AAAA,EACA,OAAO;AAAA,IACL,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,SAAS;AAAA,IACP,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,SAAS;AAAA,IACP,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,UAAU;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AACF,CAAC;",
5
+ "names": []
6
+ }
@@ -0,0 +1,61 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
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, {
13
+ get: () => from[key],
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ });
16
+ return to;
17
+ };
18
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
+ value: !0
20
+ }), mod);
21
+ var createGenericFont_exports = {};
22
+ __export(createGenericFont_exports, {
23
+ createGenericFont: () => createGenericFont
24
+ });
25
+ module.exports = __toCommonJS(createGenericFont_exports);
26
+ var import_core = require("@tamagui/core");
27
+ const genericFontSizes = {
28
+ 1: 10,
29
+ 2: 11,
30
+ 3: 12,
31
+ 4: 14,
32
+ 5: 15,
33
+ 6: 16,
34
+ 7: 20,
35
+ 8: 22,
36
+ 9: 30,
37
+ 10: 42,
38
+ 11: 52,
39
+ 12: 62,
40
+ 13: 72,
41
+ 14: 92,
42
+ 15: 114,
43
+ 16: 124
44
+ };
45
+ function createGenericFont(family, font = {}, {
46
+ sizeLineHeight = val => val * 1.35
47
+ } = {}) {
48
+ const size = font.size || genericFontSizes;
49
+ return (0, import_core.createFont)({
50
+ family,
51
+ size,
52
+ lineHeight: Object.fromEntries(Object.entries(size).map(([k, v]) => [k, sizeLineHeight(+v)])),
53
+ weight: {
54
+ 0: "300"
55
+ },
56
+ letterSpacing: {
57
+ 4: 0
58
+ },
59
+ ...font
60
+ });
61
+ }
@@ -0,0 +1,54 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: !0 });
8
+ }, __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from == "object" || typeof from == "function")
10
+ for (let key of __getOwnPropNames(from))
11
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
+ var createGenericFont_exports = {};
16
+ __export(createGenericFont_exports, {
17
+ createGenericFont: () => createGenericFont
18
+ });
19
+ module.exports = __toCommonJS(createGenericFont_exports);
20
+ var import_core = require("@tamagui/core");
21
+ const genericFontSizes = {
22
+ 1: 10,
23
+ 2: 11,
24
+ 3: 12,
25
+ 4: 14,
26
+ 5: 15,
27
+ 6: 16,
28
+ 7: 20,
29
+ 8: 22,
30
+ 9: 30,
31
+ 10: 42,
32
+ 11: 52,
33
+ 12: 62,
34
+ 13: 72,
35
+ 14: 92,
36
+ 15: 114,
37
+ 16: 124
38
+ };
39
+ function createGenericFont(family, font = {}, {
40
+ sizeLineHeight = (val) => val * 1.35
41
+ } = {}) {
42
+ const size = font.size || genericFontSizes;
43
+ return (0, import_core.createFont)({
44
+ family,
45
+ size,
46
+ lineHeight: Object.fromEntries(
47
+ Object.entries(size).map(([k, v]) => [k, sizeLineHeight(+v)])
48
+ ),
49
+ weight: { 0: "300" },
50
+ letterSpacing: { 4: 0 },
51
+ ...font
52
+ });
53
+ }
54
+ //# sourceMappingURL=createGenericFont.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/createGenericFont.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,kBAA2B;AAE3B,MAAM,mBAAmB;AAAA,EACvB,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;AAEO,SAAS,kBACd,QACA,OAAmB,CAAC,GACpB;AAAA,EACE,iBAAiB,CAAC,QAAQ,MAAM;AAClC,IAEI,CAAC,GACF;AACH,QAAM,OAAO,KAAK,QAAQ;AAC1B,aAAO,wBAAW;AAAA,IAChB;AAAA,IACA;AAAA,IACA,YAAY,OAAO;AAAA,MACjB,OAAO,QAAQ,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,eAAe,CAAC,CAAC,CAAC,CAAC;AAAA,IAC9D;AAAA,IACA,QAAQ,EAAE,GAAG,MAAM;AAAA,IACnB,eAAe,EAAE,GAAG,EAAE;AAAA,IACtB,GAAI;AAAA,EACN,CAAC;AACH;",
5
+ "names": []
6
+ }