@vaadin/tabs 23.1.0-rc1 → 23.1.0

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/tabs",
3
- "version": "23.1.0-rc1",
3
+ "version": "23.1.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,17 +34,17 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@polymer/polymer": "^3.0.0",
37
- "@vaadin/component-base": "23.1.0-rc1",
38
- "@vaadin/item": "23.1.0-rc1",
39
- "@vaadin/vaadin-list-mixin": "23.1.0-rc1",
40
- "@vaadin/vaadin-lumo-styles": "23.1.0-rc1",
41
- "@vaadin/vaadin-material-styles": "23.1.0-rc1",
42
- "@vaadin/vaadin-themable-mixin": "23.1.0-rc1"
37
+ "@vaadin/component-base": "^23.1.0",
38
+ "@vaadin/item": "^23.1.0",
39
+ "@vaadin/vaadin-list-mixin": "^23.1.0",
40
+ "@vaadin/vaadin-lumo-styles": "^23.1.0",
41
+ "@vaadin/vaadin-material-styles": "^23.1.0",
42
+ "@vaadin/vaadin-themable-mixin": "^23.1.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@esm-bundle/chai": "^4.3.4",
46
46
  "@vaadin/testing-helpers": "^0.3.2",
47
47
  "sinon": "^13.0.2"
48
48
  },
49
- "gitHead": "5ecb85e16e938df827fefca4bd2a665a1e29913e"
49
+ "gitHead": "322bba42b83f908a78cd972b06acadc5da95a69d"
50
50
  }
package/src/vaadin-tab.js CHANGED
@@ -37,7 +37,18 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
37
37
  */
38
38
  class Tab extends ElementMixin(ThemableMixin(ItemMixin(PolymerElement))) {
39
39
  static get template() {
40
- return html`<slot></slot>`;
40
+ return html`
41
+ <style>
42
+ :host {
43
+ display: block;
44
+ }
45
+
46
+ :host([hidden]) {
47
+ display: none !important;
48
+ }
49
+ </style>
50
+ <slot></slot>
51
+ `;
41
52
  }
42
53
 
43
54
  static get is() {
@@ -178,6 +178,7 @@ class Tabs extends ResizeMixin(ElementMixin(ListMixin(ThemableMixin(PolymerEleme
178
178
  });
179
179
  }
180
180
 
181
+ /** @protected */
181
182
  ready() {
182
183
  super.ready();
183
184
  this._scrollerElement.addEventListener('scroll', () => this._updateOverflow());