@prismicio/editor-fields 0.4.79-alpha.jp-release-script-tests.1 → 0.4.79
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/core/service/customType.d.ts +8897 -0
- package/dist/fields/ColorField/ColorField.d.ts +1 -0
- package/dist/fields/ImageField/Components/ImageLinkControl.d.ts +1 -0
- package/dist/fields/LinkField/LinkField.d.ts +2 -0
- package/dist/fields/LinkField/LinkFieldActions.d.ts +1 -0
- package/dist/fields/LinkField/RepeatableLinkField/RepeatableLinkField.d.ts +1 -0
- package/dist/index.cjs.js +38 -38
- package/dist/index.es.js +1380 -1359
- package/package.json +4 -5
|
@@ -10,6 +10,7 @@ interface LinkFieldProps {
|
|
|
10
10
|
onContentChange: (content: LinkContent | undefined) => void;
|
|
11
11
|
appearance?: LinkFieldAppearance;
|
|
12
12
|
backgroundColor?: "transparent" | "grey1";
|
|
13
|
+
readOnly: boolean;
|
|
13
14
|
}
|
|
14
15
|
export declare function LinkField(props: LinkFieldProps): JSX.Element;
|
|
15
16
|
interface GetFieldIconArgs {
|
|
@@ -27,6 +28,7 @@ interface FilledLinkFieldProps {
|
|
|
27
28
|
};
|
|
28
29
|
content: FilledLinkContent | undefined;
|
|
29
30
|
onContentChange: (content: FilledLinkContent | undefined) => void;
|
|
31
|
+
readOnly: boolean;
|
|
30
32
|
}
|
|
31
33
|
export declare function FilledLinkField(props: FilledLinkFieldProps): JSX.Element;
|
|
32
34
|
export {};
|
|
@@ -6,6 +6,7 @@ interface RepeatableLinkFieldProps {
|
|
|
6
6
|
field: Link;
|
|
7
7
|
content: RepeatableContent | undefined;
|
|
8
8
|
onContentChange: (content: RepeatableContent) => void;
|
|
9
|
+
readOnly: boolean;
|
|
9
10
|
}
|
|
10
11
|
export declare function RepeatableLinkField(props: RepeatableLinkFieldProps): JSX.Element;
|
|
11
12
|
export {};
|