@vaadin/split-layout 23.0.0-beta1 → 23.0.0-beta5
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 +6 -6
- package/src/vaadin-split-layout.js +11 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/split-layout",
|
|
3
|
-
"version": "23.0.0-
|
|
3
|
+
"version": "23.0.0-beta5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@polymer/polymer": "^3.0.0",
|
|
37
|
-
"@vaadin/component-base": "23.0.0-
|
|
38
|
-
"@vaadin/vaadin-lumo-styles": "23.0.0-
|
|
39
|
-
"@vaadin/vaadin-material-styles": "23.0.0-
|
|
40
|
-
"@vaadin/vaadin-themable-mixin": "23.0.0-
|
|
37
|
+
"@vaadin/component-base": "23.0.0-beta5",
|
|
38
|
+
"@vaadin/vaadin-lumo-styles": "23.0.0-beta5",
|
|
39
|
+
"@vaadin/vaadin-material-styles": "23.0.0-beta5",
|
|
40
|
+
"@vaadin/vaadin-themable-mixin": "23.0.0-beta5"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@esm-bundle/chai": "^4.3.4",
|
|
44
44
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
45
45
|
"sinon": "^9.2.1"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "4c388aeec6623869c70896c909799804fc95d0f9"
|
|
48
48
|
}
|
|
@@ -236,7 +236,10 @@ class SplitLayout extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
236
236
|
/** @protected */
|
|
237
237
|
ready() {
|
|
238
238
|
super.ready();
|
|
239
|
-
this.__observer = new FlattenedNodesObserver(this,
|
|
239
|
+
this.__observer = new FlattenedNodesObserver(this, (info) => {
|
|
240
|
+
this._cleanupNodes(info.removedNodes);
|
|
241
|
+
this._processChildren();
|
|
242
|
+
});
|
|
240
243
|
|
|
241
244
|
const splitter = this.$.splitter;
|
|
242
245
|
addListener(splitter, 'track', this._onHandleTrack.bind(this));
|
|
@@ -244,6 +247,13 @@ class SplitLayout extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
244
247
|
addListener(splitter, 'up', this._restorePointerEvents.bind(this));
|
|
245
248
|
}
|
|
246
249
|
|
|
250
|
+
/** @private */
|
|
251
|
+
_cleanupNodes(nodes) {
|
|
252
|
+
nodes.forEach((node) => {
|
|
253
|
+
node.removeAttribute('slot');
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
|
|
247
257
|
/** @private */
|
|
248
258
|
_processChildren() {
|
|
249
259
|
[...this.children].forEach((child, i) => {
|