@vaadin/login 24.2.0-alpha14 → 24.2.0-alpha15

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/login",
3
- "version": "24.2.0-alpha14",
3
+ "version": "24.2.0-alpha15",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -43,14 +43,14 @@
43
43
  "dependencies": {
44
44
  "@open-wc/dedupe-mixin": "^1.3.0",
45
45
  "@polymer/polymer": "^3.0.0",
46
- "@vaadin/button": "24.2.0-alpha14",
47
- "@vaadin/component-base": "24.2.0-alpha14",
48
- "@vaadin/overlay": "24.2.0-alpha14",
49
- "@vaadin/password-field": "24.2.0-alpha14",
50
- "@vaadin/text-field": "24.2.0-alpha14",
51
- "@vaadin/vaadin-lumo-styles": "24.2.0-alpha14",
52
- "@vaadin/vaadin-material-styles": "24.2.0-alpha14",
53
- "@vaadin/vaadin-themable-mixin": "24.2.0-alpha14"
46
+ "@vaadin/button": "24.2.0-alpha15",
47
+ "@vaadin/component-base": "24.2.0-alpha15",
48
+ "@vaadin/overlay": "24.2.0-alpha15",
49
+ "@vaadin/password-field": "24.2.0-alpha15",
50
+ "@vaadin/text-field": "24.2.0-alpha15",
51
+ "@vaadin/vaadin-lumo-styles": "24.2.0-alpha15",
52
+ "@vaadin/vaadin-material-styles": "24.2.0-alpha15",
53
+ "@vaadin/vaadin-themable-mixin": "24.2.0-alpha15"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@esm-bundle/chai": "^4.3.4",
@@ -61,5 +61,5 @@
61
61
  "web-types.json",
62
62
  "web-types.lit.json"
63
63
  ],
64
- "gitHead": "203a2fda8d879db6ee8bccd7cf5b915de3e5008b"
64
+ "gitHead": "043dbb1c2513685a98354921876d35fa18bca7a2"
65
65
  }
@@ -17,7 +17,7 @@ export const LoginFormMixin = (superClass) =>
17
17
 
18
18
  get _customFields() {
19
19
  return [...this.$.vaadinLoginFormWrapper.children].filter((node) => {
20
- return node.getAttribute('slot') === 'custom-fields' && node.hasAttribute('name');
20
+ return node.getAttribute('slot') === 'custom-form-area' && node.hasAttribute('name');
21
21
  });
22
22
  }
23
23
 
