@tinacms/app 0.0.0-97d38ab-20241104224426 → 0.0.0-98df118-20250227044321

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,16 +1,98 @@
1
1
  # @tinacms/app
2
2
 
3
- ## 0.0.0-97d38ab-20241104224426
3
+ ## 0.0.0-98df118-20250227044321
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - Updated dependencies [[`602b4d0`](https://github.com/tinacms/tinacms/commit/602b4d07f94de4c10d5bb059a5edc49546a2031c)]:
8
+ - tinacms@0.0.0-98df118-20250227044321
9
+ - @tinacms/mdx@0.0.0-98df118-20250227044321
10
+
11
+ ## 2.2.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [[`74513b3`](https://github.com/tinacms/tinacms/commit/74513b357aa27165aa86f7b3218c697c663539e8), [`06c1716`](https://github.com/tinacms/tinacms/commit/06c17163b558a96275b0ef66c746b005a6f90d13)]:
16
+ - tinacms@2.7.1
17
+
18
+ ## 2.2.0
19
+
20
+ ### Minor Changes
21
+
22
+ - [#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
23
+
24
+ ### Patch Changes
25
+
26
+ - [#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
27
+
28
+ - 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)]:
29
+ - tinacms@2.7.0
30
+ - @tinacms/mdx@1.6.0
31
+
32
+ ## 2.1.19
33
+
34
+ ### Patch Changes
35
+
36
+ - Updated dependencies []:
37
+ - tinacms@2.6.4
38
+
39
+ ## 2.1.18
40
+
41
+ ### Patch Changes
42
+
43
+ - 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)]:
44
+ - tinacms@2.6.3
45
+
46
+ ## 2.1.17
47
+
48
+ ### Patch Changes
49
+
50
+ - Updated dependencies []:
51
+ - tinacms@2.6.2
52
+
53
+ ## 2.1.16
54
+
55
+ ### Patch Changes
56
+
57
+ - Updated dependencies [[`61c45f4`](https://github.com/tinacms/tinacms/commit/61c45f49a2abe82336b661dedbbe2a15d0f3da05)]:
58
+ - tinacms@2.6.1
59
+
60
+ ## 2.1.15
61
+
62
+ ### Patch Changes
63
+
64
+ - Updated dependencies [[`9931d5a`](https://github.com/tinacms/tinacms/commit/9931d5a0d7e5e9e5165170047cf5653041bddd7a), [`4aadf3e`](https://github.com/tinacms/tinacms/commit/4aadf3ee0b5e7ba6614baee9507a3b51abc92053), [`92b683b`](https://github.com/tinacms/tinacms/commit/92b683bd3d73b47271eee5b8ff648ed4dcde51e3), [`82b0039`](https://github.com/tinacms/tinacms/commit/82b00393da8bbcc2cf357fbbb546904f07e8d89c), [`877699d`](https://github.com/tinacms/tinacms/commit/877699d08b3e2c2470742a3acf25d02a95e440b3)]:
65
+ - tinacms@2.6.0
66
+ - @tinacms/mdx@1.5.4
67
+
68
+ ## 2.1.14
69
+
70
+ ### Patch Changes
71
+
72
+ - Updated dependencies [[`b54b303`](https://github.com/tinacms/tinacms/commit/b54b303a8290528230dc83d8fb1b7535df7199f6), [`0345852`](https://github.com/tinacms/tinacms/commit/0345852e3a7568b61a1417cd037715ab0d0dca01)]:
73
+ - tinacms@2.5.2
74
+ - @tinacms/mdx@1.5.3
75
+
76
+ ## 2.1.13
77
+
78
+ ### Patch Changes
79
+
80
+ - Updated dependencies [[`bbfd415`](https://github.com/tinacms/tinacms/commit/bbfd415762a8b2c62b7653b497b94d67aaa8501a), [`83a25cf`](https://github.com/tinacms/tinacms/commit/83a25cf61b736e1867d37bee37f7514d349e4427)]:
81
+ - tinacms@2.5.1
82
+
83
+ ## 2.1.12
84
+
85
+ ### Patch Changes
86
+
87
+ - [#5276](https://github.com/tinacms/tinacms/pull/5276) [`f90ef4d`](https://github.com/tinacms/tinacms/commit/f90ef4d92ae7b21c8c610d14af9510354a3969c6) Thanks [@Ben0189](https://github.com/Ben0189)! - Updates minor and patch dependencies
88
+
7
89
  - [#5218](https://github.com/tinacms/tinacms/pull/5218) [`03bb823`](https://github.com/tinacms/tinacms/commit/03bb8237df87dab9da503818b839d44209263a48) Thanks [@kldavis4](https://github.com/kldavis4)! - Adds referential integrity for renaming and deleting referenced documents.
8
90
 
9
91
  When a document is renamed, any documents which reference the document will be updated with the new document name. When a document is deleted, the user will be warned and any references to the document will be deleted.
10
92
 
11
- - Updated dependencies [[`03bb823`](https://github.com/tinacms/tinacms/commit/03bb8237df87dab9da503818b839d44209263a48)]:
12
- - tinacms@0.0.0-97d38ab-20241104224426
13
- - @tinacms/mdx@0.0.0-97d38ab-20241104224426
93
+ - Updated dependencies [[`f90ef4d`](https://github.com/tinacms/tinacms/commit/f90ef4d92ae7b21c8c610d14af9510354a3969c6), [`03bb823`](https://github.com/tinacms/tinacms/commit/03bb8237df87dab9da503818b839d44209263a48), [`60fb710`](https://github.com/tinacms/tinacms/commit/60fb710addd539860eb7ba39196e02f3bb5f08c1), [`f3aa146`](https://github.com/tinacms/tinacms/commit/f3aa1465423101520bd05939249228c8d8b2a0df)]:
94
+ - @tinacms/mdx@1.5.2
95
+ - tinacms@2.5.0
14
96
 
15
97
  ## 2.1.11
16
98
 
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@tinacms/app",
3
- "version": "0.0.0-97d38ab-20241104224426",
3
+ "version": "0.0.0-98df118-20250227044321",
4
4
  "main": "src/main.tsx",
5
5
  "license": "Apache-2.0",
6
6
  "devDependencies": {
7
- "@types/react": "^18.3.10",
8
- "@types/react-dom": "^18.3.0",
9
- "typescript": "^5.6.2"
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.2",
24
- "zod": "^3.23.8",
25
- "@tinacms/mdx": "0.0.0-97d38ab-20241104224426",
26
- "tinacms": "0.0.0-97d38ab-20241104224426"
23
+ "typescript": "^5.7.3",
24
+ "zod": "^3.24.2",
25
+ "@tinacms/mdx": "0.0.0-98df118-20250227044321",
26
+ "tinacms": "0.0.0-98df118-20250227044321"
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