@vaadin/item 24.2.5 → 24.2.6
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 +7 -7
- package/src/vaadin-item.d.ts +5 -0
- package/src/vaadin-item.js +6 -1
- package/web-types.json +11 -2
- package/web-types.lit.json +9 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/item",
|
|
3
|
-
"version": "24.2.
|
|
3
|
+
"version": "24.2.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
39
39
|
"@polymer/polymer": "^3.0.0",
|
|
40
|
-
"@vaadin/a11y-base": "~24.2.
|
|
41
|
-
"@vaadin/component-base": "~24.2.
|
|
42
|
-
"@vaadin/vaadin-lumo-styles": "~24.2.
|
|
43
|
-
"@vaadin/vaadin-material-styles": "~24.2.
|
|
44
|
-
"@vaadin/vaadin-themable-mixin": "~24.2.
|
|
40
|
+
"@vaadin/a11y-base": "~24.2.6",
|
|
41
|
+
"@vaadin/component-base": "~24.2.6",
|
|
42
|
+
"@vaadin/vaadin-lumo-styles": "~24.2.6",
|
|
43
|
+
"@vaadin/vaadin-material-styles": "~24.2.6",
|
|
44
|
+
"@vaadin/vaadin-themable-mixin": "~24.2.6"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@esm-bundle/chai": "^4.3.4",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"web-types.json",
|
|
53
53
|
"web-types.lit.json"
|
|
54
54
|
],
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "0d105dd0eff818ab9c82c8443b92a1e15ac0e41a"
|
|
56
56
|
}
|
package/src/vaadin-item.d.ts
CHANGED
|
@@ -50,6 +50,11 @@ declare class Item extends ItemMixin(ThemableMixin(DirMixin(HTMLElement))) {
|
|
|
50
50
|
* Submittable string value. The default value is the trimmed text content of the element.
|
|
51
51
|
*/
|
|
52
52
|
value: string;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* String that can be set to visually represent the selected item in `vaadin-select`.
|
|
56
|
+
*/
|
|
57
|
+
label: string | undefined;
|
|
53
58
|
}
|
|
54
59
|
|
|
55
60
|
declare global {
|
package/src/vaadin-item.js
CHANGED
|
@@ -83,8 +83,13 @@ class Item extends ItemMixin(ThemableMixin(DirMixin(PolymerElement))) {
|
|
|
83
83
|
* Submittable string value. The default value is the trimmed text content of the element.
|
|
84
84
|
* @type {string}
|
|
85
85
|
*/
|
|
86
|
-
// eslint-disable-next-line no-unused-expressions
|
|
87
86
|
this.value;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* String that can be set to visually represent the selected item in `vaadin-select`.
|
|
90
|
+
* @type {string}
|
|
91
|
+
*/
|
|
92
|
+
this.label;
|
|
88
93
|
}
|
|
89
94
|
|
|
90
95
|
/** @protected */
|
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": "24.2.
|
|
4
|
+
"version": "24.2.6",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"properties": [
|
|
36
36
|
{
|
|
37
37
|
"name": "value",
|
|
38
|
-
"description": "",
|
|
38
|
+
"description": "Submittable string value. The default value is the trimmed text content of the element.",
|
|
39
39
|
"value": {
|
|
40
40
|
"type": [
|
|
41
41
|
"string"
|
|
@@ -50,6 +50,15 @@
|
|
|
50
50
|
"boolean"
|
|
51
51
|
]
|
|
52
52
|
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "label",
|
|
56
|
+
"description": "String that can be set to visually represent the selected item in `vaadin-select`.",
|
|
57
|
+
"value": {
|
|
58
|
+
"type": [
|
|
59
|
+
"string"
|
|
60
|
+
]
|
|
61
|
+
}
|
|
53
62
|
}
|
|
54
63
|
],
|
|
55
64
|
"events": []
|
package/web-types.lit.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/item",
|
|
4
|
-
"version": "24.2.
|
|
4
|
+
"version": "24.2.6",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -28,7 +28,14 @@
|
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
"name": ".value",
|
|
31
|
-
"description": "",
|
|
31
|
+
"description": "Submittable string value. The default value is the trimmed text content of the element.",
|
|
32
|
+
"value": {
|
|
33
|
+
"kind": "expression"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": ".label",
|
|
38
|
+
"description": "String that can be set to visually represent the selected item in `vaadin-select`.",
|
|
32
39
|
"value": {
|
|
33
40
|
"kind": "expression"
|
|
34
41
|
}
|