@descope/web-components-ui 1.0.118 → 1.0.120
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +4 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/201.js +1 -1
- package/dist/umd/descope-passcode-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-passcode/PasscodeClass.js +2 -1
- package/src/helpers/themeHelpers/resetHelpers.js +1 -0
- package/src/theme/components/passcode.js +1 -0
package/dist/cjs/index.cjs.js
CHANGED
@@ -1821,6 +1821,7 @@ const resetInputAutoFill = (name, cssVarList) => `
|
|
1821
1821
|
const resetInputFieldDefaultWidth = () => `
|
1822
1822
|
:host {
|
1823
1823
|
--vaadin-field-default-width: auto;
|
1824
|
+
box-sizing: border-box;
|
1824
1825
|
}
|
1825
1826
|
`;
|
1826
1827
|
|
@@ -3503,7 +3504,7 @@ const {
|
|
3503
3504
|
internalWrapper,
|
3504
3505
|
focusedDigitField
|
3505
3506
|
} = {
|
3506
|
-
host: () => ':host',
|
3507
|
+
host: { selector: () => ':host' },
|
3507
3508
|
focusedDigitField: { selector: () => `${TextFieldClass.componentName}[focused="true"]` },
|
3508
3509
|
digitField: { selector: () => TextFieldClass.componentName },
|
3509
3510
|
label: { selector: '::part(label)' },
|
@@ -3516,6 +3517,7 @@ const textVars$1 = TextFieldClass.cssVarList;
|
|
3516
3517
|
const PasscodeClass = compose(
|
3517
3518
|
createStyleMixin({
|
3518
3519
|
mappings: {
|
3520
|
+
fontSize: [{ ...digitField, property: textVars$1.fontSize }, host$4],
|
3519
3521
|
hostWidth: { property: 'width' },
|
3520
3522
|
fontFamily: host$4,
|
3521
3523
|
labelTextColor: [
|
@@ -3620,6 +3622,7 @@ const vars$7 = PasscodeClass.cssVarList;
|
|
3620
3622
|
|
3621
3623
|
const passcode = {
|
3622
3624
|
[vars$7.fontFamily]: refs.fontFamily,
|
3625
|
+
[vars$7.fontSize]: refs.fontSize,
|
3623
3626
|
[vars$7.labelTextColor]: refs.labelTextColor,
|
3624
3627
|
[vars$7.labelRequiredIndicator]: refs.requiredIndicator,
|
3625
3628
|
[vars$7.digitValueTextColor]: refs.valueTextColor,
|