tinacms 0.62.0 → 0.63.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/CHANGELOG.md +23 -0
- package/dist/index.es.js +29 -13
- package/dist/index.js +31 -15
- package/dist/style.css +1484 -0
- package/dist/tina-cms.d.ts +25 -4
- package/package.json +3 -2
package/dist/tina-cms.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import { TinaCloudMediaStoreClass } from './auth';
|
|
|
16
16
|
import type { TinaIOConfig } from './client/index';
|
|
17
17
|
import type { TinaCMS } from '@tinacms/toolkit';
|
|
18
18
|
import type { formifyCallback } from './hooks/use-graphql-forms';
|
|
19
|
-
export declare const TinaCMSProvider2: ({ children,
|
|
19
|
+
export declare const TinaCMSProvider2: ({ children, cmsCallback, mediaStore, tinaioConfig, ...props }: {
|
|
20
20
|
/** The query from getStaticProps */
|
|
21
21
|
query?: string;
|
|
22
22
|
/** Any variables from getStaticProps */
|
|
@@ -25,11 +25,32 @@ export declare const TinaCMSProvider2: ({ children, branch, clientId, isLocalCli
|
|
|
25
25
|
data: object;
|
|
26
26
|
/** Your React page component */
|
|
27
27
|
children: () => React.ReactNode;
|
|
28
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* The URL for the GraphQL API.
|
|
30
|
+
*
|
|
31
|
+
* When working locally, this should be http://localhost:4001/graphql.
|
|
32
|
+
*
|
|
33
|
+
* For Tina Cloud, use https://content.tinajs.io/content/my-client-id/github/my-branch
|
|
34
|
+
*/
|
|
35
|
+
apiURL: string;
|
|
36
|
+
/**
|
|
37
|
+
* Point to the local version of GraphQL instead of tina.io
|
|
38
|
+
* https://tina.io/docs/tinacms-context/#adding-tina-to-the-sites-frontend
|
|
39
|
+
*
|
|
40
|
+
* @deprecated use apiURL instead
|
|
41
|
+
*/
|
|
29
42
|
isLocalClient?: boolean;
|
|
30
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* The base branch to pull content from. Note that this is ignored for local development
|
|
45
|
+
*
|
|
46
|
+
* @deprecated use apiURL instead
|
|
47
|
+
*/
|
|
31
48
|
branch?: string;
|
|
32
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* Your clientID from tina.aio
|
|
51
|
+
*
|
|
52
|
+
* @deprecated use apiURL instead
|
|
53
|
+
*/
|
|
33
54
|
clientId?: string;
|
|
34
55
|
/** Callback if you need access to the TinaCMS instance */
|
|
35
56
|
cmsCallback?: (cms: TinaCMS) => TinaCMS;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tinacms",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.63.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@headlessui/react": "^1.4.1",
|
|
24
24
|
"@heroicons/react": "^1.0.4",
|
|
25
25
|
"@tinacms/sharedctx": "0.0.1",
|
|
26
|
-
"@tinacms/toolkit": "0.56.
|
|
26
|
+
"@tinacms/toolkit": "0.56.6",
|
|
27
27
|
"crypto-js": "^4.0.0",
|
|
28
28
|
"final-form": "4.20.1",
|
|
29
29
|
"graphql": "^15.1.0",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"lodash.set": "^4.3.2",
|
|
32
32
|
"react-icons": "^4.3.1",
|
|
33
33
|
"react-router-dom": "6",
|
|
34
|
+
"url-pattern": "^1.0.3",
|
|
34
35
|
"yup": "^0.32.0"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|