tinacms 2.7.8 → 2.7.9

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 (47) hide show
  1. package/dist/admin/components/Page.d.ts +3 -9
  2. package/dist/admin/components/Sidebar.d.ts +0 -3
  3. package/dist/admin/pages/CollectionCreatePage.d.ts +1 -1
  4. package/dist/admin/pages/DashboardPage.d.ts +0 -3
  5. package/dist/admin/pages/ScreenPage.d.ts +0 -3
  6. package/dist/index.js +4287 -4364
  7. package/dist/index.mjs +10998 -11076
  8. package/dist/react.d.ts +13 -6
  9. package/dist/react.js +58 -52
  10. package/dist/react.mjs +58 -52
  11. package/dist/toolkit/components/media/media-item.d.ts +1 -1
  12. package/dist/toolkit/components/ui/breadcrumb.d.ts +11 -0
  13. package/dist/toolkit/components/ui/dropdown-menu.d.ts +25 -0
  14. package/dist/toolkit/fields/components/password-field.d.ts +1 -1
  15. package/dist/toolkit/fields/components/reference/components/button.d.ts +1 -1
  16. package/dist/toolkit/fields/components/reference/components/popover.d.ts +1 -1
  17. package/dist/toolkit/fields/components/reference/model/reference-link-props.d.ts +2 -0
  18. package/dist/toolkit/fields/components/select.d.ts +2 -2
  19. package/dist/toolkit/fields/components/text-field.d.ts +1 -1
  20. package/dist/toolkit/fields/plugins/group-field-plugin.d.ts +1 -1
  21. package/dist/toolkit/fields/plugins/list-field-meta.d.ts +1 -1
  22. package/dist/toolkit/fields/plugins/mdx-field-plugin/index.d.ts +2 -2
  23. package/dist/toolkit/form-builder/fields-builder.d.ts +1 -1
  24. package/dist/toolkit/form-builder/form-builder.d.ts +4 -5
  25. package/dist/toolkit/forms/field.d.ts +3 -0
  26. package/dist/toolkit/forms/form.d.ts +22 -3
  27. package/dist/toolkit/git-client/git-client.d.ts +25 -2
  28. package/dist/toolkit/git-client/git-file.d.ts +18 -0
  29. package/dist/toolkit/git-client/git-media-store.d.ts +13 -0
  30. package/dist/toolkit/git-client/use-git-file.d.ts +4 -0
  31. package/dist/toolkit/icons/Tina.d.ts +0 -5
  32. package/dist/toolkit/index.d.ts +1 -1
  33. package/dist/toolkit/plugin-branch-switcher/branch-button.d.ts +1 -0
  34. package/dist/toolkit/plugin-branch-switcher/index.d.ts +0 -1
  35. package/dist/toolkit/react-sidebar/components/alert.d.ts +5 -0
  36. package/dist/toolkit/react-sidebar/components/form-list.d.ts +1 -1
  37. package/dist/toolkit/react-sidebar/components/nav.d.ts +5 -3
  38. package/dist/toolkit/react-sidebar/components/resize-handle.d.ts +0 -5
  39. package/dist/toolkit/react-sidebar/components/sidebar-body.d.ts +3 -7
  40. package/dist/toolkit/react-sidebar/components/sidebar.d.ts +0 -7
  41. package/dist/toolkit/react-sidebar/components/sync-status.d.ts +5 -8
  42. package/dist/toolkit/react-sidebar/index.d.ts +1 -1
  43. package/dist/toolkit/styles/button.d.ts +2 -2
  44. package/dist/toolkit/tina-state.d.ts +11 -0
  45. package/dist/utils/cn.d.ts +2 -0
  46. package/package.json +4 -4
  47. package/dist/toolkit/plugin-branch-switcher/branch-banner.d.ts +0 -2
@@ -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;