tinacms 0.0.0-e999254-20250610011143 → 0.0.0-ea917dd-20250905061617

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 (60) hide show
  1. package/dist/admin/api.d.ts +3 -0
  2. package/dist/admin/components/Page.d.ts +3 -9
  3. package/dist/admin/components/Sidebar.d.ts +0 -3
  4. package/dist/admin/pages/CollectionCreatePage.d.ts +1 -1
  5. package/dist/admin/pages/DashboardPage.d.ts +0 -3
  6. package/dist/admin/pages/ScreenPage.d.ts +0 -3
  7. package/dist/auth/AuthModal.d.ts +1 -4
  8. package/dist/auth/TinaCloudProvider.d.ts +0 -1
  9. package/dist/index.js +58093 -57082
  10. package/dist/index.mjs +58058 -57048
  11. package/dist/internalClient/index.d.ts +25 -0
  12. package/dist/react.d.ts +13 -6
  13. package/dist/react.js +60 -52
  14. package/dist/react.mjs +60 -52
  15. package/dist/rich-text/static.d.ts +148 -0
  16. package/dist/rich-text/static.js +239 -0
  17. package/dist/rich-text/static.mjs +236 -0
  18. package/dist/toolkit/components/ProgressBar.d.ts +11 -0
  19. package/dist/toolkit/components/media/media-item.d.ts +11 -1
  20. package/dist/toolkit/components/ui/breadcrumb.d.ts +11 -0
  21. package/dist/toolkit/components/ui/dropdown-menu.d.ts +25 -0
  22. package/dist/toolkit/fields/components/password-field.d.ts +1 -1
  23. package/dist/toolkit/fields/components/reference/components/button.d.ts +1 -1
  24. package/dist/toolkit/fields/components/reference/components/popover.d.ts +1 -1
  25. package/dist/toolkit/fields/components/reference/model/reference-link-props.d.ts +2 -0
  26. package/dist/toolkit/fields/components/select.d.ts +2 -2
  27. package/dist/toolkit/fields/components/text-field.d.ts +1 -1
  28. package/dist/toolkit/fields/plugins/group-field-plugin.d.ts +1 -1
  29. package/dist/toolkit/fields/plugins/group-list-field-plugin.d.ts +1 -0
  30. package/dist/toolkit/fields/plugins/list-field-meta.d.ts +1 -1
  31. package/dist/toolkit/fields/plugins/list-field-plugin.d.ts +1 -0
  32. package/dist/toolkit/fields/plugins/mdx-field-plugin/index.d.ts +2 -2
  33. package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/core/common.d.ts +6 -0
  34. package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-html-block/index.d.ts +4 -0
  35. package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/editor-plugins.d.ts +2 -2
  36. package/dist/toolkit/form-builder/editorial-workflow-constants.d.ts +17 -0
  37. package/dist/toolkit/form-builder/fields-builder.d.ts +1 -1
  38. package/dist/toolkit/form-builder/form-builder.d.ts +4 -5
  39. package/dist/toolkit/forms/field.d.ts +3 -0
  40. package/dist/toolkit/forms/form.d.ts +22 -3
  41. package/dist/toolkit/icons/Tina.d.ts +0 -5
  42. package/dist/toolkit/index.d.ts +1 -1
  43. package/dist/toolkit/plugin-branch-switcher/branch-button.d.ts +1 -0
  44. package/dist/toolkit/plugin-branch-switcher/index.d.ts +0 -1
  45. package/dist/toolkit/react-modals/modal/modal-header.d.ts +1 -1
  46. package/dist/toolkit/react-sidebar/components/VersionInfo.d.ts +2 -0
  47. package/dist/toolkit/react-sidebar/components/alert.d.ts +5 -0
  48. package/dist/toolkit/react-sidebar/components/form-list.d.ts +1 -1
  49. package/dist/toolkit/react-sidebar/components/nav.d.ts +6 -3
  50. package/dist/toolkit/react-sidebar/components/resize-handle.d.ts +0 -5
  51. package/dist/toolkit/react-sidebar/components/sidebar-body.d.ts +3 -7
  52. package/dist/toolkit/react-sidebar/components/sidebar.d.ts +0 -7
  53. package/dist/toolkit/react-sidebar/components/sync-status.d.ts +5 -8
  54. package/dist/toolkit/react-sidebar/index.d.ts +1 -1
  55. package/dist/toolkit/styles/button.d.ts +2 -2
  56. package/dist/toolkit/tina-state.d.ts +11 -0
  57. package/dist/utils/cn.d.ts +2 -0
  58. package/package.json +13 -5
  59. package/dist/admin/pages/IndexingPage.d.ts +0 -2
  60. package/dist/toolkit/plugin-branch-switcher/branch-banner.d.ts +0 -2
