New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@prismicio/editor-ui

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prismicio/editor-ui - npm Package Compare versions

Comparing version 0.4.59-alpha.fix-prevent-onclick-on-tablerow.1 to 0.4.59-alpha.xru-link-variant-link-style.0

@@ -11,3 +11,5 @@ import { type ReactElement } from "react";

} | {
name: "expand";
name: "expand-vertical";
} | {
name: "expand-horizontal";
};

@@ -14,0 +16,0 @@ enterDuration?: AnimationDuration;

@@ -16,3 +16,5 @@ /// <reference types="react" />

} | {
name: "expand";
name: "expand-vertical";
} | {
name: "expand-horizontal";
} | undefined;

@@ -19,0 +21,0 @@ enterDuration?: 0 | 100 | 75 | 150 | 200 | 250 | 300 | 400 | undefined;

@@ -42,2 +42,3 @@ import { type LiHTMLAttributes, type ReactElement, type ReactNode, type RefObject } from "react";

listId: string;
itemCount: number;
}

@@ -61,2 +62,3 @@ export declare function useDndListItem<ITEM>(props: UseDndListItemProps<ITEM>): {

position: "before" | "after";
itemCount: number;
}

@@ -63,0 +65,0 @@ export interface RenderDragPreviewArgs<ITEM> {

@@ -26,2 +26,3 @@ import { type AriaRole, type ClipboardEventHandler, type FocusEvent, type KeyboardEvent, type MouseEvent, type ReactNode } from "react";

type?: "text" | "email" | "password" | "number";
wrap?: boolean;
sx?: SX;

@@ -28,0 +29,0 @@ onFocus?: (event: FocusEvent<HTMLInputElement, Element>) => void;

@@ -24,13 +24,4 @@ import { type CSSProperties, type ReactNode } from "react";

padding?: Padding;
/**
* @deprecated Use or add a more specific component
*/
border?: Border;
/**
* @deprecated Use or add a more specific component
*/
borderRadius?: BorderRadius;
/**
* @deprecated Use or add a more specific component
*/
borderStyle?: ThemeKeys<"borderStyle">;

@@ -37,0 +28,0 @@ backgroundColor?: ThemeKeys<"color">;

export declare const supportedLanguages: readonly ["typescript", "tsx", "javascript", "jsx", "vue", "svelte", "plaintext", "json", "bash"];
export interface CodeBlockProps {
title?: string;
language: typeof supportedLanguages[number];
language: (typeof supportedLanguages)[number];
code: string;

@@ -6,0 +6,0 @@ showLineNumbers?: boolean;

@@ -8,4 +8,4 @@ import { type PropsWithChildren, type ReactNode } from "react";

selected?: boolean;
onMouseOverChange?: (isMouseOver: boolean) => void;
variant?: "normal" | "compact";
color?: "transparent" | "grey1";
}

@@ -12,0 +12,0 @@ export declare const Field: (props: FieldProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;

@@ -23,2 +23,8 @@ /// <reference types="react" />

};
color: {
control: {
type: string;
};
options: string[];
};
};

@@ -25,0 +31,0 @@ };

