@descope/web-components-ui 1.0.227 → 1.0.229

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 (58) hide show
  1. package/dist/cjs/index.cjs.js +868 -602
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +763 -593
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/umd/1000.js +1 -1
  6. package/dist/umd/1769.js +360 -0
  7. package/dist/umd/1932.js +1 -1
  8. package/dist/umd/1990.js +1 -1
  9. package/dist/umd/2269.js +2 -0
  10. package/dist/umd/2269.js.LICENSE.txt +5 -0
  11. package/dist/umd/3585.js +1 -1
  12. package/dist/umd/3878.js +1 -1
  13. package/dist/umd/4803.js +1 -1
  14. package/dist/umd/5806.js +1 -1
  15. package/dist/umd/6091.js +123 -0
  16. package/dist/umd/{4746.js.LICENSE.txt → 6091.js.LICENSE.txt} +0 -6
  17. package/dist/umd/6542.js +288 -0
  18. package/dist/umd/6542.js.LICENSE.txt +11 -0
  19. package/dist/umd/6770.js +1 -1
  20. package/dist/umd/7514.js +1 -1
  21. package/dist/umd/9211.js +1 -1
  22. package/dist/umd/9320.js +2 -0
  23. package/dist/umd/9320.js.LICENSE.txt +5 -0
  24. package/dist/umd/9437.js +1 -1
  25. package/dist/umd/boolean-fields-descope-boolean-field-internal-index-js.js +1 -1
  26. package/dist/umd/boolean-fields-descope-checkbox-index-js.js +1 -1
  27. package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -1
  28. package/dist/umd/descope-button-selection-group-descope-button-selection-group-item-index-js.js +1 -1
  29. package/dist/umd/descope-container-index-js.js +1 -1
  30. package/dist/umd/descope-divider-index-js.js +1 -1
  31. package/dist/umd/descope-grid-index-js.js +1 -1
  32. package/dist/umd/descope-image-index-js.js +1 -1
  33. package/dist/umd/descope-link-index-js.js +1 -1
  34. package/dist/umd/descope-loader-linear-index-js.js +1 -1
  35. package/dist/umd/descope-loader-radial-index-js.js +1 -1
  36. package/dist/umd/descope-notification-descope-notification-card-index-js.js +1 -0
  37. package/dist/umd/descope-notification-index-js.js +1 -0
  38. package/dist/umd/descope-recaptcha-index-js.js +1 -1
  39. package/dist/umd/descope-text-index-js.js +1 -1
  40. package/dist/umd/index.js +1 -1
  41. package/package.json +2 -1
  42. package/src/components/boolean-fields/booleanFieldMixin.js +9 -1
  43. package/src/components/boolean-fields/descope-boolean-field-internal/BooleanFieldInternal.js +16 -0
  44. package/src/components/boolean-fields/descope-checkbox/CheckboxClass.js +4 -0
  45. package/src/components/boolean-fields/descope-switch-toggle/SwitchToggleClass.js +8 -0
  46. package/src/components/descope-grid/GridClass.js +8 -1
  47. package/src/components/descope-notification/NotificationClass.js +119 -0
  48. package/src/components/descope-notification/descope-notification-card/NotificationCardClass.js +67 -0
  49. package/src/components/descope-notification/descope-notification-card/index.js +6 -0
  50. package/src/components/descope-notification/descope-notification-container.js +13 -0
  51. package/src/components/descope-notification/index.js +8 -0
  52. package/src/index.cjs.js +1 -0
  53. package/src/mixins/normalizeBooleanAttributesMixin.js +2 -0
  54. package/src/theme/components/index.js +2 -0
  55. package/src/theme/components/notificationCard.js +57 -0
  56. package/dist/umd/1419.js +0 -360
  57. package/dist/umd/4746.js +0 -123
  58. /package/dist/umd/{1419.js.LICENSE.txt → 1769.js.LICENSE.txt} +0 -0
package/dist/index.esm.js CHANGED
@@ -13,6 +13,7 @@ import { GridSelectionColumn } from '@vaadin/grid/vaadin-grid-selection-column';
13
13
  import merge from 'lodash.merge';
14
14
  import set from 'lodash.set';
15
15
  import Color from 'color';
16
+ import '@vaadin/notification';
16
17
 
17
18
  const kebabCase = (str) =>
18
19
  str
@@ -563,6 +564,8 @@ const booleanAttributesList = [
563
564
  'opened',
564
565
  'active',
565
566
  'password-visible',
567
+ 'opening',
568
+ 'closing',
566
569
  ];
567
570
 
568
571
  const isBooleanAttribute = (attr) => {
@@ -1237,7 +1240,7 @@ const clickableMixin = (superclass) =>
1237
1240
  }
1238
1241
  };
1239
1242
 
1240
- const componentName$B = getComponentName('button');
1243
+ const componentName$C = getComponentName('button');
1241
1244
 
1242
1245
  const resetStyles = `
1243
1246
  :host {
@@ -1334,7 +1337,7 @@ const ButtonClass = compose(
1334
1337
  }
1335
1338
  `,
1336
1339
  excludeAttrsSync: ['tabindex'],
1337
- componentName: componentName$B,
1340
+ componentName: componentName$C,
1338
1341
  })
1339
1342
  );
1340
1343
 
@@ -1371,7 +1374,7 @@ loadingIndicatorStyles = `
1371
1374
  }
1372
1375
  `;
1373
1376
 
1374
- customElements.define(componentName$B, ButtonClass);
1377
+ customElements.define(componentName$C, ButtonClass);
1375
1378
 
1376
1379
  const createBaseInputClass = (...args) =>
1377
1380
  compose(
@@ -1381,13 +1384,17 @@ const createBaseInputClass = (...args) =>
1381
1384
  inputEventsDispatchingMixin
1382
1385
  )(createBaseClass(...args));
1383
1386
 
1384
- const componentName$A = getComponentName('boolean-field-internal');
1387
+ const componentName$B = getComponentName('boolean-field-internal');
1385
1388
 
1386
1389
  const forwardAttributes$1 = ['disabled', 'label', 'invalid', 'readonly'];
1387
1390
 
1388
- const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$A, baseSelector: 'div' });
1391
+ const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$B, baseSelector: 'div' });
1389
1392
 
1390
1393
  class BooleanInputInternal extends BaseInputClass$5 {
1394
+ static get observedAttributes() {
1395
+ return ['readonly'];
1396
+ }
1397
+
1391
1398
  constructor() {
1392
1399
  super();
1393
1400
  this.innerHTML = `
@@ -1430,6 +1437,18 @@ class BooleanInputInternal extends BaseInputClass$5 {
1430
1437
  this.handleFocusEventsDispatching([this.checkbox]);
1431
1438
  }
1432
1439
 
1440
+ attributeChangedCallback(attrName, oldValue, newValue) {
1441
+ super.attributeChangedCallback?.(attrName, oldValue, newValue);
1442
+
1443
+ if (attrName === 'readonly') {
1444
+ this.onReadOnlyChange(newValue !== null);
1445
+ }
1446
+ }
1447
+
1448
+ onReadOnlyChange(val) {
1449
+ this.baseElement.setAttribute('inert', val);
1450
+ }
1451
+
1433
1452
  getValidity() {
1434
1453
  if (this.isRequired && !this.value) {
1435
1454
  return { valueMissing: true };
@@ -1445,18 +1464,26 @@ const booleanFieldMixin = (superclass) =>
1445
1464
 
1446
1465
  const template = document.createElement('template');
1447
1466
  template.innerHTML = `
1448
- <${componentName$A}
1467
+ <${componentName$B}
1449
1468
  tabindex="-1"
1450
1469
  slot="input"
1451
- ></${componentName$A}>
1470
+ ></${componentName$B}>
1452
1471
  `;
1453
1472
 
1454
1473
  this.baseElement.appendChild(template.content.cloneNode(true));
1455
- this.inputElement = this.shadowRoot.querySelector(componentName$A);
1474
+ this.inputElement = this.shadowRoot.querySelector(componentName$B);
1456
1475
  this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
1457
1476
 
1458
1477
  forwardAttrs(this, this.inputElement, {
1459
- includeAttrs: ['required', 'full-width', 'size', 'label', 'invalid', 'disabled'],
1478
+ includeAttrs: [
1479
+ 'required',
1480
+ 'full-width',
1481
+ 'size',
1482
+ 'label',
1483
+ 'invalid',
1484
+ 'disabled',
1485
+ 'readonly',
1486
+ ],
1460
1487
  });
1461
1488
 
1462
1489
  forwardProps(this.inputElement, this, ['checked']);
@@ -1615,7 +1642,7 @@ descope-boolean-field-internal {
1615
1642
  }
1616
1643
  `;
1617
1644
 
1618
- const componentName$z = getComponentName('checkbox');
1645
+ const componentName$A = getComponentName('checkbox');
1619
1646
 
1620
1647
  const {
1621
1648
  host: host$f,
@@ -1710,17 +1737,21 @@ const CheckboxClass = compose(
1710
1737
  top: 0;
1711
1738
  left: 0;
1712
1739
  }
1740
+
1741
+ vaadin-text-field::part(input-field)::after {
1742
+ content: none;
1743
+ }
1713
1744
  `,
1714
1745
  excludeAttrsSync: ['label', 'tabindex'],
1715
- componentName: componentName$z,
1746
+ componentName: componentName$A,
1716
1747
  })
1717
1748
  );
1718
1749
 
1719
- customElements.define(componentName$A, BooleanInputInternal);
1750
+ customElements.define(componentName$B, BooleanInputInternal);
1720
1751
 
1721
- customElements.define(componentName$z, CheckboxClass);
1752
+ customElements.define(componentName$A, CheckboxClass);
1722
1753
 
1723
- const componentName$y = getComponentName('switch-toggle');
1754
+ const componentName$z = getComponentName('switch-toggle');
1724
1755
 
1725
1756
  const {
1726
1757
  host: host$e,
@@ -1803,6 +1834,14 @@ const SwitchToggleClass = compose(
1803
1834
  max-width: 100%;
1804
1835
  }
1805
1836
 
1837
+ vaadin-text-field {
1838
+ width: 100%;
1839
+ }
1840
+
1841
+ vaadin-text-field::part(input-field)::after {
1842
+ content: none;
1843
+ }
1844
+
1806
1845
  descope-boolean-field-internal {
1807
1846
  padding: 0;
1808
1847
  width: 100%;
@@ -1839,17 +1878,17 @@ const SwitchToggleClass = compose(
1839
1878
  }
1840
1879
  `,
1841
1880
  excludeAttrsSync: ['label', 'tabindex'],
1842
- componentName: componentName$y,
1881
+ componentName: componentName$z,
1843
1882
  })
1844
1883
  );
1845
1884
 
1846
- customElements.define(componentName$y, SwitchToggleClass);
1885
+ customElements.define(componentName$z, SwitchToggleClass);
1847
1886
 
1848
- const componentName$x = getComponentName('loader-linear');
1887
+ const componentName$y = getComponentName('loader-linear');
1849
1888
 
