@tamagui/button 1.38.1 → 1.38.3
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/src/Button.tsx +4 -4
- package/types/Button.d.ts +3 -378
- 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.38.
|
|
3
|
+
"version": "1.38.3",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@tamagui/font-size": "1.38.
|
|
33
|
-
"@tamagui/get-button-sized": "1.38.
|
|
34
|
-
"@tamagui/helpers-tamagui": "1.38.
|
|
35
|
-
"@tamagui/text": "1.38.
|
|
36
|
-
"@tamagui/web": "1.38.
|
|
32
|
+
"@tamagui/font-size": "1.38.3",
|
|
33
|
+
"@tamagui/get-button-sized": "1.38.3",
|
|
34
|
+
"@tamagui/helpers-tamagui": "1.38.3",
|
|
35
|
+
"@tamagui/text": "1.38.3",
|
|
36
|
+
"@tamagui/web": "1.38.3"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": "*"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@tamagui/build": "1.38.
|
|
42
|
+
"@tamagui/build": "1.38.3",
|
|
43
43
|
"react": "^18.2.0",
|
|
44
44
|
"vitest": "^0.26.3"
|
|
45
45
|
},
|
package/src/Button.tsx
CHANGED
|
@@ -194,8 +194,8 @@ const Button = withStaticProperties(ButtonComponent, {
|
|
|
194
194
|
/**
|
|
195
195
|
* @deprecated Instead of useButton, see the Button docs for the newer and much improved Advanced customization pattern: https://tamagui.dev/docs/components/button
|
|
196
196
|
*/
|
|
197
|
-
function useButton(
|
|
198
|
-
propsIn:
|
|
197
|
+
function useButton<Props extends ButtonProps>(
|
|
198
|
+
propsIn: Props,
|
|
199
199
|
{ Text = Button.Text }: { Text: any } = { Text: Button.Text }
|
|
200
200
|
) {
|
|
201
201
|
// careful not to desctructure and re-order props, order is important
|
|
@@ -225,7 +225,7 @@ function useButton(
|
|
|
225
225
|
} = propsIn
|
|
226
226
|
|
|
227
227
|
const isNested = isRSC ? false : useContext(ButtonNestingContext)
|
|
228
|
-
const propsActive = useProps(propsIn)
|
|
228
|
+
const propsActive = useProps(propsIn) as any as ButtonProps
|
|
229
229
|
const size = propsActive.size || '$true'
|
|
230
230
|
const iconSize = (typeof size === 'number' ? size * 0.5 : getFontSize(size)) * scaleIcon
|
|
231
231
|
const getThemedIcon = useGetThemedIcon({ size: iconSize, color })
|
|
@@ -280,7 +280,7 @@ function useButton(
|
|
|
280
280
|
) : (
|
|
281
281
|
<ButtonNestingContext.Provider value={true}>{inner}</ButtonNestingContext.Provider>
|
|
282
282
|
),
|
|
283
|
-
}
|
|
283
|
+
} as Props
|
|
284
284
|
|
|
285
285
|
return {
|
|
286
286
|
spaceSize,
|
package/types/Button.d.ts
CHANGED
|
@@ -357,7 +357,7 @@ declare const Button: import("@tamagui/web").ReactComponentWithRef<Omit<TextPare
|
|
|
357
357
|
readonly size?: SizeTokens | undefined;
|
|
358
358
|
readonly active?: boolean | undefined;
|
|
359
359
|
readonly disabled?: boolean | undefined;
|
|
360
|
-
}>>, "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" | "
|
|
360
|
+
}>>, "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" | "target" | "asChild" | "dangerouslySetInnerHTML" | "debug" | "className" | "themeShallow" | "tag" | "componentName" | "tabIndex" | "forceStyle" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onScroll" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "textProps" | "noTextWrap" | "transparent" | "circular" | "hoverTheme" | "pressTheme" | "focusTheme" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless" | "fullscreen" | "rel" | "download" | "dataSet" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "href" | "hrefAttrs" | "elevationAndroid" | "active" | "themeInverse" | "themeReset" | "icon" | "iconAfter" | "scaleIcon" | "spaceFlex" | "scaleSpace">, import("@tamagui/web").TamaguiElement> & {
|
|
361
361
|
staticConfig: import("@tamagui/web").StaticConfigParsed;
|
|
362
362
|
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 & {
|
|
363
363
|
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
@@ -471,387 +471,12 @@ declare const Button: import("@tamagui/web").ReactComponentWithRef<Omit<TextPare
|
|
|
471
471
|
/**
|
|
472
472
|
* @deprecated Instead of useButton, see the Button docs for the newer and much improved Advanced customization pattern: https://tamagui.dev/docs/components/button
|
|
473
473
|
*/
|
|
474
|
-
declare function useButton(propsIn:
|
|
474
|
+
declare function useButton<Props extends ButtonProps>(propsIn: Props, { Text }?: {
|
|
475
475
|
Text: any;
|
|
476
476
|
}): {
|
|
477
477
|
spaceSize: number | boolean | import("@tamagui/web").UnionableString | import("@tamagui/web").Variable<any>;
|
|
478
478
|
isNested: boolean;
|
|
479
|
-
props:
|
|
480
|
-
children: string | number | boolean | JSX.Element | import("react").ReactFragment | null | undefined;
|
|
481
|
-
pointerEvents?: "none" | "auto" | "box-none" | "box-only" | undefined;
|
|
482
|
-
id?: string | undefined;
|
|
483
|
-
testID?: string | undefined;
|
|
484
|
-
nativeID?: string | undefined;
|
|
485
|
-
accessible?: boolean | undefined;
|
|
486
|
-
accessibilityActions?: readonly Readonly<{
|
|
487
|
-
name: string;
|
|
488
|
-
label?: string | undefined;
|
|
489
|
-
}>[] | undefined;
|
|
490
|
-
accessibilityLabel?: string | undefined;
|
|
491
|
-
'aria-label'?: string | undefined;
|
|
492
|
-
accessibilityRole?: import("react-native").AccessibilityRole | undefined;
|
|
493
|
-
accessibilityState?: import("react-native").AccessibilityState | undefined;
|
|
494
|
-
'aria-busy'?: boolean | undefined;
|
|
495
|
-
'aria-checked'?: boolean | "mixed" | undefined;
|
|
496
|
-
'aria-disabled'?: boolean | undefined;
|
|
497
|
-
'aria-expanded'?: boolean | undefined;
|
|
498
|
-
'aria-selected'?: boolean | undefined;
|
|
499
|
-
'aria-labelledby'?: string | undefined;
|
|
500
|
-
accessibilityHint?: string | undefined;
|
|
501
|
-
accessibilityValue?: import("react-native").AccessibilityValue | undefined;
|
|
502
|
-
'aria-valuemax'?: number | undefined;
|
|
503
|
-
'aria-valuemin'?: number | undefined;
|
|
504
|
-
'aria-valuenow'?: number | undefined;
|
|
505
|
-
'aria-valuetext'?: string | undefined;
|
|
506
|
-
onAccessibilityAction?: ((event: import("react-native").AccessibilityActionEvent) => void) | undefined;
|
|
507
|
-
importantForAccessibility?: "auto" | "yes" | "no" | "no-hide-descendants" | undefined;
|
|
508
|
-
'aria-hidden'?: boolean | undefined;
|
|
509
|
-
'aria-live'?: "polite" | "assertive" | "off" | undefined;
|
|
510
|
-
'aria-modal'?: boolean | undefined;
|
|
511
|
-
role?: "heading" | "none" | "separator" | "alert" | "alertdialog" | "application" | "article" | "banner" | "button" | "cell" | "checkbox" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "dialog" | "directory" | "document" | "feed" | "figure" | "form" | "grid" | "group" | "img" | "link" | "list" | "listitem" | "log" | "main" | "marquee" | "math" | "menu" | "menubar" | "menuitem" | "meter" | "navigation" | "note" | "option" | "presentation" | "progressbar" | "radio" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "searchbox" | "slider" | "spinbutton" | "status" | "summary" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem" | undefined;
|
|
512
|
-
accessibilityLiveRegion?: "none" | "polite" | "assertive" | undefined;
|
|
513
|
-
accessibilityLabelledBy?: string | string[] | undefined;
|
|
514
|
-
accessibilityElementsHidden?: boolean | undefined;
|
|
515
|
-
accessibilityViewIsModal?: boolean | undefined;
|
|
516
|
-
onAccessibilityEscape?: (() => void) | undefined;
|
|
517
|
-
onAccessibilityTap?: (() => void) | undefined;
|
|
518
|
-
onMagicTap?: (() => void) | undefined;
|
|
519
|
-
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
520
|
-
accessibilityLanguage?: string | undefined;
|
|
521
|
-
hitSlop?: import("react-native").Insets | (import("react-native").Insets & number) | undefined;
|
|
522
|
-
removeClippedSubviews?: boolean | undefined;
|
|
523
|
-
collapsable?: boolean | undefined;
|
|
524
|
-
needsOffscreenAlphaCompositing?: boolean | undefined;
|
|
525
|
-
renderToHardwareTextureAndroid?: boolean | undefined;
|
|
526
|
-
focusable?: boolean | undefined;
|
|
527
|
-
shouldRasterizeIOS?: boolean | undefined;
|
|
528
|
-
isTVSelectable?: boolean | undefined;
|
|
529
|
-
hasTVPreferredFocus?: boolean | undefined;
|
|
530
|
-
tvParallaxProperties?: import("react-native").TVParallaxProperties | undefined;
|
|
531
|
-
tvParallaxShiftDistanceX?: number | undefined;
|
|
532
|
-
tvParallaxShiftDistanceY?: number | undefined;
|
|
533
|
-
tvParallaxTiltAngle?: number | undefined;
|
|
534
|
-
tvParallaxMagnification?: number | undefined;
|
|
535
|
-
onTouchStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
536
|
-
onTouchMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
537
|
-
onTouchEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
538
|
-
onTouchCancel?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
539
|
-
onTouchEndCapture?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
540
|
-
onPointerEnter?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
541
|
-
onPointerEnterCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
542
|
-
onPointerLeave?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
543
|
-
onPointerLeaveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
544
|
-
onPointerMove?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
545
|
-
onPointerMoveCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
546
|
-
onPointerCancel?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
547
|
-
onPointerCancelCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
548
|
-
onPointerDown?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
549
|
-
onPointerDownCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
550
|
-
onPointerUp?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
551
|
-
onPointerUpCapture?: ((event: import("react-native").PointerEvent) => void) | undefined;
|
|
552
|
-
target?: string | undefined;
|
|
553
|
-
asChild?: boolean | "except-style" | undefined;
|
|
554
|
-
dangerouslySetInnerHTML?: {
|
|
555
|
-
__html: string;
|
|
556
|
-
} | undefined;
|
|
557
|
-
debug?: import("@tamagui/web").DebugProp | undefined;
|
|
558
|
-
disabled?: boolean | undefined;
|
|
559
|
-
className?: string | undefined;
|
|
560
|
-
themeShallow?: boolean | undefined;
|
|
561
|
-
tag: string | undefined;
|
|
562
|
-
componentName?: string | undefined;
|
|
563
|
-
tabIndex?: string | number | undefined;
|
|
564
|
-
forceStyle?: "hover" | "press" | "focus" | undefined;
|
|
565
|
-
onPress?: ((event: import("react-native").GestureResponderEvent) => void) | null | undefined;
|
|
566
|
-
onLongPress?: ((event: import("react-native").GestureResponderEvent) => void) | null | undefined;
|
|
567
|
-
onPressIn?: ((event: import("react-native").GestureResponderEvent) => void) | null | undefined;
|
|
568
|
-
onPressOut?: ((event: import("react-native").GestureResponderEvent) => void) | null | undefined;
|
|
569
|
-
onHoverIn?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
570
|
-
onHoverOut?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
571
|
-
onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
572
|
-
onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
573
|
-
onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
574
|
-
onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
575
|
-
onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
576
|
-
onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
577
|
-
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
578
|
-
zIndex?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").ZIndexTokens | undefined;
|
|
579
|
-
alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
|
|
580
|
-
alignItems?: import("react-native").FlexAlignType | undefined;
|
|
581
|
-
alignSelf?: "auto" | import("react-native").FlexAlignType | undefined;
|
|
582
|
-
bottom?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
583
|
-
backgroundColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native").OpaqueColorValue | undefined;
|
|
584
|
-
borderBottomColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native").OpaqueColorValue | undefined;
|
|
585
|
-
borderBottomLeftRadius?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").RadiusTokens | undefined;
|
|
586
|
-
borderBottomRightRadius?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").RadiusTokens | undefined;
|
|
587
|
-
borderBottomWidth?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
588
|
-
borderLeftColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native").OpaqueColorValue | undefined;
|
|
589
|
-
borderLeftWidth?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
590
|
-
borderColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native").OpaqueColorValue | undefined;
|
|
591
|
-
borderRadius?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").RadiusTokens | undefined;
|
|
592
|
-
borderStyle?: "solid" | "dashed" | "dotted" | undefined;
|
|
593
|
-
borderRightWidth?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
594
|
-
borderRightColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native").OpaqueColorValue | undefined;
|
|
595
|
-
borderTopColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native").OpaqueColorValue | undefined;
|
|
596
|
-
borderTopLeftRadius?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").RadiusTokens | undefined;
|
|
597
|
-
borderTopRightRadius?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").RadiusTokens | undefined;
|
|
598
|
-
borderTopWidth?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
599
|
-
borderWidth?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
600
|
-
flex?: number | undefined;
|
|
601
|
-
flexBasis?: string | number | undefined;
|
|
602
|
-
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
603
|
-
flexGrow?: number | undefined;
|
|
604
|
-
flexShrink?: number | undefined;
|
|
605
|
-
flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
|
|
606
|
-
height?: SizeTokens | import("@tamagui/web").ThemeValueFallback | undefined;
|
|
607
|
-
justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
608
|
-
left?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
609
|
-
margin?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
610
|
-
maxHeight?: SizeTokens | import("@tamagui/web").ThemeValueFallback | undefined;
|
|
611
|
-
maxWidth?: SizeTokens | import("@tamagui/web").ThemeValueFallback | undefined;
|
|
612
|
-
marginBottom?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
613
|
-
minHeight?: SizeTokens | import("@tamagui/web").ThemeValueFallback | undefined;
|
|
614
|
-
minWidth?: SizeTokens | import("@tamagui/web").ThemeValueFallback | undefined;
|
|
615
|
-
marginLeft?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
616
|
-
marginRight?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
617
|
-
marginTop?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
618
|
-
marginHorizontal?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
619
|
-
marginVertical?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
620
|
-
opacity?: number | undefined;
|
|
621
|
-
overflow?: "hidden" | "visible" | "scroll" | undefined;
|
|
622
|
-
padding?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
623
|
-
paddingBottom?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
624
|
-
paddingLeft?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
625
|
-
position?: "absolute" | "relative" | undefined;
|
|
626
|
-
paddingRight?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
627
|
-
paddingTop?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
628
|
-
paddingHorizontal?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
629
|
-
paddingVertical?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
630
|
-
right?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
631
|
-
shadowColor?: import("@tamagui/web").ColorTokens | import("@tamagui/web").ThemeValueFallback | import("react-native").OpaqueColorValue | undefined;
|
|
632
|
-
shadowRadius?: SizeTokens | import("@tamagui/web").ThemeValueFallback | undefined;
|
|
633
|
-
shadowOffset?: import("@tamagui/web").ThemeValueFallback | {
|
|
634
|
-
width: import("@tamagui/web").SpaceTokens;
|
|
635
|
-
height: import("@tamagui/web").SpaceTokens;
|
|
636
|
-
} | {
|
|
637
|
-
width: number;
|
|
638
|
-
height: number;
|
|
639
|
-
} | undefined;
|
|
640
|
-
shadowOpacity?: number | undefined;
|
|
641
|
-
top?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
642
|
-
width?: SizeTokens | import("@tamagui/web").ThemeValueFallback | undefined;
|
|
643
|
-
borderBottomEndRadius?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").RadiusTokens | undefined;
|
|
644
|
-
borderBottomStartRadius?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").RadiusTokens | undefined;
|
|
645
|
-
borderEndColor?: import("react-native").ColorValue | undefined;
|
|
646
|
-
borderStartColor?: import("react-native").ColorValue | undefined;
|
|
647
|
-
borderTopEndRadius?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").RadiusTokens | undefined;
|
|
648
|
-
borderTopStartRadius?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").RadiusTokens | undefined;
|
|
649
|
-
aspectRatio?: string | number | undefined;
|
|
650
|
-
borderEndWidth?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
651
|
-
borderStartWidth?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
652
|
-
end?: string | number | undefined;
|
|
653
|
-
marginEnd?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
654
|
-
marginStart?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
655
|
-
paddingEnd?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
656
|
-
paddingStart?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
657
|
-
start?: string | number | undefined;
|
|
658
|
-
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
659
|
-
transform?: (import("react-native").PerpectiveTransform | import("react-native").RotateTransform | import("react-native").RotateXTransform | import("react-native").RotateYTransform | import("react-native").RotateZTransform | import("react-native").ScaleTransform | import("react-native").ScaleXTransform | import("react-native").ScaleYTransform | import("react-native").TranslateXTransform | import("react-native").TranslateYTransform | import("react-native").SkewXTransform | import("react-native").SkewYTransform | import("react-native").MatrixTransform)[] | undefined;
|
|
660
|
-
transformMatrix?: number[] | undefined;
|
|
661
|
-
rotation?: number | undefined;
|
|
662
|
-
scaleX?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
663
|
-
scaleY?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
664
|
-
translateX?: number | undefined;
|
|
665
|
-
translateY?: number | undefined;
|
|
666
|
-
x?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
667
|
-
y?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
668
|
-
perspective?: number | undefined;
|
|
669
|
-
scale?: import("@tamagui/web").ThemeValueFallback | import("@tamagui/web").SpaceTokens | undefined;
|
|
670
|
-
skewX?: string | undefined;
|
|
671
|
-
skewY?: string | undefined;
|
|
672
|
-
matrix?: number[] | undefined;
|
|
673
|
-
rotate?: string | undefined;
|
|
674
|
-
rotateY?: string | undefined;
|
|
675
|
-
rotateX?: string | undefined;
|
|
676
|
-
rotateZ?: string | undefined;
|
|
677
|
-
columnGap?: import("@tamagui/web").SpaceValue | undefined;
|
|
678
|
-
contain?: import("csstype").Property.Contain | undefined;
|
|
679
|
-
cursor?: import("csstype").Property.Cursor | undefined;
|
|
680
|
-
display?: "flex" | "none" | "inherit" | "inline" | "block" | "contents" | "inline-flex" | undefined;
|
|
681
|
-
gap?: import("@tamagui/web").SpaceValue | undefined;
|
|
682
|
-
outlineColor?: import("csstype").Property.OutlineColor | undefined;
|
|
683
|
-
outlineOffset?: import("@tamagui/web").SpaceValue | undefined;
|
|
684
|
-
outlineStyle?: import("csstype").Property.OutlineStyle | undefined;
|
|
685
|
-
outlineWidth?: import("@tamagui/web").SpaceValue | undefined;
|
|
686
|
-
rowGap?: import("@tamagui/web").SpaceValue | undefined;
|
|
687
|
-
spaceDirection?: import("@tamagui/web").SpaceDirection | undefined;
|
|
688
|
-
animation?: import("@tamagui/web").AnimationProp | null | undefined;
|
|
689
|
-
animateOnly?: string[] | undefined;
|
|
690
|
-
userSelect?: import("csstype").Property.UserSelect | undefined;
|
|
691
|
-
rel?: any;
|
|
692
|
-
download?: any;
|
|
693
|
-
onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
694
|
-
onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
695
|
-
onResponderEnd?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
696
|
-
onResponderGrant?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
697
|
-
onResponderReject?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
698
|
-
onResponderMove?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
699
|
-
onResponderRelease?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
700
|
-
onResponderStart?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
701
|
-
onResponderTerminationRequest?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
702
|
-
onResponderTerminate?: ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
703
|
-
onStartShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
704
|
-
onMoveShouldSetResponderCapture?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
705
|
-
dataSet?: Record<string, string | number | null | undefined> | undefined;
|
|
706
|
-
onScrollShouldSetResponder?: unknown;
|
|
707
|
-
onScrollShouldSetResponderCapture?: unknown;
|
|
708
|
-
onSelectionChangeShouldSetResponder?: unknown;
|
|
709
|
-
onSelectionChangeShouldSetResponderCapture?: unknown;
|
|
710
|
-
onLayout?: ((event: import("react-native").LayoutChangeEvent) => void) | undefined;
|
|
711
|
-
href?: string | undefined;
|
|
712
|
-
hrefAttrs?: {
|
|
713
|
-
target?: "top" | "_blank" | "_self" | "_top" | "blank" | "self" | undefined;
|
|
714
|
-
rel?: string | undefined;
|
|
715
|
-
download?: boolean | undefined;
|
|
716
|
-
} | undefined;
|
|
717
|
-
elevationAndroid?: string | number | undefined;
|
|
718
|
-
elevation?: SizeTokens | undefined;
|
|
719
|
-
transparent?: boolean | undefined;
|
|
720
|
-
hoverTheme?: boolean | undefined;
|
|
721
|
-
pressTheme?: boolean | undefined;
|
|
722
|
-
focusTheme?: boolean | undefined;
|
|
723
|
-
elevate?: boolean | undefined;
|
|
724
|
-
bordered?: number | boolean | undefined;
|
|
725
|
-
circular?: boolean | undefined;
|
|
726
|
-
backgrounded?: boolean | undefined;
|
|
727
|
-
radiused?: boolean | undefined;
|
|
728
|
-
padded?: boolean | undefined;
|
|
729
|
-
chromeless?: boolean | "all" | undefined;
|
|
730
|
-
fullscreen?: boolean | undefined;
|
|
731
|
-
/**
|
|
732
|
-
*
|
|
733
|
-
*/
|
|
734
|
-
unstyled?: boolean | undefined;
|
|
735
|
-
size?: SizeTokens | undefined;
|
|
736
|
-
active?: boolean | undefined;
|
|
737
|
-
hoverStyle?: Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
|
|
738
|
-
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
739
|
-
} & 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<{
|
|
740
|
-
readonly fullscreen?: boolean | undefined;
|
|
741
|
-
readonly elevation?: SizeTokens | undefined;
|
|
742
|
-
} & {
|
|
743
|
-
readonly backgrounded?: boolean | undefined;
|
|
744
|
-
readonly radiused?: boolean | undefined;
|
|
745
|
-
readonly hoverTheme?: boolean | undefined;
|
|
746
|
-
readonly pressTheme?: boolean | undefined;
|
|
747
|
-
readonly focusTheme?: boolean | undefined;
|
|
748
|
-
readonly circular?: boolean | undefined;
|
|
749
|
-
readonly padded?: boolean | undefined;
|
|
750
|
-
readonly elevate?: boolean | undefined;
|
|
751
|
-
readonly bordered?: number | boolean | undefined;
|
|
752
|
-
readonly transparent?: boolean | undefined;
|
|
753
|
-
readonly chromeless?: boolean | "all" | undefined;
|
|
754
|
-
}, "size" | "disabled" | "unstyled" | "active"> & {
|
|
755
|
-
readonly unstyled?: boolean | undefined;
|
|
756
|
-
readonly size?: SizeTokens | undefined;
|
|
757
|
-
readonly active?: boolean | undefined;
|
|
758
|
-
readonly disabled?: boolean | undefined;
|
|
759
|
-
}> | null | undefined;
|
|
760
|
-
pressStyle?: Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
|
|
761
|
-
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
762
|
-
} & 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<{
|
|
763
|
-
readonly fullscreen?: boolean | undefined;
|
|
764
|
-
readonly elevation?: SizeTokens | undefined;
|
|
765
|
-
} & {
|
|
766
|
-
readonly backgrounded?: boolean | undefined;
|
|
767
|
-
readonly radiused?: boolean | undefined;
|
|
768
|
-
readonly hoverTheme?: boolean | undefined;
|
|
769
|
-
readonly pressTheme?: boolean | undefined;
|
|
770
|
-
readonly focusTheme?: boolean | undefined;
|
|
771
|
-
readonly circular?: boolean | undefined;
|
|
772
|
-
readonly padded?: boolean | undefined;
|
|
773
|
-
readonly elevate?: boolean | undefined;
|
|
774
|
-
readonly bordered?: number | boolean | undefined;
|
|
775
|
-
readonly transparent?: boolean | undefined;
|
|
776
|
-
readonly chromeless?: boolean | "all" | undefined;
|
|
777
|
-
}, "size" | "disabled" | "unstyled" | "active"> & {
|
|
778
|
-
readonly unstyled?: boolean | undefined;
|
|
779
|
-
readonly size?: SizeTokens | undefined;
|
|
780
|
-
readonly active?: boolean | undefined;
|
|
781
|
-
readonly disabled?: boolean | undefined;
|
|
782
|
-
}> | null | undefined;
|
|
783
|
-
focusStyle?: Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
|
|
784
|
-
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
785
|
-
} & 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<{
|
|
786
|
-
readonly fullscreen?: boolean | undefined;
|
|
787
|
-
readonly elevation?: SizeTokens | undefined;
|
|
788
|
-
} & {
|
|
789
|
-
readonly backgrounded?: boolean | undefined;
|
|
790
|
-
readonly radiused?: boolean | undefined;
|
|
791
|
-
readonly hoverTheme?: boolean | undefined;
|
|
792
|
-
readonly pressTheme?: boolean | undefined;
|
|
793
|
-
readonly focusTheme?: boolean | undefined;
|
|
794
|
-
readonly circular?: boolean | undefined;
|
|
795
|
-
readonly padded?: boolean | undefined;
|
|
796
|
-
readonly elevate?: boolean | undefined;
|
|
797
|
-
readonly bordered?: number | boolean | undefined;
|
|
798
|
-
readonly transparent?: boolean | undefined;
|
|
799
|
-
readonly chromeless?: boolean | "all" | undefined;
|
|
800
|
-
}, "size" | "disabled" | "unstyled" | "active"> & {
|
|
801
|
-
readonly unstyled?: boolean | undefined;
|
|
802
|
-
readonly size?: SizeTokens | undefined;
|
|
803
|
-
readonly active?: boolean | undefined;
|
|
804
|
-
readonly disabled?: boolean | undefined;
|
|
805
|
-
}> | null | undefined;
|
|
806
|
-
exitStyle?: Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
|
|
807
|
-
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
808
|
-
} & 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<{
|
|
809
|
-
readonly fullscreen?: boolean | undefined;
|
|
810
|
-
readonly elevation?: SizeTokens | undefined;
|
|
811
|
-
} & {
|
|
812
|
-
readonly backgrounded?: boolean | undefined;
|
|
813
|
-
readonly radiused?: boolean | undefined;
|
|
814
|
-
readonly hoverTheme?: boolean | undefined;
|
|
815
|
-
readonly pressTheme?: boolean | undefined;
|
|
816
|
-
readonly focusTheme?: boolean | undefined;
|
|
817
|
-
readonly circular?: boolean | undefined;
|
|
818
|
-
readonly padded?: boolean | undefined;
|
|
819
|
-
readonly elevate?: boolean | undefined;
|
|
820
|
-
readonly bordered?: number | boolean | undefined;
|
|
821
|
-
readonly transparent?: boolean | undefined;
|
|
822
|
-
readonly chromeless?: boolean | "all" | undefined;
|
|
823
|
-
}, "size" | "disabled" | "unstyled" | "active"> & {
|
|
824
|
-
readonly unstyled?: boolean | undefined;
|
|
825
|
-
readonly size?: SizeTokens | undefined;
|
|
826
|
-
readonly active?: boolean | undefined;
|
|
827
|
-
readonly disabled?: boolean | undefined;
|
|
828
|
-
}> | null | undefined;
|
|
829
|
-
enterStyle?: Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
|
|
830
|
-
style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
|
|
831
|
-
} & 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<{
|
|
832
|
-
readonly fullscreen?: boolean | undefined;
|
|
833
|
-
readonly elevation?: SizeTokens | undefined;
|
|
834
|
-
} & {
|
|
835
|
-
readonly backgrounded?: boolean | undefined;
|
|
836
|
-
readonly radiused?: boolean | undefined;
|
|
837
|
-
readonly hoverTheme?: boolean | undefined;
|
|
838
|
-
readonly pressTheme?: boolean | undefined;
|
|
839
|
-
readonly focusTheme?: boolean | undefined;
|
|
840
|
-
readonly circular?: boolean | undefined;
|
|
841
|
-
readonly padded?: boolean | undefined;
|
|
842
|
-
readonly elevate?: boolean | undefined;
|
|
843
|
-
readonly bordered?: number | boolean | undefined;
|
|
844
|
-
readonly transparent?: boolean | undefined;
|
|
845
|
-
readonly chromeless?: boolean | "all" | undefined;
|
|
846
|
-
}, "size" | "disabled" | "unstyled" | "active"> & {
|
|
847
|
-
readonly unstyled?: boolean | undefined;
|
|
848
|
-
readonly size?: SizeTokens | undefined;
|
|
849
|
-
readonly active?: boolean | undefined;
|
|
850
|
-
readonly disabled?: boolean | undefined;
|
|
851
|
-
}> | null | undefined;
|
|
852
|
-
themeInverse?: boolean | undefined;
|
|
853
|
-
themeReset?: boolean | undefined;
|
|
854
|
-
};
|
|
479
|
+
props: Props;
|
|
855
480
|
};
|
|
856
481
|
export { Button, ButtonFrame, ButtonText, ButtonIcon, useButton, buttonStaticConfig, };
|
|
857
482
|
export type { ButtonProps };
|
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,QAAQ,EACR,UAAU,EAC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