@tamagui/switch 1.111.3 → 1.111.4
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.
|
@@ -5,8 +5,8 @@ import { useSwitch } from "@tamagui/switch-headless";
|
|
|
5
5
|
import { useControllableState } from "@tamagui/use-controllable-state";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { Switch as NativeSwitch } from "react-native";
|
|
8
|
-
import { SwitchStyledContext } from "./StyledContext.mjs";
|
|
9
|
-
import { SwitchFrame as DefaultSwitchFrame, SwitchThumb } from "./Switch.mjs";
|
|
8
|
+
import { SwitchStyledContext } from "./StyledContext.native.mjs";
|
|
9
|
+
import { SwitchFrame as DefaultSwitchFrame, SwitchThumb } from "./Switch.native.mjs";
|
|
10
10
|
var SwitchContext = /* @__PURE__ */React.createContext({
|
|
11
11
|
checked: !1,
|
|
12
12
|
disabled: !1,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { createSwitch } from "./createSwitch.mjs";
|
|
2
|
-
import { SwitchFrame, SwitchThumb } from "./Switch.mjs";
|
|
3
|
-
export * from "./createSwitch.mjs";
|
|
4
|
-
export * from "./StyledContext.mjs";
|
|
5
|
-
export * from "./Switch.mjs";
|
|
1
|
+
import { createSwitch } from "./createSwitch.native.mjs";
|
|
2
|
+
import { SwitchFrame, SwitchThumb } from "./Switch.native.mjs";
|
|
3
|
+
export * from "./createSwitch.native.mjs";
|
|
4
|
+
export * from "./StyledContext.native.mjs";
|
|
5
|
+
export * from "./Switch.native.mjs";
|
|
6
6
|
var Switch = createSwitch({
|
|
7
7
|
Frame: SwitchFrame,
|
|
8
8
|
Thumb: SwitchThumb
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/switch",
|
|
3
|
-
"version": "1.111.
|
|
3
|
+
"version": "1.111.4",
|
|
4
4
|
"removeSideEffects": true,
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css"
|
|
@@ -34,23 +34,23 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@tamagui/compose-refs": "1.111.
|
|
38
|
-
"@tamagui/constants": "1.111.
|
|
39
|
-
"@tamagui/core": "1.111.
|
|
40
|
-
"@tamagui/focusable": "1.111.
|
|
41
|
-
"@tamagui/get-token": "1.111.
|
|
42
|
-
"@tamagui/helpers": "1.111.
|
|
43
|
-
"@tamagui/label": "1.111.
|
|
44
|
-
"@tamagui/stacks": "1.111.
|
|
45
|
-
"@tamagui/switch-headless": "1.111.
|
|
46
|
-
"@tamagui/use-controllable-state": "1.111.
|
|
47
|
-
"@tamagui/use-previous": "1.111.
|
|
37
|
+
"@tamagui/compose-refs": "1.111.4",
|
|
38
|
+
"@tamagui/constants": "1.111.4",
|
|
39
|
+
"@tamagui/core": "1.111.4",
|
|
40
|
+
"@tamagui/focusable": "1.111.4",
|
|
41
|
+
"@tamagui/get-token": "1.111.4",
|
|
42
|
+
"@tamagui/helpers": "1.111.4",
|
|
43
|
+
"@tamagui/label": "1.111.4",
|
|
44
|
+
"@tamagui/stacks": "1.111.4",
|
|
45
|
+
"@tamagui/switch-headless": "1.111.4",
|
|
46
|
+
"@tamagui/use-controllable-state": "1.111.4",
|
|
47
|
+
"@tamagui/use-previous": "1.111.4"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"react": "*"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@tamagui/build": "1.111.
|
|
53
|
+
"@tamagui/build": "1.111.4",
|
|
54
54
|
"react": "^18.2.0 || ^19.0.0"
|
|
55
55
|
},
|
|
56
56
|
"publishConfig": {
|