@tamagui/list-item 1.0.1-beta.132 → 1.0.1-beta.135
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/package.json +5 -5
- package/types/ListItem.d.ts +52 -20
- package/types/index.d.ts +0 -0
- package/types/Button.d.ts +0 -127
- package/types/useCurrentColor.d.ts +0 -5
- package/types/useGetThemedIcon.d.ts +0 -6
- package/types/wrapStringChildrenInText.d.ts +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/list-item",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.135",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
"watch": "tamagui-build --watch"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@tamagui/core": "^1.0.1-beta.
|
|
23
|
-
"@tamagui/font-size": "^1.0.1-beta.
|
|
24
|
-
"@tamagui/helpers-tamagui": "^1.0.1-beta.
|
|
22
|
+
"@tamagui/core": "^1.0.1-beta.135",
|
|
23
|
+
"@tamagui/font-size": "^1.0.1-beta.135",
|
|
24
|
+
"@tamagui/helpers-tamagui": "^1.0.1-beta.135"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": "*",
|
|
28
28
|
"react-dom": "*"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@tamagui/build": "^1.0.1-beta.
|
|
31
|
+
"@tamagui/build": "^1.0.1-beta.135",
|
|
32
32
|
"react": "*",
|
|
33
33
|
"react-dom": "*"
|
|
34
34
|
},
|
package/types/ListItem.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export declare const ListItemFrame: TamaguiComponent<Omit<import("react-native")
|
|
|
30
30
|
elevate?: boolean | undefined;
|
|
31
31
|
bordered?: number | boolean | undefined;
|
|
32
32
|
transparent?: boolean | undefined;
|
|
33
|
-
chromeless?: boolean | undefined;
|
|
33
|
+
chromeless?: boolean | "all" | undefined;
|
|
34
34
|
}, "disabled" | "size" | "active"> & {
|
|
35
35
|
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
36
36
|
active?: boolean | undefined;
|
|
@@ -50,7 +50,7 @@ export declare const ListItemFrame: TamaguiComponent<Omit<import("react-native")
|
|
|
50
50
|
elevate?: boolean | undefined;
|
|
51
51
|
bordered?: number | boolean | undefined;
|
|
52
52
|
transparent?: boolean | undefined;
|
|
53
|
-
chromeless?: boolean | undefined;
|
|
53
|
+
chromeless?: boolean | "all" | undefined;
|
|
54
54
|
}, "disabled" | "size" | "active"> & {
|
|
55
55
|
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
56
56
|
active?: boolean | undefined;
|
|
@@ -70,7 +70,7 @@ export declare const ListItemFrame: TamaguiComponent<Omit<import("react-native")
|
|
|
70
70
|
elevate?: boolean | undefined;
|
|
71
71
|
bordered?: number | boolean | undefined;
|
|
72
72
|
transparent?: boolean | undefined;
|
|
73
|
-
chromeless?: boolean | undefined;
|
|
73
|
+
chromeless?: boolean | "all" | undefined;
|
|
74
74
|
}, "disabled" | "size" | "active"> & {
|
|
75
75
|
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
76
76
|
active?: boolean | undefined;
|
|
@@ -90,7 +90,7 @@ export declare const ListItemFrame: TamaguiComponent<Omit<import("react-native")
|
|
|
90
90
|
elevate?: boolean | undefined;
|
|
91
91
|
bordered?: number | boolean | undefined;
|
|
92
92
|
transparent?: boolean | undefined;
|
|
93
|
-
chromeless?: boolean | undefined;
|
|
93
|
+
chromeless?: boolean | "all" | undefined;
|
|
94
94
|
} & {
|
|
95
95
|
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
96
96
|
active?: boolean | undefined;
|
|
@@ -116,7 +116,9 @@ export declare const ListItemText: TamaguiComponent<(Omit<import("react-native")
|
|
|
116
116
|
[x: string]: undefined;
|
|
117
117
|
}>>), any, import("@tamagui/core").TextPropsBase, {
|
|
118
118
|
size?: FontSizeTokens | undefined;
|
|
119
|
-
}
|
|
119
|
+
} | ({
|
|
120
|
+
size?: FontSizeTokens | undefined;
|
|
121
|
+
} & {
|
|
120
122
|
[x: string]: undefined;
|
|
121
123
|
})>;
|
|
122
124
|
export declare const ListItemSubtitle: TamaguiComponent<(Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{}, "size"> & {
|
|
@@ -139,43 +141,57 @@ export declare const ListItemSubtitle: TamaguiComponent<(Omit<import("react-nati
|
|
|
139
141
|
[x: string]: undefined;
|
|
140
142
|
}>>) | (Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{
|
|
141
143
|
size?: FontSizeTokens | undefined;
|
|
142
|
-
}
|
|
144
|
+
} | ({
|
|
145
|
+
size?: FontSizeTokens | undefined;
|
|
146
|
+
} & {
|
|
143
147
|
[x: string]: undefined;
|
|
144
148
|
}), string | number> & {
|
|
145
149
|
[x: string]: undefined;
|
|
146
150
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{
|
|
147
151
|
size?: FontSizeTokens | undefined;
|
|
148
|
-
}
|
|
152
|
+
} | ({
|
|
153
|
+
size?: FontSizeTokens | undefined;
|
|
154
|
+
} & {
|
|
149
155
|
[x: string]: undefined;
|
|
150
156
|
}), string | number> & {
|
|
151
157
|
[x: string]: undefined;
|
|
152
158
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{
|
|
153
159
|
size?: FontSizeTokens | undefined;
|
|
154
|
-
}
|
|
160
|
+
} | ({
|
|
161
|
+
size?: FontSizeTokens | undefined;
|
|
162
|
+
} & {
|
|
155
163
|
[x: string]: undefined;
|
|
156
164
|
}), string | number> & {
|
|
157
165
|
[x: string]: undefined;
|
|
158
166
|
}>>) | (Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{
|
|
159
167
|
size?: FontSizeTokens | undefined;
|
|
160
|
-
}
|
|
168
|
+
} | ({
|
|
169
|
+
size?: FontSizeTokens | undefined;
|
|
170
|
+
} & {
|
|
161
171
|
[x: string]: undefined;
|
|
162
172
|
}), string | number> & {
|
|
163
173
|
[x: string]: undefined;
|
|
164
174
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{
|
|
165
175
|
size?: FontSizeTokens | undefined;
|
|
166
|
-
}
|
|
176
|
+
} | ({
|
|
177
|
+
size?: FontSizeTokens | undefined;
|
|
178
|
+
} & {
|
|
167
179
|
[x: string]: undefined;
|
|
168
180
|
}), string | number> & {
|
|
169
181
|
[x: string]: undefined;
|
|
170
182
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{
|
|
171
183
|
size?: FontSizeTokens | undefined;
|
|
172
|
-
}
|
|
184
|
+
} | ({
|
|
185
|
+
size?: FontSizeTokens | undefined;
|
|
186
|
+
} & {
|
|
173
187
|
[x: string]: undefined;
|
|
174
188
|
}), string | number> & {
|
|
175
189
|
[x: string]: undefined;
|
|
176
190
|
}>>), any, import("@tamagui/core").TextPropsBase, ({
|
|
177
191
|
size?: FontSizeTokens | undefined;
|
|
178
|
-
}
|
|
192
|
+
} | ({
|
|
193
|
+
size?: FontSizeTokens | undefined;
|
|
194
|
+
} & {
|
|
179
195
|
[x: string]: undefined;
|
|
180
196
|
})) & ({} | {
|
|
181
197
|
[x: string]: undefined;
|
|
@@ -206,7 +222,9 @@ export declare const ListItem: import("@tamagui/core").ReactComponentWithRef<Lis
|
|
|
206
222
|
[x: string]: undefined;
|
|
207
223
|
}>>), any, import("@tamagui/core").TextPropsBase, {
|
|
208
224
|
size?: FontSizeTokens | undefined;
|
|
209
|
-
}
|
|
225
|
+
} | ({
|
|
226
|
+
size?: FontSizeTokens | undefined;
|
|
227
|
+
} & {
|
|
210
228
|
[x: string]: undefined;
|
|
211
229
|
})>;
|
|
212
230
|
Subtitle: TamaguiComponent<(Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{}, "size"> & {
|
|
@@ -229,43 +247,57 @@ export declare const ListItem: import("@tamagui/core").ReactComponentWithRef<Lis
|
|
|
229
247
|
[x: string]: undefined;
|
|
230
248
|
}>>) | (Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{
|
|
231
249
|
size?: FontSizeTokens | undefined;
|
|
232
|
-
}
|
|
250
|
+
} | ({
|
|
251
|
+
size?: FontSizeTokens | undefined;
|
|
252
|
+
} & {
|
|
233
253
|
[x: string]: undefined;
|
|
234
254
|
}), string | number> & {
|
|
235
255
|
[x: string]: undefined;
|
|
236
256
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{
|
|
237
257
|
size?: FontSizeTokens | undefined;
|
|
238
|
-
}
|
|
258
|
+
} | ({
|
|
259
|
+
size?: FontSizeTokens | undefined;
|
|
260
|
+
} & {
|
|
239
261
|
[x: string]: undefined;
|
|
240
262
|
}), string | number> & {
|
|
241
263
|
[x: string]: undefined;
|
|
242
264
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{
|
|
243
265
|
size?: FontSizeTokens | undefined;
|
|
244
|
-
}
|
|
266
|
+
} | ({
|
|
267
|
+
size?: FontSizeTokens | undefined;
|
|
268
|
+
} & {
|
|
245
269
|
[x: string]: undefined;
|
|
246
270
|
}), string | number> & {
|
|
247
271
|
[x: string]: undefined;
|
|
248
272
|
}>>) | (Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{
|
|
249
273
|
size?: FontSizeTokens | undefined;
|
|
250
|
-
}
|
|
274
|
+
} | ({
|
|
275
|
+
size?: FontSizeTokens | undefined;
|
|
276
|
+
} & {
|
|
251
277
|
[x: string]: undefined;
|
|
252
278
|
}), string | number> & {
|
|
253
279
|
[x: string]: undefined;
|
|
254
280
|
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{
|
|
255
281
|
size?: FontSizeTokens | undefined;
|
|
256
|
-
}
|
|
282
|
+
} | ({
|
|
283
|
+
size?: FontSizeTokens | undefined;
|
|
284
|
+
} & {
|
|
257
285
|
[x: string]: undefined;
|
|
258
286
|
}), string | number> & {
|
|
259
287
|
[x: string]: undefined;
|
|
260
288
|
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{
|
|
261
289
|
size?: FontSizeTokens | undefined;
|
|
262
|
-
}
|
|
290
|
+
} | ({
|
|
291
|
+
size?: FontSizeTokens | undefined;
|
|
292
|
+
} & {
|
|
263
293
|
[x: string]: undefined;
|
|
264
294
|
}), string | number> & {
|
|
265
295
|
[x: string]: undefined;
|
|
266
296
|
}>>), any, import("@tamagui/core").TextPropsBase, ({
|
|
267
297
|
size?: FontSizeTokens | undefined;
|
|
268
|
-
}
|
|
298
|
+
} | ({
|
|
299
|
+
size?: FontSizeTokens | undefined;
|
|
300
|
+
} & {
|
|
269
301
|
[x: string]: undefined;
|
|
270
302
|
})) & ({} | {
|
|
271
303
|
[x: string]: undefined;
|
package/types/index.d.ts
CHANGED
|
File without changes
|
package/types/Button.d.ts
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { GetProps, ReactComponentWithRef, ThemeableProps } from '@tamagui/core';
|
|
2
|
-
import { SizableTextProps } from '@tamagui/text';
|
|
3
|
-
import { FunctionComponent } from 'react';
|
|
4
|
-
import { View } from 'react-native';
|
|
5
|
-
declare type ButtonIconProps = {
|
|
6
|
-
color?: string;
|
|
7
|
-
size?: number;
|
|
8
|
-
};
|
|
9
|
-
declare type IconProp = JSX.Element | FunctionComponent<ButtonIconProps> | null;
|
|
10
|
-
export declare type ButtonProps = GetProps<typeof ButtonFrame> & ThemeableProps & {
|
|
11
|
-
icon?: IconProp;
|
|
12
|
-
iconAfter?: IconProp;
|
|
13
|
-
scaleIcon?: number;
|
|
14
|
-
noTextWrap?: boolean;
|
|
15
|
-
spaceFlex?: number | boolean;
|
|
16
|
-
scaleSpace?: number;
|
|
17
|
-
color?: SizableTextProps['color'];
|
|
18
|
-
fontWeight?: SizableTextProps['fontWeight'];
|
|
19
|
-
fontSize?: SizableTextProps['fontSize'];
|
|
20
|
-
fontFamily?: SizableTextProps['fontFamily'];
|
|
21
|
-
letterSpacing?: SizableTextProps['letterSpacing'];
|
|
22
|
-
textAlign?: SizableTextProps['textAlign'];
|
|
23
|
-
textProps?: Partial<SizableTextProps>;
|
|
24
|
-
};
|
|
25
|
-
declare const ButtonFrame: import("@tamagui/core").TamaguiComponent<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
26
|
-
fullscreen?: boolean | undefined;
|
|
27
|
-
elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
28
|
-
} & {
|
|
29
|
-
fontFamily?: unknown;
|
|
30
|
-
backgrounded?: boolean | undefined;
|
|
31
|
-
hoverable?: boolean | undefined;
|
|
32
|
-
pressable?: boolean | undefined;
|
|
33
|
-
focusable?: boolean | undefined;
|
|
34
|
-
circular?: boolean | undefined;
|
|
35
|
-
pad?: boolean | undefined;
|
|
36
|
-
elevate?: boolean | undefined;
|
|
37
|
-
bordered?: number | boolean | undefined;
|
|
38
|
-
transparent?: boolean | undefined;
|
|
39
|
-
chromeless?: boolean | undefined;
|
|
40
|
-
}, "disabled" | "size" | "active"> & {
|
|
41
|
-
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
42
|
-
active?: boolean | undefined;
|
|
43
|
-
disabled?: boolean | undefined;
|
|
44
|
-
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
45
|
-
fullscreen?: boolean | undefined;
|
|
46
|
-
elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
47
|
-
} & {
|
|
48
|
-
fontFamily?: unknown;
|
|
49
|
-
backgrounded?: boolean | undefined;
|
|
50
|
-
hoverable?: boolean | undefined;
|
|
51
|
-
pressable?: boolean | undefined;
|
|
52
|
-
focusable?: boolean | undefined;
|
|
53
|
-
circular?: boolean | undefined;
|
|
54
|
-
pad?: boolean | undefined;
|
|
55
|
-
elevate?: boolean | undefined;
|
|
56
|
-
bordered?: number | boolean | undefined;
|
|
57
|
-
transparent?: boolean | undefined;
|
|
58
|
-
chromeless?: boolean | undefined;
|
|
59
|
-
}, "disabled" | "size" | "active"> & {
|
|
60
|
-
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
61
|
-
active?: boolean | undefined;
|
|
62
|
-
disabled?: boolean | undefined;
|
|
63
|
-
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
64
|
-
fullscreen?: boolean | undefined;
|
|
65
|
-
elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
66
|
-
} & {
|
|
67
|
-
fontFamily?: unknown;
|
|
68
|
-
backgrounded?: boolean | undefined;
|
|
69
|
-
hoverable?: boolean | undefined;
|
|
70
|
-
pressable?: boolean | undefined;
|
|
71
|
-
focusable?: boolean | undefined;
|
|
72
|
-
circular?: boolean | undefined;
|
|
73
|
-
pad?: boolean | undefined;
|
|
74
|
-
elevate?: boolean | undefined;
|
|
75
|
-
bordered?: number | boolean | undefined;
|
|
76
|
-
transparent?: boolean | undefined;
|
|
77
|
-
chromeless?: boolean | undefined;
|
|
78
|
-
}, "disabled" | "size" | "active"> & {
|
|
79
|
-
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
80
|
-
active?: boolean | undefined;
|
|
81
|
-
disabled?: boolean | undefined;
|
|
82
|
-
}>>, any, import("@tamagui/core").StackPropsBase, {
|
|
83
|
-
fullscreen?: boolean | undefined;
|
|
84
|
-
elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
85
|
-
} & {
|
|
86
|
-
fontFamily?: unknown;
|
|
87
|
-
backgrounded?: boolean | undefined;
|
|
88
|
-
hoverable?: boolean | undefined;
|
|
89
|
-
pressable?: boolean | undefined;
|
|
90
|
-
focusable?: boolean | undefined;
|
|
91
|
-
circular?: boolean | undefined;
|
|
92
|
-
pad?: boolean | undefined;
|
|
93
|
-
elevate?: boolean | undefined;
|
|
94
|
-
bordered?: number | boolean | undefined;
|
|
95
|
-
transparent?: boolean | undefined;
|
|
96
|
-
chromeless?: boolean | undefined;
|
|
97
|
-
} & {
|
|
98
|
-
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
99
|
-
active?: boolean | undefined;
|
|
100
|
-
disabled?: boolean | undefined;
|
|
101
|
-
}>;
|
|
102
|
-
export declare const ButtonText: import("@tamagui/core").TamaguiComponent<(Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{}, "size"> & {
|
|
103
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
104
|
-
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{}, "size"> & {
|
|
105
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
106
|
-
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{}, "size"> & {
|
|
107
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
108
|
-
}>>) | (Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{
|
|
109
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
110
|
-
}, string | number> & {
|
|
111
|
-
[x: string]: undefined;
|
|
112
|
-
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{
|
|
113
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
114
|
-
}, string | number> & {
|
|
115
|
-
[x: string]: undefined;
|
|
116
|
-
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & 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<{
|
|
117
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
118
|
-
}, string | number> & {
|
|
119
|
-
[x: string]: undefined;
|
|
120
|
-
}>>), any, import("@tamagui/core").TextPropsBase, {
|
|
121
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
122
|
-
} & ({} | {
|
|
123
|
-
[x: string]: undefined;
|
|
124
|
-
})>;
|
|
125
|
-
export declare const Button: ReactComponentWithRef<ButtonProps, HTMLButtonElement | View>;
|
|
126
|
-
export {};
|
|
127
|
-
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ColorTokens, ThemeValueFallback } from '@tamagui/core';
|
|
2
|
-
import { TextStyle } from 'react-native';
|
|
3
|
-
export declare const useCurrentColor: (colorProp: ColorProp) => any;
|
|
4
|
-
export declare type ColorProp = ThemeValueFallback | ColorTokens | TextStyle['color'] | undefined;
|
|
5
|
-
//# sourceMappingURL=useCurrentColor.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SizeTokens } from '@tamagui/core';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { TextOnlyStyles } from './ListItem';
|
|
4
|
-
export declare function wrapStringChildrenInText({ children, textProps, size, noTextWrap, ...directTextProps }: TextOnlyStyles & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
size?: SizeTokens;
|
|
7
|
-
}): React.ReactNode;
|
|
8
|
-
//# sourceMappingURL=wrapStringChildrenInText.d.ts.map
|