@tamagui/switch 1.88.3 → 1.88.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.
@@ -23,8 +23,4 @@ const SwitchStyledContext = (0, import_core.createStyledContext)({
23
23
  frameWidth: 0,
24
24
  unstyled: process.env.TAMAGUI_HEADLESS === "1"
25
25
  });
26
- // Annotate the CommonJS export names for ESM import in node:
27
- 0 && (module.exports = {
28
- SwitchStyledContext
29
- });
30
26
  //# sourceMappingURL=StyledContext.js.map
@@ -1,10 +1,31 @@
1
- import { createStyledContext } from "@tamagui/core";
2
- const SwitchStyledContext = createStyledContext({
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: !0 });
9
+ }, __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from == "object" || typeof from == "function")
11
+ for (let key of __getOwnPropNames(from))
12
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
+ return to;
14
+ };
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
+ var StyledContext_exports = {};
17
+ __export(StyledContext_exports, {
18
+ SwitchStyledContext: () => SwitchStyledContext
19
+ });
20
+ module.exports = __toCommonJS(StyledContext_exports);
21
+ var import_core = require("@tamagui/core");
22
+ const SwitchStyledContext = (0, import_core.createStyledContext)({
3
23
  size: void 0,
4
24
  frameWidth: 0,
5
25
  unstyled: process.env.TAMAGUI_HEADLESS === "1"
6
26
  });
7
- export {
27
+ // Annotate the CommonJS export names for ESM import in node:
28
+ 0 && (module.exports = {
8
29
  SwitchStyledContext
9
- };
30
+ });
10
31
  //# sourceMappingURL=StyledContext.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/StyledContext.tsx"],
4
- "mappings": "AAAA,SAAqB,2BAA2B;AAEzC,MAAM,sBAAsB,oBAIhC;AAAA,EACD,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,UAAU,QAAQ,IAAI,qBAAqB;AAC7C,CAAC;",
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAgD;AAEzC,MAAM,0BAAsB,iCAIhC;AAAA,EACD,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,UAAU,QAAQ,IAAI,qBAAqB;AAC7C,CAAC;",
5
5
  "names": []
6
6
  }
@@ -1,10 +1,31 @@
1
- import { createStyledContext } from "@tamagui/core";
2
- const SwitchStyledContext = createStyledContext({
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: !0 });
9
+ }, __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from == "object" || typeof from == "function")
11
+ for (let key of __getOwnPropNames(from))
12
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
+ return to;
14
+ };
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
+ var StyledContext_exports = {};
17
+ __export(StyledContext_exports, {
18
+ SwitchStyledContext: () => SwitchStyledContext
19
+ });
20
+ module.exports = __toCommonJS(StyledContext_exports);
21
+ var import_core = require("@tamagui/core");
22
+ const SwitchStyledContext = (0, import_core.createStyledContext)({
3
23
  size: void 0,
4
24
  frameWidth: 0,
5
25
  unstyled: process.env.TAMAGUI_HEADLESS === "1"
6
26
  });
7
- export {
27
+ // Annotate the CommonJS export names for ESM import in node:
28
+ 0 && (module.exports = {
8
29
  SwitchStyledContext
9
- };
30
+ });
10
31
  //# sourceMappingURL=StyledContext.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/StyledContext.tsx"],
4
- "mappings": "AAAA,SAAqB,2BAA2B;AAEzC,MAAM,sBAAsB,oBAIhC;AAAA,EACD,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,UAAU,QAAQ,IAAI,qBAAqB;AAC7C,CAAC;",
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAgD;AAEzC,MAAM,0BAAsB,iCAIhC;AAAA,EACD,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,UAAU,QAAQ,IAAI,qBAAqB;AAC7C,CAAC;",
5
5
  "names": []
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/switch",
3
- "version": "1.88.3",
3
+ "version": "1.88.4",
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.3",
36
- "@tamagui/constants": "1.88.3",
37
- "@tamagui/core": "1.88.3",
38
- "@tamagui/focusable": "1.88.3",
39
- "@tamagui/get-token": "1.88.3",
40
- "@tamagui/helpers": "1.88.3",
41
- "@tamagui/label": "1.88.3",
42
- "@tamagui/stacks": "1.88.3",
43
- "@tamagui/use-controllable-state": "1.88.3",
44
- "@tamagui/use-previous": "1.88.3"
35
+ "@tamagui/compose-refs": "1.88.4",
36
+ "@tamagui/constants": "1.88.4",
37
+ "@tamagui/core": "1.88.4",
38
+ "@tamagui/focusable": "1.88.4",
39
+ "@tamagui/get-token": "1.88.4",
40
+ "@tamagui/helpers": "1.88.4",
41
+ "@tamagui/label": "1.88.4",
42
+ "@tamagui/stacks": "1.88.4",
43
+ "@tamagui/use-controllable-state": "1.88.4",
44
+ "@tamagui/use-previous": "1.88.4"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "react": "*",
48
48
  "react-native": "*"
49
49
  },
50
50
  "devDependencies": {
51
- "@tamagui/build": "1.88.3",
51
+ "@tamagui/build": "1.88.4",
52
52
  "react": "^18.2.0",
53
53
  "react-native": "^0.72.6"
54
54
  },
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StyledContext.d.ts","sourceRoot":"","sources":["../src/StyledContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAuB,MAAM,eAAe,CAAA;AAE/D,eAAO,MAAM,mBAAmB;gBAClB,MAAM;;;EAOlB,CAAA"}