@vaadin/message-input 25.1.0-alpha5 → 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.
- package/custom-elements.json +305 -0
- package/package.json +12 -10
- package/src/vaadin-message-input-button.js +1 -1
- package/src/vaadin-message-input.js +1 -1
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "vaadin-message-input.js",
|
|
8
|
+
"declarations": [],
|
|
9
|
+
"exports": [
|
|
10
|
+
{
|
|
11
|
+
"kind": "js",
|
|
12
|
+
"name": "*",
|
|
13
|
+
"declaration": {
|
|
14
|
+
"name": "*",
|
|
15
|
+
"module": "src/vaadin-message-input.js"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"kind": "javascript-module",
|
|
22
|
+
"path": "src/vaadin-message-input-button.js",
|
|
23
|
+
"declarations": [
|
|
24
|
+
{
|
|
25
|
+
"kind": "class",
|
|
26
|
+
"description": "An element used internally by `<vaadin-message-input>`. Not intended to be used separately.",
|
|
27
|
+
"name": "MessageInputButton",
|
|
28
|
+
"members": [],
|
|
29
|
+
"mixins": [
|
|
30
|
+
{
|
|
31
|
+
"name": "ButtonMixin",
|
|
32
|
+
"package": "@vaadin/button/src/vaadin-button-mixin.js"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "DirMixin",
|
|
36
|
+
"package": "@vaadin/component-base/src/dir-mixin.js"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "ThemableMixin",
|
|
40
|
+
"package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "PolylitMixin",
|
|
44
|
+
"package": "@vaadin/component-base/src/polylit-mixin.js"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "LumoInjectionMixin",
|
|
48
|
+
"package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"superclass": {
|
|
52
|
+
"name": "LitElement",
|
|
53
|
+
"package": "lit"
|
|
54
|
+
},
|
|
55
|
+
"tagName": "vaadin-message-input-button",
|
|
56
|
+
"customElement": true,
|
|
57
|
+
"attributes": [
|
|
58
|
+
{
|
|
59
|
+
"name": "tabindex",
|
|
60
|
+
"type": {
|
|
61
|
+
"text": "number"
|
|
62
|
+
},
|
|
63
|
+
"description": "Indicates whether the element can be focused and where it participates in sequential keyboard navigation.",
|
|
64
|
+
"fieldName": "tabindex",
|
|
65
|
+
"inheritedFrom": {
|
|
66
|
+
"name": "TabindexMixin",
|
|
67
|
+
"package": "@vaadin/a11y-base/src/tabindex-mixin.js"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"events": []
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"exports": [
|
|
75
|
+
{
|
|
76
|
+
"kind": "js",
|
|
77
|
+
"name": "MessageInputButton",
|
|
78
|
+
"declaration": {
|
|
79
|
+
"name": "MessageInputButton",
|
|
80
|
+
"module": "src/vaadin-message-input-button.js"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"kind": "javascript-module",
|
|
87
|
+
"path": "src/vaadin-message-input-mixin.js",
|
|
88
|
+
"declarations": [
|
|
89
|
+
{
|
|
90
|
+
"kind": "mixin",
|
|
91
|
+
"description": "",
|
|
92
|
+
"name": "MessageInputMixin",
|
|
93
|
+
"members": [
|
|
94
|
+
{
|
|
95
|
+
"kind": "field",
|
|
96
|
+
"name": "disabled",
|
|
97
|
+
"privacy": "public",
|
|
98
|
+
"type": {
|
|
99
|
+
"text": "boolean"
|
|
100
|
+
},
|
|
101
|
+
"description": "Set to true to disable this element.",
|
|
102
|
+
"attribute": "disabled"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"kind": "method",
|
|
106
|
+
"name": "focus",
|
|
107
|
+
"parameters": [
|
|
108
|
+
{
|
|
109
|
+
"name": "options"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"kind": "field",
|
|
115
|
+
"name": "value",
|
|
116
|
+
"privacy": "public",
|
|
117
|
+
"type": {
|
|
118
|
+
"text": "string"
|
|
119
|
+
},
|
|
120
|
+
"description": "Current content of the text input field",
|
|
121
|
+
"attribute": "value"
|
|
122
|
+
}
|
|
123
|
+
],
|
|
124
|
+
"events": [
|
|
125
|
+
{
|
|
126
|
+
"name": "submit",
|
|
127
|
+
"type": {
|
|
128
|
+
"text": "CustomEvent"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
"attributes": [
|
|
133
|
+
{
|
|
134
|
+
"name": "disabled",
|
|
135
|
+
"type": {
|
|
136
|
+
"text": "boolean"
|
|
137
|
+
},
|
|
138
|
+
"description": "Set to true to disable this element.",
|
|
139
|
+
"fieldName": "disabled"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "value",
|
|
143
|
+
"type": {
|
|
144
|
+
"text": "string"
|
|
145
|
+
},
|
|
146
|
+
"description": "Current content of the text input field",
|
|
147
|
+
"fieldName": "value"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"mixins": [
|
|
151
|
+
{
|
|
152
|
+
"name": "I18nMixin",
|
|
153
|
+
"package": "@vaadin/component-base/src/i18n-mixin.js"
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"parameters": [
|
|
157
|
+
{
|
|
158
|
+
"name": "superClass"
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
],
|
|
163
|
+
"exports": [
|
|
164
|
+
{
|
|
165
|
+
"kind": "js",
|
|
166
|
+
"name": "MessageInputMixin",
|
|
167
|
+
"declaration": {
|
|
168
|
+
"name": "MessageInputMixin",
|
|
169
|
+
"module": "src/vaadin-message-input-mixin.js"
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"kind": "javascript-module",
|
|
176
|
+
"path": "src/vaadin-message-input.js",
|
|
177
|
+
"declarations": [
|
|
178
|
+
{
|
|
179
|
+
"kind": "class",
|
|
180
|
+
"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.",
|
|
181
|
+
"name": "MessageInput",
|
|
182
|
+
"members": [
|
|
183
|
+
{
|
|
184
|
+
"kind": "field",
|
|
185
|
+
"name": "disabled",
|
|
186
|
+
"privacy": "public",
|
|
187
|
+
"type": {
|
|
188
|
+
"text": "boolean"
|
|
189
|
+
},
|
|
190
|
+
"description": "Set to true to disable this element.",
|
|
191
|
+
"attribute": "disabled",
|
|
192
|
+
"inheritedFrom": {
|
|
193
|
+
"name": "MessageInputMixin",
|
|
194
|
+
"module": "src/vaadin-message-input-mixin.js"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"kind": "method",
|
|
199
|
+
"name": "focus",
|
|
200
|
+
"parameters": [
|
|
201
|
+
{
|
|
202
|
+
"name": "options"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"inheritedFrom": {
|
|
206
|
+
"name": "MessageInputMixin",
|
|
207
|
+
"module": "src/vaadin-message-input-mixin.js"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"kind": "field",
|
|
212
|
+
"name": "value",
|
|
213
|
+
"privacy": "public",
|
|
214
|
+
"type": {
|
|
215
|
+
"text": "string"
|
|
216
|
+
},
|
|
217
|
+
"description": "Current content of the text input field",
|
|
218
|
+
"attribute": "value",
|
|
219
|
+
"inheritedFrom": {
|
|
220
|
+
"name": "MessageInputMixin",
|
|
221
|
+
"module": "src/vaadin-message-input-mixin.js"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
"mixins": [
|
|
226
|
+
{
|
|
227
|
+
"name": "MessageInputMixin",
|
|
228
|
+
"module": "src/vaadin-message-input-mixin.js"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "ElementMixin",
|
|
232
|
+
"package": "@vaadin/component-base/src/element-mixin.js"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "ThemableMixin",
|
|
236
|
+
"package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "PolylitMixin",
|
|
240
|
+
"package": "@vaadin/component-base/src/polylit-mixin.js"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "LumoInjectionMixin",
|
|
244
|
+
"package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
|
|
245
|
+
}
|
|
246
|
+
],
|
|
247
|
+
"superclass": {
|
|
248
|
+
"name": "LitElement",
|
|
249
|
+
"package": "lit"
|
|
250
|
+
},
|
|
251
|
+
"tagName": "vaadin-message-input",
|
|
252
|
+
"customElement": true,
|
|
253
|
+
"attributes": [
|
|
254
|
+
{
|
|
255
|
+
"name": "disabled",
|
|
256
|
+
"type": {
|
|
257
|
+
"text": "boolean"
|
|
258
|
+
},
|
|
259
|
+
"description": "Set to true to disable this element.",
|
|
260
|
+
"fieldName": "disabled",
|
|
261
|
+
"inheritedFrom": {
|
|
262
|
+
"name": "MessageInputMixin",
|
|
263
|
+
"module": "src/vaadin-message-input-mixin.js"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "value",
|
|
268
|
+
"type": {
|
|
269
|
+
"text": "string"
|
|
270
|
+
},
|
|
271
|
+
"description": "Current content of the text input field",
|
|
272
|
+
"fieldName": "value",
|
|
273
|
+
"inheritedFrom": {
|
|
274
|
+
"name": "MessageInputMixin",
|
|
275
|
+
"module": "src/vaadin-message-input-mixin.js"
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
],
|
|
279
|
+
"events": [
|
|
280
|
+
{
|
|
281
|
+
"name": "submit",
|
|
282
|
+
"type": {
|
|
283
|
+
"text": "CustomEvent"
|
|
284
|
+
},
|
|
285
|
+
"inheritedFrom": {
|
|
286
|
+
"name": "MessageInputMixin",
|
|
287
|
+
"module": "src/vaadin-message-input-mixin.js"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
}
|
|
292
|
+
],
|
|
293
|
+
"exports": [
|
|
294
|
+
{
|
|
295
|
+
"kind": "js",
|
|
296
|
+
"name": "MessageInput",
|
|
297
|
+
"declaration": {
|
|
298
|
+
"name": "MessageInput",
|
|
299
|
+
"module": "src/vaadin-message-input.js"
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
]
|
|
303
|
+
}
|
|
304
|
+
]
|
|
305
|
+
}
|
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-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/button": "25.1.0-
|
|
38
|
-
"@vaadin/component-base": "25.1.0-
|
|
39
|
-
"@vaadin/text-area": "25.1.0-
|
|
40
|
-
"@vaadin/vaadin-themable-mixin": "25.1.0-
|
|
38
|
+
"@vaadin/button": "25.1.0-alpha7",
|
|
39
|
+
"@vaadin/component-base": "25.1.0-alpha7",
|
|
40
|
+
"@vaadin/text-area": "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-
|
|
45
|
-
"@vaadin/chai-plugins": "25.1.0-
|
|
46
|
-
"@vaadin/test-runner-commands": "25.1.0-
|
|
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-
|
|
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": "
|
|
57
|
+
"gitHead": "98c586125f769c8fefd307536965293668fda81d"
|
|
56
58
|
}
|
|
@@ -16,7 +16,7 @@ import { messageInputButtonStyles } from './styles/vaadin-message-input-button-s
|
|
|
16
16
|
/**
|
|
17
17
|
* An element used internally by `<vaadin-message-input>`. Not intended to be used separately.
|
|
18
18
|
*
|
|
19
|
-
* @customElement
|
|
19
|
+
* @customElement vaadin-message-input-button
|
|
20
20
|
* @extends HTMLElement
|
|
21
21
|
* @mixes ButtonMixin
|
|
22
22
|
* @mixes DirMixin
|
|
@@ -45,7 +45,7 @@ import { MessageInputMixin } from './vaadin-message-input-mixin.js';
|
|
|
45
45
|
*
|
|
46
46
|
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
47
47
|
*
|
|
48
|
-
* @customElement
|
|
48
|
+
* @customElement vaadin-message-input
|
|
49
49
|
* @extends HTMLElement
|
|
50
50
|
* @mixes MessageInputMixin
|
|
51
51
|
* @mixes ThemableMixin
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED