@mittwald/flow-react-components 0.2.0-alpha.252 → 0.2.0-alpha.254

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/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.2.0-alpha.254](https://github.com/mittwald/flow/compare/0.2.0-alpha.253...0.2.0-alpha.254) (2025-06-11)
7
+
8
+ ### Bug Fixes
9
+
10
+ * **Remote:** support native form data at remote side ([da96aa6](https://github.com/mittwald/flow/commit/da96aa6bb802e53aa40d5f919fb152eab7d52bb4))
11
+
12
+ # [0.2.0-alpha.253](https://github.com/mittwald/flow/compare/0.2.0-alpha.252...0.2.0-alpha.253) (2025-06-11)
13
+
14
+ **Note:** Version bump only for package @mittwald/flow-react-components
15
+
6
16
  # [0.2.0-alpha.252](https://github.com/mittwald/flow/compare/0.2.0-alpha.251...0.2.0-alpha.252) (2025-06-11)
7
17
 
8
18
  **Note:** Version bump only for package @mittwald/flow-react-components
@@ -507,12 +507,12 @@
507
507
  "name": "id",
508
508
  "parent": {
509
509
  "fileName": "packages/react-tunnel/dist/types/components/TunnelEntry.d.ts",
510
- "name": "Props"
510
+ "name": "TunnelEntryProps"
511
511
  },
512
512
  "declarations": [
513
513
  {
514
514
  "fileName": "packages/react-tunnel/dist/types/components/TunnelEntry.d.ts",
515
- "name": "Props"
515
+ "name": "TunnelEntryProps"
516
516
  }
517
517
  ],
518
518
  "required": false,
@@ -526,17 +526,17 @@
526
526
  "name": "children",
527
527
  "parent": {
528
528
  "fileName": "packages/react-tunnel/dist/types/components/TunnelEntry.d.ts",
529
- "name": "Props"
529
+ "name": "TunnelEntryProps"
530
530
  },
531
531
  "declarations": [
532
532
  {
533
533
  "fileName": "packages/react-tunnel/dist/types/components/TunnelEntry.d.ts",
534
- "name": "Props"
534
+ "name": "TunnelEntryProps"
535
535
  }
536
536
  ],
537
537
  "required": false,
538
538
  "type": {
539
- "name": "TunnelChildren"
539
+ "name": "TunnelEntryChildren"
540
540
  }
541
541
  },
542
542
  "staticEntryId": {
@@ -545,12 +545,12 @@
545
545
  "name": "staticEntryId",
546
546
  "parent": {
547
547
  "fileName": "packages/react-tunnel/dist/types/components/TunnelEntry.d.ts",
548
- "name": "Props"
548
+ "name": "TunnelEntryProps"
549
549
  },
550
550
  "declarations": [
551
551
  {
552
552
  "fileName": "packages/react-tunnel/dist/types/components/TunnelEntry.d.ts",
553
- "name": "Props"
553
+ "name": "TunnelEntryProps"
554
554
  }
555
555
  ],
556
556
  "required": false,
@@ -1 +1 @@
1
- {"version":3,"file":"TunnelEntry.mjs","sources":["../../../../../../src/components/TunnelEntry/TunnelEntry.tsx"],"sourcesContent":["import type { ComponentProps, FC } from \"react\";\nimport { TunnelEntry as ReactTunnelEntry } from \"@mittwald/react-tunnel\";\n\nexport type TunnelEntryProps = ComponentProps<typeof ReactTunnelEntry>;\n\n/**\n * @flr-generate all\n * @flr-clear-props-context\n */\nexport const TunnelEntry: FC<TunnelEntryProps> = (props) => (\n <ReactTunnelEntry {...props} />\n);\n\nexport default TunnelEntry;\n"],"names":["ReactTunnelEntry"],"mappings":";;;AASO,MAAM,cAAoC,CAAC,KAAA,qBAC/C,GAAA,CAAAA,aAAA,EAAA,EAAkB,GAAG,KAAO,EAAA;;;;"}
1
+ {"version":3,"file":"TunnelEntry.mjs","sources":["../../../../../../src/components/TunnelEntry/TunnelEntry.tsx"],"sourcesContent":["import type { FC } from \"react\";\nimport { TunnelEntry as ReactTunnelEntry } from \"@mittwald/react-tunnel\";\nimport type { TunnelEntryProps } from \"@mittwald/react-tunnel\";\n\nexport type { TunnelEntryProps } from \"@mittwald/react-tunnel\";\n\n/**\n * @flr-generate all\n * @flr-clear-props-context\n */\nexport const TunnelEntry: FC<TunnelEntryProps> = (props) => (\n <ReactTunnelEntry {...props} />\n);\n\nexport default TunnelEntry;\n"],"names":["ReactTunnelEntry"],"mappings":";;;AAUO,MAAM,cAAoC,CAAC,KAAA,qBAC/C,GAAA,CAAAA,aAAA,EAAA,EAAkB,GAAG,KAAO,EAAA;;;;"}
@@ -3,7 +3,13 @@
3
3
  import 'invariant';
4
4
 
5
5
  const Key = "mittwald.flow-core.file.awaitedArrayBuffer";
6
+ function isFileWithAwaitedArrayBuffer(file) {
7
+ return Key in file;
8
+ }
6
9
  const addAwaitedArrayBuffer = async (file) => {
10
+ if (isFileWithAwaitedArrayBuffer(file)) {
11
+ return file;
12
+ }
7
13
  const arrayBuffer = await file.arrayBuffer();
8
14
  Object.assign(file, { [Key]: arrayBuffer });
9
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"file.mjs","sources":["../../../../../core/src/file.ts"],"sourcesContent":["import invariant from \"invariant\";\n\nconst Key = \"mittwald.flow-core.file.awaitedArrayBuffer\";\n\nexport type FileWithAwaitedArrayBuffer = File & {\n [Key]: ArrayBuffer;\n};\n\nfunction isFileWithAwaitedArrayBuffer(\n file: File | FileWithAwaitedArrayBuffer,\n): file is FileWithAwaitedArrayBuffer {\n return Key in file;\n}\n\nexport const addAwaitedArrayBuffer = async (file: File) => {\n const arrayBuffer = await file.arrayBuffer();\n Object.assign(file, { [Key]: arrayBuffer });\n};\n\nexport const getAwaitArrayBuffer = (\n file: File | FileWithAwaitedArrayBuffer,\n) => {\n invariant(\n isFileWithAwaitedArrayBuffer(file),\n \"Could not get awaited ArrayBuffer from file\",\n );\n return file[Key];\n};\n"],"names":[],"mappings":";;AAEA,MAAM,GAAM,GAAA,4CAAA;AAYC,MAAA,qBAAA,GAAwB,OAAO,IAAe,KAAA;AACzD,EAAM,MAAA,WAAA,GAAc,MAAM,IAAA,CAAK,WAAY,EAAA;AAC3C,EAAA,MAAA,CAAO,OAAO,IAAM,EAAA,EAAE,CAAC,GAAG,GAAG,aAAa,CAAA;AAC5C;;;;"}
1
+ {"version":3,"file":"file.mjs","sources":["../../../../../core/src/file.ts"],"sourcesContent":["import invariant from \"invariant\";\n\nconst Key = \"mittwald.flow-core.file.awaitedArrayBuffer\";\n\nexport type FileWithAwaitedArrayBuffer = File & {\n [Key]: ArrayBuffer;\n};\n\nfunction isFileWithAwaitedArrayBuffer(\n file: File | FileWithAwaitedArrayBuffer,\n): file is FileWithAwaitedArrayBuffer {\n return Key in file;\n}\n\nexport const addAwaitedArrayBuffer = async (file: File) => {\n if (isFileWithAwaitedArrayBuffer(file)) {\n return file;\n }\n\n const arrayBuffer = await file.arrayBuffer();\n Object.assign(file, { [Key]: arrayBuffer });\n};\n\nexport const getAwaitArrayBuffer = (\n file: File | FileWithAwaitedArrayBuffer,\n) => {\n invariant(\n isFileWithAwaitedArrayBuffer(file),\n \"Could not get awaited ArrayBuffer from file\",\n );\n return file[Key];\n};\n"],"names":[],"mappings":";;AAEA,MAAM,GAAM,GAAA,4CAAA;AAMZ,SAAS,6BACP,IACoC,EAAA;AACpC,EAAA,OAAO,GAAO,IAAA,IAAA;AAChB;AAEa,MAAA,qBAAA,GAAwB,OAAO,IAAe,KAAA;AACzD,EAAI,IAAA,4BAAA,CAA6B,IAAI,CAAG,EAAA;AACtC,IAAO,OAAA,IAAA;AAAA;AAGT,EAAM,MAAA,WAAA,GAAc,MAAM,IAAA,CAAK,WAAY,EAAA;AAC3C,EAAA,MAAA,CAAO,OAAO,IAAM,EAAA,EAAE,CAAC,GAAG,GAAG,aAAa,CAAA;AAC5C;;;;"}
@@ -1,6 +1,6 @@
1
- import { ComponentProps, FC } from 'react';
2
- import { TunnelEntry as ReactTunnelEntry } from '@mittwald/react-tunnel';
3
- export type TunnelEntryProps = ComponentProps<typeof ReactTunnelEntry>;
1
+ import { FC } from 'react';
2
+ import { TunnelEntryProps } from '@mittwald/react-tunnel';
3
+ export type { TunnelEntryProps } from '@mittwald/react-tunnel';
4
4
  /**
5
5
  * @flr-generate all
6
6
  * @flr-clear-props-context
@@ -1 +1 @@
1
- {"version":3,"file":"TunnelEntry.d.ts","sourceRoot":"","sources":["../../../../src/components/TunnelEntry/TunnelEntry.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,WAAW,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAEzE,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEvE;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAE5C,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"TunnelEntry.d.ts","sourceRoot":"","sources":["../../../../src/components/TunnelEntry/TunnelEntry.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,YAAY,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAE5C,CAAC;AAEF,eAAe,WAAW,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.2.0-alpha.252",
3
+ "version": "0.2.0-alpha.254",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -58,7 +58,7 @@
58
58
  "@chakra-ui/live-region": "^2.1.0",
59
59
  "@internationalized/string-compiler": "^3.2.6",
60
60
  "@mittwald/password-tools-js": "^2.1.4",
61
- "@mittwald/react-tunnel": "0.2.0-alpha.252",
61
+ "@mittwald/react-tunnel": "0.2.0-alpha.254",
62
62
  "@mittwald/react-use-promise": "^3.0.4",
63
63
  "@react-aria/form": "^3.0.16",
64
64
  "@react-aria/utils": "^3.29.0",
@@ -99,7 +99,7 @@
99
99
  "@faker-js/faker": "^9.8.0",
100
100
  "@internationalized/date": "^3.8.1",
101
101
  "@mittwald/flow-core": "",
102
- "@mittwald/flow-design-tokens": "0.2.0-alpha.252",
102
+ "@mittwald/flow-design-tokens": "0.2.0-alpha.254",
103
103
  "@mittwald/react-use-promise": "^3.0.4",
104
104
  "@mittwald/remote-dom-react": "1.2.2-mittwald.3",
105
105
  "@mittwald/typescript-config": "",
@@ -181,5 +181,5 @@
181
181
  "optional": true
182
182
  }
183
183
  },
184
- "gitHead": "c07f64c030e3c3e015ab8cc150940ddfef1d8712"
184
+ "gitHead": "ba87c4e8b8392c3c58afa3aed5606e960496596b"
185
185
  }