tinacms 0.66.0 → 0.66.1

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,15 @@
1
1
  # tinacms
2
2
 
3
+ ## 0.66.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 3bba1817d: Integrates Chrome Components with TinaAdmin
8
+ - Updated dependencies [3bba1817d]
9
+ - Updated dependencies [415c03d25]
10
+ - @tinacms/toolkit@0.56.11
11
+ - @tinacms/sharedctx@0.1.0
12
+
3
13
  ## 0.66.0
4
14
 
5
15
  ### 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;