@vaadin/tabsheet 24.1.5 → 24.2.0-alpha10

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/tabsheet",
3
- "version": "24.1.5",
3
+ "version": "24.2.0-alpha10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,21 +36,21 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/component-base": "~24.1.5",
40
- "@vaadin/scroller": "~24.1.5",
41
- "@vaadin/tabs": "~24.1.5",
42
- "@vaadin/vaadin-lumo-styles": "~24.1.5",
43
- "@vaadin/vaadin-material-styles": "~24.1.5",
44
- "@vaadin/vaadin-themable-mixin": "~24.1.5"
39
+ "@vaadin/component-base": "24.2.0-alpha10",
40
+ "@vaadin/scroller": "24.2.0-alpha10",
41
+ "@vaadin/tabs": "24.2.0-alpha10",
42
+ "@vaadin/vaadin-lumo-styles": "24.2.0-alpha10",
43
+ "@vaadin/vaadin-material-styles": "24.2.0-alpha10",
44
+ "@vaadin/vaadin-themable-mixin": "24.2.0-alpha10"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@esm-bundle/chai": "^4.3.4",
48
- "@vaadin/testing-helpers": "^0.4.2",
48
+ "@vaadin/testing-helpers": "^0.5.0",
49
49
  "sinon": "^13.0.2"
50
50
  },
51
51
  "web-types": [
52
52
  "web-types.json",
53
53
  "web-types.lit.json"
54
54
  ],
55
- "gitHead": "2150f0696b9205ed3651033301927516b87cf88f"
55
+ "gitHead": "ca16b5f88b00ae05fb6d7c7e9874525048e389f0"
56
56
  }
@@ -4,13 +4,13 @@
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import './vaadin-tabsheet-scroller.js';
7
- import { FlattenedNodesObserver } from '@polymer/polymer/lib/utils/flattened-nodes-observer.js';
8
7
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
9
8
  import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js';
10
9
  import { DelegateStateMixin } from '@vaadin/component-base/src/delegate-state-mixin.js';
11
10
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
12
11
  import { OverflowController } from '@vaadin/component-base/src/overflow-controller.js';
13
12
  import { SlotController } from '@vaadin/component-base/src/slot-controller.js';
13
+ import { SlotObserver } from '@vaadin/component-base/src/slot-observer.js';
14
14
  import { generateUniqueId } from '@vaadin/component-base/src/unique-id-utils.js';
15
15
  import { Tabs } from '@vaadin/tabs/src/vaadin-tabs.js';
16
16
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
@@ -222,7 +222,7 @@ class TabSheet extends ControllerMixin(DelegateStateMixin(ElementMixin(ThemableM
222
222
 
223
223
  // Observe the panels slot for nodes. Set the assigned element nodes as the __panels array.
224
224
  const panelSlot = this.shadowRoot.querySelector('#panel-slot');
225
- this.__panelsObserver = new FlattenedNodesObserver(panelSlot, () => {
225
+ this.__panelsObserver = new SlotObserver(panelSlot, () => {
226
226
  this.__panels = Array.from(panelSlot.assignedNodes({ flatten: true })).filter(
227
227
  (node) => node.nodeType === Node.ELEMENT_NODE,
228
228
  );
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/tabsheet",
4
- "version": "24.1.5",
4
+ "version": "24.2.0-alpha10",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/tabsheet",
4
- "version": "24.1.5",
4
+ "version": "24.2.0-alpha10",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {