@proximus/lavender-heading 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.
@@ -1,5 +1,6 @@
1
1
  import { PxElement } from '@proximus/lavender-common';
2
2
  export declare abstract class AbstractHeading<HEADING_ELEMENT extends HTMLHeadingElement | HTMLParagraphElement> extends PxElement<HEADING_ELEMENT> {
3
+ static nativeAttributes: {};
3
4
  /** Overridden by each heading level (`<h1>`…`<h6>`). */
4
5
  protected static readonly template: HTMLTemplateElement;
5
6
  constructor();
@@ -11,6 +11,15 @@
11
11
  "description": "",
12
12
  "name": "AbstractHeading",
13
13
  "members": [
14
+ {
15
+ "kind": "field",
16
+ "name": "nativeAttributes",
17
+ "type": {
18
+ "text": "object"
19
+ },
20
+ "static": true,
21
+ "default": "{}"
22
+ },
14
23
  {
15
24
  "kind": "field",
16
25
  "name": "template",
@@ -240,6 +249,19 @@
240
249
  "static": true,
241
250
  "default": "'h1'"
242
251
  },
252
+ {
253
+ "kind": "field",
254
+ "name": "nativeAttributes",
255
+ "type": {
256
+ "text": "object"
257
+ },
258
+ "static": true,
259
+ "default": "{}",
260
+ "inheritedFrom": {
261
+ "name": "AbstractHeading",
262
+ "module": "src/AbstractHeading.ts"
263
+ }
264
+ },
243
265
  {
244
266
  "kind": "method",
245
267
  "name": "toggleClass",
@@ -556,6 +578,19 @@
556
578
  "static": true,
557
579
  "default": "'h2'"
558
580
  },
581
+ {
582
+ "kind": "field",
583
+ "name": "nativeAttributes",
584
+ "type": {
585
+ "text": "object"
586
+ },
587
+ "static": true,
588
+ "default": "{}",
589
+ "inheritedFrom": {
590
+ "name": "AbstractHeading",
591
+ "module": "src/AbstractHeading.ts"
592
+ }
593
+ },
559
594
  {
560
595
  "kind": "method",
561
596
  "name": "toggleClass",
@@ -872,6 +907,19 @@
872
907
  "static": true,
873
908
  "default": "'h3'"
874
909
  },
910
+ {
911
+ "kind": "field",
912
+ "name": "nativeAttributes",
913
+ "type": {
914
+ "text": "object"
915
+ },
916
+ "static": true,
917
+ "default": "{}",
918
+ "inheritedFrom": {
919
+ "name": "AbstractHeading",
920
+ "module": "src/AbstractHeading.ts"
921
+ }
922
+ },
875
923
  {
876
924
  "kind": "method",
877
925
  "name": "toggleClass",
@@ -1188,6 +1236,19 @@
1188
1236
  "static": true,
1189
1237
  "default": "'h4'"
1190
1238
  },
1239
+ {
1240
+ "kind": "field",
1241
+ "name": "nativeAttributes",
1242
+ "type": {
1243
+ "text": "object"
1244
+ },
1245
+ "static": true,
1246
+ "default": "{}",
1247
+ "inheritedFrom": {
1248
+ "name": "AbstractHeading",
1249
+ "module": "src/AbstractHeading.ts"
1250
+ }
1251
+ },
1191
1252
  {
1192
1253
  "kind": "method",
1193
1254
  "name": "toggleClass",
@@ -1504,6 +1565,19 @@
1504
1565
  "static": true,
1505
1566
  "default": "'h5'"
1506
1567
  },
1568
+ {
1569
+ "kind": "field",
1570
+ "name": "nativeAttributes",
1571
+ "type": {
1572
+ "text": "object"
1573
+ },
1574
+ "static": true,
1575
+ "default": "{}",
1576
+ "inheritedFrom": {
1577
+ "name": "AbstractHeading",
1578
+ "module": "src/AbstractHeading.ts"
1579
+ }
1580
+ },
1507
1581
  {
1508
1582
  "kind": "method",
1509
1583
  "name": "toggleClass",
@@ -1820,6 +1894,19 @@
1820
1894
  "static": true,
1821
1895
  "default": "'h6'"
1822
1896
  },
1897
+ {
1898
+ "kind": "field",
1899
+ "name": "nativeAttributes",
1900
+ "type": {
1901
+ "text": "object"
1902
+ },
1903
+ "static": true,
1904
+ "default": "{}",
1905
+ "inheritedFrom": {
1906
+ "name": "AbstractHeading",
1907
+ "module": "src/AbstractHeading.ts"
1908
+ }
1909
+ },
1823
1910
  {
1824
1911
  "kind": "method",
1825
1912
  "name": "toggleClass",
package/dist/index.es.js CHANGED
@@ -5,6 +5,9 @@ l.replaceSync(s);
5
5
  var u = new CSSStyleSheet();
6
6
  u.replaceSync(c);
7
7
  var d = class extends e {
8
+ static {
9
+ this.nativeAttributes = {};
10
+ }
8
11
  constructor() {
9
12
  super(l, u), a(this.shadowRoot, this.constructor.template);
10
13
  }
@@ -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-heading",
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-heading",
3
- "version": "1.4.20-alpha.1",
3
+ "version": "1.4.20-alpha.10",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",