@momentum-design/components 0.120.32 → 0.120.34

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.
@@ -1417,6 +1417,7 @@
1417
1417
  position: relative;
1418
1418
  display: grid;
1419
1419
  place-items: center;
1420
+ flex-shrink: 0;
1420
1421
  }
1421
1422
  :host::part(photo) {
1422
1423
  border-radius: 100vh;
@@ -3554,8 +3555,17 @@
3554
3555
  --mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
3555
3556
  cursor: auto;
3556
3557
  }
3557
- `,tv=[bt,VT];var jl=z.constructTagName("inputchip"),ql={TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,CLOSE_ICON:"cancel-bold"};var Lo=class extends Kt(Vt(q)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderIcon(){return this.iconName?_` <mdc-icon part="icon" name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}handleClose(){this.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))}render(){return _`
3558
- ${this.renderIcon()}
3558
+
3559
+ ::slotted(mdc-avatar[slot='prefix']){
3560
+ width: 1.25rem;
3561
+ height: 1.25rem;
3562
+ }
3563
+ `,tv=[bt,VT];var jl=z.constructTagName("inputchip"),ql={TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,CLOSE_ICON:"cancel-bold"};var Lo=class extends Kt(Vt(q)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderPrefix(){return _`
3564
+ <slot name="prefix">
3565
+ ${this.iconName?_`<mdc-icon part="icon" name="${this.iconName}" length-unit="rem" size="1"></mdc-icon>`:j}
3566
+ </slot>
3567
+ `}handleClose(){this.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))}render(){return _`
3568
+ ${this.renderPrefix()}
3559
3569
  ${this.label?_`<mdc-text part="label" type="${ql.TEXT_TYPE}" tagname="${ql.TAG_NAME}"
3560
3570
  >${this.label}</mdc-text
3561
3571
  >`:j}