@vaadin/login 25.4.0-alpha2 → 25.4.0-alpha4

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.
@@ -4,7 +4,7 @@
4
4
  "modules": [
5
5
  {
6
6
  "kind": "javascript-module",
7
- "path": "vaadin-login-overlay.js",
7
+ "path": "vaadin-login-form.js",
8
8
  "declarations": [],
9
9
  "exports": [
10
10
  {
@@ -12,14 +12,14 @@
12
12
  "name": "*",
13
13
  "declaration": {
14
14
  "name": "*",
15
- "module": "src/vaadin-login-overlay.js"
15
+ "module": "src/vaadin-login-form.js"
16
16
  }
17
17
  }
18
18
  ]
19
19
  },
20
20
  {
21
21
  "kind": "javascript-module",
22
- "path": "vaadin-login-form.js",
22
+ "path": "vaadin-login-overlay.js",
23
23
  "declarations": [],
24
24
  "exports": [
25
25
  {
@@ -27,7 +27,7 @@
27
27
  "name": "*",
28
28
  "declaration": {
29
29
  "name": "*",
30
- "module": "src/vaadin-login-form.js"
30
+ "module": "src/vaadin-login-overlay.js"
31
31
  }
32
32
  }
33
33
  ]
@@ -100,15 +100,14 @@
100
100
  {
101
101
  "kind": "field",
102
102
  "name": "i18n",
103
- "privacy": "public",
103
+ "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following JSON structure (by default it doesn't include `additionalInformation`\nand `header` sections, `header` can be added to override `title` and `description` properties\nin `vaadin-login-overlay`):\n\n```js\n{\n header: {\n title: 'App name',\n description: 'Inspiring application description'\n },\n form: {\n title: 'Log in',\n username: 'Username',\n password: 'Password',\n submit: 'Log in',\n forgotPassword: 'Forgot password'\n },\n errorMessage: {\n title: 'Incorrect username or password',\n message: 'Check that you have entered the correct username and password and try again.',\n username: 'Username is required',\n password: 'Password is required'\n },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n}\n```",
104
104
  "type": {
105
- "text": "Object | undefined"
105
+ "text": "LoginI18n | undefined"
106
106
  },
107
- "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following JSON structure (by default it doesn't include `additionalInformation`\nand `header` sections, `header` can be added to override `title` and `description` properties\nin `vaadin-login-overlay`):\n\n```js\n{\n header: {\n title: 'App name',\n description: 'Inspiring application description'\n },\n form: {\n title: 'Log in',\n username: 'Username',\n password: 'Password',\n submit: 'Log in',\n forgotPassword: 'Forgot password'\n },\n errorMessage: {\n title: 'Incorrect username or password',\n message: 'Check that you have entered the correct username and password and try again.',\n username: 'Username is required',\n password: 'Password is required'\n },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n}\n```",
108
- "attribute": "i18n",
107
+ "privacy": "public",
109
108
  "inheritedFrom": {
110
- "name": "I18nMixin",
111
- "package": "@vaadin/component-base/src/i18n-mixin.js"
109
+ "name": "LoginMixin",
110
+ "module": "src/vaadin-login-mixin.js"
112
111
  }
113
112
  },
114
113
  {
@@ -219,18 +218,6 @@
219
218
  "module": "src/vaadin-login-mixin.js"
220
219
  }
221
220
  },
222
- {
223
- "name": "i18n",
224
- "type": {
225
- "text": "Object | undefined"
226
- },
227
- "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nShould be overridden by subclasses to provide a custom JSDoc with the\ndefault I18N properties.",
228
- "fieldName": "i18n",
229
- "inheritedFrom": {
230
- "name": "I18nMixin",
231
- "package": "@vaadin/component-base/src/i18n-mixin.js"
232
- }
233
- },
234
221
  {
235
222
  "name": "no-autofocus",
236
223
  "type": {
@@ -345,15 +332,14 @@
345
332
  {
346
333
  "kind": "field",
347
334
  "name": "i18n",
348
- "privacy": "public",
335
+ "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following JSON structure (by default it doesn't include `additionalInformation`\nand `header` sections, `header` can be added to override `title` and `description` properties\nin `vaadin-login-overlay`):\n\n```js\n{\n header: {\n title: 'App name',\n description: 'Inspiring application description'\n },\n form: {\n title: 'Log in',\n username: 'Username',\n password: 'Password',\n submit: 'Log in',\n forgotPassword: 'Forgot password'\n },\n errorMessage: {\n title: 'Incorrect username or password',\n message: 'Check that you have entered the correct username and password and try again.',\n username: 'Username is required',\n password: 'Password is required'\n },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n}\n```",
349
336
  "type": {
350
- "text": "Object | undefined"
337
+ "text": "LoginI18n | undefined"
351
338
  },
352
- "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following JSON structure (by default it doesn't include `additionalInformation`\nand `header` sections, `header` can be added to override `title` and `description` properties\nin `vaadin-login-overlay`):\n\n```js\n{\n header: {\n title: 'App name',\n description: 'Inspiring application description'\n },\n form: {\n title: 'Log in',\n username: 'Username',\n password: 'Password',\n submit: 'Log in',\n forgotPassword: 'Forgot password'\n },\n errorMessage: {\n title: 'Incorrect username or password',\n message: 'Check that you have entered the correct username and password and try again.',\n username: 'Username is required',\n password: 'Password is required'\n },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n}\n```",
353
- "attribute": "i18n",
339
+ "privacy": "public",
354
340
  "inheritedFrom": {
355
- "name": "I18nMixin",
356
- "package": "@vaadin/component-base/src/i18n-mixin.js"
341
+ "name": "LoginMixin",
342
+ "module": "src/vaadin-login-mixin.js"
357
343
  }
358
344
  },
359
345
  {
@@ -410,26 +396,18 @@
410
396
  "name": "error-changed"
411
397
  },
412
398
  {
413
- "name": "forgot-password",
414
399
  "type": {
415
400
  "text": "CustomEvent"
416
401
  },
417
402
  "description": "Fired when user clicks on the \"Forgot password\" button.",
418
- "inheritedFrom": {
419
- "name": "LoginFormMixin",
420
- "module": "src/vaadin-login-form-mixin.js"
421
- }
403
+ "name": "forgot-password"
422
404
  },
423
405
  {
424
- "name": "login",
425
406
  "type": {
426
407
  "text": "CustomEvent"
427
408
  },
428
409
  "description": "Fired when a user submits the login form. The event detail contains `username` and `password`.",
429
- "inheritedFrom": {
430
- "name": "LoginFormMixin",
431
- "module": "src/vaadin-login-form-mixin.js"
432
- }
410
+ "name": "login"
433
411
  }
434
412
  ],
435
413
  "attributes": [
@@ -481,18 +459,6 @@
481
459
  "module": "src/vaadin-login-mixin.js"
482
460
  }
483
461
  },
484
- {
485
- "name": "i18n",
486
- "type": {
487
- "text": "Object | undefined"
488
- },
489
- "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nShould be overridden by subclasses to provide a custom JSDoc with the\ndefault I18N properties.",
490
- "fieldName": "i18n",
491
- "inheritedFrom": {
492
- "name": "I18nMixin",
493
- "package": "@vaadin/component-base/src/i18n-mixin.js"
494
- }
495
- },
496
462
  {
497
463
  "name": "no-autofocus",
498
464
  "type": {
@@ -614,16 +580,11 @@
614
580
  {
615
581
  "kind": "field",
616
582
  "name": "i18n",
617
- "privacy": "public",
583
+ "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following JSON structure (by default it doesn't include `additionalInformation`\nand `header` sections, `header` can be added to override `title` and `description` properties\nin `vaadin-login-overlay`):\n\n```js\n{\n header: {\n title: 'App name',\n description: 'Inspiring application description'\n },\n form: {\n title: 'Log in',\n username: 'Username',\n password: 'Password',\n submit: 'Log in',\n forgotPassword: 'Forgot password'\n },\n errorMessage: {\n title: 'Incorrect username or password',\n message: 'Check that you have entered the correct username and password and try again.',\n username: 'Username is required',\n password: 'Password is required'\n },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n}\n```",
618
584
  "type": {
619
- "text": "Object | undefined"
585
+ "text": "LoginI18n | undefined"
620
586
  },
621
- "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following JSON structure (by default it doesn't include `additionalInformation`\nand `header` sections, `header` can be added to override `title` and `description` properties\nin `vaadin-login-overlay`):\n\n```js\n{\n header: {\n title: 'App name',\n description: 'Inspiring application description'\n },\n form: {\n title: 'Log in',\n username: 'Username',\n password: 'Password',\n submit: 'Log in',\n forgotPassword: 'Forgot password'\n },\n errorMessage: {\n title: 'Incorrect username or password',\n message: 'Check that you have entered the correct username and password and try again.',\n username: 'Username is required',\n password: 'Password is required'\n },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n}\n```",
622
- "attribute": "i18n",
623
- "inheritedFrom": {
624
- "name": "I18nMixin",
625
- "package": "@vaadin/component-base/src/i18n-mixin.js"
626
- }
587
+ "privacy": "public"
627
588
  },
628
589
  {
629
590
  "kind": "field",
@@ -679,18 +640,6 @@
679
640
  "description": "Sets the root heading level (`aria-level`) for the heading hierarchy. Default value: 1.\nChild headings automatically increment from this base level i.e. standalone login form\nrenders its title as `<h1>`, whereas the form in the overlay uses `<h2>`, as the `<h1>`\nelement is used by the overlay's own title.",
680
641
  "fieldName": "headingLevel"
681
642
  },
682
- {
683
- "name": "i18n",
684
- "type": {
685
- "text": "Object | undefined"
686
- },
687
- "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nShould be overridden by subclasses to provide a custom JSDoc with the\ndefault I18N properties.",
688
- "fieldName": "i18n",
689
- "inheritedFrom": {
690
- "name": "I18nMixin",
691
- "package": "@vaadin/component-base/src/i18n-mixin.js"
692
- }
693
- },
694
643
  {
695
644
  "name": "no-autofocus",
696
645
  "type": {
@@ -906,15 +855,14 @@
906
855
  {
907
856
  "kind": "field",
908
857
  "name": "i18n",
909
- "privacy": "public",
858
+ "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following JSON structure (by default it doesn't include `additionalInformation`\nand `header` sections, `header` can be added to override `title` and `description` properties\nin `vaadin-login-overlay`):\n\n```js\n{\n header: {\n title: 'App name',\n description: 'Inspiring application description'\n },\n form: {\n title: 'Log in',\n username: 'Username',\n password: 'Password',\n submit: 'Log in',\n forgotPassword: 'Forgot password'\n },\n errorMessage: {\n title: 'Incorrect username or password',\n message: 'Check that you have entered the correct username and password and try again.',\n username: 'Username is required',\n password: 'Password is required'\n },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n}\n```",
910
859
  "type": {
911
- "text": "Object | undefined"
860
+ "text": "LoginI18n | undefined"
912
861
  },
913
- "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following JSON structure (by default it doesn't include `additionalInformation`\nand `header` sections, `header` can be added to override `title` and `description` properties\nin `vaadin-login-overlay`):\n\n```js\n{\n header: {\n title: 'App name',\n description: 'Inspiring application description'\n },\n form: {\n title: 'Log in',\n username: 'Username',\n password: 'Password',\n submit: 'Log in',\n forgotPassword: 'Forgot password'\n },\n errorMessage: {\n title: 'Incorrect username or password',\n message: 'Check that you have entered the correct username and password and try again.',\n username: 'Username is required',\n password: 'Password is required'\n },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n}\n```",
914
- "attribute": "i18n",
862
+ "privacy": "public",
915
863
  "inheritedFrom": {
916
- "name": "I18nMixin",
917
- "package": "@vaadin/component-base/src/i18n-mixin.js"
864
+ "name": "LoginMixin",
865
+ "module": "src/vaadin-login-mixin.js"
918
866
  }
919
867
  },
920
868
  {
@@ -985,15 +933,11 @@
985
933
  ],
986
934
  "events": [
987
935
  {
988
- "name": "closed",
989
936
  "type": {
990
937
  "text": "CustomEvent"
991
938
  },
992
939
  "description": "Fired when the overlay is closed.",
993
- "inheritedFrom": {
994
- "name": "LoginOverlayMixin",
995
- "module": "src/vaadin-login-overlay-mixin.js"
996
- }
940
+ "name": "closed"
997
941
  },
998
942
  {
999
943
  "type": {
@@ -1017,26 +961,18 @@
1017
961
  "name": "error-changed"
1018
962
  },
1019
963
  {
1020
- "name": "forgot-password",
1021
964
  "type": {
1022
965
  "text": "CustomEvent"
1023
966
  },
1024
967
  "description": "Fired when user clicks on the \"Forgot password\" button.",
1025
- "inheritedFrom": {
1026
- "name": "LoginFormMixin",
1027
- "module": "src/vaadin-login-form-mixin.js"
1028
- }
968
+ "name": "forgot-password"
1029
969
  },
1030
970
  {
1031
- "name": "login",
1032
971
  "type": {
1033
972
  "text": "CustomEvent"
1034
973
  },
1035
974
  "description": "Fired when a user submits the login form. The event detail contains `username` and `password`.",
1036
- "inheritedFrom": {
1037
- "name": "LoginFormMixin",
1038
- "module": "src/vaadin-login-form-mixin.js"
1039
- }
975
+ "name": "login"
1040
976
  }
1041
977
  ],
1042
978
  "attributes": [
@@ -1100,18 +1036,6 @@
1100
1036
  "module": "src/vaadin-login-mixin.js"
1101
1037
  }
1102
1038
  },
1103
- {
1104
- "name": "i18n",
1105
- "type": {
1106
- "text": "Object | undefined"
1107
- },
1108
- "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nShould be overridden by subclasses to provide a custom JSDoc with the\ndefault I18N properties.",
1109
- "fieldName": "i18n",
1110
- "inheritedFrom": {
1111
- "name": "I18nMixin",
1112
- "package": "@vaadin/component-base/src/i18n-mixin.js"
1113
- }
1114
- },
1115
1039
  {
1116
1040
  "name": "no-autofocus",
1117
1041
  "type": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/login",
3
- "version": "25.4.0-alpha2",
3
+ "version": "25.4.0-alpha4",
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.4.0-alpha2",
39
- "@vaadin/component-base": "25.4.0-alpha2",
40
- "@vaadin/overlay": "25.4.0-alpha2",
41
- "@vaadin/password-field": "25.4.0-alpha2",
42
- "@vaadin/text-field": "25.4.0-alpha2",
43
- "@vaadin/vaadin-themable-mixin": "25.4.0-alpha2",
38
+ "@vaadin/button": "25.4.0-alpha4",
39
+ "@vaadin/component-base": "25.4.0-alpha4",
40
+ "@vaadin/overlay": "25.4.0-alpha4",
41
+ "@vaadin/password-field": "25.4.0-alpha4",
42
+ "@vaadin/text-field": "25.4.0-alpha4",
43
+ "@vaadin/vaadin-themable-mixin": "25.4.0-alpha4",
44
44
  "lit": "^3.0.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@vaadin/a11y-base": "25.4.0-alpha2",
48
- "@vaadin/aura": "25.4.0-alpha2",
49
- "@vaadin/chai-plugins": "25.4.0-alpha2",
50
- "@vaadin/checkbox": "25.4.0-alpha2",
51
- "@vaadin/test-runner-commands": "25.4.0-alpha2",
47
+ "@vaadin/a11y-base": "25.4.0-alpha4",
48
+ "@vaadin/aura": "25.4.0-alpha4",
49
+ "@vaadin/chai-plugins": "25.4.0-alpha4",
50
+ "@vaadin/checkbox": "25.4.0-alpha4",
51
+ "@vaadin/test-runner-commands": "25.4.0-alpha4",
52
52
  "@vaadin/testing-helpers": "^2.0.0",
53
- "@vaadin/vaadin-lumo-styles": "25.4.0-alpha2",
53
+ "@vaadin/vaadin-lumo-styles": "25.4.0-alpha4",
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": "213f8b55112558d2f976d8730fe44370ca868333"
61
+ "gitHead": "7809e4c099538333a6dbd11d8da18a0c6ec30dad"
62
62
  }
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.4.0-alpha2",
4
+ "version": "25.4.0-alpha4",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -117,7 +117,7 @@
117
117
  "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following JSON structure (by default it doesn't include `additionalInformation`\nand `header` sections, `header` can be added to override `title` and `description` properties\nin `vaadin-login-overlay`):\n\n```js\n{\n header: {\n title: 'App name',\n description: 'Inspiring application description'\n },\n form: {\n title: 'Log in',\n username: 'Username',\n password: 'Password',\n submit: 'Log in',\n forgotPassword: 'Forgot password'\n },\n errorMessage: {\n title: 'Incorrect username or password',\n message: 'Check that you have entered the correct username and password and try again.',\n username: 'Username is required',\n password: 'Password is required'\n },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n}\n```",
118
118
  "value": {
119
119
  "type": [
120
- "Object",
120
+ "LoginI18n",
121
121
  "undefined"
122
122
  ]
123
123
  }
@@ -308,7 +308,7 @@
308
308
  "description": "The object used to localize this component. To change the default\nlocalization, set this to an object that provides all properties, or\njust the individual properties you want to change.\n\nWhen not set, defaults to `undefined`.\n\nThe object has the following JSON structure (by default it doesn't include `additionalInformation`\nand `header` sections, `header` can be added to override `title` and `description` properties\nin `vaadin-login-overlay`):\n\n```js\n{\n header: {\n title: 'App name',\n description: 'Inspiring application description'\n },\n form: {\n title: 'Log in',\n username: 'Username',\n password: 'Password',\n submit: 'Log in',\n forgotPassword: 'Forgot password'\n },\n errorMessage: {\n title: 'Incorrect username or password',\n message: 'Check that you have entered the correct username and password and try again.',\n username: 'Username is required',\n password: 'Password is required'\n },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n}\n```",
309
309
  "value": {
310
310
  "type": [
311
- "Object",
311
+ "LoginI18n",
312
312
  "undefined"
313
313
  ]
314
314
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/login",
4
- "version": "25.4.0-alpha2",
4
+ "version": "25.4.0-alpha4",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {