@underverse-ui/underverse 2.0.12 → 2.0.14
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-FFNIUMI3.js → EmojiPicker-CGMUDB4I.js} +4 -4
- package/dist/{chunk-EVS5YWTO.js → chunk-3Q5EE2ZA.js} +172 -79
- package/dist/chunk-3Q5EE2ZA.js.map +1 -0
- package/dist/{chunk-Q6BQUWKB.js → chunk-DCFQGH3K.js} +3 -3
- package/dist/{chunk-VNSCI3OK.js → chunk-DXLSCUYA.js} +2 -2
- package/dist/{chunk-HEYNAGQD.js → chunk-N2S6RI4Y.js} +3 -3
- package/dist/{chunk-P2RLTURA.js → chunk-PDYEK7HL.js} +202 -56
- package/dist/chunk-PDYEK7HL.js.map +1 -0
- package/dist/{chunk-PYC5EY5W.js → chunk-PV2G2XME.js} +13 -5
- package/dist/chunk-PV2G2XME.js.map +1 -0
- package/dist/index.cjs +369 -127
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +6 -6
- package/dist/{menu-bar-JSXW6AXW.js → menu-bar-55SAOAX6.js} +4 -4
- package/dist/ueditor.cjs +369 -127
- package/dist/ueditor.cjs.map +1 -1
- package/dist/ueditor.d.cts +3 -0
- package/dist/ueditor.d.ts +3 -0
- package/dist/ueditor.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-EVS5YWTO.js.map +0 -1
- package/dist/chunk-P2RLTURA.js.map +0 -1
- package/dist/chunk-PYC5EY5W.js.map +0 -1
- /package/dist/{EmojiPicker-FFNIUMI3.js.map → EmojiPicker-CGMUDB4I.js.map} +0 -0
- /package/dist/{chunk-Q6BQUWKB.js.map → chunk-DCFQGH3K.js.map} +0 -0
- /package/dist/{chunk-VNSCI3OK.js.map → chunk-DXLSCUYA.js.map} +0 -0
- /package/dist/{chunk-HEYNAGQD.js.map → chunk-N2S6RI4Y.js.map} +0 -0
- /package/dist/{menu-bar-JSXW6AXW.js.map → menu-bar-55SAOAX6.js.map} +0 -0
package/dist/ueditor.d.cts
CHANGED
|
@@ -33,6 +33,7 @@ interface UEditorRef {
|
|
|
33
33
|
editor?: Editor | null;
|
|
34
34
|
prepareContentForSave: (options?: UEditorPrepareContentForSaveOptions) => Promise<UEditorPrepareContentForSaveResult>;
|
|
35
35
|
}
|
|
36
|
+
type UEditorBuiltinFontFamily = "Inter" | "Roboto" | "Lexend" | "Montserrat" | "Lora" | "Playfair Display" | "Georgia" | "Times New Roman" | "System UI" | "JetBrains Mono" | (string & {});
|
|
36
37
|
type UEditorFontFamilyOption = {
|
|
37
38
|
label: string;
|
|
38
39
|
value: string;
|
|
@@ -93,6 +94,8 @@ interface UEditorProps {
|
|
|
93
94
|
/** Whether the editor has rounded corners. Defaults to `true`. */
|
|
94
95
|
rounded?: boolean;
|
|
95
96
|
fontFamilies?: UEditorFontFamilyOption[];
|
|
97
|
+
/** Default font family for the editor. Defaults to `"Inter"`. */
|
|
98
|
+
defaultFontFamily?: UEditorBuiltinFontFamily;
|
|
96
99
|
fontSizes?: UEditorFontSizeOption[];
|
|
97
100
|
lineHeights?: UEditorLineHeightOption[];
|
|
98
101
|
letterSpacings?: UEditorLetterSpacingOption[];
|
package/dist/ueditor.d.ts
CHANGED
|
@@ -33,6 +33,7 @@ interface UEditorRef {
|
|
|
33
33
|
editor?: Editor | null;
|
|
34
34
|
prepareContentForSave: (options?: UEditorPrepareContentForSaveOptions) => Promise<UEditorPrepareContentForSaveResult>;
|
|
35
35
|
}
|
|
36
|
+
type UEditorBuiltinFontFamily = "Inter" | "Roboto" | "Lexend" | "Montserrat" | "Lora" | "Playfair Display" | "Georgia" | "Times New Roman" | "System UI" | "JetBrains Mono" | (string & {});
|
|
36
37
|
type UEditorFontFamilyOption = {
|
|
37
38
|
label: string;
|
|
38
39
|
value: string;
|
|
@@ -93,6 +94,8 @@ interface UEditorProps {
|
|
|
93
94
|
/** Whether the editor has rounded corners. Defaults to `true`. */
|
|
94
95
|
rounded?: boolean;
|
|
95
96
|
fontFamilies?: UEditorFontFamilyOption[];
|
|
97
|
+
/** Default font family for the editor. Defaults to `"Inter"`. */
|
|
98
|
+
defaultFontFamily?: UEditorBuiltinFontFamily;
|
|
96
99
|
fontSizes?: UEditorFontSizeOption[];
|
|
97
100
|
lineHeights?: UEditorLineHeightOption[];
|
|
98
101
|
letterSpacings?: UEditorLetterSpacingOption[];
|
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-PDYEK7HL.js";
|
|
9
|
+
import "./chunk-DXLSCUYA.js";
|
|
10
|
+
import "./chunk-3Q5EE2ZA.js";
|
|
11
|
+
import "./chunk-PV2G2XME.js";
|
|
12
12
|
import "./chunk-NSBPE2FW.js";
|
|
13
13
|
export {
|
|
14
14
|
UEditorPrepareContentForSaveError,
|