@proximus/lavender-banner 1.4.20-alpha.1 → 1.4.20-alpha.10

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/dist/Banner.d.ts CHANGED
@@ -7,6 +7,7 @@ export declare class Banner extends VerticallyExtendedElement<HTMLDivElement> {
7
7
  #private;
8
8
  protected static readonly template: HTMLTemplateElement;
9
9
  static nativeName: string;
10
+ static nativeAttributes: {};
10
11
  observer: MutationObserver;
11
12
  constructor();
12
13
  static get observedAttributes(): string[];
@@ -27,6 +27,15 @@
27
27
  "static": true,
28
28
  "default": "'div'"
29
29
  },
30
+ {
31
+ "kind": "field",
32
+ "name": "nativeAttributes",
33
+ "type": {
34
+ "text": "object"
35
+ },
36
+ "static": true,
37
+ "default": "{}"
38
+ },
30
39
  {
31
40
  "kind": "field",
32
41
  "name": "observer",
package/dist/index.es.js CHANGED
@@ -38,6 +38,9 @@ var p = [
38
38
  static {
39
39
  this.nativeName = "div";
40
40
  }
41
+ static {
42
+ this.nativeAttributes = {};
43
+ }
41
44
  constructor() {
42
45
  super(f, g), l(this.shadowRoot, t.template);
43
46
  }
@@ -302,6 +305,9 @@ var y = class e extends t {
302
305
  static {
303
306
  this.nativeName = "div";
304
307
  }
308
+ static {
309
+ this.nativeAttributes = {};
310
+ }
305
311
  constructor() {
306
312
  super(v), this.observer = new MutationObserver(() => {
307
313
  this.createGridTemplateAreas(), this.createGridding();
@@ -339,6 +345,10 @@ var y = class e extends t {
339
345
  }
340
346
  attributeChangedCallback(e, t, i) {
341
347
  if (t !== i) switch (e) {
348
+ case "contrast-helper-gradient":
349
+ case "contrast-helper-overlay":
350
+ this._forwardNativeAttribute(e, i);
351
+ break;
342
352
  case "background-color":
343
353
  this.$container.backgroundColor = n.indexOf(i) > 0 ? i : "none";
344
354
  break;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@proximus/lavender-banner",
4
- "version": "1.4.20-alpha.1",
4
+ "version": "1.4.20-alpha.10",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-banner",
3
- "version": "1.4.20-alpha.1",
3
+ "version": "1.4.20-alpha.10",
4
4
  "description": "",
5
5
  "files": [
6
6
  "dist"