@vaadin/tabsheet 25.1.0-alpha6 → 25.1.0-alpha7

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.
@@ -0,0 +1,200 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "vaadin-tabsheet.js",
8
+ "declarations": [],
9
+ "exports": [
10
+ {
11
+ "kind": "js",
12
+ "name": "*",
13
+ "declaration": {
14
+ "name": "*",
15
+ "module": "src/vaadin-tabsheet.js"
16
+ }
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "kind": "javascript-module",
22
+ "path": "src/vaadin-tabsheet-mixin.js",
23
+ "declarations": [
24
+ {
25
+ "kind": "mixin",
26
+ "description": "",
27
+ "name": "TabSheetMixin",
28
+ "members": [
29
+ {
30
+ "kind": "field",
31
+ "name": "items",
32
+ "privacy": "public",
33
+ "type": {
34
+ "text": "!Array<!Tab> | undefined"
35
+ },
36
+ "description": "A read-only list of `<vaadin-tab>`s from which a selection can be made.\nIt is populated from the elements passed inside the slotted\n`<vaadin-tabs>`, and updated dynamically when adding or removing items.",
37
+ "attribute": "items"
38
+ },
39
+ {
40
+ "kind": "field",
41
+ "name": "selected",
42
+ "privacy": "public",
43
+ "type": {
44
+ "text": "number"
45
+ },
46
+ "description": "The index of the selected tab.",
47
+ "attribute": "selected"
48
+ }
49
+ ],
50
+ "attributes": [
51
+ {
52
+ "name": "selected",
53
+ "type": {
54
+ "text": "number"
55
+ },
56
+ "description": "The index of the selected tab.",
57
+ "fieldName": "selected"
58
+ }
59
+ ],
60
+ "mixins": [
61
+ {
62
+ "name": "DelegateStateMixin",
63
+ "package": "@vaadin/component-base/src/delegate-state-mixin.js"
64
+ }
65
+ ],
66
+ "parameters": [
67
+ {
68
+ "name": "superClass"
69
+ }
70
+ ]
71
+ }
72
+ ],
73
+ "exports": [
74
+ {
75
+ "kind": "js",
76
+ "name": "TabSheetMixin",
77
+ "declaration": {
78
+ "name": "TabSheetMixin",
79
+ "module": "src/vaadin-tabsheet-mixin.js"
80
+ }
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "kind": "javascript-module",
86
+ "path": "src/vaadin-tabsheet-scroller.js",
87
+ "declarations": [],
88
+ "exports": []
89
+ },
90
+ {
91
+ "kind": "javascript-module",
92
+ "path": "src/vaadin-tabsheet.js",
93
+ "declarations": [
94
+ {
95
+ "kind": "class",
96
+ "description": "`<vaadin-tabsheet>` is a Web Component for organizing and grouping content\ninto scrollable panels. The panels can be switched between by using tabs.\n\n```html\n<vaadin-tabsheet>\n <div slot=\"prefix\">Prefix</div>\n <div slot=\"suffix\">Suffix</div>\n\n <vaadin-tabs slot=\"tabs\">\n <vaadin-tab id=\"tab-1\">Tab 1</vaadin-tab>\n <vaadin-tab id=\"tab-2\">Tab 2</vaadin-tab>\n <vaadin-tab id=\"tab-3\">Tab 3</vaadin-tab>\n </vaadin-tabs>\n\n <div tab=\"tab-1\">Panel 1</div>\n <div tab=\"tab-2\">Panel 2</div>\n <div tab=\"tab-3\">Panel 3</div>\n</vaadin-tabsheet>\n```\n\n### Styling\n\nThe following shadow DOM parts are exposed for styling:\n\nPart name | Description\n--------- | ---------------\n`tabs-container` | The container for the slotted prefix, tabs and suffix\n`content` | The container for the slotted panels\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n------------------|-------------\n`loading` | Set when a tab without associated content is selected\n`overflow` | Set to `top`, `bottom`, `start`, `end`, all of them, or none.\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:------------------------------------|\n| `--vaadin-tabsheet-border-color` |\n| `--vaadin-tabsheet-border-radius` |\n| `--vaadin-tabsheet-border-width` |\n| `--vaadin-tabsheet-gap` |\n| `--vaadin-tabsheet-padding` |\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
97
+ "name": "TabSheet",
98
+ "members": [
99
+ {
100
+ "kind": "field",
101
+ "name": "items",
102
+ "privacy": "public",
103
+ "type": {
104
+ "text": "!Array<!Tab> | undefined"
105
+ },
106
+ "description": "A read-only list of `<vaadin-tab>`s from which a selection can be made.\nIt is populated from the elements passed inside the slotted\n`<vaadin-tabs>`, and updated dynamically when adding or removing items.",
107
+ "attribute": "items",
108
+ "inheritedFrom": {
109
+ "name": "TabSheetMixin",
110
+ "module": "src/vaadin-tabsheet-mixin.js"
111
+ }
112
+ },
113
+ {
114
+ "kind": "field",
115
+ "name": "selected",
116
+ "privacy": "public",
117
+ "type": {
118
+ "text": "number"
119
+ },
120
+ "description": "The index of the selected tab.",
121
+ "attribute": "selected",
122
+ "inheritedFrom": {
123
+ "name": "TabSheetMixin",
124
+ "module": "src/vaadin-tabsheet-mixin.js"
125
+ }
126
+ }
127
+ ],
128
+ "events": [
129
+ {
130
+ "type": {
131
+ "text": "CustomEvent"
132
+ },
133
+ "description": "Fired when the `items` property changes.",
134
+ "name": "items-changed"
135
+ },
136
+ {
137
+ "type": {
138
+ "text": "CustomEvent"
139
+ },
140
+ "description": "Fired when the `selected` property changes.",
141
+ "name": "selected-changed"
142
+ }
143
+ ],
144
+ "mixins": [
145
+ {
146
+ "name": "TabSheetMixin",
147
+ "module": "src/vaadin-tabsheet-mixin.js"
148
+ },
149
+ {
150
+ "name": "ThemableMixin",
151
+ "package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
152
+ },
153
+ {
154
+ "name": "ElementMixin",
155
+ "package": "@vaadin/component-base/src/element-mixin.js"
156
+ },
157
+ {
158
+ "name": "PolylitMixin",
159
+ "package": "@vaadin/component-base/src/polylit-mixin.js"
160
+ },
161
+ {
162
+ "name": "LumoInjectionMixin",
163
+ "package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
164
+ }
165
+ ],
166
+ "superclass": {
167
+ "name": "LitElement",
168
+ "package": "lit"
169
+ },
170
+ "tagName": "vaadin-tabsheet",
171
+ "customElement": true,
172
+ "attributes": [
173
+ {
174
+ "name": "selected",
175
+ "type": {
176
+ "text": "number"
177
+ },
178
+ "description": "The index of the selected tab.",
179
+ "fieldName": "selected",
180
+ "inheritedFrom": {
181
+ "name": "TabSheetMixin",
182
+ "module": "src/vaadin-tabsheet-mixin.js"
183
+ }
184
+ }
185
+ ]
186
+ }
187
+ ],
188
+ "exports": [
189
+ {
190
+ "kind": "js",
191
+ "name": "TabSheet",
192
+ "declaration": {
193
+ "name": "TabSheet",
194
+ "module": "src/vaadin-tabsheet.js"
195
+ }
196
+ }
197
+ ]
198
+ }
199
+ ]
200
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/tabsheet",
3
- "version": "25.1.0-alpha6",
3
+ "version": "25.1.0-alpha7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -23,6 +23,7 @@
23
23
  "src",
24
24
  "vaadin-*.d.ts",
25
25
  "vaadin-*.js",
26
+ "custom-elements.json",
26
27
  "web-types.json",
27
28
  "web-types.lit.json"
28
29
  ],
@@ -34,23 +35,24 @@
34
35
  ],
