@descope/web-components-ui 1.0.366 → 1.0.368

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/web-components-ui",
3
- "version": "1.0.366",
3
+ "version": "1.0.368",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
package/src/index.js CHANGED
@@ -41,6 +41,8 @@ export * from './components/mapping-fields/descope-saml-group-mappings';
41
41
  export * from './components/descope-policy-validation';
42
42
  export * from './components/descope-code-snippet';
43
43
  export * from './components/descope-radio-group';
44
+ export * from './components/descope-list';
45
+ export * from './components/descope-apps-list';
44
46
 
45
47
  export {
46
48
  globalsThemeToStyle,
@@ -84,6 +84,7 @@ export const inputValidationMixin = (superclass) =>
84
84
  badInput,
85
85
  customError,
86
86
  } = flags;
87
+
87
88
  switch (true) {
88
89
  case valueMissing:
89
90
  return (
@@ -96,7 +97,9 @@ export const inputValidationMixin = (superclass) =>
96
97
  );
97
98
  case typeMismatch:
98
99
  return (
99
- this.getAttribute(errorAttributes.typeMismatch) || this.defaultErrorMsgTypeMismatch
100
+ this.getAttribute(errorAttributes.typeMismatch) ||
101
+ this.getAttribute(errorAttributes.patternMismatch) ||
102
+ this.defaultErrorMsgTypeMismatch
100
103
  );
101
104
  case tooShort:
102
105
  return this.getAttribute(errorAttributes.tooShort) || this.defaultErrorMsgTooShort;