@descope/web-components-ui 3.13.2 → 3.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/cjs/index.cjs.js +1371 -811
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +1617 -1033
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/umd/8350.js +1 -1
  6. package/dist/umd/8350.js.map +1 -1
  7. package/dist/umd/DescopeDev.js +1 -1
  8. package/dist/umd/DescopeDev.js.map +1 -1
  9. package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -1
  10. package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js.map +1 -1
  11. package/dist/umd/descope-button.js +1 -1
  12. package/dist/umd/descope-button.js.map +1 -1
  13. package/dist/umd/descope-month-day-field.js +1 -1
  14. package/dist/umd/descope-month-day-field.js.map +1 -1
  15. package/dist/umd/descope-multi-line-mappings.js +1 -1
  16. package/dist/umd/descope-multi-line-mappings.js.map +1 -1
  17. package/dist/umd/descope-multi-sso.js +339 -0
  18. package/dist/umd/descope-multi-sso.js.LICENSE.txt +5 -0
  19. package/dist/umd/descope-multi-sso.js.map +1 -0
  20. package/dist/umd/descope-outbound-app-button.js +1 -1
  21. package/dist/umd/descope-outbound-app-button.js.map +1 -1
  22. package/dist/umd/descope-outbound-apps.js +1 -1
  23. package/dist/umd/descope-outbound-apps.js.map +1 -1
  24. package/dist/umd/descope-timer-button.js +1 -1
  25. package/dist/umd/descope-timer-button.js.map +1 -1
  26. package/dist/umd/descope-upload-file-index-js.js +2 -2
  27. package/dist/umd/descope-upload-file-index-js.js.map +1 -1
  28. package/dist/umd/descope-user-attribute-index-js.js +4 -4
  29. package/dist/umd/descope-user-attribute-index-js.js.map +1 -1
  30. package/dist/umd/descope-user-auth-method-index-js.js +1 -1
  31. package/dist/umd/descope-user-auth-method-index-js.js.map +1 -1
  32. package/dist/umd/descope-user-passkeys.js +1 -1
  33. package/dist/umd/descope-user-passkeys.js.map +1 -1
  34. package/dist/umd/index.js +1 -1
  35. package/dist/umd/index.js.map +1 -1
  36. package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
  37. package/dist/umd/mapping-fields-descope-mappings-field-index-js.js.map +1 -1
  38. package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
  39. package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js.map +1 -1
  40. package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js +1 -1
  41. package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js.map +1 -1
  42. package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -1
  43. package/dist/umd/phone-fields-descope-phone-field-index-js.js.map +1 -1
  44. package/package.json +40 -39
  45. package/src/components/phone-fields/descope-phone-field/PhoneFieldClass.js +6 -0
  46. package/src/components/phone-fields/descope-phone-field/descope-phone-field-internal/PhoneFieldInternal.js +34 -11
  47. package/src/theme/components/index.js +2 -0
