@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,101 @@
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 tamagui_dev_config_exports = {};
22
+ __export(tamagui_dev_config_exports, {
23
+ config: () => config
24
+ });
25
+ module.exports = __toCommonJS(tamagui_dev_config_exports);
26
+ var import_v3 = require("@tamagui/config/v3"),
27
+ import_core = require("@tamagui/core"),
28
+ import_v2 = require("@tamagui/shorthands/v2"),
29
+ import_v4 = require("@tamagui/themes/v4"),
30
+ import_animations = require("./animations.cjs"),
31
+ import_fonts = require("./fonts.cjs"),
32
+ import_media = require("./media.cjs");
33
+ (0, import_core.setupDev)({
34
+ visualizer: !0
35
+ });
36
+ const fonts = {
37
+ heading: import_fonts.headingFont,
38
+ headingDmSans: import_fonts.dmSansHeadingFont,
39
+ headingDmSerifDisplay: import_fonts.dmSerifDisplayHeadingFont,
40
+ headingNohemi: import_fonts.nohemiFont,
41
+ body: import_fonts.bodyFont,
42
+ mono: import_fonts.monoFont,
43
+ silkscreen: import_fonts.silkscreenFont,
44
+ munro: import_fonts.munroFont,
45
+ cherryBomb: import_fonts.cherryBombFont
46
+ },
47
+ fixTypescript55Bug = {
48
+ space: import_v3.tokens.space,
49
+ size: import_v3.tokens.size,
50
+ radius: import_v3.tokens.radius,
51
+ zIndex: import_v3.tokens.zIndex,
52
+ color: import_v3.tokens.color
53
+ },
54
+ config = {
55
+ fonts,
56
+ animations: import_animations.animations,
57
+ themes: import_v4.tamaguiThemes,
58
+ media: import_media.media,
59
+ shorthands: import_v2.shorthands,
60
+ tokens: fixTypescript55Bug,
61
+ settings: {
62
+ defaultFont: "body",
63
+ shouldAddPrefersColorThemes: !0,
64
+ maxDarkLightNesting: 2,
65
+ themeClassNameOnRoot: !0,
66
+ disableRootThemeClass: !0,
67
+ mediaQueryDefaultActive: import_media.mediaQueryDefaultActive,
68
+ selectionStyles: theme => ({
69
+ backgroundColor: theme.color5,
70
+ color: theme.color11
71
+ }),
72
+ allowedStyleValues: "somewhat-strict-web",
73
+ autocompleteSpecificTokens: "except-special"
74
+ }
75
+ };
76
+ Object.assign(config.media, {
77
+ tiny: {
78
+ maxWidth: 500
79
+ },
80
+ gtTiny: {
81
+ minWidth: 501
82
+ },
83
+ small: {
84
+ maxWidth: 620
85
+ },
86
+ gtSmall: {
87
+ minWidth: 621
88
+ },
89
+ medium: {
90
+ maxWidth: 780
91
+ },
92
+ gtMedium: {
93
+ minWidth: 781
94
+ },
95
+ large: {
96
+ maxWidth: 900
97
+ },
98
+ gtLarge: {
99
+ minWidth: 901
100
+ }
101
+ });
@@ -0,0 +1,72 @@
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 tamagui_dev_config_exports = {};
16
+ __export(tamagui_dev_config_exports, {
17
+ config: () => config
18
+ });
19
+ module.exports = __toCommonJS(tamagui_dev_config_exports);
20
+ var import_v3 = require("@tamagui/config/v3"), import_core = require("@tamagui/core"), import_v2 = require("@tamagui/shorthands/v2"), import_v4 = require("@tamagui/themes/v4"), import_animations = require("./animations"), import_fonts = require("./fonts"), import_media = require("./media");
21
+ (0, import_core.setupDev)({
22
+ visualizer: !0
23
+ });
24
+ const fonts = {
25
+ heading: import_fonts.headingFont,
26
+ headingDmSans: import_fonts.dmSansHeadingFont,
27
+ headingDmSerifDisplay: import_fonts.dmSerifDisplayHeadingFont,
28
+ headingNohemi: import_fonts.nohemiFont,
29
+ body: import_fonts.bodyFont,
30
+ mono: import_fonts.monoFont,
31
+ silkscreen: import_fonts.silkscreenFont,
32
+ munro: import_fonts.munroFont,
33
+ cherryBomb: import_fonts.cherryBombFont
34
+ }, fixTypescript55Bug = {
35
+ space: import_v3.tokens.space,
36
+ size: import_v3.tokens.size,
37
+ radius: import_v3.tokens.radius,
38
+ zIndex: import_v3.tokens.zIndex,
39
+ color: import_v3.tokens.color
40
+ }, config = {
41
+ fonts,
42
+ animations: import_animations.animations,
43
+ themes: import_v4.tamaguiThemes,
44
+ media: import_media.media,
45
+ shorthands: import_v2.shorthands,
46
+ tokens: fixTypescript55Bug,
47
+ settings: {
48
+ defaultFont: "body",
49
+ shouldAddPrefersColorThemes: !0,
50
+ maxDarkLightNesting: 2,
51
+ themeClassNameOnRoot: !0,
52
+ disableRootThemeClass: !0,
53
+ mediaQueryDefaultActive: import_media.mediaQueryDefaultActive,
54
+ selectionStyles: (theme) => ({
55
+ backgroundColor: theme.color5,
56
+ color: theme.color11
57
+ }),
58
+ allowedStyleValues: "somewhat-strict-web",
59
+ autocompleteSpecificTokens: "except-special"
60
+ }
61
+ };
62
+ Object.assign(config.media, {
63
+ tiny: { maxWidth: 500 },
64
+ gtTiny: { minWidth: 501 },
65
+ small: { maxWidth: 620 },
66
+ gtSmall: { minWidth: 621 },
67
+ medium: { maxWidth: 780 },
68
+ gtMedium: { minWidth: 781 },
69
+ large: { maxWidth: 900 },
70
+ gtLarge: { minWidth: 901 }
71
+ });
72
+ //# sourceMappingURL=tamagui.dev.config.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/tamagui.dev.config.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAAuB,+BAEvB,cAAyB,0BACzB,YAA2B,mCAC3B,YAA8B,+BAC9B,oBAA2B,yBAC3B,eAUO,oBACP,eAA+C;AAAA,IAE/C,sBAAS;AAAA,EACP,YAAY;AACd,CAAC;AAED,MAAM,QAAQ;AAAA,EACZ,SAAS;AAAA,EACT,eAAe;AAAA,EACf,uBAAuB;AAAA,EACvB,eAAe;AAAA,EACf,MAAM;AAAA,EACN,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,YAAY;AACd,GAGM,qBAAqB;AAAA,EACzB,OAAO,iBAAO;AAAA,EACd,MAAM,iBAAO;AAAA,EACb,QAAQ,iBAAO;AAAA,EACf,QAAQ,iBAAO;AAAA,EACf,OAAO,iBAAO;AAChB,GAEa,SAAS;AAAA,EACpB;AAAA,EACA;AAAA,EACA,QAAQ;AAAA,EACR;AAAA,EACA;AAAA,EACA,QAAQ;AAAA,EACR,UAAU;AAAA,IACR,aAAa;AAAA,IACb,6BAA6B;AAAA,IAC7B,qBAAqB;AAAA,IACrB,sBAAsB;AAAA,IACtB,uBAAuB;AAAA,IACvB;AAAA,IACA,iBAAiB,CAAC,WAAW;AAAA,MAC3B,iBAAiB,MAAM;AAAA,MACvB,OAAO,MAAM;AAAA,IACf;AAAA,IACA,oBAAoB;AAAA,IACpB,4BAA4B;AAAA,EAC9B;AACF;AAGA,OAAO,OAAO,OAAO,OAAO;AAAA,EAC1B,MAAM,EAAE,UAAU,IAAI;AAAA,EACtB,QAAQ,EAAE,UAAU,IAAQ;AAAA,EAC5B,OAAO,EAAE,UAAU,IAAI;AAAA,EACvB,SAAS,EAAE,UAAU,IAAQ;AAAA,EAC7B,QAAQ,EAAE,UAAU,IAAI;AAAA,EACxB,UAAU,EAAE,UAAU,IAAQ;AAAA,EAC9B,OAAO,EAAE,UAAU,IAAI;AAAA,EACvB,SAAS,EAAE,UAAU,IAAQ;AAC/B,CAAC;",
5
+ "names": []
6
+ }
@@ -0,0 +1,20 @@
1
+ import { createAnimations } from "@tamagui/animations-css";
2
+ const smoothBezier = "cubic-bezier(0.215, 0.610, 0.355, 1.000)", animationsCSS = createAnimations({
3
+ "75ms": "ease-in 75ms",
4
+ "100ms": "ease-in 100ms",
5
+ "200ms": "ease-in 200ms",
6
+ bouncy: "ease-in 200ms",
7
+ superBouncy: "ease-in 500ms",
8
+ lazy: "ease-in 800ms",
9
+ superLazy: "ease-in 1000ms",
10
+ medium: "ease-in 300ms",
11
+ slow: "ease-in 500ms",
12
+ quick: `${smoothBezier} 240ms`,
13
+ quicker: `${smoothBezier} 180ms`,
14
+ quickest: `${smoothBezier} 90ms`,
15
+ tooltip: "ease-in 400ms"
16
+ });
17
+ export {
18
+ animationsCSS
19
+ };
20
+ //# sourceMappingURL=animations.css.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/animations.css.ts"],
4
+ "mappings": "AAAA,SAAS,wBAAwB;AAEjC,MAAM,eAAe,4CAER,gBAAgB,iBAAiB;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,19 @@
1
+ import { createAnimations } from "@tamagui/animations-css";
2
+ const smoothBezier = "cubic-bezier(0.215, 0.610, 0.355, 1.000)",
3
+ animationsCSS = createAnimations({
4
+ "75ms": "ease-in 75ms",
5
+ "100ms": "ease-in 100ms",
6
+ "200ms": "ease-in 200ms",
7
+ bouncy: "ease-in 200ms",
8
+ superBouncy: "ease-in 500ms",
9
+ lazy: "ease-in 800ms",
10
+ superLazy: "ease-in 1000ms",
11
+ medium: "ease-in 300ms",
12
+ slow: "ease-in 500ms",
13
+ quick: `${smoothBezier} 240ms`,
14
+ quicker: `${smoothBezier} 180ms`,
15
+ quickest: `${smoothBezier} 90ms`,
16
+ tooltip: "ease-in 400ms"
17
+ });
18
+ export { animationsCSS };
19
+ //# sourceMappingURL=animations.css.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createAnimations","smoothBezier","animationsCSS","bouncy","superBouncy","lazy","superLazy","medium","slow","quick","quicker","quickest","tooltip"],"sources":["../../src/animations.css.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,gBAAA,QAAwB;AAEjC,MAAMC,YAAA,GAAe;EAERC,aAAA,GAAgBF,gBAAA,CAAiB;IAC5C,QAAQ;IACR,SAAS;IACT,SAAS;IACTG,MAAA,EAAQ;IACRC,WAAA,EAAa;IACbC,IAAA,EAAM;IACNC,SAAA,EAAW;IACXC,MAAA,EAAQ;IACRC,IAAA,EAAM;IACNC,KAAA,EAAO,GAAGR,YAAY;IACtBS,OAAA,EAAS,GAAGT,YAAY;IACxBU,QAAA,EAAU,GAAGV,YAAY;IACzBW,OAAA,EAAS;EACX,CAAC","ignoreList":[]}
@@ -0,0 +1,86 @@
1
+ import { createAnimations } from "@tamagui/animations-moti";
2
+ const animations = createAnimations({
3
+ "75ms": {
4
+ type: "timing",
5
+ duration: 75
6
+ },
7
+ "100ms": {
8
+ type: "timing",
9
+ duration: 100
10
+ },
11
+ "200ms": {
12
+ type: "timing",
13
+ duration: 200
14
+ },
15
+ superBouncy: {
16
+ type: "spring",
17
+ damping: 5,
18
+ mass: 0.7,
19
+ stiffness: 200
20
+ },
21
+ bouncy: {
22
+ type: "spring",
23
+ damping: 9,
24
+ mass: 0.9,
25
+ stiffness: 150
26
+ },
27
+ kindaBouncy: {
28
+ type: "spring",
29
+ damping: 16,
30
+ mass: 1,
31
+ stiffness: 25
32
+ },
33
+ superLazy: {
34
+ type: "spring",
35
+ damping: 25,
36
+ mass: 2,
37
+ stiffness: 25
38
+ },
39
+ lazy: {
40
+ type: "spring",
41
+ damping: 18,
42
+ stiffness: 50
43
+ },
44
+ medium: {
45
+ damping: 16,
46
+ stiffness: 120,
47
+ mass: 0.8
48
+ },
49
+ slowest: {
50
+ type: "spring",
51
+ damping: 15,
52
+ stiffness: 10
53
+ },
54
+ slow: {
55
+ type: "spring",
56
+ damping: 15,
57
+ stiffness: 60
58
+ },
59
+ quick: {
60
+ type: "spring",
61
+ damping: 20,
62
+ mass: 1.2,
63
+ stiffness: 250
64
+ },
65
+ tooltip: {
66
+ type: "spring",
67
+ damping: 10,
68
+ mass: 0.9,
69
+ stiffness: 100
70
+ },
71
+ quicker: {
72
+ type: "spring",
73
+ damping: 20,
74
+ mass: 1,
75
+ stiffness: 250
76
+ },
77
+ quickest: {
78
+ damping: 14,
79
+ mass: 0.1,
80
+ stiffness: 380
81
+ }
82
+ });
83
+ export {
84
+ animations
85
+ };
86
+ //# sourceMappingURL=animations.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/animations.ts"],
4
+ "mappings": "AAAA,SAAS,wBAAwB;AAE1B,MAAM,aAAa,iBAAiB;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,84 @@
1
+ import { createAnimations } from "@tamagui/animations-moti";
2
+ const animations = createAnimations({
3
+ "75ms": {
4
+ type: "timing",
5
+ duration: 75
6
+ },
7
+ "100ms": {
8
+ type: "timing",
9
+ duration: 100
10
+ },
11
+ "200ms": {
12
+ type: "timing",
13
+ duration: 200
14
+ },
15
+ superBouncy: {
16
+ type: "spring",
17
+ damping: 5,
18
+ mass: 0.7,
19
+ stiffness: 200
20
+ },
21
+ bouncy: {
22
+ type: "spring",
23
+ damping: 9,
24
+ mass: 0.9,
25
+ stiffness: 150
26
+ },
27
+ kindaBouncy: {
28
+ type: "spring",
29
+ damping: 16,
30
+ mass: 1,
31
+ stiffness: 25
32
+ },
33
+ superLazy: {
34
+ type: "spring",
35
+ damping: 25,
36
+ mass: 2,
37
+ stiffness: 25
38
+ },
39
+ lazy: {
40
+ type: "spring",
41
+ damping: 18,
42
+ stiffness: 50
43
+ },
44
+ medium: {
45
+ damping: 16,
46
+ stiffness: 120,
47
+ mass: 0.8
48
+ },
49
+ slowest: {
50
+ type: "spring",
51
+ damping: 15,
52
+ stiffness: 10
53
+ },
54
+ slow: {
55
+ type: "spring",
56
+ damping: 15,
57
+ stiffness: 60
58
+ },
59
+ quick: {
60
+ type: "spring",
61
+ damping: 20,
62
+ mass: 1.2,
63
+ stiffness: 250
64
+ },
65
+ tooltip: {
66
+ type: "spring",
67
+ damping: 10,
68
+ mass: 0.9,
69
+ stiffness: 100
70
+ },
71
+ quicker: {
72
+ type: "spring",
73
+ damping: 20,
74
+ mass: 1,
75
+ stiffness: 250
76
+ },
77
+ quickest: {
78
+ damping: 14,
79
+ mass: 0.1,
80
+ stiffness: 380
81
+ }
82
+ });
83
+ export { animations };
84
+ //# sourceMappingURL=animations.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createAnimations","animations","type","duration","superBouncy","damping","mass","stiffness","bouncy","kindaBouncy","superLazy","lazy","medium","slowest","slow","quick","tooltip","quicker","quickest"],"sources":["../../src/animations.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,gBAAA,QAAwB;AAE1B,MAAMC,UAAA,GAAaD,gBAAA,CAAiB;EACzC,QAAQ;IACNE,IAAA,EAAM;IACNC,QAAA,EAAU;EACZ;EACA,SAAS;IACPD,IAAA,EAAM;IACNC,QAAA,EAAU;EACZ;EACA,SAAS;IACPD,IAAA,EAAM;IACNC,QAAA,EAAU;EACZ;EACAC,WAAA,EAAa;IACXF,IAAA,EAAM;IACNG,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACb;EACAC,MAAA,EAAQ;IACNN,IAAA,EAAM;IACNG,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACb;EACAE,WAAA,EAAa;IACXP,IAAA,EAAM;IACNG,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACb;EACAG,SAAA,EAAW;IACTR,IAAA,EAAM;IACNG,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACb;EACAI,IAAA,EAAM;IACJT,IAAA,EAAM;IACNG,OAAA,EAAS;IACTE,SAAA,EAAW;EACb;EACAK,MAAA,EAAQ;IACNP,OAAA,EAAS;IACTE,SAAA,EAAW;IACXD,IAAA,EAAM;EACR;EACAO,OAAA,EAAS;IACPX,IAAA,EAAM;IACNG,OAAA,EAAS;IACTE,SAAA,EAAW;EACb;EACAO,IAAA,EAAM;IACJZ,IAAA,EAAM;IACNG,OAAA,EAAS;IACTE,SAAA,EAAW;EACb;EACAQ,KAAA,EAAO;IACLb,IAAA,EAAM;IACNG,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACb;EACAS,OAAA,EAAS;IACPd,IAAA,EAAM;IACNG,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACb;EACAU,OAAA,EAAS;IACPf,IAAA,EAAM;IACNG,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACb;EACAW,QAAA,EAAU;IACRb,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACb;AACF,CAAC","ignoreList":[]}
@@ -0,0 +1,62 @@
1
+ import { createAnimations } from "@tamagui/animations-moti";
2
+ const animations = createAnimations({
3
+ "75ms": {
4
+ type: "timing",
5
+ duration: 75
6
+ },
7
+ "100ms": {
8
+ type: "timing",
9
+ duration: 100
10
+ },
11
+ "200ms": {
12
+ type: "timing",
13
+ duration: 200
14
+ },
15
+ superBouncy: {
16
+ damping: 5,
17
+ mass: 0.7,
18
+ stiffness: 200
19
+ },
20
+ bouncy: {
21
+ damping: 9,
22
+ mass: 0.9,
23
+ stiffness: 150
24
+ },
25
+ medium: {
26
+ damping: 15,
27
+ stiffness: 120,
28
+ mass: 1
29
+ },
30
+ lazy: {
31
+ damping: 18,
32
+ stiffness: 50
33
+ },
34
+ slow: {
35
+ damping: 15,
36
+ stiffness: 40
37
+ },
38
+ quick: {
39
+ damping: 20,
40
+ mass: 1.2,
41
+ stiffness: 250
42
+ },
43
+ tooltip: {
44
+ damping: 10,
45
+ mass: 0.9,
46
+ stiffness: 100
47
+ },
48
+ quicker: {
49
+ damping: 20,
50
+ mass: 0.7,
51
+ stiffness: 250
52
+ },
53
+ quickest: {
54
+ damping: 5,
55
+ mass: 0.2,
56
+ stiffness: 300
57
+ }
58
+ });
59
+ export {
60
+ animations
61
+ };
62
+ //# sourceMappingURL=animations.reanimated.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/animations.reanimated.ts"],
4
+ "mappings": "AAAA,SAAS,wBAAwB;AAE1B,MAAM,aAAa,iBAAiB;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,60 @@
1
+ import { createAnimations } from "@tamagui/animations-moti";
2
+ const animations = createAnimations({
3
+ "75ms": {
4
+ type: "timing",
5
+ duration: 75
6
+ },
7
+ "100ms": {
8
+ type: "timing",
9
+ duration: 100
10
+ },
11
+ "200ms": {
12
+ type: "timing",
13
+ duration: 200
14
+ },
15
+ superBouncy: {
16
+ damping: 5,
17
+ mass: 0.7,
18
+ stiffness: 200
19
+ },
20
+ bouncy: {
21
+ damping: 9,
22
+ mass: 0.9,
23
+ stiffness: 150
24
+ },
25
+ medium: {
26
+ damping: 15,
27
+ stiffness: 120,
28
+ mass: 1
29
+ },
30
+ lazy: {
31
+ damping: 18,
32
+ stiffness: 50
33
+ },
34
+ slow: {
35
+ damping: 15,
36
+ stiffness: 40
37
+ },
38
+ quick: {
39
+ damping: 20,
40
+ mass: 1.2,
41
+ stiffness: 250
42
+ },
43
+ tooltip: {
44
+ damping: 10,
45
+ mass: 0.9,
46
+ stiffness: 100
47
+ },
48
+ quicker: {
49
+ damping: 20,
50
+ mass: 0.7,
51
+ stiffness: 250
52
+ },
53
+ quickest: {
54
+ damping: 5,
55
+ mass: 0.2,
56
+ stiffness: 300
57
+ }
58
+ });
59
+ export { animations };
60
+ //# sourceMappingURL=animations.reanimated.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createAnimations","animations","type","duration","superBouncy","damping","mass","stiffness","bouncy","medium","lazy","slow","quick","tooltip","quicker","quickest"],"sources":["../../src/animations.reanimated.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,gBAAA,QAAwB;AAE1B,MAAMC,UAAA,GAAaD,gBAAA,CAAiB;EACzC,QAAQ;IACNE,IAAA,EAAM;IACNC,QAAA,EAAU;EACZ;EACA,SAAS;IACPD,IAAA,EAAM;IACNC,QAAA,EAAU;EACZ;EACA,SAAS;IACPD,IAAA,EAAM;IACNC,QAAA,EAAU;EACZ;EACAC,WAAA,EAAa;IACXC,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACb;EACAC,MAAA,EAAQ;IACNH,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACb;EACAE,MAAA,EAAQ;IACNJ,OAAA,EAAS;IACTE,SAAA,EAAW;IACXD,IAAA,EAAM;EACR;EACAI,IAAA,EAAM;IACJL,OAAA,EAAS;IACTE,SAAA,EAAW;EACb;EACAI,IAAA,EAAM;IACJN,OAAA,EAAS;IACTE,SAAA,EAAW;EACb;EACAK,KAAA,EAAO;IACLP,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACb;EACAM,OAAA,EAAS;IACPR,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACb;EACAO,OAAA,EAAS;IACPT,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACb;EACAQ,QAAA,EAAU;IACRV,OAAA,EAAS;IACTC,IAAA,EAAM;IACNC,SAAA,EAAW;EACb;AACF,CAAC","ignoreList":[]}
@@ -0,0 +1,38 @@
1
+ import { createFont } from "@tamagui/core";
2
+ const genericFontSizes = {
3
+ 1: 10,
4
+ 2: 11,
5
+ 3: 12,
6
+ 4: 14,
7
+ 5: 15,
8
+ 6: 16,
9
+ 7: 20,
10
+ 8: 22,
11
+ 9: 30,
12
+ 10: 42,
13
+ 11: 52,
14
+ 12: 62,
15
+ 13: 72,
16
+ 14: 92,
17
+ 15: 114,
18
+ 16: 124
19
+ };
20
+ function createGenericFont(family, font = {}, {
21
+ sizeLineHeight = (val) => val * 1.35
22
+ } = {}) {
23
+ const size = font.size || genericFontSizes;
24
+ return createFont({
25
+ family,
26
+ size,
27
+ lineHeight: Object.fromEntries(
28
+ Object.entries(size).map(([k, v]) => [k, sizeLineHeight(+v)])
29
+ ),
30
+ weight: { 0: "300" },
31
+ letterSpacing: { 4: 0 },
32
+ ...font
33
+ });
34
+ }
35
+ export {
36
+ createGenericFont
37
+ };
38
+ //# sourceMappingURL=createGenericFont.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/createGenericFont.ts"],
4
+ "mappings": "AACA,SAAS,kBAAkB;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,SAAO,WAAW;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
+ }
@@ -0,0 +1,38 @@
1
+ import { createFont } from "@tamagui/core";
2
+ const genericFontSizes = {
3
+ 1: 10,
4
+ 2: 11,
5
+ 3: 12,
6
+ 4: 14,
7
+ 5: 15,
8
+ 6: 16,
9
+ 7: 20,
10
+ 8: 22,
11
+ 9: 30,
12
+ 10: 42,
13
+ 11: 52,
14
+ 12: 62,
15
+ 13: 72,
16
+ 14: 92,
17
+ 15: 114,
18
+ 16: 124
19
+ };
20
+ function createGenericFont(family, font = {}, {
21
+ sizeLineHeight = val => val * 1.35
22
+ } = {}) {
23
+ const size = font.size || genericFontSizes;
24
+ return createFont({
25
+ family,
26
+ size,
27
+ lineHeight: Object.fromEntries(Object.entries(size).map(([k, v]) => [k, sizeLineHeight(+v)])),
28
+ weight: {
29
+ 0: "300"
30
+ },
31
+ letterSpacing: {
32
+ 4: 0
33
+ },
34
+ ...font
35
+ });
36
+ }
37
+ export { createGenericFont };
38
+ //# sourceMappingURL=createGenericFont.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createFont","genericFontSizes","createGenericFont","family","font","sizeLineHeight","val","size","lineHeight","Object","fromEntries","entries","map","k","v","weight","letterSpacing"],"sources":["../../src/createGenericFont.ts"],"sourcesContent":[null],"mappings":"AACA,SAASA,UAAA,QAAkB;AAE3B,MAAMC,gBAAA,GAAmB;EACvB,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;AACN;AAEO,SAASC,kBACdC,MAAA,EACAC,IAAA,GAAmB,CAAC,GACpB;EACEC,cAAA,GAAkBC,GAAA,IAAQA,GAAA,GAAM;AAClC,IAEI,CAAC,GACF;EACH,MAAMC,IAAA,GAAOH,IAAA,CAAKG,IAAA,IAAQN,gBAAA;EAC1B,OAAOD,UAAA,CAAW;IAChBG,MAAA;IACAI,IAAA;IACAC,UAAA,EAAYC,MAAA,CAAOC,WAAA,CACjBD,MAAA,CAAOE,OAAA,CAAQJ,IAAI,EAAEK,GAAA,CAAI,CAAC,CAACC,CAAA,EAAGC,CAAC,MAAM,CAACD,CAAA,EAAGR,cAAA,CAAe,CAACS,CAAC,CAAC,CAAC,CAC9D;IACAC,MAAA,EAAQ;MAAE,GAAG;IAAM;IACnBC,aAAA,EAAe;MAAE,GAAG;IAAE;IACtB,GAAIZ;EACN,CAAC;AACH","ignoreList":[]}