@proximus/lavender-content-header 1.4.20-alpha.4 → 1.4.20-alpha.6

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.
@@ -10,6 +10,7 @@ import { PxElement } from '@proximus/lavender-common';
10
10
  export declare class ContentHeader extends PxElement<HTMLDivElement> {
11
11
  protected static readonly template: HTMLTemplateElement;
12
12
  static nativeName: string;
13
+ static nativeAttributes: {};
13
14
  constructor();
14
15
  static get observedAttributes(): string[];
15
16
  connectedCallback(): void;
@@ -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": "method",
32
41
  "name": "stylepatchDescriptionSlotted"
package/dist/index.es.js CHANGED
@@ -1677,6 +1677,9 @@ var Y = [
1677
1677
  static {
1678
1678
  this.nativeName = "div";
1679
1679
  }
1680
+ static {
1681
+ this.nativeAttributes = {};
1682
+ }
1680
1683
  constructor() {
1681
1684
  super(J, ne), y(this.shadowRoot, e.template);
1682
1685
  }
@@ -1941,11 +1944,15 @@ var $ = class e extends t {
1941
1944
  static {
1942
1945
  this.nativeName = "div";
1943
1946
  }
1947
+ static {
1948
+ this.nativeAttributes = {};
1949
+ }
1944
1950
  constructor() {
1945
1951
  super(Q), y(this.shadowRoot, e.template);
1946
1952
  }
1947
1953
  static get observedAttributes() {
1948
1954
  return [
1955
+ ...super.observedAttributes,
1949
1956
  "background-color",
1950
1957
  "background-gradient",
1951
1958
  "background-image",
@@ -1970,6 +1977,11 @@ var $ = class e extends t {
1970
1977
  }
1971
1978
  attributeChangedCallback(e, t, n) {
1972
1979
  if (t !== n) switch (e) {
1980
+ case "contrast-helper-gradient":
1981
+ case "contrast-helper-overlay":
1982
+ case "min-height":
1983
+ this._forwardNativeAttribute(e, n);
1984
+ break;
1973
1985
  case "background-color":
1974
1986
  this.$section.backgroundColor = r.indexOf(n) > 0 ? n : "none";
1975
1987
  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-content-header",
4
- "version": "1.4.20-alpha.4",
4
+ "version": "1.4.20-alpha.6",
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-content-header",
3
- "version": "1.4.20-alpha.4",
3
+ "version": "1.4.20-alpha.6",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",