@descope/web-components-ui 1.0.364 → 1.0.366

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.
Files changed (38) hide show
  1. package/dist/cjs/index.cjs.js +1896 -1301
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +1963 -1371
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/umd/4978.js +1 -1
  6. package/dist/umd/DescopeDev.js +1 -1
  7. package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -1
  8. package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -1
  9. package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -1
  10. package/dist/umd/descope-apps-list-index-js.js +1 -0
  11. package/dist/umd/descope-avatar-index-js.js +1 -1
  12. package/dist/umd/descope-button-index-js.js +2 -2
  13. package/dist/umd/descope-icon-index-js.js +1 -1
  14. package/dist/umd/descope-list-index-js.js +1 -0
  15. package/dist/umd/descope-upload-file-index-js.js +1 -1
  16. package/dist/umd/descope-user-attribute-index-js.js +1 -1
  17. package/dist/umd/descope-user-auth-method-index-js.js +1 -1
  18. package/dist/umd/index.js +1 -1
  19. package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
  20. package/package.json +1 -1
  21. package/src/components/descope-apps-list/AppsListClass.js +98 -0
  22. package/src/components/descope-apps-list/index.js +8 -0
  23. package/src/components/descope-avatar/AvatarClass.js +5 -2
  24. package/src/components/descope-button/ButtonClass.js +7 -1
  25. package/src/components/descope-icon/IconClass.js +50 -20
  26. package/src/components/descope-icon/helpers.js +39 -0
  27. package/src/components/descope-list/ListClass.js +140 -0
  28. package/src/components/descope-list/ListItemClass.js +56 -0
  29. package/src/components/descope-list/index.js +7 -0
  30. package/src/index.cjs.js +3 -0
  31. package/src/mixins/activableMixin.js +14 -0
  32. package/src/mixins/createDynamicDataMixin.js +84 -0
  33. package/src/mixins/createProxy.js +1 -1
  34. package/src/theme/components/appsList.js +36 -0
  35. package/src/theme/components/button.js +3 -0
  36. package/src/theme/components/index.js +6 -0
  37. package/src/theme/components/list/list.js +56 -0
  38. package/src/theme/components/list/listItem.js +41 -0
@@ -641,7 +641,7 @@ const globals = {
641
641
  fonts,
642
642
  direction,
643
643
  };
644
- const vars$J = getThemeVars(globals);
644
+ const vars$M = getThemeVars(globals);
645
645
 
646
646
  const createCssVar = (varName, fallback) => `var(${varName}${fallback ? `, ${fallback}` : ''})`;
647
647
 
@@ -1148,7 +1148,7 @@ const createProxy = ({
1148
1148
  .map(
1149
1149
  (
1150
1150
  slot // when slot is an empty string, we will create the default slot (without a name)
1151
- ) => `<slot ${slot ? `name="${slot}" slot="${slot}"` : ''} ></slot>`
1151
+ ) => `<slot ${slot ? `name="${slot}" slot="${slot}"` : ''}></slot>`
1152
1152
  )
1153
1153
  .join('')}
1154
1154
  </${wrappedEleName}>
@@ -2614,11 +2614,57 @@ const inputEventsDispatchingMixin = (superclass) =>
2614
2614
  }
2615
2615
  };
2616
2616
 
2617
+ const getFileExtension = (path) => {
2618
+ const match = path.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i);
2619
+ return match ? match[1] : null;
2620
+ };
2621
+
2622
+ const isSvg = (src) => getFileExtension(src) === 'svg' || src.indexOf('image/svg+xml') > -1;
2623
+
2624
+ const createImgEle = (src) => {
2625
+ const ele = document.createElement('img');
2626
+ ele.setAttribute('src', src);
2627
+ return ele;
2628
+ };
2629
+
2630
+ const createSvgEle = (text) => {
2631
+ const parser = new DOMParser();
2632
+ const ele = parser.parseFromString(text, 'image/svg+xml').querySelector('svg');
2633
+ return ele;
2634
+ };
2635
+
2636
+ const createIcon = async (src) => {
2637
+ try {
2638
+ let ele;
2639
+
2640
+ if (isSvg(src)) {
2641
+ const fetchedSrc = await fetch(src);
2642
+ const text = await fetchedSrc.text();
2643
+ ele = createSvgEle(text);
2644
+ } else {
2645
+ ele = createImgEle(src);
2646
+ }
2647
+
2648
+ ele.style.setProperty('width', '100%');
2649
+ ele.style.setProperty('height', '100%');
2650
+
2651
+ return ele;
2652
+ } catch {
2653
+ return null;
2654
+ }
2655
+ };
2656
+
2617
2657
  /* eslint-disable no-use-before-define */
2618
2658
 
