Add css parts for better styling
This commit is contained in:
parent
69690793be
commit
96725983ad
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tp/tp-popup",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "",
|
||||
"main": "tp-popup.js",
|
||||
"scripts": {
|
||||
|
@ -72,16 +72,14 @@ class TpPopup extends EventHelpers(Position(DomQuery(LitElement))) {
|
||||
const { isOpen } = this;
|
||||
|
||||
return html`
|
||||
<div class="wrap">
|
||||
<div class="toggle">
|
||||
<div class="toggle" part="toggle">
|
||||
<slot id="toggleContent" name="toggle"></slot>
|
||||
</div>
|
||||
<div id="content" ?open=${isOpen}>
|
||||
<div class="content-wrap">
|
||||
<div id="content" part="content" ?open=${isOpen}>
|
||||
<div class="content-wrap" part="content-wrap">
|
||||
<slot id="contentSlot" name="content"></slot>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user