@vaadin/email-field 25.0.0-alpha4 → 25.0.0-alpha6

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/email-field",
3
- "version": "25.0.0-alpha4",
3
+ "version": "25.0.0-alpha6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -21,6 +21,8 @@
21
21
  "type": "module",
22
22
  "files": [
23
23
  "src",
24
+ "!src/styles/*-base-styles.d.ts",
25
+ "!src/styles/*-base-styles.js",
24
26
  "theme",
25
27
  "vaadin-*.d.ts",
26
28
  "vaadin-*.js",
@@ -34,15 +36,15 @@
34
36
  "web-component"
35
37
  ],
36
38
  "dependencies": {
37
- "@vaadin/component-base": "25.0.0-alpha4",
38
- "@vaadin/text-field": "25.0.0-alpha4",
39
- "@vaadin/vaadin-lumo-styles": "25.0.0-alpha4",
40
- "@vaadin/vaadin-themable-mixin": "25.0.0-alpha4",
39
+ "@vaadin/component-base": "25.0.0-alpha6",
40
+ "@vaadin/text-field": "25.0.0-alpha6",
41
+ "@vaadin/vaadin-lumo-styles": "25.0.0-alpha6",
42
+ "@vaadin/vaadin-themable-mixin": "25.0.0-alpha6",
41
43
  "lit": "^3.0.0"
42
44
  },
43
45
  "devDependencies": {
44
- "@vaadin/chai-plugins": "25.0.0-alpha4",
45
- "@vaadin/test-runner-commands": "25.0.0-alpha4",
46
+ "@vaadin/chai-plugins": "25.0.0-alpha6",
47
+ "@vaadin/test-runner-commands": "25.0.0-alpha6",
46
48
  "@vaadin/testing-helpers": "^2.0.0",
47
49
  "sinon": "^18.0.0"
48
50
  },
@@ -50,5 +52,5 @@
50
52
  "web-types.json",
51
53
  "web-types.lit.json"
52
54
  ],
53
- "gitHead": "ce4421f0daf26027b863b91787a474e4cc264344"
55
+ "gitHead": "cd1d084198d2b326c58d44bb39fa4845b71ce551"
54
56
  }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2021 - 2025 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
6
+ import { css } from 'lit';
7
+
8
+ // See https://github.com/vaadin/vaadin-text-field/issues/466
9
+ export const emailFieldStyles = css`
10
+ @layer base {
11
+ :host([dir='rtl']) [part='input-field'] {
12
+ direction: ltr;
13
+ }
14
+
15
+ :host([dir='rtl']) [part='input-field'] ::slotted(input)::placeholder {
16
+ direction: rtl;
17
+ text-align: left;
18
+ }
19
+ }
20
+ `;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2021 - 2025 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
6
+ import type { CSSResult } from 'lit';
7
+
8
+ export const emailFieldStyles: CSSResult;
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import { defineCustomElement } from '@vaadin/component-base/src/define.js';
7
7
  import { TextField } from '@vaadin/text-field/src/vaadin-text-field.js';
8
- import { emailFieldStyles } from './styles/vaadin-email-field-styles.js';
8
+ import { emailFieldStyles } from './styles/vaadin-email-field-core-styles.js';
9
9
 
10
10
  /**
11
11
  * `<vaadin-email-field>` is a Web Component for email field control in forms.
package/web-types.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/email-field",
4
- "version": "25.0.0-alpha4",
4
+ "version": "25.0.0-alpha6",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "vaadin-email-field",
11
- "description": "`<vaadin-email-field>` is a Web Component for email field control in forms.\n\n```html\n<vaadin-email-field label=\"Email\"></vaadin-email-field>\n```\n\n### Styling\n\n`<vaadin-email-field>` provides the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.\nSee [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-alpha4/#/elements/vaadin-text-field) for the styling documentation.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
11
+ "description": "`<vaadin-email-field>` is a Web Component for email field control in forms.\n\n```html\n<vaadin-email-field label=\"Email\"></vaadin-email-field>\n```\n\n### Styling\n\n`<vaadin-email-field>` provides the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.\nSee [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-alpha6/#/elements/vaadin-text-field) for the styling documentation.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
12
12
  "attributes": [
13
13
  {
14
14
  "name": "disabled",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/email-field",
4
- "version": "25.0.0-alpha4",
4
+ "version": "25.0.0-alpha6",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -16,7 +16,7 @@
16
16
  "elements": [
17
17
  {
18
18
  "name": "vaadin-email-field",
19
- "description": "`<vaadin-email-field>` is a Web Component for email field control in forms.\n\n```html\n<vaadin-email-field label=\"Email\"></vaadin-email-field>\n```\n\n### Styling\n\n`<vaadin-email-field>` provides the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.\nSee [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-alpha4/#/elements/vaadin-text-field) for the styling documentation.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
19
+ "description": "`<vaadin-email-field>` is a Web Component for email field control in forms.\n\n```html\n<vaadin-email-field label=\"Email\"></vaadin-email-field>\n```\n\n### Styling\n\n`<vaadin-email-field>` provides the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.\nSee [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-alpha6/#/elements/vaadin-text-field) for the styling documentation.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
20
20
  "extension": true,
21
21
  "attributes": [
22
22
  {