@vaadin/message-input 24.6.5 → 24.7.0-alpha10

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/message-input",
3
- "version": "24.6.5",
3
+ "version": "24.7.0-alpha10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,17 +37,17 @@
37
37
  "dependencies": {
38
38
  "@open-wc/dedupe-mixin": "^1.3.0",
39
39
  "@polymer/polymer": "^3.0.0",
40
- "@vaadin/button": "~24.6.5",
41
- "@vaadin/component-base": "~24.6.5",
42
- "@vaadin/text-area": "~24.6.5",
43
- "@vaadin/vaadin-lumo-styles": "~24.6.5",
44
- "@vaadin/vaadin-material-styles": "~24.6.5",
45
- "@vaadin/vaadin-themable-mixin": "~24.6.5",
40
+ "@vaadin/button": "24.7.0-alpha10",
41
+ "@vaadin/component-base": "24.7.0-alpha10",
42
+ "@vaadin/text-area": "24.7.0-alpha10",
43
+ "@vaadin/vaadin-lumo-styles": "24.7.0-alpha10",
44
+ "@vaadin/vaadin-material-styles": "24.7.0-alpha10",
45
+ "@vaadin/vaadin-themable-mixin": "24.7.0-alpha10",
46
46
  "lit": "^3.0.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@vaadin/chai-plugins": "~24.6.5",
50
- "@vaadin/test-runner-commands": "~24.6.5",
49
+ "@vaadin/chai-plugins": "24.7.0-alpha10",
50
+ "@vaadin/test-runner-commands": "24.7.0-alpha10",
51
51
  "@vaadin/testing-helpers": "^1.1.0",
52
52
  "sinon": "^18.0.0"
53
53
  },
@@ -55,5 +55,5 @@
55
55
  "web-types.json",
56
56
  "web-types.lit.json"
57
57
  ],
58
- "gitHead": "fc109a4234a1f60e89717ab1c0dc8fb4451aa418"
58
+ "gitHead": "c0f8933df2a6a40648d3fb9cfbae6bbf86a8aa90"
59
59
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 - 2024 Vaadin Ltd.
3
+ * Copyright (c) 2021 - 2025 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import '@vaadin/button/src/vaadin-lit-button.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 - 2024 Vaadin Ltd.
3
+ * Copyright (c) 2021 - 2025 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import type { Constructor } from '@open-wc/dedupe-mixin';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 - 2024 Vaadin Ltd.
3
+ * Copyright (c) 2021 - 2025 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js';
@@ -116,20 +116,7 @@ export const MessageInputMixin = (superClass) =>
116
116
  }
117
117
  });
118
118
 
119
- // With Lit version, input element renders asynchronously and it will
120
- // override the `rows` attribute set to `1` in the `minRows` observer.
121
- // Workaround: perform update twice to run the observer synchronously.
122
- // TODO: needs https://github.com/vaadin/web-components/pull/8168
123
- if (textarea.performUpdate) {
124
- textarea.performUpdate();
125
- textarea.performUpdate();
126
- }
127
-
128
- const input = textarea.inputElement;
129
-
130
- // Set initial height to one row
131
- input.setAttribute('rows', 1);
132
- input.style.minHeight = '0';
119
+ textarea.minRows = 1;
133
120
 
134
121
  this._textArea = textarea;
135
122
  },
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 - 2024 Vaadin Ltd.
3
+ * Copyright (c) 2021 - 2025 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2021 - 2024 Vaadin Ltd.
3
+ * Copyright (c) 2021 - 2025 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import '@vaadin/button/src/vaadin-button.js';
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.6.5",
4
+ "version": "24.7.0-alpha10",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/message-input",
4
- "version": "24.6.5",
4
+ "version": "24.7.0-alpha10",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {