@tamagui/config 3.0.0-beta.924.1 → 3.0.0

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 (107) hide show
  1. package/dist/cjs/animations-css.cjs +2 -26
  2. package/dist/cjs/animations-motion.cjs +2 -87
  3. package/dist/cjs/animations-motion.native.cjs +2 -87
  4. package/dist/cjs/animations-motion.native.js +2 -87
  5. package/dist/cjs/animations-motion.native.js.map +1 -1
  6. package/dist/cjs/animations-reanimated.cjs +2 -101
  7. package/dist/cjs/animations-reanimated.native.cjs +2 -101
  8. package/dist/cjs/animations-reanimated.native.js +2 -101
  9. package/dist/cjs/animations-reanimated.native.js.map +1 -1
  10. package/dist/cjs/animations-rn.cjs +2 -111
  11. package/dist/cjs/animations-rn.native.cjs +2 -111
  12. package/dist/cjs/animations-rn.native.js +2 -111
  13. package/dist/cjs/animations-rn.native.js.map +1 -1
  14. package/dist/cjs/settings.cjs +1 -0
  15. package/dist/cjs/settings.native.cjs +1 -0
  16. package/dist/cjs/settings.native.js +1 -0
  17. package/dist/cjs/settings.native.js.map +1 -1
  18. package/dist/cjs/v5-base.cjs +73 -2
  19. package/dist/cjs/v5-base.native.cjs +73 -2
  20. package/dist/cjs/v5-base.native.js +73 -2
  21. package/dist/cjs/v5-base.native.js.map +1 -1
  22. package/dist/cjs/v5-fonts.cjs +6 -1
  23. package/dist/cjs/v5-fonts.native.cjs +6 -1
  24. package/dist/cjs/v5-fonts.native.js +6 -1
  25. package/dist/cjs/v5-fonts.native.js.map +1 -1
  26. package/dist/cjs/v6-base.cjs +107 -11
  27. package/dist/cjs/v6-base.native.cjs +109 -11
  28. package/dist/cjs/v6-base.native.js +109 -11
  29. package/dist/cjs/v6-base.native.js.map +1 -1
  30. package/dist/cjs/v6-tailwind-scales.generated.cjs +12 -0
  31. package/dist/cjs/v6-tailwind-scales.generated.native.cjs +12 -0
  32. package/dist/cjs/v6-tailwind-scales.generated.native.js +12 -0
  33. package/dist/cjs/v6-tailwind-scales.generated.native.js.map +1 -1
  34. package/dist/cjs/v6-themes.cjs +2 -1
  35. package/dist/cjs/v6-themes.native.cjs +2 -1
  36. package/dist/cjs/v6-themes.native.js +2 -1
  37. package/dist/cjs/v6-themes.native.js.map +1 -1
  38. package/dist/esm/animations-css.mjs +2 -26
  39. package/dist/esm/animations-css.mjs.map +1 -1
  40. package/dist/esm/animations-motion.mjs +2 -87
  41. package/dist/esm/animations-motion.mjs.map +1 -1
  42. package/dist/esm/animations-motion.native.js +2 -87
  43. package/dist/esm/animations-motion.native.js.map +1 -1
  44. package/dist/esm/animations-reanimated.mjs +2 -101
  45. package/dist/esm/animations-reanimated.mjs.map +1 -1
  46. package/dist/esm/animations-reanimated.native.js +2 -101
  47. package/dist/esm/animations-reanimated.native.js.map +1 -1
  48. package/dist/esm/animations-rn.mjs +2 -111
  49. package/dist/esm/animations-rn.mjs.map +1 -1
  50. package/dist/esm/animations-rn.native.js +2 -111
  51. package/dist/esm/animations-rn.native.js.map +1 -1
  52. package/dist/esm/settings.mjs +1 -0
  53. package/dist/esm/settings.mjs.map +1 -1
  54. package/dist/esm/settings.native.js +1 -0
  55. package/dist/esm/settings.native.js.map +1 -1
  56. package/dist/esm/v5-base.mjs +74 -4
  57. package/dist/esm/v5-base.mjs.map +1 -1
  58. package/dist/esm/v5-base.native.js +74 -4
  59. package/dist/esm/v5-base.native.js.map +1 -1
  60. package/dist/esm/v5-fonts.mjs +7 -2
  61. package/dist/esm/v5-fonts.mjs.map +1 -1
  62. package/dist/esm/v5-fonts.native.js +7 -2
  63. package/dist/esm/v5-fonts.native.js.map +1 -1
  64. package/dist/esm/v6-base.mjs +105 -11
  65. package/dist/esm/v6-base.mjs.map +1 -1
  66. package/dist/esm/v6-base.native.js +107 -11
  67. package/dist/esm/v6-base.native.js.map +1 -1
  68. package/dist/esm/v6-tailwind-scales.generated.mjs +12 -0
  69. package/dist/esm/v6-tailwind-scales.generated.mjs.map +1 -1
  70. package/dist/esm/v6-tailwind-scales.generated.native.js +12 -0
  71. package/dist/esm/v6-tailwind-scales.generated.native.js.map +1 -1
  72. package/dist/esm/v6-themes.mjs +2 -1
  73. package/dist/esm/v6-themes.mjs.map +1 -1
  74. package/dist/esm/v6-themes.native.js +2 -1
  75. package/dist/esm/v6-themes.native.js.map +1 -1
  76. package/package.json +25 -13
  77. package/src/animations-css.ts +2 -27
  78. package/src/animations-motion.ts +2 -105
  79. package/src/animations-reanimated.ts +2 -101
  80. package/src/animations-rn.ts +2 -111
  81. package/src/settings.ts +1 -0
  82. package/src/v5-base.ts +57 -2
  83. package/src/v5-fonts.ts +14 -7
  84. package/src/v6-base.ts +104 -10
  85. package/src/v6-tailwind-scales.generated.ts +12 -0
  86. package/src/v6-themes.ts +35 -4
  87. package/types/animations-css.d.ts +104 -44
  88. package/types/animations-css.d.ts.map +1 -1
  89. package/types/animations-motion.d.ts +102 -204
  90. package/types/animations-motion.d.ts.map +1 -1
  91. package/types/animations-reanimated.d.ts +102 -196
  92. package/types/animations-reanimated.d.ts.map +1 -1
  93. package/types/animations-rn.d.ts +102 -216
  94. package/types/animations-rn.d.ts.map +1 -1
  95. package/types/settings.d.ts +1 -0
  96. package/types/settings.d.ts.map +1 -1
  97. package/types/v5-base.d.ts +72 -2
  98. package/types/v5-base.d.ts.map +1 -1
  99. package/types/v5-fonts.d.ts.map +1 -1
  100. package/types/v6-base.d.ts +527 -5
  101. package/types/v6-base.d.ts.map +1 -1
  102. package/types/v6-tailwind-scales.generated.d.ts +12 -0
  103. package/types/v6-tailwind-scales.generated.d.ts.map +1 -1
  104. package/types/v6-themes.d.ts +7 -1
  105. package/types/v6-themes.d.ts.map +1 -1
  106. package/types/v6.d.ts +1343 -371
  107. package/types/v6.d.ts.map +1 -1
