@descope/web-components-ui 1.0.234 → 1.0.236
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.cjs.js +770 -647
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +754 -632
- package/dist/index.esm.js.map +1 -1
- package/dist/umd/{4513.js → 1721.js} +1 -1
- package/dist/umd/3003.js +1 -1
- package/dist/umd/3092.js +23 -18
- package/dist/umd/322.js +90 -0
- package/dist/umd/4226.js +1 -1
- package/dist/umd/4447.js +1 -2
- package/dist/umd/5345.js +1 -1
- package/dist/umd/5517.js +2 -0
- package/dist/umd/5806.js +3 -3
- package/dist/umd/5977.js +18 -13
- package/dist/umd/6091.js +1 -1
- package/dist/umd/6542.js +22 -22
- package/dist/umd/6770.js +2 -2
- package/dist/umd/7531.js +77 -6
- package/dist/umd/849.js +744 -0
- package/dist/umd/849.js.LICENSE.txt +11 -0
- package/dist/umd/8623.js +2 -0
- package/dist/umd/8725.js +2 -2
- package/dist/umd/{1990.js → 9092.js} +21 -17
- package/dist/umd/9211.js +33 -19
- package/dist/umd/{7514.js → 9558.js} +128 -110
- package/dist/umd/descope-badge-index-js.js +1 -0
- package/dist/umd/descope-button-index-js.js +1 -1
- package/dist/umd/descope-date-picker-index-js.js +1 -1
- package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +1 -1
- package/dist/umd/descope-grid-descope-grid-status-column-index-js.js +1 -1
- package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +1 -1
- package/dist/umd/descope-grid-index-js.js +1 -1
- package/dist/umd/index.js +1 -1
- package/package.json +14 -13
- package/src/components/descope-badge/BadgeClass.js +54 -0
- package/src/components/descope-badge/index.js +5 -0
- package/src/index.cjs.js +1 -0
- package/src/index.d.ts +1 -0
- package/src/theme/components/badge.js +71 -0
- package/src/theme/components/index.js +2 -0
- package/dist/umd/2873.js +0 -738
- package/dist/umd/2873.js.LICENSE.txt +0 -21
- package/dist/umd/446.js +0 -92
- package/dist/umd/729.js +0 -1
- package/dist/umd/9629.js +0 -2
- package/dist/umd/9671.js +0 -1
- /package/dist/umd/{4447.js.LICENSE.txt → 322.js.LICENSE.txt} +0 -0
- /package/dist/umd/{446.js.LICENSE.txt → 5517.js.LICENSE.txt} +0 -0
- /package/dist/umd/{9629.js.LICENSE.txt → 8623.js.LICENSE.txt} +0 -0
- /package/dist/umd/{1990.js.LICENSE.txt → 9092.js.LICENSE.txt} +0 -0
- /package/dist/umd/{7514.js.LICENSE.txt → 9558.js.LICENSE.txt} +0 -0
package/dist/cjs/index.cjs.js
CHANGED
@@ -499,7 +499,7 @@ const globals = {
|
|
499
499
|
fonts,
|
500
500
|
direction,
|
501
501
|
};
|
502
|
-
const vars$
|
502
|
+
const vars$v = getThemeVars(globals);
|
503
503
|
|
504
504
|
const createCssVarFallback = (first, ...rest) =>
|
505
505
|
`var(${first}${rest.length ? ` , ${createCssVarFallback(...rest)}` : ''})`;
|
@@ -2367,7 +2367,7 @@ const clickableMixin = (superclass) =>
|
|
2367
2367
|
}
|
2368
2368
|
};
|
2369
2369
|
|
2370
|
-
const componentName$
|
2370
|
+
const componentName$B = getComponentName('button');
|
2371
2371
|
|
2372
2372
|
const resetStyles = `
|
2373
2373
|
:host {
|
@@ -2468,7 +2468,7 @@ const ButtonClass = compose(
|
|
2468
2468
|
}
|
2469
2469
|
`,
|
2470
2470
|
excludeAttrsSync: ['tabindex'],
|
2471
|
-
componentName: componentName$
|
2471
|
+
componentName: componentName$B,
|
2472
2472
|
})
|
2473
2473
|
);
|
2474
2474
|
|
@@ -2505,31 +2505,31 @@ loadingIndicatorStyles = `
|
|
2505
2505
|
}
|
2506
2506
|
`;
|
2507
2507
|
|
2508
|
-
const globalRefs$
|
2508
|
+
const globalRefs$g = getThemeRefs(globals);
|
2509
2509
|
const compVars$4 = ButtonClass.cssVarList;
|
2510
2510
|
|
2511
2511
|
const mode = {
|
2512
|
-
primary: globalRefs$
|
2513
|
-
secondary: globalRefs$
|
2514
|
-
success: globalRefs$
|
2515
|
-
error: globalRefs$
|
2516
|
-
surface: globalRefs$
|
2512
|
+
primary: globalRefs$g.colors.primary,
|
2513
|
+
secondary: globalRefs$g.colors.secondary,
|
2514
|
+
success: globalRefs$g.colors.success,
|
2515
|
+
error: globalRefs$g.colors.error,
|
2516
|
+
surface: globalRefs$g.colors.surface,
|
2517
2517
|
};
|
2518
2518
|
|
2519
|
-
const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$
|
2519
|
+
const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$B);
|
2520
2520
|
|
2521
2521
|
const button = {
|
2522
2522
|
...helperTheme$3,
|
2523
2523
|
|
2524
|
-
[compVars$4.fontFamily]: globalRefs$
|
2524
|
+
[compVars$4.fontFamily]: globalRefs$g.fonts.font1.family,
|
2525
2525
|
|
2526
2526
|
[compVars$4.cursor]: 'pointer',
|
2527
2527
|
[compVars$4.hostHeight]: '3em',
|
2528
2528
|
[compVars$4.hostWidth]: 'auto',
|
2529
|
-
[compVars$4.hostDirection]: globalRefs$
|
2529
|
+
[compVars$4.hostDirection]: globalRefs$g.direction,
|
2530
2530
|
|
2531
|
-
[compVars$4.borderRadius]: globalRefs$
|
2532
|
-
[compVars$4.borderWidth]: globalRefs$
|
2531
|
+
[compVars$4.borderRadius]: globalRefs$g.radius.sm,
|
2532
|
+
[compVars$4.borderWidth]: globalRefs$g.border.xs,
|
2533
2533
|
[compVars$4.borderStyle]: 'solid',
|
2534
2534
|
[compVars$4.borderColor]: 'transparent',
|
2535
2535
|
|
@@ -2565,10 +2565,10 @@ const button = {
|
|
2565
2565
|
},
|
2566
2566
|
|
2567
2567
|
_disabled: {
|
2568
|
-
[helperVars$3.main]: globalRefs$
|
2569
|
-
[helperVars$3.dark]: globalRefs$
|
2570
|
-
[helperVars$3.light]: globalRefs$
|
2571
|
-
[helperVars$3.contrast]: globalRefs$
|
2568
|
+
[helperVars$3.main]: globalRefs$g.colors.surface.main,
|
2569
|
+
[helperVars$3.dark]: globalRefs$g.colors.surface.dark,
|
2570
|
+
[helperVars$3.light]: globalRefs$g.colors.surface.light,
|
2571
|
+
[helperVars$3.contrast]: globalRefs$g.colors.surface.contrast,
|
2572
2572
|
},
|
2573
2573
|
|
2574
2574
|
variant: {
|
@@ -2610,11 +2610,11 @@ const button = {
|
|
2610
2610
|
},
|
2611
2611
|
|
2612
2612
|
_focused: {
|
2613
|
-
[compVars$4.outlineColor]: globalRefs$
|
2613
|
+
[compVars$4.outlineColor]: globalRefs$g.colors.surface.main,
|
2614
2614
|
},
|
2615
2615
|
};
|
2616
2616
|
|
2617
|
-
const vars$
|
2617
|
+
const vars$u = {
|
2618
2618
|
...compVars$4,
|
2619
2619
|
...helperVars$3,
|
2620
2620
|
};
|
@@ -2622,7 +2622,7 @@ const vars$t = {
|
|
2622
2622
|
var button$1 = /*#__PURE__*/Object.freeze({
|
2623
2623
|
__proto__: null,
|
2624
2624
|
default: button,
|
2625
|
-
vars: vars$
|
2625
|
+
vars: vars$u
|
2626
2626
|
});
|
2627
2627
|
|
2628
2628
|
const { host: host$f, label: label$8, placeholder: placeholder$2, requiredIndicator: requiredIndicator$a, inputField: inputField$5, input, helperText: helperText$8, errorMessage: errorMessage$a } =
|
@@ -2809,7 +2809,7 @@ const resetInputLabelPosition = (name) => `
|
|
2809
2809
|
}
|
2810
2810
|
`;
|
2811
2811
|
|
2812
|
-
const componentName$
|
2812
|
+
const componentName$A = getComponentName('text-field');
|
2813
2813
|
|
2814
2814
|
const observedAttrs = ['type'];
|
2815
2815
|
|
@@ -2859,26 +2859,26 @@ const TextFieldClass = compose(
|
|
2859
2859
|
${resetInputOverrides('vaadin-text-field', TextFieldClass.cssVarList)}
|
2860
2860
|
`,
|
2861
2861
|
excludeAttrsSync: ['tabindex'],
|
2862
|
-
componentName: componentName$
|
2862
|
+
componentName: componentName$A,
|
2863
2863
|
})
|
2864
2864
|
);
|
2865
2865
|
|
2866
|
-
const componentName$
|
2867
|
-
const globalRefs$
|
2866
|
+
const componentName$z = getComponentName('input-wrapper');
|
2867
|
+
const globalRefs$f = getThemeRefs(globals);
|
2868
2868
|
|
2869
|
-
const [theme$1, refs, vars$
|
2869
|
+
const [theme$1, refs, vars$t] = createHelperVars(
|
2870
2870
|
{
|
2871
|
-
labelTextColor: globalRefs$
|
2872
|
-
valueTextColor: globalRefs$
|
2873
|
-
placeholderTextColor: globalRefs$
|
2871
|
+
labelTextColor: globalRefs$f.colors.surface.contrast,
|
2872
|
+
valueTextColor: globalRefs$f.colors.surface.contrast,
|
2873
|
+
placeholderTextColor: globalRefs$f.colors.surface.main,
|
2874
2874
|
requiredIndicator: "'*'",
|
2875
|
-
errorMessageTextColor: globalRefs$
|
2875
|
+
errorMessageTextColor: globalRefs$f.colors.error.main,
|
2876
2876
|
|
2877
|
-
borderWidth: globalRefs$
|
2878
|
-
borderRadius: globalRefs$
|
2877
|
+
borderWidth: globalRefs$f.border.xs,
|
2878
|
+
borderRadius: globalRefs$f.radius.xs,
|
2879
2879
|
borderColor: 'transparent',
|
2880
2880
|
|
2881
|
-
outlineWidth: globalRefs$
|
2881
|
+
outlineWidth: globalRefs$f.border.sm,
|
2882
2882
|
outlineStyle: 'solid',
|
2883
2883
|
outlineColor: 'transparent',
|
2884
2884
|
outlineOffset: '0px', // we need to keep the px unit even for 0 value, as this var is used for calc in different component classes
|
@@ -2889,11 +2889,11 @@ const [theme$1, refs, vars$s] = createHelperVars(
|
|
2889
2889
|
horizontalPadding: '0.5em',
|
2890
2890
|
verticalPadding: '0.5em',
|
2891
2891
|
|
2892
|
-
backgroundColor: globalRefs$
|
2892
|
+
backgroundColor: globalRefs$f.colors.surface.light,
|
2893
2893
|
|
2894
|
-
fontFamily: globalRefs$
|
2894
|
+
fontFamily: globalRefs$f.fonts.font1.family,
|
2895
2895
|
|
2896
|
-
direction: globalRefs$
|
2896
|
+
direction: globalRefs$f.direction,
|
2897
2897
|
|
2898
2898
|
size: {
|
2899
2899
|
xs: { fontSize: '12px' },
|
@@ -2907,70 +2907,70 @@ const [theme$1, refs, vars$s] = createHelperVars(
|
|
2907
2907
|
},
|
2908
2908
|
|
2909
2909
|
_focused: {
|
2910
|
-
outlineColor: globalRefs$
|
2910
|
+
outlineColor: globalRefs$f.colors.surface.main,
|
2911
2911
|
_invalid: {
|
2912
|
-
outlineColor: globalRefs$
|
2912
|
+
outlineColor: globalRefs$f.colors.error.main,
|
2913
2913
|
},
|
2914
2914
|
},
|
2915
2915
|
|
2916
2916
|
_bordered: {
|
2917
|
-
outlineWidth: globalRefs$
|
2918
|
-
borderColor: globalRefs$
|
2917
|
+
outlineWidth: globalRefs$f.border.xs,
|
2918
|
+
borderColor: globalRefs$f.colors.surface.main,
|
2919
2919
|
borderStyle: 'solid',
|
2920
2920
|
_invalid: {
|
2921
|
-
borderColor: globalRefs$
|
2921
|
+
borderColor: globalRefs$f.colors.error.main,
|
2922
2922
|
},
|
2923
2923
|
},
|
2924
2924
|
|
2925
2925
|
_disabled: {
|
2926
|
-
labelTextColor: globalRefs$
|
2927
|
-
borderColor: globalRefs$
|
2928
|
-
valueTextColor: globalRefs$
|
2929
|
-
placeholderTextColor: globalRefs$
|
2930
|
-
backgroundColor: globalRefs$
|
2926
|
+
labelTextColor: globalRefs$f.colors.surface.main,
|
2927
|
+
borderColor: globalRefs$f.colors.surface.main,
|
2928
|
+
valueTextColor: globalRefs$f.colors.surface.dark,
|
2929
|
+
placeholderTextColor: globalRefs$f.colors.surface.dark,
|
2930
|
+
backgroundColor: globalRefs$f.colors.surface.main,
|
2931
2931
|
},
|
2932
2932
|
},
|
2933
|
-
componentName$
|
2933
|
+
componentName$z
|
2934
2934
|
);
|
2935
2935
|
|
2936
2936
|
var inputWrapper = /*#__PURE__*/Object.freeze({
|
2937
2937
|
__proto__: null,
|
2938
2938
|
default: theme$1,
|
2939
2939
|
refs: refs,
|
2940
|
-
vars: vars$
|
2940
|
+
vars: vars$t
|
2941
2941
|
});
|
2942
2942
|
|
2943
|
-
const vars$
|
2943
|
+
const vars$s = TextFieldClass.cssVarList;
|
2944
2944
|
|
2945
2945
|
const textField = {
|
2946
|
-
[vars$
|
2947
|
-
[vars$
|
2948
|
-
[vars$
|
2949
|
-
[vars$
|
2950
|
-
[vars$
|
2951
|
-
[vars$
|
2952
|
-
[vars$
|
2953
|
-
[vars$
|
2954
|
-
[vars$
|
2955
|
-
[vars$
|
2956
|
-
[vars$
|
2957
|
-
[vars$
|
2958
|
-
[vars$
|
2959
|
-
[vars$
|
2960
|
-
[vars$
|
2961
|
-
[vars$
|
2962
|
-
[vars$
|
2963
|
-
[vars$
|
2964
|
-
[vars$
|
2965
|
-
[vars$
|
2966
|
-
[vars$
|
2946
|
+
[vars$s.hostWidth]: refs.width,
|
2947
|
+
[vars$s.hostMinWidth]: refs.minWidth,
|
2948
|
+
[vars$s.hostDirection]: refs.direction,
|
2949
|
+
[vars$s.fontSize]: refs.fontSize,
|
2950
|
+
[vars$s.fontFamily]: refs.fontFamily,
|
2951
|
+
[vars$s.labelTextColor]: refs.labelTextColor,
|
2952
|
+
[vars$s.labelRequiredIndicator]: refs.requiredIndicator,
|
2953
|
+
[vars$s.errorMessageTextColor]: refs.errorMessageTextColor,
|
2954
|
+
[vars$s.inputValueTextColor]: refs.valueTextColor,
|
2955
|
+
[vars$s.inputPlaceholderColor]: refs.placeholderTextColor,
|
2956
|
+
[vars$s.inputBorderWidth]: refs.borderWidth,
|
2957
|
+
[vars$s.inputBorderStyle]: refs.borderStyle,
|
2958
|
+
[vars$s.inputBorderColor]: refs.borderColor,
|
2959
|
+
[vars$s.inputBorderRadius]: refs.borderRadius,
|
2960
|
+
[vars$s.inputOutlineWidth]: refs.outlineWidth,
|
2961
|
+
[vars$s.inputOutlineStyle]: refs.outlineStyle,
|
2962
|
+
[vars$s.inputOutlineColor]: refs.outlineColor,
|
2963
|
+
[vars$s.inputOutlineOffset]: refs.outlineOffset,
|
2964
|
+
[vars$s.inputBackgroundColor]: refs.backgroundColor,
|
2965
|
+
[vars$s.inputHeight]: refs.inputHeight,
|
2966
|
+
[vars$s.inputHorizontalPadding]: refs.horizontalPadding,
|
2967
2967
|
};
|
2968
2968
|
|
2969
2969
|
var textField$1 = /*#__PURE__*/Object.freeze({
|
2970
2970
|
__proto__: null,
|
2971
2971
|
default: textField,
|
2972
2972
|
textField: textField,
|
2973
|
-
vars: vars$
|
2973
|
+
vars: vars$s
|
2974
2974
|
});
|
2975
2975
|
|
2976
2976
|
const passwordDraggableMixin = (superclass) =>
|
@@ -3007,7 +3007,7 @@ const passwordDraggableMixin = (superclass) =>
|
|
3007
3007
|
}
|
3008
3008
|
};
|
3009
3009
|
|
3010
|
-
const componentName$
|
3010
|
+
const componentName$y = getComponentName('password');
|
3011
3011
|
|
3012
3012
|
const {
|
3013
3013
|
host: host$e,
|
@@ -3138,45 +3138,45 @@ const PasswordClass = compose(
|
|
3138
3138
|
}
|
3139
3139
|
`,
|
3140
3140
|
excludeAttrsSync: ['tabindex'],
|
3141
|
-
componentName: componentName$
|
3141
|
+
componentName: componentName$y,
|
3142
3142
|
})
|
3143
3143
|
);
|
3144
3144
|
|
3145
|
-
const globalRefs$
|
3146
|
-
const vars$
|
3145
|
+
const globalRefs$e = getThemeRefs(globals);
|
3146
|
+
const vars$r = PasswordClass.cssVarList;
|
3147
3147
|
|
3148
3148
|
const password = {
|
3149
|
-
[vars$
|
3150
|
-
[vars$
|
3151
|
-
[vars$
|
3152
|
-
[vars$
|
3153
|
-
[vars$
|
3154
|
-
[vars$
|
3155
|
-
[vars$
|
3156
|
-
[vars$
|
3157
|
-
[vars$
|
3158
|
-
[vars$
|
3159
|
-
[vars$
|
3160
|
-
[vars$
|
3161
|
-
[vars$
|
3162
|
-
[vars$
|
3163
|
-
[vars$
|
3164
|
-
[vars$
|
3165
|
-
[vars$
|
3166
|
-
[vars$
|
3167
|
-
[vars$
|
3168
|
-
[vars$
|
3169
|
-
[vars$
|
3170
|
-
[vars$
|
3149
|
+
[vars$r.hostWidth]: refs.width,
|
3150
|
+
[vars$r.hostDirection]: refs.direction,
|
3151
|
+
[vars$r.fontSize]: refs.fontSize,
|
3152
|
+
[vars$r.fontFamily]: refs.fontFamily,
|
3153
|
+
[vars$r.labelTextColor]: refs.labelTextColor,
|
3154
|
+
[vars$r.errorMessageTextColor]: refs.errorMessageTextColor,
|
3155
|
+
[vars$r.inputHorizontalPadding]: refs.horizontalPadding,
|
3156
|
+
[vars$r.inputHeight]: refs.inputHeight,
|
3157
|
+
[vars$r.inputBackgroundColor]: refs.backgroundColor,
|
3158
|
+
[vars$r.labelRequiredIndicator]: refs.requiredIndicator,
|
3159
|
+
[vars$r.inputValueTextColor]: refs.valueTextColor,
|
3160
|
+
[vars$r.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
3161
|
+
[vars$r.inputBorderWidth]: refs.borderWidth,
|
3162
|
+
[vars$r.inputBorderStyle]: refs.borderStyle,
|
3163
|
+
[vars$r.inputBorderColor]: refs.borderColor,
|
3164
|
+
[vars$r.inputBorderRadius]: refs.borderRadius,
|
3165
|
+
[vars$r.inputOutlineWidth]: refs.outlineWidth,
|
3166
|
+
[vars$r.inputOutlineStyle]: refs.outlineStyle,
|
3167
|
+
[vars$r.inputOutlineColor]: refs.outlineColor,
|
3168
|
+
[vars$r.inputOutlineOffset]: refs.outlineOffset,
|
3169
|
+
[vars$r.revealButtonOffset]: globalRefs$e.spacing.md,
|
3170
|
+
[vars$r.revealButtonSize]: refs.toggleButtonSize,
|
3171
3171
|
};
|
3172
3172
|
|
3173
3173
|
var password$1 = /*#__PURE__*/Object.freeze({
|
3174
3174
|
__proto__: null,
|
3175
3175
|
default: password,
|
3176
|
-
vars: vars$
|
3176
|
+
vars: vars$r
|
3177
3177
|
});
|
3178
3178
|
|
3179
|
-
const componentName$
|
3179
|
+
const componentName$x = getComponentName('number-field');
|
3180
3180
|
|
3181
3181
|
const NumberFieldClass = compose(
|
3182
3182
|
createStyleMixin({
|
@@ -3202,43 +3202,43 @@ const NumberFieldClass = compose(
|
|
3202
3202
|
${resetInputOverrides('vaadin-number-field', NumberFieldClass.cssVarList)}
|
3203
3203
|
`,
|
3204
3204
|
excludeAttrsSync: ['tabindex'],
|
3205
|
-
componentName: componentName$
|
3205
|
+
componentName: componentName$x,
|
3206
3206
|
})
|
3207
3207
|
);
|
3208
3208
|
|
3209
|
-
const vars$
|
3209
|
+
const vars$q = NumberFieldClass.cssVarList;
|
3210
3210
|
|
3211
3211
|
const numberField = {
|
3212
|
-
[vars$
|
3213
|
-
[vars$
|
3214
|
-
[vars$
|
3215
|
-
[vars$
|
3216
|
-
[vars$
|
3217
|
-
[vars$
|
3218
|
-
[vars$
|
3219
|
-
[vars$
|
3220
|
-
[vars$
|
3221
|
-
[vars$
|
3222
|
-
[vars$
|
3223
|
-
[vars$
|
3224
|
-
[vars$
|
3225
|
-
[vars$
|
3226
|
-
[vars$
|
3227
|
-
[vars$
|
3228
|
-
[vars$
|
3229
|
-
[vars$
|
3230
|
-
[vars$
|
3231
|
-
[vars$
|
3232
|
-
[vars$
|
3212
|
+
[vars$q.hostWidth]: refs.width,
|
3213
|
+
[vars$q.hostMinWidth]: refs.minWidth,
|
3214
|
+
[vars$q.hostDirection]: refs.direction,
|
3215
|
+
[vars$q.fontSize]: refs.fontSize,
|
3216
|
+
[vars$q.fontFamily]: refs.fontFamily,
|
3217
|
+
[vars$q.labelTextColor]: refs.labelTextColor,
|
3218
|
+
[vars$q.errorMessageTextColor]: refs.errorMessageTextColor,
|
3219
|
+
[vars$q.inputValueTextColor]: refs.valueTextColor,
|
3220
|
+
[vars$q.inputPlaceholderColor]: refs.placeholderTextColor,
|
3221
|
+
[vars$q.inputBorderWidth]: refs.borderWidth,
|
3222
|
+
[vars$q.inputBorderStyle]: refs.borderStyle,
|
3223
|
+
[vars$q.inputBorderColor]: refs.borderColor,
|
3224
|
+
[vars$q.inputBorderRadius]: refs.borderRadius,
|
3225
|
+
[vars$q.inputOutlineWidth]: refs.outlineWidth,
|
3226
|
+
[vars$q.inputOutlineStyle]: refs.outlineStyle,
|
3227
|
+
[vars$q.inputOutlineColor]: refs.outlineColor,
|
3228
|
+
[vars$q.inputOutlineOffset]: refs.outlineOffset,
|
3229
|
+
[vars$q.inputBackgroundColor]: refs.backgroundColor,
|
3230
|
+
[vars$q.labelRequiredIndicator]: refs.requiredIndicator,
|
3231
|
+
[vars$q.inputHorizontalPadding]: refs.horizontalPadding,
|
3232
|
+
[vars$q.inputHeight]: refs.inputHeight,
|
3233
3233
|
};
|
3234
3234
|
|
3235
3235
|
var numberField$1 = /*#__PURE__*/Object.freeze({
|
3236
3236
|
__proto__: null,
|
3237
3237
|
default: numberField,
|
3238
|
-
vars: vars$
|
3238
|
+
vars: vars$q
|
3239
3239
|
});
|
3240
3240
|
|
3241
|
-
const componentName$
|
3241
|
+
const componentName$w = getComponentName('email-field');
|
3242
3242
|
|
3243
3243
|
const customMixin$6 = (superclass) =>
|
3244
3244
|
class EmailFieldMixinClass extends superclass {
|
@@ -3273,43 +3273,43 @@ const EmailFieldClass = compose(
|
|
3273
3273
|
${resetInputOverrides('vaadin-email-field', EmailFieldClass.cssVarList)}
|
3274
3274
|
`,
|
3275
3275
|
excludeAttrsSync: ['tabindex'],
|
3276
|
-
componentName: componentName$
|
3276
|
+
componentName: componentName$w,
|
3277
3277
|
})
|
3278
3278
|
);
|
3279
3279
|
|
3280
|
-
const vars$
|
3280
|
+
const vars$p = EmailFieldClass.cssVarList;
|
3281
3281
|
|
3282
3282
|
const emailField = {
|
3283
|
-
[vars$
|
3284
|
-
[vars$
|
3285
|
-
[vars$
|
3286
|
-
[vars$
|
3287
|
-
[vars$
|
3288
|
-
[vars$
|
3289
|
-
[vars$
|
3290
|
-
[vars$
|
3291
|
-
[vars$
|
3292
|
-
[vars$
|
3293
|
-
[vars$
|
3294
|
-
[vars$
|
3295
|
-
[vars$
|
3296
|
-
[vars$
|
3297
|
-
[vars$
|
3298
|
-
[vars$
|
3299
|
-
[vars$
|
3300
|
-
[vars$
|
3301
|
-
[vars$
|
3302
|
-
[vars$
|
3303
|
-
[vars$
|
3283
|
+
[vars$p.hostWidth]: refs.width,
|
3284
|
+
[vars$p.hostMinWidth]: refs.minWidth,
|
3285
|
+
[vars$p.hostDirection]: refs.direction,
|
3286
|
+
[vars$p.fontSize]: refs.fontSize,
|
3287
|
+
[vars$p.fontFamily]: refs.fontFamily,
|
3288
|
+
[vars$p.labelTextColor]: refs.labelTextColor,
|
3289
|
+
[vars$p.errorMessageTextColor]: refs.errorMessageTextColor,
|
3290
|
+
[vars$p.inputValueTextColor]: refs.valueTextColor,
|
3291
|
+
[vars$p.labelRequiredIndicator]: refs.requiredIndicator,
|
3292
|
+
[vars$p.inputPlaceholderColor]: refs.placeholderTextColor,
|
3293
|
+
[vars$p.inputBorderWidth]: refs.borderWidth,
|
3294
|
+
[vars$p.inputBorderStyle]: refs.borderStyle,
|
3295
|
+
[vars$p.inputBorderColor]: refs.borderColor,
|
3296
|
+
[vars$p.inputBorderRadius]: refs.borderRadius,
|
3297
|
+
[vars$p.inputOutlineWidth]: refs.outlineWidth,
|
3298
|
+
[vars$p.inputOutlineStyle]: refs.outlineStyle,
|
3299
|
+
[vars$p.inputOutlineColor]: refs.outlineColor,
|
3300
|
+
[vars$p.inputOutlineOffset]: refs.outlineOffset,
|
3301
|
+
[vars$p.inputBackgroundColor]: refs.backgroundColor,
|
3302
|
+
[vars$p.inputHorizontalPadding]: refs.horizontalPadding,
|
3303
|
+
[vars$p.inputHeight]: refs.inputHeight,
|
3304
3304
|
};
|
3305
3305
|
|
3306
3306
|
var emailField$1 = /*#__PURE__*/Object.freeze({
|
3307
3307
|
__proto__: null,
|
3308
3308
|
default: emailField,
|
3309
|
-
vars: vars$
|
3309
|
+
vars: vars$p
|
3310
3310
|
});
|
3311
3311
|
|
3312
|
-
const componentName$
|
3312
|
+
const componentName$v = getComponentName('text-area');
|
3313
3313
|
|
3314
3314
|
const {
|
3315
3315
|
host: host$d,
|
@@ -3384,49 +3384,49 @@ const TextAreaClass = compose(
|
|
3384
3384
|
${resetInputCursor('vaadin-text-area')}
|
3385
3385
|
`,
|
3386
3386
|
excludeAttrsSync: ['tabindex'],
|
3387
|
-
componentName: componentName$
|
3387
|
+
componentName: componentName$v,
|
3388
3388
|
})
|
3389
3389
|
);
|
3390
3390
|
|
3391
|
-
const globalRefs$
|
3392
|
-
const vars$
|
3391
|
+
const globalRefs$d = getThemeRefs(globals);
|
3392
|
+
const vars$o = TextAreaClass.cssVarList;
|
3393
3393
|
|
3394
3394
|
const textArea = {
|
3395
|
-
[vars$
|
3396
|
-
[vars$
|
3397
|
-
[vars$
|
3398
|
-
[vars$
|
3399
|
-
[vars$
|
3400
|
-
[vars$
|
3401
|
-
[vars$
|
3402
|
-
[vars$
|
3403
|
-
[vars$
|
3404
|
-
[vars$
|
3405
|
-
[vars$
|
3406
|
-
[vars$
|
3407
|
-
[vars$
|
3408
|
-
[vars$
|
3409
|
-
[vars$
|
3410
|
-
[vars$
|
3411
|
-
[vars$
|
3412
|
-
[vars$
|
3413
|
-
[vars$
|
3414
|
-
[vars$
|
3415
|
-
[vars$
|
3395
|
+
[vars$o.hostWidth]: refs.width,
|
3396
|
+
[vars$o.hostMinWidth]: refs.minWidth,
|
3397
|
+
[vars$o.hostDirection]: refs.direction,
|
3398
|
+
[vars$o.fontSize]: refs.fontSize,
|
3399
|
+
[vars$o.fontFamily]: refs.fontFamily,
|
3400
|
+
[vars$o.labelTextColor]: refs.labelTextColor,
|
3401
|
+
[vars$o.labelRequiredIndicator]: refs.requiredIndicator,
|
3402
|
+
[vars$o.errorMessageTextColor]: refs.errorMessageTextColor,
|
3403
|
+
[vars$o.inputBackgroundColor]: refs.backgroundColor,
|
3404
|
+
[vars$o.inputValueTextColor]: refs.valueTextColor,
|
3405
|
+
[vars$o.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
3406
|
+
[vars$o.inputBorderRadius]: refs.borderRadius,
|
3407
|
+
[vars$o.inputBorderWidth]: refs.borderWidth,
|
3408
|
+
[vars$o.inputBorderStyle]: refs.borderStyle,
|
3409
|
+
[vars$o.inputBorderColor]: refs.borderColor,
|
3410
|
+
[vars$o.inputOutlineWidth]: refs.outlineWidth,
|
3411
|
+
[vars$o.inputOutlineStyle]: refs.outlineStyle,
|
3412
|
+
[vars$o.inputOutlineColor]: refs.outlineColor,
|
3413
|
+
[vars$o.inputOutlineOffset]: refs.outlineOffset,
|
3414
|
+
[vars$o.inputResizeType]: 'vertical',
|
3415
|
+
[vars$o.inputMinHeight]: '5em',
|
3416
3416
|
|
3417
3417
|
_disabled: {
|
3418
|
-
[vars$
|
3418
|
+
[vars$o.inputBackgroundColor]: globalRefs$d.colors.surface.light,
|
3419
3419
|
},
|
3420
3420
|
|
3421
3421
|
_readonly: {
|
3422
|
-
[vars$
|
3422
|
+
[vars$o.inputResizeType]: 'none',
|
3423
3423
|
},
|
3424
3424
|
};
|
3425
3425
|
|
3426
3426
|
var textArea$1 = /*#__PURE__*/Object.freeze({
|
3427
3427
|
__proto__: null,
|
3428
3428
|
default: textArea,
|
3429
|
-
vars: vars$
|
3429
|
+
vars: vars$o
|
3430
3430
|
});
|
3431
3431
|
|
3432
3432
|
const createBaseInputClass = (...args) =>
|
@@ -3437,9 +3437,9 @@ const createBaseInputClass = (...args) =>
|
|
3437
3437
|
inputEventsDispatchingMixin
|
3438
3438
|
)(createBaseClass(...args));
|
3439
3439
|
|
3440
|
-
const componentName$
|
3440
|
+
const componentName$u = getComponentName('boolean-field-internal');
|
3441
3441
|
|
3442
|
-
createBaseInputClass({ componentName: componentName$
|
3442
|
+
createBaseInputClass({ componentName: componentName$u, baseSelector: 'div' });
|
3443
3443
|
|
3444
3444
|
const booleanFieldMixin = (superclass) =>
|
3445
3445
|
class BooleanFieldMixinClass extends superclass {
|
@@ -3448,14 +3448,14 @@ const booleanFieldMixin = (superclass) =>
|
|
3448
3448
|
|
3449
3449
|
const template = document.createElement('template');
|
3450
3450
|
template.innerHTML = `
|
3451
|
-
<${componentName$
|
3451
|
+
<${componentName$u}
|
3452
3452
|
tabindex="-1"
|
3453
3453
|
slot="input"
|
3454
|
-
></${componentName$
|
3454
|
+
></${componentName$u}>
|
3455
3455
|
`;
|
3456
3456
|
|
3457
3457
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
3458
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
3458
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$u);
|
3459
3459
|
this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
|
3460
3460
|
|
3461
3461
|
forwardAttrs(this, this.inputElement, {
|
@@ -3525,7 +3525,7 @@ descope-boolean-field-internal {
|
|
3525
3525
|
}
|
3526
3526
|
`;
|
3527
3527
|
|
3528
|
-
const componentName$
|
3528
|
+
const componentName$t = getComponentName('checkbox');
|
3529
3529
|
|
3530
3530
|
const {
|
3531
3531
|
host: host$c,
|
@@ -3631,51 +3631,51 @@ const CheckboxClass = compose(
|
|
3631
3631
|
}
|
3632
3632
|
`,
|
3633
3633
|
excludeAttrsSync: ['label', 'tabindex'],
|
3634
|
-
componentName: componentName$
|
3634
|
+
componentName: componentName$t,
|
3635
3635
|
})
|
3636
3636
|
);
|
3637
3637
|
|
3638
|
-
const vars$
|
3638
|
+
const vars$n = CheckboxClass.cssVarList;
|
3639
3639
|
const checkboxSize = '1.35em';
|
3640
3640
|
|
3641
3641
|
const checkbox = {
|
3642
|
-
[vars$
|
3643
|
-
[vars$
|
3644
|
-
[vars$
|
3645
|
-
[vars$
|
3646
|
-
[vars$
|
3647
|
-
[vars$
|
3648
|
-
[vars$
|
3649
|
-
[vars$
|
3650
|
-
[vars$
|
3651
|
-
[vars$
|
3652
|
-
[vars$
|
3653
|
-
[vars$
|
3654
|
-
[vars$
|
3655
|
-
[vars$
|
3656
|
-
[vars$
|
3657
|
-
[vars$
|
3658
|
-
[vars$
|
3659
|
-
[vars$
|
3660
|
-
[vars$
|
3661
|
-
[vars$
|
3642
|
+
[vars$n.hostWidth]: refs.width,
|
3643
|
+
[vars$n.hostDirection]: refs.direction,
|
3644
|
+
[vars$n.fontSize]: refs.fontSize,
|
3645
|
+
[vars$n.fontFamily]: refs.fontFamily,
|
3646
|
+
[vars$n.labelTextColor]: refs.labelTextColor,
|
3647
|
+
[vars$n.labelRequiredIndicator]: refs.requiredIndicator,
|
3648
|
+
[vars$n.labelFontWeight]: '400',
|
3649
|
+
[vars$n.labelLineHeight]: checkboxSize,
|
3650
|
+
[vars$n.labelSpacing]: '1em',
|
3651
|
+
[vars$n.errorMessageTextColor]: refs.errorMessageTextColor,
|
3652
|
+
[vars$n.inputOutlineWidth]: refs.outlineWidth,
|
3653
|
+
[vars$n.inputOutlineOffset]: refs.outlineOffset,
|
3654
|
+
[vars$n.inputOutlineColor]: refs.outlineColor,
|
3655
|
+
[vars$n.inputOutlineStyle]: refs.outlineStyle,
|
3656
|
+
[vars$n.inputBorderRadius]: refs.borderRadius,
|
3657
|
+
[vars$n.inputBorderColor]: refs.borderColor,
|
3658
|
+
[vars$n.inputBorderWidth]: refs.borderWidth,
|
3659
|
+
[vars$n.inputBorderStyle]: refs.borderStyle,
|
3660
|
+
[vars$n.inputBackgroundColor]: refs.backgroundColor,
|
3661
|
+
[vars$n.inputSize]: checkboxSize,
|
3662
3662
|
|
3663
3663
|
_checked: {
|
3664
|
-
[vars$
|
3664
|
+
[vars$n.inputValueTextColor]: refs.valueTextColor,
|
3665
3665
|
},
|
3666
3666
|
|
3667
3667
|
_disabled: {
|
3668
|
-
[vars$
|
3668
|
+
[vars$n.labelTextColor]: refs.labelTextColor,
|
3669
3669
|
},
|
3670
3670
|
};
|
3671
3671
|
|
3672
3672
|
var checkbox$1 = /*#__PURE__*/Object.freeze({
|
3673
3673
|
__proto__: null,
|
3674
3674
|
default: checkbox,
|
3675
|
-
vars: vars$
|
3675
|
+
vars: vars$n
|
3676
3676
|
});
|
3677
3677
|
|
3678
|
-
const componentName$
|
3678
|
+
const componentName$s = getComponentName('switch-toggle');
|
3679
3679
|
|
3680
3680
|
const {
|
3681
3681
|
host: host$b,
|
@@ -3807,83 +3807,83 @@ const SwitchToggleClass = compose(
|
|
3807
3807
|
}
|
3808
3808
|
`,
|
3809
3809
|
excludeAttrsSync: ['label', 'tabindex'],
|
3810
|
-
componentName: componentName$
|
3810
|
+
componentName: componentName$s,
|
3811
3811
|
})
|
3812
3812
|
);
|
3813
3813
|
|
3814
3814
|
const knobMargin = '2px';
|
3815
3815
|
const checkboxHeight = '1.25em';
|
3816
3816
|
|
3817
|
-
const globalRefs$
|
3818
|
-
const vars$
|
3817
|
+
const globalRefs$c = getThemeRefs(globals);
|
3818
|
+
const vars$m = SwitchToggleClass.cssVarList;
|
3819
3819
|
|
3820
3820
|
const switchToggle = {
|
3821
|
-
[vars$
|
3822
|
-
[vars$
|
3823
|
-
[vars$
|
3824
|
-
[vars$
|
3825
|
-
|
3826
|
-
[vars$
|
3827
|
-
[vars$
|
3828
|
-
[vars$
|
3829
|
-
[vars$
|
3830
|
-
|
3831
|
-
[vars$
|
3832
|
-
[vars$
|
3833
|
-
[vars$
|
3834
|
-
[vars$
|
3835
|
-
[vars$
|
3836
|
-
[vars$
|
3837
|
-
[vars$
|
3838
|
-
|
3839
|
-
[vars$
|
3840
|
-
[vars$
|
3841
|
-
[vars$
|
3842
|
-
[vars$
|
3843
|
-
[vars$
|
3844
|
-
[vars$
|
3845
|
-
|
3846
|
-
[vars$
|
3847
|
-
[vars$
|
3848
|
-
[vars$
|
3849
|
-
[vars$
|
3850
|
-
[vars$
|
3851
|
-
[vars$
|
3821
|
+
[vars$m.hostWidth]: refs.width,
|
3822
|
+
[vars$m.hostDirection]: refs.direction,
|
3823
|
+
[vars$m.fontSize]: refs.fontSize,
|
3824
|
+
[vars$m.fontFamily]: refs.fontFamily,
|
3825
|
+
|
3826
|
+
[vars$m.inputOutlineWidth]: refs.outlineWidth,
|
3827
|
+
[vars$m.inputOutlineOffset]: refs.outlineOffset,
|
3828
|
+
[vars$m.inputOutlineColor]: refs.outlineColor,
|
3829
|
+
[vars$m.inputOutlineStyle]: refs.outlineStyle,
|
3830
|
+
|
3831
|
+
[vars$m.trackBorderStyle]: refs.borderStyle,
|
3832
|
+
[vars$m.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
|
3833
|
+
[vars$m.trackBorderColor]: refs.borderColor,
|
3834
|
+
[vars$m.trackBackgroundColor]: 'none',
|
3835
|
+
[vars$m.trackBorderRadius]: globalRefs$c.radius.md,
|
3836
|
+
[vars$m.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
|
3837
|
+
[vars$m.trackHeight]: checkboxHeight,
|
3838
|
+
|
3839
|
+
[vars$m.knobSize]: `calc(1em - ${knobMargin})`,
|
3840
|
+
[vars$m.knobRadius]: '50%',
|
3841
|
+
[vars$m.knobTopOffset]: '1px',
|
3842
|
+
[vars$m.knobLeftOffset]: knobMargin,
|
3843
|
+
[vars$m.knobColor]: refs.valueTextColor,
|
3844
|
+
[vars$m.knobTransitionDuration]: '0.3s',
|
3845
|
+
|
3846
|
+
[vars$m.labelTextColor]: refs.labelTextColor,
|
3847
|
+
[vars$m.labelFontWeight]: '400',
|
3848
|
+
[vars$m.labelLineHeight]: '1.35em',
|
3849
|
+
[vars$m.labelSpacing]: '1em',
|
3850
|
+
[vars$m.labelRequiredIndicator]: refs.requiredIndicator,
|
3851
|
+
[vars$m.errorMessageTextColor]: refs.errorMessageTextColor,
|
3852
3852
|
|
3853
3853
|
_checked: {
|
3854
|
-
[vars$
|
3855
|
-
[vars$
|
3856
|
-
[vars$
|
3857
|
-
[vars$
|
3858
|
-
[vars$
|
3854
|
+
[vars$m.trackBorderColor]: refs.borderColor,
|
3855
|
+
[vars$m.trackBackgroundColor]: refs.backgroundColor,
|
3856
|
+
[vars$m.knobLeftOffset]: `calc(100% - var(${vars$m.knobSize}) - ${knobMargin})`,
|
3857
|
+
[vars$m.knobColor]: refs.valueTextColor,
|
3858
|
+
[vars$m.knobTextColor]: refs.valueTextColor,
|
3859
3859
|
},
|
3860
3860
|
|
3861
3861
|
_disabled: {
|
3862
|
-
[vars$
|
3863
|
-
[vars$
|
3864
|
-
[vars$
|
3865
|
-
[vars$
|
3862
|
+
[vars$m.knobColor]: globalRefs$c.colors.surface.light,
|
3863
|
+
[vars$m.trackBorderColor]: globalRefs$c.colors.surface.main,
|
3864
|
+
[vars$m.trackBackgroundColor]: globalRefs$c.colors.surface.main,
|
3865
|
+
[vars$m.labelTextColor]: refs.labelTextColor,
|
3866
3866
|
_checked: {
|
3867
|
-
[vars$
|
3868
|
-
[vars$
|
3867
|
+
[vars$m.knobColor]: globalRefs$c.colors.surface.light,
|
3868
|
+
[vars$m.trackBackgroundColor]: globalRefs$c.colors.surface.main,
|
3869
3869
|
},
|
3870
3870
|
},
|
3871
3871
|
|
3872
3872
|
_invalid: {
|
3873
|
-
[vars$
|
3874
|
-
[vars$
|
3873
|
+
[vars$m.trackBorderColor]: globalRefs$c.colors.error.main,
|
3874
|
+
[vars$m.knobColor]: globalRefs$c.colors.error.main,
|
3875
3875
|
},
|
3876
3876
|
};
|
3877
3877
|
|
3878
3878
|
var switchToggle$1 = /*#__PURE__*/Object.freeze({
|
3879
3879
|
__proto__: null,
|
3880
3880
|
default: switchToggle,
|
3881
|
-
vars: vars$
|
3881
|
+
vars: vars$m
|
3882
3882
|
});
|
3883
3883
|
|
3884
|
-
const componentName$
|
3884
|
+
const componentName$r = getComponentName('container');
|
3885
3885
|
|
3886
|
-
class RawContainer extends createBaseClass({ componentName: componentName$
|
3886
|
+
class RawContainer extends createBaseClass({ componentName: componentName$r, baseSelector: 'slot' }) {
|
3887
3887
|
constructor() {
|
3888
3888
|
super();
|
3889
3889
|
|
@@ -3935,7 +3935,7 @@ const ContainerClass = compose(
|
|
3935
3935
|
componentNameValidationMixin
|
3936
3936
|
)(RawContainer);
|
3937
3937
|
|
3938
|
-
const globalRefs$
|
3938
|
+
const globalRefs$b = getThemeRefs(globals);
|
3939
3939
|
|
3940
3940
|
const compVars$3 = ContainerClass.cssVarList;
|
3941
3941
|
|
@@ -3957,7 +3957,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
|
|
3957
3957
|
horizontalAlignment,
|
3958
3958
|
shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
|
3959
3959
|
},
|
3960
|
-
componentName$
|
3960
|
+
componentName$r
|
3961
3961
|
);
|
3962
3962
|
|
3963
3963
|
const { shadowColor: shadowColor$1 } = helperRefs$2;
|
@@ -3967,8 +3967,8 @@ const container = {
|
|
3967
3967
|
|
3968
3968
|
[compVars$3.hostWidth]: '100%',
|
3969
3969
|
[compVars$3.boxShadow]: 'none',
|
3970
|
-
[compVars$3.backgroundColor]: globalRefs$
|
3971
|
-
[compVars$3.color]: globalRefs$
|
3970
|
+
[compVars$3.backgroundColor]: globalRefs$b.colors.surface.light,
|
3971
|
+
[compVars$3.color]: globalRefs$b.colors.surface.contrast,
|
3972
3972
|
[compVars$3.borderRadius]: '0px',
|
3973
3973
|
|
3974
3974
|
verticalPadding: {
|
@@ -4015,34 +4015,34 @@ const container = {
|
|
4015
4015
|
|
4016
4016
|
shadow: {
|
4017
4017
|
sm: {
|
4018
|
-
[compVars$3.boxShadow]: `${globalRefs$
|
4018
|
+
[compVars$3.boxShadow]: `${globalRefs$b.shadow.wide.sm} ${shadowColor$1}, ${globalRefs$b.shadow.narrow.sm} ${shadowColor$1}`,
|
4019
4019
|
},
|
4020
4020
|
md: {
|
4021
|
-
[compVars$3.boxShadow]: `${globalRefs$
|
4021
|
+
[compVars$3.boxShadow]: `${globalRefs$b.shadow.wide.md} ${shadowColor$1}, ${globalRefs$b.shadow.narrow.md} ${shadowColor$1}`,
|
4022
4022
|
},
|
4023
4023
|
lg: {
|
4024
|
-
[compVars$3.boxShadow]: `${globalRefs$
|
4024
|
+
[compVars$3.boxShadow]: `${globalRefs$b.shadow.wide.lg} ${shadowColor$1}, ${globalRefs$b.shadow.narrow.lg} ${shadowColor$1}`,
|
4025
4025
|
},
|
4026
4026
|
xl: {
|
4027
|
-
[compVars$3.boxShadow]: `${globalRefs$
|
4027
|
+
[compVars$3.boxShadow]: `${globalRefs$b.shadow.wide.xl} ${shadowColor$1}, ${globalRefs$b.shadow.narrow.xl} ${shadowColor$1}`,
|
4028
4028
|
},
|
4029
4029
|
'2xl': {
|
4030
4030
|
[helperVars$2.shadowColor]: '#00000050', // mimic daisyUI shadow settings
|
4031
|
-
[compVars$3.boxShadow]: `${globalRefs$
|
4031
|
+
[compVars$3.boxShadow]: `${globalRefs$b.shadow.wide['2xl']} ${shadowColor$1}`,
|
4032
4032
|
},
|
4033
4033
|
},
|
4034
4034
|
|
4035
4035
|
borderRadius: {
|
4036
|
-
sm: { [compVars$3.borderRadius]: globalRefs$
|
4037
|
-
md: { [compVars$3.borderRadius]: globalRefs$
|
4038
|
-
lg: { [compVars$3.borderRadius]: globalRefs$
|
4039
|
-
xl: { [compVars$3.borderRadius]: globalRefs$
|
4040
|
-
'2xl': { [compVars$3.borderRadius]: globalRefs$
|
4041
|
-
'3xl': { [compVars$3.borderRadius]: globalRefs$
|
4036
|
+
sm: { [compVars$3.borderRadius]: globalRefs$b.radius.sm },
|
4037
|
+
md: { [compVars$3.borderRadius]: globalRefs$b.radius.md },
|
4038
|
+
lg: { [compVars$3.borderRadius]: globalRefs$b.radius.lg },
|
4039
|
+
xl: { [compVars$3.borderRadius]: globalRefs$b.radius.xl },
|
4040
|
+
'2xl': { [compVars$3.borderRadius]: globalRefs$b.radius['2xl'] },
|
4041
|
+
'3xl': { [compVars$3.borderRadius]: globalRefs$b.radius['3xl'] },
|
4042
4042
|
},
|
4043
4043
|
};
|
4044
4044
|
|
4045
|
-
const vars$
|
4045
|
+
const vars$l = {
|
4046
4046
|
...compVars$3,
|
4047
4047
|
...helperVars$2,
|
4048
4048
|
};
|
@@ -4050,7 +4050,7 @@ const vars$k = {
|
|
4050
4050
|
var container$1 = /*#__PURE__*/Object.freeze({
|
4051
4051
|
__proto__: null,
|
4052
4052
|
default: container,
|
4053
|
-
vars: vars$
|
4053
|
+
vars: vars$l
|
4054
4054
|
});
|
4055
4055
|
|
4056
4056
|
const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
|
@@ -4103,51 +4103,51 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
|
|
4103
4103
|
return CssVarImageClass;
|
4104
4104
|
};
|
4105
4105
|
|
4106
|
-
const componentName$
|
4106
|
+
const componentName$q = getComponentName('logo');
|
4107
4107
|
|
4108
4108
|
const LogoClass = createCssVarImageClass({
|
4109
|
-
componentName: componentName$
|
4109
|
+
componentName: componentName$q,
|
4110
4110
|
varName: 'url',
|
4111
4111
|
fallbackVarName: 'fallbackUrl',
|
4112
4112
|
});
|
4113
4113
|
|
4114
|
-
const vars$
|
4114
|
+
const vars$k = LogoClass.cssVarList;
|
4115
4115
|
|
4116
4116
|
const logo$1 = {
|
4117
|
-
[vars$
|
4117
|
+
[vars$k.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
|
4118
4118
|
};
|
4119
4119
|
|
4120
4120
|
var logo$2 = /*#__PURE__*/Object.freeze({
|
4121
4121
|
__proto__: null,
|
4122
4122
|
default: logo$1,
|
4123
|
-
vars: vars$
|
4123
|
+
vars: vars$k
|
4124
4124
|
});
|
4125
4125
|
|
4126
|
-
const componentName$
|
4126
|
+
const componentName$p = getComponentName('totp-image');
|
4127
4127
|
|
4128
4128
|
const TotpImageClass = createCssVarImageClass({
|
4129
|
-
componentName: componentName$
|
4129
|
+
componentName: componentName$p,
|
4130
4130
|
varName: 'url',
|
4131
4131
|
fallbackVarName: 'fallbackUrl',
|
4132
4132
|
});
|
4133
4133
|
|
4134
|
-
const vars$
|
4134
|
+
const vars$j = TotpImageClass.cssVarList;
|
4135
4135
|
|
4136
4136
|
const logo = {
|
4137
|
-
[vars$
|
4137
|
+
[vars$j.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
|
4138
4138
|
};
|
4139
4139
|
|
4140
4140
|
var totpImage = /*#__PURE__*/Object.freeze({
|
4141
4141
|
__proto__: null,
|
4142
4142
|
default: logo,
|
4143
|
-
vars: vars$
|
4143
|
+
vars: vars$j
|
4144
4144
|
});
|
4145
4145
|
|
4146
4146
|
// eslint-disable-next-line max-classes-per-file
|
4147
4147
|
|
4148
|
-
const componentName$
|
4148
|
+
const componentName$o = getComponentName('text');
|
4149
4149
|
|
4150
|
-
class RawText extends createBaseClass({ componentName: componentName$
|
4150
|
+
class RawText extends createBaseClass({ componentName: componentName$o, baseSelector: ':host > slot' }) {
|
4151
4151
|
constructor() {
|
4152
4152
|
super();
|
4153
4153
|
|
@@ -4207,99 +4207,99 @@ const TextClass = compose(
|
|
4207
4207
|
customTextMixin
|
4208
4208
|
)(RawText);
|
4209
4209
|
|
4210
|
-
const globalRefs$
|
4211
|
-
const vars$
|
4210
|
+
const globalRefs$a = getThemeRefs(globals);
|
4211
|
+
const vars$i = TextClass.cssVarList;
|
4212
4212
|
|
4213
4213
|
const text$2 = {
|
4214
|
-
[vars$
|
4215
|
-
[vars$
|
4216
|
-
[vars$
|
4217
|
-
[vars$
|
4214
|
+
[vars$i.hostDirection]: globalRefs$a.direction,
|
4215
|
+
[vars$i.textLineHeight]: '1.35em',
|
4216
|
+
[vars$i.textAlign]: 'left',
|
4217
|
+
[vars$i.textColor]: globalRefs$a.colors.surface.dark,
|
4218
4218
|
variant: {
|
4219
4219
|
h1: {
|
4220
|
-
[vars$
|
4221
|
-
[vars$
|
4222
|
-
[vars$
|
4220
|
+
[vars$i.fontSize]: globalRefs$a.typography.h1.size,
|
4221
|
+
[vars$i.fontWeight]: globalRefs$a.typography.h1.weight,
|
4222
|
+
[vars$i.fontFamily]: globalRefs$a.typography.h1.font,
|
4223
4223
|
},
|
4224
4224
|
h2: {
|
4225
|
-
[vars$
|
4226
|
-
[vars$
|
4227
|
-
[vars$
|
4225
|
+
[vars$i.fontSize]: globalRefs$a.typography.h2.size,
|
4226
|
+
[vars$i.fontWeight]: globalRefs$a.typography.h2.weight,
|
4227
|
+
[vars$i.fontFamily]: globalRefs$a.typography.h2.font,
|
4228
4228
|
},
|
4229
4229
|
h3: {
|
4230
|
-
[vars$
|
4231
|
-
[vars$
|
4232
|
-
[vars$
|
4230
|
+
[vars$i.fontSize]: globalRefs$a.typography.h3.size,
|
4231
|
+
[vars$i.fontWeight]: globalRefs$a.typography.h3.weight,
|
4232
|
+
[vars$i.fontFamily]: globalRefs$a.typography.h3.font,
|
4233
4233
|
},
|
4234
4234
|
subtitle1: {
|
4235
|
-
[vars$
|
4236
|
-
[vars$
|
4237
|
-
[vars$
|
4235
|
+
[vars$i.fontSize]: globalRefs$a.typography.subtitle1.size,
|
4236
|
+
[vars$i.fontWeight]: globalRefs$a.typography.subtitle1.weight,
|
4237
|
+
[vars$i.fontFamily]: globalRefs$a.typography.subtitle1.font,
|
4238
4238
|
},
|
4239
4239
|
subtitle2: {
|
4240
|
-
[vars$
|
4241
|
-
[vars$
|
4242
|
-
[vars$
|
4240
|
+
[vars$i.fontSize]: globalRefs$a.typography.subtitle2.size,
|
4241
|
+
[vars$i.fontWeight]: globalRefs$a.typography.subtitle2.weight,
|
4242
|
+
[vars$i.fontFamily]: globalRefs$a.typography.subtitle2.font,
|
4243
4243
|
},
|
4244
4244
|
body1: {
|
4245
|
-
[vars$
|
4246
|
-
[vars$
|
4247
|
-
[vars$
|
4245
|
+
[vars$i.fontSize]: globalRefs$a.typography.body1.size,
|
4246
|
+
[vars$i.fontWeight]: globalRefs$a.typography.body1.weight,
|
4247
|
+
[vars$i.fontFamily]: globalRefs$a.typography.body1.font,
|
4248
4248
|
},
|
4249
4249
|
body2: {
|
4250
|
-
[vars$
|
4251
|
-
[vars$
|
4252
|
-
[vars$
|
4250
|
+
[vars$i.fontSize]: globalRefs$a.typography.body2.size,
|
4251
|
+
[vars$i.fontWeight]: globalRefs$a.typography.body2.weight,
|
4252
|
+
[vars$i.fontFamily]: globalRefs$a.typography.body2.font,
|
4253
4253
|
},
|
4254
4254
|
},
|
4255
4255
|
|
4256
4256
|
mode: {
|
4257
4257
|
primary: {
|
4258
|
-
[vars$
|
4258
|
+
[vars$i.textColor]: globalRefs$a.colors.primary.main,
|
4259
4259
|
},
|
4260
4260
|
secondary: {
|
4261
|
-
[vars$
|
4261
|
+
[vars$i.textColor]: globalRefs$a.colors.secondary.main,
|
4262
4262
|
},
|
4263
4263
|
error: {
|
4264
|
-
[vars$
|
4264
|
+
[vars$i.textColor]: globalRefs$a.colors.error.main,
|
4265
4265
|
},
|
4266
4266
|
success: {
|
4267
|
-
[vars$
|
4267
|
+
[vars$i.textColor]: globalRefs$a.colors.success.main,
|
4268
4268
|
},
|
4269
4269
|
},
|
4270
4270
|
|
4271
4271
|
textAlign: {
|
4272
|
-
right: { [vars$
|
4273
|
-
left: { [vars$
|
4274
|
-
center: { [vars$
|
4272
|
+
right: { [vars$i.textAlign]: 'right' },
|
4273
|
+
left: { [vars$i.textAlign]: 'left' },
|
4274
|
+
center: { [vars$i.textAlign]: 'center' },
|
4275
4275
|
},
|
4276
4276
|
|
4277
4277
|
_fullWidth: {
|
4278
|
-
[vars$
|
4278
|
+
[vars$i.hostWidth]: '100%',
|
4279
4279
|
},
|
4280
4280
|
|
4281
4281
|
_italic: {
|
4282
|
-
[vars$
|
4282
|
+
[vars$i.fontStyle]: 'italic',
|
4283
4283
|
},
|
4284
4284
|
|
4285
4285
|
_uppercase: {
|
4286
|
-
[vars$
|
4286
|
+
[vars$i.textTransform]: 'uppercase',
|
4287
4287
|
},
|
4288
4288
|
|
4289
4289
|
_lowercase: {
|
4290
|
-
[vars$
|
4290
|
+
[vars$i.textTransform]: 'lowercase',
|
4291
4291
|
},
|
4292
4292
|
};
|
4293
4293
|
|
4294
4294
|
var text$3 = /*#__PURE__*/Object.freeze({
|
4295
4295
|
__proto__: null,
|
4296
4296
|
default: text$2,
|
4297
|
-
vars: vars$
|
4297
|
+
vars: vars$i
|
4298
4298
|
});
|
4299
4299
|
|
4300
|
-
const componentName$
|
4300
|
+
const componentName$n = getComponentName('link');
|
4301
4301
|
|
4302
|
-
class RawLink extends createBaseClass({ componentName: componentName$
|
4302
|
+
class RawLink extends createBaseClass({ componentName: componentName$n, baseSelector: ':host a' }) {
|
4303
4303
|
constructor() {
|
4304
4304
|
super();
|
4305
4305
|
|
@@ -4364,37 +4364,37 @@ const LinkClass = compose(
|
|
4364
4364
|
componentNameValidationMixin
|
4365
4365
|
)(RawLink);
|
4366
4366
|
|
4367
|
-
const globalRefs$
|
4368
|
-
const vars$
|
4367
|
+
const globalRefs$9 = getThemeRefs(globals);
|
4368
|
+
const vars$h = LinkClass.cssVarList;
|
4369
4369
|
|
4370
4370
|
const link = {
|
4371
|
-
[vars$
|
4372
|
-
[vars$
|
4371
|
+
[vars$h.hostDirection]: globalRefs$9.direction,
|
4372
|
+
[vars$h.cursor]: 'pointer',
|
4373
4373
|
|
4374
|
-
[vars$
|
4374
|
+
[vars$h.textColor]: globalRefs$9.colors.primary.main,
|
4375
4375
|
|
4376
4376
|
textAlign: {
|
4377
|
-
right: { [vars$
|
4378
|
-
left: { [vars$
|
4379
|
-
center: { [vars$
|
4377
|
+
right: { [vars$h.textAlign]: 'right' },
|
4378
|
+
left: { [vars$h.textAlign]: 'left' },
|
4379
|
+
center: { [vars$h.textAlign]: 'center' },
|
4380
4380
|
},
|
4381
4381
|
|
4382
4382
|
_fullWidth: {
|
4383
|
-
[vars$
|
4383
|
+
[vars$h.hostWidth]: '100%',
|
4384
4384
|
},
|
4385
4385
|
|
4386
4386
|
mode: {
|
4387
4387
|
primary: {
|
4388
|
-
[vars$
|
4388
|
+
[vars$h.textColor]: globalRefs$9.colors.primary.main,
|
4389
4389
|
},
|
4390
4390
|
secondary: {
|
4391
|
-
[vars$
|
4391
|
+
[vars$h.textColor]: globalRefs$9.colors.secondary.main,
|
4392
4392
|
},
|
4393
4393
|
error: {
|
4394
|
-
[vars$
|
4394
|
+
[vars$h.textColor]: globalRefs$9.colors.error.main,
|
4395
4395
|
},
|
4396
4396
|
success: {
|
4397
|
-
[vars$
|
4397
|
+
[vars$h.textColor]: globalRefs$9.colors.success.main,
|
4398
4398
|
},
|
4399
4399
|
},
|
4400
4400
|
};
|
@@ -4402,11 +4402,11 @@ const link = {
|
|
4402
4402
|
var link$1 = /*#__PURE__*/Object.freeze({
|
4403
4403
|
__proto__: null,
|
4404
4404
|
default: link,
|
4405
|
-
vars: vars$
|
4405
|
+
vars: vars$h
|
4406
4406
|
});
|
4407
4407
|
|
4408
|
-
const componentName$
|
4409
|
-
class RawDivider extends createBaseClass({ componentName: componentName$
|
4408
|
+
const componentName$m = getComponentName('divider');
|
4409
|
+
class RawDivider extends createBaseClass({ componentName: componentName$m, baseSelector: ':host > div' }) {
|
4410
4410
|
constructor() {
|
4411
4411
|
super();
|
4412
4412
|
|
@@ -4505,7 +4505,7 @@ const DividerClass = compose(
|
|
4505
4505
|
componentNameValidationMixin
|
4506
4506
|
)(RawDivider);
|
4507
4507
|
|
4508
|
-
const globalRefs$
|
4508
|
+
const globalRefs$8 = getThemeRefs(globals);
|
4509
4509
|
const compVars$2 = DividerClass.cssVarList;
|
4510
4510
|
|
4511
4511
|
const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
@@ -4513,18 +4513,18 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
|
|
4513
4513
|
thickness: '2px',
|
4514
4514
|
spacing: '10px',
|
4515
4515
|
},
|
4516
|
-
componentName$
|
4516
|
+
componentName$m
|
4517
4517
|
);
|
4518
4518
|
|
4519
4519
|
const divider = {
|
4520
4520
|
...helperTheme$1,
|
4521
4521
|
|
4522
|
-
[compVars$2.hostDirection]: globalRefs$
|
4522
|
+
[compVars$2.hostDirection]: globalRefs$8.direction,
|
4523
4523
|
[compVars$2.alignItems]: 'center',
|
4524
4524
|
[compVars$2.flexDirection]: 'row',
|
4525
4525
|
[compVars$2.alignSelf]: 'stretch',
|
4526
4526
|
[compVars$2.hostWidth]: '100%',
|
4527
|
-
[compVars$2.stripeColor]: globalRefs$
|
4527
|
+
[compVars$2.stripeColor]: globalRefs$8.colors.surface.main,
|
4528
4528
|
[compVars$2.stripeColorOpacity]: '0.5',
|
4529
4529
|
[compVars$2.stripeHorizontalThickness]: helperRefs$1.thickness,
|
4530
4530
|
[compVars$2.labelTextWidth]: 'fit-content',
|
@@ -4544,7 +4544,7 @@ const divider = {
|
|
4544
4544
|
},
|
4545
4545
|
};
|
4546
4546
|
|
4547
|
-
const vars$
|
4547
|
+
const vars$g = {
|
4548
4548
|
...compVars$2,
|
4549
4549
|
...helperVars$1,
|
4550
4550
|
};
|
@@ -4552,16 +4552,16 @@ const vars$f = {
|
|
4552
4552
|
var divider$1 = /*#__PURE__*/Object.freeze({
|
4553
4553
|
__proto__: null,
|
4554
4554
|
default: divider,
|
4555
|
-
vars: vars$
|
4555
|
+
vars: vars$g
|
4556
4556
|
});
|
4557
4557
|
|
4558
4558
|
/* eslint-disable no-param-reassign */
|
4559
4559
|
|
4560
|
-
const componentName$
|
4560
|
+
const componentName$l = getComponentName('passcode-internal');
|
4561
4561
|
|
4562
|
-
createBaseInputClass({ componentName: componentName$
|
4562
|
+
createBaseInputClass({ componentName: componentName$l, baseSelector: 'div' });
|
4563
4563
|
|
4564
|
-
const componentName$
|
4564
|
+
const componentName$k = getComponentName('passcode');
|
4565
4565
|
|
4566
4566
|
const observedAttributes$3 = ['digits'];
|
4567
4567
|
|
@@ -4580,17 +4580,17 @@ const customMixin$5 = (superclass) =>
|
|
4580
4580
|
const template = document.createElement('template');
|
4581
4581
|
|
4582
4582
|
template.innerHTML = `
|
4583
|
-
<${componentName$
|
4583
|
+
<${componentName$l}
|
4584
4584
|
bordered="true"
|
4585
4585
|
name="code"
|
4586
4586
|
tabindex="-1"
|
4587
4587
|
slot="input"
|
4588
|
-
><slot></slot></${componentName$
|
4588
|
+
><slot></slot></${componentName$l}>
|
4589
4589
|
`;
|
4590
4590
|
|
4591
4591
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
4592
4592
|
|
4593
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
4593
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$l);
|
4594
4594
|
|
4595
4595
|
forwardAttrs(this, this.inputElement, { includeAttrs: ['digits', 'size'] });
|
4596
4596
|
}
|
@@ -4730,45 +4730,45 @@ const PasscodeClass = compose(
|
|
4730
4730
|
${resetInputCursor('vaadin-text-field')}
|
4731
4731
|
`,
|
4732
4732
|
excludeAttrsSync: ['tabindex'],
|
4733
|
-
componentName: componentName$
|
4733
|
+
componentName: componentName$k,
|
4734
4734
|
})
|
4735
4735
|
);
|
4736
4736
|
|
4737
|
-
const vars$
|
4737
|
+
const vars$f = PasscodeClass.cssVarList;
|
4738
4738
|
|
4739
4739
|
const passcode = {
|
4740
|
-
[vars$
|
4741
|
-
[vars$
|
4742
|
-
[vars$
|
4743
|
-
[vars$
|
4744
|
-
[vars$
|
4745
|
-
[vars$
|
4746
|
-
[vars$
|
4747
|
-
[vars$
|
4748
|
-
[vars$
|
4749
|
-
[vars$
|
4750
|
-
[vars$
|
4751
|
-
[vars$
|
4752
|
-
[vars$
|
4753
|
-
[vars$
|
4754
|
-
[vars$
|
4740
|
+
[vars$f.hostDirection]: refs.direction,
|
4741
|
+
[vars$f.fontFamily]: refs.fontFamily,
|
4742
|
+
[vars$f.fontSize]: refs.fontSize,
|
4743
|
+
[vars$f.labelTextColor]: refs.labelTextColor,
|
4744
|
+
[vars$f.labelRequiredIndicator]: refs.requiredIndicator,
|
4745
|
+
[vars$f.errorMessageTextColor]: refs.errorMessageTextColor,
|
4746
|
+
[vars$f.digitValueTextColor]: refs.valueTextColor,
|
4747
|
+
[vars$f.digitPadding]: '0',
|
4748
|
+
[vars$f.digitTextAlign]: 'center',
|
4749
|
+
[vars$f.digitSpacing]: '4px',
|
4750
|
+
[vars$f.hostWidth]: refs.width,
|
4751
|
+
[vars$f.digitOutlineColor]: 'transparent',
|
4752
|
+
[vars$f.digitOutlineWidth]: refs.outlineWidth,
|
4753
|
+
[vars$f.focusedDigitFieldOutlineColor]: refs.outlineColor,
|
4754
|
+
[vars$f.digitSize]: refs.inputHeight,
|
4755
4755
|
|
4756
4756
|
_hideCursor: {
|
4757
|
-
[vars$
|
4757
|
+
[vars$f.digitCaretTextColor]: 'transparent',
|
4758
4758
|
},
|
4759
4759
|
};
|
4760
4760
|
|
4761
4761
|
var passcode$1 = /*#__PURE__*/Object.freeze({
|
4762
4762
|
__proto__: null,
|
4763
4763
|
default: passcode,
|
4764
|
-
vars: vars$
|
4764
|
+
vars: vars$f
|
4765
4765
|
});
|
4766
4766
|
|
4767
|
-
const componentName$
|
4767
|
+
const componentName$j = getComponentName('loader-linear');
|
4768
4768
|
|
4769
|
-
class RawLoaderLinear extends createBaseClass({ componentName: componentName$
|
4769
|
+
class RawLoaderLinear extends createBaseClass({ componentName: componentName$j, baseSelector: ':host > div' }) {
|
4770
4770
|
static get componentName() {
|
4771
|
-
return componentName$
|
4771
|
+
return componentName$j;
|
4772
4772
|
}
|
4773
4773
|
|
4774
4774
|
constructor() {
|
@@ -4829,54 +4829,54 @@ const LoaderLinearClass = compose(
|
|
4829
4829
|
componentNameValidationMixin
|
4830
4830
|
)(RawLoaderLinear);
|
4831
4831
|
|
4832
|
-
const globalRefs$
|
4833
|
-
const vars$
|
4832
|
+
const globalRefs$7 = getThemeRefs(globals);
|
4833
|
+
const vars$e = LoaderLinearClass.cssVarList;
|
4834
4834
|
|
4835
4835
|
const loaderLinear = {
|
4836
|
-
[vars$
|
4837
|
-
[vars$
|
4836
|
+
[vars$e.hostDisplay]: 'inline-block',
|
4837
|
+
[vars$e.hostWidth]: '100%',
|
4838
4838
|
|
4839
|
-
[vars$
|
4840
|
-
[vars$
|
4839
|
+
[vars$e.barColor]: globalRefs$7.colors.surface.contrast,
|
4840
|
+
[vars$e.barWidth]: '20%',
|
4841
4841
|
|
4842
|
-
[vars$
|
4843
|
-
[vars$
|
4842
|
+
[vars$e.barBackgroundColor]: globalRefs$7.colors.surface.main,
|
4843
|
+
[vars$e.barBorderRadius]: '4px',
|
4844
4844
|
|
4845
|
-
[vars$
|
4846
|
-
[vars$
|
4847
|
-
[vars$
|
4848
|
-
[vars$
|
4845
|
+
[vars$e.animationDuration]: '2s',
|
4846
|
+
[vars$e.animationTimingFunction]: 'linear',
|
4847
|
+
[vars$e.animationIterationCount]: 'infinite',
|
4848
|
+
[vars$e.verticalPadding]: '0.25em',
|
4849
4849
|
|
4850
4850
|
size: {
|
4851
|
-
xs: { [vars$
|
4852
|
-
sm: { [vars$
|
4853
|
-
md: { [vars$
|
4854
|
-
lg: { [vars$
|
4851
|
+
xs: { [vars$e.barHeight]: '2px' },
|
4852
|
+
sm: { [vars$e.barHeight]: '4px' },
|
4853
|
+
md: { [vars$e.barHeight]: '6px' },
|
4854
|
+
lg: { [vars$e.barHeight]: '8px' },
|
4855
4855
|
},
|
4856
4856
|
|
4857
4857
|
mode: {
|
4858
4858
|
primary: {
|
4859
|
-
[vars$
|
4859
|
+
[vars$e.barColor]: globalRefs$7.colors.primary.main,
|
4860
4860
|
},
|
4861
4861
|
secondary: {
|
4862
|
-
[vars$
|
4862
|
+
[vars$e.barColor]: globalRefs$7.colors.secondary.main,
|
4863
4863
|
},
|
4864
4864
|
},
|
4865
4865
|
|
4866
4866
|
_hidden: {
|
4867
|
-
[vars$
|
4867
|
+
[vars$e.hostDisplay]: 'none',
|
4868
4868
|
},
|
4869
4869
|
};
|
4870
4870
|
|
4871
4871
|
var loaderLinear$1 = /*#__PURE__*/Object.freeze({
|
4872
4872
|
__proto__: null,
|
4873
4873
|
default: loaderLinear,
|
4874
|
-
vars: vars$
|
4874
|
+
vars: vars$e
|
4875
4875
|
});
|
4876
4876
|
|
4877
|
-
const componentName$
|
4877
|
+
const componentName$i = getComponentName('loader-radial');
|
4878
4878
|
|
4879
|
-
class RawLoaderRadial extends createBaseClass({ componentName: componentName$
|
4879
|
+
class RawLoaderRadial extends createBaseClass({ componentName: componentName$i, baseSelector: ':host > div' }) {
|
4880
4880
|
constructor() {
|
4881
4881
|
super();
|
4882
4882
|
|
@@ -4920,22 +4920,22 @@ const LoaderRadialClass = compose(
|
|
4920
4920
|
componentNameValidationMixin
|
4921
4921
|
)(RawLoaderRadial);
|
4922
4922
|
|
4923
|
-
const globalRefs$
|
4923
|
+
const globalRefs$6 = getThemeRefs(globals);
|
4924
4924
|
const compVars$1 = LoaderRadialClass.cssVarList;
|
4925
4925
|
|
4926
4926
|
const [helperTheme, helperRefs, helperVars] = createHelperVars(
|
4927
4927
|
{
|
4928
|
-
spinnerColor: globalRefs$
|
4928
|
+
spinnerColor: globalRefs$6.colors.surface.contrast,
|
4929
4929
|
mode: {
|
4930
4930
|
primary: {
|
4931
|
-
spinnerColor: globalRefs$
|
4931
|
+
spinnerColor: globalRefs$6.colors.primary.main,
|
4932
4932
|
},
|
4933
4933
|
secondary: {
|
4934
|
-
spinnerColor: globalRefs$
|
4934
|
+
spinnerColor: globalRefs$6.colors.secondary.main,
|
4935
4935
|
},
|
4936
4936
|
},
|
4937
4937
|
},
|
4938
|
-
componentName$
|
4938
|
+
componentName$i
|
4939
4939
|
);
|
4940
4940
|
|
4941
4941
|
const loaderRadial = {
|
@@ -4964,7 +4964,7 @@ const loaderRadial = {
|
|
4964
4964
|
[compVars$1.hostDisplay]: 'none',
|
4965
4965
|
},
|
4966
4966
|
};
|
4967
|
-
const vars$
|
4967
|
+
const vars$d = {
|
4968
4968
|
...compVars$1,
|
4969
4969
|
...helperVars,
|
4970
4970
|
};
|
@@ -4972,10 +4972,10 @@ const vars$c = {
|
|
4972
4972
|
var loaderRadial$1 = /*#__PURE__*/Object.freeze({
|
4973
4973
|
__proto__: null,
|
4974
4974
|
default: loaderRadial,
|
4975
|
-
vars: vars$
|
4975
|
+
vars: vars$d
|
4976
4976
|
});
|
4977
4977
|
|
4978
|
-
const componentName$
|
4978
|
+
const componentName$h = getComponentName('combo-box');
|
4979
4979
|
|
4980
4980
|
const ComboBoxMixin = (superclass) =>
|
4981
4981
|
class ComboBoxMixinClass extends superclass {
|
@@ -5339,69 +5339,69 @@ const ComboBoxClass = compose(
|
|
5339
5339
|
// and reset items to an empty array, and opening the list box with no items
|
5340
5340
|
// to display.
|
5341
5341
|
excludeAttrsSync: ['tabindex', 'size', 'data'],
|
5342
|
-
componentName: componentName$
|
5342
|
+
componentName: componentName$h,
|
5343
5343
|
includeForwardProps: ['items', 'renderer', 'selectedItem'],
|
5344
5344
|
})
|
5345
5345
|
);
|
5346
5346
|
|
5347
|
-
const globalRefs$
|
5348
|
-
const vars$
|
5347
|
+
const globalRefs$5 = getThemeRefs(globals);
|
5348
|
+
const vars$c = ComboBoxClass.cssVarList;
|
5349
5349
|
|
5350
5350
|
const comboBox = {
|
5351
|
-
[vars$
|
5352
|
-
[vars$
|
5353
|
-
[vars$
|
5354
|
-
[vars$
|
5355
|
-
[vars$
|
5356
|
-
[vars$
|
5357
|
-
[vars$
|
5358
|
-
[vars$
|
5359
|
-
[vars$
|
5360
|
-
[vars$
|
5361
|
-
[vars$
|
5362
|
-
[vars$
|
5363
|
-
[vars$
|
5364
|
-
[vars$
|
5365
|
-
[vars$
|
5366
|
-
[vars$
|
5367
|
-
[vars$
|
5368
|
-
[vars$
|
5369
|
-
[vars$
|
5370
|
-
[vars$
|
5371
|
-
[vars$
|
5372
|
-
[vars$
|
5373
|
-
[vars$
|
5374
|
-
[vars$
|
5375
|
-
[vars$
|
5376
|
-
[vars$
|
5351
|
+
[vars$c.hostWidth]: refs.width,
|
5352
|
+
[vars$c.hostDirection]: refs.direction,
|
5353
|
+
[vars$c.fontSize]: refs.fontSize,
|
5354
|
+
[vars$c.fontFamily]: refs.fontFamily,
|
5355
|
+
[vars$c.labelTextColor]: refs.labelTextColor,
|
5356
|
+
[vars$c.errorMessageTextColor]: refs.errorMessageTextColor,
|
5357
|
+
[vars$c.inputBorderColor]: refs.borderColor,
|
5358
|
+
[vars$c.inputBorderWidth]: refs.borderWidth,
|
5359
|
+
[vars$c.inputBorderStyle]: refs.borderStyle,
|
5360
|
+
[vars$c.inputBorderRadius]: refs.borderRadius,
|
5361
|
+
[vars$c.inputOutlineColor]: refs.outlineColor,
|
5362
|
+
[vars$c.inputOutlineOffset]: refs.outlineOffset,
|
5363
|
+
[vars$c.inputOutlineWidth]: refs.outlineWidth,
|
5364
|
+
[vars$c.inputOutlineStyle]: refs.outlineStyle,
|
5365
|
+
[vars$c.labelRequiredIndicator]: refs.requiredIndicator,
|
5366
|
+
[vars$c.inputValueTextColor]: refs.valueTextColor,
|
5367
|
+
[vars$c.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
5368
|
+
[vars$c.inputBackgroundColor]: refs.backgroundColor,
|
5369
|
+
[vars$c.inputHorizontalPadding]: refs.horizontalPadding,
|
5370
|
+
[vars$c.inputHeight]: refs.inputHeight,
|
5371
|
+
[vars$c.inputDropdownButtonColor]: globalRefs$5.colors.surface.contrast,
|
5372
|
+
[vars$c.inputDropdownButtonCursor]: 'pointer',
|
5373
|
+
[vars$c.inputDropdownButtonSize]: refs.toggleButtonSize,
|
5374
|
+
[vars$c.inputDropdownButtonOffset]: globalRefs$5.spacing.xs,
|
5375
|
+
[vars$c.overlayItemPaddingInlineStart]: globalRefs$5.spacing.xs,
|
5376
|
+
[vars$c.overlayItemPaddingInlineEnd]: globalRefs$5.spacing.lg,
|
5377
5377
|
|
5378
5378
|
_readonly: {
|
5379
|
-
[vars$
|
5379
|
+
[vars$c.inputDropdownButtonCursor]: 'default',
|
5380
5380
|
},
|
5381
5381
|
|
5382
5382
|
// Overlay theme exposed via the component:
|
5383
|
-
[vars$
|
5384
|
-
[vars$
|
5385
|
-
[vars$
|
5386
|
-
[vars$
|
5383
|
+
[vars$c.overlayFontSize]: refs.fontSize,
|
5384
|
+
[vars$c.overlayFontFamily]: refs.fontFamily,
|
5385
|
+
[vars$c.overlayCursor]: 'pointer',
|
5386
|
+
[vars$c.overlayItemBoxShadow]: 'none',
|
5387
5387
|
|
5388
5388
|
// Overlay direct theme:
|
5389
|
-
[vars$
|
5390
|
-
[vars$
|
5389
|
+
[vars$c.overlay.minHeight]: '400px',
|
5390
|
+
[vars$c.overlay.margin]: '0',
|
5391
5391
|
};
|
5392
5392
|
|
5393
5393
|
var comboBox$1 = /*#__PURE__*/Object.freeze({
|
5394
5394
|
__proto__: null,
|
5395
5395
|
comboBox: comboBox,
|
5396
5396
|
default: comboBox,
|
5397
|
-
vars: vars$
|
5397
|
+
vars: vars$c
|
5398
5398
|
});
|
5399
5399
|
|
5400
5400
|
const observedAttributes$2 = ['src', 'alt'];
|
5401
5401
|
|
5402
|
-
const componentName$
|
5402
|
+
const componentName$g = getComponentName('image');
|
5403
5403
|
|
5404
|
-
const BaseClass$1 = createBaseClass({ componentName: componentName$
|
5404
|
+
const BaseClass$1 = createBaseClass({ componentName: componentName$g, baseSelector: ':host > img' });
|
5405
5405
|
class RawImage extends BaseClass$1 {
|
5406
5406
|
static get observedAttributes() {
|
5407
5407
|
return observedAttributes$2.concat(BaseClass$1.observedAttributes || []);
|
@@ -5441,14 +5441,14 @@ const ImageClass = compose(
|
|
5441
5441
|
draggableMixin
|
5442
5442
|
)(RawImage);
|
5443
5443
|
|
5444
|
-
const vars$
|
5444
|
+
const vars$b = ImageClass.cssVarList;
|
5445
5445
|
|
5446
5446
|
const image = {};
|
5447
5447
|
|
5448
5448
|
var image$1 = /*#__PURE__*/Object.freeze({
|
5449
5449
|
__proto__: null,
|
5450
5450
|
default: image,
|
5451
|
-
vars: vars$
|
5451
|
+
vars: vars$b
|
5452
5452
|
});
|
5453
5453
|
|
5454
5454
|
var CountryCodes = [
|
@@ -6664,14 +6664,14 @@ var CountryCodes = [
|
|
6664
6664
|
},
|
6665
6665
|
].sort((a, b) => (a.name < b.name ? -1 : 1));
|
6666
6666
|
|
6667
|
-
const componentName$
|
6667
|
+
const componentName$f = getComponentName('phone-field-internal');
|
6668
6668
|
|
6669
|
-
createBaseInputClass({ componentName: componentName$
|
6669
|
+
createBaseInputClass({ componentName: componentName$f, baseSelector: 'div' });
|
6670
6670
|
|
6671
6671
|
const textVars$1 = TextFieldClass.cssVarList;
|
6672
6672
|
const comboVars = ComboBoxClass.cssVarList;
|
6673
6673
|
|
6674
|
-
const componentName$
|
6674
|
+
const componentName$e = getComponentName('phone-field');
|
6675
6675
|
|
6676
6676
|
const customMixin$4 = (superclass) =>
|
6677
6677
|
class PhoneFieldMixinClass extends superclass {
|
@@ -6685,15 +6685,15 @@ const customMixin$4 = (superclass) =>
|
|
6685
6685
|
const template = document.createElement('template');
|
6686
6686
|
|
6687
6687
|
template.innerHTML = `
|
6688
|
-
<${componentName$
|
6688
|
+
<${componentName$f}
|
6689
6689
|
tabindex="-1"
|
6690
6690
|
slot="input"
|
6691
|
-
></${componentName$
|
6691
|
+
></${componentName$f}>
|
6692
6692
|
`;
|
6693
6693
|
|
6694
6694
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
6695
6695
|
|
6696
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
6696
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$f);
|
6697
6697
|
|
6698
6698
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
6699
6699
|
includeAttrs: [
|
@@ -6889,33 +6889,33 @@ const PhoneFieldClass = compose(
|
|
6889
6889
|
${resetInputLabelPosition('vaadin-text-field')}
|
6890
6890
|
`,
|
6891
6891
|
excludeAttrsSync: ['tabindex'],
|
6892
|
-
componentName: componentName$
|
6892
|
+
componentName: componentName$e,
|
6893
6893
|
})
|
6894
6894
|
);
|
6895
6895
|
|
6896
|
-
const vars$
|
6896
|
+
const vars$a = PhoneFieldClass.cssVarList;
|
6897
6897
|
|
6898
6898
|
const phoneField = {
|
6899
|
-
[vars$
|
6900
|
-
[vars$
|
6901
|
-
[vars$
|
6902
|
-
[vars$
|
6903
|
-
[vars$
|
6904
|
-
[vars$
|
6905
|
-
[vars$
|
6906
|
-
[vars$
|
6907
|
-
[vars$
|
6908
|
-
[vars$
|
6909
|
-
[vars$
|
6910
|
-
[vars$
|
6911
|
-
[vars$
|
6912
|
-
[vars$
|
6913
|
-
[vars$
|
6914
|
-
[vars$
|
6915
|
-
[vars$
|
6916
|
-
[vars$
|
6917
|
-
[vars$
|
6918
|
-
[vars$
|
6899
|
+
[vars$a.hostWidth]: refs.width,
|
6900
|
+
[vars$a.hostDirection]: refs.direction,
|
6901
|
+
[vars$a.fontSize]: refs.fontSize,
|
6902
|
+
[vars$a.fontFamily]: refs.fontFamily,
|
6903
|
+
[vars$a.labelTextColor]: refs.labelTextColor,
|
6904
|
+
[vars$a.labelRequiredIndicator]: refs.requiredIndicator,
|
6905
|
+
[vars$a.errorMessageTextColor]: refs.errorMessageTextColor,
|
6906
|
+
[vars$a.inputValueTextColor]: refs.valueTextColor,
|
6907
|
+
[vars$a.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
6908
|
+
[vars$a.inputBorderStyle]: refs.borderStyle,
|
6909
|
+
[vars$a.inputBorderWidth]: refs.borderWidth,
|
6910
|
+
[vars$a.inputBorderColor]: refs.borderColor,
|
6911
|
+
[vars$a.inputBorderRadius]: refs.borderRadius,
|
6912
|
+
[vars$a.inputOutlineStyle]: refs.outlineStyle,
|
6913
|
+
[vars$a.inputOutlineWidth]: refs.outlineWidth,
|
6914
|
+
[vars$a.inputOutlineColor]: refs.outlineColor,
|
6915
|
+
[vars$a.inputOutlineOffset]: refs.outlineOffset,
|
6916
|
+
[vars$a.phoneInputWidth]: refs.minWidth,
|
6917
|
+
[vars$a.countryCodeInputWidth]: '5em',
|
6918
|
+
[vars$a.countryCodeDropdownWidth]: '20em',
|
6919
6919
|
|
6920
6920
|
// '@overlay': {
|
6921
6921
|
// overlayItemBackgroundColor: 'red'
|
@@ -6925,16 +6925,16 @@ const phoneField = {
|
|
6925
6925
|
var phoneField$1 = /*#__PURE__*/Object.freeze({
|
6926
6926
|
__proto__: null,
|
6927
6927
|
default: phoneField,
|
6928
|
-
vars: vars$
|
6928
|
+
vars: vars$a
|
6929
6929
|
});
|
6930
6930
|
|
6931
|
-
const componentName$
|
6931
|
+
const componentName$d = getComponentName('phone-field-internal-input-box');
|
6932
6932
|
|
6933
|
-
createBaseInputClass({ componentName: componentName$
|
6933
|
+
createBaseInputClass({ componentName: componentName$d, baseSelector: 'div' });
|
6934
6934
|
|
6935
6935
|
const textVars = TextFieldClass.cssVarList;
|
6936
6936
|
|
6937
|
-
const componentName$
|
6937
|
+
const componentName$c = getComponentName('phone-input-box-field');
|
6938
6938
|
|
6939
6939
|
const customMixin$3 = (superclass) =>
|
6940
6940
|
class PhoneInputBoxFieldMixinClass extends superclass {
|
@@ -6948,15 +6948,15 @@ const customMixin$3 = (superclass) =>
|
|
6948
6948
|
const template = document.createElement('template');
|
6949
6949
|
|
6950
6950
|
template.innerHTML = `
|
6951
|
-
<${componentName$
|
6951
|
+
<${componentName$d}
|
6952
6952
|
tabindex="-1"
|
6953
6953
|
slot="input"
|
6954
|
-
></${componentName$
|
6954
|
+
></${componentName$d}>
|
6955
6955
|
`;
|
6956
6956
|
|
6957
6957
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
6958
6958
|
|
6959
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
6959
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$d);
|
6960
6960
|
|
6961
6961
|
forwardAttrs(this.shadowRoot.host, this.inputElement, {
|
6962
6962
|
includeAttrs: [
|
@@ -7089,45 +7089,45 @@ const PhoneFieldInputBoxClass = compose(
|
|
7089
7089
|
${resetInputLabelPosition('vaadin-text-field')}
|
7090
7090
|
`,
|
7091
7091
|
excludeAttrsSync: ['tabindex'],
|
7092
|
-
componentName: componentName$
|
7092
|
+
componentName: componentName$c,
|
7093
7093
|
})
|
7094
7094
|
);
|
7095
7095
|
|
7096
|
-
const vars$
|
7096
|
+
const vars$9 = PhoneFieldInputBoxClass.cssVarList;
|
7097
7097
|
|
7098
7098
|
const phoneInputBoxField = {
|
7099
|
-
[vars$
|
7100
|
-
[vars$
|
7101
|
-
[vars$
|
7102
|
-
[vars$
|
7103
|
-
[vars$
|
7104
|
-
[vars$
|
7105
|
-
[vars$
|
7106
|
-
[vars$
|
7107
|
-
[vars$
|
7108
|
-
[vars$
|
7109
|
-
[vars$
|
7110
|
-
[vars$
|
7111
|
-
[vars$
|
7112
|
-
[vars$
|
7113
|
-
[vars$
|
7114
|
-
[vars$
|
7115
|
-
[vars$
|
7116
|
-
[vars$
|
7099
|
+
[vars$9.hostWidth]: '16em',
|
7100
|
+
[vars$9.hostMinWidth]: refs.minWidth,
|
7101
|
+
[vars$9.hostDirection]: refs.direction,
|
7102
|
+
[vars$9.fontSize]: refs.fontSize,
|
7103
|
+
[vars$9.fontFamily]: refs.fontFamily,
|
7104
|
+
[vars$9.labelTextColor]: refs.labelTextColor,
|
7105
|
+
[vars$9.labelRequiredIndicator]: refs.requiredIndicator,
|
7106
|
+
[vars$9.errorMessageTextColor]: refs.errorMessageTextColor,
|
7107
|
+
[vars$9.inputValueTextColor]: refs.valueTextColor,
|
7108
|
+
[vars$9.inputPlaceholderTextColor]: refs.placeholderTextColor,
|
7109
|
+
[vars$9.inputBorderStyle]: refs.borderStyle,
|
7110
|
+
[vars$9.inputBorderWidth]: refs.borderWidth,
|
7111
|
+
[vars$9.inputBorderColor]: refs.borderColor,
|
7112
|
+
[vars$9.inputBorderRadius]: refs.borderRadius,
|
7113
|
+
[vars$9.inputOutlineStyle]: refs.outlineStyle,
|
7114
|
+
[vars$9.inputOutlineWidth]: refs.outlineWidth,
|
7115
|
+
[vars$9.inputOutlineColor]: refs.outlineColor,
|
7116
|
+
[vars$9.inputOutlineOffset]: refs.outlineOffset,
|
7117
7117
|
_fullWidth: {
|
7118
|
-
[vars$
|
7118
|
+
[vars$9.hostWidth]: refs.width,
|
7119
7119
|
},
|
7120
7120
|
};
|
7121
7121
|
|
7122
7122
|
var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
|
7123
7123
|
__proto__: null,
|
7124
7124
|
default: phoneInputBoxField,
|
7125
|
-
vars: vars$
|
7125
|
+
vars: vars$9
|
7126
7126
|
});
|
7127
7127
|
|
7128
|
-
const componentName$
|
7128
|
+
const componentName$b = getComponentName('new-password-internal');
|
7129
7129
|
|
7130
|
-
const componentName$
|
7130
|
+
const componentName$a = getComponentName('new-password');
|
7131
7131
|
|
7132
7132
|
const customMixin$2 = (superclass) =>
|
7133
7133
|
class NewPasswordMixinClass extends superclass {
|
@@ -7137,16 +7137,16 @@ const customMixin$2 = (superclass) =>
|
|
7137
7137
|
const template = document.createElement('template');
|
7138
7138
|
|
7139
7139
|
template.innerHTML = `
|
7140
|
-
<${componentName$
|
7140
|
+
<${componentName$b}
|
7141
7141
|
name="new-password"
|
7142
7142
|
tabindex="-1"
|
7143
7143
|
slot="input"
|
7144
|
-
></${componentName$
|
7144
|
+
></${componentName$b}>
|
7145
7145
|
`;
|
7146
7146
|
|
7147
7147
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
7148
7148
|
|
7149
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
7149
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$b);
|
7150
7150
|
|
7151
7151
|
forwardAttrs(this, this.inputElement, {
|
7152
7152
|
includeAttrs: [
|
@@ -7253,33 +7253,33 @@ const NewPasswordClass = compose(
|
|
7253
7253
|
}
|
7254
7254
|
`,
|
7255
7255
|
excludeAttrsSync: ['tabindex'],
|
7256
|
-
componentName: componentName$
|
7256
|
+
componentName: componentName$a,
|
7257
7257
|
})
|
7258
7258
|
);
|
7259
7259
|
|
7260
|
-
const vars$
|
7260
|
+
const vars$8 = NewPasswordClass.cssVarList;
|
7261
7261
|
|
7262
7262
|
const newPassword = {
|
7263
|
-
[vars$
|
7264
|
-
[vars$
|
7265
|
-
[vars$
|
7266
|
-
[vars$
|
7267
|
-
[vars$
|
7268
|
-
[vars$
|
7269
|
-
[vars$
|
7263
|
+
[vars$8.hostWidth]: refs.width,
|
7264
|
+
[vars$8.hostMinWidth]: refs.minWidth,
|
7265
|
+
[vars$8.hostDirection]: refs.direction,
|
7266
|
+
[vars$8.fontSize]: refs.fontSize,
|
7267
|
+
[vars$8.fontFamily]: refs.fontFamily,
|
7268
|
+
[vars$8.spaceBetweenInputs]: '1em',
|
7269
|
+
[vars$8.errorMessageTextColor]: refs.errorMessageTextColor,
|
7270
7270
|
|
7271
7271
|
_required: {
|
7272
7272
|
// NewPassword doesn't pass `required` attribute to its Password components.
|
7273
7273
|
// That's why we fake the required indicator on each input.
|
7274
7274
|
// We do that by injecting `::after` element, and populating it with requiredIndicator content.
|
7275
|
-
[vars$
|
7275
|
+
[vars$8.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
|
7276
7276
|
},
|
7277
7277
|
};
|
7278
7278
|
|
7279
7279
|
var newPassword$1 = /*#__PURE__*/Object.freeze({
|
7280
7280
|
__proto__: null,
|
7281
7281
|
default: newPassword,
|
7282
|
-
vars: vars$
|
7282
|
+
vars: vars$8
|
7283
7283
|
});
|
7284
7284
|
|
7285
7285
|
const getFileBase64 = (fileObj) => {
|
@@ -7294,7 +7294,7 @@ const getFilename = (fileObj) => {
|
|
7294
7294
|
return fileObj.name.replace(/^.*\\/, '');
|
7295
7295
|
};
|
7296
7296
|
|
7297
|
-
const componentName$
|
7297
|
+
const componentName$9 = getComponentName('upload-file');
|
7298
7298
|
|
7299
7299
|
const observedAttributes$1 = [
|
7300
7300
|
'title',
|
@@ -7309,7 +7309,7 @@ const observedAttributes$1 = [
|
|
7309
7309
|
'icon',
|
7310
7310
|
];
|
7311
7311
|
|
7312
|
-
const BaseInputClass = createBaseInputClass({ componentName: componentName$
|
7312
|
+
const BaseInputClass = createBaseInputClass({ componentName: componentName$9, baseSelector: ':host > div' });
|
7313
7313
|
|
7314
7314
|
class RawUploadFile extends BaseInputClass {
|
7315
7315
|
static get observedAttributes() {
|
@@ -7524,77 +7524,77 @@ const UploadFileClass = compose(
|
|
7524
7524
|
componentNameValidationMixin
|
7525
7525
|
)(RawUploadFile);
|
7526
7526
|
|
7527
|
-
const vars$
|
7527
|
+
const vars$7 = UploadFileClass.cssVarList;
|
7528
7528
|
|
7529
7529
|
const uploadFile = {
|
7530
|
-
[vars$
|
7531
|
-
[vars$
|
7532
|
-
[vars$
|
7530
|
+
[vars$7.hostDirection]: refs.direction,
|
7531
|
+
[vars$7.labelTextColor]: refs.labelTextColor,
|
7532
|
+
[vars$7.fontFamily]: refs.fontFamily,
|
7533
7533
|
|
7534
|
-
[vars$
|
7534
|
+
[vars$7.iconSize]: '2em',
|
7535
7535
|
|
7536
|
-
[vars$
|
7537
|
-
[vars$
|
7536
|
+
[vars$7.hostPadding]: '0.75em',
|
7537
|
+
[vars$7.gap]: '0.5em',
|
7538
7538
|
|
7539
|
-
[vars$
|
7540
|
-
[vars$
|
7541
|
-
[vars$
|
7539
|
+
[vars$7.fontSize]: '16px',
|
7540
|
+
[vars$7.titleFontWeight]: '500',
|
7541
|
+
[vars$7.lineHeight]: '1em',
|
7542
7542
|
|
7543
|
-
[vars$
|
7544
|
-
[vars$
|
7545
|
-
[vars$
|
7546
|
-
[vars$
|
7543
|
+
[vars$7.borderWidth]: refs.borderWidth,
|
7544
|
+
[vars$7.borderColor]: refs.borderColor,
|
7545
|
+
[vars$7.borderRadius]: refs.borderRadius,
|
7546
|
+
[vars$7.borderStyle]: 'dashed',
|
7547
7547
|
|
7548
7548
|
_required: {
|
7549
|
-
[vars$
|
7549
|
+
[vars$7.requiredIndicator]: refs.requiredIndicator,
|
7550
7550
|
},
|
7551
7551
|
|
7552
7552
|
size: {
|
7553
7553
|
xs: {
|
7554
|
-
[vars$
|
7555
|
-
[vars$
|
7556
|
-
[vars$
|
7557
|
-
[vars$
|
7558
|
-
[vars$
|
7554
|
+
[vars$7.hostHeight]: '196px',
|
7555
|
+
[vars$7.hostWidth]: '200px',
|
7556
|
+
[vars$7.titleFontSize]: '0.875em',
|
7557
|
+
[vars$7.descriptionFontSize]: '0.875em',
|
7558
|
+
[vars$7.lineHeight]: '1.25em',
|
7559
7559
|
},
|
7560
7560
|
sm: {
|
7561
|
-
[vars$
|
7562
|
-
[vars$
|
7563
|
-
[vars$
|
7564
|
-
[vars$
|
7565
|
-
[vars$
|
7561
|
+
[vars$7.hostHeight]: '216px',
|
7562
|
+
[vars$7.hostWidth]: '230px',
|
7563
|
+
[vars$7.titleFontSize]: '1em',
|
7564
|
+
[vars$7.descriptionFontSize]: '0.875em',
|
7565
|
+
[vars$7.lineHeight]: '1.25em',
|
7566
7566
|
},
|
7567
7567
|
md: {
|
7568
|
-
[vars$
|
7569
|
-
[vars$
|
7570
|
-
[vars$
|
7571
|
-
[vars$
|
7572
|
-
[vars$
|
7568
|
+
[vars$7.hostHeight]: '256px',
|
7569
|
+
[vars$7.hostWidth]: '312px',
|
7570
|
+
[vars$7.titleFontSize]: '1.125em',
|
7571
|
+
[vars$7.descriptionFontSize]: '1em',
|
7572
|
+
[vars$7.lineHeight]: '1.5em',
|
7573
7573
|
},
|
7574
7574
|
lg: {
|
7575
|
-
[vars$
|
7576
|
-
[vars$
|
7577
|
-
[vars$
|
7578
|
-
[vars$
|
7579
|
-
[vars$
|
7575
|
+
[vars$7.hostHeight]: '280px',
|
7576
|
+
[vars$7.hostWidth]: '336px',
|
7577
|
+
[vars$7.titleFontSize]: '1.125em',
|
7578
|
+
[vars$7.descriptionFontSize]: '1.125em',
|
7579
|
+
[vars$7.lineHeight]: '1.75em',
|
7580
7580
|
},
|
7581
7581
|
},
|
7582
7582
|
|
7583
7583
|
_fullWidth: {
|
7584
|
-
[vars$
|
7584
|
+
[vars$7.hostWidth]: refs.width,
|
7585
7585
|
},
|
7586
7586
|
};
|
7587
7587
|
|
7588
7588
|
var uploadFile$1 = /*#__PURE__*/Object.freeze({
|
7589
7589
|
__proto__: null,
|
7590
7590
|
default: uploadFile,
|
7591
|
-
vars: vars$
|
7591
|
+
vars: vars$7
|
7592
7592
|
});
|
7593
7593
|
|
7594
|
-
const componentName$
|
7594
|
+
const componentName$8 = getComponentName('button-selection-group-item');
|
7595
7595
|
|
7596
7596
|
class RawSelectItem extends createBaseClass({
|
7597
|
-
componentName: componentName$
|
7597
|
+
componentName: componentName$8,
|
7598
7598
|
baseSelector: ':host > descope-button',
|
7599
7599
|
}) {
|
7600
7600
|
get size() {
|
@@ -7692,39 +7692,39 @@ const ButtonSelectionGroupItemClass = compose(
|
|
7692
7692
|
componentNameValidationMixin
|
7693
7693
|
)(RawSelectItem);
|
7694
7694
|
|
7695
|
-
const globalRefs$
|
7695
|
+
const globalRefs$4 = getThemeRefs(globals);
|
7696
7696
|
|
7697
|
-
const vars$
|
7697
|
+
const vars$6 = ButtonSelectionGroupItemClass.cssVarList;
|
7698
7698
|
|
7699
7699
|
const buttonSelectionGroupItem = {
|
7700
|
-
[vars$
|
7701
|
-
[vars$
|
7702
|
-
[vars$
|
7703
|
-
[vars$
|
7704
|
-
[vars$
|
7705
|
-
[vars$
|
7700
|
+
[vars$6.hostDirection]: 'inherit',
|
7701
|
+
[vars$6.backgroundColor]: globalRefs$4.colors.surface.light,
|
7702
|
+
[vars$6.labelTextColor]: globalRefs$4.colors.surface.contrast,
|
7703
|
+
[vars$6.borderColor]: globalRefs$4.colors.surface.main,
|
7704
|
+
[vars$6.borderStyle]: 'solid',
|
7705
|
+
[vars$6.borderRadius]: globalRefs$4.radius.sm,
|
7706
7706
|
|
7707
7707
|
_hover: {
|
7708
|
-
[vars$
|
7708
|
+
[vars$6.backgroundColor]: '#f4f5f5', // can we take it from the palette?
|
7709
7709
|
},
|
7710
7710
|
|
7711
7711
|
_selected: {
|
7712
|
-
[vars$
|
7713
|
-
[vars$
|
7714
|
-
[vars$
|
7712
|
+
[vars$6.borderColor]: globalRefs$4.colors.surface.contrast,
|
7713
|
+
[vars$6.backgroundColor]: globalRefs$4.colors.surface.contrast,
|
7714
|
+
[vars$6.labelTextColor]: globalRefs$4.colors.surface.light,
|
7715
7715
|
},
|
7716
7716
|
};
|
7717
7717
|
|
7718
7718
|
var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
|
7719
7719
|
__proto__: null,
|
7720
7720
|
default: buttonSelectionGroupItem,
|
7721
|
-
vars: vars$
|
7721
|
+
vars: vars$6
|
7722
7722
|
});
|
7723
7723
|
|
7724
|
-
const componentName$
|
7724
|
+
const componentName$7 = getComponentName('button-selection-group-internal');
|
7725
7725
|
|
7726
7726
|
class ButtonSelectionGroupInternalClass extends createBaseInputClass({
|
7727
|
-
componentName: componentName$
|
7727
|
+
componentName: componentName$7,
|
7728
7728
|
baseSelector: 'slot',
|
7729
7729
|
}) {
|
7730
7730
|
constructor() {
|
@@ -7861,7 +7861,7 @@ class ButtonSelectionGroupInternalClass extends createBaseInputClass({
|
|
7861
7861
|
}
|
7862
7862
|
}
|
7863
7863
|
|
7864
|
-
const componentName$
|
7864
|
+
const componentName$6 = getComponentName('button-selection-group');
|
7865
7865
|
|
7866
7866
|
const customMixin$1 = (superclass) =>
|
7867
7867
|
class ButtonSelectionGroupMixinClass extends superclass {
|
@@ -7936,18 +7936,18 @@ const customMixin$1 = (superclass) =>
|
|
7936
7936
|
const template = document.createElement('template');
|
7937
7937
|
|
7938
7938
|
template.innerHTML = `
|
7939
|
-
<${componentName$
|
7939
|
+
<${componentName$7}
|
7940
7940
|
name="button-selection-group"
|
7941
7941
|
slot="input"
|
7942
7942
|
tabindex="-1"
|
7943
7943
|
>
|
7944
7944
|
<slot></slot>
|
7945
|
-
</${componentName$
|
7945
|
+
</${componentName$7}>
|
7946
7946
|
`;
|
7947
7947
|
|
7948
7948
|
this.baseElement.appendChild(template.content.cloneNode(true));
|
7949
7949
|
|
7950
|
-
this.inputElement = this.shadowRoot.querySelector(componentName$
|
7950
|
+
this.inputElement = this.shadowRoot.querySelector(componentName$7);
|
7951
7951
|
|
7952
7952
|
forwardAttrs(this, this.inputElement, {
|
7953
7953
|
includeAttrs: ['size', 'default-value', 'allow-deselect'],
|
@@ -8052,30 +8052,30 @@ const ButtonSelectionGroupClass = compose(
|
|
8052
8052
|
${resetInputCursor('vaadin-text-field')}
|
8053
8053
|
`,
|
8054
8054
|
excludeAttrsSync: ['tabindex'],
|
8055
|
-
componentName: componentName$
|
8055
|
+
componentName: componentName$6,
|
8056
8056
|
})
|
8057
8057
|
);
|
8058
8058
|
|
8059
|
-
const globalRefs$
|
8060
|
-
const vars$
|
8059
|
+
const globalRefs$3 = getThemeRefs(globals);
|
8060
|
+
const vars$5 = ButtonSelectionGroupClass.cssVarList;
|
8061
8061
|
|
8062
8062
|
const buttonSelectionGroup = {
|
8063
|
-
[vars$
|
8064
|
-
[vars$
|
8065
|
-
[vars$
|
8066
|
-
[vars$
|
8067
|
-
[vars$
|
8068
|
-
[vars$
|
8069
|
-
[vars$
|
8063
|
+
[vars$5.hostDirection]: refs.direction,
|
8064
|
+
[vars$5.fontFamily]: refs.fontFamily,
|
8065
|
+
[vars$5.labelTextColor]: refs.labelTextColor,
|
8066
|
+
[vars$5.labelRequiredIndicator]: refs.requiredIndicator,
|
8067
|
+
[vars$5.errorMessageTextColor]: refs.errorMessageTextColor,
|
8068
|
+
[vars$5.itemsSpacing]: globalRefs$3.spacing.sm,
|
8069
|
+
[vars$5.hostWidth]: refs.width,
|
8070
8070
|
};
|
8071
8071
|
|
8072
8072
|
var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
|
8073
8073
|
__proto__: null,
|
8074
8074
|
default: buttonSelectionGroup,
|
8075
|
-
vars: vars$
|
8075
|
+
vars: vars$5
|
8076
8076
|
});
|
8077
8077
|
|
8078
|
-
const componentName$
|
8078
|
+
const componentName$5 = getComponentName('modal');
|
8079
8079
|
|
8080
8080
|
const customMixin = (superclass) =>
|
8081
8081
|
class ModalMixinClass extends superclass {
|
@@ -8171,7 +8171,7 @@ const ModalClass = compose(
|
|
8171
8171
|
wrappedEleName: 'vaadin-dialog',
|
8172
8172
|
style: () => ``,
|
8173
8173
|
excludeAttrsSync: ['tabindex', 'opened'],
|
8174
|
-
componentName: componentName$
|
8174
|
+
componentName: componentName$5,
|
8175
8175
|
})
|
8176
8176
|
);
|
8177
8177
|
|
@@ -8182,14 +8182,14 @@ const modal = {
|
|
8182
8182
|
[compVars.overlayWidth]: '700px',
|
8183
8183
|
};
|
8184
8184
|
|
8185
|
-
const vars$
|
8185
|
+
const vars$4 = {
|
8186
8186
|
...compVars,
|
8187
8187
|
};
|
8188
8188
|
|
8189
8189
|
var modal$1 = /*#__PURE__*/Object.freeze({
|
8190
8190
|
__proto__: null,
|
8191
8191
|
default: modal,
|
8192
|
-
vars: vars$
|
8192
|
+
vars: vars$4
|
8193
8193
|
});
|
8194
8194
|
|
8195
8195
|
const isValidDataType = (data) => {
|
@@ -8202,7 +8202,7 @@ const isValidDataType = (data) => {
|
|
8202
8202
|
return isValid;
|
8203
8203
|
};
|
8204
8204
|
|
8205
|
-
const componentName$
|
8205
|
+
const componentName$4 = getComponentName('grid');
|
8206
8206
|
|
8207
8207
|
const GridMixin = (superclass) =>
|
8208
8208
|
class GridMixinClass extends superclass {
|
@@ -8427,38 +8427,38 @@ const GridClass = compose(
|
|
8427
8427
|
}
|
8428
8428
|
`,
|
8429
8429
|
excludeAttrsSync: ['columns', 'tabindex'],
|
8430
|
-
componentName: componentName$
|
8430
|
+
componentName: componentName$4,
|
8431
8431
|
})
|
8432
8432
|
);
|
8433
8433
|
|
8434
|
-
const globalRefs$
|
8435
|
-
const vars$
|
8434
|
+
const globalRefs$2 = getThemeRefs(globals);
|
8435
|
+
const vars$3 = GridClass.cssVarList;
|
8436
8436
|
|
8437
8437
|
const grid = {
|
8438
|
-
[vars$
|
8439
|
-
[vars$
|
8440
|
-
[vars$
|
8438
|
+
[vars$3.hostWidth]: '100%',
|
8439
|
+
[vars$3.hostHeight]: '100%',
|
8440
|
+
[vars$3.hostMinHeight]: '400px',
|
8441
8441
|
|
8442
|
-
[vars$
|
8443
|
-
[vars$
|
8442
|
+
[vars$3.fontSize]: refs.fontSize,
|
8443
|
+
[vars$3.fontFamily]: refs.fontFamily,
|
8444
8444
|
|
8445
|
-
[vars$
|
8446
|
-
[vars$
|
8447
|
-
[vars$
|
8445
|
+
[vars$3.sortIndicatorsColor]: globalRefs$2.colors.primary.main,
|
8446
|
+
[vars$3.activeSortIndicator]: globalRefs$2.colors.primary.main,
|
8447
|
+
[vars$3.resizeHandleColor]: globalRefs$2.colors.surface.main,
|
8448
8448
|
|
8449
|
-
[vars$
|
8450
|
-
[vars$
|
8451
|
-
[vars$
|
8452
|
-
[vars$
|
8449
|
+
[vars$3.inputBorderWidth]: refs.borderWidth,
|
8450
|
+
[vars$3.inputBorderStyle]: refs.borderStyle,
|
8451
|
+
[vars$3.inputBorderRadius]: refs.borderRadius,
|
8452
|
+
[vars$3.inputBorderColor]: 'transparent',
|
8453
8453
|
|
8454
|
-
[vars$
|
8454
|
+
[vars$3.separatorColor]: refs.borderColor,
|
8455
8455
|
|
8456
|
-
[vars$
|
8457
|
-
[vars$
|
8458
|
-
[vars$
|
8456
|
+
[vars$3.valueTextColor]: globalRefs$2.colors.surface.contrast,
|
8457
|
+
[vars$3.selectedBackgroundColor]: globalRefs$2.colors.primary.main,
|
8458
|
+
[vars$3.selectedTextColor]: globalRefs$2.colors.primary.contrast,
|
8459
8459
|
|
8460
8460
|
_bordered: {
|
8461
|
-
[vars$
|
8461
|
+
[vars$3.inputBorderColor]: refs.borderColor,
|
8462
8462
|
},
|
8463
8463
|
};
|
8464
8464
|
|
@@ -8466,10 +8466,10 @@ var grid$1 = /*#__PURE__*/Object.freeze({
|
|
8466
8466
|
__proto__: null,
|
8467
8467
|
default: grid,
|
8468
8468
|
grid: grid,
|
8469
|
-
vars: vars$
|
8469
|
+
vars: vars$3
|
8470
8470
|
});
|
8471
8471
|
|
8472
|
-
const componentName$
|
8472
|
+
const componentName$3 = getComponentName('notification-card');
|
8473
8473
|
|
8474
8474
|
const notificationCardMixin = (superclass) =>
|
8475
8475
|
class NotificationCardMixinClass extends superclass {
|
@@ -8577,30 +8577,136 @@ const NotificationCardClass = compose(
|
|
8577
8577
|
}
|
8578
8578
|
`,
|
8579
8579
|
excludeAttrsSync: ['tabindex'],
|
8580
|
-
componentName: componentName$
|
8580
|
+
componentName: componentName$3,
|
8581
8581
|
})
|
8582
8582
|
);
|
8583
8583
|
|
8584
|
-
const globalRefs = getThemeRefs(globals);
|
8585
|
-
const vars$
|
8584
|
+
const globalRefs$1 = getThemeRefs(globals);
|
8585
|
+
const vars$2 = NotificationCardClass.cssVarList;
|
8586
8586
|
|
8587
8587
|
const shadowColor = '#00000020';
|
8588
8588
|
|
8589
8589
|
const notification = {
|
8590
|
-
[vars$
|
8591
|
-
[vars$
|
8592
|
-
[vars$
|
8593
|
-
[vars$
|
8594
|
-
[vars$
|
8595
|
-
[vars$
|
8596
|
-
[vars$
|
8597
|
-
[vars$
|
8598
|
-
[vars$
|
8590
|
+
[vars$2.hostMinWidth]: '415px',
|
8591
|
+
[vars$2.fontFamily]: globalRefs$1.fonts.font1.family,
|
8592
|
+
[vars$2.fontSize]: globalRefs$1.typography.body1.size,
|
8593
|
+
[vars$2.backgroundColor]: globalRefs$1.colors.surface.main,
|
8594
|
+
[vars$2.textColor]: globalRefs$1.colors.surface.contrast,
|
8595
|
+
[vars$2.boxShadow]: `${globalRefs$1.shadow.wide.xl} ${shadowColor}, ${globalRefs$1.shadow.narrow.xl} ${shadowColor}`,
|
8596
|
+
[vars$2.verticalPadding]: '0.45em',
|
8597
|
+
[vars$2.horizontalPadding]: '1em',
|
8598
|
+
[vars$2.borderRadius]: globalRefs$1.radius.md,
|
8599
8599
|
|
8600
8600
|
_bordered: {
|
8601
|
-
[vars$
|
8602
|
-
[vars$
|
8603
|
-
[vars$
|
8601
|
+
[vars$2.borderWidth]: globalRefs$1.border.sm,
|
8602
|
+
[vars$2.borderStyle]: 'solid',
|
8603
|
+
[vars$2.borderColor]: 'transparent',
|
8604
|
+
},
|
8605
|
+
|
8606
|
+
size: {
|
8607
|
+
xs: { [vars$2.fontSize]: '12px' },
|
8608
|
+
sm: { [vars$2.fontSize]: '14px' },
|
8609
|
+
md: { [vars$2.fontSize]: '16px' },
|
8610
|
+
lg: { [vars$2.fontSize]: '18px' },
|
8611
|
+
},
|
8612
|
+
|
8613
|
+
mode: {
|
8614
|
+
primary: {
|
8615
|
+
[vars$2.backgroundColor]: globalRefs$1.colors.primary.main,
|
8616
|
+
[vars$2.textColor]: globalRefs$1.colors.primary.contrast,
|
8617
|
+
[vars$2.borderColor]: globalRefs$1.colors.primary.light,
|
8618
|
+
},
|
8619
|
+
success: {
|
8620
|
+
[vars$2.backgroundColor]: globalRefs$1.colors.success.main,
|
8621
|
+
[vars$2.textColor]: globalRefs$1.colors.success.contrast,
|
8622
|
+
[vars$2.borderColor]: globalRefs$1.colors.success.light,
|
8623
|
+
},
|
8624
|
+
error: {
|
8625
|
+
[vars$2.backgroundColor]: globalRefs$1.colors.error.main,
|
8626
|
+
[vars$2.textColor]: globalRefs$1.colors.error.contrast,
|
8627
|
+
[vars$2.borderColor]: globalRefs$1.colors.error.light,
|
8628
|
+
},
|
8629
|
+
},
|
8630
|
+
};
|
8631
|
+
|
8632
|
+
var notificationCard = /*#__PURE__*/Object.freeze({
|
8633
|
+
__proto__: null,
|
8634
|
+
default: notification,
|
8635
|
+
vars: vars$2
|
8636
|
+
});
|
8637
|
+
|
8638
|
+
const componentName$2 = getComponentName('badge');
|
8639
|
+
|
8640
|
+
class RawBadge extends createBaseClass({ componentName: componentName$2, baseSelector: ':host > div' }) {
|
8641
|
+
constructor() {
|
8642
|
+
super();
|
8643
|
+
|
8644
|
+
this.attachShadow({ mode: 'open' }).innerHTML = `
|
8645
|
+
<style>
|
8646
|
+
:host {
|
8647
|
+
display: inline-flex;
|
8648
|
+
}
|
8649
|
+
:host > div {
|
8650
|
+
width: 100%;
|
8651
|
+
}
|
8652
|
+
</style>
|
8653
|
+
<div>
|
8654
|
+
<slot></slot>
|
8655
|
+
</div>
|
8656
|
+
`;
|
8657
|
+
}
|
8658
|
+
}
|
8659
|
+
|
8660
|
+
const BadgeClass = compose(
|
8661
|
+
createStyleMixin({
|
8662
|
+
mappings: {
|
8663
|
+
hostWidth: [{ selector: () => ':host', property: 'width' }],
|
8664
|
+
hostDirection: { property: 'direction' },
|
8665
|
+
|
8666
|
+
fontFamily: {},
|
8667
|
+
fontSize: {},
|
8668
|
+
fontWeight: {},
|
8669
|
+
|
8670
|
+
verticalPadding: [{ property: 'padding-top' }, { property: 'padding-bottom' }],
|
8671
|
+
horizontalPadding: [{ property: 'padding-left' }, { property: 'padding-right' }],
|
8672
|
+
|
8673
|
+
borderWidth: {},
|
8674
|
+
borderStyle: {},
|
8675
|
+
borderColor: {},
|
8676
|
+
borderRadius: {},
|
8677
|
+
|
8678
|
+
backgroundColor: {},
|
8679
|
+
|
8680
|
+
textColor: { property: 'color' },
|
8681
|
+
textAlign: {},
|
8682
|
+
},
|
8683
|
+
}),
|
8684
|
+
draggableMixin,
|
8685
|
+
componentNameValidationMixin
|
8686
|
+
)(RawBadge);
|
8687
|
+
|
8688
|
+
const globalRefs = getThemeRefs(globals);
|
8689
|
+
const vars$1 = BadgeClass.cssVarList;
|
8690
|
+
|
8691
|
+
const badge = {
|
8692
|
+
[vars$1.hostWidth]: 'fit-content',
|
8693
|
+
[vars$1.hostDirection]: globalRefs.direction,
|
8694
|
+
|
8695
|
+
[vars$1.textAlign]: 'center',
|
8696
|
+
|
8697
|
+
[vars$1.fontFamily]: globalRefs.fonts.font1.family,
|
8698
|
+
[vars$1.fontWeight]: '400',
|
8699
|
+
|
8700
|
+
[vars$1.verticalPadding]: '0.25em',
|
8701
|
+
[vars$1.horizontalPadding]: '0.5em',
|
8702
|
+
|
8703
|
+
[vars$1.borderWidth]: globalRefs.border.xs,
|
8704
|
+
[vars$1.borderRadius]: globalRefs.radius.sm,
|
8705
|
+
[vars$1.borderColor]: 'transparent',
|
8706
|
+
[vars$1.borderStyle]: 'solid',
|
8707
|
+
|
8708
|
+
_fullWidth: {
|
8709
|
+
[vars$1.hostWidth]: '100%',
|
8604
8710
|
},
|
8605
8711
|
|
8606
8712
|
size: {
|
@@ -8611,27 +8717,42 @@ const notification = {
|
|
8611
8717
|
},
|
8612
8718
|
|
8613
8719
|
mode: {
|
8720
|
+
default: {
|
8721
|
+
[vars$1.textColor]: globalRefs.colors.surface.dark,
|
8722
|
+
_bordered: {
|
8723
|
+
[vars$1.borderColor]: globalRefs.colors.surface.main,
|
8724
|
+
},
|
8725
|
+
},
|
8614
8726
|
primary: {
|
8615
|
-
[vars$1.
|
8616
|
-
|
8617
|
-
|
8727
|
+
[vars$1.textColor]: globalRefs.colors.primary.main,
|
8728
|
+
_bordered: {
|
8729
|
+
[vars$1.borderColor]: globalRefs.colors.primary.light,
|
8730
|
+
},
|
8618
8731
|
},
|
8619
|
-
|
8620
|
-
[vars$1.
|
8621
|
-
|
8622
|
-
|
8732
|
+
secondary: {
|
8733
|
+
[vars$1.textColor]: globalRefs.colors.secondary.main,
|
8734
|
+
_bordered: {
|
8735
|
+
[vars$1.borderColor]: globalRefs.colors.secondary.light,
|
8736
|
+
},
|
8623
8737
|
},
|
8624
8738
|
error: {
|
8625
|
-
[vars$1.backgroundColor]: globalRefs.colors.error.main,
|
8626
|
-
[vars$1.textColor]: globalRefs.colors.error.contrast,
|
8627
8739
|
[vars$1.borderColor]: globalRefs.colors.error.light,
|
8740
|
+
_bordered: {
|
8741
|
+
[vars$1.textColor]: globalRefs.colors.error.main,
|
8742
|
+
},
|
8743
|
+
},
|
8744
|
+
success: {
|
8745
|
+
[vars$1.textColor]: globalRefs.colors.success.main,
|
8746
|
+
_bordered: {
|
8747
|
+
[vars$1.borderColor]: globalRefs.colors.success.light,
|
8748
|
+
},
|
8628
8749
|
},
|
8629
8750
|
},
|
8630
8751
|
};
|
8631
8752
|
|
8632
|
-
var
|
8753
|
+
var badge$1 = /*#__PURE__*/Object.freeze({
|
8633
8754
|
__proto__: null,
|
8634
|
-
default:
|
8755
|
+
default: badge,
|
8635
8756
|
vars: vars$1
|
8636
8757
|
});
|
8637
8758
|
|
@@ -8665,6 +8786,7 @@ const components = {
|
|
8665
8786
|
modal: modal$1,
|
8666
8787
|
grid: grid$1,
|
8667
8788
|
notificationCard,
|
8789
|
+
badge: badge$1,
|
8668
8790
|
};
|
8669
8791
|
|
8670
8792
|
const theme = Object.keys(components).reduce(
|
@@ -8677,7 +8799,7 @@ const vars = Object.keys(components).reduce(
|
|
8677
8799
|
);
|
8678
8800
|
|
8679
8801
|
const defaultTheme = { globals, components: theme };
|
8680
|
-
const themeVars = { globals: vars$
|
8802
|
+
const themeVars = { globals: vars$v, components: vars };
|
8681
8803
|
|
8682
8804
|
const componentName$1 = getComponentName('recaptcha');
|
8683
8805
|
|
@@ -8932,6 +9054,7 @@ const NotificationClass = compose(
|
|
8932
9054
|
})
|
8933
9055
|
);
|
8934
9056
|
|
9057
|
+
exports.BadgeClass = BadgeClass;
|
8935
9058
|
exports.ButtonClass = ButtonClass;
|
8936
9059
|
exports.ButtonSelectionGroupClass = ButtonSelectionGroupClass;
|
8937
9060
|
exports.ButtonSelectionGroupItemClass = ButtonSelectionGroupItemClass;
|