@vaadin/message-input 25.1.0-alpha8 → 25.1.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/custom-elements.json +58 -0
- package/package.json +10 -10
- package/web-types.json +17 -26
- package/web-types.lit.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -110,6 +110,28 @@
|
|
|
110
110
|
}
|
|
111
111
|
]
|
|
112
112
|
},
|
|
113
|
+
{
|
|
114
|
+
"kind": "field",
|
|
115
|
+
"name": "i18n",
|
|
116
|
+
"description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nThe object has the following JSON structure and default values:\n```js\n{\n // Used as the button label\n send: 'Send',\n\n // Used as the input field's placeholder and aria-label\n message: 'Message'\n}\n```",
|
|
117
|
+
"return": {
|
|
118
|
+
"type": {
|
|
119
|
+
"text": "!MessageInputI18n"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"parameters": [
|
|
123
|
+
{
|
|
124
|
+
"name": "value",
|
|
125
|
+
"type": {
|
|
126
|
+
"text": "Object"
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"inheritedFrom": {
|
|
131
|
+
"name": "I18nMixin",
|
|
132
|
+
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
113
135
|
{
|
|
114
136
|
"kind": "field",
|
|
115
137
|
"name": "value",
|
|
@@ -138,6 +160,13 @@
|
|
|
138
160
|
"description": "Set to true to disable this element.",
|
|
139
161
|
"fieldName": "disabled"
|
|
140
162
|
},
|
|
163
|
+
{
|
|
164
|
+
"name": "i18n",
|
|
165
|
+
"inheritedFrom": {
|
|
166
|
+
"name": "I18nMixin",
|
|
167
|
+
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
141
170
|
{
|
|
142
171
|
"name": "value",
|
|
143
172
|
"type": {
|
|
@@ -207,6 +236,28 @@
|
|
|
207
236
|
"module": "src/vaadin-message-input-mixin.js"
|
|
208
237
|
}
|
|
209
238
|
},
|
|
239
|
+
{
|
|
240
|
+
"kind": "field",
|
|
241
|
+
"name": "i18n",
|
|
242
|
+
"description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nThe object has the following JSON structure and default values:\n```js\n{\n // Used as the button label\n send: 'Send',\n\n // Used as the input field's placeholder and aria-label\n message: 'Message'\n}\n```",
|
|
243
|
+
"return": {
|
|
244
|
+
"type": {
|
|
245
|
+
"text": "!MessageInputI18n"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"parameters": [
|
|
249
|
+
{
|
|
250
|
+
"name": "value",
|
|
251
|
+
"type": {
|
|
252
|
+
"text": "Object"
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
"inheritedFrom": {
|
|
257
|
+
"name": "I18nMixin",
|
|
258
|
+
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
210
261
|
{
|
|
211
262
|
"kind": "field",
|
|
212
263
|
"name": "value",
|
|
@@ -263,6 +314,13 @@
|
|
|
263
314
|
"module": "src/vaadin-message-input-mixin.js"
|
|
264
315
|
}
|
|
265
316
|
},
|
|
317
|
+
{
|
|
318
|
+
"name": "i18n",
|
|
319
|
+
"inheritedFrom": {
|
|
320
|
+
"name": "I18nMixin",
|
|
321
|
+
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
322
|
+
}
|
|
323
|
+
},
|
|
266
324
|
{
|
|
267
325
|
"name": "value",
|
|
268
326
|
"type": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/message-input",
|
|
3
|
-
"version": "25.1.0-
|
|
3
|
+
"version": "25.1.0-alpha9",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
|
-
"@vaadin/button": "25.1.0-
|
|
39
|
-
"@vaadin/component-base": "25.1.0-
|
|
40
|
-
"@vaadin/text-area": "25.1.0-
|
|
41
|
-
"@vaadin/vaadin-themable-mixin": "25.1.0-
|
|
38
|
+
"@vaadin/button": "25.1.0-alpha9",
|
|
39
|
+
"@vaadin/component-base": "25.1.0-alpha9",
|
|
40
|
+
"@vaadin/text-area": "25.1.0-alpha9",
|
|
41
|
+
"@vaadin/vaadin-themable-mixin": "25.1.0-alpha9",
|
|
42
42
|
"lit": "^3.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@vaadin/aura": "25.1.0-
|
|
46
|
-
"@vaadin/chai-plugins": "25.1.0-
|
|
47
|
-
"@vaadin/test-runner-commands": "25.1.0-
|
|
45
|
+
"@vaadin/aura": "25.1.0-alpha9",
|
|
46
|
+
"@vaadin/chai-plugins": "25.1.0-alpha9",
|
|
47
|
+
"@vaadin/test-runner-commands": "25.1.0-alpha9",
|
|
48
48
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
49
|
-
"@vaadin/vaadin-lumo-styles": "25.1.0-
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "25.1.0-alpha9",
|
|
50
50
|
"sinon": "^21.0.0"
|
|
51
51
|
},
|
|
52
52
|
"customElements": "custom-elements.json",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"web-types.json",
|
|
55
55
|
"web-types.lit.json"
|
|
56
56
|
],
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "ef432311376ba3dac4233cb23d393a49a425e0a4"
|
|
58
58
|
}
|
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": "25.1.0-
|
|
4
|
+
"version": "25.1.0-alpha9",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -11,17 +11,17 @@
|
|
|
11
11
|
"description": "`<vaadin-message-input>` is a Web Component for sending messages.\nIt consists of a text area that grows on along with the content, and a send button to send message.\n\nThe message can be sent by one of the following actions:\n- by pressing Enter (use Shift + Enter to add a new line)\n- by clicking `submit` button.\n\n```html\n<vaadin-message-input></vaadin-message-input>\n```\n\n### Styling\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n---------------|---------------------------------\n`disabled` | Set when the element is disabled\n`has-tooltip` | Set when the element has a slotted tooltip\n\n### Internal components\n\nIn addition to `<vaadin-message-input>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-message-input-button>` - has the same API as `<vaadin-button>`\n- `<vaadin-text-area>`\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
12
12
|
"attributes": [
|
|
13
13
|
{
|
|
14
|
-
"name": "
|
|
15
|
-
"description": "
|
|
14
|
+
"name": "disabled",
|
|
15
|
+
"description": "Set to true to disable this element.",
|
|
16
16
|
"value": {
|
|
17
17
|
"type": [
|
|
18
|
-
"
|
|
18
|
+
"boolean"
|
|
19
19
|
]
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
|
-
"name": "
|
|
24
|
-
"description": "
|
|
23
|
+
"name": "theme",
|
|
24
|
+
"description": "The theme variants to apply to the component.",
|
|
25
25
|
"value": {
|
|
26
26
|
"type": [
|
|
27
27
|
"string",
|
|
@@ -31,17 +31,8 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
"name": "
|
|
35
|
-
"description": "
|
|
36
|
-
"value": {
|
|
37
|
-
"type": [
|
|
38
|
-
"boolean"
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "theme",
|
|
44
|
-
"description": "The theme variants to apply to the component.",
|
|
34
|
+
"name": "value",
|
|
35
|
+
"description": "Current content of the text input field",
|
|
45
36
|
"value": {
|
|
46
37
|
"type": [
|
|
47
38
|
"string",
|
|
@@ -53,6 +44,15 @@
|
|
|
53
44
|
],
|
|
54
45
|
"js": {
|
|
55
46
|
"properties": [
|
|
47
|
+
{
|
|
48
|
+
"name": "disabled",
|
|
49
|
+
"description": "Set to true to disable this element.",
|
|
50
|
+
"value": {
|
|
51
|
+
"type": [
|
|
52
|
+
"boolean"
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
56
|
{
|
|
57
57
|
"name": "i18n",
|
|
58
58
|
"description": "The object used to localize this component. To change the default\nlocalization, replace this with an object that provides all properties, or\njust the individual properties you want to change.\n\nThe object has the following JSON structure and default values:\n```js\n{\n // Used as the button label\n send: 'Send',\n\n // Used as the input field's placeholder and aria-label\n message: 'Message'\n}\n```",
|
|
@@ -72,15 +72,6 @@
|
|
|
72
72
|
"undefined"
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"name": "disabled",
|
|
78
|
-
"description": "Set to true to disable this element.",
|
|
79
|
-
"value": {
|
|
80
|
-
"type": [
|
|
81
|
-
"boolean"
|
|
82
|
-
]
|
|
83
|
-
}
|
|
84
75
|
}
|
|
85
76
|
],
|
|
86
77
|
"events": [
|
package/web-types.lit.json
CHANGED