@descope/web-components-ui 1.0.223 → 1.0.224

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. package/dist/cjs/index.cjs.js +892 -627
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +982 -610
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/umd/1000.js +1 -1
  6. package/dist/umd/1037.js +1 -1
  7. package/dist/umd/1419.js +360 -0
  8. package/dist/umd/1419.js.LICENSE.txt +23 -0
  9. package/dist/umd/1932.js +1 -1
  10. package/dist/umd/1990.js +2 -2
  11. package/dist/umd/2066.js +2 -0
  12. package/dist/umd/2066.js.LICENSE.txt +5 -0
  13. package/dist/umd/2873.js +738 -0
  14. package/dist/umd/2873.js.LICENSE.txt +21 -0
  15. package/dist/umd/3003.js +2 -0
  16. package/dist/umd/3003.js.LICENSE.txt +9 -0
  17. package/dist/umd/{9515.js → 3092.js} +88 -88
  18. package/dist/umd/3660.js +2 -2
  19. package/dist/umd/422.js +1 -1
  20. package/dist/umd/4222.js +2 -0
  21. package/dist/umd/{7196.js.LICENSE.txt → 4222.js.LICENSE.txt} +0 -18
  22. package/dist/umd/4447.js +2 -1
  23. package/dist/umd/4447.js.LICENSE.txt +5 -0
  24. package/dist/umd/4567.js +1 -0
  25. package/dist/umd/4746.js +123 -0
  26. package/dist/umd/4905.js +2 -0
  27. package/dist/umd/4905.js.LICENSE.txt +5 -0
  28. package/dist/umd/5977.js +289 -0
  29. package/dist/umd/5977.js.LICENSE.txt +17 -0
  30. package/dist/umd/6551.js +1 -0
  31. package/dist/umd/{7101.js → 6770.js} +5 -5
  32. package/dist/umd/{6116.js → 7514.js} +2 -2
  33. package/dist/umd/9189.js +2 -0
  34. package/dist/umd/9189.js.LICENSE.txt +5 -0
  35. package/dist/umd/9629.js +2 -0
  36. package/dist/umd/9629.js.LICENSE.txt +5 -0
  37. package/dist/umd/9671.js +1 -0
  38. package/dist/umd/9680.js +2 -0
  39. package/dist/umd/9680.js.LICENSE.txt +5 -0
  40. package/dist/umd/boolean-fields-descope-checkbox-index-js.js +1 -1
  41. package/dist/umd/boolean-fields-descope-switch-toggle-index-js.js +1 -1
  42. package/dist/umd/descope-combo-box-index-js.js +1 -1
  43. package/dist/umd/descope-grid-descope-grid-selection-column-index-js.js +1 -0
  44. package/dist/umd/descope-grid-descope-grid-status-column-index-js.js +1 -0
  45. package/dist/umd/descope-grid-descope-grid-text-column-index-js.js +1 -0
  46. package/dist/umd/descope-grid-index-js.js +1 -0
  47. package/dist/umd/descope-text-area-index-js.js +1 -1
  48. package/dist/umd/index.js +1 -1
  49. package/package.json +2 -1
  50. package/src/components/descope-grid/GridClass.js +226 -0
  51. package/src/components/descope-grid/descope-grid-selection-column/index.js +68 -0
  52. package/src/components/descope-grid/descope-grid-status-column/index.js +34 -0
  53. package/src/components/descope-grid/descope-grid-text-column/index.js +11 -0
  54. package/src/components/descope-grid/helpers.js +9 -0
  55. package/src/components/descope-grid/index.js +10 -0
  56. package/src/index.js +1 -0
  57. package/src/theme/components/grid.js +38 -0
  58. package/src/theme/components/index.js +2 -0
  59. package/dist/umd/3952.js +0 -123
  60. package/dist/umd/4273.js +0 -289
  61. package/dist/umd/4273.js.LICENSE.txt +0 -33
  62. package/dist/umd/7196.js +0 -360
  63. /package/dist/umd/{7101.js.LICENSE.txt → 3092.js.LICENSE.txt} +0 -0
  64. /package/dist/umd/{3952.js.LICENSE.txt → 4746.js.LICENSE.txt} +0 -0
  65. /package/dist/umd/{9515.js.LICENSE.txt → 6770.js.LICENSE.txt} +0 -0
  66. /package/dist/umd/{6116.js.LICENSE.txt → 7514.js.LICENSE.txt} +0 -0
package/dist/index.esm.js CHANGED
@@ -7,6 +7,9 @@ import '@vaadin/number-field';
7
7
  import '@vaadin/password-field';
8
8
  import '@vaadin/text-area';
9
9
  import '@vaadin/combo-box';
10
+ import '@vaadin/grid';
11
+ import { GridColumn } from '@vaadin/grid/vaadin-grid-column';
12
+ import { GridSelectionColumn } from '@vaadin/grid/vaadin-grid-selection-column';
10
13
  import merge from 'lodash.merge';
11
14
  import set from 'lodash.set';
12
15
  import Color from 'color';
@@ -1234,7 +1237,7 @@ const clickableMixin = (superclass) =>
1234
1237
  }
1235
1238
  };
1236
1239
 
1237
- const componentName$x = getComponentName('button');
1240
+ const componentName$B = getComponentName('button');
1238
1241
 
1239
1242
  const resetStyles = `
1240
1243
  :host {
@@ -1272,7 +1275,7 @@ const iconStyles = `
1272
1275
 
1273
1276
  const editorOverrides = `vaadin-button::part(label) { pointer-events: none; }`;
1274
1277
 
