@vaadin/login 24.4.0-dev.223e39f050 → 24.4.0-dev.4b20a0c55.3

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 (34) hide show
  1. package/README.md +0 -1
  2. package/package.json +10 -16
  3. package/src/vaadin-lit-login-form-wrapper.js +79 -0
  4. package/src/vaadin-lit-login-form.d.ts +6 -0
  5. package/src/vaadin-lit-login-form.js +109 -0
  6. package/src/vaadin-lit-login-overlay-wrapper.js +71 -0
  7. package/src/vaadin-lit-login-overlay.d.ts +6 -0
  8. package/src/vaadin-lit-login-overlay.js +80 -0
  9. package/src/vaadin-login-form-mixin.d.ts +1 -1
  10. package/src/vaadin-login-form-mixin.js +1 -1
  11. package/src/vaadin-login-form-wrapper-styles.d.ts +1 -1
  12. package/src/vaadin-login-form-wrapper-styles.js +1 -1
  13. package/src/vaadin-login-form-wrapper.js +1 -1
  14. package/src/vaadin-login-form.d.ts +1 -1
  15. package/src/vaadin-login-form.js +1 -1
  16. package/src/vaadin-login-mixin.d.ts +1 -1
  17. package/src/vaadin-login-mixin.js +1 -1
  18. package/src/vaadin-login-overlay-mixin.d.ts +1 -1
  19. package/src/vaadin-login-overlay-mixin.js +1 -1
  20. package/src/vaadin-login-overlay-wrapper-styles.d.ts +1 -1
  21. package/src/vaadin-login-overlay-wrapper-styles.js +1 -1
  22. package/src/vaadin-login-overlay-wrapper.js +1 -1
  23. package/src/vaadin-login-overlay.d.ts +1 -1
  24. package/src/vaadin-login-overlay.js +1 -1
  25. package/theme/lumo/vaadin-lit-login-form.js +5 -0
  26. package/theme/lumo/vaadin-lit-login-overlay.js +3 -0
  27. package/theme/lumo/vaadin-login-overlay-styles.js +1 -1
  28. package/theme/material/vaadin-lit-login-form.js +5 -0
  29. package/theme/material/vaadin-lit-login-overlay.js +3 -0
  30. package/theme/material/vaadin-login-overlay-styles.js +1 -1
  31. package/vaadin-lit-login-form.d.ts +1 -0
  32. package/vaadin-lit-login-form.js +3 -0
  33. package/vaadin-lit-login-overlay.d.ts +1 -0
  34. package/vaadin-lit-login-overlay.js +3 -0
package/README.md CHANGED
@@ -5,7 +5,6 @@ A web component for displaying a login form, either inline, or as an overlay.
5
5
  [Documentation + Live Demo ↗](https://vaadin.com/docs/latest/components/login)
6
6
 
7
7
  [![npm version](https://badgen.net/npm/v/@vaadin/login)](https://www.npmjs.com/package/@vaadin/login)
8
- [![Discord](https://img.shields.io/discord/732335336448852018?label=discord)](https://discord.gg/PHmkCKC)
9
8
 
10
9
  ```html
11
10
  <vaadin-login-overlay opened></vaadin-login-overlay>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/login",
3
- "version": "24.4.0-dev.223e39f050",
3
+ "version": "24.4.0-dev.4b20a0c55.3",
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-dev.223e39f050",
47
- "@vaadin/component-base": "24.4.0-dev.223e39f050",
48
- "@vaadin/overlay": "24.4.0-dev.223e39f050",
49
- "@vaadin/password-field": "24.4.0-dev.223e39f050",
50
- "@vaadin/text-field": "24.4.0-dev.223e39f050",
51
- "@vaadin/vaadin-lumo-styles": "24.4.0-dev.223e39f050",
52
- "@vaadin/vaadin-material-styles": "24.4.0-dev.223e39f050",
53
- "@vaadin/vaadin-themable-mixin": "24.4.0-dev.223e39f050",
40
+ "@vaadin/button": "24.4.0-dev.4b20a0c55.3",
41
+ "@vaadin/component-base": "24.4.0-dev.4b20a0c55.3",
42
+ "@vaadin/overlay": "24.4.0-dev.4b20a0c55.3",
43
+ "@vaadin/password-field": "24.4.0-dev.4b20a0c55.3",
44
+ "@vaadin/text-field": "24.4.0-dev.4b20a0c55.3",
45
+ "@vaadin/vaadin-lumo-styles": "24.4.0-dev.4b20a0c55.3",
46
+ "@vaadin/vaadin-material-styles": "24.4.0-dev.4b20a0c55.3",
47
+ "@vaadin/vaadin-themable-mixin": "24.4.0-dev.4b20a0c55.3",
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": "5e2e3bfc811c95aed9354235fab93fdbf43eb354"
59
+ "gitHead": "41cf17453d7506fb635c088a0425e20b6e82b89b"
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 };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2018 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import type { Constructor } from '@open-wc/dedupe-mixin';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2018 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { LoginMixin } from './vaadin-login-mixin.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2018 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import type { CSSResult } from 'lit';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2018 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { css } from 'lit';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2018 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2018 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2018 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import '@vaadin/button/src/vaadin-button.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2018 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import type { Constructor } from '@open-wc/dedupe-mixin';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2018 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2018 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import type { Constructor } from '@open-wc/dedupe-mixin';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2018 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { OverlayClassMixin } from '@vaadin/component-base/src/overlay-class-mixin.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2018 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import type { CSSResult } from 'lit';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2018 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { css } from 'lit';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2018 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2018 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2018 - 2023 Vaadin Ltd.
3
+ * Copyright (c) 2018 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import './vaadin-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';
@@ -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,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';
@@ -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 @@
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';