@lyfie/luthor 2.4.0 → 2.6.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.
- package/README.md +6 -4
- package/dist/LegacyRichEditor-WKh3E8Mm.d.ts +24 -0
- package/dist/chunk-2HOATX6N.js +1 -0
- package/dist/chunk-4AW72LXD.js +1 -0
- package/dist/chunk-72VVV5E3.js +1 -0
- package/dist/chunk-7F62VFNU.js +1 -0
- package/dist/chunk-A5UAE6V7.js +6 -0
- package/dist/chunk-ALD4OSQV.js +1 -0
- package/dist/chunk-BH7XNAYH.js +1 -0
- package/dist/chunk-P27I7C5E.js +13 -0
- package/dist/chunk-UAAZLMYF.js +1 -0
- package/dist/{index-DZPcit31.d.ts → index-9mVYz0Ze.d.ts} +1 -2
- package/dist/{ExtensiveEditor-6OT-Dmr1.d.ts → index-BFix2QsP.d.ts} +23 -4
- package/dist/index.css +1 -1
- package/dist/index.d.ts +24 -9
- package/dist/index.js +1 -1
- package/dist/presets/compose/index.d.ts +1 -12
- package/dist/presets/compose/index.js +1 -1
- package/dist/presets/extensive/index.d.ts +2 -3
- package/dist/presets/extensive/index.js +1 -1
- package/dist/presets/headless-editor/index.d.ts +13 -6
- package/dist/presets/headless-editor/index.js +1 -1
- package/dist/presets/html-editor/index.d.ts +18 -0
- package/dist/presets/html-editor/index.js +1 -0
- package/dist/presets/legacy-rich/index.d.ts +8 -0
- package/dist/presets/legacy-rich/index.js +1 -0
- package/dist/presets/md-editor/index.d.ts +19 -0
- package/dist/presets/md-editor/index.js +1 -0
- package/dist/presets/{composer → simple-editor}/index.d.ts +14 -15
- package/dist/presets/simple-editor/index.js +1 -0
- package/dist/presets/slash-editor/index.d.ts +16 -0
- package/dist/presets/slash-editor/index.js +1 -0
- package/package.json +4 -4
- package/dist/chunk-42NSZXCX.js +0 -1
- package/dist/chunk-AHHU2IZS.js +0 -1
- package/dist/chunk-MDSRHDWB.js +0 -1
- package/dist/chunk-MGWT45KA.js +0 -1
- package/dist/chunk-ONBHJIZQ.js +0 -6
- package/dist/chunk-TRGIRBLU.js +0 -1
- package/dist/chunk-VITE7CVN.js +0 -1
- package/dist/index-BtdZVw3X.d.ts +0 -17
- package/dist/presets/composer/index.js +0 -1
- package/dist/presets/md-friendly/index.d.ts +0 -19
- package/dist/presets/md-friendly/index.js +0 -1
- package/dist/presets/notion-like/index.d.ts +0 -17
- package/dist/presets/notion-like/index.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as ComposerEditor,b as composerPreset}from'../../chunk-MGWT45KA.js';import'../../chunk-ONBHJIZQ.js';import'../../chunk-MDSRHDWB.js';
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { o as ExtensiveEditorProps } from '../../ExtensiveEditor-6OT-Dmr1.js';
|
|
3
|
-
import { E as EditorPreset } from '../../index-BtdZVw3X.js';
|
|
4
|
-
import 'react';
|
|
5
|
-
import '@lyfie/luthor-headless';
|
|
6
|
-
|
|
7
|
-
type MDFriendlyEditorMode = "visual" | "markdown";
|
|
8
|
-
type MDFriendlyEditorView = "visual" | "json" | "markdown" | "html";
|
|
9
|
-
type MDFriendlyEditorProps = Omit<ExtensiveEditorProps, "availableModes" | "initialMode"> & {
|
|
10
|
-
initialMode?: MDFriendlyEditorMode;
|
|
11
|
-
defaultEditorView?: MDFriendlyEditorView;
|
|
12
|
-
isEditorViewTabsVisible?: boolean;
|
|
13
|
-
isEditorViewsTabVisible?: boolean;
|
|
14
|
-
};
|
|
15
|
-
declare function MDFriendlyEditor({ className, variantClassName, initialMode, defaultEditorView, isEditorViewTabsVisible, isEditorViewsTabVisible, ...props }: MDFriendlyEditorProps): react_jsx_runtime.JSX.Element;
|
|
16
|
-
|
|
17
|
-
declare const mdFriendlyPreset: EditorPreset;
|
|
18
|
-
|
|
19
|
-
export { MDFriendlyEditor, type MDFriendlyEditorMode, type MDFriendlyEditorProps, mdFriendlyPreset };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as MDFriendlyEditor,b as mdFriendlyPreset}from'../../chunk-42NSZXCX.js';import'../../chunk-ONBHJIZQ.js';import'../../chunk-MDSRHDWB.js';
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { o as ExtensiveEditorProps, w as SlashCommandVisibility, r as FeatureFlagOverrides } from '../../ExtensiveEditor-6OT-Dmr1.js';
|
|
3
|
-
import { E as EditorPreset } from '../../index-BtdZVw3X.js';
|
|
4
|
-
import 'react';
|
|
5
|
-
import '@lyfie/luthor-headless';
|
|
6
|
-
|
|
7
|
-
type NotionLikeEditorProps = Omit<ExtensiveEditorProps, "featureFlags" | "isToolbarEnabled"> & {
|
|
8
|
-
slashVisibility?: SlashCommandVisibility;
|
|
9
|
-
isDraggableEnabled?: boolean;
|
|
10
|
-
featureFlags?: FeatureFlagOverrides;
|
|
11
|
-
isToolbarEnabled?: boolean;
|
|
12
|
-
};
|
|
13
|
-
declare function NotionLikeEditor({ className, variantClassName, slashVisibility, isDraggableEnabled, featureFlags, isToolbarEnabled, ...props }: NotionLikeEditorProps): react_jsx_runtime.JSX.Element;
|
|
14
|
-
|
|
15
|
-
declare const notionLikePreset: EditorPreset;
|
|
16
|
-
|
|
17
|
-
export { NotionLikeEditor, type NotionLikeEditorProps, notionLikePreset };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as NotionLikeEditor,b as notionLikePreset}from'../../chunk-VITE7CVN.js';import'../../chunk-ONBHJIZQ.js';import'../../chunk-MDSRHDWB.js';
|