@tamagui/config 2.0.0-1768530912818 → 2.0.0-1768636514428
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/.turbo/turbo-build.log +1 -1
- package/dist/cjs/v5-media.cjs +84 -35
- package/dist/cjs/v5-media.js +57 -26
- package/dist/cjs/v5-media.js.map +1 -1
- package/dist/cjs/v5-media.native.js +84 -35
- package/dist/cjs/v5-media.native.js.map +1 -1
- package/dist/esm/v5-media.js +57 -26
- package/dist/esm/v5-media.js.map +1 -1
- package/dist/esm/v5-media.mjs +84 -35
- package/dist/esm/v5-media.mjs.map +1 -1
- package/dist/esm/v5-media.native.js +84 -35
- package/dist/esm/v5-media.native.js.map +1 -1
- package/package.json +15 -15
- package/src/v5-media.ts +60 -26
- package/types/v5-media.d.ts +69 -25
- package/types/v5-media.d.ts.map +1 -1
- package/types/v5.d.ts +167 -163
- package/types/v5.d.ts.map +1 -1
package/types/v5.d.ts
CHANGED
|
@@ -10,13 +10,29 @@ export declare const selectionStyles: (theme: any) => {
|
|
|
10
10
|
} | null;
|
|
11
11
|
export declare const settings: {
|
|
12
12
|
mediaQueryDefaultActive: {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
pointerTouch: boolean;
|
|
14
|
+
heightXXXS: boolean;
|
|
15
|
+
heightXXS: boolean;
|
|
16
|
+
heightXS: boolean;
|
|
17
|
+
heightSM: boolean;
|
|
18
|
+
heightMD: boolean;
|
|
19
|
+
heightLG: boolean;
|
|
20
|
+
maxXXXS: boolean;
|
|
21
|
+
maxXXS: boolean;
|
|
22
|
+
maxXS: boolean;
|
|
23
|
+
maxSM: boolean;
|
|
24
|
+
maxMD: boolean;
|
|
25
|
+
maxLG: boolean;
|
|
26
|
+
maxXL: boolean;
|
|
27
|
+
maxXXL: boolean;
|
|
28
|
+
xxxs: boolean;
|
|
29
|
+
xxs: boolean;
|
|
18
30
|
xs: boolean;
|
|
19
|
-
|
|
31
|
+
sm: boolean;
|
|
32
|
+
md: boolean;
|
|
33
|
+
lg: boolean;
|
|
34
|
+
xl: boolean;
|
|
35
|
+
xxl: boolean;
|
|
20
36
|
};
|
|
21
37
|
defaultFont: string;
|
|
22
38
|
fastSchemeChange: true;
|
|
@@ -91,46 +107,73 @@ export declare const defaultConfig: {
|
|
|
91
107
|
};
|
|
92
108
|
}>;
|
|
93
109
|
media: {
|
|
94
|
-
readonly
|
|
110
|
+
readonly pointerTouch: {
|
|
111
|
+
readonly pointer: "coarse";
|
|
112
|
+
};
|
|
113
|
+
readonly heightXXXS: {
|
|
114
|
+
readonly minHeight: number;
|
|
115
|
+
};
|
|
116
|
+
readonly heightXXS: {
|
|
117
|
+
readonly minHeight: number;
|
|
118
|
+
};
|
|
119
|
+
readonly heightXS: {
|
|
120
|
+
readonly minHeight: number;
|
|
121
|
+
};
|
|
122
|
+
readonly heightSM: {
|
|
123
|
+
readonly minHeight: number;
|
|
124
|
+
};
|
|
125
|
+
readonly heightMD: {
|
|
126
|
+
readonly minHeight: number;
|
|
127
|
+
};
|
|
128
|
+
readonly heightLG: {
|
|
129
|
+
readonly minHeight: number;
|
|
130
|
+
};
|
|
131
|
+
readonly maxXXXS: {
|
|
95
132
|
readonly maxWidth: number;
|
|
96
133
|
};
|
|
97
|
-
readonly
|
|
134
|
+
readonly maxXXS: {
|
|
98
135
|
readonly maxWidth: number;
|
|
99
136
|
};
|
|
100
|
-
readonly
|
|
137
|
+
readonly maxXS: {
|
|
101
138
|
readonly maxWidth: number;
|
|
102
139
|
};
|
|
103
|
-
readonly
|
|
140
|
+
readonly maxSM: {
|
|
104
141
|
readonly maxWidth: number;
|
|
105
142
|
};
|
|
106
|
-
readonly
|
|
143
|
+
readonly maxMD: {
|
|
107
144
|
readonly maxWidth: number;
|
|
108
145
|
};
|
|
109
|
-
readonly
|
|
146
|
+
readonly maxLG: {
|
|
110
147
|
readonly maxWidth: number;
|
|
111
148
|
};
|
|
112
|
-
readonly
|
|
149
|
+
readonly maxXL: {
|
|
113
150
|
readonly maxWidth: number;
|
|
114
151
|
};
|
|
115
|
-
readonly
|
|
152
|
+
readonly maxXXL: {
|
|
153
|
+
readonly maxWidth: number;
|
|
154
|
+
};
|
|
155
|
+
readonly xxxs: {
|
|
116
156
|
readonly minWidth: number;
|
|
117
157
|
};
|
|
118
|
-
readonly
|
|
158
|
+
readonly xxs: {
|
|
119
159
|
readonly minWidth: number;
|
|
120
160
|
};
|
|
121
|
-
readonly
|
|
161
|
+
readonly xs: {
|
|
162
|
+
readonly minWidth: number;
|
|
163
|
+
};
|
|
164
|
+
readonly sm: {
|
|
122
165
|
readonly minWidth: number;
|
|
123
166
|
};
|
|
124
167
|
readonly md: {
|
|
125
168
|
readonly minWidth: number;
|
|
126
169
|
};
|
|
127
|
-
readonly
|
|
170
|
+
readonly lg: {
|
|
128
171
|
readonly minWidth: number;
|
|
129
172
|
};
|
|
130
|
-
readonly
|
|
173
|
+
readonly xl: {
|
|
131
174
|
readonly minWidth: number;
|
|
132
175
|
};
|
|
133
|
-
readonly
|
|
176
|
+
readonly xxl: {
|
|
134
177
|
readonly minWidth: number;
|
|
135
178
|
};
|
|
136
179
|
};
|
|
@@ -169,7 +212,7 @@ export declare const defaultConfig: {
|
|
|
169
212
|
t: "top";
|
|
170
213
|
z: "zIndex";
|
|
171
214
|
};
|
|
172
|
-
themes: Record<"light" | "dark" | "
|
|
215
|
+
themes: Record<"light" | "dark" | "light_yellow" | "light_green" | "light_blue" | "light_red" | "dark_yellow" | "dark_green" | "dark_blue" | "dark_red" | "light_gray" | "dark_gray" | "light_black" | "light_white" | "dark_black" | "dark_white" | "light_accent" | "dark_accent" | "light_black_accent" | "light_white_accent" | "light_blue_accent" | "light_red_accent" | "light_yellow_accent" | "light_green_accent" | "dark_black_accent" | "dark_white_accent" | "dark_blue_accent" | "dark_red_accent" | "dark_yellow_accent" | "dark_green_accent" | "light_neutral" | "dark_neutral" | "light_gray_accent" | "light_neutral_accent" | "dark_gray_accent" | "dark_neutral_accent", {
|
|
173
216
|
accentBackground: string;
|
|
174
217
|
accentColor: string;
|
|
175
218
|
background0: string;
|
|
@@ -221,18 +264,37 @@ export declare const defaultConfig: {
|
|
|
221
264
|
black10: string;
|
|
222
265
|
black11: string;
|
|
223
266
|
black12: string;
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
267
|
+
white1: string;
|
|
268
|
+
white2: string;
|
|
269
|
+
white3: string;
|
|
270
|
+
white4: string;
|
|
271
|
+
white5: string;
|
|
272
|
+
white6: string;
|
|
273
|
+
white7: string;
|
|
274
|
+
white8: string;
|
|
275
|
+
white9: string;
|
|
276
|
+
white10: string;
|
|
277
|
+
white11: string;
|
|
278
|
+
white12: string;
|
|
279
|
+
white: string;
|
|
280
|
+
white0: string;
|
|
281
|
+
white02: string;
|
|
282
|
+
white04: string;
|
|
283
|
+
white06: string;
|
|
284
|
+
white08: string;
|
|
285
|
+
black: string;
|
|
286
|
+
black0: string;
|
|
287
|
+
black02: string;
|
|
288
|
+
black04: string;
|
|
289
|
+
black06: string;
|
|
290
|
+
black08: string;
|
|
291
|
+
shadow1: string;
|
|
292
|
+
shadow2: string;
|
|
293
|
+
shadow3: string;
|
|
294
|
+
shadow4: string;
|
|
295
|
+
shadow5: string;
|
|
296
|
+
shadow6: string;
|
|
297
|
+
shadowColor: string;
|
|
236
298
|
gray1: string;
|
|
237
299
|
gray2: string;
|
|
238
300
|
gray3: string;
|
|
@@ -245,72 +307,18 @@ export declare const defaultConfig: {
|
|
|
245
307
|
gray10: string;
|
|
246
308
|
gray11: string;
|
|
247
309
|
gray12: string;
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
shadow1: string;
|
|
261
|
-
shadow2: string;
|
|
262
|
-
shadow3: string;
|
|
263
|
-
shadow4: string;
|
|
264
|
-
shadow5: string;
|
|
265
|
-
shadow6: string;
|
|
266
|
-
neutral1: string;
|
|
267
|
-
neutral2: string;
|
|
268
|
-
neutral3: string;
|
|
269
|
-
neutral4: string;
|
|
270
|
-
neutral5: string;
|
|
271
|
-
neutral6: string;
|
|
272
|
-
neutral7: string;
|
|
273
|
-
neutral8: string;
|
|
274
|
-
neutral9: string;
|
|
275
|
-
neutral10: string;
|
|
276
|
-
neutral11: string;
|
|
277
|
-
neutral12: string;
|
|
278
|
-
orange1: string;
|
|
279
|
-
orange2: string;
|
|
280
|
-
orange3: string;
|
|
281
|
-
orange4: string;
|
|
282
|
-
orange5: string;
|
|
283
|
-
orange6: string;
|
|
284
|
-
orange7: string;
|
|
285
|
-
orange8: string;
|
|
286
|
-
orange9: string;
|
|
287
|
-
orange10: string;
|
|
288
|
-
orange11: string;
|
|
289
|
-
orange12: string;
|
|
290
|
-
pink1: string;
|
|
291
|
-
pink2: string;
|
|
292
|
-
pink3: string;
|
|
293
|
-
pink4: string;
|
|
294
|
-
pink5: string;
|
|
295
|
-
pink6: string;
|
|
296
|
-
pink7: string;
|
|
297
|
-
pink8: string;
|
|
298
|
-
pink9: string;
|
|
299
|
-
pink10: string;
|
|
300
|
-
pink11: string;
|
|
301
|
-
pink12: string;
|
|
302
|
-
purple1: string;
|
|
303
|
-
purple2: string;
|
|
304
|
-
purple3: string;
|
|
305
|
-
purple4: string;
|
|
306
|
-
purple5: string;
|
|
307
|
-
purple6: string;
|
|
308
|
-
purple7: string;
|
|
309
|
-
purple8: string;
|
|
310
|
-
purple9: string;
|
|
311
|
-
purple10: string;
|
|
312
|
-
purple11: string;
|
|
313
|
-
purple12: string;
|
|
310
|
+
blue1: string;
|
|
311
|
+
blue2: string;
|
|
312
|
+
blue3: string;
|
|
313
|
+
blue4: string;
|
|
314
|
+
blue5: string;
|
|
315
|
+
blue6: string;
|
|
316
|
+
blue7: string;
|
|
317
|
+
blue8: string;
|
|
318
|
+
blue9: string;
|
|
319
|
+
blue10: string;
|
|
320
|
+
blue11: string;
|
|
321
|
+
blue12: string;
|
|
314
322
|
red1: string;
|
|
315
323
|
red2: string;
|
|
316
324
|
red3: string;
|
|
@@ -323,42 +331,6 @@ export declare const defaultConfig: {
|
|
|
323
331
|
red10: string;
|
|
324
332
|
red11: string;
|
|
325
333
|
red12: string;
|
|
326
|
-
tan1: string;
|
|
327
|
-
tan2: string;
|
|
328
|
-
tan3: string;
|
|
329
|
-
tan4: string;
|
|
330
|
-
tan5: string;
|
|
331
|
-
tan6: string;
|
|
332
|
-
tan7: string;
|
|
333
|
-
tan8: string;
|
|
334
|
-
tan9: string;
|
|
335
|
-
tan10: string;
|
|
336
|
-
tan11: string;
|
|
337
|
-
tan12: string;
|
|
338
|
-
teal1: string;
|
|
339
|
-
teal2: string;
|
|
340
|
-
teal3: string;
|
|
341
|
-
teal4: string;
|
|
342
|
-
teal5: string;
|
|
343
|
-
teal6: string;
|
|
344
|
-
teal7: string;
|
|
345
|
-
teal8: string;
|
|
346
|
-
teal9: string;
|
|
347
|
-
teal10: string;
|
|
348
|
-
teal11: string;
|
|
349
|
-
teal12: string;
|
|
350
|
-
white1: string;
|
|
351
|
-
white2: string;
|
|
352
|
-
white3: string;
|
|
353
|
-
white4: string;
|
|
354
|
-
white5: string;
|
|
355
|
-
white6: string;
|
|
356
|
-
white7: string;
|
|
357
|
-
white8: string;
|
|
358
|
-
white9: string;
|
|
359
|
-
white10: string;
|
|
360
|
-
white11: string;
|
|
361
|
-
white12: string;
|
|
362
334
|
yellow1: string;
|
|
363
335
|
yellow2: string;
|
|
364
336
|
yellow3: string;
|
|
@@ -371,29 +343,30 @@ export declare const defaultConfig: {
|
|
|
371
343
|
yellow10: string;
|
|
372
344
|
yellow11: string;
|
|
373
345
|
yellow12: string;
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
346
|
+
green1: string;
|
|
347
|
+
green2: string;
|
|
348
|
+
green3: string;
|
|
349
|
+
green4: string;
|
|
350
|
+
green5: string;
|
|
351
|
+
green6: string;
|
|
352
|
+
green7: string;
|
|
353
|
+
green8: string;
|
|
354
|
+
green9: string;
|
|
355
|
+
green10: string;
|
|
356
|
+
green11: string;
|
|
357
|
+
green12: string;
|
|
358
|
+
neutral1: string;
|
|
359
|
+
neutral2: string;
|
|
360
|
+
neutral3: string;
|
|
361
|
+
neutral4: string;
|
|
362
|
+
neutral5: string;
|
|
363
|
+
neutral6: string;
|
|
364
|
+
neutral7: string;
|
|
365
|
+
neutral8: string;
|
|
366
|
+
neutral9: string;
|
|
367
|
+
neutral10: string;
|
|
368
|
+
neutral11: string;
|
|
369
|
+
neutral12: string;
|
|
397
370
|
accent1: string;
|
|
398
371
|
accent2: string;
|
|
399
372
|
accent3: string;
|
|
@@ -406,6 +379,21 @@ export declare const defaultConfig: {
|
|
|
406
379
|
accent10: string;
|
|
407
380
|
accent11: string;
|
|
408
381
|
accent12: string;
|
|
382
|
+
color0pt5: string;
|
|
383
|
+
color1pt5: string;
|
|
384
|
+
color2pt5: string;
|
|
385
|
+
color01: string;
|
|
386
|
+
color0075: string;
|
|
387
|
+
color005: string;
|
|
388
|
+
color0025: string;
|
|
389
|
+
color002: string;
|
|
390
|
+
color001: string;
|
|
391
|
+
background01: string;
|
|
392
|
+
background0075: string;
|
|
393
|
+
background005: string;
|
|
394
|
+
background0025: string;
|
|
395
|
+
background002: string;
|
|
396
|
+
background001: string;
|
|
409
397
|
}>;
|
|
410
398
|
tokens: {
|
|
411
399
|
readonly radius: {
|
|
@@ -533,13 +521,29 @@ export declare const defaultConfig: {
|
|
|
533
521
|
} | null;
|
|
534
522
|
settings: {
|
|
535
523
|
mediaQueryDefaultActive: {
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
524
|
+
pointerTouch: boolean;
|
|
525
|
+
heightXXXS: boolean;
|
|
526
|
+
heightXXS: boolean;
|
|
527
|
+
heightXS: boolean;
|
|
528
|
+
heightSM: boolean;
|
|
529
|
+
heightMD: boolean;
|
|
530
|
+
heightLG: boolean;
|
|
531
|
+
maxXXXS: boolean;
|
|
532
|
+
maxXXS: boolean;
|
|
533
|
+
maxXS: boolean;
|
|
534
|
+
maxSM: boolean;
|
|
535
|
+
maxMD: boolean;
|
|
536
|
+
maxLG: boolean;
|
|
537
|
+
maxXL: boolean;
|
|
538
|
+
maxXXL: boolean;
|
|
539
|
+
xxxs: boolean;
|
|
540
|
+
xxs: boolean;
|
|
541
541
|
xs: boolean;
|
|
542
|
-
|
|
542
|
+
sm: boolean;
|
|
543
|
+
md: boolean;
|
|
544
|
+
lg: boolean;
|
|
545
|
+
xl: boolean;
|
|
546
|
+
xxl: boolean;
|
|
543
547
|
};
|
|
544
548
|
defaultFont: string;
|
|
545
549
|
fastSchemeChange: true;
|
package/types/v5.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v5.d.ts","sourceRoot":"","sources":["../src/v5.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,gBAAgB,EAAE,K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