@descope/web-components-ui 1.0.358 → 1.0.359
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +13 -2
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +67 -18
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/4392.js +1 -1
- package/dist/umd/4525.js +37 -0
- package/dist/umd/DescopeDev.js +1 -1
- package/dist/umd/descope-email-field-index-js.js +1 -1
- package/dist/umd/descope-new-password-index-js.js +1 -1
- package/dist/umd/descope-number-field-index-js.js +1 -1
- package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +1 -1
- package/dist/umd/descope-passcode-index-js.js +1 -37
- package/dist/umd/descope-radio-group-index-js.js +1 -1
- package/dist/umd/descope-text-field-index-js.js +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
- package/package.json +3 -1
- package/src/components/descope-passcode/PasscodeClass.js +6 -1
- package/src/components/descope-passcode/descope-passcode-internal/PasscodeInternal.js +23 -12
- package/src/components/descope-passcode/descope-passcode-internal/helpers.js +33 -5
- package/src/components/descope-text-field/textFieldMappings.js +6 -1
- /package/dist/umd/{descope-passcode-index-js.js.LICENSE.txt → 4525.js.LICENSE.txt} +0 -0
package/dist/cjs/index.cjs.js
CHANGED
@@ -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:
|
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 {
|