@tamagui/button 1.0.1-beta.99 → 1.0.1-rc.0
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/Button.js +60 -79
- package/dist/cjs/Button.js.map +3 -3
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/Button.js +60 -80
- package/dist/esm/Button.js.map +3 -3
- package/dist/esm/index.js +0 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/jsx/Button.js +49 -22
- package/dist/jsx/Button.js.map +3 -3
- package/dist/jsx/index.js +0 -0
- package/dist/jsx/index.js.map +1 -1
- package/package.json +20 -10
- package/src/Button.tsx +103 -67
- package/types/Button.d.ts +524 -72
- package/types/index.d.ts +0 -0
- package/types/Button.d.ts.map +0 -1
- package/types/index.d.ts.map +0 -1
package/types/Button.d.ts
CHANGED
|
@@ -1,124 +1,576 @@
|
|
|
1
|
-
import { GetProps,
|
|
2
|
-
import { TextParentStyles } from '@tamagui/
|
|
1
|
+
import { GetProps, TamaguiElement, ThemeableProps } from '@tamagui/core';
|
|
2
|
+
import { TextParentStyles } from '@tamagui/text';
|
|
3
3
|
import { FunctionComponent } from 'react';
|
|
4
|
-
import { View } from 'react-native';
|
|
5
4
|
declare type ButtonIconProps = {
|
|
6
5
|
color?: string;
|
|
7
6
|
size?: number;
|
|
8
7
|
};
|
|
9
8
|
declare type IconProp = JSX.Element | FunctionComponent<ButtonIconProps> | null;
|
|
10
9
|
export declare type ButtonProps = Omit<TextParentStyles, 'TextComponent'> & GetProps<typeof ButtonFrame> & ThemeableProps & {
|
|
10
|
+
/**
|
|
11
|
+
* add icon before, passes color and size automatically if Component
|
|
12
|
+
*/
|
|
11
13
|
icon?: IconProp;
|
|
14
|
+
/**
|
|
15
|
+
* add icon after, passes color and size automatically if Component
|
|
16
|
+
*/
|
|
12
17
|
iconAfter?: IconProp;
|
|
18
|
+
/**
|
|
19
|
+
* adjust icon relative to size
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* default: -1
|
|
23
|
+
*/
|
|
13
24
|
scaleIcon?: number;
|
|
14
|
-
|
|
25
|
+
/**
|
|
26
|
+
* make the spacing elements flex
|
|
27
|
+
*/
|
|
15
28
|
spaceFlex?: number | boolean;
|
|
29
|
+
/**
|
|
30
|
+
* adjust internal space relative to icon size
|
|
31
|
+
*/
|
|
16
32
|
scaleSpace?: number;
|
|
17
33
|
};
|
|
18
|
-
export declare const ButtonFrame: 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<{
|
|
34
|
+
export declare const ButtonFrame: import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/types-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<{
|
|
19
35
|
readonly fullscreen?: boolean | undefined;
|
|
20
36
|
readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
21
37
|
} & {
|
|
22
|
-
fontFamily?: unknown;
|
|
23
|
-
backgrounded?: boolean | undefined;
|
|
24
|
-
radiused?: boolean | undefined;
|
|
25
|
-
hoverTheme?: boolean | undefined;
|
|
26
|
-
pressTheme?: boolean | undefined;
|
|
27
|
-
focusTheme?: boolean | undefined;
|
|
28
|
-
circular?: boolean | undefined;
|
|
29
|
-
padded?: boolean | undefined;
|
|
30
|
-
elevate?: boolean | undefined;
|
|
31
|
-
bordered?: number | boolean | undefined;
|
|
32
|
-
transparent?: boolean | undefined;
|
|
33
|
-
chromeless?: boolean | undefined;
|
|
38
|
+
readonly fontFamily?: unknown;
|
|
39
|
+
readonly backgrounded?: boolean | undefined;
|
|
40
|
+
readonly radiused?: boolean | undefined;
|
|
41
|
+
readonly hoverTheme?: boolean | undefined;
|
|
42
|
+
readonly pressTheme?: boolean | undefined;
|
|
43
|
+
readonly focusTheme?: boolean | undefined;
|
|
44
|
+
readonly circular?: boolean | undefined;
|
|
45
|
+
readonly padded?: boolean | undefined;
|
|
46
|
+
readonly elevate?: boolean | undefined;
|
|
47
|
+
readonly bordered?: number | boolean | undefined;
|
|
48
|
+
readonly transparent?: boolean | undefined;
|
|
49
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
34
50
|
}, "disabled" | "size" | "active"> & {
|
|
35
51
|
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
36
52
|
readonly active?: boolean | undefined;
|
|
37
53
|
readonly disabled?: boolean | undefined;
|
|
38
|
-
} & 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<{
|
|
54
|
+
} & import("@tamagui/core").MediaProps<Partial<Omit<import("@tamagui/types-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<{
|
|
39
55
|
readonly fullscreen?: boolean | undefined;
|
|
40
56
|
readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
41
57
|
} & {
|
|
42
|
-
fontFamily?: unknown;
|
|
43
|
-
backgrounded?: boolean | undefined;
|
|
44
|
-
radiused?: boolean | undefined;
|
|
45
|
-
hoverTheme?: boolean | undefined;
|
|
46
|
-
pressTheme?: boolean | undefined;
|
|
47
|
-
focusTheme?: boolean | undefined;
|
|
48
|
-
circular?: boolean | undefined;
|
|
49
|
-
padded?: boolean | undefined;
|
|
50
|
-
elevate?: boolean | undefined;
|
|
51
|
-
bordered?: number | boolean | undefined;
|
|
52
|
-
transparent?: boolean | undefined;
|
|
53
|
-
chromeless?: boolean | undefined;
|
|
58
|
+
readonly fontFamily?: unknown;
|
|
59
|
+
readonly backgrounded?: boolean | undefined;
|
|
60
|
+
readonly radiused?: boolean | undefined;
|
|
61
|
+
readonly hoverTheme?: boolean | undefined;
|
|
62
|
+
readonly pressTheme?: boolean | undefined;
|
|
63
|
+
readonly focusTheme?: boolean | undefined;
|
|
64
|
+
readonly circular?: boolean | undefined;
|
|
65
|
+
readonly padded?: boolean | undefined;
|
|
66
|
+
readonly elevate?: boolean | undefined;
|
|
67
|
+
readonly bordered?: number | boolean | undefined;
|
|
68
|
+
readonly transparent?: boolean | undefined;
|
|
69
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
54
70
|
}, "disabled" | "size" | "active"> & {
|
|
55
71
|
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
56
72
|
readonly active?: boolean | undefined;
|
|
57
73
|
readonly disabled?: boolean | undefined;
|
|
58
|
-
}>> & 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<{
|
|
74
|
+
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("@tamagui/types-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<{
|
|
59
75
|
readonly fullscreen?: boolean | undefined;
|
|
60
76
|
readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
61
77
|
} & {
|
|
62
|
-
fontFamily?: unknown;
|
|
63
|
-
backgrounded?: boolean | undefined;
|
|
64
|
-
radiused?: boolean | undefined;
|
|
65
|
-
hoverTheme?: boolean | undefined;
|
|
66
|
-
pressTheme?: boolean | undefined;
|
|
67
|
-
focusTheme?: boolean | undefined;
|
|
68
|
-
circular?: boolean | undefined;
|
|
69
|
-
padded?: boolean | undefined;
|
|
70
|
-
elevate?: boolean | undefined;
|
|
71
|
-
bordered?: number | boolean | undefined;
|
|
72
|
-
transparent?: boolean | undefined;
|
|
73
|
-
chromeless?: boolean | undefined;
|
|
78
|
+
readonly fontFamily?: unknown;
|
|
79
|
+
readonly backgrounded?: boolean | undefined;
|
|
80
|
+
readonly radiused?: boolean | undefined;
|
|
81
|
+
readonly hoverTheme?: boolean | undefined;
|
|
82
|
+
readonly pressTheme?: boolean | undefined;
|
|
83
|
+
readonly focusTheme?: boolean | undefined;
|
|
84
|
+
readonly circular?: boolean | undefined;
|
|
85
|
+
readonly padded?: boolean | undefined;
|
|
86
|
+
readonly elevate?: boolean | undefined;
|
|
87
|
+
readonly bordered?: number | boolean | undefined;
|
|
88
|
+
readonly transparent?: boolean | undefined;
|
|
89
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
74
90
|
}, "disabled" | "size" | "active"> & {
|
|
75
91
|
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
76
92
|
readonly active?: boolean | undefined;
|
|
77
93
|
readonly disabled?: boolean | undefined;
|
|
78
|
-
}>>,
|
|
94
|
+
}>>, TamaguiElement, import("@tamagui/core").StackPropsBase, {
|
|
79
95
|
readonly fullscreen?: boolean | undefined;
|
|
80
96
|
readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
81
97
|
} & {
|
|
82
|
-
fontFamily?: unknown;
|
|
83
|
-
backgrounded?: boolean | undefined;
|
|
84
|
-
radiused?: boolean | undefined;
|
|
85
|
-
hoverTheme?: boolean | undefined;
|
|
86
|
-
pressTheme?: boolean | undefined;
|
|
87
|
-
focusTheme?: boolean | undefined;
|
|
88
|
-
circular?: boolean | undefined;
|
|
89
|
-
padded?: boolean | undefined;
|
|
90
|
-
elevate?: boolean | undefined;
|
|
91
|
-
bordered?: number | boolean | undefined;
|
|
92
|
-
transparent?: boolean | undefined;
|
|
93
|
-
chromeless?: boolean | undefined;
|
|
98
|
+
readonly fontFamily?: unknown;
|
|
99
|
+
readonly backgrounded?: boolean | undefined;
|
|
100
|
+
readonly radiused?: boolean | undefined;
|
|
101
|
+
readonly hoverTheme?: boolean | undefined;
|
|
102
|
+
readonly pressTheme?: boolean | undefined;
|
|
103
|
+
readonly focusTheme?: boolean | undefined;
|
|
104
|
+
readonly circular?: boolean | undefined;
|
|
105
|
+
readonly padded?: boolean | undefined;
|
|
106
|
+
readonly elevate?: boolean | undefined;
|
|
107
|
+
readonly bordered?: number | boolean | undefined;
|
|
108
|
+
readonly transparent?: boolean | undefined;
|
|
109
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
94
110
|
} & {
|
|
95
111
|
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
96
112
|
readonly active?: boolean | undefined;
|
|
97
113
|
readonly disabled?: boolean | undefined;
|
|
98
114
|
}>;
|
|
99
|
-
export declare const ButtonText: 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"> & {
|
|
100
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
101
|
-
} & 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"> & {
|
|
102
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}>>
|
|
106
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
115
|
+
export declare const ButtonText: import("@tamagui/core").TamaguiComponent<(Omit<import("@tamagui/types-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"> & {
|
|
116
|
+
readonly size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
117
|
+
} & import("@tamagui/core").MediaProps<Partial<Omit<import("@tamagui/types-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"> & {
|
|
118
|
+
readonly size?: import("@tamagui/core").FontSizeTokens | undefined; /**
|
|
119
|
+
* default: -1
|
|
120
|
+
*/
|
|
121
|
+
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("@tamagui/types-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"> & {
|
|
122
|
+
readonly size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
123
|
+
}>>) | (Omit<import("@tamagui/types-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<{
|
|
124
|
+
readonly size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
107
125
|
}, string | number> & {
|
|
108
126
|
[x: string]: undefined;
|
|
109
|
-
} & 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<{
|
|
110
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
127
|
+
} & import("@tamagui/core").MediaProps<Partial<Omit<import("@tamagui/types-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<{
|
|
128
|
+
readonly size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
111
129
|
}, string | number> & {
|
|
112
130
|
[x: string]: undefined;
|
|
113
|
-
}>> & 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<{
|
|
114
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
131
|
+
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("@tamagui/types-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<{
|
|
132
|
+
readonly size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
115
133
|
}, string | number> & {
|
|
116
134
|
[x: string]: undefined;
|
|
117
|
-
}>>),
|
|
118
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
119
|
-
}
|
|
135
|
+
}>>), TamaguiElement, import("@tamagui/core").TextPropsBase, {
|
|
136
|
+
readonly size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
137
|
+
} | ({
|
|
138
|
+
readonly size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
139
|
+
} & {
|
|
120
140
|
[x: string]: undefined;
|
|
121
141
|
})>;
|
|
122
|
-
export declare
|
|
142
|
+
export declare function useButton(props: ButtonProps, { Text }?: {
|
|
143
|
+
Text: any;
|
|
144
|
+
}): {
|
|
145
|
+
spaceSize: number;
|
|
146
|
+
isNested: boolean;
|
|
147
|
+
props: {
|
|
148
|
+
children: string | number | boolean | any[] | JSX.Element | import("react").ReactFragment | null | undefined;
|
|
149
|
+
hitSlop?: import("@tamagui/types-react-native").Insets | (import("@tamagui/types-react-native").Insets & number) | undefined;
|
|
150
|
+
onLayout?: ((event: import("@tamagui/types-react-native").LayoutChangeEvent) => void) | undefined;
|
|
151
|
+
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined;
|
|
152
|
+
removeClippedSubviews?: boolean | undefined;
|
|
153
|
+
style?: import("@tamagui/types-react-native").StyleProp<import("@tamagui/types-react-native").ViewStyle>;
|
|
154
|
+
testID?: string | undefined;
|
|
155
|
+
nativeID?: string | undefined;
|
|
156
|
+
collapsable?: boolean | undefined;
|
|
157
|
+
needsOffscreenAlphaCompositing?: boolean | undefined;
|
|
158
|
+
renderToHardwareTextureAndroid?: boolean | undefined;
|
|
159
|
+
focusable?: boolean | undefined;
|
|
160
|
+
shouldRasterizeIOS?: boolean | undefined;
|
|
161
|
+
isTVSelectable?: boolean | undefined;
|
|
162
|
+
hasTVPreferredFocus?: boolean | undefined;
|
|
163
|
+
tvParallaxProperties?: import("@tamagui/types-react-native").TVParallaxProperties | undefined;
|
|
164
|
+
tvParallaxShiftDistanceX?: number | undefined;
|
|
165
|
+
tvParallaxShiftDistanceY?: number | undefined;
|
|
166
|
+
tvParallaxTiltAngle?: number | undefined;
|
|
167
|
+
tvParallaxMagnification?: number | undefined;
|
|
168
|
+
onStartShouldSetResponder?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => boolean) | undefined;
|
|
169
|
+
onMoveShouldSetResponder?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => boolean) | undefined;
|
|
170
|
+
onResponderEnd?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
171
|
+
onResponderGrant?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
172
|
+
onResponderReject?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
173
|
+
onResponderMove?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
174
|
+
onResponderRelease?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
175
|
+
onResponderStart?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
176
|
+
onResponderTerminationRequest?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => boolean) | undefined;
|
|
177
|
+
onResponderTerminate?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
178
|
+
onStartShouldSetResponderCapture?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => boolean) | undefined;
|
|
179
|
+
onMoveShouldSetResponderCapture?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => boolean) | undefined;
|
|
180
|
+
onTouchStart?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
181
|
+
onTouchMove?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
182
|
+
onTouchEnd?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
183
|
+
onTouchCancel?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
184
|
+
onTouchEndCapture?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
185
|
+
onPointerEnter?: ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
186
|
+
onPointerEnterCapture?: ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
187
|
+
onPointerLeave?: ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
188
|
+
onPointerLeaveCapture?: ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
189
|
+
onPointerMove?: ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
190
|
+
onPointerMoveCapture?: ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
191
|
+
onPointerCancel?: ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
192
|
+
onPointerCancelCapture?: ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
193
|
+
onPointerDown?: ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
194
|
+
onPointerDownCapture?: ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
195
|
+
onPointerUp?: ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
196
|
+
onPointerUpCapture?: ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
197
|
+
accessible?: boolean | undefined;
|
|
198
|
+
accessibilityActions?: readonly Readonly<{
|
|
199
|
+
name: string;
|
|
200
|
+
label?: string | undefined;
|
|
201
|
+
}>[] | undefined;
|
|
202
|
+
accessibilityLabel?: string | undefined;
|
|
203
|
+
accessibilityRole?: "none" | "button" | "link" | "search" | "image" | "keyboardkey" | "text" | "adjustable" | "imagebutton" | "header" | "summary" | "list" | undefined;
|
|
204
|
+
accessibilityState?: import("@tamagui/types-react-native").AccessibilityState | undefined;
|
|
205
|
+
accessibilityHint?: string | undefined;
|
|
206
|
+
accessibilityValue?: import("@tamagui/types-react-native").AccessibilityValue | undefined;
|
|
207
|
+
onAccessibilityAction?: ((event: import("@tamagui/types-react-native").AccessibilityActionEvent) => void) | undefined;
|
|
208
|
+
accessibilityLabelledBy?: string | string[] | undefined;
|
|
209
|
+
accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined;
|
|
210
|
+
importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants" | undefined;
|
|
211
|
+
accessibilityElementsHidden?: boolean | undefined;
|
|
212
|
+
accessibilityLanguage?: string | undefined;
|
|
213
|
+
accessibilityViewIsModal?: boolean | undefined;
|
|
214
|
+
onAccessibilityEscape?: (() => void) | undefined;
|
|
215
|
+
onAccessibilityTap?: (() => void) | undefined;
|
|
216
|
+
onMagicTap?: (() => void) | undefined;
|
|
217
|
+
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
218
|
+
dataSet?: any;
|
|
219
|
+
target?: any;
|
|
220
|
+
rel?: any;
|
|
221
|
+
download?: any;
|
|
222
|
+
href?: string | undefined;
|
|
223
|
+
hrefAttrs?: {
|
|
224
|
+
target?: "top" | "_blank" | "_self" | "_top" | "blank" | "self" | undefined;
|
|
225
|
+
rel?: string | undefined;
|
|
226
|
+
download?: boolean | undefined;
|
|
227
|
+
} | undefined;
|
|
228
|
+
onMouseDown?: (((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) & import("react").MouseEventHandler<HTMLDivElement>) | undefined;
|
|
229
|
+
onMouseUp?: ((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
|
|
230
|
+
onMouseEnter?: (((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) & import("react").MouseEventHandler<HTMLDivElement>) | undefined;
|
|
231
|
+
onMouseLeave?: (((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) & import("react").MouseEventHandler<HTMLDivElement>) | undefined;
|
|
232
|
+
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
233
|
+
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
234
|
+
onScrollShouldSetResponder?: unknown;
|
|
235
|
+
onScrollShouldSetResponderCapture?: unknown;
|
|
236
|
+
onSelectionChangeShouldSetResponder?: unknown;
|
|
237
|
+
onSelectionChangeShouldSetResponderCapture?: unknown;
|
|
238
|
+
asChild?: boolean | undefined;
|
|
239
|
+
spaceDirection?: import("@tamagui/core").SpaceDirection | undefined;
|
|
240
|
+
dangerouslySetInnerHTML?: {
|
|
241
|
+
__html: string; /**
|
|
242
|
+
* adjust internal space relative to icon size
|
|
243
|
+
*/
|
|
244
|
+
} | undefined;
|
|
245
|
+
animation?: import("@tamagui/core").AnimationProp | undefined;
|
|
246
|
+
animateOnly?: string[] | undefined;
|
|
247
|
+
debug?: boolean | "verbose" | undefined;
|
|
248
|
+
disabled?: boolean | undefined;
|
|
249
|
+
className?: string | undefined;
|
|
250
|
+
themeShallow?: boolean | undefined;
|
|
251
|
+
id?: string | undefined;
|
|
252
|
+
tag?: string | undefined;
|
|
253
|
+
componentName?: string | undefined;
|
|
254
|
+
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
255
|
+
onHoverIn?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
256
|
+
onHoverOut?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
257
|
+
onPress?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | null | undefined;
|
|
258
|
+
onPressIn?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | null | undefined;
|
|
259
|
+
onPressOut?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | null | undefined;
|
|
260
|
+
backgroundColor?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").ColorTokens | import("@tamagui/types-react-native").OpaqueColorValue | undefined;
|
|
261
|
+
borderBottomColor?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").ColorTokens | import("@tamagui/types-react-native").OpaqueColorValue | undefined;
|
|
262
|
+
borderBottomEndRadius?: import("@tamagui/core").RadiusTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
263
|
+
borderBottomLeftRadius?: import("@tamagui/core").RadiusTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
264
|
+
borderBottomRightRadius?: import("@tamagui/core").RadiusTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
265
|
+
borderBottomStartRadius?: import("@tamagui/core").RadiusTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
266
|
+
borderBottomWidth?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
267
|
+
borderColor?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").ColorTokens | import("@tamagui/types-react-native").OpaqueColorValue | undefined;
|
|
268
|
+
borderEndColor?: import("@tamagui/types-react-native").ColorValue | undefined;
|
|
269
|
+
borderLeftColor?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").ColorTokens | import("@tamagui/types-react-native").OpaqueColorValue | undefined;
|
|
270
|
+
borderLeftWidth?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
271
|
+
borderRadius?: import("@tamagui/core").RadiusTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
272
|
+
borderRightColor?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").ColorTokens | import("@tamagui/types-react-native").OpaqueColorValue | undefined;
|
|
273
|
+
borderRightWidth?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
274
|
+
borderStartColor?: import("@tamagui/types-react-native").ColorValue | undefined;
|
|
275
|
+
borderStyle?: "solid" | "dotted" | "dashed" | undefined;
|
|
276
|
+
borderTopColor?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").ColorTokens | import("@tamagui/types-react-native").OpaqueColorValue | undefined;
|
|
277
|
+
borderTopEndRadius?: import("@tamagui/core").RadiusTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
278
|
+
borderTopLeftRadius?: import("@tamagui/core").RadiusTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
279
|
+
borderTopRightRadius?: import("@tamagui/core").RadiusTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
280
|
+
borderTopStartRadius?: import("@tamagui/core").RadiusTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
281
|
+
borderTopWidth?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
282
|
+
borderWidth?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
283
|
+
opacity?: number | undefined;
|
|
284
|
+
alignContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "stretch" | undefined;
|
|
285
|
+
alignItems?: import("@tamagui/types-react-native").FlexAlignType | undefined;
|
|
286
|
+
alignSelf?: "auto" | import("@tamagui/types-react-native").FlexAlignType | undefined;
|
|
287
|
+
aspectRatio?: number | undefined;
|
|
288
|
+
borderEndWidth?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
289
|
+
borderStartWidth?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
290
|
+
bottom?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
291
|
+
end?: string | number | undefined;
|
|
292
|
+
flex?: number | undefined;
|
|
293
|
+
flexBasis?: string | number | undefined;
|
|
294
|
+
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
295
|
+
flexGrow?: number | undefined;
|
|
296
|
+
flexShrink?: number | undefined;
|
|
297
|
+
flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
|
|
298
|
+
height?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
299
|
+
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
300
|
+
left?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
301
|
+
margin?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
302
|
+
marginBottom?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
303
|
+
marginEnd?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
304
|
+
marginHorizontal?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
305
|
+
marginLeft?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
306
|
+
marginRight?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
307
|
+
marginStart?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
308
|
+
marginTop?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
309
|
+
marginVertical?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
310
|
+
maxHeight?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
311
|
+
maxWidth?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
312
|
+
minHeight?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
313
|
+
minWidth?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
314
|
+
overflow?: "visible" | "hidden" | "scroll" | undefined;
|
|
315
|
+
padding?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
316
|
+
paddingBottom?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
317
|
+
paddingEnd?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
318
|
+
paddingHorizontal?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
319
|
+
paddingLeft?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
320
|
+
paddingRight?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
321
|
+
paddingStart?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
322
|
+
paddingTop?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
323
|
+
paddingVertical?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
324
|
+
position?: "absolute" | "relative" | undefined;
|
|
325
|
+
right?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
326
|
+
start?: string | number | undefined;
|
|
327
|
+
top?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
328
|
+
width?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
329
|
+
zIndex?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").ZIndexTokens | undefined;
|
|
330
|
+
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
331
|
+
shadowColor?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").ColorTokens | import("@tamagui/types-react-native").OpaqueColorValue | undefined;
|
|
332
|
+
shadowOffset?: import("@tamagui/core").ThemeValueFallback | {
|
|
333
|
+
width: import("@tamagui/core").SpaceTokens;
|
|
334
|
+
height: import("@tamagui/core").SpaceTokens;
|
|
335
|
+
} | {
|
|
336
|
+
width: number;
|
|
337
|
+
height: number;
|
|
338
|
+
} | undefined;
|
|
339
|
+
shadowOpacity?: number | undefined;
|
|
340
|
+
shadowRadius?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
341
|
+
transform?: (import("@tamagui/types-react-native").PerpectiveTransform | import("@tamagui/types-react-native").RotateTransform | import("@tamagui/types-react-native").RotateXTransform | import("@tamagui/types-react-native").RotateYTransform | import("@tamagui/types-react-native").RotateZTransform | import("@tamagui/types-react-native").ScaleTransform | import("@tamagui/types-react-native").ScaleXTransform | import("@tamagui/types-react-native").ScaleYTransform | import("@tamagui/types-react-native").TranslateXTransform | import("@tamagui/types-react-native").TranslateYTransform | import("@tamagui/types-react-native").SkewXTransform | import("@tamagui/types-react-native").SkewYTransform | import("@tamagui/types-react-native").MatrixTransform)[] | undefined;
|
|
342
|
+
transformMatrix?: number[] | undefined;
|
|
343
|
+
rotation?: number | undefined;
|
|
344
|
+
scaleX?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
345
|
+
scaleY?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
346
|
+
translateX?: number | undefined;
|
|
347
|
+
translateY?: number | undefined;
|
|
348
|
+
x?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
349
|
+
y?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
350
|
+
perspective?: number | undefined;
|
|
351
|
+
scale?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").SpaceTokens | undefined;
|
|
352
|
+
skewX?: string | undefined;
|
|
353
|
+
skewY?: string | undefined;
|
|
354
|
+
matrix?: number[] | undefined;
|
|
355
|
+
rotate?: string | undefined;
|
|
356
|
+
rotateY?: string | undefined;
|
|
357
|
+
rotateX?: string | undefined;
|
|
358
|
+
rotateZ?: string | undefined;
|
|
359
|
+
cursor?: import("csstype").Property.Cursor | undefined;
|
|
360
|
+
contain?: import("csstype").Property.Contain | undefined;
|
|
361
|
+
display?: "flex" | "none" | "inherit" | "inline" | "block" | "contents" | "inline-flex" | undefined;
|
|
362
|
+
userSelect?: import("csstype").Property.UserSelect | undefined;
|
|
363
|
+
elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
364
|
+
hoverTheme?: boolean | undefined;
|
|
365
|
+
pressTheme?: boolean | undefined;
|
|
366
|
+
focusTheme?: boolean | undefined;
|
|
367
|
+
circular?: boolean | undefined;
|
|
368
|
+
elevate?: boolean | undefined;
|
|
369
|
+
bordered?: number | boolean | undefined;
|
|
370
|
+
transparent?: boolean | undefined;
|
|
371
|
+
backgrounded?: boolean | undefined;
|
|
372
|
+
radiused?: boolean | undefined;
|
|
373
|
+
padded?: boolean | undefined;
|
|
374
|
+
chromeless?: boolean | "all" | undefined;
|
|
375
|
+
fullscreen?: boolean | undefined;
|
|
376
|
+
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
377
|
+
active?: boolean | undefined;
|
|
378
|
+
hoverStyle?: Partial<Omit<import("@tamagui/types-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<{
|
|
379
|
+
readonly fullscreen?: boolean | undefined;
|
|
380
|
+
readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
381
|
+
} & {
|
|
382
|
+
readonly fontFamily?: unknown;
|
|
383
|
+
readonly backgrounded?: boolean | undefined;
|
|
384
|
+
readonly radiused?: boolean | undefined;
|
|
385
|
+
readonly hoverTheme?: boolean | undefined;
|
|
386
|
+
readonly pressTheme?: boolean | undefined;
|
|
387
|
+
readonly focusTheme?: boolean | undefined;
|
|
388
|
+
readonly circular?: boolean | undefined;
|
|
389
|
+
readonly padded?: boolean | undefined;
|
|
390
|
+
readonly elevate?: boolean | undefined;
|
|
391
|
+
readonly bordered?: number | boolean | undefined;
|
|
392
|
+
readonly transparent?: boolean | undefined;
|
|
393
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
394
|
+
}, "disabled" | "size" | "active"> & {
|
|
395
|
+
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
396
|
+
readonly active?: boolean | undefined;
|
|
397
|
+
readonly disabled?: boolean | undefined;
|
|
398
|
+
}> | null | undefined;
|
|
399
|
+
pressStyle?: Partial<Omit<import("@tamagui/types-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<{
|
|
400
|
+
readonly fullscreen?: boolean | undefined;
|
|
401
|
+
readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
402
|
+
} & {
|
|
403
|
+
readonly fontFamily?: unknown;
|
|
404
|
+
readonly backgrounded?: boolean | undefined;
|
|
405
|
+
readonly radiused?: boolean | undefined;
|
|
406
|
+
readonly hoverTheme?: boolean | undefined;
|
|
407
|
+
readonly pressTheme?: boolean | undefined;
|
|
408
|
+
readonly focusTheme?: boolean | undefined;
|
|
409
|
+
readonly circular?: boolean | undefined;
|
|
410
|
+
readonly padded?: boolean | undefined;
|
|
411
|
+
readonly elevate?: boolean | undefined;
|
|
412
|
+
readonly bordered?: number | boolean | undefined;
|
|
413
|
+
readonly transparent?: boolean | undefined;
|
|
414
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
415
|
+
}, "disabled" | "size" | "active"> & {
|
|
416
|
+
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
417
|
+
readonly active?: boolean | undefined;
|
|
418
|
+
readonly disabled?: boolean | undefined;
|
|
419
|
+
}> | null | undefined;
|
|
420
|
+
focusStyle?: Partial<Omit<import("@tamagui/types-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<{
|
|
421
|
+
readonly fullscreen?: boolean | undefined;
|
|
422
|
+
readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
423
|
+
} & {
|
|
424
|
+
readonly fontFamily?: unknown;
|
|
425
|
+
readonly backgrounded?: boolean | undefined;
|
|
426
|
+
readonly radiused?: boolean | undefined;
|
|
427
|
+
readonly hoverTheme?: boolean | undefined;
|
|
428
|
+
readonly pressTheme?: boolean | undefined;
|
|
429
|
+
readonly focusTheme?: boolean | undefined;
|
|
430
|
+
readonly circular?: boolean | undefined;
|
|
431
|
+
readonly padded?: boolean | undefined;
|
|
432
|
+
readonly elevate?: boolean | undefined;
|
|
433
|
+
readonly bordered?: number | boolean | undefined;
|
|
434
|
+
readonly transparent?: boolean | undefined;
|
|
435
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
436
|
+
}, "disabled" | "size" | "active"> & {
|
|
437
|
+
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
438
|
+
readonly active?: boolean | undefined;
|
|
439
|
+
readonly disabled?: boolean | undefined;
|
|
440
|
+
}> | null | undefined;
|
|
441
|
+
exitStyle?: Partial<Omit<import("@tamagui/types-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<{
|
|
442
|
+
readonly fullscreen?: boolean | undefined;
|
|
443
|
+
readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
444
|
+
} & {
|
|
445
|
+
readonly fontFamily?: unknown;
|
|
446
|
+
readonly backgrounded?: boolean | undefined;
|
|
447
|
+
readonly radiused?: boolean | undefined;
|
|
448
|
+
readonly hoverTheme?: boolean | undefined;
|
|
449
|
+
readonly pressTheme?: boolean | undefined;
|
|
450
|
+
readonly focusTheme?: boolean | undefined;
|
|
451
|
+
readonly circular?: boolean | undefined;
|
|
452
|
+
readonly padded?: boolean | undefined;
|
|
453
|
+
readonly elevate?: boolean | undefined;
|
|
454
|
+
readonly bordered?: number | boolean | undefined;
|
|
455
|
+
readonly transparent?: boolean | undefined;
|
|
456
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
457
|
+
}, "disabled" | "size" | "active"> & {
|
|
458
|
+
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
459
|
+
readonly active?: boolean | undefined;
|
|
460
|
+
readonly disabled?: boolean | undefined;
|
|
461
|
+
}> | null | undefined;
|
|
462
|
+
enterStyle?: Partial<Omit<import("@tamagui/types-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<{
|
|
463
|
+
readonly fullscreen?: boolean | undefined;
|
|
464
|
+
readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
465
|
+
} & {
|
|
466
|
+
readonly fontFamily?: unknown;
|
|
467
|
+
readonly backgrounded?: boolean | undefined;
|
|
468
|
+
readonly radiused?: boolean | undefined;
|
|
469
|
+
readonly hoverTheme?: boolean | undefined;
|
|
470
|
+
readonly pressTheme?: boolean | undefined;
|
|
471
|
+
readonly focusTheme?: boolean | undefined;
|
|
472
|
+
readonly circular?: boolean | undefined;
|
|
473
|
+
readonly padded?: boolean | undefined;
|
|
474
|
+
readonly elevate?: boolean | undefined;
|
|
475
|
+
readonly bordered?: number | boolean | undefined;
|
|
476
|
+
readonly transparent?: boolean | undefined;
|
|
477
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
478
|
+
}, "disabled" | "size" | "active"> & {
|
|
479
|
+
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
480
|
+
readonly active?: boolean | undefined;
|
|
481
|
+
readonly disabled?: boolean | undefined;
|
|
482
|
+
}> | null | undefined;
|
|
483
|
+
themeInverse?: boolean | undefined;
|
|
484
|
+
reset?: boolean | undefined;
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
export declare const buttonStaticConfig: {
|
|
488
|
+
inlineProps: Set<string>;
|
|
489
|
+
};
|
|
490
|
+
export declare const Button: (props: Omit<Omit<TextParentStyles, "TextComponent"> & Omit<import("@tamagui/types-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<{
|
|
491
|
+
readonly fullscreen?: boolean | undefined;
|
|
492
|
+
readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
493
|
+
} & {
|
|
494
|
+
readonly fontFamily?: unknown;
|
|
495
|
+
readonly backgrounded?: boolean | undefined;
|
|
496
|
+
readonly radiused?: boolean | undefined;
|
|
497
|
+
readonly hoverTheme?: boolean | undefined;
|
|
498
|
+
readonly pressTheme?: boolean | undefined;
|
|
499
|
+
readonly focusTheme?: boolean | undefined;
|
|
500
|
+
readonly circular?: boolean | undefined;
|
|
501
|
+
readonly padded?: boolean | undefined;
|
|
502
|
+
readonly elevate?: boolean | undefined;
|
|
503
|
+
readonly bordered?: number | boolean | undefined;
|
|
504
|
+
readonly transparent?: boolean | undefined;
|
|
505
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
506
|
+
}, "disabled" | "size" | "active"> & {
|
|
507
|
+
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
508
|
+
readonly active?: boolean | undefined;
|
|
509
|
+
readonly disabled?: boolean | undefined;
|
|
510
|
+
} & import("@tamagui/core").MediaProps<Partial<Omit<import("@tamagui/types-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<{
|
|
511
|
+
readonly fullscreen?: boolean | undefined;
|
|
512
|
+
readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
513
|
+
} & {
|
|
514
|
+
readonly fontFamily?: unknown;
|
|
515
|
+
readonly backgrounded?: boolean | undefined;
|
|
516
|
+
readonly radiused?: boolean | undefined;
|
|
517
|
+
readonly hoverTheme?: boolean | undefined;
|
|
518
|
+
readonly pressTheme?: boolean | undefined;
|
|
519
|
+
readonly focusTheme?: boolean | undefined;
|
|
520
|
+
readonly circular?: boolean | undefined;
|
|
521
|
+
readonly padded?: boolean | undefined;
|
|
522
|
+
readonly elevate?: boolean | undefined;
|
|
523
|
+
readonly bordered?: number | boolean | undefined;
|
|
524
|
+
readonly transparent?: boolean | undefined;
|
|
525
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
526
|
+
}, "disabled" | "size" | "active"> & {
|
|
527
|
+
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
528
|
+
readonly active?: boolean | undefined;
|
|
529
|
+
readonly disabled?: boolean | undefined;
|
|
530
|
+
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("@tamagui/types-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<{
|
|
531
|
+
readonly fullscreen?: boolean | undefined;
|
|
532
|
+
readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
533
|
+
} & {
|
|
534
|
+
readonly fontFamily?: unknown;
|
|
535
|
+
readonly backgrounded?: boolean | undefined;
|
|
536
|
+
readonly radiused?: boolean | undefined;
|
|
537
|
+
readonly hoverTheme?: boolean | undefined;
|
|
538
|
+
readonly pressTheme?: boolean | undefined;
|
|
539
|
+
readonly focusTheme?: boolean | undefined;
|
|
540
|
+
readonly circular?: boolean | undefined;
|
|
541
|
+
readonly padded?: boolean | undefined;
|
|
542
|
+
readonly elevate?: boolean | undefined;
|
|
543
|
+
readonly bordered?: number | boolean | undefined;
|
|
544
|
+
readonly transparent?: boolean | undefined;
|
|
545
|
+
readonly chromeless?: boolean | "all" | undefined;
|
|
546
|
+
}, "disabled" | "size" | "active"> & {
|
|
547
|
+
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
548
|
+
readonly active?: boolean | undefined;
|
|
549
|
+
readonly disabled?: boolean | undefined;
|
|
550
|
+
}>> & ThemeableProps & {
|
|
551
|
+
/**
|
|
552
|
+
* add icon before, passes color and size automatically if Component
|
|
553
|
+
*/
|
|
554
|
+
icon?: IconProp | undefined;
|
|
555
|
+
/**
|
|
556
|
+
* add icon after, passes color and size automatically if Component
|
|
557
|
+
*/
|
|
558
|
+
iconAfter?: IconProp | undefined;
|
|
559
|
+
/**
|
|
560
|
+
* adjust icon relative to size
|
|
561
|
+
*/
|
|
562
|
+
/**
|
|
563
|
+
* default: -1
|
|
564
|
+
*/
|
|
565
|
+
scaleIcon?: number | undefined;
|
|
566
|
+
/**
|
|
567
|
+
* make the spacing elements flex
|
|
568
|
+
*/
|
|
569
|
+
spaceFlex?: number | boolean | undefined;
|
|
570
|
+
/**
|
|
571
|
+
* adjust internal space relative to icon size
|
|
572
|
+
*/
|
|
573
|
+
scaleSpace?: number | undefined;
|
|
574
|
+
} & import("react").RefAttributes<TamaguiElement>, "theme" | "themeInverse"> & ThemeableProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
|
|
123
575
|
export {};
|
|
124
576
|
//# sourceMappingURL=Button.d.ts.map
|