@vaadin/split-layout 22.0.1 → 22.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/split-layout",
3
- "version": "22.0.1",
3
+ "version": "22.0.5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,15 +34,15 @@
34
34
  "dependencies": {
35
35
  "@polymer/iron-resizable-behavior": "^3.0.0",
36
36
  "@polymer/polymer": "^3.0.0",
37
- "@vaadin/component-base": "^22.0.1",
38
- "@vaadin/vaadin-lumo-styles": "^22.0.1",
39
- "@vaadin/vaadin-material-styles": "^22.0.1",
40
- "@vaadin/vaadin-themable-mixin": "^22.0.1"
37
+ "@vaadin/component-base": "^22.0.5",
38
+ "@vaadin/vaadin-lumo-styles": "^22.0.5",
39
+ "@vaadin/vaadin-material-styles": "^22.0.5",
40
+ "@vaadin/vaadin-themable-mixin": "^22.0.5"
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": "2b0a2bff0369d6020f7cc33ad35506aa2d1f6f68"
47
+ "gitHead": "3e1990867670f3de2dec6fa1200d945623b2710c"
48
48
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 Vaadin Ltd.
3
+ * Copyright (c) 2016 - 2022 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { GestureEventListeners } from '@polymer/polymer/lib/mixins/gesture-event-listeners.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 Vaadin Ltd.
3
+ * Copyright (c) 2016 - 2022 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { IronResizableBehavior } from '@polymer/iron-resizable-behavior/iron-resizable-behavior.js';
@@ -247,7 +247,17 @@ class SplitLayout extends ElementMixin(
247
247
  /** @protected */
248
248
  ready() {
249
249
  super.ready();
250
- this.__observer = new FlattenedNodesObserver(this, this._processChildren);
250
+ this.__observer = new FlattenedNodesObserver(this, (info) => {
251
+ this._cleanupNodes(info.removedNodes);
252
+ this._processChildren();
253
+ });
254
+ }
255
+
256
+ /** @private */
257
+ _cleanupNodes(nodes) {
258
+ nodes.forEach((node) => {
259
+ node.removeAttribute('slot');
260
+ });
251
261
  }
252
262
 
253
263
  /** @private */