@tamagui/config-default 1.89.26 → 1.89.27-1708112217600
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.
- package/dist/animations.native.js +1 -2
- package/dist/animations.native.js.map +3 -3
- package/dist/index.js +4 -44
- package/dist/index.js.map +1 -1
- package/dist/index.native.js +147 -89
- package/dist/index.native.js.map +3 -3
- package/package.json +4 -4
- package/types/index.d.ts +63 -176
- package/types/index.d.ts.map +1 -1
|
@@ -18,8 +18,7 @@ __export(animations_native_exports, {
|
|
|
18
18
|
animations: () => animations
|
|
19
19
|
});
|
|
20
20
|
module.exports = __toCommonJS(animations_native_exports);
|
|
21
|
-
var import_animations_react_native = require("@tamagui/animations-react-native")
|
|
22
|
-
const animations = (0, import_animations_react_native.createAnimations)({
|
|
21
|
+
var import_animations_react_native = require("@tamagui/animations-react-native"), animations = (0, import_animations_react_native.createAnimations)({
|
|
23
22
|
"100ms": {
|
|
24
23
|
type: "timing",
|
|
25
24
|
duration: 100
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../src/animations.native.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA
|
|
5
|
-
"names": []
|
|
3
|
+
"sources": ["../src/Users/n8/tamagui/packages/config-default/src/animations.native.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;qCAAiC,6CAEpBA,iBAAaC,iDAAiB;EACzC,SAAS;IACPC,MAAM;IACNC,UAAU;EACZ;EACAC,QAAQ;IACNC,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;EACAC,MAAM;IACJH,SAAS;IACTE,WAAW;EACb;EACAE,QAAQ;IACNJ,SAAS;IACTE,WAAW;IACXD,MAAM;EACR;EACAI,MAAM;IACJL,SAAS;IACTE,WAAW;EACb;EACAI,OAAO;IACLN,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;EACAK,SAAS;IACPP,SAAS;IACTC,MAAM;IACNC,WAAW;EACb;AACF,CAAA;",
|
|
5
|
+
"names": ["animations", "createAnimations", "type", "duration", "bouncy", "damping", "mass", "stiffness", "lazy", "medium", "slow", "quick", "tooltip"]
|
|
6
6
|
}
|
package/dist/index.js
CHANGED
|
@@ -17,45 +17,9 @@ __export(src_exports, {
|
|
|
17
17
|
getDefaultTamaguiConfig: () => getDefaultTamaguiConfig
|
|
18
18
|
});
|
|
19
19
|
module.exports = __toCommonJS(src_exports);
|
|
20
|
-
var
|
|
20
|
+
var import_shorthands = require("@tamagui/shorthands");
|
|
21
21
|
function getDefaultTamaguiConfig(platform = "web") {
|
|
22
|
-
const
|
|
23
|
-
family: "Heading",
|
|
24
|
-
size: {
|
|
25
|
-
1: 15
|
|
26
|
-
},
|
|
27
|
-
lineHeight: {
|
|
28
|
-
1: 15
|
|
29
|
-
},
|
|
30
|
-
transform: {},
|
|
31
|
-
weight: {
|
|
32
|
-
1: "400"
|
|
33
|
-
},
|
|
34
|
-
color: {
|
|
35
|
-
1: "$color"
|
|
36
|
-
},
|
|
37
|
-
letterSpacing: {
|
|
38
|
-
1: 0
|
|
39
|
-
}
|
|
40
|
-
}), font = (0, import_core.createFont)({
|
|
41
|
-
family: "System",
|
|
42
|
-
size: {
|
|
43
|
-
1: 15
|
|
44
|
-
},
|
|
45
|
-
lineHeight: {
|
|
46
|
-
1: 15
|
|
47
|
-
},
|
|
48
|
-
transform: {},
|
|
49
|
-
weight: {
|
|
50
|
-
1: "400"
|
|
51
|
-
},
|
|
52
|
-
color: {
|
|
53
|
-
1: "$color"
|
|
54
|
-
},
|
|
55
|
-
letterSpacing: {
|
|
56
|
-
1: 0
|
|
57
|
-
}
|
|
58
|
-
}), size = {
|
|
22
|
+
const size = {
|
|
59
23
|
0: 0,
|
|
60
24
|
0.25: 2,
|
|
61
25
|
0.5: 4,
|
|
@@ -98,7 +62,7 @@ function getDefaultTamaguiConfig(platform = "web") {
|
|
|
98
62
|
), spacesNegative = spaces.slice(1).map(([k, v]) => [`-${k}`, -v]), space = {
|
|
99
63
|
...Object.fromEntries(spaces),
|
|
100
64
|
...Object.fromEntries(spacesNegative)
|
|
101
|
-
}, tokens =
|
|
65
|
+
}, tokens = {
|
|
102
66
|
color: {
|
|
103
67
|
white: "#fff",
|
|
104
68
|
black: "#000"
|
|
@@ -128,7 +92,7 @@ function getDefaultTamaguiConfig(platform = "web") {
|
|
|
128
92
|
},
|
|
129
93
|
space,
|
|
130
94
|
size
|
|
131
|
-
}
|
|
95
|
+
}, themes = {
|
|
132
96
|
light: {
|
|
133
97
|
background: tokens.color.white,
|
|
134
98
|
color: tokens.color.black
|
|
@@ -192,10 +156,6 @@ function getDefaultTamaguiConfig(platform = "web") {
|
|
|
192
156
|
themeClassNameOnRoot: !0,
|
|
193
157
|
// animations: platform === 'web' ? animations : animationsNative,
|
|
194
158
|
shorthands: import_shorthands.shorthands,
|
|
195
|
-
fonts: {
|
|
196
|
-
heading: headingFont,
|
|
197
|
-
body: font
|
|
198
|
-
},
|
|
199
159
|
themes,
|
|
200
160
|
tokens,
|
|
201
161
|
media: {
|
package/dist/index.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAA2B;AAKpB,SAAS,wBAAwB,WAA6B,OAAO;AAC1E,QAAM,OAAO;AAAA,IACX,GAAG;AAAA,IACH,MAAM;AAAA,IACN,KAAK;AAAA,IACL,MAAM;AAAA,IACN,GAAG;AAAA,IACH,KAAK;AAAA,IACL,GAAG;AAAA,IACH,KAAK;AAAA,IACL,GAAG;AAAA,IACH,KAAK;AAAA,IACL,GAAG;AAAA,IACH,MAAM;AAAA,IACN,KAAK;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;AAAA,MACpB,IAAI,EAAE,UAAU,KAAK;AAAA,MACrB,IAAI,EAAE,UAAU,KAAK;AAAA,MACrB,IAAI,EAAE,UAAU,KAAK;AAAA,MACrB,KAAK,EAAE,UAAU,KAAK;AAAA,MACtB,MAAM,EAAE,UAAU,IAAQ;AAAA,MAC1B,MAAM,EAAE,UAAU,IAAQ;AAAA,MAC1B,MAAM,EAAE,UAAU,KAAS;AAAA,MAC3B,MAAM,EAAE,UAAU,KAAS;AAAA,MAC3B,OAAO,EAAE,WAAW,IAAI;AAAA,MACxB,MAAM,EAAE,WAAW,IAAI;AAAA,MACvB,WAAW,EAAE,OAAO,OAAO;AAAA,MAC3B,eAAe,EAAE,SAAS,SAAS;AAAA,IACrC;AAAA,EAUA;AACF;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/index.native.js
CHANGED
|
@@ -18,45 +18,75 @@ __export(src_exports, {
|
|
|
18
18
|
getDefaultTamaguiConfig: () => getDefaultTamaguiConfig
|
|
19
19
|
});
|
|
20
20
|
module.exports = __toCommonJS(src_exports);
|
|
21
|
-
var
|
|
22
|
-
function
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
letterSpacing: {
|
|
57
|
-
1: 0
|
|
21
|
+
var import_shorthands = require("@tamagui/shorthands");
|
|
22
|
+
function _array_like_to_array(arr, len) {
|
|
23
|
+
(len == null || len > arr.length) && (len = arr.length);
|
|
24
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
25
|
+
arr2[i] = arr[i];
|
|
26
|
+
return arr2;
|
|
27
|
+
}
|
|
28
|
+
function _array_with_holes(arr) {
|
|
29
|
+
if (Array.isArray(arr))
|
|
30
|
+
return arr;
|
|
31
|
+
}
|
|
32
|
+
function _define_property(obj, key, value) {
|
|
33
|
+
return key in obj ? Object.defineProperty(obj, key, {
|
|
34
|
+
value,
|
|
35
|
+
enumerable: !0,
|
|
36
|
+
configurable: !0,
|
|
37
|
+
writable: !0
|
|
38
|
+
}) : obj[key] = value, obj;
|
|
39
|
+
}
|
|
40
|
+
function _iterable_to_array_limit(arr, i) {
|
|
41
|
+
var _i = arr == null ? null : typeof Symbol < "u" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
42
|
+
if (_i != null) {
|
|
43
|
+
var _arr = [], _n = !0, _d = !1, _s, _e;
|
|
44
|
+
try {
|
|
45
|
+
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done) && (_arr.push(_s.value), !(i && _arr.length === i)); _n = !0)
|
|
46
|
+
;
|
|
47
|
+
} catch (err) {
|
|
48
|
+
_d = !0, _e = err;
|
|
49
|
+
} finally {
|
|
50
|
+
try {
|
|
51
|
+
!_n && _i.return != null && _i.return();
|
|
52
|
+
} finally {
|
|
53
|
+
if (_d)
|
|
54
|
+
throw _e;
|
|
55
|
+
}
|
|
58
56
|
}
|
|
59
|
-
|
|
57
|
+
return _arr;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
function _non_iterable_rest() {
|
|
61
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
62
|
+
}
|
|
63
|
+
function _object_spread(target) {
|
|
64
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
65
|
+
var source = arguments[i] != null ? arguments[i] : {}, ownKeys = Object.keys(source);
|
|
66
|
+
typeof Object.getOwnPropertySymbols == "function" && (ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
67
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
68
|
+
}))), ownKeys.forEach(function(key) {
|
|
69
|
+
_define_property(target, key, source[key]);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
return target;
|
|
73
|
+
}
|
|
74
|
+
function _sliced_to_array(arr, i) {
|
|
75
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
76
|
+
}
|
|
77
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
78
|
+
if (o) {
|
|
79
|
+
if (typeof o == "string")
|
|
80
|
+
return _array_like_to_array(o, minLen);
|
|
81
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
82
|
+
if (n === "Object" && o.constructor && (n = o.constructor.name), n === "Map" || n === "Set")
|
|
83
|
+
return Array.from(n);
|
|
84
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
85
|
+
return _array_like_to_array(o, minLen);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
function getDefaultTamaguiConfig() {
|
|
89
|
+
var platform = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "web", size = {
|
|
60
90
|
0: 0,
|
|
61
91
|
0.25: 2,
|
|
62
92
|
0.5: 4,
|
|
@@ -91,45 +121,49 @@ function getDefaultTamaguiConfig(platform = "web") {
|
|
|
91
121
|
18: 244,
|
|
92
122
|
19: 264,
|
|
93
123
|
20: 284
|
|
94
|
-
}, spaces = Object.entries(size).map(
|
|
95
|
-
([
|
|
124
|
+
}, spaces = Object.entries(size).map(function(param) {
|
|
125
|
+
var _param = _sliced_to_array(param, 2), k = _param[0], v = _param[1];
|
|
126
|
+
return [
|
|
96
127
|
k,
|
|
97
128
|
Math.max(0, v <= 16 ? Math.round(v * 0.333) : Math.floor(v * 0.7 - 12))
|
|
98
|
-
]
|
|
99
|
-
), spacesNegative = spaces.slice(1).map((
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
129
|
+
];
|
|
130
|
+
}), spacesNegative = spaces.slice(1).map(function(param) {
|
|
131
|
+
var _param = _sliced_to_array(param, 2), k = _param[0], v = _param[1];
|
|
132
|
+
return [
|
|
133
|
+
"-".concat(k),
|
|
134
|
+
-v
|
|
135
|
+
];
|
|
136
|
+
}), space = _object_spread({}, Object.fromEntries(spaces), Object.fromEntries(spacesNegative)), zIndex = {
|
|
137
|
+
0: 0,
|
|
138
|
+
1: 100,
|
|
139
|
+
2: 200,
|
|
140
|
+
3: 300,
|
|
141
|
+
4: 400,
|
|
142
|
+
5: 500
|
|
143
|
+
}, radius = {
|
|
144
|
+
0: 0,
|
|
145
|
+
1: 3,
|
|
146
|
+
2: 5,
|
|
147
|
+
3: 7,
|
|
148
|
+
4: 9,
|
|
149
|
+
5: 10,
|
|
150
|
+
6: 16,
|
|
151
|
+
7: 19,
|
|
152
|
+
8: 22,
|
|
153
|
+
9: 26,
|
|
154
|
+
10: 34,
|
|
155
|
+
11: 42,
|
|
156
|
+
12: 50
|
|
157
|
+
}, tokens = {
|
|
103
158
|
color: {
|
|
104
159
|
white: "#fff",
|
|
105
160
|
black: "#000"
|
|
106
161
|
},
|
|
107
|
-
radius
|
|
108
|
-
|
|
109
|
-
1: 3,
|
|
110
|
-
2: 5,
|
|
111
|
-
3: 7,
|
|
112
|
-
4: 9,
|
|
113
|
-
5: 10,
|
|
114
|
-
6: 16,
|
|
115
|
-
7: 19,
|
|
116
|
-
8: 22,
|
|
117
|
-
9: 26,
|
|
118
|
-
10: 34,
|
|
119
|
-
11: 42,
|
|
120
|
-
12: 50
|
|
121
|
-
},
|
|
122
|
-
zIndex: {
|
|
123
|
-
0: 0,
|
|
124
|
-
1: 100,
|
|
125
|
-
2: 200,
|
|
126
|
-
3: 300,
|
|
127
|
-
4: 400,
|
|
128
|
-
5: 500
|
|
129
|
-
},
|
|
162
|
+
radius,
|
|
163
|
+
zIndex,
|
|
130
164
|
space,
|
|
131
165
|
size
|
|
132
|
-
}
|
|
166
|
+
}, themes = {
|
|
133
167
|
light: {
|
|
134
168
|
background: tokens.color.white,
|
|
135
169
|
color: tokens.color.black
|
|
@@ -187,34 +221,58 @@ function getDefaultTamaguiConfig(platform = "web") {
|
|
|
187
221
|
background: "red",
|
|
188
222
|
color: "red"
|
|
189
223
|
}
|
|
224
|
+
}, media = {
|
|
225
|
+
xs: {
|
|
226
|
+
maxWidth: 660
|
|
227
|
+
},
|
|
228
|
+
sm: {
|
|
229
|
+
maxWidth: 800
|
|
230
|
+
},
|
|
231
|
+
md: {
|
|
232
|
+
maxWidth: 1020
|
|
233
|
+
},
|
|
234
|
+
lg: {
|
|
235
|
+
maxWidth: 1280
|
|
236
|
+
},
|
|
237
|
+
xl: {
|
|
238
|
+
maxWidth: 1420
|
|
239
|
+
},
|
|
240
|
+
xxl: {
|
|
241
|
+
maxWidth: 1600
|
|
242
|
+
},
|
|
243
|
+
gtXs: {
|
|
244
|
+
minWidth: 661
|
|
245
|
+
},
|
|
246
|
+
gtSm: {
|
|
247
|
+
minWidth: 801
|
|
248
|
+
},
|
|
249
|
+
gtMd: {
|
|
250
|
+
minWidth: 1021
|
|
251
|
+
},
|
|
252
|
+
gtLg: {
|
|
253
|
+
minWidth: 1281
|
|
254
|
+
},
|
|
255
|
+
short: {
|
|
256
|
+
maxHeight: 820
|
|
257
|
+
},
|
|
258
|
+
tall: {
|
|
259
|
+
minHeight: 820
|
|
260
|
+
},
|
|
261
|
+
hoverNone: {
|
|
262
|
+
hover: "none"
|
|
263
|
+
},
|
|
264
|
+
pointerCoarse: {
|
|
265
|
+
pointer: "coarse"
|
|
266
|
+
}
|
|
190
267
|
};
|
|
191
268
|
return {
|
|
192
269
|
shouldAddPrefersColorThemes: !0,
|
|
193
270
|
themeClassNameOnRoot: !0,
|
|
194
271
|
// animations: platform === 'web' ? animations : animationsNative,
|
|
195
272
|
shorthands: import_shorthands.shorthands,
|
|
196
|
-
fonts: {
|
|
197
|
-
heading: headingFont,
|
|
198
|
-
body: font
|
|
199
|
-
},
|
|
200
273
|
themes,
|
|
201
274
|
tokens,
|
|
202
|
-
media
|
|
203
|
-
xs: { maxWidth: 660 },
|
|
204
|
-
sm: { maxWidth: 800 },
|
|
205
|
-
md: { maxWidth: 1020 },
|
|
206
|
-
lg: { maxWidth: 1280 },
|
|
207
|
-
xl: { maxWidth: 1420 },
|
|
208
|
-
xxl: { maxWidth: 1600 },
|
|
209
|
-
gtXs: { minWidth: 661 },
|
|
210
|
-
gtSm: { minWidth: 801 },
|
|
211
|
-
gtMd: { minWidth: 1021 },
|
|
212
|
-
gtLg: { minWidth: 1281 },
|
|
213
|
-
short: { maxHeight: 820 },
|
|
214
|
-
tall: { minHeight: 820 },
|
|
215
|
-
hoverNone: { hover: "none" },
|
|
216
|
-
pointerCoarse: { pointer: "coarse" }
|
|
217
|
-
}
|
|
275
|
+
media
|
|
218
276
|
};
|
|
219
277
|
}
|
|
220
278
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/index.native.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
|
-
"sources": ["../src/index.ts"],
|
|
4
|
-
"mappings": "
|
|
5
|
-
"names": []
|
|
3
|
+
"sources": ["../src/Users/n8/tamagui/packages/config-default/src/index.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA,wBAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKpB,SAASA,0BAAAA;MAAwBC,WAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAA6B,OAC7DC,OAAO;IACX,GAAG;IACH,MAAM;IACN,KAAK;IACL,MAAM;IACN,GAAG;IACH,KAAK;IACL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tB;IACAI,MAAM;MACJD,YAAYN,OAAOC,MAAME;MACzBF,OAAOD,OAAOC,MAAMC;IACtB;;IAEAM,WAAW;MACTF,YAAY;MACZL,OAAO;IACT;IACAQ,WAAW;MACTH,YAAY;MACZL,OAAO;IACT;IACAS,aAAa;MACXJ,YAAY;MACZL,OAAO;IACT;IACAU,kBAAkB;MAChBL,YAAY;MACZL,OAAO;IACT;IACAW,UAAU;MACRN,YAAY;MACZL,OAAO;IACT;IACAY,eAAe;MACbP,YAAY;MACZL,OAAO;IACT;IACAa,iBAAiB;MACfR,YAAY;MACZL,OAAO;IACT;IACAc,oBAAoB;MAClBT,YAAY;MACZL,OAAO;IACT;IACAe,0BAA0B;MACxBV,YAAY;MACZL,OAAO;IACT;IACAgB,eAAe;MACbX,YAAY;MACZL,OAAO;IACT;IACAiB,sBAAsB;MACpBZ,YAAY;MACZL,OAAO;IACT;IACAkB,KAAK;MACHb,YAAY;MACZL,OAAO;IACT;EACF,GAEMmB,QAAQ;IACZC,IAAI;MAAEC,UAAU;IAAI;IACpBC,IAAI;MAAED,UAAU;IAAI;IACpBE,IAAI;MAAEF,UAAU;IAAK;IACrBG,IAAI;MAAEH,UAAU;IAAK;IACrBI,IAAI;MAAEJ,UAAU;IAAK;IACrBK,KAAK;MAAEL,UAAU;IAAK;IACtBM,MAAM;MAAEC,UAAU;IAAQ;IAC1BC,MAAM;MAAED,UAAU;IAAQ;IAC1BE,MAAM;MAAEF,UAAU;IAAS;IAC3BG,MAAM;MAAEH,UAAU;IAAS;IAC3BI,OAAO;MAAEC,WAAW;IAAI;IACxBC,MAAM;MAAEC,WAAW;IAAI;IACvBC,WAAW;MAAEC,OAAO;IAAO;IAC3BC,eAAe;MAAEC,SAAS;IAAS;EACrC;AAEA,SAAO;IACLC,6BAA6B;IAC7BC,sBAAsB;;IAEtBC,YAAAA;IACAvC;IACAJ;IACAoB;EACF;AACF;",
|
|
5
|
+
"names": ["getDefaultTamaguiConfig", "platform", "size", "true", "spaces", "Object", "entries", "map", "k", "v", "Math", "max", "round", "floor", "spacesNegative", "slice", "space", "fromEntries", "zIndex", "radius", "tokens", "color", "white", "black", "themes", "light", "background", "dark", "dark_blue", "dark_Card", "dark_Button", "dark_blue_Button", "dark_red", "dark_red_alt1", "dark_red_Button", "dark_yellow_Button", "dark_red_active_ListItem", "dark_red_alt2", "dark_red_alt2_Button", "red", "media", "xs", "maxWidth", "sm", "md", "lg", "xl", "xxl", "gtXs", "minWidth", "gtSm", "gtMd", "gtLg", "short", "maxHeight", "tall", "minHeight", "hoverNone", "hover", "pointerCoarse", "pointer", "shouldAddPrefersColorThemes", "themeClassNameOnRoot", "shorthands"]
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/config-default",
|
|
3
|
-
"version": "1.89.
|
|
3
|
+
"version": "1.89.27-1708112217600",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"main": "dist",
|
|
6
6
|
"types": "./types/index.d.ts",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@tamagui/core": "1.89.
|
|
19
|
-
"@tamagui/shorthands": "1.89.
|
|
18
|
+
"@tamagui/core": "1.89.27-1708112217600",
|
|
19
|
+
"@tamagui/shorthands": "1.89.27-1708112217600"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@tamagui/build": "1.89.
|
|
22
|
+
"@tamagui/build": "1.89.27-1708112217600"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
package/types/index.d.ts
CHANGED
|
@@ -77,54 +77,14 @@ export declare function getDefaultTamaguiConfig(platform?: 'native' | 'web'): {
|
|
|
77
77
|
readonly w: "width";
|
|
78
78
|
readonly zi: "zIndex";
|
|
79
79
|
};
|
|
80
|
-
fonts: {
|
|
81
|
-
heading: {
|
|
82
|
-
family: string;
|
|
83
|
-
size: {
|
|
84
|
-
1: number;
|
|
85
|
-
};
|
|
86
|
-
lineHeight: {
|
|
87
|
-
1: number;
|
|
88
|
-
};
|
|
89
|
-
transform: {};
|
|
90
|
-
weight: {
|
|
91
|
-
1: string;
|
|
92
|
-
};
|
|
93
|
-
color: {
|
|
94
|
-
1: string;
|
|
95
|
-
};
|
|
96
|
-
letterSpacing: {
|
|
97
|
-
1: number;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
body: {
|
|
101
|
-
family: string;
|
|
102
|
-
size: {
|
|
103
|
-
1: number;
|
|
104
|
-
};
|
|
105
|
-
lineHeight: {
|
|
106
|
-
1: number;
|
|
107
|
-
};
|
|
108
|
-
transform: {};
|
|
109
|
-
weight: {
|
|
110
|
-
1: string;
|
|
111
|
-
};
|
|
112
|
-
color: {
|
|
113
|
-
1: string;
|
|
114
|
-
};
|
|
115
|
-
letterSpacing: {
|
|
116
|
-
1: number;
|
|
117
|
-
};
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
80
|
themes: {
|
|
121
81
|
light: {
|
|
122
|
-
background:
|
|
123
|
-
color:
|
|
82
|
+
background: string;
|
|
83
|
+
color: string;
|
|
124
84
|
};
|
|
125
85
|
dark: {
|
|
126
|
-
background:
|
|
127
|
-
color:
|
|
86
|
+
background: string;
|
|
87
|
+
color: string;
|
|
128
88
|
};
|
|
129
89
|
dark_blue: {
|
|
130
90
|
background: string;
|
|
@@ -177,143 +137,70 @@ export declare function getDefaultTamaguiConfig(platform?: 'native' | 'web'): {
|
|
|
177
137
|
};
|
|
178
138
|
tokens: {
|
|
179
139
|
color: {
|
|
180
|
-
white:
|
|
181
|
-
black:
|
|
182
|
-
};
|
|
183
|
-
space: {
|
|
184
|
-
[x: string]: import("@tamagui/core").Variable<number>;
|
|
185
|
-
[x: number]: import("@tamagui/core").Variable<number>;
|
|
186
|
-
[x: symbol]: import("@tamagui/core").Variable<number>;
|
|
187
|
-
};
|
|
188
|
-
size: {
|
|
189
|
-
0: import("@tamagui/core").Variable<number>;
|
|
190
|
-
9: import("@tamagui/core").Variable<number>;
|
|
191
|
-
18: import("@tamagui/core").Variable<number>;
|
|
192
|
-
15: import("@tamagui/core").Variable<number>;
|
|
193
|
-
1: import("@tamagui/core").Variable<number>;
|
|
194
|
-
20: import("@tamagui/core").Variable<number>;
|
|
195
|
-
10: import("@tamagui/core").Variable<number>;
|
|
196
|
-
2: import("@tamagui/core").Variable<number>;
|
|
197
|
-
4: import("@tamagui/core").Variable<number>;
|
|
198
|
-
8: import("@tamagui/core").Variable<number>;
|
|
199
|
-
0.25: import("@tamagui/core").Variable<number>;
|
|
200
|
-
0.5: import("@tamagui/core").Variable<number>;
|
|
201
|
-
0.75: import("@tamagui/core").Variable<number>;
|
|
202
|
-
1.5: import("@tamagui/core").Variable<number>;
|
|
203
|
-
2.5: import("@tamagui/core").Variable<number>;
|
|
204
|
-
3: import("@tamagui/core").Variable<number>;
|
|
205
|
-
3.5: import("@tamagui/core").Variable<number>;
|
|
206
|
-
true: import("@tamagui/core").Variable<number>;
|
|
207
|
-
4.5: import("@tamagui/core").Variable<number>;
|
|
208
|
-
5: import("@tamagui/core").Variable<number>;
|
|
209
|
-
5.5: import("@tamagui/core").Variable<number>;
|
|
210
|
-
6: import("@tamagui/core").Variable<number>;
|
|
211
|
-
6.5: import("@tamagui/core").Variable<number>;
|
|
212
|
-
7: import("@tamagui/core").Variable<number>;
|
|
213
|
-
7.6: import("@tamagui/core").Variable<number>;
|
|
214
|
-
8.5: import("@tamagui/core").Variable<number>;
|
|
215
|
-
9.5: import("@tamagui/core").Variable<number>;
|
|
216
|
-
11: import("@tamagui/core").Variable<number>;
|
|
217
|
-
12: import("@tamagui/core").Variable<number>;
|
|
218
|
-
13: import("@tamagui/core").Variable<number>;
|
|
219
|
-
14: import("@tamagui/core").Variable<number>;
|
|
220
|
-
16: import("@tamagui/core").Variable<number>;
|
|
221
|
-
17: import("@tamagui/core").Variable<number>;
|
|
222
|
-
19: import("@tamagui/core").Variable<number>;
|
|
140
|
+
white: string;
|
|
141
|
+
black: string;
|
|
223
142
|
};
|
|
224
143
|
radius: {
|
|
225
|
-
0:
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
11:
|
|
237
|
-
12:
|
|
144
|
+
0: number;
|
|
145
|
+
1: number;
|
|
146
|
+
2: number;
|
|
147
|
+
3: number;
|
|
148
|
+
4: number;
|
|
149
|
+
5: number;
|
|
150
|
+
6: number;
|
|
151
|
+
7: number;
|
|
152
|
+
8: number;
|
|
153
|
+
9: number;
|
|
154
|
+
10: number;
|
|
155
|
+
11: number;
|
|
156
|
+
12: number;
|
|
238
157
|
};
|
|
239
158
|
zIndex: {
|
|
240
|
-
0:
|
|
241
|
-
1:
|
|
242
|
-
2:
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
5:
|
|
246
|
-
};
|
|
247
|
-
|
|
248
|
-
color: {
|
|
249
|
-
white: import("@tamagui/core").Variable<string>;
|
|
250
|
-
black: import("@tamagui/core").Variable<string>;
|
|
251
|
-
};
|
|
252
|
-
radius: {
|
|
253
|
-
0: import("@tamagui/core").Variable<number>;
|
|
254
|
-
9: import("@tamagui/core").Variable<number>;
|
|
255
|
-
1: import("@tamagui/core").Variable<number>;
|
|
256
|
-
10: import("@tamagui/core").Variable<number>;
|
|
257
|
-
2: import("@tamagui/core").Variable<number>;
|
|
258
|
-
4: import("@tamagui/core").Variable<number>;
|
|
259
|
-
8: import("@tamagui/core").Variable<number>;
|
|
260
|
-
3: import("@tamagui/core").Variable<number>;
|
|
261
|
-
5: import("@tamagui/core").Variable<number>;
|
|
262
|
-
6: import("@tamagui/core").Variable<number>;
|
|
263
|
-
7: import("@tamagui/core").Variable<number>;
|
|
264
|
-
11: import("@tamagui/core").Variable<number>;
|
|
265
|
-
12: import("@tamagui/core").Variable<number>;
|
|
266
|
-
};
|
|
267
|
-
zIndex: {
|
|
268
|
-
0: import("@tamagui/core").Variable<number>;
|
|
269
|
-
1: import("@tamagui/core").Variable<number>;
|
|
270
|
-
2: import("@tamagui/core").Variable<number>;
|
|
271
|
-
4: import("@tamagui/core").Variable<number>;
|
|
272
|
-
3: import("@tamagui/core").Variable<number>;
|
|
273
|
-
5: import("@tamagui/core").Variable<number>;
|
|
274
|
-
};
|
|
275
|
-
space: {
|
|
276
|
-
[x: string]: import("@tamagui/core").Variable<any>;
|
|
277
|
-
[x: number]: import("@tamagui/core").Variable<any>;
|
|
278
|
-
[x: symbol]: import("@tamagui/core").Variable<any>;
|
|
279
|
-
};
|
|
159
|
+
0: number;
|
|
160
|
+
1: number;
|
|
161
|
+
2: number;
|
|
162
|
+
3: number;
|
|
163
|
+
4: number;
|
|
164
|
+
5: number;
|
|
165
|
+
};
|
|
166
|
+
space: any;
|
|
280
167
|
size: {
|
|
281
|
-
0:
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
1:
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
2:
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
};
|
|
316
|
-
}
|
|
168
|
+
0: number;
|
|
169
|
+
0.25: number;
|
|
170
|
+
0.5: number;
|
|
171
|
+
0.75: number;
|
|
172
|
+
1: number;
|
|
173
|
+
1.5: number;
|
|
174
|
+
2: number;
|
|
175
|
+
2.5: number;
|
|
176
|
+
3: number;
|
|
177
|
+
3.5: number;
|
|
178
|
+
4: number;
|
|
179
|
+
true: number;
|
|
180
|
+
4.5: number;
|
|
181
|
+
5: number;
|
|
182
|
+
5.5: number;
|
|
183
|
+
6: number;
|
|
184
|
+
6.5: number;
|
|
185
|
+
7: number;
|
|
186
|
+
7.6: number;
|
|
187
|
+
8: number;
|
|
188
|
+
8.5: number;
|
|
189
|
+
9: number;
|
|
190
|
+
9.5: number;
|
|
191
|
+
10: number;
|
|
192
|
+
11: number;
|
|
193
|
+
12: number;
|
|
194
|
+
13: number;
|
|
195
|
+
14: number;
|
|
196
|
+
15: number;
|
|
197
|
+
16: number;
|
|
198
|
+
17: number;
|
|
199
|
+
18: number;
|
|
200
|
+
19: number;
|
|
201
|
+
20: number;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
317
204
|
media: {
|
|
318
205
|
xs: {
|
|
319
206
|
maxWidth: number;
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,wBAAgB,uBAAuB,CAAC,QAAQ,GAAE,QAAQ,GAAG,KAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+KzE"}
|