@descope/web-components-ui 1.0.358 → 1.0.359

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.
@@ -3,6 +3,7 @@
3
3
  var merge = require('lodash.merge');
4
4
  var Color = require('color');
5
5
  var MarkdownIt = require('markdown-it');
6
+ require('lodash.debounce');
6
7
  var hljs = require('highlight.js');
7
8
 
8
9
  const DESCOPE_PREFIX = 'descope';
@@ -2972,6 +2973,7 @@ const {
2972
2973
  requiredIndicator: requiredIndicator$b,
2973
2974
  inputField: inputField$6,
2974
2975
  input,
2976
+ inputMask,
2975
2977
  helperText: helperText$a,
2976
2978
  errorMessage: errorMessage$c,
2977
2979
  disabledPlaceholder,
@@ -2988,6 +2990,7 @@ const {
2988
2990
  disabledPlaceholder: { selector: '> input:disabled::placeholder' },
2989
2991
  inputField: { selector: '::part(input-field)' },
2990
2992
  input: { selector: 'input' },
2993
+ inputMask: { selector: '::part(input-field)::before' },
2991
2994
  inputDisabled: { selector: 'input:disabled' },
2992
2995
  helperText: { selector: '::part(helper-text)' },
2993
2996
  errorMessage: { selector: '::part(error-message)' },
@@ -3013,7 +3016,10 @@ var textFieldMappings = {
3013
3016
  hostMinWidth: { ...host$m, property: 'min-width' },
3014
3017
  hostDirection: { ...host$m, property: 'direction' },
3015
3018
 
3016
- inputBackgroundColor: { ...inputField$6, property: 'background-color' },
3019
+ inputBackgroundColor: [
3020
+ { ...inputField$6, property: 'background-color' },
3021
+ { ...inputMask, property: 'background-color' },
3022
+ ],
3017
3023
 
3018
3024
  errorMessageTextColor: { ...errorMessage$c, property: 'color' },
3019
3025
  helperTextColor: { ...helperText$a, property: '-webkit-text-fill-color' },
@@ -5785,10 +5791,15 @@ const PasscodeClass = compose(
5785
5791
  -webkit-mask-image: none;
5786
5792
  }
5787
5793
 
5794
+ /* safari */
5795
+ vaadin-text-field::part(input-field)::after {
5796
+ opacity: 0;
5797
+ }
5798
+
5788
5799
  vaadin-text-field {
5789
5800
  margin: 0;
5790
5801
  padding: 0;
5791
- width: 100%
5802
+ width: 100%;
5792
5803
  }
5793
5804
 
5794
5805
  vaadin-text-field::before {