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.
- package/dist/admin/components/AuthTemplate.d.ts +2 -2
- package/dist/admin/components/ErrorDialog.d.ts +2 -2
- package/dist/admin/components/FullscreenError.d.ts +2 -2
- package/dist/admin/components/GetCMS.d.ts +2 -2
- package/dist/admin/components/GetCollection.d.ts +2 -2
- package/dist/admin/components/GetCollections.d.ts +2 -2
- package/dist/admin/components/GetDocument.d.ts +2 -2
- package/dist/admin/components/Layout.d.ts +2 -2
- package/dist/admin/components/LoadingPage.d.ts +2 -2
- package/dist/admin/components/Page.d.ts +11 -11
- package/dist/admin/components/Sidebar.d.ts +2 -2
- package/dist/admin/index.d.ts +2 -2
- package/dist/admin/pages/CollectionCreatePage.d.ts +3 -3
- package/dist/admin/pages/CollectionDuplicatePage.d.ts +2 -2
- package/dist/admin/pages/CollectionListPage.d.ts +2 -2
- package/dist/admin/pages/CollectionUpdatePage.d.ts +2 -2
- package/dist/admin/pages/DashboardPage.d.ts +2 -2
- package/dist/admin/pages/ScreenPage.d.ts +2 -2
- package/dist/auth/AuthModal.d.ts +3 -3
- package/dist/auth/TinaCloudProvider.d.ts +3 -3
- package/dist/index.js +114 -262
- package/dist/index.mjs +114 -263
- package/dist/internalClient/formify.d.ts +1 -1
- package/dist/rich-text/index.d.ts +2 -2
- package/dist/rich-text/prism.d.ts +2 -2
- package/dist/tina-cms.d.ts +3 -9
- package/dist/toolkit/alerts/alerts.d.ts +1 -1
- package/dist/toolkit/components/account/update-password.d.ts +2 -2
- package/dist/toolkit/components/active-field-indicator.d.ts +2 -2
- package/dist/toolkit/components/media/breadcrumb.d.ts +2 -2
- package/dist/toolkit/components/media/copy-field.d.ts +2 -2
- package/dist/toolkit/components/media/media-item.d.ts +3 -3
- package/dist/toolkit/components/media/media-manager.d.ts +3 -3
- package/dist/toolkit/components/media/modal.d.ts +3 -3
- package/dist/toolkit/components/media/pagination.d.ts +2 -2
- package/dist/toolkit/components/mutation-signal.d.ts +1 -1
- package/dist/toolkit/fields/components/image-upload/image-upload.d.ts +3 -3
- package/dist/toolkit/fields/components/input.d.ts +2 -2
- package/dist/toolkit/fields/components/password-field.d.ts +1 -1
- package/dist/toolkit/fields/components/text-field.d.ts +1 -1
- package/dist/toolkit/fields/components/textarea.d.ts +1 -1
- package/dist/toolkit/fields/plugins/blocks-field-plugin/block-selector-big.d.ts +2 -2
- package/dist/toolkit/fields/plugins/blocks-field-plugin/block-selector.d.ts +2 -2
- package/dist/toolkit/fields/plugins/blocks-field-plugin/index.d.ts +3 -3
- package/dist/toolkit/fields/plugins/button-toggle-field-plugin.d.ts +2 -2
- package/dist/toolkit/fields/plugins/checkbox-group-field-plugin.d.ts +2 -2
- package/dist/toolkit/fields/plugins/color-field-plugin.d.ts +3 -3
- package/dist/toolkit/fields/plugins/date-field-plugin.d.ts +4 -4
- package/dist/toolkit/fields/plugins/group-field-plugin.d.ts +7 -7
- package/dist/toolkit/fields/plugins/group-list-field-plugin.d.ts +8 -8
- package/dist/toolkit/fields/plugins/hidden-field-plugin.d.ts +3 -3
- package/dist/toolkit/fields/plugins/image-field-plugin.d.ts +3 -3
- package/dist/toolkit/fields/plugins/list-field-meta.d.ts +6 -6
- package/dist/toolkit/fields/plugins/list-field-plugin.d.ts +3 -3
- package/dist/toolkit/fields/plugins/mdx-field-plugin/index.d.ts +6 -2
- package/dist/toolkit/fields/plugins/mdx-field-plugin/monaco/error-message.d.ts +2 -2
- package/dist/toolkit/fields/plugins/mdx-field-plugin/monaco/index.d.ts +2 -2
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/index.d.ts +2 -2
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/nested-form.d.ts +2 -2
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-img-plugin/component.d.ts +3 -3
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-invalid-markdown-plugin/index.d.ts +2 -2
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-link-plugin/index.d.ts +2 -2
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-mdx-plugins/component.d.ts +3 -3
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/code-block/index.d.ts +1 -1
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/components.d.ts +21 -21
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/dropdown.d.ts +1 -1
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/icons.d.ts +17 -17
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/toolbar/floating-toolbar.d.ts +2 -2
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/toolbar/index.d.ts +9 -6
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/toolbar/overflow-menu.d.ts +2 -2
- package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/toolbar/toolbar-item.d.ts +4 -4
- package/dist/toolkit/fields/plugins/number-field-plugin.d.ts +3 -3
- package/dist/toolkit/fields/plugins/password-field-plugin.d.ts +3 -3
- package/dist/toolkit/fields/plugins/radio-group-field-plugin.d.ts +2 -2
- package/dist/toolkit/fields/plugins/reference-field-plugin.d.ts +2 -2
- package/dist/toolkit/fields/plugins/select-field-plugin.d.ts +2 -2
- package/dist/toolkit/fields/plugins/tags-field-plugin.d.ts +3 -3
- package/dist/toolkit/fields/plugins/text-field-plugin.d.ts +3 -3
- package/dist/toolkit/fields/plugins/textarea-field-plugin.d.ts +3 -3
- package/dist/toolkit/fields/plugins/toggle-field-plugin.d.ts +2 -2
- package/dist/toolkit/fields/plugins/wrap-field-with-meta.d.ts +7 -7
- package/dist/toolkit/form-builder/fields-builder.d.ts +3 -3
- package/dist/toolkit/form-builder/form-actions.d.ts +2 -1
- package/dist/toolkit/form-builder/form-builder.d.ts +6 -6
- package/dist/toolkit/form-builder/form-portal.d.ts +5 -1
- package/dist/toolkit/form-builder/form.d.ts +2 -2
- package/dist/toolkit/form-builder/loading-dots.d.ts +2 -2
- package/dist/toolkit/icons/Add.d.ts +2 -2
- package/dist/toolkit/icons/Alert.d.ts +2 -2
- package/dist/toolkit/icons/AlignCenter.d.ts +2 -2
- package/dist/toolkit/icons/AlignLeft.d.ts +2 -2
- package/dist/toolkit/icons/AlignRight.d.ts +2 -2
- package/dist/toolkit/icons/Bold.d.ts +2 -2
- package/dist/toolkit/icons/ChevronDown.d.ts +2 -2
- package/dist/toolkit/icons/ChevronLeft.d.ts +2 -2
- package/dist/toolkit/icons/ChevronRight.d.ts +2 -2
- package/dist/toolkit/icons/ChevronUp.d.ts +2 -2
- package/dist/toolkit/icons/Circle.d.ts +2 -2
- package/dist/toolkit/icons/CircleCheck.d.ts +2 -2
- package/dist/toolkit/icons/Close.d.ts +2 -2
- package/dist/toolkit/icons/Code.d.ts +2 -2
- package/dist/toolkit/icons/Drag.d.ts +2 -2
- package/dist/toolkit/icons/Duplicate.d.ts +2 -2
- package/dist/toolkit/icons/Edit.d.ts +2 -2
- package/dist/toolkit/icons/EllipsisVertical.d.ts +2 -2
- package/dist/toolkit/icons/Error.d.ts +2 -2
- package/dist/toolkit/icons/Exit.d.ts +2 -2
- package/dist/toolkit/icons/File.d.ts +2 -2
- package/dist/toolkit/icons/Folder.d.ts +2 -2
- package/dist/toolkit/icons/Hamburger.d.ts +2 -2
- package/dist/toolkit/icons/Heading.d.ts +2 -2
- package/dist/toolkit/icons/Info.d.ts +2 -2
- package/dist/toolkit/icons/Italic.d.ts +2 -2
- package/dist/toolkit/icons/LeftArrow.d.ts +2 -2
- package/dist/toolkit/icons/Link.d.ts +2 -2
- package/dist/toolkit/icons/Lock.d.ts +2 -2
- package/dist/toolkit/icons/Markdown.d.ts +2 -2
- package/dist/toolkit/icons/Media.d.ts +2 -2
- package/dist/toolkit/icons/OrderedList.d.ts +2 -2
- package/dist/toolkit/icons/PullRequest.d.ts +2 -2
- package/dist/toolkit/icons/Quote.d.ts +2 -2
- package/dist/toolkit/icons/Redo.d.ts +2 -2
- package/dist/toolkit/icons/Reorder.d.ts +2 -2
- package/dist/toolkit/icons/ReorderRow.d.ts +2 -2
- package/dist/toolkit/icons/Reset.d.ts +2 -2
- package/dist/toolkit/icons/RightArrow.d.ts +2 -2
- package/dist/toolkit/icons/Settings.d.ts +2 -2
- package/dist/toolkit/icons/Strikethrough.d.ts +2 -2
- package/dist/toolkit/icons/Table.d.ts +2 -2
- package/dist/toolkit/icons/Tina.d.ts +2 -2
- package/dist/toolkit/icons/Trash.d.ts +2 -2
- package/dist/toolkit/icons/Underline.d.ts +2 -2
- package/dist/toolkit/icons/Undo.d.ts +2 -2
- package/dist/toolkit/icons/UnorderedList.d.ts +2 -2
- package/dist/toolkit/icons/Upload.d.ts +2 -2
- package/dist/toolkit/icons/Warning.d.ts +2 -2
- package/dist/toolkit/plugin-branch-switcher/branch-banner.d.ts +2 -2
- package/dist/toolkit/plugin-branch-switcher/branch-button.d.ts +2 -2
- package/dist/toolkit/plugin-branch-switcher/branch-data.d.ts +2 -2
- package/dist/toolkit/plugin-branch-switcher/branch-modal.d.ts +2 -2
- package/dist/toolkit/plugin-branch-switcher/branch-switcher-legacy.d.ts +1 -1
- package/dist/toolkit/plugin-branch-switcher/branch-switcher.d.ts +3 -3
- package/dist/toolkit/plugin-branch-switcher/plugin.d.ts +2 -2
- package/dist/toolkit/plugin-fields/markdown.d.ts +3 -3
- package/dist/toolkit/react-alerts/alerts.d.ts +3 -3
- package/dist/toolkit/react-core/with-plugin.d.ts +2 -2
- package/dist/toolkit/react-datetime/DateTime.d.ts +3 -3
- package/dist/toolkit/react-datetime/parts/ViewNavigation.d.ts +2 -1
- package/dist/toolkit/react-datetime/views/DaysView.d.ts +6 -6
- package/dist/toolkit/react-datetime/views/MonthsView.d.ts +3 -3
- package/dist/toolkit/react-datetime/views/TimeView.d.ts +3 -3
- package/dist/toolkit/react-datetime/views/YearsView.d.ts +4 -4
- package/dist/toolkit/react-dismissible/dismissible.d.ts +1 -0
- package/dist/toolkit/react-forms/form-modal.d.ts +2 -2
- package/dist/toolkit/react-modals/fullscreen-modal.d.ts +3 -3
- package/dist/toolkit/react-modals/modal/modal-actions.d.ts +2 -2
- package/dist/toolkit/react-modals/modal/modal-body.d.ts +2 -2
- package/dist/toolkit/react-modals/modal/modal-header.d.ts +1 -1
- package/dist/toolkit/react-modals/modal/modal-overlay.d.ts +2 -2
- package/dist/toolkit/react-modals/modal-provider.d.ts +5 -1
- package/dist/toolkit/react-modals/popup-modal.d.ts +3 -3
- package/dist/toolkit/react-sidebar/components/form-list.d.ts +4 -4
- package/dist/toolkit/react-sidebar/components/local-warning.d.ts +3 -3
- package/dist/toolkit/react-sidebar/components/nav.d.ts +1 -1
- package/dist/toolkit/react-sidebar/components/no-forms-placeholder.d.ts +3 -3
- package/dist/toolkit/react-sidebar/components/resize-handle.d.ts +2 -2
- package/dist/toolkit/react-sidebar/components/sidebar-body.d.ts +4 -4
- package/dist/toolkit/react-sidebar/components/sidebar.d.ts +1 -1
- package/dist/toolkit/react-sidebar/components/sync-status.d.ts +4 -4
- package/dist/toolkit/react-tinacms/with-tina.d.ts +2 -2
- package/dist/toolkit/styles/button.d.ts +2 -2
- package/dist/toolkit/styles/container.d.ts +2 -2
- package/dist/toolkit/styles/message.d.ts +1 -1
- package/dist/toolkit/styles/overflow-menu.d.ts +2 -2
- package/dist/types/cms.d.ts +1 -0
- package/package.json +16 -25
- package/dist/admin/pages/LoginPage.d.ts +0 -6
- package/dist/admin/pages/LogoutPage.d.ts +0 -7
- package/dist/dev-tools.d.ts +0 -21
- package/dist/dev-tools.js +0 -492
- package/dist/dev-tools.mjs +0 -489
- package/dist/edit-state.d.ts +0 -38
- package/dist/edit-state.js +0 -110
- package/dist/edit-state.mjs +0 -103
- package/dist/toolkit/react-core/tina-error-boundary.d.ts +0 -21
package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-link-plugin/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { PlateEditor, createLinkPlugin } from '@udecode/plate-headless';
|
|
3
3
|
import { BaseRange } from 'slate';
|
|
4
4
|
export { createLinkPlugin };
|
|
@@ -8,7 +8,7 @@ declare type LinkElement = {
|
|
|
8
8
|
text: string | undefined;
|
|
9
9
|
};
|
|
10
10
|
export declare const wrapOrRewrapLink: (editor: any) => void;
|
|
11
|
-
export declare const LinkForm: (props: any) => JSX.Element;
|
|
11
|
+
export declare const LinkForm: (props: any) => React.JSX.Element;
|
|
12
12
|
export declare const unwrapLink: (editor: PlateEditor, selection?: BaseRange) => void;
|
|
13
13
|
export declare const getLinks: (editor: any) => Generator<import("@udecode/plate-headless").TNodeEntry<LinkElement>, void, undefined>;
|
|
14
14
|
export declare const isLinkActive: (editor: any) => boolean;
|
package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/create-mdx-plugins/component.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare const InlineEmbed: ({ attributes, children, element, onChange, editor, }: {
|
|
3
3
|
attributes: any;
|
|
4
4
|
children: any;
|
|
5
5
|
element: any;
|
|
6
6
|
onChange: any;
|
|
7
7
|
editor: any;
|
|
8
|
-
}) => JSX.Element;
|
|
8
|
+
}) => React.JSX.Element;
|
|
9
9
|
export declare const BlockEmbed: ({ attributes, children, element, editor, onChange, }: {
|
|
10
10
|
attributes: any;
|
|
11
11
|
children: any;
|
|
12
12
|
element: any;
|
|
13
13
|
editor: any;
|
|
14
14
|
onChange: any;
|
|
15
|
-
}) => JSX.Element;
|
|
15
|
+
}) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare const components: () => {
|
|
3
3
|
h1: ({ attributes, editor, element, className, ...props }: {
|
|
4
4
|
[x: string]: any;
|
|
@@ -6,28 +6,28 @@ export declare const components: () => {
|
|
|
6
6
|
editor: any;
|
|
7
7
|
element: any;
|
|
8
8
|
className: any;
|
|
9
|
-
}) => JSX.Element;
|
|
9
|
+
}) => React.JSX.Element;
|
|
10
10
|
h2: ({ attributes, editor, element, className, ...props }: {
|
|
11
11
|
[x: string]: any;
|
|
12
12
|
attributes: any;
|
|
13
13
|
editor: any;
|
|
14
14
|
element: any;
|
|
15
15
|
className: any;
|
|
16
|
-
}) => JSX.Element;
|
|
16
|
+
}) => React.JSX.Element;
|
|
17
17
|
h3: ({ attributes, editor, element, className, ...props }: {
|
|
18
18
|
[x: string]: any;
|
|
19
19
|
attributes: any;
|
|
20
20
|
editor: any;
|
|
21
21
|
element: any;
|
|
22
22
|
className: any;
|
|
23
|
-
}) => JSX.Element;
|
|
23
|
+
}) => React.JSX.Element;
|
|
24
24
|
h4: ({ attributes, editor, element, className, ...props }: {
|
|
25
25
|
[x: string]: any;
|
|
26
26
|
attributes: any;
|
|
27
27
|
editor: any;
|
|
28
28
|
element: any;
|
|
29
29
|
className: any;
|
|
30
|
-
}) => JSX.Element;
|
|
30
|
+
}) => React.JSX.Element;
|
|
31
31
|
/** Tailwind prose doesn't style h5 and h6 elements */
|
|
32
32
|
h5: ({ attributes, editor, element, className, ...props }: {
|
|
33
33
|
[x: string]: any;
|
|
@@ -35,64 +35,64 @@ export declare const components: () => {
|
|
|
35
35
|
editor: any;
|
|
36
36
|
element: any;
|
|
37
37
|
className: any;
|
|
38
|
-
}) => JSX.Element;
|
|
38
|
+
}) => React.JSX.Element;
|
|
39
39
|
h6: ({ attributes, editor, element, className, ...props }: {
|
|
40
40
|
[x: string]: any;
|
|
41
41
|
attributes: any;
|
|
42
42
|
editor: any;
|
|
43
43
|
element: any;
|
|
44
44
|
className: any;
|
|
45
|
-
}) => JSX.Element;
|
|
45
|
+
}) => React.JSX.Element;
|
|
46
46
|
p: ({ attributes, className, editor, element, ...props }: {
|
|
47
47
|
[x: string]: any;
|
|
48
48
|
attributes: any;
|
|
49
49
|
className: any;
|
|
50
50
|
editor: any;
|
|
51
51
|
element: any;
|
|
52
|
-
}) => JSX.Element;
|
|
52
|
+
}) => React.JSX.Element;
|
|
53
53
|
blockquote: ({ className, attributes, editor, element, ...props }: {
|
|
54
54
|
[x: string]: any;
|
|
55
55
|
className: any;
|
|
56
56
|
attributes: any;
|
|
57
57
|
editor: any;
|
|
58
58
|
element: any;
|
|
59
|
-
}) => JSX.Element;
|
|
60
|
-
code_block: (props: any) => JSX.Element;
|
|
59
|
+
}) => React.JSX.Element;
|
|
60
|
+
code_block: (props: any) => React.JSX.Element;
|
|
61
61
|
html: ({ attributes, editor, element, children, className }: {
|
|
62
62
|
attributes: any;
|
|
63
63
|
editor: any;
|
|
64
64
|
element: any;
|
|
65
65
|
children: any;
|
|
66
66
|
className: any;
|
|
67
|
-
}) => JSX.Element;
|
|
67
|
+
}) => React.JSX.Element;
|
|
68
68
|
html_inline: ({ attributes, editor, element, children, className }: {
|
|
69
69
|
attributes: any;
|
|
70
70
|
editor: any;
|
|
71
71
|
element: any;
|
|
72
72
|
children: any;
|
|
73
73
|
className: any;
|
|
74
|
-
}) => JSX.Element;
|
|
74
|
+
}) => React.JSX.Element;
|
|
75
75
|
ul: ({ attributes, editor, className, element, ...props }: {
|
|
76
76
|
[x: string]: any;
|
|
77
77
|
attributes: any;
|
|
78
78
|
editor: any;
|
|
79
79
|
className: any;
|
|
80
80
|
element: any;
|
|
81
|
-
}) => JSX.Element;
|
|
81
|
+
}) => React.JSX.Element;
|
|
82
82
|
ol: ({ attributes, editor, className, element, ...props }: {
|
|
83
83
|
[x: string]: any;
|
|
84
84
|
attributes: any;
|
|
85
85
|
editor: any;
|
|
86
86
|
className: any;
|
|
87
87
|
element: any;
|
|
88
|
-
}) => JSX.Element;
|
|
88
|
+
}) => React.JSX.Element;
|
|
89
89
|
li: ({ attributes, className, editor, element, ...props }: {
|
|
90
90
|
[x: string]: any;
|
|
91
91
|
attributes: any;
|
|
92
92
|
className: any;
|
|
93
93
|
editor: any;
|
|
94
94
|
element: any;
|
|
95
|
-
}) => JSX.Element;
|
|
95
|
+
}) => React.JSX.Element;
|
|
96
96
|
/** "list item content" */
|
|
97
97
|
lic: ({ attributes, editor, element, className, ...props }: {
|
|
98
98
|
[x: string]: any;
|
|
@@ -100,7 +100,7 @@ export declare const components: () => {
|
|
|
100
100
|
editor: any;
|
|
101
101
|
element: any;
|
|
102
102
|
className: any;
|
|
103
|
-
}) => JSX.Element;
|
|
103
|
+
}) => React.JSX.Element;
|
|
104
104
|
a: ({ attributes, editor, element, nodeProps, className, ...props }: {
|
|
105
105
|
[x: string]: any;
|
|
106
106
|
attributes: any;
|
|
@@ -108,7 +108,7 @@ export declare const components: () => {
|
|
|
108
108
|
element: any;
|
|
109
109
|
nodeProps: any;
|
|
110
110
|
className: any;
|
|
111
|
-
}) => JSX.Element;
|
|
111
|
+
}) => React.JSX.Element;
|
|
112
112
|
code: ({ editor, leaf, text, attributes, className, ...props }: {
|
|
113
113
|
[x: string]: any;
|
|
114
114
|
editor: any;
|
|
@@ -116,19 +116,19 @@ export declare const components: () => {
|
|
|
116
116
|
text: any;
|
|
117
117
|
attributes: any;
|
|
118
118
|
className: any;
|
|
119
|
-
}) => JSX.Element;
|
|
119
|
+
}) => React.JSX.Element;
|
|
120
120
|
italic: ({ editor, leaf, text, ...props }: {
|
|
121
121
|
[x: string]: any;
|
|
122
122
|
editor: any;
|
|
123
123
|
leaf: any;
|
|
124
124
|
text: any;
|
|
125
|
-
}) => JSX.Element;
|
|
125
|
+
}) => React.JSX.Element;
|
|
126
126
|
bold: ({ editor, leaf, text, ...props }: {
|
|
127
127
|
[x: string]: any;
|
|
128
128
|
editor: any;
|
|
129
129
|
leaf: any;
|
|
130
130
|
text: any;
|
|
131
|
-
}) => JSX.Element;
|
|
131
|
+
}) => React.JSX.Element;
|
|
132
132
|
hr: ({ attributes, className, editor, element, children, ...props }: {
|
|
133
133
|
[x: string]: any;
|
|
134
134
|
attributes: any;
|
|
@@ -136,5 +136,5 @@ export declare const components: () => {
|
|
|
136
136
|
editor: any;
|
|
137
137
|
element: any;
|
|
138
138
|
children: any;
|
|
139
|
-
}) => JSX.Element;
|
|
139
|
+
}) => React.JSX.Element;
|
|
140
140
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
export declare const ToolbarIcon: ({ name }: {
|
|
3
3
|
name: string;
|
|
4
4
|
}) => any;
|
|
5
5
|
export declare const EllipsisIcon: ({ title }: {
|
|
6
6
|
title: any;
|
|
7
|
-
}) => JSX.Element;
|
|
8
|
-
export declare function UnorderedListIcon(props: any): JSX.Element;
|
|
9
|
-
export declare function HeadingIcon(props: any): JSX.Element;
|
|
10
|
-
export declare function OrderedListIcon(props: any): JSX.Element;
|
|
11
|
-
export declare function QuoteIcon(props: any): JSX.Element;
|
|
12
|
-
export declare function LinkIcon(props: any): JSX.Element;
|
|
13
|
-
export declare function CodeIcon(props: any): JSX.Element;
|
|
14
|
-
export declare function CodeBlockIcon(props: any): JSX.Element;
|
|
15
|
-
export declare function ImageIcon(props: any): JSX.Element;
|
|
16
|
-
export declare function BoldIcon(props: any): JSX.Element;
|
|
17
|
-
export declare function ItalicIcon(props: any): JSX.Element;
|
|
18
|
-
export declare function UnderlineIcon(props: any): JSX.Element;
|
|
19
|
-
export declare function StrikethroughIcon(props: any): JSX.Element;
|
|
20
|
-
export declare function LightningIcon(props: any): JSX.Element;
|
|
21
|
-
export declare function ArrowDownIcon(props: any): JSX.Element;
|
|
7
|
+
}) => React.JSX.Element;
|
|
8
|
+
export declare function UnorderedListIcon(props: any): React.JSX.Element;
|
|
9
|
+
export declare function HeadingIcon(props: any): React.JSX.Element;
|
|
10
|
+
export declare function OrderedListIcon(props: any): React.JSX.Element;
|
|
11
|
+
export declare function QuoteIcon(props: any): React.JSX.Element;
|
|
12
|
+
export declare function LinkIcon(props: any): React.JSX.Element;
|
|
13
|
+
export declare function CodeIcon(props: any): React.JSX.Element;
|
|
14
|
+
export declare function CodeBlockIcon(props: any): React.JSX.Element;
|
|
15
|
+
export declare function ImageIcon(props: any): React.JSX.Element;
|
|
16
|
+
export declare function BoldIcon(props: any): React.JSX.Element;
|
|
17
|
+
export declare function ItalicIcon(props: any): React.JSX.Element;
|
|
18
|
+
export declare function UnderlineIcon(props: any): React.JSX.Element;
|
|
19
|
+
export declare function StrikethroughIcon(props: any): React.JSX.Element;
|
|
20
|
+
export declare function LightningIcon(props: any): React.JSX.Element;
|
|
21
|
+
export declare function ArrowDownIcon(props: any): React.JSX.Element;
|
|
22
22
|
export declare function PlusIcon({ className }: {
|
|
23
23
|
className?: string;
|
|
24
|
-
}): JSX.Element;
|
|
24
|
+
}): React.JSX.Element;
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import type { MdxTemplate } from '../../../types';
|
|
3
3
|
import type { Form } from '../../../../../../../forms';
|
|
4
|
-
export declare
|
|
4
|
+
export declare type toolbarItemName = 'heading' | 'link' | 'image' | 'quote' | 'ul' | 'ol' | 'code' | 'codeBlock' | 'bold' | 'italic' | 'raw';
|
|
5
|
+
export declare function Toolbar({ templates, toolbarOverride, tinaForm, }: {
|
|
5
6
|
tinaForm: Form;
|
|
6
7
|
inlineOnly: boolean;
|
|
7
8
|
templates: MdxTemplate[];
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
toolbarOverride?: toolbarItemName[];
|
|
10
|
+
}): React.JSX.Element;
|
|
11
|
+
export declare const FloatingToolbar: ({ templates, tinaForm, toolbarOverride, }: {
|
|
10
12
|
tinaForm: Form;
|
|
11
13
|
templates: MdxTemplate[];
|
|
12
|
-
|
|
13
|
-
|
|
14
|
+
toolbarOverride?: toolbarItemName[];
|
|
15
|
+
}) => React.JSX.Element;
|
|
16
|
+
export declare const FloatingLink: () => React.JSX.Element;
|
package/dist/toolkit/fields/plugins/mdx-field-plugin/plate/plugins/ui/toolbar/toolbar-item.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { PlateEditor } from '@udecode/plate-headless';
|
|
3
3
|
import type { MdxTemplate } from '../../../types';
|
|
4
4
|
import { Form } from '../../../../../../../forms';
|
|
@@ -10,12 +10,12 @@ export declare type ToolbarItemType = {
|
|
|
10
10
|
active?: boolean;
|
|
11
11
|
onMouseDown?: (event: any) => void;
|
|
12
12
|
icon?: string;
|
|
13
|
-
options?:
|
|
13
|
+
options?: any[];
|
|
14
14
|
isLastItem?: boolean;
|
|
15
15
|
tinaForm: Form;
|
|
16
16
|
};
|
|
17
|
-
export declare const ToolbarItem: ({ hidden, label, active, onMouseDown, icon, options, name, isLastItem, tinaForm, }: ToolbarItemType) => JSX.Element;
|
|
17
|
+
export declare const ToolbarItem: ({ hidden, label, active, onMouseDown, icon, options, name, isLastItem, tinaForm, }: ToolbarItemType) => React.JSX.Element;
|
|
18
18
|
export declare const EmbedButton: ({ editor, templates, }: {
|
|
19
19
|
editor: PlateEditor;
|
|
20
20
|
templates: MdxTemplate[];
|
|
21
|
-
}) => JSX.Element;
|
|
21
|
+
}) => React.JSX.Element;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { InputProps } from '../components';
|
|
3
3
|
export declare const NumberField: (props: import("./wrap-field-with-meta").InputFieldType<{
|
|
4
4
|
step: string | number;
|
|
5
5
|
input: InputProps;
|
|
6
|
-
}, {}>) => JSX.Element;
|
|
6
|
+
}, {}>) => React.JSX.Element;
|
|
7
7
|
export declare const NumberFieldPlugin: {
|
|
8
8
|
name: string;
|
|
9
9
|
Component: (props: import("./wrap-field-with-meta").InputFieldType<{
|
|
10
10
|
step: string | number;
|
|
11
11
|
input: InputProps;
|
|
12
|
-
}, {}>) => JSX.Element;
|
|
12
|
+
}, {}>) => React.JSX.Element;
|
|
13
13
|
parse: (value?: string) => number;
|
|
14
14
|
validate(value: any, values: any, meta: any, field: any): string;
|
|
15
15
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { InputProps } from '../components';
|
|
3
3
|
interface ExtraProps {
|
|
4
4
|
placeholder: string;
|
|
5
5
|
confirmPlaceholder: string;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export declare const PasswordFieldComponent: (props: import("./field-props").FieldProps<InputProps & ExtraProps>) => JSX.Element;
|
|
8
|
+
export declare const PasswordFieldComponent: (props: import("./field-props").FieldProps<InputProps & ExtraProps>) => React.JSX.Element;
|
|
9
9
|
export declare const PasswordFieldPlugin: {
|
|
10
10
|
name: string;
|
|
11
|
-
Component: (props: import("./field-props").FieldProps<InputProps & ExtraProps>) => JSX.Element;
|
|
11
|
+
Component: (props: import("./field-props").FieldProps<InputProps & ExtraProps>) => React.JSX.Element;
|
|
12
12
|
validate(value: any, values: any, meta: any, field: any): string;
|
|
13
13
|
parse: (value?: string) => string;
|
|
14
14
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const RadioGroupField: (props: import("./wrap-field-with-meta").InputFieldType<import("../components").RadioGroupProps, {}>) => JSX.Element;
|
|
2
|
+
export declare const RadioGroupField: (props: import("./wrap-field-with-meta").InputFieldType<import("../components").RadioGroupProps, {}>) => import("react").JSX.Element;
|
|
3
3
|
export declare const RadioGroupFieldPlugin: {
|
|
4
4
|
name: string;
|
|
5
|
-
Component: (props: import("./wrap-field-with-meta").InputFieldType<import("../components").RadioGroupProps, {}>) => JSX.Element;
|
|
5
|
+
Component: (props: import("./wrap-field-with-meta").InputFieldType<import("../components").RadioGroupProps, {}>) => import("react").JSX.Element;
|
|
6
6
|
validate(value: any, values: any, meta: any, field: any): string;
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const ReferenceField: (props: import("./wrap-field-with-meta").InputFieldType<import("../components/reference").ReferenceProps, {}>) => JSX.Element;
|
|
2
|
+
export declare const ReferenceField: (props: import("./wrap-field-with-meta").InputFieldType<import("../components/reference").ReferenceProps, {}>) => import("react").JSX.Element;
|
|
3
3
|
export declare const ReferenceFieldPlugin: {
|
|
4
4
|
name: string;
|
|
5
5
|
type: string;
|
|
6
|
-
Component: (props: import("./wrap-field-with-meta").InputFieldType<import("../components/reference").ReferenceProps, {}>) => JSX.Element;
|
|
6
|
+
Component: (props: import("./wrap-field-with-meta").InputFieldType<import("../components/reference").ReferenceProps, {}>) => import("react").JSX.Element;
|
|
7
7
|
parse: (value?: string) => string;
|
|
8
8
|
validate(value: any, values: any, meta: any, field: any): string;
|
|
9
9
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const SelectField: (props: import("./wrap-field-with-meta").InputFieldType<import("../components").SelectProps, {}>) => JSX.Element;
|
|
2
|
+
export declare const SelectField: (props: import("./wrap-field-with-meta").InputFieldType<import("../components").SelectProps, {}>) => import("react").JSX.Element;
|
|
3
3
|
export declare const SelectFieldPlugin: {
|
|
4
4
|
name: string;
|
|
5
5
|
type: string;
|
|
6
|
-
Component: (props: import("./wrap-field-with-meta").InputFieldType<import("../components").SelectProps, {}>) => JSX.Element;
|
|
6
|
+
Component: (props: import("./wrap-field-with-meta").InputFieldType<import("../components").SelectProps, {}>) => import("react").JSX.Element;
|
|
7
7
|
parse: (value?: string) => string;
|
|
8
8
|
validate(value: any, values: any, meta: any, field: any): string;
|
|
9
9
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { InputProps } from '../components';
|
|
3
3
|
export declare const TagsField: (props: import("./wrap-field-with-meta").InputFieldType<{
|
|
4
4
|
placeholder: string;
|
|
5
|
-
}, InputProps>) => JSX.Element;
|
|
5
|
+
}, InputProps>) => React.JSX.Element;
|
|
6
6
|
export declare const TagsFieldPlugin: {
|
|
7
7
|
name: string;
|
|
8
8
|
Component: (props: import("./wrap-field-with-meta").InputFieldType<{
|
|
9
9
|
placeholder: string;
|
|
10
|
-
}, InputProps>) => JSX.Element;
|
|
10
|
+
}, InputProps>) => React.JSX.Element;
|
|
11
11
|
parse: (value?: string) => string;
|
|
12
12
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { InputProps } from '../components';
|
|
3
3
|
interface ExtraProps {
|
|
4
4
|
placeholder: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export declare const TextField: (props: import("./field-props").FieldProps<InputProps & ExtraProps>) => JSX.Element;
|
|
7
|
+
export declare const TextField: (props: import("./field-props").FieldProps<InputProps & ExtraProps>) => React.JSX.Element;
|
|
8
8
|
export declare const TextFieldPlugin: {
|
|
9
9
|
name: string;
|
|
10
|
-
Component: (props: import("./field-props").FieldProps<InputProps & ExtraProps>) => JSX.Element;
|
|
10
|
+
Component: (props: import("./field-props").FieldProps<InputProps & ExtraProps>) => React.JSX.Element;
|
|
11
11
|
validate(value: any, allValues: any, meta: any, field: any): "Required" | "Item with this unique id already exists";
|
|
12
12
|
parse: (value?: string) => string;
|
|
13
13
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { InputProps } from '../components';
|
|
3
3
|
export declare const TextareaField: (props: import("./wrap-field-with-meta").InputFieldType<{
|
|
4
4
|
input: InputProps;
|
|
5
|
-
}, {}>) => JSX.Element;
|
|
5
|
+
}, {}>) => React.JSX.Element;
|
|
6
6
|
export declare const TextareaFieldPlugin: {
|
|
7
7
|
name: string;
|
|
8
8
|
Component: (props: import("./wrap-field-with-meta").InputFieldType<{
|
|
9
9
|
input: InputProps;
|
|
10
|
-
}, {}>) => JSX.Element;
|
|
10
|
+
}, {}>) => React.JSX.Element;
|
|
11
11
|
parse: (value?: string) => string;
|
|
12
12
|
validate(value: any, values: any, meta: any, field: any): string;
|
|
13
13
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const ToggleField: (props: import("./wrap-field-with-meta").InputFieldType<import("../components").ToggleProps, {}>) => JSX.Element;
|
|
2
|
+
export declare const ToggleField: (props: import("./wrap-field-with-meta").InputFieldType<import("../components").ToggleProps, {}>) => import("react").JSX.Element;
|
|
3
3
|
export declare const ToggleFieldPlugin: {
|
|
4
4
|
name: string;
|
|
5
5
|
type: string;
|
|
6
|
-
Component: (props: import("./wrap-field-with-meta").InputFieldType<import("../components").ToggleProps, {}>) => JSX.Element;
|
|
6
|
+
Component: (props: import("./wrap-field-with-meta").InputFieldType<import("../components").ToggleProps, {}>) => import("react").JSX.Element;
|
|
7
7
|
validate(value: any, values: any, meta: any, field: any): string;
|
|
8
8
|
};
|
|
@@ -2,8 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
import { FieldProps } from './field-props';
|
|
3
3
|
import { Form } from '../../forms';
|
|
4
4
|
export declare type InputFieldType<ExtraFieldProps, InputProps> = FieldProps<InputProps> & ExtraFieldProps;
|
|
5
|
-
export declare function wrapFieldsWithMeta<ExtraFieldProps = {}, InputProps = {}>(Field: React.FunctionComponent<InputFieldType<ExtraFieldProps, InputProps>> | React.ComponentClass<InputFieldType<ExtraFieldProps, InputProps>>): (props: InputFieldType<ExtraFieldProps, InputProps>) => JSX.Element;
|
|
6
|
-
export declare function wrapFieldWithError<ExtraFieldProps = {}, InputProps = {}>(Field: React.FunctionComponent<InputFieldType<ExtraFieldProps, InputProps>> | React.ComponentClass<InputFieldType<ExtraFieldProps, InputProps>>): (props: InputFieldType<ExtraFieldProps, InputProps>) => JSX.Element;
|
|
5
|
+
export declare function wrapFieldsWithMeta<ExtraFieldProps = {}, InputProps = {}>(Field: React.FunctionComponent<InputFieldType<ExtraFieldProps, InputProps>> | React.ComponentClass<InputFieldType<ExtraFieldProps, InputProps>>): (props: InputFieldType<ExtraFieldProps, InputProps>) => React.JSX.Element;
|
|
6
|
+
export declare function wrapFieldWithError<ExtraFieldProps = {}, InputProps = {}>(Field: React.FunctionComponent<InputFieldType<ExtraFieldProps, InputProps>> | React.ComponentClass<InputFieldType<ExtraFieldProps, InputProps>>): (props: InputFieldType<ExtraFieldProps, InputProps>) => React.JSX.Element;
|
|
7
7
|
interface FieldMetaProps extends React.HTMLAttributes<HTMLElement> {
|
|
8
8
|
name: string;
|
|
9
9
|
children: any;
|
|
@@ -14,23 +14,23 @@ interface FieldMetaProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
14
14
|
index?: number;
|
|
15
15
|
tinaForm: Form;
|
|
16
16
|
}
|
|
17
|
-
export declare const FieldMeta: ({ name, label, description, error, margin, children, index, tinaForm, ...props }: FieldMetaProps) => JSX.Element;
|
|
17
|
+
export declare const FieldMeta: ({ name, label, description, error, margin, children, index, tinaForm, ...props }: FieldMetaProps) => React.JSX.Element;
|
|
18
18
|
export declare const FieldWrapper: ({ margin, children, ...props }: {
|
|
19
19
|
margin: boolean;
|
|
20
20
|
children: React.ReactNode;
|
|
21
|
-
} & Partial<
|
|
21
|
+
} & Partial<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">>) => React.JSX.Element;
|
|
22
22
|
export interface FieldLabel extends React.HTMLAttributes<HTMLLabelElement> {
|
|
23
23
|
children?: any | any[];
|
|
24
24
|
className?: string;
|
|
25
25
|
name?: string;
|
|
26
26
|
}
|
|
27
|
-
export declare const FieldLabel: ({ children, className, name, ...props }: FieldLabel) => JSX.Element;
|
|
27
|
+
export declare const FieldLabel: ({ children, className, name, ...props }: FieldLabel) => React.JSX.Element;
|
|
28
28
|
export declare const FieldDescription: ({ children, className, ...props }: {
|
|
29
29
|
children?: any | any[];
|
|
30
30
|
className?: string;
|
|
31
|
-
}) => JSX.Element;
|
|
31
|
+
}) => React.JSX.Element;
|
|
32
32
|
export declare const FieldError: ({ children, className, ...props }: {
|
|
33
33
|
children?: any | any[];
|
|
34
34
|
className?: string;
|
|
35
|
-
}) => JSX.Element;
|
|
35
|
+
}) => React.JSX.Element;
|
|
36
36
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { Form, Field } from '../forms';
|
|
3
3
|
export interface FieldsBuilderProps {
|
|
4
4
|
form: Form;
|
|
@@ -6,8 +6,8 @@ export interface FieldsBuilderProps {
|
|
|
6
6
|
fields: Field[];
|
|
7
7
|
padding?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare function FieldsBuilder({ form, fields, activeFieldName, padding, }: FieldsBuilderProps): JSX.Element;
|
|
9
|
+
export declare function FieldsBuilder({ form, fields, activeFieldName, padding, }: FieldsBuilderProps): React.JSX.Element;
|
|
10
10
|
export declare const FieldsGroup: ({ padding, children, }: {
|
|
11
11
|
padding?: boolean;
|
|
12
12
|
children?: any | any[];
|
|
13
|
-
}) => JSX.Element;
|
|
13
|
+
}) => React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { FC } from 'react';
|
|
2
3
|
import { Form } from '../forms';
|
|
3
4
|
export interface FormActionMenuProps {
|
|
@@ -8,4 +9,4 @@ export declare const FormActionMenu: FC<FormActionMenuProps>;
|
|
|
8
9
|
export declare const ActionButton: ({ className, ...props }: {
|
|
9
10
|
[x: string]: any;
|
|
10
11
|
className?: string;
|
|
11
|
-
}) => JSX.Element;
|
|
12
|
+
}) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { FC } from 'react';
|
|
3
|
-
import { Form } from '../forms';
|
|
2
|
+
import { type FC } from 'react';
|
|
3
|
+
import type { Form } from '../forms';
|
|
4
4
|
export interface FormBuilderProps {
|
|
5
5
|
form: {
|
|
6
6
|
tinaForm: Form;
|
|
@@ -13,20 +13,20 @@ export interface FormBuilderProps {
|
|
|
13
13
|
export declare const FormBuilder: FC<FormBuilderProps>;
|
|
14
14
|
export declare const FormStatus: ({ pristine }: {
|
|
15
15
|
pristine: any;
|
|
16
|
-
}) => JSX.Element;
|
|
16
|
+
}) => React.JSX.Element;
|
|
17
17
|
export declare const FormWrapper: ({ header, children, id, }: {
|
|
18
18
|
header?: React.ReactNode;
|
|
19
19
|
children: React.ReactNode;
|
|
20
20
|
id: string;
|
|
21
|
-
}) => JSX.Element;
|
|
21
|
+
}) => React.JSX.Element;
|
|
22
22
|
export declare const CreateBranchModel: ({ close, safeSubmit, relativePath, values, crudType, }: {
|
|
23
23
|
safeSubmit: () => Promise<void>;
|
|
24
24
|
close: () => void;
|
|
25
25
|
relativePath: string;
|
|
26
26
|
values: Record<string, unknown>;
|
|
27
27
|
crudType: string;
|
|
28
|
-
}) => JSX.Element;
|
|
28
|
+
}) => React.JSX.Element;
|
|
29
29
|
export declare const PrefixedTextField: ({ prefix, ...props }: {
|
|
30
30
|
[x: string]: any;
|
|
31
31
|
prefix?: string;
|
|
32
|
-
}) => JSX.Element;
|
|
32
|
+
}) => React.JSX.Element;
|
|
@@ -5,4 +5,8 @@ export declare type FormPortal = React.FC<{
|
|
|
5
5
|
}): React.ReactNode | null;
|
|
6
6
|
}>;
|
|
7
7
|
export declare function useFormPortal(): FormPortal;
|
|
8
|
-
|
|
8
|
+
declare type FormPortalProviderProps = {
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
};
|
|
11
|
+
export declare const FormPortalProvider: React.FC<FormPortalProviderProps>;
|
|
12
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Form } from '../forms';
|
|
4
4
|
interface RenderProps {
|
|
@@ -9,7 +9,7 @@ export interface Props {
|
|
|
9
9
|
form: Form;
|
|
10
10
|
children({ isEditing, setIsEditing }: RenderProps): any;
|
|
11
11
|
}
|
|
12
|
-
export declare function TinaForm({ form, children }: Props): JSX.Element;
|
|
12
|
+
export declare function TinaForm({ form, children }: Props): React.JSX.Element;
|
|
13
13
|
interface TinaFieldsProps {
|
|
14
14
|
name: string;
|
|
15
15
|
type?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
interface LoadingDotsProps {
|
|
3
3
|
dotSize?: number;
|
|
4
4
|
color?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare const LoadingDots: ({ dotSize, color, }: LoadingDotsProps) => JSX.Element;
|
|
6
|
+
export declare const LoadingDots: ({ dotSize, color, }: LoadingDotsProps) => React.JSX.Element;
|
|
7
7
|
export {};
|