@mittwald/react-tunnel 1.2.0-next.3 → 1.2.0-next.31

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/index.js CHANGED
@@ -95,8 +95,12 @@ var p = "default", m = "default", h = class e {
95
95
  let { children: t } = e;
96
96
  return typeof t == "function" ? t() : t;
97
97
  }, x = f((e) => {
98
- let { children: t, id: n, providerId: r } = e, i = s(() => () => null, () => !1, () => !0), a = _(r).getEntries(n, i)?.entries.map((e) => /* @__PURE__ */ d(b, { children: e.children }, e.id));
99
- return typeof t == "function" ? t(a) : a ?? t;
98
+ let { children: t, id: n, providerId: r } = e, o = s(() => () => null, () => !1, () => !0), c = a(!0);
99
+ i(() => {
100
+ c.current = !1;
101
+ }, []);
102
+ let l = _(r).getEntries(n, o || c.current)?.entries.map((e) => /* @__PURE__ */ d(b, { children: e.children }, e.id));
103
+ return typeof t == "function" ? t(l) : l ?? t;
100
104
  });
101
105
  //#endregion
102
106
  export { y as TunnelEntry, x as TunnelExit, v as TunnelProvider };
@@ -1 +1 @@
1
- {"version":3,"file":"TunnelExit.d.ts","sourceRoot":"","sources":["../../../src/components/TunnelExit.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAwB,MAAM,OAAO,CAAC;AAGtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC;AAEhD,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,gDAAgD;IAChD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,kBAAkB,CAAC;CAC/B;AAOD,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAmBzC,CAAC;AAEH,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"TunnelExit.d.ts","sourceRoot":"","sources":["../../../src/components/TunnelExit.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAiD,MAAM,OAAO,CAAC;AAG/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC;AAEhD,MAAM,WAAW,eAAe;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,gDAAgD;IAChD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,kBAAkB,CAAC;CAC/B;AAOD,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAyCzC,CAAC;AAEH,eAAe,UAAU,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/react-tunnel",
3
- "version": "1.2.0-next.3",
3
+ "version": "1.2.0-next.31",
4
4
  "type": "module",
5
5
  "description": "It's like a Portal – but with React components",
6
6
  "keywords": [
@@ -37,8 +37,8 @@
37
37
  "mobx-react-lite": "^4.1.1"
38
38
  },
39
39
  "devDependencies": {
40
- "@mittwald/flow-core": "1.2.0-next.3",
41
- "@mittwald/typescript-config": "1.2.0-next.3",
40
+ "@mittwald/flow-core": "1.2.0-next.31",
41
+ "@mittwald/typescript-config": "1.2.0-next.31",
42
42
  "@types/node": "^25.9.3",
43
43
  "@types/react": "^19.2",
44
44
  "@types/react-dom": "^19.2",
@@ -60,5 +60,5 @@
60
60
  "react": "^19.2.0",
61
61
  "react-dom": "^19.2.0"
62
62
  },
63
- "gitHead": "308539dabbc9256b6481b6291035ed69207e021a"
63
+ "gitHead": "a603777cc91ec638006e3f83e8ca3f036cd3e4ee"
64
64
  }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Tunnel.browser.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Tunnel.browser.test.d.ts","sourceRoot":"","sources":["../../src/Tunnel.browser.test.tsx"],"names":[],"mappings":""}