@proximus/lavender-link 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.
package/dist/Link.d.ts CHANGED
@@ -12,9 +12,30 @@ export declare const linkShapeValues: string[];
12
12
  * @attr {string} rel - The relationship of the linked URL as space-separated link types.
13
13
  * @attr {string} download - Prompts the user to save the linked URL instead of navigating to it.
14
14
  */
15
- export declare class Link extends PxElement<HTMLLinkElement> {
15
+ export declare class Link extends PxElement<HTMLAnchorElement> {
16
16
  protected static readonly template: HTMLTemplateElement;
17
17
  static nativeName: string;
18
+ static nativeProperties: Omit<{
19
+ text: "writable";
20
+ shape: "writable";
21
+ origin: "readonly";
22
+ }, "shape">;
23
+ static nativeMethods: "toString"[];
24
+ static nativeAttributes: {
25
+ href: ("search" | "href" | "hash" | "host" | "hostname" | "password" | "pathname" | "port" | "protocol" | "username")[];
26
+ target: "target"[];
27
+ rel: ("rel" | "relList")[];
28
+ download: "download"[];
29
+ hreflang: "hreflang"[];
30
+ type: "type"[];
31
+ ping: "ping"[];
32
+ referrerpolicy: "referrerPolicy"[];
33
+ title: "title"[];
34
+ charset: "charset"[];
35
+ coords: "coords"[];
36
+ name: "name"[];
37
+ rev: "rev"[];
38
+ };
18
39
  constructor();
19
40
  static get observedAttributes(): string[];
20
41
  connectedCallback(): void;
@@ -61,6 +82,43 @@ export declare class Link extends PxElement<HTMLLinkElement> {
61
82
  set color(value: string | null);
62
83
  get fontweight(): string | null;
63
84
  set fontweight(value: string | null);
64
- get title(): string;
65
- set title(value: string);
85
+ /** @attr {string} charset - The legacy character encoding hint. */
86
+ charset: string;
87
+ /** @attr {string} coords - The legacy image-map coordinates. */
88
+ coords: string;
89
+ /** @attr {string} name - The native element name. */
90
+ name: string;
91
+ /** @attr {string} rev - The legacy reverse link relationship. */
92
+ rev: string;
93
+ /** @attr href - The destination URL; relative URLs remain relative in attributes. */
94
+ href: string;
95
+ /** @attr target - Where to open the destination. */
96
+ target: string;
97
+ /** @attr rel - The relationship to the destination. */
98
+ rel: string;
99
+ readonly relList: DOMTokenList;
100
+ /** @attr download - The suggested download filename; an empty value is valid. */
101
+ download: string;
102
+ /** @attr hreflang - The language of the destination. */
103
+ hreflang: string;
104
+ /** @attr type - The destination MIME type. */
105
+ type: string;
106
+ /** @attr ping - Space-separated tracking URLs. */
107
+ ping: string;
108
+ /** @attr referrerpolicy - The referrer policy for navigation. */
109
+ referrerPolicy: string;
110
+ /** @attr title - The tooltip, retained on both host and native anchor. */
111
+ title: string;
112
+ protocol: string;
113
+ username: string;
114
+ password: string;
115
+ host: string;
116
+ hostname: string;
117
+ port: string;
118
+ pathname: string;
119
+ search: string;
120
+ hash: string;
121
+ text: string;
122
+ readonly origin: string;
123
+ readonly toString: HTMLAnchorElement['toString'];
66
124
  }