@descope/web-components-ui 1.0.239 → 1.0.241

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 (36) hide show
  1. package/dist/cjs/index.cjs.js +1455 -897
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +1437 -879
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/umd/1000.js +1 -1
  6. package/dist/umd/1438.js +374 -0
  7. package/dist/umd/1438.js.LICENSE.txt +5 -0
  8. package/dist/umd/1940.js +303 -0
  9. package/dist/umd/{849.js → 4595.js} +5 -5
  10. package/dist/umd/63.js +2 -0
  11. package/dist/umd/63.js.LICENSE.txt +5 -0
  12. package/dist/umd/6687.js +9 -0
  13. package/dist/umd/6687.js.LICENSE.txt +5 -0
  14. package/dist/umd/7583.js +113 -0
  15. package/dist/umd/{5977.js.LICENSE.txt → 7583.js.LICENSE.txt} +0 -6
  16. package/dist/umd/8866.js +183 -0
  17. package/dist/umd/8866.js.LICENSE.txt +11 -0
  18. package/dist/umd/9558.js +1 -1
  19. package/dist/umd/descope-combo-box-index-js.js +1 -1
  20. package/dist/umd/descope-grid-index-js.js +1 -1
  21. package/dist/umd/descope-modal-index-js.js +1 -1
  22. package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -0
  23. package/dist/umd/index.js +1 -1
  24. package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -1
  25. package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +1 -1
  26. package/package.json +2 -1
  27. package/src/components/descope-multi-select-combo-box/MultiSelectComboBoxClass.js +515 -0
  28. package/src/components/descope-multi-select-combo-box/index.js +6 -0
  29. package/src/mixins/inputValidationMixin.js +13 -6
  30. package/src/theme/components/index.js +2 -0
  31. package/src/theme/components/inputWrapper.js +4 -4
  32. package/src/theme/components/multiSelectComboBox.js +57 -0
  33. package/dist/umd/1932.js +0 -310
  34. package/dist/umd/5977.js +0 -294
  35. /package/dist/umd/{1932.js.LICENSE.txt → 1940.js.LICENSE.txt} +0 -0
  36. /package/dist/umd/{849.js.LICENSE.txt → 4595.js.LICENSE.txt} +0 -0
@@ -499,7 +499,7 @@ const globals = {
499
499
  fonts,
500
500
  direction,
501
501
  };
502
- const vars$v = getThemeVars(globals);
502
+ const vars$w = getThemeVars(globals);
503
503
 
504
504
  const createCssVarFallback = (first, ...rest) =>
505
505
  `var(${first}${rest.length ? ` , ${createCssVarFallback(...rest)}` : ''})`;
@@ -1887,6 +1887,14 @@ const inputValidationMixin = (superclass) =>
1887
1887
  return `Maximum length is ${this.getAttribute('maxlength')}. `;
1888
1888
  }
1889
1889
 
1890
+ get defaultErrorMsgRangeUnderflow() {
1891
+ return `At least ${this.minItemsSelection} items are required.`;
1892
+ }
1893
+
1894
+ get defaultErrorMsgRangeOverflow() {
1895
+ return `At most ${this.maxItemsSelection} items are allowed.`;
1896
+ }
1897
+
1890
1898
  getErrorMessage(flags) {
1891
1899
  const {
1892
1900
  valueMissing,
@@ -1905,12 +1913,7 @@ const inputValidationMixin = (superclass) =>
1905
1913
  return (
1906
1914
  this.getAttribute(errorAttributes.valueMissing) || this.defaultErrorMsgValueMissing
1907
1915
  );
1908
- case patternMismatch ||
1909
- typeMismatch ||
1910
- stepMismatch ||
1911
- rangeOverflow ||
1912
- rangeUnderflow ||
1913
- badInput:
1916
+ case patternMismatch || typeMismatch || stepMismatch || badInput:
1914
1917
  return (
1915
1918
  this.getAttribute(errorAttributes.patternMismatch) ||
1916
1919
  this.defaultErrorMsgPatternMismatch
@@ -1919,6 +1922,10 @@ const inputValidationMixin = (superclass) =>
1919
1922
  return this.getAttribute(errorAttributes.tooShort) || this.defaultErrorMsgTooShort;
1920
1923
  case tooLong:
1921
1924
  return this.getAttribute(errorAttributes.tooLong) || this.defaultErrorMsgTooLong;
1925
+ case rangeUnderflow:
1926
+ return this.defaultErrorMsgRangeUnderflow;
1927
+ case rangeOverflow:
1928
+ return this.defaultErrorMsgRangeOverflow;
1922
1929
  case customError:
1923
1930
  return this.validationMessage;
1924
1931
  default:
@@ -2367,7 +2374,7 @@ const clickableMixin = (superclass) =>
2367
2374
  }
2368
2375
  };
2369
2376
 
2370
- const componentName$B = getComponentName('button');
2377
+ const componentName$C = getComponentName('button');
2371
2378
 
2372
2379
  const resetStyles = `
2373
2380
  :host {
@@ -2405,7 +2412,7 @@ const iconStyles = `
2405
2412
 
2406
2413
  const editorOverrides = `vaadin-button::part(label) { pointer-events: none; }`;
2407
2414
 
2408
- const { host: host$g, label: label$9 } = {
2415
+ const { host: host$h, label: label$a } = {
2409
2416
  host: { selector: () => ':host' },
2410
2417
  label: { selector: '::part(label)' },
2411
2418
  };
@@ -2417,7 +2424,7 @@ const ButtonClass = compose(
2417
2424
  mappings: {
2418
2425
  hostWidth: { property: 'width' },
2419
2426
  hostHeight: { property: 'height' },
2420
- hostDirection: { ...host$g, property: 'direction' },
2427
+ hostDirection: { ...host$h, property: 'direction' },
2421
2428
  fontSize: {},
2422
2429
  fontFamily: {},
2423
2430
 
@@ -2437,8 +2444,8 @@ const ButtonClass = compose(
2437
2444
  verticalPadding: [{ property: 'padding-top' }, { property: 'padding-bottom' }],
2438
2445
 
2439
2446
  labelTextColor: { property: 'color' },
2440
- labelTextDecoration: { ...label$9, property: 'text-decoration' },
2441
- labelSpacing: { ...label$9, property: 'gap' },
2447
+ labelTextDecoration: { ...label$a, property: 'text-decoration' },
2448
+ labelSpacing: { ...label$a, property: 'gap' },
2442
2449
  },
2443
2450
  }),
2444
2451
  clickableMixin,
@@ -2468,7 +2475,7 @@ const ButtonClass = compose(
2468
2475
  }
2469
2476
  `,
2470
2477
  excludeAttrsSync: ['tabindex'],
2471
- componentName: componentName$B,
2478
+ componentName: componentName$C,
2472
2479
  })
2473
2480
  );
2474
2481
 
@@ -2505,31 +2512,31 @@ loadingIndicatorStyles = `
2505
2512
  }
2506
2513
  `;
2507
2514
 
2508
- const globalRefs$h = getThemeRefs(globals);
2515
+ const globalRefs$i = getThemeRefs(globals);
2509
2516
  const compVars$4 = ButtonClass.cssVarList;
2510
2517
 
2511
2518
  const mode = {
2512
- primary: globalRefs$h.colors.primary,
2513
- secondary: globalRefs$h.colors.secondary,
2514
- success: globalRefs$h.colors.success,
2515
- error: globalRefs$h.colors.error,
2516
- surface: globalRefs$h.colors.surface,
2519
+ primary: globalRefs$i.colors.primary,
2520
+ secondary: globalRefs$i.colors.secondary,
2521
+ success: globalRefs$i.colors.success,
2522
+ error: globalRefs$i.colors.error,
2523
+ surface: globalRefs$i.colors.surface,
2517
2524
  };
2518
2525
 
2519
- const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$B);
2526
+ const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$C);
2520
2527
 
2521
2528
  const button = {
2522
2529
  ...helperTheme$3,
2523
2530
 
2524
- [compVars$4.fontFamily]: globalRefs$h.fonts.font1.family,
2531
+ [compVars$4.fontFamily]: globalRefs$i.fonts.font1.family,
2525
2532
 
2526
2533
  [compVars$4.cursor]: 'pointer',
2527
2534
  [compVars$4.hostHeight]: '3em',
2528
2535
  [compVars$4.hostWidth]: 'auto',
2529
- [compVars$4.hostDirection]: globalRefs$h.direction,
2536
+ [compVars$4.hostDirection]: globalRefs$i.direction,
2530
2537
 
2531
- [compVars$4.borderRadius]: globalRefs$h.radius.sm,
2532
- [compVars$4.borderWidth]: globalRefs$h.border.xs,
2538
+ [compVars$4.borderRadius]: globalRefs$i.radius.sm,
2539
+ [compVars$4.borderWidth]: globalRefs$i.border.xs,
2533
2540
  [compVars$4.borderStyle]: 'solid',
2534
2541
  [compVars$4.borderColor]: 'transparent',
2535
2542
 
@@ -2565,10 +2572,10 @@ const button = {
2565
2572
  },
2566
2573
 
2567
2574
  _disabled: {
2568
- [helperVars$3.main]: globalRefs$h.colors.surface.main,
2569
- [helperVars$3.dark]: globalRefs$h.colors.surface.dark,
2570
- [helperVars$3.light]: globalRefs$h.colors.surface.light,
2571
- [helperVars$3.contrast]: globalRefs$h.colors.surface.contrast,
2575
+ [helperVars$3.main]: globalRefs$i.colors.surface.main,
2576
+ [helperVars$3.dark]: globalRefs$i.colors.surface.dark,
2577
+ [helperVars$3.light]: globalRefs$i.colors.surface.light,
2578
+ [helperVars$3.contrast]: globalRefs$i.colors.surface.contrast,
2572
2579
  },
2573
2580
 
2574
2581
  variant: {
@@ -2610,11 +2617,11 @@ const button = {
2610
2617
  },
2611
2618
 
2612
2619
  _focused: {
2613
- [compVars$4.outlineColor]: globalRefs$h.colors.surface.main,
2620
+ [compVars$4.outlineColor]: globalRefs$i.colors.surface.main,
2614
2621
  },
2615
2622
  };
2616
2623
 
2617
- const vars$u = {
2624
+ const vars$v = {
2618
2625
  ...compVars$4,
2619
2626
  ...helperVars$3,
2620
2627
  };
@@ -2622,10 +2629,10 @@ const vars$u = {
2622
2629
  var button$1 = /*#__PURE__*/Object.freeze({
2623
2630
  __proto__: null,
2624
2631
  default: button,
2625
- vars: vars$u
2632
+ vars: vars$v
2626
2633
  });
2627
2634
 
2628
- const { host: host$f, label: label$8, placeholder: placeholder$2, requiredIndicator: requiredIndicator$a, inputField: inputField$5, input, helperText: helperText$8, errorMessage: errorMessage$a } =
2635
+ const { host: host$g, label: label$9, placeholder: placeholder$3, requiredIndicator: requiredIndicator$b, inputField: inputField$6, input, helperText: helperText$9, errorMessage: errorMessage$b } =
2629
2636
  {
2630
2637
  host: { selector: () => ':host' },
2631
2638
  label: { selector: '::part(label)' },
@@ -2639,45 +2646,45 @@ const { host: host$f, label: label$8, placeholder: placeholder$2, requiredIndica
2639
2646
 
2640
2647
  var textFieldMappings = {
2641
2648
  // we apply font-size also on the host so we can set its width with em
2642
- fontSize: [{}, host$f],
2643
- fontFamily: [label$8, inputField$5, helperText$8, errorMessage$a],
2649
+ fontSize: [{}, host$g],
2650
+ fontFamily: [label$9, inputField$6, helperText$9, errorMessage$b],
2644
2651
 
2645
- hostWidth: { ...host$f, property: 'width' },
2646
- hostMinWidth: { ...host$f, property: 'min-width' },
2647
- hostDirection: { ...host$f, property: 'direction' },
2652
+ hostWidth: { ...host$g, property: 'width' },
2653
+ hostMinWidth: { ...host$g, property: 'min-width' },
2654
+ hostDirection: { ...host$g, property: 'direction' },
2648
2655
 
2649
- inputBackgroundColor: { ...inputField$5, property: 'background-color' },
2656
+ inputBackgroundColor: { ...inputField$6, property: 'background-color' },
2650
2657
 
2651
2658
  labelTextColor: [
2652
- { ...label$8, property: 'color' },
2653
- { ...requiredIndicator$a, property: 'color' },
2659
+ { ...label$9, property: 'color' },
2660
+ { ...requiredIndicator$b, property: 'color' },
2654
2661
  ],
2655
- errorMessageTextColor: { ...errorMessage$a, property: 'color' },
2662
+ errorMessageTextColor: { ...errorMessage$b, property: 'color' },
2656
2663
 
2657
- inputValueTextColor: { ...inputField$5, property: 'color' },
2664
+ inputValueTextColor: { ...inputField$6, property: 'color' },
2658
2665
  inputCaretTextColor: { ...input, property: 'color' },
2659
2666
 
2660
- labelRequiredIndicator: { ...requiredIndicator$a, property: 'content' },
2667
+ labelRequiredIndicator: { ...requiredIndicator$b, property: 'content' },
2661
2668
 
2662
- inputBorderColor: { ...inputField$5, property: 'border-color' },
2663
- inputBorderWidth: { ...inputField$5, property: 'border-width' },
2664
- inputBorderStyle: { ...inputField$5, property: 'border-style' },
2665
- inputBorderRadius: { ...inputField$5, property: 'border-radius' },
2669
+ inputBorderColor: { ...inputField$6, property: 'border-color' },
2670
+ inputBorderWidth: { ...inputField$6, property: 'border-width' },
2671
+ inputBorderStyle: { ...inputField$6, property: 'border-style' },
2672
+ inputBorderRadius: { ...inputField$6, property: 'border-radius' },
2666
2673
 
2667
- inputHeight: { ...inputField$5, property: 'height' },
2674
+ inputHeight: { ...inputField$6, property: 'height' },
2668
2675
  inputHorizontalPadding: [
2669
2676
  { ...input, property: 'padding-left' },
2670
2677
  { ...input, property: 'padding-right' },
2671
2678
  ],
2672
2679
 
2673
- inputOutlineColor: { ...inputField$5, property: 'outline-color' },
2674
- inputOutlineStyle: { ...inputField$5, property: 'outline-style' },
2675
- inputOutlineWidth: { ...inputField$5, property: 'outline-width' },
2676
- inputOutlineOffset: { ...inputField$5, property: 'outline-offset' },
2680
+ inputOutlineColor: { ...inputField$6, property: 'outline-color' },
2681
+ inputOutlineStyle: { ...inputField$6, property: 'outline-style' },
2682
+ inputOutlineWidth: { ...inputField$6, property: 'outline-width' },
2683
+ inputOutlineOffset: { ...inputField$6, property: 'outline-offset' },
2677
2684
 
2678
2685
  inputTextAlign: { ...input, property: 'text-align' },
2679
2686
 
2680
- inputPlaceholderColor: { ...placeholder$2, property: 'color' },
2687
+ inputPlaceholderColor: { ...placeholder$3, property: 'color' },
2681
2688
  };
2682
2689
 
2683
2690
  const useHostExternalPadding = (cssVarList) => `
@@ -2809,7 +2816,7 @@ const resetInputLabelPosition = (name) => `
2809
2816
  }
2810
2817
  `;
2811
2818
 
2812
- const componentName$A = getComponentName('text-field');
2819
+ const componentName$B = getComponentName('text-field');
2813
2820
 
2814
2821
  const observedAttrs = ['type'];
2815
2822
 
@@ -2859,26 +2866,26 @@ const TextFieldClass = compose(
2859
2866
  ${resetInputOverrides('vaadin-text-field', TextFieldClass.cssVarList)}
2860
2867
  `,
2861
2868
  excludeAttrsSync: ['tabindex'],
2862
- componentName: componentName$A,
2869
+ componentName: componentName$B,
2863
2870
  })
2864
2871
  );
2865
2872
 
2866
- const componentName$z = getComponentName('input-wrapper');
2867
- const globalRefs$g = getThemeRefs(globals);
2873
+ const componentName$A = getComponentName('input-wrapper');
2874
+ const globalRefs$h = getThemeRefs(globals);
2868
2875
 
2869
- const [theme$1, refs, vars$t] = createHelperVars(
2876
+ const [theme$1, refs, vars$u] = createHelperVars(
2870
2877
  {
2871
- labelTextColor: globalRefs$g.colors.surface.contrast,
2872
- valueTextColor: globalRefs$g.colors.surface.contrast,
2873
- placeholderTextColor: globalRefs$g.colors.surface.main,
2878
+ labelTextColor: globalRefs$h.colors.surface.contrast,
2879
+ valueTextColor: globalRefs$h.colors.surface.contrast,
2880
+ placeholderTextColor: globalRefs$h.colors.surface.main,
2874
2881
  requiredIndicator: "'*'",
2875
- errorMessageTextColor: globalRefs$g.colors.error.main,
2882
+ errorMessageTextColor: globalRefs$h.colors.error.main,
2876
2883
 
2877
- borderWidth: globalRefs$g.border.xs,
2878
- borderRadius: globalRefs$g.radius.xs,
2884
+ borderWidth: globalRefs$h.border.xs,
2885
+ borderRadius: globalRefs$h.radius.xs,
2879
2886
  borderColor: 'transparent',
2880
2887
 
2881
- outlineWidth: globalRefs$g.border.sm,
2888
+ outlineWidth: globalRefs$h.border.sm,
2882
2889
  outlineStyle: 'solid',
2883
2890
  outlineColor: 'transparent',
2884
2891
  outlineOffset: '0px', // we need to keep the px unit even for 0 value, as this var is used for calc in different component classes
@@ -2889,17 +2896,17 @@ const [theme$1, refs, vars$t] = createHelperVars(
2889
2896
  horizontalPadding: '0.5em',
2890
2897
  verticalPadding: '0.5em',
2891
2898
 
2892
- backgroundColor: globalRefs$g.colors.surface.light,
2899
+ backgroundColor: globalRefs$h.colors.surface.light,
2893
2900
 
2894
- fontFamily: globalRefs$g.fonts.font1.family,
2901
+ fontFamily: globalRefs$h.fonts.font1.family,
2895
2902
 
2896
- direction: globalRefs$g.direction,
2903
+ direction: globalRefs$h.direction,
2897
2904
 
2898
2905
  size: {
2899
- xs: { fontSize: '12px' },
2900
- sm: { fontSize: '14px' },
2901
- md: { fontSize: '16px' },
2902
- lg: { fontSize: '18px' },
2906
+ xs: { fontSize: '12px', chipFontSize: '10px' },
2907
+ sm: { fontSize: '14px', chipFontSize: '12px' },
2908
+ md: { fontSize: '16px', chipFontSize: '14px' },
2909
+ lg: { fontSize: '18px', chipFontSize: '16px' },
2903
2910
  },
2904
2911
 
2905
2912
  _fullWidth: {
@@ -2907,70 +2914,70 @@ const [theme$1, refs, vars$t] = createHelperVars(
2907
2914
  },
2908
2915
 
2909
2916
  _focused: {
2910
- outlineColor: globalRefs$g.colors.surface.main,
2917
+ outlineColor: globalRefs$h.colors.surface.main,
2911
2918
  _invalid: {
2912
- outlineColor: globalRefs$g.colors.error.main,
2919
+ outlineColor: globalRefs$h.colors.error.main,
2913
2920
  },
2914
2921
  },
2915
2922
 
2916
2923
  _bordered: {
2917
- outlineWidth: globalRefs$g.border.xs,
2918
- borderColor: globalRefs$g.colors.surface.main,
2924
+ outlineWidth: globalRefs$h.border.xs,
2925
+ borderColor: globalRefs$h.colors.surface.main,
2919
2926
  borderStyle: 'solid',
2920
2927
  _invalid: {
2921
- borderColor: globalRefs$g.colors.error.main,
2928
+ borderColor: globalRefs$h.colors.error.main,
2922
2929
  },
2923
2930
  },
2924
2931
 
2925
2932
  _disabled: {
2926
- labelTextColor: globalRefs$g.colors.surface.main,
2927
- borderColor: globalRefs$g.colors.surface.main,
2928
- valueTextColor: globalRefs$g.colors.surface.dark,
2929
- placeholderTextColor: globalRefs$g.colors.surface.dark,
2930
- backgroundColor: globalRefs$g.colors.surface.main,
2933
+ labelTextColor: globalRefs$h.colors.surface.main,
2934
+ borderColor: globalRefs$h.colors.surface.main,
2935
+ valueTextColor: globalRefs$h.colors.surface.dark,
2936
+ placeholderTextColor: globalRefs$h.colors.surface.dark,
2937
+ backgroundColor: globalRefs$h.colors.surface.main,
2931
2938
  },
2932
2939
  },
2933
- componentName$z
2940
+ componentName$A
2934
2941
  );
2935
2942
 
2936
2943
  var inputWrapper = /*#__PURE__*/Object.freeze({
2937
2944
  __proto__: null,
2938
2945
  default: theme$1,
2939
2946
  refs: refs,
2940
- vars: vars$t
2947
+ vars: vars$u
2941
2948
  });
2942
2949
 
2943
- const vars$s = TextFieldClass.cssVarList;
2950
+ const vars$t = TextFieldClass.cssVarList;
2944
2951
 
2945
2952
  const textField = {
2946
- [vars$s.hostWidth]: refs.width,
2947
- [vars$s.hostMinWidth]: refs.minWidth,
2948
- [vars$s.hostDirection]: refs.direction,
2949
- [vars$s.fontSize]: refs.fontSize,
2950
- [vars$s.fontFamily]: refs.fontFamily,
2951
- [vars$s.labelTextColor]: refs.labelTextColor,
2952
- [vars$s.labelRequiredIndicator]: refs.requiredIndicator,
2953
- [vars$s.errorMessageTextColor]: refs.errorMessageTextColor,
2954
- [vars$s.inputValueTextColor]: refs.valueTextColor,
2955
- [vars$s.inputPlaceholderColor]: refs.placeholderTextColor,
2956
- [vars$s.inputBorderWidth]: refs.borderWidth,
2957
- [vars$s.inputBorderStyle]: refs.borderStyle,
2958
- [vars$s.inputBorderColor]: refs.borderColor,
2959
- [vars$s.inputBorderRadius]: refs.borderRadius,
2960
- [vars$s.inputOutlineWidth]: refs.outlineWidth,
2961
- [vars$s.inputOutlineStyle]: refs.outlineStyle,
2962
- [vars$s.inputOutlineColor]: refs.outlineColor,
2963
- [vars$s.inputOutlineOffset]: refs.outlineOffset,
2964
- [vars$s.inputBackgroundColor]: refs.backgroundColor,
2965
- [vars$s.inputHeight]: refs.inputHeight,
2966
- [vars$s.inputHorizontalPadding]: refs.horizontalPadding,
2953
+ [vars$t.hostWidth]: refs.width,
2954
+ [vars$t.hostMinWidth]: refs.minWidth,
2955
+ [vars$t.hostDirection]: refs.direction,
2956
+ [vars$t.fontSize]: refs.fontSize,
2957
+ [vars$t.fontFamily]: refs.fontFamily,
2958
+ [vars$t.labelTextColor]: refs.labelTextColor,
2959
+ [vars$t.labelRequiredIndicator]: refs.requiredIndicator,
2960
+ [vars$t.errorMessageTextColor]: refs.errorMessageTextColor,
2961
+ [vars$t.inputValueTextColor]: refs.valueTextColor,
2962
+ [vars$t.inputPlaceholderColor]: refs.placeholderTextColor,
2963
+ [vars$t.inputBorderWidth]: refs.borderWidth,
2964
+ [vars$t.inputBorderStyle]: refs.borderStyle,
2965
+ [vars$t.inputBorderColor]: refs.borderColor,
2966
+ [vars$t.inputBorderRadius]: refs.borderRadius,
2967
+ [vars$t.inputOutlineWidth]: refs.outlineWidth,
2968
+ [vars$t.inputOutlineStyle]: refs.outlineStyle,
2969
+ [vars$t.inputOutlineColor]: refs.outlineColor,
2970
+ [vars$t.inputOutlineOffset]: refs.outlineOffset,
2971
+ [vars$t.inputBackgroundColor]: refs.backgroundColor,
2972
+ [vars$t.inputHeight]: refs.inputHeight,
2973
+ [vars$t.inputHorizontalPadding]: refs.horizontalPadding,
2967
2974
  };
2968
2975
 
2969
2976
  var textField$1 = /*#__PURE__*/Object.freeze({
2970
2977
  __proto__: null,
2971
2978
  default: textField,
2972
2979
  textField: textField,
2973
- vars: vars$s
2980
+ vars: vars$t
2974
2981
  });
2975
2982
 
2976
2983
  const passwordDraggableMixin = (superclass) =>
@@ -3007,19 +3014,19 @@ const passwordDraggableMixin = (superclass) =>
3007
3014
  }
3008
3015
  };
3009
3016
 
3010
- const componentName$y = getComponentName('password');
3017
+ const componentName$z = getComponentName('password');
3011
3018
 
3012
3019
  const {
3013
- host: host$e,
3014
- inputField: inputField$4,
3015
- inputElement: inputElement$1,
3020
+ host: host$f,
3021
+ inputField: inputField$5,
3022
+ inputElement: inputElement$2,
3016
3023
  inputElementPlaceholder,
3017
3024
  revealButtonContainer,
3018
3025
  revealButtonIcon,
3019
- label: label$7,
3020
- requiredIndicator: requiredIndicator$9,
3021
- errorMessage: errorMessage$9,
3022
- helperText: helperText$7,
3026
+ label: label$8,
3027
+ requiredIndicator: requiredIndicator$a,
3028
+ errorMessage: errorMessage$a,
3029
+ helperText: helperText$8,
3023
3030
  } = {
3024
3031
  host: { selector: () => ':host' },
3025
3032
  inputField: { selector: '::part(input-field)' },
@@ -3036,37 +3043,37 @@ const {
3036
3043
  const PasswordClass = compose(
3037
3044
  createStyleMixin({
3038
3045
  mappings: {
3039
- hostWidth: { ...host$e, property: 'width' },
3040
- hostMinWidth: { ...host$e, property: 'min-width' },
3041
- hostDirection: { ...host$e, property: 'direction' },
3042
- fontSize: [{}, host$e],
3043
- fontFamily: [label$7, inputField$4, errorMessage$9, helperText$7],
3044
- inputHeight: { ...inputField$4, property: 'height' },
3046
+ hostWidth: { ...host$f, property: 'width' },
3047
+ hostMinWidth: { ...host$f, property: 'min-width' },
3048
+ hostDirection: { ...host$f, property: 'direction' },
3049
+ fontSize: [{}, host$f],
3050
+ fontFamily: [label$8, inputField$5, errorMessage$a, helperText$8],
3051
+ inputHeight: { ...inputField$5, property: 'height' },
3045
3052
  inputHorizontalPadding: [
3046
- { ...inputElement$1, property: 'padding-left' },
3047
- { ...inputElement$1, property: 'padding-right' },
3053
+ { ...inputElement$2, property: 'padding-left' },
3054
+ { ...inputElement$2, property: 'padding-right' },
3048
3055
  ],
3049
- inputBackgroundColor: { ...inputField$4, property: 'background-color' },
3056
+ inputBackgroundColor: { ...inputField$5, property: 'background-color' },
3050
3057
 
3051
- inputBorderStyle: { ...inputField$4, property: 'border-style' },
3052
- inputBorderWidth: { ...inputField$4, property: 'border-width' },
3053
- inputBorderColor: { ...inputField$4, property: 'border-color' },
3054
- inputBorderRadius: { ...inputField$4, property: 'border-radius' },
3058
+ inputBorderStyle: { ...inputField$5, property: 'border-style' },
3059
+ inputBorderWidth: { ...inputField$5, property: 'border-width' },
3060
+ inputBorderColor: { ...inputField$5, property: 'border-color' },
3061
+ inputBorderRadius: { ...inputField$5, property: 'border-radius' },
3055
3062
 
3056
- inputOutlineColor: { ...inputField$4, property: 'outline-color' },
3057
- inputOutlineStyle: { ...inputField$4, property: 'outline-style' },
3058
- inputOutlineOffset: { ...inputField$4, property: 'outline-offset' },
3059
- inputOutlineWidth: { ...inputField$4, property: 'outline-width' },
3063
+ inputOutlineColor: { ...inputField$5, property: 'outline-color' },
3064
+ inputOutlineStyle: { ...inputField$5, property: 'outline-style' },
3065
+ inputOutlineOffset: { ...inputField$5, property: 'outline-offset' },
3066
+ inputOutlineWidth: { ...inputField$5, property: 'outline-width' },
3060
3067
 
3061
3068
  labelTextColor: [
3062
- { ...label$7, property: 'color' },
3063
- { ...requiredIndicator$9, property: 'color' },
3069
+ { ...label$8, property: 'color' },
3070
+ { ...requiredIndicator$a, property: 'color' },
3064
3071
  ],
3065
- labelRequiredIndicator: { ...requiredIndicator$9, property: 'content' },
3066
- errorMessageTextColor: { ...errorMessage$9, property: 'color' },
3072
+ labelRequiredIndicator: { ...requiredIndicator$a, property: 'content' },
3073
+ errorMessageTextColor: { ...errorMessage$a, property: 'color' },
3067
3074
 
3068
3075
  inputValueTextColor: [
3069
- { ...inputElement$1, property: 'color' },
3076
+ { ...inputElement$2, property: 'color' },
3070
3077
  { ...revealButtonIcon, property: 'color' },
3071
3078
  ],
3072
3079
  inputPlaceholderTextColor: { ...inputElementPlaceholder, property: 'color' },
@@ -3138,45 +3145,45 @@ const PasswordClass = compose(
3138
3145
  }
3139
3146
  `,
3140
3147
  excludeAttrsSync: ['tabindex'],
3141
- componentName: componentName$y,
3148
+ componentName: componentName$z,
3142
3149
  })
