@mittwald/flow-remote-react-components 0.2.0-alpha.207 → 0.2.0-alpha.209

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,6 @@
1
1
  "use client"
2
2
  /* */
3
+ import { version } from '../version.mjs';
3
4
  import { FlowRemoteElement } from '@mittwald/flow-remote-elements';
4
5
  import { createRemoteComponent as createRemoteComponent$1 } from '@mittwald/remote-dom-react';
5
6
  import { createElement } from 'react';
@@ -8,7 +9,8 @@ const createRemoteComponent = (name, element, options) => {
8
9
  const RemoteComponent = createRemoteComponent$1(name, element, options);
9
10
  return (props) => createElement(RemoteComponent, {
10
11
  ...props,
11
- [FlowRemoteElement.initializationPropertyName]: true
12
+ [FlowRemoteElement.initializationPropertyName]: true,
13
+ [FlowRemoteElement.versionPropertyName]: version
12
14
  });
13
15
  };
14
16
 
@@ -1 +1 @@
1
- {"version":3,"file":"createRemoteComponent.mjs","sources":["../../../src/lib/createRemoteComponent.ts"],"sourcesContent":["import { FlowRemoteElement } from \"@mittwald/flow-remote-elements\";\nimport { createRemoteComponent as libCreateRemoteComponent } from \"@mittwald/remote-dom-react\";\nimport { createElement } from \"react\";\n\nexport const createRemoteComponent: typeof libCreateRemoteComponent = (\n name,\n element,\n options,\n) => {\n const RemoteComponent = libCreateRemoteComponent(name, element, options);\n return (props) =>\n createElement(RemoteComponent, {\n ...props,\n [FlowRemoteElement.initializationPropertyName]: true,\n });\n};\n"],"names":["libCreateRemoteComponent"],"mappings":";;;;AAIO,MAAM,qBAAyD,GAAA,CACpE,IACA,EAAA,OAAA,EACA,OACG,KAAA;AACH,EAAA,MAAM,eAAkB,GAAAA,uBAAA,CAAyB,IAAM,EAAA,OAAA,EAAS,OAAO,CAAA;AACvE,EAAO,OAAA,CAAC,KACN,KAAA,aAAA,CAAc,eAAiB,EAAA;AAAA,IAC7B,GAAG,KAAA;AAAA,IACH,CAAC,iBAAkB,CAAA,0BAA0B,GAAG;AAAA,GACjD,CAAA;AACL;;;;"}
1
+ {"version":3,"file":"createRemoteComponent.mjs","sources":["../../../src/lib/createRemoteComponent.ts"],"sourcesContent":["import { version } from \"@/version\";\nimport { FlowRemoteElement } from \"@mittwald/flow-remote-elements\";\nimport { createRemoteComponent as libCreateRemoteComponent } from \"@mittwald/remote-dom-react\";\nimport { createElement } from \"react\";\n\nexport const createRemoteComponent: typeof libCreateRemoteComponent = (\n name,\n element,\n options,\n) => {\n const RemoteComponent = libCreateRemoteComponent(name, element, options);\n return (props) =>\n createElement(RemoteComponent, {\n ...props,\n [FlowRemoteElement.initializationPropertyName]: true,\n [FlowRemoteElement.versionPropertyName]: version,\n });\n};\n"],"names":["libCreateRemoteComponent"],"mappings":";;;;;AAKO,MAAM,qBAAyD,GAAA,CACpE,IACA,EAAA,OAAA,EACA,OACG,KAAA;AACH,EAAA,MAAM,eAAkB,GAAAA,uBAAA,CAAyB,IAAM,EAAA,OAAA,EAAS,OAAO,CAAA;AACvE,EAAO,OAAA,CAAC,KACN,KAAA,aAAA,CAAc,eAAiB,EAAA;AAAA,IAC7B,GAAG,KAAA;AAAA,IACH,CAAC,iBAAkB,CAAA,0BAA0B,GAAG,IAAA;AAAA,IAChD,CAAC,iBAAkB,CAAA,mBAAmB,GAAG;AAAA,GAC1C,CAAA;AACL;;;;"}
@@ -0,0 +1,8 @@
1
+ "use client"
2
+ /* */
3
+ import { Version } from '@mittwald/flow-remote-core';
4
+
5
+ const version = Version.v3;
6
+
7
+ export { version };
8
+ //# sourceMappingURL=version.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.mjs","sources":["../../src/version.ts"],"sourcesContent":["import { Version } from \"@mittwald/flow-remote-core\";\n\nexport const version = Version.v3;\n"],"names":[],"mappings":";;AAEO,MAAM,UAAU,OAAQ,CAAA;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"createRemoteComponent.d.ts","sourceRoot":"","sources":["../../../src/lib/createRemoteComponent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,IAAI,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAG/F,eAAO,MAAM,qBAAqB,EAAE,OAAO,wBAW1C,CAAC"}
1
+ {"version":3,"file":"createRemoteComponent.d.ts","sourceRoot":"","sources":["../../../src/lib/createRemoteComponent.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,IAAI,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAG/F,eAAO,MAAM,qBAAqB,EAAE,OAAO,wBAY1C,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Version } from '@mittwald/flow-remote-core';
2
+ export declare const version = Version.v3;
3
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAErD,eAAO,MAAM,OAAO,aAAa,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.207",
3
+ "version": "0.2.0-alpha.209",
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",
@@ -32,15 +32,15 @@
32
32
  "test:compile": "tsc --noEmit"
33
33
  },
34
34
  "dependencies": {
35
- "@mittwald/flow-react-components": "0.2.0-alpha.207",
36
- "@mittwald/flow-remote-core": "0.2.0-alpha.207",
37
- "@mittwald/flow-remote-elements": "0.2.0-alpha.207",
35
+ "@mittwald/flow-react-components": "0.2.0-alpha.209",
36
+ "@mittwald/flow-remote-core": "0.2.0-alpha.209",
37
+ "@mittwald/flow-remote-elements": "0.2.0-alpha.209",
38
38
  "@mittwald/remote-dom-react": "1.2.2-mittwald.3",
39
39
  "@types/react": "^19",
40
40
  "react-error-boundary": "^5.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@mittwald/ext-bridge": "0.2.0-alpha.207",
43
+ "@mittwald/ext-bridge": "0.2.0-alpha.209",
44
44
  "@mittwald/typescript-config": "",
45
45
  "@types/node": "^22.13.10",
46
46
  "nx": "^20.8.1",
@@ -70,5 +70,5 @@
70
70
  "optional": true
71
71
  }
72
72
  },
73
- "gitHead": "6a74d4e70acd8199a3f030fa932c2d2bc2e2f456"
73
+ "gitHead": "8077086bfa600e111c6bea5ca085170e16a2adf2"
74
74
  }