@tamagui/config 1.88.21 → 1.88.23

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 (34) hide show
  1. package/dist/cjs/animations.reanimated.js +2 -2
  2. package/dist/cjs/animations.reanimated.js.map +1 -1
  3. package/dist/cjs/animations.reanimated.native.js +2 -2
  4. package/dist/cjs/animations.reanimated.native.js.map +1 -1
  5. package/dist/esm/animations.css.native.js +4 -25
  6. package/dist/esm/animations.css.native.js.map +1 -1
  7. package/dist/esm/animations.native.js +4 -25
  8. package/dist/esm/animations.native.js.map +1 -1
  9. package/dist/esm/animations.reanimated.js +1 -1
  10. package/dist/esm/animations.reanimated.mjs +1 -1
  11. package/dist/esm/animations.reanimated.native.js +4 -25
  12. package/dist/esm/animations.reanimated.native.js.map +1 -1
  13. package/dist/esm/config.native.js +12 -30
  14. package/dist/esm/config.native.js.map +1 -1
  15. package/dist/esm/createGenericFont.native.js +4 -25
  16. package/dist/esm/createGenericFont.native.js.map +1 -1
  17. package/dist/esm/fonts.native.js +10 -30
  18. package/dist/esm/fonts.native.js.map +1 -1
  19. package/dist/esm/index.native.js +12 -34
  20. package/dist/esm/index.native.js.map +1 -1
  21. package/dist/esm/index.reanimated.native.js +10 -33
  22. package/dist/esm/index.reanimated.native.js.map +1 -1
  23. package/dist/esm/media.native.js +4 -28
  24. package/dist/esm/media.native.js.map +1 -1
  25. package/dist/esm/v2-base.native.js +13 -30
  26. package/dist/esm/v2-base.native.js.map +1 -1
  27. package/dist/esm/v2-native.js +6 -26
  28. package/dist/esm/v2-native.js.map +2 -2
  29. package/dist/esm/v2-reanimated.native.js +6 -26
  30. package/dist/esm/v2-reanimated.native.js.map +2 -2
  31. package/dist/esm/v2.native.js +6 -26
  32. package/dist/esm/v2.native.js.map +2 -2
  33. package/package.json +12 -12
  34. package/src/animations.reanimated.ts +1 -1
@@ -17,8 +17,8 @@ __export(animations_reanimated_exports, {
17
17
  animations: () => animations
18
18
  });
19
19
  module.exports = __toCommonJS(animations_reanimated_exports);
