@tamagui/stacks 1.108.0 → 1.108.2
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/NestingContext.js +12 -4
- package/dist/cjs/NestingContext.js.map +2 -2
- package/dist/cjs/NestingContext.native.js +11 -3
- package/dist/cjs/NestingContext.native.js.map +2 -2
- package/dist/esm/NestingContext.js +2 -2
- package/dist/esm/NestingContext.js.map +1 -1
- package/dist/esm/NestingContext.mjs +2 -2
- package/dist/esm/NestingContext.mjs.map +1 -1
- package/dist/esm/NestingContext.native.js +2 -2
- package/dist/esm/NestingContext.native.js.map +2 -2
- package/dist/jsx/NestingContext.js +2 -2
- package/dist/jsx/NestingContext.js.map +1 -1
- package/dist/jsx/NestingContext.mjs +2 -2
- package/dist/jsx/NestingContext.mjs.map +1 -1
- package/dist/jsx/NestingContext.native.js +2 -2
- package/dist/jsx/NestingContext.native.js.map +2 -2
- package/package.json +4 -4
- package/src/NestingContext.tsx +2 -2
- package/types/NestingContext.d.ts +2 -1
- package/types/NestingContext.d.ts.map +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
6
|
var __export = (target, all) => {
|
|
6
7
|
for (var name in all)
|
|
7
8
|
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
@@ -11,12 +12,19 @@ var __export = (target, all) => {
|
|
|
11
12
|
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
13
|
return to;
|
|
13
14
|
};
|
|
14
|
-
var
|
|
15
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
16
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
17
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
18
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
19
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
21
|
+
mod
|
|
22
|
+
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
23
|
var NestingContext_exports = {};
|
|
16
24
|
__export(NestingContext_exports, {
|
|
17
25
|
ButtonNestingContext: () => ButtonNestingContext
|
|
18
26
|
});
|
|
19
27
|
module.exports = __toCommonJS(NestingContext_exports);
|
|
20
|
-
var import_react = require("react");
|
|
21
|
-
const ButtonNestingContext =
|
|
28
|
+
var import_react = __toESM(require("react"));
|
|
29
|
+
const ButtonNestingContext = import_react.default.createContext(!1);
|
|
22
30
|
//# sourceMappingURL=NestingContext.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/NestingContext.tsx"],
|
|
4
|
-
"mappings": "
|
|
5
|
-
"names": []
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAkB;AAEX,MAAM,uBAAuB,aAAAA,QAAM,cAAc,EAAK;",
|
|
5
|
+
"names": ["React"]
|
|
6
6
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
7
|
var __export = (target, all) => {
|
|
7
8
|
for (var name in all)
|
|
8
9
|
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
@@ -12,13 +13,20 @@ var __export = (target, all) => {
|
|
|
12
13
|
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
14
|
return to;
|
|
14
15
|
};
|
|
15
|
-
var
|
|
16
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
17
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
18
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
19
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
20
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
21
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
|
22
|
+
mod
|
|
23
|
+
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
24
|
var NestingContext_exports = {};
|
|
17
25
|
__export(NestingContext_exports, {
|
|
18
26
|
ButtonNestingContext: () => ButtonNestingContext
|
|
19
27
|
});
|
|
20
28
|
module.exports = __toCommonJS(NestingContext_exports);
|
|
21
|
-
var import_react = require("react"), ButtonNestingContext = /* @__PURE__ */
|
|
29
|
+
var import_react = __toESM(require("react")), ButtonNestingContext = /* @__PURE__ */ import_react.default.createContext(!1);
|
|
22
30
|
// Annotate the CommonJS export names for ESM import in node:
|
|
23
31
|
0 && (module.exports = {
|
|
24
32
|
ButtonNestingContext
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/code/ui/stacks/src/NestingContext.tsx"],
|
|
4
|
-
"mappings": "
|
|
5
|
-
"names": ["ButtonNestingContext", "createContext"]
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;mBAAkB,2BAELA,uBAAuBC,6BAAAA,QAAMC,cAAc,EAAA;",
|
|
5
|
+
"names": ["ButtonNestingContext", "React", "createContext"]
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["React","ButtonNestingContext","createContext"],"sources":["../../src/NestingContext.tsx"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,KAAA,MAAW;AAEX,MAAMC,oBAAA,GAAuBD,KAAA,CAAME,aAAA,CAAc,EAAK","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/code/ui/stacks/src/NestingContext.tsx"],
|
|
4
|
-
"mappings": "AAAA,
|
|
5
|
-
"names": ["
|
|
4
|
+
"mappings": "AAAA,OAAOA,WAAW;AAEX,IAAMC,uBAAuBD,sBAAME,cAAc,EAAA;",
|
|
5
|
+
"names": ["React", "ButtonNestingContext", "createContext"]
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["React","ButtonNestingContext","createContext"],"sources":["../../src/NestingContext.tsx"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,KAAA,MAAW;AAEX,MAAMC,oBAAA,GAAuBD,KAAA,CAAME,aAAA,CAAc,EAAK","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/code/ui/stacks/src/NestingContext.tsx"],
|
|
4
|
-
"mappings": "AAAA,
|
|
5
|
-
"names": ["
|
|
4
|
+
"mappings": "AAAA,OAAOA,WAAW;AAEX,IAAMC,uBAAuBD,sBAAME,cAAc,EAAA;",
|
|
5
|
+
"names": ["React", "ButtonNestingContext", "createContext"]
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/stacks",
|
|
3
|
-
"version": "1.108.
|
|
3
|
+
"version": "1.108.2",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@tamagui/core": "1.108.
|
|
35
|
+
"@tamagui/core": "1.108.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@tamagui/build": "1.108.
|
|
39
|
-
"@tamagui/get-button-sized": "1.108.
|
|
38
|
+
"@tamagui/build": "1.108.2",
|
|
39
|
+
"@tamagui/get-button-sized": "1.108.2",
|
|
40
40
|
"react": "^18.2.0 || ^19.0.0"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
package/src/NestingContext.tsx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react'
|
|
2
2
|
|
|
3
|
-
export const ButtonNestingContext = createContext(false)
|
|
3
|
+
export const ButtonNestingContext = React.createContext(false)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NestingContext.d.ts","sourceRoot":"","sources":["../src/NestingContext.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NestingContext.d.ts","sourceRoot":"","sources":["../src/NestingContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,eAAO,MAAM,oBAAoB,wBAA6B,CAAA"}
|