@vaadin/login 24.4.0-alpha3 → 24.4.0-alpha5

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.
Files changed (31) hide show
  1. package/package.json +10 -16
  2. package/src/vaadin-lit-login-form-wrapper.js +79 -0
  3. package/src/vaadin-lit-login-form.d.ts +6 -0
  4. package/src/vaadin-lit-login-form.js +109 -0
  5. package/src/vaadin-lit-login-overlay-wrapper.js +71 -0
  6. package/src/vaadin-lit-login-overlay.d.ts +6 -0
  7. package/src/vaadin-lit-login-overlay.js +80 -0
  8. package/theme/lumo/vaadin-lit-login-form.d.ts +5 -0
  9. package/theme/lumo/vaadin-lit-login-form.js +5 -0
  10. package/theme/lumo/vaadin-lit-login-overlay.d.ts +3 -0
  11. package/theme/lumo/vaadin-lit-login-overlay.js +3 -0
  12. package/theme/lumo/vaadin-login-form-wrapper-styles.d.ts +1 -0
  13. package/theme/lumo/vaadin-login-form.d.ts +5 -0
  14. package/theme/lumo/vaadin-login-overlay-styles.d.ts +2 -0
  15. package/theme/lumo/vaadin-login-overlay-styles.js +1 -1
  16. package/theme/lumo/vaadin-login-overlay.d.ts +6 -0
  17. package/theme/material/vaadin-lit-login-form.d.ts +5 -0
  18. package/theme/material/vaadin-lit-login-form.js +5 -0
  19. package/theme/material/vaadin-lit-login-overlay.d.ts +3 -0
  20. package/theme/material/vaadin-lit-login-overlay.js +3 -0
  21. package/theme/material/vaadin-login-form-wrapper-styles.d.ts +1 -0
  22. package/theme/material/vaadin-login-form.d.ts +5 -0
  23. package/theme/material/vaadin-login-overlay-styles.d.ts +1 -0
  24. package/theme/material/vaadin-login-overlay-styles.js +1 -1
  25. package/theme/material/vaadin-login-overlay.d.ts +6 -0
  26. package/vaadin-lit-login-form.d.ts +1 -0
  27. package/vaadin-lit-login-form.js +3 -0
  28. package/vaadin-lit-login-overlay.d.ts +1 -0
  29. package/vaadin-lit-login-overlay.js +3 -0
  30. package/web-types.json +2 -2
  31. package/web-types.lit.json +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/login",
3
- "version": "24.4.0-alpha3",
3
+ "version": "24.4.0-alpha5",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -21,12 +21,6 @@
21
21
  "type": "module",
22
22
  "files": [
23
23
  "src",
24
- "!src/vaadin-lit-login-form-wrapper.js",
25
- "!src/vaadin-lit-login-form.d.ts",
26
- "!src/vaadin-lit-login-form.js",
27
- "!src/vaadin-lit-login-overlay-wrapper.js",
28
- "!src/vaadin-lit-login-overlay.d.ts",
29
- "!src/vaadin-lit-login-overlay.js",
30
24
  "theme",
31
25
  "vaadin-*.d.ts",
32
26
  "vaadin-*.js",
@@ -43,14 +37,14 @@
43
37
  "dependencies": {
44
38
  "@open-wc/dedupe-mixin": "^1.3.0",
45
39
  "@polymer/polymer": "^3.0.0",
46
- "@vaadin/button": "24.4.0-alpha3",
47
- "@vaadin/component-base": "24.4.0-alpha3",
48
- "@vaadin/overlay": "24.4.0-alpha3",
49
- "@vaadin/password-field": "24.4.0-alpha3",
50
- "@vaadin/text-field": "24.4.0-alpha3",
51
- "@vaadin/vaadin-lumo-styles": "24.4.0-alpha3",
52
- "@vaadin/vaadin-material-styles": "24.4.0-alpha3",
53
- "@vaadin/vaadin-themable-mixin": "24.4.0-alpha3",
40
+ "@vaadin/button": "24.4.0-alpha5",
41
+ "@vaadin/component-base": "24.4.0-alpha5",
42
+ "@vaadin/overlay": "24.4.0-alpha5",
43
+ "@vaadin/password-field": "24.4.0-alpha5",
44
+ "@vaadin/text-field": "24.4.0-alpha5",
45
+ "@vaadin/vaadin-lumo-styles": "24.4.0-alpha5",
46
+ "@vaadin/vaadin-material-styles": "24.4.0-alpha5",
47
+ "@vaadin/vaadin-themable-mixin": "24.4.0-alpha5",
54
48
  "lit": "^3.0.0"
55
49
  },
56
50
  "devDependencies": {
@@ -62,5 +56,5 @@
62
56
  "web-types.json",
63
57
  "web-types.lit.json"
64
58
  ],
65
- "gitHead": "08563b9e009eb7f90921c172ab7982d64651aea2"
59
+ "gitHead": "05618f05f9604d328daa3e6501a5a29d522c2ec4"
66
60
  }
