react-reason-editor 1.0.52 → 1.0.54
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/package.json +1 -1
- package/dist/docs-agent/plate/kits/link-kit.d.ts +0 -34
- package/dist/docs-agent/plate/ui/caption.d.ts +0 -20
- package/dist/docs-agent/plate/ui/column-node.d.ts +0 -5
- package/dist/docs-agent/plate/ui/inline-combobox.d.ts +0 -38
- package/dist/docs-agent/plate/ui/media-audio-node.d.ts +0 -4
- package/dist/docs-agent/plate/ui/media-embed-node.d.ts +0 -4
- package/dist/docs-agent/plate/ui/media-file-node.d.ts +0 -4
- package/dist/docs-agent/plate/ui/media-image-node.d.ts +0 -4
- package/dist/docs-agent/plate/ui/media-video-node.d.ts +0 -4
- package/dist/docs-agent/plate/ui/table-node.d.ts +0 -9
package/package.json
CHANGED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export declare const LinkKit: import('platejs/react').PlatePlugin<import('platejs').PluginConfig<"a", {
|
|
2
|
-
allowedSchemes?: string[];
|
|
3
|
-
dangerouslySkipSanitization?: boolean;
|
|
4
|
-
defaultLinkAttributes?: React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
5
|
-
forceSubmit?: boolean;
|
|
6
|
-
keepSelectedTextOnPaste?: boolean;
|
|
7
|
-
rangeBeforeOptions?: import('platejs').EditorBeforeOptions;
|
|
8
|
-
triggerFloatingLinkHotkeys?: string[] | string;
|
|
9
|
-
getLinkUrl?: (prevUrl: string | null) => Promise<string | null>;
|
|
10
|
-
getUrlHref?: (url: string) => string | undefined;
|
|
11
|
-
isUrl?: (text: string) => boolean;
|
|
12
|
-
transformInput?: (url: string) => string | undefined;
|
|
13
|
-
} & {
|
|
14
|
-
isEditing: boolean;
|
|
15
|
-
mode: import('@platejs/link/react').FloatingLinkMode;
|
|
16
|
-
mouseDown: boolean;
|
|
17
|
-
newTab: boolean;
|
|
18
|
-
openEditorId: string | null;
|
|
19
|
-
text: string;
|
|
20
|
-
updated: boolean;
|
|
21
|
-
url: string;
|
|
22
|
-
triggerFloatingLinkHotkeys?: string;
|
|
23
|
-
}, {
|
|
24
|
-
floatingLink: {
|
|
25
|
-
hide: () => void;
|
|
26
|
-
reset: () => void;
|
|
27
|
-
show: (mode: import('@platejs/link/react').FloatingLinkMode, editorId: string) => void;
|
|
28
|
-
};
|
|
29
|
-
link: {
|
|
30
|
-
getAttributes: import('platejs').OmitFirst<(editor: import('platejs').SlateEditor, link: import('platejs').TLinkElement) => Pick<import('react').AnchorHTMLAttributes<HTMLAnchorElement>, "href" | "target"> & import('platejs').UnknownObject>;
|
|
31
|
-
};
|
|
32
|
-
}, {}, {
|
|
33
|
-
isOpen?: (editorId: string) => boolean;
|
|
34
|
-
}>>[];
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { Caption as CaptionPrimitive, CaptionTextarea as CaptionTextareaPrimitive } from '@platejs/caption/react';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
declare const captionVariants: (props?: ({
|
|
5
|
-
align?: "center" | "right" | "left" | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
export declare function Caption({ align, className, ...props }: React.ComponentProps<typeof CaptionPrimitive> & VariantProps<typeof captionVariants>): React.JSX.Element;
|
|
8
|
-
export declare function CaptionTextarea(props: React.ComponentProps<typeof CaptionTextareaPrimitive>): React.JSX.Element;
|
|
9
|
-
export declare const CaptionButton: React.ForwardRefExoticComponent<{
|
|
10
|
-
as?: React.ElementType;
|
|
11
|
-
asChild?: boolean;
|
|
12
|
-
className?: string;
|
|
13
|
-
options?: undefined;
|
|
14
|
-
state?: any;
|
|
15
|
-
style?: React.CSSProperties;
|
|
16
|
-
setProps?: ((hookProps: {
|
|
17
|
-
onClick: () => void;
|
|
18
|
-
}) => Omit<import('../../../components/ui/button').ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref">) | undefined;
|
|
19
|
-
} & Omit<import('../../../components/ui/button').ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<any>>;
|
|
20
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { TColumnElement } from 'platejs';
|
|
2
|
-
import { PlateElementProps } from 'platejs/react';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
export declare const ColumnElement: React.ForwardRefExoticComponent<Omit<PlateElementProps<TColumnElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
5
|
-
export declare function ColumnGroupElement(props: PlateElementProps): React.JSX.Element;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { TElement } from 'platejs';
|
|
2
|
-
import { ComboboxItemProps, ComboboxGroup, ComboboxGroupLabel, ComboboxPopover } from '@ariakit/react';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
type FilterFn = (item: {
|
|
5
|
-
value: string;
|
|
6
|
-
group?: string;
|
|
7
|
-
keywords?: string[];
|
|
8
|
-
label?: string;
|
|
9
|
-
}, search: string) => boolean;
|
|
10
|
-
type InlineComboboxProps = {
|
|
11
|
-
children: React.ReactNode;
|
|
12
|
-
element: TElement;
|
|
13
|
-
trigger: string;
|
|
14
|
-
filter?: FilterFn | false;
|
|
15
|
-
hideWhenNoValue?: boolean;
|
|
16
|
-
showTrigger?: boolean;
|
|
17
|
-
value?: string;
|
|
18
|
-
setValue?: (value: string) => void;
|
|
19
|
-
};
|
|
20
|
-
declare const InlineCombobox: ({ children, element, filter, hideWhenNoValue, setValue: setValueProp, showTrigger, trigger, value: valueProp, }: InlineComboboxProps) => React.JSX.Element;
|
|
21
|
-
declare const InlineComboboxInput: {
|
|
22
|
-
({ className, ref: propRef, ...props }: React.HTMLAttributes<HTMLInputElement> & {
|
|
23
|
-
ref?: React.RefObject<HTMLInputElement | null>;
|
|
24
|
-
}): React.JSX.Element;
|
|
25
|
-
displayName: string;
|
|
26
|
-
};
|
|
27
|
-
declare const InlineComboboxContent: typeof ComboboxPopover;
|
|
28
|
-
declare const InlineComboboxItem: ({ className, focusEditor, group, keywords, label, onClick, ...props }: {
|
|
29
|
-
focusEditor?: boolean;
|
|
30
|
-
group?: string;
|
|
31
|
-
keywords?: string[];
|
|
32
|
-
label?: string;
|
|
33
|
-
} & ComboboxItemProps & Required<Pick<ComboboxItemProps, "value">>) => React.JSX.Element | null;
|
|
34
|
-
declare const InlineComboboxEmpty: ({ children, className, }: React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element | null;
|
|
35
|
-
declare const InlineComboboxRow: (props: import('@ariakit/react').ComboboxRowProps) => import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
36
|
-
declare function InlineComboboxGroup({ className, ...props }: React.ComponentProps<typeof ComboboxGroup>): React.JSX.Element;
|
|
37
|
-
declare function InlineComboboxGroupLabel({ className, ...props }: React.ComponentProps<typeof ComboboxGroupLabel>): React.JSX.Element;
|
|
38
|
-
export { InlineCombobox, InlineComboboxContent, InlineComboboxEmpty, InlineComboboxGroup, InlineComboboxGroupLabel, InlineComboboxInput, InlineComboboxItem, InlineComboboxRow, };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { TAudioElement } from 'platejs';
|
|
2
|
-
import { PlateElementProps } from 'platejs/react';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
export declare const AudioElement: React.ForwardRefExoticComponent<Omit<PlateElementProps<TAudioElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { TMediaEmbedElement } from 'platejs';
|
|
2
|
-
import { PlateElementProps } from 'platejs/react';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
export declare const MediaEmbedElement: React.ForwardRefExoticComponent<Omit<PlateElementProps<TMediaEmbedElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { TImageElement } from 'platejs';
|
|
2
|
-
import { PlateElementProps } from 'platejs/react';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
export declare const ImageElement: React.ForwardRefExoticComponent<Omit<PlateElementProps<TImageElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { TResizableProps, TVideoElement } from 'platejs';
|
|
2
|
-
import { PlateElementProps } from 'platejs/react';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
export declare const VideoElement: React.ForwardRefExoticComponent<Omit<PlateElementProps<TVideoElement & TResizableProps>, "ref"> & React.RefAttributes<unknown>>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TTableCellElement, TTableElement, TTableRowElement } from 'platejs';
|
|
2
|
-
import { PlateElementProps } from 'platejs/react';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
export declare const TableElement: React.ForwardRefExoticComponent<Omit<PlateElementProps<TTableElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
5
|
-
export declare function TableRowElement({ children, ...props }: PlateElementProps<TTableRowElement>): React.JSX.Element;
|
|
6
|
-
export declare function TableCellElement({ isHeader, ...props }: PlateElementProps<TTableCellElement> & {
|
|
7
|
-
isHeader?: boolean;
|
|
8
|
-
}): React.JSX.Element;
|
|
9
|
-
export declare function TableCellHeaderElement(props: React.ComponentProps<typeof TableCellElement>): React.JSX.Element;
|