@proximus/lavender-heading 2.0.0-alpha.21 → 2.0.0-alpha.211

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,27 +1,30 @@
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
- private template;
4
- protected constructor(tagName: string);
3
+ /** Overridden by each heading level (`<h1>`…`<h6>`). */
4
+ protected static readonly template: HTMLTemplateElement;
5
+ constructor();
5
6
  static get observedAttributes(): string[];
6
7
  attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
7
8
  toggleClass(oldValue: string, newValue: string): void;
8
9
  updateAttribute(attrName: string, oldValue: string, newValue: string, attrValue: string[]): void;
9
10
  updateColor(oldValue: string, newValue: string, attrValue: string[]): void;
10
11
  updateTextAlign(attrName: string, oldValue: string, newValue: string, attrValue: string[]): void;
11
- get variant(): string;
12
- set variant(value: string);
13
- get color(): string;
14
- set color(value: string);
15
- get textAlign(): string;
16
- set textAlign(value: string);
17
- get textAlignMobile(): string;
18
- set textAlignMobile(value: string);
19
- get textAlignTablet(): string;
20
- set textAlignTablet(value: string);
21
- get textAlignLaptop(): string;
22
- set textAlignLaptop(value: string);
23
- get textAlignDesktop(): string;
24
- set textAlignDesktop(value: string);
25
- get inverted(): string;
26
- set inverted(value: string);
12
+ get variant(): string | null;
13
+ set variant(value: string | null);
14
+ get color(): string | null;
15
+ set color(value: string | null);
16
+ get textAlign(): string | null;
17
+ set textAlign(value: string | null);
18
+ get textAlignMobile(): string | null;
19
+ set textAlignMobile(value: string | null);
20
+ get textAlignTablet(): string | null;
21
+ set textAlignTablet(value: string | null);
22
+ get textAlignLaptop(): string | null;
23
+ set textAlignLaptop(value: string | null);
24
+ get textAlignDesktop(): string | null;
25
+ set textAlignDesktop(value: string | null);
26
+ get inverted(): boolean;
27
+ set inverted(value: boolean);
28
+ get autoSpacing(): boolean;
29
+ set autoSpacing(value: boolean);
27
30
  }
package/dist/H1.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { AbstractHeading } from './AbstractHeading.ts';
2
2
  export declare class H1 extends AbstractHeading<HTMLHeadingElement> {
3
+ protected static readonly template: HTMLTemplateElement;
3
4
  static nativeName: string;
4
- constructor();
5
5
  }
package/dist/H2.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { AbstractHeading } from './AbstractHeading.ts';
2
2
  export declare class H2 extends AbstractHeading<HTMLHeadingElement> {
3
+ protected static readonly template: HTMLTemplateElement;
3
4
  static nativeName: string;
4
- constructor();
5
5
  }
package/dist/H3.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { AbstractHeading } from './AbstractHeading.ts';
2
2
  export declare class H3 extends AbstractHeading<HTMLHeadingElement> {
3
+ protected static readonly template: HTMLTemplateElement;
3
4
  static nativeName: string;
4
- constructor();
5
5
  }
package/dist/H4.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { AbstractHeading } from './AbstractHeading.ts';
2
2
  export declare class H4 extends AbstractHeading<HTMLHeadingElement> {
3
+ protected static readonly template: HTMLTemplateElement;
3
4
  static nativeName: string;
4
- constructor();
5
5
  }
package/dist/H5.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { AbstractHeading } from './AbstractHeading.ts';
2
2
  export declare class H5 extends AbstractHeading<HTMLHeadingElement> {
3
+ protected static readonly template: HTMLTemplateElement;
3
4
  static nativeName: string;
4
- constructor();
5
5
  }
package/dist/H6.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { AbstractHeading } from './AbstractHeading.ts';
2
2
  export declare class H6 extends AbstractHeading<HTMLHeadingElement> {
3
+ protected static readonly template: HTMLTemplateElement;
3
4
  static nativeName: string;
4
- constructor();
5
5
  }