@@ -25,115 +25,6 @@ __export(animations_rn_exports, {
25
25
  });
26
26
  module.exports = __toCommonJS(animations_rn_exports);
27
27
  var import_animations_react_native = require("@tamagui/animations-react-native");
28
- const animationsReactNative = (0, import_animations_react_native.createAnimations)({
29
- "0ms": {
30
- type: "timing",
31
- duration: 0
32
- },
33
- "50ms": {
34
- type: "timing",
35
- duration: 50
36
- },
37
- "75ms": {
38
- type: "timing",
39
- duration: 75
40
- },
41
- "100ms": {
42
- type: "timing",
43
- duration: 100
44
- },
45
- "200ms": {
46
- type: "timing",
47
- duration: 200
48
- },
49
- "250ms": {
50
- type: "timing",
51
- duration: 250
52
- },
53
- "300ms": {
54
- type: "timing",
55
- duration: 300
56
- },
57
- "400ms": {
58
- type: "timing",
59
- duration: 400
60
- },
61
- "500ms": {
62
- type: "timing",
63
- duration: 500
64
- },
65
- superBouncy: {
66
- type: "spring",
67
- damping: 5,
68
- mass: .7,
69
- stiffness: 180
70
- },
71
- bouncy: {
72
- type: "spring",
73
- damping: 9,
74
- mass: .9,
75
- stiffness: 120
76
- },
77
- superLazy: {
78
- type: "spring",
79
- damping: 25,
80
- mass: 2,
81
- stiffness: 25
82
- },
83
- lazy: {
84
- type: "spring",
85
- damping: 18,
86
- mass: .2,
87
- stiffness: 10
88
- },
89
- medium: {
90
- damping: 16,
91
- stiffness: 90,
92
- mass: .8
93
- },
94
- slowest: {
95
- type: "spring",
96
- damping: 15,
97
- stiffness: 10
98
- },
99
- slow: {
100
- type: "spring",
101
- damping: 45,
102
- stiffness: 60
103
- },
104
- quick: {
105
- type: "spring",
106
- damping: 25,
107
- mass: 1,
108
- stiffness: 550
109
- },
110
- quickLessBouncy: {
111
- type: "spring",
112
- damping: 40,
113
- mass: 2,
114
- stiffness: 400
115
- },
116
- quicker: {
117
- type: "spring",
118
- damping: 16,
119
- mass: .6,
120
- stiffness: 700
121
- },
122
- quickerLessBouncy: {
123
- type: "spring",
124
- damping: 27,
125
- mass: .45,
126
- stiffness: 750
127
- },
128
- quickest: {
129
- damping: 15,
130
- mass: .6,
131
- stiffness: 400
132
- },
133
- quickestLessBouncy: {
134
- damping: 24,
135
- mass: .35,
136
- stiffness: 750
137
- }
138
- });
28
+ var import_animation_helpers = require("@tamagui/animation-helpers");
29
+ const animationsReactNative = (0, import_animations_react_native.createAnimations)(import_animation_helpers.animationPresets);
139
30
  const animations = animationsReactNative;
