@blinkdotnew/mobile-ui 1.0.1 → 2.0.0-alpha.1
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/index.d.mts +463 -1275
- package/dist/index.d.ts +463 -1275
- package/dist/index.js +512 -5903
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +511 -5807
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -56
- package/tailwind.config.js +0 -47
package/dist/index.d.mts
CHANGED
|
@@ -1,1289 +1,477 @@
|
|
|
1
|
+
import * as tamagui from 'tamagui';
|
|
2
|
+
import { GetProps } from 'tamagui';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import * as _tamagui_core from '@tamagui/core';
|
|
5
|
+
import * as _tamagui_web from '@tamagui/web';
|
|
1
6
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import
|
|
3
|
-
import { vars } from 'nativewind';
|
|
4
|
-
import { ClassValue } from 'clsx';
|
|
5
|
-
import { PressableProps, ViewStyle, TextProps, ImageSourcePropType, TextInputProps, EasingFunction, ScrollViewProps, Animated } from 'react-native';
|
|
6
|
-
import { ActionSheetRef } from 'react-native-actions-sheet';
|
|
7
|
-
import { Ionicons } from '@expo/vector-icons';
|
|
7
|
+
import * as react_native from 'react-native';
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
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
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
declare
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
declare function SearchPill({ placeholder, onPress, className, }: SearchPillProps): react_jsx_runtime.JSX.Element;
|
|
364
|
-
|
|
365
|
-
interface CheckboxProps {
|
|
366
|
-
checked?: boolean;
|
|
367
|
-
onToggle?: (checked: boolean) => void;
|
|
368
|
-
label?: string;
|
|
369
|
-
disabled?: boolean;
|
|
370
|
-
error?: string;
|
|
371
|
-
className?: string;
|
|
372
|
-
}
|
|
373
|
-
declare function Checkbox({ checked, onToggle, label, disabled, error, className, }: CheckboxProps): react_jsx_runtime.JSX.Element;
|
|
374
|
-
|
|
375
|
-
interface RadioOption {
|
|
376
|
-
value: string;
|
|
377
|
-
label: string;
|
|
378
|
-
disabled?: boolean;
|
|
379
|
-
}
|
|
380
|
-
interface RadioGroupProps {
|
|
381
|
-
options: RadioOption[];
|
|
382
|
-
value: string;
|
|
383
|
-
onChange: (value: string) => void;
|
|
384
|
-
direction?: 'vertical' | 'horizontal';
|
|
385
|
-
className?: string;
|
|
386
|
-
}
|
|
387
|
-
declare function RadioGroup({ options, value, onChange, direction, className, }: RadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
388
|
-
|
|
389
|
-
interface BlinkSwitchProps {
|
|
390
|
-
value?: boolean;
|
|
391
|
-
onValueChange?: (value: boolean) => void;
|
|
392
|
-
label?: string;
|
|
393
|
-
description?: string;
|
|
394
|
-
disabled?: boolean;
|
|
395
|
-
className?: string;
|
|
396
|
-
}
|
|
397
|
-
declare function BlinkSwitch({ value, onValueChange, label, description, disabled, className, }: BlinkSwitchProps): react_jsx_runtime.JSX.Element;
|
|
398
|
-
|
|
399
|
-
interface SliderProps {
|
|
400
|
-
value: number;
|
|
401
|
-
onValueChange: (v: number) => void;
|
|
402
|
-
min?: number;
|
|
403
|
-
max?: number;
|
|
404
|
-
step?: number;
|
|
405
|
-
showValue?: boolean;
|
|
406
|
-
className?: string;
|
|
407
|
-
}
|
|
408
|
-
declare function Slider({ value, onValueChange, min, max, step, showValue, className, }: SliderProps): react_jsx_runtime.JSX.Element;
|
|
409
|
-
|
|
410
|
-
interface SelectOption {
|
|
411
|
-
label: string;
|
|
412
|
-
value: string;
|
|
413
|
-
}
|
|
414
|
-
interface SelectProps {
|
|
415
|
-
options: SelectOption[];
|
|
416
|
-
value?: string;
|
|
417
|
-
onChange: (value: string) => void;
|
|
418
|
-
label?: string;
|
|
419
|
-
placeholder?: string;
|
|
420
|
-
error?: string;
|
|
421
|
-
variant?: InputVariant;
|
|
422
|
-
className?: string;
|
|
423
|
-
}
|
|
424
|
-
declare function Select({ options, value, onChange, label, placeholder, error, variant, className, }: SelectProps): react_jsx_runtime.JSX.Element;
|
|
425
|
-
|
|
426
|
-
interface CounterProps {
|
|
427
|
-
value?: number;
|
|
428
|
-
onChange?: (value: number) => void;
|
|
429
|
-
min?: number;
|
|
430
|
-
max?: number;
|
|
431
|
-
step?: number;
|
|
432
|
-
label?: string;
|
|
433
|
-
className?: string;
|
|
434
|
-
}
|
|
435
|
-
declare function Counter({ value: controlledValue, onChange, min, max, step, label, className, }: CounterProps): react_jsx_runtime.JSX.Element;
|
|
436
|
-
|
|
437
|
-
type HeaderVariant = 'default' | 'blurred' | 'transparent' | 'collapsible';
|
|
438
|
-
interface HeaderProps {
|
|
439
|
-
title?: string;
|
|
440
|
-
subtitle?: string;
|
|
441
|
-
left?: React.ReactNode;
|
|
442
|
-
right?: React.ReactNode;
|
|
443
|
-
variant?: HeaderVariant;
|
|
444
|
-
large?: boolean;
|
|
445
|
-
showBackButton?: boolean;
|
|
446
|
-
onBackPress?: () => void;
|
|
447
|
-
visible?: boolean;
|
|
448
|
-
children?: React.ReactNode;
|
|
449
|
-
className?: string;
|
|
450
|
-
}
|
|
451
|
-
declare function Header({ title, subtitle, left, right, variant, large, showBackButton, onBackPress, visible, children, className, }: HeaderProps): react_jsx_runtime.JSX.Element;
|
|
452
|
-
|
|
453
|
-
interface HeaderIconProps {
|
|
454
|
-
onPress?: () => void;
|
|
455
|
-
badge?: boolean;
|
|
456
|
-
children: React.ReactNode;
|
|
457
|
-
className?: string;
|
|
458
|
-
}
|
|
459
|
-
declare function HeaderIcon({ onPress, badge, children, className, }: HeaderIconProps): react_jsx_runtime.JSX.Element;
|
|
460
|
-
|
|
461
|
-
interface TabItem {
|
|
462
|
-
key: string;
|
|
463
|
-
label: string;
|
|
464
|
-
icon: React.ReactNode;
|
|
465
|
-
activeIcon?: React.ReactNode;
|
|
466
|
-
badge?: number;
|
|
467
|
-
}
|
|
468
|
-
interface TabBarProps {
|
|
469
|
-
tabs: TabItem[];
|
|
470
|
-
activeKey: string;
|
|
471
|
-
onChange: (key: string) => void;
|
|
472
|
-
className?: string;
|
|
473
|
-
}
|
|
474
|
-
declare function TabBar({ tabs, activeKey, onChange, className }: TabBarProps): react_jsx_runtime.JSX.Element;
|
|
475
|
-
|
|
476
|
-
interface TabButtonProps {
|
|
477
|
-
icon: React.ReactNode;
|
|
478
|
-
label: string;
|
|
479
|
-
active: boolean;
|
|
480
|
-
badge?: number;
|
|
481
|
-
onPress: () => void;
|
|
482
|
-
className?: string;
|
|
483
|
-
}
|
|
484
|
-
declare function TabButton({ icon, label, active, badge, onPress, className, }: TabButtonProps): react_jsx_runtime.JSX.Element;
|
|
485
|
-
|
|
486
|
-
interface Segment {
|
|
487
|
-
value: string;
|
|
488
|
-
label: string;
|
|
489
|
-
}
|
|
490
|
-
interface SegmentedControlProps {
|
|
491
|
-
segments: Segment[];
|
|
492
|
-
value: string;
|
|
493
|
-
onChange: (value: string) => void;
|
|
494
|
-
className?: string;
|
|
495
|
-
}
|
|
496
|
-
declare function SegmentedControl({ segments, value, onChange, className, }: SegmentedControlProps): react_jsx_runtime.JSX.Element;
|
|
497
|
-
|
|
498
|
-
interface BottomSheetProps {
|
|
499
|
-
children: React.ReactNode;
|
|
500
|
-
title?: string;
|
|
501
|
-
className?: string;
|
|
502
|
-
}
|
|
503
|
-
declare const BottomSheet: React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<ActionSheetRef>>;
|
|
504
|
-
|
|
505
|
-
interface BlinkModalProps {
|
|
506
|
-
visible: boolean;
|
|
507
|
-
onClose: () => void;
|
|
9
|
+
declare const blinkConfig: tamagui.TamaguiInternalConfig<{
|
|
10
|
+
color: {
|
|
11
|
+
white: tamagui.Variable<string>;
|
|
12
|
+
black: tamagui.Variable<string>;
|
|
13
|
+
transparent: tamagui.Variable<string>;
|
|
14
|
+
};
|
|
15
|
+
space: {
|
|
16
|
+
0: tamagui.Variable<number>;
|
|
17
|
+
true: tamagui.Variable<number>;
|
|
18
|
+
2: tamagui.Variable<number>;
|
|
19
|
+
4: tamagui.Variable<number>;
|
|
20
|
+
6: tamagui.Variable<number>;
|
|
21
|
+
8: tamagui.Variable<number>;
|
|
22
|
+
10: tamagui.Variable<number>;
|
|
23
|
+
12: tamagui.Variable<number>;
|
|
24
|
+
16: tamagui.Variable<number>;
|
|
25
|
+
[-1]: tamagui.Variable<number>;
|
|
26
|
+
[-2]: tamagui.Variable<number>;
|
|
27
|
+
[-3]: tamagui.Variable<number>;
|
|
28
|
+
[-4]: tamagui.Variable<number>;
|
|
29
|
+
0.5: tamagui.Variable<number>;
|
|
30
|
+
1: tamagui.Variable<number>;
|
|
31
|
+
1.5: tamagui.Variable<number>;
|
|
32
|
+
2.5: tamagui.Variable<number>;
|
|
33
|
+
3: tamagui.Variable<number>;
|
|
34
|
+
3.5: tamagui.Variable<number>;
|
|
35
|
+
5: tamagui.Variable<number>;
|
|
36
|
+
7: tamagui.Variable<number>;
|
|
37
|
+
9: tamagui.Variable<number>;
|
|
38
|
+
};
|
|
39
|
+
size: {
|
|
40
|
+
0: tamagui.Variable<number>;
|
|
41
|
+
true: tamagui.Variable<number>;
|
|
42
|
+
2: tamagui.Variable<number>;
|
|
43
|
+
4: tamagui.Variable<number>;
|
|
44
|
+
6: tamagui.Variable<number>;
|
|
45
|
+
8: tamagui.Variable<number>;
|
|
46
|
+
10: tamagui.Variable<number>;
|
|
47
|
+
12: tamagui.Variable<number>;
|
|
48
|
+
14: tamagui.Variable<number>;
|
|
49
|
+
16: tamagui.Variable<number>;
|
|
50
|
+
20: tamagui.Variable<number>;
|
|
51
|
+
1: tamagui.Variable<number>;
|
|
52
|
+
3: tamagui.Variable<number>;
|
|
53
|
+
5: tamagui.Variable<number>;
|
|
54
|
+
7: tamagui.Variable<number>;
|
|
55
|
+
9: tamagui.Variable<number>;
|
|
56
|
+
11: tamagui.Variable<number>;
|
|
57
|
+
};
|
|
58
|
+
radius: {
|
|
59
|
+
0: tamagui.Variable<number>;
|
|
60
|
+
true: tamagui.Variable<number>;
|
|
61
|
+
2: tamagui.Variable<number>;
|
|
62
|
+
4: tamagui.Variable<number>;
|
|
63
|
+
6: tamagui.Variable<number>;
|
|
64
|
+
8: tamagui.Variable<number>;
|
|
65
|
+
10: tamagui.Variable<number>;
|
|
66
|
+
1: tamagui.Variable<number>;
|
|
67
|
+
3: tamagui.Variable<number>;
|
|
68
|
+
5: tamagui.Variable<number>;
|
|
69
|
+
7: tamagui.Variable<number>;
|
|
70
|
+
9: tamagui.Variable<number>;
|
|
71
|
+
};
|
|
72
|
+
zIndex: {
|
|
73
|
+
0: tamagui.Variable<number>;
|
|
74
|
+
1: tamagui.Variable<number>;
|
|
75
|
+
2: tamagui.Variable<number>;
|
|
76
|
+
3: tamagui.Variable<number>;
|
|
77
|
+
4: tamagui.Variable<number>;
|
|
78
|
+
5: tamagui.Variable<number>;
|
|
79
|
+
};
|
|
80
|
+
} & Omit<{
|
|
81
|
+
color: {
|
|
82
|
+
white: tamagui.Variable<string>;
|
|
83
|
+
black: tamagui.Variable<string>;
|
|
84
|
+
transparent: tamagui.Variable<string>;
|
|
85
|
+
};
|
|
86
|
+
space: {
|
|
87
|
+
0: tamagui.Variable<number>;
|
|
88
|
+
true: tamagui.Variable<number>;
|
|
89
|
+
2: tamagui.Variable<number>;
|
|
90
|
+
4: tamagui.Variable<number>;
|
|
91
|
+
6: tamagui.Variable<number>;
|
|
92
|
+
8: tamagui.Variable<number>;
|
|
93
|
+
10: tamagui.Variable<number>;
|
|
94
|
+
12: tamagui.Variable<number>;
|
|
95
|
+
16: tamagui.Variable<number>;
|
|
96
|
+
[-1]: tamagui.Variable<number>;
|
|
97
|
+
[-2]: tamagui.Variable<number>;
|
|
98
|
+
[-3]: tamagui.Variable<number>;
|
|
99
|
+
[-4]: tamagui.Variable<number>;
|
|
100
|
+
0.5: tamagui.Variable<number>;
|
|
101
|
+
1: tamagui.Variable<number>;
|
|
102
|
+
1.5: tamagui.Variable<number>;
|
|
103
|
+
2.5: tamagui.Variable<number>;
|
|
104
|
+
3: tamagui.Variable<number>;
|
|
105
|
+
3.5: tamagui.Variable<number>;
|
|
106
|
+
5: tamagui.Variable<number>;
|
|
107
|
+
7: tamagui.Variable<number>;
|
|
108
|
+
9: tamagui.Variable<number>;
|
|
109
|
+
};
|
|
110
|
+
size: {
|
|
111
|
+
0: tamagui.Variable<number>;
|
|
112
|
+
true: tamagui.Variable<number>;
|
|
113
|
+
2: tamagui.Variable<number>;
|
|
114
|
+
4: tamagui.Variable<number>;
|
|
115
|
+
6: tamagui.Variable<number>;
|
|
116
|
+
8: tamagui.Variable<number>;
|
|
117
|
+
10: tamagui.Variable<number>;
|
|
118
|
+
12: tamagui.Variable<number>;
|
|
119
|
+
14: tamagui.Variable<number>;
|
|
120
|
+
16: tamagui.Variable<number>;
|
|
121
|
+
20: tamagui.Variable<number>;
|
|
122
|
+
1: tamagui.Variable<number>;
|
|
123
|
+
3: tamagui.Variable<number>;
|
|
124
|
+
5: tamagui.Variable<number>;
|
|
125
|
+
7: tamagui.Variable<number>;
|
|
126
|
+
9: tamagui.Variable<number>;
|
|
127
|
+
11: tamagui.Variable<number>;
|
|
128
|
+
};
|
|
129
|
+
radius: {
|
|
130
|
+
0: tamagui.Variable<number>;
|
|
131
|
+
true: tamagui.Variable<number>;
|
|
132
|
+
2: tamagui.Variable<number>;
|
|
133
|
+
4: tamagui.Variable<number>;
|
|
134
|
+
6: tamagui.Variable<number>;
|
|
135
|
+
8: tamagui.Variable<number>;
|
|
136
|
+
10: tamagui.Variable<number>;
|
|
137
|
+
1: tamagui.Variable<number>;
|
|
138
|
+
3: tamagui.Variable<number>;
|
|
139
|
+
5: tamagui.Variable<number>;
|
|
140
|
+
7: tamagui.Variable<number>;
|
|
141
|
+
9: tamagui.Variable<number>;
|
|
142
|
+
};
|
|
143
|
+
zIndex: {
|
|
144
|
+
0: tamagui.Variable<number>;
|
|
145
|
+
1: tamagui.Variable<number>;
|
|
146
|
+
2: tamagui.Variable<number>;
|
|
147
|
+
3: tamagui.Variable<number>;
|
|
148
|
+
4: tamagui.Variable<number>;
|
|
149
|
+
5: tamagui.Variable<number>;
|
|
150
|
+
};
|
|
151
|
+
}, "color" | "space" | "size" | "radius" | "zIndex">, {
|
|
152
|
+
light: {
|
|
153
|
+
background: string;
|
|
154
|
+
backgroundHover: string;
|
|
155
|
+
backgroundPress: string;
|
|
156
|
+
color: string;
|
|
157
|
+
colorHover: string;
|
|
158
|
+
colorPress: string;
|
|
159
|
+
primary: string;
|
|
160
|
+
primaryHover: string;
|
|
161
|
+
primaryPress: string;
|
|
162
|
+
secondary: string;
|
|
163
|
+
secondaryHover: string;
|
|
164
|
+
secondaryPress: string;
|
|
165
|
+
accent: string;
|
|
166
|
+
surface: string;
|
|
167
|
+
surfaceHover: string;
|
|
168
|
+
card: string;
|
|
169
|
+
cardHover: string;
|
|
170
|
+
border: string;
|
|
171
|
+
borderHover: string;
|
|
172
|
+
textPrimary: string;
|
|
173
|
+
textSecondary: string;
|
|
174
|
+
textMuted: string;
|
|
175
|
+
textInverse: string;
|
|
176
|
+
error: string;
|
|
177
|
+
errorHover: string;
|
|
178
|
+
success: string;
|
|
179
|
+
successHover: string;
|
|
180
|
+
warning: string;
|
|
181
|
+
warningHover: string;
|
|
182
|
+
highlight: string;
|
|
183
|
+
overlay: string;
|
|
184
|
+
shadowColor: string;
|
|
185
|
+
};
|
|
186
|
+
dark: {
|
|
187
|
+
background: string;
|
|
188
|
+
backgroundHover: string;
|
|
189
|
+
backgroundPress: string;
|
|
190
|
+
color: string;
|
|
191
|
+
colorHover: string;
|
|
192
|
+
colorPress: string;
|
|
193
|
+
primary: string;
|
|
194
|
+
primaryHover: string;
|
|
195
|
+
primaryPress: string;
|
|
196
|
+
secondary: string;
|
|
197
|
+
secondaryHover: string;
|
|
198
|
+
secondaryPress: string;
|
|
199
|
+
accent: string;
|
|
200
|
+
surface: string;
|
|
201
|
+
surfaceHover: string;
|
|
202
|
+
card: string;
|
|
203
|
+
cardHover: string;
|
|
204
|
+
border: string;
|
|
205
|
+
borderHover: string;
|
|
206
|
+
textPrimary: string;
|
|
207
|
+
textSecondary: string;
|
|
208
|
+
textMuted: string;
|
|
209
|
+
textInverse: string;
|
|
210
|
+
error: string;
|
|
211
|
+
errorHover: string;
|
|
212
|
+
success: string;
|
|
213
|
+
successHover: string;
|
|
214
|
+
warning: string;
|
|
215
|
+
warningHover: string;
|
|
216
|
+
highlight: string;
|
|
217
|
+
overlay: string;
|
|
218
|
+
shadowColor: string;
|
|
219
|
+
};
|
|
220
|
+
}, {
|
|
221
|
+
readonly px: "paddingHorizontal";
|
|
222
|
+
readonly py: "paddingVertical";
|
|
223
|
+
readonly mx: "marginHorizontal";
|
|
224
|
+
readonly my: "marginVertical";
|
|
225
|
+
readonly bg: "backgroundColor";
|
|
226
|
+
readonly br: "borderRadius";
|
|
227
|
+
readonly f: "flex";
|
|
228
|
+
readonly w: "width";
|
|
229
|
+
readonly h: "height";
|
|
230
|
+
}, {
|
|
231
|
+
xs: {
|
|
232
|
+
maxWidth: number;
|
|
233
|
+
};
|
|
234
|
+
sm: {
|
|
235
|
+
maxWidth: number;
|
|
236
|
+
};
|
|
237
|
+
md: {
|
|
238
|
+
maxWidth: number;
|
|
239
|
+
};
|
|
240
|
+
lg: {
|
|
241
|
+
maxWidth: number;
|
|
242
|
+
};
|
|
243
|
+
gtSm: {
|
|
244
|
+
minWidth: number;
|
|
245
|
+
};
|
|
246
|
+
short: {
|
|
247
|
+
maxHeight: number;
|
|
248
|
+
};
|
|
249
|
+
}, {}, {
|
|
250
|
+
heading: {
|
|
251
|
+
family: string;
|
|
252
|
+
size: {
|
|
253
|
+
1: number;
|
|
254
|
+
2: number;
|
|
255
|
+
3: number;
|
|
256
|
+
4: number;
|
|
257
|
+
5: number;
|
|
258
|
+
6: number;
|
|
259
|
+
7: number;
|
|
260
|
+
8: number;
|
|
261
|
+
9: number;
|
|
262
|
+
10: number;
|
|
263
|
+
11: number;
|
|
264
|
+
12: number;
|
|
265
|
+
true: number;
|
|
266
|
+
};
|
|
267
|
+
lineHeight: {
|
|
268
|
+
1: number;
|
|
269
|
+
2: number;
|
|
270
|
+
3: number;
|
|
271
|
+
4: number;
|
|
272
|
+
5: number;
|
|
273
|
+
6: number;
|
|
274
|
+
7: number;
|
|
275
|
+
8: number;
|
|
276
|
+
9: number;
|
|
277
|
+
10: number;
|
|
278
|
+
11: number;
|
|
279
|
+
12: number;
|
|
280
|
+
true: number;
|
|
281
|
+
};
|
|
282
|
+
weight: {
|
|
283
|
+
1: string;
|
|
284
|
+
2: string;
|
|
285
|
+
3: string;
|
|
286
|
+
4: string;
|
|
287
|
+
5: string;
|
|
288
|
+
true: string;
|
|
289
|
+
};
|
|
290
|
+
letterSpacing: {
|
|
291
|
+
1: number;
|
|
292
|
+
2: number;
|
|
293
|
+
3: number;
|
|
294
|
+
4: number;
|
|
295
|
+
true: number;
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
body: {
|
|
299
|
+
family: string;
|
|
300
|
+
size: {
|
|
301
|
+
1: number;
|
|
302
|
+
2: number;
|
|
303
|
+
3: number;
|
|
304
|
+
4: number;
|
|
305
|
+
5: number;
|
|
306
|
+
6: number;
|
|
307
|
+
7: number;
|
|
308
|
+
8: number;
|
|
309
|
+
9: number;
|
|
310
|
+
10: number;
|
|
311
|
+
11: number;
|
|
312
|
+
12: number;
|
|
313
|
+
true: number;
|
|
314
|
+
};
|
|
315
|
+
lineHeight: {
|
|
316
|
+
1: number;
|
|
317
|
+
2: number;
|
|
318
|
+
3: number;
|
|
319
|
+
4: number;
|
|
320
|
+
5: number;
|
|
321
|
+
6: number;
|
|
322
|
+
7: number;
|
|
323
|
+
8: number;
|
|
324
|
+
9: number;
|
|
325
|
+
10: number;
|
|
326
|
+
11: number;
|
|
327
|
+
12: number;
|
|
328
|
+
true: number;
|
|
329
|
+
};
|
|
330
|
+
weight: {
|
|
331
|
+
1: string;
|
|
332
|
+
2: string;
|
|
333
|
+
3: string;
|
|
334
|
+
4: string;
|
|
335
|
+
5: string;
|
|
336
|
+
true: string;
|
|
337
|
+
};
|
|
338
|
+
letterSpacing: {
|
|
339
|
+
1: number;
|
|
340
|
+
2: number;
|
|
341
|
+
3: number;
|
|
342
|
+
4: number;
|
|
343
|
+
true: number;
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
}, {
|
|
347
|
+
allowedStyleValues: false;
|
|
348
|
+
autocompleteSpecificTokens: "except-special";
|
|
349
|
+
}>;
|
|
350
|
+
type BlinkConfig = typeof blinkConfig;
|
|
351
|
+
declare module 'tamagui' {
|
|
352
|
+
interface TamaguiCustomConfig extends BlinkConfig {
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
declare const ButtonFrame: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
357
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
358
|
+
variant?: "primary" | "secondary" | "outline" | "ghost" | "destructive" | undefined;
|
|
359
|
+
disabled?: boolean | undefined;
|
|
360
|
+
fullWidth?: boolean | undefined;
|
|
361
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
362
|
+
type ButtonProps = GetProps<typeof ButtonFrame> & {
|
|
508
363
|
title?: string;
|
|
509
|
-
description?: string;
|
|
510
|
-
children?: React.ReactNode;
|
|
511
|
-
showCloseButton?: boolean;
|
|
512
|
-
className?: string;
|
|
513
|
-
}
|
|
514
|
-
declare function BlinkModal({ visible, onClose, title, description, children, showCloseButton, className, }: BlinkModalProps): react_jsx_runtime.JSX.Element;
|
|
515
|
-
|
|
516
|
-
interface ConfirmationSheetProps {
|
|
517
|
-
title: string;
|
|
518
|
-
message?: string;
|
|
519
|
-
confirmLabel?: string;
|
|
520
|
-
cancelLabel?: string;
|
|
521
|
-
onConfirm: () => void;
|
|
522
|
-
onCancel: () => void;
|
|
523
|
-
destructive?: boolean;
|
|
524
|
-
className?: string;
|
|
525
|
-
}
|
|
526
|
-
declare function ConfirmationSheet({ title, message, confirmLabel, cancelLabel, onConfirm, onCancel, destructive, className, }: ConfirmationSheetProps): react_jsx_runtime.JSX.Element;
|
|
527
|
-
declare function useConfirmationSheet(): {
|
|
528
|
-
show: (p: ConfirmationSheetProps) => void;
|
|
529
|
-
Sheet: react_jsx_runtime.JSX.Element | null;
|
|
530
364
|
};
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
365
|
+
declare const Button: react.ForwardRefExoticComponent<Omit<_tamagui_core.RNTamaguiViewNonStyleProps, "size" | "variant" | "disabled" | keyof _tamagui_web.StackStyleBase | "fullWidth"> & _tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase> & {
|
|
366
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
367
|
+
variant?: "primary" | "secondary" | "outline" | "ghost" | "destructive" | undefined;
|
|
368
|
+
disabled?: boolean | undefined;
|
|
369
|
+
fullWidth?: boolean | undefined;
|
|
370
|
+
} & _tamagui_web.WithShorthands<_tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase>> & _tamagui_web.WithPseudoProps<_tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase> & {
|
|
371
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
372
|
+
variant?: "primary" | "secondary" | "outline" | "ghost" | "destructive" | undefined;
|
|
373
|
+
disabled?: boolean | undefined;
|
|
374
|
+
fullWidth?: boolean | undefined;
|
|
375
|
+
} & _tamagui_web.WithShorthands<_tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase>>> & _tamagui_web.WithMediaProps<_tamagui_web.WithThemeShorthandsAndPseudos<_tamagui_web.StackStyleBase, {
|
|
376
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
377
|
+
variant?: "primary" | "secondary" | "outline" | "ghost" | "destructive" | undefined;
|
|
378
|
+
disabled?: boolean | undefined;
|
|
379
|
+
fullWidth?: boolean | undefined;
|
|
380
|
+
}>> & react.RefAttributes<tamagui.TamaguiElement>> & _tamagui_web.StaticComponentObject<_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
381
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
382
|
+
variant?: "primary" | "secondary" | "outline" | "ghost" | "destructive" | undefined;
|
|
383
|
+
disabled?: boolean | undefined;
|
|
384
|
+
fullWidth?: boolean | undefined;
|
|
385
|
+
}, _tamagui_web.StaticConfigPublic> & Omit<_tamagui_web.StaticConfigPublic, "staticConfig" | "extractable" | "styleable"> & {
|
|
386
|
+
__tama: [_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
387
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
388
|
+
variant?: "primary" | "secondary" | "outline" | "ghost" | "destructive" | undefined;
|
|
389
|
+
disabled?: boolean | undefined;
|
|
390
|
+
fullWidth?: boolean | undefined;
|
|
391
|
+
}, _tamagui_web.StaticConfigPublic];
|
|
392
|
+
} & {
|
|
393
|
+
Text: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiTextElement, _tamagui_core.RNTamaguiTextNonStyleProps, _tamagui_web.TextStylePropsBase, {
|
|
394
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
395
|
+
variant?: "primary" | "secondary" | "outline" | "ghost" | "destructive" | undefined;
|
|
396
|
+
unstyled?: boolean | undefined;
|
|
397
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
550
398
|
};
|
|
551
399
|
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
400
|
+
declare const BlinkText: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiTextElement, _tamagui_core.RNTamaguiTextNonStyleProps, _tamagui_web.TextStylePropsBase, {
|
|
401
|
+
secondary?: boolean | undefined;
|
|
402
|
+
center?: boolean | undefined;
|
|
403
|
+
variant?: "body" | "display" | "small" | "h1" | "h2" | "h3" | "h4" | "bodySmall" | "caption" | "tiny" | undefined;
|
|
404
|
+
unstyled?: boolean | undefined;
|
|
405
|
+
bold?: boolean | undefined;
|
|
406
|
+
muted?: boolean | undefined;
|
|
407
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
408
|
+
type BlinkTextProps = typeof BlinkText extends React.ComponentType<infer P> ? P : never;
|
|
409
|
+
|
|
410
|
+
declare const CardFrame: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
411
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
412
|
+
variant?: "flat" | "elevated" | "outlined" | undefined;
|
|
413
|
+
pressable?: boolean | undefined;
|
|
414
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
415
|
+
type CardProps = GetProps<typeof CardFrame>;
|
|
416
|
+
declare const Card: react.ForwardRefExoticComponent<Omit<_tamagui_core.RNTamaguiViewNonStyleProps, "size" | "variant" | keyof _tamagui_web.StackStyleBase | "pressable"> & _tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase> & {
|
|
417
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
418
|
+
variant?: "flat" | "elevated" | "outlined" | undefined;
|
|
419
|
+
pressable?: boolean | undefined;
|
|
420
|
+
} & _tamagui_web.WithShorthands<_tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase>> & _tamagui_web.WithPseudoProps<_tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase> & {
|
|
421
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
422
|
+
variant?: "flat" | "elevated" | "outlined" | undefined;
|
|
423
|
+
pressable?: boolean | undefined;
|
|
424
|
+
} & _tamagui_web.WithShorthands<_tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase>>> & _tamagui_web.WithMediaProps<_tamagui_web.WithThemeShorthandsAndPseudos<_tamagui_web.StackStyleBase, {
|
|
425
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
426
|
+
variant?: "flat" | "elevated" | "outlined" | undefined;
|
|
427
|
+
pressable?: boolean | undefined;
|
|
428
|
+
}>> & react.RefAttributes<tamagui.TamaguiElement>> & _tamagui_web.StaticComponentObject<_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
429
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
430
|
+
variant?: "flat" | "elevated" | "outlined" | undefined;
|
|
431
|
+
pressable?: boolean | undefined;
|
|
432
|
+
}, _tamagui_web.StaticConfigPublic> & Omit<_tamagui_web.StaticConfigPublic, "staticConfig" | "extractable" | "styleable"> & {
|
|
433
|
+
__tama: [_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
434
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
435
|
+
variant?: "flat" | "elevated" | "outlined" | undefined;
|
|
436
|
+
pressable?: boolean | undefined;
|
|
437
|
+
}, _tamagui_web.StaticConfigPublic];
|
|
438
|
+
} & {
|
|
439
|
+
Header: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {}, _tamagui_web.StaticConfigPublic>;
|
|
440
|
+
Content: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {}, _tamagui_web.StaticConfigPublic>;
|
|
441
|
+
Footer: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {}, _tamagui_web.StaticConfigPublic>;
|
|
569
442
|
};
|
|
570
443
|
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
444
|
+
declare const InputField: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, react_native.TextInput, _tamagui_web.TamaguiComponentPropsBaseBase & react_native.TextInputProps & tamagui.InputExtraProps, _tamagui_web.TextStylePropsBase & {
|
|
445
|
+
readonly placeholderTextColor?: Omit<tamagui.ColorTokens | _tamagui_web.ThemeValueFallbackColor, "unset"> | undefined;
|
|
446
|
+
readonly selectionColor?: Omit<tamagui.ColorTokens | _tamagui_web.ThemeValueFallbackColor, "unset"> | undefined;
|
|
447
|
+
}, {
|
|
448
|
+
size?: tamagui.SizeTokens | undefined;
|
|
449
|
+
variant?: "default" | "filled" | undefined;
|
|
450
|
+
disabled?: boolean | undefined;
|
|
451
|
+
unstyled?: boolean | undefined;
|
|
452
|
+
hasError?: boolean | undefined;
|
|
453
|
+
}, {
|
|
454
|
+
isInput: true;
|
|
455
|
+
accept: {
|
|
456
|
+
readonly placeholderTextColor: "color";
|
|
457
|
+
readonly selectionColor: "color";
|
|
585
458
|
};
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
width?: number | string;
|
|
592
|
-
height?: number;
|
|
593
|
-
className?: string;
|
|
594
|
-
}
|
|
595
|
-
declare function Placeholder({ width, height, className, }: PlaceholderProps): react_jsx_runtime.JSX.Element;
|
|
596
|
-
|
|
597
|
-
interface TextSkeletonProps {
|
|
598
|
-
lines?: number;
|
|
599
|
-
className?: string;
|
|
600
|
-
}
|
|
601
|
-
declare function TextSkeleton({ lines, className }: TextSkeletonProps): react_jsx_runtime.JSX.Element;
|
|
602
|
-
interface CardSkeletonProps {
|
|
603
|
-
className?: string;
|
|
604
|
-
}
|
|
605
|
-
declare function CardSkeleton({ className }: CardSkeletonProps): react_jsx_runtime.JSX.Element;
|
|
606
|
-
interface ListSkeletonProps {
|
|
607
|
-
rows?: number;
|
|
608
|
-
className?: string;
|
|
609
|
-
}
|
|
610
|
-
declare function ListSkeleton({ rows, className }: ListSkeletonProps): react_jsx_runtime.JSX.Element;
|
|
611
|
-
interface ChatSkeletonProps {
|
|
612
|
-
className?: string;
|
|
613
|
-
}
|
|
614
|
-
declare function ChatSkeleton({ className }: ChatSkeletonProps): react_jsx_runtime.JSX.Element;
|
|
615
|
-
interface ArticleSkeletonProps {
|
|
616
|
-
className?: string;
|
|
617
|
-
}
|
|
618
|
-
declare function ArticleSkeleton({ className }: ArticleSkeletonProps): react_jsx_runtime.JSX.Element;
|
|
619
|
-
interface GridSkeletonProps {
|
|
620
|
-
columns?: number;
|
|
621
|
-
count?: number;
|
|
622
|
-
className?: string;
|
|
623
|
-
}
|
|
624
|
-
declare function GridSkeleton({ columns, count, className }: GridSkeletonProps): react_jsx_runtime.JSX.Element;
|
|
625
|
-
declare const SkeletonLoader: {
|
|
626
|
-
Text: typeof TextSkeleton;
|
|
627
|
-
Card: typeof CardSkeleton;
|
|
628
|
-
List: typeof ListSkeleton;
|
|
629
|
-
Chat: typeof ChatSkeleton;
|
|
630
|
-
Article: typeof ArticleSkeleton;
|
|
631
|
-
Grid: typeof GridSkeleton;
|
|
632
|
-
};
|
|
633
|
-
|
|
634
|
-
type AnimationType = 'fadeIn' | 'scaleIn' | 'slideInBottom' | 'slideInRight' | 'slideInLeft' | 'slideInTop' | 'bounceIn' | 'flipInX' | 'zoomInRotate' | 'rotateIn' | 'slideOutBottom' | 'slideOutRight' | 'slideOutLeft' | 'slideOutTop' | 'scaleOut';
|
|
635
|
-
interface AnimatedViewProps {
|
|
636
|
-
children?: React.ReactNode;
|
|
637
|
-
animation: AnimationType;
|
|
638
|
-
duration?: number;
|
|
639
|
-
delay?: number;
|
|
640
|
-
easing?: EasingFunction;
|
|
641
|
-
className?: string;
|
|
642
|
-
playOnlyOnce?: boolean;
|
|
643
|
-
triggerOnVisible?: boolean;
|
|
644
|
-
visibilityThreshold?: number;
|
|
645
|
-
shouldResetAnimation?: boolean;
|
|
646
|
-
}
|
|
647
|
-
declare function AnimatedViewComponent({ children, animation, duration, delay, easing, className, playOnlyOnce, triggerOnVisible, visibilityThreshold, shouldResetAnimation, }: AnimatedViewProps): react_jsx_runtime.JSX.Element;
|
|
648
|
-
declare const AnimatedView: React.MemoExoticComponent<typeof AnimatedViewComponent>;
|
|
649
|
-
|
|
650
|
-
interface FabAction {
|
|
651
|
-
icon: React.ReactNode;
|
|
652
|
-
label: string;
|
|
653
|
-
onPress: () => void;
|
|
654
|
-
}
|
|
655
|
-
interface AnimatedFabProps {
|
|
656
|
-
icon: React.ReactNode;
|
|
657
|
-
actions?: FabAction[];
|
|
658
|
-
onPress?: () => void;
|
|
659
|
-
className?: string;
|
|
660
|
-
}
|
|
661
|
-
declare function AnimatedFab({ icon, actions, onPress, className, }: AnimatedFabProps): react_jsx_runtime.JSX.Element;
|
|
662
|
-
|
|
663
|
-
interface StepProps {
|
|
664
|
-
title?: string;
|
|
665
|
-
children: ReactNode;
|
|
666
|
-
}
|
|
667
|
-
declare function Step({ children }: StepProps): react_jsx_runtime.JSX.Element;
|
|
668
|
-
interface MultiStepProps {
|
|
669
|
-
children: ReactNode;
|
|
670
|
-
onComplete?: () => void;
|
|
671
|
-
showProgress?: boolean;
|
|
672
|
-
showSkip?: boolean;
|
|
673
|
-
nextLabel?: string;
|
|
674
|
-
completeLabel?: string;
|
|
675
|
-
className?: string;
|
|
676
|
-
}
|
|
677
|
-
declare function MultiStepRoot({ children, onComplete, showProgress, showSkip, nextLabel, completeLabel, className, }: MultiStepProps): react_jsx_runtime.JSX.Element | null;
|
|
678
|
-
declare const MultiStep: typeof MultiStepRoot & {
|
|
679
|
-
Step: typeof Step;
|
|
459
|
+
} & _tamagui_web.StaticConfigPublic>;
|
|
460
|
+
type InputProps = GetProps<typeof InputField> & {
|
|
461
|
+
label?: string;
|
|
462
|
+
error?: string;
|
|
463
|
+
hint?: string;
|
|
680
464
|
};
|
|
681
465
|
|
|
682
|
-
|
|
683
|
-
children: React.ReactNode;
|
|
684
|
-
duration?: number;
|
|
685
|
-
delay?: number;
|
|
686
|
-
className?: string;
|
|
687
|
-
}
|
|
688
|
-
declare const FadeIn: React.FC<TransitionProps>;
|
|
689
|
-
declare const SlideUp: React.FC<TransitionProps>;
|
|
690
|
-
interface SlideInProps extends TransitionProps {
|
|
691
|
-
from?: 'left' | 'right' | 'bottom' | 'top';
|
|
692
|
-
}
|
|
693
|
-
declare const SlideIn: React.FC<SlideInProps>;
|
|
694
|
-
declare const ScaleIn: React.FC<TransitionProps>;
|
|
695
|
-
|
|
696
|
-
interface ThemeScrollerProps extends ScrollViewProps {
|
|
697
|
-
children: React.ReactNode;
|
|
698
|
-
topOffset?: number;
|
|
699
|
-
className?: string;
|
|
700
|
-
}
|
|
701
|
-
declare function ThemeScroller({ children, topOffset, className, contentContainerStyle, ...props }: ThemeScrollerProps): react_jsx_runtime.JSX.Element;
|
|
702
|
-
|
|
703
|
-
interface CardScrollerProps {
|
|
704
|
-
children: React.ReactNode;
|
|
705
|
-
cardWidth?: number;
|
|
706
|
-
gap?: number;
|
|
707
|
-
snapEnabled?: boolean;
|
|
708
|
-
className?: string;
|
|
709
|
-
}
|
|
710
|
-
declare function CardScroller({ children, cardWidth, gap, snapEnabled, className, }: CardScrollerProps): react_jsx_runtime.JSX.Element;
|
|
711
|
-
|
|
712
|
-
interface ImageCarouselProps {
|
|
713
|
-
images: string[];
|
|
714
|
-
height?: number;
|
|
715
|
-
borderRadius?: number;
|
|
716
|
-
onIndexChange?: (index: number) => void;
|
|
717
|
-
className?: string;
|
|
718
|
-
}
|
|
719
|
-
declare function ImageCarousel({ images, height, borderRadius, onIndexChange, className, }: ImageCarouselProps): react_jsx_runtime.JSX.Element;
|
|
720
|
-
|
|
721
|
-
interface PlanOption {
|
|
722
|
-
id: string;
|
|
723
|
-
label: string;
|
|
724
|
-
price: string;
|
|
725
|
-
period: string;
|
|
726
|
-
badge?: string;
|
|
727
|
-
savings?: string;
|
|
728
|
-
}
|
|
729
|
-
interface PlanCardProps {
|
|
730
|
-
plan: PlanOption;
|
|
731
|
-
selected: boolean;
|
|
732
|
-
onSelect: (plan: PlanOption) => void;
|
|
733
|
-
className?: string;
|
|
734
|
-
}
|
|
735
|
-
declare function PlanCard({ plan, selected, onSelect, className }: PlanCardProps): react_jsx_runtime.JSX.Element;
|
|
466
|
+
declare function Input({ label, error, hint, ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
736
467
|
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
appName: string;
|
|
744
|
-
tagline?: string;
|
|
745
|
-
features: PaywallFeature[];
|
|
746
|
-
plans: PlanOption[];
|
|
747
|
-
selectedPlan: string;
|
|
748
|
-
onSubscribe: (planId: string) => void;
|
|
749
|
-
onSelectPlan?: (plan: PlanOption) => void;
|
|
750
|
-
onDismiss?: () => void;
|
|
751
|
-
loading?: boolean;
|
|
752
|
-
ctaLabel?: string;
|
|
753
|
-
disclaimer?: string;
|
|
754
|
-
className?: string;
|
|
755
|
-
}
|
|
756
|
-
declare function PaywallScreen({ appName, tagline, features, plans, selectedPlan, onSubscribe, onSelectPlan, onDismiss, loading, ctaLabel, disclaimer, className, }: PaywallScreenProps): react_jsx_runtime.JSX.Element;
|
|
757
|
-
|
|
758
|
-
type PaywallSoftProps = Omit<PaywallScreenProps, 'onDismiss'> & {
|
|
759
|
-
onDismiss: () => void;
|
|
760
|
-
className?: string;
|
|
761
|
-
};
|
|
762
|
-
declare function PaywallSoft({ className, ...props }: PaywallSoftProps): react_jsx_runtime.JSX.Element;
|
|
763
|
-
|
|
764
|
-
type PaywallHardProps = Omit<PaywallScreenProps, 'onDismiss'> & {
|
|
765
|
-
className?: string;
|
|
468
|
+
declare const AvatarFrame: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
469
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
470
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
471
|
+
type AvatarProps = GetProps<typeof AvatarFrame> & {
|
|
472
|
+
uri?: string;
|
|
473
|
+
name?: string;
|
|
766
474
|
};
|
|
767
|
-
declare function
|
|
768
|
-
|
|
769
|
-
interface FeatureRowProps {
|
|
770
|
-
label: string;
|
|
771
|
-
free?: boolean;
|
|
772
|
-
pro?: boolean;
|
|
773
|
-
className?: string;
|
|
774
|
-
}
|
|
775
|
-
declare function FeatureRow({ label, free, pro, className }: FeatureRowProps): react_jsx_runtime.JSX.Element;
|
|
776
|
-
|
|
777
|
-
interface PlanComparisonProps {
|
|
778
|
-
features: Omit<FeatureRowProps, 'className'>[];
|
|
779
|
-
freeLabel?: string;
|
|
780
|
-
proLabel?: string;
|
|
781
|
-
className?: string;
|
|
782
|
-
}
|
|
783
|
-
declare function PlanComparison({ features, freeLabel, proLabel, className, }: PlanComparisonProps): react_jsx_runtime.JSX.Element;
|
|
784
|
-
|
|
785
|
-
interface TrialBannerProps {
|
|
786
|
-
days: number;
|
|
787
|
-
message?: string;
|
|
788
|
-
className?: string;
|
|
789
|
-
}
|
|
790
|
-
declare function TrialBanner({ days, message, className }: TrialBannerProps): react_jsx_runtime.JSX.Element;
|
|
791
|
-
|
|
792
|
-
interface SocialProofBarProps {
|
|
793
|
-
userCount?: string;
|
|
794
|
-
rating?: number;
|
|
795
|
-
reviewCount?: string;
|
|
796
|
-
className?: string;
|
|
797
|
-
}
|
|
798
|
-
declare function SocialProofBar({ userCount, rating, reviewCount, className, }: SocialProofBarProps): react_jsx_runtime.JSX.Element;
|
|
799
|
-
|
|
800
|
-
interface OnboardingSlide {
|
|
801
|
-
id: string;
|
|
802
|
-
title: string;
|
|
803
|
-
description: string;
|
|
804
|
-
visual?: React.ReactNode;
|
|
805
|
-
}
|
|
806
|
-
interface OnboardingCarouselProps {
|
|
807
|
-
slides: OnboardingSlide[];
|
|
808
|
-
onComplete: () => void;
|
|
809
|
-
onSkip?: () => void;
|
|
810
|
-
showSkip?: boolean;
|
|
811
|
-
showDots?: boolean;
|
|
812
|
-
nextLabel?: string;
|
|
813
|
-
completeLabel?: string;
|
|
814
|
-
className?: string;
|
|
815
|
-
}
|
|
816
|
-
declare function OnboardingCarousel({ slides, onComplete, onSkip, showSkip, showDots, nextLabel, completeLabel, className, }: OnboardingCarouselProps): react_jsx_runtime.JSX.Element;
|
|
817
|
-
|
|
818
|
-
interface ParallaxLayer {
|
|
819
|
-
content: React.ReactNode;
|
|
820
|
-
speed?: number;
|
|
821
|
-
}
|
|
822
|
-
interface ParallaxSlide {
|
|
823
|
-
id: string;
|
|
824
|
-
title: string;
|
|
825
|
-
description: string;
|
|
826
|
-
layers: ParallaxLayer[];
|
|
827
|
-
}
|
|
828
|
-
interface OnboardingParallaxProps {
|
|
829
|
-
slides: ParallaxSlide[];
|
|
830
|
-
onComplete: () => void;
|
|
831
|
-
onSkip?: () => void;
|
|
832
|
-
showSkip?: boolean;
|
|
833
|
-
completeLabel?: string;
|
|
834
|
-
nextLabel?: string;
|
|
835
|
-
className?: string;
|
|
836
|
-
}
|
|
837
|
-
declare function OnboardingParallax({ slides, onComplete, onSkip, showSkip, completeLabel, nextLabel, className, }: OnboardingParallaxProps): react_jsx_runtime.JSX.Element;
|
|
838
|
-
|
|
839
|
-
interface OnboardingHeroProps {
|
|
840
|
-
title: string;
|
|
841
|
-
description: string;
|
|
842
|
-
visual?: React.ReactNode;
|
|
843
|
-
ctaLabel?: string;
|
|
844
|
-
onCta: () => void;
|
|
845
|
-
secondaryLabel?: string;
|
|
846
|
-
onSecondary?: () => void;
|
|
847
|
-
className?: string;
|
|
848
|
-
}
|
|
849
|
-
declare function OnboardingHero({ title, description, visual, ctaLabel, onCta, secondaryLabel, onSecondary, className, }: OnboardingHeroProps): react_jsx_runtime.JSX.Element;
|
|
850
|
-
|
|
851
|
-
interface PermissionStepProps {
|
|
852
|
-
icon: React.ReactNode;
|
|
853
|
-
title: string;
|
|
854
|
-
description: string;
|
|
855
|
-
allowLabel?: string;
|
|
856
|
-
skipLabel?: string;
|
|
857
|
-
onAllow: () => void;
|
|
858
|
-
onSkip: () => void;
|
|
859
|
-
className?: string;
|
|
860
|
-
}
|
|
861
|
-
declare function PermissionStep({ icon, title, description, allowLabel, skipLabel, onAllow, onSkip, className, }: PermissionStepProps): react_jsx_runtime.JSX.Element;
|
|
862
|
-
|
|
863
|
-
interface QuizOption {
|
|
864
|
-
id: string;
|
|
865
|
-
label: string;
|
|
866
|
-
icon?: React.ReactNode;
|
|
867
|
-
}
|
|
868
|
-
interface QuizStepProps {
|
|
869
|
-
title: string;
|
|
870
|
-
description?: string;
|
|
871
|
-
options: QuizOption[];
|
|
872
|
-
multiSelect?: boolean;
|
|
873
|
-
onSubmit: (selected: string[]) => void;
|
|
874
|
-
submitLabel?: string;
|
|
875
|
-
className?: string;
|
|
876
|
-
}
|
|
877
|
-
declare function QuizStep({ title, description, options, multiSelect, onSubmit, submitLabel, className, }: QuizStepProps): react_jsx_runtime.JSX.Element;
|
|
878
|
-
|
|
879
|
-
interface OnboardingFlowStep {
|
|
880
|
-
id: string;
|
|
881
|
-
component: React.ReactNode;
|
|
882
|
-
}
|
|
883
|
-
interface OnboardingFlowProps {
|
|
884
|
-
steps: OnboardingFlowStep[];
|
|
885
|
-
onComplete: () => void;
|
|
886
|
-
showProgress?: boolean;
|
|
887
|
-
className?: string;
|
|
888
|
-
}
|
|
889
|
-
declare function OnboardingFlow({ steps, onComplete, showProgress, className, }: OnboardingFlowProps): react_jsx_runtime.JSX.Element;
|
|
890
|
-
|
|
891
|
-
interface AuthProvider {
|
|
892
|
-
id: 'google' | 'apple' | 'email' | string;
|
|
893
|
-
label?: string;
|
|
894
|
-
icon?: React.ReactNode;
|
|
895
|
-
}
|
|
896
|
-
interface AuthButtonsProps {
|
|
897
|
-
providers?: AuthProvider[];
|
|
898
|
-
onAuth: (providerId: string) => void;
|
|
899
|
-
className?: string;
|
|
900
|
-
}
|
|
901
|
-
declare function AuthButtons({ providers, onAuth, className, }: AuthButtonsProps): react_jsx_runtime.JSX.Element;
|
|
902
|
-
|
|
903
|
-
type SwipeDirection = 'left' | 'right' | 'up';
|
|
904
|
-
interface SwipeDeckProps<T> {
|
|
905
|
-
data: T[];
|
|
906
|
-
renderCard: (item: T, index: number) => React.ReactNode;
|
|
907
|
-
onSwipeLeft?: (item: T) => void;
|
|
908
|
-
onSwipeRight?: (item: T) => void;
|
|
909
|
-
onSwipeUp?: (item: T) => void;
|
|
910
|
-
onEmpty?: () => React.ReactNode;
|
|
911
|
-
swipeThreshold?: number;
|
|
912
|
-
rotationFactor?: number;
|
|
913
|
-
stackDepth?: number;
|
|
914
|
-
className?: string;
|
|
915
|
-
}
|
|
916
|
-
declare function SwipeDeck<T>({ data, renderCard, onSwipeLeft, onSwipeRight, onSwipeUp, onEmpty, swipeThreshold, rotationFactor, stackDepth, className, }: SwipeDeckProps<T>): react_jsx_runtime.JSX.Element;
|
|
917
|
-
|
|
918
|
-
interface SwipeCardProps {
|
|
919
|
-
children: React.ReactNode;
|
|
920
|
-
className?: string;
|
|
921
|
-
}
|
|
922
|
-
declare function SwipeCard({ children, className }: SwipeCardProps): react_jsx_runtime.JSX.Element;
|
|
923
|
-
|
|
924
|
-
interface SwipeActionsProps {
|
|
925
|
-
onNope?: () => void;
|
|
926
|
-
onSuperLike?: () => void;
|
|
927
|
-
onLike?: () => void;
|
|
928
|
-
className?: string;
|
|
929
|
-
}
|
|
930
|
-
declare function SwipeActions({ onNope, onSuperLike, onLike, className }: SwipeActionsProps): react_jsx_runtime.JSX.Element;
|
|
931
|
-
|
|
932
|
-
interface SwipeOverlayProps {
|
|
933
|
-
position: Animated.ValueXY;
|
|
934
|
-
swipeThreshold: number;
|
|
935
|
-
className?: string;
|
|
936
|
-
}
|
|
937
|
-
declare function SwipeOverlay({ position, swipeThreshold }: SwipeOverlayProps): react_jsx_runtime.JSX.Element;
|
|
938
|
-
|
|
939
|
-
interface VerticalReelProps<T> {
|
|
940
|
-
data: T[];
|
|
941
|
-
renderItem: (item: T, index: number, isActive: boolean) => React.ReactNode;
|
|
942
|
-
onActiveChange?: (index: number) => void;
|
|
943
|
-
keyExtractor: (item: T, index: number) => string;
|
|
944
|
-
className?: string;
|
|
945
|
-
}
|
|
946
|
-
declare function VerticalReel<T>({ data, renderItem, onActiveChange, keyExtractor, className, }: VerticalReelProps<T>): react_jsx_runtime.JSX.Element;
|
|
947
|
-
|
|
948
|
-
interface ReelItemProps {
|
|
949
|
-
backgroundSource?: string | ImageSourcePropType;
|
|
950
|
-
backgroundColor?: string;
|
|
951
|
-
children?: React.ReactNode;
|
|
952
|
-
className?: string;
|
|
953
|
-
}
|
|
954
|
-
declare function ReelItem({ backgroundSource, backgroundColor, children, className, }: ReelItemProps): react_jsx_runtime.JSX.Element;
|
|
955
|
-
|
|
956
|
-
interface ReelAction {
|
|
957
|
-
key: string;
|
|
958
|
-
icon: React.ReactNode;
|
|
959
|
-
label?: string;
|
|
960
|
-
count?: number;
|
|
961
|
-
onPress?: () => void;
|
|
962
|
-
}
|
|
963
|
-
interface ReelOverlayProps {
|
|
964
|
-
username: string;
|
|
965
|
-
description?: string;
|
|
966
|
-
actions?: ReelAction[];
|
|
967
|
-
avatar?: React.ReactNode;
|
|
968
|
-
children?: React.ReactNode;
|
|
969
|
-
className?: string;
|
|
970
|
-
}
|
|
971
|
-
declare function ReelOverlay({ username, description, actions, avatar, children, className, }: ReelOverlayProps): react_jsx_runtime.JSX.Element;
|
|
972
|
-
|
|
973
|
-
type GlassTint = 'light' | 'dark' | 'default' | 'extraLight' | 'prominent' | 'systemMaterial';
|
|
974
|
-
interface GlassViewProps {
|
|
975
|
-
intensity?: number;
|
|
976
|
-
tint?: GlassTint;
|
|
977
|
-
borderRadius?: number;
|
|
978
|
-
children?: React.ReactNode;
|
|
979
|
-
className?: string;
|
|
980
|
-
}
|
|
981
|
-
declare function GlassView({ intensity, tint, borderRadius, children, className, }: GlassViewProps): react_jsx_runtime.JSX.Element;
|
|
982
|
-
|
|
983
|
-
interface GlassCardProps {
|
|
984
|
-
intensity?: number;
|
|
985
|
-
tint?: GlassTint;
|
|
986
|
-
onPress?: () => void;
|
|
987
|
-
style?: ViewStyle;
|
|
988
|
-
children?: React.ReactNode;
|
|
989
|
-
className?: string;
|
|
990
|
-
}
|
|
991
|
-
declare function GlassCard({ intensity, tint, onPress, style, children, className, }: GlassCardProps): react_jsx_runtime.JSX.Element;
|
|
992
|
-
|
|
993
|
-
interface GlassHeaderProps {
|
|
994
|
-
title?: string;
|
|
995
|
-
subtitle?: string;
|
|
996
|
-
left?: React.ReactNode;
|
|
997
|
-
right?: React.ReactNode;
|
|
998
|
-
intensity?: number;
|
|
999
|
-
tint?: GlassTint;
|
|
1000
|
-
showBackButton?: boolean;
|
|
1001
|
-
onBackPress?: () => void;
|
|
1002
|
-
backIcon?: React.ReactNode;
|
|
1003
|
-
children?: React.ReactNode;
|
|
1004
|
-
className?: string;
|
|
1005
|
-
}
|
|
1006
|
-
declare function GlassHeader({ title, subtitle, left, right, intensity, tint, showBackButton, onBackPress, backIcon, children, className, }: GlassHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1007
|
-
|
|
1008
|
-
interface GlassSheetProps {
|
|
1009
|
-
visible: boolean;
|
|
1010
|
-
onClose: () => void;
|
|
1011
|
-
title?: string;
|
|
1012
|
-
height?: number;
|
|
1013
|
-
intensity?: number;
|
|
1014
|
-
tint?: GlassTint;
|
|
1015
|
-
children?: React.ReactNode;
|
|
1016
|
-
className?: string;
|
|
1017
|
-
}
|
|
1018
|
-
declare function GlassSheet({ visible, onClose, title, height, intensity, tint, children, className, }: GlassSheetProps): react_jsx_runtime.JSX.Element;
|
|
1019
|
-
|
|
1020
|
-
interface GlassTab {
|
|
1021
|
-
key: string;
|
|
1022
|
-
label: string;
|
|
1023
|
-
icon: React.ReactNode;
|
|
1024
|
-
activeIcon?: React.ReactNode;
|
|
1025
|
-
badge?: number;
|
|
1026
|
-
}
|
|
1027
|
-
interface GlassTabBarProps {
|
|
1028
|
-
tabs: GlassTab[];
|
|
1029
|
-
activeKey: string;
|
|
1030
|
-
onChange: (key: string) => void;
|
|
1031
|
-
intensity?: number;
|
|
1032
|
-
tint?: GlassTint;
|
|
1033
|
-
className?: string;
|
|
1034
|
-
}
|
|
1035
|
-
declare function GlassTabBar({ tabs, activeKey, onChange, intensity, tint, className, }: GlassTabBarProps): react_jsx_runtime.JSX.Element;
|
|
1036
|
-
|
|
1037
|
-
type BubbleStatus = 'sending' | 'sent' | 'delivered' | 'read';
|
|
1038
|
-
interface ChatBubbleProps {
|
|
1039
|
-
content: string;
|
|
1040
|
-
variant: 'sent' | 'received';
|
|
1041
|
-
timestamp?: string;
|
|
1042
|
-
status?: BubbleStatus;
|
|
1043
|
-
renderMarkdown?: (content: string) => React.ReactNode;
|
|
1044
|
-
children?: React.ReactNode;
|
|
1045
|
-
className?: string;
|
|
1046
|
-
}
|
|
1047
|
-
declare function ChatBubble({ content, variant, timestamp, status, renderMarkdown, children, className, }: ChatBubbleProps): react_jsx_runtime.JSX.Element;
|
|
1048
|
-
|
|
1049
|
-
interface ChatInputProps {
|
|
1050
|
-
onSend?: (text: string) => void;
|
|
1051
|
-
placeholder?: string;
|
|
1052
|
-
attachButton?: React.ReactNode;
|
|
1053
|
-
voiceButton?: React.ReactNode;
|
|
1054
|
-
onAttach?: () => void;
|
|
1055
|
-
onVoice?: () => void;
|
|
1056
|
-
disabled?: boolean;
|
|
1057
|
-
className?: string;
|
|
1058
|
-
}
|
|
1059
|
-
declare function ChatInput({ onSend, placeholder, attachButton, voiceButton, onAttach, onVoice, disabled, className, }: ChatInputProps): react_jsx_runtime.JSX.Element;
|
|
1060
|
-
|
|
1061
|
-
interface ChatMessage {
|
|
1062
|
-
id: string;
|
|
1063
|
-
type: 'sent' | 'received' | 'system';
|
|
1064
|
-
date?: string;
|
|
1065
|
-
}
|
|
1066
|
-
interface ChatListProps<T extends ChatMessage> {
|
|
1067
|
-
messages: T[];
|
|
1068
|
-
renderMessage: (item: T, index: number) => React.ReactNode;
|
|
1069
|
-
renderDateSeparator?: (date: string) => React.ReactNode;
|
|
1070
|
-
className?: string;
|
|
1071
|
-
}
|
|
1072
|
-
declare function ChatList<T extends ChatMessage>({ messages, renderMessage, renderDateSeparator, className, }: ChatListProps<T>): react_jsx_runtime.JSX.Element;
|
|
1073
|
-
|
|
1074
|
-
interface TypingIndicatorProps {
|
|
1075
|
-
label?: React.ReactNode;
|
|
1076
|
-
className?: string;
|
|
1077
|
-
}
|
|
1078
|
-
declare function TypingIndicator({ label, className }: TypingIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
1079
|
-
|
|
1080
|
-
interface ListingCardProps {
|
|
1081
|
-
image: ImageSourcePropType | string;
|
|
1082
|
-
title: string;
|
|
1083
|
-
subtitle?: string;
|
|
1084
|
-
price: string;
|
|
1085
|
-
priceSuffix?: string;
|
|
1086
|
-
rating?: number;
|
|
1087
|
-
favorite?: boolean;
|
|
1088
|
-
badge?: string;
|
|
1089
|
-
imageHeight?: number;
|
|
1090
|
-
onPress?: () => void;
|
|
1091
|
-
onFavorite?: () => void;
|
|
1092
|
-
className?: string;
|
|
1093
|
-
}
|
|
1094
|
-
declare function ListingCard({ image, title, subtitle, price, priceSuffix, rating, favorite, badge, imageHeight, onPress, onFavorite, className, }: ListingCardProps): react_jsx_runtime.JSX.Element;
|
|
1095
|
-
|
|
1096
|
-
interface ProductCardProps {
|
|
1097
|
-
image: ImageSourcePropType | string;
|
|
1098
|
-
title: string;
|
|
1099
|
-
price: string;
|
|
1100
|
-
originalPrice?: string;
|
|
1101
|
-
badge?: string;
|
|
1102
|
-
favorite?: boolean;
|
|
1103
|
-
onPress?: () => void;
|
|
1104
|
-
onFavorite?: () => void;
|
|
1105
|
-
className?: string;
|
|
1106
|
-
}
|
|
1107
|
-
declare function ProductCard({ image, title, price, originalPrice, badge, favorite, onPress, onFavorite, className, }: ProductCardProps): react_jsx_runtime.JSX.Element;
|
|
1108
|
-
|
|
1109
|
-
interface CartItemProps {
|
|
1110
|
-
image: ImageSourcePropType | string;
|
|
1111
|
-
title: string;
|
|
1112
|
-
subtitle?: string;
|
|
1113
|
-
price: string;
|
|
1114
|
-
quantity: number;
|
|
1115
|
-
onIncrement?: () => void;
|
|
1116
|
-
onDecrement?: () => void;
|
|
1117
|
-
onRemove?: () => void;
|
|
1118
|
-
className?: string;
|
|
1119
|
-
}
|
|
1120
|
-
declare function CartItem({ image, title, subtitle, price, quantity, onIncrement, onDecrement, onRemove, className, }: CartItemProps): react_jsx_runtime.JSX.Element;
|
|
1121
|
-
|
|
1122
|
-
interface PriceTagProps {
|
|
1123
|
-
price: string;
|
|
1124
|
-
originalPrice?: string;
|
|
1125
|
-
suffix?: string;
|
|
1126
|
-
className?: string;
|
|
1127
|
-
}
|
|
1128
|
-
declare function PriceTag({ price, originalPrice, suffix, className }: PriceTagProps): react_jsx_runtime.JSX.Element;
|
|
1129
|
-
|
|
1130
|
-
interface RatingStarsProps {
|
|
1131
|
-
rating: number;
|
|
1132
|
-
maxStars?: number;
|
|
1133
|
-
count?: number;
|
|
1134
|
-
size?: number;
|
|
1135
|
-
className?: string;
|
|
1136
|
-
}
|
|
1137
|
-
declare function RatingStars({ rating, maxStars, count, size, className, }: RatingStarsProps): react_jsx_runtime.JSX.Element;
|
|
1138
|
-
|
|
1139
|
-
interface CategoryTileProps {
|
|
1140
|
-
icon: keyof typeof Ionicons.glyphMap;
|
|
1141
|
-
label: string;
|
|
1142
|
-
iconColor?: string;
|
|
1143
|
-
onPress?: () => void;
|
|
1144
|
-
className?: string;
|
|
1145
|
-
}
|
|
1146
|
-
declare function CategoryTile({ icon, label, iconColor, onPress, className, }: CategoryTileProps): react_jsx_runtime.JSX.Element;
|
|
1147
|
-
|
|
1148
|
-
interface BalanceDisplayProps {
|
|
1149
|
-
label?: string;
|
|
1150
|
-
amount: string;
|
|
1151
|
-
currency?: string;
|
|
1152
|
-
changePercent?: number;
|
|
1153
|
-
className?: string;
|
|
1154
|
-
}
|
|
1155
|
-
declare function BalanceDisplay({ label, amount, currency, changePercent, className, }: BalanceDisplayProps): react_jsx_runtime.JSX.Element;
|
|
1156
|
-
|
|
1157
|
-
interface CardPreviewProps {
|
|
1158
|
-
cardNumber?: string;
|
|
1159
|
-
expiryDate?: string;
|
|
1160
|
-
brand?: string;
|
|
1161
|
-
gradientColors?: [string, string];
|
|
1162
|
-
className?: string;
|
|
1163
|
-
}
|
|
1164
|
-
declare function CardPreview({ cardNumber, expiryDate, brand, gradientColors, className, }: CardPreviewProps): react_jsx_runtime.JSX.Element;
|
|
1165
|
-
|
|
1166
|
-
interface TransactionItemProps {
|
|
1167
|
-
title: string;
|
|
1168
|
-
amount: string;
|
|
1169
|
-
time: string;
|
|
1170
|
-
method?: string;
|
|
1171
|
-
isIncome?: boolean;
|
|
1172
|
-
icon?: keyof typeof Ionicons.glyphMap;
|
|
1173
|
-
avatar?: ImageSourcePropType | string;
|
|
1174
|
-
onPress?: () => void;
|
|
1175
|
-
className?: string;
|
|
1176
|
-
}
|
|
1177
|
-
declare function TransactionItem({ title, amount, time, method, isIncome, icon, avatar, onPress, className, }: TransactionItemProps): react_jsx_runtime.JSX.Element;
|
|
1178
|
-
|
|
1179
|
-
interface StoryCircleProps {
|
|
1180
|
-
image: ImageSourcePropType | string;
|
|
1181
|
-
size?: number;
|
|
1182
|
-
seen?: boolean;
|
|
1183
|
-
gradientColors?: string[];
|
|
1184
|
-
onPress?: () => void;
|
|
1185
|
-
className?: string;
|
|
1186
|
-
}
|
|
1187
|
-
declare function StoryCircle({ image, size, seen, gradientColors, onPress, className, }: StoryCircleProps): react_jsx_runtime.JSX.Element;
|
|
1188
|
-
|
|
1189
|
-
interface FeedCardProps {
|
|
1190
|
-
userName: string;
|
|
1191
|
-
userAvatar: ImageSourcePropType | string;
|
|
1192
|
-
timeAgo: string;
|
|
1193
|
-
content?: string;
|
|
1194
|
-
image?: ImageSourcePropType | string;
|
|
1195
|
-
liked?: boolean;
|
|
1196
|
-
likeCount?: number;
|
|
1197
|
-
commentCount?: number;
|
|
1198
|
-
bookmarked?: boolean;
|
|
1199
|
-
onLike?: () => void;
|
|
1200
|
-
onComment?: () => void;
|
|
1201
|
-
onShare?: () => void;
|
|
1202
|
-
onBookmark?: () => void;
|
|
1203
|
-
onMore?: () => void;
|
|
1204
|
-
onUserPress?: () => void;
|
|
1205
|
-
className?: string;
|
|
1206
|
-
}
|
|
1207
|
-
declare function FeedCard({ userName, userAvatar, timeAgo, content, image, liked, likeCount, commentCount, bookmarked, onLike, onComment, onShare, onBookmark, onMore, onUserPress, className, }: FeedCardProps): react_jsx_runtime.JSX.Element;
|
|
1208
|
-
|
|
1209
|
-
interface ProviderCardProps {
|
|
1210
|
-
heroImage: ImageSourcePropType | string;
|
|
1211
|
-
avatar: ImageSourcePropType | string;
|
|
1212
|
-
name: string;
|
|
1213
|
-
rating?: number;
|
|
1214
|
-
location?: string;
|
|
1215
|
-
description?: string;
|
|
1216
|
-
onPress?: () => void;
|
|
1217
|
-
className?: string;
|
|
1218
|
-
}
|
|
1219
|
-
declare function ProviderCard({ heroImage, avatar, name, rating, location, description, onPress, className, }: ProviderCardProps): react_jsx_runtime.JSX.Element;
|
|
1220
|
-
|
|
1221
|
-
interface Reaction {
|
|
1222
|
-
emoji: string;
|
|
1223
|
-
count: number;
|
|
1224
|
-
active?: boolean;
|
|
1225
|
-
}
|
|
1226
|
-
interface ReactionBarProps {
|
|
1227
|
-
reactions: Reaction[];
|
|
1228
|
-
onReact?: (emoji: string) => void;
|
|
1229
|
-
className?: string;
|
|
1230
|
-
}
|
|
1231
|
-
declare function ReactionBar({ reactions, onReact, className }: ReactionBarProps): react_jsx_runtime.JSX.Element;
|
|
1232
|
-
|
|
1233
|
-
interface SearchBarProps {
|
|
1234
|
-
placeholder?: string;
|
|
1235
|
-
value?: string;
|
|
1236
|
-
onChangeText?: (text: string) => void;
|
|
1237
|
-
onSubmit?: (text: string) => void;
|
|
1238
|
-
autoFocus?: boolean;
|
|
1239
|
-
/** When true, renders as a pressable pill that opens full-screen overlay */
|
|
1240
|
-
asTrigger?: boolean;
|
|
1241
|
-
className?: string;
|
|
1242
|
-
}
|
|
1243
|
-
declare function SearchBar({ placeholder, value: controlledValue, onChangeText, onSubmit, autoFocus, asTrigger, className, }: SearchBarProps): react_jsx_runtime.JSX.Element;
|
|
1244
|
-
|
|
1245
|
-
interface FilterChip {
|
|
1246
|
-
id: string;
|
|
1247
|
-
label: string;
|
|
1248
|
-
}
|
|
1249
|
-
interface FilterChipRowProps {
|
|
1250
|
-
chips: FilterChip[];
|
|
1251
|
-
activeId?: string;
|
|
1252
|
-
onSelect?: (id: string) => void;
|
|
1253
|
-
className?: string;
|
|
1254
|
-
}
|
|
1255
|
-
declare function FilterChipRow({ chips, activeId, onSelect, className, }: FilterChipRowProps): react_jsx_runtime.JSX.Element;
|
|
1256
|
-
|
|
1257
|
-
type SectionTitleSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
1258
|
-
interface SectionHeaderProps {
|
|
1259
|
-
title: string;
|
|
1260
|
-
titleSize?: SectionTitleSize;
|
|
1261
|
-
linkText?: string;
|
|
1262
|
-
onLinkPress?: () => void;
|
|
1263
|
-
className?: string;
|
|
1264
|
-
}
|
|
1265
|
-
declare function SectionHeader({ title, titleSize, linkText, onLinkPress, className, }: SectionHeaderProps): react_jsx_runtime.JSX.Element;
|
|
1266
|
-
|
|
1267
|
-
interface CheckoutStep {
|
|
1268
|
-
key: string;
|
|
1269
|
-
label: string;
|
|
1270
|
-
content: React.ReactNode;
|
|
1271
|
-
}
|
|
1272
|
-
interface CheckoutFlowProps {
|
|
1273
|
-
steps: CheckoutStep[];
|
|
1274
|
-
onComplete?: () => void;
|
|
1275
|
-
nextLabel?: string;
|
|
1276
|
-
completeLabel?: string;
|
|
1277
|
-
className?: string;
|
|
1278
|
-
}
|
|
1279
|
-
declare function CheckoutFlow({ steps, onComplete, nextLabel, completeLabel, className, }: CheckoutFlowProps): react_jsx_runtime.JSX.Element;
|
|
1280
|
-
|
|
1281
|
-
interface DateRangePickerProps {
|
|
1282
|
-
startDate?: Date;
|
|
1283
|
-
endDate?: Date;
|
|
1284
|
-
onSelect?: (start: Date, end: Date | null) => void;
|
|
1285
|
-
className?: string;
|
|
1286
|
-
}
|
|
1287
|
-
declare function DateRangePicker({ startDate: initialStart, endDate: initialEnd, onSelect, className, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
475
|
+
declare function Avatar({ uri, name, size, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
|
|
1288
476
|
|
|
1289
|
-
export {
|
|
477
|
+
export { Avatar, type AvatarProps, type BlinkConfig, BlinkText, type BlinkTextProps, Button, type ButtonProps, Card, type CardProps, Input, type InputProps, blinkConfig };
|