tinacms 1.6.7 → 2.1.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.
Files changed (185) hide show
  1. package/dist/admin/components/AuthTemplate.d.ts +2 -2
  2. package/dist/admin/components/ErrorDialog.d.ts +2 -2
  3. package/dist/admin/components/FullscreenError.d.ts +2 -2
  4. package/dist/admin/components/GetCMS.d.ts +2 -2
  5. package/dist/admin/components/GetCollection.d.ts +2 -2
  6. package/dist/admin/components/GetCollections.d.ts +2 -2
  7. package/dist/admin/components/GetDocument.d.ts +2 -2
  8. package/dist/admin/components/Layout.d.ts +2 -2
  9. package/dist/admin/components/LoadingPage.d.ts +2 -2
  10. package/dist/admin/components/Page.d.ts +11 -11
  11. package/dist/admin/components/Sidebar.d.ts +2 -2
  12. package/dist/admin/index.d.ts +2 -2
  13. package/dist/admin/pages/CollectionCreatePage.d.ts +3 -3
  14. package/dist/admin/pages/CollectionDuplicatePage.d.ts +2 -2
  15. package/dist/admin/pages/CollectionListPage.d.ts +2 -2
  16. package/dist/admin/pages/CollectionUpdatePage.d.ts +2 -2
  17. package/dist/admin/pages/DashboardPage.d.ts +2 -2
  18. package/dist/admin/pages/ScreenPage.d.ts +2 -2
  19. package/dist/auth/AuthModal.d.ts +3 -3
  20. package/dist/auth/TinaCloudProvider.d.ts +3 -3
  21. package/dist/index.js +114 -262
  22. package/dist/index.mjs +114 -263
  23. package/dist/internalClient/formify.d.ts +1 -1
  24. package/dist/rich-text/index.d.ts +2 -2
  25. package/dist/rich-text/prism.d.ts +2 -2
  26. package/dist/tina-cms.d.ts +3 -9
  27. package/dist/toolkit/alerts/alerts.d.ts +1 -1
  28. package/dist/toolkit/components/account/update-password.d.ts +2 -2
  29. package/dist/toolkit/components/active-field-indicator.d.ts +2 -2
  30. package/dist/toolkit/components/media/breadcrumb.d.ts +2 -2
  31. package/dist/toolkit/components/media/copy-field.d.ts +2 -2
  32. package/dist/toolkit/components/media/media-item.d.ts +3 -3
  33. package/dist/toolkit/components/media/media-manager.d.ts +3 -3
  34. package/dist/toolkit/components/media/modal.d.ts +3 -3
  35. package/dist/toolkit/components/media/pagination.d.ts +2 -2
  36. package/dist/toolkit/components/mutation-signal.d.ts +1 -1
  37. package/dist/toolkit/fields/components/image-upload/image-upload.d.ts +3 -3
  38. package/dist/toolkit/fields/components/input.d.ts +2 -2
  39. package/dist/toolkit/fields/components/password-field.d.ts +1 -1
  40. package/dist/toolkit/fields/components/text-field.d.ts +1 -1
  41. package/dist/toolkit/fields/components/textarea.d.ts +1 -1
  42. package/dist/toolkit/fields/plugins/blocks-field-plugin/block-selector-big.d.ts +2 -2
  43. package/dist/toolkit/fields/plugins/blocks-field-plugin/block-selector.d.ts +2 -2
  44. package/dist/toolkit/fields/plugins/blocks-field-plugin/index.d.ts +3 -3
  45. package/dist/toolkit/fields/plugins/button-toggle-field-plugin.d.ts +2 -2
  46. package/dist/toolkit/fields/plugins/checkbox-group-field-plugin.d.ts +2 -2
  47. package/dist/toolkit/fields/plugins/color-field-plugin.d.ts +3 -3
  48. package/dist/toolkit/fields/plugins/date-field-plugin.d.ts +4 -4
  49. package/dist/toolkit/fields/plugins/group-field-plugin.d.ts +7 -7
  50. package/dist/toolkit/fields/plugins/group-list-field-plugin.d.ts +8 -8
  51. package/dist/toolkit/fields/plugins/hidden-field-plugin.d.ts +3 -3
  52. package/dist/toolkit/fields/plugins/image-field-plugin.d.ts +3 -3
  53. package/dist/toolkit/fields/plugins/list-field-meta.d.ts +6 -6
  54. package/dist/toolkit/fields/plugins/list-field-plugin.d.ts +3 -3
  55. package/dist/toolkit/fields/plugins/mdx-field-plugin/index.d.ts +6 -2
  56. package/dist/toolkit/fields/plugins/mdx-field-plugin/monaco/error-message.d.ts +2 -2
  57. package/dist/toolkit/fields/plugins/mdx-field-plugin/monaco/index.d.ts +2 -2
  58. package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/index.d.ts +2 -2
  59. package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/nested-form.d.ts +2 -2
  60. package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-img-plugin/component.d.ts +3 -3
  61. package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-invalid-markdown-plugin/index.d.ts +2 -2
  62. package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-link-plugin/index.d.ts +2 -2
  63. package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-mdx-plugins/component.d.ts +3 -3
  64. package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/code-block/index.d.ts +1 -1
  65. package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/components.d.ts +21 -21
  66. package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/dropdown.d.ts +1 -1
  67. package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/icons.d.ts +17 -17
  68. package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/toolbar/floating-toolbar.d.ts +2 -2
  69. package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/toolbar/index.d.ts +9 -6
  70. package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/toolbar/overflow-menu.d.ts +2 -2
  71. package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/toolbar/toolbar-item.d.ts +4 -4
  72. package/dist/toolkit/fields/plugins/number-field-plugin.d.ts +3 -3
  73. package/dist/toolkit/fields/plugins/password-field-plugin.d.ts +3 -3
  74. package/dist/toolkit/fields/plugins/radio-group-field-plugin.d.ts +2 -2
  75. package/dist/toolkit/fields/plugins/reference-field-plugin.d.ts +2 -2
  76. package/dist/toolkit/fields/plugins/select-field-plugin.d.ts +2 -2
  77. package/dist/toolkit/fields/plugins/tags-field-plugin.d.ts +3 -3
  78. package/dist/toolkit/fields/plugins/text-field-plugin.d.ts +3 -3
  79. package/dist/toolkit/fields/plugins/textarea-field-plugin.d.ts +3 -3
  80. package/dist/toolkit/fields/plugins/toggle-field-plugin.d.ts +2 -2
  81. package/dist/toolkit/fields/plugins/wrap-field-with-meta.d.ts +7 -7
  82. package/dist/toolkit/form-builder/fields-builder.d.ts +3 -3
  83. package/dist/toolkit/form-builder/form-actions.d.ts +2 -1
  84. package/dist/toolkit/form-builder/form-builder.d.ts +6 -6
  85. package/dist/toolkit/form-builder/form-portal.d.ts +5 -1
  86. package/dist/toolkit/form-builder/form.d.ts +2 -2
  87. package/dist/toolkit/form-builder/loading-dots.d.ts +2 -2
  88. package/dist/toolkit/icons/Add.d.ts +2 -2
  89. package/dist/toolkit/icons/Alert.d.ts +2 -2
  90. package/dist/toolkit/icons/AlignCenter.d.ts +2 -2
  91. package/dist/toolkit/icons/AlignLeft.d.ts +2 -2
  92. package/dist/toolkit/icons/AlignRight.d.ts +2 -2
  93. package/dist/toolkit/icons/Bold.d.ts +2 -2
  94. package/dist/toolkit/icons/ChevronDown.d.ts +2 -2
  95. package/dist/toolkit/icons/ChevronLeft.d.ts +2 -2
  96. package/dist/toolkit/icons/ChevronRight.d.ts +2 -2
  97. package/dist/toolkit/icons/ChevronUp.d.ts +2 -2
  98. package/dist/toolkit/icons/Circle.d.ts +2 -2
  99. package/dist/toolkit/icons/CircleCheck.d.ts +2 -2
  100. package/dist/toolkit/icons/Close.d.ts +2 -2
  101. package/dist/toolkit/icons/Code.d.ts +2 -2
  102. package/dist/toolkit/icons/Drag.d.ts +2 -2
  103. package/dist/toolkit/icons/Duplicate.d.ts +2 -2
  104. package/dist/toolkit/icons/Edit.d.ts +2 -2
  105. package/dist/toolkit/icons/EllipsisVertical.d.ts +2 -2
  106. package/dist/toolkit/icons/Error.d.ts +2 -2
  107. package/dist/toolkit/icons/Exit.d.ts +2 -2
  108. package/dist/toolkit/icons/File.d.ts +2 -2
  109. package/dist/toolkit/icons/Folder.d.ts +2 -2
  110. package/dist/toolkit/icons/Hamburger.d.ts +2 -2
  111. package/dist/toolkit/icons/Heading.d.ts +2 -2
  112. package/dist/toolkit/icons/Info.d.ts +2 -2
  113. package/dist/toolkit/icons/Italic.d.ts +2 -2
  114. package/dist/toolkit/icons/LeftArrow.d.ts +2 -2
  115. package/dist/toolkit/icons/Link.d.ts +2 -2
  116. package/dist/toolkit/icons/Lock.d.ts +2 -2
  117. package/dist/toolkit/icons/Markdown.d.ts +2 -2
  118. package/dist/toolkit/icons/Media.d.ts +2 -2
  119. package/dist/toolkit/icons/OrderedList.d.ts +2 -2
  120. package/dist/toolkit/icons/PullRequest.d.ts +2 -2
  121. package/dist/toolkit/icons/Quote.d.ts +2 -2
  122. package/dist/toolkit/icons/Redo.d.ts +2 -2
  123. package/dist/toolkit/icons/Reorder.d.ts +2 -2
  124. package/dist/toolkit/icons/ReorderRow.d.ts +2 -2
  125. package/dist/toolkit/icons/Reset.d.ts +2 -2
  126. package/dist/toolkit/icons/RightArrow.d.ts +2 -2
  127. package/dist/toolkit/icons/Settings.d.ts +2 -2
  128. package/dist/toolkit/icons/Strikethrough.d.ts +2 -2
  129. package/dist/toolkit/icons/Table.d.ts +2 -2
  130. package/dist/toolkit/icons/Tina.d.ts +2 -2
  131. package/dist/toolkit/icons/Trash.d.ts +2 -2
  132. package/dist/toolkit/icons/Underline.d.ts +2 -2
  133. package/dist/toolkit/icons/Undo.d.ts +2 -2
  134. package/dist/toolkit/icons/UnorderedList.d.ts +2 -2
  135. package/dist/toolkit/icons/Upload.d.ts +2 -2
  136. package/dist/toolkit/icons/Warning.d.ts +2 -2
  137. package/dist/toolkit/plugin-branch-switcher/branch-banner.d.ts +2 -2
  138. package/dist/toolkit/plugin-branch-switcher/branch-button.d.ts +2 -2
  139. package/dist/toolkit/plugin-branch-switcher/branch-data.d.ts +2 -2
  140. package/dist/toolkit/plugin-branch-switcher/branch-modal.d.ts +2 -2
  141. package/dist/toolkit/plugin-branch-switcher/branch-switcher-legacy.d.ts +1 -1
  142. package/dist/toolkit/plugin-branch-switcher/branch-switcher.d.ts +3 -3
  143. package/dist/toolkit/plugin-branch-switcher/plugin.d.ts +2 -2
  144. package/dist/toolkit/plugin-fields/markdown.d.ts +3 -3
  145. package/dist/toolkit/react-alerts/alerts.d.ts +3 -3
  146. package/dist/toolkit/react-core/with-plugin.d.ts +2 -2
  147. package/dist/toolkit/react-datetime/DateTime.d.ts +3 -3
  148. package/dist/toolkit/react-datetime/parts/ViewNavigation.d.ts +2 -1
  149. package/dist/toolkit/react-datetime/views/DaysView.d.ts +6 -6
  150. package/dist/toolkit/react-datetime/views/MonthsView.d.ts +3 -3
  151. package/dist/toolkit/react-datetime/views/TimeView.d.ts +3 -3
  152. package/dist/toolkit/react-datetime/views/YearsView.d.ts +4 -4
  153. package/dist/toolkit/react-dismissible/dismissible.d.ts +1 -0
  154. package/dist/toolkit/react-forms/form-modal.d.ts +2 -2
  155. package/dist/toolkit/react-modals/fullscreen-modal.d.ts +3 -3
  156. package/dist/toolkit/react-modals/modal/modal-actions.d.ts +2 -2
  157. package/dist/toolkit/react-modals/modal/modal-body.d.ts +2 -2
  158. package/dist/toolkit/react-modals/modal/modal-header.d.ts +1 -1
  159. package/dist/toolkit/react-modals/modal/modal-overlay.d.ts +2 -2
  160. package/dist/toolkit/react-modals/modal-provider.d.ts +5 -1
  161. package/dist/toolkit/react-modals/popup-modal.d.ts +3 -3
  162. package/dist/toolkit/react-sidebar/components/form-list.d.ts +4 -4
  163. package/dist/toolkit/react-sidebar/components/local-warning.d.ts +3 -3
  164. package/dist/toolkit/react-sidebar/components/nav.d.ts +1 -1
  165. package/dist/toolkit/react-sidebar/components/no-forms-placeholder.d.ts +3 -3
  166. package/dist/toolkit/react-sidebar/components/resize-handle.d.ts +2 -2
  167. package/dist/toolkit/react-sidebar/components/sidebar-body.d.ts +4 -4
  168. package/dist/toolkit/react-sidebar/components/sidebar.d.ts +1 -1
  169. package/dist/toolkit/react-sidebar/components/sync-status.d.ts +4 -4
  170. package/dist/toolkit/react-tinacms/with-tina.d.ts +2 -2
  171. package/dist/toolkit/styles/button.d.ts +2 -2
  172. package/dist/toolkit/styles/container.d.ts +2 -2
  173. package/dist/toolkit/styles/message.d.ts +1 -1
  174. package/dist/toolkit/styles/overflow-menu.d.ts +2 -2
  175. package/dist/types/cms.d.ts +1 -0
  176. package/package.json +16 -25
  177. package/dist/admin/pages/LoginPage.d.ts +0 -6
  178. package/dist/admin/pages/LogoutPage.d.ts +0 -7
  179. package/dist/dev-tools.d.ts +0 -21
  180. package/dist/dev-tools.js +0 -492
  181. package/dist/dev-tools.mjs +0 -489
  182. package/dist/edit-state.d.ts +0 -38
  183. package/dist/edit-state.js +0 -110
  184. package/dist/edit-state.mjs +0 -103
  185. package/dist/toolkit/react-core/tina-error-boundary.d.ts +0 -21