@@ -0,0 +1,79 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
6
+ import { html, LitElement } from 'lit';
7
+ import { defineCustomElement } from '@vaadin/component-base/src/define.js';
8
+ import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
9
+ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
10
+ import { loginFormWrapperStyles } from './vaadin-login-form-wrapper-styles.js';
11
+
12
+ /**
13
+ * An element used internally by `<vaadin-login-form>`. Not intended to be used separately.
14
+ *
15
+ * @extends HTMLElement
16
+ * @mixes ThemableMixin
17
+ * @private
18
+ */
19
+ class LoginFormWrapper extends ThemableMixin(PolylitMixin(LitElement)) {
20
+ static get is() {
21
+ return 'vaadin-login-form-wrapper';
22
+ }
23
+
24
+ static get styles() {
25
+ return loginFormWrapperStyles;
26
+ }
27
+
28
+ static get properties() {
29
+ return {
30
+ /**
31
+ * If set, the error message is shown. The message is hidden by default.
32
+ * When set, it changes the disabled state of the submit button.
33
+ * @type {boolean}
34
+ */
35
+ error: {
36
+ type: Boolean,
37
+ value: false,
38
+ reflectToAttribute: true,
39
+ },
40
+
41
+ /**
42
+ * The object used to localize this component.
43
+ */
44
+ i18n: {
45
+ type: Object,
46
+ },
47
+ };
48
+ }
49
+
50
+ /** @protected */
51
+ render() {
52
+ return html`
53
+ <section part="form">
54
+ <h2 part="form-title">${this.i18n.form.title}</h2>
55
+ <div part="error-message" ?hidden="${!this.error}">
56
+ <h5 part="error-message-title">${this.i18n.errorMessage.title}</h5>
57
+ <p part="error-message-description">${this.i18n.errorMessage.message}</p>
58
+ </div>
59
+
60
+ <slot name="form"></slot>
61
+
62
+ <slot name="custom-form-area"></slot>
63
+
64
+ <slot name="submit"></slot>
65
+
66
+ <slot name="forgot-password"></slot>
67
+
68
+ <div part="footer">
69
+ <slot name="footer"></slot>
70
+ <p>${this.i18n.additionalInformation}</p>
71
+ </div>
72
+ </section>
73
+ `;
74
+ }
75
+ }
76
+
77
+ defineCustomElement(LoginFormWrapper);
78
+
79
+ export { LoginFormWrapper };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
6
+ export * from './vaadin-login-form.js';
@@ -0,0 +1,109 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
6
+ import '@vaadin/button/src/vaadin-lit-button.js';
7
+ import '@vaadin/text-field/src/vaadin-lit-text-field.js';
8
+ import '@vaadin/password-field/src/vaadin-lit-password-field.js';
9
+ import './vaadin-lit-login-form-wrapper.js';
10
+ import { html, LitElement } from 'lit';
11
+ import { ifDefined } from 'lit/directives/if-defined.js';
12
+ import { defineCustomElement } from '@vaadin/component-base/src/define.js';
13
+ import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
14
+ import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
15
+ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
16
+ import { LoginFormMixin } from './vaadin-login-form-mixin.js';
17
+
18
+ /**
19
+ * LitElement based version of `<vaadin-login-form>` web component.
20
+ *
21
+ * ## Disclaimer
22
+ *
23
+ * This component is an experiment and not yet a part of Vaadin platform.
24
+ * There is no ETA regarding specific Vaadin version where it'll land.
25
+ * Feel free to try this code in your apps as per Apache 2.0 license.
26
+ */
27
+ class LoginForm extends LoginFormMixin(ElementMixin(ThemableMixin(PolylitMixin(LitElement)))) {
28
+ static get is() {
29
+ return 'vaadin-login-form';
30
+ }
31
+
32
+ /**
33
+ * @protected
34
+ * @override
35
+ */
36
+ createRenderRoot() {
37
+ return this;
38
+ }
39
+
40
+ /** @protected */
41
+ render() {
42
+ return html`
43
+ <style>
44
+ vaadin-login-form-wrapper > form > * {
45
+ width: 100%;
46
+ }
47
+ </style>
48
+ <vaadin-login-form-wrapper
49
+ id="vaadinLoginFormWrapper"
50
+ theme="${ifDefined(this._theme)}"
51
+ .error="${this.error}"
52
+ .i18n="${this.i18n}"
53
+ >
54
+ <form method="POST" action="${this.action}" @formdata="${this._onFormData}" slot="form">
55
+ <input id="csrf" type="hidden" />
56
+ <vaadin-text-field
57
+ name="username"
58
+ label="${this.i18n.form.username}"
59
+ .errorMessage="${this.i18n.errorMessage.username}"
60
+ id="vaadinLoginUsername"
61
+ required
62
+ @keydown="${this._handleInputKeydown}"
63
+ autocapitalize="none"
64
+ autocorrect="off"
65
+ spellcheck="false"
66
+ autocomplete="username"
67
+ >
68
+ <input type="text" slot="input" @keyup="${this._handleInputKeyup}" />
69
+ </vaadin-text-field>
70
+
71
+ <vaadin-password-field
72
+ name="password"
73
+ .label="${this.i18n.form.password}"
74
+ .errorMessage="${this.i18n.errorMessage.password}"
75
+ id="vaadinLoginPassword"
76
+ required
77
+ @keydown="${this._handleInputKeydown}"
78
+ spellcheck="false"
79
+ autocomplete="current-password"
80
+ >
81
+ <input type="password" slot="input" @keyup="${this._handleInputKeyup}" />
82
+ </vaadin-password-field>
83
+ </form>
84
+
85
+ <vaadin-button
86
+ slot="submit"
87
+ theme="primary contained submit"
88
+ @click="${this.submit}"
89
+ .disabled="${this.disabled}"
90
+ >
91
+ ${this.i18n.form.submit}
92
+ </vaadin-button>
93
+
94
+ <vaadin-button
95
+ slot="forgot-password"
96
+ theme="tertiary small"
97
+ @click="${this._onForgotPasswordClick}"
98
+ ?hidden="${this.noForgotPassword}"
99
+ >
100
+ ${this.i18n.form.forgotPassword}
101
+ </vaadin-button>
102
+ </vaadin-login-form-wrapper>
103
+ `;
104
+ }
105
+ }
106
+
107
+ defineCustomElement(LoginForm);
108
+
109
+ export { LoginForm };
@@ -0,0 +1,71 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
6
+ import { html, LitElement } from 'lit';
7
+ import { defineCustomElement } from '@vaadin/component-base/src/define.js';
8
+ import { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
9
+ import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
10
+ import { OverlayMixin } from '@vaadin/overlay/src/vaadin-overlay-mixin.js';
11
+ import { overlayStyles } from '@vaadin/overlay/src/vaadin-overlay-styles.js';
12
+ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
13
+ import { loginOverlayWrapperStyles } from './vaadin-login-overlay-wrapper-styles.js';
14
+
15
+ /**
16
+ * An element used internally by `<vaadin-login-overlay>`. Not intended to be used separately.
17
+ *
18
+ * @extends HTMLElement
19
+ * @private
20
+ */
21
+ class LoginOverlayWrapper extends OverlayMixin(DirMixin(ThemableMixin(PolylitMixin(LitElement)))) {
22
+ static get is() {
23
+ return 'vaadin-login-overlay-wrapper';
24
+ }
25
+
26
+ static get styles() {
27
+ return [overlayStyles, loginOverlayWrapperStyles];
28
+ }
29
+
30
+ static get properties() {
31
+ return {
32
+ /**
33
+ * Title of the application.
34
+ */
35
+ title: {
36
+ type: String,
37
+ },
38
+
39
+ /**
40
+ * Application description. Displayed under the title.
41
+ */
42
+ description: {
43
+ type: String,
44
+ },
45
+ };
46
+ }
47
+
48
+ /** @protected */
49
+ render() {
50
+ return html`
51
+ <div id="backdrop" part="backdrop" ?hidden="${!this.withBackdrop}"></div>
52
+ <div part="overlay" id="overlay" tabindex="0">
53
+ <div part="content" id="content">
54
+ <section part="card">
55
+ <div part="brand">
56
+ <slot name="title">
57
+ <h1 part="title">${this.title}</h1>
58
+ </slot>
59
+ <p part="description">${this.description}</p>
60
+ </div>
61
+ <div part="form">
62
+ <slot></slot>
63
+ </div>
64
+ </section>
65
+ </div>
66
+ </div>
67
+ `;
68
+ }
69
+ }
70
+
71
+ defineCustomElement(LoginOverlayWrapper);
@@ -0,0 +1,6 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
6
+ export * from './vaadin-login-overlay.js';
@@ -0,0 +1,80 @@
1
+ /**
2
+ * @license
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
+ * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
+ */
6
+ import './vaadin-lit-login-form.js';
7
+ import './vaadin-lit-login-overlay-wrapper.js';
8
+ import { html, LitElement } from 'lit';
9
+ import { ifDefined } from 'lit/directives/if-defined.js';
10
+ import { defineCustomElement } from '@vaadin/component-base/src/define.js';
11
+ import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
12
+ import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
13
+ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
14
+ import { LoginOverlayMixin } from './vaadin-login-overlay-mixin.js';
15
+
16
+ /**
17
+ * LitElement based version of `<vaadin-login-overlay>` web component.
18
+ *
19
+ * ## Disclaimer
20
+ *
21
+ * This component is an experiment and not yet a part of Vaadin platform.
22
+ * There is no ETA regarding specific Vaadin version where it'll land.
23
+ * Feel free to try this code in your apps as per Apache 2.0 license.
24
+ */
25
+ class LoginOverlay extends LoginOverlayMixin(ElementMixin(ThemableMixin(PolylitMixin(LitElement)))) {
26
+ static get is() {
27
+ return 'vaadin-login-overlay';
28
+ }
29
+
30
+ /** @protected */
31
+ render() {
32
+ return html`
33
+ <vaadin-login-overlay-wrapper
34
+ id="vaadinLoginOverlayWrapper"
35
+ .opened="${this.opened}"
36
+ .title="${this.title}"
37
+ .description="${this.description}"
38
+ focus-trap
39
+ with-backdrop
40
+ theme="${ifDefined(this._theme)}"
41
+ @vaadin-overlay-escape-press="${this._preventClosingLogin}"
42
+ @vaadin-overlay-outside-click="${this._preventClosingLogin}"
43
+ @opened-changed="${this._onOpenedChanged}"
44
+ >
45
+ <vaadin-login-form
46
+ theme="with-overlay"
47
+ id="vaadinLoginForm"
48
+ .action="${this.action}"
49
+ .disabled="${this.disabled}"
50
+ .error="${this.error}"
51
+ .noAutofocus="${this.noAutofocus}"
52
+ .noForgotPassword="${this.noForgotPassword}"
53
+ .i18n="${this.i18n}"
54
+ @login="${this._retargetEvent}"
55
+ @forgot-password="${this._retargetEvent}"
56
+ @disabled-changed="${this._onDisabledChanged}"
57
+ ></vaadin-login-form>
58
+ </vaadin-login-overlay-wrapper>
59
+
60
+ <div hidden>
61
+ <slot name="custom-form-area"></slot>
62
+ <slot name="footer"></slot>
63
+ </div>
64
+ `;
65
+ }
66
+
67
+ /** @private */
68
+ _onOpenedChanged(event) {
69
+ this.opened = event.detail.value;
70
+ }
71
+
72
+ /** @private */
73
+ _onDisabledChanged(event) {
74
+ this.disabled = event.detail.value;
75
+ }
76
+ }
77
+
78
+ defineCustomElement(LoginOverlay);
79
+
80
+ export { LoginOverlay };
@@ -0,0 +1,5 @@
1
+ import '@vaadin/button/theme/lumo/vaadin-button-styles.js';
2
+ import '@vaadin/text-field/theme/lumo/vaadin-text-field-styles.js';
3
+ import '@vaadin/password-field/theme/lumo/vaadin-password-field-styles.js';
4
+ import './vaadin-login-form-wrapper-styles.js';
5
+ import '../../src/vaadin-lit-login-form.js';
@@ -0,0 +1,5 @@
1
+ import '@vaadin/button/theme/lumo/vaadin-button-styles.js';
2
+ import '@vaadin/text-field/theme/lumo/vaadin-text-field-styles.js';
3
+ import '@vaadin/password-field/theme/lumo/vaadin-password-field-styles.js';
4
+ import './vaadin-login-form-wrapper-styles.js';
5
+ import '../../src/vaadin-lit-login-form.js';
@@ -0,0 +1,3 @@
1
+ import './vaadin-login-overlay-styles.js';
2
+ import './vaadin-lit-login-form.js';
3
+ import '../../src/vaadin-lit-login-overlay.js';
@@ -0,0 +1,3 @@
1
+ import './vaadin-login-overlay-styles.js';
2
+ import './vaadin-lit-login-form.js';
3
+ import '../../src/vaadin-lit-login-overlay.js';
@@ -0,0 +1 @@
1
+ import '@vaadin/vaadin-lumo-styles/spacing.js';
@@ -0,0 +1,5 @@
1
+ import '@vaadin/button/theme/lumo/vaadin-button.js';
2
+ import '@vaadin/text-field/theme/lumo/vaadin-text-field.js';
3
+ import '@vaadin/password-field/theme/lumo/vaadin-password-field.js';
4
+ import './vaadin-login-form-wrapper-styles.js';
5
+ import '../../src/vaadin-login-form.js';
@@ -0,0 +1,2 @@
1
+ import '@vaadin/vaadin-lumo-styles/spacing.js';
2
+ import './vaadin-login-form-wrapper-styles.js';
@@ -193,6 +193,6 @@ const loginFormWrapper = css`
193
193
  }
194
194
  `;
195
195
 
196
- registerStyles('vaadin-login-form-wrapper', [color, typography, loginFormWrapper], {
196
+ registerStyles('vaadin-login-form-wrapper', [loginFormWrapper], {
197
197
  moduleId: 'lumo-login-overlay',
198
198
  });
@@ -0,0 +1,6 @@
1
+ import '@vaadin/text-field/theme/lumo/vaadin-text-field.js';
2
+ import '@vaadin/password-field/theme/lumo/vaadin-password-field.js';
3
+ import '@vaadin/button/theme/lumo/vaadin-button.js';
4
+ import './vaadin-login-form.js';
5
+ import './vaadin-login-overlay-styles.js';
6
+ import '../../src/vaadin-login-overlay.js';
@@ -0,0 +1,5 @@
1
+ import '@vaadin/button/theme/material/vaadin-button-styles.js';
2
+ import '@vaadin/text-field/theme/material/vaadin-text-field-styles.js';
3
+ import '@vaadin/password-field/theme/material/vaadin-password-field-styles.js';
4
+ import './vaadin-login-form-wrapper-styles.js';
5
+ import '../../src/vaadin-lit-login-form.js';
@@ -0,0 +1,5 @@
1
+ import '@vaadin/button/theme/material/vaadin-button-styles.js';
2
+ import '@vaadin/text-field/theme/material/vaadin-text-field-styles.js';
3
+ import '@vaadin/password-field/theme/material/vaadin-password-field-styles.js';
4
+ import './vaadin-login-form-wrapper-styles.js';
5
+ import '../../src/vaadin-lit-login-form.js';
@@ -0,0 +1,3 @@
1
+ import './vaadin-login-overlay-styles.js';
2
+ import './vaadin-lit-login-form.js';
3
+ import '../../src/vaadin-lit-login-overlay.js';
@@ -0,0 +1,3 @@
1
+ import './vaadin-login-overlay-styles.js';
2
+ import './vaadin-lit-login-form.js';
3
+ import '../../src/vaadin-lit-login-overlay.js';
@@ -0,0 +1 @@
1
+ import '@vaadin/vaadin-material-styles/color.js';
@@ -0,0 +1,5 @@
1
+ import '@vaadin/button/theme/material/vaadin-button.js';
2
+ import '@vaadin/text-field/theme/material/vaadin-text-field.js';
3
+ import '@vaadin/password-field/theme/material/vaadin-password-field.js';
4
+ import './vaadin-login-form-wrapper-styles.js';
5
+ import '../../src/vaadin-login-form.js';
@@ -0,0 +1 @@
1
+ import '@vaadin/vaadin-material-styles/color.js';
@@ -347,4 +347,4 @@ const loginFormWrapper = css`
347
347
  }
348
348
  `;
349
349
 
350
- registerStyles('vaadin-login-form-wrapper', [typography, loginFormWrapper], { moduleId: 'material-login-overlay' });
350
+ registerStyles('vaadin-login-form-wrapper', [loginFormWrapper], { moduleId: 'material-login-overlay' });
@@ -0,0 +1,6 @@
1
+ import '@vaadin/text-field/theme/material/vaadin-text-field.js';
2
+ import '@vaadin/password-field/theme/material/vaadin-password-field.js';
3
+ import '@vaadin/button/theme/material/vaadin-button.js';
4
+ import './vaadin-login-form.js';
5
+ import './vaadin-login-overlay-styles.js';
6
+ import '../../src/vaadin-login-overlay.js';
@@ -0,0 +1 @@
1
+ export * from './src/vaadin-lit-login-form.js';
@@ -0,0 +1,3 @@
1
+ import './theme/lumo/vaadin-lit-login-form.js';
2
+
3
+ export * from './src/vaadin-lit-login-form.js';
@@ -0,0 +1 @@
1
+ export * from './src/vaadin-lit-login-overlay.js';
@@ -0,0 +1,3 @@
1
+ import './theme/lumo/vaadin-lit-login-overlay.js';
2
+
3
+ export * from './src/vaadin-lit-login-overlay.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/login",
4
- "version": "24.4.0-alpha3",
4
+ "version": "24.4.0-alpha5",
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.4.0-alpha3/#/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.4.0-alpha5/#/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.4.0-alpha3",
4
+ "version": "24.4.0-alpha5",
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.4.0-alpha3/#/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.4.0-alpha5/#/elements/vaadin-login-form)\ndocumentation for `<vaadin-login-form-wrapper>` stylable parts.",
97
97
  "extension": true,
98
98
  "attributes": [
99
99
  {