@@ -27,115 +27,6 @@ __export(animations_rn_exports, {
27
27
  });
28
28
  module.exports = __toCommonJS(animations_rn_exports);
29
29
  var import_animations_react_native = require("@tamagui/animations-react-native");
30
- var animationsReactNative = (0, import_animations_react_native.createAnimations)({
31
- "0ms": {
32
- type: "timing",
33
- duration: 0
34
- },
35
- "50ms": {
36
- type: "timing",
37
- duration: 50
38
- },
39
- "75ms": {
40
- type: "timing",
41
- duration: 75
42
- },
43
- "100ms": {
44
- type: "timing",
45
- duration: 100
46
- },
47
- "200ms": {
48
- type: "timing",
49
- duration: 200
50
- },
51
- "250ms": {
52
- type: "timing",
53
- duration: 250
54
- },
55
- "300ms": {
56
- type: "timing",
57
- duration: 300
58
- },
59
- "400ms": {
60
- type: "timing",
61
- duration: 400
62
- },
63
- "500ms": {
64
- type: "timing",
65
- duration: 500
66
- },
67
- superBouncy: {
68
- type: "spring",
69
- damping: 5,
70
- mass: .7,
71
- stiffness: 180
72
- },
73
- bouncy: {
74
- type: "spring",
75
- damping: 9,
76
- mass: .9,
77
- stiffness: 120
78
- },
79
- superLazy: {
80
- type: "spring",
81
- damping: 25,
82
- mass: 2,
83
- stiffness: 25
84
- },
85
- lazy: {
86
- type: "spring",
87
- damping: 18,
88
- mass: .2,
89
- stiffness: 10
90
- },
91
- medium: {
92
- damping: 16,
93
- stiffness: 90,
94
- mass: .8
95
- },
96
- slowest: {
97
- type: "spring",
98
- damping: 15,
99
- stiffness: 10
100
- },
101
- slow: {
102
- type: "spring",
103
- damping: 45,
104
- stiffness: 60
105
- },
106
- quick: {
107
- type: "spring",
108
- damping: 25,
109
- mass: 1,
110
- stiffness: 550
111
- },
112
- quickLessBouncy: {
113
- type: "spring",
114
- damping: 40,
115
- mass: 2,
116
- stiffness: 400
117
- },
118
- quicker: {
119
- type: "spring",
120
- damping: 16,
121
- mass: .6,
122
- stiffness: 700
123
- },
124
- quickerLessBouncy: {
125
- type: "spring",
126
- damping: 27,
127
- mass: .45,
128
- stiffness: 750
129
- },
130
- quickest: {
131
- damping: 15,
132
- mass: .6,
133
- stiffness: 400
134
- },
135
- quickestLessBouncy: {
136
- damping: 24,
137
- mass: .35,
138
- stiffness: 750
139
- }
140
- });
30
+ var import_animation_helpers = require("@tamagui/animation-helpers");
31
+ var animationsReactNative = (0, import_animations_react_native.createAnimations)(import_animation_helpers.animationPresets);
141
32
  var animations = animationsReactNative;
@@ -27,117 +27,8 @@ __export(animations_rn_exports, {
27
27
  });
28
28
  module.exports = __toCommonJS(animations_rn_exports);
29
29
  var import_animations_react_native = require("@tamagui/animations-react-native");
30
- var animationsReactNative = (0, import_animations_react_native.createAnimations)({
31
- "0ms": {
32
- type: "timing",
33
- duration: 0
34
- },
35
- "50ms": {
36
- type: "timing",
37
- duration: 50
38
- },
39
- "75ms": {
40
- type: "timing",
41
- duration: 75
42
- },
43
- "100ms": {
44
- type: "timing",
45
- duration: 100
46
- },
47
- "200ms": {
48
- type: "timing",
49
- duration: 200
50
- },
51
- "250ms": {
52
- type: "timing",
53
- duration: 250
54
- },
55
- "300ms": {
56
- type: "timing",
57
- duration: 300
58
- },
59
- "400ms": {
60
- type: "timing",
61
- duration: 400
62
- },
63
- "500ms": {
64
- type: "timing",
65
- duration: 500
66
- },
67
- superBouncy: {
68
- type: "spring",
69
- damping: 5,
70
- mass: .7,
71
- stiffness: 180
72
- },
73
- bouncy: {
74
- type: "spring",
75
- damping: 9,
76
- mass: .9,
77
- stiffness: 120
78
- },
79
- superLazy: {
80
- type: "spring",
81
- damping: 25,
82
- mass: 2,
83
- stiffness: 25
84
- },
85
- lazy: {
86
- type: "spring",
87
- damping: 18,
88
- mass: .2,
89
- stiffness: 10
90
- },
91
- medium: {
92
- damping: 16,
93
- stiffness: 90,
94
- mass: .8
95
- },
96
- slowest: {
97
- type: "spring",
98
- damping: 15,
99
- stiffness: 10
100
- },
101
- slow: {
102
- type: "spring",
103
- damping: 45,
104
- stiffness: 60
105
- },
106
- quick: {
107
- type: "spring",
108
- damping: 25,
109
- mass: 1,
110
- stiffness: 550
111
- },
112
- quickLessBouncy: {
113
- type: "spring",
114
- damping: 40,
115
- mass: 2,
116
- stiffness: 400
117
- },
118
- quicker: {
119
- type: "spring",
120
- damping: 16,
121
- mass: .6,
122
- stiffness: 700
123
- },
124
- quickerLessBouncy: {
125
- type: "spring",
126
- damping: 27,
127
- mass: .45,
128
- stiffness: 750
129
- },
130
- quickest: {
131
- damping: 15,
132
- mass: .6,
133
- stiffness: 400
134
- },
135
- quickestLessBouncy: {
136
- damping: 24,
137
- mass: .35,
138
- stiffness: 750
139
- }
140
- });
30
+ var import_animation_helpers = require("@tamagui/animation-helpers");
31
+ var animationsReactNative = (0, import_animations_react_native.createAnimations)(import_animation_helpers.animationPresets);
141
32
  var animations = animationsReactNative;
142
33
 
143
34
  //# sourceMappingURL=animations-rn.native.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"animations-rn.native.js","names":[],"sources":["cjs/animations-rn.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar animations_rn_exports = {};\n__export(animations_rn_exports, {\n animations: () => animations,\n animationsReactNative: () => animationsReactNative\n});\nmodule.exports = __toCommonJS(animations_rn_exports);\nvar import_animations_react_native = require(\"@tamagui/animations-react-native\");\nvar animationsReactNative = (0, import_animations_react_native.createAnimations)({\n \"0ms\": {\n type: \"timing\",\n duration: 0\n },\n \"50ms\": {\n type: \"timing\",\n duration: 50\n },\n \"75ms\": {\n type: \"timing\",\n duration: 75\n },\n \"100ms\": {\n type: \"timing\",\n duration: 100\n },\n \"200ms\": {\n type: \"timing\",\n duration: 200\n },\n \"250ms\": {\n type: \"timing\",\n duration: 250\n },\n \"300ms\": {\n type: \"timing\",\n duration: 300\n },\n \"400ms\": {\n type: \"timing\",\n duration: 400\n },\n \"500ms\": {\n type: \"timing\",\n duration: 500\n },\n superBouncy: {\n type: \"spring\",\n damping: 5,\n mass: 0.7,\n stiffness: 180\n },\n bouncy: {\n type: \"spring\",\n damping: 9,\n mass: 0.9,\n stiffness: 120\n },\n superLazy: {\n type: \"spring\",\n damping: 25,\n mass: 2,\n stiffness: 25\n },\n lazy: {\n type: \"spring\",\n damping: 18,\n mass: 0.2,\n stiffness: 10\n },\n medium: {\n damping: 16,\n stiffness: 90,\n mass: 0.8\n },\n slowest: {\n type: \"spring\",\n damping: 15,\n stiffness: 10\n },\n slow: {\n type: \"spring\",\n damping: 45,\n stiffness: 60\n },\n quick: {\n type: \"spring\",\n damping: 25,\n mass: 1,\n stiffness: 550\n },\n quickLessBouncy: {\n type: \"spring\",\n damping: 40,\n mass: 2,\n stiffness: 400\n },\n quicker: {\n type: \"spring\",\n damping: 16,\n mass: 0.6,\n stiffness: 700\n },\n quickerLessBouncy: {\n type: \"spring\",\n damping: 27,\n mass: 0.45,\n stiffness: 750\n },\n quickest: {\n damping: 15,\n mass: 0.6,\n stiffness: 400\n },\n quickestLessBouncy: {\n damping: 24,\n mass: 0.35,\n stiffness: 750\n }\n});\nvar animations = animationsReactNative;\n//# sourceMappingURL=animations-rn.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,wBAAwB,CAAC;AAC7B,SAAS,uBAAuB;CAC9B,kBAAkB;CAClB,6BAA6B;AAC/B,CAAC;AACD,OAAO,UAAU,aAAa,qBAAqB;AACnD,IAAI,iCAAiC,QAAQ,kCAAkC;AAC/E,IAAI,yBAAyB,GAAG,+BAA+B,iBAAgB,CAAE;CAC/E,OAAO;EACL,MAAM;EACN,UAAU;CACZ;CACA,QAAQ;EACN,MAAM;EACN,UAAU;CACZ;CACA,QAAQ;EACN,MAAM;EACN,UAAU;CACZ;CACA,SAAS;EACP,MAAM;EACN,UAAU;CACZ;CACA,SAAS;EACP,MAAM;EACN,UAAU;CACZ;CACA,SAAS;EACP,MAAM;EACN,UAAU;CACZ;CACA,SAAS;EACP,MAAM;EACN,UAAU;CACZ;CACA,SAAS;EACP,MAAM;EACN,UAAU;CACZ;CACA,SAAS;EACP,MAAM;EACN,UAAU;CACZ;CACA,aAAa;EACX,MAAM;EACN,SAAS;EACT,MAAM;EACN,WAAW;CACb;CACA,QAAQ;EACN,MAAM;EACN,SAAS;EACT,MAAM;EACN,WAAW;CACb;CACA,WAAW;EACT,MAAM;EACN,SAAS;EACT,MAAM;EACN,WAAW;CACb;CACA,MAAM;EACJ,MAAM;EACN,SAAS;EACT,MAAM;EACN,WAAW;CACb;CACA,QAAQ;EACN,SAAS;EACT,WAAW;EACX,MAAM;CACR;CACA,SAAS;EACP,MAAM;EACN,SAAS;EACT,WAAW;CACb;CACA,MAAM;EACJ,MAAM;EACN,SAAS;EACT,WAAW;CACb;CACA,OAAO;EACL,MAAM;EACN,SAAS;EACT,MAAM;EACN,WAAW;CACb;CACA,iBAAiB;EACf,MAAM;EACN,SAAS;EACT,MAAM;EACN,WAAW;CACb;CACA,SAAS;EACP,MAAM;EACN,SAAS;EACT,MAAM;EACN,WAAW;CACb;CACA,mBAAmB;EACjB,MAAM;EACN,SAAS;EACT,MAAM;EACN,WAAW;CACb;CACA,UAAU;EACR,SAAS;EACT,MAAM;EACN,WAAW;CACb;CACA,oBAAoB;EAClB,SAAS;EACT,MAAM;EACN,WAAW;CACb;AACF,CAAC;AACD,IAAI,aAAa"}
