@descope/web-components-ui 1.0.223 → 1.0.225

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/cjs/index.cjs.js +895 -627
  2. package/dist/cjs/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +970 -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 +229 -0
  51. package/src/components/descope-grid/descope-grid-selection-column/index.js +62 -0
  52. package/src/components/descope-grid/descope-grid-status-column/index.js +25 -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,325 @@ 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 contentAttr = this.getAttribute('status');
6673
+ if (!contentAttr) {
6674
+ cell.innerHTML = model.item[this.path];
6675
+ return;
6676
+ }
6677
+
6678
+ const [active, inactive] = contentAttr.split(',');
6679
+ const label = model.item[this.path] ? active : inactive;
6680
+
6681
+ cell.innerHTML = `<div style="padding:0 0.25em; border-radius:4px; background:${
6682
+ model.item[this.path] ? 'lightgreen' : 'pink'
6683
+ };">${label}</div>`;
6684
+ }
6685
+ }
6686
+
6687
+ customElements.define(componentName$4, GridStatusColumnClass);
6688
+
6689
+ /* eslint-disable class-methods-use-this */
6690
+
6691
+ const componentName$3 = getComponentName('grid-selection-column');
6692
+
6693
+ const createCheckboxEle = () => {
6694
+ const checkbox = document.createElement('descope-checkbox');
6695
+
6696
+ checkbox.setAttribute('bordered', 'true');
6697
+ checkbox.setAttribute('size', 'xs');
6698
+
6699
+ return checkbox;
6700
+ };
6701
+
6702
+ const getIsAllItemsSelected = (grid) => grid.selectedItems.length === grid.items?.length;
6703
+
6704
+ class GridSelectionColumnClass extends GridSelectionColumn {
6705
+ _onHeaderRendererOrBindingChanged() {}
6706
+
6707
+ _headerRenderer(cell) {
6708
+ const grid = cell.parentNode;
6709
+
6710
+ let checkbox = cell.querySelector('descope-checkbox');
6711
+ if (!checkbox) {
6712
+ checkbox = createCheckboxEle();
6713
+
6714
+ checkbox.addEventListener('input', () => {
6715
+ const isAllItemsSelected = getIsAllItemsSelected(grid);
6716
+ if (isAllItemsSelected) {
6717
+ grid.selectedItems = [];
6718
+ } else {
6719
+ grid.selectedItems = grid.items;
6720
+ }
6721
+ });
6722
+
6723
+ cell.appendChild(checkbox);
6724
+ }
6725
+
6726
+ checkbox.setAttribute('checked', getIsAllItemsSelected(grid));
6727
+ }
6728
+
6729
+ _defaultRenderer(cell, col, model) {
6730
+ const grid = cell.parentNode;
6731
+
6732
+ let checkbox = cell.querySelector('descope-checkbox');
6733
+ if (!checkbox) {
6734
+ checkbox = createCheckboxEle();
6735
+ cell.appendChild(checkbox);
6736
+ }
6737
+
6738
+ checkbox.onchange = () => {
6739
+ checkbox.checked ? grid.selectItem(model.item) : grid.deselectItem(model.item);
6740
+ };
6741
+
6742
+ checkbox.setAttribute('checked', model.selected);
6743
+ }
6744
+ }
6745
+
6746
+ customElements.define(componentName$3, GridSelectionColumnClass);
6747
+
6748
+ const isValidDataType = (data) => {
6749
+ const isValid = Array.isArray(data);
6750
+ if (!isValid) {
6751
+ // eslint-disable-next-line no-console
6752
+ console.error('data must be an array, received:', data);
6753
+ }
6754
+
6755
+ return isValid;
6756
+ };
6757
+
6758
+ const componentName$2 = getComponentName('grid');
6759
+
6760
+ const GridMixin = (superclass) =>
6761
+ class GridMixinClass extends superclass {
6762
+ #columns;
6763
+
6764
+ init() {
6765
+ super.init?.();
6766
+ this.handleColumns();
6767
+ this.forwardSelectedItemsChange();
6768
+ }
6769
+
6770
+ forwardSelectedItemsChange() {
6771
+ this.baseElement.addEventListener('selected-items-changed', (e) => {
6772
+ this.dispatchEvent(
6773
+ new CustomEvent('selected-items-changed', {
6774
+ bubbles: true,
6775
+ composed: true,
6776
+ detail: e.detail,
6777
+ })
6778
+ );
6779
+ });
6780
+ }
6781
+
6782
+ attributeChangedCallback(attrName, oldValue, newValue) {
6783
+ super.attributeChangedCallback?.(attrName, oldValue, newValue);
6784
+
6785
+ if (attrName === 'columns') {
6786
+ this.setColumnsDataFromAttr();
6787
+ }
6788
+ }
6789
+
6790
+ handleColumns() {
6791
+ if (this.columnsAttr) {
6792
+ this.setColumnsDataFromAttr();
6793
+ } else if (this.children.length) {
6794
+ this.setColumnsFromChildren();
6795
+ }
6796
+ }
6797
+
6798
+ setColumnsFromChildren() {
6799
+ this.#columns = Array.from(this.children).map((child) => {
6800
+ return {
6801
+ path: child.getAttribute('path'),
6802
+ header: child.getAttribute('header'),
6803
+ type: child.localName.match('^descope-grid-(\\w+)-column$')?.[1] || 'text',
6804
+
6805
+ attrs: ['frozen', 'resizable', 'auto-width', 'status'].reduce((acc, attrName) => {
6806
+ const attrVal = child.getAttribute(attrName);
6807
+
6808
+ if (attrVal) {
6809
+ acc[attrName] = attrVal;
6810
+ }
6811
+
6812
+ return acc;
6813
+ }, {}),
6814
+ };
6815
+ });
6816
+ }
6817
+
6818
+ get columnsAttr() {
6819
+ return this.getAttribute('columns');
6820
+ }
6821
+
6822
+ setColumnsDataFromAttr() {
6823
+ try {
6824
+ const data = JSON.parse(this.columnsAttr);
6825
+ if (isValidDataType(data)) {
6826
+ this.columns = data;
6827
+ }
6828
+ } catch (e) {
6829
+ // eslint-disable-next-line no-console
6830
+ console.error('could not parse data string from attribute "columns" -', e.message);
6831
+ }
6832
+ }
6833
+
6834
+ // eslint-disable-next-line class-methods-use-this
6835
+ #renderColumn = ({ path, header, type, attrs }) => {
6836
+ const colAttrs = Object.entries(attrs)
6837
+ .map(([key, value]) => `${key}="${value}"`)
6838
+ .join(' ');
6839
+
6840
+ const tagName = `descope-grid-${type}-column`;
6841
+
6842
+ return `<${tagName} header="${header}" path="${path}" ${colAttrs}></${tagName}>`;
6843
+ };
6844
+
6845
+ get renderColumn() {
6846
+ return this.#renderColumn;
6847
+ }
6848
+
6849
+ set renderColumn(renderFn) {
6850
+ this.#renderColumn = renderFn;
6851
+ this.renderColumns();
6852
+ }
6853
+
6854
+ getColumnsTemplate() {
6855
+ return this.#columns?.reduce?.(
6856
+ (acc, item) => acc + (this.renderColumn?.(item || {}) || ''),
6857
+ ''
6858
+ );
6859
+ }
6860
+
6861
+ renderColumns() {
6862
+ const template = this.getColumnsTemplate();
6863
+ if (template) this.innerHTML = template;
6864
+ }
6865
+
6866
+ get grid() {
6867
+ return this.shadowRoot.querySelector('vaadin-grid');
6868
+ }
6869
+
6870
+ get data() {
6871
+ return this.grid.items;
6872
+ }
6873
+
6874
+ set data(data) {
6875
+ if (isValidDataType(data) && this.grid.items !== data) {
6876
+ this.grid.items = data;
6877
+
6878
+ if (this.grid.selectedItems) {
6879
+ const itemsIds = new Set(
6880
+ this.grid.items.map((item) => item[this.uniqueColumnId] ?? item)
6881
+ );
6882
+ this.grid.selectedItems = this.grid.selectedItems.filter((selectedItem) =>
6883
+ itemsIds.has(selectedItem[this.uniqueColumnId] ?? selectedItem)
6884
+ );
6885
+ }
6886
+ }
6887
+ }
6888
+
6889
+ get columns() {
6890
+ return this.#columns;
6891
+ }
6892
+
6893
+ set columns(data) {
6894
+ this.#columns = data;
6895
+ this.renderColumns();
6896
+ }
6897
+
6898
+ get paths() {
6899
+ return this.columns.map((col) => col.path);
6900
+ }
6901
+
6902
+ get uniqueColumnId() {
6903
+ return this.getAttribute('unique-column-id');
6904
+ }
6905
+ };
6906
+
6907
+ const {
6908
+ host,
6909
+ headerRow,
6910
+ contentRow,
6911
+ firstRow,
6912
+ sortIndicators,
6913
+ activeSortIndicator,
6914
+ selectedRow,
6915
+ rowSeparator,
6916
+ resizeHandle,
6917
+ } = {
6918
+ host: { selector: () => 'vaadin-grid' },
6919
+ headerRow: { selector: () => '::part(header-cell)' },
6920
+ contentRow: { selector: () => '::part(cell)' },
6921
+ firstRow: { selector: () => '::part(first-header-row-cell)' },
6922
+ selectedRow: { selector: () => '::part(selected-row-cell)' },
6923
+ sortIndicators: { selector: () => 'vaadin-grid-sorter::part(indicators)' },
6924
+ activeSortIndicator: { selector: () => 'vaadin-grid-sorter[direction]' },
6925
+ rowSeparator: { selector: () => 'vaadin-grid::part(body-cell)' },
6926
+ resizeHandle: { selector: () => '::part(resize-handle)' },
6927
+ };
6928
+
6929
+ const GridClass = compose(
6930
+ createStyleMixin({ componentNameOverride: getComponentName('input-wrapper') }),
6931
+ createStyleMixin({
6932
+ mappings: {
6933
+ hostWidth: { selector: () => ':host', property: 'width' },
6934
+ hostHeight: { selector: () => ':host', property: 'height' },
6935
+ hostMinHeight: { selector: () => ':host', property: 'min-height' },
6936
+ fontFamily: [{ ...headerRow }, { ...contentRow }],
6937
+ fontSize: [{ ...headerRow }, { ...contentRow }],
6938
+ fontWeight: { ...contentRow },
6939
+ valueTextColor: { ...contentRow, property: 'color' },
6940
+ sortIndicatorsColor: { ...sortIndicators, property: 'color' },
6941
+ activeSortIndicator: { ...activeSortIndicator, property: 'color' },
6942
+ inputBorderColor: { ...host, property: 'border-color' },
6943
+ inputBorderWidth: { ...host, property: 'border-width' },
6944
+ inputBorderStyle: { ...host, property: 'border-style' },
6945
+ inputBorderRadius: { ...host, property: 'border-radius' },
6946
+ selectedBackgroundColor: { ...selectedRow, property: 'background-color' },
6947
+ selectedTextColor: { ...selectedRow, property: 'color' },
6948
+ separatorColor: [
6949
+ { ...firstRow, property: 'border-bottom-color' },
6950
+ { ...rowSeparator, property: 'border-top-color' },
6951
+ ],
6952
+ resizeHandleColor: { ...resizeHandle, property: 'background-color' },
6953
+ },
6954
+ }),
6955
+ draggableMixin,
6956
+ componentNameValidationMixin,
6957
+ GridMixin
6958
+ )(
6959
+ createProxy({
6960
+ slots: [''],
6961
+ wrappedEleName: 'vaadin-grid',
6962
+ style: () => `
6963
+ vaadin-grid {
6964
+ overflow: hidden;
6965
+ height: 100%;
6966
+ min-height: 300px;
6967
+ }
6968
+ vaadin-grid-cell-content {
6969
+ display: flex;
6970
+ }
6971
+ `,
6972
+ excludeAttrsSync: ['columns', 'tabindex'],
6973
+ componentName: componentName$2,
6974
+ })
6975
+ );
6976
+
6977
+ customElements.define(componentName$2, GridClass);
6657
6978
 
