@vaadin/rich-text-editor 25.0.0-alpha8 → 25.0.0-alpha9
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 +13 -13
- package/src/vaadin-rich-text-editor-popup.js +6 -21
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/rich-text-editor",
|
|
3
|
-
"version": "25.0.0-
|
|
3
|
+
"version": "25.0.0-alpha9",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -38,20 +38,20 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
41
|
-
"@vaadin/button": "25.0.0-
|
|
42
|
-
"@vaadin/component-base": "25.0.0-
|
|
43
|
-
"@vaadin/confirm-dialog": "25.0.0-
|
|
44
|
-
"@vaadin/overlay": "25.0.0-
|
|
45
|
-
"@vaadin/text-field": "25.0.0-
|
|
46
|
-
"@vaadin/tooltip": "25.0.0-
|
|
47
|
-
"@vaadin/vaadin-lumo-styles": "25.0.0-
|
|
48
|
-
"@vaadin/vaadin-themable-mixin": "25.0.0-
|
|
41
|
+
"@vaadin/button": "25.0.0-alpha9",
|
|
42
|
+
"@vaadin/component-base": "25.0.0-alpha9",
|
|
43
|
+
"@vaadin/confirm-dialog": "25.0.0-alpha9",
|
|
44
|
+
"@vaadin/overlay": "25.0.0-alpha9",
|
|
45
|
+
"@vaadin/text-field": "25.0.0-alpha9",
|
|
46
|
+
"@vaadin/tooltip": "25.0.0-alpha9",
|
|
47
|
+
"@vaadin/vaadin-lumo-styles": "25.0.0-alpha9",
|
|
48
|
+
"@vaadin/vaadin-themable-mixin": "25.0.0-alpha9",
|
|
49
49
|
"lit": "^3.0.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@vaadin/a11y-base": "25.0.0-
|
|
53
|
-
"@vaadin/chai-plugins": "25.0.0-
|
|
54
|
-
"@vaadin/test-runner-commands": "25.0.0-
|
|
52
|
+
"@vaadin/a11y-base": "25.0.0-alpha9",
|
|
53
|
+
"@vaadin/chai-plugins": "25.0.0-alpha9",
|
|
54
|
+
"@vaadin/test-runner-commands": "25.0.0-alpha9",
|
|
55
55
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
56
56
|
"sinon": "^18.0.0"
|
|
57
57
|
},
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"web-types.json",
|
|
61
61
|
"web-types.lit.json"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "bbe4720721e0955ffc87a79b412bee38b1f0eb1e"
|
|
64
64
|
}
|
|
@@ -32,15 +32,16 @@ class RichTextEditorPopup extends PolylitMixin(LitElement) {
|
|
|
32
32
|
|
|
33
33
|
static get styles() {
|
|
34
34
|
return css`
|
|
35
|
-
:host {
|
|
36
|
-
display: none !important;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
35
|
:host([opened]),
|
|
40
36
|
:host([opening]),
|
|
41
37
|
:host([closing]) {
|
|
42
38
|
display: contents !important;
|
|
43
39
|
}
|
|
40
|
+
|
|
41
|
+
:host,
|
|
42
|
+
:host([hidden]) {
|
|
43
|
+
display: none !important;
|
|
44
|
+
}
|
|
44
45
|
`;
|
|
45
46
|
}
|
|
46
47
|
|
|
@@ -70,7 +71,7 @@ class RichTextEditorPopup extends PolylitMixin(LitElement) {
|
|
|
70
71
|
render() {
|
|
71
72
|
return html`
|
|
72
73
|
<vaadin-rich-text-editor-popup-overlay
|
|
73
|
-
|
|
74
|
+
id="overlay"
|
|
74
75
|
.owner="${this}"
|
|
75
76
|
.opened="${this.opened}"
|
|
76
77
|
.positionTarget="${this.target}"
|
|
@@ -163,22 +164,6 @@ class RichTextEditorPopupOverlay extends PositionMixin(
|
|
|
163
164
|
`;
|
|
164
165
|
}
|
|
165
166
|
|
|
166
|
-
/**
|
|
167
|
-
* @protected
|
|
168
|
-
* @override
|
|
169
|
-
*/
|
|
170
|
-
_attachOverlay() {
|
|
171
|
-
this.showPopover();
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* @protected
|
|
176
|
-
* @override
|
|
177
|
-
*/
|
|
178
|
-
_detachOverlay() {
|
|
179
|
-
this.hidePopover();
|
|
180
|
-
}
|
|
181
|
-
|
|
182
167
|
/**
|
|
183
168
|
* Override method from OverlayFocusMixin to use owner as content root
|
|
184
169
|
* @protected
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED