@descope/web-components-ui 1.0.122 → 1.0.124
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/dist/cjs/index.cjs.js +110 -114
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.esm.js +110 -114
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/201.js +1 -1
- package/dist/umd/descope-link-index-js.js +1 -1
- package/dist/umd/descope-phone-field-index-js.js +1 -1
- package/package.json +1 -1
- package/src/components/descope-link/LinkClass.js +5 -5
- package/src/components/descope-phone-field/PhoneFieldClass.js +3 -1
- package/src/helpers/themeHelpers/resetHelpers.js +7 -0
- package/src/theme/components/comboBox.js +0 -4
- package/src/theme/components/inputWrapper.js +2 -7
- package/src/theme/components/passcode.js +2 -6
package/dist/cjs/index.cjs.js
CHANGED
@@ -1572,15 +1572,15 @@ const loadingIndicatorStyles = `
|
|
1572
1572
|
}
|
1573
1573
|
`;
|
1574
1574
|
|
1575
|
-
const globalRefs$
|
1575
|
+
const globalRefs$b = getThemeRefs(globals);
|
1576
1576
|
const compVars$2 = ButtonClass.cssVarList;
|
1577
1577
|
|
1578
1578
|
const mode = {
|
1579
|
-
primary: globalRefs$
|
1580
|
-
secondary: globalRefs$
|
1581
|
-
success: globalRefs$
|
1582
|
-
error: globalRefs$
|
1583
|
-
surface: globalRefs$
|
1579
|
+
primary: globalRefs$b.colors.primary,
|
1580
|
+
secondary: globalRefs$b.colors.secondary,
|
1581
|
+
success: globalRefs$b.colors.success,
|
1582
|
+
error: globalRefs$b.colors.error,
|
1583
|
+
surface: globalRefs$b.colors.surface
|
1584
1584
|
};
|
1585
1585
|
|
1586
1586
|
const [helperTheme$3, helperRefs$3, helperVars$2] = createHelperVars({ mode }, componentName$o);
|
@@ -1591,11 +1591,11 @@ const horizontalPaddingRatio = 2;
|
|
1591
1591
|
const button = {
|
1592
1592
|
...helperTheme$3,
|
1593
1593
|
|
1594
|
-
[compVars$2.fontFamily]: globalRefs$
|
1594
|
+
[compVars$2.fontFamily]: globalRefs$b.fonts.font1.family,
|
1595
1595
|
|
1596
1596
|
[compVars$2.cursor]: 'pointer',
|
1597
1597
|
|
1598
|
-
[compVars$2.borderRadius]: globalRefs$
|
1598
|
+
[compVars$2.borderRadius]: globalRefs$b.radius.sm,
|
1599
1599
|
[compVars$2.borderWidth]: '2px',
|
1600
1600
|
[compVars$2.borderStyle]: 'solid',
|
1601
1601
|
[compVars$2.borderColor]: 'transparent',
|
@@ -1759,6 +1759,7 @@ const resetInputOverrides = (name, cssVarList) => `
|
|
1759
1759
|
${resetInputPlaceholder(name)}
|
1760
1760
|
${resetInputField(name)}
|
1761
1761
|
${resetInputAutoFill(name, cssVarList)}
|
1762
|
+
${resetInputFieldInvalidBackgroundColor(name)}
|
1762
1763
|
|
1763
1764
|
${name}::before {
|
1764
1765
|
height: unset;
|
@@ -1831,6 +1832,12 @@ const resetInputReadonlyStyle = (name) => `
|
|
1831
1832
|
}
|
1832
1833
|
`;
|
1833
1834
|
|
1835
|
+
const resetInputFieldInvalidBackgroundColor = (name) => `
|
1836
|
+
${name}::part(input-field)::after {
|
1837
|
+
background: none;
|
1838
|
+
}
|
1839
|
+
`;
|
1840
|
+
|
1834
1841
|
const componentName$n = getComponentName('text-field');
|
1835
1842
|
|
1836
1843
|
const observedAttrs = ['type'];
|
@@ -1883,28 +1890,28 @@ const TextFieldClass = compose(
|
|
1883
1890
|
);
|
1884
1891
|
|
1885
1892
|
const componentName$m = getComponentName('input-wrapper');
|
1886
|
-
const globalRefs$
|
1893
|
+
const globalRefs$a = getThemeRefs(globals);
|
1887
1894
|
|
1888
1895
|
const [theme$1, refs, vars$k] = createHelperVars({
|
1889
|
-
labelTextColor: globalRefs$
|
1890
|
-
valueTextColor: globalRefs$
|
1891
|
-
placeholderTextColor: globalRefs$
|
1896
|
+
labelTextColor: globalRefs$a.colors.surface.contrast,
|
1897
|
+
valueTextColor: globalRefs$a.colors.surface.contrast,
|
1898
|
+
placeholderTextColor: globalRefs$a.colors.surface.main,
|
1892
1899
|
requiredIndicator: "'*'",
|
1893
1900
|
|
1894
|
-
borderWidth: globalRefs$
|
1895
|
-
borderRadius: globalRefs$
|
1901
|
+
borderWidth: globalRefs$a.border.xs,
|
1902
|
+
borderRadius: globalRefs$a.radius.xs,
|
1896
1903
|
borderColor: 'transparent',
|
1897
1904
|
|
1898
|
-
outlineWidth: globalRefs$
|
1905
|
+
outlineWidth: globalRefs$a.border.sm,
|
1899
1906
|
outlineStyle: 'solid',
|
1900
1907
|
outlineColor: 'transparent',
|
1901
1908
|
outlineOffset: '0px', // we need to keep the px unit even for 0 value, as this var is used for calc in different component classes
|
1902
1909
|
|
1903
1910
|
inputHeight: '2em',
|
1904
1911
|
|
1905
|
-
backgroundColor: globalRefs$
|
1912
|
+
backgroundColor: globalRefs$a.colors.surface.light,
|
1906
1913
|
|
1907
|
-
fontFamily: globalRefs$
|
1914
|
+
fontFamily: globalRefs$a.fonts.font1.family,
|
1908
1915
|
|
1909
1916
|
size: {
|
1910
1917
|
xs: { fontSize: '8px' },
|
@@ -1919,31 +1926,26 @@ const [theme$1, refs, vars$k] = createHelperVars({
|
|
1919
1926
|
},
|
1920
1927
|
|
1921
1928
|
_focused: {
|
1922
|
-
outlineColor: globalRefs$
|
1929
|
+
outlineColor: globalRefs$a.colors.surface.main,
|
1923
1930
|
_invalid: {
|
1924
|
-
outlineColor: globalRefs$
|
1931
|
+
outlineColor: globalRefs$a.colors.error.main,
|
1925
1932
|
}
|
1926
1933
|
},
|
1927
1934
|
|
1928
1935
|
_bordered: {
|
1929
|
-
|
1936
|
+
outlineWidth: globalRefs$a.border.xs,
|
1937
|
+
borderColor: globalRefs$a.colors.surface.main,
|
1930
1938
|
borderStyle: 'solid',
|
1931
1939
|
_invalid: {
|
1932
|
-
borderColor: globalRefs$
|
1940
|
+
borderColor: globalRefs$a.colors.error.main,
|
1933
1941
|
}
|
1934
1942
|
},
|
1935
1943
|
|
1936
1944
|
_disabled: {
|
1937
|
-
labelTextColor: globalRefs$
|
1938
|
-
valueTextColor: globalRefs$
|
1939
|
-
placeholderTextColor: globalRefs$
|
1940
|
-
backgroundColor: globalRefs$
|
1941
|
-
},
|
1942
|
-
|
1943
|
-
_invalid: {
|
1944
|
-
labelTextColor: globalRefs$b.colors.error.main,
|
1945
|
-
valueTextColor: globalRefs$b.colors.error.main,
|
1946
|
-
placeholderTextColor: globalRefs$b.colors.error.light,
|
1945
|
+
labelTextColor: globalRefs$a.colors.surface.main,
|
1946
|
+
valueTextColor: globalRefs$a.colors.surface.dark,
|
1947
|
+
placeholderTextColor: globalRefs$a.colors.surface.dark,
|
1948
|
+
backgroundColor: globalRefs$a.colors.surface.main
|
1947
1949
|
}
|
1948
1950
|
}, componentName$m);
|
1949
1951
|
|
@@ -2357,7 +2359,7 @@ const TextAreaClass = compose(
|
|
2357
2359
|
})
|
2358
2360
|
);
|
2359
2361
|
|
2360
|
-
const globalRefs$
|
2362
|
+
const globalRefs$9 = getThemeRefs(globals);
|
2361
2363
|
const vars$f = TextAreaClass.cssVarList;
|
2362
2364
|
|
2363
2365
|
const textArea = {
|
@@ -2380,7 +2382,7 @@ const textArea = {
|
|
2380
2382
|
[vars$f.inputResizeType]: 'vertical',
|
2381
2383
|
|
2382
2384
|
_disabled: {
|
2383
|
-
[vars$f.inputBackgroundColor]: globalRefs$
|
2385
|
+
[vars$f.inputBackgroundColor]: globalRefs$9.colors.surface.light,
|
2384
2386
|
},
|
2385
2387
|
|
2386
2388
|
_readonly: {
|
@@ -2600,7 +2602,7 @@ const CheckboxClass = compose(
|
|
2600
2602
|
})
|
2601
2603
|
);
|
2602
2604
|
|
2603
|
-
const globalRefs$
|
2605
|
+
const globalRefs$8 = getThemeRefs(globals);
|
2604
2606
|
const vars$e = CheckboxClass.cssVarList;
|
2605
2607
|
|
2606
2608
|
const checkbox = {
|
@@ -2616,16 +2618,16 @@ const checkbox = {
|
|
2616
2618
|
[vars$e.inputOutlineColor]: refs.outlineColor,
|
2617
2619
|
[vars$e.inputOutlineStyle]: refs.outlineStyle,
|
2618
2620
|
[vars$e.inputBorderRadius]: refs.borderRadius,
|
2619
|
-
[vars$e.inputBackgroundColor]: globalRefs$
|
2621
|
+
[vars$e.inputBackgroundColor]: globalRefs$8.colors.surface.main,
|
2620
2622
|
[vars$e.inputSize]: '2em',
|
2621
2623
|
|
2622
2624
|
_checked: {
|
2623
|
-
[vars$e.inputBackgroundColor]: globalRefs$
|
2624
|
-
[vars$e.inputValueTextColor]: globalRefs$
|
2625
|
+
[vars$e.inputBackgroundColor]: globalRefs$8.colors.primary.main,
|
2626
|
+
[vars$e.inputValueTextColor]: globalRefs$8.colors.primary.contrast,
|
2625
2627
|
},
|
2626
2628
|
|
2627
2629
|
_disabled: {
|
2628
|
-
[vars$e.inputBackgroundColor]: globalRefs$
|
2630
|
+
[vars$e.inputBackgroundColor]: globalRefs$8.colors.surface.main,
|
2629
2631
|
},
|
2630
2632
|
};
|
2631
2633
|
|
@@ -2756,7 +2758,7 @@ const SwitchToggleClass = compose(
|
|
2756
2758
|
const knobMargin = '2px';
|
2757
2759
|
const checkboxHeight = '1.25em';
|
2758
2760
|
|
2759
|
-
const globalRefs$
|
2761
|
+
const globalRefs$7 = getThemeRefs(globals);
|
2760
2762
|
const vars$d = SwitchToggleClass.cssVarList;
|
2761
2763
|
|
2762
2764
|
const switchToggle = {
|
@@ -2770,9 +2772,9 @@ const switchToggle = {
|
|
2770
2772
|
|
2771
2773
|
[vars$d.trackBorderStyle]: refs.borderStyle,
|
2772
2774
|
[vars$d.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
2773
|
-
[vars$d.trackBorderColor]: globalRefs$
|
2775
|
+
[vars$d.trackBorderColor]: globalRefs$7.colors.surface.contrast,
|
2774
2776
|
[vars$d.trackBackgroundColor]: 'none',
|
2775
|
-
[vars$d.trackBorderRadius]: globalRefs$
|
2777
|
+
[vars$d.trackBorderRadius]: globalRefs$7.radius.md,
|
2776
2778
|
[vars$d.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
2777
2779
|
[vars$d.trackHeight]: checkboxHeight,
|
2778
2780
|
|
@@ -2792,21 +2794,21 @@ const switchToggle = {
|
|
2792
2794
|
[vars$d.hostWidth]: refs.width,
|
2793
2795
|
|
2794
2796
|
_checked: {
|
2795
|
-
[vars$d.trackBorderColor]: globalRefs$
|
2797
|
+
[vars$d.trackBorderColor]: globalRefs$7.colors.primary.main,
|
2796
2798
|
[vars$d.knobLeftOffset]: `calc(100% - var(${vars$d.knobSize}) - ${knobMargin})`,
|
2797
|
-
[vars$d.knobColor]: globalRefs$
|
2799
|
+
[vars$d.knobColor]: globalRefs$7.colors.primary.main,
|
2798
2800
|
[vars$d.knobTextColor]: refs.valueTextColor,
|
2799
2801
|
},
|
2800
2802
|
|
2801
2803
|
_disabled: {
|
2802
|
-
[vars$d.knobColor]: globalRefs$
|
2803
|
-
[vars$d.trackBorderColor]: globalRefs$
|
2804
|
-
[vars$d.trackBackgroundColor]: globalRefs$
|
2804
|
+
[vars$d.knobColor]: globalRefs$7.colors.surface.main,
|
2805
|
+
[vars$d.trackBorderColor]: globalRefs$7.colors.surface.main,
|
2806
|
+
[vars$d.trackBackgroundColor]: globalRefs$7.colors.surface.light,
|
2805
2807
|
},
|
2806
2808
|
|
2807
2809
|
_invalid: {
|
2808
|
-
[vars$d.trackBorderColor]: globalRefs$
|
2809
|
-
[vars$d.knobColor]: globalRefs$
|
2810
|
+
[vars$d.trackBorderColor]: globalRefs$7.colors.error.main,
|
2811
|
+
[vars$d.knobColor]: globalRefs$7.colors.error.main,
|
2810
2812
|
},
|
2811
2813
|
};
|
2812
2814
|
|
@@ -2877,7 +2879,7 @@ const ContainerClass = compose(
|
|
2877
2879
|
componentNameValidationMixin
|
2878
2880
|
)(RawContainer);
|
2879
2881
|
|
2880
|
-
const globalRefs$
|
2882
|
+
const globalRefs$6 = getThemeRefs(globals);
|
2881
2883
|
|
2882
2884
|
const compVars$1 = ContainerClass.cssVarList;
|
2883
2885
|
|
@@ -2907,8 +2909,8 @@ const container = {
|
|
2907
2909
|
|
2908
2910
|
[compVars$1.hostWidth]: '100%',
|
2909
2911
|
[compVars$1.boxShadow]: 'none',
|
2910
|
-
[compVars$1.backgroundColor]: globalRefs$
|
2911
|
-
[compVars$1.color]: globalRefs$
|
2912
|
+
[compVars$1.backgroundColor]: globalRefs$6.colors.surface.light,
|
2913
|
+
[compVars$1.color]: globalRefs$6.colors.surface.contrast,
|
2912
2914
|
|
2913
2915
|
verticalPadding: {
|
2914
2916
|
sm: { [compVars$1.verticalPadding]: '5px' },
|
@@ -2953,23 +2955,23 @@ const container = {
|
|
2953
2955
|
},
|
2954
2956
|
|
2955
2957
|
shadow: {
|
2956
|
-
sm: { [compVars$1.boxShadow]: `${globalRefs$
|
2957
|
-
md: { [compVars$1.boxShadow]: `${globalRefs$
|
2958
|
-
lg: { [compVars$1.boxShadow]: `${globalRefs$
|
2959
|
-
xl: { [compVars$1.boxShadow]: `${globalRefs$
|
2958
|
+
sm: { [compVars$1.boxShadow]: `${globalRefs$6.shadow.wide.sm} ${shadowColor}, ${globalRefs$6.shadow.narrow.sm} ${shadowColor}` },
|
2959
|
+
md: { [compVars$1.boxShadow]: `${globalRefs$6.shadow.wide.md} ${shadowColor}, ${globalRefs$6.shadow.narrow.md} ${shadowColor}` },
|
2960
|
+
lg: { [compVars$1.boxShadow]: `${globalRefs$6.shadow.wide.lg} ${shadowColor}, ${globalRefs$6.shadow.narrow.lg} ${shadowColor}` },
|
2961
|
+
xl: { [compVars$1.boxShadow]: `${globalRefs$6.shadow.wide.xl} ${shadowColor}, ${globalRefs$6.shadow.narrow.xl} ${shadowColor}` },
|
2960
2962
|
'2xl': {
|
2961
2963
|
[helperVars$1.shadowColor]: '#00000050', // mimic daisyUI shadow settings
|
2962
|
-
[compVars$1.boxShadow]: `${globalRefs$
|
2964
|
+
[compVars$1.boxShadow]: `${globalRefs$6.shadow.wide['2xl']} ${shadowColor}`
|
2963
2965
|
},
|
2964
2966
|
},
|
2965
2967
|
|
2966
2968
|
borderRadius: {
|
2967
|
-
sm: { [compVars$1.borderRadius]: globalRefs$
|
2968
|
-
md: { [compVars$1.borderRadius]: globalRefs$
|
2969
|
-
lg: { [compVars$1.borderRadius]: globalRefs$
|
2970
|
-
xl: { [compVars$1.borderRadius]: globalRefs$
|
2971
|
-
'2xl': { [compVars$1.borderRadius]: globalRefs$
|
2972
|
-
'3xl': { [compVars$1.borderRadius]: globalRefs$
|
2969
|
+
sm: { [compVars$1.borderRadius]: globalRefs$6.radius.sm },
|
2970
|
+
md: { [compVars$1.borderRadius]: globalRefs$6.radius.md },
|
2971
|
+
lg: { [compVars$1.borderRadius]: globalRefs$6.radius.lg },
|
2972
|
+
xl: { [compVars$1.borderRadius]: globalRefs$6.radius.xl },
|
2973
|
+
'2xl': { [compVars$1.borderRadius]: globalRefs$6.radius['2xl'] },
|
2974
|
+
'3xl': { [compVars$1.borderRadius]: globalRefs$6.radius['3xl'] },
|
2973
2975
|
}
|
2974
2976
|
};
|
2975
2977
|
|
@@ -3087,63 +3089,63 @@ const TextClass = compose(
|
|
3087
3089
|
componentNameValidationMixin
|
3088
3090
|
)(RawText);
|
3089
3091
|
|
3090
|
-
const globalRefs$
|
3092
|
+
const globalRefs$5 = getThemeRefs(globals);
|
3091
3093
|
const vars$a = TextClass.cssVarList;
|
3092
3094
|
|
3093
3095
|
const text$2 = {
|
3094
3096
|
[vars$a.textLineHeight]: '1em',
|
3095
3097
|
[vars$a.textAlign]: 'left',
|
3096
|
-
[vars$a.textColor]: globalRefs$
|
3098
|
+
[vars$a.textColor]: globalRefs$5.colors.surface.dark,
|
3097
3099
|
variant: {
|
3098
3100
|
h1: {
|
3099
|
-
[vars$a.fontSize]: globalRefs$
|
3100
|
-
[vars$a.fontWeight]: globalRefs$
|
3101
|
-
[vars$a.fontFamily]: globalRefs$
|
3101
|
+
[vars$a.fontSize]: globalRefs$5.typography.h1.size,
|
3102
|
+
[vars$a.fontWeight]: globalRefs$5.typography.h1.weight,
|
3103
|
+
[vars$a.fontFamily]: globalRefs$5.typography.h1.font
|
3102
3104
|
},
|
3103
3105
|
h2: {
|
3104
|
-
[vars$a.fontSize]: globalRefs$
|
3105
|
-
[vars$a.fontWeight]: globalRefs$
|
3106
|
-
[vars$a.fontFamily]: globalRefs$
|
3106
|
+
[vars$a.fontSize]: globalRefs$5.typography.h2.size,
|
3107
|
+
[vars$a.fontWeight]: globalRefs$5.typography.h2.weight,
|
3108
|
+
[vars$a.fontFamily]: globalRefs$5.typography.h2.font
|
3107
3109
|
},
|
3108
3110
|
h3: {
|
3109
|
-
[vars$a.fontSize]: globalRefs$
|
3110
|
-
[vars$a.fontWeight]: globalRefs$
|
3111
|
-
[vars$a.fontFamily]: globalRefs$
|
3111
|
+
[vars$a.fontSize]: globalRefs$5.typography.h3.size,
|
3112
|
+
[vars$a.fontWeight]: globalRefs$5.typography.h3.weight,
|
3113
|
+
[vars$a.fontFamily]: globalRefs$5.typography.h3.font
|
3112
3114
|
},
|
3113
3115
|
subtitle1: {
|
3114
|
-
[vars$a.fontSize]: globalRefs$
|
3115
|
-
[vars$a.fontWeight]: globalRefs$
|
3116
|
-
[vars$a.fontFamily]: globalRefs$
|
3116
|
+
[vars$a.fontSize]: globalRefs$5.typography.subtitle1.size,
|
3117
|
+
[vars$a.fontWeight]: globalRefs$5.typography.subtitle1.weight,
|
3118
|
+
[vars$a.fontFamily]: globalRefs$5.typography.subtitle1.font
|
3117
3119
|
},
|
3118
3120
|
subtitle2: {
|
3119
|
-
[vars$a.fontSize]: globalRefs$
|
3120
|
-
[vars$a.fontWeight]: globalRefs$
|
3121
|
-
[vars$a.fontFamily]: globalRefs$
|
3121
|
+
[vars$a.fontSize]: globalRefs$5.typography.subtitle2.size,
|
3122
|
+
[vars$a.fontWeight]: globalRefs$5.typography.subtitle2.weight,
|
3123
|
+
[vars$a.fontFamily]: globalRefs$5.typography.subtitle2.font
|
3122
3124
|
},
|
3123
3125
|
body1: {
|
3124
|
-
[vars$a.fontSize]: globalRefs$
|
3125
|
-
[vars$a.fontWeight]: globalRefs$
|
3126
|
-
[vars$a.fontFamily]: globalRefs$
|
3126
|
+
[vars$a.fontSize]: globalRefs$5.typography.body1.size,
|
3127
|
+
[vars$a.fontWeight]: globalRefs$5.typography.body1.weight,
|
3128
|
+
[vars$a.fontFamily]: globalRefs$5.typography.body1.font
|
3127
3129
|
},
|
3128
3130
|
body2: {
|
3129
|
-
[vars$a.fontSize]: globalRefs$
|
3130
|
-
[vars$a.fontWeight]: globalRefs$
|
3131
|
-
[vars$a.fontFamily]: globalRefs$
|
3131
|
+
[vars$a.fontSize]: globalRefs$5.typography.body2.size,
|
3132
|
+
[vars$a.fontWeight]: globalRefs$5.typography.body2.weight,
|
3133
|
+
[vars$a.fontFamily]: globalRefs$5.typography.body2.font
|
3132
3134
|
}
|
3133
3135
|
},
|
3134
3136
|
|
3135
3137
|
mode: {
|
3136
3138
|
primary: {
|
3137
|
-
[vars$a.textColor]: globalRefs$
|
3139
|
+
[vars$a.textColor]: globalRefs$5.colors.primary.main
|
3138
3140
|
},
|
3139
3141
|
secondary: {
|
3140
|
-
[vars$a.textColor]: globalRefs$
|
3142
|
+
[vars$a.textColor]: globalRefs$5.colors.secondary.main
|
3141
3143
|
},
|
3142
3144
|
error: {
|
3143
|
-
[vars$a.textColor]: globalRefs$
|
3145
|
+
[vars$a.textColor]: globalRefs$5.colors.error.main
|
3144
3146
|
},
|
3145
3147
|
success: {
|
3146
|
-
[vars$a.textColor]: globalRefs$
|
3148
|
+
[vars$a.textColor]: globalRefs$5.colors.success.main
|
3147
3149
|
}
|
3148
3150
|
},
|
3149
3151
|
|
@@ -3188,15 +3190,15 @@ class RawLink extends createBaseClass({ componentName: componentName$b, baseSele
|
|
3188
3190
|
display: inline-block;
|
3189
3191
|
}
|
3190
3192
|
:host a {
|
3191
|
-
display: inline
|
3193
|
+
display: inline;
|
3192
3194
|
}
|
3193
3195
|
</style>
|
3194
3196
|
<div>
|
3195
|
-
<
|
3196
|
-
<
|
3197
|
+
<descope-text>
|
3198
|
+
<a>
|
3197
3199
|
<slot></slot>
|
3198
|
-
</
|
3199
|
-
</
|
3200
|
+
</a>
|
3201
|
+
</descope-text>
|
3200
3202
|
</div>
|
3201
3203
|
`;
|
3202
3204
|
|
@@ -3241,7 +3243,7 @@ const LinkClass = compose(
|
|
3241
3243
|
componentNameValidationMixin
|
3242
3244
|
)(RawLink);
|
3243
3245
|
|
3244
|
-
const globalRefs$
|
3246
|
+
const globalRefs$4 = getThemeRefs(globals);
|
3245
3247
|
const vars$9 = LinkClass.cssVarList;
|
3246
3248
|
|
3247
3249
|
const link = {
|
@@ -3250,10 +3252,10 @@ const link = {
|
|
3250
3252
|
[vars$9.textUnderlineWidth]: '2px',
|
3251
3253
|
[vars$9.textUnderlineStyle]: 'solid',
|
3252
3254
|
[vars$9.textUnderlineColor]: 'transparent',
|
3253
|
-
[vars$9.textColor]: globalRefs$
|
3255
|
+
[vars$9.textColor]: globalRefs$4.colors.primary.main,
|
3254
3256
|
|
3255
3257
|
_hover: {
|
3256
|
-
[vars$9.textUnderlineColor]: globalRefs$
|
3258
|
+
[vars$9.textUnderlineColor]: globalRefs$4.colors.primary.main
|
3257
3259
|
},
|
3258
3260
|
|
3259
3261
|
textAlign: {
|
@@ -3272,16 +3274,16 @@ const link = {
|
|
3272
3274
|
|
3273
3275
|
mode: {
|
3274
3276
|
primary: {
|
3275
|
-
[vars$9.textColor]: globalRefs$
|
3277
|
+
[vars$9.textColor]: globalRefs$4.colors.primary.main,
|
3276
3278
|
},
|
3277
3279
|
secondary: {
|
3278
|
-
[vars$9.textColor]: globalRefs$
|
3280
|
+
[vars$9.textColor]: globalRefs$4.colors.secondary.main,
|
3279
3281
|
},
|
3280
3282
|
error: {
|
3281
|
-
[vars$9.textColor]: globalRefs$
|
3283
|
+
[vars$9.textColor]: globalRefs$4.colors.error.main,
|
3282
3284
|
},
|
3283
3285
|
success: {
|
3284
|
-
[vars$9.textColor]: globalRefs$
|
3286
|
+
[vars$9.textColor]: globalRefs$4.colors.success.main,
|
3285
3287
|
}
|
3286
3288
|
}
|
3287
3289
|
};
|
@@ -3394,7 +3396,7 @@ const DividerClass = compose(
|
|
3394
3396
|
componentNameValidationMixin
|
3395
3397
|
)(RawDivider);
|
3396
3398
|
|
3397
|
-
const globalRefs$
|
3399
|
+
const globalRefs$3 = getThemeRefs(globals);
|
3398
3400
|
const compVars = DividerClass.cssVarList;
|
3399
3401
|
|
3400
3402
|
const [
|
@@ -3413,7 +3415,7 @@ const divider = {
|
|
3413
3415
|
[compVars.flexDirection]: 'row',
|
3414
3416
|
[compVars.alignSelf]: 'stretch',
|
3415
3417
|
[compVars.hostWidth]: '100%',
|
3416
|
-
[compVars.stripeColor]: globalRefs$
|
3418
|
+
[compVars.stripeColor]: globalRefs$3.colors.surface.main,
|
3417
3419
|
[compVars.stripeColorOpacity]: '0.5',
|
3418
3420
|
[compVars.stripeHorizontalThickness]: helperRefs$1.thickness,
|
3419
3421
|
[compVars.labelTextWidth]: 'fit-content',
|
@@ -3617,7 +3619,7 @@ const PasscodeClass = compose(
|
|
3617
3619
|
})
|
3618
3620
|
);
|
3619
3621
|
|
3620
|
-
|
3622
|
+
getThemeRefs(globals);
|
3621
3623
|
const vars$7 = PasscodeClass.cssVarList;
|
3622
3624
|
|
3623
3625
|
const passcode = {
|
@@ -3631,15 +3633,11 @@ const passcode = {
|
|
3631
3633
|
[vars$7.digitSpacing]: '0',
|
3632
3634
|
[vars$7.hostWidth]: refs.width,
|
3633
3635
|
[vars$7.digitOutlineColor]: 'transparent',
|
3634
|
-
[vars$7.digitOutlineWidth]:
|
3635
|
-
[vars$7.focusedDigitFieldOutlineColor]:
|
3636
|
+
[vars$7.digitOutlineWidth]: refs.outlineWidth,
|
3637
|
+
[vars$7.focusedDigitFieldOutlineColor]: refs.outlineColor,
|
3636
3638
|
|
3637
3639
|
_hideCursor: {
|
3638
3640
|
[vars$7.digitCaretTextColor]: 'transparent',
|
3639
|
-
},
|
3640
|
-
|
3641
|
-
_invalid: {
|
3642
|
-
[vars$7.focusedDigitFieldOutlineColor]: globalRefs$3.colors.error.light,
|
3643
3641
|
}
|
3644
3642
|
};
|
3645
3643
|
|
@@ -4062,10 +4060,6 @@ const comboBox = {
|
|
4062
4060
|
[vars$4.inputDropdownButtonCursor]: 'default'
|
4063
4061
|
},
|
4064
4062
|
|
4065
|
-
_invalid: {
|
4066
|
-
[vars$4.inputDropdownButtonColor]: globalRefs.colors.error.main
|
4067
|
-
},
|
4068
|
-
|
4069
4063
|
// [vars.overlayCursor]: 'pointer',
|
4070
4064
|
// [vars.overlayBackground]: globalRefs.colors.surface.light,
|
4071
4065
|
// [vars.overlayBorder]: `2px solid red`,
|
@@ -5570,6 +5564,8 @@ const PhoneFieldClass = compose(
|
|
5570
5564
|
|
5571
5565
|
${resetInputFieldDefaultWidth()}
|
5572
5566
|
${resetInputCursor('vaadin-text-field')}
|
5567
|
+
${resetInputFieldInvalidBackgroundColor('vaadin-text-field')}
|
5568
|
+
|
5573
5569
|
`,
|
5574
5570
|
excludeAttrsSync: ['tabindex'],
|
5575
5571
|
componentName: componentName$2
|