@mittwald/react-tunnel 0.1.0-alpha.212 → 0.1.0-alpha.213

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.
@@ -1,6 +1,5 @@
1
1
  import { ObservableMap } from 'mobx';
2
2
  import { TunnelChildren } from './types';
3
-
4
3
  export declare class TunnelState {
5
4
  readonly children: ObservableMap<string, ObservableMap<string, TunnelChildren>>;
6
5
  private readonly preparedChildren;
@@ -1,6 +1,5 @@
1
1
  import { FC } from 'react';
2
2
  import { TunnelChildren } from '../types';
3
-
4
3
  interface Props {
5
4
  id?: string;
6
5
  children?: TunnelChildren;
@@ -1,5 +1,4 @@
1
1
  import { FC, PropsWithChildren } from 'react';
2
-
3
2
  interface Props extends PropsWithChildren {
4
3
  id?: string;
5
4
  }
@@ -1,4 +1,3 @@
1
1
  import { FC, PropsWithChildren } from 'react';
2
-
3
2
  export declare const TunnelProvider: FC<PropsWithChildren>;
4
3
  export default TunnelProvider;
@@ -1,4 +1,3 @@
1
1
  import { TunnelState } from './TunnelState';
2
-
3
2
  export declare const tunnelContext: import('react').Context<TunnelState>;
4
3
  export default tunnelContext;
@@ -1,3 +1,2 @@
1
1
  import { ReactNode } from 'react';
2
-
3
2
  export type TunnelChildren = ReactNode | undefined | (() => ReactNode | undefined);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/react-tunnel",
3
- "version": "0.1.0-alpha.212",
3
+ "version": "0.1.0-alpha.213",
4
4
  "type": "module",
5
5
  "description": "It's like a Portal – but with React components",
6
6
  "keywords": [
@@ -35,22 +35,22 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@testing-library/dom": "^10.4.0",
38
- "@testing-library/react": "^16.0.0",
39
- "@types/node": "^20.14.14",
40
- "@types/react": "^18.3.3",
38
+ "@testing-library/react": "^16.0.1",
39
+ "@types/node": "^22.5.2",
40
+ "@types/react": "^18.3.5",
41
41
  "@types/react-dom": "^18.3.0",
42
42
  "@vitejs/plugin-react": "^4.3.1",
43
43
  "@vitest/coverage-v8": "^2.0.5",
44
44
  "happy-dom": "^14.12.3",
45
- "nx": "^19.5.6",
45
+ "nx": "^19.6.4",
46
46
  "prettier": "^3.3.3",
47
47
  "react": "^18.3.1",
48
48
  "react-dom": "^18.3.1",
49
49
  "typescript": "^5.5.4",
50
- "vite": "^5.3.5",
50
+ "vite": "^5.4.2",
51
51
  "vite-plugin-banner": "^0.7.1",
52
52
  "vite-plugin-checker": "^0.7.2",
53
- "vite-plugin-dts": "^4.0.0-beta.2",
53
+ "vite-plugin-dts": "^4.1.0",
54
54
  "vite-plugin-externalize-deps": "^0.8.0",
55
55
  "vitest": "^2.0.5"
56
56
  },
@@ -58,5 +58,5 @@
58
58
  "react": "^18.2.0",
59
59
  "react-dom": "^18.2.0"
60
60
  },
61
- "gitHead": "f56117d6d6c9b07f46d110f634d05c364cb61c24"
61
+ "gitHead": "55762085349b863e540002372c91cb08b68e41c4"
62
62
  }