@@ -17,4 +17,5 @@ import { type MouseEvent } from "react";

};
size?: "small" | "medium";
}
export declare const HairlineButton: (props: HairlineButtonProps & import("react").RefAttributes<HTMLButtonElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
export {};
export declare const iconNames: readonly ["add", "alert", "arrowBack", "arrowDownward", "arrowDropDown", "arrowDropDownCircle", "arrowForward", "arrowUpward", "attachFile", "autoFixHigh", "autorenew", "biToggle", "block", "calendarToday", "centerFocusWeak", "check", "checkBox", "checkBoxOutlinedBlank", "chevronLeft", "chevronRight", "close", "cloud", "cloudUpload", "code", "colorLens", "contentCopy", "contentPaste", "createNewFolder", "creditCard", "crop", "cropLandscape", "cropPortrait", "dataObject", "dataUsage", "database", "dateRange", "delete", "description", "desktopWindows", "dragIndicator", "driveFileMove", "edit", "event", "expandLess", "expandMore", "firstPage", "folder", "folderManaged", "formatBold", "formatClear", "formatItalic", "formatListBulleted", "formatListNumbered", "formatTextDirectionRToL", "groupWork", "hideImage", "image", "imageSearch", "insertDriveFile", "inventory", "invite", "javascript", "json", "keyboardArrowDown", "keyboardArrowUp", "label", "language", "link", "linkOff", "lock", "looks1", "looks2", "looks3", "looks4", "looks5", "looks6", "menuBook", "migrationRelease", "moreVert", "multipleStop", "musicNote", "notStarted", "notes", "openInFull", "openInNew", "outbound", "people", "phoneIphone", "photo", "pin", "place", "playCircle", "preview", "prismic", "public", "receiptLong", "refresh", "save", "schedule", "search", "security", "sentimentSatisfied", "settings", "settingsEthernet", "smartDisplay", "svelte", "tabletMac", "tag", "terminal", "textFields", "title", "toggleOff", "translate", "tune", "typescript", "unfoldMore", "unsplash", "upload", "videocam", "viewDay", "visibility", "vue", "warning", "zoomOutMap"];
export type IconName = typeof iconNames[number];
export type IconName = (typeof iconNames)[number];

@@ -13,3 +13,2 @@ import { type PopoverContentProps } from "@radix-ui/react-popover";

onOpenChange?: (open: boolean) => void;
onMouseOverChange?: (isMouseOver: boolean) => void;
onInteractOutside?: (event: PopoverInteractOutsideEvent) => void;

@@ -16,0 +15,0 @@ onEscapeKeyDown?: (event: KeyboardEvent) => void;

@@ -1,32 +0,9 @@

declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("./Popover").PopoverProps>;
export default _default;
export declare const Default: {
render: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("./Popover").PopoverProps>;
argTypes: {
children: {
control: {
disable: boolean;
};
};
anchor: {
control: {
disable: boolean;
};
};
align: {
control: {
type: string;
};
options: string[];
};
};
args: {
open: boolean;
openDelay: number;
closeDelay: number;
align: string;
anchor: JSX.Element;
children: JSX.Element;
};
name: string;
import type { StoryObj } from "@storybook/react";
import { Popover } from "./Popover";
type Story = StoryObj<typeof meta>;
declare const meta: {
title: string;
component: typeof Popover;
};
export default meta;
export declare const Default: Story;
import { type CSSProperties, type ReactNode } from "react";
import type { ThemeKeys } from "../../theme";
export interface ScrollAreaProps {

@@ -19,3 +20,5 @@ "aria-label"?: string;

threshold?: number;
scrollPaddingBlock?: ThemeKeys<"space">;
stableScrollbar?: boolean;
}
export declare const ScrollArea: (props: ScrollAreaProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;

@@ -42,2 +42,3 @@ import { type AnchorHTMLAttributes, type AriaRole, type ReactNode } from "react";

rel?: AnchorHTMLAttributes<HTMLAnchorElement>["rel"];
onClick?: AnchorHTMLAttributes<HTMLAnchorElement>["onClick"];
}

@@ -48,2 +49,3 @@ interface NonLinkProps extends BaseTextProps {

inline?: never;
onClick?: never;
}

@@ -50,0 +52,0 @@ export type TextProps = NonLinkProps | LinkProps;

@@ -27,2 +27,3 @@ export { ActionList, ActionListHeader, ActionListItem, ActionListLabel, } from "./components/ActionList";

export { Dot } from "./components/Dot";
export { Draggable } from "./components/Draggable";
export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuTrigger, } from "./components/DropdownMenu";

@@ -29,0 +30,0 @@ export { EditableText } from "./components/EditableText";

{
"dependencies": {
"@internationalized/date": "3.5.5",
"@prismicio/editor-support": "0.4.58",
"@prismicio/editor-support": "0.4.59-alpha.xru-link-variant-link-style.0",
"@radix-ui/react-avatar": "1.1.0",

@@ -122,3 +122,3 @@ "@radix-ui/react-checkbox": "1.1.1",

"types": "./dist/index.d.ts",
"version": "0.4.59-alpha.fix-prevent-onclick-on-tablerow.1"
"version": "0.4.59-alpha.xru-link-variant-link-style.0"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet