@proximus/lavender-image 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.
@@ -14,38 +14,38 @@ export declare abstract class AbstractImage<IMAGE_ELEMENT extends HTMLImageEleme
14
14
  attrName: string;
15
15
  breakpoint: string;
16
16
  };
17
- get borderRadius(): string;
18
- set borderRadius(value: string);
19
- get noBorderRadius(): string;
20
- set noBorderRadius(value: string);
21
- get noBorderRadiusMobile(): string;
22
- set noBorderRadiusMobile(value: string);
23
- get noBorderRadiusTablet(): string;
24
- set noBorderRadiusTablet(value: string);
25
- get noBorderRadiusLaptop(): string;
26
- set noBorderRadiusLaptop(value: string);
27
- get width(): string;
28
- set width(value: string);
29
- get widthMobile(): string;
30
- set widthMobile(value: string);
31
- get widthTablet(): string;
32
- set widthTablet(value: string);
33
- get widthLaptop(): string;
34
- set widthLaptop(value: string);
35
- get widthDesktop(): string;
36
- set widthDesktop(value: string);
37
- get disabled(): string;
38
- set disabled(value: string);
39
- get height(): string;
40
- set height(value: string);
41
- get heightMobile(): string;
42
- set heightMobile(value: string);
43
- get heightTablet(): string;
44
- set heightTablet(value: string);
45
- get heightLaptop(): string;
46
- set heightLaptop(value: string);
47
- get heightDesktop(): string;
48
- set heightDesktop(value: string);
17
+ get borderRadius(): string | null;
18
+ set borderRadius(value: string | null);
19
+ get noBorderRadius(): string | null;
20
+ set noBorderRadius(value: string | null);
21
+ get noBorderRadiusMobile(): string | null;
22
+ set noBorderRadiusMobile(value: string | null);
23
+ get noBorderRadiusTablet(): string | null;
24
+ set noBorderRadiusTablet(value: string | null);
25
+ get noBorderRadiusLaptop(): string | null;
26
+ set noBorderRadiusLaptop(value: string | null);
27
+ get width(): string | null;
28
+ set width(value: string | null);
29
+ get widthMobile(): string | null;
30
+ set widthMobile(value: string | null);
31
+ get widthTablet(): string | null;
32
+ set widthTablet(value: string | null);
33
+ get widthLaptop(): string | null;
34
+ set widthLaptop(value: string | null);
35
+ get widthDesktop(): string | null;
36
+ set widthDesktop(value: string | null);
37
+ get disabled(): boolean;
38
+ set disabled(value: boolean);
39
+ get height(): string | null;
40
+ set height(value: string | null);
41
+ get heightMobile(): string | null;
42
+ set heightMobile(value: string | null);
43
+ get heightTablet(): string | null;
44
+ set heightTablet(value: string | null);
45
+ get heightLaptop(): string | null;
46
+ set heightLaptop(value: string | null);
47
+ get heightDesktop(): string | null;
48
+ set heightDesktop(value: string | null);
49
49
  get cover(): boolean;
50
50
  set cover(value: boolean);
51
51
  }
package/dist/Image.d.ts CHANGED
@@ -1,4 +1,10 @@
1
1
  import { AbstractImage } from './AbstractImage.ts';
2
+ /**
3
+ * @summary An image component.
4
+ * @attr {string} src - The URL of the image.
5
+ * @attr {string} alt - The alternative text for the image.
6
+ * @attr {string} loading - The loading strategy for the image ('lazy' or 'eager').
7
+ */
2
8
  export declare class Image extends AbstractImage<HTMLImageElement> {
3
9
  static nativeName: string;
4
10
  constructor();
package/dist/Picture.d.ts CHANGED
@@ -4,13 +4,13 @@ export declare class Picture extends AbstractImage<HTMLPictureElement> {
4
4
  constructor();
5
5
  private possibleImgExtension;
6
6
  static get observedAttributes(): string[];
7
- get loading(): string;
8
- set loading(value: string);
9
- get alt(): string;
10
- set alt(value: string);
11
- get src(): string;
12
- set src(value: string);
13
- get $imgEl(): HTMLImageElement;
7
+ get loading(): string | null;
8
+ set loading(value: string | null);
9
+ get alt(): string | null;
10
+ set alt(value: string | null);
11
+ get src(): string | null;
12
+ set src(value: string | null);
13
+ get $imgEl(): HTMLImageElement | null;
14
14
  attributeChangedCallback(attrName: string, oldValue: string, newValue: string): void;
15
15
  removeSrc(): void;
16
16
  imgExists(imgUrl: string): Promise<boolean>;