@tamagui/demos 1.120.2 → 1.121.1
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.1",
|
|
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.1",
|
|
50
|
+
"@tamagui/button": "1.121.1",
|
|
51
|
+
"@tamagui/config": "1.121.1",
|
|
52
|
+
"@tamagui/core": "1.121.1",
|
|
53
|
+
"@tamagui/list-item": "1.121.1",
|
|
54
|
+
"@tamagui/logo": "1.121.1",
|
|
55
|
+
"@tamagui/lucide-icons": "1.121.1",
|
|
56
|
+
"@tamagui/menu": "1.121.1",
|
|
57
|
+
"@tamagui/popover": "1.121.1",
|
|
58
|
+
"@tamagui/progress": "1.121.1",
|
|
59
|
+
"@tamagui/radio-group": "1.121.1",
|
|
60
|
+
"@tamagui/select": "1.121.1",
|
|
61
|
+
"@tamagui/sheet": "1.121.1",
|
|
62
|
+
"@tamagui/slider": "1.121.1",
|
|
63
|
+
"@tamagui/stacks": "1.121.1",
|
|
64
|
+
"@tamagui/toast": "1.121.1",
|
|
65
|
+
"tamagui": "1.121.1"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"react": "*"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@tamagui/build": "1.
|
|
71
|
+
"@tamagui/build": "1.121.1",
|
|
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
|
-
size?: import("tamagui").SizeTokens | undefined;
|
|
3
|
-
unstyled?: boolean | undefined;
|
|
4
2
|
disabled?: boolean | undefined;
|
|
5
3
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
6
|
-
transparent?: boolean | undefined;
|
|
7
|
-
fullscreen?: boolean | undefined;
|
|
8
|
-
circular?: boolean | undefined;
|
|
9
4
|
inset?: number | import("tamagui").SizeTokens | {
|
|
10
5
|
top?: number;
|
|
11
6
|
bottom?: number;
|
|
12
7
|
left?: number;
|
|
13
8
|
right?: number;
|
|
14
|
-
} | undefined;
|
|
9
|
+
} | null | undefined;
|
|
10
|
+
size?: import("tamagui").SizeTokens | 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" | "x" | "y" | "top" | "left" | "target" | "width" | "height" | "className" | "id" | "role" | "children" | "hitSlop" | "pointerEvents" | "display" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "themeShallow" | "themeInverse" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "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" | "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" | "space" | "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" | "justifyContent" | "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" | "zIndex" | "direction" | "inset" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "size" | "unstyled" | "name" | `$${string}` | `$${number}` | "value" | "scaleIcon" | "checked" | "defaultChecked" | "required" | "onCheckedChange" | "labelledBy" | "scaleSize" | "sizeAdjust" | `$group-${string}` | `$group-${number}` | `$group-${string}-focus` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focusVisible` | `$group-${number}-focus` | `$group-${number}-hover` | `$group-${number}-press` | `$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;
|
|
@@ -30,19 +30,18 @@ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
30
30
|
size?: import("tamagui").SizeTokens;
|
|
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
|
-
size?: import("tamagui").SizeTokens | undefined;
|
|
34
|
-
unstyled?: boolean | undefined;
|
|
35
33
|
disabled?: boolean | undefined;
|
|
36
34
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
37
|
-
transparent?: boolean | undefined;
|
|
38
|
-
fullscreen?: boolean | undefined;
|
|
39
|
-
circular?: boolean | undefined;
|
|
40
35
|
inset?: number | import("tamagui").SizeTokens | {
|
|
41
36
|
top?: number;
|
|
42
37
|
bottom?: number;
|
|
43
38
|
left?: number;
|
|
44
39
|
right?: number;
|
|
45
|
-
} | undefined;
|
|
40
|
+
} | null | undefined;
|
|
41
|
+
size?: import("tamagui").SizeTokens | 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" | "x" | "y" | "top" | "left" | "target" | "width" | "height" | "className" | "id" | "role" | "children" | "hitSlop" | "pointerEvents" | "display" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "themeShallow" | "themeInverse" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "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" | "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" | "space" | "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" | "justifyContent" | "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" | "zIndex" | "direction" | "inset" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "size" | "unstyled" | "name" | `$${string}` | `$${number}` | "value" | "scaleIcon" | "checked" | "defaultChecked" | "required" | "onCheckedChange" | "labelledBy" | "scaleSize" | "sizeAdjust" | `$group-${string}` | `$group-${number}` | `$group-${string}-focus` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focusVisible` | `$group-${number}-focus` | `$group-${number}-hover` | `$group-${number}-press` | `$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;
|
|
@@ -69,19 +69,18 @@ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
69
69
|
size?: import("tamagui").SizeTokens;
|
|
70
70
|
unstyled?: boolean;
|
|
71
71
|
}, import("@tamagui/core").StackStyleBase, {
|
|
72
|
-
size?: import("tamagui").SizeTokens | undefined;
|
|
73
|
-
unstyled?: boolean | undefined;
|
|
74
72
|
disabled?: boolean | undefined;
|
|
75
73
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
76
|
-
transparent?: boolean | undefined;
|
|
77
|
-
fullscreen?: boolean | undefined;
|
|
78
|
-
circular?: boolean | undefined;
|
|
79
74
|
inset?: number | import("tamagui").SizeTokens | {
|
|
80
75
|
top?: number;
|
|
81
76
|
bottom?: number;
|
|
82
77
|
left?: number;
|
|
83
78
|
right?: number;
|
|
84
|
-
} | undefined;
|
|
79
|
+
} | null | undefined;
|
|
80
|
+
size?: import("tamagui").SizeTokens | 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
|
-
size?: import("tamagui").SizeTokens | undefined;
|
|
97
|
-
unstyled?: boolean | undefined;
|
|
98
96
|
disabled?: boolean | undefined;
|
|
99
97
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
100
|
-
transparent?: boolean | undefined;
|
|
101
|
-
fullscreen?: boolean | undefined;
|
|
102
|
-
circular?: boolean | undefined;
|
|
103
98
|
inset?: number | import("tamagui").SizeTokens | {
|
|
104
99
|
top?: number;
|
|
105
100
|
bottom?: number;
|
|
106
101
|
left?: number;
|
|
107
102
|
right?: number;
|
|
108
|
-
} | undefined;
|
|
103
|
+
} | null | undefined;
|
|
104
|
+
size?: import("tamagui").SizeTokens | 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" | "x" | "y" | "top" | "left" | "target" | "width" | "height" | "className" | "id" | "role" | "children" | "hitSlop" | "pointerEvents" | "display" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "themeShallow" | "themeInverse" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "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" | "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" | "space" | "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" | "justifyContent" | "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" | "zIndex" | "direction" | "inset" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | `$${string}` | `$${number}` | `$group-${string}` | `$group-${number}` | `$group-${string}-focus` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focusVisible` | `$group-${number}-focus` | `$group-${number}-hover` | `$group-${number}-press` | `$group-${number}-focusVisible` | `$theme-${string}` | `$theme-${number}` | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "scaleIcon" | "size" | "name" | "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;
|
|
@@ -132,19 +132,18 @@ export declare const Checkbox: import("react").ForwardRefExoticComponent<Omit<im
|
|
|
132
132
|
size?: import("tamagui").SizeTokens;
|
|
133
133
|
unstyled?: boolean;
|
|
134
134
|
}, import("@tamagui/core").StackStyleBase, {
|
|
135
|
-
size?: import("tamagui").SizeTokens | undefined;
|
|
136
|
-
unstyled?: boolean | undefined;
|
|
137
135
|
disabled?: boolean | undefined;
|
|
138
136
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
139
|
-
transparent?: boolean | undefined;
|
|
140
|
-
fullscreen?: boolean | undefined;
|
|
141
|
-
circular?: boolean | undefined;
|
|
142
137
|
inset?: number | import("tamagui").SizeTokens | {
|
|
143
138
|
top?: number;
|
|
144
139
|
bottom?: number;
|
|
145
140
|
left?: number;
|
|
146
141
|
right?: number;
|
|
147
|
-
} | undefined;
|
|
142
|
+
} | null | undefined;
|
|
143
|
+
size?: import("tamagui").SizeTokens | 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,7 +176,8 @@ 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;
|
|
180
|
-
|
|
179
|
+
unstyled?: boolean | undefined;
|
|
180
|
+
}>, keyof import("tamagui").StackNonStyleProps | `$${string}` | `$${number}` | import("@tamagui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | 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;
|
|
183
183
|
}> & 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, {}>> & {
|
|
@@ -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.ts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e,uCAAuC,eAAe;;;cAA6D,eAAe;iBAAqC,CAAC;aAAgD,CAAC;eAAyC,CAAC;kBAA4B,CAAC;gBAA0B,CAAC;iBAA2B,CAAC;;mBAA2D,CAAC;kBAAyC,CAAC;gBAAuC,CAAC;kBAAyC,CAAC;kBAAyC,CAAC;kBAAyC,CAAC;eAAsC,CAAC;gBAAuC,CAAC;oBAAoD,CAAC;gBAAuC,CAAC;cAAqC,CAAC;kBAAyC,CAAC;gBAA+C,CAAC;cAAqC,eAAe;CAhBpq/B,CAAA;AAEF,wBAAgB,oBAAoB,4CAanC"}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
export declare const Switch: import("react").ForwardRefExoticComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
2
|
-
size?: import("tamagui").SizeTokens | undefined;
|
|
3
|
-
unstyled?: boolean | undefined;
|
|
4
|
-
checked?: boolean | undefined;
|
|
5
2
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
6
|
-
fullscreen?: boolean | undefined;
|
|
7
3
|
inset?: number | import("tamagui").SizeTokens | {
|
|
8
4
|
top?: number;
|
|
9
5
|
bottom?: number;
|
|
10
6
|
left?: number;
|
|
11
7
|
right?: number;
|
|
12
|
-
} | undefined;
|
|
13
|
-
|
|
8
|
+
} | null | undefined;
|
|
9
|
+
size?: import("tamagui").SizeTokens | undefined;
|
|
10
|
+
fullscreen?: boolean | undefined;
|
|
11
|
+
unstyled?: boolean | undefined;
|
|
12
|
+
checked?: boolean | undefined;
|
|
13
|
+
}>, "theme" | "native" | "debug" | "x" | "y" | "top" | "left" | "target" | "width" | "height" | "className" | "id" | "role" | "children" | "hitSlop" | "pointerEvents" | "display" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "themeShallow" | "themeInverse" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "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" | "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" | "space" | "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" | "justifyContent" | "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" | "zIndex" | "direction" | "inset" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "size" | "unstyled" | "name" | `$${string}` | `$${number}` | "value" | "checked" | "defaultChecked" | "required" | "onCheckedChange" | `$group-${string}` | `$group-${number}` | `$group-${string}-focus` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focusVisible` | `$group-${number}-focus` | `$group-${number}-hover` | `$group-${number}-press` | `$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 & {
|
|
17
17
|
native?: import("tamagui").NativeValue<"mobile" | "ios" | "android">;
|
|
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
|
-
size?: import("tamagui").SizeTokens | undefined;
|
|
21
|
-
unstyled?: boolean | undefined;
|
|
22
|
-
checked?: boolean | undefined;
|
|
23
20
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
24
|
-
fullscreen?: boolean | undefined;
|
|
25
21
|
inset?: number | import("tamagui").SizeTokens | {
|
|
26
22
|
top?: number;
|
|
27
23
|
bottom?: number;
|
|
28
24
|
left?: number;
|
|
29
25
|
right?: number;
|
|
30
|
-
} | undefined;
|
|
31
|
-
|
|
26
|
+
} | null | undefined;
|
|
27
|
+
size?: import("tamagui").SizeTokens | undefined;
|
|
28
|
+
fullscreen?: boolean | undefined;
|
|
29
|
+
unstyled?: boolean | undefined;
|
|
30
|
+
checked?: boolean | undefined;
|
|
31
|
+
}>, "theme" | "native" | "debug" | "x" | "y" | "top" | "left" | "target" | "width" | "height" | "className" | "id" | "role" | "children" | "hitSlop" | "pointerEvents" | "display" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "themeShallow" | "themeInverse" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "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" | "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" | "space" | "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" | "justifyContent" | "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" | "zIndex" | "direction" | "inset" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "size" | "unstyled" | "name" | `$${string}` | `$${number}` | "value" | "checked" | "defaultChecked" | "required" | "onCheckedChange" | `$group-${string}` | `$group-${number}` | `$group-${string}-focus` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focusVisible` | `$group-${number}-focus` | `$group-${number}-hover` | `$group-${number}-press` | `$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 & {
|
|
@@ -41,31 +41,31 @@ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
41
41
|
native?: import("tamagui").NativeValue<"mobile" | "ios" | "android">;
|
|
42
42
|
nativeProps?: import("react-native").SwitchProps;
|
|
43
43
|
}, import("@tamagui/core").StackStyleBase, {
|
|
44
|
-
size?: import("tamagui").SizeTokens | undefined;
|
|
45
|
-
unstyled?: boolean | undefined;
|
|
46
|
-
checked?: boolean | undefined;
|
|
47
44
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
48
|
-
fullscreen?: boolean | undefined;
|
|
49
45
|
inset?: number | import("tamagui").SizeTokens | {
|
|
50
46
|
top?: number;
|
|
51
47
|
bottom?: number;
|
|
52
48
|
left?: number;
|
|
53
49
|
right?: number;
|
|
54
|
-
} | undefined;
|
|
50
|
+
} | null | undefined;
|
|
51
|
+
size?: import("tamagui").SizeTokens | 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
|
-
size?: import("tamagui").SizeTokens | undefined;
|
|
58
|
-
unstyled?: boolean | undefined;
|
|
59
|
-
checked?: boolean | undefined;
|
|
60
57
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
61
|
-
fullscreen?: boolean | undefined;
|
|
62
58
|
inset?: number | import("tamagui").SizeTokens | {
|
|
63
59
|
top?: number;
|
|
64
60
|
bottom?: number;
|
|
65
61
|
left?: number;
|
|
66
62
|
right?: number;
|
|
67
|
-
} | undefined;
|
|
68
|
-
|
|
63
|
+
} | null | undefined;
|
|
64
|
+
size?: import("tamagui").SizeTokens | undefined;
|
|
65
|
+
fullscreen?: boolean | undefined;
|
|
66
|
+
unstyled?: boolean | undefined;
|
|
67
|
+
checked?: boolean | undefined;
|
|
68
|
+
}>, "theme" | "native" | "debug" | "x" | "y" | "top" | "left" | "target" | "width" | "height" | "className" | "id" | "role" | "children" | "hitSlop" | "pointerEvents" | "display" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "disabled" | "themeShallow" | "themeInverse" | "tag" | "group" | "untilMeasured" | "componentName" | "tabIndex" | "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" | "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" | "space" | "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" | "justifyContent" | "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" | "zIndex" | "direction" | "inset" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY" | `$${string}` | `$${number}` | `$group-${string}` | `$group-${number}` | `$group-${string}-focus` | `$group-${string}-hover` | `$group-${string}-press` | `$group-${string}-focusVisible` | `$group-${number}-focus` | `$group-${number}-hover` | `$group-${number}-press` | `$group-${number}-focusVisible` | `$theme-${string}` | `$theme-${number}` | "hoverStyle" | "pressStyle" | "focusStyle" | "focusVisibleStyle" | "disabledStyle" | "exitStyle" | "enterStyle" | "size" | "name" | "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 & {
|
|
@@ -78,33 +78,31 @@ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
78
78
|
native?: import("tamagui").NativeValue<"mobile" | "ios" | "android">;
|
|
79
79
|
nativeProps?: import("react-native").SwitchProps;
|
|
80
80
|
}, import("@tamagui/core").StackStyleBase, {
|
|
81
|
-
size?: import("tamagui").SizeTokens | undefined;
|
|
82
|
-
unstyled?: boolean | undefined;
|
|
83
|
-
checked?: boolean | undefined;
|
|
84
81
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
85
|
-
fullscreen?: boolean | undefined;
|
|
86
82
|
inset?: number | import("tamagui").SizeTokens | {
|
|
87
83
|
top?: number;
|
|
88
84
|
bottom?: number;
|
|
89
85
|
left?: number;
|
|
90
86
|
right?: number;
|
|
91
|
-
} | undefined;
|
|
92
|
-
}, import("@tamagui/core").StaticConfigPublic];
|
|
93
|
-
} & {
|
|
94
|
-
Thumb: import("tamagui").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
87
|
+
} | null | undefined;
|
|
95
88
|
size?: import("tamagui").SizeTokens | undefined;
|
|
89
|
+
fullscreen?: boolean | undefined;
|
|
96
90
|
unstyled?: boolean | undefined;
|
|
97
91
|
checked?: boolean | undefined;
|
|
92
|
+
}, import("@tamagui/core").StaticConfigPublic];
|
|
93
|
+
} & {
|
|
94
|
+
Thumb: import("tamagui").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
98
95
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
99
|
-
transparent?: boolean | undefined;
|
|
100
|
-
fullscreen?: boolean | undefined;
|
|
101
|
-
circular?: boolean | undefined;
|
|
102
96
|
inset?: number | import("tamagui").SizeTokens | {
|
|
103
97
|
top?: number;
|
|
104
98
|
bottom?: number;
|
|
105
99
|
left?: number;
|
|
106
100
|
right?: number;
|
|
107
|
-
} | undefined;
|
|
101
|
+
} | null | undefined;
|
|
102
|
+
size?: import("tamagui").SizeTokens | 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,7 +112,9 @@ 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;
|
|
117
|
-
|
|
115
|
+
unstyled?: boolean | undefined;
|
|
116
|
+
checked?: boolean | undefined;
|
|
117
|
+
}>, keyof import("tamagui").StackNonStyleProps | `$${string}` | `$${number}` | import("@tamagui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | 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;
|
|
120
120
|
}> & 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, {}>> & {
|
|
@@ -124,19 +124,17 @@ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
124
124
|
size?: import("tamagui").SizeTokens | number;
|
|
125
125
|
unstyled?: boolean;
|
|
126
126
|
}, import("@tamagui/core").StackStyleBase, {
|
|
127
|
-
size?: import("tamagui").SizeTokens | undefined;
|
|
128
|
-
unstyled?: boolean | undefined;
|
|
129
|
-
checked?: boolean | undefined;
|
|
130
127
|
elevation?: number | import("tamagui").SizeTokens | undefined;
|
|
131
|
-
transparent?: boolean | undefined;
|
|
132
|
-
fullscreen?: boolean | undefined;
|
|
133
|
-
circular?: boolean | undefined;
|
|
134
128
|
inset?: number | import("tamagui").SizeTokens | {
|
|
135
129
|
top?: number;
|
|
136
130
|
bottom?: number;
|
|
137
131
|
left?: number;
|
|
138
132
|
right?: number;
|
|
139
|
-
} | undefined;
|
|
133
|
+
} | null | undefined;
|
|
134
|
+
size?: import("tamagui").SizeTokens | 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":"AA0CA,eAAO,MAAM,MAAM;;;WAiBwT,CAAC;cAAwB,CAAC;YAAsB,CAAC;aAAuB,CAAC;;;;;;;;;;;;;;;WAAu7O,CAAC;cAAwB,CAAC;YAAsB,CAAC;aAAuB,CAAC;;;;;;;;;;;;;;;;;;;;;WAAklQ,CAAC;cAAwB,CAAC;YAAsB,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