@tamagui/switch 1.88.7 → 1.88.9

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/switch",
3
- "version": "1.88.7",
3
+ "version": "1.88.9",
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.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"
35
+ "@tamagui/compose-refs": "1.88.9",
36
+ "@tamagui/constants": "1.88.9",
37
+ "@tamagui/core": "1.88.9",
38
+ "@tamagui/focusable": "1.88.9",
39
+ "@tamagui/get-token": "1.88.9",
40
+ "@tamagui/helpers": "1.88.9",
41
+ "@tamagui/label": "1.88.9",
42
+ "@tamagui/stacks": "1.88.9",
43
+ "@tamagui/use-controllable-state": "1.88.9",
44
+ "@tamagui/use-previous": "1.88.9"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "react": "*",
48
48
  "react-native": "*"
49
49
  },
50
50
  "devDependencies": {
51
- "@tamagui/build": "1.88.7",
51
+ "@tamagui/build": "1.88.9",
52
52
  "react": "^18.2.0",
53
53
  "react-native": "^0.72.6"
54
54
  },
@@ -26,42 +26,21 @@ 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").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>, {
29
+ }): React.ForwardRefExoticComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase & {
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
- }> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<Omit<import("@tamagui/core").StackStyleBase, keyof SwitchExtraProps>, {
36
+ }>, keyof SwitchExtraProps> & SwitchExtraProps & React.RefAttributes<import("@tamagui/core").TamaguiElement>> & import("@tamagui/core").StaticComponentObject<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase & {
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
- }>> & 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>, {
43
+ }>, keyof SwitchExtraProps> & SwitchExtraProps, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & SwitchExtraProps, import("@tamagui/core").StackStyleBase, {
65
44
  size?: SizeTokens | undefined;
66
45
  checked?: boolean | undefined;
67
46
  frameWidth?: number | undefined;
@@ -69,7 +48,14 @@ export declare function createSwitch<F extends SwitchComponent, T extends Switch
69
48
  elevation?: number | SizeTokens | undefined;
70
49
  fullscreen?: boolean | undefined;
71
50
  }, {}> & Omit<{}, "staticConfig" | "extractable" | "styleable"> & {
72
- __tama: [import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & SwitchExtraProps, Omit<import("@tamagui/core").StackStyleBase, keyof SwitchExtraProps>, {
51
+ __tama: [Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase & {
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, {
73
59
  size?: SizeTokens | undefined;
74
60
  checked?: boolean | undefined;
75
61
  frameWidth?: number | undefined;
@@ -78,7 +64,24 @@ export declare function createSwitch<F extends SwitchComponent, T extends Switch
78
64
  fullscreen?: boolean | undefined;
79
65
  }, {}];
80
66
  } & {
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>, {
67
+ Thumb: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase & {
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, {
82
85
  size?: SizeTokens | undefined;
83
86
  checked?: boolean | undefined;
84
87
  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,C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,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,42 +2,21 @@
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/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>, {
5
+ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase & {
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
- }> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, keyof import("./createSwitch").SwitchExtraProps>, {
12
+ }>, keyof import("./createSwitch").SwitchExtraProps> & import("./createSwitch").SwitchExtraProps & import("react").RefAttributes<import("@tamagui/web").TamaguiElement>> & import("@tamagui/web").StaticComponentObject<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase & {
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
- }>> & 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>, {
19
+ }>, keyof import("./createSwitch").SwitchExtraProps> & import("./createSwitch").SwitchExtraProps, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("./createSwitch").SwitchExtraProps, import("@tamagui/web").StackStyleBase, {
41
20
  size?: import("@tamagui/web").SizeTokens | undefined;
42
21
  checked?: boolean | undefined;
43
22
  frameWidth?: number | undefined;
@@ -45,7 +24,14 @@ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<impo
45
24
  elevation?: number | import("@tamagui/web").SizeTokens | undefined;
46
25
  fullscreen?: boolean | undefined;
47
26
  }, {}> & Omit<{}, "staticConfig" | "extractable" | "styleable"> & {
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>, {
27
+ __tama: [Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase & {
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, {
49
35
  size?: import("@tamagui/web").SizeTokens | undefined;
50
36
  checked?: boolean | undefined;
51
37
  frameWidth?: number | undefined;
@@ -54,7 +40,24 @@ export declare const Switch: import("react").ForwardRefExoticComponent<Omit<impo
54
40
  fullscreen?: boolean | undefined;
55
41
  }, {}];
56
42
  } & {
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>, {
43
+ Thumb: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase & {
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, {
58
61
  size?: import("@tamagui/web").SizeTokens | undefined;
59
62
  checked?: boolean | undefined;
60
63
  unstyled?: boolean | undefined;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGjB,CAAA"}
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"}