@nextbridgehq/payload-block-builder 0.1.8 → 0.2.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/README.md +280 -76
- package/dist/bin/init.js +0 -0
- package/dist/client.cjs +1487 -603
- package/dist/client.d.cts +6 -2
- package/dist/client.d.ts +6 -2
- package/dist/client.js +1438 -530
- package/dist/index.cjs +887 -520
- package/dist/index.d.cts +52 -8
- package/dist/index.d.ts +52 -8
- package/dist/index.js +884 -518
- package/package.json +29 -10
- package/src/block-builder/builder.css +391 -36
- package/src/components/BlockDataField/BlockDataField.css +652 -393
- package/src/components/SchemaBuilderField/SchemaBuilderField.css +361 -361
package/dist/client.d.cts
CHANGED
|
@@ -4,13 +4,17 @@ declare function BlockDataField({ path }: {
|
|
|
4
4
|
path: string;
|
|
5
5
|
}): React.JSX.Element;
|
|
6
6
|
|
|
7
|
+
declare function BlockVersionSync({ path }: {
|
|
8
|
+
path: string;
|
|
9
|
+
}): null;
|
|
10
|
+
|
|
7
11
|
type Props$1 = {
|
|
8
12
|
path: string;
|
|
9
13
|
readOnly?: boolean;
|
|
10
14
|
};
|
|
11
15
|
declare function SchemaBuilderField({ path, readOnly }: Props$1): React.JSX.Element;
|
|
12
16
|
|
|
13
|
-
declare function EditInBuilderButton(): React.JSX.Element;
|
|
17
|
+
declare function EditInBuilderButton(): React.JSX.Element | null;
|
|
14
18
|
|
|
15
19
|
type Props = {
|
|
16
20
|
loadSlug?: string | null;
|
|
@@ -19,4 +23,4 @@ declare function BuilderShell({ loadSlug }: Props): React.JSX.Element;
|
|
|
19
23
|
|
|
20
24
|
declare function BlockBuilderNavLink(): React.JSX.Element;
|
|
21
25
|
|
|
22
|
-
export { BlockBuilderNavLink, BlockDataField, BuilderShell, EditInBuilderButton, SchemaBuilderField };
|
|
26
|
+
export { BlockBuilderNavLink, BlockDataField, BlockVersionSync, BuilderShell, EditInBuilderButton, SchemaBuilderField };
|
package/dist/client.d.ts
CHANGED
|
@@ -4,13 +4,17 @@ declare function BlockDataField({ path }: {
|
|
|
4
4
|
path: string;
|
|
5
5
|
}): React.JSX.Element;
|
|
6
6
|
|
|
7
|
+
declare function BlockVersionSync({ path }: {
|
|
8
|
+
path: string;
|
|
9
|
+
}): null;
|
|
10
|
+
|
|
7
11
|
type Props$1 = {
|
|
8
12
|
path: string;
|
|
9
13
|
readOnly?: boolean;
|
|
10
14
|
};
|
|
11
15
|
declare function SchemaBuilderField({ path, readOnly }: Props$1): React.JSX.Element;
|
|
12
16
|
|
|
13
|
-
declare function EditInBuilderButton(): React.JSX.Element;
|
|
17
|
+
declare function EditInBuilderButton(): React.JSX.Element | null;
|
|
14
18
|
|
|
15
19
|
type Props = {
|
|
16
20
|
loadSlug?: string | null;
|
|
@@ -19,4 +23,4 @@ declare function BuilderShell({ loadSlug }: Props): React.JSX.Element;
|
|
|
19
23
|
|
|
20
24
|
declare function BlockBuilderNavLink(): React.JSX.Element;
|
|
21
25
|
|
|
22
|
-
export { BlockBuilderNavLink, BlockDataField, BuilderShell, EditInBuilderButton, SchemaBuilderField };
|
|
26
|
+
export { BlockBuilderNavLink, BlockDataField, BlockVersionSync, BuilderShell, EditInBuilderButton, SchemaBuilderField };
|