@vaadin/email-field 22.0.0-beta1 → 22.0.1

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
@@ -1,8 +1,11 @@
1
1
  # @vaadin/email-field
2
2
 
3
- An extension of `vaadin-text-field` component that only accepts email addresses as input.
3
+ An extension of [`<vaadin-text-field>`](https://www.npmjs.com/package/@vaadin/text-field) component that only accepts email addresses as input.
4
4
 
5
- [Live Demo ↗](https://vaadin.com/docs/latest/ds/components/email-field)
5
+ [Documentation + Live Demo ↗](https://vaadin.com/docs/latest/ds/components/email-field)
6
+
7
+ [![npm version](https://badgen.net/npm/v/@vaadin/email-field)](https://www.npmjs.com/package/@vaadin/email-field)
8
+ [![Discord](https://img.shields.io/discord/732335336448852018?label=discord)](https://discord.gg/PHmkCKC)
6
9
 
7
10
  ```html
8
11
  <vaadin-email-field label="Email"></vaadin-email-field>
@@ -13,7 +16,7 @@ An extension of `vaadin-text-field` component that only accepts email addresses
13
16
  Install the component:
14
17
 
15
18
  ```sh
16
- npm i @vaadin/email-field --save
19
+ npm i @vaadin/email-field
17
20
  ```
18
21
 
19
22
  Once installed, import the component in your application:
@@ -24,9 +27,8 @@ import '@vaadin/email-field';
24
27
 
25
28
  ## Themes
26
29
 
27
- Vaadin components come with two built-in [themes](https://vaadin.com/docs/latest/ds/customization/using-themes),
28
- Lumo and Material. The [main entrypoint](https://github.com/vaadin/web-components/blob/master/packages/email-field/vaadin-email-field.js)
29
- of the package uses Lumo theme.
30
+ Vaadin components come with two built-in [themes](https://vaadin.com/docs/latest/ds/customization/using-themes), Lumo and Material.
31
+ The [main entrypoint](https://github.com/vaadin/web-components/blob/master/packages/email-field/vaadin-email-field.js) of the package uses Lumo theme.
30
32
 
31
33
  To use the Material theme, import the component from the `theme/material` folder:
32
34
 
@@ -46,9 +48,13 @@ Finally, you can import the un-themed component from the `src` folder to get a m
46
48
  import '@vaadin/email-field/src/vaadin-email-field.js';
47
49
  ```
48
50
 
51
+ ## Contributing
52
+
53
+ 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.
54
+
49
55
  ## License
50
56
 
51
57
  Apache License 2.0
52
58
 
53
- Vaadin collects development time usage statistics to improve this product.
59
+ Vaadin collects usage statistics at development time to improve this product.
54
60
  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/email-field",
3
- "version": "22.0.0-beta1",
3
+ "version": "22.0.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -32,16 +32,16 @@
32
32
  ],
33
33
  "dependencies": {
34
34
  "@polymer/polymer": "^3.0.0",
35
- "@vaadin/component-base": "22.0.0-beta1",
36
- "@vaadin/text-field": "22.0.0-beta1",
37
- "@vaadin/vaadin-lumo-styles": "22.0.0-beta1",
38
- "@vaadin/vaadin-material-styles": "22.0.0-beta1",
39
- "@vaadin/vaadin-themable-mixin": "22.0.0-beta1"
35
+ "@vaadin/component-base": "^22.0.1",
36
+ "@vaadin/text-field": "^22.0.1",
37
+ "@vaadin/vaadin-lumo-styles": "^22.0.1",
38
+ "@vaadin/vaadin-material-styles": "^22.0.1",
39
+ "@vaadin/vaadin-themable-mixin": "^22.0.1"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@esm-bundle/chai": "^4.3.4",
43
- "@vaadin/testing-helpers": "^0.3.0",
43
+ "@vaadin/testing-helpers": "^0.3.2",
44
44
  "sinon": "^9.2.1"
45
45
  },
46
- "gitHead": "4cf8a9d0504994200c610e44b3676114fef49c1e"
46
+ "gitHead": "2b0a2bff0369d6020f7cc33ad35506aa2d1f6f68"
47
47
  }
@@ -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 { TextField } from '@vaadin/text-field/src/vaadin-text-field.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
  // See https://github.com/vaadin/vaadin-text-field/issues/466
10
10
  registerStyles(
@@ -3,8 +3,8 @@
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 { registerStyles, css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
7
6
  import { inputFieldShared } from '@vaadin/vaadin-lumo-styles/mixins/input-field-shared.js';
7
+ import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
8
8
 
9
9
  const emailField = css`
10
10
  :host([dir='rtl']) [part='input-field'] ::slotted(input) {
@@ -3,8 +3,8 @@
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 { registerStyles } from '@vaadin/vaadin-themable-mixin/register-styles.js';
7
6
  import { inputFieldShared } from '@vaadin/vaadin-material-styles/mixins/input-field-shared.js';
7
+ import { registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
8
8
 
9
9
  registerStyles('vaadin-email-field', inputFieldShared, {
10
10
  moduleId: 'material-email-field'