@tinacms/app 2.1.4 → 2.1.6

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,5 +1,27 @@
1
1
  # @tinacms/app
2
2
 
3
+ ## 2.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#4818](https://github.com/tinacms/tinacms/pull/4818) [`96bdcb7`](https://github.com/tinacms/tinacms/commit/96bdcb79b30e96056c7b19614be260a6c3ef00da) Thanks [@JackDevAU](https://github.com/JackDevAU)! - lock headlessui to version 2.1.8
8
+
9
+ - [#4804](https://github.com/tinacms/tinacms/pull/4804) [`d08053e`](https://github.com/tinacms/tinacms/commit/d08053e758b6910afa8ab8952a40984921cccbc4) Thanks [@dependabot](https://github.com/apps/dependabot)! - ⬆️ Updates Typescript to v5.5, @types/node to v22.x, next.js to latest version 14.x, and removes node-fetch
10
+
11
+ - Updated dependencies [[`b64b046`](https://github.com/tinacms/tinacms/commit/b64b046dc67ae948513057f855b156ce0cf250d8), [`6cd3596`](https://github.com/tinacms/tinacms/commit/6cd35967ab0d34851be44199bc9821b128fcfc75), [`96bdcb7`](https://github.com/tinacms/tinacms/commit/96bdcb79b30e96056c7b19614be260a6c3ef00da), [`a6a7735`](https://github.com/tinacms/tinacms/commit/a6a77351b97589c60de69445a9eb2ea57beb4343), [`d08053e`](https://github.com/tinacms/tinacms/commit/d08053e758b6910afa8ab8952a40984921cccbc4)]:
12
+ - tinacms@2.2.6
13
+ - @tinacms/mdx@1.4.3
14
+
15
+ ## 2.1.5
16
+
17
+ ### Patch Changes
18
+
19
+ - ba5f7a3: ⬆️ Update @headlessui/react from v1 to v2
20
+ - Updated dependencies [cf1530d]
21
+ - Updated dependencies [2762994]
22
+ - Updated dependencies [ba5f7a3]
23
+ - tinacms@2.2.5
24
+
3
25
  ## 2.1.4
4
26
 
5
27
  ### Patch Changes
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@tinacms/app",
3
- "version": "2.1.4",
3
+ "version": "2.1.6",
4
4
  "main": "src/main.tsx",
5
5
  "license": "Apache-2.0",
6
6
  "devDependencies": {
7
7
  "@types/react": "^18.3.3",
8
8
  "@types/react-dom": "^18.3.0",
9
- "typescript": "^5.5.4"
9
+ "typescript": "^5.6.2"
10
10
  },
11
11
  "dependencies": {
12
12
  "@graphiql/toolkit": "0.8.4",
13
- "@headlessui/react": "1.6.6",
14
- "@heroicons/react": "1.0.6",
13
+ "@headlessui/react": "2.1.8",
14
+ "@heroicons/react": "^1.0.6",
15
15
  "@monaco-editor/react": "4.4.5",
16
16
  "final-form": "4.20.10",
17
17
  "graphiql": "3.0.0-alpha.1",
@@ -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.5.4",
23
+ "typescript": "^5.6.2",
24
24
  "zod": "^3.14.3",
25
- "@tinacms/mdx": "1.4.2",
26
- "tinacms": "2.2.4"
25
+ "@tinacms/mdx": "1.4.3",
26
+ "tinacms": "2.2.6"
27
27
  }
28
28
  }
@@ -5,7 +5,12 @@
5
5
  */
6
6
  import React from 'react'
7
7
  import { XCircleIcon } from '@heroicons/react/solid'
8
- import { Popover, Transition } from '@headlessui/react'
8
+ import {
9
+ Popover,
10
+ PopoverButton,
11
+ PopoverPanel,
12
+ Transition,
13
+ } from '@headlessui/react'
9
14
  import { Fragment } from 'react'
10
15
  // import { InvalidMarkdownElement } from '@tinacms/mdx/src/parse/plate'
11
16
  export type EmptyTextElement = { type: 'text'; text: '' }
@@ -70,16 +75,15 @@ export function ErrorMessage({ error }: { error: InvalidMarkdownElement }) {
70
75
  <Popover className="relative">
71
76
  {() => (
72
77
  <>
73
- <Popover.Button
78
+ <PopoverButton
74
79
  className={`p-2 shaodw-lg border ${
75
80
  error ? '' : ' opacity-0 hidden '
76
81
  }`}
77
82
  >
78
83
  <span className="sr-only">Errors</span>
79
84
  <XCircleIcon className="h-5 w-5 text-red-400" aria-hidden="true" />
80
- </Popover.Button>
85
+ </PopoverButton>
81
86
  <Transition
82
- as={Fragment}
83
87
  enter="transition ease-out duration-200"
84
88
  enterFrom="opacity-0 translate-y-1"
85
89
  enterTo="opacity-100 translate-y-0"
@@ -87,7 +91,7 @@ export function ErrorMessage({ error }: { error: InvalidMarkdownElement }) {
87
91
  leaveFrom="opacity-100 translate-y-0"
88
92
  leaveTo="opacity-0 translate-y-1"
89
93
  >
90
- <Popover.Panel className="absolute top-8 w-[300px] -right-3 z-10 mt-3 px-4 sm:px-0">
94
+ <PopoverPanel className="absolute top-8 w-[300px] -right-3 z-10 mt-3 px-4 sm:px-0">
91
95
  <div className="overflow-hidden rounded-lg shadow-lg ring-1 ring-black ring-opacity-5">
92
96
  <div className="rounded-md bg-red-50 p-4 overflow-scroll">
93
97
  <div className="flex">
@@ -105,7 +109,7 @@ export function ErrorMessage({ error }: { error: InvalidMarkdownElement }) {
105
109
  </div>
106
110
  </div>
107
111
  </div>
108
- </Popover.Panel>
112
+ </PopoverPanel>
109
113
  </Transition>
110
114
  </>
111
115
  )}