@descope/web-components-ui 3.26.4 → 3.27.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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "git+https://github.com/descope/web-components-ui.git",
6
6
  "directory": "packages/web-components/web-components-ui"
7
7
  },
8
- "version": "3.26.4",
8
+ "version": "3.27.0",
9
9
  "description": "",
10
10
  "main": "dist/cjs/index.cjs.js",
11
11
  "module": "dist/index.esm.js",
@@ -57,11 +57,12 @@
57
57
  "webpack-cli": "^7.0.0",
58
58
  "webpack-dev-server": "^5.0.0",
59
59
  "webpack-subresource-integrity": "5.2.0-rc.1",
60
- "eslint-plugin-no-bare-class-import": "3.26.4",
61
- "webpack-replace-plugin": "3.26.4",
62
- "rollup-replace-plugin": "3.26.4",
63
- "webpack-extract-font-loader": "3.26.4",
64
- "test-drivers": "3.26.4"
60
+ "eslint-plugin-no-bare-class-import": "3.27.0",
61
+ "e2e-utils": "3.27.0",
62
+ "rollup-replace-plugin": "3.27.0",
63
+ "test-drivers": "3.27.0",
64
+ "webpack-extract-font-loader": "3.27.0",
65
+ "webpack-replace-plugin": "3.27.0"
65
66
  },
66
67
  "dependencies": {
67
68
  "@vaadin/checkbox": "24.3.4",
@@ -85,45 +86,45 @@
85
86
  "libphonenumber-js": "^1.11.12",
86
87
  "lodash.debounce": "4.0.8",
87
88
  "lodash.merge": "4.6.2",
88
- "@descope-ui/common": "3.26.4",
89
- "@descope-ui/descope-active-sessions": "3.26.4",
90
- "@descope-ui/descope-address-field": "3.26.4",
91
- "@descope-ui/descope-country-subdivision-city-field": "3.26.4",
92
- "@descope-ui/descope-apps-list": "3.26.4",
93
- "@descope-ui/descope-autocomplete-field": "3.26.4",
94
- "@descope-ui/descope-avatar": "3.26.4",
95
- "@descope-ui/descope-badge": "3.26.4",
96
- "@descope-ui/descope-collapsible-container": "3.26.4",
97
- "@descope-ui/descope-button": "3.26.4",
98
- "@descope-ui/descope-combo-box": "3.26.4",
99
- "@descope-ui/descope-email-field": "3.26.4",
100
- "@descope-ui/descope-enriched-text": "3.26.4",
101
- "@descope-ui/descope-icon": "3.26.4",
102
- "@descope-ui/descope-image": "3.26.4",
103
- "@descope-ui/descope-link": "3.26.4",
104
- "@descope-ui/descope-list": "3.26.4",
105
- "@descope-ui/descope-list-item": "3.26.4",
106
- "@descope-ui/descope-multi-line-mappings": "3.26.4",
107
- "@descope-ui/descope-multi-select-combo-box": "3.26.4",
108
- "@descope-ui/descope-outbound-app-button": "3.26.4",
109
- "@descope-ui/descope-new-email": "3.26.4",
110
- "@descope-ui/descope-outbound-apps": "3.26.4",
111
- "@descope-ui/descope-password-strength": "3.26.4",
112
- "@descope-ui/descope-ponyhot": "3.26.4",
113
- "@descope-ui/descope-month-day-field-picker": "3.26.4",
114
- "@descope-ui/descope-text": "3.26.4",
115
- "@descope-ui/descope-month-day-field": "3.26.4",
116
- "@descope-ui/descope-text-field": "3.26.4",
117
- "@descope-ui/descope-timer": "3.26.4",
118
- "@descope-ui/descope-timer-button": "3.26.4",
119
- "@descope-ui/descope-recovery-codes": "3.26.4",
120
- "@descope-ui/descope-tooltip": "3.26.4",
121
- "@descope-ui/descope-multi-sso": "3.26.4",
122
- "@descope-ui/descope-attachment": "3.26.4",
123
- "@descope-ui/descope-anchored": "3.26.4",
124
- "@descope-ui/descope-trusted-devices": "3.26.4",
125
- "@descope-ui/descope-user-passkeys": "3.26.4",
126
- "@descope-ui/descope-filter": "3.26.4"
89
+ "@descope-ui/descope-active-sessions": "3.27.0",
90
+ "@descope-ui/descope-country-subdivision-city-field": "3.27.0",
91
+ "@descope-ui/common": "3.27.0",
92
+ "@descope-ui/descope-apps-list": "3.27.0",
93
+ "@descope-ui/descope-avatar": "3.27.0",
94
+ "@descope-ui/descope-autocomplete-field": "3.27.0",
95
+ "@descope-ui/descope-address-field": "3.27.0",
96
+ "@descope-ui/descope-badge": "3.27.0",
97
+ "@descope-ui/descope-collapsible-container": "3.27.0",
98
+ "@descope-ui/descope-combo-box": "3.27.0",
99
+ "@descope-ui/descope-button": "3.27.0",
100
+ "@descope-ui/descope-enriched-text": "3.27.0",
101
+ "@descope-ui/descope-email-field": "3.27.0",
102
+ "@descope-ui/descope-image": "3.27.0",
103
+ "@descope-ui/descope-list-item": "3.27.0",
104
+ "@descope-ui/descope-list": "3.27.0",
105
+ "@descope-ui/descope-link": "3.27.0",
106
+ "@descope-ui/descope-month-day-field-picker": "3.27.0",
107
+ "@descope-ui/descope-month-day-field": "3.27.0",
108
+ "@descope-ui/descope-multi-select-combo-box": "3.27.0",
109
+ "@descope-ui/descope-outbound-app-button": "3.27.0",
110
+ "@descope-ui/descope-multi-line-mappings": "3.27.0",
111
+ "@descope-ui/descope-password-strength": "3.27.0",
112
+ "@descope-ui/descope-new-email": "3.27.0",
113
+ "@descope-ui/descope-outbound-apps": "3.27.0",
114
+ "@descope-ui/descope-icon": "3.27.0",
115
+ "@descope-ui/descope-timer": "3.27.0",
116
+ "@descope-ui/descope-text": "3.27.0",
117
+ "@descope-ui/descope-text-field": "3.27.0",
118
+ "@descope-ui/descope-tooltip": "3.27.0",
119
+ "@descope-ui/descope-attachment": "3.27.0",
120
+ "@descope-ui/descope-timer-button": "3.27.0",
121
+ "@descope-ui/descope-anchored": "3.27.0",
122
+ "@descope-ui/descope-trusted-devices": "3.27.0",
123
+ "@descope-ui/descope-recovery-codes": "3.27.0",
124
+ "@descope-ui/descope-ponyhot": "3.27.0",
125
+ "@descope-ui/descope-multi-sso": "3.27.0",
126
+ "@descope-ui/descope-user-passkeys": "3.27.0",
127
+ "@descope-ui/descope-filter": "3.27.0"
127
128
  },
128
129
  "overrides": {
129
130
  "@vaadin/avatar": "24.3.4",
@@ -12,6 +12,7 @@ import passwordDraggableMixin from './passwordDraggableMixin';
12
12
  import {
13
13
  resetInputLabelPosition,
14
14
  resetInputCursor,
15
+ resetInputAutoFill,
15
16
  useHostExternalPadding,
16
17
  inputFloatingLabelStyle,
17
18
  } from '../../helpers/themeHelpers/resetHelpers';
@@ -270,6 +271,7 @@ export const PasswordClass = compose(
270
271
  ${useHostExternalPadding(PasswordClass.cssVarList)}
271
272
  ${resetInputCursor('vaadin-password-field')}
272
273
  ${resetInputLabelPosition('vaadin-password-field')}
274
+ ${resetInputAutoFill('vaadin-password-field', PasswordClass.cssVarList)}
273
275
 
274
276
  vaadin-password-field {
275
277
  width: 100%;
@@ -35,6 +35,8 @@ const Template = ({
35
35
  readonly,
36
36
  'external-input': externalInput,
37
37
  'accept-unicode': acceptUnicode,
38
+ 'email-verification': emailVerification,
39
+ autocomplete,
38
40
  'data-errormessage-value-missing': customErrorMissingValue,
39
41
  'data-errormessage-pattern-mismatch': customErrorPatternMismatch,
40
42
  'label-type': labelType,
@@ -55,6 +57,8 @@ const Template = ({
55
57
  label-type="${labelType || ''}"
56
58
  external-input="${externalInput || false}"
57
59
  ${acceptUnicode === false ? 'accept-unicode="false"' : ''}
60
+ ${emailVerification ? 'email-verification="true"' : ''}
61
+ ${autocomplete ? `autocomplete="${autocomplete}"` : ''}
58
62
  ${errorMsgIcon ? errorMessageIconAttrs : ''}
59
63
  ></descope-email-field>
60
64
  `;
@@ -102,6 +106,14 @@ export default {
102
106
  description:
103
107
  'On by default. Accepts diacritics and non-Latin scripts in the local part, and unicode domains, by moving the input off native type="email" validation, which is ASCII only. Set to false to restore the ASCII-only field.',
104
108
  },
109
+ 'email-verification': {
110
+ control: { type: 'boolean' },
111
+ description:
112
+ 'Marks the native input as an email field (autocomplete "email", replacing "username"), so the browser can verify the email. The host autocomplete is unchanged.',
113
+ },
114
+ autocomplete: {
115
+ control: { type: 'text' },
116
+ },
105
117
  },
106
118
  };
107
119