@@ -1,9 +1,9 @@
1
1
  /**
2
2
 
3
3
  */
4
- /// <reference types="react" />
4
+ import React from 'react';
5
5
  declare const AuthTemplate: ({ message, children, }: {
6
6
  message?: string;
7
7
  children: any;
8
- }) => JSX.Element;
8
+ }) => React.JSX.Element;
9
9
  export default AuthTemplate;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  export declare const ErrorDialog: (props: {
3
3
  title: string;
4
4
  message: string;
5
5
  error: Error;
6
- }) => JSX.Element;
6
+ }) => React.JSX.Element;
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  export declare const FullscreenError: ({ title, errorMessage, }: {
3
3
  title?: string;
4
4
  errorMessage?: string;
5
- }) => JSX.Element;
5
+ }) => React.JSX.Element;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
 
3
3
  */
4
- /// <reference types="react" />
4
+ import React from 'react';
5
5
  declare const GetCMS: ({ children }: {
6
6
  children: any;
7
- }) => JSX.Element;
7
+ }) => React.JSX.Element;
8
8
  export default GetCMS;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
 
3
3
  */
4
- /// <reference types="react" />
4
+ import React from 'react';
5
5
  import type { TinaCMS } from '@tinacms/toolkit';
6
6
  import type { Collection } from '@tinacms/schema-tools';
