@nextbridgehq/payload-block-builder 0.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/LICENSE +21 -0
- package/README.md +117 -0
- package/dist/client.cjs +2454 -0
- package/dist/client.d.cts +20 -0
- package/dist/client.d.ts +20 -0
- package/dist/client.js +2440 -0
- package/dist/index.cjs +1228 -0
- package/dist/index.d.cts +276 -0
- package/dist/index.d.ts +276 -0
- package/dist/index.js +1199 -0
- package/package.json +65 -0
- package/src/block-builder/builder.css +1365 -0
- package/src/components/BlockDataField/BlockDataField.css +393 -0
- package/src/components/SchemaBuilderField/SchemaBuilderField.css +361 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
declare function BlockDataField({ path }: {
|
|
4
|
+
path: string;
|
|
5
|
+
}): React.JSX.Element;
|
|
6
|
+
|
|
7
|
+
type Props$1 = {
|
|
8
|
+
path: string;
|
|
9
|
+
readOnly?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare function SchemaBuilderField({ path, readOnly }: Props$1): React.JSX.Element;
|
|
12
|
+
|
|
13
|
+
declare function EditInBuilderButton(): React.JSX.Element;
|
|
14
|
+
|
|
15
|
+
type Props = {
|
|
16
|
+
loadSlug?: string | null;
|
|
17
|
+
};
|
|
18
|
+
declare function BuilderShell({ loadSlug }: Props): React.JSX.Element;
|
|
19
|
+
|
|
20
|
+
export { BlockDataField, BuilderShell, EditInBuilderButton, SchemaBuilderField };
|
package/dist/client.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
declare function BlockDataField({ path }: {
|
|
4
|
+
path: string;
|
|
5
|
+
}): React.JSX.Element;
|
|
6
|
+
|
|
7
|
+
type Props$1 = {
|
|
8
|
+
path: string;
|
|
9
|
+
readOnly?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare function SchemaBuilderField({ path, readOnly }: Props$1): React.JSX.Element;
|
|
12
|
+
|
|
13
|
+
declare function EditInBuilderButton(): React.JSX.Element;
|
|
14
|
+
|
|
15
|
+
type Props = {
|
|
16
|
+
loadSlug?: string | null;
|
|
17
|
+
};
|
|
18
|
+
declare function BuilderShell({ loadSlug }: Props): React.JSX.Element;
|
|
19
|
+
|
|
20
|
+
export { BlockDataField, BuilderShell, EditInBuilderButton, SchemaBuilderField };
|