@vaadin/rich-text-editor 22.0.0-alpha7 → 22.0.0-alpha8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/rich-text-editor",
3
- "version": "22.0.0-alpha7",
3
+ "version": "22.0.0-alpha8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,14 +37,14 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@polymer/polymer": "^3.0.0",
40
- "@vaadin/button": "22.0.0-alpha7",
41
- "@vaadin/component-base": "22.0.0-alpha7",
42
- "@vaadin/confirm-dialog": "22.0.0-alpha7",
43
- "@vaadin/text-field": "22.0.0-alpha7",
40
+ "@vaadin/button": "22.0.0-alpha8",
41
+ "@vaadin/component-base": "22.0.0-alpha8",
42
+ "@vaadin/confirm-dialog": "22.0.0-alpha8",
43
+ "@vaadin/text-field": "22.0.0-alpha8",
44
44
  "@vaadin/vaadin-license-checker": "^2.1.0",
45
- "@vaadin/vaadin-lumo-styles": "22.0.0-alpha7",
46
- "@vaadin/vaadin-material-styles": "22.0.0-alpha7",
47
- "@vaadin/vaadin-themable-mixin": "22.0.0-alpha7"
45
+ "@vaadin/vaadin-lumo-styles": "22.0.0-alpha8",
46
+ "@vaadin/vaadin-material-styles": "22.0.0-alpha8",
47
+ "@vaadin/vaadin-themable-mixin": "22.0.0-alpha8"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@esm-bundle/chai": "^4.3.4",
@@ -54,5 +54,5 @@
54
54
  "gulp-iconfont": "^11.0.0",
55
55
  "sinon": "^9.2.1"
56
56
  },
57
- "gitHead": "8e89419c6b44a1d225d5859e180d7b35e47ddb52"
57
+ "gitHead": "c24468526298ee26ad7f7280b59f6c8789e1f75f"
58
58
  }
@@ -5,7 +5,52 @@
5
5
  */
6
6
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
7
7
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
8
- import { RichTextEditorEventMap, RichTextEditorI18n } from './interfaces';
8
+
9
+ export interface RichTextEditorI18n {
10
+ undo: string;
11
+ redo: string;
12
+ bold: string;
13
+ italic: string;
14
+ underline: string;
15
+ strike: string;
16
+ h1: string;
17
+ h2: string;
18
+ h3: string;
19
+ subscript: string;
20
+ superscript: string;
21
+ listOrdered: string;
22
+ listBullet: string;
23
+ alignLeft: string;
24
+ alignCenter: string;
25
+ alignRight: string;
26
+ image: string;
27
+ link: string;
28
+ blockquote: string;
29
+ codeBlock: string;
30
+ clean: string;
31
+ linkDialogTitle: string;
32
+ ok: string;
33
+ cancel: string;
34
+ remove: string;
35
+ }
36
+
37
+ /**
38
+ * Fired when the `htmlValue` property changes.
39
+ */
40
+ export type RichTextEditorHtmlValueChangedEvent = CustomEvent<{ value: string }>;
41
+
42
+ /**
43
+ * Fired when the `value` property changes.
44
+ */
45
+ export type RichTextEditorValueChangedEvent = CustomEvent<{ value: string }>;
46
+
47
+ export interface RichTextEditorCustomEventMap {
48
+ 'html-value-changed': RichTextEditorHtmlValueChangedEvent;
49
+
50
+ 'value-changed': RichTextEditorValueChangedEvent;
51
+ }
52
+
53
+ export interface RichTextEditorEventMap extends HTMLElementEventMap, RichTextEditorCustomEventMap {}
9
54
 
10
55
  /**
11
56
  * `<vaadin-rich-text-editor>` is a Web Component for rich text editing.
@@ -1,2 +1 @@
1
1
  export * from './src/vaadin-rich-text-editor.js';
2
- export * from './src/interfaces';
@@ -1,45 +0,0 @@
1
- export interface RichTextEditorI18n {
2
- undo: string;
3
- redo: string;
4
- bold: string;
5
- italic: string;
6
- underline: string;
7
- strike: string;
8
- h1: string;
9
- h2: string;
10
- h3: string;
11
- subscript: string;
12
- superscript: string;
13
- listOrdered: string;
14
- listBullet: string;
15
- alignLeft: string;
16
- alignCenter: string;
17
- alignRight: string;
18
- image: string;
19
- link: string;
20
- blockquote: string;
21
- codeBlock: string;
22
- clean: string;
23
- linkDialogTitle: string;
24
- ok: string;
25
- cancel: string;
26
- remove: string;
27
- }
28
-
29
- /**
30
- * Fired when the `htmlValue` property changes.
31
- */
32
- export type RichTextEditorHtmlValueChangedEvent = CustomEvent<{ value: string }>;
33
-
34
- /**
35
- * Fired when the `value` property changes.
36
- */
37
- export type RichTextEditorValueChangedEvent = CustomEvent<{ value: string }>;
38
-
39
- export interface RichTextEditorCustomEventMap {
40
- 'html-value-changed': RichTextEditorHtmlValueChangedEvent;
41
-
42
- 'value-changed': RichTextEditorValueChangedEvent;
43
- }
44
-
45
- export interface RichTextEditorEventMap extends HTMLElementEventMap, RichTextEditorCustomEventMap {}