@descope/web-components-ui 1.0.311 → 1.0.313

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/cjs/index.cjs.js +1303 -906
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.esm.js +1309 -911
  5. package/dist/index.esm.js.map +1 -1
  6. package/dist/umd/1224.js +1 -1
  7. package/dist/umd/1438.js +11 -11
  8. package/dist/umd/1612.js +4 -4
  9. package/dist/umd/1621.js +8 -8
  10. package/dist/umd/2362.js +2 -2
  11. package/dist/umd/3830.js +1 -1
  12. package/dist/umd/3951.js +4 -4
  13. package/dist/umd/4024.js +4 -4
  14. package/dist/umd/4028.js +6 -6
  15. package/dist/umd/4052.js +4 -4
  16. package/dist/umd/4392.js +1 -1
  17. package/dist/umd/4569.js +1 -1
  18. package/dist/umd/4746.js +2 -2
  19. package/dist/umd/4978.js +1 -1
  20. package/dist/umd/5135.js +4 -4
  21. package/dist/umd/5517.js +1 -1
  22. package/dist/umd/5806.js +2 -2
  23. package/dist/umd/5910.js +1 -1
  24. package/dist/umd/63.js +7 -7
  25. package/dist/umd/637.js +1 -0
  26. package/dist/umd/6594.js +1 -1
  27. package/dist/umd/6770.js +2 -2
  28. package/dist/umd/7056.js +9 -9
  29. package/dist/umd/7164.js +7 -7
  30. package/dist/umd/7531.js +4 -4
  31. package/dist/umd/7911.js +4 -4
  32. package/dist/umd/8191.js +4 -4
  33. package/dist/umd/8866.js +5 -5
  34. package/dist/umd/9092.js +12 -12
  35. package/dist/umd/9314.js +5 -5
  36. package/dist/umd/9423.js +12 -12
  37. package/dist/umd/9562.js +4 -4
  38. package/dist/umd/DescopeDev.js +1 -1
  39. package/dist/umd/boolean-fields-descope-boolean-field-internal-index-js.js +1 -1
  40. package/dist/umd/boolean-fields-descope-checkbox-index-js.js +1 -1
  41. package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -1
  42. package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-index-js.js +1 -1
  43. package/dist/umd/button-selection-group-fields-descope-button-multi-selection-group-internal-index-js.js +1 -1
  44. package/dist/umd/button-selection-group-fields-descope-button-selection-group-index-js.js +1 -1
  45. package/dist/umd/button-selection-group-fields-descope-button-selection-group-internal-index-js.js +1 -1
  46. package/dist/umd/button-selection-group-fields-descope-button-selection-group-item-index-js.js +1 -1
  47. package/dist/umd/descope-avatar-index-js.js +1 -1
  48. package/dist/umd/descope-badge-index-js.js +1 -1
  49. package/dist/umd/descope-button-index-js.js +4 -4
  50. package/dist/umd/descope-code-snippet-index-js.js +1 -0
  51. package/dist/umd/descope-combo-box-index-js.js +5 -5
  52. package/dist/umd/descope-container-index-js.js +1 -1
  53. package/dist/umd/descope-date-picker-index-js.js +1 -1
  54. package/dist/umd/descope-divider-index-js.js +1 -1
  55. package/dist/umd/descope-email-field-index-js.js +4 -4
  56. package/dist/umd/descope-enriched-text-index-js.js +1 -1
  57. package/dist/umd/descope-grid-descope-grid-custom-column-index-js.js +3 -3
  58. package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +1 -1
  59. package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +3 -3
  60. package/dist/umd/descope-grid-index-js.js +1 -1
  61. package/dist/umd/descope-icon-index-js.js +1 -1
  62. package/dist/umd/descope-image-index-js.js +1 -1
  63. package/dist/umd/descope-link-index-js.js +1 -1
  64. package/dist/umd/descope-loader-linear-index-js.js +1 -1
  65. package/dist/umd/descope-loader-radial-index-js.js +1 -1
  66. package/dist/umd/descope-logo-index-js.js +1 -1
  67. package/dist/umd/descope-modal-index-js.js +1 -1
  68. package/dist/umd/descope-multi-select-combo-box-index-js.js +1 -1
  69. package/dist/umd/descope-new-password-descope-new-password-internal-index-js.js +1 -1
  70. package/dist/umd/descope-new-password-index-js.js +1 -1
  71. package/dist/umd/descope-notification-descope-notification-card-index-js.js +1 -1
  72. package/dist/umd/descope-notification-index-js.js +1 -1
  73. package/dist/umd/descope-notp-image-index-js.js +1 -1
  74. package/dist/umd/descope-number-field-index-js.js +1 -1
  75. package/dist/umd/descope-passcode-descope-passcode-internal-index-js.js +1 -1
  76. package/dist/umd/descope-passcode-index-js.js +2 -2
  77. package/dist/umd/descope-password-index-js.js +1 -1
  78. package/dist/umd/descope-policy-validation-index-js.js +1 -1
  79. package/dist/umd/descope-recaptcha-index-js.js +1 -1
  80. package/dist/umd/descope-text-area-index-js.js +1 -1
  81. package/dist/umd/descope-text-field-index-js.js +2 -2
  82. package/dist/umd/descope-text-index-js.js +1 -1
  83. package/dist/umd/descope-totp-image-index-js.js +1 -1
  84. package/dist/umd/descope-upload-file-index-js.js +1 -1
  85. package/dist/umd/descope-user-attribute-index-js.js +1 -1
  86. package/dist/umd/descope-user-auth-method-index-js.js +1 -1
  87. package/dist/umd/index.js +1 -1
  88. package/dist/umd/mapping-fields-descope-mappings-field-descope-mapping-item-index-js.js +1 -1
  89. package/dist/umd/mapping-fields-descope-mappings-field-descope-mappings-field-internal-index-js.js +1 -1
  90. package/dist/umd/mapping-fields-descope-mappings-field-index-js.js +1 -1
  91. package/dist/umd/mapping-fields-descope-saml-group-mappings-descope-saml-group-mappings-internal-index-js.js +1 -1
  92. package/dist/umd/mapping-fields-descope-saml-group-mappings-index-js.js +1 -1
  93. package/dist/umd/phone-fields-descope-phone-field-descope-phone-field-internal-index-js.js +1 -1
  94. package/dist/umd/phone-fields-descope-phone-field-index-js.js +1 -1
  95. package/dist/umd/phone-fields-descope-phone-input-box-field-descope-phone-input-box-internal-index-js.js +2 -2
  96. package/dist/umd/phone-fields-descope-phone-input-box-field-index-js.js +1 -1
  97. package/package.json +2 -1
  98. package/src/components/descope-code-snippet/CodeSnippetClass.js +238 -0
  99. package/src/components/descope-code-snippet/helpers.js +9 -0
  100. package/src/components/descope-code-snippet/index.js +5 -0
  101. package/src/components/descope-enriched-text/EnrichedTextClass.js +1 -0
  102. package/src/components/descope-link/LinkClass.js +1 -0
  103. package/src/components/descope-text/TextClass.js +1 -0
  104. package/src/darkTheme.js +4 -0
  105. package/src/index.cjs.js +1 -0
  106. package/src/index.d.ts +1 -0
  107. package/src/index.js +1 -0
  108. package/src/theme/components/codeSnippet.js +145 -0
  109. package/src/theme/components/index.js +2 -0
package/dist/index.esm.js CHANGED
@@ -18,6 +18,7 @@ import '@vaadin/avatar';
18
18
  import '@vaadin/icon';
19
19
  import '@vaadin/icons';
20
20
  import '@vaadin/custom-field';
21
+ import hljs from 'highlight.js';
21
22
  import merge from 'lodash.merge';
22
23
  import Color from 'color';
23
24
 
@@ -1344,9 +1345,9 @@ const inputEventsDispatchingMixin = (superclass) =>
1344
1345
 
1345
1346
  /* eslint-disable no-use-before-define */
1346
1347
 
1347
- const componentName$T = getComponentName('icon');
1348
+ const componentName$U = getComponentName('icon');
1348
1349
 
1349
- class RawIcon extends createBaseClass({ componentName: componentName$T, baseSelector: 'slot' }) {
1350
+ class RawIcon extends createBaseClass({ componentName: componentName$U, baseSelector: 'slot' }) {
1350
1351
  constructor() {
1351
1352
  super();
1352
1353
 
@@ -1415,7 +1416,7 @@ const clickableMixin = (superclass) =>
1415
1416
  }
1416
1417
  };
1417
1418
 
1418
- const componentName$S = getComponentName('button');
1419
+ const componentName$T = getComponentName('button');
1419
1420
 
1420
1421
  const resetStyles = `
1421
1422
  :host {
@@ -1521,7 +1522,7 @@ const ButtonClass = compose(
1521
1522
  }
1522
1523
  `,
1523
1524
  excludeAttrsSync: ['tabindex'],
1524
- componentName: componentName$S,
1525
+ componentName: componentName$T,
1525
1526
  })
1526
1527
  );
1527
1528
 
@@ -1558,7 +1559,7 @@ loadingIndicatorStyles = `
1558
1559
  }
1559
1560
  `;
1560
1561
 
1561
- customElements.define(componentName$S, ButtonClass);
1562
+ customElements.define(componentName$T, ButtonClass);
1562
1563
 
1563
1564
  const createBaseInputClass = (...args) =>
1564
1565
  compose(
@@ -1568,11 +1569,11 @@ const createBaseInputClass = (...args) =>
1568
1569
  inputEventsDispatchingMixin
1569
1570
  )(createBaseClass(...args));
1570
1571
 
1571
- const componentName$R = getComponentName('boolean-field-internal');
1572
+ const componentName$S = getComponentName('boolean-field-internal');
1572
1573
 
1573
1574
  const forwardAttributes$1 = ['disabled', 'label', 'invalid', 'readonly'];
1574
1575
 
1575
- const BaseInputClass$8 = createBaseInputClass({ componentName: componentName$R, baseSelector: 'div' });
1576
+ const BaseInputClass$8 = createBaseInputClass({ componentName: componentName$S, baseSelector: 'div' });
1576
1577
 
1577
1578
  class BooleanInputInternal extends BaseInputClass$8 {
1578
1579
  static get observedAttributes() {
@@ -1648,14 +1649,14 @@ const booleanFieldMixin = (superclass) =>
1648
1649
 
1649
1650
  const template = document.createElement('template');
1650
1651
  template.innerHTML = `
1651
- <${componentName$R}
1652
+ <${componentName$S}
1652
1653
  tabindex="-1"
1653
1654
  slot="input"
1654
- ></${componentName$R}>
1655
+ ></${componentName$S}>
1655
1656
  `;
1656
1657
 
1657
1658
  this.baseElement.appendChild(template.content.cloneNode(true));
1658
- this.inputElement = this.shadowRoot.querySelector(componentName$R);
1659
+ this.inputElement = this.shadowRoot.querySelector(componentName$S);
1659
1660
  this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
1660
1661
 
1661
1662
  forwardAttrs(this, this.inputElement, {
@@ -1854,7 +1855,7 @@ descope-boolean-field-internal {
1854
1855
  }
1855
1856
  `;
1856
1857
 
1857
- const componentName$Q = getComponentName('checkbox');
1858
+ const componentName$R = getComponentName('checkbox');
1858
1859
 
1859
1860
  const {
1860
1861
  host: host$m,
@@ -1960,15 +1961,15 @@ const CheckboxClass = compose(
1960
1961
  }
1961
1962
  `,
1962
1963
  excludeAttrsSync: ['label', 'tabindex'],
1963
- componentName: componentName$Q,
1964
+ componentName: componentName$R,
1964
1965
  })
1965
1966
  );
1966
1967
 
1967
- customElements.define(componentName$R, BooleanInputInternal);
1968
+ customElements.define(componentName$S, BooleanInputInternal);
1968
1969
 
1969
- customElements.define(componentName$Q, CheckboxClass);
1970
+ customElements.define(componentName$R, CheckboxClass);
1970
1971
 
1971
- const componentName$P = getComponentName('switch-toggle');
1972
+ const componentName$Q = getComponentName('switch-toggle');
1972
1973
 
1973
1974
  const {
1974
1975
  host: host$l,
@@ -2100,17 +2101,17 @@ const SwitchToggleClass = compose(
2100
2101
  }
2101
2102
  `,
2102
2103
  excludeAttrsSync: ['label', 'tabindex'],
2103
- componentName: componentName$P,
2104
+ componentName: componentName$Q,
2104
2105
  })
2105
2106
  );
2106
2107
 
2107
- customElements.define(componentName$P, SwitchToggleClass);
2108
+ customElements.define(componentName$Q, SwitchToggleClass);
2108
2109
 
2109
- const componentName$O = getComponentName('loader-linear');
2110
+ const componentName$P = getComponentName('loader-linear');
2110
2111
 
2111
- class RawLoaderLinear extends createBaseClass({ componentName: componentName$O, baseSelector: ':host > div' }) {
2112
+ class RawLoaderLinear extends createBaseClass({ componentName: componentName$P, baseSelector: ':host > div' }) {
2112
2113
  static get componentName() {
2113
- return componentName$O;
2114
+ return componentName$P;
2114
2115
  }
2115
2116
 
2116
2117
  constructor() {
@@ -2171,11 +2172,11 @@ const LoaderLinearClass = compose(
2171
2172
  componentNameValidationMixin
2172
2173
  )(RawLoaderLinear);
2173
2174
 
2174
- customElements.define(componentName$O, LoaderLinearClass);
2175
+ customElements.define(componentName$P, LoaderLinearClass);
2175
2176
 
2176
- const componentName$N = getComponentName('loader-radial');
2177
+ const componentName$O = getComponentName('loader-radial');
2177
2178
 
2178
- class RawLoaderRadial extends createBaseClass({ componentName: componentName$N, baseSelector: ':host > div' }) {
2179
+ class RawLoaderRadial extends createBaseClass({ componentName: componentName$O, baseSelector: ':host > div' }) {
2179
2180
  constructor() {
2180
2181
  super();
2181
2182
 
@@ -2219,11 +2220,11 @@ const LoaderRadialClass = compose(
2219
2220
  componentNameValidationMixin
2220
2221
  )(RawLoaderRadial);
2221
2222
 
2222
- customElements.define(componentName$N, LoaderRadialClass);
2223
+ customElements.define(componentName$O, LoaderRadialClass);
2223
2224
 
2224
- const componentName$M = getComponentName('container');
2225
+ const componentName$N = getComponentName('container');
2225
2226
 
2226
- class RawContainer extends createBaseClass({ componentName: componentName$M, baseSelector: 'slot' }) {
2227
+ class RawContainer extends createBaseClass({ componentName: componentName$N, baseSelector: 'slot' }) {
2227
2228
  constructor() {
2228
2229
  super();
2229
2230
 
@@ -2276,11 +2277,11 @@ const ContainerClass = compose(
2276
2277
  componentNameValidationMixin
2277
2278
  )(RawContainer);
2278
2279
 
2279
- customElements.define(componentName$M, ContainerClass);
2280
+ customElements.define(componentName$N, ContainerClass);
2280
2281
 
2281
- const componentName$L = getComponentName('text');
2282
+ const componentName$M = getComponentName('text');
2282
2283
 
2283
- class RawText extends createBaseClass({ componentName: componentName$L, baseSelector: ':host > slot' }) {
2284
+ class RawText extends createBaseClass({ componentName: componentName$M, baseSelector: ':host > slot' }) {
2284
2285
  constructor() {
2285
2286
  super();
2286
2287
 
@@ -2288,6 +2289,7 @@ class RawText extends createBaseClass({ componentName: componentName$L, baseSele
2288
2289
  <style>
2289
2290
  :host {
2290
2291
  display: inline-block;
2292
+ line-height: 1em;
2291
2293
  }
2292
2294
  :host > slot {
2293
2295
  width: 100%;
@@ -2336,8 +2338,8 @@ const TextClass = compose(
2336
2338
  componentNameValidationMixin
2337
2339
  )(RawText);
2338
2340
 
2339
- const componentName$K = getComponentName('divider');
2340
- class RawDivider extends createBaseClass({ componentName: componentName$K, baseSelector: ':host > div' }) {
2341
+ const componentName$L = getComponentName('divider');
2342
+ class RawDivider extends createBaseClass({ componentName: componentName$L, baseSelector: ':host > div' }) {
2341
2343
  constructor() {
2342
2344
  super();
2343
2345
 
@@ -2436,9 +2438,9 @@ const DividerClass = compose(
2436
2438
  componentNameValidationMixin
2437
2439
  )(RawDivider);
2438
2440
 
2439
- customElements.define(componentName$L, TextClass);
2441
+ customElements.define(componentName$M, TextClass);
2440
2442
 
2441
- customElements.define(componentName$K, DividerClass);
2443
+ customElements.define(componentName$L, DividerClass);
2442
2444
 
2443
2445
  const {
2444
2446
  host: host$i,
@@ -2535,7 +2537,7 @@ var textFieldMappings = {
2535
2537
  ],
2536
2538
  };
2537
2539
 
2538
- const componentName$J = getComponentName('email-field');
2540
+ const componentName$K = getComponentName('email-field');
2539
2541
 
2540
2542
  const customMixin$8 = (superclass) =>
2541
2543
  class EmailFieldMixinClass extends superclass {
@@ -2570,15 +2572,15 @@ const EmailFieldClass = compose(
2570
2572
  ${resetInputOverrides('vaadin-email-field', EmailFieldClass.cssVarList)}
2571
2573
  `,
2572
2574
  excludeAttrsSync: ['tabindex'],
2573
- componentName: componentName$J,
2575
+ componentName: componentName$K,
2574
2576
  })
2575
2577
  );
2576
2578
 
2577
- customElements.define(componentName$J, EmailFieldClass);
2579
+ customElements.define(componentName$K, EmailFieldClass);
2578
2580
 
2579
- const componentName$I = getComponentName('link');
2581
+ const componentName$J = getComponentName('link');
2580
2582
 
