@descope/web-components-ui 1.0.161 → 1.0.163

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.esm.js CHANGED
@@ -919,7 +919,7 @@ const proxyInputMixin = (superclass) =>
919
919
  }
920
920
 
921
921
  get inputElement() {
922
- if (this.#inputElement) return this.#inputElement
922
+ if (this.#inputElement) return this.#inputElement;
923
923
 
924
924
  this.warnIfInputElementIsMissing();
925
925
 
@@ -956,7 +956,7 @@ const proxyInputMixin = (superclass) =>
956
956
  // on some cases the base element is not ready so the inputElement is empty
957
957
  // we are deferring this section to make sure the base element is ready
958
958
  setTimeout(() => {
959
- this.inputElement.addEventListener('input', (e) => {
959
+ this.inputElement?.addEventListener('input', (e) => {
960
960
  if (!this.inputElement.checkValidity()) {
961
961
  this.inputElement.setCustomValidity('');
962
962
  // after updating the input validity we want to trigger set validity on the wrapping element
@@ -1000,7 +1000,6 @@ const proxyInputMixin = (superclass) =>
1000
1000
  forwardAttrs(this, this.inputElement, { includeAttrs: ['inputmode'] });
1001
1001
  });
1002
1002
  }
1003
-
1004
1003
  };
1005
1004
 
1006
1005
  const composedProxyInputMixin = compose(
@@ -2538,7 +2537,14 @@ class PasscodeInternal extends BaseInputClass$3 {
2538
2537
  input.onkeydown = ({ key }) => {
2539
2538
  // when user deletes a digit, we want to focus the previous digit
2540
2539
  if (key === 'Backspace') {
2541
- input.setSelectionRange(1, 1);
2540
+ // if value is empty then the input element does not fire `input` event
2541
+ // if this is the case, we focus the element here.
2542
+ // otherwise, the focusElement occurs as part of the `input` event listener
2543
+ if (!input.value) {
2544
+ setTimeout(() => focusElement(this.getPrevInput(input)), 0);
2545
+ } else {
2546
+ input.setSelectionRange(1, 1);
2547
+ }
2542
2548
  } else if (key.length === 1) {
2543
2549
  // we want only characters and not command keys
2544
2550
  input.value = ''; // we are clearing the previous value so we can override it with the new value
@@ -5934,7 +5940,7 @@ const globals = {
5934
5940
  const vars$o = getThemeVars(globals);
5935
5941
 
5936
5942
  const globalRefs$b = getThemeRefs(globals);
5937
- const compVars$2 = ButtonClass.cssVarList;
5943
+ const compVars$3 = ButtonClass.cssVarList;
5938
5944
 
5939
5945
  const mode = {
5940
5946
  primary: globalRefs$b.colors.primary,
@@ -5944,7 +5950,7 @@ const mode = {
5944
5950
  surface: globalRefs$b.colors.surface,
5945
5951
  };
5946
5952
 
5947
- const [helperTheme$3, helperRefs$3, helperVars$2] = createHelperVars({ mode }, componentName$r);
5953
+ const [helperTheme$3, helperRefs$3, helperVars$3] = createHelperVars({ mode }, componentName$r);
5948
5954
 
5949
5955
  const verticalPaddingRatio = 3;
5950
5956
  const horizontalPaddingRatio = 2;
@@ -5952,88 +5958,88 @@ const horizontalPaddingRatio = 2;
5952
5958
  const button = {
5953
5959
  ...helperTheme$3,
5954
5960
 
5955
- [compVars$2.fontFamily]: globalRefs$b.fonts.font1.family,
5961
+ [compVars$3.fontFamily]: globalRefs$b.fonts.font1.family,
5956
5962
 
5957
- [compVars$2.cursor]: 'pointer',
5958
- [compVars$2.hostHeight]: '3em',
5963
+ [compVars$3.cursor]: 'pointer',
5964
+ [compVars$3.hostHeight]: '3em',
5959
5965
 
5960
- [compVars$2.borderRadius]: globalRefs$b.radius.sm,
5961
- [compVars$2.borderWidth]: globalRefs$b.border.xs,
5962
- [compVars$2.borderStyle]: 'solid',
5963
- [compVars$2.borderColor]: 'transparent',
5966
+ [compVars$3.borderRadius]: globalRefs$b.radius.sm,
5967
+ [compVars$3.borderWidth]: globalRefs$b.border.xs,
5968
+ [compVars$3.borderStyle]: 'solid',
5969
+ [compVars$3.borderColor]: 'transparent',
5964
5970
 
5965
- [compVars$2.labelSpacing]: '0.25em',
5971
+ [compVars$3.labelSpacing]: '0.25em',
5966
5972
 
5967
- [compVars$2.verticalPadding]: `calc(var(${compVars$2.fontSize}) / ${verticalPaddingRatio})`,
5968
- [compVars$2.horizontalPadding]: `calc(var(${compVars$2.fontSize}) / ${horizontalPaddingRatio})`,
5973
+ [compVars$3.verticalPadding]: `calc(var(${compVars$3.fontSize}) / ${verticalPaddingRatio})`,
5974
+ [compVars$3.horizontalPadding]: `calc(var(${compVars$3.fontSize}) / ${horizontalPaddingRatio})`,
5969
5975
 
5970
- [compVars$2.outlineWidth]: globals.border.sm,
5971
- [compVars$2.outlineOffset]: '0px', // keep `px` unit for external calc
5972
- [compVars$2.outlineStyle]: 'solid',
5973
- [compVars$2.outlineColor]: 'transparent',
5976
+ [compVars$3.outlineWidth]: globals.border.sm,
5977
+ [compVars$3.outlineOffset]: '0px', // keep `px` unit for external calc
5978
+ [compVars$3.outlineStyle]: 'solid',
5979
+ [compVars$3.outlineColor]: 'transparent',
5974
5980
 
5975
5981
  size: {
5976
- xs: { [compVars$2.fontSize]: '12px' },
5977
- sm: { [compVars$2.fontSize]: '14px' },
5978
- md: { [compVars$2.fontSize]: '16px' },
5979
- lg: { [compVars$2.fontSize]: '18px' },
5982
+ xs: { [compVars$3.fontSize]: '12px' },
5983
+ sm: { [compVars$3.fontSize]: '14px' },
5984
+ md: { [compVars$3.fontSize]: '16px' },
5985
+ lg: { [compVars$3.fontSize]: '18px' },
5980
5986
  },
5981
5987
 
5982
5988
  _fullWidth: {
5983
- [compVars$2.hostWidth]: '100%',
5989
+ [compVars$3.hostWidth]: '100%',
5984
5990
  },
5985
5991
 
5986
5992
  _loading: {
5987
- [compVars$2.cursor]: 'wait',
5988
- [compVars$2.labelTextColor]: helperRefs$3.main,
5993
+ [compVars$3.cursor]: 'wait',
5994
+ [compVars$3.labelTextColor]: helperRefs$3.main,
5989
5995
  },
5990
5996
 
5991
5997
  variant: {
5992
5998
  contained: {
5993
- [compVars$2.labelTextColor]: helperRefs$3.contrast,
5994
- [compVars$2.backgroundColor]: helperRefs$3.main,
5999
+ [compVars$3.labelTextColor]: helperRefs$3.contrast,
6000
+ [compVars$3.backgroundColor]: helperRefs$3.main,
5995
6001
  _hover: {
5996
- [compVars$2.backgroundColor]: helperRefs$3.dark,
6002
+ [compVars$3.backgroundColor]: helperRefs$3.dark,
5997
6003
  _loading: {
5998
- [compVars$2.backgroundColor]: helperRefs$3.main,
6004
+ [compVars$3.backgroundColor]: helperRefs$3.main,
5999
6005
  },
6000
6006
  },
6001
6007
  _active: {
6002
- [compVars$2.backgroundColor]: helperRefs$3.main,
6008
+ [compVars$3.backgroundColor]: helperRefs$3.main,
6003
6009
  },
6004
6010
  },
6005
6011
 
6006
6012
  outline: {
6007
- [compVars$2.labelTextColor]: helperRefs$3.main,
6008
- [compVars$2.borderColor]: 'currentColor',
6013
+ [compVars$3.labelTextColor]: helperRefs$3.main,
6014
+ [compVars$3.borderColor]: 'currentColor',
6009
6015
  _hover: {
6010
- [compVars$2.labelTextColor]: helperRefs$3.dark,
6016
+ [compVars$3.labelTextColor]: helperRefs$3.dark,
6011
6017
  },
6012
6018
  _active: {
6013
- [compVars$2.labelTextColor]: helperRefs$3.main,
6019
+ [compVars$3.labelTextColor]: helperRefs$3.main,
6014
6020
  },
6015
6021
  },
6016
6022
 
6017
6023
  link: {
6018
- [compVars$2.labelTextColor]: helperRefs$3.main,
6024
+ [compVars$3.labelTextColor]: helperRefs$3.main,
6019
6025
  _hover: {
6020
- [compVars$2.labelTextColor]: helperRefs$3.dark,
6021
- [compVars$2.labelTextDecoration]: 'underline',
6026
+ [compVars$3.labelTextColor]: helperRefs$3.dark,
6027
+ [compVars$3.labelTextDecoration]: 'underline',
6022
6028
  },
6023
6029
  _active: {
6024
- [compVars$2.labelTextColor]: helperRefs$3.dark,
6030
+ [compVars$3.labelTextColor]: helperRefs$3.dark,
6025
6031
  },
6026
6032
  },
6027
6033
  },
6028
6034
 
6029
6035
  _focused: {
6030
- [compVars$2.outlineColor]: globalRefs$b.colors.surface.main,
6036
+ [compVars$3.outlineColor]: globalRefs$b.colors.surface.main,
6031
6037
  },
6032
6038
  };
6033
6039
 
6034
6040
  const vars$n = {
6035
- ...compVars$2,
6036
- ...helperVars$2,
6041
+ ...compVars$3,
6042
+ ...helperVars$3,
6037
6043
  };
6038
6044
 
6039
6045
  var button$1 = /*#__PURE__*/Object.freeze({
@@ -6394,7 +6400,7 @@ var switchToggle$1 = /*#__PURE__*/Object.freeze({
6394
6400
 
6395
6401
  const globalRefs$6 = getThemeRefs(globals);
6396
6402
 
6397
- const compVars$1 = ContainerClass.cssVarList;
6403
+ const compVars$2 = ContainerClass.cssVarList;
6398
6404
 
6399
6405
  const verticalAlignment = {
6400
6406
  start: { verticalAlignment: 'start' },
@@ -6408,7 +6414,7 @@ const horizontalAlignment = {
6408
6414
  end: { horizontalAlignment: 'end' },
6409
6415
  };
6410
6416
 
6411
- const [helperTheme$2, helperRefs$2, helperVars$1] = createHelperVars(
6417
+ const [helperTheme$2, helperRefs$2, helperVars$2] = createHelperVars(
6412
6418
  {
6413
6419
  verticalAlignment,
6414
6420
  horizontalAlignment,
@@ -6422,85 +6428,85 @@ const { shadowColor } = helperRefs$2;
6422
6428
  const container = {
6423
6429
  ...helperTheme$2,
6424
6430
 
6425
- [compVars$1.hostWidth]: '100%',
6426
- [compVars$1.boxShadow]: 'none',
6427
- [compVars$1.backgroundColor]: globalRefs$6.colors.surface.light,
6428
- [compVars$1.color]: globalRefs$6.colors.surface.contrast,
6431
+ [compVars$2.hostWidth]: '100%',
6432
+ [compVars$2.boxShadow]: 'none',
6433
+ [compVars$2.backgroundColor]: globalRefs$6.colors.surface.light,
6434
+ [compVars$2.color]: globalRefs$6.colors.surface.contrast,
6429
6435
 
6430
6436
  verticalPadding: {
6431
- sm: { [compVars$1.verticalPadding]: '5px' },
6432
- md: { [compVars$1.verticalPadding]: '10px' },
6433
- lg: { [compVars$1.verticalPadding]: '20px' },
6437
+ sm: { [compVars$2.verticalPadding]: '5px' },
6438
+ md: { [compVars$2.verticalPadding]: '10px' },
6439
+ lg: { [compVars$2.verticalPadding]: '20px' },
6434
6440
  },
6435
6441
 
6436
6442
  horizontalPadding: {
6437
- sm: { [compVars$1.horizontalPadding]: '5px' },
6438
- md: { [compVars$1.horizontalPadding]: '10px' },
6439
- lg: { [compVars$1.horizontalPadding]: '20px' },
6443
+ sm: { [compVars$2.horizontalPadding]: '5px' },
6444
+ md: { [compVars$2.horizontalPadding]: '10px' },
6445
+ lg: { [compVars$2.horizontalPadding]: '20px' },
6440
6446
  },
6441
6447
 
6442
6448
  direction: {
6443
6449
  row: {
6444
- [compVars$1.flexDirection]: 'row',
6445
- [compVars$1.alignItems]: helperRefs$2.verticalAlignment,
6446
- [compVars$1.justifyContent]: helperRefs$2.horizontalAlignment,
6447
- [compVars$1.flexWrap]: 'wrap',
6450
+ [compVars$2.flexDirection]: 'row',
6451
+ [compVars$2.alignItems]: helperRefs$2.verticalAlignment,
6452
+ [compVars$2.justifyContent]: helperRefs$2.horizontalAlignment,
6453
+ [compVars$2.flexWrap]: 'wrap',
6448
6454
  horizontalAlignment: {
6449
6455
  spaceBetween: {
6450
- [helperVars$1.horizontalAlignment]: 'space-between',
6456
+ [helperVars$2.horizontalAlignment]: 'space-between',
6451
6457
  },
6452
6458
  },
6453
6459
  },
6454
6460
  column: {
6455
- [compVars$1.flexDirection]: 'column',
6456
- [compVars$1.alignItems]: helperRefs$2.horizontalAlignment,
6457
- [compVars$1.justifyContent]: helperRefs$2.verticalAlignment,
6461
+ [compVars$2.flexDirection]: 'column',
6462
+ [compVars$2.alignItems]: helperRefs$2.horizontalAlignment,
6463
+ [compVars$2.justifyContent]: helperRefs$2.verticalAlignment,
6458
6464
  verticalAlignment: {
6459
6465
  spaceBetween: {
6460
- [helperVars$1.verticalAlignment]: 'space-between',
6466
+ [helperVars$2.verticalAlignment]: 'space-between',
6461
6467
  },
6462
6468
  },
6463
6469
  },
6464
6470
  },
6465
6471
 
6466
6472
  spaceBetween: {
6467
- sm: { [compVars$1.gap]: '10px' },
6468
- md: { [compVars$1.gap]: '20px' },
6469
- lg: { [compVars$1.gap]: '30px' },
6473
+ sm: { [compVars$2.gap]: '10px' },
6474
+ md: { [compVars$2.gap]: '20px' },
6475
+ lg: { [compVars$2.gap]: '30px' },
6470
6476
  },
6471
6477
 
6472
6478
  shadow: {
6473
6479
  sm: {
6474
- [compVars$1.boxShadow]: `${globalRefs$6.shadow.wide.sm} ${shadowColor}, ${globalRefs$6.shadow.narrow.sm} ${shadowColor}`,
6480
+ [compVars$2.boxShadow]: `${globalRefs$6.shadow.wide.sm} ${shadowColor}, ${globalRefs$6.shadow.narrow.sm} ${shadowColor}`,
6475
6481
  },
6476
6482
  md: {
6477
- [compVars$1.boxShadow]: `${globalRefs$6.shadow.wide.md} ${shadowColor}, ${globalRefs$6.shadow.narrow.md} ${shadowColor}`,
6483
+ [compVars$2.boxShadow]: `${globalRefs$6.shadow.wide.md} ${shadowColor}, ${globalRefs$6.shadow.narrow.md} ${shadowColor}`,
6478
6484
  },
6479
6485
  lg: {
6480
- [compVars$1.boxShadow]: `${globalRefs$6.shadow.wide.lg} ${shadowColor}, ${globalRefs$6.shadow.narrow.lg} ${shadowColor}`,
6486
+ [compVars$2.boxShadow]: `${globalRefs$6.shadow.wide.lg} ${shadowColor}, ${globalRefs$6.shadow.narrow.lg} ${shadowColor}`,
6481
6487
  },
6482
6488
  xl: {
6483
- [compVars$1.boxShadow]: `${globalRefs$6.shadow.wide.xl} ${shadowColor}, ${globalRefs$6.shadow.narrow.xl} ${shadowColor}`,
6489
+ [compVars$2.boxShadow]: `${globalRefs$6.shadow.wide.xl} ${shadowColor}, ${globalRefs$6.shadow.narrow.xl} ${shadowColor}`,
6484
6490
  },
6485
6491
  '2xl': {
6486
- [helperVars$1.shadowColor]: '#00000050', // mimic daisyUI shadow settings
6487
- [compVars$1.boxShadow]: `${globalRefs$6.shadow.wide['2xl']} ${shadowColor}`,
6492
+ [helperVars$2.shadowColor]: '#00000050', // mimic daisyUI shadow settings
6493
+ [compVars$2.boxShadow]: `${globalRefs$6.shadow.wide['2xl']} ${shadowColor}`,
6488
6494
  },
6489
6495
  },
6490
6496
 
6491
6497
  borderRadius: {
6492
- sm: { [compVars$1.borderRadius]: globalRefs$6.radius.sm },
6493
- md: { [compVars$1.borderRadius]: globalRefs$6.radius.md },
6494
- lg: { [compVars$1.borderRadius]: globalRefs$6.radius.lg },
6495
- xl: { [compVars$1.borderRadius]: globalRefs$6.radius.xl },
6496
- '2xl': { [compVars$1.borderRadius]: globalRefs$6.radius['2xl'] },
6497
- '3xl': { [compVars$1.borderRadius]: globalRefs$6.radius['3xl'] },
6498
+ sm: { [compVars$2.borderRadius]: globalRefs$6.radius.sm },
6499
+ md: { [compVars$2.borderRadius]: globalRefs$6.radius.md },
6500
+ lg: { [compVars$2.borderRadius]: globalRefs$6.radius.lg },
6501
+ xl: { [compVars$2.borderRadius]: globalRefs$6.radius.xl },
6502
+ '2xl': { [compVars$2.borderRadius]: globalRefs$6.radius['2xl'] },
6503
+ '3xl': { [compVars$2.borderRadius]: globalRefs$6.radius['3xl'] },
6498
6504
  },
6499
6505
  };
6500
6506
 
6501
6507
  const vars$e = {
6502
- ...compVars$1,
6503
- ...helperVars$1,
6508
+ ...compVars$2,
6509
+ ...helperVars$2,
6504
6510
  };
6505
6511
 
6506
6512
  var container$1 = /*#__PURE__*/Object.freeze({
@@ -6663,9 +6669,9 @@ var link$1 = /*#__PURE__*/Object.freeze({
6663
6669
  });
6664
6670
 
6665
6671
  const globalRefs$3 = getThemeRefs(globals);
6666
- const compVars = DividerClass.cssVarList;
6672
+ const compVars$1 = DividerClass.cssVarList;
6667
6673
 
6668
- const [helperTheme$1, helperRefs$1, helperVars] = createHelperVars(
6674
+ const [helperTheme$1, helperRefs$1, helperVars$1] = createHelperVars(
6669
6675
  {
6670
6676
  thickness: '2px',
6671
6677
  spacing: '10px',
@@ -6676,32 +6682,32 @@ const [helperTheme$1, helperRefs$1, helperVars] = createHelperVars(
6676
6682
  const divider = {
6677
6683
  ...helperTheme$1,
6678
6684
 
6679
- [compVars.alignItems]: 'center',
6680
- [compVars.flexDirection]: 'row',
6681
- [compVars.alignSelf]: 'stretch',
6682
- [compVars.hostWidth]: '100%',
6683
- [compVars.stripeColor]: globalRefs$3.colors.surface.main,
6684
- [compVars.stripeColorOpacity]: '0.5',
6685
- [compVars.stripeHorizontalThickness]: helperRefs$1.thickness,
6686
- [compVars.labelTextWidth]: 'fit-content',
6687
- [compVars.labelTextMaxWidth]: 'calc(100% - 100px)',
6688
- [compVars.labelTextHorizontalSpacing]: helperRefs$1.spacing,
6685
+ [compVars$1.alignItems]: 'center',
6686
+ [compVars$1.flexDirection]: 'row',
6687
+ [compVars$1.alignSelf]: 'stretch',
6688
+ [compVars$1.hostWidth]: '100%',
6689
+ [compVars$1.stripeColor]: globalRefs$3.colors.surface.main,
6690
+ [compVars$1.stripeColorOpacity]: '0.5',
6691
+ [compVars$1.stripeHorizontalThickness]: helperRefs$1.thickness,
6692
+ [compVars$1.labelTextWidth]: 'fit-content',
6693
+ [compVars$1.labelTextMaxWidth]: 'calc(100% - 100px)',
6694
+ [compVars$1.labelTextHorizontalSpacing]: helperRefs$1.spacing,
6689
6695
 
6690
6696
  _vertical: {
6691
- [compVars.minHeight]: '200px',
6692
- [compVars.flexDirection]: 'column',
6693
- [compVars.hostWidth]: 'fit-content',
6694
- [compVars.hostPadding]: `0 calc(${helperRefs$1.thickness} * 3)`,
6695
- [compVars.stripeVerticalThickness]: helperRefs$1.thickness,
6696
- [compVars.labelTextWidth]: 'fit-content',
6697
- [compVars.labelTextMaxWidth]: '100%',
6698
- [compVars.labelTextVerticalSpacing]: helperRefs$1.spacing,
6697
+ [compVars$1.minHeight]: '200px',
6698
+ [compVars$1.flexDirection]: 'column',
6699
+ [compVars$1.hostWidth]: 'fit-content',
6700
+ [compVars$1.hostPadding]: `0 calc(${helperRefs$1.thickness} * 3)`,
6701
+ [compVars$1.stripeVerticalThickness]: helperRefs$1.thickness,
6702
+ [compVars$1.labelTextWidth]: 'fit-content',
6703
+ [compVars$1.labelTextMaxWidth]: '100%',
6704
+ [compVars$1.labelTextVerticalSpacing]: helperRefs$1.spacing,
6699
6705
  },
6700
6706
  };
6701
6707
 
6702
6708
  const vars$9 = {
6703
- ...compVars,
6704
- ...helperVars,
6709
+ ...compVars$1,
6710
+ ...helperVars$1,
6705
6711
  };
6706
6712
 
6707
6713
  var divider$1 = /*#__PURE__*/Object.freeze({
@@ -6785,9 +6791,9 @@ var loaderLinear$1 = /*#__PURE__*/Object.freeze({
6785
6791
  });
6786
6792
 
6787
6793
  const globalRefs$1 = getThemeRefs(globals);
6788
- const vars$6 = LoaderRadialClass.cssVarList;
6794
+ const compVars = LoaderRadialClass.cssVarList;
6789
6795
 
6790
- const [helperTheme, helperRefs] = createHelperVars(
6796
+ const [helperTheme, helperRefs, helperVars] = createHelperVars(
6791
6797
  {
6792
6798
  spinnerColor: globalRefs$1.colors.surface.contrast,
6793
6799
  mode: {
@@ -6805,29 +6811,33 @@ const [helperTheme, helperRefs] = createHelperVars(
6805
6811
  const loaderRadial = {
6806
6812
  ...helperTheme,
6807
6813
 
6808
- [vars$6.animationDuration]: '2s',
6809
- [vars$6.animationTimingFunction]: 'linear',
6810
- [vars$6.animationIterationCount]: 'infinite',
6811
- [vars$6.spinnerBorderStyle]: 'solid',
6812
- [vars$6.spinnerBorderWidth]: '0.2em',
6813
- [vars$6.spinnerBorderRadius]: '50%',
6814
- [vars$6.spinnerQuadrant1Color]: helperRefs.spinnerColor,
6815
- [vars$6.spinnerQuadrant2Color]: 'transparent',
6816
- [vars$6.spinnerQuadrant3Color]: helperRefs.spinnerColor,
6817
- [vars$6.spinnerQuadrant4Color]: 'transparent',
6814
+ [compVars.animationDuration]: '2s',
6815
+ [compVars.animationTimingFunction]: 'linear',
6816
+ [compVars.animationIterationCount]: 'infinite',
6817
+ [compVars.spinnerBorderStyle]: 'solid',
6818
+ [compVars.spinnerBorderWidth]: '0.2em',
6819
+ [compVars.spinnerBorderRadius]: '50%',
6820
+ [compVars.spinnerQuadrant1Color]: helperRefs.spinnerColor,
6821
+ [compVars.spinnerQuadrant2Color]: 'transparent',
6822
+ [compVars.spinnerQuadrant3Color]: helperRefs.spinnerColor,
6823
+ [compVars.spinnerQuadrant4Color]: 'transparent',
6818
6824
 
6819
6825
  size: {
6820
- xs: { [vars$6.spinnerSize]: '20px' },
6821
- sm: { [vars$6.spinnerSize]: '30px' },
6822
- md: { [vars$6.spinnerSize]: '40px' },
6823
- lg: { [vars$6.spinnerSize]: '60px' },
6824
- xl: { [vars$6.spinnerSize]: '80px' },
6826
+ xs: { [compVars.spinnerSize]: '20px' },
6827
+ sm: { [compVars.spinnerSize]: '30px' },
6828
+ md: { [compVars.spinnerSize]: '40px' },
6829
+ lg: { [compVars.spinnerSize]: '60px' },
6830
+ xl: { [compVars.spinnerSize]: '80px' },
6825
6831
  },
6826
6832
 
6827
6833
  _hidden: {
6828
- [vars$6.hostDisplay]: 'none',
6834
+ [compVars.hostDisplay]: 'none',
6829
6835
  },
6830
6836
  };
6837
+ const vars$6 = {
6838
+ ...compVars,
6839
+ ...helperVars,
6840
+ };
6831
6841
 
6832
6842
  var loaderRadial$1 = /*#__PURE__*/Object.freeze({
6833
6843
  __proto__: null,