@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.
@@ -5,6 +5,7 @@ interface Props {
5
5
  id: string;
6
6
  field: ColorT;
7
7
  content?: ColorContent;
8
+ readOnly?: boolean;
8
9
  onContentChange: (content?: ColorContent) => void;
9
10
  }
10
11
  export declare function ColorField(props: Props): JSX.Element;
@@ -4,6 +4,7 @@ type LinkTo = ImageBlockData["linkTo"];
4
4
  interface ImageLinkControlProps {
5
5
  linkTo: LinkTo;
6
6
  onLinkToChange: (linkTo: LinkTo) => void;
7
+ readOnly: boolean;
7
8
  }
8
9
  export declare function ImageLinkControl(props: ImageLinkControlProps): JSX.Element;
9
10
  export {};
@@ -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 {};
@@ -15,6 +15,7 @@ interface Props {
15
15
  variants: string[];
16
16
  variant?: string;
17
17
  onVariantChange: (newVariant: string) => void;
18
+ readOnly: boolean;
18
19
  }
19
20
  export declare function LinkFieldActions(props: Props): JSX.Element;
20
21
  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 {};