2619
- const componentName$S = getComponentName('icon');
2659
+ const componentName$V = getComponentName('icon');
2660
+
2661
+ class RawIcon extends createBaseClass({ componentName: componentName$V, baseSelector: 'slot' }) {
2662
+ static get observedAttributes() {
2663
+ return ['src', 'fill-color'];
2664
+ }
2665
+
2666
+ #icon;
2620
2667
 
2621
- class RawIcon extends createBaseClass({ componentName: componentName$S, baseSelector: 'slot' }) {
2622
2668
  constructor() {
2623
2669
  super();
2624
2670
 
@@ -2629,7 +2675,7 @@ class RawIcon extends createBaseClass({ componentName: componentName$S, baseSele
2629
2675
  width: 100%;
2630
2676
  height: 100%;
2631
2677
  display: flex;
2632
- overflow: auto;
2678
+ overflow: hidden;
2633
2679
  }
2634
2680
  :host {
2635
2681
  display: inline-block;
@@ -2639,30 +2685,53 @@ class RawIcon extends createBaseClass({ componentName: componentName$S, baseSele
2639
2685
  `;
2640
2686
  }
2641
2687
 
2642
- get items() {
2643
- return this.shadowRoot.querySelector('slot').assignedNodes();
2688
+ get fillColor() {
2689
+ return this.getAttribute('fill-color') === 'true';
2644
2690
  }
2645
2691
 
2646
- #onChildrenChange() {
2647
- // force hide icon if empty.
2648
- if (this.items?.length > 0) {
2649
- this.shadowRoot.host.style.setProperty('display', 'inline-block');
2650
- } else {
2651
- this.shadowRoot.host.style.setProperty('display', 'none');
2692
+ get src() {
2693
+ return this.getAttribute('src');
2694
+ }
2695
+
2696
+ // in order to fill an SVG with `currentColor` override all of its `fill` and `path` nodes
2697
+ // with the value from the `st-fill` attribute
2698
+ updateFillColor() {
2699
+ if (this.#icon && this.fillColor) {
2700
+ const fillCssVar = (selector) => {
2701
+ this.querySelectorAll(selector).forEach((ele) =>
2702
+ ele.setAttribute(
2703
+ 'fill',
2704
+ `var(${IconClass.cssVarList.fill}, ${ele.getAttribute('fill') || "''"})`
2705
+ )
2706
+ );
2707
+ };
2708
+
2709
+ fillCssVar('*[fill]');
2710
+ fillCssVar('path');
2652
2711
  }
2712
+ }
2653
2713
 
2654
- // set fill for all inner svgs to fill var and a fallback
2655
- const elems = this.querySelectorAll('*[fill]');
2656
- elems.forEach((ele) =>
2657
- ele.setAttribute(
2658
- 'fill',
2659
- `var(${IconClass.cssVarList.fill}, ${ele.getAttribute('fill') || "''"})`
2660
- )
2661
- );
2714
+ resetIcon() {
2715
+ if (!this.#icon) return;
2716
+ this.innerHTML = '';
2717
+ this.appendChild(this.#icon.cloneNode(true));
2662
2718
  }
2663
2719
 
2664
- init() {
2665
- observeChildren(this, this.#onChildrenChange.bind(this));
2720
+ attributeChangedCallback(attrName, oldValue, newValue) {
2721
+ super.attributeChangedCallback?.(attrName, oldValue, newValue);
2722
+
2723
+ if (oldValue === newValue) return;
2724
+
2725
+ if (attrName === 'src') {
2726
+ createIcon(this.src).then((res) => {
2727
+ this.#icon = res;
2728
+ this.resetIcon();
2729
+ this.updateFillColor();
2730
+ });
2731
+ } else if (attrName === 'fill-color') {
2732
+ this.resetIcon();
2733
+ this.updateFillColor();
2734
+ }
2666
2735
  }
2667
2736
  }
2668
2737
 
@@ -2687,7 +2756,7 @@ const clickableMixin = (superclass) =>
2687
2756
  }
2688
2757
  };
2689
2758
 
2690
- const componentName$R = getComponentName('button');
2759
+ const componentName$U = getComponentName('button');
2691
2760
 
2692
2761
  const resetStyles = `
2693
2762
  :host {
@@ -2725,9 +2794,10 @@ const iconStyles = `
2725
2794
 
2726
2795
  const editorOverrides = `vaadin-button::part(label) { pointer-events: none; }`;
2727
2796
 
2728
- const { host: host$n, label: label$a } = {
2797
+ const { host: host$n, label: label$a, slottedIcon } = {
2729
2798
  host: { selector: () => ':host' },
2730
2799
  label: { selector: '::part(label)' },
2800
+ slottedIcon: { selector: () => '::slotted(descope-icon)' },
2731
2801
  };
2732
2802
 
2733
2803
  let loadingIndicatorStyles;
@@ -2768,6 +2838,11 @@ const ButtonClass = compose(
2768
2838
  labelTextDecoration: { ...label$a, property: 'text-decoration' },
2769
2839
  labelSpacing: { ...label$a, property: 'gap' },
2770
2840
  textAlign: { ...label$a, property: 'justify-content', fallback: 'center' },
2841
+
2842
+ iconSize: [
2843
+ { ...slottedIcon, property: 'width' },
2844
+ { ...slottedIcon, property: 'height' },
2845
+ ],
2771
2846
  },
2772
2847
  }),
2773
2848
  clickableMixin,
@@ -2797,7 +2872,7 @@ const ButtonClass = compose(
2797
2872
  }
2798
2873
  `,
2799
2874
  excludeAttrsSync: ['tabindex'],
2800
- componentName: componentName$R,
2875
+ componentName: componentName$U,
2801
2876
  })
2802
2877
  );
2803
2878
 
@@ -2834,136 +2909,139 @@ loadingIndicatorStyles = `
2834
2909
  }
2835
2910
  `;
2836
2911
 
2837
- const globalRefs$s = getThemeRefs(globals);
2838
- const compVars$5 = ButtonClass.cssVarList;
2912
+ const globalRefs$v = getThemeRefs(globals);
2913
+ const compVars$6 = ButtonClass.cssVarList;
2839
2914
 
2840
2915
  const mode = {
2841
- primary: globalRefs$s.colors.primary,
2842
- secondary: globalRefs$s.colors.secondary,
2843
- success: globalRefs$s.colors.success,
2844
- error: globalRefs$s.colors.error,
2845
- surface: globalRefs$s.colors.surface,
2916
+ primary: globalRefs$v.colors.primary,
2917
+ secondary: globalRefs$v.colors.secondary,
2918
+ success: globalRefs$v.colors.success,
2919
+ error: globalRefs$v.colors.error,
2920
+ surface: globalRefs$v.colors.surface,
2846
2921
  };
2847
2922
 
2848
- const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$R);
2923
+ const [helperTheme$4, helperRefs$4, helperVars$4] = createHelperVars({ mode }, componentName$U);
2849
2924
 
2850
2925
  const button = {
2851
- ...helperTheme$3,
2926
+ ...helperTheme$4,
2852
2927
 
2853
- [compVars$5.fontFamily]: globalRefs$s.fonts.font1.family,
2928
+ [compVars$6.fontFamily]: globalRefs$v.fonts.font1.family,
2854
2929
 
2855
- [compVars$5.cursor]: 'pointer',
2856
- [compVars$5.hostHeight]: '3em',
2857
- [compVars$5.hostWidth]: 'auto',
2858
- [compVars$5.hostDirection]: globalRefs$s.direction,
2930
+ [compVars$6.cursor]: 'pointer',
2931
+ [compVars$6.hostHeight]: '3em',
2932
+ [compVars$6.hostWidth]: 'auto',
2933
+ [compVars$6.hostDirection]: globalRefs$v.direction,
2859
2934
 
2860
- [compVars$5.borderRadius]: globalRefs$s.radius.sm,
2861
- [compVars$5.borderWidth]: globalRefs$s.border.xs,
2862
- [compVars$5.borderStyle]: 'solid',
2863
- [compVars$5.borderColor]: 'transparent',
2935
+ [compVars$6.borderRadius]: globalRefs$v.radius.sm,
2936
+ [compVars$6.borderWidth]: globalRefs$v.border.xs,
2937
+ [compVars$6.borderStyle]: 'solid',
2938
+ [compVars$6.borderColor]: 'transparent',
2864
2939
 
2865
- [compVars$5.labelSpacing]: '0.25em',
2940
+ [compVars$6.labelSpacing]: '0.25em',
2866
2941
 
2867
- [compVars$5.textAlign]: 'center', // default text align center
2942
+ [compVars$6.textAlign]: 'center', // default text align center
2868
2943
  textAlign: {
2869
- right: { [compVars$5.textAlign]: 'right' },
2870
- left: { [compVars$5.textAlign]: 'left' },
2871
- center: { [compVars$5.textAlign]: 'center' },
2944
+ right: { [compVars$6.textAlign]: 'right' },
2945
+ left: { [compVars$6.textAlign]: 'left' },
2946
+ center: { [compVars$6.textAlign]: 'center' },
2872
2947
  },
2873
2948
 
2874
- [compVars$5.verticalPadding]: '1em',
2875
- [compVars$5.horizontalPadding]: '0.875em',
2949
+ [compVars$6.verticalPadding]: '1em',
2950
+ [compVars$6.horizontalPadding]: '0.875em',
2951
+
2952
+ [compVars$6.outlineWidth]: globals.border.sm,
2953
+ [compVars$6.outlineOffset]: '0px', // keep `px` unit for external calc
2954
+ [compVars$6.outlineStyle]: 'solid',
2955
+ [compVars$6.outlineColor]: 'transparent',
2876
2956
 
2877
- [compVars$5.outlineWidth]: globals.border.sm,
2878
- [compVars$5.outlineOffset]: '0px', // keep `px` unit for external calc
2879
- [compVars$5.outlineStyle]: 'solid',
2880
- [compVars$5.outlineColor]: 'transparent',
2957
+ [compVars$6.iconSize]: '1.5em',
2958
+ [compVars$6.iconColor]: 'currentColor',
2881
2959
 
2882
2960
  size: {
2883
- xs: { [compVars$5.fontSize]: '12px' },
2884
- sm: { [compVars$5.fontSize]: '14px' },
2885
- md: { [compVars$5.fontSize]: '16px' },
2886
- lg: { [compVars$5.fontSize]: '18px' },
2961
+ xs: { [compVars$6.fontSize]: '12px' },
2962
+ sm: { [compVars$6.fontSize]: '14px' },
2963
+ md: { [compVars$6.fontSize]: '16px' },
2964
+ lg: { [compVars$6.fontSize]: '18px' },
2887
2965
  },
2888
2966
 
2889
2967
  _square: {
2890
- [compVars$5.hostHeight]: '3em',
2891
- [compVars$5.hostWidth]: '3em',
2892
- [compVars$5.verticalPadding]: '0',
2968
+ [compVars$6.hostHeight]: '3em',
2969
+ [compVars$6.hostWidth]: '3em',
2970
+ [compVars$6.verticalPadding]: '0',
2893
2971
  },
2894
2972
 
2895
2973
  _fullWidth: {
2896
- [compVars$5.hostWidth]: '100%',
2974
+ [compVars$6.hostWidth]: '100%',
2897
2975
  },
2898
2976
 
2899
2977
  _loading: {
2900
- [compVars$5.cursor]: 'wait',
2901
- [compVars$5.labelTextColor]: helperRefs$3.main,
2978
+ [compVars$6.cursor]: 'wait',
2979
+ [compVars$6.labelTextColor]: helperRefs$4.main,
2902
2980
  },
2903
2981
 
2904
2982
  _disabled: {
2905
- [helperVars$3.main]: globalRefs$s.colors.surface.light,
2906
- [helperVars$3.dark]: globalRefs$s.colors.surface.dark,
2907
- [helperVars$3.light]: globalRefs$s.colors.surface.light,
2908
- [helperVars$3.contrast]: globalRefs$s.colors.surface.main,
2909
- [compVars$5.iconColor]: globalRefs$s.colors.surface.main,
2983
+ [helperVars$4.main]: globalRefs$v.colors.surface.light,
2984
+ [helperVars$4.dark]: globalRefs$v.colors.surface.dark,
2985
+ [helperVars$4.light]: globalRefs$v.colors.surface.light,
2986
+ [helperVars$4.contrast]: globalRefs$v.colors.surface.main,
2987
+ [compVars$6.iconColor]: globalRefs$v.colors.surface.main,
2910
2988
  },
2911
2989
 
2912
2990
  variant: {
2913
2991
  contained: {
2914
- [compVars$5.labelTextColor]: helperRefs$3.contrast,
2915
- [compVars$5.backgroundColor]: helperRefs$3.main,
2992
+ [compVars$6.labelTextColor]: helperRefs$4.contrast,
2993
+ [compVars$6.backgroundColor]: helperRefs$4.main,
2916
2994
  _hover: {
2917
- [compVars$5.backgroundColor]: helperRefs$3.dark,
2995
+ [compVars$6.backgroundColor]: helperRefs$4.dark,
2918
2996
  _loading: {
2919
- [compVars$5.backgroundColor]: helperRefs$3.main,
2997
+ [compVars$6.backgroundColor]: helperRefs$4.main,
2920
2998
  },
2921
2999
  },
2922
3000
  _active: {
2923
- [compVars$5.backgroundColor]: helperRefs$3.main,
3001
+ [compVars$6.backgroundColor]: helperRefs$4.main,
2924
3002
  },
2925
3003
  },
2926
3004
 
2927
3005
  outline: {
2928
- [compVars$5.labelTextColor]: helperRefs$3.main,
2929
- [compVars$5.borderColor]: helperRefs$3.main,
3006
+ [compVars$6.labelTextColor]: helperRefs$4.main,
3007
+ [compVars$6.borderColor]: helperRefs$4.main,
2930
3008
  _hover: {
2931
- [compVars$5.labelTextColor]: helperRefs$3.dark,
2932
- [compVars$5.borderColor]: helperRefs$3.dark,
3009
+ [compVars$6.labelTextColor]: helperRefs$4.dark,
3010
+ [compVars$6.borderColor]: helperRefs$4.dark,
2933
3011
  },
2934
3012
  _active: {
2935
- [compVars$5.labelTextColor]: helperRefs$3.main,
2936
- [compVars$5.borderColor]: helperRefs$3.main,
3013
+ [compVars$6.labelTextColor]: helperRefs$4.main,
3014
+ [compVars$6.borderColor]: helperRefs$4.main,
2937
3015
  },
2938
3016
  },
2939
3017
 
2940
3018
  link: {
2941
- [compVars$5.labelTextColor]: helperRefs$3.main,
2942
- [compVars$5.horizontalPadding]: '0.125em',
3019
+ [compVars$6.labelTextColor]: helperRefs$4.main,
3020
+ [compVars$6.horizontalPadding]: '0.125em',
2943
3021
  _hover: {
2944
- [compVars$5.labelTextColor]: helperRefs$3.dark,
2945
- [compVars$5.labelTextDecoration]: 'underline',
3022
+ [compVars$6.labelTextColor]: helperRefs$4.dark,
3023
+ [compVars$6.labelTextDecoration]: 'underline',
2946
3024
  },
2947
3025
  _active: {
2948
- [compVars$5.labelTextColor]: helperRefs$3.main,
3026
+ [compVars$6.labelTextColor]: helperRefs$4.main,
2949
3027
  },
2950
3028
  },
2951
3029
  },
2952
3030
 
2953
3031
  _focused: {
2954
- [compVars$5.outlineColor]: helperRefs$3.light,
3032
+ [compVars$6.outlineColor]: helperRefs$4.light,
2955
3033
  },
2956
3034
  };
2957
3035
 
2958
- const vars$I = {
2959
- ...compVars$5,
2960
- ...helperVars$3,
3036
+ const vars$L = {
3037
+ ...compVars$6,
3038
+ ...helperVars$4,
2961
3039
  };
2962
3040
 
2963
3041
  var button$1 = /*#__PURE__*/Object.freeze({
2964
3042
  __proto__: null,
2965
3043
  default: button,
2966
- vars: vars$I
3044
+ vars: vars$L
2967
3045
  });
2968
3046
 
2969
3047
  const {
@@ -3223,11 +3301,11 @@ const inputFloatingLabelStyle = () => {
3223
3301
  `;
3224
3302
  };
3225
3303
 
3226
- const componentName$Q = getComponentName('text-field');
3304
+ const componentName$T = getComponentName('text-field');
3227
3305
 
3228
3306
  const observedAttrs = ['type', 'label-type', 'copy-to-clipboard'];
3229
3307
 
3230
- const customMixin$a = (superclass) =>
3308
+ const customMixin$c = (superclass) =>
3231
3309
  class TextFieldClass extends superclass {
3232
3310
  static get observedAttributes() {
3233
3311
  return observedAttrs.concat(superclass.observedAttributes || []);
@@ -3311,7 +3389,7 @@ const TextFieldClass = compose(
3311
3389
  draggableMixin,
3312
3390
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'], useProxyTargets: true }),
3313
3391
  componentNameValidationMixin,
3314
- customMixin$a
3392
+ customMixin$c
3315
3393
  )(
3316
3394
  createProxy({
3317
3395
  slots: ['prefix', 'suffix'],
@@ -3345,30 +3423,30 @@ const TextFieldClass = compose(
3345
3423
  }
3346
3424
  `,
3347
3425
  excludeAttrsSync: ['tabindex'],
3348
- componentName: componentName$Q,
3426
+ componentName: componentName$T,
3349
3427
  })
3350
3428
  );
3351
3429
 
3352
- const componentName$P = getComponentName('input-wrapper');
3353
- const globalRefs$r = getThemeRefs(globals);
3430
+ const componentName$S = getComponentName('input-wrapper');
3431
+ const globalRefs$u = getThemeRefs(globals);
3354
3432
 
3355
- const [theme$1, refs, vars$H] = createHelperVars(
3433
+ const [theme$1, refs, vars$K] = createHelperVars(
3356
3434
  {
3357
- labelTextColor: globalRefs$r.colors.surface.dark,
3435
+ labelTextColor: globalRefs$u.colors.surface.dark,
3358
3436
  labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
3359
3437
  labelFontWeight: '500', // not taken from globals as it is fixed in all inputs
3360
- valueTextColor: globalRefs$r.colors.surface.contrast,
3361
- placeholderTextColor: globalRefs$r.colors.surface.dark,
3438
+ valueTextColor: globalRefs$u.colors.surface.contrast,
3439
+ placeholderTextColor: globalRefs$u.colors.surface.dark,
3362
3440
  requiredIndicator: "'*'",
3363
- helperTextColor: globalRefs$r.colors.surface.dark,
3364
- errorMessageTextColor: globalRefs$r.colors.error.main,
3365
- successMessageTextColor: globalRefs$r.colors.success.main,
3441
+ helperTextColor: globalRefs$u.colors.surface.dark,
3442
+ errorMessageTextColor: globalRefs$u.colors.error.main,
3443
+ successMessageTextColor: globalRefs$u.colors.success.main,
3366
3444
 
3367
- borderWidth: globalRefs$r.border.xs,
3368
- borderRadius: globalRefs$r.radius.xs,
3445
+ borderWidth: globalRefs$u.border.xs,
3446
+ borderRadius: globalRefs$u.radius.xs,
3369
3447
  borderColor: 'transparent',
3370
3448
 
3371
- outlineWidth: globalRefs$r.border.sm,
3449
+ outlineWidth: globalRefs$u.border.sm,
3372
3450
  outlineStyle: 'solid',
3373
3451
  outlineColor: 'transparent',
3374
3452
  outlineOffset: '0px', // we need to keep the px unit even for 0 value, as this var is used for calc in different component classes
@@ -3380,11 +3458,11 @@ const [theme$1, refs, vars$H] = createHelperVars(
3380
3458
  horizontalPadding: '0.5em',
3381
3459
  verticalPadding: '0.5em',
3382
3460
 
3383
- backgroundColor: globalRefs$r.colors.surface.main,
3461
+ backgroundColor: globalRefs$u.colors.surface.main,
3384
3462
 
3385
- fontFamily: globalRefs$r.fonts.font1.family,
3463
+ fontFamily: globalRefs$u.fonts.font1.family,
3386
3464
 
3387
- direction: globalRefs$r.direction,
3465
+ direction: globalRefs$u.direction,
3388
3466
 
3389
3467
  overlayOpacity: '0.3',
3390
3468
 
@@ -3434,93 +3512,93 @@ const [theme$1, refs, vars$H] = createHelperVars(
3434
3512
  },
3435
3513
 
3436
3514
  _focused: {
3437
- outlineColor: globalRefs$r.colors.surface.light,
3515
+ outlineColor: globalRefs$u.colors.surface.light,
3438
3516
  _invalid: {
3439
- outlineColor: globalRefs$r.colors.error.main,
3517
+ outlineColor: globalRefs$u.colors.error.main,
3440
3518
  },
3441
3519
  },
3442
3520
 
3443
3521
  _bordered: {
3444
- outlineWidth: globalRefs$r.border.xs,
3445
- borderColor: globalRefs$r.colors.surface.light,
3522
+ outlineWidth: globalRefs$u.border.xs,
3523
+ borderColor: globalRefs$u.colors.surface.light,
3446
3524
  borderStyle: 'solid',
3447
3525
  _invalid: {
3448
- borderColor: globalRefs$r.colors.error.main,
3526
+ borderColor: globalRefs$u.colors.error.main,
3449
3527
  },
3450
3528
  },
3451
3529
 
3452
3530
  _disabled: {
3453
- labelTextColor: globalRefs$r.colors.surface.light,
3454
- borderColor: globalRefs$r.colors.surface.light,
3455
- valueTextColor: globalRefs$r.colors.surface.light,
3456
- placeholderTextColor: globalRefs$r.colors.surface.light,
3457
- helperTextColor: globalRefs$r.colors.surface.light,
3458
- backgroundColor: globalRefs$r.colors.surface.main,
3531
+ labelTextColor: globalRefs$u.colors.surface.light,
3532
+ borderColor: globalRefs$u.colors.surface.light,
3533
+ valueTextColor: globalRefs$u.colors.surface.light,
3534
+ placeholderTextColor: globalRefs$u.colors.surface.light,
3535
+ helperTextColor: globalRefs$u.colors.surface.light,
3536
+ backgroundColor: globalRefs$u.colors.surface.main,
3459
3537
  },
3460
3538
  },
3461
- componentName$P
3539
+ componentName$S
3462
3540
  );
3463
3541
 
3464
3542
  var inputWrapper = /*#__PURE__*/Object.freeze({
3465
3543
  __proto__: null,
3466
3544
  default: theme$1,
3467
3545
  refs: refs,
3468
- vars: vars$H
3546
+ vars: vars$K
3469
3547
  });
3470
3548
 
3471
- const globalRefs$q = getThemeRefs(globals);
3472
- const vars$G = TextFieldClass.cssVarList;
3549
+ const globalRefs$t = getThemeRefs(globals);
3550
+ const vars$J = TextFieldClass.cssVarList;
3473
3551
 
3474
3552
  const textField$1 = {
3475
- [vars$G.hostWidth]: refs.width,
3476
- [vars$G.hostMinWidth]: refs.minWidth,
3477
- [vars$G.hostDirection]: refs.direction,
3478
- [vars$G.fontSize]: refs.fontSize,
3479
- [vars$G.fontFamily]: refs.fontFamily,
3480
- [vars$G.labelFontSize]: refs.labelFontSize,
3481
- [vars$G.labelFontWeight]: refs.labelFontWeight,
3482
- [vars$G.labelTextColor]: refs.labelTextColor,
3483
- [vars$G.labelRequiredIndicator]: refs.requiredIndicator,
3484
- [vars$G.errorMessageTextColor]: refs.errorMessageTextColor,
3485
- [vars$G.inputValueTextColor]: refs.valueTextColor,
3486
- [vars$G.inputPlaceholderColor]: refs.placeholderTextColor,
3487
- [vars$G.inputBorderWidth]: refs.borderWidth,
3488
- [vars$G.inputBorderStyle]: refs.borderStyle,
3489
- [vars$G.inputBorderColor]: refs.borderColor,
3490
- [vars$G.inputBorderRadius]: refs.borderRadius,
3491
- [vars$G.inputOutlineWidth]: refs.outlineWidth,
3492
- [vars$G.inputOutlineStyle]: refs.outlineStyle,
3493
- [vars$G.inputOutlineColor]: refs.outlineColor,
3494
- [vars$G.inputOutlineOffset]: refs.outlineOffset,
3495
- [vars$G.inputBackgroundColor]: refs.backgroundColor,
3496
- [vars$G.inputHeight]: refs.inputHeight,
3497
- [vars$G.inputHorizontalPadding]: refs.horizontalPadding,
3498
- [vars$G.helperTextColor]: refs.helperTextColor,
3553
+ [vars$J.hostWidth]: refs.width,
3554
+ [vars$J.hostMinWidth]: refs.minWidth,
3555
+ [vars$J.hostDirection]: refs.direction,
3556
+ [vars$J.fontSize]: refs.fontSize,
3557
+ [vars$J.fontFamily]: refs.fontFamily,
3558
+ [vars$J.labelFontSize]: refs.labelFontSize,
3559
+ [vars$J.labelFontWeight]: refs.labelFontWeight,
3560
+ [vars$J.labelTextColor]: refs.labelTextColor,
3561
+ [vars$J.labelRequiredIndicator]: refs.requiredIndicator,
3562
+ [vars$J.errorMessageTextColor]: refs.errorMessageTextColor,
3563
+ [vars$J.inputValueTextColor]: refs.valueTextColor,
3564
+ [vars$J.inputPlaceholderColor]: refs.placeholderTextColor,
3565
+ [vars$J.inputBorderWidth]: refs.borderWidth,
3566
+ [vars$J.inputBorderStyle]: refs.borderStyle,
3567
+ [vars$J.inputBorderColor]: refs.borderColor,
3568
+ [vars$J.inputBorderRadius]: refs.borderRadius,
3569
+ [vars$J.inputOutlineWidth]: refs.outlineWidth,
3570
+ [vars$J.inputOutlineStyle]: refs.outlineStyle,
3571
+ [vars$J.inputOutlineColor]: refs.outlineColor,
3572
+ [vars$J.inputOutlineOffset]: refs.outlineOffset,
3573
+ [vars$J.inputBackgroundColor]: refs.backgroundColor,
3574
+ [vars$J.inputHeight]: refs.inputHeight,
3575
+ [vars$J.inputHorizontalPadding]: refs.horizontalPadding,
3576
+ [vars$J.helperTextColor]: refs.helperTextColor,
3499
3577
  textAlign: {
3500
- right: { [vars$G.inputTextAlign]: 'right' },
3501
- left: { [vars$G.inputTextAlign]: 'left' },
3502
- center: { [vars$G.inputTextAlign]: 'center' },
3578
+ right: { [vars$J.inputTextAlign]: 'right' },
3579
+ left: { [vars$J.inputTextAlign]: 'left' },
3580
+ center: { [vars$J.inputTextAlign]: 'center' },
3503
3581
  },
3504
- [vars$G.labelPosition]: refs.labelPosition,
3505
- [vars$G.labelTopPosition]: refs.labelTopPosition,
3506
- [vars$G.labelHorizontalPosition]: refs.labelHorizontalPosition,
3507
- [vars$G.inputTransformY]: refs.inputTransformY,
3508
- [vars$G.inputTransition]: refs.inputTransition,
3509
- [vars$G.marginInlineStart]: refs.marginInlineStart,
3510
- [vars$G.placeholderOpacity]: refs.placeholderOpacity,
3511
- [vars$G.inputVerticalAlignment]: refs.inputVerticalAlignment,
3512
- [vars$G.valueInputHeight]: refs.valueInputHeight,
3513
- [vars$G.valueInputMarginBottom]: refs.valueInputMarginBottom,
3514
- [vars$G.inputIconOffset]: globalRefs$q.spacing.md,
3515
- [vars$G.inputIconSize]: refs.inputIconSize,
3516
- [vars$G.inputIconColor]: refs.placeholderTextColor,
3582
+ [vars$J.labelPosition]: refs.labelPosition,
3583
+ [vars$J.labelTopPosition]: refs.labelTopPosition,
3584
+ [vars$J.labelHorizontalPosition]: refs.labelHorizontalPosition,
3585
+ [vars$J.inputTransformY]: refs.inputTransformY,
3586
+ [vars$J.inputTransition]: refs.inputTransition,
3587
+ [vars$J.marginInlineStart]: refs.marginInlineStart,
3588
+ [vars$J.placeholderOpacity]: refs.placeholderOpacity,
3589
+ [vars$J.inputVerticalAlignment]: refs.inputVerticalAlignment,
3590
+ [vars$J.valueInputHeight]: refs.valueInputHeight,
3591
+ [vars$J.valueInputMarginBottom]: refs.valueInputMarginBottom,
3592
+ [vars$J.inputIconOffset]: globalRefs$t.spacing.md,
3593
+ [vars$J.inputIconSize]: refs.inputIconSize,
3594
+ [vars$J.inputIconColor]: refs.placeholderTextColor,
3517
3595
  };
3518
3596
 
3519
3597
  var textField$2 = /*#__PURE__*/Object.freeze({
3520
3598
  __proto__: null,
3521
3599
  default: textField$1,
3522
3600
  textField: textField$1,
3523
- vars: vars$G
3601
+ vars: vars$J
3524
3602
  });
3525
3603
 
3526
3604
  const passwordDraggableMixin = (superclass) =>
@@ -3562,9 +3640,9 @@ const passwordDraggableMixin = (superclass) =>
3562
3640
  }
3563
3641
  };
3564
3642
 
3565
- const componentName$O = getComponentName('password');
3643
+ const componentName$R = getComponentName('password');
3566
3644
 
3567
- const customMixin$9 = (superclass) =>
3645
+ const customMixin$b = (superclass) =>
3568
3646
  class PasswordFieldMixinClass extends superclass {
3569
3647
  static get observedAttributes() {
3570
3648
  return ['manual-visibility-toggle'];
@@ -3717,7 +3795,7 @@ const PasswordClass = compose(
3717
3795
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
3718
3796
  componentNameValidationMixin,
3719
3797
  passwordDraggableMixin,
3720
- customMixin$9
3798
+ customMixin$b
3721
3799
  )(
3722
3800
  createProxy({
3723
3801
  slots: ['', 'suffix'],
@@ -3780,58 +3858,58 @@ const PasswordClass = compose(
3780
3858
  }
3781
3859
  `,
3782
3860
  excludeAttrsSync: ['tabindex'],
3783
- componentName: componentName$O,
3861
+ componentName: componentName$R,
3784
3862
  })
3785
3863
  );
3786
3864
 
3787
- const globalRefs$p = getThemeRefs(globals);
3788
- const vars$F = PasswordClass.cssVarList;
3865
+ const globalRefs$s = getThemeRefs(globals);
3866
+ const vars$I = PasswordClass.cssVarList;
3789
3867
 
3790
3868
  const password = {
3791
- [vars$F.hostWidth]: refs.width,
3792
- [vars$F.hostMinWidth]: refs.minWidth,
3793
- [vars$F.hostDirection]: refs.direction,
3794
- [vars$F.fontSize]: refs.fontSize,
3795
- [vars$F.fontFamily]: refs.fontFamily,
3796
- [vars$F.labelFontSize]: refs.labelFontSize,
3797
- [vars$F.labelFontWeight]: refs.labelFontWeight,
3798
- [vars$F.labelTextColor]: refs.labelTextColor,
3799
- [vars$F.errorMessageTextColor]: refs.errorMessageTextColor,
3800
- [vars$F.inputHorizontalPadding]: refs.horizontalPadding,
3801
- [vars$F.inputHeight]: refs.inputHeight,
3802
- [vars$F.inputBackgroundColor]: refs.backgroundColor,
3803
- [vars$F.labelRequiredIndicator]: refs.requiredIndicator,
3804
- [vars$F.inputValueTextColor]: refs.valueTextColor,
3805
- [vars$F.inputPlaceholderTextColor]: refs.placeholderTextColor,
3806
- [vars$F.inputBorderWidth]: refs.borderWidth,
3807
- [vars$F.inputBorderStyle]: refs.borderStyle,
3808
- [vars$F.inputBorderColor]: refs.borderColor,
3809
- [vars$F.inputBorderRadius]: refs.borderRadius,
3810
- [vars$F.inputOutlineWidth]: refs.outlineWidth,
3811
- [vars$F.inputOutlineStyle]: refs.outlineStyle,
3812
- [vars$F.inputOutlineColor]: refs.outlineColor,
3813
- [vars$F.inputOutlineOffset]: refs.outlineOffset,
3814
- [vars$F.revealButtonOffset]: globalRefs$p.spacing.md,
3815
- [vars$F.revealButtonSize]: refs.toggleButtonSize,
3816
- [vars$F.revealButtonColor]: refs.placeholderTextColor,
3817
- [vars$F.labelPosition]: refs.labelPosition,
3818
- [vars$F.labelTopPosition]: refs.labelTopPosition,
3819
- [vars$F.labelHorizontalPosition]: refs.labelHorizontalPosition,
3820
- [vars$F.inputTransformY]: refs.inputTransformY,
3821
- [vars$F.inputTransition]: refs.inputTransition,
3822
- [vars$F.marginInlineStart]: refs.marginInlineStart,
3823
- [vars$F.placeholderOpacity]: refs.placeholderOpacity,
3824
- [vars$F.inputVerticalAlignment]: refs.inputVerticalAlignment,
3825
- [vars$F.valueInputHeight]: refs.valueInputHeight,
3869
+ [vars$I.hostWidth]: refs.width,
3870
+ [vars$I.hostMinWidth]: refs.minWidth,
3871
+ [vars$I.hostDirection]: refs.direction,
3872
+ [vars$I.fontSize]: refs.fontSize,
3873
+ [vars$I.fontFamily]: refs.fontFamily,
3874
+ [vars$I.labelFontSize]: refs.labelFontSize,
3875
+ [vars$I.labelFontWeight]: refs.labelFontWeight,
3876
+ [vars$I.labelTextColor]: refs.labelTextColor,
3877
+ [vars$I.errorMessageTextColor]: refs.errorMessageTextColor,
3878
+ [vars$I.inputHorizontalPadding]: refs.horizontalPadding,
3879
+ [vars$I.inputHeight]: refs.inputHeight,
3880
+ [vars$I.inputBackgroundColor]: refs.backgroundColor,
3881
+ [vars$I.labelRequiredIndicator]: refs.requiredIndicator,
3882
+ [vars$I.inputValueTextColor]: refs.valueTextColor,
3883
+ [vars$I.inputPlaceholderTextColor]: refs.placeholderTextColor,
3884
+ [vars$I.inputBorderWidth]: refs.borderWidth,
3885
+ [vars$I.inputBorderStyle]: refs.borderStyle,
3886
+ [vars$I.inputBorderColor]: refs.borderColor,
3887
+ [vars$I.inputBorderRadius]: refs.borderRadius,
3888
+ [vars$I.inputOutlineWidth]: refs.outlineWidth,
3889
+ [vars$I.inputOutlineStyle]: refs.outlineStyle,
3890
+ [vars$I.inputOutlineColor]: refs.outlineColor,
3891
+ [vars$I.inputOutlineOffset]: refs.outlineOffset,
3892
+ [vars$I.revealButtonOffset]: globalRefs$s.spacing.md,
3893
+ [vars$I.revealButtonSize]: refs.toggleButtonSize,
3894
+ [vars$I.revealButtonColor]: refs.placeholderTextColor,
3895
+ [vars$I.labelPosition]: refs.labelPosition,
3896
+ [vars$I.labelTopPosition]: refs.labelTopPosition,
3897
+ [vars$I.labelHorizontalPosition]: refs.labelHorizontalPosition,
3898
+ [vars$I.inputTransformY]: refs.inputTransformY,
3899
+ [vars$I.inputTransition]: refs.inputTransition,
3900
+ [vars$I.marginInlineStart]: refs.marginInlineStart,
3901
+ [vars$I.placeholderOpacity]: refs.placeholderOpacity,
3902
+ [vars$I.inputVerticalAlignment]: refs.inputVerticalAlignment,
3903
+ [vars$I.valueInputHeight]: refs.valueInputHeight,
3826
3904
  };
3827
3905
 
3828
3906
  var password$1 = /*#__PURE__*/Object.freeze({
3829
3907
  __proto__: null,
3830
3908
  default: password,
3831
- vars: vars$F
3909
+ vars: vars$I
3832
3910
  });
3833
3911
 
3834
- const componentName$N = getComponentName('number-field');
3912
+ const componentName$Q = getComponentName('number-field');
3835
3913
 
3836
3914
  const NumberFieldClass = compose(
3837
3915
  createStyleMixin({
@@ -3865,60 +3943,60 @@ const NumberFieldClass = compose(
3865
3943
  }
3866
3944
  `,
3867
3945
  excludeAttrsSync: ['tabindex'],
3868
- componentName: componentName$N,
3946
+ componentName: componentName$Q,
3869
3947
  })
3870
3948
  );
3871
3949
 
3872
- const vars$E = NumberFieldClass.cssVarList;
3950
+ const vars$H = NumberFieldClass.cssVarList;
3873
3951
 
3874
3952
  const numberField = {
3875
- [vars$E.hostWidth]: refs.width,
3876
- [vars$E.hostMinWidth]: refs.minWidth,
3877
- [vars$E.hostDirection]: refs.direction,
3878
- [vars$E.fontSize]: refs.fontSize,
3879
- [vars$E.fontFamily]: refs.fontFamily,
3880
- [vars$E.labelFontSize]: refs.labelFontSize,
3881
- [vars$E.labelFontWeight]: refs.labelFontWeight,
3882
- [vars$E.labelTextColor]: refs.labelTextColor,
3883
- [vars$E.errorMessageTextColor]: refs.errorMessageTextColor,
3884
- [vars$E.inputValueTextColor]: refs.valueTextColor,
3885
- [vars$E.inputPlaceholderColor]: refs.placeholderTextColor,
3886
- [vars$E.inputBorderWidth]: refs.borderWidth,
3887
- [vars$E.inputBorderStyle]: refs.borderStyle,
3888
- [vars$E.inputBorderColor]: refs.borderColor,
3889
- [vars$E.inputBorderRadius]: refs.borderRadius,
3890
- [vars$E.inputOutlineWidth]: refs.outlineWidth,
3891
- [vars$E.inputOutlineStyle]: refs.outlineStyle,
3892
- [vars$E.inputOutlineColor]: refs.outlineColor,
3893
- [vars$E.inputOutlineOffset]: refs.outlineOffset,
3894
- [vars$E.inputBackgroundColor]: refs.backgroundColor,
3895
- [vars$E.labelRequiredIndicator]: refs.requiredIndicator,
3896
- [vars$E.inputHorizontalPadding]: refs.horizontalPadding,
3897
- [vars$E.inputHeight]: refs.inputHeight,
3898
- [vars$E.labelPosition]: refs.labelPosition,
3899
- [vars$E.labelTopPosition]: refs.labelTopPosition,
3900
- [vars$E.labelHorizontalPosition]: refs.labelHorizontalPosition,
3901
- [vars$E.inputTransformY]: refs.inputTransformY,
3902
- [vars$E.inputTransition]: refs.inputTransition,
3903
- [vars$E.marginInlineStart]: refs.marginInlineStart,
3904
- [vars$E.placeholderOpacity]: refs.placeholderOpacity,
3905
- [vars$E.inputVerticalAlignment]: refs.inputVerticalAlignment,
3906
- [vars$E.valueInputHeight]: refs.valueInputHeight,
3907
- [vars$E.valueInputMarginBottom]: refs.valueInputMarginBottom,
3953
+ [vars$H.hostWidth]: refs.width,
3954
+ [vars$H.hostMinWidth]: refs.minWidth,
3955
+ [vars$H.hostDirection]: refs.direction,
3956
+ [vars$H.fontSize]: refs.fontSize,
3957
+ [vars$H.fontFamily]: refs.fontFamily,
3958
+ [vars$H.labelFontSize]: refs.labelFontSize,
3959
+ [vars$H.labelFontWeight]: refs.labelFontWeight,
3960
+ [vars$H.labelTextColor]: refs.labelTextColor,
3961
+ [vars$H.errorMessageTextColor]: refs.errorMessageTextColor,
3962
+ [vars$H.inputValueTextColor]: refs.valueTextColor,
3963
+ [vars$H.inputPlaceholderColor]: refs.placeholderTextColor,
3964
+ [vars$H.inputBorderWidth]: refs.borderWidth,
3965
+ [vars$H.inputBorderStyle]: refs.borderStyle,
3966
+ [vars$H.inputBorderColor]: refs.borderColor,
3967
+ [vars$H.inputBorderRadius]: refs.borderRadius,
3968
+ [vars$H.inputOutlineWidth]: refs.outlineWidth,
3969
+ [vars$H.inputOutlineStyle]: refs.outlineStyle,
3970
+ [vars$H.inputOutlineColor]: refs.outlineColor,
3971
+ [vars$H.inputOutlineOffset]: refs.outlineOffset,
3972
+ [vars$H.inputBackgroundColor]: refs.backgroundColor,
3973
+ [vars$H.labelRequiredIndicator]: refs.requiredIndicator,
3974
+ [vars$H.inputHorizontalPadding]: refs.horizontalPadding,
3975
+ [vars$H.inputHeight]: refs.inputHeight,
3976
+ [vars$H.labelPosition]: refs.labelPosition,
3977
+ [vars$H.labelTopPosition]: refs.labelTopPosition,
3978
+ [vars$H.labelHorizontalPosition]: refs.labelHorizontalPosition,
3979
+ [vars$H.inputTransformY]: refs.inputTransformY,
3980
+ [vars$H.inputTransition]: refs.inputTransition,
3981
+ [vars$H.marginInlineStart]: refs.marginInlineStart,
3982
+ [vars$H.placeholderOpacity]: refs.placeholderOpacity,
3983
+ [vars$H.inputVerticalAlignment]: refs.inputVerticalAlignment,
3984
+ [vars$H.valueInputHeight]: refs.valueInputHeight,
3985
+ [vars$H.valueInputMarginBottom]: refs.valueInputMarginBottom,
3908
3986
  };
3909
3987
 
3910
3988
  var numberField$1 = /*#__PURE__*/Object.freeze({
3911
3989
  __proto__: null,
3912
3990
  default: numberField,
3913
- vars: vars$E
3991
+ vars: vars$H
3914
3992
  });
3915
3993
 
3916
- const componentName$M = getComponentName('email-field');
3994
+ const componentName$P = getComponentName('email-field');
3917
3995
 
3918
3996
  const defaultPattern = "^[\\w\\.\\%\\+\\-']+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$";
3919
3997
  const defaultAutocomplete = 'username';
3920
3998
 
3921
- const customMixin$8 = (superclass) =>
3999
+ const customMixin$a = (superclass) =>
3922
4000
  class EmailFieldMixinClass extends superclass {
3923
4001
  init() {
3924
4002
  super.init?.();
@@ -3939,7 +4017,7 @@ const EmailFieldClass = compose(
3939
4017
  draggableMixin,
3940
4018
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'], useProxyTargets: true }),
3941
4019
  componentNameValidationMixin,
3942
- customMixin$8
4020
+ customMixin$a
3943
4021
  )(
3944
4022
  createProxy({
3945
4023
  slots: ['', 'suffix'],
@@ -3970,55 +4048,55 @@ const EmailFieldClass = compose(
3970
4048
  }
3971
4049
  `,
3972
4050
  excludeAttrsSync: ['tabindex'],
3973
- componentName: componentName$M,
4051
+ componentName: componentName$P,
3974
4052
  })
3975
4053
  );
3976
4054
 
3977
- const vars$D = EmailFieldClass.cssVarList;
4055
+ const vars$G = EmailFieldClass.cssVarList;
3978
4056
 
3979
4057
  const emailField = {
3980
- [vars$D.hostWidth]: refs.width,
3981
- [vars$D.hostMinWidth]: refs.minWidth,
3982
- [vars$D.hostDirection]: refs.direction,
3983
- [vars$D.fontSize]: refs.fontSize,
3984
- [vars$D.fontFamily]: refs.fontFamily,
3985
- [vars$D.labelFontSize]: refs.labelFontSize,
3986
- [vars$D.labelFontWeight]: refs.labelFontWeight,
3987
- [vars$D.labelTextColor]: refs.labelTextColor,
3988
- [vars$D.errorMessageTextColor]: refs.errorMessageTextColor,
3989
- [vars$D.inputValueTextColor]: refs.valueTextColor,
3990
- [vars$D.labelRequiredIndicator]: refs.requiredIndicator,
3991
- [vars$D.inputPlaceholderColor]: refs.placeholderTextColor,
3992
- [vars$D.inputBorderWidth]: refs.borderWidth,
3993
- [vars$D.inputBorderStyle]: refs.borderStyle,
3994
- [vars$D.inputBorderColor]: refs.borderColor,
3995
- [vars$D.inputBorderRadius]: refs.borderRadius,
3996
- [vars$D.inputOutlineWidth]: refs.outlineWidth,
3997
- [vars$D.inputOutlineStyle]: refs.outlineStyle,
3998
- [vars$D.inputOutlineColor]: refs.outlineColor,
3999
- [vars$D.inputOutlineOffset]: refs.outlineOffset,
4000
- [vars$D.inputBackgroundColor]: refs.backgroundColor,
4001
- [vars$D.inputHorizontalPadding]: refs.horizontalPadding,
4002
- [vars$D.inputHeight]: refs.inputHeight,
4003
- [vars$D.labelPosition]: refs.labelPosition,
4004
- [vars$D.labelTopPosition]: refs.labelTopPosition,
4005
- [vars$D.labelHorizontalPosition]: refs.labelHorizontalPosition,
4006
- [vars$D.inputTransformY]: refs.inputTransformY,
4007
- [vars$D.inputTransition]: refs.inputTransition,
4008
- [vars$D.marginInlineStart]: refs.marginInlineStart,
4009
- [vars$D.placeholderOpacity]: refs.placeholderOpacity,
4010
- [vars$D.inputVerticalAlignment]: refs.inputVerticalAlignment,
4011
- [vars$D.valueInputHeight]: refs.valueInputHeight,
4012
- [vars$D.valueInputMarginBottom]: refs.valueInputMarginBottom,
4058
+ [vars$G.hostWidth]: refs.width,
4059
+ [vars$G.hostMinWidth]: refs.minWidth,
4060
+ [vars$G.hostDirection]: refs.direction,
4061
+ [vars$G.fontSize]: refs.fontSize,
4062
+ [vars$G.fontFamily]: refs.fontFamily,
4063
+ [vars$G.labelFontSize]: refs.labelFontSize,
4064
+ [vars$G.labelFontWeight]: refs.labelFontWeight,
4065
+ [vars$G.labelTextColor]: refs.labelTextColor,
4066
+ [vars$G.errorMessageTextColor]: refs.errorMessageTextColor,
4067
+ [vars$G.inputValueTextColor]: refs.valueTextColor,
4068
+ [vars$G.labelRequiredIndicator]: refs.requiredIndicator,
4069
+ [vars$G.inputPlaceholderColor]: refs.placeholderTextColor,
4070
+ [vars$G.inputBorderWidth]: refs.borderWidth,
4071
+ [vars$G.inputBorderStyle]: refs.borderStyle,
4072
+ [vars$G.inputBorderColor]: refs.borderColor,
4073
+ [vars$G.inputBorderRadius]: refs.borderRadius,
4074
+ [vars$G.inputOutlineWidth]: refs.outlineWidth,
4075
+ [vars$G.inputOutlineStyle]: refs.outlineStyle,
4076
+ [vars$G.inputOutlineColor]: refs.outlineColor,
4077
+ [vars$G.inputOutlineOffset]: refs.outlineOffset,
4078
+ [vars$G.inputBackgroundColor]: refs.backgroundColor,
4079
+ [vars$G.inputHorizontalPadding]: refs.horizontalPadding,
4080
+ [vars$G.inputHeight]: refs.inputHeight,
4081
+ [vars$G.labelPosition]: refs.labelPosition,
4082
+ [vars$G.labelTopPosition]: refs.labelTopPosition,
4083
+ [vars$G.labelHorizontalPosition]: refs.labelHorizontalPosition,
4084
+ [vars$G.inputTransformY]: refs.inputTransformY,
4085
+ [vars$G.inputTransition]: refs.inputTransition,
4086
+ [vars$G.marginInlineStart]: refs.marginInlineStart,
4087
+ [vars$G.placeholderOpacity]: refs.placeholderOpacity,
4088
+ [vars$G.inputVerticalAlignment]: refs.inputVerticalAlignment,
4089
+ [vars$G.valueInputHeight]: refs.valueInputHeight,
4090
+ [vars$G.valueInputMarginBottom]: refs.valueInputMarginBottom,
4013
4091
  };
4014
4092
 
4015
4093
  var emailField$1 = /*#__PURE__*/Object.freeze({
4016
4094
  __proto__: null,
4017
4095
  default: emailField,
4018
- vars: vars$D
4096
+ vars: vars$G
4019
4097
  });
4020
4098
 
4021
- const componentName$L = getComponentName('text-area');
4099
+ const componentName$O = getComponentName('text-area');
4022
4100
 
4023
4101
  const {
4024
4102
  host: host$k,
@@ -4094,49 +4172,49 @@ const TextAreaClass = compose(
4094
4172
  ${resetInputCursor('vaadin-text-area')}
4095
4173
  `,
4096
4174
  excludeAttrsSync: ['tabindex'],
4097
- componentName: componentName$L,
4175
+ componentName: componentName$O,
4098
4176
  })
4099
4177
  );
4100
4178
 
4101
- const vars$C = TextAreaClass.cssVarList;
4179
+ const vars$F = TextAreaClass.cssVarList;
4102
4180
 
4103
4181
  const textArea = {
4104
- [vars$C.hostWidth]: refs.width,
4105
- [vars$C.hostMinWidth]: refs.minWidth,
4106
- [vars$C.hostDirection]: refs.direction,
4107
- [vars$C.fontSize]: refs.fontSize,
4108
- [vars$C.fontFamily]: refs.fontFamily,
4109
- [vars$C.labelTextColor]: refs.labelTextColor,
4110
- [vars$C.labelRequiredIndicator]: refs.requiredIndicator,
4111
- [vars$C.errorMessageTextColor]: refs.errorMessageTextColor,
4112
- [vars$C.inputBackgroundColor]: refs.backgroundColor,
4113
- [vars$C.inputValueTextColor]: refs.valueTextColor,
4114
- [vars$C.inputPlaceholderTextColor]: refs.placeholderTextColor,
4115
- [vars$C.inputBorderRadius]: refs.borderRadius,
4116
- [vars$C.inputBorderWidth]: refs.borderWidth,
4117
- [vars$C.inputBorderStyle]: refs.borderStyle,
4118
- [vars$C.inputBorderColor]: refs.borderColor,
4119
- [vars$C.inputOutlineWidth]: refs.outlineWidth,
4120
- [vars$C.inputOutlineStyle]: refs.outlineStyle,
4121
- [vars$C.inputOutlineColor]: refs.outlineColor,
4122
- [vars$C.inputOutlineOffset]: refs.outlineOffset,
4123
- [vars$C.inputResizeType]: 'vertical',
4124
- [vars$C.inputMinHeight]: '5em',
4182
+ [vars$F.hostWidth]: refs.width,
4183
+ [vars$F.hostMinWidth]: refs.minWidth,
4184
+ [vars$F.hostDirection]: refs.direction,
4185
+ [vars$F.fontSize]: refs.fontSize,
4186
+ [vars$F.fontFamily]: refs.fontFamily,
4187
+ [vars$F.labelTextColor]: refs.labelTextColor,
4188
+ [vars$F.labelRequiredIndicator]: refs.requiredIndicator,
4189
+ [vars$F.errorMessageTextColor]: refs.errorMessageTextColor,
4190
+ [vars$F.inputBackgroundColor]: refs.backgroundColor,
4191
+ [vars$F.inputValueTextColor]: refs.valueTextColor,
4192
+ [vars$F.inputPlaceholderTextColor]: refs.placeholderTextColor,
4193
+ [vars$F.inputBorderRadius]: refs.borderRadius,
4194
+ [vars$F.inputBorderWidth]: refs.borderWidth,
4195
+ [vars$F.inputBorderStyle]: refs.borderStyle,
4196
+ [vars$F.inputBorderColor]: refs.borderColor,
4197
+ [vars$F.inputOutlineWidth]: refs.outlineWidth,
4198
+ [vars$F.inputOutlineStyle]: refs.outlineStyle,
4199
+ [vars$F.inputOutlineColor]: refs.outlineColor,
4200
+ [vars$F.inputOutlineOffset]: refs.outlineOffset,
4201
+ [vars$F.inputResizeType]: 'vertical',
4202
+ [vars$F.inputMinHeight]: '5em',
4125
4203
  textAlign: {
4126
- right: { [vars$C.inputTextAlign]: 'right' },
4127
- left: { [vars$C.inputTextAlign]: 'left' },
4128
- center: { [vars$C.inputTextAlign]: 'center' },
4204
+ right: { [vars$F.inputTextAlign]: 'right' },
4205
+ left: { [vars$F.inputTextAlign]: 'left' },
4206
+ center: { [vars$F.inputTextAlign]: 'center' },
4129
4207
  },
4130
4208
 
4131
4209
  _readonly: {
4132
- [vars$C.inputResizeType]: 'none',
4210
+ [vars$F.inputResizeType]: 'none',
4133
4211
  },
4134
4212
  };
4135
4213
 
4136
4214
  var textArea$1 = /*#__PURE__*/Object.freeze({
4137
4215
  __proto__: null,
4138
4216
  default: textArea,
4139
- vars: vars$C
4217
+ vars: vars$F
4140
4218
  });
4141
4219
 
4142
4220
  const createBaseInputClass = (...args) =>
@@ -4147,9 +4225,9 @@ const createBaseInputClass = (...args) =>
4147
4225
  inputEventsDispatchingMixin
4148
4226
  )(createBaseClass(...args));
4149
4227
 
4150
- const componentName$K = getComponentName('boolean-field-internal');
4228
+ const componentName$N = getComponentName('boolean-field-internal');
4151
4229
 
4152
- createBaseInputClass({ componentName: componentName$K, baseSelector: 'div' });
4230
+ createBaseInputClass({ componentName: componentName$N, baseSelector: 'div' });
4153
4231
 
4154
4232
  const booleanFieldMixin = (superclass) =>
4155
4233
  class BooleanFieldMixinClass extends superclass {
@@ -4158,14 +4236,14 @@ const booleanFieldMixin = (superclass) =>
4158
4236
 
4159
4237
  const template = document.createElement('template');
4160
4238
  template.innerHTML = `
4161
- <${componentName$K}
4239
+ <${componentName$N}
4162
4240
  tabindex="-1"
4163
4241
  slot="input"
4164
- ></${componentName$K}>
4242
+ ></${componentName$N}>
4165
4243
  `;
4166
4244
 
4167
4245
  this.baseElement.appendChild(template.content.cloneNode(true));
4168
- this.inputElement = this.shadowRoot.querySelector(componentName$K);
4246
+ this.inputElement = this.shadowRoot.querySelector(componentName$N);
4169
4247
  this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
4170
4248
 
4171
4249
  forwardAttrs(this, this.inputElement, {
@@ -4235,7 +4313,7 @@ descope-boolean-field-internal {
4235
4313
  }
4236
4314
  `;
4237
4315
 
4238
- const componentName$J = getComponentName('checkbox');
4316
+ const componentName$M = getComponentName('checkbox');
4239
4317
 
4240
4318
  const {
4241
4319
  host: host$j,
@@ -4341,51 +4419,51 @@ const CheckboxClass = compose(
4341
4419
  }
4342
4420
  `,
4343
4421
  excludeAttrsSync: ['label', 'tabindex'],
4344
- componentName: componentName$J,
4422
+ componentName: componentName$M,
4345
4423
  })
4346
4424
  );
4347
4425
 
4348
- const vars$B = CheckboxClass.cssVarList;
4426
+ const vars$E = CheckboxClass.cssVarList;
4349
4427
  const checkboxSize = '1.35em';
4350
4428
 
4351
4429
  const checkbox = {
4352
- [vars$B.hostWidth]: refs.width,
4353
- [vars$B.hostDirection]: refs.direction,
4354
- [vars$B.fontSize]: refs.fontSize,
4355
- [vars$B.fontFamily]: refs.fontFamily,
4356
- [vars$B.labelTextColor]: refs.labelTextColor,
4357
- [vars$B.labelRequiredIndicator]: refs.requiredIndicator,
4358
- [vars$B.labelFontWeight]: '400',
4359
- [vars$B.labelLineHeight]: checkboxSize,
4360
- [vars$B.labelSpacing]: '1em',
4361
- [vars$B.errorMessageTextColor]: refs.errorMessageTextColor,
4362
- [vars$B.inputOutlineWidth]: refs.outlineWidth,
4363
- [vars$B.inputOutlineOffset]: refs.outlineOffset,
4364
- [vars$B.inputOutlineColor]: refs.outlineColor,
4365
- [vars$B.inputOutlineStyle]: refs.outlineStyle,
4366
- [vars$B.inputBorderRadius]: refs.borderRadius,
4367
- [vars$B.inputBorderColor]: refs.borderColor,
4368
- [vars$B.inputBorderWidth]: refs.borderWidth,
4369
- [vars$B.inputBorderStyle]: refs.borderStyle,
4370
- [vars$B.inputBackgroundColor]: refs.backgroundColor,
4371
- [vars$B.inputSize]: checkboxSize,
4430
+ [vars$E.hostWidth]: refs.width,
4431
+ [vars$E.hostDirection]: refs.direction,
4432
+ [vars$E.fontSize]: refs.fontSize,
4433
+ [vars$E.fontFamily]: refs.fontFamily,
4434
+ [vars$E.labelTextColor]: refs.labelTextColor,
4435
+ [vars$E.labelRequiredIndicator]: refs.requiredIndicator,
4436
+ [vars$E.labelFontWeight]: '400',
4437
+ [vars$E.labelLineHeight]: checkboxSize,
4438
+ [vars$E.labelSpacing]: '1em',
4439
+ [vars$E.errorMessageTextColor]: refs.errorMessageTextColor,
4440
+ [vars$E.inputOutlineWidth]: refs.outlineWidth,
4441
+ [vars$E.inputOutlineOffset]: refs.outlineOffset,
4442
+ [vars$E.inputOutlineColor]: refs.outlineColor,
4443
+ [vars$E.inputOutlineStyle]: refs.outlineStyle,
4444
+ [vars$E.inputBorderRadius]: refs.borderRadius,
4445
+ [vars$E.inputBorderColor]: refs.borderColor,
4446
+ [vars$E.inputBorderWidth]: refs.borderWidth,
4447
+ [vars$E.inputBorderStyle]: refs.borderStyle,
4448
+ [vars$E.inputBackgroundColor]: refs.backgroundColor,
4449
+ [vars$E.inputSize]: checkboxSize,
4372
4450
 
4373
4451
  _checked: {
4374
- [vars$B.inputValueTextColor]: refs.valueTextColor,
4452
+ [vars$E.inputValueTextColor]: refs.valueTextColor,
4375
4453
  },
4376
4454
 
4377
4455
  _disabled: {
4378
- [vars$B.labelTextColor]: refs.labelTextColor,
4456
+ [vars$E.labelTextColor]: refs.labelTextColor,
4379
4457
  },
4380
4458
  };
4381
4459
 
4382
4460
  var checkbox$1 = /*#__PURE__*/Object.freeze({
4383
4461
  __proto__: null,
4384
4462
  default: checkbox,
4385
- vars: vars$B
4463
+ vars: vars$E
4386
4464
  });
4387
4465
 
4388
- const componentName$I = getComponentName('switch-toggle');
4466
+ const componentName$L = getComponentName('switch-toggle');
4389
4467
 
4390
4468
  const {
4391
4469
  host: host$i,
@@ -4517,82 +4595,82 @@ const SwitchToggleClass = compose(
4517
4595
  }
4518
4596
  `,
4519
4597
  excludeAttrsSync: ['label', 'tabindex'],
4520
- componentName: componentName$I,
4598
+ componentName: componentName$L,
4521
4599
  })
4522
4600
  );
4523
4601
 
4524
4602
  const knobMargin = '2px';
4525
4603
  const checkboxHeight = '1.25em';
4526
4604
 
4527
- const globalRefs$o = getThemeRefs(globals);
4528
- const vars$A = SwitchToggleClass.cssVarList;
4605
+ const globalRefs$r = getThemeRefs(globals);
4606
+ const vars$D = SwitchToggleClass.cssVarList;
4529
4607
 
4530
4608
  const switchToggle = {
4531
- [vars$A.hostWidth]: refs.width,
4532
- [vars$A.hostDirection]: refs.direction,
4533
- [vars$A.fontSize]: refs.fontSize,
4534
- [vars$A.fontFamily]: refs.fontFamily,
4535
-
4536
- [vars$A.inputOutlineWidth]: refs.outlineWidth,
4537
- [vars$A.inputOutlineOffset]: refs.outlineOffset,
4538
- [vars$A.inputOutlineColor]: refs.outlineColor,
4539
- [vars$A.inputOutlineStyle]: refs.outlineStyle,
4540
-
4541
- [vars$A.trackBorderStyle]: refs.borderStyle,
4542
- [vars$A.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
4543
- [vars$A.trackBorderColor]: refs.borderColor,
4544
- [vars$A.trackBackgroundColor]: refs.backgroundColor,
4545
- [vars$A.trackBorderRadius]: globalRefs$o.radius.md,
4546
- [vars$A.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
4547
- [vars$A.trackHeight]: checkboxHeight,
4548
-
4549
- [vars$A.knobSize]: `calc(1em - ${knobMargin})`,
4550
- [vars$A.knobRadius]: '50%',
4551
- [vars$A.knobTopOffset]: '1px',
4552
- [vars$A.knobLeftOffset]: knobMargin,
4553
- [vars$A.knobColor]: refs.labelTextColor,
4554
- [vars$A.knobTransitionDuration]: '0.3s',
4555
-
4556
- [vars$A.labelTextColor]: refs.labelTextColor,
4557
- [vars$A.labelFontWeight]: '400',
4558
- [vars$A.labelLineHeight]: '1.35em',
4559
- [vars$A.labelSpacing]: '1em',
4560
- [vars$A.labelRequiredIndicator]: refs.requiredIndicator,
4561
- [vars$A.errorMessageTextColor]: refs.errorMessageTextColor,
4609
+ [vars$D.hostWidth]: refs.width,
4610
+ [vars$D.hostDirection]: refs.direction,
4611
+ [vars$D.fontSize]: refs.fontSize,
4612
+ [vars$D.fontFamily]: refs.fontFamily,
4613
+
4614
+ [vars$D.inputOutlineWidth]: refs.outlineWidth,
4615
+ [vars$D.inputOutlineOffset]: refs.outlineOffset,
4616
+ [vars$D.inputOutlineColor]: refs.outlineColor,
4617
+ [vars$D.inputOutlineStyle]: refs.outlineStyle,
4618
+
4619
+ [vars$D.trackBorderStyle]: refs.borderStyle,
4620
+ [vars$D.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
4621
+ [vars$D.trackBorderColor]: refs.borderColor,
4622
+ [vars$D.trackBackgroundColor]: refs.backgroundColor,
4623
+ [vars$D.trackBorderRadius]: globalRefs$r.radius.md,
4624
+ [vars$D.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
4625
+ [vars$D.trackHeight]: checkboxHeight,
4626
+
4627
+ [vars$D.knobSize]: `calc(1em - ${knobMargin})`,
4628
+ [vars$D.knobRadius]: '50%',
4629
+ [vars$D.knobTopOffset]: '1px',
4630
+ [vars$D.knobLeftOffset]: knobMargin,
4631
+ [vars$D.knobColor]: refs.labelTextColor,
4632
+ [vars$D.knobTransitionDuration]: '0.3s',
4633
+
4634
+ [vars$D.labelTextColor]: refs.labelTextColor,
4635
+ [vars$D.labelFontWeight]: '400',
4636
+ [vars$D.labelLineHeight]: '1.35em',
4637
+ [vars$D.labelSpacing]: '1em',
4638
+ [vars$D.labelRequiredIndicator]: refs.requiredIndicator,
4639
+ [vars$D.errorMessageTextColor]: refs.errorMessageTextColor,
4562
4640
 
4563
4641
  _checked: {
4564
- [vars$A.trackBorderColor]: refs.borderColor,
4565
- [vars$A.knobLeftOffset]: `calc(100% - var(${vars$A.knobSize}) - ${knobMargin})`,
4566
- [vars$A.knobColor]: refs.valueTextColor,
4567
- [vars$A.knobTextColor]: refs.valueTextColor,
4642
+ [vars$D.trackBorderColor]: refs.borderColor,
4643
+ [vars$D.knobLeftOffset]: `calc(100% - var(${vars$D.knobSize}) - ${knobMargin})`,
4644
+ [vars$D.knobColor]: refs.valueTextColor,
4645
+ [vars$D.knobTextColor]: refs.valueTextColor,
4568
4646
  },
4569
4647
 
4570
4648
  _disabled: {
4571
- [vars$A.knobColor]: globalRefs$o.colors.surface.light,
4572
- [vars$A.trackBorderColor]: globalRefs$o.colors.surface.light,
4573
- [vars$A.trackBackgroundColor]: globalRefs$o.colors.surface.main,
4574
- [vars$A.labelTextColor]: refs.labelTextColor,
4649
+ [vars$D.knobColor]: globalRefs$r.colors.surface.light,
4650
+ [vars$D.trackBorderColor]: globalRefs$r.colors.surface.light,
4651
+ [vars$D.trackBackgroundColor]: globalRefs$r.colors.surface.main,
4652
+ [vars$D.labelTextColor]: refs.labelTextColor,
4575
4653
  _checked: {
4576
- [vars$A.knobColor]: globalRefs$o.colors.surface.light,
4577
- [vars$A.trackBackgroundColor]: globalRefs$o.colors.surface.main,
4654
+ [vars$D.knobColor]: globalRefs$r.colors.surface.light,
4655
+ [vars$D.trackBackgroundColor]: globalRefs$r.colors.surface.main,
4578
4656
  },
4579
4657
  },
4580
4658
 
4581
4659
  _invalid: {
4582
- [vars$A.trackBorderColor]: globalRefs$o.colors.error.main,
4583
- [vars$A.knobColor]: globalRefs$o.colors.error.main,
4660
+ [vars$D.trackBorderColor]: globalRefs$r.colors.error.main,
4661
+ [vars$D.knobColor]: globalRefs$r.colors.error.main,
4584
4662
  },
4585
4663
  };
4586
4664
 
4587
4665
  var switchToggle$1 = /*#__PURE__*/Object.freeze({
4588
4666
  __proto__: null,
4589
4667
  default: switchToggle,
4590
- vars: vars$A
4668
+ vars: vars$D
4591
4669
  });
4592
4670
 
4593
- const componentName$H = getComponentName('container');
4671
+ const componentName$K = getComponentName('container');
4594
4672
 
4595
- class RawContainer extends createBaseClass({ componentName: componentName$H, baseSelector: 'slot' }) {
4673
+ class RawContainer extends createBaseClass({ componentName: componentName$K, baseSelector: 'slot' }) {
4596
4674
  constructor() {
4597
4675
  super();
4598
4676
 
@@ -4645,9 +4723,9 @@ const ContainerClass = compose(
4645
4723
  componentNameValidationMixin
4646
4724
  )(RawContainer);
4647
4725
 
4648
- const globalRefs$n = getThemeRefs(globals);
4726
+ const globalRefs$q = getThemeRefs(globals);
4649
4727
 
4650
- const compVars$4 = ContainerClass.cssVarList;
4728
+ const compVars$5 = ContainerClass.cssVarList;
4651
4729
 
4652
4730
  const verticalAlignment = {
4653
4731
  start: { verticalAlignment: 'start' },
@@ -4661,108 +4739,108 @@ const horizontalAlignment = {
4661
4739
  end: { horizontalAlignment: 'end' },
4662
4740
  };
4663
4741
 
4664
- const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
4742
+ const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars(
4665
4743
  {
4666
4744
  verticalAlignment,
4667
4745
  horizontalAlignment,
4668
4746
  shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
4669
4747
  },
4670
- componentName$H
4748
+ componentName$K
4671
4749
  );
4672
4750
 
4673
- const { shadowColor: shadowColor$1 } = helperRefs$2;
4751
+ const { shadowColor: shadowColor$2 } = helperRefs$3;
4674
4752
 
4675
4753
  const container = {
4676
- ...helperTheme$2,
4754
+ ...helperTheme$3,
4677
4755
 
4678
- [compVars$4.itemsGrow]: '0',
4679
- [compVars$4.hostWidth]: '100%',
4680
- [compVars$4.boxShadow]: 'none',
4681
- [compVars$4.backgroundColor]: globalRefs$n.colors.surface.main,
4682
- [compVars$4.color]: globalRefs$n.colors.surface.contrast,
4683
- [compVars$4.borderRadius]: '0px',
4684
- [compVars$4.hostDirection]: globalRefs$n.direction,
4756
+ [compVars$5.itemsGrow]: '0',
4757
+ [compVars$5.hostWidth]: '100%',
4758
+ [compVars$5.boxShadow]: 'none',
4759
+ [compVars$5.backgroundColor]: globalRefs$q.colors.surface.main,
4760
+ [compVars$5.color]: globalRefs$q.colors.surface.contrast,
4761
+ [compVars$5.borderRadius]: '0px',
4762
+ [compVars$5.hostDirection]: globalRefs$q.direction,
4685
4763
 
4686
4764
  verticalPadding: {
4687
- sm: { [compVars$4.verticalPadding]: '5px' },
4688
- md: { [compVars$4.verticalPadding]: '10px' },
4689
- lg: { [compVars$4.verticalPadding]: '20px' },
4765
+ sm: { [compVars$5.verticalPadding]: '5px' },
4766
+ md: { [compVars$5.verticalPadding]: '10px' },
4767
+ lg: { [compVars$5.verticalPadding]: '20px' },
4690
4768
  },
4691
4769
 
4692
4770
  horizontalPadding: {
4693
- sm: { [compVars$4.horizontalPadding]: '5px' },
4694
- md: { [compVars$4.horizontalPadding]: '10px' },
4695
- lg: { [compVars$4.horizontalPadding]: '20px' },
4771
+ sm: { [compVars$5.horizontalPadding]: '5px' },
4772
+ md: { [compVars$5.horizontalPadding]: '10px' },
4773
+ lg: { [compVars$5.horizontalPadding]: '20px' },
4696
4774
  },
4697
4775
 
4698
4776
  direction: {
4699
4777
  row: {
4700
- [compVars$4.flexDirection]: 'row',
4701
- [compVars$4.alignItems]: helperRefs$2.verticalAlignment,
4702
- [compVars$4.justifyContent]: helperRefs$2.horizontalAlignment,
4703
- [compVars$4.flexWrap]: 'wrap',
4778
+ [compVars$5.flexDirection]: 'row',
4779
+ [compVars$5.alignItems]: helperRefs$3.verticalAlignment,
4780
+ [compVars$5.justifyContent]: helperRefs$3.horizontalAlignment,
4781
+ [compVars$5.flexWrap]: 'wrap',
4704
4782
  horizontalAlignment: {
4705
4783
  spaceBetween: {
4706
- [helperVars$2.horizontalAlignment]: 'space-between',
4784
+ [helperVars$3.horizontalAlignment]: 'space-between',
4707
4785
  },
4708
4786
  },
4709
4787
  },
4710
4788
  column: {
4711
- [compVars$4.flexDirection]: 'column',
4712
- [compVars$4.alignItems]: helperRefs$2.horizontalAlignment,
4713
- [compVars$4.justifyContent]: helperRefs$2.verticalAlignment,
4789
+ [compVars$5.flexDirection]: 'column',
4790
+ [compVars$5.alignItems]: helperRefs$3.horizontalAlignment,
4791
+ [compVars$5.justifyContent]: helperRefs$3.verticalAlignment,
4714
4792
  verticalAlignment: {
4715
4793
  spaceBetween: {
4716
- [helperVars$2.verticalAlignment]: 'space-between',
4794
+ [helperVars$3.verticalAlignment]: 'space-between',
4717
4795
  },
4718
4796
  },
4719
4797
  },
4720
4798
  },
4721
4799
 
4722
4800
  spaceBetween: {
4723
- sm: { [compVars$4.gap]: '10px' },
4724
- md: { [compVars$4.gap]: '20px' },
4725
- lg: { [compVars$4.gap]: '30px' },
4801
+ sm: { [compVars$5.gap]: '10px' },
4802
+ md: { [compVars$5.gap]: '20px' },
4803
+ lg: { [compVars$5.gap]: '30px' },
4726
4804
  },
4727
4805
 
4728
4806
  shadow: {
4729
4807
  sm: {
4730
- [compVars$4.boxShadow]: `${globalRefs$n.shadow.wide.sm} ${shadowColor$1}, ${globalRefs$n.shadow.narrow.sm} ${shadowColor$1}`,
4808
+ [compVars$5.boxShadow]: `${globalRefs$q.shadow.wide.sm} ${shadowColor$2}, ${globalRefs$q.shadow.narrow.sm} ${shadowColor$2}`,
4731
4809
  },
4732
4810
  md: {
4733
- [compVars$4.boxShadow]: `${globalRefs$n.shadow.wide.md} ${shadowColor$1}, ${globalRefs$n.shadow.narrow.md} ${shadowColor$1}`,
4811
+ [compVars$5.boxShadow]: `${globalRefs$q.shadow.wide.md} ${shadowColor$2}, ${globalRefs$q.shadow.narrow.md} ${shadowColor$2}`,
4734
4812
  },
4735
4813
  lg: {
4736
- [compVars$4.boxShadow]: `${globalRefs$n.shadow.wide.lg} ${shadowColor$1}, ${globalRefs$n.shadow.narrow.lg} ${shadowColor$1}`,
4814
+ [compVars$5.boxShadow]: `${globalRefs$q.shadow.wide.lg} ${shadowColor$2}, ${globalRefs$q.shadow.narrow.lg} ${shadowColor$2}`,
4737
4815
  },
4738
4816
  xl: {
4739
- [compVars$4.boxShadow]: `${globalRefs$n.shadow.wide.xl} ${shadowColor$1}, ${globalRefs$n.shadow.narrow.xl} ${shadowColor$1}`,
4817
+ [compVars$5.boxShadow]: `${globalRefs$q.shadow.wide.xl} ${shadowColor$2}, ${globalRefs$q.shadow.narrow.xl} ${shadowColor$2}`,
4740
4818
  },
4741
4819
  '2xl': {
4742
- [helperVars$2.shadowColor]: '#00000050', // mimic daisyUI shadow settings
4743
- [compVars$4.boxShadow]: `${globalRefs$n.shadow.wide['2xl']} ${shadowColor$1}`,
4820
+ [helperVars$3.shadowColor]: '#00000050', // mimic daisyUI shadow settings
4821
+ [compVars$5.boxShadow]: `${globalRefs$q.shadow.wide['2xl']} ${shadowColor$2}`,
4744
4822
  },
4745
4823
  },
4746
4824
 
4747
4825
  borderRadius: {
4748
- sm: { [compVars$4.borderRadius]: globalRefs$n.radius.sm },
4749
- md: { [compVars$4.borderRadius]: globalRefs$n.radius.md },
4750
- lg: { [compVars$4.borderRadius]: globalRefs$n.radius.lg },
4751
- xl: { [compVars$4.borderRadius]: globalRefs$n.radius.xl },
4752
- '2xl': { [compVars$4.borderRadius]: globalRefs$n.radius['2xl'] },
4753
- '3xl': { [compVars$4.borderRadius]: globalRefs$n.radius['3xl'] },
4826
+ sm: { [compVars$5.borderRadius]: globalRefs$q.radius.sm },
4827
+ md: { [compVars$5.borderRadius]: globalRefs$q.radius.md },
4828
+ lg: { [compVars$5.borderRadius]: globalRefs$q.radius.lg },
4829
+ xl: { [compVars$5.borderRadius]: globalRefs$q.radius.xl },
4830
+ '2xl': { [compVars$5.borderRadius]: globalRefs$q.radius['2xl'] },
4831
+ '3xl': { [compVars$5.borderRadius]: globalRefs$q.radius['3xl'] },
4754
4832
  },
4755
4833
  };
4756
4834
 
4757
- const vars$z = {
4758
- ...compVars$4,
4759
- ...helperVars$2,
4760
- };
4835
+ const vars$C = {
4836
+ ...compVars$5,
4837
+ ...helperVars$3,
4838
+ };
4761
4839
 
4762
4840
  var container$1 = /*#__PURE__*/Object.freeze({
4763
4841
  __proto__: null,
4764
4842
  default: container,
4765
- vars: vars$z
4843
+ vars: vars$C
4766
4844
  });
4767
4845
 
4768
4846
  const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
@@ -4815,69 +4893,69 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
4815
4893
  return CssVarImageClass;
4816
4894
  };
4817
4895
 
4818
- const componentName$G = getComponentName('logo');
4896
+ const componentName$J = getComponentName('logo');
4819
4897
 
4820
4898
  const LogoClass = createCssVarImageClass({
4821
- componentName: componentName$G,
4899
+ componentName: componentName$J,
4822
4900
  varName: 'url',
4823
4901
  fallbackVarName: 'fallbackUrl',
4824
4902
  });
4825
4903
 
4826
- const vars$y = LogoClass.cssVarList;
4904
+ const vars$B = LogoClass.cssVarList;
4827
4905
 
4828
4906
  const logo$2 = {
4829
- [vars$y.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
4907
+ [vars$B.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
4830
4908
  };
4831
4909
 
4832
4910
  var logo$3 = /*#__PURE__*/Object.freeze({
4833
4911
  __proto__: null,
4834
4912
  default: logo$2,
4835
- vars: vars$y
4913
+ vars: vars$B
4836
4914
  });
4837
4915
 
4838
- const componentName$F = getComponentName('totp-image');
4916
+ const componentName$I = getComponentName('totp-image');
4839
4917
 
4840
4918
  const TotpImageClass = createCssVarImageClass({
4841
- componentName: componentName$F,
4919
+ componentName: componentName$I,
4842
4920
  varName: 'url',
4843
4921
  fallbackVarName: 'fallbackUrl',
4844
4922
  });
4845
4923
 
4846
- const vars$x = TotpImageClass.cssVarList;
4924
+ const vars$A = TotpImageClass.cssVarList;
4847
4925
 
4848
4926
  const logo$1 = {
4849
- [vars$x.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
4927
+ [vars$A.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
4850
4928
  };
4851
4929
 
4852
4930
  var totpImage = /*#__PURE__*/Object.freeze({
4853
4931
  __proto__: null,
4854
4932
  default: logo$1,
4855
- vars: vars$x
4933
+ vars: vars$A
4856
4934
  });
4857
4935
 
4858
- const componentName$E = getComponentName('notp-image');
4936
+ const componentName$H = getComponentName('notp-image');
4859
4937
 
4860
4938
  const NotpImageClass = createCssVarImageClass({
4861
- componentName: componentName$E,
4939
+ componentName: componentName$H,
4862
4940
  varName: 'url',
4863
4941
  fallbackVarName: 'fallbackUrl',
4864
4942
  });
4865
4943
 
4866
- const vars$w = NotpImageClass.cssVarList;
4944
+ const vars$z = NotpImageClass.cssVarList;
4867
4945
 
4868
4946
  const logo = {
4869
- [vars$w.fallbackUrl]: 'url(https://imgs.descope.com/components/notp-placeholder.svg)',
4947
+ [vars$z.fallbackUrl]: 'url(https://imgs.descope.com/components/notp-placeholder.svg)',
4870
4948
  };
4871
4949
 
4872
4950
  var notpImage = /*#__PURE__*/Object.freeze({
4873
4951
  __proto__: null,
4874
4952
  default: logo,
4875
- vars: vars$w
4953
+ vars: vars$z
4876
4954
  });
4877
4955
 
4878
- const componentName$D = getComponentName('text');
4956
+ const componentName$G = getComponentName('text');
4879
4957
 
4880
- class RawText extends createBaseClass({ componentName: componentName$D, baseSelector: ':host > slot' }) {
4958
+ class RawText extends createBaseClass({ componentName: componentName$G, baseSelector: ':host > slot' }) {
4881
4959
  constructor() {
4882
4960
  super();
4883
4961
 
@@ -4934,95 +5012,95 @@ const TextClass = compose(
4934
5012
  componentNameValidationMixin
4935
5013
  )(RawText);
4936
5014
 
4937
- const globalRefs$m = getThemeRefs(globals);
4938
- const vars$v = TextClass.cssVarList;
5015
+ const globalRefs$p = getThemeRefs(globals);
5016
+ const vars$y = TextClass.cssVarList;
4939
5017
 
4940
5018
  const text$2 = {
4941
- [vars$v.hostDirection]: globalRefs$m.direction,
4942
- [vars$v.textLineHeight]: '1.35em',
4943
- [vars$v.textAlign]: 'left',
4944
- [vars$v.textColor]: globalRefs$m.colors.surface.dark,
5019
+ [vars$y.hostDirection]: globalRefs$p.direction,
5020
+ [vars$y.textLineHeight]: '1.35em',
5021
+ [vars$y.textAlign]: 'left',
5022
+ [vars$y.textColor]: globalRefs$p.colors.surface.dark,
4945
5023
 
4946
5024
  variant: {
4947
5025
  h1: {
4948
- [vars$v.fontSize]: globalRefs$m.typography.h1.size,
4949
- [vars$v.fontWeight]: globalRefs$m.typography.h1.weight,
4950
- [vars$v.fontFamily]: globalRefs$m.typography.h1.font,
5026
+ [vars$y.fontSize]: globalRefs$p.typography.h1.size,
5027
+ [vars$y.fontWeight]: globalRefs$p.typography.h1.weight,
5028
+ [vars$y.fontFamily]: globalRefs$p.typography.h1.font,
4951
5029
  },
4952
5030
  h2: {
4953
- [vars$v.fontSize]: globalRefs$m.typography.h2.size,
4954
- [vars$v.fontWeight]: globalRefs$m.typography.h2.weight,
4955
- [vars$v.fontFamily]: globalRefs$m.typography.h2.font,
5031
+ [vars$y.fontSize]: globalRefs$p.typography.h2.size,
5032
+ [vars$y.fontWeight]: globalRefs$p.typography.h2.weight,
5033
+ [vars$y.fontFamily]: globalRefs$p.typography.h2.font,
4956
5034
  },
4957
5035
  h3: {
4958
- [vars$v.fontSize]: globalRefs$m.typography.h3.size,
4959
- [vars$v.fontWeight]: globalRefs$m.typography.h3.weight,
4960
- [vars$v.fontFamily]: globalRefs$m.typography.h3.font,
5036
+ [vars$y.fontSize]: globalRefs$p.typography.h3.size,
5037
+ [vars$y.fontWeight]: globalRefs$p.typography.h3.weight,
5038
+ [vars$y.fontFamily]: globalRefs$p.typography.h3.font,
4961
5039
  },
4962
5040
  subtitle1: {
4963
- [vars$v.fontSize]: globalRefs$m.typography.subtitle1.size,
4964
- [vars$v.fontWeight]: globalRefs$m.typography.subtitle1.weight,
4965
- [vars$v.fontFamily]: globalRefs$m.typography.subtitle1.font,
5041
+ [vars$y.fontSize]: globalRefs$p.typography.subtitle1.size,
5042
+ [vars$y.fontWeight]: globalRefs$p.typography.subtitle1.weight,
5043
+ [vars$y.fontFamily]: globalRefs$p.typography.subtitle1.font,
4966
5044
  },
4967
5045
  subtitle2: {
4968
- [vars$v.fontSize]: globalRefs$m.typography.subtitle2.size,
4969
- [vars$v.fontWeight]: globalRefs$m.typography.subtitle2.weight,
4970
- [vars$v.fontFamily]: globalRefs$m.typography.subtitle2.font,
5046
+ [vars$y.fontSize]: globalRefs$p.typography.subtitle2.size,
5047
+ [vars$y.fontWeight]: globalRefs$p.typography.subtitle2.weight,
5048
+ [vars$y.fontFamily]: globalRefs$p.typography.subtitle2.font,
4971
5049
  },
4972
5050
  body1: {
4973
- [vars$v.fontSize]: globalRefs$m.typography.body1.size,
4974
- [vars$v.fontWeight]: globalRefs$m.typography.body1.weight,
4975
- [vars$v.fontFamily]: globalRefs$m.typography.body1.font,
5051
+ [vars$y.fontSize]: globalRefs$p.typography.body1.size,
5052
+ [vars$y.fontWeight]: globalRefs$p.typography.body1.weight,
5053
+ [vars$y.fontFamily]: globalRefs$p.typography.body1.font,
4976
5054
  },
4977
5055
  body2: {
4978
- [vars$v.fontSize]: globalRefs$m.typography.body2.size,
4979
- [vars$v.fontWeight]: globalRefs$m.typography.body2.weight,
4980
- [vars$v.fontFamily]: globalRefs$m.typography.body2.font,
5056
+ [vars$y.fontSize]: globalRefs$p.typography.body2.size,
5057
+ [vars$y.fontWeight]: globalRefs$p.typography.body2.weight,
5058
+ [vars$y.fontFamily]: globalRefs$p.typography.body2.font,
4981
5059
  },
4982
5060
  },
4983
5061
 
4984
5062
  mode: {
4985
5063
  primary: {
4986
- [vars$v.textColor]: globalRefs$m.colors.surface.contrast,
5064
+ [vars$y.textColor]: globalRefs$p.colors.surface.contrast,
4987
5065
  },
4988
5066
  secondary: {
4989
- [vars$v.textColor]: globalRefs$m.colors.surface.dark,
5067
+ [vars$y.textColor]: globalRefs$p.colors.surface.dark,
4990
5068
  },
4991
5069
  error: {
4992
- [vars$v.textColor]: globalRefs$m.colors.error.main,
5070
+ [vars$y.textColor]: globalRefs$p.colors.error.main,
4993
5071
  },
4994
5072
  success: {
4995
- [vars$v.textColor]: globalRefs$m.colors.success.main,
5073
+ [vars$y.textColor]: globalRefs$p.colors.success.main,
4996
5074
  },
4997
5075
  },
4998
5076
 
4999
5077
  textAlign: {
5000
- right: { [vars$v.textAlign]: 'right' },
5001
- left: { [vars$v.textAlign]: 'left' },
5002
- center: { [vars$v.textAlign]: 'center' },
5078
+ right: { [vars$y.textAlign]: 'right' },
5079
+ left: { [vars$y.textAlign]: 'left' },
5080
+ center: { [vars$y.textAlign]: 'center' },
5003
5081
  },
5004
5082
 
5005
5083
  _fullWidth: {
5006
- [vars$v.hostWidth]: '100%',
5084
+ [vars$y.hostWidth]: '100%',
5007
5085
  },
5008
5086
 
5009
5087
  _italic: {
5010
- [vars$v.fontStyle]: 'italic',
5088
+ [vars$y.fontStyle]: 'italic',
5011
5089
  },
5012
5090
 
5013
5091
  _uppercase: {
5014
- [vars$v.textTransform]: 'uppercase',
5092
+ [vars$y.textTransform]: 'uppercase',
5015
5093
  },
5016
5094
 
5017
5095
  _lowercase: {
5018
- [vars$v.textTransform]: 'lowercase',
5096
+ [vars$y.textTransform]: 'lowercase',
5019
5097
  },
5020
5098
  };
5021
5099
 
5022
5100
  var text$3 = /*#__PURE__*/Object.freeze({
5023
5101
  __proto__: null,
5024
5102
  default: text$2,
5025
- vars: vars$v
5103
+ vars: vars$y
5026
5104
  });
5027
5105
 
5028
5106
  const disableRules = [
@@ -5048,9 +5126,9 @@ const decodeHTML = (html) => {
5048
5126
 
5049
5127
  /* eslint-disable no-param-reassign */
5050
5128
 
5051
- const componentName$C = getComponentName('enriched-text');
5129
+ const componentName$F = getComponentName('enriched-text');
5052
5130
 
5053
- class EnrichedText extends createBaseClass({ componentName: componentName$C, baseSelector: ':host > div' }) {
5131
+ class EnrichedText extends createBaseClass({ componentName: componentName$F, baseSelector: ':host > div' }) {
5054
5132
  #origLinkRenderer;
5055
5133
 
5056
5134
  #origEmRenderer;
@@ -5240,9 +5318,9 @@ const EnrichedTextClass = compose(
5240
5318
  componentNameValidationMixin
5241
5319
  )(EnrichedText);
5242
5320
 
5243
- const componentName$B = getComponentName('link');
5321
+ const componentName$E = getComponentName('link');
5244
5322
 
5245
- class RawLink extends createBaseClass({ componentName: componentName$B, baseSelector: ':host a' }) {
5323
+ class RawLink extends createBaseClass({ componentName: componentName$E, baseSelector: ':host a' }) {
5246
5324
  constructor() {
5247
5325
  super();
5248
5326
 
@@ -5306,38 +5384,38 @@ const LinkClass = compose(
5306
5384
  componentNameValidationMixin
5307
5385
  )(RawLink);
5308
5386
 
5309
- const globalRefs$l = getThemeRefs(globals);
5310
- const vars$u = LinkClass.cssVarList;
5387
+ const globalRefs$o = getThemeRefs(globals);
5388
+ const vars$x = LinkClass.cssVarList;
5311
5389
 
5312
5390
  const link$1 = {
5313
- [vars$u.hostDirection]: globalRefs$l.direction,
5314
- [vars$u.cursor]: 'pointer',
5391
+ [vars$x.hostDirection]: globalRefs$o.direction,
5392
+ [vars$x.cursor]: 'pointer',
5315
5393
 
5316
- [vars$u.textColor]: globalRefs$l.colors.primary.main,
5394
+ [vars$x.textColor]: globalRefs$o.colors.primary.main,
5317
5395
 
5318
5396
  textAlign: {
5319
- right: { [vars$u.textAlign]: 'right' },
5320
- left: { [vars$u.textAlign]: 'left' },
5321
- center: { [vars$u.textAlign]: 'center' },
5397
+ right: { [vars$x.textAlign]: 'right' },
5398
+ left: { [vars$x.textAlign]: 'left' },
5399
+ center: { [vars$x.textAlign]: 'center' },
5322
5400
  },
5323
5401
 
5324
5402
  _fullWidth: {
5325
- [vars$u.hostWidth]: '100%',
5403
+ [vars$x.hostWidth]: '100%',
5326
5404
  },
5327
5405
 
5328
5406
  _hover: {
5329
- [vars$u.textDecoration]: 'underline',
5407
+ [vars$x.textDecoration]: 'underline',
5330
5408
  },
5331
5409
 
5332
5410
  mode: {
5333
5411
  secondary: {
5334
- [vars$u.textColor]: globalRefs$l.colors.secondary.main,
5412
+ [vars$x.textColor]: globalRefs$o.colors.secondary.main,
5335
5413
  },
5336
5414
  error: {
5337
- [vars$u.textColor]: globalRefs$l.colors.error.main,
5415
+ [vars$x.textColor]: globalRefs$o.colors.error.main,
5338
5416
  },
5339
5417
  success: {
5340
- [vars$u.textColor]: globalRefs$l.colors.success.main,
5418
+ [vars$x.textColor]: globalRefs$o.colors.success.main,
5341
5419
  },
5342
5420
  },
5343
5421
  };
@@ -5345,41 +5423,41 @@ const link$1 = {
5345
5423
  var link$2 = /*#__PURE__*/Object.freeze({
5346
5424
  __proto__: null,
5347
5425
  default: link$1,
5348
- vars: vars$u
5426
+ vars: vars$x
5349
5427
  });
5350
5428
 
5351
- const globalRefs$k = getThemeRefs(globals);
5352
- const vars$t = EnrichedTextClass.cssVarList;
5429
+ const globalRefs$n = getThemeRefs(globals);
5430
+ const vars$w = EnrichedTextClass.cssVarList;
5353
5431
 
5354
5432
  const enrichedText = {
5355
- [vars$t.hostDirection]: globalRefs$k.direction,
5356
- [vars$t.hostWidth]: useVar(vars$v.hostWidth),
5433
+ [vars$w.hostDirection]: globalRefs$n.direction,
5434
+ [vars$w.hostWidth]: useVar(vars$y.hostWidth),
5357
5435
 
5358
- [vars$t.textLineHeight]: useVar(vars$v.textLineHeight),
5359
- [vars$t.textColor]: useVar(vars$v.textColor),
5360
- [vars$t.textAlign]: useVar(vars$v.textAlign),
5436
+ [vars$w.textLineHeight]: useVar(vars$y.textLineHeight),
5437
+ [vars$w.textColor]: useVar(vars$y.textColor),
5438
+ [vars$w.textAlign]: useVar(vars$y.textAlign),
5361
5439
 
5362
- [vars$t.fontSize]: useVar(vars$v.fontSize),
5363
- [vars$t.fontWeight]: useVar(vars$v.fontWeight),
5364
- [vars$t.fontFamily]: useVar(vars$v.fontFamily),
5440
+ [vars$w.fontSize]: useVar(vars$y.fontSize),
5441
+ [vars$w.fontWeight]: useVar(vars$y.fontWeight),
5442
+ [vars$w.fontFamily]: useVar(vars$y.fontFamily),
5365
5443
 
5366
- [vars$t.linkColor]: useVar(vars$u.textColor),
5367
- [vars$t.linkTextDecoration]: 'none',
5368
- [vars$t.linkHoverTextDecoration]: 'underline',
5444
+ [vars$w.linkColor]: useVar(vars$x.textColor),
5445
+ [vars$w.linkTextDecoration]: 'none',
5446
+ [vars$w.linkHoverTextDecoration]: 'underline',
5369
5447
 
5370
- [vars$t.fontWeightBold]: '900',
5371
- [vars$t.minWidth]: '0.25em',
5372
- [vars$t.minHeight]: '1.35em',
5448
+ [vars$w.fontWeightBold]: '900',
5449
+ [vars$w.minWidth]: '0.25em',
5450
+ [vars$w.minHeight]: '1.35em',
5373
5451
  };
5374
5452
 
5375
5453
  var enrichedText$1 = /*#__PURE__*/Object.freeze({
5376
5454
  __proto__: null,
5377
5455
  default: enrichedText,
5378
- vars: vars$t
5456
+ vars: vars$w
5379
5457
  });
5380
5458
 
5381
- const componentName$A = getComponentName('divider');
5382
- class RawDivider extends createBaseClass({ componentName: componentName$A, baseSelector: ':host > div' }) {
5459
+ const componentName$D = getComponentName('divider');
5460
+ class RawDivider extends createBaseClass({ componentName: componentName$D, baseSelector: ':host > div' }) {
5383
5461
  constructor() {
5384
5462
  super();
5385
5463
 
@@ -5478,65 +5556,65 @@ const DividerClass = compose(
5478
5556
  componentNameValidationMixin
5479
5557
  )(RawDivider);
5480
5558
 
5481
- const globalRefs$j = getThemeRefs(globals);
5482
- const compVars$3 = DividerClass.cssVarList;
5559
+ const globalRefs$m = getThemeRefs(globals);
5560
+ const compVars$4 = DividerClass.cssVarList;
5483
5561
 
5484
- const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
5562
+ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
5485
5563
  {
5486
5564
  thickness: '2px',
5487
5565
  spacing: '10px',
5488
5566
  },
5489
- componentName$A
5567
+ componentName$D
5490
5568
  );
5491
5569
 
5492
5570
  const divider = {
5493
- ...helperTheme$1,
5571
+ ...helperTheme$2,
5494
5572
 
5495
- [compVars$3.hostDirection]: globalRefs$j.direction,
5496
- [compVars$3.alignItems]: 'center',
5497
- [compVars$3.flexDirection]: 'row',
5498
- [compVars$3.alignSelf]: 'stretch',
5499
- [compVars$3.hostWidth]: '100%',
5500
- [compVars$3.stripeColor]: globalRefs$j.colors.surface.light,
5501
- [compVars$3.stripeColorOpacity]: '0.5',
5502
- [compVars$3.stripeHorizontalThickness]: helperRefs$1.thickness,
5503
- [compVars$3.labelTextWidth]: 'fit-content',
5504
- [compVars$3.labelTextMaxWidth]: 'calc(100% - 100px)',
5505
- [compVars$3.labelTextHorizontalSpacing]: helperRefs$1.spacing,
5506
- [compVars$3.textAlign]: 'center',
5573
+ [compVars$4.hostDirection]: globalRefs$m.direction,
5574
+ [compVars$4.alignItems]: 'center',
5575
+ [compVars$4.flexDirection]: 'row',
5576
+ [compVars$4.alignSelf]: 'stretch',
5577
+ [compVars$4.hostWidth]: '100%',
5578
+ [compVars$4.stripeColor]: globalRefs$m.colors.surface.light,
5579
+ [compVars$4.stripeColorOpacity]: '0.5',
5580
+ [compVars$4.stripeHorizontalThickness]: helperRefs$2.thickness,
5581
+ [compVars$4.labelTextWidth]: 'fit-content',
5582
+ [compVars$4.labelTextMaxWidth]: 'calc(100% - 100px)',
5583
+ [compVars$4.labelTextHorizontalSpacing]: helperRefs$2.spacing,
5584
+ [compVars$4.textAlign]: 'center',
5507
5585
 
5508
5586
  _vertical: {
5509
- [compVars$3.minHeight]: '200px',
5510
- [compVars$3.flexDirection]: 'column',
5511
- [compVars$3.hostWidth]: 'fit-content',
5512
- [compVars$3.hostPadding]: `0 calc(${helperRefs$1.thickness} * 3)`,
5513
- [compVars$3.stripeVerticalThickness]: helperRefs$1.thickness,
5514
- [compVars$3.labelTextWidth]: 'fit-content',
5515
- [compVars$3.labelTextMaxWidth]: '100%',
5516
- [compVars$3.labelTextVerticalSpacing]: helperRefs$1.spacing,
5587
+ [compVars$4.minHeight]: '200px',
5588
+ [compVars$4.flexDirection]: 'column',
5589
+ [compVars$4.hostWidth]: 'fit-content',
5590
+ [compVars$4.hostPadding]: `0 calc(${helperRefs$2.thickness} * 3)`,
5591
+ [compVars$4.stripeVerticalThickness]: helperRefs$2.thickness,
5592
+ [compVars$4.labelTextWidth]: 'fit-content',
5593
+ [compVars$4.labelTextMaxWidth]: '100%',
5594
+ [compVars$4.labelTextVerticalSpacing]: helperRefs$2.spacing,
5517
5595
  },
5518
5596
  };
5519
5597
 
5520
- const vars$s = {
5521
- ...compVars$3,
5522
- ...helperVars$1,
5598
+ const vars$v = {
5599
+ ...compVars$4,
5600
+ ...helperVars$2,
5523
5601
  };
5524
5602
 
5525
5603
  var divider$1 = /*#__PURE__*/Object.freeze({
5526
5604
  __proto__: null,
5527
5605
  default: divider,
5528
- vars: vars$s
5606
+ vars: vars$v
5529
5607
  });
5530
5608
 
5531
5609
  /* eslint-disable no-param-reassign */
5532
5610
 
5533
- const componentName$z = getComponentName('passcode-internal');
5611
+ const componentName$C = getComponentName('passcode-internal');
5534
5612
 
5535
- createBaseInputClass({ componentName: componentName$z, baseSelector: 'div' });
5613
+ createBaseInputClass({ componentName: componentName$C, baseSelector: 'div' });
5536
5614
 
5537
- const componentName$y = getComponentName('loader-radial');
5615
+ const componentName$B = getComponentName('loader-radial');
5538
5616
 
5539
- class RawLoaderRadial extends createBaseClass({ componentName: componentName$y, baseSelector: ':host > div' }) {
5617
+ class RawLoaderRadial extends createBaseClass({ componentName: componentName$B, baseSelector: ':host > div' }) {
5540
5618
  constructor() {
5541
5619
  super();
5542
5620
 
@@ -5580,11 +5658,11 @@ const LoaderRadialClass = compose(
5580
5658
  componentNameValidationMixin
5581
5659
  )(RawLoaderRadial);
5582
5660
 
5583
- const componentName$x = getComponentName('passcode');
5661
+ const componentName$A = getComponentName('passcode');
5584
5662
 
5585
5663
  const observedAttributes$3 = ['digits'];
5586
5664
 
5587
- const customMixin$7 = (superclass) =>
5665
+ const customMixin$9 = (superclass) =>
5588
5666
  class PasscodeMixinClass extends superclass {
5589
5667
  static get observedAttributes() {
5590
5668
  return observedAttributes$3.concat(superclass.observedAttributes || []);
@@ -5599,17 +5677,17 @@ const customMixin$7 = (superclass) =>
5599
5677
  const template = document.createElement('template');
5600
5678
 
5601
5679
  template.innerHTML = `
5602
- <${componentName$z}
5680
+ <${componentName$C}
5603
5681
  bordered="true"
5604
5682
  name="code"
5605
5683
  tabindex="-1"
5606
5684
  slot="input"
5607
- ><slot></slot></${componentName$z}>
5685
+ ><slot></slot></${componentName$C}>
5608
5686
  `;
5609
5687
 
5610
5688
  this.baseElement.appendChild(template.content.cloneNode(true));
5611
5689
 
5612
- this.inputElement = this.shadowRoot.querySelector(componentName$z);
5690
+ this.inputElement = this.shadowRoot.querySelector(componentName$C);
5613
5691
 
5614
5692
  forwardAttrs(this, this.inputElement, { includeAttrs: ['digits', 'size', 'loading'] });
5615
5693
  }
@@ -5680,7 +5758,7 @@ const PasscodeClass = compose(
5680
5758
  draggableMixin,
5681
5759
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
5682
5760
  componentNameValidationMixin,
5683
- customMixin$7
5761
+ customMixin$9
5684
5762
  )(
5685
5763
  createProxy({
5686
5764
  slots: [],
@@ -5761,56 +5839,56 @@ const PasscodeClass = compose(
5761
5839
  ${resetInputCursor('vaadin-text-field')}
5762
5840
  `,
5763
5841
  excludeAttrsSync: ['tabindex'],
5764
- componentName: componentName$x,
5842
+ componentName: componentName$A,
5765
5843
  })
5766
5844
  );
5767
5845
 
5768
- const vars$r = PasscodeClass.cssVarList;
5846
+ const vars$u = PasscodeClass.cssVarList;
5769
5847
 
5770
5848
  const passcode = {
5771
- [vars$r.hostDirection]: refs.direction,
5772
- [vars$r.fontFamily]: refs.fontFamily,
5773
- [vars$r.fontSize]: refs.fontSize,
5774
- [vars$r.labelTextColor]: refs.labelTextColor,
5775
- [vars$r.labelRequiredIndicator]: refs.requiredIndicator,
5776
- [vars$r.errorMessageTextColor]: refs.errorMessageTextColor,
5777
- [vars$r.digitValueTextColor]: refs.valueTextColor,
5778
- [vars$r.digitPadding]: '0',
5779
- [vars$r.digitTextAlign]: 'center',
5780
- [vars$r.digitSpacing]: '4px',
5781
- [vars$r.hostWidth]: refs.width,
5782
- [vars$r.digitOutlineColor]: 'transparent',
5783
- [vars$r.digitOutlineWidth]: refs.outlineWidth,
5784
- [vars$r.focusedDigitFieldOutlineColor]: refs.outlineColor,
5785
- [vars$r.digitSize]: refs.inputHeight,
5849
+ [vars$u.hostDirection]: refs.direction,
5850
+ [vars$u.fontFamily]: refs.fontFamily,
5851
+ [vars$u.fontSize]: refs.fontSize,
5852
+ [vars$u.labelTextColor]: refs.labelTextColor,
5853
+ [vars$u.labelRequiredIndicator]: refs.requiredIndicator,
5854
+ [vars$u.errorMessageTextColor]: refs.errorMessageTextColor,
5855
+ [vars$u.digitValueTextColor]: refs.valueTextColor,
5856
+ [vars$u.digitPadding]: '0',
5857
+ [vars$u.digitTextAlign]: 'center',
5858
+ [vars$u.digitSpacing]: '4px',
5859
+ [vars$u.hostWidth]: refs.width,
5860
+ [vars$u.digitOutlineColor]: 'transparent',
5861
+ [vars$u.digitOutlineWidth]: refs.outlineWidth,
5862
+ [vars$u.focusedDigitFieldOutlineColor]: refs.outlineColor,
5863
+ [vars$u.digitSize]: refs.inputHeight,
5786
5864
 
5787
5865
  size: {
5788
- xs: { [vars$r.spinnerSize]: '15px' },
5789
- sm: { [vars$r.spinnerSize]: '20px' },
5790
- md: { [vars$r.spinnerSize]: '20px' },
5791
- lg: { [vars$r.spinnerSize]: '20px' },
5866
+ xs: { [vars$u.spinnerSize]: '15px' },
5867
+ sm: { [vars$u.spinnerSize]: '20px' },
5868
+ md: { [vars$u.spinnerSize]: '20px' },
5869
+ lg: { [vars$u.spinnerSize]: '20px' },
5792
5870
  },
5793
5871
 
5794
5872
  _hideCursor: {
5795
- [vars$r.digitCaretTextColor]: 'transparent',
5873
+ [vars$u.digitCaretTextColor]: 'transparent',
5796
5874
  },
5797
5875
 
5798
5876
  _loading: {
5799
- [vars$r.overlayOpacity]: refs.overlayOpacity,
5877
+ [vars$u.overlayOpacity]: refs.overlayOpacity,
5800
5878
  },
5801
5879
  };
5802
5880
 
5803
5881
  var passcode$1 = /*#__PURE__*/Object.freeze({
5804
5882
  __proto__: null,
5805
5883
  default: passcode,
5806
- vars: vars$r
5884
+ vars: vars$u
5807
5885
  });
5808
5886
 
5809
- const componentName$w = getComponentName('loader-linear');
5887
+ const componentName$z = getComponentName('loader-linear');
5810
5888
 
5811
- class RawLoaderLinear extends createBaseClass({ componentName: componentName$w, baseSelector: ':host > div' }) {
5889
+ class RawLoaderLinear extends createBaseClass({ componentName: componentName$z, baseSelector: ':host > div' }) {
5812
5890
  static get componentName() {
5813
- return componentName$w;
5891
+ return componentName$z;
5814
5892
  }
5815
5893
 
5816
5894
  constructor() {
@@ -5871,107 +5949,107 @@ const LoaderLinearClass = compose(
5871
5949
  componentNameValidationMixin
5872
5950
  )(RawLoaderLinear);
5873
5951
 
5874
- const globalRefs$i = getThemeRefs(globals);
5875
- const vars$q = LoaderLinearClass.cssVarList;
5952
+ const globalRefs$l = getThemeRefs(globals);
5953
+ const vars$t = LoaderLinearClass.cssVarList;
5876
5954
 
5877
5955
  const loaderLinear = {
5878
- [vars$q.hostDisplay]: 'inline-block',
5879
- [vars$q.hostWidth]: '100%',
5956
+ [vars$t.hostDisplay]: 'inline-block',
5957
+ [vars$t.hostWidth]: '100%',
5880
5958
 
5881
- [vars$q.barColor]: globalRefs$i.colors.surface.contrast,
5882
- [vars$q.barWidth]: '20%',
5959
+ [vars$t.barColor]: globalRefs$l.colors.surface.contrast,
5960
+ [vars$t.barWidth]: '20%',
5883
5961
 
5884
- [vars$q.barBackgroundColor]: globalRefs$i.colors.surface.light,
5885
- [vars$q.barBorderRadius]: '4px',
5962
+ [vars$t.barBackgroundColor]: globalRefs$l.colors.surface.light,
5963
+ [vars$t.barBorderRadius]: '4px',
5886
5964
 
5887
- [vars$q.animationDuration]: '2s',
5888
- [vars$q.animationTimingFunction]: 'linear',
5889
- [vars$q.animationIterationCount]: 'infinite',
5890
- [vars$q.verticalPadding]: '0.25em',
5965
+ [vars$t.animationDuration]: '2s',
5966
+ [vars$t.animationTimingFunction]: 'linear',
5967
+ [vars$t.animationIterationCount]: 'infinite',
5968
+ [vars$t.verticalPadding]: '0.25em',
5891
5969
 
5892
5970
  size: {
5893
- xs: { [vars$q.barHeight]: '2px' },
5894
- sm: { [vars$q.barHeight]: '4px' },
5895
- md: { [vars$q.barHeight]: '6px' },
5896
- lg: { [vars$q.barHeight]: '8px' },
5971
+ xs: { [vars$t.barHeight]: '2px' },
5972
+ sm: { [vars$t.barHeight]: '4px' },
5973
+ md: { [vars$t.barHeight]: '6px' },
5974
+ lg: { [vars$t.barHeight]: '8px' },
5897
5975
  },
5898
5976
 
5899
5977
  mode: {
5900
5978
  primary: {
5901
- [vars$q.barColor]: globalRefs$i.colors.primary.main,
5979
+ [vars$t.barColor]: globalRefs$l.colors.primary.main,
5902
5980
  },
5903
5981
  secondary: {
5904
- [vars$q.barColor]: globalRefs$i.colors.secondary.main,
5982
+ [vars$t.barColor]: globalRefs$l.colors.secondary.main,
5905
5983
  },
5906
5984
  },
5907
5985
 
5908
5986
  _hidden: {
5909
- [vars$q.hostDisplay]: 'none',
5987
+ [vars$t.hostDisplay]: 'none',
5910
5988
  },
5911
5989
  };
5912
5990
 
5913
5991
  var loaderLinear$1 = /*#__PURE__*/Object.freeze({
5914
5992
  __proto__: null,
5915
5993
  default: loaderLinear,
5916
- vars: vars$q
5994
+ vars: vars$t
5917
5995
  });
5918
5996
 
5919
- const globalRefs$h = getThemeRefs(globals);
5920
- const compVars$2 = LoaderRadialClass.cssVarList;
5997
+ const globalRefs$k = getThemeRefs(globals);
5998
+ const compVars$3 = LoaderRadialClass.cssVarList;
5921
5999
 
5922
- const [helperTheme, helperRefs, helperVars] = createHelperVars(
6000
+ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
5923
6001
  {
5924
- spinnerColor: globalRefs$h.colors.surface.contrast,
6002
+ spinnerColor: globalRefs$k.colors.surface.contrast,
5925
6003
  mode: {
5926
6004
  primary: {
5927
- spinnerColor: globalRefs$h.colors.primary.main,
6005
+ spinnerColor: globalRefs$k.colors.primary.main,
5928
6006
  },
5929
6007
  secondary: {
5930
- spinnerColor: globalRefs$h.colors.secondary.main,
6008
+ spinnerColor: globalRefs$k.colors.secondary.main,
5931
6009
  },
5932
6010
  },
5933
6011
  },
5934
- componentName$y
6012
+ componentName$B
5935
6013
  );
5936
6014
 
5937
6015
  const loaderRadial = {
5938
- ...helperTheme,
6016
+ ...helperTheme$1,
5939
6017
 
5940
- [compVars$2.animationDuration]: '2s',
5941
- [compVars$2.animationTimingFunction]: 'linear',
5942
- [compVars$2.animationIterationCount]: 'infinite',
5943
- [compVars$2.spinnerBorderStyle]: 'solid',
5944
- [compVars$2.spinnerBorderWidth]: '0.2em',
5945
- [compVars$2.spinnerBorderRadius]: '50%',
5946
- [compVars$2.spinnerQuadrant1Color]: helperRefs.spinnerColor,
5947
- [compVars$2.spinnerQuadrant2Color]: 'transparent',
5948
- [compVars$2.spinnerQuadrant3Color]: helperRefs.spinnerColor,
5949
- [compVars$2.spinnerQuadrant4Color]: 'transparent',
6018
+ [compVars$3.animationDuration]: '2s',
6019
+ [compVars$3.animationTimingFunction]: 'linear',
6020
+ [compVars$3.animationIterationCount]: 'infinite',
6021
+ [compVars$3.spinnerBorderStyle]: 'solid',
6022
+ [compVars$3.spinnerBorderWidth]: '0.2em',
6023
+ [compVars$3.spinnerBorderRadius]: '50%',
6024
+ [compVars$3.spinnerQuadrant1Color]: helperRefs$1.spinnerColor,
6025
+ [compVars$3.spinnerQuadrant2Color]: 'transparent',
6026
+ [compVars$3.spinnerQuadrant3Color]: helperRefs$1.spinnerColor,
6027
+ [compVars$3.spinnerQuadrant4Color]: 'transparent',
5950
6028
 
5951
6029
  size: {
5952
- xs: { [compVars$2.spinnerSize]: '20px' },
5953
- sm: { [compVars$2.spinnerSize]: '30px' },
5954
- md: { [compVars$2.spinnerSize]: '40px' },
5955
- lg: { [compVars$2.spinnerSize]: '60px' },
5956
- xl: { [compVars$2.spinnerSize]: '80px' },
6030
+ xs: { [compVars$3.spinnerSize]: '20px' },
6031
+ sm: { [compVars$3.spinnerSize]: '30px' },
6032
+ md: { [compVars$3.spinnerSize]: '40px' },
6033
+ lg: { [compVars$3.spinnerSize]: '60px' },
6034
+ xl: { [compVars$3.spinnerSize]: '80px' },
5957
6035
  },
5958
6036
 
5959
6037
  _hidden: {
5960
- [compVars$2.hostDisplay]: 'none',
6038
+ [compVars$3.hostDisplay]: 'none',
5961
6039
  },
5962
6040
  };
5963
- const vars$p = {
5964
- ...compVars$2,
5965
- ...helperVars,
6041
+ const vars$s = {
6042
+ ...compVars$3,
6043
+ ...helperVars$1,
5966
6044
  };
5967
6045
 
5968
6046
  var loaderRadial$1 = /*#__PURE__*/Object.freeze({
5969
6047
  __proto__: null,
5970
6048
  default: loaderRadial,
5971
- vars: vars$p
6049
+ vars: vars$s
5972
6050
  });
5973
6051
 
5974
- const componentName$v = getComponentName('combo-box');
6052
+ const componentName$y = getComponentName('combo-box');
5975
6053
 
5976
6054
  const ComboBoxMixin = (superclass) =>
5977
6055
  class ComboBoxMixinClass extends superclass {
@@ -6410,83 +6488,83 @@ const ComboBoxClass = compose(
6410
6488
  // and reset items to an empty array, and opening the list box with no items
6411
6489
  // to display.
6412
6490
  excludeAttrsSync: ['tabindex', 'size', 'data'],
6413
- componentName: componentName$v,
6491
+ componentName: componentName$y,
6414
6492
  includeForwardProps: ['items', 'renderer', 'selectedItem'],
6415
6493
  })
6416
6494
  );
6417
6495
 
6418
- const globalRefs$g = getThemeRefs(globals);
6419
- const vars$o = ComboBoxClass.cssVarList;
6496
+ const globalRefs$j = getThemeRefs(globals);
6497
+ const vars$r = ComboBoxClass.cssVarList;
6420
6498
 
6421
6499
  const comboBox = {
6422
- [vars$o.hostWidth]: refs.width,
6423
- [vars$o.hostDirection]: refs.direction,
6424
- [vars$o.fontSize]: refs.fontSize,
6425
- [vars$o.fontFamily]: refs.fontFamily,
6426
- [vars$o.labelFontSize]: refs.labelFontSize,
6427
- [vars$o.labelFontWeight]: refs.labelFontWeight,
6428
- [vars$o.labelTextColor]: refs.labelTextColor,
6429
- [vars$o.errorMessageTextColor]: refs.errorMessageTextColor,
6430
- [vars$o.inputBorderColor]: refs.borderColor,
6431
- [vars$o.inputBorderWidth]: refs.borderWidth,
6432
- [vars$o.inputBorderStyle]: refs.borderStyle,
6433
- [vars$o.inputBorderRadius]: refs.borderRadius,
6434
- [vars$o.inputOutlineColor]: refs.outlineColor,
6435
- [vars$o.inputOutlineOffset]: refs.outlineOffset,
6436
- [vars$o.inputOutlineWidth]: refs.outlineWidth,
6437
- [vars$o.inputOutlineStyle]: refs.outlineStyle,
6438
- [vars$o.labelRequiredIndicator]: refs.requiredIndicator,
6439
- [vars$o.inputValueTextColor]: refs.valueTextColor,
6440
- [vars$o.inputPlaceholderTextColor]: refs.placeholderTextColor,
6441
- [vars$o.inputBackgroundColor]: refs.backgroundColor,
6442
- [vars$o.inputHorizontalPadding]: refs.horizontalPadding,
6443
- [vars$o.inputHeight]: refs.inputHeight,
6444
- [vars$o.inputDropdownButtonColor]: globalRefs$g.colors.surface.dark,
6445
- [vars$o.inputDropdownButtonCursor]: 'pointer',
6446
- [vars$o.inputDropdownButtonSize]: refs.toggleButtonSize,
6447
- [vars$o.inputDropdownButtonOffset]: globalRefs$g.spacing.xs,
6448
- [vars$o.overlayItemPaddingInlineStart]: globalRefs$g.spacing.xs,
6449
- [vars$o.overlayItemPaddingInlineEnd]: globalRefs$g.spacing.lg,
6450
- [vars$o.labelPosition]: refs.labelPosition,
6451
- [vars$o.labelTopPosition]: refs.labelTopPosition,
6452
- [vars$o.labelHorizontalPosition]: refs.labelHorizontalPosition,
6453
- [vars$o.inputTransformY]: refs.inputTransformY,
6454
- [vars$o.inputTransition]: refs.inputTransition,
6455
- [vars$o.marginInlineStart]: refs.marginInlineStart,
6456
- [vars$o.placeholderOpacity]: refs.placeholderOpacity,
6457
- [vars$o.inputVerticalAlignment]: refs.inputVerticalAlignment,
6458
- [vars$o.valueInputHeight]: refs.valueInputHeight,
6459
- [vars$o.valueInputMarginBottom]: refs.valueInputMarginBottom,
6500
+ [vars$r.hostWidth]: refs.width,
6501
+ [vars$r.hostDirection]: refs.direction,
6502
+ [vars$r.fontSize]: refs.fontSize,
6503
+ [vars$r.fontFamily]: refs.fontFamily,
6504
+ [vars$r.labelFontSize]: refs.labelFontSize,
6505
+ [vars$r.labelFontWeight]: refs.labelFontWeight,
6506
+ [vars$r.labelTextColor]: refs.labelTextColor,
6507
+ [vars$r.errorMessageTextColor]: refs.errorMessageTextColor,
6508
+ [vars$r.inputBorderColor]: refs.borderColor,
6509
+ [vars$r.inputBorderWidth]: refs.borderWidth,
6510
+ [vars$r.inputBorderStyle]: refs.borderStyle,
6511
+ [vars$r.inputBorderRadius]: refs.borderRadius,
6512
+ [vars$r.inputOutlineColor]: refs.outlineColor,
6513
+ [vars$r.inputOutlineOffset]: refs.outlineOffset,
6514
+ [vars$r.inputOutlineWidth]: refs.outlineWidth,
6515
+ [vars$r.inputOutlineStyle]: refs.outlineStyle,
6516
+ [vars$r.labelRequiredIndicator]: refs.requiredIndicator,
6517
+ [vars$r.inputValueTextColor]: refs.valueTextColor,
6518
+ [vars$r.inputPlaceholderTextColor]: refs.placeholderTextColor,
6519
+ [vars$r.inputBackgroundColor]: refs.backgroundColor,
6520
+ [vars$r.inputHorizontalPadding]: refs.horizontalPadding,
6521
+ [vars$r.inputHeight]: refs.inputHeight,
6522
+ [vars$r.inputDropdownButtonColor]: globalRefs$j.colors.surface.dark,
6523
+ [vars$r.inputDropdownButtonCursor]: 'pointer',
6524
+ [vars$r.inputDropdownButtonSize]: refs.toggleButtonSize,
6525
+ [vars$r.inputDropdownButtonOffset]: globalRefs$j.spacing.xs,
6526
+ [vars$r.overlayItemPaddingInlineStart]: globalRefs$j.spacing.xs,
6527
+ [vars$r.overlayItemPaddingInlineEnd]: globalRefs$j.spacing.lg,
6528
+ [vars$r.labelPosition]: refs.labelPosition,
6529
+ [vars$r.labelTopPosition]: refs.labelTopPosition,
6530
+ [vars$r.labelHorizontalPosition]: refs.labelHorizontalPosition,
6531
+ [vars$r.inputTransformY]: refs.inputTransformY,
6532
+ [vars$r.inputTransition]: refs.inputTransition,
6533
+ [vars$r.marginInlineStart]: refs.marginInlineStart,
6534
+ [vars$r.placeholderOpacity]: refs.placeholderOpacity,
6535
+ [vars$r.inputVerticalAlignment]: refs.inputVerticalAlignment,
6536
+ [vars$r.valueInputHeight]: refs.valueInputHeight,
6537
+ [vars$r.valueInputMarginBottom]: refs.valueInputMarginBottom,
6460
6538
 
6461
6539
  _readonly: {
6462
- [vars$o.inputDropdownButtonCursor]: 'default',
6540
+ [vars$r.inputDropdownButtonCursor]: 'default',
6463
6541
  },
6464
6542
 
6465
6543
  // Overlay theme exposed via the component:
6466
- [vars$o.overlayFontSize]: refs.fontSize,
6467
- [vars$o.overlayFontFamily]: refs.fontFamily,
6468
- [vars$o.overlayCursor]: 'pointer',
6469
- [vars$o.overlayItemBoxShadow]: 'none',
6470
- [vars$o.overlayBackground]: refs.backgroundColor,
6471
- [vars$o.overlayTextColor]: refs.valueTextColor,
6544
+ [vars$r.overlayFontSize]: refs.fontSize,
6545
+ [vars$r.overlayFontFamily]: refs.fontFamily,
6546
+ [vars$r.overlayCursor]: 'pointer',
6547
+ [vars$r.overlayItemBoxShadow]: 'none',
6548
+ [vars$r.overlayBackground]: refs.backgroundColor,
6549
+ [vars$r.overlayTextColor]: refs.valueTextColor,
6472
6550
 
6473
6551
  // Overlay direct theme:
6474
- [vars$o.overlay.minHeight]: '400px',
6475
- [vars$o.overlay.margin]: '0',
6552
+ [vars$r.overlay.minHeight]: '400px',
6553
+ [vars$r.overlay.margin]: '0',
6476
6554
  };
6477
6555
 
6478
6556
  var comboBox$1 = /*#__PURE__*/Object.freeze({
6479
6557
  __proto__: null,
6480
6558
  comboBox: comboBox,
6481
6559
  default: comboBox,
6482
- vars: vars$o
6560
+ vars: vars$r
6483
6561
  });
6484
6562
 
6485
6563
  const observedAttributes$2 = ['src', 'alt'];
6486
6564
 
6487
- const componentName$u = getComponentName('image');
6565
+ const componentName$x = getComponentName('image');
6488
6566
 
6489
- const BaseClass$1 = createBaseClass({ componentName: componentName$u, baseSelector: ':host > img' });
6567
+ const BaseClass$1 = createBaseClass({ componentName: componentName$x, baseSelector: ':host > img' });
6490
6568
  class RawImage extends BaseClass$1 {
6491
6569
  static get observedAttributes() {
6492
6570
  return observedAttributes$2.concat(BaseClass$1.observedAttributes || []);
@@ -6526,14 +6604,14 @@ const ImageClass = compose(
6526
6604
  draggableMixin
6527
6605
  )(RawImage);
6528
6606
 
6529
- const vars$n = ImageClass.cssVarList;
6607
+ const vars$q = ImageClass.cssVarList;
6530
6608
 
6531
6609
  const image = {};
6532
6610
 
6533
6611
  var image$1 = /*#__PURE__*/Object.freeze({
6534
6612
  __proto__: null,
6535
6613
  default: image,
6536
- vars: vars$n
6614
+ vars: vars$q
6537
6615
  });
6538
6616
 
6539
6617
  var CountryCodes = [
@@ -7752,16 +7830,16 @@ var CountryCodes = [
7752
7830
  ].sort((a, b) => (a.name < b.name ? -1 : 1)),
7753
7831
  ];
7754
7832
 
7755
- const componentName$t = getComponentName('phone-field-internal');
7833
+ const componentName$w = getComponentName('phone-field-internal');
7756
7834
 
7757
- createBaseInputClass({ componentName: componentName$t, baseSelector: 'div' });
7835
+ createBaseInputClass({ componentName: componentName$w, baseSelector: 'div' });
7758
7836
 
7759
7837
  const textVars$1 = TextFieldClass.cssVarList;
7760
7838
  const comboVars = ComboBoxClass.cssVarList;
7761
7839
 
7762
- const componentName$s = getComponentName('phone-field');
7840
+ const componentName$v = getComponentName('phone-field');
7763
7841
 
7764
- const customMixin$6 = (superclass) =>
7842
+ const customMixin$8 = (superclass) =>
7765
7843
  class PhoneFieldMixinClass extends superclass {
7766
7844
  static get CountryCodes() {
7767
7845
  return CountryCodes;
@@ -7773,15 +7851,15 @@ const customMixin$6 = (superclass) =>
7773
7851
  const template = document.createElement('template');
7774
7852
 
7775
7853
  template.innerHTML = `
7776
- <${componentName$t}
7854
+ <${componentName$w}
7777
7855
  tabindex="-1"
7778
7856
  slot="input"
7779
- ></${componentName$t}>
7857
+ ></${componentName$w}>
7780
7858
  `;
7781
7859
 
7782
7860
  this.baseElement.appendChild(template.content.cloneNode(true));
7783
7861
 
7784
- this.inputElement = this.shadowRoot.querySelector(componentName$t);
7862
+ this.inputElement = this.shadowRoot.querySelector(componentName$w);
7785
7863
 
7786
7864
  forwardAttrs(this.shadowRoot.host, this.inputElement, {
7787
7865
  includeAttrs: [
@@ -7919,7 +7997,7 @@ const PhoneFieldClass = compose(
7919
7997
  }),
7920
7998
  draggableMixin,
7921
7999
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
7922
- customMixin$6
8000
+ customMixin$8
7923
8001
  )(
7924
8002
  createProxy({
7925
8003
  slots: [],
@@ -8003,36 +8081,36 @@ const PhoneFieldClass = compose(
8003
8081
  ${resetInputLabelPosition('vaadin-text-field')}
8004
8082
  `,
8005
8083
  excludeAttrsSync: ['tabindex'],
8006
- componentName: componentName$s,
8084
+ componentName: componentName$v,
8007
8085
  })
8008
8086
  );
8009
8087
 
8010
- const vars$m = PhoneFieldClass.cssVarList;
8088
+ const vars$p = PhoneFieldClass.cssVarList;
8011
8089
 
8012
8090
  const phoneField = {
8013
- [vars$m.hostWidth]: refs.width,
8014
- [vars$m.hostDirection]: refs.direction,
8015
- [vars$m.fontSize]: refs.fontSize,
8016
- [vars$m.fontFamily]: refs.fontFamily,
8017
- [vars$m.labelTextColor]: refs.labelTextColor,
8018
- [vars$m.labelRequiredIndicator]: refs.requiredIndicator,
8019
- [vars$m.errorMessageTextColor]: refs.errorMessageTextColor,
8020
- [vars$m.inputValueTextColor]: refs.valueTextColor,
8021
- [vars$m.inputPlaceholderTextColor]: refs.placeholderTextColor,
8022
- [vars$m.inputBorderStyle]: refs.borderStyle,
8023
- [vars$m.inputBorderWidth]: refs.borderWidth,
8024
- [vars$m.inputBorderColor]: refs.borderColor,
8025
- [vars$m.inputBorderRadius]: refs.borderRadius,
8026
- [vars$m.inputOutlineStyle]: refs.outlineStyle,
8027
- [vars$m.inputOutlineWidth]: refs.outlineWidth,
8028
- [vars$m.inputOutlineColor]: refs.outlineColor,
8029
- [vars$m.inputOutlineOffset]: refs.outlineOffset,
8030
- [vars$m.phoneInputWidth]: refs.minWidth,
8031
- [vars$m.countryCodeInputWidth]: '5em',
8032
- [vars$m.countryCodeDropdownWidth]: '20em',
8033
- [vars$m.marginInlineStart]: '-0.25em',
8034
- [vars$m.valueInputHeight]: refs.valueInputHeight,
8035
- [vars$m.valueInputMarginBottom]: refs.valueInputMarginBottom,
8091
+ [vars$p.hostWidth]: refs.width,
8092
+ [vars$p.hostDirection]: refs.direction,
8093
+ [vars$p.fontSize]: refs.fontSize,
8094
+ [vars$p.fontFamily]: refs.fontFamily,
8095
+ [vars$p.labelTextColor]: refs.labelTextColor,
8096
+ [vars$p.labelRequiredIndicator]: refs.requiredIndicator,
8097
+ [vars$p.errorMessageTextColor]: refs.errorMessageTextColor,
8098
+ [vars$p.inputValueTextColor]: refs.valueTextColor,
8099
+ [vars$p.inputPlaceholderTextColor]: refs.placeholderTextColor,
8100
+ [vars$p.inputBorderStyle]: refs.borderStyle,
8101
+ [vars$p.inputBorderWidth]: refs.borderWidth,
8102
+ [vars$p.inputBorderColor]: refs.borderColor,
8103
+ [vars$p.inputBorderRadius]: refs.borderRadius,
8104
+ [vars$p.inputOutlineStyle]: refs.outlineStyle,
8105
+ [vars$p.inputOutlineWidth]: refs.outlineWidth,
8106
+ [vars$p.inputOutlineColor]: refs.outlineColor,
8107
+ [vars$p.inputOutlineOffset]: refs.outlineOffset,
8108
+ [vars$p.phoneInputWidth]: refs.minWidth,
8109
+ [vars$p.countryCodeInputWidth]: '5em',
8110
+ [vars$p.countryCodeDropdownWidth]: '20em',
8111
+ [vars$p.marginInlineStart]: '-0.25em',
8112
+ [vars$p.valueInputHeight]: refs.valueInputHeight,
8113
+ [vars$p.valueInputMarginBottom]: refs.valueInputMarginBottom,
8036
8114
 
8037
8115
  // '@overlay': {
8038
8116
  // overlayItemBackgroundColor: 'red'
@@ -8042,18 +8120,18 @@ const phoneField = {
8042
8120
  var phoneField$1 = /*#__PURE__*/Object.freeze({
8043
8121
  __proto__: null,
8044
8122
  default: phoneField,
8045
- vars: vars$m
8123
+ vars: vars$p
8046
8124
  });
8047
8125
 
8048
- const componentName$r = getComponentName('phone-field-internal-input-box');
8126
+ const componentName$u = getComponentName('phone-field-internal-input-box');
8049
8127
 
8050
- createBaseInputClass({ componentName: componentName$r, baseSelector: 'div' });
8128
+ createBaseInputClass({ componentName: componentName$u, baseSelector: 'div' });
8051
8129
 
8052
8130
  const textVars = TextFieldClass.cssVarList;
8053
8131
 
8054
- const componentName$q = getComponentName('phone-input-box-field');
8132
+ const componentName$t = getComponentName('phone-input-box-field');
8055
8133
 
8056
- const customMixin$5 = (superclass) =>
8134
+ const customMixin$7 = (superclass) =>
8057
8135
  class PhoneInputBoxFieldMixinClass extends superclass {
8058
8136
  static get CountryCodes() {
8059
8137
  return CountryCodes;
@@ -8065,15 +8143,15 @@ const customMixin$5 = (superclass) =>
8065
8143
  const template = document.createElement('template');
8066
8144
 
8067
8145
  template.innerHTML = `
8068
- <${componentName$r}
8146
+ <${componentName$u}
8069
8147
  tabindex="-1"
8070
8148
  slot="input"
8071
- ></${componentName$r}>
8149
+ ></${componentName$u}>
8072
8150
  `;
8073
8151
 
8074
8152
  this.baseElement.appendChild(template.content.cloneNode(true));
8075
8153
 
8076
- this.inputElement = this.shadowRoot.querySelector(componentName$r);
8154
+ this.inputElement = this.shadowRoot.querySelector(componentName$u);
8077
8155
 
8078
8156
  forwardAttrs(this.shadowRoot.host, this.inputElement, {
8079
8157
  includeAttrs: [
@@ -8175,7 +8253,7 @@ const PhoneFieldInputBoxClass = compose(
8175
8253
  }),
8176
8254
  draggableMixin,
8177
8255
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
8178
- customMixin$5
8256
+ customMixin$7
8179
8257
  )(
8180
8258
  createProxy({
8181
8259
  slots: [],
@@ -8250,68 +8328,68 @@ const PhoneFieldInputBoxClass = compose(
8250
8328
  ${inputFloatingLabelStyle()}
8251
8329
  `,
8252
8330
  excludeAttrsSync: ['tabindex'],
8253
- componentName: componentName$q,
8331
+ componentName: componentName$t,
8254
8332
  })
8255
8333
  );
8256
8334
 
8257
- const vars$l = PhoneFieldInputBoxClass.cssVarList;
8335
+ const vars$o = PhoneFieldInputBoxClass.cssVarList;
8258
8336
 
8259
8337
  const phoneInputBoxField = {
8260
- [vars$l.hostWidth]: '16em',
8261
- [vars$l.hostMinWidth]: refs.minWidth,
8262
- [vars$l.hostDirection]: refs.direction,
8263
- [vars$l.fontSize]: refs.fontSize,
8264
- [vars$l.fontFamily]: refs.fontFamily,
8265
- [vars$l.labelFontSize]: refs.labelFontSize,
8266
- [vars$l.labelFontWeight]: refs.labelFontWeight,
8267
- [vars$l.labelTextColor]: refs.labelTextColor,
8268
- [vars$l.labelRequiredIndicator]: refs.requiredIndicator,
8269
- [vars$l.errorMessageTextColor]: refs.errorMessageTextColor,
8270
- [vars$l.inputValueTextColor]: refs.valueTextColor,
8271
- [vars$l.inputPlaceholderTextColor]: refs.placeholderTextColor,
8272
- [vars$l.inputBorderStyle]: refs.borderStyle,
8273
- [vars$l.inputBorderWidth]: refs.borderWidth,
8274
- [vars$l.inputBorderColor]: refs.borderColor,
8275
- [vars$l.inputBorderRadius]: refs.borderRadius,
8276
- [vars$l.inputOutlineStyle]: refs.outlineStyle,
8277
- [vars$l.inputOutlineWidth]: refs.outlineWidth,
8278
- [vars$l.inputOutlineColor]: refs.outlineColor,
8279
- [vars$l.inputOutlineOffset]: refs.outlineOffset,
8280
- [vars$l.labelPosition]: refs.labelPosition,
8281
- [vars$l.labelTopPosition]: refs.labelTopPosition,
8282
- [vars$l.labelHorizontalPosition]: refs.labelHorizontalPosition,
8283
- [vars$l.inputTransformY]: refs.inputTransformY,
8284
- [vars$l.inputTransition]: refs.inputTransition,
8285
- [vars$l.marginInlineStart]: refs.marginInlineStart,
8286
- [vars$l.valueInputHeight]: refs.valueInputHeight,
8287
- [vars$l.valueInputMarginBottom]: refs.valueInputMarginBottom,
8288
- [vars$l.inputHorizontalPadding]: '0',
8338
+ [vars$o.hostWidth]: '16em',
8339
+ [vars$o.hostMinWidth]: refs.minWidth,
8340
+ [vars$o.hostDirection]: refs.direction,
8341
+ [vars$o.fontSize]: refs.fontSize,
8342
+ [vars$o.fontFamily]: refs.fontFamily,
8343
+ [vars$o.labelFontSize]: refs.labelFontSize,
8344
+ [vars$o.labelFontWeight]: refs.labelFontWeight,
8345
+ [vars$o.labelTextColor]: refs.labelTextColor,
8346
+ [vars$o.labelRequiredIndicator]: refs.requiredIndicator,
8347
+ [vars$o.errorMessageTextColor]: refs.errorMessageTextColor,
8348
+ [vars$o.inputValueTextColor]: refs.valueTextColor,
8349
+ [vars$o.inputPlaceholderTextColor]: refs.placeholderTextColor,
8350
+ [vars$o.inputBorderStyle]: refs.borderStyle,
8351
+ [vars$o.inputBorderWidth]: refs.borderWidth,
8352
+ [vars$o.inputBorderColor]: refs.borderColor,
8353
+ [vars$o.inputBorderRadius]: refs.borderRadius,
8354
+ [vars$o.inputOutlineStyle]: refs.outlineStyle,
8355
+ [vars$o.inputOutlineWidth]: refs.outlineWidth,
8356
+ [vars$o.inputOutlineColor]: refs.outlineColor,
8357
+ [vars$o.inputOutlineOffset]: refs.outlineOffset,
8358
+ [vars$o.labelPosition]: refs.labelPosition,
8359
+ [vars$o.labelTopPosition]: refs.labelTopPosition,
8360
+ [vars$o.labelHorizontalPosition]: refs.labelHorizontalPosition,
8361
+ [vars$o.inputTransformY]: refs.inputTransformY,
8362
+ [vars$o.inputTransition]: refs.inputTransition,
8363
+ [vars$o.marginInlineStart]: refs.marginInlineStart,
8364
+ [vars$o.valueInputHeight]: refs.valueInputHeight,
8365
+ [vars$o.valueInputMarginBottom]: refs.valueInputMarginBottom,
8366
+ [vars$o.inputHorizontalPadding]: '0',
8289
8367
 
8290
8368
  _fullWidth: {
8291
- [vars$l.hostWidth]: refs.width,
8369
+ [vars$o.hostWidth]: refs.width,
8292
8370
  },
8293
8371
  };
8294
8372
 
8295
8373
  var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
8296
8374
  __proto__: null,
8297
8375
  default: phoneInputBoxField,
8298
- vars: vars$l
8376
+ vars: vars$o
8299
8377
  });
8300
8378
 
8301
- const componentName$p = getComponentName('new-password-internal');
8379
+ const componentName$s = getComponentName('new-password-internal');
8302
8380
 
8303
8381
  const interpolateString = (template, values) =>
8304
8382
  template.replace(/{{(\w+)+}}/g, (match, key) => values?.[key] || match);
8305
8383
 
8306
8384
  // eslint-disable-next-line max-classes-per-file
8307
8385
 
8308
- const componentName$o = getComponentName('policy-validation');
8386
+ const componentName$r = getComponentName('policy-validation');
8309
8387
 
8310
8388
  const overrideAttrs = ['data-password-policy-value-minlength'];
8311
8389
  const dataAttrs = ['data', 'active-policies', 'overrides', ...overrideAttrs];
8312
8390
  const policyAttrs = ['label', 'value', ...dataAttrs];
8313
8391
 
8314
- class RawPolicyValidation extends createBaseClass({ componentName: componentName$o, baseSelector: ':host > div' }) {
8392
+ class RawPolicyValidation extends createBaseClass({ componentName: componentName$r, baseSelector: ':host > div' }) {
8315
8393
  #availablePolicies;
8316
8394
 
8317
8395
  #activePolicies = [];
@@ -8519,11 +8597,11 @@ const PolicyValidationClass = compose(
8519
8597
  componentNameValidationMixin
8520
8598
  )(RawPolicyValidation);
8521
8599
 
8522
- const componentName$n = getComponentName('new-password');
8600
+ const componentName$q = getComponentName('new-password');
8523
8601
 
8524
8602
  const policyPreviewVars = PolicyValidationClass.cssVarList;
8525
8603
 
8526
- const customMixin$4 = (superclass) =>
8604
+ const customMixin$6 = (superclass) =>
8527
8605
  class NewPasswordMixinClass extends superclass {
8528
8606
  init() {
8529
8607
  super.init?.();
@@ -8531,17 +8609,17 @@ const customMixin$4 = (superclass) =>
8531
8609
  const template = document.createElement('template');
8532
8610
 
8533
8611
  template.innerHTML = `
8534
- <${componentName$p}
8612
+ <${componentName$s}
8535
8613
  name="new-password"
8536
8614
  tabindex="-1"
8537
8615
  slot="input"
8538
8616
  >
8539
- </${componentName$p}>
8617
+ </${componentName$s}>
8540
8618
  `;
8541
8619
 
8542
8620
  this.baseElement.appendChild(template.content.cloneNode(true));
8543
8621
 
8544
- this.inputElement = this.shadowRoot.querySelector(componentName$p);
8622
+ this.inputElement = this.shadowRoot.querySelector(componentName$s);
8545
8623
 
8546
8624
  forwardAttrs(this, this.inputElement, {
8547
8625
  includeAttrs: [
@@ -8626,7 +8704,7 @@ const NewPasswordClass = compose(
8626
8704
  }),
8627
8705
  draggableMixin,
8628
8706
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
8629
- customMixin$4
8707
+ customMixin$6
8630
8708
  )(
8631
8709
  createProxy({
8632
8710
  slots: [],
@@ -8685,40 +8763,40 @@ const NewPasswordClass = compose(
8685
8763
  }
8686
8764
  `,
8687
8765
  excludeAttrsSync: ['tabindex'],
8688
- componentName: componentName$n,
8766
+ componentName: componentName$q,
8689
8767
  })
8690
8768
  );
8691
8769
 
8692
- const globalRefs$f = getThemeRefs(globals);
8693
- const vars$k = NewPasswordClass.cssVarList;
8770
+ const globalRefs$i = getThemeRefs(globals);
8771
+ const vars$n = NewPasswordClass.cssVarList;
8694
8772
 
8695
8773
  const newPassword = {
8696
- [vars$k.hostWidth]: refs.width,
8697
- [vars$k.hostMinWidth]: refs.minWidth,
8698
- [vars$k.hostDirection]: refs.direction,
8699
- [vars$k.fontSize]: refs.fontSize,
8700
- [vars$k.fontFamily]: refs.fontFamily,
8701
- [vars$k.labelFontSize]: refs.labelFontSize,
8702
- [vars$k.labelFontWeight]: refs.labelFontWeight,
8703
- [vars$k.labelTextColor]: refs.labelTextColor,
8704
- [vars$k.spaceBetweenInputs]: '1em',
8705
- [vars$k.errorMessageTextColor]: refs.errorMessageTextColor,
8706
- [vars$k.policyPreviewBackgroundColor]: 'none',
8707
- [vars$k.policyPreviewPadding]: globalRefs$f.spacing.lg,
8708
- [vars$k.valueInputHeight]: refs.valueInputHeight,
8774
+ [vars$n.hostWidth]: refs.width,
8775
+ [vars$n.hostMinWidth]: refs.minWidth,
8776
+ [vars$n.hostDirection]: refs.direction,
8777
+ [vars$n.fontSize]: refs.fontSize,
8778
+ [vars$n.fontFamily]: refs.fontFamily,
8779
+ [vars$n.labelFontSize]: refs.labelFontSize,
8780
+ [vars$n.labelFontWeight]: refs.labelFontWeight,
8781
+ [vars$n.labelTextColor]: refs.labelTextColor,
8782
+ [vars$n.spaceBetweenInputs]: '1em',
8783
+ [vars$n.errorMessageTextColor]: refs.errorMessageTextColor,
8784
+ [vars$n.policyPreviewBackgroundColor]: 'none',
8785
+ [vars$n.policyPreviewPadding]: globalRefs$i.spacing.lg,
8786
+ [vars$n.valueInputHeight]: refs.valueInputHeight,
8709
8787
 
8710
8788
  _required: {
8711
8789
  // NewPassword doesn't pass `required` attribute to its Password components.
8712
8790
  // That's why we fake the required indicator on each input.
8713
8791
  // We do that by injecting `::after` element, and populating it with requiredIndicator content.
8714
- [vars$k.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
8792
+ [vars$n.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
8715
8793
  },
8716
8794
  };
8717
8795
 
8718
8796
  var newPassword$1 = /*#__PURE__*/Object.freeze({
8719
8797
  __proto__: null,
8720
8798
  default: newPassword,
8721
- vars: vars$k
8799
+ vars: vars$n
8722
8800
  });
8723
8801
 
8724
8802
  const getFileBase64 = (fileObj) => {
@@ -8733,7 +8811,7 @@ const getFilename = (fileObj) => {
8733
8811
  return fileObj.name.replace(/^.*\\/, '');
8734
8812
  };
8735
8813
 
8736
- const componentName$m = getComponentName('upload-file');
8814
+ const componentName$p = getComponentName('upload-file');
8737
8815
 
8738
8816
  const observedAttributes$1 = [
8739
8817
  'title',
@@ -8748,7 +8826,7 @@ const observedAttributes$1 = [
8748
8826
  'icon',
8749
8827
  ];
8750
8828
 
8751
- const BaseInputClass = createBaseInputClass({ componentName: componentName$m, baseSelector: ':host > div' });
8829
+ const BaseInputClass = createBaseInputClass({ componentName: componentName$p, baseSelector: ':host > div' });
8752
8830
 
8753
8831
  class RawUploadFile extends BaseInputClass {
8754
8832
  static get observedAttributes() {
@@ -8963,77 +9041,77 @@ const UploadFileClass = compose(
8963
9041
  componentNameValidationMixin
8964
9042
  )(RawUploadFile);
8965
9043
 
8966
- const vars$j = UploadFileClass.cssVarList;
9044
+ const vars$m = UploadFileClass.cssVarList;
8967
9045
 
8968
9046
  const uploadFile = {
8969
- [vars$j.hostDirection]: refs.direction,
8970
- [vars$j.labelTextColor]: refs.labelTextColor,
8971
- [vars$j.fontFamily]: refs.fontFamily,
9047
+ [vars$m.hostDirection]: refs.direction,
9048
+ [vars$m.labelTextColor]: refs.labelTextColor,
9049
+ [vars$m.fontFamily]: refs.fontFamily,
8972
9050
 
8973
- [vars$j.iconSize]: '2em',
9051
+ [vars$m.iconSize]: '2em',
8974
9052
 
8975
- [vars$j.hostPadding]: '0.75em',
8976
- [vars$j.gap]: '0.5em',
9053
+ [vars$m.hostPadding]: '0.75em',
9054
+ [vars$m.gap]: '0.5em',
8977
9055
 
8978
- [vars$j.fontSize]: '16px',
8979
- [vars$j.titleFontWeight]: '500',
8980
- [vars$j.lineHeight]: '1em',
9056
+ [vars$m.fontSize]: '16px',
9057
+ [vars$m.titleFontWeight]: '500',
9058
+ [vars$m.lineHeight]: '1em',
8981
9059
 
8982
- [vars$j.borderWidth]: refs.borderWidth,
8983
- [vars$j.borderColor]: refs.borderColor,
8984
- [vars$j.borderRadius]: refs.borderRadius,
8985
- [vars$j.borderStyle]: 'dashed',
9060
+ [vars$m.borderWidth]: refs.borderWidth,
9061
+ [vars$m.borderColor]: refs.borderColor,
9062
+ [vars$m.borderRadius]: refs.borderRadius,
9063
+ [vars$m.borderStyle]: 'dashed',
8986
9064
 
8987
9065
  _required: {
8988
- [vars$j.requiredIndicator]: refs.requiredIndicator,
9066
+ [vars$m.requiredIndicator]: refs.requiredIndicator,
8989
9067
  },
8990
9068
 
8991
9069
  size: {
8992
9070
  xs: {
8993
- [vars$j.hostHeight]: '196px',
8994
- [vars$j.hostWidth]: '200px',
8995
- [vars$j.titleFontSize]: '0.875em',
8996
- [vars$j.descriptionFontSize]: '0.875em',
8997
- [vars$j.lineHeight]: '1.25em',
9071
+ [vars$m.hostHeight]: '196px',
9072
+ [vars$m.hostWidth]: '200px',
9073
+ [vars$m.titleFontSize]: '0.875em',
9074
+ [vars$m.descriptionFontSize]: '0.875em',
9075
+ [vars$m.lineHeight]: '1.25em',
8998
9076
  },
8999
9077
  sm: {
9000
- [vars$j.hostHeight]: '216px',
9001
- [vars$j.hostWidth]: '230px',
9002
- [vars$j.titleFontSize]: '1em',
9003
- [vars$j.descriptionFontSize]: '0.875em',
9004
- [vars$j.lineHeight]: '1.25em',
9078
+ [vars$m.hostHeight]: '216px',
9079
+ [vars$m.hostWidth]: '230px',
9080
+ [vars$m.titleFontSize]: '1em',
9081
+ [vars$m.descriptionFontSize]: '0.875em',
9082
+ [vars$m.lineHeight]: '1.25em',
9005
9083
  },
9006
9084
  md: {
9007
- [vars$j.hostHeight]: '256px',
9008
- [vars$j.hostWidth]: '312px',
9009
- [vars$j.titleFontSize]: '1.125em',
9010
- [vars$j.descriptionFontSize]: '1em',
9011
- [vars$j.lineHeight]: '1.5em',
9085
+ [vars$m.hostHeight]: '256px',
9086
+ [vars$m.hostWidth]: '312px',
9087
+ [vars$m.titleFontSize]: '1.125em',
9088
+ [vars$m.descriptionFontSize]: '1em',
9089
+ [vars$m.lineHeight]: '1.5em',
9012
9090
  },
9013
9091
  lg: {
9014
- [vars$j.hostHeight]: '280px',
9015
- [vars$j.hostWidth]: '336px',
9016
- [vars$j.titleFontSize]: '1.125em',
9017
- [vars$j.descriptionFontSize]: '1.125em',
9018
- [vars$j.lineHeight]: '1.75em',
9092
+ [vars$m.hostHeight]: '280px',
9093
+ [vars$m.hostWidth]: '336px',
9094
+ [vars$m.titleFontSize]: '1.125em',
9095
+ [vars$m.descriptionFontSize]: '1.125em',
9096
+ [vars$m.lineHeight]: '1.75em',
9019
9097
  },
9020
9098
  },
9021
9099
 
9022
9100
  _fullWidth: {
9023
- [vars$j.hostWidth]: refs.width,
9101
+ [vars$m.hostWidth]: refs.width,
9024
9102
  },
9025
9103
  };
9026
9104
 
9027
9105
  var uploadFile$1 = /*#__PURE__*/Object.freeze({
9028
9106
  __proto__: null,
9029
9107
  default: uploadFile,
9030
- vars: vars$j
9108
+ vars: vars$m
9031
9109
  });
9032
9110
 
9033
- const componentName$l = getComponentName('button-selection-group-item');
9111
+ const componentName$o = getComponentName('button-selection-group-item');
9034
9112
 
9035
9113
  class RawSelectItem extends createBaseClass({
9036
- componentName: componentName$l,
9114
+ componentName: componentName$o,
9037
9115
  baseSelector: ':host > descope-button',
9038
9116
  }) {
9039
9117
  get size() {
@@ -9140,39 +9218,39 @@ const ButtonSelectionGroupItemClass = compose(
9140
9218
  componentNameValidationMixin
9141
9219
  )(RawSelectItem);
9142
9220
 
9143
- const globalRefs$e = getThemeRefs(globals);
9221
+ const globalRefs$h = getThemeRefs(globals);
9144
9222
 
9145
- const vars$i = ButtonSelectionGroupItemClass.cssVarList;
9223
+ const vars$l = ButtonSelectionGroupItemClass.cssVarList;
9146
9224
 
9147
9225
  const buttonSelectionGroupItem = {
9148
- [vars$i.hostDirection]: 'inherit',
9149
- [vars$i.backgroundColor]: globalRefs$e.colors.surface.main,
9150
- [vars$i.labelTextColor]: globalRefs$e.colors.surface.contrast,
9151
- [vars$i.borderColor]: globalRefs$e.colors.surface.light,
9152
- [vars$i.borderStyle]: 'solid',
9153
- [vars$i.borderRadius]: globalRefs$e.radius.sm,
9154
- [vars$i.outlineColor]: 'transparent',
9155
- [vars$i.borderWidth]: globalRefs$e.border.xs,
9226
+ [vars$l.hostDirection]: 'inherit',
9227
+ [vars$l.backgroundColor]: globalRefs$h.colors.surface.main,
9228
+ [vars$l.labelTextColor]: globalRefs$h.colors.surface.contrast,
9229
+ [vars$l.borderColor]: globalRefs$h.colors.surface.light,
9230
+ [vars$l.borderStyle]: 'solid',
9231
+ [vars$l.borderRadius]: globalRefs$h.radius.sm,
9232
+ [vars$l.outlineColor]: 'transparent',
9233
+ [vars$l.borderWidth]: globalRefs$h.border.xs,
9156
9234
 
9157
9235
  _hover: {
9158
- [vars$i.backgroundColor]: globalRefs$e.colors.surface.highlight,
9236
+ [vars$l.backgroundColor]: globalRefs$h.colors.surface.highlight,
9159
9237
  },
9160
9238
 
9161
9239
  _focused: {
9162
- [vars$i.outlineColor]: globalRefs$e.colors.surface.light,
9240
+ [vars$l.outlineColor]: globalRefs$h.colors.surface.light,
9163
9241
  },
9164
9242
 
9165
9243
  _selected: {
9166
- [vars$i.borderColor]: globalRefs$e.colors.surface.contrast,
9167
- [vars$i.backgroundColor]: globalRefs$e.colors.surface.contrast,
9168
- [vars$i.labelTextColor]: globalRefs$e.colors.surface.main,
9244
+ [vars$l.borderColor]: globalRefs$h.colors.surface.contrast,
9245
+ [vars$l.backgroundColor]: globalRefs$h.colors.surface.contrast,
9246
+ [vars$l.labelTextColor]: globalRefs$h.colors.surface.main,
9169
9247
  },
9170
9248
  };
9171
9249
 
9172
9250
  var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
9173
9251
  __proto__: null,
9174
9252
  default: buttonSelectionGroupItem,
9175
- vars: vars$i
9253
+ vars: vars$l
9176
9254
  });
9177
9255
 
9178
9256
  const createBaseButtonSelectionGroupInternalClass = (componentName) => {
@@ -9271,10 +9349,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
9271
9349
  return BaseButtonSelectionGroupInternalClass;
9272
9350
  };
9273
9351
 
9274
- const componentName$k = getComponentName('button-selection-group-internal');
9352
+ const componentName$n = getComponentName('button-selection-group-internal');
9275
9353
 
9276
9354
  class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
9277
- componentName$k
9355
+ componentName$n
9278
9356
  ) {
9279
9357
  getSelectedNode() {
9280
9358
  return this.items.find((item) => item.hasAttribute('selected'));
@@ -9506,7 +9584,7 @@ const buttonSelectionGroupStyles = `
9506
9584
  ${resetInputCursor('vaadin-text-field')}
9507
9585
  `;
9508
9586
 
9509
- const componentName$j = getComponentName('button-selection-group');
9587
+ const componentName$m = getComponentName('button-selection-group');
9510
9588
 
9511
9589
  const buttonSelectionGroupMixin = (superclass) =>
9512
9590
  class ButtonMultiSelectionGroupMixinClass extends superclass {
@@ -9515,19 +9593,19 @@ const buttonSelectionGroupMixin = (superclass) =>
9515
9593
  const template = document.createElement('template');
9516
9594
 
9517
9595
  template.innerHTML = `
9518
- <${componentName$k}
9596
+ <${componentName$n}
9519
9597
  name="button-selection-group"
9520
9598
  slot="input"
9521
9599
  tabindex="-1"
9522
9600
  part="internal-component"
9523
9601
  >
9524
9602
  <slot></slot>
9525
- </${componentName$k}>
9603
+ </${componentName$n}>
9526
9604
  `;
9527
9605
 
9528
9606
  this.baseElement.appendChild(template.content.cloneNode(true));
9529
9607
 
9530
- this.inputElement = this.shadowRoot.querySelector(componentName$k);
9608
+ this.inputElement = this.shadowRoot.querySelector(componentName$n);
9531
9609
 
9532
9610
  forwardAttrs(this, this.inputElement, {
9533
9611
  includeAttrs: ['size', 'default-value', 'allow-deselect'],
@@ -9552,11 +9630,11 @@ const ButtonSelectionGroupClass = compose(
9552
9630
  wrappedEleName: 'vaadin-text-field',
9553
9631
  style: () => buttonSelectionGroupStyles,
9554
9632
  excludeAttrsSync: ['tabindex'],
9555
- componentName: componentName$j,
9633
+ componentName: componentName$m,
9556
9634
  })
9557
9635
  );
9558
9636
 
9559
- const globalRefs$d = getThemeRefs(globals);
9637
+ const globalRefs$g = getThemeRefs(globals);
9560
9638
 
9561
9639
  const createBaseButtonSelectionGroupMappings = (vars) => ({
9562
9640
  [vars.hostDirection]: refs.direction,
@@ -9564,26 +9642,26 @@ const createBaseButtonSelectionGroupMappings = (vars) => ({
9564
9642
  [vars.labelTextColor]: refs.labelTextColor,
9565
9643
  [vars.labelRequiredIndicator]: refs.requiredIndicator,
9566
9644
  [vars.errorMessageTextColor]: refs.errorMessageTextColor,
9567
- [vars.itemsSpacing]: globalRefs$d.spacing.sm,
9645
+ [vars.itemsSpacing]: globalRefs$g.spacing.sm,
9568
9646
  [vars.hostWidth]: refs.width,
9569
9647
  });
9570
9648
 
9571
- const vars$h = ButtonSelectionGroupClass.cssVarList;
9649
+ const vars$k = ButtonSelectionGroupClass.cssVarList;
9572
9650
 
9573
9651
  const buttonSelectionGroup = {
9574
- ...createBaseButtonSelectionGroupMappings(vars$h),
9652
+ ...createBaseButtonSelectionGroupMappings(vars$k),
9575
9653
  };
9576
9654
 
9577
9655
  var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
9578
9656
  __proto__: null,
9579
9657
  default: buttonSelectionGroup,
9580
- vars: vars$h
9658
+ vars: vars$k
9581
9659
  });
9582
9660
 
9583
- const componentName$i = getComponentName('button-multi-selection-group-internal');
9661
+ const componentName$l = getComponentName('button-multi-selection-group-internal');
9584
9662
 
9585
9663
  class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
9586
- componentName$i
9664
+ componentName$l
9587
9665
  ) {
9588
9666
  #getSelectedNodes() {
9589
9667
  return this.items.filter((item) => item.hasAttribute('selected'));
@@ -9686,7 +9764,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
9686
9764
  }
9687
9765
  }
9688
9766
 
9689
- const componentName$h = getComponentName('button-multi-selection-group');
9767
+ const componentName$k = getComponentName('button-multi-selection-group');
9690
9768
 
9691
9769
  const buttonMultiSelectionGroupMixin = (superclass) =>
9692
9770
  class ButtonMultiSelectionGroupMixinClass extends superclass {
@@ -9695,19 +9773,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
9695
9773
  const template = document.createElement('template');
9696
9774
 
9697
9775
  template.innerHTML = `
9698
- <${componentName$i}
9776
+ <${componentName$l}
9699
9777
  name="button-selection-group"
9700
9778
  slot="input"
9701
9779
  tabindex="-1"
9702
9780
  part="internal-component"
9703
9781
  >
9704
9782
  <slot></slot>
9705
- </${componentName$i}>
9783
+ </${componentName$l}>
9706
9784
  `;
9707
9785
 
9708
9786
  this.baseElement.appendChild(template.content.cloneNode(true));
9709
9787
 
9710
- this.inputElement = this.shadowRoot.querySelector(componentName$i);
9788
+ this.inputElement = this.shadowRoot.querySelector(componentName$l);
9711
9789
 
9712
9790
  forwardAttrs(this, this.inputElement, {
9713
9791
  includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
@@ -9732,25 +9810,25 @@ const ButtonMultiSelectionGroupClass = compose(
9732
9810
  wrappedEleName: 'vaadin-text-field',
9733
9811
  style: () => buttonSelectionGroupStyles,
9734
9812
  excludeAttrsSync: ['tabindex'],
9735
- componentName: componentName$h,
9813
+ componentName: componentName$k,
9736
9814
  })
9737
9815
  );
9738
9816
 
9739
- const vars$g = ButtonMultiSelectionGroupClass.cssVarList;
9817
+ const vars$j = ButtonMultiSelectionGroupClass.cssVarList;
9740
9818
 
9741
9819
  const buttonMultiSelectionGroup = {
9742
- ...createBaseButtonSelectionGroupMappings(vars$g),
9820
+ ...createBaseButtonSelectionGroupMappings(vars$j),
9743
9821
  };
9744
9822
 
9745
9823
  var buttonMultiSelectionGroup$1 = /*#__PURE__*/Object.freeze({
9746
9824
  __proto__: null,
9747
9825
  default: buttonMultiSelectionGroup,
9748
- vars: vars$g
9826
+ vars: vars$j
9749
9827
  });
9750
9828
 
9751
- const componentName$g = getComponentName('modal');
9829
+ const componentName$j = getComponentName('modal');
9752
9830
 
9753
- const customMixin$3 = (superclass) =>
9831
+ const customMixin$5 = (superclass) =>
9754
9832
  class ModalMixinClass extends superclass {
9755
9833
  get opened() {
9756
9834
  return this.getAttribute('opened') === 'true';
@@ -9840,35 +9918,35 @@ const ModalClass = compose(
9840
9918
  }),
9841
9919
  draggableMixin,
9842
9920
  componentNameValidationMixin,
9843
- customMixin$3
9921
+ customMixin$5
9844
9922
  )(
9845
9923
  createProxy({
9846
9924
  slots: [''],
9847
9925
  wrappedEleName: 'vaadin-dialog',
9848
9926
  style: () => ``,
9849
9927
  excludeAttrsSync: ['tabindex', 'opened'],
9850
- componentName: componentName$g,
9928
+ componentName: componentName$j,
9851
9929
  })
9852
9930
  );
9853
9931
 
9854
- const globalRefs$c = getThemeRefs(globals);
9932
+ const globalRefs$f = getThemeRefs(globals);
9855
9933
 
9856
- const compVars$1 = ModalClass.cssVarList;
9934
+ const compVars$2 = ModalClass.cssVarList;
9857
9935
 
9858
9936
  const modal = {
9859
- [compVars$1.overlayBackgroundColor]: globalRefs$c.colors.surface.main,
9860
- [compVars$1.overlayShadow]: globalRefs$c.shadow.wide['2xl'],
9861
- [compVars$1.overlayWidth]: '540px',
9937
+ [compVars$2.overlayBackgroundColor]: globalRefs$f.colors.surface.main,
9938
+ [compVars$2.overlayShadow]: globalRefs$f.shadow.wide['2xl'],
9939
+ [compVars$2.overlayWidth]: '540px',
9862
9940
  };
9863
9941
 
9864
- const vars$f = {
9865
- ...compVars$1,
9942
+ const vars$i = {
9943
+ ...compVars$2,
9866
9944
  };
9867
9945
 
9868
9946
  var modal$1 = /*#__PURE__*/Object.freeze({
9869
9947
  __proto__: null,
9870
9948
  default: modal,
9871
- vars: vars$f
9949
+ vars: vars$i
9872
9950
  });
9873
9951
 
9874
9952
  const isValidDataType = (data) => {
@@ -9944,7 +10022,7 @@ const defaultRowDetailsRenderer = (item, itemLabelsMapping) => {
9944
10022
  `;
9945
10023
  };
9946
10024
 
9947
- const componentName$f = getComponentName('grid');
10025
+ const componentName$i = getComponentName('grid');
9948
10026
 
9949
10027
  const GridMixin = (superclass) =>
9950
10028
  class GridMixinClass extends superclass {
@@ -10298,52 +10376,52 @@ const GridClass = compose(
10298
10376
  /*!css*/
10299
10377
  `,
10300
10378
  excludeAttrsSync: ['columns', 'tabindex'],
10301
- componentName: componentName$f,
10379
+ componentName: componentName$i,
10302
10380
  })
10303
10381
  );
10304
10382
 
10305
- const globalRefs$b = getThemeRefs(globals);
10306
- const vars$e = GridClass.cssVarList;
10383
+ const globalRefs$e = getThemeRefs(globals);
10384
+ const vars$h = GridClass.cssVarList;
10307
10385
 
10308
10386
  const grid = {
10309
- [vars$e.hostWidth]: '100%',
10310
- [vars$e.hostHeight]: '100%',
10311
- [vars$e.hostMinHeight]: '400px',
10312
- [vars$e.fontWeight]: '400',
10313
- [vars$e.backgroundColor]: globalRefs$b.colors.surface.main,
10314
-
10315
- [vars$e.fontSize]: refs.fontSize,
10316
- [vars$e.fontFamily]: refs.fontFamily,
10317
-
10318
- [vars$e.sortIndicatorsColor]: globalRefs$b.colors.surface.light,
10319
- [vars$e.activeSortIndicator]: globalRefs$b.colors.surface.dark,
10320
- [vars$e.resizeHandleColor]: globalRefs$b.colors.surface.light,
10321
-
10322
- [vars$e.borderWidth]: refs.borderWidth,
10323
- [vars$e.borderStyle]: refs.borderStyle,
10324
- [vars$e.borderRadius]: refs.borderRadius,
10325
- [vars$e.borderColor]: 'transparent',
10326
-
10327
- [vars$e.headerRowTextColor]: globalRefs$b.colors.surface.dark,
10328
- [vars$e.separatorColor]: globalRefs$b.colors.surface.light,
10329
-
10330
- [vars$e.valueTextColor]: globalRefs$b.colors.surface.contrast,
10331
- [vars$e.selectedBackgroundColor]: globalRefs$b.colors.surface.highlight,
10332
- [vars$e.hostDirection]: globalRefs$b.direction,
10333
-
10334
- [vars$e.toggleDetailsPanelButtonSize]: '1em',
10335
- [vars$e.toggleDetailsPanelButtonOpenedColor]: globalRefs$b.colors.surface.contrast,
10336
- [vars$e.toggleDetailsPanelButtonClosedColor]: globalRefs$b.colors.surface.light,
10337
- [vars$e.toggleDetailsPanelButtonCursor]: 'pointer',
10338
- [vars$e.detailsPanelBackgroundColor]: globalRefs$b.colors.surface.highlight,
10339
- [vars$e.detailsPanelBorderTopColor]: globalRefs$b.colors.surface.light,
10340
- [vars$e.detailsPanelLabelsColor]: globalRefs$b.colors.surface.dark,
10341
- [vars$e.detailsPanelLabelsFontSize]: '0.8em',
10342
- [vars$e.detailsPanelItemsGap]: '2em',
10343
- [vars$e.detailsPanelPadding]: '12px 0',
10387
+ [vars$h.hostWidth]: '100%',
10388
+ [vars$h.hostHeight]: '100%',
10389
+ [vars$h.hostMinHeight]: '400px',
10390
+ [vars$h.fontWeight]: '400',
10391
+ [vars$h.backgroundColor]: globalRefs$e.colors.surface.main,
10392
+
10393
+ [vars$h.fontSize]: refs.fontSize,
10394
+ [vars$h.fontFamily]: refs.fontFamily,
10395
+
10396
+ [vars$h.sortIndicatorsColor]: globalRefs$e.colors.surface.light,
10397
+ [vars$h.activeSortIndicator]: globalRefs$e.colors.surface.dark,
10398
+ [vars$h.resizeHandleColor]: globalRefs$e.colors.surface.light,
10399
+
10400
+ [vars$h.borderWidth]: refs.borderWidth,
10401
+ [vars$h.borderStyle]: refs.borderStyle,
10402
+ [vars$h.borderRadius]: refs.borderRadius,
10403
+ [vars$h.borderColor]: 'transparent',
10404
+
10405
+ [vars$h.headerRowTextColor]: globalRefs$e.colors.surface.dark,
10406
+ [vars$h.separatorColor]: globalRefs$e.colors.surface.light,
10407
+
10408
+ [vars$h.valueTextColor]: globalRefs$e.colors.surface.contrast,
10409
+ [vars$h.selectedBackgroundColor]: globalRefs$e.colors.surface.highlight,
10410
+ [vars$h.hostDirection]: globalRefs$e.direction,
10411
+
10412
+ [vars$h.toggleDetailsPanelButtonSize]: '1em',
10413
+ [vars$h.toggleDetailsPanelButtonOpenedColor]: globalRefs$e.colors.surface.contrast,
10414
+ [vars$h.toggleDetailsPanelButtonClosedColor]: globalRefs$e.colors.surface.light,
10415
+ [vars$h.toggleDetailsPanelButtonCursor]: 'pointer',
10416
+ [vars$h.detailsPanelBackgroundColor]: globalRefs$e.colors.surface.highlight,
10417
+ [vars$h.detailsPanelBorderTopColor]: globalRefs$e.colors.surface.light,
10418
+ [vars$h.detailsPanelLabelsColor]: globalRefs$e.colors.surface.dark,
10419
+ [vars$h.detailsPanelLabelsFontSize]: '0.8em',
10420
+ [vars$h.detailsPanelItemsGap]: '2em',
10421
+ [vars$h.detailsPanelPadding]: '12px 0',
10344
10422
 
10345
10423
  _bordered: {
10346
- [vars$e.borderColor]: refs.borderColor,
10424
+ [vars$h.borderColor]: refs.borderColor,
10347
10425
  },
10348
10426
  };
10349
10427
 
@@ -10351,10 +10429,10 @@ var grid$1 = /*#__PURE__*/Object.freeze({
10351
10429
  __proto__: null,
10352
10430
  default: grid,
10353
10431
  grid: grid,
10354
- vars: vars$e
10432
+ vars: vars$h
10355
10433
  });
10356
10434
 
10357
- const componentName$e = getComponentName('notification-card');
10435
+ const componentName$h = getComponentName('notification-card');
10358
10436
 
10359
10437
  const notificationCardMixin = (superclass) =>
10360
10438
  class NotificationCardMixinClass extends superclass {
@@ -10462,54 +10540,54 @@ const NotificationCardClass = compose(
10462
10540
  }
10463
10541
  `,
10464
10542
  excludeAttrsSync: ['tabindex'],
10465
- componentName: componentName$e,
10543
+ componentName: componentName$h,
10466
10544
  })
10467
10545
  );
10468
10546
 
10469
- const globalRefs$a = getThemeRefs(globals);
10470
- const vars$d = NotificationCardClass.cssVarList;
10547
+ const globalRefs$d = getThemeRefs(globals);
10548
+ const vars$g = NotificationCardClass.cssVarList;
10471
10549
 
10472
- const shadowColor = '#00000020';
10550
+ const shadowColor$1 = '#00000020';
10473
10551
 
10474
10552
  const notification = {
10475
- [vars$d.hostMinWidth]: '415px',
10476
- [vars$d.fontFamily]: globalRefs$a.fonts.font1.family,
10477
- [vars$d.fontSize]: globalRefs$a.typography.body1.size,
10478
- [vars$d.backgroundColor]: globalRefs$a.colors.surface.main,
10479
- [vars$d.textColor]: globalRefs$a.colors.surface.contrast,
10480
- [vars$d.boxShadow]: `${globalRefs$a.shadow.wide.xl} ${shadowColor}, ${globalRefs$a.shadow.narrow.xl} ${shadowColor}`,
10481
- [vars$d.verticalPadding]: '0.625em',
10482
- [vars$d.horizontalPadding]: '1.5em',
10483
- [vars$d.borderRadius]: globalRefs$a.radius.xs,
10553
+ [vars$g.hostMinWidth]: '415px',
10554
+ [vars$g.fontFamily]: globalRefs$d.fonts.font1.family,
10555
+ [vars$g.fontSize]: globalRefs$d.typography.body1.size,
10556
+ [vars$g.backgroundColor]: globalRefs$d.colors.surface.main,
10557
+ [vars$g.textColor]: globalRefs$d.colors.surface.contrast,
10558
+ [vars$g.boxShadow]: `${globalRefs$d.shadow.wide.xl} ${shadowColor$1}, ${globalRefs$d.shadow.narrow.xl} ${shadowColor$1}`,
10559
+ [vars$g.verticalPadding]: '0.625em',
10560
+ [vars$g.horizontalPadding]: '1.5em',
10561
+ [vars$g.borderRadius]: globalRefs$d.radius.xs,
10484
10562
 
10485
10563
  _bordered: {
10486
- [vars$d.borderWidth]: globalRefs$a.border.sm,
10487
- [vars$d.borderStyle]: 'solid',
10488
- [vars$d.borderColor]: 'transparent',
10564
+ [vars$g.borderWidth]: globalRefs$d.border.sm,
10565
+ [vars$g.borderStyle]: 'solid',
10566
+ [vars$g.borderColor]: 'transparent',
10489
10567
  },
10490
10568
 
10491
10569
  size: {
10492
- xs: { [vars$d.fontSize]: '12px' },
10493
- sm: { [vars$d.fontSize]: '14px' },
10494
- md: { [vars$d.fontSize]: '16px' },
10495
- lg: { [vars$d.fontSize]: '18px' },
10570
+ xs: { [vars$g.fontSize]: '12px' },
10571
+ sm: { [vars$g.fontSize]: '14px' },
10572
+ md: { [vars$g.fontSize]: '16px' },
10573
+ lg: { [vars$g.fontSize]: '18px' },
10496
10574
  },
10497
10575
 
10498
10576
  mode: {
10499
10577
  primary: {
10500
- [vars$d.backgroundColor]: globalRefs$a.colors.primary.main,
10501
- [vars$d.textColor]: globalRefs$a.colors.primary.contrast,
10502
- [vars$d.borderColor]: globalRefs$a.colors.primary.light,
10578
+ [vars$g.backgroundColor]: globalRefs$d.colors.primary.main,
10579
+ [vars$g.textColor]: globalRefs$d.colors.primary.contrast,
10580
+ [vars$g.borderColor]: globalRefs$d.colors.primary.light,
10503
10581
  },
10504
10582
  success: {
10505
- [vars$d.backgroundColor]: globalRefs$a.colors.success.main,
10506
- [vars$d.textColor]: globalRefs$a.colors.success.contrast,
10507
- [vars$d.borderColor]: globalRefs$a.colors.success.light,
10583
+ [vars$g.backgroundColor]: globalRefs$d.colors.success.main,
10584
+ [vars$g.textColor]: globalRefs$d.colors.success.contrast,
10585
+ [vars$g.borderColor]: globalRefs$d.colors.success.light,
10508
10586
  },
10509
10587
  error: {
10510
- [vars$d.backgroundColor]: globalRefs$a.colors.error.main,
10511
- [vars$d.textColor]: globalRefs$a.colors.error.contrast,
10512
- [vars$d.borderColor]: globalRefs$a.colors.error.light,
10588
+ [vars$g.backgroundColor]: globalRefs$d.colors.error.main,
10589
+ [vars$g.textColor]: globalRefs$d.colors.error.contrast,
10590
+ [vars$g.borderColor]: globalRefs$d.colors.error.light,
10513
10591
  },
10514
10592
  },
10515
10593
  };
@@ -10517,10 +10595,10 @@ const notification = {
10517
10595
  var notificationCard = /*#__PURE__*/Object.freeze({
10518
10596
  __proto__: null,
10519
10597
  default: notification,
10520
- vars: vars$d
10598
+ vars: vars$g
10521
10599
  });
10522
10600
 
10523
- const componentName$d = getComponentName('multi-select-combo-box');
10601
+ const componentName$g = getComponentName('multi-select-combo-box');
10524
10602
 
10525
10603
  const multiSelectComboBoxMixin = (superclass) =>
10526
10604
  class MultiSelectComboBoxMixinClass extends superclass {
@@ -11154,93 +11232,93 @@ const MultiSelectComboBoxClass = compose(
11154
11232
  // Note: we exclude `placeholder` because the vaadin component observes it and
11155
11233
  // tries to override it, causing us to lose the user set placeholder.
11156
11234
  excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
11157
- componentName: componentName$d,
11235
+ componentName: componentName$g,
11158
11236
  includeForwardProps: ['items', 'renderer', 'selectedItems'],
11159
11237
  })
11160
11238
  );
11161
11239
 
11162
- const globalRefs$9 = getThemeRefs(globals);
11163
- const vars$c = MultiSelectComboBoxClass.cssVarList;
11240
+ const globalRefs$c = getThemeRefs(globals);
11241
+ const vars$f = MultiSelectComboBoxClass.cssVarList;
11164
11242
 
11165
11243
  const multiSelectComboBox = {
11166
- [vars$c.hostWidth]: refs.width,
11167
- [vars$c.hostDirection]: refs.direction,
11168
- [vars$c.fontSize]: refs.fontSize,
11169
- [vars$c.fontFamily]: refs.fontFamily,
11170
- [vars$c.labelFontSize]: refs.labelFontSize,
11171
- [vars$c.labelFontWeight]: refs.labelFontWeight,
11172
- [vars$c.labelTextColor]: refs.labelTextColor,
11173
- [vars$c.errorMessageTextColor]: refs.errorMessageTextColor,
11174
- [vars$c.inputBorderColor]: refs.borderColor,
11175
- [vars$c.inputBorderWidth]: refs.borderWidth,
11176
- [vars$c.inputBorderStyle]: refs.borderStyle,
11177
- [vars$c.inputBorderRadius]: refs.borderRadius,
11178
- [vars$c.inputOutlineColor]: refs.outlineColor,
11179
- [vars$c.inputOutlineOffset]: refs.outlineOffset,
11180
- [vars$c.inputOutlineWidth]: refs.outlineWidth,
11181
- [vars$c.inputOutlineStyle]: refs.outlineStyle,
11182
- [vars$c.labelRequiredIndicator]: refs.requiredIndicator,
11183
- [vars$c.inputValueTextColor]: refs.valueTextColor,
11184
- [vars$c.inputPlaceholderTextColor]: refs.placeholderTextColor,
11185
- [vars$c.inputBackgroundColor]: refs.backgroundColor,
11186
- [vars$c.inputHorizontalPadding]: refs.horizontalPadding,
11187
- [vars$c.inputVerticalPadding]: refs.verticalPadding,
11188
- [vars$c.inputHeight]: refs.inputHeight,
11189
- [vars$c.inputDropdownButtonColor]: globalRefs$9.colors.surface.dark,
11190
- [vars$c.inputDropdownButtonCursor]: 'pointer',
11191
- [vars$c.inputDropdownButtonSize]: refs.toggleButtonSize,
11192
- [vars$c.inputDropdownButtonOffset]: globalRefs$9.spacing.xs,
11193
- [vars$c.overlayItemPaddingInlineStart]: globalRefs$9.spacing.xs,
11194
- [vars$c.overlayItemPaddingInlineEnd]: globalRefs$9.spacing.lg,
11195
- [vars$c.chipFontSize]: refs.chipFontSize,
11196
- [vars$c.chipTextColor]: globalRefs$9.colors.surface.contrast,
11197
- [vars$c.chipBackgroundColor]: globalRefs$9.colors.surface.light,
11198
- [vars$c.labelPosition]: refs.labelPosition,
11199
- [vars$c.labelTopPosition]: refs.labelTopPosition,
11200
- [vars$c.labelLeftPosition]: refs.labelLeftPosition,
11201
- [vars$c.labelHorizontalPosition]: refs.labelHorizontalPosition,
11202
- [vars$c.inputTransformY]: refs.inputTransformY,
11203
- [vars$c.inputTransition]: refs.inputTransition,
11204
- [vars$c.marginInlineStart]: refs.marginInlineStart,
11205
- [vars$c.placeholderOpacity]: refs.placeholderOpacity,
11206
- [vars$c.inputVerticalAlignment]: refs.inputVerticalAlignment,
11244
+ [vars$f.hostWidth]: refs.width,
11245
+ [vars$f.hostDirection]: refs.direction,
11246
+ [vars$f.fontSize]: refs.fontSize,
11247
+ [vars$f.fontFamily]: refs.fontFamily,
11248
+ [vars$f.labelFontSize]: refs.labelFontSize,
11249
+ [vars$f.labelFontWeight]: refs.labelFontWeight,
11250
+ [vars$f.labelTextColor]: refs.labelTextColor,
11251
+ [vars$f.errorMessageTextColor]: refs.errorMessageTextColor,
11252
+ [vars$f.inputBorderColor]: refs.borderColor,
11253
+ [vars$f.inputBorderWidth]: refs.borderWidth,
11254
+ [vars$f.inputBorderStyle]: refs.borderStyle,
11255
+ [vars$f.inputBorderRadius]: refs.borderRadius,
11256
+ [vars$f.inputOutlineColor]: refs.outlineColor,
11257
+ [vars$f.inputOutlineOffset]: refs.outlineOffset,
11258
+ [vars$f.inputOutlineWidth]: refs.outlineWidth,
11259
+ [vars$f.inputOutlineStyle]: refs.outlineStyle,
11260
+ [vars$f.labelRequiredIndicator]: refs.requiredIndicator,
11261
+ [vars$f.inputValueTextColor]: refs.valueTextColor,
11262
+ [vars$f.inputPlaceholderTextColor]: refs.placeholderTextColor,
11263
+ [vars$f.inputBackgroundColor]: refs.backgroundColor,
11264
+ [vars$f.inputHorizontalPadding]: refs.horizontalPadding,
11265
+ [vars$f.inputVerticalPadding]: refs.verticalPadding,
11266
+ [vars$f.inputHeight]: refs.inputHeight,
11267
+ [vars$f.inputDropdownButtonColor]: globalRefs$c.colors.surface.dark,
11268
+ [vars$f.inputDropdownButtonCursor]: 'pointer',
11269
+ [vars$f.inputDropdownButtonSize]: refs.toggleButtonSize,
11270
+ [vars$f.inputDropdownButtonOffset]: globalRefs$c.spacing.xs,
11271
+ [vars$f.overlayItemPaddingInlineStart]: globalRefs$c.spacing.xs,
11272
+ [vars$f.overlayItemPaddingInlineEnd]: globalRefs$c.spacing.lg,
11273
+ [vars$f.chipFontSize]: refs.chipFontSize,
11274
+ [vars$f.chipTextColor]: globalRefs$c.colors.surface.contrast,
11275
+ [vars$f.chipBackgroundColor]: globalRefs$c.colors.surface.light,
11276
+ [vars$f.labelPosition]: refs.labelPosition,
11277
+ [vars$f.labelTopPosition]: refs.labelTopPosition,
11278
+ [vars$f.labelLeftPosition]: refs.labelLeftPosition,
11279
+ [vars$f.labelHorizontalPosition]: refs.labelHorizontalPosition,
11280
+ [vars$f.inputTransformY]: refs.inputTransformY,
11281
+ [vars$f.inputTransition]: refs.inputTransition,
11282
+ [vars$f.marginInlineStart]: refs.marginInlineStart,
11283
+ [vars$f.placeholderOpacity]: refs.placeholderOpacity,
11284
+ [vars$f.inputVerticalAlignment]: refs.inputVerticalAlignment,
11207
11285
 
11208
11286
  labelType: {
11209
11287
  floating: {
11210
- [vars$c.inputHorizontalPadding]: '0.25em',
11288
+ [vars$f.inputHorizontalPadding]: '0.25em',
11211
11289
  _hasValue: {
11212
- [vars$c.inputHorizontalPadding]: '0.45em',
11290
+ [vars$f.inputHorizontalPadding]: '0.45em',
11213
11291
  },
11214
11292
  },
11215
11293
  },
11216
11294
 
11217
11295
  _readonly: {
11218
- [vars$c.inputDropdownButtonCursor]: 'default',
11296
+ [vars$f.inputDropdownButtonCursor]: 'default',
11219
11297
  },
11220
11298
 
11221
11299
  // Overlay theme exposed via the component:
11222
- [vars$c.overlayFontSize]: refs.fontSize,
11223
- [vars$c.overlayFontFamily]: refs.fontFamily,
11224
- [vars$c.overlayCursor]: 'pointer',
11225
- [vars$c.overlayItemBoxShadow]: 'none',
11226
- [vars$c.overlayBackground]: refs.backgroundColor,
11227
- [vars$c.overlayTextColor]: refs.valueTextColor,
11300
+ [vars$f.overlayFontSize]: refs.fontSize,
11301
+ [vars$f.overlayFontFamily]: refs.fontFamily,
11302
+ [vars$f.overlayCursor]: 'pointer',
11303
+ [vars$f.overlayItemBoxShadow]: 'none',
11304
+ [vars$f.overlayBackground]: refs.backgroundColor,
11305
+ [vars$f.overlayTextColor]: refs.valueTextColor,
11228
11306
 
11229
11307
  // Overlay direct theme:
11230
- [vars$c.overlay.minHeight]: '400px',
11231
- [vars$c.overlay.margin]: '0',
11308
+ [vars$f.overlay.minHeight]: '400px',
11309
+ [vars$f.overlay.margin]: '0',
11232
11310
  };
11233
11311
 
11234
11312
  var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
11235
11313
  __proto__: null,
11236
11314
  default: multiSelectComboBox,
11237
11315
  multiSelectComboBox: multiSelectComboBox,
11238
- vars: vars$c
11316
+ vars: vars$f
11239
11317
  });
11240
11318
 
11241
- const componentName$c = getComponentName('badge');
11319
+ const componentName$f = getComponentName('badge');
11242
11320
 
11243
- class RawBadge extends createBaseClass({ componentName: componentName$c, baseSelector: ':host > div' }) {
11321
+ class RawBadge extends createBaseClass({ componentName: componentName$f, baseSelector: ':host > div' }) {
11244
11322
  constructor() {
11245
11323
  super();
11246
11324
 
@@ -11291,66 +11369,66 @@ const BadgeClass = compose(
11291
11369
  componentNameValidationMixin
11292
11370
  )(RawBadge);
11293
11371
 
11294
- const globalRefs$8 = getThemeRefs(globals);
11295
- const vars$b = BadgeClass.cssVarList;
11372
+ const globalRefs$b = getThemeRefs(globals);
11373
+ const vars$e = BadgeClass.cssVarList;
11296
11374
 
11297
11375
  const badge$2 = {
11298
- [vars$b.hostWidth]: 'fit-content',
11299
- [vars$b.hostDirection]: globalRefs$8.direction,
11376
+ [vars$e.hostWidth]: 'fit-content',
11377
+ [vars$e.hostDirection]: globalRefs$b.direction,
11300
11378
 
11301
- [vars$b.textAlign]: 'center',
11379
+ [vars$e.textAlign]: 'center',
11302
11380
 
11303
- [vars$b.fontFamily]: globalRefs$8.fonts.font1.family,
11304
- [vars$b.fontWeight]: '400',
11381
+ [vars$e.fontFamily]: globalRefs$b.fonts.font1.family,
11382
+ [vars$e.fontWeight]: '400',
11305
11383
 
11306
- [vars$b.verticalPadding]: '0.25em',
11307
- [vars$b.horizontalPadding]: '0.5em',
11384
+ [vars$e.verticalPadding]: '0.25em',
11385
+ [vars$e.horizontalPadding]: '0.5em',
11308
11386
 
11309
- [vars$b.borderWidth]: globalRefs$8.border.xs,
11310
- [vars$b.borderRadius]: globalRefs$8.radius.xs,
11311
- [vars$b.borderColor]: 'transparent',
11312
- [vars$b.borderStyle]: 'solid',
11387
+ [vars$e.borderWidth]: globalRefs$b.border.xs,
11388
+ [vars$e.borderRadius]: globalRefs$b.radius.xs,
11389
+ [vars$e.borderColor]: 'transparent',
11390
+ [vars$e.borderStyle]: 'solid',
11313
11391
 
11314
11392
  _fullWidth: {
11315
- [vars$b.hostWidth]: '100%',
11393
+ [vars$e.hostWidth]: '100%',
11316
11394
  },
11317
11395
 
11318
11396
  size: {
11319
- xs: { [vars$b.fontSize]: '12px' },
11320
- sm: { [vars$b.fontSize]: '14px' },
11321
- md: { [vars$b.fontSize]: '16px' },
11322
- lg: { [vars$b.fontSize]: '18px' },
11397
+ xs: { [vars$e.fontSize]: '12px' },
11398
+ sm: { [vars$e.fontSize]: '14px' },
11399
+ md: { [vars$e.fontSize]: '16px' },
11400
+ lg: { [vars$e.fontSize]: '18px' },
11323
11401
  },
11324
11402
 
11325
11403
  mode: {
11326
11404
  default: {
11327
- [vars$b.textColor]: globalRefs$8.colors.surface.dark,
11405
+ [vars$e.textColor]: globalRefs$b.colors.surface.dark,
11328
11406
  _bordered: {
11329
- [vars$b.borderColor]: globalRefs$8.colors.surface.light,
11407
+ [vars$e.borderColor]: globalRefs$b.colors.surface.light,
11330
11408
  },
11331
11409
  },
11332
11410
  primary: {
11333
- [vars$b.textColor]: globalRefs$8.colors.primary.main,
11411
+ [vars$e.textColor]: globalRefs$b.colors.primary.main,
11334
11412
  _bordered: {
11335
- [vars$b.borderColor]: globalRefs$8.colors.primary.light,
11413
+ [vars$e.borderColor]: globalRefs$b.colors.primary.light,
11336
11414
  },
11337
11415
  },
11338
11416
  secondary: {
11339
- [vars$b.textColor]: globalRefs$8.colors.secondary.main,
11417
+ [vars$e.textColor]: globalRefs$b.colors.secondary.main,
11340
11418
  _bordered: {
11341
- [vars$b.borderColor]: globalRefs$8.colors.secondary.light,
11419
+ [vars$e.borderColor]: globalRefs$b.colors.secondary.light,
11342
11420
  },
11343
11421
  },
11344
11422
  error: {
11345
- [vars$b.textColor]: globalRefs$8.colors.error.main,
11423
+ [vars$e.textColor]: globalRefs$b.colors.error.main,
11346
11424
  _bordered: {
11347
- [vars$b.borderColor]: globalRefs$8.colors.error.light,
11425
+ [vars$e.borderColor]: globalRefs$b.colors.error.light,
11348
11426
  },
11349
11427
  },
11350
11428
  success: {
11351
- [vars$b.textColor]: globalRefs$8.colors.success.main,
11429
+ [vars$e.textColor]: globalRefs$b.colors.success.main,
11352
11430
  _bordered: {
11353
- [vars$b.borderColor]: globalRefs$8.colors.success.light,
11431
+ [vars$e.borderColor]: globalRefs$b.colors.success.light,
11354
11432
  },
11355
11433
  },
11356
11434
  },
@@ -11359,11 +11437,11 @@ const badge$2 = {
11359
11437
  var badge$3 = /*#__PURE__*/Object.freeze({
11360
11438
  __proto__: null,
11361
11439
  default: badge$2,
11362
- vars: vars$b
11440
+ vars: vars$e
11363
11441
  });
11364
11442
 
11365
- const componentName$b = getComponentName('avatar');
11366
- class RawAvatar extends createBaseClass({ componentName: componentName$b, baseSelector: ':host > .wrapper' }) {
11443
+ const componentName$e = getComponentName('avatar');
11444
+ class RawAvatar extends createBaseClass({ componentName: componentName$e, baseSelector: ':host > .wrapper' }) {
11367
11445
  constructor() {
11368
11446
  super();
11369
11447
 
@@ -11420,7 +11498,7 @@ class RawAvatar extends createBaseClass({ componentName: componentName$b, baseSe
11420
11498
  this.avatarComponent = this.shadowRoot.querySelector('vaadin-avatar');
11421
11499
 
11422
11500
  forwardAttrs(this, this.avatarComponent, {
11423
- includeAttrs: ['display-name', 'img'],
11501
+ includeAttrs: ['display-name', 'img', 'abbr'],
11424
11502
  mapAttrs: { 'display-name': 'name' },
11425
11503
  });
11426
11504
 
@@ -11449,7 +11527,10 @@ const { host: host$4, editableBadge, avatar: avatar$2 } = {
11449
11527
  const AvatarClass = compose(
11450
11528
  createStyleMixin({
11451
11529
  mappings: {
11452
- hostWidth: { ...host$4, property: 'width' },
11530
+ hostWidth: [
11531
+ { ...host$4, property: 'width' },
11532
+ { ...host$4, property: 'min-width' },
11533
+ ],
11453
11534
  hostHeight: { ...host$4, property: 'height' },
11454
11535
  cursor: [avatar$2, host$4],
11455
11536
  hostDirection: { ...host$4, property: 'direction' },
@@ -11464,58 +11545,58 @@ const AvatarClass = compose(
11464
11545
  componentNameValidationMixin
11465
11546
  )(RawAvatar);
11466
11547
 
11467
- const globalRefs$7 = getThemeRefs(globals);
11468
- const compVars = AvatarClass.cssVarList;
11548
+ const globalRefs$a = getThemeRefs(globals);
11549
+ const compVars$1 = AvatarClass.cssVarList;
11469
11550
 
11470
11551
  const avatar = {
11471
- [compVars.hostDirection]: globalRefs$7.direction,
11472
- [compVars.editableIconColor]: globalRefs$7.colors.surface.dark,
11473
- [compVars.editableBorderColor]: globalRefs$7.colors.surface.dark,
11474
- [compVars.editableBackgroundColor]: globalRefs$7.colors.surface.main,
11475
- [compVars.avatarTextColor]: globalRefs$7.colors.surface.main,
11476
- [compVars.avatarBackgroundColor]: globalRefs$7.colors.surface.dark,
11552
+ [compVars$1.hostDirection]: globalRefs$a.direction,
11553
+ [compVars$1.editableIconColor]: globalRefs$a.colors.surface.dark,
11554
+ [compVars$1.editableBorderColor]: globalRefs$a.colors.surface.dark,
11555
+ [compVars$1.editableBackgroundColor]: globalRefs$a.colors.surface.main,
11556
+ [compVars$1.avatarTextColor]: globalRefs$a.colors.surface.main,
11557
+ [compVars$1.avatarBackgroundColor]: globalRefs$a.colors.surface.dark,
11477
11558
 
11478
11559
  _editable: {
11479
- [compVars.cursor]: 'pointer',
11560
+ [compVars$1.cursor]: 'pointer',
11480
11561
  },
11481
11562
 
11482
11563
  size: {
11483
11564
  xs: {
11484
- [compVars.hostWidth]: '30px',
11485
- [compVars.hostHeight]: '30px',
11565
+ [compVars$1.hostWidth]: '30px',
11566
+ [compVars$1.hostHeight]: '30px',
11486
11567
  },
11487
11568
  sm: {
11488
- [compVars.hostWidth]: '40px',
11489
- [compVars.hostHeight]: '40px',
11569
+ [compVars$1.hostWidth]: '40px',
11570
+ [compVars$1.hostHeight]: '40px',
11490
11571
  },
11491
11572
  md: {
11492
- [compVars.hostWidth]: '60px',
11493
- [compVars.hostHeight]: '60px',
11573
+ [compVars$1.hostWidth]: '60px',
11574
+ [compVars$1.hostHeight]: '60px',
11494
11575
  },
11495
11576
  lg: {
11496
- [compVars.hostWidth]: '98px',
11497
- [compVars.hostHeight]: '98px',
11577
+ [compVars$1.hostWidth]: '98px',
11578
+ [compVars$1.hostHeight]: '98px',
11498
11579
  },
11499
11580
  },
11500
11581
  };
11501
11582
 
11502
- const vars$a = {
11503
- ...compVars,
11583
+ const vars$d = {
11584
+ ...compVars$1,
11504
11585
  };
11505
11586
 
11506
11587
  var avatar$1 = /*#__PURE__*/Object.freeze({
11507
11588
  __proto__: null,
11508
11589
  default: avatar,
11509
- vars: vars$a
11590
+ vars: vars$d
11510
11591
  });
11511
11592
 
11512
- const componentName$a = getComponentName('mappings-field-internal');
11593
+ const componentName$d = getComponentName('mappings-field-internal');
11513
11594
 
11514
- createBaseInputClass({ componentName: componentName$a, baseSelector: 'div' });
11595
+ createBaseInputClass({ componentName: componentName$d, baseSelector: 'div' });
11515
11596
 
11516
- const componentName$9 = getComponentName('mappings-field');
11597
+ const componentName$c = getComponentName('mappings-field');
11517
11598
 
11518
- const customMixin$2 = (superclass) =>
11599
+ const customMixin$4 = (superclass) =>
11519
11600
  class MappingsFieldMixinClass extends superclass {
11520
11601
  get defaultValues() {
11521
11602
  const defaultValuesAttr = this.getAttribute('default-values');
@@ -11542,14 +11623,14 @@ const customMixin$2 = (superclass) =>
11542
11623
  const template = document.createElement('template');
11543
11624
 
11544
11625
  template.innerHTML = `
11545
- <${componentName$a}
11626
+ <${componentName$d}
11546
11627
  tabindex="-1"
11547
- ></${componentName$a}>
11628
+ ></${componentName$d}>
11548
11629
  `;
11549
11630
 
11550
11631
  this.baseElement.appendChild(template.content.cloneNode(true));
11551
11632
 
11552
- this.inputElement = this.shadowRoot.querySelector(componentName$a);
11633
+ this.inputElement = this.shadowRoot.querySelector(componentName$d);
11553
11634
 
11554
11635
  forwardAttrs(this, this.inputElement, {
11555
11636
  includeAttrs: [
@@ -11631,7 +11712,7 @@ const MappingsFieldClass = compose(
11631
11712
  proxyParentValidation: true,
11632
11713
  }),
11633
11714
  componentNameValidationMixin,
11634
- customMixin$2
11715
+ customMixin$4
11635
11716
  )(
11636
11717
  createProxy({
11637
11718
  slots: [],
@@ -11678,47 +11759,47 @@ const MappingsFieldClass = compose(
11678
11759
  'options',
11679
11760
  'error-message',
11680
11761
  ],
11681
- componentName: componentName$9,
11762
+ componentName: componentName$c,
11682
11763
  })
11683
11764
  );
11684
11765
 
11685
- const globalRefs$6 = getThemeRefs(globals);
11766
+ const globalRefs$9 = getThemeRefs(globals);
11686
11767
 
11687
- const vars$9 = MappingsFieldClass.cssVarList;
11768
+ const vars$c = MappingsFieldClass.cssVarList;
11688
11769
 
11689
11770
  const mappingsField = {
11690
- [vars$9.hostWidth]: refs.width,
11691
- [vars$9.hostDirection]: refs.direction,
11692
- [vars$9.fontSize]: refs.fontSize,
11693
- [vars$9.fontFamily]: refs.fontFamily,
11694
- [vars$9.separatorFontSize]: '14px',
11695
- [vars$9.labelsFontSize]: '14px',
11696
- [vars$9.labelsLineHeight]: '1',
11697
- [vars$9.labelsMarginBottom]: '6px',
11698
- [vars$9.labelTextColor]: refs.labelTextColor,
11699
- [vars$9.itemMarginBottom]: '1em',
11771
+ [vars$c.hostWidth]: refs.width,
11772
+ [vars$c.hostDirection]: refs.direction,
11773
+ [vars$c.fontSize]: refs.fontSize,
11774
+ [vars$c.fontFamily]: refs.fontFamily,
11775
+ [vars$c.separatorFontSize]: '14px',
11776
+ [vars$c.labelsFontSize]: '14px',
11777
+ [vars$c.labelsLineHeight]: '1',
11778
+ [vars$c.labelsMarginBottom]: '6px',
11779
+ [vars$c.labelTextColor]: refs.labelTextColor,
11780
+ [vars$c.itemMarginBottom]: '1em',
11700
11781
  // To be positioned correctly, the min width has to match the text field min width
11701
- [vars$9.valueLabelMinWidth]: refs.minWidth,
11782
+ [vars$c.valueLabelMinWidth]: refs.minWidth,
11702
11783
  // To be positioned correctly, the min width has to match the combo box field min width
11703
- [vars$9.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs$6.border.xs})`,
11704
- [vars$9.separatorWidth]: '70px',
11705
- [vars$9.removeButtonWidth]: '60px',
11784
+ [vars$c.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs$9.border.xs})`,
11785
+ [vars$c.separatorWidth]: '70px',
11786
+ [vars$c.removeButtonWidth]: '60px',
11706
11787
  };
11707
11788
 
11708
11789
  var mappingsField$1 = /*#__PURE__*/Object.freeze({
11709
11790
  __proto__: null,
11710
11791
  default: mappingsField,
11711
11792
  mappingsField: mappingsField,
11712
- vars: vars$9
11793
+ vars: vars$c
11713
11794
  });
11714
11795
 
11715
11796
  var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMTZDMSAxNy4xIDEuOSAxOCAzIDE4SDExQzEyLjEgMTggMTMgMTcuMSAxMyAxNlY0SDFWMTZaTTMgNkgxMVYxNkgzVjZaTTEwLjUgMUw5LjUgMEg0LjVMMy41IDFIMFYzSDE0VjFIMTAuNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
11716
11797
 
11717
11798
  var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMC45OTIxNDlDMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNSAxMC4wMDAyIDEuMDE2MTVMOC4yMjQxOSAzLjAwODE1SDIuOTkyMTlDMi40NjQxOSAzLjAwODE1IDIuMDA4MTkgMy40NDAxNSAyLjAwODE5IDMuOTkyMTVWMTIuMDA4MkMyLjAwODE5IDEyLjUzNjIgMi40NDAxOSAxMi45OTIyIDIuOTkyMTkgMTIuOTkyMkg1LjUzNjE5QzUuODQ4MTkgMTMuMDQwMiA2LjE2MDE5IDEzLjA0MDIgNi40NzIxOSAxMi45OTIySDExLjAwODJDMTEuNTM2MiAxMi45OTIyIDExLjk5MjIgMTIuNTYwMiAxMS45OTIyIDEyLjAwODJWNy43ODQxNkwxMy45MzYyIDUuNjI0MTVMMTQuMDA4MiA1LjY3MjE1VjExLjk4NDJDMTQuMDA4MiAxMy42NjQyIDEyLjY2NDIgMTUuMDA4MiAxMS4wMDgyIDE1LjAwODJIMy4wMTYxOUMxLjMzNjE5IDE1LjAwODIgLTAuMDA3ODEyNSAxMy42NjQyIC0wLjAwNzgxMjUgMTEuOTg0MlYzLjk5MjE1Qy0wLjAwNzgxMjUgMi4zMzYxNSAxLjMzNjE5IDAuOTkyMTQ5IDMuMDE2MTkgMC45OTIxNDlIMTAuMDAwMlpNMTEuMjcyMiAyLjYyNDE1TDEyLjYxNjIgNC4xMTIxNUw3LjcyMDE5IDkuNjgwMTZDNy41MDQxOSA5LjkyMDE2IDYuODMyMTkgMTAuMjMyMiA1LjY4MDE5IDEwLjYxNjJDNS42NTYxOSAxMC42NDAyIDUuNjA4MTkgMTAuNjQwMiA1LjU2MDE5IDEwLjYxNjJDNS40NjQxOSAxMC41OTIyIDUuMzkyMTkgMTAuNDcyMiA1LjQ0MDE5IDEwLjM3NjJDNS43NTIxOSA5LjI0ODE2IDYuMDQwMTkgOC41NTIxNiA2LjI1NjE5IDguMzEyMTZMMTEuMjcyMiAyLjYyNDE1Wk0xMS45MjAyIDEuODU2MTVMMTMuMjg4MiAwLjMyMDE0OUMxMy42NDgyIC0wLjA4Nzg1MTYgMTQuMjcyMiAtMC4xMTE4NTIgMTQuNjgwMiAwLjI3MjE0OUMxNS4wODgyIDAuNjMyMTQ5IDE1LjExMjIgMS4yODAxNSAxNC43NTIyIDEuNjg4MTVMMTMuMjY0MiAzLjM2ODE1TDExLjkyMDIgMS44NTYxNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
11718
11799
 
11719
- const componentName$8 = getComponentName('user-attribute');
11800
+ const componentName$b = getComponentName('user-attribute');
11720
11801
  class RawUserAttribute extends createBaseClass({
11721
- componentName: componentName$8,
11802
+ componentName: componentName$b,
11722
11803
  baseSelector: ':host > .root',
11723
11804
  }) {
11724
11805
  constructor() {
@@ -11948,32 +12029,32 @@ const UserAttributeClass = compose(
11948
12029
  componentNameValidationMixin
11949
12030
  )(RawUserAttribute);
11950
12031
 
11951
- const globalRefs$5 = getThemeRefs(globals);
11952
- const vars$8 = UserAttributeClass.cssVarList;
12032
+ const globalRefs$8 = getThemeRefs(globals);
12033
+ const vars$b = UserAttributeClass.cssVarList;
11953
12034
 
11954
12035
  const userAttribute = {
11955
- [vars$8.hostDirection]: globalRefs$5.direction,
11956
- [vars$8.labelTextWidth]: '150px',
11957
- [vars$8.valueTextWidth]: '200px',
11958
- [vars$8.badgeMaxWidth]: '85px',
11959
- [vars$8.itemsGap]: '16px',
11960
- [vars$8.hostMinWidth]: '530px',
12036
+ [vars$b.hostDirection]: globalRefs$8.direction,
12037
+ [vars$b.labelTextWidth]: '150px',
12038
+ [vars$b.valueTextWidth]: '200px',
12039
+ [vars$b.badgeMaxWidth]: '85px',
12040
+ [vars$b.itemsGap]: '16px',
12041
+ [vars$b.hostMinWidth]: '530px',
11961
12042
  _fullWidth: {
11962
- [vars$8.hostWidth]: '100%',
12043
+ [vars$b.hostWidth]: '100%',
11963
12044
  },
11964
12045
  };
11965
12046
 
11966
12047
  var userAttribute$1 = /*#__PURE__*/Object.freeze({
11967
12048
  __proto__: null,
11968
12049
  default: userAttribute,
11969
- vars: vars$8
12050
+ vars: vars$b
11970
12051
  });
11971
12052
 
11972
12053
  var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
11973
12054
 
11974
- const componentName$7 = getComponentName('user-auth-method');
12055
+ const componentName$a = getComponentName('user-auth-method');
11975
12056
  class RawUserAuthMethod extends createBaseClass({
11976
- componentName: componentName$7,
12057
+ componentName: componentName$a,
11977
12058
  baseSelector: ':host > .root',
11978
12059
  }) {
11979
12060
  constructor() {
@@ -12165,33 +12246,33 @@ const UserAuthMethodClass = compose(
12165
12246
  componentNameValidationMixin
12166
12247
  )(RawUserAuthMethod);
12167
12248
 
12168
- const globalRefs$4 = getThemeRefs(globals);
12169
- const vars$7 = UserAuthMethodClass.cssVarList;
12249
+ const globalRefs$7 = getThemeRefs(globals);
12250
+ const vars$a = UserAuthMethodClass.cssVarList;
12170
12251
 
12171
12252
  const userAuthMethod = {
12172
- [vars$7.hostDirection]: globalRefs$4.direction,
12173
- [vars$7.labelTextWidth]: '200px',
12174
- [vars$7.itemsGap]: '16px',
12175
- [vars$7.hostMinWidth]: '530px',
12176
- [vars$7.iconSize]: '24px',
12253
+ [vars$a.hostDirection]: globalRefs$7.direction,
12254
+ [vars$a.labelTextWidth]: '200px',
12255
+ [vars$a.itemsGap]: '16px',
12256
+ [vars$a.hostMinWidth]: '530px',
12257
+ [vars$a.iconSize]: '24px',
12177
12258
  _fullWidth: {
12178
- [vars$7.hostWidth]: '100%',
12259
+ [vars$a.hostWidth]: '100%',
12179
12260
  },
12180
12261
  };
12181
12262
 
12182
12263
  var userAuthMethod$1 = /*#__PURE__*/Object.freeze({
12183
12264
  __proto__: null,
12184
12265
  default: userAuthMethod,
12185
- vars: vars$7
12266
+ vars: vars$a
12186
12267
  });
12187
12268
 
12188
- const componentName$6 = getComponentName('saml-group-mappings-internal');
12269
+ const componentName$9 = getComponentName('saml-group-mappings-internal');
12189
12270
 
12190
- createBaseInputClass({ componentName: componentName$6, baseSelector: '' });
12271
+ createBaseInputClass({ componentName: componentName$9, baseSelector: '' });
12191
12272
 
12192
- const componentName$5 = getComponentName('saml-group-mappings');
12273
+ const componentName$8 = getComponentName('saml-group-mappings');
12193
12274
 
12194
- const customMixin$1 = (superclass) =>
12275
+ const customMixin$3 = (superclass) =>
12195
12276
  class SamlGroupMappingsMixinClass extends superclass {
12196
12277
  init() {
12197
12278
  super.init?.();
@@ -12199,14 +12280,14 @@ const customMixin$1 = (superclass) =>
12199
12280
  const template = document.createElement('template');
12200
12281
 
12201
12282
  template.innerHTML = `
12202
- <${componentName$6}
12283
+ <${componentName$9}
12203
12284
  tabindex="-1"
12204
- ></${componentName$6}>
12285
+ ></${componentName$9}>
12205
12286
  `;
12206
12287
 
12207
12288
  this.baseElement.appendChild(template.content.cloneNode(true));
12208
12289
 
12209
- this.inputElement = this.shadowRoot.querySelector(componentName$6);
12290
+ this.inputElement = this.shadowRoot.querySelector(componentName$9);
12210
12291
 
12211
12292
  forwardAttrs(this, this.inputElement, {
12212
12293
  includeAttrs: [
@@ -12248,7 +12329,7 @@ const SamlGroupMappingsClass = compose(
12248
12329
  proxyParentValidation: true,
12249
12330
  }),
12250
12331
  componentNameValidationMixin,
12251
- customMixin$1
12332
+ customMixin$3
12252
12333
  )(
12253
12334
  createProxy({
12254
12335
  slots: [],
@@ -12283,61 +12364,61 @@ const SamlGroupMappingsClass = compose(
12283
12364
  'options',
12284
12365
  'error-message',
12285
12366
  ],
12286
- componentName: componentName$5,
12367
+ componentName: componentName$8,
12287
12368
  })
12288
12369
  );
12289
12370
 
12290
- const vars$6 = SamlGroupMappingsClass.cssVarList;
12371
+ const vars$9 = SamlGroupMappingsClass.cssVarList;
12291
12372
 
12292
12373
  const samlGroupMappings = {
12293
- [vars$6.hostWidth]: refs.width,
12294
- [vars$6.hostDirection]: refs.direction,
12295
- [vars$6.groupNameInputMarginBottom]: '1em',
12374
+ [vars$9.hostWidth]: refs.width,
12375
+ [vars$9.hostDirection]: refs.direction,
12376
+ [vars$9.groupNameInputMarginBottom]: '1em',
12296
12377
  };
12297
12378
 
12298
12379
  var samlGroupMappings$1 = /*#__PURE__*/Object.freeze({
12299
12380
  __proto__: null,
12300
12381
  default: samlGroupMappings,
12301
12382
  samlGroupMappings: samlGroupMappings,
12302
- vars: vars$6
12383
+ vars: vars$9
12303
12384
  });
12304
12385
 
12305
- const globalRefs$3 = getThemeRefs(globals);
12306
- const vars$5 = PolicyValidationClass.cssVarList;
12386
+ const globalRefs$6 = getThemeRefs(globals);
12387
+ const vars$8 = PolicyValidationClass.cssVarList;
12307
12388
 
12308
12389
  const policyValidation = {
12309
- [vars$5.fontFamily]: refs.fontFamily,
12310
- [vars$5.fontSize]: refs.labelFontSize,
12311
- [vars$5.textColor]: refs.labelTextColor,
12312
- [vars$5.borderWidth]: refs.borderWidth,
12313
- [vars$5.borderStyle]: refs.borderStyle,
12314
- [vars$5.borderColor]: refs.borderColor,
12315
- [vars$5.borderRadius]: globalRefs$3.radius.sm,
12316
- [vars$5.backgroundColor]: 'none',
12317
- [vars$5.padding]: '0px',
12318
- [vars$5.labelMargin]: globalRefs$3.spacing.sm,
12319
- [vars$5.itemsSpacing]: globalRefs$3.spacing.lg,
12320
- [vars$5.itemSymbolDefault]: "'\\2022'", // "•"
12321
- [vars$5.itemSymbolSuccess]: "'\\2713'", // "✓"
12322
- [vars$5.itemSymbolError]: "'\\2A09'", // "⨉"
12323
- [vars$5.itemSymbolSuccessColor]: globalRefs$3.colors.success.main,
12324
- [vars$5.itemSymbolErrorColor]: globalRefs$3.colors.error.main,
12390
+ [vars$8.fontFamily]: refs.fontFamily,
12391
+ [vars$8.fontSize]: refs.labelFontSize,
12392
+ [vars$8.textColor]: refs.labelTextColor,
12393
+ [vars$8.borderWidth]: refs.borderWidth,
12394
+ [vars$8.borderStyle]: refs.borderStyle,
12395
+ [vars$8.borderColor]: refs.borderColor,
12396
+ [vars$8.borderRadius]: globalRefs$6.radius.sm,
12397
+ [vars$8.backgroundColor]: 'none',
12398
+ [vars$8.padding]: '0px',
12399
+ [vars$8.labelMargin]: globalRefs$6.spacing.sm,
12400
+ [vars$8.itemsSpacing]: globalRefs$6.spacing.lg,
12401
+ [vars$8.itemSymbolDefault]: "'\\2022'", // "•"
12402
+ [vars$8.itemSymbolSuccess]: "'\\2713'", // "✓"
12403
+ [vars$8.itemSymbolError]: "'\\2A09'", // "⨉"
12404
+ [vars$8.itemSymbolSuccessColor]: globalRefs$6.colors.success.main,
12405
+ [vars$8.itemSymbolErrorColor]: globalRefs$6.colors.error.main,
12325
12406
  };
12326
12407
 
12327
12408
  var policyValidation$1 = /*#__PURE__*/Object.freeze({
12328
12409
  __proto__: null,
12329
12410
  default: policyValidation,
12330
- vars: vars$5
12411
+ vars: vars$8
12331
12412
  });
12332
12413
 
12333
- const vars$4 = IconClass.cssVarList;
12414
+ const vars$7 = IconClass.cssVarList;
12334
12415
 
12335
12416
  const icon = {};
12336
12417
 
12337
12418
  var icon$1 = /*#__PURE__*/Object.freeze({
12338
12419
  __proto__: null,
12339
12420
  default: icon,
12340
- vars: vars$4
12421
+ vars: vars$7
12341
12422
  });
12342
12423
 
12343
12424
  const decode = (input) => {
@@ -12350,9 +12431,9 @@ const tpl = (input, inline) => {
12350
12431
  return inline ? input : `<pre>${input}</pre>`;
12351
12432
  };
12352
12433
 
12353
- const componentName$4 = getComponentName('code-snippet');
12434
+ const componentName$7 = getComponentName('code-snippet');
12354
12435
 
12355
- let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$4, baseSelector: ':host > code' }) {
12436
+ let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$7, baseSelector: ':host > code' }) {
12356
12437
  static get observedAttributes() {
12357
12438
  return ['lang', 'inline'];
12358
12439
  }
@@ -12582,9 +12663,9 @@ const CodeSnippetClass = compose(
12582
12663
  componentNameValidationMixin
12583
12664
  )(CodeSnippet$1);
12584
12665
 
12585
- const globalRefs$2 = getThemeRefs(globals);
12666
+ const globalRefs$5 = getThemeRefs(globals);
12586
12667
 
12587
- const vars$3 = CodeSnippetClass.cssVarList;
12668
+ const vars$6 = CodeSnippetClass.cssVarList;
12588
12669
 
12589
12670
  const light = {
12590
12671
  color1: '#fa0',
@@ -12619,50 +12700,50 @@ const dark = {
12619
12700
  };
12620
12701
 
12621
12702
  const CodeSnippet = {
12622
- [vars$3.rootBgColor]: globalRefs$2.colors.surface.main,
12623
- [vars$3.rootTextColor]: globalRefs$2.colors.surface.contrast,
12624
- [vars$3.docTagTextColor]: light.color2,
12625
- [vars$3.keywordTextColor]: light.color2,
12626
- [vars$3.metaKeywordTextColor]: light.color2,
12627
- [vars$3.templateTagTextColor]: light.color2,
12628
- [vars$3.templateVariableTextColor]: light.color2,
12629
- [vars$3.typeTextColor]: light.color2,
12630
- [vars$3.variableLanguageTextColor]: light.color2,
12631
- [vars$3.titleTextColor]: light.color3,
12632
- [vars$3.titleClassTextColor]: light.color3,
12633
- [vars$3.titleClassInheritedTextColor]: light.color3,
12634
- [vars$3.titleFunctionTextColor]: light.color3,
12635
- [vars$3.attrTextColor]: light.color4,
12636
- [vars$3.attributeTextColor]: light.color4,
12637
- [vars$3.literalTextColor]: light.color4,
12638
- [vars$3.metaTextColor]: light.color4,
12639
- [vars$3.numberTextColor]: light.color4,
12640
- [vars$3.operatorTextColor]: light.color4,
12641
- [vars$3.variableTextColor]: light.color4,
12642
- [vars$3.selectorAttrTextColor]: light.color4,
12643
- [vars$3.selectorClassTextColor]: light.color4,
12644
- [vars$3.selectorIdTextColor]: light.color4,
12645
- [vars$3.regexpTextColor]: light.color13,
12646
- [vars$3.stringTextColor]: light.color13,
12647
- [vars$3.metaStringTextColor]: light.color13,
12648
- [vars$3.builtInTextColor]: light.color5,
12649
- [vars$3.symbolTextColor]: light.color5,
12650
- [vars$3.commentTextColor]: light.color6,
12651
- [vars$3.codeTextColor]: light.color6,
12652
- [vars$3.formulaTextColor]: light.color6,
12653
- [vars$3.nameTextColor]: light.color7,
12654
- [vars$3.quoteTextColor]: light.color7,
12655
- [vars$3.selectorTagTextColor]: light.color7,
12656
- [vars$3.selectorPseudoTextColor]: light.color7,
12657
- [vars$3.substTextColor]: light.color8,
12658
- [vars$3.sectionTextColor]: light.color4,
12659
- [vars$3.bulletTextColor]: light.color9,
12660
- [vars$3.emphasisTextColor]: light.color8,
12661
- [vars$3.strongTextColor]: light.color8,
12662
- [vars$3.additionTextColor]: light.color7,
12663
- [vars$3.additionBgColor]: light.color10,
12664
- [vars$3.deletionTextColor]: light.color2,
12665
- [vars$3.deletionBgColor]: light.color10,
12703
+ [vars$6.rootBgColor]: globalRefs$5.colors.surface.main,
12704
+ [vars$6.rootTextColor]: globalRefs$5.colors.surface.contrast,
12705
+ [vars$6.docTagTextColor]: light.color2,
12706
+ [vars$6.keywordTextColor]: light.color2,
12707
+ [vars$6.metaKeywordTextColor]: light.color2,
12708
+ [vars$6.templateTagTextColor]: light.color2,
12709
+ [vars$6.templateVariableTextColor]: light.color2,
12710
+ [vars$6.typeTextColor]: light.color2,
12711
+ [vars$6.variableLanguageTextColor]: light.color2,
12712
+ [vars$6.titleTextColor]: light.color3,
12713
+ [vars$6.titleClassTextColor]: light.color3,
12714
+ [vars$6.titleClassInheritedTextColor]: light.color3,
12715
+ [vars$6.titleFunctionTextColor]: light.color3,
12716
+ [vars$6.attrTextColor]: light.color4,
12717
+ [vars$6.attributeTextColor]: light.color4,
12718
+ [vars$6.literalTextColor]: light.color4,
12719
+ [vars$6.metaTextColor]: light.color4,
12720
+ [vars$6.numberTextColor]: light.color4,
12721
+ [vars$6.operatorTextColor]: light.color4,
12722
+ [vars$6.variableTextColor]: light.color4,
12723
+ [vars$6.selectorAttrTextColor]: light.color4,
12724
+ [vars$6.selectorClassTextColor]: light.color4,
12725
+ [vars$6.selectorIdTextColor]: light.color4,
12726
+ [vars$6.regexpTextColor]: light.color13,
12727
+ [vars$6.stringTextColor]: light.color13,
12728
+ [vars$6.metaStringTextColor]: light.color13,
12729
+ [vars$6.builtInTextColor]: light.color5,
12730
+ [vars$6.symbolTextColor]: light.color5,
12731
+ [vars$6.commentTextColor]: light.color6,
12732
+ [vars$6.codeTextColor]: light.color6,
12733
+ [vars$6.formulaTextColor]: light.color6,
12734
+ [vars$6.nameTextColor]: light.color7,
12735
+ [vars$6.quoteTextColor]: light.color7,
12736
+ [vars$6.selectorTagTextColor]: light.color7,
12737
+ [vars$6.selectorPseudoTextColor]: light.color7,
12738
+ [vars$6.substTextColor]: light.color8,
12739
+ [vars$6.sectionTextColor]: light.color4,
12740
+ [vars$6.bulletTextColor]: light.color9,
12741
+ [vars$6.emphasisTextColor]: light.color8,
12742
+ [vars$6.strongTextColor]: light.color8,
12743
+ [vars$6.additionTextColor]: light.color7,
12744
+ [vars$6.additionBgColor]: light.color10,
12745
+ [vars$6.deletionTextColor]: light.color2,
12746
+ [vars$6.deletionBgColor]: light.color10,
12666
12747
  /* purposely ignored */
12667
12748
  // [vars.charEscapeTextColor]: '',
12668
12749
  // [vars.linkTextColor]: '',
@@ -12674,50 +12755,50 @@ const CodeSnippet = {
12674
12755
 
12675
12756
  const codeSnippetDarkThemeOverrides = {
12676
12757
  codeSnippet: {
12677
- [vars$3.rootBgColor]: globalRefs$2.colors.surface.main,
12678
- [vars$3.rootTextColor]: globalRefs$2.colors.surface.contrast,
12679
- [vars$3.docTagTextColor]: dark.color2,
12680
- [vars$3.keywordTextColor]: dark.color2,
12681
- [vars$3.metaKeywordTextColor]: dark.color2,
12682
- [vars$3.templateTagTextColor]: dark.color2,
12683
- [vars$3.templateVariableTextColor]: dark.color2,
12684
- [vars$3.typeTextColor]: dark.color2,
12685
- [vars$3.variableLanguageTextColor]: dark.color2,
12686
- [vars$3.titleTextColor]: dark.color3,
12687
- [vars$3.titleClassTextColor]: dark.color3,
12688
- [vars$3.titleClassInheritedTextColor]: dark.color3,
12689
- [vars$3.titleFunctionTextColor]: dark.color3,
12690
- [vars$3.attrTextColor]: dark.color4,
12691
- [vars$3.attributeTextColor]: dark.color4,
12692
- [vars$3.literalTextColor]: dark.color4,
12693
- [vars$3.metaTextColor]: dark.color4,
12694
- [vars$3.numberTextColor]: dark.color4,
12695
- [vars$3.operatorTextColor]: dark.color4,
12696
- [vars$3.variableTextColor]: dark.color4,
12697
- [vars$3.selectorAttrTextColor]: dark.color4,
12698
- [vars$3.selectorClassTextColor]: dark.color4,
12699
- [vars$3.selectorIdTextColor]: dark.color4,
12700
- [vars$3.regexpTextColor]: dark.color13,
12701
- [vars$3.stringTextColor]: dark.color13,
12702
- [vars$3.metaStringTextColor]: dark.color13,
12703
- [vars$3.builtInTextColor]: dark.color5,
12704
- [vars$3.symbolTextColor]: dark.color5,
12705
- [vars$3.commentTextColor]: dark.color6,
12706
- [vars$3.codeTextColor]: dark.color6,
12707
- [vars$3.formulaTextColor]: dark.color6,
12708
- [vars$3.nameTextColor]: dark.color7,
12709
- [vars$3.quoteTextColor]: dark.color7,
12710
- [vars$3.selectorTagTextColor]: dark.color7,
12711
- [vars$3.selectorPseudoTextColor]: dark.color7,
12712
- [vars$3.substTextColor]: dark.color8,
12713
- [vars$3.sectionTextColor]: dark.color4,
12714
- [vars$3.bulletTextColor]: dark.color9,
12715
- [vars$3.emphasisTextColor]: dark.color8,
12716
- [vars$3.strongTextColor]: dark.color8,
12717
- [vars$3.additionTextColor]: dark.color7,
12718
- [vars$3.additionBgColor]: dark.color10,
12719
- [vars$3.deletionTextColor]: dark.color2,
12720
- [vars$3.deletionBgColor]: dark.color10,
12758
+ [vars$6.rootBgColor]: globalRefs$5.colors.surface.main,
12759
+ [vars$6.rootTextColor]: globalRefs$5.colors.surface.contrast,
12760
+ [vars$6.docTagTextColor]: dark.color2,
12761
+ [vars$6.keywordTextColor]: dark.color2,
12762
+ [vars$6.metaKeywordTextColor]: dark.color2,
12763
+ [vars$6.templateTagTextColor]: dark.color2,
12764
+ [vars$6.templateVariableTextColor]: dark.color2,
12765
+ [vars$6.typeTextColor]: dark.color2,
12766
+ [vars$6.variableLanguageTextColor]: dark.color2,
12767
+ [vars$6.titleTextColor]: dark.color3,
12768
+ [vars$6.titleClassTextColor]: dark.color3,
12769
+ [vars$6.titleClassInheritedTextColor]: dark.color3,
12770
+ [vars$6.titleFunctionTextColor]: dark.color3,
12771
+ [vars$6.attrTextColor]: dark.color4,
12772
+ [vars$6.attributeTextColor]: dark.color4,
12773
+ [vars$6.literalTextColor]: dark.color4,
12774
+ [vars$6.metaTextColor]: dark.color4,
12775
+ [vars$6.numberTextColor]: dark.color4,
12776
+ [vars$6.operatorTextColor]: dark.color4,
12777
+ [vars$6.variableTextColor]: dark.color4,
12778
+ [vars$6.selectorAttrTextColor]: dark.color4,
12779
+ [vars$6.selectorClassTextColor]: dark.color4,
12780
+ [vars$6.selectorIdTextColor]: dark.color4,
12781
+ [vars$6.regexpTextColor]: dark.color13,
12782
+ [vars$6.stringTextColor]: dark.color13,
12783
+ [vars$6.metaStringTextColor]: dark.color13,
12784
+ [vars$6.builtInTextColor]: dark.color5,
12785
+ [vars$6.symbolTextColor]: dark.color5,
12786
+ [vars$6.commentTextColor]: dark.color6,
12787
+ [vars$6.codeTextColor]: dark.color6,
12788
+ [vars$6.formulaTextColor]: dark.color6,
12789
+ [vars$6.nameTextColor]: dark.color7,
12790
+ [vars$6.quoteTextColor]: dark.color7,
12791
+ [vars$6.selectorTagTextColor]: dark.color7,
12792
+ [vars$6.selectorPseudoTextColor]: dark.color7,
12793
+ [vars$6.substTextColor]: dark.color8,
12794
+ [vars$6.sectionTextColor]: dark.color4,
12795
+ [vars$6.bulletTextColor]: dark.color9,
12796
+ [vars$6.emphasisTextColor]: dark.color8,
12797
+ [vars$6.strongTextColor]: dark.color8,
12798
+ [vars$6.additionTextColor]: dark.color7,
12799
+ [vars$6.additionBgColor]: dark.color10,
12800
+ [vars$6.deletionTextColor]: dark.color2,
12801
+ [vars$6.deletionBgColor]: dark.color10,
12721
12802
  },
12722
12803
  };
12723
12804
 
@@ -12725,12 +12806,12 @@ var codeSnippet = /*#__PURE__*/Object.freeze({
12725
12806
  __proto__: null,
12726
12807
  codeSnippetDarkThemeOverrides: codeSnippetDarkThemeOverrides,
12727
12808
  default: CodeSnippet,
12728
- vars: vars$3
12809
+ vars: vars$6
12729
12810
  });
12730
12811
 
12731
- const componentName$3 = getComponentName('radio-button');
12812
+ const componentName$6 = getComponentName('radio-button');
12732
12813
 
12733
- const customMixin = (superclass) =>
12814
+ const customMixin$2 = (superclass) =>
12734
12815
  class CustomMixin extends superclass {
12735
12816
  constructor() {
12736
12817
  super();
@@ -12786,18 +12867,18 @@ const RadioButtonClass = compose(
12786
12867
  }),
12787
12868
  composedProxyInputMixin({ proxyProps: ['setSelectionRange'] }),
12788
12869
  componentNameValidationMixin,
12789
- customMixin
12870
+ customMixin$2
12790
12871
  )(
12791
12872
  createProxy({
12792
12873
  slots: [''],
12793
12874
  wrappedEleName: 'vaadin-radio-button',
12794
12875
  excludeAttrsSync: ['tabindex', 'data'],
12795
12876
  includeForwardProps: ['checked', 'name', 'disabled'],
12796
- componentName: componentName$3,
12877
+ componentName: componentName$6,
12797
12878
  })
12798
12879
  );
12799
12880
 
12800
- const componentName$2 = getComponentName('radio-group');
12881
+ const componentName$5 = getComponentName('radio-group');
12801
12882
 
12802
12883
  const RadioGroupMixin = (superclass) =>
12803
12884
  class RadioGroupMixinClass extends superclass {
@@ -12812,12 +12893,12 @@ const RadioGroupMixin = (superclass) =>
12812
12893
 
12813
12894
  // we are overriding vaadin children getter so it will run on our custom elements
12814
12895
  Object.defineProperty(this.baseElement, 'children', {
12815
- get: () => this.querySelectorAll(componentName$3),
12896
+ get: () => this.querySelectorAll(componentName$6),
12816
12897
  });
12817
12898
 
12818
12899
  // we are overriding vaadin __filterRadioButtons so it will run on our custom elements
12819
12900
  this.baseElement.__filterRadioButtons = (nodes) => {
12820
- return nodes.filter((node) => node.localName === componentName$3);
12901
+ return nodes.filter((node) => node.localName === componentName$6);
12821
12902
  };
12822
12903
 
12823
12904
  // vaadin radio group missing some input properties
@@ -12967,38 +13048,38 @@ const RadioGroupClass = compose(
12967
13048
  `,
12968
13049
 
12969
13050
  excludeAttrsSync: ['tabindex', 'size', 'data', 'direction'],
12970
- componentName: componentName$2,
13051
+ componentName: componentName$5,
12971
13052
  includeForwardProps: ['value'],
12972
13053
  })
12973
13054
  );
12974
13055
 
12975
- const vars$2 = RadioGroupClass.cssVarList;
12976
- const globalRefs$1 = getThemeRefs(globals);
13056
+ const vars$5 = RadioGroupClass.cssVarList;
13057
+ const globalRefs$4 = getThemeRefs(globals);
12977
13058
 
12978
13059
  const radioGroup = {
12979
- [vars$2.buttonsRowGap]: '9px',
12980
- [vars$2.hostWidth]: refs.width,
12981
- [vars$2.hostDirection]: refs.direction,
12982
- [vars$2.fontSize]: refs.fontSize,
12983
- [vars$2.fontFamily]: refs.fontFamily,
12984
- [vars$2.labelTextColor]: refs.labelTextColor,
12985
- [vars$2.labelRequiredIndicator]: refs.requiredIndicator,
12986
- [vars$2.errorMessageTextColor]: refs.errorMessageTextColor,
12987
- [vars$2.helperTextColor]: refs.helperTextColor,
12988
- [vars$2.itemsLabelColor]: globalRefs$1.colors.surface.contrast,
13060
+ [vars$5.buttonsRowGap]: '9px',
13061
+ [vars$5.hostWidth]: refs.width,
13062
+ [vars$5.hostDirection]: refs.direction,
13063
+ [vars$5.fontSize]: refs.fontSize,
13064
+ [vars$5.fontFamily]: refs.fontFamily,
13065
+ [vars$5.labelTextColor]: refs.labelTextColor,
13066
+ [vars$5.labelRequiredIndicator]: refs.requiredIndicator,
13067
+ [vars$5.errorMessageTextColor]: refs.errorMessageTextColor,
13068
+ [vars$5.helperTextColor]: refs.helperTextColor,
13069
+ [vars$5.itemsLabelColor]: globalRefs$4.colors.surface.contrast,
12989
13070
 
12990
13071
  textAlign: {
12991
- right: { [vars$2.inputTextAlign]: 'right' },
12992
- left: { [vars$2.inputTextAlign]: 'left' },
12993
- center: { [vars$2.inputTextAlign]: 'center' },
13072
+ right: { [vars$5.inputTextAlign]: 'right' },
13073
+ left: { [vars$5.inputTextAlign]: 'left' },
13074
+ center: { [vars$5.inputTextAlign]: 'center' },
12994
13075
  },
12995
13076
 
12996
13077
  _fullWidth: {
12997
- [vars$2.buttonsSpacing]: 'space-between',
13078
+ [vars$5.buttonsSpacing]: 'space-between',
12998
13079
  },
12999
13080
 
13000
13081
  _disabled: {
13001
- [vars$2.itemsLabelColor]: globalRefs$1.colors.surface.light,
13082
+ [vars$5.itemsLabelColor]: globalRefs$4.colors.surface.light,
13002
13083
  },
13003
13084
  };
13004
13085
 
@@ -13006,24 +13087,24 @@ var radioGroup$1 = /*#__PURE__*/Object.freeze({
13006
13087
  __proto__: null,
13007
13088
  default: radioGroup,
13008
13089
  radioGroup: radioGroup,
13009
- vars: vars$2
13090
+ vars: vars$5
13010
13091
  });
13011
13092
 
13012
- const vars$1 = RadioButtonClass.cssVarList;
13013
- const globalRefs = getThemeRefs(globals);
13093
+ const vars$4 = RadioButtonClass.cssVarList;
13094
+ const globalRefs$3 = getThemeRefs(globals);
13014
13095
 
13015
13096
  const radioButton = {
13016
- [vars$1.fontFamily]: refs.fontFamily,
13017
- [vars$1.radioSize]: 'calc(1em + 6px)',
13018
- [vars$1.radioMargin]: 'auto 4px',
13019
- [vars$1.radioCheckedSize]: `calc(var(${vars$1.radioSize})/5)`,
13020
- [vars$1.radioCheckedColor]: globalRefs.colors.surface.light,
13021
- [vars$1.radioBackgroundColor]: globalRefs.colors.surface.light,
13022
- [vars$1.radioBorderColor]: 'none',
13023
- [vars$1.radioBorderWidth]: 0,
13097
+ [vars$4.fontFamily]: refs.fontFamily,
13098
+ [vars$4.radioSize]: 'calc(1em + 6px)',
13099
+ [vars$4.radioMargin]: 'auto 4px',
13100
+ [vars$4.radioCheckedSize]: `calc(var(${vars$4.radioSize})/5)`,
13101
+ [vars$4.radioCheckedColor]: globalRefs$3.colors.surface.light,
13102
+ [vars$4.radioBackgroundColor]: globalRefs$3.colors.surface.light,
13103
+ [vars$4.radioBorderColor]: 'none',
13104
+ [vars$4.radioBorderWidth]: 0,
13024
13105
 
13025
13106
  _checked: {
13026
- [vars$1.radioBackgroundColor]: globalRefs.colors.surface.contrast,
13107
+ [vars$4.radioBackgroundColor]: globalRefs$3.colors.surface.contrast,
13027
13108
  },
13028
13109
 
13029
13110
  _hover: {
@@ -13032,16 +13113,16 @@ const radioButton = {
13032
13113
 
13033
13114
  size: {
13034
13115
  xs: {
13035
- [vars$1.fontSize]: '12px',
13116
+ [vars$4.fontSize]: '12px',
13036
13117
  },
13037
13118
  sm: {
13038
- [vars$1.fontSize]: '14px',
13119
+ [vars$4.fontSize]: '14px',
13039
13120
  },
13040
13121
  md: {
13041
- [vars$1.fontSize]: '16px',
13122
+ [vars$4.fontSize]: '16px',
13042
13123
  },
13043
13124
  lg: {
13044
- [vars$1.fontSize]: '18px',
13125
+ [vars$4.fontSize]: '18px',
13045
13126
  },
13046
13127
  },
13047
13128
  };
@@ -13050,6 +13131,514 @@ var radioButton$1 = /*#__PURE__*/Object.freeze({
13050
13131
  __proto__: null,
13051
13132
  default: radioButton,
13052
13133
  radioButton: radioButton,
13134
+ vars: vars$4
13135
+ });
13136
+
13137
+ const activeableMixin = (superclass) =>
13138
+ class ActiveableMixinClass extends superclass {
13139
+ init() {
13140
+ super.init?.();
13141
+
13142
+ this.baseElement.addEventListener('mousedown', (e) => {
13143
+ e.preventDefault();
13144
+ this.setAttribute('active', 'true');
13145
+ window.addEventListener('mouseup', () => this.removeAttribute('active'), {
13146
+ once: true,
13147
+ });
13148
+ });
13149
+ }
13150
+ };
13151
+
13152
+ const componentName$4 = getComponentName('list-item');
13153
+
13154
+ const customMixin$1 = (superclass) =>
13155
+ class ListItemMixinClass extends superclass {
13156
+ constructor() {
13157
+ super();
13158
+
13159
+ this.attachShadow({ mode: 'open' }).innerHTML = `
13160
+ <style>
13161
+ /*css*/
13162
+ slot {
13163
+ width: 100%;
13164
+ display: flex;
13165
+ overflow: hidden;
13166
+ box-sizing: border-box;
13167
+ }
13168
+ :host {
13169
+ display: block;
13170
+ }
13171
+
13172
+ /*!css*/
13173
+ </style>
13174
+ <slot></slot>
13175
+ `;
13176
+ }
13177
+ };
13178
+
13179
+ const ListItemClass = compose(
13180
+ createStyleMixin({
13181
+ mappings: {
13182
+ padding: {},
13183
+ backgroundColor: {},
13184
+ borderColor: {},
13185
+ borderStyle: {},
13186
+ borderWidth: {},
13187
+ borderRadius: {},
13188
+ outline: {},
13189
+ cursor: {},
13190
+ gap: {},
13191
+ maxWidth: { selector: () => ':host' },
13192
+ alignItems: {},
13193
+ flexDirection: {},
13194
+ transition: {},
13195
+ },
13196
+ }),
13197
+ draggableMixin,
13198
+ componentNameValidationMixin,
13199
+ customMixin$1,
13200
+ activeableMixin
13201
+ )(createBaseClass({ componentName: componentName$4, baseSelector: 'slot' }));
13202
+
13203
+ const componentName$3 = getComponentName('list');
13204
+
13205
+ class RawList extends createBaseClass({ componentName: componentName$3, baseSelector: '.wrapper' }) {
13206
+ static get observedAttributes() {
13207
+ return ['variant'];
13208
+ }
13209
+
13210
+ constructor() {
13211
+ super();
13212
+
13213
+ this.attachShadow({ mode: 'open' }).innerHTML = `
13214
+ <style>
13215
+ /*css*/
13216
+ .wrapper {
13217
+ overflow: auto;
13218
+ display: grid;
13219
+ max-height: 100%;
13220
+ width: 100%;
13221
+ }
13222
+
13223
+ :host {
13224
+ display: inline-flex;
13225
+ width: 100%;
13226
+ }
13227
+ slot[name="empty-state"] {
13228
+ justify-content: center;
13229
+ align-items: center;
13230
+ display: flex;
13231
+ flex-grow: 1;
13232
+ }
13233
+
13234
+ :host slot[name="empty-state"] {
13235
+ display: none;
13236
+ }
13237
+ :host([empty]) slot[name="empty-state"] {
13238
+ display: flex;
13239
+ }
13240
+ ::slotted(:not([slot])) {
13241
+ width: 100%;
13242
+ }
13243
+ /*!css*/
13244
+ </style>
13245
+
13246
+ <div class="wrapper">
13247
+ <slot></slot>
13248
+ <slot name="empty-state">
13249
+ No item...
13250
+ </slot>
13251
+ </div>
13252
+ `;
13253
+ }
13254
+
13255
+ get items() {
13256
+ return this.shadowRoot.querySelector('slot').assignedElements();
13257
+ }
13258
+
13259
+ #handleEmptyState() {
13260
+ if (this.items.length === 0) {
13261
+ this.setAttribute('empty', 'true');
13262
+ } else {
13263
+ this.removeAttribute('empty');
13264
+ }
13265
+ }
13266
+
13267
+ get variant() {
13268
+ return this.getAttribute('variant') || 'list';
13269
+ }
13270
+
13271
+ #handleItemsVariant() {
13272
+ this.items.forEach((item) => {
13273
+ let listItem = item;
13274
+ if (listItem.localName !== ListItemClass.componentName) {
13275
+ listItem = item.querySelector(ListItemClass.componentName);
13276
+ }
13277
+
13278
+ const listItemVariant = this.variant === 'tiles' ? 'tile' : 'row';
13279
+ listItem.setAttribute('variant', listItemVariant);
13280
+ });
13281
+ }
13282
+
13283
+ init() {
13284
+ super.init?.();
13285
+
13286
+ // we want new items to get the size
13287
+ observeChildren(this, () => {
13288
+ this.#handleEmptyState();
13289
+ this.#handleItemsVariant();
13290
+ });
13291
+ }
13292
+
13293
+ attributeChangedCallback(name, oldValue, newValue) {
13294
+ super.attributeChangedCallback?.(name, oldValue, newValue);
13295
+
13296
+ if (newValue === oldValue) return;
13297
+
13298
+ if (name === 'variant') {
13299
+ this.#handleItemsVariant();
13300
+ }
13301
+ }
13302
+ }
13303
+
13304
+ const ListClass = compose(
13305
+ createStyleMixin({
13306
+ mappings: {
13307
+ hostWidth: { selector: () => ':host', property: 'width' },
13308
+ maxHeight: { selector: () => ':host' },
13309
+ minHeight: {},
13310
+ verticalPadding: [{ property: 'padding-top' }, { property: 'padding-bottom' }],
13311
+ horizontalPadding: [{ property: 'padding-left' }, { property: 'padding-right' }],
13312
+ hostDirection: { selector: () => ':host', property: 'direction' },
13313
+ fontFamily: {},
13314
+ gap: {},
13315
+
13316
+ backgroundColor: {},
13317
+ borderRadius: {},
13318
+ borderColor: {},
13319
+ borderStyle: {},
13320
+ borderWidth: {},
13321
+
13322
+ boxShadow: {},
13323
+ gridTemplateColumns: {},
13324
+ maxItemsWidth: { selector: () => '::slotted(:not([slot]))', property: 'max-width' },
13325
+ minItemsWidth: { selector: () => '::slotted(:not([slot]))', property: 'min-width' },
13326
+ itemsHorizontalAlign: { selector: () => '::slotted(*)', property: 'justify-self' },
13327
+ emptyStateTextColor: { selector: () => 'slot[name="empty-state"]', property: 'color' },
13328
+ emptyStateTextFontFamily: {
13329
+ selector: () => 'slot[name="empty-state"]',
13330
+ property: 'font-family',
13331
+ },
13332
+ },
13333
+ }),
13334
+ draggableMixin,
13335
+ componentNameValidationMixin
13336
+ )(RawList);
13337
+
13338
+ const globalRefs$2 = getThemeRefs(globals);
13339
+
13340
+ const compVars = ListClass.cssVarList;
13341
+
13342
+ const [helperTheme, helperRefs, helperVars] = createHelperVars(
13343
+ { shadowColor: '#00000020' },
13344
+ componentName$3
13345
+ );
13346
+
13347
+ const { shadowColor } = helperRefs;
13348
+
13349
+ const list$1 = {
13350
+ ...helperTheme,
13351
+
13352
+ [compVars.hostWidth]: '100%',
13353
+ [compVars.backgroundColor]: globalRefs$2.colors.surface.main,
13354
+ [compVars.fontFamily]: globalRefs$2.fonts.font1.family,
13355
+ [compVars.borderColor]: globalRefs$2.colors.surface.light,
13356
+ [compVars.borderStyle]: 'solid',
13357
+ [compVars.borderWidth]: globalRefs$2.border.xs,
13358
+ [compVars.borderRadius]: globalRefs$2.radius.sm,
13359
+ [compVars.gap]: globalRefs$2.spacing.md,
13360
+ [compVars.verticalPadding]: globalRefs$2.spacing.lg,
13361
+ [compVars.horizontalPadding]: globalRefs$2.spacing.lg,
13362
+ [compVars.boxShadow]: `${globalRefs$2.shadow.wide.sm} ${shadowColor}, ${globalRefs$2.shadow.narrow.sm} ${shadowColor}`,
13363
+ [compVars.maxHeight]: '100%',
13364
+ [compVars.hostDirection]: globalRefs$2.direction,
13365
+ [compVars.minItemsWidth]: '150px',
13366
+
13367
+ _empty: {
13368
+ [compVars.minHeight]: '150px',
13369
+ [compVars.emptyStateTextColor]: globalRefs$2.colors.surface.dark,
13370
+ [compVars.emptyStateTextFontFamily]: globalRefs$2.fonts.font1.family,
13371
+ },
13372
+
13373
+ variant: {
13374
+ tiles: {
13375
+ [compVars.gridTemplateColumns]: `repeat(auto-fit, minmax(min(${useVar(
13376
+ compVars.minItemsWidth
13377
+ )}, 100%), 1fr))`,
13378
+ [compVars.maxItemsWidth]: '200px',
13379
+ [compVars.itemsHorizontalAlign]: 'center',
13380
+ },
13381
+ },
13382
+ };
13383
+
13384
+ const vars$3 = {
13385
+ ...compVars,
13386
+ ...helperVars,
13387
+ };
13388
+
13389
+ var list$2 = /*#__PURE__*/Object.freeze({
13390
+ __proto__: null,
13391
+ default: list$1,
13392
+ vars: vars$3
13393
+ });
13394
+
13395
+ const globalRefs$1 = getThemeRefs(globals);
13396
+
13397
+ const vars$2 = ListItemClass.cssVarList;
13398
+
13399
+ const list = {
13400
+ [vars$2.backgroundColor]: globalRefs$1.colors.surface.main,
13401
+ [vars$2.padding]: globalRefs$1.spacing.lg,
13402
+ [vars$2.gap]: globalRefs$1.spacing.md,
13403
+ [vars$2.borderStyle]: 'solid',
13404
+ [vars$2.borderWidth]: globalRefs$1.border.xs,
13405
+ [vars$2.borderColor]: globalRefs$1.colors.surface.main,
13406
+ [vars$2.borderRadius]: globalRefs$1.radius.sm,
13407
+ [vars$2.cursor]: 'pointer',
13408
+ [vars$2.alignItems]: 'center',
13409
+ [vars$2.flexDirection]: 'row',
13410
+ [vars$2.transition]: 'border-color 0.2s, background-color 0.2s',
13411
+
13412
+ variant: {
13413
+ tile: {
13414
+ [vars$2.alignItems]: 'flex-start',
13415
+ [vars$2.flexDirection]: 'column',
13416
+ [vars$2.borderColor]: globalRefs$1.colors.surface.light,
13417
+ },
13418
+ },
13419
+
13420
+ _hover: {
13421
+ [vars$2.backgroundColor]: globalRefs$1.colors.surface.highlight,
13422
+ },
13423
+
13424
+ _active: {
13425
+ [vars$2.backgroundColor]: globalRefs$1.colors.surface.main,
13426
+ [vars$2.borderColor]: globalRefs$1.colors.primary.light,
13427
+ [vars$2.outline]: `1px solid ${globalRefs$1.colors.primary.light}`,
13428
+ },
13429
+ };
13430
+
13431
+ var listItem = /*#__PURE__*/Object.freeze({
13432
+ __proto__: null,
13433
+ default: list,
13434
+ vars: vars$2
13435
+ });
13436
+
13437
+ const defaultValidateSchema = () => true;
13438
+ const defaultItemRenderer = (item) => `<pre>${JSON.stringify(item, null, 4)}</pre>`;
13439
+
13440
+ const createTemplate = (templateString) => {
13441
+ const template = document.createElement('template');
13442
+ template.innerHTML = templateString;
13443
+
13444
+ return template;
13445
+ };
13446
+
13447
+ const getTemplateContent = (templateOrString) => {
13448
+ if (typeof templateOrString === 'string') {
13449
+ return createTemplate(templateOrString).content;
13450
+ }
13451
+
13452
+ if (templateOrString instanceof HTMLTemplateElement) {
13453
+ return templateOrString.content;
13454
+ }
13455
+
13456
+ // eslint-disable-next-line no-console
13457
+ console.error('Invalid template', templateOrString);
13458
+ return null;
13459
+ };
13460
+
13461
+ const createDynamicDataMixin =
13462
+ ({
13463
+ itemRenderer = defaultItemRenderer,
13464
+ validateSchema = defaultValidateSchema,
13465
+ slotName,
13466
+ rerenderAttrsList = [],
13467
+ }) =>
13468
+ (superclass) =>
13469
+ class DynamicDataMixinClass extends superclass {
13470
+ #data = [];
13471
+
13472
+ // eslint-disable-next-line class-methods-use-this
13473
+ #validateSchema(data) {
13474
+ if (!validateSchema) return true;
13475
+
13476
+ const validation = validateSchema(data);
13477
+ if (validation === true) return true;
13478
+
13479
+ // eslint-disable-next-line no-console
13480
+ console.error('Data schema validation failed', validation || '');
13481
+
13482
+ return false;
13483
+ }
13484
+
13485
+ #removeOldItems() {
13486
+ const selector = slotName ? `*[slot="${slotName}"]` : ':not([slot])';
13487
+ this.baseElement.querySelectorAll(selector).forEach((item) => item.remove());
13488
+ }
13489
+
13490
+ #renderItems() {
13491
+ this.#removeOldItems();
13492
+ this.data.forEach((item, index) => {
13493
+ const content = getTemplateContent(itemRenderer(item, index, this));
13494
+ this.baseElement.appendChild(content?.cloneNode(true));
13495
+ });
13496
+ }
13497
+
13498
+ set data(value) {
13499
+ if (this.#validateSchema(value)) {
13500
+ this.#data = value;
13501
+ this.#renderItems();
13502
+ }
13503
+ }
13504
+
13505
+ get data() {
13506
+ return this.#data;
13507
+ }
13508
+
13509
+ init() {
13510
+ super.init?.();
13511
+
13512
+ if (rerenderAttrsList.length) {
13513
+ observeAttributes(this, () => this.#renderItems(), { includeAttrs: rerenderAttrsList });
13514
+ } else {
13515
+ this.#renderItems();
13516
+ }
13517
+ }
13518
+ };
13519
+
13520
+ const componentName$2 = getComponentName('apps-list');
13521
+
13522
+ const limitAbbreviation = (str, limit = 3) =>
13523
+ str
13524
+ .trim()
13525
+ .split(' ')
13526
+ .splice(0, limit)
13527
+ .map((s) => s[0]?.toUpperCase())
13528
+ .join('');
13529
+
13530
+ const itemRenderer = ({ name, icon, url }, _, ref) => `
13531
+ <a href="${url}" target="_blank" title="${url}">
13532
+ <descope-list-item>
13533
+ <descope-avatar
13534
+ img="${icon}"
13535
+ display-name="${name}"
13536
+ abbr=${limitAbbreviation(name)}
13537
+ size=${ref.size}
13538
+ ></descope-avatar>
13539
+ <descope-text
13540
+ variant="body1"
13541
+ mode="primary"
13542
+ >${name}</descope-text>
13543
+ </descope-list-item>
13544
+ </a>
13545
+ `;
13546
+
13547
+ const customMixin = (superclass) =>
13548
+ class AppsListMixinClass extends superclass {
13549
+ get size() {
13550
+ return this.getAttribute('size') || 'sm';
13551
+ }
13552
+ };
13553
+
13554
+ const AppsListClass = compose(
13555
+ createStyleMixin({
13556
+ mappings: {
13557
+ maxHeight: { selector: () => ':host' },
13558
+ minHeight: { selector: () => ':host' },
13559
+ hostDirection: { selector: () => ':host', property: 'direction' },
13560
+ itemsFontWeight: {
13561
+ selector: TextClass.componentName,
13562
+ property: TextClass.cssVarList.fontWeight,
13563
+ },
13564
+ itemsFontSize: {
13565
+ selector: TextClass.componentName,
13566
+ property: TextClass.cssVarList.fontSize,
13567
+ },
13568
+ itemsTextAlign: {
13569
+ selector: TextClass.componentName,
13570
+ property: TextClass.cssVarList.textAlign,
13571
+ },
13572
+ },
13573
+ }),
13574
+ createDynamicDataMixin({ itemRenderer, rerenderAttrsList: ['size'] }),
13575
+ draggableMixin,
13576
+ componentNameValidationMixin,
13577
+ customMixin
13578
+ )(
13579
+ createProxy({
13580
+ slots: ['empty-state'],
13581
+ wrappedEleName: 'descope-list',
13582
+ excludeAttrsSync: ['tabindex', 'class'],
13583
+ componentName: componentName$2,
13584
+ style: () => `
13585
+ :host {
13586
+ width: 100%;
13587
+ display: inline-flex;
13588
+ }
13589
+
13590
+ descope-text::part(text-wrapper) {
13591
+ display: -webkit-box;
13592
+ -webkit-line-clamp: 2;
13593
+ -webkit-box-orient: vertical;
13594
+ overflow: hidden;
13595
+ }
13596
+
13597
+ a {
13598
+ text-decoration: none;
13599
+ }
13600
+
13601
+ descope-text {
13602
+ ${TextClass.cssVarList.hostDirection}: var(${AppsListClass.cssVarList.hostDirection});
13603
+ }
13604
+ `,
13605
+ })
13606
+ );
13607
+
13608
+ const vars$1 = AppsListClass.cssVarList;
13609
+ const globalRefs = getThemeRefs(globals);
13610
+
13611
+ const defaultHeight = '400px';
13612
+
13613
+ const appsList = {
13614
+ [vars$1.itemsFontWeight]: 'normal',
13615
+ [vars$1.itemsTextAlign]: 'start',
13616
+ [vars$1.hostDirection]: globalRefs.direction,
13617
+ [vars$1.maxHeight]: defaultHeight,
13618
+
13619
+ _empty: {
13620
+ [vars$1.minHeight]: defaultHeight,
13621
+ },
13622
+
13623
+ size: {
13624
+ xs: {
13625
+ [vars$1.itemsFontSize]: '14px',
13626
+ },
13627
+ sm: {
13628
+ [vars$1.itemsFontSize]: '14px',
13629
+ },
13630
+ md: {
13631
+ [vars$1.itemsFontSize]: '16px',
13632
+ },
13633
+ lg: {
13634
+ [vars$1.itemsFontSize]: '20px',
13635
+ },
13636
+ },
13637
+ };
13638
+
13639
+ var appsList$1 = /*#__PURE__*/Object.freeze({
13640
+ __proto__: null,
13641
+ default: appsList,
13053
13642
  vars: vars$1
13054
13643
  });
13055
13644
 
@@ -13098,6 +13687,9 @@ const components = {
13098
13687
  codeSnippet,
13099
13688
  radioGroup: radioGroup$1,
13100
13689
  radioButton: radioButton$1,
13690
+ list: list$2,
13691
+ listItem,
13692
+ appsList: appsList$1,
13101
13693
  };
13102
13694
 
13103
13695
  const theme = Object.keys(components).reduce(
@@ -13110,7 +13702,7 @@ const vars = Object.keys(components).reduce(
13110
13702
  );
13111
13703
 
13112
13704
  const defaultTheme = { globals, components: theme };
13113
- const themeVars = { globals: vars$J, components: vars };
13705
+ const themeVars = { globals: vars$M, components: vars };
13114
13706
 
13115
13707
  const colors = {
13116
13708
  surface: {
@@ -13450,6 +14042,7 @@ const NotificationClass = compose(
13450
14042
  })
13451
14043
  );
13452
14044
 
14045
+ exports.AppsListClass = AppsListClass;
13453
14046
  exports.AvatarClass = AvatarClass;
13454
14047
  exports.BadgeClass = BadgeClass;
13455
14048
  exports.ButtonClass = ButtonClass;
@@ -13465,6 +14058,8 @@ exports.EnrichedTextClass = EnrichedTextClass;
13465
14058
  exports.GridClass = GridClass;
13466
14059
  exports.ImageClass = ImageClass;
13467
14060
  exports.LinkClass = LinkClass;
14061
+ exports.ListClass = ListClass;
14062
+ exports.ListItemClass = ListItemClass;
13468
14063
  exports.LoaderLinearClass = LoaderLinearClass;
13469
14064
  exports.LoaderRadialClass = LoaderRadialClass;
13470
14065
  exports.LogoClass = LogoClass;