@tamagui/switch 1.88.6 → 1.88.7
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 +12 -12
- package/types/createSwitch.d.ts +26 -29
- package/types/createSwitch.d.ts.map +1 -1
- package/types/index.d.ts +26 -29
- package/types/index.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/switch",
|
|
3
|
-
"version": "1.88.
|
|
3
|
+
"version": "1.88.7",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -32,23 +32,23 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@tamagui/compose-refs": "1.88.
|
|
36
|
-
"@tamagui/constants": "1.88.
|
|
37
|
-
"@tamagui/core": "1.88.
|
|
38
|
-
"@tamagui/focusable": "1.88.
|
|
39
|
-
"@tamagui/get-token": "1.88.
|
|
40
|
-
"@tamagui/helpers": "1.88.
|
|
41
|
-
"@tamagui/label": "1.88.
|
|
42
|
-
"@tamagui/stacks": "1.88.
|
|
43
|
-
"@tamagui/use-controllable-state": "1.88.
|
|
44
|
-
"@tamagui/use-previous": "1.88.
|
|
35
|
+
"@tamagui/compose-refs": "1.88.7",
|
|
36
|
+
"@tamagui/constants": "1.88.7",
|
|
37
|
+
"@tamagui/core": "1.88.7",
|
|
38
|
+
"@tamagui/focusable": "1.88.7",
|
|
39
|
+
"@tamagui/get-token": "1.88.7",
|
|
40
|
+
"@tamagui/helpers": "1.88.7",
|
|
41
|
+
"@tamagui/label": "1.88.7",
|
|
42
|
+
"@tamagui/stacks": "1.88.7",
|
|
43
|
+
"@tamagui/use-controllable-state": "1.88.7",
|
|
44
|
+
"@tamagui/use-previous": "1.88.7"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"react": "*",
|
|
48
48
|
"react-native": "*"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@tamagui/build": "1.88.
|
|
51
|
+
"@tamagui/build": "1.88.7",
|
|
52
52
|
"react": "^18.2.0",
|
|
53
53
|
"react-native": "^0.72.6"
|
|
54
54
|
},
|
package/types/createSwitch.d.ts
CHANGED
|
@@ -26,21 +26,42 @@ export declare function createSwitch<F extends SwitchComponent, T extends Switch
|
|
|
26
26
|
disableActiveTheme?: boolean;
|
|
27
27
|
Frame?: F;
|
|
28
28
|
Thumb?: T;
|
|
29
|
-
}): React.ForwardRefExoticComponent<Omit<import("@tamagui/core").
|
|
29
|
+
}): React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps & SwitchExtraProps, "space" | "zIndex" | "backgroundColor" | "borderRadius" | "display" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "contain" | "touchAction" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "pointerEvents" | "userSelect" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "transformOrigin" | "backfaceVisibility" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "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" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY"> & import("@tamagui/core").WithThemeValues<Omit<import("@tamagui/core").StackStyleBase, keyof SwitchExtraProps>, {
|
|
30
30
|
size?: SizeTokens | undefined;
|
|
31
31
|
checked?: boolean | undefined;
|
|
32
32
|
frameWidth?: number | undefined;
|
|
33
33
|
unstyled?: boolean | undefined;
|
|
34
34
|
elevation?: number | SizeTokens | undefined;
|
|
35
35
|
fullscreen?: boolean | undefined;
|
|
36
|
-
}
|
|
36
|
+
}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<Omit<import("@tamagui/core").StackStyleBase, keyof SwitchExtraProps>, {
|
|
37
37
|
size?: SizeTokens | undefined;
|
|
38
38
|
checked?: boolean | undefined;
|
|
39
39
|
frameWidth?: number | undefined;
|
|
40
40
|
unstyled?: boolean | undefined;
|
|
41
41
|
elevation?: number | SizeTokens | undefined;
|
|
42
42
|
fullscreen?: boolean | undefined;
|
|
43
|
-
}
|
|
43
|
+
}>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<Omit<import("@tamagui/core").StackStyleBase, keyof SwitchExtraProps>, {
|
|
44
|
+
size?: SizeTokens | undefined;
|
|
45
|
+
checked?: boolean | undefined;
|
|
46
|
+
frameWidth?: number | undefined;
|
|
47
|
+
unstyled?: boolean | undefined;
|
|
48
|
+
elevation?: number | SizeTokens | undefined;
|
|
49
|
+
fullscreen?: boolean | undefined;
|
|
50
|
+
}> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<Omit<import("@tamagui/core").StackStyleBase, keyof SwitchExtraProps>, {
|
|
51
|
+
size?: SizeTokens | undefined;
|
|
52
|
+
checked?: boolean | undefined;
|
|
53
|
+
frameWidth?: number | undefined;
|
|
54
|
+
unstyled?: boolean | undefined;
|
|
55
|
+
elevation?: number | SizeTokens | undefined;
|
|
56
|
+
fullscreen?: boolean | undefined;
|
|
57
|
+
}>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<Omit<import("@tamagui/core").StackStyleBase, keyof SwitchExtraProps>, {
|
|
58
|
+
size?: SizeTokens | undefined;
|
|
59
|
+
checked?: boolean | undefined;
|
|
60
|
+
frameWidth?: number | undefined;
|
|
61
|
+
unstyled?: boolean | undefined;
|
|
62
|
+
elevation?: number | SizeTokens | undefined;
|
|
63
|
+
fullscreen?: boolean | undefined;
|
|
64
|
+
}>> & React.RefAttributes<import("@tamagui/core").TamaguiElement>> & import("@tamagui/core").StaticComponentObject<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & SwitchExtraProps, Omit<import("@tamagui/core").StackStyleBase, keyof SwitchExtraProps>, {
|
|
44
65
|
size?: SizeTokens | undefined;
|
|
45
66
|
checked?: boolean | undefined;
|
|
46
67
|
frameWidth?: number | undefined;
|
|
@@ -48,14 +69,7 @@ export declare function createSwitch<F extends SwitchComponent, T extends Switch
|
|
|
48
69
|
elevation?: number | SizeTokens | undefined;
|
|
49
70
|
fullscreen?: boolean | undefined;
|
|
50
71
|
}, {}> & Omit<{}, "staticConfig" | "extractable" | "styleable"> & {
|
|
51
|
-
__tama: [
|
|
52
|
-
size?: SizeTokens | undefined;
|
|
53
|
-
checked?: boolean | undefined;
|
|
54
|
-
frameWidth?: number | undefined;
|
|
55
|
-
unstyled?: boolean | undefined;
|
|
56
|
-
elevation?: number | SizeTokens | undefined;
|
|
57
|
-
fullscreen?: boolean | undefined;
|
|
58
|
-
}>, keyof SwitchExtraProps> & SwitchExtraProps, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & SwitchExtraProps, import("@tamagui/core").StackStyleBase, {
|
|
72
|
+
__tama: [import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & SwitchExtraProps, Omit<import("@tamagui/core").StackStyleBase, keyof SwitchExtraProps>, {
|
|
59
73
|
size?: SizeTokens | undefined;
|
|
60
74
|
checked?: boolean | undefined;
|
|
61
75
|
frameWidth?: number | undefined;
|
|
@@ -64,24 +78,7 @@ export declare function createSwitch<F extends SwitchComponent, T extends Switch
|
|
|
64
78
|
fullscreen?: boolean | undefined;
|
|
65
79
|
}, {}];
|
|
66
80
|
} & {
|
|
67
|
-
Thumb: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").
|
|
68
|
-
size?: SizeTokens | undefined;
|
|
69
|
-
checked?: boolean | undefined;
|
|
70
|
-
unstyled?: boolean | undefined;
|
|
71
|
-
elevation?: number | SizeTokens | undefined;
|
|
72
|
-
transparent?: boolean | undefined;
|
|
73
|
-
fullscreen?: boolean | undefined;
|
|
74
|
-
circular?: boolean | undefined;
|
|
75
|
-
hoverTheme?: boolean | undefined;
|
|
76
|
-
pressTheme?: boolean | undefined;
|
|
77
|
-
focusTheme?: boolean | undefined;
|
|
78
|
-
elevate?: boolean | undefined;
|
|
79
|
-
bordered?: number | boolean | undefined;
|
|
80
|
-
backgrounded?: boolean | undefined;
|
|
81
|
-
radiused?: boolean | undefined;
|
|
82
|
-
padded?: boolean | undefined;
|
|
83
|
-
chromeless?: boolean | "all" | undefined;
|
|
84
|
-
}>, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & void, import("@tamagui/core").StackStyleBase, {
|
|
81
|
+
Thumb: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & void, Omit<import("@tamagui/core").StackStyleBase, never>, {
|
|
85
82
|
size?: SizeTokens | undefined;
|
|
86
83
|
checked?: boolean | undefined;
|
|
87
84
|
unstyled?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSwitch.d.ts","sourceRoot":"","sources":["../src/createSwitch.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,UAAU,EACV,UAAU,EAGX,MAAM,eAAe,CAAA;AAOtB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAEL,WAAW,IAAI,iBAAiB,EAEjC,MAAM,cAAc,CAAA;AAKrB,KAAK,iBAAiB,GAAG;IACvB,IAAI,CAAC,EAAE,UAAU,GAAG,MAAM,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,KAAK,eAAe,GAAG,UAAU,GAAG,iBAAiB,CAAA;AAErD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC,CAAA;IAClD,WAAW,CAAC,EAAE,iBAAiB,CAAA;IAC/B,eAAe,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAA;CACzC,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,eAAe,GAAG,gBAAgB,EAAE,UAAU,CAAC,GAAG;IAC/E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,OAAO,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC,CAAA;CACrE,CAAA;AAED,KAAK,eAAe,GAAG,CAAC,KAAK,EAAE,iBAAiB,GAAG,gBAAgB,KAAK,GAAG,CAAA;AAC3E,KAAK,oBAAoB,GAAG,CAAC,KAAK,EAAE,iBAAiB,KAAK,GAAG,CAAA;AAE7D,wBAAgB,YAAY,CAC1B,CAAC,SAAS,eAAe,EACzB,CAAC,SAAS,oBAAoB,EAC9B,WAAW,EAAE;IACb,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,KAAK,CAAC,EAAE,CAAC,CAAA;IACT,KAAK,CAAC,EAAE,CAAC,CAAA;CACV
|
|
1
|
+
{"version":3,"file":"createSwitch.d.ts","sourceRoot":"","sources":["../src/createSwitch.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,UAAU,EACV,UAAU,EAGX,MAAM,eAAe,CAAA;AAOtB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAEL,WAAW,IAAI,iBAAiB,EAEjC,MAAM,cAAc,CAAA;AAKrB,KAAK,iBAAiB,GAAG;IACvB,IAAI,CAAC,EAAE,UAAU,GAAG,MAAM,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,KAAK,eAAe,GAAG,UAAU,GAAG,iBAAiB,CAAA;AAErD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC,CAAA;IAClD,WAAW,CAAC,EAAE,iBAAiB,CAAA;IAC/B,eAAe,CAAC,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAA;CACzC,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,IAAI,CAAC,eAAe,GAAG,gBAAgB,EAAE,UAAU,CAAC,GAAG;IAC/E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,CAAC,CAAC,OAAO,EAAE,OAAO,KAAK,KAAK,CAAC,SAAS,CAAC,CAAA;CACrE,CAAA;AAED,KAAK,eAAe,GAAG,CAAC,KAAK,EAAE,iBAAiB,GAAG,gBAAgB,KAAK,GAAG,CAAA;AAC3E,KAAK,oBAAoB,GAAG,CAAC,KAAK,EAAE,iBAAiB,KAAK,GAAG,CAAA;AAE7D,wBAAgB,YAAY,CAC1B,CAAC,SAAS,eAAe,EACzB,CAAC,SAAS,oBAAoB,EAC9B,WAAW,EAAE;IACb,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,KAAK,CAAC,EAAE,CAAC,CAAA;IACT,KAAK,CAAC,EAAE,CAAC,CAAA;CACV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8RA"}
|
package/types/index.d.ts
CHANGED
|
@@ -2,21 +2,42 @@
|
|
|
2
2
|
export * from './Switch';
|
|
3
3
|
export * from './SwitchContext';
|
|
4
4
|
export * from './createSwitch';
|
|
5
|
-
export declare const Switch: import("react").ForwardRefExoticComponent<Omit<import("@tamagui/
|
|
5
|
+
export declare const Switch: import("react").ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps & import("./createSwitch").SwitchExtraProps, "space" | "zIndex" | "backgroundColor" | "borderRadius" | "display" | "x" | "y" | "perspective" | "scale" | "scaleX" | "scaleY" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "contain" | "touchAction" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "pointerEvents" | "userSelect" | "spaceDirection" | "separator" | "animation" | "animateOnly" | "transformOrigin" | "backfaceVisibility" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockStartColor" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderColor" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderLeftColor" | "borderRightColor" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "opacity" | "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" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "translateX" | "translateY"> & import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, keyof import("./createSwitch").SwitchExtraProps>, {
|
|
6
6
|
size?: import("@tamagui/web").SizeTokens | undefined;
|
|
7
7
|
checked?: boolean | undefined;
|
|
8
8
|
frameWidth?: number | undefined;
|
|
9
9
|
unstyled?: boolean | undefined;
|
|
10
10
|
elevation?: number | import("@tamagui/web").SizeTokens | undefined;
|
|
11
11
|
fullscreen?: boolean | undefined;
|
|
12
|
-
}
|
|
12
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, keyof import("./createSwitch").SwitchExtraProps>, {
|
|
13
13
|
size?: import("@tamagui/web").SizeTokens | undefined;
|
|
14
14
|
checked?: boolean | undefined;
|
|
15
15
|
frameWidth?: number | undefined;
|
|
16
16
|
unstyled?: boolean | undefined;
|
|
17
17
|
elevation?: number | import("@tamagui/web").SizeTokens | undefined;
|
|
18
18
|
fullscreen?: boolean | undefined;
|
|
19
|
-
}
|
|
19
|
+
}>> & import("@tamagui/web").WithPseudoProps<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, keyof import("./createSwitch").SwitchExtraProps>, {
|
|
20
|
+
size?: import("@tamagui/web").SizeTokens | undefined;
|
|
21
|
+
checked?: boolean | undefined;
|
|
22
|
+
frameWidth?: number | undefined;
|
|
23
|
+
unstyled?: boolean | undefined;
|
|
24
|
+
elevation?: number | import("@tamagui/web").SizeTokens | undefined;
|
|
25
|
+
fullscreen?: boolean | undefined;
|
|
26
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, keyof import("./createSwitch").SwitchExtraProps>, {
|
|
27
|
+
size?: import("@tamagui/web").SizeTokens | undefined;
|
|
28
|
+
checked?: boolean | undefined;
|
|
29
|
+
frameWidth?: number | undefined;
|
|
30
|
+
unstyled?: boolean | undefined;
|
|
31
|
+
elevation?: number | import("@tamagui/web").SizeTokens | undefined;
|
|
32
|
+
fullscreen?: boolean | undefined;
|
|
33
|
+
}>>> & import("@tamagui/web").WithMediaProps<import("@tamagui/web").WithThemeShorthandsAndPseudos<Omit<import("@tamagui/web").StackStyleBase, keyof import("./createSwitch").SwitchExtraProps>, {
|
|
34
|
+
size?: import("@tamagui/web").SizeTokens | undefined;
|
|
35
|
+
checked?: boolean | undefined;
|
|
36
|
+
frameWidth?: number | undefined;
|
|
37
|
+
unstyled?: boolean | undefined;
|
|
38
|
+
elevation?: number | import("@tamagui/web").SizeTokens | undefined;
|
|
39
|
+
fullscreen?: boolean | undefined;
|
|
40
|
+
}>> & import("react").RefAttributes<import("@tamagui/web").TamaguiElement>> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("./createSwitch").SwitchExtraProps, Omit<import("@tamagui/web").StackStyleBase, keyof import("./createSwitch").SwitchExtraProps>, {
|
|
20
41
|
size?: import("@tamagui/web").SizeTokens | undefined;
|
|
21
42
|
checked?: boolean | undefined;
|
|
22
43
|
frameWidth?: number | undefined;
|
|
@@ -24,14 +45,7 @@ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
24
45
|
elevation?: number | import("@tamagui/web").SizeTokens | undefined;
|
|
25
46
|
fullscreen?: boolean | undefined;
|
|
26
47
|
}, {}> & Omit<{}, "staticConfig" | "extractable" | "styleable"> & {
|
|
27
|
-
__tama: [
|
|
28
|
-
size?: import("@tamagui/web").SizeTokens | undefined;
|
|
29
|
-
checked?: boolean | undefined;
|
|
30
|
-
frameWidth?: number | undefined;
|
|
31
|
-
unstyled?: boolean | undefined;
|
|
32
|
-
elevation?: number | import("@tamagui/web").SizeTokens | undefined;
|
|
33
|
-
fullscreen?: boolean | undefined;
|
|
34
|
-
}>, keyof import("./createSwitch").SwitchExtraProps> & import("./createSwitch").SwitchExtraProps, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("./createSwitch").SwitchExtraProps, import("@tamagui/web").StackStyleBase, {
|
|
48
|
+
__tama: [import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("./createSwitch").SwitchExtraProps, Omit<import("@tamagui/web").StackStyleBase, keyof import("./createSwitch").SwitchExtraProps>, {
|
|
35
49
|
size?: import("@tamagui/web").SizeTokens | undefined;
|
|
36
50
|
checked?: boolean | undefined;
|
|
37
51
|
frameWidth?: number | undefined;
|
|
@@ -40,24 +54,7 @@ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<impo
|
|
|
40
54
|
fullscreen?: boolean | undefined;
|
|
41
55
|
}, {}];
|
|
42
56
|
} & {
|
|
43
|
-
Thumb: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").
|
|
44
|
-
size?: import("@tamagui/web").SizeTokens | undefined;
|
|
45
|
-
checked?: boolean | undefined;
|
|
46
|
-
unstyled?: boolean | undefined;
|
|
47
|
-
elevation?: number | import("@tamagui/web").SizeTokens | undefined;
|
|
48
|
-
transparent?: boolean | undefined;
|
|
49
|
-
fullscreen?: boolean | undefined;
|
|
50
|
-
circular?: boolean | undefined;
|
|
51
|
-
hoverTheme?: boolean | undefined;
|
|
52
|
-
pressTheme?: boolean | undefined;
|
|
53
|
-
focusTheme?: boolean | undefined;
|
|
54
|
-
elevate?: boolean | undefined;
|
|
55
|
-
bordered?: number | boolean | undefined;
|
|
56
|
-
backgrounded?: boolean | undefined;
|
|
57
|
-
radiused?: boolean | undefined;
|
|
58
|
-
padded?: boolean | undefined;
|
|
59
|
-
chromeless?: boolean | "all" | undefined;
|
|
60
|
-
}>, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & void, import("@tamagui/web").StackStyleBase, {
|
|
57
|
+
Thumb: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & void, Omit<import("@tamagui/web").StackStyleBase, never>, {
|
|
61
58
|
size?: import("@tamagui/web").SizeTokens | undefined;
|
|
62
59
|
checked?: boolean | undefined;
|
|
63
60
|
unstyled?: boolean | undefined;
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAGA,cAAc,UAAU,CAAA;AACxB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAE9B,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAGA,cAAc,UAAU,CAAA;AACxB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAE9B,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGjB,CAAA"}
|