@vaadin/tabs 25.0.0-alpha7 → 25.0.0-alpha9

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": "25.0.0-alpha7",
3
+ "version": "25.0.0-alpha9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,16 +37,16 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@open-wc/dedupe-mixin": "^1.3.0",
40
- "@vaadin/a11y-base": "25.0.0-alpha7",
41
- "@vaadin/component-base": "25.0.0-alpha7",
42
- "@vaadin/item": "25.0.0-alpha7",
43
- "@vaadin/vaadin-lumo-styles": "25.0.0-alpha7",
44
- "@vaadin/vaadin-themable-mixin": "25.0.0-alpha7",
40
+ "@vaadin/a11y-base": "25.0.0-alpha9",
41
+ "@vaadin/component-base": "25.0.0-alpha9",
42
+ "@vaadin/item": "25.0.0-alpha9",
43
+ "@vaadin/vaadin-lumo-styles": "25.0.0-alpha9",
44
+ "@vaadin/vaadin-themable-mixin": "25.0.0-alpha9",
45
45
  "lit": "^3.0.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@vaadin/chai-plugins": "25.0.0-alpha7",
49
- "@vaadin/test-runner-commands": "25.0.0-alpha7",
48
+ "@vaadin/chai-plugins": "25.0.0-alpha9",
49
+ "@vaadin/test-runner-commands": "25.0.0-alpha9",
50
50
  "@vaadin/testing-helpers": "^2.0.0",
51
51
  "sinon": "^18.0.0"
52
52
  },
@@ -54,5 +54,5 @@
54
54
  "web-types.json",
55
55
  "web-types.lit.json"
56
56
  ],
57
- "gitHead": "87f72707ce6866892f8be5782fa0da008e87dcbc"
57
+ "gitHead": "bbe4720721e0955ffc87a79b412bee38b1f0eb1e"
58
58
  }
@@ -7,87 +7,85 @@ import '@vaadin/component-base/src/style-props.js';
7
7
  import { css } from 'lit';
8
8
 
