@vaadin/item 25.3.0-alpha1 → 25.3.0-alpha11
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/custom-elements.json +33 -26
- package/package.json +9 -9
- package/src/vaadin-item.js +1 -16
- package/web-types.json +2 -4
- package/web-types.lit.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -182,6 +182,39 @@
|
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
],
|
|
185
|
+
"attributes": [
|
|
186
|
+
{
|
|
187
|
+
"name": "disabled",
|
|
188
|
+
"type": {
|
|
189
|
+
"text": "boolean"
|
|
190
|
+
},
|
|
191
|
+
"description": "If true, the user cannot interact with this element.",
|
|
192
|
+
"fieldName": "disabled",
|
|
193
|
+
"inheritedFrom": {
|
|
194
|
+
"name": "DisabledMixin",
|
|
195
|
+
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "selected",
|
|
200
|
+
"type": {
|
|
201
|
+
"text": "boolean"
|
|
202
|
+
},
|
|
203
|
+
"description": "If true, the item is in selected state.",
|
|
204
|
+
"fieldName": "selected",
|
|
205
|
+
"inheritedFrom": {
|
|
206
|
+
"name": "ItemMixin",
|
|
207
|
+
"module": "src/vaadin-item-mixin.js"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"type": {
|
|
212
|
+
"text": "string"
|
|
213
|
+
},
|
|
214
|
+
"description": "The theme variants to apply to the component.",
|
|
215
|
+
"name": "theme"
|
|
216
|
+
}
|
|
217
|
+
],
|
|
185
218
|
"mixins": [
|
|
186
219
|
{
|
|
187
220
|
"name": "ItemMixin",
|
|
@@ -210,32 +243,6 @@
|
|
|
210
243
|
},
|
|
211
244
|
"tagName": "vaadin-item",
|
|
212
245
|
"customElement": true,
|
|
213
|
-
"attributes": [
|
|
214
|
-
{
|
|
215
|
-
"name": "disabled",
|
|
216
|
-
"type": {
|
|
217
|
-
"text": "boolean"
|
|
218
|
-
},
|
|
219
|
-
"description": "If true, the user cannot interact with this element.",
|
|
220
|
-
"fieldName": "disabled",
|
|
221
|
-
"inheritedFrom": {
|
|
222
|
-
"name": "DisabledMixin",
|
|
223
|
-
"package": "@vaadin/a11y-base/src/disabled-mixin.js"
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"name": "selected",
|
|
228
|
-
"type": {
|
|
229
|
-
"text": "boolean"
|
|
230
|
-
},
|
|
231
|
-
"description": "If true, the item is in selected state.",
|
|
232
|
-
"fieldName": "selected",
|
|
233
|
-
"inheritedFrom": {
|
|
234
|
-
"name": "ItemMixin",
|
|
235
|
-
"module": "src/vaadin-item-mixin.js"
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
],
|
|
239
246
|
"events": []
|
|
240
247
|
}
|
|
241
248
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/item",
|
|
3
|
-
"version": "25.3.0-
|
|
3
|
+
"version": "25.3.0-alpha11",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
|
-
"@vaadin/a11y-base": "25.3.0-
|
|
39
|
-
"@vaadin/component-base": "25.3.0-
|
|
40
|
-
"@vaadin/vaadin-themable-mixin": "25.3.0-
|
|
38
|
+
"@vaadin/a11y-base": "25.3.0-alpha11",
|
|
39
|
+
"@vaadin/component-base": "25.3.0-alpha11",
|
|
40
|
+
"@vaadin/vaadin-themable-mixin": "25.3.0-alpha11",
|
|
41
41
|
"lit": "^3.0.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@vaadin/aura": "25.3.0-
|
|
45
|
-
"@vaadin/chai-plugins": "25.3.0-
|
|
46
|
-
"@vaadin/test-runner-commands": "25.3.0-
|
|
44
|
+
"@vaadin/aura": "25.3.0-alpha11",
|
|
45
|
+
"@vaadin/chai-plugins": "25.3.0-alpha11",
|
|
46
|
+
"@vaadin/test-runner-commands": "25.3.0-alpha11",
|
|
47
47
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
48
|
-
"@vaadin/vaadin-lumo-styles": "25.3.0-
|
|
48
|
+
"@vaadin/vaadin-lumo-styles": "25.3.0-alpha11",
|
|
49
49
|
"sinon": "^22.0.0"
|
|
50
50
|
},
|
|
51
51
|
"customElements": "custom-elements.json",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"web-types.json",
|
|
54
54
|
"web-types.lit.json"
|
|
55
55
|
],
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "7e0c61a37e68d8971def9cdf28ad0548a0f530a9"
|
|
57
57
|
}
|
package/src/vaadin-item.js
CHANGED
|
@@ -61,6 +61,7 @@ import { ItemMixin } from './vaadin-item-mixin.js';
|
|
|
61
61
|
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
62
62
|
*
|
|
63
63
|
* @prop {string} label - String that can be set to visually represent the selected item in `vaadin-select`.
|
|
64
|
+
* @attr {string} theme - The theme variants to apply to the component.
|
|
64
65
|
* @customElement vaadin-item
|
|
65
66
|
* @extends HTMLElement
|
|
66
67
|
*/
|
|
@@ -83,22 +84,6 @@ class Item extends ItemMixin(ThemableMixin(DirMixin(PolylitMixin(LumoInjectionMi
|
|
|
83
84
|
`;
|
|
84
85
|
}
|
|
85
86
|
|
|
86
|
-
constructor() {
|
|
87
|
-
super();
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* Submittable string value. The default value is the trimmed text content of the element.
|
|
91
|
-
* @type {string}
|
|
92
|
-
*/
|
|
93
|
-
this.value;
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* String that can be set to visually represent the selected item in `vaadin-select`.
|
|
97
|
-
* @type {string}
|
|
98
|
-
*/
|
|
99
|
-
this.label;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
87
|
/** @protected */
|
|
103
88
|
ready() {
|
|
104
89
|
super.ready();
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/item",
|
|
4
|
-
"version": "25.3.0-
|
|
4
|
+
"version": "25.3.0-alpha11",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -33,9 +33,7 @@
|
|
|
33
33
|
"description": "The theme variants to apply to the component.",
|
|
34
34
|
"value": {
|
|
35
35
|
"type": [
|
|
36
|
-
"string"
|
|
37
|
-
"null",
|
|
38
|
-
"undefined"
|
|
36
|
+
"string"
|
|
39
37
|
]
|
|
40
38
|
}
|
|
41
39
|
}
|