@vaadin/login 25.3.0-alpha6 → 25.3.0-dev.1fa5a51482
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/custom-elements.json +68 -54
- package/package.json +14 -14
- package/src/vaadin-login-form-wrapper.js +1 -0
- package/src/vaadin-login-form.js +1 -0
- package/src/vaadin-login-overlay-wrapper.js +3 -2
- package/src/vaadin-login-overlay.js +1 -0
- package/web-types.json +3 -7
- package/web-types.lit.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -432,30 +432,6 @@
|
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
434
|
],
|
|
435
|
-
"mixins": [
|
|
436
|
-
{
|
|
437
|
-
"name": "LoginFormMixin",
|
|
438
|
-
"module": "src/vaadin-login-form-mixin.js"
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
"name": "ElementMixin",
|
|
442
|
-
"package": "@vaadin/component-base/src/element-mixin.js"
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
"name": "ThemableMixin",
|
|
446
|
-
"package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
"name": "PolylitMixin",
|
|
450
|
-
"package": "@vaadin/component-base/src/polylit-mixin.js"
|
|
451
|
-
}
|
|
452
|
-
],
|
|
453
|
-
"superclass": {
|
|
454
|
-
"name": "LitElement",
|
|
455
|
-
"package": "lit"
|
|
456
|
-
},
|
|
457
|
-
"tagName": "vaadin-login-form",
|
|
458
|
-
"customElement": true,
|
|
459
435
|
"attributes": [
|
|
460
436
|
{
|
|
461
437
|
"name": "action",
|
|
@@ -540,8 +516,39 @@
|
|
|
540
516
|
"name": "LoginMixin",
|
|
541
517
|
"module": "src/vaadin-login-mixin.js"
|
|
542
518
|
}
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"type": {
|
|
522
|
+
"text": "string"
|
|
523
|
+
},
|
|
524
|
+
"description": "The theme variants to apply to the component.",
|
|
525
|
+
"name": "theme"
|
|
543
526
|
}
|
|
544
|
-
]
|
|
527
|
+
],
|
|
528
|
+
"mixins": [
|
|
529
|
+
{
|
|
530
|
+
"name": "LoginFormMixin",
|
|
531
|
+
"module": "src/vaadin-login-form-mixin.js"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"name": "ElementMixin",
|
|
535
|
+
"package": "@vaadin/component-base/src/element-mixin.js"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"name": "ThemableMixin",
|
|
539
|
+
"package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"name": "PolylitMixin",
|
|
543
|
+
"package": "@vaadin/component-base/src/polylit-mixin.js"
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
"superclass": {
|
|
547
|
+
"name": "LitElement",
|
|
548
|
+
"package": "lit"
|
|
549
|
+
},
|
|
550
|
+
"tagName": "vaadin-login-form",
|
|
551
|
+
"customElement": true
|
|
545
552
|
}
|
|
546
553
|
],
|
|
547
554
|
"exports": [
|
|
@@ -1032,34 +1039,6 @@
|
|
|
1032
1039
|
}
|
|
1033
1040
|
}
|
|
1034
1041
|
],
|
|
1035
|
-
"mixins": [
|
|
1036
|
-
{
|
|
1037
|
-
"name": "LoginFormMixin",
|
|
1038
|
-
"module": "src/vaadin-login-form-mixin.js"
|
|
1039
|
-
},
|
|
1040
|
-
{
|
|
1041
|
-
"name": "LoginOverlayMixin",
|
|
1042
|
-
"module": "src/vaadin-login-overlay-mixin.js"
|
|
1043
|
-
},
|
|
1044
|
-
{
|
|
1045
|
-
"name": "ElementMixin",
|
|
1046
|
-
"package": "@vaadin/component-base/src/element-mixin.js"
|
|
1047
|
-
},
|
|
1048
|
-
{
|
|
1049
|
-
"name": "ThemableMixin",
|
|
1050
|
-
"package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
|
|
1051
|
-
},
|
|
1052
|
-
{
|
|
1053
|
-
"name": "PolylitMixin",
|
|
1054
|
-
"package": "@vaadin/component-base/src/polylit-mixin.js"
|
|
1055
|
-
}
|
|
1056
|
-
],
|
|
1057
|
-
"superclass": {
|
|
1058
|
-
"name": "LitElement",
|
|
1059
|
-
"package": "lit"
|
|
1060
|
-
},
|
|
1061
|
-
"tagName": "vaadin-login-overlay",
|
|
1062
|
-
"customElement": true,
|
|
1063
1042
|
"attributes": [
|
|
1064
1043
|
{
|
|
1065
1044
|
"name": "action",
|
|
@@ -1169,6 +1148,13 @@
|
|
|
1169
1148
|
"module": "src/vaadin-login-overlay-mixin.js"
|
|
1170
1149
|
}
|
|
1171
1150
|
},
|
|
1151
|
+
{
|
|
1152
|
+
"type": {
|
|
1153
|
+
"text": "string"
|
|
1154
|
+
},
|
|
1155
|
+
"description": "The theme variants to apply to the component.",
|
|
1156
|
+
"name": "theme"
|
|
1157
|
+
},
|
|
1172
1158
|
{
|
|
1173
1159
|
"name": "title",
|
|
1174
1160
|
"type": {
|
|
@@ -1181,7 +1167,35 @@
|
|
|
1181
1167
|
"module": "src/vaadin-login-overlay-mixin.js"
|
|
1182
1168
|
}
|
|
1183
1169
|
}
|
|
1184
|
-
]
|
|
1170
|
+
],
|
|
1171
|
+
"mixins": [
|
|
1172
|
+
{
|
|
1173
|
+
"name": "LoginFormMixin",
|
|
1174
|
+
"module": "src/vaadin-login-form-mixin.js"
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
"name": "LoginOverlayMixin",
|
|
1178
|
+
"module": "src/vaadin-login-overlay-mixin.js"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"name": "ElementMixin",
|
|
1182
|
+
"package": "@vaadin/component-base/src/element-mixin.js"
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"name": "ThemableMixin",
|
|
1186
|
+
"package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
|
|
1187
|
+
},
|
|
1188
|
+
{
|
|
1189
|
+
"name": "PolylitMixin",
|
|
1190
|
+
"package": "@vaadin/component-base/src/polylit-mixin.js"
|
|
1191
|
+
}
|
|
1192
|
+
],
|
|
1193
|
+
"superclass": {
|
|
1194
|
+
"name": "LitElement",
|
|
1195
|
+
"package": "lit"
|
|
1196
|
+
},
|
|
1197
|
+
"tagName": "vaadin-login-overlay",
|
|
1198
|
+
"customElement": true
|
|
1185
1199
|
}
|
|
1186
1200
|
],
|
|
1187
1201
|
"exports": [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/login",
|
|
3
|
-
"version": "25.3.0-
|
|
3
|
+
"version": "25.3.0-dev.1fa5a51482",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,22 +35,22 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
|
-
"@vaadin/button": "25.3.0-
|
|
39
|
-
"@vaadin/component-base": "25.3.0-
|
|
40
|
-
"@vaadin/overlay": "25.3.0-
|
|
41
|
-
"@vaadin/password-field": "25.3.0-
|
|
42
|
-
"@vaadin/text-field": "25.3.0-
|
|
43
|
-
"@vaadin/vaadin-themable-mixin": "25.3.0-
|
|
38
|
+
"@vaadin/button": "25.3.0-dev.1fa5a51482",
|
|
39
|
+
"@vaadin/component-base": "25.3.0-dev.1fa5a51482",
|
|
40
|
+
"@vaadin/overlay": "25.3.0-dev.1fa5a51482",
|
|
41
|
+
"@vaadin/password-field": "25.3.0-dev.1fa5a51482",
|
|
42
|
+
"@vaadin/text-field": "25.3.0-dev.1fa5a51482",
|
|
43
|
+
"@vaadin/vaadin-themable-mixin": "25.3.0-dev.1fa5a51482",
|
|
44
44
|
"lit": "^3.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@vaadin/a11y-base": "25.3.0-
|
|
48
|
-
"@vaadin/aura": "25.3.0-
|
|
49
|
-
"@vaadin/chai-plugins": "25.3.0-
|
|
50
|
-
"@vaadin/checkbox": "25.3.0-
|
|
51
|
-
"@vaadin/test-runner-commands": "25.3.0-
|
|
47
|
+
"@vaadin/a11y-base": "25.3.0-dev.1fa5a51482",
|
|
48
|
+
"@vaadin/aura": "25.3.0-dev.1fa5a51482",
|
|
49
|
+
"@vaadin/chai-plugins": "25.3.0-dev.1fa5a51482",
|
|
50
|
+
"@vaadin/checkbox": "25.3.0-dev.1fa5a51482",
|
|
51
|
+
"@vaadin/test-runner-commands": "25.3.0-dev.1fa5a51482",
|
|
52
52
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
53
|
-
"@vaadin/vaadin-lumo-styles": "25.3.0-
|
|
53
|
+
"@vaadin/vaadin-lumo-styles": "25.3.0-dev.1fa5a51482",
|
|
54
54
|
"sinon": "^22.0.0"
|
|
55
55
|
},
|
|
56
56
|
"customElements": "custom-elements.json",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"web-types.json",
|
|
59
59
|
"web-types.lit.json"
|
|
60
60
|
],
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "1cd5964b758ffbce3ddb6248a1997f55f8e0ebf6"
|
|
62
62
|
}
|
|
@@ -15,6 +15,7 @@ import { loginFormWrapperStyles } from './styles/vaadin-login-form-wrapper-base-
|
|
|
15
15
|
*
|
|
16
16
|
* @extends HTMLElement
|
|
17
17
|
* @private
|
|
18
|
+
* @attr {string} theme - The theme variants to apply to the component.
|
|
18
19
|
*/
|
|
19
20
|
class LoginFormWrapper extends ThemableMixin(PolylitMixin(LumoInjectionMixin(LitElement))) {
|
|
20
21
|
static get is() {
|
package/src/vaadin-login-form.js
CHANGED
|
@@ -65,6 +65,7 @@ import { LoginFormMixin } from './vaadin-login-form-mixin.js';
|
|
|
65
65
|
* @fires {CustomEvent} forgot-password - Fired when user clicks on the "Forgot password" button.
|
|
66
66
|
* @fires {CustomEvent} login - Fired when a user submits the login form. The event detail contains `username` and `password`.
|
|
67
67
|
*
|
|
68
|
+
* @attr {string} theme - The theme variants to apply to the component.
|
|
68
69
|
* @customElement vaadin-login-form
|
|
69
70
|
* @extends HTMLElement
|
|
70
71
|
*/
|
|
@@ -17,6 +17,7 @@ import { loginOverlayWrapperStyles } from './styles/vaadin-login-overlay-wrapper
|
|
|
17
17
|
*
|
|
18
18
|
* @extends HTMLElement
|
|
19
19
|
* @private
|
|
20
|
+
* @attr {string} theme - The theme variants to apply to the component.
|
|
20
21
|
*/
|
|
21
22
|
class LoginOverlayWrapper extends OverlayMixin(DirMixin(ThemableMixin(PolylitMixin(LumoInjectionMixin(LitElement))))) {
|
|
22
23
|
static get is() {
|
|
@@ -39,11 +40,11 @@ class LoginOverlayWrapper extends OverlayMixin(DirMixin(ThemableMixin(PolylitMix
|
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
/**
|
|
42
|
-
* Override method from OverlayFocusMixin to use owner as focus
|
|
43
|
+
* Override method from OverlayFocusMixin to use owner as focus root
|
|
43
44
|
* @protected
|
|
44
45
|
* @override
|
|
45
46
|
*/
|
|
46
|
-
get
|
|
47
|
+
get _focusRoot() {
|
|
47
48
|
return this.owner;
|
|
48
49
|
}
|
|
49
50
|
|
|
@@ -74,6 +74,7 @@ import { LoginOverlayMixin } from './vaadin-login-overlay-mixin.js';
|
|
|
74
74
|
* @fires {CustomEvent} login - Fired when a user submits the login form. The event detail contains `username` and `password`.
|
|
75
75
|
* @fires {CustomEvent} closed - Fired when the overlay is closed.
|
|
76
76
|
*
|
|
77
|
+
* @attr {string} theme - The theme variants to apply to the component.
|
|
77
78
|
* @customElement vaadin-login-overlay
|
|
78
79
|
* @extends HTMLElement
|
|
79
80
|
*/
|
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": "25.3.0-
|
|
4
|
+
"version": "25.3.0-dev.1fa5a51482",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -69,9 +69,7 @@
|
|
|
69
69
|
"description": "The theme variants to apply to the component.",
|
|
70
70
|
"value": {
|
|
71
71
|
"type": [
|
|
72
|
-
"string"
|
|
73
|
-
"null",
|
|
74
|
-
"undefined"
|
|
72
|
+
"string"
|
|
75
73
|
]
|
|
76
74
|
}
|
|
77
75
|
}
|
|
@@ -243,9 +241,7 @@
|
|
|
243
241
|
"description": "The theme variants to apply to the component.",
|
|
244
242
|
"value": {
|
|
245
243
|
"type": [
|
|
246
|
-
"string"
|
|
247
|
-
"null",
|
|
248
|
-
"undefined"
|
|
244
|
+
"string"
|
|
249
245
|
]
|
|
250
246
|
}
|
|
251
247
|
},
|
package/web-types.lit.json
CHANGED