@descope/web-components-ui 3.1.12 → 3.2.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.
package/dist/index.esm.js CHANGED
@@ -2116,9 +2116,9 @@ const decodeHTML = (html) => {
2116
2116
  /* eslint-disable no-param-reassign */
2117
2117
 
2118
2118
 
2119
- const componentName$1o = getComponentName$1('enriched-text');
2119
+ const componentName$1p = getComponentName$1('enriched-text');
2120
2120
 
2121
- class EnrichedText extends createBaseClass$1({ componentName: componentName$1o, baseSelector: ':host > div' }) {
2121
+ class EnrichedText extends createBaseClass$1({ componentName: componentName$1p, baseSelector: ':host > div' }) {
2122
2122
  #origLinkRenderer;
2123
2123
 
2124
2124
  #origEmRenderer;
@@ -2395,7 +2395,6 @@ const toTitle = (str) =>
2395
2395
  const DESCOPE_PREFIX = 'descope';
2396
2396
  const CSS_SELECTOR_SPECIFIER_MULTIPLY = 5;
2397
2397
  const BASE_THEME_SECTION = 'host';
2398
- const PORTAL_THEME_PREFIX = '@';
2399
2398
 
2400
2399
  const observeAttributes = (ele, callback, { excludeAttrs = [], includeAttrs = [] }) => {
2401
2400
  // sync all attrs on init
@@ -2790,6 +2789,13 @@ function splitAmpersands(str) {
2790
2789
  return [match[1] || '', match[2] || ''];
2791
2790
  }
2792
2791
 
2792
+ const CONTAINER_QUERY_PREFIX = '@container';
2793
+ const isContainerQuery = (key) => key.startsWith(CONTAINER_QUERY_PREFIX);
2794
+
2795
+ const BREAKPOINTS_KEY = '$breakpoints';
2796
+ const BREAKPOINTS_REF_PREFIX = '$breakpoints.';
2797
+ const isBreakpointRef = (key) => key.startsWith(BREAKPOINTS_REF_PREFIX);
2798
+
2793
2799
  // st attributes are also using selector multiplication
2794
2800
  // so we need to limit the multiplication
2795
2801
  const MAX_SELECTOR_MULTIPLY = 3;
@@ -2797,6 +2803,10 @@ const MAX_SELECTOR_MULTIPLY = 3;
2797
2803
  const componentsThemeToStyleObj = (componentsTheme) =>
2798
2804
  transformTheme(componentsTheme, [], (path, val) => {
2799
2805
  const [component, ...restPath] = path;
2806
+
2807
+ // skip $breakpoints definitions — they are metadata, not CSS output
2808
+ if (restPath[0] === BREAKPOINTS_KEY) return {};
2809
+
2800
2810
  const property = restPath.pop();
2801
2811
  const componentName = getComponentName(component);
2802
2812
 
@@ -2805,15 +2815,27 @@ const componentsThemeToStyleObj = (componentsTheme) =>
2805
2815
  console.warn(componentName, `theme value: "${val}" is mapped to an invalid property`);
2806
2816
  }
2807
2817
 
2808
- // we need a support for portal components theme (e.g. overlay)
2809
- // this allows us to generate those themes under different sections
2810
- // if the theme has root level attribute that starts with #
2811
- // we are generating a new theme
2812
- let themeName = BASE_THEME_SECTION;
2818
+ const themeName = BASE_THEME_SECTION;
2813
2819
 
2814
- if (restPath[0] && restPath[0].startsWith(PORTAL_THEME_PREFIX)) {
2815
- themeName = restPath.shift();
2820
+ // extract @container queries from restPath at any position,
2821
+ // resolving breakpoints.X references via the component's $breakpoints map
2822
+ const componentBreakpoints = componentsTheme[component]?.[BREAKPOINTS_KEY] || {};
2823
+ const resolveKey = (key) =>
2824
+ isBreakpointRef(key)
2825
+ ? `${CONTAINER_QUERY_PREFIX} ${componentBreakpoints[key.slice(BREAKPOINTS_REF_PREFIX.length)]}`
2826
+ : key;
2827
+ const breakpointRefs = restPath.filter(isBreakpointRef);
2828
+ const missingRef = breakpointRefs.find(
2829
+ (key) => !componentBreakpoints[key.slice(BREAKPOINTS_REF_PREFIX.length)]
2830
+ );
2831
+ if (missingRef) {
2832
+ // eslint-disable-next-line no-console
2833
+ console.warn(componentName, `theme references undefined breakpoint "${missingRef}"`);
2834
+ return {};
2816
2835
  }
2836
+ const containerQueries = breakpointRefs.map(resolveKey);
2837
+ // remove breakpoint refs from restPath so the remaining parts are processed as attribute selectors
2838
+ restPath.splice(0, restPath.length, ...restPath.filter((s) => !isBreakpointRef(s)));
2817
2839
 
2818
2840
  // do not start with underscore -> key:value, must have 2 no underscore attrs in a row
2819
2841
  // starts with underscore -> attribute selector
@@ -2852,25 +2874,29 @@ const componentsThemeToStyleObj = (componentsTheme) =>
2852
2874
 
2853
2875
  const selector = `:host${attrsSelector ? `(${attrsSelector})` : ''}`;
2854
2876
 
2877
+ // wrap the selector rule in container queries from innermost to outermost
2878
+ // e.g. ['@container (max-width: 80px)'] + { ':host': { prop: val } }
2879
+ // => { '@container (max-width: 80px)': { ':host': { prop: val } } }
2880
+ const leaf = containerQueries.reduceRight((acc, query) => ({ [query]: acc }), {
2881
+ [selector]: { [property]: getCssVarValue(val) },
2882
+ });
2883
+
2855
2884
  return {
2856
2885
  [componentName]: {
2857
- [themeName]: {
2858
- [selector]: {
2859
- [property]: getCssVarValue(val),
2860
- },
2861
- },
2886
+ [themeName]: leaf,
2862
2887
  },
2863
2888
  };
2864
2889
  });
2865
2890
 
2866
2891
  const componentsThemeToStyle = (componentsTheme) =>
2867
- Object.entries(componentsTheme).reduce(
2868
- (acc, [selector, vars]) =>
2869
- `${acc}${selector} { \n${Object.entries(vars)
2870
- .map(([key, val]) => `${key}: ${val}`)
2871
- .join(';\n')} \n}\n\n`,
2872
- ''
2873
- );
2892
+ Object.entries(componentsTheme).reduce((acc, [key, value]) => {
2893
+ if (isContainerQuery(key)) {
2894
+ return `${acc}${key} {\n${componentsThemeToStyle(value)}}\n\n`;
2895
+ }
2896
+ return `${acc}${key} { \n${Object.entries(value)
2897
+ .map(([prop, val]) => `${prop}: ${val}`)
2898
+ .join(';\n')} \n}\n\n`;
2899
+ }, '');
2874
2900
 
2875
2901
  const createComponentsTheme = (componentsTheme) => {
2876
2902
  const styleObj = componentsThemeToStyleObj(componentsTheme);
@@ -4392,11 +4418,11 @@ const createBaseInputClass = (...args) =>
4392
4418
  inputEventsDispatchingMixin
4393
4419
  )(createBaseClass(...args));
4394
4420
 
4395
- const componentName$1n = getComponentName('boolean-field-internal');
4421
+ const componentName$1o = getComponentName('boolean-field-internal');
4396
4422
 
4397
4423
  const forwardAttributes$1 = ['disabled', 'invalid', 'readonly'];
4398
4424
 
4399
- const BaseInputClass$e = createBaseInputClass({ componentName: componentName$1n, baseSelector: 'div' });
4425
+ const BaseInputClass$e = createBaseInputClass({ componentName: componentName$1o, baseSelector: 'div' });
4400
4426
 
4401
4427
  class BooleanInputInternal extends BaseInputClass$e {
4402
4428
  static get observedAttributes() {
@@ -4495,14 +4521,14 @@ const booleanFieldMixin = (superclass) =>
4495
4521
 
4496
4522
  const template = document.createElement('template');
4497
4523
  template.innerHTML = `
4498
- <${componentName$1n}
4524
+ <${componentName$1o}
4499
4525
  tabindex="-1"
4500
4526
  slot="input"
4501
- ></${componentName$1n}>
4527
+ ></${componentName$1o}>
4502
4528
  `;
4503
4529
 
4504
4530
  this.baseElement.appendChild(template.content.cloneNode(true));
4505
- this.inputElement = this.shadowRoot.querySelector(componentName$1n);
4531
+ this.inputElement = this.shadowRoot.querySelector(componentName$1o);
4506
4532
  this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
4507
4533
 
4508
4534
  forwardAttrs(this, this.inputElement, {
@@ -4580,7 +4606,7 @@ descope-enriched-text {
4580
4606
 
4581
4607
  `;
4582
4608
 
4583
- const componentName$1m = getComponentName('checkbox');
4609
+ const componentName$1n = getComponentName('checkbox');
4584
4610
 
4585
4611
  const {
4586
4612
  host: host$x,
@@ -4716,14 +4742,14 @@ const CheckboxClass = compose(
4716
4742
  }
4717
4743
  `,
4718
4744
  excludeAttrsSync: ['label', 'tabindex', 'style'],
4719
- componentName: componentName$1m,
4745
+ componentName: componentName$1n,
4720
4746
  })
4721
4747
  );
4722
4748
 
4723
- const componentName$1l = getComponentName$1('text');
4749
+ const componentName$1m = getComponentName$1('text');
4724
4750
 
4725
4751
  class RawText extends createBaseClass$1({
4726
- componentName: componentName$1l,
4752
+ componentName: componentName$1m,
4727
4753
  baseSelector: ':host > slot',
4728
4754
  }) {
4729
4755
  constructor() {
@@ -4789,9 +4815,9 @@ const TextClass = compose$1(
4789
4815
  componentNameValidationMixin$1,
4790
4816
  )(RawText);
4791
4817
 
4792
- const componentName$1k = getComponentName$1('link');
4818
+ const componentName$1l = getComponentName$1('link');
4793
4819
 
4794
- class RawLink extends createBaseClass$1({ componentName: componentName$1k, baseSelector: ':host a' }) {
4820
+ class RawLink extends createBaseClass$1({ componentName: componentName$1l, baseSelector: ':host a' }) {
4795
4821
  constructor() {
4796
4822
  super();
4797
4823
 
@@ -4868,17 +4894,17 @@ const LinkClass = compose$1(
4868
4894
  componentNameValidationMixin$1
4869
4895
  )(RawLink);
4870
4896
 
4871
- customElements.define(componentName$1l, TextClass);
4897
+ customElements.define(componentName$1m, TextClass);
4872
4898
 
4873
- customElements.define(componentName$1k, LinkClass);
4899
+ customElements.define(componentName$1l, LinkClass);
4874
4900
 
4875
- customElements.define(componentName$1o, EnrichedTextClass);
4901
+ customElements.define(componentName$1p, EnrichedTextClass);
4876
4902
 
4877
- customElements.define(componentName$1n, BooleanInputInternal);
4903
+ customElements.define(componentName$1o, BooleanInputInternal);
4878
4904
 
4879
- customElements.define(componentName$1m, CheckboxClass);
4905
+ customElements.define(componentName$1n, CheckboxClass);
4880
4906
 
4881
- const componentName$1j = getComponentName('switch-toggle');
4907
+ const componentName$1k = getComponentName('switch-toggle');
4882
4908
 
4883
4909
  const {
4884
4910
  host: host$u,
@@ -5022,17 +5048,17 @@ const SwitchToggleClass = compose(
5022
5048
  }
5023
5049
  `,
5024
5050
  excludeAttrsSync: ['label', 'tabindex', 'style'],
5025
- componentName: componentName$1j,
5051
+ componentName: componentName$1k,
5026
5052
  })
5027
5053
  );
5028
5054
 
5029
- customElements.define(componentName$1j, SwitchToggleClass);
5055
+ customElements.define(componentName$1k, SwitchToggleClass);
5030
5056
 
5031
- const componentName$1i = getComponentName('loader-linear');
5057
+ const componentName$1j = getComponentName('loader-linear');
5032
5058
 
5033
- class RawLoaderLinear extends createBaseClass({ componentName: componentName$1i, baseSelector: ':host > div' }) {
5059
+ class RawLoaderLinear extends createBaseClass({ componentName: componentName$1j, baseSelector: ':host > div' }) {
5034
5060
  static get componentName() {
5035
- return componentName$1i;
5061
+ return componentName$1j;
5036
5062
  }
5037
5063
 
5038
5064
  constructor() {
@@ -5097,11 +5123,11 @@ const LoaderLinearClass = compose(
5097
5123
  componentNameValidationMixin
5098
5124
  )(RawLoaderLinear);
5099
5125
 
5100
- customElements.define(componentName$1i, LoaderLinearClass);
5126
+ customElements.define(componentName$1j, LoaderLinearClass);
5101
5127
 
5102
- const componentName$1h = getComponentName('loader-radial');
5128
+ const componentName$1i = getComponentName('loader-radial');
5103
5129
 
5104
- class RawLoaderRadial extends createBaseClass({ componentName: componentName$1h, baseSelector: ':host > div' }) {
5130
+ class RawLoaderRadial extends createBaseClass({ componentName: componentName$1i, baseSelector: ':host > div' }) {
5105
5131
  constructor() {
5106
5132
  super();
5107
5133
 
@@ -5149,11 +5175,11 @@ const LoaderRadialClass = compose(
5149
5175
  componentNameValidationMixin
5150
5176
  )(RawLoaderRadial);
5151
5177
 
5152
- customElements.define(componentName$1h, LoaderRadialClass);
5178
+ customElements.define(componentName$1i, LoaderRadialClass);
5153
5179
 
5154
- const componentName$1g = getComponentName('container');
5180
+ const componentName$1h = getComponentName('container');
5155
5181
 
5156
- class RawContainer extends createBaseClass({ componentName: componentName$1g, baseSelector: 'slot' }) {
5182
+ class RawContainer extends createBaseClass({ componentName: componentName$1h, baseSelector: 'slot' }) {
5157
5183
  constructor() {
5158
5184
  super();
5159
5185
 
@@ -5216,9 +5242,9 @@ const ContainerClass = compose(
5216
5242
  componentNameValidationMixin
5217
5243
  )(RawContainer);
5218
5244
 
5219
- customElements.define(componentName$1g, ContainerClass);
5245
+ customElements.define(componentName$1h, ContainerClass);
5220
5246
 
5221
- const componentName$1f = getComponentName$1('combo-box');
5247
+ const componentName$1g = getComponentName$1('combo-box');
5222
5248
 
5223
5249
  const ComboBoxMixin = (superclass) =>
5224
5250
  class ComboBoxMixinClass extends superclass {
@@ -5902,12 +5928,12 @@ const ComboBoxClass = compose$1(
5902
5928
  // and reset items to an empty array, and opening the list box with no items
5903
5929
  // to display.
5904
5930
  excludeAttrsSync: ['tabindex', 'size', 'data', 'loading', 'style'],
5905
- componentName: componentName$1f,
5931
+ componentName: componentName$1g,
5906
5932
  includeForwardProps: ['items', 'renderer', 'selectedItem'],
5907
5933
  }),
5908
5934
  );
5909
5935
 
5910
- customElements.define(componentName$1f, ComboBoxClass);
5936
+ customElements.define(componentName$1g, ComboBoxClass);
5911
5937
 
5912
5938
  const getFileExtension = (path) => {
5913
5939
  const match = path.match(/\.([0-9a-z]+)(?:[\\?#]|$)/i);
@@ -5970,12 +5996,12 @@ const createImage = async (src, altText) => {
5970
5996
 
5971
5997
  /* eslint-disable no-use-before-define */
5972
5998
 
5973
- const componentName$1e = getComponentName$1('image');
5999
+ const componentName$1f = getComponentName$1('image');
5974
6000
 
5975
6001
  const srcAttrs = ['src', 'src-dark'];
5976
6002
 
5977
6003
  class RawImage extends createBaseClass$1({
5978
- componentName: componentName$1e,
6004
+ componentName: componentName$1f,
5979
6005
  baseSelector: 'slot',
5980
6006
  }) {
5981
6007
  static get observedAttributes() {
@@ -6103,7 +6129,7 @@ const ImageClass = compose$1(
6103
6129
  componentNameValidationMixin$1,
6104
6130
  )(RawImage);
6105
6131
 
6106
- const componentName$1d = getComponentName$1('icon');
6132
+ const componentName$1e = getComponentName$1('icon');
6107
6133
 
6108
6134
  const IconClass = compose$1(
6109
6135
  createStyleMixin$1({
@@ -6124,7 +6150,7 @@ const IconClass = compose$1(
6124
6150
  }
6125
6151
  `,
6126
6152
  excludeAttrsSync: ['tabindex', 'class', 'style'],
6127
- componentName: componentName$1d,
6153
+ componentName: componentName$1e,
6128
6154
  }),
6129
6155
  );
6130
6156
 
@@ -6139,7 +6165,7 @@ const clickableMixin = (superclass) =>
6139
6165
  }
6140
6166
  };
6141
6167
 
6142
- const componentName$1c = getComponentName$1('button');
6168
+ const componentName$1d = getComponentName$1('button');
6143
6169
 
6144
6170
  const resetStyles = `
6145
6171
  :host {
@@ -6255,7 +6281,7 @@ const ButtonClass = compose$1(
6255
6281
  }
6256
6282
  `,
6257
6283
  excludeAttrsSync: ['tabindex', 'class', 'style'],
6258
- componentName: componentName$1c,
6284
+ componentName: componentName$1d,
6259
6285
  })
6260
6286
  );
6261
6287
 
@@ -6292,7 +6318,7 @@ loadingIndicatorStyles = `
6292
6318
  }
6293
6319
  `;
6294
6320
 
6295
- customElements.define(componentName$1c, ButtonClass);
6321
+ customElements.define(componentName$1d, ButtonClass);
6296
6322
 
6297
6323
  const SUPPORTED_FORMATS = ['MM/DD/YYYY', 'DD/MM/YYYY', 'YYYY/MM/DD'];
6298
6324
 
@@ -6648,7 +6674,7 @@ const nextMonth = (epoch) => {
6648
6674
  return date;
6649
6675
  };
6650
6676
 
6651
- const componentName$1b = getComponentName('calendar');
6677
+ const componentName$1c = getComponentName('calendar');
6652
6678
 
6653
6679
  const observedAttrs$6 = [
6654
6680
  'initial-value',
@@ -6665,7 +6691,7 @@ const observedAttrs$6 = [
6665
6691
 
6666
6692
  const calendarUiAttrs = ['calendar-label-submit', 'calendar-label-cancel'];
6667
6693
 
6668
- const BaseInputClass$d = createBaseInputClass({ componentName: componentName$1b, baseSelector: 'div' });
6694
+ const BaseInputClass$d = createBaseInputClass({ componentName: componentName$1c, baseSelector: 'div' });
6669
6695
 
6670
6696
  class RawCalendar extends BaseInputClass$d {
6671
6697
  static get observedAttributes() {
@@ -7286,7 +7312,7 @@ const CalendarClass = compose(
7286
7312
  componentNameValidationMixin
7287
7313
  )(RawCalendar);
7288
7314
 
7289
- customElements.define(componentName$1b, CalendarClass);
7315
+ customElements.define(componentName$1c, CalendarClass);
7290
7316
 
7291
7317
  const {
7292
7318
  host: host$q,
@@ -7447,7 +7473,7 @@ var textFieldMappings = {
7447
7473
  ],
7448
7474
  };
7449
7475
 
7450
- const componentName$1a = getComponentName('text-field');
7476
+ const componentName$1b = getComponentName('text-field');
7451
7477
 
7452
7478
  const observedAttrs$5 = ['type', 'label-type', 'copy-to-clipboard'];
7453
7479
 
@@ -7569,11 +7595,11 @@ const TextFieldClass = compose(
7569
7595
  }
7570
7596
  `,
7571
7597
  excludeAttrsSync: ['tabindex', 'style'],
7572
- componentName: componentName$1a,
7598
+ componentName: componentName$1b,
7573
7599
  })
7574
7600
  );
7575
7601
 
7576
- customElements.define(componentName$1a, TextFieldClass);
7602
+ customElements.define(componentName$1b, TextFieldClass);
7577
7603
 
7578
7604
  // DateCounterClass allows us to add several counters to the input, and use them seperately.
7579
7605
  // For examele, we have a DayCounter, MonthCounter and YearCounter, which can each separately navigate
@@ -7693,12 +7719,12 @@ class DateCounter {
7693
7719
  }
7694
7720
  }
7695
7721
 
7696
- const componentName$19 = getComponentName('date-field');
7722
+ const componentName$1a = getComponentName('date-field');
7697
7723
 
7698
7724
  // we set baseSelector to `vaadin-popover` as a temporary hack, so our portalMixin will
7699
7725
  // be able to process this component's overlay. The whole process needs refactoring as soon as possible.
7700
7726
  const BASE_SELECTOR = 'vaadin-popover';
7701
- const BaseInputClass$c = createBaseInputClass({ componentName: componentName$19, baseSelector: BASE_SELECTOR });
7727
+ const BaseInputClass$c = createBaseInputClass({ componentName: componentName$1a, baseSelector: BASE_SELECTOR });
7702
7728
 
7703
7729
  const dateFieldAttrs = [
7704
7730
  'format',
@@ -8611,10 +8637,10 @@ const DateFieldClass = compose(
8611
8637
  componentNameValidationMixin
8612
8638
  )(RawDateFieldClass);
8613
8639
 
8614
- customElements.define(componentName$19, DateFieldClass);
8640
+ customElements.define(componentName$1a, DateFieldClass);
8615
8641
 
8616
- const componentName$18 = getComponentName('divider');
8617
- class RawDivider extends createBaseClass({ componentName: componentName$18, baseSelector: ':host > div' }) {
8642
+ const componentName$19 = getComponentName('divider');
8643
+ class RawDivider extends createBaseClass({ componentName: componentName$19, baseSelector: ':host > div' }) {
8618
8644
  constructor() {
8619
8645
  super();
8620
8646
 
@@ -8717,9 +8743,9 @@ const DividerClass = compose(
8717
8743
  componentNameValidationMixin
8718
8744
  )(RawDivider);
8719
8745
 
8720
- customElements.define(componentName$18, DividerClass);
8746
+ customElements.define(componentName$19, DividerClass);
8721
8747
 
8722
- const componentName$17 = getComponentName('email-field');
8748
+ const componentName$18 = getComponentName('email-field');
8723
8749
 
8724
8750
  const defaultPattern = "^[\\w\\.\\%\\+\\-']+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$";
8725
8751
  const defaultAutocomplete = 'username';
@@ -8788,11 +8814,11 @@ const EmailFieldClass = compose(
8788
8814
  }
8789
8815
  `,
8790
8816
  excludeAttrsSync: ['tabindex', 'style'],
8791
- componentName: componentName$17,
8817
+ componentName: componentName$18,
8792
8818
  })
8793
8819
  );
8794
8820
 
8795
- customElements.define(componentName$17, EmailFieldClass);
8821
+ customElements.define(componentName$18, EmailFieldClass);
8796
8822
 
8797
8823
  const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
8798
8824
  let style;
@@ -8848,37 +8874,37 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
8848
8874
  return CssVarImageClass;
8849
8875
  };
8850
8876
 
8851
- const componentName$16 = getComponentName('logo');
8877
+ const componentName$17 = getComponentName('logo');
8852
8878
 
8853
8879
  const LogoClass = createCssVarImageClass({
8854
- componentName: componentName$16,
8880
+ componentName: componentName$17,
8855
8881
  varName: 'url',
8856
8882
  fallbackVarName: 'fallbackUrl',
8857
8883
  });
8858
8884
 
8859
- customElements.define(componentName$16, LogoClass);
8885
+ customElements.define(componentName$17, LogoClass);
8860
8886
 
8861
- const componentName$15 = getComponentName('totp-image');
8887
+ const componentName$16 = getComponentName('totp-image');
8862
8888
 
8863
8889
  const TotpImageClass = createCssVarImageClass({
8864
- componentName: componentName$15,
8890
+ componentName: componentName$16,
8865
8891
  varName: 'url',
8866
8892
  fallbackVarName: 'fallbackUrl',
8867
8893
  });
8868
8894
 
8869
- customElements.define(componentName$15, TotpImageClass);
8895
+ customElements.define(componentName$16, TotpImageClass);
8870
8896
 
8871
- const componentName$14 = getComponentName('notp-image');
8897
+ const componentName$15 = getComponentName('notp-image');
8872
8898
 
8873
8899
  const NotpImageClass = createCssVarImageClass({
8874
- componentName: componentName$14,
8900
+ componentName: componentName$15,
8875
8901
  varName: 'url',
8876
8902
  fallbackVarName: 'fallbackUrl',
8877
8903
  });
8878
8904
 
8879
- customElements.define(componentName$14, NotpImageClass);
8905
+ customElements.define(componentName$15, NotpImageClass);
8880
8906
 
8881
- const componentName$13 = getComponentName('number-field');
8907
+ const componentName$14 = getComponentName('number-field');
8882
8908
 
8883
8909
  const NumberFieldClass = compose(
8884
8910
  createStyleMixin({
@@ -8912,11 +8938,11 @@ const NumberFieldClass = compose(
8912
8938
  }
8913
8939
  `,
8914
8940
  excludeAttrsSync: ['tabindex', 'style'],
8915
- componentName: componentName$13,
8941
+ componentName: componentName$14,
8916
8942
  })
8917
8943
  );
8918
8944
 
8919
- customElements.define(componentName$13, NumberFieldClass);
8945
+ customElements.define(componentName$14, NumberFieldClass);
8920
8946
 
8921
8947
  const INPUT_MASK_TEXT_PROP = '--descope-input-mask-content';
8922
8948
  const INPUT_MASK_DISPLAY_PROP = '--descope-input-mask-display';
@@ -8939,7 +8965,7 @@ const toggleMaskVisibility = (input, value) => {
8939
8965
  }
8940
8966
  };
8941
8967
 
8942
- const componentName$12 = getComponentName('passcode-internal');
8968
+ const componentName$13 = getComponentName('passcode-internal');
8943
8969
 
8944
8970
  const observedAttributes$6 = ['digits', 'loading'];
8945
8971
 
@@ -8952,7 +8978,7 @@ const forwardAttributes = [
8952
8978
  'aria-labelledby',
8953
8979
  ];
8954
8980
 
8955
- const BaseInputClass$b = createBaseInputClass({ componentName: componentName$12, baseSelector: 'div' });
8981
+ const BaseInputClass$b = createBaseInputClass({ componentName: componentName$13, baseSelector: 'div' });
8956
8982
 
8957
8983
  class PasscodeInternal extends BaseInputClass$b {
8958
8984
  static get observedAttributes() {
@@ -9165,7 +9191,7 @@ class PasscodeInternal extends BaseInputClass$b {
9165
9191
  }
9166
9192
  }
9167
9193
 
9168
- const componentName$11 = getComponentName('passcode');
9194
+ const componentName$12 = getComponentName('passcode');
9169
9195
 
9170
9196
  const observedAttributes$5 = ['digits'];
9171
9197
 
@@ -9210,18 +9236,18 @@ const customMixin$d = (superclass) =>
9210
9236
  const template = document.createElement('template');
9211
9237
 
9212
9238
  template.innerHTML = `
9213
- <${componentName$12}
9239
+ <${componentName$13}
9214
9240
  bordered="true"
9215
9241
  name="code"
9216
9242
  tabindex="-1"
9217
9243
  slot="input"
9218
9244
  role="textbox"
9219
- ><slot></slot></${componentName$12}>
9245
+ ><slot></slot></${componentName$13}>
9220
9246
  `;
9221
9247
 
9222
9248
  this.baseElement.appendChild(template.content.cloneNode(true));
9223
9249
 
9224
- this.inputElement = this.shadowRoot.querySelector(componentName$12);
9250
+ this.inputElement = this.shadowRoot.querySelector(componentName$13);
9225
9251
 
9226
9252
  forwardAttrs(this, this.inputElement, {
9227
9253
  includeAttrs: ['digits', 'size', 'loading', 'disabled'],
@@ -9384,13 +9410,13 @@ const PasscodeClass = compose(
9384
9410
  ${resetInputCursor('vaadin-text-field')}
9385
9411
  `,
9386
9412
  excludeAttrsSync: ['tabindex', 'style'],
9387
- componentName: componentName$11,
9413
+ componentName: componentName$12,
9388
9414
  })
9389
9415
  );
9390
9416
 
9391
- customElements.define(componentName$12, PasscodeInternal);
9417
+ customElements.define(componentName$13, PasscodeInternal);
9392
9418
 
9393
- customElements.define(componentName$11, PasscodeClass);
9419
+ customElements.define(componentName$12, PasscodeClass);
9394
9420
 
9395
9421
  const passwordDraggableMixin = (superclass) =>
9396
9422
  class PasswordDraggableMixinClass extends superclass {
@@ -9431,7 +9457,7 @@ const passwordDraggableMixin = (superclass) =>
9431
9457
  }
9432
9458
  };
9433
9459
 
9434
- const componentName$10 = getComponentName('password');
9460
+ const componentName$11 = getComponentName('password');
9435
9461
 
9436
9462
  const customMixin$c = (superclass) =>
9437
9463
  class PasswordFieldMixinClass extends superclass {
@@ -9715,13 +9741,13 @@ const PasswordClass = compose(
9715
9741
  }
9716
9742
  `,
9717
9743
  excludeAttrsSync: ['tabindex', 'style'],
9718
- componentName: componentName$10,
9744
+ componentName: componentName$11,
9719
9745
  })
9720
9746
  );
9721
9747
 
9722
- customElements.define(componentName$10, PasswordClass);
9748
+ customElements.define(componentName$11, PasswordClass);
9723
9749
 
9724
- const componentName$$ = getComponentName('text-area');
9750
+ const componentName$10 = getComponentName('text-area');
9725
9751
 
9726
9752
  const {
9727
9753
  host: host$l,
@@ -9804,11 +9830,11 @@ const TextAreaClass = compose(
9804
9830
  ${resetInputCursor('vaadin-text-area')}
9805
9831
  `,
9806
9832
  excludeAttrsSync: ['tabindex', 'style'],
9807
- componentName: componentName$$,
9833
+ componentName: componentName$10,
9808
9834
  })
9809
9835
  );
9810
9836
 
9811
- customElements.define(componentName$$, TextAreaClass);
9837
+ customElements.define(componentName$10, TextAreaClass);
9812
9838
 
9813
9839
  var CountryCodes = [
9814
9840
  // United States should be the first option
@@ -11045,7 +11071,7 @@ const comboBoxItem = ({ code, dialCode, name: country }) => `
11045
11071
  </div>
11046
11072
  `;
11047
11073
 
11048
- const componentName$_ = getComponentName('phone-field-internal');
11074
+ const componentName$$ = getComponentName('phone-field-internal');
11049
11075
 
11050
11076
  const commonAttrs$2 = ['disabled', 'size', 'bordered', 'readonly'];
11051
11077
  const countryAttrs = ['country-input-placeholder', 'default-code', 'restrict-countries'];
@@ -11059,7 +11085,7 @@ const mapAttrs$1 = {
11059
11085
 
11060
11086
  const inputRelatedAttrs$1 = [].concat(commonAttrs$2, countryAttrs, phoneAttrs, labelTypeAttrs$1);
11061
11087
 
11062
- const BaseInputClass$a = createBaseInputClass({ componentName: componentName$_, baseSelector: 'div' });
11088
+ const BaseInputClass$a = createBaseInputClass({ componentName: componentName$$, baseSelector: 'div' });
11063
11089
 
11064
11090
  let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$a {
11065
11091
  static get observedAttributes() {
@@ -11413,12 +11439,12 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$a {
11413
11439
  }
11414
11440
  };
11415
11441
 
11416
- customElements.define(componentName$_, PhoneFieldInternal$1);
11442
+ customElements.define(componentName$$, PhoneFieldInternal$1);
11417
11443
 
11418
11444
  const textVars$2 = TextFieldClass.cssVarList;
11419
11445
  const comboVars = ComboBoxClass.cssVarList;
11420
11446
 
11421
- const componentName$Z = getComponentName('phone-field');
11447
+ const componentName$_ = getComponentName('phone-field');
11422
11448
 
11423
11449
  const customMixin$b = (superclass) =>
11424
11450
  class PhoneFieldMixinClass extends superclass {
@@ -11432,15 +11458,15 @@ const customMixin$b = (superclass) =>
11432
11458
  const template = document.createElement('template');
11433
11459
 
11434
11460
  template.innerHTML = `
11435
- <${componentName$_}
11461
+ <${componentName$$}
11436
11462
  tabindex="-1"
11437
11463
  slot="input"
11438
- ></${componentName$_}>
11464
+ ></${componentName$$}>
11439
11465
  `;
11440
11466
 
11441
11467
  this.baseElement.appendChild(template.content.cloneNode(true));
11442
11468
 
11443
- this.inputElement = this.shadowRoot.querySelector(componentName$_);
11469
+ this.inputElement = this.shadowRoot.querySelector(componentName$$);
11444
11470
 
11445
11471
  forwardAttrs(this.shadowRoot.host, this.inputElement, {
11446
11472
  includeAttrs: [
@@ -11713,11 +11739,11 @@ const PhoneFieldClass = compose(
11713
11739
  ${resetInputLabelPosition('vaadin-text-field')}
11714
11740
  `,
11715
11741
  excludeAttrsSync: ['tabindex', 'style'],
11716
- componentName: componentName$Z,
11742
+ componentName: componentName$_,
11717
11743
  })
11718
11744
  );
11719
11745
 
11720
- customElements.define(componentName$Z, PhoneFieldClass);
11746
+ customElements.define(componentName$_, PhoneFieldClass);
11721
11747
 
11722
11748
  const getCountryByCodeId = (countryCode) =>
11723
11749
  CountryCodes.find((c) => c.code === countryCode)?.dialCode;
@@ -11728,7 +11754,7 @@ const matchingParenthesis = (val) => {
11728
11754
  return openParenMatches?.length === closeParenMatches?.length;
11729
11755
  };
11730
11756
 
11731
- const componentName$Y = getComponentName('phone-field-internal-input-box');
11757
+ const componentName$Z = getComponentName('phone-field-internal-input-box');
11732
11758
 
11733
11759
  const observedAttributes$4 = [
11734
11760
  'disabled',
@@ -11744,7 +11770,7 @@ const mapAttrs = {
11744
11770
  'phone-input-placeholder': 'placeholder',
11745
11771
  };
11746
11772
 
11747
- const BaseInputClass$9 = createBaseInputClass({ componentName: componentName$Y, baseSelector: 'div' });
11773
+ const BaseInputClass$9 = createBaseInputClass({ componentName: componentName$Z, baseSelector: 'div' });
11748
11774
 
11749
11775
  class PhoneFieldInternal extends BaseInputClass$9 {
11750
11776
  static get observedAttributes() {
@@ -11992,11 +12018,11 @@ class PhoneFieldInternal extends BaseInputClass$9 {
11992
12018
  }
11993
12019
  }
11994
12020
 
11995
- customElements.define(componentName$Y, PhoneFieldInternal);
12021
+ customElements.define(componentName$Z, PhoneFieldInternal);
11996
12022
 
11997
12023
  const textVars$1 = TextFieldClass.cssVarList;
11998
12024
 
11999
- const componentName$X = getComponentName('phone-input-box-field');
12025
+ const componentName$Y = getComponentName('phone-input-box-field');
12000
12026
 
12001
12027
  const customMixin$a = (superclass) =>
12002
12028
  class PhoneFieldInputBoxMixinClass extends superclass {
@@ -12010,15 +12036,15 @@ const customMixin$a = (superclass) =>
12010
12036
  const template = document.createElement('template');
12011
12037
 
12012
12038
  template.innerHTML = `
12013
- <${componentName$Y}
12039
+ <${componentName$Z}
12014
12040
  tabindex="-1"
12015
12041
  slot="input"
12016
- ></${componentName$Y}>
12042
+ ></${componentName$Z}>
12017
12043
  `;
12018
12044
 
12019
12045
  this.baseElement.appendChild(template.content.cloneNode(true));
12020
12046
 
12021
- this.inputElement = this.shadowRoot.querySelector(componentName$Y);
12047
+ this.inputElement = this.shadowRoot.querySelector(componentName$Z);
12022
12048
 
12023
12049
  syncAttrs$1(this, this.inputElement, { includeAttrs: ['has-value'] });
12024
12050
 
@@ -12225,18 +12251,18 @@ const PhoneFieldInputBoxClass = compose(
12225
12251
  ${inputFloatingLabelStyle()}
12226
12252
  `,
12227
12253
  excludeAttrsSync: ['tabindex', 'style'],
12228
- componentName: componentName$X,
12254
+ componentName: componentName$Y,
12229
12255
  })
12230
12256
  );
12231
12257
 
12232
- customElements.define(componentName$X, PhoneFieldInputBoxClass);
12258
+ customElements.define(componentName$Y, PhoneFieldInputBoxClass);
12233
12259
 
12234
- const componentName$W = getComponentName('new-password-internal');
12260
+ const componentName$X = getComponentName('new-password-internal');
12235
12261
 
12236
12262
  const interpolateString = (template, values) =>
12237
12263
  template.replace(/{{(\w+)+}}/g, (match, key) => values?.[key] || match);
12238
12264
 
12239
- const componentName$V = getComponentName('policy-validation');
12265
+ const componentName$W = getComponentName('policy-validation');
12240
12266
 
12241
12267
  const overrideAttrs = [
12242
12268
  'data-password-policy-value-minlength',
@@ -12246,7 +12272,7 @@ const overrideAttrs = [
12246
12272
  const dataAttrs = ['data', 'active-policies', 'overrides', ...overrideAttrs];
12247
12273
  const policyAttrs = ['label', 'value', ...dataAttrs];
12248
12274
 
12249
- class RawPolicyValidation extends createBaseClass({ componentName: componentName$V, baseSelector: ':host > div' }) {
12275
+ class RawPolicyValidation extends createBaseClass({ componentName: componentName$W, baseSelector: ':host > div' }) {
12250
12276
  #availablePolicies;
12251
12277
 
12252
12278
  #activePolicies = [];
@@ -12518,7 +12544,7 @@ const PolicyValidationClass = compose(
12518
12544
  componentNameValidationMixin
12519
12545
  )(RawPolicyValidation);
12520
12546
 
12521
- const componentName$U = getComponentName('new-password');
12547
+ const componentName$V = getComponentName('new-password');
12522
12548
 
12523
12549
  const policyPreviewVars = PolicyValidationClass.cssVarList;
12524
12550
 
@@ -12532,18 +12558,18 @@ const customMixin$9 = (superclass) =>
12532
12558
  const externalInputAttr = this.getAttribute('external-input');
12533
12559
 
12534
12560
  template.innerHTML = `
12535
- <${componentName$W}
12561
+ <${componentName$X}
12536
12562
  name="new-password"
12537
12563
  tabindex="-1"
12538
12564
  slot="input"
12539
12565
  external-input="${externalInputAttr}"
12540
12566
  >
12541
- </${componentName$W}>
12567
+ </${componentName$X}>
12542
12568
  `;
12543
12569
 
12544
12570
  this.baseElement.appendChild(template.content.cloneNode(true));
12545
12571
 
12546
- this.inputElement = this.shadowRoot.querySelector(componentName$W);
12572
+ this.inputElement = this.shadowRoot.querySelector(componentName$X);
12547
12573
 
12548
12574
  if (this.getAttribute('external-input') === 'true') {
12549
12575
  this.initExternalInput();
@@ -12728,11 +12754,11 @@ const NewPasswordClass = compose(
12728
12754
  }
12729
12755
  `,
12730
12756
  excludeAttrsSync: ['tabindex', 'style'],
12731
- componentName: componentName$U,
12757
+ componentName: componentName$V,
12732
12758
  })
12733
12759
  );
12734
12760
 
12735
- customElements.define(componentName$V, PolicyValidationClass);
12761
+ customElements.define(componentName$W, PolicyValidationClass);
12736
12762
 
12737
12763
  const passwordAttrPrefixRegex = /^password-/;
12738
12764
  const confirmAttrPrefixRegex = /^confirm-/;
@@ -12772,7 +12798,7 @@ const inputRelatedAttrs = [].concat(
12772
12798
  policyPanelAttrs
12773
12799
  );
12774
12800
 
12775
- const BaseInputClass$8 = createBaseInputClass({ componentName: componentName$W, baseSelector: 'div' });
12801
+ const BaseInputClass$8 = createBaseInputClass({ componentName: componentName$X, baseSelector: 'div' });
12776
12802
 
12777
12803
  class NewPasswordInternal extends BaseInputClass$8 {
12778
12804
  static get observedAttributes() {
@@ -13015,16 +13041,16 @@ class NewPasswordInternal extends BaseInputClass$8 {
13015
13041
  }
13016
13042
  }
13017
13043
 
13018
- customElements.define(componentName$W, NewPasswordInternal);
13044
+ customElements.define(componentName$X, NewPasswordInternal);
13019
13045
 
13020
- customElements.define(componentName$U, NewPasswordClass);
13046
+ customElements.define(componentName$V, NewPasswordClass);
13021
13047
 
13022
- const componentName$T = getComponentName('recaptcha');
13048
+ const componentName$U = getComponentName('recaptcha');
13023
13049
 
13024
13050
  const observedAttributes$3 = ['enabled', 'site-key', 'action', 'enterprise'];
13025
13051
 
13026
13052
  const BaseClass$7 = createBaseClass({
13027
- componentName: componentName$T,
13053
+ componentName: componentName$U,
13028
13054
  baseSelector: ':host > div',
13029
13055
  });
13030
13056
  class RawRecaptcha extends BaseClass$7 {
@@ -13249,7 +13275,7 @@ class RawRecaptcha extends BaseClass$7 {
13249
13275
 
13250
13276
  const RecaptchaClass = compose(draggableMixin)(RawRecaptcha);
13251
13277
 
13252
- customElements.define(componentName$T, RecaptchaClass);
13278
+ customElements.define(componentName$U, RecaptchaClass);
13253
13279
 
13254
13280
  const getFileBase64 = (fileObj) =>
13255
13281
  new Promise((resolve) => {
@@ -13260,7 +13286,7 @@ const getFileBase64 = (fileObj) =>
13260
13286
 
13261
13287
  const getFilename = (fileObj) => fileObj.name.replace(/^.*\\/, '');
13262
13288
 
13263
- const componentName$S = getComponentName('upload-file');
13289
+ const componentName$T = getComponentName('upload-file');
13264
13290
 
13265
13291
  const observedAttributes$2 = [
13266
13292
  'title',
@@ -13275,7 +13301,7 @@ const observedAttributes$2 = [
13275
13301
  'icon',
13276
13302
  ];
13277
13303
 
13278
- const BaseInputClass$7 = createBaseInputClass({ componentName: componentName$S, baseSelector: ':host > div' });
13304
+ const BaseInputClass$7 = createBaseInputClass({ componentName: componentName$T, baseSelector: ':host > div' });
13279
13305
 
13280
13306
  class RawUploadFile extends BaseInputClass$7 {
13281
13307
  static get observedAttributes() {
@@ -13494,7 +13520,7 @@ const UploadFileClass = compose(
13494
13520
  componentNameValidationMixin
13495
13521
  )(RawUploadFile);
13496
13522
 
13497
- customElements.define(componentName$S, UploadFileClass);
13523
+ customElements.define(componentName$T, UploadFileClass);
13498
13524
 
13499
13525
  const createBaseButtonSelectionGroupInternalClass = (componentName) => {
13500
13526
  class BaseButtonSelectionGroupInternalClass extends createBaseInputClass({
@@ -13582,10 +13608,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
13582
13608
  return BaseButtonSelectionGroupInternalClass;
13583
13609
  };
13584
13610
 
13585
- const componentName$R = getComponentName('button-selection-group-internal');
13611
+ const componentName$S = getComponentName('button-selection-group-internal');
13586
13612
 
13587
13613
  class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
13588
- componentName$R
13614
+ componentName$S
13589
13615
  ) {
13590
13616
  getSelectedNode() {
13591
13617
  return this.items.find((item) => item.hasAttribute('selected'));
@@ -13828,7 +13854,7 @@ const buttonSelectionGroupStyles = `
13828
13854
  ${resetInputCursor('vaadin-text-field')}
13829
13855
  `;
13830
13856
 
13831
- const componentName$Q = getComponentName('button-selection-group');
13857
+ const componentName$R = getComponentName('button-selection-group');
13832
13858
 
13833
13859
  const buttonSelectionGroupMixin = (superclass) =>
13834
13860
  class ButtonMultiSelectionGroupMixinClass extends superclass {
@@ -13837,19 +13863,19 @@ const buttonSelectionGroupMixin = (superclass) =>
13837
13863
  const template = document.createElement('template');
13838
13864
 
13839
13865
  template.innerHTML = `
13840
- <${componentName$R}
13866
+ <${componentName$S}
13841
13867
  name="button-selection-group"
13842
13868
  slot="input"
13843
13869
  tabindex="-1"
13844
13870
  part="internal-component"
13845
13871
  >
13846
13872
  <slot></slot>
13847
- </${componentName$R}>
13873
+ </${componentName$S}>
13848
13874
  `;
13849
13875
 
13850
13876
  this.baseElement.appendChild(template.content.cloneNode(true));
13851
13877
 
13852
- this.inputElement = this.shadowRoot.querySelector(componentName$R);
13878
+ this.inputElement = this.shadowRoot.querySelector(componentName$S);
13853
13879
 
13854
13880
  forwardAttrs(this, this.inputElement, {
13855
13881
  includeAttrs: ['size', 'default-value', 'allow-deselect'],
@@ -13874,16 +13900,16 @@ const ButtonSelectionGroupClass = compose(
13874
13900
  wrappedEleName: 'vaadin-text-field',
13875
13901
  style: () => buttonSelectionGroupStyles,
13876
13902
  excludeAttrsSync: ['tabindex', 'style'],
13877
- componentName: componentName$Q,
13903
+ componentName: componentName$R,
13878
13904
  })
13879
13905
  );
13880
13906
 
13881
- customElements.define(componentName$R, ButtonSelectionGroupInternalClass);
13907
+ customElements.define(componentName$S, ButtonSelectionGroupInternalClass);
13882
13908
 
13883
- const componentName$P = getComponentName('button-selection-group-item');
13909
+ const componentName$Q = getComponentName('button-selection-group-item');
13884
13910
 
13885
13911
  class RawSelectItem extends createBaseClass({
13886
- componentName: componentName$P,
13912
+ componentName: componentName$Q,
13887
13913
  baseSelector: ':host > descope-button',
13888
13914
  }) {
13889
13915
  get size() {
@@ -13994,14 +14020,14 @@ const ButtonSelectionGroupItemClass = compose(
13994
14020
  componentNameValidationMixin
13995
14021
  )(RawSelectItem);
13996
14022
 
13997
- customElements.define(componentName$P, ButtonSelectionGroupItemClass);
14023
+ customElements.define(componentName$Q, ButtonSelectionGroupItemClass);
13998
14024
 
13999
- customElements.define(componentName$Q, ButtonSelectionGroupClass);
14025
+ customElements.define(componentName$R, ButtonSelectionGroupClass);
14000
14026
 
14001
- const componentName$O = getComponentName('button-multi-selection-group-internal');
14027
+ const componentName$P = getComponentName('button-multi-selection-group-internal');
14002
14028
 
14003
14029
  class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
14004
- componentName$O
14030
+ componentName$P
14005
14031
  ) {
14006
14032
  #getSelectedNodes() {
14007
14033
  return this.items.filter((item) => item.hasAttribute('selected'));
@@ -14103,7 +14129,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
14103
14129
  }
14104
14130
  }
14105
14131
 
14106
- const componentName$N = getComponentName('button-multi-selection-group');
14132
+ const componentName$O = getComponentName('button-multi-selection-group');
14107
14133
 
14108
14134
  const buttonMultiSelectionGroupMixin = (superclass) =>
14109
14135
  class ButtonMultiSelectionGroupMixinClass extends superclass {
@@ -14112,19 +14138,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
14112
14138
  const template = document.createElement('template');
14113
14139
 
14114
14140
  template.innerHTML = `
14115
- <${componentName$O}
14141
+ <${componentName$P}
14116
14142
  name="button-selection-group"
14117
14143
  slot="input"
14118
14144
  tabindex="-1"
14119
14145
  part="internal-component"
14120
14146
  >
14121
14147
  <slot></slot>
14122
- </${componentName$O}>
14148
+ </${componentName$P}>
14123
14149
  `;
14124
14150
 
14125
14151
  this.baseElement.appendChild(template.content.cloneNode(true));
14126
14152
 
14127
- this.inputElement = this.shadowRoot.querySelector(componentName$O);
14153
+ this.inputElement = this.shadowRoot.querySelector(componentName$P);
14128
14154
 
14129
14155
  forwardAttrs(this, this.inputElement, {
14130
14156
  includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
@@ -14149,13 +14175,13 @@ const ButtonMultiSelectionGroupClass = compose(
14149
14175
  wrappedEleName: 'vaadin-text-field',
14150
14176
  style: () => buttonSelectionGroupStyles,
14151
14177
  excludeAttrsSync: ['tabindex', 'style'],
14152
- componentName: componentName$N,
14178
+ componentName: componentName$O,
14153
14179
  })
14154
14180
  );
14155
14181
 
14156
- customElements.define(componentName$O, ButtonMultiSelectionGroupInternalClass);
14182
+ customElements.define(componentName$P, ButtonMultiSelectionGroupInternalClass);
14157
14183
 
14158
- customElements.define(componentName$N, ButtonMultiSelectionGroupClass);
14184
+ customElements.define(componentName$O, ButtonMultiSelectionGroupClass);
14159
14185
 
14160
14186
  class GridTextColumnClass extends GridSortColumn {
14161
14187
  get sortable() {
@@ -14181,9 +14207,9 @@ class GridTextColumnClass extends GridSortColumn {
14181
14207
  }
14182
14208
  }
14183
14209
 
14184
- const componentName$M = getComponentName('grid-text-column');
14210
+ const componentName$N = getComponentName('grid-text-column');
14185
14211
 
14186
- customElements.define(componentName$M, GridTextColumnClass);
14212
+ customElements.define(componentName$N, GridTextColumnClass);
14187
14213
 
14188
14214
  class GridCustomColumnClass extends GridTextColumnClass {
14189
14215
  _defaultRenderer(cell, _col, model) {
@@ -14214,9 +14240,9 @@ class GridCustomColumnClass extends GridTextColumnClass {
14214
14240
  }
14215
14241
  }
14216
14242
 
14217
- const componentName$L = getComponentName('grid-custom-column');
14243
+ const componentName$M = getComponentName('grid-custom-column');
14218
14244
 
14219
- customElements.define(componentName$L, GridCustomColumnClass);
14245
+ customElements.define(componentName$M, GridCustomColumnClass);
14220
14246
 
14221
14247
  const createCheckboxEle = () => {
14222
14248
  const checkbox = document.createElement('descope-checkbox');
@@ -14272,9 +14298,9 @@ class GridSelectionColumnClass extends GridSelectionColumn {
14272
14298
  }
14273
14299
  }
14274
14300
 
14275
- const componentName$K = getComponentName('grid-selection-column');
14301
+ const componentName$L = getComponentName('grid-selection-column');
14276
14302
 
14277
- customElements.define(componentName$K, GridSelectionColumnClass);
14303
+ customElements.define(componentName$L, GridSelectionColumnClass);
14278
14304
 
14279
14305
  class GridItemDetailsColumnClass extends GridSortColumn {
14280
14306
  get sortable() {
@@ -14310,13 +14336,13 @@ class GridItemDetailsColumnClass extends GridSortColumn {
14310
14336
  }
14311
14337
  }
14312
14338
 
14313
- const componentName$J = getComponentName('grid-item-details-column');
14339
+ const componentName$K = getComponentName('grid-item-details-column');
14314
14340
 
14315
- customElements.define(componentName$J, GridItemDetailsColumnClass);
14341
+ customElements.define(componentName$K, GridItemDetailsColumnClass);
14316
14342
 
14317
- customElements.define(componentName$1e, ImageClass);
14343
+ customElements.define(componentName$1f, ImageClass);
14318
14344
 
14319
- customElements.define(componentName$1d, IconClass);
14345
+ customElements.define(componentName$1e, IconClass);
14320
14346
 
14321
14347
  const decode = (input) => {
14322
14348
  const txt = document.createElement('textarea');
@@ -14330,9 +14356,9 @@ var copyIconSrc = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5
14330
14356
 
14331
14357
  var checkIconSrc = "data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iY2hlY2staWNvbiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4KICA8cG9seWxpbmUgcG9pbnRzPSIyMCA2IDkgMTcgNCAxMiI+PC9wb2x5bGluZT4KPC9zdmc+Cg==";
14332
14358
 
14333
- const componentName$I = getComponentName('code-snippet');
14359
+ const componentName$J = getComponentName('code-snippet');
14334
14360
 
14335
- let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$I, baseSelector: ':host > .wrapper' }) {
14361
+ let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$J, baseSelector: ':host > .wrapper' }) {
14336
14362
  static get observedAttributes() {
14337
14363
  return ['lang', 'inline', 'copy-button'];
14338
14364
  }
@@ -14668,7 +14694,7 @@ const CodeSnippetClass = compose(
14668
14694
  componentNameValidationMixin
14669
14695
  )(CodeSnippet$1);
14670
14696
 
14671
- customElements.define(componentName$I, CodeSnippetClass);
14697
+ customElements.define(componentName$J, CodeSnippetClass);
14672
14698
 
14673
14699
  const isValidDataType = (data) => {
14674
14700
  const isValid = Array.isArray(data);
@@ -14756,7 +14782,7 @@ const defaultRowDetailsRenderer = (item, itemLabelsMapping) => `
14756
14782
  </div>
14757
14783
  `;
14758
14784
 
14759
- const componentName$H = getComponentName('grid');
14785
+ const componentName$I = getComponentName('grid');
14760
14786
 
14761
14787
  const GridMixin = (superclass) =>
14762
14788
  class GridMixinClass extends superclass {
@@ -15125,13 +15151,13 @@ const GridClass = compose(
15125
15151
  /*!css*/
15126
15152
  `,
15127
15153
  excludeAttrsSync: ['columns', 'tabindex', 'style'],
15128
- componentName: componentName$H,
15154
+ componentName: componentName$I,
15129
15155
  })
15130
15156
  );
15131
15157
 
15132
- customElements.define(componentName$H, GridClass);
15158
+ customElements.define(componentName$I, GridClass);
15133
15159
 
15134
- const componentName$G = getComponentName('multi-select-combo-box');
15160
+ const componentName$H = getComponentName('multi-select-combo-box');
15135
15161
 
15136
15162
  const multiSelectComboBoxMixin = (superclass) =>
15137
15163
  class MultiSelectComboBoxMixinClass extends superclass {
@@ -15782,14 +15808,14 @@ const MultiSelectComboBoxClass = compose(
15782
15808
  // Note: we exclude `placeholder` because the vaadin component observes it and
15783
15809
  // tries to override it, causing us to lose the user set placeholder.
15784
15810
  excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder', 'style'],
15785
- componentName: componentName$G,
15811
+ componentName: componentName$H,
15786
15812
  includeForwardProps: ['items', 'renderer', 'selectedItems'],
15787
15813
  })
15788
15814
  );
15789
15815
 
15790
- customElements.define(componentName$G, MultiSelectComboBoxClass);
15816
+ customElements.define(componentName$H, MultiSelectComboBoxClass);
15791
15817
 
15792
- const componentName$F = getComponentName('modal');
15818
+ const componentName$G = getComponentName('modal');
15793
15819
 
15794
15820
  const observedAttrs$3 = ['opened'];
15795
15821
 
@@ -15938,11 +15964,11 @@ const ModalClass = compose(
15938
15964
  }
15939
15965
  `,
15940
15966
  excludeAttrsSync: ['tabindex', 'opened', 'style'],
15941
- componentName: componentName$F,
15967
+ componentName: componentName$G,
15942
15968
  })
15943
15969
  );
15944
15970
 
15945
- customElements.define(componentName$F, ModalClass);
15971
+ customElements.define(componentName$G, ModalClass);
15946
15972
 
15947
15973
  const vaadinContainerClass = window.customElements.get('vaadin-notification-container');
15948
15974
 
@@ -15953,7 +15979,7 @@ if (!vaadinContainerClass) {
15953
15979
  class NotificationContainerClass extends vaadinContainerClass {}
15954
15980
  customElements.define(getComponentName('notification-container'), NotificationContainerClass);
15955
15981
 
15956
- const componentName$E = getComponentName('notification-card');
15982
+ const componentName$F = getComponentName('notification-card');
15957
15983
 
15958
15984
  const notificationCardMixin = (superclass) =>
15959
15985
  class NotificationCardMixinClass extends superclass {
@@ -16061,13 +16087,13 @@ const NotificationCardClass = compose(
16061
16087
  }
16062
16088
  `,
16063
16089
  excludeAttrsSync: ['tabindex', 'style'],
16064
- componentName: componentName$E,
16090
+ componentName: componentName$F,
16065
16091
  })
16066
16092
  );
16067
16093
 
16068
- customElements.define(componentName$E, NotificationCardClass);
16094
+ customElements.define(componentName$F, NotificationCardClass);
16069
16095
 
16070
- const componentName$D = getComponentName('notification');
16096
+ const componentName$E = getComponentName('notification');
16071
16097
 
16072
16098
  const NotificationMixin = (superclass) =>
16073
16099
  class NotificationMixinClass extends superclass {
@@ -16160,15 +16186,15 @@ const NotificationClass = compose(
16160
16186
  createProxy({
16161
16187
  wrappedEleName: 'vaadin-notification',
16162
16188
  excludeAttrsSync: ['tabindex', 'style'],
16163
- componentName: componentName$D,
16189
+ componentName: componentName$E,
16164
16190
  })
16165
16191
  );
16166
16192
 
16167
- customElements.define(componentName$D, NotificationClass);
16193
+ customElements.define(componentName$E, NotificationClass);
16168
16194
 
16169
- const componentName$C = getComponentName('mappings-field-internal');
16195
+ const componentName$D = getComponentName('mappings-field-internal');
16170
16196
 
16171
- const BaseInputClass$6 = createBaseInputClass({ componentName: componentName$C, baseSelector: 'div' });
16197
+ const BaseInputClass$6 = createBaseInputClass({ componentName: componentName$D, baseSelector: 'div' });
16172
16198
 
16173
16199
  class MappingsFieldInternal extends BaseInputClass$6 {
16174
16200
  #errorItem;
@@ -16414,7 +16440,7 @@ class MappingsFieldInternal extends BaseInputClass$6 {
16414
16440
  }
16415
16441
  }
16416
16442
 
16417
- const componentName$B = getComponentName('mappings-field');
16443
+ const componentName$C = getComponentName('mappings-field');
16418
16444
 
16419
16445
  const customMixin$7 = (superclass) =>
16420
16446
  class MappingsFieldMixinClass extends superclass {
@@ -16443,14 +16469,14 @@ const customMixin$7 = (superclass) =>
16443
16469
  const template = document.createElement('template');
16444
16470
 
16445
16471
  template.innerHTML = `
16446
- <${componentName$C}
16472
+ <${componentName$D}
16447
16473
  tabindex="-1"
16448
- ></${componentName$C}>
16474
+ ></${componentName$D}>
16449
16475
  `;
16450
16476
 
16451
16477
  this.baseElement.appendChild(template.content.cloneNode(true));
16452
16478
 
16453
- this.inputElement = this.shadowRoot.querySelector(componentName$C);
16479
+ this.inputElement = this.shadowRoot.querySelector(componentName$D);
16454
16480
 
16455
16481
  forwardAttrs(this, this.inputElement, {
16456
16482
  includeAttrs: [
@@ -16586,13 +16612,13 @@ const MappingsFieldClass = compose(
16586
16612
  'error-message',
16587
16613
  'style',
16588
16614
  ],
16589
- componentName: componentName$B,
16615
+ componentName: componentName$C,
16590
16616
  })
16591
16617
  );
16592
16618
 
16593
- customElements.define(componentName$C, MappingsFieldInternal);
16619
+ customElements.define(componentName$D, MappingsFieldInternal);
16594
16620
 
16595
- const componentName$A = getComponentName('mapping-item');
16621
+ const componentName$B = getComponentName('mapping-item');
16596
16622
 
16597
16623
  const inputAttrs = [
16598
16624
  'size',
@@ -16605,7 +16631,7 @@ const inputAttrs = [
16605
16631
  'st-error-message-icon-padding',
16606
16632
  ];
16607
16633
 
16608
- const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$A, baseSelector: 'div' });
16634
+ const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$B, baseSelector: 'div' });
16609
16635
 
16610
16636
  class MappingItem extends BaseInputClass$5 {
16611
16637
  static get observedAttributes() {
@@ -16760,14 +16786,14 @@ class MappingItem extends BaseInputClass$5 {
16760
16786
  }
16761
16787
  }
16762
16788
 
16763
- customElements.define(componentName$A, MappingItem);
16789
+ customElements.define(componentName$B, MappingItem);
16764
16790
 
16765
- customElements.define(componentName$B, MappingsFieldClass);
16791
+ customElements.define(componentName$C, MappingsFieldClass);
16766
16792
 
16767
- const componentName$z = getComponentName$1('badge');
16793
+ const componentName$A = getComponentName$1('badge');
16768
16794
 
16769
16795
  class RawBadge extends createBaseClass$1({
16770
- componentName: componentName$z,
16796
+ componentName: componentName$A,
16771
16797
  baseSelector: ':host > div',
16772
16798
  }) {
16773
16799
  constructor() {
@@ -16785,6 +16811,7 @@ class RawBadge extends createBaseClass$1({
16785
16811
  display: inline-flex;
16786
16812
  }
16787
16813
  :host > div {
16814
+ position: relative;
16788
16815
  width: 100%;
16789
16816
  text-overflow: ellipsis;
16790
16817
  overflow: hidden;
@@ -16800,6 +16827,7 @@ const BadgeClass = compose$1(
16800
16827
  createStyleMixin$1({
16801
16828
  mappings: {
16802
16829
  hostWidth: [{ selector: () => ':host', property: 'width' }],
16830
+ hostHeight: [{ selector: () => ':host', property: 'height' }],
16803
16831
  hostDirection: { property: 'direction' },
16804
16832
 
16805
16833
  fontFamily: {},
@@ -16824,6 +16852,8 @@ const BadgeClass = compose$1(
16824
16852
 
16825
16853
  textColor: { property: 'color' },
16826
16854
  textAlign: {},
16855
+ boxShadow: {},
16856
+ textIndent: {},
16827
16857
  },
16828
16858
  }),
16829
16859
  draggableMixin$1,
@@ -16834,9 +16864,9 @@ var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgi
16834
16864
 
16835
16865
  var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTAuMDAwMiAwLjk5MjE0OUMxMC4wMDAyIDEuMDE2MTUgMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNUw4LjIyNDE5IDMuMDA4MTVIMi45OTIxOUMyLjQ2NDE5IDMuMDA4MTUgMi4wMDgxOSAzLjQ0MDE1IDIuMDA4MTkgMy45OTIxNVYxMi4wMDgyQzIuMDA4MTkgMTIuNTM2MiAyLjQ0MDE5IDEyLjk5MjIgMi45OTIxOSAxMi45OTIySDUuNTM2MTlDNS44NDgxOSAxMy4wNDAyIDYuMTYwMTkgMTMuMDQwMiA2LjQ3MjE5IDEyLjk5MjJIMTEuMDA4MkMxMS41MzYyIDEyLjk5MjIgMTEuOTkyMiAxMi41NjAyIDExLjk5MjIgMTIuMDA4MlY3Ljc4NDE2TDEzLjkzNjIgNS42MjQxNUwxNC4wMDgyIDUuNjcyMTVWMTEuOTg0MkMxNC4wMDgyIDEzLjY2NDIgMTIuNjY0MiAxNS4wMDgyIDExLjAwODIgMTUuMDA4MkgzLjAxNjE5QzEuMzM2MTkgMTUuMDA4MiAtMC4wMDc4MTI1IDEzLjY2NDIgLTAuMDA3ODEyNSAxMS45ODQyVjMuOTkyMTVDLTAuMDA3ODEyNSAyLjMzNjE1IDEuMzM2MTkgMC45OTIxNDkgMy4wMTYxOSAwLjk5MjE0OUgxMC4wMDAyWk0xMS4yNzIyIDIuNjI0MTVMMTIuNjE2MiA0LjExMjE1TDcuNzIwMTkgOS42ODAxNkM3LjUwNDE5IDkuOTIwMTYgNi44MzIxOSAxMC4yMzIyIDUuNjgwMTkgMTAuNjE2MkM1LjY1NjE5IDEwLjY0MDIgNS42MDgxOSAxMC42NDAyIDUuNTYwMTkgMTAuNjE2MkM1LjQ2NDE5IDEwLjU5MjIgNS4zOTIxOSAxMC40NzIyIDUuNDQwMTkgMTAuMzc2MkM1Ljc1MjE5IDkuMjQ4MTYgNi4wNDAxOSA4LjU1MjE2IDYuMjU2MTkgOC4zMTIxNkwxMS4yNzIyIDIuNjI0MTVaTTExLjkyMDIgMS44NTYxNUwxMy4yODgyIDAuMzIwMTQ5QzEzLjY0ODIgLTAuMDg3ODUxNiAxNC4yNzIyIC0wLjExMTg1MiAxNC42ODAyIDAuMjcyMTQ5QzE1LjA4ODIgMC42MzIxNDkgMTUuMTEyMiAxLjI4MDE1IDE0Ljc1MjIgMS42ODgxNUwxMy4yNjQyIDMuMzY4MTVMMTEuOTIwMiAxLjg1NjE1WiIgZmlsbD0iY3VycmVudGNvbG9yIi8+Cjwvc3ZnPgo=";
16836
16866
 
16837
- const componentName$y = getComponentName('user-attribute');
16867
+ const componentName$z = getComponentName('user-attribute');
16838
16868
  class RawUserAttribute extends createBaseClass({
16839
- componentName: componentName$y,
16869
+ componentName: componentName$z,
16840
16870
  baseSelector: ':host > .root',
16841
16871
  }) {
16842
16872
  constructor() {
@@ -17107,15 +17137,15 @@ const UserAttributeClass = compose(
17107
17137
  componentNameValidationMixin
17108
17138
  )(RawUserAttribute);
17109
17139
 
17110
- customElements.define(componentName$z, BadgeClass);
17140
+ customElements.define(componentName$A, BadgeClass);
17111
17141
 
17112
- customElements.define(componentName$y, UserAttributeClass);
17142
+ customElements.define(componentName$z, UserAttributeClass);
17113
17143
 
17114
17144
  var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
17115
17145
 
17116
- const componentName$x = getComponentName('user-auth-method');
17146
+ const componentName$y = getComponentName('user-auth-method');
17117
17147
  class RawUserAuthMethod extends createBaseClass({
17118
- componentName: componentName$x,
17148
+ componentName: componentName$y,
17119
17149
  baseSelector: ':host > .root',
17120
17150
  }) {
17121
17151
  constructor() {
@@ -17366,11 +17396,11 @@ const UserAuthMethodClass = compose(
17366
17396
  componentNameValidationMixin
17367
17397
  )(RawUserAuthMethod);
17368
17398
 
17369
- customElements.define(componentName$x, UserAuthMethodClass);
17399
+ customElements.define(componentName$y, UserAuthMethodClass);
17370
17400
 
17371
- const componentName$w = getComponentName('saml-group-mappings-internal');
17401
+ const componentName$x = getComponentName('saml-group-mappings-internal');
17372
17402
 
17373
- const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$w, baseSelector: '' });
17403
+ const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$x, baseSelector: '' });
17374
17404
 
17375
17405
  class SamlGroupMappingsInternal extends BaseInputClass$4 {
17376
17406
  static get observedAttributes() {
@@ -17496,7 +17526,7 @@ class SamlGroupMappingsInternal extends BaseInputClass$4 {
17496
17526
  }
17497
17527
  }
17498
17528
 
17499
- const componentName$v = getComponentName('saml-group-mappings');
17529
+ const componentName$w = getComponentName('saml-group-mappings');
17500
17530
 
17501
17531
  const customMixin$6 = (superclass) =>
17502
17532
  class SamlGroupMappingsMixinClass extends superclass {
@@ -17506,14 +17536,14 @@ const customMixin$6 = (superclass) =>
17506
17536
  const template = document.createElement('template');
17507
17537
 
17508
17538
  template.innerHTML = `
17509
- <${componentName$w}
17539
+ <${componentName$x}
17510
17540
  tabindex="-1"
17511
- ></${componentName$w}>
17541
+ ></${componentName$x}>
17512
17542
  `;
17513
17543
 
17514
17544
  this.baseElement.appendChild(template.content.cloneNode(true));
17515
17545
 
17516
- this.inputElement = this.shadowRoot.querySelector(componentName$w);
17546
+ this.inputElement = this.shadowRoot.querySelector(componentName$x);
17517
17547
 
17518
17548
  forwardAttrs(this, this.inputElement, {
17519
17549
  includeAttrs: [
@@ -17598,15 +17628,15 @@ const SamlGroupMappingsClass = compose(
17598
17628
  'error-message',
17599
17629
  'style',
17600
17630
  ],
17601
- componentName: componentName$v,
17631
+ componentName: componentName$w,
17602
17632
  })
17603
17633
  );
17604
17634
 
17605
- customElements.define(componentName$w, SamlGroupMappingsInternal);
17635
+ customElements.define(componentName$x, SamlGroupMappingsInternal);
17606
17636
 
17607
- customElements.define(componentName$v, SamlGroupMappingsClass);
17637
+ customElements.define(componentName$w, SamlGroupMappingsClass);
17608
17638
 
17609
- const componentName$u = getComponentName('radio-button');
17639
+ const componentName$v = getComponentName('radio-button');
17610
17640
 
17611
17641
  const customMixin$5 = (superclass) =>
17612
17642
  class CustomMixin extends superclass {
@@ -17671,11 +17701,11 @@ const RadioButtonClass = compose(
17671
17701
  wrappedEleName: 'vaadin-radio-button',
17672
17702
  excludeAttrsSync: ['tabindex', 'data', 'style'],
17673
17703
  includeForwardProps: ['checked', 'name', 'disabled'],
17674
- componentName: componentName$u,
17704
+ componentName: componentName$v,
17675
17705
  })
17676
17706
  );
17677
17707
 
17678
- const componentName$t = getComponentName('radio-group');
17708
+ const componentName$u = getComponentName('radio-group');
17679
17709
 
17680
17710
  const RadioGroupMixin = (superclass) =>
17681
17711
  class RadioGroupMixinClass extends superclass {
@@ -17689,12 +17719,12 @@ const RadioGroupMixin = (superclass) =>
17689
17719
 
17690
17720
  // we are overriding vaadin children getter so it will run on our custom elements
17691
17721
  Object.defineProperty(this.baseElement, 'children', {
17692
- get: () => this.querySelectorAll(componentName$u),
17722
+ get: () => this.querySelectorAll(componentName$v),
17693
17723
  });
17694
17724
 
17695
17725
  // we are overriding vaadin __filterRadioButtons so it will run on our custom elements
17696
17726
  this.baseElement.__filterRadioButtons = (nodes) =>
17697
- nodes.filter((node) => node.localName === componentName$u);
17727
+ nodes.filter((node) => node.localName === componentName$v);
17698
17728
 
17699
17729
  // vaadin radio group missing some input properties
17700
17730
  this.baseElement.setCustomValidity = () => {};
@@ -17840,13 +17870,13 @@ const RadioGroupClass = compose(
17840
17870
  `,
17841
17871
 
17842
17872
  excludeAttrsSync: ['tabindex', 'size', 'data', 'direction', 'style'],
17843
- componentName: componentName$t,
17873
+ componentName: componentName$u,
17844
17874
  includeForwardProps: ['value'],
17845
17875
  })
17846
17876
  );
17847
17877
 
17848
- customElements.define(componentName$t, RadioGroupClass);
17849
- customElements.define(componentName$u, RadioButtonClass);
17878
+ customElements.define(componentName$u, RadioGroupClass);
17879
+ customElements.define(componentName$v, RadioButtonClass);
17850
17880
 
17851
17881
  const defaultValidateSchema = () => true;
17852
17882
  const defaultItemRenderer = (item) => `<pre>${JSON.stringify(item, null, 4)}</pre>`;
@@ -17946,7 +17976,7 @@ const createDynamicDataMixin =
17946
17976
  }
17947
17977
  };
17948
17978
 
17949
- const componentName$s = getComponentName('scopes-list');
17979
+ const componentName$t = getComponentName('scopes-list');
17950
17980
  const variants = ['checkbox', 'switch'];
17951
17981
 
17952
17982
  const itemRenderer$4 = ({ id, desc, required = false }, _, ref) => {
@@ -17965,7 +17995,7 @@ const itemRenderer$4 = ({ id, desc, required = false }, _, ref) => {
17965
17995
  `;
17966
17996
  };
17967
17997
 
17968
- class RawScopesList extends createBaseClass({ componentName: componentName$s, baseSelector: 'div' }) {
17998
+ class RawScopesList extends createBaseClass({ componentName: componentName$t, baseSelector: 'div' }) {
17969
17999
  constructor() {
17970
18000
  super();
17971
18001
 
@@ -18070,7 +18100,7 @@ const ScopesListClass = compose(
18070
18100
  componentNameValidationMixin
18071
18101
  )(RawScopesList);
18072
18102
 
18073
- const componentName$r = getComponentName$1('list-item');
18103
+ const componentName$s = getComponentName$1('list-item');
18074
18104
 
18075
18105
  const customMixin$4 = (superclass) =>
18076
18106
  class ListItemMixinClass extends superclass {
@@ -18127,14 +18157,14 @@ const ListItemClass = compose$1(
18127
18157
  componentNameValidationMixin$1,
18128
18158
  customMixin$4,
18129
18159
  activeableMixin,
18130
- )(createBaseClass$1({ componentName: componentName$r, baseSelector: 'slot' }));
18160
+ )(createBaseClass$1({ componentName: componentName$s, baseSelector: 'slot' }));
18131
18161
 
18132
- customElements.define(componentName$r, ListItemClass);
18162
+ customElements.define(componentName$s, ListItemClass);
18133
18163
 
18134
- const componentName$q = getComponentName$1('list');
18164
+ const componentName$r = getComponentName$1('list');
18135
18165
 
18136
18166
  class RawList extends createBaseClass$1({
18137
- componentName: componentName$q,
18167
+ componentName: componentName$r,
18138
18168
  baseSelector: '.wrapper',
18139
18169
  }) {
18140
18170
  static get observedAttributes() {
@@ -18305,15 +18335,15 @@ const ListClass = compose$1(
18305
18335
  componentNameValidationMixin$1,
18306
18336
  )(RawList);
18307
18337
 
18308
- customElements.define(componentName$q, ListClass);
18338
+ customElements.define(componentName$r, ListClass);
18309
18339
 
18310
- customElements.define(componentName$s, ScopesListClass);
18340
+ customElements.define(componentName$t, ScopesListClass);
18311
18341
 
18312
18342
  var arrowsImg = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuMTQ0OTIgMTUuNjQ1TDcuNDk5OTIgMTRMMi44MzMyNSAxOC42NjY3TDcuNDk5OTIgMjMuMzMzM0w5LjE0NDkyIDIxLjY4ODNMNy4zMDE1OSAxOS44MzMzSDI0Ljk5OTlWMTcuNUg3LjMwMTU5TDkuMTQ0OTIgMTUuNjQ1WiIgZmlsbD0iIzYzNkM3NCIvPgo8cGF0aCBkPSJNMTkuODU1IDEyLjM1NTNMMjEuNSAxNC4wMDAzTDI2LjE2NjcgOS4zMzM2NkwyMS41IDQuNjY2OTlMMTkuODU1IDYuMzExOTlMMjEuNjk4MyA4LjE2Njk5SDRWMTAuNTAwM0gyMS42OTgzTDE5Ljg1NSAxMi4zNTUzWiIgZmlsbD0iIzYzNkM3NCIvPgo8L3N2Zz4K";
18313
18343
 
18314
- const componentName$p = getComponentName('third-party-app-logo');
18344
+ const componentName$q = getComponentName('third-party-app-logo');
18315
18345
  class RawThirdPartyAppLogoClass extends createBaseClass({
18316
- componentName: componentName$p,
18346
+ componentName: componentName$q,
18317
18347
  baseSelector: '.wrapper',
18318
18348
  }) {
18319
18349
  constructor() {
@@ -18410,9 +18440,9 @@ const ThirdPartyAppLogoClass = compose(
18410
18440
  componentNameValidationMixin
18411
18441
  )(RawThirdPartyAppLogoClass);
18412
18442
 
18413
- customElements.define(componentName$p, ThirdPartyAppLogoClass);
18443
+ customElements.define(componentName$q, ThirdPartyAppLogoClass);
18414
18444
 
18415
- const componentName$o = getComponentName('security-questions-setup');
18445
+ const componentName$p = getComponentName('security-questions-setup');
18416
18446
 
18417
18447
  const attrsToSync$1 = [
18418
18448
  'full-width',
@@ -18431,7 +18461,7 @@ const attrsToSync$1 = [
18431
18461
  ];
18432
18462
 
18433
18463
  const attrsToReRender$1 = ['count', 'questions'];
18434
- class RawSecurityQuestionsSetup extends createBaseClass({ componentName: componentName$o, baseSelector: 'div' }) {
18464
+ class RawSecurityQuestionsSetup extends createBaseClass({ componentName: componentName$p, baseSelector: 'div' }) {
18435
18465
  constructor() {
18436
18466
  super();
18437
18467
 
@@ -18539,7 +18569,7 @@ class RawSecurityQuestionsSetup extends createBaseClass({ componentName: compone
18539
18569
  return JSON.parse(this.getAttribute('questions')) || [];
18540
18570
  } catch (e) {
18541
18571
  // eslint-disable-next-line no-console
18542
- console.error(componentName$o, 'Error parsing questions attribute', e);
18572
+ console.error(componentName$p, 'Error parsing questions attribute', e);
18543
18573
  return [];
18544
18574
  }
18545
18575
  }
@@ -18646,9 +18676,9 @@ const SecurityQuestionsSetupClass = compose(
18646
18676
  componentNameValidationMixin
18647
18677
  )(RawSecurityQuestionsSetup);
18648
18678
 
18649
- customElements.define(componentName$o, SecurityQuestionsSetupClass);
18679
+ customElements.define(componentName$p, SecurityQuestionsSetupClass);
18650
18680
 
18651
- const componentName$n = getComponentName('security-questions-verify');
18681
+ const componentName$o = getComponentName('security-questions-verify');
18652
18682
 
18653
18683
  const textFieldsAttrs = [
18654
18684
  'full-width',
@@ -18672,7 +18702,7 @@ const attrMappings = {
18672
18702
  const attrsToSync = [...textFieldsAttrs, ...textsAttrs];
18673
18703
 
18674
18704
  const attrsToReRender = ['questions'];
18675
- class RawSecurityQuestionsVerify extends createBaseClass({ componentName: componentName$n, baseSelector: 'div' }) {
18705
+ class RawSecurityQuestionsVerify extends createBaseClass({ componentName: componentName$o, baseSelector: 'div' }) {
18676
18706
  constructor() {
18677
18707
  super();
18678
18708
 
@@ -18746,7 +18776,7 @@ class RawSecurityQuestionsVerify extends createBaseClass({ componentName: compon
18746
18776
  return JSON.parse(this.getAttribute('questions')) || [];
18747
18777
  } catch (e) {
18748
18778
  // eslint-disable-next-line no-console
18749
- console.error(componentName$n, 'Error parsing questions attribute', e);
18779
+ console.error(componentName$o, 'Error parsing questions attribute', e);
18750
18780
  return [];
18751
18781
  }
18752
18782
  }
@@ -18880,7 +18910,7 @@ const SecurityQuestionsVerifyClass = compose(
18880
18910
  componentNameValidationMixin
18881
18911
  )(RawSecurityQuestionsVerify);
18882
18912
 
18883
- customElements.define(componentName$n, SecurityQuestionsVerifyClass);
18913
+ customElements.define(componentName$o, SecurityQuestionsVerifyClass);
18884
18914
 
18885
18915
  // Matches any character that is not a digit, whitespace, or phone formatting character (+, -, (, ))
18886
18916
  const INVALID_PHONE_CHARS_RE = /[^\d\s+\-()]/;
@@ -18889,7 +18919,7 @@ const isNumericValue = (val) => !!val && !INVALID_PHONE_CHARS_RE.test(val);
18889
18919
 
18890
18920
  const sanitizeCountryCodePrefix = (val) => val.replace(/\+\d+-/, '');
18891
18921
 
18892
- const componentName$m = getComponentName('hybrid-field');
18922
+ const componentName$n = getComponentName('hybrid-field');
18893
18923
 
18894
18924
  const attrs = {
18895
18925
  shared: [
@@ -18954,7 +18984,7 @@ const PHONE_FIELD = 'descope-phone-field';
18954
18984
  const PHONE_INPUT_BOX_FIELD = 'descope-phone-input-box-field';
18955
18985
 
18956
18986
  const BaseClass$6 = createBaseClass({
18957
- componentName: componentName$m,
18987
+ componentName: componentName$n,
18958
18988
  baseSelector: 'div',
18959
18989
  });
18960
18990
 
@@ -19286,11 +19316,11 @@ const HybridFieldClass = compose(
19286
19316
  componentNameValidationMixin
19287
19317
  )(RawHybridField);
19288
19318
 
19289
- customElements.define(componentName$m, HybridFieldClass);
19319
+ customElements.define(componentName$n, HybridFieldClass);
19290
19320
 
19291
- const componentName$l = getComponentName('alert');
19321
+ const componentName$m = getComponentName('alert');
19292
19322
 
19293
- class RawAlert extends createBaseClass({ componentName: componentName$l, baseSelector: ':host > div' }) {
19323
+ class RawAlert extends createBaseClass({ componentName: componentName$m, baseSelector: ':host > div' }) {
19294
19324
  constructor() {
19295
19325
  super();
19296
19326
 
@@ -19411,13 +19441,13 @@ const AlertClass = compose(
19411
19441
  componentNameValidationMixin
19412
19442
  )(RawAlert);
19413
19443
 
19414
- customElements.define(componentName$l, AlertClass);
19444
+ customElements.define(componentName$m, AlertClass);
19415
19445
 
19416
- const componentName$k = getComponentName('hcaptcha');
19446
+ const componentName$l = getComponentName('hcaptcha');
19417
19447
 
19418
19448
  const observedAttributes$1 = ['enabled', 'site-key'];
19419
19449
 
19420
- const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$k, baseSelector: ':host > div' });
19450
+ const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$l, baseSelector: ':host > div' });
19421
19451
  class RawHcaptcha extends BaseInputClass$3 {
19422
19452
  static get observedAttributes() {
19423
19453
  return observedAttributes$1.concat(BaseInputClass$3.observedAttributes || []);
@@ -19545,7 +19575,7 @@ const HcaptchaClass = compose(
19545
19575
  componentNameValidationMixin
19546
19576
  )(RawHcaptcha);
19547
19577
 
19548
- customElements.define(componentName$k, HcaptchaClass);
19578
+ customElements.define(componentName$l, HcaptchaClass);
19549
19579
 
19550
19580
  const direction$1 = 'ltr';
19551
19581
 
@@ -19729,7 +19759,7 @@ const globals$1 = {
19729
19759
  fonts: fonts$1,
19730
19760
  direction: direction$1,
19731
19761
  };
19732
- const vars$15 = getThemeVars(globals$1);
19762
+ const vars$16 = getThemeVars(globals$1);
19733
19763
 
19734
19764
  const direction = 'ltr';
19735
19765
 
@@ -19926,10 +19956,10 @@ const mode = {
19926
19956
  surface: globalRefs$H.colors.surface,
19927
19957
  };
19928
19958
 
19929
- const [helperTheme$6, helperRefs$6, helperVars$6] = createHelperVars$1({ mode }, componentName$1c);
19959
+ const [helperTheme$7, helperRefs$7, helperVars$6] = createHelperVars$1({ mode }, componentName$1d);
19930
19960
 
19931
19961
  const button = {
19932
- ...helperTheme$6,
19962
+ ...helperTheme$7,
19933
19963
 
19934
19964
  [compVars$9.fontFamily]: globalRefs$H.fonts.font1.family,
19935
19965
 
@@ -19981,7 +20011,7 @@ const button = {
19981
20011
 
19982
20012
  _loading: {
19983
20013
  [compVars$9.cursor]: 'wait',
19984
- [compVars$9.labelTextColor]: helperRefs$6.main,
20014
+ [compVars$9.labelTextColor]: helperRefs$7.main,
19985
20015
  },
19986
20016
 
19987
20017
  _disabled: {
@@ -19994,51 +20024,51 @@ const button = {
19994
20024
 
19995
20025
  variant: {
19996
20026
  contained: {
19997
- [compVars$9.labelTextColor]: helperRefs$6.contrast,
19998
- [compVars$9.backgroundColor]: helperRefs$6.main,
20027
+ [compVars$9.labelTextColor]: helperRefs$7.contrast,
20028
+ [compVars$9.backgroundColor]: helperRefs$7.main,
19999
20029
  _hover: {
20000
- [compVars$9.backgroundColor]: helperRefs$6.dark,
20030
+ [compVars$9.backgroundColor]: helperRefs$7.dark,
20001
20031
  _loading: {
20002
- [compVars$9.backgroundColor]: helperRefs$6.main,
20032
+ [compVars$9.backgroundColor]: helperRefs$7.main,
20003
20033
  },
20004
20034
  },
20005
20035
  _active: {
20006
- [compVars$9.backgroundColor]: helperRefs$6.main,
20036
+ [compVars$9.backgroundColor]: helperRefs$7.main,
20007
20037
  },
20008
20038
  },
20009
20039
 
20010
20040
  outline: {
20011
- [compVars$9.labelTextColor]: helperRefs$6.main,
20012
- [compVars$9.borderColor]: helperRefs$6.main,
20041
+ [compVars$9.labelTextColor]: helperRefs$7.main,
20042
+ [compVars$9.borderColor]: helperRefs$7.main,
20013
20043
  _hover: {
20014
- [compVars$9.labelTextColor]: helperRefs$6.dark,
20015
- [compVars$9.borderColor]: helperRefs$6.dark,
20044
+ [compVars$9.labelTextColor]: helperRefs$7.dark,
20045
+ [compVars$9.borderColor]: helperRefs$7.dark,
20016
20046
  },
20017
20047
  _active: {
20018
- [compVars$9.labelTextColor]: helperRefs$6.main,
20019
- [compVars$9.borderColor]: helperRefs$6.main,
20048
+ [compVars$9.labelTextColor]: helperRefs$7.main,
20049
+ [compVars$9.borderColor]: helperRefs$7.main,
20020
20050
  },
20021
20051
  },
20022
20052
 
20023
20053
  link: {
20024
- [compVars$9.labelTextColor]: helperRefs$6.main,
20054
+ [compVars$9.labelTextColor]: helperRefs$7.main,
20025
20055
  [compVars$9.horizontalPadding]: '0.125em',
20026
20056
  _hover: {
20027
- [compVars$9.labelTextColor]: helperRefs$6.dark,
20057
+ [compVars$9.labelTextColor]: helperRefs$7.dark,
20028
20058
  [compVars$9.labelTextDecoration]: 'underline',
20029
20059
  },
20030
20060
  _active: {
20031
- [compVars$9.labelTextColor]: helperRefs$6.main,
20061
+ [compVars$9.labelTextColor]: helperRefs$7.main,
20032
20062
  },
20033
20063
  },
20034
20064
  },
20035
20065
 
20036
20066
  _focused: {
20037
- [compVars$9.outlineColor]: helperRefs$6.light,
20067
+ [compVars$9.outlineColor]: helperRefs$7.light,
20038
20068
  },
20039
20069
  };
20040
20070
 
20041
- const vars$14 = {
20071
+ const vars$15 = {
20042
20072
  ...compVars$9,
20043
20073
  ...helperVars$6,
20044
20074
  };
@@ -20046,138 +20076,138 @@ const vars$14 = {
20046
20076
  var button$1 = /*#__PURE__*/Object.freeze({
20047
20077
  __proto__: null,
20048
20078
  default: button,
20049
- vars: vars$14
20079
+ vars: vars$15
20050
20080
  });
20051
20081
 
20052
20082
  const globalRefs$G = getThemeRefs$1(globals);
20053
- const vars$13 = TextClass.cssVarList;
20083
+ const vars$14 = TextClass.cssVarList;
20054
20084
 
20055
20085
  const text$1 = {
20056
- [vars$13.hostDirection]: globalRefs$G.direction,
20057
- [vars$13.textLineHeight]: '1.35em',
20058
- [vars$13.textAlign]: 'start',
20059
- [vars$13.textColor]: globalRefs$G.colors.surface.dark,
20086
+ [vars$14.hostDirection]: globalRefs$G.direction,
20087
+ [vars$14.textLineHeight]: '1.35em',
20088
+ [vars$14.textAlign]: 'start',
20089
+ [vars$14.textColor]: globalRefs$G.colors.surface.dark,
20060
20090
 
20061
20091
  variant: {
20062
20092
  h1: {
20063
- [vars$13.fontSize]: globalRefs$G.typography.h1.size,
20064
- [vars$13.fontWeight]: globalRefs$G.typography.h1.weight,
20065
- [vars$13.fontFamily]: globalRefs$G.typography.h1.font,
20093
+ [vars$14.fontSize]: globalRefs$G.typography.h1.size,
20094
+ [vars$14.fontWeight]: globalRefs$G.typography.h1.weight,
20095
+ [vars$14.fontFamily]: globalRefs$G.typography.h1.font,
20066
20096
  },
20067
20097
  h2: {
20068
- [vars$13.fontSize]: globalRefs$G.typography.h2.size,
20069
- [vars$13.fontWeight]: globalRefs$G.typography.h2.weight,
20070
- [vars$13.fontFamily]: globalRefs$G.typography.h2.font,
20098
+ [vars$14.fontSize]: globalRefs$G.typography.h2.size,
20099
+ [vars$14.fontWeight]: globalRefs$G.typography.h2.weight,
20100
+ [vars$14.fontFamily]: globalRefs$G.typography.h2.font,
20071
20101
  },
20072
20102
  h3: {
20073
- [vars$13.fontSize]: globalRefs$G.typography.h3.size,
20074
- [vars$13.fontWeight]: globalRefs$G.typography.h3.weight,
20075
- [vars$13.fontFamily]: globalRefs$G.typography.h3.font,
20103
+ [vars$14.fontSize]: globalRefs$G.typography.h3.size,
20104
+ [vars$14.fontWeight]: globalRefs$G.typography.h3.weight,
20105
+ [vars$14.fontFamily]: globalRefs$G.typography.h3.font,
20076
20106
  },
20077
20107
  subtitle1: {
20078
- [vars$13.fontSize]: globalRefs$G.typography.subtitle1.size,
20079
- [vars$13.fontWeight]: globalRefs$G.typography.subtitle1.weight,
20080
- [vars$13.fontFamily]: globalRefs$G.typography.subtitle1.font,
20108
+ [vars$14.fontSize]: globalRefs$G.typography.subtitle1.size,
20109
+ [vars$14.fontWeight]: globalRefs$G.typography.subtitle1.weight,
20110
+ [vars$14.fontFamily]: globalRefs$G.typography.subtitle1.font,
20081
20111
  },
20082
20112
  subtitle2: {
20083
- [vars$13.fontSize]: globalRefs$G.typography.subtitle2.size,
20084
- [vars$13.fontWeight]: globalRefs$G.typography.subtitle2.weight,
20085
- [vars$13.fontFamily]: globalRefs$G.typography.subtitle2.font,
20113
+ [vars$14.fontSize]: globalRefs$G.typography.subtitle2.size,
20114
+ [vars$14.fontWeight]: globalRefs$G.typography.subtitle2.weight,
20115
+ [vars$14.fontFamily]: globalRefs$G.typography.subtitle2.font,
20086
20116
  },
20087
20117
  body1: {
20088
- [vars$13.fontSize]: globalRefs$G.typography.body1.size,
20089
- [vars$13.fontWeight]: globalRefs$G.typography.body1.weight,
20090
- [vars$13.fontFamily]: globalRefs$G.typography.body1.font,
20118
+ [vars$14.fontSize]: globalRefs$G.typography.body1.size,
20119
+ [vars$14.fontWeight]: globalRefs$G.typography.body1.weight,
20120
+ [vars$14.fontFamily]: globalRefs$G.typography.body1.font,
20091
20121
  },
20092
20122
  body2: {
20093
- [vars$13.fontSize]: globalRefs$G.typography.body2.size,
20094
- [vars$13.fontWeight]: globalRefs$G.typography.body2.weight,
20095
- [vars$13.fontFamily]: globalRefs$G.typography.body2.font,
20123
+ [vars$14.fontSize]: globalRefs$G.typography.body2.size,
20124
+ [vars$14.fontWeight]: globalRefs$G.typography.body2.weight,
20125
+ [vars$14.fontFamily]: globalRefs$G.typography.body2.font,
20096
20126
  },
20097
20127
  },
20098
20128
 
20099
20129
  mode: {
20100
20130
  primary: {
20101
- [vars$13.textColor]: globalRefs$G.colors.surface.contrast,
20131
+ [vars$14.textColor]: globalRefs$G.colors.surface.contrast,
20102
20132
  },
20103
20133
  secondary: {
20104
- [vars$13.textColor]: globalRefs$G.colors.surface.dark,
20134
+ [vars$14.textColor]: globalRefs$G.colors.surface.dark,
20105
20135
  },
20106
20136
  error: {
20107
- [vars$13.textColor]: globalRefs$G.colors.error.main,
20137
+ [vars$14.textColor]: globalRefs$G.colors.error.main,
20108
20138
  },
20109
20139
  'error-dark': {
20110
- [vars$13.textColor]: globalRefs$G.colors.error.dark,
20140
+ [vars$14.textColor]: globalRefs$G.colors.error.dark,
20111
20141
  },
20112
20142
  success: {
20113
- [vars$13.textColor]: globalRefs$G.colors.success.main,
20143
+ [vars$14.textColor]: globalRefs$G.colors.success.main,
20114
20144
  },
20115
20145
  'success-dark': {
20116
- [vars$13.textColor]: globalRefs$G.colors.success.dark,
20146
+ [vars$14.textColor]: globalRefs$G.colors.success.dark,
20117
20147
  },
20118
20148
  warning: {
20119
- [vars$13.textColor]: globalRefs$G.colors.warning.main,
20149
+ [vars$14.textColor]: globalRefs$G.colors.warning.main,
20120
20150
  },
20121
20151
  'warning-dark': {
20122
- [vars$13.textColor]: globalRefs$G.colors.warning.dark,
20152
+ [vars$14.textColor]: globalRefs$G.colors.warning.dark,
20123
20153
  },
20124
20154
  },
20125
20155
 
20126
20156
  textAlign: {
20127
- right: { [vars$13.textAlign]: 'right' },
20128
- left: { [vars$13.textAlign]: 'left' },
20129
- center: { [vars$13.textAlign]: 'center' },
20157
+ right: { [vars$14.textAlign]: 'right' },
20158
+ left: { [vars$14.textAlign]: 'left' },
20159
+ center: { [vars$14.textAlign]: 'center' },
20130
20160
  },
20131
20161
 
20132
20162
  _fullWidth: {
20133
- [vars$13.hostWidth]: '100%',
20163
+ [vars$14.hostWidth]: '100%',
20134
20164
  },
20135
20165
 
20136
20166
  _italic: {
20137
- [vars$13.fontStyle]: 'italic',
20167
+ [vars$14.fontStyle]: 'italic',
20138
20168
  },
20139
20169
 
20140
20170
  _uppercase: {
20141
- [vars$13.textTransform]: 'uppercase',
20171
+ [vars$14.textTransform]: 'uppercase',
20142
20172
  },
20143
20173
 
20144
20174
  _lowercase: {
20145
- [vars$13.textTransform]: 'lowercase',
20175
+ [vars$14.textTransform]: 'lowercase',
20146
20176
  },
20147
20177
  };
20148
20178
 
20149
20179
  var text$2 = /*#__PURE__*/Object.freeze({
20150
20180
  __proto__: null,
20151
20181
  default: text$1,
20152
- vars: vars$13
20182
+ vars: vars$14
20153
20183
  });
20154
20184
 
20155
20185
  const globalRefs$F = getThemeRefs$1(globals);
20156
- const vars$12 = LinkClass.cssVarList;
20186
+ const vars$13 = LinkClass.cssVarList;
20157
20187
 
20158
20188
  const link = {
20159
- [vars$12.hostDirection]: globalRefs$F.direction,
20160
- [vars$12.cursor]: 'pointer',
20189
+ [vars$13.hostDirection]: globalRefs$F.direction,
20190
+ [vars$13.cursor]: 'pointer',
20161
20191
 
20162
- [vars$12.textColor]: globalRefs$F.colors.primary.main,
20192
+ [vars$13.textColor]: globalRefs$F.colors.primary.main,
20163
20193
 
20164
20194
  textAlign: {
20165
- right: { [vars$12.textAlign]: 'right' },
20166
- left: { [vars$12.textAlign]: 'left' },
20167
- center: { [vars$12.textAlign]: 'center' },
20195
+ right: { [vars$13.textAlign]: 'right' },
20196
+ left: { [vars$13.textAlign]: 'left' },
20197
+ center: { [vars$13.textAlign]: 'center' },
20168
20198
  },
20169
20199
 
20170
20200
  _fullWidth: {
20171
- [vars$12.hostWidth]: '100%',
20201
+ [vars$13.hostWidth]: '100%',
20172
20202
  },
20173
20203
 
20174
20204
  _hover: {
20175
- [vars$12.textDecoration]: 'underline',
20205
+ [vars$13.textDecoration]: 'underline',
20176
20206
  },
20177
20207
 
20178
20208
  mode: {
20179
20209
  secondary: {
20180
- [vars$12.textColor]: globalRefs$F.colors.secondary.main,
20210
+ [vars$13.textColor]: globalRefs$F.colors.secondary.main,
20181
20211
  },
20182
20212
  },
20183
20213
  };
@@ -20185,37 +20215,37 @@ const link = {
20185
20215
  var link$1 = /*#__PURE__*/Object.freeze({
20186
20216
  __proto__: null,
20187
20217
  default: link,
20188
- vars: vars$12
20218
+ vars: vars$13
20189
20219
  });
20190
20220
 
20191
20221
  const globalRefs$E = getThemeRefs$1(globals);
20192
- const vars$11 = EnrichedTextClass.cssVarList;
20222
+ const vars$12 = EnrichedTextClass.cssVarList;
20193
20223
 
20194
20224
  const enrichedText = {
20195
- [vars$11.hostDirection]: globalRefs$E.direction,
20196
- [vars$11.hostWidth]: useVar$1(vars$13.hostWidth),
20225
+ [vars$12.hostDirection]: globalRefs$E.direction,
20226
+ [vars$12.hostWidth]: useVar$1(vars$14.hostWidth),
20197
20227
 
20198
- [vars$11.textLineHeight]: useVar$1(vars$13.textLineHeight),
20199
- [vars$11.textColor]: useVar$1(vars$13.textColor),
20200
- [vars$11.textAlign]: useVar$1(vars$13.textAlign),
20228
+ [vars$12.textLineHeight]: useVar$1(vars$14.textLineHeight),
20229
+ [vars$12.textColor]: useVar$1(vars$14.textColor),
20230
+ [vars$12.textAlign]: useVar$1(vars$14.textAlign),
20201
20231
 
20202
- [vars$11.fontSize]: useVar$1(vars$13.fontSize),
20203
- [vars$11.fontWeight]: useVar$1(vars$13.fontWeight),
20204
- [vars$11.fontFamily]: useVar$1(vars$13.fontFamily),
20232
+ [vars$12.fontSize]: useVar$1(vars$14.fontSize),
20233
+ [vars$12.fontWeight]: useVar$1(vars$14.fontWeight),
20234
+ [vars$12.fontFamily]: useVar$1(vars$14.fontFamily),
20205
20235
 
20206
- [vars$11.linkColor]: useVar$1(vars$12.textColor),
20207
- [vars$11.linkTextDecoration]: 'none',
20208
- [vars$11.linkHoverTextDecoration]: 'underline',
20236
+ [vars$12.linkColor]: useVar$1(vars$13.textColor),
20237
+ [vars$12.linkTextDecoration]: 'none',
20238
+ [vars$12.linkHoverTextDecoration]: 'underline',
20209
20239
 
20210
- [vars$11.fontWeightBold]: '900',
20211
- [vars$11.minWidth]: '0.25em',
20212
- [vars$11.minHeight]: '1.35em',
20240
+ [vars$12.fontWeightBold]: '900',
20241
+ [vars$12.minWidth]: '0.25em',
20242
+ [vars$12.minHeight]: '1.35em',
20213
20243
 
20214
- [vars$11.hostDisplay]: 'inline-block',
20244
+ [vars$12.hostDisplay]: 'inline-block',
20215
20245
 
20216
20246
  _empty: {
20217
20247
  _hideWhenEmpty: {
20218
- [vars$11.hostDisplay]: 'none',
20248
+ [vars$12.hostDisplay]: 'none',
20219
20249
  },
20220
20250
  },
20221
20251
  };
@@ -20223,10 +20253,10 @@ const enrichedText = {
20223
20253
  var enrichedText$1 = /*#__PURE__*/Object.freeze({
20224
20254
  __proto__: null,
20225
20255
  default: enrichedText,
20226
- vars: vars$11
20256
+ vars: vars$12
20227
20257
  });
20228
20258
 
20229
- const componentName$j = getComponentName$1('input-wrapper');
20259
+ const componentName$k = getComponentName$1('input-wrapper');
20230
20260
  const globalRefs$D = getThemeRefs$1(globals);
20231
20261
 
20232
20262
  const [theme$2, refs$1] = createHelperVars$1(
@@ -20349,103 +20379,103 @@ const [theme$2, refs$1] = createHelperVars$1(
20349
20379
  backgroundColor: globalRefs$D.colors.surface.main,
20350
20380
  },
20351
20381
  },
20352
- componentName$j,
20382
+ componentName$k,
20353
20383
  );
20354
20384
 
20355
20385
  const globalRefs$C = getThemeRefs$1(globals);
20356
- const vars$10 = ComboBoxClass.cssVarList;
20386
+ const vars$11 = ComboBoxClass.cssVarList;
20357
20387
 
20358
20388
  const comboBox = {
20359
- [vars$10.hostWidth]: refs$1.width,
20360
- [vars$10.hostDirection]: refs$1.direction,
20361
- [vars$10.fontSize]: refs$1.fontSize,
20362
- [vars$10.fontFamily]: refs$1.fontFamily,
20363
- [vars$10.labelFontSize]: refs$1.labelFontSize,
20364
- [vars$10.labelFontWeight]: refs$1.labelFontWeight,
20365
- [vars$10.labelTextColor]: refs$1.labelTextColor,
20366
- [vars$10.errorMessageTextColor]: refs$1.errorMessageTextColor,
20367
- [vars$10.inputBorderColor]: refs$1.borderColor,
20368
- [vars$10.inputBorderWidth]: refs$1.borderWidth,
20369
- [vars$10.inputBorderStyle]: refs$1.borderStyle,
20370
- [vars$10.inputBorderRadius]: refs$1.borderRadius,
20371
- [vars$10.inputOutlineColor]: refs$1.outlineColor,
20372
- [vars$10.inputOutlineOffset]: refs$1.outlineOffset,
20373
- [vars$10.inputOutlineWidth]: refs$1.outlineWidth,
20374
- [vars$10.inputOutlineStyle]: refs$1.outlineStyle,
20375
- [vars$10.labelRequiredIndicator]: refs$1.requiredIndicator,
20376
- [vars$10.inputValueTextColor]: refs$1.valueTextColor,
20377
- [vars$10.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
20378
- [vars$10.inputBackgroundColor]: refs$1.backgroundColor,
20379
- [vars$10.inputHorizontalPadding]: refs$1.horizontalPadding,
20380
- [vars$10.inputHeight]: refs$1.inputHeight,
20381
- [vars$10.inputDropdownButtonColor]: globalRefs$C.colors.surface.dark,
20382
- [vars$10.inputDropdownButtonCursor]: 'pointer',
20383
- [vars$10.inputDropdownButtonSize]: refs$1.toggleButtonSize,
20384
- [vars$10.inputDropdownButtonOffset]: globalRefs$C.spacing.xs,
20385
- [vars$10.overlayItemPaddingInlineStart]: globalRefs$C.spacing.xs,
20386
- [vars$10.overlayItemPaddingInlineEnd]: globalRefs$C.spacing.lg,
20387
- [vars$10.labelPosition]: refs$1.labelPosition,
20388
- [vars$10.labelTopPosition]: refs$1.labelTopPosition,
20389
- [vars$10.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
20390
- [vars$10.inputTransformY]: refs$1.inputTransformY,
20391
- [vars$10.inputTransition]: refs$1.inputTransition,
20392
- [vars$10.marginInlineStart]: refs$1.marginInlineStart,
20393
- [vars$10.placeholderOpacity]: refs$1.placeholderOpacity,
20394
- [vars$10.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
20395
- [vars$10.valueInputHeight]: refs$1.valueInputHeight,
20396
- [vars$10.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
20389
+ [vars$11.hostWidth]: refs$1.width,
20390
+ [vars$11.hostDirection]: refs$1.direction,
20391
+ [vars$11.fontSize]: refs$1.fontSize,
20392
+ [vars$11.fontFamily]: refs$1.fontFamily,
20393
+ [vars$11.labelFontSize]: refs$1.labelFontSize,
20394
+ [vars$11.labelFontWeight]: refs$1.labelFontWeight,
20395
+ [vars$11.labelTextColor]: refs$1.labelTextColor,
20396
+ [vars$11.errorMessageTextColor]: refs$1.errorMessageTextColor,
20397
+ [vars$11.inputBorderColor]: refs$1.borderColor,
20398
+ [vars$11.inputBorderWidth]: refs$1.borderWidth,
20399
+ [vars$11.inputBorderStyle]: refs$1.borderStyle,
20400
+ [vars$11.inputBorderRadius]: refs$1.borderRadius,
20401
+ [vars$11.inputOutlineColor]: refs$1.outlineColor,
20402
+ [vars$11.inputOutlineOffset]: refs$1.outlineOffset,
20403
+ [vars$11.inputOutlineWidth]: refs$1.outlineWidth,
20404
+ [vars$11.inputOutlineStyle]: refs$1.outlineStyle,
20405
+ [vars$11.labelRequiredIndicator]: refs$1.requiredIndicator,
20406
+ [vars$11.inputValueTextColor]: refs$1.valueTextColor,
20407
+ [vars$11.inputPlaceholderTextColor]: refs$1.placeholderTextColor,
20408
+ [vars$11.inputBackgroundColor]: refs$1.backgroundColor,
20409
+ [vars$11.inputHorizontalPadding]: refs$1.horizontalPadding,
20410
+ [vars$11.inputHeight]: refs$1.inputHeight,
20411
+ [vars$11.inputDropdownButtonColor]: globalRefs$C.colors.surface.dark,
20412
+ [vars$11.inputDropdownButtonCursor]: 'pointer',
20413
+ [vars$11.inputDropdownButtonSize]: refs$1.toggleButtonSize,
20414
+ [vars$11.inputDropdownButtonOffset]: globalRefs$C.spacing.xs,
20415
+ [vars$11.overlayItemPaddingInlineStart]: globalRefs$C.spacing.xs,
20416
+ [vars$11.overlayItemPaddingInlineEnd]: globalRefs$C.spacing.lg,
20417
+ [vars$11.labelPosition]: refs$1.labelPosition,
20418
+ [vars$11.labelTopPosition]: refs$1.labelTopPosition,
20419
+ [vars$11.labelHorizontalPosition]: refs$1.labelHorizontalPosition,
20420
+ [vars$11.inputTransformY]: refs$1.inputTransformY,
20421
+ [vars$11.inputTransition]: refs$1.inputTransition,
20422
+ [vars$11.marginInlineStart]: refs$1.marginInlineStart,
20423
+ [vars$11.placeholderOpacity]: refs$1.placeholderOpacity,
20424
+ [vars$11.inputVerticalAlignment]: refs$1.inputVerticalAlignment,
20425
+ [vars$11.valueInputHeight]: refs$1.valueInputHeight,
20426
+ [vars$11.valueInputMarginBottom]: refs$1.valueInputMarginBottom,
20397
20427
 
20398
20428
  // error message icon
20399
- [vars$10.errorMessageIcon]: refs$1.errorMessageIcon,
20400
- [vars$10.errorMessageIconSize]: refs$1.errorMessageIconSize,
20401
- [vars$10.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
20402
- [vars$10.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
20403
- [vars$10.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
20404
- [vars$10.errorMessageFontSize]: refs$1.errorMessageFontSize,
20429
+ [vars$11.errorMessageIcon]: refs$1.errorMessageIcon,
20430
+ [vars$11.errorMessageIconSize]: refs$1.errorMessageIconSize,
20431
+ [vars$11.errorMessageIconPadding]: refs$1.errorMessageIconPadding,
20432
+ [vars$11.errorMessageIconRepeat]: refs$1.errorMessageIconRepeat,
20433
+ [vars$11.errorMessageIconPosition]: refs$1.errorMessageIconPosition,
20434
+ [vars$11.errorMessageFontSize]: refs$1.errorMessageFontSize,
20405
20435
 
20406
20436
  _readonly: {
20407
- [vars$10.inputDropdownButtonCursor]: 'default',
20437
+ [vars$11.inputDropdownButtonCursor]: 'default',
20408
20438
  },
20409
20439
 
20410
20440
  // Overlay theme exposed via the component:
20411
- [vars$10.overlayFontSize]: refs$1.fontSize,
20412
- [vars$10.overlayFontFamily]: refs$1.fontFamily,
20413
- [vars$10.overlayCursor]: 'pointer',
20414
- [vars$10.overlayItemBoxShadow]: 'none',
20415
- [vars$10.overlayBackground]: refs$1.backgroundColor,
20416
- [vars$10.overlayTextColor]: refs$1.valueTextColor,
20417
- [vars$10.overlayCheckmarkDisplay]: 'initial',
20418
- [vars$10.overlaySelectedItemBackground]: 'initial',
20419
- [vars$10.overlaySelectedItemHoverBackground]:
20441
+ [vars$11.overlayFontSize]: refs$1.fontSize,
20442
+ [vars$11.overlayFontFamily]: refs$1.fontFamily,
20443
+ [vars$11.overlayCursor]: 'pointer',
20444
+ [vars$11.overlayItemBoxShadow]: 'none',
20445
+ [vars$11.overlayBackground]: refs$1.backgroundColor,
20446
+ [vars$11.overlayTextColor]: refs$1.valueTextColor,
20447
+ [vars$11.overlayCheckmarkDisplay]: 'initial',
20448
+ [vars$11.overlaySelectedItemBackground]: 'initial',
20449
+ [vars$11.overlaySelectedItemHoverBackground]:
20420
20450
  globalRefs$C.colors.primary.highlight,
20421
- [vars$10.overlaySelectedItemFocusBackground]:
20451
+ [vars$11.overlaySelectedItemFocusBackground]:
20422
20452
  globalRefs$C.colors.primary.highlight,
20423
- [vars$10.overlayItemHoverBackground]: globalRefs$C.colors.primary.highlight,
20424
- [vars$10.overlayItemFocusBackground]: globalRefs$C.colors.primary.highlight,
20453
+ [vars$11.overlayItemHoverBackground]: globalRefs$C.colors.primary.highlight,
20454
+ [vars$11.overlayItemFocusBackground]: globalRefs$C.colors.primary.highlight,
20425
20455
 
20426
20456
  // Overlay direct theme:
20427
- [vars$10.overlay.minHeight]: '400px',
20428
- [vars$10.overlay.margin]: '0',
20457
+ [vars$11.overlay.minHeight]: '400px',
20458
+ [vars$11.overlay.margin]: '0',
20429
20459
 
20430
- [vars$10.overlay.contentHeight]: '100%',
20431
- [vars$10.overlay.contentOpacity]: '1',
20432
- [vars$10.overlay.scrollerMinHeight]: '1px',
20460
+ [vars$11.overlay.contentHeight]: '100%',
20461
+ [vars$11.overlay.contentOpacity]: '1',
20462
+ [vars$11.overlay.scrollerMinHeight]: '1px',
20433
20463
  _loading: {
20434
- [vars$10.overlay.loaderTop]: '50%',
20435
- [vars$10.overlay.loaderLeft]: '50%',
20436
- [vars$10.overlay.loaderRight]: 'auto',
20464
+ [vars$11.overlay.loaderTop]: '50%',
20465
+ [vars$11.overlay.loaderLeft]: '50%',
20466
+ [vars$11.overlay.loaderRight]: 'auto',
20437
20467
  // Margin has to be negative to center the loader, "transform" can't be used because the animation uses it
20438
20468
  // Margin has to be half of the width/height of the loader to center it
20439
- [vars$10.overlay.loaderMargin]: '-15px 0 0 -15px',
20440
- [vars$10.overlay.loaderWidth]: '30px',
20441
- [vars$10.overlay.loaderHeight]: '30px',
20442
- [vars$10.overlay.loaderBorder]: '2px solid transparent',
20443
- [vars$10.overlay.loaderBorderColor]:
20469
+ [vars$11.overlay.loaderMargin]: '-15px 0 0 -15px',
20470
+ [vars$11.overlay.loaderWidth]: '30px',
20471
+ [vars$11.overlay.loaderHeight]: '30px',
20472
+ [vars$11.overlay.loaderBorder]: '2px solid transparent',
20473
+ [vars$11.overlay.loaderBorderColor]:
20444
20474
  `${globalRefs$C.colors.primary.highlight} ${globalRefs$C.colors.primary.highlight} ${globalRefs$C.colors.primary.main} ${globalRefs$C.colors.primary.main}`,
20445
- [vars$10.overlay.loaderBorderRadius]: '50%',
20446
- [vars$10.overlay.contentHeight]: '100px',
20447
- [vars$10.overlay.scrollerMinHeight]: '100px',
20448
- [vars$10.overlay.contentOpacity]: '0',
20475
+ [vars$11.overlay.loaderBorderRadius]: '50%',
20476
+ [vars$11.overlay.contentHeight]: '100px',
20477
+ [vars$11.overlay.scrollerMinHeight]: '100px',
20478
+ [vars$11.overlay.contentOpacity]: '0',
20449
20479
  },
20450
20480
  };
20451
20481
 
@@ -20453,84 +20483,130 @@ var comboBox$1 = /*#__PURE__*/Object.freeze({
20453
20483
  __proto__: null,
20454
20484
  comboBox: comboBox,
20455
20485
  default: comboBox,
20456
- vars: vars$10
20486
+ vars: vars$11
20457
20487
  });
20458
20488
 
20459
20489
  const globalRefs$B = getThemeRefs$1(globals);
20460
20490
 
20461
- const vars$$ = BadgeClass.cssVarList;
20491
+ const [helperTheme$6, helperRefs$6] = createHelperVars$1(
20492
+ {
20493
+ shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
20494
+ },
20495
+ componentName$A,
20496
+ );
20497
+
20498
+ const { shadowColor: shadowColor$6 } = helperRefs$6;
20499
+
20500
+ const vars$10 = BadgeClass.cssVarList;
20462
20501
 
20463
20502
  const badge = {
20464
- [vars$$.hostWidth]: 'fit-content',
20465
- [vars$$.hostDirection]: globalRefs$B.direction,
20503
+ ...helperTheme$6,
20466
20504
 
20467
- [vars$$.textAlign]: 'center',
20505
+ [vars$10.hostWidth]: 'fit-content',
20506
+ [vars$10.hostDirection]: globalRefs$B.direction,
20468
20507
 
20469
- [vars$$.fontFamily]: globalRefs$B.fonts.font1.family,
20470
- [vars$$.fontWeight]: '400',
20508
+ [vars$10.textAlign]: 'center',
20471
20509
 
20472
- [vars$$.verticalPadding]: '0.25em',
20473
- [vars$$.horizontalPadding]: '0.5em',
20510
+ [vars$10.fontFamily]: globalRefs$B.fonts.font1.family,
20511
+ [vars$10.fontWeight]: '400',
20474
20512
 
20475
- [vars$$.borderWidth]: globalRefs$B.border.xs,
20476
- [vars$$.borderRadius]: globalRefs$B.radius.xs,
20477
- [vars$$.borderColor]: 'transparent',
20478
- [vars$$.borderStyle]: 'solid',
20513
+ [vars$10.verticalPadding]: '0.25em',
20514
+ [vars$10.horizontalPadding]: '0.5em',
20515
+
20516
+ [vars$10.borderWidth]: globalRefs$B.border.xs,
20517
+ [vars$10.borderRadius]: globalRefs$B.radius.xs,
20518
+ [vars$10.borderColor]: 'transparent',
20519
+ [vars$10.borderStyle]: 'solid',
20479
20520
 
20480
20521
  _fullWidth: {
20481
- [vars$$.hostWidth]: '100%',
20522
+ [vars$10.hostWidth]: '100%',
20482
20523
  },
20483
20524
 
20484
20525
  size: {
20485
- xs: { [vars$$.fontSize]: '12px' },
20486
- sm: { [vars$$.fontSize]: '14px' },
20487
- md: { [vars$$.fontSize]: '16px' },
20488
- lg: { [vars$$.fontSize]: '18px' },
20526
+ xs: { [vars$10.fontSize]: '12px' },
20527
+ sm: { [vars$10.fontSize]: '14px' },
20528
+ md: { [vars$10.fontSize]: '16px' },
20529
+ lg: { [vars$10.fontSize]: '18px' },
20530
+ },
20531
+
20532
+ variant: {
20533
+ contained: {
20534
+ [vars$10.backgroundColor]: globalRefs$B.colors.surface.main,
20535
+ },
20536
+ },
20537
+
20538
+ $breakpoints: {
20539
+ indicator: '(max-width: 65px)',
20540
+ },
20541
+
20542
+ _shrinkToIndicator: {
20543
+ '$breakpoints.indicator': {
20544
+ [vars$10.hostWidth]: '13px',
20545
+ [vars$10.hostHeight]: '13px',
20546
+ [vars$10.borderRadius]: '50%',
20547
+ [vars$10.fontSize]: '0',
20548
+ [vars$10.textIndent]: '-9999px',
20549
+ },
20489
20550
  },
20490
20551
 
20491
20552
  mode: {
20492
20553
  default: {
20493
- [vars$$.textColor]: globalRefs$B.colors.surface.dark,
20554
+ [vars$10.textColor]: globalRefs$B.colors.surface.dark,
20494
20555
  _bordered: {
20495
- [vars$$.borderColor]: globalRefs$B.colors.surface.light,
20556
+ [vars$10.borderColor]: globalRefs$B.colors.surface.light,
20496
20557
  },
20497
20558
  },
20498
20559
  primary: {
20499
- [vars$$.textColor]: globalRefs$B.colors.primary.main,
20560
+ [vars$10.textColor]: globalRefs$B.colors.primary.main,
20500
20561
  _bordered: {
20501
- [vars$$.borderColor]: globalRefs$B.colors.primary.light,
20562
+ [vars$10.borderColor]: globalRefs$B.colors.primary.light,
20502
20563
  },
20503
20564
  },
20504
20565
  secondary: {
20505
- [vars$$.textColor]: globalRefs$B.colors.secondary.main,
20566
+ [vars$10.textColor]: globalRefs$B.colors.secondary.main,
20506
20567
  _bordered: {
20507
- [vars$$.borderColor]: globalRefs$B.colors.secondary.light,
20568
+ [vars$10.borderColor]: globalRefs$B.colors.secondary.light,
20508
20569
  },
20509
20570
  },
20510
20571
  error: {
20511
- [vars$$.textColor]: globalRefs$B.colors.error.main,
20572
+ [vars$10.textColor]: globalRefs$B.colors.error.main,
20512
20573
  _bordered: {
20513
- [vars$$.borderColor]: globalRefs$B.colors.error.light,
20574
+ [vars$10.borderColor]: globalRefs$B.colors.error.light,
20514
20575
  },
20515
20576
  },
20516
20577
  success: {
20517
- [vars$$.textColor]: globalRefs$B.colors.success.main,
20578
+ [vars$10.textColor]: globalRefs$B.colors.success.main,
20518
20579
  _bordered: {
20519
- [vars$$.borderColor]: globalRefs$B.colors.success.light,
20580
+ [vars$10.borderColor]: globalRefs$B.colors.success.light,
20520
20581
  },
20521
20582
  },
20522
20583
  },
20584
+
20585
+ shadow: {
20586
+ sm: {
20587
+ [vars$10.boxShadow]: `${globalRefs$B.shadow.wide.sm} ${shadowColor$6}, ${globalRefs$B.shadow.narrow.sm} ${shadowColor$6}`,
20588
+ },
20589
+ md: {
20590
+ [vars$10.boxShadow]: `${globalRefs$B.shadow.wide.md} ${shadowColor$6}, ${globalRefs$B.shadow.narrow.md} ${shadowColor$6}`,
20591
+ },
20592
+ lg: {
20593
+ [vars$10.boxShadow]: `${globalRefs$B.shadow.wide.lg} ${shadowColor$6}, ${globalRefs$B.shadow.narrow.lg} ${shadowColor$6}`,
20594
+ },
20595
+ xl: {
20596
+ [vars$10.boxShadow]: `${globalRefs$B.shadow.wide.xl} ${shadowColor$6}, ${globalRefs$B.shadow.narrow.xl} ${shadowColor$6}`,
20597
+ },
20598
+ },
20523
20599
  };
20524
20600
 
20525
20601
  var badge$1 = /*#__PURE__*/Object.freeze({
20526
20602
  __proto__: null,
20527
20603
  default: badge,
20528
- vars: vars$$
20604
+ vars: vars$10
20529
20605
  });
20530
20606
 
20531
- const componentName$i = getComponentName$1('avatar');
20607
+ const componentName$j = getComponentName$1('avatar');
20532
20608
  class RawAvatar extends createBaseClass$1({
20533
- componentName: componentName$i,
20609
+ componentName: componentName$j,
20534
20610
  baseSelector: ':host > .wrapper',
20535
20611
  }) {
20536
20612
  constructor() {
@@ -20681,37 +20757,37 @@ const avatar = {
20681
20757
  },
20682
20758
  };
20683
20759
 
20684
- const vars$_ = {
20760
+ const vars$$ = {
20685
20761
  ...compVars$8,
20686
20762
  };
20687
20763
 
20688
20764
  var avatar$1 = /*#__PURE__*/Object.freeze({
20689
20765
  __proto__: null,
20690
20766
  default: avatar,
20691
- vars: vars$_
20767
+ vars: vars$$
20692
20768
  });
20693
20769
 
20694
- const vars$Z = IconClass.cssVarList;
20770
+ const vars$_ = IconClass.cssVarList;
20695
20771
 
20696
20772
  const icon$1 = {};
20697
20773
 
20698
20774
  var icon$2 = /*#__PURE__*/Object.freeze({
20699
20775
  __proto__: null,
20700
20776
  default: icon$1,
20701
- vars: vars$Z
20777
+ vars: vars$_
20702
20778
  });
20703
20779
 
20704
- const vars$Y = ImageClass.cssVarList;
20780
+ const vars$Z = ImageClass.cssVarList;
20705
20781
 
20706
20782
  const image = {};
20707
20783
 
20708
20784
  var image$1 = /*#__PURE__*/Object.freeze({
20709
20785
  __proto__: null,
20710
20786
  default: image,
20711
- vars: vars$Y
20787
+ vars: vars$Z
20712
20788
  });
20713
20789
 
20714
- const componentName$h = getComponentName$1('apps-list');
20790
+ const componentName$i = getComponentName$1('apps-list');
20715
20791
 
20716
20792
  const itemRenderer$3 = ({ name, icon, url }, _, ref) => `
20717
20793
  <a ${url ? `href="${url}" title="${url}"` : ''} ${ref.openInSameWindow ? '' : 'target="_blank"'}>
@@ -20835,7 +20911,7 @@ const AppsListClass = compose$1(
20835
20911
  slots: ['empty-state'],
20836
20912
  wrappedEleName: 'descope-list',
20837
20913
  excludeAttrsSync: ['tabindex', 'class', 'empty', 'style'],
20838
- componentName: componentName$h,
20914
+ componentName: componentName$i,
20839
20915
  style: () => `
20840
20916
  :host {
20841
20917
  width: 100%;
@@ -20870,60 +20946,60 @@ const AppsListClass = compose$1(
20870
20946
  }),
20871
20947
  );
20872
20948
 
20873
- const vars$X = AppsListClass.cssVarList;
20949
+ const vars$Y = AppsListClass.cssVarList;
20874
20950
  const globalRefs$z = getThemeRefs$1(globals);
20875
20951
 
20876
20952
  const defaultHeight = '400px';
20877
20953
 
20878
20954
  const appsList = {
20879
- [vars$X.itemsTextAlign]: 'start',
20880
- [vars$X.hostDirection]: globalRefs$z.direction,
20881
- [vars$X.maxHeight]: defaultHeight,
20882
- [vars$X.itemHoverBackgroundColor]: globalRefs$z.colors.surface.highlight,
20955
+ [vars$Y.itemsTextAlign]: 'start',
20956
+ [vars$Y.hostDirection]: globalRefs$z.direction,
20957
+ [vars$Y.maxHeight]: defaultHeight,
20958
+ [vars$Y.itemHoverBackgroundColor]: globalRefs$z.colors.surface.highlight,
20883
20959
 
20884
20960
  _empty: {
20885
- [vars$X.minHeight]: defaultHeight,
20961
+ [vars$Y.minHeight]: defaultHeight,
20886
20962
  },
20887
20963
 
20888
20964
  size: {
20889
20965
  xs: {
20890
- [vars$X.itemsFontSize]: '14px',
20891
- [vars$X.itemsFontWeight]: 'normal',
20966
+ [vars$Y.itemsFontSize]: '14px',
20967
+ [vars$Y.itemsFontWeight]: 'normal',
20892
20968
  },
20893
20969
  sm: {
20894
- [vars$X.itemsFontSize]: '14px',
20895
- [vars$X.itemsFontWeight]: 'normal',
20970
+ [vars$Y.itemsFontSize]: '14px',
20971
+ [vars$Y.itemsFontWeight]: 'normal',
20896
20972
  },
20897
20973
  md: {
20898
- [vars$X.itemsFontSize]: '16px',
20899
- [vars$X.itemsFontWeight]: 'normal',
20974
+ [vars$Y.itemsFontSize]: '16px',
20975
+ [vars$Y.itemsFontWeight]: 'normal',
20900
20976
  },
20901
20977
  lg: {
20902
- [vars$X.itemsFontSize]: '20px',
20903
- [vars$X.itemsFontWeight]: 'normal',
20978
+ [vars$Y.itemsFontSize]: '20px',
20979
+ [vars$Y.itemsFontWeight]: 'normal',
20904
20980
  },
20905
20981
  },
20906
20982
 
20907
20983
  itemPadding: {
20908
20984
  xs: {
20909
- [vars$X.itemVerticalPadding]: globalRefs$z.spacing.xs,
20910
- [vars$X.itemHorizontalPadding]: globalRefs$z.spacing.xs,
20985
+ [vars$Y.itemVerticalPadding]: globalRefs$z.spacing.xs,
20986
+ [vars$Y.itemHorizontalPadding]: globalRefs$z.spacing.xs,
20911
20987
  },
20912
20988
  sm: {
20913
- [vars$X.itemVerticalPadding]: globalRefs$z.spacing.sm,
20914
- [vars$X.itemHorizontalPadding]: globalRefs$z.spacing.sm,
20989
+ [vars$Y.itemVerticalPadding]: globalRefs$z.spacing.sm,
20990
+ [vars$Y.itemHorizontalPadding]: globalRefs$z.spacing.sm,
20915
20991
  },
20916
20992
  md: {
20917
- [vars$X.itemVerticalPadding]: globalRefs$z.spacing.md,
20918
- [vars$X.itemHorizontalPadding]: globalRefs$z.spacing.md,
20993
+ [vars$Y.itemVerticalPadding]: globalRefs$z.spacing.md,
20994
+ [vars$Y.itemHorizontalPadding]: globalRefs$z.spacing.md,
20919
20995
  },
20920
20996
  lg: {
20921
- [vars$X.itemVerticalPadding]: globalRefs$z.spacing.lg,
20922
- [vars$X.itemHorizontalPadding]: globalRefs$z.spacing.lg,
20997
+ [vars$Y.itemVerticalPadding]: globalRefs$z.spacing.lg,
20998
+ [vars$Y.itemHorizontalPadding]: globalRefs$z.spacing.lg,
20923
20999
  },
20924
21000
  xl: {
20925
- [vars$X.itemVerticalPadding]: globalRefs$z.spacing.xl,
20926
- [vars$X.itemHorizontalPadding]: globalRefs$z.spacing.xl,
21001
+ [vars$Y.itemVerticalPadding]: globalRefs$z.spacing.xl,
21002
+ [vars$Y.itemHorizontalPadding]: globalRefs$z.spacing.xl,
20927
21003
  },
20928
21004
  },
20929
21005
  };
@@ -20931,7 +21007,7 @@ const appsList = {
20931
21007
  var appsList$1 = /*#__PURE__*/Object.freeze({
20932
21008
  __proto__: null,
20933
21009
  default: appsList,
20934
- vars: vars$X
21010
+ vars: vars$Y
20935
21011
  });
20936
21012
 
20937
21013
  const globalRefs$y = getThemeRefs$1(globals);
@@ -20940,7 +21016,7 @@ const compVars$7 = ListClass.cssVarList;
20940
21016
 
20941
21017
  const [helperTheme$5, helperRefs$5, helperVars$5] = createHelperVars$1(
20942
21018
  { shadowColor: '#00000020' },
20943
- componentName$q,
21019
+ componentName$r,
20944
21020
  );
20945
21021
 
20946
21022
  const { shadowColor: shadowColor$5 } = helperRefs$5;
@@ -21001,7 +21077,7 @@ const list = {
21001
21077
  },
21002
21078
  };
21003
21079
 
21004
- const vars$W = {
21080
+ const vars$X = {
21005
21081
  ...compVars$7,
21006
21082
  ...helperVars$5,
21007
21083
  };
@@ -21009,56 +21085,56 @@ const vars$W = {
21009
21085
  var list$1 = /*#__PURE__*/Object.freeze({
21010
21086
  __proto__: null,
21011
21087
  default: list,
21012
- vars: vars$W
21088
+ vars: vars$X
21013
21089
  });
21014
21090
 
21015
21091
  const globalRefs$x = getThemeRefs$1(globals);
21016
21092
 
21017
- const vars$V = ListItemClass.cssVarList;
21093
+ const vars$W = ListItemClass.cssVarList;
21018
21094
 
21019
21095
  const listItem = {
21020
- [vars$V.backgroundColor]: globalRefs$x.colors.surface.main,
21021
- [vars$V.verticalPadding]: globalRefs$x.spacing.lg,
21022
- [vars$V.horizontalPadding]: globalRefs$x.spacing.lg,
21023
- [vars$V.gap]: globalRefs$x.spacing.md,
21024
- [vars$V.borderStyle]: 'solid',
21025
- [vars$V.borderWidth]: globalRefs$x.border.xs,
21026
- [vars$V.borderColor]: globalRefs$x.colors.surface.main,
21027
- [vars$V.borderRadius]: globalRefs$x.radius.sm,
21028
- [vars$V.cursor]: 'pointer',
21029
- [vars$V.alignItems]: 'center',
21030
- [vars$V.flexDirection]: 'row',
21031
- [vars$V.transition]: 'border-color 0.2s, background-color 0.2s',
21096
+ [vars$W.backgroundColor]: globalRefs$x.colors.surface.main,
21097
+ [vars$W.verticalPadding]: globalRefs$x.spacing.lg,
21098
+ [vars$W.horizontalPadding]: globalRefs$x.spacing.lg,
21099
+ [vars$W.gap]: globalRefs$x.spacing.md,
21100
+ [vars$W.borderStyle]: 'solid',
21101
+ [vars$W.borderWidth]: globalRefs$x.border.xs,
21102
+ [vars$W.borderColor]: globalRefs$x.colors.surface.main,
21103
+ [vars$W.borderRadius]: globalRefs$x.radius.sm,
21104
+ [vars$W.cursor]: 'pointer',
21105
+ [vars$W.alignItems]: 'center',
21106
+ [vars$W.flexDirection]: 'row',
21107
+ [vars$W.transition]: 'border-color 0.2s, background-color 0.2s',
21032
21108
 
21033
21109
  variant: {
21034
21110
  tile: {
21035
- [vars$V.alignItems]: 'flex-start',
21036
- [vars$V.flexDirection]: 'column',
21037
- [vars$V.borderColor]: globalRefs$x.colors.surface.light,
21111
+ [vars$W.alignItems]: 'flex-start',
21112
+ [vars$W.flexDirection]: 'column',
21113
+ [vars$W.borderColor]: globalRefs$x.colors.surface.light,
21038
21114
  },
21039
21115
  },
21040
21116
 
21041
21117
  _hover: {
21042
- [vars$V.backgroundColor]: globalRefs$x.colors.surface.highlight,
21118
+ [vars$W.backgroundColor]: globalRefs$x.colors.surface.highlight,
21043
21119
  },
21044
21120
 
21045
21121
  _active: {
21046
- [vars$V.backgroundColor]: globalRefs$x.colors.surface.main,
21047
- [vars$V.borderColor]: globalRefs$x.colors.primary.light,
21048
- [vars$V.outline]: `1px solid ${globalRefs$x.colors.primary.light}`,
21122
+ [vars$W.backgroundColor]: globalRefs$x.colors.surface.main,
21123
+ [vars$W.borderColor]: globalRefs$x.colors.primary.light,
21124
+ [vars$W.outline]: `1px solid ${globalRefs$x.colors.primary.light}`,
21049
21125
  },
21050
21126
  };
21051
21127
 
21052
21128
  var listItem$1 = /*#__PURE__*/Object.freeze({
21053
21129
  __proto__: null,
21054
21130
  default: listItem,
21055
- vars: vars$V
21131
+ vars: vars$W
21056
21132
  });
21057
21133
 
21058
- const componentName$g = getComponentName$1('autocomplete-field-internal');
21134
+ const componentName$h = getComponentName$1('autocomplete-field-internal');
21059
21135
 
21060
21136
  const BaseInputClass$2 = createBaseInputClass$1({
21061
- componentName: componentName$g,
21137
+ componentName: componentName$h,
21062
21138
  baseSelector: '',
21063
21139
  });
21064
21140
  const observedAttrs$2 = [];
@@ -21263,7 +21339,7 @@ class AutocompleteFieldInternal extends BaseInputClass$2 {
21263
21339
  }
21264
21340
  }
21265
21341
 
21266
- const componentName$f = getComponentName$1('autocomplete-field');
21342
+ const componentName$g = getComponentName$1('autocomplete-field');
21267
21343
 
21268
21344
  const customMixin$2 = (superclass) =>
21269
21345
  class AutocompleteFieldMixinClass extends superclass {
@@ -21284,15 +21360,15 @@ const customMixin$2 = (superclass) =>
21284
21360
  const template = document.createElement('template');
21285
21361
 
21286
21362
  template.innerHTML = `
21287
- <${componentName$g}
21363
+ <${componentName$h}
21288
21364
  tabindex="-1"
21289
- ></${componentName$g}>
21365
+ ></${componentName$h}>
21290
21366
  `;
21291
21367
 
21292
21368
  this.baseElement.appendChild(template.content.cloneNode(true));
21293
21369
 
21294
21370
  this.inputElement = this.shadowRoot.querySelector(
21295
- componentName$g,
21371
+ componentName$h,
21296
21372
  );
21297
21373
 
21298
21374
  forwardAttrs$1(this, this.inputElement, {
@@ -21411,34 +21487,34 @@ const AutocompleteFieldClass = compose$1(
21411
21487
  }
21412
21488
  `,
21413
21489
  excludeAttrsSync: ['tabindex', 'error-message', 'label', 'style'],
21414
- componentName: componentName$f,
21490
+ componentName: componentName$g,
21415
21491
  }),
21416
21492
  );
21417
21493
 
21418
- const vars$U = AutocompleteFieldClass.cssVarList;
21494
+ const vars$V = AutocompleteFieldClass.cssVarList;
21419
21495
  const globalRefs$w = getThemeRefs$1(globals);
21420
21496
 
21421
21497
  const autocompleteField = {
21422
- [vars$U.hostWidth]: refs$1.width,
21423
- [vars$U.hostDirection]: refs$1.direction,
21424
- [vars$U.fontSize]: refs$1.fontSize,
21425
- [vars$U.checkmarkDisplay]: 'none',
21426
- [vars$U.itemPaddingInlineStart]: globalRefs$w.spacing.lg,
21427
- [vars$U.itemPaddingInlineEnd]: globalRefs$w.spacing.lg,
21428
- [vars$U.selectedItemBackground]: globalRefs$w.colors.primary.light,
21429
- [vars$U.selectedItemHoverBackground]: globalRefs$w.colors.primary.light,
21430
- [vars$U.selectedItemFocusBackground]: globalRefs$w.colors.primary.light,
21431
- [vars$U.itemHoverBackground]: globalRefs$w.colors.primary.highlight,
21498
+ [vars$V.hostWidth]: refs$1.width,
21499
+ [vars$V.hostDirection]: refs$1.direction,
21500
+ [vars$V.fontSize]: refs$1.fontSize,
21501
+ [vars$V.checkmarkDisplay]: 'none',
21502
+ [vars$V.itemPaddingInlineStart]: globalRefs$w.spacing.lg,
21503
+ [vars$V.itemPaddingInlineEnd]: globalRefs$w.spacing.lg,
21504
+ [vars$V.selectedItemBackground]: globalRefs$w.colors.primary.light,
21505
+ [vars$V.selectedItemHoverBackground]: globalRefs$w.colors.primary.light,
21506
+ [vars$V.selectedItemFocusBackground]: globalRefs$w.colors.primary.light,
21507
+ [vars$V.itemHoverBackground]: globalRefs$w.colors.primary.highlight,
21432
21508
 
21433
21509
  _fullWidth: {
21434
- [vars$U.hostWidth]: '100%',
21510
+ [vars$V.hostWidth]: '100%',
21435
21511
  },
21436
21512
  };
21437
21513
 
21438
21514
  var autocompleteField$1 = /*#__PURE__*/Object.freeze({
21439
21515
  __proto__: null,
21440
21516
  default: autocompleteField,
21441
- vars: vars$U
21517
+ vars: vars$V
21442
21518
  });
21443
21519
 
21444
21520
  const initGoogleMapsLoader = (apiKey) => {
@@ -21665,7 +21741,7 @@ class RadarConnector extends createBaseConnectorClass() {
21665
21741
  }
21666
21742
  }
21667
21743
 
21668
- const componentName$e = getComponentName$1('address-field-internal');
21744
+ const componentName$f = getComponentName$1('address-field-internal');
21669
21745
 
21670
21746
  const GOOGLE_MAPS_CONNECTOR_TEMPLATE = 'google-maps-places';
21671
21747
  const RADAR_CONNECTOR_TEMPLATE = 'radar';
@@ -21676,7 +21752,7 @@ const CONNECTOR_CLASSES = {
21676
21752
  };
21677
21753
 
21678
21754
  const BaseInputClass$1 = createBaseInputClass$1({
21679
- componentName: componentName$e,
21755
+ componentName: componentName$f,
21680
21756
  baseSelector: '',
21681
21757
  });
21682
21758
  const initConnectorAttrs = ['public-api-key'];
@@ -21783,7 +21859,7 @@ const AddressFieldInternal = compose$1(
21783
21859
  connectorMixin({ connectorClasses: CONNECTOR_CLASSES }),
21784
21860
  )(RawAddressFieldInternal);
21785
21861
 
21786
- const componentName$d = getComponentName$1('address-field');
21862
+ const componentName$e = getComponentName$1('address-field');
21787
21863
 
21788
21864
  const customMixin$1 = (superclass) =>
21789
21865
  class AddressFieldMixinClass extends superclass {
@@ -21812,15 +21888,15 @@ const customMixin$1 = (superclass) =>
21812
21888
  const template = document.createElement('template');
21813
21889
 
21814
21890
  template.innerHTML = `
21815
- <${componentName$e}
21891
+ <${componentName$f}
21816
21892
  tabindex="-1"
21817
- ></${componentName$e}>
21893
+ ></${componentName$f}>
21818
21894
  `;
21819
21895
 
21820
21896
  this.baseElement.appendChild(template.content.cloneNode(true));
21821
21897
 
21822
21898
  this.inputElement = this.shadowRoot.querySelector(
21823
- componentName$e,
21899
+ componentName$f,
21824
21900
  );
21825
21901
 
21826
21902
  forwardAttrs$1(this, this.inputElement, {
@@ -21898,7 +21974,7 @@ const AddressFieldClass = compose$1(
21898
21974
  width: 100%;
21899
21975
  }
21900
21976
 
21901
- ${componentName$e} {
21977
+ ${componentName$f} {
21902
21978
  display: inline-block;
21903
21979
  box-sizing: border-box;
21904
21980
  user-select: none;
@@ -21906,30 +21982,30 @@ const AddressFieldClass = compose$1(
21906
21982
  max-width: 100%;
21907
21983
  }
21908
21984
 
21909
- ${componentName$e} ::slotted {
21985
+ ${componentName$f} ::slotted {
21910
21986
  padding: 0;
21911
21987
  }
21912
21988
  `,
21913
21989
  excludeAttrsSync: ['tabindex', 'error-message', 'label', 'style'],
21914
- componentName: componentName$d,
21990
+ componentName: componentName$e,
21915
21991
  }),
21916
21992
  );
21917
21993
 
21918
- const vars$T = AddressFieldClass.cssVarList;
21994
+ const vars$U = AddressFieldClass.cssVarList;
21919
21995
 
21920
21996
  const addressField = {
21921
- [vars$T.hostWidth]: refs$1.width,
21922
- [vars$T.hostDirection]: refs$1.direction,
21997
+ [vars$U.hostWidth]: refs$1.width,
21998
+ [vars$U.hostDirection]: refs$1.direction,
21923
21999
 
21924
22000
  _fullWidth: {
21925
- [vars$T.hostWidth]: '100%',
22001
+ [vars$U.hostWidth]: '100%',
21926
22002
  },
21927
22003
  };
21928
22004
 
21929
22005
  var addressField$1 = /*#__PURE__*/Object.freeze({
21930
22006
  __proto__: null,
21931
22007
  default: addressField,
21932
- vars: vars$T
22008
+ vars: vars$U
21933
22009
  });
21934
22010
 
21935
22011
  var clockIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMWVtIiBoZWlnaHQ9IjFlbSIgdmlld0JveD0iMCAwIDEwNCAxMDQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01MC4zMzM0IDAuMzMzMjUyQzIyLjgzMzQgMC4zMzMyNTIgMC4zMzMzNzQgMjIuODMzMyAwLjMzMzM3NCA1MC4zMzMzQzAuMzMzMzc0IDc3LjgzMzMgMjIuODMzNCAxMDAuMzMzIDUwLjMzMzQgMTAwLjMzM0M3Ny44MzM0IDEwMC4zMzMgMTAwLjMzMyA3Ny44MzMzIDEwMC4zMzMgNTAuMzMzM0MxMDAuMzMzIDIyLjgzMzMgNzcuODMzNCAwLjMzMzI1MiA1MC4zMzM0IDAuMzMzMjUyWk01MC4zMzM0IDg3LjgzMzNDMjkuNzA4NCA4Ny44MzMzIDEyLjgzMzQgNzAuOTU4MyAxMi44MzM0IDUwLjMzMzNDMTIuODMzNCAyOS43MDgzIDI5LjcwODQgMTIuODMzMyA1MC4zMzM0IDEyLjgzMzNDNzAuOTU4NCAxMi44MzMzIDg3LjgzMzQgMjkuNzA4MyA4Ny44MzM0IDUwLjMzMzNDODcuODMzNCA3MC45NTgzIDcwLjk1ODQgODcuODMzMyA1MC4zMzM0IDg3LjgzMzNaIiBmaWxsPSIjMTgxQTFDIi8+CjxwYXRoIGQ9Ik01MC4zMzI4IDE5LjA4MzNINDQuMDgyOFY1Ni41ODMySDc1LjMzMjhWNTAuMzMzMkg1MC4zMzI4VjE5LjA4MzNaIiBmaWxsPSIjMTgxQTFDIi8+Cjwvc3ZnPgo=";
@@ -21951,12 +22027,12 @@ const formatTime = (ms = 0) => {
21951
22027
  return timeParts.join(':');
21952
22028
  };
21953
22029
 
21954
- const componentName$c = getComponentName$1('timer');
22030
+ const componentName$d = getComponentName$1('timer');
21955
22031
 
21956
22032
  const observedAttributes = ['seconds', 'hide-icon', 'paused'];
21957
22033
 
21958
22034
  const BaseClass$5 = createBaseClass$1({
21959
- componentName: componentName$c,
22035
+ componentName: componentName$d,
21960
22036
  baseSelector: ':host > .wrapper',
21961
22037
  });
21962
22038
 
@@ -22140,44 +22216,44 @@ const TimerClass = compose$1(
22140
22216
  )(RawTimer);
22141
22217
 
22142
22218
  const globalRefs$v = getThemeRefs$1(globals);
22143
- const vars$S = TimerClass.cssVarList;
22219
+ const vars$T = TimerClass.cssVarList;
22144
22220
 
22145
22221
  const timer = {
22146
- [vars$S.hostDirection]: globalRefs$v.direction,
22147
- [vars$S.gap]: '0.25em',
22148
- [vars$S.fontFamily]: globalRefs$v.fonts.font1.family,
22149
- [vars$S.minHeight]: '1.5em',
22150
- [vars$S.lineHeight]: '1em',
22151
- [vars$S.fontWeight]: globalRefs$v.fonts.font1.fontWeight,
22152
- [vars$S.textColor]: globalRefs$v.colors.surface.contrast,
22153
- [vars$S.iconColor]: globalRefs$v.colors.surface.contrast,
22154
- [vars$S.iconSize]: '1em',
22222
+ [vars$T.hostDirection]: globalRefs$v.direction,
22223
+ [vars$T.gap]: '0.25em',
22224
+ [vars$T.fontFamily]: globalRefs$v.fonts.font1.family,
22225
+ [vars$T.minHeight]: '1.5em',
22226
+ [vars$T.lineHeight]: '1em',
22227
+ [vars$T.fontWeight]: globalRefs$v.fonts.font1.fontWeight,
22228
+ [vars$T.textColor]: globalRefs$v.colors.surface.contrast,
22229
+ [vars$T.iconColor]: globalRefs$v.colors.surface.contrast,
22230
+ [vars$T.iconSize]: '1em',
22155
22231
 
22156
22232
  size: {
22157
- xs: { [vars$S.fontSize]: '12px' },
22158
- sm: { [vars$S.fontSize]: '14px' },
22159
- md: { [vars$S.fontSize]: '16px' },
22160
- lg: { [vars$S.fontSize]: '18px' },
22233
+ xs: { [vars$T.fontSize]: '12px' },
22234
+ sm: { [vars$T.fontSize]: '14px' },
22235
+ md: { [vars$T.fontSize]: '16px' },
22236
+ lg: { [vars$T.fontSize]: '18px' },
22161
22237
  },
22162
22238
 
22163
22239
  textAlign: {
22164
- right: { [vars$S.textAlign]: 'right' },
22165
- left: { [vars$S.textAlign]: 'left' },
22166
- center: { [vars$S.textAlign]: 'center' },
22240
+ right: { [vars$T.textAlign]: 'right' },
22241
+ left: { [vars$T.textAlign]: 'left' },
22242
+ center: { [vars$T.textAlign]: 'center' },
22167
22243
  },
22168
22244
 
22169
22245
  _fullWidth: {
22170
- [vars$S.hostWidth]: '100%',
22246
+ [vars$T.hostWidth]: '100%',
22171
22247
  },
22172
22248
  };
22173
22249
 
22174
22250
  var timer$1 = /*#__PURE__*/Object.freeze({
22175
22251
  __proto__: null,
22176
22252
  default: timer,
22177
- vars: vars$S
22253
+ vars: vars$T
22178
22254
  });
22179
22255
 
22180
- const componentName$b = getComponentName$1('timer-button');
22256
+ const componentName$c = getComponentName$1('timer-button');
22181
22257
 
22182
22258
  const buttonAttrs = [
22183
22259
  'button-variant',
@@ -22208,7 +22284,7 @@ const mapTimerAttrs = {
22208
22284
  };
22209
22285
 
22210
22286
  const BaseClass$4 = createBaseClass$1({
22211
- componentName: componentName$b,
22287
+ componentName: componentName$c,
22212
22288
  baseSelector: ':host > div',
22213
22289
  });
22214
22290
 
@@ -22317,30 +22393,30 @@ const TimerButtonClass = compose$1(
22317
22393
  )(RawTimerButton);
22318
22394
 
22319
22395
  const globalRefs$u = getThemeRefs$1(globals);
22320
- const vars$R = TimerButtonClass.cssVarList;
22396
+ const vars$S = TimerButtonClass.cssVarList;
22321
22397
 
22322
22398
  const timerButton = {
22323
- [vars$R.gap]: globalRefs$u.spacing.sm,
22324
- [vars$R.flexDirection]: 'column',
22399
+ [vars$S.gap]: globalRefs$u.spacing.sm,
22400
+ [vars$S.flexDirection]: 'column',
22325
22401
 
22326
22402
  _horizontal: {
22327
- [vars$R.flexDirection]: 'row',
22403
+ [vars$S.flexDirection]: 'row',
22328
22404
  },
22329
22405
 
22330
22406
  _fullWidth: {
22331
- [vars$R.hostWidth]: '100%',
22407
+ [vars$S.hostWidth]: '100%',
22332
22408
  },
22333
22409
  };
22334
22410
 
22335
22411
  var timerButton$1 = /*#__PURE__*/Object.freeze({
22336
22412
  __proto__: null,
22337
22413
  default: timerButton,
22338
- vars: vars$R
22414
+ vars: vars$S
22339
22415
  });
22340
22416
 
22341
- const componentName$a = getComponentName$1('password-strength');
22417
+ const componentName$b = getComponentName$1('password-strength');
22342
22418
  class RawPasswordStrength extends createBaseClass$1({
22343
- componentName: componentName$a,
22419
+ componentName: componentName$b,
22344
22420
  baseSelector: ':host > .wrapper',
22345
22421
  }) {
22346
22422
  static get observedAttributes() {
@@ -22531,22 +22607,22 @@ const passwordStrength = {
22531
22607
  }
22532
22608
  };
22533
22609
 
22534
- const vars$Q = {
22610
+ const vars$R = {
22535
22611
  ...compVars$6,
22536
22612
  };
22537
22613
 
22538
22614
  var passwordStrength$1 = /*#__PURE__*/Object.freeze({
22539
22615
  __proto__: null,
22540
22616
  default: passwordStrength,
22541
- vars: vars$Q
22617
+ vars: vars$R
22542
22618
  });
22543
22619
 
22544
22620
  var chevronIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iYmxhY2siIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNy4yMTkzIDkuMjcyODNDMTcuNjU4NCA4Ljg3OTEyIDE4LjMzMzQgOC45MTU4NyAxOC43MjcyIDkuMzU0OTJDMTkuMTIwOSA5Ljc5Mzk3IDE5LjA4NDEgMTAuNDY5MSAxOC42NDUxIDEwLjg2MjhDMTguNjQ1MSAxMC44NjI4IDEzLjA0NTcgMTYuMDAyMiAxMi42NCAxNi4zNjZDMTIuMjM0MyAxNi43Mjk4IDExLjc2MDggMTYuNzI5OCAxMS4zNTUyIDE2LjM2Nkw1LjM1NDkyIDEwLjg2MjhDNC45MTU4NyAxMC40NjkxIDQuODc5MTIgOS43OTM5NyA1LjI3MjgzIDkuMzU0OTJDNS42NjY1NSA4LjkxNTg3IDYuMzQxNjQgOC44NzkxMiA2Ljc4MDY5IDkuMjcyODNMMTIgMTQuMTM2OEwxNy4yMTkzIDkuMjcyODNaIi8+Cjwvc3ZnPgo=";
22545
22621
 
22546
- const componentName$9 = getComponentName$1('collapsible-container');
22622
+ const componentName$a = getComponentName$1('collapsible-container');
22547
22623
 
22548
22624
  class RawCollapsibleContainer extends createBaseClass$1({
22549
- componentName: componentName$9,
22625
+ componentName: componentName$a,
22550
22626
  baseSelector: 'slot',
22551
22627
  }) {
22552
22628
  static get observedAttributes() {
@@ -22781,7 +22857,7 @@ const [helperTheme$4, helperRefs$4, helperVars$4] = createHelperVars$1(
22781
22857
  {
22782
22858
  shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
22783
22859
  },
22784
- componentName$9
22860
+ componentName$a
22785
22861
  );
22786
22862
 
22787
22863
  const { shadowColor: shadowColor$4 } = helperRefs$4;
@@ -22881,7 +22957,7 @@ const collapsibleContainer = {
22881
22957
  }
22882
22958
  };
22883
22959
 
22884
- const vars$P = {
22960
+ const vars$Q = {
22885
22961
  ...compVars$5,
22886
22962
  ...helperVars$4,
22887
22963
  };
@@ -22889,10 +22965,10 @@ const vars$P = {
22889
22965
  var collapsibleContainer$1 = /*#__PURE__*/Object.freeze({
22890
22966
  __proto__: null,
22891
22967
  default: collapsibleContainer,
22892
- vars: vars$P
22968
+ vars: vars$Q
22893
22969
  });
22894
22970
 
22895
- const componentName$8 = getComponentName$1('recovery-codes');
22971
+ const componentName$9 = getComponentName$1('recovery-codes');
22896
22972
 
22897
22973
  const itemRenderer$2 = ({ value }, _, ref) => {
22898
22974
  return `
@@ -22903,7 +22979,7 @@ const itemRenderer$2 = ({ value }, _, ref) => {
22903
22979
  };
22904
22980
 
22905
22981
  class RawRecoveryCodes extends createBaseClass$1({
22906
- componentName: componentName$8,
22982
+ componentName: componentName$9,
22907
22983
  baseSelector: ':host > div',
22908
22984
  }) {
22909
22985
  static get observedAttributes() {
@@ -23043,35 +23119,35 @@ const RecoveryCodesClass = compose$1(
23043
23119
  )(RawRecoveryCodes);
23044
23120
 
23045
23121
  const globalRefs$r = getThemeRefs$1(globals);
23046
- const vars$O = RecoveryCodesClass.cssVarList;
23122
+ const vars$P = RecoveryCodesClass.cssVarList;
23047
23123
  const textVars = TextClass.cssVarList;
23048
23124
 
23049
23125
  const recoveryCodes = {
23050
- [vars$O.hostMinWidth]: '190px',
23051
- [vars$O.hostDirection]: globalRefs$r.direction,
23052
- [vars$O.iconColor]: useVar$1(textVars.textColor),
23053
- [vars$O.iconSize]: useVar$1(textVars.fontSize),
23054
- [vars$O.iconGap]: '8px',
23055
- [vars$O.bulletGap]: '0.35em',
23126
+ [vars$P.hostMinWidth]: '190px',
23127
+ [vars$P.hostDirection]: globalRefs$r.direction,
23128
+ [vars$P.iconColor]: useVar$1(textVars.textColor),
23129
+ [vars$P.iconSize]: useVar$1(textVars.fontSize),
23130
+ [vars$P.iconGap]: '8px',
23131
+ [vars$P.bulletGap]: '0.35em',
23056
23132
 
23057
23133
  textAlign: {
23058
- right: { [vars$O.textAlign]: 'flex-end' },
23059
- left: { [vars$O.textAlign]: 'flex-start' },
23060
- center: { [vars$O.textAlign]: 'center' },
23134
+ right: { [vars$P.textAlign]: 'flex-end' },
23135
+ left: { [vars$P.textAlign]: 'flex-start' },
23136
+ center: { [vars$P.textAlign]: 'center' },
23061
23137
  },
23062
23138
 
23063
23139
  _fullWidth: {
23064
- [vars$O.hostWidth]: '100%',
23140
+ [vars$P.hostWidth]: '100%',
23065
23141
  },
23066
23142
  };
23067
23143
 
23068
23144
  var recoveryCodes$1 = /*#__PURE__*/Object.freeze({
23069
23145
  __proto__: null,
23070
23146
  default: recoveryCodes,
23071
- vars: vars$O
23147
+ vars: vars$P
23072
23148
  });
23073
23149
 
23074
- const componentName$7 = getComponentName$1('outbound-apps');
23150
+ const componentName$8 = getComponentName$1('outbound-apps');
23075
23151
 
23076
23152
  const itemRenderer$1 = (
23077
23153
  { name, description, logo, appId, isConnected },
@@ -23117,7 +23193,7 @@ const itemRenderer$1 = (
23117
23193
  };
23118
23194
 
23119
23195
  const BaseClass$3 = createBaseClass$1({
23120
- componentName: componentName$7,
23196
+ componentName: componentName$8,
23121
23197
  baseSelector: 'descope-list',
23122
23198
  });
23123
23199
 
@@ -23293,36 +23369,36 @@ const OutboundAppsClass = compose$1(
23293
23369
  componentNameValidationMixin$1,
23294
23370
  )(RawOutboundAppsClass);
23295
23371
 
23296
- const vars$N = OutboundAppsClass.cssVarList;
23372
+ const vars$O = OutboundAppsClass.cssVarList;
23297
23373
 
23298
23374
  const outboundApps = {
23299
- [vars$N.iconColor]: globals.colors.primary.main,
23300
- [vars$N.errorIconColor]: globals.colors.error.main,
23375
+ [vars$O.iconColor]: globals.colors.primary.main,
23376
+ [vars$O.errorIconColor]: globals.colors.error.main,
23301
23377
 
23302
- [vars$N.appLogoGap]: globals.spacing.md,
23303
- [vars$N.contentGap]: globals.spacing.xs,
23378
+ [vars$O.appLogoGap]: globals.spacing.md,
23379
+ [vars$O.contentGap]: globals.spacing.xs,
23304
23380
 
23305
23381
  // list-item overrides
23306
- [vars$N.itemCursor]: 'default',
23307
- [vars$N.itemOutline]: 'none',
23308
- [vars$N.itemBorderColor]: 'transparent',
23382
+ [vars$O.itemCursor]: 'default',
23383
+ [vars$O.itemOutline]: 'none',
23384
+ [vars$O.itemBorderColor]: 'transparent',
23309
23385
 
23310
- [vars$N.listPadding]: '0',
23311
- [vars$N.listBorderWidth]: '0',
23312
- [vars$N.listBoxShadow]: 'none',
23386
+ [vars$O.listPadding]: '0',
23387
+ [vars$O.listBorderWidth]: '0',
23388
+ [vars$O.listBoxShadow]: 'none',
23313
23389
 
23314
23390
  size: {
23315
23391
  xs: {
23316
- [vars$N.fontSize]: '0.6em',
23392
+ [vars$O.fontSize]: '0.6em',
23317
23393
  },
23318
23394
  sm: {
23319
- [vars$N.fontSize]: '0.8em',
23395
+ [vars$O.fontSize]: '0.8em',
23320
23396
  },
23321
23397
  md: {
23322
- [vars$N.fontSize]: '1em',
23398
+ [vars$O.fontSize]: '1em',
23323
23399
  },
23324
23400
  lg: {
23325
- [vars$N.fontSize]: '1.5em',
23401
+ [vars$O.fontSize]: '1.5em',
23326
23402
  },
23327
23403
  },
23328
23404
  };
@@ -23330,13 +23406,13 @@ const outboundApps = {
23330
23406
  var outboundApps$1 = /*#__PURE__*/Object.freeze({
23331
23407
  __proto__: null,
23332
23408
  default: outboundApps,
23333
- vars: vars$N
23409
+ vars: vars$O
23334
23410
  });
23335
23411
 
23336
- const componentName$6 = getComponentName$1('outbound-app-button');
23412
+ const componentName$7 = getComponentName$1('outbound-app-button');
23337
23413
 
23338
23414
  class RawOutboundAppButton extends createBaseClass$1({
23339
- componentName: componentName$6,
23415
+ componentName: componentName$7,
23340
23416
  baseSelector: ':host > descope-button',
23341
23417
  }) {
23342
23418
  static get observedAttributes() {
@@ -23435,12 +23511,12 @@ const outboundAppButton = {
23435
23511
  },
23436
23512
  };
23437
23513
 
23438
- const vars$M = compVars$4;
23514
+ const vars$N = compVars$4;
23439
23515
 
23440
23516
  var outboundAppButton$1 = /*#__PURE__*/Object.freeze({
23441
23517
  __proto__: null,
23442
23518
  default: outboundAppButton,
23443
- vars: vars$M
23519
+ vars: vars$N
23444
23520
  });
23445
23521
 
23446
23522
  var desktopDeviceIconLight = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwIDE4QzIxLjEgMTggMjEuOTkgMTcuMSAyMS45OSAxNkwyMiA2QzIyIDQuOSAyMS4xIDQgMjAgNEg0QzIuOSA0IDIgNC45IDIgNlYxNkMyIDE3LjEgMi45IDE4IDQgMThIMFYyMEgyNFYxOEgyMFpNNCA2SDIwVjE2SDRWNloiIGZpbGw9IiM2MzZDNzQiLz4KPC9zdmc+Cg==";
@@ -23518,7 +23594,7 @@ const getDeviceIcon = (deviceType) => {
23518
23594
  };
23519
23595
  };
23520
23596
 
23521
- const componentName$5 = getComponentName$1('trusted-devices');
23597
+ const componentName$6 = getComponentName$1('trusted-devices');
23522
23598
 
23523
23599
  const itemRenderer = (
23524
23600
  { id, name, lastLoginDate, deviceType, isCurrent },
@@ -23607,7 +23683,7 @@ const itemRenderer = (
23607
23683
  };
23608
23684
 
23609
23685
  const BaseClass$2 = createBaseClass$1({
23610
- componentName: componentName$5,
23686
+ componentName: componentName$6,
23611
23687
  baseSelector: ListClass.componentName,
23612
23688
  });
23613
23689
 
@@ -23897,51 +23973,51 @@ const TrustedDevicesClass = compose$1(
23897
23973
  componentNameValidationMixin$1,
23898
23974
  )(RawTrustedDevicesClass);
23899
23975
 
23900
- const vars$L = TrustedDevicesClass.cssVarList;
23976
+ const vars$M = TrustedDevicesClass.cssVarList;
23901
23977
 
23902
23978
  const TrustedDevices = {
23903
- [vars$L.hostWidth]: 'auto',
23904
- [vars$L.hostWidth]: '300px',
23905
- [vars$L.hostMinWidth]: '300px',
23906
-
23907
- [vars$L.listBackgroundColor]: 'transparent',
23908
- [vars$L.listBorderRadius]: '0',
23909
- [vars$L.listBorderWidth]: '0',
23910
- [vars$L.listPadding]: '0',
23911
- [vars$L.listBoxShadow]: 'none',
23912
- [vars$L.listItemsGap]: globals.spacing.lg,
23913
-
23914
- [vars$L.itemBorderColor]: globals.colors.surface.light,
23915
- [vars$L.itemVerticalPadding]: globals.spacing.lg,
23916
- [vars$L.itemHorizontalPadding]: globals.spacing.lg,
23917
- [vars$L.itemBorderRadius]: globals.radius.xs,
23918
- [vars$L.itemOutline]: 'transparent',
23919
- [vars$L.itemBackgroundColor]: 'transparent',
23920
- [vars$L.itemCursor]: 'default',
23921
- [vars$L.itemContentGap]: globals.spacing.sm,
23922
-
23923
- [vars$L.badgeBorderColor]: globals.colors.surface.light,
23924
- [vars$L.badgeTextColor]: globals.colors.surface.dark,
23925
- [vars$L.badgeBorderRadius]: globals.radius.xs,
23926
- [vars$L.badgeBackgroundColor]: globals.colors.surface.main,
23927
-
23928
- [vars$L.devicePanelGap]: globals.spacing.md,
23929
- [vars$L.deviceIconGap]: globals.spacing.md,
23930
- [vars$L.deviceIconSize]: '24px',
23931
- [vars$L.lastLoginLabelGap]: globals.spacing.xs,
23979
+ [vars$M.hostWidth]: 'auto',
23980
+ [vars$M.hostWidth]: '300px',
23981
+ [vars$M.hostMinWidth]: '300px',
23982
+
23983
+ [vars$M.listBackgroundColor]: 'transparent',
23984
+ [vars$M.listBorderRadius]: '0',
23985
+ [vars$M.listBorderWidth]: '0',
23986
+ [vars$M.listPadding]: '0',
23987
+ [vars$M.listBoxShadow]: 'none',
23988
+ [vars$M.listItemsGap]: globals.spacing.lg,
23989
+
23990
+ [vars$M.itemBorderColor]: globals.colors.surface.light,
23991
+ [vars$M.itemVerticalPadding]: globals.spacing.lg,
23992
+ [vars$M.itemHorizontalPadding]: globals.spacing.lg,
23993
+ [vars$M.itemBorderRadius]: globals.radius.xs,
23994
+ [vars$M.itemOutline]: 'transparent',
23995
+ [vars$M.itemBackgroundColor]: 'transparent',
23996
+ [vars$M.itemCursor]: 'default',
23997
+ [vars$M.itemContentGap]: globals.spacing.sm,
23998
+
23999
+ [vars$M.badgeBorderColor]: globals.colors.surface.light,
24000
+ [vars$M.badgeTextColor]: globals.colors.surface.dark,
24001
+ [vars$M.badgeBorderRadius]: globals.radius.xs,
24002
+ [vars$M.badgeBackgroundColor]: globals.colors.surface.main,
24003
+
24004
+ [vars$M.devicePanelGap]: globals.spacing.md,
24005
+ [vars$M.deviceIconGap]: globals.spacing.md,
24006
+ [vars$M.deviceIconSize]: '24px',
24007
+ [vars$M.lastLoginLabelGap]: globals.spacing.xs,
23932
24008
 
23933
24009
  _fullWidth: {
23934
- [vars$L.hostWidth]: '100%',
24010
+ [vars$M.hostWidth]: '100%',
23935
24011
  },
23936
24012
  };
23937
24013
 
23938
24014
  var trustedDevices = /*#__PURE__*/Object.freeze({
23939
24015
  __proto__: null,
23940
24016
  default: TrustedDevices,
23941
- vars: vars$L
24017
+ vars: vars$M
23942
24018
  });
23943
24019
 
23944
- const componentName$4 = getComponentName$1('tooltip');
24020
+ const componentName$5 = getComponentName$1('tooltip');
23945
24021
 
23946
24022
  const tooltipAttrs = [
23947
24023
  'text',
@@ -23952,7 +24028,7 @@ const tooltipAttrs = [
23952
24028
  ];
23953
24029
 
23954
24030
  const BaseClass$1 = createBaseClass$1({
23955
- componentName: componentName$4,
24031
+ componentName: componentName$5,
23956
24032
  baseSelector: 'vaadin-tooltip',
23957
24033
  });
23958
24034
 
@@ -24017,7 +24093,7 @@ class RawTooltip extends BaseClass$1 {
24017
24093
  this.tooltip.style.overflow = 'hidden';
24018
24094
  this.tooltip.style.position = 'absolute';
24019
24095
  }
24020
-
24096
+
24021
24097
  #revealWrappedParts() {
24022
24098
  this.tooltip.style.width = '100%';
24023
24099
  this.tooltip.style.height = '100%';
@@ -24042,9 +24118,7 @@ class RawTooltip extends BaseClass$1 {
24042
24118
  #setTooltipTarget() {
24043
24119
  if (!this.children?.length) return;
24044
24120
 
24045
- let ele = Array.from(this.children).find(
24046
- (child) => child !== this.tooltip,
24047
- );
24121
+ let ele = Array.from(this.children).find((child) => child !== this.tooltip);
24048
24122
 
24049
24123
  if (!ele) return;
24050
24124
 
@@ -24064,6 +24138,10 @@ class RawTooltip extends BaseClass$1 {
24064
24138
  return enrichedText;
24065
24139
  }
24066
24140
 
24141
+ get srLabel() {
24142
+ return this.tooltip?.querySelector('[slot="sr-label"]');
24143
+ }
24144
+
24067
24145
  #initTooltipTextComponent() {
24068
24146
  if (!this.overlayContentNode) return;
24069
24147
 
@@ -24074,6 +24152,12 @@ class RawTooltip extends BaseClass$1 {
24074
24152
 
24075
24153
  this.overlayContentNode.appendChild(this.textComponent);
24076
24154
 
24155
+ // An empty sr-label with role="tooltip" fails accessibility checks.
24156
+ // Hide it when there's no tooltip text; vaadin handles populating it when text is present.
24157
+ if (this.srLabel && !this.tooltipText) {
24158
+ this.srLabel.setAttribute('aria-hidden', 'true');
24159
+ }
24160
+
24077
24161
  forwardAttrs$1(this, this.textComponent, {
24078
24162
  includeAttrs: ['readonly'],
24079
24163
  });
@@ -24109,7 +24193,15 @@ class RawTooltip extends BaseClass$1 {
24109
24193
 
24110
24194
  #updateText(value) {
24111
24195
  if (!this.textComponent) return;
24112
- this.textComponent.textContent = value?.trim();
24196
+ const trimmedValue = (value ?? '').trim();
24197
+ this.textComponent.textContent = trimmedValue;
24198
+ if (this.srLabel) {
24199
+ if (trimmedValue) {
24200
+ this.srLabel.removeAttribute('aria-hidden');
24201
+ } else {
24202
+ this.srLabel.setAttribute('aria-hidden', 'true');
24203
+ }
24204
+ }
24113
24205
  }
24114
24206
 
24115
24207
  attributeChangedCallback(attrName, oldValue, newValue) {
@@ -24121,7 +24213,7 @@ class RawTooltip extends BaseClass$1 {
24121
24213
  }
24122
24214
 
24123
24215
  if (attrName === 'opened') {
24124
- this.#handleTooltipVisibility(attrName, newValue);
24216
+ this.#handleTooltipVisibility();
24125
24217
  }
24126
24218
  }
24127
24219
  }
@@ -24185,13 +24277,13 @@ const TooltipClass = compose$1(
24185
24277
  )(RawTooltip);
24186
24278
 
24187
24279
  const globalRefs$q = getThemeRefs$1(globals);
24188
- const vars$K = TooltipClass.cssVarList;
24280
+ const vars$L = TooltipClass.cssVarList;
24189
24281
 
24190
24282
  const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars$1(
24191
24283
  {
24192
24284
  shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
24193
24285
  },
24194
- componentName$4
24286
+ componentName$5
24195
24287
  );
24196
24288
 
24197
24289
  const { shadowColor: shadowColor$3 } = helperRefs$3;
@@ -24199,36 +24291,36 @@ const defaultShadow = `${globalRefs$q.shadow.wide.sm} ${shadowColor$3}, ${global
24199
24291
 
24200
24292
  const tooltip = {
24201
24293
  ...helperTheme$3,
24202
- [vars$K.fontFamily]: globalRefs$q.fonts.font1.family,
24203
- [vars$K.fontSize]: globals.typography.body2.size,
24204
- [vars$K.fontWeight]: globals.typography.body2.weight,
24205
- [vars$K.textColor]: globalRefs$q.colors.surface.contrast,
24206
- [vars$K.hostDirection]: globalRefs$q.direction,
24207
- [vars$K.backgroundColor]: globalRefs$q.colors.surface.main,
24208
- [vars$K.borderColor]: globalRefs$q.colors.surface.light,
24209
- [vars$K.borderStyle]: 'solid',
24210
- [vars$K.borderWidth]: globalRefs$q.border.xs,
24211
- [vars$K.borderRadius]: globalRefs$q.radius.xs,
24212
- [vars$K.horizontalPadding]: globalRefs$q.spacing.md,
24213
- [vars$K.verticalPadding]: globalRefs$q.spacing.sm,
24214
- [vars$K.boxShadow]: defaultShadow,
24294
+ [vars$L.fontFamily]: globalRefs$q.fonts.font1.family,
24295
+ [vars$L.fontSize]: globals.typography.body2.size,
24296
+ [vars$L.fontWeight]: globals.typography.body2.weight,
24297
+ [vars$L.textColor]: globalRefs$q.colors.surface.contrast,
24298
+ [vars$L.hostDirection]: globalRefs$q.direction,
24299
+ [vars$L.backgroundColor]: globalRefs$q.colors.surface.main,
24300
+ [vars$L.borderColor]: globalRefs$q.colors.surface.light,
24301
+ [vars$L.borderStyle]: 'solid',
24302
+ [vars$L.borderWidth]: globalRefs$q.border.xs,
24303
+ [vars$L.borderRadius]: globalRefs$q.radius.xs,
24304
+ [vars$L.horizontalPadding]: globalRefs$q.spacing.md,
24305
+ [vars$L.verticalPadding]: globalRefs$q.spacing.sm,
24306
+ [vars$L.boxShadow]: defaultShadow,
24215
24307
 
24216
24308
  shadow: {
24217
24309
  sm: {
24218
- [vars$K.boxShadow]: defaultShadow,
24310
+ [vars$L.boxShadow]: defaultShadow,
24219
24311
  },
24220
24312
  md: {
24221
- [vars$K.boxShadow]: `${globalRefs$q.shadow.wide.md} ${shadowColor$3}, ${globalRefs$q.shadow.narrow.md} ${shadowColor$3}`,
24313
+ [vars$L.boxShadow]: `${globalRefs$q.shadow.wide.md} ${shadowColor$3}, ${globalRefs$q.shadow.narrow.md} ${shadowColor$3}`,
24222
24314
  },
24223
24315
  lg: {
24224
- [vars$K.boxShadow]: `${globalRefs$q.shadow.wide.lg} ${shadowColor$3}, ${globalRefs$q.shadow.narrow.lg} ${shadowColor$3}`,
24316
+ [vars$L.boxShadow]: `${globalRefs$q.shadow.wide.lg} ${shadowColor$3}, ${globalRefs$q.shadow.narrow.lg} ${shadowColor$3}`,
24225
24317
  },
24226
24318
  xl: {
24227
- [vars$K.boxShadow]: `${globalRefs$q.shadow.wide.xl} ${shadowColor$3}, ${globalRefs$q.shadow.narrow.xl} ${shadowColor$3}`,
24319
+ [vars$L.boxShadow]: `${globalRefs$q.shadow.wide.xl} ${shadowColor$3}, ${globalRefs$q.shadow.narrow.xl} ${shadowColor$3}`,
24228
24320
  },
24229
24321
  '2xl': {
24230
24322
  [helperVars$3.shadowColor]: '#00000050', // mimic daisyUI shadow settings
24231
- [vars$K.boxShadow]: `${globalRefs$q.shadow.wide['2xl']} ${shadowColor$3}`,
24323
+ [vars$L.boxShadow]: `${globalRefs$q.shadow.wide['2xl']} ${shadowColor$3}`,
24232
24324
  },
24233
24325
  },
24234
24326
  };
@@ -24236,7 +24328,7 @@ const tooltip = {
24236
24328
  var tooltip$1 = /*#__PURE__*/Object.freeze({
24237
24329
  __proto__: null,
24238
24330
  default: tooltip,
24239
- vars: vars$K
24331
+ vars: vars$L
24240
24332
  });
24241
24333
 
24242
24334
  // Data service for country/subdivision/city data.
@@ -24289,7 +24381,7 @@ const fetchLabels = async (baseUrl) => {
24289
24381
  const fetchCitiesForCountry = async (countryIso2, baseUrl) =>
24290
24382
  fetchJson(`${baseUrl}/countries/${countryIso2}/cities.json`);
24291
24383
 
24292
- const componentName$3 = getComponentName$1(
24384
+ const componentName$4 = getComponentName$1(
24293
24385
  'country-subdivision-city-field-internal',
24294
24386
  );
24295
24387
 
@@ -24349,7 +24441,7 @@ const comboBoxHTML = (id) =>
24349
24441
  // --- Base class ---
24350
24442
 
24351
24443
  const BaseInputClass = createBaseInputClass$1({
24352
- componentName: componentName$3,
24444
+ componentName: componentName$4,
24353
24445
  baseSelector: '',
24354
24446
  });
24355
24447
 
@@ -24525,7 +24617,7 @@ class RawCountrySubdivisionCityFieldInternal extends BaseInputClass {
24525
24617
  if (e.isTrusted) {
24526
24618
  const firstInvalidCombo = this.#allCombos.find(
24527
24619
  (combo) =>
24528
- !combo.classList.contains(`${componentName$3}-hidden`) &&
24620
+ !combo.classList.contains(`${componentName$4}-hidden`) &&
24529
24621
  !combo.checkValidity(),
24530
24622
  );
24531
24623
  (firstInvalidCombo || this.#getFirstVisibleCombo())?.focus();
@@ -24622,7 +24714,7 @@ class RawCountrySubdivisionCityFieldInternal extends BaseInputClass {
24622
24714
  // Iterate in reverse so reportValidity's focus() lands on the first invalid combo last.
24623
24715
  #handleInvalidCombos() {
24624
24716
  for (const combo of [...this.#allCombos].reverse()) {
24625
- if (combo.classList.contains(`${componentName$3}-hidden`)) continue;
24717
+ if (combo.classList.contains(`${componentName$4}-hidden`)) continue;
24626
24718
  if (!combo.checkValidity()) combo.reportValidity();
24627
24719
  }
24628
24720
  }
@@ -24895,7 +24987,7 @@ class RawCountrySubdivisionCityFieldInternal extends BaseInputClass {
24895
24987
  if (!this.#pendingValue && this.#defaultCountry)
24896
24988
  this.#onCountrySelected(this.#defaultCountry);
24897
24989
  } catch (e) {
24898
- console.error(`[${componentName$3}] Failed to load countries`, e);
24990
+ console.error(`[${componentName$4}] Failed to load countries`, e);
24899
24991
  } finally {
24900
24992
  this.#countryComboBox.removeAttribute('loading');
24901
24993
  }
@@ -24920,7 +25012,7 @@ class RawCountrySubdivisionCityFieldInternal extends BaseInputClass {
24920
25012
  }
24921
25013
  } catch (e) {
24922
25014
  console.error(
24923
- `[${componentName$3}] Failed to load subdivisions for ${countryIso2}`,
25015
+ `[${componentName$4}] Failed to load subdivisions for ${countryIso2}`,
24924
25016
  e,
24925
25017
  );
24926
25018
  this.#subdivisionVisible = false;
@@ -24948,7 +25040,7 @@ class RawCountrySubdivisionCityFieldInternal extends BaseInputClass {
24948
25040
  }
24949
25041
  } catch (e) {
24950
25042
  console.error(
24951
- `[${componentName$3}] Failed to load cities for ${countryIso2}${stateCode ? `/${stateCode}` : ''}`,
25043
+ `[${componentName$4}] Failed to load cities for ${countryIso2}${stateCode ? `/${stateCode}` : ''}`,
24952
25044
  e,
24953
25045
  );
24954
25046
  } finally {
@@ -25040,7 +25132,7 @@ class RawCountrySubdivisionCityFieldInternal extends BaseInputClass {
25040
25132
  }
25041
25133
 
25042
25134
  #setVisible(el, visible) {
25043
- el?.classList.toggle(`${componentName$3}-hidden`, !visible);
25135
+ el?.classList.toggle(`${componentName$4}-hidden`, !visible);
25044
25136
  }
25045
25137
 
25046
25138
  #updateRequiredOnCombos() {
@@ -25110,7 +25202,7 @@ class RawCountrySubdivisionCityFieldInternal extends BaseInputClass {
25110
25202
 
25111
25203
  #getFirstVisibleCombo() {
25112
25204
  return this.#allCombos.find(
25113
- (combo) => !combo.classList.contains(`${componentName$3}-hidden`),
25205
+ (combo) => !combo.classList.contains(`${componentName$4}-hidden`),
25114
25206
  );
25115
25207
  }
25116
25208
 
@@ -25127,7 +25219,7 @@ const CountrySubdivisionCityFieldInternal = compose$1()(
25127
25219
  RawCountrySubdivisionCityFieldInternal,
25128
25220
  );
25129
25221
 
25130
- const componentName$2 = getComponentName$1('country-subdivision-city-field');
25222
+ const componentName$3 = getComponentName$1('country-subdivision-city-field');
25131
25223
 
25132
25224
  const customMixin = (superclass) =>
25133
25225
  class CountrySubdivisionCityFieldMixinClass extends superclass {
@@ -25137,15 +25229,15 @@ const customMixin = (superclass) =>
25137
25229
  const template = document.createElement('template');
25138
25230
 
25139
25231
  template.innerHTML = `
25140
- <${componentName$3}
25232
+ <${componentName$4}
25141
25233
  tabindex="-1"
25142
- ></${componentName$3}>
25234
+ ></${componentName$4}>
25143
25235
  `;
25144
25236
 
25145
25237
  this.baseElement.appendChild(template.content.cloneNode(true));
25146
25238
 
25147
25239
  this.inputElement = this.shadowRoot.querySelector(
25148
- componentName$3,
25240
+ componentName$4,
25149
25241
  );
25150
25242
 
25151
25243
  forwardAttrs$1(this, this.inputElement, {
@@ -25182,11 +25274,11 @@ const customMixin = (superclass) =>
25182
25274
  const host = { selector: () => ':host' };
25183
25275
 
25184
25276
  const internalWrapper = {
25185
- selector: `${componentName$3} > .wrapper`,
25277
+ selector: `${componentName$4} > .wrapper`,
25186
25278
  };
25187
25279
 
25188
25280
  const internalComboBoxes = {
25189
- selector: `${componentName$3} > .wrapper > descope-combo-box`,
25281
+ selector: `${componentName$4} > .wrapper > descope-combo-box`,
25190
25282
  };
25191
25283
 
25192
25284
  const CountrySubdivisionCityFieldClass = compose$1(
@@ -25236,7 +25328,7 @@ const CountrySubdivisionCityFieldClass = compose$1(
25236
25328
  width: 100%;
25237
25329
  }
25238
25330
 
25239
- ${componentName$3} {
25331
+ ${componentName$4} {
25240
25332
  display: inline-block;
25241
25333
  box-sizing: border-box;
25242
25334
  user-select: none;
@@ -25244,47 +25336,241 @@ const CountrySubdivisionCityFieldClass = compose$1(
25244
25336
  max-width: 100%;
25245
25337
  }
25246
25338
 
25247
- ${componentName$3} > .wrapper {
25339
+ ${componentName$4} > .wrapper {
25248
25340
  display: flex;
25249
25341
  width: 100%;
25250
25342
  flex-wrap: wrap;
25251
25343
  }
25252
25344
 
25253
- .${componentName$3}-hidden {
25345
+ .${componentName$4}-hidden {
25254
25346
  display: none;
25255
25347
  }
25256
25348
 
25257
25349
  `,
25258
25350
  excludeAttrsSync: ['tabindex', 'style', 'error-message'],
25259
- componentName: componentName$2,
25351
+ componentName: componentName$3,
25260
25352
  }),
25261
25353
  );
25262
25354
 
25263
- const vars$J = CountrySubdivisionCityFieldClass.cssVarList;
25355
+ const vars$K = CountrySubdivisionCityFieldClass.cssVarList;
25264
25356
 
25265
25357
  const countrySubdivisionCityField = {
25266
- [vars$J.hostWidth]: refs$1.width,
25267
- [vars$J.hostDirection]: refs$1.direction,
25268
- [vars$J.flexDirection]: 'column',
25269
- [vars$J.flexGap]: '0.5em',
25270
- [vars$J.itemAlignment]: 'stretch',
25271
- [vars$J.itemFlexGrow]: '0',
25272
- [vars$J.itemWidth]: 'auto',
25358
+ [vars$K.hostWidth]: refs$1.width,
25359
+ [vars$K.hostDirection]: refs$1.direction,
25360
+ [vars$K.flexDirection]: 'column',
25361
+ [vars$K.flexGap]: '0.5em',
25362
+ [vars$K.itemAlignment]: 'stretch',
25363
+ [vars$K.itemFlexGrow]: '0',
25364
+ [vars$K.itemWidth]: 'auto',
25273
25365
 
25274
25366
  _fullWidth: {
25275
- [vars$J.hostWidth]: '100%',
25367
+ [vars$K.hostWidth]: '100%',
25276
25368
  },
25277
25369
 
25278
25370
  _horizontal: {
25279
- [vars$J.flexDirection]: 'row',
25280
- [vars$J.itemFlexGrow]: '1',
25371
+ [vars$K.flexDirection]: 'row',
25372
+ [vars$K.itemFlexGrow]: '1',
25281
25373
  },
25282
25374
  };
25283
25375
 
25284
25376
  var countrySubdivisionCityField$1 = /*#__PURE__*/Object.freeze({
25285
25377
  __proto__: null,
25286
25378
  default: countrySubdivisionCityField,
25287
- vars: vars$J
25379
+ vars: vars$K
25380
+ });
25381
+
25382
+ const componentName$2 = getComponentName$1('attachment');
25383
+
25384
+ const ATTACHMENT_POSITIONS = [
25385
+ 'top-end',
25386
+ 'top-start',
25387
+ 'top-center',
25388
+ 'bottom-start',
25389
+ 'bottom-end',
25390
+ 'bottom-center',
25391
+ ];
25392
+
25393
+ const DEFAULT_POSITION = ATTACHMENT_POSITIONS[0];
25394
+
25395
+ class RawAttachment extends createBaseClass$1({
25396
+ componentName: componentName$2,
25397
+ baseSelector: ':host > .wrapper',
25398
+ }) {
25399
+ constructor() {
25400
+ super();
25401
+
25402
+ this.attachShadow({ mode: 'open' }).innerHTML = `
25403
+ <div class="wrapper">
25404
+ <slot></slot>
25405
+ <div class="attachment-container">
25406
+ <slot name="attachment"></slot>
25407
+ </div>
25408
+ </div>
25409
+ `;
25410
+
25411
+ this.defaultSlot = this.shadowRoot.querySelector('slot:not([name])');
25412
+ this.attachmentSlot = this.shadowRoot.querySelector(
25413
+ 'slot[name="attachment"]',
25414
+ );
25415
+ }
25416
+
25417
+ static get observedAttributes() {
25418
+ return [...(super.observedAttributes || []), 'position'];
25419
+ }
25420
+
25421
+ attributeChangedCallback(name, oldVal, newVal) {
25422
+ super.attributeChangedCallback?.(name, oldVal, newVal);
25423
+ if (name === 'position' && oldVal !== newVal) {
25424
+ this.#handlePositionChange();
25425
+ }
25426
+ }
25427
+
25428
+ init() {
25429
+ super.init?.();
25430
+
25431
+ injectStyle(
25432
+ `
25433
+ :host {
25434
+ display: inline-block;
25435
+ }
25436
+ .wrapper {
25437
+ position: relative;
25438
+ display: inline-flex;
25439
+ }
25440
+ .attachment-container {
25441
+ position: absolute;
25442
+ z-index: 1;
25443
+ pointer-events: none;
25444
+ width: 100%;
25445
+ display: flex;
25446
+ align-items: center;
25447
+ container-type: inline-size;
25448
+ }
25449
+ :host(.hidden) {
25450
+ display: none;
25451
+ }
25452
+ `,
25453
+ this,
25454
+ );
25455
+
25456
+ this.#handlePositionChange();
25457
+
25458
+ this.defaultSlot.addEventListener('slotchange', () => {
25459
+ this.#setVisibility();
25460
+ this.#syncDirection();
25461
+ });
25462
+
25463
+ window.requestAnimationFrame(() => {
25464
+ this.#setVisibility();
25465
+ this.#syncDirection();
25466
+ });
25467
+ }
25468
+
25469
+ #setVisibility() {
25470
+ const hasAnchor = this.defaultSlot?.assignedElements()?.length > 0;
25471
+ this.classList.toggle('hidden', !hasAnchor);
25472
+ }
25473
+
25474
+ #syncDirection() {
25475
+ const child = this.defaultSlot?.assignedElements()?.[0];
25476
+ if (!child) return;
25477
+
25478
+ const { direction } = window.getComputedStyle(child);
25479
+
25480
+ // currently we support direction sync only for web-components-ui
25481
+ // elements, which support st-host-direction attribute.
25482
+ this.attachmentSlot?.assignedElements().forEach((el) => {
25483
+ el.setAttribute('st-host-direction', direction);
25484
+ });
25485
+ }
25486
+
25487
+ get offsetX() {
25488
+ return this.getAttribute('offset-x') || '0px';
25489
+ }
25490
+
25491
+ get offsetY() {
25492
+ return this.getAttribute('offset-y') || '0px';
25493
+ }
25494
+
25495
+ #handlePositionChange() {
25496
+ const pos = this.getAttribute('position');
25497
+ if (!ATTACHMENT_POSITIONS.includes(pos)) {
25498
+ this.setAttribute('position', DEFAULT_POSITION);
25499
+ }
25500
+ }
25501
+ }
25502
+
25503
+ const attachmentContainer = { selector: () => '.attachment-container' };
25504
+
25505
+ const AttachmentClass = compose$1(
25506
+ createStyleMixin$1({
25507
+ mappings: {
25508
+ transform: { ...attachmentContainer },
25509
+ justifyContent: { ...attachmentContainer },
25510
+ maxWidth: { ...attachmentContainer },
25511
+ top: { ...attachmentContainer },
25512
+ bottom: { ...attachmentContainer },
25513
+ left: { ...attachmentContainer },
25514
+ right: { ...attachmentContainer },
25515
+ offsetX: {},
25516
+ offsetY: {},
25517
+ },
25518
+ }),
25519
+ draggableMixin$1,
25520
+ componentNameValidationMixin$1,
25521
+ )(RawAttachment);
25522
+
25523
+ const vars$J = AttachmentClass.cssVarList;
25524
+
25525
+ const defaultOffset = '8px';
25526
+ const insetCalc = `calc(${defaultOffset} + var(${vars$J.offsetX}))`;
25527
+
25528
+ const attachment = {
25529
+ [vars$J.maxWidth]: `calc(100% - 2 * ${defaultOffset})`,
25530
+
25531
+ position: {
25532
+ 'top-start': {
25533
+ [vars$J.transform]: 'translateY(-50%)',
25534
+ [vars$J.justifyContent]: 'start',
25535
+ [vars$J.left]: insetCalc,
25536
+ [vars$J.top]: useVar$1(vars$J.offsetY),
25537
+ },
25538
+ 'top-center': {
25539
+ [vars$J.transform]: 'translate(-50%, -50%)',
25540
+ [vars$J.justifyContent]: 'center',
25541
+ [vars$J.top]: useVar$1(vars$J.offsetY),
25542
+ [vars$J.left]: '50%',
25543
+ },
25544
+ 'top-end': {
25545
+ [vars$J.transform]: 'translateY(-50%)',
25546
+ [vars$J.justifyContent]: 'end',
25547
+ [vars$J.right]: insetCalc,
25548
+ [vars$J.top]: useVar$1(vars$J.offsetY),
25549
+ },
25550
+ 'bottom-start': {
25551
+ [vars$J.transform]: 'translateY(50%)',
25552
+ [vars$J.justifyContent]: 'start',
25553
+ [vars$J.left]: insetCalc,
25554
+ [vars$J.bottom]: useVar$1(vars$J.offsetY),
25555
+ },
25556
+ 'bottom-center': {
25557
+ [vars$J.bottom]: useVar$1(vars$J.offsetY),
25558
+ [vars$J.transform]: 'translate(-50%, 50%)',
25559
+ [vars$J.justifyContent]: 'center',
25560
+ [vars$J.left]: '50%',
25561
+ },
25562
+ 'bottom-end': {
25563
+ [vars$J.transform]: 'translateY(50%)',
25564
+ [vars$J.justifyContent]: 'end',
25565
+ [vars$J.right]: insetCalc,
25566
+ [vars$J.bottom]: useVar$1(vars$J.offsetY),
25567
+ },
25568
+ },
25569
+ };
25570
+
25571
+ var attachment$1 = /*#__PURE__*/Object.freeze({
25572
+ __proto__: null,
25573
+ default: attachment
25288
25574
  });
25289
25575
 
25290
25576
  const componentName$1 = getComponentName('input-wrapper');
@@ -25839,7 +26125,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
25839
26125
  horizontalAlignment,
25840
26126
  shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
25841
26127
  },
25842
- componentName$1g
26128
+ componentName$1h
25843
26129
  );
25844
26130
 
25845
26131
  const { shadowColor: shadowColor$2 } = helperRefs$2;
@@ -25994,7 +26280,7 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
25994
26280
  thickness: '2px',
25995
26281
  spacing: '10px',
25996
26282
  },
25997
- componentName$18
26283
+ componentName$19
25998
26284
  );
25999
26285
 
26000
26286
  const divider = {
@@ -26145,7 +26431,7 @@ const [helperTheme, helperRefs, helperVars] = createHelperVars(
26145
26431
  },
26146
26432
  },
26147
26433
  },
26148
- componentName$1h
26434
+ componentName$1i
26149
26435
  );
26150
26436
 
26151
26437
  const loaderRadial = {
@@ -26219,10 +26505,6 @@ const phoneField = {
26219
26505
  [vars$s.errorMessageIconRepeat]: refs.errorMessageIconRepeat,
26220
26506
  [vars$s.errorMessageIconPosition]: refs.errorMessageIconPosition,
26221
26507
  [vars$s.errorMessageFontSize]: refs.errorMessageFontSize,
26222
-
26223
- // '@overlay': {
26224
- // overlayItemBackgroundColor: 'red'
26225
- // }
26226
26508
  };
26227
26509
 
26228
26510
  var phoneField$1 = /*#__PURE__*/Object.freeze({
@@ -27295,7 +27577,7 @@ const alert = {
27295
27577
  [vars$2.horizontalPadding]: '0',
27296
27578
  [vars$2.verticalPadding]: '0',
27297
27579
  [vars$2.gap]: `0.5em`,
27298
- [vars$2.fontSize]: useVar(vars$13.fontSize),
27580
+ [vars$2.fontSize]: useVar(vars$14.fontSize),
27299
27581
 
27300
27582
  mode: {
27301
27583
  error: {
@@ -27455,6 +27737,7 @@ const components = {
27455
27737
  outboundAppButton: outboundAppButton$1,
27456
27738
  trustedDevices,
27457
27739
  tooltip: tooltip$1,
27740
+ attachment: attachment$1,
27458
27741
  };
27459
27742
 
27460
27743
  const theme = Object.keys(components).reduce(
@@ -27467,7 +27750,7 @@ const vars = Object.keys(components).reduce(
27467
27750
  );
27468
27751
 
27469
27752
  const defaultTheme = { globals: globals$1, components: theme };
27470
- const themeVars = { globals: vars$15, components: vars };
27753
+ const themeVars = { globals: vars$16, components: vars };
27471
27754
 
27472
27755
  const colors = {
27473
27756
  surface: {
@@ -27523,34 +27806,36 @@ const darkTheme = merge({}, defaultTheme, {
27523
27806
  },
27524
27807
  });
27525
27808
 
27526
- customElements.define(componentName$g, AutocompleteFieldInternal);
27809
+ customElements.define(componentName$h, AutocompleteFieldInternal);
27810
+
27811
+ customElements.define(componentName$g, AutocompleteFieldClass);
27527
27812
 
27528
- customElements.define(componentName$f, AutocompleteFieldClass);
27813
+ customElements.define(componentName$f, AddressFieldInternal);
27529
27814
 
27530
- customElements.define(componentName$e, AddressFieldInternal);
27815
+ customElements.define(componentName$e, AddressFieldClass);
27531
27816
 
27532
- customElements.define(componentName$d, AddressFieldClass);
27817
+ customElements.define(componentName$j, AvatarClass);
27533
27818
 
27534
- customElements.define(componentName$i, AvatarClass);
27819
+ customElements.define(componentName$i, AppsListClass);
27535
27820
 
27536
- customElements.define(componentName$h, AppsListClass);
27821
+ customElements.define(componentName$2, AttachmentClass);
27537
27822
 
27538
- customElements.define(componentName$9, CollapsibleContainerClass);
27823
+ customElements.define(componentName$a, CollapsibleContainerClass);
27539
27824
 
27540
- customElements.define(componentName$3, CountrySubdivisionCityFieldInternal);
27825
+ customElements.define(componentName$4, CountrySubdivisionCityFieldInternal);
27541
27826
 
27542
- customElements.define(componentName$2, CountrySubdivisionCityFieldClass);
27827
+ customElements.define(componentName$3, CountrySubdivisionCityFieldClass);
27543
27828
 
27544
- customElements.define(componentName$6, OutboundAppButtonClass);
27829
+ customElements.define(componentName$7, OutboundAppButtonClass);
27545
27830
 
27546
- customElements.define(componentName$7, OutboundAppsClass);
27831
+ customElements.define(componentName$8, OutboundAppsClass);
27547
27832
 
27548
- customElements.define(componentName$a, PasswordStrengthClass);
27833
+ customElements.define(componentName$b, PasswordStrengthClass);
27549
27834
 
27550
27835
  var index = /*#__PURE__*/Object.freeze({
27551
27836
  __proto__: null,
27552
27837
  PasswordStrengthClass: PasswordStrengthClass,
27553
- componentName: componentName$a
27838
+ componentName: componentName$b
27554
27839
  });
27555
27840
 
27556
27841
  // NOTICE: This component registers with a DIFFERENT name than its file name
@@ -27657,15 +27942,15 @@ const HoneypotClass = compose$1(componentNameValidationMixin$1)(RawHoneypot);
27657
27942
 
27658
27943
  customElements.define(componentName, HoneypotClass);
27659
27944
 
27660
- customElements.define(componentName$8, RecoveryCodesClass);
27945
+ customElements.define(componentName$9, RecoveryCodesClass);
27661
27946
 
27662
- customElements.define(componentName$c, TimerClass);
27947
+ customElements.define(componentName$d, TimerClass);
27663
27948
 
27664
- customElements.define(componentName$b, TimerButtonClass);
27949
+ customElements.define(componentName$c, TimerButtonClass);
27665
27950
 
27666
- customElements.define(componentName$4, TooltipClass);
27951
+ customElements.define(componentName$5, TooltipClass);
27667
27952
 
27668
- customElements.define(componentName$5, TrustedDevicesClass);
27953
+ customElements.define(componentName$6, TrustedDevicesClass);
27669
27954
 
27670
27955
  const options = {
27671
27956
  translations: zxcvbnEnPackage.translations,
@@ -27683,5 +27968,5 @@ var calcScore = /*#__PURE__*/Object.freeze({
27683
27968
  options: options
27684
27969
  });
27685
27970
 
27686
- export { AddressFieldClass, AlertClass, AppsListClass, AutocompleteFieldClass, AvatarClass, BadgeClass, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CalendarClass, CheckboxClass, CodeSnippetClass, CollapsibleContainerClass, ComboBoxClass, ContainerClass, CountrySubdivisionCityFieldClass, DateFieldClass, DividerClass, EmailFieldClass, EnrichedTextClass, GridClass, HcaptchaClass, HoneypotClass, HybridFieldClass, IconClass, ImageClass, LinkClass, ListClass, ListItemClass, LoaderLinearClass, LoaderRadialClass, LogoClass, MappingsFieldClass, ModalClass, MultiSelectComboBoxClass, NewPasswordClass, NotificationClass, NotpImageClass, NumberFieldClass, OutboundAppButtonClass, OutboundAppsClass, PasscodeClass, PasswordClass, PasswordStrengthClass, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RadioGroupClass, RecaptchaClass, RecoveryCodesClass, SamlGroupMappingsClass, ScopesListClass, SecurityQuestionsSetupClass, SecurityQuestionsVerifyClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, ThirdPartyAppLogoClass, TimerButtonClass, TimerClass, TooltipClass, TotpImageClass, TrustedDevicesClass, UploadFileClass, UserAttributeClass, UserAuthMethodClass, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
27971
+ export { AddressFieldClass, AlertClass, AppsListClass, AttachmentClass, AutocompleteFieldClass, AvatarClass, BadgeClass, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CalendarClass, CheckboxClass, CodeSnippetClass, CollapsibleContainerClass, ComboBoxClass, ContainerClass, CountrySubdivisionCityFieldClass, DateFieldClass, DividerClass, EmailFieldClass, EnrichedTextClass, GridClass, HcaptchaClass, HoneypotClass, HybridFieldClass, IconClass, ImageClass, LinkClass, ListClass, ListItemClass, LoaderLinearClass, LoaderRadialClass, LogoClass, MappingsFieldClass, ModalClass, MultiSelectComboBoxClass, NewPasswordClass, NotificationClass, NotpImageClass, NumberFieldClass, OutboundAppButtonClass, OutboundAppsClass, PasscodeClass, PasswordClass, PasswordStrengthClass, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RadioGroupClass, RecaptchaClass, RecoveryCodesClass, SamlGroupMappingsClass, ScopesListClass, SecurityQuestionsSetupClass, SecurityQuestionsVerifyClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, ThirdPartyAppLogoClass, TimerButtonClass, TimerClass, TooltipClass, TotpImageClass, TrustedDevicesClass, UploadFileClass, UserAttributeClass, UserAuthMethodClass, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
27687
27972
  //# sourceMappingURL=index.esm.js.map