@prismicio/editor-ui 0.4.79-bump-types-internal.0 → 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/{BarChart-yEm-2JeH.mjs → BarChart-fiSxXgwn.mjs} +1 -1
- package/dist/{BarChart-NmBMMDYL.js → BarChart-hVE2wKiC.js} +1 -1
- package/dist/components/ActionList/ActionList.d.ts +1 -1
- package/dist/components/ColorInput/ColorInput.d.ts +1 -0
- package/dist/components/EditableText/EditableText.d.ts +3 -1
- package/dist/components/Form/FormInput.d.ts +1 -1
- package/dist/components/Group/Group.d.ts +1 -0
- package/dist/components/Group/GroupItem.d.ts +1 -0
- package/dist/components/Table/Table.d.ts +1 -0
- package/dist/components/TagField/TagField.d.ts +1 -0
- package/dist/components/TagField/TagFieldHeader.d.ts +3 -2
- package/dist/components/TextArea/TextArea.d.ts +1 -0
- package/dist/{index-EbFdiRMR.mjs → index-CYaMNVIy.mjs} +10918 -10707
- package/dist/{index-h_wYQy3w.js → index-aD7yyXDz.js} +194 -194
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -3
|
@@ -2,7 +2,7 @@ import { type MouseEvent, type PropsWithChildren, type ReactNode } from "react";
|
|
|
2
2
|
import type { SX } from "../../theme";
|
|
3
3
|
import { type IconName } from "../Icon";
|
|
4
4
|
import { textVariantMapping } from "../Text";
|
|
5
|
-
export type ActionListVariant = "borderless" | "bordered" | "compact";
|
|
5
|
+
export type ActionListVariant = "borderless" | "bordered" | "compact" | "compact-bordered";
|
|
6
6
|
export interface ActionListProps extends PropsWithChildren {
|
|
7
7
|
variant?: ActionListVariant;
|
|
8
8
|
gap?: 0 | 4 | 8;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { type ThemeKeys } from "../../theme";
|
|
2
|
+
import { type SX, type ThemeKeys } from "../../theme";
|
|
3
3
|
import { textVariantMapping } from "../Text";
|
|
4
4
|
export interface EditableTextProps {
|
|
5
|
+
name?: string;
|
|
5
6
|
"aria-label": string;
|
|
6
7
|
value: string;
|
|
7
8
|
color?: ThemeKeys<"color">;
|
|
@@ -9,5 +10,6 @@ export interface EditableTextProps {
|
|
|
9
10
|
disabled?: boolean;
|
|
10
11
|
onBlur?: () => void;
|
|
11
12
|
onChange?: (value: string) => void;
|
|
13
|
+
sx?: SX;
|
|
12
14
|
}
|
|
13
15
|
export declare const EditableText: (props: EditableTextProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
|
|
@@ -19,5 +19,5 @@ export interface FormInputProps extends Pick<FormInputFieldProps, "disabled" | "
|
|
|
19
19
|
name?: string;
|
|
20
20
|
}
|
|
21
21
|
export declare const FormInput: (props: FormInputProps & import("react").RefAttributes<HTMLInputElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
|
|
22
|
-
type AutoCompleteValue = "username" | "current-password";
|
|
22
|
+
type AutoCompleteValue = "username" | "current-password" | "off";
|
|
23
23
|
export {};
|
|
@@ -61,6 +61,7 @@ export interface TableCellProps {
|
|
|
61
61
|
align?: "center" | "end";
|
|
62
62
|
/** Whether the content of the cell is interactive, this disables the link properties for that cell. Defaults to `false`. */
|
|
63
63
|
interactive?: boolean;
|
|
64
|
+
alignItems?: "center" | "flex-start" | "flex-end";
|
|
64
65
|
}
|
|
65
66
|
/**
|
|
66
67
|
* Table cells wrap the individual content of the table.
|
|
@@ -6,7 +6,7 @@ interface TagFieldHeaderProps {
|
|
|
6
6
|
setSearchText: (searchText: string) => void;
|
|
7
7
|
open: boolean;
|
|
8
8
|
setOpen: (open: boolean) => void;
|
|
9
|
-
|
|
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 {};
|
|
@@ -13,5 +13,6 @@ export interface TextAreaProps {
|
|
|
13
13
|
paddingRight?: ThemeKeys<"space">;
|
|
14
14
|
sx?: SX;
|
|
15
15
|
onBlur?: () => void;
|
|
16
|
+
onFocus?: () => void;
|
|
16
17
|
}
|
|
17
18
|
export declare const TextArea: (props: TextAreaProps & import("react").RefAttributes<HTMLTextAreaElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
|