@vaadin/tabs 23.0.10 → 23.0.13

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.
Files changed (2) hide show
  1. package/package.json +8 -8
  2. package/src/vaadin-tab.js +12 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/tabs",
3
- "version": "23.0.10",
3
+ "version": "23.0.13",
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.0.10",
38
- "@vaadin/item": "^23.0.10",
39
- "@vaadin/vaadin-list-mixin": "^23.0.10",
40
- "@vaadin/vaadin-lumo-styles": "^23.0.10",
41
- "@vaadin/vaadin-material-styles": "^23.0.10",
42
- "@vaadin/vaadin-themable-mixin": "^23.0.10"
37
+ "@vaadin/component-base": "^23.0.13",
38
+ "@vaadin/item": "^23.0.13",
39
+ "@vaadin/vaadin-list-mixin": "^23.0.13",
40
+ "@vaadin/vaadin-lumo-styles": "^23.0.13",
41
+ "@vaadin/vaadin-material-styles": "^23.0.13",
42
+ "@vaadin/vaadin-themable-mixin": "^23.0.13"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@esm-bundle/chai": "^4.3.4",
46
46
  "@vaadin/testing-helpers": "^0.3.2",
47
47
  "sinon": "^9.2.1"
48
48
  },
49
- "gitHead": "e8402a55ce0e823ae6da5c97486998cfd931b1d3"
49
+ "gitHead": "e915550ec6400b5eae6c779fe0afeb1931399312"
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() {