@underverse-ui/underverse 1.0.203 → 1.0.204
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 +8 -2
- package/api-reference.json +1 -1
- package/dist/EmojiPicker-UN6N7YVB.js +14 -0
- package/dist/EmojiPicker-UN6N7YVB.js.map +1 -0
- package/dist/chunk-4TYW5K4J.js +769 -0
- package/dist/chunk-4TYW5K4J.js.map +1 -0
- package/dist/chunk-CC3QO2YM.js +14506 -0
- package/dist/chunk-CC3QO2YM.js.map +1 -0
- package/dist/chunk-CKKLFVOY.js +206 -0
- package/dist/chunk-CKKLFVOY.js.map +1 -0
- package/dist/chunk-GSBRTFP2.js +2464 -0
- package/dist/chunk-GSBRTFP2.js.map +1 -0
- package/dist/chunk-KFTYWTJR.js +4481 -0
- package/dist/chunk-KFTYWTJR.js.map +1 -0
- package/dist/chunk-NSBPE2FW.js +17 -0
- package/dist/chunk-NSBPE2FW.js.map +1 -0
- package/dist/chunk-QVQTWZ24.js +199 -0
- package/dist/chunk-QVQTWZ24.js.map +1 -0
- package/dist/chunk-ZUAIBY2Z.js +74 -0
- package/dist/chunk-ZUAIBY2Z.js.map +1 -0
- package/dist/emojis-I5AMZ3EE.js +8 -0
- package/dist/emojis-I5AMZ3EE.js.map +1 -0
- package/dist/index.cjs +37014 -35837
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -134
- package/dist/index.d.ts +3 -134
- package/dist/index.js +2801 -25581
- package/dist/index.js.map +1 -1
- package/dist/lowlight-runtime-Y43Y7YTW.js +11 -0
- package/dist/lowlight-runtime-Y43Y7YTW.js.map +1 -0
- package/dist/menu-bar-6U5S4PS7.js +947 -0
- package/dist/menu-bar-6U5S4PS7.js.map +1 -0
- package/dist/ueditor.cjs +23503 -0
- package/dist/ueditor.cjs.map +1 -0
- package/dist/ueditor.d.cts +136 -0
- package/dist/ueditor.d.ts +136 -0
- package/dist/ueditor.js +20 -0
- package/dist/ueditor.js.map +1 -0
- package/package.json +54 -46
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { Extension, Editor } from '@tiptap/core';
|
|
3
|
+
|
|
4
|
+
type UEditorUploadImageForSaveResult = string | ({
|
|
5
|
+
url: string;
|
|
6
|
+
} & Record<string, unknown>);
|
|
7
|
+
type UEditorUploadImageForSave = (file: File) => Promise<UEditorUploadImageForSaveResult>;
|
|
8
|
+
type UEditorPrepareContentUploadMeta = Record<string, unknown>;
|
|
9
|
+
type UEditorInlineUploadedItem = {
|
|
10
|
+
index: number;
|
|
11
|
+
url: string;
|
|
12
|
+
file?: File;
|
|
13
|
+
meta?: UEditorPrepareContentUploadMeta;
|
|
14
|
+
};
|
|
15
|
+
type UEditorPrepareContentForSaveResult = {
|
|
16
|
+
html: string;
|
|
17
|
+
uploaded: Array<{
|
|
18
|
+
url: string;
|
|
19
|
+
file?: File;
|
|
20
|
+
meta?: UEditorPrepareContentUploadMeta;
|
|
21
|
+
}>;
|
|
22
|
+
inlineImageUrls: string[];
|
|
23
|
+
inlineUploaded: UEditorInlineUploadedItem[];
|
|
24
|
+
errors: Array<{
|
|
25
|
+
index: number;
|
|
26
|
+
reason: string;
|
|
27
|
+
}>;
|
|
28
|
+
};
|
|
29
|
+
type UEditorPrepareContentForSaveOptions = {
|
|
30
|
+
throwOnError?: boolean;
|
|
31
|
+
};
|
|
32
|
+
interface UEditorRef {
|
|
33
|
+
editor?: Editor | null;
|
|
34
|
+
prepareContentForSave: (options?: UEditorPrepareContentForSaveOptions) => Promise<UEditorPrepareContentForSaveResult>;
|
|
35
|
+
}
|
|
36
|
+
type UEditorFontFamilyOption = {
|
|
37
|
+
label: string;
|
|
38
|
+
value: string;
|
|
39
|
+
};
|
|
40
|
+
type UEditorFontSizeOption = {
|
|
41
|
+
label: string;
|
|
42
|
+
value: string;
|
|
43
|
+
};
|
|
44
|
+
type UEditorLineHeightOption = {
|
|
45
|
+
label: string;
|
|
46
|
+
value: string;
|
|
47
|
+
};
|
|
48
|
+
type UEditorLetterSpacingOption = {
|
|
49
|
+
label: string;
|
|
50
|
+
value: string;
|
|
51
|
+
};
|
|
52
|
+
/** Public props for the `UEditor` component. */
|
|
53
|
+
interface UEditorProps {
|
|
54
|
+
/** Initial or controlled HTML content for the editor. */
|
|
55
|
+
content?: string;
|
|
56
|
+
/** Called with the current HTML after editor updates. Kept for backward compatibility with `onHtmlChange`. */
|
|
57
|
+
onChange?: (content: string) => void;
|
|
58
|
+
/** Called with the current HTML after editor updates. Prefer this when the consumer stores HTML. */
|
|
59
|
+
onHtmlChange?: (html: string) => void;
|
|
60
|
+
/** Called with the current TipTap JSON document after editor updates. */
|
|
61
|
+
onJsonChange?: (json: object) => void;
|
|
62
|
+
/** Uploads images immediately when they are inserted in `imageInsertMode="upload"`. */
|
|
63
|
+
uploadImage?: (file: File) => Promise<string> | string;
|
|
64
|
+
/** Uploads embedded/base64 images during `prepareContentForSave`; use this for save-time normalization. */
|
|
65
|
+
uploadImageForSave?: UEditorUploadImageForSave;
|
|
66
|
+
/** Maximum number of concurrent save-time image/file uploads. */
|
|
67
|
+
uploadImageConcurrency?: number;
|
|
68
|
+
/** Whether inserted images are kept as base64 in editor state or uploaded immediately. */
|
|
69
|
+
imageInsertMode?: "base64" | "upload";
|
|
70
|
+
maxImageFileSize?: number;
|
|
71
|
+
allowedImageMimeTypes?: string[];
|
|
72
|
+
fallbackToDataUrl?: boolean;
|
|
73
|
+
placeholder?: string;
|
|
74
|
+
className?: string;
|
|
75
|
+
editable?: boolean;
|
|
76
|
+
autofocus?: boolean;
|
|
77
|
+
showToolbar?: boolean;
|
|
78
|
+
showBubbleMenu?: boolean;
|
|
79
|
+
showFloatingMenu?: boolean;
|
|
80
|
+
showCharacterCount?: boolean;
|
|
81
|
+
/** Whether to show the editor footer. Defaults to `true`. */
|
|
82
|
+
showFooter?: boolean;
|
|
83
|
+
maxCharacters?: number;
|
|
84
|
+
minHeight?: number | string;
|
|
85
|
+
maxHeight?: number | string;
|
|
86
|
+
variant?: "default" | "minimal" | "medium" | "medium-full" | "full" | "notion";
|
|
87
|
+
/** Whether the editor has rounded corners. Defaults to `true`. */
|
|
88
|
+
rounded?: boolean;
|
|
89
|
+
fontFamilies?: UEditorFontFamilyOption[];
|
|
90
|
+
fontSizes?: UEditorFontSizeOption[];
|
|
91
|
+
lineHeights?: UEditorLineHeightOption[];
|
|
92
|
+
letterSpacings?: UEditorLetterSpacingOption[];
|
|
93
|
+
fetchMetadata?: (url: string) => Promise<{
|
|
94
|
+
title?: string;
|
|
95
|
+
description?: string;
|
|
96
|
+
image?: string;
|
|
97
|
+
publisher?: string;
|
|
98
|
+
}>;
|
|
99
|
+
/** Uploads file cards immediately after insertion when available. */
|
|
100
|
+
uploadFile?: (file: File) => Promise<string> | string;
|
|
101
|
+
/** Uploads embedded/base64 file cards during `prepareContentForSave`; falls back to `uploadImageForSave` if omitted. */
|
|
102
|
+
uploadFileForSave?: (file: File) => Promise<string | ({
|
|
103
|
+
url: string;
|
|
104
|
+
} & Record<string, unknown>)>;
|
|
105
|
+
/** Additional TipTap extensions appended after the built-in UEditor extensions. */
|
|
106
|
+
extraExtensions?: Extension[];
|
|
107
|
+
showMenuBar?: boolean;
|
|
108
|
+
onSave?: () => void;
|
|
109
|
+
onExport?: () => void;
|
|
110
|
+
onSourceCode?: () => void;
|
|
111
|
+
/**
|
|
112
|
+
* Fires when View > Preview or the eye button is clicked.
|
|
113
|
+
* Return false to prevent the built-in preview dialog.
|
|
114
|
+
*/
|
|
115
|
+
onPreview?: (html: string) => void | false;
|
|
116
|
+
}
|
|
117
|
+
type UEditorVariant = NonNullable<UEditorProps["variant"]>;
|
|
118
|
+
|
|
119
|
+
declare const UEditor: React__default.ForwardRefExoticComponent<UEditorProps & React__default.RefAttributes<UEditorRef>>;
|
|
120
|
+
|
|
121
|
+
declare function normalizeImageUrl(url: string): string;
|
|
122
|
+
declare function extractImageSrcsFromHtml(html: string): string[];
|
|
123
|
+
declare class UEditorPrepareContentForSaveError extends Error {
|
|
124
|
+
readonly result: UEditorPrepareContentForSaveResult;
|
|
125
|
+
constructor(result: UEditorPrepareContentForSaveResult);
|
|
126
|
+
}
|
|
127
|
+
declare function prepareUEditorContentForSave({ html, uploadImageForSave, uploadFileForSave, uploadConcurrency, }: {
|
|
128
|
+
html: string;
|
|
129
|
+
uploadImageForSave?: UEditorUploadImageForSave;
|
|
130
|
+
uploadFileForSave?: (file: File) => Promise<string | ({
|
|
131
|
+
url: string;
|
|
132
|
+
} & Record<string, unknown>)>;
|
|
133
|
+
uploadConcurrency?: number;
|
|
134
|
+
}): Promise<UEditorPrepareContentForSaveResult>;
|
|
135
|
+
|
|
136
|
+
export { type UEditorFontFamilyOption, type UEditorFontSizeOption, type UEditorInlineUploadedItem, type UEditorLetterSpacingOption, type UEditorLineHeightOption, UEditorPrepareContentForSaveError, type UEditorPrepareContentForSaveOptions, type UEditorPrepareContentForSaveResult, type UEditorProps, type UEditorRef, type UEditorUploadImageForSave, type UEditorUploadImageForSaveResult, type UEditorVariant, UEditor as default, extractImageSrcsFromHtml, normalizeImageUrl, prepareUEditorContentForSave };
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { Extension, Editor } from '@tiptap/core';
|
|
3
|
+
|
|
4
|
+
type UEditorUploadImageForSaveResult = string | ({
|
|
5
|
+
url: string;
|
|
6
|
+
} & Record<string, unknown>);
|
|
7
|
+
type UEditorUploadImageForSave = (file: File) => Promise<UEditorUploadImageForSaveResult>;
|
|
8
|
+
type UEditorPrepareContentUploadMeta = Record<string, unknown>;
|
|
9
|
+
type UEditorInlineUploadedItem = {
|
|
10
|
+
index: number;
|
|
11
|
+
url: string;
|
|
12
|
+
file?: File;
|
|
13
|
+
meta?: UEditorPrepareContentUploadMeta;
|
|
14
|
+
};
|
|
15
|
+
type UEditorPrepareContentForSaveResult = {
|
|
16
|
+
html: string;
|
|
17
|
+
uploaded: Array<{
|
|
18
|
+
url: string;
|
|
19
|
+
file?: File;
|
|
20
|
+
meta?: UEditorPrepareContentUploadMeta;
|
|
21
|
+
}>;
|
|
22
|
+
inlineImageUrls: string[];
|
|
23
|
+
inlineUploaded: UEditorInlineUploadedItem[];
|
|
24
|
+
errors: Array<{
|
|
25
|
+
index: number;
|
|
26
|
+
reason: string;
|
|
27
|
+
}>;
|
|
28
|
+
};
|
|
29
|
+
type UEditorPrepareContentForSaveOptions = {
|
|
30
|
+
throwOnError?: boolean;
|
|
31
|
+
};
|
|
32
|
+
interface UEditorRef {
|
|
33
|
+
editor?: Editor | null;
|
|
34
|
+
prepareContentForSave: (options?: UEditorPrepareContentForSaveOptions) => Promise<UEditorPrepareContentForSaveResult>;
|
|
35
|
+
}
|
|
36
|
+
type UEditorFontFamilyOption = {
|
|
37
|
+
label: string;
|
|
38
|
+
value: string;
|
|
39
|
+
};
|
|
40
|
+
type UEditorFontSizeOption = {
|
|
41
|
+
label: string;
|
|
42
|
+
value: string;
|
|
43
|
+
};
|
|
44
|
+
type UEditorLineHeightOption = {
|
|
45
|
+
label: string;
|
|
46
|
+
value: string;
|
|
47
|
+
};
|
|
48
|
+
type UEditorLetterSpacingOption = {
|
|
49
|
+
label: string;
|
|
50
|
+
value: string;
|
|
51
|
+
};
|
|
52
|
+
/** Public props for the `UEditor` component. */
|
|
53
|
+
interface UEditorProps {
|
|
54
|
+
/** Initial or controlled HTML content for the editor. */
|
|
55
|
+
content?: string;
|
|
56
|
+
/** Called with the current HTML after editor updates. Kept for backward compatibility with `onHtmlChange`. */
|
|
57
|
+
onChange?: (content: string) => void;
|
|
58
|
+
/** Called with the current HTML after editor updates. Prefer this when the consumer stores HTML. */
|
|
59
|
+
onHtmlChange?: (html: string) => void;
|
|
60
|
+
/** Called with the current TipTap JSON document after editor updates. */
|
|
61
|
+
onJsonChange?: (json: object) => void;
|
|
62
|
+
/** Uploads images immediately when they are inserted in `imageInsertMode="upload"`. */
|
|
63
|
+
uploadImage?: (file: File) => Promise<string> | string;
|
|
64
|
+
/** Uploads embedded/base64 images during `prepareContentForSave`; use this for save-time normalization. */
|
|
65
|
+
uploadImageForSave?: UEditorUploadImageForSave;
|
|
66
|
+
/** Maximum number of concurrent save-time image/file uploads. */
|
|
67
|
+
uploadImageConcurrency?: number;
|
|
68
|
+
/** Whether inserted images are kept as base64 in editor state or uploaded immediately. */
|
|
69
|
+
imageInsertMode?: "base64" | "upload";
|
|
70
|
+
maxImageFileSize?: number;
|
|
71
|
+
allowedImageMimeTypes?: string[];
|
|
72
|
+
fallbackToDataUrl?: boolean;
|
|
73
|
+
placeholder?: string;
|
|
74
|
+
className?: string;
|
|
75
|
+
editable?: boolean;
|
|
76
|
+
autofocus?: boolean;
|
|
77
|
+
showToolbar?: boolean;
|
|
78
|
+
showBubbleMenu?: boolean;
|
|
79
|
+
showFloatingMenu?: boolean;
|
|
80
|
+
showCharacterCount?: boolean;
|
|
81
|
+
/** Whether to show the editor footer. Defaults to `true`. */
|
|
82
|
+
showFooter?: boolean;
|
|
83
|
+
maxCharacters?: number;
|
|
84
|
+
minHeight?: number | string;
|
|
85
|
+
maxHeight?: number | string;
|
|
86
|
+
variant?: "default" | "minimal" | "medium" | "medium-full" | "full" | "notion";
|
|
87
|
+
/** Whether the editor has rounded corners. Defaults to `true`. */
|
|
88
|
+
rounded?: boolean;
|
|
89
|
+
fontFamilies?: UEditorFontFamilyOption[];
|
|
90
|
+
fontSizes?: UEditorFontSizeOption[];
|
|
91
|
+
lineHeights?: UEditorLineHeightOption[];
|
|
92
|
+
letterSpacings?: UEditorLetterSpacingOption[];
|
|
93
|
+
fetchMetadata?: (url: string) => Promise<{
|
|
94
|
+
title?: string;
|
|
95
|
+
description?: string;
|
|
96
|
+
image?: string;
|
|
97
|
+
publisher?: string;
|
|
98
|
+
}>;
|
|
99
|
+
/** Uploads file cards immediately after insertion when available. */
|
|
100
|
+
uploadFile?: (file: File) => Promise<string> | string;
|
|
101
|
+
/** Uploads embedded/base64 file cards during `prepareContentForSave`; falls back to `uploadImageForSave` if omitted. */
|
|
102
|
+
uploadFileForSave?: (file: File) => Promise<string | ({
|
|
103
|
+
url: string;
|
|
104
|
+
} & Record<string, unknown>)>;
|
|
105
|
+
/** Additional TipTap extensions appended after the built-in UEditor extensions. */
|
|
106
|
+
extraExtensions?: Extension[];
|
|
107
|
+
showMenuBar?: boolean;
|
|
108
|
+
onSave?: () => void;
|
|
109
|
+
onExport?: () => void;
|
|
110
|
+
onSourceCode?: () => void;
|
|
111
|
+
/**
|
|
112
|
+
* Fires when View > Preview or the eye button is clicked.
|
|
113
|
+
* Return false to prevent the built-in preview dialog.
|
|
114
|
+
*/
|
|
115
|
+
onPreview?: (html: string) => void | false;
|
|
116
|
+
}
|
|
117
|
+
type UEditorVariant = NonNullable<UEditorProps["variant"]>;
|
|
118
|
+
|
|
119
|
+
declare const UEditor: React__default.ForwardRefExoticComponent<UEditorProps & React__default.RefAttributes<UEditorRef>>;
|
|
120
|
+
|
|
121
|
+
declare function normalizeImageUrl(url: string): string;
|
|
122
|
+
declare function extractImageSrcsFromHtml(html: string): string[];
|
|
123
|
+
declare class UEditorPrepareContentForSaveError extends Error {
|
|
124
|
+
readonly result: UEditorPrepareContentForSaveResult;
|
|
125
|
+
constructor(result: UEditorPrepareContentForSaveResult);
|
|
126
|
+
}
|
|
127
|
+
declare function prepareUEditorContentForSave({ html, uploadImageForSave, uploadFileForSave, uploadConcurrency, }: {
|
|
128
|
+
html: string;
|
|
129
|
+
uploadImageForSave?: UEditorUploadImageForSave;
|
|
130
|
+
uploadFileForSave?: (file: File) => Promise<string | ({
|
|
131
|
+
url: string;
|
|
132
|
+
} & Record<string, unknown>)>;
|
|
133
|
+
uploadConcurrency?: number;
|
|
134
|
+
}): Promise<UEditorPrepareContentForSaveResult>;
|
|
135
|
+
|
|
136
|
+
export { type UEditorFontFamilyOption, type UEditorFontSizeOption, type UEditorInlineUploadedItem, type UEditorLetterSpacingOption, type UEditorLineHeightOption, UEditorPrepareContentForSaveError, type UEditorPrepareContentForSaveOptions, type UEditorPrepareContentForSaveResult, type UEditorProps, type UEditorRef, type UEditorUploadImageForSave, type UEditorUploadImageForSaveResult, type UEditorVariant, UEditor as default, extractImageSrcsFromHtml, normalizeImageUrl, prepareUEditorContentForSave };
|
package/dist/ueditor.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
UEditorPrepareContentForSaveError,
|
|
4
|
+
UEditor_default,
|
|
5
|
+
extractImageSrcsFromHtml,
|
|
6
|
+
normalizeImageUrl,
|
|
7
|
+
prepareUEditorContentForSave
|
|
8
|
+
} from "./chunk-CC3QO2YM.js";
|
|
9
|
+
import "./chunk-ZUAIBY2Z.js";
|
|
10
|
+
import "./chunk-KFTYWTJR.js";
|
|
11
|
+
import "./chunk-GSBRTFP2.js";
|
|
12
|
+
import "./chunk-NSBPE2FW.js";
|
|
13
|
+
export {
|
|
14
|
+
UEditorPrepareContentForSaveError,
|
|
15
|
+
UEditor_default as default,
|
|
16
|
+
extractImageSrcsFromHtml,
|
|
17
|
+
normalizeImageUrl,
|
|
18
|
+
prepareUEditorContentForSave
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=ueditor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@underverse-ui/underverse",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.204",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Underverse UI – reusable React/Next.js UI components",
|
|
6
6
|
"type": "module",
|
|
@@ -23,6 +23,11 @@
|
|
|
23
23
|
"types": "./dist/index.d.ts",
|
|
24
24
|
"import": "./dist/index.js",
|
|
25
25
|
"require": "./dist/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./ueditor": {
|
|
28
|
+
"types": "./dist/ueditor.d.ts",
|
|
29
|
+
"import": "./dist/ueditor.js",
|
|
30
|
+
"require": "./dist/ueditor.cjs"
|
|
26
31
|
}
|
|
27
32
|
},
|
|
28
33
|
"files": [
|
|
@@ -48,6 +53,8 @@
|
|
|
48
53
|
"typecheck": "tsc -p tsconfig.tsup.json --noEmit --incremental false",
|
|
49
54
|
"generate:api": "node ./scripts/generate-api-reference.mjs",
|
|
50
55
|
"verify:agent-metadata": "npm run generate:api && node ./scripts/verify-agent-metadata.mjs",
|
|
56
|
+
"verify:package-exports": "node ./scripts/verify-package-exports.mjs",
|
|
57
|
+
"verify:root-tree-shaking": "node ./scripts/verify-root-tree-shaking.mjs",
|
|
51
58
|
"test:overlay-scrollbar": "node --test --experimental-strip-types ./tests/overlay-scrollbar-provider.test.mjs",
|
|
52
59
|
"test:data-table": "node --test --experimental-strip-types ./tests/data-table-sticky.test.mjs",
|
|
53
60
|
"test:data-table-deep": "node --test --experimental-strip-types ./tests/data-table-headers-validation.test.mjs",
|
|
@@ -62,12 +69,13 @@
|
|
|
62
69
|
"test:ueditor-form-fields": "node --test --experimental-strip-types ./tests/ueditor-form-fields.test.mjs",
|
|
63
70
|
"test:ueditor-formula": "node --test --experimental-strip-types ./tests/ueditor-table-formula.test.mjs",
|
|
64
71
|
"test:ueditor-ui": "node --test ./tests/ueditor.interaction.test.mjs",
|
|
72
|
+
"benchmark:ueditor": "node --expose-gc ./scripts/benchmark-ueditor.mjs",
|
|
65
73
|
"test:public-api": "node --test ./tests/public-api-smoke.test.mjs",
|
|
66
74
|
"test:components-smoke": "node --test ./tests/components-smoke.test.mjs",
|
|
67
75
|
"test:sticker-ui": "node --test ./tests/sticker.interaction.test.mjs",
|
|
68
76
|
"test:lunar": "node --test --experimental-strip-types ./tests/lunar-utils.test.mjs",
|
|
69
77
|
"test:smoke": "npm run test:public-api && npm run test:components-smoke",
|
|
70
|
-
"build": "npm run typecheck && npm run check:boundaries && npm run generate:api && tsup --config tsup.config.ts",
|
|
78
|
+
"build": "npm run typecheck && npm run check:boundaries && npm run generate:api && tsup --config tsup.config.ts && npm run verify:package-exports && npm run verify:root-tree-shaking",
|
|
71
79
|
"clean": "rimraf dist",
|
|
72
80
|
"prepublishOnly": "npm run clean && node ./scripts/prepare-emojis.mjs && npm run prepare:stickers && npm run build",
|
|
73
81
|
"release": "node ./scripts/release.mjs",
|
|
@@ -143,50 +151,50 @@
|
|
|
143
151
|
"devDependencies": {
|
|
144
152
|
"@testing-library/react": "^16.3.2",
|
|
145
153
|
"@testing-library/user-event": "^14.6.1",
|
|
146
|
-
"@tiptap/core": "^3.
|
|
147
|
-
"@tiptap/extension-blockquote": "^3.
|
|
148
|
-
"@tiptap/extension-bold": "^3.
|
|
149
|
-
"@tiptap/extension-bubble-menu": "^3.
|
|
150
|
-
"@tiptap/extension-bullet-list": "^3.
|
|
151
|
-
"@tiptap/extension-character-count": "^3.
|
|
152
|
-
"@tiptap/extension-code": "^3.
|
|
153
|
-
"@tiptap/extension-code-block": "^3.
|
|
154
|
-
"@tiptap/extension-code-block-lowlight": "^3.
|
|
155
|
-
"@tiptap/extension-color": "^3.
|
|
156
|
-
"@tiptap/extension-document": "^3.
|
|
157
|
-
"@tiptap/extension-dropcursor": "^3.
|
|
158
|
-
"@tiptap/extension-floating-menu": "^3.
|
|
159
|
-
"@tiptap/extension-gapcursor": "^3.
|
|
160
|
-
"@tiptap/extension-heading": "^3.
|
|
161
|
-
"@tiptap/extension-highlight": "^3.
|
|
162
|
-
"@tiptap/extension-history": "^3.
|
|
163
|
-
"@tiptap/extension-horizontal-rule": "^3.
|
|
164
|
-
"@tiptap/extension-image": "^3.
|
|
165
|
-
"@tiptap/extension-italic": "^3.
|
|
166
|
-
"@tiptap/extension-link": "^3.
|
|
167
|
-
"@tiptap/extension-list": "^3.
|
|
168
|
-
"@tiptap/extension-list-item": "^3.
|
|
169
|
-
"@tiptap/extension-ordered-list": "^3.
|
|
170
|
-
"@tiptap/extension-paragraph": "^3.
|
|
171
|
-
"@tiptap/extension-placeholder": "^3.
|
|
172
|
-
"@tiptap/extension-strike": "^3.
|
|
173
|
-
"@tiptap/extension-subscript": "^3.
|
|
174
|
-
"@tiptap/extension-superscript": "^3.
|
|
175
|
-
"@tiptap/extension-table": "^3.
|
|
176
|
-
"@tiptap/extension-table-cell": "^3.
|
|
177
|
-
"@tiptap/extension-table-header": "^3.
|
|
178
|
-
"@tiptap/extension-table-row": "^3.
|
|
179
|
-
"@tiptap/extension-task-item": "^3.
|
|
180
|
-
"@tiptap/extension-task-list": "^3.
|
|
181
|
-
"@tiptap/extension-text": "^3.
|
|
182
|
-
"@tiptap/extension-text-align": "^3.
|
|
183
|
-
"@tiptap/extension-text-style": "^3.
|
|
184
|
-
"@tiptap/extension-typography": "^3.
|
|
185
|
-
"@tiptap/extension-underline": "^3.
|
|
186
|
-
"@tiptap/extensions": "^3.
|
|
187
|
-
"@tiptap/pm": "^3.
|
|
188
|
-
"@tiptap/react": "^3.
|
|
189
|
-
"@tiptap/suggestion": "^3.
|
|
154
|
+
"@tiptap/core": "^3.20.0",
|
|
155
|
+
"@tiptap/extension-blockquote": "^3.20.0",
|
|
156
|
+
"@tiptap/extension-bold": "^3.20.0",
|
|
157
|
+
"@tiptap/extension-bubble-menu": "^3.20.0",
|
|
158
|
+
"@tiptap/extension-bullet-list": "^3.20.0",
|
|
159
|
+
"@tiptap/extension-character-count": "^3.20.0",
|
|
160
|
+
"@tiptap/extension-code": "^3.20.0",
|
|
161
|
+
"@tiptap/extension-code-block": "^3.20.0",
|
|
162
|
+
"@tiptap/extension-code-block-lowlight": "^3.20.0",
|
|
163
|
+
"@tiptap/extension-color": "^3.20.0",
|
|
164
|
+
"@tiptap/extension-document": "^3.20.0",
|
|
165
|
+
"@tiptap/extension-dropcursor": "^3.20.0",
|
|
166
|
+
"@tiptap/extension-floating-menu": "^3.20.0",
|
|
167
|
+
"@tiptap/extension-gapcursor": "^3.20.0",
|
|
168
|
+
"@tiptap/extension-heading": "^3.20.0",
|
|
169
|
+
"@tiptap/extension-highlight": "^3.20.0",
|
|
170
|
+
"@tiptap/extension-history": "^3.20.0",
|
|
171
|
+
"@tiptap/extension-horizontal-rule": "^3.20.0",
|
|
172
|
+
"@tiptap/extension-image": "^3.20.0",
|
|
173
|
+
"@tiptap/extension-italic": "^3.20.0",
|
|
174
|
+
"@tiptap/extension-link": "^3.20.0",
|
|
175
|
+
"@tiptap/extension-list": "^3.20.0",
|
|
176
|
+
"@tiptap/extension-list-item": "^3.20.0",
|
|
177
|
+
"@tiptap/extension-ordered-list": "^3.20.0",
|
|
178
|
+
"@tiptap/extension-paragraph": "^3.20.0",
|
|
179
|
+
"@tiptap/extension-placeholder": "^3.20.0",
|
|
180
|
+
"@tiptap/extension-strike": "^3.20.0",
|
|
181
|
+
"@tiptap/extension-subscript": "^3.20.0",
|
|
182
|
+
"@tiptap/extension-superscript": "^3.20.0",
|
|
183
|
+
"@tiptap/extension-table": "^3.20.0",
|
|
184
|
+
"@tiptap/extension-table-cell": "^3.20.0",
|
|
185
|
+
"@tiptap/extension-table-header": "^3.20.0",
|
|
186
|
+
"@tiptap/extension-table-row": "^3.20.0",
|
|
187
|
+
"@tiptap/extension-task-item": "^3.20.0",
|
|
188
|
+
"@tiptap/extension-task-list": "^3.20.0",
|
|
189
|
+
"@tiptap/extension-text": "^3.20.0",
|
|
190
|
+
"@tiptap/extension-text-align": "^3.20.0",
|
|
191
|
+
"@tiptap/extension-text-style": "^3.20.0",
|
|
192
|
+
"@tiptap/extension-typography": "^3.20.0",
|
|
193
|
+
"@tiptap/extension-underline": "^3.20.0",
|
|
194
|
+
"@tiptap/extensions": "^3.20.0",
|
|
195
|
+
"@tiptap/pm": "^3.20.0",
|
|
196
|
+
"@tiptap/react": "^3.20.0",
|
|
197
|
+
"@tiptap/suggestion": "^3.20.0",
|
|
190
198
|
"@types/tippy.js": "^6.3.0",
|
|
191
199
|
"emoji-datasource-apple": "15.0.1",
|
|
192
200
|
"jsdom": "^28.1.0",
|