tinacms 0.65.3 → 0.66.3

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,47 @@
1
1
  # tinacms
2
2
 
3
+ ## 0.66.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [e41b709ce]
8
+ - @tinacms/toolkit@0.56.13
9
+
10
+ ## 0.66.2
11
+
12
+ ### Patch Changes
13
+
14
+ - 102628c7f: Fixes admin page wrapper scrolling
15
+ - 55cb0c5ec: Updates the relativePath field for clarity
16
+ - 9e77273d2: use collection name as fallback for label
17
+ - Updated dependencies [8c18edd5c]
18
+ - Updated dependencies [0773f6486]
19
+ - Updated dependencies [d8cd60f65]
20
+ - Updated dependencies [9e77273d2]
21
+ - Updated dependencies [63a74aece]
22
+ - @tinacms/toolkit@0.56.12
23
+
24
+ ## 0.66.1
25
+
26
+ ### Patch Changes
27
+
28
+ - 3bba1817d: Integrates Chrome Components with TinaAdmin
29
+ - Updated dependencies [3bba1817d]
30
+ - Updated dependencies [415c03d25]
31
+ - @tinacms/toolkit@0.56.11
32
+ - @tinacms/sharedctx@0.1.0
33
+
34
+ ## 0.66.0
35
+
36
+ ### Minor Changes
37
+
38
+ - d6f46a9f9: fix: When passing in queries into the root TinaCMS container, don't overwrite the data prop on an empty query
39
+
40
+ ### Patch Changes
41
+
42
+ - Updated dependencies [37286858e]
43
+ - @tinacms/toolkit@0.56.10
44
+
3
45
  ## 0.65.3
4
46
 
5
47
  ### Patch 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;