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