tinacms 2.8.2 → 2.9.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/dist/auth/AuthModal.d.ts +1 -4
- package/dist/auth/TinaCloudProvider.d.ts +0 -1
- package/dist/client.js +2 -2
- package/dist/client.mjs +2 -2
- package/dist/index.js +175 -126
- package/dist/index.mjs +175 -126
- package/dist/tina-cms.d.ts +1 -1
- package/dist/toolkit/components/media/media-item.d.ts +10 -0
- package/dist/toolkit/react-modals/modal/modal-header.d.ts +1 -1
- package/dist/toolkit/react-sidebar/components/badge.d.ts +5 -0
- package/dist/toolkit/react-sidebar/components/callout.d.ts +5 -0
- package/dist/toolkit/styles/button.d.ts +1 -1
- package/package.json +1 -1
- package/dist/toolkit/react-sidebar/components/alert.d.ts +0 -5
package/dist/tina-cms.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import type { TinaCMSProviderDefaultProps } from './types/cms';
|
|
|
9
9
|
export declare const TinaCMSProvider2: ({ query, documentCreatorCallback, formifyCallback, schema, ...props }: TinaCMSProviderDefaultProps) => React.JSX.Element;
|
|
10
10
|
export type DocumentCreatorCallback = Parameters<typeof useDocumentCreatorPlugin>[0];
|
|
11
11
|
/**
|
|
12
|
-
* @deprecated v0.62.0: Use `staticRequest` and a "try catch" block instead. see https://tina.io/docs/
|
|
12
|
+
* @deprecated v0.62.0: Use `staticRequest` and a "try catch" block instead. see https://tina.io/docs/r/content-api-overview for more details
|
|
13
13
|
*
|
|
14
14
|
* A convenience function which makes a GraphQL request
|
|
15
15
|
* to a local GraphQL server and ensures the response fits
|
|
@@ -7,6 +7,16 @@ interface MediaItemProps {
|
|
|
7
7
|
onClick(_item: Media | false): void;
|
|
8
8
|
active: boolean;
|
|
9
9
|
}
|
|
10
|
+
export declare const checkerboardStyle: {
|
|
11
|
+
backgroundImage: string;
|
|
12
|
+
backgroundSize: string;
|
|
13
|
+
backgroundPosition: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const smallCheckerboardStyle: {
|
|
16
|
+
backgroundImage: string;
|
|
17
|
+
backgroundSize: string;
|
|
18
|
+
backgroundPosition: string;
|
|
19
|
+
};
|
|
10
20
|
export declare function ListMediaItem({ item, onClick, active }: MediaItemProps): React.JSX.Element;
|
|
11
21
|
export declare function GridMediaItem({ item, active, onClick }: MediaItemProps): React.JSX.Element;
|
|
12
22
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface ModalHeaderProps {
|
|
3
|
-
children: React.
|
|
3
|
+
children: React.ReactNode;
|
|
4
4
|
close?(): void;
|
|
5
5
|
}
|
|
6
6
|
export declare const ModalHeader: ({ children, close }: ModalHeaderProps) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
-
variant?: 'primary' | 'secondary' | 'white' | 'ghost' | 'danger' | 'custom';
|
|
3
|
+
variant?: 'primary' | 'secondary' | 'white' | 'ghost' | 'danger' | 'accent' | 'custom';
|
|
4
4
|
as?: React.ElementType;
|
|
5
5
|
href?: string;
|
|
6
6
|
target?: string;
|
package/package.json
CHANGED