@@ -30,15 +30,14 @@ class LoginFormWrapper extends ThemableMixin(PolymerElement) {
30
30
 
31
31
  <slot name="form"></slot>
32
32
 
33
- <slot name="custom-fields"></slot>
33
+ <slot name="custom-form-area"></slot>
34
34
 
35
35
  <slot name="submit"></slot>
36
36
 
37
37
  <slot name="forgot-password"></slot>
38
38
 
39
- <slot name="footer"></slot>
40
-
41
39
  <div part="footer">
40
+ <slot name="footer"></slot>
42
41
  <p>[[i18n.additionalInformation]]</p>
43
42
  </div>
44
43
  </section>
@@ -135,7 +135,7 @@ export const LoginOverlayMixin = (superClass) =>
135
135
  this._undoTitleTeleport = this._teleport('title', this.$.vaadinLoginOverlayWrapper);
136
136
 
137
137
  this._undoFieldsTeleport = this._teleport(
138
- 'custom-fields',
138
+ 'custom-form-area',
139
139
  form.$.vaadinLoginFormWrapper,
140
140
  form.querySelector('vaadin-button'),
141
141
  );
@@ -77,7 +77,7 @@ class LoginOverlay extends LoginOverlayMixin(ElementMixin(ThemableMixin(PolymerE
77
77
  </vaadin-login-overlay-wrapper>
78
78
 
79
79
  <div hidden>
80
- <slot name="custom-fields"></slot>
80
+ <slot name="custom-form-area"></slot>
81
81
  <slot name="footer"></slot>
82
82
  </div>
83
83
  `;
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/login",
4
- "version": "24.2.0-alpha14",
4
+ "version": "24.2.0-alpha15",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -148,7 +148,7 @@
148
148
  },
149
149
  {
150
150
  "name": "vaadin-login-overlay",
151
- "description": "`<vaadin-login-overlay>` is a wrapper of the `<vaadin-login-form>` which opens a login form in an overlay and\nhaving an additional `brand` part for application title and description. Using `<vaadin-login-overlay>` allows\npassword managers to work with login form.\n\n```\n<vaadin-login-overlay opened></vaadin-login-overlay>\n```\n\n### Styling\n\nThe component doesn't have a shadowRoot, so the `<form>` and input fields can be styled from a global scope.\nUse `<vaadin-login-overlay-wrapper>` and `<vaadin-login-form-wrapper>` to apply styles.\n\nThe following shadow DOM parts of the `<vaadin-login-overlay-wrapper>` are available for styling:\n\nPart name | Description\n----------------|---------------------------------------------------------|\n`card` | Container for the entire component's content\n`brand` | Container for application title and description\n`form` | Container for the `<vaadin-login-form>` component\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\nSee [`<vaadin-login-form>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-alpha14/#/elements/vaadin-login-form)\ndocumentation for `<vaadin-login-form-wrapper>` stylable parts.",
151
+ "description": "`<vaadin-login-overlay>` is a wrapper of the `<vaadin-login-form>` which opens a login form in an overlay and\nhaving an additional `brand` part for application title and description. Using `<vaadin-login-overlay>` allows\npassword managers to work with login form.\n\n```\n<vaadin-login-overlay opened></vaadin-login-overlay>\n```\n\n### Styling\n\nThe component doesn't have a shadowRoot, so the `<form>` and input fields can be styled from a global scope.\nUse `<vaadin-login-overlay-wrapper>` and `<vaadin-login-form-wrapper>` to apply styles.\n\nThe following shadow DOM parts of the `<vaadin-login-overlay-wrapper>` are available for styling:\n\nPart name | Description\n----------------|---------------------------------------------------------|\n`card` | Container for the entire component's content\n`brand` | Container for application title and description\n`form` | Container for the `<vaadin-login-form>` component\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\nSee [`<vaadin-login-form>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-alpha15/#/elements/vaadin-login-form)\ndocumentation for `<vaadin-login-form-wrapper>` stylable parts.",
152
152
  "attributes": [
153
153
  {
154
154
  "name": "action",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/login",
4
- "version": "24.2.0-alpha14",
4
+ "version": "24.2.0-alpha15",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -93,7 +93,7 @@
93
93
  },
94
94
  {
95
95
  "name": "vaadin-login-overlay",
96
- "description": "`<vaadin-login-overlay>` is a wrapper of the `<vaadin-login-form>` which opens a login form in an overlay and\nhaving an additional `brand` part for application title and description. Using `<vaadin-login-overlay>` allows\npassword managers to work with login form.\n\n```\n<vaadin-login-overlay opened></vaadin-login-overlay>\n```\n\n### Styling\n\nThe component doesn't have a shadowRoot, so the `<form>` and input fields can be styled from a global scope.\nUse `<vaadin-login-overlay-wrapper>` and `<vaadin-login-form-wrapper>` to apply styles.\n\nThe following shadow DOM parts of the `<vaadin-login-overlay-wrapper>` are available for styling:\n\nPart name | Description\n----------------|---------------------------------------------------------|\n`card` | Container for the entire component's content\n`brand` | Container for application title and description\n`form` | Container for the `<vaadin-login-form>` component\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\nSee [`<vaadin-login-form>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-alpha14/#/elements/vaadin-login-form)\ndocumentation for `<vaadin-login-form-wrapper>` stylable parts.",
96
+ "description": "`<vaadin-login-overlay>` is a wrapper of the `<vaadin-login-form>` which opens a login form in an overlay and\nhaving an additional `brand` part for application title and description. Using `<vaadin-login-overlay>` allows\npassword managers to work with login form.\n\n```\n<vaadin-login-overlay opened></vaadin-login-overlay>\n```\n\n### Styling\n\nThe component doesn't have a shadowRoot, so the `<form>` and input fields can be styled from a global scope.\nUse `<vaadin-login-overlay-wrapper>` and `<vaadin-login-form-wrapper>` to apply styles.\n\nThe following shadow DOM parts of the `<vaadin-login-overlay-wrapper>` are available for styling:\n\nPart name | Description\n----------------|---------------------------------------------------------|\n`card` | Container for the entire component's content\n`brand` | Container for application title and description\n`form` | Container for the `<vaadin-login-form>` component\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\nSee [`<vaadin-login-form>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-alpha15/#/elements/vaadin-login-form)\ndocumentation for `<vaadin-login-form-wrapper>` stylable parts.",
97
97
  "extension": true,
98
98
  "attributes": [
99
99
  {