@tamagui/switch 1.75.4 → 1.75.5
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/dist/cjs/createSwitch.js +1 -1
- package/dist/esm/createSwitch.js +1 -1
- package/dist/jsx/createSwitch.js +1 -1
- package/package.json +11 -11
package/dist/cjs/createSwitch.js
CHANGED
|
@@ -25,7 +25,7 @@ __export(createSwitch_exports, {
|
|
|
25
25
|
createSwitch: () => createSwitch
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(createSwitch_exports);
|
|
28
|
-
var import_compose_refs = require("@tamagui/compose-refs"), import_core = require("@tamagui/core"), import_focusable = require("@tamagui/focusable"), import_label = require("@tamagui/label"), import_stacks = require("@tamagui/stacks"), import_use_controllable_state = require("@tamagui/use-controllable-state"), import_use_previous = require("@tamagui/use-previous"), React = __toESM(require("react")), import_react_native = require("react-native"), import_Switch = require("./Switch"), import_SwitchContext = require("./SwitchContext"), import_jsx_runtime = (
|
|
28
|
+
var import_compose_refs = require("@tamagui/compose-refs"), import_core = require("@tamagui/core"), import_focusable = require("@tamagui/focusable"), import_label = require("@tamagui/label"), import_stacks = require("@tamagui/stacks"), import_use_controllable_state = require("@tamagui/use-controllable-state"), import_use_previous = require("@tamagui/use-previous"), React = __toESM(require("react")), import_react_native = require("react-native-web"), import_Switch = require("./Switch"), import_SwitchContext = require("./SwitchContext"), import_jsx_runtime = (
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
require("react/jsx-runtime")
|
|
31
31
|
);
|
package/dist/esm/createSwitch.js
CHANGED
|
@@ -14,7 +14,7 @@ import * as React from "react";
|
|
|
14
14
|
import {
|
|
15
15
|
Switch as NativeSwitch,
|
|
16
16
|
Platform
|
|
17
|
-
} from "react-native";
|
|
17
|
+
} from "react-native-web";
|
|
18
18
|
import { SwitchFrame as DefaultSwitchFrame, SwitchThumb } from "./Switch";
|
|
19
19
|
import { SwitchContext } from "./SwitchContext";
|
|
20
20
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
package/dist/jsx/createSwitch.js
CHANGED
|
@@ -14,7 +14,7 @@ import * as React from "react";
|
|
|
14
14
|
import {
|
|
15
15
|
Switch as NativeSwitch,
|
|
16
16
|
Platform
|
|
17
|
-
} from "react-native";
|
|
17
|
+
} from "react-native-web";
|
|
18
18
|
import { SwitchFrame as DefaultSwitchFrame, SwitchThumb } from "./Switch";
|
|
19
19
|
import { SwitchContext } from "./SwitchContext";
|
|
20
20
|
function createSwitch({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/switch",
|
|
3
|
-
"version": "1.75.
|
|
3
|
+
"version": "1.75.5",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -31,22 +31,22 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@tamagui/compose-refs": "1.75.
|
|
35
|
-
"@tamagui/core": "1.75.
|
|
36
|
-
"@tamagui/create-context": "1.75.
|
|
37
|
-
"@tamagui/focusable": "1.75.
|
|
38
|
-
"@tamagui/get-token": "1.75.
|
|
39
|
-
"@tamagui/label": "1.75.
|
|
40
|
-
"@tamagui/stacks": "1.75.
|
|
41
|
-
"@tamagui/use-controllable-state": "1.75.
|
|
42
|
-
"@tamagui/use-previous": "1.75.
|
|
34
|
+
"@tamagui/compose-refs": "1.75.5",
|
|
35
|
+
"@tamagui/core": "1.75.5",
|
|
36
|
+
"@tamagui/create-context": "1.75.5",
|
|
37
|
+
"@tamagui/focusable": "1.75.5",
|
|
38
|
+
"@tamagui/get-token": "1.75.5",
|
|
39
|
+
"@tamagui/label": "1.75.5",
|
|
40
|
+
"@tamagui/stacks": "1.75.5",
|
|
41
|
+
"@tamagui/use-controllable-state": "1.75.5",
|
|
42
|
+
"@tamagui/use-previous": "1.75.5"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": "*",
|
|
46
46
|
"react-native": "*"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@tamagui/build": "1.75.
|
|
49
|
+
"@tamagui/build": "1.75.5",
|
|
50
50
|
"react": "^18.2.0",
|
|
51
51
|
"react-native": "^0.72.1"
|
|
52
52
|
},
|