@underverse-ui/underverse 2.0.29 → 2.0.31
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/api-reference.json +1 -1
- package/dist/{EmojiPicker-NV3GQYWI.js → EmojiPicker-ISJ6RXYG.js} +4 -4
- package/dist/{chunk-LK6YWBI6.js → chunk-2P7TSXEE.js} +82 -25
- package/dist/chunk-2P7TSXEE.js.map +1 -0
- package/dist/{chunk-5QWYO527.js → chunk-37MHVJMV.js} +846 -90
- package/dist/chunk-37MHVJMV.js.map +1 -0
- package/dist/{chunk-XTZTUDRE.js → chunk-57BKIC6J.js} +711 -800
- package/dist/chunk-57BKIC6J.js.map +1 -0
- package/dist/{chunk-LRIRY4DG.js → chunk-5W63IHIN.js} +11 -3
- package/dist/chunk-5W63IHIN.js.map +1 -0
- package/dist/{chunk-F7MX3XXK.js → chunk-S4UHFRL3.js} +3 -3
- package/dist/{chunk-A4GUPKHM.js → chunk-ZP7F4ZD7.js} +63 -43
- package/dist/chunk-ZP7F4ZD7.js.map +1 -0
- package/dist/index.cjs +2296 -1342
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +61 -2
- package/dist/index.d.ts +61 -2
- package/dist/index.js +94 -41
- package/dist/index.js.map +1 -1
- package/dist/{menu-bar-AHG64PEB.js → menu-bar-DPCNNUX5.js} +193 -47
- package/dist/menu-bar-DPCNNUX5.js.map +1 -0
- package/dist/ueditor.cjs +9407 -8506
- package/dist/ueditor.cjs.map +1 -1
- package/dist/ueditor.d.cts +10 -0
- package/dist/ueditor.d.ts +10 -0
- package/dist/ueditor.js +4 -4
- package/package.json +2 -1
- package/dist/chunk-5QWYO527.js.map +0 -1
- package/dist/chunk-A4GUPKHM.js.map +0 -1
- package/dist/chunk-LK6YWBI6.js.map +0 -1
- package/dist/chunk-LRIRY4DG.js.map +0 -1
- package/dist/chunk-XTZTUDRE.js.map +0 -1
- package/dist/menu-bar-AHG64PEB.js.map +0 -1
- /package/dist/{EmojiPicker-NV3GQYWI.js.map → EmojiPicker-ISJ6RXYG.js.map} +0 -0
- /package/dist/{chunk-F7MX3XXK.js.map → chunk-S4UHFRL3.js.map} +0 -0
package/dist/ueditor.d.cts
CHANGED
|
@@ -79,7 +79,15 @@ interface UEditorProps {
|
|
|
79
79
|
maxImageFileSize?: number;
|
|
80
80
|
allowedImageMimeTypes?: string[];
|
|
81
81
|
fallbackToDataUrl?: boolean;
|
|
82
|
+
/** Reports rejected files and immediate image upload/read failures. */
|
|
83
|
+
onImageUploadError?: (error: Error, file: File) => void;
|
|
82
84
|
placeholder?: string;
|
|
85
|
+
/** Accessible name for the editable surface. */
|
|
86
|
+
ariaLabel?: string;
|
|
87
|
+
/** ID of an external element that labels the editable surface. */
|
|
88
|
+
ariaLabelledBy?: string;
|
|
89
|
+
/** ID of an external element that describes the editable surface. */
|
|
90
|
+
ariaDescribedBy?: string;
|
|
83
91
|
className?: string;
|
|
84
92
|
editable?: boolean;
|
|
85
93
|
autofocus?: boolean;
|
|
@@ -92,6 +100,8 @@ interface UEditorProps {
|
|
|
92
100
|
maxCharacters?: number;
|
|
93
101
|
minHeight?: number | string;
|
|
94
102
|
maxHeight?: number | string;
|
|
103
|
+
/** Let tables wider than the document enlarge the editor instead of showing an inner horizontal scrollbar. Defaults to `true`. */
|
|
104
|
+
expandWideTables?: boolean;
|
|
95
105
|
variant?: "default" | "minimal" | "medium" | "medium-full" | "full" | "notion";
|
|
96
106
|
/** Whether the editor has rounded corners. Defaults to `true`. */
|
|
97
107
|
rounded?: boolean;
|
package/dist/ueditor.d.ts
CHANGED
|
@@ -79,7 +79,15 @@ interface UEditorProps {
|
|
|
79
79
|
maxImageFileSize?: number;
|
|
80
80
|
allowedImageMimeTypes?: string[];
|
|
81
81
|
fallbackToDataUrl?: boolean;
|
|
82
|
+
/** Reports rejected files and immediate image upload/read failures. */
|
|
83
|
+
onImageUploadError?: (error: Error, file: File) => void;
|
|
82
84
|
placeholder?: string;
|
|
85
|
+
/** Accessible name for the editable surface. */
|
|
86
|
+
ariaLabel?: string;
|
|
87
|
+
/** ID of an external element that labels the editable surface. */
|
|
88
|
+
ariaLabelledBy?: string;
|
|
89
|
+
/** ID of an external element that describes the editable surface. */
|
|
90
|
+
ariaDescribedBy?: string;
|
|
83
91
|
className?: string;
|
|
84
92
|
editable?: boolean;
|
|
85
93
|
autofocus?: boolean;
|
|
@@ -92,6 +100,8 @@ interface UEditorProps {
|
|
|
92
100
|
maxCharacters?: number;
|
|
93
101
|
minHeight?: number | string;
|
|
94
102
|
maxHeight?: number | string;
|
|
103
|
+
/** Let tables wider than the document enlarge the editor instead of showing an inner horizontal scrollbar. Defaults to `true`. */
|
|
104
|
+
expandWideTables?: boolean;
|
|
95
105
|
variant?: "default" | "minimal" | "medium" | "medium-full" | "full" | "notion";
|
|
96
106
|
/** Whether the editor has rounded corners. Defaults to `true`. */
|
|
97
107
|
rounded?: boolean;
|
package/dist/ueditor.js
CHANGED
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
extractImageSrcsFromHtml,
|
|
6
6
|
normalizeImageUrl,
|
|
7
7
|
prepareUEditorContentForSave
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-57BKIC6J.js";
|
|
9
|
+
import "./chunk-5W63IHIN.js";
|
|
10
|
+
import "./chunk-37MHVJMV.js";
|
|
11
|
+
import "./chunk-ZP7F4ZD7.js";
|
|
12
12
|
import "./chunk-NSBPE2FW.js";
|
|
13
13
|
export {
|
|
14
14
|
UEditorPrepareContentForSaveError,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@underverse-ui/underverse",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.31",
|
|
4
4
|
"description": "Private internal React/Next.js UI component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Tran Van Bach",
|
|
@@ -78,6 +78,7 @@
|
|
|
78
78
|
"test:components-smoke": "node --test ./tests/components-smoke.test.mjs",
|
|
79
79
|
"test:input-search": "node --test ./tests/input-search.interaction.test.mjs",
|
|
80
80
|
"test:label-typography": "node --test ./tests/label-typography.test.mjs",
|
|
81
|
+
"test:tabs-class-names": "node --test ./tests/tabs-class-names.interaction.test.mjs",
|
|
81
82
|
"test:sticker-ui": "node --test ./tests/sticker.interaction.test.mjs",
|
|
82
83
|
"test:lunar": "node --test --experimental-strip-types ./tests/lunar-utils.test.mjs",
|
|
83
84
|
"test:smoke": "npm run test:public-api && npm run test:components-smoke",
|