reactjs-tiptap-editor 0.3.3 → 0.3.4
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/lib/{ActionMenuButton-D5CqiauP.cjs → ActionMenuButton-DWudb-EA.cjs} +1 -1
- package/lib/{ActionMenuButton-DJQVpcjj.js → ActionMenuButton-_fmUfylg.js} +1 -1
- package/lib/Attachment.cjs +1 -1
- package/lib/Attachment.d.cts +17 -5
- package/lib/Attachment.d.ts +17 -5
- package/lib/Attachment.js +2 -2
- package/lib/Blockquote.cjs +1 -1
- package/lib/Blockquote.d.cts +17 -5
- package/lib/Blockquote.d.ts +17 -5
- package/lib/Blockquote.js +1 -1
- package/lib/Bold.cjs +1 -1
- package/lib/Bold.d.cts +17 -5
- package/lib/Bold.d.ts +17 -5
- package/lib/Bold.js +1 -1
- package/lib/BulletList.cjs +1 -1
- package/lib/BulletList.d.cts +17 -5
- package/lib/BulletList.d.ts +17 -5
- package/lib/BulletList.js +1 -1
- package/lib/Clear.cjs +1 -1
- package/lib/Clear.d.cts +17 -5
- package/lib/Clear.d.ts +17 -5
- package/lib/Clear.js +1 -1
- package/lib/Code.cjs +1 -1
- package/lib/Code.d.cts +17 -5
- package/lib/Code.d.ts +17 -5
- package/lib/Code.js +1 -1
- package/lib/CodeBlock.cjs +1 -1
- package/lib/CodeBlock.d.cts +17 -5
- package/lib/CodeBlock.d.ts +17 -5
- package/lib/CodeBlock.js +1 -1
- package/lib/CodeView.cjs +1 -0
- package/lib/CodeView.d.cts +354 -0
- package/lib/CodeView.d.ts +354 -0
- package/lib/CodeView.js +53 -0
- package/lib/Color.cjs +1 -1
- package/lib/Color.d.cts +17 -5
- package/lib/Color.d.ts +17 -5
- package/lib/Color.js +2 -2
- package/lib/Document.d.cts +17 -5
- package/lib/Document.d.ts +17 -5
- package/lib/{Drawer-82lBASmO.js → Drawer-C9nzP3w1.js} +18 -18
- package/lib/{Drawer-DLV1rOAE.cjs → Drawer-y2uXLloa.cjs} +1 -1
- package/lib/Drawer.cjs +1 -1
- package/lib/Drawer.d.cts +17 -5
- package/lib/Drawer.d.ts +17 -5
- package/lib/Drawer.js +2 -2
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.d.cts +17 -5
- package/lib/Emoji.d.ts +17 -5
- package/lib/Emoji.js +2 -2
- package/lib/{Excalidraw-CsD-4eCA.js → Excalidraw-BihHDjEo.js} +2 -2
- package/lib/{Excalidraw-BuGGHrVK.cjs → Excalidraw-DMKzooX1.cjs} +1 -1
- package/lib/Excalidraw.cjs +1 -1
- package/lib/Excalidraw.d.cts +17 -5
- package/lib/Excalidraw.d.ts +17 -5
- package/lib/Excalidraw.js +1 -1
- package/lib/ExportPdf.cjs +1 -1
- package/lib/ExportPdf.d.cts +17 -5
- package/lib/ExportPdf.d.ts +17 -5
- package/lib/ExportPdf.js +1 -1
- package/lib/ExportWord.cjs +1 -1
- package/lib/ExportWord.d.cts +17 -5
- package/lib/ExportWord.d.ts +17 -5
- package/lib/ExportWord.js +1 -1
- package/lib/FontFamily.cjs +1 -1
- package/lib/FontFamily.d.cts +17 -5
- package/lib/FontFamily.d.ts +17 -5
- package/lib/FontFamily.js +3 -3
- package/lib/FontSize.cjs +1 -1
- package/lib/FontSize.d.cts +17 -5
- package/lib/FontSize.d.ts +17 -5
- package/lib/FontSize.js +3 -3
- package/lib/FormatPainter.cjs +1 -1
- package/lib/FormatPainter.d.cts +17 -5
- package/lib/FormatPainter.d.ts +17 -5
- package/lib/FormatPainter.js +1 -1
- package/lib/Heading.cjs +1 -1
- package/lib/Heading.d.cts +17 -5
- package/lib/Heading.d.ts +17 -5
- package/lib/Heading.js +2 -2
- package/lib/Highlight.cjs +1 -1
- package/lib/Highlight.d.cts +17 -5
- package/lib/Highlight.d.ts +17 -5
- package/lib/Highlight.js +1 -1
- package/lib/History.cjs +1 -1
- package/lib/History.d.cts +17 -5
- package/lib/History.d.ts +17 -5
- package/lib/History.js +1 -1
- package/lib/HorizontalRule.cjs +1 -1
- package/lib/HorizontalRule.d.cts +17 -5
- package/lib/HorizontalRule.d.ts +17 -5
- package/lib/HorizontalRule.js +1 -1
- package/lib/Iframe.cjs +1 -1
- package/lib/Iframe.d.cts +17 -5
- package/lib/Iframe.d.ts +17 -5
- package/lib/Iframe.js +1 -1
- package/lib/Image.cjs +1 -1
- package/lib/Image.d.cts +17 -5
- package/lib/Image.d.ts +17 -5
- package/lib/Image.js +1 -1
- package/lib/ImageGif.cjs +1 -1
- package/lib/ImageGif.d.cts +17 -5
- package/lib/ImageGif.d.ts +17 -5
- package/lib/ImageGif.js +1 -1
- package/lib/ImportWord.cjs +1 -1
- package/lib/ImportWord.d.cts +17 -5
- package/lib/ImportWord.d.ts +17 -5
- package/lib/ImportWord.js +2 -2
- package/lib/Indent.cjs +1 -1
- package/lib/Indent.d.cts +17 -5
- package/lib/Indent.d.ts +17 -5
- package/lib/Indent.js +1 -1
- package/lib/Italic.cjs +1 -1
- package/lib/Italic.d.cts +17 -5
- package/lib/Italic.d.ts +17 -5
- package/lib/Italic.js +1 -1
- package/lib/Katex.cjs +1 -1
- package/lib/Katex.d.cts +17 -5
- package/lib/Katex.d.ts +17 -5
- package/lib/Katex.js +3 -3
- package/lib/LineHeight.cjs +1 -1
- package/lib/LineHeight.d.cts +17 -5
- package/lib/LineHeight.d.ts +17 -5
- package/lib/LineHeight.js +8 -8
- package/lib/Link.cjs +1 -1
- package/lib/Link.d.cts +17 -5
- package/lib/Link.d.ts +17 -5
- package/lib/Link.js +1 -1
- package/lib/ListItem.d.cts +17 -5
- package/lib/ListItem.d.ts +17 -5
- package/lib/Mention.d.cts +17 -5
- package/lib/Mention.d.ts +17 -5
- package/lib/Mermaid.cjs +1 -1
- package/lib/Mermaid.d.cts +17 -5
- package/lib/Mermaid.d.ts +17 -5
- package/lib/Mermaid.js +14 -14
- package/lib/MoreMark.cjs +1 -1
- package/lib/MoreMark.d.cts +17 -5
- package/lib/MoreMark.d.ts +17 -5
- package/lib/MoreMark.js +1 -1
- package/lib/MultiColumn.cjs +1 -1
- package/lib/MultiColumn.d.cts +17 -5
- package/lib/MultiColumn.d.ts +17 -5
- package/lib/MultiColumn.js +1 -1
- package/lib/OrderedList.cjs +1 -1
- package/lib/OrderedList.d.cts +17 -5
- package/lib/OrderedList.d.ts +17 -5
- package/lib/OrderedList.js +1 -1
- package/lib/{RichTextEditor-BwuyWeH3.js → RichTextEditor-D5VO1y1d.js} +727 -716
- package/lib/RichTextEditor-qp9T7xuG.cjs +137 -0
- package/lib/SearchAndReplace.cjs +1 -1
- package/lib/SearchAndReplace.d.cts +17 -5
- package/lib/SearchAndReplace.d.ts +17 -5
- package/lib/SearchAndReplace.js +2 -2
- package/lib/Selection.d.cts +17 -5
- package/lib/Selection.d.ts +17 -5
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.d.cts +17 -5
- package/lib/SlashCommand.d.ts +17 -5
- package/lib/SlashCommand.js +2 -2
- package/lib/Strike.cjs +1 -1
- package/lib/Strike.d.cts +17 -5
- package/lib/Strike.d.ts +17 -5
- package/lib/Strike.js +1 -1
- package/lib/SubAndSuperScript.cjs +1 -1
- package/lib/SubAndSuperScript.d.cts +17 -5
- package/lib/SubAndSuperScript.d.ts +17 -5
- package/lib/SubAndSuperScript.js +1 -1
- package/lib/Table.cjs +1 -1
- package/lib/Table.d.cts +17 -5
- package/lib/Table.d.ts +17 -5
- package/lib/Table.js +2 -2
- package/lib/TableOfContent.cjs +1 -1
- package/lib/TableOfContent.d.cts +17 -5
- package/lib/TableOfContent.d.ts +17 -5
- package/lib/TableOfContent.js +4 -4
- package/lib/TaskList.cjs +1 -1
- package/lib/TaskList.d.cts +17 -5
- package/lib/TaskList.d.ts +17 -5
- package/lib/TaskList.js +1 -1
- package/lib/TextAlign.cjs +1 -1
- package/lib/TextAlign.d.cts +17 -5
- package/lib/TextAlign.d.ts +17 -5
- package/lib/TextAlign.js +1 -1
- package/lib/TextBubble.cjs +1 -1
- package/lib/TextBubble.d.cts +17 -5
- package/lib/TextBubble.d.ts +17 -5
- package/lib/TextBubble.js +2 -2
- package/lib/TextDirection.cjs +1 -1
- package/lib/TextDirection.d.cts +17 -5
- package/lib/TextDirection.d.ts +17 -5
- package/lib/TextDirection.js +1 -1
- package/lib/TextUnderline.cjs +1 -1
- package/lib/TextUnderline.d.cts +17 -5
- package/lib/TextUnderline.d.ts +17 -5
- package/lib/TextUnderline.js +1 -1
- package/lib/TrailingNode.d.cts +17 -5
- package/lib/TrailingNode.d.ts +17 -5
- package/lib/{Twitter-Bstfoi9X.js → Twitter-CH7Z4Iof.js} +2 -2
- package/lib/{Twitter-D41ISCsH.cjs → Twitter-CgVy5oQW.cjs} +1 -1
- package/lib/Twitter.cjs +1 -1
- package/lib/Twitter.d.cts +17 -5
- package/lib/Twitter.d.ts +17 -5
- package/lib/Twitter.js +1 -1
- package/lib/Video.cjs +1 -1
- package/lib/Video.d.cts +17 -5
- package/lib/Video.d.ts +17 -5
- package/lib/Video.js +2 -2
- package/lib/bubble-extra.cjs +1 -1
- package/lib/bubble-extra.d.cts +17 -5
- package/lib/bubble-extra.d.ts +17 -5
- package/lib/bubble-extra.js +6 -6
- package/lib/{index-D9llIWB5.js → index-D-DR0FPY.js} +18 -13
- package/lib/index-Dz3YxLE7.cjs +1 -0
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +18 -5
- package/lib/index.d.ts +18 -5
- package/lib/index.js +3 -3
- package/lib/locale-bundle.cjs +1 -1
- package/lib/locale-bundle.d.cts +22 -5
- package/lib/locale-bundle.d.ts +22 -5
- package/lib/locale-bundle.js +1 -1
- package/lib/{textarea-CfH4-Iyy.js → textarea-CDp8O87y.js} +1 -1
- package/lib/{textarea-ZGJkH6ji.cjs → textarea-CqMUEJEj.cjs} +1 -1
- package/package.json +14 -1
- package/lib/RichTextEditor-NfX6yV6A.cjs +0 -137
- package/lib/index-LbrE7K9i.cjs +0 -1
package/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRef as O, useState as S, useEffect as B } from "react";
|
|
2
|
-
import { a8 as z, a9 as N } from "./RichTextEditor-
|
|
3
|
-
import { aa as ve } from "./RichTextEditor-
|
|
2
|
+
import { a8 as z, a9 as N } from "./RichTextEditor-D5VO1y1d.js";
|
|
3
|
+
import { aa as ve } from "./RichTextEditor-D5VO1y1d.js";
|
|
4
4
|
import { B as ke } from "./dom-dataset-CJ7GyQ2E.js";
|
|
5
5
|
import { E as h, P as p, a as w, J as L, D as C, b, y as R, F as k, B as P, T as M, f as T, S as y, G as D, H as V, N as x, m as A, K as H } from "./index-Drmyqk9P.js";
|
|
6
6
|
import { ListItem as F } from "./ListItem.js";
|
|
@@ -9,7 +9,7 @@ import { Document as K } from "./Document.js";
|
|
|
9
9
|
import { Selection as G } from "./Selection.js";
|
|
10
10
|
import { TextBubble as J } from "./TextBubble.js";
|
|
11
11
|
import { TrailingNode as W } from "./TrailingNode.js";
|
|
12
|
-
import { m } from "./index-
|
|
12
|
+
import { m } from "./index-D-DR0FPY.js";
|
|
13
13
|
function ye() {
|
|
14
14
|
var l;
|
|
15
15
|
const t = O({ editor: null }), [e, o] = S(!1), [s, r] = S(null);
|
package/lib/locale-bundle.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Dz3YxLE7.cjs");exports.en=e.locale$1;exports.hu_HU=e.locale$2;exports.locale=e.locale;exports.pt_BR=e.locale$5;exports.vi=e.locale$3;exports.zh_CN=e.locale$4;
|
package/lib/locale-bundle.d.cts
CHANGED
|
@@ -166,6 +166,7 @@ export declare const en: {
|
|
|
166
166
|
'editor.replace.caseSensitive': string;
|
|
167
167
|
'editor.mermaid.tooltip': string;
|
|
168
168
|
'editor.twitter.tooltip': string;
|
|
169
|
+
'editor.codeView.tooltip': string;
|
|
169
170
|
'editor.tooltip.flipX': string;
|
|
170
171
|
'editor.tooltip.flipY': string;
|
|
171
172
|
};
|
|
@@ -338,6 +339,7 @@ export declare const hu_HU: {
|
|
|
338
339
|
'editor.replace.caseSensitive': string;
|
|
339
340
|
'editor.mermaid.tooltip': string;
|
|
340
341
|
'editor.twitter.tooltip': string;
|
|
342
|
+
'editor.codeView.tooltip': string;
|
|
341
343
|
'editor.tooltip.flipX': string;
|
|
342
344
|
'editor.tooltip.flipY': string;
|
|
343
345
|
};
|
|
@@ -533,6 +535,7 @@ export declare const pt_BR: {
|
|
|
533
535
|
'editor.replace.caseSensitive': string;
|
|
534
536
|
'editor.mermaid.tooltip': string;
|
|
535
537
|
'editor.twitter.tooltip': string;
|
|
538
|
+
'editor.codeView.tooltip': string;
|
|
536
539
|
'editor.tooltip.flipX': string;
|
|
537
540
|
'editor.tooltip.flipY': string;
|
|
538
541
|
};
|
|
@@ -705,6 +708,7 @@ export declare const vi: {
|
|
|
705
708
|
'editor.replace.caseSensitive': string;
|
|
706
709
|
'editor.mermaid.tooltip': string;
|
|
707
710
|
'editor.twitter.tooltip': string;
|
|
711
|
+
'editor.codeView.tooltip': string;
|
|
708
712
|
'editor.tooltip.flipX': string;
|
|
709
713
|
'editor.tooltip.flipY': string;
|
|
710
714
|
};
|
|
@@ -877,6 +881,7 @@ export declare const zh_CN: {
|
|
|
877
881
|
'editor.replace.caseSensitive': string;
|
|
878
882
|
'editor.mermaid.tooltip': string;
|
|
879
883
|
'editor.twitter.tooltip': string;
|
|
884
|
+
'editor.codeView.tooltip': string;
|
|
880
885
|
'editor.tooltip.flipX': string;
|
|
881
886
|
'editor.tooltip.flipY': string;
|
|
882
887
|
};
|
|
@@ -904,11 +909,11 @@ declare module '@tiptap/core' {
|
|
|
904
909
|
|
|
905
910
|
declare module '@tiptap/core' {
|
|
906
911
|
interface Commands<ReturnType> {
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
+
codeView: {
|
|
913
|
+
/**
|
|
914
|
+
* Toggle code view mode
|
|
915
|
+
*/
|
|
916
|
+
toggleCodeView: () => ReturnType;
|
|
912
917
|
};
|
|
913
918
|
}
|
|
914
919
|
}
|
|
@@ -924,6 +929,18 @@ declare module '@tiptap/core' {
|
|
|
924
929
|
}
|
|
925
930
|
|
|
926
931
|
|
|
932
|
+
declare module '@tiptap/core' {
|
|
933
|
+
interface Commands<ReturnType> {
|
|
934
|
+
emoji: {
|
|
935
|
+
setEmoji: (emoji: {
|
|
936
|
+
name: string;
|
|
937
|
+
emoji: string;
|
|
938
|
+
}) => ReturnType;
|
|
939
|
+
};
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
|
|
927
944
|
declare module '@tiptap/core' {
|
|
928
945
|
interface Commands<ReturnType> {
|
|
929
946
|
excalidraw: {
|
package/lib/locale-bundle.d.ts
CHANGED
|
@@ -166,6 +166,7 @@ export declare const en: {
|
|
|
166
166
|
'editor.replace.caseSensitive': string;
|
|
167
167
|
'editor.mermaid.tooltip': string;
|
|
168
168
|
'editor.twitter.tooltip': string;
|
|
169
|
+
'editor.codeView.tooltip': string;
|
|
169
170
|
'editor.tooltip.flipX': string;
|
|
170
171
|
'editor.tooltip.flipY': string;
|
|
171
172
|
};
|
|
@@ -338,6 +339,7 @@ export declare const hu_HU: {
|
|
|
338
339
|
'editor.replace.caseSensitive': string;
|
|
339
340
|
'editor.mermaid.tooltip': string;
|
|
340
341
|
'editor.twitter.tooltip': string;
|
|
342
|
+
'editor.codeView.tooltip': string;
|
|
341
343
|
'editor.tooltip.flipX': string;
|
|
342
344
|
'editor.tooltip.flipY': string;
|
|
343
345
|
};
|
|
@@ -533,6 +535,7 @@ export declare const pt_BR: {
|
|
|
533
535
|
'editor.replace.caseSensitive': string;
|
|
534
536
|
'editor.mermaid.tooltip': string;
|
|
535
537
|
'editor.twitter.tooltip': string;
|
|
538
|
+
'editor.codeView.tooltip': string;
|
|
536
539
|
'editor.tooltip.flipX': string;
|
|
537
540
|
'editor.tooltip.flipY': string;
|
|
538
541
|
};
|
|
@@ -705,6 +708,7 @@ export declare const vi: {
|
|
|
705
708
|
'editor.replace.caseSensitive': string;
|
|
706
709
|
'editor.mermaid.tooltip': string;
|
|
707
710
|
'editor.twitter.tooltip': string;
|
|
711
|
+
'editor.codeView.tooltip': string;
|
|
708
712
|
'editor.tooltip.flipX': string;
|
|
709
713
|
'editor.tooltip.flipY': string;
|
|
710
714
|
};
|
|
@@ -877,6 +881,7 @@ export declare const zh_CN: {
|
|
|
877
881
|
'editor.replace.caseSensitive': string;
|
|
878
882
|
'editor.mermaid.tooltip': string;
|
|
879
883
|
'editor.twitter.tooltip': string;
|
|
884
|
+
'editor.codeView.tooltip': string;
|
|
880
885
|
'editor.tooltip.flipX': string;
|
|
881
886
|
'editor.tooltip.flipY': string;
|
|
882
887
|
};
|
|
@@ -904,11 +909,11 @@ declare module '@tiptap/core' {
|
|
|
904
909
|
|
|
905
910
|
declare module '@tiptap/core' {
|
|
906
911
|
interface Commands<ReturnType> {
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
+
codeView: {
|
|
913
|
+
/**
|
|
914
|
+
* Toggle code view mode
|
|
915
|
+
*/
|
|
916
|
+
toggleCodeView: () => ReturnType;
|
|
912
917
|
};
|
|
913
918
|
}
|
|
914
919
|
}
|
|
@@ -924,6 +929,18 @@ declare module '@tiptap/core' {
|
|
|
924
929
|
}
|
|
925
930
|
|
|
926
931
|
|
|
932
|
+
declare module '@tiptap/core' {
|
|
933
|
+
interface Commands<ReturnType> {
|
|
934
|
+
emoji: {
|
|
935
|
+
setEmoji: (emoji: {
|
|
936
|
+
name: string;
|
|
937
|
+
emoji: string;
|
|
938
|
+
}) => ReturnType;
|
|
939
|
+
};
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
|
|
927
944
|
declare module '@tiptap/core' {
|
|
928
945
|
interface Commands<ReturnType> {
|
|
929
946
|
excalidraw: {
|
package/lib/locale-bundle.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import * as c from "react";
|
|
3
|
-
import { d as o } from "./RichTextEditor-
|
|
3
|
+
import { d as o } from "./RichTextEditor-D5VO1y1d.js";
|
|
4
4
|
const x = c.forwardRef(
|
|
5
5
|
({ className: t, ...e }, r) => /* @__PURE__ */ i(
|
|
6
6
|
"textarea",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),o=require("react"),a=require("./RichTextEditor-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),o=require("react"),a=require("./RichTextEditor-qp9T7xuG.cjs");function s(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const u=s(o),c=u.forwardRef(({className:e,...r},t)=>n.jsx("textarea",{className:a.cn("richtext-flex richtext-min-h-[80px] richtext-w-full richtext-rounded-md !richtext-border richtext-border-input richtext-bg-background richtext-px-3 richtext-py-2 richtext-text-sm richtext-ring-offset-background placeholder:richtext-text-muted-foreground focus-visible:richtext-outline-none focus-visible:richtext-ring-2 focus-visible:richtext-ring-ring focus-visible:richtext-ring-offset-2 disabled:richtext-cursor-not-allowed disabled:richtext-opacity-50",e),ref:t,...r}));c.displayName="Textarea";exports.Textarea=c;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reactjs-tiptap-editor",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.4",
|
|
5
5
|
"packageManager": "pnpm@8.15.9",
|
|
6
6
|
"description": "A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React",
|
|
7
7
|
"license": "MIT",
|
|
@@ -129,6 +129,16 @@
|
|
|
129
129
|
"default": "./lib/Code.js"
|
|
130
130
|
}
|
|
131
131
|
},
|
|
132
|
+
"./codeview": {
|
|
133
|
+
"require": {
|
|
134
|
+
"types": "./lib/CodeView.d.cts",
|
|
135
|
+
"default": "./lib/CodeView.cjs"
|
|
136
|
+
},
|
|
137
|
+
"import": {
|
|
138
|
+
"types": "./lib/CodeView.d.ts",
|
|
139
|
+
"default": "./lib/CodeView.js"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
132
142
|
"./codeblock": {
|
|
133
143
|
"require": {
|
|
134
144
|
"types": "./lib/CodeBlock.d.cts",
|
|
@@ -613,6 +623,9 @@
|
|
|
613
623
|
"./codeblock": [
|
|
614
624
|
"./lib/CodeBlock.d.ts"
|
|
615
625
|
],
|
|
626
|
+
"./codeview": [
|
|
627
|
+
"./lib/CodeView.d.ts"
|
|
628
|
+
],
|
|
616
629
|
"./color": [
|
|
617
630
|
"./lib/Color.d.ts"
|
|
618
631
|
],
|