@momentum-design/components 0.120.21 → 0.120.23

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.
@@ -221,9 +221,11 @@ class Tab extends IconNameMixin(Buttonsimple) {
221
221
  render() {
222
222
  return html `
223
223
  <div part="container">
224
- ${this.iconName
224
+ <slot name="prefix">
225
+ ${this.iconName
225
226
  ? html ` <mdc-icon name="${this.iconName}" size="1" length-unit="rem" part="icon"></mdc-icon>`
226
227
  : nothing}
228
+ </slot>
227
229
  ${this.text
228
230
  ? html ` <mdc-text
229
231
  type=${this.active ? TYPE.BODY_MIDSIZE_BOLD : TYPE.BODY_MIDSIZE_MEDIUM}