@momentum-design/components 0.129.4 → 0.129.5

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.
@@ -109,7 +109,7 @@ class Card extends CardComponentMixin(FooterMixin(Component)) {
109
109
  }
110
110
  render() {
111
111
  return html `
112
- ${this.renderImage()}
112
+ <slot name="image"> ${this.renderImage()} </slot>
113
113
  <div part="body">
114
114
  ${this.renderHeader()}
115
115
  <div part="text-content">
@@ -59,7 +59,7 @@ class CardButton extends CardComponentMixin(Buttonsimple) {
59
59
  }
60
60
  render() {
61
61
  return html `
62
- ${this.renderImage()}
62
+ <slot name="image"> ${this.renderImage()} </slot>
63
63
  <div part="body">
64
64
  ${this.renderHeader()}
65
65
  <slot name="before-body"></slot>