richtor 1.0.1 → 1.0.2
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/components/BubbleMenu.d.ts +9 -0
- package/dist/components/CopyButton.d.ts +4 -0
- package/dist/components/Editor.d.ts +27 -0
- package/dist/components/HeadingWithAnchor.d.ts +8 -0
- package/dist/components/MenuBar.d.ts +2 -0
- package/dist/components/MenuButton.d.ts +20 -0
- package/dist/components/Provider.d.ts +22 -0
- package/dist/components/Resizer.d.ts +3 -0
- package/dist/components/Source.d.ts +7 -0
- package/dist/components/StatusBar.d.ts +2 -0
- package/dist/components/SyntaxHighlighter.d.ts +6 -0
- package/dist/components/TableBuilder.d.ts +9 -0
- package/dist/components/color-picker/ColorButton.d.ts +8 -0
- package/dist/components/color-picker/ColorPicker.d.ts +7 -0
- package/dist/components/color-picker/index.d.ts +1 -0
- package/dist/components/controls/AlignCenterButton.d.ts +2 -0
- package/dist/components/controls/AlignJustifyButton.d.ts +2 -0
- package/dist/components/controls/AlignLeftButton.d.ts +2 -0
- package/dist/components/controls/AlignPopover.d.ts +2 -0
- package/dist/components/controls/AlignRightButton.d.ts +2 -0
- package/dist/components/controls/BlockquoteButton.d.ts +2 -0
- package/dist/components/controls/BoldButton.d.ts +2 -0
- package/dist/components/controls/BulletListButton.d.ts +2 -0
- package/dist/components/controls/ClearFormatButton.d.ts +2 -0
- package/dist/components/controls/CodeBlockButton.d.ts +2 -0
- package/dist/components/controls/CodeButton.d.ts +2 -0
- package/dist/components/controls/HeadingDropdown.d.ts +2 -0
- package/dist/components/controls/ImageButton.d.ts +2 -0
- package/dist/components/controls/InsertDropdown.d.ts +2 -0
- package/dist/components/controls/ItalicButton.d.ts +2 -0
- package/dist/components/controls/LinkButton.d.ts +2 -0
- package/dist/components/controls/MoreMarkPopover.d.ts +2 -0
- package/dist/components/controls/OrderedList.d.ts +2 -0
- package/dist/components/controls/RedoButton.d.ts +2 -0
- package/dist/components/controls/StrikeButton.d.ts +2 -0
- package/dist/components/controls/SubscriptButton.d.ts +2 -0
- package/dist/components/controls/SuperscriptButton.d.ts +2 -0
- package/dist/components/controls/TableButton.d.ts +2 -0
- package/dist/components/controls/TextColorButton.d.ts +3 -0
- package/dist/components/controls/TextHighlightButton.d.ts +3 -0
- package/dist/components/controls/UnderlineButton.d.ts +2 -0
- package/dist/components/controls/UndoButton.d.ts +2 -0
- package/dist/components/controls/YoutubeButton.d.ts +2 -0
- package/dist/components/extensions/CodeBlock/CodeBlock.d.ts +4 -0
- package/dist/components/extensions/CodeBlock/index.d.ts +1 -0
- package/dist/components/extensions/CodeBlock/lowlight-plugin.d.ts +7 -0
- package/dist/components/extensions/Figcaption.d.ts +3 -0
- package/dist/components/extensions/Figure.d.ts +3 -0
- package/dist/components/extensions/Image/Image.d.ts +14 -0
- package/dist/components/extensions/Image/image-plugin.d.ts +5 -0
- package/dist/components/extensions/Image/index.d.ts +1 -0
- package/dist/components/extensions/ImageFigure/ImageCaption.d.ts +2 -0
- package/dist/components/extensions/ImageFigure/ImageFigure.d.ts +15 -0
- package/dist/components/extensions/ImageFigure/index.d.ts +2 -0
- package/dist/components/extensions/Indent.d.ts +12 -0
- package/dist/components/extensions/Link.d.ts +20 -0
- package/dist/components/extensions/Selection.d.ts +3 -0
- package/dist/components/extensions/Table/Table.d.ts +1 -0
- package/dist/components/extensions/Table/index.d.ts +1 -0
- package/dist/components/extensions/Youtube/Youtube.d.ts +24 -0
- package/dist/components/extensions/Youtube/index.d.ts +1 -0
- package/dist/components/extensions/Youtube/utils.d.ts +10 -0
- package/dist/components/extensions/index.d.ts +23 -0
- package/dist/components/extensions/kit.d.ts +3 -0
- package/dist/components/icons/Corner.d.ts +3 -0
- package/dist/components/icons/InlineCode.d.ts +3 -0
- package/dist/components/icons/Quote.d.ts +3 -0
- package/dist/components/icons/TextColor.d.ts +3 -0
- package/dist/components/icons/TextHighlight.d.ts +3 -0
- package/dist/components/icons/icons.d.ts +67 -0
- package/dist/components/icons/index.d.ts +1 -0
- package/dist/components/menus/CodeBlockMenu/CodeBlockMenu.d.ts +3 -0
- package/dist/components/menus/CodeBlockMenu/CodeDropdown.d.ts +6 -0
- package/dist/components/menus/CodeBlockMenu/index.d.ts +1 -0
- package/dist/components/menus/ImageMenu/AltTextEdit.d.ts +7 -0
- package/dist/components/menus/ImageMenu/ImageMenu.d.ts +2 -0
- package/dist/components/menus/ImageMenu/SizeDropdown.d.ts +6 -0
- package/dist/components/menus/ImageMenu/index.d.ts +1 -0
- package/dist/components/menus/LinkMenu/LinkEdit.d.ts +9 -0
- package/dist/components/menus/LinkMenu/LinkMenu.d.ts +3 -0
- package/dist/components/menus/LinkMenu/LinkView.d.ts +7 -0
- package/dist/components/menus/LinkMenu/index.d.ts +1 -0
- package/dist/components/menus/TableMenu.d.ts +2 -0
- package/dist/components/menus/TextMenu.d.ts +4 -0
- package/dist/components/menus/index.d.ts +4 -0
- package/dist/components/renderer/client-renderer.d.ts +6 -0
- package/dist/components/renderer/components.d.ts +2 -0
- package/dist/components/renderer/server-renderer.d.ts +6 -0
- package/dist/components/ui/Button.d.ts +9 -0
- package/dist/components/ui/DropdownMenu.d.ts +19 -0
- package/dist/components/ui/Icon.d.ts +7 -0
- package/dist/components/ui/Input.d.ts +4 -0
- package/dist/components/ui/Label.d.ts +8 -0
- package/dist/components/ui/Popover.d.ts +7 -0
- package/dist/components/ui/Toolbar.d.ts +11 -0
- package/dist/components/ui/Tooltip.d.ts +11 -0
- package/dist/components/ui/dialog.d.ts +15 -0
- package/dist/constants/code-languages.d.ts +10 -0
- package/dist/constants/color.d.ts +2 -0
- package/dist/editor.d.ts +27 -0
- package/dist/{shadcn-rich-editor.umd.js → editor.umd.js} +1 -1
- package/dist/hooks/useCodeMirror.d.ts +6 -0
- package/dist/hooks/useCopyToClipboard.d.ts +4 -0
- package/dist/hooks/useForceUpdate.d.ts +1 -0
- package/dist/hooks/useModal.d.ts +5 -0
- package/dist/hooks/useMount.d.ts +1 -0
- package/dist/hooks/useThrottle.d.ts +1 -0
- package/dist/hooks/useTiptapEditor.d.ts +11 -0
- package/dist/index.d.ts +3 -0
- package/dist/lib/codeLanguageLoader.d.ts +12 -0
- package/dist/lib/cssVar.d.ts +1 -0
- package/dist/lib/format.d.ts +1 -0
- package/dist/lib/getNodeContainer.d.ts +2 -0
- package/dist/lib/highlight.d.ts +2 -0
- package/dist/lib/isNodeSelected.d.ts +2 -0
- package/dist/lib/isTextSelected.d.ts +3 -0
- package/dist/lib/processor.d.ts +6 -0
- package/dist/lib/shortcut.d.ts +1 -0
- package/dist/lib/theme.d.ts +5 -0
- package/dist/lib/throttle.d.ts +1 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/renderer.d.ts +6 -0
- package/package.json +7 -7
- /package/dist/{shadcn-rich-editor.es.js → editor.es.js} +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type BubbleMenuPluginProps } from '@tiptap/extension-bubble-menu';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
|
|
4
|
+
export type BubbleMenuProps = Omit<Optional<BubbleMenuPluginProps, 'pluginKey' | 'editor'>, 'element'> & {
|
|
5
|
+
className?: string;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
};
|
|
8
|
+
export declare const BubbleMenu: ({ editor, className, children, ...props }: BubbleMenuProps) => React.ReactPortal;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import '../style/index.css';
|
|
2
|
+
import type { Content, Editor } from '@tiptap/react';
|
|
3
|
+
export type TiptapEditorRef = {
|
|
4
|
+
getInstance: () => Editor | null;
|
|
5
|
+
};
|
|
6
|
+
export interface TiptapEditorProps {
|
|
7
|
+
ssr?: boolean;
|
|
8
|
+
readonly?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
initialContent?: Content;
|
|
11
|
+
placeholder?: {
|
|
12
|
+
paragraph?: string;
|
|
13
|
+
imageCaption?: string;
|
|
14
|
+
};
|
|
15
|
+
output?: 'html' | 'json';
|
|
16
|
+
hideMenuBar?: boolean;
|
|
17
|
+
hideStatusBar?: boolean;
|
|
18
|
+
hideBubbleMenu?: boolean;
|
|
19
|
+
containerClass?: string;
|
|
20
|
+
menuBarClass?: string;
|
|
21
|
+
contentClass?: string;
|
|
22
|
+
contentMinHeight?: string | number;
|
|
23
|
+
contentMaxHeight?: string | number;
|
|
24
|
+
onContentChange?: (value: Content) => void;
|
|
25
|
+
}
|
|
26
|
+
declare const TiptapEditor: import("react").ForwardRefExoticComponent<TiptapEditorProps & import("react").RefAttributes<TiptapEditorRef>>;
|
|
27
|
+
export default TiptapEditor;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface HeadingWithAnchorProps {
|
|
3
|
+
level: number;
|
|
4
|
+
id?: string;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
declare const HeadingWithAnchor: ({ level, children, id }: HeadingWithAnchorProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default HeadingWithAnchor;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { CSSProperties } from 'react';
|
|
2
|
+
import { type ButtonProps } from './ui/Button';
|
|
3
|
+
import { type IconProps } from './ui/Icon';
|
|
4
|
+
interface MenuButtonProps extends Omit<ButtonProps, 'variant' | 'ref' | 'type'> {
|
|
5
|
+
icon?: IconProps['name'];
|
|
6
|
+
type?: 'button' | 'dropdown' | 'popover';
|
|
7
|
+
buttonType?: ButtonProps['type'];
|
|
8
|
+
text?: string;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
shortcuts?: string[];
|
|
11
|
+
hideText?: boolean;
|
|
12
|
+
hideArrow?: boolean;
|
|
13
|
+
tooltip?: string | boolean;
|
|
14
|
+
buttonClass?: string;
|
|
15
|
+
buttonStyle?: CSSProperties;
|
|
16
|
+
dropdownClass?: string;
|
|
17
|
+
dropdownStyle?: CSSProperties;
|
|
18
|
+
}
|
|
19
|
+
declare const _default: React.NamedExoticComponent<MenuButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type Editor } from '@tiptap/react';
|
|
2
|
+
import { ReactNode, RefObject } from 'react';
|
|
3
|
+
import { type UseTiptapEditorOptions } from '../hooks/useTiptapEditor';
|
|
4
|
+
type TiptapContextType = {
|
|
5
|
+
editor: Editor;
|
|
6
|
+
contentElement: RefObject<HTMLDivElement | null>;
|
|
7
|
+
isFullScreen: boolean;
|
|
8
|
+
isResizing: boolean;
|
|
9
|
+
isSourceMode: boolean;
|
|
10
|
+
toggleFullScreen: () => void;
|
|
11
|
+
toggleSourceMode: () => void;
|
|
12
|
+
setIsResizing: (value: boolean) => void;
|
|
13
|
+
};
|
|
14
|
+
export declare const useTiptapContext: () => TiptapContextType;
|
|
15
|
+
type TiptapProviderProps = {
|
|
16
|
+
slotBefore?: ReactNode;
|
|
17
|
+
slotAfter?: ReactNode;
|
|
18
|
+
editorOptions: UseTiptapEditorOptions;
|
|
19
|
+
children?: ReactNode;
|
|
20
|
+
};
|
|
21
|
+
export declare const TiptapProvider: ({ children, editorOptions, slotBefore, slotAfter }: TiptapProviderProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
22
|
+
export default TiptapProvider;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import '@/style/code-mirror.css';
|
|
2
|
+
interface SourceEditorProps {
|
|
3
|
+
initialContent: string;
|
|
4
|
+
onChange?: (content: string) => void;
|
|
5
|
+
}
|
|
6
|
+
declare const SourceEditor: import("react").ForwardRefExoticComponent<SourceEditorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export default SourceEditor;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type GridSize = {
|
|
2
|
+
cols: number;
|
|
3
|
+
rows: number;
|
|
4
|
+
};
|
|
5
|
+
interface TableBuilderProps {
|
|
6
|
+
onCreate?: (value: GridSize) => void;
|
|
7
|
+
}
|
|
8
|
+
declare const TableBuilder: ({ onCreate }: TableBuilderProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default TableBuilder;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface ColorButtonProps {
|
|
2
|
+
color: string;
|
|
3
|
+
active?: boolean;
|
|
4
|
+
tooltip?: boolean;
|
|
5
|
+
onClick?: (color: string) => void;
|
|
6
|
+
}
|
|
7
|
+
declare const ColorButton: ({ color, tooltip, active, onClick }: ColorButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default ColorButton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ColorPicker';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CodeBlockLowlightOptions } from '@tiptap/extension-code-block-lowlight';
|
|
2
|
+
export declare const backtickInputRegex: RegExp;
|
|
3
|
+
export declare const tildeInputRegex: RegExp;
|
|
4
|
+
export declare const CodeBlock: import("@tiptap/core").Node<CodeBlockLowlightOptions, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CodeBlock';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Plugin, PluginKey } from '@tiptap/pm/state';
|
|
2
|
+
export declare const LowlightPluginKey: PluginKey<any>;
|
|
3
|
+
export declare function LowlightPlugin({ name, lowlight, defaultLanguage }: {
|
|
4
|
+
name: string;
|
|
5
|
+
lowlight: any;
|
|
6
|
+
defaultLanguage: string | null | undefined;
|
|
7
|
+
}): Plugin<any>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare module '@tiptap/core' {
|
|
2
|
+
interface Commands<ReturnType> {
|
|
3
|
+
customImage: {
|
|
4
|
+
insertImage: (options: {
|
|
5
|
+
src: string;
|
|
6
|
+
alt?: string;
|
|
7
|
+
width?: number;
|
|
8
|
+
height?: number;
|
|
9
|
+
}) => ReturnType;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export declare const Image: import("@tiptap/core").Node<import("@tiptap/extension-image").ImageOptions, any>;
|
|
14
|
+
export default Image;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Image';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare module '@tiptap/core' {
|
|
2
|
+
interface Commands<ReturnType> {
|
|
3
|
+
imageFigure: {
|
|
4
|
+
setImageFigure: (options: {
|
|
5
|
+
src: string;
|
|
6
|
+
caption?: string;
|
|
7
|
+
}) => ReturnType;
|
|
8
|
+
imageToFigure: () => ReturnType;
|
|
9
|
+
figureToImage: () => ReturnType;
|
|
10
|
+
removeImage: () => ReturnType;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export declare const ImageFigure: import("@tiptap/core").Node<any, any>;
|
|
15
|
+
export default ImageFigure;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Extension } from '@tiptap/core';
|
|
2
|
+
declare module '@tiptap/core' {
|
|
3
|
+
interface Commands<ReturnType> {
|
|
4
|
+
indent: {
|
|
5
|
+
indent: () => ReturnType;
|
|
6
|
+
};
|
|
7
|
+
outdent: {
|
|
8
|
+
outdent: () => ReturnType;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export declare const Indent: Extension<any, any>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LinkOptions } from '@tiptap/extension-link';
|
|
2
|
+
import { Selection } from '@tiptap/pm/state';
|
|
3
|
+
declare module '@tiptap/core' {
|
|
4
|
+
interface Commands<ReturnType> {
|
|
5
|
+
customLink: {
|
|
6
|
+
insertLink: (attrs: any) => ReturnType;
|
|
7
|
+
startEditLink: () => ReturnType;
|
|
8
|
+
confirmEditLink: (attrs?: {
|
|
9
|
+
text?: string;
|
|
10
|
+
href?: string;
|
|
11
|
+
}) => ReturnType;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export interface LinkEditorStorage {
|
|
16
|
+
mode: number;
|
|
17
|
+
tempPos: Selection | null;
|
|
18
|
+
}
|
|
19
|
+
export declare const Link: import("@tiptap/core").Mark<LinkOptions, LinkEditorStorage>;
|
|
20
|
+
export default Link;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Table: import("@tiptap/core").Node<import("@tiptap/extension-table").TableOptions, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Table';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Node } from '@tiptap/core';
|
|
2
|
+
export interface YoutubeOptions {
|
|
3
|
+
allowFullscreen?: boolean;
|
|
4
|
+
autoplay?: boolean;
|
|
5
|
+
nocookie?: boolean;
|
|
6
|
+
controls?: boolean;
|
|
7
|
+
HTMLAttributes: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
type EmbedYoutubeOptions = {
|
|
12
|
+
src: string;
|
|
13
|
+
width?: number;
|
|
14
|
+
height?: number;
|
|
15
|
+
};
|
|
16
|
+
declare module '@tiptap/core' {
|
|
17
|
+
interface Commands<ReturnType> {
|
|
18
|
+
youtube: {
|
|
19
|
+
embedYoutube: (options: EmbedYoutubeOptions) => ReturnType;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export declare const Youtube: Node<YoutubeOptions, any>;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Youtube';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function isValidYoutubeUrl(url: string): RegExpMatchArray | null;
|
|
2
|
+
type GetEmbedYoutubeUrlOptions = {
|
|
3
|
+
url: string;
|
|
4
|
+
allowFullscreen?: boolean;
|
|
5
|
+
autoplay?: boolean;
|
|
6
|
+
nocookie?: boolean;
|
|
7
|
+
controls?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare function getEmbedYoutubeUrl({ url, nocookie, allowFullscreen, autoplay, controls }: GetEmbedYoutubeUrlOptions): string | null;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export { BulletList } from '@tiptap/extension-bullet-list';
|
|
2
|
+
export { CharacterCount } from '@tiptap/extension-character-count';
|
|
3
|
+
export { Color } from '@tiptap/extension-color';
|
|
4
|
+
export { Highlight } from '@tiptap/extension-highlight';
|
|
5
|
+
export { ListKeymap } from '@tiptap/extension-list-keymap';
|
|
6
|
+
export { OrderedList } from '@tiptap/extension-ordered-list';
|
|
7
|
+
export { Placeholder } from '@tiptap/extension-placeholder';
|
|
8
|
+
export { Subscript } from '@tiptap/extension-subscript';
|
|
9
|
+
export { Superscript } from '@tiptap/extension-superscript';
|
|
10
|
+
export { TextAlign } from '@tiptap/extension-text-align';
|
|
11
|
+
export { TextStyle } from '@tiptap/extension-text-style';
|
|
12
|
+
export { Underline } from '@tiptap/extension-underline';
|
|
13
|
+
export { StarterKit } from '@tiptap/starter-kit';
|
|
14
|
+
export { CodeBlock } from './CodeBlock';
|
|
15
|
+
export { Figcaption } from './Figcaption';
|
|
16
|
+
export { Figure } from './Figure';
|
|
17
|
+
export { Image } from './Image';
|
|
18
|
+
export { ImageCaption, ImageFigure } from './ImageFigure';
|
|
19
|
+
export { Indent } from './Indent';
|
|
20
|
+
export { Link } from './Link';
|
|
21
|
+
export { Selection } from './Selection';
|
|
22
|
+
export { Table } from './Table';
|
|
23
|
+
export { Youtube } from './Youtube/Youtube';
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { type LucideIcon } from 'lucide-react';
|
|
2
|
+
export declare const icons: {
|
|
3
|
+
Bold: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
4
|
+
Italic: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
5
|
+
Underline: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
6
|
+
Strike: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
7
|
+
Code: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
8
|
+
SourceCode: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
9
|
+
Subscript: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
10
|
+
Superscript: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
11
|
+
BulletList: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
12
|
+
OrderedList: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
13
|
+
TaskList: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
14
|
+
CodeBlock: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
15
|
+
CodeInline: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
16
|
+
Link: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
17
|
+
Unlink: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
18
|
+
Edit: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
19
|
+
ExternalLink: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
20
|
+
Redo: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
21
|
+
Undo: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
22
|
+
AlignLeft: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
23
|
+
AlignRight: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
24
|
+
AlignJustify: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
25
|
+
AlignCenter: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
26
|
+
Eraser: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
27
|
+
ChevronDown: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
28
|
+
Maximize: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
29
|
+
Minimize: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
30
|
+
HorizontalRule: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
31
|
+
Indent: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
32
|
+
Outdent: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
33
|
+
Clipboard: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
34
|
+
Check: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
35
|
+
Quote: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
36
|
+
Corner: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
37
|
+
LetterCase: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
38
|
+
Trash: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
39
|
+
Image: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
40
|
+
ImageCaption: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
41
|
+
ImageAltText: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
42
|
+
Download: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
43
|
+
Youtube: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
44
|
+
Close: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
45
|
+
Ruler: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
46
|
+
TextHighlight: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
47
|
+
TextColor: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
48
|
+
Palette: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
49
|
+
PaletteOff: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
50
|
+
Ban: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
51
|
+
Plus: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
52
|
+
Table: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
53
|
+
Stretch: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
54
|
+
HeaderRow: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
55
|
+
HeaderCol: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
56
|
+
ColInsertLeft: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
57
|
+
ColInsertRight: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
58
|
+
ColRemove: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
59
|
+
ColHeader: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
60
|
+
RowInsertTop: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
61
|
+
RowInsertBottom: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
62
|
+
RowRemove: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
63
|
+
RowHeader: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
64
|
+
MergeCell: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
65
|
+
SplitCell: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
66
|
+
};
|
|
67
|
+
export type { LucideIcon };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './icons';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CodeBlockMenu';
|