2581
- class RawLink extends createBaseClass({ componentName: componentName$I, baseSelector: ':host a' }) {
2583
+ class RawLink extends createBaseClass({ componentName: componentName$J, baseSelector: ':host a' }) {
2582
2584
  constructor() {
2583
2585
  super();
2584
2586
 
@@ -2586,6 +2588,7 @@ class RawLink extends createBaseClass({ componentName: componentName$I, baseSele
2586
2588
  <style>
2587
2589
  :host {
2588
2590
  display: inline-block;
2591
+ line-height: 1em;
2589
2592
  }
2590
2593
  :host a {
2591
2594
  display: inline;
@@ -2643,7 +2646,7 @@ const LinkClass = compose(
2643
2646
  componentNameValidationMixin
2644
2647
  )(RawLink);
2645
2648
 
2646
- customElements.define(componentName$I, LinkClass);
2649
+ customElements.define(componentName$J, LinkClass);
2647
2650
 
2648
2651
  const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
2649
2652
  let style;
@@ -2695,37 +2698,37 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
2695
2698
  return CssVarImageClass;
2696
2699
  };
2697
2700
 
2698
- const componentName$H = getComponentName('logo');
2701
+ const componentName$I = getComponentName('logo');
2699
2702
 
2700
2703
  const LogoClass = createCssVarImageClass({
2701
- componentName: componentName$H,
2704
+ componentName: componentName$I,
2702
2705
  varName: 'url',
2703
2706
  fallbackVarName: 'fallbackUrl',
2704
2707
  });
2705
2708
 
2706
- customElements.define(componentName$H, LogoClass);
2709
+ customElements.define(componentName$I, LogoClass);
2707
2710
 
2708
- const componentName$G = getComponentName('totp-image');
2711
+ const componentName$H = getComponentName('totp-image');
2709
2712
 
2710
2713
  const TotpImageClass = createCssVarImageClass({
2711
- componentName: componentName$G,
2714
+ componentName: componentName$H,
2712
2715
  varName: 'url',
2713
2716
  fallbackVarName: 'fallbackUrl',
2714
2717
  });
2715
2718
 
2716
- customElements.define(componentName$G, TotpImageClass);
2719
+ customElements.define(componentName$H, TotpImageClass);
2717
2720
 
2718
- const componentName$F = getComponentName('notp-image');
2721
+ const componentName$G = getComponentName('notp-image');
2719
2722
 
2720
2723
  const NotpImageClass = createCssVarImageClass({
2721
- componentName: componentName$F,
2724
+ componentName: componentName$G,
2722
2725
  varName: 'url',
2723
2726
  fallbackVarName: 'fallbackUrl',
2724
2727
  });
2725
2728
 
2726
- customElements.define(componentName$F, NotpImageClass);
2729
+ customElements.define(componentName$G, NotpImageClass);
2727
2730
 
2728
- const componentName$E = getComponentName('number-field');
2731
+ const componentName$F = getComponentName('number-field');
2729
2732
 
2730
2733
  const NumberFieldClass = compose(
2731
2734
  createStyleMixin({
@@ -2751,11 +2754,11 @@ const NumberFieldClass = compose(
2751
2754
  ${resetInputOverrides('vaadin-number-field', NumberFieldClass.cssVarList)}
2752
2755
  `,
2753
2756
  excludeAttrsSync: ['tabindex'],
2754
- componentName: componentName$E,
2757
+ componentName: componentName$F,
2755
2758
  })
2756
2759
  );
2757
2760
 
2758
- customElements.define(componentName$E, NumberFieldClass);
2761
+ customElements.define(componentName$F, NumberFieldClass);
2759
2762
 
2760
2763
  const focusElement = (ele) => {
2761
2764
  ele?.focus();
@@ -2773,13 +2776,13 @@ const getSanitizedCharacters = (str) => {
2773
2776
 
2774
2777
  /* eslint-disable no-param-reassign */
2775
2778
 
2776
- const componentName$D = getComponentName('passcode-internal');
2779
+ const componentName$E = getComponentName('passcode-internal');
2777
2780
 
2778
2781
  const observedAttributes$5 = ['digits', 'loading'];
2779
2782
 
2780
2783
  const forwardAttributes = ['disabled', 'bordered', 'size', 'invalid', 'readonly'];
2781
2784
 
2782
- const BaseInputClass$7 = createBaseInputClass({ componentName: componentName$D, baseSelector: 'div' });
2785
+ const BaseInputClass$7 = createBaseInputClass({ componentName: componentName$E, baseSelector: 'div' });
2783
2786
 
2784
2787
  class PasscodeInternal extends BaseInputClass$7 {
2785
2788
  static get observedAttributes() {
@@ -3005,7 +3008,7 @@ class PasscodeInternal extends BaseInputClass$7 {
3005
3008
  }
3006
3009
  }
3007
3010
 
3008
- const componentName$C = getComponentName('text-field');
3011
+ const componentName$D = getComponentName('text-field');
3009
3012
 
3010
3013
  const observedAttrs = ['type'];
3011
3014
 
@@ -3080,11 +3083,11 @@ const TextFieldClass = compose(
3080
3083
  ${resetInputOverrides('vaadin-text-field', TextFieldClass.cssVarList)}
3081
3084
  `,
3082
3085
  excludeAttrsSync: ['tabindex'],
3083
- componentName: componentName$C,
3086
+ componentName: componentName$D,
3084
3087
  })
3085
3088
  );
3086
3089
 
3087
- const componentName$B = getComponentName('passcode');
3090
+ const componentName$C = getComponentName('passcode');
3088
3091
 
3089
3092
  const observedAttributes$4 = ['digits'];
3090
3093
 
@@ -3103,17 +3106,17 @@ const customMixin$6 = (superclass) =>
3103
3106
  const template = document.createElement('template');
3104
3107
 
3105
3108
  template.innerHTML = `
3106
- <${componentName$D}
3109
+ <${componentName$E}
3107
3110
  bordered="true"
3108
3111
  name="code"
3109
3112
  tabindex="-1"
3110
3113
  slot="input"
3111
- ><slot></slot></${componentName$D}>
3114
+ ><slot></slot></${componentName$E}>
3112
3115
  `;
3113
3116
 
3114
3117
  this.baseElement.appendChild(template.content.cloneNode(true));
3115
3118
 
3116
- this.inputElement = this.shadowRoot.querySelector(componentName$D);
3119
+ this.inputElement = this.shadowRoot.querySelector(componentName$E);
3117
3120
 
3118
3121
  forwardAttrs(this, this.inputElement, { includeAttrs: ['digits', 'size', 'loading'] });
3119
3122
  }
@@ -3260,15 +3263,15 @@ const PasscodeClass = compose(
3260
3263
  ${resetInputCursor('vaadin-text-field')}
3261
3264
  `,
3262
3265
  excludeAttrsSync: ['tabindex'],
3263
- componentName: componentName$B,
3266
+ componentName: componentName$C,
3264
3267
  })
3265
3268
  );
3266
3269
 
3267
- customElements.define(componentName$C, TextFieldClass);
3270
+ customElements.define(componentName$D, TextFieldClass);
3268
3271
 
3269
- customElements.define(componentName$D, PasscodeInternal);
3272
+ customElements.define(componentName$E, PasscodeInternal);
3270
3273
 
3271
- customElements.define(componentName$B, PasscodeClass);
3274
+ customElements.define(componentName$C, PasscodeClass);
3272
3275
 
3273
3276
  const passwordDraggableMixin = (superclass) =>
3274
3277
  class PasswordDraggableMixinClass extends superclass {
@@ -3304,7 +3307,7 @@ const passwordDraggableMixin = (superclass) =>
3304
3307
  }
3305
3308
  };
3306
3309
 
3307
- const componentName$A = getComponentName('password');
3310
+ const componentName$B = getComponentName('password');
3308
3311
 
3309
3312
  const {
3310
3313
  host: host$f,
@@ -3433,11 +3436,11 @@ const PasswordClass = compose(
3433
3436
  }
3434
3437
  `,
3435
3438
  excludeAttrsSync: ['tabindex'],
3436
- componentName: componentName$A,
3439
+ componentName: componentName$B,
3437
3440
  })
3438
3441
  );
3439
3442
 
3440
- customElements.define(componentName$A, PasswordClass);
3443
+ customElements.define(componentName$B, PasswordClass);
3441
3444
 
3442
3445
  const textRuleSet = {
3443
3446
  components: {
@@ -3453,9 +3456,9 @@ const textRuleSet = {
3453
3456
  },
3454
3457
  };
3455
3458
 
3456
- const componentName$z = getComponentName('enriched-text');
3459
+ const componentName$A = getComponentName('enriched-text');
3457
3460
 
3458
- let EnrichedText$2 = class EnrichedText extends createBaseClass({ componentName: componentName$z, baseSelector: ':host > div' }) {
3461
+ let EnrichedText$2 = class EnrichedText extends createBaseClass({ componentName: componentName$A, baseSelector: ':host > div' }) {
3459
3462
  #origLinkRenderer;
3460
3463
 
3461
3464
  constructor() {
@@ -3465,6 +3468,7 @@ let EnrichedText$2 = class EnrichedText extends createBaseClass({ componentName:
3465
3468
  <style>
3466
3469
  :host {
3467
3470
  display: inline-block;
3471
+ line-height: 1em;
3468
3472
  }
3469
3473
  :host > slot {
3470
3474
  width: 100%;
@@ -3615,9 +3619,9 @@ const EnrichedTextClass = compose(
3615
3619
  componentNameValidationMixin
3616
3620
  )(EnrichedText$2);
3617
3621
 
3618
- customElements.define(componentName$z, EnrichedTextClass);
3622
+ customElements.define(componentName$A, EnrichedTextClass);
3619
3623
 
3620
- const componentName$y = getComponentName('text-area');
3624
+ const componentName$z = getComponentName('text-area');
3621
3625
 
3622
3626
  const {
3623
3627
  host: host$e,
@@ -3693,17 +3697,17 @@ const TextAreaClass = compose(
3693
3697
  ${resetInputCursor('vaadin-text-area')}
3694
3698
  `,
3695
3699
  excludeAttrsSync: ['tabindex'],
3696
- componentName: componentName$y,
3700
+ componentName: componentName$z,
3697
3701
  })
3698
3702
  );
3699
3703
 
3700
- customElements.define(componentName$y, TextAreaClass);
3704
+ customElements.define(componentName$z, TextAreaClass);
3701
3705
 
3702
3706
  const observedAttributes$3 = ['src', 'alt'];
3703
3707
 
3704
- const componentName$x = getComponentName('image');
3708
+ const componentName$y = getComponentName('image');
3705
3709
 
3706
- const BaseClass$1 = createBaseClass({ componentName: componentName$x, baseSelector: ':host > img' });
3710
+ const BaseClass$1 = createBaseClass({ componentName: componentName$y, baseSelector: ':host > img' });
3707
3711
  class RawImage extends BaseClass$1 {
3708
3712
  static get observedAttributes() {
3709
3713
  return observedAttributes$3.concat(BaseClass$1.observedAttributes || []);
@@ -3743,9 +3747,9 @@ const ImageClass = compose(
3743
3747
  draggableMixin
3744
3748
  )(RawImage);
3745
3749
 
3746
- customElements.define(componentName$x, ImageClass);
3750
+ customElements.define(componentName$y, ImageClass);
3747
3751
 
3748
- const componentName$w = getComponentName('combo-box');
3752
+ const componentName$x = getComponentName('combo-box');
3749
3753
 
3750
3754
  const ComboBoxMixin = (superclass) =>
3751
3755
  class ComboBoxMixinClass extends superclass {
@@ -4128,12 +4132,12 @@ const ComboBoxClass = compose(
4128
4132
  // and reset items to an empty array, and opening the list box with no items
4129
4133
  // to display.
4130
4134
  excludeAttrsSync: ['tabindex', 'size', 'data'],
4131
- componentName: componentName$w,
4135
+ componentName: componentName$x,
4132
4136
  includeForwardProps: ['items', 'renderer', 'selectedItem'],
4133
4137
  })
4134
4138
  );
4135
4139
 
4136
- customElements.define(componentName$w, ComboBoxClass);
4140
+ customElements.define(componentName$x, ComboBoxClass);
4137
4141
 
4138
4142
  var CountryCodes = [
4139
4143
  // United States should be the first option
@@ -5376,7 +5380,7 @@ const comboBoxItem = ({ code, dialCode, name: country }) => `
5376
5380
  </div>
5377
5381
  `;
5378
5382
 
5379
- const componentName$v = getComponentName('phone-field-internal');
5383
+ const componentName$w = getComponentName('phone-field-internal');
5380
5384
 
5381
5385
  const commonAttrs$1 = ['disabled', 'size', 'bordered', 'invalid', 'readonly'];
5382
5386
  const countryAttrs = ['country-input-placeholder', 'default-code', 'restrict-countries'];
@@ -5388,7 +5392,7 @@ const mapAttrs$1 = {
5388
5392
 
5389
5393
  const inputRelatedAttrs$1 = [].concat(commonAttrs$1, countryAttrs, phoneAttrs);
5390
5394
 
5391
- const BaseInputClass$6 = createBaseInputClass({ componentName: componentName$v, baseSelector: 'div' });
5395
+ const BaseInputClass$6 = createBaseInputClass({ componentName: componentName$w, baseSelector: 'div' });
5392
5396
 
5393
5397
  let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$6 {
5394
5398
  static get observedAttributes() {
@@ -5560,12 +5564,12 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$6 {
5560
5564
  }
5561
5565
  };
5562
5566
 
5563
- customElements.define(componentName$v, PhoneFieldInternal$1);
5567
+ customElements.define(componentName$w, PhoneFieldInternal$1);
5564
5568
 
5565
5569
  const textVars$1 = TextFieldClass.cssVarList;
5566
5570
  const comboVars = ComboBoxClass.cssVarList;
5567
5571
 
5568
- const componentName$u = getComponentName('phone-field');
5572
+ const componentName$v = getComponentName('phone-field');
5569
5573
 
5570
5574
  const customMixin$5 = (superclass) =>
5571
5575
  class PhoneFieldMixinClass extends superclass {
@@ -5579,15 +5583,15 @@ const customMixin$5 = (superclass) =>
5579
5583
  const template = document.createElement('template');
5580
5584
 
5581
5585
  template.innerHTML = `
5582
- <${componentName$v}
5586
+ <${componentName$w}
5583
5587
  tabindex="-1"
5584
5588
  slot="input"
5585
- ></${componentName$v}>
5589
+ ></${componentName$w}>
5586
5590
  `;
5587
5591
 
5588
5592
  this.baseElement.appendChild(template.content.cloneNode(true));
5589
5593
 
5590
- this.inputElement = this.shadowRoot.querySelector(componentName$v);
5594
+ this.inputElement = this.shadowRoot.querySelector(componentName$w);
5591
5595
 
5592
5596
  forwardAttrs(this.shadowRoot.host, this.inputElement, {
5593
5597
  includeAttrs: [
@@ -5783,17 +5787,17 @@ const PhoneFieldClass = compose(
5783
5787
  ${resetInputLabelPosition('vaadin-text-field')}
5784
5788
  `,
5785
5789
  excludeAttrsSync: ['tabindex'],
5786
- componentName: componentName$u,
5790
+ componentName: componentName$v,
5787
5791
  })
5788
5792
  );
5789
5793
 
5790
- customElements.define(componentName$u, PhoneFieldClass);
5794
+ customElements.define(componentName$v, PhoneFieldClass);
5791
5795
 
5792
5796
  const getCountryByCodeId = (countryCode) => {
5793
5797
  return CountryCodes.find((c) => c.code === countryCode)?.dialCode;
5794
5798
  };
5795
5799
 
5796
- const componentName$t = getComponentName('phone-field-internal-input-box');
5800
+ const componentName$u = getComponentName('phone-field-internal-input-box');
5797
5801
 
5798
5802
  const observedAttributes$2 = [
5799
5803
  'disabled',
@@ -5809,7 +5813,7 @@ const mapAttrs = {
5809
5813
  'phone-input-placeholder': 'placeholder',
5810
5814
  };
5811
5815
 
5812
- const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$t, baseSelector: 'div' });
5816
+ const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$u, baseSelector: 'div' });
5813
5817
 
5814
5818
  class PhoneFieldInternal extends BaseInputClass$5 {
5815
5819
  static get observedAttributes() {
@@ -5948,11 +5952,11 @@ class PhoneFieldInternal extends BaseInputClass$5 {
5948
5952
  }
5949
5953
  }
5950
5954
 
5951
- customElements.define(componentName$t, PhoneFieldInternal);
5955
+ customElements.define(componentName$u, PhoneFieldInternal);
5952
5956
 
5953
5957
  const textVars = TextFieldClass.cssVarList;
5954
5958
 
5955
- const componentName$s = getComponentName('phone-input-box-field');
5959
+ const componentName$t = getComponentName('phone-input-box-field');
5956
5960
 
5957
5961
  const customMixin$4 = (superclass) =>
5958
5962
  class PhoneInputBoxFieldMixinClass extends superclass {
@@ -5966,15 +5970,15 @@ const customMixin$4 = (superclass) =>
5966
5970
  const template = document.createElement('template');
5967
5971
 
5968
5972
  template.innerHTML = `
5969
- <${componentName$t}
5973
+ <${componentName$u}
5970
5974
  tabindex="-1"
5971
5975
  slot="input"
5972
- ></${componentName$t}>
5976
+ ></${componentName$u}>
5973
5977
  `;
5974
5978
 
5975
5979
  this.baseElement.appendChild(template.content.cloneNode(true));
5976
5980
 
5977
- this.inputElement = this.shadowRoot.querySelector(componentName$t);
5981
+ this.inputElement = this.shadowRoot.querySelector(componentName$u);
5978
5982
 
5979
5983
  forwardAttrs(this.shadowRoot.host, this.inputElement, {
5980
5984
  includeAttrs: [
@@ -6107,26 +6111,26 @@ const PhoneFieldInputBoxClass = compose(
6107
6111
  ${resetInputLabelPosition('vaadin-text-field')}
6108
6112
  `,
6109
6113
  excludeAttrsSync: ['tabindex'],
6110
- componentName: componentName$s,
6114
+ componentName: componentName$t,
6111
6115
  })
6112
6116
  );
6113
6117
 
6114
- customElements.define(componentName$s, PhoneFieldInputBoxClass);
6118
+ customElements.define(componentName$t, PhoneFieldInputBoxClass);
6115
6119
 
6116
- const componentName$r = getComponentName('new-password-internal');
6120
+ const componentName$s = getComponentName('new-password-internal');
6117
6121
 
6118
6122
  const interpolateString = (template, values) =>
6119
6123
  template.replace(/{{(\w+)+}}/g, (match, key) => values?.[key] || match);
6120
6124
 
6121
6125
  // eslint-disable-next-line max-classes-per-file
6122
6126
 
6123
- const componentName$q = getComponentName('policy-validation');
6127
+ const componentName$r = getComponentName('policy-validation');
6124
6128
 
6125
6129
  const overrideAttrs = ['data-password-policy-value-minlength'];
6126
6130
  const dataAttrs = ['data', 'active-policies', 'overrides', ...overrideAttrs];
6127
6131
  const policyAttrs = ['label', 'value', ...dataAttrs];
6128
6132
 
6129
- class RawPolicyValidation extends createBaseClass({ componentName: componentName$q, baseSelector: ':host > div' }) {
6133
+ class RawPolicyValidation extends createBaseClass({ componentName: componentName$r, baseSelector: ':host > div' }) {
6130
6134
  #availablePolicies;
6131
6135
 
6132
6136
  #activePolicies = [];
@@ -6334,7 +6338,7 @@ const PolicyValidationClass = compose(
6334
6338
  componentNameValidationMixin
6335
6339
  )(RawPolicyValidation);
6336
6340
 
6337
- const componentName$p = getComponentName('new-password');
6341
+ const componentName$q = getComponentName('new-password');
6338
6342
 
6339
6343
  const policyPreviewVars = PolicyValidationClass.cssVarList;
6340
6344
 
@@ -6346,16 +6350,16 @@ const customMixin$3 = (superclass) =>
6346
6350
  const template = document.createElement('template');
6347
6351
 
6348
6352
  template.innerHTML = `
6349
- <${componentName$r}
6353
+ <${componentName$s}
6350
6354
  name="new-password"
6351
6355
  tabindex="-1"
6352
6356
  slot="input"
6353
- ></${componentName$r}>
6357
+ ></${componentName$s}>
6354
6358
  `;
6355
6359
 
6356
6360
  this.baseElement.appendChild(template.content.cloneNode(true));
6357
6361
 
6358
- this.inputElement = this.shadowRoot.querySelector(componentName$r);
6362
+ this.inputElement = this.shadowRoot.querySelector(componentName$s);
6359
6363
 
6360
6364
  forwardAttrs(this, this.inputElement, {
6361
6365
  includeAttrs: [
@@ -6487,11 +6491,11 @@ const NewPasswordClass = compose(
6487
6491
  }
6488
6492
  `,
6489
6493
  excludeAttrsSync: ['tabindex'],
6490
- componentName: componentName$p,
6494
+ componentName: componentName$q,
6491
6495
  })
6492
6496
  );
6493
6497
 
6494
- customElements.define(componentName$q, PolicyValidationClass);
6498
+ customElements.define(componentName$r, PolicyValidationClass);
6495
6499
 
6496
6500
  const passwordAttrPrefixRegex = /^password-/;
6497
6501
  const confirmAttrPrefixRegex = /^confirm-/;
@@ -6520,7 +6524,7 @@ const inputRelatedAttrs = [].concat(
6520
6524
  policyPanelAttrs
6521
6525
  );
6522
6526
 
6523
- const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$r, baseSelector: 'div' });
6527
+ const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$s, baseSelector: 'div' });
6524
6528
 
6525
6529
  class NewPasswordInternal extends BaseInputClass$4 {
6526
6530
  static get observedAttributes() {
@@ -6731,16 +6735,16 @@ class NewPasswordInternal extends BaseInputClass$4 {
6731
6735
  }
6732
6736
  }
6733
6737
 
6734
- customElements.define(componentName$r, NewPasswordInternal);
6738
+ customElements.define(componentName$s, NewPasswordInternal);
6735
6739
 
6736
- customElements.define(componentName$p, NewPasswordClass);
6740
+ customElements.define(componentName$q, NewPasswordClass);
6737
6741
 
6738
- const componentName$o = getComponentName('recaptcha');
6742
+ const componentName$p = getComponentName('recaptcha');
6739
6743
 
6740
6744
  const observedAttributes$1 = ['enabled', 'site-key', 'action', 'enterprise'];
6741
6745
 
6742
6746
  const BaseClass = createBaseClass({
6743
- componentName: componentName$o,
6747
+ componentName: componentName$p,
6744
6748
  baseSelector: ':host > div',
6745
6749
  });
6746
6750
  class RawRecaptcha extends BaseClass {
@@ -6910,7 +6914,7 @@ class RawRecaptcha extends BaseClass {
6910
6914
 
6911
6915
  const RecaptchaClass = compose(draggableMixin)(RawRecaptcha);
6912
6916
 
6913
- customElements.define(componentName$o, RecaptchaClass);
6917
+ customElements.define(componentName$p, RecaptchaClass);
6914
6918
 
6915
6919
  const getFileBase64 = (fileObj) => {
6916
6920
  return new Promise((resolve) => {
@@ -6924,7 +6928,7 @@ const getFilename = (fileObj) => {
6924
6928
  return fileObj.name.replace(/^.*\\/, '');
6925
6929
  };
6926
6930
 
6927
- const componentName$n = getComponentName('upload-file');
6931
+ const componentName$o = getComponentName('upload-file');
6928
6932
 
6929
6933
  const observedAttributes = [
6930
6934
  'title',
@@ -6939,7 +6943,7 @@ const observedAttributes = [
6939
6943
  'icon',
6940
6944
  ];
6941
6945
 
6942
- const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$n, baseSelector: ':host > div' });
6946
+ const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$o, baseSelector: ':host > div' });
6943
6947
 
6944
6948
  class RawUploadFile extends BaseInputClass$3 {
6945
6949
  static get observedAttributes() {
@@ -7111,7 +7115,7 @@ class RawUploadFile extends BaseInputClass$3 {
7111
7115
  }
7112
7116
 
7113
7117
  const buttonVars = ButtonClass.cssVarList;
7114
- const { host: host$8, wrapper, icon: icon$2, title, description, requiredIndicator: requiredIndicator$2 } = {
7118
+ const { host: host$8, wrapper, icon: icon$2, title: title$1, description, requiredIndicator: requiredIndicator$2 } = {
7115
7119
  host: { selector: () => ':host' },
7116
7120
  wrapper: { selector: () => ':host > div' },
7117
7121
  icon: { selector: () => '::slotted(*)' },
@@ -7139,11 +7143,11 @@ const UploadFileClass = compose(
7139
7143
  ],
7140
7144
  gap: { ...wrapper },
7141
7145
  lineHeight: { ...wrapper, property: 'line-height' },
7142
- titleFontSize: { ...title, property: 'font-size' },
7143
- titleFontWeight: { ...title, property: 'font-weight' },
7146
+ titleFontSize: { ...title$1, property: 'font-size' },
7147
+ titleFontWeight: { ...title$1, property: 'font-weight' },
7144
7148
  descriptionFontSize: { ...description, property: 'font-size' },
7145
7149
  labelTextColor: [
7146
- { ...title, property: 'color' },
7150
+ { ...title$1, property: 'color' },
7147
7151
  { ...description, property: 'color' },
7148
7152
  ],
7149
7153
  iconSize: { ...icon$2, property: 'width' },
@@ -7154,7 +7158,7 @@ const UploadFileClass = compose(
7154
7158
  componentNameValidationMixin
7155
7159
  )(RawUploadFile);
7156
7160
 
7157
- customElements.define(componentName$n, UploadFileClass);
7161
+ customElements.define(componentName$o, UploadFileClass);
7158
7162
 
7159
7163
  const createBaseButtonSelectionGroupInternalClass = (componentName) => {
7160
7164
  class BaseButtonSelectionGroupInternalClass extends createBaseInputClass({
@@ -7252,10 +7256,10 @@ const createBaseButtonSelectionGroupInternalClass = (componentName) => {
7252
7256
  return BaseButtonSelectionGroupInternalClass;
7253
7257
  };
7254
7258
 
7255
- const componentName$m = getComponentName('button-selection-group-internal');
7259
+ const componentName$n = getComponentName('button-selection-group-internal');
7256
7260
 
7257
7261
  class ButtonSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
7258
- componentName$m
7262
+ componentName$n
7259
7263
  ) {
7260
7264
  getSelectedNode() {
7261
7265
  return this.items.find((item) => item.hasAttribute('selected'));
@@ -7487,7 +7491,7 @@ const buttonSelectionGroupStyles = `
7487
7491
  ${resetInputCursor('vaadin-text-field')}
7488
7492
  `;
7489
7493
 
7490
- const componentName$l = getComponentName('button-selection-group');
7494
+ const componentName$m = getComponentName('button-selection-group');
7491
7495
 
7492
7496
  const buttonSelectionGroupMixin = (superclass) =>
7493
7497
  class ButtonMultiSelectionGroupMixinClass extends superclass {
@@ -7496,19 +7500,19 @@ const buttonSelectionGroupMixin = (superclass) =>
7496
7500
  const template = document.createElement('template');
7497
7501
 
7498
7502
  template.innerHTML = `
7499
- <${componentName$m}
7503
+ <${componentName$n}
7500
7504
  name="button-selection-group"
7501
7505
  slot="input"
7502
7506
  tabindex="-1"
7503
7507
  part="internal-component"
7504
7508
  >
7505
7509
  <slot></slot>
7506
- </${componentName$m}>
7510
+ </${componentName$n}>
7507
7511
  `;
7508
7512
 
7509
7513
  this.baseElement.appendChild(template.content.cloneNode(true));
7510
7514
 
7511
- this.inputElement = this.shadowRoot.querySelector(componentName$m);
7515
+ this.inputElement = this.shadowRoot.querySelector(componentName$n);
7512
7516
 
7513
7517
  forwardAttrs(this, this.inputElement, {
7514
7518
  includeAttrs: ['size', 'default-value', 'allow-deselect'],
@@ -7533,16 +7537,16 @@ const ButtonSelectionGroupClass = compose(
7533
7537
  wrappedEleName: 'vaadin-text-field',
7534
7538
  style: () => buttonSelectionGroupStyles,
7535
7539
  excludeAttrsSync: ['tabindex'],
7536
- componentName: componentName$l,
7540
+ componentName: componentName$m,
7537
7541
  })
7538
7542
  );
7539
7543
 
7540
- customElements.define(componentName$m, ButtonSelectionGroupInternalClass);
7544
+ customElements.define(componentName$n, ButtonSelectionGroupInternalClass);
7541
7545
 
7542
- const componentName$k = getComponentName('button-selection-group-item');
7546
+ const componentName$l = getComponentName('button-selection-group-item');
7543
7547
 
7544
7548
  class RawSelectItem extends createBaseClass({
7545
- componentName: componentName$k,
7549
+ componentName: componentName$l,
7546
7550
  baseSelector: ':host > descope-button',
7547
7551
  }) {
7548
7552
  get size() {
@@ -7649,14 +7653,14 @@ const ButtonSelectionGroupItemClass = compose(
7649
7653
  componentNameValidationMixin
7650
7654
  )(RawSelectItem);
7651
7655
 
7652
- customElements.define(componentName$k, ButtonSelectionGroupItemClass);
7656
+ customElements.define(componentName$l, ButtonSelectionGroupItemClass);
7653
7657
 
7654
- customElements.define(componentName$l, ButtonSelectionGroupClass);
7658
+ customElements.define(componentName$m, ButtonSelectionGroupClass);
7655
7659
 
7656
- const componentName$j = getComponentName('button-multi-selection-group-internal');
7660
+ const componentName$k = getComponentName('button-multi-selection-group-internal');
7657
7661
 
7658
7662
  class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGroupInternalClass(
7659
- componentName$j
7663
+ componentName$k
7660
7664
  ) {
7661
7665
  #getSelectedNodes() {
7662
7666
  return this.items.filter((item) => item.hasAttribute('selected'));
@@ -7759,7 +7763,7 @@ class ButtonMultiSelectionGroupInternalClass extends createBaseButtonSelectionGr
7759
7763
  }
7760
7764
  }
7761
7765
 
7762
- const componentName$i = getComponentName('button-multi-selection-group');
7766
+ const componentName$j = getComponentName('button-multi-selection-group');
7763
7767
 
7764
7768
  const buttonMultiSelectionGroupMixin = (superclass) =>
7765
7769
  class ButtonMultiSelectionGroupMixinClass extends superclass {
@@ -7768,19 +7772,19 @@ const buttonMultiSelectionGroupMixin = (superclass) =>
7768
7772
  const template = document.createElement('template');
7769
7773
 
7770
7774
  template.innerHTML = `
7771
- <${componentName$j}
7775
+ <${componentName$k}
7772
7776
  name="button-selection-group"
7773
7777
  slot="input"
7774
7778
  tabindex="-1"
7775
7779
  part="internal-component"
7776
7780
  >
7777
7781
  <slot></slot>
7778
- </${componentName$j}>
7782
+ </${componentName$k}>
7779
7783
  `;
7780
7784
 
7781
7785
  this.baseElement.appendChild(template.content.cloneNode(true));
7782
7786
 
7783
- this.inputElement = this.shadowRoot.querySelector(componentName$j);
7787
+ this.inputElement = this.shadowRoot.querySelector(componentName$k);
7784
7788
 
7785
7789
  forwardAttrs(this, this.inputElement, {
7786
7790
  includeAttrs: ['size', 'default-values', 'min-items-selection', 'max-items-selection'],
@@ -7805,13 +7809,13 @@ const ButtonMultiSelectionGroupClass = compose(
7805
7809
  wrappedEleName: 'vaadin-text-field',
7806
7810
  style: () => buttonSelectionGroupStyles,
7807
7811
  excludeAttrsSync: ['tabindex'],
7808
- componentName: componentName$i,
7812
+ componentName: componentName$j,
7809
7813
  })
7810
7814
  );
7811
7815
 
7812
- customElements.define(componentName$j, ButtonMultiSelectionGroupInternalClass);
7816
+ customElements.define(componentName$k, ButtonMultiSelectionGroupInternalClass);
7813
7817
 
7814
- customElements.define(componentName$i, ButtonMultiSelectionGroupClass);
7818
+ customElements.define(componentName$j, ButtonMultiSelectionGroupClass);
7815
7819
 
7816
7820
  /* eslint-disable no-param-reassign */
7817
7821
 
@@ -7839,9 +7843,9 @@ class GridTextColumnClass extends GridSortColumn {
7839
7843
  }
7840
7844
  }
7841
7845
 
7842
- const componentName$h = getComponentName('grid-text-column');
7846
+ const componentName$i = getComponentName('grid-text-column');
7843
7847
 
7844
- customElements.define(componentName$h, GridTextColumnClass);
7848
+ customElements.define(componentName$i, GridTextColumnClass);
7845
7849
 
7846
7850
  /* eslint-disable no-param-reassign */
7847
7851
 
@@ -7876,9 +7880,9 @@ class GridCustomColumnClass extends GridTextColumnClass {
7876
7880
 
7877
7881
  /* eslint-disable no-param-reassign */
7878
7882
 
7879
- const componentName$g = getComponentName('grid-custom-column');
7883
+ const componentName$h = getComponentName('grid-custom-column');
7880
7884
 
7881
- customElements.define(componentName$g, GridCustomColumnClass);
7885
+ customElements.define(componentName$h, GridCustomColumnClass);
7882
7886
 
7883
7887
  const createCheckboxEle = () => {
7884
7888
  const checkbox = document.createElement('descope-checkbox');
@@ -7937,9 +7941,9 @@ class GridSelectionColumnClass extends GridSelectionColumn {
7937
7941
  }
7938
7942
  }
7939
7943
 
7940
- const componentName$f = getComponentName('grid-selection-column');
7944
+ const componentName$g = getComponentName('grid-selection-column');
7941
7945
 
7942
- customElements.define(componentName$f, GridSelectionColumnClass);
7946
+ customElements.define(componentName$g, GridSelectionColumnClass);
7943
7947
 
7944
7948
  const isValidDataType = (data) => {
7945
7949
  const isValid = Array.isArray(data);
@@ -7951,7 +7955,7 @@ const isValidDataType = (data) => {
7951
7955
  return isValid;
7952
7956
  };
7953
7957
 
7954
- const componentName$e = getComponentName('grid');
7958
+ const componentName$f = getComponentName('grid');
7955
7959
 
7956
7960
  const GridMixin = (superclass) =>
7957
7961
  class GridMixinClass extends superclass {
@@ -8187,13 +8191,13 @@ const GridClass = compose(
8187
8191
  }
8188
8192
  `,
8189
8193
  excludeAttrsSync: ['columns', 'tabindex'],
8190
- componentName: componentName$e,
8194
+ componentName: componentName$f,
8191
8195
  })
8192
8196
  );
8193
8197
 
8194
- customElements.define(componentName$e, GridClass);
8198
+ customElements.define(componentName$f, GridClass);
8195
8199
 
8196
- const componentName$d = getComponentName('multi-select-combo-box');
8200
+ const componentName$e = getComponentName('multi-select-combo-box');
8197
8201
 
8198
8202
  const multiSelectComboBoxMixin = (superclass) =>
8199
8203
  class MultiSelectComboBoxMixinClass extends superclass {
@@ -8797,16 +8801,16 @@ const MultiSelectComboBoxClass = compose(
8797
8801
  // Note: we exclude `placeholder` because the vaadin component observes it and
8798
8802
  // tries to override it, causing us to lose the user set placeholder.
8799
8803
  excludeAttrsSync: ['tabindex', 'size', 'data', 'placeholder'],
8800
- componentName: componentName$d,
8804
+ componentName: componentName$e,
8801
8805
  includeForwardProps: ['items', 'renderer', 'selectedItems'],
8802
8806
  })
8803
8807
  );
8804
8808
 
8805
- customElements.define(componentName$d, MultiSelectComboBoxClass);
8809
+ customElements.define(componentName$e, MultiSelectComboBoxClass);
8806
8810
 
8807
- const componentName$c = getComponentName('badge');
8811
+ const componentName$d = getComponentName('badge');
8808
8812
 
8809
- class RawBadge extends createBaseClass({ componentName: componentName$c, baseSelector: ':host > div' }) {
8813
+ class RawBadge extends createBaseClass({ componentName: componentName$d, baseSelector: ':host > div' }) {
8810
8814
  constructor() {
8811
8815
  super();
8812
8816
 
@@ -8857,9 +8861,9 @@ const BadgeClass = compose(
8857
8861
  componentNameValidationMixin
8858
8862
  )(RawBadge);
8859
8863
 
8860
- customElements.define(componentName$c, BadgeClass);
8864
+ customElements.define(componentName$d, BadgeClass);
8861
8865
 
8862
- const componentName$b = getComponentName('modal');
8866
+ const componentName$c = getComponentName('modal');
8863
8867
 
8864
8868
  const customMixin$2 = (superclass) =>
8865
8869
  class ModalMixinClass extends superclass {
@@ -8958,11 +8962,11 @@ const ModalClass = compose(
8958
8962
  wrappedEleName: 'vaadin-dialog',
8959
8963
  style: () => ``,
8960
8964
  excludeAttrsSync: ['tabindex', 'opened'],
8961
- componentName: componentName$b,
8965
+ componentName: componentName$c,
8962
8966
  })
8963
8967
  );
8964
8968
 
8965
- customElements.define(componentName$b, ModalClass);
8969
+ customElements.define(componentName$c, ModalClass);
8966
8970
 
8967
8971
  const vaadinContainerClass = window.customElements.get('vaadin-notification-container');
8968
8972
 
@@ -8973,7 +8977,7 @@ if (!vaadinContainerClass) {
8973
8977
  class NotificationContainerClass extends vaadinContainerClass {}
8974
8978
  customElements.define(getComponentName('notification-container'), NotificationContainerClass);
8975
8979
 
8976
- const componentName$a = getComponentName('notification-card');
8980
+ const componentName$b = getComponentName('notification-card');
8977
8981
 
8978
8982
  const notificationCardMixin = (superclass) =>
8979
8983
  class NotificationCardMixinClass extends superclass {
@@ -9081,13 +9085,13 @@ const NotificationCardClass = compose(
9081
9085
  }
9082
9086
  `,
9083
9087
  excludeAttrsSync: ['tabindex'],
9084
- componentName: componentName$a,
9088
+ componentName: componentName$b,
9085
9089
  })
9086
9090
  );
9087
9091
 
9088
- customElements.define(componentName$a, NotificationCardClass);
9092
+ customElements.define(componentName$b, NotificationCardClass);
9089
9093
 
9090
- const componentName$9 = getComponentName('notification');
9094
+ const componentName$a = getComponentName('notification');
9091
9095
 
9092
9096
  const NotificationMixin = (superclass) =>
9093
9097
  class NotificationMixinClass extends superclass {
@@ -9182,14 +9186,14 @@ const NotificationClass = compose(
9182
9186
  createProxy({
9183
9187
  wrappedEleName: 'vaadin-notification',
9184
9188
  excludeAttrsSync: ['tabindex'],
9185
- componentName: componentName$9,
9189
+ componentName: componentName$a,
9186
9190
  })
9187
9191
  );
9188
9192
 
9189
- customElements.define(componentName$9, NotificationClass);
9193
+ customElements.define(componentName$a, NotificationClass);
9190
9194
 
9191
- const componentName$8 = getComponentName('avatar');
9192
- class RawAvatar extends createBaseClass({ componentName: componentName$8, baseSelector: ':host > .wrapper' }) {
9195
+ const componentName$9 = getComponentName('avatar');
9196
+ class RawAvatar extends createBaseClass({ componentName: componentName$9, baseSelector: ':host > .wrapper' }) {
9193
9197
  constructor() {
9194
9198
  super();
9195
9199
 
@@ -9290,13 +9294,13 @@ const AvatarClass = compose(
9290
9294
  componentNameValidationMixin
9291
9295
  )(RawAvatar);
9292
9296
 
9293
- customElements.define(componentName$8, AvatarClass);
9297
+ customElements.define(componentName$9, AvatarClass);
9294
9298
 
9295
- customElements.define(componentName$T, IconClass);
9299
+ customElements.define(componentName$U, IconClass);
9296
9300
 
9297
- const componentName$7 = getComponentName('mappings-field-internal');
9301
+ const componentName$8 = getComponentName('mappings-field-internal');
9298
9302
 
9299
- const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$7, baseSelector: 'div' });
9303
+ const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$8, baseSelector: 'div' });
9300
9304
 
9301
9305
  class MappingsFieldInternal extends BaseInputClass$2 {
9302
9306
  #errorItem;
@@ -9531,7 +9535,7 @@ class MappingsFieldInternal extends BaseInputClass$2 {
9531
9535
  }
9532
9536
  }
9533
9537
 
9534
- const componentName$6 = getComponentName('mappings-field');
9538
+ const componentName$7 = getComponentName('mappings-field');
9535
9539
 
9536
9540
  const customMixin$1 = (superclass) =>
9537
9541
  class MappingsFieldMixinClass extends superclass {
@@ -9560,14 +9564,14 @@ const customMixin$1 = (superclass) =>
9560
9564
  const template = document.createElement('template');
9561
9565
 
9562
9566
  template.innerHTML = `
9563
- <${componentName$7}
9567
+ <${componentName$8}
9564
9568
  tabindex="-1"
9565
- ></${componentName$7}>
9569
+ ></${componentName$8}>
9566
9570
  `;
9567
9571
 
9568
9572
  this.baseElement.appendChild(template.content.cloneNode(true));
9569
9573
 
9570
- this.inputElement = this.shadowRoot.querySelector(componentName$7);
9574
+ this.inputElement = this.shadowRoot.querySelector(componentName$8);
9571
9575
 
9572
9576
  forwardAttrs(this, this.inputElement, {
9573
9577
  includeAttrs: [
@@ -9696,17 +9700,17 @@ const MappingsFieldClass = compose(
9696
9700
  'options',
9697
9701
  'error-message',
9698
9702
  ],
9699
- componentName: componentName$6,
9703
+ componentName: componentName$7,
9700
9704
  })
9701
9705
  );
9702
9706
 
9703
- customElements.define(componentName$7, MappingsFieldInternal);
9707
+ customElements.define(componentName$8, MappingsFieldInternal);
9704
9708
 
9705
- const componentName$5 = getComponentName('mapping-item');
9709
+ const componentName$6 = getComponentName('mapping-item');
9706
9710
 
9707
9711
  const inputAttrs = ['size', 'bordered', 'readonly', 'full-width', 'disabled'];
9708
9712
 
9709
- const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$5, baseSelector: 'div' });
9713
+ const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$6, baseSelector: 'div' });
9710
9714
 
9711
9715
  class MappingItem extends BaseInputClass$1 {
9712
9716
  static get observedAttributes() {
@@ -9856,17 +9860,17 @@ class MappingItem extends BaseInputClass$1 {
9856
9860
  }
9857
9861
  }
9858
9862
 
9859
- customElements.define(componentName$5, MappingItem);
9863
+ customElements.define(componentName$6, MappingItem);
9860
9864
 
9861
- customElements.define(componentName$6, MappingsFieldClass);
9865
+ customElements.define(componentName$7, MappingsFieldClass);
9862
9866
 
9863
9867
  var deleteIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxNCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgMTZDMSAxNy4xIDEuOSAxOCAzIDE4SDExQzEyLjEgMTggMTMgMTcuMSAxMyAxNlY0SDFWMTZaTTMgNkgxMVYxNkgzVjZaTTEwLjUgMUw5LjUgMEg0LjVMMy41IDFIMFYzSDE0VjFIMTAuNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
9864
9868
 
9865
9869
  var editIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDIgMC45OTIxNDlDMTAuMDAwMiAxLjAxNjE1IDEwLjAwMDIgMS4wMTYxNSAxMC4wMDAyIDEuMDE2MTVMOC4yMjQxOSAzLjAwODE1SDIuOTkyMTlDMi40NjQxOSAzLjAwODE1IDIuMDA4MTkgMy40NDAxNSAyLjAwODE5IDMuOTkyMTVWMTIuMDA4MkMyLjAwODE5IDEyLjUzNjIgMi40NDAxOSAxMi45OTIyIDIuOTkyMTkgMTIuOTkyMkg1LjUzNjE5QzUuODQ4MTkgMTMuMDQwMiA2LjE2MDE5IDEzLjA0MDIgNi40NzIxOSAxMi45OTIySDExLjAwODJDMTEuNTM2MiAxMi45OTIyIDExLjk5MjIgMTIuNTYwMiAxMS45OTIyIDEyLjAwODJWNy43ODQxNkwxMy45MzYyIDUuNjI0MTVMMTQuMDA4MiA1LjY3MjE1VjExLjk4NDJDMTQuMDA4MiAxMy42NjQyIDEyLjY2NDIgMTUuMDA4MiAxMS4wMDgyIDE1LjAwODJIMy4wMTYxOUMxLjMzNjE5IDE1LjAwODIgLTAuMDA3ODEyNSAxMy42NjQyIC0wLjAwNzgxMjUgMTEuOTg0MlYzLjk5MjE1Qy0wLjAwNzgxMjUgMi4zMzYxNSAxLjMzNjE5IDAuOTkyMTQ5IDMuMDE2MTkgMC45OTIxNDlIMTAuMDAwMlpNMTEuMjcyMiAyLjYyNDE1TDEyLjYxNjIgNC4xMTIxNUw3LjcyMDE5IDkuNjgwMTZDNy41MDQxOSA5LjkyMDE2IDYuODMyMTkgMTAuMjMyMiA1LjY4MDE5IDEwLjYxNjJDNS42NTYxOSAxMC42NDAyIDUuNjA4MTkgMTAuNjQwMiA1LjU2MDE5IDEwLjYxNjJDNS40NjQxOSAxMC41OTIyIDUuMzkyMTkgMTAuNDcyMiA1LjQ0MDE5IDEwLjM3NjJDNS43NTIxOSA5LjI0ODE2IDYuMDQwMTkgOC41NTIxNiA2LjI1NjE5IDguMzEyMTZMMTEuMjcyMiAyLjYyNDE1Wk0xMS45MjAyIDEuODU2MTVMMTMuMjg4MiAwLjMyMDE0OUMxMy42NDgyIC0wLjA4Nzg1MTYgMTQuMjcyMiAtMC4xMTE4NTIgMTQuNjgwMiAwLjI3MjE0OUMxNS4wODgyIDAuNjMyMTQ5IDE1LjExMjIgMS4yODAxNSAxNC43NTIyIDEuNjg4MTVMMTMuMjY0MiAzLjM2ODE1TDExLjkyMDIgMS44NTYxNVoiIGZpbGw9ImN1cnJlbnRjb2xvciIvPgo8L3N2Zz4K";
9866
9870
 
9867
- const componentName$4 = getComponentName('user-attribute');
9871
+ const componentName$5 = getComponentName('user-attribute');
9868
9872
  class RawUserAttribute extends createBaseClass({
9869
- componentName: componentName$4,
9873
+ componentName: componentName$5,
9870
9874
  baseSelector: ':host > .root',
9871
9875
  }) {
9872
9876
  constructor() {
@@ -10096,13 +10100,13 @@ const UserAttributeClass = compose(
10096
10100
  componentNameValidationMixin
10097
10101
  )(RawUserAttribute);
10098
10102
 
10099
- customElements.define(componentName$4, UserAttributeClass);
10103
+ customElements.define(componentName$5, UserAttributeClass);
10100
10104
 
10101
10105
  var greenVIcon = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggMEMzLjYgMCAwIDMuNiAwIDhDMCAxMi40IDMuNiAxNiA4IDE2QzEyLjQgMTYgMTYgMTIuNCAxNiA4QzE2IDMuNiAxMi40IDAgOCAwWk03LjEgMTEuN0wyLjkgNy42TDQuMyA2LjJMNyA4LjlMMTIgNEwxMy40IDUuNEw3LjEgMTEuN1oiIGZpbGw9IiM0Q0FGNTAiLz4KPC9zdmc+Cg==";
10102
10106
 
10103
- const componentName$3 = getComponentName('user-auth-method');
10107
+ const componentName$4 = getComponentName('user-auth-method');
10104
10108
  class RawUserAuthMethod extends createBaseClass({
10105
- componentName: componentName$3,
10109
+ componentName: componentName$4,
10106
10110
  baseSelector: ':host > .root',
10107
10111
  }) {
10108
10112
  constructor() {
@@ -10294,11 +10298,11 @@ const UserAuthMethodClass = compose(
10294
10298
  componentNameValidationMixin
10295
10299
  )(RawUserAuthMethod);
10296
10300
 
10297
- customElements.define(componentName$3, UserAuthMethodClass);
10301
+ customElements.define(componentName$4, UserAuthMethodClass);
10298
10302
 
10299
- const componentName$2 = getComponentName('saml-group-mappings-internal');
10303
+ const componentName$3 = getComponentName('saml-group-mappings-internal');
10300
10304
 
10301
- const BaseInputClass = createBaseInputClass({ componentName: componentName$2, baseSelector: '' });
10305
+ const BaseInputClass = createBaseInputClass({ componentName: componentName$3, baseSelector: '' });
10302
10306
 
10303
10307
  class SamlGroupMappingsInternal extends BaseInputClass {
10304
10308
  static get observedAttributes() {
@@ -10424,7 +10428,7 @@ class SamlGroupMappingsInternal extends BaseInputClass {
10424
10428
  }
10425
10429
  }
10426
10430
 
10427
- const componentName$1 = getComponentName('saml-group-mappings');
10431
+ const componentName$2 = getComponentName('saml-group-mappings');
10428
10432
 
10429
10433
  const customMixin = (superclass) =>
10430
10434
  class SamlGroupMappingsMixinClass extends superclass {
@@ -10434,14 +10438,14 @@ const customMixin = (superclass) =>
10434
10438
  const template = document.createElement('template');
10435
10439
 
10436
10440
  template.innerHTML = `
10437
- <${componentName$2}
10441
+ <${componentName$3}
10438
10442
  tabindex="-1"
10439
- ></${componentName$2}>
10443
+ ></${componentName$3}>
10440
10444
  `;
10441
10445
 
10442
10446
  this.baseElement.appendChild(template.content.cloneNode(true));
10443
10447
 
10444
- this.inputElement = this.shadowRoot.querySelector(componentName$2);
10448
+ this.inputElement = this.shadowRoot.querySelector(componentName$3);
10445
10449
 
10446
10450
  forwardAttrs(this, this.inputElement, {
10447
10451
  includeAttrs: [
@@ -10518,13 +10522,257 @@ const SamlGroupMappingsClass = compose(
10518
10522
  'options',
10519
10523
  'error-message',
10520
10524
  ],
10521
- componentName: componentName$1,
10525
+ componentName: componentName$2,
10522
10526
  })
10523
10527
  );
10524
10528
 
10525
- customElements.define(componentName$2, SamlGroupMappingsInternal);
10529
+ customElements.define(componentName$3, SamlGroupMappingsInternal);
10530
+
10531
+ customElements.define(componentName$2, SamlGroupMappingsClass);
10532
+
10533
+ const decode = (input) => {
10534
+ const txt = document.createElement('textarea');
10535
+ txt.innerHTML = input;
10536
+ return txt.value;
10537
+ };
10538
+
10539
+ const tpl = (input, inline) => {
10540
+ return inline ? input : `<pre>${input}</pre>`;
10541
+ };
10542
+
10543
+ const componentName$1 = getComponentName('code-snippet');
10544
+
10545
+ let CodeSnippet$1 = class CodeSnippet extends createBaseClass({ componentName: componentName$1, baseSelector: ':host > code' }) {
10546
+ static get observedAttributes() {
10547
+ return ['lang', 'inline'];
10548
+ }
10549
+
10550
+ constructor() {
10551
+ super();
10552
+
10553
+ this.attachShadow({ mode: 'open' }).innerHTML = `
10554
+ <style>
10555
+ :host {
10556
+ display: inline-block;
10557
+ width: 100%;
10558
+ }
10559
+ code {
10560
+ display: block;
10561
+ width: 100%;
10562
+ min-height: 1em;
10563
+ overflow-x: scroll;
10564
+ overflow-y: scroll;
10565
+ }
10566
+ pre {
10567
+ margin: 0;
10568
+ }
10569
+ </style>
10570
+ <code class="hljs"></code>
10571
+ `;
10572
+ }
10573
+
10574
+ init() {
10575
+ super.init?.();
10576
+
10577
+ this.lang = this.getAttribute('lang');
10578
+ this.isInline = this.getAttribute('inline') === 'true';
10526
10579
 
10527
- customElements.define(componentName$1, SamlGroupMappingsClass);
10580
+ observeChildren(this, this.#renderSnippet.bind(this));
10581
+ }
10582
+
10583
+ get contentNode() {
10584
+ return this.shadowRoot.querySelector(this.baseSelector);
10585
+ }
10586
+
10587
+ attributeChangedCallback(attrName, oldValue, newValue) {
10588
+ super.attributeChangedCallback?.(attrName, oldValue, newValue);
10589
+
10590
+ if (oldValue !== newValue) {
10591
+ if (attrName === 'inline') {
10592
+ this.isInline = newValue;
10593
+ }
10594
+
10595
+ if (attrName === 'lang') {
10596
+ this.lang = newValue;
10597
+ }
10598
+
10599
+ this.#renderSnippet();
10600
+ }
10601
+ }
10602
+
10603
+ #renderSnippet() {
10604
+ const sanitized = decode(this.textContent);
10605
+ const language = this.lang;
10606
+
10607
+ if (!language) {
10608
+ this.contentNode.textContent = sanitized;
10609
+ return;
10610
+ }
10611
+
10612
+ const { value: highlighted } = hljs.highlight(sanitized, { language });
10613
+
10614
+ this.contentNode.innerHTML = tpl(highlighted, this.isInline);
10615
+ }
10616
+ };
10617
+
10618
+ const {
10619
+ root,
10620
+ docTag,
10621
+ keyword,
10622
+ metaKeyword,
10623
+ templateTag,
10624
+ templateVariable,
10625
+ type,
10626
+ variableLanguage,
10627
+ title,
10628
+ titleClass,
10629
+ titleClassInherited,
10630
+ titleFunction,
10631
+ attr,
10632
+ attribute,
10633
+ literal,
10634
+ meta,
10635
+ number,
10636
+ operator,
10637
+ variable,
10638
+ selectorAttr,
10639
+ selectorClass,
10640
+ selectorId,
10641
+ regexp,
10642
+ string,
10643
+ metaString,
10644
+ builtIn,
10645
+ symbol,
10646
+ comment,
10647
+ code,
10648
+ formula,
10649
+ name,
10650
+ quote,
10651
+ selectorTag,
10652
+ selectorPseudo,
10653
+ subst,
10654
+ section,
10655
+ bullet,
10656
+ emphasis,
10657
+ strong,
10658
+ addition,
10659
+ deletion,
10660
+ charEscape,
10661
+ link: link$2,
10662
+ params,
10663
+ property,
10664
+ punctuation,
10665
+ tag,
10666
+ } = {
10667
+ root: { selector: () => '.hljs' },
10668
+ docTag: { selector: () => '.hljs-doctag' },
10669
+ keyword: { selector: () => '.hljs-keyword' },
10670
+ metaKeyword: { selector: () => '.hljs-meta .hljs-keyword' },
10671
+ templateTag: { selector: () => '.hljs-template-tag' },
10672
+ templateVariable: { selector: () => '.hljs-template-variable' },
10673
+ type: { selector: () => '.hljs-type' },
10674
+ variableLanguage: { selector: () => '.hljs-variable.language' },
10675
+ title: { selector: () => '.hljs-title' },
10676
+ titleClass: { selector: () => '.hljs-title.class_' },
10677
+ titleClassInherited: { selector: () => '.hljs-title.class_.inherited__' },
10678
+ titleFunction: { selector: () => '.hljs-title.function_' },
10679
+ attr: { selector: () => '.hljs-attr' },
10680
+ attribute: { selector: () => '.hljs-attribute' },
10681
+ literal: { selector: () => '.hljs-literal' },
10682
+ meta: { selector: () => '.hljs-meta' },
10683
+ number: { selector: () => '.hljs-number' },
10684
+ operator: { selector: () => '.hljs-operator' },
10685
+ variable: { selector: () => '.hljs-variable' },
10686
+ selectorAttr: { selector: () => '.hljs-selector-attr' },
10687
+ selectorClass: { selector: () => '.hljs-selector-class' },
10688
+ selectorId: { selector: () => '.hljs-selector-id' },
10689
+ regexp: { selector: () => '.hljs-regexp' },
10690
+ string: { selector: () => '.hljs-string' },
10691
+ metaString: { selector: () => '.hljs-meta .hljs-string' },
10692
+ builtIn: { selector: () => '.hljs-built_in' },
10693
+ symbol: { selector: () => '.hljs-symbol' },
10694
+ comment: { selector: () => '.hljs-comment' },
10695
+ code: { selector: () => '.hljs-code' },
10696
+ formula: { selector: () => '.hljs-formula' },
10697
+ name: { selector: () => '.hljs-name' },
10698
+ quote: { selector: () => '.hljs-quote' },
10699
+ selectorTag: { selector: () => '.hljs-selector-tag' },
10700
+ selectorPseudo: { selector: () => '.hljs-selector-pseudo' },
10701
+ subst: { selector: () => '.hljs-subst' },
10702
+ section: { selector: () => '.hljs-section' },
10703
+ bullet: { selector: () => '.hljs-bullet' },
10704
+ emphasis: { selector: () => '.hljs-emphasis' },
10705
+ strong: { selector: () => '.hljs-strong' },
10706
+ addition: { selector: () => '.hljs-addition' },
10707
+ deletion: { selector: () => '.hljs-deletion' },
10708
+ charEscape: { selector: () => '.hljs-char.escape' },
10709
+ link: { selector: () => '.hljs-link' },
10710
+ params: { selector: () => '.hljs-params' },
10711
+ property: { selector: () => '.hljs-property' },
10712
+ punctuation: { selector: () => '.hljs-punctuation' },
10713
+ tag: { selector: () => '.hljs-tag' },
10714
+ };
10715
+
10716
+ const CodeSnippetClass = compose(
10717
+ createStyleMixin({
10718
+ mappings: {
10719
+ rootBgColor: { ...root, property: 'background-color' },
10720
+ rootTextColor: { ...root, property: 'color' },
10721
+ docTagTextColor: { ...docTag, property: 'color' },
10722
+ keywordTextColor: { ...keyword, property: 'color' },
10723
+ metaKeywordTextColor: { ...metaKeyword, property: 'color' },
10724
+ templateTagTextColor: { ...templateTag, property: 'color' },
10725
+ templateVariableTextColor: { ...templateVariable, property: 'color' },
10726
+ typeTextColor: { ...type, property: 'color' },
10727
+ variableLanguageTextColor: { ...variableLanguage, property: 'color' },
10728
+ titleTextColor: { ...title, property: 'color' },
10729
+ titleClassTextColor: { ...titleClass, property: 'color' },
10730
+ titleClassInheritedTextColor: { ...titleClassInherited, property: 'color' },
10731
+ titleFunctionTextColor: { ...titleFunction, property: 'color' },
10732
+ attrTextColor: { ...attr, property: 'color' },
10733
+ attributeTextColor: { ...attribute, property: 'color' },
10734
+ literalTextColor: { ...literal, property: 'color' },
10735
+ metaTextColor: { ...meta, property: 'color' },
10736
+ numberTextColor: { ...number, property: 'color' },
10737
+ operatorTextColor: { ...operator, property: 'color' },
10738
+ variableTextColor: { ...variable, property: 'color' },
10739
+ selectorAttrTextColor: { ...selectorAttr, property: 'color' },
10740
+ selectorClassTextColor: { ...selectorClass, property: 'color' },
10741
+ selectorIdTextColor: { ...selectorId, property: 'color' },
10742
+ regexpTextColor: { ...regexp, property: 'color' },
10743
+ stringTextColor: { ...string, property: 'color' },
10744
+ metaStringTextColor: { ...metaString, property: 'color' },
10745
+ builtInTextColor: { ...builtIn, property: 'color' },
10746
+ symbolTextColor: { ...symbol, property: 'color' },
10747
+ commentTextColor: { ...comment, property: 'color' },
10748
+ codeTextColor: { ...code, property: 'color' },
10749
+ formulaTextColor: { ...formula, property: 'color' },
10750
+ nameTextColor: { ...name, property: 'color' },
10751
+ quoteTextColor: { ...quote, property: 'color' },
10752
+ selectorTagTextColor: { ...selectorTag, property: 'color' },
10753
+ selectorPseudoTextColor: { ...selectorPseudo, property: 'color' },
10754
+ substTextColor: { ...subst, property: 'color' },
10755
+ sectionTextColor: { ...section, property: 'color' },
10756
+ bulletTextColor: { ...bullet, property: 'color' },
10757
+ emphasisTextColor: { ...emphasis, property: 'color' },
10758
+ strongTextColor: { ...strong, property: 'color' },
10759
+ additionTextColor: { ...addition, property: 'color' },
10760
+ additionBgColor: { ...addition, property: 'background-color' },
10761
+ deletionTextColor: { ...deletion, property: 'color' },
10762
+ deletionBgColor: { ...deletion, property: 'background-color' },
10763
+ charEscapeTextColor: { ...charEscape, property: 'color' },
10764
+ linkTextColor: { ...link$2, property: 'color' },
10765
+ paramsTextColor: { ...params, property: 'color' },
10766
+ propertyTextColor: { ...property, property: 'color' },
10767
+ punctuationTextColor: { ...punctuation, property: 'color' },
10768
+ tagTextColor: { ...tag, property: 'color' },
10769
+ },
10770
+ }),
10771
+ draggableMixin,
10772
+ componentNameValidationMixin
10773
+ )(CodeSnippet$1);
10774
+
10775
+ customElements.define(componentName$1, CodeSnippetClass);
10528
10776
 
10529
10777
  const getVarName = (path) => getCssVarName(DESCOPE_PREFIX, ...path);
10530
10778
 
@@ -10956,33 +11204,33 @@ const globals = {
10956
11204
  fonts,
10957
11205
  direction,
10958
11206
  };
10959
- const vars$G = getThemeVars(globals);
11207
+ const vars$H = getThemeVars(globals);
10960
11208
 
10961
- const globalRefs$o = getThemeRefs(globals);
11209
+ const globalRefs$p = getThemeRefs(globals);
10962
11210
  const compVars$5 = ButtonClass.cssVarList;
10963
11211
 
10964
11212
  const mode = {
10965
- primary: globalRefs$o.colors.primary,
10966
- secondary: globalRefs$o.colors.secondary,
10967
- success: globalRefs$o.colors.success,
10968
- error: globalRefs$o.colors.error,
10969
- surface: globalRefs$o.colors.surface,
11213
+ primary: globalRefs$p.colors.primary,
11214
+ secondary: globalRefs$p.colors.secondary,
11215
+ success: globalRefs$p.colors.success,
11216
+ error: globalRefs$p.colors.error,
11217
+ surface: globalRefs$p.colors.surface,
10970
11218
  };
10971
11219
 
10972
- const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$S);
11220
+ const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$T);
10973
11221
 
10974
11222
  const button = {
10975
11223
  ...helperTheme$3,
10976
11224
 
10977
- [compVars$5.fontFamily]: globalRefs$o.fonts.font1.family,
11225
+ [compVars$5.fontFamily]: globalRefs$p.fonts.font1.family,
10978
11226
 
10979
11227
  [compVars$5.cursor]: 'pointer',
10980
11228
  [compVars$5.hostHeight]: '3em',
10981
11229
  [compVars$5.hostWidth]: 'auto',
10982
- [compVars$5.hostDirection]: globalRefs$o.direction,
11230
+ [compVars$5.hostDirection]: globalRefs$p.direction,
10983
11231
 
10984
- [compVars$5.borderRadius]: globalRefs$o.radius.sm,
10985
- [compVars$5.borderWidth]: globalRefs$o.border.xs,
11232
+ [compVars$5.borderRadius]: globalRefs$p.radius.sm,
11233
+ [compVars$5.borderWidth]: globalRefs$p.border.xs,
10986
11234
  [compVars$5.borderStyle]: 'solid',
10987
11235
  [compVars$5.borderColor]: 'transparent',
10988
11236
 
@@ -11025,11 +11273,11 @@ const button = {
11025
11273
  },
11026
11274
 
11027
11275
  _disabled: {
11028
- [helperVars$3.main]: globalRefs$o.colors.surface.light,
11029
- [helperVars$3.dark]: globalRefs$o.colors.surface.dark,
11030
- [helperVars$3.light]: globalRefs$o.colors.surface.light,
11031
- [helperVars$3.contrast]: globalRefs$o.colors.surface.main,
11032
- [compVars$5.iconColor]: globalRefs$o.colors.surface.main,
11276
+ [helperVars$3.main]: globalRefs$p.colors.surface.light,
11277
+ [helperVars$3.dark]: globalRefs$p.colors.surface.dark,
11278
+ [helperVars$3.light]: globalRefs$p.colors.surface.light,
11279
+ [helperVars$3.contrast]: globalRefs$p.colors.surface.main,
11280
+ [compVars$5.iconColor]: globalRefs$p.colors.surface.main,
11033
11281
  },
11034
11282
 
11035
11283
  variant: {
@@ -11077,7 +11325,7 @@ const button = {
11077
11325
  },
11078
11326
  };
11079
11327
 
11080
- const vars$F = {
11328
+ const vars$G = {
11081
11329
  ...compVars$5,
11082
11330
  ...helperVars$3,
11083
11331
  };
@@ -11085,28 +11333,28 @@ const vars$F = {
11085
11333
  var button$1 = /*#__PURE__*/Object.freeze({
11086
11334
  __proto__: null,
11087
11335
  default: button,
11088
- vars: vars$F
11336
+ vars: vars$G
11089
11337
  });
11090
11338
 
11091
11339
  const componentName = getComponentName('input-wrapper');
11092
- const globalRefs$n = getThemeRefs(globals);
11340
+ const globalRefs$o = getThemeRefs(globals);
11093
11341
 
11094
- const [theme$1, refs, vars$E] = createHelperVars(
11342
+ const [theme$1, refs, vars$F] = createHelperVars(
11095
11343
  {
11096
- labelTextColor: globalRefs$n.colors.surface.dark,
11344
+ labelTextColor: globalRefs$o.colors.surface.dark,
11097
11345
  labelFontSize: '14px', // not taken from globals as it is fixed in all inputs
11098
- valueTextColor: globalRefs$n.colors.surface.contrast,
11099
- placeholderTextColor: globalRefs$n.colors.surface.dark,
11346
+ valueTextColor: globalRefs$o.colors.surface.contrast,
11347
+ placeholderTextColor: globalRefs$o.colors.surface.dark,
11100
11348
  requiredIndicator: "'*'",
11101
- helperTextColor: globalRefs$n.colors.surface.dark,
11102
- errorMessageTextColor: globalRefs$n.colors.error.main,
11103
- successMessageTextColor: globalRefs$n.colors.success.main,
11349
+ helperTextColor: globalRefs$o.colors.surface.dark,
11350
+ errorMessageTextColor: globalRefs$o.colors.error.main,
11351
+ successMessageTextColor: globalRefs$o.colors.success.main,
11104
11352
 
11105
- borderWidth: globalRefs$n.border.xs,
11106
- borderRadius: globalRefs$n.radius.xs,
11353
+ borderWidth: globalRefs$o.border.xs,
11354
+ borderRadius: globalRefs$o.radius.xs,
11107
11355
  borderColor: 'transparent',
11108
11356
 
11109
- outlineWidth: globalRefs$n.border.sm,
11357
+ outlineWidth: globalRefs$o.border.sm,
11110
11358
  outlineStyle: 'solid',
11111
11359
  outlineColor: 'transparent',
11112
11360
  outlineOffset: '0px', // we need to keep the px unit even for 0 value, as this var is used for calc in different component classes
@@ -11117,11 +11365,11 @@ const [theme$1, refs, vars$E] = createHelperVars(
11117
11365
  horizontalPadding: '0.5em',
11118
11366
  verticalPadding: '0.5em',
11119
11367
 
11120
- backgroundColor: globalRefs$n.colors.surface.main,
11368
+ backgroundColor: globalRefs$o.colors.surface.main,
11121
11369
 
11122
- fontFamily: globalRefs$n.fonts.font1.family,
11370
+ fontFamily: globalRefs$o.fonts.font1.family,
11123
11371
 
11124
- direction: globalRefs$n.direction,
11372
+ direction: globalRefs$o.direction,
11125
11373
 
11126
11374
  overlayOpacity: '0.3',
11127
11375
 
@@ -11137,28 +11385,28 @@ const [theme$1, refs, vars$E] = createHelperVars(
11137
11385
  },
11138
11386
 
11139
11387
  _focused: {
11140
- outlineColor: globalRefs$n.colors.surface.light,
11388
+ outlineColor: globalRefs$o.colors.surface.light,
11141
11389
  _invalid: {
11142
- outlineColor: globalRefs$n.colors.error.main,
11390
+ outlineColor: globalRefs$o.colors.error.main,
11143
11391
  },
11144
11392
  },
11145
11393
 
11146
11394
  _bordered: {
11147
- outlineWidth: globalRefs$n.border.xs,
11148
- borderColor: globalRefs$n.colors.surface.light,
11395
+ outlineWidth: globalRefs$o.border.xs,
11396
+ borderColor: globalRefs$o.colors.surface.light,
11149
11397
  borderStyle: 'solid',
11150
11398
  _invalid: {
11151
- borderColor: globalRefs$n.colors.error.main,
11399
+ borderColor: globalRefs$o.colors.error.main,
11152
11400
  },
11153
11401
  },
11154
11402
 
11155
11403
  _disabled: {
11156
- labelTextColor: globalRefs$n.colors.surface.light,
11157
- borderColor: globalRefs$n.colors.surface.light,
11158
- valueTextColor: globalRefs$n.colors.surface.light,
11159
- placeholderTextColor: globalRefs$n.colors.surface.light,
11160
- helperTextColor: globalRefs$n.colors.surface.light,
11161
- backgroundColor: globalRefs$n.colors.surface.main,
11404
+ labelTextColor: globalRefs$o.colors.surface.light,
11405
+ borderColor: globalRefs$o.colors.surface.light,
11406
+ valueTextColor: globalRefs$o.colors.surface.light,
11407
+ placeholderTextColor: globalRefs$o.colors.surface.light,
11408
+ helperTextColor: globalRefs$o.colors.surface.light,
11409
+ backgroundColor: globalRefs$o.colors.surface.main,
11162
11410
  },
11163
11411
  },
11164
11412
  componentName
@@ -11168,22 +11416,64 @@ var inputWrapper = /*#__PURE__*/Object.freeze({
11168
11416
  __proto__: null,
11169
11417
  default: theme$1,
11170
11418
  refs: refs,
11171
- vars: vars$E
11419
+ vars: vars$F
11172
11420
  });
11173
11421
 
11174
- const vars$D = TextFieldClass.cssVarList;
11422
+ const vars$E = TextFieldClass.cssVarList;
11175
11423
 
11176
11424
  const textField = {
11425
+ [vars$E.hostWidth]: refs.width,
11426
+ [vars$E.hostMinWidth]: refs.minWidth,
11427
+ [vars$E.hostDirection]: refs.direction,
11428
+ [vars$E.fontSize]: refs.fontSize,
11429
+ [vars$E.fontFamily]: refs.fontFamily,
11430
+ [vars$E.labelTextColor]: refs.labelTextColor,
11431
+ [vars$E.labelRequiredIndicator]: refs.requiredIndicator,
11432
+ [vars$E.errorMessageTextColor]: refs.errorMessageTextColor,
11433
+ [vars$E.inputValueTextColor]: refs.valueTextColor,
11434
+ [vars$E.inputPlaceholderColor]: refs.placeholderTextColor,
11435
+ [vars$E.inputBorderWidth]: refs.borderWidth,
11436
+ [vars$E.inputBorderStyle]: refs.borderStyle,
11437
+ [vars$E.inputBorderColor]: refs.borderColor,
11438
+ [vars$E.inputBorderRadius]: refs.borderRadius,
11439
+ [vars$E.inputOutlineWidth]: refs.outlineWidth,
11440
+ [vars$E.inputOutlineStyle]: refs.outlineStyle,
11441
+ [vars$E.inputOutlineColor]: refs.outlineColor,
11442
+ [vars$E.inputOutlineOffset]: refs.outlineOffset,
11443
+ [vars$E.inputBackgroundColor]: refs.backgroundColor,
11444
+ [vars$E.inputHeight]: refs.inputHeight,
11445
+ [vars$E.inputHorizontalPadding]: refs.horizontalPadding,
11446
+ [vars$E.helperTextColor]: refs.helperTextColor,
11447
+ textAlign: {
11448
+ right: { [vars$E.inputTextAlign]: 'right' },
11449
+ left: { [vars$E.inputTextAlign]: 'left' },
11450
+ center: { [vars$E.inputTextAlign]: 'center' },
11451
+ },
11452
+ };
11453
+
11454
+ var textField$1 = /*#__PURE__*/Object.freeze({
11455
+ __proto__: null,
11456
+ default: textField,
11457
+ textField: textField,
11458
+ vars: vars$E
11459
+ });
11460
+
11461
+ const globalRefs$n = getThemeRefs(globals);
11462
+ const vars$D = PasswordClass.cssVarList;
11463
+
11464
+ const password = {
11177
11465
  [vars$D.hostWidth]: refs.width,
11178
- [vars$D.hostMinWidth]: refs.minWidth,
11179
11466
  [vars$D.hostDirection]: refs.direction,
11180
11467
  [vars$D.fontSize]: refs.fontSize,
11181
11468
  [vars$D.fontFamily]: refs.fontFamily,
11182
11469
  [vars$D.labelTextColor]: refs.labelTextColor,
11183
- [vars$D.labelRequiredIndicator]: refs.requiredIndicator,
11184
11470
  [vars$D.errorMessageTextColor]: refs.errorMessageTextColor,
11471
+ [vars$D.inputHorizontalPadding]: refs.horizontalPadding,
11472
+ [vars$D.inputHeight]: refs.inputHeight,
11473
+ [vars$D.inputBackgroundColor]: refs.backgroundColor,
11474
+ [vars$D.labelRequiredIndicator]: refs.requiredIndicator,
11185
11475
  [vars$D.inputValueTextColor]: refs.valueTextColor,
11186
- [vars$D.inputPlaceholderColor]: refs.placeholderTextColor,
11476
+ [vars$D.inputPlaceholderTextColor]: refs.placeholderTextColor,
11187
11477
  [vars$D.inputBorderWidth]: refs.borderWidth,
11188
11478
  [vars$D.inputBorderStyle]: refs.borderStyle,
11189
11479
  [vars$D.inputBorderColor]: refs.borderColor,
@@ -11192,40 +11482,29 @@ const textField = {
11192
11482
  [vars$D.inputOutlineStyle]: refs.outlineStyle,
11193
11483
  [vars$D.inputOutlineColor]: refs.outlineColor,
11194
11484
  [vars$D.inputOutlineOffset]: refs.outlineOffset,
11195
- [vars$D.inputBackgroundColor]: refs.backgroundColor,
11196
- [vars$D.inputHeight]: refs.inputHeight,
11197
- [vars$D.inputHorizontalPadding]: refs.horizontalPadding,
11198
- [vars$D.helperTextColor]: refs.helperTextColor,
11199
- textAlign: {
11200
- right: { [vars$D.inputTextAlign]: 'right' },
11201
- left: { [vars$D.inputTextAlign]: 'left' },
11202
- center: { [vars$D.inputTextAlign]: 'center' },
11203
- },
11485
+ [vars$D.revealButtonOffset]: globalRefs$n.spacing.md,
11486
+ [vars$D.revealButtonSize]: refs.toggleButtonSize,
11487
+ [vars$D.revealButtonColor]: refs.placeholderTextColor,
11204
11488
  };
11205
11489
 
11206
- var textField$1 = /*#__PURE__*/Object.freeze({
11490
+ var password$1 = /*#__PURE__*/Object.freeze({
11207
11491
  __proto__: null,
11208
- default: textField,
11209
- textField: textField,
11492
+ default: password,
11210
11493
  vars: vars$D
11211
11494
  });
11212
11495
 
11213
- const globalRefs$m = getThemeRefs(globals);
11214
- const vars$C = PasswordClass.cssVarList;
11496
+ const vars$C = NumberFieldClass.cssVarList;
11215
11497
 
11216
- const password = {
11498
+ const numberField = {
11217
11499
  [vars$C.hostWidth]: refs.width,
11500
+ [vars$C.hostMinWidth]: refs.minWidth,
11218
11501
  [vars$C.hostDirection]: refs.direction,
11219
11502
  [vars$C.fontSize]: refs.fontSize,
11220
11503
  [vars$C.fontFamily]: refs.fontFamily,
11221
11504
  [vars$C.labelTextColor]: refs.labelTextColor,
11222
11505
  [vars$C.errorMessageTextColor]: refs.errorMessageTextColor,
11223
- [vars$C.inputHorizontalPadding]: refs.horizontalPadding,
11224
- [vars$C.inputHeight]: refs.inputHeight,
11225
- [vars$C.inputBackgroundColor]: refs.backgroundColor,
11226
- [vars$C.labelRequiredIndicator]: refs.requiredIndicator,
11227
11506
  [vars$C.inputValueTextColor]: refs.valueTextColor,
11228
- [vars$C.inputPlaceholderTextColor]: refs.placeholderTextColor,
11507
+ [vars$C.inputPlaceholderColor]: refs.placeholderTextColor,
11229
11508
  [vars$C.inputBorderWidth]: refs.borderWidth,
11230
11509
  [vars$C.inputBorderStyle]: refs.borderStyle,
11231
11510
  [vars$C.inputBorderColor]: refs.borderColor,
@@ -11234,20 +11513,21 @@ const password = {
11234
11513
  [vars$C.inputOutlineStyle]: refs.outlineStyle,
11235
11514
  [vars$C.inputOutlineColor]: refs.outlineColor,
11236
11515
  [vars$C.inputOutlineOffset]: refs.outlineOffset,
11237
- [vars$C.revealButtonOffset]: globalRefs$m.spacing.md,
11238
- [vars$C.revealButtonSize]: refs.toggleButtonSize,
11239
- [vars$C.revealButtonColor]: refs.placeholderTextColor,
11516
+ [vars$C.inputBackgroundColor]: refs.backgroundColor,
11517
+ [vars$C.labelRequiredIndicator]: refs.requiredIndicator,
11518
+ [vars$C.inputHorizontalPadding]: refs.horizontalPadding,
11519
+ [vars$C.inputHeight]: refs.inputHeight,
11240
11520
  };
11241
11521
 
11242
- var password$1 = /*#__PURE__*/Object.freeze({
11522
+ var numberField$1 = /*#__PURE__*/Object.freeze({
11243
11523
  __proto__: null,
11244
- default: password,
11524
+ default: numberField,
11245
11525
  vars: vars$C
11246
11526
  });
11247
11527
 
11248
- const vars$B = NumberFieldClass.cssVarList;
11528
+ const vars$B = EmailFieldClass.cssVarList;
11249
11529
 
11250
- const numberField = {
11530
+ const emailField = {
11251
11531
  [vars$B.hostWidth]: refs.width,
11252
11532
  [vars$B.hostMinWidth]: refs.minWidth,
11253
11533
  [vars$B.hostDirection]: refs.direction,
@@ -11256,6 +11536,7 @@ const numberField = {
11256
11536
  [vars$B.labelTextColor]: refs.labelTextColor,
11257
11537
  [vars$B.errorMessageTextColor]: refs.errorMessageTextColor,
11258
11538
  [vars$B.inputValueTextColor]: refs.valueTextColor,
11539
+ [vars$B.labelRequiredIndicator]: refs.requiredIndicator,
11259
11540
  [vars$B.inputPlaceholderColor]: refs.placeholderTextColor,
11260
11541
  [vars$B.inputBorderWidth]: refs.borderWidth,
11261
11542
  [vars$B.inputBorderStyle]: refs.borderStyle,
@@ -11266,200 +11547,167 @@ const numberField = {
11266
11547
  [vars$B.inputOutlineColor]: refs.outlineColor,
11267
11548
  [vars$B.inputOutlineOffset]: refs.outlineOffset,
11268
11549
  [vars$B.inputBackgroundColor]: refs.backgroundColor,
11269
- [vars$B.labelRequiredIndicator]: refs.requiredIndicator,
11270
11550
  [vars$B.inputHorizontalPadding]: refs.horizontalPadding,
11271
11551
  [vars$B.inputHeight]: refs.inputHeight,
11272
11552
  };
11273
11553
 
11274
- var numberField$1 = /*#__PURE__*/Object.freeze({
11554
+ var emailField$1 = /*#__PURE__*/Object.freeze({
11275
11555
  __proto__: null,
11276
- default: numberField,
11556
+ default: emailField,
11277
11557
  vars: vars$B
11278
11558
  });
11279
11559
 
11280
- const vars$A = EmailFieldClass.cssVarList;
11560
+ const vars$A = TextAreaClass.cssVarList;
11281
11561
 
11282
- const emailField = {
11562
+ const textArea = {
11283
11563
  [vars$A.hostWidth]: refs.width,
11284
11564
  [vars$A.hostMinWidth]: refs.minWidth,
11285
11565
  [vars$A.hostDirection]: refs.direction,
11286
11566
  [vars$A.fontSize]: refs.fontSize,
11287
11567
  [vars$A.fontFamily]: refs.fontFamily,
11288
11568
  [vars$A.labelTextColor]: refs.labelTextColor,
11569
+ [vars$A.labelRequiredIndicator]: refs.requiredIndicator,
11289
11570
  [vars$A.errorMessageTextColor]: refs.errorMessageTextColor,
11571
+ [vars$A.inputBackgroundColor]: refs.backgroundColor,
11290
11572
  [vars$A.inputValueTextColor]: refs.valueTextColor,
11291
- [vars$A.labelRequiredIndicator]: refs.requiredIndicator,
11292
- [vars$A.inputPlaceholderColor]: refs.placeholderTextColor,
11573
+ [vars$A.inputPlaceholderTextColor]: refs.placeholderTextColor,
11574
+ [vars$A.inputBorderRadius]: refs.borderRadius,
11293
11575
  [vars$A.inputBorderWidth]: refs.borderWidth,
11294
11576
  [vars$A.inputBorderStyle]: refs.borderStyle,
11295
11577
  [vars$A.inputBorderColor]: refs.borderColor,
11296
- [vars$A.inputBorderRadius]: refs.borderRadius,
11297
11578
  [vars$A.inputOutlineWidth]: refs.outlineWidth,
11298
11579
  [vars$A.inputOutlineStyle]: refs.outlineStyle,
11299
11580
  [vars$A.inputOutlineColor]: refs.outlineColor,
11300
11581
  [vars$A.inputOutlineOffset]: refs.outlineOffset,
11301
- [vars$A.inputBackgroundColor]: refs.backgroundColor,
11302
- [vars$A.inputHorizontalPadding]: refs.horizontalPadding,
11303
- [vars$A.inputHeight]: refs.inputHeight,
11582
+ [vars$A.inputResizeType]: 'vertical',
11583
+ [vars$A.inputMinHeight]: '5em',
11584
+ textAlign: {
11585
+ right: { [vars$A.inputTextAlign]: 'right' },
11586
+ left: { [vars$A.inputTextAlign]: 'left' },
11587
+ center: { [vars$A.inputTextAlign]: 'center' },
11588
+ },
11589
+
11590
+ _readonly: {
11591
+ [vars$A.inputResizeType]: 'none',
11592
+ },
11304
11593
  };
11305
11594
 
11306
- var emailField$1 = /*#__PURE__*/Object.freeze({
11595
+ var textArea$1 = /*#__PURE__*/Object.freeze({
11307
11596
  __proto__: null,
11308
- default: emailField,
11597
+ default: textArea,
11309
11598
  vars: vars$A
11310
11599
  });
11311
11600
 
11312
- const vars$z = TextAreaClass.cssVarList;
11601
+ const vars$z = CheckboxClass.cssVarList;
11602
+ const checkboxSize = '1.35em';
11313
11603
 
11314
- const textArea = {
11604
+ const checkbox = {
11315
11605
  [vars$z.hostWidth]: refs.width,
11316
- [vars$z.hostMinWidth]: refs.minWidth,
11317
11606
  [vars$z.hostDirection]: refs.direction,
11318
11607
  [vars$z.fontSize]: refs.fontSize,
11319
11608
  [vars$z.fontFamily]: refs.fontFamily,
11320
11609
  [vars$z.labelTextColor]: refs.labelTextColor,
11321
11610
  [vars$z.labelRequiredIndicator]: refs.requiredIndicator,
11611
+ [vars$z.labelFontWeight]: '400',
11612
+ [vars$z.labelLineHeight]: checkboxSize,
11613
+ [vars$z.labelSpacing]: '1em',
11322
11614
  [vars$z.errorMessageTextColor]: refs.errorMessageTextColor,
11323
- [vars$z.inputBackgroundColor]: refs.backgroundColor,
11324
- [vars$z.inputValueTextColor]: refs.valueTextColor,
11325
- [vars$z.inputPlaceholderTextColor]: refs.placeholderTextColor,
11615
+ [vars$z.inputOutlineWidth]: refs.outlineWidth,
11616
+ [vars$z.inputOutlineOffset]: refs.outlineOffset,
11617
+ [vars$z.inputOutlineColor]: refs.outlineColor,
11618
+ [vars$z.inputOutlineStyle]: refs.outlineStyle,
11326
11619
  [vars$z.inputBorderRadius]: refs.borderRadius,
11620
+ [vars$z.inputBorderColor]: refs.borderColor,
11327
11621
  [vars$z.inputBorderWidth]: refs.borderWidth,
11328
11622
  [vars$z.inputBorderStyle]: refs.borderStyle,
11329
- [vars$z.inputBorderColor]: refs.borderColor,
11330
- [vars$z.inputOutlineWidth]: refs.outlineWidth,
11331
- [vars$z.inputOutlineStyle]: refs.outlineStyle,
11332
- [vars$z.inputOutlineColor]: refs.outlineColor,
11333
- [vars$z.inputOutlineOffset]: refs.outlineOffset,
11334
- [vars$z.inputResizeType]: 'vertical',
11335
- [vars$z.inputMinHeight]: '5em',
11336
- textAlign: {
11337
- right: { [vars$z.inputTextAlign]: 'right' },
11338
- left: { [vars$z.inputTextAlign]: 'left' },
11339
- center: { [vars$z.inputTextAlign]: 'center' },
11623
+ [vars$z.inputBackgroundColor]: refs.backgroundColor,
11624
+ [vars$z.inputSize]: checkboxSize,
11625
+
11626
+ _checked: {
11627
+ [vars$z.inputValueTextColor]: refs.valueTextColor,
11340
11628
  },
11341
11629
 
11342
- _readonly: {
11343
- [vars$z.inputResizeType]: 'none',
11630
+ _disabled: {
11631
+ [vars$z.labelTextColor]: refs.labelTextColor,
11344
11632
  },
11345
11633
  };
11346
11634
 
11347
- var textArea$1 = /*#__PURE__*/Object.freeze({
11635
+ var checkbox$1 = /*#__PURE__*/Object.freeze({
11348
11636
  __proto__: null,
11349
- default: textArea,
11637
+ default: checkbox,
11350
11638
  vars: vars$z
11351
11639
  });
11352
11640
 
11353
- const vars$y = CheckboxClass.cssVarList;
11354
- const checkboxSize = '1.35em';
11641
+ const knobMargin = '2px';
11642
+ const checkboxHeight = '1.25em';
11355
11643
 
11356
- const checkbox = {
11644
+ const globalRefs$m = getThemeRefs(globals);
11645
+ const vars$y = SwitchToggleClass.cssVarList;
11646
+
11647
+ const switchToggle = {
11357
11648
  [vars$y.hostWidth]: refs.width,
11358
11649
  [vars$y.hostDirection]: refs.direction,
11359
11650
  [vars$y.fontSize]: refs.fontSize,
11360
11651
  [vars$y.fontFamily]: refs.fontFamily,
11361
- [vars$y.labelTextColor]: refs.labelTextColor,
11362
- [vars$y.labelRequiredIndicator]: refs.requiredIndicator,
11363
- [vars$y.labelFontWeight]: '400',
11364
- [vars$y.labelLineHeight]: checkboxSize,
11365
- [vars$y.labelSpacing]: '1em',
11366
- [vars$y.errorMessageTextColor]: refs.errorMessageTextColor,
11652
+
11367
11653
  [vars$y.inputOutlineWidth]: refs.outlineWidth,
11368
11654
  [vars$y.inputOutlineOffset]: refs.outlineOffset,
11369
11655
  [vars$y.inputOutlineColor]: refs.outlineColor,
11370
11656
  [vars$y.inputOutlineStyle]: refs.outlineStyle,
11371
- [vars$y.inputBorderRadius]: refs.borderRadius,
11372
- [vars$y.inputBorderColor]: refs.borderColor,
11373
- [vars$y.inputBorderWidth]: refs.borderWidth,
11374
- [vars$y.inputBorderStyle]: refs.borderStyle,
11375
- [vars$y.inputBackgroundColor]: refs.backgroundColor,
11376
- [vars$y.inputSize]: checkboxSize,
11377
-
11378
- _checked: {
11379
- [vars$y.inputValueTextColor]: refs.valueTextColor,
11380
- },
11381
11657
 
11382
- _disabled: {
11383
- [vars$y.labelTextColor]: refs.labelTextColor,
11384
- },
11385
- };
11386
-
11387
- var checkbox$1 = /*#__PURE__*/Object.freeze({
11388
- __proto__: null,
11389
- default: checkbox,
11390
- vars: vars$y
11391
- });
11658
+ [vars$y.trackBorderStyle]: refs.borderStyle,
11659
+ [vars$y.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
11660
+ [vars$y.trackBorderColor]: refs.borderColor,
11661
+ [vars$y.trackBackgroundColor]: refs.backgroundColor,
11662
+ [vars$y.trackBorderRadius]: globalRefs$m.radius.md,
11663
+ [vars$y.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
11664
+ [vars$y.trackHeight]: checkboxHeight,
11665
+
11666
+ [vars$y.knobSize]: `calc(1em - ${knobMargin})`,
11667
+ [vars$y.knobRadius]: '50%',
11668
+ [vars$y.knobTopOffset]: '1px',
11669
+ [vars$y.knobLeftOffset]: knobMargin,
11670
+ [vars$y.knobColor]: refs.labelTextColor,
11671
+ [vars$y.knobTransitionDuration]: '0.3s',
11392
11672
 
11393
- const knobMargin = '2px';
11394
- const checkboxHeight = '1.25em';
11395
-
11396
- const globalRefs$l = getThemeRefs(globals);
11397
- const vars$x = SwitchToggleClass.cssVarList;
11398
-
11399
- const switchToggle = {
11400
- [vars$x.hostWidth]: refs.width,
11401
- [vars$x.hostDirection]: refs.direction,
11402
- [vars$x.fontSize]: refs.fontSize,
11403
- [vars$x.fontFamily]: refs.fontFamily,
11404
-
11405
- [vars$x.inputOutlineWidth]: refs.outlineWidth,
11406
- [vars$x.inputOutlineOffset]: refs.outlineOffset,
11407
- [vars$x.inputOutlineColor]: refs.outlineColor,
11408
- [vars$x.inputOutlineStyle]: refs.outlineStyle,
11409
-
11410
- [vars$x.trackBorderStyle]: refs.borderStyle,
11411
- [vars$x.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
11412
- [vars$x.trackBorderColor]: refs.borderColor,
11413
- [vars$x.trackBackgroundColor]: refs.backgroundColor,
11414
- [vars$x.trackBorderRadius]: globalRefs$l.radius.md,
11415
- [vars$x.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
11416
- [vars$x.trackHeight]: checkboxHeight,
11417
-
11418
- [vars$x.knobSize]: `calc(1em - ${knobMargin})`,
11419
- [vars$x.knobRadius]: '50%',
11420
- [vars$x.knobTopOffset]: '1px',
11421
- [vars$x.knobLeftOffset]: knobMargin,
11422
- [vars$x.knobColor]: refs.labelTextColor,
11423
- [vars$x.knobTransitionDuration]: '0.3s',
11424
-
11425
- [vars$x.labelTextColor]: refs.labelTextColor,
11426
- [vars$x.labelFontWeight]: '400',
11427
- [vars$x.labelLineHeight]: '1.35em',
11428
- [vars$x.labelSpacing]: '1em',
11429
- [vars$x.labelRequiredIndicator]: refs.requiredIndicator,
11430
- [vars$x.errorMessageTextColor]: refs.errorMessageTextColor,
11673
+ [vars$y.labelTextColor]: refs.labelTextColor,
11674
+ [vars$y.labelFontWeight]: '400',
11675
+ [vars$y.labelLineHeight]: '1.35em',
11676
+ [vars$y.labelSpacing]: '1em',
11677
+ [vars$y.labelRequiredIndicator]: refs.requiredIndicator,
11678
+ [vars$y.errorMessageTextColor]: refs.errorMessageTextColor,
11431
11679
 
11432
11680
  _checked: {
11433
- [vars$x.trackBorderColor]: refs.borderColor,
11434
- [vars$x.knobLeftOffset]: `calc(100% - var(${vars$x.knobSize}) - ${knobMargin})`,
11435
- [vars$x.knobColor]: refs.valueTextColor,
11436
- [vars$x.knobTextColor]: refs.valueTextColor,
11681
+ [vars$y.trackBorderColor]: refs.borderColor,
11682
+ [vars$y.knobLeftOffset]: `calc(100% - var(${vars$y.knobSize}) - ${knobMargin})`,
11683
+ [vars$y.knobColor]: refs.valueTextColor,
11684
+ [vars$y.knobTextColor]: refs.valueTextColor,
11437
11685
  },
11438
11686
 
11439
11687
  _disabled: {
11440
- [vars$x.knobColor]: globalRefs$l.colors.surface.light,
11441
- [vars$x.trackBorderColor]: globalRefs$l.colors.surface.light,
11442
- [vars$x.trackBackgroundColor]: globalRefs$l.colors.surface.main,
11443
- [vars$x.labelTextColor]: refs.labelTextColor,
11688
+ [vars$y.knobColor]: globalRefs$m.colors.surface.light,
11689
+ [vars$y.trackBorderColor]: globalRefs$m.colors.surface.light,
11690
+ [vars$y.trackBackgroundColor]: globalRefs$m.colors.surface.main,
11691
+ [vars$y.labelTextColor]: refs.labelTextColor,
11444
11692
  _checked: {
11445
- [vars$x.knobColor]: globalRefs$l.colors.surface.light,
11446
- [vars$x.trackBackgroundColor]: globalRefs$l.colors.surface.main,
11693
+ [vars$y.knobColor]: globalRefs$m.colors.surface.light,
11694
+ [vars$y.trackBackgroundColor]: globalRefs$m.colors.surface.main,
11447
11695
  },
11448
11696
  },
11449
11697
 
11450
11698
  _invalid: {
11451
- [vars$x.trackBorderColor]: globalRefs$l.colors.error.main,
11452
- [vars$x.knobColor]: globalRefs$l.colors.error.main,
11699
+ [vars$y.trackBorderColor]: globalRefs$m.colors.error.main,
11700
+ [vars$y.knobColor]: globalRefs$m.colors.error.main,
11453
11701
  },
11454
11702
  };
11455
11703
 
11456
11704
  var switchToggle$1 = /*#__PURE__*/Object.freeze({
11457
11705
  __proto__: null,
11458
11706
  default: switchToggle,
11459
- vars: vars$x
11707
+ vars: vars$y
11460
11708
  });
11461
11709
 
11462
- const globalRefs$k = getThemeRefs(globals);
11710
+ const globalRefs$l = getThemeRefs(globals);
11463
11711
 
11464
11712
  const compVars$4 = ContainerClass.cssVarList;
11465
11713
 
@@ -11481,7 +11729,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
11481
11729
  horizontalAlignment,
11482
11730
  shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
11483
11731
  },
11484
- componentName$M
11732
+ componentName$N
11485
11733
  );
11486
11734
 
11487
11735
  const { shadowColor: shadowColor$1 } = helperRefs$2;
@@ -11491,10 +11739,10 @@ const container = {
11491
11739
 
11492
11740
  [compVars$4.hostWidth]: '100%',
11493
11741
  [compVars$4.boxShadow]: 'none',
11494
- [compVars$4.backgroundColor]: globalRefs$k.colors.surface.main,
11495
- [compVars$4.color]: globalRefs$k.colors.surface.contrast,
11742
+ [compVars$4.backgroundColor]: globalRefs$l.colors.surface.main,
11743
+ [compVars$4.color]: globalRefs$l.colors.surface.contrast,
11496
11744
  [compVars$4.borderRadius]: '0px',
11497
- [compVars$4.hostDirection]: globalRefs$k.direction,
11745
+ [compVars$4.hostDirection]: globalRefs$l.direction,
11498
11746
 
11499
11747
  verticalPadding: {
11500
11748
  sm: { [compVars$4.verticalPadding]: '5px' },
@@ -11540,34 +11788,34 @@ const container = {
11540
11788
 
11541
11789
  shadow: {
11542
11790
  sm: {
11543
- [compVars$4.boxShadow]: `${globalRefs$k.shadow.wide.sm} ${shadowColor$1}, ${globalRefs$k.shadow.narrow.sm} ${shadowColor$1}`,
11791
+ [compVars$4.boxShadow]: `${globalRefs$l.shadow.wide.sm} ${shadowColor$1}, ${globalRefs$l.shadow.narrow.sm} ${shadowColor$1}`,
11544
11792
  },
11545
11793
  md: {
11546
- [compVars$4.boxShadow]: `${globalRefs$k.shadow.wide.md} ${shadowColor$1}, ${globalRefs$k.shadow.narrow.md} ${shadowColor$1}`,
11794
+ [compVars$4.boxShadow]: `${globalRefs$l.shadow.wide.md} ${shadowColor$1}, ${globalRefs$l.shadow.narrow.md} ${shadowColor$1}`,
11547
11795
  },
11548
11796
  lg: {
11549
- [compVars$4.boxShadow]: `${globalRefs$k.shadow.wide.lg} ${shadowColor$1}, ${globalRefs$k.shadow.narrow.lg} ${shadowColor$1}`,
11797
+ [compVars$4.boxShadow]: `${globalRefs$l.shadow.wide.lg} ${shadowColor$1}, ${globalRefs$l.shadow.narrow.lg} ${shadowColor$1}`,
11550
11798
  },
11551
11799
  xl: {
11552
- [compVars$4.boxShadow]: `${globalRefs$k.shadow.wide.xl} ${shadowColor$1}, ${globalRefs$k.shadow.narrow.xl} ${shadowColor$1}`,
11800
+ [compVars$4.boxShadow]: `${globalRefs$l.shadow.wide.xl} ${shadowColor$1}, ${globalRefs$l.shadow.narrow.xl} ${shadowColor$1}`,
11553
11801
  },
11554
11802
  '2xl': {
11555
11803
  [helperVars$2.shadowColor]: '#00000050', // mimic daisyUI shadow settings
11556
- [compVars$4.boxShadow]: `${globalRefs$k.shadow.wide['2xl']} ${shadowColor$1}`,
11804
+ [compVars$4.boxShadow]: `${globalRefs$l.shadow.wide['2xl']} ${shadowColor$1}`,
11557
11805
  },
11558
11806
  },
11559
11807
 
11560
11808
  borderRadius: {
11561
- sm: { [compVars$4.borderRadius]: globalRefs$k.radius.sm },
11562
- md: { [compVars$4.borderRadius]: globalRefs$k.radius.md },
11563
- lg: { [compVars$4.borderRadius]: globalRefs$k.radius.lg },
11564
- xl: { [compVars$4.borderRadius]: globalRefs$k.radius.xl },
11565
- '2xl': { [compVars$4.borderRadius]: globalRefs$k.radius['2xl'] },
11566
- '3xl': { [compVars$4.borderRadius]: globalRefs$k.radius['3xl'] },
11809
+ sm: { [compVars$4.borderRadius]: globalRefs$l.radius.sm },
11810
+ md: { [compVars$4.borderRadius]: globalRefs$l.radius.md },
11811
+ lg: { [compVars$4.borderRadius]: globalRefs$l.radius.lg },
11812
+ xl: { [compVars$4.borderRadius]: globalRefs$l.radius.xl },
11813
+ '2xl': { [compVars$4.borderRadius]: globalRefs$l.radius['2xl'] },
11814
+ '3xl': { [compVars$4.borderRadius]: globalRefs$l.radius['3xl'] },
11567
11815
  },
11568
11816
  };
11569
11817
 
11570
- const vars$w = {
11818
+ const vars$x = {
11571
11819
  ...compVars$4,
11572
11820
  ...helperVars$2,
11573
11821
  };
@@ -11575,252 +11823,252 @@ const vars$w = {
11575
11823
  var container$1 = /*#__PURE__*/Object.freeze({
11576
11824
  __proto__: null,
11577
11825
  default: container,
11578
- vars: vars$w
11826
+ vars: vars$x
11579
11827
  });
11580
11828
 
11581
- const vars$v = LogoClass.cssVarList;
11829
+ const vars$w = LogoClass.cssVarList;
11582
11830
 
11583
11831
  const logo$2 = {
11584
- [vars$v.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
11832
+ [vars$w.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
11585
11833
  };
11586
11834
 
11587
11835
  var logo$3 = /*#__PURE__*/Object.freeze({
11588
11836
  __proto__: null,
11589
11837
  default: logo$2,
11590
- vars: vars$v
11838
+ vars: vars$w
11591
11839
  });
11592
11840
 
11593
- const vars$u = TotpImageClass.cssVarList;
11841
+ const vars$v = TotpImageClass.cssVarList;
11594
11842
 
11595
11843
  const logo$1 = {
11596
- [vars$u.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
11844
+ [vars$v.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
11597
11845
  };
11598
11846
 
11599
11847
  var totpImage = /*#__PURE__*/Object.freeze({
11600
11848
  __proto__: null,
11601
11849
  default: logo$1,
11602
- vars: vars$u
11850
+ vars: vars$v
11603
11851
  });
11604
11852
 
11605
- const vars$t = NotpImageClass.cssVarList;
11853
+ const vars$u = NotpImageClass.cssVarList;
11606
11854
 
11607
11855
  const logo = {
11608
- [vars$t.fallbackUrl]: 'url(https://imgs.descope.com/components/notp-placeholder.svg)',
11856
+ [vars$u.fallbackUrl]: 'url(https://imgs.descope.com/components/notp-placeholder.svg)',
11609
11857
  };
11610
11858
 
11611
11859
  var notpImage = /*#__PURE__*/Object.freeze({
11612
11860
  __proto__: null,
11613
11861
  default: logo,
11614
- vars: vars$t
11862
+ vars: vars$u
11615
11863
  });
11616
11864
 
11617
- const globalRefs$j = getThemeRefs(globals);
11618
- const vars$s = TextClass.cssVarList;
11865
+ const globalRefs$k = getThemeRefs(globals);
11866
+ const vars$t = TextClass.cssVarList;
11619
11867
 
11620
11868
  const text = {
11621
- [vars$s.hostDirection]: globalRefs$j.direction,
11622
- [vars$s.textLineHeight]: '1.35em',
11623
- [vars$s.textAlign]: 'left',
11624
- [vars$s.textColor]: globalRefs$j.colors.surface.dark,
11869
+ [vars$t.hostDirection]: globalRefs$k.direction,
11870
+ [vars$t.textLineHeight]: '1.35em',
11871
+ [vars$t.textAlign]: 'left',
11872
+ [vars$t.textColor]: globalRefs$k.colors.surface.dark,
11625
11873
  variant: {
11626
11874
  h1: {
11627
- [vars$s.fontSize]: globalRefs$j.typography.h1.size,
11628
- [vars$s.fontWeight]: globalRefs$j.typography.h1.weight,
11629
- [vars$s.fontFamily]: globalRefs$j.typography.h1.font,
11875
+ [vars$t.fontSize]: globalRefs$k.typography.h1.size,
11876
+ [vars$t.fontWeight]: globalRefs$k.typography.h1.weight,
11877
+ [vars$t.fontFamily]: globalRefs$k.typography.h1.font,
11630
11878
  },
11631
11879
  h2: {
11632
- [vars$s.fontSize]: globalRefs$j.typography.h2.size,
11633
- [vars$s.fontWeight]: globalRefs$j.typography.h2.weight,
11634
- [vars$s.fontFamily]: globalRefs$j.typography.h2.font,
11880
+ [vars$t.fontSize]: globalRefs$k.typography.h2.size,
11881
+ [vars$t.fontWeight]: globalRefs$k.typography.h2.weight,
11882
+ [vars$t.fontFamily]: globalRefs$k.typography.h2.font,
11635
11883
  },
11636
11884
  h3: {
11637
- [vars$s.fontSize]: globalRefs$j.typography.h3.size,
11638
- [vars$s.fontWeight]: globalRefs$j.typography.h3.weight,
11639
- [vars$s.fontFamily]: globalRefs$j.typography.h3.font,
11885
+ [vars$t.fontSize]: globalRefs$k.typography.h3.size,
11886
+ [vars$t.fontWeight]: globalRefs$k.typography.h3.weight,
11887
+ [vars$t.fontFamily]: globalRefs$k.typography.h3.font,
11640
11888
  },
11641
11889
  subtitle1: {
11642
- [vars$s.fontSize]: globalRefs$j.typography.subtitle1.size,
11643
- [vars$s.fontWeight]: globalRefs$j.typography.subtitle1.weight,
11644
- [vars$s.fontFamily]: globalRefs$j.typography.subtitle1.font,
11890
+ [vars$t.fontSize]: globalRefs$k.typography.subtitle1.size,
11891
+ [vars$t.fontWeight]: globalRefs$k.typography.subtitle1.weight,
11892
+ [vars$t.fontFamily]: globalRefs$k.typography.subtitle1.font,
11645
11893
  },
11646
11894
  subtitle2: {
11647
- [vars$s.fontSize]: globalRefs$j.typography.subtitle2.size,
11648
- [vars$s.fontWeight]: globalRefs$j.typography.subtitle2.weight,
11649
- [vars$s.fontFamily]: globalRefs$j.typography.subtitle2.font,
11895
+ [vars$t.fontSize]: globalRefs$k.typography.subtitle2.size,
11896
+ [vars$t.fontWeight]: globalRefs$k.typography.subtitle2.weight,
11897
+ [vars$t.fontFamily]: globalRefs$k.typography.subtitle2.font,
11650
11898
  },
11651
11899
  body1: {
11652
- [vars$s.fontSize]: globalRefs$j.typography.body1.size,
11653
- [vars$s.fontWeight]: globalRefs$j.typography.body1.weight,
11654
- [vars$s.fontFamily]: globalRefs$j.typography.body1.font,
11900
+ [vars$t.fontSize]: globalRefs$k.typography.body1.size,
11901
+ [vars$t.fontWeight]: globalRefs$k.typography.body1.weight,
11902
+ [vars$t.fontFamily]: globalRefs$k.typography.body1.font,
11655
11903
  },
11656
11904
  body2: {
11657
- [vars$s.fontSize]: globalRefs$j.typography.body2.size,
11658
- [vars$s.fontWeight]: globalRefs$j.typography.body2.weight,
11659
- [vars$s.fontFamily]: globalRefs$j.typography.body2.font,
11905
+ [vars$t.fontSize]: globalRefs$k.typography.body2.size,
11906
+ [vars$t.fontWeight]: globalRefs$k.typography.body2.weight,
11907
+ [vars$t.fontFamily]: globalRefs$k.typography.body2.font,
11660
11908
  },
11661
11909
  },
11662
11910
 
11663
11911
  mode: {
11664
11912
  primary: {
11665
- [vars$s.textColor]: globalRefs$j.colors.surface.contrast,
11913
+ [vars$t.textColor]: globalRefs$k.colors.surface.contrast,
11666
11914
  },
11667
11915
  secondary: {
11668
- [vars$s.textColor]: globalRefs$j.colors.surface.dark,
11916
+ [vars$t.textColor]: globalRefs$k.colors.surface.dark,
11669
11917
  },
11670
11918
  error: {
11671
- [vars$s.textColor]: globalRefs$j.colors.error.main,
11919
+ [vars$t.textColor]: globalRefs$k.colors.error.main,
11672
11920
  },
11673
11921
  success: {
11674
- [vars$s.textColor]: globalRefs$j.colors.success.main,
11922
+ [vars$t.textColor]: globalRefs$k.colors.success.main,
11675
11923
  },
11676
11924
  },
11677
11925
 
11678
11926
  textAlign: {
11679
- right: { [vars$s.textAlign]: 'right' },
11680
- left: { [vars$s.textAlign]: 'left' },
11681
- center: { [vars$s.textAlign]: 'center' },
11927
+ right: { [vars$t.textAlign]: 'right' },
11928
+ left: { [vars$t.textAlign]: 'left' },
11929
+ center: { [vars$t.textAlign]: 'center' },
11682
11930
  },
11683
11931
 
11684
11932
  _fullWidth: {
11685
- [vars$s.hostWidth]: '100%',
11933
+ [vars$t.hostWidth]: '100%',
11686
11934
  },
11687
11935
 
11688
11936
  _italic: {
11689
- [vars$s.fontStyle]: 'italic',
11937
+ [vars$t.fontStyle]: 'italic',
11690
11938
  },
11691
11939
 
11692
11940
  _uppercase: {
11693
- [vars$s.textTransform]: 'uppercase',
11941
+ [vars$t.textTransform]: 'uppercase',
11694
11942
  },
11695
11943
 
11696
11944
  _lowercase: {
11697
- [vars$s.textTransform]: 'lowercase',
11945
+ [vars$t.textTransform]: 'lowercase',
11698
11946
  },
11699
11947
  };
11700
11948
 
11701
11949
  var text$1 = /*#__PURE__*/Object.freeze({
11702
11950
  __proto__: null,
11703
11951
  default: text,
11704
- vars: vars$s
11952
+ vars: vars$t
11705
11953
  });
11706
11954
 
11707
- const globalRefs$i = getThemeRefs(globals);
11708
- const vars$r = EnrichedTextClass.cssVarList;
11955
+ const globalRefs$j = getThemeRefs(globals);
11956
+ const vars$s = EnrichedTextClass.cssVarList;
11709
11957
 
11710
11958
  const EnrichedText = {
11711
- [vars$r.hostDirection]: globalRefs$i.direction,
11959
+ [vars$s.hostDirection]: globalRefs$j.direction,
11712
11960
 
11713
- [vars$r.fontSize]: globalRefs$i.typography.body1.size,
11714
- [vars$r.fontWeight]: globalRefs$i.typography.body1.weight,
11715
- [vars$r.fontFamily]: globalRefs$i.typography.body1.font,
11961
+ [vars$s.fontSize]: globalRefs$j.typography.body1.size,
11962
+ [vars$s.fontWeight]: globalRefs$j.typography.body1.weight,
11963
+ [vars$s.fontFamily]: globalRefs$j.typography.body1.font,
11716
11964
 
11717
- [vars$r.textLineHeight]: '1.35em',
11718
- [vars$r.textAlign]: 'left',
11719
- [vars$r.textColor]: globalRefs$i.colors.surface.dark,
11965
+ [vars$s.textLineHeight]: '1.35em',
11966
+ [vars$s.textAlign]: 'left',
11967
+ [vars$s.textColor]: globalRefs$j.colors.surface.dark,
11720
11968
 
11721
- [vars$r.linkColor]: `var(${LinkClass.cssVarList.textColor})`,
11969
+ [vars$s.linkColor]: `var(${LinkClass.cssVarList.textColor})`,
11722
11970
 
11723
11971
  mode: {
11724
11972
  primary: {
11725
- [vars$r.textColor]: globalRefs$i.colors.surface.contrast,
11973
+ [vars$s.textColor]: globalRefs$j.colors.surface.contrast,
11726
11974
  },
11727
11975
  secondary: {
11728
- [vars$r.textColor]: globalRefs$i.colors.surface.dark,
11976
+ [vars$s.textColor]: globalRefs$j.colors.surface.dark,
11729
11977
  },
11730
11978
  error: {
11731
- [vars$r.textColor]: globalRefs$i.colors.error.main,
11979
+ [vars$s.textColor]: globalRefs$j.colors.error.main,
11732
11980
  },
11733
11981
  success: {
11734
- [vars$r.textColor]: globalRefs$i.colors.success.main,
11982
+ [vars$s.textColor]: globalRefs$j.colors.success.main,
11735
11983
  },
11736
11984
  },
11737
11985
 
11738
11986
  variant: {
11739
11987
  h1: {
11740
- [vars$r.fontSize]: globalRefs$i.typography.h1.size,
11741
- [vars$r.fontWeight]: globalRefs$i.typography.h1.weight,
11742
- [vars$r.fontFamily]: globalRefs$i.typography.h1.font,
11988
+ [vars$s.fontSize]: globalRefs$j.typography.h1.size,
11989
+ [vars$s.fontWeight]: globalRefs$j.typography.h1.weight,
11990
+ [vars$s.fontFamily]: globalRefs$j.typography.h1.font,
11743
11991
  },
11744
11992
  h2: {
11745
- [vars$r.fontSize]: globalRefs$i.typography.h2.size,
11746
- [vars$r.fontWeight]: globalRefs$i.typography.h2.weight,
11747
- [vars$r.fontFamily]: globalRefs$i.typography.h2.font,
11993
+ [vars$s.fontSize]: globalRefs$j.typography.h2.size,
11994
+ [vars$s.fontWeight]: globalRefs$j.typography.h2.weight,
11995
+ [vars$s.fontFamily]: globalRefs$j.typography.h2.font,
11748
11996
  },
11749
11997
  h3: {
11750
- [vars$r.fontSize]: globalRefs$i.typography.h3.size,
11751
- [vars$r.fontWeight]: globalRefs$i.typography.h3.weight,
11752
- [vars$r.fontFamily]: globalRefs$i.typography.h3.font,
11998
+ [vars$s.fontSize]: globalRefs$j.typography.h3.size,
11999
+ [vars$s.fontWeight]: globalRefs$j.typography.h3.weight,
12000
+ [vars$s.fontFamily]: globalRefs$j.typography.h3.font,
11753
12001
  },
11754
12002
  subtitle1: {
11755
- [vars$r.fontSize]: globalRefs$i.typography.subtitle1.size,
11756
- [vars$r.fontWeight]: globalRefs$i.typography.subtitle1.weight,
11757
- [vars$r.fontFamily]: globalRefs$i.typography.subtitle1.font,
12003
+ [vars$s.fontSize]: globalRefs$j.typography.subtitle1.size,
12004
+ [vars$s.fontWeight]: globalRefs$j.typography.subtitle1.weight,
12005
+ [vars$s.fontFamily]: globalRefs$j.typography.subtitle1.font,
11758
12006
  },
11759
12007
  subtitle2: {
11760
- [vars$r.fontSize]: globalRefs$i.typography.subtitle2.size,
11761
- [vars$r.fontWeight]: globalRefs$i.typography.subtitle2.weight,
11762
- [vars$r.fontFamily]: globalRefs$i.typography.subtitle2.font,
12008
+ [vars$s.fontSize]: globalRefs$j.typography.subtitle2.size,
12009
+ [vars$s.fontWeight]: globalRefs$j.typography.subtitle2.weight,
12010
+ [vars$s.fontFamily]: globalRefs$j.typography.subtitle2.font,
11763
12011
  },
11764
12012
  body1: {
11765
- [vars$r.fontSize]: globalRefs$i.typography.body1.size,
11766
- [vars$r.fontWeight]: globalRefs$i.typography.body1.weight,
11767
- [vars$r.fontFamily]: globalRefs$i.typography.body1.font,
12013
+ [vars$s.fontSize]: globalRefs$j.typography.body1.size,
12014
+ [vars$s.fontWeight]: globalRefs$j.typography.body1.weight,
12015
+ [vars$s.fontFamily]: globalRefs$j.typography.body1.font,
11768
12016
  },
11769
12017
  body2: {
11770
- [vars$r.fontSize]: globalRefs$i.typography.body2.size,
11771
- [vars$r.fontWeight]: globalRefs$i.typography.body2.weight,
11772
- [vars$r.fontFamily]: globalRefs$i.typography.body2.font,
12018
+ [vars$s.fontSize]: globalRefs$j.typography.body2.size,
12019
+ [vars$s.fontWeight]: globalRefs$j.typography.body2.weight,
12020
+ [vars$s.fontFamily]: globalRefs$j.typography.body2.font,
11773
12021
  },
11774
12022
  },
11775
12023
 
11776
12024
  textAlign: {
11777
- right: { [vars$r.textAlign]: 'right' },
11778
- left: { [vars$r.textAlign]: 'left' },
11779
- center: { [vars$r.textAlign]: 'center' },
12025
+ right: { [vars$s.textAlign]: 'right' },
12026
+ left: { [vars$s.textAlign]: 'left' },
12027
+ center: { [vars$s.textAlign]: 'center' },
11780
12028
  },
11781
12029
 
11782
12030
  _fullWidth: {
11783
- [vars$r.hostWidth]: '100%',
12031
+ [vars$s.hostWidth]: '100%',
11784
12032
  },
11785
12033
  };
11786
12034
 
11787
12035
  var EnrichedText$1 = /*#__PURE__*/Object.freeze({
11788
12036
  __proto__: null,
11789
12037
  default: EnrichedText,
11790
- vars: vars$r
12038
+ vars: vars$s
11791
12039
  });
11792
12040
 
11793
- const globalRefs$h = getThemeRefs(globals);
11794
- const vars$q = LinkClass.cssVarList;
12041
+ const globalRefs$i = getThemeRefs(globals);
12042
+ const vars$r = LinkClass.cssVarList;
11795
12043
 
11796
12044
  const link = {
11797
- [vars$q.hostDirection]: globalRefs$h.direction,
11798
- [vars$q.cursor]: 'pointer',
12045
+ [vars$r.hostDirection]: globalRefs$i.direction,
12046
+ [vars$r.cursor]: 'pointer',
11799
12047
 
11800
- [vars$q.textColor]: globalRefs$h.colors.primary.main,
12048
+ [vars$r.textColor]: globalRefs$i.colors.primary.main,
11801
12049
 
11802
12050
  textAlign: {
11803
- right: { [vars$q.textAlign]: 'right' },
11804
- left: { [vars$q.textAlign]: 'left' },
11805
- center: { [vars$q.textAlign]: 'center' },
12051
+ right: { [vars$r.textAlign]: 'right' },
12052
+ left: { [vars$r.textAlign]: 'left' },
12053
+ center: { [vars$r.textAlign]: 'center' },
11806
12054
  },
11807
12055
 
11808
12056
  _fullWidth: {
11809
- [vars$q.hostWidth]: '100%',
12057
+ [vars$r.hostWidth]: '100%',
11810
12058
  },
11811
12059
 
11812
12060
  mode: {
11813
12061
  primary: {
11814
- [vars$q.textColor]: globalRefs$h.colors.primary.main,
12062
+ [vars$r.textColor]: globalRefs$i.colors.primary.main,
11815
12063
  },
11816
12064
  secondary: {
11817
- [vars$q.textColor]: globalRefs$h.colors.secondary.main,
12065
+ [vars$r.textColor]: globalRefs$i.colors.secondary.main,
11818
12066
  },
11819
12067
  error: {
11820
- [vars$q.textColor]: globalRefs$h.colors.error.main,
12068
+ [vars$r.textColor]: globalRefs$i.colors.error.main,
11821
12069
  },
11822
12070
  success: {
11823
- [vars$q.textColor]: globalRefs$h.colors.success.main,
12071
+ [vars$r.textColor]: globalRefs$i.colors.success.main,
11824
12072
  },
11825
12073
  },
11826
12074
  };
@@ -11828,10 +12076,10 @@ const link = {
11828
12076
  var link$1 = /*#__PURE__*/Object.freeze({
11829
12077
  __proto__: null,
11830
12078
  default: link,
11831
- vars: vars$q
12079
+ vars: vars$r
11832
12080
  });
11833
12081
 
11834
- const globalRefs$g = getThemeRefs(globals);
12082
+ const globalRefs$h = getThemeRefs(globals);
11835
12083
  const compVars$3 = DividerClass.cssVarList;
11836
12084
 
11837
12085
  const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
@@ -11839,18 +12087,18 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
11839
12087
  thickness: '2px',
11840
12088
  spacing: '10px',
11841
12089
  },
11842
- componentName$K
12090
+ componentName$L
11843
12091
  );
11844
12092
 
11845
12093
  const divider = {
11846
12094
  ...helperTheme$1,
11847
12095
 
11848
- [compVars$3.hostDirection]: globalRefs$g.direction,
12096
+ [compVars$3.hostDirection]: globalRefs$h.direction,
11849
12097
  [compVars$3.alignItems]: 'center',
11850
12098
  [compVars$3.flexDirection]: 'row',
11851
12099
  [compVars$3.alignSelf]: 'stretch',
11852
12100
  [compVars$3.hostWidth]: '100%',
11853
- [compVars$3.stripeColor]: globalRefs$g.colors.surface.light,
12101
+ [compVars$3.stripeColor]: globalRefs$h.colors.surface.light,
11854
12102
  [compVars$3.stripeColorOpacity]: '0.5',
11855
12103
  [compVars$3.stripeHorizontalThickness]: helperRefs$1.thickness,
11856
12104
  [compVars$3.labelTextWidth]: 'fit-content',
@@ -11870,7 +12118,7 @@ const divider = {
11870
12118
  },
11871
12119
  };
11872
12120
 
11873
- const vars$p = {
12121
+ const vars$q = {
11874
12122
  ...compVars$3,
11875
12123
  ...helperVars$1,
11876
12124
  };
@@ -11878,111 +12126,111 @@ const vars$p = {
11878
12126
  var divider$1 = /*#__PURE__*/Object.freeze({
11879
12127
  __proto__: null,
11880
12128
  default: divider,
11881
- vars: vars$p
12129
+ vars: vars$q
11882
12130
  });
11883
12131
 
11884
- const vars$o = PasscodeClass.cssVarList;
12132
+ const vars$p = PasscodeClass.cssVarList;
11885
12133
 
11886
12134
  const passcode = {
11887
- [vars$o.hostDirection]: refs.direction,
11888
- [vars$o.fontFamily]: refs.fontFamily,
11889
- [vars$o.fontSize]: refs.fontSize,
11890
- [vars$o.labelTextColor]: refs.labelTextColor,
11891
- [vars$o.labelRequiredIndicator]: refs.requiredIndicator,
11892
- [vars$o.errorMessageTextColor]: refs.errorMessageTextColor,
11893
- [vars$o.digitValueTextColor]: refs.valueTextColor,
11894
- [vars$o.digitPadding]: '0',
11895
- [vars$o.digitTextAlign]: 'center',
11896
- [vars$o.digitSpacing]: '4px',
11897
- [vars$o.hostWidth]: refs.width,
11898
- [vars$o.digitOutlineColor]: 'transparent',
11899
- [vars$o.digitOutlineWidth]: refs.outlineWidth,
11900
- [vars$o.focusedDigitFieldOutlineColor]: refs.outlineColor,
11901
- [vars$o.digitSize]: refs.inputHeight,
12135
+ [vars$p.hostDirection]: refs.direction,
12136
+ [vars$p.fontFamily]: refs.fontFamily,
12137
+ [vars$p.fontSize]: refs.fontSize,
12138
+ [vars$p.labelTextColor]: refs.labelTextColor,
12139
+ [vars$p.labelRequiredIndicator]: refs.requiredIndicator,
12140
+ [vars$p.errorMessageTextColor]: refs.errorMessageTextColor,
12141
+ [vars$p.digitValueTextColor]: refs.valueTextColor,
12142
+ [vars$p.digitPadding]: '0',
12143
+ [vars$p.digitTextAlign]: 'center',
12144
+ [vars$p.digitSpacing]: '4px',
12145
+ [vars$p.hostWidth]: refs.width,
12146
+ [vars$p.digitOutlineColor]: 'transparent',
12147
+ [vars$p.digitOutlineWidth]: refs.outlineWidth,
12148
+ [vars$p.focusedDigitFieldOutlineColor]: refs.outlineColor,
12149
+ [vars$p.digitSize]: refs.inputHeight,
11902
12150
 
11903
12151
  size: {
11904
- xs: { [vars$o.spinnerSize]: '15px' },
11905
- sm: { [vars$o.spinnerSize]: '20px' },
11906
- md: { [vars$o.spinnerSize]: '20px' },
11907
- lg: { [vars$o.spinnerSize]: '20px' },
12152
+ xs: { [vars$p.spinnerSize]: '15px' },
12153
+ sm: { [vars$p.spinnerSize]: '20px' },
12154
+ md: { [vars$p.spinnerSize]: '20px' },
12155
+ lg: { [vars$p.spinnerSize]: '20px' },
11908
12156
  },
11909
12157
 
11910
12158
  _hideCursor: {
11911
- [vars$o.digitCaretTextColor]: 'transparent',
12159
+ [vars$p.digitCaretTextColor]: 'transparent',
11912
12160
  },
11913
12161
 
11914
12162
  _loading: {
11915
- [vars$o.overlayOpacity]: refs.overlayOpacity,
12163
+ [vars$p.overlayOpacity]: refs.overlayOpacity,
11916
12164
  },
11917
12165
  };
11918
12166
 
11919
12167
  var passcode$1 = /*#__PURE__*/Object.freeze({
11920
12168
  __proto__: null,
11921
12169
  default: passcode,
11922
- vars: vars$o
12170
+ vars: vars$p
11923
12171
  });
11924
12172
 
11925
- const globalRefs$f = getThemeRefs(globals);
11926
- const vars$n = LoaderLinearClass.cssVarList;
12173
+ const globalRefs$g = getThemeRefs(globals);
12174
+ const vars$o = LoaderLinearClass.cssVarList;
11927
12175
 
11928
12176
  const loaderLinear = {
11929
- [vars$n.hostDisplay]: 'inline-block',
11930
- [vars$n.hostWidth]: '100%',
12177
+ [vars$o.hostDisplay]: 'inline-block',
12178
+ [vars$o.hostWidth]: '100%',
11931
12179
 
11932
- [vars$n.barColor]: globalRefs$f.colors.surface.contrast,
11933
- [vars$n.barWidth]: '20%',
12180
+ [vars$o.barColor]: globalRefs$g.colors.surface.contrast,
12181
+ [vars$o.barWidth]: '20%',
11934
12182
 
11935
- [vars$n.barBackgroundColor]: globalRefs$f.colors.surface.light,
11936
- [vars$n.barBorderRadius]: '4px',
12183
+ [vars$o.barBackgroundColor]: globalRefs$g.colors.surface.light,
12184
+ [vars$o.barBorderRadius]: '4px',
11937
12185
 
11938
- [vars$n.animationDuration]: '2s',
11939
- [vars$n.animationTimingFunction]: 'linear',
11940
- [vars$n.animationIterationCount]: 'infinite',
11941
- [vars$n.verticalPadding]: '0.25em',
12186
+ [vars$o.animationDuration]: '2s',
12187
+ [vars$o.animationTimingFunction]: 'linear',
12188
+ [vars$o.animationIterationCount]: 'infinite',
12189
+ [vars$o.verticalPadding]: '0.25em',
11942
12190
 
11943
12191
  size: {
11944
- xs: { [vars$n.barHeight]: '2px' },
11945
- sm: { [vars$n.barHeight]: '4px' },
11946
- md: { [vars$n.barHeight]: '6px' },
11947
- lg: { [vars$n.barHeight]: '8px' },
12192
+ xs: { [vars$o.barHeight]: '2px' },
12193
+ sm: { [vars$o.barHeight]: '4px' },
12194
+ md: { [vars$o.barHeight]: '6px' },
12195
+ lg: { [vars$o.barHeight]: '8px' },
11948
12196
  },
11949
12197
 
11950
12198
  mode: {
11951
12199
  primary: {
11952
- [vars$n.barColor]: globalRefs$f.colors.primary.main,
12200
+ [vars$o.barColor]: globalRefs$g.colors.primary.main,
11953
12201
  },
11954
12202
  secondary: {
11955
- [vars$n.barColor]: globalRefs$f.colors.secondary.main,
12203
+ [vars$o.barColor]: globalRefs$g.colors.secondary.main,
11956
12204
  },
11957
12205
  },
11958
12206
 
11959
12207
  _hidden: {
11960
- [vars$n.hostDisplay]: 'none',
12208
+ [vars$o.hostDisplay]: 'none',
11961
12209
  },
11962
12210
  };
11963
12211
 
11964
12212
  var loaderLinear$1 = /*#__PURE__*/Object.freeze({
11965
12213
  __proto__: null,
11966
12214
  default: loaderLinear,
11967
- vars: vars$n
12215
+ vars: vars$o
11968
12216
  });
11969
12217
 
11970
- const globalRefs$e = getThemeRefs(globals);
12218
+ const globalRefs$f = getThemeRefs(globals);
11971
12219
  const compVars$2 = LoaderRadialClass.cssVarList;
11972
12220
 
11973
12221
  const [helperTheme, helperRefs, helperVars] = createHelperVars(
11974
12222
  {
11975
- spinnerColor: globalRefs$e.colors.surface.contrast,
12223
+ spinnerColor: globalRefs$f.colors.surface.contrast,
11976
12224
  mode: {
11977
12225
  primary: {
11978
- spinnerColor: globalRefs$e.colors.primary.main,
12226
+ spinnerColor: globalRefs$f.colors.primary.main,
11979
12227
  },
11980
12228
  secondary: {
11981
- spinnerColor: globalRefs$e.colors.secondary.main,
12229
+ spinnerColor: globalRefs$f.colors.secondary.main,
11982
12230
  },
11983
12231
  },
11984
12232
  },
11985
- componentName$N
12233
+ componentName$O
11986
12234
  );
11987
12235
 
11988
12236
  const loaderRadial = {
@@ -12011,7 +12259,7 @@ const loaderRadial = {
12011
12259
  [compVars$2.hostDisplay]: 'none',
12012
12260
  },
12013
12261
  };
12014
- const vars$m = {
12262
+ const vars$n = {
12015
12263
  ...compVars$2,
12016
12264
  ...helperVars,
12017
12265
  };
@@ -12019,78 +12267,114 @@ const vars$m = {
12019
12267
  var loaderRadial$1 = /*#__PURE__*/Object.freeze({
12020
12268
  __proto__: null,
12021
12269
  default: loaderRadial,
12022
- vars: vars$m
12270
+ vars: vars$n
12023
12271
  });
12024
12272
 
12025
- const globalRefs$d = getThemeRefs(globals);
12026
- const vars$l = ComboBoxClass.cssVarList;
12273
+ const globalRefs$e = getThemeRefs(globals);
12274
+ const vars$m = ComboBoxClass.cssVarList;
12027
12275
 
12028
12276
  const comboBox = {
12029
- [vars$l.hostWidth]: refs.width,
12030
- [vars$l.hostDirection]: refs.direction,
12031
- [vars$l.fontSize]: refs.fontSize,
12032
- [vars$l.fontFamily]: refs.fontFamily,
12033
- [vars$l.labelTextColor]: refs.labelTextColor,
12034
- [vars$l.errorMessageTextColor]: refs.errorMessageTextColor,
12035
- [vars$l.inputBorderColor]: refs.borderColor,
12036
- [vars$l.inputBorderWidth]: refs.borderWidth,
12037
- [vars$l.inputBorderStyle]: refs.borderStyle,
12038
- [vars$l.inputBorderRadius]: refs.borderRadius,
12039
- [vars$l.inputOutlineColor]: refs.outlineColor,
12040
- [vars$l.inputOutlineOffset]: refs.outlineOffset,
12041
- [vars$l.inputOutlineWidth]: refs.outlineWidth,
12042
- [vars$l.inputOutlineStyle]: refs.outlineStyle,
12043
- [vars$l.labelRequiredIndicator]: refs.requiredIndicator,
12044
- [vars$l.inputValueTextColor]: refs.valueTextColor,
12045
- [vars$l.inputPlaceholderTextColor]: refs.placeholderTextColor,
12046
- [vars$l.inputBackgroundColor]: refs.backgroundColor,
12047
- [vars$l.inputHorizontalPadding]: refs.horizontalPadding,
12048
- [vars$l.inputHeight]: refs.inputHeight,
12049
- [vars$l.inputDropdownButtonColor]: globalRefs$d.colors.surface.dark,
12050
- [vars$l.inputDropdownButtonCursor]: 'pointer',
12051
- [vars$l.inputDropdownButtonSize]: refs.toggleButtonSize,
12052
- [vars$l.inputDropdownButtonOffset]: globalRefs$d.spacing.xs,
12053
- [vars$l.overlayItemPaddingInlineStart]: globalRefs$d.spacing.xs,
12054
- [vars$l.overlayItemPaddingInlineEnd]: globalRefs$d.spacing.lg,
12277
+ [vars$m.hostWidth]: refs.width,
12278
+ [vars$m.hostDirection]: refs.direction,
12279
+ [vars$m.fontSize]: refs.fontSize,
12280
+ [vars$m.fontFamily]: refs.fontFamily,
12281
+ [vars$m.labelTextColor]: refs.labelTextColor,
12282
+ [vars$m.errorMessageTextColor]: refs.errorMessageTextColor,
12283
+ [vars$m.inputBorderColor]: refs.borderColor,
12284
+ [vars$m.inputBorderWidth]: refs.borderWidth,
12285
+ [vars$m.inputBorderStyle]: refs.borderStyle,
12286
+ [vars$m.inputBorderRadius]: refs.borderRadius,
12287
+ [vars$m.inputOutlineColor]: refs.outlineColor,
12288
+ [vars$m.inputOutlineOffset]: refs.outlineOffset,
12289
+ [vars$m.inputOutlineWidth]: refs.outlineWidth,
12290
+ [vars$m.inputOutlineStyle]: refs.outlineStyle,
12291
+ [vars$m.labelRequiredIndicator]: refs.requiredIndicator,
12292
+ [vars$m.inputValueTextColor]: refs.valueTextColor,
12293
+ [vars$m.inputPlaceholderTextColor]: refs.placeholderTextColor,
12294
+ [vars$m.inputBackgroundColor]: refs.backgroundColor,
12295
+ [vars$m.inputHorizontalPadding]: refs.horizontalPadding,
12296
+ [vars$m.inputHeight]: refs.inputHeight,
12297
+ [vars$m.inputDropdownButtonColor]: globalRefs$e.colors.surface.dark,
12298
+ [vars$m.inputDropdownButtonCursor]: 'pointer',
12299
+ [vars$m.inputDropdownButtonSize]: refs.toggleButtonSize,
12300
+ [vars$m.inputDropdownButtonOffset]: globalRefs$e.spacing.xs,
12301
+ [vars$m.overlayItemPaddingInlineStart]: globalRefs$e.spacing.xs,
12302
+ [vars$m.overlayItemPaddingInlineEnd]: globalRefs$e.spacing.lg,
12055
12303
 
12056
12304
  _readonly: {
12057
- [vars$l.inputDropdownButtonCursor]: 'default',
12305
+ [vars$m.inputDropdownButtonCursor]: 'default',
12058
12306
  },
12059
12307
 
12060
12308
  // Overlay theme exposed via the component:
12061
- [vars$l.overlayFontSize]: refs.fontSize,
12062
- [vars$l.overlayFontFamily]: refs.fontFamily,
12063
- [vars$l.overlayCursor]: 'pointer',
12064
- [vars$l.overlayItemBoxShadow]: 'none',
12065
- [vars$l.overlayBackground]: refs.backgroundColor,
12066
- [vars$l.overlayTextColor]: refs.valueTextColor,
12309
+ [vars$m.overlayFontSize]: refs.fontSize,
12310
+ [vars$m.overlayFontFamily]: refs.fontFamily,
12311
+ [vars$m.overlayCursor]: 'pointer',
12312
+ [vars$m.overlayItemBoxShadow]: 'none',
12313
+ [vars$m.overlayBackground]: refs.backgroundColor,
12314
+ [vars$m.overlayTextColor]: refs.valueTextColor,
12067
12315
 
12068
12316
  // Overlay direct theme:
12069
- [vars$l.overlay.minHeight]: '400px',
12070
- [vars$l.overlay.margin]: '0',
12317
+ [vars$m.overlay.minHeight]: '400px',
12318
+ [vars$m.overlay.margin]: '0',
12071
12319
  };
12072
12320
 
12073
12321
  var comboBox$1 = /*#__PURE__*/Object.freeze({
12074
12322
  __proto__: null,
12075
12323
  comboBox: comboBox,
12076
12324
  default: comboBox,
12077
- vars: vars$l
12325
+ vars: vars$m
12078
12326
  });
12079
12327
 
12080
- const vars$k = ImageClass.cssVarList;
12328
+ const vars$l = ImageClass.cssVarList;
12081
12329
 
12082
12330
  const image = {};
12083
12331
 
12084
12332
  var image$1 = /*#__PURE__*/Object.freeze({
12085
12333
  __proto__: null,
12086
12334
  default: image,
12087
- vars: vars$k
12335
+ vars: vars$l
12088
12336
  });
12089
12337
 
12090
- const vars$j = PhoneFieldClass.cssVarList;
12338
+ const vars$k = PhoneFieldClass.cssVarList;
12091
12339
 
12092
12340
  const phoneField = {
12093
- [vars$j.hostWidth]: refs.width,
12341
+ [vars$k.hostWidth]: refs.width,
12342
+ [vars$k.hostDirection]: refs.direction,
12343
+ [vars$k.fontSize]: refs.fontSize,
12344
+ [vars$k.fontFamily]: refs.fontFamily,
12345
+ [vars$k.labelTextColor]: refs.labelTextColor,
12346
+ [vars$k.labelRequiredIndicator]: refs.requiredIndicator,
12347
+ [vars$k.errorMessageTextColor]: refs.errorMessageTextColor,
12348
+ [vars$k.inputValueTextColor]: refs.valueTextColor,
12349
+ [vars$k.inputPlaceholderTextColor]: refs.placeholderTextColor,
12350
+ [vars$k.inputBorderStyle]: refs.borderStyle,
12351
+ [vars$k.inputBorderWidth]: refs.borderWidth,
12352
+ [vars$k.inputBorderColor]: refs.borderColor,
12353
+ [vars$k.inputBorderRadius]: refs.borderRadius,
12354
+ [vars$k.inputOutlineStyle]: refs.outlineStyle,
12355
+ [vars$k.inputOutlineWidth]: refs.outlineWidth,
12356
+ [vars$k.inputOutlineColor]: refs.outlineColor,
12357
+ [vars$k.inputOutlineOffset]: refs.outlineOffset,
12358
+ [vars$k.phoneInputWidth]: refs.minWidth,
12359
+ [vars$k.countryCodeInputWidth]: '5em',
12360
+ [vars$k.countryCodeDropdownWidth]: '20em',
12361
+
12362
+ // '@overlay': {
12363
+ // overlayItemBackgroundColor: 'red'
12364
+ // }
12365
+ };
12366
+
12367
+ var phoneField$1 = /*#__PURE__*/Object.freeze({
12368
+ __proto__: null,
12369
+ default: phoneField,
12370
+ vars: vars$k
12371
+ });
12372
+
12373
+ const vars$j = PhoneFieldInputBoxClass.cssVarList;
12374
+
12375
+ const phoneInputBoxField = {
12376
+ [vars$j.hostWidth]: '16em',
12377
+ [vars$j.hostMinWidth]: refs.minWidth,
12094
12378
  [vars$j.hostDirection]: refs.direction,
12095
12379
  [vars$j.fontSize]: refs.fontSize,
12096
12380
  [vars$j.fontFamily]: refs.fontFamily,
@@ -12107,184 +12391,148 @@ const phoneField = {
12107
12391
  [vars$j.inputOutlineWidth]: refs.outlineWidth,
12108
12392
  [vars$j.inputOutlineColor]: refs.outlineColor,
12109
12393
  [vars$j.inputOutlineOffset]: refs.outlineOffset,
12110
- [vars$j.phoneInputWidth]: refs.minWidth,
12111
- [vars$j.countryCodeInputWidth]: '5em',
12112
- [vars$j.countryCodeDropdownWidth]: '20em',
12113
-
12114
- // '@overlay': {
12115
- // overlayItemBackgroundColor: 'red'
12116
- // }
12394
+ _fullWidth: {
12395
+ [vars$j.hostWidth]: refs.width,
12396
+ },
12117
12397
  };
12118
12398
 
12119
- var phoneField$1 = /*#__PURE__*/Object.freeze({
12399
+ var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
12120
12400
  __proto__: null,
12121
- default: phoneField,
12401
+ default: phoneInputBoxField,
12122
12402
  vars: vars$j
12123
12403
  });
12124
12404
 
12125
- const vars$i = PhoneFieldInputBoxClass.cssVarList;
12405
+ const globalRefs$d = getThemeRefs(globals);
12406
+ const vars$i = NewPasswordClass.cssVarList;
12126
12407
 
12127
- const phoneInputBoxField = {
12128
- [vars$i.hostWidth]: '16em',
12408
+ const newPassword = {
12409
+ [vars$i.hostWidth]: refs.width,
12129
12410
  [vars$i.hostMinWidth]: refs.minWidth,
12130
12411
  [vars$i.hostDirection]: refs.direction,
12131
12412
  [vars$i.fontSize]: refs.fontSize,
12132
12413
  [vars$i.fontFamily]: refs.fontFamily,
12133
- [vars$i.labelTextColor]: refs.labelTextColor,
12134
- [vars$i.labelRequiredIndicator]: refs.requiredIndicator,
12414
+ [vars$i.spaceBetweenInputs]: '1em',
12135
12415
  [vars$i.errorMessageTextColor]: refs.errorMessageTextColor,
12136
- [vars$i.inputValueTextColor]: refs.valueTextColor,
12137
- [vars$i.inputPlaceholderTextColor]: refs.placeholderTextColor,
12138
- [vars$i.inputBorderStyle]: refs.borderStyle,
12139
- [vars$i.inputBorderWidth]: refs.borderWidth,
12140
- [vars$i.inputBorderColor]: refs.borderColor,
12141
- [vars$i.inputBorderRadius]: refs.borderRadius,
12142
- [vars$i.inputOutlineStyle]: refs.outlineStyle,
12143
- [vars$i.inputOutlineWidth]: refs.outlineWidth,
12144
- [vars$i.inputOutlineColor]: refs.outlineColor,
12145
- [vars$i.inputOutlineOffset]: refs.outlineOffset,
12146
- _fullWidth: {
12147
- [vars$i.hostWidth]: refs.width,
12148
- },
12149
- };
12150
-
12151
- var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
12152
- __proto__: null,
12153
- default: phoneInputBoxField,
12154
- vars: vars$i
12155
- });
12156
-
12157
- const globalRefs$c = getThemeRefs(globals);
12158
- const vars$h = NewPasswordClass.cssVarList;
12159
-
12160
- const newPassword = {
12161
- [vars$h.hostWidth]: refs.width,
12162
- [vars$h.hostMinWidth]: refs.minWidth,
12163
- [vars$h.hostDirection]: refs.direction,
12164
- [vars$h.fontSize]: refs.fontSize,
12165
- [vars$h.fontFamily]: refs.fontFamily,
12166
- [vars$h.spaceBetweenInputs]: '1em',
12167
- [vars$h.errorMessageTextColor]: refs.errorMessageTextColor,
12168
- [vars$h.policyPreviewBackgroundColor]: 'none',
12169
- [vars$h.policyPreviewPadding]: globalRefs$c.spacing.lg,
12416
+ [vars$i.policyPreviewBackgroundColor]: 'none',
12417
+ [vars$i.policyPreviewPadding]: globalRefs$d.spacing.lg,
12170
12418
 
12171
12419
  _required: {
12172
12420
  // NewPassword doesn't pass `required` attribute to its Password components.
12173
12421
  // That's why we fake the required indicator on each input.
12174
12422
  // We do that by injecting `::after` element, and populating it with requiredIndicator content.
12175
- [vars$h.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
12423
+ [vars$i.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
12176
12424
  },
12177
12425
  };
12178
12426
 
12179
12427
  var newPassword$1 = /*#__PURE__*/Object.freeze({
12180
12428
  __proto__: null,
12181
12429
  default: newPassword,
12182
- vars: vars$h
12430
+ vars: vars$i
12183
12431
  });
12184
12432
 
12185
- const vars$g = UploadFileClass.cssVarList;
12433
+ const vars$h = UploadFileClass.cssVarList;
12186
12434
 
12187
12435
  const uploadFile = {
12188
- [vars$g.hostDirection]: refs.direction,
12189
- [vars$g.labelTextColor]: refs.labelTextColor,
12190
- [vars$g.fontFamily]: refs.fontFamily,
12436
+ [vars$h.hostDirection]: refs.direction,
12437
+ [vars$h.labelTextColor]: refs.labelTextColor,
12438
+ [vars$h.fontFamily]: refs.fontFamily,
12191
12439
 
12192
- [vars$g.iconSize]: '2em',
12440
+ [vars$h.iconSize]: '2em',
12193
12441
 
12194
- [vars$g.hostPadding]: '0.75em',
12195
- [vars$g.gap]: '0.5em',
12442
+ [vars$h.hostPadding]: '0.75em',
12443
+ [vars$h.gap]: '0.5em',
12196
12444
 
12197
- [vars$g.fontSize]: '16px',
12198
- [vars$g.titleFontWeight]: '500',
12199
- [vars$g.lineHeight]: '1em',
12445
+ [vars$h.fontSize]: '16px',
12446
+ [vars$h.titleFontWeight]: '500',
12447
+ [vars$h.lineHeight]: '1em',
12200
12448
 
12201
- [vars$g.borderWidth]: refs.borderWidth,
12202
- [vars$g.borderColor]: refs.borderColor,
12203
- [vars$g.borderRadius]: refs.borderRadius,
12204
- [vars$g.borderStyle]: 'dashed',
12449
+ [vars$h.borderWidth]: refs.borderWidth,
12450
+ [vars$h.borderColor]: refs.borderColor,
12451
+ [vars$h.borderRadius]: refs.borderRadius,
12452
+ [vars$h.borderStyle]: 'dashed',
12205
12453
 
12206
12454
  _required: {
12207
- [vars$g.requiredIndicator]: refs.requiredIndicator,
12455
+ [vars$h.requiredIndicator]: refs.requiredIndicator,
12208
12456
  },
12209
12457
 
12210
12458
  size: {
12211
12459
  xs: {
12212
- [vars$g.hostHeight]: '196px',
12213
- [vars$g.hostWidth]: '200px',
12214
- [vars$g.titleFontSize]: '0.875em',
12215
- [vars$g.descriptionFontSize]: '0.875em',
12216
- [vars$g.lineHeight]: '1.25em',
12460
+ [vars$h.hostHeight]: '196px',
12461
+ [vars$h.hostWidth]: '200px',
12462
+ [vars$h.titleFontSize]: '0.875em',
12463
+ [vars$h.descriptionFontSize]: '0.875em',
12464
+ [vars$h.lineHeight]: '1.25em',
12217
12465
  },
12218
12466
  sm: {
12219
- [vars$g.hostHeight]: '216px',
12220
- [vars$g.hostWidth]: '230px',
12221
- [vars$g.titleFontSize]: '1em',
12222
- [vars$g.descriptionFontSize]: '0.875em',
12223
- [vars$g.lineHeight]: '1.25em',
12467
+ [vars$h.hostHeight]: '216px',
12468
+ [vars$h.hostWidth]: '230px',
12469
+ [vars$h.titleFontSize]: '1em',
12470
+ [vars$h.descriptionFontSize]: '0.875em',
12471
+ [vars$h.lineHeight]: '1.25em',
12224
12472
  },
12225
12473
  md: {
12226
- [vars$g.hostHeight]: '256px',
12227
- [vars$g.hostWidth]: '312px',
12228
- [vars$g.titleFontSize]: '1.125em',
12229
- [vars$g.descriptionFontSize]: '1em',
12230
- [vars$g.lineHeight]: '1.5em',
12474
+ [vars$h.hostHeight]: '256px',
12475
+ [vars$h.hostWidth]: '312px',
12476
+ [vars$h.titleFontSize]: '1.125em',
12477
+ [vars$h.descriptionFontSize]: '1em',
12478
+ [vars$h.lineHeight]: '1.5em',
12231
12479
  },
12232
12480
  lg: {
12233
- [vars$g.hostHeight]: '280px',
12234
- [vars$g.hostWidth]: '336px',
12235
- [vars$g.titleFontSize]: '1.125em',
12236
- [vars$g.descriptionFontSize]: '1.125em',
12237
- [vars$g.lineHeight]: '1.75em',
12481
+ [vars$h.hostHeight]: '280px',
12482
+ [vars$h.hostWidth]: '336px',
12483
+ [vars$h.titleFontSize]: '1.125em',
12484
+ [vars$h.descriptionFontSize]: '1.125em',
12485
+ [vars$h.lineHeight]: '1.75em',
12238
12486
  },
12239
12487
  },
12240
12488
 
12241
12489
  _fullWidth: {
12242
- [vars$g.hostWidth]: refs.width,
12490
+ [vars$h.hostWidth]: refs.width,
12243
12491
  },
12244
12492
  };
12245
12493
 
12246
12494
  var uploadFile$1 = /*#__PURE__*/Object.freeze({
12247
12495
  __proto__: null,
12248
12496
  default: uploadFile,
12249
- vars: vars$g
12497
+ vars: vars$h
12250
12498
  });
12251
12499
 
12252
- const globalRefs$b = getThemeRefs(globals);
12500
+ const globalRefs$c = getThemeRefs(globals);
12253
12501
 
12254
- const vars$f = ButtonSelectionGroupItemClass.cssVarList;
12502
+ const vars$g = ButtonSelectionGroupItemClass.cssVarList;
12255
12503
 
12256
12504
  const buttonSelectionGroupItem = {
12257
- [vars$f.hostDirection]: 'inherit',
12258
- [vars$f.backgroundColor]: globalRefs$b.colors.surface.main,
12259
- [vars$f.labelTextColor]: globalRefs$b.colors.surface.contrast,
12260
- [vars$f.borderColor]: globalRefs$b.colors.surface.light,
12261
- [vars$f.borderStyle]: 'solid',
12262
- [vars$f.borderRadius]: globalRefs$b.radius.sm,
12263
- [vars$f.outlineColor]: 'transparent',
12264
- [vars$f.borderWidth]: globalRefs$b.border.xs,
12505
+ [vars$g.hostDirection]: 'inherit',
12506
+ [vars$g.backgroundColor]: globalRefs$c.colors.surface.main,
12507
+ [vars$g.labelTextColor]: globalRefs$c.colors.surface.contrast,
12508
+ [vars$g.borderColor]: globalRefs$c.colors.surface.light,
12509
+ [vars$g.borderStyle]: 'solid',
12510
+ [vars$g.borderRadius]: globalRefs$c.radius.sm,
12511
+ [vars$g.outlineColor]: 'transparent',
12512
+ [vars$g.borderWidth]: globalRefs$c.border.xs,
12265
12513
 
12266
12514
  _hover: {
12267
- [vars$f.backgroundColor]: globalRefs$b.colors.surface.highlight,
12515
+ [vars$g.backgroundColor]: globalRefs$c.colors.surface.highlight,
12268
12516
  },
12269
12517
 
12270
12518
  _focused: {
12271
- [vars$f.outlineColor]: globalRefs$b.colors.surface.light,
12519
+ [vars$g.outlineColor]: globalRefs$c.colors.surface.light,
12272
12520
  },
12273
12521
 
12274
12522
  _selected: {
12275
- [vars$f.borderColor]: globalRefs$b.colors.surface.contrast,
12276
- [vars$f.backgroundColor]: globalRefs$b.colors.surface.contrast,
12277
- [vars$f.labelTextColor]: globalRefs$b.colors.surface.main,
12523
+ [vars$g.borderColor]: globalRefs$c.colors.surface.contrast,
12524
+ [vars$g.backgroundColor]: globalRefs$c.colors.surface.contrast,
12525
+ [vars$g.labelTextColor]: globalRefs$c.colors.surface.main,
12278
12526
  },
12279
12527
  };
12280
12528
 
12281
12529
  var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
12282
12530
  __proto__: null,
12283
12531
  default: buttonSelectionGroupItem,
12284
- vars: vars$f
12532
+ vars: vars$g
12285
12533
  });
12286
12534
 
12287
- const globalRefs$a = getThemeRefs(globals);
12535
+ const globalRefs$b = getThemeRefs(globals);
12288
12536
 
12289
12537
  const createBaseButtonSelectionGroupMappings = (vars) => ({
12290
12538
  [vars.hostDirection]: refs.direction,
@@ -12292,84 +12540,84 @@ const createBaseButtonSelectionGroupMappings = (vars) => ({
12292
12540
  [vars.labelTextColor]: refs.labelTextColor,
12293
12541
  [vars.labelRequiredIndicator]: refs.requiredIndicator,
12294
12542
  [vars.errorMessageTextColor]: refs.errorMessageTextColor,
12295
- [vars.itemsSpacing]: globalRefs$a.spacing.sm,
12543
+ [vars.itemsSpacing]: globalRefs$b.spacing.sm,
12296
12544
  [vars.hostWidth]: refs.width,
12297
12545
  });
12298
12546
 
12299
- const vars$e = ButtonSelectionGroupClass.cssVarList;
12547
+ const vars$f = ButtonSelectionGroupClass.cssVarList;
12300
12548
 
12301
12549
  const buttonSelectionGroup = {
12302
- ...createBaseButtonSelectionGroupMappings(vars$e),
12550
+ ...createBaseButtonSelectionGroupMappings(vars$f),
12303
12551
  };
12304
12552
 
12305
12553
  var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
12306
12554
  __proto__: null,
12307
12555
  default: buttonSelectionGroup,
12308
- vars: vars$e
12556
+ vars: vars$f
12309
12557
  });
12310
12558
 
12311
- const vars$d = ButtonMultiSelectionGroupClass.cssVarList;
12559
+ const vars$e = ButtonMultiSelectionGroupClass.cssVarList;
12312
12560
 
12313
12561
  const buttonMultiSelectionGroup = {
12314
- ...createBaseButtonSelectionGroupMappings(vars$d),
12562
+ ...createBaseButtonSelectionGroupMappings(vars$e),
12315
12563
  };
12316
12564
 
12317
12565
  var buttonMultiSelectionGroup$1 = /*#__PURE__*/Object.freeze({
12318
12566
  __proto__: null,
12319
12567
  default: buttonMultiSelectionGroup,
12320
- vars: vars$d
12568
+ vars: vars$e
12321
12569
  });
12322
12570
 
12323
- const globalRefs$9 = getThemeRefs(globals);
12571
+ const globalRefs$a = getThemeRefs(globals);
12324
12572
 
12325
12573
  const compVars$1 = ModalClass.cssVarList;
12326
12574
 
12327
12575
  const modal = {
12328
- [compVars$1.overlayBackgroundColor]: globalRefs$9.colors.surface.main,
12329
- [compVars$1.overlayShadow]: globalRefs$9.shadow.wide['2xl'],
12576
+ [compVars$1.overlayBackgroundColor]: globalRefs$a.colors.surface.main,
12577
+ [compVars$1.overlayShadow]: globalRefs$a.shadow.wide['2xl'],
12330
12578
  [compVars$1.overlayWidth]: '540px',
12331
12579
  };
12332
12580
 
12333
- const vars$c = {
12581
+ const vars$d = {
12334
12582
  ...compVars$1,
12335
12583
  };
12336
12584
 
12337
12585
  var modal$1 = /*#__PURE__*/Object.freeze({
12338
12586
  __proto__: null,
12339
12587
  default: modal,
12340
- vars: vars$c
12588
+ vars: vars$d
12341
12589
  });
12342
12590
 
12343
- const globalRefs$8 = getThemeRefs(globals);
12344
- const vars$b = GridClass.cssVarList;
12591
+ const globalRefs$9 = getThemeRefs(globals);
12592
+ const vars$c = GridClass.cssVarList;
12345
12593
 
12346
12594
  const grid = {
12347
- [vars$b.hostWidth]: '100%',
12348
- [vars$b.hostHeight]: '100%',
12349
- [vars$b.hostMinHeight]: '400px',
12350
- [vars$b.fontWeight]: '400',
12351
- [vars$b.backgroundColor]: globalRefs$8.colors.surface.main,
12595
+ [vars$c.hostWidth]: '100%',
12596
+ [vars$c.hostHeight]: '100%',
12597
+ [vars$c.hostMinHeight]: '400px',
12598
+ [vars$c.fontWeight]: '400',
12599
+ [vars$c.backgroundColor]: globalRefs$9.colors.surface.main,
12352
12600
 
12353
- [vars$b.fontSize]: refs.fontSize,
12354
- [vars$b.fontFamily]: refs.fontFamily,
12601
+ [vars$c.fontSize]: refs.fontSize,
12602
+ [vars$c.fontFamily]: refs.fontFamily,
12355
12603
 
12356
- [vars$b.sortIndicatorsColor]: globalRefs$8.colors.surface.light,
12357
- [vars$b.activeSortIndicator]: globalRefs$8.colors.surface.dark,
12358
- [vars$b.resizeHandleColor]: globalRefs$8.colors.surface.light,
12604
+ [vars$c.sortIndicatorsColor]: globalRefs$9.colors.surface.light,
12605
+ [vars$c.activeSortIndicator]: globalRefs$9.colors.surface.dark,
12606
+ [vars$c.resizeHandleColor]: globalRefs$9.colors.surface.light,
12359
12607
 
12360
- [vars$b.borderWidth]: refs.borderWidth,
12361
- [vars$b.borderStyle]: refs.borderStyle,
12362
- [vars$b.borderRadius]: refs.borderRadius,
12363
- [vars$b.borderColor]: 'transparent',
12608
+ [vars$c.borderWidth]: refs.borderWidth,
12609
+ [vars$c.borderStyle]: refs.borderStyle,
12610
+ [vars$c.borderRadius]: refs.borderRadius,
12611
+ [vars$c.borderColor]: 'transparent',
12364
12612
 
12365
- [vars$b.headerRowTextColor]: globalRefs$8.colors.surface.dark,
12366
- [vars$b.separatorColor]: globalRefs$8.colors.surface.light,
12613
+ [vars$c.headerRowTextColor]: globalRefs$9.colors.surface.dark,
12614
+ [vars$c.separatorColor]: globalRefs$9.colors.surface.light,
12367
12615
 
12368
- [vars$b.valueTextColor]: globalRefs$8.colors.surface.contrast,
12369
- [vars$b.selectedBackgroundColor]: globalRefs$8.colors.surface.highlight,
12616
+ [vars$c.valueTextColor]: globalRefs$9.colors.surface.contrast,
12617
+ [vars$c.selectedBackgroundColor]: globalRefs$9.colors.surface.highlight,
12370
12618
 
12371
12619
  _bordered: {
12372
- [vars$b.borderColor]: refs.borderColor,
12620
+ [vars$c.borderColor]: refs.borderColor,
12373
12621
  },
12374
12622
  };
12375
12623
 
@@ -12377,53 +12625,53 @@ var grid$1 = /*#__PURE__*/Object.freeze({
12377
12625
  __proto__: null,
12378
12626
  default: grid,
12379
12627
  grid: grid,
12380
- vars: vars$b
12628
+ vars: vars$c
12381
12629
  });
12382
12630
 
12383
- const globalRefs$7 = getThemeRefs(globals);
12384
- const vars$a = NotificationCardClass.cssVarList;
12631
+ const globalRefs$8 = getThemeRefs(globals);
12632
+ const vars$b = NotificationCardClass.cssVarList;
12385
12633
 
12386
12634
  const shadowColor = '#00000020';
12387
12635
 
12388
12636
  const notification = {
12389
- [vars$a.hostMinWidth]: '415px',
12390
- [vars$a.fontFamily]: globalRefs$7.fonts.font1.family,
12391
- [vars$a.fontSize]: globalRefs$7.typography.body1.size,
12392
- [vars$a.backgroundColor]: globalRefs$7.colors.surface.main,
12393
- [vars$a.textColor]: globalRefs$7.colors.surface.contrast,
12394
- [vars$a.boxShadow]: `${globalRefs$7.shadow.wide.xl} ${shadowColor}, ${globalRefs$7.shadow.narrow.xl} ${shadowColor}`,
12395
- [vars$a.verticalPadding]: '0.625em',
12396
- [vars$a.horizontalPadding]: '1.5em',
12397
- [vars$a.borderRadius]: globalRefs$7.radius.xs,
12637
+ [vars$b.hostMinWidth]: '415px',
12638
+ [vars$b.fontFamily]: globalRefs$8.fonts.font1.family,
12639
+ [vars$b.fontSize]: globalRefs$8.typography.body1.size,
12640
+ [vars$b.backgroundColor]: globalRefs$8.colors.surface.main,
12641
+ [vars$b.textColor]: globalRefs$8.colors.surface.contrast,
12642
+ [vars$b.boxShadow]: `${globalRefs$8.shadow.wide.xl} ${shadowColor}, ${globalRefs$8.shadow.narrow.xl} ${shadowColor}`,
12643
+ [vars$b.verticalPadding]: '0.625em',
12644
+ [vars$b.horizontalPadding]: '1.5em',
12645
+ [vars$b.borderRadius]: globalRefs$8.radius.xs,
12398
12646
 
12399
12647
  _bordered: {
12400
- [vars$a.borderWidth]: globalRefs$7.border.sm,
12401
- [vars$a.borderStyle]: 'solid',
12402
- [vars$a.borderColor]: 'transparent',
12648
+ [vars$b.borderWidth]: globalRefs$8.border.sm,
12649
+ [vars$b.borderStyle]: 'solid',
12650
+ [vars$b.borderColor]: 'transparent',
12403
12651
  },
12404
12652
 
12405
12653
  size: {
12406
- xs: { [vars$a.fontSize]: '12px' },
12407
- sm: { [vars$a.fontSize]: '14px' },
12408
- md: { [vars$a.fontSize]: '16px' },
12409
- lg: { [vars$a.fontSize]: '18px' },
12654
+ xs: { [vars$b.fontSize]: '12px' },
12655
+ sm: { [vars$b.fontSize]: '14px' },
12656
+ md: { [vars$b.fontSize]: '16px' },
12657
+ lg: { [vars$b.fontSize]: '18px' },
12410
12658
  },
12411
12659
 
12412
12660
  mode: {
12413
12661
  primary: {
12414
- [vars$a.backgroundColor]: globalRefs$7.colors.primary.main,
12415
- [vars$a.textColor]: globalRefs$7.colors.primary.contrast,
12416
- [vars$a.borderColor]: globalRefs$7.colors.primary.light,
12662
+ [vars$b.backgroundColor]: globalRefs$8.colors.primary.main,
12663
+ [vars$b.textColor]: globalRefs$8.colors.primary.contrast,
12664
+ [vars$b.borderColor]: globalRefs$8.colors.primary.light,
12417
12665
  },
12418
12666
  success: {
12419
- [vars$a.backgroundColor]: globalRefs$7.colors.success.main,
12420
- [vars$a.textColor]: globalRefs$7.colors.success.contrast,
12421
- [vars$a.borderColor]: globalRefs$7.colors.success.light,
12667
+ [vars$b.backgroundColor]: globalRefs$8.colors.success.main,
12668
+ [vars$b.textColor]: globalRefs$8.colors.success.contrast,
12669
+ [vars$b.borderColor]: globalRefs$8.colors.success.light,
12422
12670
  },
12423
12671
  error: {
12424
- [vars$a.backgroundColor]: globalRefs$7.colors.error.main,
12425
- [vars$a.textColor]: globalRefs$7.colors.error.contrast,
12426
- [vars$a.borderColor]: globalRefs$7.colors.error.light,
12672
+ [vars$b.backgroundColor]: globalRefs$8.colors.error.main,
12673
+ [vars$b.textColor]: globalRefs$8.colors.error.contrast,
12674
+ [vars$b.borderColor]: globalRefs$8.colors.error.light,
12427
12675
  },
12428
12676
  },
12429
12677
  };
@@ -12431,128 +12679,128 @@ const notification = {
12431
12679
  var notificationCard = /*#__PURE__*/Object.freeze({
12432
12680
  __proto__: null,
12433
12681
  default: notification,
12434
- vars: vars$a
12682
+ vars: vars$b
12435
12683
  });
12436
12684
 
12437
- const globalRefs$6 = getThemeRefs(globals);
12438
- const vars$9 = MultiSelectComboBoxClass.cssVarList;
12685
+ const globalRefs$7 = getThemeRefs(globals);
12686
+ const vars$a = MultiSelectComboBoxClass.cssVarList;
12439
12687
 
12440
12688
  const multiSelectComboBox = {
12441
- [vars$9.hostWidth]: refs.width,
12442
- [vars$9.hostDirection]: refs.direction,
12443
- [vars$9.fontSize]: refs.fontSize,
12444
- [vars$9.fontFamily]: refs.fontFamily,
12445
- [vars$9.labelTextColor]: refs.labelTextColor,
12446
- [vars$9.errorMessageTextColor]: refs.errorMessageTextColor,
12447
- [vars$9.inputBorderColor]: refs.borderColor,
12448
- [vars$9.inputBorderWidth]: refs.borderWidth,
12449
- [vars$9.inputBorderStyle]: refs.borderStyle,
12450
- [vars$9.inputBorderRadius]: refs.borderRadius,
12451
- [vars$9.inputOutlineColor]: refs.outlineColor,
12452
- [vars$9.inputOutlineOffset]: refs.outlineOffset,
12453
- [vars$9.inputOutlineWidth]: refs.outlineWidth,
12454
- [vars$9.inputOutlineStyle]: refs.outlineStyle,
12455
- [vars$9.labelRequiredIndicator]: refs.requiredIndicator,
12456
- [vars$9.inputValueTextColor]: refs.valueTextColor,
12457
- [vars$9.inputPlaceholderTextColor]: refs.placeholderTextColor,
12458
- [vars$9.inputBackgroundColor]: refs.backgroundColor,
12459
- [vars$9.inputHorizontalPadding]: refs.horizontalPadding,
12460
- [vars$9.inputVerticalPadding]: refs.verticalPadding,
12461
- [vars$9.inputHeight]: refs.inputHeight,
12462
- [vars$9.inputDropdownButtonColor]: globalRefs$6.colors.surface.dark,
12463
- [vars$9.inputDropdownButtonCursor]: 'pointer',
12464
- [vars$9.inputDropdownButtonSize]: refs.toggleButtonSize,
12465
- [vars$9.inputDropdownButtonOffset]: globalRefs$6.spacing.xs,
12466
- [vars$9.overlayItemPaddingInlineStart]: globalRefs$6.spacing.xs,
12467
- [vars$9.overlayItemPaddingInlineEnd]: globalRefs$6.spacing.lg,
12468
- [vars$9.chipFontSize]: refs.chipFontSize,
12469
- [vars$9.chipTextColor]: globalRefs$6.colors.surface.contrast,
12470
- [vars$9.chipBackgroundColor]: globalRefs$6.colors.surface.light,
12689
+ [vars$a.hostWidth]: refs.width,
12690
+ [vars$a.hostDirection]: refs.direction,
12691
+ [vars$a.fontSize]: refs.fontSize,
12692
+ [vars$a.fontFamily]: refs.fontFamily,
12693
+ [vars$a.labelTextColor]: refs.labelTextColor,
12694
+ [vars$a.errorMessageTextColor]: refs.errorMessageTextColor,
12695
+ [vars$a.inputBorderColor]: refs.borderColor,
12696
+ [vars$a.inputBorderWidth]: refs.borderWidth,
12697
+ [vars$a.inputBorderStyle]: refs.borderStyle,
12698
+ [vars$a.inputBorderRadius]: refs.borderRadius,
12699
+ [vars$a.inputOutlineColor]: refs.outlineColor,
12700
+ [vars$a.inputOutlineOffset]: refs.outlineOffset,
12701
+ [vars$a.inputOutlineWidth]: refs.outlineWidth,
12702
+ [vars$a.inputOutlineStyle]: refs.outlineStyle,
12703
+ [vars$a.labelRequiredIndicator]: refs.requiredIndicator,
12704
+ [vars$a.inputValueTextColor]: refs.valueTextColor,
12705
+ [vars$a.inputPlaceholderTextColor]: refs.placeholderTextColor,
12706
+ [vars$a.inputBackgroundColor]: refs.backgroundColor,
12707
+ [vars$a.inputHorizontalPadding]: refs.horizontalPadding,
12708
+ [vars$a.inputVerticalPadding]: refs.verticalPadding,
12709
+ [vars$a.inputHeight]: refs.inputHeight,
12710
+ [vars$a.inputDropdownButtonColor]: globalRefs$7.colors.surface.dark,
12711
+ [vars$a.inputDropdownButtonCursor]: 'pointer',
12712
+ [vars$a.inputDropdownButtonSize]: refs.toggleButtonSize,
12713
+ [vars$a.inputDropdownButtonOffset]: globalRefs$7.spacing.xs,
12714
+ [vars$a.overlayItemPaddingInlineStart]: globalRefs$7.spacing.xs,
12715
+ [vars$a.overlayItemPaddingInlineEnd]: globalRefs$7.spacing.lg,
12716
+ [vars$a.chipFontSize]: refs.chipFontSize,
12717
+ [vars$a.chipTextColor]: globalRefs$7.colors.surface.contrast,
12718
+ [vars$a.chipBackgroundColor]: globalRefs$7.colors.surface.light,
12471
12719
 
12472
12720
  _readonly: {
12473
- [vars$9.inputDropdownButtonCursor]: 'default',
12721
+ [vars$a.inputDropdownButtonCursor]: 'default',
12474
12722
  },
12475
12723
 
12476
12724
  // Overlay theme exposed via the component:
12477
- [vars$9.overlayFontSize]: refs.fontSize,
12478
- [vars$9.overlayFontFamily]: refs.fontFamily,
12479
- [vars$9.overlayCursor]: 'pointer',
12480
- [vars$9.overlayItemBoxShadow]: 'none',
12481
- [vars$9.overlayBackground]: refs.backgroundColor,
12482
- [vars$9.overlayTextColor]: refs.valueTextColor,
12725
+ [vars$a.overlayFontSize]: refs.fontSize,
12726
+ [vars$a.overlayFontFamily]: refs.fontFamily,
12727
+ [vars$a.overlayCursor]: 'pointer',
12728
+ [vars$a.overlayItemBoxShadow]: 'none',
12729
+ [vars$a.overlayBackground]: refs.backgroundColor,
12730
+ [vars$a.overlayTextColor]: refs.valueTextColor,
12483
12731
 
12484
12732
  // Overlay direct theme:
12485
- [vars$9.overlay.minHeight]: '400px',
12486
- [vars$9.overlay.margin]: '0',
12733
+ [vars$a.overlay.minHeight]: '400px',
12734
+ [vars$a.overlay.margin]: '0',
12487
12735
  };
12488
12736
 
12489
12737
  var multiSelectComboBox$1 = /*#__PURE__*/Object.freeze({
12490
12738
  __proto__: null,
12491
12739
  default: multiSelectComboBox,
12492
12740
  multiSelectComboBox: multiSelectComboBox,
12493
- vars: vars$9
12741
+ vars: vars$a
12494
12742
  });
12495
12743
 
12496
- const globalRefs$5 = getThemeRefs(globals);
12497
- const vars$8 = BadgeClass.cssVarList;
12744
+ const globalRefs$6 = getThemeRefs(globals);
12745
+ const vars$9 = BadgeClass.cssVarList;
12498
12746
 
12499
12747
  const badge = {
12500
- [vars$8.hostWidth]: 'fit-content',
12501
- [vars$8.hostDirection]: globalRefs$5.direction,
12748
+ [vars$9.hostWidth]: 'fit-content',
12749
+ [vars$9.hostDirection]: globalRefs$6.direction,
12502
12750
 
12503
- [vars$8.textAlign]: 'center',
12751
+ [vars$9.textAlign]: 'center',
12504
12752
 
12505
- [vars$8.fontFamily]: globalRefs$5.fonts.font1.family,
12506
- [vars$8.fontWeight]: '400',
12753
+ [vars$9.fontFamily]: globalRefs$6.fonts.font1.family,
12754
+ [vars$9.fontWeight]: '400',
12507
12755
 
12508
- [vars$8.verticalPadding]: '0.25em',
12509
- [vars$8.horizontalPadding]: '0.5em',
12756
+ [vars$9.verticalPadding]: '0.25em',
12757
+ [vars$9.horizontalPadding]: '0.5em',
12510
12758
 
12511
- [vars$8.borderWidth]: globalRefs$5.border.xs,
12512
- [vars$8.borderRadius]: globalRefs$5.radius.xs,
12513
- [vars$8.borderColor]: 'transparent',
12514
- [vars$8.borderStyle]: 'solid',
12759
+ [vars$9.borderWidth]: globalRefs$6.border.xs,
12760
+ [vars$9.borderRadius]: globalRefs$6.radius.xs,
12761
+ [vars$9.borderColor]: 'transparent',
12762
+ [vars$9.borderStyle]: 'solid',
12515
12763
 
12516
12764
  _fullWidth: {
12517
- [vars$8.hostWidth]: '100%',
12765
+ [vars$9.hostWidth]: '100%',
12518
12766
  },
12519
12767
 
12520
12768
  size: {
12521
- xs: { [vars$8.fontSize]: '12px' },
12522
- sm: { [vars$8.fontSize]: '14px' },
12523
- md: { [vars$8.fontSize]: '16px' },
12524
- lg: { [vars$8.fontSize]: '18px' },
12769
+ xs: { [vars$9.fontSize]: '12px' },
12770
+ sm: { [vars$9.fontSize]: '14px' },
12771
+ md: { [vars$9.fontSize]: '16px' },
12772
+ lg: { [vars$9.fontSize]: '18px' },
12525
12773
  },
12526
12774
 
12527
12775
  mode: {
12528
12776
  default: {
12529
- [vars$8.textColor]: globalRefs$5.colors.surface.dark,
12777
+ [vars$9.textColor]: globalRefs$6.colors.surface.dark,
12530
12778
  _bordered: {
12531
- [vars$8.borderColor]: globalRefs$5.colors.surface.light,
12779
+ [vars$9.borderColor]: globalRefs$6.colors.surface.light,
12532
12780
  },
12533
12781
  },
12534
12782
  primary: {
12535
- [vars$8.textColor]: globalRefs$5.colors.primary.main,
12783
+ [vars$9.textColor]: globalRefs$6.colors.primary.main,
12536
12784
  _bordered: {
12537
- [vars$8.borderColor]: globalRefs$5.colors.primary.light,
12785
+ [vars$9.borderColor]: globalRefs$6.colors.primary.light,
12538
12786
  },
12539
12787
  },
12540
12788
  secondary: {
12541
- [vars$8.textColor]: globalRefs$5.colors.secondary.main,
12789
+ [vars$9.textColor]: globalRefs$6.colors.secondary.main,
12542
12790
  _bordered: {
12543
- [vars$8.borderColor]: globalRefs$5.colors.secondary.light,
12791
+ [vars$9.borderColor]: globalRefs$6.colors.secondary.light,
12544
12792
  },
12545
12793
  },
12546
12794
  error: {
12547
- [vars$8.textColor]: globalRefs$5.colors.error.main,
12795
+ [vars$9.textColor]: globalRefs$6.colors.error.main,
12548
12796
  _bordered: {
12549
- [vars$8.borderColor]: globalRefs$5.colors.error.light,
12797
+ [vars$9.borderColor]: globalRefs$6.colors.error.light,
12550
12798
  },
12551
12799
  },
12552
12800
  success: {
12553
- [vars$8.textColor]: globalRefs$5.colors.success.main,
12801
+ [vars$9.textColor]: globalRefs$6.colors.success.main,
12554
12802
  _bordered: {
12555
- [vars$8.borderColor]: globalRefs$5.colors.success.light,
12803
+ [vars$9.borderColor]: globalRefs$6.colors.success.light,
12556
12804
  },
12557
12805
  },
12558
12806
  },
@@ -12561,19 +12809,19 @@ const badge = {
12561
12809
  var badge$1 = /*#__PURE__*/Object.freeze({
12562
12810
  __proto__: null,
12563
12811
  default: badge,
12564
- vars: vars$8
12812
+ vars: vars$9
12565
12813
  });
12566
12814
 
12567
- const globalRefs$4 = getThemeRefs(globals);
12815
+ const globalRefs$5 = getThemeRefs(globals);
12568
12816
  const compVars = AvatarClass.cssVarList;
12569
12817
 
12570
12818
  const avatar = {
12571
- [compVars.hostDirection]: globalRefs$4.direction,
12572
- [compVars.editableIconColor]: globalRefs$4.colors.surface.dark,
12573
- [compVars.editableBorderColor]: globalRefs$4.colors.surface.dark,
12574
- [compVars.editableBackgroundColor]: globalRefs$4.colors.surface.main,
12575
- [compVars.avatarTextColor]: globalRefs$4.colors.surface.main,
12576
- [compVars.avatarBackgroundColor]: globalRefs$4.colors.surface.dark,
12819
+ [compVars.hostDirection]: globalRefs$5.direction,
12820
+ [compVars.editableIconColor]: globalRefs$5.colors.surface.dark,
12821
+ [compVars.editableBorderColor]: globalRefs$5.colors.surface.dark,
12822
+ [compVars.editableBackgroundColor]: globalRefs$5.colors.surface.main,
12823
+ [compVars.avatarTextColor]: globalRefs$5.colors.surface.main,
12824
+ [compVars.avatarBackgroundColor]: globalRefs$5.colors.surface.dark,
12577
12825
 
12578
12826
  _editable: {
12579
12827
  [compVars.cursor]: 'pointer',
@@ -12599,137 +12847,283 @@ const avatar = {
12599
12847
  },
12600
12848
  };
12601
12849
 
12602
- const vars$7 = {
12850
+ const vars$8 = {
12603
12851
  ...compVars,
12604
12852
  };
12605
12853
 
12606
12854
  var avatar$1 = /*#__PURE__*/Object.freeze({
12607
12855
  __proto__: null,
12608
12856
  default: avatar,
12609
- vars: vars$7
12857
+ vars: vars$8
12610
12858
  });
12611
12859
 
12612
- const globalRefs$3 = getThemeRefs(globals);
12860
+ const globalRefs$4 = getThemeRefs(globals);
12613
12861
 
12614
- const vars$6 = MappingsFieldClass.cssVarList;
12862
+ const vars$7 = MappingsFieldClass.cssVarList;
12615
12863
 
12616
12864
  const mappingsField = {
12617
- [vars$6.hostWidth]: refs.width,
12618
- [vars$6.hostDirection]: refs.direction,
12619
- [vars$6.fontSize]: refs.fontSize,
12620
- [vars$6.fontFamily]: refs.fontFamily,
12621
- [vars$6.separatorFontSize]: '14px',
12622
- [vars$6.labelsFontSize]: '14px',
12623
- [vars$6.labelsLineHeight]: '1',
12624
- [vars$6.labelsMarginBottom]: '6px',
12625
- [vars$6.labelTextColor]: refs.labelTextColor,
12626
- [vars$6.itemMarginBottom]: '1em',
12865
+ [vars$7.hostWidth]: refs.width,
12866
+ [vars$7.hostDirection]: refs.direction,
12867
+ [vars$7.fontSize]: refs.fontSize,
12868
+ [vars$7.fontFamily]: refs.fontFamily,
12869
+ [vars$7.separatorFontSize]: '14px',
12870
+ [vars$7.labelsFontSize]: '14px',
12871
+ [vars$7.labelsLineHeight]: '1',
12872
+ [vars$7.labelsMarginBottom]: '6px',
12873
+ [vars$7.labelTextColor]: refs.labelTextColor,
12874
+ [vars$7.itemMarginBottom]: '1em',
12627
12875
  // To be positioned correctly, the min width has to match the text field min width
12628
- [vars$6.valueLabelMinWidth]: refs.minWidth,
12876
+ [vars$7.valueLabelMinWidth]: refs.minWidth,
12629
12877
  // To be positioned correctly, the min width has to match the combo box field min width
12630
- [vars$6.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs$3.border.xs})`,
12631
- [vars$6.separatorWidth]: '70px',
12632
- [vars$6.removeButtonWidth]: '60px',
12878
+ [vars$7.attrLabelMinWidth]: `calc(12em + 2 * ${globalRefs$4.border.xs})`,
12879
+ [vars$7.separatorWidth]: '70px',
12880
+ [vars$7.removeButtonWidth]: '60px',
12633
12881
  };
12634
12882
 
12635
12883
  var mappingsField$1 = /*#__PURE__*/Object.freeze({
12636
12884
  __proto__: null,
12637
12885
  default: mappingsField,
12638
12886
  mappingsField: mappingsField,
12639
- vars: vars$6
12887
+ vars: vars$7
12640
12888
  });
12641
12889
 
12642
- const globalRefs$2 = getThemeRefs(globals);
12643
- const vars$5 = UserAttributeClass.cssVarList;
12890
+ const globalRefs$3 = getThemeRefs(globals);
12891
+ const vars$6 = UserAttributeClass.cssVarList;
12644
12892
 
12645
12893
  const userAttribute = {
12646
- [vars$5.hostDirection]: globalRefs$2.direction,
12647
- [vars$5.labelTextWidth]: '150px',
12648
- [vars$5.valueTextWidth]: '200px',
12649
- [vars$5.badgeMaxWidth]: '85px',
12650
- [vars$5.itemsGap]: '16px',
12651
- [vars$5.hostMinWidth]: '530px',
12894
+ [vars$6.hostDirection]: globalRefs$3.direction,
12895
+ [vars$6.labelTextWidth]: '150px',
12896
+ [vars$6.valueTextWidth]: '200px',
12897
+ [vars$6.badgeMaxWidth]: '85px',
12898
+ [vars$6.itemsGap]: '16px',
12899
+ [vars$6.hostMinWidth]: '530px',
12652
12900
  _fullWidth: {
12653
- [vars$5.hostWidth]: '100%',
12901
+ [vars$6.hostWidth]: '100%',
12654
12902
  },
12655
12903
  };
12656
12904
 
12657
12905
  var userAttribute$1 = /*#__PURE__*/Object.freeze({
12658
12906
  __proto__: null,
12659
12907
  default: userAttribute,
12660
- vars: vars$5
12908
+ vars: vars$6
12661
12909
  });
12662
12910
 
12663
- const globalRefs$1 = getThemeRefs(globals);
12664
- const vars$4 = UserAuthMethodClass.cssVarList;
12911
+ const globalRefs$2 = getThemeRefs(globals);
12912
+ const vars$5 = UserAuthMethodClass.cssVarList;
12665
12913
 
12666
12914
  const userAuthMethod = {
12667
- [vars$4.hostDirection]: globalRefs$1.direction,
12668
- [vars$4.labelTextWidth]: '200px',
12669
- [vars$4.itemsGap]: '16px',
12670
- [vars$4.hostMinWidth]: '530px',
12671
- [vars$4.iconSize]: '24px',
12915
+ [vars$5.hostDirection]: globalRefs$2.direction,
12916
+ [vars$5.labelTextWidth]: '200px',
12917
+ [vars$5.itemsGap]: '16px',
12918
+ [vars$5.hostMinWidth]: '530px',
12919
+ [vars$5.iconSize]: '24px',
12672
12920
  _fullWidth: {
12673
- [vars$4.hostWidth]: '100%',
12921
+ [vars$5.hostWidth]: '100%',
12674
12922
  },
12675
12923
  };
12676
12924
 
12677
12925
  var userAuthMethod$1 = /*#__PURE__*/Object.freeze({
12678
12926
  __proto__: null,
12679
12927
  default: userAuthMethod,
12680
- vars: vars$4
12928
+ vars: vars$5
12681
12929
  });
12682
12930
 
12683
- const vars$3 = SamlGroupMappingsClass.cssVarList;
12931
+ const vars$4 = SamlGroupMappingsClass.cssVarList;
12684
12932
 
12685
12933
  const samlGroupMappings = {
12686
- [vars$3.hostWidth]: refs.width,
12687
- [vars$3.hostDirection]: refs.direction,
12688
- [vars$3.groupNameInputMarginBottom]: '1em',
12934
+ [vars$4.hostWidth]: refs.width,
12935
+ [vars$4.hostDirection]: refs.direction,
12936
+ [vars$4.groupNameInputMarginBottom]: '1em',
12689
12937
  };
12690
12938
 
12691
12939
  var samlGroupMappings$1 = /*#__PURE__*/Object.freeze({
12692
12940
  __proto__: null,
12693
12941
  default: samlGroupMappings,
12694
12942
  samlGroupMappings: samlGroupMappings,
12695
- vars: vars$3
12943
+ vars: vars$4
12696
12944
  });
12697
12945
 
12698
- const globalRefs = getThemeRefs(globals);
12699
- const vars$2 = PolicyValidationClass.cssVarList;
12946
+ const globalRefs$1 = getThemeRefs(globals);
12947
+ const vars$3 = PolicyValidationClass.cssVarList;
12700
12948
 
12701
12949
  const policyValidation = {
12702
- [vars$2.fontFamily]: refs.fontFamily,
12703
- [vars$2.fontSize]: refs.labelFontSize,
12704
- [vars$2.textColor]: refs.labelTextColor,
12705
- [vars$2.borderWidth]: refs.borderWidth,
12706
- [vars$2.borderStyle]: refs.borderStyle,
12707
- [vars$2.borderColor]: refs.borderColor,
12708
- [vars$2.borderRadius]: globalRefs.radius.sm,
12709
- [vars$2.backgroundColor]: 'none',
12710
- [vars$2.padding]: '0px',
12711
- [vars$2.labelMargin]: globalRefs.spacing.sm,
12712
- [vars$2.itemsSpacing]: globalRefs.spacing.lg,
12713
- [vars$2.itemSymbolDefault]: "'\\2022'", // "•"
12714
- [vars$2.itemSymbolSuccess]: "'\\2713'", // "✓"
12715
- [vars$2.itemSymbolError]: "'\\2A09'", // "⨉"
12716
- [vars$2.itemSymbolSuccessColor]: globalRefs.colors.success.main,
12717
- [vars$2.itemSymbolErrorColor]: globalRefs.colors.error.main,
12950
+ [vars$3.fontFamily]: refs.fontFamily,
12951
+ [vars$3.fontSize]: refs.labelFontSize,
12952
+ [vars$3.textColor]: refs.labelTextColor,
12953
+ [vars$3.borderWidth]: refs.borderWidth,
12954
+ [vars$3.borderStyle]: refs.borderStyle,
12955
+ [vars$3.borderColor]: refs.borderColor,
12956
+ [vars$3.borderRadius]: globalRefs$1.radius.sm,
12957
+ [vars$3.backgroundColor]: 'none',
12958
+ [vars$3.padding]: '0px',
12959
+ [vars$3.labelMargin]: globalRefs$1.spacing.sm,
12960
+ [vars$3.itemsSpacing]: globalRefs$1.spacing.lg,
12961
+ [vars$3.itemSymbolDefault]: "'\\2022'", // "•"
12962
+ [vars$3.itemSymbolSuccess]: "'\\2713'", // "✓"
12963
+ [vars$3.itemSymbolError]: "'\\2A09'", // "⨉"
12964
+ [vars$3.itemSymbolSuccessColor]: globalRefs$1.colors.success.main,
12965
+ [vars$3.itemSymbolErrorColor]: globalRefs$1.colors.error.main,
12718
12966
  };
12719
12967
 
12720
12968
  var policyValidation$1 = /*#__PURE__*/Object.freeze({
12721
12969
  __proto__: null,
12722
12970
  default: policyValidation,
12723
- vars: vars$2
12971
+ vars: vars$3
12724
12972
  });
12725
12973
 
12726
- const vars$1 = IconClass.cssVarList;
12974
+ const vars$2 = IconClass.cssVarList;
12727
12975
 
12728
12976
  const icon = {};
12729
12977
 
12730
12978
  var icon$1 = /*#__PURE__*/Object.freeze({
12731
12979
  __proto__: null,
12732
12980
  default: icon,
12981
+ vars: vars$2
12982
+ });
12983
+
12984
+ const globalRefs = getThemeRefs(globals);
12985
+
12986
+ const vars$1 = CodeSnippetClass.cssVarList;
12987
+
12988
+ const light = {
12989
+ color1: '#fa0',
12990
+ color2: '#d73a49',
12991
+ color3: '#6f42c1',
12992
+ color4: '#005cc5',
12993
+ color5: '#e36209',
12994
+ color6: '#6a737d',
12995
+ color7: '#22863a',
12996
+ color8: '#24292e',
12997
+ color9: '#735c0f',
12998
+ color10: '#f0fff4',
12999
+ color11: '#b31d28',
13000
+ color12: '#ffeef0',
13001
+ color13: '#032f62',
13002
+ };
13003
+
13004
+ const dark = {
13005
+ color1: '#c9d1d9',
13006
+ color2: '#ff7b72',
13007
+ color3: '#d2a8ff',
13008
+ color4: '#79c0ff',
13009
+ color5: '#ffa657',
13010
+ color6: '#8b949e',
13011
+ color7: '#7ee787',
13012
+ color8: '#c9d1d9',
13013
+ color9: '#735c0f',
13014
+ color10: '#f0fff4',
13015
+ color11: '#67060c',
13016
+ color12: '#ffeef0',
13017
+ color13: '#a5d6ff',
13018
+ };
13019
+
13020
+ const CodeSnippet = {
13021
+ [vars$1.rootBgColor]: globalRefs.colors.surface.main,
13022
+ [vars$1.rootTextColor]: globalRefs.colors.surface.contrast,
13023
+ [vars$1.docTagTextColor]: light.color2,
13024
+ [vars$1.keywordTextColor]: light.color2,
13025
+ [vars$1.metaKeywordTextColor]: light.color2,
13026
+ [vars$1.templateTagTextColor]: light.color2,
13027
+ [vars$1.templateVariableTextColor]: light.color2,
13028
+ [vars$1.typeTextColor]: light.color2,
13029
+ [vars$1.variableLanguageTextColor]: light.color2,
13030
+ [vars$1.titleTextColor]: light.color3,
13031
+ [vars$1.titleClassTextColor]: light.color3,
13032
+ [vars$1.titleClassInheritedTextColor]: light.color3,
13033
+ [vars$1.titleFunctionTextColor]: light.color3,
13034
+ [vars$1.attrTextColor]: light.color4,
13035
+ [vars$1.attributeTextColor]: light.color4,
13036
+ [vars$1.literalTextColor]: light.color4,
13037
+ [vars$1.metaTextColor]: light.color4,
13038
+ [vars$1.numberTextColor]: light.color4,
13039
+ [vars$1.operatorTextColor]: light.color4,
13040
+ [vars$1.variableTextColor]: light.color4,
13041
+ [vars$1.selectorAttrTextColor]: light.color4,
13042
+ [vars$1.selectorClassTextColor]: light.color4,
13043
+ [vars$1.selectorIdTextColor]: light.color4,
13044
+ [vars$1.regexpTextColor]: light.color13,
13045
+ [vars$1.stringTextColor]: light.color13,
13046
+ [vars$1.metaStringTextColor]: light.color13,
13047
+ [vars$1.builtInTextColor]: light.color5,
13048
+ [vars$1.symbolTextColor]: light.color5,
13049
+ [vars$1.commentTextColor]: light.color6,
13050
+ [vars$1.codeTextColor]: light.color6,
13051
+ [vars$1.formulaTextColor]: light.color6,
13052
+ [vars$1.nameTextColor]: light.color7,
13053
+ [vars$1.quoteTextColor]: light.color7,
13054
+ [vars$1.selectorTagTextColor]: light.color7,
13055
+ [vars$1.selectorPseudoTextColor]: light.color7,
13056
+ [vars$1.substTextColor]: light.color8,
13057
+ [vars$1.sectionTextColor]: light.color4,
13058
+ [vars$1.bulletTextColor]: light.color9,
13059
+ [vars$1.emphasisTextColor]: light.color8,
13060
+ [vars$1.strongTextColor]: light.color8,
13061
+ [vars$1.additionTextColor]: light.color7,
13062
+ [vars$1.additionBgColor]: light.color10,
13063
+ [vars$1.deletionTextColor]: light.color2,
13064
+ [vars$1.deletionBgColor]: light.color10,
13065
+ /* purposely ignored */
13066
+ // [vars.charEscapeTextColor]: '',
13067
+ // [vars.linkTextColor]: '',
13068
+ // [vars.paramsTextColor]: '',
13069
+ // [vars.propertyTextColor]: '',
13070
+ // [vars.punctuationTextColor]: '',
13071
+ // [vars.tagTextColor ]: '',
13072
+ };
13073
+
13074
+ const codeSnippetDarkThemeOverrides = {
13075
+ codeSnippet: {
13076
+ [vars$1.rootBgColor]: globalRefs.colors.surface.main,
13077
+ [vars$1.rootTextColor]: globalRefs.colors.surface.contrast,
13078
+ [vars$1.docTagTextColor]: dark.color2,
13079
+ [vars$1.keywordTextColor]: dark.color2,
13080
+ [vars$1.metaKeywordTextColor]: dark.color2,
13081
+ [vars$1.templateTagTextColor]: dark.color2,
13082
+ [vars$1.templateVariableTextColor]: dark.color2,
13083
+ [vars$1.typeTextColor]: dark.color2,
13084
+ [vars$1.variableLanguageTextColor]: dark.color2,
13085
+ [vars$1.titleTextColor]: dark.color3,
13086
+ [vars$1.titleClassTextColor]: dark.color3,
13087
+ [vars$1.titleClassInheritedTextColor]: dark.color3,
13088
+ [vars$1.titleFunctionTextColor]: dark.color3,
13089
+ [vars$1.attrTextColor]: dark.color4,
13090
+ [vars$1.attributeTextColor]: dark.color4,
13091
+ [vars$1.literalTextColor]: dark.color4,
13092
+ [vars$1.metaTextColor]: dark.color4,
13093
+ [vars$1.numberTextColor]: dark.color4,
13094
+ [vars$1.operatorTextColor]: dark.color4,
13095
+ [vars$1.variableTextColor]: dark.color4,
13096
+ [vars$1.selectorAttrTextColor]: dark.color4,
13097
+ [vars$1.selectorClassTextColor]: dark.color4,
13098
+ [vars$1.selectorIdTextColor]: dark.color4,
13099
+ [vars$1.regexpTextColor]: dark.color13,
13100
+ [vars$1.stringTextColor]: dark.color13,
13101
+ [vars$1.metaStringTextColor]: dark.color13,
13102
+ [vars$1.builtInTextColor]: dark.color5,
13103
+ [vars$1.symbolTextColor]: dark.color5,
13104
+ [vars$1.commentTextColor]: dark.color6,
13105
+ [vars$1.codeTextColor]: dark.color6,
13106
+ [vars$1.formulaTextColor]: dark.color6,
13107
+ [vars$1.nameTextColor]: dark.color7,
13108
+ [vars$1.quoteTextColor]: dark.color7,
13109
+ [vars$1.selectorTagTextColor]: dark.color7,
13110
+ [vars$1.selectorPseudoTextColor]: dark.color7,
13111
+ [vars$1.substTextColor]: dark.color8,
13112
+ [vars$1.sectionTextColor]: dark.color4,
13113
+ [vars$1.bulletTextColor]: dark.color9,
13114
+ [vars$1.emphasisTextColor]: dark.color8,
13115
+ [vars$1.strongTextColor]: dark.color8,
13116
+ [vars$1.additionTextColor]: dark.color7,
13117
+ [vars$1.additionBgColor]: dark.color10,
13118
+ [vars$1.deletionTextColor]: dark.color2,
13119
+ [vars$1.deletionBgColor]: dark.color10,
13120
+ },
13121
+ };
13122
+
13123
+ var codeSnippet = /*#__PURE__*/Object.freeze({
13124
+ __proto__: null,
13125
+ codeSnippetDarkThemeOverrides: codeSnippetDarkThemeOverrides,
13126
+ default: CodeSnippet,
12733
13127
  vars: vars$1
12734
13128
  });
12735
13129
 
@@ -12775,6 +13169,7 @@ const components = {
12775
13169
  samlGroupMappings: samlGroupMappings$1,
12776
13170
  policyValidation: policyValidation$1,
12777
13171
  icon: icon$1,
13172
+ codeSnippet,
12778
13173
  };
12779
13174
 
12780
13175
  const theme = Object.keys(components).reduce(
@@ -12787,7 +13182,7 @@ const vars = Object.keys(components).reduce(
12787
13182
  );
12788
13183
 
12789
13184
  const defaultTheme = { globals, components: theme };
12790
- const themeVars = { globals: vars$G, components: vars };
13185
+ const themeVars = { globals: vars$H, components: vars };
12791
13186
 
12792
13187
  const colors = {
12793
13188
  surface: {
@@ -12831,7 +13226,10 @@ const darkTheme = merge({}, defaultTheme, {
12831
13226
  globals: {
12832
13227
  colors,
12833
13228
  },
13229
+ components: {
13230
+ ...codeSnippetDarkThemeOverrides,
13231
+ },
12834
13232
  });
12835
13233
 
12836
- export { AvatarClass, BadgeClass, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CheckboxClass, ComboBoxClass, ContainerClass, DividerClass, EmailFieldClass, EnrichedTextClass, GridClass, IconClass, ImageClass, LinkClass, LoaderLinearClass, LoaderRadialClass, LogoClass, MappingsFieldClass, ModalClass, MultiSelectComboBoxClass, NewPasswordClass, NotificationClass, NotpImageClass, NumberFieldClass, PasscodeClass, PasswordClass, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RecaptchaClass, SamlGroupMappingsClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, TotpImageClass, UploadFileClass, UserAttributeClass, UserAuthMethodClass, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
13234
+ export { AvatarClass, BadgeClass, ButtonClass, ButtonMultiSelectionGroupClass, ButtonSelectionGroupClass, CheckboxClass, CodeSnippetClass, ComboBoxClass, ContainerClass, DividerClass, EmailFieldClass, EnrichedTextClass, GridClass, IconClass, ImageClass, LinkClass, LoaderLinearClass, LoaderRadialClass, LogoClass, MappingsFieldClass, ModalClass, MultiSelectComboBoxClass, NewPasswordClass, NotificationClass, NotpImageClass, NumberFieldClass, PasscodeClass, PasswordClass, PhoneFieldClass, PhoneFieldInputBoxClass, PolicyValidationClass, RecaptchaClass, SamlGroupMappingsClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, TotpImageClass, UploadFileClass, UserAttributeClass, UserAuthMethodClass, componentsThemeManager, createComponentsTheme, darkTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
12837
13235
  //# sourceMappingURL=index.esm.js.map