@aquera/nile-elements 0.1.53 → 0.1.54
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/README.md +3 -0
- package/dist/index.js +4 -2
- package/dist/nile-error-notification/nile-error-notification.cjs.js +1 -1
- package/dist/nile-error-notification/nile-error-notification.cjs.js.map +1 -1
- package/dist/nile-error-notification/nile-error-notification.esm.js +4 -2
- package/dist/src/nile-error-notification/nile-error-notification.js +4 -2
- package/dist/src/nile-error-notification/nile-error-notification.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/nile-error-notification/nile-error-notification.ts +4 -3
package/package.json
CHANGED
@@ -35,7 +35,6 @@ export class NileErrorNotification extends LitElement {
|
|
35
35
|
@property({ type: String, reflect: true }) errorMessage: string = '';
|
36
36
|
|
37
37
|
@property({ type: String, reflect: true }) color: string = '';
|
38
|
-
|
39
38
|
protected updated(_changedProperties: PropertyValues): void {
|
40
39
|
if(_changedProperties.has('color')){
|
41
40
|
this.style.setProperty('--indication-color',this.color)
|
@@ -52,7 +51,7 @@ export class NileErrorNotification extends LitElement {
|
|
52
51
|
*/
|
53
52
|
public render(): TemplateResult {
|
54
53
|
return html`
|
55
|
-
<div class="nile-error-notification">
|
54
|
+
<div class="nile-error-notification" part="container">
|
56
55
|
<nile-icon
|
57
56
|
name="info2"
|
58
57
|
size="14"
|
@@ -60,7 +59,9 @@ export class NileErrorNotification extends LitElement {
|
|
60
59
|
part="icon"
|
61
60
|
color="var(--indication-color)"
|
62
61
|
></nile-icon>
|
63
|
-
|
62
|
+
<span part="message">
|
63
|
+
${this.errorMessage}
|
64
|
+
</span>
|
64
65
|
</div>
|
65
66
|
`;
|
66
67
|
}
|