tinacms 0.66.2 → 0.66.5
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 +28 -0
- package/dist/admin/components/GetCollection.d.ts +4 -1
- package/dist/admin/components/GetCollections.d.ts +0 -1
- package/dist/admin/components/GetDocument.d.ts +4 -1
- package/dist/admin/components/GetDocumentFields.d.ts +10 -1
- package/dist/admin/components/LoadingPage.d.ts +14 -0
- package/dist/index.es.js +212 -160
- package/dist/index.js +211 -159
- package/dist/rich-text.es.js +0 -1
- package/dist/rich-text.js +0 -1
- package/dist/style.css +22 -29
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# tinacms
|
|
2
2
|
|
|
3
|
+
## 0.66.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 43c834565: Adds an activity indicator throughout Admin
|
|
8
|
+
- 53a4550db: Allows RouteMapping to be dynamically imported
|
|
9
|
+
- 731451bee: Adjust the JWT token refresh logic to refresh tokens _before_ they expire.
|
|
10
|
+
- e102d7438: Updated auth modal to use toolkit button components
|
|
11
|
+
- Updated dependencies [43c834565]
|
|
12
|
+
- @tinacms/toolkit@0.56.15
|
|
13
|
+
|
|
14
|
+
## 0.66.4
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- cc5c8431d: Remove console.log
|
|
19
|
+
- Updated dependencies [af9f6c2c2]
|
|
20
|
+
- Updated dependencies [2e14cda5e]
|
|
21
|
+
- Updated dependencies [3d4c52a19]
|
|
22
|
+
- @tinacms/toolkit@0.56.14
|
|
23
|
+
|
|
24
|
+
## 0.66.3
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [e41b709ce]
|
|
29
|
+
- @tinacms/toolkit@0.56.13
|
|
30
|
+
|
|
3
31
|
## 0.66.2
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -12,7 +12,10 @@ limitations under the License.
|
|
|
12
12
|
*/
|
|
13
13
|
import type { TinaCMS } from '@tinacms/toolkit';
|
|
14
14
|
import type { Collection } from '../types';
|
|
15
|
-
export declare const useGetCollection: (cms: TinaCMS, collectionName: string, includeDocuments?: boolean) =>
|
|
15
|
+
export declare const useGetCollection: (cms: TinaCMS, collectionName: string, includeDocuments?: boolean) => {
|
|
16
|
+
collection: Collection;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
};
|
|
16
19
|
declare const GetCollection: ({ cms, collectionName, includeDocuments, children, }: {
|
|
17
20
|
cms: TinaCMS;
|
|
18
21
|
collectionName: string;
|
|
@@ -12,7 +12,10 @@ limitations under the License.
|
|
|
12
12
|
*/
|
|
13
13
|
import type { TinaCMS } from '@tinacms/toolkit';
|
|
14
14
|
import type { DocumentForm } from '../types';
|
|
15
|
-
export declare const useGetDocument: (cms: TinaCMS, collectionName: string, relativePath: string) =>
|
|
15
|
+
export declare const useGetDocument: (cms: TinaCMS, collectionName: string, relativePath: string) => {
|
|
16
|
+
document: DocumentForm;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
};
|
|
16
19
|
declare const GetDocument: ({ cms, collectionName, relativePath, children, }: {
|
|
17
20
|
cms: TinaCMS;
|
|
18
21
|
collectionName: string;
|
|
@@ -20,7 +20,16 @@ export interface Info {
|
|
|
20
20
|
includeTemplate: boolean;
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
-
export declare const useGetDocumentFields: (cms: TinaCMS, collectionName: string, templateName: string) =>
|
|
23
|
+
export declare const useGetDocumentFields: (cms: TinaCMS, collectionName: string, templateName: string) => {
|
|
24
|
+
loading: boolean;
|
|
25
|
+
collection: Object | undefined;
|
|
26
|
+
template: Object | undefined;
|
|
27
|
+
fields: Object[] | undefined;
|
|
28
|
+
mutationInfo: {
|
|
29
|
+
includeCollection: boolean;
|
|
30
|
+
includeTemplate: boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
24
33
|
declare const GetDocumentFields: ({ cms, collectionName, templateName, children, }: {
|
|
25
34
|
cms: TinaCMS;
|
|
26
35
|
collectionName: string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
Copyright 2021 Forestry.io Holdings, Inc.
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
+
Unless required by applicable law or agreed to in writing, software
|
|
8
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
9
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
10
|
+
See the License for the specific language governing permissions and
|
|
11
|
+
limitations under the License.
|
|
12
|
+
*/
|
|
13
|
+
declare const LoadingPage: () => JSX.Element;
|
|
14
|
+
export default LoadingPage;
|