@aquera/nile-elements 0.1.52 → 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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent nile-elements following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "nile-elements",
6
- "version": "0.1.52",
6
+ "version": "0.1.54",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -155,8 +155,6 @@
155
155
  "x": "^0.1.2",
156
156
  "@web/test-runner-puppeteer": "0.16.0"
157
157
  },
158
- "overrides": {
159
- },
160
158
  "customElements": "custom-elements.json",
161
159
  "eslintConfig": {
162
160
  "parser": "@typescript-eslint/parser",
@@ -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
- ${this.errorMessage}
62
+ <span part="message">
63
+ ${this.errorMessage}
64
+ </span>
64
65
  </div>
65
66
  `;
66
67
  }