@vaadin/message-input 24.0.0-alpha9 → 24.0.0-beta1
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 +9 -9
- package/src/vaadin-message-input.js +6 -0
- package/web-types.json +7 -2
- package/web-types.lit.json +8 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/message-input",
|
|
3
|
-
"version": "24.0.0-
|
|
3
|
+
"version": "24.0.0-beta1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,21 +36,21 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@polymer/polymer": "^3.0.0",
|
|
39
|
-
"@vaadin/button": "24.0.0-
|
|
40
|
-
"@vaadin/component-base": "24.0.0-
|
|
41
|
-
"@vaadin/text-area": "24.0.0-
|
|
42
|
-
"@vaadin/vaadin-lumo-styles": "24.0.0-
|
|
43
|
-
"@vaadin/vaadin-material-styles": "24.0.0-
|
|
44
|
-
"@vaadin/vaadin-themable-mixin": "24.0.0-
|
|
39
|
+
"@vaadin/button": "24.0.0-beta1",
|
|
40
|
+
"@vaadin/component-base": "24.0.0-beta1",
|
|
41
|
+
"@vaadin/text-area": "24.0.0-beta1",
|
|
42
|
+
"@vaadin/vaadin-lumo-styles": "24.0.0-beta1",
|
|
43
|
+
"@vaadin/vaadin-material-styles": "24.0.0-beta1",
|
|
44
|
+
"@vaadin/vaadin-themable-mixin": "24.0.0-beta1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@esm-bundle/chai": "^4.3.4",
|
|
48
|
-
"@vaadin/testing-helpers": "^0.
|
|
48
|
+
"@vaadin/testing-helpers": "^0.4.0",
|
|
49
49
|
"sinon": "^13.0.2"
|
|
50
50
|
},
|
|
51
51
|
"web-types": [
|
|
52
52
|
"web-types.json",
|
|
53
53
|
"web-types.lit.json"
|
|
54
54
|
],
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "c5b48921a62482746df8e46994b37e1490fec27e"
|
|
56
56
|
}
|
|
@@ -219,6 +219,12 @@ class MessageInput extends ElementMixin(ThemableMixin(ControllerMixin(PolymerEle
|
|
|
219
219
|
}
|
|
220
220
|
this._textArea.focus();
|
|
221
221
|
}
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Fired when a new message is submitted with `<vaadin-message-input>`, either
|
|
225
|
+
* by clicking the "send" button, or pressing the Enter key.
|
|
226
|
+
* @event submit
|
|
227
|
+
*/
|
|
222
228
|
}
|
|
223
229
|
|
|
224
230
|
customElements.define(MessageInput.is, MessageInput);
|
package/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/message-input",
|
|
4
|
-
"version": "24.0.0-
|
|
4
|
+
"version": "24.0.0-alpha12",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -74,7 +74,12 @@
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
],
|
|
77
|
-
"events": [
|
|
77
|
+
"events": [
|
|
78
|
+
{
|
|
79
|
+
"name": "submit",
|
|
80
|
+
"description": "Fired when a new message is submitted with `<vaadin-message-input>`, either\nby clicking the \"send\" button, or pressing the Enter key."
|
|
81
|
+
}
|
|
82
|
+
]
|
|
78
83
|
}
|
|
79
84
|
}
|
|
80
85
|
]
|
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/message-input",
|
|
4
|
-
"version": "24.0.0-
|
|
4
|
+
"version": "24.0.0-alpha12",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -39,6 +39,13 @@
|
|
|
39
39
|
"value": {
|
|
40
40
|
"kind": "expression"
|
|
41
41
|
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "@submit",
|
|
45
|
+
"description": "Fired when a new message is submitted with `<vaadin-message-input>`, either\nby clicking the \"send\" button, or pressing the Enter key.",
|
|
46
|
+
"value": {
|
|
47
|
+
"kind": "expression"
|
|
48
|
+
}
|
|
42
49
|
}
|
|
43
50
|
]
|
|
44
51
|
}
|