@descope/web-components-ui 1.0.221 → 1.0.223

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. package/dist/cjs/index.cjs.js +790 -642
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +778 -631
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/umd/1000.js +1 -1
  6. package/dist/umd/1037.js +2 -0
  7. package/dist/umd/1037.js.LICENSE.txt +5 -0
  8. package/dist/umd/1932.js +310 -0
  9. package/dist/umd/1932.js.LICENSE.txt +5 -0
  10. package/dist/umd/1990.js +1 -1
  11. package/dist/umd/262.js +2 -0
  12. package/dist/umd/262.js.LICENSE.txt +5 -0
  13. package/dist/umd/3660.js +17 -0
  14. package/dist/umd/3660.js.LICENSE.txt +23 -0
  15. package/dist/umd/3952.js +123 -0
  16. package/dist/umd/{1883.js → 4273.js} +5 -5
  17. package/dist/umd/5345.js +94 -0
  18. package/dist/umd/5345.js.LICENSE.txt +11 -0
  19. package/dist/umd/5806.js +1 -1
  20. package/dist/umd/6116.js +8 -8
  21. package/dist/umd/7056.js +1 -1
  22. package/dist/umd/7101.js +1 -1
  23. package/dist/umd/7196.js +360 -0
  24. package/dist/umd/{1852.js.LICENSE.txt → 7196.js.LICENSE.txt} +0 -12
  25. package/dist/umd/8725.js +2 -2
  26. package/dist/umd/9211.js +2 -2
  27. package/dist/umd/9437.js +1 -1
  28. package/dist/umd/9515.js +1 -1
  29. package/dist/umd/descope-combo-box-index-js.js +1 -1
  30. package/dist/umd/descope-modal-index-js.js +1 -0
  31. package/dist/umd/index.js +1 -1
  32. package/package.json +3 -2
  33. package/src/components/descope-modal/ModalClass.js +109 -0
  34. package/src/components/descope-modal/index.js +6 -0
  35. package/src/index.cjs.js +1 -0
  36. package/src/mixins/createStyleMixin/helpers.js +2 -2
  37. package/src/mixins/createStyleMixin/index.js +2 -2
  38. package/src/mixins/portalMixin.js +24 -4
  39. package/src/theme/components/button.js +7 -0
  40. package/src/theme/components/index.js +2 -0
  41. package/src/theme/components/modal.js +16 -0
  42. package/dist/umd/1852.js +0 -375
  43. package/dist/umd/4767.js +0 -215
  44. /package/dist/umd/{4767.js.LICENSE.txt → 3952.js.LICENSE.txt} +0 -0
  45. /package/dist/umd/{1883.js.LICENSE.txt → 4273.js.LICENSE.txt} +0 -0
@@ -496,7 +496,7 @@ const globals = {
496
496
  shadow,
497
497
  fonts,
498
498
  };
499
- const vars$r = getThemeVars(globals);
499
+ const vars$s = getThemeVars(globals);
500
500
 
501
501
  const createCssVarFallback = (first, ...rest) =>
502
502
  `var(${first}${rest.length ? ` , ${createCssVarFallback(...rest)}` : ''})`;
@@ -552,11 +552,11 @@ const createStyle = (componentName, baseSelector, mappings) => {
552
552
 
553
553
  const cssVarName = getCssVarName(componentName, attr);
554
554
 
555
- attrConfig.forEach(({ selector: relativeSelectorOrSelectorFn, property }) => {
555
+ attrConfig.forEach(({ selector: relativeSelectorOrSelectorFn, property, important }) => {
556
556
  style.add(
557
557
  createCssSelector(baseSelector, relativeSelectorOrSelectorFn),
558
558
  isFunction(property) ? property() : property,
559
- createCssVarFallback(cssVarName)
559
+ createCssVarFallback(cssVarName) + (important ? '!important' : '')
560
560
  );
561
561
  });
562
562
  });
@@ -713,10 +713,10 @@ const createStyleMixin =
713
713
  (this.#rootElement.classList || this.#rootElement.host.classList).add(className);
714
714
  }
715
715
 
716
- init() {
716
+ async init() {
717
717
  super.init?.();
718
718
  if (this.shadowRoot.isConnected) {
719
- this.#rootElement = this.#getRootElement?.(this) || this.shadowRoot;
719
+ this.#rootElement = (await this.#getRootElement?.(this)) || this.shadowRoot;
720
720
 
721
721
  this.#addClassName(componentName);
722
722
 
@@ -2176,7 +2176,27 @@ const DISPLAY_NAME_SEPARATOR = '_';
2176
2176
 
2177
2177
  const sanitizeSelector = (selector) => selector.replace(/[^\w\s]/gi, '');
2178
2178
 
2179
- const getDomNode = (maybeDomNode) => maybeDomNode.host || maybeDomNode;
2179
+ const withWaitForShadowRoot = (getRootElementFn) => (that) =>
2180
+ new Promise((res) => {
2181
+ const MAX_RETRIES = 20;
2182
+ const ele = getRootElementFn(that);
2183
+ let counter = 0;
2184
+
2185
+ const check = () => {
2186
+ if (counter > MAX_RETRIES) {
2187
+ // eslint-disable-next-line no-console
2188
+ console.error('could not get shadow root for element', ele);
2189
+ res(ele);
2190
+ return;
2191
+ }
2192
+
2193
+ counter++;
2194
+
2195
+ if (!ele.shadowRoot) setTimeout(check);
2196
+ else res(ele.shadowRoot);
2197
+ };
2198
+ check();
2199
+ });
2180
2200
 
2181
2201
  const portalMixin =
2182
2202
  ({ name, selector, mappings = {}, forward: { attributes = [], include = true } = {} }) =>
@@ -2206,17 +2226,17 @@ const portalMixin =
2206
2226
  const baseEle = that.shadowRoot.querySelector(that.baseSelector);
2207
2227
  const portal = selector ? baseEle.shadowRoot.querySelector(selector) : baseEle;
2208
2228
 
2209
- return portal.shadowRoot || portal;
2229
+ return portal;
2210
2230
  };
2211
2231
 
2212
2232
  super({
2213
- getRootElement,
2233
+ getRootElement: withWaitForShadowRoot(getRootElement),
2214
2234
  componentNameSuffix: DISPLAY_NAME_SEPARATOR + eleDisplayName,
2215
2235
  themeSection: PORTAL_THEME_PREFIX + eleDisplayName,
2216
2236
  baseSelector: ':host',
2217
2237
  });
2218
2238
 
2219
- this.#portalEle = getDomNode(getRootElement(this));
2239
+ this.#portalEle = getRootElement(this);
2220
2240
  }
2221
2241
 
2222
2242
  #handleHoverAttribute() {
@@ -2342,7 +2362,7 @@ const clickableMixin = (superclass) =>
2342
2362
  }
2343
2363
  };
2344
2364
 
2345
- const componentName$w = getComponentName('button');
2365
+ const componentName$x = getComponentName('button');
2346
2366
 
2347
2367
  const resetStyles = `
2348
2368
  :host {
@@ -2439,7 +2459,7 @@ const ButtonClass = compose(
2439
2459
  }
2440
2460
  `,
2441
2461
  excludeAttrsSync: ['tabindex'],
2442
- componentName: componentName$w,
2462
+ componentName: componentName$x,
2443
2463
  })
2444
2464
  );
2445
2465
 
@@ -2477,7 +2497,7 @@ loadingIndicatorStyles = `
2477
2497
  `;
2478
2498
 
2479
2499
  const globalRefs$d = getThemeRefs(globals);
2480
- const compVars$3 = ButtonClass.cssVarList;
2500
+ const compVars$4 = ButtonClass.cssVarList;
2481
2501
 
2482
2502
  const mode = {
2483
2503
  primary: globalRefs$d.colors.primary,
@@ -2487,105 +2507,112 @@ const mode = {
2487
2507
  surface: globalRefs$d.colors.surface,
2488
2508
  };
2489
2509
 
2490
- const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$w);
2510
+ const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$x);
2491
2511
 
2492
2512
  const button = {
2493
2513
  ...helperTheme$3,
2494
2514
 
2495
- [compVars$3.fontFamily]: globalRefs$d.fonts.font1.family,
2515
+ [compVars$4.fontFamily]: globalRefs$d.fonts.font1.family,
2496
2516
 
2497
- [compVars$3.cursor]: 'pointer',
2498
- [compVars$3.hostHeight]: '3em',
2499
- [compVars$3.hostWidth]: 'auto',
2517
+ [compVars$4.cursor]: 'pointer',
2518
+ [compVars$4.hostHeight]: '3em',
2519
+ [compVars$4.hostWidth]: 'auto',
2500
2520
 
2501
- [compVars$3.borderRadius]: globalRefs$d.radius.sm,
2502
- [compVars$3.borderWidth]: globalRefs$d.border.xs,
2503
- [compVars$3.borderStyle]: 'solid',
2504
- [compVars$3.borderColor]: 'transparent',
2521
+ [compVars$4.borderRadius]: globalRefs$d.radius.sm,
2522
+ [compVars$4.borderWidth]: globalRefs$d.border.xs,
2523
+ [compVars$4.borderStyle]: 'solid',
2524
+ [compVars$4.borderColor]: 'transparent',
2505
2525
 
2506
- [compVars$3.labelSpacing]: '0.25em',
2526
+ [compVars$4.labelSpacing]: '0.25em',
2507
2527
 
2508
- [compVars$3.verticalPadding]: '1em',
2528
+ [compVars$4.verticalPadding]: '1em',
2509
2529
 
2510
- [compVars$3.outlineWidth]: globals.border.sm,
2511
- [compVars$3.outlineOffset]: '0px', // keep `px` unit for external calc
2512
- [compVars$3.outlineStyle]: 'solid',
2513
- [compVars$3.outlineColor]: 'transparent',
2530
+ [compVars$4.outlineWidth]: globals.border.sm,
2531
+ [compVars$4.outlineOffset]: '0px', // keep `px` unit for external calc
2532
+ [compVars$4.outlineStyle]: 'solid',
2533
+ [compVars$4.outlineColor]: 'transparent',
2514
2534
 
2515
2535
  size: {
2516
- xs: { [compVars$3.fontSize]: '12px' },
2517
- sm: { [compVars$3.fontSize]: '14px' },
2518
- md: { [compVars$3.fontSize]: '16px' },
2519
- lg: { [compVars$3.fontSize]: '18px' },
2536
+ xs: { [compVars$4.fontSize]: '12px' },
2537
+ sm: { [compVars$4.fontSize]: '14px' },
2538
+ md: { [compVars$4.fontSize]: '16px' },
2539
+ lg: { [compVars$4.fontSize]: '18px' },
2520
2540
  },
2521
2541
 
2522
2542
  _square: {
2523
- [compVars$3.hostHeight]: '3em',
2524
- [compVars$3.hostWidth]: '3em',
2525
- [compVars$3.verticalPadding]: '0',
2543
+ [compVars$4.hostHeight]: '3em',
2544
+ [compVars$4.hostWidth]: '3em',
2545
+ [compVars$4.verticalPadding]: '0',
2526
2546
  },
2527
2547
 
2528
2548
  _fullWidth: {
2529
- [compVars$3.hostWidth]: '100%',
2549
+ [compVars$4.hostWidth]: '100%',
2530
2550
  },
2531
2551
 
2532
2552
  _loading: {
2533
- [compVars$3.cursor]: 'wait',
2534
- [compVars$3.labelTextColor]: helperRefs$3.main,
2553
+ [compVars$4.cursor]: 'wait',
2554
+ [compVars$4.labelTextColor]: helperRefs$3.main,
2555
+ },
2556
+
2557
+ _disabled: {
2558
+ [helperVars$3.main]: globalRefs$d.colors.surface.main,
2559
+ [helperVars$3.dark]: globalRefs$d.colors.surface.dark,
2560
+ [helperVars$3.light]: globalRefs$d.colors.surface.light,
2561
+ [helperVars$3.contrast]: globalRefs$d.colors.surface.contrast,
2535
2562
  },
2536
2563
 
2537
2564
  variant: {
2538
2565
  contained: {
2539
- [compVars$3.labelTextColor]: helperRefs$3.contrast,
2540
- [compVars$3.backgroundColor]: helperRefs$3.main,
2566
+ [compVars$4.labelTextColor]: helperRefs$3.contrast,
2567
+ [compVars$4.backgroundColor]: helperRefs$3.main,
2541
2568
  _hover: {
2542
- [compVars$3.backgroundColor]: helperRefs$3.dark,
2569
+ [compVars$4.backgroundColor]: helperRefs$3.dark,
2543
2570
  _loading: {
2544
- [compVars$3.backgroundColor]: helperRefs$3.main,
2571
+ [compVars$4.backgroundColor]: helperRefs$3.main,
2545
2572
  },
2546
2573
  },
2547
2574
  _active: {
2548
- [compVars$3.backgroundColor]: helperRefs$3.main,
2575
+ [compVars$4.backgroundColor]: helperRefs$3.main,
2549
2576
  },
2550
2577
  },
2551
2578
 
2552
2579
  outline: {
2553
- [compVars$3.labelTextColor]: helperRefs$3.main,
2554
- [compVars$3.borderColor]: 'currentColor',
2580
+ [compVars$4.labelTextColor]: helperRefs$3.main,
2581
+ [compVars$4.borderColor]: 'currentColor',
2555
2582
  _hover: {
2556
- [compVars$3.labelTextColor]: helperRefs$3.dark,
2583
+ [compVars$4.labelTextColor]: helperRefs$3.dark,
2557
2584
  },
2558
2585
  _active: {
2559
- [compVars$3.labelTextColor]: helperRefs$3.main,
2586
+ [compVars$4.labelTextColor]: helperRefs$3.main,
2560
2587
  },
2561
2588
  },
2562
2589
 
2563
2590
  link: {
2564
- [compVars$3.labelTextColor]: helperRefs$3.main,
2591
+ [compVars$4.labelTextColor]: helperRefs$3.main,
2565
2592
  _hover: {
2566
- [compVars$3.labelTextColor]: helperRefs$3.dark,
2567
- [compVars$3.labelTextDecoration]: 'underline',
2593
+ [compVars$4.labelTextColor]: helperRefs$3.dark,
2594
+ [compVars$4.labelTextDecoration]: 'underline',
2568
2595
  },
2569
2596
  _active: {
2570
- [compVars$3.labelTextColor]: helperRefs$3.dark,
2597
+ [compVars$4.labelTextColor]: helperRefs$3.dark,
2571
2598
  },
2572
2599
  },
2573
2600
  },
2574
2601
 
2575
2602
  _focused: {
2576
- [compVars$3.outlineColor]: globalRefs$d.colors.surface.main,
2603
+ [compVars$4.outlineColor]: globalRefs$d.colors.surface.main,
2577
2604
  },
2578
2605
  };
2579
2606
 
