@mittwald/flow-remote-react-components 0.2.0-alpha.19 → 0.2.0-alpha.20

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,5 +1,5 @@
1
1
  import { FC, PropsWithChildren } from 'react';
2
2
  type Props = PropsWithChildren;
3
3
  export declare const Root: FC<Props>;
4
- export {};
4
+ export default Root;
5
5
  //# sourceMappingURL=Root.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Root.d.ts","sourceRoot":"","sources":["../../../src/components/Root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAMnD,KAAK,KAAK,GAAG,iBAAiB,CAAC;AAE/B,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,KAAK,CAY1B,CAAC"}
1
+ {"version":3,"file":"Root.d.ts","sourceRoot":"","sources":["../../../src/components/Root.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAInD,KAAK,KAAK,GAAG,iBAAiB,CAAC;AAI/B,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,KAAK,CAI1B,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { FC, PropsWithChildren } from 'react';
2
+ type Props = PropsWithChildren;
3
+ export declare const RootClient: FC<Props>;
4
+ export default RootClient;
5
+ //# sourceMappingURL=RootClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RootClient.d.ts","sourceRoot":"","sources":["../../../src/components/RootClient.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAMnD,KAAK,KAAK,GAAG,iBAAiB,CAAC;AAE/B,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,KAAK,CAYhC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1,6 +1,9 @@
1
1
  export * from './List';
2
2
  export * from './Form';
3
- export * from './Root';
4
- export * from '@mittwald/flow-react-components/Wrap';
5
- export * from '@mittwald/flow-react-components/Action';
3
+ /**
4
+ * Using named re-exports here (and not "export * from ..."), because of Next.JS
5
+ * issue: It's currently unsupported to use "export *" in a client boundary
6
+ */
7
+ export { Wrap } from '@mittwald/flow-react-components/Wrap';
8
+ export { Action, type ActionFn, type ActionProps, } from '@mittwald/flow-react-components/Action';
6
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AAEvB,cAAc,sCAAsC,CAAC;AACrD,cAAc,wCAAwC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AAEvB;;;GAGG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,sCAAsC,CAAC;AAC5D,OAAO,EACL,MAAM,EACN,KAAK,QAAQ,EACb,KAAK,WAAW,GACjB,MAAM,wCAAwC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-remote-react-components",
3
- "version": "0.2.0-alpha.19",
3
+ "version": "0.2.0-alpha.20",
4
4
  "type": "module",
5
5
  "description": "React components that can be used in a remote environment",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -10,6 +10,10 @@
10
10
  "types": "./dist/types/index.d.ts",
11
11
  "default": "./dist/index.js"
12
12
  },
13
+ "./Root": {
14
+ "types": "./dist/types/components/Root.d.ts",
15
+ "default": "./dist/Root.js"
16
+ },
13
17
  "./Icons": {
14
18
  "types": "./dist/types/Icons.d.ts",
15
19
  "default": "./dist/Icons.js"
@@ -40,9 +44,9 @@
40
44
  "test:compile": "run tsc --noEmit"
41
45
  },
42
46
  "dependencies": {
43
- "@mittwald/flow-react-components": "0.2.0-alpha.19",
44
- "@mittwald/flow-remote-core": "0.2.0-alpha.19",
45
- "@mittwald/flow-remote-elements": "0.2.0-alpha.19",
47
+ "@mittwald/flow-react-components": "0.2.0-alpha.20",
48
+ "@mittwald/flow-remote-core": "0.2.0-alpha.20",
49
+ "@mittwald/flow-remote-elements": "0.2.0-alpha.20",
46
50
  "@remote-dom/react": "^1.2.1",
47
51
  "@types/react": "^19.0.7"
48
52
  },
@@ -54,6 +58,7 @@
54
58
  "react": "19.0.0",
55
59
  "react-hook-form": "^7.54.2",
56
60
  "rimraf": "^6.0.1",
61
+ "rollup-preserve-directives": "^1.1.3",
57
62
  "typescript": "^5.7.3",
58
63
  "vite": "^6.0.9",
59
64
  "vite-plugin-banner": "^0.8.0",
@@ -70,5 +75,5 @@
70
75
  "optional": true
71
76
  }
72
77
  },
73
- "gitHead": "c530a238f59ce1bf3ff990ba12ab760c42b9ca31"
78
+ "gitHead": "a51a4a784af8bf8d6e983075c954d6c5a33144be"
74
79
  }