@@ -339,7 +339,7 @@ const injectStyle = (cssString, ref, { prepend = false } = {}) => {
339
339
  let style;
340
340
 
341
341
  try {
342
- // eslint-disable-next-line no-undef
342
+
343
343
  style = new CSSStyleSheet();
344
344
  } catch {
345
345
  // fallback for browsers that don't support CSSStyleSheet
@@ -405,6 +405,21 @@ const limitAbbreviation = (str, limit = 2) =>
405
405
  .map((s) => s[0]?.toUpperCase())
406
406
  .join('');
407
407
 
408
+ const cloneSlottedNodes = (element, slotName) => {
409
+ if (!element || !slotName) return null;
410
+ const sources = element.querySelectorAll(`:scope > [slot="${slotName}"]`);
411
+ if (!sources.length) return null;
412
+ const fragment = document.createDocumentFragment();
413
+ sources.forEach((source) => {
414
+ const clone = source.content
415
+ ? source.content.cloneNode(true)
416
+ : source.cloneNode(true);
417
+ if (clone.removeAttribute) clone.removeAttribute('slot');
418
+ fragment.append(clone);
419
+ });
420
+ return fragment;
421
+ };
422
+
408
423
  class ComponentsThemeManager {
409
424
  static mountOnPropName = 'DescopeThemeManager';
410
425
 
@@ -1357,7 +1372,7 @@ const globals$1 = {
1357
1372
  fonts: fonts$1,
1358
1373
  direction: direction$1,
1359
1374
  };
1360
- const vars$1a = getThemeVars(globals$1);
1375
+ const vars$1b = getThemeVars(globals$1);
1361
1376
 
1362
1377
  const direction = 'ltr';
1363
1378
 
@@ -3207,12 +3222,12 @@ const createImage = async (src, altText) => {
3207
3222
  }
3208
3223
  };
3209
3224
 
3210
- const componentName$1p = getComponentName('image');
3225
+ const componentName$1q = getComponentName('image');
3211
3226
 
3212
3227
  const srcAttrs = ['src', 'src-dark'];
3213
3228
 
3214
3229
  class RawImage extends createBaseClass$1({
3215
- componentName: componentName$1p,
3230
+ componentName: componentName$1q,
3216
3231
  baseSelector: 'slot',
3217
3232
  }) {
3218
3233
  static get observedAttributes() {
@@ -3340,7 +3355,7 @@ const ImageClass = compose(
3340
3355
  componentNameValidationMixin$1,
3341
3356
  )(RawImage);
3342
3357
 
3343
- const componentName$1o = getComponentName('icon');
3358
+ const componentName$1p = getComponentName('icon');
3344
3359
 
3345
3360
  const IconClass = compose(
3346
3361
  createStyleMixin$1({
@@ -3365,7 +3380,7 @@ const IconClass = compose(
3365
3380
  }
3366
3381
  `,
3367
3382
  excludeAttrsSync: ['tabindex', 'class', 'style', 'st-height', 'st-width'],
3368
- componentName: componentName$1o,
3383
+ componentName: componentName$1p,
3369
3384
  }),
3370
3385
  );
3371
3386
 
@@ -3380,7 +3395,7 @@ const clickableMixin = (superclass) =>
3380
3395
  }
3381
3396
  };
3382
3397
 
3383
- const componentName$1n = getComponentName('button');
3398
+ const componentName$1o = getComponentName('button');
3384
3399
 
3385
3400
  const resetStyles = `
3386
3401
  :host {
@@ -3418,7 +3433,7 @@ const iconStyles = `
3418
3433
 
3419
3434
  const editorOverrides = `vaadin-button::part(label) { pointer-events: none; }`;
3420
3435
 
3421
- const { host: host$A, label: label$a, slottedIcon } = {
3436
+ const { host: host$B, label: label$a, slottedIcon } = {
3422
3437
  host: { selector: () => ':host' },
3423
3438
  label: { selector: '::part(label)' },
3424
3439
  slottedIcon: { selector: () => '::slotted(descope-icon)' },
@@ -3431,8 +3446,9 @@ const ButtonClass = compose(
3431
3446
  createStyleMixin$1({
3432
3447
  mappings: {
3433
3448
  hostWidth: { property: 'width' },
3449
+ hostMaxWidth: { ...host$B, property: 'max-width' },
3434
3450
  hostHeight: { property: 'height' },
3435
- hostDirection: { ...host$A, property: 'direction' },
3451
+ hostDirection: { ...host$B, property: 'direction' },
3436
3452
  fontSize: {},
3437
3453
  fontFamily: {},
3438
3454
  fontWeight: {},
@@ -3501,7 +3517,7 @@ const ButtonClass = compose(
3501
3517
  }
3502
3518
  `,
3503
3519
  excludeAttrsSync: ['tabindex', 'class', 'style'],
3504
- componentName: componentName$1n,
3520
+ componentName: componentName$1o,
3505
3521
  }),
3506
3522
  );
3507
3523
 
@@ -3538,35 +3554,35 @@ loadingIndicatorStyles = `
3538
3554
  }
3539
3555
  `;
3540
3556
 
3541
- const globalRefs$I = getThemeRefs$1(globals);
3557
+ const globalRefs$J = getThemeRefs$1(globals);
3542
3558
  const compVars$9 = ButtonClass.cssVarList;
3543
3559
 
3544
3560
  const mode = {
3545
- primary: globalRefs$I.colors.primary,
3546
- secondary: globalRefs$I.colors.secondary,
3547
- success: globalRefs$I.colors.success,
3548
- error: globalRefs$I.colors.error,
3549
- surface: globalRefs$I.colors.surface,
3561
+ primary: globalRefs$J.colors.primary,
3562
+ secondary: globalRefs$J.colors.secondary,
3563
+ success: globalRefs$J.colors.success,
3564
+ error: globalRefs$J.colors.error,
3565
+ surface: globalRefs$J.colors.surface,
3550
3566
  };
3551
3567
 
3552
3568
  const [helperTheme$7, helperRefs$7, helperVars$6] = createHelperVars$1(
3553
3569
  { mode },
3554
- componentName$1n,
3570
+ componentName$1o,
3555
3571
  );
3556
3572
 
3557
3573
  const button = {
3558
3574
  ...helperTheme$7,
3559
3575
 
3560
- [compVars$9.fontFamily]: globalRefs$I.fonts.font1.family,
3576
+ [compVars$9.fontFamily]: globalRefs$J.fonts.font1.family,
3561
3577
  [compVars$9.fontWeight]: '400',
3562
3578
 
3563
3579
  [compVars$9.cursor]: 'pointer',
3564
3580
  [compVars$9.hostHeight]: '3em',
3565
3581
  [compVars$9.hostWidth]: 'auto',
3566
- [compVars$9.hostDirection]: globalRefs$I.direction,
3582
+ [compVars$9.hostDirection]: globalRefs$J.direction,
3567
3583
 
3568
- [compVars$9.borderRadius]: globalRefs$I.radius.sm,
3569
- [compVars$9.borderWidth]: globalRefs$I.border.xs,
3584
+ [compVars$9.borderRadius]: globalRefs$J.radius.sm,
3585
+ [compVars$9.borderWidth]: globalRefs$J.border.xs,
3570
3586
  [compVars$9.borderStyle]: 'solid',
3571
3587
  [compVars$9.borderColor]: 'transparent',
3572
3588
 
@@ -3612,11 +3628,11 @@ const button = {
3612
3628
  },
3613
3629
 
3614
3630
  _disabled: {
3615
- [helperVars$6.main]: globalRefs$I.colors.surface.light,
3616
- [helperVars$6.dark]: globalRefs$I.colors.surface.dark,
3617
- [helperVars$6.light]: globalRefs$I.colors.surface.light,
3618
- [helperVars$6.contrast]: globalRefs$I.colors.surface.main,
3619
- [compVars$9.iconColor]: globalRefs$I.colors.surface.main,
3631
+ [helperVars$6.main]: globalRefs$J.colors.surface.light,
3632
+ [helperVars$6.dark]: globalRefs$J.colors.surface.dark,
3633
+ [helperVars$6.light]: globalRefs$J.colors.surface.light,
3634
+ [helperVars$6.contrast]: globalRefs$J.colors.surface.main,
3635
+ [compVars$9.iconColor]: globalRefs$J.colors.surface.main,
3620
3636
  },
3621
3637
 
3622
3638
  variant: {
@@ -3665,7 +3681,7 @@ const button = {
3665
3681
  },
3666
3682
  };
3667
3683
 
3668
- const vars$19 = {
3684
+ const vars$1a = {
3669
3685
  ...compVars$9,
3670
3686
  ...helperVars$6,
3671
3687
  };
@@ -3673,13 +3689,13 @@ const vars$19 = {
3673
3689
  var button$1 = /*#__PURE__*/Object.freeze({
3674
3690
  __proto__: null,
3675
3691
  default: button,
3676
- vars: vars$19
3692
+ vars: vars$1a
3677
3693
  });
3678
3694
 
3679
- const componentName$1m = getComponentName('text');
3695
+ const componentName$1n = getComponentName('text');
3680
3696
 
3681
3697
  class RawText extends createBaseClass$1({
3682
- componentName: componentName$1m,
3698
+ componentName: componentName$1n,
3683
3699
  baseSelector: ':host > slot',
3684
3700
  }) {
3685
3701
  constructor() {
@@ -3718,15 +3734,15 @@ class RawText extends createBaseClass$1({
3718
3734
  }
3719
3735
  }
3720
3736
 
3721
- const { host: host$z } = {
3737
+ const { host: host$A } = {
3722
3738
  host: { selector: () => ':host' },
3723
3739
  };
3724
3740
 
3725
3741
  const TextClass = compose(
3726
3742
  createStyleMixin$1({
3727
3743
  mappings: {
3728
- hostWidth: { ...host$z, property: 'width' },
3729
- hostDirection: { ...host$z, property: 'direction' },
3744
+ hostWidth: { ...host$A, property: 'width' },
3745
+ hostDirection: { ...host$A, property: 'direction' },
3730
3746
  fontSize: {},
3731
3747
  textColor: [{ property: 'color' }],
3732
3748
  textLineHeight: { property: 'line-height' },
@@ -3747,107 +3763,107 @@ const TextClass = compose(
3747
3763
  componentNameValidationMixin$1,
3748
3764
  )(RawText);
3749
3765
 
3750
- const globalRefs$H = getThemeRefs$1(globals);
3751
- const vars$18 = TextClass.cssVarList;
3766
+ const globalRefs$I = getThemeRefs$1(globals);
3767
+ const vars$19 = TextClass.cssVarList;
3752
3768
 
3753
3769
  const text$3 = {
3754
- [vars$18.hostDirection]: globalRefs$H.direction,
3755
- [vars$18.textLineHeight]: '1.35em',
3756
- [vars$18.textAlign]: 'start',
3757
- [vars$18.textColor]: globalRefs$H.colors.surface.dark,
3770
+ [vars$19.hostDirection]: globalRefs$I.direction,
3771
+ [vars$19.textLineHeight]: '1.35em',
3772
+ [vars$19.textAlign]: 'start',
3773
+ [vars$19.textColor]: globalRefs$I.colors.surface.dark,
3758
3774
 
3759
3775
  variant: {
3760
3776
  h1: {
3761
- [vars$18.fontSize]: globalRefs$H.typography.h1.size,
3762
- [vars$18.fontWeight]: globalRefs$H.typography.h1.weight,
3763
- [vars$18.fontFamily]: globalRefs$H.typography.h1.font,
3777
+ [vars$19.fontSize]: globalRefs$I.typography.h1.size,
3778
+ [vars$19.fontWeight]: globalRefs$I.typography.h1.weight,
3779
+ [vars$19.fontFamily]: globalRefs$I.typography.h1.font,
3764
3780
  },
3765
3781
  h2: {
3766
- [vars$18.fontSize]: globalRefs$H.typography.h2.size,
3767
- [vars$18.fontWeight]: globalRefs$H.typography.h2.weight,
3768
- [vars$18.fontFamily]: globalRefs$H.typography.h2.font,
3782
+ [vars$19.fontSize]: globalRefs$I.typography.h2.size,
3783
+ [vars$19.fontWeight]: globalRefs$I.typography.h2.weight,
3784
+ [vars$19.fontFamily]: globalRefs$I.typography.h2.font,
3769
3785
  },
3770
3786
  h3: {
3771
- [vars$18.fontSize]: globalRefs$H.typography.h3.size,
3772
- [vars$18.fontWeight]: globalRefs$H.typography.h3.weight,
3773
- [vars$18.fontFamily]: globalRefs$H.typography.h3.font,
3787
+ [vars$19.fontSize]: globalRefs$I.typography.h3.size,
3788
+ [vars$19.fontWeight]: globalRefs$I.typography.h3.weight,
3789
+ [vars$19.fontFamily]: globalRefs$I.typography.h3.font,
3774
3790
  },
3775
3791
  subtitle1: {
3776
- [vars$18.fontSize]: globalRefs$H.typography.subtitle1.size,
3777
- [vars$18.fontWeight]: globalRefs$H.typography.subtitle1.weight,
3778
- [vars$18.fontFamily]: globalRefs$H.typography.subtitle1.font,
3792
+ [vars$19.fontSize]: globalRefs$I.typography.subtitle1.size,
3793
+ [vars$19.fontWeight]: globalRefs$I.typography.subtitle1.weight,
3794
+ [vars$19.fontFamily]: globalRefs$I.typography.subtitle1.font,
3779
3795
  },
3780
3796
  subtitle2: {
3781
- [vars$18.fontSize]: globalRefs$H.typography.subtitle2.size,
3782
- [vars$18.fontWeight]: globalRefs$H.typography.subtitle2.weight,
3783
- [vars$18.fontFamily]: globalRefs$H.typography.subtitle2.font,
3797
+ [vars$19.fontSize]: globalRefs$I.typography.subtitle2.size,
3798
+ [vars$19.fontWeight]: globalRefs$I.typography.subtitle2.weight,
3799
+ [vars$19.fontFamily]: globalRefs$I.typography.subtitle2.font,
3784
3800
  },
3785
3801
  body1: {
3786
- [vars$18.fontSize]: globalRefs$H.typography.body1.size,
3787
- [vars$18.fontWeight]: globalRefs$H.typography.body1.weight,
3788
- [vars$18.fontFamily]: globalRefs$H.typography.body1.font,
3802
+ [vars$19.fontSize]: globalRefs$I.typography.body1.size,
3803
+ [vars$19.fontWeight]: globalRefs$I.typography.body1.weight,
3804
+ [vars$19.fontFamily]: globalRefs$I.typography.body1.font,
3789
3805
  },
3790
3806
  body2: {
3791
- [vars$18.fontSize]: globalRefs$H.typography.body2.size,
3792
- [vars$18.fontWeight]: globalRefs$H.typography.body2.weight,
3793
- [vars$18.fontFamily]: globalRefs$H.typography.body2.font,
3807
+ [vars$19.fontSize]: globalRefs$I.typography.body2.size,
3808
+ [vars$19.fontWeight]: globalRefs$I.typography.body2.weight,
3809
+ [vars$19.fontFamily]: globalRefs$I.typography.body2.font,
3794
3810
  },
3795
3811
  },
3796
3812
 
3797
3813
  mode: {
3798
3814
  primary: {
3799
- [vars$18.textColor]: globalRefs$H.colors.surface.contrast,
3815
+ [vars$19.textColor]: globalRefs$I.colors.surface.contrast,
3800
3816
  },
3801
3817
  secondary: {
3802
- [vars$18.textColor]: globalRefs$H.colors.surface.dark,
3818
+ [vars$19.textColor]: globalRefs$I.colors.surface.dark,
3803
3819
  },
3804
3820
  error: {
3805
- [vars$18.textColor]: globalRefs$H.colors.error.main,
3821
+ [vars$19.textColor]: globalRefs$I.colors.error.main,
3806
3822
  },
3807
3823
  'error-dark': {
3808
- [vars$18.textColor]: globalRefs$H.colors.error.dark,
3824
+ [vars$19.textColor]: globalRefs$I.colors.error.dark,
3809
3825
  },
3810
3826
  success: {
3811
- [vars$18.textColor]: globalRefs$H.colors.success.main,
3827
+ [vars$19.textColor]: globalRefs$I.colors.success.main,
3812
3828
  },
3813
3829
  'success-dark': {
3814
- [vars$18.textColor]: globalRefs$H.colors.success.dark,
3830
+ [vars$19.textColor]: globalRefs$I.colors.success.dark,
3815
3831
  },
3816
3832
  warning: {
3817
- [vars$18.textColor]: globalRefs$H.colors.warning.main,
3833
+ [vars$19.textColor]: globalRefs$I.colors.warning.main,
3818
3834
  },
3819
3835
  'warning-dark': {
3820
- [vars$18.textColor]: globalRefs$H.colors.warning.dark,
3836
+ [vars$19.textColor]: globalRefs$I.colors.warning.dark,
3821
3837
  },
3822
3838
  },
3823
3839
 
3824
3840
  textAlign: {
3825
- right: { [vars$18.textAlign]: 'right' },
3826
- left: { [vars$18.textAlign]: 'left' },
3827
- center: { [vars$18.textAlign]: 'center' },
3841
+ right: { [vars$19.textAlign]: 'right' },
3842
+ left: { [vars$19.textAlign]: 'left' },
3843
+ center: { [vars$19.textAlign]: 'center' },
3828
3844
  },
3829
3845
 
3830
3846
  _fullWidth: {
3831
- [vars$18.hostWidth]: '100%',
3847
+ [vars$19.hostWidth]: '100%',
3832
3848
  },
3833
3849
 
3834
3850
  _italic: {
3835
- [vars$18.fontStyle]: 'italic',
3851
+ [vars$19.fontStyle]: 'italic',
3836
3852
  },
3837
3853
 
3838
3854
  _uppercase: {
3839
- [vars$18.textTransform]: 'uppercase',
3855
+ [vars$19.textTransform]: 'uppercase',
3840
3856
  },
3841
3857
 
3842
3858
  _lowercase: {
3843
- [vars$18.textTransform]: 'lowercase',
3859
+ [vars$19.textTransform]: 'lowercase',
3844
3860
  },
3845
3861
  };
3846
3862
 
3847
3863
  var text$4 = /*#__PURE__*/Object.freeze({
3848
3864
  __proto__: null,
3849
3865
  default: text$3,
3850
- vars: vars$18
3866
+ vars: vars$19
3851
3867
  });
3852
3868
 
3853
3869
  const disableRules = [
@@ -3871,10 +3887,10 @@ const decodeHTML = (html) => {
3871
3887
  return textArea.value;
3872
3888
  };
3873
3889
 
3874
- const componentName$1l = getComponentName('enriched-text');
3890
+ const componentName$1m = getComponentName('enriched-text');
3875
3891
 
3876
3892
  class EnrichedText extends createBaseClass$1({
3877
- componentName: componentName$1l,
3893
+ componentName: componentName$1m,
3878
3894
  baseSelector: ':host > div',
3879
3895
  }) {
3880
3896
  #origLinkRenderer;
@@ -4111,12 +4127,12 @@ const EnrichedTextClass = compose(
4111
4127
  componentNameValidationMixin$1,
4112
4128
  )(EnrichedText);
4113
4129
 
4114
- const componentName$1k = getComponentName('link');
4130
+ const componentName$1l = getComponentName('link');
4115
4131
 
4116
4132
  const observedAttrs$8 = ['href', 'readonly'];
4117
4133
 
4118
4134
  class RawLink extends createBaseClass$1({
4119
- componentName: componentName$1k,
4135
+ componentName: componentName$1l,
4120
4136
  baseSelector: ':host a',
4121
4137
  }) {
4122
4138
  static get observedAttributes() {
@@ -4191,12 +4207,12 @@ const selectors$3 = {
4191
4207
  text: { selector: () => TextClass.componentName },
4192
4208
  };
4193
4209
 
4194
- const { anchor, text: text$2, host: host$y, wrapper: wrapper$1, link: link$3 } = selectors$3;
4210
+ const { anchor, text: text$2, host: host$z, wrapper: wrapper$1, link: link$3 } = selectors$3;
4195
4211
 
4196
4212
  const LinkClass = compose(
4197
4213
  createStyleMixin$1({
4198
4214
  mappings: {
4199
- hostWidth: { ...host$y, property: 'width' },
4215
+ hostWidth: { ...host$z, property: 'width' },
4200
4216
  hostDirection: { ...text$2, property: 'direction' },
4201
4217
  textAlign: wrapper$1,
4202
4218
  textDecoration: {
@@ -4216,32 +4232,32 @@ const LinkClass = compose(
4216
4232
  componentNameValidationMixin$1,
4217
4233
  )(RawLink);
4218
4234
 
4219
- const globalRefs$G = getThemeRefs$1(globals);
4220
- const vars$17 = LinkClass.cssVarList;
4235
+ const globalRefs$H = getThemeRefs$1(globals);
4236
+ const vars$18 = LinkClass.cssVarList;
4221
4237
 
4222
4238
  const link$1 = {
4223
- [vars$17.hostDirection]: globalRefs$G.direction,
4224
- [vars$17.cursor]: 'pointer',
4239
+ [vars$18.hostDirection]: globalRefs$H.direction,
4240
+ [vars$18.cursor]: 'pointer',
4225
4241
 
4226
- [vars$17.textColor]: globalRefs$G.colors.primary.main,
4242
+ [vars$18.textColor]: globalRefs$H.colors.primary.main,
4227
4243
 
4228
4244
  textAlign: {
4229
- right: { [vars$17.textAlign]: 'right' },
4230
- left: { [vars$17.textAlign]: 'left' },
4231
- center: { [vars$17.textAlign]: 'center' },
4245
+ right: { [vars$18.textAlign]: 'right' },
4246
+ left: { [vars$18.textAlign]: 'left' },
4247
+ center: { [vars$18.textAlign]: 'center' },
4232
4248
  },
4233
4249
 
4234
4250
  _fullWidth: {
4235
- [vars$17.hostWidth]: '100%',
4251
+ [vars$18.hostWidth]: '100%',
4236
4252
  },
4237
4253
 
4238
4254
  _hover: {
4239
- [vars$17.textDecoration]: 'underline',
4255
+ [vars$18.textDecoration]: 'underline',
4240
4256
  },
4241
4257
 
4242
4258
  mode: {
4243
4259
  secondary: {
4244
- [vars$17.textColor]: globalRefs$G.colors.secondary.main,
4260
+ [vars$18.textColor]: globalRefs$H.colors.secondary.main,
4245
4261
  },
4246
4262
  },
4247
4263
  };
@@ -4249,37 +4265,37 @@ const link$1 = {
4249
4265
  var link$2 = /*#__PURE__*/Object.freeze({
4250
4266
  __proto__: null,
4251
4267
  default: link$1,
4252
- vars: vars$17
4268
+ vars: vars$18
4253
4269
  });
4254
4270
 
4255
- const globalRefs$F = getThemeRefs$1(globals);
4256
- const vars$16 = EnrichedTextClass.cssVarList;
4271
+ const globalRefs$G = getThemeRefs$1(globals);
4272
+ const vars$17 = EnrichedTextClass.cssVarList;
4257
4273
 
4258
4274
  const enrichedText = {
4259
- [vars$16.hostDirection]: globalRefs$F.direction,
4260
- [vars$16.hostWidth]: useVar$1(vars$18.hostWidth),
4275
+ [vars$17.hostDirection]: globalRefs$G.direction,
4276
+ [vars$17.hostWidth]: useVar$1(vars$19.hostWidth),
4261
4277
 
4262
- [vars$16.textLineHeight]: useVar$1(vars$18.textLineHeight),
4263
- [vars$16.textColor]: useVar$1(vars$18.textColor),
4264
- [vars$16.textAlign]: useVar$1(vars$18.textAlign),
4278
+ [vars$17.textLineHeight]: useVar$1(vars$19.textLineHeight),
4279
+ [vars$17.textColor]: useVar$1(vars$19.textColor),
4280
+ [vars$17.textAlign]: useVar$1(vars$19.textAlign),
4265
4281
 
4266
- [vars$16.fontSize]: useVar$1(vars$18.fontSize),
4267
- [vars$16.fontWeight]: useVar$1(vars$18.fontWeight),
4268
- [vars$16.fontFamily]: useVar$1(vars$18.fontFamily),
4282
+ [vars$17.fontSize]: useVar$1(vars$19.fontSize),
4283
+ [vars$17.fontWeight]: useVar$1(vars$19.fontWeight),
4284
+ [vars$17.fontFamily]: useVar$1(vars$19.fontFamily),
4269
4285
 
4270
- [vars$16.linkColor]: useVar$1(vars$17.textColor),
4271
- [vars$16.linkTextDecoration]: 'none',
4272
- [vars$16.linkHoverTextDecoration]: 'underline',
4286
+ [vars$17.linkColor]: useVar$1(vars$18.textColor),
4287
+ [vars$17.linkTextDecoration]: 'none',
4288
+ [vars$17.linkHoverTextDecoration]: 'underline',
4273
4289
 
4274
- [vars$16.fontWeightBold]: '900',
4275
- [vars$16.minWidth]: '0.25em',
4276
- [vars$16.minHeight]: '1.35em',
4290
+ [vars$17.fontWeightBold]: '900',
4291
+ [vars$17.minWidth]: '0.25em',
4292
+ [vars$17.minHeight]: '1.35em',
4277
4293
 
4278
- [vars$16.hostDisplay]: 'inline-block',
4294
+ [vars$17.hostDisplay]: 'inline-block',
4279
4295
 
4280
4296
  _empty: {
4281
4297
  _hideWhenEmpty: {
4282
- [vars$16.hostDisplay]: 'none',
4298
+ [vars$17.hostDisplay]: 'none',
4283
4299
  },
4284
4300
  },
4285
4301
  };
@@ -4287,10 +4303,10 @@ const enrichedText = {
4287
4303
  var enrichedText$1 = /*#__PURE__*/Object.freeze({
4288
4304
  __proto__: null,
4289
4305
  default: enrichedText,
4290
- vars: vars$16
4306
+ vars: vars$17
4291
4307
  });
4292
4308
 
4293
- const componentName$1j = getComponentName('combo-box');
4309
+ const componentName$1k = getComponentName('combo-box');
4294
4310
 
4295
4311
  const ComboBoxMixin = (superclass) =>
4296
4312
  class ComboBoxMixinClass extends superclass {
@@ -4680,7 +4696,7 @@ const ComboBoxMixin = (superclass) =>
4680
4696
  };
4681
4697
 
4682
4698
  const {
4683
- host: host$x,
4699
+ host: host$y,
4684
4700
  inputField: inputField$6,
4685
4701
  inputElement: inputElement$3,
4686
4702
  placeholder: placeholder$3,
@@ -4712,10 +4728,10 @@ const {
4712
4728
  const ComboBoxClass = compose(
4713
4729
  createStyleMixin$1({
4714
4730
  mappings: {
4715
- hostWidth: { ...host$x, property: 'width' },
4716
- hostDirection: { ...host$x, property: 'direction' },
4731
+ hostWidth: { ...host$y, property: 'width' },
4732
+ hostDirection: { ...host$y, property: 'direction' },
4717
4733
  // we apply font-size also on the host so we can set its width with em
4718
- fontSize: [{}, host$x],
4734
+ fontSize: [{}, host$y],
4719
4735
  fontFamily: [label$9, placeholder$3, inputField$6, helperText$a, errorMessage$d],
4720
4736
  labelFontSize: { ...label$9, property: 'font-size' },
4721
4737
  labelFontWeight: { ...label$9, property: 'font-weight' },
@@ -4983,35 +4999,35 @@ const ComboBoxClass = compose(
4983
4999
  // and reset items to an empty array, and opening the list box with no items
4984
5000
  // to display.
4985
5001
  excludeAttrsSync: ['tabindex', 'size', 'data', 'loading', 'style'],
4986
- componentName: componentName$1j,
5002
+ componentName: componentName$1k,
4987
5003
  includeForwardProps: ['items', 'renderer', 'selectedItem'],
4988
5004
  }),
4989
5005
  );
4990
5006
 
4991
- const componentName$1i = getComponentName('input-wrapper');
4992
- const globalRefs$E = getThemeRefs$1(globals);
5007
+ const componentName$1j = getComponentName('input-wrapper');
5008
+ const globalRefs$F = getThemeRefs$1(globals);
4993
5009
 
4994
5010
  const [theme$2, refs$1] = createHelperVars$1(
4995
5011
  {
4996
- labelTextColor: globalRefs$E.colors.surface.dark,
5012
+ labelTextColor: globalRefs$F.colors.surface.dark,
4997
5013
  labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
4998
5014
  labelFontWeight: '500', // not taken from globals as it is fixed in all inputs
4999
5015
  inputValueFontWeight: '400',
5000
5016
  inputPlaceholderFontWeight: '400',
5001
5017
  helperTextFontWeight: '400',
5002
5018
  errorMessageFontWeight: '400',
5003
- valueTextColor: globalRefs$E.colors.surface.contrast,
5004
- placeholderTextColor: globalRefs$E.colors.surface.dark,
5019
+ valueTextColor: globalRefs$F.colors.surface.contrast,
5020
+ placeholderTextColor: globalRefs$F.colors.surface.dark,
5005
5021
  requiredIndicator: "'*'",
5006
- helperTextColor: globalRefs$E.colors.surface.dark,
5007
- errorMessageTextColor: globalRefs$E.colors.error.main,
5008
- successMessageTextColor: globalRefs$E.colors.success.main,
5022
+ helperTextColor: globalRefs$F.colors.surface.dark,
5023
+ errorMessageTextColor: globalRefs$F.colors.error.main,
5024
+ successMessageTextColor: globalRefs$F.colors.success.main,
5009
5025
 
5010
- borderWidth: globalRefs$E.border.xs,
5011
- borderRadius: globalRefs$E.radius.xs,
5026
+ borderWidth: globalRefs$F.border.xs,
5027
+ borderRadius: globalRefs$F.radius.xs,
5012
5028
  borderColor: 'transparent',
5013
5029
 
5014
- outlineWidth: globalRefs$E.border.sm,
5030
+ outlineWidth: globalRefs$F.border.sm,
5015
5031
  outlineStyle: 'solid',
5016
5032
  outlineColor: 'transparent',
5017
5033
  outlineOffset: '0px', // we need to keep the px unit even for 0 value, as this var is used for calc in different component classes
@@ -5025,11 +5041,11 @@ const [theme$2, refs$1] = createHelperVars$1(
5025
5041
 
5026
5042
  textAlign: 'start',
5027
5043
 
5028
- backgroundColor: globalRefs$E.colors.surface.main,
5044
+ backgroundColor: globalRefs$F.colors.surface.main,
5029
5045
 
5030
- fontFamily: globalRefs$E.fonts.font1.family,
5046
+ fontFamily: globalRefs$F.fonts.font1.family,
5031
5047
 
5032
- direction: globalRefs$E.direction,
5048
+ direction: globalRefs$F.direction,
5033
5049
 
5034
5050
  overlayOpacity: '0.3',
5035
5051
 
@@ -5090,135 +5106,135 @@ const [theme$2, refs$1] = createHelperVars$1(
5090
5106
  },
5091
5107
 
5092
5108
  _focused: {
5093
- outlineColor: globalRefs$E.colors.surface.light,
5109
+ outlineColor: globalRefs$F.colors.surface.light,
5094
5110
  _invalid: {
5095
- outlineColor: globalRefs$E.colors.error.main,
5111
+ outlineColor: globalRefs$F.colors.error.main,
5096
5112
  },
5097
5113
  },
5098
5114
 
5099
5115
  _bordered: {
5100
- outlineWidth: globalRefs$E.border.xs,
5101
- borderColor: globalRefs$E.colors.surface.light,
5116
+ outlineWidth: globalRefs$F.border.xs,
5117
+ borderColor: globalRefs$F.colors.surface.light,
5102
5118
  borderStyle: 'solid',
5103
5119
  _invalid: {
5104
- borderColor: globalRefs$E.colors.error.main,
5120
+ borderColor: globalRefs$F.colors.error.main,
5105
5121
  },
5106
5122
  },
5107
5123
 
5108
5124
  _disabled: {
5109
- labelTextColor: globalRefs$E.colors.surface.light,
5110
- borderColor: globalRefs$E.colors.surface.light,
5111
- valueTextColor: globalRefs$E.colors.surface.light,
5112
- placeholderTextColor: globalRefs$E.colors.surface.light,
5113
- helperTextColor: globalRefs$E.colors.surface.light,
5114
- backgroundColor: globalRefs$E.colors.surface.main,
5125
+ labelTextColor: globalRefs$F.colors.surface.light,
5126
+ borderColor: globalRefs$F.colors.surface.light,
5127
+ valueTextColor: globalRefs$F.colors.surface.light,
5128
+ placeholderTextColor: globalRefs$F.colors.surface.light,
5129
+ helperTextColor: globalRefs$F.colors.surface.light,
5130
+ backgroundColor: globalRefs$F.colors.surface.main,
5115
5131
  },
5116
5132
 
5117
5133
  _obfuscated: {
5118
5134
  inputTextSecurity: 'disc',
5119
5135
  },
5120
5136
  },
5121
- componentName$1i,
5137
+ componentName$1j,
5122
5138
  );
5123
5139
 
5124
- const globalRefs$D = getThemeRefs$1(globals);
5125
- const vars$15 = ComboBoxClass.cssVarList;
5140
+ const globalRefs$E = getThemeRefs$1(globals);
5141
+ const vars$16 = ComboBoxClass.cssVarList;
5126
5142
 
5127
5143
  const comboBox = {
5128
- [vars$15.hostWidth]: refs$1.width,
5129
- [vars$15.hostDirection]: refs$1.direction,
5130
- [vars$15.fontSize]: refs$1.fontSize,
5131
- [vars$15.fontFamily]: refs$1.fontFamily,
5132
- [vars$15.labelFontSize]: refs$1.labelFontSize,
5133
- [vars$15.labelFontWeight]: refs$1.labelFontWeight,
5134
- [vars$15.inputValueFontWeight]: refs$1.inputValueFontWeight,
5135
- [vars$15.inputPlaceholderFontWeight]: refs$1.inputPlaceholderFontWeight,
5136
- [vars$15.helperTextFontWeight]: refs$1.helperTextFontWeight,
5137
- [vars$15.errorMessageFontWeight]: refs$1.errorMessageFontWeight,
5138
- [vars$15.labelTextColor]: refs$1.labelTextColor,
5139
- [vars$15.errorMessageTextColor]: refs$1.errorMessageTextColor,
5140
- [vars$15.inputBorderColor]: refs$1.borderColor,
5141
- [vars$15.inputBorderWidth]: refs$1.borderWidth,
5142
- [vars$15.inputBorderStyle]: refs$1.borderStyle,
5143
- [vars$15.inputBorderRadius]: refs$1.borderRadius,
5144
- [vars$15.inputOutlineColor]: refs$1.outlineColor,
5145
- [vars$15.inputOutlineOffset]: refs$1.outlineOffset,
5146
- [vars$15.inputOutlineWidth]: refs$1.outlineWidth,
5147
- [vars$15.inputOutlineStyle]: refs$1.outlineStyle,
5148
- [vars$15.labelRequiredIndicator]: refs$1.requiredIndicator,
5149
- [vars$15.inputValueTextColor]: refs$1.valueTextColor,
5150
- [vars$15.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
5151
- [vars$15.inputBackgroundColor]: refs$1.backgroundColor,
5152
- [vars$15.inputHorizontalPadding]: refs$1.horizontalPadding,
5153
- [vars$15.inputHeight]: refs$1.inputHeight,
5154
- [vars$15.inputDropdownButtonColor]: globalRefs$D.colors.surface.dark,
5155
- [vars$15.inputDropdownButtonCursor]: 'pointer',
5156
- [vars$15.inputDropdownButtonSize]: refs$1.toggleButtonSize,
5157
- [vars$15.inputDropdownButtonOffset]: globalRefs$D.spacing.xs,
5158
- [vars$15.overlayItemPaddingInlineStart]: globalRefs$D.spacing.xs,
5159
- [vars$15.overlayItemPaddingInlineEnd]: globalRefs$D.spacing.lg,
5160
- [vars$15.labelPosition]: refs$1.labelPosition,
5161
- [vars$15.labelTopPosition]: refs$1.labelTopPosition,
5162
- [vars$15.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
5163
- [vars$15.inputTransformY]: refs$1.inputTransformY,
5164
- [vars$15.inputTransition]: refs$1.inputTransition,
5165
- [vars$15.marginInlineStart]: refs$1.marginInlineStart,
5166
- [vars$15.placeholderOpacity]: refs$1.placeholderOpacity,
5167
- [vars$15.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
5168
- [vars$15.valueInputHeight]: refs$1.valueInputHeight,
5169
- [vars$15.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
5144
+ [vars$16.hostWidth]: refs$1.width,
5145
+ [vars$16.hostDirection]: refs$1.direction,
5146
+ [vars$16.fontSize]: refs$1.fontSize,
5147
+ [vars$16.fontFamily]: refs$1.fontFamily,
5148
+ [vars$16.labelFontSize]: refs$1.labelFontSize,
5149
+ [vars$16.labelFontWeight]: refs$1.labelFontWeight,
5150
+ [vars$16.inputValueFontWeight]: refs$1.inputValueFontWeight,
5151
+ [vars$16.inputPlaceholderFontWeight]: refs$1.inputPlaceholderFontWeight,
5152
+ [vars$16.helperTextFontWeight]: refs$1.helperTextFontWeight,
5153
+ [vars$16.errorMessageFontWeight]: refs$1.errorMessageFontWeight,
5154
+ [vars$16.labelTextColor]: refs$1.labelTextColor,
5155
+ [vars$16.errorMessageTextColor]: refs$1.errorMessageTextColor,
5156
+ [vars$16.inputBorderColor]: refs$1.borderColor,
5157
+ [vars$16.inputBorderWidth]: refs$1.borderWidth,
5158
+ [vars$16.inputBorderStyle]: refs$1.borderStyle,
5159
+ [vars$16.inputBorderRadius]: refs$1.borderRadius,
5160
+ [vars$16.inputOutlineColor]: refs$1.outlineColor,
5161
+ [vars$16.inputOutlineOffset]: refs$1.outlineOffset,
5162
+ [vars$16.inputOutlineWidth]: refs$1.outlineWidth,
5163
+ [vars$16.inputOutlineStyle]: refs$1.outlineStyle,
5164
+ [vars$16.labelRequiredIndicator]: refs$1.requiredIndicator,
5165
+ [vars$16.inputValueTextColor]: refs$1.valueTextColor,
5166
+ [vars$16.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
5167
+ [vars$16.inputBackgroundColor]: refs$1.backgroundColor,
5168
+ [vars$16.inputHorizontalPadding]: refs$1.horizontalPadding,
5169
+ [vars$16.inputHeight]: refs$1.inputHeight,
5170
+ [vars$16.inputDropdownButtonColor]: globalRefs$E.colors.surface.dark,
5171
+ [vars$16.inputDropdownButtonCursor]: 'pointer',
5172
+ [vars$16.inputDropdownButtonSize]: refs$1.toggleButtonSize,
5173
+ [vars$16.inputDropdownButtonOffset]: globalRefs$E.spacing.xs,
5174
+ [vars$16.overlayItemPaddingInlineStart]: globalRefs$E.spacing.xs,
5175
+ [vars$16.overlayItemPaddingInlineEnd]: globalRefs$E.spacing.lg,
5176
+ [vars$16.labelPosition]: refs$1.labelPosition,
5177
+ [vars$16.labelTopPosition]: refs$1.labelTopPosition,
5178
+ [vars$16.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
5179
+ [vars$16.inputTransformY]: refs$1.inputTransformY,
5180
+ [vars$16.inputTransition]: refs$1.inputTransition,
5181
+ [vars$16.marginInlineStart]: refs$1.marginInlineStart,
5182
+ [vars$16.placeholderOpacity]: refs$1.placeholderOpacity,
5183
+ [vars$16.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
5184
+ [vars$16.valueInputHeight]: refs$1.valueInputHeight,
5185
+ [vars$16.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
5170
5186
 
5171
5187
  // error message icon
5172
- [vars$15.errorMessageIcon]: refs$1.errorMessageIcon,
5173
- [vars$15.errorMessageIconSize]: refs$1.errorMessageIconSize,
5174
- [vars$15.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
5175
- [vars$15.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
5176
- [vars$15.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
5177
- [vars$15.errorMessageFontSize]: refs$1.errorMessageFontSize,
5188
+ [vars$16.errorMessageIcon]: refs$1.errorMessageIcon,
5189
+ [vars$16.errorMessageIconSize]: refs$1.errorMessageIconSize,
5190
+ [vars$16.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
5191
+ [vars$16.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
5192
+ [vars$16.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
5193
+ [vars$16.errorMessageFontSize]: refs$1.errorMessageFontSize,
5178
5194
 
5179
5195
  _readonly: {
5180
- [vars$15.inputDropdownButtonCursor]: 'default',
5196
+ [vars$16.inputDropdownButtonCursor]: 'default',
5181
5197
  },
5182
5198
 
5183
5199
  // Overlay theme exposed via the component:
5184
- [vars$15.overlayFontSize]: refs$1.fontSize,
5185
- [vars$15.overlayFontFamily]: refs$1.fontFamily,
5186
- [vars$15.overlayCursor]: 'pointer',
5187
- [vars$15.overlayItemBoxShadow]: 'none',
5188
- [vars$15.overlayBackground]: refs$1.backgroundColor,
5189
- [vars$15.overlayTextColor]: refs$1.valueTextColor,
5190
- [vars$15.overlayCheckmarkDisplay]: 'initial',
5191
- [vars$15.overlaySelectedItemBackground]: 'initial',
5192
- [vars$15.overlaySelectedItemHoverBackground]:
5193
- globalRefs$D.colors.primary.highlight,
5194
- [vars$15.overlaySelectedItemFocusBackground]:
5195
- globalRefs$D.colors.primary.highlight,
5196
- [vars$15.overlayItemHoverBackground]: globalRefs$D.colors.primary.highlight,
5197
- [vars$15.overlayItemFocusBackground]: globalRefs$D.colors.primary.highlight,
5200
+ [vars$16.overlayFontSize]: refs$1.fontSize,
5201
+ [vars$16.overlayFontFamily]: refs$1.fontFamily,
5202
+ [vars$16.overlayCursor]: 'pointer',
5203
+ [vars$16.overlayItemBoxShadow]: 'none',
5204
+ [vars$16.overlayBackground]: refs$1.backgroundColor,
5205
+ [vars$16.overlayTextColor]: refs$1.valueTextColor,
5206
+ [vars$16.overlayCheckmarkDisplay]: 'initial',
5207
+ [vars$16.overlaySelectedItemBackground]: 'initial',
5208
+ [vars$16.overlaySelectedItemHoverBackground]:
5209
+ globalRefs$E.colors.primary.highlight,
5210
+ [vars$16.overlaySelectedItemFocusBackground]:
5211
+ globalRefs$E.colors.primary.highlight,
5212
+ [vars$16.overlayItemHoverBackground]: globalRefs$E.colors.primary.highlight,
5213
+ [vars$16.overlayItemFocusBackground]: globalRefs$E.colors.primary.highlight,
5198
5214
 
5199
5215
  // Overlay direct theme:
5200
- [vars$15.overlay.minHeight]: '400px',
5201
- [vars$15.overlay.margin]: '0',
5216
+ [vars$16.overlay.minHeight]: '400px',
5217
+ [vars$16.overlay.margin]: '0',
5202
5218
 
5203
- [vars$15.overlay.contentHeight]: '100%',
5204
- [vars$15.overlay.contentOpacity]: '1',
5205
- [vars$15.overlay.scrollerMinHeight]: '1px',
5219
+ [vars$16.overlay.contentHeight]: '100%',
5220
+ [vars$16.overlay.contentOpacity]: '1',
5221
+ [vars$16.overlay.scrollerMinHeight]: '1px',
5206
5222
  _loading: {
5207
- [vars$15.overlay.loaderTop]: '50%',
5208
- [vars$15.overlay.loaderLeft]: '50%',
5209
- [vars$15.overlay.loaderRight]: 'auto',
5223
+ [vars$16.overlay.loaderTop]: '50%',
5224
+ [vars$16.overlay.loaderLeft]: '50%',
5225
+ [vars$16.overlay.loaderRight]: 'auto',
5210
5226
  // Margin has to be negative to center the loader, "transform" can't be used because the animation uses it
5211
5227
  // Margin has to be half of the width/height of the loader to center it
5212
- [vars$15.overlay.loaderMargin]: '-15px 0 0 -15px',
5213
- [vars$15.overlay.loaderWidth]: '30px',
5214
- [vars$15.overlay.loaderHeight]: '30px',
5215
- [vars$15.overlay.loaderBorder]: '2px solid transparent',
5216
- [vars$15.overlay.loaderBorderColor]:
5217
- `${globalRefs$D.colors.primary.highlight} ${globalRefs$D.colors.primary.highlight} ${globalRefs$D.colors.primary.main} ${globalRefs$D.colors.primary.main}`,
5218
- [vars$15.overlay.loaderBorderRadius]: '50%',
5219
- [vars$15.overlay.contentHeight]: '100px',
5220
- [vars$15.overlay.scrollerMinHeight]: '100px',
5221
- [vars$15.overlay.contentOpacity]: '0',
5228
+ [vars$16.overlay.loaderMargin]: '-15px 0 0 -15px',
5229
+ [vars$16.overlay.loaderWidth]: '30px',
5230
+ [vars$16.overlay.loaderHeight]: '30px',
5231
+ [vars$16.overlay.loaderBorder]: '2px solid transparent',
5232
+ [vars$16.overlay.loaderBorderColor]:
5233
+ `${globalRefs$E.colors.primary.highlight} ${globalRefs$E.colors.primary.highlight} ${globalRefs$E.colors.primary.main} ${globalRefs$E.colors.primary.main}`,
5234
+ [vars$16.overlay.loaderBorderRadius]: '50%',
5235
+ [vars$16.overlay.contentHeight]: '100px',
5236
+ [vars$16.overlay.scrollerMinHeight]: '100px',
5237
+ [vars$16.overlay.contentOpacity]: '0',
5222
5238
  },
5223
5239
  };
5224
5240
 
@@ -5226,13 +5242,13 @@ var comboBox$1 = /*#__PURE__*/Object.freeze({
5226
5242
  __proto__: null,
5227
5243
  comboBox: comboBox,
5228
5244
  default: comboBox,
5229
- vars: vars$15
5245
+ vars: vars$16
5230
5246
  });
5231
5247
 
5232
- const componentName$1h = getComponentName('badge');
5248
+ const componentName$1i = getComponentName('badge');
5233
5249
 
5234
5250
  class RawBadge extends createBaseClass$1({
5235
- componentName: componentName$1h,
5251
+ componentName: componentName$1i,
5236
5252
  baseSelector: ':host > div',
5237
5253
  }) {
5238
5254
  static get observedAttributes() {
@@ -5321,52 +5337,52 @@ const BadgeClass = compose(
5321
5337
  componentNameValidationMixin$1,
5322
5338
  )(RawBadge);
5323
5339
 
5324
- const globalRefs$C = getThemeRefs$1(globals);
5340
+ const globalRefs$D = getThemeRefs$1(globals);
5325
5341
 
5326
5342
  const [helperTheme$6, helperRefs$6] = createHelperVars$1(
5327
5343
  {
5328
5344
  shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
5329
5345
  },
5330
- componentName$1h,
5346
+ componentName$1i,
5331
5347
  );
5332
5348
 
5333
5349
  const { shadowColor: shadowColor$7 } = helperRefs$6;
5334
5350
 
5335
- const vars$14 = BadgeClass.cssVarList;
5351
+ const vars$15 = BadgeClass.cssVarList;
5336
5352
 
5337
5353
  const badge$2 = {
5338
5354
  ...helperTheme$6,
5339
5355
 
5340
- [vars$14.hostWidth]: 'fit-content',
5341
- [vars$14.hostDirection]: globalRefs$C.direction,
5356
+ [vars$15.hostWidth]: 'fit-content',
5357
+ [vars$15.hostDirection]: globalRefs$D.direction,
5342
5358
 
5343
- [vars$14.textAlign]: 'center',
5359
+ [vars$15.textAlign]: 'center',
5344
5360
 
5345
- [vars$14.fontFamily]: globalRefs$C.fonts.font1.family,
5346
- [vars$14.fontWeight]: '400',
5361
+ [vars$15.fontFamily]: globalRefs$D.fonts.font1.family,
5362
+ [vars$15.fontWeight]: '400',
5347
5363
 
5348
- [vars$14.verticalPadding]: '0.25em',
5349
- [vars$14.horizontalPadding]: '0.5em',
5364
+ [vars$15.verticalPadding]: '0.25em',
5365
+ [vars$15.horizontalPadding]: '0.5em',
5350
5366
 
5351
- [vars$14.borderWidth]: globalRefs$C.border.xs,
5352
- [vars$14.borderRadius]: globalRefs$C.radius.xs,
5353
- [vars$14.borderColor]: 'transparent',
5354
- [vars$14.borderStyle]: 'solid',
5367
+ [vars$15.borderWidth]: globalRefs$D.border.xs,
5368
+ [vars$15.borderRadius]: globalRefs$D.radius.xs,
5369
+ [vars$15.borderColor]: 'transparent',
5370
+ [vars$15.borderStyle]: 'solid',
5355
5371
 
5356
5372
  _fullWidth: {
5357
- [vars$14.hostWidth]: '100%',
5373
+ [vars$15.hostWidth]: '100%',
5358
5374
  },
5359
5375
 
5360
5376
  size: {
5361
- xs: { [vars$14.fontSize]: '12px' },
5362
- sm: { [vars$14.fontSize]: '14px' },
5363
- md: { [vars$14.fontSize]: '16px' },
5364
- lg: { [vars$14.fontSize]: '18px' },
5377
+ xs: { [vars$15.fontSize]: '12px' },
5378
+ sm: { [vars$15.fontSize]: '14px' },
5379
+ md: { [vars$15.fontSize]: '16px' },
5380
+ lg: { [vars$15.fontSize]: '18px' },
5365
5381
  },
5366
5382
 
5367
5383
  variant: {
5368
5384
  contained: {
5369
- [vars$14.backgroundColor]: globalRefs$C.colors.surface.main,
5385
+ [vars$15.backgroundColor]: globalRefs$D.colors.surface.main,
5370
5386
  },
5371
5387
  },
5372
5388
 
@@ -5385,58 +5401,58 @@ const badge$2 = {
5385
5401
  // },
5386
5402
 
5387
5403
  _shrinkToIndicator: {
5388
- [vars$14.hostWidth]: '13px',
5389
- [vars$14.hostHeight]: '13px',
5390
- [vars$14.borderRadius]: '50%',
5391
- [vars$14.fontSize]: '0',
5392
- [vars$14.textIndent]: '-9999px',
5404
+ [vars$15.hostWidth]: '13px',
5405
+ [vars$15.hostHeight]: '13px',
5406
+ [vars$15.borderRadius]: '50%',
5407
+ [vars$15.fontSize]: '0',
5408
+ [vars$15.textIndent]: '-9999px',
5393
5409
  },
5394
5410
 
5395
5411
  mode: {
5396
5412
  default: {
5397
- [vars$14.textColor]: globalRefs$C.colors.surface.dark,
5413
+ [vars$15.textColor]: globalRefs$D.colors.surface.dark,
5398
5414
  _bordered: {
5399
- [vars$14.borderColor]: globalRefs$C.colors.surface.light,
5415
+ [vars$15.borderColor]: globalRefs$D.colors.surface.light,
5400
5416
  },
5401
5417
  },
5402
5418
  primary: {
5403
- [vars$14.textColor]: globalRefs$C.colors.primary.main,
5419
+ [vars$15.textColor]: globalRefs$D.colors.primary.main,
5404
5420
  _bordered: {
5405
- [vars$14.borderColor]: globalRefs$C.colors.primary.light,
5421
+ [vars$15.borderColor]: globalRefs$D.colors.primary.light,
5406
5422
  },
5407
5423
  },
5408
5424
  secondary: {
5409
- [vars$14.textColor]: globalRefs$C.colors.secondary.main,
5425
+ [vars$15.textColor]: globalRefs$D.colors.secondary.main,
5410
5426
  _bordered: {
5411
- [vars$14.borderColor]: globalRefs$C.colors.secondary.light,
5427
+ [vars$15.borderColor]: globalRefs$D.colors.secondary.light,
5412
5428
  },
5413
5429
  },
5414
5430
  error: {
5415
- [vars$14.textColor]: globalRefs$C.colors.error.main,
5431
+ [vars$15.textColor]: globalRefs$D.colors.error.main,
5416
5432
  _bordered: {
5417
- [vars$14.borderColor]: globalRefs$C.colors.error.light,
5433
+ [vars$15.borderColor]: globalRefs$D.colors.error.light,
5418
5434
  },
5419
5435
  },
5420
5436
  success: {
5421
- [vars$14.textColor]: globalRefs$C.colors.success.main,
5437
+ [vars$15.textColor]: globalRefs$D.colors.success.main,
5422
5438
  _bordered: {
5423
- [vars$14.borderColor]: globalRefs$C.colors.success.light,
5439
+ [vars$15.borderColor]: globalRefs$D.colors.success.light,
5424
5440
  },
5425
5441
  },
5426
5442
  },
5427
5443
 
5428
5444
  shadow: {
5429
5445
  sm: {
5430
- [vars$14.boxShadow]: `${globalRefs$C.shadow.wide.sm} ${shadowColor$7}, ${globalRefs$C.shadow.narrow.sm} ${shadowColor$7}`,
5446
+ [vars$15.boxShadow]: `${globalRefs$D.shadow.wide.sm} ${shadowColor$7}, ${globalRefs$D.shadow.narrow.sm} ${shadowColor$7}`,
5431
5447
  },
5432
5448
  md: {
5433
- [vars$14.boxShadow]: `${globalRefs$C.shadow.wide.md} ${shadowColor$7}, ${globalRefs$C.shadow.narrow.md} ${shadowColor$7}`,
5449
+ [vars$15.boxShadow]: `${globalRefs$D.shadow.wide.md} ${shadowColor$7}, ${globalRefs$D.shadow.narrow.md} ${shadowColor$7}`,
5434
5450
  },
5435
5451
  lg: {
5436
- [vars$14.boxShadow]: `${globalRefs$C.shadow.wide.lg} ${shadowColor$7}, ${globalRefs$C.shadow.narrow.lg} ${shadowColor$7}`,
5452
+ [vars$15.boxShadow]: `${globalRefs$D.shadow.wide.lg} ${shadowColor$7}, ${globalRefs$D.shadow.narrow.lg} ${shadowColor$7}`,
5437
5453
  },
5438
5454
  xl: {
5439
- [vars$14.boxShadow]: `${globalRefs$C.shadow.wide.xl} ${shadowColor$7}, ${globalRefs$C.shadow.narrow.xl} ${shadowColor$7}`,
5455
+ [vars$15.boxShadow]: `${globalRefs$D.shadow.wide.xl} ${shadowColor$7}, ${globalRefs$D.shadow.narrow.xl} ${shadowColor$7}`,
5440
5456
  },
5441
5457
  },
5442
5458
  };
@@ -5444,12 +5460,12 @@ const badge$2 = {
5444
5460
  var badge$3 = /*#__PURE__*/Object.freeze({
5445
5461
  __proto__: null,
5446
5462
  default: badge$2,
5447
- vars: vars$14
5463
+ vars: vars$15
5448
5464
  });
5449
5465
 
5450
- const componentName$1g = getComponentName('avatar');
5466
+ const componentName$1h = getComponentName('avatar');
5451
5467
  class RawAvatar extends createBaseClass$1({
5452
- componentName: componentName$1g,
5468
+ componentName: componentName$1h,
5453
5469
  baseSelector: ':host > .wrapper',
5454
5470
  }) {
5455
5471
  constructor() {
@@ -5527,7 +5543,7 @@ class RawAvatar extends createBaseClass$1({
5527
5543
  }
5528
5544
  }
5529
5545
 
5530
- const { host: host$w, editableBadge, avatar: avatar$2 } = {
5546
+ const { host: host$x, editableBadge, avatar: avatar$2 } = {
5531
5547
  host: { selector: () => ':host' },
5532
5548
  editableBadge: { selector: '> .editableBadge' },
5533
5549
  avatar: { selector: 'vaadin-avatar' },
@@ -5537,12 +5553,12 @@ const AvatarClass = compose(
5537
5553
  createStyleMixin$1({
5538
5554
  mappings: {
5539
5555
  hostWidth: [
5540
- { ...host$w, property: 'width' },
5541
- { ...host$w, property: 'min-width' },
5556
+ { ...host$x, property: 'width' },
5557
+ { ...host$x, property: 'min-width' },
5542
5558
  ],
5543
- hostHeight: { ...host$w, property: 'height' },
5544
- cursor: [avatar$2, host$w],
5545
- hostDirection: { ...host$w, property: 'direction' },
5559
+ hostHeight: { ...host$x, property: 'height' },
5560
+ cursor: [avatar$2, host$x],
5561
+ hostDirection: { ...host$x, property: 'direction' },
5546
5562
  avatarTextColor: { ...avatar$2, property: 'color' },
5547
5563
  avatarBackgroundColor: { ...avatar$2, property: 'background-color' },
5548
5564
  editableIconColor: { ...editableBadge, property: 'color' },
@@ -5557,16 +5573,16 @@ const AvatarClass = compose(
5557
5573
  componentNameValidationMixin$1,
5558
5574
  )(RawAvatar);
5559
5575
 
5560
- const globalRefs$B = getThemeRefs$1(globals);
5576
+ const globalRefs$C = getThemeRefs$1(globals);
5561
5577
  const compVars$8 = AvatarClass.cssVarList;
5562
5578
 
5563
5579
  const avatar = {
5564
- [compVars$8.hostDirection]: globalRefs$B.direction,
5565
- [compVars$8.editableIconColor]: globalRefs$B.colors.surface.dark,
5566
- [compVars$8.editableBorderColor]: globalRefs$B.colors.surface.dark,
5567
- [compVars$8.editableBackgroundColor]: globalRefs$B.colors.surface.main,
5568
- [compVars$8.avatarTextColor]: globalRefs$B.colors.surface.main,
5569
- [compVars$8.avatarBackgroundColor]: globalRefs$B.colors.surface.dark,
5580
+ [compVars$8.hostDirection]: globalRefs$C.direction,
5581
+ [compVars$8.editableIconColor]: globalRefs$C.colors.surface.dark,
5582
+ [compVars$8.editableBorderColor]: globalRefs$C.colors.surface.dark,
5583
+ [compVars$8.editableBackgroundColor]: globalRefs$C.colors.surface.main,
5584
+ [compVars$8.avatarTextColor]: globalRefs$C.colors.surface.main,
5585
+ [compVars$8.avatarBackgroundColor]: globalRefs$C.colors.surface.dark,
5570
5586
 
5571
5587
  _editable: {
5572
5588
  [compVars$8.cursor]: 'pointer',
@@ -5600,37 +5616,37 @@ const avatar = {
5600
5616
  },
5601
5617
  };
5602
5618
 
5603
- const vars$13 = {
5619
+ const vars$14 = {
5604
5620
  ...compVars$8,
5605
5621
  };
5606
5622
 
5607
5623
  var avatar$1 = /*#__PURE__*/Object.freeze({
5608
5624
  __proto__: null,
5609
5625
  default: avatar,
5610
- vars: vars$13
5626
+ vars: vars$14
5611
5627
  });
5612
5628
 
5613
- const vars$12 = IconClass.cssVarList;
5629
+ const vars$13 = IconClass.cssVarList;
5614
5630
 
5615
5631
  const icon$3 = {};
5616
5632
 
5617
5633
  var icon$4 = /*#__PURE__*/Object.freeze({
5618
5634
  __proto__: null,
5619
5635
  default: icon$3,
5620
- vars: vars$12
5636
+ vars: vars$13
5621
5637
  });
5622
5638
 
5623
- const vars$11 = ImageClass.cssVarList;
5639
+ const vars$12 = ImageClass.cssVarList;
5624
5640
 
5625
5641
  const image = {};
5626
5642
 
5627
5643
  var image$1 = /*#__PURE__*/Object.freeze({
5628
5644
  __proto__: null,
5629
5645
  default: image,
5630
- vars: vars$11
5646
+ vars: vars$12
5631
5647
  });
5632
5648
 
5633
- const componentName$1f = getComponentName('list-item');
5649
+ const componentName$1g = getComponentName('list-item');
5634
5650
 
5635
5651
  const customMixin$f = (superclass) =>
5636
5652
  class ListItemMixinClass extends superclass {
@@ -5687,12 +5703,12 @@ const ListItemClass = compose(
5687
5703
  componentNameValidationMixin$1,
5688
5704
  customMixin$f,
5689
5705
  activeableMixin,
5690
- )(createBaseClass$1({ componentName: componentName$1f, baseSelector: 'slot' }));
5706
+ )(createBaseClass$1({ componentName: componentName$1g, baseSelector: 'slot' }));
5691
5707
 
5692
- const componentName$1e = getComponentName('list');
5708
+ const componentName$1f = getComponentName('list');
5693
5709
 
5694
5710
  class RawList extends createBaseClass$1({
5695
- componentName: componentName$1e,
5711
+ componentName: componentName$1f,
5696
5712
  baseSelector: '.wrapper',
5697
5713
  }) {
5698
5714
  static get observedAttributes() {
@@ -5863,9 +5879,9 @@ const ListClass = compose(
5863
5879
  componentNameValidationMixin$1,
5864
5880
  )(RawList);
5865
5881
 
5866
- const componentName$1d = getComponentName('apps-list');
5882
+ const componentName$1e = getComponentName('apps-list');
5867
5883
 
5868
- const itemRenderer$5 = ({ name, icon, url }, _, ref) => `
5884
+ const itemRenderer$6 = ({ name, icon, url }, _, ref) => `
5869
5885
  <a ${url ? `href="${url}" title="${url}"` : ''} ${ref.openInSameWindow ? '' : 'target="_blank"'}>
5870
5886
  <descope-list-item>
5871
5887
  <div class="avatar-wrapper">
@@ -5971,7 +5987,7 @@ const AppsListClass = compose(
5971
5987
  },
5972
5988
  }),
5973
5989
  createDynamicDataMixin$1({
5974
- itemRenderer: itemRenderer$5,
5990
+ itemRenderer: itemRenderer$6,
5975
5991
  rerenderAttrsList: [
5976
5992
  'size',
5977
5993
  'item-text-variant',
@@ -5987,7 +6003,7 @@ const AppsListClass = compose(
5987
6003
  slots: ['empty-state'],
5988
6004
  wrappedEleName: 'descope-list',
5989
6005
  excludeAttrsSync: ['tabindex', 'class', 'empty', 'style'],
5990
- componentName: componentName$1d,
6006
+ componentName: componentName$1e,
5991
6007
  style: () => `
5992
6008
  :host {
5993
6009
  width: 100%;
@@ -6022,60 +6038,60 @@ const AppsListClass = compose(
6022
6038
  }),
6023
6039
  );
6024
6040
 
6025
- const vars$10 = AppsListClass.cssVarList;
6026
- const globalRefs$A = getThemeRefs$1(globals);
6041
+ const vars$11 = AppsListClass.cssVarList;
6042
+ const globalRefs$B = getThemeRefs$1(globals);
6027
6043
 
6028
6044
  const defaultHeight = '400px';
6029
6045
 
6030
6046
  const appsList = {
6031
- [vars$10.itemsTextAlign]: 'start',
6032
- [vars$10.hostDirection]: globalRefs$A.direction,
6033
- [vars$10.maxHeight]: defaultHeight,
6034
- [vars$10.itemHoverBackgroundColor]: globalRefs$A.colors.surface.highlight,
6047
+ [vars$11.itemsTextAlign]: 'start',
6048
+ [vars$11.hostDirection]: globalRefs$B.direction,
6049
+ [vars$11.maxHeight]: defaultHeight,
6050
+ [vars$11.itemHoverBackgroundColor]: globalRefs$B.colors.surface.highlight,
6035
6051
 
6036
6052
  _empty: {
6037
- [vars$10.minHeight]: defaultHeight,
6053
+ [vars$11.minHeight]: defaultHeight,
6038
6054
  },
6039
6055
 
6040
6056
  size: {
6041
6057
  xs: {
6042
- [vars$10.itemsFontSize]: '14px',
6043
- [vars$10.itemsFontWeight]: 'normal',
6058
+ [vars$11.itemsFontSize]: '14px',
6059
+ [vars$11.itemsFontWeight]: 'normal',
6044
6060
  },
6045
6061
  sm: {
6046
- [vars$10.itemsFontSize]: '14px',
6047
- [vars$10.itemsFontWeight]: 'normal',
6062
+ [vars$11.itemsFontSize]: '14px',
6063
+ [vars$11.itemsFontWeight]: 'normal',
6048
6064
  },
6049
6065
  md: {
6050
- [vars$10.itemsFontSize]: '16px',
6051
- [vars$10.itemsFontWeight]: 'normal',
6066
+ [vars$11.itemsFontSize]: '16px',
6067
+ [vars$11.itemsFontWeight]: 'normal',
6052
6068
  },
6053
6069
  lg: {
6054
- [vars$10.itemsFontSize]: '20px',
6055
- [vars$10.itemsFontWeight]: 'normal',
6070
+ [vars$11.itemsFontSize]: '20px',
6071
+ [vars$11.itemsFontWeight]: 'normal',
6056
6072
  },
6057
6073
  },
6058
6074
 
6059
6075
  itemPadding: {
6060
6076
  xs: {
6061
- [vars$10.itemVerticalPadding]: globalRefs$A.spacing.xs,
6062
- [vars$10.itemHorizontalPadding]: globalRefs$A.spacing.xs,
6077
+ [vars$11.itemVerticalPadding]: globalRefs$B.spacing.xs,
6078
+ [vars$11.itemHorizontalPadding]: globalRefs$B.spacing.xs,
6063
6079
  },
6064
6080
  sm: {
6065
- [vars$10.itemVerticalPadding]: globalRefs$A.spacing.sm,
6066
- [vars$10.itemHorizontalPadding]: globalRefs$A.spacing.sm,
6081
+ [vars$11.itemVerticalPadding]: globalRefs$B.spacing.sm,
6082
+ [vars$11.itemHorizontalPadding]: globalRefs$B.spacing.sm,
6067
6083
  },
6068
6084
  md: {
6069
- [vars$10.itemVerticalPadding]: globalRefs$A.spacing.md,
6070
- [vars$10.itemHorizontalPadding]: globalRefs$A.spacing.md,
6085
+ [vars$11.itemVerticalPadding]: globalRefs$B.spacing.md,
6086
+ [vars$11.itemHorizontalPadding]: globalRefs$B.spacing.md,
6071
6087
  },
6072
6088
  lg: {
6073
- [vars$10.itemVerticalPadding]: globalRefs$A.spacing.lg,
6074
- [vars$10.itemHorizontalPadding]: globalRefs$A.spacing.lg,
6089
+ [vars$11.itemVerticalPadding]: globalRefs$B.spacing.lg,
6090
+ [vars$11.itemHorizontalPadding]: globalRefs$B.spacing.lg,
6075
6091
  },
6076
6092
  xl: {
6077
- [vars$10.itemVerticalPadding]: globalRefs$A.spacing.xl,
6078
- [vars$10.itemHorizontalPadding]: globalRefs$A.spacing.xl,
6093
+ [vars$11.itemVerticalPadding]: globalRefs$B.spacing.xl,
6094
+ [vars$11.itemHorizontalPadding]: globalRefs$B.spacing.xl,
6079
6095
  },
6080
6096
  },
6081
6097
  };
@@ -6083,16 +6099,16 @@ const appsList = {
6083
6099
  var appsList$1 = /*#__PURE__*/Object.freeze({
6084
6100
  __proto__: null,
6085
6101
  default: appsList,
6086
- vars: vars$10
6102
+ vars: vars$11
6087
6103
  });
6088
6104
 
6089
- const globalRefs$z = getThemeRefs$1(globals);
6105
+ const globalRefs$A = getThemeRefs$1(globals);
6090
6106
 
6091
6107
  const compVars$7 = ListClass.cssVarList;
6092
6108
 
6093
6109
  const [helperTheme$5, helperRefs$5, helperVars$5] = createHelperVars$1(
6094
6110
  { shadowColor: '#00000020' },
6095
- componentName$1e,
6111
+ componentName$1f,
6096
6112
  );
6097
6113
 
6098
6114
  const { shadowColor: shadowColor$6 } = helperRefs$5;
@@ -6101,25 +6117,25 @@ const list = {
6101
6117
  ...helperTheme$5,
6102
6118
 
6103
6119
  [compVars$7.hostWidth]: '100%',
6104
- [compVars$7.backgroundColor]: globalRefs$z.colors.surface.main,
6105
- [compVars$7.fontFamily]: globalRefs$z.fonts.font1.family,
6106
- [compVars$7.borderColor]: globalRefs$z.colors.surface.light,
6120
+ [compVars$7.backgroundColor]: globalRefs$A.colors.surface.main,
6121
+ [compVars$7.fontFamily]: globalRefs$A.fonts.font1.family,
6122
+ [compVars$7.borderColor]: globalRefs$A.colors.surface.light,
6107
6123
  [compVars$7.borderStyle]: 'solid',
6108
- [compVars$7.borderWidth]: globalRefs$z.border.xs,
6109
- [compVars$7.borderRadius]: globalRefs$z.radius.sm,
6110
- [compVars$7.gap]: globalRefs$z.spacing.md,
6111
- [compVars$7.verticalPadding]: globalRefs$z.spacing.lg,
6112
- [compVars$7.horizontalPadding]: globalRefs$z.spacing.lg,
6113
- [compVars$7.boxShadow]: `${globalRefs$z.shadow.wide.sm} ${shadowColor$6}, ${globalRefs$z.shadow.narrow.sm} ${shadowColor$6}`,
6124
+ [compVars$7.borderWidth]: globalRefs$A.border.xs,
6125
+ [compVars$7.borderRadius]: globalRefs$A.radius.sm,
6126
+ [compVars$7.gap]: globalRefs$A.spacing.md,
6127
+ [compVars$7.verticalPadding]: globalRefs$A.spacing.lg,
6128
+ [compVars$7.horizontalPadding]: globalRefs$A.spacing.lg,
6129
+ [compVars$7.boxShadow]: `${globalRefs$A.shadow.wide.sm} ${shadowColor$6}, ${globalRefs$A.shadow.narrow.sm} ${shadowColor$6}`,
6114
6130
  [compVars$7.maxHeight]: '100%',
6115
- [compVars$7.hostDirection]: globalRefs$z.direction,
6131
+ [compVars$7.hostDirection]: globalRefs$A.direction,
6116
6132
  [compVars$7.minItemsWidth]: '150px',
6117
6133
  [compVars$7.maxRowItems]: '1000', // effectively no limit
6118
6134
 
6119
6135
  _empty: {
6120
6136
  [compVars$7.minHeight]: '150px',
6121
- [compVars$7.emptyStateTextColor]: globalRefs$z.colors.surface.dark,
6122
- [compVars$7.emptyStateTextFontFamily]: globalRefs$z.fonts.font1.family,
6137
+ [compVars$7.emptyStateTextColor]: globalRefs$A.colors.surface.dark,
6138
+ [compVars$7.emptyStateTextFontFamily]: globalRefs$A.fonts.font1.family,
6123
6139
  },
6124
6140
 
6125
6141
  variant: {
@@ -6136,24 +6152,24 @@ const list = {
6136
6152
 
6137
6153
  gap: {
6138
6154
  xs: {
6139
- [compVars$7.gap]: globalRefs$z.spacing.xs,
6155
+ [compVars$7.gap]: globalRefs$A.spacing.xs,
6140
6156
  },
6141
6157
  sm: {
6142
- [compVars$7.gap]: globalRefs$z.spacing.sm,
6158
+ [compVars$7.gap]: globalRefs$A.spacing.sm,
6143
6159
  },
6144
6160
  md: {
6145
- [compVars$7.gap]: globalRefs$z.spacing.md,
6161
+ [compVars$7.gap]: globalRefs$A.spacing.md,
6146
6162
  },
6147
6163
  lg: {
6148
- [compVars$7.gap]: globalRefs$z.spacing.lg,
6164
+ [compVars$7.gap]: globalRefs$A.spacing.lg,
6149
6165
  },
6150
6166
  xl: {
6151
- [compVars$7.gap]: globalRefs$z.spacing.xl,
6167
+ [compVars$7.gap]: globalRefs$A.spacing.xl,
6152
6168
  },
6153
6169
  },
6154
6170
  };
6155
6171
 
6156
- const vars$$ = {
6172
+ const vars$10 = {
6157
6173
  ...compVars$7,
6158
6174
  ...helperVars$5,
6159
6175
  };
@@ -6161,53 +6177,53 @@ const vars$$ = {
6161
6177
  var list$1 = /*#__PURE__*/Object.freeze({
6162
6178
  __proto__: null,
6163
6179
  default: list,
6164
- vars: vars$$
6180
+ vars: vars$10
6165
6181
  });
6166
6182
 
6167
- const globalRefs$y = getThemeRefs$1(globals);
6183
+ const globalRefs$z = getThemeRefs$1(globals);
6168
6184
 
6169
- const vars$_ = ListItemClass.cssVarList;
6185
+ const vars$$ = ListItemClass.cssVarList;
6170
6186
 
6171
6187
  const listItem = {
6172
- [vars$_.backgroundColor]: globalRefs$y.colors.surface.main,
6173
- [vars$_.verticalPadding]: globalRefs$y.spacing.lg,
6174
- [vars$_.horizontalPadding]: globalRefs$y.spacing.lg,
6175
- [vars$_.gap]: globalRefs$y.spacing.md,
6176
- [vars$_.borderStyle]: 'solid',
6177
- [vars$_.borderWidth]: globalRefs$y.border.xs,
6178
- [vars$_.borderColor]: globalRefs$y.colors.surface.main,
6179
- [vars$_.borderRadius]: globalRefs$y.radius.sm,
6180
- [vars$_.cursor]: 'pointer',
6181
- [vars$_.alignItems]: 'center',
6182
- [vars$_.flexDirection]: 'row',
6183
- [vars$_.transition]: 'border-color 0.2s, background-color 0.2s',
6188
+ [vars$$.backgroundColor]: globalRefs$z.colors.surface.main,
6189
+ [vars$$.verticalPadding]: globalRefs$z.spacing.lg,
6190
+ [vars$$.horizontalPadding]: globalRefs$z.spacing.lg,
6191
+ [vars$$.gap]: globalRefs$z.spacing.md,
6192
+ [vars$$.borderStyle]: 'solid',
6193
+ [vars$$.borderWidth]: globalRefs$z.border.xs,
6194
+ [vars$$.borderColor]: globalRefs$z.colors.surface.main,
6195
+ [vars$$.borderRadius]: globalRefs$z.radius.sm,
6196
+ [vars$$.cursor]: 'pointer',
6197
+ [vars$$.alignItems]: 'center',
6198
+ [vars$$.flexDirection]: 'row',
6199
+ [vars$$.transition]: 'border-color 0.2s, background-color 0.2s',
6184
6200
 
6185
6201
  variant: {
6186
6202
  tile: {
6187
- [vars$_.alignItems]: 'flex-start',
6188
- [vars$_.flexDirection]: 'column',
6189
- [vars$_.borderColor]: globalRefs$y.colors.surface.light,
6203
+ [vars$$.alignItems]: 'flex-start',
6204
+ [vars$$.flexDirection]: 'column',
6205
+ [vars$$.borderColor]: globalRefs$z.colors.surface.light,
6190
6206
  },
6191
6207
  },
6192
6208
 
6193
6209
  _hover: {
6194
- [vars$_.backgroundColor]: globalRefs$y.colors.surface.highlight,
6210
+ [vars$$.backgroundColor]: globalRefs$z.colors.surface.highlight,
6195
6211
  },
6196
6212
 
6197
6213
  _active: {
6198
- [vars$_.backgroundColor]: globalRefs$y.colors.surface.main,
6199
- [vars$_.borderColor]: globalRefs$y.colors.primary.light,
6200
- [vars$_.outline]: `1px solid ${globalRefs$y.colors.primary.light}`,
6214
+ [vars$$.backgroundColor]: globalRefs$z.colors.surface.main,
6215
+ [vars$$.borderColor]: globalRefs$z.colors.primary.light,
6216
+ [vars$$.outline]: `1px solid ${globalRefs$z.colors.primary.light}`,
6201
6217
  },
6202
6218
  };
6203
6219
 
6204
6220
  var listItem$1 = /*#__PURE__*/Object.freeze({
6205
6221
  __proto__: null,
6206
6222
  default: listItem,
6207
- vars: vars$_
6223
+ vars: vars$$
6208
6224
  });
6209
6225
 
6210
- const componentName$1c = getComponentName('multi-select-combo-box');
6226
+ const componentName$1d = getComponentName('multi-select-combo-box');
6211
6227
 
6212
6228
  const multiSelectComboBoxMixin = (superclass) =>
6213
6229
  class MultiSelectComboBoxMixinClass extends superclass {
@@ -6586,7 +6602,7 @@ const multiSelectComboBoxMixin = (superclass) =>
6586
6602
  };
6587
6603
 
6588
6604
  const {
6589
- host: host$v,
6605
+ host: host$w,
6590
6606
  inputField: inputField$5,
6591
6607
  inputElement: inputElement$2,
6592
6608
  placeholder: placeholder$2,
@@ -6626,9 +6642,9 @@ const {
6626
6642
  const MultiSelectComboBoxClass = compose(
6627
6643
  createStyleMixin$1({
6628
6644
  mappings: {
6629
- hostWidth: { ...host$v, property: 'width' },
6630
- hostDirection: { ...host$v, property: 'direction' },
6631
- fontSize: [{}, host$v],
6645
+ hostWidth: { ...host$w, property: 'width' },
6646
+ hostDirection: { ...host$w, property: 'direction' },
6647
+ fontSize: [{}, host$w],
6632
6648
  chipFontSize: { ...chipLabel, property: 'font-size' },
6633
6649
  fontFamily: [
6634
6650
  label$8,
@@ -6870,13 +6886,13 @@ const MultiSelectComboBoxClass = compose(
6870
6886
 
6871
6887
  `,
6872
6888
  excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder', 'style'],
6873
- componentName: componentName$1c,
6889
+ componentName: componentName$1d,
6874
6890
  includeForwardProps: ['items', 'renderer', 'selectedItems'],
6875
6891
  }),
6876
6892
  );
6877
6893
 
6878
- const componentName$1b = getComponentName('multi-line-mappings');
6879
- const BaseClass$8 = createBaseClass$1({ componentName: componentName$1b });
6894
+ const componentName$1c = getComponentName('multi-line-mappings');
6895
+ const BaseClass$9 = createBaseClass$1({ componentName: componentName$1c });
6880
6896
 
6881
6897
  const parseJSON = (value, fallback, source = 'unknown') => {
6882
6898
  if (typeof value !== 'string' || !value?.trim()) {
@@ -6946,7 +6962,7 @@ const createEmptyRow = () => ({ firstValues: [], secondValues: [] });
6946
6962
  const areSameValues = (first = [], second = []) =>
6947
6963
  first.length === second.length && first.every((v, i) => v === second[i]);
6948
6964
 
6949
- class RawMultiLineMappingsClass extends BaseClass$8 {
6965
+ class RawMultiLineMappingsClass extends BaseClass$9 {
6950
6966
  static get observedAttributes() {
6951
6967
  return [
6952
6968
  'data',
@@ -7583,7 +7599,7 @@ class RawMultiLineMappingsClass extends BaseClass$8 {
7583
7599
  }
7584
7600
  }
7585
7601
 
7586
- const host$u = { selector: () => ':host' };
7602
+ const host$v = { selector: () => ':host' };
7587
7603
  const rows = { selector: '.rows' };
7588
7604
  const row = { selector: '.row' };
7589
7605
  const addAction = { selector: '.add-action' };
@@ -7591,9 +7607,9 @@ const addAction = { selector: '.add-action' };
7591
7607
  const MultiLineMappingsClass = compose(
7592
7608
  createStyleMixin$1({
7593
7609
  mappings: {
7594
- hostWidth: { ...host$u, property: 'width' },
7610
+ hostWidth: { ...host$v, property: 'width' },
7595
7611
  hostDirection: [
7596
- { ...host$u, property: 'direction' },
7612
+ { ...host$v, property: 'direction' },
7597
7613
  {
7598
7614
  selector: MultiSelectComboBoxClass.componentName,
7599
7615
  property: MultiSelectComboBoxClass.cssVarList.hostDirection,
@@ -7614,126 +7630,126 @@ const MultiLineMappingsClass = compose(
7614
7630
  draggableMixin$1,
7615
7631
  )(RawMultiLineMappingsClass);
7616
7632
 
7617
- const vars$Z = MultiLineMappingsClass.cssVarList;
7633
+ const vars$_ = MultiLineMappingsClass.cssVarList;
7618
7634
 
7619
7635
  const multiLineMappings = {
7620
- [vars$Z.hostDirection]: refs$1.direction,
7636
+ [vars$_.hostDirection]: refs$1.direction,
7621
7637
 
7622
- [vars$Z.rowsGap]: globals.spacing.sm,
7623
- [vars$Z.rowGap]: globals.spacing.sm,
7624
- [vars$Z.rowAlignItems]: 'flex-end',
7625
- [vars$Z.rowWrap]: 'nowrap',
7638
+ [vars$_.rowsGap]: globals.spacing.sm,
7639
+ [vars$_.rowGap]: globals.spacing.sm,
7640
+ [vars$_.rowAlignItems]: 'flex-end',
7641
+ [vars$_.rowWrap]: 'nowrap',
7626
7642
 
7627
- [vars$Z.addActionJustifyContent]: 'flex-start',
7628
- [vars$Z.addActionMarginTop]: globals.spacing.xs,
7643
+ [vars$_.addActionJustifyContent]: 'flex-start',
7644
+ [vars$_.addActionMarginTop]: globals.spacing.xs,
7629
7645
 
7630
7646
  _fullWidth: {
7631
- [vars$Z.hostWidth]: '100%',
7647
+ [vars$_.hostWidth]: '100%',
7632
7648
  },
7633
7649
  };
7634
7650
 
7635
7651
  var multiLineMappings$1 = /*#__PURE__*/Object.freeze({
7636
7652
  __proto__: null,
7637
7653
  default: multiLineMappings,
7638
- vars: vars$Z
7654
+ vars: vars$_
7639
7655
  });
7640
7656
 
7641
- const globalRefs$x = getThemeRefs$1(globals);
7642
- const vars$Y = MultiSelectComboBoxClass.cssVarList;
7657
+ const globalRefs$y = getThemeRefs$1(globals);
7658
+ const vars$Z = MultiSelectComboBoxClass.cssVarList;
7643
7659
 
7644
7660
  const multiSelectComboBox = {
7645
- [vars$Y.hostWidth]: refs$1.width,
7646
- [vars$Y.hostDirection]: refs$1.direction,
7647
- [vars$Y.fontSize]: refs$1.fontSize,
7648
- [vars$Y.fontFamily]: refs$1.fontFamily,
7649
- [vars$Y.labelFontSize]: refs$1.labelFontSize,
7650
- [vars$Y.labelFontWeight]: refs$1.labelFontWeight,
7651
- [vars$Y.inputValueFontWeight]: refs$1.inputValueFontWeight,
7652
- [vars$Y.inputPlaceholderFontWeight]: refs$1.inputPlaceholderFontWeight,
7653
- [vars$Y.helperTextFontWeight]: refs$1.helperTextFontWeight,
7654
- [vars$Y.errorMessageFontWeight]: refs$1.errorMessageFontWeight,
7655
- [vars$Y.labelTextColor]: refs$1.labelTextColor,
7656
- [vars$Y.errorMessageTextColor]: refs$1.errorMessageTextColor,
7657
- [vars$Y.inputBorderColor]: refs$1.borderColor,
7658
- [vars$Y.inputBorderWidth]: refs$1.borderWidth,
7659
- [vars$Y.inputBorderStyle]: refs$1.borderStyle,
7660
- [vars$Y.inputBorderRadius]: refs$1.borderRadius,
7661
- [vars$Y.inputOutlineColor]: refs$1.outlineColor,
7662
- [vars$Y.inputOutlineOffset]: refs$1.outlineOffset,
7663
- [vars$Y.inputOutlineWidth]: refs$1.outlineWidth,
7664
- [vars$Y.inputOutlineStyle]: refs$1.outlineStyle,
7665
- [vars$Y.labelRequiredIndicator]: refs$1.requiredIndicator,
7666
- [vars$Y.inputValueTextColor]: refs$1.valueTextColor,
7667
- [vars$Y.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
7668
- [vars$Y.inputBackgroundColor]: refs$1.backgroundColor,
7669
- [vars$Y.inputHorizontalPadding]: refs$1.horizontalPadding,
7670
- [vars$Y.inputVerticalPadding]: refs$1.verticalPadding,
7671
- [vars$Y.inputHeight]: refs$1.inputHeight,
7672
- [vars$Y.inputDropdownButtonColor]: globalRefs$x.colors.surface.dark,
7673
- [vars$Y.inputDropdownButtonCursor]: 'pointer',
7674
- [vars$Y.inputDropdownButtonSize]: refs$1.toggleButtonSize,
7675
- [vars$Y.inputDropdownButtonOffset]: globalRefs$x.spacing.xs,
7676
- [vars$Y.overlayItemPaddingInlineStart]: globalRefs$x.spacing.xs,
7677
- [vars$Y.overlayItemPaddingInlineEnd]: globalRefs$x.spacing.lg,
7678
- [vars$Y.chipFontSize]: refs$1.chipFontSize,
7679
- [vars$Y.chipTextColor]: globalRefs$x.colors.surface.contrast,
7680
- [vars$Y.chipBackgroundColor]: globalRefs$x.colors.surface.light,
7681
- [vars$Y.labelPosition]: refs$1.labelPosition,
7682
- [vars$Y.labelTopPosition]: refs$1.labelTopPosition,
7683
- [vars$Y.labelLeftPosition]: refs$1.labelLeftPosition,
7684
- [vars$Y.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
7685
- [vars$Y.inputTransformY]: refs$1.inputTransformY,
7686
- [vars$Y.inputTransition]: refs$1.inputTransition,
7687
- [vars$Y.marginInlineStart]: refs$1.marginInlineStart,
7688
- [vars$Y.placeholderOpacity]: refs$1.placeholderOpacity,
7689
- [vars$Y.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
7690
-
7691
- [vars$Y.errorMessageIcon]: refs$1.errorMessageIcon,
7692
- [vars$Y.errorMessageIconSize]: refs$1.errorMessageIconSize,
7693
- [vars$Y.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
7694
- [vars$Y.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
7695
- [vars$Y.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
7696
- [vars$Y.errorMessageFontSize]: refs$1.errorMessageFontSize,
7661
+ [vars$Z.hostWidth]: refs$1.width,
7662
+ [vars$Z.hostDirection]: refs$1.direction,
7663
+ [vars$Z.fontSize]: refs$1.fontSize,
7664
+ [vars$Z.fontFamily]: refs$1.fontFamily,
7665
+ [vars$Z.labelFontSize]: refs$1.labelFontSize,
7666
+ [vars$Z.labelFontWeight]: refs$1.labelFontWeight,
7667
+ [vars$Z.inputValueFontWeight]: refs$1.inputValueFontWeight,
7668
+ [vars$Z.inputPlaceholderFontWeight]: refs$1.inputPlaceholderFontWeight,
7669
+ [vars$Z.helperTextFontWeight]: refs$1.helperTextFontWeight,
7670
+ [vars$Z.errorMessageFontWeight]: refs$1.errorMessageFontWeight,
7671
+ [vars$Z.labelTextColor]: refs$1.labelTextColor,
7672
+ [vars$Z.errorMessageTextColor]: refs$1.errorMessageTextColor,
7673
+ [vars$Z.inputBorderColor]: refs$1.borderColor,
7674
+ [vars$Z.inputBorderWidth]: refs$1.borderWidth,
7675
+ [vars$Z.inputBorderStyle]: refs$1.borderStyle,
7676
+ [vars$Z.inputBorderRadius]: refs$1.borderRadius,
7677
+ [vars$Z.inputOutlineColor]: refs$1.outlineColor,
7678
+ [vars$Z.inputOutlineOffset]: refs$1.outlineOffset,
7679
+ [vars$Z.inputOutlineWidth]: refs$1.outlineWidth,
7680
+ [vars$Z.inputOutlineStyle]: refs$1.outlineStyle,
7681
+ [vars$Z.labelRequiredIndicator]: refs$1.requiredIndicator,
7682
+ [vars$Z.inputValueTextColor]: refs$1.valueTextColor,
7683
+ [vars$Z.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
7684
+ [vars$Z.inputBackgroundColor]: refs$1.backgroundColor,
7685
+ [vars$Z.inputHorizontalPadding]: refs$1.horizontalPadding,
7686
+ [vars$Z.inputVerticalPadding]: refs$1.verticalPadding,
7687
+ [vars$Z.inputHeight]: refs$1.inputHeight,
7688
+ [vars$Z.inputDropdownButtonColor]: globalRefs$y.colors.surface.dark,
7689
+ [vars$Z.inputDropdownButtonCursor]: 'pointer',
7690
+ [vars$Z.inputDropdownButtonSize]: refs$1.toggleButtonSize,
7691
+ [vars$Z.inputDropdownButtonOffset]: globalRefs$y.spacing.xs,
7692
+ [vars$Z.overlayItemPaddingInlineStart]: globalRefs$y.spacing.xs,
7693
+ [vars$Z.overlayItemPaddingInlineEnd]: globalRefs$y.spacing.lg,
7694
+ [vars$Z.chipFontSize]: refs$1.chipFontSize,
7695
+ [vars$Z.chipTextColor]: globalRefs$y.colors.surface.contrast,
7696
+ [vars$Z.chipBackgroundColor]: globalRefs$y.colors.surface.light,
7697
+ [vars$Z.labelPosition]: refs$1.labelPosition,
7698
+ [vars$Z.labelTopPosition]: refs$1.labelTopPosition,
7699
+ [vars$Z.labelLeftPosition]: refs$1.labelLeftPosition,
7700
+ [vars$Z.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
7701
+ [vars$Z.inputTransformY]: refs$1.inputTransformY,
7702
+ [vars$Z.inputTransition]: refs$1.inputTransition,
7703
+ [vars$Z.marginInlineStart]: refs$1.marginInlineStart,
7704
+ [vars$Z.placeholderOpacity]: refs$1.placeholderOpacity,
7705
+ [vars$Z.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
7706
+
7707
+ [vars$Z.errorMessageIcon]: refs$1.errorMessageIcon,
7708
+ [vars$Z.errorMessageIconSize]: refs$1.errorMessageIconSize,
7709
+ [vars$Z.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
7710
+ [vars$Z.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
7711
+ [vars$Z.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
7712
+ [vars$Z.errorMessageFontSize]: refs$1.errorMessageFontSize,
7697
7713
 
7698
7714
  labelType: {
7699
7715
  floating: {
7700
- [vars$Y.inputHorizontalPadding]: '0.25em',
7716
+ [vars$Z.inputHorizontalPadding]: '0.25em',
7701
7717
  _hasValue: {
7702
- [vars$Y.inputHorizontalPadding]: '0.45em',
7718
+ [vars$Z.inputHorizontalPadding]: '0.45em',
7703
7719
  },
7704
7720
  },
7705
7721
  },
7706
7722
 
7707
7723
  _readonly: {
7708
- [vars$Y.inputDropdownButtonCursor]: 'default',
7724
+ [vars$Z.inputDropdownButtonCursor]: 'default',
7709
7725
  },
7710
7726
 
7711
- [vars$Y.overlayFontSize]: refs$1.fontSize,
7712
- [vars$Y.overlayFontFamily]: refs$1.fontFamily,
7713
- [vars$Y.overlayCursor]: 'pointer',
7714
- [vars$Y.overlayItemBoxShadow]: 'none',
7715
- [vars$Y.overlayBackground]: refs$1.backgroundColor,
7716
- [vars$Y.overlayTextColor]: refs$1.valueTextColor,
7727
+ [vars$Z.overlayFontSize]: refs$1.fontSize,
7728
+ [vars$Z.overlayFontFamily]: refs$1.fontFamily,
7729
+ [vars$Z.overlayCursor]: 'pointer',
7730
+ [vars$Z.overlayItemBoxShadow]: 'none',
7731
+ [vars$Z.overlayBackground]: refs$1.backgroundColor,
7732
+ [vars$Z.overlayTextColor]: refs$1.valueTextColor,
7717
7733
 
7718
- [vars$Y.overlay.minHeight]: '400px',
7719
- [vars$Y.overlay.margin]: '0',
7734
+ [vars$Z.overlay.minHeight]: '400px',
7735
+ [vars$Z.overlay.margin]: '0',
7720
7736
  };
7721
7737
 
7722
7738
  var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
7723
7739
  __proto__: null,
7724
7740
  default: multiSelectComboBox,
7725
7741
  multiSelectComboBox: multiSelectComboBox,
7726
- vars: vars$Y
7742
+ vars: vars$Z
7727
7743
  });
7728
7744
 
7729
- const componentName$1a = getComponentName('autocomplete-field-internal');
7745
+ const componentName$1b = getComponentName('autocomplete-field-internal');
7730
7746
 
7731
7747
  createBaseInputClass$1({
7732
- componentName: componentName$1a,
7748
+ componentName: componentName$1b,
7733
7749
  baseSelector: '',
7734
7750
  });
7735
7751
 
7736
- const componentName$19 = getComponentName('autocomplete-field');
7752
+ const componentName$1a = getComponentName('autocomplete-field');
7737
7753
 
7738
7754
  const customMixin$d = (superclass) =>
7739
7755
  class AutocompleteFieldMixinClass extends superclass {
@@ -7754,15 +7770,15 @@ const customMixin$d = (superclass) =>
7754
7770
  const template = document.createElement('template');
7755
7771
 
7756
7772
  template.innerHTML = `
7757
- <${componentName$1a}
7773
+ <${componentName$1b}
7758
7774
  tabindex="-1"
7759
- ></${componentName$1a}>
7775
+ ></${componentName$1b}>
7760
7776
  `;
7761
7777
 
7762
7778
  this.baseElement.appendChild(template.content.cloneNode(true));
7763
7779
 
7764
7780
  this.inputElement = this.shadowRoot.querySelector(
7765
- componentName$1a,
7781
+ componentName$1b,
7766
7782
  );
7767
7783
 
7768
7784
  forwardAttrs(this, this.inputElement, {
@@ -7802,7 +7818,7 @@ const customMixin$d = (superclass) =>
7802
7818
  }
7803
7819
  };
7804
7820
 
7805
- const { host: host$t } = {
7821
+ const { host: host$u } = {
7806
7822
  host: { selector: () => ':host' },
7807
7823
  };
7808
7824
 
@@ -7812,9 +7828,9 @@ const AutocompleteFieldClass = compose(
7812
7828
  }),
7813
7829
  createStyleMixin$1({
7814
7830
  mappings: {
7815
- hostWidth: { ...host$t, property: 'width' },
7816
- hostDirection: { ...host$t, property: 'direction' },
7817
- fontSize: { ...host$t },
7831
+ hostWidth: { ...host$u, property: 'width' },
7832
+ hostDirection: { ...host$u, property: 'direction' },
7833
+ fontSize: { ...host$u },
7818
7834
  checkmarkDisplay: {
7819
7835
  selector: ComboBoxClass.componentName,
7820
7836
  property: ComboBoxClass.cssVarList.overlayCheckmarkDisplay,
@@ -7881,34 +7897,34 @@ const AutocompleteFieldClass = compose(
7881
7897
  }
7882
7898
  `,
7883
7899
  excludeAttrsSync: ['tabindex', 'error-message', 'label', 'style'],
7884
- componentName: componentName$19,
7900
+ componentName: componentName$1a,
7885
7901
  }),
7886
7902
  );
7887
7903
 
7888
- const vars$X = AutocompleteFieldClass.cssVarList;
7889
- const globalRefs$w = getThemeRefs$1(globals);
7904
+ const vars$Y = AutocompleteFieldClass.cssVarList;
7905
+ const globalRefs$x = getThemeRefs$1(globals);
7890
7906
 
7891
7907
  const autocompleteField = {
7892
- [vars$X.hostWidth]: refs$1.width,
7893
- [vars$X.hostDirection]: refs$1.direction,
7894
- [vars$X.fontSize]: refs$1.fontSize,
7895
- [vars$X.checkmarkDisplay]: 'none',
7896
- [vars$X.itemPaddingInlineStart]: globalRefs$w.spacing.lg,
7897
- [vars$X.itemPaddingInlineEnd]: globalRefs$w.spacing.lg,
7898
- [vars$X.selectedItemBackground]: globalRefs$w.colors.primary.light,
7899
- [vars$X.selectedItemHoverBackground]: globalRefs$w.colors.primary.light,
7900
- [vars$X.selectedItemFocusBackground]: globalRefs$w.colors.primary.light,
7901
- [vars$X.itemHoverBackground]: globalRefs$w.colors.primary.highlight,
7908
+ [vars$Y.hostWidth]: refs$1.width,
7909
+ [vars$Y.hostDirection]: refs$1.direction,
7910
+ [vars$Y.fontSize]: refs$1.fontSize,
7911
+ [vars$Y.checkmarkDisplay]: 'none',
7912
+ [vars$Y.itemPaddingInlineStart]: globalRefs$x.spacing.lg,
7913
+ [vars$Y.itemPaddingInlineEnd]: globalRefs$x.spacing.lg,
7914
+ [vars$Y.selectedItemBackground]: globalRefs$x.colors.primary.light,
7915
+ [vars$Y.selectedItemHoverBackground]: globalRefs$x.colors.primary.light,
7916
+ [vars$Y.selectedItemFocusBackground]: globalRefs$x.colors.primary.light,
7917
+ [vars$Y.itemHoverBackground]: globalRefs$x.colors.primary.highlight,
7902
7918
 
7903
7919
  _fullWidth: {
7904
- [vars$X.hostWidth]: '100%',
7920
+ [vars$Y.hostWidth]: '100%',
7905
7921
  },
7906
7922
  };
7907
7923
 
7908
7924
  var autocompleteField$1 = /*#__PURE__*/Object.freeze({
7909
7925
  __proto__: null,
7910
7926
  default: autocompleteField,
7911
- vars: vars$X
7927
+ vars: vars$Y
7912
7928
  });
7913
7929
 
7914
7930
  const initGoogleMapsLoader = (apiKey) => {
@@ -8135,7 +8151,7 @@ class RadarConnector extends createBaseConnectorClass() {
8135
8151
  }
8136
8152
  }
8137
8153
 
8138
- const componentName$18 = getComponentName('address-field-internal');
8154
+ const componentName$19 = getComponentName('address-field-internal');
8139
8155
 
8140
8156
  const GOOGLE_MAPS_CONNECTOR_TEMPLATE = 'google-maps-places';
8141
8157
  const RADAR_CONNECTOR_TEMPLATE = 'radar';
@@ -8146,7 +8162,7 @@ const CONNECTOR_CLASSES = {
8146
8162
  };
8147
8163
 
8148
8164
  const BaseInputClass$7 = createBaseInputClass$1({
8149
- componentName: componentName$18,
8165
+ componentName: componentName$19,
8150
8166
  baseSelector: '',
8151
8167
  });
8152
8168
  const initConnectorAttrs = ['public-api-key'];
@@ -8253,7 +8269,7 @@ compose(
8253
8269
  connectorMixin({ connectorClasses: CONNECTOR_CLASSES }),
8254
8270
  )(RawAddressFieldInternal);
8255
8271
 
8256
- const componentName$17 = getComponentName('address-field');
8272
+ const componentName$18 = getComponentName('address-field');
8257
8273
 
8258
8274
  const customMixin$c = (superclass) =>
8259
8275
  class AddressFieldMixinClass extends superclass {
@@ -8282,15 +8298,15 @@ const customMixin$c = (superclass) =>
8282
8298
  const template = document.createElement('template');
8283
8299
 
8284
8300
  template.innerHTML = `
8285
- <${componentName$18}
8301
+ <${componentName$19}
8286
8302
  tabindex="-1"
8287
- ></${componentName$18}>
8303
+ ></${componentName$19}>
8288
8304
  `;
8289
8305
 
8290
8306
  this.baseElement.appendChild(template.content.cloneNode(true));
8291
8307
 
8292
8308
  this.inputElement = this.shadowRoot.querySelector(
8293
- componentName$18,
8309
+ componentName$19,
8294
8310
  );
8295
8311
 
8296
8312
  forwardAttrs(this, this.inputElement, {
@@ -8331,7 +8347,7 @@ const customMixin$c = (superclass) =>
8331
8347
  }
8332
8348
  };
8333
8349
 
8334
- const { host: host$s } = {
8350
+ const { host: host$t } = {
8335
8351
  host: { selector: () => ':host' },
8336
8352
  };
8337
8353
 
@@ -8341,8 +8357,8 @@ const AddressFieldClass = compose(
8341
8357
  }),
8342
8358
  createStyleMixin$1({
8343
8359
  mappings: {
8344
- hostWidth: { ...host$s, property: 'width' },
8345
- hostDirection: { ...host$s, property: 'direction' },
8360
+ hostWidth: { ...host$t, property: 'width' },
8361
+ hostDirection: { ...host$t, property: 'direction' },
8346
8362
  },
8347
8363
  }),
8348
8364
  draggableMixin$1,
@@ -8368,7 +8384,7 @@ const AddressFieldClass = compose(
8368
8384
  width: 100%;
8369
8385
  }
8370
8386
 
8371
- ${componentName$18} {
8387
+ ${componentName$19} {
8372
8388
  display: inline-block;
8373
8389
  box-sizing: border-box;
8374
8390
  user-select: none;
@@ -8376,30 +8392,30 @@ const AddressFieldClass = compose(
8376
8392
  max-width: 100%;
8377
8393
  }
8378
8394
 
8379
- ${componentName$18} ::slotted {
8395
+ ${componentName$19} ::slotted {
8380
8396
  padding: 0;
8381
8397
  }
8382
8398
  `,
8383
8399
  excludeAttrsSync: ['tabindex', 'error-message', 'label', 'style'],
8384
- componentName: componentName$17,
8400
+ componentName: componentName$18,
8385
8401
  }),
8386
8402
  );
8387
8403
 
8388
- const vars$W = AddressFieldClass.cssVarList;
8404
+ const vars$X = AddressFieldClass.cssVarList;
8389
8405
 
8390
8406
  const addressField = {
8391
- [vars$W.hostWidth]: refs$1.width,
8392
- [vars$W.hostDirection]: refs$1.direction,
8407
+ [vars$X.hostWidth]: refs$1.width,
8408
+ [vars$X.hostDirection]: refs$1.direction,
8393
8409
 
8394
8410
  _fullWidth: {
8395
- [vars$W.hostWidth]: '100%',
8411
+ [vars$X.hostWidth]: '100%',
8396
8412
  },
8397
8413
  };
8398
8414
 
8399
8415
  var addressField$1 = /*#__PURE__*/Object.freeze({
8400
8416
  __proto__: null,
8401
8417
  default: addressField,
8402
- vars: vars$W
8418
+ vars: vars$X
8403
8419
  });
8404
8420
 
8405
8421
  var clockIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMWVtIiBoZWlnaHQ9IjFlbSIgdmlld0JveD0iMCAwIDEwNCAxMDQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01MC4zMzM0IDAuMzMzMjUyQzIyLjgzMzQgMC4zMzMyNTIgMC4zMzMzNzQgMjIuODMzMyAwLjMzMzM3NCA1MC4zMzMzQzAuMzMzMzc0IDc3LjgzMzMgMjIuODMzNCAxMDAuMzMzIDUwLjMzMzQgMTAwLjMzM0M3Ny44MzM0IDEwMC4zMzMgMTAwLjMzMyA3Ny44MzMzIDEwMC4zMzMgNTAuMzMzM0MxMDAuMzMzIDIyLjgzMzMgNzcuODMzNCAwLjMzMzI1MiA1MC4zMzM0IDAuMzMzMjUyWk01MC4zMzM0IDg3LjgzMzNDMjkuNzA4NCA4Ny44MzMzIDEyLjgzMzQgNzAuOTU4MyAxMi44MzM0IDUwLjMzMzNDMTIuODMzNCAyOS43MDgzIDI5LjcwODQgMTIuODMzMyA1MC4zMzM0IDEyLjgzMzNDNzAuOTU4NCAxMi44MzMzIDg3LjgzMzQgMjkuNzA4MyA4Ny44MzM0IDUwLjMzMzNDODcuODMzNCA3MC45NTgzIDcwLjk1ODQgODcuODMzMyA1MC4zMzM0IDg3LjgzMzNaIiBmaWxsPSIjMTgxQTFDIi8+CjxwYXRoIGQ9Ik01MC4zMzI4IDE5LjA4MzNINDQuMDgyOFY1Ni41ODMySDc1LjMzMjhWNTAuMzMzMkg1MC4zMzI4VjE5LjA4MzNaIiBmaWxsPSIjMTgxQTFDIi8+Cjwvc3ZnPgo=";
@@ -8421,24 +8437,24 @@ const formatTime = (ms = 0) => {
8421
8437
  return timeParts.join(':');
8422
8438
  };
8423
8439
 
8424
- const componentName$16 = getComponentName('timer');
8440
+ const componentName$17 = getComponentName('timer');
8425
8441
 
8426
8442
  const observedAttributes$5 = ['seconds', 'hide-icon', 'paused'];
8427
8443
 
8428
- const BaseClass$7 = createBaseClass$1({
8429
- componentName: componentName$16,
8444
+ const BaseClass$8 = createBaseClass$1({
8445
+ componentName: componentName$17,
8430
8446
  baseSelector: ':host > .wrapper',
8431
8447
  });
8432
8448
 
8433
8449
  const DEFAULT_INTERVAL = 1000;
8434
8450
 
8435
- class RawTimer extends BaseClass$7 {
8451
+ class RawTimer extends BaseClass$8 {
8436
8452
  #timeRemains = 0;
8437
8453
 
8438
8454
  #intervalId;
8439
8455
 
8440
8456
  static get observedAttributes() {
8441
- return observedAttributes$5.concat(BaseClass$7.observedAttributes || []);
8457
+ return observedAttributes$5.concat(BaseClass$8.observedAttributes || []);
8442
8458
  }
8443
8459
 
8444
8460
  constructor() {
@@ -8579,7 +8595,7 @@ class RawTimer extends BaseClass$7 {
8579
8595
  }
8580
8596
  }
8581
8597
 
8582
- const { host: host$r, icon: icon$2, timer: timer$2 } = {
8598
+ const { host: host$s, icon: icon$2, timer: timer$2 } = {
8583
8599
  host: { selector: () => ':host' },
8584
8600
  icon: { selector: () => '.icon' },
8585
8601
  timer: { selector: () => '.timer' },
@@ -8600,8 +8616,8 @@ const TimerClass = compose(
8600
8616
  textColor: { ...timer$2, property: 'color' },
8601
8617
  gap: {},
8602
8618
  textAlign: { property: 'justify-content' },
8603
- hostWidth: { ...host$r, property: 'width' },
8604
- hostDirection: { ...host$r, property: 'direction' },
8619
+ hostWidth: { ...host$s, property: 'width' },
8620
+ hostDirection: { ...host$s, property: 'direction' },
8605
8621
  iconColor: { ...icon$2, property: IconClass.cssVarList.fill },
8606
8622
  },
8607
8623
  }),
@@ -8609,45 +8625,45 @@ const TimerClass = compose(
8609
8625
  componentNameValidationMixin$1,
8610
8626
  )(RawTimer);
8611
8627
 
8612
- const globalRefs$v = getThemeRefs$1(globals);
8613
- const vars$V = TimerClass.cssVarList;
8628
+ const globalRefs$w = getThemeRefs$1(globals);
8629
+ const vars$W = TimerClass.cssVarList;
8614
8630
 
8615
8631
  const timer = {
8616
- [vars$V.hostDirection]: globalRefs$v.direction,
8617
- [vars$V.gap]: '0.25em',
8618
- [vars$V.fontFamily]: globalRefs$v.fonts.font1.family,
8619
- [vars$V.minHeight]: '1.5em',
8620
- [vars$V.lineHeight]: '1em',
8621
- [vars$V.fontWeight]: globalRefs$v.fonts.font1.fontWeight,
8622
- [vars$V.textColor]: globalRefs$v.colors.surface.contrast,
8623
- [vars$V.iconColor]: globalRefs$v.colors.surface.contrast,
8624
- [vars$V.iconSize]: '1em',
8632
+ [vars$W.hostDirection]: globalRefs$w.direction,
8633
+ [vars$W.gap]: '0.25em',
8634
+ [vars$W.fontFamily]: globalRefs$w.fonts.font1.family,
8635
+ [vars$W.minHeight]: '1.5em',
8636
+ [vars$W.lineHeight]: '1em',
8637
+ [vars$W.fontWeight]: globalRefs$w.fonts.font1.fontWeight,
8638
+ [vars$W.textColor]: globalRefs$w.colors.surface.contrast,
8639
+ [vars$W.iconColor]: globalRefs$w.colors.surface.contrast,
8640
+ [vars$W.iconSize]: '1em',
8625
8641
 
8626
8642
  size: {
8627
- xs: { [vars$V.fontSize]: '12px' },
8628
- sm: { [vars$V.fontSize]: '14px' },
8629
- md: { [vars$V.fontSize]: '16px' },
8630
- lg: { [vars$V.fontSize]: '18px' },
8643
+ xs: { [vars$W.fontSize]: '12px' },
8644
+ sm: { [vars$W.fontSize]: '14px' },
8645
+ md: { [vars$W.fontSize]: '16px' },
8646
+ lg: { [vars$W.fontSize]: '18px' },
8631
8647
  },
8632
8648
 
8633
8649
  textAlign: {
8634
- right: { [vars$V.textAlign]: 'right' },
8635
- left: { [vars$V.textAlign]: 'left' },
8636
- center: { [vars$V.textAlign]: 'center' },
8650
+ right: { [vars$W.textAlign]: 'right' },
8651
+ left: { [vars$W.textAlign]: 'left' },
8652
+ center: { [vars$W.textAlign]: 'center' },
8637
8653
  },
8638
8654
 
8639
8655
  _fullWidth: {
8640
- [vars$V.hostWidth]: '100%',
8656
+ [vars$W.hostWidth]: '100%',
8641
8657
  },
8642
8658
  };
8643
8659
 
8644
8660
  var timer$1 = /*#__PURE__*/Object.freeze({
8645
8661
  __proto__: null,
8646
8662
  default: timer,
8647
- vars: vars$V
8663
+ vars: vars$W
8648
8664
  });
8649
8665
 
8650
- const componentName$15 = getComponentName('timer-button');
8666
+ const componentName$16 = getComponentName('timer-button');
8651
8667
 
8652
8668
  const buttonAttrs = [
8653
8669
  'button-variant',
@@ -8677,12 +8693,12 @@ const mapTimerAttrs = {
8677
8693
  'timer-paused': 'paused',
8678
8694
  };
8679
8695
 
8680
- const BaseClass$6 = createBaseClass$1({
8681
- componentName: componentName$15,
8696
+ const BaseClass$7 = createBaseClass$1({
8697
+ componentName: componentName$16,
8682
8698
  baseSelector: ':host > div',
8683
8699
  });
8684
8700
 
8685
- class RawTimerButton extends BaseClass$6 {
8701
+ class RawTimerButton extends BaseClass$7 {
8686
8702
  constructor() {
8687
8703
  super();
8688
8704
 
@@ -8830,7 +8846,7 @@ class RawTimerButton extends BaseClass$6 {
8830
8846
  }
8831
8847
 
8832
8848
  const {
8833
- host: host$q,
8849
+ host: host$r,
8834
8850
  nestedTimer,
8835
8851
  nestedButton,
8836
8852
  timerInsideNotReversed,
@@ -8855,8 +8871,8 @@ const TimerButtonClass = compose(
8855
8871
  mappings: {
8856
8872
  gap: {},
8857
8873
  flexDirection: {},
8858
- hostWidth: { ...host$q, property: 'width' },
8859
- hostDirection: { ...host$q, property: 'direction' },
8874
+ hostWidth: { ...host$r, property: 'width' },
8875
+ hostDirection: { ...host$r, property: 'direction' },
8860
8876
  timerTextColor: {
8861
8877
  ...nestedTimer,
8862
8878
  property: TimerClass.cssVarList.textColor,
@@ -8887,41 +8903,41 @@ const TimerButtonClass = compose(
8887
8903
  componentNameValidationMixin$1,
8888
8904
  )(RawTimerButton);
8889
8905
 
8890
- const globalRefs$u = getThemeRefs$1(globals);
8891
- const vars$U = TimerButtonClass.cssVarList;
8906
+ const globalRefs$v = getThemeRefs$1(globals);
8907
+ const vars$V = TimerButtonClass.cssVarList;
8892
8908
 
8893
8909
  const timerButton = {
8894
- [vars$U.gap]: globalRefs$u.spacing.sm,
8895
- [vars$U.flexDirection]: 'column',
8910
+ [vars$V.gap]: globalRefs$v.spacing.sm,
8911
+ [vars$V.flexDirection]: 'column',
8896
8912
 
8897
8913
  _horizontal: {
8898
- [vars$U.flexDirection]: 'row',
8914
+ [vars$V.flexDirection]: 'row',
8899
8915
  timerPosition: {
8900
8916
  end: {
8901
- [vars$U.flexDirection]: 'row-reverse',
8917
+ [vars$V.flexDirection]: 'row-reverse',
8902
8918
  },
8903
8919
  },
8904
8920
  },
8905
8921
 
8906
8922
  timerPosition: {
8907
8923
  end: {
8908
- [vars$U.flexDirection]: 'column-reverse',
8924
+ [vars$V.flexDirection]: 'column-reverse',
8909
8925
  },
8910
8926
  },
8911
8927
 
8912
8928
  _fullWidth: {
8913
- [vars$U.hostWidth]: '100%',
8929
+ [vars$V.hostWidth]: '100%',
8914
8930
  },
8915
8931
 
8916
8932
  _timerInside: {
8917
- [vars$U.timerTextColor]: 'currentColor',
8918
- [vars$U.timerIconColor]: 'currentColor',
8919
- [vars$U.timerHostWidth]: 'auto',
8920
- [vars$U.buttonLabelSpacing]: '0',
8921
- [vars$U.timerInsideGapEnd]: `var(${vars$U.gap})`,
8933
+ [vars$V.timerTextColor]: 'currentColor',
8934
+ [vars$V.timerIconColor]: 'currentColor',
8935
+ [vars$V.timerHostWidth]: 'auto',
8936
+ [vars$V.buttonLabelSpacing]: '0',
8937
+ [vars$V.timerInsideGapEnd]: `var(${vars$V.gap})`,
8922
8938
  timerPosition: {
8923
8939
  end: {
8924
- [vars$U.timerInsideGapStart]: `var(${vars$U.gap})`,
8940
+ [vars$V.timerInsideGapStart]: `var(${vars$V.gap})`,
8925
8941
  },
8926
8942
  },
8927
8943
  },
@@ -8930,12 +8946,12 @@ const timerButton = {
8930
8946
  var timerButton$1 = /*#__PURE__*/Object.freeze({
8931
8947
  __proto__: null,
8932
8948
  default: timerButton,
8933
- vars: vars$U
8949
+ vars: vars$V
8934
8950
  });
8935
8951
 
8936
- const componentName$14 = getComponentName('password-strength');
8952
+ const componentName$15 = getComponentName('password-strength');
8937
8953
  class RawPasswordStrength extends createBaseClass$1({
8938
- componentName: componentName$14,
8954
+ componentName: componentName$15,
8939
8955
  baseSelector: ':host > .wrapper',
8940
8956
  }) {
8941
8957
  static get observedAttributes() {
@@ -9049,7 +9065,7 @@ class RawPasswordStrength extends createBaseClass$1({
9049
9065
  }
9050
9066
  }
9051
9067
 
9052
- const { host: host$p, bar, filledBar, barsContainer, text: text$1 } = {
9068
+ const { host: host$q, bar, filledBar, barsContainer, text: text$1 } = {
9053
9069
  host: { selector: () => ':host' },
9054
9070
  bar: { selector: ' .bar' },
9055
9071
  barsContainer: { selector: ' .bars-container' },
@@ -9062,11 +9078,11 @@ const PasswordStrengthClass = compose(
9062
9078
  createStyleMixin$1({
9063
9079
  mappings: {
9064
9080
  hostWidth: [
9065
- { ...host$p, property: 'width' },
9066
- { ...host$p, property: 'min-width' },
9081
+ { ...host$q, property: 'width' },
9082
+ { ...host$q, property: 'min-width' },
9067
9083
  ],
9068
- hostDirection: { ...host$p, property: 'direction' },
9069
- hostMinWidth: { ...host$p, property: 'min-width' },
9084
+ hostDirection: { ...host$q, property: 'direction' },
9085
+ hostMinWidth: { ...host$q, property: 'min-width' },
9070
9086
  barHeight: { ...bar, property: 'height' },
9071
9087
  barBorderRadius: { ...bar, property: 'border-radius' },
9072
9088
  emptyBarColor: { ...bar, property: 'background-color' },
@@ -9084,64 +9100,64 @@ const PasswordStrengthClass = compose(
9084
9100
  componentNameValidationMixin$1,
9085
9101
  )(RawPasswordStrength);
9086
9102
 
9087
- const globalRefs$t = getThemeRefs$1(globals);
9103
+ const globalRefs$u = getThemeRefs$1(globals);
9088
9104
  const compVars$6 = PasswordStrengthClass.cssVarList;
9089
9105
 
9090
9106
  const passwordStrength = {
9091
- [compVars$6.hostDirection]: globalRefs$t.direction,
9107
+ [compVars$6.hostDirection]: globalRefs$u.direction,
9092
9108
  [compVars$6.barHeight]: '4px',
9093
9109
  [compVars$6.barTransition]: 'background-color 0.3s',
9094
- [compVars$6.barBorderRadius]: globalRefs$t.radius.sm,
9110
+ [compVars$6.barBorderRadius]: globalRefs$u.radius.sm,
9095
9111
  [compVars$6.hostMinWidth]: refs$1.minWidth,
9096
- [compVars$6.barSpacing]: globalRefs$t.spacing.sm,
9097
- [compVars$6.emptyBarColor]: globalRefs$t.colors.surface.light,
9112
+ [compVars$6.barSpacing]: globalRefs$u.spacing.sm,
9113
+ [compVars$6.emptyBarColor]: globalRefs$u.colors.surface.light,
9098
9114
  [compVars$6.fontFamily]: refs$1.fontFamily,
9099
9115
  [compVars$6.fontSize]: refs$1.labelFontSize,
9100
9116
  [compVars$6.fontWeight]: refs$1.labelFontWeight,
9101
- [compVars$6.spacing]: globalRefs$t.spacing.sm,
9117
+ [compVars$6.spacing]: globalRefs$u.spacing.sm,
9102
9118
  _fullWidth: {
9103
9119
  [compVars$6.hostWidth]: '100%',
9104
9120
  },
9105
9121
  score : {
9106
9122
  0: {
9107
- [compVars$6.filledBarColor]: globalRefs$t.colors.error.light,
9108
- [compVars$6.textColor]: globalRefs$t.colors.error.light,
9123
+ [compVars$6.filledBarColor]: globalRefs$u.colors.error.light,
9124
+ [compVars$6.textColor]: globalRefs$u.colors.error.light,
9109
9125
  },
9110
9126
  1: {
9111
- [compVars$6.filledBarColor]: globalRefs$t.colors.error.main,
9112
- [compVars$6.textColor]: globalRefs$t.colors.error.main,
9127
+ [compVars$6.filledBarColor]: globalRefs$u.colors.error.main,
9128
+ [compVars$6.textColor]: globalRefs$u.colors.error.main,
9113
9129
  },
9114
9130
  2: {
9115
- [compVars$6.filledBarColor]: globalRefs$t.colors.error.dark,
9116
- [compVars$6.textColor]: globalRefs$t.colors.error.dark,
9131
+ [compVars$6.filledBarColor]: globalRefs$u.colors.error.dark,
9132
+ [compVars$6.textColor]: globalRefs$u.colors.error.dark,
9117
9133
  },
9118
9134
  3: {
9119
- [compVars$6.filledBarColor]: globalRefs$t.colors.success.dark,
9120
- [compVars$6.textColor]: globalRefs$t.colors.success.dark,
9135
+ [compVars$6.filledBarColor]: globalRefs$u.colors.success.dark,
9136
+ [compVars$6.textColor]: globalRefs$u.colors.success.dark,
9121
9137
  },
9122
9138
  4: {
9123
- [compVars$6.filledBarColor]: globalRefs$t.colors.success.main,
9124
- [compVars$6.textColor]: globalRefs$t.colors.success.main,
9139
+ [compVars$6.filledBarColor]: globalRefs$u.colors.success.main,
9140
+ [compVars$6.textColor]: globalRefs$u.colors.success.main,
9125
9141
  },
9126
9142
  }
9127
9143
  };
9128
9144
 
9129
- const vars$T = {
9145
+ const vars$U = {
9130
9146
  ...compVars$6,
9131
9147
  };
9132
9148
 
9133
9149
  var passwordStrength$1 = /*#__PURE__*/Object.freeze({
9134
9150
  __proto__: null,
9135
9151
  default: passwordStrength,
9136
- vars: vars$T
9152
+ vars: vars$U
9137
9153
  });
9138
9154
 
9139
9155
  var chevronIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iYmxhY2siIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNy4yMTkzIDkuMjcyODNDMTcuNjU4NCA4Ljg3OTEyIDE4LjMzMzQgOC45MTU4NyAxOC43MjcyIDkuMzU0OTJDMTkuMTIwOSA5Ljc5Mzk3IDE5LjA4NDEgMTAuNDY5MSAxOC42NDUxIDEwLjg2MjhDMTguNjQ1MSAxMC44NjI4IDEzLjA0NTcgMTYuMDAyMiAxMi42NCAxNi4zNjZDMTIuMjM0MyAxNi43Mjk4IDExLjc2MDggMTYuNzI5OCAxMS4zNTUyIDE2LjM2Nkw1LjM1NDkyIDEwLjg2MjhDNC45MTU4NyAxMC40NjkxIDQuODc5MTIgOS43OTM5NyA1LjI3MjgzIDkuMzU0OTJDNS42NjY1NSA4LjkxNTg3IDYuMzQxNjQgOC44NzkxMiA2Ljc4MDY5IDkuMjcyODNMMTIgMTQuMTM2OEwxNy4yMTkzIDkuMjcyODNaIi8+Cjwvc3ZnPgo=";
9140
9156
 
9141
- const componentName$13 = getComponentName('collapsible-container');
9157
+ const componentName$14 = getComponentName('collapsible-container');
9142
9158
 
9143
9159
  class RawCollapsibleContainer extends createBaseClass$1({
9144
- componentName: componentName$13,
9160
+ componentName: componentName$14,
9145
9161
  baseSelector: 'slot',
9146
9162
  }) {
9147
9163
  static get observedAttributes() {
@@ -9368,7 +9384,7 @@ const CollapsibleContainerClass = compose(
9368
9384
  componentNameValidationMixin$1,
9369
9385
  )(RawCollapsibleContainer);
9370
9386
 
9371
- const globalRefs$s = getThemeRefs$1(globals);
9387
+ const globalRefs$t = getThemeRefs$1(globals);
9372
9388
 
9373
9389
  const compVars$5 = CollapsibleContainerClass.cssVarList;
9374
9390
 
@@ -9376,7 +9392,7 @@ const [helperTheme$4, helperRefs$4, helperVars$4] = createHelperVars$1(
9376
9392
  {
9377
9393
  shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
9378
9394
  },
9379
- componentName$13
9395
+ componentName$14
9380
9396
  );
9381
9397
 
9382
9398
  const { shadowColor: shadowColor$5 } = helperRefs$4;
@@ -9387,7 +9403,7 @@ const collapsibleContainer = {
9387
9403
  [compVars$5.hostWidth]: '100%',
9388
9404
  [compVars$5.boxShadow]: 'none',
9389
9405
 
9390
- [compVars$5.backgroundColor]: globalRefs$s.colors.surface.main,
9406
+ [compVars$5.backgroundColor]: globalRefs$t.colors.surface.main,
9391
9407
 
9392
9408
  [compVars$5.backgroundImage]: '', // we need to set a value to avoid inner containers from inheriting the parent's background image
9393
9409
  [compVars$5.backgroundPositionX]: 'center',
@@ -9396,13 +9412,13 @@ const collapsibleContainer = {
9396
9412
  [compVars$5.backgroundRepeat]: 'no-repeat',
9397
9413
 
9398
9414
  [compVars$5.borderRadius]: '0px',
9399
- [compVars$5.hostDirection]: globalRefs$s.direction,
9415
+ [compVars$5.hostDirection]: globalRefs$t.direction,
9400
9416
 
9401
9417
  [compVars$5.flexDirection]: 'column',
9402
9418
  [compVars$5.alignItems]: 'flex-start',
9403
9419
  [compVars$5.justifyContent]: 'flex-start',
9404
9420
 
9405
- [compVars$5.headerGap]: globalRefs$s.spacing.md,
9421
+ [compVars$5.headerGap]: globalRefs$t.spacing.md,
9406
9422
 
9407
9423
  [compVars$5.iconAnimationDuration]: '0.1s',
9408
9424
  [compVars$5.contentAnimationDuration]: '0.1s',
@@ -9430,30 +9446,30 @@ const collapsibleContainer = {
9430
9446
 
9431
9447
  shadow: {
9432
9448
  sm: {
9433
- [compVars$5.boxShadow]: `${globalRefs$s.shadow.wide.sm} ${shadowColor$5}, ${globalRefs$s.shadow.narrow.sm} ${shadowColor$5}`,
9449
+ [compVars$5.boxShadow]: `${globalRefs$t.shadow.wide.sm} ${shadowColor$5}, ${globalRefs$t.shadow.narrow.sm} ${shadowColor$5}`,
9434
9450
  },
9435
9451
  md: {
9436
- [compVars$5.boxShadow]: `${globalRefs$s.shadow.wide.md} ${shadowColor$5}, ${globalRefs$s.shadow.narrow.md} ${shadowColor$5}`,
9452
+ [compVars$5.boxShadow]: `${globalRefs$t.shadow.wide.md} ${shadowColor$5}, ${globalRefs$t.shadow.narrow.md} ${shadowColor$5}`,
9437
9453
  },
9438
9454
  lg: {
9439
- [compVars$5.boxShadow]: `${globalRefs$s.shadow.wide.lg} ${shadowColor$5}, ${globalRefs$s.shadow.narrow.lg} ${shadowColor$5}`,
9455
+ [compVars$5.boxShadow]: `${globalRefs$t.shadow.wide.lg} ${shadowColor$5}, ${globalRefs$t.shadow.narrow.lg} ${shadowColor$5}`,
9440
9456
  },
9441
9457
  xl: {
9442
- [compVars$5.boxShadow]: `${globalRefs$s.shadow.wide.xl} ${shadowColor$5}, ${globalRefs$s.shadow.narrow.xl} ${shadowColor$5}`,
9458
+ [compVars$5.boxShadow]: `${globalRefs$t.shadow.wide.xl} ${shadowColor$5}, ${globalRefs$t.shadow.narrow.xl} ${shadowColor$5}`,
9443
9459
  },
9444
9460
  '2xl': {
9445
9461
  [helperVars$4.shadowColor]: '#00000050', // mimic daisyUI shadow settings
9446
- [compVars$5.boxShadow]: `${globalRefs$s.shadow.wide['2xl']} ${shadowColor$5}`,
9462
+ [compVars$5.boxShadow]: `${globalRefs$t.shadow.wide['2xl']} ${shadowColor$5}`,
9447
9463
  },
9448
9464
  },
9449
9465
 
9450
9466
  borderRadius: {
9451
- sm: { [compVars$5.borderRadius]: globalRefs$s.radius.sm },
9452
- md: { [compVars$5.borderRadius]: globalRefs$s.radius.md },
9453
- lg: { [compVars$5.borderRadius]: globalRefs$s.radius.lg },
9454
- xl: { [compVars$5.borderRadius]: globalRefs$s.radius.xl },
9455
- '2xl': { [compVars$5.borderRadius]: globalRefs$s.radius['2xl'] },
9456
- '3xl': { [compVars$5.borderRadius]: globalRefs$s.radius['3xl'] },
9467
+ sm: { [compVars$5.borderRadius]: globalRefs$t.radius.sm },
9468
+ md: { [compVars$5.borderRadius]: globalRefs$t.radius.md },
9469
+ lg: { [compVars$5.borderRadius]: globalRefs$t.radius.lg },
9470
+ xl: { [compVars$5.borderRadius]: globalRefs$t.radius.xl },
9471
+ '2xl': { [compVars$5.borderRadius]: globalRefs$t.radius['2xl'] },
9472
+ '3xl': { [compVars$5.borderRadius]: globalRefs$t.radius['3xl'] },
9457
9473
  },
9458
9474
 
9459
9475
  iconPosition: {
@@ -9466,8 +9482,8 @@ const collapsibleContainer = {
9466
9482
  },
9467
9483
 
9468
9484
  _border: {
9469
- [compVars$5.borderColor]: globalRefs$s.colors.surface.light,
9470
- [compVars$5.borderWidth]: globalRefs$s.border.xs,
9485
+ [compVars$5.borderColor]: globalRefs$t.colors.surface.light,
9486
+ [compVars$5.borderWidth]: globalRefs$t.border.xs,
9471
9487
  [compVars$5.borderStyle]: 'solid',
9472
9488
  },
9473
9489
 
@@ -9476,7 +9492,7 @@ const collapsibleContainer = {
9476
9492
  }
9477
9493
  };
9478
9494
 
9479
- const vars$S = {
9495
+ const vars$T = {
9480
9496
  ...compVars$5,
9481
9497
  ...helperVars$4,
9482
9498
  };
@@ -9484,12 +9500,12 @@ const vars$S = {
9484
9500
  var collapsibleContainer$1 = /*#__PURE__*/Object.freeze({
9485
9501
  __proto__: null,
9486
9502
  default: collapsibleContainer,
9487
- vars: vars$S
9503
+ vars: vars$T
9488
9504
  });
9489
9505
 
9490
- const componentName$12 = getComponentName('recovery-codes');
9506
+ const componentName$13 = getComponentName('recovery-codes');
9491
9507
 
9492
- const itemRenderer$4 = ({ value }, _, ref) => {
9508
+ const itemRenderer$5 = ({ value }, _, ref) => {
9493
9509
  return `
9494
9510
  <descope-text variant="${ref.variant}" mode="${ref.mode}">
9495
9511
  <span>${value}</span>
@@ -9498,7 +9514,7 @@ const itemRenderer$4 = ({ value }, _, ref) => {
9498
9514
  };
9499
9515
 
9500
9516
  class RawRecoveryCodes extends createBaseClass$1({
9501
- componentName: componentName$12,
9517
+ componentName: componentName$13,
9502
9518
  baseSelector: ':host > div',
9503
9519
  }) {
9504
9520
  static get observedAttributes() {
@@ -9629,7 +9645,7 @@ const RecoveryCodesClass = compose(
9629
9645
  },
9630
9646
  }),
9631
9647
  createDynamicDataMixin$1({
9632
- itemRenderer: itemRenderer$4,
9648
+ itemRenderer: itemRenderer$5,
9633
9649
  rerenderAttrsList: ['variant', 'mode'],
9634
9650
  targetSelector: '.list',
9635
9651
  }),
@@ -9637,38 +9653,38 @@ const RecoveryCodesClass = compose(
9637
9653
  componentNameValidationMixin$1,
9638
9654
  )(RawRecoveryCodes);
9639
9655
 
9640
- const globalRefs$r = getThemeRefs$1(globals);
9641
- const vars$R = RecoveryCodesClass.cssVarList;
9656
+ const globalRefs$s = getThemeRefs$1(globals);
9657
+ const vars$S = RecoveryCodesClass.cssVarList;
9642
9658
  const textVars$6 = TextClass.cssVarList;
9643
9659
 
9644
9660
  const recoveryCodes = {
9645
- [vars$R.hostMinWidth]: '190px',
9646
- [vars$R.hostDirection]: globalRefs$r.direction,
9647
- [vars$R.iconColor]: useVar$1(textVars$6.textColor),
9648
- [vars$R.iconSize]: useVar$1(textVars$6.fontSize),
9649
- [vars$R.iconGap]: '8px',
9650
- [vars$R.bulletGap]: '0.35em',
9661
+ [vars$S.hostMinWidth]: '190px',
9662
+ [vars$S.hostDirection]: globalRefs$s.direction,
9663
+ [vars$S.iconColor]: useVar$1(textVars$6.textColor),
9664
+ [vars$S.iconSize]: useVar$1(textVars$6.fontSize),
9665
+ [vars$S.iconGap]: '8px',
9666
+ [vars$S.bulletGap]: '0.35em',
9651
9667
 
9652
9668
  textAlign: {
9653
- right: { [vars$R.textAlign]: 'flex-end' },
9654
- left: { [vars$R.textAlign]: 'flex-start' },
9655
- center: { [vars$R.textAlign]: 'center' },
9669
+ right: { [vars$S.textAlign]: 'flex-end' },
9670
+ left: { [vars$S.textAlign]: 'flex-start' },
9671
+ center: { [vars$S.textAlign]: 'center' },
9656
9672
  },
9657
9673
 
9658
9674
  _fullWidth: {
9659
- [vars$R.hostWidth]: '100%',
9675
+ [vars$S.hostWidth]: '100%',
9660
9676
  },
9661
9677
  };
9662
9678
 
9663
9679
  var recoveryCodes$1 = /*#__PURE__*/Object.freeze({
9664
9680
  __proto__: null,
9665
9681
  default: recoveryCodes,
9666
- vars: vars$R
9682
+ vars: vars$S
9667
9683
  });
9668
9684
 
9669
- const componentName$11 = getComponentName('outbound-apps');
9685
+ const componentName$12 = getComponentName('outbound-apps');
9670
9686
 
9671
- const itemRenderer$3 = (
9687
+ const itemRenderer$4 = (
9672
9688
  { name, description, logo, appId, isConnected },
9673
9689
  _,
9674
9690
  ref,
@@ -9711,12 +9727,12 @@ const itemRenderer$3 = (
9711
9727
  `;
9712
9728
  };
9713
9729
 
9714
- const BaseClass$5 = createBaseClass$1({
9715
- componentName: componentName$11,
9730
+ const BaseClass$6 = createBaseClass$1({
9731
+ componentName: componentName$12,
9716
9732
  baseSelector: 'descope-list',
9717
9733
  });
9718
9734
 
9719
- class RawOutboundAppsClass extends BaseClass$5 {
9735
+ class RawOutboundAppsClass extends BaseClass$6 {
9720
9736
  constructor() {
9721
9737
  super();
9722
9738
 
@@ -9759,7 +9775,7 @@ class RawOutboundAppsClass extends BaseClass$5 {
9759
9775
  init() {
9760
9776
  super.init?.();
9761
9777
 
9762
- this.appsList.itemRenderer = itemRenderer$3;
9778
+ this.appsList.itemRenderer = itemRenderer$4;
9763
9779
 
9764
9780
  this.appsList.addEventListener('click', this.onAppsListClick.bind(this));
9765
9781
  }
@@ -9796,17 +9812,17 @@ class RawOutboundAppsClass extends BaseClass$5 {
9796
9812
  }
9797
9813
  }
9798
9814
 
9799
- const { host: host$o } = {
9815
+ const { host: host$p } = {
9800
9816
  host: { selector: () => ':host' },
9801
9817
  };
9802
9818
 
9803
9819
  const OutboundAppsClass = compose(
9804
9820
  createStyleMixin$1({
9805
9821
  mappings: {
9806
- hostWidth: { ...host$o, property: 'width' },
9822
+ hostWidth: { ...host$p, property: 'width' },
9807
9823
  minHeight: { selector: () => ':host' },
9808
9824
  hostDirection: [
9809
- { ...host$o, property: 'direction' },
9825
+ { ...host$p, property: 'direction' },
9810
9826
  {
9811
9827
  selector: 'descope-list',
9812
9828
  property: 'direction',
@@ -9878,7 +9894,7 @@ const OutboundAppsClass = compose(
9878
9894
  }),
9879
9895
  draggableMixin$1,
9880
9896
  createDynamicDataMixin$1({
9881
- itemRenderer: itemRenderer$3,
9897
+ itemRenderer: itemRenderer$4,
9882
9898
  rerenderAttrsList: [
9883
9899
  'size',
9884
9900
  'connect-button-label',
@@ -9888,36 +9904,36 @@ const OutboundAppsClass = compose(
9888
9904
  componentNameValidationMixin$1,
9889
9905
  )(RawOutboundAppsClass);
9890
9906
 
9891
- const vars$Q = OutboundAppsClass.cssVarList;
9907
+ const vars$R = OutboundAppsClass.cssVarList;
9892
9908
 
9893
9909
  const outboundApps = {
9894
- [vars$Q.iconColor]: globals.colors.primary.main,
9895
- [vars$Q.errorIconColor]: globals.colors.error.main,
9910
+ [vars$R.iconColor]: globals.colors.primary.main,
9911
+ [vars$R.errorIconColor]: globals.colors.error.main,
9896
9912
 
9897
- [vars$Q.appLogoGap]: globals.spacing.md,
9898
- [vars$Q.contentGap]: globals.spacing.xs,
9913
+ [vars$R.appLogoGap]: globals.spacing.md,
9914
+ [vars$R.contentGap]: globals.spacing.xs,
9899
9915
 
9900
9916
  // list-item overrides
9901
- [vars$Q.itemCursor]: 'default',
9902
- [vars$Q.itemOutline]: 'none',
9903
- [vars$Q.itemBorderColor]: 'transparent',
9917
+ [vars$R.itemCursor]: 'default',
9918
+ [vars$R.itemOutline]: 'none',
9919
+ [vars$R.itemBorderColor]: 'transparent',
9904
9920
 
9905
- [vars$Q.listPadding]: '0',
9906
- [vars$Q.listBorderWidth]: '0',
9907
- [vars$Q.listBoxShadow]: 'none',
9921
+ [vars$R.listPadding]: '0',
9922
+ [vars$R.listBorderWidth]: '0',
9923
+ [vars$R.listBoxShadow]: 'none',
9908
9924
 
9909
9925
  size: {
9910
9926
  xs: {
9911
- [vars$Q.fontSize]: '0.6em',
9927
+ [vars$R.fontSize]: '0.6em',
9912
9928
  },
9913
9929
  sm: {
9914
- [vars$Q.fontSize]: '0.8em',
9930
+ [vars$R.fontSize]: '0.8em',
9915
9931
  },
9916
9932
  md: {
9917
- [vars$Q.fontSize]: '1em',
9933
+ [vars$R.fontSize]: '1em',
9918
9934
  },
9919
9935
  lg: {
9920
- [vars$Q.fontSize]: '1.5em',
9936
+ [vars$R.fontSize]: '1.5em',
9921
9937
  },
9922
9938
  },
9923
9939
  };
@@ -9925,13 +9941,13 @@ const outboundApps = {
9925
9941
  var outboundApps$1 = /*#__PURE__*/Object.freeze({
9926
9942
  __proto__: null,
9927
9943
  default: outboundApps,
9928
- vars: vars$Q
9944
+ vars: vars$R
9929
9945
  });
9930
9946
 
9931
- const componentName$10 = getComponentName('outbound-app-button');
9947
+ const componentName$11 = getComponentName('outbound-app-button');
9932
9948
 
9933
9949
  class RawOutboundAppButton extends createBaseClass$1({
9934
- componentName: componentName$10,
9950
+ componentName: componentName$11,
9935
9951
  baseSelector: ':host > descope-button',
9936
9952
  }) {
9937
9953
  static get observedAttributes() {
@@ -10030,12 +10046,12 @@ const outboundAppButton = {
10030
10046
  },
10031
10047
  };
10032
10048
 
10033
- const vars$P = compVars$4;
10049
+ const vars$Q = compVars$4;
10034
10050
 
10035
10051
  var outboundAppButton$1 = /*#__PURE__*/Object.freeze({
10036
10052
  __proto__: null,
10037
10053
  default: outboundAppButton,
10038
- vars: vars$P
10054
+ vars: vars$Q
10039
10055
  });
10040
10056
 
10041
10057
  var desktopDeviceIconLight = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwIDE4QzIxLjEgMTggMjEuOTkgMTcuMSAyMS45OSAxNkwyMiA2QzIyIDQuOSAyMS4xIDQgMjAgNEg0QzIuOSA0IDIgNC45IDIgNlYxNkMyIDE3LjEgMi45IDE4IDQgMThIMFYyMEgyNFYxOEgyMFpNNCA2SDIwVjE2SDRWNloiIGZpbGw9IiM2MzZDNzQiLz4KPC9zdmc+Cg==";
@@ -10113,9 +10129,9 @@ const getDeviceIcon = (deviceType) => {
10113
10129
  };
10114
10130
  };
10115
10131
 
10116
- const componentName$$ = getComponentName('trusted-devices');
10132
+ const componentName$10 = getComponentName('trusted-devices');
10117
10133
 
10118
- const itemRenderer$2 = (
10134
+ const itemRenderer$3 = (
10119
10135
  { id, name, lastLoginDate, deviceType, isCurrent },
10120
10136
  _,
10121
10137
  ref,
@@ -10157,66 +10173,516 @@ const itemRenderer$2 = (
10157
10173
  const template = document.createElement('template');
10158
10174
 
10159
10175
  template.innerHTML = `
10160
- <descope-list-item ${itemClassName}>
10176
+ <descope-list-item ${itemClassName}>
10177
+ <div class="content">
10178
+ <div class="main">
10179
+ <span class="device">
10180
+ <descope-icon
10181
+ class="device-icon"
10182
+ src="${iconSrc}"
10183
+ src-dark="${iconSrcDark}">
10184
+ </descope-icon>
10185
+ <descope-text
10186
+ class="device-name"
10187
+ variant="body1"
10188
+ mode="primary">
10189
+ </descope-text>
10190
+ </span>
10191
+ <span class="panel">
10192
+ ${badge}
10193
+ ${removeDeviceLink}
10194
+ </span>
10195
+ </div>
10196
+ <div class="meta">
10197
+ <descope-text
10198
+ variant="body2"
10199
+ mode="primary"
10200
+ >
10201
+ ${loginLabel}
10202
+ </descope-text>
10203
+ <descope-text
10204
+ class="login-date"
10205
+ variant="body2"
10206
+ mode="primary"
10207
+ >
10208
+ ${loginDate}
10209
+ </descope-text>
10210
+ </div>
10211
+ </div>
10212
+ </descope-list-item>
10213
+ `;
10214
+
10215
+ // we return a template instead of returning a string so we can avoid XSS on device name
10216
+ template.content.querySelector('.device-name').textContent = name;
10217
+ return template;
10218
+ };
10219
+
10220
+ const BaseClass$5 = createBaseClass$1({
10221
+ componentName: componentName$10,
10222
+ baseSelector: ListClass.componentName,
10223
+ });
10224
+
10225
+ class RawTrustedDevicesClass extends BaseClass$5 {
10226
+ constructor() {
10227
+ super();
10228
+
10229
+ this.attachShadow({ mode: 'open' }).innerHTML = `
10230
+ <descope-list>
10231
+ <slot name="empty-state" slot="empty-state"></slot>
10232
+ </descope-list>
10233
+ `;
10234
+
10235
+ this.appsList = this.shadowRoot.querySelector('descope-list');
10236
+
10237
+ injectStyle(
10238
+ `
10239
+ :host {
10240
+ display: inline-block;
10241
+ }
10242
+
10243
+ .descope-list-item {
10244
+ min-width: 0;
10245
+ }
10246
+
10247
+ .current-device {
10248
+ order: -1;
10249
+ }
10250
+
10251
+ .content {
10252
+ display: flex;
10253
+ flex-direction: column;
10254
+ width: 100%;
10255
+ }
10256
+
10257
+ .main {
10258
+ display: flex;
10259
+ align-items: center;
10260
+ justify-content: space-between;
10261
+ }
10262
+
10263
+ .panel {
10264
+ display: flex;
10265
+ flex-shrink: 0;
10266
+ max-width: 75%;
10267
+ overflow: hidden;
10268
+ }
10269
+
10270
+ .device {
10271
+ display: flex;
10272
+ min-width: 0;
10273
+ }
10274
+
10275
+ .device-icon {
10276
+ flex-shrink: 0;
10277
+ }
10278
+
10279
+ .meta {
10280
+ display: flex;
10281
+ }
10282
+
10283
+ .login-date {
10284
+ min-width: fit-content;
10285
+ }
10286
+
10287
+ descope-badge {
10288
+ min-width: 0;
10289
+ }
10290
+
10291
+ descope-text {
10292
+ display: flex;
10293
+ align-items: center;
10294
+ min-width: 0;
10295
+ }
10296
+ descope-text::part(text-wrapper) {
10297
+ text-overflow: ellipsis;
10298
+ overflow: hidden;
10299
+ white-space: nowrap;
10300
+ }
10301
+
10302
+ descope-link {
10303
+ overflow: hidden;
10304
+ }
10305
+ descope-link.remove-device::part(wrapper) {
10306
+ display: flex;
10307
+ width: 100%;
10308
+ }
10309
+ descope-link.remove-device {
10310
+ width: 100%;
10311
+ }
10312
+ `,
10313
+ this,
10314
+ );
10315
+ }
10316
+
10317
+ init() {
10318
+ super.init?.();
10319
+
10320
+ this.appsList.itemRenderer = itemRenderer$3;
10321
+
10322
+ this.appsList.addEventListener('click', this.onRemoveClick.bind(this));
10323
+ }
10324
+
10325
+ onRemoveClick(e) {
10326
+ if (this.readOnly) return;
10327
+
10328
+ const target = e.target.closest('[data-device-id]');
10329
+ const deviceId = target?.getAttribute('data-device-id');
10330
+
10331
+ if (deviceId) {
10332
+ this.dispatchEvent(
10333
+ new CustomEvent('remove-device-clicked', {
10334
+ bubbles: true,
10335
+ detail: { id: deviceId, action: 'remove-device' },
10336
+ }),
10337
+ );
10338
+ }
10339
+ }
10340
+
10341
+ get readOnly() {
10342
+ return this.getAttribute('readonly') === 'true';
10343
+ }
10344
+
10345
+ get hideActions() {
10346
+ return this.getAttribute('hide-actions') === 'true';
10347
+ }
10348
+
10349
+ get format() {
10350
+ return this.getAttribute('format')?.toUpperCase() || 'MM-DD-YYYY';
10351
+ }
10352
+
10353
+ get removeDeviceLabel() {
10354
+ return this.getAttribute('remove-device-label') || 'Sign out';
10355
+ }
10356
+
10357
+ get currentDeviceLabel() {
10358
+ return this.getAttribute('current-device-label') || 'Current device';
10359
+ }
10360
+
10361
+ get lastLoginLabel() {
10362
+ return this.getAttribute('last-login-label') || 'Last login:';
10363
+ }
10364
+
10365
+ get direction() {
10366
+ return this.getAttribute('st-host-direction');
10367
+ }
10368
+ }
10369
+
10370
+ const { host: host$o } = {
10371
+ host: { selector: () => ':host' },
10372
+ };
10373
+
10374
+ const TrustedDevicesClass = compose(
10375
+ createStyleMixin$1({
10376
+ mappings: {
10377
+ hostWidth: { ...host$o, property: 'width' },
10378
+ hostMinWidth: { ...host$o, property: 'min-width' },
10379
+ hostDirection: [
10380
+ { ...host$o, property: 'direction' },
10381
+ {
10382
+ selector: () => 'descope-list-item',
10383
+ property: 'direction',
10384
+ },
10385
+ {
10386
+ selector: () => 'descope-text',
10387
+ property: 'direction',
10388
+ },
10389
+ ],
10390
+
10391
+ listItemsGap: {
10392
+ property: ListClass.cssVarList.gap,
10393
+ },
10394
+ listBackgroundColor: {
10395
+ selector: () => ListClass.componentName,
10396
+ property: ListClass.cssVarList.backgroundColor,
10397
+ },
10398
+ listBorderRadius: {
10399
+ selector: () => ListClass.componentName,
10400
+ property: ListClass.cssVarList.borderRadius,
10401
+ },
10402
+ listBorderWidth: {
10403
+ selector: () => ListClass.componentName,
10404
+ property: ListClass.cssVarList.borderWidth,
10405
+ },
10406
+ listBoxShadow: {
10407
+ selector: () => ListClass.componentName,
10408
+ property: ListClass.cssVarList.boxShadow,
10409
+ },
10410
+ listPadding: [
10411
+ {
10412
+ selector: () => ListClass.componentName,
10413
+ property: ListClass.cssVarList.verticalPadding,
10414
+ },
10415
+ {
10416
+ selector: () => ListClass.componentName,
10417
+ property: ListClass.cssVarList.horizontalPadding,
10418
+ },
10419
+ ],
10420
+
10421
+ itemVerticalPadding: {
10422
+ selector: ListItemClass.componentName,
10423
+ property: ListItemClass.cssVarList.verticalPadding,
10424
+ },
10425
+ itemHorizontalPadding: {
10426
+ selector: ListItemClass.componentName,
10427
+ property: ListItemClass.cssVarList.horizontalPadding,
10428
+ },
10429
+ itemCursor: {
10430
+ selector: ListItemClass.componentName,
10431
+ property: ListItemClass.cssVarList.cursor,
10432
+ },
10433
+ itemOutline: {
10434
+ selector: ListItemClass.componentName,
10435
+ property: ListItemClass.cssVarList.outline,
10436
+ },
10437
+ itemBorderColor: {
10438
+ selector: ListItemClass.componentName,
10439
+ property: ListItemClass.cssVarList.borderColor,
10440
+ },
10441
+ itemBorderRadius: {
10442
+ selector: ListItemClass.componentName,
10443
+ property: ListItemClass.cssVarList.borderRadius,
10444
+ },
10445
+ itemBackgroundColor: {
10446
+ selector: ListItemClass.componentName,
10447
+ property: ListItemClass.cssVarList.backgroundColor,
10448
+ },
10449
+ itemContentGap: {
10450
+ selector: () => '.content',
10451
+ property: 'gap',
10452
+ },
10453
+
10454
+ badgeBorderColor: {
10455
+ selector: BadgeClass.componentName,
10456
+ property: BadgeClass.cssVarList.borderColor,
10457
+ },
10458
+ badgeTextColor: {
10459
+ selector: BadgeClass.componentName,
10460
+ property: BadgeClass.cssVarList.textColor,
10461
+ },
10462
+ badgeBackgroundColor: {
10463
+ selector: BadgeClass.componentName,
10464
+ property: BadgeClass.cssVarList.backgroundColor,
10465
+ },
10466
+ badgeBorderRadius: {
10467
+ selector: BadgeClass.componentName,
10468
+ property: BadgeClass.cssVarList.borderRadius,
10469
+ },
10470
+
10471
+ devicePanelGap: {
10472
+ selector: () => '.main',
10473
+ property: 'gap',
10474
+ },
10475
+ deviceIconGap: {
10476
+ selector: () => '.device',
10477
+ property: 'gap',
10478
+ },
10479
+ deviceIconSize: [
10480
+ {
10481
+ selector: () => '.device-icon',
10482
+ property: 'width',
10483
+ },
10484
+ {
10485
+ selector: () => '.device-icon',
10486
+ property: 'height',
10487
+ },
10488
+ ],
10489
+
10490
+ lastLoginLabelGap: {
10491
+ selector: ' .meta',
10492
+ property: 'gap',
10493
+ },
10494
+ },
10495
+ }),
10496
+ draggableMixin$1,
10497
+ createDynamicDataMixin$1({
10498
+ itemRenderer: itemRenderer$3,
10499
+ sortFn: sortFn$1,
10500
+ rerenderAttrsList: [
10501
+ 'remove-device-label',
10502
+ 'current-device-label',
10503
+ 'last-login-label',
10504
+ 'format',
10505
+ 'hide-actions',
10506
+ ],
10507
+ }),
10508
+ componentNameValidationMixin$1,
10509
+ )(RawTrustedDevicesClass);
10510
+
10511
+ const vars$P = TrustedDevicesClass.cssVarList;
10512
+
10513
+ const TrustedDevices = {
10514
+ [vars$P.hostWidth]: 'auto',
10515
+ [vars$P.hostWidth]: '300px',
10516
+ [vars$P.hostMinWidth]: '300px',
10517
+
10518
+ [vars$P.listBackgroundColor]: 'transparent',
10519
+ [vars$P.listBorderRadius]: '0',
10520
+ [vars$P.listBorderWidth]: '0',
10521
+ [vars$P.listPadding]: '0',
10522
+ [vars$P.listBoxShadow]: 'none',
10523
+ [vars$P.listItemsGap]: globals.spacing.lg,
10524
+
10525
+ [vars$P.itemBorderColor]: globals.colors.surface.light,
10526
+ [vars$P.itemVerticalPadding]: globals.spacing.lg,
10527
+ [vars$P.itemHorizontalPadding]: globals.spacing.lg,
10528
+ [vars$P.itemBorderRadius]: globals.radius.xs,
10529
+ [vars$P.itemOutline]: 'transparent',
10530
+ [vars$P.itemBackgroundColor]: 'transparent',
10531
+ [vars$P.itemCursor]: 'default',
10532
+ [vars$P.itemContentGap]: globals.spacing.sm,
10533
+
10534
+ [vars$P.badgeBorderColor]: globals.colors.surface.light,
10535
+ [vars$P.badgeTextColor]: globals.colors.surface.dark,
10536
+ [vars$P.badgeBorderRadius]: globals.radius.xs,
10537
+ [vars$P.badgeBackgroundColor]: globals.colors.surface.main,
10538
+
10539
+ [vars$P.devicePanelGap]: globals.spacing.md,
10540
+ [vars$P.deviceIconGap]: globals.spacing.md,
10541
+ [vars$P.deviceIconSize]: '24px',
10542
+ [vars$P.lastLoginLabelGap]: globals.spacing.xs,
10543
+
10544
+ _fullWidth: {
10545
+ [vars$P.hostWidth]: '100%',
10546
+ },
10547
+ };
10548
+
10549
+ var trustedDevices = /*#__PURE__*/Object.freeze({
10550
+ __proto__: null,
10551
+ default: TrustedDevices,
10552
+ vars: vars$P
10553
+ });
10554
+
10555
+ const componentName$$ = getComponentName('multi-sso');
10556
+
10557
+ const resolveAuthType = (authType) => {
10558
+ if (!authType || authType === 'none')
10559
+ return { label: 'Not Configured', configured: false };
10560
+ return { label: authType.toUpperCase(), configured: true };
10561
+ };
10562
+
10563
+ const itemRenderer$2 = ({ id, name, isDefault, link, authType }, _, ref) => {
10564
+ const deleteAction =
10565
+ !isDefault && ref?.allowDelete
10566
+ ? `<span
10567
+ class="delete-btn delete-icon"
10568
+ data-action="delete"
10569
+ role="button"
10570
+ tabindex="0"
10571
+ title="${ref.deleteTooltipLabel}"
10572
+ ></span>`
10573
+ : '';
10574
+
10575
+ const externalLinkAction =
10576
+ link && ref?.allowConfigure
10577
+ ? `<a
10578
+ class="external-link external-link-icon"
10579
+ target="_blank"
10580
+ rel="noopener noreferrer"
10581
+ title="${ref.configureTooltipLabel}"
10582
+ ></a>`
10583
+ : '';
10584
+
10585
+ const { label: authTypeLabel, configured } = resolveAuthType(authType);
10586
+ const authTypeRow = configured
10587
+ ? `<div class="auth-type-row">
10588
+ <descope-badge class="auth-type-badge" size="xs"></descope-badge>
10589
+ </div>`
10590
+ : `<div class="auth-type-row">
10591
+ <descope-text
10592
+ not-configured
10593
+ variant="body2"
10594
+ mode="secondary"
10595
+ >${ref?.notConfiguredLabel}</descope-text>
10596
+ </div>`;
10597
+
10598
+ const template = document.createElement('template');
10599
+
10600
+ template.innerHTML = `
10601
+ <descope-list-item>
10161
10602
  <div class="content">
10162
- <div class="main">
10163
- <span class="device">
10164
- <descope-icon
10165
- class="device-icon"
10166
- src="${iconSrc}"
10167
- src-dark="${iconSrcDark}">
10168
- </descope-icon>
10169
- <descope-text
10170
- class="device-name"
10171
- variant="body1"
10172
- mode="primary">
10173
- </descope-text>
10174
- </span>
10175
- <span class="panel">
10176
- ${badge}
10177
- ${removeDeviceLink}
10178
- </span>
10179
- </div>
10180
- <div class="meta">
10181
- <descope-text
10182
- variant="body2"
10183
- mode="primary"
10184
- >
10185
- ${loginLabel}
10186
- </descope-text>
10603
+ <div class="top-row">
10187
10604
  <descope-text
10188
- class="login-date"
10189
- variant="body2"
10605
+ class="config-name"
10606
+ variant="body1"
10190
10607
  mode="primary"
10191
- >
10192
- ${loginDate}
10193
- </descope-text>
10608
+ ></descope-text>
10609
+ <span class="action">
10610
+ ${deleteAction}
10611
+ ${externalLinkAction}
10612
+ </span>
10194
10613
  </div>
10614
+ ${authTypeRow}
10195
10615
  </div>
10196
10616
  </descope-list-item>
10197
10617
  `;
10198
10618
 
10199
- // we return a template instead of returning a string so we can avoid XSS on device name
10200
- template.content.querySelector('.device-name').textContent = name;
10619
+ template.content.querySelector('.config-name').textContent = name;
10620
+
10621
+ const deleteBtn = template.content.querySelector('.delete-btn');
10622
+ if (deleteBtn) {
10623
+ deleteBtn.dataset.id = id;
10624
+ deleteBtn.dataset.name = name;
10625
+ deleteBtn.setAttribute('aria-label', ref.deleteTooltipLabel);
10626
+ const deleteIcon = cloneSlottedNodes(ref, 'delete-icon');
10627
+ if (deleteIcon) deleteBtn.append(deleteIcon);
10628
+ }
10629
+
10630
+ const linkBtn = template.content.querySelector('.external-link');
10631
+ if (linkBtn) {
10632
+ linkBtn.setAttribute('aria-label', ref.configureTooltipLabel);
10633
+ if (link) linkBtn.setAttribute('href', link);
10634
+ const linkIcon = cloneSlottedNodes(ref, 'external-link-icon');
10635
+ if (linkIcon) linkBtn.append(linkIcon);
10636
+ }
10637
+
10638
+ const authTypeBadge = template.content.querySelector('.auth-type-badge');
10639
+ if (authTypeBadge) authTypeBadge.textContent = authTypeLabel;
10201
10640
  return template;
10202
10641
  };
10203
10642
 
10204
10643
  const BaseClass$4 = createBaseClass$1({
10205
10644
  componentName: componentName$$,
10206
- baseSelector: ListClass.componentName,
10645
+ baseSelector: 'span.wrapper',
10207
10646
  });
10208
10647
 
10209
- class RawTrustedDevicesClass extends BaseClass$4 {
10648
+ class RawMultiSsoClass extends BaseClass$4 {
10649
+ static get observedAttributes() {
10650
+ return [
10651
+ 'label',
10652
+ 'create-button-label',
10653
+ 'not-configured-label',
10654
+ 'delete-tooltip-label',
10655
+ 'configure-tooltip-label',
10656
+ 'empty',
10657
+ ].concat(super.observedAttributes);
10658
+ }
10659
+
10210
10660
  constructor() {
10211
10661
  super();
10212
10662
 
10213
10663
  this.attachShadow({ mode: 'open' }).innerHTML = `
10214
- <descope-list>
10215
- <slot name="empty-state" slot="empty-state"></slot>
10216
- </descope-list>
10664
+ <span class="wrapper">
10665
+ <div class="header">
10666
+ <slot name="title-icon"></slot>
10667
+ <descope-text class="title" variant="body1" mode="primary"></descope-text>
10668
+ <descope-button
10669
+ class="create-button"
10670
+ size="sm"
10671
+ variant="link"
10672
+ mode="primary"
10673
+ data-action="create"
10674
+ >
10675
+ <slot name="create-button-icon" slot="prefix"></slot>
10676
+ <span class="create-button-label"></span>
10677
+ </descope-button>
10678
+ </div>
10679
+ <descope-list></descope-list>
10680
+ <slot name="delete-icon" class="hidden"></slot>
10681
+ <slot name="external-link-icon" class="hidden"></slot>
10682
+ </span>
10217
10683
  `;
10218
10684
 
10219
- this.appsList = this.shadowRoot.querySelector('descope-list');
10685
+ this.listEl = this.shadowRoot.querySelector('descope-list');
10220
10686
 
10221
10687
  injectStyle(
10222
10688
  `
@@ -10224,130 +10690,194 @@ class RawTrustedDevicesClass extends BaseClass$4 {
10224
10690
  display: inline-block;
10225
10691
  }
10226
10692
 
10227
- .descope-list-item {
10228
- min-width: 0;
10693
+ :host(:not([allow-create="true"])) .create-button {
10694
+ display: none;
10229
10695
  }
10230
10696
 
10231
- .current-device {
10232
- order: -1;
10697
+ .create-button {
10698
+ min-width: 0;
10699
+ flex-shrink:1;
10233
10700
  }
10234
10701
 
10235
- .content {
10236
- display: flex;
10237
- flex-direction: column;
10702
+ .header {
10238
10703
  width: 100%;
10239
- }
10240
-
10241
- .main {
10242
10704
  display: flex;
10243
10705
  align-items: center;
10244
10706
  justify-content: space-between;
10245
10707
  }
10246
10708
 
10247
- .panel {
10248
- display: flex;
10709
+ slot[name="title-icon"] {
10710
+ display: inline-flex;
10711
+ align-items: center;
10249
10712
  flex-shrink: 0;
10250
- max-width: 75%;
10251
- overflow: hidden;
10252
10713
  }
10253
10714
 
10254
- .device {
10255
- display: flex;
10715
+ .title {
10716
+ flex: 1;
10256
10717
  min-width: 0;
10257
- }
10258
-
10259
- .device-icon {
10718
+ width:0;
10260
10719
  flex-shrink: 0;
10720
+
10261
10721
  }
10262
10722
 
10263
- .meta {
10264
- display: flex;
10723
+ .title::part(text-wrapper) {
10724
+ text-overflow: ellipsis;
10725
+ overflow: hidden;
10726
+ white-space: nowrap;
10265
10727
  }
10266
10728
 
10267
- .login-date {
10268
- min-width: fit-content;
10729
+ .content {
10730
+ display: flex;
10731
+ flex-direction: column;
10732
+ align-items: stretch;
10733
+ width: 100%;
10269
10734
  }
10270
10735
 
10271
- descope-badge {
10736
+ .top-row {
10737
+ display: flex;
10738
+ align-items: center;
10739
+ justify-content: space-between;
10272
10740
  min-width: 0;
10273
10741
  }
10274
10742
 
10275
- descope-text {
10743
+ .config-name {
10276
10744
  display: flex;
10277
- align-items: center;
10745
+ align-items: center;
10278
10746
  min-width: 0;
10279
10747
  }
10280
- descope-text::part(text-wrapper) {
10748
+
10749
+ .config-name::part(text-wrapper) {
10281
10750
  text-overflow: ellipsis;
10282
10751
  overflow: hidden;
10283
10752
  white-space: nowrap;
10284
10753
  }
10285
10754
 
10286
- descope-link {
10287
- overflow: hidden;
10755
+ .auth-type-row {
10756
+ display: flex;
10757
+ align-items: center;
10288
10758
  }
10289
- descope-link.remove-device::part(wrapper) {
10759
+
10760
+ .action {
10290
10761
  display: flex;
10291
- width: 100%;
10762
+ align-items: center;
10763
+ flex-shrink: 0;
10292
10764
  }
10293
- descope-link.remove-device {
10765
+
10766
+ .hidden {
10767
+ display: none;
10768
+ }
10769
+
10770
+ .delete-btn {
10771
+ cursor: pointer;
10772
+ display: flex;
10773
+ }
10774
+
10775
+ .delete-icon > *,
10776
+ .external-link-icon > * {
10294
10777
  width: 100%;
10778
+ height: 100%;
10779
+ }
10780
+
10781
+ .external-link {
10782
+ cursor: pointer;
10783
+ color: inherit;
10784
+ display: flex;
10785
+ }
10786
+
10787
+ descope-text {
10788
+ display: flex;
10789
+ align-items: center;
10790
+ min-width: 0;
10295
10791
  }
10296
10792
  `,
10297
10793
  this,
10298
10794
  );
10299
10795
  }
10300
10796
 
10797
+ get deleteTooltipLabel() {
10798
+ return this.getAttribute('delete-tooltip-label') ?? '';
10799
+ }
10800
+
10801
+ get configureTooltipLabel() {
10802
+ return this.getAttribute('configure-tooltip-label') ?? '';
10803
+ }
10804
+
10301
10805
  init() {
10302
10806
  super.init?.();
10303
10807
 
10304
- this.appsList.itemRenderer = itemRenderer$2;
10808
+ this.shadowRoot.querySelector('.title').textContent = this.label;
10809
+ this.shadowRoot.querySelector('.create-button-label').textContent =
10810
+ this.createButtonLabel;
10305
10811
 
10306
- this.appsList.addEventListener('click', this.onRemoveClick.bind(this));
10812
+ this.listEl.itemRenderer = (item, index) => itemRenderer$2(item, index, this);
10813
+
10814
+ this.shadowRoot
10815
+ .querySelector('[data-action="create"]')
10816
+ .addEventListener('click', this.onCreateClick.bind(this));
10817
+ this.listEl.addEventListener('click', this.onItemClick.bind(this));
10818
+
10819
+ forwardAttrs(this.listEl, this, { includeAttrs: ['empty'] });
10307
10820
  }
10308
10821
 
10309
- onRemoveClick(e) {
10310
- if (this.readOnly) return;
10822
+ onCreateClick() {
10823
+ this.dispatchEvent(
10824
+ new CustomEvent('create-clicked', { bubbles: true, detail: {} }),
10825
+ );
10826
+ }
10311
10827
 
10312
- const target = e.target.closest('[data-device-id]');
10313
- const deviceId = target?.getAttribute('data-device-id');
10828
+ onItemClick(e) {
10829
+ const target = e.target.closest('[data-action="delete"]');
10830
+ if (!target) return;
10314
10831
 
10315
- if (deviceId) {
10832
+ const id = target.getAttribute('data-id');
10833
+ const name = target.getAttribute('data-name');
10834
+ if (id) {
10316
10835
  this.dispatchEvent(
10317
- new CustomEvent('remove-device-clicked', {
10836
+ new CustomEvent('delete-clicked', {
10318
10837
  bubbles: true,
10319
- detail: { id: deviceId, action: 'remove-device' },
10838
+ detail: { id, name },
10320
10839
  }),
10321
10840
  );
10322
10841
  }
10323
10842
  }
10324
10843
 
10325
- get readOnly() {
10326
- return this.getAttribute('readonly') === 'true';
10844
+ get allowCreate() {
10845
+ return this.getAttribute('allow-create') === 'true';
10327
10846
  }
10328
10847
 
10329
- get hideActions() {
10330
- return this.getAttribute('hide-actions') === 'true';
10848
+ get allowDelete() {
10849
+ return this.getAttribute('allow-delete') === 'true';
10331
10850
  }
10332
10851
 
10333
- get format() {
10334
- return this.getAttribute('format')?.toUpperCase() || 'MM-DD-YYYY';
10852
+ get allowConfigure() {
10853
+ return this.getAttribute('allow-configure') === 'true';
10335
10854
  }
10336
10855
 
10337
- get removeDeviceLabel() {
10338
- return this.getAttribute('remove-device-label') || 'Sign out';
10856
+ get label() {
10857
+ return this.getAttribute('label');
10339
10858
  }
10340
10859
 
10341
- get currentDeviceLabel() {
10342
- return this.getAttribute('current-device-label') || 'Current device';
10860
+ get createButtonLabel() {
10861
+ return this.getAttribute('create-button-label');
10343
10862
  }
10344
10863
 
10345
- get lastLoginLabel() {
10346
- return this.getAttribute('last-login-label') || 'Last login:';
10864
+ get notConfiguredLabel() {
10865
+ return this.getAttribute('not-configured-label') || 'Not Configured';
10347
10866
  }
10348
10867
 
10349
- get direction() {
10350
- return this.getAttribute('st-host-direction');
10868
+ attributeChangedCallback(name, oldValue, newValue) {
10869
+ super.attributeChangedCallback?.(name, oldValue, newValue);
10870
+ if (oldValue === newValue) return;
10871
+
10872
+ if (name === 'label') {
10873
+ const el = this.shadowRoot?.querySelector('.title');
10874
+ if (el) el.textContent = this.label;
10875
+ } else if (name === 'create-button-label') {
10876
+ const el = this.shadowRoot?.querySelector('.create-button-label');
10877
+ if (el) el.textContent = this.createButtonLabel;
10878
+ } else if (name === 'empty') {
10879
+ this.listEl.classList.toggle('hidden', newValue === 'true');
10880
+ }
10351
10881
  }
10352
10882
  }
10353
10883
 
@@ -10355,7 +10885,7 @@ const { host: host$n } = {
10355
10885
  host: { selector: () => ':host' },
10356
10886
  };
10357
10887
 
10358
- const TrustedDevicesClass = compose(
10888
+ const MultiSsoClass = compose(
10359
10889
  createStyleMixin$1({
10360
10890
  mappings: {
10361
10891
  hostWidth: { ...host$n, property: 'width' },
@@ -10371,6 +10901,35 @@ const TrustedDevicesClass = compose(
10371
10901
  property: 'direction',
10372
10902
  },
10373
10903
  ],
10904
+ headerGap: {
10905
+ selector: () => '.header',
10906
+ property: 'gap',
10907
+ },
10908
+ headerListGap: {
10909
+ selector: () => 'descope-list',
10910
+ property: 'margin-top',
10911
+ },
10912
+ itemContentGap: {
10913
+ selector: () => '.content',
10914
+ property: 'gap',
10915
+ },
10916
+ actionGap: {
10917
+ selector: () => '.action',
10918
+ property: 'gap',
10919
+ },
10920
+ unconfiguredAuthTypeTextColor: {
10921
+ selector: () => '[not-configured]',
10922
+ property: TextClass.cssVarList.textColor,
10923
+ },
10924
+ unconfiguredAuthTypeTextFontStyle: {
10925
+ selector: () => '[not-configured]',
10926
+ property: 'font-style',
10927
+ },
10928
+
10929
+ buttonMaxWidth: {
10930
+ selector: ButtonClass.componentName,
10931
+ property: ButtonClass.cssVarList.hostMaxWidth,
10932
+ },
10374
10933
 
10375
10934
  listItemsGap: {
10376
10935
  property: ListClass.cssVarList.gap,
@@ -10430,109 +10989,117 @@ const TrustedDevicesClass = compose(
10430
10989
  selector: ListItemClass.componentName,
10431
10990
  property: ListItemClass.cssVarList.backgroundColor,
10432
10991
  },
10433
- itemContentGap: {
10434
- selector: () => '.content',
10435
- property: 'gap',
10436
- },
10437
-
10438
10992
  badgeBorderColor: {
10439
- selector: BadgeClass.componentName,
10993
+ selector: () => BadgeClass.componentName,
10440
10994
  property: BadgeClass.cssVarList.borderColor,
10441
10995
  },
10442
10996
  badgeTextColor: {
10443
- selector: BadgeClass.componentName,
10997
+ selector: () => BadgeClass.componentName,
10444
10998
  property: BadgeClass.cssVarList.textColor,
10445
10999
  },
10446
11000
  badgeBackgroundColor: {
10447
- selector: BadgeClass.componentName,
11001
+ selector: () => BadgeClass.componentName,
10448
11002
  property: BadgeClass.cssVarList.backgroundColor,
10449
11003
  },
10450
11004
  badgeBorderRadius: {
10451
- selector: BadgeClass.componentName,
11005
+ selector: () => BadgeClass.componentName,
10452
11006
  property: BadgeClass.cssVarList.borderRadius,
10453
11007
  },
10454
11008
 
10455
- devicePanelGap: {
10456
- selector: () => '.main',
10457
- property: 'gap',
10458
- },
10459
- deviceIconGap: {
10460
- selector: () => '.device',
10461
- property: 'gap',
10462
- },
10463
- deviceIconSize: [
11009
+ titleIconSize: [
11010
+ { selector: () => '::slotted([slot="title-icon"])', property: 'width' },
10464
11011
  {
10465
- selector: () => '.device-icon',
11012
+ selector: () => '::slotted([slot="title-icon"])',
11013
+ property: 'height',
11014
+ },
11015
+ ],
11016
+ createButtonIconSize: [
11017
+ {
11018
+ selector: () => '::slotted([slot="create-button-icon"])',
10466
11019
  property: 'width',
10467
11020
  },
10468
11021
  {
10469
- selector: () => '.device-icon',
11022
+ selector: () => '::slotted([slot="create-button-icon"])',
10470
11023
  property: 'height',
10471
11024
  },
10472
11025
  ],
10473
-
10474
- lastLoginLabelGap: {
10475
- selector: ' .meta',
10476
- property: 'gap',
10477
- },
11026
+ actionIconSize: [
11027
+ { selector: () => '.delete-icon', property: 'width' },
11028
+ { selector: () => '.delete-icon', property: 'height' },
11029
+ { selector: () => '.external-link-icon', property: 'width' },
11030
+ { selector: () => '.external-link-icon', property: 'height' },
11031
+ ],
11032
+ actionIconColor: [
11033
+ { selector: () => '.delete-icon', property: IconClass.cssVarList.fill },
11034
+ {
11035
+ selector: () => '.external-link-icon',
11036
+ property: IconClass.cssVarList.fill,
11037
+ },
11038
+ ],
10478
11039
  },
10479
11040
  }),
10480
11041
  draggableMixin$1,
10481
11042
  createDynamicDataMixin$1({
11043
+ targetSelector: 'descope-list',
10482
11044
  itemRenderer: itemRenderer$2,
10483
- sortFn: sortFn$1,
10484
11045
  rerenderAttrsList: [
10485
- 'remove-device-label',
10486
- 'current-device-label',
10487
- 'last-login-label',
10488
- 'format',
10489
- 'hide-actions',
11046
+ 'allow-delete',
11047
+ 'allow-configure',
11048
+ 'not-configured-label',
11049
+ 'delete-tooltip-label',
11050
+ 'configure-tooltip-label',
10490
11051
  ],
10491
11052
  }),
10492
11053
  componentNameValidationMixin$1,
10493
- )(RawTrustedDevicesClass);
11054
+ )(RawMultiSsoClass);
10494
11055
 
10495
- const vars$O = TrustedDevicesClass.cssVarList;
11056
+ const vars$O = MultiSsoClass.cssVarList;
11057
+ const globalRefs$r = getThemeRefs$1(globals);
10496
11058
 
10497
- const TrustedDevices = {
10498
- [vars$O.hostWidth]: 'auto',
11059
+ const MultiSso = {
10499
11060
  [vars$O.hostWidth]: '300px',
10500
- [vars$O.hostMinWidth]: '300px',
11061
+
11062
+ [vars$O.headerGap]: globalRefs$r.spacing.md,
11063
+ [vars$O.headerListGap]: globalRefs$r.spacing.md,
11064
+ [vars$O.itemContentGap]: globalRefs$r.spacing.md,
11065
+ [vars$O.actionGap]: globalRefs$r.spacing.sm,
11066
+ [vars$O.unconfiguredAuthTypeTextColor]: globalRefs$r.colors.surface.dark,
11067
+ [vars$O.unconfiguredAuthTypeTextFontStyle]: 'italic',
11068
+ [vars$O.buttonMaxWidth]: '50%',
10501
11069
 
10502
11070
  [vars$O.listBackgroundColor]: 'transparent',
10503
11071
  [vars$O.listBorderRadius]: '0',
10504
11072
  [vars$O.listBorderWidth]: '0',
10505
11073
  [vars$O.listPadding]: '0',
10506
11074
  [vars$O.listBoxShadow]: 'none',
10507
- [vars$O.listItemsGap]: globals.spacing.lg,
11075
+ [vars$O.listItemsGap]: globalRefs$r.spacing.lg,
10508
11076
 
10509
- [vars$O.itemBorderColor]: globals.colors.surface.light,
10510
- [vars$O.itemVerticalPadding]: globals.spacing.lg,
10511
- [vars$O.itemHorizontalPadding]: globals.spacing.lg,
10512
- [vars$O.itemBorderRadius]: globals.radius.xs,
11077
+ [vars$O.itemBorderColor]: globalRefs$r.colors.surface.light,
11078
+ [vars$O.itemVerticalPadding]: globalRefs$r.spacing.lg,
11079
+ [vars$O.itemHorizontalPadding]: globalRefs$r.spacing.lg,
11080
+ [vars$O.itemBorderRadius]: globalRefs$r.radius.xs,
10513
11081
  [vars$O.itemOutline]: 'transparent',
10514
11082
  [vars$O.itemBackgroundColor]: 'transparent',
10515
11083
  [vars$O.itemCursor]: 'default',
10516
- [vars$O.itemContentGap]: globals.spacing.sm,
10517
11084
 
10518
- [vars$O.badgeBorderColor]: globals.colors.surface.light,
10519
- [vars$O.badgeTextColor]: globals.colors.surface.dark,
10520
- [vars$O.badgeBorderRadius]: globals.radius.xs,
10521
- [vars$O.badgeBackgroundColor]: globals.colors.surface.main,
11085
+ [vars$O.badgeBorderColor]: globalRefs$r.colors.surface.light,
11086
+ [vars$O.badgeTextColor]: globalRefs$r.colors.surface.dark,
11087
+ [vars$O.badgeBorderRadius]: globalRefs$r.radius.xs,
11088
+ [vars$O.badgeBackgroundColor]: globalRefs$r.colors.surface.main,
10522
11089
 
10523
- [vars$O.devicePanelGap]: globals.spacing.md,
10524
- [vars$O.deviceIconGap]: globals.spacing.md,
10525
- [vars$O.deviceIconSize]: '24px',
10526
- [vars$O.lastLoginLabelGap]: globals.spacing.xs,
11090
+ [vars$O.titleIconSize]: '24px',
11091
+ [vars$O.createButtonIconSize]: '20px',
11092
+ [vars$O.actionIconSize]: '20px',
11093
+ [vars$O.actionIconColor]: globalRefs$r.colors.surface.dark,
10527
11094
 
10528
11095
  _fullWidth: {
10529
11096
  [vars$O.hostWidth]: '100%',
10530
11097
  },
10531
11098
  };
10532
11099
 
10533
- var trustedDevices = /*#__PURE__*/Object.freeze({
11100
+ var multiSso = /*#__PURE__*/Object.freeze({
10534
11101
  __proto__: null,
10535
- default: TrustedDevices,
11102
+ default: MultiSso,
10536
11103
  vars: vars$O
10537
11104
  });
10538
11105
 
@@ -12397,21 +12964,6 @@ const iconMap = {
12397
12964
  },
12398
12965
  };
12399
12966
 
12400
- const cloneSlottedNodes = (element, slotName) => {
12401
- if (!element || !slotName) return null;
12402
- const sources = element.querySelectorAll(`:scope > [slot="${slotName}"]`);
12403
- if (!sources.length) return null;
12404
- const fragment = document.createDocumentFragment();
12405
- sources.forEach((source) => {
12406
- const clone = source.content
12407
- ? source.content.cloneNode(true)
12408
- : source.cloneNode(true);
12409
- if (clone.removeAttribute) clone.removeAttribute('slot');
12410
- fragment.append(clone);
12411
- });
12412
- return fragment;
12413
- };
12414
-
12415
12967
  const populateRemoveButton = (template, id, ref) => {
12416
12968
  const button = template.content.querySelector('.remove-button-content');
12417
12969
  button.dataset.passkeyId = id;
@@ -12606,7 +13158,7 @@ class RawUserPasskeysClass extends BaseClass$3 {
12606
13158
 
12607
13159
  descope-text {
12608
13160
  display: flex;
12609
- align-items: center;
13161
+ align-items: center;
12610
13162
  min-width: 0;
12611
13163
  }
12612
13164
  descope-text::part(text-wrapper) {
@@ -12628,7 +13180,7 @@ class RawUserPasskeysClass extends BaseClass$3 {
12628
13180
  .hidden {
12629
13181
  display: none
12630
13182
  }
12631
-
13183
+
12632
13184
  `,
12633
13185
  this,
12634
13186
  );
@@ -20023,6 +20575,12 @@ const customMixin$6 = (superclass) =>
20023
20575
 
20024
20576
  this.baseElement.appendChild(template.content.cloneNode(true));
20025
20577
 
20578
+ // On every input, Vaadin writes its value back into the input element,
20579
+ // which re-runs the internal `value` setter and overwrites the combo box
20580
+ // and phone fields. PhoneFieldInternal manages those inputs itself, so
20581
+ // disable Vaadin's write-back.
20582
+ this.baseElement._forwardInputValue = () => {};
20583
+
20026
20584
  this.inputElement = this.shadowRoot.querySelector(componentName$B);
20027
20585
 
20028
20586
  forwardAttrs$1(this.shadowRoot.host, this.inputElement, {
@@ -28674,7 +29232,7 @@ const alert = {
28674
29232
  [vars$2.horizontalPadding]: '0',
28675
29233
  [vars$2.verticalPadding]: '0',
28676
29234
  [vars$2.gap]: `0.5em`,
28677
- [vars$2.fontSize]: useVar(vars$18.fontSize),
29235
+ [vars$2.fontSize]: useVar(vars$19.fontSize),
28678
29236
 
28679
29237
  mode: {
28680
29238
  error: {
@@ -28968,6 +29526,7 @@ const components = {
28968
29526
  outboundApps: outboundApps$1,
28969
29527
  outboundAppButton: outboundAppButton$1,
28970
29528
  trustedDevices,
29529
+ multiSso,
28971
29530
  tooltip: tooltip$1,
28972
29531
  attachment: attachment$1,
28973
29532
  userPasskeys: userPasskeys$1,
@@ -28983,7 +29542,7 @@ const vars = Object.keys(components).reduce(
28983
29542
  );
28984
29543
 
28985
29544
  const defaultTheme = { globals: globals$1, components: theme };
28986
- const themeVars = { globals: vars$1a, components: vars };
29545
+ const themeVars = { globals: vars$1b, components: vars };
28987
29546
 
28988
29547
  const colors = {
28989
29548
  surface: {
@@ -29793,6 +30352,7 @@ exports.MonthDayFieldClass = MonthDayFieldClass;
29793
30352
  exports.MonthDayFieldPickerClass = MonthDayFieldPickerClass;
29794
30353
  exports.MultiLineMappingsClass = MultiLineMappingsClass;
29795
30354
  exports.MultiSelectComboBoxClass = MultiSelectComboBoxClass;
30355
+ exports.MultiSsoClass = MultiSsoClass;
29796
30356
  exports.NewPasswordClass = NewPasswordClass;
29797
30357
  exports.NotificationClass = NotificationClass;
29798
30358
  exports.NotpImageClass = NotpImageClass;