3143
3150
  );
3144
3151
 
3145
- const globalRefs$f = getThemeRefs(globals);
3146
- const vars$r = PasswordClass.cssVarList;
3152
+ const globalRefs$g = getThemeRefs(globals);
3153
+ const vars$s = PasswordClass.cssVarList;
3147
3154
 
3148
3155
  const password = {
3149
- [vars$r.hostWidth]: refs.width,
3150
- [vars$r.hostDirection]: refs.direction,
3151
- [vars$r.fontSize]: refs.fontSize,
3152
- [vars$r.fontFamily]: refs.fontFamily,
3153
- [vars$r.labelTextColor]: refs.labelTextColor,
3154
- [vars$r.errorMessageTextColor]: refs.errorMessageTextColor,
3155
- [vars$r.inputHorizontalPadding]: refs.horizontalPadding,
3156
- [vars$r.inputHeight]: refs.inputHeight,
3157
- [vars$r.inputBackgroundColor]: refs.backgroundColor,
3158
- [vars$r.labelRequiredIndicator]: refs.requiredIndicator,
3159
- [vars$r.inputValueTextColor]: refs.valueTextColor,
3160
- [vars$r.inputPlaceholderTextColor]: refs.placeholderTextColor,
3161
- [vars$r.inputBorderWidth]: refs.borderWidth,
3162
- [vars$r.inputBorderStyle]: refs.borderStyle,
3163
- [vars$r.inputBorderColor]: refs.borderColor,
3164
- [vars$r.inputBorderRadius]: refs.borderRadius,
3165
- [vars$r.inputOutlineWidth]: refs.outlineWidth,
3166
- [vars$r.inputOutlineStyle]: refs.outlineStyle,
3167
- [vars$r.inputOutlineColor]: refs.outlineColor,
3168
- [vars$r.inputOutlineOffset]: refs.outlineOffset,
3169
- [vars$r.revealButtonOffset]: globalRefs$f.spacing.md,
3170
- [vars$r.revealButtonSize]: refs.toggleButtonSize,
3156
+ [vars$s.hostWidth]: refs.width,
3157
+ [vars$s.hostDirection]: refs.direction,
3158
+ [vars$s.fontSize]: refs.fontSize,
3159
+ [vars$s.fontFamily]: refs.fontFamily,
3160
+ [vars$s.labelTextColor]: refs.labelTextColor,
3161
+ [vars$s.errorMessageTextColor]: refs.errorMessageTextColor,
3162
+ [vars$s.inputHorizontalPadding]: refs.horizontalPadding,
3163
+ [vars$s.inputHeight]: refs.inputHeight,
3164
+ [vars$s.inputBackgroundColor]: refs.backgroundColor,
3165
+ [vars$s.labelRequiredIndicator]: refs.requiredIndicator,
3166
+ [vars$s.inputValueTextColor]: refs.valueTextColor,
3167
+ [vars$s.inputPlaceholderTextColor]: refs.placeholderTextColor,
3168
+ [vars$s.inputBorderWidth]: refs.borderWidth,
3169
+ [vars$s.inputBorderStyle]: refs.borderStyle,
3170
+ [vars$s.inputBorderColor]: refs.borderColor,
3171
+ [vars$s.inputBorderRadius]: refs.borderRadius,
3172
+ [vars$s.inputOutlineWidth]: refs.outlineWidth,
3173
+ [vars$s.inputOutlineStyle]: refs.outlineStyle,
3174
+ [vars$s.inputOutlineColor]: refs.outlineColor,
3175
+ [vars$s.inputOutlineOffset]: refs.outlineOffset,
3176
+ [vars$s.revealButtonOffset]: globalRefs$g.spacing.md,
3177
+ [vars$s.revealButtonSize]: refs.toggleButtonSize,
3171
3178
  };
3172
3179
 
3173
3180
  var password$1 = /*#__PURE__*/Object.freeze({
3174
3181
  __proto__: null,
3175
3182
  default: password,
3176
- vars: vars$r
3183
+ vars: vars$s
3177
3184
  });
3178
3185
 
3179
- const componentName$x = getComponentName('number-field');
3186
+ const componentName$y = getComponentName('number-field');
3180
3187
 