20
- var import_types = require("@tamagui/animations-moti/types");
21
- const animations = (0, import_types.createAnimations)({
20
+ var import_animations_moti = require("@tamagui/animations-moti");
21
+ const animations = (0, import_animations_moti.createAnimations)({
22
22
  "100ms": {
23
23
  type: "timing",
24
24
  duration: 100
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/animations.reanimated.ts"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAiC;AAE1B,MAAM,iBAAa,+BAAiB;AAAA,EACzC,SAAS;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,IACN,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,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;AACF,CAAC;",
4
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAAiC;AAE1B,MAAM,iBAAa,yCAAiB;AAAA,EACzC,SAAS;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,IACN,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,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;AACF,CAAC;",
5
5
  "names": []
6
6
  }
@@ -18,8 +18,8 @@ __export(animations_reanimated_exports, {
18
18
  animations: () => animations
19
19
  });
20
20
  module.exports = __toCommonJS(animations_reanimated_exports);
21
- var import_types = require("@tamagui/animations-moti/types");
22
- const animations = (0, import_types.createAnimations)({
21
+ var import_animations_moti = require("@tamagui/animations-moti");
22
+ const animations = (0, import_animations_moti.createAnimations)({
23
23
  "100ms": {
24
24
  type: "timing",
25
25
  duration: 100
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/animations.reanimated.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAiC;AAE1B,MAAM,iBAAa,+BAAiB;AAAA,EACzC,SAAS;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,IACN,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,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;AACF,CAAC;",
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAAiC;AAE1B,MAAM,iBAAa,yCAAiB;AAAA,EACzC,SAAS;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,IACN,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,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;AACF,CAAC;",
5
5
  "names": []
6
6
  }
@@ -1,25 +1,5 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var animations_css_exports = {};
17
- __export(animations_css_exports, {
18
- animations: () => animations
19
- });
20
- module.exports = __toCommonJS(animations_css_exports);
21
- var import_animations_css = require("@tamagui/animations-css");
22
- const animations = (0, import_animations_css.createAnimations)({
1
+ import { createAnimations } from "@tamagui/animations-css";
2
+ const animations = createAnimations({
23
3
  "100ms": "ease-in 100ms",
24
4
  bouncy: "ease-in 200ms",
25
5
  lazy: "ease-in 600ms",
@@ -28,8 +8,7 @@ const animations = (0, import_animations_css.createAnimations)({
28
8
  quick: "ease-in 100ms",
29
9
  tooltip: "ease-in 400ms"
30
10
  });
31
- // Annotate the CommonJS export names for ESM import in node:
32
- 0 && (module.exports = {
11
+ export {
33
12
  animations
34
- });
13
+ };
35
14
  //# sourceMappingURL=animations.css.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/animations.css.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAAiC;AAE1B,MAAM,iBAAa,wCAAiB;AAAA,EACzC,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,SAAS;AACX,CAAC;",
4
+ "mappings": "AAAA,SAAS,wBAAwB;AAE1B,MAAM,aAAa,iBAAiB;AAAA,EACzC,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,SAAS;AACX,CAAC;",
5
5
  "names": []
6
6
  }
@@ -1,25 +1,5 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var animations_exports = {};
17
- __export(animations_exports, {
18
- animations: () => animations
19
- });
20
- module.exports = __toCommonJS(animations_exports);
21
- var import_animations_react_native = require("@tamagui/animations-react-native");
22
- const animations = (0, import_animations_react_native.createAnimations)({
1
+ import { createAnimations } from "@tamagui/animations-react-native";
2
+ const animations = createAnimations({
23
3
  "100ms": {
24
4
  type: "timing",
25
5
  duration: 100
@@ -53,8 +33,7 @@ const animations = (0, import_animations_react_native.createAnimations)({
53
33
  stiffness: 100
54
34
  }
55
35
  });
56
- // Annotate the CommonJS export names for ESM import in node:
57
- 0 && (module.exports = {
36
+ export {
58
37
  animations
59
- });
38
+ };
60
39
  //# sourceMappingURL=animations.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/animations.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qCAAiC;AAE1B,MAAM,iBAAa,iDAAiB;AAAA,EACzC,SAAS;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,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,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;AACF,CAAC;",
4
+ "mappings": "AAAA,SAAS,wBAAwB;AAE1B,MAAM,aAAa,iBAAiB;AAAA,EACzC,SAAS;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,IACN,SAAS;AAAA,IACT,MAAM;AAAA,IACN,WAAW;AAAA,EACb;AAAA,EACA,MAAM;AAAA,IACJ,SAAS;AAAA,IACT,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,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;AACF,CAAC;",
5
5
  "names": []
6
6
  }
@@ -1,4 +1,4 @@
1
- import { createAnimations } from "@tamagui/animations-moti/types";
1
+ import { createAnimations } from "@tamagui/animations-moti";
2
2
  const animations = createAnimations({
3
3
  "100ms": {
4
4
  type: "timing",
@@ -1,4 +1,4 @@
1
- import { createAnimations } from "@tamagui/animations-moti/types";
1
+ import { createAnimations } from "@tamagui/animations-moti";
2
2
  const animations = createAnimations({
3
3
  "100ms": {
4
4
  type: "timing",
@@ -1,25 +1,5 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var animations_reanimated_exports = {};
17
- __export(animations_reanimated_exports, {
18
- animations: () => animations
19
- });
20
- module.exports = __toCommonJS(animations_reanimated_exports);
21
- var import_types = require("@tamagui/animations-moti/types");
22
- const animations = (0, import_types.createAnimations)({
1
+ import { createAnimations } from "@tamagui/animations-moti";
2
+ const animations = createAnimations({
23
3
  "100ms": {
24
4
  type: "timing",
25
5
  duration: 100
@@ -58,8 +38,7 @@ const animations = (0, import_types.createAnimations)({
58
38
  stiffness: 100
59
39
  }
60
40
  });
61
- // Annotate the CommonJS export names for ESM import in node:
62
- 0 && (module.exports = {
41
+ export {
63
42
  animations
64
- });
43
+ };
65
44
  //# sourceMappingURL=animations.reanimated.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/animations.reanimated.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAiC;AAE1B,MAAM,iBAAa,+BAAiB;AAAA,EACzC,SAAS;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,IACN,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,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;AACF,CAAC;",
4
+ "mappings": "AAAA,SAAS,wBAAwB;AAE1B,MAAM,aAAa,iBAAiB;AAAA,EACzC,SAAS;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,IACN,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,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;AACF,CAAC;",
5
5
  "names": []
6
6
  }
@@ -1,41 +1,23 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var config_exports = {};
17
- __export(config_exports, {
18
- configWithoutAnimations: () => configWithoutAnimations
19
- });
20
- module.exports = __toCommonJS(config_exports);
21
- var import_shorthands = require("@tamagui/shorthands"), import_themes = require("@tamagui/themes"), import_fonts = require("./fonts"), import_media = require("./media");
1
+ import { shorthands } from "@tamagui/shorthands";
2
+ import { themes, tokens } from "@tamagui/themes";
3
+ import { fonts } from "./fonts";
4
+ import { media, mediaQueryDefaultActive } from "./media";
22
5
  const configWithoutAnimations = {
23
6
  defaultFont: "body",
24
7
  shouldAddPrefersColorThemes: !0,
25
8
  themeClassNameOnRoot: !0,
26
- themes: import_themes.themes,
27
- media: import_media.media,
28
- shorthands: import_shorthands.shorthands,
29
- tokens: import_themes.tokens,
30
- fonts: import_fonts.fonts,
31
- mediaQueryDefaultActive: import_media.mediaQueryDefaultActive,
9
+ themes,
10
+ media,
11
+ shorthands,
12
+ tokens,
13
+ fonts,
14
+ mediaQueryDefaultActive,
32
15
  selectionStyles: (theme) => theme.color5 ? {
33
16
  backgroundColor: theme.color5,
34
17
  color: theme.color11
35
18
  } : null
36
19
  };
37
- // Annotate the CommonJS export names for ESM import in node:
38
- 0 && (module.exports = {
20
+ export {
39
21
  configWithoutAnimations
40
- });
22
+ };
41
23
  //# sourceMappingURL=config.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/config.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAA2B,gCAC3B,gBAA+B,4BAG/B,eAAsB,oBACtB,eAA+C;AAExC,MAAM,0BAA0B;AAAA,EACrC,aAAa;AAAA,EACb,6BAA6B;AAAA,EAC7B,sBAAsB;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,yBAAyB;AAAA,EACzB,iBAAiB,CAAC,UAChB,MAAM,SACF;AAAA,IACE,iBAAiB,MAAM;AAAA,IACvB,OAAO,MAAM;AAAA,EACf,IACA;AACR;",
4
+ "mappings": "AAAA,SAAS,kBAAkB;AAC3B,SAAS,QAAQ,cAAc;AAG/B,SAAS,aAAa;AACtB,SAAS,OAAO,+BAA+B;AAExC,MAAM,0BAA0B;AAAA,EACrC,aAAa;AAAA,EACb,6BAA6B;AAAA,EAC7B,sBAAsB;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,iBAAiB,CAAC,UAChB,MAAM,SACF;AAAA,IACE,iBAAiB,MAAM;AAAA,IACvB,OAAO,MAAM;AAAA,EACf,IACA;AACR;",
5
5
  "names": []
6
6
  }
@@ -1,24 +1,4 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var createGenericFont_exports = {};
17
- __export(createGenericFont_exports, {
18
- createGenericFont: () => createGenericFont
19
- });
20
- module.exports = __toCommonJS(createGenericFont_exports);
21
- var import_web = require("@tamagui/web");
1
+ import { createFont } from "@tamagui/web";
22
2
  const genericFontSizes = {
23
3
  1: 10,
24
4
  2: 11,
@@ -41,7 +21,7 @@ function createGenericFont(family, font = {}, {
41
21
  sizeLineHeight = (val) => val * 1.35
42
22
  } = {}) {
43
23
  const size = font.size || genericFontSizes;
44
- return (0, import_web.createFont)({
24
+ return createFont({
45
25
  family,
46
26
  size,
47
27
  lineHeight: Object.fromEntries(
@@ -52,8 +32,7 @@ function createGenericFont(family, font = {}, {
52
32
  ...font
53
33
  });
54
34
  }
55
- // Annotate the CommonJS export names for ESM import in node:
56
- 0 && (module.exports = {
35
+ export {
57
36
  createGenericFont
58
- });
37
+ };
59
38
  //# sourceMappingURL=createGenericFont.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/createGenericFont.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,iBAA2B;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,uBAAW;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;",
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
5
  "names": []
6
6
  }
@@ -1,26 +1,8 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- }, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var fonts_exports = {};
17
- __export(fonts_exports, {
18
- fonts: () => fonts
19
- });
20
- module.exports = __toCommonJS(fonts_exports);
21
- var import_font_inter = require("@tamagui/font-inter"), import_font_silkscreen = require("@tamagui/font-silkscreen"), import_createGenericFont = require("./createGenericFont");
22
- __reExport(fonts_exports, require("./animations"), module.exports);
23
- const silkscreenFont = (0, import_font_silkscreen.createSilkscreenFont)(), headingFont = (0, import_font_inter.createInterFont)(
1
+ import { createInterFont } from "@tamagui/font-inter";
2
+ import { createSilkscreenFont } from "@tamagui/font-silkscreen";
3
+ import { createGenericFont } from "./createGenericFont";
4
+ export * from "./animations";
5
+ const silkscreenFont = createSilkscreenFont(), headingFont = createInterFont(
24
6
  {
25
7
  size: {
26
8
  5: 13,
@@ -59,7 +41,7 @@ const silkscreenFont = (0, import_font_silkscreen.createSilkscreenFont)(), headi
59
41
  }
60
42
  },
61
43
  { sizeLineHeight: (size) => Math.round(size * 1.1 + (size < 30 ? 10 : 5)) }
62
- ), bodyFont = (0, import_font_inter.createInterFont)(
44
+ ), bodyFont = createInterFont(
63
45
  {
64
46
  weight: {
65
47
  1: "400",
@@ -70,7 +52,7 @@ const silkscreenFont = (0, import_font_silkscreen.createSilkscreenFont)(), headi
70
52
  sizeSize: (size) => Math.round(size),
71
53
  sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 8 : 4))
72
54
  }
73
- ), monoFont = (0, import_createGenericFont.createGenericFont)(
55
+ ), monoFont = createGenericFont(
74
56
  '"ui-monospace", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace',
75
57
  {
76
58
  weight: {
@@ -105,9 +87,7 @@ const silkscreenFont = (0, import_font_silkscreen.createSilkscreenFont)(), headi
105
87
  mono: monoFont,
106
88
  silkscreen: silkscreenFont
107
89
  };
108
- // Annotate the CommonJS export names for ESM import in node:
109
- 0 && (module.exports = {
110
- fonts,
111
- ...require("./animations")
112
- });
90
+ export {
91
+ fonts
92
+ };
113
93
  //# sourceMappingURL=fonts.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/fonts.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAgC,gCAChC,yBAAqC,qCAErC,2BAAkC;AAElC,0BAAc,yBALd;AAOA,MAAM,qBAAiB,6CAAqB,GAEtC,kBAAc;AAAA,EAClB;AAAA,IACE,MAAM;AAAA,MACJ,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,IAAI;AAAA,IACN;AAAA,IACA,WAAW;AAAA,MACT,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,QAAQ;AAAA,MACN,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,OAAO;AAAA,MACL,GAAG;AAAA,MACH,GAAG;AAAA,IACL;AAAA,IACA,eAAe;AAAA,MACb,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,GAAG;AAAA,MACH,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA;AAAA,IAEA,MAAM;AAAA,MACJ,KAAK,EAAE,QAAQ,YAAY;A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;AAAA,MACJ,IAAI;AAAA,MACJ,IAAI;AAAA,IACN;AAAA,EACF;AAAA,EACA;AAAA,IACE,gBAAgB,CAAC,MAAM,IAAI;AAAA,EAC7B;AACF,GAEa,QAAQ;AAAA;AAAA,EAEnB,SAAS;AAAA,EACT,MAAM;AAAA,EACN,MAAM;AAAA,EACN,YAAY;AACd;",
5
5
  "names": []
6
6
  }
@@ -1,38 +1,16 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- }, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var src_exports = {};
17
- __export(src_exports, {
18
- config: () => config
19
- });
20
- module.exports = __toCommonJS(src_exports);
21
- var import_themes = require("@tamagui/themes"), import_animations = require("./animations"), import_config = require("./config");
22
- __reExport(src_exports, require("./media"), module.exports);
23
- __reExport(src_exports, require("./createGenericFont"), module.exports);
24
- __reExport(src_exports, require("./animations"), module.exports);
1
+ import { themes } from "@tamagui/themes";
2
+ import { animations } from "./animations";
3
+ import { configWithoutAnimations } from "./config";
4
+ export * from "./media";
5
+ export * from "./createGenericFont";
6
+ export * from "./animations";
25
7
  const config = {
26
- ...import_config.configWithoutAnimations,
8
+ ...configWithoutAnimations,
27
9
  // fixes typescript exporting this using internal /types/ path
28
- themes: import_themes.themes,
29
- animations: import_animations.animations
10
+ themes,
11
+ animations
12
+ };
13
+ export {
14
+ config
30
15
  };
31
- // Annotate the CommonJS export names for ESM import in node:
32
- 0 && (module.exports = {
33
- config,
34
- ...require("./media"),
35
- ...require("./createGenericFont"),
36
- ...require("./animations")
37
- });
38
16
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAuB,4BAEvB,oBAA2B,yBAC3B,gBAAwC;AAExC,wBAAc,oBALd;AAMA,wBAAc,gCANd;AAOA,wBAAc,yBAPd;AASO,MAAM,SAAS;AAAA,EACpB,GAAG;AAAA;AAAA,EAEH,QAAQ;AAAA,EACR;AACF;",
4
+ "mappings": "AAAA,SAAS,cAAc;AAEvB,SAAS,kBAAkB;AAC3B,SAAS,+BAA+B;AAExC,cAAc;AACd,cAAc;AACd,cAAc;AAEP,MAAM,SAAS;AAAA,EACpB,GAAG;AAAA;AAAA,EAEH;AAAA,EACA;AACF;",
5
5
  "names": []
6
6
  }
@@ -1,36 +1,13 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- }, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var index_reanimated_exports = {};
17
- __export(index_reanimated_exports, {
18
- config: () => config
19
- });
20
- module.exports = __toCommonJS(index_reanimated_exports);
21
- var import_animations = require("./animations.reanimated"), import_config = require("./config");
22
- __reExport(index_reanimated_exports, require("./media"), module.exports);
23
- __reExport(index_reanimated_exports, require("./createGenericFont"), module.exports);
24
- __reExport(index_reanimated_exports, require("./animations.reanimated"), module.exports);
1
+ import { animations } from "./animations.reanimated";
2
+ import { configWithoutAnimations } from "./config";
3
+ export * from "./media";
4
+ export * from "./createGenericFont";
5
+ export * from "./animations.reanimated";
25
6
  const config = {
26
- ...import_config.configWithoutAnimations,
27
- animations: import_animations.animations
7
+ ...configWithoutAnimations,
8
+ animations
9
+ };
10
+ export {
11
+ config
28
12
  };
29
- // Annotate the CommonJS export names for ESM import in node:
30
- 0 && (module.exports = {
31
- config,
32
- ...require("./media"),
33
- ...require("./createGenericFont"),
34
- ...require("./animations.reanimated")
35
- });
36
13
  //# sourceMappingURL=index.reanimated.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.reanimated.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAA2B,oCAC3B,gBAAwC;AACxC,qCAAc,oBAFd;AAGA,qCAAc,gCAHd;AAIA,qCAAc,oCAJd;AAMO,MAAM,SAAS;AAAA,EACpB,GAAG;AAAA,EACH;AACF;",
4
+ "mappings": "AAAA,SAAS,kBAAkB;AAC3B,SAAS,+BAA+B;AACxC,cAAc;AACd,cAAc;AACd,cAAc;AAEP,MAAM,SAAS;AAAA,EACpB,GAAG;AAAA,EACH;AACF;",
5
5
  "names": []
6
6
  }
@@ -1,28 +1,5 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var media_exports = {};
17
- __export(media_exports, {
18
- demoMedia: () => demoMedia,
19
- media: () => media,
20
- mediaQueryDefaultActive: () => mediaQueryDefaultActive,
21
- widths: () => widths
22
- });
23
- module.exports = __toCommonJS(media_exports);
24
- var import_react_native_media_driver = require("@tamagui/react-native-media-driver");
25
- const demoMedia = [500, 620, 780, 900], widths = [660, 800, 1020, 1280], media = (0, import_react_native_media_driver.createMedia)({
1
+ import { createMedia } from "@tamagui/react-native-media-driver";
2
+ const demoMedia = [500, 620, 780, 900], widths = [660, 800, 1020, 1280], media = createMedia({
26
3
  // for site
27
4
  xl: { maxWidth: 1650 },
28
5
  lg: { maxWidth: 1280 },
@@ -44,11 +21,10 @@ const demoMedia = [500, 620, 780, 900], widths = [660, 800, 1020, 1280], media =
44
21
  // false
45
22
  xxs: !1
46
23
  };
47
- // Annotate the CommonJS export names for ESM import in node:
48
- 0 && (module.exports = {
24
+ export {
49
25
  demoMedia,
50
26
  media,
51
27
  mediaQueryDefaultActive,
52
28
  widths
53
- });
29
+ };
54
30
  //# sourceMappingURL=media.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/media.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uCAA4B;AAErB,MAAM,YAAY,CAAC,KAAK,KAAK,KAAK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AI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA;AAAA,EAEJ,KAAK;AACP;",
5
5
  "names": []
6
6
  }
@@ -1,41 +1,24 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var v2_base_exports = {};
17
- __export(v2_base_exports, {
18
- config: () => config
19
- });
20
- module.exports = __toCommonJS(v2_base_exports);
21
- var import_shorthands = require("@tamagui/shorthands"), import_v2 = require("@tamagui/themes/v2"), import_v2_themes = require("@tamagui/themes/v2-themes"), import_fonts = require("./fonts"), import_media = require("./media");
1
+ import { shorthands } from "@tamagui/shorthands";
2
+ import { tokens } from "@tamagui/themes/v2";
3
+ import { themes } from "@tamagui/themes/v2-themes";
4
+ import { fonts } from "./fonts";
5
+ import { media, mediaQueryDefaultActive } from "./media";
22
6
  const config = {
23
7
  defaultFont: "body",
24
8
  shouldAddPrefersColorThemes: !0,
25
9
  themeClassNameOnRoot: !0,
26
- themes: import_v2_themes.themes,
27
- media: import_media.media,
28
- shorthands: import_shorthands.shorthands,
29
- tokens: import_v2.tokens,
30
- fonts: import_fonts.fonts,
31
- mediaQueryDefaultActive: import_media.mediaQueryDefaultActive,
10
+ themes,
11
+ media,
12
+ shorthands,
13
+ tokens,
14
+ fonts,
15
+ mediaQueryDefaultActive,
32
16
  selectionStyles: (theme) => theme.color5 ? {
33
17
  backgroundColor: theme.color5,
34
18
  color: theme.color11
35
19
  } : null
36
20
  };
37
- // Annotate the CommonJS export names for ESM import in node:
38
- 0 && (module.exports = {
21
+ export {
39
22
  config
40
- });
23
+ };
41
24
  //# sourceMappingURL=v2-base.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/v2-base.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAA2B,gCAC3B,YAAuB,+BACvB,mBAAuB,sCAGvB,eAAsB,oBACtB,eAA+C;AAExC,MAAM,SAAS;AAAA,EACpB,aAAa;AAAA,EACb,6BAA6B;AAAA,EAC7B,sBAAsB;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,yBAAyB;AAAA,EACzB,iBAAiB,CAAC,UAChB,MAAM,SACF;AAAA,IACE,iBAAiB,MAAM;AAAA,IACvB,OAAO,MAAM;AAAA,EACf,IACA;AACR;",
4
+ "mappings": "AAAA,SAAS,kBAAkB;AAC3B,SAAS,cAAc;AACvB,SAAS,cAAc;AAGvB,SAAS,aAAa;AACtB,SAAS,OAAO,+BAA+B;AAExC,MAAM,SAAS;AAAA,EACpB,aAAa;AAAA,EACb,6BAA6B;AAAA,EAC7B,sBAAsB;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,iBAAiB,CAAC,UAChB,MAAM,SACF;AAAA,IACE,iBAAiB,MAAM;AAAA,IACvB,OAAO,MAAM;AAAA,EACf,IACA;AACR;",
5
5
  "names": []
6
6
  }
@@ -1,30 +1,10 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var v2_native_exports = {};
17
- __export(v2_native_exports, {
18
- config: () => config
19
- });
20
- module.exports = __toCommonJS(v2_native_exports);
21
- var import_animations = require("./animations"), import_v2_base = require("./v2-base");
1
+ import { animations } from "./animations";
2
+ import { config as configBase } from "./v2-base";
22
3
  const config = {
23
- ...import_v2_base.config,
24
- animations: import_animations.animations
4
+ ...configBase,
5
+ animations
25
6
  };
26
- // Annotate the CommonJS export names for ESM import in node:
27
- 0 && (module.exports = {
7
+ export {
28
8
  config
29
- });
9
+ };
30
10
  //# sourceMappingURL=v2-native.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/v2-native.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,wBAA2B,yBAC3B,iBAAqC;AAE9B,MAAM,SAAS;AAAA,EACpB,GAAG,eAAAA;AAAA,EACH;AACF;",
5
- "names": ["configBase"]
4
+ "mappings": "AAEA,SAAS,kBAAkB;AAC3B,SAAS,UAAU,kBAAkB;AAE9B,MAAM,SAAS;AAAA,EACpB,GAAG;AAAA,EACH;AACF;",
5
+ "names": []
6
6
  }
@@ -1,30 +1,10 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var v2_reanimated_exports = {};
17
- __export(v2_reanimated_exports, {
18
- config: () => config
19
- });
20
- module.exports = __toCommonJS(v2_reanimated_exports);
21
- var import_animations = require("./animations.reanimated"), import_v2_base = require("./v2-base");
1
+ import { animations } from "./animations.reanimated";
2
+ import { config as configBase } from "./v2-base";
22
3
  const config = {
23
- ...import_v2_base.config,
24
- animations: import_animations.animations
4
+ ...configBase,
5
+ animations
25
6
  };
26
- // Annotate the CommonJS export names for ESM import in node:
27
- 0 && (module.exports = {
7
+ export {
28
8
  config
29
- });
9
+ };
30
10
  //# sourceMappingURL=v2-reanimated.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/v2-reanimated.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,wBAA2B,oCAC3B,iBAAqC;AAE9B,MAAM,SAAS;AAAA,EACpB,GAAG,eAAAA;AAAA,EACH;AACF;",
5
- "names": ["configBase"]
4
+ "mappings": "AAEA,SAAS,kBAAkB;AAC3B,SAAS,UAAU,kBAAkB;AAE9B,MAAM,SAAS;AAAA,EACpB,GAAG;AAAA,EACH;AACF;",
5
+ "names": []
6
6
  }
@@ -1,30 +1,10 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var v2_native_exports = {};
17
- __export(v2_native_exports, {
18
- config: () => config
19
- });
20
- module.exports = __toCommonJS(v2_native_exports);
21
- var import_animations = require("./animations"), import_v2_base = require("./v2-base");
1
+ import { animations } from "./animations";
2
+ import { config as configBase } from "./v2-base";
22
3
  const config = {
23
- ...import_v2_base.config,
24
- animations: import_animations.animations
4
+ ...configBase,
5
+ animations
25
6
  };
26
- // Annotate the CommonJS export names for ESM import in node:
27
- 0 && (module.exports = {
7
+ export {
28
8
  config
29
- });
9
+ };
30
10
  //# sourceMappingURL=v2.native.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/v2.native.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,wBAA2B,yBAC3B,iBAAqC;AAE9B,MAAM,SAAS;AAAA,EACpB,GAAG,eAAAA;AAAA,EACH;AACF;",
5
- "names": ["configBase"]
4
+ "mappings": "AAEA,SAAS,kBAAkB;AAC3B,SAAS,UAAU,kBAAkB;AAE9B,MAAM,SAAS;AAAA,EACpB,GAAG;AAAA,EACH;AACF;",
5
+ "names": []
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/config",
3
- "version": "1.88.21",
3
+ "version": "1.88.23",
4
4
  "types": "./types/index.d.ts",
5
5
  "main": "dist/cjs",
6
6
  "module": "dist/esm",
@@ -58,19 +58,19 @@
58
58
  }
59
59
  },
60
60
  "dependencies": {
61
- "@tamagui/animations-css": "1.88.21",
62
- "@tamagui/animations-moti": "1.88.21",
63
- "@tamagui/animations-react-native": "1.88.21",
64
- "@tamagui/colors": "1.88.21",
65
- "@tamagui/font-inter": "1.88.21",
66
- "@tamagui/font-silkscreen": "1.88.21",
67
- "@tamagui/react-native-media-driver": "1.88.21",
68
- "@tamagui/shorthands": "1.88.21",
69
- "@tamagui/themes": "1.88.21",
70
- "@tamagui/web": "1.88.21"
61
+ "@tamagui/animations-css": "1.88.23",
62
+ "@tamagui/animations-moti": "1.88.23",
63
+ "@tamagui/animations-react-native": "1.88.23",
64
+ "@tamagui/colors": "1.88.23",
65
+ "@tamagui/font-inter": "1.88.23",
66
+ "@tamagui/font-silkscreen": "1.88.23",
67
+ "@tamagui/react-native-media-driver": "1.88.23",
68
+ "@tamagui/shorthands": "1.88.23",
69
+ "@tamagui/themes": "1.88.23",
70
+ "@tamagui/web": "1.88.23"
71
71
  },
72
72
  "devDependencies": {
73
- "@tamagui/build": "1.88.21"
73
+ "@tamagui/build": "1.88.23"
74
74
  },
75
75
  "publishConfig": {
76
76
  "access": "public"
@@ -1,4 +1,4 @@
1
- import { createAnimations } from '@tamagui/animations-moti/types'
1
+ import { createAnimations } from '@tamagui/animations-moti'
2
2
 
3
3
  export const animations = createAnimations({
4
4
  '100ms': {