tinacms 0.66.0 → 0.66.4

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,46 @@
1
1
  # tinacms
2
2
 
3
+ ## 0.66.4
4
+
5
+ ### Patch Changes
6
+
7
+ - cc5c8431d: Remove console.log
8
+ - Updated dependencies [af9f6c2c2]
9
+ - Updated dependencies [2e14cda5e]
10
+ - Updated dependencies [3d4c52a19]
11
+ - @tinacms/toolkit@0.56.14
12
+
13
+ ## 0.66.3
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [e41b709ce]
18
+ - @tinacms/toolkit@0.56.13
19
+
20
+ ## 0.66.2
21
+
22
+ ### Patch Changes
23
+
24
+ - 102628c7f: Fixes admin page wrapper scrolling
25
+ - 55cb0c5ec: Updates the relativePath field for clarity
26
+ - 9e77273d2: use collection name as fallback for label
27
+ - Updated dependencies [8c18edd5c]
28
+ - Updated dependencies [0773f6486]
29
+ - Updated dependencies [d8cd60f65]
30
+ - Updated dependencies [9e77273d2]
31
+ - Updated dependencies [63a74aece]
32
+ - @tinacms/toolkit@0.56.12
33
+
34
+ ## 0.66.1
35
+
36
+ ### Patch Changes
37
+
38
+ - 3bba1817d: Integrates Chrome Components with TinaAdmin
39
+ - Updated dependencies [3bba1817d]
40
+ - Updated dependencies [415c03d25]
41
+ - @tinacms/toolkit@0.56.11
42
+ - @tinacms/sharedctx@0.1.0
43
+
3
44
  ## 0.66.0
4
45
 
5
46
  ### Minor Changes
@@ -10,17 +10,15 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
10
  See the License for the specific language governing permissions and
11
11
  limitations under the License.
12
12
  */
13
+ import type { TinaCMS } from '@tinacms/toolkit';
13
14
  import type { Collection, DocumentForm, GetDocumentFields } from './types';
14
15
  export declare class TinaAdminApi {
15
- /**
16
- * cms.api.tina
17
- */
18
16
  api: {
19
17
  request: (query: string, { variables }: {
20
18
  variables: object;
21
19
  }) => any;
22
20
  };
23
- constructor(TinaApi: any);
21
+ constructor(cms: TinaCMS);
24
22
  fetchCollections(): Promise<{
25
23
  getCollections: Collection[];
26
24
  }>;
@@ -12,7 +12,11 @@ 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 useGetCollections: (cms: TinaCMS) => Collection[];
15
+ export declare const useGetCollections: (cms: TinaCMS) => {
16
+ collections: Collection[];
17
+ loading: boolean;
18
+ error: boolean;
19
+ };
16
20
  declare const GetCollections: ({ cms, children }: {
17
21
  cms: TinaCMS;
18
22
  children: any;
@@ -0,0 +1,26 @@
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
+ import React from 'react';
14
+ export declare const PageWrapper: ({ children, }: {
15
+ children: React.ReactChild | React.ReactChildren;
16
+ }) => JSX.Element;
17
+ export declare const PageHeader: ({ isLocalMode, children, }: {
18
+ isLocalMode?: boolean;
19
+ children: React.ReactChild | React.ReactChildren;
20
+ }) => JSX.Element;
21
+ export declare const PageBody: ({ children, }: {
22
+ children: React.ReactChild | React.ReactChildren;
23
+ }) => JSX.Element;
24
+ export declare const PageBodyNarrow: ({ children, }: {
25
+ children: React.ReactChild | React.ReactChildren;
26
+ }) => JSX.Element;
@@ -11,6 +11,7 @@ See the License for the specific language governing permissions and
11
11
  limitations under the License.
12
12
  */
13
13
  import type { TinaCMS } from '@tinacms/toolkit';
14
+ export declare const slugify: (text: any) => any;
14
15
  declare const Sidebar: ({ cms }: {
15
16
  cms: TinaCMS;
16
17
  }) => JSX.Element;
@@ -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 ScreenPage: () => JSX.Element;
14
+ export default ScreenPage;