@vaadin/message-input 22.0.0-alpha9 → 22.0.0

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  A web component that allows users to author and send messages.
4
4
 
5
- [Live Demo ↗](https://vaadin.com/docs/latest/ds/components/message-input)
5
+ [Documentation + Live Demo ↗](https://vaadin.com/docs/latest/ds/components/message-input)
6
6
 
7
7
  ```html
8
8
  <vaadin-message-input></vaadin-message-input>
@@ -15,7 +15,7 @@ A web component that allows users to author and send messages.
15
15
  Install the component:
16
16
 
17
17
  ```sh
18
- npm i @vaadin/message-input --save
18
+ npm i @vaadin/message-input
19
19
  ```
20
20
 
21
21
  Once installed, import the component in your application:
@@ -26,9 +26,8 @@ import '@vaadin/message-input';
26
26
 
27
27
  ## Themes
28
28
 
29
- Vaadin components come with two built-in [themes](https://vaadin.com/docs/latest/ds/customization/using-themes),
30
- Lumo and Material. The [main entrypoint](https://github.com/vaadin/web-components/blob/master/packages/message-input/vaadin-message-input.js)
31
- of the package uses the Lumo theme.
29
+ Vaadin components come with two built-in [themes](https://vaadin.com/docs/latest/ds/customization/using-themes), Lumo and Material.
30
+ The [main entrypoint](https://github.com/vaadin/web-components/blob/master/packages/message-input/vaadin-message-input.js) of the package uses the Lumo theme.
32
31
 
33
32
  To use the Material theme, import the component from the `theme/material` folder:
34
33
 
@@ -48,9 +47,13 @@ Finally, you can import the un-themed component from the `src` folder to get a m
48
47
  import '@vaadin/message-input/src/vaadin-message-input.js';
49
48
  ```
50
49
 
50
+ ## Contributing
51
+
52
+ Read the [contributing guide](https://vaadin.com/docs/latest/guide/contributing/overview) to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.
53
+
51
54
  ## License
52
55
 
53
56
  Apache License 2.0
54
57
 
55
- Vaadin collects development time usage statistics to improve this product.
58
+ Vaadin collects usage statistics at development time to improve this product.
56
59
  For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/message-input",
3
- "version": "22.0.0-alpha9",
3
+ "version": "22.0.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -33,17 +33,17 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@polymer/polymer": "^3.0.0",
36
- "@vaadin/button": "22.0.0-alpha9",
37
- "@vaadin/component-base": "22.0.0-alpha9",
38
- "@vaadin/text-area": "22.0.0-alpha9",
39
- "@vaadin/vaadin-lumo-styles": "22.0.0-alpha9",
40
- "@vaadin/vaadin-material-styles": "22.0.0-alpha9",
41
- "@vaadin/vaadin-themable-mixin": "22.0.0-alpha9"
36
+ "@vaadin/button": "^22.0.0",
37
+ "@vaadin/component-base": "^22.0.0",
38
+ "@vaadin/text-area": "^22.0.0",
39
+ "@vaadin/vaadin-lumo-styles": "^22.0.0",
40
+ "@vaadin/vaadin-material-styles": "^22.0.0",
41
+ "@vaadin/vaadin-themable-mixin": "^22.0.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@esm-bundle/chai": "^4.3.4",
45
- "@vaadin/testing-helpers": "^0.3.0",
45
+ "@vaadin/testing-helpers": "^0.3.2",
46
46
  "sinon": "^9.2.4"
47
47
  },
48
- "gitHead": "6e8c899dc65918f97e3c0acb2076122c4b2ef274"
48
+ "gitHead": "b668e9b1a975227fbe34beb70d1cd5b03dce2348"
49
49
  }
@@ -4,7 +4,7 @@
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { Button } from '@vaadin/button/src/vaadin-button.js';
7
- import { registerStyles, css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
7
+ import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
8
8
 
9
9
  registerStyles(
10
10
  'vaadin-message-input-button',
@@ -4,7 +4,7 @@
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { TextArea } from '@vaadin/text-area/src/vaadin-text-area.js';
7
- import { registerStyles, css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
7
+ import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
8
8
 
9
9
  registerStyles(
10
10
  'vaadin-message-input-text-area',
@@ -3,11 +3,11 @@
3
3
  * Copyright (c) 2021 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
- import { PolymerElement, html } from '@polymer/polymer/polymer-element.js';
7
- import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
8
- import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
9
6
  import './vaadin-message-input-text-area.js';
10
7
  import './vaadin-message-input-button.js';
8
+ import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
9
+ import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
10
+ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
11
11
 
12
12
  /**
13
13
  * `<vaadin-message-input>` is a Web Component for sending messages.
@@ -1,8 +1,8 @@
1
- import { registerStyles, css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
2
1
  import '@vaadin/vaadin-lumo-styles/color.js';
3
2
  import '@vaadin/vaadin-lumo-styles/sizing.js';
4
3
  import '@vaadin/vaadin-lumo-styles/spacing.js';
5
4
  import '@vaadin/vaadin-lumo-styles/style.js';
5
+ import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
6
6
 
7
7
  registerStyles(
8
8
  'vaadin-message-input',
@@ -1,4 +1,4 @@
1
- import { registerStyles, css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
1
+ import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
2
2
 
3
3
  registerStyles(
4
4
  'vaadin-message-input-text-area',
@@ -1,6 +1,6 @@
1
- import { registerStyles, css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
2
1
  import '@vaadin/vaadin-material-styles/color.js';
3
2
  import '@vaadin/vaadin-material-styles/typography.js';
3
+ import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
4
4
 
5
5
  registerStyles(
6
6
  'vaadin-message-input',
@@ -1,4 +1,4 @@
1
- import { registerStyles, css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
1
+ import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
2
2
 
3
3
  registerStyles(
4
4
  'vaadin-message-input-text-area',