@fluid-topics/ft-dialog 1.3.63 → 1.4.1
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.
- package/build/ft-dialog.js +6 -6
- package/build/ft-dialog.light.js +208 -218
- package/build/ft-dialog.min.js +118 -128
- package/package.json +6 -6
package/build/ft-dialog.js
CHANGED
|
@@ -4,11 +4,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
4
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { html } from "lit";
|
|
8
|
-
import { property, queryAssignedElements } from "lit/decorators.js";
|
|
9
|
-
import { FtLitElement } from "@fluid-topics/ft-wc-utils";
|
|
10
|
-
import { FtTypography, FtTypographyVariants } from "@fluid-topics/ft-typography";
|
|
11
|
-
import { FtIcon } from "@fluid-topics/ft-icon";
|
|
7
|
+
import { html, } from "lit";
|
|
8
|
+
import { property, queryAssignedElements, } from "lit/decorators.js";
|
|
9
|
+
import { FtLitElement, } from "@fluid-topics/ft-wc-utils";
|
|
10
|
+
import { FtTypography, FtTypographyVariants, } from "@fluid-topics/ft-typography";
|
|
11
|
+
import { FtIcon, } from "@fluid-topics/ft-icon";
|
|
12
12
|
import { FtButton } from "@fluid-topics/ft-button";
|
|
13
13
|
import { styles } from "./ft-dialog.styles";
|
|
14
14
|
/** @deprecated use FtDsModal or FtModal */
|
|
@@ -41,7 +41,7 @@ class FtDialog extends FtLitElement {
|
|
|
41
41
|
${this.icon ? html `
|
|
42
42
|
<ft-icon .variant=${this.iconVariant} value="${this.icon}"></ft-icon>
|
|
43
43
|
` : undefined}
|
|
44
|
-
<ft-typography element="span" variant="${FtTypographyVariants.
|
|
44
|
+
<ft-typography element="span" variant="${FtTypographyVariants.title}">${this.heading}</ft-typography>
|
|
45
45
|
${this.closable ? html `
|
|
46
46
|
<ft-button round icon="close" @click=${this.close}></ft-button>
|
|
47
47
|
` : undefined}
|