@blinkdotnew/mobile-ui 2.0.0-alpha.1 → 2.0.0-alpha.11
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 +591 -417
- package/dist/index.d.ts +591 -417
- package/dist/index.js +1834 -412
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1783 -410
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,453 +1,122 @@
|
|
|
1
1
|
import * as tamagui from 'tamagui';
|
|
2
|
-
import { GetProps } from 'tamagui';
|
|
2
|
+
import { TamaguiInternalConfig, GetProps, YStack } from 'tamagui';
|
|
3
|
+
export { Accordion, Adapt, AlertDialog, Anchor, AnimatePresence, Article, Aside, Avatar, TamaguiProvider as BlinkProvider, Button, Card, Checkbox, Circle, ColorTokens, Dialog, EnsureFlexed, Fieldset, Footer, Form, Frame, GetProps, Group, H1, H2, H3, H4, H5, H6, Header, Heading, Input, Label, Main, Nav, Paragraph, Popover, Portal, PortalHost, PortalItem, PortalProvider, Progress, RadioGroup, ScrollView, Select, Separator, Sheet, SizableStack, SizableText, SizeTokens, Slider, Spacer, Spinner, Square, Stack, Switch, Tabs, Image as TamaguiImage, ListItem as TamaguiListItem, TamaguiProvider, Text, TextArea, Theme, ThemeTokens, ThemeableStack, ToggleGroup, Tooltip, TooltipSimple, Unspaced, View, VisuallyHidden, XGroup, XStack, YGroup, YStack, ZStack, addTheme, composeEventHandlers, composeRefs, createFont, createMedia, createStyledContext, createTamagui, createTheme, createTokens, createVariable, getConfig, getToken, getTokenValue, getTokens, isClient, isWeb, replaceTheme, styled, updateTheme, useComposedRefs, useControllableState, useDebounce, useDebounceValue, useDidFinishSSR, useEvent, useForceUpdate, useIsPresent, useIsomorphicLayoutEffect, useMedia, usePresence, useTheme, useThemeName, useWindowDimensions, withStaticProperties } from 'tamagui';
|
|
4
|
+
export { defaultConfig as tamaguiDefaultConfig } from '@tamagui/config/v5';
|
|
3
5
|
import * as react from 'react';
|
|
6
|
+
import { ReactNode } from 'react';
|
|
4
7
|
import * as _tamagui_core from '@tamagui/core';
|
|
5
8
|
import * as _tamagui_web from '@tamagui/web';
|
|
6
9
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
|
-
import * as react_native from 'react-native';
|
|
8
10
|
|
|
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
|
-
}>;
|
|
11
|
+
declare const blinkConfig: TamaguiInternalConfig;
|
|
350
12
|
type BlinkConfig = typeof blinkConfig;
|
|
351
13
|
declare module 'tamagui' {
|
|
352
14
|
interface TamaguiCustomConfig extends BlinkConfig {
|
|
353
15
|
}
|
|
354
16
|
}
|
|
355
17
|
|
|
356
|
-
declare const
|
|
357
|
-
|
|
358
|
-
|
|
18
|
+
declare const Button: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, any, _tamagui_core.RNTamaguiViewNonStyleProps & tamagui.TextContextStyles & {
|
|
19
|
+
textProps?: Partial<tamagui.SizableTextProps>;
|
|
20
|
+
noTextWrap?: boolean;
|
|
21
|
+
} & _tamagui_web.ThemeableProps & {
|
|
22
|
+
icon?: react.JSX.Element | react.FunctionComponent<{
|
|
23
|
+
color?: any;
|
|
24
|
+
size?: any;
|
|
25
|
+
}> | ((props: {
|
|
26
|
+
color?: any;
|
|
27
|
+
size?: any;
|
|
28
|
+
}) => any) | null;
|
|
29
|
+
iconAfter?: react.JSX.Element | react.FunctionComponent<{
|
|
30
|
+
color?: any;
|
|
31
|
+
size?: any;
|
|
32
|
+
}> | ((props: {
|
|
33
|
+
color?: any;
|
|
34
|
+
size?: any;
|
|
35
|
+
}) => any) | null;
|
|
36
|
+
scaleIcon?: number;
|
|
37
|
+
spaceFlex?: number | boolean;
|
|
38
|
+
scaleSpace?: number;
|
|
39
|
+
unstyled?: boolean;
|
|
40
|
+
}, _tamagui_web.StackStyleBase, {
|
|
41
|
+
size?: number | "lg" | "md" | "sm" | tamagui.SizeTokens | undefined;
|
|
359
42
|
disabled?: boolean | undefined;
|
|
43
|
+
elevation?: number | tamagui.SizeTokens | undefined;
|
|
44
|
+
variant?: "transparent" | "default" | "primary" | "outlined" | "floating" | "destructive" | undefined;
|
|
45
|
+
inset?: number | tamagui.SizeTokens | {
|
|
46
|
+
top?: number;
|
|
47
|
+
bottom?: number;
|
|
48
|
+
left?: number;
|
|
49
|
+
right?: number;
|
|
50
|
+
} | null | undefined;
|
|
51
|
+
unstyled?: boolean | undefined;
|
|
52
|
+
transparent?: boolean | undefined;
|
|
53
|
+
fullscreen?: boolean | undefined;
|
|
54
|
+
circular?: boolean | undefined;
|
|
55
|
+
hoverTheme?: boolean | undefined;
|
|
56
|
+
pressTheme?: boolean | undefined;
|
|
57
|
+
focusTheme?: boolean | undefined;
|
|
58
|
+
elevate?: boolean | undefined;
|
|
59
|
+
bordered?: number | boolean | undefined;
|
|
60
|
+
backgrounded?: boolean | undefined;
|
|
61
|
+
radiused?: boolean | undefined;
|
|
62
|
+
padded?: boolean | undefined;
|
|
63
|
+
chromeless?: boolean | "all" | undefined;
|
|
360
64
|
fullWidth?: boolean | undefined;
|
|
361
65
|
}, _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
|
-
};
|
|
66
|
+
type ButtonProps = GetProps<typeof Button>;
|
|
399
67
|
|
|
400
|
-
declare const BlinkText: tamagui.TamaguiComponent<_tamagui_web.TamaDefer,
|
|
401
|
-
|
|
402
|
-
center?: boolean | undefined;
|
|
403
|
-
variant?: "body" | "display" | "small" | "h1" | "h2" | "h3" | "h4" | "bodySmall" | "caption" | "tiny" | undefined;
|
|
404
|
-
unstyled?: boolean | undefined;
|
|
68
|
+
declare const BlinkText: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, any, tamagui.TextNonStyleProps, _tamagui_web.TextStylePropsBase, {
|
|
69
|
+
size?: tamagui.FontSizeTokens | undefined;
|
|
405
70
|
bold?: boolean | undefined;
|
|
71
|
+
variant?: "body" | "display" | "h1" | "h2" | "h3" | "h4" | "bodySmall" | "caption" | "small" | undefined;
|
|
72
|
+
unstyled?: boolean | undefined;
|
|
73
|
+
center?: boolean | undefined;
|
|
406
74
|
muted?: boolean | undefined;
|
|
75
|
+
secondary?: boolean | undefined;
|
|
407
76
|
}, _tamagui_web.StaticConfigPublic>;
|
|
408
|
-
type BlinkTextProps = typeof BlinkText
|
|
77
|
+
type BlinkTextProps = GetProps<typeof BlinkText>;
|
|
409
78
|
|
|
410
|
-
declare const CardFrame: tamagui.TamaguiComponent<_tamagui_web.TamaDefer,
|
|
411
|
-
size?: "
|
|
412
|
-
variant?: "
|
|
79
|
+
declare const CardFrame: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, any, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
80
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
81
|
+
variant?: "outlined" | "flat" | "elevated" | undefined;
|
|
413
82
|
pressable?: boolean | undefined;
|
|
414
83
|
}, _tamagui_web.StaticConfigPublic>;
|
|
415
84
|
type CardProps = GetProps<typeof CardFrame>;
|
|
416
|
-
declare const Card: react.ForwardRefExoticComponent<Omit<_tamagui_core.RNTamaguiViewNonStyleProps,
|
|
417
|
-
size?: "
|
|
418
|
-
variant?: "
|
|
85
|
+
declare const Card: react.ForwardRefExoticComponent<Omit<_tamagui_core.RNTamaguiViewNonStyleProps, keyof _tamagui_web.StackStyleBase> & _tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase> & {
|
|
86
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
87
|
+
variant?: "outlined" | "flat" | "elevated" | undefined;
|
|
419
88
|
pressable?: boolean | undefined;
|
|
420
89
|
} & _tamagui_web.WithShorthands<_tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase>> & _tamagui_web.WithPseudoProps<_tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase> & {
|
|
421
|
-
size?: "
|
|
422
|
-
variant?: "
|
|
90
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
91
|
+
variant?: "outlined" | "flat" | "elevated" | undefined;
|
|
423
92
|
pressable?: boolean | undefined;
|
|
424
93
|
} & _tamagui_web.WithShorthands<_tamagui_web.WithThemeValues<_tamagui_web.StackStyleBase>>> & _tamagui_web.WithMediaProps<_tamagui_web.WithThemeShorthandsAndPseudos<_tamagui_web.StackStyleBase, {
|
|
425
|
-
size?: "
|
|
426
|
-
variant?: "
|
|
94
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
95
|
+
variant?: "outlined" | "flat" | "elevated" | undefined;
|
|
427
96
|
pressable?: boolean | undefined;
|
|
428
|
-
}>> & react.RefAttributes<
|
|
429
|
-
size?: "
|
|
430
|
-
variant?: "
|
|
97
|
+
}>> & react.RefAttributes<any>> & _tamagui_web.StaticComponentObject<_tamagui_web.TamaDefer, any, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
98
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
99
|
+
variant?: "outlined" | "flat" | "elevated" | undefined;
|
|
431
100
|
pressable?: boolean | undefined;
|
|
432
101
|
}, _tamagui_web.StaticConfigPublic> & Omit<_tamagui_web.StaticConfigPublic, "staticConfig" | "extractable" | "styleable"> & {
|
|
433
|
-
__tama: [_tamagui_web.TamaDefer,
|
|
434
|
-
size?: "
|
|
435
|
-
variant?: "
|
|
102
|
+
__tama: [_tamagui_web.TamaDefer, any, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
103
|
+
size?: "lg" | "md" | "sm" | undefined;
|
|
104
|
+
variant?: "outlined" | "flat" | "elevated" | undefined;
|
|
436
105
|
pressable?: boolean | undefined;
|
|
437
106
|
}, _tamagui_web.StaticConfigPublic];
|
|
438
107
|
} & {
|
|
439
|
-
Header: tamagui.TamaguiComponent<_tamagui_web.TamaDefer,
|
|
440
|
-
Content: tamagui.TamaguiComponent<_tamagui_web.TamaDefer,
|
|
441
|
-
Footer: tamagui.TamaguiComponent<_tamagui_web.TamaDefer,
|
|
108
|
+
Header: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, any, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {}, _tamagui_web.StaticConfigPublic>;
|
|
109
|
+
Content: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, any, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {}, _tamagui_web.StaticConfigPublic>;
|
|
110
|
+
Footer: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, any, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {}, _tamagui_web.StaticConfigPublic>;
|
|
442
111
|
};
|
|
443
112
|
|
|
444
|
-
declare const InputField: tamagui.TamaguiComponent<_tamagui_web.TamaDefer,
|
|
113
|
+
declare const InputField: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, TextInput, any, _tamagui_web.TextStylePropsBase & {
|
|
445
114
|
readonly placeholderTextColor?: Omit<tamagui.ColorTokens | _tamagui_web.ThemeValueFallbackColor, "unset"> | undefined;
|
|
446
115
|
readonly selectionColor?: Omit<tamagui.ColorTokens | _tamagui_web.ThemeValueFallbackColor, "unset"> | undefined;
|
|
447
116
|
}, {
|
|
448
117
|
size?: tamagui.SizeTokens | undefined;
|
|
449
|
-
variant?: "default" | "filled" | undefined;
|
|
450
118
|
disabled?: boolean | undefined;
|
|
119
|
+
variant?: "default" | "filled" | undefined;
|
|
451
120
|
unstyled?: boolean | undefined;
|
|
452
121
|
hasError?: boolean | undefined;
|
|
453
122
|
}, {
|
|
@@ -462,16 +131,521 @@ type InputProps = GetProps<typeof InputField> & {
|
|
|
462
131
|
error?: string;
|
|
463
132
|
hint?: string;
|
|
464
133
|
};
|
|
465
|
-
|
|
466
134
|
declare function Input({ label, error, hint, ...props }: InputProps): react_jsx_runtime.JSX.Element;
|
|
467
135
|
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
}, _tamagui_web.StaticConfigPublic>;
|
|
471
|
-
type AvatarProps = GetProps<typeof AvatarFrame> & {
|
|
136
|
+
type SimpleSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
137
|
+
type AvatarProps = {
|
|
472
138
|
uri?: string;
|
|
473
139
|
name?: string;
|
|
140
|
+
size?: number | SimpleSize;
|
|
141
|
+
};
|
|
142
|
+
declare const Avatar: react.MemoExoticComponent<({ uri, name, size: sizeIn }: AvatarProps) => react_jsx_runtime.JSX.Element>;
|
|
143
|
+
|
|
144
|
+
declare const SubHeading: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, any, tamagui.TextNonStyleProps, _tamagui_web.TextStylePropsBase, {
|
|
145
|
+
size?: tamagui.FontSizeTokens | undefined;
|
|
146
|
+
unstyled?: boolean | undefined;
|
|
147
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
148
|
+
declare function SepHeading({ children }: {
|
|
149
|
+
children: ReactNode;
|
|
150
|
+
}): react_jsx_runtime.JSX.Element;
|
|
151
|
+
|
|
152
|
+
declare const PageContainer: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, any, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
153
|
+
elevation?: number | tamagui.SizeTokens | undefined;
|
|
154
|
+
inset?: number | tamagui.SizeTokens | {
|
|
155
|
+
top?: number;
|
|
156
|
+
bottom?: number;
|
|
157
|
+
left?: number;
|
|
158
|
+
right?: number;
|
|
159
|
+
} | null | undefined;
|
|
160
|
+
fullscreen?: boolean | undefined;
|
|
161
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
162
|
+
declare const PageMainContainer: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, any, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
163
|
+
elevation?: number | tamagui.SizeTokens | undefined;
|
|
164
|
+
inset?: number | tamagui.SizeTokens | {
|
|
165
|
+
top?: number;
|
|
166
|
+
bottom?: number;
|
|
167
|
+
left?: number;
|
|
168
|
+
right?: number;
|
|
169
|
+
} | null | undefined;
|
|
170
|
+
fullscreen?: boolean | undefined;
|
|
171
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
172
|
+
|
|
173
|
+
declare function DialogProvider({ children }: {
|
|
174
|
+
children: ReactNode;
|
|
175
|
+
}): react_jsx_runtime.JSX.Element;
|
|
176
|
+
declare const showError: (error: unknown, title?: string) => void;
|
|
177
|
+
declare const dialogConfirm: (props: {
|
|
178
|
+
title?: string;
|
|
179
|
+
description?: string;
|
|
180
|
+
}) => Promise<boolean>;
|
|
181
|
+
|
|
182
|
+
declare const Pressable: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, any, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {}, _tamagui_web.StaticConfigPublic>;
|
|
183
|
+
|
|
184
|
+
declare const Image: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, unknown, _tamagui_web.TamaguiComponentPropsBaseBase & Omit<Omit<_tamagui_web.GetFinalProps<any, _tamagui_web.StackStyleBase, {}>, "borderRadius"> & {
|
|
185
|
+
borderRadius?: tamagui.RadiusTokens;
|
|
186
|
+
}, "style" | "onLayout" | "width" | "height" | "resizeMode"> & {
|
|
187
|
+
width?: string | number | tamagui.SizeTokens | tamagui.ThemeValueFallback;
|
|
188
|
+
height?: string | number | tamagui.SizeTokens | tamagui.ThemeValueFallback;
|
|
189
|
+
src?: string | any;
|
|
190
|
+
resizeMode?: any;
|
|
191
|
+
objectFit?: React.CSSProperties["objectFit"];
|
|
192
|
+
} & Omit<tamagui.StackProps, string | number | symbol>, _tamagui_web.StackStyleBase, {}, _tamagui_web.StaticConfigPublic>;
|
|
193
|
+
|
|
194
|
+
type BadgeProps = {
|
|
195
|
+
children: ReactNode;
|
|
196
|
+
variant?: 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
197
|
+
};
|
|
198
|
+
declare function Badge({ children, variant }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
199
|
+
|
|
200
|
+
declare const ICONS: {
|
|
201
|
+
readonly home: "⌂";
|
|
202
|
+
readonly search: "⌕";
|
|
203
|
+
readonly back: "‹";
|
|
204
|
+
readonly forward: "›";
|
|
205
|
+
readonly close: "✕";
|
|
206
|
+
readonly menu: "☰";
|
|
207
|
+
readonly more: "⋯";
|
|
208
|
+
readonly plus: "+";
|
|
209
|
+
readonly minus: "−";
|
|
210
|
+
readonly check: "✓";
|
|
211
|
+
readonly star: "★";
|
|
212
|
+
readonly starOutline: "☆";
|
|
213
|
+
readonly heart: "♥";
|
|
214
|
+
readonly heartOutline: "♡";
|
|
215
|
+
readonly share: "⤴";
|
|
216
|
+
readonly edit: "✎";
|
|
217
|
+
readonly trash: "⌫";
|
|
218
|
+
readonly copy: "⎘";
|
|
219
|
+
readonly chat: "💬";
|
|
220
|
+
readonly mail: "✉";
|
|
221
|
+
readonly bell: "🔔";
|
|
222
|
+
readonly bellOff: "🔕";
|
|
223
|
+
readonly send: "➤";
|
|
224
|
+
readonly play: "▶";
|
|
225
|
+
readonly pause: "⏸";
|
|
226
|
+
readonly camera: "📷";
|
|
227
|
+
readonly image: "🖼";
|
|
228
|
+
readonly info: "ℹ";
|
|
229
|
+
readonly warning: "⚠";
|
|
230
|
+
readonly error: "✕";
|
|
231
|
+
readonly success: "✓";
|
|
232
|
+
readonly loading: "⟳";
|
|
233
|
+
readonly user: "👤";
|
|
234
|
+
readonly users: "👥";
|
|
235
|
+
readonly settings: "⚙";
|
|
236
|
+
readonly lock: "🔒";
|
|
237
|
+
readonly unlock: "🔓";
|
|
238
|
+
readonly arrowUp: "↑";
|
|
239
|
+
readonly arrowDown: "↓";
|
|
240
|
+
readonly arrowLeft: "←";
|
|
241
|
+
readonly arrowRight: "→";
|
|
242
|
+
readonly chevronUp: "⌃";
|
|
243
|
+
readonly chevronDown: "⌄";
|
|
244
|
+
readonly chevronLeft: "‹";
|
|
245
|
+
readonly chevronRight: "›";
|
|
246
|
+
};
|
|
247
|
+
type IconName = keyof typeof ICONS;
|
|
248
|
+
type IconProps = {
|
|
249
|
+
name: IconName;
|
|
250
|
+
size?: number;
|
|
251
|
+
color?: string;
|
|
252
|
+
};
|
|
253
|
+
declare function Icon({ name, size, color }: IconProps): react_jsx_runtime.JSX.Element;
|
|
254
|
+
|
|
255
|
+
type BlinkAccordionItem = {
|
|
256
|
+
id: string;
|
|
257
|
+
title: string;
|
|
258
|
+
content: ReactNode;
|
|
259
|
+
};
|
|
260
|
+
type BlinkAccordionProps = {
|
|
261
|
+
items: BlinkAccordionItem[];
|
|
262
|
+
defaultOpen?: string[];
|
|
263
|
+
allowMultiple?: boolean;
|
|
264
|
+
};
|
|
265
|
+
declare function BlinkAccordion({ items, defaultOpen, allowMultiple }: BlinkAccordionProps): react_jsx_runtime.JSX.Element;
|
|
266
|
+
|
|
267
|
+
type BlinkTabItem = {
|
|
268
|
+
key: string;
|
|
269
|
+
label: string;
|
|
270
|
+
};
|
|
271
|
+
type BlinkTabsProps = {
|
|
272
|
+
tabs: BlinkTabItem[];
|
|
273
|
+
activeTab?: string;
|
|
274
|
+
onTabChange?: (key: string) => void;
|
|
275
|
+
variant?: 'underline' | 'pill';
|
|
276
|
+
};
|
|
277
|
+
declare function BlinkTabs({ tabs, activeTab, onTabChange, variant }: BlinkTabsProps): react_jsx_runtime.JSX.Element;
|
|
278
|
+
|
|
279
|
+
type BlinkToggleOption = {
|
|
280
|
+
value: string;
|
|
281
|
+
label: string;
|
|
282
|
+
};
|
|
283
|
+
type BlinkToggleGroupProps = {
|
|
284
|
+
options: BlinkToggleOption[];
|
|
285
|
+
value: string;
|
|
286
|
+
onValueChange: (value: string) => void;
|
|
287
|
+
size?: 'sm' | 'md' | 'lg';
|
|
288
|
+
};
|
|
289
|
+
declare function BlinkToggleGroup({ options, value, onValueChange, size }: BlinkToggleGroupProps): react_jsx_runtime.JSX.Element;
|
|
290
|
+
|
|
291
|
+
type BlinkToastVariant = 'default' | 'success' | 'error' | 'warning';
|
|
292
|
+
type BlinkToastData = {
|
|
293
|
+
id: string;
|
|
294
|
+
title: string;
|
|
295
|
+
message?: string;
|
|
296
|
+
variant?: BlinkToastVariant;
|
|
297
|
+
duration?: number;
|
|
298
|
+
};
|
|
299
|
+
type BlinkToastOptions = {
|
|
300
|
+
message?: string;
|
|
301
|
+
variant?: BlinkToastVariant;
|
|
302
|
+
duration?: number;
|
|
303
|
+
};
|
|
304
|
+
type BlinkToastContextType = {
|
|
305
|
+
show: (title: string, options?: BlinkToastOptions) => void;
|
|
306
|
+
};
|
|
307
|
+
declare const toast: (title: string, options?: BlinkToastOptions | BlinkToastVariant) => void;
|
|
308
|
+
declare function BlinkToastProvider({ children }: {
|
|
309
|
+
children: ReactNode;
|
|
310
|
+
}): react_jsx_runtime.JSX.Element;
|
|
311
|
+
declare function useBlinkToast(): BlinkToastContextType;
|
|
312
|
+
|
|
313
|
+
type FormFieldProps = {
|
|
314
|
+
label?: string;
|
|
315
|
+
error?: string;
|
|
316
|
+
helperText?: string;
|
|
317
|
+
required?: boolean;
|
|
318
|
+
children: ReactNode;
|
|
319
|
+
};
|
|
320
|
+
declare function FormField({ label, error, helperText, required, children }: FormFieldProps): react_jsx_runtime.JSX.Element;
|
|
321
|
+
|
|
322
|
+
type TooltipProps = {
|
|
323
|
+
content: string;
|
|
324
|
+
children: ReactNode;
|
|
325
|
+
side?: 'top' | 'bottom' | 'left' | 'right';
|
|
326
|
+
};
|
|
327
|
+
declare function BlinkTooltip({ content, children, side }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
328
|
+
|
|
329
|
+
type StepPageProps = {
|
|
330
|
+
title: string;
|
|
331
|
+
description?: string;
|
|
332
|
+
children: ReactNode;
|
|
333
|
+
bottom?: ReactNode;
|
|
334
|
+
};
|
|
335
|
+
declare function StepPageLayout({ title, description, children, bottom }: StepPageProps): react_jsx_runtime.JSX.Element;
|
|
336
|
+
|
|
337
|
+
declare const ScreenLayout: tamagui.TamaguiComponent<_tamagui_web.TamaDefer, any, _tamagui_core.RNTamaguiViewNonStyleProps, _tamagui_web.StackStyleBase, {
|
|
338
|
+
elevation?: number | tamagui.SizeTokens | undefined;
|
|
339
|
+
inset?: number | tamagui.SizeTokens | {
|
|
340
|
+
top?: number;
|
|
341
|
+
bottom?: number;
|
|
342
|
+
left?: number;
|
|
343
|
+
right?: number;
|
|
344
|
+
} | null | undefined;
|
|
345
|
+
fullscreen?: boolean | undefined;
|
|
346
|
+
padded?: boolean | undefined;
|
|
347
|
+
centered?: boolean | undefined;
|
|
348
|
+
safe?: boolean | undefined;
|
|
349
|
+
}, _tamagui_web.StaticConfigPublic>;
|
|
350
|
+
|
|
351
|
+
type SectionProps = {
|
|
352
|
+
title?: string;
|
|
353
|
+
description?: string;
|
|
354
|
+
children: ReactNode;
|
|
355
|
+
gap?: GetProps<typeof YStack>['gap'];
|
|
356
|
+
};
|
|
357
|
+
declare function Section({ title, description, children, gap }: SectionProps): react_jsx_runtime.JSX.Element;
|
|
358
|
+
|
|
359
|
+
type ListItemProps = {
|
|
360
|
+
icon?: ReactNode;
|
|
361
|
+
title: string;
|
|
362
|
+
subtitle?: string;
|
|
363
|
+
right?: ReactNode;
|
|
364
|
+
onPress?: () => void;
|
|
365
|
+
};
|
|
366
|
+
declare function ListItem({ icon, title, subtitle, right, onPress }: ListItemProps): react_jsx_runtime.JSX.Element;
|
|
367
|
+
|
|
368
|
+
type DividerProps = {
|
|
369
|
+
label?: string;
|
|
370
|
+
};
|
|
371
|
+
declare function Divider({ label }: DividerProps): react_jsx_runtime.JSX.Element;
|
|
372
|
+
|
|
373
|
+
type KeyboardStickyFooterProps = {
|
|
374
|
+
children: ReactNode;
|
|
375
|
+
offset?: number;
|
|
376
|
+
};
|
|
377
|
+
declare function KeyboardStickyFooter({ children, offset }: KeyboardStickyFooterProps): react_jsx_runtime.JSX.Element;
|
|
378
|
+
|
|
379
|
+
type SafeAreaProps = {
|
|
380
|
+
children: ReactNode;
|
|
381
|
+
edges?: ('top' | 'bottom' | 'left' | 'right')[];
|
|
382
|
+
};
|
|
383
|
+
declare function SafeArea({ children, edges }: SafeAreaProps): react_jsx_runtime.JSX.Element;
|
|
384
|
+
|
|
385
|
+
type GridProps = {
|
|
386
|
+
children: ReactNode;
|
|
387
|
+
columns?: number;
|
|
388
|
+
gap?: string;
|
|
389
|
+
};
|
|
390
|
+
type ContainerProps = {
|
|
391
|
+
children: ReactNode;
|
|
392
|
+
maxWidth?: number;
|
|
393
|
+
centered?: boolean;
|
|
394
|
+
padding?: string;
|
|
395
|
+
};
|
|
396
|
+
declare function Grid({ children, columns, gap }: GridProps): react_jsx_runtime.JSX.Element;
|
|
397
|
+
declare function Container({ children, maxWidth, centered, padding }: ContainerProps): react_jsx_runtime.JSX.Element;
|
|
398
|
+
|
|
399
|
+
type PlanOption = {
|
|
400
|
+
id: string;
|
|
401
|
+
name: string;
|
|
402
|
+
price: string;
|
|
403
|
+
period: string;
|
|
404
|
+
features: string[];
|
|
405
|
+
popular?: boolean;
|
|
406
|
+
};
|
|
407
|
+
type PaywallScreenProps = {
|
|
408
|
+
title?: string;
|
|
409
|
+
subtitle?: string;
|
|
410
|
+
plans: PlanOption[];
|
|
411
|
+
selectedPlan?: string;
|
|
412
|
+
onSelectPlan?: (planId: string) => void;
|
|
413
|
+
onContinue?: () => void;
|
|
414
|
+
onRestore?: () => void;
|
|
415
|
+
continueLabel?: string;
|
|
416
|
+
};
|
|
417
|
+
declare function PaywallScreen({ title, subtitle, plans, selectedPlan, onSelectPlan, onContinue, onRestore, continueLabel, }: PaywallScreenProps): react_jsx_runtime.JSX.Element;
|
|
418
|
+
|
|
419
|
+
type OnboardingStep = {
|
|
420
|
+
title: string;
|
|
421
|
+
description: string;
|
|
422
|
+
icon?: ReactNode;
|
|
423
|
+
};
|
|
424
|
+
type OnboardingCarouselProps = {
|
|
425
|
+
steps: OnboardingStep[];
|
|
426
|
+
onComplete?: () => void;
|
|
427
|
+
onSkip?: () => void;
|
|
428
|
+
completeLabel?: string;
|
|
429
|
+
skipLabel?: string;
|
|
430
|
+
nextLabel?: string;
|
|
431
|
+
};
|
|
432
|
+
declare function OnboardingCarousel({ steps, onComplete, onSkip, completeLabel, skipLabel, nextLabel, }: OnboardingCarouselProps): react_jsx_runtime.JSX.Element;
|
|
433
|
+
|
|
434
|
+
type ChatMessage = {
|
|
435
|
+
id: string;
|
|
436
|
+
text: string;
|
|
437
|
+
sender: 'user' | 'other';
|
|
438
|
+
timestamp?: string;
|
|
439
|
+
avatar?: string;
|
|
440
|
+
senderName?: string;
|
|
441
|
+
};
|
|
442
|
+
type ChatBubbleProps = {
|
|
443
|
+
message: ChatMessage;
|
|
444
|
+
showAvatar?: boolean;
|
|
445
|
+
};
|
|
446
|
+
declare function ChatBubble({ message, showAvatar }: ChatBubbleProps): react_jsx_runtime.JSX.Element;
|
|
447
|
+
|
|
448
|
+
type SettingsItem = {
|
|
449
|
+
id: string;
|
|
450
|
+
icon?: ReactNode;
|
|
451
|
+
title: string;
|
|
452
|
+
subtitle?: string;
|
|
453
|
+
right?: ReactNode;
|
|
454
|
+
onPress?: () => void;
|
|
455
|
+
type?: 'navigate' | 'toggle';
|
|
456
|
+
value?: boolean;
|
|
457
|
+
onValueChange?: (value: boolean) => void;
|
|
458
|
+
};
|
|
459
|
+
type SettingsSection = {
|
|
460
|
+
title?: string;
|
|
461
|
+
items: SettingsItem[];
|
|
462
|
+
};
|
|
463
|
+
type SettingsScreenProps = {
|
|
464
|
+
sections: SettingsSection[];
|
|
465
|
+
header?: ReactNode;
|
|
466
|
+
};
|
|
467
|
+
declare function SettingsScreen({ sections, header }: SettingsScreenProps): react_jsx_runtime.JSX.Element;
|
|
468
|
+
|
|
469
|
+
type EmptyStateProps = {
|
|
470
|
+
icon?: ReactNode;
|
|
471
|
+
title: string;
|
|
472
|
+
description?: string;
|
|
473
|
+
actionLabel?: string;
|
|
474
|
+
onAction?: () => void;
|
|
475
|
+
};
|
|
476
|
+
declare function EmptyState({ icon, title, description, actionLabel, onAction }: EmptyStateProps): react_jsx_runtime.JSX.Element;
|
|
477
|
+
|
|
478
|
+
type ProfileHeaderProps = {
|
|
479
|
+
name: string;
|
|
480
|
+
subtitle?: string;
|
|
481
|
+
avatar?: string;
|
|
482
|
+
stats?: {
|
|
483
|
+
label: string;
|
|
484
|
+
value: string;
|
|
485
|
+
}[];
|
|
486
|
+
actions?: ReactNode;
|
|
487
|
+
};
|
|
488
|
+
declare function ProfileHeader({ name, subtitle, avatar, stats, actions }: ProfileHeaderProps): react_jsx_runtime.JSX.Element;
|
|
489
|
+
|
|
490
|
+
type AppHeaderVariant = 'simple' | 'back' | 'profile' | 'centered';
|
|
491
|
+
type AppHeaderProps = {
|
|
492
|
+
title: string;
|
|
493
|
+
subtitle?: string;
|
|
494
|
+
variant?: AppHeaderVariant;
|
|
495
|
+
onBack?: () => void;
|
|
496
|
+
avatar?: string;
|
|
497
|
+
left?: React.ReactNode;
|
|
498
|
+
right?: React.ReactNode;
|
|
499
|
+
transparent?: boolean;
|
|
500
|
+
borderless?: boolean;
|
|
501
|
+
};
|
|
502
|
+
declare function AppHeader({ title, subtitle, variant, onBack, avatar, left, right, transparent, borderless }: AppHeaderProps): react_jsx_runtime.JSX.Element;
|
|
503
|
+
|
|
504
|
+
type BottomSheetProps = {
|
|
505
|
+
open: boolean;
|
|
506
|
+
onOpenChange: (open: boolean) => void;
|
|
507
|
+
title?: string;
|
|
508
|
+
children: ReactNode;
|
|
509
|
+
snapPoints?: number[];
|
|
510
|
+
dismissOnSnapToBottom?: boolean;
|
|
511
|
+
showHandle?: boolean;
|
|
512
|
+
showClose?: boolean;
|
|
513
|
+
zIndex?: number;
|
|
514
|
+
};
|
|
515
|
+
declare function BottomSheet({ open, onOpenChange, title, children, snapPoints, dismissOnSnapToBottom, showHandle, showClose, zIndex }: BottomSheetProps): react_jsx_runtime.JSX.Element;
|
|
516
|
+
|
|
517
|
+
type AuthProvider = {
|
|
518
|
+
id: string;
|
|
519
|
+
name: string;
|
|
520
|
+
icon?: ReactNode;
|
|
521
|
+
};
|
|
522
|
+
type LoginScreenProps = {
|
|
523
|
+
title?: string;
|
|
524
|
+
subtitle?: string;
|
|
525
|
+
logo?: ReactNode;
|
|
526
|
+
providers?: AuthProvider[];
|
|
527
|
+
onProviderPress?: (id: string) => void;
|
|
528
|
+
showEmailForm?: boolean;
|
|
529
|
+
onEmailSubmit?: (email: string, password: string) => void;
|
|
530
|
+
onForgotPassword?: () => void;
|
|
531
|
+
onCreateAccount?: () => void;
|
|
532
|
+
onTerms?: () => void;
|
|
533
|
+
onPrivacy?: () => void;
|
|
534
|
+
loading?: boolean;
|
|
535
|
+
};
|
|
536
|
+
declare function LoginScreen({ title, subtitle, logo, providers, onProviderPress, showEmailForm, onEmailSubmit, onForgotPassword, onCreateAccount, onTerms, onPrivacy, loading }: LoginScreenProps): react_jsx_runtime.JSX.Element;
|
|
537
|
+
|
|
538
|
+
type TabBarItem = {
|
|
539
|
+
id: string;
|
|
540
|
+
label: string;
|
|
541
|
+
icon?: React.ReactNode;
|
|
542
|
+
};
|
|
543
|
+
type TabBarProps = {
|
|
544
|
+
tabs: TabBarItem[];
|
|
545
|
+
activeTab: string;
|
|
546
|
+
onTabPress: (id: string) => void;
|
|
547
|
+
showLabels?: boolean;
|
|
548
|
+
};
|
|
549
|
+
declare function TabBar({ tabs, activeTab, onTabPress, showLabels }: TabBarProps): react_jsx_runtime.JSX.Element;
|
|
550
|
+
|
|
551
|
+
type SearchBarProps = {
|
|
552
|
+
value: string;
|
|
553
|
+
onChangeText: (text: string) => void;
|
|
554
|
+
placeholder?: string;
|
|
555
|
+
onFilter?: () => void;
|
|
556
|
+
onCancel?: () => void;
|
|
557
|
+
autoFocus?: boolean;
|
|
558
|
+
};
|
|
559
|
+
declare function SearchBar({ value, onChangeText, placeholder, onFilter, onCancel, autoFocus }: SearchBarProps): react_jsx_runtime.JSX.Element;
|
|
560
|
+
|
|
561
|
+
type FABProps = {
|
|
562
|
+
icon?: ReactNode;
|
|
563
|
+
label?: string;
|
|
564
|
+
onPress: () => void;
|
|
565
|
+
position?: 'bottom-right' | 'bottom-center' | 'bottom-left';
|
|
566
|
+
size?: 'sm' | 'md' | 'lg';
|
|
567
|
+
};
|
|
568
|
+
declare function FloatingActionButton({ icon, label, onPress, position, size }: FABProps): react_jsx_runtime.JSX.Element;
|
|
569
|
+
|
|
570
|
+
type ActionSheetItem = {
|
|
571
|
+
id: string;
|
|
572
|
+
label: string;
|
|
573
|
+
icon?: ReactNode;
|
|
574
|
+
destructive?: boolean;
|
|
575
|
+
};
|
|
576
|
+
type ActionSheetProps = {
|
|
577
|
+
open: boolean;
|
|
578
|
+
onOpenChange: (open: boolean) => void;
|
|
579
|
+
title?: string;
|
|
580
|
+
items: ActionSheetItem[];
|
|
581
|
+
onSelect: (id: string) => void;
|
|
582
|
+
cancelLabel?: string;
|
|
583
|
+
zIndex?: number;
|
|
584
|
+
};
|
|
585
|
+
declare function ActionSheet({ open, onOpenChange, title, items, onSelect, cancelLabel, zIndex }: ActionSheetProps): react_jsx_runtime.JSX.Element;
|
|
586
|
+
|
|
587
|
+
type SkeletonProps = {
|
|
588
|
+
width?: number | string;
|
|
589
|
+
height?: number;
|
|
590
|
+
borderRadius?: number;
|
|
591
|
+
variant?: 'text' | 'circular' | 'rectangular';
|
|
592
|
+
};
|
|
593
|
+
declare function Skeleton({ width, height, borderRadius, variant }: SkeletonProps): react_jsx_runtime.JSX.Element;
|
|
594
|
+
|
|
595
|
+
type NotificationBannerProps = {
|
|
596
|
+
title: string;
|
|
597
|
+
message?: string;
|
|
598
|
+
variant?: 'info' | 'success' | 'warning' | 'error';
|
|
599
|
+
onPress?: () => void;
|
|
600
|
+
onDismiss?: () => void;
|
|
601
|
+
icon?: ReactNode;
|
|
602
|
+
};
|
|
603
|
+
declare function NotificationBanner({ title, message, variant, onPress, onDismiss, icon }: NotificationBannerProps): react_jsx_runtime.JSX.Element;
|
|
604
|
+
|
|
605
|
+
type ProgressStepsProps = {
|
|
606
|
+
steps: string[];
|
|
607
|
+
currentStep: number;
|
|
608
|
+
variant?: 'dots' | 'bar' | 'numbered';
|
|
609
|
+
};
|
|
610
|
+
declare function ProgressSteps({ steps, currentStep, variant }: ProgressStepsProps): react_jsx_runtime.JSX.Element;
|
|
611
|
+
|
|
612
|
+
type SwipeAction = {
|
|
613
|
+
id: string;
|
|
614
|
+
label: string;
|
|
615
|
+
color: string;
|
|
616
|
+
onPress: () => void;
|
|
617
|
+
};
|
|
618
|
+
type SwipeableRowProps = {
|
|
619
|
+
children: ReactNode;
|
|
620
|
+
leftActions?: SwipeAction[];
|
|
621
|
+
rightActions?: SwipeAction[];
|
|
622
|
+
};
|
|
623
|
+
declare function SwipeableRow({ children, leftActions, rightActions }: SwipeableRowProps): react_jsx_runtime.JSX.Element;
|
|
624
|
+
|
|
625
|
+
type MediaCardProps = {
|
|
626
|
+
image: string;
|
|
627
|
+
title: string;
|
|
628
|
+
subtitle?: string;
|
|
629
|
+
overlay?: 'gradient' | 'dark' | 'none';
|
|
630
|
+
aspectRatio?: number;
|
|
631
|
+
onPress?: () => void;
|
|
632
|
+
badge?: string;
|
|
633
|
+
};
|
|
634
|
+
declare function MediaCard({ image, title, subtitle, overlay, aspectRatio, onPress, badge }: MediaCardProps): react_jsx_runtime.JSX.Element;
|
|
635
|
+
|
|
636
|
+
type CarouselProps = {
|
|
637
|
+
children: ReactNode;
|
|
638
|
+
gap?: string;
|
|
639
|
+
snapToInterval?: number;
|
|
640
|
+
showIndicators?: boolean;
|
|
641
|
+
};
|
|
642
|
+
declare function Carousel({ children, gap, snapToInterval, showIndicators }: CarouselProps): react_jsx_runtime.JSX.Element;
|
|
643
|
+
|
|
644
|
+
type PullToRefreshProps = {
|
|
645
|
+
children: ReactNode;
|
|
646
|
+
onRefresh: () => void;
|
|
647
|
+
refreshing?: boolean;
|
|
474
648
|
};
|
|
475
|
-
declare function
|
|
649
|
+
declare function PullToRefresh({ children, onRefresh, refreshing }: PullToRefreshProps): react_jsx_runtime.JSX.Element;
|
|
476
650
|
|
|
477
|
-
export {
|
|
651
|
+
export { ActionSheet, type ActionSheetItem, type ActionSheetProps, AppHeader, type AppHeaderProps, type AppHeaderVariant, type AuthProvider, Badge, type BadgeProps, BlinkAccordion, type BlinkAccordionItem, type BlinkAccordionProps, Avatar as BlinkAvatar, type AvatarProps as BlinkAvatarProps, Button as BlinkButton, type ButtonProps as BlinkButtonProps, Card as BlinkCard, type CardProps as BlinkCardProps, type BlinkConfig, Input as BlinkInput, type InputProps as BlinkInputProps, type BlinkTabItem, BlinkTabs, type BlinkTabsProps, BlinkText, type BlinkTextProps, type BlinkToastContextType, type BlinkToastData, type BlinkToastOptions, BlinkToastProvider, type BlinkToastVariant, BlinkToggleGroup, type BlinkToggleGroupProps, type BlinkToggleOption, BlinkTooltip, BottomSheet, type BottomSheetProps, Carousel, type CarouselProps, ChatBubble, type ChatBubbleProps, type ChatMessage, Container, type ContainerProps, DialogProvider, Divider, type DividerProps, EmptyState, type EmptyStateProps, type FABProps, FloatingActionButton, FormField, type FormFieldProps, Grid, type GridProps, ICONS, Icon, type IconName, type IconProps, Image, KeyboardStickyFooter, type KeyboardStickyFooterProps, ListItem, type ListItemProps, LoginScreen, type LoginScreenProps, MediaCard, type MediaCardProps, NotificationBanner, type NotificationBannerProps, OnboardingCarousel, type OnboardingCarouselProps, type OnboardingStep, PageContainer, PageMainContainer, PaywallScreen, type PaywallScreenProps, type PlanOption, Pressable, ProfileHeader, type ProfileHeaderProps, ProgressSteps, type ProgressStepsProps, PullToRefresh, type PullToRefreshProps, SafeArea, type SafeAreaProps, ScreenLayout, SearchBar, type SearchBarProps, Section, type SectionProps, SepHeading, type SettingsItem, SettingsScreen, type SettingsScreenProps, type SettingsSection, Skeleton, type SkeletonProps, StepPageLayout, type StepPageProps, SubHeading, type SwipeAction, SwipeableRow, type SwipeableRowProps, TabBar, type TabBarItem, type TabBarProps, type TooltipProps, blinkConfig, dialogConfirm, showError, toast, useBlinkToast };
|