@prismicio/editor-ui 0.4.59-alpha.feat-track-onboarding-tutorial.0 → 0.4.59-alpha.xru-link-variant-link-style.0

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.
@@ -8,7 +8,9 @@ export interface AnimatedElementProps {
8
8
  name: "slide";
9
9
  offset?: number;
10
10
  } | {
11
- name: "expand";
11
+ name: "expand-vertical";
12
+ } | {
13
+ name: "expand-horizontal";
12
14
  };
13
15
  enterDuration?: AnimationDuration;
14
16
  exitDuration?: AnimationDuration;
@@ -13,7 +13,9 @@ export declare const Default: {
13
13
  name: "slide";
14
14
  offset?: number | undefined;
15
15
  } | {
16
- name: "expand";
16
+ name: "expand-vertical";
17
+ } | {
18
+ name: "expand-horizontal";
17
19
  } | undefined;
18
20
  enterDuration?: 0 | 100 | 75 | 150 | 200 | 250 | 300 | 400 | undefined;
19
21
  exitDuration?: 0 | 100 | 75 | 150 | 200 | 250 | 300 | 400 | undefined;
@@ -39,6 +39,7 @@ export interface UseDndListItemProps<ITEM> {
39
39
  dragState: DragState | undefined;
40
40
  renderDropIndicator: RenderDropIndicator | undefined;
41
41
  listId: string;
42
+ itemCount: number;
42
43
  }
43
44
  export declare function useDndListItem<ITEM>(props: UseDndListItemProps<ITEM>): {
44
45
  rowProps: {};
@@ -57,6 +58,7 @@ export interface RenderDropIndicatorArgs {
57
58
  isDropTarget: boolean;
58
59
  itemIndex: number;
59
60
  position: "before" | "after";
61
+ itemCount: number;
60
62
  }
61
63
  export interface RenderDragPreviewArgs<ITEM> {
62
64
  item: ITEM;
@@ -23,6 +23,7 @@ export interface BaseInputProps {
23
23
  maxLength?: number;
24
24
  disabled?: boolean;
25
25
  type?: "text" | "email" | "password" | "number";
26
+ wrap?: boolean;
26
27
  sx?: SX;
27
28
  onFocus?: (event: FocusEvent<HTMLInputElement, Element>) => void;
28
29
  onBlur?: (event: FocusEvent<HTMLInputElement, Element>) => void;
@@ -21,17 +21,8 @@ export type BoxProps = {
21
21
  animation?: Animation;
22
22
  transition?: Transition;
23
23
  padding?: Padding;
24
- /**
25
- * @deprecated Use or add a more specific component
26
- */
27
24
  border?: Border;
28
- /**
29
- * @deprecated Use or add a more specific component
30
- */
31
25
  borderRadius?: BorderRadius;
32
- /**
33
- * @deprecated Use or add a more specific component
34
- */
35
26
  borderStyle?: ThemeKeys<"borderStyle">;
36
27
  backgroundColor?: ThemeKeys<"color">;
37
28
  opacity?: ThemeKeys<"opacity">;
@@ -0,0 +1,7 @@
1
+ import { type ReactNode } from "react";
2
+ type DraggableProps = {
3
+ children?: ReactNode;
4
+ disabled?: boolean;
5
+ };
6
+ export declare const Draggable: (props: DraggableProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
7
+ export {};
@@ -0,0 +1,25 @@
1
+ /// <reference types="react" />
2
+ declare const meta: {
3
+ title: string;
4
+ component: (props: {
5
+ children?: import("react").ReactNode;
6
+ disabled?: boolean | undefined;
7
+ } & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
8
+ argTypes: {
9
+ disabled: {
10
+ control: {
11
+ disable: boolean;
12
+ };
13
+ };
14
+ };
15
+ };
16
+ export declare const Default: {
17
+ render: (props: {
18
+ children?: import("react").ReactNode;
19
+ disabled?: boolean | undefined;
20
+ ref?: import("react").Ref<HTMLDivElement> | undefined;
21
+ key?: import("react").Key | null | undefined;
22
+ }) => JSX.Element;
23
+ name: string;
24
+ };
25
+ export default meta;
@@ -0,0 +1 @@
1
+ export { Draggable } from "./Draggable";
@@ -6,6 +6,7 @@ export interface FieldProps {
6
6
  labelPosition?: "top" | "side";
7
7
  selected?: boolean;
8
8
  variant?: "normal" | "compact";
9
+ color?: "transparent" | "grey1";
9
10
  }
10
11
  export declare const Field: (props: FieldProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
11
12
  interface FieldIconProps {
@@ -20,6 +20,12 @@ declare const meta: {
20
20
  };
21
21
  options: string[];
22
22
  };
23
+ color: {
24
+ control: {
25
+ type: string;
26
+ };
27
+ options: string[];
28
+ };
23
29
  };
24
30
  };
25
31
  export default meta;
@@ -14,6 +14,7 @@ export interface HairlineButtonProps {
14
14
  content: string;
15
15
  side?: TooltipProps["side"];
16
16
  };
17
+ size?: "small" | "medium";
17
18
  }
18
19
  export declare const HairlineButton: (props: HairlineButtonProps & import("react").RefAttributes<HTMLButtonElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
19
20
  export {};
@@ -1,4 +1,5 @@
1
1
  import { type CSSProperties, type ReactNode } from "react";
2
+ import type { ThemeKeys } from "../../theme";
2
3
  export interface ScrollAreaProps {
3
4
  "aria-label"?: string;
4
5
  children?: ReactNode;
@@ -16,5 +17,7 @@ export interface ScrollAreaProps {
16
17
  * @default 50
17
18
  */
18
19
  threshold?: number;
20
+ scrollPaddingBlock?: ThemeKeys<"space">;
21
+ stableScrollbar?: boolean;
19
22
  }
20
23
  export declare const ScrollArea: (props: ScrollAreaProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;