1275
- const { host: host$f, label: label$9 } = {
1278
+ const { host: host$g, label: label$9 } = {
1276
1279
  host: { selector: () => ':host' },
1277
1280
  label: { selector: '::part(label)' },
1278
1281
  };
@@ -1282,7 +1285,7 @@ let loadingIndicatorStyles;
1282
1285
  const ButtonClass = compose(
1283
1286
  createStyleMixin({
1284
1287
  mappings: {
1285
- hostWidth: { ...host$f, property: 'width' },
1288
+ hostWidth: { ...host$g, property: 'width' },
1286
1289
  hostHeight: { property: 'height' },
1287
1290
  fontSize: {},
1288
1291
  fontFamily: {},
@@ -1331,7 +1334,7 @@ const ButtonClass = compose(
1331
1334
  }
1332
1335
  `,
1333
1336
  excludeAttrsSync: ['tabindex'],
1334
- componentName: componentName$x,
1337
+ componentName: componentName$B,
1335
1338
  })
1336
1339
  );
1337
1340
 
@@ -1368,7 +1371,7 @@ loadingIndicatorStyles = `
1368
1371
  }
1369
1372
  `;
1370
1373
 
1371
- customElements.define(componentName$x, ButtonClass);
1374
+ customElements.define(componentName$B, ButtonClass);
1372
1375
 
1373
1376
  const createBaseInputClass = (...args) =>
1374
1377
  compose(
@@ -1378,11 +1381,11 @@ const createBaseInputClass = (...args) =>
1378
1381
  inputEventsDispatchingMixin
1379
1382
  )(createBaseClass(...args));
1380
1383
 
1381
- const componentName$w = getComponentName('boolean-field-internal');
1384
+ const componentName$A = getComponentName('boolean-field-internal');
1382
1385
 
1383
1386
  const forwardAttributes$1 = ['disabled', 'label', 'invalid', 'readonly'];
1384
1387
 
1385
- const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$w, baseSelector: 'div' });
1388
+ const BaseInputClass$5 = createBaseInputClass({ componentName: componentName$A, baseSelector: 'div' });
1386
1389
 
1387
1390
  class BooleanInputInternal extends BaseInputClass$5 {
1388
1391
  constructor() {
@@ -1442,14 +1445,14 @@ const booleanFieldMixin = (superclass) =>
1442
1445
 
1443
1446
  const template = document.createElement('template');
1444
1447
  template.innerHTML = `
1445
- <${componentName$w}
1448
+ <${componentName$A}
1446
1449
  tabindex="-1"
1447
1450
  slot="input"
1448
- ></${componentName$w}>
1451
+ ></${componentName$A}>
1449
1452
  `;
1450
1453
 
1451
1454
  this.baseElement.appendChild(template.content.cloneNode(true));
1452
- this.inputElement = this.shadowRoot.querySelector(componentName$w);
1455
+ this.inputElement = this.shadowRoot.querySelector(componentName$A);
1453
1456
  this.checkbox = this.inputElement.querySelector('vaadin-checkbox');
1454
1457
 
1455
1458
  forwardAttrs(this, this.inputElement, {
@@ -1612,10 +1615,10 @@ descope-boolean-field-internal {
1612
1615
  }
1613
1616
  `;
1614
1617
 
1615
- const componentName$v = getComponentName('checkbox');
1618
+ const componentName$z = getComponentName('checkbox');
1616
1619
 
1617
1620
  const {
1618
- host: host$e,
1621
+ host: host$f,
1619
1622
  component: component$1,
1620
1623
  checkboxElement,
1621
1624
  checkboxSurface,
@@ -1637,9 +1640,9 @@ const {
1637
1640
  const CheckboxClass = compose(
1638
1641
  createStyleMixin({
1639
1642
  mappings: {
1640
- hostWidth: { ...host$e, property: 'width' },
1643
+ hostWidth: { ...host$f, property: 'width' },
1641
1644
 
1642
- fontSize: [host$e, checkboxElement, checkboxLabel$1],
1645
+ fontSize: [host$f, checkboxElement, checkboxLabel$1],
1643
1646
  fontFamily: [checkboxLabel$1, helperText$8, errorMessage$a],
1644
1647
 
1645
1648
  labelTextColor: { ...checkboxLabel$1, property: 'color' },
@@ -1709,18 +1712,18 @@ const CheckboxClass = compose(
1709
1712
  }
1710
1713
  `,
1711
1714
  excludeAttrsSync: ['label', 'tabindex'],
1712
- componentName: componentName$v,
1715
+ componentName: componentName$z,
1713
1716
  })
1714
1717
  );
1715
1718
 
1716
- customElements.define(componentName$w, BooleanInputInternal);
1719
+ customElements.define(componentName$A, BooleanInputInternal);
1717
1720
 
1718
- customElements.define(componentName$v, CheckboxClass);
1721
+ customElements.define(componentName$z, CheckboxClass);
1719
1722
 
1720
- const componentName$u = getComponentName('switch-toggle');
1723
+ const componentName$y = getComponentName('switch-toggle');
1721
1724
 
1722
1725
  const {
1723
- host: host$d,
1726
+ host: host$e,
1724
1727
  component,
1725
1728
  checkboxElement: track,
1726
1729
  checkboxSurface: knob,
@@ -1742,7 +1745,7 @@ const {
1742
1745
  const SwitchToggleClass = compose(
1743
1746
  createStyleMixin({
1744
1747
  mappings: {
1745
- hostWidth: { ...host$d, property: 'width' },
1748
+ hostWidth: { ...host$e, property: 'width' },
1746
1749
 
1747
1750
  fontSize: [component, checkboxLabel, checkboxLabel],
1748
1751
  fontFamily: [checkboxLabel, helperText$7, errorMessage$9],
@@ -1836,17 +1839,17 @@ const SwitchToggleClass = compose(
1836
1839
  }
1837
1840
  `,
1838
1841
  excludeAttrsSync: ['label', 'tabindex'],
1839
- componentName: componentName$u,
1842
+ componentName: componentName$y,
1840
1843
  })
1841
1844
  );
1842
1845
 
1843
- customElements.define(componentName$u, SwitchToggleClass);
1846
+ customElements.define(componentName$y, SwitchToggleClass);
1844
1847
 
1845
- const componentName$t = getComponentName('loader-linear');
1848
+ const componentName$x = getComponentName('loader-linear');
1846
1849
 
1847
- class RawLoaderLinear extends createBaseClass({ componentName: componentName$t, baseSelector: ':host > div' }) {
1850
+ class RawLoaderLinear extends createBaseClass({ componentName: componentName$x, baseSelector: ':host > div' }) {
1848
1851
  static get componentName() {
1849
- return componentName$t;
1852
+ return componentName$x;
1850
1853
  }
1851
1854
 
1852
1855
  constructor() {
@@ -1882,18 +1885,18 @@ const selectors$1 = {
1882
1885
  host: { selector: () => ':host' },
1883
1886
  };
1884
1887
 
1885
- const { after: after$1, host: host$c } = selectors$1;
1888
+ const { after: after$1, host: host$d } = selectors$1;
1886
1889
 
1887
1890
  const LoaderLinearClass = compose(
1888
1891
  createStyleMixin({
1889
1892
  mappings: {
1890
1893
  hostDisplay: {},
1891
- hostWidth: { ...host$c, property: 'width' },
1894
+ hostWidth: { ...host$d, property: 'width' },
1892
1895
  barHeight: [{ property: 'height' }, { ...after$1, property: 'height' }],
1893
1896
  barBorderRadius: [{ property: 'border-radius' }, { ...after$1, property: 'border-radius' }],
1894
1897
  verticalPadding: [
1895
- { ...host$c, property: 'padding-top' },
1896
- { ...host$c, property: 'padding-bottom' },
1898
+ { ...host$d, property: 'padding-top' },
1899
+ { ...host$d, property: 'padding-bottom' },
1897
1900
  ],
1898
1901
  barBackgroundColor: { property: 'background-color' },
1899
1902
  barColor: { ...after$1, property: 'background-color' },
@@ -1907,11 +1910,11 @@ const LoaderLinearClass = compose(
1907
1910
  componentNameValidationMixin
1908
1911
  )(RawLoaderLinear);
1909
1912
 
1910
- customElements.define(componentName$t, LoaderLinearClass);
1913
+ customElements.define(componentName$x, LoaderLinearClass);
1911
1914
 
1912
- const componentName$s = getComponentName('loader-radial');
1915
+ const componentName$w = getComponentName('loader-radial');
1913
1916
 
1914
- class RawLoaderRadial extends createBaseClass({ componentName: componentName$s, baseSelector: ':host > div' }) {
1917
+ class RawLoaderRadial extends createBaseClass({ componentName: componentName$w, baseSelector: ':host > div' }) {
1915
1918
  constructor() {
1916
1919
  super();
1917
1920
 
@@ -1955,11 +1958,11 @@ const LoaderRadialClass = compose(
1955
1958
  componentNameValidationMixin
1956
1959
  )(RawLoaderRadial);
1957
1960
 
1958
- customElements.define(componentName$s, LoaderRadialClass);
1961
+ customElements.define(componentName$w, LoaderRadialClass);
1959
1962
 
1960
- const componentName$r = getComponentName('container');
1963
+ const componentName$v = getComponentName('container');
1961
1964
 
1962
- class RawContainer extends createBaseClass({ componentName: componentName$r, baseSelector: ':host > slot' }) {
1965
+ class RawContainer extends createBaseClass({ componentName: componentName$v, baseSelector: ':host > slot' }) {
1963
1966
  constructor() {
1964
1967
  super();
1965
1968
 
@@ -2011,10 +2014,10 @@ const ContainerClass = compose(
2011
2014
  componentNameValidationMixin
2012
2015
  )(RawContainer);
2013
2016
 
2014
- customElements.define(componentName$r, ContainerClass);
2017
+ customElements.define(componentName$v, ContainerClass);
2015
2018
 
2016
- const componentName$q = getComponentName('divider');
2017
- class RawDivider extends createBaseClass({ componentName: componentName$q, baseSelector: ':host > div' }) {
2019
+ const componentName$u = getComponentName('divider');
2020
+ class RawDivider extends createBaseClass({ componentName: componentName$u, baseSelector: ':host > div' }) {
2018
2021
  constructor() {
2019
2022
  super();
2020
2023
 
@@ -2059,7 +2062,7 @@ class RawDivider extends createBaseClass({ componentName: componentName$q, baseS
2059
2062
  }
2060
2063
  }
2061
2064
 
2062
- const { host: host$b, before, after, text: text$3 } = {
2065
+ const { host: host$c, before, after, text: text$3 } = {
2063
2066
  host: { selector: () => ':host' },
2064
2067
  before: { selector: '::before' },
2065
2068
  after: { selector: '::after' },
@@ -2069,8 +2072,8 @@ const { host: host$b, before, after, text: text$3 } = {
2069
2072
  const DividerClass = compose(
2070
2073
  createStyleMixin({
2071
2074
  mappings: {
2072
- hostWidth: { ...host$b, property: 'width' },
2073
- hostPadding: { ...host$b, property: 'padding' },
2075
+ hostWidth: { ...host$c, property: 'width' },
2076
+ hostPadding: { ...host$c, property: 'padding' },
2074
2077
 
2075
2078
  minHeight: {},
2076
2079
  alignItems: {},
@@ -2112,9 +2115,9 @@ const DividerClass = compose(
2112
2115
 
2113
2116
  // eslint-disable-next-line max-classes-per-file
2114
2117
 
2115
- const componentName$p = getComponentName('text');
2118
+ const componentName$t = getComponentName('text');
2116
2119
 
2117
- class RawText extends createBaseClass({ componentName: componentName$p, baseSelector: ':host > slot' }) {
2120
+ class RawText extends createBaseClass({ componentName: componentName$t, baseSelector: ':host > slot' }) {
2118
2121
  constructor() {
2119
2122
  super();
2120
2123
 
@@ -2173,11 +2176,11 @@ const TextClass = compose(
2173
2176
  customTextMixin
2174
2177
  )(RawText);
2175
2178
 
2176
- customElements.define(componentName$p, TextClass);
2179
+ customElements.define(componentName$t, TextClass);
2177
2180
 
2178
- customElements.define(componentName$q, DividerClass);
2181
+ customElements.define(componentName$u, DividerClass);
2179
2182
 
2180
- const { host: host$a, label: label$8, placeholder: placeholder$2, requiredIndicator: requiredIndicator$8, inputField: inputField$5, input, helperText: helperText$6, errorMessage: errorMessage$8 } =
2183
+ const { host: host$b, label: label$8, placeholder: placeholder$2, requiredIndicator: requiredIndicator$8, inputField: inputField$5, input, helperText: helperText$6, errorMessage: errorMessage$8 } =
2181
2184
  {
2182
2185
  host: { selector: () => ':host' },
2183
2186
  label: { selector: '::part(label)' },
@@ -2191,11 +2194,11 @@ const { host: host$a, label: label$8, placeholder: placeholder$2, requiredIndica
2191
2194
 
2192
2195
  var textFieldMappings = {
2193
2196
  // we apply font-size also on the host so we can set its width with em
2194
- fontSize: [{}, host$a],
2197
+ fontSize: [{}, host$b],
2195
2198
  fontFamily: [label$8, inputField$5, helperText$6, errorMessage$8],
2196
2199
 
2197
- hostWidth: { ...host$a, property: 'width' },
2198
- hostMinWidth: { ...host$a, property: 'min-width' },
2200
+ hostWidth: { ...host$b, property: 'width' },
2201
+ hostMinWidth: { ...host$b, property: 'min-width' },
2199
2202
 
2200
2203
  inputBackgroundColor: { ...inputField$5, property: 'background-color' },
2201
2204
 
@@ -2231,7 +2234,7 @@ var textFieldMappings = {
2231
2234
  inputPlaceholderColor: { ...placeholder$2, property: 'color' },
2232
2235
  };
2233
2236
 
2234
- const componentName$o = getComponentName('email-field');
2237
+ const componentName$s = getComponentName('email-field');
2235
2238
 
2236
2239
  const customMixin$7 = (superclass) =>
2237
2240
  class EmailFieldMixinClass extends superclass {
@@ -2265,15 +2268,15 @@ const EmailFieldClass = compose(
2265
2268
  ${resetInputOverrides('vaadin-email-field', EmailFieldClass.cssVarList)}
2266
2269
  `,
2267
2270
  excludeAttrsSync: ['tabindex'],
2268
- componentName: componentName$o,
2271
+ componentName: componentName$s,
2269
2272
  })
2270
2273
  );
2271
2274
 
2272
- customElements.define(componentName$o, EmailFieldClass);
2275
+ customElements.define(componentName$s, EmailFieldClass);
2273
2276
 
2274
- const componentName$n = getComponentName('link');
2277
+ const componentName$r = getComponentName('link');
2275
2278
 
2276
- class RawLink extends createBaseClass({ componentName: componentName$n, baseSelector: ':host a' }) {
2279
+ class RawLink extends createBaseClass({ componentName: componentName$r, baseSelector: ':host a' }) {
2277
2280
  constructor() {
2278
2281
  super();
2279
2282
 
@@ -2319,12 +2322,12 @@ const selectors = {
2319
2322
  text: { selector: () => TextClass.componentName },
2320
2323
  };
2321
2324
 
2322
- const { anchor, text: text$2, host: host$9, wrapper: wrapper$1 } = selectors;
2325
+ const { anchor, text: text$2, host: host$a, wrapper: wrapper$1 } = selectors;
2323
2326
 
2324
2327
  const LinkClass = compose(
2325
2328
  createStyleMixin({
2326
2329
  mappings: {
2327
- hostWidth: { ...host$9, property: 'width' },
2330
+ hostWidth: { ...host$a, property: 'width' },
2328
2331
  textAlign: wrapper$1,
2329
2332
  textColor: [
2330
2333
  { ...anchor, property: 'color' },
@@ -2337,7 +2340,7 @@ const LinkClass = compose(
2337
2340
  componentNameValidationMixin
2338
2341
  )(RawLink);
2339
2342
 
2340
- customElements.define(componentName$n, LinkClass);
2343
+ customElements.define(componentName$r, LinkClass);
2341
2344
 
2342
2345
  const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) => {
2343
2346
  let style;
@@ -2389,27 +2392,27 @@ const createCssVarImageClass = ({ componentName, varName, fallbackVarName }) =>
2389
2392
  return CssVarImageClass;
2390
2393
  };
2391
2394
 
2392
- const componentName$m = getComponentName('logo');
2395
+ const componentName$q = getComponentName('logo');
2393
2396
 
2394
2397
  const LogoClass = createCssVarImageClass({
2395
- componentName: componentName$m,
2398
+ componentName: componentName$q,
2396
2399
  varName: 'url',
2397
2400
  fallbackVarName: 'fallbackUrl',
2398
2401
  });
2399
2402
 
2400
- customElements.define(componentName$m, LogoClass);
2403
+ customElements.define(componentName$q, LogoClass);
2401
2404
 
2402
- const componentName$l = getComponentName('totp-image');
2405
+ const componentName$p = getComponentName('totp-image');
2403
2406
 
2404
2407
  const TotpImageClass = createCssVarImageClass({
2405
- componentName: componentName$l,
2408
+ componentName: componentName$p,
2406
2409
  varName: 'url',
2407
2410
  fallbackVarName: 'fallbackUrl',
2408
2411
  });
2409
2412
 
2410
- customElements.define(componentName$l, TotpImageClass);
2413
+ customElements.define(componentName$p, TotpImageClass);
2411
2414
 
2412
- const componentName$k = getComponentName('number-field');
2415
+ const componentName$o = getComponentName('number-field');
2413
2416
 
2414
2417
  const NumberFieldClass = compose(
2415
2418
  createStyleMixin({
@@ -2434,11 +2437,11 @@ const NumberFieldClass = compose(
2434
2437
  ${resetInputOverrides('vaadin-number-field', NumberFieldClass.cssVarList)}
2435
2438
  `,
2436
2439
  excludeAttrsSync: ['tabindex'],
2437
- componentName: componentName$k,
2440
+ componentName: componentName$o,
2438
2441
  })
2439
2442
  );
2440
2443
 
2441
- customElements.define(componentName$k, NumberFieldClass);
2444
+ customElements.define(componentName$o, NumberFieldClass);
2442
2445
 
2443
2446
  const focusElement = (ele) => {
2444
2447
  ele?.focus();
@@ -2456,13 +2459,13 @@ const getSanitizedCharacters = (str) => {
2456
2459
 
2457
2460
  /* eslint-disable no-param-reassign */
2458
2461
 
2459
- const componentName$j = getComponentName('passcode-internal');
2462
+ const componentName$n = getComponentName('passcode-internal');
2460
2463
 
2461
2464
  const observedAttributes$5 = ['digits'];
2462
2465
 
2463
2466
  const forwardAttributes = ['disabled', 'bordered', 'size', 'invalid', 'readonly'];
2464
2467
 
2465
- const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$j, baseSelector: 'div' });
2468
+ const BaseInputClass$4 = createBaseInputClass({ componentName: componentName$n, baseSelector: 'div' });
2466
2469
 
2467
2470
  class PasscodeInternal extends BaseInputClass$4 {
2468
2471
  static get observedAttributes() {
@@ -2659,7 +2662,7 @@ class PasscodeInternal extends BaseInputClass$4 {
2659
2662
  }
2660
2663
  }
2661
2664
 
2662
- const componentName$i = getComponentName('text-field');
2665
+ const componentName$m = getComponentName('text-field');
2663
2666
 
2664
2667
  const observedAttrs = ['type'];
2665
2668
 
@@ -2708,11 +2711,11 @@ const TextFieldClass = compose(
2708
2711
  ${resetInputOverrides('vaadin-text-field', TextFieldClass.cssVarList)}
2709
2712
  `,
2710
2713
  excludeAttrsSync: ['tabindex'],
2711
- componentName: componentName$i,
2714
+ componentName: componentName$m,
2712
2715
  })
2713
2716
  );
2714
2717
 
2715
- const componentName$h = getComponentName('passcode');
2718
+ const componentName$l = getComponentName('passcode');
2716
2719
 
2717
2720
  const observedAttributes$4 = ['digits'];
2718
2721
 
@@ -2731,17 +2734,17 @@ const customMixin$5 = (superclass) =>
2731
2734
  const template = document.createElement('template');
2732
2735
 
2733
2736
  template.innerHTML = `
2734
- <${componentName$j}
2737
+ <${componentName$n}
2735
2738
  bordered="true"
2736
2739
  name="code"
2737
2740
  tabindex="-1"
2738
2741
  slot="input"
2739
- ><slot></slot></${componentName$j}>
2742
+ ><slot></slot></${componentName$n}>
2740
2743
  `;
2741
2744
 
2742
2745
  this.baseElement.appendChild(template.content.cloneNode(true));
2743
2746
 
2744
- this.inputElement = this.shadowRoot.querySelector(componentName$j);
2747
+ this.inputElement = this.shadowRoot.querySelector(componentName$n);
2745
2748
 
2746
2749
  forwardAttrs(this, this.inputElement, { includeAttrs: ['digits', 'size'] });
2747
2750
  }
@@ -2756,7 +2759,7 @@ const customMixin$5 = (superclass) =>
2756
2759
  };
2757
2760
 
2758
2761
  const {
2759
- host: host$8,
2762
+ host: host$9,
2760
2763
  digitField,
2761
2764
  label: label$7,
2762
2765
  requiredIndicator: requiredIndicator$7,
@@ -2778,9 +2781,9 @@ const textVars$2 = TextFieldClass.cssVarList;
2778
2781
  const PasscodeClass = compose(
2779
2782
  createStyleMixin({
2780
2783
  mappings: {
2781
- fontSize: [{ ...digitField, property: textVars$2.fontSize }, host$8],
2784
+ fontSize: [{ ...digitField, property: textVars$2.fontSize }, host$9],
2782
2785
  hostWidth: { property: 'width' },
2783
- fontFamily: [host$8, { ...label$7 }],
2786
+ fontFamily: [host$9, { ...label$7 }],
2784
2787
  labelTextColor: [
2785
2788
  { ...label$7, property: 'color' },
2786
2789
  { ...requiredIndicator$7, property: 'color' },
@@ -2879,15 +2882,15 @@ const PasscodeClass = compose(
2879
2882
  ${resetInputCursor('vaadin-text-field')}
2880
2883
  `,
2881
2884
  excludeAttrsSync: ['tabindex'],
2882
- componentName: componentName$h,
2885
+ componentName: componentName$l,
2883
2886
  })
2884
2887
  );
2885
2888
 
2886
- customElements.define(componentName$i, TextFieldClass);
2889
+ customElements.define(componentName$m, TextFieldClass);
2887
2890
 
2888
- customElements.define(componentName$j, PasscodeInternal);
2891
+ customElements.define(componentName$n, PasscodeInternal);
2889
2892
 
2890
- customElements.define(componentName$h, PasscodeClass);
2893
+ customElements.define(componentName$l, PasscodeClass);
2891
2894
 
2892
2895
  const passwordDraggableMixin = (superclass) =>
2893
2896
  class PasswordDraggableMixinClass extends superclass {
@@ -2923,10 +2926,10 @@ const passwordDraggableMixin = (superclass) =>
2923
2926
  }
2924
2927
  };
2925
2928
 
2926
- const componentName$g = getComponentName('password');
2929
+ const componentName$k = getComponentName('password');
2927
2930
 
2928
2931
  const {
2929
- host: host$7,
2932
+ host: host$8,
2930
2933
  inputField: inputField$4,
2931
2934
  inputElement: inputElement$1,
2932
2935
  inputElementPlaceholder,
@@ -2952,9 +2955,9 @@ const {
2952
2955
  const PasswordClass = compose(
2953
2956
  createStyleMixin({
2954
2957
  mappings: {
2955
- hostWidth: { ...host$7, property: 'width' },
2956
- hostMinWidth: { ...host$7, property: 'min-width' },
2957
- fontSize: [{}, host$7],
2958
+ hostWidth: { ...host$8, property: 'width' },
2959
+ hostMinWidth: { ...host$8, property: 'min-width' },
2960
+ fontSize: [{}, host$8],
2958
2961
  fontFamily: [label$6, inputField$4, errorMessage$6, helperText$5],
2959
2962
  inputHeight: { ...inputField$4, property: 'height' },
2960
2963
  inputHorizontalPadding: [
@@ -3052,16 +3055,16 @@ const PasswordClass = compose(
3052
3055
  }
3053
3056
  `,
3054
3057
  excludeAttrsSync: ['tabindex'],
3055
- componentName: componentName$g,
3058
+ componentName: componentName$k,
3056
3059
  })
3057
3060
  );
3058
3061
 
3059
- customElements.define(componentName$g, PasswordClass);
3062
+ customElements.define(componentName$k, PasswordClass);
3060
3063
 
3061
- const componentName$f = getComponentName('text-area');
3064
+ const componentName$j = getComponentName('text-area');
3062
3065
 
3063
3066
  const {
3064
- host: host$6,
3067
+ host: host$7,
3065
3068
  label: label$5,
3066
3069
  placeholder: placeholder$1,
3067
3070
  inputField: inputField$3,
@@ -3083,9 +3086,9 @@ const {
3083
3086
  const TextAreaClass = compose(
3084
3087
  createStyleMixin({
3085
3088
  mappings: {
3086
- hostWidth: { ...host$6, property: 'width' },
3087
- hostMinWidth: { ...host$6, property: 'min-width' },
3088
- fontSize: [host$6, textArea$2],
3089
+ hostWidth: { ...host$7, property: 'width' },
3090
+ hostMinWidth: { ...host$7, property: 'min-width' },
3091
+ fontSize: [host$7, textArea$2],
3089
3092
  fontFamily: [label$5, inputField$3, helperText$4, errorMessage$5],
3090
3093
  labelTextColor: [
3091
3094
  { ...label$5, property: 'color' },
@@ -3131,17 +3134,17 @@ const TextAreaClass = compose(
3131
3134
  ${resetInputCursor('vaadin-text-area')}
3132
3135
  `,
3133
3136
  excludeAttrsSync: ['tabindex'],
3134
- componentName: componentName$f,
3137
+ componentName: componentName$j,
3135
3138
  })
3136
3139
  );
3137
3140
 
3138
- customElements.define(componentName$f, TextAreaClass);
3141
+ customElements.define(componentName$j, TextAreaClass);
3139
3142
 
3140
3143
  const observedAttributes$3 = ['src', 'alt'];
3141
3144
 
3142
- const componentName$e = getComponentName('image');
3145
+ const componentName$i = getComponentName('image');
3143
3146
 
3144
- const BaseClass$1 = createBaseClass({ componentName: componentName$e, baseSelector: ':host > img' });
3147
+ const BaseClass$1 = createBaseClass({ componentName: componentName$i, baseSelector: ':host > img' });
3145
3148
  class RawImage extends BaseClass$1 {
3146
3149
  static get observedAttributes() {
3147
3150
  return observedAttributes$3.concat(BaseClass$1.observedAttributes || []);
@@ -3181,9 +3184,9 @@ const ImageClass = compose(
3181
3184
  draggableMixin
3182
3185
  )(RawImage);
3183
3186
 
3184
- customElements.define(componentName$e, ImageClass);
3187
+ customElements.define(componentName$i, ImageClass);
3185
3188
 
3186
- const componentName$d = getComponentName('combo-box');
3189
+ const componentName$h = getComponentName('combo-box');
3187
3190
 
3188
3191
  const ComboBoxMixin = (superclass) =>
3189
3192
  class ComboBoxMixinClass extends superclass {
@@ -3405,7 +3408,7 @@ const ComboBoxMixin = (superclass) =>
3405
3408
  };
3406
3409
 
3407
3410
  const {
3408
- host: host$5,
3411
+ host: host$6,
3409
3412
  inputField: inputField$2,
3410
3413
  inputElement,
3411
3414
  placeholder,
@@ -3429,9 +3432,9 @@ const {
3429
3432
  const ComboBoxClass = compose(
3430
3433
  createStyleMixin({
3431
3434
  mappings: {
3432
- hostWidth: { ...host$5, property: 'width' },
3435
+ hostWidth: { ...host$6, property: 'width' },
3433
3436
  // we apply font-size also on the host so we can set its width with em
3434
- fontSize: [{}, host$5],
3437
+ fontSize: [{}, host$6],
3435
3438
  fontFamily: [label$4, placeholder, inputField$2, helperText$3, errorMessage$4],
3436
3439
  labelTextColor: [
3437
3440
  { ...label$4, property: 'color' },
@@ -3534,12 +3537,12 @@ const ComboBoxClass = compose(
3534
3537
  // and reset items to an empty array, and opening the list box with no items
3535
3538
  // to display.
3536
3539
  excludeAttrsSync: ['tabindex', 'size', 'data'],
3537
- componentName: componentName$d,
3540
+ componentName: componentName$h,
3538
3541
  includeForwardProps: ['items', 'renderer', 'selectedItem'],
3539
3542
  })
3540
3543
  );
3541
3544
 
3542
- customElements.define(componentName$d, ComboBoxClass);
3545
+ customElements.define(componentName$h, ComboBoxClass);
3543
3546
 
3544
3547
  var CountryCodes = [
3545
3548
  {
@@ -4779,7 +4782,7 @@ const comboBoxItem = ({ code, dialCode, name: country }) => `
4779
4782
  </div>
4780
4783
  `;
4781
4784
 
4782
- const componentName$c = getComponentName('phone-field-internal');
4785
+ const componentName$g = getComponentName('phone-field-internal');
4783
4786
 
4784
4787
  const commonAttrs$1 = ['disabled', 'size', 'bordered', 'invalid', 'readonly'];
4785
4788
  const countryAttrs = ['country-input-placeholder', 'default-code', 'restrict-countries'];
@@ -4791,7 +4794,7 @@ const mapAttrs$1 = {
4791
4794
 
4792
4795
  const inputRelatedAttrs$1 = [].concat(commonAttrs$1, countryAttrs, phoneAttrs);
4793
4796
 
4794
- const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$c, baseSelector: 'div' });
4797
+ const BaseInputClass$3 = createBaseInputClass({ componentName: componentName$g, baseSelector: 'div' });
4795
4798
 
4796
4799
  let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$3 {
4797
4800
  static get observedAttributes() {
@@ -4963,12 +4966,12 @@ let PhoneFieldInternal$1 = class PhoneFieldInternal extends BaseInputClass$3 {
4963
4966
  }
4964
4967
  };
4965
4968
 
4966
- customElements.define(componentName$c, PhoneFieldInternal$1);
4969
+ customElements.define(componentName$g, PhoneFieldInternal$1);
4967
4970
 
4968
4971
  const textVars$1 = TextFieldClass.cssVarList;
4969
4972
  const comboVars = ComboBoxClass.cssVarList;
4970
4973
 
4971
- const componentName$b = getComponentName('phone-field');
4974
+ const componentName$f = getComponentName('phone-field');
4972
4975
 
4973
4976
  const customMixin$4 = (superclass) =>
4974
4977
  class PhoneFieldMixinClass extends superclass {
@@ -4982,15 +4985,15 @@ const customMixin$4 = (superclass) =>
4982
4985
  const template = document.createElement('template');
4983
4986
 
4984
4987
  template.innerHTML = `
4985
- <${componentName$c}
4988
+ <${componentName$g}
4986
4989
  tabindex="-1"
4987
4990
  slot="input"
4988
- ></${componentName$c}>
4991
+ ></${componentName$g}>
4989
4992
  `;
4990
4993
 
4991
4994
  this.baseElement.appendChild(template.content.cloneNode(true));
4992
4995
 
4993
- this.inputElement = this.shadowRoot.querySelector(componentName$c);
4996
+ this.inputElement = this.shadowRoot.querySelector(componentName$g);
4994
4997
 
4995
4998
  forwardAttrs(this.shadowRoot.host, this.inputElement, {
4996
4999
  includeAttrs: [
@@ -5010,7 +5013,7 @@ const customMixin$4 = (superclass) =>
5010
5013
  };
5011
5014
 
5012
5015
  const {
5013
- host: host$4,
5016
+ host: host$5,
5014
5017
  label: label$3,
5015
5018
  requiredIndicator: requiredIndicator$3,
5016
5019
  inputField: inputField$1,
@@ -5035,7 +5038,7 @@ const PhoneFieldClass = compose(
5035
5038
  createStyleMixin({
5036
5039
  mappings: {
5037
5040
  fontSize: [
5038
- host$4,
5041
+ host$5,
5039
5042
  inputField$1,
5040
5043
  {
5041
5044
  selector: TextFieldClass.componentName,
@@ -5056,7 +5059,7 @@ const PhoneFieldClass = compose(
5056
5059
  },
5057
5060
  ],
5058
5061
  hostWidth: [
5059
- { ...host$4, property: 'width' },
5062
+ { ...host$5, property: 'width' },
5060
5063
  { ...phoneInput$1, property: 'width' },
5061
5064
  { ...countryCodeInput, property: '--vaadin-combo-box-overlay-width' },
5062
5065
  ],
@@ -5185,17 +5188,17 @@ const PhoneFieldClass = compose(
5185
5188
  }
5186
5189
  `,
5187
5190
  excludeAttrsSync: ['tabindex'],
5188
- componentName: componentName$b,
5191
+ componentName: componentName$f,
5189
5192
  })
5190
5193
  );
5191
5194
 
5192
- customElements.define(componentName$b, PhoneFieldClass);
5195
+ customElements.define(componentName$f, PhoneFieldClass);
5193
5196
 
5194
5197
  const getCountryByCodeId = (countryCode) => {
5195
5198
  return CountryCodes.find((c) => c.code === countryCode)?.dialCode;
5196
5199
  };
5197
5200
 
5198
- const componentName$a = getComponentName('phone-field-internal-input-box');
5201
+ const componentName$e = getComponentName('phone-field-internal-input-box');
5199
5202
 
5200
5203
  const observedAttributes$2 = [
5201
5204
  'disabled',
@@ -5209,7 +5212,7 @@ const mapAttrs = {
5209
5212
  'phone-input-placeholder': 'placeholder',
5210
5213
  };
5211
5214
 
5212
- const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$a, baseSelector: 'div' });
5215
+ const BaseInputClass$2 = createBaseInputClass({ componentName: componentName$e, baseSelector: 'div' });
5213
5216
 
5214
5217
  class PhoneFieldInternal extends BaseInputClass$2 {
5215
5218
  static get observedAttributes() {
@@ -5348,11 +5351,11 @@ class PhoneFieldInternal extends BaseInputClass$2 {
5348
5351
  }
5349
5352
  }
5350
5353
 
5351
- customElements.define(componentName$a, PhoneFieldInternal);
5354
+ customElements.define(componentName$e, PhoneFieldInternal);
5352
5355
 
5353
5356
  const textVars = TextFieldClass.cssVarList;
5354
5357
 
5355
- const componentName$9 = getComponentName('phone-input-box-field');
5358
+ const componentName$d = getComponentName('phone-input-box-field');
5356
5359
 
5357
5360
  const customMixin$3 = (superclass) =>
5358
5361
  class PhoneInputBoxFieldMixinClass extends superclass {
@@ -5366,15 +5369,15 @@ const customMixin$3 = (superclass) =>
5366
5369
  const template = document.createElement('template');
5367
5370
 
5368
5371
  template.innerHTML = `
5369
- <${componentName$a}
5372
+ <${componentName$e}
5370
5373
  tabindex="-1"
5371
5374
  slot="input"
5372
- ></${componentName$a}>
5375
+ ></${componentName$e}>
5373
5376
  `;
5374
5377
 
5375
5378
  this.baseElement.appendChild(template.content.cloneNode(true));
5376
5379
 
5377
- this.inputElement = this.shadowRoot.querySelector(componentName$a);
5380
+ this.inputElement = this.shadowRoot.querySelector(componentName$e);
5378
5381
 
5379
5382
  forwardAttrs(this.shadowRoot.host, this.inputElement, {
5380
5383
  includeAttrs: [
@@ -5391,7 +5394,7 @@ const customMixin$3 = (superclass) =>
5391
5394
  }
5392
5395
  };
5393
5396
 
5394
- const { host: host$3, label: label$2, requiredIndicator: requiredIndicator$2, inputField, phoneInput, errorMessage: errorMessage$2, helperText: helperText$1 } = {
5397
+ const { host: host$4, label: label$2, requiredIndicator: requiredIndicator$2, inputField, phoneInput, errorMessage: errorMessage$2, helperText: helperText$1 } = {
5395
5398
  host: { selector: () => ':host' },
5396
5399
  label: { selector: '::part(label)' },
5397
5400
  requiredIndicator: { selector: '[required]::part(required-indicator)::after' },
@@ -5405,7 +5408,7 @@ const PhoneFieldInputBoxClass = compose(
5405
5408
  createStyleMixin({
5406
5409
  mappings: {
5407
5410
  fontSize: [
5408
- host$3,
5411
+ host$4,
5409
5412
  inputField,
5410
5413
  {
5411
5414
  selector: TextFieldClass.componentName,
@@ -5413,8 +5416,8 @@ const PhoneFieldInputBoxClass = compose(
5413
5416
  },
5414
5417
  ],
5415
5418
  fontFamily: [label$2, errorMessage$2, helperText$1],
5416
- hostWidth: { ...host$3, property: 'width' },
5417
- hostMinWidth: { ...host$3, property: 'min-width' },
5419
+ hostWidth: { ...host$4, property: 'width' },
5420
+ hostMinWidth: { ...host$4, property: 'min-width' },
5418
5421
 
5419
5422
  inputBorderStyle: { ...inputField, property: 'border-style' },
5420
5423
  inputBorderWidth: { ...inputField, property: 'border-width' },
@@ -5506,15 +5509,15 @@ const PhoneFieldInputBoxClass = compose(
5506
5509
  }
5507
5510
  `,
5508
5511
  excludeAttrsSync: ['tabindex'],
5509
- componentName: componentName$9,
5512
+ componentName: componentName$d,
5510
5513
  })
5511
5514
  );
5512
5515
 
5513
- customElements.define(componentName$9, PhoneFieldInputBoxClass);
5516
+ customElements.define(componentName$d, PhoneFieldInputBoxClass);
5514
5517
 
5515
- const componentName$8 = getComponentName('new-password-internal');
5518
+ const componentName$c = getComponentName('new-password-internal');
5516
5519
 
5517
- const componentName$7 = getComponentName('new-password');
5520
+ const componentName$b = getComponentName('new-password');
5518
5521
 
5519
5522
  const customMixin$2 = (superclass) =>
5520
5523
  class NewPasswordMixinClass extends superclass {
@@ -5524,16 +5527,16 @@ const customMixin$2 = (superclass) =>
5524
5527
  const template = document.createElement('template');
5525
5528
 
5526
5529
  template.innerHTML = `
5527
- <${componentName$8}
5530
+ <${componentName$c}
5528
5531
  name="new-password"
5529
5532
  tabindex="-1"
5530
5533
  slot="input"
5531
- ></${componentName$8}>
5534
+ ></${componentName$c}>
5532
5535
  `;
5533
5536
 
5534
5537
  this.baseElement.appendChild(template.content.cloneNode(true));
5535
5538
 
5536
- this.inputElement = this.shadowRoot.querySelector(componentName$8);
5539
+ this.inputElement = this.shadowRoot.querySelector(componentName$c);
5537
5540
 
5538
5541
  forwardAttrs(this, this.inputElement, {
5539
5542
  includeAttrs: [
@@ -5554,7 +5557,7 @@ const customMixin$2 = (superclass) =>
5554
5557
  }
5555
5558
  };
5556
5559
 
5557
- const { host: host$2, label: label$1, internalInputsWrapper, errorMessage: errorMessage$1, helperText } = {
5560
+ const { host: host$3, label: label$1, internalInputsWrapper, errorMessage: errorMessage$1, helperText } = {
5558
5561
  host: { selector: () => ':host' },
5559
5562
  label: { selector: '::part(label)' },
5560
5563
  internalInputsWrapper: { selector: 'descope-new-password-internal .wrapper' },
@@ -5566,7 +5569,7 @@ const NewPasswordClass = compose(
5566
5569
  createStyleMixin({
5567
5570
  mappings: {
5568
5571
  fontSize: [
5569
- host$2,
5572
+ host$3,
5570
5573
  {},
5571
5574
  {
5572
5575
  selector: PasswordClass.componentName,
@@ -5575,9 +5578,9 @@ const NewPasswordClass = compose(
5575
5578
  ],
5576
5579
  fontFamily: [label$1, errorMessage$1, helperText],
5577
5580
  errorMessageTextColor: { ...errorMessage$1, property: 'color' },
5578
- hostWidth: { ...host$2, property: 'width' },
5579
- hostMinWidth: { ...host$2, property: 'min-width' },
5580
- inputsRequiredIndicator: { ...host$2, property: 'content' },
5581
+ hostWidth: { ...host$3, property: 'width' },
5582
+ hostMinWidth: { ...host$3, property: 'min-width' },
5583
+ inputsRequiredIndicator: { ...host$3, property: 'content' },
5581
5584
  spaceBetweenInputs: { ...internalInputsWrapper, property: 'gap' },
5582
5585
  },
5583
5586
  }),
@@ -5632,7 +5635,7 @@ const NewPasswordClass = compose(
5632
5635
  },
5633
5636
  `,
5634
5637
  excludeAttrsSync: ['tabindex'],
5635
- componentName: componentName$7,
5638
+ componentName: componentName$b,
5636
5639
  })
5637
5640
  );
5638
5641
 
@@ -5657,7 +5660,7 @@ const commonAttrs = [
5657
5660
 
5658
5661
  const inputRelatedAttrs = [].concat(commonAttrs, passwordInputAttrs, confirmInputAttrs);
5659
5662
 
5660
- const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$8, baseSelector: 'div' });
5663
+ const BaseInputClass$1 = createBaseInputClass({ componentName: componentName$c, baseSelector: 'div' });
5661
5664
 
5662
5665
  class NewPasswordInternal extends BaseInputClass$1 {
5663
5666
  static get observedAttributes() {
@@ -5817,16 +5820,16 @@ class NewPasswordInternal extends BaseInputClass$1 {
5817
5820
  }
5818
5821
  }
5819
5822
 
5820
- customElements.define(componentName$8, NewPasswordInternal);
5823
+ customElements.define(componentName$c, NewPasswordInternal);
5821
5824
 
5822
- customElements.define(componentName$7, NewPasswordClass);
5825
+ customElements.define(componentName$b, NewPasswordClass);
5823
5826
 
5824
- const componentName$6 = getComponentName('recaptcha');
5827
+ const componentName$a = getComponentName('recaptcha');
5825
5828
 
5826
5829
  const observedAttributes$1 = ['enabled', 'site-key', 'action', 'enterprise'];
5827
5830
 
5828
5831
  const BaseClass = createBaseClass({
5829
- componentName: componentName$6,
5832
+ componentName: componentName$a,
5830
5833
  baseSelector: ':host > div',
5831
5834
  });
5832
5835
  class RawRecaptcha extends BaseClass {
@@ -5978,7 +5981,7 @@ class RawRecaptcha extends BaseClass {
5978
5981
 
5979
5982
  const RecaptchaClass = compose(draggableMixin)(RawRecaptcha);
5980
5983
 
5981
- customElements.define(componentName$6, RecaptchaClass);
5984
+ customElements.define(componentName$a, RecaptchaClass);
5982
5985
 
5983
5986
  const getFileBase64 = (fileObj) => {
5984
5987
  return new Promise((resolve) => {
@@ -5992,7 +5995,7 @@ const getFilename = (fileObj) => {
5992
5995
  return fileObj.name.replace(/^.*\\/, '');
5993
5996
  };
5994
5997
 
5995
- const componentName$5 = getComponentName('upload-file');
5998
+ const componentName$9 = getComponentName('upload-file');
5996
5999
 
5997
6000
  const observedAttributes = [
5998
6001
  'title',
@@ -6007,7 +6010,7 @@ const observedAttributes = [
6007
6010
  'icon',
6008
6011
  ];
6009
6012
 
6010
- const BaseInputClass = createBaseInputClass({ componentName: componentName$5, baseSelector: ':host > div' });
6013
+ const BaseInputClass = createBaseInputClass({ componentName: componentName$9, baseSelector: ':host > div' });
6011
6014
 
6012
6015
  class RawUploadFile extends BaseInputClass {
6013
6016
  static get observedAttributes() {
@@ -6178,7 +6181,7 @@ class RawUploadFile extends BaseInputClass {
6178
6181
  }
6179
6182
  }
6180
6183
 
6181
- const { host: host$1, wrapper, icon, title, description, requiredIndicator: requiredIndicator$1 } = {
6184
+ const { host: host$2, wrapper, icon, title, description, requiredIndicator: requiredIndicator$1 } = {
6182
6185
  host: { selector: () => ':host' },
6183
6186
  wrapper: { selector: () => ':host > div' },
6184
6187
  icon: { selector: () => '::slotted(*)' },
@@ -6197,8 +6200,8 @@ const UploadFileClass = compose(
6197
6200
  borderWidth: {},
6198
6201
  borderStyle: {},
6199
6202
  borderRadius: {},
6200
- hostHeight: { ...host$1, property: 'height' },
6201
- hostWidth: { ...host$1, property: 'width' },
6203
+ hostHeight: { ...host$2, property: 'height' },
6204
+ hostWidth: { ...host$2, property: 'width' },
6202
6205
  hostPadding: { property: 'padding' },
6203
6206
  gap: { ...wrapper },
6204
6207
  lineHeight: { ...wrapper, property: 'line-height' },
@@ -6217,12 +6220,12 @@ const UploadFileClass = compose(
6217
6220
  componentNameValidationMixin
6218
6221
  )(RawUploadFile);
6219
6222
 
6220
- customElements.define(componentName$5, UploadFileClass);
6223
+ customElements.define(componentName$9, UploadFileClass);
6221
6224
 
6222
- const componentName$4 = getComponentName('button-selection-group-internal');
6225
+ const componentName$8 = getComponentName('button-selection-group-internal');
6223
6226
 
6224
6227
  class ButtonSelectionGroupInternalClass extends createBaseInputClass({
6225
- componentName: componentName$4,
6228
+ componentName: componentName$8,
6226
6229
  baseSelector: 'slot',
6227
6230
  }) {
6228
6231
  constructor() {
@@ -6359,7 +6362,7 @@ class ButtonSelectionGroupInternalClass extends createBaseInputClass({
6359
6362
  }
6360
6363
  }
6361
6364
 
6362
- const componentName$3 = getComponentName('button-selection-group');
6365
+ const componentName$7 = getComponentName('button-selection-group');
6363
6366
 
6364
6367
  const customMixin$1 = (superclass) =>
6365
6368
  class ButtonSelectionGroupMixinClass extends superclass {
@@ -6434,18 +6437,18 @@ const customMixin$1 = (superclass) =>
6434
6437
  const template = document.createElement('template');
6435
6438
 
6436
6439
  template.innerHTML = `
6437
- <${componentName$4}
6440
+ <${componentName$8}
6438
6441
  name="button-selection-group"
6439
6442
  slot="input"
6440
6443
  tabindex="-1"
6441
6444
  >
6442
6445
  <slot></slot>
6443
- </${componentName$4}>
6446
+ </${componentName$8}>
6444
6447
  `;
6445
6448
 
6446
6449
  this.baseElement.appendChild(template.content.cloneNode(true));
6447
6450
 
6448
- this.inputElement = this.shadowRoot.querySelector(componentName$4);
6451
+ this.inputElement = this.shadowRoot.querySelector(componentName$8);
6449
6452
 
6450
6453
  forwardAttrs(this, this.inputElement, {
6451
6454
  includeAttrs: ['size', 'default-value', 'allow-deselect'],
@@ -6464,7 +6467,7 @@ const customMixin$1 = (superclass) =>
6464
6467
  }
6465
6468
  };
6466
6469
 
6467
- const { host, label, requiredIndicator, internalWrapper, errorMessage } = {
6470
+ const { host: host$1, label, requiredIndicator, internalWrapper, errorMessage } = {
6468
6471
  host: { selector: () => ':host' },
6469
6472
  label: { selector: '::part(label)' },
6470
6473
  requiredIndicator: { selector: '[required]::part(required-indicator)::after' },
@@ -6475,8 +6478,8 @@ const { host, label, requiredIndicator, internalWrapper, errorMessage } = {
6475
6478
  const ButtonSelectionGroupClass = compose(
6476
6479
  createStyleMixin({
6477
6480
  mappings: {
6478
- hostWidth: { ...host, property: 'width' },
6479
- fontFamily: host,
6481
+ hostWidth: { ...host$1, property: 'width' },
6482
+ fontFamily: host$1,
6480
6483
  labelTextColor: [
6481
6484
  { ...label, property: 'color' },
6482
6485
  { ...requiredIndicator, property: 'color' },
@@ -6548,18 +6551,18 @@ const ButtonSelectionGroupClass = compose(
6548
6551
  ${resetInputCursor('vaadin-text-field')}
6549
6552
  `,
6550
6553
  excludeAttrsSync: ['tabindex'],
6551
- componentName: componentName$3,
6554
+ componentName: componentName$7,
6552
6555
  })
6553
6556
  );
6554
6557
 
6555
- customElements.define(componentName$4, ButtonSelectionGroupInternalClass);
6558
+ customElements.define(componentName$8, ButtonSelectionGroupInternalClass);
6556
6559
 
6557
- customElements.define(componentName$3, ButtonSelectionGroupClass);
6560
+ customElements.define(componentName$7, ButtonSelectionGroupClass);
6558
6561
 
6559
- const componentName$2 = getComponentName('button-selection-group-item');
6562
+ const componentName$6 = getComponentName('button-selection-group-item');
6560
6563
 
6561
6564
  class RawSelectItem extends createBaseClass({
6562
- componentName: componentName$2,
6565
+ componentName: componentName$6,
6563
6566
  baseSelector: ':host > descope-button',
6564
6567
  }) {
6565
6568
  get size() {
@@ -6653,7 +6656,337 @@ const ButtonSelectionGroupItemClass = compose(
6653
6656
  componentNameValidationMixin
6654
6657
  )(RawSelectItem);
6655
6658
 
6656
- customElements.define(componentName$2, ButtonSelectionGroupItemClass);
6659
+ customElements.define(componentName$6, ButtonSelectionGroupItemClass);
6660
+
6661
+ const componentName$5 = getComponentName('grid-text-column');
6662
+
6663
+ class GridTextColumnClass extends GridColumn {}
6664
+
6665
+ customElements.define(componentName$5, GridTextColumnClass);
6666
+
6667
+ /* eslint-disable no-param-reassign */
6668
+
6669
+ const componentName$4 = getComponentName('grid-status-column');
6670
+ class GridStatusColumnClass extends GridColumn {
6671
+ _defaultRenderer(cell, _col, model) {
6672
+ const grid = cell.parentNode;
6673
+ const size = grid.getAttribute('size');
6674
+
6675
+ const contentAttr = this.getAttribute('status');
6676
+ if (!contentAttr) {
6677
+ cell.innerHTML = model.item[this.path];
6678
+ return;
6679
+ }
6680
+
6681
+ const [active, inactive] = contentAttr.split(',');
6682
+
6683
+ const label = model.item[this.path] ? active : inactive;
6684
+ const mode = model.item[this.path] ? 'success' : 'error';
6685
+
6686
+ cell.innerHTML = `<descope-button
6687
+ st-host-height="2.5em"
6688
+ mode="${mode}"
6689
+ variant="outline"
6690
+ size="${size}">
6691
+ ${label}
6692
+ </descope-button>`;
6693
+ }
6694
+ }
6695
+
6696
+ customElements.define(componentName$4, GridStatusColumnClass);
6697
+
6698
+ /* eslint-disable class-methods-use-this */
6699
+
6700
+ const componentName$3 = getComponentName('grid-selection-column');
6701
+
6702
+ const createCheckboxEle = () => {
6703
+ const checkbox = document.createElement('descope-checkbox');
6704
+
6705
+ checkbox.setAttribute('bordered', 'true');
6706
+ checkbox.setAttribute('size', 'xs');
6707
+
6708
+ return checkbox;
6709
+ };
6710
+
6711
+ const getIsAllItemsSelected = (grid) => grid.selectedItems.length === grid.items?.length;
6712
+
6713
+ class GridSelectionColumnClass extends GridSelectionColumn {
6714
+ onInput(grid) {
6715
+ if (grid.selectedItems.length === grid.items?.length) {
6716
+ grid.selectedItems = [];
6717
+ } else {
6718
+ grid.selectedItems = grid.items;
6719
+ }
6720
+ }
6721
+
6722
+ _headerRenderer(cell) {
6723
+ const grid = cell.parentNode;
6724
+
6725
+ let checkbox = cell.querySelector('descope-checkbox');
6726
+ if (!checkbox) {
6727
+ checkbox = createCheckboxEle();
6728
+
6729
+ checkbox.addEventListener('input', () => {
6730
+ const isAllItemsSelected = getIsAllItemsSelected(grid);
6731
+ if (isAllItemsSelected) {
6732
+ grid.selectedItems = [];
6733
+ } else {
6734
+ grid.selectedItems = grid.items;
6735
+ }
6736
+ });
6737
+
6738
+ cell.appendChild(checkbox);
6739
+ }
6740
+
6741
+ checkbox.setAttribute('checked', getIsAllItemsSelected(grid));
6742
+ }
6743
+
6744
+ _defaultRenderer(cell, col, model) {
6745
+ const grid = cell.parentNode;
6746
+
6747
+ let checkbox = cell.querySelector('descope-checkbox');
6748
+ if (!checkbox) {
6749
+ checkbox = createCheckboxEle();
6750
+ cell.appendChild(checkbox);
6751
+ }
6752
+
6753
+ checkbox.onchange = () => {
6754
+ checkbox.checked ? grid.selectItem(model.item) : grid.deselectItem(model.item);
6755
+ };
6756
+
6757
+ checkbox.setAttribute('checked', model.selected);
6758
+ }
6759
+ }
6760
+
6761
+ customElements.define(componentName$3, GridSelectionColumnClass);
6762
+
6763
+ const isValidDataType = (data) => {
6764
+ const isValid = Array.isArray(data);
6765
+ if (!isValid) {
6766
+ // eslint-disable-next-line no-console
6767
+ console.error('data must be an array, received:', data);
6768
+ }
6769
+
6770
+ return isValid;
6771
+ };
6772
+
6773
+ const componentName$2 = getComponentName('grid');
6774
+
6775
+ const GridMixin = (superclass) =>
6776
+ class GridMixinClass extends superclass {
6777
+ #columns;
6778
+
6779
+ init() {
6780
+ super.init?.();
6781
+ this.handleColumns();
6782
+ this.forwardSelectedItemsChange();
6783
+ }
6784
+
6785
+ forwardSelectedItemsChange() {
6786
+ this.baseElement.addEventListener('selected-items-changed', (e) => {
6787
+ this.dispatchEvent(
6788
+ new CustomEvent('selected-items-changed', {
6789
+ bubbles: true,
6790
+ composed: true,
6791
+ detail: e.detail,
6792
+ })
6793
+ );
6794
+ });
6795
+ }
6796
+
6797
+ attributeChangedCallback(attrName, oldValue, newValue) {
6798
+ super.attributeChangedCallback?.(attrName, oldValue, newValue);
6799
+
6800
+ if (attrName === 'columns') {
6801
+ this.setColumnsDataFromAttr();
6802
+ }
6803
+ }
6804
+
6805
+ handleColumns() {
6806
+ if (this.columnsAttr) {
6807
+ this.setColumnsDataFromAttr();
6808
+ } else if (this.children.length) {
6809
+ this.setColumnsFromChildren();
6810
+ }
6811
+ }
6812
+
6813
+ setColumnsFromChildren() {
6814
+ this.#columns = Array.from(this.children).map((child) => {
6815
+ return {
6816
+ path: child.getAttribute('path'),
6817
+ header: child.getAttribute('header'),
6818
+ type: child.localName.match('^descope-grid-(\\w+)-column$')?.[1] || 'text',
6819
+
6820
+ attrs: ['frozen', 'resizable', 'auto-width', 'status'].reduce((acc, attrName) => {
6821
+ const attrVal = child.getAttribute(attrName);
6822
+
6823
+ if (attrVal) {
6824
+ acc[attrName] = attrVal;
6825
+ }
6826
+
6827
+ return acc;
6828
+ }, {}),
6829
+ };
6830
+ });
6831
+ }
6832
+
6833
+ get columnsAttr() {
6834
+ return this.getAttribute('columns');
6835
+ }
6836
+
6837
+ setColumnsDataFromAttr() {
6838
+ try {
6839
+ const data = JSON.parse(this.columnsAttr);
6840
+ if (isValidDataType(data)) {
6841
+ this.columns = data;
6842
+ }
6843
+ } catch (e) {
6844
+ // eslint-disable-next-line no-console
6845
+ console.error('could not parse data string from attribute "columns" -', e.message);
6846
+ }
6847
+ }
6848
+
6849
+ // eslint-disable-next-line class-methods-use-this
6850
+ #renderColumn = ({ path, header, type, attrs }) => {
6851
+ const colAttrs = Object.entries(attrs)
6852
+ .map(([key, value]) => `${key}="${value}"`)
6853
+ .join(' ');
6854
+
6855
+ const tagName = `descope-grid-${type}-column`;
6856
+
6857
+ return `<${tagName} header="${header}" path="${path}" ${colAttrs}></${tagName}>`;
6858
+ };
6859
+
6860
+ get renderColumn() {
6861
+ return this.#renderColumn;
6862
+ }
6863
+
6864
+ set renderColumn(renderFn) {
6865
+ this.#renderColumn = renderFn;
6866
+ this.renderColumns();
6867
+ }
6868
+
6869
+ getColumnsTemplate() {
6870
+ return this.#columns?.reduce?.(
6871
+ (acc, item) => acc + (this.renderColumn?.(item || {}) || ''),
6872
+ ''
6873
+ );
6874
+ }
6875
+
6876
+ renderColumns() {
6877
+ const template = this.getColumnsTemplate();
6878
+ if (template) this.innerHTML = template;
6879
+ }
6880
+
6881
+ get grid() {
6882
+ return this.shadowRoot.querySelector('vaadin-grid');
6883
+ }
6884
+
6885
+ get data() {
6886
+ return this.grid.items;
6887
+ }
6888
+
6889
+ set data(data) {
6890
+ if (isValidDataType(data) && this.grid.items !== data) {
6891
+ this.grid.items = data;
6892
+
6893
+ if (this.grid.selectedItems) {
6894
+ const itemsIds = new Set(
6895
+ this.grid.items.map((item) => item[this.uniqueColumnId] ?? item)
6896
+ );
6897
+ this.grid.selectedItems = this.grid.selectedItems.filter((selectedItem) =>
6898
+ itemsIds.has(selectedItem[this.uniqueColumnId] ?? selectedItem)
6899
+ );
6900
+ }
6901
+ }
6902
+ }
6903
+
6904
+ get columns() {
6905
+ return this.#columns;
6906
+ }
6907
+
6908
+ set columns(data) {
6909
+ this.#columns = data;
6910
+ this.renderColumns();
6911
+ }
6912
+
6913
+ get paths() {
6914
+ return this.columns.map((col) => col.path);
6915
+ }
6916
+
6917
+ get uniqueColumnId() {
6918
+ return this.getAttribute('unique-column-id');
6919
+ }
6920
+ };
6921
+
6922
+ const {
6923
+ host,
6924
+ headerRow,
6925
+ contentRow,
6926
+ firstRow,
6927
+ sortIndicators,
6928
+ activeSortIndicator,
6929
+ selectedRow,
6930
+ rowSeparator,
6931
+ resizeHandle,
6932
+ } = {
6933
+ host: { selector: () => 'vaadin-grid' },
6934
+ headerRow: { selector: () => '::part(header-cell)' },
6935
+ contentRow: { selector: () => '::part(cell)' },
6936
+ firstRow: { selector: () => '::part(first-header-row-cell)' },
6937
+ selectedRow: { selector: () => '::part(selected-row-cell)' },
6938
+ sortIndicators: { selector: () => 'vaadin-grid-sorter::part(indicators)' },
6939
+ activeSortIndicator: { selector: () => 'vaadin-grid-sorter[direction]' },
6940
+ rowSeparator: { selector: () => 'vaadin-grid::part(body-cell)' },
6941
+ resizeHandle: { selector: () => '::part(resize-handle)' },
6942
+ };
6943
+
6944
+ const GridClass = compose(
6945
+ createStyleMixin({ componentNameOverride: getComponentName('input-wrapper') }),
6946
+ createStyleMixin({
6947
+ mappings: {
6948
+ hostWidth: { selector: () => ':host', property: 'width' },
6949
+ hostHeight: { selector: () => ':host', property: 'height' },
6950
+ hostMinHeight: { selector: () => ':host', property: 'min-height' },
6951
+ fontFamily: [{ ...headerRow }, { ...contentRow }],
6952
+ fontSize: [{ ...headerRow }, { ...contentRow }],
6953
+ fontWeight: { ...contentRow },
6954
+ valueTextColor: { ...contentRow, property: 'color' },
6955
+ sortIndicatorsColor: { ...sortIndicators, property: 'color' },
6956
+ activeSortIndicator: { ...activeSortIndicator, property: 'color' },
6957
+ inputBorderColor: { ...host, property: 'border-color' },
6958
+ inputBorderWidth: { ...host, property: 'border-width' },
6959
+ inputBorderStyle: { ...host, property: 'border-style' },
6960
+ inputBorderRadius: { ...host, property: 'border-radius' },
6961
+ selectedBackgroundColor: { ...selectedRow, property: 'background-color' },
6962
+ selectedTextColor: { ...selectedRow, property: 'color' },
6963
+ separatorColor: [
6964
+ { ...firstRow, property: 'border-bottom-color' },
6965
+ { ...rowSeparator, property: 'border-top-color' },
6966
+ ],
6967
+ resizeHandleColor: { ...resizeHandle, property: 'background-color' },
6968
+ },
6969
+ }),
6970
+ draggableMixin,
6971
+ componentNameValidationMixin,
6972
+ GridMixin
6973
+ )(
6974
+ createProxy({
6975
+ slots: [''],
6976
+ wrappedEleName: 'vaadin-grid',
6977
+ style: () => `
6978
+ vaadin-grid {
6979
+ overflow: hidden;
6980
+ height: 100%;
6981
+ min-height: 300px;
6982
+ }
6983
+ `,
6984
+ excludeAttrsSync: ['columns', 'tabindex'],
6985
+ componentName: componentName$2,
6986
+ })
6987
+ );
6988
+
6989
+ customElements.define(componentName$2, GridClass);
6657
6990
 
6658
6991
  const getVarName = (path) => getCssVarName(DESCOPE_PREFIX, ...path);
6659
6992
 
@@ -6981,32 +7314,32 @@ const globals = {
6981
7314
  shadow,
6982
7315
  fonts,
6983
7316
  };
6984
- const vars$s = getThemeVars(globals);
7317
+ const vars$t = getThemeVars(globals);
6985
7318
 
6986
- const globalRefs$d = getThemeRefs(globals);
7319
+ const globalRefs$e = getThemeRefs(globals);
6987
7320
  const compVars$4 = ButtonClass.cssVarList;
6988
7321
 
6989
7322
  const mode = {
6990
- primary: globalRefs$d.colors.primary,
6991
- secondary: globalRefs$d.colors.secondary,
6992
- success: globalRefs$d.colors.success,
6993
- error: globalRefs$d.colors.error,
6994
- surface: globalRefs$d.colors.surface,
7323
+ primary: globalRefs$e.colors.primary,
7324
+ secondary: globalRefs$e.colors.secondary,
7325
+ success: globalRefs$e.colors.success,
7326
+ error: globalRefs$e.colors.error,
7327
+ surface: globalRefs$e.colors.surface,
6995
7328
  };
6996
7329
 
6997
- const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$x);
7330
+ const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$B);
6998
7331
 
6999
7332
  const button = {
7000
7333
  ...helperTheme$3,
7001
7334
 
7002
- [compVars$4.fontFamily]: globalRefs$d.fonts.font1.family,
7335
+ [compVars$4.fontFamily]: globalRefs$e.fonts.font1.family,
7003
7336
 
7004
7337
  [compVars$4.cursor]: 'pointer',
7005
7338
  [compVars$4.hostHeight]: '3em',
7006
7339
  [compVars$4.hostWidth]: 'auto',
7007
7340
 
7008
- [compVars$4.borderRadius]: globalRefs$d.radius.sm,
7009
- [compVars$4.borderWidth]: globalRefs$d.border.xs,
7341
+ [compVars$4.borderRadius]: globalRefs$e.radius.sm,
7342
+ [compVars$4.borderWidth]: globalRefs$e.border.xs,
7010
7343
  [compVars$4.borderStyle]: 'solid',
7011
7344
  [compVars$4.borderColor]: 'transparent',
7012
7345
 
@@ -7042,10 +7375,10 @@ const button = {
7042
7375
  },
7043
7376
 
7044
7377
  _disabled: {
7045
- [helperVars$3.main]: globalRefs$d.colors.surface.main,
7046
- [helperVars$3.dark]: globalRefs$d.colors.surface.dark,
7047
- [helperVars$3.light]: globalRefs$d.colors.surface.light,
7048
- [helperVars$3.contrast]: globalRefs$d.colors.surface.contrast,
7378
+ [helperVars$3.main]: globalRefs$e.colors.surface.main,
7379
+ [helperVars$3.dark]: globalRefs$e.colors.surface.dark,
7380
+ [helperVars$3.light]: globalRefs$e.colors.surface.light,
7381
+ [helperVars$3.contrast]: globalRefs$e.colors.surface.contrast,
7049
7382
  },
7050
7383
 
7051
7384
  variant: {
@@ -7087,11 +7420,11 @@ const button = {
7087
7420
  },
7088
7421
 
7089
7422
  _focused: {
7090
- [compVars$4.outlineColor]: globalRefs$d.colors.surface.main,
7423
+ [compVars$4.outlineColor]: globalRefs$e.colors.surface.main,
7091
7424
  },
7092
7425
  };
7093
7426
 
7094
- const vars$r = {
7427
+ const vars$s = {
7095
7428
  ...compVars$4,
7096
7429
  ...helperVars$3,
7097
7430
  };
@@ -7099,25 +7432,25 @@ const vars$r = {
7099
7432
  var button$1 = /*#__PURE__*/Object.freeze({
7100
7433
  __proto__: null,
7101
7434
  default: button,
7102
- vars: vars$r
7435
+ vars: vars$s
7103
7436
  });
7104
7437
 
7105
7438
  const componentName$1 = getComponentName('input-wrapper');
7106
- const globalRefs$c = getThemeRefs(globals);
7439
+ const globalRefs$d = getThemeRefs(globals);
7107
7440
 
7108
- const [theme$1, refs, vars$q] = createHelperVars(
7441
+ const [theme$1, refs, vars$r] = createHelperVars(
7109
7442
  {
7110
- labelTextColor: globalRefs$c.colors.surface.contrast,
7111
- valueTextColor: globalRefs$c.colors.surface.contrast,
7112
- placeholderTextColor: globalRefs$c.colors.surface.main,
7443
+ labelTextColor: globalRefs$d.colors.surface.contrast,
7444
+ valueTextColor: globalRefs$d.colors.surface.contrast,
7445
+ placeholderTextColor: globalRefs$d.colors.surface.main,
7113
7446
  requiredIndicator: "'*'",
7114
- errorMessageTextColor: globalRefs$c.colors.error.main,
7447
+ errorMessageTextColor: globalRefs$d.colors.error.main,
7115
7448
 
7116
- borderWidth: globalRefs$c.border.xs,
7117
- borderRadius: globalRefs$c.radius.xs,
7449
+ borderWidth: globalRefs$d.border.xs,
7450
+ borderRadius: globalRefs$d.radius.xs,
7118
7451
  borderColor: 'transparent',
7119
7452
 
7120
- outlineWidth: globalRefs$c.border.sm,
7453
+ outlineWidth: globalRefs$d.border.sm,
7121
7454
  outlineStyle: 'solid',
7122
7455
  outlineColor: 'transparent',
7123
7456
  outlineOffset: '0px', // we need to keep the px unit even for 0 value, as this var is used for calc in different component classes
@@ -7128,9 +7461,9 @@ const [theme$1, refs, vars$q] = createHelperVars(
7128
7461
  horizontalPadding: '0.5em',
7129
7462
  verticalPadding: '0.5em',
7130
7463
 
7131
- backgroundColor: globalRefs$c.colors.surface.light,
7464
+ backgroundColor: globalRefs$d.colors.surface.light,
7132
7465
 
7133
- fontFamily: globalRefs$c.fonts.font1.family,
7466
+ fontFamily: globalRefs$d.fonts.font1.family,
7134
7467
 
7135
7468
  size: {
7136
7469
  xs: { fontSize: '12px' },
@@ -7144,27 +7477,27 @@ const [theme$1, refs, vars$q] = createHelperVars(
7144
7477
  },
7145
7478
 
7146
7479
  _focused: {
7147
- outlineColor: globalRefs$c.colors.surface.main,
7480
+ outlineColor: globalRefs$d.colors.surface.main,
7148
7481
  _invalid: {
7149
- outlineColor: globalRefs$c.colors.error.main,
7482
+ outlineColor: globalRefs$d.colors.error.main,
7150
7483
  },
7151
7484
  },
7152
7485
 
7153
7486
  _bordered: {
7154
- outlineWidth: globalRefs$c.border.xs,
7155
- borderColor: globalRefs$c.colors.surface.main,
7487
+ outlineWidth: globalRefs$d.border.xs,
7488
+ borderColor: globalRefs$d.colors.surface.main,
7156
7489
  borderStyle: 'solid',
7157
7490
  _invalid: {
7158
- borderColor: globalRefs$c.colors.error.main,
7491
+ borderColor: globalRefs$d.colors.error.main,
7159
7492
  },
7160
7493
  },
7161
7494
 
7162
7495
  _disabled: {
7163
- labelTextColor: globalRefs$c.colors.surface.main,
7164
- borderColor: globalRefs$c.colors.surface.main,
7165
- valueTextColor: globalRefs$c.colors.surface.dark,
7166
- placeholderTextColor: globalRefs$c.colors.surface.dark,
7167
- backgroundColor: globalRefs$c.colors.surface.main,
7496
+ labelTextColor: globalRefs$d.colors.surface.main,
7497
+ borderColor: globalRefs$d.colors.surface.main,
7498
+ valueTextColor: globalRefs$d.colors.surface.dark,
7499
+ placeholderTextColor: globalRefs$d.colors.surface.dark,
7500
+ backgroundColor: globalRefs$d.colors.surface.main,
7168
7501
  },
7169
7502
  },
7170
7503
  componentName$1
@@ -7174,21 +7507,56 @@ var inputWrapper = /*#__PURE__*/Object.freeze({
7174
7507
  __proto__: null,
7175
7508
  default: theme$1,
7176
7509
  refs: refs,
7177
- vars: vars$q
7510
+ vars: vars$r
7178
7511
  });
7179
7512
 
7180
- const vars$p = TextFieldClass.cssVarList;
7513
+ const vars$q = TextFieldClass.cssVarList;
7181
7514
 
7182
7515
  const textField = {
7516
+ [vars$q.hostWidth]: refs.width,
7517
+ [vars$q.hostMinWidth]: refs.minWidth,
7518
+ [vars$q.fontSize]: refs.fontSize,
7519
+ [vars$q.fontFamily]: refs.fontFamily,
7520
+ [vars$q.labelTextColor]: refs.labelTextColor,
7521
+ [vars$q.labelRequiredIndicator]: refs.requiredIndicator,
7522
+ [vars$q.errorMessageTextColor]: refs.errorMessageTextColor,
7523
+ [vars$q.inputValueTextColor]: refs.valueTextColor,
7524
+ [vars$q.inputPlaceholderColor]: refs.placeholderTextColor,
7525
+ [vars$q.inputBorderWidth]: refs.borderWidth,
7526
+ [vars$q.inputBorderStyle]: refs.borderStyle,
7527
+ [vars$q.inputBorderColor]: refs.borderColor,
7528
+ [vars$q.inputBorderRadius]: refs.borderRadius,
7529
+ [vars$q.inputOutlineWidth]: refs.outlineWidth,
7530
+ [vars$q.inputOutlineStyle]: refs.outlineStyle,
7531
+ [vars$q.inputOutlineColor]: refs.outlineColor,
7532
+ [vars$q.inputOutlineOffset]: refs.outlineOffset,
7533
+ [vars$q.inputBackgroundColor]: refs.backgroundColor,
7534
+ [vars$q.inputHeight]: refs.inputHeight,
7535
+ [vars$q.inputHorizontalPadding]: refs.horizontalPadding,
7536
+ };
7537
+
7538
+ var textField$1 = /*#__PURE__*/Object.freeze({
7539
+ __proto__: null,
7540
+ default: textField,
7541
+ textField: textField,
7542
+ vars: vars$q
7543
+ });
7544
+
7545
+ const globalRefs$c = getThemeRefs(globals);
7546
+ const vars$p = PasswordClass.cssVarList;
7547
+
7548
+ const password = {
7183
7549
  [vars$p.hostWidth]: refs.width,
7184
- [vars$p.hostMinWidth]: refs.minWidth,
7185
7550
  [vars$p.fontSize]: refs.fontSize,
7186
7551
  [vars$p.fontFamily]: refs.fontFamily,
7187
7552
  [vars$p.labelTextColor]: refs.labelTextColor,
7188
- [vars$p.labelRequiredIndicator]: refs.requiredIndicator,
7189
7553
  [vars$p.errorMessageTextColor]: refs.errorMessageTextColor,
7554
+ [vars$p.inputHorizontalPadding]: refs.horizontalPadding,
7555
+ [vars$p.inputHeight]: refs.inputHeight,
7556
+ [vars$p.inputBackgroundColor]: refs.backgroundColor,
7557
+ [vars$p.labelRequiredIndicator]: refs.requiredIndicator,
7190
7558
  [vars$p.inputValueTextColor]: refs.valueTextColor,
7191
- [vars$p.inputPlaceholderColor]: refs.placeholderTextColor,
7559
+ [vars$p.inputPlaceholderTextColor]: refs.placeholderTextColor,
7192
7560
  [vars$p.inputBorderWidth]: refs.borderWidth,
7193
7561
  [vars$p.inputBorderStyle]: refs.borderStyle,
7194
7562
  [vars$p.inputBorderColor]: refs.borderColor,
@@ -7197,33 +7565,27 @@ const textField = {
7197
7565
  [vars$p.inputOutlineStyle]: refs.outlineStyle,
7198
7566
  [vars$p.inputOutlineColor]: refs.outlineColor,
7199
7567
  [vars$p.inputOutlineOffset]: refs.outlineOffset,
7200
- [vars$p.inputBackgroundColor]: refs.backgroundColor,
7201
- [vars$p.inputHeight]: refs.inputHeight,
7202
- [vars$p.inputHorizontalPadding]: refs.horizontalPadding,
7568
+ [vars$p.revealButtonOffset]: globalRefs$c.spacing.md,
7569
+ [vars$p.revealButtonSize]: refs.toggleButtonSize,
7203
7570
  };
7204
7571
 
7205
- var textField$1 = /*#__PURE__*/Object.freeze({
7572
+ var password$1 = /*#__PURE__*/Object.freeze({
7206
7573
  __proto__: null,
7207
- default: textField,
7208
- textField: textField,
7574
+ default: password,
7209
7575
  vars: vars$p
7210
7576
  });
7211
7577
 
7212
- const globalRefs$b = getThemeRefs(globals);
7213
- const vars$o = PasswordClass.cssVarList;
7578
+ const vars$o = NumberFieldClass.cssVarList;
7214
7579
 
7215
- const password = {
7580
+ const numberField = {
7216
7581
  [vars$o.hostWidth]: refs.width,
7582
+ [vars$o.hostMinWidth]: refs.minWidth,
7217
7583
  [vars$o.fontSize]: refs.fontSize,
7218
7584
  [vars$o.fontFamily]: refs.fontFamily,
7219
7585
  [vars$o.labelTextColor]: refs.labelTextColor,
7220
7586
  [vars$o.errorMessageTextColor]: refs.errorMessageTextColor,
7221
- [vars$o.inputHorizontalPadding]: refs.horizontalPadding,
7222
- [vars$o.inputHeight]: refs.inputHeight,
7223
- [vars$o.inputBackgroundColor]: refs.backgroundColor,
7224
- [vars$o.labelRequiredIndicator]: refs.requiredIndicator,
7225
7587
  [vars$o.inputValueTextColor]: refs.valueTextColor,
7226
- [vars$o.inputPlaceholderTextColor]: refs.placeholderTextColor,
7588
+ [vars$o.inputPlaceholderColor]: refs.placeholderTextColor,
7227
7589
  [vars$o.inputBorderWidth]: refs.borderWidth,
7228
7590
  [vars$o.inputBorderStyle]: refs.borderStyle,
7229
7591
  [vars$o.inputBorderColor]: refs.borderColor,
@@ -7232,19 +7594,21 @@ const password = {
7232
7594
  [vars$o.inputOutlineStyle]: refs.outlineStyle,
7233
7595
  [vars$o.inputOutlineColor]: refs.outlineColor,
7234
7596
  [vars$o.inputOutlineOffset]: refs.outlineOffset,
7235
- [vars$o.revealButtonOffset]: globalRefs$b.spacing.md,
7236
- [vars$o.revealButtonSize]: refs.toggleButtonSize,
7597
+ [vars$o.inputBackgroundColor]: refs.backgroundColor,
7598
+ [vars$o.labelRequiredIndicator]: refs.requiredIndicator,
7599
+ [vars$o.inputHorizontalPadding]: refs.horizontalPadding,
7600
+ [vars$o.inputHeight]: refs.inputHeight,
7237
7601
  };
7238
7602
 
7239
- var password$1 = /*#__PURE__*/Object.freeze({
7603
+ var numberField$1 = /*#__PURE__*/Object.freeze({
7240
7604
  __proto__: null,
7241
- default: password,
7605
+ default: numberField,
7242
7606
  vars: vars$o
7243
7607
  });
7244
7608
 
7245
- const vars$n = NumberFieldClass.cssVarList;
7609
+ const vars$n = EmailFieldClass.cssVarList;
7246
7610
 
7247
- const numberField = {
7611
+ const emailField = {
7248
7612
  [vars$n.hostWidth]: refs.width,
7249
7613
  [vars$n.hostMinWidth]: refs.minWidth,
7250
7614
  [vars$n.fontSize]: refs.fontSize,
@@ -7252,6 +7616,7 @@ const numberField = {
7252
7616
  [vars$n.labelTextColor]: refs.labelTextColor,
7253
7617
  [vars$n.errorMessageTextColor]: refs.errorMessageTextColor,
7254
7618
  [vars$n.inputValueTextColor]: refs.valueTextColor,
7619
+ [vars$n.labelRequiredIndicator]: refs.requiredIndicator,
7255
7620
  [vars$n.inputPlaceholderColor]: refs.placeholderTextColor,
7256
7621
  [vars$n.inputBorderWidth]: refs.borderWidth,
7257
7622
  [vars$n.inputBorderStyle]: refs.borderStyle,
@@ -7262,197 +7627,165 @@ const numberField = {
7262
7627
  [vars$n.inputOutlineColor]: refs.outlineColor,
7263
7628
  [vars$n.inputOutlineOffset]: refs.outlineOffset,
7264
7629
  [vars$n.inputBackgroundColor]: refs.backgroundColor,
7265
- [vars$n.labelRequiredIndicator]: refs.requiredIndicator,
7266
7630
  [vars$n.inputHorizontalPadding]: refs.horizontalPadding,
7267
7631
  [vars$n.inputHeight]: refs.inputHeight,
7268
7632
  };
7269
7633
 
7270
- var numberField$1 = /*#__PURE__*/Object.freeze({
7634
+ var emailField$1 = /*#__PURE__*/Object.freeze({
7271
7635
  __proto__: null,
7272
- default: numberField,
7636
+ default: emailField,
7273
7637
  vars: vars$n
7274
7638
  });
7275
7639
 
7276
- const vars$m = EmailFieldClass.cssVarList;
7640
+ const globalRefs$b = getThemeRefs(globals);
7641
+ const vars$m = TextAreaClass.cssVarList;
7277
7642
 
7278
- const emailField = {
7643
+ const textArea = {
7279
7644
  [vars$m.hostWidth]: refs.width,
7280
7645
  [vars$m.hostMinWidth]: refs.minWidth,
7281
7646
  [vars$m.fontSize]: refs.fontSize,
7282
7647
  [vars$m.fontFamily]: refs.fontFamily,
7283
7648
  [vars$m.labelTextColor]: refs.labelTextColor,
7649
+ [vars$m.labelRequiredIndicator]: refs.requiredIndicator,
7284
7650
  [vars$m.errorMessageTextColor]: refs.errorMessageTextColor,
7651
+ [vars$m.inputBackgroundColor]: refs.backgroundColor,
7285
7652
  [vars$m.inputValueTextColor]: refs.valueTextColor,
7286
- [vars$m.labelRequiredIndicator]: refs.requiredIndicator,
7287
- [vars$m.inputPlaceholderColor]: refs.placeholderTextColor,
7653
+ [vars$m.inputPlaceholderTextColor]: refs.placeholderTextColor,
7654
+ [vars$m.inputBorderRadius]: refs.borderRadius,
7288
7655
  [vars$m.inputBorderWidth]: refs.borderWidth,
7289
7656
  [vars$m.inputBorderStyle]: refs.borderStyle,
7290
7657
  [vars$m.inputBorderColor]: refs.borderColor,
7291
- [vars$m.inputBorderRadius]: refs.borderRadius,
7292
7658
  [vars$m.inputOutlineWidth]: refs.outlineWidth,
7293
7659
  [vars$m.inputOutlineStyle]: refs.outlineStyle,
7294
7660
  [vars$m.inputOutlineColor]: refs.outlineColor,
7295
7661
  [vars$m.inputOutlineOffset]: refs.outlineOffset,
7296
- [vars$m.inputBackgroundColor]: refs.backgroundColor,
7297
- [vars$m.inputHorizontalPadding]: refs.horizontalPadding,
7298
- [vars$m.inputHeight]: refs.inputHeight,
7662
+ [vars$m.inputResizeType]: 'vertical',
7663
+ [vars$m.inputMinHeight]: '5em',
7664
+
7665
+ _disabled: {
7666
+ [vars$m.inputBackgroundColor]: globalRefs$b.colors.surface.light,
7667
+ },
7668
+
7669
+ _readonly: {
7670
+ [vars$m.inputResizeType]: 'none',
7671
+ },
7299
7672
  };
7300
7673
 
7301
- var emailField$1 = /*#__PURE__*/Object.freeze({
7674
+ var textArea$1 = /*#__PURE__*/Object.freeze({
7302
7675
  __proto__: null,
7303
- default: emailField,
7676
+ default: textArea,
7304
7677
  vars: vars$m
7305
7678
  });
7306
7679
 
7307
- const globalRefs$a = getThemeRefs(globals);
7308
- const vars$l = TextAreaClass.cssVarList;
7680
+ const vars$l = CheckboxClass.cssVarList;
7681
+ const checkboxSize = '1.35em';
7309
7682
 
7310
- const textArea = {
7683
+ const checkbox = {
7311
7684
  [vars$l.hostWidth]: refs.width,
7312
- [vars$l.hostMinWidth]: refs.minWidth,
7313
7685
  [vars$l.fontSize]: refs.fontSize,
7314
7686
  [vars$l.fontFamily]: refs.fontFamily,
7315
7687
  [vars$l.labelTextColor]: refs.labelTextColor,
7316
7688
  [vars$l.labelRequiredIndicator]: refs.requiredIndicator,
7689
+ [vars$l.labelFontWeight]: '400',
7690
+ [vars$l.labelLineHeight]: checkboxSize,
7691
+ [vars$l.labelSpacing]: '1em',
7317
7692
  [vars$l.errorMessageTextColor]: refs.errorMessageTextColor,
7318
- [vars$l.inputBackgroundColor]: refs.backgroundColor,
7319
- [vars$l.inputValueTextColor]: refs.valueTextColor,
7320
- [vars$l.inputPlaceholderTextColor]: refs.placeholderTextColor,
7693
+ [vars$l.inputOutlineWidth]: refs.outlineWidth,
7694
+ [vars$l.inputOutlineOffset]: refs.outlineOffset,
7695
+ [vars$l.inputOutlineColor]: refs.outlineColor,
7696
+ [vars$l.inputOutlineStyle]: refs.outlineStyle,
7321
7697
  [vars$l.inputBorderRadius]: refs.borderRadius,
7698
+ [vars$l.inputBorderColor]: refs.borderColor,
7322
7699
  [vars$l.inputBorderWidth]: refs.borderWidth,
7323
7700
  [vars$l.inputBorderStyle]: refs.borderStyle,
7324
- [vars$l.inputBorderColor]: refs.borderColor,
7325
- [vars$l.inputOutlineWidth]: refs.outlineWidth,
7326
- [vars$l.inputOutlineStyle]: refs.outlineStyle,
7327
- [vars$l.inputOutlineColor]: refs.outlineColor,
7328
- [vars$l.inputOutlineOffset]: refs.outlineOffset,
7329
- [vars$l.inputResizeType]: 'vertical',
7330
- [vars$l.inputMinHeight]: '5em',
7701
+ [vars$l.inputBackgroundColor]: refs.backgroundColor,
7702
+ [vars$l.inputSize]: checkboxSize,
7331
7703
 
7332
- _disabled: {
7333
- [vars$l.inputBackgroundColor]: globalRefs$a.colors.surface.light,
7704
+ _checked: {
7705
+ [vars$l.inputValueTextColor]: refs.valueTextColor,
7334
7706
  },
7335
7707
 
7336
- _readonly: {
7337
- [vars$l.inputResizeType]: 'none',
7708
+ _disabled: {
7709
+ [vars$l.labelTextColor]: refs.labelTextColor,
7338
7710
  },
7339
7711
  };
7340
7712
 
7341
- var textArea$1 = /*#__PURE__*/Object.freeze({
7713
+ var checkbox$1 = /*#__PURE__*/Object.freeze({
7342
7714
  __proto__: null,
7343
- default: textArea,
7715
+ default: checkbox,
7344
7716
  vars: vars$l
7345
7717
  });
7346
7718
 
7347
- const vars$k = CheckboxClass.cssVarList;
7348
- const checkboxSize = '1.35em';
7719
+ const knobMargin = '2px';
7720
+ const checkboxHeight = '1.25em';
7349
7721
 
7350
- const checkbox = {
7722
+ const globalRefs$a = getThemeRefs(globals);
7723
+ const vars$k = SwitchToggleClass.cssVarList;
7724
+
7725
+ const switchToggle = {
7351
7726
  [vars$k.hostWidth]: refs.width,
7352
7727
  [vars$k.fontSize]: refs.fontSize,
7353
7728
  [vars$k.fontFamily]: refs.fontFamily,
7354
- [vars$k.labelTextColor]: refs.labelTextColor,
7355
- [vars$k.labelRequiredIndicator]: refs.requiredIndicator,
7356
- [vars$k.labelFontWeight]: '400',
7357
- [vars$k.labelLineHeight]: checkboxSize,
7358
- [vars$k.labelSpacing]: '1em',
7359
- [vars$k.errorMessageTextColor]: refs.errorMessageTextColor,
7729
+
7360
7730
  [vars$k.inputOutlineWidth]: refs.outlineWidth,
7361
7731
  [vars$k.inputOutlineOffset]: refs.outlineOffset,
7362
7732
  [vars$k.inputOutlineColor]: refs.outlineColor,
7363
7733
  [vars$k.inputOutlineStyle]: refs.outlineStyle,
7364
- [vars$k.inputBorderRadius]: refs.borderRadius,
7365
- [vars$k.inputBorderColor]: refs.borderColor,
7366
- [vars$k.inputBorderWidth]: refs.borderWidth,
7367
- [vars$k.inputBorderStyle]: refs.borderStyle,
7368
- [vars$k.inputBackgroundColor]: refs.backgroundColor,
7369
- [vars$k.inputSize]: checkboxSize,
7370
7734
 
7371
- _checked: {
7372
- [vars$k.inputValueTextColor]: refs.valueTextColor,
7373
- },
7735
+ [vars$k.trackBorderStyle]: refs.borderStyle,
7736
+ [vars$k.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
7737
+ [vars$k.trackBorderColor]: refs.borderColor,
7738
+ [vars$k.trackBackgroundColor]: 'none',
7739
+ [vars$k.trackBorderRadius]: globalRefs$a.radius.md,
7740
+ [vars$k.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
7741
+ [vars$k.trackHeight]: checkboxHeight,
7742
+
7743
+ [vars$k.knobSize]: `calc(1em - ${knobMargin})`,
7744
+ [vars$k.knobRadius]: '50%',
7745
+ [vars$k.knobTopOffset]: '1px',
7746
+ [vars$k.knobLeftOffset]: knobMargin,
7747
+ [vars$k.knobColor]: refs.valueTextColor,
7748
+ [vars$k.knobTransitionDuration]: '0.3s',
7374
7749
 
7375
- _disabled: {
7376
- [vars$k.labelTextColor]: refs.labelTextColor,
7377
- },
7378
- };
7379
-
7380
- var checkbox$1 = /*#__PURE__*/Object.freeze({
7381
- __proto__: null,
7382
- default: checkbox,
7383
- vars: vars$k
7384
- });
7385
-
7386
- const knobMargin = '2px';
7387
- const checkboxHeight = '1.25em';
7388
-
7389
- const globalRefs$9 = getThemeRefs(globals);
7390
- const vars$j = SwitchToggleClass.cssVarList;
7391
-
7392
- const switchToggle = {
7393
- [vars$j.hostWidth]: refs.width,
7394
- [vars$j.fontSize]: refs.fontSize,
7395
- [vars$j.fontFamily]: refs.fontFamily,
7396
-
7397
- [vars$j.inputOutlineWidth]: refs.outlineWidth,
7398
- [vars$j.inputOutlineOffset]: refs.outlineOffset,
7399
- [vars$j.inputOutlineColor]: refs.outlineColor,
7400
- [vars$j.inputOutlineStyle]: refs.outlineStyle,
7401
-
7402
- [vars$j.trackBorderStyle]: refs.borderStyle,
7403
- [vars$j.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
7404
- [vars$j.trackBorderColor]: refs.borderColor,
7405
- [vars$j.trackBackgroundColor]: 'none',
7406
- [vars$j.trackBorderRadius]: globalRefs$9.radius.md,
7407
- [vars$j.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
7408
- [vars$j.trackHeight]: checkboxHeight,
7409
-
7410
- [vars$j.knobSize]: `calc(1em - ${knobMargin})`,
7411
- [vars$j.knobRadius]: '50%',
7412
- [vars$j.knobTopOffset]: '1px',
7413
- [vars$j.knobLeftOffset]: knobMargin,
7414
- [vars$j.knobColor]: refs.valueTextColor,
7415
- [vars$j.knobTransitionDuration]: '0.3s',
7416
-
7417
- [vars$j.labelTextColor]: refs.labelTextColor,
7418
- [vars$j.labelFontWeight]: '400',
7419
- [vars$j.labelLineHeight]: '1.35em',
7420
- [vars$j.labelSpacing]: '1em',
7421
- [vars$j.labelRequiredIndicator]: refs.requiredIndicator,
7422
- [vars$j.errorMessageTextColor]: refs.errorMessageTextColor,
7750
+ [vars$k.labelTextColor]: refs.labelTextColor,
7751
+ [vars$k.labelFontWeight]: '400',
7752
+ [vars$k.labelLineHeight]: '1.35em',
7753
+ [vars$k.labelSpacing]: '1em',
7754
+ [vars$k.labelRequiredIndicator]: refs.requiredIndicator,
7755
+ [vars$k.errorMessageTextColor]: refs.errorMessageTextColor,
7423
7756
 
7424
7757
  _checked: {
7425
- [vars$j.trackBorderColor]: refs.borderColor,
7426
- [vars$j.trackBackgroundColor]: refs.backgroundColor,
7427
- [vars$j.knobLeftOffset]: `calc(100% - var(${vars$j.knobSize}) - ${knobMargin})`,
7428
- [vars$j.knobColor]: refs.valueTextColor,
7429
- [vars$j.knobTextColor]: refs.valueTextColor,
7758
+ [vars$k.trackBorderColor]: refs.borderColor,
7759
+ [vars$k.trackBackgroundColor]: refs.backgroundColor,
7760
+ [vars$k.knobLeftOffset]: `calc(100% - var(${vars$k.knobSize}) - ${knobMargin})`,
7761
+ [vars$k.knobColor]: refs.valueTextColor,
7762
+ [vars$k.knobTextColor]: refs.valueTextColor,
7430
7763
  },
7431
7764
 
7432
7765
  _disabled: {
7433
- [vars$j.knobColor]: globalRefs$9.colors.surface.light,
7434
- [vars$j.trackBorderColor]: globalRefs$9.colors.surface.main,
7435
- [vars$j.trackBackgroundColor]: globalRefs$9.colors.surface.main,
7436
- [vars$j.labelTextColor]: refs.labelTextColor,
7766
+ [vars$k.knobColor]: globalRefs$a.colors.surface.light,
7767
+ [vars$k.trackBorderColor]: globalRefs$a.colors.surface.main,
7768
+ [vars$k.trackBackgroundColor]: globalRefs$a.colors.surface.main,
7769
+ [vars$k.labelTextColor]: refs.labelTextColor,
7437
7770
  _checked: {
7438
- [vars$j.knobColor]: globalRefs$9.colors.surface.light,
7439
- [vars$j.trackBackgroundColor]: globalRefs$9.colors.surface.main,
7771
+ [vars$k.knobColor]: globalRefs$a.colors.surface.light,
7772
+ [vars$k.trackBackgroundColor]: globalRefs$a.colors.surface.main,
7440
7773
  },
7441
7774
  },
7442
7775
 
7443
7776
  _invalid: {
7444
- [vars$j.trackBorderColor]: globalRefs$9.colors.error.main,
7445
- [vars$j.knobColor]: globalRefs$9.colors.error.main,
7777
+ [vars$k.trackBorderColor]: globalRefs$a.colors.error.main,
7778
+ [vars$k.knobColor]: globalRefs$a.colors.error.main,
7446
7779
  },
7447
7780
  };
7448
7781
 
7449
7782
  var switchToggle$1 = /*#__PURE__*/Object.freeze({
7450
7783
  __proto__: null,
7451
7784
  default: switchToggle,
7452
- vars: vars$j
7785
+ vars: vars$k
7453
7786
  });
7454
7787
 
7455
- const globalRefs$8 = getThemeRefs(globals);
7788
+ const globalRefs$9 = getThemeRefs(globals);
7456
7789
 
7457
7790
  const compVars$3 = ContainerClass.cssVarList;
7458
7791
 
@@ -7474,7 +7807,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
7474
7807
  horizontalAlignment,
7475
7808
  shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
7476
7809
  },
7477
- componentName$r
7810
+ componentName$v
7478
7811
  );
7479
7812
 
7480
7813
  const { shadowColor } = helperRefs$2;
@@ -7484,8 +7817,8 @@ const container = {
7484
7817
 
7485
7818
  [compVars$3.hostWidth]: '100%',
7486
7819
  [compVars$3.boxShadow]: 'none',
7487
- [compVars$3.backgroundColor]: globalRefs$8.colors.surface.light,
7488
- [compVars$3.color]: globalRefs$8.colors.surface.contrast,
7820
+ [compVars$3.backgroundColor]: globalRefs$9.colors.surface.light,
7821
+ [compVars$3.color]: globalRefs$9.colors.surface.contrast,
7489
7822
  [compVars$3.borderRadius]: '0px',
7490
7823
 
7491
7824
  verticalPadding: {
@@ -7532,34 +7865,34 @@ const container = {
7532
7865
 
7533
7866
  shadow: {
7534
7867
  sm: {
7535
- [compVars$3.boxShadow]: `${globalRefs$8.shadow.wide.sm} ${shadowColor}, ${globalRefs$8.shadow.narrow.sm} ${shadowColor}`,
7868
+ [compVars$3.boxShadow]: `${globalRefs$9.shadow.wide.sm} ${shadowColor}, ${globalRefs$9.shadow.narrow.sm} ${shadowColor}`,
7536
7869
  },
7537
7870
  md: {
7538
- [compVars$3.boxShadow]: `${globalRefs$8.shadow.wide.md} ${shadowColor}, ${globalRefs$8.shadow.narrow.md} ${shadowColor}`,
7871
+ [compVars$3.boxShadow]: `${globalRefs$9.shadow.wide.md} ${shadowColor}, ${globalRefs$9.shadow.narrow.md} ${shadowColor}`,
7539
7872
  },
7540
7873
  lg: {
7541
- [compVars$3.boxShadow]: `${globalRefs$8.shadow.wide.lg} ${shadowColor}, ${globalRefs$8.shadow.narrow.lg} ${shadowColor}`,
7874
+ [compVars$3.boxShadow]: `${globalRefs$9.shadow.wide.lg} ${shadowColor}, ${globalRefs$9.shadow.narrow.lg} ${shadowColor}`,
7542
7875
  },
7543
7876
  xl: {
7544
- [compVars$3.boxShadow]: `${globalRefs$8.shadow.wide.xl} ${shadowColor}, ${globalRefs$8.shadow.narrow.xl} ${shadowColor}`,
7877
+ [compVars$3.boxShadow]: `${globalRefs$9.shadow.wide.xl} ${shadowColor}, ${globalRefs$9.shadow.narrow.xl} ${shadowColor}`,
7545
7878
  },
7546
7879
  '2xl': {
7547
7880
  [helperVars$2.shadowColor]: '#00000050', // mimic daisyUI shadow settings
7548
- [compVars$3.boxShadow]: `${globalRefs$8.shadow.wide['2xl']} ${shadowColor}`,
7881
+ [compVars$3.boxShadow]: `${globalRefs$9.shadow.wide['2xl']} ${shadowColor}`,
7549
7882
  },
7550
7883
  },
7551
7884
 
7552
7885
  borderRadius: {
7553
- sm: { [compVars$3.borderRadius]: globalRefs$8.radius.sm },
7554
- md: { [compVars$3.borderRadius]: globalRefs$8.radius.md },
7555
- lg: { [compVars$3.borderRadius]: globalRefs$8.radius.lg },
7556
- xl: { [compVars$3.borderRadius]: globalRefs$8.radius.xl },
7557
- '2xl': { [compVars$3.borderRadius]: globalRefs$8.radius['2xl'] },
7558
- '3xl': { [compVars$3.borderRadius]: globalRefs$8.radius['3xl'] },
7886
+ sm: { [compVars$3.borderRadius]: globalRefs$9.radius.sm },
7887
+ md: { [compVars$3.borderRadius]: globalRefs$9.radius.md },
7888
+ lg: { [compVars$3.borderRadius]: globalRefs$9.radius.lg },
7889
+ xl: { [compVars$3.borderRadius]: globalRefs$9.radius.xl },
7890
+ '2xl': { [compVars$3.borderRadius]: globalRefs$9.radius['2xl'] },
7891
+ '3xl': { [compVars$3.borderRadius]: globalRefs$9.radius['3xl'] },
7559
7892
  },
7560
7893
  };
7561
7894
 
7562
- const vars$i = {
7895
+ const vars$j = {
7563
7896
  ...compVars$3,
7564
7897
  ...helperVars$2,
7565
7898
  };
@@ -7567,152 +7900,152 @@ const vars$i = {
7567
7900
  var container$1 = /*#__PURE__*/Object.freeze({
7568
7901
  __proto__: null,
7569
7902
  default: container,
7570
- vars: vars$i
7903
+ vars: vars$j
7571
7904
  });
7572
7905
 
7573
- const vars$h = LogoClass.cssVarList;
7906
+ const vars$i = LogoClass.cssVarList;
7574
7907
 
7575
7908
  const logo$1 = {
7576
- [vars$h.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
7909
+ [vars$i.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
7577
7910
  };
7578
7911
 
7579
7912
  var logo$2 = /*#__PURE__*/Object.freeze({
7580
7913
  __proto__: null,
7581
7914
  default: logo$1,
7582
- vars: vars$h
7915
+ vars: vars$i
7583
7916
  });
7584
7917
 
7585
- const vars$g = TotpImageClass.cssVarList;
7918
+ const vars$h = TotpImageClass.cssVarList;
7586
7919
 
7587
7920
  const logo = {
7588
- [vars$g.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
7921
+ [vars$h.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
7589
7922
  };
7590
7923
 
7591
7924
  var totpImage = /*#__PURE__*/Object.freeze({
7592
7925
  __proto__: null,
7593
7926
  default: logo,
7594
- vars: vars$g
7927
+ vars: vars$h
7595
7928
  });
7596
7929
 
7597
- const globalRefs$7 = getThemeRefs(globals);
7598
- const vars$f = TextClass.cssVarList;
7930
+ const globalRefs$8 = getThemeRefs(globals);
7931
+ const vars$g = TextClass.cssVarList;
7599
7932
 
7600
7933
  const text = {
7601
- [vars$f.textLineHeight]: '1.35em',
7602
- [vars$f.textAlign]: 'left',
7603
- [vars$f.textColor]: globalRefs$7.colors.surface.dark,
7934
+ [vars$g.textLineHeight]: '1.35em',
7935
+ [vars$g.textAlign]: 'left',
7936
+ [vars$g.textColor]: globalRefs$8.colors.surface.dark,
7604
7937
  variant: {
7605
7938
  h1: {
7606
- [vars$f.fontSize]: globalRefs$7.typography.h1.size,
7607
- [vars$f.fontWeight]: globalRefs$7.typography.h1.weight,
7608
- [vars$f.fontFamily]: globalRefs$7.typography.h1.font,
7939
+ [vars$g.fontSize]: globalRefs$8.typography.h1.size,
7940
+ [vars$g.fontWeight]: globalRefs$8.typography.h1.weight,
7941
+ [vars$g.fontFamily]: globalRefs$8.typography.h1.font,
7609
7942
  },
7610
7943
  h2: {
7611
- [vars$f.fontSize]: globalRefs$7.typography.h2.size,
7612
- [vars$f.fontWeight]: globalRefs$7.typography.h2.weight,
7613
- [vars$f.fontFamily]: globalRefs$7.typography.h2.font,
7944
+ [vars$g.fontSize]: globalRefs$8.typography.h2.size,
7945
+ [vars$g.fontWeight]: globalRefs$8.typography.h2.weight,
7946
+ [vars$g.fontFamily]: globalRefs$8.typography.h2.font,
7614
7947
  },
7615
7948
  h3: {
7616
- [vars$f.fontSize]: globalRefs$7.typography.h3.size,
7617
- [vars$f.fontWeight]: globalRefs$7.typography.h3.weight,
7618
- [vars$f.fontFamily]: globalRefs$7.typography.h3.font,
7949
+ [vars$g.fontSize]: globalRefs$8.typography.h3.size,
7950
+ [vars$g.fontWeight]: globalRefs$8.typography.h3.weight,
7951
+ [vars$g.fontFamily]: globalRefs$8.typography.h3.font,
7619
7952
  },
7620
7953
  subtitle1: {
7621
- [vars$f.fontSize]: globalRefs$7.typography.subtitle1.size,
7622
- [vars$f.fontWeight]: globalRefs$7.typography.subtitle1.weight,
7623
- [vars$f.fontFamily]: globalRefs$7.typography.subtitle1.font,
7954
+ [vars$g.fontSize]: globalRefs$8.typography.subtitle1.size,
7955
+ [vars$g.fontWeight]: globalRefs$8.typography.subtitle1.weight,
7956
+ [vars$g.fontFamily]: globalRefs$8.typography.subtitle1.font,
7624
7957
  },
7625
7958
  subtitle2: {
7626
- [vars$f.fontSize]: globalRefs$7.typography.subtitle2.size,
7627
- [vars$f.fontWeight]: globalRefs$7.typography.subtitle2.weight,
7628
- [vars$f.fontFamily]: globalRefs$7.typography.subtitle2.font,
7959
+ [vars$g.fontSize]: globalRefs$8.typography.subtitle2.size,
7960
+ [vars$g.fontWeight]: globalRefs$8.typography.subtitle2.weight,
7961
+ [vars$g.fontFamily]: globalRefs$8.typography.subtitle2.font,
7629
7962
  },
7630
7963
  body1: {
7631
- [vars$f.fontSize]: globalRefs$7.typography.body1.size,
7632
- [vars$f.fontWeight]: globalRefs$7.typography.body1.weight,
7633
- [vars$f.fontFamily]: globalRefs$7.typography.body1.font,
7964
+ [vars$g.fontSize]: globalRefs$8.typography.body1.size,
7965
+ [vars$g.fontWeight]: globalRefs$8.typography.body1.weight,
7966
+ [vars$g.fontFamily]: globalRefs$8.typography.body1.font,
7634
7967
  },
7635
7968
  body2: {
7636
- [vars$f.fontSize]: globalRefs$7.typography.body2.size,
7637
- [vars$f.fontWeight]: globalRefs$7.typography.body2.weight,
7638
- [vars$f.fontFamily]: globalRefs$7.typography.body2.font,
7969
+ [vars$g.fontSize]: globalRefs$8.typography.body2.size,
7970
+ [vars$g.fontWeight]: globalRefs$8.typography.body2.weight,
7971
+ [vars$g.fontFamily]: globalRefs$8.typography.body2.font,
7639
7972
  },
7640
7973
  },
7641
7974
 
7642
7975
  mode: {
7643
7976
  primary: {
7644
- [vars$f.textColor]: globalRefs$7.colors.primary.main,
7977
+ [vars$g.textColor]: globalRefs$8.colors.primary.main,
7645
7978
  },
7646
7979
  secondary: {
7647
- [vars$f.textColor]: globalRefs$7.colors.secondary.main,
7980
+ [vars$g.textColor]: globalRefs$8.colors.secondary.main,
7648
7981
  },
7649
7982
  error: {
7650
- [vars$f.textColor]: globalRefs$7.colors.error.main,
7983
+ [vars$g.textColor]: globalRefs$8.colors.error.main,
7651
7984
  },
7652
7985
  success: {
7653
- [vars$f.textColor]: globalRefs$7.colors.success.main,
7986
+ [vars$g.textColor]: globalRefs$8.colors.success.main,
7654
7987
  },
7655
7988
  },
7656
7989
 
7657
7990
  textAlign: {
7658
- right: { [vars$f.textAlign]: 'right' },
7659
- left: { [vars$f.textAlign]: 'left' },
7660
- center: { [vars$f.textAlign]: 'center' },
7991
+ right: { [vars$g.textAlign]: 'right' },
7992
+ left: { [vars$g.textAlign]: 'left' },
7993
+ center: { [vars$g.textAlign]: 'center' },
7661
7994
  },
7662
7995
 
7663
7996
  _fullWidth: {
7664
- [vars$f.hostWidth]: '100%',
7997
+ [vars$g.hostWidth]: '100%',
7665
7998
  },
7666
7999
 
7667
8000
  _italic: {
7668
- [vars$f.fontStyle]: 'italic',
8001
+ [vars$g.fontStyle]: 'italic',
7669
8002
  },
7670
8003
 
7671
8004
  _uppercase: {
7672
- [vars$f.textTransform]: 'uppercase',
8005
+ [vars$g.textTransform]: 'uppercase',
7673
8006
  },
7674
8007
 
7675
8008
  _lowercase: {
7676
- [vars$f.textTransform]: 'lowercase',
8009
+ [vars$g.textTransform]: 'lowercase',
7677
8010
  },
7678
8011
  };
7679
8012
 
7680
8013
  var text$1 = /*#__PURE__*/Object.freeze({
7681
8014
  __proto__: null,
7682
8015
  default: text,
7683
- vars: vars$f
8016
+ vars: vars$g
7684
8017
  });
7685
8018
 
7686
- const globalRefs$6 = getThemeRefs(globals);
7687
- const vars$e = LinkClass.cssVarList;
8019
+ const globalRefs$7 = getThemeRefs(globals);
8020
+ const vars$f = LinkClass.cssVarList;
7688
8021
 
7689
8022
  const link = {
7690
- [vars$e.cursor]: 'pointer',
8023
+ [vars$f.cursor]: 'pointer',
7691
8024
 
7692
- [vars$e.textColor]: globalRefs$6.colors.primary.main,
8025
+ [vars$f.textColor]: globalRefs$7.colors.primary.main,
7693
8026
 
7694
8027
  textAlign: {
7695
- right: { [vars$e.textAlign]: 'right' },
7696
- left: { [vars$e.textAlign]: 'left' },
7697
- center: { [vars$e.textAlign]: 'center' },
8028
+ right: { [vars$f.textAlign]: 'right' },
8029
+ left: { [vars$f.textAlign]: 'left' },
8030
+ center: { [vars$f.textAlign]: 'center' },
7698
8031
  },
7699
8032
 
7700
8033
  _fullWidth: {
7701
- [vars$e.hostWidth]: '100%',
8034
+ [vars$f.hostWidth]: '100%',
7702
8035
  },
7703
8036
 
7704
8037
  mode: {
7705
8038
  primary: {
7706
- [vars$e.textColor]: globalRefs$6.colors.primary.main,
8039
+ [vars$f.textColor]: globalRefs$7.colors.primary.main,
7707
8040
  },
7708
8041
  secondary: {
7709
- [vars$e.textColor]: globalRefs$6.colors.secondary.main,
8042
+ [vars$f.textColor]: globalRefs$7.colors.secondary.main,
7710
8043
  },
7711
8044
  error: {
7712
- [vars$e.textColor]: globalRefs$6.colors.error.main,
8045
+ [vars$f.textColor]: globalRefs$7.colors.error.main,
7713
8046
  },
7714
8047
  success: {
7715
- [vars$e.textColor]: globalRefs$6.colors.success.main,
8048
+ [vars$f.textColor]: globalRefs$7.colors.success.main,
7716
8049
  },
7717
8050
  },
7718
8051
  };
@@ -7720,10 +8053,10 @@ const link = {
7720
8053
  var link$1 = /*#__PURE__*/Object.freeze({
7721
8054
  __proto__: null,
7722
8055
  default: link,
7723
- vars: vars$e
8056
+ vars: vars$f
7724
8057
  });
7725
8058
 
7726
- const globalRefs$5 = getThemeRefs(globals);
8059
+ const globalRefs$6 = getThemeRefs(globals);
7727
8060
  const compVars$2 = DividerClass.cssVarList;
7728
8061
 
7729
8062
  const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
@@ -7731,7 +8064,7 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
7731
8064
  thickness: '2px',
7732
8065
  spacing: '10px',
7733
8066
  },
7734
- componentName$q
8067
+ componentName$u
7735
8068
  );
7736
8069
 
7737
8070
  const divider = {
@@ -7741,7 +8074,7 @@ const divider = {
7741
8074
  [compVars$2.flexDirection]: 'row',
7742
8075
  [compVars$2.alignSelf]: 'stretch',
7743
8076
  [compVars$2.hostWidth]: '100%',
7744
- [compVars$2.stripeColor]: globalRefs$5.colors.surface.main,
8077
+ [compVars$2.stripeColor]: globalRefs$6.colors.surface.main,
7745
8078
  [compVars$2.stripeColorOpacity]: '0.5',
7746
8079
  [compVars$2.stripeHorizontalThickness]: helperRefs$1.thickness,
7747
8080
  [compVars$2.labelTextWidth]: 'fit-content',
@@ -7760,7 +8093,7 @@ const divider = {
7760
8093
  },
7761
8094
  };
7762
8095
 
7763
- const vars$d = {
8096
+ const vars$e = {
7764
8097
  ...compVars$2,
7765
8098
  ...helperVars$1,
7766
8099
  };
@@ -7768,99 +8101,99 @@ const vars$d = {
7768
8101
  var divider$1 = /*#__PURE__*/Object.freeze({
7769
8102
  __proto__: null,
7770
8103
  default: divider,
7771
- vars: vars$d
8104
+ vars: vars$e
7772
8105
  });
7773
8106
 
7774
- const vars$c = PasscodeClass.cssVarList;
8107
+ const vars$d = PasscodeClass.cssVarList;
7775
8108
 
7776
8109
  const passcode = {
7777
- [vars$c.fontFamily]: refs.fontFamily,
7778
- [vars$c.fontSize]: refs.fontSize,
7779
- [vars$c.labelTextColor]: refs.labelTextColor,
7780
- [vars$c.labelRequiredIndicator]: refs.requiredIndicator,
7781
- [vars$c.errorMessageTextColor]: refs.errorMessageTextColor,
7782
- [vars$c.digitValueTextColor]: refs.valueTextColor,
7783
- [vars$c.digitPadding]: '0',
7784
- [vars$c.digitTextAlign]: 'center',
7785
- [vars$c.digitSpacing]: '4px',
7786
- [vars$c.hostWidth]: refs.width,
7787
- [vars$c.digitOutlineColor]: 'transparent',
7788
- [vars$c.digitOutlineWidth]: refs.outlineWidth,
7789
- [vars$c.focusedDigitFieldOutlineColor]: refs.outlineColor,
7790
- [vars$c.digitSize]: refs.inputHeight,
8110
+ [vars$d.fontFamily]: refs.fontFamily,
8111
+ [vars$d.fontSize]: refs.fontSize,
8112
+ [vars$d.labelTextColor]: refs.labelTextColor,
8113
+ [vars$d.labelRequiredIndicator]: refs.requiredIndicator,
8114
+ [vars$d.errorMessageTextColor]: refs.errorMessageTextColor,
8115
+ [vars$d.digitValueTextColor]: refs.valueTextColor,
8116
+ [vars$d.digitPadding]: '0',
8117
+ [vars$d.digitTextAlign]: 'center',
8118
+ [vars$d.digitSpacing]: '4px',
8119
+ [vars$d.hostWidth]: refs.width,
8120
+ [vars$d.digitOutlineColor]: 'transparent',
8121
+ [vars$d.digitOutlineWidth]: refs.outlineWidth,
8122
+ [vars$d.focusedDigitFieldOutlineColor]: refs.outlineColor,
8123
+ [vars$d.digitSize]: refs.inputHeight,
7791
8124
 
7792
8125
  _hideCursor: {
7793
- [vars$c.digitCaretTextColor]: 'transparent',
8126
+ [vars$d.digitCaretTextColor]: 'transparent',
7794
8127
  },
7795
8128
  };
7796
8129
 
7797
8130
  var passcode$1 = /*#__PURE__*/Object.freeze({
7798
8131
  __proto__: null,
7799
8132
  default: passcode,
7800
- vars: vars$c
8133
+ vars: vars$d
7801
8134
  });
7802
8135
 
7803
- const globalRefs$4 = getThemeRefs(globals);
7804
- const vars$b = LoaderLinearClass.cssVarList;
8136
+ const globalRefs$5 = getThemeRefs(globals);
8137
+ const vars$c = LoaderLinearClass.cssVarList;
7805
8138
 
7806
8139
  const loaderLinear = {
7807
- [vars$b.hostDisplay]: 'inline-block',
7808
- [vars$b.hostWidth]: '100%',
8140
+ [vars$c.hostDisplay]: 'inline-block',
8141
+ [vars$c.hostWidth]: '100%',
7809
8142
 
7810
- [vars$b.barColor]: globalRefs$4.colors.surface.contrast,
7811
- [vars$b.barWidth]: '20%',
8143
+ [vars$c.barColor]: globalRefs$5.colors.surface.contrast,
8144
+ [vars$c.barWidth]: '20%',
7812
8145
 
7813
- [vars$b.barBackgroundColor]: globalRefs$4.colors.surface.main,
7814
- [vars$b.barBorderRadius]: '4px',
8146
+ [vars$c.barBackgroundColor]: globalRefs$5.colors.surface.main,
8147
+ [vars$c.barBorderRadius]: '4px',
7815
8148
 
7816
- [vars$b.animationDuration]: '2s',
7817
- [vars$b.animationTimingFunction]: 'linear',
7818
- [vars$b.animationIterationCount]: 'infinite',
7819
- [vars$b.verticalPadding]: '0.25em',
8149
+ [vars$c.animationDuration]: '2s',
8150
+ [vars$c.animationTimingFunction]: 'linear',
8151
+ [vars$c.animationIterationCount]: 'infinite',
8152
+ [vars$c.verticalPadding]: '0.25em',
7820
8153
 
7821
8154
  size: {
7822
- xs: { [vars$b.barHeight]: '2px' },
7823
- sm: { [vars$b.barHeight]: '4px' },
7824
- md: { [vars$b.barHeight]: '6px' },
7825
- lg: { [vars$b.barHeight]: '8px' },
8155
+ xs: { [vars$c.barHeight]: '2px' },
8156
+ sm: { [vars$c.barHeight]: '4px' },
8157
+ md: { [vars$c.barHeight]: '6px' },
8158
+ lg: { [vars$c.barHeight]: '8px' },
7826
8159
  },
7827
8160
 
7828
8161
  mode: {
7829
8162
  primary: {
7830
- [vars$b.barColor]: globalRefs$4.colors.primary.main,
8163
+ [vars$c.barColor]: globalRefs$5.colors.primary.main,
7831
8164
  },
7832
8165
  secondary: {
7833
- [vars$b.barColor]: globalRefs$4.colors.secondary.main,
8166
+ [vars$c.barColor]: globalRefs$5.colors.secondary.main,
7834
8167
  },
7835
8168
  },
7836
8169
 
7837
8170
  _hidden: {
7838
- [vars$b.hostDisplay]: 'none',
8171
+ [vars$c.hostDisplay]: 'none',
7839
8172
  },
7840
8173
  };
7841
8174
 
7842
8175
  var loaderLinear$1 = /*#__PURE__*/Object.freeze({
7843
8176
  __proto__: null,
7844
8177
  default: loaderLinear,
7845
- vars: vars$b
8178
+ vars: vars$c
7846
8179
  });
7847
8180
 
7848
- const globalRefs$3 = getThemeRefs(globals);
8181
+ const globalRefs$4 = getThemeRefs(globals);
7849
8182
  const compVars$1 = LoaderRadialClass.cssVarList;
7850
8183
 
7851
8184
  const [helperTheme, helperRefs, helperVars] = createHelperVars(
7852
8185
  {
7853
- spinnerColor: globalRefs$3.colors.surface.contrast,
8186
+ spinnerColor: globalRefs$4.colors.surface.contrast,
7854
8187
  mode: {
7855
8188
  primary: {
7856
- spinnerColor: globalRefs$3.colors.primary.main,
8189
+ spinnerColor: globalRefs$4.colors.primary.main,
7857
8190
  },
7858
8191
  secondary: {
7859
- spinnerColor: globalRefs$3.colors.secondary.main,
8192
+ spinnerColor: globalRefs$4.colors.secondary.main,
7860
8193
  },
7861
8194
  },
7862
8195
  },
7863
- componentName$s
8196
+ componentName$w
7864
8197
  );
7865
8198
 
7866
8199
  const loaderRadial = {
@@ -7889,7 +8222,7 @@ const loaderRadial = {
7889
8222
  [compVars$1.hostDisplay]: 'none',
7890
8223
  },
7891
8224
  };
7892
- const vars$a = {
8225
+ const vars$b = {
7893
8226
  ...compVars$1,
7894
8227
  ...helperVars,
7895
8228
  };
@@ -7897,73 +8230,108 @@ const vars$a = {
7897
8230
  var loaderRadial$1 = /*#__PURE__*/Object.freeze({
7898
8231
  __proto__: null,
7899
8232
  default: loaderRadial,
7900
- vars: vars$a
8233
+ vars: vars$b
7901
8234
  });
7902
8235
 
7903
- const globalRefs$2 = getThemeRefs(globals);
7904
- const vars$9 = ComboBoxClass.cssVarList;
8236
+ const globalRefs$3 = getThemeRefs(globals);
8237
+ const vars$a = ComboBoxClass.cssVarList;
7905
8238
 
7906
8239
  const comboBox = {
7907
- [vars$9.hostWidth]: refs.width,
7908
- [vars$9.fontSize]: refs.fontSize,
7909
- [vars$9.fontFamily]: refs.fontFamily,
7910
- [vars$9.labelTextColor]: refs.labelTextColor,
7911
- [vars$9.errorMessageTextColor]: refs.errorMessageTextColor,
7912
- [vars$9.inputBorderColor]: refs.borderColor,
7913
- [vars$9.inputBorderWidth]: refs.borderWidth,
7914
- [vars$9.inputBorderStyle]: refs.borderStyle,
7915
- [vars$9.inputBorderRadius]: refs.borderRadius,
7916
- [vars$9.inputOutlineColor]: refs.outlineColor,
7917
- [vars$9.inputOutlineOffset]: refs.outlineOffset,
7918
- [vars$9.inputOutlineWidth]: refs.outlineWidth,
7919
- [vars$9.inputOutlineStyle]: refs.outlineStyle,
7920
- [vars$9.labelRequiredIndicator]: refs.requiredIndicator,
7921
- [vars$9.inputValueTextColor]: refs.valueTextColor,
7922
- [vars$9.inputPlaceholderTextColor]: refs.placeholderTextColor,
7923
- [vars$9.inputBackgroundColor]: refs.backgroundColor,
7924
- [vars$9.inputHorizontalPadding]: refs.horizontalPadding,
7925
- [vars$9.inputHeight]: refs.inputHeight,
7926
- [vars$9.inputDropdownButtonColor]: globalRefs$2.colors.surface.contrast,
7927
- [vars$9.inputDropdownButtonCursor]: 'pointer',
7928
- [vars$9.inputDropdownButtonSize]: refs.toggleButtonSize,
7929
- [vars$9.inputDropdownButtonOffset]: globalRefs$2.spacing.xs,
8240
+ [vars$a.hostWidth]: refs.width,
8241
+ [vars$a.fontSize]: refs.fontSize,
8242
+ [vars$a.fontFamily]: refs.fontFamily,
8243
+ [vars$a.labelTextColor]: refs.labelTextColor,
8244
+ [vars$a.errorMessageTextColor]: refs.errorMessageTextColor,
8245
+ [vars$a.inputBorderColor]: refs.borderColor,
8246
+ [vars$a.inputBorderWidth]: refs.borderWidth,
8247
+ [vars$a.inputBorderStyle]: refs.borderStyle,
8248
+ [vars$a.inputBorderRadius]: refs.borderRadius,
8249
+ [vars$a.inputOutlineColor]: refs.outlineColor,
8250
+ [vars$a.inputOutlineOffset]: refs.outlineOffset,
8251
+ [vars$a.inputOutlineWidth]: refs.outlineWidth,
8252
+ [vars$a.inputOutlineStyle]: refs.outlineStyle,
8253
+ [vars$a.labelRequiredIndicator]: refs.requiredIndicator,
8254
+ [vars$a.inputValueTextColor]: refs.valueTextColor,
8255
+ [vars$a.inputPlaceholderTextColor]: refs.placeholderTextColor,
8256
+ [vars$a.inputBackgroundColor]: refs.backgroundColor,
8257
+ [vars$a.inputHorizontalPadding]: refs.horizontalPadding,
8258
+ [vars$a.inputHeight]: refs.inputHeight,
8259
+ [vars$a.inputDropdownButtonColor]: globalRefs$3.colors.surface.contrast,
8260
+ [vars$a.inputDropdownButtonCursor]: 'pointer',
8261
+ [vars$a.inputDropdownButtonSize]: refs.toggleButtonSize,
8262
+ [vars$a.inputDropdownButtonOffset]: globalRefs$3.spacing.xs,
7930
8263
 
7931
8264
  _readonly: {
7932
- [vars$9.inputDropdownButtonCursor]: 'default',
8265
+ [vars$a.inputDropdownButtonCursor]: 'default',
7933
8266
  },
7934
8267
 
7935
8268
  // Overlay theme exposed via the component:
7936
- [vars$9.overlayFontSize]: refs.fontSize,
7937
- [vars$9.overlayFontFamily]: refs.fontFamily,
7938
- [vars$9.overlayCursor]: 'pointer',
7939
- [vars$9.overlayItemBoxShadow]: 'none',
8269
+ [vars$a.overlayFontSize]: refs.fontSize,
8270
+ [vars$a.overlayFontFamily]: refs.fontFamily,
8271
+ [vars$a.overlayCursor]: 'pointer',
8272
+ [vars$a.overlayItemBoxShadow]: 'none',
7940
8273
 
7941
8274
  // Overlay direct theme:
7942
- [vars$9.overlay.minHeight]: '400px',
7943
- [vars$9.overlay.margin]: '0',
8275
+ [vars$a.overlay.minHeight]: '400px',
8276
+ [vars$a.overlay.margin]: '0',
7944
8277
  };
7945
8278
 
7946
8279
  var comboBox$1 = /*#__PURE__*/Object.freeze({
7947
8280
  __proto__: null,
7948
8281
  comboBox: comboBox,
7949
8282
  default: comboBox,
7950
- vars: vars$9
8283
+ vars: vars$a
7951
8284
  });
7952
8285
 
7953
- const vars$8 = ImageClass.cssVarList;
8286
+ const vars$9 = ImageClass.cssVarList;
7954
8287
 
7955
8288
  const image = {};
7956
8289
 
7957
8290
  var image$1 = /*#__PURE__*/Object.freeze({
7958
8291
  __proto__: null,
7959
8292
  default: image,
7960
- vars: vars$8
8293
+ vars: vars$9
7961
8294
  });
7962
8295
 
7963
- const vars$7 = PhoneFieldClass.cssVarList;
8296
+ const vars$8 = PhoneFieldClass.cssVarList;
7964
8297
 
7965
8298
  const phoneField = {
7966
- [vars$7.hostWidth]: refs.width,
8299
+ [vars$8.hostWidth]: refs.width,
8300
+ [vars$8.fontSize]: refs.fontSize,
8301
+ [vars$8.fontFamily]: refs.fontFamily,
8302
+ [vars$8.labelTextColor]: refs.labelTextColor,
8303
+ [vars$8.labelRequiredIndicator]: refs.requiredIndicator,
8304
+ [vars$8.errorMessageTextColor]: refs.errorMessageTextColor,
8305
+ [vars$8.inputValueTextColor]: refs.valueTextColor,
8306
+ [vars$8.inputPlaceholderTextColor]: refs.placeholderTextColor,
8307
+ [vars$8.inputBorderStyle]: refs.borderStyle,
8308
+ [vars$8.inputBorderWidth]: refs.borderWidth,
8309
+ [vars$8.inputBorderColor]: refs.borderColor,
8310
+ [vars$8.inputBorderRadius]: refs.borderRadius,
8311
+ [vars$8.inputOutlineStyle]: refs.outlineStyle,
8312
+ [vars$8.inputOutlineWidth]: refs.outlineWidth,
8313
+ [vars$8.inputOutlineColor]: refs.outlineColor,
8314
+ [vars$8.inputOutlineOffset]: refs.outlineOffset,
8315
+ [vars$8.phoneInputWidth]: refs.minWidth,
8316
+ [vars$8.countryCodeInputWidth]: '5em',
8317
+ [vars$8.countryCodeDropdownWidth]: '20em',
8318
+
8319
+ // '@overlay': {
8320
+ // overlayItemBackgroundColor: 'red'
8321
+ // }
8322
+ };
8323
+
8324
+ var phoneField$1 = /*#__PURE__*/Object.freeze({
8325
+ __proto__: null,
8326
+ default: phoneField,
8327
+ vars: vars$8
8328
+ });
8329
+
8330
+ const vars$7 = PhoneFieldInputBoxClass.cssVarList;
8331
+
8332
+ const phoneInputBoxField = {
8333
+ [vars$7.hostWidth]: '16em',
8334
+ [vars$7.hostMinWidth]: refs.minWidth,
7967
8335
  [vars$7.fontSize]: refs.fontSize,
7968
8336
  [vars$7.fontFamily]: refs.fontFamily,
7969
8337
  [vars$7.labelTextColor]: refs.labelTextColor,
@@ -7979,186 +8347,151 @@ const phoneField = {
7979
8347
  [vars$7.inputOutlineWidth]: refs.outlineWidth,
7980
8348
  [vars$7.inputOutlineColor]: refs.outlineColor,
7981
8349
  [vars$7.inputOutlineOffset]: refs.outlineOffset,
7982
- [vars$7.phoneInputWidth]: refs.minWidth,
7983
- [vars$7.countryCodeInputWidth]: '5em',
7984
- [vars$7.countryCodeDropdownWidth]: '20em',
7985
-
7986
- // '@overlay': {
7987
- // overlayItemBackgroundColor: 'red'
7988
- // }
7989
- };
7990
-
7991
- var phoneField$1 = /*#__PURE__*/Object.freeze({
7992
- __proto__: null,
7993
- default: phoneField,
7994
- vars: vars$7
7995
- });
7996
-
7997
- const vars$6 = PhoneFieldInputBoxClass.cssVarList;
7998
-
7999
- const phoneInputBoxField = {
8000
- [vars$6.hostWidth]: '16em',
8001
- [vars$6.hostMinWidth]: refs.minWidth,
8002
- [vars$6.fontSize]: refs.fontSize,
8003
- [vars$6.fontFamily]: refs.fontFamily,
8004
- [vars$6.labelTextColor]: refs.labelTextColor,
8005
- [vars$6.labelRequiredIndicator]: refs.requiredIndicator,
8006
- [vars$6.errorMessageTextColor]: refs.errorMessageTextColor,
8007
- [vars$6.inputValueTextColor]: refs.valueTextColor,
8008
- [vars$6.inputPlaceholderTextColor]: refs.placeholderTextColor,
8009
- [vars$6.inputBorderStyle]: refs.borderStyle,
8010
- [vars$6.inputBorderWidth]: refs.borderWidth,
8011
- [vars$6.inputBorderColor]: refs.borderColor,
8012
- [vars$6.inputBorderRadius]: refs.borderRadius,
8013
- [vars$6.inputOutlineStyle]: refs.outlineStyle,
8014
- [vars$6.inputOutlineWidth]: refs.outlineWidth,
8015
- [vars$6.inputOutlineColor]: refs.outlineColor,
8016
- [vars$6.inputOutlineOffset]: refs.outlineOffset,
8017
8350
  _fullWidth: {
8018
- [vars$6.hostWidth]: refs.width,
8351
+ [vars$7.hostWidth]: refs.width,
8019
8352
  },
8020
8353
  };
8021
8354
 
8022
8355
  var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
8023
8356
  __proto__: null,
8024
8357
  default: phoneInputBoxField,
8025
- vars: vars$6
8358
+ vars: vars$7
8026
8359
  });
8027
8360
 
8028
- const vars$5 = NewPasswordClass.cssVarList;
8361
+ const vars$6 = NewPasswordClass.cssVarList;
8029
8362
 
8030
8363
  const newPassword = {
8031
- [vars$5.hostWidth]: refs.width,
8032
- [vars$5.hostMinWidth]: refs.minWidth,
8033
- [vars$5.fontSize]: refs.fontSize,
8034
- [vars$5.fontFamily]: refs.fontFamily,
8035
- [vars$5.spaceBetweenInputs]: '1em',
8036
- [vars$5.errorMessageTextColor]: refs.errorMessageTextColor,
8364
+ [vars$6.hostWidth]: refs.width,
8365
+ [vars$6.hostMinWidth]: refs.minWidth,
8366
+ [vars$6.fontSize]: refs.fontSize,
8367
+ [vars$6.fontFamily]: refs.fontFamily,
8368
+ [vars$6.spaceBetweenInputs]: '1em',
8369
+ [vars$6.errorMessageTextColor]: refs.errorMessageTextColor,
8037
8370
 
8038
8371
  _required: {
8039
8372
  // NewPassword doesn't pass `required` attribute to its Password components.
8040
8373
  // That's why we fake the required indicator on each input.
8041
8374
  // We do that by injecting `::after` element, and populating it with requiredIndicator content.
8042
- [vars$5.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
8375
+ [vars$6.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
8043
8376
  },
8044
8377
  };
8045
8378
 
8046
8379
  var newPassword$1 = /*#__PURE__*/Object.freeze({
8047
8380
  __proto__: null,
8048
8381
  default: newPassword,
8049
- vars: vars$5
8382
+ vars: vars$6
8050
8383
  });
8051
8384
 
8052
- const vars$4 = UploadFileClass.cssVarList;
8385
+ const vars$5 = UploadFileClass.cssVarList;
8053
8386
 
8054
8387
  const uploadFile = {
8055
- [vars$4.labelTextColor]: refs.labelTextColor,
8056
- [vars$4.fontFamily]: refs.fontFamily,
8388
+ [vars$5.labelTextColor]: refs.labelTextColor,
8389
+ [vars$5.fontFamily]: refs.fontFamily,
8057
8390
 
8058
- [vars$4.iconSize]: '2em',
8391
+ [vars$5.iconSize]: '2em',
8059
8392
 
8060
- [vars$4.hostPadding]: '0.75em',
8061
- [vars$4.gap]: '0.5em',
8393
+ [vars$5.hostPadding]: '0.75em',
8394
+ [vars$5.gap]: '0.5em',
8062
8395
 
8063
- [vars$4.fontSize]: '16px',
8064
- [vars$4.titleFontWeight]: '500',
8065
- [vars$4.lineHeight]: '1em',
8396
+ [vars$5.fontSize]: '16px',
8397
+ [vars$5.titleFontWeight]: '500',
8398
+ [vars$5.lineHeight]: '1em',
8066
8399
 
8067
- [vars$4.borderWidth]: refs.borderWidth,
8068
- [vars$4.borderColor]: refs.borderColor,
8069
- [vars$4.borderRadius]: refs.borderRadius,
8070
- [vars$4.borderStyle]: 'dashed',
8400
+ [vars$5.borderWidth]: refs.borderWidth,
8401
+ [vars$5.borderColor]: refs.borderColor,
8402
+ [vars$5.borderRadius]: refs.borderRadius,
8403
+ [vars$5.borderStyle]: 'dashed',
8071
8404
 
8072
8405
  _required: {
8073
- [vars$4.requiredIndicator]: refs.requiredIndicator,
8406
+ [vars$5.requiredIndicator]: refs.requiredIndicator,
8074
8407
  },
8075
8408
 
8076
8409
  size: {
8077
8410
  xs: {
8078
- [vars$4.hostHeight]: '196px',
8079
- [vars$4.hostWidth]: '200px',
8080
- [vars$4.titleFontSize]: '0.875em',
8081
- [vars$4.descriptionFontSize]: '0.875em',
8082
- [vars$4.lineHeight]: '1.25em',
8411
+ [vars$5.hostHeight]: '196px',
8412
+ [vars$5.hostWidth]: '200px',
8413
+ [vars$5.titleFontSize]: '0.875em',
8414
+ [vars$5.descriptionFontSize]: '0.875em',
8415
+ [vars$5.lineHeight]: '1.25em',
8083
8416
  },
8084
8417
  sm: {
8085
- [vars$4.hostHeight]: '216px',
8086
- [vars$4.hostWidth]: '230px',
8087
- [vars$4.titleFontSize]: '1em',
8088
- [vars$4.descriptionFontSize]: '0.875em',
8089
- [vars$4.lineHeight]: '1.25em',
8418
+ [vars$5.hostHeight]: '216px',
8419
+ [vars$5.hostWidth]: '230px',
8420
+ [vars$5.titleFontSize]: '1em',
8421
+ [vars$5.descriptionFontSize]: '0.875em',
8422
+ [vars$5.lineHeight]: '1.25em',
8090
8423
  },
8091
8424
  md: {
8092
- [vars$4.hostHeight]: '256px',
8093
- [vars$4.hostWidth]: '312px',
8094
- [vars$4.titleFontSize]: '1.125em',
8095
- [vars$4.descriptionFontSize]: '1em',
8096
- [vars$4.lineHeight]: '1.5em',
8425
+ [vars$5.hostHeight]: '256px',
8426
+ [vars$5.hostWidth]: '312px',
8427
+ [vars$5.titleFontSize]: '1.125em',
8428
+ [vars$5.descriptionFontSize]: '1em',
8429
+ [vars$5.lineHeight]: '1.5em',
8097
8430
  },
8098
8431
  lg: {
8099
- [vars$4.hostHeight]: '280px',
8100
- [vars$4.hostWidth]: '336px',
8101
- [vars$4.titleFontSize]: '1.125em',
8102
- [vars$4.descriptionFontSize]: '1.125em',
8103
- [vars$4.lineHeight]: '1.75em',
8432
+ [vars$5.hostHeight]: '280px',
8433
+ [vars$5.hostWidth]: '336px',
8434
+ [vars$5.titleFontSize]: '1.125em',
8435
+ [vars$5.descriptionFontSize]: '1.125em',
8436
+ [vars$5.lineHeight]: '1.75em',
8104
8437
  },
8105
8438
  },
8106
8439
 
8107
8440
  _fullWidth: {
8108
- [vars$4.hostWidth]: refs.width,
8441
+ [vars$5.hostWidth]: refs.width,
8109
8442
  },
8110
8443
  };
8111
8444
 
8112
8445
  var uploadFile$1 = /*#__PURE__*/Object.freeze({
8113
8446
  __proto__: null,
8114
8447
  default: uploadFile,
8115
- vars: vars$4
8448
+ vars: vars$5
8116
8449
  });
8117
8450
 
8118
- const globalRefs$1 = getThemeRefs(globals);
8451
+ const globalRefs$2 = getThemeRefs(globals);
8119
8452
 
8120
- const vars$3 = ButtonSelectionGroupItemClass.cssVarList;
8453
+ const vars$4 = ButtonSelectionGroupItemClass.cssVarList;
8121
8454
 
8122
8455
  const buttonSelectionGroupItem = {
8123
- [vars$3.backgroundColor]: globalRefs$1.colors.surface.light,
8124
- [vars$3.labelTextColor]: globalRefs$1.colors.surface.contrast,
8125
- [vars$3.borderColor]: globalRefs$1.colors.surface.main,
8126
- [vars$3.borderStyle]: 'solid',
8127
- [vars$3.borderRadius]: globalRefs$1.radius.sm,
8456
+ [vars$4.backgroundColor]: globalRefs$2.colors.surface.light,
8457
+ [vars$4.labelTextColor]: globalRefs$2.colors.surface.contrast,
8458
+ [vars$4.borderColor]: globalRefs$2.colors.surface.main,
8459
+ [vars$4.borderStyle]: 'solid',
8460
+ [vars$4.borderRadius]: globalRefs$2.radius.sm,
8128
8461
 
8129
8462
  _hover: {
8130
- [vars$3.backgroundColor]: '#f4f5f5', // can we take it from the palette?
8463
+ [vars$4.backgroundColor]: '#f4f5f5', // can we take it from the palette?
8131
8464
  },
8132
8465
 
8133
8466
  _selected: {
8134
- [vars$3.borderColor]: globalRefs$1.colors.surface.contrast,
8135
- [vars$3.backgroundColor]: globalRefs$1.colors.surface.contrast,
8136
- [vars$3.labelTextColor]: globalRefs$1.colors.surface.light,
8467
+ [vars$4.borderColor]: globalRefs$2.colors.surface.contrast,
8468
+ [vars$4.backgroundColor]: globalRefs$2.colors.surface.contrast,
8469
+ [vars$4.labelTextColor]: globalRefs$2.colors.surface.light,
8137
8470
  },
8138
8471
  };
8139
8472
 
8140
8473
  var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
8141
8474
  __proto__: null,
8142
8475
  default: buttonSelectionGroupItem,
8143
- vars: vars$3
8476
+ vars: vars$4
8144
8477
  });
8145
8478
 
8146
- const globalRefs = getThemeRefs(globals);
8147
- const vars$2 = ButtonSelectionGroupClass.cssVarList;
8479
+ const globalRefs$1 = getThemeRefs(globals);
8480
+ const vars$3 = ButtonSelectionGroupClass.cssVarList;
8148
8481
 
8149
8482
  const buttonSelectionGroup = {
8150
- [vars$2.fontFamily]: refs.fontFamily,
8151
- [vars$2.labelTextColor]: refs.labelTextColor,
8152
- [vars$2.labelRequiredIndicator]: refs.requiredIndicator,
8153
- [vars$2.errorMessageTextColor]: refs.errorMessageTextColor,
8154
- [vars$2.itemsSpacing]: globalRefs.spacing.sm,
8155
- [vars$2.hostWidth]: refs.width,
8483
+ [vars$3.fontFamily]: refs.fontFamily,
8484
+ [vars$3.labelTextColor]: refs.labelTextColor,
8485
+ [vars$3.labelRequiredIndicator]: refs.requiredIndicator,
8486
+ [vars$3.errorMessageTextColor]: refs.errorMessageTextColor,
8487
+ [vars$3.itemsSpacing]: globalRefs$1.spacing.sm,
8488
+ [vars$3.hostWidth]: refs.width,
8156
8489
  };
8157
8490
 
8158
8491
  var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
8159
8492
  __proto__: null,
8160
8493
  default: buttonSelectionGroup,
8161
- vars: vars$2
8494
+ vars: vars$3
8162
8495
  });
8163
8496
 
8164
8497
  const componentName = getComponentName('modal');
@@ -8270,13 +8603,51 @@ const modal = {
8270
8603
  [compVars.overlayWidth]: '700px',
8271
8604
  };
8272
8605
 
8273
- const vars$1 = {
8606
+ const vars$2 = {
8274
8607
  ...compVars,
8275
8608
  };
8276
8609
 
8277
8610
  var modal$1 = /*#__PURE__*/Object.freeze({
8278
8611
  __proto__: null,
8279
8612
  default: modal,
8613
+ vars: vars$2
8614
+ });
8615
+
8616
+ const globalRefs = getThemeRefs(globals);
8617
+ const vars$1 = GridClass.cssVarList;
8618
+
8619
+ const grid = {
8620
+ [vars$1.hostWidth]: '100%',
8621
+ [vars$1.hostHeight]: '100%',
8622
+ [vars$1.hostMinHeight]: '400px',
8623
+
8624
+ [vars$1.fontSize]: refs.fontSize,
8625
+ [vars$1.fontFamily]: refs.fontFamily,
8626
+
8627
+ [vars$1.sortIndicatorsColor]: globalRefs.colors.primary.main,
8628
+ [vars$1.activeSortIndicator]: globalRefs.colors.primary.main,
8629
+ [vars$1.resizeHandleColor]: globalRefs.colors.surface.main,
8630
+
8631
+ [vars$1.inputBorderWidth]: refs.borderWidth,
8632
+ [vars$1.inputBorderStyle]: refs.borderStyle,
8633
+ [vars$1.inputBorderRadius]: refs.borderRadius,
8634
+ [vars$1.inputBorderColor]: 'transparent',
8635
+
8636
+ [vars$1.separatorColor]: refs.borderColor,
8637
+
8638
+ [vars$1.valueTextColor]: globalRefs.colors.surface.contrast,
8639
+ [vars$1.selectedBackgroundColor]: globalRefs.colors.primary.main,
8640
+ [vars$1.selectedTextColor]: globalRefs.colors.primary.contrast,
8641
+
8642
+ _bordered: {
8643
+ [vars$1.inputBorderColor]: refs.borderColor,
8644
+ },
8645
+ };
8646
+
8647
+ var grid$1 = /*#__PURE__*/Object.freeze({
8648
+ __proto__: null,
8649
+ default: grid,
8650
+ grid: grid,
8280
8651
  vars: vars$1
8281
8652
  });
8282
8653
 
@@ -8308,6 +8679,7 @@ const components = {
8308
8679
  buttonSelectionGroupItem: buttonSelectionGroupItem$1,
8309
8680
  buttonSelectionGroup: buttonSelectionGroup$1,
8310
8681
  modal: modal$1,
8682
+ grid: grid$1,
8311
8683
  };
8312
8684
 
8313
8685
  const theme = Object.keys(components).reduce(
@@ -8320,7 +8692,7 @@ const vars = Object.keys(components).reduce(
8320
8692
  );
8321
8693
 
8322
8694
  const defaultTheme = { globals, components: theme };
8323
- const themeVars = { globals: vars$s, components: vars };
8695
+ const themeVars = { globals: vars$t, components: vars };
8324
8696
 
8325
- export { ButtonClass, ButtonSelectionGroupClass, ButtonSelectionGroupItemClass, CheckboxClass, ContainerClass, DividerClass, EmailFieldClass, 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 };
8697
+ 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 };
8326
8698
  //# sourceMappingURL=index.esm.js.map