2580
- const vars$q = {
2581
- ...compVars$3,
2607
+ const vars$r = {
2608
+ ...compVars$4,
2582
2609
  ...helperVars$3,
2583
2610
  };
2584
2611
 
2585
2612
  var button$1 = /*#__PURE__*/Object.freeze({
2586
2613
  __proto__: null,
2587
2614
  default: button,
2588
- vars: vars$q
2615
+ vars: vars$r
2589
2616
  });
2590
2617
 
2591
2618
  const { host: host$e, label: label$8, placeholder: placeholder$2, requiredIndicator: requiredIndicator$a, inputField: inputField$5, input, helperText: helperText$8, errorMessage: errorMessage$a } =
@@ -2743,11 +2770,11 @@ const resetInputOverrides = (name, cssVarList) => `
2743
2770
  ${resetInputFieldUnderlayingBorder(name)}
2744
2771
  `;
2745
2772
 
2746
- const componentName$v = getComponentName('text-field');
2773
+ const componentName$w = getComponentName('text-field');
2747
2774
 
2748
2775
  const observedAttrs = ['type'];
2749
2776
 
2750
- const customMixin$6 = (superclass) =>
2777
+ const customMixin$7 = (superclass) =>
2751
2778
  class TextFieldClass extends superclass {
2752
2779
  static get observedAttributes() {
2753
2780
  return observedAttrs.concat(superclass.observedAttributes || []);
@@ -2774,7 +2801,7 @@ const TextFieldClass = compose(
2774
2801
  draggableMixin,
2775
2802
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
2776
2803
  componentNameValidationMixin,
2777
- customMixin$6
2804
+ customMixin$7
2778
2805
  )(
2779
2806
  createProxy({
2780
2807
  slots: ['prefix', 'suffix'],
@@ -2792,14 +2819,14 @@ const TextFieldClass = compose(
2792
2819
  ${resetInputOverrides('vaadin-text-field', TextFieldClass.cssVarList)}
2793
2820
  `,
2794
2821
  excludeAttrsSync: ['tabindex'],
2795
- componentName: componentName$v,
2822
+ componentName: componentName$w,
2796
2823
  })
2797
2824
  );
2798
2825
 
2799
- const componentName$u = getComponentName('input-wrapper');
2826
+ const componentName$v = getComponentName('input-wrapper');
2800
2827
  const globalRefs$c = getThemeRefs(globals);
2801
2828
 
2802
- const [theme$1, refs, vars$p] = createHelperVars(
2829
+ const [theme$1, refs, vars$q] = createHelperVars(
2803
2830
  {
2804
2831
  labelTextColor: globalRefs$c.colors.surface.contrast,
2805
2832
  valueTextColor: globalRefs$c.colors.surface.contrast,
@@ -2861,46 +2888,46 @@ const [theme$1, refs, vars$p] = createHelperVars(
2861
2888
  backgroundColor: globalRefs$c.colors.surface.main,
2862
2889
  },
2863
2890
  },
2864
- componentName$u
2891
+ componentName$v
2865
2892
  );
2866
2893
 
2867
2894
  var inputWrapper = /*#__PURE__*/Object.freeze({
2868
2895
  __proto__: null,
2869
2896
  default: theme$1,
2870
2897
  refs: refs,
2871
- vars: vars$p
2898
+ vars: vars$q
2872
2899
  });
2873
2900
 
2874
- const vars$o = TextFieldClass.cssVarList;
2901
+ const vars$p = TextFieldClass.cssVarList;
2875
2902
 
2876
2903
  const textField = {
2877
- [vars$o.hostWidth]: refs.width,
2878
- [vars$o.hostMinWidth]: refs.minWidth,
2879
- [vars$o.fontSize]: refs.fontSize,
2880
- [vars$o.fontFamily]: refs.fontFamily,
2881
- [vars$o.labelTextColor]: refs.labelTextColor,
2882
- [vars$o.labelRequiredIndicator]: refs.requiredIndicator,
2883
- [vars$o.errorMessageTextColor]: refs.errorMessageTextColor,
2884
- [vars$o.inputValueTextColor]: refs.valueTextColor,
2885
- [vars$o.inputPlaceholderColor]: refs.placeholderTextColor,
2886
- [vars$o.inputBorderWidth]: refs.borderWidth,
2887
- [vars$o.inputBorderStyle]: refs.borderStyle,
2888
- [vars$o.inputBorderColor]: refs.borderColor,
2889
- [vars$o.inputBorderRadius]: refs.borderRadius,
2890
- [vars$o.inputOutlineWidth]: refs.outlineWidth,
2891
- [vars$o.inputOutlineStyle]: refs.outlineStyle,
2892
- [vars$o.inputOutlineColor]: refs.outlineColor,
2893
- [vars$o.inputOutlineOffset]: refs.outlineOffset,
2894
- [vars$o.inputBackgroundColor]: refs.backgroundColor,
2895
- [vars$o.inputHeight]: refs.inputHeight,
2896
- [vars$o.inputHorizontalPadding]: refs.horizontalPadding,
2904
+ [vars$p.hostWidth]: refs.width,
2905
+ [vars$p.hostMinWidth]: refs.minWidth,
2906
+ [vars$p.fontSize]: refs.fontSize,
2907
+ [vars$p.fontFamily]: refs.fontFamily,
2908
+ [vars$p.labelTextColor]: refs.labelTextColor,
2909
+ [vars$p.labelRequiredIndicator]: refs.requiredIndicator,
2910
+ [vars$p.errorMessageTextColor]: refs.errorMessageTextColor,
2911
+ [vars$p.inputValueTextColor]: refs.valueTextColor,
2912
+ [vars$p.inputPlaceholderColor]: refs.placeholderTextColor,
2913
+ [vars$p.inputBorderWidth]: refs.borderWidth,
2914
+ [vars$p.inputBorderStyle]: refs.borderStyle,
2915
+ [vars$p.inputBorderColor]: refs.borderColor,
2916
+ [vars$p.inputBorderRadius]: refs.borderRadius,
2917
+ [vars$p.inputOutlineWidth]: refs.outlineWidth,
2918
+ [vars$p.inputOutlineStyle]: refs.outlineStyle,
2919
+ [vars$p.inputOutlineColor]: refs.outlineColor,
2920
+ [vars$p.inputOutlineOffset]: refs.outlineOffset,
2921
+ [vars$p.inputBackgroundColor]: refs.backgroundColor,
2922
+ [vars$p.inputHeight]: refs.inputHeight,
2923
+ [vars$p.inputHorizontalPadding]: refs.horizontalPadding,
2897
2924
  };
2898
2925
 
2899
2926
  var textField$1 = /*#__PURE__*/Object.freeze({
2900
2927
  __proto__: null,
2901
2928
  default: textField,
2902
2929
  textField: textField,
2903
- vars: vars$o
2930
+ vars: vars$p
2904
2931
  });
2905
2932
 
2906
2933
  const passwordDraggableMixin = (superclass) =>
@@ -2937,7 +2964,7 @@ const passwordDraggableMixin = (superclass) =>
2937
2964
  }
2938
2965
  };
2939
2966
 
2940
- const componentName$t = getComponentName('password');
2967
+ const componentName$u = getComponentName('password');
2941
2968
 
2942
2969
  const {
2943
2970
  host: host$d,
@@ -3066,44 +3093,44 @@ const PasswordClass = compose(
3066
3093
  }
3067
3094
  `,
3068
3095
  excludeAttrsSync: ['tabindex'],
3069
- componentName: componentName$t,
3096
+ componentName: componentName$u,
3070
3097
  })
3071
3098
  );
3072
3099
 
3073
3100
  const globalRefs$b = getThemeRefs(globals);
3074
- const vars$n = PasswordClass.cssVarList;
3101
+ const vars$o = PasswordClass.cssVarList;
3075
3102
 
3076
3103
  const password = {
3077
- [vars$n.hostWidth]: refs.width,
3078
- [vars$n.fontSize]: refs.fontSize,
3079
- [vars$n.fontFamily]: refs.fontFamily,
3080
- [vars$n.labelTextColor]: refs.labelTextColor,
3081
- [vars$n.errorMessageTextColor]: refs.errorMessageTextColor,
3082
- [vars$n.inputHorizontalPadding]: refs.horizontalPadding,
3083
- [vars$n.inputHeight]: refs.inputHeight,
3084
- [vars$n.inputBackgroundColor]: refs.backgroundColor,
3085
- [vars$n.labelRequiredIndicator]: refs.requiredIndicator,
3086
- [vars$n.inputValueTextColor]: refs.valueTextColor,
3087
- [vars$n.inputPlaceholderTextColor]: refs.placeholderTextColor,
3088
- [vars$n.inputBorderWidth]: refs.borderWidth,
3089
- [vars$n.inputBorderStyle]: refs.borderStyle,
3090
- [vars$n.inputBorderColor]: refs.borderColor,
3091
- [vars$n.inputBorderRadius]: refs.borderRadius,
3092
- [vars$n.inputOutlineWidth]: refs.outlineWidth,
3093
- [vars$n.inputOutlineStyle]: refs.outlineStyle,
3094
- [vars$n.inputOutlineColor]: refs.outlineColor,
3095
- [vars$n.inputOutlineOffset]: refs.outlineOffset,
3096
- [vars$n.revealButtonOffset]: globalRefs$b.spacing.md,
3097
- [vars$n.revealButtonSize]: refs.toggleButtonSize,
3104
+ [vars$o.hostWidth]: refs.width,
3105
+ [vars$o.fontSize]: refs.fontSize,
3106
+ [vars$o.fontFamily]: refs.fontFamily,
3107
+ [vars$o.labelTextColor]: refs.labelTextColor,
3108
+ [vars$o.errorMessageTextColor]: refs.errorMessageTextColor,
3109
+ [vars$o.inputHorizontalPadding]: refs.horizontalPadding,
3110
+ [vars$o.inputHeight]: refs.inputHeight,
3111
+ [vars$o.inputBackgroundColor]: refs.backgroundColor,
3112
+ [vars$o.labelRequiredIndicator]: refs.requiredIndicator,
3113
+ [vars$o.inputValueTextColor]: refs.valueTextColor,
3114
+ [vars$o.inputPlaceholderTextColor]: refs.placeholderTextColor,
3115
+ [vars$o.inputBorderWidth]: refs.borderWidth,
3116
+ [vars$o.inputBorderStyle]: refs.borderStyle,
3117
+ [vars$o.inputBorderColor]: refs.borderColor,
3118
+ [vars$o.inputBorderRadius]: refs.borderRadius,
3119
+ [vars$o.inputOutlineWidth]: refs.outlineWidth,
3120
+ [vars$o.inputOutlineStyle]: refs.outlineStyle,
3121
+ [vars$o.inputOutlineColor]: refs.outlineColor,
3122
+ [vars$o.inputOutlineOffset]: refs.outlineOffset,
3123
+ [vars$o.revealButtonOffset]: globalRefs$b.spacing.md,
3124
+ [vars$o.revealButtonSize]: refs.toggleButtonSize,
3098
3125
  };
3099
3126
 
3100
3127
  var password$1 = /*#__PURE__*/Object.freeze({
3101
3128
  __proto__: null,
3102
3129
  default: password,
3103
- vars: vars$n
3130
+ vars: vars$o
3104
3131
  });
3105
3132
 
3106
- const componentName$s = getComponentName('number-field');
3133
+ const componentName$t = getComponentName('number-field');
3107
3134
 
3108
3135
  const NumberFieldClass = compose(
3109
3136
  createStyleMixin({
@@ -3128,44 +3155,44 @@ const NumberFieldClass = compose(
3128
3155
  ${resetInputOverrides('vaadin-number-field', NumberFieldClass.cssVarList)}
3129
3156
  `,
3130
3157
  excludeAttrsSync: ['tabindex'],
3131
- componentName: componentName$s,
3158
+ componentName: componentName$t,
3132
3159
  })
3133
3160
  );
3134
3161
 
3135
- const vars$m = NumberFieldClass.cssVarList;
3162
+ const vars$n = NumberFieldClass.cssVarList;
3136
3163
 
3137
3164
  const numberField = {
3138
- [vars$m.hostWidth]: refs.width,
3139
- [vars$m.hostMinWidth]: refs.minWidth,
3140
- [vars$m.fontSize]: refs.fontSize,
3141
- [vars$m.fontFamily]: refs.fontFamily,
3142
- [vars$m.labelTextColor]: refs.labelTextColor,
3143
- [vars$m.errorMessageTextColor]: refs.errorMessageTextColor,
3144
- [vars$m.inputValueTextColor]: refs.valueTextColor,
3145
- [vars$m.inputPlaceholderColor]: refs.placeholderTextColor,
3146
- [vars$m.inputBorderWidth]: refs.borderWidth,
3147
- [vars$m.inputBorderStyle]: refs.borderStyle,
3148
- [vars$m.inputBorderColor]: refs.borderColor,
3149
- [vars$m.inputBorderRadius]: refs.borderRadius,
3150
- [vars$m.inputOutlineWidth]: refs.outlineWidth,
3151
- [vars$m.inputOutlineStyle]: refs.outlineStyle,
3152
- [vars$m.inputOutlineColor]: refs.outlineColor,
3153
- [vars$m.inputOutlineOffset]: refs.outlineOffset,
3154
- [vars$m.inputBackgroundColor]: refs.backgroundColor,
3155
- [vars$m.labelRequiredIndicator]: refs.requiredIndicator,
3156
- [vars$m.inputHorizontalPadding]: refs.horizontalPadding,
3157
- [vars$m.inputHeight]: refs.inputHeight,
3165
+ [vars$n.hostWidth]: refs.width,
3166
+ [vars$n.hostMinWidth]: refs.minWidth,
3167
+ [vars$n.fontSize]: refs.fontSize,
3168
+ [vars$n.fontFamily]: refs.fontFamily,
3169
+ [vars$n.labelTextColor]: refs.labelTextColor,
3170
+ [vars$n.errorMessageTextColor]: refs.errorMessageTextColor,
3171
+ [vars$n.inputValueTextColor]: refs.valueTextColor,
3172
+ [vars$n.inputPlaceholderColor]: refs.placeholderTextColor,
3173
+ [vars$n.inputBorderWidth]: refs.borderWidth,
3174
+ [vars$n.inputBorderStyle]: refs.borderStyle,
3175
+ [vars$n.inputBorderColor]: refs.borderColor,
3176
+ [vars$n.inputBorderRadius]: refs.borderRadius,
3177
+ [vars$n.inputOutlineWidth]: refs.outlineWidth,
3178
+ [vars$n.inputOutlineStyle]: refs.outlineStyle,
3179
+ [vars$n.inputOutlineColor]: refs.outlineColor,
3180
+ [vars$n.inputOutlineOffset]: refs.outlineOffset,
3181
+ [vars$n.inputBackgroundColor]: refs.backgroundColor,
3182
+ [vars$n.labelRequiredIndicator]: refs.requiredIndicator,
3183
+ [vars$n.inputHorizontalPadding]: refs.horizontalPadding,
3184
+ [vars$n.inputHeight]: refs.inputHeight,
3158
3185
  };
3159
3186
 
3160
3187
  var numberField$1 = /*#__PURE__*/Object.freeze({
3161
3188
  __proto__: null,
3162
3189
  default: numberField,
3163
- vars: vars$m
3190
+ vars: vars$n
3164
3191
  });
3165
3192
 
3166
- const componentName$r = getComponentName('email-field');
3193
+ const componentName$s = getComponentName('email-field');
3167
3194
 
3168
- const customMixin$5 = (superclass) =>
3195
+ const customMixin$6 = (superclass) =>
3169
3196
  class EmailFieldMixinClass extends superclass {
3170
3197
  init() {
3171
3198
  super.init?.();
@@ -3179,7 +3206,7 @@ const EmailFieldClass = compose(
3179
3206
  draggableMixin,
3180
3207
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
3181
3208
  componentNameValidationMixin,
3182
- customMixin$5
3209
+ customMixin$6
3183
3210
  )(
3184
3211
  createProxy({
3185
3212
  slots: ['', 'suffix'],
@@ -3197,42 +3224,42 @@ const EmailFieldClass = compose(
3197
3224
  ${resetInputOverrides('vaadin-email-field', EmailFieldClass.cssVarList)}
3198
3225
  `,
3199
3226
  excludeAttrsSync: ['tabindex'],
3200
- componentName: componentName$r,
3227
+ componentName: componentName$s,
3201
3228
  })
3202
3229
  );
3203
3230
 
3204
- const vars$l = EmailFieldClass.cssVarList;
3231
+ const vars$m = EmailFieldClass.cssVarList;
3205
3232
 
3206
3233
  const emailField = {
3207
- [vars$l.hostWidth]: refs.width,
3208
- [vars$l.hostMinWidth]: refs.minWidth,
3209
- [vars$l.fontSize]: refs.fontSize,
3210
- [vars$l.fontFamily]: refs.fontFamily,
3211
- [vars$l.labelTextColor]: refs.labelTextColor,
3212
- [vars$l.errorMessageTextColor]: refs.errorMessageTextColor,
3213
- [vars$l.inputValueTextColor]: refs.valueTextColor,
3214
- [vars$l.labelRequiredIndicator]: refs.requiredIndicator,
3215
- [vars$l.inputPlaceholderColor]: refs.placeholderTextColor,
3216
- [vars$l.inputBorderWidth]: refs.borderWidth,
3217
- [vars$l.inputBorderStyle]: refs.borderStyle,
3218
- [vars$l.inputBorderColor]: refs.borderColor,
3219
- [vars$l.inputBorderRadius]: refs.borderRadius,
3220
- [vars$l.inputOutlineWidth]: refs.outlineWidth,
3221
- [vars$l.inputOutlineStyle]: refs.outlineStyle,
3222
- [vars$l.inputOutlineColor]: refs.outlineColor,
3223
- [vars$l.inputOutlineOffset]: refs.outlineOffset,
3224
- [vars$l.inputBackgroundColor]: refs.backgroundColor,
3225
- [vars$l.inputHorizontalPadding]: refs.horizontalPadding,
3226
- [vars$l.inputHeight]: refs.inputHeight,
3234
+ [vars$m.hostWidth]: refs.width,
3235
+ [vars$m.hostMinWidth]: refs.minWidth,
3236
+ [vars$m.fontSize]: refs.fontSize,
3237
+ [vars$m.fontFamily]: refs.fontFamily,
3238
+ [vars$m.labelTextColor]: refs.labelTextColor,
3239
+ [vars$m.errorMessageTextColor]: refs.errorMessageTextColor,
3240
+ [vars$m.inputValueTextColor]: refs.valueTextColor,
3241
+ [vars$m.labelRequiredIndicator]: refs.requiredIndicator,
3242
+ [vars$m.inputPlaceholderColor]: refs.placeholderTextColor,
3243
+ [vars$m.inputBorderWidth]: refs.borderWidth,
3244
+ [vars$m.inputBorderStyle]: refs.borderStyle,
3245
+ [vars$m.inputBorderColor]: refs.borderColor,
3246
+ [vars$m.inputBorderRadius]: refs.borderRadius,
3247
+ [vars$m.inputOutlineWidth]: refs.outlineWidth,
3248
+ [vars$m.inputOutlineStyle]: refs.outlineStyle,
3249
+ [vars$m.inputOutlineColor]: refs.outlineColor,
3250
+ [vars$m.inputOutlineOffset]: refs.outlineOffset,
3251
+ [vars$m.inputBackgroundColor]: refs.backgroundColor,
3252
+ [vars$m.inputHorizontalPadding]: refs.horizontalPadding,
3253
+ [vars$m.inputHeight]: refs.inputHeight,
3227
3254
  };
3228
3255
 
3229
3256
  var emailField$1 = /*#__PURE__*/Object.freeze({
3230
3257
  __proto__: null,
3231
3258
  default: emailField,
3232
- vars: vars$l
3259
+ vars: vars$m
3233
3260
  });
3234
3261
 
3235
- const componentName$q = getComponentName('text-area');
3262
+ const componentName$r = getComponentName('text-area');
3236
3263
 
3237
3264
  const {
3238
3265
  host: host$c,
@@ -3305,48 +3332,48 @@ const TextAreaClass = compose(
3305
3332
  ${resetInputCursor('vaadin-text-area')}
3306
3333
  `,
3307
3334
  excludeAttrsSync: ['tabindex'],
3308
- componentName: componentName$q,
3335
+ componentName: componentName$r,
3309
3336
  })
3310
3337
  );
3311
3338
 
3312
3339
  const globalRefs$a = getThemeRefs(globals);
3313
- const vars$k = TextAreaClass.cssVarList;
3340
+ const vars$l = TextAreaClass.cssVarList;
3314
3341
 
3315
3342
  const textArea = {
3316
- [vars$k.hostWidth]: refs.width,
3317
- [vars$k.hostMinWidth]: refs.minWidth,
3318
- [vars$k.fontSize]: refs.fontSize,
3319
- [vars$k.fontFamily]: refs.fontFamily,
3320
- [vars$k.labelTextColor]: refs.labelTextColor,
3321
- [vars$k.labelRequiredIndicator]: refs.requiredIndicator,
3322
- [vars$k.errorMessageTextColor]: refs.errorMessageTextColor,
3323
- [vars$k.inputBackgroundColor]: refs.backgroundColor,
3324
- [vars$k.inputValueTextColor]: refs.valueTextColor,
3325
- [vars$k.inputPlaceholderTextColor]: refs.placeholderTextColor,
3326
- [vars$k.inputBorderRadius]: refs.borderRadius,
3327
- [vars$k.inputBorderWidth]: refs.borderWidth,
3328
- [vars$k.inputBorderStyle]: refs.borderStyle,
3329
- [vars$k.inputBorderColor]: refs.borderColor,
3330
- [vars$k.inputOutlineWidth]: refs.outlineWidth,
3331
- [vars$k.inputOutlineStyle]: refs.outlineStyle,
3332
- [vars$k.inputOutlineColor]: refs.outlineColor,
3333
- [vars$k.inputOutlineOffset]: refs.outlineOffset,
3334
- [vars$k.inputResizeType]: 'vertical',
3335
- [vars$k.inputMinHeight]: '5em',
3343
+ [vars$l.hostWidth]: refs.width,
3344
+ [vars$l.hostMinWidth]: refs.minWidth,
3345
+ [vars$l.fontSize]: refs.fontSize,
3346
+ [vars$l.fontFamily]: refs.fontFamily,
3347
+ [vars$l.labelTextColor]: refs.labelTextColor,
3348
+ [vars$l.labelRequiredIndicator]: refs.requiredIndicator,
3349
+ [vars$l.errorMessageTextColor]: refs.errorMessageTextColor,
3350
+ [vars$l.inputBackgroundColor]: refs.backgroundColor,
3351
+ [vars$l.inputValueTextColor]: refs.valueTextColor,
3352
+ [vars$l.inputPlaceholderTextColor]: refs.placeholderTextColor,
3353
+ [vars$l.inputBorderRadius]: refs.borderRadius,
3354
+ [vars$l.inputBorderWidth]: refs.borderWidth,
3355
+ [vars$l.inputBorderStyle]: refs.borderStyle,
3356
+ [vars$l.inputBorderColor]: refs.borderColor,
3357
+ [vars$l.inputOutlineWidth]: refs.outlineWidth,
3358
+ [vars$l.inputOutlineStyle]: refs.outlineStyle,
3359
+ [vars$l.inputOutlineColor]: refs.outlineColor,
3360
+ [vars$l.inputOutlineOffset]: refs.outlineOffset,
3361
+ [vars$l.inputResizeType]: 'vertical',
3362
+ [vars$l.inputMinHeight]: '5em',
3336
3363
 
3337
3364
  _disabled: {
3338
- [vars$k.inputBackgroundColor]: globalRefs$a.colors.surface.light,
3365
+ [vars$l.inputBackgroundColor]: globalRefs$a.colors.surface.light,
3339
3366
  },
3340
3367
 
3341
3368
  _readonly: {
3342
- [vars$k.inputResizeType]: 'none',
3369
+ [vars$l.inputResizeType]: 'none',
3343
3370
  },
3344
3371
  };
3345
3372
 
3346
3373
  var textArea$1 = /*#__PURE__*/Object.freeze({
3347
3374
  __proto__: null,
3348
3375
  default: textArea,
3349
- vars: vars$k
3376
+ vars: vars$l
3350
3377
  });
3351
3378
 
3352
3379
  const createBaseInputClass = (...args) =>
@@ -3357,9 +3384,9 @@ const createBaseInputClass = (...args) =>
3357
3384
  inputEventsDispatchingMixin
3358
3385
  )(createBaseClass(...args));
3359
3386
 
3360
- const componentName$p = getComponentName('boolean-field-internal');
3387
+ const componentName$q = getComponentName('boolean-field-internal');
3361
3388
 
3362
- createBaseInputClass({ componentName: componentName$p, baseSelector: 'div' });
3389
+ createBaseInputClass({ componentName: componentName$q, baseSelector: 'div' });
3363
3390
 
3364
3391
  const booleanFieldMixin = (superclass) =>
3365
3392
  class BooleanFieldMixinClass extends superclass {
@@ -3368,14 +3395,14 @@ const booleanFieldMixin = (superclass) =>
3368
3395
 
3369
3396
  const template = document.createElement('template');
3370
3397
  template.innerHTML = `
3371
- <${componentName$p}
3398
+ <${componentName$q}
3372
3399
  tabindex="-1"
3373
3400
  slot="input"
3374
- ></${componentName$p}>
3401
+ ></${componentName$q}>
3375
3402
  `;
3376
3403
 
3377
3404
  this.baseElement.appendChild(template.content.cloneNode(true));
3378
- this.inputElement = this.shadowRoot.querySelector(componentName$p);
3405
+ this.inputElement = this.shadowRoot.querySelector(componentName$q);
3379
3406
  this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
3380
3407
 
3381
3408
  forwardAttrs(this, this.inputElement, {
@@ -3437,7 +3464,7 @@ descope-boolean-field-internal {
3437
3464
  }
3438
3465
  `;
3439
3466
 
3440
- const componentName$o = getComponentName('checkbox');
3467
+ const componentName$p = getComponentName('checkbox');
3441
3468
 
3442
3469
  const {
3443
3470
  host: host$b,
@@ -3534,50 +3561,50 @@ const CheckboxClass = compose(
3534
3561
  }
3535
3562
  `,
3536
3563
  excludeAttrsSync: ['label', 'tabindex'],
3537
- componentName: componentName$o,
3564
+ componentName: componentName$p,
3538
3565
  })
3539
3566
  );
3540
3567
 
3541
- const vars$j = CheckboxClass.cssVarList;
3568
+ const vars$k = CheckboxClass.cssVarList;
3542
3569
  const checkboxSize = '1.35em';
3543
3570
 
3544
3571
  const checkbox = {
3545
- [vars$j.hostWidth]: refs.width,
3546
- [vars$j.fontSize]: refs.fontSize,
3547
- [vars$j.fontFamily]: refs.fontFamily,
3548
- [vars$j.labelTextColor]: refs.labelTextColor,
3549
- [vars$j.labelRequiredIndicator]: refs.requiredIndicator,
3550
- [vars$j.labelFontWeight]: '400',
3551
- [vars$j.labelLineHeight]: checkboxSize,
3552
- [vars$j.labelSpacing]: '1em',
3553
- [vars$j.errorMessageTextColor]: refs.errorMessageTextColor,
3554
- [vars$j.inputOutlineWidth]: refs.outlineWidth,
3555
- [vars$j.inputOutlineOffset]: refs.outlineOffset,
3556
- [vars$j.inputOutlineColor]: refs.outlineColor,
3557
- [vars$j.inputOutlineStyle]: refs.outlineStyle,
3558
- [vars$j.inputBorderRadius]: refs.borderRadius,
3559
- [vars$j.inputBorderColor]: refs.borderColor,
3560
- [vars$j.inputBorderWidth]: refs.borderWidth,
3561
- [vars$j.inputBorderStyle]: refs.borderStyle,
3562
- [vars$j.inputBackgroundColor]: refs.backgroundColor,
3563
- [vars$j.inputSize]: checkboxSize,
3572
+ [vars$k.hostWidth]: refs.width,
3573
+ [vars$k.fontSize]: refs.fontSize,
3574
+ [vars$k.fontFamily]: refs.fontFamily,
3575
+ [vars$k.labelTextColor]: refs.labelTextColor,
3576
+ [vars$k.labelRequiredIndicator]: refs.requiredIndicator,
3577
+ [vars$k.labelFontWeight]: '400',
3578
+ [vars$k.labelLineHeight]: checkboxSize,
3579
+ [vars$k.labelSpacing]: '1em',
3580
+ [vars$k.errorMessageTextColor]: refs.errorMessageTextColor,
3581
+ [vars$k.inputOutlineWidth]: refs.outlineWidth,
3582
+ [vars$k.inputOutlineOffset]: refs.outlineOffset,
3583
+ [vars$k.inputOutlineColor]: refs.outlineColor,
3584
+ [vars$k.inputOutlineStyle]: refs.outlineStyle,
3585
+ [vars$k.inputBorderRadius]: refs.borderRadius,
3586
+ [vars$k.inputBorderColor]: refs.borderColor,
3587
+ [vars$k.inputBorderWidth]: refs.borderWidth,
3588
+ [vars$k.inputBorderStyle]: refs.borderStyle,
3589
+ [vars$k.inputBackgroundColor]: refs.backgroundColor,
3590
+ [vars$k.inputSize]: checkboxSize,
3564
3591
 
3565
3592
  _checked: {
3566
- [vars$j.inputValueTextColor]: refs.valueTextColor,
3593
+ [vars$k.inputValueTextColor]: refs.valueTextColor,
3567
3594
  },
3568
3595
 
3569
3596
  _disabled: {
3570
- [vars$j.labelTextColor]: refs.labelTextColor,
3597
+ [vars$k.labelTextColor]: refs.labelTextColor,
3571
3598
  },
3572
3599
  };
3573
3600
 
3574
3601
  var checkbox$1 = /*#__PURE__*/Object.freeze({
3575
3602
  __proto__: null,
3576
3603
  default: checkbox,
3577
- vars: vars$j
3604
+ vars: vars$k
3578
3605
  });
3579
3606
 
3580
- const componentName$n = getComponentName('switch-toggle');
3607
+ const componentName$o = getComponentName('switch-toggle');
3581
3608
 
3582
3609
  const {
3583
3610
  host: host$a,
@@ -3696,7 +3723,7 @@ const SwitchToggleClass = compose(
3696
3723
  }
3697
3724
  `,
3698
3725
  excludeAttrsSync: ['label', 'tabindex'],
3699
- componentName: componentName$n,
3726
+ componentName: componentName$o,
3700
3727
  })
3701
3728
  );
3702
3729
 
@@ -3704,74 +3731,74 @@ const knobMargin = '2px';
3704
3731
  const checkboxHeight = '1.25em';
3705
3732
 
3706
3733
  const globalRefs$9 = getThemeRefs(globals);
3707
- const vars$i = SwitchToggleClass.cssVarList;
3734
+ const vars$j = SwitchToggleClass.cssVarList;
3708
3735
 
3709
3736
  const switchToggle = {
3710
- [vars$i.hostWidth]: refs.width,
3711
- [vars$i.fontSize]: refs.fontSize,
3712
- [vars$i.fontFamily]: refs.fontFamily,
3713
-
3714
- [vars$i.inputOutlineWidth]: refs.outlineWidth,
3715
- [vars$i.inputOutlineOffset]: refs.outlineOffset,
3716
- [vars$i.inputOutlineColor]: refs.outlineColor,
3717
- [vars$i.inputOutlineStyle]: refs.outlineStyle,
3718
-
3719
- [vars$i.trackBorderStyle]: refs.borderStyle,
3720
- [vars$i.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
3721
- [vars$i.trackBorderColor]: refs.borderColor,
3722
- [vars$i.trackBackgroundColor]: 'none',
3723
- [vars$i.trackBorderRadius]: globalRefs$9.radius.md,
3724
- [vars$i.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
3725
- [vars$i.trackHeight]: checkboxHeight,
3726
-
3727
- [vars$i.knobSize]: `calc(1em - ${knobMargin})`,
3728
- [vars$i.knobRadius]: '50%',
3729
- [vars$i.knobTopOffset]: '1px',
3730
- [vars$i.knobLeftOffset]: knobMargin,
3731
- [vars$i.knobColor]: refs.valueTextColor,
3732
- [vars$i.knobTransitionDuration]: '0.3s',
3733
-
3734
- [vars$i.labelTextColor]: refs.labelTextColor,
3735
- [vars$i.labelFontWeight]: '400',
3736
- [vars$i.labelLineHeight]: '1.35em',
3737
- [vars$i.labelSpacing]: '1em',
3738
- [vars$i.labelRequiredIndicator]: refs.requiredIndicator,
3739
- [vars$i.errorMessageTextColor]: refs.errorMessageTextColor,
3737
+ [vars$j.hostWidth]: refs.width,
3738
+ [vars$j.fontSize]: refs.fontSize,
3739
+ [vars$j.fontFamily]: refs.fontFamily,
3740
+
3741
+ [vars$j.inputOutlineWidth]: refs.outlineWidth,
3742
+ [vars$j.inputOutlineOffset]: refs.outlineOffset,
3743
+ [vars$j.inputOutlineColor]: refs.outlineColor,
3744
+ [vars$j.inputOutlineStyle]: refs.outlineStyle,
3745
+
3746
+ [vars$j.trackBorderStyle]: refs.borderStyle,
3747
+ [vars$j.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
3748
+ [vars$j.trackBorderColor]: refs.borderColor,
3749
+ [vars$j.trackBackgroundColor]: 'none',
3750
+ [vars$j.trackBorderRadius]: globalRefs$9.radius.md,
3751
+ [vars$j.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
3752
+ [vars$j.trackHeight]: checkboxHeight,
3753
+
3754
+ [vars$j.knobSize]: `calc(1em - ${knobMargin})`,
3755
+ [vars$j.knobRadius]: '50%',
3756
+ [vars$j.knobTopOffset]: '1px',
3757
+ [vars$j.knobLeftOffset]: knobMargin,
3758
+ [vars$j.knobColor]: refs.valueTextColor,
3759
+ [vars$j.knobTransitionDuration]: '0.3s',
3760
+
3761
+ [vars$j.labelTextColor]: refs.labelTextColor,
3762
+ [vars$j.labelFontWeight]: '400',
3763
+ [vars$j.labelLineHeight]: '1.35em',
3764
+ [vars$j.labelSpacing]: '1em',
3765
+ [vars$j.labelRequiredIndicator]: refs.requiredIndicator,
3766
+ [vars$j.errorMessageTextColor]: refs.errorMessageTextColor,
3740
3767
 
3741
3768
  _checked: {
3742
- [vars$i.trackBorderColor]: refs.borderColor,
3743
- [vars$i.trackBackgroundColor]: refs.backgroundColor,
3744
- [vars$i.knobLeftOffset]: `calc(100% - var(${vars$i.knobSize}) - ${knobMargin})`,
3745
- [vars$i.knobColor]: refs.valueTextColor,
3746
- [vars$i.knobTextColor]: refs.valueTextColor,
3769
+ [vars$j.trackBorderColor]: refs.borderColor,
3770
+ [vars$j.trackBackgroundColor]: refs.backgroundColor,
3771
+ [vars$j.knobLeftOffset]: `calc(100% - var(${vars$j.knobSize}) - ${knobMargin})`,
3772
+ [vars$j.knobColor]: refs.valueTextColor,
3773
+ [vars$j.knobTextColor]: refs.valueTextColor,
3747
3774
  },
3748
3775
 
3749
3776
  _disabled: {
3750
- [vars$i.knobColor]: globalRefs$9.colors.surface.light,
3751
- [vars$i.trackBorderColor]: globalRefs$9.colors.surface.main,
3752
- [vars$i.trackBackgroundColor]: globalRefs$9.colors.surface.main,
3753
- [vars$i.labelTextColor]: refs.labelTextColor,
3777
+ [vars$j.knobColor]: globalRefs$9.colors.surface.light,
3778
+ [vars$j.trackBorderColor]: globalRefs$9.colors.surface.main,
3779
+ [vars$j.trackBackgroundColor]: globalRefs$9.colors.surface.main,
3780
+ [vars$j.labelTextColor]: refs.labelTextColor,
3754
3781
  _checked: {
3755
- [vars$i.knobColor]: globalRefs$9.colors.surface.light,
3756
- [vars$i.trackBackgroundColor]: globalRefs$9.colors.surface.main,
3782
+ [vars$j.knobColor]: globalRefs$9.colors.surface.light,
3783
+ [vars$j.trackBackgroundColor]: globalRefs$9.colors.surface.main,
3757
3784
  },
3758
3785
  },
3759
3786
 
3760
3787
  _invalid: {
3761
- [vars$i.trackBorderColor]: globalRefs$9.colors.error.main,
3762
- [vars$i.knobColor]: globalRefs$9.colors.error.main,
3788
+ [vars$j.trackBorderColor]: globalRefs$9.colors.error.main,
3789
+ [vars$j.knobColor]: globalRefs$9.colors.error.main,
3763
3790
  },
3764
3791
  };
3765
3792
 
3766
3793
  var switchToggle$1 = /*#__PURE__*/Object.freeze({
3767
3794
  __proto__: null,
3768
3795
  default: switchToggle,
3769
- vars: vars$i
3796
+ vars: vars$j
3770
3797
  });
3771
3798
 
3772
- const componentName$m = getComponentName('container');
3799
+ const componentName$n = getComponentName('container');
3773
3800
 
3774
- class RawContainer extends createBaseClass({ componentName: componentName$m, baseSelector: ':host > slot' }) {
3801
+ class RawContainer extends createBaseClass({ componentName: componentName$n, baseSelector: ':host > slot' }) {
3775
3802
  constructor() {
3776
3803
  super();
3777
3804
 
@@ -3825,7 +3852,7 @@ const ContainerClass = compose(
3825
3852
 
3826
3853
  const globalRefs$8 = getThemeRefs(globals);
3827
3854
 
3828
- const compVars$2 = ContainerClass.cssVarList;
3855
+ const compVars$3 = ContainerClass.cssVarList;
3829
3856
 
3830
3857
  const verticalAlignment = {
3831
3858
  start: { verticalAlignment: 'start' },
@@ -3845,7 +3872,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
3845
3872
  horizontalAlignment,
3846
3873
  shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
3847
3874
  },
3848
- componentName$m
3875
+ componentName$n
3849
3876
  );
3850
3877
 
3851
3878
  const { shadowColor } = helperRefs$2;
@@ -3853,30 +3880,30 @@ const { shadowColor } = helperRefs$2;
3853
3880
  const container = {
3854
3881
  ...helperTheme$2,
3855
3882
 
3856
- [compVars$2.hostWidth]: '100%',
3857
- [compVars$2.boxShadow]: 'none',
3858
- [compVars$2.backgroundColor]: globalRefs$8.colors.surface.light,
3859
- [compVars$2.color]: globalRefs$8.colors.surface.contrast,
3860
- [compVars$2.borderRadius]: '0px',
3883
+ [compVars$3.hostWidth]: '100%',
3884
+ [compVars$3.boxShadow]: 'none',
3885
+ [compVars$3.backgroundColor]: globalRefs$8.colors.surface.light,
3886
+ [compVars$3.color]: globalRefs$8.colors.surface.contrast,
3887
+ [compVars$3.borderRadius]: '0px',
3861
3888
 
3862
3889
  verticalPadding: {
3863
- sm: { [compVars$2.verticalPadding]: '5px' },
3864
- md: { [compVars$2.verticalPadding]: '10px' },
3865
- lg: { [compVars$2.verticalPadding]: '20px' },
3890
+ sm: { [compVars$3.verticalPadding]: '5px' },
3891
+ md: { [compVars$3.verticalPadding]: '10px' },
3892
+ lg: { [compVars$3.verticalPadding]: '20px' },
3866
3893
  },
3867
3894
 
3868
3895
  horizontalPadding: {
3869
- sm: { [compVars$2.horizontalPadding]: '5px' },
3870
- md: { [compVars$2.horizontalPadding]: '10px' },
3871
- lg: { [compVars$2.horizontalPadding]: '20px' },
3896
+ sm: { [compVars$3.horizontalPadding]: '5px' },
3897
+ md: { [compVars$3.horizontalPadding]: '10px' },
3898
+ lg: { [compVars$3.horizontalPadding]: '20px' },
3872
3899
  },
3873
3900
 
3874
3901
  direction: {
3875
3902
  row: {
3876
- [compVars$2.flexDirection]: 'row',
3877
- [compVars$2.alignItems]: helperRefs$2.verticalAlignment,
3878
- [compVars$2.justifyContent]: helperRefs$2.horizontalAlignment,
3879
- [compVars$2.flexWrap]: 'wrap',
3903
+ [compVars$3.flexDirection]: 'row',
3904
+ [compVars$3.alignItems]: helperRefs$2.verticalAlignment,
3905
+ [compVars$3.justifyContent]: helperRefs$2.horizontalAlignment,
3906
+ [compVars$3.flexWrap]: 'wrap',
3880
3907
  horizontalAlignment: {
3881
3908
  spaceBetween: {
3882
3909
  [helperVars$2.horizontalAlignment]: 'space-between',
@@ -3884,9 +3911,9 @@ const container = {
3884
3911
  },
3885
3912
  },
3886
3913
  column: {
3887
- [compVars$2.flexDirection]: 'column',
3888
- [compVars$2.alignItems]: helperRefs$2.horizontalAlignment,
3889
- [compVars$2.justifyContent]: helperRefs$2.verticalAlignment,
3914
+ [compVars$3.flexDirection]: 'column',
3915
+ [compVars$3.alignItems]: helperRefs$2.horizontalAlignment,
3916
+ [compVars$3.justifyContent]: helperRefs$2.verticalAlignment,
3890
3917
  verticalAlignment: {
3891
3918
  spaceBetween: {
3892
3919
  [helperVars$2.verticalAlignment]: 'space-between',
@@ -3896,49 +3923,49 @@ const container = {
3896
3923
  },
3897
3924
 
3898
3925
  spaceBetween: {
3899
- sm: { [compVars$2.gap]: '10px' },
3900
- md: { [compVars$2.gap]: '20px' },
3901
- lg: { [compVars$2.gap]: '30px' },
3926
+ sm: { [compVars$3.gap]: '10px' },
3927
+ md: { [compVars$3.gap]: '20px' },
3928
+ lg: { [compVars$3.gap]: '30px' },
3902
3929
  },
3903
3930
 
3904
3931
  shadow: {
3905
3932
  sm: {
3906
- [compVars$2.boxShadow]: `${globalRefs$8.shadow.wide.sm} ${shadowColor}, ${globalRefs$8.shadow.narrow.sm} ${shadowColor}`,
3933
+ [compVars$3.boxShadow]: `${globalRefs$8.shadow.wide.sm} ${shadowColor}, ${globalRefs$8.shadow.narrow.sm} ${shadowColor}`,
3907
3934
  },
3908
3935
  md: {
3909
- [compVars$2.boxShadow]: `${globalRefs$8.shadow.wide.md} ${shadowColor}, ${globalRefs$8.shadow.narrow.md} ${shadowColor}`,
3936
+ [compVars$3.boxShadow]: `${globalRefs$8.shadow.wide.md} ${shadowColor}, ${globalRefs$8.shadow.narrow.md} ${shadowColor}`,
3910
3937
  },
3911
3938
  lg: {
3912
- [compVars$2.boxShadow]: `${globalRefs$8.shadow.wide.lg} ${shadowColor}, ${globalRefs$8.shadow.narrow.lg} ${shadowColor}`,
3939
+ [compVars$3.boxShadow]: `${globalRefs$8.shadow.wide.lg} ${shadowColor}, ${globalRefs$8.shadow.narrow.lg} ${shadowColor}`,
3913
3940
  },
3914
3941
  xl: {
3915
- [compVars$2.boxShadow]: `${globalRefs$8.shadow.wide.xl} ${shadowColor}, ${globalRefs$8.shadow.narrow.xl} ${shadowColor}`,
3942
+ [compVars$3.boxShadow]: `${globalRefs$8.shadow.wide.xl} ${shadowColor}, ${globalRefs$8.shadow.narrow.xl} ${shadowColor}`,
3916
3943
  },
3917
3944
  '2xl': {
3918
3945
  [helperVars$2.shadowColor]: '#00000050', // mimic daisyUI shadow settings
3919
- [compVars$2.boxShadow]: `${globalRefs$8.shadow.wide['2xl']} ${shadowColor}`,
3946
+ [compVars$3.boxShadow]: `${globalRefs$8.shadow.wide['2xl']} ${shadowColor}`,
3920
3947
  },
3921
3948
  },
3922
3949
 
3923
3950
  borderRadius: {
3924
- sm: { [compVars$2.borderRadius]: globalRefs$8.radius.sm },
3925
- md: { [compVars$2.borderRadius]: globalRefs$8.radius.md },
3926
- lg: { [compVars$2.borderRadius]: globalRefs$8.radius.lg },
3927
- xl: { [compVars$2.borderRadius]: globalRefs$8.radius.xl },
3928
- '2xl': { [compVars$2.borderRadius]: globalRefs$8.radius['2xl'] },
3929
- '3xl': { [compVars$2.borderRadius]: globalRefs$8.radius['3xl'] },
3951
+ sm: { [compVars$3.borderRadius]: globalRefs$8.radius.sm },
3952
+ md: { [compVars$3.borderRadius]: globalRefs$8.radius.md },
3953
+ lg: { [compVars$3.borderRadius]: globalRefs$8.radius.lg },
3954
+ xl: { [compVars$3.borderRadius]: globalRefs$8.radius.xl },
3955
+ '2xl': { [compVars$3.borderRadius]: globalRefs$8.radius['2xl'] },
3956
+ '3xl': { [compVars$3.borderRadius]: globalRefs$8.radius['3xl'] },
3930
3957
  },
3931
3958
  };
3932
3959
 
3933
- const vars$h = {
3934
- ...compVars$2,
3960
+ const vars$i = {
3961
+ ...compVars$3,
3935
3962
  ...helperVars$2,
3936
3963
  };
3937
3964
 
3938
3965
  var container$1 = /*#__PURE__*/Object.freeze({
3939
3966
  __proto__: null,
3940
3967
  default: container,
3941
- vars: vars$h
3968
+ vars: vars$i
3942
3969
  });
3943
3970
 
3944
3971
  const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
@@ -3991,51 +4018,51 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
3991
4018
  return CssVarImageClass;
3992
4019
  };
3993
4020
 
3994
- const componentName$l = getComponentName('logo');
4021
+ const componentName$m = getComponentName('logo');
3995
4022
 
3996
4023
  const LogoClass = createCssVarImageClass({
3997
- componentName: componentName$l,
4024
+ componentName: componentName$m,
3998
4025
  varName: 'url',
3999
4026
  fallbackVarName: 'fallbackUrl',
4000
4027
  });
4001
4028
 
4002
- const vars$g = LogoClass.cssVarList;
4029
+ const vars$h = LogoClass.cssVarList;
4003
4030
 
4004
4031
  const logo$1 = {
4005
- [vars$g.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
4032
+ [vars$h.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
4006
4033
  };
4007
4034
 
4008
4035
  var logo$2 = /*#__PURE__*/Object.freeze({
4009
4036
  __proto__: null,
4010
4037
  default: logo$1,
4011
- vars: vars$g
4038
+ vars: vars$h
4012
4039
  });
4013
4040
 
4014
- const componentName$k = getComponentName('totp-image');
4041
+ const componentName$l = getComponentName('totp-image');
4015
4042
 
4016
4043
  const TotpImageClass = createCssVarImageClass({
4017
- componentName: componentName$k,
4044
+ componentName: componentName$l,
4018
4045
  varName: 'url',
4019
4046
  fallbackVarName: 'fallbackUrl',
4020
4047
  });
4021
4048
 
4022
- const vars$f = TotpImageClass.cssVarList;
4049
+ const vars$g = TotpImageClass.cssVarList;
4023
4050
 
4024
4051
  const logo = {
4025
- [vars$f.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
4052
+ [vars$g.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
4026
4053
  };
4027
4054
 
4028
4055
  var totpImage = /*#__PURE__*/Object.freeze({
4029
4056
  __proto__: null,
4030
4057
  default: logo,
4031
- vars: vars$f
4058
+ vars: vars$g
4032
4059
  });
4033
4060
 
4034
4061
  // eslint-disable-next-line max-classes-per-file
4035
4062
 
4036
- const componentName$j = getComponentName('text');
4063
+ const componentName$k = getComponentName('text');
4037
4064
 
4038
- class RawText extends createBaseClass({ componentName: componentName$j, baseSelector: ':host > slot' }) {
4065
+ class RawText extends createBaseClass({ componentName: componentName$k, baseSelector: ':host > slot' }) {
4039
4066
  constructor() {
4040
4067
  super();
4041
4068
 
@@ -4095,97 +4122,97 @@ const TextClass = compose(
4095
4122
  )(RawText);
4096
4123
 
4097
4124
  const globalRefs$7 = getThemeRefs(globals);
4098
- const vars$e = TextClass.cssVarList;
4125
+ const vars$f = TextClass.cssVarList;
4099
4126
 
4100
4127
  const text$2 = {
4101
- [vars$e.textLineHeight]: '1.35em',
4102
- [vars$e.textAlign]: 'left',
4103
- [vars$e.textColor]: globalRefs$7.colors.surface.dark,
4128
+ [vars$f.textLineHeight]: '1.35em',
4129
+ [vars$f.textAlign]: 'left',
4130
+ [vars$f.textColor]: globalRefs$7.colors.surface.dark,
4104
4131
  variant: {
4105
4132
  h1: {
4106
- [vars$e.fontSize]: globalRefs$7.typography.h1.size,
4107
- [vars$e.fontWeight]: globalRefs$7.typography.h1.weight,
4108
- [vars$e.fontFamily]: globalRefs$7.typography.h1.font,
4133
+ [vars$f.fontSize]: globalRefs$7.typography.h1.size,
4134
+ [vars$f.fontWeight]: globalRefs$7.typography.h1.weight,
4135
+ [vars$f.fontFamily]: globalRefs$7.typography.h1.font,
4109
4136
  },
4110
4137
  h2: {
4111
- [vars$e.fontSize]: globalRefs$7.typography.h2.size,
4112
- [vars$e.fontWeight]: globalRefs$7.typography.h2.weight,
4113
- [vars$e.fontFamily]: globalRefs$7.typography.h2.font,
4138
+ [vars$f.fontSize]: globalRefs$7.typography.h2.size,
4139
+ [vars$f.fontWeight]: globalRefs$7.typography.h2.weight,
4140
+ [vars$f.fontFamily]: globalRefs$7.typography.h2.font,
4114
4141
  },
4115
4142
  h3: {
4116
- [vars$e.fontSize]: globalRefs$7.typography.h3.size,
4117
- [vars$e.fontWeight]: globalRefs$7.typography.h3.weight,
4118
- [vars$e.fontFamily]: globalRefs$7.typography.h3.font,
4143
+ [vars$f.fontSize]: globalRefs$7.typography.h3.size,
4144
+ [vars$f.fontWeight]: globalRefs$7.typography.h3.weight,
4145
+ [vars$f.fontFamily]: globalRefs$7.typography.h3.font,
4119
4146
  },
4120
4147
  subtitle1: {
4121
- [vars$e.fontSize]: globalRefs$7.typography.subtitle1.size,
4122
- [vars$e.fontWeight]: globalRefs$7.typography.subtitle1.weight,
4123
- [vars$e.fontFamily]: globalRefs$7.typography.subtitle1.font,
4148
+ [vars$f.fontSize]: globalRefs$7.typography.subtitle1.size,
4149
+ [vars$f.fontWeight]: globalRefs$7.typography.subtitle1.weight,
4150
+ [vars$f.fontFamily]: globalRefs$7.typography.subtitle1.font,
4124
4151
  },
4125
4152
  subtitle2: {
4126
- [vars$e.fontSize]: globalRefs$7.typography.subtitle2.size,
4127
- [vars$e.fontWeight]: globalRefs$7.typography.subtitle2.weight,
4128
- [vars$e.fontFamily]: globalRefs$7.typography.subtitle2.font,
4153
+ [vars$f.fontSize]: globalRefs$7.typography.subtitle2.size,
4154
+ [vars$f.fontWeight]: globalRefs$7.typography.subtitle2.weight,
4155
+ [vars$f.fontFamily]: globalRefs$7.typography.subtitle2.font,
4129
4156
  },
4130
4157
  body1: {
4131
- [vars$e.fontSize]: globalRefs$7.typography.body1.size,
4132
- [vars$e.fontWeight]: globalRefs$7.typography.body1.weight,
4133
- [vars$e.fontFamily]: globalRefs$7.typography.body1.font,
4158
+ [vars$f.fontSize]: globalRefs$7.typography.body1.size,
4159
+ [vars$f.fontWeight]: globalRefs$7.typography.body1.weight,
4160
+ [vars$f.fontFamily]: globalRefs$7.typography.body1.font,
4134
4161
  },
4135
4162
  body2: {
4136
- [vars$e.fontSize]: globalRefs$7.typography.body2.size,
4137
- [vars$e.fontWeight]: globalRefs$7.typography.body2.weight,
4138
- [vars$e.fontFamily]: globalRefs$7.typography.body2.font,
4163
+ [vars$f.fontSize]: globalRefs$7.typography.body2.size,
4164
+ [vars$f.fontWeight]: globalRefs$7.typography.body2.weight,
4165
+ [vars$f.fontFamily]: globalRefs$7.typography.body2.font,
4139
4166
  },
4140
4167
  },
4141
4168
 
4142
4169
  mode: {
4143
4170
  primary: {
4144
- [vars$e.textColor]: globalRefs$7.colors.primary.main,
4171
+ [vars$f.textColor]: globalRefs$7.colors.primary.main,
4145
4172
  },
4146
4173
  secondary: {
4147
- [vars$e.textColor]: globalRefs$7.colors.secondary.main,
4174
+ [vars$f.textColor]: globalRefs$7.colors.secondary.main,
4148
4175
  },
4149
4176
  error: {
4150
- [vars$e.textColor]: globalRefs$7.colors.error.main,
4177
+ [vars$f.textColor]: globalRefs$7.colors.error.main,
4151
4178
  },
4152
4179
  success: {
4153
- [vars$e.textColor]: globalRefs$7.colors.success.main,
4180
+ [vars$f.textColor]: globalRefs$7.colors.success.main,
4154
4181
  },
4155
4182
  },
4156
4183
 
4157
4184
  textAlign: {
4158
- right: { [vars$e.textAlign]: 'right' },
4159
- left: { [vars$e.textAlign]: 'left' },
4160
- center: { [vars$e.textAlign]: 'center' },
4185
+ right: { [vars$f.textAlign]: 'right' },
4186
+ left: { [vars$f.textAlign]: 'left' },
4187
+ center: { [vars$f.textAlign]: 'center' },
4161
4188
  },
4162
4189
 
4163
4190
  _fullWidth: {
4164
- [vars$e.hostWidth]: '100%',
4191
+ [vars$f.hostWidth]: '100%',
4165
4192
  },
4166
4193
 
4167
4194
  _italic: {
4168
- [vars$e.fontStyle]: 'italic',
4195
+ [vars$f.fontStyle]: 'italic',
4169
4196
  },
4170
4197
 
4171
4198
  _uppercase: {
4172
- [vars$e.textTransform]: 'uppercase',
4199
+ [vars$f.textTransform]: 'uppercase',
4173
4200
  },
4174
4201
 
4175
4202
  _lowercase: {
4176
- [vars$e.textTransform]: 'lowercase',
4203
+ [vars$f.textTransform]: 'lowercase',
4177
4204
  },
4178
4205
  };
4179
4206
 
4180
4207
  var text$3 = /*#__PURE__*/Object.freeze({
4181
4208
  __proto__: null,
4182
4209
  default: text$2,
4183
- vars: vars$e
4210
+ vars: vars$f
4184
4211
  });
4185
4212
 
4186
- const componentName$i = getComponentName('link');
4213
+ const componentName$j = getComponentName('link');
4187
4214
 
4188
- class RawLink extends createBaseClass({ componentName: componentName$i, baseSelector: ':host a' }) {
4215
+ class RawLink extends createBaseClass({ componentName: componentName$j, baseSelector: ':host a' }) {
4189
4216
  constructor() {
4190
4217
  super();
4191
4218
 
@@ -4250,35 +4277,35 @@ const LinkClass = compose(
4250
4277
  )(RawLink);
4251
4278
 
4252
4279
  const globalRefs$6 = getThemeRefs(globals);
4253
- const vars$d = LinkClass.cssVarList;
4280
+ const vars$e = LinkClass.cssVarList;
4254
4281
 
4255
4282
  const link = {
4256
- [vars$d.cursor]: 'pointer',
4283
+ [vars$e.cursor]: 'pointer',
4257
4284
 
4258
- [vars$d.textColor]: globalRefs$6.colors.primary.main,
4285
+ [vars$e.textColor]: globalRefs$6.colors.primary.main,
4259
4286
 
4260
4287
  textAlign: {
4261
- right: { [vars$d.textAlign]: 'right' },
4262
- left: { [vars$d.textAlign]: 'left' },
4263
- center: { [vars$d.textAlign]: 'center' },
4288
+ right: { [vars$e.textAlign]: 'right' },
4289
+ left: { [vars$e.textAlign]: 'left' },
4290
+ center: { [vars$e.textAlign]: 'center' },
4264
4291
  },
4265
4292
 
4266
4293
  _fullWidth: {
4267
- [vars$d.hostWidth]: '100%',
4294
+ [vars$e.hostWidth]: '100%',
4268
4295
  },
4269
4296
 
4270
4297
  mode: {
4271
4298
  primary: {
4272
- [vars$d.textColor]: globalRefs$6.colors.primary.main,
4299
+ [vars$e.textColor]: globalRefs$6.colors.primary.main,
4273
4300
  },
4274
4301
  secondary: {
4275
- [vars$d.textColor]: globalRefs$6.colors.secondary.main,
4302
+ [vars$e.textColor]: globalRefs$6.colors.secondary.main,
4276
4303
  },
4277
4304
  error: {
4278
- [vars$d.textColor]: globalRefs$6.colors.error.main,
4305
+ [vars$e.textColor]: globalRefs$6.colors.error.main,
4279
4306
  },
4280
4307
  success: {
4281
- [vars$d.textColor]: globalRefs$6.colors.success.main,
4308
+ [vars$e.textColor]: globalRefs$6.colors.success.main,
4282
4309
  },
4283
4310
  },
4284
4311
  };
@@ -4286,11 +4313,11 @@ const link = {
4286
4313
  var link$1 = /*#__PURE__*/Object.freeze({
4287
4314
  __proto__: null,
4288
4315
  default: link,
4289
- vars: vars$d
4316
+ vars: vars$e
4290
4317
  });
4291
4318
 
4292
- const componentName$h = getComponentName('divider');
4293
- class RawDivider extends createBaseClass({ componentName: componentName$h, baseSelector: ':host > div' }) {
4319
+ const componentName$i = getComponentName('divider');
4320
+ class RawDivider extends createBaseClass({ componentName: componentName$i, baseSelector: ':host > div' }) {
4294
4321
  constructor() {
4295
4322
  super();
4296
4323
 
@@ -4387,64 +4414,64 @@ const DividerClass = compose(
4387
4414
  )(RawDivider);
4388
4415
 
4389
4416
  const globalRefs$5 = getThemeRefs(globals);
4390
- const compVars$1 = DividerClass.cssVarList;
4417
+ const compVars$2 = DividerClass.cssVarList;
4391
4418
 
4392
4419
  const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
4393
4420
  {
4394
4421
  thickness: '2px',
4395
4422
  spacing: '10px',
4396
4423
  },
4397
- componentName$h
4424
+ componentName$i
4398
4425
  );
4399
4426
 
4400
4427
  const divider = {
4401
4428
  ...helperTheme$1,
4402
4429
 
4403
- [compVars$1.alignItems]: 'center',
4404
- [compVars$1.flexDirection]: 'row',
4405
- [compVars$1.alignSelf]: 'stretch',
4406
- [compVars$1.hostWidth]: '100%',
4407
- [compVars$1.stripeColor]: globalRefs$5.colors.surface.main,
4408
- [compVars$1.stripeColorOpacity]: '0.5',
4409
- [compVars$1.stripeHorizontalThickness]: helperRefs$1.thickness,
4410
- [compVars$1.labelTextWidth]: 'fit-content',
4411
- [compVars$1.labelTextMaxWidth]: 'calc(100% - 100px)',
4412
- [compVars$1.labelTextHorizontalSpacing]: helperRefs$1.spacing,
4430
+ [compVars$2.alignItems]: 'center',
4431
+ [compVars$2.flexDirection]: 'row',
4432
+ [compVars$2.alignSelf]: 'stretch',
4433
+ [compVars$2.hostWidth]: '100%',
4434
+ [compVars$2.stripeColor]: globalRefs$5.colors.surface.main,
4435
+ [compVars$2.stripeColorOpacity]: '0.5',
4436
+ [compVars$2.stripeHorizontalThickness]: helperRefs$1.thickness,
4437
+ [compVars$2.labelTextWidth]: 'fit-content',
4438
+ [compVars$2.labelTextMaxWidth]: 'calc(100% - 100px)',
4439
+ [compVars$2.labelTextHorizontalSpacing]: helperRefs$1.spacing,
4413
4440
 
4414
4441
  _vertical: {
4415
- [compVars$1.minHeight]: '200px',
4416
- [compVars$1.flexDirection]: 'column',
4417
- [compVars$1.hostWidth]: 'fit-content',
4418
- [compVars$1.hostPadding]: `0 calc(${helperRefs$1.thickness} * 3)`,
4419
- [compVars$1.stripeVerticalThickness]: helperRefs$1.thickness,
4420
- [compVars$1.labelTextWidth]: 'fit-content',
4421
- [compVars$1.labelTextMaxWidth]: '100%',
4422
- [compVars$1.labelTextVerticalSpacing]: helperRefs$1.spacing,
4442
+ [compVars$2.minHeight]: '200px',
4443
+ [compVars$2.flexDirection]: 'column',
4444
+ [compVars$2.hostWidth]: 'fit-content',
4445
+ [compVars$2.hostPadding]: `0 calc(${helperRefs$1.thickness} * 3)`,
4446
+ [compVars$2.stripeVerticalThickness]: helperRefs$1.thickness,
4447
+ [compVars$2.labelTextWidth]: 'fit-content',
4448
+ [compVars$2.labelTextMaxWidth]: '100%',
4449
+ [compVars$2.labelTextVerticalSpacing]: helperRefs$1.spacing,
4423
4450
  },
4424
4451
  };
4425
4452
 
4426
- const vars$c = {
4427
- ...compVars$1,
4453
+ const vars$d = {
4454
+ ...compVars$2,
4428
4455
  ...helperVars$1,
4429
4456
  };
4430
4457
 
4431
4458
  var divider$1 = /*#__PURE__*/Object.freeze({
4432
4459
  __proto__: null,
4433
4460
  default: divider,
4434
- vars: vars$c
4461
+ vars: vars$d
4435
4462
  });
4436
4463
 
4437
4464
  /* eslint-disable no-param-reassign */
4438
4465
 
4439
- const componentName$g = getComponentName('passcode-internal');
4466
+ const componentName$h = getComponentName('passcode-internal');
4440
4467
 
4441
- createBaseInputClass({ componentName: componentName$g, baseSelector: 'div' });
4468
+ createBaseInputClass({ componentName: componentName$h, baseSelector: 'div' });
4442
4469
 
4443
- const componentName$f = getComponentName('passcode');
4470
+ const componentName$g = getComponentName('passcode');
4444
4471
 
4445
4472
  const observedAttributes$3 = ['digits'];
4446
4473
 
4447
- const customMixin$4 = (superclass) =>
4474
+ const customMixin$5 = (superclass) =>
4448
4475
  class PasscodeMixinClass extends superclass {
4449
4476
  static get observedAttributes() {
4450
4477
  return observedAttributes$3.concat(superclass.observedAttributes || []);
@@ -4459,17 +4486,17 @@ const customMixin$4 = (superclass) =>
4459
4486
  const template = document.createElement('template');
4460
4487
 
4461
4488
  template.innerHTML = `
4462
- <${componentName$g}
4489
+ <${componentName$h}
4463
4490
  bordered="true"
4464
4491
  name="code"
4465
4492
  tabindex="-1"
4466
4493
  slot="input"
4467
- ><slot></slot></${componentName$g}>
4494
+ ><slot></slot></${componentName$h}>
4468
4495
  `;
4469
4496
 
4470
4497
  this.baseElement.appendChild(template.content.cloneNode(true));
4471
4498
 
4472
- this.inputElement = this.shadowRoot.querySelector(componentName$g);
4499
+ this.inputElement = this.shadowRoot.querySelector(componentName$h);
4473
4500
 
4474
4501
  forwardAttrs(this, this.inputElement, { includeAttrs: ['digits', 'size'] });
4475
4502
  }
@@ -4536,7 +4563,7 @@ const PasscodeClass = compose(
4536
4563
  draggableMixin,
4537
4564
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
4538
4565
  componentNameValidationMixin,
4539
- customMixin$4
4566
+ customMixin$5
4540
4567
  )(
4541
4568
  createProxy({
4542
4569
  slots: [],
@@ -4607,44 +4634,44 @@ const PasscodeClass = compose(
4607
4634
  ${resetInputCursor('vaadin-text-field')}
4608
4635
  `,
4609
4636
  excludeAttrsSync: ['tabindex'],
4610
- componentName: componentName$f,
4637
+ componentName: componentName$g,
4611
4638
  })
4612
4639
  );
4613
4640
 
4614
- const vars$b = PasscodeClass.cssVarList;
4641
+ const vars$c = PasscodeClass.cssVarList;
4615
4642
 
4616
4643
  const passcode = {
4617
- [vars$b.fontFamily]: refs.fontFamily,
4618
- [vars$b.fontSize]: refs.fontSize,
4619
- [vars$b.labelTextColor]: refs.labelTextColor,
4620
- [vars$b.labelRequiredIndicator]: refs.requiredIndicator,
4621
- [vars$b.errorMessageTextColor]: refs.errorMessageTextColor,
4622
- [vars$b.digitValueTextColor]: refs.valueTextColor,
4623
- [vars$b.digitPadding]: '0',
4624
- [vars$b.digitTextAlign]: 'center',
4625
- [vars$b.digitSpacing]: '4px',
4626
- [vars$b.hostWidth]: refs.width,
4627
- [vars$b.digitOutlineColor]: 'transparent',
4628
- [vars$b.digitOutlineWidth]: refs.outlineWidth,
4629
- [vars$b.focusedDigitFieldOutlineColor]: refs.outlineColor,
4630
- [vars$b.digitSize]: refs.inputHeight,
4644
+ [vars$c.fontFamily]: refs.fontFamily,
4645
+ [vars$c.fontSize]: refs.fontSize,
4646
+ [vars$c.labelTextColor]: refs.labelTextColor,
4647
+ [vars$c.labelRequiredIndicator]: refs.requiredIndicator,
4648
+ [vars$c.errorMessageTextColor]: refs.errorMessageTextColor,
4649
+ [vars$c.digitValueTextColor]: refs.valueTextColor,
4650
+ [vars$c.digitPadding]: '0',
4651
+ [vars$c.digitTextAlign]: 'center',
4652
+ [vars$c.digitSpacing]: '4px',
4653
+ [vars$c.hostWidth]: refs.width,
4654
+ [vars$c.digitOutlineColor]: 'transparent',
4655
+ [vars$c.digitOutlineWidth]: refs.outlineWidth,
4656
+ [vars$c.focusedDigitFieldOutlineColor]: refs.outlineColor,
4657
+ [vars$c.digitSize]: refs.inputHeight,
4631
4658
 
4632
4659
  _hideCursor: {
4633
- [vars$b.digitCaretTextColor]: 'transparent',
4660
+ [vars$c.digitCaretTextColor]: 'transparent',
4634
4661
  },
4635
4662
  };
4636
4663
 
4637
4664
  var passcode$1 = /*#__PURE__*/Object.freeze({
4638
4665
  __proto__: null,
4639
4666
  default: passcode,
4640
- vars: vars$b
4667
+ vars: vars$c
4641
4668
  });
4642
4669
 
4643
- const componentName$e = getComponentName('loader-linear');
4670
+ const componentName$f = getComponentName('loader-linear');
4644
4671
 
4645
- class RawLoaderLinear extends createBaseClass({ componentName: componentName$e, baseSelector: ':host > div' }) {
4672
+ class RawLoaderLinear extends createBaseClass({ componentName: componentName$f, baseSelector: ':host > div' }) {
4646
4673
  static get componentName() {
4647
- return componentName$e;
4674
+ return componentName$f;
4648
4675
  }
4649
4676
 
4650
4677
  constructor() {
@@ -4706,53 +4733,53 @@ const LoaderLinearClass = compose(
4706
4733
  )(RawLoaderLinear);
4707
4734
 
4708
4735
  const globalRefs$4 = getThemeRefs(globals);
4709
- const vars$a = LoaderLinearClass.cssVarList;
4736
+ const vars$b = LoaderLinearClass.cssVarList;
4710
4737
 
4711
4738
  const loaderLinear = {
4712
- [vars$a.hostDisplay]: 'inline-block',
4713
- [vars$a.hostWidth]: '100%',
4739
+ [vars$b.hostDisplay]: 'inline-block',
4740
+ [vars$b.hostWidth]: '100%',
4714
4741
 
4715
- [vars$a.barColor]: globalRefs$4.colors.surface.contrast,
4716
- [vars$a.barWidth]: '20%',
4742
+ [vars$b.barColor]: globalRefs$4.colors.surface.contrast,
4743
+ [vars$b.barWidth]: '20%',
4717
4744
 
4718
- [vars$a.barBackgroundColor]: globalRefs$4.colors.surface.main,
4719
- [vars$a.barBorderRadius]: '4px',
4745
+ [vars$b.barBackgroundColor]: globalRefs$4.colors.surface.main,
4746
+ [vars$b.barBorderRadius]: '4px',
4720
4747
 
4721
- [vars$a.animationDuration]: '2s',
4722
- [vars$a.animationTimingFunction]: 'linear',
4723
- [vars$a.animationIterationCount]: 'infinite',
4724
- [vars$a.verticalPadding]: '0.25em',
4748
+ [vars$b.animationDuration]: '2s',
4749
+ [vars$b.animationTimingFunction]: 'linear',
4750
+ [vars$b.animationIterationCount]: 'infinite',
4751
+ [vars$b.verticalPadding]: '0.25em',
4725
4752
 
4726
4753
  size: {
4727
- xs: { [vars$a.barHeight]: '2px' },
4728
- sm: { [vars$a.barHeight]: '4px' },
4729
- md: { [vars$a.barHeight]: '6px' },
4730
- lg: { [vars$a.barHeight]: '8px' },
4754
+ xs: { [vars$b.barHeight]: '2px' },
4755
+ sm: { [vars$b.barHeight]: '4px' },
4756
+ md: { [vars$b.barHeight]: '6px' },
4757
+ lg: { [vars$b.barHeight]: '8px' },
4731
4758
  },
4732
4759
 
4733
4760
  mode: {
4734
4761
  primary: {
4735
- [vars$a.barColor]: globalRefs$4.colors.primary.main,
4762
+ [vars$b.barColor]: globalRefs$4.colors.primary.main,
4736
4763
  },
4737
4764
  secondary: {
4738
- [vars$a.barColor]: globalRefs$4.colors.secondary.main,
4765
+ [vars$b.barColor]: globalRefs$4.colors.secondary.main,
4739
4766
  },
4740
4767
  },
4741
4768
 
4742
4769
  _hidden: {
4743
- [vars$a.hostDisplay]: 'none',
4770
+ [vars$b.hostDisplay]: 'none',
4744
4771
  },
4745
4772
  };
4746
4773
 
4747
4774
  var loaderLinear$1 = /*#__PURE__*/Object.freeze({
4748
4775
  __proto__: null,
4749
4776
  default: loaderLinear,
4750
- vars: vars$a
4777
+ vars: vars$b
4751
4778
  });
4752
4779
 
4753
- const componentName$d = getComponentName('loader-radial');
4780
+ const componentName$e = getComponentName('loader-radial');
4754
4781
 
4755
- class RawLoaderRadial extends createBaseClass({ componentName: componentName$d, baseSelector: ':host > div' }) {
4782
+ class RawLoaderRadial extends createBaseClass({ componentName: componentName$e, baseSelector: ':host > div' }) {
4756
4783
  constructor() {
4757
4784
  super();
4758
4785
 
@@ -4797,7 +4824,7 @@ const LoaderRadialClass = compose(
4797
4824
  )(RawLoaderRadial);
4798
4825
 
4799
4826
  const globalRefs$3 = getThemeRefs(globals);
4800
- const compVars = LoaderRadialClass.cssVarList;
4827
+ const compVars$1 = LoaderRadialClass.cssVarList;
4801
4828
 
4802
4829
  const [helperTheme, helperRefs, helperVars] = createHelperVars(
4803
4830
  {
@@ -4811,47 +4838,47 @@ const [helperTheme, helperRefs, helperVars] = createHelperVars(
4811
4838
  },
4812
4839
  },
4813
4840
  },
4814
- componentName$d
4841
+ componentName$e
4815
4842
  );
4816
4843
 
4817
4844
  const loaderRadial = {
4818
4845
  ...helperTheme,
4819
4846
 
4820
- [compVars.animationDuration]: '2s',
4821
- [compVars.animationTimingFunction]: 'linear',
4822
- [compVars.animationIterationCount]: 'infinite',
4823
- [compVars.spinnerBorderStyle]: 'solid',
4824
- [compVars.spinnerBorderWidth]: '0.2em',
4825
- [compVars.spinnerBorderRadius]: '50%',
4826
- [compVars.spinnerQuadrant1Color]: helperRefs.spinnerColor,
4827
- [compVars.spinnerQuadrant2Color]: 'transparent',
4828
- [compVars.spinnerQuadrant3Color]: helperRefs.spinnerColor,
4829
- [compVars.spinnerQuadrant4Color]: 'transparent',
4847
+ [compVars$1.animationDuration]: '2s',
4848
+ [compVars$1.animationTimingFunction]: 'linear',
4849
+ [compVars$1.animationIterationCount]: 'infinite',
4850
+ [compVars$1.spinnerBorderStyle]: 'solid',
4851
+ [compVars$1.spinnerBorderWidth]: '0.2em',
4852
+ [compVars$1.spinnerBorderRadius]: '50%',
4853
+ [compVars$1.spinnerQuadrant1Color]: helperRefs.spinnerColor,
4854
+ [compVars$1.spinnerQuadrant2Color]: 'transparent',
4855
+ [compVars$1.spinnerQuadrant3Color]: helperRefs.spinnerColor,
4856
+ [compVars$1.spinnerQuadrant4Color]: 'transparent',
4830
4857
 
4831
4858
  size: {
4832
- xs: { [compVars.spinnerSize]: '20px' },
4833
- sm: { [compVars.spinnerSize]: '30px' },
4834
- md: { [compVars.spinnerSize]: '40px' },
4835
- lg: { [compVars.spinnerSize]: '60px' },
4836
- xl: { [compVars.spinnerSize]: '80px' },
4859
+ xs: { [compVars$1.spinnerSize]: '20px' },
4860
+ sm: { [compVars$1.spinnerSize]: '30px' },
4861
+ md: { [compVars$1.spinnerSize]: '40px' },
4862
+ lg: { [compVars$1.spinnerSize]: '60px' },
4863
+ xl: { [compVars$1.spinnerSize]: '80px' },
4837
4864
  },
4838
4865
 
4839
4866
  _hidden: {
4840
- [compVars.hostDisplay]: 'none',
4867
+ [compVars$1.hostDisplay]: 'none',
4841
4868
  },
4842
4869
  };
4843
- const vars$9 = {
4844
- ...compVars,
4870
+ const vars$a = {
4871
+ ...compVars$1,
4845
4872
  ...helperVars,
4846
4873
  };
4847
4874
 
4848
4875
  var loaderRadial$1 = /*#__PURE__*/Object.freeze({
4849
4876
  __proto__: null,
4850
4877
  default: loaderRadial,
4851
- vars: vars$9
4878
+ vars: vars$a
4852
4879
  });
4853
4880
 
4854
- const componentName$c = getComponentName('combo-box');
4881
+ const componentName$d = getComponentName('combo-box');
4855
4882
 
4856
4883
  const ComboBoxMixin = (superclass) =>
4857
4884
  class ComboBoxMixinClass extends superclass {
@@ -5202,66 +5229,66 @@ const ComboBoxClass = compose(
5202
5229
  // and reset items to an empty array, and opening the list box with no items
5203
5230
  // to display.
5204
5231
  excludeAttrsSync: ['tabindex', 'size', 'data'],
5205
- componentName: componentName$c,
5232
+ componentName: componentName$d,
5206
5233
  includeForwardProps: ['items', 'renderer', 'selectedItem'],
5207
5234
  })
5208
5235
  );
5209
5236
 
5210
5237
  const globalRefs$2 = getThemeRefs(globals);
5211
- const vars$8 = ComboBoxClass.cssVarList;
5238
+ const vars$9 = ComboBoxClass.cssVarList;
5212
5239
 
5213
5240
  const comboBox = {
5214
- [vars$8.hostWidth]: refs.width,
5215
- [vars$8.fontSize]: refs.fontSize,
5216
- [vars$8.fontFamily]: refs.fontFamily,
5217
- [vars$8.labelTextColor]: refs.labelTextColor,
5218
- [vars$8.errorMessageTextColor]: refs.errorMessageTextColor,
5219
- [vars$8.inputBorderColor]: refs.borderColor,
5220
- [vars$8.inputBorderWidth]: refs.borderWidth,
5221
- [vars$8.inputBorderStyle]: refs.borderStyle,
5222
- [vars$8.inputBorderRadius]: refs.borderRadius,
5223
- [vars$8.inputOutlineColor]: refs.outlineColor,
5224
- [vars$8.inputOutlineOffset]: refs.outlineOffset,
5225
- [vars$8.inputOutlineWidth]: refs.outlineWidth,
5226
- [vars$8.inputOutlineStyle]: refs.outlineStyle,
5227
- [vars$8.labelRequiredIndicator]: refs.requiredIndicator,
5228
- [vars$8.inputValueTextColor]: refs.valueTextColor,
5229
- [vars$8.inputPlaceholderTextColor]: refs.placeholderTextColor,
5230
- [vars$8.inputBackgroundColor]: refs.backgroundColor,
5231
- [vars$8.inputHorizontalPadding]: refs.horizontalPadding,
5232
- [vars$8.inputHeight]: refs.inputHeight,
5233
- [vars$8.inputDropdownButtonColor]: globalRefs$2.colors.surface.contrast,
5234
- [vars$8.inputDropdownButtonCursor]: 'pointer',
5235
- [vars$8.inputDropdownButtonSize]: refs.toggleButtonSize,
5236
- [vars$8.inputDropdownButtonOffset]: globalRefs$2.spacing.xs,
5241
+ [vars$9.hostWidth]: refs.width,
5242
+ [vars$9.fontSize]: refs.fontSize,
5243
+ [vars$9.fontFamily]: refs.fontFamily,
5244
+ [vars$9.labelTextColor]: refs.labelTextColor,
5245
+ [vars$9.errorMessageTextColor]: refs.errorMessageTextColor,
5246
+ [vars$9.inputBorderColor]: refs.borderColor,
5247
+ [vars$9.inputBorderWidth]: refs.borderWidth,
5248
+ [vars$9.inputBorderStyle]: refs.borderStyle,
5249
+ [vars$9.inputBorderRadius]: refs.borderRadius,
5250
+ [vars$9.inputOutlineColor]: refs.outlineColor,
5251
+ [vars$9.inputOutlineOffset]: refs.outlineOffset,
5252
+ [vars$9.inputOutlineWidth]: refs.outlineWidth,
5253
+ [vars$9.inputOutlineStyle]: refs.outlineStyle,
5254
+ [vars$9.labelRequiredIndicator]: refs.requiredIndicator,
5255
+ [vars$9.inputValueTextColor]: refs.valueTextColor,
5256
+ [vars$9.inputPlaceholderTextColor]: refs.placeholderTextColor,
5257
+ [vars$9.inputBackgroundColor]: refs.backgroundColor,
5258
+ [vars$9.inputHorizontalPadding]: refs.horizontalPadding,
5259
+ [vars$9.inputHeight]: refs.inputHeight,
5260
+ [vars$9.inputDropdownButtonColor]: globalRefs$2.colors.surface.contrast,
5261
+ [vars$9.inputDropdownButtonCursor]: 'pointer',
5262
+ [vars$9.inputDropdownButtonSize]: refs.toggleButtonSize,
5263
+ [vars$9.inputDropdownButtonOffset]: globalRefs$2.spacing.xs,
5237
5264
 
5238
5265
  _readonly: {
5239
- [vars$8.inputDropdownButtonCursor]: 'default',
5266
+ [vars$9.inputDropdownButtonCursor]: 'default',
5240
5267
  },
5241
5268
 
5242
5269
  // Overlay theme exposed via the component:
5243
- [vars$8.overlayFontSize]: refs.fontSize,
5244
- [vars$8.overlayFontFamily]: refs.fontFamily,
5245
- [vars$8.overlayCursor]: 'pointer',
5246
- [vars$8.overlayItemBoxShadow]: 'none',
5270
+ [vars$9.overlayFontSize]: refs.fontSize,
5271
+ [vars$9.overlayFontFamily]: refs.fontFamily,
5272
+ [vars$9.overlayCursor]: 'pointer',
5273
+ [vars$9.overlayItemBoxShadow]: 'none',
5247
5274
 
5248
5275
  // Overlay direct theme:
5249
- [vars$8.overlay.minHeight]: '400px',
5250
- [vars$8.overlay.margin]: '0',
5276
+ [vars$9.overlay.minHeight]: '400px',
5277
+ [vars$9.overlay.margin]: '0',
5251
5278
  };
5252
5279
 
5253
5280
  var comboBox$1 = /*#__PURE__*/Object.freeze({
5254
5281
  __proto__: null,
5255
5282
  comboBox: comboBox,
5256
5283
  default: comboBox,
5257
- vars: vars$8
5284
+ vars: vars$9
5258
5285
  });
5259
5286
 
5260
5287
  const observedAttributes$2 = ['src', 'alt'];
5261
5288
 
5262
- const componentName$b = getComponentName('image');
5289
+ const componentName$c = getComponentName('image');
5263
5290
 
5264
- const BaseClass$1 = createBaseClass({ componentName: componentName$b, baseSelector: ':host > img' });
5291
+ const BaseClass$1 = createBaseClass({ componentName: componentName$c, baseSelector: ':host > img' });
5265
5292
  class RawImage extends BaseClass$1 {
5266
5293
  static get observedAttributes() {
5267
5294
  return observedAttributes$2.concat(BaseClass$1.observedAttributes || []);
@@ -5301,14 +5328,14 @@ const ImageClass = compose(
5301
5328
  draggableMixin
5302
5329
  )(RawImage);
5303
5330
 
5304
- const vars$7 = ImageClass.cssVarList;
5331
+ const vars$8 = ImageClass.cssVarList;
5305
5332
 
5306
5333
  const image = {};
5307
5334
 
5308
5335
  var image$1 = /*#__PURE__*/Object.freeze({
5309
5336
  __proto__: null,
5310
5337
  default: image,
5311
- vars: vars$7
5338
+ vars: vars$8
5312
5339
  });
5313
5340
 
5314
5341
  var CountryCodes = [
@@ -6524,16 +6551,16 @@ var CountryCodes = [
6524
6551
  },
6525
6552
  ].sort((a, b) => (a.name < b.name ? -1 : 1));
6526
6553
 
6527
- const componentName$a = getComponentName('phone-field-internal');
6554
+ const componentName$b = getComponentName('phone-field-internal');
6528
6555
 
6529
- createBaseInputClass({ componentName: componentName$a, baseSelector: 'div' });
6556
+ createBaseInputClass({ componentName: componentName$b, baseSelector: 'div' });
6530
6557
 
6531
6558
  const textVars$1 = TextFieldClass.cssVarList;
6532
6559
  const comboVars = ComboBoxClass.cssVarList;
6533
6560
 
6534
- const componentName$9 = getComponentName('phone-field');
6561
+ const componentName$a = getComponentName('phone-field');
6535
6562
 
6536
- const customMixin$3 = (superclass) =>
6563
+ const customMixin$4 = (superclass) =>
6537
6564
  class PhoneFieldMixinClass extends superclass {
6538
6565
  static get CountryCodes() {
6539
6566
  return CountryCodes;
@@ -6545,15 +6572,15 @@ const customMixin$3 = (superclass) =>
6545
6572
  const template = document.createElement('template');
6546
6573
 
6547
6574
  template.innerHTML = `
6548
- <${componentName$a}
6575
+ <${componentName$b}
6549
6576
  tabindex="-1"
6550
6577
  slot="input"
6551
- ></${componentName$a}>
6578
+ ></${componentName$b}>
6552
6579
  `;
6553
6580
 
6554
6581
  this.baseElement.appendChild(template.content.cloneNode(true));
6555
6582
 
6556
- this.inputElement = this.shadowRoot.querySelector(componentName$a);
6583
+ this.inputElement = this.shadowRoot.querySelector(componentName$b);
6557
6584
 
6558
6585
  forwardAttrs(this.shadowRoot.host, this.inputElement, {
6559
6586
  includeAttrs: [
@@ -6672,7 +6699,7 @@ const PhoneFieldClass = compose(
6672
6699
  }),
6673
6700
  draggableMixin,
6674
6701
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
6675
- customMixin$3
6702
+ customMixin$4
6676
6703
  )(
6677
6704
  createProxy({
6678
6705
  slots: [],
@@ -6748,32 +6775,32 @@ const PhoneFieldClass = compose(
6748
6775
  }
6749
6776
  `,
6750
6777
  excludeAttrsSync: ['tabindex'],
6751
- componentName: componentName$9,
6778
+ componentName: componentName$a,
6752
6779
  })
6753
6780
  );
6754
6781
 
6755
- const vars$6 = PhoneFieldClass.cssVarList;
6782
+ const vars$7 = PhoneFieldClass.cssVarList;
6756
6783
 
6757
6784
  const phoneField = {
6758
- [vars$6.hostWidth]: refs.width,
6759
- [vars$6.fontSize]: refs.fontSize,
6760
- [vars$6.fontFamily]: refs.fontFamily,
6761
- [vars$6.labelTextColor]: refs.labelTextColor,
6762
- [vars$6.labelRequiredIndicator]: refs.requiredIndicator,
6763
- [vars$6.errorMessageTextColor]: refs.errorMessageTextColor,
6764
- [vars$6.inputValueTextColor]: refs.valueTextColor,
6765
- [vars$6.inputPlaceholderTextColor]: refs.placeholderTextColor,
6766
- [vars$6.inputBorderStyle]: refs.borderStyle,
6767
- [vars$6.inputBorderWidth]: refs.borderWidth,
6768
- [vars$6.inputBorderColor]: refs.borderColor,
6769
- [vars$6.inputBorderRadius]: refs.borderRadius,
6770
- [vars$6.inputOutlineStyle]: refs.outlineStyle,
6771
- [vars$6.inputOutlineWidth]: refs.outlineWidth,
6772
- [vars$6.inputOutlineColor]: refs.outlineColor,
6773
- [vars$6.inputOutlineOffset]: refs.outlineOffset,
6774
- [vars$6.phoneInputWidth]: refs.minWidth,
6775
- [vars$6.countryCodeInputWidth]: '5em',
6776
- [vars$6.countryCodeDropdownWidth]: '20em',
6785
+ [vars$7.hostWidth]: refs.width,
6786
+ [vars$7.fontSize]: refs.fontSize,
6787
+ [vars$7.fontFamily]: refs.fontFamily,
6788
+ [vars$7.labelTextColor]: refs.labelTextColor,
6789
+ [vars$7.labelRequiredIndicator]: refs.requiredIndicator,
6790
+ [vars$7.errorMessageTextColor]: refs.errorMessageTextColor,
6791
+ [vars$7.inputValueTextColor]: refs.valueTextColor,
6792
+ [vars$7.inputPlaceholderTextColor]: refs.placeholderTextColor,
6793
+ [vars$7.inputBorderStyle]: refs.borderStyle,
6794
+ [vars$7.inputBorderWidth]: refs.borderWidth,
6795
+ [vars$7.inputBorderColor]: refs.borderColor,
6796
+ [vars$7.inputBorderRadius]: refs.borderRadius,
6797
+ [vars$7.inputOutlineStyle]: refs.outlineStyle,
6798
+ [vars$7.inputOutlineWidth]: refs.outlineWidth,
6799
+ [vars$7.inputOutlineColor]: refs.outlineColor,
6800
+ [vars$7.inputOutlineOffset]: refs.outlineOffset,
6801
+ [vars$7.phoneInputWidth]: refs.minWidth,
6802
+ [vars$7.countryCodeInputWidth]: '5em',
6803
+ [vars$7.countryCodeDropdownWidth]: '20em',
6777
6804
 
6778
6805
  // '@overlay': {
6779
6806
  // overlayItemBackgroundColor: 'red'
@@ -6783,18 +6810,18 @@ const phoneField = {
6783
6810
  var phoneField$1 = /*#__PURE__*/Object.freeze({
6784
6811
  __proto__: null,
6785
6812
  default: phoneField,
6786
- vars: vars$6
6813
+ vars: vars$7
6787
6814
  });
6788
6815
 
6789
- const componentName$8 = getComponentName('phone-field-internal-input-box');
6816
+ const componentName$9 = getComponentName('phone-field-internal-input-box');
6790
6817
 
6791
- createBaseInputClass({ componentName: componentName$8, baseSelector: 'div' });
6818
+ createBaseInputClass({ componentName: componentName$9, baseSelector: 'div' });
6792
6819
 
6793
6820
  const textVars = TextFieldClass.cssVarList;
6794
6821
 
6795
- const componentName$7 = getComponentName('phone-input-box-field');
6822
+ const componentName$8 = getComponentName('phone-input-box-field');
6796
6823
 
6797
- const customMixin$2 = (superclass) =>
6824
+ const customMixin$3 = (superclass) =>
6798
6825
  class PhoneInputBoxFieldMixinClass extends superclass {
6799
6826
  static get CountryCodes() {
6800
6827
  return CountryCodes;
@@ -6806,15 +6833,15 @@ const customMixin$2 = (superclass) =>
6806
6833
  const template = document.createElement('template');
6807
6834
 
6808
6835
  template.innerHTML = `
6809
- <${componentName$8}
6836
+ <${componentName$9}
6810
6837
  tabindex="-1"
6811
6838
  slot="input"
6812
- ></${componentName$8}>
6839
+ ></${componentName$9}>
6813
6840
  `;
6814
6841
 
6815
6842
  this.baseElement.appendChild(template.content.cloneNode(true));
6816
6843
 
6817
- this.inputElement = this.shadowRoot.querySelector(componentName$8);
6844
+ this.inputElement = this.shadowRoot.querySelector(componentName$9);
6818
6845
 
6819
6846
  forwardAttrs(this.shadowRoot.host, this.inputElement, {
6820
6847
  includeAttrs: [
@@ -6880,7 +6907,7 @@ const PhoneFieldInputBoxClass = compose(
6880
6907
  }),
6881
6908
  draggableMixin,
6882
6909
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
6883
- customMixin$2
6910
+ customMixin$3
6884
6911
  )(
6885
6912
  createProxy({
6886
6913
  slots: [],
@@ -6946,46 +6973,46 @@ const PhoneFieldInputBoxClass = compose(
6946
6973
  }
6947
6974
  `,
6948
6975
  excludeAttrsSync: ['tabindex'],
6949
- componentName: componentName$7,
6976
+ componentName: componentName$8,
6950
6977
  })
6951
6978
  );
6952
6979
 
6953
- const vars$5 = PhoneFieldInputBoxClass.cssVarList;
6980
+ const vars$6 = PhoneFieldInputBoxClass.cssVarList;
6954
6981
 
6955
6982
  const phoneInputBoxField = {
6956
- [vars$5.hostWidth]: '16em',
6957
- [vars$5.hostMinWidth]: refs.minWidth,
6958
- [vars$5.fontSize]: refs.fontSize,
6959
- [vars$5.fontFamily]: refs.fontFamily,
6960
- [vars$5.labelTextColor]: refs.labelTextColor,
6961
- [vars$5.labelRequiredIndicator]: refs.requiredIndicator,
6962
- [vars$5.errorMessageTextColor]: refs.errorMessageTextColor,
6963
- [vars$5.inputValueTextColor]: refs.valueTextColor,
6964
- [vars$5.inputPlaceholderTextColor]: refs.placeholderTextColor,
6965
- [vars$5.inputBorderStyle]: refs.borderStyle,
6966
- [vars$5.inputBorderWidth]: refs.borderWidth,
6967
- [vars$5.inputBorderColor]: refs.borderColor,
6968
- [vars$5.inputBorderRadius]: refs.borderRadius,
6969
- [vars$5.inputOutlineStyle]: refs.outlineStyle,
6970
- [vars$5.inputOutlineWidth]: refs.outlineWidth,
6971
- [vars$5.inputOutlineColor]: refs.outlineColor,
6972
- [vars$5.inputOutlineOffset]: refs.outlineOffset,
6983
+ [vars$6.hostWidth]: '16em',
6984
+ [vars$6.hostMinWidth]: refs.minWidth,
6985
+ [vars$6.fontSize]: refs.fontSize,
6986
+ [vars$6.fontFamily]: refs.fontFamily,
6987
+ [vars$6.labelTextColor]: refs.labelTextColor,
6988
+ [vars$6.labelRequiredIndicator]: refs.requiredIndicator,
6989
+ [vars$6.errorMessageTextColor]: refs.errorMessageTextColor,
6990
+ [vars$6.inputValueTextColor]: refs.valueTextColor,
6991
+ [vars$6.inputPlaceholderTextColor]: refs.placeholderTextColor,
6992
+ [vars$6.inputBorderStyle]: refs.borderStyle,
6993
+ [vars$6.inputBorderWidth]: refs.borderWidth,
6994
+ [vars$6.inputBorderColor]: refs.borderColor,
6995
+ [vars$6.inputBorderRadius]: refs.borderRadius,
6996
+ [vars$6.inputOutlineStyle]: refs.outlineStyle,
6997
+ [vars$6.inputOutlineWidth]: refs.outlineWidth,
6998
+ [vars$6.inputOutlineColor]: refs.outlineColor,
6999
+ [vars$6.inputOutlineOffset]: refs.outlineOffset,
6973
7000
  _fullWidth: {
6974
- [vars$5.hostWidth]: refs.width,
7001
+ [vars$6.hostWidth]: refs.width,
6975
7002
  },
6976
7003
  };
6977
7004
 
6978
7005
  var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
6979
7006
  __proto__: null,
6980
7007
  default: phoneInputBoxField,
6981
- vars: vars$5
7008
+ vars: vars$6
6982
7009
  });
6983
7010
 
6984
- const componentName$6 = getComponentName('new-password-internal');
7011
+ const componentName$7 = getComponentName('new-password-internal');
6985
7012
 
6986
- const componentName$5 = getComponentName('new-password');
7013
+ const componentName$6 = getComponentName('new-password');
6987
7014
 
6988
- const customMixin$1 = (superclass) =>
7015
+ const customMixin$2 = (superclass) =>
6989
7016
  class NewPasswordMixinClass extends superclass {
6990
7017
  init() {
6991
7018
  super.init?.();
@@ -6993,16 +7020,16 @@ const customMixin$1 = (superclass) =>
6993
7020
  const template = document.createElement('template');
6994
7021
 
6995
7022
  template.innerHTML = `
6996
- <${componentName$6}
7023
+ <${componentName$7}
6997
7024
  name="new-password"
6998
7025
  tabindex="-1"
6999
7026
  slot="input"
7000
- ></${componentName$6}>
7027
+ ></${componentName$7}>
7001
7028
  `;
7002
7029
 
7003
7030
  this.baseElement.appendChild(template.content.cloneNode(true));
7004
7031
 
7005
- this.inputElement = this.shadowRoot.querySelector(componentName$6);
7032
+ this.inputElement = this.shadowRoot.querySelector(componentName$7);
7006
7033
 
7007
7034
  forwardAttrs(this, this.inputElement, {
7008
7035
  includeAttrs: [
@@ -7052,7 +7079,7 @@ const NewPasswordClass = compose(
7052
7079
  }),
7053
7080
  draggableMixin,
7054
7081
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
7055
- customMixin$1
7082
+ customMixin$2
7056
7083
  )(
7057
7084
  createProxy({
7058
7085
  slots: [],
@@ -7101,32 +7128,32 @@ const NewPasswordClass = compose(
7101
7128
  },
7102
7129
  `,
7103
7130
  excludeAttrsSync: ['tabindex'],
7104
- componentName: componentName$5,
7131
+ componentName: componentName$6,
7105
7132
  })
7106
7133
  );
7107
7134
 
7108
- const vars$4 = NewPasswordClass.cssVarList;
7135
+ const vars$5 = NewPasswordClass.cssVarList;
7109
7136
 
7110
7137
  const newPassword = {
7111
- [vars$4.hostWidth]: refs.width,
7112
- [vars$4.hostMinWidth]: refs.minWidth,
7113
- [vars$4.fontSize]: refs.fontSize,
7114
- [vars$4.fontFamily]: refs.fontFamily,
7115
- [vars$4.spaceBetweenInputs]: '1em',
7116
- [vars$4.errorMessageTextColor]: refs.errorMessageTextColor,
7138
+ [vars$5.hostWidth]: refs.width,
7139
+ [vars$5.hostMinWidth]: refs.minWidth,
7140
+ [vars$5.fontSize]: refs.fontSize,
7141
+ [vars$5.fontFamily]: refs.fontFamily,
7142
+ [vars$5.spaceBetweenInputs]: '1em',
7143
+ [vars$5.errorMessageTextColor]: refs.errorMessageTextColor,
7117
7144
 
7118
7145
  _required: {
7119
7146
  // NewPassword doesn't pass `required` attribute to its Password components.
7120
7147
  // That's why we fake the required indicator on each input.
7121
7148
  // We do that by injecting `::after` element, and populating it with requiredIndicator content.
7122
- [vars$4.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
7149
+ [vars$5.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
7123
7150
  },
7124
7151
  };
7125
7152
 
7126
7153
  var newPassword$1 = /*#__PURE__*/Object.freeze({
7127
7154
  __proto__: null,
7128
7155
  default: newPassword,
7129
- vars: vars$4
7156
+ vars: vars$5
7130
7157
  });
7131
7158
 
7132
7159
  const getFileBase64 = (fileObj) => {
@@ -7141,7 +7168,7 @@ const getFilename = (fileObj) => {
7141
7168
  return fileObj.name.replace(/^.*\\/, '');
7142
7169
  };
7143
7170
 
7144
- const componentName$4 = getComponentName('upload-file');
7171
+ const componentName$5 = getComponentName('upload-file');
7145
7172
 
7146
7173
  const observedAttributes$1 = [
7147
7174
  'title',
@@ -7156,7 +7183,7 @@ const observedAttributes$1 = [
7156
7183
  'icon',
7157
7184
  ];
7158
7185
 
7159
- const BaseInputClass = createBaseInputClass({ componentName: componentName$4, baseSelector: ':host > div' });
7186
+ const BaseInputClass = createBaseInputClass({ componentName: componentName$5, baseSelector: ':host > div' });
7160
7187
 
7161
7188
  class RawUploadFile extends BaseInputClass {
7162
7189
  static get observedAttributes() {
@@ -7366,76 +7393,76 @@ const UploadFileClass = compose(
7366
7393
  componentNameValidationMixin
7367
7394
  )(RawUploadFile);
7368
7395
 
7369
- const vars$3 = UploadFileClass.cssVarList;
7396
+ const vars$4 = UploadFileClass.cssVarList;
7370
7397
 
7371
7398
  const uploadFile = {
7372
- [vars$3.labelTextColor]: refs.labelTextColor,
7373
- [vars$3.fontFamily]: refs.fontFamily,
7399
+ [vars$4.labelTextColor]: refs.labelTextColor,
7400
+ [vars$4.fontFamily]: refs.fontFamily,
7374
7401
 
7375
- [vars$3.iconSize]: '2em',
7402
+ [vars$4.iconSize]: '2em',
7376
7403
 
7377
- [vars$3.hostPadding]: '0.75em',
7378
- [vars$3.gap]: '0.5em',
7404
+ [vars$4.hostPadding]: '0.75em',
7405
+ [vars$4.gap]: '0.5em',
7379
7406
 
7380
- [vars$3.fontSize]: '16px',
7381
- [vars$3.titleFontWeight]: '500',
7382
- [vars$3.lineHeight]: '1em',
7407
+ [vars$4.fontSize]: '16px',
7408
+ [vars$4.titleFontWeight]: '500',
7409
+ [vars$4.lineHeight]: '1em',
7383
7410
 
7384
- [vars$3.borderWidth]: refs.borderWidth,
7385
- [vars$3.borderColor]: refs.borderColor,
7386
- [vars$3.borderRadius]: refs.borderRadius,
7387
- [vars$3.borderStyle]: 'dashed',
7411
+ [vars$4.borderWidth]: refs.borderWidth,
7412
+ [vars$4.borderColor]: refs.borderColor,
7413
+ [vars$4.borderRadius]: refs.borderRadius,
7414
+ [vars$4.borderStyle]: 'dashed',
7388
7415
 
7389
7416
  _required: {
7390
- [vars$3.requiredIndicator]: refs.requiredIndicator,
7417
+ [vars$4.requiredIndicator]: refs.requiredIndicator,
7391
7418
  },
7392
7419
 
7393
7420
  size: {
7394
7421
  xs: {
7395
- [vars$3.hostHeight]: '196px',
7396
- [vars$3.hostWidth]: '200px',
7397
- [vars$3.titleFontSize]: '0.875em',
7398
- [vars$3.descriptionFontSize]: '0.875em',
7399
- [vars$3.lineHeight]: '1.25em',
7422
+ [vars$4.hostHeight]: '196px',
7423
+ [vars$4.hostWidth]: '200px',
7424
+ [vars$4.titleFontSize]: '0.875em',
7425
+ [vars$4.descriptionFontSize]: '0.875em',
7426
+ [vars$4.lineHeight]: '1.25em',
7400
7427
  },
7401
7428
  sm: {
7402
- [vars$3.hostHeight]: '216px',
7403
- [vars$3.hostWidth]: '230px',
7404
- [vars$3.titleFontSize]: '1em',
7405
- [vars$3.descriptionFontSize]: '0.875em',
7406
- [vars$3.lineHeight]: '1.25em',
7429
+ [vars$4.hostHeight]: '216px',
7430
+ [vars$4.hostWidth]: '230px',
7431
+ [vars$4.titleFontSize]: '1em',
7432
+ [vars$4.descriptionFontSize]: '0.875em',
7433
+ [vars$4.lineHeight]: '1.25em',
7407
7434
  },
7408
7435
  md: {
7409
- [vars$3.hostHeight]: '256px',
7410
- [vars$3.hostWidth]: '312px',
7411
- [vars$3.titleFontSize]: '1.125em',
7412
- [vars$3.descriptionFontSize]: '1em',
7413
- [vars$3.lineHeight]: '1.5em',
7436
+ [vars$4.hostHeight]: '256px',
7437
+ [vars$4.hostWidth]: '312px',
7438
+ [vars$4.titleFontSize]: '1.125em',
7439
+ [vars$4.descriptionFontSize]: '1em',
7440
+ [vars$4.lineHeight]: '1.5em',
7414
7441
  },
7415
7442
  lg: {
7416
- [vars$3.hostHeight]: '280px',
7417
- [vars$3.hostWidth]: '336px',
7418
- [vars$3.titleFontSize]: '1.125em',
7419
- [vars$3.descriptionFontSize]: '1.125em',
7420
- [vars$3.lineHeight]: '1.75em',
7443
+ [vars$4.hostHeight]: '280px',
7444
+ [vars$4.hostWidth]: '336px',
7445
+ [vars$4.titleFontSize]: '1.125em',
7446
+ [vars$4.descriptionFontSize]: '1.125em',
7447
+ [vars$4.lineHeight]: '1.75em',
7421
7448
  },
7422
7449
  },
7423
7450
 
7424
7451
  _fullWidth: {
7425
- [vars$3.hostWidth]: refs.width,
7452
+ [vars$4.hostWidth]: refs.width,
7426
7453
  },
7427
7454
  };
7428
7455
 
7429
7456
  var uploadFile$1 = /*#__PURE__*/Object.freeze({
7430
7457
  __proto__: null,
7431
7458
  default: uploadFile,
7432
- vars: vars$3
7459
+ vars: vars$4
7433
7460
  });
7434
7461
 
7435
- const componentName$3 = getComponentName('button-selection-group-item');
7462
+ const componentName$4 = getComponentName('button-selection-group-item');
7436
7463
 
7437
7464
  class RawSelectItem extends createBaseClass({
7438
- componentName: componentName$3,
7465
+ componentName: componentName$4,
7439
7466
  baseSelector: ':host > descope-button',
7440
7467
  }) {
7441
7468
  get size() {
@@ -7531,36 +7558,36 @@ const ButtonSelectionGroupItemClass = compose(
7531
7558
 
7532
7559
  const globalRefs$1 = getThemeRefs(globals);
7533
7560
 
7534
- const vars$2 = ButtonSelectionGroupItemClass.cssVarList;
7561
+ const vars$3 = ButtonSelectionGroupItemClass.cssVarList;
7535
7562
 
7536
7563
  const buttonSelectionGroupItem = {
7537
- [vars$2.backgroundColor]: globalRefs$1.colors.surface.light,
7538
- [vars$2.labelTextColor]: globalRefs$1.colors.surface.contrast,
7539
- [vars$2.borderColor]: globalRefs$1.colors.surface.main,
7540
- [vars$2.borderStyle]: 'solid',
7541
- [vars$2.borderRadius]: globalRefs$1.radius.sm,
7564
+ [vars$3.backgroundColor]: globalRefs$1.colors.surface.light,
7565
+ [vars$3.labelTextColor]: globalRefs$1.colors.surface.contrast,
7566
+ [vars$3.borderColor]: globalRefs$1.colors.surface.main,
7567
+ [vars$3.borderStyle]: 'solid',
7568
+ [vars$3.borderRadius]: globalRefs$1.radius.sm,
7542
7569
 
7543
7570
  _hover: {
7544
- [vars$2.backgroundColor]: '#f4f5f5', // can we take it from the palette?
7571
+ [vars$3.backgroundColor]: '#f4f5f5', // can we take it from the palette?
7545
7572
  },
7546
7573
 
7547
7574
  _selected: {
7548
- [vars$2.borderColor]: globalRefs$1.colors.surface.contrast,
7549
- [vars$2.backgroundColor]: globalRefs$1.colors.surface.contrast,
7550
- [vars$2.labelTextColor]: globalRefs$1.colors.surface.light,
7575
+ [vars$3.borderColor]: globalRefs$1.colors.surface.contrast,
7576
+ [vars$3.backgroundColor]: globalRefs$1.colors.surface.contrast,
7577
+ [vars$3.labelTextColor]: globalRefs$1.colors.surface.light,
7551
7578
  },
7552
7579
  };
7553
7580
 
7554
7581
  var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
7555
7582
  __proto__: null,
7556
7583
  default: buttonSelectionGroupItem,
7557
- vars: vars$2
7584
+ vars: vars$3
7558
7585
  });
7559
7586
 
7560
- const componentName$2 = getComponentName('button-selection-group-internal');
7587
+ const componentName$3 = getComponentName('button-selection-group-internal');
7561
7588
 
7562
7589
  class ButtonSelectionGroupInternalClass extends createBaseInputClass({
7563
- componentName: componentName$2,
7590
+ componentName: componentName$3,
7564
7591
  baseSelector: 'slot',
7565
7592
  }) {
7566
7593
  constructor() {
@@ -7697,9 +7724,9 @@ class ButtonSelectionGroupInternalClass extends createBaseInputClass({
7697
7724
  }
7698
7725
  }
7699
7726
 
7700
- const componentName$1 = getComponentName('button-selection-group');
7727
+ const componentName$2 = getComponentName('button-selection-group');
7701
7728
 
7702
- const customMixin = (superclass) =>
7729
+ const customMixin$1 = (superclass) =>
7703
7730
  class ButtonSelectionGroupMixinClass extends superclass {
7704
7731
  // eslint-disable-next-line class-methods-use-this
7705
7732
  #renderItem = ({ value, label }) =>
@@ -7772,18 +7799,18 @@ const customMixin = (superclass) =>
7772
7799
  const template = document.createElement('template');
7773
7800
 
7774
7801
  template.innerHTML = `
7775
- <${componentName$2}
7802
+ <${componentName$3}
7776
7803
  name="button-selection-group"
7777
7804
  slot="input"
7778
7805
  tabindex="-1"
7779
7806
  >
7780
7807
  <slot></slot>
7781
- </${componentName$2}>
7808
+ </${componentName$3}>
7782
7809
  `;
7783
7810
 
7784
7811
  this.baseElement.appendChild(template.content.cloneNode(true));
7785
7812
 
7786
- this.inputElement = this.shadowRoot.querySelector(componentName$2);
7813
+ this.inputElement = this.shadowRoot.querySelector(componentName$3);
7787
7814
 
7788
7815
  forwardAttrs(this, this.inputElement, {
7789
7816
  includeAttrs: ['size', 'default-value', 'allow-deselect'],
@@ -7827,7 +7854,7 @@ const ButtonSelectionGroupClass = compose(
7827
7854
  draggableMixin,
7828
7855
  composedProxyInputMixin({ proxyProps: ['value', 'selectionStart'] }),
7829
7856
  componentNameValidationMixin,
7830
- customMixin
7857
+ customMixin$1
7831
7858
  )(
7832
7859
  createProxy({
7833
7860
  slots: [],
@@ -7886,25 +7913,144 @@ const ButtonSelectionGroupClass = compose(
7886
7913
  ${resetInputCursor('vaadin-text-field')}
7887
7914
  `,
7888
7915
  excludeAttrsSync: ['tabindex'],
7889
- componentName: componentName$1,
7916
+ componentName: componentName$2,
7890
7917
  })
7891
7918
  );
7892
7919
 
7893
7920
  const globalRefs = getThemeRefs(globals);
7894
- const vars$1 = ButtonSelectionGroupClass.cssVarList;
7921
+ const vars$2 = ButtonSelectionGroupClass.cssVarList;
7895
7922
 
7896
7923
  const buttonSelectionGroup = {
7897
- [vars$1.fontFamily]: refs.fontFamily,
7898
- [vars$1.labelTextColor]: refs.labelTextColor,
7899
- [vars$1.labelRequiredIndicator]: refs.requiredIndicator,
7900
- [vars$1.errorMessageTextColor]: refs.errorMessageTextColor,
7901
- [vars$1.itemsSpacing]: globalRefs.spacing.sm,
7902
- [vars$1.hostWidth]: refs.width,
7924
+ [vars$2.fontFamily]: refs.fontFamily,
7925
+ [vars$2.labelTextColor]: refs.labelTextColor,
7926
+ [vars$2.labelRequiredIndicator]: refs.requiredIndicator,
7927
+ [vars$2.errorMessageTextColor]: refs.errorMessageTextColor,
7928
+ [vars$2.itemsSpacing]: globalRefs.spacing.sm,
7929
+ [vars$2.hostWidth]: refs.width,
7903
7930
  };
7904
7931
 
7905
7932
  var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
7906
7933
  __proto__: null,
7907
7934
  default: buttonSelectionGroup,
7935
+ vars: vars$2
7936
+ });
7937
+
7938
+ const componentName$1 = getComponentName('modal');
7939
+
7940
+ const customMixin = (superclass) =>
7941
+ class ModalMixinClass extends superclass {
7942
+ get opened() {
7943
+ return this.getAttribute('opened') === 'true';
7944
+ }
7945
+
7946
+ handleOpened() {
7947
+ forwardAttrs(this, this.baseElement, { includeAttrs: ['opened'] });
7948
+ if (this.opened) {
7949
+ this.style.display = '';
7950
+ } else {
7951
+ this.style.display = 'none';
7952
+ }
7953
+ }
7954
+
7955
+ init() {
7956
+ super.init?.();
7957
+ this.style.display = 'none';
7958
+
7959
+ // vaadin-dialog might not be loaded in time
7960
+ // in order to make sure it's loaded before this block is running
7961
+ // we are wrapping it with setTimeout
7962
+ setTimeout(() => {
7963
+ // we want to sync descope-modal content through vaadin-dialog into the overlay
7964
+ // so we are adding a slot to the overlay, which allows us to forward the content from
7965
+ // vaadin-dialog to vaadin-dialog-overlay
7966
+ this.baseElement.shadowRoot
7967
+ .querySelector('vaadin-dialog-overlay')
7968
+ .appendChild(document.createElement('slot'));
7969
+
7970
+ this.#overrideOverlaySettings();
7971
+
7972
+ // we need to always open the modal in `opened=false`
7973
+ // to prevent it from rendering outside the dialog
7974
+ // first, we have to run `overrideOverlaySettings` to setup
7975
+ // the component.
7976
+ this.handleOpened();
7977
+ });
7978
+ }
7979
+
7980
+ // the default vaadin behavior is to attach the overlay to the body when opened
7981
+ // we do not want that because it's difficult to style the overlay in this way
7982
+ // so we override it to open inside the shadow DOM
7983
+ #overrideOverlaySettings() {
7984
+ const overlay = this.baseElement.shadowRoot.querySelector('vaadin-dialog-overlay');
7985
+
7986
+ overlay._attachOverlay = () => {
7987
+ overlay.bringToFront();
7988
+ this.baseElement.setAttribute('style', 'display:flex!important;');
7989
+ };
7990
+ overlay._detachOverlay = () => {
7991
+ this.baseElement.style.display = 'none';
7992
+ };
7993
+ overlay._enterModalState = () => {};
7994
+
7995
+ overlay.close = () => false;
7996
+ }
7997
+ };
7998
+
7999
+ const ModalClass = compose(
8000
+ createStyleMixin({
8001
+ mappings: {
8002
+ overlayBackgroundColor: { property: () => ModalClass.cssVarList.overlay.backgroundColor },
8003
+ overlayShadow: { property: () => ModalClass.cssVarList.overlay.shadow },
8004
+ overlayWidth: { property: () => ModalClass.cssVarList.overlay.width },
8005
+ },
8006
+ }),
8007
+ portalMixin({
8008
+ name: 'overlay',
8009
+ selector: '',
8010
+ mappings: {
8011
+ hostDisplay: {
8012
+ selector: () => ':host(.descope-modal)',
8013
+ property: 'display',
8014
+ important: true,
8015
+ },
8016
+ backgroundColor: { selector: () => '::part(content)', property: 'background-color' },
8017
+ width: { selector: () => '::part(overlay)', property: 'width' },
8018
+ shadow: { selector: () => '::part(overlay)', property: 'box-shadow' },
8019
+ },
8020
+ forward: {
8021
+ include: false,
8022
+ attributes: ['opened'],
8023
+ },
8024
+ }),
8025
+ draggableMixin,
8026
+ componentNameValidationMixin,
8027
+ customMixin
8028
+ )(
8029
+ createProxy({
8030
+ slots: [''],
8031
+ wrappedEleName: 'vaadin-dialog',
8032
+ style: () => ``,
8033
+ excludeAttrsSync: ['tabindex', 'opened'],
8034
+ componentName: componentName$1,
8035
+ })
8036
+ );
8037
+
8038
+ const compVars = ModalClass.cssVarList;
8039
+
8040
+ const modal = {
8041
+ [compVars.hostWidth]: '400px',
8042
+ [compVars.hostHeight]: '400px',
8043
+ [compVars.overlayShadow]: 'none',
8044
+ [compVars.overlayWidth]: '700px',
8045
+ };
8046
+
8047
+ const vars$1 = {
8048
+ ...compVars,
8049
+ };
8050
+
8051
+ var modal$1 = /*#__PURE__*/Object.freeze({
8052
+ __proto__: null,
8053
+ default: modal,
7908
8054
  vars: vars$1
7909
8055
  });
7910
8056
 
@@ -7935,6 +8081,7 @@ const components = {
7935
8081
  uploadFile: uploadFile$1,
7936
8082
  buttonSelectionGroupItem: buttonSelectionGroupItem$1,
7937
8083
  buttonSelectionGroup: buttonSelectionGroup$1,
8084
+ modal: modal$1,
7938
8085
  };
7939
8086
 
7940
8087
  const theme = Object.keys(components).reduce(
@@ -7947,7 +8094,7 @@ const vars = Object.keys(components).reduce(
7947
8094
  );
7948
8095
 
7949
8096
  const defaultTheme = { globals, components: theme };
7950
- const themeVars = { globals: vars$r, components: vars };
8097
+ const themeVars = { globals: vars$s, components: vars };
7951
8098
 
7952
8099
  const componentName = getComponentName('recaptcha');
7953
8100
 
@@ -8118,6 +8265,7 @@ exports.LinkClass = LinkClass;
8118
8265
  exports.LoaderLinearClass = LoaderLinearClass;
8119
8266
  exports.LoaderRadialClass = LoaderRadialClass;
8120
8267
  exports.LogoClass = LogoClass;
8268
+ exports.ModalClass = ModalClass;
8121
8269
  exports.NewPasswordClass = NewPasswordClass;
8122
8270
  exports.NumberFieldClass = NumberFieldClass;
8123
8271
  exports.PasscodeClass = PasscodeClass;