@@ -3,6 +3,9 @@ import type { Collection, TinaSchema } from '@tinacms/schema-tools';
3
3
  import type { Client } from '../internalClient';
4
4
  import type { CollectionResponse, DocumentForm } from './types';
5
5
  import { SearchClient } from '@tinacms/search/dist/index-client';
6
+ export declare const CREATE_DOCUMENT_GQL = "#graphql\nmutation($collection: String!, $relativePath: String!, $params: DocumentMutation!) {\n createDocument(\n collection: $collection,\n relativePath: $relativePath,\n params: $params\n ){__typename}\n}";
7
+ export declare const UPDATE_DOCUMENT_GQL = "#graphql\nmutation($collection: String!, $relativePath: String!, $params: DocumentUpdateMutation!) {\n updateDocument(\n collection: $collection,\n relativePath: $relativePath,\n params: $params\n ){__typename}\n}";
8
+ export declare const DELETE_DOCUMENT_GQL = "#graphql\nmutation DeleteDocument($collection: String!, $relativePath: String!){\n deleteDocument(collection: $collection, relativePath: $relativePath){\n __typename\n }\n}";
6
9
  export interface FilterArgs {
7
10
  filterField: string;
8
11
  collection?: string;
@@ -1,17 +1,11 @@
1
- /**
2
-
3
- */
4
1
  import React from 'react';
5
- export declare const PageWrapper: ({ children }: {
2
+ export declare const PageWrapper: ({ headerClassName, children, }: {
3
+ headerClassName?: string;
6
4
  children: React.ReactNode;
7
5
  }) => React.JSX.Element;
8
- export declare const PageHeader: ({ isLocalMode, children, }: {
9
- isLocalMode?: boolean;
6
+ export declare const PageHeader: ({ children, }: {
10
7
  children: React.ReactNode;
11
8
  }) => React.JSX.Element;
12
9
  export declare const PageBody: ({ children }: {
13
10
  children: React.ReactNode;
14
11
  }) => React.JSX.Element;
15
- export declare const PageBodyNarrow: ({ children }: {
16
- children: React.ReactNode;
17
- }) => React.JSX.Element;
@@ -1,6 +1,3 @@
1
- /**
2
-
3
- */
4
1
  import React from 'react';
5
2
  import type { TinaCMS } from '@tinacms/toolkit';
6
3
  export declare const slugify: (text: any) => any;
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import { Collection } from '@tinacms/schema-tools';
2
+ import React from 'react';
3
3
  import type { TinaCMS } from '@tinacms/toolkit';
4
4
  declare const CollectionCreatePage: () => React.JSX.Element;
5
5
  export declare const RenderForm: ({ cms, collection, folder, templateName, mutationInfo, customDefaults, }: {
@@ -1,6 +1,3 @@
1
- /**
2
-
3
- */
4
1
  import React from 'react';
5
2
  declare const DashboardPage: () => React.JSX.Element;
6
3
  export default DashboardPage;
@@ -1,6 +1,3 @@
1
- /**
2
-
3
- */
4
1
  import React from 'react';
5
2
  declare const ScreenPage: () => React.JSX.Element;
6
3
  export default ScreenPage;
@@ -1,10 +1,7 @@
1
- /**
2
-
3
- */
4
1
  import React from 'react';
5
2
  interface ModalBuilderProps {
6
3
  title: string;
7
- message?: string;
4
+ message?: React.ReactNode;
8
5
  error?: string;
9
6
  actions: ButtonProps[];
10
7
  close(): void;
@@ -18,7 +18,6 @@ export interface TinaCloudAuthWallProps {
18
18
  }[];
19
19
  mediaStore?: TinaCloudMediaStoreClass | (() => Promise<TinaCloudMediaStoreClass>);
20
20
  }
21
- export declare const AuthWallInner: ({ children, cms, getModalActions, }: TinaCloudAuthWallProps) => React.JSX.Element;
22
21
  /**
23
22
  * 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
23
  *