@vaadin/vaadin-login 22.0.0-alpha9 → 22.0.0
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 +7 -60
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,65 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @vaadin/vaadin-login
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[API documentation ↗](https://vaadin.com/components/vaadin-login/html-api)
|
|
3
|
+
> ⚠️ Starting from Vaadin 22, this package is deprecated.
|
|
4
|
+
> Please use [`@vaadin/login`](https://www.npmjs.com/package/@vaadin/login) instead.
|
|
6
5
|
|
|
7
|
-
|
|
6
|
+
A web component for displaying a login form, either inline, or as an overlay.
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
[](https://www.npmjs.com/package/@vaadin/vaadin-login)
|
|
12
|
-
[](https://vaadin.com/directory/component/vaadinvaadin-login)
|
|
13
|
-
[](https://discord.gg/PHmkCKC)
|
|
14
|
-
|
|
15
|
-
```html
|
|
16
|
-
<vaadin-login-overlay opened></vaadin-login-overlay>
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
[<img src="https://raw.githubusercontent.com/vaadin/vaadin-login/master/screenshot.png" width="700" alt="Screenshot of vaadin-login-overlay">](https://vaadin.com/components/vaadin-login)
|
|
20
|
-
|
|
21
|
-
<vaadin-login-form> is a Web Component providing a form to require users to log in into an application.
|
|
22
|
-
|
|
23
|
-
```html
|
|
24
|
-
<vaadin-login-form></vaadin-login-form>
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Installation
|
|
28
|
-
|
|
29
|
-
Install `vaadin-login`:
|
|
30
|
-
|
|
31
|
-
```sh
|
|
32
|
-
npm i @vaadin/vaadin-login --save
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
Once installed, import it in your application:
|
|
36
|
-
|
|
37
|
-
```js
|
|
38
|
-
import '@vaadin/vaadin-login/vaadin-login-overlay.js';
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## Getting started
|
|
42
|
-
|
|
43
|
-
Vaadin components use the Lumo theme by default.
|
|
44
|
-
|
|
45
|
-
To use the Material theme, import the correspondent file from the `theme/material` folder.
|
|
46
|
-
|
|
47
|
-
## Entry points
|
|
48
|
-
|
|
49
|
-
- The component with the Lumo theme:
|
|
50
|
-
|
|
51
|
-
`theme/lumo/vaadin-login-overlay.js`
|
|
52
|
-
`theme/lumo/vaadin-login-form.js`
|
|
53
|
-
|
|
54
|
-
- The component with the Material theme:
|
|
55
|
-
|
|
56
|
-
`theme/material/vaadin-login-overlay.js`
|
|
57
|
-
`theme/material/vaadin-login-form.js`
|
|
58
|
-
|
|
59
|
-
- Aliases for lumo themed components:
|
|
60
|
-
|
|
61
|
-
`vaadin-login-overlay.js`
|
|
62
|
-
`vaadin-login-form.js`
|
|
8
|
+
[Documentation + Live Demo ↗](https://vaadin.com/docs/latest/ds/components/login)
|
|
63
9
|
|
|
64
10
|
## Contributing
|
|
65
11
|
|
|
@@ -69,4 +15,5 @@ Read the [contributing guide](https://vaadin.com/docs/latest/guide/contributing/
|
|
|
69
15
|
|
|
70
16
|
Apache License 2.0
|
|
71
17
|
|
|
72
|
-
Vaadin collects development time
|
|
18
|
+
Vaadin collects usage statistics at development time to improve this product..
|
|
19
|
+
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/vaadin-login",
|
|
3
|
-
"version": "22.0.0
|
|
3
|
+
"version": "22.0.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"polymer"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@vaadin/login": "22.0.0
|
|
35
|
+
"@vaadin/login": "^22.0.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "b668e9b1a975227fbe34beb70d1cd5b03dce2348"
|
|
38
38
|
}
|