@tinacms/app 0.0.0-660f88b-20250131021316 → 0.0.0-6aa84e6-20250220154439

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
@@ -1,12 +1,40 @@
1
1
  # @tinacms/app
2
2
 
3
- ## 0.0.0-660f88b-20250131021316
3
+ ## 0.0.0-6aa84e6-20250220154439
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Updated dependencies [[`bc986dd`](https://github.com/tinacms/tinacms/commit/bc986dd48f9a7da264281b55926ec51ce1068bb7), [`3af2354`](https://github.com/tinacms/tinacms/commit/3af23542b984c10e138d0cf10a165d50b99bb0e9), [`a18744d`](https://github.com/tinacms/tinacms/commit/a18744d534dcc921077311dadd9ff956404f1992)]:
8
- - tinacms@0.0.0-660f88b-20250131021316
9
- - @tinacms/mdx@0.0.0-660f88b-20250131021316
7
+ - Updated dependencies [[`06c1716`](https://github.com/tinacms/tinacms/commit/06c17163b558a96275b0ef66c746b005a6f90d13), [`cbc7476`](https://github.com/tinacms/tinacms/commit/cbc7476bbc4cb08a8ec4a319abbe1d2c2ca14a48)]:
8
+ - tinacms@0.0.0-6aa84e6-20250220154439
9
+ - @tinacms/mdx@0.0.0-6aa84e6-20250220154439
10
+
11
+ ## 2.2.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#5503](https://github.com/tinacms/tinacms/pull/5503) [`99bb59f`](https://github.com/tinacms/tinacms/commit/99bb59ff7b9f3cf27a1382b91826eb81831ecb95) Thanks [@JackDevAU](https://github.com/JackDevAU)! - feat: add experimental user form select to the useTina hook
16
+
17
+ ### Patch Changes
18
+
19
+ - [#5486](https://github.com/tinacms/tinacms/pull/5486) [`d7c5ec1`](https://github.com/tinacms/tinacms/commit/d7c5ec1b174419dcc6ddba3cfb3684dd469da571) Thanks [@JackDevAU](https://github.com/JackDevAU)! - Update dependencies across packages
20
+
21
+ - Updated dependencies [[`3974aa7`](https://github.com/tinacms/tinacms/commit/3974aa759192713140733b99ee0254a1a056e124), [`7541614`](https://github.com/tinacms/tinacms/commit/7541614527a02268ea453b23ce84637f978dcf2d), [`d7c5ec1`](https://github.com/tinacms/tinacms/commit/d7c5ec1b174419dcc6ddba3cfb3684dd469da571), [`99bb59f`](https://github.com/tinacms/tinacms/commit/99bb59ff7b9f3cf27a1382b91826eb81831ecb95)]:
22
+ - tinacms@2.7.0
23
+ - @tinacms/mdx@1.6.0
24
+
25
+ ## 2.1.19
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies []:
30
+ - tinacms@2.6.4
31
+
32
+ ## 2.1.18
33
+
34
+ ### Patch Changes
35
+
36
+ - Updated dependencies [[`05ba069`](https://github.com/tinacms/tinacms/commit/05ba0692a7e990fbb671177829562869d517e7c1), [`42daaf7`](https://github.com/tinacms/tinacms/commit/42daaf7af125da265d2c5998168e9c7345dc0a59), [`bc986dd`](https://github.com/tinacms/tinacms/commit/bc986dd48f9a7da264281b55926ec51ce1068bb7), [`3af2354`](https://github.com/tinacms/tinacms/commit/3af23542b984c10e138d0cf10a165d50b99bb0e9)]:
37
+ - tinacms@2.6.3
10
38
 
11
39
  ## 2.1.17
12
40
 
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@tinacms/app",
3
- "version": "0.0.0-660f88b-20250131021316",
3
+ "version": "0.0.0-6aa84e6-20250220154439",
4
4
  "main": "src/main.tsx",
5
5
  "license": "Apache-2.0",
6
6
  "devDependencies": {
7
- "@types/react": "^18.3.12",
8
- "@types/react-dom": "^18.3.1",
9
- "typescript": "^5.6.3"
7
+ "@types/react": "^18.3.18",
8
+ "@types/react-dom": "^18.3.5",
9
+ "typescript": "^5.7.3"
10
10
  },
11
11
  "dependencies": {
12
12
  "@graphiql/toolkit": "0.8.4",
@@ -20,9 +20,9 @@
20
20
  "react": "^18.3.1",
21
21
  "react-dom": "^18.3.1",
22
22
  "react-router-dom": "6.3.0",
23
- "typescript": "^5.6.3",
24
- "zod": "^3.23.8",
25
- "@tinacms/mdx": "0.0.0-660f88b-20250131021316",
26
- "tinacms": "0.0.0-660f88b-20250131021316"
23
+ "typescript": "^5.7.3",
24
+ "zod": "^3.24.2",
25
+ "@tinacms/mdx": "0.0.0-6aa84e6-20250220154439",
26
+ "tinacms": "0.0.0-6aa84e6-20250220154439"
27
27
  }
28
28
  }
@@ -495,6 +495,13 @@ export const useGraphQLReducer = (
495
495
 
496
496
  const handleMessage = React.useCallback(
497
497
  (event: MessageEvent<PostMessage>) => {
498
+ if (event.data.type === 'user-select-form') {
499
+ cms.dispatch({
500
+ type: 'forms:set-active-form-id',
501
+ value: event.data.formId,
502
+ })
503
+ }
504
+
498
505
  if (event?.data?.type === 'quick-edit') {
499
506
  cms.dispatch({
500
507
  type: 'set-quick-editing-supported',
package/src/lib/types.ts CHANGED
@@ -6,6 +6,7 @@ export type PostMessage =
6
6
  }
7
7
  | { type: 'field:selected'; fieldName: string }
8
8
  | { type: 'quick-edit'; value: boolean }
9
+ | { type: 'user-select-form'; formId: string }
9
10
 
10
11
  export type Payload = {
11
12
  id: string