@prismicio/editor-ui 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.
@@ -3,5 +3,6 @@ export interface ColorInputProps {
3
3
  placeholder?: string;
4
4
  "aria-labelledby": string;
5
5
  onValueChange: (value?: string) => void;
6
+ readOnly?: boolean;
6
7
  }
7
8
  export declare function ColorInput(props: ColorInputProps): JSX.Element;
@@ -8,6 +8,7 @@ export interface GroupProps<ITEM> {
8
8
  getItemKey: (item: ITEM) => string;
9
9
  children: (item: ITEM, index: number) => ReactNode;
10
10
  onAddItem?: (atIndex: number) => void;
11
+ readOnly?: boolean;
11
12
  dnd?: {
12
13
  scrollOffsetTop?: number;
13
14
  /**
@@ -8,6 +8,7 @@ interface Props {
8
8
  offset: number;
9
9
  }) => void;
10
10
  onDelete?: (index: number) => void;
11
+ readOnly?: boolean;
11
12
  }
12
13
  export declare function GroupItem(props: Props): JSX.Element;
13
14
  export {};
@@ -6,5 +6,6 @@ export interface TagFieldProps {
6
6
  onSelectedValuesChange: (selectedValues: Set<string>) => void;
7
7
  error?: boolean;
8
8
  loading?: boolean;
9
+ disabled?: boolean;
9
10
  }
10
11
  export declare function TagField(props: TagFieldProps): JSX.Element;
@@ -6,7 +6,7 @@ interface TagFieldHeaderProps {
6
6
  setSearchText: (searchText: string) => void;
7
7
  open: boolean;
8
8
  setOpen: (open: boolean) => void;
9
- isDisabled: boolean | undefined;
9
+ disabled: boolean | undefined;
10
10
  onSelectedValuesChange: (selectedValues: Set<string>) => void;
11
11
  onCreateTag: () => void;
12
12
  fieldRef: RefObject<HTMLDivElement>;
@@ -17,6 +17,7 @@ interface TagsContainerProps {
17
17
  extraTags: number;
18
18
  removeSelectedValue: (valueToDelete: string | LastItemLocation) => void;
19
19
  open: boolean;
20
+ disabled?: boolean;
20
21
  }
21
- export declare function TagFieldHeaderContent({ displayedTags, extraTags, removeSelectedValue, open, }: TagsContainerProps): JSX.Element;
22
+ export declare function TagFieldHeaderContent({ displayedTags, extraTags, removeSelectedValue, open, disabled, }: TagsContainerProps): JSX.Element;
22
23
  export {};