Add css part for dialog
This commit is contained in:
parent
70ec260914
commit
c52a263dbf
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@tp/tp-dialog",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"description": "",
|
||||
"main": "tp-dialog.js",
|
||||
"scripts": {
|
||||
|
@ -50,7 +50,7 @@ class TpDialog extends EventHelpers(LitElement) {
|
||||
render() {
|
||||
const { showClose } = this;
|
||||
return html`
|
||||
<dialog>
|
||||
<dialog part="dialog">
|
||||
${showClose ? html`
|
||||
<div class="close-icon">
|
||||
<tp-icon .icon=${this.icon ? this.icon : TpDialog.closeIcon} dialog-dismiss></tp-icon>
|
||||
|
Loading…
Reference in New Issue
Block a user