7
7
  import { FilterArgs } from '../api';
@@ -39,5 +39,5 @@ declare const GetCollection: ({ cms, collectionName, folder, includeDocuments, s
39
39
  children: any;
40
40
  filterArgs?: FilterArgs;
41
41
  search?: string;
42
- }) => JSX.Element;
42
+ }) => React.JSX.Element;
43
43
  export default GetCollection;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
 
3
3
  */
4
- /// <reference types="react" />
4
+ import React from 'react';
5
5
  import type { TinaCMS } from '@tinacms/toolkit';
6
6
  export declare const useGetCollections: (cms: TinaCMS) => {
7
7
  collections: import("@tinacms/schema-tools").Collection<true>[];
@@ -9,5 +9,5 @@ export declare const useGetCollections: (cms: TinaCMS) => {
9
9
  declare const GetCollections: ({ cms, children }: {
10
10
  cms: TinaCMS;
11
11
  children: any;
12
- }) => JSX.Element;
12
+ }) => React.JSX.Element;
13
13
  export default GetCollections;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
 
3
3
  */
4
- /// <reference types="react" />
4
+ import React from 'react';
5
5
  import type { TinaCMS } from '@tinacms/toolkit';
6
6
  import type { DocumentForm } from '../types';
7
7
  export declare const useGetDocument: (cms: TinaCMS, collectionName: string, relativePath: string) => {
@@ -14,5 +14,5 @@ declare const GetDocument: ({ cms, collectionName, relativePath, children, }: {
14
14
  collectionName: string;
15
15
  relativePath: string;
16
16
  children: any;
17
- }) => JSX.Element;
17
+ }) => React.JSX.Element;
18
18
  export default GetDocument;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
 
3
3
  */
4
- /// <reference types="react" />
4
+ import React from 'react';
5
5
  declare const Layout: ({ children }: {
6
6
  children: any;
7
- }) => JSX.Element;
7
+ }) => React.JSX.Element;
8
8
  export default Layout;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
 
3
3
  */
4
- /// <reference types="react" />
5
- declare const LoadingPage: () => JSX.Element;
4
+ import React from 'react';
5
+ declare const LoadingPage: () => React.JSX.Element;
6
6
  export default LoadingPage;
@@ -2,16 +2,16 @@
2
2
 
3
3
  */
4
4
  import React from 'react';
5
- export declare const PageWrapper: ({ children, }: {
6
- children: React.ReactChild | React.ReactChildren;
7
- }) => JSX.Element;
5
+ export declare const PageWrapper: ({ children }: {
6
+ children: React.ReactNode;
7
+ }) => React.JSX.Element;
8
8
  export declare const PageHeader: ({ isLocalMode, children, }: {
9
9
  isLocalMode?: boolean;
10
- children: React.ReactChild | React.ReactChildren;
11
- }) => JSX.Element;
12
- export declare const PageBody: ({ children, }: {
13
- children: React.ReactChild | React.ReactChildren;
14
- }) => JSX.Element;
15
- export declare const PageBodyNarrow: ({ children, }: {
16
- children: React.ReactChild | React.ReactChildren;
17
- }) => JSX.Element;
10
+ children: React.ReactNode;
11
+ }) => React.JSX.Element;
12
+ export declare const PageBody: ({ children }: {
13
+ children: React.ReactNode;
14
+ }) => React.JSX.Element;
15
+ export declare const PageBodyNarrow: ({ children }: {
16
+ children: React.ReactNode;
17
+ }) => React.JSX.Element;
@@ -1,10 +1,10 @@
1
1
  /**
2
2
 
3
3
  */
4
- /// <reference types="react" />
4
+ import React from 'react';
5
5
  import type { TinaCMS } from '@tinacms/toolkit';
6
6
  export declare const slugify: (text: any) => any;
7
7
  declare const Sidebar: ({ cms }: {
8
8
  cms: TinaCMS;
9
- }) => JSX.Element;
9
+ }) => React.JSX.Element;
10
10
  export default Sidebar;
@@ -1,7 +1,7 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  export declare const TinaAdmin: ({ preview, Playground, config, schemaJson, }: {
3
3
  schemaJson?: any;
4
4
  preview?: (props: object) => JSX.Element;
5
5
  Playground?: (props: object) => JSX.Element;
6
6
  config: object;
7
- }) => JSX.Element;
7
+ }) => React.JSX.Element;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { TinaCMS } from '@tinacms/toolkit';
3
- declare const CollectionCreatePage: () => JSX.Element;
3
+ declare const CollectionCreatePage: () => React.JSX.Element;
4
4
  export declare const RenderForm: ({ cms, collection, folder, templateName, mutationInfo, customDefaults, }: {
5
5
  cms: TinaCMS;
6
6
  collection: any;
@@ -8,5 +8,5 @@ export declare const RenderForm: ({ cms, collection, folder, templateName, mutat
8
8
  templateName: any;
9
9
  mutationInfo: any;
10
10
  customDefaults?: any;
11
- }) => JSX.Element;
11
+ }) => React.JSX.Element;
12
12
  export default CollectionCreatePage;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const CollectionDuplicatePage: () => JSX.Element;
