@vaadin/login 23.2.0-alpha4 → 23.2.0-beta1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/login",
3
- "version": "23.2.0-alpha4",
3
+ "version": "23.2.0-beta1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,14 +37,14 @@
37
37
  "dependencies": {
38
38
  "@open-wc/dedupe-mixin": "^1.3.0",
39
39
  "@polymer/polymer": "^3.0.0",
40
- "@vaadin/button": "23.2.0-alpha4",
41
- "@vaadin/component-base": "23.2.0-alpha4",
42
- "@vaadin/password-field": "23.2.0-alpha4",
43
- "@vaadin/text-field": "23.2.0-alpha4",
44
- "@vaadin/vaadin-lumo-styles": "23.2.0-alpha4",
45
- "@vaadin/vaadin-material-styles": "23.2.0-alpha4",
46
- "@vaadin/vaadin-overlay": "23.2.0-alpha4",
47
- "@vaadin/vaadin-themable-mixin": "23.2.0-alpha4"
40
+ "@vaadin/button": "23.2.0-beta1",
41
+ "@vaadin/component-base": "23.2.0-beta1",
42
+ "@vaadin/password-field": "23.2.0-beta1",
43
+ "@vaadin/text-field": "23.2.0-beta1",
44
+ "@vaadin/vaadin-lumo-styles": "23.2.0-beta1",
45
+ "@vaadin/vaadin-material-styles": "23.2.0-beta1",
46
+ "@vaadin/vaadin-overlay": "23.2.0-beta1",
47
+ "@vaadin/vaadin-themable-mixin": "23.2.0-beta1"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@esm-bundle/chai": "^4.3.4",
@@ -55,5 +55,5 @@
55
55
  "web-types.json",
56
56
  "web-types.lit.json"
57
57
  ],
58
- "gitHead": "cbf5f1d0f38ac9b81c65cf9ef5660182e176e598"
58
+ "gitHead": "82ff7254f27a1a089367e4dd005f63879e33c188"
59
59
  }
@@ -67,24 +67,26 @@ export declare class LoginMixinClass {
67
67
  * and `header` sections, `header` can be added to override `title` and `description` properties
68
68
  * in `vaadin-login-overlay`):
69
69
  *
70
- * {
71
- * header: {
72
- * title: 'App name',
73
- * description: 'Inspiring application description'
74
- * },
75
- * form: {
76
- * title: 'Log in',
77
- * username: 'Username',
78
- * password: 'Password',
79
- * submit: 'Log in',
80
- * forgotPassword: 'Forgot password'
81
- * },
82
- * errorMessage: {
83
- * title: 'Incorrect username or password',
84
- * message: 'Check that you have entered the correct username and password and try again.'
85
- * },
86
- * additionalInformation: 'In case you need to provide some additional info for the user.'
87
- * }
70
+ * ```
71
+ * {
72
+ * header: {
73
+ * title: 'App name',
74
+ * description: 'Inspiring application description'
75
+ * },
76
+ * form: {
77
+ * title: 'Log in',
78
+ * username: 'Username',
79
+ * password: 'Password',
80
+ * submit: 'Log in',
81
+ * forgotPassword: 'Forgot password'
82
+ * },
83
+ * errorMessage: {
84
+ * title: 'Incorrect username or password',
85
+ * message: 'Check that you have entered the correct username and password and try again.'
86
+ * },
87
+ * additionalInformation: 'In case you need to provide some additional info for the user.'
88
+ * }
89
+ * ```
88
90
  */
89
91
  i18n: LoginI18n;
90
92
 
@@ -81,35 +81,38 @@ export const LoginMixin = (superClass) =>
81
81
  },
82
82
 
