@tamagui/demos 1.120.2 → 1.121.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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/demos",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.121.0",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -46,29 +46,29 @@
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@tamagui/avatar": "1.
|
|
50
|
-
"@tamagui/button": "1.
|
|
51
|
-
"@tamagui/config": "1.
|
|
52
|
-
"@tamagui/core": "1.
|
|
53
|
-
"@tamagui/list-item": "1.
|
|
54
|
-
"@tamagui/logo": "1.
|
|
55
|
-
"@tamagui/lucide-icons": "1.
|
|
56
|
-
"@tamagui/menu": "1.
|
|
57
|
-
"@tamagui/popover": "1.
|
|
58
|
-
"@tamagui/progress": "1.
|
|
59
|
-
"@tamagui/radio-group": "1.
|
|
60
|
-
"@tamagui/select": "1.
|
|
61
|
-
"@tamagui/sheet": "1.
|
|
62
|
-
"@tamagui/slider": "1.
|
|
63
|
-
"@tamagui/stacks": "1.
|
|
64
|
-
"@tamagui/toast": "1.
|
|
65
|
-
"tamagui": "1.
|
|
49
|
+
"@tamagui/avatar": "1.121.0",
|
|
50
|
+
"@tamagui/button": "1.121.0",
|
|
51
|
+
"@tamagui/config": "1.121.0",
|
|
52
|
+
"@tamagui/core": "1.121.0",
|
|
53
|
+
"@tamagui/list-item": "1.121.0",
|
|
54
|
+
"@tamagui/logo": "1.121.0",
|
|
55
|
+
"@tamagui/lucide-icons": "1.121.0",
|
|
56
|
+
"@tamagui/menu": "1.121.0",
|
|
57
|
+
"@tamagui/popover": "1.121.0",
|
|
58
|
+
"@tamagui/progress": "1.121.0",
|
|
59
|
+
"@tamagui/radio-group": "1.121.0",
|
|
60
|
+
"@tamagui/select": "1.121.0",
|
|
61
|
+
"@tamagui/sheet": "1.121.0",
|
|
62
|
+
"@tamagui/slider": "1.121.0",
|
|
63
|
+
"@tamagui/stacks": "1.121.0",
|
|
64
|
+
"@tamagui/toast": "1.121.0",
|
|
65
|
+
"tamagui": "1.121.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"react": "*"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@tamagui/build": "1.
|
|
71
|
+
"@tamagui/build": "1.121.0",
|
|
72
72
|
"react": "*"
|
|
73
73
|
},
|
|
74
74
|
"publishConfig": {
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
2
2
|
size?: import("tamagui").SizeTokens | undefined;
|
|
3
|
-
unstyled?: boolean | undefined;
|
|
4
3
|
disabled?: boolean | undefined;
|
|
5
4
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
6
|
-
transparent?: boolean | undefined;
|
|
7
|
-
fullscreen?: boolean | undefined;
|
|
8
|
-
circular?: boolean | undefined;
|
|
9
5
|
inset?: number | import("tamagui").SizeTokens | {
|
|
10
6
|
top?: number;
|
|
11
7
|
bottom?: number;
|
|
12
8
|
left?: number;
|
|
13
9
|
right?: number;
|
|
14
|
-
} | undefined;
|
|
10
|
+
} | null | undefined;
|
|
11
|
+
transparent?: boolean | undefined;
|
|
12
|
+
fullscreen?: boolean | undefined;
|
|
13
|
+
circular?: boolean | undefined;
|
|
15
14
|
hoverTheme?: boolean | undefined;
|
|
16
15
|
pressTheme?: boolean | undefined;
|
|
17
16
|
focusTheme?: boolean | undefined;
|
|
@@ -21,7 +20,8 @@ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
21
20
|
radiused?: boolean | undefined;
|
|
22
21
|
padded?: boolean | undefined;
|
|
23
22
|
chromeless?: boolean | "all" | undefined;
|
|
24
|
-
|
|
23
|
+
unstyled?: boolean | undefined;
|
|
24
|
+
}>, "theme" | "native" | "debug" | "background" | "borderColor" | "shadowColor" | "size" | "space" | "zIndex" | "width" | "height" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingHorizontal" | "paddingVertical" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "marginHorizontal" | "marginVertical" | "flex" | "flexDirection" | "flexWrap" | "flexGrow" | "flexShrink" | "flexBasis" | "alignItems" | "alignContent" | "justifyContent" | "alignSelf" | "backgroundColor" | "borderRadius" | "borderTopRightRadius" | "borderBottomRightRadius" | "borderBottomLeftRadius" | "borderTopLeftRadius" | "left" | "right" | "children" | "className" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onBlur" | "style" | "id" | "testID" | "nativeID" | "disabled" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "themeShallow" | "themeInverse" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "hitSlop" | "display" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "transition" | "textWrap" | "contain" | "touchAction" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "scrollbarWidth" | "pointerEvents" | "transformOrigin" | "filter" | "mixBlendMode" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "backdropFilter" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "animatePresence" | "backfaceVisibility" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "boxShadow" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "rowGap" | "gap" | "columnGap" | "marginEnd" | "marginStart" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "paddingEnd" | "paddingStart" | "position" | "start" | "top" | "direction" | "inset" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "unstyled" | "name" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | `$${string}` | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | `$${number}` | "value" | "scaleIcon" | "checked" | "defaultChecked" | "required" | "onCheckedChange" | "labelledBy" | "scaleSize" | "sizeAdjust" | `$group-${string}` | `$group-${number}` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focus` | `$group-${string}-focusVisible` | `$group-${number}-hover` | `$group-${number}-press` | `$group-${number}-focus` | `$group-${number}-focusVisible` | `$theme-${string}` | `$theme-${number}`> & import("tamagui").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
25
25
|
scaleIcon?: number;
|
|
26
26
|
scaleSize?: number;
|
|
27
27
|
sizeAdjust?: number;
|
|
@@ -31,18 +31,17 @@ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
31
31
|
unstyled?: boolean;
|
|
32
32
|
} & import("react").RefAttributes<import("tamagui").TamaguiElement>> & import("@tamagui/core").StaticComponentObject<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
33
33
|
size?: import("tamagui").SizeTokens | undefined;
|
|
34
|
-
unstyled?: boolean | undefined;
|
|
35
34
|
disabled?: boolean | undefined;
|
|
36
35
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
37
|
-
transparent?: boolean | undefined;
|
|
38
|
-
fullscreen?: boolean | undefined;
|
|
39
|
-
circular?: boolean | undefined;
|
|
40
36
|
inset?: number | import("tamagui").SizeTokens | {
|
|
41
37
|
top?: number;
|
|
42
38
|
bottom?: number;
|
|
43
39
|
left?: number;
|
|
44
40
|
right?: number;
|
|
45
|
-
} | undefined;
|
|
41
|
+
} | null | undefined;
|
|
42
|
+
transparent?: boolean | undefined;
|
|
43
|
+
fullscreen?: boolean | undefined;
|
|
44
|
+
circular?: boolean | undefined;
|
|
46
45
|
hoverTheme?: boolean | undefined;
|
|
47
46
|
pressTheme?: boolean | undefined;
|
|
48
47
|
focusTheme?: boolean | undefined;
|
|
@@ -52,7 +51,8 @@ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
52
51
|
radiused?: boolean | undefined;
|
|
53
52
|
padded?: boolean | undefined;
|
|
54
53
|
chromeless?: boolean | "all" | undefined;
|
|
55
|
-
|
|
54
|
+
unstyled?: boolean | undefined;
|
|
55
|
+
}>, "theme" | "native" | "debug" | "background" | "borderColor" | "shadowColor" | "size" | "space" | "zIndex" | "width" | "height" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingHorizontal" | "paddingVertical" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "marginHorizontal" | "marginVertical" | "flex" | "flexDirection" | "flexWrap" | "flexGrow" | "flexShrink" | "flexBasis" | "alignItems" | "alignContent" | "justifyContent" | "alignSelf" | "backgroundColor" | "borderRadius" | "borderTopRightRadius" | "borderBottomRightRadius" | "borderBottomLeftRadius" | "borderTopLeftRadius" | "left" | "right" | "children" | "className" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onBlur" | "style" | "id" | "testID" | "nativeID" | "disabled" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "themeShallow" | "themeInverse" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "hitSlop" | "display" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "transition" | "textWrap" | "contain" | "touchAction" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "scrollbarWidth" | "pointerEvents" | "transformOrigin" | "filter" | "mixBlendMode" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "backdropFilter" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "animatePresence" | "backfaceVisibility" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "boxShadow" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "rowGap" | "gap" | "columnGap" | "marginEnd" | "marginStart" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "paddingEnd" | "paddingStart" | "position" | "start" | "top" | "direction" | "inset" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "unstyled" | "name" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | `$${string}` | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | `$${number}` | "value" | "scaleIcon" | "checked" | "defaultChecked" | "required" | "onCheckedChange" | "labelledBy" | "scaleSize" | "sizeAdjust" | `$group-${string}` | `$group-${number}` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focus` | `$group-${string}-focusVisible` | `$group-${number}-hover` | `$group-${number}-press` | `$group-${number}-focus` | `$group-${number}-focusVisible` | `$theme-${string}` | `$theme-${number}`> & import("tamagui").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
56
56
|
scaleIcon?: number;
|
|
57
57
|
scaleSize?: number;
|
|
58
58
|
sizeAdjust?: number;
|
|
@@ -70,18 +70,17 @@ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
70
70
|
unstyled?: boolean;
|
|
71
71
|
}, import("@tamagui/core").StackStyleBase, {
|
|
72
72
|
size?: import("tamagui").SizeTokens | undefined;
|
|
73
|
-
unstyled?: boolean | undefined;
|
|
74
73
|
disabled?: boolean | undefined;
|
|
75
74
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
76
|
-
transparent?: boolean | undefined;
|
|
77
|
-
fullscreen?: boolean | undefined;
|
|
78
|
-
circular?: boolean | undefined;
|
|
79
75
|
inset?: number | import("tamagui").SizeTokens | {
|
|
80
76
|
top?: number;
|
|
81
77
|
bottom?: number;
|
|
82
78
|
left?: number;
|
|
83
79
|
right?: number;
|
|
84
|
-
} | undefined;
|
|
80
|
+
} | null | undefined;
|
|
81
|
+
transparent?: boolean | undefined;
|
|
82
|
+
fullscreen?: boolean | undefined;
|
|
83
|
+
circular?: boolean | undefined;
|
|
85
84
|
hoverTheme?: boolean | undefined;
|
|
86
85
|
pressTheme?: boolean | undefined;
|
|
87
86
|
focusTheme?: boolean | undefined;
|
|
@@ -91,21 +90,21 @@ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
91
90
|
radiused?: boolean | undefined;
|
|
92
91
|
padded?: boolean | undefined;
|
|
93
92
|
chromeless?: boolean | "all" | undefined;
|
|
93
|
+
unstyled?: boolean | undefined;
|
|
94
94
|
}, import("@tamagui/core").StaticConfigPublic> & Omit<import("@tamagui/core").StaticConfigPublic, "staticConfig" | "extractable" | "styleable"> & {
|
|
95
95
|
__tama: [Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
96
96
|
size?: import("tamagui").SizeTokens | undefined;
|
|
97
|
-
unstyled?: boolean | undefined;
|
|
98
97
|
disabled?: boolean | undefined;
|
|
99
98
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
100
|
-
transparent?: boolean | undefined;
|
|
101
|
-
fullscreen?: boolean | undefined;
|
|
102
|
-
circular?: boolean | undefined;
|
|
103
99
|
inset?: number | import("tamagui").SizeTokens | {
|
|
104
100
|
top?: number;
|
|
105
101
|
bottom?: number;
|
|
106
102
|
left?: number;
|
|
107
103
|
right?: number;
|
|
108
|
-
} | undefined;
|
|
104
|
+
} | null | undefined;
|
|
105
|
+
transparent?: boolean | undefined;
|
|
106
|
+
fullscreen?: boolean | undefined;
|
|
107
|
+
circular?: boolean | undefined;
|
|
109
108
|
hoverTheme?: boolean | undefined;
|
|
110
109
|
pressTheme?: boolean | undefined;
|
|
111
110
|
focusTheme?: boolean | undefined;
|
|
@@ -115,7 +114,8 @@ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
115
114
|
radiused?: boolean | undefined;
|
|
116
115
|
padded?: boolean | undefined;
|
|
117
116
|
chromeless?: boolean | "all" | undefined;
|
|
118
|
-
|
|
117
|
+
unstyled?: boolean | undefined;
|
|
118
|
+
}>, "theme" | "native" | "debug" | "scaleIcon" | "space" | "size" | "zIndex" | `$${string}` | `$${number}` | `$group-${string}` | `$group-${number}` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focus` | `$group-${string}-focusVisible` | `$group-${number}-hover` | `$group-${number}-press` | `$group-${number}-focus` | `$group-${number}-focusVisible` | `$theme-${string}` | `$theme-${number}` | "name" | "hitSlop" | "pointerEvents" | "display" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "themeInverse" | "id" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "style" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onBlur" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "transition" | "textWrap" | "contain" | "touchAction" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "scrollbarWidth" | "transformOrigin" | "filter" | "mixBlendMode" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "background" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "backdropFilter" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "animatePresence" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "boxShadow" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "direction" | "inset" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "unstyled" | "value" | "checked" | "defaultChecked" | "required" | "onCheckedChange" | "labelledBy" | "scaleSize" | "sizeAdjust"> & import("tamagui").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & import("@tamagui/checkbox-headless").CheckboxExtraProps & {
|
|
119
119
|
scaleIcon?: number;
|
|
120
120
|
scaleSize?: number;
|
|
121
121
|
sizeAdjust?: number;
|
|
@@ -133,18 +133,17 @@ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
133
133
|
unstyled?: boolean;
|
|
134
134
|
}, import("@tamagui/core").StackStyleBase, {
|
|
135
135
|
size?: import("tamagui").SizeTokens | undefined;
|
|
136
|
-
unstyled?: boolean | undefined;
|
|
137
136
|
disabled?: boolean | undefined;
|
|
138
137
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
139
|
-
transparent?: boolean | undefined;
|
|
140
|
-
fullscreen?: boolean | undefined;
|
|
141
|
-
circular?: boolean | undefined;
|
|
142
138
|
inset?: number | import("tamagui").SizeTokens | {
|
|
143
139
|
top?: number;
|
|
144
140
|
bottom?: number;
|
|
145
141
|
left?: number;
|
|
146
142
|
right?: number;
|
|
147
|
-
} | undefined;
|
|
143
|
+
} | null | undefined;
|
|
144
|
+
transparent?: boolean | undefined;
|
|
145
|
+
fullscreen?: boolean | undefined;
|
|
146
|
+
circular?: boolean | undefined;
|
|
148
147
|
hoverTheme?: boolean | undefined;
|
|
149
148
|
pressTheme?: boolean | undefined;
|
|
150
149
|
focusTheme?: boolean | undefined;
|
|
@@ -154,20 +153,20 @@ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
154
153
|
radiused?: boolean | undefined;
|
|
155
154
|
padded?: boolean | undefined;
|
|
156
155
|
chromeless?: boolean | "all" | undefined;
|
|
156
|
+
unstyled?: boolean | undefined;
|
|
157
157
|
}, import("@tamagui/core").StaticConfigPublic];
|
|
158
158
|
} & {
|
|
159
159
|
Indicator: import("tamagui").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
160
|
-
unstyled?: boolean | undefined;
|
|
161
160
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
162
|
-
transparent?: boolean | undefined;
|
|
163
|
-
fullscreen?: boolean | undefined;
|
|
164
|
-
circular?: boolean | undefined;
|
|
165
161
|
inset?: number | import("tamagui").SizeTokens | {
|
|
166
162
|
top?: number;
|
|
167
163
|
bottom?: number;
|
|
168
164
|
left?: number;
|
|
169
165
|
right?: number;
|
|
170
|
-
} | undefined;
|
|
166
|
+
} | null | undefined;
|
|
167
|
+
transparent?: boolean | undefined;
|
|
168
|
+
fullscreen?: boolean | undefined;
|
|
169
|
+
circular?: boolean | undefined;
|
|
171
170
|
hoverTheme?: boolean | undefined;
|
|
172
171
|
pressTheme?: boolean | undefined;
|
|
173
172
|
focusTheme?: boolean | undefined;
|
|
@@ -177,6 +176,7 @@ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
177
176
|
radiused?: boolean | undefined;
|
|
178
177
|
padded?: boolean | undefined;
|
|
179
178
|
chromeless?: boolean | "all" | undefined;
|
|
179
|
+
unstyled?: boolean | undefined;
|
|
180
180
|
}>, `$${string}` | `$${number}` | import("@tamagui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | keyof import("tamagui").StackNonStyleProps | keyof import("@tamagui/core").StackStyleBase | keyof import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> | keyof {
|
|
181
181
|
forceMount?: boolean;
|
|
182
182
|
disablePassStyles?: boolean;
|
|
@@ -187,17 +187,16 @@ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
187
187
|
forceMount?: boolean;
|
|
188
188
|
disablePassStyles?: boolean;
|
|
189
189
|
}, import("@tamagui/core").StackStyleBase, {
|
|
190
|
-
unstyled?: boolean | undefined;
|
|
191
190
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
192
|
-
transparent?: boolean | undefined;
|
|
193
|
-
fullscreen?: boolean | undefined;
|
|
194
|
-
circular?: boolean | undefined;
|
|
195
191
|
inset?: number | import("tamagui").SizeTokens | {
|
|
196
192
|
top?: number;
|
|
197
193
|
bottom?: number;
|
|
198
194
|
left?: number;
|
|
199
195
|
right?: number;
|
|
200
|
-
} | undefined;
|
|
196
|
+
} | null | undefined;
|
|
197
|
+
transparent?: boolean | undefined;
|
|
198
|
+
fullscreen?: boolean | undefined;
|
|
199
|
+
circular?: boolean | undefined;
|
|
201
200
|
hoverTheme?: boolean | undefined;
|
|
202
201
|
pressTheme?: boolean | undefined;
|
|
203
202
|
focusTheme?: boolean | undefined;
|
|
@@ -207,6 +206,7 @@ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
207
206
|
radiused?: boolean | undefined;
|
|
208
207
|
padded?: boolean | undefined;
|
|
209
208
|
chromeless?: boolean | "all" | undefined;
|
|
209
|
+
unstyled?: boolean | undefined;
|
|
210
210
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
211
211
|
};
|
|
212
212
|
export declare function CheckboxUnstyledDemo(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckboxUnstyledDemo.d.ts","sourceRoot":"","sources":["../src/CheckboxUnstyledDemo.tsx"],"names":[],"mappings":"AA8BA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"CheckboxUnstyledDemo.d.ts","sourceRoot":"","sources":["../src/CheckboxUnstyledDemo.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
export declare const Switch: import("react").ForwardRefExoticComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
2
2
|
size?: import("tamagui").SizeTokens | undefined;
|
|
3
|
-
unstyled?: boolean | undefined;
|
|
4
|
-
checked?: boolean | undefined;
|
|
5
3
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
6
|
-
fullscreen?: boolean | undefined;
|
|
7
4
|
inset?: number | import("tamagui").SizeTokens | {
|
|
8
5
|
top?: number;
|
|
9
6
|
bottom?: number;
|
|
10
7
|
left?: number;
|
|
11
8
|
right?: number;
|
|
12
|
-
} | undefined;
|
|
13
|
-
|
|
9
|
+
} | null | undefined;
|
|
10
|
+
fullscreen?: boolean | undefined;
|
|
11
|
+
unstyled?: boolean | undefined;
|
|
12
|
+
checked?: boolean | undefined;
|
|
13
|
+
}>, "theme" | "native" | "debug" | "background" | "borderColor" | "shadowColor" | "size" | "space" | "zIndex" | "width" | "height" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingHorizontal" | "paddingVertical" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "marginHorizontal" | "marginVertical" | "flex" | "flexDirection" | "flexWrap" | "flexGrow" | "flexShrink" | "flexBasis" | "alignItems" | "alignContent" | "justifyContent" | "alignSelf" | "backgroundColor" | "borderRadius" | "borderTopRightRadius" | "borderBottomRightRadius" | "borderBottomLeftRadius" | "borderTopLeftRadius" | "left" | "right" | "children" | "className" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onBlur" | "style" | "id" | "testID" | "nativeID" | "disabled" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "themeShallow" | "themeInverse" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "hitSlop" | "display" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "transition" | "textWrap" | "contain" | "touchAction" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "scrollbarWidth" | "pointerEvents" | "transformOrigin" | "filter" | "mixBlendMode" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "backdropFilter" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "animatePresence" | "backfaceVisibility" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "boxShadow" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "rowGap" | "gap" | "columnGap" | "marginEnd" | "marginStart" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "paddingEnd" | "paddingStart" | "position" | "start" | "top" | "direction" | "inset" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "unstyled" | "name" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | `$${string}` | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | `$${number}` | "value" | "checked" | "defaultChecked" | "required" | "onCheckedChange" | `$group-${string}` | `$group-${number}` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focus` | `$group-${string}-focusVisible` | `$group-${number}-hover` | `$group-${number}-press` | `$group-${number}-focus` | `$group-${number}-focusVisible` | `$theme-${string}` | `$theme-${number}` | "labeledBy" | "nativeProps"> & import("tamagui").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & {
|
|
14
14
|
size?: import("tamagui").SizeTokens | number;
|
|
15
15
|
unstyled?: boolean;
|
|
16
16
|
} & import("@tamagui/switch-headless").SwitchExtraProps & {
|
|
@@ -18,17 +18,17 @@ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
18
18
|
nativeProps?: import("react-native").SwitchProps;
|
|
19
19
|
} & import("react").RefAttributes<import("tamagui").TamaguiElement>> & import("@tamagui/core").StaticComponentObject<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
20
20
|
size?: import("tamagui").SizeTokens | undefined;
|
|
21
|
-
unstyled?: boolean | undefined;
|
|
22
|
-
checked?: boolean | undefined;
|
|
23
21
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
24
|
-
fullscreen?: boolean | undefined;
|
|
25
22
|
inset?: number | import("tamagui").SizeTokens | {
|
|
26
23
|
top?: number;
|
|
27
24
|
bottom?: number;
|
|
28
25
|
left?: number;
|
|
29
26
|
right?: number;
|
|
30
|
-
} | undefined;
|
|
31
|
-
|
|
27
|
+
} | null | undefined;
|
|
28
|
+
fullscreen?: boolean | undefined;
|
|
29
|
+
unstyled?: boolean | undefined;
|
|
30
|
+
checked?: boolean | undefined;
|
|
31
|
+
}>, "theme" | "native" | "debug" | "background" | "borderColor" | "shadowColor" | "size" | "space" | "zIndex" | "width" | "height" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingHorizontal" | "paddingVertical" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "marginHorizontal" | "marginVertical" | "flex" | "flexDirection" | "flexWrap" | "flexGrow" | "flexShrink" | "flexBasis" | "alignItems" | "alignContent" | "justifyContent" | "alignSelf" | "backgroundColor" | "borderRadius" | "borderTopRightRadius" | "borderBottomRightRadius" | "borderBottomLeftRadius" | "borderTopLeftRadius" | "left" | "right" | "children" | "className" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onBlur" | "style" | "id" | "testID" | "nativeID" | "disabled" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "role" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "themeShallow" | "themeInverse" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "disableOptimization" | "forceStyle" | "disableClassName" | "hitSlop" | "display" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "transition" | "textWrap" | "contain" | "touchAction" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "scrollbarWidth" | "pointerEvents" | "transformOrigin" | "filter" | "mixBlendMode" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "backdropFilter" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "animatePresence" | "backfaceVisibility" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomStartRadius" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "boxShadow" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "rowGap" | "gap" | "columnGap" | "marginEnd" | "marginStart" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "paddingEnd" | "paddingStart" | "position" | "start" | "top" | "direction" | "inset" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "unstyled" | "name" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | `$${string}` | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | `$${number}` | "value" | "checked" | "defaultChecked" | "required" | "onCheckedChange" | `$group-${string}` | `$group-${number}` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focus` | `$group-${string}-focusVisible` | `$group-${number}-hover` | `$group-${number}-press` | `$group-${number}-focus` | `$group-${number}-focusVisible` | `$theme-${string}` | `$theme-${number}` | "labeledBy" | "nativeProps"> & import("tamagui").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & {
|
|
32
32
|
size?: import("tamagui").SizeTokens | number;
|
|
33
33
|
unstyled?: boolean;
|
|
34
34
|
} & import("@tamagui/switch-headless").SwitchExtraProps & {
|
|
@@ -42,30 +42,30 @@ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
42
42
|
nativeProps?: import("react-native").SwitchProps;
|
|
43
43
|
}, import("@tamagui/core").StackStyleBase, {
|
|
44
44
|
size?: import("tamagui").SizeTokens | undefined;
|
|
45
|
-
unstyled?: boolean | undefined;
|
|
46
|
-
checked?: boolean | undefined;
|
|
47
45
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
48
|
-
fullscreen?: boolean | undefined;
|
|
49
46
|
inset?: number | import("tamagui").SizeTokens | {
|
|
50
47
|
top?: number;
|
|
51
48
|
bottom?: number;
|
|
52
49
|
left?: number;
|
|
53
50
|
right?: number;
|
|
54
|
-
} | undefined;
|
|
51
|
+
} | null | undefined;
|
|
52
|
+
fullscreen?: boolean | undefined;
|
|
53
|
+
unstyled?: boolean | undefined;
|
|
54
|
+
checked?: boolean | undefined;
|
|
55
55
|
}, import("@tamagui/core").StaticConfigPublic> & Omit<import("@tamagui/core").StaticConfigPublic, "staticConfig" | "extractable" | "styleable"> & {
|
|
56
56
|
__tama: [Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
57
57
|
size?: import("tamagui").SizeTokens | undefined;
|
|
58
|
-
unstyled?: boolean | undefined;
|
|
59
|
-
checked?: boolean | undefined;
|
|
60
58
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
61
|
-
fullscreen?: boolean | undefined;
|
|
62
59
|
inset?: number | import("tamagui").SizeTokens | {
|
|
63
60
|
top?: number;
|
|
64
61
|
bottom?: number;
|
|
65
62
|
left?: number;
|
|
66
63
|
right?: number;
|
|
67
|
-
} | undefined;
|
|
68
|
-
|
|
64
|
+
} | null | undefined;
|
|
65
|
+
fullscreen?: boolean | undefined;
|
|
66
|
+
unstyled?: boolean | undefined;
|
|
67
|
+
checked?: boolean | undefined;
|
|
68
|
+
}>, "theme" | "native" | "debug" | "space" | "size" | "zIndex" | `$${string}` | `$${number}` | `$group-${string}` | `$group-${number}` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focus` | `$group-${string}-focusVisible` | `$group-${number}-hover` | `$group-${number}-press` | `$group-${number}-focus` | `$group-${number}-focusVisible` | `$theme-${string}` | `$theme-${number}` | "name" | "hitSlop" | "pointerEvents" | "display" | "children" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "className" | "themeShallow" | "themeInverse" | "id" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "role" | "disableOptimization" | "forceStyle" | "disableClassName" | "style" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "testID" | "nativeID" | "collapsable" | "collapsableChildren" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-modal" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onBlur" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "transition" | "textWrap" | "contain" | "touchAction" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "userSelect" | "scrollbarWidth" | "transformOrigin" | "filter" | "mixBlendMode" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "backgroundClip" | "backgroundBlendMode" | "backgroundAttachment" | "background" | "clipPath" | "caretColor" | "transformStyle" | "mask" | "maskImage" | "textEmphasis" | "borderImage" | "float" | "content" | "overflowBlock" | "overflowInline" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridTemplateColumns" | "gridTemplateAreas" | "backdropFilter" | "containerType" | "blockSize" | "inlineSize" | "minBlockSize" | "maxBlockSize" | "objectFit" | "verticalAlign" | "minInlineSize" | "maxInlineSize" | "borderInlineColor" | "borderInlineStartColor" | "borderInlineEndColor" | "borderBlockWidth" | "borderBlockStartWidth" | "borderBlockEndWidth" | "borderInlineWidth" | "borderInlineStartWidth" | "borderInlineEndWidth" | "borderBlockStyle" | "borderBlockStartStyle" | "borderBlockEndStyle" | "borderInlineStyle" | "borderInlineStartStyle" | "borderInlineEndStyle" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "insetBlock" | "insetBlockStart" | "insetBlockEnd" | "insetInline" | "insetInlineStart" | "insetInlineEnd" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "animatePresence" | "backfaceVisibility" | "backgroundColor" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRadius" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "isolation" | "boxShadow" | "alignContent" | "alignItems" | "alignSelf" | "aspectRatio" | "borderBottomWidth" | "borderEndWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStartWidth" | "borderTopWidth" | "borderWidth" | "bottom" | "end" | "flex" | "flexBasis" | "flexDirection" | "rowGap" | "gap" | "columnGap" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "justifyContent" | "left" | "margin" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "padding" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "position" | "right" | "start" | "top" | "width" | "direction" | "inset" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "unstyled" | "checked" | "value" | "labeledBy" | "defaultChecked" | "required" | "onCheckedChange" | "nativeProps"> & import("tamagui").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & {
|
|
69
69
|
size?: import("tamagui").SizeTokens | number;
|
|
70
70
|
unstyled?: boolean;
|
|
71
71
|
} & import("@tamagui/switch-headless").SwitchExtraProps & {
|
|
@@ -79,32 +79,30 @@ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
79
79
|
nativeProps?: import("react-native").SwitchProps;
|
|
80
80
|
}, import("@tamagui/core").StackStyleBase, {
|
|
81
81
|
size?: import("tamagui").SizeTokens | undefined;
|
|
82
|
-
unstyled?: boolean | undefined;
|
|
83
|
-
checked?: boolean | undefined;
|
|
84
82
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
85
|
-
fullscreen?: boolean | undefined;
|
|
86
83
|
inset?: number | import("tamagui").SizeTokens | {
|
|
87
84
|
top?: number;
|
|
88
85
|
bottom?: number;
|
|
89
86
|
left?: number;
|
|
90
87
|
right?: number;
|
|
91
|
-
} | undefined;
|
|
88
|
+
} | null | undefined;
|
|
89
|
+
fullscreen?: boolean | undefined;
|
|
90
|
+
unstyled?: boolean | undefined;
|
|
91
|
+
checked?: boolean | undefined;
|
|
92
92
|
}, import("@tamagui/core").StaticConfigPublic];
|
|
93
93
|
} & {
|
|
94
94
|
Thumb: import("tamagui").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
95
95
|
size?: import("tamagui").SizeTokens | undefined;
|
|
96
|
-
unstyled?: boolean | undefined;
|
|
97
|
-
checked?: boolean | undefined;
|
|
98
96
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
99
|
-
transparent?: boolean | undefined;
|
|
100
|
-
fullscreen?: boolean | undefined;
|
|
101
|
-
circular?: boolean | undefined;
|
|
102
97
|
inset?: number | import("tamagui").SizeTokens | {
|
|
103
98
|
top?: number;
|
|
104
99
|
bottom?: number;
|
|
105
100
|
left?: number;
|
|
106
101
|
right?: number;
|
|
107
|
-
} | undefined;
|
|
102
|
+
} | null | undefined;
|
|
103
|
+
transparent?: boolean | undefined;
|
|
104
|
+
fullscreen?: boolean | undefined;
|
|
105
|
+
circular?: boolean | undefined;
|
|
108
106
|
hoverTheme?: boolean | undefined;
|
|
109
107
|
pressTheme?: boolean | undefined;
|
|
110
108
|
focusTheme?: boolean | undefined;
|
|
@@ -114,6 +112,8 @@ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
114
112
|
radiused?: boolean | undefined;
|
|
115
113
|
padded?: boolean | undefined;
|
|
116
114
|
chromeless?: boolean | "all" | undefined;
|
|
115
|
+
unstyled?: boolean | undefined;
|
|
116
|
+
checked?: boolean | undefined;
|
|
117
117
|
}>, `$${string}` | `$${number}` | import("@tamagui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | keyof import("tamagui").StackNonStyleProps | keyof import("@tamagui/core").StackStyleBase | keyof import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> | keyof {
|
|
118
118
|
size?: import("tamagui").SizeTokens | number;
|
|
119
119
|
unstyled?: boolean;
|
|
@@ -125,18 +125,16 @@ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
125
125
|
unstyled?: boolean;
|
|
126
126
|
}, import("@tamagui/core").StackStyleBase, {
|
|
127
127
|
size?: import("tamagui").SizeTokens | undefined;
|
|
128
|
-
unstyled?: boolean | undefined;
|
|
129
|
-
checked?: boolean | undefined;
|
|
130
128
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
131
|
-
transparent?: boolean | undefined;
|
|
132
|
-
fullscreen?: boolean | undefined;
|
|
133
|
-
circular?: boolean | undefined;
|
|
134
129
|
inset?: number | import("tamagui").SizeTokens | {
|
|
135
130
|
top?: number;
|
|
136
131
|
bottom?: number;
|
|
137
132
|
left?: number;
|
|
138
133
|
right?: number;
|
|
139
|
-
} | undefined;
|
|
134
|
+
} | null | undefined;
|
|
135
|
+
transparent?: boolean | undefined;
|
|
136
|
+
fullscreen?: boolean | undefined;
|
|
137
|
+
circular?: boolean | undefined;
|
|
140
138
|
hoverTheme?: boolean | undefined;
|
|
141
139
|
pressTheme?: boolean | undefined;
|
|
142
140
|
focusTheme?: boolean | undefined;
|
|
@@ -146,6 +144,8 @@ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
146
144
|
radiused?: boolean | undefined;
|
|
147
145
|
padded?: boolean | undefined;
|
|
148
146
|
chromeless?: boolean | "all" | undefined;
|
|
147
|
+
unstyled?: boolean | undefined;
|
|
148
|
+
checked?: boolean | undefined;
|
|
149
149
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
150
150
|
};
|
|
151
151
|
export declare function SwitchUnstyledDemo(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwitchUnstyledDemo.d.ts","sourceRoot":"","sources":["../src/SwitchUnstyledDemo.tsx"],"names":[],"mappings":"AA0CA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"SwitchUnstyledDemo.d.ts","sourceRoot":"","sources":["../src/SwitchUnstyledDemo.tsx"],"names":[],"mappings":"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"}
|