@proximus/lavender-content-header 2.0.0-alpha.228 → 2.0.0-alpha.229
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/ContentHeader.d.ts +1 -0
- package/dist/custom-elements.json +9 -0
- package/dist/index.es.js +12 -0
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
package/dist/ContentHeader.d.ts
CHANGED
|
@@ -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
|
@@ -1670,6 +1670,9 @@ var Y = [
|
|
|
1670
1670
|
static {
|
|
1671
1671
|
this.nativeName = "div";
|
|
1672
1672
|
}
|
|
1673
|
+
static {
|
|
1674
|
+
this.nativeAttributes = {};
|
|
1675
|
+
}
|
|
1673
1676
|
constructor() {
|
|
1674
1677
|
super(J, ne), y(this.shadowRoot, e.template);
|
|
1675
1678
|
}
|
|
@@ -1934,11 +1937,15 @@ var $ = class e extends t {
|
|
|
1934
1937
|
static {
|
|
1935
1938
|
this.nativeName = "div";
|
|
1936
1939
|
}
|
|
1940
|
+
static {
|
|
1941
|
+
this.nativeAttributes = {};
|
|
1942
|
+
}
|
|
1937
1943
|
constructor() {
|
|
1938
1944
|
super(Q), y(this.shadowRoot, e.template);
|
|
1939
1945
|
}
|
|
1940
1946
|
static get observedAttributes() {
|
|
1941
1947
|
return [
|
|
1948
|
+
...super.observedAttributes,
|
|
1942
1949
|
"background-color",
|
|
1943
1950
|
"background-gradient",
|
|
1944
1951
|
"background-image",
|
|
@@ -1963,6 +1970,11 @@ var $ = class e extends t {
|
|
|
1963
1970
|
}
|
|
1964
1971
|
attributeChangedCallback(e, t, n) {
|
|
1965
1972
|
if (t !== n) switch (e) {
|
|
1973
|
+
case "contrast-helper-gradient":
|
|
1974
|
+
case "contrast-helper-overlay":
|
|
1975
|
+
case "min-height":
|
|
1976
|
+
this._forwardNativeAttribute(e, n);
|
|
1977
|
+
break;
|
|
1966
1978
|
case "background-color":
|
|
1967
1979
|
this.$section.backgroundColor = r.indexOf(n) > 0 ? n : "none";
|
|
1968
1980
|
break;
|
package/dist/web-types.json
CHANGED
|
@@ -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": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.229",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|