@divkitframework/visual-editor 0.4.3 → 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.
@@ -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;
@@ -108,7 +113,10 @@ interface DivProEditorOptions {
108
113
  sources?: Source[];
109
114
  previewWarnFileLimit?: number;
110
115
  previewErrorFileLimit?: number;
116
+ warnFileLimit?: number;
117
+ errorFileLimit?: number;
111
118
  rootConfigurable?: boolean;
119
+ customFontFaces?: FontFaceDesc[];
112
120
  }
113
121
  interface DivProEditorInstance {
114
122
  getValue(): string;
@@ -125,4 +133,4 @@ declare const DivProEditor: {
125
133
  init(opts: DivProEditorOptions): DivProEditorInstance;
126
134
  };
127
135
 
128
- 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 };