@proximus/lavender-action-link 1.4.20-alpha.4 → 1.4.20-alpha.5
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/ActionLink.d.ts +61 -0
- package/dist/custom-elements.json +327 -0
- package/dist/index.es.js +18 -9
- package/dist/vscode.html-custom-data.json +66 -1
- package/dist/web-types.json +95 -3
- package/package.json +1 -1
package/dist/ActionLink.d.ts
CHANGED
|
@@ -6,6 +6,27 @@ import { PxElement } from '@proximus/lavender-common';
|
|
|
6
6
|
import { type Icon } from '@proximus/lavender-icon-common';
|
|
7
7
|
export declare class ActionLink extends PxElement<HTMLAnchorElement> implements Partial<HTMLAnchorElement> {
|
|
8
8
|
static nativeName: string;
|
|
9
|
+
static nativeProperties: {
|
|
10
|
+
text: "writable";
|
|
11
|
+
shape: "writable";
|
|
12
|
+
origin: "readonly";
|
|
13
|
+
};
|
|
14
|
+
static nativeMethods: "toString"[];
|
|
15
|
+
static nativeAttributes: {
|
|
16
|
+
href: ("search" | "href" | "hash" | "host" | "hostname" | "password" | "pathname" | "port" | "protocol" | "username")[];
|
|
17
|
+
target: "target"[];
|
|
18
|
+
rel: ("rel" | "relList")[];
|
|
19
|
+
download: "download"[];
|
|
20
|
+
hreflang: "hreflang"[];
|
|
21
|
+
type: "type"[];
|
|
22
|
+
ping: "ping"[];
|
|
23
|
+
referrerpolicy: "referrerPolicy"[];
|
|
24
|
+
title: "title"[];
|
|
25
|
+
charset: "charset"[];
|
|
26
|
+
coords: "coords"[];
|
|
27
|
+
name: "name"[];
|
|
28
|
+
rev: "rev"[];
|
|
29
|
+
};
|
|
9
30
|
template: () => string;
|
|
10
31
|
constructor();
|
|
11
32
|
static get observedAttributes(): string[];
|
|
@@ -19,4 +40,44 @@ export declare class ActionLink extends PxElement<HTMLAnchorElement> implements
|
|
|
19
40
|
set iconFrom(value: string | null);
|
|
20
41
|
get promoted(): boolean;
|
|
21
42
|
set promoted(value: boolean);
|
|
43
|
+
/** @attr {string} href - The destination URL; relative URLs remain relative in attributes. */
|
|
44
|
+
href: string;
|
|
45
|
+
protocol: string;
|
|
46
|
+
username: string;
|
|
47
|
+
password: string;
|
|
48
|
+
host: string;
|
|
49
|
+
hostname: string;
|
|
50
|
+
port: string;
|
|
51
|
+
pathname: string;
|
|
52
|
+
search: string;
|
|
53
|
+
hash: string;
|
|
54
|
+
/** @attr {string} target - Where to open the destination. */
|
|
55
|
+
target: string;
|
|
56
|
+
/** @attr {string} rel - The relationship to the destination. */
|
|
57
|
+
rel: string;
|
|
58
|
+
readonly relList: DOMTokenList;
|
|
59
|
+
/** @attr {string} download - The suggested download filename; an empty value is valid. */
|
|
60
|
+
download: string;
|
|
61
|
+
/** @attr {string} hreflang - The language of the destination. */
|
|
62
|
+
hreflang: string;
|
|
63
|
+
/** @attr {string} type - The native element type. */
|
|
64
|
+
type: string;
|
|
65
|
+
/** @attr {string} ping - Space-separated tracking URLs. */
|
|
66
|
+
ping: string;
|
|
67
|
+
/** @attr {string} referrerpolicy - The referrer policy. */
|
|
68
|
+
referrerPolicy: string;
|
|
69
|
+
/** @attr {string} title - The native element tooltip. */
|
|
70
|
+
title: string;
|
|
71
|
+
/** @attr {string} charset - The legacy character encoding hint. */
|
|
72
|
+
charset: string;
|
|
73
|
+
/** @attr {string} coords - The legacy image-map coordinates. */
|
|
74
|
+
coords: string;
|
|
75
|
+
/** @attr {string} name - The native element name. */
|
|
76
|
+
name: string;
|
|
77
|
+
/** @attr {string} rev - The legacy reverse link relationship. */
|
|
78
|
+
rev: string;
|
|
79
|
+
text: string;
|
|
80
|
+
shape: string;
|
|
81
|
+
readonly origin: string;
|
|
82
|
+
readonly toString: HTMLAnchorElement['toString'];
|
|
22
83
|
}
|
|
@@ -20,6 +20,24 @@
|
|
|
20
20
|
"static": true,
|
|
21
21
|
"default": "'a'"
|
|
22
22
|
},
|
|
23
|
+
{
|
|
24
|
+
"kind": "field",
|
|
25
|
+
"name": "nativeProperties",
|
|
26
|
+
"static": true,
|
|
27
|
+
"default": "nativeAnchorProperties"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"kind": "field",
|
|
31
|
+
"name": "nativeMethods",
|
|
32
|
+
"static": true,
|
|
33
|
+
"default": "nativeAnchorMethods"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"kind": "field",
|
|
37
|
+
"name": "nativeAttributes",
|
|
38
|
+
"static": true,
|
|
39
|
+
"default": "nativeAnchorAttributes"
|
|
40
|
+
},
|
|
23
41
|
{
|
|
24
42
|
"kind": "field",
|
|
25
43
|
"name": "template"
|
|
@@ -45,6 +63,211 @@
|
|
|
45
63
|
{
|
|
46
64
|
"kind": "field",
|
|
47
65
|
"name": "promoted"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"kind": "field",
|
|
69
|
+
"name": "href",
|
|
70
|
+
"type": {
|
|
71
|
+
"text": "string"
|
|
72
|
+
},
|
|
73
|
+
"attribute": "href"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"kind": "field",
|
|
77
|
+
"name": "protocol",
|
|
78
|
+
"type": {
|
|
79
|
+
"text": "string"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"kind": "field",
|
|
84
|
+
"name": "username",
|
|
85
|
+
"type": {
|
|
86
|
+
"text": "string"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"kind": "field",
|
|
91
|
+
"name": "password",
|
|
92
|
+
"type": {
|
|
93
|
+
"text": "string"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"kind": "field",
|
|
98
|
+
"name": "host",
|
|
99
|
+
"type": {
|
|
100
|
+
"text": "string"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"kind": "field",
|
|
105
|
+
"name": "hostname",
|
|
106
|
+
"type": {
|
|
107
|
+
"text": "string"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"kind": "field",
|
|
112
|
+
"name": "port",
|
|
113
|
+
"type": {
|
|
114
|
+
"text": "string"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"kind": "field",
|
|
119
|
+
"name": "pathname",
|
|
120
|
+
"type": {
|
|
121
|
+
"text": "string"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"kind": "field",
|
|
126
|
+
"name": "search",
|
|
127
|
+
"type": {
|
|
128
|
+
"text": "string"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"kind": "field",
|
|
133
|
+
"name": "hash",
|
|
134
|
+
"type": {
|
|
135
|
+
"text": "string"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"kind": "field",
|
|
140
|
+
"name": "target",
|
|
141
|
+
"type": {
|
|
142
|
+
"text": "string"
|
|
143
|
+
},
|
|
144
|
+
"attribute": "target"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"kind": "field",
|
|
148
|
+
"name": "rel",
|
|
149
|
+
"type": {
|
|
150
|
+
"text": "string"
|
|
151
|
+
},
|
|
152
|
+
"attribute": "rel"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"kind": "field",
|
|
156
|
+
"name": "relList",
|
|
157
|
+
"type": {
|
|
158
|
+
"text": "DOMTokenList"
|
|
159
|
+
},
|
|
160
|
+
"readonly": true
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"kind": "field",
|
|
164
|
+
"name": "download",
|
|
165
|
+
"type": {
|
|
166
|
+
"text": "string"
|
|
167
|
+
},
|
|
168
|
+
"attribute": "download"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"kind": "field",
|
|
172
|
+
"name": "hreflang",
|
|
173
|
+
"type": {
|
|
174
|
+
"text": "string"
|
|
175
|
+
},
|
|
176
|
+
"attribute": "hreflang"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"kind": "field",
|
|
180
|
+
"name": "type",
|
|
181
|
+
"type": {
|
|
182
|
+
"text": "string"
|
|
183
|
+
},
|
|
184
|
+
"attribute": "type"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"kind": "field",
|
|
188
|
+
"name": "ping",
|
|
189
|
+
"type": {
|
|
190
|
+
"text": "string"
|
|
191
|
+
},
|
|
192
|
+
"attribute": "ping"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"kind": "field",
|
|
196
|
+
"name": "referrerPolicy",
|
|
197
|
+
"type": {
|
|
198
|
+
"text": "string"
|
|
199
|
+
},
|
|
200
|
+
"attribute": "referrerpolicy"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"kind": "field",
|
|
204
|
+
"name": "title",
|
|
205
|
+
"type": {
|
|
206
|
+
"text": "string"
|
|
207
|
+
},
|
|
208
|
+
"attribute": "title"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"kind": "field",
|
|
212
|
+
"name": "charset",
|
|
213
|
+
"type": {
|
|
214
|
+
"text": "string"
|
|
215
|
+
},
|
|
216
|
+
"attribute": "charset"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"kind": "field",
|
|
220
|
+
"name": "coords",
|
|
221
|
+
"type": {
|
|
222
|
+
"text": "string"
|
|
223
|
+
},
|
|
224
|
+
"attribute": "coords"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"kind": "field",
|
|
228
|
+
"name": "name",
|
|
229
|
+
"type": {
|
|
230
|
+
"text": "string"
|
|
231
|
+
},
|
|
232
|
+
"attribute": "name"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"kind": "field",
|
|
236
|
+
"name": "rev",
|
|
237
|
+
"type": {
|
|
238
|
+
"text": "string"
|
|
239
|
+
},
|
|
240
|
+
"attribute": "rev"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"kind": "field",
|
|
244
|
+
"name": "text",
|
|
245
|
+
"type": {
|
|
246
|
+
"text": "string"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"kind": "field",
|
|
251
|
+
"name": "shape",
|
|
252
|
+
"type": {
|
|
253
|
+
"text": "string"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"kind": "field",
|
|
258
|
+
"name": "origin",
|
|
259
|
+
"type": {
|
|
260
|
+
"text": "string"
|
|
261
|
+
},
|
|
262
|
+
"readonly": true
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"kind": "field",
|
|
266
|
+
"name": "toString",
|
|
267
|
+
"type": {
|
|
268
|
+
"text": "HTMLAnchorElement['toString']"
|
|
269
|
+
},
|
|
270
|
+
"readonly": true
|
|
48
271
|
}
|
|
49
272
|
],
|
|
50
273
|
"attributes": [
|
|
@@ -56,6 +279,110 @@
|
|
|
56
279
|
},
|
|
57
280
|
{
|
|
58
281
|
"name": "promoted"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "href",
|
|
285
|
+
"type": {
|
|
286
|
+
"text": "string"
|
|
287
|
+
},
|
|
288
|
+
"fieldName": "href",
|
|
289
|
+
"description": "The destination URL; relative URLs remain relative in attributes."
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "target",
|
|
293
|
+
"type": {
|
|
294
|
+
"text": "string"
|
|
295
|
+
},
|
|
296
|
+
"fieldName": "target",
|
|
297
|
+
"description": "Where to open the destination."
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"name": "rel",
|
|
301
|
+
"type": {
|
|
302
|
+
"text": "string"
|
|
303
|
+
},
|
|
304
|
+
"fieldName": "rel",
|
|
305
|
+
"description": "The relationship to the destination."
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"name": "download",
|
|
309
|
+
"type": {
|
|
310
|
+
"text": "string"
|
|
311
|
+
},
|
|
312
|
+
"fieldName": "download",
|
|
313
|
+
"description": "The suggested download filename; an empty value is valid."
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "hreflang",
|
|
317
|
+
"type": {
|
|
318
|
+
"text": "string"
|
|
319
|
+
},
|
|
320
|
+
"fieldName": "hreflang",
|
|
321
|
+
"description": "The language of the destination."
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"name": "type",
|
|
325
|
+
"type": {
|
|
326
|
+
"text": "string"
|
|
327
|
+
},
|
|
328
|
+
"fieldName": "type",
|
|
329
|
+
"description": "The native element type."
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "ping",
|
|
333
|
+
"type": {
|
|
334
|
+
"text": "string"
|
|
335
|
+
},
|
|
336
|
+
"fieldName": "ping",
|
|
337
|
+
"description": "Space-separated tracking URLs."
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"name": "referrerpolicy",
|
|
341
|
+
"type": {
|
|
342
|
+
"text": "string"
|
|
343
|
+
},
|
|
344
|
+
"fieldName": "referrerPolicy",
|
|
345
|
+
"description": "The referrer policy."
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "title",
|
|
349
|
+
"type": {
|
|
350
|
+
"text": "string"
|
|
351
|
+
},
|
|
352
|
+
"fieldName": "title",
|
|
353
|
+
"description": "The native element tooltip."
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"name": "charset",
|
|
357
|
+
"type": {
|
|
358
|
+
"text": "string"
|
|
359
|
+
},
|
|
360
|
+
"fieldName": "charset",
|
|
361
|
+
"description": "The legacy character encoding hint."
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "coords",
|
|
365
|
+
"type": {
|
|
366
|
+
"text": "string"
|
|
367
|
+
},
|
|
368
|
+
"fieldName": "coords",
|
|
369
|
+
"description": "The legacy image-map coordinates."
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"name": "name",
|
|
373
|
+
"type": {
|
|
374
|
+
"text": "string"
|
|
375
|
+
},
|
|
376
|
+
"fieldName": "name",
|
|
377
|
+
"description": "The native element name."
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"name": "rev",
|
|
381
|
+
"type": {
|
|
382
|
+
"text": "string"
|
|
383
|
+
},
|
|
384
|
+
"fieldName": "rev",
|
|
385
|
+
"description": "The legacy reverse link relationship."
|
|
59
386
|
}
|
|
60
387
|
],
|
|
61
388
|
"superclass": {
|
package/dist/index.es.js
CHANGED
|
@@ -2,16 +2,25 @@ import "@proximus/lavender-layout";
|
|
|
2
2
|
import "@proximus/lavender-icon";
|
|
3
3
|
import "@proximus/lavender-span";
|
|
4
4
|
import "@proximus/lavender-container";
|
|
5
|
-
import { PxElement as e, log as t,
|
|
5
|
+
import { PxElement as e, log as t, nativeAnchorAttributes as n, nativeAnchorMethods as r, nativeAnchorProperties as i, propertyToAttributeSetter as a, renderTemplate as o, transferAccessibilityAttributes as s } from "@proximus/lavender-common";
|
|
6
6
|
//#region src/action-link.css?inline
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
var
|
|
7
|
+
var c = ":host{display:block}:host *{box-sizing:border-box}:host(:not([promoted])){display:none}a,button{font-family:var(--px-font-family);padding:var(--px-padding-xs-mobile);cursor:pointer;border-radius:var(--px-radius-main);border:var(--px-size-border-m) solid transparent;color:var(--px-color-text-brand-default);--btn-transition:all .2s ease-in-out 0s;transition:var(--btn-transition);text-decoration:none;display:block}:is(a,button) px-span{font-size:var(--px-text-size-label-s-mobile);line-height:var(--px-line-height-ratio-l)}:is(a,button):hover{background-color:var(--px-color-background-container-secondary-default)}:is(a,button):focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}@media only screen and (width>=48rem){a,button{padding:var(--px-padding-xs-tablet)}:is(a,button) px-span{font-size:var(--px-text-size-label-s-tablet)}:is(a,button):focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}}@media only screen and (width>=64.0625rem){a,button{min-width:65px;padding:var(--px-padding-xs-laptop)}:is(a,button) px-span{font-size:var(--px-text-size-label-s-laptop)}:is(a,button):focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}:host(:not([promoted])){display:block}}@media only screen and (width>=90.0625rem){a,button{padding:var(--px-padding-xs-desktop)}:is(a,button) px-span{font-size:var(--px-text-size-label-s-desktop)}:is(a,button):focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}}", l = new CSSStyleSheet();
|
|
8
|
+
l.replaceSync(c);
|
|
9
|
+
var u = class extends e {
|
|
10
10
|
static {
|
|
11
11
|
this.nativeName = "a";
|
|
12
12
|
}
|
|
13
|
+
static {
|
|
14
|
+
this.nativeProperties = i;
|
|
15
|
+
}
|
|
16
|
+
static {
|
|
17
|
+
this.nativeMethods = r;
|
|
18
|
+
}
|
|
19
|
+
static {
|
|
20
|
+
this.nativeAttributes = n;
|
|
21
|
+
}
|
|
13
22
|
constructor() {
|
|
14
|
-
super(
|
|
23
|
+
super(l), this.template = () => `<a href="${this.getAttribute("href")}">
|
|
15
24
|
<px-vstack gap="none" align-items="center">
|
|
16
25
|
<px-icon
|
|
17
26
|
name="${this.getAttribute("icon-name")}"
|
|
@@ -21,7 +30,7 @@ var s = class extends e {
|
|
|
21
30
|
</px-icon>
|
|
22
31
|
<px-span color="brand" font-size="inherit" hidden--mobile hidden--tablet><slot></slot></px-span>
|
|
23
32
|
</px-vstack>
|
|
24
|
-
</a>`,
|
|
33
|
+
</a>`, o(this.shadowRoot, this.template());
|
|
25
34
|
}
|
|
26
35
|
static get observedAttributes() {
|
|
27
36
|
return [
|
|
@@ -36,7 +45,7 @@ var s = class extends e {
|
|
|
36
45
|
e === "icon-name" ? this.$icon?.setAttribute("name", r) : e === "icon-from" ? this.$icon?.setAttribute("from", r) : super.attributeChangedCallback(e, n, r);
|
|
37
46
|
}
|
|
38
47
|
connectedCallback() {
|
|
39
|
-
this.parentElement?.localName === "px-header" && this.setAttribute("slot", "header-actions"), this.hasAttribute("icon-from") || this.setAttribute("icon-from", "lavender"), this.hasAttribute("icon-name") || this.setAttribute("icon-name", "bug"),
|
|
48
|
+
this.parentElement?.localName === "px-header" && this.setAttribute("slot", "header-actions"), this.hasAttribute("icon-from") || this.setAttribute("icon-from", "lavender"), this.hasAttribute("icon-name") || this.setAttribute("icon-name", "bug"), s(this, this.$el, !1), this.getAttribute("aria-label") || a(this.$el, "aria-label", this.textContent);
|
|
40
49
|
}
|
|
41
50
|
get $icon() {
|
|
42
51
|
return this.shadowRoot.querySelector("px-icon");
|
|
@@ -63,6 +72,6 @@ var s = class extends e {
|
|
|
63
72
|
this._updateBooleanAttribute("promoted", e);
|
|
64
73
|
}
|
|
65
74
|
};
|
|
66
|
-
customElements.get("px-action-link") || customElements.define("px-action-link",
|
|
75
|
+
customElements.get("px-action-link") || customElements.define("px-action-link", u);
|
|
67
76
|
//#endregion
|
|
68
|
-
export {
|
|
77
|
+
export { u as ActionLink };
|
|
@@ -8,7 +8,72 @@
|
|
|
8
8
|
"attributes": [
|
|
9
9
|
{ "name": "icon-name", "values": [] },
|
|
10
10
|
{ "name": "icon-from", "values": [] },
|
|
11
|
-
{ "name": "promoted", "values": [] }
|
|
11
|
+
{ "name": "promoted", "values": [] },
|
|
12
|
+
{
|
|
13
|
+
"name": "href",
|
|
14
|
+
"description": "The destination URL; relative URLs remain relative in attributes.",
|
|
15
|
+
"values": []
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "target",
|
|
19
|
+
"description": "Where to open the destination.",
|
|
20
|
+
"values": []
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "rel",
|
|
24
|
+
"description": "The relationship to the destination.",
|
|
25
|
+
"values": []
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "download",
|
|
29
|
+
"description": "The suggested download filename; an empty value is valid.",
|
|
30
|
+
"values": []
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "hreflang",
|
|
34
|
+
"description": "The language of the destination.",
|
|
35
|
+
"values": []
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "type",
|
|
39
|
+
"description": "The native element type.",
|
|
40
|
+
"values": []
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "ping",
|
|
44
|
+
"description": "Space-separated tracking URLs.",
|
|
45
|
+
"values": []
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "referrerpolicy",
|
|
49
|
+
"description": "The referrer policy.",
|
|
50
|
+
"values": []
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "title",
|
|
54
|
+
"description": "The native element tooltip.",
|
|
55
|
+
"values": []
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "charset",
|
|
59
|
+
"description": "The legacy character encoding hint.",
|
|
60
|
+
"values": []
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "coords",
|
|
64
|
+
"description": "The legacy image-map coordinates.",
|
|
65
|
+
"values": []
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "name",
|
|
69
|
+
"description": "The native element name.",
|
|
70
|
+
"values": []
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "rev",
|
|
74
|
+
"description": "The legacy reverse link relationship.",
|
|
75
|
+
"values": []
|
|
76
|
+
}
|
|
12
77
|
],
|
|
13
78
|
"references": []
|
|
14
79
|
}
|
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-action-link",
|
|
4
|
-
"version": "1.4.20-alpha.
|
|
4
|
+
"version": "1.4.20-alpha.5",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -13,7 +13,72 @@
|
|
|
13
13
|
"attributes": [
|
|
14
14
|
{ "name": "icon-name", "value": { "type": "string" } },
|
|
15
15
|
{ "name": "icon-from", "value": { "type": "string" } },
|
|
16
|
-
{ "name": "promoted", "value": { "type": "string" } }
|
|
16
|
+
{ "name": "promoted", "value": { "type": "string" } },
|
|
17
|
+
{
|
|
18
|
+
"name": "href",
|
|
19
|
+
"description": "The destination URL; relative URLs remain relative in attributes.",
|
|
20
|
+
"value": { "type": "string" }
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "target",
|
|
24
|
+
"description": "Where to open the destination.",
|
|
25
|
+
"value": { "type": "string" }
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "rel",
|
|
29
|
+
"description": "The relationship to the destination.",
|
|
30
|
+
"value": { "type": "string" }
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "download",
|
|
34
|
+
"description": "The suggested download filename; an empty value is valid.",
|
|
35
|
+
"value": { "type": "string" }
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "hreflang",
|
|
39
|
+
"description": "The language of the destination.",
|
|
40
|
+
"value": { "type": "string" }
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "type",
|
|
44
|
+
"description": "The native element type.",
|
|
45
|
+
"value": { "type": "string" }
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "ping",
|
|
49
|
+
"description": "Space-separated tracking URLs.",
|
|
50
|
+
"value": { "type": "string" }
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "referrerpolicy",
|
|
54
|
+
"description": "The referrer policy.",
|
|
55
|
+
"value": { "type": "string" }
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "title",
|
|
59
|
+
"description": "The native element tooltip.",
|
|
60
|
+
"value": { "type": "string" }
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "charset",
|
|
64
|
+
"description": "The legacy character encoding hint.",
|
|
65
|
+
"value": { "type": "string" }
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "coords",
|
|
69
|
+
"description": "The legacy image-map coordinates.",
|
|
70
|
+
"value": { "type": "string" }
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "name",
|
|
74
|
+
"description": "The native element name.",
|
|
75
|
+
"value": { "type": "string" }
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "rev",
|
|
79
|
+
"description": "The legacy reverse link relationship.",
|
|
80
|
+
"value": { "type": "string" }
|
|
81
|
+
}
|
|
17
82
|
],
|
|
18
83
|
"events": [],
|
|
19
84
|
"js": {
|
|
@@ -23,7 +88,34 @@
|
|
|
23
88
|
{ "name": "$anchor" },
|
|
24
89
|
{ "name": "iconName" },
|
|
25
90
|
{ "name": "iconFrom" },
|
|
26
|
-
{ "name": "promoted" }
|
|
91
|
+
{ "name": "promoted" },
|
|
92
|
+
{ "name": "href", "type": "string" },
|
|
93
|
+
{ "name": "protocol", "type": "string" },
|
|
94
|
+
{ "name": "username", "type": "string" },
|
|
95
|
+
{ "name": "password", "type": "string" },
|
|
96
|
+
{ "name": "host", "type": "string" },
|
|
97
|
+
{ "name": "hostname", "type": "string" },
|
|
98
|
+
{ "name": "port", "type": "string" },
|
|
99
|
+
{ "name": "pathname", "type": "string" },
|
|
100
|
+
{ "name": "search", "type": "string" },
|
|
101
|
+
{ "name": "hash", "type": "string" },
|
|
102
|
+
{ "name": "target", "type": "string" },
|
|
103
|
+
{ "name": "rel", "type": "string" },
|
|
104
|
+
{ "name": "relList", "type": "DOMTokenList" },
|
|
105
|
+
{ "name": "download", "type": "string" },
|
|
106
|
+
{ "name": "hreflang", "type": "string" },
|
|
107
|
+
{ "name": "type", "type": "string" },
|
|
108
|
+
{ "name": "ping", "type": "string" },
|
|
109
|
+
{ "name": "referrerPolicy", "type": "string" },
|
|
110
|
+
{ "name": "title", "type": "string" },
|
|
111
|
+
{ "name": "charset", "type": "string" },
|
|
112
|
+
{ "name": "coords", "type": "string" },
|
|
113
|
+
{ "name": "name", "type": "string" },
|
|
114
|
+
{ "name": "rev", "type": "string" },
|
|
115
|
+
{ "name": "text", "type": "string" },
|
|
116
|
+
{ "name": "shape", "type": "string" },
|
|
117
|
+
{ "name": "origin", "type": "string" },
|
|
118
|
+
{ "name": "toString", "type": "HTMLAnchorElement['toString']" }
|
|
27
119
|
],
|
|
28
120
|
"events": []
|
|
29
121
|
}
|