9
9
  export const tabStyles = css`
10
- @layer base {
11
- :host {
12
- flex-shrink: 0;
13
- display: flex;
14
- align-items: center;
15
- justify-content: center;
16
- gap: var(--vaadin-tab-gap, var(--vaadin-gap-container-inline));
17
- padding: var(--vaadin-tab-padding, var(--vaadin-padding-container));
18
- cursor: var(--vaadin-clickable-cursor);
19
- font-size: var(--vaadin-tab-font-size, 1em);
20
- font-weight: var(--vaadin-tab-font-weight, 500);
21
- line-height: var(--vaadin-tab-line-height, inherit);
22
- color: var(--vaadin-tab-color, var(--vaadin-color-subtle));
23
- background: var(--vaadin-tab-background, transparent);
24
- border-radius: var(--vaadin-tab-border-radius, var(--vaadin-radius-m));
25
- -webkit-tap-highlight-color: transparent;
26
- -webkit-user-select: none;
27
- user-select: none;
28
- touch-action: manipulation;
29
- position: relative;
30
- }
10
+ :host {
11
+ flex-shrink: 0;
12
+ display: flex;
13
+ align-items: center;
14
+ justify-content: center;
15
+ gap: var(--vaadin-tab-gap, var(--vaadin-gap-container-inline));
16
+ padding: var(--vaadin-tab-padding, var(--vaadin-padding-container));
17
+ cursor: var(--vaadin-clickable-cursor);
18
+ font-size: var(--vaadin-tab-font-size, 1em);
19
+ font-weight: var(--vaadin-tab-font-weight, 500);
20
+ line-height: var(--vaadin-tab-line-height, inherit);
21
+ color: var(--vaadin-tab-color, var(--vaadin-color-subtle));
22
+ background: var(--vaadin-tab-background, transparent);
23
+ border-radius: var(--vaadin-tab-border-radius, var(--vaadin-radius-m));
24
+ -webkit-tap-highlight-color: transparent;
25
+ -webkit-user-select: none;
26
+ user-select: none;
27
+ touch-action: manipulation;
28
+ position: relative;
29
+ }
31
30
 
32
- :host([hidden]) {
33
- display: none !important;
34
- }
31
+ :host([hidden]) {
32
+ display: none !important;
33
+ }
35
34
 
36
- :host([orientation='vertical']) {
37
- justify-content: start;
38
- }
35
+ :host([orientation='vertical']) {
36
+ justify-content: start;
37
+ }
39
38
 
40
- :host([selected]) {
41
- --vaadin-tab-background: var(--vaadin-background-container);
42
- --vaadin-tab-color: var(--vaadin-color);
43
- }
39
+ :host([selected]) {
40
+ --vaadin-tab-background: var(--vaadin-background-container);
41
+ --vaadin-tab-color: var(--vaadin-color);
42
+ }
44
43
 
45
- :host([disabled]) {
46
- cursor: var(--vaadin-disabled-cursor);
47
- opacity: 0.5;
48
- }
44
+ :host([disabled]) {
45
+ cursor: var(--vaadin-disabled-cursor);
46
+ opacity: 0.5;
47
+ }
49
48
 
50
- :host(:is([focus-ring], :focus-visible)) {
51
- outline: var(--vaadin-focus-ring-width) solid var(--vaadin-focus-ring-color);
52
- outline-offset: calc(var(--vaadin-focus-ring-width) * -1);
53
- }
49
+ :host(:is([focus-ring], :focus-visible)) {
50
+ outline: var(--vaadin-focus-ring-width) solid var(--vaadin-focus-ring-color);
51
+ outline-offset: calc(var(--vaadin-focus-ring-width) * -1);
52
+ }
54
53
 
55
- slot {
56
- gap: inherit;
57
- align-items: inherit;
58
- justify-content: inherit;
59
- }
54
+ slot {
55
+ gap: inherit;
56
+ align-items: inherit;
57
+ justify-content: inherit;
58
+ }
60
59
 
61
- ::slotted(a) {
62
- color: inherit;
63
- cursor: inherit;
64
- text-decoration: inherit;
65
- display: flex;
66
- align-items: inherit;
67
- justify-content: inherit;
68
- gap: inherit;
69
- }
60
+ ::slotted(a) {
61
+ color: inherit;
62
+ cursor: inherit;
63
+ text-decoration: inherit;
64
+ display: flex;
65
+ align-items: inherit;
66
+ justify-content: inherit;
67
+ gap: inherit;
68
+ }
70
69
 
71
- ::slotted(a)::before {
72
- content: '';
73
- position: absolute;
74
- inset: 0;
75
- }
70
+ ::slotted(a)::before {
71
+ content: '';
72
+ position: absolute;
73
+ inset: 0;
74
+ }
76
75
 
77
- @media (forced-colors: active) {
78
- :host {
79
- border: 1px solid Canvas;
80
- }
76
+ @media (forced-colors: active) {
77
+ :host {
78
+ border: 1px solid Canvas;
79
+ }
81
80
 
82
- :host([selected]) {
83
- color: Highlight;
84
- border-color: Highlight;
85
- }
81
+ :host([selected]) {
82
+ color: Highlight;
83
+ border-color: Highlight;
84
+ }
86
85
 
87
- :host([disabled]) {
88
- color: GrayText;
89
- opacity: 1;
90
- }
86
+ :host([disabled]) {
87
+ color: GrayText;
88
+ opacity: 1;
91
89
  }
92
90
  }
93
91
  `;
@@ -7,100 +7,98 @@ import '@vaadin/component-base/src/style-props.js';
7
7
  import { css } from 'lit';
8
8
 