83
83
  /**
84
- * The object used to localize this component.
85
- * For changing the default localization, change the entire
86
- * _i18n_ object or just the property you want to modify.
87
- *
88
- * The object has the following JSON structure (by default it doesn't include `additionalInformation`
89
- * and `header` sections, `header` can be added to override `title` and `description` properties
90
- * in `vaadin-login-overlay`):
91
-
92
- {
93
- header: {
94
- title: 'App name',
95
- description: 'Inspiring application description'
96
- },
97
- form: {
98
- title: 'Log in',
99
- username: 'Username',
100
- password: 'Password',
101
- submit: 'Log in',
102
- forgotPassword: 'Forgot password'
103
- },
104
- errorMessage: {
105
- title: 'Incorrect username or password',
106
- message: 'Check that you have entered the correct username and password and try again.'
107
- },
108
- additionalInformation: 'In case you need to provide some additional info for the user.'
109
- }
110
- * @type {!LoginI18n}
111
- * @default {English/US}
112
- */
84
+ * The object used to localize this component.
85
+ * For changing the default localization, change the entire
86
+ * _i18n_ object or just the property you want to modify.
87
+ *
88
+ * The object has the following JSON structure (by default it doesn't include `additionalInformation`
89
+ * and `header` sections, `header` can be added to override `title` and `description` properties
90
+ * in `vaadin-login-overlay`):
91
+ *
92
+ * ```
93
+ * {
94
+ * header: {
95
+ * title: 'App name',
96
+ * description: 'Inspiring application description'
97
+ * },
98
+ * form: {
99
+ * title: 'Log in',
100
+ * username: 'Username',
101
+ * password: 'Password',
102
+ * submit: 'Log in',
103
+ * forgotPassword: 'Forgot password'
104
+ * },
105
+ * errorMessage: {
106
+ * title: 'Incorrect username or password',
107
+ * message: 'Check that you have entered the correct username and password and try again.'
108
+ * },
109
+ * additionalInformation: 'In case you need to provide some additional info for the user.'
110
+ * }
111
+ * ```
112
+ *
113
+ * @type {!LoginI18n}
114
+ * @default {English/US}
115
+ */
113
116
  i18n: {
114
117
  type: Object,
115
118
  value() {
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": "23.2.0-alpha4",
4
+ "version": "23.2.0-beta1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -118,7 +118,7 @@
118
118
  },
119
119
  {
120
120
  "name": "i18n",
121
- "description": "The object used to localize this component.\nFor changing the default localization, change the entire\n_i18n_ object or just the property you want to modify.\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 {\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 },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n }",
121
+ "description": "The object used to localize this component.\nFor changing the default localization, change the entire\n_i18n_ object or just the property you want to modify.\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```\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 },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n}\n```",
122
122
  "value": {
123
123
  "type": [
124
124
  "LoginI18n"
@@ -140,7 +140,7 @@
140
140
  },
141
141
  {
142
142
  "name": "vaadin-login-overlay",
143
- "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/ds/customization/styling-components) documentation.\n\nSee [`<vaadin-login-form>`](https://cdn.vaadin.com/vaadin-web-components/23.2.0-alpha4/#/elements/vaadin-login-form)\ndocumentation for `<vaadin-login-form-wrapper>` stylable parts.",
143
+ "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/ds/customization/styling-components) documentation.\n\nSee [`<vaadin-login-form>`](https://cdn.vaadin.com/vaadin-web-components/23.2.0-beta1/#/elements/vaadin-login-form)\ndocumentation for `<vaadin-login-form-wrapper>` stylable parts.",
144
144
  "attributes": [
145
145
  {
146
146
  "name": "action",
@@ -277,7 +277,7 @@
277
277
  },
278
278
  {
279
279
  "name": "i18n",
280
- "description": "The object used to localize this component.\nFor changing the default localization, change the entire\n_i18n_ object or just the property you want to modify.\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 {\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 },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n }",
280
+ "description": "The object used to localize this component.\nFor changing the default localization, change the entire\n_i18n_ object or just the property you want to modify.\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```\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 },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n}\n```",
281
281
  "value": {
282
282
  "type": [
283
283
  "LoginI18n"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/login",
4
- "version": "23.2.0-alpha4",
4
+ "version": "23.2.0-beta1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -56,7 +56,7 @@
56
56
  },
57
57
  {
58
58
  "name": ".i18n",
59
- "description": "The object used to localize this component.\nFor changing the default localization, change the entire\n_i18n_ object or just the property you want to modify.\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 {\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 },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n }",
59
+ "description": "The object used to localize this component.\nFor changing the default localization, change the entire\n_i18n_ object or just the property you want to modify.\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```\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 },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n}\n```",
60
60
  "value": {
61
61
  "kind": "expression"
62
62
  }
@@ -79,7 +79,7 @@
79
79
  },
80
80
  {
81
81
  "name": "vaadin-login-overlay",
82
- "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/ds/customization/styling-components) documentation.\n\nSee [`<vaadin-login-form>`](https://cdn.vaadin.com/vaadin-web-components/23.2.0-alpha4/#/elements/vaadin-login-form)\ndocumentation for `<vaadin-login-form-wrapper>` stylable parts.",
82
+ "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/ds/customization/styling-components) documentation.\n\nSee [`<vaadin-login-form>`](https://cdn.vaadin.com/vaadin-web-components/23.2.0-beta1/#/elements/vaadin-login-form)\ndocumentation for `<vaadin-login-form-wrapper>` stylable parts.",
83
83
  "extension": true,
84
84
  "attributes": [
85
85
  {
@@ -126,7 +126,7 @@
126
126
  },
127
127
  {
128
128
  "name": ".i18n",
129
- "description": "The object used to localize this component.\nFor changing the default localization, change the entire\n_i18n_ object or just the property you want to modify.\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 {\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 },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n }",
129
+ "description": "The object used to localize this component.\nFor changing the default localization, change the entire\n_i18n_ object or just the property you want to modify.\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```\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 },\n additionalInformation: 'In case you need to provide some additional info for the user.'\n}\n```",
130
130
  "value": {
131
131
  "kind": "expression"
132
132
  }