@divkitframework/visual-editor 0.4.4 → 0.4.5
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/divkit-editor.d.ts
CHANGED
|
@@ -42,6 +42,11 @@ interface ActionDesc {
|
|
|
42
42
|
text: Record<string, string>;
|
|
43
43
|
args?: ActionArg[];
|
|
44
44
|
}
|
|
45
|
+
interface FontFaceDesc {
|
|
46
|
+
value: string;
|
|
47
|
+
text: Record<string, string>;
|
|
48
|
+
cssValue: string;
|
|
49
|
+
}
|
|
45
50
|
type TankerMeta = Record<string, Record<string, string>>;
|
|
46
51
|
interface Meta {
|
|
47
52
|
tanker?: TankerMeta;
|
|
@@ -111,6 +116,7 @@ interface DivProEditorOptions {
|
|
|
111
116
|
warnFileLimit?: number;
|
|
112
117
|
errorFileLimit?: number;
|
|
113
118
|
rootConfigurable?: boolean;
|
|
119
|
+
customFontFaces?: FontFaceDesc[];
|
|
114
120
|
}
|
|
115
121
|
interface DivProEditorInstance {
|
|
116
122
|
getValue(): string;
|
|
@@ -127,4 +133,4 @@ declare const DivProEditor: {
|
|
|
127
133
|
init(opts: DivProEditorOptions): DivProEditorInstance;
|
|
128
134
|
};
|
|
129
135
|
|
|
130
|
-
export { type ActionArg, type ActionArgBase, type ActionArgString, type ActionDesc, type Card, type CardLocale, DivProEditor, type DivProEditorApi, type DivProEditorInstance, type DivProEditorOptions, type EditorInstance, type EditorOptions, type GetTranslationKey, type GetTranslationSuggest, type Layout, type LayoutColumn, type LayoutItem, type Locale, type Meta, type Source, type TankerMeta, type Theme, type TranslationVariant, addTemplatesSuffix, convertDictToPalette, convertPaletteToDict, removeTemplatesSuffix };
|
|
136
|
+
export { type ActionArg, type ActionArgBase, type ActionArgString, type ActionDesc, type Card, type CardLocale, DivProEditor, type DivProEditorApi, type DivProEditorInstance, type DivProEditorOptions, type EditorInstance, type EditorOptions, type FontFaceDesc, type GetTranslationKey, type GetTranslationSuggest, type Layout, type LayoutColumn, type LayoutItem, type Locale, type Meta, type Source, type TankerMeta, type Theme, type TranslationVariant, addTemplatesSuffix, convertDictToPalette, convertPaletteToDict, removeTemplatesSuffix };
|