1
+ {"version":3,"file":"animations-rn.native.js","names":[],"sources":["cjs/animations-rn.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar animations_rn_exports = {};\n__export(animations_rn_exports, {\n animations: () => animations,\n animationsReactNative: () => animationsReactNative\n});\nmodule.exports = __toCommonJS(animations_rn_exports);\nvar import_animations_react_native = require(\"@tamagui/animations-react-native\");\nvar import_animation_helpers = require(\"@tamagui/animation-helpers\");\nvar animationsReactNative = (0, import_animations_react_native.createAnimations)(import_animation_helpers.animationPresets);\nvar animations = animationsReactNative;\n//# sourceMappingURL=animations-rn.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,wBAAwB,CAAC;AAC7B,SAAS,uBAAuB;CAC9B,kBAAkB;CAClB,6BAA6B;AAC/B,CAAC;AACD,OAAO,UAAU,aAAa,qBAAqB;AACnD,IAAI,iCAAiC,QAAQ,kCAAkC;AAC/E,IAAI,2BAA2B,QAAQ,4BAA4B;AACnE,IAAI,yBAAyB,GAAG,+BAA+B,iBAAgB,CAAE,yBAAyB,gBAAgB;AAC1H,IAAI,aAAa"}
@@ -31,6 +31,7 @@ const selectionStyles = (theme) => theme.color5 ? {
31
31
  } : null;
32
32
  const settings = {
33
33
  mediaQueryDefaultActive: import_media.mediaQueryDefaultActive,
34
+ selectionStyles,
34
35
  defaultFont: "body",
35
36
  fastSchemeChange: true,
36
37
  shouldAddPrefersColorThemes: true,
@@ -35,6 +35,7 @@ var selectionStyles = function(theme) {
35
35
  };
36
36
  var settings = {
37
37
  mediaQueryDefaultActive: import_media.mediaQueryDefaultActive,
38
+ selectionStyles,
38
39
  defaultFont: "body",
39
40
  fastSchemeChange: true,
40
41
  shouldAddPrefersColorThemes: true,
@@ -35,6 +35,7 @@ var selectionStyles = function(theme) {
35
35
  };
36
36
  var settings = {
37
37
  mediaQueryDefaultActive: import_media.mediaQueryDefaultActive,
38
+ selectionStyles,
38
39
  defaultFont: "body",
39
40
  fastSchemeChange: true,
40
41
  shouldAddPrefersColorThemes: true,
@@ -1 +1 @@
1
- {"version":3,"file":"settings.native.js","names":[],"sources":["cjs/settings.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar settings_exports = {};\n__export(settings_exports, {\n selectionStyles: () => selectionStyles,\n settings: () => settings\n});\nmodule.exports = __toCommonJS(settings_exports);\nvar import_media = require(\"./media\");\nvar selectionStyles = function(theme) {\n return theme.color5 ? {\n backgroundColor: theme.color5,\n color: theme.color11\n } : null;\n};\nvar settings = {\n mediaQueryDefaultActive: import_media.mediaQueryDefaultActive,\n defaultFont: \"body\",\n fastSchemeChange: true,\n shouldAddPrefersColorThemes: true,\n allowedStyleValues: \"somewhat-strict-web\",\n addThemeClassName: \"html\",\n onlyAllowShorthands: true,\n styleCompat: \"web\"\n};\n//# sourceMappingURL=settings.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,mBAAmB,CAAC;AACxB,SAAS,kBAAkB;CACzB,uBAAuB;CACvB,gBAAgB;AAClB,CAAC;AACD,OAAO,UAAU,aAAa,gBAAgB;AAC9C,IAAI,eAAe,QAAQ,mBAAS;AACpC,IAAI,kBAAkB,SAAS,OAAO;CACpC,OAAO,MAAM,SAAS;EACpB,iBAAiB,MAAM;EACvB,OAAO,MAAM;CACf,IAAI;AACN;AACA,IAAI,WAAW;CACb,yBAAyB,aAAa;CACtC,aAAa;CACb,kBAAkB;CAClB,6BAA6B;CAC7B,oBAAoB;CACpB,mBAAmB;CACnB,qBAAqB;CACrB,aAAa;AACf"}
1
+ {"version":3,"file":"settings.native.js","names":[],"sources":["cjs/settings.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar settings_exports = {};\n__export(settings_exports, {\n selectionStyles: () => selectionStyles,\n settings: () => settings\n});\nmodule.exports = __toCommonJS(settings_exports);\nvar import_media = require(\"./media\");\nvar selectionStyles = function(theme) {\n return theme.color5 ? {\n backgroundColor: theme.color5,\n color: theme.color11\n } : null;\n};\nvar settings = {\n mediaQueryDefaultActive: import_media.mediaQueryDefaultActive,\n selectionStyles,\n defaultFont: \"body\",\n fastSchemeChange: true,\n shouldAddPrefersColorThemes: true,\n allowedStyleValues: \"somewhat-strict-web\",\n addThemeClassName: \"html\",\n onlyAllowShorthands: true,\n styleCompat: \"web\"\n};\n//# sourceMappingURL=settings.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,mBAAmB,CAAC;AACxB,SAAS,kBAAkB;CACzB,uBAAuB;CACvB,gBAAgB;AAClB,CAAC;AACD,OAAO,UAAU,aAAa,gBAAgB;AAC9C,IAAI,eAAe,QAAQ,mBAAS;AACpC,IAAI,kBAAkB,SAAS,OAAO;CACpC,OAAO,MAAM,SAAS;EACpB,iBAAiB,MAAM;EACvB,OAAO,MAAM;CACf,IAAI;AACN;AACA,IAAI,WAAW;CACb,yBAAyB,aAAa;CACtC;CACA,aAAa;CACb,kBAAkB;CAClB,6BAA6B;CAC7B,oBAAoB;CACpB,mBAAmB;CACnB,qBAAqB;CACrB,aAAa;AACf"}
@@ -23,6 +23,7 @@ __export(v5_base_exports, {
23
23
  breakpoints: () => import_media2.breakpoints,
24
24
  createSystemFont: () => import_v5_fonts2.createSystemFont,
25
25
  defaultConfig: () => defaultConfig,
26
+ defaultSizing: () => defaultSizing,
26
27
  fonts: () => import_v5_fonts2.fonts,
27
28
  media: () => import_media2.media,
28
29
  mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,
@@ -42,12 +43,82 @@ var import_v52 = require("@tamagui/themes/v5");
42
43
  var import_v5_fonts2 = require("./v5-fonts.cjs");
43
44
  var import_media2 = require("./media.cjs");
44
45
  var import_settings2 = require("./settings.cjs");
46
+ const defaultSizing = {
47
+ default: "md",
48
+ sizes: {
49
+ xs: {
50
+ fontSize: "1",
51
+ controlFontSize: "1",
52
+ paddingInline: "2",
53
+ paddingBlock: "1-5",
54
+ gap: "1-5",
55
+ radius: "1",
56
+ px: {
57
+ height: 24,
58
+ icon: 12,
59
+ square: 17
60
+ }
61
+ },
62
+ sm: {
63
+ fontSize: "3",
64
+ controlFontSize: "3",
65
+ paddingInline: "3",
66
+ paddingBlock: "2",
67
+ gap: "2",
68
+ radius: "2",
69
+ px: {
70
+ height: 32,
71
+ icon: 16,
72
+ square: 20
73
+ }
74
+ },
75
+ md: {
76
+ fontSize: "3",
77
+ controlFontSize: "3",
78
+ paddingInline: "3-5",
79
+ paddingBlock: "2",
80
+ gap: "2",
81
+ radius: "2",
82
+ px: {
83
+ height: 36,
84
+ icon: 16,
85
+ square: 22
86
+ }
87
+ },
88
+ lg: {
89
+ fontSize: "5",
90
+ controlFontSize: "5",
91
+ paddingInline: "5",
92
+ paddingBlock: "2",
93
+ gap: "2",
94
+ radius: "2",
95
+ px: {
96
+ height: 40,
97
+ icon: 16,
98
+ square: 25
99
+ }
100
+ },
101
+ xl: {
102
+ fontSize: "6",
103
+ controlFontSize: "6",
104
+ paddingInline: "6",
105
+ paddingBlock: "2-5",
106
+ gap: "2-5",
107
+ radius: "3",
108
+ px: {
109
+ height: 48,
110
+ icon: 20,
111
+ square: 28
112
+ }
113
+ }
114
+ }
115
+ };
45
116
  const defaultConfig = {
46
117
  media: import_media.media,
47
118
  shorthands: import_v4.shorthands,
48
119
  themes: import_v5.themes,
49
120
  tokens: import_v5.tokens,
50
121
  fonts: import_v5_fonts.fonts,
51
- selectionStyles: import_settings.selectionStyles,
52
- settings: import_settings.settings
122
+ settings: import_settings.settings,
123
+ sizing: defaultSizing
53
124
  };
@@ -25,6 +25,7 @@ __export(v5_base_exports, {
25
25
  breakpoints: () => import_media2.breakpoints,
26
26
  createSystemFont: () => import_v5_fonts2.createSystemFont,
27
27
  defaultConfig: () => defaultConfig,
28
+ defaultSizing: () => defaultSizing,
28
29
  fonts: () => import_v5_fonts2.fonts,
29
30
  media: () => import_media2.media,
30
31
  mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,
@@ -44,12 +45,82 @@ var import_v52 = require("@tamagui/themes/v5");
44
45
  var import_v5_fonts2 = require("./v5-fonts.native.js");
45
46
  var import_media2 = require("./media.native.js");
46
47
  var import_settings2 = require("./settings.native.js");
48
+ var defaultSizing = {
49
+ default: "md",
50
+ sizes: {
51
+ xs: {
52
+ fontSize: "1",
53
+ controlFontSize: "1",
54
+ paddingInline: "2",
55
+ paddingBlock: "1-5",
56
+ gap: "1-5",
57
+ radius: "1",
58
+ px: {
59
+ height: 24,
60
+ icon: 12,
61
+ square: 17
62
+ }
63
+ },
64
+ sm: {
65
+ fontSize: "3",
66
+ controlFontSize: "3",
67
+ paddingInline: "3",
68
+ paddingBlock: "2",
69
+ gap: "2",
70
+ radius: "2",
71
+ px: {
72
+ height: 32,
73
+ icon: 16,
74
+ square: 20
75
+ }
76
+ },
77
+ md: {
78
+ fontSize: "3",
79
+ controlFontSize: "3",
80
+ paddingInline: "3-5",
81
+ paddingBlock: "2",
82
+ gap: "2",
83
+ radius: "2",
84
+ px: {
85
+ height: 36,
86
+ icon: 16,
87
+ square: 22
88
+ }
89
+ },
90
+ lg: {
91
+ fontSize: "5",
92
+ controlFontSize: "5",
93
+ paddingInline: "5",
94
+ paddingBlock: "2",
95
+ gap: "2",
96
+ radius: "2",
97
+ px: {
98
+ height: 40,
99
+ icon: 16,
100
+ square: 25
101
+ }
102
+ },
103
+ xl: {
104
+ fontSize: "6",
105
+ controlFontSize: "6",
106
+ paddingInline: "6",
107
+ paddingBlock: "2-5",
108
+ gap: "2-5",
109
+ radius: "3",
110
+ px: {
111
+ height: 48,
112
+ icon: 20,
113
+ square: 28
114
+ }
115
+ }
116
+ }
117
+ };
47
118
  var defaultConfig = {
48
119
  media: import_media.media,
49
120
  shorthands: import_v4.shorthands,
50
121
  themes: import_v5.themes,
51
122
  tokens: import_v5.tokens,
52
123
  fonts: import_v5_fonts.fonts,
53
- selectionStyles: import_settings.selectionStyles,
54
- settings: import_settings.settings
124
+ settings: import_settings.settings,
125
+ sizing: defaultSizing
55
126
  };
@@ -25,6 +25,7 @@ __export(v5_base_exports, {
25
25
  breakpoints: () => import_media2.breakpoints,
26
26
  createSystemFont: () => import_v5_fonts2.createSystemFont,
27
27
  defaultConfig: () => defaultConfig,
28
+ defaultSizing: () => defaultSizing,
28
29
  fonts: () => import_v5_fonts2.fonts,
29
30
  media: () => import_media2.media,
30
31
  mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,
@@ -44,14 +45,84 @@ var import_v52 = require("@tamagui/themes/v5");
44
45
  var import_v5_fonts2 = require("./v5-fonts.native.js");
45
46
  var import_media2 = require("./media.native.js");
46
47
  var import_settings2 = require("./settings.native.js");
48
+ var defaultSizing = {
49
+ default: "md",
50
+ sizes: {
51
+ xs: {
52
+ fontSize: "1",
53
+ controlFontSize: "1",
54
+ paddingInline: "2",
55
+ paddingBlock: "1-5",
56
+ gap: "1-5",
57
+ radius: "1",
58
+ px: {
59
+ height: 24,
60
+ icon: 12,
61
+ square: 17
62
+ }
63
+ },
64
+ sm: {
65
+ fontSize: "3",
66
+ controlFontSize: "3",
67
+ paddingInline: "3",
68
+ paddingBlock: "2",
69
+ gap: "2",
70
+ radius: "2",
71
+ px: {
72
+ height: 32,
73
+ icon: 16,
74
+ square: 20
75
+ }
76
+ },
77
+ md: {
78
+ fontSize: "3",
79
+ controlFontSize: "3",
80
+ paddingInline: "3-5",
81
+ paddingBlock: "2",
82
+ gap: "2",
83
+ radius: "2",
84
+ px: {
85
+ height: 36,
86
+ icon: 16,
87
+ square: 22
88
+ }
89
+ },
90
+ lg: {
91
+ fontSize: "5",
92
+ controlFontSize: "5",
93
+ paddingInline: "5",
94
+ paddingBlock: "2",
95
+ gap: "2",
96
+ radius: "2",
97
+ px: {
98
+ height: 40,
99
+ icon: 16,
100
+ square: 25
101
+ }
102
+ },
103
+ xl: {
104
+ fontSize: "6",
105
+ controlFontSize: "6",
106
+ paddingInline: "6",
107
+ paddingBlock: "2-5",
108
+ gap: "2-5",
109
+ radius: "3",
110
+ px: {
111
+ height: 48,
112
+ icon: 20,
113
+ square: 28
114
+ }
115
+ }
116
+ }
117
+ };
47
118
  var defaultConfig = {
48
119
  media: import_media.media,
49
120
  shorthands: import_v4.shorthands,
50
121
  themes: import_v5.themes,
51
122
  tokens: import_v5.tokens,
52
123
  fonts: import_v5_fonts.fonts,
53
- selectionStyles: import_settings.selectionStyles,
54
- settings: import_settings.settings
124
+ settings: import_settings.settings,
125
+ sizing: defaultSizing
55
126
  };
56
127
 
57
128
  //# sourceMappingURL=v5-base.native.js.map