1
+ import React from 'react';
2
+ declare const CollectionDuplicatePage: () => React.JSX.Element;
3
3
  export default CollectionDuplicatePage;
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { NavigateFunction } from 'react-router-dom';
3
3
  import { TinaCMS } from '@tinacms/toolkit';
4
4
  import type { CollectionResponse, DocumentSys } from '../types';
5
5
  import type { Collection } from '@tinacms/schema-tools';
6
6
  export declare const handleNavigate: (navigate: NavigateFunction, cms: TinaCMS, collection: CollectionResponse, collectionDefinition: Collection<true>, document: DocumentSys) => Promise<any>;
7
- declare const CollectionListPage: () => JSX.Element;
7
+ declare const CollectionListPage: () => React.JSX.Element;
8
8
  export default CollectionListPage;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
2
- declare const CollectionUpdatePage: () => JSX.Element;
1
+ import React from 'react';
2
+ declare const CollectionUpdatePage: () => React.JSX.Element;
3
3
  export default CollectionUpdatePage;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
 
3
3
  */
4
- /// <reference types="react" />
5
- declare const DashboardPage: () => JSX.Element;
4
+ import React from 'react';
5
+ declare const DashboardPage: () => React.JSX.Element;
6
6
  export default DashboardPage;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
 
3
3
  */
4
- /// <reference types="react" />
5
- declare const ScreenPage: () => JSX.Element;
4
+ import React from 'react';
5
+ declare const ScreenPage: () => React.JSX.Element;
6
6
  export default ScreenPage;
@@ -10,15 +10,15 @@ interface ModalBuilderProps {
10
10
  close(): void;
11
11
  children?: React.ReactNode;
12
12
  }
13
- export declare function ModalBuilder(modalProps: ModalBuilderProps): JSX.Element;
13
+ export declare function ModalBuilder(modalProps: ModalBuilderProps): React.JSX.Element;
14
14
  export declare const ErrorLabel: ({ style, ...props }: {
15
15
  [x: string]: any;
16
16
  style?: {};
17
- }) => JSX.Element;
17
+ }) => React.JSX.Element;
18
18
  interface ButtonProps {
19
19
  name: string;
20
20
  action(): Promise<void>;
21
21
  primary: boolean;
22
22
  }
23
- export declare const AsyncButton: ({ name, primary, action }: ButtonProps) => JSX.Element;
23
+ export declare const AsyncButton: ({ name, primary, action }: ButtonProps) => React.JSX.Element;
24
24
  export {};
@@ -18,7 +18,7 @@ export interface TinaCloudAuthWallProps {
18
18
  }[];
19
19
  mediaStore?: TinaCloudMediaStoreClass | (() => Promise<TinaCloudMediaStoreClass>);
20
20
  }
21
- export declare const AuthWallInner: ({ children, cms, getModalActions, }: TinaCloudAuthWallProps) => JSX.Element;
21
+ export declare const AuthWallInner: ({ children, cms, getModalActions, }: TinaCloudAuthWallProps) => React.JSX.Element;
22
22
  /**
23
23
  * Provides the ability to setup your CMS and media while also providing an authentication wall so Tina is not enabled without a valid user session.
24
24
  *
@@ -27,11 +27,11 @@ export declare const AuthWallInner: ({ children, cms, getModalActions, }: TinaCl
27
27
  export declare const TinaCloudProvider: (props: TinaCloudAuthWallProps & CreateClientProps & {
28
28
  cmsCallback?: (cms: TinaCMS) => TinaCMS;
29
29
  staticMedia: StaticMedia;
30
- }) => JSX.Element;
30
+ }) => React.JSX.Element;
31
31
  /**
32
32
  * @deprecated Please use `TinaCloudProvider` instead
33
33
  */
34
34
  export declare const TinaCloudAuthWall: (props: TinaCloudAuthWallProps & CreateClientProps & {
35
35
  cmsCallback?: (cms: TinaCMS) => TinaCMS;
36
36
  staticMedia: StaticMedia;
37
- }) => JSX.Element;
37
+ }) => React.JSX.Element;