@tamagui/list-item 1.22.6 → 1.22.7
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/cjs/ListItem.js +46 -47
- package/dist/cjs/ListItem.js.map +2 -2
- package/dist/esm/ListItem.js +45 -47
- package/dist/esm/ListItem.js.map +2 -2
- package/dist/esm/ListItem.mjs +45 -47
- package/dist/esm/ListItem.mjs.map +2 -2
- package/dist/jsx/ListItem.js +45 -47
- package/dist/jsx/ListItem.js.map +2 -2
- package/dist/jsx/ListItem.mjs +45 -47
- package/dist/jsx/ListItem.mjs.map +2 -2
- package/package.json +7 -7
- package/src/ListItem.tsx +49 -47
- package/types/ListItem.d.ts +99 -64
- package/types/ListItem.d.ts.map +1 -1
package/types/ListItem.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FontSizeTokens, GetProps,
|
|
1
|
+
import { FontSizeTokens, GetProps, SizeTokens, ThemeableProps } from '@tamagui/core';
|
|
2
2
|
import { TextParentStyles } from '@tamagui/text';
|
|
3
3
|
import React, { FunctionComponent } from 'react';
|
|
4
4
|
type ListItemIconProps = {
|
|
@@ -43,9 +43,46 @@ export type ListItemProps = Omit<TextParentStyles, 'TextComponent' | 'noTextWrap
|
|
|
43
43
|
*/
|
|
44
44
|
noTextWrap?: boolean | 'all';
|
|
45
45
|
};
|
|
46
|
+
export declare const listItemVariants: {
|
|
47
|
+
readonly unstyled: {
|
|
48
|
+
readonly false: {
|
|
49
|
+
readonly size: "$true";
|
|
50
|
+
readonly alignItems: "center";
|
|
51
|
+
readonly flexWrap: "nowrap";
|
|
52
|
+
readonly width: "100%";
|
|
53
|
+
readonly borderColor: "$borderColor";
|
|
54
|
+
readonly maxWidth: "100%";
|
|
55
|
+
readonly overflow: "hidden";
|
|
56
|
+
readonly flexDirection: "row";
|
|
57
|
+
readonly backgroundColor: "$background";
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
readonly size: {
|
|
61
|
+
readonly '...size': (val: SizeTokens, { tokens }: {
|
|
62
|
+
tokens: any;
|
|
63
|
+
}) => {
|
|
64
|
+
minHeight: any;
|
|
65
|
+
paddingHorizontal: any;
|
|
66
|
+
paddingVertical: import("@tamagui/core").SpaceTokens;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
readonly active: {
|
|
70
|
+
readonly true: {
|
|
71
|
+
readonly hoverStyle: {
|
|
72
|
+
readonly backgroundColor: "$background";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
readonly disabled: {
|
|
77
|
+
readonly true: {
|
|
78
|
+
readonly opacity: 0.5;
|
|
79
|
+
readonly pointerEvents: any;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
46
83
|
export declare const ListItemFrame: import("@tamagui/core").TamaguiComponent<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
47
84
|
readonly fullscreen?: boolean | undefined;
|
|
48
|
-
readonly elevation?:
|
|
85
|
+
readonly elevation?: SizeTokens | undefined;
|
|
49
86
|
} & {
|
|
50
87
|
readonly backgrounded?: boolean | undefined;
|
|
51
88
|
readonly radiused?: boolean | undefined;
|
|
@@ -60,12 +97,12 @@ export declare const ListItemFrame: import("@tamagui/core").TamaguiComponent<Omi
|
|
|
60
97
|
readonly chromeless?: boolean | "all" | undefined;
|
|
61
98
|
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
62
99
|
readonly unstyled?: boolean | undefined;
|
|
63
|
-
readonly size?:
|
|
100
|
+
readonly size?: SizeTokens | undefined;
|
|
64
101
|
readonly active?: boolean | undefined;
|
|
65
102
|
readonly disabled?: boolean | undefined;
|
|
66
103
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
67
104
|
readonly fullscreen?: boolean | undefined;
|
|
68
|
-
readonly elevation?:
|
|
105
|
+
readonly elevation?: SizeTokens | undefined;
|
|
69
106
|
} & {
|
|
70
107
|
readonly backgrounded?: boolean | undefined;
|
|
71
108
|
readonly radiused?: boolean | undefined;
|
|
@@ -80,12 +117,12 @@ export declare const ListItemFrame: import("@tamagui/core").TamaguiComponent<Omi
|
|
|
80
117
|
readonly chromeless?: boolean | "all" | undefined;
|
|
81
118
|
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
82
119
|
readonly unstyled?: boolean | undefined;
|
|
83
|
-
readonly size?:
|
|
120
|
+
readonly size?: SizeTokens | undefined;
|
|
84
121
|
readonly active?: boolean | undefined;
|
|
85
122
|
readonly disabled?: boolean | undefined;
|
|
86
123
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
87
124
|
readonly fullscreen?: boolean | undefined;
|
|
88
|
-
readonly elevation?:
|
|
125
|
+
readonly elevation?: SizeTokens | undefined;
|
|
89
126
|
} & {
|
|
90
127
|
readonly backgrounded?: boolean | undefined;
|
|
91
128
|
readonly radiused?: boolean | undefined;
|
|
@@ -100,12 +137,12 @@ export declare const ListItemFrame: import("@tamagui/core").TamaguiComponent<Omi
|
|
|
100
137
|
readonly chromeless?: boolean | "all" | undefined;
|
|
101
138
|
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
102
139
|
readonly unstyled?: boolean | undefined;
|
|
103
|
-
readonly size?:
|
|
140
|
+
readonly size?: SizeTokens | undefined;
|
|
104
141
|
readonly active?: boolean | undefined;
|
|
105
142
|
readonly disabled?: boolean | undefined;
|
|
106
|
-
}>>, TamaguiElement, Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps, {
|
|
143
|
+
}>>, import("@tamagui/core").TamaguiElement, Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps, {
|
|
107
144
|
readonly fullscreen?: boolean | undefined;
|
|
108
|
-
readonly elevation?:
|
|
145
|
+
readonly elevation?: SizeTokens | undefined;
|
|
109
146
|
} & {
|
|
110
147
|
readonly backgrounded?: boolean | undefined;
|
|
111
148
|
readonly radiused?: boolean | undefined;
|
|
@@ -120,7 +157,7 @@ export declare const ListItemFrame: import("@tamagui/core").TamaguiComponent<Omi
|
|
|
120
157
|
readonly chromeless?: boolean | "all" | undefined;
|
|
121
158
|
} & {
|
|
122
159
|
readonly unstyled?: boolean | undefined;
|
|
123
|
-
readonly size?:
|
|
160
|
+
readonly size?: SizeTokens | undefined;
|
|
124
161
|
readonly active?: boolean | undefined;
|
|
125
162
|
readonly disabled?: boolean | undefined;
|
|
126
163
|
}, {
|
|
@@ -138,7 +175,7 @@ export declare const ListItemText: import("@tamagui/core").TamaguiComponent<Omit
|
|
|
138
175
|
readonly size?: FontSizeTokens | undefined;
|
|
139
176
|
}, "unstyled"> & {
|
|
140
177
|
unstyled?: boolean | undefined;
|
|
141
|
-
}>>, TamaguiElement, import("@tamagui/core").TextPropsBase, {
|
|
178
|
+
}>>, import("@tamagui/core").TamaguiElement, import("@tamagui/core").TextPropsBase, {
|
|
142
179
|
readonly size?: FontSizeTokens | undefined;
|
|
143
180
|
} & {
|
|
144
181
|
unstyled?: boolean | undefined;
|
|
@@ -163,7 +200,7 @@ export declare const ListItemSubtitle: import("@tamagui/core").TamaguiComponent<
|
|
|
163
200
|
unstyled?: boolean | undefined;
|
|
164
201
|
}, "unstyled"> & {
|
|
165
202
|
readonly unstyled?: boolean | undefined;
|
|
166
|
-
}>>, TamaguiElement, import("@tamagui/core").TextPropsBase, {
|
|
203
|
+
}>>, import("@tamagui/core").TamaguiElement, import("@tamagui/core").TextPropsBase, {
|
|
167
204
|
readonly size?: FontSizeTokens | undefined;
|
|
168
205
|
} & {
|
|
169
206
|
unstyled?: boolean | undefined;
|
|
@@ -202,7 +239,7 @@ export declare const ListItemTitle: import("@tamagui/core").TamaguiComponent<(Om
|
|
|
202
239
|
unstyled?: boolean | undefined;
|
|
203
240
|
}, string | number> & {
|
|
204
241
|
[x: string]: undefined;
|
|
205
|
-
}>>), TamaguiElement, import("@tamagui/core").TextPropsBase, {
|
|
242
|
+
}>>), import("@tamagui/core").TamaguiElement, import("@tamagui/core").TextPropsBase, {
|
|
206
243
|
readonly size?: FontSizeTokens | undefined;
|
|
207
244
|
} & {
|
|
208
245
|
unstyled?: boolean | undefined;
|
|
@@ -319,23 +356,23 @@ export declare const useListItem: (props: ListItemProps, { Text, Subtitle, Title
|
|
|
319
356
|
onMouseUp?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
320
357
|
onFocus?: ((event: React.FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
321
358
|
onScroll?: ((event: React.UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
322
|
-
backgroundColor?: import("@tamagui/core").
|
|
323
|
-
borderBottomColor?: import("@tamagui/core").
|
|
359
|
+
backgroundColor?: import("@tamagui/core").ColorTokens | import("@tamagui/core").ThemeValueFallback | import("react-native/types").OpaqueColorValue | undefined;
|
|
360
|
+
borderBottomColor?: import("@tamagui/core").ColorTokens | import("@tamagui/core").ThemeValueFallback | import("react-native/types").OpaqueColorValue | undefined;
|
|
324
361
|
borderBottomEndRadius?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").RadiusTokens | undefined;
|
|
325
362
|
borderBottomLeftRadius?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").RadiusTokens | undefined;
|
|
326
363
|
borderBottomRightRadius?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").RadiusTokens | undefined;
|
|
327
364
|
borderBottomStartRadius?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").RadiusTokens | undefined;
|
|
328
365
|
borderBottomWidth?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
329
|
-
borderColor?: import("@tamagui/core").
|
|
366
|
+
borderColor?: import("@tamagui/core").ColorTokens | import("@tamagui/core").ThemeValueFallback | import("react-native/types").OpaqueColorValue | undefined;
|
|
330
367
|
borderEndColor?: import("react-native/types").ColorValue | undefined;
|
|
331
|
-
borderLeftColor?: import("@tamagui/core").
|
|
368
|
+
borderLeftColor?: import("@tamagui/core").ColorTokens | import("@tamagui/core").ThemeValueFallback | import("react-native/types").OpaqueColorValue | undefined;
|
|
332
369
|
borderLeftWidth?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
333
370
|
borderRadius?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").RadiusTokens | undefined;
|
|
334
|
-
borderRightColor?: import("@tamagui/core").
|
|
371
|
+
borderRightColor?: import("@tamagui/core").ColorTokens | import("@tamagui/core").ThemeValueFallback | import("react-native/types").OpaqueColorValue | undefined;
|
|
335
372
|
borderRightWidth?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
336
373
|
borderStartColor?: import("react-native/types").ColorValue | undefined;
|
|
337
374
|
borderStyle?: "solid" | "dotted" | "dashed" | undefined;
|
|
338
|
-
borderTopColor?: import("@tamagui/core").
|
|
375
|
+
borderTopColor?: import("@tamagui/core").ColorTokens | import("@tamagui/core").ThemeValueFallback | import("react-native/types").OpaqueColorValue | undefined;
|
|
339
376
|
borderTopEndRadius?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").RadiusTokens | undefined;
|
|
340
377
|
borderTopLeftRadius?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").RadiusTokens | undefined;
|
|
341
378
|
borderTopRightRadius?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").RadiusTokens | undefined;
|
|
@@ -357,7 +394,7 @@ export declare const useListItem: (props: ListItemProps, { Text, Subtitle, Title
|
|
|
357
394
|
flexGrow?: number | undefined;
|
|
358
395
|
flexShrink?: number | undefined;
|
|
359
396
|
flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
|
|
360
|
-
height?:
|
|
397
|
+
height?: SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
361
398
|
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
362
399
|
left?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
363
400
|
margin?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
@@ -369,10 +406,10 @@ export declare const useListItem: (props: ListItemProps, { Text, Subtitle, Title
|
|
|
369
406
|
marginStart?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
370
407
|
marginTop?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
371
408
|
marginVertical?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
372
|
-
maxHeight?:
|
|
373
|
-
maxWidth?:
|
|
374
|
-
minHeight?:
|
|
375
|
-
minWidth?:
|
|
409
|
+
maxHeight?: SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
410
|
+
maxWidth?: SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
411
|
+
minHeight?: SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
412
|
+
minWidth?: SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
376
413
|
overflow?: "hidden" | "visible" | "scroll" | undefined;
|
|
377
414
|
padding?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
378
415
|
paddingBottom?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
@@ -387,10 +424,10 @@ export declare const useListItem: (props: ListItemProps, { Text, Subtitle, Title
|
|
|
387
424
|
right?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
388
425
|
start?: string | number | undefined;
|
|
389
426
|
top?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
390
|
-
width?:
|
|
427
|
+
width?: SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
391
428
|
zIndex?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").ZIndexTokens | undefined;
|
|
392
429
|
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
393
|
-
shadowColor?: import("@tamagui/core").
|
|
430
|
+
shadowColor?: import("@tamagui/core").ColorTokens | import("@tamagui/core").ThemeValueFallback | import("react-native/types").OpaqueColorValue | undefined;
|
|
394
431
|
shadowOffset?: import("@tamagui/core").ThemeValueFallback | {
|
|
395
432
|
width: import("@tamagui/core").SpaceTokens;
|
|
396
433
|
height: import("@tamagui/core").SpaceTokens;
|
|
@@ -399,7 +436,7 @@ export declare const useListItem: (props: ListItemProps, { Text, Subtitle, Title
|
|
|
399
436
|
height: number;
|
|
400
437
|
} | undefined;
|
|
401
438
|
shadowOpacity?: number | undefined;
|
|
402
|
-
shadowRadius?:
|
|
439
|
+
shadowRadius?: SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
403
440
|
transform?: (import("react-native/types").PerpectiveTransform | import("react-native/types").RotateTransform | import("react-native/types").RotateXTransform | import("react-native/types").RotateYTransform | import("react-native/types").RotateZTransform | import("react-native/types").ScaleTransform | import("react-native/types").ScaleXTransform | import("react-native/types").ScaleYTransform | import("react-native/types").TranslateXTransform | import("react-native/types").TranslateYTransform | import("react-native/types").SkewXTransform | import("react-native/types").SkewYTransform | import("react-native/types").MatrixTransform)[] | undefined;
|
|
404
441
|
transformMatrix?: number[] | undefined;
|
|
405
442
|
rotation?: number | undefined;
|
|
@@ -430,9 +467,7 @@ export declare const useListItem: (props: ListItemProps, { Text, Subtitle, Title
|
|
|
430
467
|
outlineOffset?: import("@tamagui/core").SpaceTokens | undefined;
|
|
431
468
|
outlineWidth?: import("@tamagui/core").SpaceTokens | undefined;
|
|
432
469
|
rel?: any;
|
|
433
|
-
download?: any;
|
|
434
|
-
* add icon before, passes color and size automatically if Component
|
|
435
|
-
*/
|
|
470
|
+
download?: any;
|
|
436
471
|
onStartShouldSetResponder?: ((event: import("react-native/types").GestureResponderEvent) => boolean) | undefined;
|
|
437
472
|
onMoveShouldSetResponder?: ((event: import("react-native/types").GestureResponderEvent) => boolean) | undefined;
|
|
438
473
|
onResponderEnd?: ((event: import("react-native/types").GestureResponderEvent) => void) | undefined;
|
|
@@ -458,7 +493,7 @@ export declare const useListItem: (props: ListItemProps, { Text, Subtitle, Title
|
|
|
458
493
|
download?: boolean | undefined;
|
|
459
494
|
} | undefined;
|
|
460
495
|
elevationAndroid?: string | number | undefined;
|
|
461
|
-
elevation?:
|
|
496
|
+
elevation?: SizeTokens | undefined;
|
|
462
497
|
transparent?: boolean | undefined;
|
|
463
498
|
hoverTheme?: boolean | undefined;
|
|
464
499
|
pressTheme?: boolean | undefined;
|
|
@@ -472,11 +507,11 @@ export declare const useListItem: (props: ListItemProps, { Text, Subtitle, Title
|
|
|
472
507
|
chromeless?: boolean | "all" | undefined;
|
|
473
508
|
fullscreen?: boolean | undefined;
|
|
474
509
|
unstyled?: boolean | undefined;
|
|
475
|
-
size?:
|
|
510
|
+
size?: SizeTokens | undefined;
|
|
476
511
|
active?: boolean | undefined;
|
|
477
512
|
hoverStyle?: Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
478
513
|
readonly fullscreen?: boolean | undefined;
|
|
479
|
-
readonly elevation?:
|
|
514
|
+
readonly elevation?: SizeTokens | undefined;
|
|
480
515
|
} & {
|
|
481
516
|
readonly backgrounded?: boolean | undefined;
|
|
482
517
|
readonly radiused?: boolean | undefined;
|
|
@@ -491,13 +526,13 @@ export declare const useListItem: (props: ListItemProps, { Text, Subtitle, Title
|
|
|
491
526
|
readonly chromeless?: boolean | "all" | undefined;
|
|
492
527
|
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
493
528
|
readonly unstyled?: boolean | undefined;
|
|
494
|
-
readonly size?:
|
|
529
|
+
readonly size?: SizeTokens | undefined;
|
|
495
530
|
readonly active?: boolean | undefined;
|
|
496
531
|
readonly disabled?: boolean | undefined;
|
|
497
532
|
}> | null | undefined;
|
|
498
533
|
pressStyle?: Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
499
534
|
readonly fullscreen?: boolean | undefined;
|
|
500
|
-
readonly elevation?:
|
|
535
|
+
readonly elevation?: SizeTokens | undefined;
|
|
501
536
|
} & {
|
|
502
537
|
readonly backgrounded?: boolean | undefined;
|
|
503
538
|
readonly radiused?: boolean | undefined;
|
|
@@ -512,13 +547,13 @@ export declare const useListItem: (props: ListItemProps, { Text, Subtitle, Title
|
|
|
512
547
|
readonly chromeless?: boolean | "all" | undefined;
|
|
513
548
|
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
514
549
|
readonly unstyled?: boolean | undefined;
|
|
515
|
-
readonly size?:
|
|
550
|
+
readonly size?: SizeTokens | undefined;
|
|
516
551
|
readonly active?: boolean | undefined;
|
|
517
552
|
readonly disabled?: boolean | undefined;
|
|
518
553
|
}> | null | undefined;
|
|
519
554
|
focusStyle?: Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
520
555
|
readonly fullscreen?: boolean | undefined;
|
|
521
|
-
readonly elevation?:
|
|
556
|
+
readonly elevation?: SizeTokens | undefined;
|
|
522
557
|
} & {
|
|
523
558
|
readonly backgrounded?: boolean | undefined;
|
|
524
559
|
readonly radiused?: boolean | undefined;
|
|
@@ -533,13 +568,13 @@ export declare const useListItem: (props: ListItemProps, { Text, Subtitle, Title
|
|
|
533
568
|
readonly chromeless?: boolean | "all" | undefined;
|
|
534
569
|
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
535
570
|
readonly unstyled?: boolean | undefined;
|
|
536
|
-
readonly size?:
|
|
571
|
+
readonly size?: SizeTokens | undefined;
|
|
537
572
|
readonly active?: boolean | undefined;
|
|
538
573
|
readonly disabled?: boolean | undefined;
|
|
539
574
|
}> | null | undefined;
|
|
540
575
|
exitStyle?: Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
541
576
|
readonly fullscreen?: boolean | undefined;
|
|
542
|
-
readonly elevation?:
|
|
577
|
+
readonly elevation?: SizeTokens | undefined;
|
|
543
578
|
} & {
|
|
544
579
|
readonly backgrounded?: boolean | undefined;
|
|
545
580
|
readonly radiused?: boolean | undefined;
|
|
@@ -554,13 +589,13 @@ export declare const useListItem: (props: ListItemProps, { Text, Subtitle, Title
|
|
|
554
589
|
readonly chromeless?: boolean | "all" | undefined;
|
|
555
590
|
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
556
591
|
readonly unstyled?: boolean | undefined;
|
|
557
|
-
readonly size?:
|
|
592
|
+
readonly size?: SizeTokens | undefined;
|
|
558
593
|
readonly active?: boolean | undefined;
|
|
559
594
|
readonly disabled?: boolean | undefined;
|
|
560
595
|
}> | null | undefined;
|
|
561
596
|
enterStyle?: Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
562
597
|
readonly fullscreen?: boolean | undefined;
|
|
563
|
-
readonly elevation?:
|
|
598
|
+
readonly elevation?: SizeTokens | undefined;
|
|
564
599
|
} & {
|
|
565
600
|
readonly backgrounded?: boolean | undefined;
|
|
566
601
|
readonly radiused?: boolean | undefined;
|
|
@@ -575,7 +610,7 @@ export declare const useListItem: (props: ListItemProps, { Text, Subtitle, Title
|
|
|
575
610
|
readonly chromeless?: boolean | "all" | undefined;
|
|
576
611
|
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
577
612
|
readonly unstyled?: boolean | undefined;
|
|
578
|
-
readonly size?:
|
|
613
|
+
readonly size?: SizeTokens | undefined;
|
|
579
614
|
readonly active?: boolean | undefined;
|
|
580
615
|
readonly disabled?: boolean | undefined;
|
|
581
616
|
}> | null | undefined;
|
|
@@ -589,7 +624,7 @@ export declare const listItemStaticConfig: {
|
|
|
589
624
|
};
|
|
590
625
|
export declare const ListItem: import("@tamagui/core").ReactComponentWithRef<Omit<TextParentStyles, "TextComponent" | "noTextWrap"> & Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
591
626
|
readonly fullscreen?: boolean | undefined;
|
|
592
|
-
readonly elevation?:
|
|
627
|
+
readonly elevation?: SizeTokens | undefined;
|
|
593
628
|
} & {
|
|
594
629
|
readonly backgrounded?: boolean | undefined;
|
|
595
630
|
readonly radiused?: boolean | undefined;
|
|
@@ -604,12 +639,12 @@ export declare const ListItem: import("@tamagui/core").ReactComponentWithRef<Omi
|
|
|
604
639
|
readonly chromeless?: boolean | "all" | undefined;
|
|
605
640
|
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
606
641
|
readonly unstyled?: boolean | undefined;
|
|
607
|
-
readonly size?:
|
|
642
|
+
readonly size?: SizeTokens | undefined;
|
|
608
643
|
readonly active?: boolean | undefined;
|
|
609
644
|
readonly disabled?: boolean | undefined;
|
|
610
645
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
611
646
|
readonly fullscreen?: boolean | undefined;
|
|
612
|
-
readonly elevation?:
|
|
647
|
+
readonly elevation?: SizeTokens | undefined;
|
|
613
648
|
} & {
|
|
614
649
|
readonly backgrounded?: boolean | undefined;
|
|
615
650
|
readonly radiused?: boolean | undefined;
|
|
@@ -624,12 +659,12 @@ export declare const ListItem: import("@tamagui/core").ReactComponentWithRef<Omi
|
|
|
624
659
|
readonly chromeless?: boolean | "all" | undefined;
|
|
625
660
|
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
626
661
|
readonly unstyled?: boolean | undefined;
|
|
627
|
-
readonly size?:
|
|
662
|
+
readonly size?: SizeTokens | undefined;
|
|
628
663
|
readonly active?: boolean | undefined;
|
|
629
664
|
readonly disabled?: boolean | undefined;
|
|
630
665
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
631
666
|
readonly fullscreen?: boolean | undefined;
|
|
632
|
-
readonly elevation?:
|
|
667
|
+
readonly elevation?: SizeTokens | undefined;
|
|
633
668
|
} & {
|
|
634
669
|
readonly backgrounded?: boolean | undefined;
|
|
635
670
|
readonly radiused?: boolean | undefined;
|
|
@@ -644,7 +679,7 @@ export declare const ListItem: import("@tamagui/core").ReactComponentWithRef<Omi
|
|
|
644
679
|
readonly chromeless?: boolean | "all" | undefined;
|
|
645
680
|
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
646
681
|
readonly unstyled?: boolean | undefined;
|
|
647
|
-
readonly size?:
|
|
682
|
+
readonly size?: SizeTokens | undefined;
|
|
648
683
|
readonly active?: boolean | undefined;
|
|
649
684
|
readonly disabled?: boolean | undefined;
|
|
650
685
|
}>> & ThemeableProps & {
|
|
@@ -685,7 +720,7 @@ export declare const ListItem: import("@tamagui/core").ReactComponentWithRef<Omi
|
|
|
685
720
|
noTextWrap?: boolean | "all" | undefined;
|
|
686
721
|
} & Omit<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
687
722
|
readonly fullscreen?: boolean | undefined;
|
|
688
|
-
readonly elevation?:
|
|
723
|
+
readonly elevation?: SizeTokens | undefined;
|
|
689
724
|
} & {
|
|
690
725
|
readonly backgrounded?: boolean | undefined;
|
|
691
726
|
readonly radiused?: boolean | undefined;
|
|
@@ -700,12 +735,12 @@ export declare const ListItem: import("@tamagui/core").ReactComponentWithRef<Omi
|
|
|
700
735
|
readonly chromeless?: boolean | "all" | undefined;
|
|
701
736
|
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
702
737
|
readonly unstyled?: boolean | undefined;
|
|
703
|
-
readonly size?:
|
|
738
|
+
readonly size?: SizeTokens | undefined;
|
|
704
739
|
readonly active?: boolean | undefined;
|
|
705
740
|
readonly disabled?: boolean | undefined;
|
|
706
741
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
707
742
|
readonly fullscreen?: boolean | undefined;
|
|
708
|
-
readonly elevation?:
|
|
743
|
+
readonly elevation?: SizeTokens | undefined;
|
|
709
744
|
} & {
|
|
710
745
|
readonly backgrounded?: boolean | undefined;
|
|
711
746
|
readonly radiused?: boolean | undefined;
|
|
@@ -720,12 +755,12 @@ export declare const ListItem: import("@tamagui/core").ReactComponentWithRef<Omi
|
|
|
720
755
|
readonly chromeless?: boolean | "all" | undefined;
|
|
721
756
|
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
722
757
|
readonly unstyled?: boolean | undefined;
|
|
723
|
-
readonly size?:
|
|
758
|
+
readonly size?: SizeTokens | undefined;
|
|
724
759
|
readonly active?: boolean | undefined;
|
|
725
760
|
readonly disabled?: boolean | undefined;
|
|
726
761
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
727
762
|
readonly fullscreen?: boolean | undefined;
|
|
728
|
-
readonly elevation?:
|
|
763
|
+
readonly elevation?: SizeTokens | undefined;
|
|
729
764
|
} & {
|
|
730
765
|
readonly backgrounded?: boolean | undefined;
|
|
731
766
|
readonly radiused?: boolean | undefined;
|
|
@@ -740,14 +775,14 @@ export declare const ListItem: import("@tamagui/core").ReactComponentWithRef<Omi
|
|
|
740
775
|
readonly chromeless?: boolean | "all" | undefined;
|
|
741
776
|
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
742
777
|
readonly unstyled?: boolean | undefined;
|
|
743
|
-
readonly size?:
|
|
778
|
+
readonly size?: SizeTokens | undefined;
|
|
744
779
|
readonly active?: boolean | undefined;
|
|
745
780
|
readonly disabled?: boolean | undefined;
|
|
746
|
-
}>>, "noTextWrap" | "color" | "fontWeight" | "fontSize" | "fontFamily" | "fontStyle" | "letterSpacing" | "textAlign" | "textProps" | "display" | "children" | "onLayout" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "hitSlop" | "id" | "pointerEvents" | "removeClippedSubviews" | "style" | "testID" | "nativeID" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-labelledby" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-live" | "aria-modal" | "role" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "elevation" | "gap" | "columnGap" | "rowGap" | "backgroundColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderBottomWidth" | "borderColor" | "borderEndColor" | "borderLeftColor" | "borderLeftWidth" | "borderRadius" | "borderRightColor" | "borderRightWidth" | "borderStartColor" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "borderTopWidth" | "borderWidth" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderEndWidth" | "borderStartWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "zIndex" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | "transparent" | "hoverTheme" | "pressTheme" | "focusTheme" | "elevate" | "bordered" | "circular" | "backgrounded" | "radiused" | "padded" | "chromeless" | "fullscreen" | `$${string}` | `$${number}` | "x" | "y" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "cursor" | "contain" | "userSelect" | "outlineColor" | "outlineStyle" | "outlineOffset" | "outlineWidth" | "theme" | "space" | "separator" | "onPress" | "onPressIn" | "onPressOut" | "disabled" | "target" | "asChild" | "spaceDirection" | "dangerouslySetInnerHTML" | "animation" | "animateOnly" | "debug" | "className" | "themeShallow" | "tag" | "componentName" | "tabIndex" | "forceStyle" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onScroll" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "rel" | "download" | "dataSet" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "href" | "hrefAttrs" | "elevationAndroid" | "
|
|
781
|
+
}>>, "noTextWrap" | "color" | "fontWeight" | "fontSize" | "fontFamily" | "fontStyle" | "letterSpacing" | "textAlign" | "textProps" | "display" | "children" | "onLayout" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "hitSlop" | "id" | "pointerEvents" | "removeClippedSubviews" | "style" | "testID" | "nativeID" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-labelledby" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-live" | "aria-modal" | "role" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "elevation" | "gap" | "columnGap" | "rowGap" | "backgroundColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderBottomWidth" | "borderColor" | "borderEndColor" | "borderLeftColor" | "borderLeftWidth" | "borderRadius" | "borderRightColor" | "borderRightWidth" | "borderStartColor" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "borderTopWidth" | "borderWidth" | "opacity" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderEndWidth" | "borderStartWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "zIndex" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | "transparent" | "hoverTheme" | "pressTheme" | "focusTheme" | "elevate" | "bordered" | "circular" | "backgrounded" | "radiused" | "padded" | "chromeless" | "fullscreen" | `$${string}` | `$${number}` | "x" | "y" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "cursor" | "contain" | "userSelect" | "outlineColor" | "outlineStyle" | "outlineOffset" | "outlineWidth" | "theme" | "space" | "separator" | "onPress" | "onPressIn" | "onPressOut" | "disabled" | "target" | "asChild" | "spaceDirection" | "dangerouslySetInnerHTML" | "animation" | "animateOnly" | "debug" | "className" | "themeShallow" | "tag" | "componentName" | "tabIndex" | "forceStyle" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onScroll" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "size" | "rel" | "download" | "dataSet" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "href" | "hrefAttrs" | "elevationAndroid" | "unstyled" | "active" | "themeInverse" | "themeReset" | "icon" | "iconAfter" | "scaleIcon" | "spaceFlex" | "scaleSpace" | "title" | "subTitle">, import("@tamagui/core").TamaguiElement> & {
|
|
747
782
|
staticConfig: import("@tamagui/core").StaticConfigParsed;
|
|
748
783
|
styleable: import("@tamagui/core").Styleable<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
749
784
|
readonly fullscreen?: boolean | undefined;
|
|
750
|
-
readonly elevation?:
|
|
785
|
+
readonly elevation?: SizeTokens | undefined;
|
|
751
786
|
} & {
|
|
752
787
|
readonly backgrounded?: boolean | undefined;
|
|
753
788
|
readonly radiused?: boolean | undefined;
|
|
@@ -762,12 +797,12 @@ export declare const ListItem: import("@tamagui/core").ReactComponentWithRef<Omi
|
|
|
762
797
|
readonly chromeless?: boolean | "all" | undefined;
|
|
763
798
|
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
764
799
|
readonly unstyled?: boolean | undefined;
|
|
765
|
-
readonly size?:
|
|
800
|
+
readonly size?: SizeTokens | undefined;
|
|
766
801
|
readonly active?: boolean | undefined;
|
|
767
802
|
readonly disabled?: boolean | undefined;
|
|
768
803
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
769
804
|
readonly fullscreen?: boolean | undefined;
|
|
770
|
-
readonly elevation?:
|
|
805
|
+
readonly elevation?: SizeTokens | undefined;
|
|
771
806
|
} & {
|
|
772
807
|
readonly backgrounded?: boolean | undefined;
|
|
773
808
|
readonly radiused?: boolean | undefined;
|
|
@@ -782,12 +817,12 @@ export declare const ListItem: import("@tamagui/core").ReactComponentWithRef<Omi
|
|
|
782
817
|
readonly chromeless?: boolean | "all" | undefined;
|
|
783
818
|
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
784
819
|
readonly unstyled?: boolean | undefined;
|
|
785
|
-
readonly size?:
|
|
820
|
+
readonly size?: SizeTokens | undefined;
|
|
786
821
|
readonly active?: boolean | undefined;
|
|
787
822
|
readonly disabled?: boolean | undefined;
|
|
788
823
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native/types").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native/types").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
789
824
|
readonly fullscreen?: boolean | undefined;
|
|
790
|
-
readonly elevation?:
|
|
825
|
+
readonly elevation?: SizeTokens | undefined;
|
|
791
826
|
} & {
|
|
792
827
|
readonly backgrounded?: boolean | undefined;
|
|
793
828
|
readonly radiused?: boolean | undefined;
|
|
@@ -802,10 +837,10 @@ export declare const ListItem: import("@tamagui/core").ReactComponentWithRef<Omi
|
|
|
802
837
|
readonly chromeless?: boolean | "all" | undefined;
|
|
803
838
|
}, "disabled" | "size" | "unstyled" | "active"> & {
|
|
804
839
|
readonly unstyled?: boolean | undefined;
|
|
805
|
-
readonly size?:
|
|
840
|
+
readonly size?: SizeTokens | undefined;
|
|
806
841
|
readonly active?: boolean | undefined;
|
|
807
842
|
readonly disabled?: boolean | undefined;
|
|
808
|
-
}>>, TamaguiElement>;
|
|
843
|
+
}>>, import("@tamagui/core").TamaguiElement>;
|
|
809
844
|
} & {
|
|
810
845
|
Text: import("@tamagui/core").TamaguiComponent<Omit<import("react-native/types").TextProps, "children" | ("onLayout" | keyof import("react-native/types").GestureResponderHandlers)> & import("@tamagui/core").ExtendsBaseTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
811
846
|
readonly size?: FontSizeTokens | undefined;
|
|
@@ -819,7 +854,7 @@ export declare const ListItem: import("@tamagui/core").ReactComponentWithRef<Omi
|
|
|
819
854
|
readonly size?: FontSizeTokens | undefined;
|
|
820
855
|
}, "unstyled"> & {
|
|
821
856
|
unstyled?: boolean | undefined;
|
|
822
|
-
}>>, TamaguiElement, import("@tamagui/core").TextPropsBase, {
|
|
857
|
+
}>>, import("@tamagui/core").TamaguiElement, import("@tamagui/core").TextPropsBase, {
|
|
823
858
|
readonly size?: FontSizeTokens | undefined;
|
|
824
859
|
} & {
|
|
825
860
|
unstyled?: boolean | undefined;
|
|
@@ -844,7 +879,7 @@ export declare const ListItem: import("@tamagui/core").ReactComponentWithRef<Omi
|
|
|
844
879
|
unstyled?: boolean | undefined;
|
|
845
880
|
}, "unstyled"> & {
|
|
846
881
|
readonly unstyled?: boolean | undefined;
|
|
847
|
-
}>>, TamaguiElement, import("@tamagui/core").TextPropsBase, {
|
|
882
|
+
}>>, import("@tamagui/core").TamaguiElement, import("@tamagui/core").TextPropsBase, {
|
|
848
883
|
readonly size?: FontSizeTokens | undefined;
|
|
849
884
|
} & {
|
|
850
885
|
unstyled?: boolean | undefined;
|
package/types/ListItem.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../src/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,QAAQ,
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../src/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,QAAQ,EACR,UAAU,EAEV,cAAc,EAMf,MAAM,eAAe,CAAA;AAItB,OAAO,EAAe,gBAAgB,EAAsB,MAAM,eAAe,CAAA;AACjF,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAEhD,KAAK,iBAAiB,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAC1D,KAAK,QAAQ,GAAG,GAAG,CAAC,OAAO,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAA;AAEzE,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,gBAAgB,EAAE,eAAe,GAAG,YAAY,CAAC,GAChF,QAAQ,CAAC,OAAO,aAAa,CAAC,GAC9B,cAAc,GAAG;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,CAAA;IACpB;;OAEG;IACH;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC5B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;CAC7B,CAAA;AAIH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;kCAgBR,UAAU;;;;;;;;;;;;;;;;;;;;;CAwBrB,CAAA;AAEV,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASxB,CAAA;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;EAkBvB,CAAA;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;EAiB3B,CAAA;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAExB,CAAA;AAEF,eAAO,MAAM,WAAW,UACf,aAAa;YAMV,GAAG;eACA,GAAG;WACP,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkFb,CAAA;AAUD,eAAO,MAAM,oBAAoB;;CAUhC,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAxPjB;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;IACH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;YACK,MAAM,SAAS;IACvB;;OAEG;eACQ,MAAM,SAAS;IAC1B;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0NL,CAAA"}
|