@mittwald/flow-react-components 0.1.0-alpha.47 → 0.1.0-alpha.48

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.
@@ -0,0 +1,6 @@
1
+ import { FC, PropsWithChildren } from "react";
2
+ interface Props extends PropsWithChildren {
3
+ id?: string;
4
+ }
5
+ export declare const TunnelEntry: FC<Props>;
6
+ export default TunnelEntry;
@@ -0,0 +1,6 @@
1
+ import { FC, PropsWithChildren } from "react";
2
+ interface Props extends PropsWithChildren {
3
+ id?: string;
4
+ }
5
+ export declare const TunnelExit: FC<Props>;
6
+ export default TunnelExit;
@@ -0,0 +1,3 @@
1
+ import { FC, PropsWithChildren } from "react";
2
+ export declare const TunnelProvider: FC<PropsWithChildren>;
3
+ export default TunnelProvider;
@@ -0,0 +1,8 @@
1
+ import { Signal } from "@preact/signals-react";
2
+ import { ReactNode } from "react";
3
+ export type TunnelNodes = Record<string, ReactNode>;
4
+ export interface TunnelContext {
5
+ nodes: Signal<TunnelNodes>;
6
+ }
7
+ export declare const tunnelContext: import("react").Context<TunnelContext>;
8
+ export default tunnelContext;
@@ -0,0 +1,3 @@
1
+ export { TunnelProvider } from "./components/TunnelProvider";
2
+ export { TunnelEntry } from "./components/TunnelEntry";
3
+ export { TunnelExit } from "./components/TunnelExit";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.1.0-alpha.47",
3
+ "version": "0.1.0-alpha.48",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -253,5 +253,5 @@
253
253
  "optional": true
254
254
  }
255
255
  },
256
- "gitHead": "4a7d6c1fc01d05f95a7c83cffe11df4b62e9051b"
256
+ "gitHead": "122dafcb5d7002ead0384d092e182b5a1079b01c"
257
257
  }