1850
- class RawLoaderLinear extends createBaseClass({ componentName: componentName$x, baseSelector: ':host > div' }) {
1889
+ class RawLoaderLinear extends createBaseClass({ componentName: componentName$y, baseSelector: ':host > div' }) {
1851
1890
  static get componentName() {
1852
- return componentName$x;
1891
+ return componentName$y;
1853
1892
  }
1854
1893
 
1855
1894
  constructor() {
@@ -1910,11 +1949,11 @@ const LoaderLinearClass = compose(
1910
1949
  componentNameValidationMixin
1911
1950
  )(RawLoaderLinear);
1912
1951
 
1913
- customElements.define(componentName$x, LoaderLinearClass);
1952
+ customElements.define(componentName$y, LoaderLinearClass);
1914
1953
 
1915
- const componentName$w = getComponentName('loader-radial');
1954
+ const componentName$x = getComponentName('loader-radial');
1916
1955
 
1917
- class RawLoaderRadial extends createBaseClass({ componentName: componentName$w, baseSelector: ':host > div' }) {
1956
+ class RawLoaderRadial extends createBaseClass({ componentName: componentName$x, baseSelector: ':host > div' }) {
1918
1957
  constructor() {
1919
1958
  super();
1920
1959
 
@@ -1958,11 +1997,11 @@ const LoaderRadialClass = compose(
1958
1997
  componentNameValidationMixin
1959
1998
  )(RawLoaderRadial);
1960
1999
 
1961
- customElements.define(componentName$w, LoaderRadialClass);
2000
+ customElements.define(componentName$x, LoaderRadialClass);
1962
2001
 
1963
- const componentName$v = getComponentName('container');
2002
+ const componentName$w = getComponentName('container');
1964
2003
 
1965
- class RawContainer extends createBaseClass({ componentName: componentName$v, baseSelector: ':host > slot' }) {
2004
+ class RawContainer extends createBaseClass({ componentName: componentName$w, baseSelector: ':host > slot' }) {
1966
2005
  constructor() {
1967
2006
  super();
1968
2007
 
@@ -2014,10 +2053,10 @@ const ContainerClass = compose(
2014
2053
  componentNameValidationMixin
2015
2054
  )(RawContainer);
2016
2055
 
2017
- customElements.define(componentName$v, ContainerClass);
2056
+ customElements.define(componentName$w, ContainerClass);
2018
2057
 
2019
- const componentName$u = getComponentName('divider');
2020
- class RawDivider extends createBaseClass({ componentName: componentName$u, baseSelector: ':host > div' }) {
2058
+ const componentName$v = getComponentName('divider');
2059
+ class RawDivider extends createBaseClass({ componentName: componentName$v, baseSelector: ':host > div' }) {
2021
2060
  constructor() {
2022
2061
  super();
2023
2062
 
@@ -2115,9 +2154,9 @@ const DividerClass = compose(
2115
2154
 
2116
2155
  // eslint-disable-next-line max-classes-per-file
2117
2156
 
2118
- const componentName$t = getComponentName('text');
2157
+ const componentName$u = getComponentName('text');
2119
2158
 
2120
- class RawText extends createBaseClass({ componentName: componentName$t, baseSelector: ':host > slot' }) {
2159
+ class RawText extends createBaseClass({ componentName: componentName$u, baseSelector: ':host > slot' }) {
2121
2160
  constructor() {
2122
2161
  super();
2123
2162
 
@@ -2176,9 +2215,9 @@ const TextClass = compose(
2176
2215
  customTextMixin
2177
2216
  )(RawText);
2178
2217
 
2179
- customElements.define(componentName$t, TextClass);
2218
+ customElements.define(componentName$u, TextClass);
2180
2219
 
2181
- customElements.define(componentName$u, DividerClass);
2220
+ customElements.define(componentName$v, DividerClass);
2182
2221
 
2183
2222
  const { host: host$b, label: label$8, placeholder: placeholder$2, requiredIndicator: requiredIndicator$8, inputField: inputField$5, input, helperText: helperText$6, errorMessage: errorMessage$8 } =
2184
2223
  {
@@ -2234,7 +2273,7 @@ var textFieldMappings = {
2234
2273
  inputPlaceholderColor: { ...placeholder$2, property: 'color' },
2235
2274
  };
2236
2275
 
2237
- const componentName$s = getComponentName('email-field');
2276
+ const componentName$t = getComponentName('email-field');
2238
2277
 
2239
2278
  const customMixin$7 = (superclass) =>
2240
2279
  class EmailFieldMixinClass extends superclass {
@@ -2268,15 +2307,15 @@ const EmailFieldClass = compose(
2268
2307
  ${resetInputOverrides('vaadin-email-field', EmailFieldClass.cssVarList)}
2269
2308
  `,
2270
2309
  excludeAttrsSync: ['tabindex'],
2271
- componentName: componentName$s,
2310
+ componentName: componentName$t,
2272
2311
  })
2273
2312
  );
2274
2313
 
2275
- customElements.define(componentName$s, EmailFieldClass);
2314
+ customElements.define(componentName$t, EmailFieldClass);
2276
2315
 
2277
- const componentName$r = getComponentName('link');
2316
+ const componentName$s = getComponentName('link');
2278
2317
 
2279
- class RawLink extends createBaseClass({ componentName: componentName$r, baseSelector: ':host a' }) {
2318
+ class RawLink extends createBaseClass({ componentName: componentName$s, baseSelector: ':host a' }) {
2280
2319
  constructor() {
2281
2320
  super();
2282
2321
 
@@ -2340,7 +2379,7 @@ const LinkClass = compose(
2340
2379
  componentNameValidationMixin
2341
2380
  )(RawLink);
2342
2381
 
2343
- customElements.define(componentName$r, LinkClass);
2382
+ customElements.define(componentName$s, LinkClass);
2344
2383
 
2345
2384
  const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
2346
2385
  let style;
@@ -2392,27 +2431,27 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
2392
2431
  return CssVarImageClass;
2393
2432
  };
2394
2433
 
2395
- const componentName$q = getComponentName('logo');
2434
+ const componentName$r = getComponentName('logo');
2396
2435
 
2397
2436
  const LogoClass = createCssVarImageClass({
2398
- componentName: componentName$q,
2437
+ componentName: componentName$r,
2399
2438
  varName: 'url',
2400
2439
  fallbackVarName: 'fallbackUrl',
2401
2440
  });
2402
2441
 
2403
- customElements.define(componentName$q, LogoClass);
2442
+ customElements.define(componentName$r, LogoClass);
2404
2443
 
2405
- const componentName$p = getComponentName('totp-image');
2444
+ const componentName$q = getComponentName('totp-image');
2406
2445
 
2407
2446
  const TotpImageClass = createCssVarImageClass({
2408
- componentName: componentName$p,
2447
+ componentName: componentName$q,
2409
2448
  varName: 'url',
2410
2449
  fallbackVarName: 'fallbackUrl',
2411
2450
  });
2412
2451
 
2413
- customElements.define(componentName$p, TotpImageClass);
2452
+ customElements.define(componentName$q, TotpImageClass);
2414
2453
 
2415
- const componentName$o = getComponentName('number-field');
2454
+ const componentName$p = getComponentName('number-field');
2416
2455
 
2417
2456
  const NumberFieldClass = compose(
2418
2457
  createStyleMixin({
@@ -2437,11 +2476,11 @@ const NumberFieldClass = compose(
2437
2476
  ${resetInputOverrides('vaadin-number-field', NumberFieldClass.cssVarList)}
2438
2477
  `,
2439
2478
  excludeAttrsSync: ['tabindex'],
2440
- componentName: componentName$o,
2479
+ componentName: componentName$p,
2441
2480
  })
2442
2481
  );
2443
2482
 
2444
- customElements.define(componentName$o, NumberFieldClass);
2483
+ customElements.define(componentName$p, NumberFieldClass);
2445
2484
 
2446
2485
  const focusElement = (ele) => {
2447
2486
  ele?.focus();
@@ -2459,13 +2498,13 @@ const getSanitizedCharacters = (str) => {
2459
2498
 
2460
2499
  /* eslint-disable no-param-reassign */
2461
2500
 
2462
- const componentName$n = getComponentName('passcode-internal');
2501
+ const componentName$o = getComponentName('passcode-internal');
2463
2502
 
2464
2503
  const observedAttributes$5 = ['digits'];
2465
2504
 
2466
2505
  const forwardAttributes = ['disabled', 'bordered', 'size', 'invalid', 'readonly'];
2467
2506
 
2468
- const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$n, baseSelector: 'div' });
2507
+ const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$o, baseSelector: 'div' });
2469
2508
 
2470
2509
  class PasscodeInternal extends BaseInputClass$4 {
2471
2510
  static get observedAttributes() {
@@ -2662,7 +2701,7 @@ class PasscodeInternal extends BaseInputClass$4 {
2662
2701
  }
2663
2702
  }
2664
2703
 
2665
- const componentName$m = getComponentName('text-field');
2704
+ const componentName$n = getComponentName('text-field');
2666
2705
 
2667
2706
  const observedAttrs = ['type'];
2668
2707
 
@@ -2711,11 +2750,11 @@ const TextFieldClass = compose(
2711
2750
  ${resetInputOverrides('vaadin-text-field', TextFieldClass.cssVarList)}
2712
2751
  `,
2713
2752
  excludeAttrsSync: ['tabindex'],
2714
- componentName: componentName$m,
2753
+ componentName: componentName$n,
2715
2754
  })
2716
2755
  );
2717
2756
 
2718
- const componentName$l = getComponentName('passcode');
2757
+ const componentName$m = getComponentName('passcode');
2719
2758
 
2720
2759
  const observedAttributes$4 = ['digits'];
2721
2760
 
@@ -2734,17 +2773,17 @@ const customMixin$5 = (superclass) =>
2734
2773
  const template = document.createElement('template');
2735
2774
 
2736
2775
  template.innerHTML = `
2737
- <${componentName$n}
2776
+ <${componentName$o}
2738
2777
  bordered="true"
2739
2778
  name="code"
2740
2779
  tabindex="-1"
2741
2780
  slot="input"
2742
- ><slot></slot></${componentName$n}>
2781
+ ><slot></slot></${componentName$o}>
2743
2782
  `;
2744
2783
 
2745
2784
  this.baseElement.appendChild(template.content.cloneNode(true));
2746
2785
 
2747
- this.inputElement = this.shadowRoot.querySelector(componentName$n);
2786
+ this.inputElement = this.shadowRoot.querySelector(componentName$o);
2748
2787
 
2749
2788
  forwardAttrs(this, this.inputElement, { includeAttrs: ['digits', 'size'] });
2750
2789
  }
@@ -2882,15 +2921,15 @@ const PasscodeClass = compose(
2882
2921
  ${resetInputCursor('vaadin-text-field')}
2883
2922
  `,
2884
2923
  excludeAttrsSync: ['tabindex'],
2885
- componentName: componentName$l,
2924
+ componentName: componentName$m,
2886
2925
  })
2887
2926
  );
2888
2927
 
2889
- customElements.define(componentName$m, TextFieldClass);
2928
+ customElements.define(componentName$n, TextFieldClass);
2890
2929
 
2891
- customElements.define(componentName$n, PasscodeInternal);
2930
+ customElements.define(componentName$o, PasscodeInternal);
2892
2931
 
2893
- customElements.define(componentName$l, PasscodeClass);
2932
+ customElements.define(componentName$m, PasscodeClass);
2894
2933
 
2895
2934
  const passwordDraggableMixin = (superclass) =>
2896
2935
  class PasswordDraggableMixinClass extends superclass {
@@ -2926,7 +2965,7 @@ const passwordDraggableMixin = (superclass) =>
2926
2965
  }
2927
2966
  };
2928
2967
 
2929
- const componentName$k = getComponentName('password');
2968
+ const componentName$l = getComponentName('password');
2930
2969
 
2931
2970
  const {
2932
2971
  host: host$8,
@@ -3055,13 +3094,13 @@ const PasswordClass = compose(
3055
3094
  }
3056
3095
  `,
3057
3096
  excludeAttrsSync: ['tabindex'],
3058
- componentName: componentName$k,
3097
+ componentName: componentName$l,
3059
3098
  })
3060
3099
  );
3061
3100
 
3062
- customElements.define(componentName$k, PasswordClass);
3101
+ customElements.define(componentName$l, PasswordClass);
3063
3102
 
3064
- const componentName$j = getComponentName('text-area');
3103
+ const componentName$k = getComponentName('text-area');
3065
3104
 
3066
3105
  const {
3067
3106
  host: host$7,
@@ -3134,17 +3173,17 @@ const TextAreaClass = compose(
3134
3173
  ${resetInputCursor('vaadin-text-area')}
3135
3174
  `,
3136
3175
  excludeAttrsSync: ['tabindex'],
3137
- componentName: componentName$j,
3176
+ componentName: componentName$k,
3138
3177
  })
3139
3178
  );
3140
3179
 
3141
- customElements.define(componentName$j, TextAreaClass);
3180
+ customElements.define(componentName$k, TextAreaClass);
3142
3181
 
3143
3182
  const observedAttributes$3 = ['src', 'alt'];
3144
3183
 
3145
- const componentName$i = getComponentName('image');
3184
+ const componentName$j = getComponentName('image');
3146
3185
 
3147
- const BaseClass$1 = createBaseClass({ componentName: componentName$i, baseSelector: ':host > img' });
3186
+ const BaseClass$1 = createBaseClass({ componentName: componentName$j, baseSelector: ':host > img' });
3148
3187
  class RawImage extends BaseClass$1 {
3149
3188
  static get observedAttributes() {
3150
3189
  return observedAttributes$3.concat(BaseClass$1.observedAttributes || []);
@@ -3184,9 +3223,9 @@ const ImageClass = compose(
3184
3223
  draggableMixin
3185
3224
  )(RawImage);
3186
3225
 
3187
- customElements.define(componentName$i, ImageClass);
3226
+ customElements.define(componentName$j, ImageClass);
3188
3227
 
3189
- const componentName$h = getComponentName('combo-box');
3228
+ const componentName$i = getComponentName('combo-box');
3190
3229
 
3191
3230
  const ComboBoxMixin = (superclass) =>
3192
3231
  class ComboBoxMixinClass extends superclass {
@@ -3537,12 +3576,12 @@ const ComboBoxClass = compose(
3537
3576
  // and reset items to an empty array, and opening the list box with no items
3538
3577
  // to display.
3539
3578
  excludeAttrsSync: ['tabindex', 'size', 'data'],
3540
- componentName: componentName$h,
3579
+ componentName: componentName$i,
3541
3580
  includeForwardProps: ['items', 'renderer', 'selectedItem'],
3542
3581
  })
3543
3582
  );
3544
3583
 
3545
- customElements.define(componentName$h, ComboBoxClass);
3584
+ customElements.define(componentName$i, ComboBoxClass);
3546
3585
 
3547
3586
  var CountryCodes = [
3548
3587
  {
@@ -4782,7 +4821,7 @@ const comboBoxItem = ({ code, dialCode, name: country }) => `
4782
4821
  </div>
4783
4822
  `;
4784
4823
 
4785
- const componentName$g = getComponentName('phone-field-internal');
4824
+ const componentName$h = getComponentName('phone-field-internal');
4786
4825
 
4787
4826
  const commonAttrs$1 = ['disabled', 'size', 'bordered', 'invalid', 'readonly'];
4788
4827
  const countryAttrs = ['country-input-placeholder', 'default-code', 'restrict-countries'];
@@ -4794,7 +4833,7 @@ const mapAttrs$1 = {
4794
4833
 
4795
4834
  const inputRelatedAttrs$1 = [].concat(commonAttrs$1, countryAttrs, phoneAttrs);
4796
4835
 
4797
- const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$g, baseSelector: 'div' });
4836
+ const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$h, baseSelector: 'div' });
4798
4837
 
4799
4838
  let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$3 {
4800
4839
  static get observedAttributes() {
@@ -4966,12 +5005,12 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$3 {
4966
5005
  }
4967
5006
  };
4968
5007
 
4969
- customElements.define(componentName$g, PhoneFieldInternal$1);
5008
+ customElements.define(componentName$h, PhoneFieldInternal$1);
4970
5009
 
4971
5010
  const textVars$1 = TextFieldClass.cssVarList;
4972
5011
  const comboVars = ComboBoxClass.cssVarList;
4973
5012
 
4974
- const componentName$f = getComponentName('phone-field');
5013
+ const componentName$g = getComponentName('phone-field');
4975
5014
 
4976
5015
  const customMixin$4 = (superclass) =>
4977
5016
  class PhoneFieldMixinClass extends superclass {
@@ -4985,15 +5024,15 @@ const customMixin$4 = (superclass) =>
4985
5024
  const template = document.createElement('template');
4986
5025
 
4987
5026
  template.innerHTML = `
4988
- <${componentName$g}
5027
+ <${componentName$h}
4989
5028
  tabindex="-1"
4990
5029
  slot="input"
4991
- ></${componentName$g}>
5030
+ ></${componentName$h}>
4992
5031
  `;
4993
5032
 
4994
5033
  this.baseElement.appendChild(template.content.cloneNode(true));
4995
5034
 
4996
- this.inputElement = this.shadowRoot.querySelector(componentName$g);
5035
+ this.inputElement = this.shadowRoot.querySelector(componentName$h);
4997
5036
 
4998
5037
  forwardAttrs(this.shadowRoot.host, this.inputElement, {
4999
5038
  includeAttrs: [
@@ -5188,17 +5227,17 @@ const PhoneFieldClass = compose(
5188
5227
  }
5189
5228
  `,
5190
5229
  excludeAttrsSync: ['tabindex'],
5191
- componentName: componentName$f,
5230
+ componentName: componentName$g,
5192
5231
  })
5193
5232
  );
5194
5233
 
5195
- customElements.define(componentName$f, PhoneFieldClass);
5234
+ customElements.define(componentName$g, PhoneFieldClass);
5196
5235
 
5197
5236
  const getCountryByCodeId = (countryCode) => {
5198
5237
  return CountryCodes.find((c) => c.code === countryCode)?.dialCode;
5199
5238
  };
5200
5239
 
5201
- const componentName$e = getComponentName('phone-field-internal-input-box');
5240
+ const componentName$f = getComponentName('phone-field-internal-input-box');
5202
5241
 
5203
5242
  const observedAttributes$2 = [
5204
5243
  'disabled',
@@ -5212,7 +5251,7 @@ const mapAttrs = {
5212
5251
  'phone-input-placeholder': 'placeholder',
5213
5252
  };
5214
5253
 
5215
- const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$e, baseSelector: 'div' });
5254
+ const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$f, baseSelector: 'div' });
5216
5255
 
5217
5256
  class PhoneFieldInternal extends BaseInputClass$2 {
5218
5257
  static get observedAttributes() {
@@ -5351,11 +5390,11 @@ class PhoneFieldInternal extends BaseInputClass$2 {
5351
5390
  }
5352
5391
  }
5353
5392
 
5354
- customElements.define(componentName$e, PhoneFieldInternal);
5393
+ customElements.define(componentName$f, PhoneFieldInternal);
5355
5394
 
5356
5395
  const textVars = TextFieldClass.cssVarList;
5357
5396
 
5358
- const componentName$d = getComponentName('phone-input-box-field');
5397
+ const componentName$e = getComponentName('phone-input-box-field');
5359
5398
 
5360
5399
  const customMixin$3 = (superclass) =>
5361
5400
  class PhoneInputBoxFieldMixinClass extends superclass {
@@ -5369,15 +5408,15 @@ const customMixin$3 = (superclass) =>
5369
5408
  const template = document.createElement('template');
5370
5409
 
5371
5410
  template.innerHTML = `
5372
- <${componentName$e}
5411
+ <${componentName$f}
5373
5412
  tabindex="-1"
5374
5413
  slot="input"
5375
- ></${componentName$e}>
5414
+ ></${componentName$f}>
5376
5415
  `;
5377
5416
 
5378
5417
  this.baseElement.appendChild(template.content.cloneNode(true));
5379
5418
 
5380
- this.inputElement = this.shadowRoot.querySelector(componentName$e);
5419
+ this.inputElement = this.shadowRoot.querySelector(componentName$f);
5381
5420
 
5382
5421
  forwardAttrs(this.shadowRoot.host, this.inputElement, {
5383
5422
  includeAttrs: [
@@ -5509,15 +5548,15 @@ const PhoneFieldInputBoxClass = compose(
5509
5548
  }
5510
5549
  `,
5511
5550
  excludeAttrsSync: ['tabindex'],
5512
- componentName: componentName$d,
5551
+ componentName: componentName$e,
5513
5552
  })
5514
5553
  );
5515
5554
 
5516
- customElements.define(componentName$d, PhoneFieldInputBoxClass);
5555
+ customElements.define(componentName$e, PhoneFieldInputBoxClass);
5517
5556
 
5518
- const componentName$c = getComponentName('new-password-internal');
5557
+ const componentName$d = getComponentName('new-password-internal');
5519
5558
 
5520
- const componentName$b = getComponentName('new-password');
5559
+ const componentName$c = getComponentName('new-password');
5521
5560
 
5522
5561
  const customMixin$2 = (superclass) =>
5523
5562
  class NewPasswordMixinClass extends superclass {
@@ -5527,16 +5566,16 @@ const customMixin$2 = (superclass) =>
5527
5566
  const template = document.createElement('template');
5528
5567
 
5529
5568
  template.innerHTML = `
5530
- <${componentName$c}
5569
+ <${componentName$d}
5531
5570
  name="new-password"
5532
5571
  tabindex="-1"
5533
5572
  slot="input"
5534
- ></${componentName$c}>
5573
+ ></${componentName$d}>
5535
5574
  `;
5536
5575
 
5537
5576
  this.baseElement.appendChild(template.content.cloneNode(true));
5538
5577
 
5539
- this.inputElement = this.shadowRoot.querySelector(componentName$c);
5578
+ this.inputElement = this.shadowRoot.querySelector(componentName$d);
5540
5579
 
5541
5580
  forwardAttrs(this, this.inputElement, {
5542
5581
  includeAttrs: [
@@ -5635,7 +5674,7 @@ const NewPasswordClass = compose(
5635
5674
  },
5636
5675
  `,
5637
5676
  excludeAttrsSync: ['tabindex'],
5638
- componentName: componentName$b,
5677
+ componentName: componentName$c,
5639
5678
  })
5640
5679
  );
5641
5680
 
@@ -5660,7 +5699,7 @@ const commonAttrs = [
5660
5699
 
5661
5700
  const inputRelatedAttrs = [].concat(commonAttrs, passwordInputAttrs, confirmInputAttrs);
5662
5701
 
5663
- const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$c, baseSelector: 'div' });
5702
+ const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$d, baseSelector: 'div' });
5664
5703
 
5665
5704
  class NewPasswordInternal extends BaseInputClass$1 {
5666
5705
  static get observedAttributes() {
@@ -5820,16 +5859,16 @@ class NewPasswordInternal extends BaseInputClass$1 {
5820
5859
  }
5821
5860
  }
5822
5861
 
5823
- customElements.define(componentName$c, NewPasswordInternal);
5862
+ customElements.define(componentName$d, NewPasswordInternal);
5824
5863
 
5825
- customElements.define(componentName$b, NewPasswordClass);
5864
+ customElements.define(componentName$c, NewPasswordClass);
5826
5865
 
5827
- const componentName$a = getComponentName('recaptcha');
5866
+ const componentName$b = getComponentName('recaptcha');
5828
5867
 
5829
5868
  const observedAttributes$1 = ['enabled', 'site-key', 'action', 'enterprise'];
5830
5869
 
5831
5870
  const BaseClass = createBaseClass({
5832
- componentName: componentName$a,
5871
+ componentName: componentName$b,
5833
5872
  baseSelector: ':host > div',
5834
5873
  });
5835
5874
  class RawRecaptcha extends BaseClass {
@@ -5981,7 +6020,7 @@ class RawRecaptcha extends BaseClass {
5981
6020
 
5982
6021
  const RecaptchaClass = compose(draggableMixin)(RawRecaptcha);
5983
6022
 
5984
- customElements.define(componentName$a, RecaptchaClass);
6023
+ customElements.define(componentName$b, RecaptchaClass);
5985
6024
 
5986
6025
  const getFileBase64 = (fileObj) => {
5987
6026
  return new Promise((resolve) => {
@@ -5995,7 +6034,7 @@ const getFilename = (fileObj) => {
5995
6034
  return fileObj.name.replace(/^.*\\/, '');
5996
6035
  };
5997
6036
 
5998
- const componentName$9 = getComponentName('upload-file');
6037
+ const componentName$a = getComponentName('upload-file');
5999
6038
 
6000
6039
  const observedAttributes = [
6001
6040
  'title',
@@ -6010,7 +6049,7 @@ const observedAttributes = [
6010
6049
  'icon',
6011
6050
  ];
6012
6051
 
6013
- const BaseInputClass = createBaseInputClass({ componentName: componentName$9, baseSelector: ':host > div' });
6052
+ const BaseInputClass = createBaseInputClass({ componentName: componentName$a, baseSelector: ':host > div' });
6014
6053
 
6015
6054
  class RawUploadFile extends BaseInputClass {
6016
6055
  static get observedAttributes() {
@@ -6220,12 +6259,12 @@ const UploadFileClass = compose(
6220
6259
  componentNameValidationMixin
6221
6260
  )(RawUploadFile);
6222
6261
 
6223
- customElements.define(componentName$9, UploadFileClass);
6262
+ customElements.define(componentName$a, UploadFileClass);
6224
6263
 
6225
- const componentName$8 = getComponentName('button-selection-group-internal');
6264
+ const componentName$9 = getComponentName('button-selection-group-internal');
6226
6265
 
6227
6266
  class ButtonSelectionGroupInternalClass extends createBaseInputClass({
6228
- componentName: componentName$8,
6267
+ componentName: componentName$9,
6229
6268
  baseSelector: 'slot',
6230
6269
  }) {
6231
6270
  constructor() {
@@ -6362,7 +6401,7 @@ class ButtonSelectionGroupInternalClass extends createBaseInputClass({
6362
6401
  }
6363
6402
  }
6364
6403
 
6365
- const componentName$7 = getComponentName('button-selection-group');
6404
+ const componentName$8 = getComponentName('button-selection-group');
6366
6405
 
6367
6406
  const customMixin$1 = (superclass) =>
6368
6407
  class ButtonSelectionGroupMixinClass extends superclass {
@@ -6437,18 +6476,18 @@ const customMixin$1 = (superclass) =>
6437
6476
  const template = document.createElement('template');
6438
6477
 
6439
6478
  template.innerHTML = `
6440
- <${componentName$8}
6479
+ <${componentName$9}
6441
6480
  name="button-selection-group"
6442
6481
  slot="input"
6443
6482
  tabindex="-1"
6444
6483
  >
6445
6484
  <slot></slot>
6446
- </${componentName$8}>
6485
+ </${componentName$9}>
6447
6486
  `;
6448
6487
 
6449
6488
  this.baseElement.appendChild(template.content.cloneNode(true));
6450
6489
 
6451
- this.inputElement = this.shadowRoot.querySelector(componentName$8);
6490
+ this.inputElement = this.shadowRoot.querySelector(componentName$9);
6452
6491
 
6453
6492
  forwardAttrs(this, this.inputElement, {
6454
6493
  includeAttrs: ['size', 'default-value', 'allow-deselect'],
@@ -6551,18 +6590,18 @@ const ButtonSelectionGroupClass = compose(
6551
6590
  ${resetInputCursor('vaadin-text-field')}
6552
6591
  `,
6553
6592
  excludeAttrsSync: ['tabindex'],
6554
- componentName: componentName$7,
6593
+ componentName: componentName$8,
6555
6594
  })
6556
6595
  );
6557
6596
 
6558
- customElements.define(componentName$8, ButtonSelectionGroupInternalClass);
6597
+ customElements.define(componentName$9, ButtonSelectionGroupInternalClass);
6559
6598
 
6560
- customElements.define(componentName$7, ButtonSelectionGroupClass);
6599
+ customElements.define(componentName$8, ButtonSelectionGroupClass);
6561
6600
 
6562
- const componentName$6 = getComponentName('button-selection-group-item');
6601
+ const componentName$7 = getComponentName('button-selection-group-item');
6563
6602
 
6564
6603
  class RawSelectItem extends createBaseClass({
6565
- componentName: componentName$6,
6604
+ componentName: componentName$7,
6566
6605
  baseSelector: ':host > descope-button',
6567
6606
  }) {
6568
6607
  get size() {
@@ -6656,17 +6695,17 @@ const ButtonSelectionGroupItemClass = compose(
6656
6695
  componentNameValidationMixin
6657
6696
  )(RawSelectItem);
6658
6697
 
6659
- customElements.define(componentName$6, ButtonSelectionGroupItemClass);
6698
+ customElements.define(componentName$7, ButtonSelectionGroupItemClass);
6660
6699
 
6661
- const componentName$5 = getComponentName('grid-text-column');
6700
+ const componentName$6 = getComponentName('grid-text-column');
6662
6701
 
6663
6702
  class GridTextColumnClass extends GridColumn {}
6664
6703
 
6665
- customElements.define(componentName$5, GridTextColumnClass);
6704
+ customElements.define(componentName$6, GridTextColumnClass);
6666
6705
 
6667
6706
  /* eslint-disable no-param-reassign */
6668
6707
 
6669
- const componentName$4 = getComponentName('grid-status-column');
6708
+ const componentName$5 = getComponentName('grid-status-column');
6670
6709
  class GridStatusColumnClass extends GridColumn {
6671
6710
  _defaultRenderer(cell, _col, model) {
6672
6711
  const contentAttr = this.getAttribute('status');
@@ -6684,11 +6723,11 @@ class GridStatusColumnClass extends GridColumn {
6684
6723
  }
6685
6724
  }
6686
6725
 
6687
- customElements.define(componentName$4, GridStatusColumnClass);
6726
+ customElements.define(componentName$5, GridStatusColumnClass);
6688
6727
 
6689
6728
  /* eslint-disable class-methods-use-this */
6690
6729
 
6691
- const componentName$3 = getComponentName('grid-selection-column');
6730
+ const componentName$4 = getComponentName('grid-selection-column');
6692
6731
 
6693
6732
  const createCheckboxEle = () => {
6694
6733
  const checkbox = document.createElement('descope-checkbox');
@@ -6743,7 +6782,7 @@ class GridSelectionColumnClass extends GridSelectionColumn {
6743
6782
  }
6744
6783
  }
6745
6784
 
6746
- customElements.define(componentName$3, GridSelectionColumnClass);
6785
+ customElements.define(componentName$4, GridSelectionColumnClass);
6747
6786
 
6748
6787
  const isValidDataType = (data) => {
6749
6788
  const isValid = Array.isArray(data);
@@ -6755,7 +6794,7 @@ const isValidDataType = (data) => {
6755
6794
  return isValid;
6756
6795
  };
6757
6796
 
6758
- const componentName$2 = getComponentName('grid');
6797
+ const componentName$3 = getComponentName('grid');
6759
6798
 
6760
6799
  const GridMixin = (superclass) =>
6761
6800
  class GridMixinClass extends superclass {
@@ -6879,9 +6918,16 @@ const GridMixin = (superclass) =>
6879
6918
  const itemsIds = new Set(
6880
6919
  this.grid.items.map((item) => item[this.uniqueColumnId] ?? item)
6881
6920
  );
6882
- this.grid.selectedItems = this.grid.selectedItems.filter((selectedItem) =>
6921
+
6922
+ const newSelectedItems = this.grid.selectedItems.filter((selectedItem) =>
6883
6923
  itemsIds.has(selectedItem[this.uniqueColumnId] ?? selectedItem)
6884
6924
  );
6925
+
6926
+ // we want to update the selected items only if there is a reason,
6927
+ // to prevent redundant notifications
6928
+ if (this.grid.selectedItems.length !== newSelectedItems.length) {
6929
+ this.grid.selectedItems = newSelectedItems;
6930
+ }
6885
6931
  }
6886
6932
  }
6887
6933
  }
@@ -6970,11 +7016,11 @@ const GridClass = compose(
6970
7016
  }
6971
7017
  `,
6972
7018
  excludeAttrsSync: ['columns', 'tabindex'],
6973
- componentName: componentName$2,
7019
+ componentName: componentName$3,
6974
7020
  })
6975
7021
  );
6976
7022
 
6977
- customElements.define(componentName$2, GridClass);
7023
+ customElements.define(componentName$3, GridClass);
6978
7024
 
6979
7025
  const getVarName = (path) => getCssVarName(DESCOPE_PREFIX, ...path);
6980
7026
 
@@ -7302,32 +7348,32 @@ const globals = {
7302
7348
  shadow,
7303
7349
  fonts,
7304
7350
  };
7305
- const vars$t = getThemeVars(globals);
7351
+ const vars$u = getThemeVars(globals);
7306
7352
 
7307
- const globalRefs$e = getThemeRefs(globals);
7353
+ const globalRefs$f = getThemeRefs(globals);
7308
7354
  const compVars$4 = ButtonClass.cssVarList;
7309
7355
 
7310
7356
  const mode = {
7311
- primary: globalRefs$e.colors.primary,
7312
- secondary: globalRefs$e.colors.secondary,
7313
- success: globalRefs$e.colors.success,
7314
- error: globalRefs$e.colors.error,
7315
- surface: globalRefs$e.colors.surface,
7357
+ primary: globalRefs$f.colors.primary,
7358
+ secondary: globalRefs$f.colors.secondary,
7359
+ success: globalRefs$f.colors.success,
7360
+ error: globalRefs$f.colors.error,
7361
+ surface: globalRefs$f.colors.surface,
7316
7362
  };
7317
7363
 
7318
- const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$B);
7364
+ const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$C);
7319
7365
 
7320
7366
  const button = {
7321
7367
  ...helperTheme$3,
7322
7368
 
7323
- [compVars$4.fontFamily]: globalRefs$e.fonts.font1.family,
7369
+ [compVars$4.fontFamily]: globalRefs$f.fonts.font1.family,
7324
7370
 
7325
7371
  [compVars$4.cursor]: 'pointer',
7326
7372
  [compVars$4.hostHeight]: '3em',
7327
7373
  [compVars$4.hostWidth]: 'auto',
7328
7374
 
7329
- [compVars$4.borderRadius]: globalRefs$e.radius.sm,
7330
- [compVars$4.borderWidth]: globalRefs$e.border.xs,
7375
+ [compVars$4.borderRadius]: globalRefs$f.radius.sm,
7376
+ [compVars$4.borderWidth]: globalRefs$f.border.xs,
7331
7377
  [compVars$4.borderStyle]: 'solid',
7332
7378
  [compVars$4.borderColor]: 'transparent',
7333
7379
 
@@ -7363,10 +7409,10 @@ const button = {
7363
7409
  },
7364
7410
 
7365
7411
  _disabled: {
7366
- [helperVars$3.main]: globalRefs$e.colors.surface.main,
7367
- [helperVars$3.dark]: globalRefs$e.colors.surface.dark,
7368
- [helperVars$3.light]: globalRefs$e.colors.surface.light,
7369
- [helperVars$3.contrast]: globalRefs$e.colors.surface.contrast,
7412
+ [helperVars$3.main]: globalRefs$f.colors.surface.main,
7413
+ [helperVars$3.dark]: globalRefs$f.colors.surface.dark,
7414
+ [helperVars$3.light]: globalRefs$f.colors.surface.light,
7415
+ [helperVars$3.contrast]: globalRefs$f.colors.surface.contrast,
7370
7416
  },
7371
7417
 
7372
7418
  variant: {
@@ -7408,11 +7454,11 @@ const button = {
7408
7454
  },
7409
7455
 
7410
7456
  _focused: {
7411
- [compVars$4.outlineColor]: globalRefs$e.colors.surface.main,
7457
+ [compVars$4.outlineColor]: globalRefs$f.colors.surface.main,
7412
7458
  },
7413
7459
  };
7414
7460
 
7415
- const vars$s = {
7461
+ const vars$t = {
7416
7462
  ...compVars$4,
7417
7463
  ...helperVars$3,
7418
7464
  };
@@ -7420,25 +7466,25 @@ const vars$s = {
7420
7466
  var button$1 = /*#__PURE__*/Object.freeze({
7421
7467
  __proto__: null,
7422
7468
  default: button,
7423
- vars: vars$s
7469
+ vars: vars$t
7424
7470
  });
7425
7471
 
7426
- const componentName$1 = getComponentName('input-wrapper');
7427
- const globalRefs$d = getThemeRefs(globals);
7472
+ const componentName$2 = getComponentName('input-wrapper');
7473
+ const globalRefs$e = getThemeRefs(globals);
7428
7474
 
7429
- const [theme$1, refs, vars$r] = createHelperVars(
7475
+ const [theme$1, refs, vars$s] = createHelperVars(
7430
7476
  {
7431
- labelTextColor: globalRefs$d.colors.surface.contrast,
7432
- valueTextColor: globalRefs$d.colors.surface.contrast,
7433
- placeholderTextColor: globalRefs$d.colors.surface.main,
7477
+ labelTextColor: globalRefs$e.colors.surface.contrast,
7478
+ valueTextColor: globalRefs$e.colors.surface.contrast,
7479
+ placeholderTextColor: globalRefs$e.colors.surface.main,
7434
7480
  requiredIndicator: "'*'",
7435
- errorMessageTextColor: globalRefs$d.colors.error.main,
7481
+ errorMessageTextColor: globalRefs$e.colors.error.main,
7436
7482
 
7437
- borderWidth: globalRefs$d.border.xs,
7438
- borderRadius: globalRefs$d.radius.xs,
7483
+ borderWidth: globalRefs$e.border.xs,
7484
+ borderRadius: globalRefs$e.radius.xs,
7439
7485
  borderColor: 'transparent',
7440
7486
 
7441
- outlineWidth: globalRefs$d.border.sm,
7487
+ outlineWidth: globalRefs$e.border.sm,
7442
7488
  outlineStyle: 'solid',
7443
7489
  outlineColor: 'transparent',
7444
7490
  outlineOffset: '0px', // we need to keep the px unit even for 0 value, as this var is used for calc in different component classes
@@ -7449,9 +7495,9 @@ const [theme$1, refs, vars$r] = createHelperVars(
7449
7495
  horizontalPadding: '0.5em',
7450
7496
  verticalPadding: '0.5em',
7451
7497
 
7452
- backgroundColor: globalRefs$d.colors.surface.light,
7498
+ backgroundColor: globalRefs$e.colors.surface.light,
7453
7499
 
7454
- fontFamily: globalRefs$d.fonts.font1.family,
7500
+ fontFamily: globalRefs$e.fonts.font1.family,
7455
7501
 
7456
7502
  size: {
7457
7503
  xs: { fontSize: '12px' },
@@ -7465,51 +7511,86 @@ const [theme$1, refs, vars$r] = createHelperVars(
7465
7511
  },
7466
7512
 
7467
7513
  _focused: {
7468
- outlineColor: globalRefs$d.colors.surface.main,
7514
+ outlineColor: globalRefs$e.colors.surface.main,
7469
7515
  _invalid: {
7470
- outlineColor: globalRefs$d.colors.error.main,
7516
+ outlineColor: globalRefs$e.colors.error.main,
7471
7517
  },
7472
7518
  },
7473
7519
 
7474
7520
  _bordered: {
7475
- outlineWidth: globalRefs$d.border.xs,
7476
- borderColor: globalRefs$d.colors.surface.main,
7521
+ outlineWidth: globalRefs$e.border.xs,
7522
+ borderColor: globalRefs$e.colors.surface.main,
7477
7523
  borderStyle: 'solid',
7478
7524
  _invalid: {
7479
- borderColor: globalRefs$d.colors.error.main,
7525
+ borderColor: globalRefs$e.colors.error.main,
7480
7526
  },
7481
7527
  },
7482
7528
 
7483
7529
  _disabled: {
7484
- labelTextColor: globalRefs$d.colors.surface.main,
7485
- borderColor: globalRefs$d.colors.surface.main,
7486
- valueTextColor: globalRefs$d.colors.surface.dark,
7487
- placeholderTextColor: globalRefs$d.colors.surface.dark,
7488
- backgroundColor: globalRefs$d.colors.surface.main,
7530
+ labelTextColor: globalRefs$e.colors.surface.main,
7531
+ borderColor: globalRefs$e.colors.surface.main,
7532
+ valueTextColor: globalRefs$e.colors.surface.dark,
7533
+ placeholderTextColor: globalRefs$e.colors.surface.dark,
7534
+ backgroundColor: globalRefs$e.colors.surface.main,
7489
7535
  },
7490
7536
  },
7491
- componentName$1
7537
+ componentName$2
7492
7538
  );
7493
7539
 
7494
7540
  var inputWrapper = /*#__PURE__*/Object.freeze({
7495
7541
  __proto__: null,
7496
7542
  default: theme$1,
7497
7543
  refs: refs,
7498
- vars: vars$r
7544
+ vars: vars$s
7499
7545
  });
7500
7546
 
7501
- const vars$q = TextFieldClass.cssVarList;
7547
+ const vars$r = TextFieldClass.cssVarList;
7502
7548
 
7503
7549
  const textField = {
7550
+ [vars$r.hostWidth]: refs.width,
7551
+ [vars$r.hostMinWidth]: refs.minWidth,
7552
+ [vars$r.fontSize]: refs.fontSize,
7553
+ [vars$r.fontFamily]: refs.fontFamily,
7554
+ [vars$r.labelTextColor]: refs.labelTextColor,
7555
+ [vars$r.labelRequiredIndicator]: refs.requiredIndicator,
7556
+ [vars$r.errorMessageTextColor]: refs.errorMessageTextColor,
7557
+ [vars$r.inputValueTextColor]: refs.valueTextColor,
7558
+ [vars$r.inputPlaceholderColor]: refs.placeholderTextColor,
7559
+ [vars$r.inputBorderWidth]: refs.borderWidth,
7560
+ [vars$r.inputBorderStyle]: refs.borderStyle,
7561
+ [vars$r.inputBorderColor]: refs.borderColor,
7562
+ [vars$r.inputBorderRadius]: refs.borderRadius,
7563
+ [vars$r.inputOutlineWidth]: refs.outlineWidth,
7564
+ [vars$r.inputOutlineStyle]: refs.outlineStyle,
7565
+ [vars$r.inputOutlineColor]: refs.outlineColor,
7566
+ [vars$r.inputOutlineOffset]: refs.outlineOffset,
7567
+ [vars$r.inputBackgroundColor]: refs.backgroundColor,
7568
+ [vars$r.inputHeight]: refs.inputHeight,
7569
+ [vars$r.inputHorizontalPadding]: refs.horizontalPadding,
7570
+ };
7571
+
7572
+ var textField$1 = /*#__PURE__*/Object.freeze({
7573
+ __proto__: null,
7574
+ default: textField,
7575
+ textField: textField,
7576
+ vars: vars$r
7577
+ });
7578
+
7579
+ const globalRefs$d = getThemeRefs(globals);
7580
+ const vars$q = PasswordClass.cssVarList;
7581
+
7582
+ const password = {
7504
7583
  [vars$q.hostWidth]: refs.width,
7505
- [vars$q.hostMinWidth]: refs.minWidth,
7506
7584
  [vars$q.fontSize]: refs.fontSize,
7507
7585
  [vars$q.fontFamily]: refs.fontFamily,
7508
7586
  [vars$q.labelTextColor]: refs.labelTextColor,
7509
- [vars$q.labelRequiredIndicator]: refs.requiredIndicator,
7510
7587
  [vars$q.errorMessageTextColor]: refs.errorMessageTextColor,
7588
+ [vars$q.inputHorizontalPadding]: refs.horizontalPadding,
7589
+ [vars$q.inputHeight]: refs.inputHeight,
7590
+ [vars$q.inputBackgroundColor]: refs.backgroundColor,
7591
+ [vars$q.labelRequiredIndicator]: refs.requiredIndicator,
7511
7592
  [vars$q.inputValueTextColor]: refs.valueTextColor,
7512
- [vars$q.inputPlaceholderColor]: refs.placeholderTextColor,
7593
+ [vars$q.inputPlaceholderTextColor]: refs.placeholderTextColor,
7513
7594
  [vars$q.inputBorderWidth]: refs.borderWidth,
7514
7595
  [vars$q.inputBorderStyle]: refs.borderStyle,
7515
7596
  [vars$q.inputBorderColor]: refs.borderColor,
@@ -7518,33 +7599,27 @@ const textField = {
7518
7599
  [vars$q.inputOutlineStyle]: refs.outlineStyle,
7519
7600
  [vars$q.inputOutlineColor]: refs.outlineColor,
7520
7601
  [vars$q.inputOutlineOffset]: refs.outlineOffset,
7521
- [vars$q.inputBackgroundColor]: refs.backgroundColor,
7522
- [vars$q.inputHeight]: refs.inputHeight,
7523
- [vars$q.inputHorizontalPadding]: refs.horizontalPadding,
7602
+ [vars$q.revealButtonOffset]: globalRefs$d.spacing.md,
7603
+ [vars$q.revealButtonSize]: refs.toggleButtonSize,
7524
7604
  };
7525
7605
 
7526
- var textField$1 = /*#__PURE__*/Object.freeze({
7606
+ var password$1 = /*#__PURE__*/Object.freeze({
7527
7607
  __proto__: null,
7528
- default: textField,
7529
- textField: textField,
7608
+ default: password,
7530
7609
  vars: vars$q
7531
7610
  });
7532
7611
 
7533
- const globalRefs$c = getThemeRefs(globals);
7534
- const vars$p = PasswordClass.cssVarList;
7612
+ const vars$p = NumberFieldClass.cssVarList;
7535
7613
 
7536
- const password = {
7614
+ const numberField = {
7537
7615
  [vars$p.hostWidth]: refs.width,
7616
+ [vars$p.hostMinWidth]: refs.minWidth,
7538
7617
  [vars$p.fontSize]: refs.fontSize,
7539
7618
  [vars$p.fontFamily]: refs.fontFamily,
7540
7619
  [vars$p.labelTextColor]: refs.labelTextColor,
7541
7620
  [vars$p.errorMessageTextColor]: refs.errorMessageTextColor,
7542
- [vars$p.inputHorizontalPadding]: refs.horizontalPadding,
7543
- [vars$p.inputHeight]: refs.inputHeight,
7544
- [vars$p.inputBackgroundColor]: refs.backgroundColor,
7545
- [vars$p.labelRequiredIndicator]: refs.requiredIndicator,
7546
7621
  [vars$p.inputValueTextColor]: refs.valueTextColor,
7547
- [vars$p.inputPlaceholderTextColor]: refs.placeholderTextColor,
7622
+ [vars$p.inputPlaceholderColor]: refs.placeholderTextColor,
7548
7623
  [vars$p.inputBorderWidth]: refs.borderWidth,
7549
7624
  [vars$p.inputBorderStyle]: refs.borderStyle,
7550
7625
  [vars$p.inputBorderColor]: refs.borderColor,
@@ -7553,19 +7628,21 @@ const password = {
7553
7628
  [vars$p.inputOutlineStyle]: refs.outlineStyle,
7554
7629
  [vars$p.inputOutlineColor]: refs.outlineColor,
7555
7630
  [vars$p.inputOutlineOffset]: refs.outlineOffset,
7556
- [vars$p.revealButtonOffset]: globalRefs$c.spacing.md,
7557
- [vars$p.revealButtonSize]: refs.toggleButtonSize,
7631
+ [vars$p.inputBackgroundColor]: refs.backgroundColor,
7632
+ [vars$p.labelRequiredIndicator]: refs.requiredIndicator,
7633
+ [vars$p.inputHorizontalPadding]: refs.horizontalPadding,
7634
+ [vars$p.inputHeight]: refs.inputHeight,
7558
7635
  };
7559
7636
 
7560
- var password$1 = /*#__PURE__*/Object.freeze({
7637
+ var numberField$1 = /*#__PURE__*/Object.freeze({
7561
7638
  __proto__: null,
7562
- default: password,
7639
+ default: numberField,
7563
7640
  vars: vars$p
7564
7641
  });
7565
7642
 
7566
- const vars$o = NumberFieldClass.cssVarList;
7643
+ const vars$o = EmailFieldClass.cssVarList;
7567
7644
 
7568
- const numberField = {
7645
+ const emailField = {
7569
7646
  [vars$o.hostWidth]: refs.width,
7570
7647
  [vars$o.hostMinWidth]: refs.minWidth,
7571
7648
  [vars$o.fontSize]: refs.fontSize,
@@ -7573,6 +7650,7 @@ const numberField = {
7573
7650
  [vars$o.labelTextColor]: refs.labelTextColor,
7574
7651
  [vars$o.errorMessageTextColor]: refs.errorMessageTextColor,
7575
7652
  [vars$o.inputValueTextColor]: refs.valueTextColor,
7653
+ [vars$o.labelRequiredIndicator]: refs.requiredIndicator,
7576
7654
  [vars$o.inputPlaceholderColor]: refs.placeholderTextColor,
7577
7655
  [vars$o.inputBorderWidth]: refs.borderWidth,
7578
7656
  [vars$o.inputBorderStyle]: refs.borderStyle,
@@ -7583,197 +7661,165 @@ const numberField = {
7583
7661
  [vars$o.inputOutlineColor]: refs.outlineColor,
7584
7662
  [vars$o.inputOutlineOffset]: refs.outlineOffset,
7585
7663
  [vars$o.inputBackgroundColor]: refs.backgroundColor,
7586
- [vars$o.labelRequiredIndicator]: refs.requiredIndicator,
7587
7664
  [vars$o.inputHorizontalPadding]: refs.horizontalPadding,
7588
7665
  [vars$o.inputHeight]: refs.inputHeight,
7589
7666
  };
7590
7667
 
7591
- var numberField$1 = /*#__PURE__*/Object.freeze({
7668
+ var emailField$1 = /*#__PURE__*/Object.freeze({
7592
7669
  __proto__: null,
7593
- default: numberField,
7670
+ default: emailField,
7594
7671
  vars: vars$o
7595
7672
  });
7596
7673
 
7597
- const vars$n = EmailFieldClass.cssVarList;
7674
+ const globalRefs$c = getThemeRefs(globals);
7675
+ const vars$n = TextAreaClass.cssVarList;
7598
7676
 
7599
- const emailField = {
7677
+ const textArea = {
7600
7678
  [vars$n.hostWidth]: refs.width,
7601
7679
  [vars$n.hostMinWidth]: refs.minWidth,
7602
7680
  [vars$n.fontSize]: refs.fontSize,
7603
7681
  [vars$n.fontFamily]: refs.fontFamily,
7604
7682
  [vars$n.labelTextColor]: refs.labelTextColor,
7683
+ [vars$n.labelRequiredIndicator]: refs.requiredIndicator,
7605
7684
  [vars$n.errorMessageTextColor]: refs.errorMessageTextColor,
7685
+ [vars$n.inputBackgroundColor]: refs.backgroundColor,
7606
7686
  [vars$n.inputValueTextColor]: refs.valueTextColor,
7607
- [vars$n.labelRequiredIndicator]: refs.requiredIndicator,
7608
- [vars$n.inputPlaceholderColor]: refs.placeholderTextColor,
7687
+ [vars$n.inputPlaceholderTextColor]: refs.placeholderTextColor,
7688
+ [vars$n.inputBorderRadius]: refs.borderRadius,
7609
7689
  [vars$n.inputBorderWidth]: refs.borderWidth,
7610
7690
  [vars$n.inputBorderStyle]: refs.borderStyle,
7611
7691
  [vars$n.inputBorderColor]: refs.borderColor,
7612
- [vars$n.inputBorderRadius]: refs.borderRadius,
7613
7692
  [vars$n.inputOutlineWidth]: refs.outlineWidth,
7614
7693
  [vars$n.inputOutlineStyle]: refs.outlineStyle,
7615
7694
  [vars$n.inputOutlineColor]: refs.outlineColor,
7616
7695
  [vars$n.inputOutlineOffset]: refs.outlineOffset,
7617
- [vars$n.inputBackgroundColor]: refs.backgroundColor,
7618
- [vars$n.inputHorizontalPadding]: refs.horizontalPadding,
7619
- [vars$n.inputHeight]: refs.inputHeight,
7696
+ [vars$n.inputResizeType]: 'vertical',
7697
+ [vars$n.inputMinHeight]: '5em',
7698
+
7699
+ _disabled: {
7700
+ [vars$n.inputBackgroundColor]: globalRefs$c.colors.surface.light,
7701
+ },
7702
+
7703
+ _readonly: {
7704
+ [vars$n.inputResizeType]: 'none',
7705
+ },
7620
7706
  };
7621
7707
 
7622
- var emailField$1 = /*#__PURE__*/Object.freeze({
7708
+ var textArea$1 = /*#__PURE__*/Object.freeze({
7623
7709
  __proto__: null,
7624
- default: emailField,
7710
+ default: textArea,
7625
7711
  vars: vars$n
7626
7712
  });
7627
7713
 
7628
- const globalRefs$b = getThemeRefs(globals);
7629
- const vars$m = TextAreaClass.cssVarList;
7714
+ const vars$m = CheckboxClass.cssVarList;
7715
+ const checkboxSize = '1.35em';
7630
7716
 
7631
- const textArea = {
7717
+ const checkbox = {
7632
7718
  [vars$m.hostWidth]: refs.width,
7633
- [vars$m.hostMinWidth]: refs.minWidth,
7634
7719
  [vars$m.fontSize]: refs.fontSize,
7635
7720
  [vars$m.fontFamily]: refs.fontFamily,
7636
7721
  [vars$m.labelTextColor]: refs.labelTextColor,
7637
7722
  [vars$m.labelRequiredIndicator]: refs.requiredIndicator,
7723
+ [vars$m.labelFontWeight]: '400',
7724
+ [vars$m.labelLineHeight]: checkboxSize,
7725
+ [vars$m.labelSpacing]: '1em',
7638
7726
  [vars$m.errorMessageTextColor]: refs.errorMessageTextColor,
7639
- [vars$m.inputBackgroundColor]: refs.backgroundColor,
7640
- [vars$m.inputValueTextColor]: refs.valueTextColor,
7641
- [vars$m.inputPlaceholderTextColor]: refs.placeholderTextColor,
7727
+ [vars$m.inputOutlineWidth]: refs.outlineWidth,
7728
+ [vars$m.inputOutlineOffset]: refs.outlineOffset,
7729
+ [vars$m.inputOutlineColor]: refs.outlineColor,
7730
+ [vars$m.inputOutlineStyle]: refs.outlineStyle,
7642
7731
  [vars$m.inputBorderRadius]: refs.borderRadius,
7732
+ [vars$m.inputBorderColor]: refs.borderColor,
7643
7733
  [vars$m.inputBorderWidth]: refs.borderWidth,
7644
7734
  [vars$m.inputBorderStyle]: refs.borderStyle,
7645
- [vars$m.inputBorderColor]: refs.borderColor,
7646
- [vars$m.inputOutlineWidth]: refs.outlineWidth,
7647
- [vars$m.inputOutlineStyle]: refs.outlineStyle,
7648
- [vars$m.inputOutlineColor]: refs.outlineColor,
7649
- [vars$m.inputOutlineOffset]: refs.outlineOffset,
7650
- [vars$m.inputResizeType]: 'vertical',
7651
- [vars$m.inputMinHeight]: '5em',
7735
+ [vars$m.inputBackgroundColor]: refs.backgroundColor,
7736
+ [vars$m.inputSize]: checkboxSize,
7652
7737
 
7653
- _disabled: {
7654
- [vars$m.inputBackgroundColor]: globalRefs$b.colors.surface.light,
7738
+ _checked: {
7739
+ [vars$m.inputValueTextColor]: refs.valueTextColor,
7655
7740
  },
7656
7741
 
7657
- _readonly: {
7658
- [vars$m.inputResizeType]: 'none',
7742
+ _disabled: {
7743
+ [vars$m.labelTextColor]: refs.labelTextColor,
7659
7744
  },
7660
7745
  };
7661
7746
 
7662
- var textArea$1 = /*#__PURE__*/Object.freeze({
7747
+ var checkbox$1 = /*#__PURE__*/Object.freeze({
7663
7748
  __proto__: null,
7664
- default: textArea,
7749
+ default: checkbox,
7665
7750
  vars: vars$m
7666
7751
  });
7667
7752
 
7668
- const vars$l = CheckboxClass.cssVarList;
7669
- const checkboxSize = '1.35em';
7753
+ const knobMargin = '2px';
7754
+ const checkboxHeight = '1.25em';
7670
7755
 
7671
- const checkbox = {
7756
+ const globalRefs$b = getThemeRefs(globals);
7757
+ const vars$l = SwitchToggleClass.cssVarList;
7758
+
7759
+ const switchToggle = {
7672
7760
  [vars$l.hostWidth]: refs.width,
7673
7761
  [vars$l.fontSize]: refs.fontSize,
7674
7762
  [vars$l.fontFamily]: refs.fontFamily,
7675
- [vars$l.labelTextColor]: refs.labelTextColor,
7676
- [vars$l.labelRequiredIndicator]: refs.requiredIndicator,
7677
- [vars$l.labelFontWeight]: '400',
7678
- [vars$l.labelLineHeight]: checkboxSize,
7679
- [vars$l.labelSpacing]: '1em',
7680
- [vars$l.errorMessageTextColor]: refs.errorMessageTextColor,
7763
+
7681
7764
  [vars$l.inputOutlineWidth]: refs.outlineWidth,
7682
7765
  [vars$l.inputOutlineOffset]: refs.outlineOffset,
7683
7766
  [vars$l.inputOutlineColor]: refs.outlineColor,
7684
7767
  [vars$l.inputOutlineStyle]: refs.outlineStyle,
7685
- [vars$l.inputBorderRadius]: refs.borderRadius,
7686
- [vars$l.inputBorderColor]: refs.borderColor,
7687
- [vars$l.inputBorderWidth]: refs.borderWidth,
7688
- [vars$l.inputBorderStyle]: refs.borderStyle,
7689
- [vars$l.inputBackgroundColor]: refs.backgroundColor,
7690
- [vars$l.inputSize]: checkboxSize,
7691
7768
 
7692
- _checked: {
7693
- [vars$l.inputValueTextColor]: refs.valueTextColor,
7694
- },
7695
-
7696
- _disabled: {
7697
- [vars$l.labelTextColor]: refs.labelTextColor,
7698
- },
7699
- };
7769
+ [vars$l.trackBorderStyle]: refs.borderStyle,
7770
+ [vars$l.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
7771
+ [vars$l.trackBorderColor]: refs.borderColor,
7772
+ [vars$l.trackBackgroundColor]: 'none',
7773
+ [vars$l.trackBorderRadius]: globalRefs$b.radius.md,
7774
+ [vars$l.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
7775
+ [vars$l.trackHeight]: checkboxHeight,
7776
+
7777
+ [vars$l.knobSize]: `calc(1em - ${knobMargin})`,
7778
+ [vars$l.knobRadius]: '50%',
7779
+ [vars$l.knobTopOffset]: '1px',
7780
+ [vars$l.knobLeftOffset]: knobMargin,
7781
+ [vars$l.knobColor]: refs.valueTextColor,
7782
+ [vars$l.knobTransitionDuration]: '0.3s',
7700
7783
 
7701
- var checkbox$1 = /*#__PURE__*/Object.freeze({
7702
- __proto__: null,
7703
- default: checkbox,
7704
- vars: vars$l
7705
- });
7706
-
7707
- const knobMargin = '2px';
7708
- const checkboxHeight = '1.25em';
7709
-
7710
- const globalRefs$a = getThemeRefs(globals);
7711
- const vars$k = SwitchToggleClass.cssVarList;
7712
-
7713
- const switchToggle = {
7714
- [vars$k.hostWidth]: refs.width,
7715
- [vars$k.fontSize]: refs.fontSize,
7716
- [vars$k.fontFamily]: refs.fontFamily,
7717
-
7718
- [vars$k.inputOutlineWidth]: refs.outlineWidth,
7719
- [vars$k.inputOutlineOffset]: refs.outlineOffset,
7720
- [vars$k.inputOutlineColor]: refs.outlineColor,
7721
- [vars$k.inputOutlineStyle]: refs.outlineStyle,
7722
-
7723
- [vars$k.trackBorderStyle]: refs.borderStyle,
7724
- [vars$k.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
7725
- [vars$k.trackBorderColor]: refs.borderColor,
7726
- [vars$k.trackBackgroundColor]: 'none',
7727
- [vars$k.trackBorderRadius]: globalRefs$a.radius.md,
7728
- [vars$k.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
7729
- [vars$k.trackHeight]: checkboxHeight,
7730
-
7731
- [vars$k.knobSize]: `calc(1em - ${knobMargin})`,
7732
- [vars$k.knobRadius]: '50%',
7733
- [vars$k.knobTopOffset]: '1px',
7734
- [vars$k.knobLeftOffset]: knobMargin,
7735
- [vars$k.knobColor]: refs.valueTextColor,
7736
- [vars$k.knobTransitionDuration]: '0.3s',
7737
-
7738
- [vars$k.labelTextColor]: refs.labelTextColor,
7739
- [vars$k.labelFontWeight]: '400',
7740
- [vars$k.labelLineHeight]: '1.35em',
7741
- [vars$k.labelSpacing]: '1em',
7742
- [vars$k.labelRequiredIndicator]: refs.requiredIndicator,
7743
- [vars$k.errorMessageTextColor]: refs.errorMessageTextColor,
7784
+ [vars$l.labelTextColor]: refs.labelTextColor,
7785
+ [vars$l.labelFontWeight]: '400',
7786
+ [vars$l.labelLineHeight]: '1.35em',
7787
+ [vars$l.labelSpacing]: '1em',
7788
+ [vars$l.labelRequiredIndicator]: refs.requiredIndicator,
7789
+ [vars$l.errorMessageTextColor]: refs.errorMessageTextColor,
7744
7790
 
7745
7791
  _checked: {
7746
- [vars$k.trackBorderColor]: refs.borderColor,
7747
- [vars$k.trackBackgroundColor]: refs.backgroundColor,
7748
- [vars$k.knobLeftOffset]: `calc(100% - var(${vars$k.knobSize}) - ${knobMargin})`,
7749
- [vars$k.knobColor]: refs.valueTextColor,
7750
- [vars$k.knobTextColor]: refs.valueTextColor,
7792
+ [vars$l.trackBorderColor]: refs.borderColor,
7793
+ [vars$l.trackBackgroundColor]: refs.backgroundColor,
7794
+ [vars$l.knobLeftOffset]: `calc(100% - var(${vars$l.knobSize}) - ${knobMargin})`,
7795
+ [vars$l.knobColor]: refs.valueTextColor,
7796
+ [vars$l.knobTextColor]: refs.valueTextColor,
7751
7797
  },
7752
7798
 
7753
7799
  _disabled: {
7754
- [vars$k.knobColor]: globalRefs$a.colors.surface.light,
7755
- [vars$k.trackBorderColor]: globalRefs$a.colors.surface.main,
7756
- [vars$k.trackBackgroundColor]: globalRefs$a.colors.surface.main,
7757
- [vars$k.labelTextColor]: refs.labelTextColor,
7800
+ [vars$l.knobColor]: globalRefs$b.colors.surface.light,
7801
+ [vars$l.trackBorderColor]: globalRefs$b.colors.surface.main,
7802
+ [vars$l.trackBackgroundColor]: globalRefs$b.colors.surface.main,
7803
+ [vars$l.labelTextColor]: refs.labelTextColor,
7758
7804
  _checked: {
7759
- [vars$k.knobColor]: globalRefs$a.colors.surface.light,
7760
- [vars$k.trackBackgroundColor]: globalRefs$a.colors.surface.main,
7805
+ [vars$l.knobColor]: globalRefs$b.colors.surface.light,
7806
+ [vars$l.trackBackgroundColor]: globalRefs$b.colors.surface.main,
7761
7807
  },
7762
7808
  },
7763
7809
 
7764
7810
  _invalid: {
7765
- [vars$k.trackBorderColor]: globalRefs$a.colors.error.main,
7766
- [vars$k.knobColor]: globalRefs$a.colors.error.main,
7811
+ [vars$l.trackBorderColor]: globalRefs$b.colors.error.main,
7812
+ [vars$l.knobColor]: globalRefs$b.colors.error.main,
7767
7813
  },
7768
7814
  };
7769
7815
 
7770
7816
  var switchToggle$1 = /*#__PURE__*/Object.freeze({
7771
7817
  __proto__: null,
7772
7818
  default: switchToggle,
7773
- vars: vars$k
7819
+ vars: vars$l
7774
7820
  });
7775
7821
 
7776
- const globalRefs$9 = getThemeRefs(globals);
7822
+ const globalRefs$a = getThemeRefs(globals);
7777
7823
 
7778
7824
  const compVars$3 = ContainerClass.cssVarList;
7779
7825
 
@@ -7795,18 +7841,18 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
7795
7841
  horizontalAlignment,
7796
7842
  shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
7797
7843
  },
7798
- componentName$v
7844
+ componentName$w
7799
7845
  );
7800
7846
 
7801
- const { shadowColor } = helperRefs$2;
7847
+ const { shadowColor: shadowColor$1 } = helperRefs$2;
7802
7848
 
7803
7849
  const container = {
7804
7850
  ...helperTheme$2,
7805
7851
 
7806
7852
  [compVars$3.hostWidth]: '100%',
7807
7853
  [compVars$3.boxShadow]: 'none',
7808
- [compVars$3.backgroundColor]: globalRefs$9.colors.surface.light,
7809
- [compVars$3.color]: globalRefs$9.colors.surface.contrast,
7854
+ [compVars$3.backgroundColor]: globalRefs$a.colors.surface.light,
7855
+ [compVars$3.color]: globalRefs$a.colors.surface.contrast,
7810
7856
  [compVars$3.borderRadius]: '0px',
7811
7857
 
7812
7858
  verticalPadding: {
@@ -7853,34 +7899,34 @@ const container = {
7853
7899
 
7854
7900
  shadow: {
7855
7901
  sm: {
7856
- [compVars$3.boxShadow]: `${globalRefs$9.shadow.wide.sm} ${shadowColor}, ${globalRefs$9.shadow.narrow.sm} ${shadowColor}`,
7902
+ [compVars$3.boxShadow]: `${globalRefs$a.shadow.wide.sm} ${shadowColor$1}, ${globalRefs$a.shadow.narrow.sm} ${shadowColor$1}`,
7857
7903
  },
7858
7904
  md: {
7859
- [compVars$3.boxShadow]: `${globalRefs$9.shadow.wide.md} ${shadowColor}, ${globalRefs$9.shadow.narrow.md} ${shadowColor}`,
7905
+ [compVars$3.boxShadow]: `${globalRefs$a.shadow.wide.md} ${shadowColor$1}, ${globalRefs$a.shadow.narrow.md} ${shadowColor$1}`,
7860
7906
  },
7861
7907
  lg: {
7862
- [compVars$3.boxShadow]: `${globalRefs$9.shadow.wide.lg} ${shadowColor}, ${globalRefs$9.shadow.narrow.lg} ${shadowColor}`,
7908
+ [compVars$3.boxShadow]: `${globalRefs$a.shadow.wide.lg} ${shadowColor$1}, ${globalRefs$a.shadow.narrow.lg} ${shadowColor$1}`,
7863
7909
  },
7864
7910
  xl: {
7865
- [compVars$3.boxShadow]: `${globalRefs$9.shadow.wide.xl} ${shadowColor}, ${globalRefs$9.shadow.narrow.xl} ${shadowColor}`,
7911
+ [compVars$3.boxShadow]: `${globalRefs$a.shadow.wide.xl} ${shadowColor$1}, ${globalRefs$a.shadow.narrow.xl} ${shadowColor$1}`,
7866
7912
  },
7867
7913
  '2xl': {
7868
7914
  [helperVars$2.shadowColor]: '#00000050', // mimic daisyUI shadow settings
7869
- [compVars$3.boxShadow]: `${globalRefs$9.shadow.wide['2xl']} ${shadowColor}`,
7915
+ [compVars$3.boxShadow]: `${globalRefs$a.shadow.wide['2xl']} ${shadowColor$1}`,
7870
7916
  },
7871
7917
  },
7872
7918
 
7873
7919
  borderRadius: {
7874
- sm: { [compVars$3.borderRadius]: globalRefs$9.radius.sm },
7875
- md: { [compVars$3.borderRadius]: globalRefs$9.radius.md },
7876
- lg: { [compVars$3.borderRadius]: globalRefs$9.radius.lg },
7877
- xl: { [compVars$3.borderRadius]: globalRefs$9.radius.xl },
7878
- '2xl': { [compVars$3.borderRadius]: globalRefs$9.radius['2xl'] },
7879
- '3xl': { [compVars$3.borderRadius]: globalRefs$9.radius['3xl'] },
7920
+ sm: { [compVars$3.borderRadius]: globalRefs$a.radius.sm },
7921
+ md: { [compVars$3.borderRadius]: globalRefs$a.radius.md },
7922
+ lg: { [compVars$3.borderRadius]: globalRefs$a.radius.lg },
7923
+ xl: { [compVars$3.borderRadius]: globalRefs$a.radius.xl },
7924
+ '2xl': { [compVars$3.borderRadius]: globalRefs$a.radius['2xl'] },
7925
+ '3xl': { [compVars$3.borderRadius]: globalRefs$a.radius['3xl'] },
7880
7926
  },
7881
7927
  };
7882
7928
 
7883
- const vars$j = {
7929
+ const vars$k = {
7884
7930
  ...compVars$3,
7885
7931
  ...helperVars$2,
7886
7932
  };
@@ -7888,152 +7934,152 @@ const vars$j = {
7888
7934
  var container$1 = /*#__PURE__*/Object.freeze({
7889
7935
  __proto__: null,
7890
7936
  default: container,
7891
- vars: vars$j
7937
+ vars: vars$k
7892
7938
  });
7893
7939
 
7894
- const vars$i = LogoClass.cssVarList;
7940
+ const vars$j = LogoClass.cssVarList;
7895
7941
 
7896
7942
  const logo$1 = {
7897
- [vars$i.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
7943
+ [vars$j.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
7898
7944
  };
7899
7945
 
7900
7946
  var logo$2 = /*#__PURE__*/Object.freeze({
7901
7947
  __proto__: null,
7902
7948
  default: logo$1,
7903
- vars: vars$i
7949
+ vars: vars$j
7904
7950
  });
7905
7951
 
7906
- const vars$h = TotpImageClass.cssVarList;
7952
+ const vars$i = TotpImageClass.cssVarList;
7907
7953
 
7908
7954
  const logo = {
7909
- [vars$h.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
7955
+ [vars$i.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
7910
7956
  };
7911
7957
 
7912
7958
  var totpImage = /*#__PURE__*/Object.freeze({
7913
7959
  __proto__: null,
7914
7960
  default: logo,
7915
- vars: vars$h
7961
+ vars: vars$i
7916
7962
  });
7917
7963
 
7918
- const globalRefs$8 = getThemeRefs(globals);
7919
- const vars$g = TextClass.cssVarList;
7964
+ const globalRefs$9 = getThemeRefs(globals);
7965
+ const vars$h = TextClass.cssVarList;
7920
7966
 
7921
7967
  const text = {
7922
- [vars$g.textLineHeight]: '1.35em',
7923
- [vars$g.textAlign]: 'left',
7924
- [vars$g.textColor]: globalRefs$8.colors.surface.dark,
7968
+ [vars$h.textLineHeight]: '1.35em',
7969
+ [vars$h.textAlign]: 'left',
7970
+ [vars$h.textColor]: globalRefs$9.colors.surface.dark,
7925
7971
  variant: {
7926
7972
  h1: {
7927
- [vars$g.fontSize]: globalRefs$8.typography.h1.size,
7928
- [vars$g.fontWeight]: globalRefs$8.typography.h1.weight,
7929
- [vars$g.fontFamily]: globalRefs$8.typography.h1.font,
7973
+ [vars$h.fontSize]: globalRefs$9.typography.h1.size,
7974
+ [vars$h.fontWeight]: globalRefs$9.typography.h1.weight,
7975
+ [vars$h.fontFamily]: globalRefs$9.typography.h1.font,
7930
7976
  },
7931
7977
  h2: {
7932
- [vars$g.fontSize]: globalRefs$8.typography.h2.size,
7933
- [vars$g.fontWeight]: globalRefs$8.typography.h2.weight,
7934
- [vars$g.fontFamily]: globalRefs$8.typography.h2.font,
7978
+ [vars$h.fontSize]: globalRefs$9.typography.h2.size,
7979
+ [vars$h.fontWeight]: globalRefs$9.typography.h2.weight,
7980
+ [vars$h.fontFamily]: globalRefs$9.typography.h2.font,
7935
7981
  },
7936
7982
  h3: {
7937
- [vars$g.fontSize]: globalRefs$8.typography.h3.size,
7938
- [vars$g.fontWeight]: globalRefs$8.typography.h3.weight,
7939
- [vars$g.fontFamily]: globalRefs$8.typography.h3.font,
7983
+ [vars$h.fontSize]: globalRefs$9.typography.h3.size,
7984
+ [vars$h.fontWeight]: globalRefs$9.typography.h3.weight,
7985
+ [vars$h.fontFamily]: globalRefs$9.typography.h3.font,
7940
7986
  },
7941
7987
  subtitle1: {
7942
- [vars$g.fontSize]: globalRefs$8.typography.subtitle1.size,
7943
- [vars$g.fontWeight]: globalRefs$8.typography.subtitle1.weight,
7944
- [vars$g.fontFamily]: globalRefs$8.typography.subtitle1.font,
7988
+ [vars$h.fontSize]: globalRefs$9.typography.subtitle1.size,
7989
+ [vars$h.fontWeight]: globalRefs$9.typography.subtitle1.weight,
7990
+ [vars$h.fontFamily]: globalRefs$9.typography.subtitle1.font,
7945
7991
  },
7946
7992
  subtitle2: {
7947
- [vars$g.fontSize]: globalRefs$8.typography.subtitle2.size,
7948
- [vars$g.fontWeight]: globalRefs$8.typography.subtitle2.weight,
7949
- [vars$g.fontFamily]: globalRefs$8.typography.subtitle2.font,
7993
+ [vars$h.fontSize]: globalRefs$9.typography.subtitle2.size,
7994
+ [vars$h.fontWeight]: globalRefs$9.typography.subtitle2.weight,
7995
+ [vars$h.fontFamily]: globalRefs$9.typography.subtitle2.font,
7950
7996
  },
7951
7997
  body1: {
7952
- [vars$g.fontSize]: globalRefs$8.typography.body1.size,
7953
- [vars$g.fontWeight]: globalRefs$8.typography.body1.weight,
7954
- [vars$g.fontFamily]: globalRefs$8.typography.body1.font,
7998
+ [vars$h.fontSize]: globalRefs$9.typography.body1.size,
7999
+ [vars$h.fontWeight]: globalRefs$9.typography.body1.weight,
8000
+ [vars$h.fontFamily]: globalRefs$9.typography.body1.font,
7955
8001
  },
7956
8002
  body2: {
7957
- [vars$g.fontSize]: globalRefs$8.typography.body2.size,
7958
- [vars$g.fontWeight]: globalRefs$8.typography.body2.weight,
7959
- [vars$g.fontFamily]: globalRefs$8.typography.body2.font,
8003
+ [vars$h.fontSize]: globalRefs$9.typography.body2.size,
8004
+ [vars$h.fontWeight]: globalRefs$9.typography.body2.weight,
8005
+ [vars$h.fontFamily]: globalRefs$9.typography.body2.font,
7960
8006
  },
7961
8007
  },
7962
8008
 
7963
8009
  mode: {
7964
8010
  primary: {
7965
- [vars$g.textColor]: globalRefs$8.colors.primary.main,
8011
+ [vars$h.textColor]: globalRefs$9.colors.primary.main,
7966
8012
  },
7967
8013
  secondary: {
7968
- [vars$g.textColor]: globalRefs$8.colors.secondary.main,
8014
+ [vars$h.textColor]: globalRefs$9.colors.secondary.main,
7969
8015
  },
7970
8016
  error: {
7971
- [vars$g.textColor]: globalRefs$8.colors.error.main,
8017
+ [vars$h.textColor]: globalRefs$9.colors.error.main,
7972
8018
  },
7973
8019
  success: {
7974
- [vars$g.textColor]: globalRefs$8.colors.success.main,
8020
+ [vars$h.textColor]: globalRefs$9.colors.success.main,
7975
8021
  },
7976
8022
  },
7977
8023
 
7978
8024
  textAlign: {
7979
- right: { [vars$g.textAlign]: 'right' },
7980
- left: { [vars$g.textAlign]: 'left' },
7981
- center: { [vars$g.textAlign]: 'center' },
8025
+ right: { [vars$h.textAlign]: 'right' },
8026
+ left: { [vars$h.textAlign]: 'left' },
8027
+ center: { [vars$h.textAlign]: 'center' },
7982
8028
  },
7983
8029
 
7984
8030
  _fullWidth: {
7985
- [vars$g.hostWidth]: '100%',
8031
+ [vars$h.hostWidth]: '100%',
7986
8032
  },
7987
8033
 
7988
8034
  _italic: {
7989
- [vars$g.fontStyle]: 'italic',
8035
+ [vars$h.fontStyle]: 'italic',
7990
8036
  },
7991
8037
 
7992
8038
  _uppercase: {
7993
- [vars$g.textTransform]: 'uppercase',
8039
+ [vars$h.textTransform]: 'uppercase',
7994
8040
  },
7995
8041
 
7996
8042
  _lowercase: {
7997
- [vars$g.textTransform]: 'lowercase',
8043
+ [vars$h.textTransform]: 'lowercase',
7998
8044
  },
7999
8045
  };
8000
8046
 
8001
8047
  var text$1 = /*#__PURE__*/Object.freeze({
8002
8048
  __proto__: null,
8003
8049
  default: text,
8004
- vars: vars$g
8050
+ vars: vars$h
8005
8051
  });
8006
8052
 
8007
- const globalRefs$7 = getThemeRefs(globals);
8008
- const vars$f = LinkClass.cssVarList;
8053
+ const globalRefs$8 = getThemeRefs(globals);
8054
+ const vars$g = LinkClass.cssVarList;
8009
8055
 
8010
8056
  const link = {
8011
- [vars$f.cursor]: 'pointer',
8057
+ [vars$g.cursor]: 'pointer',
8012
8058
 
8013
- [vars$f.textColor]: globalRefs$7.colors.primary.main,
8059
+ [vars$g.textColor]: globalRefs$8.colors.primary.main,
8014
8060
 
8015
8061
  textAlign: {
8016
- right: { [vars$f.textAlign]: 'right' },
8017
- left: { [vars$f.textAlign]: 'left' },
8018
- center: { [vars$f.textAlign]: 'center' },
8062
+ right: { [vars$g.textAlign]: 'right' },
8063
+ left: { [vars$g.textAlign]: 'left' },
8064
+ center: { [vars$g.textAlign]: 'center' },
8019
8065
  },
8020
8066
 
8021
8067
  _fullWidth: {
8022
- [vars$f.hostWidth]: '100%',
8068
+ [vars$g.hostWidth]: '100%',
8023
8069
  },
8024
8070
 
8025
8071
  mode: {
8026
8072
  primary: {
8027
- [vars$f.textColor]: globalRefs$7.colors.primary.main,
8073
+ [vars$g.textColor]: globalRefs$8.colors.primary.main,
8028
8074
  },
8029
8075
  secondary: {
8030
- [vars$f.textColor]: globalRefs$7.colors.secondary.main,
8076
+ [vars$g.textColor]: globalRefs$8.colors.secondary.main,
8031
8077
  },
8032
8078
  error: {
8033
- [vars$f.textColor]: globalRefs$7.colors.error.main,
8079
+ [vars$g.textColor]: globalRefs$8.colors.error.main,
8034
8080
  },
8035
8081
  success: {
8036
- [vars$f.textColor]: globalRefs$7.colors.success.main,
8082
+ [vars$g.textColor]: globalRefs$8.colors.success.main,
8037
8083
  },
8038
8084
  },
8039
8085
  };
@@ -8041,10 +8087,10 @@ const link = {
8041
8087
  var link$1 = /*#__PURE__*/Object.freeze({
8042
8088
  __proto__: null,
8043
8089
  default: link,
8044
- vars: vars$f
8090
+ vars: vars$g
8045
8091
  });
8046
8092
 
8047
- const globalRefs$6 = getThemeRefs(globals);
8093
+ const globalRefs$7 = getThemeRefs(globals);
8048
8094
  const compVars$2 = DividerClass.cssVarList;
8049
8095
 
8050
8096
  const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
@@ -8052,7 +8098,7 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
8052
8098
  thickness: '2px',
8053
8099
  spacing: '10px',
8054
8100
  },
8055
- componentName$u
8101
+ componentName$v
8056
8102
  );
8057
8103
 
8058
8104
  const divider = {
@@ -8062,7 +8108,7 @@ const divider = {
8062
8108
  [compVars$2.flexDirection]: 'row',
8063
8109
  [compVars$2.alignSelf]: 'stretch',
8064
8110
  [compVars$2.hostWidth]: '100%',
8065
- [compVars$2.stripeColor]: globalRefs$6.colors.surface.main,
8111
+ [compVars$2.stripeColor]: globalRefs$7.colors.surface.main,
8066
8112
  [compVars$2.stripeColorOpacity]: '0.5',
8067
8113
  [compVars$2.stripeHorizontalThickness]: helperRefs$1.thickness,
8068
8114
  [compVars$2.labelTextWidth]: 'fit-content',
@@ -8081,7 +8127,7 @@ const divider = {
8081
8127
  },
8082
8128
  };
8083
8129
 
8084
- const vars$e = {
8130
+ const vars$f = {
8085
8131
  ...compVars$2,
8086
8132
  ...helperVars$1,
8087
8133
  };
@@ -8089,99 +8135,99 @@ const vars$e = {
8089
8135
  var divider$1 = /*#__PURE__*/Object.freeze({
8090
8136
  __proto__: null,
8091
8137
  default: divider,
8092
- vars: vars$e
8138
+ vars: vars$f
8093
8139
  });
8094
8140
 
8095
- const vars$d = PasscodeClass.cssVarList;
8141
+ const vars$e = PasscodeClass.cssVarList;
8096
8142
 
8097
8143
  const passcode = {
8098
- [vars$d.fontFamily]: refs.fontFamily,
8099
- [vars$d.fontSize]: refs.fontSize,
8100
- [vars$d.labelTextColor]: refs.labelTextColor,
8101
- [vars$d.labelRequiredIndicator]: refs.requiredIndicator,
8102
- [vars$d.errorMessageTextColor]: refs.errorMessageTextColor,
8103
- [vars$d.digitValueTextColor]: refs.valueTextColor,
8104
- [vars$d.digitPadding]: '0',
8105
- [vars$d.digitTextAlign]: 'center',
8106
- [vars$d.digitSpacing]: '4px',
8107
- [vars$d.hostWidth]: refs.width,
8108
- [vars$d.digitOutlineColor]: 'transparent',
8109
- [vars$d.digitOutlineWidth]: refs.outlineWidth,
8110
- [vars$d.focusedDigitFieldOutlineColor]: refs.outlineColor,
8111
- [vars$d.digitSize]: refs.inputHeight,
8144
+ [vars$e.fontFamily]: refs.fontFamily,
8145
+ [vars$e.fontSize]: refs.fontSize,
8146
+ [vars$e.labelTextColor]: refs.labelTextColor,
8147
+ [vars$e.labelRequiredIndicator]: refs.requiredIndicator,
8148
+ [vars$e.errorMessageTextColor]: refs.errorMessageTextColor,
8149
+ [vars$e.digitValueTextColor]: refs.valueTextColor,
8150
+ [vars$e.digitPadding]: '0',
8151
+ [vars$e.digitTextAlign]: 'center',
8152
+ [vars$e.digitSpacing]: '4px',
8153
+ [vars$e.hostWidth]: refs.width,
8154
+ [vars$e.digitOutlineColor]: 'transparent',
8155
+ [vars$e.digitOutlineWidth]: refs.outlineWidth,
8156
+ [vars$e.focusedDigitFieldOutlineColor]: refs.outlineColor,
8157
+ [vars$e.digitSize]: refs.inputHeight,
8112
8158
 
8113
8159
  _hideCursor: {
8114
- [vars$d.digitCaretTextColor]: 'transparent',
8160
+ [vars$e.digitCaretTextColor]: 'transparent',
8115
8161
  },
8116
8162
  };
8117
8163
 
8118
8164
  var passcode$1 = /*#__PURE__*/Object.freeze({
8119
8165
  __proto__: null,
8120
8166
  default: passcode,
8121
- vars: vars$d
8167
+ vars: vars$e
8122
8168
  });
8123
8169
 
8124
- const globalRefs$5 = getThemeRefs(globals);
8125
- const vars$c = LoaderLinearClass.cssVarList;
8170
+ const globalRefs$6 = getThemeRefs(globals);
8171
+ const vars$d = LoaderLinearClass.cssVarList;
8126
8172
 
8127
8173
  const loaderLinear = {
8128
- [vars$c.hostDisplay]: 'inline-block',
8129
- [vars$c.hostWidth]: '100%',
8174
+ [vars$d.hostDisplay]: 'inline-block',
8175
+ [vars$d.hostWidth]: '100%',
8130
8176
 
8131
- [vars$c.barColor]: globalRefs$5.colors.surface.contrast,
8132
- [vars$c.barWidth]: '20%',
8177
+ [vars$d.barColor]: globalRefs$6.colors.surface.contrast,
8178
+ [vars$d.barWidth]: '20%',
8133
8179
 
8134
- [vars$c.barBackgroundColor]: globalRefs$5.colors.surface.main,
8135
- [vars$c.barBorderRadius]: '4px',
8180
+ [vars$d.barBackgroundColor]: globalRefs$6.colors.surface.main,
8181
+ [vars$d.barBorderRadius]: '4px',
8136
8182
 
8137
- [vars$c.animationDuration]: '2s',
8138
- [vars$c.animationTimingFunction]: 'linear',
8139
- [vars$c.animationIterationCount]: 'infinite',
8140
- [vars$c.verticalPadding]: '0.25em',
8183
+ [vars$d.animationDuration]: '2s',
8184
+ [vars$d.animationTimingFunction]: 'linear',
8185
+ [vars$d.animationIterationCount]: 'infinite',
8186
+ [vars$d.verticalPadding]: '0.25em',
8141
8187
 
8142
8188
  size: {
8143
- xs: { [vars$c.barHeight]: '2px' },
8144
- sm: { [vars$c.barHeight]: '4px' },
8145
- md: { [vars$c.barHeight]: '6px' },
8146
- lg: { [vars$c.barHeight]: '8px' },
8189
+ xs: { [vars$d.barHeight]: '2px' },
8190
+ sm: { [vars$d.barHeight]: '4px' },
8191
+ md: { [vars$d.barHeight]: '6px' },
8192
+ lg: { [vars$d.barHeight]: '8px' },
8147
8193
  },
8148
8194
 
8149
8195
  mode: {
8150
8196
  primary: {
8151
- [vars$c.barColor]: globalRefs$5.colors.primary.main,
8197
+ [vars$d.barColor]: globalRefs$6.colors.primary.main,
8152
8198
  },
8153
8199
  secondary: {
8154
- [vars$c.barColor]: globalRefs$5.colors.secondary.main,
8200
+ [vars$d.barColor]: globalRefs$6.colors.secondary.main,
8155
8201
  },
8156
8202
  },
8157
8203
 
8158
8204
  _hidden: {
8159
- [vars$c.hostDisplay]: 'none',
8205
+ [vars$d.hostDisplay]: 'none',
8160
8206
  },
8161
8207
  };
8162
8208
 
8163
8209
  var loaderLinear$1 = /*#__PURE__*/Object.freeze({
8164
8210
  __proto__: null,
8165
8211
  default: loaderLinear,
8166
- vars: vars$c
8212
+ vars: vars$d
8167
8213
  });
8168
8214
 
8169
- const globalRefs$4 = getThemeRefs(globals);
8215
+ const globalRefs$5 = getThemeRefs(globals);
8170
8216
  const compVars$1 = LoaderRadialClass.cssVarList;
8171
8217
 
8172
8218
  const [helperTheme, helperRefs, helperVars] = createHelperVars(
8173
8219
  {
8174
- spinnerColor: globalRefs$4.colors.surface.contrast,
8220
+ spinnerColor: globalRefs$5.colors.surface.contrast,
8175
8221
  mode: {
8176
8222
  primary: {
8177
- spinnerColor: globalRefs$4.colors.primary.main,
8223
+ spinnerColor: globalRefs$5.colors.primary.main,
8178
8224
  },
8179
8225
  secondary: {
8180
- spinnerColor: globalRefs$4.colors.secondary.main,
8226
+ spinnerColor: globalRefs$5.colors.secondary.main,
8181
8227
  },
8182
8228
  },
8183
8229
  },
8184
- componentName$w
8230
+ componentName$x
8185
8231
  );
8186
8232
 
8187
8233
  const loaderRadial = {
@@ -8210,7 +8256,7 @@ const loaderRadial = {
8210
8256
  [compVars$1.hostDisplay]: 'none',
8211
8257
  },
8212
8258
  };
8213
- const vars$b = {
8259
+ const vars$c = {
8214
8260
  ...compVars$1,
8215
8261
  ...helperVars,
8216
8262
  };
@@ -8218,73 +8264,108 @@ const vars$b = {
8218
8264
  var loaderRadial$1 = /*#__PURE__*/Object.freeze({
8219
8265
  __proto__: null,
8220
8266
  default: loaderRadial,
8221
- vars: vars$b
8267
+ vars: vars$c
8222
8268
  });
8223
8269
 
8224
- const globalRefs$3 = getThemeRefs(globals);
8225
- const vars$a = ComboBoxClass.cssVarList;
8270
+ const globalRefs$4 = getThemeRefs(globals);
8271
+ const vars$b = ComboBoxClass.cssVarList;
8226
8272
 
8227
8273
  const comboBox = {
8228
- [vars$a.hostWidth]: refs.width,
8229
- [vars$a.fontSize]: refs.fontSize,
8230
- [vars$a.fontFamily]: refs.fontFamily,
8231
- [vars$a.labelTextColor]: refs.labelTextColor,
8232
- [vars$a.errorMessageTextColor]: refs.errorMessageTextColor,
8233
- [vars$a.inputBorderColor]: refs.borderColor,
8234
- [vars$a.inputBorderWidth]: refs.borderWidth,
8235
- [vars$a.inputBorderStyle]: refs.borderStyle,
8236
- [vars$a.inputBorderRadius]: refs.borderRadius,
8237
- [vars$a.inputOutlineColor]: refs.outlineColor,
8238
- [vars$a.inputOutlineOffset]: refs.outlineOffset,
8239
- [vars$a.inputOutlineWidth]: refs.outlineWidth,
8240
- [vars$a.inputOutlineStyle]: refs.outlineStyle,
8241
- [vars$a.labelRequiredIndicator]: refs.requiredIndicator,
8242
- [vars$a.inputValueTextColor]: refs.valueTextColor,
8243
- [vars$a.inputPlaceholderTextColor]: refs.placeholderTextColor,
8244
- [vars$a.inputBackgroundColor]: refs.backgroundColor,
8245
- [vars$a.inputHorizontalPadding]: refs.horizontalPadding,
8246
- [vars$a.inputHeight]: refs.inputHeight,
8247
- [vars$a.inputDropdownButtonColor]: globalRefs$3.colors.surface.contrast,
8248
- [vars$a.inputDropdownButtonCursor]: 'pointer',
8249
- [vars$a.inputDropdownButtonSize]: refs.toggleButtonSize,
8250
- [vars$a.inputDropdownButtonOffset]: globalRefs$3.spacing.xs,
8274
+ [vars$b.hostWidth]: refs.width,
8275
+ [vars$b.fontSize]: refs.fontSize,
8276
+ [vars$b.fontFamily]: refs.fontFamily,
8277
+ [vars$b.labelTextColor]: refs.labelTextColor,
8278
+ [vars$b.errorMessageTextColor]: refs.errorMessageTextColor,
8279
+ [vars$b.inputBorderColor]: refs.borderColor,
8280
+ [vars$b.inputBorderWidth]: refs.borderWidth,
8281
+ [vars$b.inputBorderStyle]: refs.borderStyle,
8282
+ [vars$b.inputBorderRadius]: refs.borderRadius,
8283
+ [vars$b.inputOutlineColor]: refs.outlineColor,
8284
+ [vars$b.inputOutlineOffset]: refs.outlineOffset,
8285
+ [vars$b.inputOutlineWidth]: refs.outlineWidth,
8286
+ [vars$b.inputOutlineStyle]: refs.outlineStyle,
8287
+ [vars$b.labelRequiredIndicator]: refs.requiredIndicator,
8288
+ [vars$b.inputValueTextColor]: refs.valueTextColor,
8289
+ [vars$b.inputPlaceholderTextColor]: refs.placeholderTextColor,
8290
+ [vars$b.inputBackgroundColor]: refs.backgroundColor,
8291
+ [vars$b.inputHorizontalPadding]: refs.horizontalPadding,
8292
+ [vars$b.inputHeight]: refs.inputHeight,
8293
+ [vars$b.inputDropdownButtonColor]: globalRefs$4.colors.surface.contrast,
8294
+ [vars$b.inputDropdownButtonCursor]: 'pointer',
8295
+ [vars$b.inputDropdownButtonSize]: refs.toggleButtonSize,
8296
+ [vars$b.inputDropdownButtonOffset]: globalRefs$4.spacing.xs,
8251
8297
 
8252
8298
  _readonly: {
8253
- [vars$a.inputDropdownButtonCursor]: 'default',
8299
+ [vars$b.inputDropdownButtonCursor]: 'default',
8254
8300
  },
8255
8301
 
8256
8302
  // Overlay theme exposed via the component:
8257
- [vars$a.overlayFontSize]: refs.fontSize,
8258
- [vars$a.overlayFontFamily]: refs.fontFamily,
8259
- [vars$a.overlayCursor]: 'pointer',
8260
- [vars$a.overlayItemBoxShadow]: 'none',
8303
+ [vars$b.overlayFontSize]: refs.fontSize,
8304
+ [vars$b.overlayFontFamily]: refs.fontFamily,
8305
+ [vars$b.overlayCursor]: 'pointer',
8306
+ [vars$b.overlayItemBoxShadow]: 'none',
8261
8307
 
8262
8308
  // Overlay direct theme:
8263
- [vars$a.overlay.minHeight]: '400px',
8264
- [vars$a.overlay.margin]: '0',
8309
+ [vars$b.overlay.minHeight]: '400px',
8310
+ [vars$b.overlay.margin]: '0',
8265
8311
  };
8266
8312
 
8267
8313
  var comboBox$1 = /*#__PURE__*/Object.freeze({
8268
8314
  __proto__: null,
8269
8315
  comboBox: comboBox,
8270
8316
  default: comboBox,
8271
- vars: vars$a
8317
+ vars: vars$b
8272
8318
  });
8273
8319
 
8274
- const vars$9 = ImageClass.cssVarList;
8320
+ const vars$a = ImageClass.cssVarList;
8275
8321
 
8276
8322
  const image = {};
8277
8323
 
8278
8324
  var image$1 = /*#__PURE__*/Object.freeze({
8279
8325
  __proto__: null,
8280
8326
  default: image,
8281
- vars: vars$9
8327
+ vars: vars$a
8282
8328
  });
8283
8329
 
8284
- const vars$8 = PhoneFieldClass.cssVarList;
8330
+ const vars$9 = PhoneFieldClass.cssVarList;
8285
8331
 
8286
8332
  const phoneField = {
8287
- [vars$8.hostWidth]: refs.width,
8333
+ [vars$9.hostWidth]: refs.width,
8334
+ [vars$9.fontSize]: refs.fontSize,
8335
+ [vars$9.fontFamily]: refs.fontFamily,
8336
+ [vars$9.labelTextColor]: refs.labelTextColor,
8337
+ [vars$9.labelRequiredIndicator]: refs.requiredIndicator,
8338
+ [vars$9.errorMessageTextColor]: refs.errorMessageTextColor,
8339
+ [vars$9.inputValueTextColor]: refs.valueTextColor,
8340
+ [vars$9.inputPlaceholderTextColor]: refs.placeholderTextColor,
8341
+ [vars$9.inputBorderStyle]: refs.borderStyle,
8342
+ [vars$9.inputBorderWidth]: refs.borderWidth,
8343
+ [vars$9.inputBorderColor]: refs.borderColor,
8344
+ [vars$9.inputBorderRadius]: refs.borderRadius,
8345
+ [vars$9.inputOutlineStyle]: refs.outlineStyle,
8346
+ [vars$9.inputOutlineWidth]: refs.outlineWidth,
8347
+ [vars$9.inputOutlineColor]: refs.outlineColor,
8348
+ [vars$9.inputOutlineOffset]: refs.outlineOffset,
8349
+ [vars$9.phoneInputWidth]: refs.minWidth,
8350
+ [vars$9.countryCodeInputWidth]: '5em',
8351
+ [vars$9.countryCodeDropdownWidth]: '20em',
8352
+
8353
+ // '@overlay': {
8354
+ // overlayItemBackgroundColor: 'red'
8355
+ // }
8356
+ };
8357
+
8358
+ var phoneField$1 = /*#__PURE__*/Object.freeze({
8359
+ __proto__: null,
8360
+ default: phoneField,
8361
+ vars: vars$9
8362
+ });
8363
+
8364
+ const vars$8 = PhoneFieldInputBoxClass.cssVarList;
8365
+
8366
+ const phoneInputBoxField = {
8367
+ [vars$8.hostWidth]: '16em',
8368
+ [vars$8.hostMinWidth]: refs.minWidth,
8288
8369
  [vars$8.fontSize]: refs.fontSize,
8289
8370
  [vars$8.fontFamily]: refs.fontFamily,
8290
8371
  [vars$8.labelTextColor]: refs.labelTextColor,
@@ -8300,189 +8381,154 @@ const phoneField = {
8300
8381
  [vars$8.inputOutlineWidth]: refs.outlineWidth,
8301
8382
  [vars$8.inputOutlineColor]: refs.outlineColor,
8302
8383
  [vars$8.inputOutlineOffset]: refs.outlineOffset,
8303
- [vars$8.phoneInputWidth]: refs.minWidth,
8304
- [vars$8.countryCodeInputWidth]: '5em',
8305
- [vars$8.countryCodeDropdownWidth]: '20em',
8306
-
8307
- // '@overlay': {
8308
- // overlayItemBackgroundColor: 'red'
8309
- // }
8310
- };
8311
-
8312
- var phoneField$1 = /*#__PURE__*/Object.freeze({
8313
- __proto__: null,
8314
- default: phoneField,
8315
- vars: vars$8
8316
- });
8317
-
8318
- const vars$7 = PhoneFieldInputBoxClass.cssVarList;
8319
-
8320
- const phoneInputBoxField = {
8321
- [vars$7.hostWidth]: '16em',
8322
- [vars$7.hostMinWidth]: refs.minWidth,
8323
- [vars$7.fontSize]: refs.fontSize,
8324
- [vars$7.fontFamily]: refs.fontFamily,
8325
- [vars$7.labelTextColor]: refs.labelTextColor,
8326
- [vars$7.labelRequiredIndicator]: refs.requiredIndicator,
8327
- [vars$7.errorMessageTextColor]: refs.errorMessageTextColor,
8328
- [vars$7.inputValueTextColor]: refs.valueTextColor,
8329
- [vars$7.inputPlaceholderTextColor]: refs.placeholderTextColor,
8330
- [vars$7.inputBorderStyle]: refs.borderStyle,
8331
- [vars$7.inputBorderWidth]: refs.borderWidth,
8332
- [vars$7.inputBorderColor]: refs.borderColor,
8333
- [vars$7.inputBorderRadius]: refs.borderRadius,
8334
- [vars$7.inputOutlineStyle]: refs.outlineStyle,
8335
- [vars$7.inputOutlineWidth]: refs.outlineWidth,
8336
- [vars$7.inputOutlineColor]: refs.outlineColor,
8337
- [vars$7.inputOutlineOffset]: refs.outlineOffset,
8338
8384
  _fullWidth: {
8339
- [vars$7.hostWidth]: refs.width,
8385
+ [vars$8.hostWidth]: refs.width,
8340
8386
  },
8341
8387
  };
8342
8388
 
8343
8389
  var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
8344
8390
  __proto__: null,
8345
8391
  default: phoneInputBoxField,
8346
- vars: vars$7
8392
+ vars: vars$8
8347
8393
  });
8348
8394
 
8349
- const vars$6 = NewPasswordClass.cssVarList;
8395
+ const vars$7 = NewPasswordClass.cssVarList;
8350
8396
 
8351
8397
  const newPassword = {
8352
- [vars$6.hostWidth]: refs.width,
8353
- [vars$6.hostMinWidth]: refs.minWidth,
8354
- [vars$6.fontSize]: refs.fontSize,
8355
- [vars$6.fontFamily]: refs.fontFamily,
8356
- [vars$6.spaceBetweenInputs]: '1em',
8357
- [vars$6.errorMessageTextColor]: refs.errorMessageTextColor,
8398
+ [vars$7.hostWidth]: refs.width,
8399
+ [vars$7.hostMinWidth]: refs.minWidth,
8400
+ [vars$7.fontSize]: refs.fontSize,
8401
+ [vars$7.fontFamily]: refs.fontFamily,
8402
+ [vars$7.spaceBetweenInputs]: '1em',
8403
+ [vars$7.errorMessageTextColor]: refs.errorMessageTextColor,
8358
8404
 
8359
8405
  _required: {
8360
8406
  // NewPassword doesn't pass `required` attribute to its Password components.
8361
8407
  // That's why we fake the required indicator on each input.
8362
8408
  // We do that by injecting `::after` element, and populating it with requiredIndicator content.
8363
- [vars$6.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
8409
+ [vars$7.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
8364
8410
  },
8365
8411
  };
8366
8412
 
8367
8413
  var newPassword$1 = /*#__PURE__*/Object.freeze({
8368
8414
  __proto__: null,
8369
8415
  default: newPassword,
8370
- vars: vars$6
8416
+ vars: vars$7
8371
8417
  });
8372
8418
 
8373
- const vars$5 = UploadFileClass.cssVarList;
8419
+ const vars$6 = UploadFileClass.cssVarList;
8374
8420
 
8375
8421
  const uploadFile = {
8376
- [vars$5.labelTextColor]: refs.labelTextColor,
8377
- [vars$5.fontFamily]: refs.fontFamily,
8422
+ [vars$6.labelTextColor]: refs.labelTextColor,
8423
+ [vars$6.fontFamily]: refs.fontFamily,
8378
8424
 
8379
- [vars$5.iconSize]: '2em',
8425
+ [vars$6.iconSize]: '2em',
8380
8426
 
8381
- [vars$5.hostPadding]: '0.75em',
8382
- [vars$5.gap]: '0.5em',
8427
+ [vars$6.hostPadding]: '0.75em',
8428
+ [vars$6.gap]: '0.5em',
8383
8429
 
8384
- [vars$5.fontSize]: '16px',
8385
- [vars$5.titleFontWeight]: '500',
8386
- [vars$5.lineHeight]: '1em',
8430
+ [vars$6.fontSize]: '16px',
8431
+ [vars$6.titleFontWeight]: '500',
8432
+ [vars$6.lineHeight]: '1em',
8387
8433
 
8388
- [vars$5.borderWidth]: refs.borderWidth,
8389
- [vars$5.borderColor]: refs.borderColor,
8390
- [vars$5.borderRadius]: refs.borderRadius,
8391
- [vars$5.borderStyle]: 'dashed',
8434
+ [vars$6.borderWidth]: refs.borderWidth,
8435
+ [vars$6.borderColor]: refs.borderColor,
8436
+ [vars$6.borderRadius]: refs.borderRadius,
8437
+ [vars$6.borderStyle]: 'dashed',
8392
8438
 
8393
8439
  _required: {
8394
- [vars$5.requiredIndicator]: refs.requiredIndicator,
8440
+ [vars$6.requiredIndicator]: refs.requiredIndicator,
8395
8441
  },
8396
8442
 
8397
8443
  size: {
8398
8444
  xs: {
8399
- [vars$5.hostHeight]: '196px',
8400
- [vars$5.hostWidth]: '200px',
8401
- [vars$5.titleFontSize]: '0.875em',
8402
- [vars$5.descriptionFontSize]: '0.875em',
8403
- [vars$5.lineHeight]: '1.25em',
8445
+ [vars$6.hostHeight]: '196px',
8446
+ [vars$6.hostWidth]: '200px',
8447
+ [vars$6.titleFontSize]: '0.875em',
8448
+ [vars$6.descriptionFontSize]: '0.875em',
8449
+ [vars$6.lineHeight]: '1.25em',
8404
8450
  },
8405
8451
  sm: {
8406
- [vars$5.hostHeight]: '216px',
8407
- [vars$5.hostWidth]: '230px',
8408
- [vars$5.titleFontSize]: '1em',
8409
- [vars$5.descriptionFontSize]: '0.875em',
8410
- [vars$5.lineHeight]: '1.25em',
8452
+ [vars$6.hostHeight]: '216px',
8453
+ [vars$6.hostWidth]: '230px',
8454
+ [vars$6.titleFontSize]: '1em',
8455
+ [vars$6.descriptionFontSize]: '0.875em',
8456
+ [vars$6.lineHeight]: '1.25em',
8411
8457
  },
8412
8458
  md: {
8413
- [vars$5.hostHeight]: '256px',
8414
- [vars$5.hostWidth]: '312px',
8415
- [vars$5.titleFontSize]: '1.125em',
8416
- [vars$5.descriptionFontSize]: '1em',
8417
- [vars$5.lineHeight]: '1.5em',
8459
+ [vars$6.hostHeight]: '256px',
8460
+ [vars$6.hostWidth]: '312px',
8461
+ [vars$6.titleFontSize]: '1.125em',
8462
+ [vars$6.descriptionFontSize]: '1em',
8463
+ [vars$6.lineHeight]: '1.5em',
8418
8464
  },
8419
8465
  lg: {
8420
- [vars$5.hostHeight]: '280px',
8421
- [vars$5.hostWidth]: '336px',
8422
- [vars$5.titleFontSize]: '1.125em',
8423
- [vars$5.descriptionFontSize]: '1.125em',
8424
- [vars$5.lineHeight]: '1.75em',
8466
+ [vars$6.hostHeight]: '280px',
8467
+ [vars$6.hostWidth]: '336px',
8468
+ [vars$6.titleFontSize]: '1.125em',
8469
+ [vars$6.descriptionFontSize]: '1.125em',
8470
+ [vars$6.lineHeight]: '1.75em',
8425
8471
  },
8426
8472
  },
8427
8473
 
8428
8474
  _fullWidth: {
8429
- [vars$5.hostWidth]: refs.width,
8475
+ [vars$6.hostWidth]: refs.width,
8430
8476
  },
8431
8477
  };
8432
8478
 
8433
8479
  var uploadFile$1 = /*#__PURE__*/Object.freeze({
8434
8480
  __proto__: null,
8435
8481
  default: uploadFile,
8436
- vars: vars$5
8482
+ vars: vars$6
8437
8483
  });
8438
8484
 
8439
- const globalRefs$2 = getThemeRefs(globals);
8485
+ const globalRefs$3 = getThemeRefs(globals);
8440
8486
 
8441
- const vars$4 = ButtonSelectionGroupItemClass.cssVarList;
8487
+ const vars$5 = ButtonSelectionGroupItemClass.cssVarList;
8442
8488
 
8443
8489
  const buttonSelectionGroupItem = {
8444
- [vars$4.backgroundColor]: globalRefs$2.colors.surface.light,
8445
- [vars$4.labelTextColor]: globalRefs$2.colors.surface.contrast,
8446
- [vars$4.borderColor]: globalRefs$2.colors.surface.main,
8447
- [vars$4.borderStyle]: 'solid',
8448
- [vars$4.borderRadius]: globalRefs$2.radius.sm,
8490
+ [vars$5.backgroundColor]: globalRefs$3.colors.surface.light,
8491
+ [vars$5.labelTextColor]: globalRefs$3.colors.surface.contrast,
8492
+ [vars$5.borderColor]: globalRefs$3.colors.surface.main,
8493
+ [vars$5.borderStyle]: 'solid',
8494
+ [vars$5.borderRadius]: globalRefs$3.radius.sm,
8449
8495
 
8450
8496
  _hover: {
8451
- [vars$4.backgroundColor]: '#f4f5f5', // can we take it from the palette?
8497
+ [vars$5.backgroundColor]: '#f4f5f5', // can we take it from the palette?
8452
8498
  },
8453
8499
 
8454
8500
  _selected: {
8455
- [vars$4.borderColor]: globalRefs$2.colors.surface.contrast,
8456
- [vars$4.backgroundColor]: globalRefs$2.colors.surface.contrast,
8457
- [vars$4.labelTextColor]: globalRefs$2.colors.surface.light,
8501
+ [vars$5.borderColor]: globalRefs$3.colors.surface.contrast,
8502
+ [vars$5.backgroundColor]: globalRefs$3.colors.surface.contrast,
8503
+ [vars$5.labelTextColor]: globalRefs$3.colors.surface.light,
8458
8504
  },
8459
8505
  };
8460
8506
 
8461
8507
  var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
8462
8508
  __proto__: null,
8463
8509
  default: buttonSelectionGroupItem,
8464
- vars: vars$4
8510
+ vars: vars$5
8465
8511
  });
8466
8512
 
8467
- const globalRefs$1 = getThemeRefs(globals);
8468
- const vars$3 = ButtonSelectionGroupClass.cssVarList;
8513
+ const globalRefs$2 = getThemeRefs(globals);
8514
+ const vars$4 = ButtonSelectionGroupClass.cssVarList;
8469
8515
 
8470
8516
  const buttonSelectionGroup = {
8471
- [vars$3.fontFamily]: refs.fontFamily,
8472
- [vars$3.labelTextColor]: refs.labelTextColor,
8473
- [vars$3.labelRequiredIndicator]: refs.requiredIndicator,
8474
- [vars$3.errorMessageTextColor]: refs.errorMessageTextColor,
8475
- [vars$3.itemsSpacing]: globalRefs$1.spacing.sm,
8476
- [vars$3.hostWidth]: refs.width,
8517
+ [vars$4.fontFamily]: refs.fontFamily,
8518
+ [vars$4.labelTextColor]: refs.labelTextColor,
8519
+ [vars$4.labelRequiredIndicator]: refs.requiredIndicator,
8520
+ [vars$4.errorMessageTextColor]: refs.errorMessageTextColor,
8521
+ [vars$4.itemsSpacing]: globalRefs$2.spacing.sm,
8522
+ [vars$4.hostWidth]: refs.width,
8477
8523
  };
8478
8524
 
8479
8525
  var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
8480
8526
  __proto__: null,
8481
8527
  default: buttonSelectionGroup,
8482
- vars: vars$3
8528
+ vars: vars$4
8483
8529
  });
8484
8530
 
8485
- const componentName = getComponentName('modal');
8531
+ const componentName$1 = getComponentName('modal');
8486
8532
 
8487
8533
  const customMixin = (superclass) =>
8488
8534
  class ModalMixinClass extends superclass {
@@ -8578,7 +8624,7 @@ const ModalClass = compose(
8578
8624
  wrappedEleName: 'vaadin-dialog',
8579
8625
  style: () => ``,
8580
8626
  excludeAttrsSync: ['tabindex', 'opened'],
8581
- componentName,
8627
+ componentName: componentName$1,
8582
8628
  })
8583
8629
  );
8584
8630
 
@@ -8589,44 +8635,44 @@ const modal = {
8589
8635
  [compVars.overlayWidth]: '700px',
8590
8636
  };
8591
8637
 
8592
- const vars$2 = {
8638
+ const vars$3 = {
8593
8639
  ...compVars,
8594
8640
  };
8595
8641
 
8596
8642
  var modal$1 = /*#__PURE__*/Object.freeze({
8597
8643
  __proto__: null,
8598
8644
  default: modal,
8599
- vars: vars$2
8645
+ vars: vars$3
8600
8646
  });
8601
8647
 
8602
- const globalRefs = getThemeRefs(globals);
8603
- const vars$1 = GridClass.cssVarList;
8648
+ const globalRefs$1 = getThemeRefs(globals);
8649
+ const vars$2 = GridClass.cssVarList;
8604
8650
 
8605
8651
  const grid = {
8606
- [vars$1.hostWidth]: '100%',
8607
- [vars$1.hostHeight]: '100%',
8608
- [vars$1.hostMinHeight]: '400px',
8652
+ [vars$2.hostWidth]: '100%',
8653
+ [vars$2.hostHeight]: '100%',
8654
+ [vars$2.hostMinHeight]: '400px',
8609
8655
 
8610
- [vars$1.fontSize]: refs.fontSize,
8611
- [vars$1.fontFamily]: refs.fontFamily,
8656
+ [vars$2.fontSize]: refs.fontSize,
8657
+ [vars$2.fontFamily]: refs.fontFamily,
8612
8658
 
8613
- [vars$1.sortIndicatorsColor]: globalRefs.colors.primary.main,
8614
- [vars$1.activeSortIndicator]: globalRefs.colors.primary.main,
8615
- [vars$1.resizeHandleColor]: globalRefs.colors.surface.main,
8659
+ [vars$2.sortIndicatorsColor]: globalRefs$1.colors.primary.main,
8660
+ [vars$2.activeSortIndicator]: globalRefs$1.colors.primary.main,
8661
+ [vars$2.resizeHandleColor]: globalRefs$1.colors.surface.main,
8616
8662
 
8617
- [vars$1.inputBorderWidth]: refs.borderWidth,
8618
- [vars$1.inputBorderStyle]: refs.borderStyle,
8619
- [vars$1.inputBorderRadius]: refs.borderRadius,
8620
- [vars$1.inputBorderColor]: 'transparent',
8663
+ [vars$2.inputBorderWidth]: refs.borderWidth,
8664
+ [vars$2.inputBorderStyle]: refs.borderStyle,
8665
+ [vars$2.inputBorderRadius]: refs.borderRadius,
8666
+ [vars$2.inputBorderColor]: 'transparent',
8621
8667
 
8622
- [vars$1.separatorColor]: refs.borderColor,
8668
+ [vars$2.separatorColor]: refs.borderColor,
8623
8669
 
8624
- [vars$1.valueTextColor]: globalRefs.colors.surface.contrast,
8625
- [vars$1.selectedBackgroundColor]: globalRefs.colors.primary.main,
8626
- [vars$1.selectedTextColor]: globalRefs.colors.primary.contrast,
8670
+ [vars$2.valueTextColor]: globalRefs$1.colors.surface.contrast,
8671
+ [vars$2.selectedBackgroundColor]: globalRefs$1.colors.primary.main,
8672
+ [vars$2.selectedTextColor]: globalRefs$1.colors.primary.contrast,
8627
8673
 
8628
8674
  _bordered: {
8629
- [vars$1.inputBorderColor]: refs.borderColor,
8675
+ [vars$2.inputBorderColor]: refs.borderColor,
8630
8676
  },
8631
8677
  };
8632
8678
 
@@ -8634,6 +8680,129 @@ var grid$1 = /*#__PURE__*/Object.freeze({
8634
8680
  __proto__: null,
8635
8681
  default: grid,
8636
8682
  grid: grid,
8683
+ vars: vars$2
8684
+ });
8685
+
8686
+ const componentName = getComponentName('notification-card');
8687
+
8688
+ const notificationCardMixin = (superclass) =>
8689
+ class NotificationCardMixinClass extends superclass {
8690
+ close() {
8691
+ // if animation is not applied to the element, the node will not be removed
8692
+ // from the DOM. We should avoid that. So, if in any case we allow
8693
+ // customizing the animation - we should check if animation is applied
8694
+ // and if it's not applied - remove the elemnt from the DOM and dispatch
8695
+ // `card-closed` event.
8696
+ this.baseElement.addEventListener('animationend', () => {
8697
+ this.remove();
8698
+ this.dispatchEvent(new Event('card-closed'));
8699
+ });
8700
+
8701
+ this.setAttribute('opened', 'false');
8702
+ }
8703
+ };
8704
+
8705
+ const NotificationCardClass = compose(
8706
+ createStyleMixin({
8707
+ mappings: {
8708
+ hostMinWidth: { selector: () => '::part(content)', property: 'min-width' },
8709
+ fontFamily: {},
8710
+ fontSize: {},
8711
+ backgroundColor: { selector: () => '::part(content)' },
8712
+ textColor: { property: 'color' },
8713
+ boxShadow: {},
8714
+ borderWidth: { selector: () => '::part(content)', property: 'border-width' },
8715
+ borderColor: { selector: () => '::part(content)', property: 'border-color' },
8716
+ borderStyle: { selector: () => '::part(content)', property: 'border-style' },
8717
+ borderRadius: [
8718
+ { selector: () => '::part(content)', property: 'border-radius' },
8719
+ { selector: () => '::part(overlay)', property: 'border-radius' },
8720
+ ],
8721
+ verticalPadding: [
8722
+ { selector: () => '::part(content)', property: 'padding-top' },
8723
+ { selector: () => '::part(content)', property: 'padding-bottom' },
8724
+ ],
8725
+ horizontalPadding: [
8726
+ { selector: () => '::part(content)', property: 'padding-right' },
8727
+ { selector: () => '::part(content)', property: 'padding-left' },
8728
+ ],
8729
+ },
8730
+ }),
8731
+ notificationCardMixin
8732
+ )(
8733
+ createProxy({
8734
+ slots: [''],
8735
+ wrappedEleName: 'vaadin-notification-card',
8736
+ style: () => `
8737
+ vaadin-notification-card {
8738
+ box-shadow: none;
8739
+ }
8740
+ ::part(overlay) {
8741
+ box-shadow: none;
8742
+ background: none;
8743
+ }
8744
+ `,
8745
+ excludeAttrsSync: ['tabindex'],
8746
+ componentName,
8747
+ })
8748
+ );
8749
+
8750
+ customElements.define(componentName, NotificationCardClass);
8751
+
8752
+ const globalRefs = getThemeRefs(globals);
8753
+ const vars$1 = NotificationCardClass.cssVarList;
8754
+
8755
+ const shadowColor = '#00000020';
8756
+
8757
+ const notification = {
8758
+ [vars$1.hostMinWidth]: '415px',
8759
+ [vars$1.fontFamily]: globalRefs.fonts.font1.family,
8760
+ [vars$1.fontSize]: globalRefs.typography.body1.size,
8761
+ [vars$1.backgroundColor]: globalRefs.colors.surface.main,
8762
+ [vars$1.textColor]: globalRefs.colors.surface.contrast,
8763
+ [vars$1.boxShadow]: `${globalRefs.shadow.wide.xl} ${shadowColor}, ${globalRefs.shadow.narrow.xl} ${shadowColor}`,
8764
+ [vars$1.verticalPadding]: '0.45em',
8765
+ [vars$1.horizontalPadding]: '1em',
8766
+ [vars$1.verticalMargin]: '1em',
8767
+ [vars$1.horizontalMargin]: '1em',
8768
+ [vars$1.borderRadius]: globalRefs.radius.md,
8769
+ [vars$1.contentSpacing]: '0.5em',
8770
+
8771
+ _bordered: {
8772
+ [vars$1.borderWidth]: globalRefs.border.sm,
8773
+ [vars$1.borderStyle]: 'solid',
8774
+ [vars$1.borderColor]: 'transparent',
8775
+ },
8776
+
8777
+ size: {
8778
+ xs: { [vars$1.fontSize]: '12px' },
8779
+ sm: { [vars$1.fontSize]: '14px' },
8780
+ md: { [vars$1.fontSize]: '16px' },
8781
+ lg: { [vars$1.fontSize]: '18px' },
8782
+ },
8783
+
8784
+ mode: {
8785
+ primary: {
8786
+ [vars$1.backgroundColor]: globalRefs.colors.primary.main,
8787
+ [vars$1.textColor]: globalRefs.colors.primary.contrast,
8788
+ [vars$1.borderColor]: globalRefs.colors.primary.light,
8789
+ },
8790
+ success: {
8791
+ [vars$1.backgroundColor]: globalRefs.colors.success.main,
8792
+ [vars$1.textColor]: globalRefs.colors.success.contrast,
8793
+ [vars$1.borderColor]: globalRefs.colors.success.light,
8794
+ },
8795
+ error: {
8796
+ [vars$1.backgroundColor]: globalRefs.colors.error.main,
8797
+ [vars$1.textColor]: globalRefs.colors.error.contrast,
8798
+ [vars$1.borderColor]: globalRefs.colors.error.light,
8799
+ },
8800
+ },
8801
+ };
8802
+
8803
+ var notificationCard = /*#__PURE__*/Object.freeze({
8804
+ __proto__: null,
8805
+ default: notification,
8637
8806
  vars: vars$1
8638
8807
  });
8639
8808
 
@@ -8666,6 +8835,7 @@ const components = {
8666
8835
  buttonSelectionGroup: buttonSelectionGroup$1,
8667
8836
  modal: modal$1,
8668
8837
  grid: grid$1,
8838
+ notificationCard,
8669
8839
  };
8670
8840
 
8671
8841
  const theme = Object.keys(components).reduce(
@@ -8678,7 +8848,7 @@ const vars = Object.keys(components).reduce(
8678
8848
  );
8679
8849
 
8680
8850
  const defaultTheme = { globals, components: theme };
8681
- const themeVars = { globals: vars$t, components: vars };
8851
+ const themeVars = { globals: vars$u, components: vars };
8682
8852
 
8683
8853
  export { ButtonClass, ButtonSelectionGroupClass, ButtonSelectionGroupItemClass, CheckboxClass, ContainerClass, DividerClass, EmailFieldClass, GridClass, ImageClass, LinkClass, LoaderLinearClass, LoaderRadialClass, LogoClass, NewPasswordClass, NumberFieldClass, PasscodeClass, PasswordClass, PhoneFieldClass, PhoneFieldInputBoxClass, RecaptchaClass, SwitchToggleClass, TextAreaClass, TextClass, TextFieldClass, TotpImageClass, UploadFileClass, componentsThemeManager, createComponentsTheme, defaultTheme, genColor, globalsThemeToStyle, themeToStyle, themeVars };
8684
8854
  //# sourceMappingURL=index.esm.js.map