@blinkdotnew/mobile-ui 2.0.0-alpha.1 → 2.0.0-alpha.3
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 +294 -403
- package/dist/index.d.ts +294 -403
- package/dist/index.js +753 -410
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +721 -407
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,438 +1,106 @@
|
|
|
1
1
|
import * as tamagui from 'tamagui';
|
|
2
|
-
import { GetProps } from 'tamagui';
|
|
2
|
+
import { TamaguiInternalConfig, GetProps, YStack } from 'tamagui';
|
|
3
3
|
import * as react from 'react';
|
|
4
|
+
import { ReactNode } from 'react';
|
|
4
5
|
import * as _tamagui_core from '@tamagui/core';
|
|
5
6
|
import * as _tamagui_web from '@tamagui/web';
|
|
6
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
8
|
import * as react_native from 'react-native';
|
|
8
9
|
|
|
9
|
-
declare const blinkConfig:
|
|
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
|
-
}>;
|
|
10
|
+
declare const blinkConfig: TamaguiInternalConfig;
|
|
350
11
|
type BlinkConfig = typeof blinkConfig;
|
|
351
12
|
declare module 'tamagui' {
|
|
352
13
|
interface TamaguiCustomConfig extends BlinkConfig {
|
|
353
14
|
}
|
|
354
15
|
}
|
|
355
16
|
|
|
356
|
-
declare const
|
|
357
|
-
|
|
358
|
-
|
|
17
|
+
declare const Button: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps & tamagui.TextContextStyles & {
|
|
18
|
+
textProps?: Partial<tamagui.SizableTextProps>;
|
|
19
|
+
noTextWrap?: boolean;
|
|
20
|
+
} & _tamagui_web.ThemeableProps & {
|
|
21
|
+
icon?: react.JSX.Element | react.FunctionComponent<{
|
|
22
|
+
color?: any;
|
|
23
|
+
size?: any;
|
|
24
|
+
}> | ((props: {
|
|
25
|
+
color?: any;
|
|
26
|
+
size?: any;
|
|
27
|
+
}) => any) | null;
|
|
28
|
+
iconAfter?: react.JSX.Element | react.FunctionComponent<{
|
|
29
|
+
color?: any;
|
|
30
|
+
size?: any;
|
|
31
|
+
}> | ((props: {
|
|
32
|
+
color?: any;
|
|
33
|
+
size?: any;
|
|
34
|
+
}) => any) | null;
|
|
35
|
+
scaleIcon?: number;
|
|
36
|
+
spaceFlex?: number | boolean;
|
|
37
|
+
scaleSpace?: number;
|
|
38
|
+
unstyled?: boolean;
|
|
39
|
+
}, _tamagui_web.StackStyleBase, {
|
|
40
|
+
size?: number | "sm" | "md" | "lg" | tamagui.SizeTokens | undefined;
|
|
359
41
|
disabled?: boolean | undefined;
|
|
42
|
+
elevation?: number | tamagui.SizeTokens | undefined;
|
|
43
|
+
variant?: "transparent" | "default" | "primary" | "outlined" | "floating" | "destructive" | undefined;
|
|
44
|
+
inset?: number | tamagui.SizeTokens | {
|
|
45
|
+
top?: number;
|
|
46
|
+
bottom?: number;
|
|
47
|
+
left?: number;
|
|
48
|
+
right?: number;
|
|
49
|
+
} | null | undefined;
|
|
50
|
+
unstyled?: boolean | undefined;
|
|
51
|
+
transparent?: boolean | undefined;
|
|
52
|
+
fullscreen?: boolean | undefined;
|
|
53
|
+
circular?: boolean | undefined;
|
|
54
|
+
hoverTheme?: boolean | undefined;
|
|
55
|
+
pressTheme?: boolean | undefined;
|
|
56
|
+
focusTheme?: boolean | undefined;
|
|
57
|
+
elevate?: boolean | undefined;
|
|
58
|
+
bordered?: number | boolean | undefined;
|
|
59
|
+
backgrounded?: boolean | undefined;
|
|
60
|
+
radiused?: boolean | undefined;
|
|
61
|
+
padded?: boolean | undefined;
|
|
62
|
+
chromeless?: boolean | "all" | undefined;
|
|
360
63
|
fullWidth?: boolean | undefined;
|
|
361
64
|
}, _tamagui_web.StaticConfigPublic>;
|
|
362
|
-
type ButtonProps = GetProps<typeof
|
|
363
|
-
title?: string;
|
|
364
|
-
};
|
|
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>;
|
|
398
|
-
};
|
|
65
|
+
type ButtonProps = GetProps<typeof Button>;
|
|
399
66
|
|
|
400
|
-
declare const BlinkText: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiTextElement,
|
|
401
|
-
|
|
402
|
-
center?: boolean | undefined;
|
|
403
|
-
variant?: "body" | "display" | "small" | "h1" | "h2" | "h3" | "h4" | "bodySmall" | "caption" | "tiny" | undefined;
|
|
404
|
-
unstyled?: boolean | undefined;
|
|
67
|
+
declare const BlinkText: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiTextElement, tamagui.TextNonStyleProps, _tamagui_web.TextStylePropsBase, {
|
|
68
|
+
size?: tamagui.FontSizeTokens | undefined;
|
|
405
69
|
bold?: boolean | undefined;
|
|
70
|
+
variant?: "body" | "display" | "h1" | "h2" | "h3" | "h4" | "bodySmall" | "caption" | "small" | undefined;
|
|
71
|
+
unstyled?: boolean | undefined;
|
|
72
|
+
center?: boolean | undefined;
|
|
406
73
|
muted?: boolean | undefined;
|
|
74
|
+
secondary?: boolean | undefined;
|
|
407
75
|
}, _tamagui_web.StaticConfigPublic>;
|
|
408
|
-
type BlinkTextProps = typeof BlinkText
|
|
76
|
+
type BlinkTextProps = GetProps<typeof BlinkText>;
|
|
409
77
|
|
|
410
78
|
declare const CardFrame: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
411
79
|
size?: "sm" | "md" | "lg" | undefined;
|
|
412
|
-
variant?: "
|
|
80
|
+
variant?: "outlined" | "flat" | "elevated" | undefined;
|
|
413
81
|
pressable?: boolean | undefined;
|
|
414
82
|
}, _tamagui_web.StaticConfigPublic>;
|
|
415
83
|
type CardProps = GetProps<typeof CardFrame>;
|
|
416
|
-
declare const Card: react.ForwardRefExoticComponent<Omit<_tamagui_core.RNTamaguiViewNonStyleProps, "size" |
|
|
84
|
+
declare const Card: react.ForwardRefExoticComponent<Omit<_tamagui_core.RNTamaguiViewNonStyleProps, "size" | keyof _tamagui_web.StackStyleBase | "variant" | "pressable"> & _tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase> & {
|
|
417
85
|
size?: "sm" | "md" | "lg" | undefined;
|
|
418
|
-
variant?: "
|
|
86
|
+
variant?: "outlined" | "flat" | "elevated" | undefined;
|
|
419
87
|
pressable?: boolean | undefined;
|
|
420
88
|
} & _tamagui_web.WithShorthands<_tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase>> & _tamagui_web.WithPseudoProps<_tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase> & {
|
|
421
89
|
size?: "sm" | "md" | "lg" | undefined;
|
|
422
|
-
variant?: "
|
|
90
|
+
variant?: "outlined" | "flat" | "elevated" | undefined;
|
|
423
91
|
pressable?: boolean | undefined;
|
|
424
92
|
} & _tamagui_web.WithShorthands<_tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase>>> & _tamagui_web.WithMediaProps<_tamagui_web.WithThemeShorthandsAndPseudos<_tamagui_web.StackStyleBase, {
|
|
425
93
|
size?: "sm" | "md" | "lg" | undefined;
|
|
426
|
-
variant?: "
|
|
94
|
+
variant?: "outlined" | "flat" | "elevated" | undefined;
|
|
427
95
|
pressable?: boolean | undefined;
|
|
428
96
|
}>> & react.RefAttributes<tamagui.TamaguiElement>> & _tamagui_web.StaticComponentObject<_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
429
97
|
size?: "sm" | "md" | "lg" | undefined;
|
|
430
|
-
variant?: "
|
|
98
|
+
variant?: "outlined" | "flat" | "elevated" | undefined;
|
|
431
99
|
pressable?: boolean | undefined;
|
|
432
100
|
}, _tamagui_web.StaticConfigPublic> & Omit<_tamagui_web.StaticConfigPublic, "staticConfig" | "extractable" | "styleable"> & {
|
|
433
101
|
__tama: [_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
434
102
|
size?: "sm" | "md" | "lg" | undefined;
|
|
435
|
-
variant?: "
|
|
103
|
+
variant?: "outlined" | "flat" | "elevated" | undefined;
|
|
436
104
|
pressable?: boolean | undefined;
|
|
437
105
|
}, _tamagui_web.StaticConfigPublic];
|
|
438
106
|
} & {
|
|
@@ -446,8 +114,8 @@ declare const InputField: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, react
|
|
|
446
114
|
readonly selectionColor?: Omit<tamagui.ColorTokens | _tamagui_web.ThemeValueFallbackColor, "unset"> | undefined;
|
|
447
115
|
}, {
|
|
448
116
|
size?: tamagui.SizeTokens | undefined;
|
|
449
|
-
variant?: "default" | "filled" | undefined;
|
|
450
117
|
disabled?: boolean | undefined;
|
|
118
|
+
variant?: "default" | "filled" | undefined;
|
|
451
119
|
unstyled?: boolean | undefined;
|
|
452
120
|
hasError?: boolean | undefined;
|
|
453
121
|
}, {
|
|
@@ -462,16 +130,239 @@ type InputProps = GetProps<typeof InputField> & {
|
|
|
462
130
|
error?: string;
|
|
463
131
|
hint?: string;
|
|
464
132
|
};
|
|
465
|
-
|
|
466
133
|
declare function Input({ label, error, hint, ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
467
134
|
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
}, _tamagui_web.StaticConfigPublic>;
|
|
471
|
-
type AvatarProps = GetProps<typeof AvatarFrame> & {
|
|
135
|
+
type SimpleSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
136
|
+
type AvatarProps = {
|
|
472
137
|
uri?: string;
|
|
473
138
|
name?: string;
|
|
139
|
+
size?: number | SimpleSize;
|
|
140
|
+
};
|
|
141
|
+
declare const Avatar: react.MemoExoticComponent<({ uri, name, size: sizeIn }: AvatarProps) => react_jsx_runtime.JSX.Element>;
|
|
142
|
+
|
|
143
|
+
declare const H1: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiTextElement, tamagui.TextNonStyleProps, _tamagui_web.TextStylePropsBase, {
|
|
144
|
+
size?: tamagui.FontSizeTokens | undefined;
|
|
145
|
+
unstyled?: boolean | undefined;
|
|
146
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
147
|
+
declare const H2: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiTextElement, tamagui.TextNonStyleProps, _tamagui_web.TextStylePropsBase, {
|
|
148
|
+
size?: tamagui.FontSizeTokens | undefined;
|
|
149
|
+
unstyled?: boolean | undefined;
|
|
150
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
151
|
+
declare const H3: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiTextElement, tamagui.TextNonStyleProps, _tamagui_web.TextStylePropsBase, {
|
|
152
|
+
size?: tamagui.FontSizeTokens | undefined;
|
|
153
|
+
unstyled?: boolean | undefined;
|
|
154
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
155
|
+
declare const H4: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiTextElement, tamagui.TextNonStyleProps, _tamagui_web.TextStylePropsBase, {
|
|
156
|
+
size?: tamagui.FontSizeTokens | undefined;
|
|
157
|
+
unstyled?: boolean | undefined;
|
|
158
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
159
|
+
declare const H5: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiTextElement, tamagui.TextNonStyleProps, _tamagui_web.TextStylePropsBase, {
|
|
160
|
+
size?: tamagui.FontSizeTokens | undefined;
|
|
161
|
+
unstyled?: boolean | undefined;
|
|
162
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
163
|
+
declare const H6: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiTextElement, tamagui.TextNonStyleProps, _tamagui_web.TextStylePropsBase, {
|
|
164
|
+
size?: tamagui.FontSizeTokens | undefined;
|
|
165
|
+
unstyled?: boolean | undefined;
|
|
166
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
167
|
+
declare const SubHeading: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiTextElement, tamagui.TextNonStyleProps, _tamagui_web.TextStylePropsBase, {
|
|
168
|
+
size?: tamagui.FontSizeTokens | undefined;
|
|
169
|
+
unstyled?: boolean | undefined;
|
|
170
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
171
|
+
declare function SepHeading({ children }: {
|
|
172
|
+
children: ReactNode;
|
|
173
|
+
}): react_jsx_runtime.JSX.Element;
|
|
174
|
+
|
|
175
|
+
declare const PageContainer: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
176
|
+
elevation?: number | tamagui.SizeTokens | undefined;
|
|
177
|
+
inset?: number | tamagui.SizeTokens | {
|
|
178
|
+
top?: number;
|
|
179
|
+
bottom?: number;
|
|
180
|
+
left?: number;
|
|
181
|
+
right?: number;
|
|
182
|
+
} | null | undefined;
|
|
183
|
+
fullscreen?: boolean | undefined;
|
|
184
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
185
|
+
declare const PageMainContainer: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
186
|
+
elevation?: number | tamagui.SizeTokens | undefined;
|
|
187
|
+
inset?: number | tamagui.SizeTokens | {
|
|
188
|
+
top?: number;
|
|
189
|
+
bottom?: number;
|
|
190
|
+
left?: number;
|
|
191
|
+
right?: number;
|
|
192
|
+
} | null | undefined;
|
|
193
|
+
fullscreen?: boolean | undefined;
|
|
194
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
195
|
+
|
|
196
|
+
declare function DialogProvider({ children }: {
|
|
197
|
+
children: ReactNode;
|
|
198
|
+
}): react_jsx_runtime.JSX.Element;
|
|
199
|
+
declare const showError: (error: unknown, title?: string) => void;
|
|
200
|
+
declare const dialogConfirm: (props: {
|
|
201
|
+
title?: string;
|
|
202
|
+
description?: string;
|
|
203
|
+
}) => Promise<boolean>;
|
|
204
|
+
|
|
205
|
+
declare const Pressable: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {}, _tamagui_web.StaticConfigPublic>;
|
|
206
|
+
|
|
207
|
+
declare const Image: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, unknown, _tamagui_web.TamaguiComponentPropsBaseBase & Omit<Omit<_tamagui_web.GetFinalProps<_tamagui_web.TamaguiComponentPropsBaseBase & react_native.ImageProps, _tamagui_web.StackStyleBase, {}>, "borderRadius"> & {
|
|
208
|
+
borderRadius?: tamagui.RadiusTokens;
|
|
209
|
+
}, "style" | "onLayout" | "height" | "width" | "resizeMode"> & {
|
|
210
|
+
width?: string | number | tamagui.SizeTokens | tamagui.ThemeValueFallback;
|
|
211
|
+
height?: string | number | tamagui.SizeTokens | tamagui.ThemeValueFallback;
|
|
212
|
+
src?: string | (react_native.ImageSourcePropType | undefined);
|
|
213
|
+
resizeMode?: react_native.ImageResizeMode | undefined;
|
|
214
|
+
objectFit?: React.CSSProperties["objectFit"];
|
|
215
|
+
} & Omit<tamagui.StackProps, "theme" | "debug" | "space" | "zIndex" | "bottom" | "backgroundColor" | "content" | "alignContent" | "flexGrow" | "alignItems" | "justifyContent" | "left" | "margin" | "maxHeight" | "maxWidth" | "marginBottom" | "minHeight" | "minWidth" | "marginLeft" | "marginRight" | "marginTop" | "marginHorizontal" | "marginVertical" | "padding" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "paddingHorizontal" | "paddingVertical" | "right" | "borderRadius" | "userSelect" | "alignSelf" | "flexShrink" | "top" | "transform" | "background" | "borderColor" | "shadowColor" | "outlineColor" | "hitSlop" | "pointerEvents" | "display" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "themeInverse" | "id" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "testID" | "nativeID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "transition" | "textWrap" | "contain" | "touchAction" | "cursor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "scrollbarWidth" | "transformOrigin" | "filter" | "mixBlendMode" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "backdropFilter" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "animatePresence" | "passThrough" | "backfaceVisibility" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexWrap" | "height" | "marginEnd" | "marginStart" | "overflow" | "paddingEnd" | "paddingStart" | "position" | "start" | "width" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transformMatrix" | "rotation" | "translateX" | "translateY" | `$${string}` | `$${number}` | _tamagui_web.GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | keyof _tamagui_web.WithPseudoProps<_tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase> & _tamagui_web.WithShorthands<_tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase>>> | "onError" | "onLoad" | "onLoadEnd" | "onLoadStart" | "progressiveRenderingEnabled" | "resizeMode" | "resizeMethod" | "source" | "src" | "srcSet" | "loadingIndicatorSource" | "defaultSource" | "alt" | "crossOrigin" | "tintColor" | "referrerPolicy" | "blurRadius" | "capInsets" | "onProgress" | "onPartialLoad" | "fadeDuration">, _tamagui_web.StackStyleBase, {}, _tamagui_web.StaticConfigPublic>;
|
|
216
|
+
|
|
217
|
+
declare const Separator: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
218
|
+
vertical?: boolean | undefined;
|
|
219
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
220
|
+
|
|
221
|
+
type BadgeProps = {
|
|
222
|
+
children: ReactNode;
|
|
223
|
+
variant?: 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
224
|
+
};
|
|
225
|
+
declare function Badge({ children, variant }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
226
|
+
|
|
227
|
+
type StepPageProps = {
|
|
228
|
+
title: string;
|
|
229
|
+
description?: string;
|
|
230
|
+
children: ReactNode;
|
|
231
|
+
bottom?: ReactNode;
|
|
232
|
+
};
|
|
233
|
+
declare function StepPageLayout({ title, description, children, bottom }: StepPageProps): react_jsx_runtime.JSX.Element;
|
|
234
|
+
|
|
235
|
+
declare const ScreenLayout: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, tamagui.TamaguiElement, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
236
|
+
elevation?: number | tamagui.SizeTokens | undefined;
|
|
237
|
+
inset?: number | tamagui.SizeTokens | {
|
|
238
|
+
top?: number;
|
|
239
|
+
bottom?: number;
|
|
240
|
+
left?: number;
|
|
241
|
+
right?: number;
|
|
242
|
+
} | null | undefined;
|
|
243
|
+
fullscreen?: boolean | undefined;
|
|
244
|
+
padded?: boolean | undefined;
|
|
245
|
+
centered?: boolean | undefined;
|
|
246
|
+
safe?: boolean | undefined;
|
|
247
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
248
|
+
|
|
249
|
+
type SectionProps = {
|
|
250
|
+
title?: string;
|
|
251
|
+
description?: string;
|
|
252
|
+
children: ReactNode;
|
|
253
|
+
gap?: GetProps<typeof YStack>['gap'];
|
|
254
|
+
};
|
|
255
|
+
declare function Section({ title, description, children, gap }: SectionProps): react_jsx_runtime.JSX.Element;
|
|
256
|
+
|
|
257
|
+
type ListItemProps = {
|
|
258
|
+
icon?: ReactNode;
|
|
259
|
+
title: string;
|
|
260
|
+
subtitle?: string;
|
|
261
|
+
right?: ReactNode;
|
|
262
|
+
onPress?: () => void;
|
|
263
|
+
};
|
|
264
|
+
declare function ListItem({ icon, title, subtitle, right, onPress }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
265
|
+
|
|
266
|
+
type DividerProps = {
|
|
267
|
+
label?: string;
|
|
268
|
+
};
|
|
269
|
+
declare function Divider({ label }: DividerProps): react_jsx_runtime.JSX.Element;
|
|
270
|
+
|
|
271
|
+
type KeyboardStickyFooterProps = {
|
|
272
|
+
children: ReactNode;
|
|
273
|
+
offset?: number;
|
|
274
|
+
};
|
|
275
|
+
declare function KeyboardStickyFooter({ children, offset }: KeyboardStickyFooterProps): react_jsx_runtime.JSX.Element;
|
|
276
|
+
|
|
277
|
+
type PlanOption = {
|
|
278
|
+
id: string;
|
|
279
|
+
name: string;
|
|
280
|
+
price: string;
|
|
281
|
+
period: string;
|
|
282
|
+
features: string[];
|
|
283
|
+
popular?: boolean;
|
|
284
|
+
};
|
|
285
|
+
type PaywallScreenProps = {
|
|
286
|
+
title?: string;
|
|
287
|
+
subtitle?: string;
|
|
288
|
+
plans: PlanOption[];
|
|
289
|
+
selectedPlan?: string;
|
|
290
|
+
onSelectPlan?: (planId: string) => void;
|
|
291
|
+
onContinue?: () => void;
|
|
292
|
+
onRestore?: () => void;
|
|
293
|
+
continueLabel?: string;
|
|
294
|
+
};
|
|
295
|
+
declare function PaywallScreen({ title, subtitle, plans, selectedPlan, onSelectPlan, onContinue, onRestore, continueLabel, }: PaywallScreenProps): react_jsx_runtime.JSX.Element;
|
|
296
|
+
|
|
297
|
+
type OnboardingStep = {
|
|
298
|
+
title: string;
|
|
299
|
+
description: string;
|
|
300
|
+
icon?: ReactNode;
|
|
301
|
+
};
|
|
302
|
+
type OnboardingCarouselProps = {
|
|
303
|
+
steps: OnboardingStep[];
|
|
304
|
+
onComplete?: () => void;
|
|
305
|
+
onSkip?: () => void;
|
|
306
|
+
completeLabel?: string;
|
|
307
|
+
skipLabel?: string;
|
|
308
|
+
nextLabel?: string;
|
|
309
|
+
};
|
|
310
|
+
declare function OnboardingCarousel({ steps, onComplete, onSkip, completeLabel, skipLabel, nextLabel, }: OnboardingCarouselProps): react_jsx_runtime.JSX.Element;
|
|
311
|
+
|
|
312
|
+
type ChatMessage = {
|
|
313
|
+
id: string;
|
|
314
|
+
text: string;
|
|
315
|
+
sender: 'user' | 'other';
|
|
316
|
+
timestamp?: string;
|
|
317
|
+
avatar?: string;
|
|
318
|
+
senderName?: string;
|
|
319
|
+
};
|
|
320
|
+
type ChatBubbleProps = {
|
|
321
|
+
message: ChatMessage;
|
|
322
|
+
showAvatar?: boolean;
|
|
323
|
+
};
|
|
324
|
+
declare function ChatBubble({ message, showAvatar }: ChatBubbleProps): react_jsx_runtime.JSX.Element;
|
|
325
|
+
|
|
326
|
+
type SettingsItem = {
|
|
327
|
+
id: string;
|
|
328
|
+
icon?: ReactNode;
|
|
329
|
+
title: string;
|
|
330
|
+
subtitle?: string;
|
|
331
|
+
right?: ReactNode;
|
|
332
|
+
onPress?: () => void;
|
|
333
|
+
type?: 'navigate' | 'toggle';
|
|
334
|
+
value?: boolean;
|
|
335
|
+
onValueChange?: (value: boolean) => void;
|
|
336
|
+
};
|
|
337
|
+
type SettingsSection = {
|
|
338
|
+
title?: string;
|
|
339
|
+
items: SettingsItem[];
|
|
340
|
+
};
|
|
341
|
+
type SettingsScreenProps = {
|
|
342
|
+
sections: SettingsSection[];
|
|
343
|
+
header?: ReactNode;
|
|
344
|
+
};
|
|
345
|
+
declare function SettingsScreen({ sections, header }: SettingsScreenProps): react_jsx_runtime.JSX.Element;
|
|
346
|
+
|
|
347
|
+
type EmptyStateProps = {
|
|
348
|
+
icon?: ReactNode;
|
|
349
|
+
title: string;
|
|
350
|
+
description?: string;
|
|
351
|
+
actionLabel?: string;
|
|
352
|
+
onAction?: () => void;
|
|
353
|
+
};
|
|
354
|
+
declare function EmptyState({ icon, title, description, actionLabel, onAction }: EmptyStateProps): react_jsx_runtime.JSX.Element;
|
|
355
|
+
|
|
356
|
+
type ProfileHeaderProps = {
|
|
357
|
+
name: string;
|
|
358
|
+
subtitle?: string;
|
|
359
|
+
avatar?: string;
|
|
360
|
+
stats?: {
|
|
361
|
+
label: string;
|
|
362
|
+
value: string;
|
|
363
|
+
}[];
|
|
364
|
+
actions?: ReactNode;
|
|
474
365
|
};
|
|
475
|
-
declare function
|
|
366
|
+
declare function ProfileHeader({ name, subtitle, avatar, stats, actions }: ProfileHeaderProps): react_jsx_runtime.JSX.Element;
|
|
476
367
|
|
|
477
|
-
export { Avatar, type AvatarProps, type BlinkConfig, BlinkText, type BlinkTextProps, Button, type ButtonProps, Card, type CardProps, Input, type InputProps, blinkConfig };
|
|
368
|
+
export { Avatar, type AvatarProps, Badge, type BadgeProps, type BlinkConfig, BlinkText, type BlinkTextProps, Button, type ButtonProps, Card, type CardProps, ChatBubble, type ChatBubbleProps, type ChatMessage, DialogProvider, Divider, type DividerProps, EmptyState, type EmptyStateProps, H1, H2, H3, H4, H5, H6, Image, Input, type InputProps, KeyboardStickyFooter, type KeyboardStickyFooterProps, ListItem, type ListItemProps, OnboardingCarousel, type OnboardingCarouselProps, type OnboardingStep, PageContainer, PageMainContainer, PaywallScreen, type PaywallScreenProps, type PlanOption, Pressable, ProfileHeader, type ProfileHeaderProps, ScreenLayout, Section, type SectionProps, SepHeading, Separator, type SettingsItem, SettingsScreen, type SettingsScreenProps, type SettingsSection, StepPageLayout, type StepPageProps, SubHeading, blinkConfig, dialogConfirm, showError };
|