@momentum-design/components 0.102.10 → 0.103.1

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.
@@ -373,8 +373,9 @@
373
373
  --mdc-button-primary-disabled-color: var(--mds-color-theme-inverted-text-primary-disabled);
374
374
  }
375
375
 
376
- :host([data-btn-type='pill']) ::slotted(mdc-text),
377
- :host([data-btn-type='pill-with-icon']) ::slotted(mdc-text) {
376
+ :host([data-btn-type='pill'])::part(button-text),
377
+ :host([data-btn-type='pill-with-icon'])::part(button-text) {
378
+ display: block;
378
379
  white-space: nowrap;
379
380
  overflow: hidden;
380
381
  text-overflow: ellipsis;
@@ -390,7 +391,7 @@
390
391
  part="prefix-icon"
391
392
  length-unit="rem"
392
393
  ></mdc-icon>`:""}
393
- <slot @slotchange=${this.inferButtonType}></slot>
394
+ <slot @slotchange=${this.inferButtonType} part="button-text"></slot>
394
395
  ${this.postfixFilledIconName?C` <mdc-icon
395
396
  name="${this.postfixFilledIconName}"
396
397
  part="postfix-icon"