35
36
  "dependencies": {
36
37
  "@open-wc/dedupe-mixin": "^1.3.0",
37
- "@vaadin/component-base": "25.1.0-alpha6",
38
- "@vaadin/scroller": "25.1.0-alpha6",
39
- "@vaadin/tabs": "25.1.0-alpha6",
40
- "@vaadin/vaadin-themable-mixin": "25.1.0-alpha6",
38
+ "@vaadin/component-base": "25.1.0-alpha7",
39
+ "@vaadin/scroller": "25.1.0-alpha7",
40
+ "@vaadin/tabs": "25.1.0-alpha7",
41
+ "@vaadin/vaadin-themable-mixin": "25.1.0-alpha7",
41
42
  "lit": "^3.0.0"
42
43
  },
43
44
  "devDependencies": {
44
- "@vaadin/aura": "25.1.0-alpha6",
45
- "@vaadin/chai-plugins": "25.1.0-alpha6",
46
- "@vaadin/test-runner-commands": "25.1.0-alpha6",
45
+ "@vaadin/aura": "25.1.0-alpha7",
46
+ "@vaadin/chai-plugins": "25.1.0-alpha7",
47
+ "@vaadin/test-runner-commands": "25.1.0-alpha7",
47
48
  "@vaadin/testing-helpers": "^2.0.0",
48
- "@vaadin/vaadin-lumo-styles": "25.1.0-alpha6",
49
+ "@vaadin/vaadin-lumo-styles": "25.1.0-alpha7",
49
50
  "sinon": "^21.0.0"
50
51
  },
52
+ "customElements": "custom-elements.json",
51
53
  "web-types": [
52
54
  "web-types.json",
53
55
  "web-types.lit.json"
54
56
  ],
55
- "gitHead": "da6f4194492cbd77d18c6c1cd8d4d9f072e9ce8d"
57
+ "gitHead": "98c586125f769c8fefd307536965293668fda81d"
56
58
  }
@@ -9,7 +9,7 @@ import { Scroller } from '@vaadin/scroller/src/vaadin-scroller.js';
9
9
  /**
10
10
  * An element used internally by `<vaadin-tabsheet>`. Not intended to be used separately.
11
11
  *
12
- * @customElement
12
+ * @customElement vaadin-tabsheet-scroller
13
13
  * @extends Scroller
14
14
  * @private
15
15
  */
@@ -66,7 +66,7 @@ import { TabSheetMixin } from './vaadin-tabsheet-mixin.js';
66
66
  * @fires {CustomEvent} items-changed - Fired when the `items` property changes.
67
67
  * @fires {CustomEvent} selected-changed - Fired when the `selected` property changes.
68
68
  *
69
- * @customElement
69
+ * @customElement vaadin-tabsheet
70
70
  * @extends HTMLElement
71
71
  * @mixes TabSheetMixin
72
72
  * @mixes ElementMixin
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": "25.1.0-alpha6",
4
+ "version": "25.1.0-alpha7",
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": "25.1.0-alpha6",
4
+ "version": "25.1.0-alpha7",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {