@tinacms/app 2.3.28 → 2.3.30

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,25 @@
1
1
  # @tinacms/app
2
2
 
3
+ ## 2.3.30
4
+
5
+ ### Patch Changes
6
+
7
+ - [#6524](https://github.com/tinacms/tinacms/pull/6524) [`3c45642`](https://github.com/tinacms/tinacms/commit/3c45642650e1a9e9fd340c62c9a5372d10f0bee7) Thanks [@joshbermanssw](https://github.com/joshbermanssw)! - Fix broken cross-package relative import for posthog in @tinacms/app that caused consumer build failures
8
+
9
+ - Updated dependencies [[`3c45642`](https://github.com/tinacms/tinacms/commit/3c45642650e1a9e9fd340c62c9a5372d10f0bee7)]:
10
+ - tinacms@3.6.3
11
+
12
+ ## 2.3.29
13
+
14
+ ### Patch Changes
15
+
16
+ - [#6495](https://github.com/tinacms/tinacms/pull/6495) [`0a1049d`](https://github.com/tinacms/tinacms/commit/0a1049d4cc205af64e566cd86a00260a20fc7036) Thanks [@joshbermanssw](https://github.com/joshbermanssw)! - 🐖 Telemetry - Adding Telemetry to see when users switch between rich-text and markdown mode in the rich-text editor
17
+
18
+ - [#6480](https://github.com/tinacms/tinacms/pull/6480) [`ebaa246`](https://github.com/tinacms/tinacms/commit/ebaa24655a590eef25f856e98a4bbdae7d26b2a0) Thanks [@joshbermanssw](https://github.com/joshbermanssw)! - 🦙 Add favicon when using TinaCMS editor
19
+
20
+ - Updated dependencies [[`3b44e6a`](https://github.com/tinacms/tinacms/commit/3b44e6ad9bd2ff336aa8147b016de8b9bbb6f90d), [`35385f1`](https://github.com/tinacms/tinacms/commit/35385f16fe9e4cb386021445c8e1cb817a03dcd3), [`0a1049d`](https://github.com/tinacms/tinacms/commit/0a1049d4cc205af64e566cd86a00260a20fc7036), [`960181a`](https://github.com/tinacms/tinacms/commit/960181a4fd351eabdb69d5580a3ca79b0a905fcf), [`7d544d2`](https://github.com/tinacms/tinacms/commit/7d544d22ce17fe616010c6aba63bd43c12725806), [`83ed83f`](https://github.com/tinacms/tinacms/commit/83ed83f27624134feffa0473f02b0f6f3318441b), [`8f08f49`](https://github.com/tinacms/tinacms/commit/8f08f49638edcecaf703681538fa46bbc53df982), [`13e953a`](https://github.com/tinacms/tinacms/commit/13e953a92eebcbfe2a86e12a9161ac6fe52e9236), [`168c283`](https://github.com/tinacms/tinacms/commit/168c283f0f43d601ef5ecec36062463fb5f106bf), [`c439e75`](https://github.com/tinacms/tinacms/commit/c439e759250e418c47a33eee7c9986d3b89131bf), [`9bc4f3c`](https://github.com/tinacms/tinacms/commit/9bc4f3cccb1ab88cfefcc59da7ad228d250f03d3)]:
21
+ - tinacms@3.6.2
22
+
3
23
  ## 2.3.28
4
24
 
5
25
  ### Patch Changes
package/favicon.svg ADDED
@@ -0,0 +1,4 @@
1
+ <svg viewBox="0 0 32 32" fill="#EC4815" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M18.6466 14.5553C19.9018 13.5141 20.458 7.36086 21.0014 5.14903C21.5447 2.9372 23.7919 3.04938 23.7919 3.04938C23.7919 3.04938 23.2085 4.06764 23.4464 4.82751C23.6844 5.58738 25.3145 6.26662 25.3145 6.26662L24.9629 7.19622C24.9629 7.19622 24.2288 7.10204 23.7919 7.9785C23.355 8.85496 24.3392 17.4442 24.3392 17.4442C24.3392 17.4442 21.4469 22.7275 21.4469 24.9206C21.4469 27.1136 22.4819 28.9515 22.4819 28.9515H21.0296C21.0296 28.9515 18.899 26.4086 18.462 25.1378C18.0251 23.8669 18.1998 22.596 18.1998 22.596C18.1998 22.596 15.8839 22.4646 13.8303 22.596C11.7767 22.7275 10.4072 24.498 10.16 25.4884C9.91287 26.4787 9.81048 28.9515 9.81048 28.9515H8.66211C7.96315 26.7882 7.40803 26.0129 7.70918 24.9206C8.54334 21.8949 8.37949 20.1788 8.18635 19.4145C7.99321 18.6501 6.68552 17.983 6.68552 17.983C7.32609 16.6741 7.97996 16.0452 10.7926 15.9796C13.6052 15.914 17.3915 15.5965 18.6466 14.5553Z"/>
3
+ <path d="M11.1268 24.7939C11.1268 24.7939 11.4236 27.5481 13.0001 28.9516H14.3511C13.0001 27.4166 12.8527 23.4155 12.8527 23.4155C12.1656 23.6399 11.3045 24.3846 11.1268 24.7939Z"/>
4
+ </svg>
package/index.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <html lang="en">
3
3
  <head>
4
4
  <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/vite.svg" />
5
+ <link rel="icon" href="/favicon.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>TinaCMS</title>
8
8
  </head>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/app",
3
- "version": "2.3.28",
3
+ "version": "2.3.30",
4
4
  "main": "src/main.tsx",
5
5
  "license": "Apache-2.0",
6
6
  "devDependencies": {
@@ -27,7 +27,7 @@
27
27
  "typescript": "^5.7.3",
28
28
  "zod": "^3.24.2",
29
29
  "@tinacms/mdx": "2.0.7",
30
- "tinacms": "3.6.1"
30
+ "tinacms": "3.6.3"
31
31
  },
32
32
  "repository": {
33
33
  "url": "https://github.com/tinacms/tinacms.git",
@@ -15,6 +15,7 @@ import {
15
15
  buildError,
16
16
  } from './error-message';
17
17
  import { useDebounce } from './use-debounce';
18
+ import { RichTextEditorSwitchedEvent, captureEvent } from 'tinacms';
18
19
 
19
20
  export const uuid = () => {
20
21
  // @ts-ignore
@@ -154,7 +155,12 @@ export const RawEditor = (props: RichTextType) => {
154
155
  return (
155
156
  <div className='relative'>
156
157
  <div className='sticky top-1 w-full flex justify-between mb-2 z-50 max-w-full bg-white'>
157
- <Button onClick={() => props.setRawMode(false)}>
158
+ <Button
159
+ onClick={() => {
160
+ captureEvent(RichTextEditorSwitchedEvent, { to: 'richtext' });
161
+ props.setRawMode(false);
162
+ }}
163
+ >
158
164
  View in rich-text editor 📝
159
165
  </Button>
160
166
  <ErrorMessage error={error} />