@prismicio/editor-ui 0.4.58-alpha.repeatable-link-base.0 → 0.4.58-alpha.repeatable-link-base.1

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.
@@ -38,6 +38,10 @@ export type ActionListItemProps = {
38
38
  * Override the variant from ActionList
39
39
  */
40
40
  variant?: ActionListVariant;
41
+ /**
42
+ * If true, the item title and description will be rendered on a single line.
43
+ */
44
+ noWrap?: boolean;
41
45
  } & ActionListItemEndProps;
42
46
  export type ActionListItemEndProps = {
43
47
  endAdornment?: ReactNode;
@@ -1 +1 @@
1
- export { ActionList, ActionListHeader, ActionListItem, ActionListLabel } from "./ActionList";
1
+ export { ActionList, ActionListHeader, ActionListItem, ActionListLabel, } from "./ActionList";
@@ -1 +1 @@
1
- export { BlankSlate, BlankSlateActions, BlankSlateDescription, BlankSlateIcon, BlankSlateImage, BlankSlateTitle } from "./BlankSlate";
1
+ export { BlankSlate, BlankSlateActions, BlankSlateDescription, BlankSlateIcon, BlankSlateImage, BlankSlateTitle, } from "./BlankSlate";
@@ -10,8 +10,8 @@ export interface ButtonProps {
10
10
  * Note that said component must be implemented with forwardRef() and spread/provide all its props to its first child VNode.
11
11
  */
12
12
  asChild?: boolean;
13
- /** Note that white is only supported for the invisible button */
14
- color?: "grey" | "darkGrey" | "purple" | "dark" | "tomato" | "amber" | "green" | "white" | "indigo";
13
+ /** Note that black & white are only supported for the invisible button */
14
+ color?: "black" | "grey" | "darkGrey" | "purple" | "dark" | "tomato" | "amber" | "green" | "white" | "indigo";
15
15
  size?: "small" | "medium" | "large";
16
16
  disabled?: boolean;
17
17
  loading?: boolean;
@@ -40,7 +40,7 @@ export interface ButtonProps {
40
40
  /** Removes padding around the icon. Will only apply to icon only buttons. */
41
41
  hasPadding?: boolean;
42
42
  /** Underlines the text content of the button. Only applies to invisible buttons */
43
- underline?: boolean;
43
+ underline?: boolean | "hover";
44
44
  hiddenLabel?: string;
45
45
  onClick?: (event: MouseEvent | KeyboardEvent) => void;
46
46
  onMouseDown?: (event: MouseEvent) => void;
@@ -17,7 +17,7 @@ export declare const Default: {
17
17
  render: (args: {
18
18
  children?: import("react").ReactNode;
19
19
  asChild?: boolean | undefined;
20
- color?: "dark" | "white" | "green" | "grey" | "indigo" | "purple" | "tomato" | "darkGrey" | "amber" | undefined;
20
+ color?: "dark" | "white" | "black" | "green" | "grey" | "indigo" | "purple" | "tomato" | "darkGrey" | "amber" | undefined;
21
21
  size?: "small" | "medium" | "large" | undefined;
22
22
  disabled?: boolean | undefined;
23
23
  loading?: boolean | undefined;
@@ -33,7 +33,7 @@ export declare const Default: {
33
33
  hotkeys?: import("react-hotkeys-hook").Keys | undefined;
34
34
  invisible?: boolean | undefined;
35
35
  hasPadding?: boolean | undefined;
36
- underline?: boolean | undefined;
36
+ underline?: boolean | "hover" | undefined;
37
37
  hiddenLabel?: string | undefined;
38
38
  onClick?: ((event: import("react").MouseEvent<Element, MouseEvent> | KeyboardEvent) => void) | undefined;
39
39
  onMouseDown?: ((event: import("react").MouseEvent<Element, MouseEvent>) => void) | undefined;
@@ -1,2 +1,2 @@
1
- export { Card, CardContent, CardFooter, CardHeader, CardHeaderActions, CardHeaderTitle, CardImage } from "./Card";
1
+ export { Card, CardContent, CardFooter, CardHeader, CardHeaderActions, CardHeaderTitle, CardImage, } from "./Card";
2
2
  export { PreviewCard, PreviewContent, PreviewImage } from "./PreviewCard";
@@ -1,9 +1,11 @@
1
1
  import { type IconProps } from "../Icon";
2
2
  export interface CircleIconProps {
3
- color?: "grey" | "purple" | "tomato";
3
+ color?: Color;
4
4
  name: IconProps["name"];
5
5
  size?: IconProps["size"];
6
6
  sx?: IconProps["sx"];
7
7
  variant?: "soft" | "solid";
8
8
  }
9
9
  export declare function CircleIcon(props: CircleIconProps): JSX.Element;
10
+ type Color = "amber" | "grey" | "purple" | "tomato";
11
+ export {};
@@ -1 +1 @@
1
- export { ComboBox, ComboboxAction, ComboBoxContent, ComboBoxInput, ComboBoxItem } from "./ComboBox";
1
+ export { ComboBox, ComboboxAction, ComboBoxContent, ComboBoxInput, ComboBoxItem, } from "./ComboBox";
@@ -23,12 +23,12 @@ export interface DialogOptionsProps {
23
23
  */
24
24
  footer?: ReactNode;
25
25
  }
26
- export declare const DialogOptions: ({ value, onValueChange, children, width, padding, footer }: DialogOptionsProps) => JSX.Element;
26
+ export declare const DialogOptions: ({ value, onValueChange, children, width, padding, footer, }: DialogOptionsProps) => JSX.Element;
27
27
  interface DialogOptionsItemProps {
28
28
  value: string;
29
29
  icon?: IconName;
30
30
  title?: string;
31
31
  subtitle?: string;
32
32
  }
33
- export declare const DialogOptionsItem: ({ value, icon, title, subtitle }: DialogOptionsItemProps) => JSX.Element;
33
+ export declare const DialogOptionsItem: ({ value, icon, title, subtitle, }: DialogOptionsItemProps) => JSX.Element;
34
34
  export {};
@@ -1,2 +1,2 @@
1
- export { Dialog, DialogActionButton, DialogActionLink, DialogActions, DialogCancelButton, DialogContent, DialogHeader, type DialogProps } from "./Dialog";
1
+ export { Dialog, DialogActionButton, DialogActionLink, DialogActions, DialogCancelButton, DialogContent, DialogHeader, type DialogProps, } from "./Dialog";
2
2
  export { DialogOptions, DialogOptionsItem } from "./Options/DialogOptions";
@@ -1 +1 @@
1
- export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuTrigger } from "./DropdownMenu";
1
+ export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuTrigger, } from "./DropdownMenu";
@@ -1 +1 @@
1
- export { Field, FieldControl, FieldFooter, FieldIcon, FieldLabel } from "./Field";
1
+ export { Field, FieldControl, FieldFooter, FieldIcon, FieldLabel, } from "./Field";
@@ -1 +1 @@
1
- export { getProgressPropsFromMediaStatus, MediaCard, MediaCardPlaceholder } from "./MediaCard";
1
+ export { getProgressPropsFromMediaStatus, MediaCard, MediaCardPlaceholder, } from "./MediaCard";
@@ -15,7 +15,7 @@ interface OverflowItemProps {
15
15
  }
16
16
  export declare function OverflowItem(props: OverflowItemProps): JSX.Element;
17
17
  interface OverflowAdornmentProps {
18
- adornment: ({ numberOfVisibleItems }: {
18
+ adornment: ({ numberOfVisibleItems, }: {
19
19
  numberOfVisibleItems: number;
20
20
  }) => ReactNode;
21
21
  }
@@ -1 +1 @@
1
- export { OverflowContainer, OverflowEndAdornment, OverflowItem } from "./OverflowContainer";
1
+ export { OverflowContainer, OverflowEndAdornment, OverflowItem, } from "./OverflowContainer";
@@ -11,4 +11,4 @@ export interface ProgressCircleProps {
11
11
  * Follow MUI animation.
12
12
  * See: https://github.com/mui/material-ui/tree/b4c2e4ecb8dfec0432f9f55778cd90e10c5be5d7/packages/mui-material/src/CircularProgress
13
13
  */
14
- export declare function ProgressCircle({ color }: ProgressCircleProps): JSX.Element;
14
+ export declare function ProgressCircle({ color, }: ProgressCircleProps): JSX.Element;
@@ -1 +1 @@
1
- export { Table, TableBody, TableCell, TableHead, type TableProps, TableRow } from "./Table";
1
+ export { Table, TableBody, TableCell, TableHead, type TableProps, TableRow, } from "./Table";
@@ -18,5 +18,5 @@ interface TagsContainerProps {
18
18
  removeSelectedValue: (valueToDelete: string | LastItemLocation) => void;
19
19
  open: boolean;
20
20
  }
21
- export declare function TagFieldHeaderContent({ displayedTags, extraTags, removeSelectedValue, open }: TagsContainerProps): JSX.Element;
21
+ export declare function TagFieldHeaderContent({ displayedTags, extraTags, removeSelectedValue, open, }: TagsContainerProps): JSX.Element;
22
22
  export {};
@@ -1 +1 @@
1
- export { Toolbar, ToolbarButton, ToolbarButtonGroup, ToolbarSelect, ToolbarSelectItem, ToolbarSeparator, ToolbarToggleButton, ToolbarToggleButtonGroup, ToolbarToggleButtonGroupItem } from "./Toolbar";
1
+ export { Toolbar, ToolbarButton, ToolbarButtonGroup, ToolbarSelect, ToolbarSelectItem, ToolbarSeparator, ToolbarToggleButton, ToolbarToggleButtonGroup, ToolbarToggleButtonGroupItem, } from "./Toolbar";
@@ -1 +1 @@
1
- export { Window, WindowFrame, WindowTabs, WindowTabsContent, WindowTabsList, WindowTabsTrigger } from "./Window";
1
+ export { Window, WindowFrame, WindowTabs, WindowTabsContent, WindowTabsList, WindowTabsTrigger, } from "./Window";