6658
6979
  const getVarName = (path) => getCssVarName(DESCOPE_PREFIX, ...path);
6659
6980
 
@@ -6981,32 +7302,32 @@ const globals = {
6981
7302
  shadow,
6982
7303
  fonts,
6983
7304
  };
6984
- const vars$s = getThemeVars(globals);
7305
+ const vars$t = getThemeVars(globals);
6985
7306
 
6986
- const globalRefs$d = getThemeRefs(globals);
7307
+ const globalRefs$e = getThemeRefs(globals);
6987
7308
  const compVars$4 = ButtonClass.cssVarList;
6988
7309
 
6989
7310
  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,
7311
+ primary: globalRefs$e.colors.primary,
7312
+ secondary: globalRefs$e.colors.secondary,
7313
+ success: globalRefs$e.colors.success,
7314
+ error: globalRefs$e.colors.error,
7315
+ surface: globalRefs$e.colors.surface,
6995
7316
  };
6996
7317
 
6997
- const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$x);
7318
+ const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$B);
6998
7319
 
6999
7320
  const button = {
7000
7321
  ...helperTheme$3,
7001
7322
 
7002
- [compVars$4.fontFamily]: globalRefs$d.fonts.font1.family,
7323
+ [compVars$4.fontFamily]: globalRefs$e.fonts.font1.family,
7003
7324
 
7004
7325
  [compVars$4.cursor]: 'pointer',
7005
7326
  [compVars$4.hostHeight]: '3em',
7006
7327
  [compVars$4.hostWidth]: 'auto',
7007
7328
 
7008
- [compVars$4.borderRadius]: globalRefs$d.radius.sm,
7009
- [compVars$4.borderWidth]: globalRefs$d.border.xs,
7329
+ [compVars$4.borderRadius]: globalRefs$e.radius.sm,
7330
+ [compVars$4.borderWidth]: globalRefs$e.border.xs,
7010
7331
  [compVars$4.borderStyle]: 'solid',
7011
7332
  [compVars$4.borderColor]: 'transparent',
7012
7333
 
@@ -7042,10 +7363,10 @@ const button = {
7042
7363
  },
7043
7364
 
7044
7365
  _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,
7366
+ [helperVars$3.main]: globalRefs$e.colors.surface.main,
7367
+ [helperVars$3.dark]: globalRefs$e.colors.surface.dark,
7368
+ [helperVars$3.light]: globalRefs$e.colors.surface.light,
7369
+ [helperVars$3.contrast]: globalRefs$e.colors.surface.contrast,
7049
7370
  },
7050
7371
 
7051
7372
  variant: {
@@ -7087,11 +7408,11 @@ const button = {
7087
7408
  },
7088
7409
 
7089
7410
  _focused: {
7090
- [compVars$4.outlineColor]: globalRefs$d.colors.surface.main,
7411
+ [compVars$4.outlineColor]: globalRefs$e.colors.surface.main,
7091
7412
  },
7092
7413
  };
7093
7414
 
7094
- const vars$r = {
7415
+ const vars$s = {
7095
7416
  ...compVars$4,
7096
7417
  ...helperVars$3,
7097
7418
  };
@@ -7099,25 +7420,25 @@ const vars$r = {
7099
7420
  var button$1 = /*#__PURE__*/Object.freeze({
7100
7421
  __proto__: null,
7101
7422
  default: button,
7102
- vars: vars$r
7423
+ vars: vars$s
7103
7424
  });
7104
7425
 
7105
7426
  const componentName$1 = getComponentName('input-wrapper');
7106
- const globalRefs$c = getThemeRefs(globals);
7427
+ const globalRefs$d = getThemeRefs(globals);
7107
7428
 
7108
- const [theme$1, refs, vars$q] = createHelperVars(
7429
+ const [theme$1, refs, vars$r] = createHelperVars(
7109
7430
  {
7110
- labelTextColor: globalRefs$c.colors.surface.contrast,
7111
- valueTextColor: globalRefs$c.colors.surface.contrast,
7112
- placeholderTextColor: globalRefs$c.colors.surface.main,
7431
+ labelTextColor: globalRefs$d.colors.surface.contrast,
7432
+ valueTextColor: globalRefs$d.colors.surface.contrast,
7433
+ placeholderTextColor: globalRefs$d.colors.surface.main,
7113
7434
  requiredIndicator: "'*'",
7114
- errorMessageTextColor: globalRefs$c.colors.error.main,
7435
+ errorMessageTextColor: globalRefs$d.colors.error.main,
7115
7436
 
7116
- borderWidth: globalRefs$c.border.xs,
7117
- borderRadius: globalRefs$c.radius.xs,
7437
+ borderWidth: globalRefs$d.border.xs,
7438
+ borderRadius: globalRefs$d.radius.xs,
7118
7439
  borderColor: 'transparent',
7119
7440
 
7120
- outlineWidth: globalRefs$c.border.sm,
7441
+ outlineWidth: globalRefs$d.border.sm,
7121
7442
  outlineStyle: 'solid',
7122
7443
  outlineColor: 'transparent',
7123
7444
  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 +7449,9 @@ const [theme$1, refs, vars$q] = createHelperVars(
7128
7449
  horizontalPadding: '0.5em',
7129
7450
  verticalPadding: '0.5em',
7130
7451
 
7131
- backgroundColor: globalRefs$c.colors.surface.light,
7452
+ backgroundColor: globalRefs$d.colors.surface.light,
7132
7453
 
7133
- fontFamily: globalRefs$c.fonts.font1.family,
7454
+ fontFamily: globalRefs$d.fonts.font1.family,
7134
7455
 
7135
7456
  size: {
7136
7457
  xs: { fontSize: '12px' },
@@ -7144,27 +7465,27 @@ const [theme$1, refs, vars$q] = createHelperVars(
7144
7465
  },
7145
7466
 
7146
7467
  _focused: {
7147
- outlineColor: globalRefs$c.colors.surface.main,
7468
+ outlineColor: globalRefs$d.colors.surface.main,
7148
7469
  _invalid: {
7149
- outlineColor: globalRefs$c.colors.error.main,
7470
+ outlineColor: globalRefs$d.colors.error.main,
7150
7471
  },
7151
7472
  },
7152
7473
 
7153
7474
  _bordered: {
7154
- outlineWidth: globalRefs$c.border.xs,
7155
- borderColor: globalRefs$c.colors.surface.main,
7475
+ outlineWidth: globalRefs$d.border.xs,
7476
+ borderColor: globalRefs$d.colors.surface.main,
7156
7477
  borderStyle: 'solid',
7157
7478
  _invalid: {
7158
- borderColor: globalRefs$c.colors.error.main,
7479
+ borderColor: globalRefs$d.colors.error.main,
7159
7480
  },
7160
7481
  },
7161
7482
 
7162
7483
  _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,
7484
+ labelTextColor: globalRefs$d.colors.surface.main,
7485
+ borderColor: globalRefs$d.colors.surface.main,
7486
+ valueTextColor: globalRefs$d.colors.surface.dark,
7487
+ placeholderTextColor: globalRefs$d.colors.surface.dark,
7488
+ backgroundColor: globalRefs$d.colors.surface.main,
7168
7489
  },
7169
7490
  },
7170
7491
  componentName$1
@@ -7174,21 +7495,56 @@ var inputWrapper = /*#__PURE__*/Object.freeze({
7174
7495
  __proto__: null,
7175
7496
  default: theme$1,
7176
7497
  refs: refs,
7177
- vars: vars$q
7498
+ vars: vars$r
7178
7499
  });
7179
7500
 
7180
- const vars$p = TextFieldClass.cssVarList;
7501
+ const vars$q = TextFieldClass.cssVarList;
7181
7502
 
7182
7503
  const textField = {
7504
+ [vars$q.hostWidth]: refs.width,
7505
+ [vars$q.hostMinWidth]: refs.minWidth,
7506
+ [vars$q.fontSize]: refs.fontSize,
7507
+ [vars$q.fontFamily]: refs.fontFamily,
7508
+ [vars$q.labelTextColor]: refs.labelTextColor,
7509
+ [vars$q.labelRequiredIndicator]: refs.requiredIndicator,
7510
+ [vars$q.errorMessageTextColor]: refs.errorMessageTextColor,
7511
+ [vars$q.inputValueTextColor]: refs.valueTextColor,
7512
+ [vars$q.inputPlaceholderColor]: refs.placeholderTextColor,
7513
+ [vars$q.inputBorderWidth]: refs.borderWidth,
7514
+ [vars$q.inputBorderStyle]: refs.borderStyle,
7515
+ [vars$q.inputBorderColor]: refs.borderColor,
7516
+ [vars$q.inputBorderRadius]: refs.borderRadius,
7517
+ [vars$q.inputOutlineWidth]: refs.outlineWidth,
7518
+ [vars$q.inputOutlineStyle]: refs.outlineStyle,
7519
+ [vars$q.inputOutlineColor]: refs.outlineColor,
7520
+ [vars$q.inputOutlineOffset]: refs.outlineOffset,
7521
+ [vars$q.inputBackgroundColor]: refs.backgroundColor,
7522
+ [vars$q.inputHeight]: refs.inputHeight,
7523
+ [vars$q.inputHorizontalPadding]: refs.horizontalPadding,
7524
+ };
7525
+
7526
+ var textField$1 = /*#__PURE__*/Object.freeze({
7527
+ __proto__: null,
7528
+ default: textField,
7529
+ textField: textField,
7530
+ vars: vars$q
7531
+ });
7532
+
7533
+ const globalRefs$c = getThemeRefs(globals);
7534
+ const vars$p = PasswordClass.cssVarList;
7535
+
7536
+ const password = {
7183
7537
  [vars$p.hostWidth]: refs.width,
7184
- [vars$p.hostMinWidth]: refs.minWidth,
7185
7538
  [vars$p.fontSize]: refs.fontSize,
7186
7539
  [vars$p.fontFamily]: refs.fontFamily,
7187
7540
  [vars$p.labelTextColor]: refs.labelTextColor,
7188
- [vars$p.labelRequiredIndicator]: refs.requiredIndicator,
7189
7541
  [vars$p.errorMessageTextColor]: refs.errorMessageTextColor,
7542
+ [vars$p.inputHorizontalPadding]: refs.horizontalPadding,
7543
+ [vars$p.inputHeight]: refs.inputHeight,
7544
+ [vars$p.inputBackgroundColor]: refs.backgroundColor,
7545
+ [vars$p.labelRequiredIndicator]: refs.requiredIndicator,
7190
7546
  [vars$p.inputValueTextColor]: refs.valueTextColor,
7191
- [vars$p.inputPlaceholderColor]: refs.placeholderTextColor,
7547
+ [vars$p.inputPlaceholderTextColor]: refs.placeholderTextColor,
7192
7548
  [vars$p.inputBorderWidth]: refs.borderWidth,
7193
7549
  [vars$p.inputBorderStyle]: refs.borderStyle,
7194
7550
  [vars$p.inputBorderColor]: refs.borderColor,
@@ -7197,33 +7553,27 @@ const textField = {
7197
7553
  [vars$p.inputOutlineStyle]: refs.outlineStyle,
7198
7554
  [vars$p.inputOutlineColor]: refs.outlineColor,
7199
7555
  [vars$p.inputOutlineOffset]: refs.outlineOffset,
7200
- [vars$p.inputBackgroundColor]: refs.backgroundColor,
7201
- [vars$p.inputHeight]: refs.inputHeight,
7202
- [vars$p.inputHorizontalPadding]: refs.horizontalPadding,
7556
+ [vars$p.revealButtonOffset]: globalRefs$c.spacing.md,
7557
+ [vars$p.revealButtonSize]: refs.toggleButtonSize,
7203
7558
  };
7204
7559
 
7205
- var textField$1 = /*#__PURE__*/Object.freeze({
7560
+ var password$1 = /*#__PURE__*/Object.freeze({
7206
7561
  __proto__: null,
7207
- default: textField,
7208
- textField: textField,
7562
+ default: password,
7209
7563
  vars: vars$p
7210
7564
  });
7211
7565
 
7212
- const globalRefs$b = getThemeRefs(globals);
7213
- const vars$o = PasswordClass.cssVarList;
7566
+ const vars$o = NumberFieldClass.cssVarList;
7214
7567
 
7215
- const password = {
7568
+ const numberField = {
7216
7569
  [vars$o.hostWidth]: refs.width,
7570
+ [vars$o.hostMinWidth]: refs.minWidth,
7217
7571
  [vars$o.fontSize]: refs.fontSize,
7218
7572
  [vars$o.fontFamily]: refs.fontFamily,
7219
7573
  [vars$o.labelTextColor]: refs.labelTextColor,
7220
7574
  [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
7575
  [vars$o.inputValueTextColor]: refs.valueTextColor,
7226
- [vars$o.inputPlaceholderTextColor]: refs.placeholderTextColor,
7576
+ [vars$o.inputPlaceholderColor]: refs.placeholderTextColor,
7227
7577
  [vars$o.inputBorderWidth]: refs.borderWidth,
7228
7578
  [vars$o.inputBorderStyle]: refs.borderStyle,
7229
7579
  [vars$o.inputBorderColor]: refs.borderColor,
@@ -7232,19 +7582,21 @@ const password = {
7232
7582
  [vars$o.inputOutlineStyle]: refs.outlineStyle,
7233
7583
  [vars$o.inputOutlineColor]: refs.outlineColor,
7234
7584
  [vars$o.inputOutlineOffset]: refs.outlineOffset,
7235
- [vars$o.revealButtonOffset]: globalRefs$b.spacing.md,
7236
- [vars$o.revealButtonSize]: refs.toggleButtonSize,
7585
+ [vars$o.inputBackgroundColor]: refs.backgroundColor,
7586
+ [vars$o.labelRequiredIndicator]: refs.requiredIndicator,
7587
+ [vars$o.inputHorizontalPadding]: refs.horizontalPadding,
7588
+ [vars$o.inputHeight]: refs.inputHeight,
7237
7589
  };
7238
7590
 
7239
- var password$1 = /*#__PURE__*/Object.freeze({
7591
+ var numberField$1 = /*#__PURE__*/Object.freeze({
7240
7592
  __proto__: null,
7241
- default: password,
7593
+ default: numberField,
7242
7594
  vars: vars$o
7243
7595
  });
7244
7596
 
7245
- const vars$n = NumberFieldClass.cssVarList;
7597
+ const vars$n = EmailFieldClass.cssVarList;
7246
7598
 
7247
- const numberField = {
7599
+ const emailField = {
7248
7600
  [vars$n.hostWidth]: refs.width,
7249
7601
  [vars$n.hostMinWidth]: refs.minWidth,
7250
7602
  [vars$n.fontSize]: refs.fontSize,
@@ -7252,6 +7604,7 @@ const numberField = {
7252
7604
  [vars$n.labelTextColor]: refs.labelTextColor,
7253
7605
  [vars$n.errorMessageTextColor]: refs.errorMessageTextColor,
7254
7606
  [vars$n.inputValueTextColor]: refs.valueTextColor,
7607
+ [vars$n.labelRequiredIndicator]: refs.requiredIndicator,
7255
7608
  [vars$n.inputPlaceholderColor]: refs.placeholderTextColor,
7256
7609
  [vars$n.inputBorderWidth]: refs.borderWidth,
7257
7610
  [vars$n.inputBorderStyle]: refs.borderStyle,
@@ -7262,197 +7615,165 @@ const numberField = {
7262
7615
  [vars$n.inputOutlineColor]: refs.outlineColor,
7263
7616
  [vars$n.inputOutlineOffset]: refs.outlineOffset,
7264
7617
  [vars$n.inputBackgroundColor]: refs.backgroundColor,
7265
- [vars$n.labelRequiredIndicator]: refs.requiredIndicator,
7266
7618
  [vars$n.inputHorizontalPadding]: refs.horizontalPadding,
7267
7619
  [vars$n.inputHeight]: refs.inputHeight,
7268
7620
  };
7269
7621
 
7270
- var numberField$1 = /*#__PURE__*/Object.freeze({
7622
+ var emailField$1 = /*#__PURE__*/Object.freeze({
7271
7623
  __proto__: null,
7272
- default: numberField,
7624
+ default: emailField,
7273
7625
  vars: vars$n
7274
7626
  });
7275
7627
 
7276
- const vars$m = EmailFieldClass.cssVarList;
7628
+ const globalRefs$b = getThemeRefs(globals);
7629
+ const vars$m = TextAreaClass.cssVarList;
7277
7630
 
7278
- const emailField = {
7631
+ const textArea = {
7279
7632
  [vars$m.hostWidth]: refs.width,
7280
7633
  [vars$m.hostMinWidth]: refs.minWidth,
7281
7634
  [vars$m.fontSize]: refs.fontSize,
7282
7635
  [vars$m.fontFamily]: refs.fontFamily,
7283
7636
  [vars$m.labelTextColor]: refs.labelTextColor,
7637
+ [vars$m.labelRequiredIndicator]: refs.requiredIndicator,
7284
7638
  [vars$m.errorMessageTextColor]: refs.errorMessageTextColor,
7639
+ [vars$m.inputBackgroundColor]: refs.backgroundColor,
7285
7640
  [vars$m.inputValueTextColor]: refs.valueTextColor,
7286
- [vars$m.labelRequiredIndicator]: refs.requiredIndicator,
7287
- [vars$m.inputPlaceholderColor]: refs.placeholderTextColor,
7641
+ [vars$m.inputPlaceholderTextColor]: refs.placeholderTextColor,
7642
+ [vars$m.inputBorderRadius]: refs.borderRadius,
7288
7643
  [vars$m.inputBorderWidth]: refs.borderWidth,
7289
7644
  [vars$m.inputBorderStyle]: refs.borderStyle,
7290
7645
  [vars$m.inputBorderColor]: refs.borderColor,
7291
- [vars$m.inputBorderRadius]: refs.borderRadius,
7292
7646
  [vars$m.inputOutlineWidth]: refs.outlineWidth,
7293
7647
  [vars$m.inputOutlineStyle]: refs.outlineStyle,
7294
7648
  [vars$m.inputOutlineColor]: refs.outlineColor,
7295
7649
  [vars$m.inputOutlineOffset]: refs.outlineOffset,
7296
- [vars$m.inputBackgroundColor]: refs.backgroundColor,
7297
- [vars$m.inputHorizontalPadding]: refs.horizontalPadding,
7298
- [vars$m.inputHeight]: refs.inputHeight,
7650
+ [vars$m.inputResizeType]: 'vertical',
7651
+ [vars$m.inputMinHeight]: '5em',
7652
+
7653
+ _disabled: {
7654
+ [vars$m.inputBackgroundColor]: globalRefs$b.colors.surface.light,
7655
+ },
7656
+
7657
+ _readonly: {
7658
+ [vars$m.inputResizeType]: 'none',
7659
+ },
7299
7660
  };
7300
7661
 
7301
- var emailField$1 = /*#__PURE__*/Object.freeze({
7662
+ var textArea$1 = /*#__PURE__*/Object.freeze({
7302
7663
  __proto__: null,
7303
- default: emailField,
7664
+ default: textArea,
7304
7665
  vars: vars$m
7305
7666
  });
7306
7667
 
7307
- const globalRefs$a = getThemeRefs(globals);
7308
- const vars$l = TextAreaClass.cssVarList;
7668
+ const vars$l = CheckboxClass.cssVarList;
7669
+ const checkboxSize = '1.35em';
7309
7670
 
7310
- const textArea = {
7671
+ const checkbox = {
7311
7672
  [vars$l.hostWidth]: refs.width,
7312
- [vars$l.hostMinWidth]: refs.minWidth,
7313
7673
  [vars$l.fontSize]: refs.fontSize,
7314
7674
  [vars$l.fontFamily]: refs.fontFamily,
7315
7675
  [vars$l.labelTextColor]: refs.labelTextColor,
7316
7676
  [vars$l.labelRequiredIndicator]: refs.requiredIndicator,
7677
+ [vars$l.labelFontWeight]: '400',
7678
+ [vars$l.labelLineHeight]: checkboxSize,
7679
+ [vars$l.labelSpacing]: '1em',
7317
7680
  [vars$l.errorMessageTextColor]: refs.errorMessageTextColor,
7318
- [vars$l.inputBackgroundColor]: refs.backgroundColor,
7319
- [vars$l.inputValueTextColor]: refs.valueTextColor,
7320
- [vars$l.inputPlaceholderTextColor]: refs.placeholderTextColor,
7681
+ [vars$l.inputOutlineWidth]: refs.outlineWidth,
7682
+ [vars$l.inputOutlineOffset]: refs.outlineOffset,
7683
+ [vars$l.inputOutlineColor]: refs.outlineColor,
7684
+ [vars$l.inputOutlineStyle]: refs.outlineStyle,
7321
7685
  [vars$l.inputBorderRadius]: refs.borderRadius,
7686
+ [vars$l.inputBorderColor]: refs.borderColor,
7322
7687
  [vars$l.inputBorderWidth]: refs.borderWidth,
7323
7688
  [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',
7689
+ [vars$l.inputBackgroundColor]: refs.backgroundColor,
7690
+ [vars$l.inputSize]: checkboxSize,
7331
7691
 
7332
- _disabled: {
7333
- [vars$l.inputBackgroundColor]: globalRefs$a.colors.surface.light,
7692
+ _checked: {
7693
+ [vars$l.inputValueTextColor]: refs.valueTextColor,
7334
7694
  },
7335
7695
 
7336
- _readonly: {
7337
- [vars$l.inputResizeType]: 'none',
7696
+ _disabled: {
7697
+ [vars$l.labelTextColor]: refs.labelTextColor,
7338
7698
  },
7339
7699
  };
7340
7700
 
7341
- var textArea$1 = /*#__PURE__*/Object.freeze({
7701
+ var checkbox$1 = /*#__PURE__*/Object.freeze({
7342
7702
  __proto__: null,
7343
- default: textArea,
7703
+ default: checkbox,
7344
7704
  vars: vars$l
7345
7705
  });
7346
7706
 
7347
- const vars$k = CheckboxClass.cssVarList;
7348
- const checkboxSize = '1.35em';
7707
+ const knobMargin = '2px';
7708
+ const checkboxHeight = '1.25em';
7349
7709
 
7350
- const checkbox = {
7710
+ const globalRefs$a = getThemeRefs(globals);
7711
+ const vars$k = SwitchToggleClass.cssVarList;
7712
+
7713
+ const switchToggle = {
7351
7714
  [vars$k.hostWidth]: refs.width,
7352
7715
  [vars$k.fontSize]: refs.fontSize,
7353
7716
  [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,
7717
+
7360
7718
  [vars$k.inputOutlineWidth]: refs.outlineWidth,
7361
7719
  [vars$k.inputOutlineOffset]: refs.outlineOffset,
7362
7720
  [vars$k.inputOutlineColor]: refs.outlineColor,
7363
7721
  [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
7722
 
7371
- _checked: {
7372
- [vars$k.inputValueTextColor]: refs.valueTextColor,
7373
- },
7723
+ [vars$k.trackBorderStyle]: refs.borderStyle,
7724
+ [vars$k.trackBorderWidth]: refs.borderWidth, // var `trackBorderWidth` used outside the theme for `left` margin calculation
7725
+ [vars$k.trackBorderColor]: refs.borderColor,
7726
+ [vars$k.trackBackgroundColor]: 'none',
7727
+ [vars$k.trackBorderRadius]: globalRefs$a.radius.md,
7728
+ [vars$k.trackWidth]: '2.5em', // var `trackWidth` used outside the theme for `left` margin calculation
7729
+ [vars$k.trackHeight]: checkboxHeight,
7730
+
7731
+ [vars$k.knobSize]: `calc(1em - ${knobMargin})`,
7732
+ [vars$k.knobRadius]: '50%',
7733
+ [vars$k.knobTopOffset]: '1px',
7734
+ [vars$k.knobLeftOffset]: knobMargin,
7735
+ [vars$k.knobColor]: refs.valueTextColor,
7736
+ [vars$k.knobTransitionDuration]: '0.3s',
7374
7737
 
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,
7738
+ [vars$k.labelTextColor]: refs.labelTextColor,
7739
+ [vars$k.labelFontWeight]: '400',
7740
+ [vars$k.labelLineHeight]: '1.35em',
7741
+ [vars$k.labelSpacing]: '1em',
7742
+ [vars$k.labelRequiredIndicator]: refs.requiredIndicator,
7743
+ [vars$k.errorMessageTextColor]: refs.errorMessageTextColor,
7423
7744
 
7424
7745
  _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,
7746
+ [vars$k.trackBorderColor]: refs.borderColor,
7747
+ [vars$k.trackBackgroundColor]: refs.backgroundColor,
7748
+ [vars$k.knobLeftOffset]: `calc(100% - var(${vars$k.knobSize}) - ${knobMargin})`,
7749
+ [vars$k.knobColor]: refs.valueTextColor,
7750
+ [vars$k.knobTextColor]: refs.valueTextColor,
7430
7751
  },
7431
7752
 
7432
7753
  _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,
7754
+ [vars$k.knobColor]: globalRefs$a.colors.surface.light,
7755
+ [vars$k.trackBorderColor]: globalRefs$a.colors.surface.main,
7756
+ [vars$k.trackBackgroundColor]: globalRefs$a.colors.surface.main,
7757
+ [vars$k.labelTextColor]: refs.labelTextColor,
7437
7758
  _checked: {
7438
- [vars$j.knobColor]: globalRefs$9.colors.surface.light,
7439
- [vars$j.trackBackgroundColor]: globalRefs$9.colors.surface.main,
7759
+ [vars$k.knobColor]: globalRefs$a.colors.surface.light,
7760
+ [vars$k.trackBackgroundColor]: globalRefs$a.colors.surface.main,
7440
7761
  },
7441
7762
  },
7442
7763
 
7443
7764
  _invalid: {
7444
- [vars$j.trackBorderColor]: globalRefs$9.colors.error.main,
7445
- [vars$j.knobColor]: globalRefs$9.colors.error.main,
7765
+ [vars$k.trackBorderColor]: globalRefs$a.colors.error.main,
7766
+ [vars$k.knobColor]: globalRefs$a.colors.error.main,
7446
7767
  },
7447
7768
  };
7448
7769
 
7449
7770
  var switchToggle$1 = /*#__PURE__*/Object.freeze({
7450
7771
  __proto__: null,
7451
7772
  default: switchToggle,
7452
- vars: vars$j
7773
+ vars: vars$k
7453
7774
  });
7454
7775
 
7455
- const globalRefs$8 = getThemeRefs(globals);
7776
+ const globalRefs$9 = getThemeRefs(globals);
7456
7777
 
7457
7778
  const compVars$3 = ContainerClass.cssVarList;
7458
7779
 
@@ -7474,7 +7795,7 @@ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
7474
7795
  horizontalAlignment,
7475
7796
  shadowColor: '#00000020', // if we want to support transparency vars, we should use different color format
7476
7797
  },
7477
- componentName$r
7798
+ componentName$v
7478
7799
  );
7479
7800
 
7480
7801
  const { shadowColor } = helperRefs$2;
@@ -7484,8 +7805,8 @@ const container = {
7484
7805
 
7485
7806
  [compVars$3.hostWidth]: '100%',
7486
7807
  [compVars$3.boxShadow]: 'none',
7487
- [compVars$3.backgroundColor]: globalRefs$8.colors.surface.light,
7488
- [compVars$3.color]: globalRefs$8.colors.surface.contrast,
7808
+ [compVars$3.backgroundColor]: globalRefs$9.colors.surface.light,
7809
+ [compVars$3.color]: globalRefs$9.colors.surface.contrast,
7489
7810
  [compVars$3.borderRadius]: '0px',
7490
7811
 
7491
7812
  verticalPadding: {
@@ -7532,34 +7853,34 @@ const container = {
7532
7853
 
7533
7854
  shadow: {
7534
7855
  sm: {
7535
- [compVars$3.boxShadow]: `${globalRefs$8.shadow.wide.sm} ${shadowColor}, ${globalRefs$8.shadow.narrow.sm} ${shadowColor}`,
7856
+ [compVars$3.boxShadow]: `${globalRefs$9.shadow.wide.sm} ${shadowColor}, ${globalRefs$9.shadow.narrow.sm} ${shadowColor}`,
7536
7857
  },
7537
7858
  md: {
7538
- [compVars$3.boxShadow]: `${globalRefs$8.shadow.wide.md} ${shadowColor}, ${globalRefs$8.shadow.narrow.md} ${shadowColor}`,
7859
+ [compVars$3.boxShadow]: `${globalRefs$9.shadow.wide.md} ${shadowColor}, ${globalRefs$9.shadow.narrow.md} ${shadowColor}`,
7539
7860
  },
7540
7861
  lg: {
7541
- [compVars$3.boxShadow]: `${globalRefs$8.shadow.wide.lg} ${shadowColor}, ${globalRefs$8.shadow.narrow.lg} ${shadowColor}`,
7862
+ [compVars$3.boxShadow]: `${globalRefs$9.shadow.wide.lg} ${shadowColor}, ${globalRefs$9.shadow.narrow.lg} ${shadowColor}`,
7542
7863
  },
7543
7864
  xl: {
7544
- [compVars$3.boxShadow]: `${globalRefs$8.shadow.wide.xl} ${shadowColor}, ${globalRefs$8.shadow.narrow.xl} ${shadowColor}`,
7865
+ [compVars$3.boxShadow]: `${globalRefs$9.shadow.wide.xl} ${shadowColor}, ${globalRefs$9.shadow.narrow.xl} ${shadowColor}`,
7545
7866
  },
7546
7867
  '2xl': {
7547
7868
  [helperVars$2.shadowColor]: '#00000050', // mimic daisyUI shadow settings
7548
- [compVars$3.boxShadow]: `${globalRefs$8.shadow.wide['2xl']} ${shadowColor}`,
7869
+ [compVars$3.boxShadow]: `${globalRefs$9.shadow.wide['2xl']} ${shadowColor}`,
7549
7870
  },
7550
7871
  },
7551
7872
 
7552
7873
  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'] },
7874
+ sm: { [compVars$3.borderRadius]: globalRefs$9.radius.sm },
7875
+ md: { [compVars$3.borderRadius]: globalRefs$9.radius.md },
7876
+ lg: { [compVars$3.borderRadius]: globalRefs$9.radius.lg },
7877
+ xl: { [compVars$3.borderRadius]: globalRefs$9.radius.xl },
7878
+ '2xl': { [compVars$3.borderRadius]: globalRefs$9.radius['2xl'] },
7879
+ '3xl': { [compVars$3.borderRadius]: globalRefs$9.radius['3xl'] },
7559
7880
  },
7560
7881
  };
7561
7882
 
7562
- const vars$i = {
7883
+ const vars$j = {
7563
7884
  ...compVars$3,
7564
7885
  ...helperVars$2,
7565
7886
  };
@@ -7567,152 +7888,152 @@ const vars$i = {
7567
7888
  var container$1 = /*#__PURE__*/Object.freeze({
7568
7889
  __proto__: null,
7569
7890
  default: container,
7570
- vars: vars$i
7891
+ vars: vars$j
7571
7892
  });
7572
7893
 
7573
- const vars$h = LogoClass.cssVarList;
7894
+ const vars$i = LogoClass.cssVarList;
7574
7895
 
7575
7896
  const logo$1 = {
7576
- [vars$h.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
7897
+ [vars$i.fallbackUrl]: 'url(https://imgs.descope.com/components/no-logo-placeholder.svg)',
7577
7898
  };
7578
7899
 
7579
7900
  var logo$2 = /*#__PURE__*/Object.freeze({
7580
7901
  __proto__: null,
7581
7902
  default: logo$1,
7582
- vars: vars$h
7903
+ vars: vars$i
7583
7904
  });
7584
7905
 
7585
- const vars$g = TotpImageClass.cssVarList;
7906
+ const vars$h = TotpImageClass.cssVarList;
7586
7907
 
7587
7908
  const logo = {
7588
- [vars$g.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
7909
+ [vars$h.fallbackUrl]: 'url(https://imgs.descope.com/components/totp-placeholder.svg)',
7589
7910
  };
7590
7911
 
7591
7912
  var totpImage = /*#__PURE__*/Object.freeze({
7592
7913
  __proto__: null,
7593
7914
  default: logo,
7594
- vars: vars$g
7915
+ vars: vars$h
7595
7916
  });
7596
7917
 
7597
- const globalRefs$7 = getThemeRefs(globals);
7598
- const vars$f = TextClass.cssVarList;
7918
+ const globalRefs$8 = getThemeRefs(globals);
7919
+ const vars$g = TextClass.cssVarList;
7599
7920
 
7600
7921
  const text = {
7601
- [vars$f.textLineHeight]: '1.35em',
7602
- [vars$f.textAlign]: 'left',
7603
- [vars$f.textColor]: globalRefs$7.colors.surface.dark,
7922
+ [vars$g.textLineHeight]: '1.35em',
7923
+ [vars$g.textAlign]: 'left',
7924
+ [vars$g.textColor]: globalRefs$8.colors.surface.dark,
7604
7925
  variant: {
7605
7926
  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,
7927
+ [vars$g.fontSize]: globalRefs$8.typography.h1.size,
7928
+ [vars$g.fontWeight]: globalRefs$8.typography.h1.weight,
7929
+ [vars$g.fontFamily]: globalRefs$8.typography.h1.font,
7609
7930
  },
7610
7931
  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,
7932
+ [vars$g.fontSize]: globalRefs$8.typography.h2.size,
7933
+ [vars$g.fontWeight]: globalRefs$8.typography.h2.weight,
7934
+ [vars$g.fontFamily]: globalRefs$8.typography.h2.font,
7614
7935
  },
7615
7936
  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,
7937
+ [vars$g.fontSize]: globalRefs$8.typography.h3.size,
7938
+ [vars$g.fontWeight]: globalRefs$8.typography.h3.weight,
7939
+ [vars$g.fontFamily]: globalRefs$8.typography.h3.font,
7619
7940
  },
7620
7941
  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,
7942
+ [vars$g.fontSize]: globalRefs$8.typography.subtitle1.size,
7943
+ [vars$g.fontWeight]: globalRefs$8.typography.subtitle1.weight,
7944
+ [vars$g.fontFamily]: globalRefs$8.typography.subtitle1.font,
7624
7945
  },
7625
7946
  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,
7947
+ [vars$g.fontSize]: globalRefs$8.typography.subtitle2.size,
7948
+ [vars$g.fontWeight]: globalRefs$8.typography.subtitle2.weight,
7949
+ [vars$g.fontFamily]: globalRefs$8.typography.subtitle2.font,
7629
7950
  },
7630
7951
  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,
7952
+ [vars$g.fontSize]: globalRefs$8.typography.body1.size,
7953
+ [vars$g.fontWeight]: globalRefs$8.typography.body1.weight,
7954
+ [vars$g.fontFamily]: globalRefs$8.typography.body1.font,
7634
7955
  },
7635
7956
  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,
7957
+ [vars$g.fontSize]: globalRefs$8.typography.body2.size,
7958
+ [vars$g.fontWeight]: globalRefs$8.typography.body2.weight,
7959
+ [vars$g.fontFamily]: globalRefs$8.typography.body2.font,
7639
7960
  },
7640
7961
  },
7641
7962
 
7642
7963
  mode: {
7643
7964
  primary: {
7644
- [vars$f.textColor]: globalRefs$7.colors.primary.main,
7965
+ [vars$g.textColor]: globalRefs$8.colors.primary.main,
7645
7966
  },
7646
7967
  secondary: {
7647
- [vars$f.textColor]: globalRefs$7.colors.secondary.main,
7968
+ [vars$g.textColor]: globalRefs$8.colors.secondary.main,
7648
7969
  },
7649
7970
  error: {
7650
- [vars$f.textColor]: globalRefs$7.colors.error.main,
7971
+ [vars$g.textColor]: globalRefs$8.colors.error.main,
7651
7972
  },
7652
7973
  success: {
7653
- [vars$f.textColor]: globalRefs$7.colors.success.main,
7974
+ [vars$g.textColor]: globalRefs$8.colors.success.main,
7654
7975
  },
7655
7976
  },
7656
7977
 
7657
7978
  textAlign: {
7658
- right: { [vars$f.textAlign]: 'right' },
7659
- left: { [vars$f.textAlign]: 'left' },
7660
- center: { [vars$f.textAlign]: 'center' },
7979
+ right: { [vars$g.textAlign]: 'right' },
7980
+ left: { [vars$g.textAlign]: 'left' },
7981
+ center: { [vars$g.textAlign]: 'center' },
7661
7982
  },
7662
7983
 
7663
7984
  _fullWidth: {
7664
- [vars$f.hostWidth]: '100%',
7985
+ [vars$g.hostWidth]: '100%',
7665
7986
  },
7666
7987
 
7667
7988
  _italic: {
7668
- [vars$f.fontStyle]: 'italic',
7989
+ [vars$g.fontStyle]: 'italic',
7669
7990
  },
7670
7991
 
7671
7992
  _uppercase: {
7672
- [vars$f.textTransform]: 'uppercase',
7993
+ [vars$g.textTransform]: 'uppercase',
7673
7994
  },
7674
7995
 
7675
7996
  _lowercase: {
7676
- [vars$f.textTransform]: 'lowercase',
7997
+ [vars$g.textTransform]: 'lowercase',
7677
7998
  },
7678
7999
  };
7679
8000
 
7680
8001
  var text$1 = /*#__PURE__*/Object.freeze({
7681
8002
  __proto__: null,
7682
8003
  default: text,
7683
- vars: vars$f
8004
+ vars: vars$g
7684
8005
  });
7685
8006
 
7686
- const globalRefs$6 = getThemeRefs(globals);
7687
- const vars$e = LinkClass.cssVarList;
8007
+ const globalRefs$7 = getThemeRefs(globals);
8008
+ const vars$f = LinkClass.cssVarList;
7688
8009
 
7689
8010
  const link = {
7690
- [vars$e.cursor]: 'pointer',
8011
+ [vars$f.cursor]: 'pointer',
7691
8012
 
7692
- [vars$e.textColor]: globalRefs$6.colors.primary.main,
8013
+ [vars$f.textColor]: globalRefs$7.colors.primary.main,
7693
8014
 
7694
8015
  textAlign: {
7695
- right: { [vars$e.textAlign]: 'right' },
7696
- left: { [vars$e.textAlign]: 'left' },
7697
- center: { [vars$e.textAlign]: 'center' },
8016
+ right: { [vars$f.textAlign]: 'right' },
8017
+ left: { [vars$f.textAlign]: 'left' },
8018
+ center: { [vars$f.textAlign]: 'center' },
7698
8019
  },
7699
8020
 
7700
8021
  _fullWidth: {
7701
- [vars$e.hostWidth]: '100%',
8022
+ [vars$f.hostWidth]: '100%',
7702
8023
  },
7703
8024
 
7704
8025
  mode: {
7705
8026
  primary: {
7706
- [vars$e.textColor]: globalRefs$6.colors.primary.main,
8027
+ [vars$f.textColor]: globalRefs$7.colors.primary.main,
7707
8028
  },
7708
8029
  secondary: {
7709
- [vars$e.textColor]: globalRefs$6.colors.secondary.main,
8030
+ [vars$f.textColor]: globalRefs$7.colors.secondary.main,
7710
8031
  },
7711
8032
  error: {
7712
- [vars$e.textColor]: globalRefs$6.colors.error.main,
8033
+ [vars$f.textColor]: globalRefs$7.colors.error.main,
7713
8034
  },
7714
8035
  success: {
7715
- [vars$e.textColor]: globalRefs$6.colors.success.main,
8036
+ [vars$f.textColor]: globalRefs$7.colors.success.main,
7716
8037
  },
7717
8038
  },
7718
8039
  };
@@ -7720,10 +8041,10 @@ const link = {
7720
8041
  var link$1 = /*#__PURE__*/Object.freeze({
7721
8042
  __proto__: null,
7722
8043
  default: link,
7723
- vars: vars$e
8044
+ vars: vars$f
7724
8045
  });
7725
8046
 
7726
- const globalRefs$5 = getThemeRefs(globals);
8047
+ const globalRefs$6 = getThemeRefs(globals);
7727
8048
  const compVars$2 = DividerClass.cssVarList;
7728
8049
 
7729
8050
  const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
@@ -7731,7 +8052,7 @@ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
7731
8052
  thickness: '2px',
7732
8053
  spacing: '10px',
7733
8054
  },
7734
- componentName$q
8055
+ componentName$u
7735
8056
  );
7736
8057
 
7737
8058
  const divider = {
@@ -7741,7 +8062,7 @@ const divider = {
7741
8062
  [compVars$2.flexDirection]: 'row',
7742
8063
  [compVars$2.alignSelf]: 'stretch',
7743
8064
  [compVars$2.hostWidth]: '100%',
7744
- [compVars$2.stripeColor]: globalRefs$5.colors.surface.main,
8065
+ [compVars$2.stripeColor]: globalRefs$6.colors.surface.main,
7745
8066
  [compVars$2.stripeColorOpacity]: '0.5',
7746
8067
  [compVars$2.stripeHorizontalThickness]: helperRefs$1.thickness,
7747
8068
  [compVars$2.labelTextWidth]: 'fit-content',
@@ -7760,7 +8081,7 @@ const divider = {
7760
8081
  },
7761
8082
  };
7762
8083
 
7763
- const vars$d = {
8084
+ const vars$e = {
7764
8085
  ...compVars$2,
7765
8086
  ...helperVars$1,
7766
8087
  };
@@ -7768,99 +8089,99 @@ const vars$d = {
7768
8089
  var divider$1 = /*#__PURE__*/Object.freeze({
7769
8090
  __proto__: null,
7770
8091
  default: divider,
7771
- vars: vars$d
8092
+ vars: vars$e
7772
8093
  });
7773
8094
 
7774
- const vars$c = PasscodeClass.cssVarList;
8095
+ const vars$d = PasscodeClass.cssVarList;
7775
8096
 
7776
8097
  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,
8098
+ [vars$d.fontFamily]: refs.fontFamily,
8099
+ [vars$d.fontSize]: refs.fontSize,
8100
+ [vars$d.labelTextColor]: refs.labelTextColor,
8101
+ [vars$d.labelRequiredIndicator]: refs.requiredIndicator,
8102
+ [vars$d.errorMessageTextColor]: refs.errorMessageTextColor,
8103
+ [vars$d.digitValueTextColor]: refs.valueTextColor,
8104
+ [vars$d.digitPadding]: '0',
8105
+ [vars$d.digitTextAlign]: 'center',
8106
+ [vars$d.digitSpacing]: '4px',
8107
+ [vars$d.hostWidth]: refs.width,
8108
+ [vars$d.digitOutlineColor]: 'transparent',
8109
+ [vars$d.digitOutlineWidth]: refs.outlineWidth,
8110
+ [vars$d.focusedDigitFieldOutlineColor]: refs.outlineColor,
8111
+ [vars$d.digitSize]: refs.inputHeight,
7791
8112
 
7792
8113
  _hideCursor: {
7793
- [vars$c.digitCaretTextColor]: 'transparent',
8114
+ [vars$d.digitCaretTextColor]: 'transparent',
7794
8115
  },
7795
8116
  };
7796
8117
 
7797
8118
  var passcode$1 = /*#__PURE__*/Object.freeze({
7798
8119
  __proto__: null,
7799
8120
  default: passcode,
7800
- vars: vars$c
8121
+ vars: vars$d
7801
8122
  });
7802
8123
 
7803
- const globalRefs$4 = getThemeRefs(globals);
7804
- const vars$b = LoaderLinearClass.cssVarList;
8124
+ const globalRefs$5 = getThemeRefs(globals);
8125
+ const vars$c = LoaderLinearClass.cssVarList;
7805
8126
 
7806
8127
  const loaderLinear = {
7807
- [vars$b.hostDisplay]: 'inline-block',
7808
- [vars$b.hostWidth]: '100%',
8128
+ [vars$c.hostDisplay]: 'inline-block',
8129
+ [vars$c.hostWidth]: '100%',
7809
8130
 
7810
- [vars$b.barColor]: globalRefs$4.colors.surface.contrast,
7811
- [vars$b.barWidth]: '20%',
8131
+ [vars$c.barColor]: globalRefs$5.colors.surface.contrast,
8132
+ [vars$c.barWidth]: '20%',
7812
8133
 
7813
- [vars$b.barBackgroundColor]: globalRefs$4.colors.surface.main,
7814
- [vars$b.barBorderRadius]: '4px',
8134
+ [vars$c.barBackgroundColor]: globalRefs$5.colors.surface.main,
8135
+ [vars$c.barBorderRadius]: '4px',
7815
8136
 
7816
- [vars$b.animationDuration]: '2s',
7817
- [vars$b.animationTimingFunction]: 'linear',
7818
- [vars$b.animationIterationCount]: 'infinite',
7819
- [vars$b.verticalPadding]: '0.25em',
8137
+ [vars$c.animationDuration]: '2s',
8138
+ [vars$c.animationTimingFunction]: 'linear',
8139
+ [vars$c.animationIterationCount]: 'infinite',
8140
+ [vars$c.verticalPadding]: '0.25em',
7820
8141
 
7821
8142
  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' },
8143
+ xs: { [vars$c.barHeight]: '2px' },
8144
+ sm: { [vars$c.barHeight]: '4px' },
8145
+ md: { [vars$c.barHeight]: '6px' },
8146
+ lg: { [vars$c.barHeight]: '8px' },
7826
8147
  },
7827
8148
 
7828
8149
  mode: {
7829
8150
  primary: {
7830
- [vars$b.barColor]: globalRefs$4.colors.primary.main,
8151
+ [vars$c.barColor]: globalRefs$5.colors.primary.main,
7831
8152
  },
7832
8153
  secondary: {
7833
- [vars$b.barColor]: globalRefs$4.colors.secondary.main,
8154
+ [vars$c.barColor]: globalRefs$5.colors.secondary.main,
7834
8155
  },
7835
8156
  },
7836
8157
 
7837
8158
  _hidden: {
7838
- [vars$b.hostDisplay]: 'none',
8159
+ [vars$c.hostDisplay]: 'none',
7839
8160
  },
7840
8161
  };
7841
8162
 
7842
8163
  var loaderLinear$1 = /*#__PURE__*/Object.freeze({
7843
8164
  __proto__: null,
7844
8165
  default: loaderLinear,
7845
- vars: vars$b
8166
+ vars: vars$c
7846
8167
  });
7847
8168
 
7848
- const globalRefs$3 = getThemeRefs(globals);
8169
+ const globalRefs$4 = getThemeRefs(globals);
7849
8170
  const compVars$1 = LoaderRadialClass.cssVarList;
7850
8171
 
7851
8172
  const [helperTheme, helperRefs, helperVars] = createHelperVars(
7852
8173
  {
7853
- spinnerColor: globalRefs$3.colors.surface.contrast,
8174
+ spinnerColor: globalRefs$4.colors.surface.contrast,
7854
8175
  mode: {
7855
8176
  primary: {
7856
- spinnerColor: globalRefs$3.colors.primary.main,
8177
+ spinnerColor: globalRefs$4.colors.primary.main,
7857
8178
  },
7858
8179
  secondary: {
7859
- spinnerColor: globalRefs$3.colors.secondary.main,
8180
+ spinnerColor: globalRefs$4.colors.secondary.main,
7860
8181
  },
7861
8182
  },
7862
8183
  },
7863
- componentName$s
8184
+ componentName$w
7864
8185
  );
7865
8186
 
7866
8187
  const loaderRadial = {
@@ -7889,7 +8210,7 @@ const loaderRadial = {
7889
8210
  [compVars$1.hostDisplay]: 'none',
7890
8211
  },
7891
8212
  };
7892
- const vars$a = {
8213
+ const vars$b = {
7893
8214
  ...compVars$1,
7894
8215
  ...helperVars,
7895
8216
  };
@@ -7897,73 +8218,108 @@ const vars$a = {
7897
8218
  var loaderRadial$1 = /*#__PURE__*/Object.freeze({
7898
8219
  __proto__: null,
7899
8220
  default: loaderRadial,
7900
- vars: vars$a
8221
+ vars: vars$b
7901
8222
  });
7902
8223
 
7903
- const globalRefs$2 = getThemeRefs(globals);
7904
- const vars$9 = ComboBoxClass.cssVarList;
8224
+ const globalRefs$3 = getThemeRefs(globals);
8225
+ const vars$a = ComboBoxClass.cssVarList;
7905
8226
 
7906
8227
  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,
8228
+ [vars$a.hostWidth]: refs.width,
8229
+ [vars$a.fontSize]: refs.fontSize,
8230
+ [vars$a.fontFamily]: refs.fontFamily,
8231
+ [vars$a.labelTextColor]: refs.labelTextColor,
8232
+ [vars$a.errorMessageTextColor]: refs.errorMessageTextColor,
8233
+ [vars$a.inputBorderColor]: refs.borderColor,
8234
+ [vars$a.inputBorderWidth]: refs.borderWidth,
8235
+ [vars$a.inputBorderStyle]: refs.borderStyle,
8236
+ [vars$a.inputBorderRadius]: refs.borderRadius,
8237
+ [vars$a.inputOutlineColor]: refs.outlineColor,
8238
+ [vars$a.inputOutlineOffset]: refs.outlineOffset,
8239
+ [vars$a.inputOutlineWidth]: refs.outlineWidth,
8240
+ [vars$a.inputOutlineStyle]: refs.outlineStyle,
8241
+ [vars$a.labelRequiredIndicator]: refs.requiredIndicator,
8242
+ [vars$a.inputValueTextColor]: refs.valueTextColor,
8243
+ [vars$a.inputPlaceholderTextColor]: refs.placeholderTextColor,
8244
+ [vars$a.inputBackgroundColor]: refs.backgroundColor,
8245
+ [vars$a.inputHorizontalPadding]: refs.horizontalPadding,
8246
+ [vars$a.inputHeight]: refs.inputHeight,
8247
+ [vars$a.inputDropdownButtonColor]: globalRefs$3.colors.surface.contrast,
8248
+ [vars$a.inputDropdownButtonCursor]: 'pointer',
8249
+ [vars$a.inputDropdownButtonSize]: refs.toggleButtonSize,
8250
+ [vars$a.inputDropdownButtonOffset]: globalRefs$3.spacing.xs,
7930
8251
 
7931
8252
  _readonly: {
7932
- [vars$9.inputDropdownButtonCursor]: 'default',
8253
+ [vars$a.inputDropdownButtonCursor]: 'default',
7933
8254
  },
7934
8255
 
7935
8256
  // 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',
8257
+ [vars$a.overlayFontSize]: refs.fontSize,
8258
+ [vars$a.overlayFontFamily]: refs.fontFamily,
8259
+ [vars$a.overlayCursor]: 'pointer',
8260
+ [vars$a.overlayItemBoxShadow]: 'none',
7940
8261
 
7941
8262
  // Overlay direct theme:
7942
- [vars$9.overlay.minHeight]: '400px',
7943
- [vars$9.overlay.margin]: '0',
8263
+ [vars$a.overlay.minHeight]: '400px',
8264
+ [vars$a.overlay.margin]: '0',
7944
8265
  };
7945
8266
 
7946
8267
  var comboBox$1 = /*#__PURE__*/Object.freeze({
7947
8268
  __proto__: null,
7948
8269
  comboBox: comboBox,
7949
8270
  default: comboBox,
7950
- vars: vars$9
8271
+ vars: vars$a
7951
8272
  });
7952
8273
 
7953
- const vars$8 = ImageClass.cssVarList;
8274
+ const vars$9 = ImageClass.cssVarList;
7954
8275
 
7955
8276
  const image = {};
7956
8277
 
7957
8278
  var image$1 = /*#__PURE__*/Object.freeze({
7958
8279
  __proto__: null,
7959
8280
  default: image,
7960
- vars: vars$8
8281
+ vars: vars$9
7961
8282
  });
7962
8283
 
7963
- const vars$7 = PhoneFieldClass.cssVarList;
8284
+ const vars$8 = PhoneFieldClass.cssVarList;
7964
8285
 
7965
8286
  const phoneField = {
7966
- [vars$7.hostWidth]: refs.width,
8287
+ [vars$8.hostWidth]: refs.width,
8288
+ [vars$8.fontSize]: refs.fontSize,
8289
+ [vars$8.fontFamily]: refs.fontFamily,
8290
+ [vars$8.labelTextColor]: refs.labelTextColor,
8291
+ [vars$8.labelRequiredIndicator]: refs.requiredIndicator,
8292
+ [vars$8.errorMessageTextColor]: refs.errorMessageTextColor,
8293
+ [vars$8.inputValueTextColor]: refs.valueTextColor,
8294
+ [vars$8.inputPlaceholderTextColor]: refs.placeholderTextColor,
8295
+ [vars$8.inputBorderStyle]: refs.borderStyle,
8296
+ [vars$8.inputBorderWidth]: refs.borderWidth,
8297
+ [vars$8.inputBorderColor]: refs.borderColor,
8298
+ [vars$8.inputBorderRadius]: refs.borderRadius,
8299
+ [vars$8.inputOutlineStyle]: refs.outlineStyle,
8300
+ [vars$8.inputOutlineWidth]: refs.outlineWidth,
8301
+ [vars$8.inputOutlineColor]: refs.outlineColor,
8302
+ [vars$8.inputOutlineOffset]: refs.outlineOffset,
8303
+ [vars$8.phoneInputWidth]: refs.minWidth,
8304
+ [vars$8.countryCodeInputWidth]: '5em',
8305
+ [vars$8.countryCodeDropdownWidth]: '20em',
8306
+
8307
+ // '@overlay': {
8308
+ // overlayItemBackgroundColor: 'red'
8309
+ // }
8310
+ };
8311
+
8312
+ var phoneField$1 = /*#__PURE__*/Object.freeze({
8313
+ __proto__: null,
8314
+ default: phoneField,
8315
+ vars: vars$8
8316
+ });
8317
+
8318
+ const vars$7 = PhoneFieldInputBoxClass.cssVarList;
8319
+
8320
+ const phoneInputBoxField = {
8321
+ [vars$7.hostWidth]: '16em',
8322
+ [vars$7.hostMinWidth]: refs.minWidth,
7967
8323
  [vars$7.fontSize]: refs.fontSize,
7968
8324
  [vars$7.fontFamily]: refs.fontFamily,
7969
8325
  [vars$7.labelTextColor]: refs.labelTextColor,
@@ -7979,186 +8335,151 @@ const phoneField = {
7979
8335
  [vars$7.inputOutlineWidth]: refs.outlineWidth,
7980
8336
  [vars$7.inputOutlineColor]: refs.outlineColor,
7981
8337
  [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
8338
  _fullWidth: {
8018
- [vars$6.hostWidth]: refs.width,
8339
+ [vars$7.hostWidth]: refs.width,
8019
8340
  },
8020
8341
  };
8021
8342
 
8022
8343
  var phoneInputBoxField$1 = /*#__PURE__*/Object.freeze({
8023
8344
  __proto__: null,
8024
8345
  default: phoneInputBoxField,
8025
- vars: vars$6
8346
+ vars: vars$7
8026
8347
  });
8027
8348
 
8028
- const vars$5 = NewPasswordClass.cssVarList;
8349
+ const vars$6 = NewPasswordClass.cssVarList;
8029
8350
 
8030
8351
  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,
8352
+ [vars$6.hostWidth]: refs.width,
8353
+ [vars$6.hostMinWidth]: refs.minWidth,
8354
+ [vars$6.fontSize]: refs.fontSize,
8355
+ [vars$6.fontFamily]: refs.fontFamily,
8356
+ [vars$6.spaceBetweenInputs]: '1em',
8357
+ [vars$6.errorMessageTextColor]: refs.errorMessageTextColor,
8037
8358
 
8038
8359
  _required: {
8039
8360
  // NewPassword doesn't pass `required` attribute to its Password components.
8040
8361
  // That's why we fake the required indicator on each input.
8041
8362
  // 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
8363
+ [vars$6.inputsRequiredIndicator]: refs.requiredIndicator, // used to populate required content for NewPassword input fields outside the theme
8043
8364
  },
8044
8365
  };
8045
8366
 
8046
8367
  var newPassword$1 = /*#__PURE__*/Object.freeze({
8047
8368
  __proto__: null,
8048
8369
  default: newPassword,
8049
- vars: vars$5
8370
+ vars: vars$6
8050
8371
  });
8051
8372
 
8052
- const vars$4 = UploadFileClass.cssVarList;
8373
+ const vars$5 = UploadFileClass.cssVarList;
8053
8374
 
8054
8375
  const uploadFile = {
8055
- [vars$4.labelTextColor]: refs.labelTextColor,
8056
- [vars$4.fontFamily]: refs.fontFamily,
8376
+ [vars$5.labelTextColor]: refs.labelTextColor,
8377
+ [vars$5.fontFamily]: refs.fontFamily,
8057
8378
 
8058
- [vars$4.iconSize]: '2em',
8379
+ [vars$5.iconSize]: '2em',
8059
8380
 
8060
- [vars$4.hostPadding]: '0.75em',
8061
- [vars$4.gap]: '0.5em',
8381
+ [vars$5.hostPadding]: '0.75em',
8382
+ [vars$5.gap]: '0.5em',
8062
8383
 
8063
- [vars$4.fontSize]: '16px',
8064
- [vars$4.titleFontWeight]: '500',
8065
- [vars$4.lineHeight]: '1em',
8384
+ [vars$5.fontSize]: '16px',
8385
+ [vars$5.titleFontWeight]: '500',
8386
+ [vars$5.lineHeight]: '1em',
8066
8387
 
8067
- [vars$4.borderWidth]: refs.borderWidth,
8068
- [vars$4.borderColor]: refs.borderColor,
8069
- [vars$4.borderRadius]: refs.borderRadius,
8070
- [vars$4.borderStyle]: 'dashed',
8388
+ [vars$5.borderWidth]: refs.borderWidth,
8389
+ [vars$5.borderColor]: refs.borderColor,
8390
+ [vars$5.borderRadius]: refs.borderRadius,
8391
+ [vars$5.borderStyle]: 'dashed',
8071
8392
 
8072
8393
  _required: {
8073
- [vars$4.requiredIndicator]: refs.requiredIndicator,
8394
+ [vars$5.requiredIndicator]: refs.requiredIndicator,
8074
8395
  },
8075
8396
 
8076
8397
  size: {
8077
8398
  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',
8399
+ [vars$5.hostHeight]: '196px',
8400
+ [vars$5.hostWidth]: '200px',
8401
+ [vars$5.titleFontSize]: '0.875em',
8402
+ [vars$5.descriptionFontSize]: '0.875em',
8403
+ [vars$5.lineHeight]: '1.25em',
8083
8404
  },
8084
8405
  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',
8406
+ [vars$5.hostHeight]: '216px',
8407
+ [vars$5.hostWidth]: '230px',
8408
+ [vars$5.titleFontSize]: '1em',
8409
+ [vars$5.descriptionFontSize]: '0.875em',
8410
+ [vars$5.lineHeight]: '1.25em',
8090
8411
  },
8091
8412
  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',
8413
+ [vars$5.hostHeight]: '256px',
8414
+ [vars$5.hostWidth]: '312px',
8415
+ [vars$5.titleFontSize]: '1.125em',
8416
+ [vars$5.descriptionFontSize]: '1em',
8417
+ [vars$5.lineHeight]: '1.5em',
8097
8418
  },
8098
8419
  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',
8420
+ [vars$5.hostHeight]: '280px',
8421
+ [vars$5.hostWidth]: '336px',
8422
+ [vars$5.titleFontSize]: '1.125em',
8423
+ [vars$5.descriptionFontSize]: '1.125em',
8424
+ [vars$5.lineHeight]: '1.75em',
8104
8425
  },
8105
8426
  },
8106
8427
 
8107
8428
  _fullWidth: {
8108
- [vars$4.hostWidth]: refs.width,
8429
+ [vars$5.hostWidth]: refs.width,
8109
8430
  },
8110
8431
  };
8111
8432
 
8112
8433
  var uploadFile$1 = /*#__PURE__*/Object.freeze({
8113
8434
  __proto__: null,
8114
8435
  default: uploadFile,
8115
- vars: vars$4
8436
+ vars: vars$5
8116
8437
  });
8117
8438
 
8118
- const globalRefs$1 = getThemeRefs(globals);
8439
+ const globalRefs$2 = getThemeRefs(globals);
8119
8440
 
8120
- const vars$3 = ButtonSelectionGroupItemClass.cssVarList;
8441
+ const vars$4 = ButtonSelectionGroupItemClass.cssVarList;
8121
8442
 
8122
8443
  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,
8444
+ [vars$4.backgroundColor]: globalRefs$2.colors.surface.light,
8445
+ [vars$4.labelTextColor]: globalRefs$2.colors.surface.contrast,
8446
+ [vars$4.borderColor]: globalRefs$2.colors.surface.main,
8447
+ [vars$4.borderStyle]: 'solid',
8448
+ [vars$4.borderRadius]: globalRefs$2.radius.sm,
8128
8449
 
8129
8450
  _hover: {
8130
- [vars$3.backgroundColor]: '#f4f5f5', // can we take it from the palette?
8451
+ [vars$4.backgroundColor]: '#f4f5f5', // can we take it from the palette?
8131
8452
  },
8132
8453
 
8133
8454
  _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,
8455
+ [vars$4.borderColor]: globalRefs$2.colors.surface.contrast,
8456
+ [vars$4.backgroundColor]: globalRefs$2.colors.surface.contrast,
8457
+ [vars$4.labelTextColor]: globalRefs$2.colors.surface.light,
8137
8458
  },
8138
8459
  };
8139
8460
 
8140
8461
  var buttonSelectionGroupItem$1 = /*#__PURE__*/Object.freeze({
8141
8462
  __proto__: null,
8142
8463
  default: buttonSelectionGroupItem,
8143
- vars: vars$3
8464
+ vars: vars$4
8144
8465
  });
8145
8466
 
8146
- const globalRefs = getThemeRefs(globals);
8147
- const vars$2 = ButtonSelectionGroupClass.cssVarList;
8467
+ const globalRefs$1 = getThemeRefs(globals);
8468
+ const vars$3 = ButtonSelectionGroupClass.cssVarList;
8148
8469
 
8149
8470
  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,
8471
+ [vars$3.fontFamily]: refs.fontFamily,
8472
+ [vars$3.labelTextColor]: refs.labelTextColor,
8473
+ [vars$3.labelRequiredIndicator]: refs.requiredIndicator,
8474
+ [vars$3.errorMessageTextColor]: refs.errorMessageTextColor,
8475
+ [vars$3.itemsSpacing]: globalRefs$1.spacing.sm,
8476
+ [vars$3.hostWidth]: refs.width,
8156
8477
  };
8157
8478
 
8158
8479
  var buttonSelectionGroup$1 = /*#__PURE__*/Object.freeze({
8159
8480
  __proto__: null,
8160
8481
  default: buttonSelectionGroup,
8161
- vars: vars$2
8482
+ vars: vars$3
8162
8483
  });
8163
8484
 
8164
8485
  const componentName = getComponentName('modal');
@@ -8270,13 +8591,51 @@ const modal = {
8270
8591
  [compVars.overlayWidth]: '700px',
8271
8592
  };
8272
8593
 
8273
- const vars$1 = {
8594
+ const vars$2 = {
8274
8595
  ...compVars,
8275
8596
  };
8276
8597
 
8277
8598
  var modal$1 = /*#__PURE__*/Object.freeze({
8278
8599
  __proto__: null,
8279
8600
  default: modal,
8601
+ vars: vars$2
8602
+ });
8603
+
8604
+ const globalRefs = getThemeRefs(globals);
8605
+ const vars$1 = GridClass.cssVarList;
8606
+
8607
+ const grid = {
8608
+ [vars$1.hostWidth]: '100%',
8609
+ [vars$1.hostHeight]: '100%',
8610
+ [vars$1.hostMinHeight]: '400px',
8611
+
8612
+ [vars$1.fontSize]: refs.fontSize,
8613
+ [vars$1.fontFamily]: refs.fontFamily,
8614
+
8615
+ [vars$1.sortIndicatorsColor]: globalRefs.colors.primary.main,
8616
+ [vars$1.activeSortIndicator]: globalRefs.colors.primary.main,
8617
+ [vars$1.resizeHandleColor]: globalRefs.colors.surface.main,
8618
+
8619
+ [vars$1.inputBorderWidth]: refs.borderWidth,
8620
+ [vars$1.inputBorderStyle]: refs.borderStyle,
8621
+ [vars$1.inputBorderRadius]: refs.borderRadius,
8622
+ [vars$1.inputBorderColor]: 'transparent',
8623
+
8624
+ [vars$1.separatorColor]: refs.borderColor,
8625
+
8626
+ [vars$1.valueTextColor]: globalRefs.colors.surface.contrast,
8627
+ [vars$1.selectedBackgroundColor]: globalRefs.colors.primary.main,
8628
+ [vars$1.selectedTextColor]: globalRefs.colors.primary.contrast,
8629
+
8630
+ _bordered: {
8631
+ [vars$1.inputBorderColor]: refs.borderColor,
8632
+ },
8633
+ };
8634
+
8635
+ var grid$1 = /*#__PURE__*/Object.freeze({
8636
+ __proto__: null,
8637
+ default: grid,
8638
+ grid: grid,
8280
8639
  vars: vars$1
8281
8640
  });
8282
8641
 
@@ -8308,6 +8667,7 @@ const components = {
8308
8667
  buttonSelectionGroupItem: buttonSelectionGroupItem$1,
8309
8668
  buttonSelectionGroup: buttonSelectionGroup$1,
8310
8669
  modal: modal$1,
8670
+ grid: grid$1,
8311
8671
  };
8312
8672
 
8313
8673
  const theme = Object.keys(components).reduce(
@@ -8320,7 +8680,7 @@ const vars = Object.keys(components).reduce(
8320
8680
  );
8321
8681
 
8322
8682
  const defaultTheme = { globals, components: theme };
8323
- const themeVars = { globals: vars$s, components: vars };
8683
+ const themeVars = { globals: vars$t, components: vars };
8324
8684
 
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 };
8685
+ 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
8686
  //# sourceMappingURL=index.esm.js.map