tinacms 3.11.0 → 3.12.0
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/dist/admin/components/AnnouncementsBanner.d.ts +13 -0
- package/dist/auth/AuthModal.d.ts +3 -1
- package/dist/auth/authenticate.d.ts +7 -9
- package/dist/auth/pkce.d.ts +3 -0
- package/dist/auth/useTinaAuthRedirect.d.ts +6 -4
- package/dist/client.js +25 -3
- package/dist/index.js +3697 -3260
- package/dist/internalClient/authProvider.d.ts +6 -6
- package/dist/internalClient/index.d.ts +9 -2
- package/dist/react.js +5 -10
- package/dist/rich-text/index.js +1 -1
- package/dist/rich-text/static.js +1 -1
- package/dist/toolkit/components/media/media-item.d.ts +1 -0
- package/dist/toolkit/components/media/modal.d.ts +6 -0
- package/dist/toolkit/components/media/utils.d.ts +22 -0
- package/dist/toolkit/components/resize-overlay.d.ts +10 -0
- package/dist/toolkit/components/tina-ui.d.ts +1 -1
- package/dist/toolkit/components/transition.d.ts +23 -0
- package/dist/toolkit/core/media-store.default.d.ts +23 -0
- package/dist/toolkit/core/media.d.ts +31 -4
- package/dist/toolkit/fields/plugins/blocks-field-plugin/index.d.ts +1 -1
- package/dist/toolkit/fields/plugins/group-list-field-plugin.d.ts +1 -1
- package/dist/toolkit/fields/plugins/mdx-field-plugin/{monaco/error-message.d.ts → error-message.d.ts} +0 -15
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/core/formatting.d.ts +1 -17
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-mdx-plugins/component.d.ts +1 -1
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/editor-plugins.d.ts +2 -519
- package/dist/toolkit/form-builder/branch-deleted-modal.d.ts +1 -1
- package/dist/toolkit/form-builder/create-branch-modal.d.ts +1 -1
- package/dist/toolkit/plugin-branch-switcher/plugin.d.ts +2 -2
- package/dist/toolkit/react-cloud-config/cloud-config-plugin.d.ts +2 -2
- package/dist/toolkit/react-sidebar/components/sidebar.d.ts +1 -0
- package/dist/unifiedClient/asyncLock.d.ts +35 -0
- package/dist/unifiedClient/index.d.ts +2 -1
- package/package.json +6 -12
- package/dist/auth/useGenerator.d.ts +0 -8
- package/dist/toolkit/fields/plugins/mdx-field-plugin/monaco/index.d.ts +0 -4
- package/dist/toolkit/fields/plugins/mdx-field-plugin/monaco/use-debounce.d.ts +0 -1
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/autocomplete.d.ts +0 -14
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/dropdown.d.ts +0 -9
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "tinacms",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"typings": "dist/index.d.ts",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.12.0",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
8
8
|
"exports": {
|
|
@@ -42,9 +42,6 @@
|
|
|
42
42
|
"@floating-ui/dom": "^1.6.13",
|
|
43
43
|
"@floating-ui/react-dom": "^2.1.2",
|
|
44
44
|
"@graphql-inspector/core": "^6.2.1",
|
|
45
|
-
"@headlessui/react": "2.1.8",
|
|
46
|
-
"@heroicons/react": "^1.0.6",
|
|
47
|
-
"@monaco-editor/react": "4.7.0-rc.0",
|
|
48
45
|
"@radix-ui/react-dialog": "^1.1.18",
|
|
49
46
|
"@radix-ui/react-dropdown-menu": "^2.1.19",
|
|
50
47
|
"@radix-ui/react-popover": "^1.1.18",
|
|
@@ -79,7 +76,6 @@
|
|
|
79
76
|
"@udecode/plate-slash-command": "^48.0.0",
|
|
80
77
|
"@udecode/plate-table": "^48.0.0",
|
|
81
78
|
"@udecode/plate-trailing-block": "^48.0.0",
|
|
82
|
-
"async-lock": "^1.4.1",
|
|
83
79
|
"class-variance-authority": "^0.7.1",
|
|
84
80
|
"clsx": "^2.1.1",
|
|
85
81
|
"cmdk": "^1.0.4",
|
|
@@ -94,8 +90,7 @@
|
|
|
94
90
|
"graphql-tag": "^2.12.6",
|
|
95
91
|
"is-hotkey": "^0.2.0",
|
|
96
92
|
"lucide-react": "^0.424.0",
|
|
97
|
-
"mermaid": "^11.
|
|
98
|
-
"monaco-editor": "0.31.0",
|
|
93
|
+
"mermaid": "^11.16.1",
|
|
99
94
|
"posthog-js": "^1.347.1",
|
|
100
95
|
"prism-react-renderer": "^2.4.1",
|
|
101
96
|
"prop-types": "15.7.2",
|
|
@@ -105,7 +100,6 @@
|
|
|
105
100
|
"react-dnd-html5-backend": "^16.0.1",
|
|
106
101
|
"react-dropzone": "14.2.3",
|
|
107
102
|
"react-final-form": "^6.5.9",
|
|
108
|
-
"react-icons": "^5.4.0",
|
|
109
103
|
"react-router-dom": "^6.30.3",
|
|
110
104
|
"react-use": "^17.6.0",
|
|
111
105
|
"tailwind-merge": "^2.6.0",
|
|
@@ -113,9 +107,9 @@
|
|
|
113
107
|
"yup": "^1.6.1",
|
|
114
108
|
"zod": "^3.24.2",
|
|
115
109
|
"@tinacms/bridge": "^0.3.1",
|
|
116
|
-
"@tinacms/mdx": "^2.
|
|
117
|
-
"@tinacms/
|
|
118
|
-
"@tinacms/
|
|
110
|
+
"@tinacms/mdx": "^2.2.0",
|
|
111
|
+
"@tinacms/search": "^1.2.23",
|
|
112
|
+
"@tinacms/schema-tools": "^2.9.0"
|
|
119
113
|
},
|
|
120
114
|
"devDependencies": {
|
|
121
115
|
"@graphql-tools/utils": "^10.8.1",
|
|
@@ -143,7 +137,7 @@
|
|
|
143
137
|
"typescript": "^5.7.3",
|
|
144
138
|
"vite": "^5.4.14",
|
|
145
139
|
"vitest": "^2.1.9",
|
|
146
|
-
"@tinacms/scripts": "1.6.
|
|
140
|
+
"@tinacms/scripts": "1.6.3"
|
|
147
141
|
},
|
|
148
142
|
"peerDependencies": {
|
|
149
143
|
"react": ">=16.14.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useDebounce(value: any, delay: any): any;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface AutocompleteItem {
|
|
3
|
-
key: string;
|
|
4
|
-
label: string;
|
|
5
|
-
render: (item: Omit<AutocompleteItem, 'render'>) => string | JSX.Element;
|
|
6
|
-
}
|
|
7
|
-
interface AutocompleteProps {
|
|
8
|
-
value: Omit<AutocompleteItem, 'render'>;
|
|
9
|
-
defaultQuery?: string;
|
|
10
|
-
onChange: (item: AutocompleteItem) => void;
|
|
11
|
-
items: AutocompleteItem[];
|
|
12
|
-
}
|
|
13
|
-
export declare const Autocomplete: React.FC<AutocompleteProps>;
|
|
14
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare function Dropdown({ label, items, }: {
|
|
3
|
-
label: string | JSX.Element;
|
|
4
|
-
items: {
|
|
5
|
-
key: string;
|
|
6
|
-
onClick?: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
7
|
-
render: string | JSX.Element;
|
|
8
|
-
}[];
|
|
9
|
-
}): React.JSX.Element;
|