elseware-ui 2.27.6 → 2.27.8
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/index.css +40 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +0 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -7
package/dist/index.mjs
CHANGED
|
@@ -22,8 +22,6 @@ import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';
|
|
|
22
22
|
import { MdUpload, MdOutlineDone, MdOutlineRemoveCircleOutline } from 'react-icons/md';
|
|
23
23
|
import '@mdxeditor/editor/style.css';
|
|
24
24
|
import { MDXEditor, headingsPlugin, linkPlugin, listsPlugin, imagePlugin, tablePlugin, linkDialogPlugin, thematicBreakPlugin, quotePlugin, toolbarPlugin, UndoRedo, Separator, BlockTypeSelect, BoldItalicUnderlineToggles, StrikeThroughSupSubToggles, ListsToggle, CreateLink, InsertImage, InsertTable, InsertThematicBreak, markdownShortcutPlugin, frontmatterPlugin, codeBlockPlugin, codeMirrorPlugin } from '@mdxeditor/editor';
|
|
25
|
-
import { githubLight } from '@uiw/codemirror-theme-github';
|
|
26
|
-
import { oneDark } from '@codemirror/theme-one-dark';
|
|
27
25
|
|
|
28
26
|
// node_modules/clsx/dist/clsx.mjs
|
|
29
27
|
function r(e) {
|
|
@@ -15665,7 +15663,6 @@ function MarkdownViewer({ value }) {
|
|
|
15665
15663
|
codeBlockEditorDescriptors: []
|
|
15666
15664
|
}),
|
|
15667
15665
|
codeMirrorPlugin({
|
|
15668
|
-
codeMirrorExtensions: [theme === "dark" ? oneDark : githubLight],
|
|
15669
15666
|
codeBlockLanguages: {
|
|
15670
15667
|
js: "JavaScript",
|
|
15671
15668
|
ts: "TypeScript",
|