9
9
  export const tabsStyles = css`
10
- @layer base {
11
- :host {
12
- display: flex;
13
- max-width: 100%;
14
- max-height: 100%;
15
- position: relative;
16
- }
10
+ :host {
11
+ display: flex;
12
+ max-width: 100%;
13
+ max-height: 100%;
14
+ position: relative;
15
+ }
17
16
 
18
- :host([hidden]) {
19
- display: none !important;
20
- }
17
+ :host([hidden]) {
18
+ display: none !important;
19
+ }
21
20
 
22
- :host([orientation='vertical']) {
23
- flex-direction: column;
24
- }
21
+ :host([orientation='vertical']) {
22
+ flex-direction: column;
23
+ }
25
24
 
26
- [part='tabs'] {
27
- flex: 1;
28
- overflow: auto;
29
- overscroll-behavior: contain;
30
- display: flex;
31
- flex-direction: column;
32
- gap: var(--vaadin-tabs-gap, var(--vaadin-gap-container-inline));
33
- }
25
+ [part='tabs'] {
26
+ flex: 1;
27
+ overflow: auto;
28
+ overscroll-behavior: contain;
29
+ display: flex;
30
+ flex-direction: column;
31
+ gap: var(--vaadin-tabs-gap, var(--vaadin-gap-container-inline));
32
+ }
34
33
 
35
- :host([orientation='horizontal']) [part='tabs'] {
36
- flex-direction: row;
37
- scrollbar-width: none;
38
- }
34
+ :host([orientation='horizontal']) [part='tabs'] {
35
+ flex-direction: row;
36
+ scrollbar-width: none;
37
+ }
39
38
 
40
- /* scrollbar-width is supported in Safari 18.2, use the following for earlier */
41
- :host([orientation='horizontal']) [part='tabs']::-webkit-scrollbar {
42
- display: none;
43
- }
39
+ /* scrollbar-width is supported in Safari 18.2, use the following for earlier */
40
+ :host([orientation='horizontal']) [part='tabs']::-webkit-scrollbar {
41
+ display: none;
42
+ }
44
43
 
45
- [part$='button'] {
46
- position: absolute;
47
- z-index: 1;
48
- pointer-events: none;
49
- opacity: 0;
50
- cursor: var(--vaadin-clickable-cursor);
51
- box-sizing: border-box;
52
- height: 100%;
53
- padding: var(--vaadin-tab-padding, var(--vaadin-padding-container));
54
- background: var(--vaadin-background-color);
55
- display: flex;
56
- align-items: center;
57
- justify-content: center;
58
- -webkit-tap-highlight-color: transparent;
59
- touch-action: manipulation;
60
- }
44
+ [part$='button'] {
45
+ position: absolute;
46
+ z-index: 1;
47
+ pointer-events: none;
48
+ opacity: 0;
49
+ cursor: var(--vaadin-clickable-cursor);
50
+ box-sizing: border-box;
51
+ height: 100%;
52
+ padding: var(--vaadin-tab-padding, var(--vaadin-padding-container));
53
+ background: var(--vaadin-background-color);
54
+ display: flex;
55
+ align-items: center;
56
+ justify-content: center;
57
+ -webkit-tap-highlight-color: transparent;
58
+ touch-action: manipulation;
59
+ }
61
60
 
62
- [part='forward-button'] {
63
- inset-inline-end: 0;
64
- }
61
+ [part='forward-button'] {
62
+ inset-inline-end: 0;
63
+ }
65
64
 
66
- :host([overflow~='start']) [part='back-button'],
67
- :host([overflow~='end']) [part='forward-button'] {
68
- pointer-events: auto;
69
- opacity: 1;
70
- }
65
+ :host([overflow~='start']) [part='back-button'],
66
+ :host([overflow~='end']) [part='forward-button'] {
67
+ pointer-events: auto;
68
+ opacity: 1;
69
+ }
71
70
 
72
- [part$='button']::before {
73
- content: '';
74
- display: block;
75
- width: var(--vaadin-icon-size, 1lh);
76
- height: var(--vaadin-icon-size, 1lh);
77
- background: currentColor;
78
- mask-image: var(--_vaadin-icon-chevron-down);
79
- rotate: 90deg;
80
- }
71
+ [part$='button']::before {
72
+ content: '';
73
+ display: block;
74
+ width: var(--vaadin-icon-size, 1lh);
75
+ height: var(--vaadin-icon-size, 1lh);
76
+ background: currentColor;
77
+ mask-image: var(--_vaadin-icon-chevron-down);
78
+ rotate: 90deg;
79
+ }
81
80
 
82
- [part='forward-button']::before {
83
- rotate: -90deg;
84
- }
81
+ [part='forward-button']::before {
82
+ rotate: -90deg;
83
+ }
85
84
 
86
- :host(:is([orientation='vertical'], [theme~='hide-scroll-buttons'])) [part$='button'] {
87
- display: none;
88
- }
85
+ :host(:is([orientation='vertical'], [theme~='hide-scroll-buttons'])) [part$='button'] {
86
+ display: none;
87
+ }
89
88
 
90
- @media (pointer: coarse) {
91
- :host(:not([theme~='show-scroll-buttons'])) [part$='button'] {
92
- display: none;
93
- }
89
+ @media (pointer: coarse) {
90
+ :host(:not([theme~='show-scroll-buttons'])) [part$='button'] {
91
+ display: none;
94
92
  }
93
+ }
95
94
 
96
- :host([dir='rtl']) [part$='button']::before {
97
- scale: 1 -1;
98
- }
95
+ :host([dir='rtl']) [part$='button']::before {
96
+ scale: 1 -1;
97
+ }
99
98
 
100
- @media (forced-colors: active) {
101
- [part$='button']::before {
102
- background: CanvasText;
103
- }
99
+ @media (forced-colors: active) {
100
+ [part$='button']::before {
101
+ background: CanvasText;
104
102
  }
105
103
  }
106
104
  `;
@@ -10,10 +10,8 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
10
10
  /**
11
11
  * `<vaadin-tab>` is a Web Component providing an accessible and customizable tab.
12
12
  *
13
- * ```
14
- * <vaadin-tab>
15
- * Tab 1
16
- * </vaadin-tab>
13
+ * ```html
14
+ * <vaadin-tab>Tab 1</vaadin-tab>
17
15
  * ```
18
16
  *
19
17
  * The following state attributes are available for styling:
package/src/vaadin-tab.js CHANGED
@@ -16,10 +16,8 @@ import { tabStyles } from './styles/vaadin-tab-core-styles.js';
16
16
  /**
17
17
  * `<vaadin-tab>` is a Web Component providing an accessible and customizable tab.
18
18
  *
19
- * ```
20
- * <vaadin-tab>
21
- * Tab 1
22
- * </vaadin-tab>
19
+ * ```html
20
+ * <vaadin-tab>Tab 1</vaadin-tab>
23
21
  * ```
24
22
  *
25
23
  * The following state attributes are available for styling:
@@ -41,7 +39,7 @@ import { tabStyles } from './styles/vaadin-tab-core-styles.js';
41
39
  * @mixes ItemMixin
42
40
  * @mixes ThemableMixin
43
41
  */
44
- class Tab extends ItemMixin(ThemableMixin(ElementMixin(LumoInjectionMixin(PolylitMixin(LitElement))))) {
42
+ class Tab extends ItemMixin(ThemableMixin(ElementMixin(PolylitMixin(LumoInjectionMixin(LitElement))))) {
45
43
  static get is() {
46
44
  return 'vaadin-tab';
47
45
  }
@@ -30,13 +30,13 @@ export interface TabsEventMap extends HTMLElementEventMap, TabsCustomEventMap {}
30
30
  /**
31
31
  * `<vaadin-tabs>` is a Web Component for organizing and grouping content into sections.
32
32
  *
33
- * ```
34
- * <vaadin-tabs selected="4">
35
- * <vaadin-tab>Page 1</vaadin-tab>
36
- * <vaadin-tab>Page 2</vaadin-tab>
37
- * <vaadin-tab>Page 3</vaadin-tab>
38
- * <vaadin-tab>Page 4</vaadin-tab>
39
- * </vaadin-tabs>
33
+ * ```html
34
+ * <vaadin-tabs selected="4">
35
+ * <vaadin-tab>Page 1</vaadin-tab>
36
+ * <vaadin-tab>Page 2</vaadin-tab>
37
+ * <vaadin-tab>Page 3</vaadin-tab>
38
+ * <vaadin-tab>Page 4</vaadin-tab>
39
+ * </vaadin-tabs>
40
40
  * ```
41
41
  *
42
42
  * ### Styling
@@ -16,13 +16,13 @@ import { TabsMixin } from './vaadin-tabs-mixin.js';
16
16
  /**
17
17
  * `<vaadin-tabs>` is a Web Component for organizing and grouping content into sections.
18
18
  *
19
- * ```
20
- * <vaadin-tabs selected="4">
21
- * <vaadin-tab>Page 1</vaadin-tab>
22
- * <vaadin-tab>Page 2</vaadin-tab>
23
- * <vaadin-tab>Page 3</vaadin-tab>
24
- * <vaadin-tab>Page 4</vaadin-tab>
25
- * </vaadin-tabs>
19
+ * ```html
20
+ * <vaadin-tabs selected="4">
21
+ * <vaadin-tab>Page 1</vaadin-tab>
22
+ * <vaadin-tab>Page 2</vaadin-tab>
23
+ * <vaadin-tab>Page 3</vaadin-tab>
24
+ * <vaadin-tab>Page 4</vaadin-tab>
25
+ * </vaadin-tabs>
26
26
  * ```
27
27
  *
28
28
  * ### Styling
@@ -53,7 +53,7 @@ import { TabsMixin } from './vaadin-tabs-mixin.js';
53
53
  * @mixes TabsMixin
54
54
  * @mixes ThemableMixin
55
55
  */
56
- class Tabs extends TabsMixin(ElementMixin(ThemableMixin(LumoInjectionMixin(PolylitMixin(LitElement))))) {
56
+ class Tabs extends TabsMixin(ElementMixin(ThemableMixin(PolylitMixin(LumoInjectionMixin(LitElement))))) {
57
57
  static get is() {
58
58
  return 'vaadin-tabs';
59
59
  }
package/web-types.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/tabs",
4
- "version": "25.0.0-alpha7",
4
+ "version": "25.0.0-alpha9",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "vaadin-tab",
11
- "description": "`<vaadin-tab>` is a Web Component providing an accessible and customizable tab.\n\n```\n <vaadin-tab>\n Tab 1\n </vaadin-tab>\n```\n\nThe following state attributes are available for styling:\n\nAttribute | Description | Part name\n-----------|-------------|------------\n`disabled` | Set to a disabled tab | :host\n`focused` | Set when the element is focused | :host\n`focus-ring` | Set when the element is keyboard focused | :host\n`selected` | Set when the tab is selected | :host\n`active` | Set when mousedown or enter/spacebar pressed | :host\n`orientation` | Set to `horizontal` or `vertical` depending on the direction of items | :host\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
11
+ "description": "`<vaadin-tab>` is a Web Component providing an accessible and customizable tab.\n\n```html\n<vaadin-tab>Tab 1</vaadin-tab>\n```\n\nThe following state attributes are available for styling:\n\nAttribute | Description | Part name\n-----------|-------------|------------\n`disabled` | Set to a disabled tab | :host\n`focused` | Set when the element is focused | :host\n`focus-ring` | Set when the element is keyboard focused | :host\n`selected` | Set when the tab is selected | :host\n`active` | Set when mousedown or enter/spacebar pressed | :host\n`orientation` | Set to `horizontal` or `vertical` depending on the direction of items | :host\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
12
12
  "attributes": [
13
13
  {
14
14
  "name": "disabled",
@@ -79,7 +79,7 @@
79
79
  },
80
80
  {
81
81
  "name": "vaadin-tabs",
82
- "description": "`<vaadin-tabs>` is a Web Component for organizing and grouping content into sections.\n\n```\n <vaadin-tabs selected=\"4\">\n <vaadin-tab>Page 1</vaadin-tab>\n <vaadin-tab>Page 2</vaadin-tab>\n <vaadin-tab>Page 3</vaadin-tab>\n <vaadin-tab>Page 4</vaadin-tab>\n </vaadin-tabs>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n------------------|--------------------------------------\n`back-button` | Button for moving the scroll back\n`tabs` | The tabs container\n`forward-button` | Button for moving the scroll forward\n\nThe following state attributes are available for styling:\n\nAttribute | Description | Part name\n-----------|-------------|------------\n`orientation` | Tabs disposition, valid values are `horizontal` and `vertical`. | :host\n`overflow` | It's set to `start`, `end`, none or both. | :host\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
82
+ "description": "`<vaadin-tabs>` is a Web Component for organizing and grouping content into sections.\n\n```html\n<vaadin-tabs selected=\"4\">\n <vaadin-tab>Page 1</vaadin-tab>\n <vaadin-tab>Page 2</vaadin-tab>\n <vaadin-tab>Page 3</vaadin-tab>\n <vaadin-tab>Page 4</vaadin-tab>\n</vaadin-tabs>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n------------------|--------------------------------------\n`back-button` | Button for moving the scroll back\n`tabs` | The tabs container\n`forward-button` | Button for moving the scroll forward\n\nThe following state attributes are available for styling:\n\nAttribute | Description | Part name\n-----------|-------------|------------\n`orientation` | Tabs disposition, valid values are `horizontal` and `vertical`. | :host\n`overflow` | It's set to `start`, `end`, none or both. | :host\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
83
83
  "attributes": [
84
84
  {
85
85
  "name": "disabled",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/tabs",
4
- "version": "25.0.0-alpha7",
4
+ "version": "25.0.0-alpha9",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -16,7 +16,7 @@
16
16
  "elements": [
17
17
  {
18
18
  "name": "vaadin-tab",
19
- "description": "`<vaadin-tab>` is a Web Component providing an accessible and customizable tab.\n\n```\n <vaadin-tab>\n Tab 1\n </vaadin-tab>\n```\n\nThe following state attributes are available for styling:\n\nAttribute | Description | Part name\n-----------|-------------|------------\n`disabled` | Set to a disabled tab | :host\n`focused` | Set when the element is focused | :host\n`focus-ring` | Set when the element is keyboard focused | :host\n`selected` | Set when the tab is selected | :host\n`active` | Set when mousedown or enter/spacebar pressed | :host\n`orientation` | Set to `horizontal` or `vertical` depending on the direction of items | :host\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
19
+ "description": "`<vaadin-tab>` is a Web Component providing an accessible and customizable tab.\n\n```html\n<vaadin-tab>Tab 1</vaadin-tab>\n```\n\nThe following state attributes are available for styling:\n\nAttribute | Description | Part name\n-----------|-------------|------------\n`disabled` | Set to a disabled tab | :host\n`focused` | Set when the element is focused | :host\n`focus-ring` | Set when the element is keyboard focused | :host\n`selected` | Set when the tab is selected | :host\n`active` | Set when mousedown or enter/spacebar pressed | :host\n`orientation` | Set to `horizontal` or `vertical` depending on the direction of items | :host\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
20
20
  "extension": true,
21
21
  "attributes": [
22
22
  {
@@ -44,7 +44,7 @@
44
44
  },
45
45
  {
46
46
  "name": "vaadin-tabs",
47
- "description": "`<vaadin-tabs>` is a Web Component for organizing and grouping content into sections.\n\n```\n <vaadin-tabs selected=\"4\">\n <vaadin-tab>Page 1</vaadin-tab>\n <vaadin-tab>Page 2</vaadin-tab>\n <vaadin-tab>Page 3</vaadin-tab>\n <vaadin-tab>Page 4</vaadin-tab>\n </vaadin-tabs>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n------------------|--------------------------------------\n`back-button` | Button for moving the scroll back\n`tabs` | The tabs container\n`forward-button` | Button for moving the scroll forward\n\nThe following state attributes are available for styling:\n\nAttribute | Description | Part name\n-----------|-------------|------------\n`orientation` | Tabs disposition, valid values are `horizontal` and `vertical`. | :host\n`overflow` | It's set to `start`, `end`, none or both. | :host\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
47
+ "description": "`<vaadin-tabs>` is a Web Component for organizing and grouping content into sections.\n\n```html\n<vaadin-tabs selected=\"4\">\n <vaadin-tab>Page 1</vaadin-tab>\n <vaadin-tab>Page 2</vaadin-tab>\n <vaadin-tab>Page 3</vaadin-tab>\n <vaadin-tab>Page 4</vaadin-tab>\n</vaadin-tabs>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n------------------|--------------------------------------\n`back-button` | Button for moving the scroll back\n`tabs` | The tabs container\n`forward-button` | Button for moving the scroll forward\n\nThe following state attributes are available for styling:\n\nAttribute | Description | Part name\n-----------|-------------|------------\n`orientation` | Tabs disposition, valid values are `horizontal` and `vertical`. | :host\n`overflow` | It's set to `start`, `end`, none or both. | :host\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
48
48
  "extension": true,
49
49
  "attributes": [
50
50
  {