@vaadin/message-input 25.1.0-beta1 → 25.1.0-beta2

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.
@@ -17,71 +17,6 @@
17
17
  }
18
18
  ]
19
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
20
  {
86
21
  "kind": "javascript-module",
87
22
  "path": "src/vaadin-message-input-mixin.js",
@@ -114,19 +49,9 @@
114
49
  "kind": "field",
115
50
  "name": "i18n",
116
51
  "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
- }
52
+ "type": {
53
+ "text": "Object"
121
54
  },
122
- "parameters": [
123
- {
124
- "name": "value",
125
- "type": {
126
- "text": "Object"
127
- }
128
- }
129
- ],
130
55
  "inheritedFrom": {
131
56
  "name": "I18nMixin",
132
57
  "package": "@vaadin/component-base/src/i18n-mixin.js"
@@ -240,19 +165,9 @@
240
165
  "kind": "field",
241
166
  "name": "i18n",
242
167
  "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
- }
168
+ "type": {
169
+ "text": "Object"
247
170
  },
248
- "parameters": [
249
- {
250
- "name": "value",
251
- "type": {
252
- "text": "Object"
253
- }
254
- }
255
- ],
256
171
  "inheritedFrom": {
257
172
  "name": "I18nMixin",
258
173
  "package": "@vaadin/component-base/src/i18n-mixin.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/message-input",
3
- "version": "25.1.0-beta1",
3
+ "version": "25.1.0-beta2",
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-beta1",
39
- "@vaadin/component-base": "25.1.0-beta1",
40
- "@vaadin/text-area": "25.1.0-beta1",
41
- "@vaadin/vaadin-themable-mixin": "25.1.0-beta1",
38
+ "@vaadin/button": "25.1.0-beta2",
39
+ "@vaadin/component-base": "25.1.0-beta2",
40
+ "@vaadin/text-area": "25.1.0-beta2",
41
+ "@vaadin/vaadin-themable-mixin": "25.1.0-beta2",
42
42
  "lit": "^3.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@vaadin/aura": "25.1.0-beta1",
46
- "@vaadin/chai-plugins": "25.1.0-beta1",
47
- "@vaadin/test-runner-commands": "25.1.0-beta1",
45
+ "@vaadin/aura": "25.1.0-beta2",
46
+ "@vaadin/chai-plugins": "25.1.0-beta2",
47
+ "@vaadin/test-runner-commands": "25.1.0-beta2",
48
48
  "@vaadin/testing-helpers": "^2.0.0",
49
- "@vaadin/vaadin-lumo-styles": "25.1.0-beta1",
49
+ "@vaadin/vaadin-lumo-styles": "25.1.0-beta2",
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": "0ccf77c385fc6a92ac2a6344ce8804b94956226d"
57
+ "gitHead": "ffbedbae08a5160d13bcd1c6fcaa328df5103a05"
58
58
  }
@@ -31,7 +31,6 @@ export const MessageInputMixin = (superClass) =>
31
31
 
32
32
  /**
33
33
  * Set to true to disable this element.
34
- * @type {boolean}
35
34
  */
36
35
  disabled: {
37
36
  type: Boolean,
@@ -76,7 +75,7 @@ export const MessageInputMixin = (superClass) =>
76
75
  * message: 'Message'
77
76
  * }
78
77
  * ```
79
- * @return {!MessageInputI18n}
78
+ * @type {!MessageInputI18n}
80
79
  */
81
80
  get i18n() {
82
81
  return super.i18n;
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-beta1",
4
+ "version": "25.1.0-beta2",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -15,7 +15,9 @@
15
15
  "description": "Set to true to disable this element.",
16
16
  "value": {
17
17
  "type": [
18
- "boolean"
18
+ "boolean",
19
+ "null",
20
+ "undefined"
19
21
  ]
20
22
  }
21
23
  },
@@ -49,7 +51,9 @@
49
51
  "description": "Set to true to disable this element.",
50
52
  "value": {
51
53
  "type": [
52
- "boolean"
54
+ "boolean",
55
+ "null",
56
+ "undefined"
53
57
  ]
54
58
  }
55
59
  },
@@ -58,7 +62,7 @@
58
62
  "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```",
59
63
  "value": {
60
64
  "type": [
61
- "MessageInputI18n"
65
+ "?"
62
66
  ]
63
67
  }
64
68
  },
@@ -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-beta1",
4
+ "version": "25.1.0-beta2",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {