@momentum-design/components 0.104.13 → 0.104.14

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.
@@ -4375,14 +4375,14 @@
4375
4375
  }
4376
4376
 
4377
4377
  :host::part(spinner-container) {
4378
- width: 3rem;
4379
- height: 3rem;
4378
+ width: var(--mdc-spinner-size);
4379
+ height: var(--mdc-spinner-size);
4380
4380
  position: relative;
4381
4381
  }
4382
4382
 
4383
4383
  :host::part(spinner-base) {
4384
- width: var(--mdc-spinner-size);
4385
- height: var(--mdc-spinner-size);
4384
+ width: 100%;
4385
+ height: 100%;
4386
4386
  rotate: -90deg;
4387
4387
  }
4388
4388
 
@@ -4400,12 +4400,15 @@
4400
4400
  }
4401
4401
 
4402
4402
  :host::part(success-icon) {
4403
+ --mdc-icon-size: var(--mdc-spinner-size);
4403
4404
  color: var(--mdc-progress-success-color);
4404
4405
  }
4405
4406
 
4406
4407
  :host::part(error-icon) {
4408
+ --mdc-icon-size: calc(2 / 3 * var(--mdc-spinner-size));
4409
+
4407
4410
  color: var(--mdc-progress-error-color);
4408
- margin: 0.5rem;
4411
+ margin: calc(1 / 6 * var(--mdc-spinner-size));
4409
4412
  }
4410
4413
  `,Bf=[sT];var Tl=class extends Ra{connectedCallback(){super.connectedCallback(),this.id="",this.disabled=void 0,this.helpTextType=void 0,this.helpText=void 0,this.required=void 0,this.variant=void 0,this.label=void 0}renderProgressSpinner(){var h;let i=Ld(this.clampedValue),t=$f(this.clampedValue),o=zf(this.clampedValue),a=Vf(this.clampedValue,i);return k`
4411
4414
  <div
@@ -4416,7 +4419,7 @@
4416
4419
  aria-valuemax="100"
4417
4420
  aria-label="${(h=this.dataAriaLabel)!=null?h:""}"
4418
4421
  >
4419
- <svg part="spinner-base">
4422
+ <svg part="spinner-base" viewBox="0 0 48 48">
4420
4423
  <circle
4421
4424
  part="spinner-track"
4422
4425
  cx="24"