3181
3188
  const NumberFieldClass = compose(
3182
3189
  createStyleMixin({
@@ -3202,43 +3209,43 @@ const NumberFieldClass = compose(
3202
3209
  ${resetInputOverrides('vaadin-number-field', NumberFieldClass.cssVarList)}
3203
3210
  `,
3204
3211
  excludeAttrsSync: ['tabindex'],
3205
- componentName: componentName$x,
3212
+ componentName: componentName$y,
3206
3213
  })
3207
3214
  );
3208
3215
 
3209
- const vars$q = NumberFieldClass.cssVarList;
3216
+ const vars$r = NumberFieldClass.cssVarList;
3210
3217
 
3211
3218
  const numberField = {
3212
- [vars$q.hostWidth]: refs.width,
3213
- [vars$q.hostMinWidth]: refs.minWidth,
3214
- [vars$q.hostDirection]: refs.direction,
3215
- [vars$q.fontSize]: refs.fontSize,
3216
- [vars$q.fontFamily]: refs.fontFamily,
3217
- [vars$q.labelTextColor]: refs.labelTextColor,
3218
- [vars$q.errorMessageTextColor]: refs.errorMessageTextColor,
3219
- [vars$q.inputValueTextColor]: refs.valueTextColor,
3220
- [vars$q.inputPlaceholderColor]: refs.placeholderTextColor,
3221
- [vars$q.inputBorderWidth]: refs.borderWidth,
3222
- [vars$q.inputBorderStyle]: refs.borderStyle,
3223
- [vars$q.inputBorderColor]: refs.borderColor,
3224
- [vars$q.inputBorderRadius]: refs.borderRadius,
3225
- [vars$q.inputOutlineWidth]: refs.outlineWidth,
3226
- [vars$q.inputOutlineStyle]: refs.outlineStyle,
3227
- [vars$q.inputOutlineColor]: refs.outlineColor,
3228
- [vars$q.inputOutlineOffset]: refs.outlineOffset,
3229
- [vars$q.inputBackgroundColor]: refs.backgroundColor,
3230
- [vars$q.labelRequiredIndicator]: refs.requiredIndicator,
3231
- [vars$q.inputHorizontalPadding]: refs.horizontalPadding,
3232
- [vars$q.inputHeight]: refs.inputHeight,
3219
+ [vars$r.hostWidth]: refs.width,
3220
+ [vars$r.hostMinWidth]: refs.minWidth,
3221
+ [vars$r.hostDirection]: refs.direction,
3222
+ [vars$r.fontSize]: refs.fontSize,
3223
+ [vars$r.fontFamily]: refs.fontFamily,
3224
+ [vars$r.labelTextColor]: refs.labelTextColor,
3225
+ [vars$r.errorMessageTextColor]: refs.errorMessageTextColor,
3226
+ [vars$r.inputValueTextColor]: refs.valueTextColor,
3227
+ [vars$r.inputPlaceholderColor]: refs.placeholderTextColor,
3228
+ [vars$r.inputBorderWidth]: refs.borderWidth,
3229
+ [vars$r.inputBorderStyle]: refs.borderStyle,
3230
+ [vars$r.inputBorderColor]: refs.borderColor,
3231
+ [vars$r.inputBorderRadius]: refs.borderRadius,
3232
+ [vars$r.inputOutlineWidth]: refs.outlineWidth,
3233
+ [vars$r.inputOutlineStyle]: refs.outlineStyle,
3234
+ [vars$r.inputOutlineColor]: refs.outlineColor,
3235
+ [vars$r.inputOutlineOffset]: refs.outlineOffset,
3236
+ [vars$r.inputBackgroundColor]: refs.backgroundColor,
3237
+ [vars$r.labelRequiredIndicator]: refs.requiredIndicator,
3238
+ [vars$r.inputHorizontalPadding]: refs.horizontalPadding,
3239
+ [vars$r.inputHeight]: refs.inputHeight,
3233
3240
  };
3234
3241
 
3235
3242
  var numberField$1 = /*#__PURE__*/Object.freeze({
3236
3243
  __proto__: null,
3237
3244
  default: numberField,
3238
- vars: vars$q
3245
+ vars: vars$r
3239
3246
  });
3240
3247
 
3241
- const componentName$w = getComponentName('email-field');
3248
+ const componentName$x = getComponentName('email-field');
3242
3249
 
3243
3250
  const customMixin$6 = (superclass) =>
3244
3251
  class EmailFieldMixinClass extends superclass {
@@ -3273,53 +3280,53 @@ const EmailFieldClass = compose(
3273
3280
  ${resetInputOverrides('vaadin-email-field', EmailFieldClass.cssVarList)}
3274
3281
  `,
3275
3282
  excludeAttrsSync: ['tabindex'],
3276
- componentName: componentName$w,
3283
+ componentName: componentName$x,
3277
3284
  })
3278
3285
  );
3279
3286
 
3280
- const vars$p = EmailFieldClass.cssVarList;
3287
+ const vars$q = EmailFieldClass.cssVarList;
3281
3288
 
3282
3289
  const emailField = {
3283
- [vars$p.hostWidth]: refs.width,
3284
- [vars$p.hostMinWidth]: refs.minWidth,
3285
- [vars$p.hostDirection]: refs.direction,
3286
- [vars$p.fontSize]: refs.fontSize,
3287
- [vars$p.fontFamily]: refs.fontFamily,
3288
- [vars$p.labelTextColor]: refs.labelTextColor,
3289
- [vars$p.errorMessageTextColor]: refs.errorMessageTextColor,
3290
- [vars$p.inputValueTextColor]: refs.valueTextColor,
3291
- [vars$p.labelRequiredIndicator]: refs.requiredIndicator,
3292
- [vars$p.inputPlaceholderColor]: refs.placeholderTextColor,
3293
- [vars$p.inputBorderWidth]: refs.borderWidth,
3294
- [vars$p.inputBorderStyle]: refs.borderStyle,
3295
- [vars$p.inputBorderColor]: refs.borderColor,
3296
- [vars$p.inputBorderRadius]: refs.borderRadius,
3297
- [vars$p.inputOutlineWidth]: refs.outlineWidth,
3298
- [vars$p.inputOutlineStyle]: refs.outlineStyle,
3299
- [vars$p.inputOutlineColor]: refs.outlineColor,
3300
- [vars$p.inputOutlineOffset]: refs.outlineOffset,
3301
- [vars$p.inputBackgroundColor]: refs.backgroundColor,
3302
- [vars$p.inputHorizontalPadding]: refs.horizontalPadding,
3303
- [vars$p.inputHeight]: refs.inputHeight,
3290
+ [vars$q.hostWidth]: refs.width,
3291
+ [vars$q.hostMinWidth]: refs.minWidth,
3292
+ [vars$q.hostDirection]: refs.direction,
3293
+ [vars$q.fontSize]: refs.fontSize,
3294
+ [vars$q.fontFamily]: refs.fontFamily,
3295
+ [vars$q.labelTextColor]: refs.labelTextColor,
3296
+ [vars$q.errorMessageTextColor]: refs.errorMessageTextColor,
3297
+ [vars$q.inputValueTextColor]: refs.valueTextColor,
3298
+ [vars$q.labelRequiredIndicator]: refs.requiredIndicator,
3299
+ [vars$q.inputPlaceholderColor]: refs.placeholderTextColor,
3300
+ [vars$q.inputBorderWidth]: refs.borderWidth,
3301
+ [vars$q.inputBorderStyle]: refs.borderStyle,
3302
+ [vars$q.inputBorderColor]: refs.borderColor,
3303
+ [vars$q.inputBorderRadius]: refs.borderRadius,
3304
+ [vars$q.inputOutlineWidth]: refs.outlineWidth,
3305
+ [vars$q.inputOutlineStyle]: refs.outlineStyle,
3306
+ [vars$q.inputOutlineColor]: refs.outlineColor,
3307
+ [vars$q.inputOutlineOffset]: refs.outlineOffset,
3308
+ [vars$q.inputBackgroundColor]: refs.backgroundColor,
3309
+ [vars$q.inputHorizontalPadding]: refs.horizontalPadding,
3310
+ [vars$q.inputHeight]: refs.inputHeight,
3304
3311
  };
3305
3312
 
3306
3313
  var emailField$1 = /*#__PURE__*/Object.freeze({
3307
3314
  __proto__: null,
3308
3315
  default: emailField,
3309
- vars: vars$p
3316
+ vars: vars$q
3310
3317
  });
3311
3318
 
3312
- const componentName$v = getComponentName('text-area');
3319
+ const componentName$w = getComponentName('text-area');
3313
3320
 
3314
3321
  const {
3315
- host: host$d,
3316
- label: label$6,
3317
- placeholder: placeholder$1,
3318
- inputField: inputField$3,
3322
+ host: host$e,
3323
+ label: label$7,
3324
+ placeholder: placeholder$2,
3325
+ inputField: inputField$4,
3319
3326
  textArea: textArea$2,
3320
- requiredIndicator: requiredIndicator$8,
3321
- helperText: helperText$6,
3322
- errorMessage: errorMessage$8,
3327
+ requiredIndicator: requiredIndicator$9,
3328
+ helperText: helperText$7,
3329
+ errorMessage: errorMessage$9,
3323
3330
  } = {
3324
3331
  host: { selector: () => ':host' },
3325
3332
  label: { selector: '::part(label)' },
@@ -3334,28 +3341,28 @@ const {
3334
3341
  const TextAreaClass = compose(
3335
3342
  createStyleMixin({
3336
3343
  mappings: {
3337
- hostWidth: { ...host$d, property: 'width' },
3338
- hostMinWidth: { ...host$d, property: 'min-width' },
3339
- hostDirection: { ...host$d, property: 'direction' },
3340
- fontSize: [host$d, textArea$2],
3341
- fontFamily: [label$6, inputField$3, helperText$6, errorMessage$8],
3344
+ hostWidth: { ...host$e, property: 'width' },
3345
+ hostMinWidth: { ...host$e, property: 'min-width' },
3346
+ hostDirection: { ...host$e, property: 'direction' },
3347
+ fontSize: [host$e, textArea$2],
3348
+ fontFamily: [label$7, inputField$4, helperText$7, errorMessage$9],
3342
3349
  labelTextColor: [
3343
- { ...label$6, property: 'color' },
3344
- { ...requiredIndicator$8, property: 'color' },
3350
+ { ...label$7, property: 'color' },
3351
+ { ...requiredIndicator$9, property: 'color' },
3345
3352
  ],
3346
- labelRequiredIndicator: { ...requiredIndicator$8, property: 'content' },
3347
- errorMessageTextColor: { ...errorMessage$8, property: 'color' },
3348
- inputBackgroundColor: { ...inputField$3, property: 'background-color' },
3353
+ labelRequiredIndicator: { ...requiredIndicator$9, property: 'content' },
3354
+ errorMessageTextColor: { ...errorMessage$9, property: 'color' },
3355
+ inputBackgroundColor: { ...inputField$4, property: 'background-color' },
3349
3356
  inputValueTextColor: { ...textArea$2, property: 'color' },
3350
- inputPlaceholderTextColor: { ...placeholder$1, property: 'color' },
3351
- inputBorderWidth: { ...inputField$3, property: 'border-width' },
3352
- inputBorderStyle: { ...inputField$3, property: 'border-style' },
3353
- inputBorderColor: { ...inputField$3, property: 'border-color' },
3354
- inputBorderRadius: { ...inputField$3, property: 'border-radius' },
3355
- inputOutlineStyle: { ...inputField$3, property: 'outline-Style' },
3356
- inputOutlineColor: { ...inputField$3, property: 'outline-color' },
3357
- inputOutlineOffset: { ...inputField$3, property: 'outline-offset' },
3358
- inputOutlineWidth: { ...inputField$3, property: 'outline-width' },
3357
+ inputPlaceholderTextColor: { ...placeholder$2, property: 'color' },
3358
+ inputBorderWidth: { ...inputField$4, property: 'border-width' },
3359
+ inputBorderStyle: { ...inputField$4, property: 'border-style' },
3360
+ inputBorderColor: { ...inputField$4, property: 'border-color' },
3361
+ inputBorderRadius: { ...inputField$4, property: 'border-radius' },
3362
+ inputOutlineStyle: { ...inputField$4, property: 'outline-Style' },
3363
+ inputOutlineColor: { ...inputField$4, property: 'outline-color' },
3364
+ inputOutlineOffset: { ...inputField$4, property: 'outline-offset' },
3365
+ inputOutlineWidth: { ...inputField$4, property: 'outline-width' },
3359
3366
  inputResizeType: { ...textArea$2, property: 'resize' },
3360
3367
  inputMinHeight: { ...textArea$2, property: 'min-height' },
3361
3368
  },
@@ -3384,49 +3391,49 @@ const TextAreaClass = compose(
3384
3391
  ${resetInputCursor('vaadin-text-area')}
3385
3392
  `,
3386
3393
  excludeAttrsSync: ['tabindex'],
3387
- componentName: componentName$v,
3394
+ componentName: componentName$w,
3388
3395
  })
3389
3396
  );
3390
3397
 
3391
- const globalRefs$e = getThemeRefs(globals);
3392
- const vars$o = TextAreaClass.cssVarList;
3398
+ const globalRefs$f = getThemeRefs(globals);
3399
+ const vars$p = TextAreaClass.cssVarList;
3393
3400
 
3394
3401
  const textArea = {
3395
- [vars$o.hostWidth]: refs.width,
3396
- [vars$o.hostMinWidth]: refs.minWidth,
3397
- [vars$o.hostDirection]: refs.direction,
3398
- [vars$o.fontSize]: refs.fontSize,
3399
- [vars$o.fontFamily]: refs.fontFamily,
3400
- [vars$o.labelTextColor]: refs.labelTextColor,
3401
- [vars$o.labelRequiredIndicator]: refs.requiredIndicator,
3402
- [vars$o.errorMessageTextColor]: refs.errorMessageTextColor,
3403
- [vars$o.inputBackgroundColor]: refs.backgroundColor,
3404
- [vars$o.inputValueTextColor]: refs.valueTextColor,
3405
- [vars$o.inputPlaceholderTextColor]: refs.placeholderTextColor,
3406
- [vars$o.inputBorderRadius]: refs.borderRadius,
3407
- [vars$o.inputBorderWidth]: refs.borderWidth,
3408
- [vars$o.inputBorderStyle]: refs.borderStyle,
3409
- [vars$o.inputBorderColor]: refs.borderColor,
3410
- [vars$o.inputOutlineWidth]: refs.outlineWidth,
3411
- [vars$o.inputOutlineStyle]: refs.outlineStyle,
3412
- [vars$o.inputOutlineColor]: refs.outlineColor,
3413
- [vars$o.inputOutlineOffset]: refs.outlineOffset,
3414
- [vars$o.inputResizeType]: 'vertical',
3415
- [vars$o.inputMinHeight]: '5em',
3416
-
3417
- _disabled: {
3418
- [vars$o.inputBackgroundColor]: globalRefs$e.colors.surface.light,
3419
- },
3420
-
3421
- _readonly: {
3422
- [vars$o.inputResizeType]: 'none',
3423
- },
3424
- };
3425
-
3402
+ [vars$p.hostWidth]: refs.width,
3403
+ [vars$p.hostMinWidth]: refs.minWidth,
3404
+ [vars$p.hostDirection]: refs.direction,
3405
+ [vars$p.fontSize]: refs.fontSize,
3406
+ [vars$p.fontFamily]: refs.fontFamily,
3407
+ [vars$p.labelTextColor]: refs.labelTextColor,
3408
+ [vars$p.labelRequiredIndicator]: refs.requiredIndicator,
3409
+ [vars$p.errorMessageTextColor]: refs.errorMessageTextColor,
3410
+ [vars$p.inputBackgroundColor]: refs.backgroundColor,
3411
+ [vars$p.inputValueTextColor]: refs.valueTextColor,
3412
+ [vars$p.inputPlaceholderTextColor]: refs.placeholderTextColor,
3413
+ [vars$p.inputBorderRadius]: refs.borderRadius,
3414
+ [vars$p.inputBorderWidth]: refs.borderWidth,
3415
+ [vars$p.inputBorderStyle]: refs.borderStyle,
3416
+ [vars$p.inputBorderColor]: refs.borderColor,
3417
+ [vars$p.inputOutlineWidth]: refs.outlineWidth,
3418
+ [vars$p.inputOutlineStyle]: refs.outlineStyle,
3419
+ [vars$p.inputOutlineColor]: refs.outlineColor,
3420
+ [vars$p.inputOutlineOffset]: refs.outlineOffset,
3421
+ [vars$p.inputResizeType]: 'vertical',
3422
+ [vars$p.inputMinHeight]: '5em',
3423
+
3424
+ _disabled: {
3425
+ [vars$p.inputBackgroundColor]: globalRefs$f.colors.surface.light,
3426
+ },
3427
+
3428
+ _readonly: {
3429
+ [vars$p.inputResizeType]: 'none',
3430
+ },
3431
+ };
3432
+
3426
3433
  var textArea$1 = /*#__PURE__*/Object.freeze({
3427
3434
  __proto__: null,
3428
3435
  default: textArea,
3429
- vars: vars$o
3436
+ vars: vars$p
3430
3437
  });
3431
3438
 
3432
3439
  const createBaseInputClass = (...args) =>
@@ -3437,9 +3444,9 @@ const createBaseInputClass = (...args) =>
3437
3444
  inputEventsDispatchingMixin
3438
3445
  )(createBaseClass(...args));
3439
3446
 
3440
- const componentName$u = getComponentName('boolean-field-internal');
3447
+ const componentName$v = getComponentName('boolean-field-internal');
3441
3448
 
3442
- createBaseInputClass({ componentName: componentName$u, baseSelector: 'div' });
3449
+ createBaseInputClass({ componentName: componentName$v, baseSelector: 'div' });
3443
3450
 
3444
3451
  const booleanFieldMixin = (superclass) =>
3445
3452
  class BooleanFieldMixinClass extends superclass {
@@ -3448,14 +3455,14 @@ const booleanFieldMixin = (superclass) =>
3448
3455
 
3449
3456
  const template = document.createElement('template');
3450
3457
  template.innerHTML = `
3451
- <${componentName$u}
3458
+ <${componentName$v}
3452
3459
  tabindex="-1"
3453
3460
  slot="input"
3454
- ></${componentName$u}>
3461
+ ></${componentName$v}>
3455
3462
  `;
3456
3463
 
3457
3464
  this.baseElement.appendChild(template.content.cloneNode(true));
3458
- this.inputElement = this.shadowRoot.querySelector(componentName$u);
3465
+ this.inputElement = this.shadowRoot.querySelector(componentName$v);
3459
3466
  this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
3460
3467
 
3461
3468
  forwardAttrs(this, this.inputElement, {
@@ -3525,17 +3532,17 @@ descope-boolean-field-internal {
3525
3532
  }
3526
3533
  `;
3527
3534
 
3528
- const componentName$t = getComponentName('checkbox');
3535
+ const componentName$u = getComponentName('checkbox');
3529
3536
 
3530
3537
  const {
3531
- host: host$c,
3538
+ host: host$d,
3532
3539
  component: component$1,
3533
3540
  checkboxElement,
3534
3541
  checkboxSurface,
3535
3542
  checkboxLabel: checkboxLabel$1,
3536
- requiredIndicator: requiredIndicator$7,
3537
- helperText: helperText$5,
3538
- errorMessage: errorMessage$7,
3543
+ requiredIndicator: requiredIndicator$8,
3544
+ helperText: helperText$6,
3545
+ errorMessage: errorMessage$8,
3539
3546
  } = {
3540
3547
  host: { selector: () => ':host' },
3541
3548
  requiredIndicator: { selector: '[required] vaadin-checkbox [slot="label"]:not(:empty)::after' },
@@ -3550,19 +3557,19 @@ const {
3550
3557
  const CheckboxClass = compose(
3551
3558
  createStyleMixin({
3552
3559
  mappings: {
3553
- hostWidth: { ...host$c, property: 'width' },
3554
- hostDirection: { ...host$c, property: 'direction' },
3560
+ hostWidth: { ...host$d, property: 'width' },
3561
+ hostDirection: { ...host$d, property: 'direction' },
3555
3562
 
3556
- fontSize: [host$c, checkboxElement, checkboxLabel$1],
3557
- fontFamily: [checkboxLabel$1, helperText$5, errorMessage$7],
3563
+ fontSize: [host$d, checkboxElement, checkboxLabel$1],
3564
+ fontFamily: [checkboxLabel$1, helperText$6, errorMessage$8],
3558
3565
 
3559
3566
  labelTextColor: { ...checkboxLabel$1, property: 'color' },
3560
3567
  labelSpacing: { ...checkboxLabel$1, property: 'padding-inline-start' },
3561
3568
  labelLineHeight: { ...checkboxLabel$1, property: 'line-height' },
3562
3569
  labelFontWeight: { ...checkboxLabel$1, property: 'font-weight' },
3563
- labelRequiredIndicator: { ...requiredIndicator$7, property: 'content' },
3570
+ labelRequiredIndicator: { ...requiredIndicator$8, property: 'content' },
3564
3571
 
3565
- errorMessageTextColor: { ...errorMessage$7, property: 'color' },
3572
+ errorMessageTextColor: { ...errorMessage$8, property: 'color' },
3566
3573
 
3567
3574
  inputValueTextColor: { ...checkboxSurface, property: 'color' },
3568
3575
  inputBackgroundColor: { ...checkboxElement, property: 'background-color' },
@@ -3631,61 +3638,61 @@ const CheckboxClass = compose(
3631
3638
  }
3632
3639
  `,
3633
3640
  excludeAttrsSync: ['label', 'tabindex'],
3634
- componentName: componentName$t,
3641
+ componentName: componentName$u,
3635
3642
  })
3636
3643
  );
3637
3644
 
3638
- const vars$n = CheckboxClass.cssVarList;
3645
+ const vars$o = CheckboxClass.cssVarList;
3639
3646
  const checkboxSize = '1.35em';
3640
3647
 
3641
3648
  const checkbox = {
3642
- [vars$n.hostWidth]: refs.width,
3643
- [vars$n.hostDirection]: refs.direction,
3644
- [vars$n.fontSize]: refs.fontSize,
3645
- [vars$n.fontFamily]: refs.fontFamily,
3646
- [vars$n.labelTextColor]: refs.labelTextColor,
3647
- [vars$n.labelRequiredIndicator]: refs.requiredIndicator,
3648
- [vars$n.labelFontWeight]: '400',
3649
- [vars$n.labelLineHeight]: checkboxSize,
3650
- [vars$n.labelSpacing]: '1em',
3651
- [vars$n.errorMessageTextColor]: refs.errorMessageTextColor,
3652
- [vars$n.inputOutlineWidth]: refs.outlineWidth,
3653
- [vars$n.inputOutlineOffset]: refs.outlineOffset,
3654
- [vars$n.inputOutlineColor]: refs.outlineColor,
3655
- [vars$n.inputOutlineStyle]: refs.outlineStyle,
3656
- [vars$n.inputBorderRadius]: refs.borderRadius,
3657
- [vars$n.inputBorderColor]: refs.borderColor,
3658
- [vars$n.inputBorderWidth]: refs.borderWidth,
3659
- [vars$n.inputBorderStyle]: refs.borderStyle,
3660
- [vars$n.inputBackgroundColor]: refs.backgroundColor,
3661
- [vars$n.inputSize]: checkboxSize,
3649
+ [vars$o.hostWidth]: refs.width,
3650
+ [vars$o.hostDirection]: refs.direction,
3651
+ [vars$o.fontSize]: refs.fontSize,
3652
+ [vars$o.fontFamily]: refs.fontFamily,
3653
+ [vars$o.labelTextColor]: refs.labelTextColor,
3654
+ [vars$o.labelRequiredIndicator]: refs.requiredIndicator,
3655
+ [vars$o.labelFontWeight]: '400',
3656
+ [vars$o.labelLineHeight]: checkboxSize,
3657
+ [vars$o.labelSpacing]: '1em',
3658
+ [vars$o.errorMessageTextColor]: refs.errorMessageTextColor,
3659
+ [vars$o.inputOutlineWidth]: refs.outlineWidth,
3660
+ [vars$o.inputOutlineOffset]: refs.outlineOffset,
3661
+ [vars$o.inputOutlineColor]: refs.outlineColor,
3662
+ [vars$o.inputOutlineStyle]: refs.outlineStyle,
3663
+ [vars$o.inputBorderRadius]: refs.borderRadius,
3664
+ [vars$o.inputBorderColor]: refs.borderColor,
3665
+ [vars$o.inputBorderWidth]: refs.borderWidth,
3666
+ [vars$o.inputBorderStyle]: refs.borderStyle,
3667
+ [vars$o.inputBackgroundColor]: refs.backgroundColor,
3668
+ [vars$o.inputSize]: checkboxSize,
3662
3669
 
3663
3670
  _checked: {
3664
- [vars$n.inputValueTextColor]: refs.valueTextColor,
3671
+ [vars$o.inputValueTextColor]: refs.valueTextColor,
3665
3672
  },
3666
3673
 
3667
3674
  _disabled: {
3668
- [vars$n.labelTextColor]: refs.labelTextColor,
3675
+ [vars$o.labelTextColor]: refs.labelTextColor,
3669
3676
  },
3670
3677
  };
3671
3678
 
3672
3679
  var checkbox$1 = /*#__PURE__*/Object.freeze({
3673
3680
  __proto__: null,
3674
3681
  default: checkbox,
3675
- vars: vars$n
3682
+ vars: vars$o
3676
3683
  });
3677
3684
 
3678
- const componentName$s = getComponentName('switch-toggle');
3685
+ const componentName$t = getComponentName('switch-toggle');
3679
3686
 
3680
3687
  const {
3681
- host: host$b,
3688
+ host: host$c,
3682
3689
  component,
3683
3690
  checkboxElement: track,
3684
3691
  checkboxSurface: knob,
3685
3692
  checkboxLabel,
3686
- requiredIndicator: requiredIndicator$6,
3687
- helperText: helperText$4,
3688
- errorMessage: errorMessage$6,
3693
+ requiredIndicator: requiredIndicator$7,
3694
+ helperText: helperText$5,
3695
+ errorMessage: errorMessage$7,
3689
3696
  } = {
3690
3697
  host: { selector: () => ':host' },
3691
3698
  requiredIndicator: { selector: '[required] vaadin-checkbox [slot="label"]:not(:empty)::after' },
@@ -3700,19 +3707,19 @@ const {
3700
3707
  const SwitchToggleClass = compose(
3701
3708
  createStyleMixin({
3702
3709
  mappings: {
3703
- hostWidth: { ...host$b, property: 'width' },
3704
- hostDirection: { ...host$b, property: 'direction' },
3710
+ hostWidth: { ...host$c, property: 'width' },
3711
+ hostDirection: { ...host$c, property: 'direction' },
3705
3712
 
3706
3713
  fontSize: [component, checkboxLabel, checkboxLabel],
3707
- fontFamily: [checkboxLabel, helperText$4, errorMessage$6],
3714
+ fontFamily: [checkboxLabel, helperText$5, errorMessage$7],
3708
3715
 
3709
3716
  labelTextColor: { ...checkboxLabel, property: 'color' },
3710
3717
  labelSpacing: { ...checkboxLabel, property: 'padding-inline-start' },
3711
3718
  labelLineHeight: { ...checkboxLabel, property: 'line-height' },
3712
3719
  labelFontWeight: { ...checkboxLabel, property: 'font-weight' },
3713
- labelRequiredIndicator: { ...requiredIndicator$6, property: 'content' },
3720
+ labelRequiredIndicator: { ...requiredIndicator$7, property: 'content' },
3714
3721
 
3715
- errorMessageTextColor: { ...errorMessage$6, property: 'color' },
3722
+ errorMessageTextColor: { ...errorMessage$7, property: 'color' },
3716
3723
 
3717
3724
  trackBorderWidth: { ...track, property: 'border-width' },
3718
3725
  trackBorderStyle: { ...track, property: 'border-style' },
@@ -3807,83 +3814,83 @@ const SwitchToggleClass = compose(
3807
3814
  }
3808
3815
  `,
3809
3816
  excludeAttrsSync: ['label', 'tabindex'],
3810
- componentName: componentName$s,
3817
+ componentName: componentName$t,
3811
3818
  })
3812
3819
  );
3813
3820
 
3814
3821
  const knobMargin = '2px';
3815
3822
  const checkboxHeight = '1.25em';
3816
3823
 
3817
- const globalRefs$d = getThemeRefs(globals);
3818
- const vars$m = SwitchToggleClass.cssVarList;
3824
+ const globalRefs$e = getThemeRefs(globals);
3825
+ const vars$n = SwitchToggleClass.cssVarList;
3819
3826
 
3820
3827
  const switchToggle = {
3821
- [vars$m.hostWidth]: refs.width,
3822
- [vars$m.hostDirection]: refs.direction,
3823
- [vars$m.fontSize]: refs.fontSize,
3824
- [vars$m.fontFamily]: refs.fontFamily,
3825
-
3826
- [vars$m.inputOutlineWidth]: refs.outlineWidth,
3827
- [vars$m.inputOutlineOffset]: refs.outlineOffset,
3828
- [vars$m.inputOutlineColor]: refs.outlineColor,
3829
- [vars$m.inputOutlineStyle]: refs.outlineStyle,
3830
-
3831
- [vars$m.trackBorderStyle]: refs.borderStyle,
3832
- [vars$m.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
3833
- [vars$m.trackBorderColor]: refs.borderColor,
3834
- [vars$m.trackBackgroundColor]: 'none',
3835
- [vars$m.trackBorderRadius]: globalRefs$d.radius.md,
3836
- [vars$m.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
3837
- [vars$m.trackHeight]: checkboxHeight,
3838
-
3839
- [vars$m.knobSize]: `calc(1em - ${knobMargin})`,
3840
- [vars$m.knobRadius]: '50%',
3841
- [vars$m.knobTopOffset]: '1px',
3842
- [vars$m.knobLeftOffset]: knobMargin,
3843
- [vars$m.knobColor]: refs.valueTextColor,
3844
- [vars$m.knobTransitionDuration]: '0.3s',
3845
-
3846
- [vars$m.labelTextColor]: refs.labelTextColor,
3847
- [vars$m.labelFontWeight]: '400',
3848
- [vars$m.labelLineHeight]: '1.35em',
3849
- [vars$m.labelSpacing]: '1em',
3850
- [vars$m.labelRequiredIndicator]: refs.requiredIndicator,
3851
- [vars$m.errorMessageTextColor]: refs.errorMessageTextColor,
3828
+ [vars$n.hostWidth]: refs.width,
3829
+ [vars$n.hostDirection]: refs.direction,
3830
+ [vars$n.fontSize]: refs.fontSize,
3831
+ [vars$n.fontFamily]: refs.fontFamily,
3832
+
3833
+ [vars$n.inputOutlineWidth]: refs.outlineWidth,
3834
+ [vars$n.inputOutlineOffset]: refs.outlineOffset,
3835
+ [vars$n.inputOutlineColor]: refs.outlineColor,
3836
+ [vars$n.inputOutlineStyle]: refs.outlineStyle,
3837
+
3838
+ [vars$n.trackBorderStyle]: refs.borderStyle,
3839
+ [vars$n.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
3840
+ [vars$n.trackBorderColor]: refs.borderColor,
3841
+ [vars$n.trackBackgroundColor]: 'none',
3842
+ [vars$n.trackBorderRadius]: globalRefs$e.radius.md,
3843
+ [vars$n.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
3844
+ [vars$n.trackHeight]: checkboxHeight,
3845
+
3846
+ [vars$n.knobSize]: `calc(1em - ${knobMargin})`,
3847
+ [vars$n.knobRadius]: '50%',
3848
+ [vars$n.knobTopOffset]: '1px',
3849
+ [vars$n.knobLeftOffset]: knobMargin,
3850
+ [vars$n.knobColor]: refs.valueTextColor,
3851
+ [vars$n.knobTransitionDuration]: '0.3s',
3852
+
3853
+ [vars$n.labelTextColor]: refs.labelTextColor,
3854
+ [vars$n.labelFontWeight]: '400',
3855
+ [vars$n.labelLineHeight]: '1.35em',
3856
+ [vars$n.labelSpacing]: '1em',
3857
+ [vars$n.labelRequiredIndicator]: refs.requiredIndicator,
3858
+ [vars$n.errorMessageTextColor]: refs.errorMessageTextColor,
3852
3859
 
3853
3860
  _checked: {
3854
- [vars$m.trackBorderColor]: refs.borderColor,
3855
- [vars$m.trackBackgroundColor]: refs.backgroundColor,
3856
- [vars$m.knobLeftOffset]: `calc(100% - var(${vars$m.knobSize}) - ${knobMargin})`,
3857
- [vars$m.knobColor]: refs.valueTextColor,
3858
- [vars$m.knobTextColor]: refs.valueTextColor,
3861
+ [vars$n.trackBorderColor]: refs.borderColor,
3862
+ [vars$n.trackBackgroundColor]: refs.backgroundColor,
3863
+ [vars$n.knobLeftOffset]: `calc(100% - var(${vars$n.knobSize}) - ${knobMargin})`,
3864
+ [vars$n.knobColor]: refs.valueTextColor,
3865
+ [vars$n.knobTextColor]: refs.valueTextColor,
3859
3866
  },
3860
3867
 
3861
3868
  _disabled: {
3862
- [vars$m.knobColor]: globalRefs$d.colors.surface.light,
3863
- [vars$m.trackBorderColor]: globalRefs$d.colors.surface.main,
3864
- [vars$m.trackBackgroundColor]: globalRefs$d.colors.surface.main,
3865
- [vars$m.labelTextColor]: refs.labelTextColor,
3869
+ [vars$n.knobColor]: globalRefs$e.colors.surface.light,
3870
+ [vars$n.trackBorderColor]: globalRefs$e.colors.surface.main,
3871
+ [vars$n.trackBackgroundColor]: globalRefs$e.colors.surface.main,
3872
+ [vars$n.labelTextColor]: refs.labelTextColor,
3866
3873
  _checked: {
3867
- [vars$m.knobColor]: globalRefs$d.colors.surface.light,
3868
- [vars$m.trackBackgroundColor]: globalRefs$d.colors.surface.main,
3874
+ [vars$n.knobColor]: globalRefs$e.colors.surface.light,
3875
+ [vars$n.trackBackgroundColor]: globalRefs$e.colors.surface.main,
3869
3876
  },
3870
3877
  },
3871
3878
 
3872
3879
  _invalid: {
3873
- [vars$m.trackBorderColor]: globalRefs$d.colors.error.main,
3874
- [vars$m.knobColor]: globalRefs$d.colors.error.main,
3880
+ [vars$n.trackBorderColor]: globalRefs$e.colors.error.main,
3881
+ [vars$n.knobColor]: globalRefs$e.colors.error.main,
3875
3882
  },
3876
3883
  };
3877
3884
 
3878
3885
  var switchToggle$1 = /*#__PURE__*/Object.freeze({
3879
3886
  __proto__: null,
3880
3887
  default: switchToggle,
3881
- vars: vars$m
3888
+ vars: vars$n
3882
3889
  });
3883
3890
 
3884
- const componentName$r = getComponentName('container');
3891
+ const componentName$s = getComponentName('container');
3885
3892
 
3886
- class RawContainer extends createBaseClass({ componentName: componentName$r, baseSelector: 'slot' }) {
3893
+ class RawContainer extends createBaseClass({ componentName: componentName$s, baseSelector: 'slot' }) {
3887
3894
  constructor() {
3888
3895
  super();
3889
3896
 
@@ -3935,7 +3942,7 @@ const ContainerClass = compose(
3935
3942
  componentNameValidationMixin
3936
3943
  )(RawContainer);
3937
3944
 
3938
- const globalRefs$c = getThemeRefs(globals);
3945
+ const globalRefs$d = getThemeRefs(globals);
3939
3946
 
3940
3947
  const compVars$3 = ContainerClass.cssVarList;
3941
3948
 
@@ -3957,7 +3964,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
3957
3964
  horizontalAlignment,
3958
3965
  shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
3959
3966
  },
3960
- componentName$r
3967
+ componentName$s
3961
3968
  );
3962
3969
 
3963
3970
  const { shadowColor: shadowColor$1 } = helperRefs$2;
@@ -3967,8 +3974,8 @@ const container = {
3967
3974
 
3968
3975
  [compVars$3.hostWidth]: '100%',
3969
3976
  [compVars$3.boxShadow]: 'none',
3970
- [compVars$3.backgroundColor]: globalRefs$c.colors.surface.light,
3971
- [compVars$3.color]: globalRefs$c.colors.surface.contrast,
3977
+ [compVars$3.backgroundColor]: globalRefs$d.colors.surface.light,
3978
+ [compVars$3.color]: globalRefs$d.colors.surface.contrast,
3972
3979
  [compVars$3.borderRadius]: '0px',
3973
3980
 
3974
3981
  verticalPadding: {
@@ -4015,34 +4022,34 @@ const container = {
4015
4022
 
4016
4023
  shadow: {
4017
4024
  sm: {
4018
- [compVars$3.boxShadow]: `${globalRefs$c.shadow.wide.sm} ${shadowColor$1}, ${globalRefs$c.shadow.narrow.sm} ${shadowColor$1}`,
4025
+ [compVars$3.boxShadow]: `${globalRefs$d.shadow.wide.sm} ${shadowColor$1}, ${globalRefs$d.shadow.narrow.sm} ${shadowColor$1}`,
4019
4026
  },
4020
4027
  md: {
4021
- [compVars$3.boxShadow]: `${globalRefs$c.shadow.wide.md} ${shadowColor$1}, ${globalRefs$c.shadow.narrow.md} ${shadowColor$1}`,
4028
+ [compVars$3.boxShadow]: `${globalRefs$d.shadow.wide.md} ${shadowColor$1}, ${globalRefs$d.shadow.narrow.md} ${shadowColor$1}`,
4022
4029
  },
4023
4030
  lg: {
4024
- [compVars$3.boxShadow]: `${globalRefs$c.shadow.wide.lg} ${shadowColor$1}, ${globalRefs$c.shadow.narrow.lg} ${shadowColor$1}`,
4031
+ [compVars$3.boxShadow]: `${globalRefs$d.shadow.wide.lg} ${shadowColor$1}, ${globalRefs$d.shadow.narrow.lg} ${shadowColor$1}`,
4025
4032
  },
4026
4033
  xl: {
4027
- [compVars$3.boxShadow]: `${globalRefs$c.shadow.wide.xl} ${shadowColor$1}, ${globalRefs$c.shadow.narrow.xl} ${shadowColor$1}`,
4034
+ [compVars$3.boxShadow]: `${globalRefs$d.shadow.wide.xl} ${shadowColor$1}, ${globalRefs$d.shadow.narrow.xl} ${shadowColor$1}`,
4028
4035
  },
4029
4036
  '2xl': {
4030
4037
  [helperVars$2.shadowColor]: '#00000050', // mimic daisyUI shadow settings
4031
- [compVars$3.boxShadow]: `${globalRefs$c.shadow.wide['2xl']} ${shadowColor$1}`,
4038
+ [compVars$3.boxShadow]: `${globalRefs$d.shadow.wide['2xl']} ${shadowColor$1}`,
4032
4039
  },
4033
4040
  },
4034
4041
 
4035
4042
  borderRadius: {
4036
- sm: { [compVars$3.borderRadius]: globalRefs$c.radius.sm },
4037
- md: { [compVars$3.borderRadius]: globalRefs$c.radius.md },
4038
- lg: { [compVars$3.borderRadius]: globalRefs$c.radius.lg },
4039
- xl: { [compVars$3.borderRadius]: globalRefs$c.radius.xl },
4040
- '2xl': { [compVars$3.borderRadius]: globalRefs$c.radius['2xl'] },
4041
- '3xl': { [compVars$3.borderRadius]: globalRefs$c.radius['3xl'] },
4043
+ sm: { [compVars$3.borderRadius]: globalRefs$d.radius.sm },
4044
+ md: { [compVars$3.borderRadius]: globalRefs$d.radius.md },
4045
+ lg: { [compVars$3.borderRadius]: globalRefs$d.radius.lg },
4046
+ xl: { [compVars$3.borderRadius]: globalRefs$d.radius.xl },
4047
+ '2xl': { [compVars$3.borderRadius]: globalRefs$d.radius['2xl'] },
4048
+ '3xl': { [compVars$3.borderRadius]: globalRefs$d.radius['3xl'] },
4042
4049
  },
4043
4050
  };
4044
4051
 
4045
- const vars$l = {
4052
+ const vars$m = {
4046
4053
  ...compVars$3,
4047
4054
  ...helperVars$2,
4048
4055
  };
@@ -4050,7 +4057,7 @@ const vars$l = {
4050
4057
  var container$1 = /*#__PURE__*/Object.freeze({
4051
4058
  __proto__: null,
4052
4059
  default: container,
4053
- vars: vars$l
4060
+ vars: vars$m
4054
4061
  });
4055
4062
 
4056
4063
  const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
@@ -4103,51 +4110,51 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
4103
4110
  return CssVarImageClass;
4104
4111
  };
4105
4112
 
4106
- const componentName$q = getComponentName('logo');
4113
+ const componentName$r = getComponentName('logo');
4107
4114
 
4108
4115
  const LogoClass = createCssVarImageClass({
4109
- componentName: componentName$q,
4116
+ componentName: componentName$r,
4110
4117
  varName: 'url',
4111
4118
  fallbackVarName: 'fallbackUrl',
4112
4119
  });
4113
4120
 
4114
- const vars$k = LogoClass.cssVarList;
4121
+ const vars$l = LogoClass.cssVarList;
4115
4122
 
4116
4123
  const logo$1 = {
4117
- [vars$k.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
4124
+ [vars$l.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
4118
4125
  };
4119
4126
 
4120
4127
  var logo$2 = /*#__PURE__*/Object.freeze({
4121
4128
  __proto__: null,
4122
4129
  default: logo$1,
4123
- vars: vars$k
4130
+ vars: vars$l
4124
4131
  });
4125
4132
 
4126
- const componentName$p = getComponentName('totp-image');
4133
+ const componentName$q = getComponentName('totp-image');
4127
4134
 
4128
4135
  const TotpImageClass = createCssVarImageClass({
4129
- componentName: componentName$p,
4136
+ componentName: componentName$q,
4130
4137
  varName: 'url',
4131
4138
  fallbackVarName: 'fallbackUrl',
4132
4139
  });
4133
4140
 
4134
- const vars$j = TotpImageClass.cssVarList;
4141
+ const vars$k = TotpImageClass.cssVarList;
4135
4142
 
4136
4143
  const logo = {
4137
- [vars$j.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
4144
+ [vars$k.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
4138
4145
  };
4139
4146
 
4140
4147
  var totpImage = /*#__PURE__*/Object.freeze({
4141
4148
  __proto__: null,
4142
4149
  default: logo,
4143
- vars: vars$j
4150
+ vars: vars$k
4144
4151
  });
4145
4152
 
4146
4153
  // eslint-disable-next-line max-classes-per-file
4147
4154
 
4148
- const componentName$o = getComponentName('text');
4155
+ const componentName$p = getComponentName('text');
4149
4156
 
4150
- class RawText extends createBaseClass({ componentName: componentName$o, baseSelector: ':host > slot' }) {
4157
+ class RawText extends createBaseClass({ componentName: componentName$p, baseSelector: ':host > slot' }) {
4151
4158
  constructor() {
4152
4159
  super();
4153
4160
 
@@ -4207,99 +4214,99 @@ const TextClass = compose(
4207
4214
  customTextMixin
4208
4215
  )(RawText);
4209
4216
 
4210
- const globalRefs$b = getThemeRefs(globals);
4211
- const vars$i = TextClass.cssVarList;
4217
+ const globalRefs$c = getThemeRefs(globals);
4218
+ const vars$j = TextClass.cssVarList;
4212
4219
 
4213
4220
  const text$2 = {
4214
- [vars$i.hostDirection]: globalRefs$b.direction,
4215
- [vars$i.textLineHeight]: '1.35em',
4216
- [vars$i.textAlign]: 'left',
4217
- [vars$i.textColor]: globalRefs$b.colors.surface.dark,
4221
+ [vars$j.hostDirection]: globalRefs$c.direction,
4222
+ [vars$j.textLineHeight]: '1.35em',
4223
+ [vars$j.textAlign]: 'left',
4224
+ [vars$j.textColor]: globalRefs$c.colors.surface.dark,
4218
4225
  variant: {
4219
4226
  h1: {
4220
- [vars$i.fontSize]: globalRefs$b.typography.h1.size,
4221
- [vars$i.fontWeight]: globalRefs$b.typography.h1.weight,
4222
- [vars$i.fontFamily]: globalRefs$b.typography.h1.font,
4227
+ [vars$j.fontSize]: globalRefs$c.typography.h1.size,
4228
+ [vars$j.fontWeight]: globalRefs$c.typography.h1.weight,
4229
+ [vars$j.fontFamily]: globalRefs$c.typography.h1.font,
4223
4230
  },
4224
4231
  h2: {
4225
- [vars$i.fontSize]: globalRefs$b.typography.h2.size,
4226
- [vars$i.fontWeight]: globalRefs$b.typography.h2.weight,
4227
- [vars$i.fontFamily]: globalRefs$b.typography.h2.font,
4232
+ [vars$j.fontSize]: globalRefs$c.typography.h2.size,
4233
+ [vars$j.fontWeight]: globalRefs$c.typography.h2.weight,
4234
+ [vars$j.fontFamily]: globalRefs$c.typography.h2.font,
4228
4235
  },
4229
4236
  h3: {
4230
- [vars$i.fontSize]: globalRefs$b.typography.h3.size,
4231
- [vars$i.fontWeight]: globalRefs$b.typography.h3.weight,
4232
- [vars$i.fontFamily]: globalRefs$b.typography.h3.font,
4237
+ [vars$j.fontSize]: globalRefs$c.typography.h3.size,
4238
+ [vars$j.fontWeight]: globalRefs$c.typography.h3.weight,
4239
+ [vars$j.fontFamily]: globalRefs$c.typography.h3.font,
4233
4240
  },
4234
4241
  subtitle1: {
4235
- [vars$i.fontSize]: globalRefs$b.typography.subtitle1.size,
4236
- [vars$i.fontWeight]: globalRefs$b.typography.subtitle1.weight,
4237
- [vars$i.fontFamily]: globalRefs$b.typography.subtitle1.font,
4242
+ [vars$j.fontSize]: globalRefs$c.typography.subtitle1.size,
4243
+ [vars$j.fontWeight]: globalRefs$c.typography.subtitle1.weight,
4244
+ [vars$j.fontFamily]: globalRefs$c.typography.subtitle1.font,
4238
4245
  },
4239
4246
  subtitle2: {
4240
- [vars$i.fontSize]: globalRefs$b.typography.subtitle2.size,
4241
- [vars$i.fontWeight]: globalRefs$b.typography.subtitle2.weight,
4242
- [vars$i.fontFamily]: globalRefs$b.typography.subtitle2.font,
4247
+ [vars$j.fontSize]: globalRefs$c.typography.subtitle2.size,
4248
+ [vars$j.fontWeight]: globalRefs$c.typography.subtitle2.weight,
4249
+ [vars$j.fontFamily]: globalRefs$c.typography.subtitle2.font,
4243
4250
  },
4244
4251
  body1: {
4245
- [vars$i.fontSize]: globalRefs$b.typography.body1.size,
4246
- [vars$i.fontWeight]: globalRefs$b.typography.body1.weight,
4247
- [vars$i.fontFamily]: globalRefs$b.typography.body1.font,
4252
+ [vars$j.fontSize]: globalRefs$c.typography.body1.size,
4253
+ [vars$j.fontWeight]: globalRefs$c.typography.body1.weight,
4254
+ [vars$j.fontFamily]: globalRefs$c.typography.body1.font,
4248
4255
  },
4249
4256
  body2: {
4250
- [vars$i.fontSize]: globalRefs$b.typography.body2.size,
4251
- [vars$i.fontWeight]: globalRefs$b.typography.body2.weight,
4252
- [vars$i.fontFamily]: globalRefs$b.typography.body2.font,
4257
+ [vars$j.fontSize]: globalRefs$c.typography.body2.size,
4258
+ [vars$j.fontWeight]: globalRefs$c.typography.body2.weight,
4259
+ [vars$j.fontFamily]: globalRefs$c.typography.body2.font,
4253
4260
  },
4254
4261
  },
4255
4262
 
4256
4263
  mode: {
4257
4264
  primary: {
4258
- [vars$i.textColor]: globalRefs$b.colors.primary.main,
4265
+ [vars$j.textColor]: globalRefs$c.colors.primary.main,
4259
4266
  },
4260
4267
  secondary: {
4261
- [vars$i.textColor]: globalRefs$b.colors.secondary.main,
4268
+ [vars$j.textColor]: globalRefs$c.colors.secondary.main,
4262
4269
  },
4263
4270
  error: {
4264
- [vars$i.textColor]: globalRefs$b.colors.error.main,
4271
+ [vars$j.textColor]: globalRefs$c.colors.error.main,
4265
4272
  },
4266
4273
  success: {
4267
- [vars$i.textColor]: globalRefs$b.colors.success.main,
4274
+ [vars$j.textColor]: globalRefs$c.colors.success.main,
4268
4275
  },
4269
4276
  },
4270
4277
 
4271
4278
  textAlign: {
4272
- right: { [vars$i.textAlign]: 'right' },
4273
- left: { [vars$i.textAlign]: 'left' },
4274
- center: { [vars$i.textAlign]: 'center' },
4279
+ right: { [vars$j.textAlign]: 'right' },
4280
+ left: { [vars$j.textAlign]: 'left' },
4281
+ center: { [vars$j.textAlign]: 'center' },
4275
4282
  },
4276
4283
 
4277
4284
  _fullWidth: {
4278
- [vars$i.hostWidth]: '100%',
4285
+ [vars$j.hostWidth]: '100%',
4279
4286
  },
4280
4287
 
4281
4288
  _italic: {
4282
- [vars$i.fontStyle]: 'italic',
4289
+ [vars$j.fontStyle]: 'italic',
4283
4290
  },
4284
4291
 
4285
4292
  _uppercase: {
4286
- [vars$i.textTransform]: 'uppercase',
4293
+ [vars$j.textTransform]: 'uppercase',
4287
4294
  },
4288
4295
 
4289
4296
  _lowercase: {
4290
- [vars$i.textTransform]: 'lowercase',
4297
+ [vars$j.textTransform]: 'lowercase',
4291
4298
  },
4292
4299
  };
4293
4300
 
4294
4301
  var text$3 = /*#__PURE__*/Object.freeze({
4295
4302
  __proto__: null,
4296
4303
  default: text$2,
4297
- vars: vars$i
4304
+ vars: vars$j
4298
4305
  });
4299
4306
 
4300
- const componentName$n = getComponentName('link');
4307
+ const componentName$o = getComponentName('link');
4301
4308
 
4302
- class RawLink extends createBaseClass({ componentName: componentName$n, baseSelector: ':host a' }) {
4309
+ class RawLink extends createBaseClass({ componentName: componentName$o, baseSelector: ':host a' }) {
4303
4310
  constructor() {
4304
4311
  super();
4305
4312
 
@@ -4345,12 +4352,12 @@ const selectors$2 = {
4345
4352
  text: { selector: () => TextClass.componentName },
4346
4353
  };
4347
4354
 
4348
- const { anchor, text: text$1, host: host$a, wrapper: wrapper$1 } = selectors$2;
4355
+ const { anchor, text: text$1, host: host$b, wrapper: wrapper$1 } = selectors$2;
4349
4356
 
4350
4357
  const LinkClass = compose(
4351
4358
  createStyleMixin({
4352
4359
  mappings: {
4353
- hostWidth: { ...host$a, property: 'width' },
4360
+ hostWidth: { ...host$b, property: 'width' },
4354
4361
  hostDirection: { ...text$1, property: 'direction' },
4355
4362
  textAlign: wrapper$1,
4356
4363
  textColor: [
@@ -4364,37 +4371,37 @@ const LinkClass = compose(
4364
4371
  componentNameValidationMixin
4365
4372
  )(RawLink);
4366
4373
 
4367
- const globalRefs$a = getThemeRefs(globals);
4368
- const vars$h = LinkClass.cssVarList;
4374
+ const globalRefs$b = getThemeRefs(globals);
4375
+ const vars$i = LinkClass.cssVarList;
4369
4376
 
4370
4377
  const link = {
4371
- [vars$h.hostDirection]: globalRefs$a.direction,
4372
- [vars$h.cursor]: 'pointer',
4378
+ [vars$i.hostDirection]: globalRefs$b.direction,
4379
+ [vars$i.cursor]: 'pointer',
4373
4380
 
4374
- [vars$h.textColor]: globalRefs$a.colors.primary.main,
4381
+ [vars$i.textColor]: globalRefs$b.colors.primary.main,
4375
4382
 
4376
4383
  textAlign: {
4377
- right: { [vars$h.textAlign]: 'right' },
4378
- left: { [vars$h.textAlign]: 'left' },
4379
- center: { [vars$h.textAlign]: 'center' },
4384
+ right: { [vars$i.textAlign]: 'right' },
4385
+ left: { [vars$i.textAlign]: 'left' },
4386
+ center: { [vars$i.textAlign]: 'center' },
4380
4387
  },
4381
4388
 
4382
4389
  _fullWidth: {
4383
- [vars$h.hostWidth]: '100%',
4390
+ [vars$i.hostWidth]: '100%',
4384
4391
  },
4385
4392
 
4386
4393
  mode: {
4387
4394
  primary: {
4388
- [vars$h.textColor]: globalRefs$a.colors.primary.main,
4395
+ [vars$i.textColor]: globalRefs$b.colors.primary.main,
4389
4396
  },
4390
4397
  secondary: {
4391
- [vars$h.textColor]: globalRefs$a.colors.secondary.main,
4398
+ [vars$i.textColor]: globalRefs$b.colors.secondary.main,
4392
4399
  },
4393
4400
  error: {
4394
- [vars$h.textColor]: globalRefs$a.colors.error.main,
4401
+ [vars$i.textColor]: globalRefs$b.colors.error.main,
4395
4402
  },
4396
4403
  success: {
4397
- [vars$h.textColor]: globalRefs$a.colors.success.main,
4404
+ [vars$i.textColor]: globalRefs$b.colors.success.main,
4398
4405
  },
4399
4406
  },
4400
4407
  };
@@ -4402,11 +4409,11 @@ const link = {
4402
4409
  var link$1 = /*#__PURE__*/Object.freeze({
4403
4410
  __proto__: null,
4404
4411
  default: link,
4405
- vars: vars$h
4412
+ vars: vars$i
4406
4413
  });
4407
4414
 
4408
- const componentName$m = getComponentName('divider');
4409
- class RawDivider extends createBaseClass({ componentName: componentName$m, baseSelector: ':host > div' }) {
4415
+ const componentName$n = getComponentName('divider');
4416
+ class RawDivider extends createBaseClass({ componentName: componentName$n, baseSelector: ':host > div' }) {
4410
4417
  constructor() {
4411
4418
  super();
4412
4419
 
@@ -4452,7 +4459,7 @@ class RawDivider extends createBaseClass({ componentName: componentName$m, baseS
4452
4459
  }
4453
4460
 
4454
4461
  const textVars$3 = TextClass.cssVarList;
4455
- const { host: host$9, before, after: after$1, text } = {
4462
+ const { host: host$a, before, after: after$1, text } = {
4456
4463
  host: { selector: () => ':host' },
4457
4464
  before: { selector: '::before' },
4458
4465
  after: { selector: '::after' },
@@ -4462,8 +4469,8 @@ const { host: host$9, before, after: after$1, text } = {
4462
4469
  const DividerClass = compose(
4463
4470
  createStyleMixin({
4464
4471
  mappings: {
4465
- hostWidth: { ...host$9, property: 'width' },
4466
- hostPadding: { ...host$9, property: 'padding' },
4472
+ hostWidth: { ...host$a, property: 'width' },
4473
+ hostPadding: { ...host$a, property: 'padding' },
4467
4474
  hostDirection: { ...text, property: 'direction' },
4468
4475
 
4469
4476
  minHeight: {},
@@ -4505,7 +4512,7 @@ const DividerClass = compose(
4505
4512
  componentNameValidationMixin
4506
4513
  )(RawDivider);
4507
4514
 
4508
- const globalRefs$9 = getThemeRefs(globals);
4515
+ const globalRefs$a = getThemeRefs(globals);
4509
4516
  const compVars$2 = DividerClass.cssVarList;
4510
4517
 
4511
4518
  const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
@@ -4513,18 +4520,18 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
4513
4520
  thickness: '2px',
4514
4521
  spacing: '10px',
4515
4522
  },
4516
- componentName$m
4523
+ componentName$n
4517
4524
  );
4518
4525
 
4519
4526
  const divider = {
4520
4527
  ...helperTheme$1,
4521
4528
 
4522
- [compVars$2.hostDirection]: globalRefs$9.direction,
4529
+ [compVars$2.hostDirection]: globalRefs$a.direction,
4523
4530
  [compVars$2.alignItems]: 'center',
4524
4531
  [compVars$2.flexDirection]: 'row',
4525
4532
  [compVars$2.alignSelf]: 'stretch',
4526
4533
  [compVars$2.hostWidth]: '100%',
4527
- [compVars$2.stripeColor]: globalRefs$9.colors.surface.main,
4534
+ [compVars$2.stripeColor]: globalRefs$a.colors.surface.main,
4528
4535
  [compVars$2.stripeColorOpacity]: '0.5',
4529
4536
  [compVars$2.stripeHorizontalThickness]: helperRefs$1.thickness,
4530
4537
  [compVars$2.labelTextWidth]: 'fit-content',
@@ -4544,7 +4551,7 @@ const divider = {
4544
4551
  },
4545
4552
  };
4546
4553
 
4547
- const vars$g = {
4554
+ const vars$h = {
4548
4555
  ...compVars$2,
4549
4556
  ...helperVars$1,
4550
4557
  };
@@ -4552,16 +4559,16 @@ const vars$g = {
4552
4559
  var divider$1 = /*#__PURE__*/Object.freeze({
4553
4560
  __proto__: null,
4554
4561
  default: divider,
4555
- vars: vars$g
4562
+ vars: vars$h
4556
4563
  });
4557
4564
 
4558
4565
  /* eslint-disable no-param-reassign */
4559
4566
 
4560
- const componentName$l = getComponentName('passcode-internal');
4567
+ const componentName$m = getComponentName('passcode-internal');
4561
4568
 
4562
- createBaseInputClass({ componentName: componentName$l, baseSelector: 'div' });
4569
+ createBaseInputClass({ componentName: componentName$m, baseSelector: 'div' });
4563
4570
 
4564
- const componentName$k = getComponentName('passcode');
4571
+ const componentName$l = getComponentName('passcode');
4565
4572
 
4566
4573
  const observedAttributes$3 = ['digits'];
4567
4574
 
@@ -4580,17 +4587,17 @@ const customMixin$5 = (superclass) =>
4580
4587
  const template = document.createElement('template');
4581
4588
 
4582
4589
  template.innerHTML = `
4583
- <${componentName$l}
4590
+ <${componentName$m}
4584
4591
  bordered="true"
4585
4592
  name="code"
4586
4593
  tabindex="-1"
4587
4594
  slot="input"
4588
- ><slot></slot></${componentName$l}>
4595
+ ><slot></slot></${componentName$m}>
4589
4596
  `;
4590
4597
 
4591
4598
  this.baseElement.appendChild(template.content.cloneNode(true));
4592
4599
 
4593
- this.inputElement = this.shadowRoot.querySelector(componentName$l);
4600
+ this.inputElement = this.shadowRoot.querySelector(componentName$m);
4594
4601
 
4595
4602
  forwardAttrs(this, this.inputElement, { includeAttrs: ['digits', 'size'] });
4596
4603
  }
@@ -4605,13 +4612,13 @@ const customMixin$5 = (superclass) =>
4605
4612
  };
4606
4613
 
4607
4614
  const {
4608
- host: host$8,
4615
+ host: host$9,
4609
4616
  digitField,
4610
- label: label$5,
4611
- requiredIndicator: requiredIndicator$5,
4617
+ label: label$6,
4618
+ requiredIndicator: requiredIndicator$6,
4612
4619
  internalWrapper: internalWrapper$1,
4613
4620
  focusedDigitField,
4614
- errorMessage: errorMessage$5,
4621
+ errorMessage: errorMessage$6,
4615
4622
  } = {
4616
4623
  host: { selector: () => ':host' },
4617
4624
  focusedDigitField: { selector: () => `${TextFieldClass.componentName}[focused="true"]` },
@@ -4627,16 +4634,16 @@ const textVars$2 = TextFieldClass.cssVarList;
4627
4634
  const PasscodeClass = compose(
4628
4635
  createStyleMixin({
4629
4636
  mappings: {
4630
- fontSize: [{ ...digitField, property: textVars$2.fontSize }, host$8],
4637
+ fontSize: [{ ...digitField, property: textVars$2.fontSize }, host$9],
4631
4638
  hostWidth: { property: 'width' },
4632
- hostDirection: { ...host$8, property: 'direction' },
4633
- fontFamily: [host$8, { ...label$5 }],
4639
+ hostDirection: { ...host$9, property: 'direction' },
4640
+ fontFamily: [host$9, { ...label$6 }],
4634
4641
  labelTextColor: [
4635
- { ...label$5, property: 'color' },
4636
- { ...requiredIndicator$5, property: 'color' },
4642
+ { ...label$6, property: 'color' },
4643
+ { ...requiredIndicator$6, property: 'color' },
4637
4644
  ],
4638
- labelRequiredIndicator: { ...requiredIndicator$5, property: 'content' },
4639
- errorMessageTextColor: { ...errorMessage$5, property: 'color' },
4645
+ labelRequiredIndicator: { ...requiredIndicator$6, property: 'content' },
4646
+ errorMessageTextColor: { ...errorMessage$6, property: 'color' },
4640
4647
  digitValueTextColor: {
4641
4648
  selector: TextFieldClass.componentName,
4642
4649
  property: textVars$2.inputValueTextColor,
@@ -4730,45 +4737,45 @@ const PasscodeClass = compose(
4730
4737
  ${resetInputCursor('vaadin-text-field')}
4731
4738
  `,
4732
4739
  excludeAttrsSync: ['tabindex'],
4733
- componentName: componentName$k,
4740
+ componentName: componentName$l,
4734
4741
  })
4735
4742
  );
4736
4743
 
4737
- const vars$f = PasscodeClass.cssVarList;
4744
+ const vars$g = PasscodeClass.cssVarList;
4738
4745
 
4739
4746
  const passcode = {
4740
- [vars$f.hostDirection]: refs.direction,
4741
- [vars$f.fontFamily]: refs.fontFamily,
4742
- [vars$f.fontSize]: refs.fontSize,
4743
- [vars$f.labelTextColor]: refs.labelTextColor,
4744
- [vars$f.labelRequiredIndicator]: refs.requiredIndicator,
4745
- [vars$f.errorMessageTextColor]: refs.errorMessageTextColor,
4746
- [vars$f.digitValueTextColor]: refs.valueTextColor,
4747
- [vars$f.digitPadding]: '0',
4748
- [vars$f.digitTextAlign]: 'center',
4749
- [vars$f.digitSpacing]: '4px',
4750
- [vars$f.hostWidth]: refs.width,
4751
- [vars$f.digitOutlineColor]: 'transparent',
4752
- [vars$f.digitOutlineWidth]: refs.outlineWidth,
4753
- [vars$f.focusedDigitFieldOutlineColor]: refs.outlineColor,
4754
- [vars$f.digitSize]: refs.inputHeight,
4747
+ [vars$g.hostDirection]: refs.direction,
4748
+ [vars$g.fontFamily]: refs.fontFamily,
4749
+ [vars$g.fontSize]: refs.fontSize,
4750
+ [vars$g.labelTextColor]: refs.labelTextColor,
4751
+ [vars$g.labelRequiredIndicator]: refs.requiredIndicator,
4752
+ [vars$g.errorMessageTextColor]: refs.errorMessageTextColor,
4753
+ [vars$g.digitValueTextColor]: refs.valueTextColor,
4754
+ [vars$g.digitPadding]: '0',
4755
+ [vars$g.digitTextAlign]: 'center',
4756
+ [vars$g.digitSpacing]: '4px',
4757
+ [vars$g.hostWidth]: refs.width,
4758
+ [vars$g.digitOutlineColor]: 'transparent',
4759
+ [vars$g.digitOutlineWidth]: refs.outlineWidth,
4760
+ [vars$g.focusedDigitFieldOutlineColor]: refs.outlineColor,
4761
+ [vars$g.digitSize]: refs.inputHeight,
4755
4762
 
4756
4763
  _hideCursor: {
4757
- [vars$f.digitCaretTextColor]: 'transparent',
4764
+ [vars$g.digitCaretTextColor]: 'transparent',
4758
4765
  },
4759
4766
  };
4760
4767
 
4761
4768
  var passcode$1 = /*#__PURE__*/Object.freeze({
4762
4769
  __proto__: null,
4763
4770
  default: passcode,
4764
- vars: vars$f
4771
+ vars: vars$g
4765
4772
  });
4766
4773
 
4767
- const componentName$j = getComponentName('loader-linear');
4774
+ const componentName$k = getComponentName('loader-linear');
4768
4775
 
4769
- class RawLoaderLinear extends createBaseClass({ componentName: componentName$j, baseSelector: ':host > div' }) {
4776
+ class RawLoaderLinear extends createBaseClass({ componentName: componentName$k, baseSelector: ':host > div' }) {
4770
4777
  static get componentName() {
4771
- return componentName$j;
4778
+ return componentName$k;
4772
4779
  }
4773
4780
 
4774
4781
  constructor() {
@@ -4804,18 +4811,18 @@ const selectors$1 = {
4804
4811
  host: { selector: () => ':host' },
4805
4812
  };
4806
4813
 
4807
- const { after, host: host$7 } = selectors$1;
4814
+ const { after, host: host$8 } = selectors$1;
4808
4815
 
4809
4816
  const LoaderLinearClass = compose(
4810
4817
  createStyleMixin({
4811
4818
  mappings: {
4812
4819
  hostDisplay: {},
4813
- hostWidth: { ...host$7, property: 'width' },
4820
+ hostWidth: { ...host$8, property: 'width' },
4814
4821
  barHeight: [{ property: 'height' }, { ...after, property: 'height' }],
4815
4822
  barBorderRadius: [{ property: 'border-radius' }, { ...after, property: 'border-radius' }],
4816
4823
  verticalPadding: [
4817
- { ...host$7, property: 'padding-top' },
4818
- { ...host$7, property: 'padding-bottom' },
4824
+ { ...host$8, property: 'padding-top' },
4825
+ { ...host$8, property: 'padding-bottom' },
4819
4826
  ],
4820
4827
  barBackgroundColor: { property: 'background-color' },
4821
4828
  barColor: { ...after, property: 'background-color' },
@@ -4829,54 +4836,54 @@ const LoaderLinearClass = compose(
4829
4836
  componentNameValidationMixin
4830
4837
  )(RawLoaderLinear);
4831
4838
 
4832
- const globalRefs$8 = getThemeRefs(globals);
4833
- const vars$e = LoaderLinearClass.cssVarList;
4839
+ const globalRefs$9 = getThemeRefs(globals);
4840
+ const vars$f = LoaderLinearClass.cssVarList;
4834
4841
 
4835
4842
  const loaderLinear = {
4836
- [vars$e.hostDisplay]: 'inline-block',
4837
- [vars$e.hostWidth]: '100%',
4843
+ [vars$f.hostDisplay]: 'inline-block',
4844
+ [vars$f.hostWidth]: '100%',
4838
4845
 
4839
- [vars$e.barColor]: globalRefs$8.colors.surface.contrast,
4840
- [vars$e.barWidth]: '20%',
4846
+ [vars$f.barColor]: globalRefs$9.colors.surface.contrast,
4847
+ [vars$f.barWidth]: '20%',
4841
4848
 
4842
- [vars$e.barBackgroundColor]: globalRefs$8.colors.surface.main,
4843
- [vars$e.barBorderRadius]: '4px',
4849
+ [vars$f.barBackgroundColor]: globalRefs$9.colors.surface.main,
4850
+ [vars$f.barBorderRadius]: '4px',
4844
4851
 
4845
- [vars$e.animationDuration]: '2s',
4846
- [vars$e.animationTimingFunction]: 'linear',
4847
- [vars$e.animationIterationCount]: 'infinite',
4848
- [vars$e.verticalPadding]: '0.25em',
4852
+ [vars$f.animationDuration]: '2s',
4853
+ [vars$f.animationTimingFunction]: 'linear',
4854
+ [vars$f.animationIterationCount]: 'infinite',
4855
+ [vars$f.verticalPadding]: '0.25em',
4849
4856
 
4850
4857
  size: {
4851
- xs: { [vars$e.barHeight]: '2px' },
4852
- sm: { [vars$e.barHeight]: '4px' },
4853
- md: { [vars$e.barHeight]: '6px' },
4854
- lg: { [vars$e.barHeight]: '8px' },
4858
+ xs: { [vars$f.barHeight]: '2px' },
4859
+ sm: { [vars$f.barHeight]: '4px' },
4860
+ md: { [vars$f.barHeight]: '6px' },
4861
+ lg: { [vars$f.barHeight]: '8px' },
4855
4862
  },
4856
4863
 
4857
4864
  mode: {
4858
4865
  primary: {
4859
- [vars$e.barColor]: globalRefs$8.colors.primary.main,
4866
+ [vars$f.barColor]: globalRefs$9.colors.primary.main,
4860
4867
  },
4861
4868
  secondary: {
4862
- [vars$e.barColor]: globalRefs$8.colors.secondary.main,
4869
+ [vars$f.barColor]: globalRefs$9.colors.secondary.main,
4863
4870
  },
4864
4871
  },
4865
4872
 
4866
4873
  _hidden: {
4867
- [vars$e.hostDisplay]: 'none',
4874
+ [vars$f.hostDisplay]: 'none',
4868
4875
  },
4869
4876
  };
4870
4877
 
4871
4878
  var loaderLinear$1 = /*#__PURE__*/Object.freeze({
4872
4879
  __proto__: null,
4873
4880
  default: loaderLinear,
4874
- vars: vars$e
4881
+ vars: vars$f
4875
4882
  });
4876
4883
 
4877
- const componentName$i = getComponentName('loader-radial');
4884
+ const componentName$j = getComponentName('loader-radial');
4878
4885
 
4879
- class RawLoaderRadial extends createBaseClass({ componentName: componentName$i, baseSelector: ':host > div' }) {
4886
+ class RawLoaderRadial extends createBaseClass({ componentName: componentName$j, baseSelector: ':host > div' }) {
4880
4887
  constructor() {
4881
4888
  super();
4882
4889
 
@@ -4920,22 +4927,22 @@ const LoaderRadialClass = compose(
4920
4927
  componentNameValidationMixin
4921
4928
  )(RawLoaderRadial);
4922
4929
 
4923
- const globalRefs$7 = getThemeRefs(globals);
4930
+ const globalRefs$8 = getThemeRefs(globals);
4924
4931
  const compVars$1 = LoaderRadialClass.cssVarList;
4925
4932
 
4926
4933
  const [helperTheme, helperRefs, helperVars] = createHelperVars(
4927
4934
  {
4928
- spinnerColor: globalRefs$7.colors.surface.contrast,
4935
+ spinnerColor: globalRefs$8.colors.surface.contrast,
4929
4936
  mode: {
4930
4937
  primary: {
4931
- spinnerColor: globalRefs$7.colors.primary.main,
4938
+ spinnerColor: globalRefs$8.colors.primary.main,
4932
4939
  },
4933
4940
  secondary: {
4934
- spinnerColor: globalRefs$7.colors.secondary.main,
4941
+ spinnerColor: globalRefs$8.colors.secondary.main,
4935
4942
  },
4936
4943
  },
4937
4944
  },
4938
- componentName$i
4945
+ componentName$j
4939
4946
  );
4940
4947
 
4941
4948
  const loaderRadial = {
@@ -4964,7 +4971,7 @@ const loaderRadial = {
4964
4971
  [compVars$1.hostDisplay]: 'none',
4965
4972
  },
4966
4973
  };
4967
- const vars$d = {
4974
+ const vars$e = {
4968
4975
  ...compVars$1,
4969
4976
  ...helperVars,
4970
4977
  };
@@ -4972,10 +4979,10 @@ const vars$d = {
4972
4979
  var loaderRadial$1 = /*#__PURE__*/Object.freeze({
4973
4980
  __proto__: null,
4974
4981
  default: loaderRadial,
4975
- vars: vars$d
4982
+ vars: vars$e
4976
4983
  });
4977
4984
 
4978
- const componentName$h = getComponentName('combo-box');
4985
+ const componentName$i = getComponentName('combo-box');
4979
4986
 
4980
4987
  const ComboBoxMixin = (superclass) =>
4981
4988
  class ComboBoxMixinClass extends superclass {
@@ -5197,15 +5204,15 @@ const ComboBoxMixin = (superclass) =>
5197
5204
  };
5198
5205
 
5199
5206
  const {
5200
- host: host$6,
5201
- inputField: inputField$2,
5202
- inputElement,
5203
- placeholder,
5204
- toggle,
5205
- label: label$4,
5206
- requiredIndicator: requiredIndicator$4,
5207
- helperText: helperText$3,
5208
- errorMessage: errorMessage$4,
5207
+ host: host$7,
5208
+ inputField: inputField$3,
5209
+ inputElement: inputElement$1,
5210
+ placeholder: placeholder$1,
5211
+ toggle: toggle$1,
5212
+ label: label$5,
5213
+ requiredIndicator: requiredIndicator$5,
5214
+ helperText: helperText$4,
5215
+ errorMessage: errorMessage$5,
5209
5216
  } = {
5210
5217
  host: { selector: () => ':host' },
5211
5218
  inputField: { selector: '::part(input-field)' },
@@ -5221,39 +5228,39 @@ const {
5221
5228
  const ComboBoxClass = compose(
5222
5229
  createStyleMixin({
5223
5230
  mappings: {
5224
- hostWidth: { ...host$6, property: 'width' },
5225
- hostDirection: { ...host$6, property: 'direction' },
5231
+ hostWidth: { ...host$7, property: 'width' },
5232
+ hostDirection: { ...host$7, property: 'direction' },
5226
5233
  // we apply font-size also on the host so we can set its width with em
5227
- fontSize: [{}, host$6],
5228
- fontFamily: [label$4, placeholder, inputField$2, helperText$3, errorMessage$4],
5234
+ fontSize: [{}, host$7],
5235
+ fontFamily: [label$5, placeholder$1, inputField$3, helperText$4, errorMessage$5],
5229
5236
  labelTextColor: [
5230
- { ...label$4, property: 'color' },
5231
- { ...requiredIndicator$4, property: 'color' },
5237
+ { ...label$5, property: 'color' },
5238
+ { ...requiredIndicator$5, property: 'color' },
5232
5239
  ],
5233
- errorMessageTextColor: { ...errorMessage$4, property: 'color' },
5234
- inputHeight: { ...inputField$2, property: 'height' },
5235
- inputBackgroundColor: { ...inputField$2, property: 'background-color' },
5236
- inputBorderColor: { ...inputField$2, property: 'border-color' },
5237
- inputBorderWidth: { ...inputField$2, property: 'border-width' },
5238
- inputBorderStyle: { ...inputField$2, property: 'border-style' },
5239
- inputBorderRadius: { ...inputField$2, property: 'border-radius' },
5240
- labelRequiredIndicator: { ...requiredIndicator$4, property: 'content' },
5241
- inputValueTextColor: { ...inputField$2, property: 'color' },
5242
- inputPlaceholderTextColor: { ...placeholder, property: 'color' },
5243
- inputDropdownButtonCursor: { ...toggle, property: 'cursor' },
5244
- inputDropdownButtonColor: { ...toggle, property: 'color' },
5245
- inputDropdownButtonSize: { ...toggle, property: 'font-size' },
5240
+ errorMessageTextColor: { ...errorMessage$5, property: 'color' },
5241
+ inputHeight: { ...inputField$3, property: 'height' },
5242
+ inputBackgroundColor: { ...inputField$3, property: 'background-color' },
5243
+ inputBorderColor: { ...inputField$3, property: 'border-color' },
5244
+ inputBorderWidth: { ...inputField$3, property: 'border-width' },
5245
+ inputBorderStyle: { ...inputField$3, property: 'border-style' },
5246
+ inputBorderRadius: { ...inputField$3, property: 'border-radius' },
5247
+ labelRequiredIndicator: { ...requiredIndicator$5, property: 'content' },
5248
+ inputValueTextColor: { ...inputField$3, property: 'color' },
5249
+ inputPlaceholderTextColor: { ...placeholder$1, property: 'color' },
5250
+ inputDropdownButtonCursor: { ...toggle$1, property: 'cursor' },
5251
+ inputDropdownButtonColor: { ...toggle$1, property: 'color' },
5252
+ inputDropdownButtonSize: { ...toggle$1, property: 'font-size' },
5246
5253
  inputDropdownButtonOffset: [
5247
- { ...toggle, property: 'margin-right' },
5248
- { ...toggle, property: 'margin-left' },
5254
+ { ...toggle$1, property: 'margin-right' },
5255
+ { ...toggle$1, property: 'margin-left' },
5249
5256
  ],
5250
- inputOutlineColor: { ...inputField$2, property: 'outline-color' },
5251
- inputOutlineWidth: { ...inputField$2, property: 'outline-width' },
5252
- inputOutlineStyle: { ...inputField$2, property: 'outline-style' },
5253
- inputOutlineOffset: { ...inputField$2, property: 'outline-offset' },
5257
+ inputOutlineColor: { ...inputField$3, property: 'outline-color' },
5258
+ inputOutlineWidth: { ...inputField$3, property: 'outline-width' },
5259
+ inputOutlineStyle: { ...inputField$3, property: 'outline-style' },
5260
+ inputOutlineOffset: { ...inputField$3, property: 'outline-offset' },
5254
5261
  inputHorizontalPadding: [
5255
- { ...inputElement, property: 'padding-left' },
5256
- { ...inputElement, property: 'padding-right' },
5262
+ { ...inputElement$1, property: 'padding-left' },
5263
+ { ...inputElement$1, property: 'padding-right' },
5257
5264
  ],
5258
5265
 
5259
5266
  // we need to use the variables from the portal mixin
@@ -5339,69 +5346,69 @@ const ComboBoxClass = compose(
5339
5346
  // and reset items to an empty array, and opening the list box with no items
5340
5347
  // to display.
5341
5348
  excludeAttrsSync: ['tabindex', 'size', 'data'],
5342
- componentName: componentName$h,
5349
+ componentName: componentName$i,
5343
5350
  includeForwardProps: ['items', 'renderer', 'selectedItem'],
5344
5351
  })
5345
5352
  );
5346
5353
 
5347
- const globalRefs$6 = getThemeRefs(globals);
5348
- const vars$c = ComboBoxClass.cssVarList;
5354
+ const globalRefs$7 = getThemeRefs(globals);
5355
+ const vars$d = ComboBoxClass.cssVarList;
5349
5356
 
5350
5357
  const comboBox = {
5351
- [vars$c.hostWidth]: refs.width,
5352
- [vars$c.hostDirection]: refs.direction,
5353
- [vars$c.fontSize]: refs.fontSize,
5354
- [vars$c.fontFamily]: refs.fontFamily,
5355
- [vars$c.labelTextColor]: refs.labelTextColor,
5356
- [vars$c.errorMessageTextColor]: refs.errorMessageTextColor,
5357
- [vars$c.inputBorderColor]: refs.borderColor,
5358
- [vars$c.inputBorderWidth]: refs.borderWidth,
5359
- [vars$c.inputBorderStyle]: refs.borderStyle,
5360
- [vars$c.inputBorderRadius]: refs.borderRadius,
5361
- [vars$c.inputOutlineColor]: refs.outlineColor,
5362
- [vars$c.inputOutlineOffset]: refs.outlineOffset,
5363
- [vars$c.inputOutlineWidth]: refs.outlineWidth,
5364
- [vars$c.inputOutlineStyle]: refs.outlineStyle,
5365
- [vars$c.labelRequiredIndicator]: refs.requiredIndicator,
5366
- [vars$c.inputValueTextColor]: refs.valueTextColor,
5367
- [vars$c.inputPlaceholderTextColor]: refs.placeholderTextColor,
5368
- [vars$c.inputBackgroundColor]: refs.backgroundColor,
5369
- [vars$c.inputHorizontalPadding]: refs.horizontalPadding,
5370
- [vars$c.inputHeight]: refs.inputHeight,
5371
- [vars$c.inputDropdownButtonColor]: globalRefs$6.colors.surface.contrast,
5372
- [vars$c.inputDropdownButtonCursor]: 'pointer',
5373
- [vars$c.inputDropdownButtonSize]: refs.toggleButtonSize,
5374
- [vars$c.inputDropdownButtonOffset]: globalRefs$6.spacing.xs,
5375
- [vars$c.overlayItemPaddingInlineStart]: globalRefs$6.spacing.xs,
5376
- [vars$c.overlayItemPaddingInlineEnd]: globalRefs$6.spacing.lg,
5358
+ [vars$d.hostWidth]: refs.width,
5359
+ [vars$d.hostDirection]: refs.direction,
5360
+ [vars$d.fontSize]: refs.fontSize,
5361
+ [vars$d.fontFamily]: refs.fontFamily,
5362
+ [vars$d.labelTextColor]: refs.labelTextColor,
5363
+ [vars$d.errorMessageTextColor]: refs.errorMessageTextColor,
5364
+ [vars$d.inputBorderColor]: refs.borderColor,
5365
+ [vars$d.inputBorderWidth]: refs.borderWidth,
5366
+ [vars$d.inputBorderStyle]: refs.borderStyle,
5367
+ [vars$d.inputBorderRadius]: refs.borderRadius,
5368
+ [vars$d.inputOutlineColor]: refs.outlineColor,
5369
+ [vars$d.inputOutlineOffset]: refs.outlineOffset,
5370
+ [vars$d.inputOutlineWidth]: refs.outlineWidth,
5371
+ [vars$d.inputOutlineStyle]: refs.outlineStyle,
5372
+ [vars$d.labelRequiredIndicator]: refs.requiredIndicator,
5373
+ [vars$d.inputValueTextColor]: refs.valueTextColor,
5374
+ [vars$d.inputPlaceholderTextColor]: refs.placeholderTextColor,
5375
+ [vars$d.inputBackgroundColor]: refs.backgroundColor,
5376
+ [vars$d.inputHorizontalPadding]: refs.horizontalPadding,
5377
+ [vars$d.inputHeight]: refs.inputHeight,
5378
+ [vars$d.inputDropdownButtonColor]: globalRefs$7.colors.surface.contrast,
5379
+ [vars$d.inputDropdownButtonCursor]: 'pointer',
5380
+ [vars$d.inputDropdownButtonSize]: refs.toggleButtonSize,
5381
+ [vars$d.inputDropdownButtonOffset]: globalRefs$7.spacing.xs,
5382
+ [vars$d.overlayItemPaddingInlineStart]: globalRefs$7.spacing.xs,
5383
+ [vars$d.overlayItemPaddingInlineEnd]: globalRefs$7.spacing.lg,
5377
5384
 
5378
5385
  _readonly: {
5379
- [vars$c.inputDropdownButtonCursor]: 'default',
5386
+ [vars$d.inputDropdownButtonCursor]: 'default',
5380
5387
  },
5381
5388
 
5382
5389
  // Overlay theme exposed via the component:
5383
- [vars$c.overlayFontSize]: refs.fontSize,
5384
- [vars$c.overlayFontFamily]: refs.fontFamily,
5385
- [vars$c.overlayCursor]: 'pointer',
5386
- [vars$c.overlayItemBoxShadow]: 'none',
5390
+ [vars$d.overlayFontSize]: refs.fontSize,
5391
+ [vars$d.overlayFontFamily]: refs.fontFamily,
5392
+ [vars$d.overlayCursor]: 'pointer',
5393
+ [vars$d.overlayItemBoxShadow]: 'none',
5387
5394
 
5388
5395
  // Overlay direct theme:
5389
- [vars$c.overlay.minHeight]: '400px',
5390
- [vars$c.overlay.margin]: '0',
5396
+ [vars$d.overlay.minHeight]: '400px',
5397
+ [vars$d.overlay.margin]: '0',
5391
5398
  };
5392
5399
 
5393
5400
  var comboBox$1 = /*#__PURE__*/Object.freeze({
5394
5401
  __proto__: null,
5395
5402
  comboBox: comboBox,
5396
5403
  default: comboBox,
5397
- vars: vars$c
5404
+ vars: vars$d
5398
5405
  });
5399
5406
 
5400
5407
  const observedAttributes$2 = ['src', 'alt'];
5401
5408
 
5402
- const componentName$g = getComponentName('image');
5409
+ const componentName$h = getComponentName('image');
5403
5410
 
5404
- const BaseClass$1 = createBaseClass({ componentName: componentName$g, baseSelector: ':host > img' });
5411
+ const BaseClass$1 = createBaseClass({ componentName: componentName$h, baseSelector: ':host > img' });
5405
5412
  class RawImage extends BaseClass$1 {
5406
5413
  static get observedAttributes() {
5407
5414
  return observedAttributes$2.concat(BaseClass$1.observedAttributes || []);
@@ -5441,14 +5448,14 @@ const ImageClass = compose(
5441
5448
  draggableMixin
5442
5449
  )(RawImage);
5443
5450
 
5444
- const vars$b = ImageClass.cssVarList;
5451
+ const vars$c = ImageClass.cssVarList;
5445
5452
 
5446
5453
  const image = {};
5447
5454
 
5448
5455
  var image$1 = /*#__PURE__*/Object.freeze({
5449
5456
  __proto__: null,
5450
5457
  default: image,
5451
- vars: vars$b
5458
+ vars: vars$c
5452
5459
  });
5453
5460
 
5454
5461
  var CountryCodes = [
@@ -6664,14 +6671,14 @@ var CountryCodes = [
6664
6671
  },
6665
6672
  ].sort((a, b) => (a.name < b.name ? -1 : 1));
6666
6673
 
6667
- const componentName$f = getComponentName('phone-field-internal');
6674
+ const componentName$g = getComponentName('phone-field-internal');
6668
6675
 
6669
- createBaseInputClass({ componentName: componentName$f, baseSelector: 'div' });
6676
+ createBaseInputClass({ componentName: componentName$g, baseSelector: 'div' });
6670
6677
 
6671
6678
  const textVars$1 = TextFieldClass.cssVarList;
6672
6679
  const comboVars = ComboBoxClass.cssVarList;
6673
6680
 
6674
- const componentName$e = getComponentName('phone-field');
6681
+ const componentName$f = getComponentName('phone-field');
6675
6682
 
6676
6683
  const customMixin$4 = (superclass) =>
6677
6684
  class PhoneFieldMixinClass extends superclass {
@@ -6685,15 +6692,15 @@ const customMixin$4 = (superclass) =>
6685
6692
  const template = document.createElement('template');
6686
6693
 
6687
6694
  template.innerHTML = `
6688
- <${componentName$f}
6695
+ <${componentName$g}
6689
6696
  tabindex="-1"
6690
6697
  slot="input"
6691
- ></${componentName$f}>
6698
+ ></${componentName$g}>
6692
6699
  `;
6693
6700
 
6694
6701
  this.baseElement.appendChild(template.content.cloneNode(true));
6695
6702
 
6696
- this.inputElement = this.shadowRoot.querySelector(componentName$f);
6703
+ this.inputElement = this.shadowRoot.querySelector(componentName$g);
6697
6704
 
6698
6705
  forwardAttrs(this.shadowRoot.host, this.inputElement, {
6699
6706
  includeAttrs: [
@@ -6713,15 +6720,15 @@ const customMixin$4 = (superclass) =>
6713
6720
  };
6714
6721
 
6715
6722
  const {
6716
- host: host$5,
6717
- label: label$3,
6718
- requiredIndicator: requiredIndicator$3,
6719
- inputField: inputField$1,
6723
+ host: host$6,
6724
+ label: label$4,
6725
+ requiredIndicator: requiredIndicator$4,
6726
+ inputField: inputField$2,
6720
6727
  countryCodeInput,
6721
6728
  phoneInput: phoneInput$1,
6722
6729
  separator,
6723
- errorMessage: errorMessage$3,
6724
- helperText: helperText$2,
6730
+ errorMessage: errorMessage$4,
6731
+ helperText: helperText$3,
6725
6732
  } = {
6726
6733
  host: { selector: () => ':host' },
6727
6734
  label: { selector: '::part(label)' },
@@ -6738,8 +6745,8 @@ const PhoneFieldClass = compose(
6738
6745
  createStyleMixin({
6739
6746
  mappings: {
6740
6747
  fontSize: [
6741
- host$5,
6742
- inputField$1,
6748
+ host$6,
6749
+ inputField$2,
6743
6750
  {
6744
6751
  selector: TextFieldClass.componentName,
6745
6752
  property: TextFieldClass.cssVarList.fontSize,
@@ -6750,34 +6757,34 @@ const PhoneFieldClass = compose(
6750
6757
  },
6751
6758
  ],
6752
6759
  fontFamily: [
6753
- label$3,
6754
- errorMessage$3,
6755
- helperText$2,
6760
+ label$4,
6761
+ errorMessage$4,
6762
+ helperText$3,
6756
6763
  {
6757
6764
  ...countryCodeInput,
6758
6765
  property: ComboBoxClass.cssVarList.overlay.fontFamily,
6759
6766
  },
6760
6767
  ],
6761
6768
  hostWidth: [
6762
- { ...host$5, property: 'width' },
6769
+ { ...host$6, property: 'width' },
6763
6770
  { ...phoneInput$1, property: 'width' },
6764
6771
  { ...countryCodeInput, property: '--vaadin-combo-box-overlay-width' },
6765
6772
  ],
6766
- hostDirection: { ...host$5, property: 'direction' },
6773
+ hostDirection: { ...host$6, property: 'direction' },
6767
6774
 
6768
6775
  inputBorderStyle: [
6769
- { ...inputField$1, property: 'border-style' },
6776
+ { ...inputField$2, property: 'border-style' },
6770
6777
  { ...separator, property: 'border-left-style' },
6771
6778
  ],
6772
6779
  inputBorderWidth: [
6773
- { ...inputField$1, property: 'border-width' },
6780
+ { ...inputField$2, property: 'border-width' },
6774
6781
  { ...separator, property: 'border-left-width' },
6775
6782
  ],
6776
6783
  inputBorderColor: [
6777
- { ...inputField$1, property: 'border-color' },
6784
+ { ...inputField$2, property: 'border-color' },
6778
6785
  { ...separator, property: 'border-left-color' },
6779
6786
  ],
6780
- inputBorderRadius: { ...inputField$1, property: 'border-radius' },
6787
+ inputBorderRadius: { ...inputField$2, property: 'border-radius' },
6781
6788
 
6782
6789
  countryCodeInputWidth: { ...countryCodeInput, property: comboVars.hostWidth },
6783
6790
  countryCodeDropdownWidth: {
@@ -6787,11 +6794,11 @@ const PhoneFieldClass = compose(
6787
6794
  phoneInputWidth: { ...phoneInput$1, property: 'width' },
6788
6795
 
6789
6796
  labelTextColor: [
6790
- { ...label$3, property: 'color' },
6791
- { ...requiredIndicator$3, property: 'color' },
6797
+ { ...label$4, property: 'color' },
6798
+ { ...requiredIndicator$4, property: 'color' },
6792
6799
  ],
6793
- labelRequiredIndicator: { ...requiredIndicator$3, property: 'content' },
6794
- errorMessageTextColor: { ...errorMessage$3, property: 'color' },
6800
+ labelRequiredIndicator: { ...requiredIndicator$4, property: 'content' },
6801
+ errorMessageTextColor: { ...errorMessage$4, property: 'color' },
6795
6802
 
6796
6803
  inputValueTextColor: [
6797
6804
  { ...phoneInput$1, property: textVars$1.inputValueTextColor },
@@ -6805,10 +6812,10 @@ const PhoneFieldClass = compose(
6805
6812
  property: comboVars.overlayItemBackgroundColor,
6806
6813
  },
6807
6814
 
6808
- inputOutlineStyle: { ...inputField$1, property: 'outline-style' },
6809
- inputOutlineColor: { ...inputField$1, property: 'outline-color' },
6810
- inputOutlineWidth: { ...inputField$1, property: 'outline-width' },
6811
- inputOutlineOffset: { ...inputField$1, property: 'outline-offset' },
6815
+ inputOutlineStyle: { ...inputField$2, property: 'outline-style' },
6816
+ inputOutlineColor: { ...inputField$2, property: 'outline-color' },
6817
+ inputOutlineWidth: { ...inputField$2, property: 'outline-width' },
6818
+ inputOutlineOffset: { ...inputField$2, property: 'outline-offset' },
6812
6819
  },
6813
6820
  }),
6814
6821
  draggableMixin,
@@ -6889,33 +6896,33 @@ const PhoneFieldClass = compose(
6889
6896
  ${resetInputLabelPosition('vaadin-text-field')}
6890
6897
  `,
6891
6898
  excludeAttrsSync: ['tabindex'],
6892
- componentName: componentName$e,
6899
+ componentName: componentName$f,
6893
6900
  })
6894
6901
  );
6895
6902
 
6896
- const vars$a = PhoneFieldClass.cssVarList;
6903
+ const vars$b = PhoneFieldClass.cssVarList;
6897
6904
 
6898
6905
  const phoneField = {
6899
- [vars$a.hostWidth]: refs.width,
6900
- [vars$a.hostDirection]: refs.direction,
6901
- [vars$a.fontSize]: refs.fontSize,
6902
- [vars$a.fontFamily]: refs.fontFamily,
6903
- [vars$a.labelTextColor]: refs.labelTextColor,
6904
- [vars$a.labelRequiredIndicator]: refs.requiredIndicator,
6905
- [vars$a.errorMessageTextColor]: refs.errorMessageTextColor,
6906
- [vars$a.inputValueTextColor]: refs.valueTextColor,
6907
- [vars$a.inputPlaceholderTextColor]: refs.placeholderTextColor,
6908
- [vars$a.inputBorderStyle]: refs.borderStyle,
6909
- [vars$a.inputBorderWidth]: refs.borderWidth,
6910
- [vars$a.inputBorderColor]: refs.borderColor,
6911
- [vars$a.inputBorderRadius]: refs.borderRadius,
6912
- [vars$a.inputOutlineStyle]: refs.outlineStyle,
6913
- [vars$a.inputOutlineWidth]: refs.outlineWidth,
6914
- [vars$a.inputOutlineColor]: refs.outlineColor,
6915
- [vars$a.inputOutlineOffset]: refs.outlineOffset,
6916
- [vars$a.phoneInputWidth]: refs.minWidth,
6917
- [vars$a.countryCodeInputWidth]: '5em',
6918
- [vars$a.countryCodeDropdownWidth]: '20em',
6906
+ [vars$b.hostWidth]: refs.width,
6907
+ [vars$b.hostDirection]: refs.direction,
6908
+ [vars$b.fontSize]: refs.fontSize,
6909
+ [vars$b.fontFamily]: refs.fontFamily,
6910
+ [vars$b.labelTextColor]: refs.labelTextColor,
6911
+ [vars$b.labelRequiredIndicator]: refs.requiredIndicator,
6912
+ [vars$b.errorMessageTextColor]: refs.errorMessageTextColor,
6913
+ [vars$b.inputValueTextColor]: refs.valueTextColor,
6914
+ [vars$b.inputPlaceholderTextColor]: refs.placeholderTextColor,
6915
+ [vars$b.inputBorderStyle]: refs.borderStyle,
6916
+ [vars$b.inputBorderWidth]: refs.borderWidth,
6917
+ [vars$b.inputBorderColor]: refs.borderColor,
6918
+ [vars$b.inputBorderRadius]: refs.borderRadius,
6919
+ [vars$b.inputOutlineStyle]: refs.outlineStyle,
6920
+ [vars$b.inputOutlineWidth]: refs.outlineWidth,
6921
+ [vars$b.inputOutlineColor]: refs.outlineColor,
6922
+ [vars$b.inputOutlineOffset]: refs.outlineOffset,
6923
+ [vars$b.phoneInputWidth]: refs.minWidth,
6924
+ [vars$b.countryCodeInputWidth]: '5em',
6925
+ [vars$b.countryCodeDropdownWidth]: '20em',
6919
6926
 
6920
6927
  // '@overlay': {
6921
6928
  // overlayItemBackgroundColor: 'red'
@@ -6925,16 +6932,16 @@ const phoneField = {
6925
6932
  var phoneField$1 = /*#__PURE__*/Object.freeze({
6926
6933
  __proto__: null,
6927
6934
  default: phoneField,
6928
- vars: vars$a
6935
+ vars: vars$b
6929
6936
  });
6930
6937
 
6931
- const componentName$d = getComponentName('phone-field-internal-input-box');
6938
+ const componentName$e = getComponentName('phone-field-internal-input-box');
6932
6939
 
6933
- createBaseInputClass({ componentName: componentName$d, baseSelector: 'div' });
6940
+ createBaseInputClass({ componentName: componentName$e, baseSelector: 'div' });
6934
6941
 
6935
6942
  const textVars = TextFieldClass.cssVarList;
6936
6943
 
6937
- const componentName$c = getComponentName('phone-input-box-field');
6944
+ const componentName$d = getComponentName('phone-input-box-field');
6938
6945
 
6939
6946
  const customMixin$3 = (superclass) =>
6940
6947
  class PhoneInputBoxFieldMixinClass extends superclass {
@@ -6948,15 +6955,15 @@ const customMixin$3 = (superclass) =>
6948
6955
  const template = document.createElement('template');
6949
6956
 
6950
6957
  template.innerHTML = `
6951
- <${componentName$d}
6958
+ <${componentName$e}
6952
6959
  tabindex="-1"
6953
6960
  slot="input"
6954
- ></${componentName$d}>
6961
+ ></${componentName$e}>
6955
6962
  `;
6956
6963
 
6957
6964
  this.baseElement.appendChild(template.content.cloneNode(true));
6958
6965
 
6959
- this.inputElement = this.shadowRoot.querySelector(componentName$d);
6966
+ this.inputElement = this.shadowRoot.querySelector(componentName$e);
6960
6967
 
6961
6968
  forwardAttrs(this.shadowRoot.host, this.inputElement, {
6962
6969
  includeAttrs: [
@@ -6973,7 +6980,7 @@ const customMixin$3 = (superclass) =>
6973
6980
  }
6974
6981
  };
6975
6982
 
6976
- const { host: host$4, label: label$2, requiredIndicator: requiredIndicator$2, inputField, phoneInput, errorMessage: errorMessage$2, helperText: helperText$1 } = {
6983
+ const { host: host$5, label: label$3, requiredIndicator: requiredIndicator$3, inputField: inputField$1, phoneInput, errorMessage: errorMessage$3, helperText: helperText$2 } = {
6977
6984
  host: { selector: () => ':host' },
6978
6985
  label: { selector: '::part(label)' },
6979
6986
  requiredIndicator: { selector: '[required]::part(required-indicator)::after' },
@@ -6987,38 +6994,38 @@ const PhoneFieldInputBoxClass = compose(
6987
6994
  createStyleMixin({
6988
6995
  mappings: {
6989
6996
  fontSize: [
6990
- host$4,
6991
- inputField,
6997
+ host$5,
6998
+ inputField$1,
6992
6999
  {
6993
7000
  selector: TextFieldClass.componentName,
6994
7001
  property: TextFieldClass.cssVarList.fontSize,
6995
7002
  },
6996
7003
  ],
6997
- fontFamily: [label$2, errorMessage$2, helperText$1],
6998
- hostWidth: { ...host$4, property: 'width' },
6999
- hostMinWidth: { ...host$4, property: 'min-width' },
7000
- hostDirection: { ...host$4, property: 'direction' },
7004
+ fontFamily: [label$3, errorMessage$3, helperText$2],
7005
+ hostWidth: { ...host$5, property: 'width' },
7006
+ hostMinWidth: { ...host$5, property: 'min-width' },
7007
+ hostDirection: { ...host$5, property: 'direction' },
7001
7008
 
7002
- inputBorderStyle: { ...inputField, property: 'border-style' },
7003
- inputBorderWidth: { ...inputField, property: 'border-width' },
7004
- inputBorderColor: { ...inputField, property: 'border-color' },
7005
- inputBorderRadius: { ...inputField, property: 'border-radius' },
7009
+ inputBorderStyle: { ...inputField$1, property: 'border-style' },
7010
+ inputBorderWidth: { ...inputField$1, property: 'border-width' },
7011
+ inputBorderColor: { ...inputField$1, property: 'border-color' },
7012
+ inputBorderRadius: { ...inputField$1, property: 'border-radius' },
7006
7013
 
7007
7014
  labelTextColor: [
7008
- { ...label$2, property: 'color' },
7009
- { ...requiredIndicator$2, property: 'color' },
7015
+ { ...label$3, property: 'color' },
7016
+ { ...requiredIndicator$3, property: 'color' },
7010
7017
  ],
7011
- labelRequiredIndicator: { ...requiredIndicator$2, property: 'content' },
7012
- errorMessageTextColor: { ...errorMessage$2, property: 'color' },
7018
+ labelRequiredIndicator: { ...requiredIndicator$3, property: 'content' },
7019
+ errorMessageTextColor: { ...errorMessage$3, property: 'color' },
7013
7020
 
7014
7021
  inputValueTextColor: { ...phoneInput, property: textVars.inputValueTextColor },
7015
7022
 
7016
7023
  inputPlaceholderTextColor: { ...phoneInput, property: textVars.inputPlaceholderColor },
7017
7024
 
7018
- inputOutlineStyle: { ...inputField, property: 'outline-style' },
7019
- inputOutlineColor: { ...inputField, property: 'outline-color' },
7020
- inputOutlineWidth: { ...inputField, property: 'outline-width' },
7021
- inputOutlineOffset: { ...inputField, property: 'outline-offset' },
7025
+ inputOutlineStyle: { ...inputField$1, property: 'outline-style' },
7026
+ inputOutlineColor: { ...inputField$1, property: 'outline-color' },
7027
+ inputOutlineWidth: { ...inputField$1, property: 'outline-width' },
7028
+ inputOutlineOffset: { ...inputField$1, property: 'outline-offset' },
7022
7029
  },
7023
7030
  }),
7024
7031
  draggableMixin,
@@ -7089,45 +7096,45 @@ const PhoneFieldInputBoxClass = compose(
7089
7096
  ${resetInputLabelPosition('vaadin-text-field')}
7090
7097
  `,
7091
7098
  excludeAttrsSync: ['tabindex'],
7092
- componentName: componentName$c,
7099
+ componentName: componentName$d,
7093
7100
  })
7094
7101
  );
7095
7102
 
7096
- const vars$9 = PhoneFieldInputBoxClass.cssVarList;
7103
+ const vars$a = PhoneFieldInputBoxClass.cssVarList;
7097
7104
 
7098
7105
  const phoneInputBoxField = {
7099
- [vars$9.hostWidth]: '16em',
7100
- [vars$9.hostMinWidth]: refs.minWidth,
7101
- [vars$9.hostDirection]: refs.direction,
7102
- [vars$9.fontSize]: refs.fontSize,
7103
- [vars$9.fontFamily]: refs.fontFamily,
7104
- [vars$9.labelTextColor]: refs.labelTextColor,
7105
- [vars$9.labelRequiredIndicator]: refs.requiredIndicator,
7106
- [vars$9.errorMessageTextColor]: refs.errorMessageTextColor,
7107
- [vars$9.inputValueTextColor]: refs.valueTextColor,
7108
- [vars$9.inputPlaceholderTextColor]: refs.placeholderTextColor,
7109
- [vars$9.inputBorderStyle]: refs.borderStyle,
7110
- [vars$9.inputBorderWidth]: refs.borderWidth,
7111
- [vars$9.inputBorderColor]: refs.borderColor,
7112
- [vars$9.inputBorderRadius]: refs.borderRadius,
7113
- [vars$9.inputOutlineStyle]: refs.outlineStyle,
7114
- [vars$9.inputOutlineWidth]: refs.outlineWidth,
7115
- [vars$9.inputOutlineColor]: refs.outlineColor,
7116
- [vars$9.inputOutlineOffset]: refs.outlineOffset,
7106
+ [vars$a.hostWidth]: '16em',
7107
+ [vars$a.hostMinWidth]: refs.minWidth,
7108
+ [vars$a.hostDirection]: refs.direction,
7109
+ [vars$a.fontSize]: refs.fontSize,
7110
+ [vars$a.fontFamily]: refs.fontFamily,
7111
+ [vars$a.labelTextColor]: refs.labelTextColor,
7112
+ [vars$a.labelRequiredIndicator]: refs.requiredIndicator,
7113
+ [vars$a.errorMessageTextColor]: refs.errorMessageTextColor,
7114
+ [vars$a.inputValueTextColor]: refs.valueTextColor,
7115
+ [vars$a.inputPlaceholderTextColor]: refs.placeholderTextColor,
7116
+ [vars$a.inputBorderStyle]: refs.borderStyle,
7117
+ [vars$a.inputBorderWidth]: refs.borderWidth,
7118
+ [vars$a.inputBorderColor]: refs.borderColor,
7119
+ [vars$a.inputBorderRadius]: refs.borderRadius,
7120
+ [vars$a.inputOutlineStyle]: refs.outlineStyle,
7121
+ [vars$a.inputOutlineWidth]: refs.outlineWidth,
7122
+ [vars$a.inputOutlineColor]: refs.outlineColor,
7123
+ [vars$a.inputOutlineOffset]: refs.outlineOffset,
7117
7124
  _fullWidth: {
7118
- [vars$9.hostWidth]: refs.width,
7125
+ [vars$a.hostWidth]: refs.width,
7119
7126
  },
7120
7127
  };
7121
7128
 
7122
7129
  var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
7123
7130
  __proto__: null,
7124
7131
  default: phoneInputBoxField,
7125
- vars: vars$9
7132
+ vars: vars$a
7126
7133
  });
7127
7134
 
7128
- const componentName$b = getComponentName('new-password-internal');
7135
+ const componentName$c = getComponentName('new-password-internal');
7129
7136
 
7130
- const componentName$a = getComponentName('new-password');
7137
+ const componentName$b = getComponentName('new-password');
7131
7138
 
7132
7139
  const customMixin$2 = (superclass) =>
7133
7140
  class NewPasswordMixinClass extends superclass {
@@ -7137,16 +7144,16 @@ const customMixin$2 = (superclass) =>
7137
7144
  const template = document.createElement('template');
7138
7145
 
7139
7146
  template.innerHTML = `
7140
- <${componentName$b}
7147
+ <${componentName$c}
7141
7148
  name="new-password"
7142
7149
  tabindex="-1"
7143
7150
  slot="input"
7144
- ></${componentName$b}>
7151
+ ></${componentName$c}>
7145
7152
  `;
7146
7153
 
7147
7154
  this.baseElement.appendChild(template.content.cloneNode(true));
7148
7155
 
7149
- this.inputElement = this.shadowRoot.querySelector(componentName$b);
7156
+ this.inputElement = this.shadowRoot.querySelector(componentName$c);
7150
7157
 
7151
7158
  forwardAttrs(this, this.inputElement, {
7152
7159
  includeAttrs: [
@@ -7167,7 +7174,7 @@ const customMixin$2 = (superclass) =>
7167
7174
  }
7168
7175
  };
7169
7176
 
7170
- const { host: host$3, label: label$1, internalInputsWrapper, errorMessage: errorMessage$1, helperText, passwordInput } = {
7177
+ const { host: host$4, label: label$2, internalInputsWrapper, errorMessage: errorMessage$2, helperText: helperText$1, passwordInput } = {
7171
7178
  host: { selector: () => ':host' },
7172
7179
  label: { selector: '::part(label)' },
7173
7180
  internalInputsWrapper: { selector: 'descope-new-password-internal .wrapper' },
@@ -7180,22 +7187,22 @@ const NewPasswordClass = compose(
7180
7187
  createStyleMixin({
7181
7188
  mappings: {
7182
7189
  fontSize: [
7183
- host$3,
7190
+ host$4,
7184
7191
  {},
7185
7192
  {
7186
7193
  selector: PasswordClass.componentName,
7187
7194
  property: PasswordClass.cssVarList.fontSize,
7188
7195
  },
7189
7196
  ],
7190
- fontFamily: [label$1, errorMessage$1, helperText],
7191
- errorMessageTextColor: { ...errorMessage$1, property: 'color' },
7192
- hostWidth: { ...host$3, property: 'width' },
7193
- hostMinWidth: { ...host$3, property: 'min-width' },
7197
+ fontFamily: [label$2, errorMessage$2, helperText$1],
7198
+ errorMessageTextColor: { ...errorMessage$2, property: 'color' },
7199
+ hostWidth: { ...host$4, property: 'width' },
7200
+ hostMinWidth: { ...host$4, property: 'min-width' },
7194
7201
  hostDirection: [
7195
- { ...host$3, property: 'direction' },
7202
+ { ...host$4, property: 'direction' },
7196
7203
  { ...passwordInput, property: PasswordClass.cssVarList.hostDirection },
7197
7204
  ],
7198
- inputsRequiredIndicator: { ...host$3, property: 'content' },
7205
+ inputsRequiredIndicator: { ...host$4, property: 'content' },
7199
7206
  spaceBetweenInputs: { ...internalInputsWrapper, property: 'gap' },
7200
7207
  },
7201
7208
  }),
@@ -7253,33 +7260,33 @@ const NewPasswordClass = compose(
7253
7260
  }
7254
7261
  `,
7255
7262
  excludeAttrsSync: ['tabindex'],
7256
- componentName: componentName$a,
7263
+ componentName: componentName$b,
7257
7264
  })
7258
7265
  );
7259
7266
 
7260
- const vars$8 = NewPasswordClass.cssVarList;
7267
+ const vars$9 = NewPasswordClass.cssVarList;
7261
7268
 
7262
7269
  const newPassword = {
7263
- [vars$8.hostWidth]: refs.width,
7264
- [vars$8.hostMinWidth]: refs.minWidth,
7265
- [vars$8.hostDirection]: refs.direction,
7266
- [vars$8.fontSize]: refs.fontSize,
7267
- [vars$8.fontFamily]: refs.fontFamily,
7268
- [vars$8.spaceBetweenInputs]: '1em',
7269
- [vars$8.errorMessageTextColor]: refs.errorMessageTextColor,
7270
+ [vars$9.hostWidth]: refs.width,
7271
+ [vars$9.hostMinWidth]: refs.minWidth,
7272
+ [vars$9.hostDirection]: refs.direction,
7273
+ [vars$9.fontSize]: refs.fontSize,
7274
+ [vars$9.fontFamily]: refs.fontFamily,
7275
+ [vars$9.spaceBetweenInputs]: '1em',
7276
+ [vars$9.errorMessageTextColor]: refs.errorMessageTextColor,
7270
7277
 
7271
7278
  _required: {
7272
7279
  // NewPassword doesn't pass `required` attribute to its Password components.
7273
7280
  // That's why we fake the required indicator on each input.
7274
7281
  // We do that by injecting `::after` element, and populating it with requiredIndicator content.
7275
- [vars$8.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
7282
+ [vars$9.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
7276
7283
  },
7277
7284
  };
7278
7285
 
7279
7286
  var newPassword$1 = /*#__PURE__*/Object.freeze({
7280
7287
  __proto__: null,
7281
7288
  default: newPassword,
7282
- vars: vars$8
7289
+ vars: vars$9
7283
7290
  });
7284
7291
 
7285
7292
  const getFileBase64 = (fileObj) => {
@@ -7294,7 +7301,7 @@ const getFilename = (fileObj) => {
7294
7301
  return fileObj.name.replace(/^.*\\/, '');
7295
7302
  };
7296
7303
 
7297
- const componentName$9 = getComponentName('upload-file');
7304
+ const componentName$a = getComponentName('upload-file');
7298
7305
 
7299
7306
  const observedAttributes$1 = [
7300
7307
  'title',
@@ -7309,7 +7316,7 @@ const observedAttributes$1 = [
7309
7316
  'icon',
7310
7317
  ];
7311
7318
 
7312
- const BaseInputClass = createBaseInputClass({ componentName: componentName$9, baseSelector: ':host > div' });
7319
+ const BaseInputClass = createBaseInputClass({ componentName: componentName$a, baseSelector: ':host > div' });
7313
7320
 
7314
7321
  class RawUploadFile extends BaseInputClass {
7315
7322
  static get observedAttributes() {
@@ -7481,7 +7488,7 @@ class RawUploadFile extends BaseInputClass {
7481
7488
  }
7482
7489
 
7483
7490
  const buttonVars = ButtonClass.cssVarList;
7484
- const { host: host$2, wrapper, icon, title, description, requiredIndicator: requiredIndicator$1 } = {
7491
+ const { host: host$3, wrapper, icon, title, description, requiredIndicator: requiredIndicator$2 } = {
7485
7492
  host: { selector: () => ':host' },
7486
7493
  wrapper: { selector: () => ':host > div' },
7487
7494
  icon: { selector: () => '::slotted(*)' },
@@ -7500,11 +7507,11 @@ const UploadFileClass = compose(
7500
7507
  borderWidth: {},
7501
7508
  borderStyle: {},
7502
7509
  borderRadius: {},
7503
- hostHeight: { ...host$2, property: 'height' },
7504
- hostWidth: { ...host$2, property: 'width' },
7510
+ hostHeight: { ...host$3, property: 'height' },
7511
+ hostWidth: { ...host$3, property: 'width' },
7505
7512
  hostPadding: { property: 'padding' },
7506
7513
  hostDirection: [
7507
- { ...host$2, property: 'direction' },
7514
+ { ...host$3, property: 'direction' },
7508
7515
  { selector: () => ButtonClass.componentName, property: buttonVars.hostDirection },
7509
7516
  ],
7510
7517
  gap: { ...wrapper },
@@ -7517,84 +7524,84 @@ const UploadFileClass = compose(
7517
7524
  { ...description, property: 'color' },
7518
7525
  ],
7519
7526
  iconSize: { ...icon, property: 'width' },
7520
- requiredIndicator: { ...requiredIndicator$1, property: 'content' },
7527
+ requiredIndicator: { ...requiredIndicator$2, property: 'content' },
7521
7528
  },
7522
7529
  }),
7523
7530
  draggableMixin,
7524
7531
  componentNameValidationMixin
7525
7532
  )(RawUploadFile);
7526
7533
 
7527
- const vars$7 = UploadFileClass.cssVarList;
7534
+ const vars$8 = UploadFileClass.cssVarList;
7528
7535
 
7529
7536
  const uploadFile = {
7530
- [vars$7.hostDirection]: refs.direction,
7531
- [vars$7.labelTextColor]: refs.labelTextColor,
7532
- [vars$7.fontFamily]: refs.fontFamily,
7537
+ [vars$8.hostDirection]: refs.direction,
7538
+ [vars$8.labelTextColor]: refs.labelTextColor,
7539
+ [vars$8.fontFamily]: refs.fontFamily,
7533
7540
 
7534
- [vars$7.iconSize]: '2em',
7541
+ [vars$8.iconSize]: '2em',
7535
7542
 
7536
- [vars$7.hostPadding]: '0.75em',
7537
- [vars$7.gap]: '0.5em',
7543
+ [vars$8.hostPadding]: '0.75em',
7544
+ [vars$8.gap]: '0.5em',
7538
7545
 
7539
- [vars$7.fontSize]: '16px',
7540
- [vars$7.titleFontWeight]: '500',
7541
- [vars$7.lineHeight]: '1em',
7546
+ [vars$8.fontSize]: '16px',
7547
+ [vars$8.titleFontWeight]: '500',
7548
+ [vars$8.lineHeight]: '1em',
7542
7549
 
7543
- [vars$7.borderWidth]: refs.borderWidth,
7544
- [vars$7.borderColor]: refs.borderColor,
7545
- [vars$7.borderRadius]: refs.borderRadius,
7546
- [vars$7.borderStyle]: 'dashed',
7550
+ [vars$8.borderWidth]: refs.borderWidth,
7551
+ [vars$8.borderColor]: refs.borderColor,
7552
+ [vars$8.borderRadius]: refs.borderRadius,
7553
+ [vars$8.borderStyle]: 'dashed',
7547
7554
 
7548
7555
  _required: {
7549
- [vars$7.requiredIndicator]: refs.requiredIndicator,
7556
+ [vars$8.requiredIndicator]: refs.requiredIndicator,
7550
7557
  },
7551
7558
 
7552
7559
  size: {
7553
7560
  xs: {
7554
- [vars$7.hostHeight]: '196px',
7555
- [vars$7.hostWidth]: '200px',
7556
- [vars$7.titleFontSize]: '0.875em',
7557
- [vars$7.descriptionFontSize]: '0.875em',
7558
- [vars$7.lineHeight]: '1.25em',
7561
+ [vars$8.hostHeight]: '196px',
7562
+ [vars$8.hostWidth]: '200px',
7563
+ [vars$8.titleFontSize]: '0.875em',
7564
+ [vars$8.descriptionFontSize]: '0.875em',
7565
+ [vars$8.lineHeight]: '1.25em',
7559
7566
  },
7560
7567
  sm: {
7561
- [vars$7.hostHeight]: '216px',
7562
- [vars$7.hostWidth]: '230px',
7563
- [vars$7.titleFontSize]: '1em',
7564
- [vars$7.descriptionFontSize]: '0.875em',
7565
- [vars$7.lineHeight]: '1.25em',
7568
+ [vars$8.hostHeight]: '216px',
7569
+ [vars$8.hostWidth]: '230px',
7570
+ [vars$8.titleFontSize]: '1em',
7571
+ [vars$8.descriptionFontSize]: '0.875em',
7572
+ [vars$8.lineHeight]: '1.25em',
7566
7573
  },
7567
7574
  md: {
7568
- [vars$7.hostHeight]: '256px',
7569
- [vars$7.hostWidth]: '312px',
7570
- [vars$7.titleFontSize]: '1.125em',
7571
- [vars$7.descriptionFontSize]: '1em',
7572
- [vars$7.lineHeight]: '1.5em',
7575
+ [vars$8.hostHeight]: '256px',
7576
+ [vars$8.hostWidth]: '312px',
7577
+ [vars$8.titleFontSize]: '1.125em',
7578
+ [vars$8.descriptionFontSize]: '1em',
7579
+ [vars$8.lineHeight]: '1.5em',
7573
7580
  },
7574
7581
  lg: {
7575
- [vars$7.hostHeight]: '280px',
7576
- [vars$7.hostWidth]: '336px',
7577
- [vars$7.titleFontSize]: '1.125em',
7578
- [vars$7.descriptionFontSize]: '1.125em',
7579
- [vars$7.lineHeight]: '1.75em',
7582
+ [vars$8.hostHeight]: '280px',
7583
+ [vars$8.hostWidth]: '336px',
7584
+ [vars$8.titleFontSize]: '1.125em',
7585
+ [vars$8.descriptionFontSize]: '1.125em',
7586
+ [vars$8.lineHeight]: '1.75em',
7580
7587
  },
7581
7588
  },
7582
7589
 
7583
7590
  _fullWidth: {
7584
- [vars$7.hostWidth]: refs.width,
7591
+ [vars$8.hostWidth]: refs.width,
7585
7592
  },
7586
7593
  };
7587
7594
 
7588
7595
  var uploadFile$1 = /*#__PURE__*/Object.freeze({
7589
7596
  __proto__: null,
7590
7597
  default: uploadFile,
7591
- vars: vars$7
7598
+ vars: vars$8
7592
7599
  });
7593
7600
 
7594
- const componentName$8 = getComponentName('button-selection-group-item');
7601
+ const componentName$9 = getComponentName('button-selection-group-item');
7595
7602
 
7596
7603
  class RawSelectItem extends createBaseClass({
7597
- componentName: componentName$8,
7604
+ componentName: componentName$9,
7598
7605
  baseSelector: ':host > descope-button',
7599
7606
  }) {
7600
7607
  get size() {
@@ -7692,39 +7699,39 @@ const ButtonSelectionGroupItemClass = compose(
7692
7699
  componentNameValidationMixin
7693
7700
  )(RawSelectItem);
7694
7701
 
7695
- const globalRefs$5 = getThemeRefs(globals);
7702
+ const globalRefs$6 = getThemeRefs(globals);
7696
7703
 
7697
- const vars$6 = ButtonSelectionGroupItemClass.cssVarList;
7704
+ const vars$7 = ButtonSelectionGroupItemClass.cssVarList;
7698
7705
 
7699
7706
  const buttonSelectionGroupItem = {
7700
- [vars$6.hostDirection]: 'inherit',
7701
- [vars$6.backgroundColor]: globalRefs$5.colors.surface.light,
7702
- [vars$6.labelTextColor]: globalRefs$5.colors.surface.contrast,
7703
- [vars$6.borderColor]: globalRefs$5.colors.surface.main,
7704
- [vars$6.borderStyle]: 'solid',
7705
- [vars$6.borderRadius]: globalRefs$5.radius.sm,
7707
+ [vars$7.hostDirection]: 'inherit',
7708
+ [vars$7.backgroundColor]: globalRefs$6.colors.surface.light,
7709
+ [vars$7.labelTextColor]: globalRefs$6.colors.surface.contrast,
7710
+ [vars$7.borderColor]: globalRefs$6.colors.surface.main,
7711
+ [vars$7.borderStyle]: 'solid',
7712
+ [vars$7.borderRadius]: globalRefs$6.radius.sm,
7706
7713
 
7707
7714
  _hover: {
7708
- [vars$6.backgroundColor]: '#f4f5f5', // can we take it from the palette?
7715
+ [vars$7.backgroundColor]: '#f4f5f5', // can we take it from the palette?
7709
7716
  },
7710
7717
 
7711
7718
  _selected: {
7712
- [vars$6.borderColor]: globalRefs$5.colors.surface.contrast,
7713
- [vars$6.backgroundColor]: globalRefs$5.colors.surface.contrast,
7714
- [vars$6.labelTextColor]: globalRefs$5.colors.surface.light,
7719
+ [vars$7.borderColor]: globalRefs$6.colors.surface.contrast,
7720
+ [vars$7.backgroundColor]: globalRefs$6.colors.surface.contrast,
7721
+ [vars$7.labelTextColor]: globalRefs$6.colors.surface.light,
7715
7722
  },
7716
7723
  };
7717
7724
 
7718
7725
  var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
7719
7726
  __proto__: null,
7720
7727
  default: buttonSelectionGroupItem,
7721
- vars: vars$6
7728
+ vars: vars$7
7722
7729
  });
7723
7730
 
7724
- const componentName$7 = getComponentName('button-selection-group-internal');
7731
+ const componentName$8 = getComponentName('button-selection-group-internal');
7725
7732
 
7726
7733
  class ButtonSelectionGroupInternalClass extends createBaseInputClass({
7727
- componentName: componentName$7,
7734
+ componentName: componentName$8,
7728
7735
  baseSelector: 'slot',
7729
7736
  }) {
7730
7737
  constructor() {
@@ -7861,7 +7868,7 @@ class ButtonSelectionGroupInternalClass extends createBaseInputClass({
7861
7868
  }
7862
7869
  }
7863
7870
 
7864
- const componentName$6 = getComponentName('button-selection-group');
7871
+ const componentName$7 = getComponentName('button-selection-group');
7865
7872
 
7866
7873
  const customMixin$1 = (superclass) =>
7867
7874
  class ButtonSelectionGroupMixinClass extends superclass {
@@ -7936,18 +7943,18 @@ const customMixin$1 = (superclass) =>
7936
7943
  const template = document.createElement('template');
7937
7944
 
7938
7945
  template.innerHTML = `
7939
- <${componentName$7}
7946
+ <${componentName$8}
7940
7947
  name="button-selection-group"
7941
7948
  slot="input"
7942
7949
  tabindex="-1"
7943
7950
  >
7944
7951
  <slot></slot>
7945
- </${componentName$7}>
7952
+ </${componentName$8}>
7946
7953
  `;
7947
7954
 
7948
7955
  this.baseElement.appendChild(template.content.cloneNode(true));
7949
7956
 
7950
- this.inputElement = this.shadowRoot.querySelector(componentName$7);
7957
+ this.inputElement = this.shadowRoot.querySelector(componentName$8);
7951
7958
 
7952
7959
  forwardAttrs(this, this.inputElement, {
7953
7960
  includeAttrs: ['size', 'default-value', 'allow-deselect'],
@@ -7966,7 +7973,7 @@ const customMixin$1 = (superclass) =>
7966
7973
  }
7967
7974
  };
7968
7975
 
7969
- const { host: host$1, label, requiredIndicator, internalWrapper, errorMessage } = {
7976
+ const { host: host$2, label: label$1, requiredIndicator: requiredIndicator$1, internalWrapper, errorMessage: errorMessage$1 } = {
7970
7977
  host: { selector: () => ':host' },
7971
7978
  label: { selector: '::part(label)' },
7972
7979
  requiredIndicator: { selector: '[required]::part(required-indicator)::after' },
@@ -7977,15 +7984,15 @@ const { host: host$1, label, requiredIndicator, internalWrapper, errorMessage }
7977
7984
  const ButtonSelectionGroupClass = compose(
7978
7985
  createStyleMixin({
7979
7986
  mappings: {
7980
- hostWidth: { ...host$1, property: 'width' },
7981
- hostDirection: { ...host$1, property: 'direction' },
7982
- fontFamily: host$1,
7987
+ hostWidth: { ...host$2, property: 'width' },
7988
+ hostDirection: { ...host$2, property: 'direction' },
7989
+ fontFamily: host$2,
7983
7990
  labelTextColor: [
7984
- { ...label, property: 'color' },
7985
- { ...requiredIndicator, property: 'color' },
7991
+ { ...label$1, property: 'color' },
7992
+ { ...requiredIndicator$1, property: 'color' },
7986
7993
  ],
7987
- labelRequiredIndicator: { ...requiredIndicator, property: 'content' },
7988
- errorMessageTextColor: { ...errorMessage, property: 'color' },
7994
+ labelRequiredIndicator: { ...requiredIndicator$1, property: 'content' },
7995
+ errorMessageTextColor: { ...errorMessage$1, property: 'color' },
7989
7996
  itemsSpacing: { ...internalWrapper, property: 'gap' },
7990
7997
  },
7991
7998
  }),
@@ -8052,30 +8059,30 @@ const ButtonSelectionGroupClass = compose(
8052
8059
  ${resetInputCursor('vaadin-text-field')}
8053
8060
  `,
8054
8061
  excludeAttrsSync: ['tabindex'],
8055
- componentName: componentName$6,
8062
+ componentName: componentName$7,
8056
8063
  })
8057
8064
  );
8058
8065
 
8059
- const globalRefs$4 = getThemeRefs(globals);
8060
- const vars$5 = ButtonSelectionGroupClass.cssVarList;
8066
+ const globalRefs$5 = getThemeRefs(globals);
8067
+ const vars$6 = ButtonSelectionGroupClass.cssVarList;
8061
8068
 
8062
8069
  const buttonSelectionGroup = {
8063
- [vars$5.hostDirection]: refs.direction,
8064
- [vars$5.fontFamily]: refs.fontFamily,
8065
- [vars$5.labelTextColor]: refs.labelTextColor,
8066
- [vars$5.labelRequiredIndicator]: refs.requiredIndicator,
8067
- [vars$5.errorMessageTextColor]: refs.errorMessageTextColor,
8068
- [vars$5.itemsSpacing]: globalRefs$4.spacing.sm,
8069
- [vars$5.hostWidth]: refs.width,
8070
+ [vars$6.hostDirection]: refs.direction,
8071
+ [vars$6.fontFamily]: refs.fontFamily,
8072
+ [vars$6.labelTextColor]: refs.labelTextColor,
8073
+ [vars$6.labelRequiredIndicator]: refs.requiredIndicator,
8074
+ [vars$6.errorMessageTextColor]: refs.errorMessageTextColor,
8075
+ [vars$6.itemsSpacing]: globalRefs$5.spacing.sm,
8076
+ [vars$6.hostWidth]: refs.width,
8070
8077
  };
8071
8078
 
8072
8079
  var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
8073
8080
  __proto__: null,
8074
8081
  default: buttonSelectionGroup,
8075
- vars: vars$5
8082
+ vars: vars$6
8076
8083
  });
8077
8084
 
8078
- const componentName$5 = getComponentName('modal');
8085
+ const componentName$6 = getComponentName('modal');
8079
8086
 
8080
8087
  const customMixin = (superclass) =>
8081
8088
  class ModalMixinClass extends superclass {
@@ -8174,28 +8181,28 @@ const ModalClass = compose(
8174
8181
  wrappedEleName: 'vaadin-dialog',
8175
8182
  style: () => ``,
8176
8183
  excludeAttrsSync: ['tabindex', 'opened'],
8177
- componentName: componentName$5,
8184
+ componentName: componentName$6,
8178
8185
  })
8179
8186
  );
8180
8187
 
8181
- const globalRefs$3 = getThemeRefs(globals);
8188
+ const globalRefs$4 = getThemeRefs(globals);
8182
8189
 
8183
8190
  const compVars = ModalClass.cssVarList;
8184
8191
 
8185
8192
  const modal = {
8186
- [compVars.overlayBackgroundColor]: globalRefs$3.colors.surface.light,
8193
+ [compVars.overlayBackgroundColor]: globalRefs$4.colors.surface.light,
8187
8194
  [compVars.overlayShadow]: 'none',
8188
8195
  [compVars.overlayWidth]: '700px',
8189
8196
  };
8190
8197
 
8191
- const vars$4 = {
8198
+ const vars$5 = {
8192
8199
  ...compVars,
8193
8200
  };
8194
8201
 
8195
8202
  var modal$1 = /*#__PURE__*/Object.freeze({
8196
8203
  __proto__: null,
8197
8204
  default: modal,
8198
- vars: vars$4
8205
+ vars: vars$5
8199
8206
  });
8200
8207
 
8201
8208
  const isValidDataType = (data) => {
@@ -8208,7 +8215,7 @@ const isValidDataType = (data) => {
8208
8215
  return isValid;
8209
8216
  };
8210
8217
 
8211
- const componentName$4 = getComponentName('grid');
8218
+ const componentName$5 = getComponentName('grid');
8212
8219
 
8213
8220
  const GridMixin = (superclass) =>
8214
8221
  class GridMixinClass extends superclass {
@@ -8368,7 +8375,7 @@ const GridMixin = (superclass) =>
8368
8375
  };
8369
8376
 
8370
8377
  const {
8371
- host,
8378
+ host: host$1,
8372
8379
  headerRow,
8373
8380
  headerRowCell,
8374
8381
  contentRow,
@@ -8403,15 +8410,15 @@ const GridClass = compose(
8403
8410
  fontWeight: { ...contentRow },
8404
8411
  valueTextColor: { ...contentRow, property: 'color' },
8405
8412
  backgroundColor: [
8406
- { ...host, property: 'background-color' },
8413
+ { ...host$1, property: 'background-color' },
8407
8414
  { ...contentRow, property: 'background-color' },
8408
8415
  ],
8409
8416
  sortIndicatorsColor: { ...sortIndicators, property: 'color' },
8410
8417
  activeSortIndicator: { ...activeSortIndicator, property: 'color' },
8411
- inputBorderColor: { ...host, property: 'border-color' },
8412
- inputBorderWidth: { ...host, property: 'border-width' },
8413
- inputBorderStyle: { ...host, property: 'border-style' },
8414
- inputBorderRadius: { ...host, property: 'border-radius' },
8418
+ inputBorderColor: { ...host$1, property: 'border-color' },
8419
+ inputBorderWidth: { ...host$1, property: 'border-width' },
8420
+ inputBorderStyle: { ...host$1, property: 'border-style' },
8421
+ inputBorderRadius: { ...host$1, property: 'border-radius' },
8415
8422
  selectedBackgroundColor: { ...selectedRow, property: 'background-color' },
8416
8423
  selectedTextColor: { ...selectedRow, property: 'color' },
8417
8424
  headerRowTextColor: { ...headerRowCell, property: 'color' },
@@ -8440,39 +8447,39 @@ const GridClass = compose(
8440
8447
  }
8441
8448
  `,
8442
8449
  excludeAttrsSync: ['columns', 'tabindex'],
8443
- componentName: componentName$4,
8450
+ componentName: componentName$5,
8444
8451
  })
8445
8452
  );
8446
8453
 
8447
- const globalRefs$2 = getThemeRefs(globals);
8448
- const vars$3 = GridClass.cssVarList;
8454
+ const globalRefs$3 = getThemeRefs(globals);
8455
+ const vars$4 = GridClass.cssVarList;
8449
8456
 
8450
8457
  const grid = {
8451
- [vars$3.hostWidth]: '100%',
8452
- [vars$3.hostHeight]: '100%',
8453
- [vars$3.hostMinHeight]: '400px',
8454
- [vars$3.backgroundColor]: globalRefs$2.colors.surface.light,
8458
+ [vars$4.hostWidth]: '100%',
8459
+ [vars$4.hostHeight]: '100%',
8460
+ [vars$4.hostMinHeight]: '400px',
8461
+ [vars$4.backgroundColor]: globalRefs$3.colors.surface.light,
8455
8462
 
8456
- [vars$3.fontSize]: refs.fontSize,
8457
- [vars$3.fontFamily]: refs.fontFamily,
8463
+ [vars$4.fontSize]: refs.fontSize,
8464
+ [vars$4.fontFamily]: refs.fontFamily,
8458
8465
 
8459
- [vars$3.sortIndicatorsColor]: globalRefs$2.colors.surface.main,
8460
- [vars$3.activeSortIndicator]: globalRefs$2.colors.surface.dark,
8461
- [vars$3.resizeHandleColor]: globalRefs$2.colors.surface.main,
8466
+ [vars$4.sortIndicatorsColor]: globalRefs$3.colors.surface.main,
8467
+ [vars$4.activeSortIndicator]: globalRefs$3.colors.surface.dark,
8468
+ [vars$4.resizeHandleColor]: globalRefs$3.colors.surface.main,
8462
8469
 
8463
- [vars$3.inputBorderWidth]: refs.borderWidth,
8464
- [vars$3.inputBorderStyle]: refs.borderStyle,
8465
- [vars$3.inputBorderRadius]: refs.borderRadius,
8466
- [vars$3.inputBorderColor]: 'transparent',
8470
+ [vars$4.inputBorderWidth]: refs.borderWidth,
8471
+ [vars$4.inputBorderStyle]: refs.borderStyle,
8472
+ [vars$4.inputBorderRadius]: refs.borderRadius,
8473
+ [vars$4.inputBorderColor]: 'transparent',
8467
8474
 
8468
- [vars$3.headerRowTextColor]: globalRefs$2.colors.surface.dark,
8469
- [vars$3.separatorColor]: globalRefs$2.colors.surface.main,
8475
+ [vars$4.headerRowTextColor]: globalRefs$3.colors.surface.dark,
8476
+ [vars$4.separatorColor]: globalRefs$3.colors.surface.main,
8470
8477
 
8471
- [vars$3.valueTextColor]: globalRefs$2.colors.surface.contrast,
8472
- [vars$3.selectedBackgroundColor]: globalRefs$2.colors.primary.contrast,
8478
+ [vars$4.valueTextColor]: globalRefs$3.colors.surface.contrast,
8479
+ [vars$4.selectedBackgroundColor]: globalRefs$3.colors.primary.contrast,
8473
8480
 
8474
8481
  _bordered: {
8475
- [vars$3.inputBorderColor]: refs.borderColor,
8482
+ [vars$4.inputBorderColor]: refs.borderColor,
8476
8483
  },
8477
8484
  };
8478
8485
 
@@ -8480,10 +8487,10 @@ var grid$1 = /*#__PURE__*/Object.freeze({
8480
8487
  __proto__: null,
8481
8488
  default: grid,
8482
8489
  grid: grid,
8483
- vars: vars$3
8490
+ vars: vars$4
8484
8491
  });
8485
8492
 
8486
- const componentName$3 = getComponentName('notification-card');
8493
+ const componentName$4 = getComponentName('notification-card');
8487
8494
 
8488
8495
  const notificationCardMixin = (superclass) =>
8489
8496
  class NotificationCardMixinClass extends superclass {
@@ -8591,54 +8598,54 @@ const NotificationCardClass = compose(
8591
8598
  }
8592
8599
  `,
8593
8600
  excludeAttrsSync: ['tabindex'],
8594
- componentName: componentName$3,
8601
+ componentName: componentName$4,
8595
8602
  })
8596
8603
  );
8597
8604
 
8598
- const globalRefs$1 = getThemeRefs(globals);
8599
- const vars$2 = NotificationCardClass.cssVarList;
8605
+ const globalRefs$2 = getThemeRefs(globals);
8606
+ const vars$3 = NotificationCardClass.cssVarList;
8600
8607
 
8601
8608
  const shadowColor = '#00000020';
8602
8609
 
8603
8610
  const notification = {
8604
- [vars$2.hostMinWidth]: '415px',
8605
- [vars$2.fontFamily]: globalRefs$1.fonts.font1.family,
8606
- [vars$2.fontSize]: globalRefs$1.typography.body1.size,
8607
- [vars$2.backgroundColor]: globalRefs$1.colors.surface.main,
8608
- [vars$2.textColor]: globalRefs$1.colors.surface.contrast,
8609
- [vars$2.boxShadow]: `${globalRefs$1.shadow.wide.xl} ${shadowColor}, ${globalRefs$1.shadow.narrow.xl} ${shadowColor}`,
8610
- [vars$2.verticalPadding]: '0.625em',
8611
- [vars$2.horizontalPadding]: '1.5em',
8612
- [vars$2.borderRadius]: globalRefs$1.radius.xs,
8611
+ [vars$3.hostMinWidth]: '415px',
8612
+ [vars$3.fontFamily]: globalRefs$2.fonts.font1.family,
8613
+ [vars$3.fontSize]: globalRefs$2.typography.body1.size,
8614
+ [vars$3.backgroundColor]: globalRefs$2.colors.surface.main,
8615
+ [vars$3.textColor]: globalRefs$2.colors.surface.contrast,
8616
+ [vars$3.boxShadow]: `${globalRefs$2.shadow.wide.xl} ${shadowColor}, ${globalRefs$2.shadow.narrow.xl} ${shadowColor}`,
8617
+ [vars$3.verticalPadding]: '0.625em',
8618
+ [vars$3.horizontalPadding]: '1.5em',
8619
+ [vars$3.borderRadius]: globalRefs$2.radius.xs,
8613
8620
 
8614
8621
  _bordered: {
8615
- [vars$2.borderWidth]: globalRefs$1.border.sm,
8616
- [vars$2.borderStyle]: 'solid',
8617
- [vars$2.borderColor]: 'transparent',
8622
+ [vars$3.borderWidth]: globalRefs$2.border.sm,
8623
+ [vars$3.borderStyle]: 'solid',
8624
+ [vars$3.borderColor]: 'transparent',
8618
8625
  },
8619
8626
 
8620
8627
  size: {
8621
- xs: { [vars$2.fontSize]: '12px' },
8622
- sm: { [vars$2.fontSize]: '14px' },
8623
- md: { [vars$2.fontSize]: '16px' },
8624
- lg: { [vars$2.fontSize]: '18px' },
8628
+ xs: { [vars$3.fontSize]: '12px' },
8629
+ sm: { [vars$3.fontSize]: '14px' },
8630
+ md: { [vars$3.fontSize]: '16px' },
8631
+ lg: { [vars$3.fontSize]: '18px' },
8625
8632
  },
8626
8633
 
8627
8634
  mode: {
8628
8635
  primary: {
8629
- [vars$2.backgroundColor]: globalRefs$1.colors.primary.main,
8630
- [vars$2.textColor]: globalRefs$1.colors.primary.contrast,
8631
- [vars$2.borderColor]: globalRefs$1.colors.primary.light,
8636
+ [vars$3.backgroundColor]: globalRefs$2.colors.primary.main,
8637
+ [vars$3.textColor]: globalRefs$2.colors.primary.contrast,
8638
+ [vars$3.borderColor]: globalRefs$2.colors.primary.light,
8632
8639
  },
8633
8640
  success: {
8634
- [vars$2.backgroundColor]: globalRefs$1.colors.success.main,
8635
- [vars$2.textColor]: globalRefs$1.colors.success.contrast,
8636
- [vars$2.borderColor]: globalRefs$1.colors.success.light,
8641
+ [vars$3.backgroundColor]: globalRefs$2.colors.success.main,
8642
+ [vars$3.textColor]: globalRefs$2.colors.success.contrast,
8643
+ [vars$3.borderColor]: globalRefs$2.colors.success.light,
8637
8644
  },
8638
8645
  error: {
8639
- [vars$2.backgroundColor]: globalRefs$1.colors.error.main,
8640
- [vars$2.textColor]: globalRefs$1.colors.error.contrast,
8641
- [vars$2.borderColor]: globalRefs$1.colors.error.light,
8646
+ [vars$3.backgroundColor]: globalRefs$2.colors.error.main,
8647
+ [vars$3.textColor]: globalRefs$2.colors.error.contrast,
8648
+ [vars$3.borderColor]: globalRefs$2.colors.error.light,
8642
8649
  },
8643
8650
  },
8644
8651
  };
@@ -8646,6 +8653,556 @@ const notification = {
8646
8653
  var notificationCard = /*#__PURE__*/Object.freeze({
8647
8654
  __proto__: null,
8648
8655
  default: notification,
8656
+ vars: vars$3
8657
+ });
8658
+
8659
+ const componentName$3 = getComponentName('multi-select-combo-box');
8660
+
8661
+ const MultiSelectComboBoxMixin = (superclass) =>
8662
+ class MultiSelectComboBoxMixinClass extends superclass {
8663
+ // eslint-disable-next-line class-methods-use-this
8664
+ #renderItem = ({ displayName, value, label }) => {
8665
+ return `<span data-name="${label}" data-id="${value}">${displayName || label}</span>`;
8666
+ };
8667
+
8668
+ #data;
8669
+
8670
+ get defaultValues() {
8671
+ const defaultValuesAttr = this.getAttribute('default-values');
8672
+ if (defaultValuesAttr) {
8673
+ try {
8674
+ const defaultValues = JSON.parse(defaultValuesAttr);
8675
+ if (this.isValidDataType(defaultValues)) {
8676
+ return defaultValues;
8677
+ }
8678
+ } catch (e) {
8679
+ // eslint-disable-next-line no-console
8680
+ console.error('could not parse data string from attribute "default-values" -', e.message);
8681
+ }
8682
+ }
8683
+ return [];
8684
+ }
8685
+
8686
+ get renderItem() {
8687
+ return this.#renderItem;
8688
+ }
8689
+
8690
+ set renderItem(renderFn) {
8691
+ this.#renderItem = renderFn;
8692
+ this.renderItems();
8693
+ }
8694
+
8695
+ get data() {
8696
+ if (this.#data) return this.#data;
8697
+
8698
+ const dataAttr = this.getAttribute('data');
8699
+
8700
+ if (dataAttr) {
8701
+ try {
8702
+ const data = JSON.parse(dataAttr);
8703
+ if (this.isValidDataType(data)) {
8704
+ return data;
8705
+ }
8706
+ } catch (e) {
8707
+ // eslint-disable-next-line no-console
8708
+ console.error('could not parse data string from attribute "data" -', e.message);
8709
+ }
8710
+ }
8711
+
8712
+ return [];
8713
+ }
8714
+
8715
+ set data(data) {
8716
+ if (this.isValidDataType(data)) {
8717
+ this.#data = data;
8718
+ this.renderItems();
8719
+ }
8720
+ }
8721
+
8722
+ get allowCustomValue() {
8723
+ return this.getAttribute('allow-custom-value') === 'true';
8724
+ }
8725
+
8726
+ get minItemsSelection() {
8727
+ return parseInt(this.getAttribute('min-items-selection'), 10) || 0;
8728
+ }
8729
+
8730
+ get maxItemsSelection() {
8731
+ return parseInt(this.getAttribute('max-items-selection'), 10) || 0;
8732
+ }
8733
+
8734
+ // eslint-disable-next-line class-methods-use-this
8735
+ isValidDataType(data) {
8736
+ const isValid = Array.isArray(data);
8737
+ if (!isValid) {
8738
+ // eslint-disable-next-line no-console
8739
+ console.error('data and default-values must be an array, received:', data);
8740
+ }
8741
+
8742
+ return isValid;
8743
+ }
8744
+
8745
+ getItemsTemplate() {
8746
+ return this.data?.reduce?.((acc, item) => acc + (this.renderItem?.(item || {}) || ''), '');
8747
+ }
8748
+
8749
+ renderItems() {
8750
+ const template = this.getItemsTemplate();
8751
+ if (template) this.innerHTML = template;
8752
+ }
8753
+
8754
+ handleSelectedItems() {
8755
+ const currentSelected =
8756
+ this.baseElement.selectedItems?.map((item) => item.getAttribute('data-id')) || [];
8757
+
8758
+ this.baseElement.selectedItems = [];
8759
+
8760
+ // if previously selected item ID exists in current children, set it as selected
8761
+ if (currentSelected.length > 0) {
8762
+ this.value = currentSelected;
8763
+ }
8764
+
8765
+ // otherwise, if default value is specified, set default value as selected item
8766
+ if (this.value.length === 0) {
8767
+ this.setDefaultValues();
8768
+ }
8769
+ }
8770
+
8771
+ // eslint-disable-next-line class-methods-use-this
8772
+ customValueTransformFn(val) {
8773
+ return val;
8774
+ }
8775
+
8776
+ // We want to override Vaadin's Combo Box value setter. This is needed since Vaadin couples between the
8777
+ // field that it searches the value, and the finaly display value of the input.
8778
+ // We provide a custom transform function to override that behavior.
8779
+ setComboBoxDescriptor() {
8780
+ const valueDescriptor = Object.getOwnPropertyDescriptor(
8781
+ this.inputElement.constructor.prototype,
8782
+ 'value'
8783
+ );
8784
+
8785
+ const comboBox = this;
8786
+
8787
+ Object.defineProperties(this.inputElement, {
8788
+ value: {
8789
+ ...valueDescriptor,
8790
+ set(val) {
8791
+ const transformedValue = comboBox.customValueTransformFn(val) || '';
8792
+
8793
+ if (transformedValue === this.value) {
8794
+ return;
8795
+ }
8796
+
8797
+ valueDescriptor.set.call(this, transformedValue);
8798
+ },
8799
+ },
8800
+ });
8801
+ }
8802
+
8803
+ // vaadin api is to set props on their combo box node,
8804
+ // in order to avoid it, we are passing the children of this component
8805
+ // to the items & renderer props, so it will be used as the combo box items
8806
+ #onChildrenChange() {
8807
+ const items = Array.from(this.children);
8808
+
8809
+ // we want the data-name attribute to be accessible as an object attribute
8810
+ if (items.length) {
8811
+ this.removeAttribute('has-no-options');
8812
+
8813
+ items.forEach((node) => {
8814
+ Object.defineProperty(node, 'data-name', {
8815
+ value: node.getAttribute('data-name'),
8816
+ configurable: true,
8817
+ writable: true,
8818
+ });
8819
+ Object.defineProperty(node, 'data-id', {
8820
+ value: node.getAttribute('data-id'),
8821
+ configurable: true,
8822
+ writable: true,
8823
+ });
8824
+ });
8825
+
8826
+ this.baseElement.items = items;
8827
+
8828
+ setTimeout(() => {
8829
+ // set timeout to ensure this runs after customValueTransformFn had the chance to be overriden
8830
+ this.handleSelectedItems();
8831
+ }, 0);
8832
+ } else {
8833
+ this.baseElement.items = [];
8834
+ this.setAttribute('has-no-options', '');
8835
+ }
8836
+
8837
+ // use vaadin combobox custom renderer to render options as HTML
8838
+ // and not via default renderer, which renders only the data-name's value
8839
+ // in its own HTML template
8840
+ this.baseElement.renderer = (root, combo, model) => {
8841
+ // eslint-disable-next-line no-param-reassign
8842
+ root.innerHTML = model.item.outerHTML;
8843
+ };
8844
+ }
8845
+
8846
+ // the default vaadin behavior is to attach the overlay to the body when opened
8847
+ // we do not want that because it's difficult to style the overlay in this way
8848
+ // so we override it to open inside the shadow DOM
8849
+ #overrideOverlaySettings() {
8850
+ const overlay = this.baseElement.shadowRoot
8851
+ .querySelector('vaadin-multi-select-combo-box-internal')
8852
+ .shadowRoot.querySelector('vaadin-multi-select-combo-box-overlay');
8853
+ overlay._attachOverlay = () => {
8854
+ overlay.bringToFront();
8855
+ };
8856
+ overlay._detachOverlay = () => {};
8857
+ overlay._enterModalState = () => {};
8858
+ }
8859
+
8860
+ #handleCustomValues() {
8861
+ if (this.allowCustomValue) {
8862
+ this.baseElement.addEventListener('custom-value-set', (e) => {
8863
+ const newItemHtml = this.#renderItem({
8864
+ label: e.detail,
8865
+ displayName: e.detail,
8866
+ value: e.detail,
8867
+ });
8868
+ this.innerHTML += newItemHtml;
8869
+ // The value needs to be set with a timeout because it needs to execute after
8870
+ // the custom value is added to items by the children change observer
8871
+ setTimeout(() => {
8872
+ this.value = [...this.value, e.detail];
8873
+ }, 0);
8874
+ });
8875
+ }
8876
+ }
8877
+
8878
+ setGetValidity() {
8879
+ // eslint-disable-next-line func-names
8880
+ this.getValidity = function () {
8881
+ if (this.isRequired && !this.value.length) {
8882
+ return {
8883
+ valueMissing: true,
8884
+ };
8885
+ }
8886
+ // If the field is not required, no minimum selection can be set
8887
+ if (
8888
+ this.isRequired &&
8889
+ this.minItemsSelection &&
8890
+ this.value.length < this.minItemsSelection
8891
+ ) {
8892
+ return {
8893
+ rangeUnderflow: true,
8894
+ };
8895
+ }
8896
+ if (this.maxItemsSelection && this.value.length > this.maxItemsSelection) {
8897
+ return {
8898
+ rangeOverflow: true,
8899
+ };
8900
+ }
8901
+ return {};
8902
+ };
8903
+ }
8904
+
8905
+ init() {
8906
+ super.init?.();
8907
+
8908
+ this.setGetValidity();
8909
+
8910
+ this.setComboBoxDescriptor();
8911
+
8912
+ this.#overrideOverlaySettings();
8913
+
8914
+ this.#handleCustomValues();
8915
+
8916
+ this.renderItems();
8917
+
8918
+ observeAttributes(this, this.renderItems.bind(this), { includeAttrs: ['data'] });
8919
+
8920
+ observeChildren(this, this.#onChildrenChange.bind(this));
8921
+
8922
+ // Note: we need to forward the `placeholder` because the vaadin component observes it and
8923
+ // tries to override it, causing us to lose the user set placeholder.
8924
+ forwardAttrs(this, this.baseElement, { includeAttrs: ['placeholder'] });
8925
+
8926
+ this.setDefaultValues();
8927
+ }
8928
+
8929
+ setDefaultValues() {
8930
+ this.value = this.defaultValues;
8931
+ }
8932
+
8933
+ set value(vals) {
8934
+ if (vals && vals.length > 0) {
8935
+ const children = this.baseElement.items?.filter((item) => vals.includes(item['data-id']));
8936
+
8937
+ if (children?.length > 0) {
8938
+ this.baseElement.selectedItems = children;
8939
+ }
8940
+ } else {
8941
+ this.baseElement.selectedItems = [];
8942
+ }
8943
+ }
8944
+
8945
+ get value() {
8946
+ return this.baseElement.selectedItems.map((elem) => elem.getAttribute('data-id')) || [];
8947
+ }
8948
+ };
8949
+
8950
+ const {
8951
+ host,
8952
+ inputField,
8953
+ inputElement,
8954
+ placeholder,
8955
+ toggle,
8956
+ label,
8957
+ requiredIndicator,
8958
+ helperText,
8959
+ errorMessage,
8960
+ chip,
8961
+ chipLabel,
8962
+ overflowChipFirstBorder,
8963
+ overflowChipSecondBorder,
8964
+ } = {
8965
+ host: { selector: () => ':host' },
8966
+ inputField: { selector: '::part(input-field)' },
8967
+ inputElement: { selector: 'input' },
8968
+ placeholder: { selector: '> input:placeholder-shown' },
8969
+ toggle: { selector: '::part(toggle-button)' },
8970
+ label: { selector: '::part(label)' },
8971
+ requiredIndicator: { selector: '[required]::part(required-indicator)::after' },
8972
+ helperText: { selector: '::part(helper-text)' },
8973
+ errorMessage: { selector: '::part(error-message)' },
8974
+ chip: { selector: 'vaadin-multi-select-combo-box-chip' },
8975
+ chipLabel: { selector: 'vaadin-multi-select-combo-box-chip::part(label)' },
8976
+ overflowChipFirstBorder: {
8977
+ selector: "vaadin-multi-select-combo-box-chip[slot='overflow']::before",
8978
+ },
8979
+ overflowChipSecondBorder: {
8980
+ selector: "vaadin-multi-select-combo-box-chip[slot='overflow']::after",
8981
+ },
8982
+ };
8983
+
8984
+ const MultiSelectComboBoxClass = compose(
8985
+ createStyleMixin({
8986
+ mappings: {
8987
+ hostWidth: { ...host, property: 'width' },
8988
+ hostDirection: { ...host, property: 'direction' },
8989
+ // we apply font-size also on the host so we can set its width with em
8990
+ fontSize: [{}, host],
8991
+ chipFontSize: { ...chipLabel, property: 'font-size' },
8992
+ fontFamily: [label, placeholder, inputField, helperText, errorMessage, chipLabel],
8993
+ labelTextColor: [
8994
+ { ...label, property: 'color' },
8995
+ { ...requiredIndicator, property: 'color' },
8996
+ ],
8997
+ errorMessageTextColor: { ...errorMessage, property: 'color' },
8998
+ inputHeight: { ...inputField, property: 'min-height' },
8999
+ inputBackgroundColor: { ...inputField, property: 'background-color' },
9000
+ inputBorderColor: { ...inputField, property: 'border-color' },
9001
+ inputBorderWidth: { ...inputField, property: 'border-width' },
9002
+ inputBorderStyle: { ...inputField, property: 'border-style' },
9003
+ inputBorderRadius: { ...inputField, property: 'border-radius' },
9004
+ labelRequiredIndicator: { ...requiredIndicator, property: 'content' },
9005
+ inputValueTextColor: { ...inputField, property: 'color' },
9006
+ inputPlaceholderTextColor: { ...placeholder, property: 'color' },
9007
+ inputDropdownButtonCursor: { ...toggle, property: 'cursor' },
9008
+ inputDropdownButtonColor: { ...toggle, property: 'color' },
9009
+ inputDropdownButtonSize: { ...toggle, property: 'font-size' },
9010
+ inputDropdownButtonOffset: [
9011
+ { ...toggle, property: 'margin-right' },
9012
+ { ...toggle, property: 'margin-left' },
9013
+ ],
9014
+ inputOutlineColor: { ...inputField, property: 'outline-color' },
9015
+ inputOutlineWidth: { ...inputField, property: 'outline-width' },
9016
+ inputOutlineStyle: { ...inputField, property: 'outline-style' },
9017
+ inputOutlineOffset: { ...inputField, property: 'outline-offset' },
9018
+ inputHorizontalPadding: [
9019
+ { ...inputElement, property: 'padding-left' },
9020
+ { ...inputElement, property: 'padding-right' },
9021
+ { ...inputField, property: 'padding-inline-start' },
9022
+ ],
9023
+ inputVerticalPadding: [
9024
+ { ...inputField, property: 'padding-top' },
9025
+ { ...inputField, property: 'padding-bottom' },
9026
+ ],
9027
+ chipTextColor: { ...chipLabel, property: 'color' },
9028
+ chipBackgroundColor: [
9029
+ { ...chip, property: 'background-color' },
9030
+ { ...overflowChipFirstBorder, property: 'border-color' },
9031
+ { ...overflowChipSecondBorder, property: 'border-color' },
9032
+ ],
9033
+
9034
+ // we need to use the variables from the portal mixin
9035
+ // so we need to use an arrow function on the selector
9036
+ // for that to work, because ComboBox is not available
9037
+ // at this time.
9038
+ overlayBackground: {
9039
+ property: () => MultiSelectComboBoxClass.cssVarList.overlay.backgroundColor,
9040
+ },
9041
+ overlayBorder: { property: () => MultiSelectComboBoxClass.cssVarList.overlay.border },
9042
+ overlayFontSize: { property: () => MultiSelectComboBoxClass.cssVarList.overlay.fontSize },
9043
+ overlayFontFamily: { property: () => MultiSelectComboBoxClass.cssVarList.overlay.fontFamily },
9044
+ overlayCursor: { property: () => MultiSelectComboBoxClass.cssVarList.overlay.cursor },
9045
+ overlayItemBoxShadow: {
9046
+ property: () => MultiSelectComboBoxClass.cssVarList.overlay.itemBoxShadow,
9047
+ },
9048
+ overlayItemPaddingInlineStart: {
9049
+ property: () => MultiSelectComboBoxClass.cssVarList.overlay.itemPaddingInlineStart,
9050
+ },
9051
+ overlayItemPaddingInlineEnd: {
9052
+ property: () => MultiSelectComboBoxClass.cssVarList.overlay.itemPaddingInlineEnd,
9053
+ },
9054
+ },
9055
+ }),
9056
+ draggableMixin,
9057
+ portalMixin({
9058
+ name: 'overlay',
9059
+ selector: 'vaadin-multi-select-combo-box-internal',
9060
+ mappings: {
9061
+ backgroundColor: { selector: 'vaadin-multi-select-combo-box-scroller' },
9062
+ minHeight: { selector: 'vaadin-multi-select-combo-box-overlay' },
9063
+ margin: { selector: 'vaadin-multi-select-combo-box-overlay' },
9064
+ cursor: { selector: 'vaadin-multi-select-combo-box-item' },
9065
+ fontFamily: { selector: 'vaadin-multi-select-combo-box-item' },
9066
+ fontSize: { selector: 'vaadin-multi-select-combo-box-item' },
9067
+ itemBoxShadow: { selector: 'vaadin-multi-select-combo-box-item', property: 'box-shadow' },
9068
+ itemPaddingInlineStart: {
9069
+ selector: 'vaadin-multi-select-combo-box-item',
9070
+ property: 'padding-inline-start',
9071
+ },
9072
+ itemPaddingInlineEnd: {
9073
+ selector: 'vaadin-multi-select-combo-box-item',
9074
+ property: 'padding-inline-end',
9075
+ },
9076
+ },
9077
+ forward: {
9078
+ include: false,
9079
+ attributes: ['size'],
9080
+ },
9081
+ }),
9082
+ composedProxyInputMixin({ proxyProps: ['selectionStart'], inputEvent: 'selected-items-changed' }),
9083
+ componentNameValidationMixin,
9084
+ MultiSelectComboBoxMixin
9085
+ )(
9086
+ createProxy({
9087
+ slots: ['', 'prefix'],
9088
+ wrappedEleName: 'vaadin-multi-select-combo-box',
9089
+ style: () => `
9090
+ :host {
9091
+ display: inline-flex;
9092
+ box-sizing: border-box;
9093
+ -webkit-mask-image: none;
9094
+ }
9095
+ ${useHostExternalPadding(MultiSelectComboBoxClass.cssVarList)}
9096
+ ${resetInputReadonlyStyle('vaadin-multi-select-combo-box')}
9097
+ ${resetInputPlaceholder('vaadin-multi-select-combo-box')}
9098
+ ${resetInputCursor('vaadin-multi-select-combo-box')}
9099
+
9100
+ vaadin-multi-select-combo-box {
9101
+ padding: 0;
9102
+ width: 100%;
9103
+ }
9104
+ vaadin-multi-select-combo-box::before {
9105
+ height: initial;
9106
+ }
9107
+ vaadin-multi-select-combo-box [slot="input"] {
9108
+ -webkit-mask-image: none;
9109
+ min-height: 0;
9110
+ align-self: center;
9111
+ box-sizing: border-box;
9112
+ }
9113
+
9114
+ ::part(input-field) {
9115
+ padding: 0;
9116
+ box-shadow: none;
9117
+ }
9118
+ ${resetInputLabelPosition('vaadin-multi-select-combo-box')}
9119
+ :host([has-label]) vaadin-multi-select-combo-box-chip::part(label) {
9120
+ display: block;
9121
+ }
9122
+
9123
+ vaadin-multi-select-combo-box vaadin-multi-select-combo-box-chip[slot='overflow']::before,
9124
+ vaadin-multi-select-combo-box vaadin-multi-select-combo-box-chip[slot='overflow']::after {
9125
+ left: -4px;
9126
+ right: -4px;
9127
+ border-left-width: 0;
9128
+ border-inline-start-style: solid;
9129
+ border-inline-start-width: 2px;
9130
+ }
9131
+ vaadin-multi-select-combo-box vaadin-multi-select-combo-box-chip[slot='overflow']::after {
9132
+ left: -8px;
9133
+ right: -8px;
9134
+ }
9135
+
9136
+ :host([has-no-options][allow-custom-value='true']) ::part(toggle-button) {
9137
+ display: none;
9138
+ }
9139
+ `,
9140
+ // Note: we exclude `size` to avoid overriding Vaadin's ComboBox property
9141
+ // with the same name. Including it will cause Vaadin to calculate NaN size,
9142
+ // and reset items to an empty array, and opening the list box with no items
9143
+ // to display.
9144
+ // Note: we exclude `placeholder` because the vaadin component observes it and
9145
+ // tries to override it, causing us to lose the user set placeholder.
9146
+ excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
9147
+ componentName: componentName$3,
9148
+ includeForwardProps: ['items', 'renderer', 'selectedItems'],
9149
+ })
9150
+ );
9151
+
9152
+ const globalRefs$1 = getThemeRefs(globals);
9153
+ const vars$2 = MultiSelectComboBoxClass.cssVarList;
9154
+
9155
+ const multiSelectComboBox = {
9156
+ [vars$2.hostWidth]: refs.width,
9157
+ [vars$2.hostDirection]: refs.direction,
9158
+ [vars$2.fontSize]: refs.fontSize,
9159
+ [vars$2.fontFamily]: refs.fontFamily,
9160
+ [vars$2.labelTextColor]: refs.labelTextColor,
9161
+ [vars$2.errorMessageTextColor]: refs.errorMessageTextColor,
9162
+ [vars$2.inputBorderColor]: refs.borderColor,
9163
+ [vars$2.inputBorderWidth]: refs.borderWidth,
9164
+ [vars$2.inputBorderStyle]: refs.borderStyle,
9165
+ [vars$2.inputBorderRadius]: refs.borderRadius,
9166
+ [vars$2.inputOutlineColor]: refs.outlineColor,
9167
+ [vars$2.inputOutlineOffset]: refs.outlineOffset,
9168
+ [vars$2.inputOutlineWidth]: refs.outlineWidth,
9169
+ [vars$2.inputOutlineStyle]: refs.outlineStyle,
9170
+ [vars$2.labelRequiredIndicator]: refs.requiredIndicator,
9171
+ [vars$2.inputValueTextColor]: refs.valueTextColor,
9172
+ [vars$2.inputPlaceholderTextColor]: refs.placeholderTextColor,
9173
+ [vars$2.inputBackgroundColor]: refs.backgroundColor,
9174
+ [vars$2.inputHorizontalPadding]: refs.horizontalPadding,
9175
+ [vars$2.inputVerticalPadding]: refs.verticalPadding,
9176
+ [vars$2.inputHeight]: refs.inputHeight,
9177
+ [vars$2.inputDropdownButtonColor]: globalRefs$1.colors.surface.contrast,
9178
+ [vars$2.inputDropdownButtonCursor]: 'pointer',
9179
+ [vars$2.inputDropdownButtonSize]: refs.toggleButtonSize,
9180
+ [vars$2.inputDropdownButtonOffset]: globalRefs$1.spacing.xs,
9181
+ [vars$2.overlayItemPaddingInlineStart]: globalRefs$1.spacing.xs,
9182
+ [vars$2.overlayItemPaddingInlineEnd]: globalRefs$1.spacing.lg,
9183
+ [vars$2.chipFontSize]: refs.chipFontSize,
9184
+ [vars$2.chipTextColor]: refs.valueTextColor,
9185
+ [vars$2.chipBackgroundColor]: globalRefs$1.colors.surface.main,
9186
+
9187
+ _readonly: {
9188
+ [vars$2.inputDropdownButtonCursor]: 'default',
9189
+ },
9190
+
9191
+ // Overlay theme exposed via the component:
9192
+ [vars$2.overlayFontSize]: refs.fontSize,
9193
+ [vars$2.overlayFontFamily]: refs.fontFamily,
9194
+ [vars$2.overlayCursor]: 'pointer',
9195
+ [vars$2.overlayItemBoxShadow]: 'none',
9196
+
9197
+ // Overlay direct theme:
9198
+ [vars$2.overlay.minHeight]: '400px',
9199
+ [vars$2.overlay.margin]: '0',
9200
+ };
9201
+
9202
+ var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
9203
+ __proto__: null,
9204
+ default: multiSelectComboBox,
9205
+ multiSelectComboBox: multiSelectComboBox,
8649
9206
  vars: vars$2
8650
9207
  });
8651
9208
 
@@ -8800,6 +9357,7 @@ const components = {
8800
9357
  modal: modal$1,
8801
9358
  grid: grid$1,
8802
9359
  notificationCard,
9360
+ multiSelectComboBox: multiSelectComboBox$1,
8803
9361
  badge: badge$1,
8804
9362
  };
8805
9363
 
@@ -8813,7 +9371,7 @@ const vars = Object.keys(components).reduce(
8813
9371
  );
8814
9372
 
8815
9373
  const defaultTheme = { globals, components: theme };
8816
- const themeVars = { globals: vars$v, components: vars };
9374
+ const themeVars = { globals: vars$w, components: vars };
8817
9375
 
8818
9376
  const componentName$1 = getComponentName('recaptcha');
8819
9377