fix: remove unnecessary shadow outlet slots

This commit is contained in:
Joren Broekema 2020-09-16 10:55:03 +02:00 committed by Thomas Allmer
parent a9d6971c67
commit 6394c08033
5 changed files with 7 additions and 4 deletions

View file

@ -0,0 +1,7 @@
---
'@lion/dialog': patch
'@lion/input-datepicker': patch
'@lion/select-rich': patch
---
Cleanup and remove shadow outlet slot. This should not be used anymore

View file

@ -30,7 +30,6 @@ export class LionDialog extends OverlayMixin(LitElement) {
render() {
return html`
<slot name="invoker"></slot>
<slot name="_overlay-shadow-outlet"></slot>
<div id="overlay-content-node-wrapper">
<slot name="content"></slot>
</div>

View file

@ -115,7 +115,6 @@ export class LionCalendarOverlayFrame extends LocalizeMixin(LitElement) {
<slot name="close-icon">&times;</slot>
</button>
</div>
<slot name="_overlay-shadow-outlet"></slot>
<div id="overlay-content-node-wrapper">
<slot name="content"></slot>
</div>

View file

@ -216,7 +216,6 @@ export class LionSelectRich extends SlotMixin(ScopedElementsMixin(OverlayMixin(L
return html`
<div class="input-group__input">
<slot name="invoker"></slot>
<slot name="_overlay-shadow-outlet"></slot>
<div id="overlay-content-node-wrapper">
<slot name="input"></slot>
</div>

View file

@ -10,7 +10,6 @@ const tagString = defineCE(
render() {
return html`
<button slot="invoker">invoker button</button>
<slot name="_overlay-shadow-outlet"></slot>
<div id="overlay-content-node-wrapper">
<div slot="content">content of the overlay</div>
</div>