@tamagui/button 1.43.17 → 1.44.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/package.json +7 -7
- package/types/Button.d.ts +7 -110
- package/types/Button.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/button",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.44.0",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@tamagui/font-size": "1.
|
|
33
|
-
"@tamagui/get-button-sized": "1.
|
|
34
|
-
"@tamagui/helpers-tamagui": "1.
|
|
35
|
-
"@tamagui/text": "1.
|
|
36
|
-
"@tamagui/web": "1.
|
|
32
|
+
"@tamagui/font-size": "1.44.0",
|
|
33
|
+
"@tamagui/get-button-sized": "1.44.0",
|
|
34
|
+
"@tamagui/helpers-tamagui": "1.44.0",
|
|
35
|
+
"@tamagui/text": "1.44.0",
|
|
36
|
+
"@tamagui/web": "1.44.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": "*"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@tamagui/build": "1.
|
|
42
|
+
"@tamagui/build": "1.44.0",
|
|
43
43
|
"react": "^18.2.0",
|
|
44
44
|
"vitest": "^0.26.3"
|
|
45
45
|
},
|
package/types/Button.d.ts
CHANGED
|
@@ -100,28 +100,7 @@ declare const ButtonFrame: import("@tamagui/web").TamaguiComponent<Omit<import("
|
|
|
100
100
|
readonly unstyled?: boolean | undefined;
|
|
101
101
|
readonly size?: SizeTokens | undefined;
|
|
102
102
|
readonly disabled?: boolean | undefined;
|
|
103
|
-
}
|
|
104
|
-
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
105
|
-
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
106
|
-
readonly fullscreen?: boolean | undefined;
|
|
107
|
-
readonly elevation?: SizeTokens | undefined;
|
|
108
|
-
} & {
|
|
109
|
-
readonly backgrounded?: boolean | undefined;
|
|
110
|
-
readonly radiused?: boolean | undefined;
|
|
111
|
-
readonly hoverTheme?: boolean | undefined;
|
|
112
|
-
readonly pressTheme?: boolean | undefined;
|
|
113
|
-
readonly focusTheme?: boolean | undefined;
|
|
114
|
-
readonly circular?: boolean | undefined;
|
|
115
|
-
readonly padded?: boolean | undefined;
|
|
116
|
-
readonly elevate?: boolean | undefined;
|
|
117
|
-
readonly bordered?: number | boolean | undefined;
|
|
118
|
-
readonly transparent?: boolean | undefined;
|
|
119
|
-
readonly chromeless?: boolean | "all" | undefined;
|
|
120
|
-
}, "size" | "disabled" | "unstyled"> & {
|
|
121
|
-
readonly unstyled?: boolean | undefined;
|
|
122
|
-
readonly size?: SizeTokens | undefined;
|
|
123
|
-
readonly disabled?: boolean | undefined;
|
|
124
|
-
}>>>>, import("@tamagui/web").TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
|
|
103
|
+
}>>, import("@tamagui/web").TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
|
|
125
104
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
126
105
|
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps, {
|
|
127
106
|
readonly fullscreen?: boolean | undefined;
|
|
@@ -190,14 +169,7 @@ declare const ButtonText: import("@tamagui/web").TamaguiComponent<Omit<import("r
|
|
|
190
169
|
readonly size?: FontSizeTokens | undefined;
|
|
191
170
|
}, "unstyled"> & {
|
|
192
171
|
readonly unstyled?: boolean | undefined;
|
|
193
|
-
}
|
|
194
|
-
style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
|
|
195
|
-
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
196
|
-
readonly unstyled?: boolean | undefined;
|
|
197
|
-
readonly size?: FontSizeTokens | undefined;
|
|
198
|
-
}, "unstyled"> & {
|
|
199
|
-
readonly unstyled?: boolean | undefined;
|
|
200
|
-
}>>>>, import("@tamagui/web").TamaguiTextElement, import("@tamagui/web").TextPropsBase, {
|
|
172
|
+
}>>, import("@tamagui/web").TamaguiTextElement, import("@tamagui/web").TextPropsBase, {
|
|
201
173
|
readonly unstyled?: boolean | undefined;
|
|
202
174
|
readonly size?: FontSizeTokens | undefined;
|
|
203
175
|
} & {
|
|
@@ -238,12 +210,7 @@ declare const Button: import("@tamagui/web").ReactComponentWithRef<TextContextSt
|
|
|
238
210
|
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{}, "size" | "unstyled"> & {
|
|
239
211
|
readonly unstyled?: boolean | undefined;
|
|
240
212
|
readonly size?: FontSizeTokens | undefined;
|
|
241
|
-
}
|
|
242
|
-
style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
|
|
243
|
-
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{}, "size" | "unstyled"> & {
|
|
244
|
-
readonly unstyled?: boolean | undefined;
|
|
245
|
-
readonly size?: FontSizeTokens | undefined;
|
|
246
|
-
}>>>>> | undefined;
|
|
213
|
+
}>>> | undefined;
|
|
247
214
|
noTextWrap?: boolean | undefined;
|
|
248
215
|
} & Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
|
|
249
216
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
@@ -308,28 +275,7 @@ declare const Button: import("@tamagui/web").ReactComponentWithRef<TextContextSt
|
|
|
308
275
|
readonly unstyled?: boolean | undefined;
|
|
309
276
|
readonly size?: SizeTokens | undefined;
|
|
310
277
|
readonly disabled?: boolean | undefined;
|
|
311
|
-
} &
|
|
312
|
-
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
313
|
-
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
314
|
-
readonly fullscreen?: boolean | undefined;
|
|
315
|
-
readonly elevation?: SizeTokens | undefined;
|
|
316
|
-
} & {
|
|
317
|
-
readonly backgrounded?: boolean | undefined;
|
|
318
|
-
readonly radiused?: boolean | undefined;
|
|
319
|
-
readonly hoverTheme?: boolean | undefined;
|
|
320
|
-
readonly pressTheme?: boolean | undefined;
|
|
321
|
-
readonly focusTheme?: boolean | undefined;
|
|
322
|
-
readonly circular?: boolean | undefined;
|
|
323
|
-
readonly padded?: boolean | undefined;
|
|
324
|
-
readonly elevate?: boolean | undefined;
|
|
325
|
-
readonly bordered?: number | boolean | undefined;
|
|
326
|
-
readonly transparent?: boolean | undefined;
|
|
327
|
-
readonly chromeless?: boolean | "all" | undefined;
|
|
328
|
-
}, "size" | "disabled" | "unstyled"> & {
|
|
329
|
-
readonly unstyled?: boolean | undefined;
|
|
330
|
-
readonly size?: SizeTokens | undefined;
|
|
331
|
-
readonly disabled?: boolean | undefined;
|
|
332
|
-
}>>>> & ThemeableProps & {
|
|
278
|
+
}>> & ThemeableProps & {
|
|
333
279
|
/**
|
|
334
280
|
* add icon before, passes color and size automatically if Component
|
|
335
281
|
*/
|
|
@@ -419,28 +365,7 @@ declare const Button: import("@tamagui/web").ReactComponentWithRef<TextContextSt
|
|
|
419
365
|
readonly unstyled?: boolean | undefined;
|
|
420
366
|
readonly size?: SizeTokens | undefined;
|
|
421
367
|
readonly disabled?: boolean | undefined;
|
|
422
|
-
}
|
|
423
|
-
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
424
|
-
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
425
|
-
readonly fullscreen?: boolean | undefined;
|
|
426
|
-
readonly elevation?: SizeTokens | undefined;
|
|
427
|
-
} & {
|
|
428
|
-
readonly backgrounded?: boolean | undefined;
|
|
429
|
-
readonly radiused?: boolean | undefined;
|
|
430
|
-
readonly hoverTheme?: boolean | undefined;
|
|
431
|
-
readonly pressTheme?: boolean | undefined;
|
|
432
|
-
readonly focusTheme?: boolean | undefined;
|
|
433
|
-
readonly circular?: boolean | undefined;
|
|
434
|
-
readonly padded?: boolean | undefined;
|
|
435
|
-
readonly elevate?: boolean | undefined;
|
|
436
|
-
readonly bordered?: number | boolean | undefined;
|
|
437
|
-
readonly transparent?: boolean | undefined;
|
|
438
|
-
readonly chromeless?: boolean | "all" | undefined;
|
|
439
|
-
}, "size" | "disabled" | "unstyled"> & {
|
|
440
|
-
readonly unstyled?: boolean | undefined;
|
|
441
|
-
readonly size?: SizeTokens | undefined;
|
|
442
|
-
readonly disabled?: boolean | undefined;
|
|
443
|
-
}>>>>, "color" | "space" | "size" | "zIndex" | "userSelect" | "cursor" | "pointerEvents" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "textAlign" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "backgroundColor" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomWidth" | "borderLeftColor" | "borderLeftWidth" | "borderColor" | "borderRadius" | "borderStyle" | "borderRightWidth" | "borderRightColor" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopWidth" | "borderWidth" | "display" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "maxHeight" | "maxWidth" | "marginBottom" | "minHeight" | "minWidth" | "marginLeft" | "marginRight" | "marginTop" | "marginHorizontal" | "marginVertical" | "opacity" | "overflow" | "padding" | "paddingBottom" | "paddingLeft" | "position" | "paddingRight" | "paddingTop" | "paddingHorizontal" | "paddingVertical" | "right" | "shadowColor" | "shadowRadius" | "shadowOffset" | "shadowOpacity" | "top" | "width" | "contain" | `$${string}` | `$${number}` | "children" | "onLayout" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "style" | "id" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "nativeID" | "disabled" | "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" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomEndRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopEndRadius" | "borderTopStartRadius" | "aspectRatio" | "borderEndWidth" | "borderStartWidth" | "end" | "marginEnd" | "marginStart" | "paddingEnd" | "paddingStart" | "start" | "direction" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | "unstyled" | "x" | "y" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "theme" | "hitSlop" | "removeClippedSubviews" | "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" | `$theme-${string}` | `$theme-${number}` | "target" | "asChild" | "dangerouslySetInnerHTML" | "debug" | "className" | "themeShallow" | "tag" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onScroll" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "transparent" | "circular" | "hoverTheme" | "pressTheme" | "focusTheme" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless" | "fullscreen" | "rel" | "download" | "dataSet" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "href" | "hrefAttrs" | "elevationAndroid" | "textProps" | "noTextWrap" | "themeInverse" | "themeReset" | "icon" | "iconAfter" | "scaleIcon" | "spaceFlex" | "scaleSpace">, import("@tamagui/web").TamaguiElement> & {
|
|
368
|
+
}>>, "color" | "space" | "size" | "zIndex" | "userSelect" | "cursor" | "pointerEvents" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "textAlign" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "backgroundColor" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomWidth" | "borderLeftColor" | "borderLeftWidth" | "borderColor" | "borderRadius" | "borderStyle" | "borderRightWidth" | "borderRightColor" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopWidth" | "borderWidth" | "display" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "maxHeight" | "maxWidth" | "marginBottom" | "minHeight" | "minWidth" | "marginLeft" | "marginRight" | "marginTop" | "marginHorizontal" | "marginVertical" | "opacity" | "overflow" | "padding" | "paddingBottom" | "paddingLeft" | "position" | "paddingRight" | "paddingTop" | "paddingHorizontal" | "paddingVertical" | "right" | "shadowColor" | "shadowRadius" | "shadowOffset" | "shadowOpacity" | "top" | "width" | "contain" | `$${string}` | `$${number}` | "children" | "onLayout" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "style" | "id" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "nativeID" | "disabled" | "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" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomEndRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderTopEndRadius" | "borderTopStartRadius" | "aspectRatio" | "borderEndWidth" | "borderStartWidth" | "end" | "marginEnd" | "marginStart" | "paddingEnd" | "paddingStart" | "start" | "direction" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | "unstyled" | "x" | "y" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "theme" | "hitSlop" | "removeClippedSubviews" | "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" | `$theme-${string}` | `$theme-${number}` | "target" | "asChild" | "dangerouslySetInnerHTML" | "debug" | "className" | "themeShallow" | "tag" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onScroll" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "transparent" | "circular" | "hoverTheme" | "pressTheme" | "focusTheme" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless" | "fullscreen" | "rel" | "download" | "dataSet" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "href" | "hrefAttrs" | "elevationAndroid" | "textProps" | "noTextWrap" | "themeInverse" | "themeReset" | "icon" | "iconAfter" | "scaleIcon" | "spaceFlex" | "scaleSpace">, import("@tamagui/web").TamaguiElement> & {
|
|
444
369
|
staticConfig: import("@tamagui/web").StaticConfigParsed;
|
|
445
370
|
styleable: import("@tamagui/web").Styleable<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
|
|
446
371
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
@@ -505,28 +430,7 @@ declare const Button: import("@tamagui/web").ReactComponentWithRef<TextContextSt
|
|
|
505
430
|
readonly unstyled?: boolean | undefined;
|
|
506
431
|
readonly size?: SizeTokens | undefined;
|
|
507
432
|
readonly disabled?: boolean | undefined;
|
|
508
|
-
}
|
|
509
|
-
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
510
|
-
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
511
|
-
readonly fullscreen?: boolean | undefined;
|
|
512
|
-
readonly elevation?: SizeTokens | undefined;
|
|
513
|
-
} & {
|
|
514
|
-
readonly backgrounded?: boolean | undefined;
|
|
515
|
-
readonly radiused?: boolean | undefined;
|
|
516
|
-
readonly hoverTheme?: boolean | undefined;
|
|
517
|
-
readonly pressTheme?: boolean | undefined;
|
|
518
|
-
readonly focusTheme?: boolean | undefined;
|
|
519
|
-
readonly circular?: boolean | undefined;
|
|
520
|
-
readonly padded?: boolean | undefined;
|
|
521
|
-
readonly elevate?: boolean | undefined;
|
|
522
|
-
readonly bordered?: number | boolean | undefined;
|
|
523
|
-
readonly transparent?: boolean | undefined;
|
|
524
|
-
readonly chromeless?: boolean | "all" | undefined;
|
|
525
|
-
}, "size" | "disabled" | "unstyled"> & {
|
|
526
|
-
readonly unstyled?: boolean | undefined;
|
|
527
|
-
readonly size?: SizeTokens | undefined;
|
|
528
|
-
readonly disabled?: boolean | undefined;
|
|
529
|
-
}>>>>, import("@tamagui/web").TamaguiElement>;
|
|
433
|
+
}>>, import("@tamagui/web").TamaguiElement>;
|
|
530
434
|
} & {
|
|
531
435
|
Text: import("@tamagui/web").TamaguiComponent<Omit<import("react-native").TextProps, "children" | "style" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").TamaguiComponentPropsBase & {
|
|
532
436
|
style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
|
|
@@ -549,14 +453,7 @@ declare const Button: import("@tamagui/web").ReactComponentWithRef<TextContextSt
|
|
|
549
453
|
readonly size?: FontSizeTokens | undefined;
|
|
550
454
|
}, "unstyled"> & {
|
|
551
455
|
readonly unstyled?: boolean | undefined;
|
|
552
|
-
}
|
|
553
|
-
style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
|
|
554
|
-
} & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & Omit<{
|
|
555
|
-
readonly unstyled?: boolean | undefined;
|
|
556
|
-
readonly size?: FontSizeTokens | undefined;
|
|
557
|
-
}, "unstyled"> & {
|
|
558
|
-
readonly unstyled?: boolean | undefined;
|
|
559
|
-
}>>>>, import("@tamagui/web").TamaguiTextElement, import("@tamagui/web").TextPropsBase, {
|
|
456
|
+
}>>, import("@tamagui/web").TamaguiTextElement, import("@tamagui/web").TextPropsBase, {
|
|
560
457
|
readonly unstyled?: boolean | undefined;
|
|
561
458
|
readonly size?: FontSizeTokens | undefined;
|
|
562
459
|
} & {
|
package/types/Button.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../src/Button.tsx"],"names":[],"mappings":"AAIA,OAAO,EAEL,iBAAiB,EACjB,gBAAgB,EAEjB,MAAM,eAAe,CAAA;AACtB,OAAO,EAEL,cAAc,EACd,QAAQ,EACR,UAAU,EACV,cAAc,EAQf,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAA;AAErD,eAAO,MAAM,aAAa;UAEhB,UAAU;EAWlB,CAAA;AAEF,KAAK,eAAe,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AACxD,KAAK,QAAQ,GAAG,GAAG,CAAC,OAAO,GAAG,iBAAiB,CAAC,eAAe,CAAC,GAAG,IAAI,CAAA;AAEvE,KAAK,WAAW,GAAG,gBAAgB,GACjC,QAAQ,CAAC,OAAO,WAAW,CAAC,GAC5B,cAAc,GAAG;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,CAAA;IACpB;;;;OAIG;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,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAIH,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"Button.d.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