@aurodesignsystem-dev/auro-hyperlink 0.0.0-pr306.1 → 0.0.0-pr312.0
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/custom-elements.json +2737 -0
- package/demo/api.md +31 -24
- package/demo/auro-hyperlink.min.js +23 -2
- package/dist/{auro-hyperlink-C3d_7inK.js → auro-hyperlink-BbOKgPQQ.js} +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/registered.js +1 -1
- package/package.json +14 -9
|
@@ -0,0 +1,2737 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "src/auro-hyperlink-button.js",
|
|
8
|
+
"declarations": [
|
|
9
|
+
{
|
|
10
|
+
"kind": "class",
|
|
11
|
+
"description": "",
|
|
12
|
+
"name": "AuroHyperlinkButton",
|
|
13
|
+
"members": [
|
|
14
|
+
{
|
|
15
|
+
"kind": "method",
|
|
16
|
+
"name": "register",
|
|
17
|
+
"static": true,
|
|
18
|
+
"parameters": [
|
|
19
|
+
{
|
|
20
|
+
"name": "name",
|
|
21
|
+
"default": "\"auro-hyperlink-button\"",
|
|
22
|
+
"description": "The name of element that you want to register to.",
|
|
23
|
+
"optional": true,
|
|
24
|
+
"type": {
|
|
25
|
+
"text": "string"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"description": "This will register this element with the browser.",
|
|
30
|
+
"inheritedFrom": {
|
|
31
|
+
"name": "AuroButton",
|
|
32
|
+
"module": "src/auro-button.js"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"kind": "field",
|
|
37
|
+
"name": "formAssociated",
|
|
38
|
+
"static": true,
|
|
39
|
+
"description": "Enables form association for this element.",
|
|
40
|
+
"return": {
|
|
41
|
+
"type": {
|
|
42
|
+
"text": "boolean"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"readonly": true,
|
|
46
|
+
"inheritedFrom": {
|
|
47
|
+
"name": "AuroButton",
|
|
48
|
+
"module": "src/auro-button.js"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"kind": "method",
|
|
53
|
+
"name": "focus",
|
|
54
|
+
"description": "Internal method to apply focus to the HTML5 button.",
|
|
55
|
+
"privacy": "private",
|
|
56
|
+
"return": {
|
|
57
|
+
"type": {
|
|
58
|
+
"text": "void"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"inheritedFrom": {
|
|
62
|
+
"name": "AuroButton",
|
|
63
|
+
"module": "src/auro-button.js"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"kind": "method",
|
|
68
|
+
"name": "surfaceSubmitEvent",
|
|
69
|
+
"description": "Submits the form that this button is associated with.",
|
|
70
|
+
"privacy": "private",
|
|
71
|
+
"return": {
|
|
72
|
+
"type": {
|
|
73
|
+
"text": "void"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"inheritedFrom": {
|
|
77
|
+
"name": "AuroButton",
|
|
78
|
+
"module": "src/auro-button.js"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"kind": "field",
|
|
83
|
+
"name": "form",
|
|
84
|
+
"description": "Returns the form element that this button is associated with.",
|
|
85
|
+
"privacy": "private",
|
|
86
|
+
"return": {
|
|
87
|
+
"type": {
|
|
88
|
+
"text": "HTMLFormElement | null"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"readonly": true,
|
|
92
|
+
"inheritedFrom": {
|
|
93
|
+
"name": "AuroButton",
|
|
94
|
+
"module": "src/auro-button.js"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"kind": "field",
|
|
99
|
+
"name": "showText",
|
|
100
|
+
"privacy": "private",
|
|
101
|
+
"return": {
|
|
102
|
+
"type": {
|
|
103
|
+
"text": "Boolean"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"readonly": true,
|
|
107
|
+
"inheritedFrom": {
|
|
108
|
+
"name": "AuroButton",
|
|
109
|
+
"module": "src/auro-button.js"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"kind": "field",
|
|
114
|
+
"name": "currentAriaLabel",
|
|
115
|
+
"description": "Returns the current value of the projected `aria-label` attribute or undefined if not set. The `aria-label` attribute is for internal use only.",
|
|
116
|
+
"return": {
|
|
117
|
+
"type": {
|
|
118
|
+
"text": "string | undefined"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"privacy": "private",
|
|
122
|
+
"readonly": true,
|
|
123
|
+
"inheritedFrom": {
|
|
124
|
+
"name": "AuroButton",
|
|
125
|
+
"module": "src/auro-button.js"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"kind": "field",
|
|
130
|
+
"name": "currentAriaLabelledBy",
|
|
131
|
+
"description": "Returns the current value of the projected `aria-labelledby` attribute or undefined if not set.",
|
|
132
|
+
"return": {
|
|
133
|
+
"type": {
|
|
134
|
+
"text": "string | undefined"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"privacy": "private",
|
|
138
|
+
"readonly": true,
|
|
139
|
+
"inheritedFrom": {
|
|
140
|
+
"name": "AuroButton",
|
|
141
|
+
"module": "src/auro-button.js"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"kind": "field",
|
|
146
|
+
"name": "iconOnly",
|
|
147
|
+
"description": "Whether or not the button is set to an icon-only shape.",
|
|
148
|
+
"return": {
|
|
149
|
+
"type": {
|
|
150
|
+
"text": "boolean"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"privacy": "private",
|
|
154
|
+
"readonly": true,
|
|
155
|
+
"inheritedFrom": {
|
|
156
|
+
"name": "AuroButton",
|
|
157
|
+
"module": "src/auro-button.js"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"kind": "method",
|
|
162
|
+
"name": "getFontSize",
|
|
163
|
+
"description": "Gets a class name for the font size based on the button's size and shape.",
|
|
164
|
+
"return": {
|
|
165
|
+
"type": {
|
|
166
|
+
"text": "string"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"privacy": "private",
|
|
170
|
+
"inheritedFrom": {
|
|
171
|
+
"name": "AuroButton",
|
|
172
|
+
"module": "src/auro-button.js"
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"kind": "field",
|
|
177
|
+
"name": "_renderTag",
|
|
178
|
+
"description": "Renders the tag for the component.",
|
|
179
|
+
"return": {
|
|
180
|
+
"type": {
|
|
181
|
+
"text": "TemplateResult"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"privacy": "private",
|
|
185
|
+
"readonly": true,
|
|
186
|
+
"inheritedFrom": {
|
|
187
|
+
"name": "AuroButton",
|
|
188
|
+
"module": "src/auro-button.js"
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"kind": "method",
|
|
193
|
+
"name": "generateAriaLabel",
|
|
194
|
+
"description": "Returns the appropriate string to be used for the aria-label attribute.",
|
|
195
|
+
"return": {
|
|
196
|
+
"type": {
|
|
197
|
+
"text": "String"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"privacy": "private",
|
|
201
|
+
"inheritedFrom": {
|
|
202
|
+
"name": "AuroButton",
|
|
203
|
+
"module": "src/auro-button.js"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"kind": "method",
|
|
208
|
+
"name": "onPointerEvent",
|
|
209
|
+
"parameters": [
|
|
210
|
+
{
|
|
211
|
+
"name": "event",
|
|
212
|
+
"description": "The pointer event.",
|
|
213
|
+
"type": {
|
|
214
|
+
"text": "PointerEvent"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
],
|
|
218
|
+
"description": "This is to detect pointer events for hover and active states for styling purposes.\n:host with :has selector dont work together in Safari and Firefox",
|
|
219
|
+
"privacy": "private",
|
|
220
|
+
"inheritedFrom": {
|
|
221
|
+
"name": "AuroButton",
|
|
222
|
+
"module": "src/auro-button.js"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"kind": "method",
|
|
227
|
+
"name": "renderLayoutDefault",
|
|
228
|
+
"description": "Renders the default layout for the button.",
|
|
229
|
+
"return": {
|
|
230
|
+
"type": {
|
|
231
|
+
"text": "TemplateResult"
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
"privacy": "private",
|
|
235
|
+
"inheritedFrom": {
|
|
236
|
+
"name": "AuroButton",
|
|
237
|
+
"module": "src/auro-button.js"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"kind": "method",
|
|
242
|
+
"name": "renderLayout",
|
|
243
|
+
"description": "Renders the layout of the button.",
|
|
244
|
+
"return": {
|
|
245
|
+
"type": {
|
|
246
|
+
"text": "TemplateResult"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"privacy": "private",
|
|
250
|
+
"inheritedFrom": {
|
|
251
|
+
"name": "AuroButton",
|
|
252
|
+
"module": "src/auro-button.js"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"kind": "field",
|
|
257
|
+
"name": "autofocus",
|
|
258
|
+
"privacy": "public",
|
|
259
|
+
"type": {
|
|
260
|
+
"text": "boolean"
|
|
261
|
+
},
|
|
262
|
+
"description": "This Boolean attribute lets you specify that the button should have input focus when the page loads, unless overridden by the user.",
|
|
263
|
+
"default": "false",
|
|
264
|
+
"attribute": "autofocus",
|
|
265
|
+
"reflects": true,
|
|
266
|
+
"inheritedFrom": {
|
|
267
|
+
"name": "AuroButton",
|
|
268
|
+
"module": "src/auro-button.js"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"kind": "field",
|
|
273
|
+
"name": "disabled",
|
|
274
|
+
"privacy": "public",
|
|
275
|
+
"type": {
|
|
276
|
+
"text": "boolean"
|
|
277
|
+
},
|
|
278
|
+
"description": "If set to true, button will become disabled and not allow for interactions.",
|
|
279
|
+
"default": "false",
|
|
280
|
+
"attribute": "disabled",
|
|
281
|
+
"reflects": true,
|
|
282
|
+
"inheritedFrom": {
|
|
283
|
+
"name": "AuroButton",
|
|
284
|
+
"module": "src/auro-button.js"
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"kind": "field",
|
|
289
|
+
"name": "loading",
|
|
290
|
+
"privacy": "public",
|
|
291
|
+
"type": {
|
|
292
|
+
"text": "boolean"
|
|
293
|
+
},
|
|
294
|
+
"description": "If set to true button text will be replaced with `auro-loader` and become disabled.",
|
|
295
|
+
"default": "false",
|
|
296
|
+
"attribute": "loading",
|
|
297
|
+
"reflects": true,
|
|
298
|
+
"inheritedFrom": {
|
|
299
|
+
"name": "AuroButton",
|
|
300
|
+
"module": "src/auro-button.js"
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"kind": "field",
|
|
305
|
+
"name": "static",
|
|
306
|
+
"privacy": "public",
|
|
307
|
+
"type": {
|
|
308
|
+
"text": "boolean"
|
|
309
|
+
},
|
|
310
|
+
"description": "If true, the button will be static and not respond to user interactions.",
|
|
311
|
+
"default": "false",
|
|
312
|
+
"attribute": "static",
|
|
313
|
+
"reflects": true,
|
|
314
|
+
"inheritedFrom": {
|
|
315
|
+
"name": "AuroButton",
|
|
316
|
+
"module": "src/auro-button.js"
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"kind": "field",
|
|
321
|
+
"name": "size",
|
|
322
|
+
"type": {
|
|
323
|
+
"text": "'xs', 'sm', 'md', 'lg', 'xl'"
|
|
324
|
+
},
|
|
325
|
+
"default": "\"md\"",
|
|
326
|
+
"description": "Defines the size of the button.",
|
|
327
|
+
"inheritedFrom": {
|
|
328
|
+
"name": "AuroButton",
|
|
329
|
+
"module": "src/auro-button.js"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"kind": "field",
|
|
334
|
+
"name": "shape",
|
|
335
|
+
"type": {
|
|
336
|
+
"text": "'default', 'rounded', 'pill', 'circle', 'square'"
|
|
337
|
+
},
|
|
338
|
+
"default": "\"rounded\"",
|
|
339
|
+
"description": "Defines the shape of the button.",
|
|
340
|
+
"inheritedFrom": {
|
|
341
|
+
"name": "AuroButton",
|
|
342
|
+
"module": "src/auro-button.js"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"kind": "field",
|
|
347
|
+
"name": "fluid",
|
|
348
|
+
"privacy": "public",
|
|
349
|
+
"type": {
|
|
350
|
+
"text": "boolean"
|
|
351
|
+
},
|
|
352
|
+
"description": "Alters the shape of the button to be full width of its parent container.",
|
|
353
|
+
"default": "false",
|
|
354
|
+
"attribute": "fluid",
|
|
355
|
+
"reflects": true,
|
|
356
|
+
"inheritedFrom": {
|
|
357
|
+
"name": "AuroButton",
|
|
358
|
+
"module": "src/auro-button.js"
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"kind": "field",
|
|
363
|
+
"name": "loadingText",
|
|
364
|
+
"privacy": "public",
|
|
365
|
+
"type": {
|
|
366
|
+
"text": "string"
|
|
367
|
+
},
|
|
368
|
+
"description": "DEPRECATED - Use `slot=\"ariaLabel.loading\"` instead.",
|
|
369
|
+
"attribute": "loadingText",
|
|
370
|
+
"inheritedFrom": {
|
|
371
|
+
"name": "AuroButton",
|
|
372
|
+
"module": "src/auro-button.js"
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"kind": "field",
|
|
377
|
+
"name": "variant",
|
|
378
|
+
"privacy": "public",
|
|
379
|
+
"type": {
|
|
380
|
+
"text": "'primary', 'secondary', 'tertiary', 'ghost', 'flat'"
|
|
381
|
+
},
|
|
382
|
+
"description": "Sets the button variant.",
|
|
383
|
+
"default": "\"primary\"",
|
|
384
|
+
"attribute": "variant",
|
|
385
|
+
"reflects": true,
|
|
386
|
+
"inheritedFrom": {
|
|
387
|
+
"name": "AuroButton",
|
|
388
|
+
"module": "src/auro-button.js"
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"kind": "field",
|
|
393
|
+
"name": "runtimeUtils",
|
|
394
|
+
"privacy": "private",
|
|
395
|
+
"default": "new AuroLibraryRuntimeUtils()",
|
|
396
|
+
"inheritedFrom": {
|
|
397
|
+
"name": "AuroButton",
|
|
398
|
+
"module": "src/auro-button.js"
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"kind": "field",
|
|
403
|
+
"name": "loaderTag",
|
|
404
|
+
"privacy": "private",
|
|
405
|
+
"inheritedFrom": {
|
|
406
|
+
"name": "AuroButton",
|
|
407
|
+
"module": "src/auro-button.js"
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"kind": "field",
|
|
412
|
+
"name": "buttonHref",
|
|
413
|
+
"privacy": "private",
|
|
414
|
+
"type": {
|
|
415
|
+
"text": "string"
|
|
416
|
+
},
|
|
417
|
+
"default": "undefined",
|
|
418
|
+
"attribute": "buttonHref",
|
|
419
|
+
"inheritedFrom": {
|
|
420
|
+
"name": "AuroButton",
|
|
421
|
+
"module": "src/auro-button.js"
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"kind": "field",
|
|
426
|
+
"name": "buttonTarget",
|
|
427
|
+
"privacy": "private",
|
|
428
|
+
"type": {
|
|
429
|
+
"text": "string"
|
|
430
|
+
},
|
|
431
|
+
"default": "undefined",
|
|
432
|
+
"attribute": "buttonTarget",
|
|
433
|
+
"inheritedFrom": {
|
|
434
|
+
"name": "AuroButton",
|
|
435
|
+
"module": "src/auro-button.js"
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"kind": "field",
|
|
440
|
+
"name": "buttonRel",
|
|
441
|
+
"privacy": "private",
|
|
442
|
+
"type": {
|
|
443
|
+
"text": "string"
|
|
444
|
+
},
|
|
445
|
+
"default": "undefined",
|
|
446
|
+
"attribute": "buttonRel",
|
|
447
|
+
"inheritedFrom": {
|
|
448
|
+
"name": "AuroButton",
|
|
449
|
+
"module": "src/auro-button.js"
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"kind": "field",
|
|
454
|
+
"name": "type",
|
|
455
|
+
"privacy": "public",
|
|
456
|
+
"type": {
|
|
457
|
+
"text": "'submit', 'reset', 'button'"
|
|
458
|
+
},
|
|
459
|
+
"description": "The type of button. Matches HTML5 Button Spec.",
|
|
460
|
+
"attribute": "type",
|
|
461
|
+
"reflects": true,
|
|
462
|
+
"inheritedFrom": {
|
|
463
|
+
"name": "AuroButton",
|
|
464
|
+
"module": "src/auro-button.js"
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"type": {
|
|
469
|
+
"text": "boolean"
|
|
470
|
+
},
|
|
471
|
+
"description": "DEPRECATED - use `appearance` property",
|
|
472
|
+
"name": "onDark",
|
|
473
|
+
"kind": "field",
|
|
474
|
+
"inheritedFrom": {
|
|
475
|
+
"name": "AuroButton",
|
|
476
|
+
"module": "src/auro-button.js"
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"type": {
|
|
481
|
+
"text": "'default', 'inverse'"
|
|
482
|
+
},
|
|
483
|
+
"description": "Defines whether the button will be on lighter or darker backgrounds.",
|
|
484
|
+
"name": "appearance",
|
|
485
|
+
"kind": "field",
|
|
486
|
+
"inheritedFrom": {
|
|
487
|
+
"name": "AuroButton",
|
|
488
|
+
"module": "src/auro-button.js"
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"kind": "field",
|
|
493
|
+
"name": "layout",
|
|
494
|
+
"privacy": "private",
|
|
495
|
+
"type": {
|
|
496
|
+
"text": "boolean"
|
|
497
|
+
},
|
|
498
|
+
"description": "Override layout since it isn't used in this component.",
|
|
499
|
+
"inheritedFrom": {
|
|
500
|
+
"name": "AuroButton",
|
|
501
|
+
"module": "src/auro-button.js"
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"kind": "field",
|
|
506
|
+
"name": "tIndex",
|
|
507
|
+
"privacy": "public",
|
|
508
|
+
"type": {
|
|
509
|
+
"text": "string"
|
|
510
|
+
},
|
|
511
|
+
"description": "Populates `tabindex` to define the focusable sequence in keyboard navigation.",
|
|
512
|
+
"attribute": "tIndex",
|
|
513
|
+
"reflects": true,
|
|
514
|
+
"inheritedFrom": {
|
|
515
|
+
"name": "AuroButton",
|
|
516
|
+
"module": "src/auro-button.js"
|
|
517
|
+
}
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"kind": "field",
|
|
521
|
+
"name": "tabindex",
|
|
522
|
+
"privacy": "public",
|
|
523
|
+
"type": {
|
|
524
|
+
"text": "string"
|
|
525
|
+
},
|
|
526
|
+
"description": "Populates `tabindex` to define the focusable sequence in keyboard navigation.\nMust be used with \".\" to ensure the host element does not retain a reference to the `tabindex` attribute.\nExample: `<auro-button .tabindex=\"${this.disabled ? '-1' : '0'}\"></auro-button>`.",
|
|
527
|
+
"attribute": "tabindex",
|
|
528
|
+
"inheritedFrom": {
|
|
529
|
+
"name": "AuroButton",
|
|
530
|
+
"module": "src/auro-button.js"
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"kind": "field",
|
|
535
|
+
"name": "title",
|
|
536
|
+
"privacy": "public",
|
|
537
|
+
"type": {
|
|
538
|
+
"text": "string"
|
|
539
|
+
},
|
|
540
|
+
"description": "Sets title attribute. The information is most often shown as a tooltip text when the mouse moves over the element.",
|
|
541
|
+
"attribute": "title",
|
|
542
|
+
"reflects": true,
|
|
543
|
+
"inheritedFrom": {
|
|
544
|
+
"name": "AuroButton",
|
|
545
|
+
"module": "src/auro-button.js"
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"kind": "field",
|
|
550
|
+
"name": "value",
|
|
551
|
+
"privacy": "public",
|
|
552
|
+
"type": {
|
|
553
|
+
"text": "string"
|
|
554
|
+
},
|
|
555
|
+
"description": "Defines the value associated with the button which is submitted with the form data.",
|
|
556
|
+
"attribute": "value",
|
|
557
|
+
"reflects": true,
|
|
558
|
+
"inheritedFrom": {
|
|
559
|
+
"name": "AuroButton",
|
|
560
|
+
"module": "src/auro-button.js"
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"kind": "field",
|
|
565
|
+
"name": "onHover",
|
|
566
|
+
"privacy": "private",
|
|
567
|
+
"type": {
|
|
568
|
+
"text": "boolean"
|
|
569
|
+
},
|
|
570
|
+
"attribute": "data-hover",
|
|
571
|
+
"reflects": true,
|
|
572
|
+
"inheritedFrom": {
|
|
573
|
+
"name": "AuroButton",
|
|
574
|
+
"module": "src/auro-button.js"
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"kind": "field",
|
|
579
|
+
"name": "onActive",
|
|
580
|
+
"privacy": "private",
|
|
581
|
+
"type": {
|
|
582
|
+
"text": "boolean"
|
|
583
|
+
},
|
|
584
|
+
"attribute": "data-active",
|
|
585
|
+
"reflects": true,
|
|
586
|
+
"inheritedFrom": {
|
|
587
|
+
"name": "AuroButton",
|
|
588
|
+
"module": "src/auro-button.js"
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
],
|
|
592
|
+
"superclass": {
|
|
593
|
+
"name": "AuroButton",
|
|
594
|
+
"package": "@aurodesignsystem/auro-button/class"
|
|
595
|
+
},
|
|
596
|
+
"tagName": "auro-hyperlink-button",
|
|
597
|
+
"customElement": true,
|
|
598
|
+
"attributes": [
|
|
599
|
+
{
|
|
600
|
+
"name": "autofocus",
|
|
601
|
+
"type": {
|
|
602
|
+
"text": "boolean"
|
|
603
|
+
},
|
|
604
|
+
"description": "This Boolean attribute lets you specify that the button should have input focus when the page loads, unless overridden by the user.",
|
|
605
|
+
"default": "false",
|
|
606
|
+
"fieldName": "autofocus",
|
|
607
|
+
"inheritedFrom": {
|
|
608
|
+
"name": "AuroButton",
|
|
609
|
+
"module": "src/auro-button.js"
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"name": "disabled",
|
|
614
|
+
"type": {
|
|
615
|
+
"text": "boolean"
|
|
616
|
+
},
|
|
617
|
+
"description": "If set to true, button will become disabled and not allow for interactions.",
|
|
618
|
+
"default": "false",
|
|
619
|
+
"fieldName": "disabled",
|
|
620
|
+
"inheritedFrom": {
|
|
621
|
+
"name": "AuroButton",
|
|
622
|
+
"module": "src/auro-button.js"
|
|
623
|
+
}
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"name": "fluid",
|
|
627
|
+
"type": {
|
|
628
|
+
"text": "boolean"
|
|
629
|
+
},
|
|
630
|
+
"description": "Alters the shape of the button to be full width of its parent container.",
|
|
631
|
+
"default": "false",
|
|
632
|
+
"fieldName": "fluid",
|
|
633
|
+
"inheritedFrom": {
|
|
634
|
+
"name": "AuroButton",
|
|
635
|
+
"module": "src/auro-button.js"
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"name": "loading",
|
|
640
|
+
"type": {
|
|
641
|
+
"text": "boolean"
|
|
642
|
+
},
|
|
643
|
+
"description": "If set to true button text will be replaced with `auro-loader` and become disabled.",
|
|
644
|
+
"default": "false",
|
|
645
|
+
"fieldName": "loading",
|
|
646
|
+
"inheritedFrom": {
|
|
647
|
+
"name": "AuroButton",
|
|
648
|
+
"module": "src/auro-button.js"
|
|
649
|
+
}
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"name": "loadingText",
|
|
653
|
+
"type": {
|
|
654
|
+
"text": "string"
|
|
655
|
+
},
|
|
656
|
+
"description": "DEPRECATED - Use `slot=\"ariaLabel.loading\"` instead.",
|
|
657
|
+
"fieldName": "loadingText",
|
|
658
|
+
"inheritedFrom": {
|
|
659
|
+
"name": "AuroButton",
|
|
660
|
+
"module": "src/auro-button.js"
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "tIndex",
|
|
665
|
+
"type": {
|
|
666
|
+
"text": "string"
|
|
667
|
+
},
|
|
668
|
+
"description": "Populates `tabindex` to define the focusable sequence in keyboard navigation.",
|
|
669
|
+
"fieldName": "tIndex",
|
|
670
|
+
"inheritedFrom": {
|
|
671
|
+
"name": "AuroButton",
|
|
672
|
+
"module": "src/auro-button.js"
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
"name": "tabindex",
|
|
677
|
+
"type": {
|
|
678
|
+
"text": "string"
|
|
679
|
+
},
|
|
680
|
+
"description": "Populates `tabindex` to define the focusable sequence in keyboard navigation.\nMust be used with \".\" to ensure the host element does not retain a reference to the `tabindex` attribute.\nExample: `<auro-button .tabindex=\"${this.disabled ? '-1' : '0'}\"></auro-button>`.",
|
|
681
|
+
"fieldName": "tabindex",
|
|
682
|
+
"inheritedFrom": {
|
|
683
|
+
"name": "AuroButton",
|
|
684
|
+
"module": "src/auro-button.js"
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"name": "title",
|
|
689
|
+
"type": {
|
|
690
|
+
"text": "string"
|
|
691
|
+
},
|
|
692
|
+
"description": "Sets title attribute. The information is most often shown as a tooltip text when the mouse moves over the element.",
|
|
693
|
+
"fieldName": "title",
|
|
694
|
+
"inheritedFrom": {
|
|
695
|
+
"name": "AuroButton",
|
|
696
|
+
"module": "src/auro-button.js"
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"name": "type",
|
|
701
|
+
"type": {
|
|
702
|
+
"text": "'submit', 'reset', 'button'"
|
|
703
|
+
},
|
|
704
|
+
"description": "The type of button. Matches HTML5 Button Spec.",
|
|
705
|
+
"fieldName": "type",
|
|
706
|
+
"inheritedFrom": {
|
|
707
|
+
"name": "AuroButton",
|
|
708
|
+
"module": "src/auro-button.js"
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"name": "value",
|
|
713
|
+
"type": {
|
|
714
|
+
"text": "string"
|
|
715
|
+
},
|
|
716
|
+
"description": "Defines the value associated with the button which is submitted with the form data.",
|
|
717
|
+
"fieldName": "value",
|
|
718
|
+
"inheritedFrom": {
|
|
719
|
+
"name": "AuroButton",
|
|
720
|
+
"module": "src/auro-button.js"
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"name": "variant",
|
|
725
|
+
"type": {
|
|
726
|
+
"text": "'primary', 'secondary', 'tertiary', 'ghost', 'flat'"
|
|
727
|
+
},
|
|
728
|
+
"description": "Sets the button variant.",
|
|
729
|
+
"default": "\"primary\"",
|
|
730
|
+
"fieldName": "variant",
|
|
731
|
+
"inheritedFrom": {
|
|
732
|
+
"name": "AuroButton",
|
|
733
|
+
"module": "src/auro-button.js"
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"name": "buttonHref",
|
|
738
|
+
"type": {
|
|
739
|
+
"text": "string"
|
|
740
|
+
},
|
|
741
|
+
"default": "undefined",
|
|
742
|
+
"fieldName": "buttonHref",
|
|
743
|
+
"inheritedFrom": {
|
|
744
|
+
"name": "AuroButton",
|
|
745
|
+
"module": "src/auro-button.js"
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"name": "buttonTarget",
|
|
750
|
+
"type": {
|
|
751
|
+
"text": "string"
|
|
752
|
+
},
|
|
753
|
+
"default": "undefined",
|
|
754
|
+
"fieldName": "buttonTarget",
|
|
755
|
+
"inheritedFrom": {
|
|
756
|
+
"name": "AuroButton",
|
|
757
|
+
"module": "src/auro-button.js"
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"name": "buttonRel",
|
|
762
|
+
"type": {
|
|
763
|
+
"text": "string"
|
|
764
|
+
},
|
|
765
|
+
"default": "undefined",
|
|
766
|
+
"fieldName": "buttonRel",
|
|
767
|
+
"inheritedFrom": {
|
|
768
|
+
"name": "AuroButton",
|
|
769
|
+
"module": "src/auro-button.js"
|
|
770
|
+
}
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"name": "static",
|
|
774
|
+
"type": {
|
|
775
|
+
"text": "boolean"
|
|
776
|
+
},
|
|
777
|
+
"description": "If true, the button will be static and not respond to user interactions.",
|
|
778
|
+
"default": "false",
|
|
779
|
+
"fieldName": "static",
|
|
780
|
+
"inheritedFrom": {
|
|
781
|
+
"name": "AuroButton",
|
|
782
|
+
"module": "src/auro-button.js"
|
|
783
|
+
}
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"name": "data-hover",
|
|
787
|
+
"type": {
|
|
788
|
+
"text": "boolean"
|
|
789
|
+
},
|
|
790
|
+
"fieldName": "onHover",
|
|
791
|
+
"inheritedFrom": {
|
|
792
|
+
"name": "AuroButton",
|
|
793
|
+
"module": "src/auro-button.js"
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"name": "data-active",
|
|
798
|
+
"type": {
|
|
799
|
+
"text": "boolean"
|
|
800
|
+
},
|
|
801
|
+
"fieldName": "onActive",
|
|
802
|
+
"inheritedFrom": {
|
|
803
|
+
"name": "AuroButton",
|
|
804
|
+
"module": "src/auro-button.js"
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
]
|
|
808
|
+
}
|
|
809
|
+
],
|
|
810
|
+
"exports": [
|
|
811
|
+
{
|
|
812
|
+
"kind": "js",
|
|
813
|
+
"name": "AuroHyperlinkButton",
|
|
814
|
+
"declaration": {
|
|
815
|
+
"name": "AuroHyperlinkButton",
|
|
816
|
+
"module": "src/auro-hyperlink-button.js"
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"kind": "custom-element-definition",
|
|
821
|
+
"name": "auro-hyperlink-button",
|
|
822
|
+
"declaration": {
|
|
823
|
+
"name": "AuroHyperlinkButton",
|
|
824
|
+
"module": "src/auro-hyperlink-button.js"
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
]
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"kind": "javascript-module",
|
|
831
|
+
"path": "src/auro-hyperlink.js",
|
|
832
|
+
"declarations": [
|
|
833
|
+
{
|
|
834
|
+
"kind": "class",
|
|
835
|
+
"description": "`<auro-hyperlink>` is a component that wraps an HTML `<a>` element, providing additional styling and behavior.",
|
|
836
|
+
"name": "AuroHyperlink",
|
|
837
|
+
"cssParts": [
|
|
838
|
+
{
|
|
839
|
+
"description": "Allows styling to be applied to the `a` element.",
|
|
840
|
+
"name": "link"
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
"description": "Allows styling to be applied to the icon that appears next to the hyperlink.",
|
|
844
|
+
"name": "targetIcon"
|
|
845
|
+
}
|
|
846
|
+
],
|
|
847
|
+
"members": [
|
|
848
|
+
{
|
|
849
|
+
"kind": "field",
|
|
850
|
+
"name": "shadowRootOptions",
|
|
851
|
+
"static": true,
|
|
852
|
+
"readonly": true
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"kind": "method",
|
|
856
|
+
"name": "_createRefs",
|
|
857
|
+
"description": "Create usable refs to internal elements",
|
|
858
|
+
"return": {
|
|
859
|
+
"type": {
|
|
860
|
+
"text": "void"
|
|
861
|
+
}
|
|
862
|
+
},
|
|
863
|
+
"privacy": "private"
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"kind": "method",
|
|
867
|
+
"name": "register",
|
|
868
|
+
"static": true,
|
|
869
|
+
"parameters": [
|
|
870
|
+
{
|
|
871
|
+
"name": "name",
|
|
872
|
+
"default": "\"auro-hyperlink\"",
|
|
873
|
+
"description": "The name of element that you want to register to.",
|
|
874
|
+
"optional": true,
|
|
875
|
+
"type": {
|
|
876
|
+
"text": "string"
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
],
|
|
880
|
+
"description": "This will register this element with the browser."
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"kind": "method",
|
|
884
|
+
"name": "renderLayoutDefault",
|
|
885
|
+
"description": "Renders the default layout for the hyperlink.",
|
|
886
|
+
"return": {
|
|
887
|
+
"type": {
|
|
888
|
+
"text": "TemplateResult"
|
|
889
|
+
}
|
|
890
|
+
},
|
|
891
|
+
"privacy": "private"
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"kind": "method",
|
|
895
|
+
"name": "renderLayoutCTA",
|
|
896
|
+
"description": "Renders the cta layout for the hyperlink.",
|
|
897
|
+
"return": {
|
|
898
|
+
"type": {
|
|
899
|
+
"text": "TemplateResult"
|
|
900
|
+
}
|
|
901
|
+
},
|
|
902
|
+
"privacy": "private"
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
"kind": "method",
|
|
906
|
+
"name": "getMarkup",
|
|
907
|
+
"description": "Generates an object containing CSS classes based on the properties of the component.",
|
|
908
|
+
"privacy": "private",
|
|
909
|
+
"return": {
|
|
910
|
+
"type": {
|
|
911
|
+
"text": "object"
|
|
912
|
+
}
|
|
913
|
+
}
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"kind": "field",
|
|
917
|
+
"name": "iconTag",
|
|
918
|
+
"privacy": "private"
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"type": {
|
|
922
|
+
"text": "String"
|
|
923
|
+
},
|
|
924
|
+
"description": "Defines ARIA roles; currently supports `button` for extended experiences.",
|
|
925
|
+
"name": "role",
|
|
926
|
+
"kind": "field"
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
"kind": "field",
|
|
930
|
+
"name": "safeUri",
|
|
931
|
+
"description": "Returns a safe URI based on the provided `href` and `relative` parameters.\nIf `href` is truthy, it generates a safe URL using the `safeUrl` function.\nOtherwise, it returns an empty string.",
|
|
932
|
+
"return": {
|
|
933
|
+
"type": {
|
|
934
|
+
"text": "string"
|
|
935
|
+
}
|
|
936
|
+
},
|
|
937
|
+
"readonly": true,
|
|
938
|
+
"inheritedFrom": {
|
|
939
|
+
"name": "ComponentBase",
|
|
940
|
+
"module": "src/component-base.mjs"
|
|
941
|
+
}
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"kind": "field",
|
|
945
|
+
"name": "includesDomain",
|
|
946
|
+
"description": "Checks whether the provided URI (if available) includes the 'http' protocol.\nIf the URI is truthy, it examines whether it contains 'http'.\nOtherwise, it returns false.",
|
|
947
|
+
"privacy": "private",
|
|
948
|
+
"return": {
|
|
949
|
+
"type": {
|
|
950
|
+
"text": "boolean"
|
|
951
|
+
}
|
|
952
|
+
},
|
|
953
|
+
"readonly": true,
|
|
954
|
+
"inheritedFrom": {
|
|
955
|
+
"name": "ComponentBase",
|
|
956
|
+
"module": "src/component-base.mjs"
|
|
957
|
+
}
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"kind": "method",
|
|
961
|
+
"name": "safeUrl",
|
|
962
|
+
"parameters": [
|
|
963
|
+
{
|
|
964
|
+
"name": "href",
|
|
965
|
+
"description": "The original URL.",
|
|
966
|
+
"type": {
|
|
967
|
+
"text": "string"
|
|
968
|
+
}
|
|
969
|
+
},
|
|
970
|
+
{
|
|
971
|
+
"name": "relative",
|
|
972
|
+
"description": "Indicates whether the URL is relative.",
|
|
973
|
+
"type": {
|
|
974
|
+
"text": "boolean"
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
],
|
|
978
|
+
"description": "Generates a safe URL based on the provided `href` and `relative` parameters.\nIf `href` is falsy, it returns `undefined`.",
|
|
979
|
+
"privacy": "private",
|
|
980
|
+
"return": {
|
|
981
|
+
"type": {
|
|
982
|
+
"text": "string|undefined"
|
|
983
|
+
}
|
|
984
|
+
},
|
|
985
|
+
"inheritedFrom": {
|
|
986
|
+
"name": "ComponentBase",
|
|
987
|
+
"module": "src/component-base.mjs"
|
|
988
|
+
}
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
"kind": "method",
|
|
992
|
+
"name": "generateIconHtml",
|
|
993
|
+
"parameters": [
|
|
994
|
+
{
|
|
995
|
+
"name": "svgContent",
|
|
996
|
+
"description": "The SVG content to be embedded.",
|
|
997
|
+
"type": {
|
|
998
|
+
"text": "string"
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
],
|
|
1002
|
+
"description": "Generates an HTML element containing an SVG icon based on the provided `svgContent`.",
|
|
1003
|
+
"privacy": "private",
|
|
1004
|
+
"return": {
|
|
1005
|
+
"type": {
|
|
1006
|
+
"text": "Element"
|
|
1007
|
+
}
|
|
1008
|
+
},
|
|
1009
|
+
"inheritedFrom": {
|
|
1010
|
+
"name": "ComponentBase",
|
|
1011
|
+
"module": "src/component-base.mjs"
|
|
1012
|
+
}
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"kind": "method",
|
|
1016
|
+
"name": "targetIcon",
|
|
1017
|
+
"parameters": [
|
|
1018
|
+
{
|
|
1019
|
+
"name": "target",
|
|
1020
|
+
"description": "The target attribute of the anchor element.",
|
|
1021
|
+
"type": {
|
|
1022
|
+
"text": "string"
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
],
|
|
1026
|
+
"description": "Generates an icon HTML element based on the target attribute.",
|
|
1027
|
+
"privacy": "private",
|
|
1028
|
+
"return": {
|
|
1029
|
+
"type": {
|
|
1030
|
+
"text": "HTMLElement|undefined"
|
|
1031
|
+
}
|
|
1032
|
+
},
|
|
1033
|
+
"inheritedFrom": {
|
|
1034
|
+
"name": "ComponentBase",
|
|
1035
|
+
"module": "src/component-base.mjs"
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
"kind": "method",
|
|
1040
|
+
"name": "getTabState",
|
|
1041
|
+
"parameters": [
|
|
1042
|
+
{
|
|
1043
|
+
"name": "tabIsActive",
|
|
1044
|
+
"description": "Indicates whether the tab is active.",
|
|
1045
|
+
"type": {
|
|
1046
|
+
"text": "boolean"
|
|
1047
|
+
}
|
|
1048
|
+
}
|
|
1049
|
+
],
|
|
1050
|
+
"description": "Returns the state of a tab as a string.",
|
|
1051
|
+
"privacy": "private",
|
|
1052
|
+
"return": {
|
|
1053
|
+
"type": {
|
|
1054
|
+
"text": "string"
|
|
1055
|
+
}
|
|
1056
|
+
},
|
|
1057
|
+
"inheritedFrom": {
|
|
1058
|
+
"name": "ComponentBase",
|
|
1059
|
+
"module": "src/component-base.mjs"
|
|
1060
|
+
}
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"kind": "method",
|
|
1064
|
+
"name": "getRelType",
|
|
1065
|
+
"parameters": [
|
|
1066
|
+
{
|
|
1067
|
+
"name": "target",
|
|
1068
|
+
"description": "The target attribute of the anchor element.",
|
|
1069
|
+
"type": {
|
|
1070
|
+
"text": "string"
|
|
1071
|
+
}
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"name": "rel",
|
|
1075
|
+
"description": "The rel attribute of the anchor element.",
|
|
1076
|
+
"type": {
|
|
1077
|
+
"text": "string"
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
],
|
|
1081
|
+
"description": "Gets the rel attribute value based on target and rel values.",
|
|
1082
|
+
"privacy": "private",
|
|
1083
|
+
"return": {
|
|
1084
|
+
"type": {
|
|
1085
|
+
"text": "string|undefined"
|
|
1086
|
+
}
|
|
1087
|
+
},
|
|
1088
|
+
"inheritedFrom": {
|
|
1089
|
+
"name": "ComponentBase",
|
|
1090
|
+
"module": "src/component-base.mjs"
|
|
1091
|
+
}
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
"kind": "method",
|
|
1095
|
+
"name": "ariaPressedState",
|
|
1096
|
+
"parameters": [
|
|
1097
|
+
{
|
|
1098
|
+
"name": "ariaPressed",
|
|
1099
|
+
"description": "The initial value of the ARIA pressed state.",
|
|
1100
|
+
"type": {
|
|
1101
|
+
"text": "boolean"
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
],
|
|
1105
|
+
"description": "Sets the ARIA pressed state based on user interactions.",
|
|
1106
|
+
"privacy": "private",
|
|
1107
|
+
"return": {
|
|
1108
|
+
"type": {
|
|
1109
|
+
"text": "boolean"
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
"inheritedFrom": {
|
|
1113
|
+
"name": "ComponentBase",
|
|
1114
|
+
"module": "src/component-base.mjs"
|
|
1115
|
+
}
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"kind": "field",
|
|
1119
|
+
"name": "appearance",
|
|
1120
|
+
"privacy": "public",
|
|
1121
|
+
"type": {
|
|
1122
|
+
"text": "string"
|
|
1123
|
+
},
|
|
1124
|
+
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
1125
|
+
"default": "'default'",
|
|
1126
|
+
"attribute": "appearance",
|
|
1127
|
+
"reflects": true,
|
|
1128
|
+
"inheritedFrom": {
|
|
1129
|
+
"name": "ComponentBase",
|
|
1130
|
+
"module": "src/component-base.mjs"
|
|
1131
|
+
}
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"kind": "field",
|
|
1135
|
+
"name": "download",
|
|
1136
|
+
"privacy": "public",
|
|
1137
|
+
"type": {
|
|
1138
|
+
"text": "boolean"
|
|
1139
|
+
},
|
|
1140
|
+
"description": "If true, the linked resource will be downloaded when the hyperlink is clicked.",
|
|
1141
|
+
"default": "false",
|
|
1142
|
+
"attribute": "download",
|
|
1143
|
+
"reflects": true,
|
|
1144
|
+
"inheritedFrom": {
|
|
1145
|
+
"name": "ComponentBase",
|
|
1146
|
+
"module": "src/component-base.mjs"
|
|
1147
|
+
}
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"kind": "field",
|
|
1151
|
+
"name": "relative",
|
|
1152
|
+
"privacy": "public",
|
|
1153
|
+
"type": {
|
|
1154
|
+
"text": "boolean"
|
|
1155
|
+
},
|
|
1156
|
+
"description": "If true, the auto URL re-write feature will be disabled.",
|
|
1157
|
+
"default": "false",
|
|
1158
|
+
"attribute": "relative",
|
|
1159
|
+
"reflects": true,
|
|
1160
|
+
"inheritedFrom": {
|
|
1161
|
+
"name": "ComponentBase",
|
|
1162
|
+
"module": "src/component-base.mjs"
|
|
1163
|
+
}
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
"kind": "field",
|
|
1167
|
+
"name": "ondark",
|
|
1168
|
+
"privacy": "public",
|
|
1169
|
+
"type": {
|
|
1170
|
+
"text": "boolean"
|
|
1171
|
+
},
|
|
1172
|
+
"description": "DEPRECATED - use `appearance` instead.",
|
|
1173
|
+
"default": "false",
|
|
1174
|
+
"attribute": "ondark",
|
|
1175
|
+
"inheritedFrom": {
|
|
1176
|
+
"name": "ComponentBase",
|
|
1177
|
+
"module": "src/component-base.mjs"
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"kind": "field",
|
|
1182
|
+
"name": "variant",
|
|
1183
|
+
"privacy": "public",
|
|
1184
|
+
"type": {
|
|
1185
|
+
"text": "string"
|
|
1186
|
+
},
|
|
1187
|
+
"description": "Sets button variant option.",
|
|
1188
|
+
"default": "\"primary\"",
|
|
1189
|
+
"attribute": "variant",
|
|
1190
|
+
"reflects": true,
|
|
1191
|
+
"inheritedFrom": {
|
|
1192
|
+
"name": "ComponentBase",
|
|
1193
|
+
"module": "src/component-base.mjs"
|
|
1194
|
+
}
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
"kind": "field",
|
|
1198
|
+
"name": "layout",
|
|
1199
|
+
"privacy": "private",
|
|
1200
|
+
"inheritedFrom": {
|
|
1201
|
+
"name": "ComponentBase",
|
|
1202
|
+
"module": "src/component-base.mjs"
|
|
1203
|
+
}
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
"kind": "field",
|
|
1207
|
+
"name": "shape",
|
|
1208
|
+
"privacy": "private",
|
|
1209
|
+
"inheritedFrom": {
|
|
1210
|
+
"name": "ComponentBase",
|
|
1211
|
+
"module": "src/component-base.mjs"
|
|
1212
|
+
}
|
|
1213
|
+
},
|
|
1214
|
+
{
|
|
1215
|
+
"kind": "field",
|
|
1216
|
+
"name": "size",
|
|
1217
|
+
"privacy": "private",
|
|
1218
|
+
"inheritedFrom": {
|
|
1219
|
+
"name": "ComponentBase",
|
|
1220
|
+
"module": "src/component-base.mjs"
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"kind": "field",
|
|
1225
|
+
"name": "defaultReferrerPolicy",
|
|
1226
|
+
"type": {
|
|
1227
|
+
"text": "string"
|
|
1228
|
+
},
|
|
1229
|
+
"privacy": "private",
|
|
1230
|
+
"default": "\"strict-origin-when-cross-origin\"",
|
|
1231
|
+
"inheritedFrom": {
|
|
1232
|
+
"name": "ComponentBase",
|
|
1233
|
+
"module": "src/component-base.mjs"
|
|
1234
|
+
}
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
"kind": "field",
|
|
1238
|
+
"name": "ariapressed",
|
|
1239
|
+
"type": {
|
|
1240
|
+
"text": "string"
|
|
1241
|
+
},
|
|
1242
|
+
"privacy": "private",
|
|
1243
|
+
"default": "\"false\"",
|
|
1244
|
+
"inheritedFrom": {
|
|
1245
|
+
"name": "ComponentBase",
|
|
1246
|
+
"module": "src/component-base.mjs"
|
|
1247
|
+
}
|
|
1248
|
+
},
|
|
1249
|
+
{
|
|
1250
|
+
"kind": "field",
|
|
1251
|
+
"name": "tabIsActive",
|
|
1252
|
+
"type": {
|
|
1253
|
+
"text": "string"
|
|
1254
|
+
},
|
|
1255
|
+
"privacy": "private",
|
|
1256
|
+
"default": "\"false\"",
|
|
1257
|
+
"inheritedFrom": {
|
|
1258
|
+
"name": "ComponentBase",
|
|
1259
|
+
"module": "src/component-base.mjs"
|
|
1260
|
+
}
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"kind": "field",
|
|
1264
|
+
"name": "runtimeUtils",
|
|
1265
|
+
"privacy": "private",
|
|
1266
|
+
"default": "new AuroLibraryRuntimeUtils()",
|
|
1267
|
+
"inheritedFrom": {
|
|
1268
|
+
"name": "ComponentBase",
|
|
1269
|
+
"module": "src/component-base.mjs"
|
|
1270
|
+
}
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
"kind": "field",
|
|
1274
|
+
"name": "href",
|
|
1275
|
+
"privacy": "public",
|
|
1276
|
+
"type": {
|
|
1277
|
+
"text": "string"
|
|
1278
|
+
},
|
|
1279
|
+
"description": "Defines the URL of the linked page.",
|
|
1280
|
+
"attribute": "href",
|
|
1281
|
+
"reflects": true,
|
|
1282
|
+
"inheritedFrom": {
|
|
1283
|
+
"name": "ComponentBase",
|
|
1284
|
+
"module": "src/component-base.mjs"
|
|
1285
|
+
}
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
"kind": "field",
|
|
1289
|
+
"name": "rel",
|
|
1290
|
+
"privacy": "public",
|
|
1291
|
+
"type": {
|
|
1292
|
+
"text": "string"
|
|
1293
|
+
},
|
|
1294
|
+
"description": "Defines the relationship between the current document and the linked document.",
|
|
1295
|
+
"attribute": "rel",
|
|
1296
|
+
"reflects": true,
|
|
1297
|
+
"inheritedFrom": {
|
|
1298
|
+
"name": "ComponentBase",
|
|
1299
|
+
"module": "src/component-base.mjs"
|
|
1300
|
+
}
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
"kind": "field",
|
|
1304
|
+
"name": "target",
|
|
1305
|
+
"privacy": "public",
|
|
1306
|
+
"type": {
|
|
1307
|
+
"text": "string"
|
|
1308
|
+
},
|
|
1309
|
+
"description": "Defines where to open the linked document.",
|
|
1310
|
+
"attribute": "target",
|
|
1311
|
+
"reflects": true,
|
|
1312
|
+
"inheritedFrom": {
|
|
1313
|
+
"name": "ComponentBase",
|
|
1314
|
+
"module": "src/component-base.mjs"
|
|
1315
|
+
}
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
"kind": "field",
|
|
1319
|
+
"name": "type",
|
|
1320
|
+
"privacy": "public",
|
|
1321
|
+
"type": {
|
|
1322
|
+
"text": "string"
|
|
1323
|
+
},
|
|
1324
|
+
"description": "Defines the type of hyperlink; accepts `nav` or `cta`.",
|
|
1325
|
+
"attribute": "type",
|
|
1326
|
+
"reflects": true,
|
|
1327
|
+
"inheritedFrom": {
|
|
1328
|
+
"name": "ComponentBase",
|
|
1329
|
+
"module": "src/component-base.mjs"
|
|
1330
|
+
}
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"kind": "field",
|
|
1334
|
+
"name": "fluid",
|
|
1335
|
+
"privacy": "public",
|
|
1336
|
+
"type": {
|
|
1337
|
+
"text": "boolean"
|
|
1338
|
+
},
|
|
1339
|
+
"description": "If true and `type=\"cta\"`, the hyperlink will have a fluid-width UI.",
|
|
1340
|
+
"attribute": "fluid",
|
|
1341
|
+
"inheritedFrom": {
|
|
1342
|
+
"name": "ComponentBase",
|
|
1343
|
+
"module": "src/component-base.mjs"
|
|
1344
|
+
}
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"kind": "field",
|
|
1348
|
+
"name": "referrerpolicy",
|
|
1349
|
+
"privacy": "public",
|
|
1350
|
+
"type": {
|
|
1351
|
+
"text": "boolean"
|
|
1352
|
+
},
|
|
1353
|
+
"description": "If true, sets `strict-origin-when-cross-origin` to control the referrer information sent with requests.",
|
|
1354
|
+
"attribute": "referrerpolicy",
|
|
1355
|
+
"reflects": true,
|
|
1356
|
+
"inheritedFrom": {
|
|
1357
|
+
"name": "ComponentBase",
|
|
1358
|
+
"module": "src/component-base.mjs"
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
],
|
|
1362
|
+
"superclass": {
|
|
1363
|
+
"name": "ComponentBase",
|
|
1364
|
+
"module": "/src/component-base.mjs"
|
|
1365
|
+
},
|
|
1366
|
+
"attributes": [
|
|
1367
|
+
{
|
|
1368
|
+
"name": "appearance",
|
|
1369
|
+
"type": {
|
|
1370
|
+
"text": "string"
|
|
1371
|
+
},
|
|
1372
|
+
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
1373
|
+
"default": "'default'",
|
|
1374
|
+
"fieldName": "appearance",
|
|
1375
|
+
"inheritedFrom": {
|
|
1376
|
+
"name": "ComponentBase",
|
|
1377
|
+
"module": "src/component-base.mjs"
|
|
1378
|
+
}
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"name": "href",
|
|
1382
|
+
"type": {
|
|
1383
|
+
"text": "string"
|
|
1384
|
+
},
|
|
1385
|
+
"description": "Defines the URL of the linked page.",
|
|
1386
|
+
"fieldName": "href",
|
|
1387
|
+
"inheritedFrom": {
|
|
1388
|
+
"name": "ComponentBase",
|
|
1389
|
+
"module": "src/component-base.mjs"
|
|
1390
|
+
}
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
"name": "rel",
|
|
1394
|
+
"type": {
|
|
1395
|
+
"text": "string"
|
|
1396
|
+
},
|
|
1397
|
+
"description": "Defines the relationship between the current document and the linked document.",
|
|
1398
|
+
"fieldName": "rel",
|
|
1399
|
+
"inheritedFrom": {
|
|
1400
|
+
"name": "ComponentBase",
|
|
1401
|
+
"module": "src/component-base.mjs"
|
|
1402
|
+
}
|
|
1403
|
+
},
|
|
1404
|
+
{
|
|
1405
|
+
"name": "target",
|
|
1406
|
+
"type": {
|
|
1407
|
+
"text": "string"
|
|
1408
|
+
},
|
|
1409
|
+
"description": "Defines where to open the linked document.",
|
|
1410
|
+
"fieldName": "target",
|
|
1411
|
+
"inheritedFrom": {
|
|
1412
|
+
"name": "ComponentBase",
|
|
1413
|
+
"module": "src/component-base.mjs"
|
|
1414
|
+
}
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
"name": "download",
|
|
1418
|
+
"type": {
|
|
1419
|
+
"text": "boolean"
|
|
1420
|
+
},
|
|
1421
|
+
"description": "If true, the linked resource will be downloaded when the hyperlink is clicked.",
|
|
1422
|
+
"default": "false",
|
|
1423
|
+
"fieldName": "download",
|
|
1424
|
+
"inheritedFrom": {
|
|
1425
|
+
"name": "ComponentBase",
|
|
1426
|
+
"module": "src/component-base.mjs"
|
|
1427
|
+
}
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
"name": "relative",
|
|
1431
|
+
"type": {
|
|
1432
|
+
"text": "boolean"
|
|
1433
|
+
},
|
|
1434
|
+
"description": "If true, the auto URL re-write feature will be disabled.",
|
|
1435
|
+
"default": "false",
|
|
1436
|
+
"fieldName": "relative",
|
|
1437
|
+
"inheritedFrom": {
|
|
1438
|
+
"name": "ComponentBase",
|
|
1439
|
+
"module": "src/component-base.mjs"
|
|
1440
|
+
}
|
|
1441
|
+
},
|
|
1442
|
+
{
|
|
1443
|
+
"name": "ondark",
|
|
1444
|
+
"type": {
|
|
1445
|
+
"text": "boolean"
|
|
1446
|
+
},
|
|
1447
|
+
"description": "DEPRECATED - use `appearance` instead.",
|
|
1448
|
+
"default": "false",
|
|
1449
|
+
"fieldName": "ondark",
|
|
1450
|
+
"inheritedFrom": {
|
|
1451
|
+
"name": "ComponentBase",
|
|
1452
|
+
"module": "src/component-base.mjs"
|
|
1453
|
+
}
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
"name": "type",
|
|
1457
|
+
"type": {
|
|
1458
|
+
"text": "string"
|
|
1459
|
+
},
|
|
1460
|
+
"description": "Defines the type of hyperlink; accepts `nav` or `cta`.",
|
|
1461
|
+
"fieldName": "type",
|
|
1462
|
+
"inheritedFrom": {
|
|
1463
|
+
"name": "ComponentBase",
|
|
1464
|
+
"module": "src/component-base.mjs"
|
|
1465
|
+
}
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"name": "fluid",
|
|
1469
|
+
"type": {
|
|
1470
|
+
"text": "boolean"
|
|
1471
|
+
},
|
|
1472
|
+
"description": "If true and `type=\"cta\"`, the hyperlink will have a fluid-width UI.",
|
|
1473
|
+
"fieldName": "fluid",
|
|
1474
|
+
"inheritedFrom": {
|
|
1475
|
+
"name": "ComponentBase",
|
|
1476
|
+
"module": "src/component-base.mjs"
|
|
1477
|
+
}
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"name": "referrerpolicy",
|
|
1481
|
+
"type": {
|
|
1482
|
+
"text": "boolean"
|
|
1483
|
+
},
|
|
1484
|
+
"description": "If true, sets `strict-origin-when-cross-origin` to control the referrer information sent with requests.",
|
|
1485
|
+
"fieldName": "referrerpolicy",
|
|
1486
|
+
"inheritedFrom": {
|
|
1487
|
+
"name": "ComponentBase",
|
|
1488
|
+
"module": "src/component-base.mjs"
|
|
1489
|
+
}
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"name": "variant",
|
|
1493
|
+
"type": {
|
|
1494
|
+
"text": "string"
|
|
1495
|
+
},
|
|
1496
|
+
"description": "Sets button variant option.",
|
|
1497
|
+
"default": "\"primary\"",
|
|
1498
|
+
"fieldName": "variant",
|
|
1499
|
+
"inheritedFrom": {
|
|
1500
|
+
"name": "ComponentBase",
|
|
1501
|
+
"module": "src/component-base.mjs"
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
]
|
|
1505
|
+
}
|
|
1506
|
+
],
|
|
1507
|
+
"exports": [
|
|
1508
|
+
{
|
|
1509
|
+
"kind": "js",
|
|
1510
|
+
"name": "AuroHyperlink",
|
|
1511
|
+
"declaration": {
|
|
1512
|
+
"name": "AuroHyperlink",
|
|
1513
|
+
"module": "src/auro-hyperlink.js"
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
]
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
"kind": "javascript-module",
|
|
1520
|
+
"path": "src/component-base.mjs",
|
|
1521
|
+
"declarations": [
|
|
1522
|
+
{
|
|
1523
|
+
"kind": "class",
|
|
1524
|
+
"description": "",
|
|
1525
|
+
"name": "ComponentBase",
|
|
1526
|
+
"members": [
|
|
1527
|
+
{
|
|
1528
|
+
"kind": "field",
|
|
1529
|
+
"name": "safeUri",
|
|
1530
|
+
"description": "Returns a safe URI based on the provided `href` and `relative` parameters.\nIf `href` is truthy, it generates a safe URL using the `safeUrl` function.\nOtherwise, it returns an empty string.",
|
|
1531
|
+
"return": {
|
|
1532
|
+
"type": {
|
|
1533
|
+
"text": "string"
|
|
1534
|
+
}
|
|
1535
|
+
},
|
|
1536
|
+
"readonly": true
|
|
1537
|
+
},
|
|
1538
|
+
{
|
|
1539
|
+
"kind": "field",
|
|
1540
|
+
"name": "includesDomain",
|
|
1541
|
+
"description": "Checks whether the provided URI (if available) includes the 'http' protocol.\nIf the URI is truthy, it examines whether it contains 'http'.\nOtherwise, it returns false.",
|
|
1542
|
+
"privacy": "private",
|
|
1543
|
+
"return": {
|
|
1544
|
+
"type": {
|
|
1545
|
+
"text": "boolean"
|
|
1546
|
+
}
|
|
1547
|
+
},
|
|
1548
|
+
"readonly": true
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"kind": "method",
|
|
1552
|
+
"name": "safeUrl",
|
|
1553
|
+
"parameters": [
|
|
1554
|
+
{
|
|
1555
|
+
"name": "href",
|
|
1556
|
+
"description": "The original URL.",
|
|
1557
|
+
"type": {
|
|
1558
|
+
"text": "string"
|
|
1559
|
+
}
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
"name": "relative",
|
|
1563
|
+
"description": "Indicates whether the URL is relative.",
|
|
1564
|
+
"type": {
|
|
1565
|
+
"text": "boolean"
|
|
1566
|
+
}
|
|
1567
|
+
}
|
|
1568
|
+
],
|
|
1569
|
+
"description": "Generates a safe URL based on the provided `href` and `relative` parameters.\nIf `href` is falsy, it returns `undefined`.",
|
|
1570
|
+
"privacy": "private",
|
|
1571
|
+
"return": {
|
|
1572
|
+
"type": {
|
|
1573
|
+
"text": "string|undefined"
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
"kind": "method",
|
|
1579
|
+
"name": "generateIconHtml",
|
|
1580
|
+
"parameters": [
|
|
1581
|
+
{
|
|
1582
|
+
"name": "svgContent",
|
|
1583
|
+
"description": "The SVG content to be embedded.",
|
|
1584
|
+
"type": {
|
|
1585
|
+
"text": "string"
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
],
|
|
1589
|
+
"description": "Generates an HTML element containing an SVG icon based on the provided `svgContent`.",
|
|
1590
|
+
"privacy": "private",
|
|
1591
|
+
"return": {
|
|
1592
|
+
"type": {
|
|
1593
|
+
"text": "Element"
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
"kind": "method",
|
|
1599
|
+
"name": "targetIcon",
|
|
1600
|
+
"parameters": [
|
|
1601
|
+
{
|
|
1602
|
+
"name": "target",
|
|
1603
|
+
"description": "The target attribute of the anchor element.",
|
|
1604
|
+
"type": {
|
|
1605
|
+
"text": "string"
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
],
|
|
1609
|
+
"description": "Generates an icon HTML element based on the target attribute.",
|
|
1610
|
+
"privacy": "private",
|
|
1611
|
+
"return": {
|
|
1612
|
+
"type": {
|
|
1613
|
+
"text": "HTMLElement|undefined"
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
"kind": "method",
|
|
1619
|
+
"name": "getTabState",
|
|
1620
|
+
"parameters": [
|
|
1621
|
+
{
|
|
1622
|
+
"name": "tabIsActive",
|
|
1623
|
+
"description": "Indicates whether the tab is active.",
|
|
1624
|
+
"type": {
|
|
1625
|
+
"text": "boolean"
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
],
|
|
1629
|
+
"description": "Returns the state of a tab as a string.",
|
|
1630
|
+
"privacy": "private",
|
|
1631
|
+
"return": {
|
|
1632
|
+
"type": {
|
|
1633
|
+
"text": "string"
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
"kind": "method",
|
|
1639
|
+
"name": "getRelType",
|
|
1640
|
+
"parameters": [
|
|
1641
|
+
{
|
|
1642
|
+
"name": "target",
|
|
1643
|
+
"description": "The target attribute of the anchor element.",
|
|
1644
|
+
"type": {
|
|
1645
|
+
"text": "string"
|
|
1646
|
+
}
|
|
1647
|
+
},
|
|
1648
|
+
{
|
|
1649
|
+
"name": "rel",
|
|
1650
|
+
"description": "The rel attribute of the anchor element.",
|
|
1651
|
+
"type": {
|
|
1652
|
+
"text": "string"
|
|
1653
|
+
}
|
|
1654
|
+
}
|
|
1655
|
+
],
|
|
1656
|
+
"description": "Gets the rel attribute value based on target and rel values.",
|
|
1657
|
+
"privacy": "private",
|
|
1658
|
+
"return": {
|
|
1659
|
+
"type": {
|
|
1660
|
+
"text": "string|undefined"
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
"kind": "method",
|
|
1666
|
+
"name": "ariaPressedState",
|
|
1667
|
+
"parameters": [
|
|
1668
|
+
{
|
|
1669
|
+
"name": "ariaPressed",
|
|
1670
|
+
"description": "The initial value of the ARIA pressed state.",
|
|
1671
|
+
"type": {
|
|
1672
|
+
"text": "boolean"
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
],
|
|
1676
|
+
"description": "Sets the ARIA pressed state based on user interactions.",
|
|
1677
|
+
"privacy": "private",
|
|
1678
|
+
"return": {
|
|
1679
|
+
"type": {
|
|
1680
|
+
"text": "boolean"
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
"kind": "field",
|
|
1686
|
+
"name": "appearance",
|
|
1687
|
+
"privacy": "public",
|
|
1688
|
+
"type": {
|
|
1689
|
+
"text": "string"
|
|
1690
|
+
},
|
|
1691
|
+
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
1692
|
+
"default": "'default'",
|
|
1693
|
+
"attribute": "appearance",
|
|
1694
|
+
"reflects": true
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
"kind": "field",
|
|
1698
|
+
"name": "download",
|
|
1699
|
+
"privacy": "public",
|
|
1700
|
+
"type": {
|
|
1701
|
+
"text": "boolean"
|
|
1702
|
+
},
|
|
1703
|
+
"description": "If true, the linked resource will be downloaded when the hyperlink is clicked.",
|
|
1704
|
+
"default": "false",
|
|
1705
|
+
"attribute": "download",
|
|
1706
|
+
"reflects": true
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
"kind": "field",
|
|
1710
|
+
"name": "relative",
|
|
1711
|
+
"privacy": "public",
|
|
1712
|
+
"type": {
|
|
1713
|
+
"text": "boolean"
|
|
1714
|
+
},
|
|
1715
|
+
"description": "If true, the auto URL re-write feature will be disabled.",
|
|
1716
|
+
"default": "false",
|
|
1717
|
+
"attribute": "relative",
|
|
1718
|
+
"reflects": true
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
"kind": "field",
|
|
1722
|
+
"name": "ondark",
|
|
1723
|
+
"privacy": "public",
|
|
1724
|
+
"type": {
|
|
1725
|
+
"text": "boolean"
|
|
1726
|
+
},
|
|
1727
|
+
"description": "DEPRECATED - use `appearance` instead.",
|
|
1728
|
+
"default": "false",
|
|
1729
|
+
"attribute": "ondark"
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"kind": "field",
|
|
1733
|
+
"name": "variant",
|
|
1734
|
+
"privacy": "public",
|
|
1735
|
+
"type": {
|
|
1736
|
+
"text": "string"
|
|
1737
|
+
},
|
|
1738
|
+
"description": "Sets button variant option.",
|
|
1739
|
+
"default": "\"primary\"",
|
|
1740
|
+
"attribute": "variant",
|
|
1741
|
+
"reflects": true
|
|
1742
|
+
},
|
|
1743
|
+
{
|
|
1744
|
+
"kind": "field",
|
|
1745
|
+
"name": "layout",
|
|
1746
|
+
"privacy": "private"
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
"kind": "field",
|
|
1750
|
+
"name": "shape",
|
|
1751
|
+
"privacy": "private"
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
"kind": "field",
|
|
1755
|
+
"name": "size",
|
|
1756
|
+
"privacy": "private"
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"kind": "field",
|
|
1760
|
+
"name": "defaultReferrerPolicy",
|
|
1761
|
+
"type": {
|
|
1762
|
+
"text": "string"
|
|
1763
|
+
},
|
|
1764
|
+
"privacy": "private",
|
|
1765
|
+
"default": "\"strict-origin-when-cross-origin\""
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"kind": "field",
|
|
1769
|
+
"name": "ariapressed",
|
|
1770
|
+
"type": {
|
|
1771
|
+
"text": "string"
|
|
1772
|
+
},
|
|
1773
|
+
"privacy": "private",
|
|
1774
|
+
"default": "\"false\""
|
|
1775
|
+
},
|
|
1776
|
+
{
|
|
1777
|
+
"kind": "field",
|
|
1778
|
+
"name": "tabIsActive",
|
|
1779
|
+
"type": {
|
|
1780
|
+
"text": "string"
|
|
1781
|
+
},
|
|
1782
|
+
"privacy": "private",
|
|
1783
|
+
"default": "\"false\""
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"kind": "field",
|
|
1787
|
+
"name": "runtimeUtils",
|
|
1788
|
+
"privacy": "private",
|
|
1789
|
+
"default": "new AuroLibraryRuntimeUtils()"
|
|
1790
|
+
},
|
|
1791
|
+
{
|
|
1792
|
+
"kind": "field",
|
|
1793
|
+
"name": "href",
|
|
1794
|
+
"privacy": "public",
|
|
1795
|
+
"type": {
|
|
1796
|
+
"text": "string"
|
|
1797
|
+
},
|
|
1798
|
+
"description": "Defines the URL of the linked page.",
|
|
1799
|
+
"attribute": "href",
|
|
1800
|
+
"reflects": true
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
"kind": "field",
|
|
1804
|
+
"name": "rel",
|
|
1805
|
+
"privacy": "public",
|
|
1806
|
+
"type": {
|
|
1807
|
+
"text": "string"
|
|
1808
|
+
},
|
|
1809
|
+
"description": "Defines the relationship between the current document and the linked document.",
|
|
1810
|
+
"attribute": "rel",
|
|
1811
|
+
"reflects": true
|
|
1812
|
+
},
|
|
1813
|
+
{
|
|
1814
|
+
"kind": "field",
|
|
1815
|
+
"name": "target",
|
|
1816
|
+
"privacy": "public",
|
|
1817
|
+
"type": {
|
|
1818
|
+
"text": "string"
|
|
1819
|
+
},
|
|
1820
|
+
"description": "Defines where to open the linked document.",
|
|
1821
|
+
"attribute": "target",
|
|
1822
|
+
"reflects": true
|
|
1823
|
+
},
|
|
1824
|
+
{
|
|
1825
|
+
"kind": "field",
|
|
1826
|
+
"name": "type",
|
|
1827
|
+
"privacy": "public",
|
|
1828
|
+
"type": {
|
|
1829
|
+
"text": "string"
|
|
1830
|
+
},
|
|
1831
|
+
"description": "Defines the type of hyperlink; accepts `nav` or `cta`.",
|
|
1832
|
+
"attribute": "type",
|
|
1833
|
+
"reflects": true
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
"kind": "field",
|
|
1837
|
+
"name": "fluid",
|
|
1838
|
+
"privacy": "public",
|
|
1839
|
+
"type": {
|
|
1840
|
+
"text": "boolean"
|
|
1841
|
+
},
|
|
1842
|
+
"description": "If true and `type=\"cta\"`, the hyperlink will have a fluid-width UI.",
|
|
1843
|
+
"attribute": "fluid"
|
|
1844
|
+
},
|
|
1845
|
+
{
|
|
1846
|
+
"kind": "field",
|
|
1847
|
+
"name": "referrerpolicy",
|
|
1848
|
+
"privacy": "public",
|
|
1849
|
+
"type": {
|
|
1850
|
+
"text": "boolean"
|
|
1851
|
+
},
|
|
1852
|
+
"description": "If true, sets `strict-origin-when-cross-origin` to control the referrer information sent with requests.",
|
|
1853
|
+
"attribute": "referrerpolicy",
|
|
1854
|
+
"reflects": true
|
|
1855
|
+
}
|
|
1856
|
+
],
|
|
1857
|
+
"attributes": [
|
|
1858
|
+
{
|
|
1859
|
+
"name": "appearance",
|
|
1860
|
+
"type": {
|
|
1861
|
+
"text": "string"
|
|
1862
|
+
},
|
|
1863
|
+
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
1864
|
+
"default": "'default'",
|
|
1865
|
+
"fieldName": "appearance"
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
"name": "href",
|
|
1869
|
+
"type": {
|
|
1870
|
+
"text": "string"
|
|
1871
|
+
},
|
|
1872
|
+
"description": "Defines the URL of the linked page.",
|
|
1873
|
+
"fieldName": "href"
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
"name": "rel",
|
|
1877
|
+
"type": {
|
|
1878
|
+
"text": "string"
|
|
1879
|
+
},
|
|
1880
|
+
"description": "Defines the relationship between the current document and the linked document.",
|
|
1881
|
+
"fieldName": "rel"
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
"name": "target",
|
|
1885
|
+
"type": {
|
|
1886
|
+
"text": "string"
|
|
1887
|
+
},
|
|
1888
|
+
"description": "Defines where to open the linked document.",
|
|
1889
|
+
"fieldName": "target"
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
"name": "download",
|
|
1893
|
+
"type": {
|
|
1894
|
+
"text": "boolean"
|
|
1895
|
+
},
|
|
1896
|
+
"description": "If true, the linked resource will be downloaded when the hyperlink is clicked.",
|
|
1897
|
+
"default": "false",
|
|
1898
|
+
"fieldName": "download"
|
|
1899
|
+
},
|
|
1900
|
+
{
|
|
1901
|
+
"name": "relative",
|
|
1902
|
+
"type": {
|
|
1903
|
+
"text": "boolean"
|
|
1904
|
+
},
|
|
1905
|
+
"description": "If true, the auto URL re-write feature will be disabled.",
|
|
1906
|
+
"default": "false",
|
|
1907
|
+
"fieldName": "relative"
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
"name": "ondark",
|
|
1911
|
+
"type": {
|
|
1912
|
+
"text": "boolean"
|
|
1913
|
+
},
|
|
1914
|
+
"description": "DEPRECATED - use `appearance` instead.",
|
|
1915
|
+
"default": "false",
|
|
1916
|
+
"fieldName": "ondark"
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
"name": "type",
|
|
1920
|
+
"type": {
|
|
1921
|
+
"text": "string"
|
|
1922
|
+
},
|
|
1923
|
+
"description": "Defines the type of hyperlink; accepts `nav` or `cta`.",
|
|
1924
|
+
"fieldName": "type"
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
"name": "fluid",
|
|
1928
|
+
"type": {
|
|
1929
|
+
"text": "boolean"
|
|
1930
|
+
},
|
|
1931
|
+
"description": "If true and `type=\"cta\"`, the hyperlink will have a fluid-width UI.",
|
|
1932
|
+
"fieldName": "fluid"
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
"name": "referrerpolicy",
|
|
1936
|
+
"type": {
|
|
1937
|
+
"text": "boolean"
|
|
1938
|
+
},
|
|
1939
|
+
"description": "If true, sets `strict-origin-when-cross-origin` to control the referrer information sent with requests.",
|
|
1940
|
+
"fieldName": "referrerpolicy"
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
"name": "variant",
|
|
1944
|
+
"type": {
|
|
1945
|
+
"text": "string"
|
|
1946
|
+
},
|
|
1947
|
+
"description": "Sets button variant option.",
|
|
1948
|
+
"default": "\"primary\"",
|
|
1949
|
+
"fieldName": "variant"
|
|
1950
|
+
}
|
|
1951
|
+
],
|
|
1952
|
+
"superclass": {
|
|
1953
|
+
"name": "AuroElement",
|
|
1954
|
+
"module": "/src/layoutElement/auroElement.js"
|
|
1955
|
+
}
|
|
1956
|
+
}
|
|
1957
|
+
],
|
|
1958
|
+
"exports": [
|
|
1959
|
+
{
|
|
1960
|
+
"kind": "js",
|
|
1961
|
+
"name": "default",
|
|
1962
|
+
"declaration": {
|
|
1963
|
+
"name": "ComponentBase",
|
|
1964
|
+
"module": "src/component-base.mjs"
|
|
1965
|
+
}
|
|
1966
|
+
}
|
|
1967
|
+
]
|
|
1968
|
+
},
|
|
1969
|
+
{
|
|
1970
|
+
"kind": "javascript-module",
|
|
1971
|
+
"path": "src/iconVersion.js",
|
|
1972
|
+
"declarations": [],
|
|
1973
|
+
"exports": [
|
|
1974
|
+
{
|
|
1975
|
+
"kind": "js",
|
|
1976
|
+
"name": "default",
|
|
1977
|
+
"declaration": {
|
|
1978
|
+
"name": "9.1.0",
|
|
1979
|
+
"module": "src/iconVersion.js"
|
|
1980
|
+
}
|
|
1981
|
+
}
|
|
1982
|
+
]
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
"kind": "javascript-module",
|
|
1986
|
+
"path": "src/index.js",
|
|
1987
|
+
"declarations": [],
|
|
1988
|
+
"exports": [
|
|
1989
|
+
{
|
|
1990
|
+
"kind": "js",
|
|
1991
|
+
"name": "AuroHyperlink",
|
|
1992
|
+
"declaration": {
|
|
1993
|
+
"name": "AuroHyperlink",
|
|
1994
|
+
"module": "src/index.js"
|
|
1995
|
+
}
|
|
1996
|
+
}
|
|
1997
|
+
]
|
|
1998
|
+
},
|
|
1999
|
+
{
|
|
2000
|
+
"kind": "javascript-module",
|
|
2001
|
+
"path": "src/registered.js",
|
|
2002
|
+
"declarations": [],
|
|
2003
|
+
"exports": []
|
|
2004
|
+
},
|
|
2005
|
+
{
|
|
2006
|
+
"kind": "javascript-module",
|
|
2007
|
+
"path": "scripts/wca/auro-hyperlink.js",
|
|
2008
|
+
"declarations": [
|
|
2009
|
+
{
|
|
2010
|
+
"kind": "class",
|
|
2011
|
+
"description": "`<auro-hyperlink>` is a component that wraps an HTML `<a>` element, providing additional styling and behavior.",
|
|
2012
|
+
"name": "AuroHyperlinkWCA",
|
|
2013
|
+
"superclass": {
|
|
2014
|
+
"name": "AuroHyperlink",
|
|
2015
|
+
"module": "/src/auro-hyperlink.js"
|
|
2016
|
+
},
|
|
2017
|
+
"tagName": "auro-hyperlink",
|
|
2018
|
+
"customElement": true,
|
|
2019
|
+
"cssParts": [
|
|
2020
|
+
{
|
|
2021
|
+
"description": "Allows styling to be applied to the `a` element.",
|
|
2022
|
+
"name": "link",
|
|
2023
|
+
"inheritedFrom": {
|
|
2024
|
+
"name": "AuroHyperlink",
|
|
2025
|
+
"module": "src/auro-hyperlink.js"
|
|
2026
|
+
}
|
|
2027
|
+
},
|
|
2028
|
+
{
|
|
2029
|
+
"description": "Allows styling to be applied to the icon that appears next to the hyperlink.",
|
|
2030
|
+
"name": "targetIcon",
|
|
2031
|
+
"inheritedFrom": {
|
|
2032
|
+
"name": "AuroHyperlink",
|
|
2033
|
+
"module": "src/auro-hyperlink.js"
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
],
|
|
2037
|
+
"attributes": [
|
|
2038
|
+
{
|
|
2039
|
+
"name": "appearance",
|
|
2040
|
+
"type": {
|
|
2041
|
+
"text": "string"
|
|
2042
|
+
},
|
|
2043
|
+
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
2044
|
+
"default": "'default'",
|
|
2045
|
+
"fieldName": "appearance",
|
|
2046
|
+
"inheritedFrom": {
|
|
2047
|
+
"name": "ComponentBase",
|
|
2048
|
+
"module": "src/component-base.mjs"
|
|
2049
|
+
}
|
|
2050
|
+
},
|
|
2051
|
+
{
|
|
2052
|
+
"name": "href",
|
|
2053
|
+
"type": {
|
|
2054
|
+
"text": "string"
|
|
2055
|
+
},
|
|
2056
|
+
"description": "Defines the URL of the linked page.",
|
|
2057
|
+
"fieldName": "href",
|
|
2058
|
+
"inheritedFrom": {
|
|
2059
|
+
"name": "ComponentBase",
|
|
2060
|
+
"module": "src/component-base.mjs"
|
|
2061
|
+
}
|
|
2062
|
+
},
|
|
2063
|
+
{
|
|
2064
|
+
"name": "rel",
|
|
2065
|
+
"type": {
|
|
2066
|
+
"text": "string"
|
|
2067
|
+
},
|
|
2068
|
+
"description": "Defines the relationship between the current document and the linked document.",
|
|
2069
|
+
"fieldName": "rel",
|
|
2070
|
+
"inheritedFrom": {
|
|
2071
|
+
"name": "ComponentBase",
|
|
2072
|
+
"module": "src/component-base.mjs"
|
|
2073
|
+
}
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"name": "target",
|
|
2077
|
+
"type": {
|
|
2078
|
+
"text": "string"
|
|
2079
|
+
},
|
|
2080
|
+
"description": "Defines where to open the linked document.",
|
|
2081
|
+
"fieldName": "target",
|
|
2082
|
+
"inheritedFrom": {
|
|
2083
|
+
"name": "ComponentBase",
|
|
2084
|
+
"module": "src/component-base.mjs"
|
|
2085
|
+
}
|
|
2086
|
+
},
|
|
2087
|
+
{
|
|
2088
|
+
"name": "download",
|
|
2089
|
+
"type": {
|
|
2090
|
+
"text": "boolean"
|
|
2091
|
+
},
|
|
2092
|
+
"description": "If true, the linked resource will be downloaded when the hyperlink is clicked.",
|
|
2093
|
+
"default": "false",
|
|
2094
|
+
"fieldName": "download",
|
|
2095
|
+
"inheritedFrom": {
|
|
2096
|
+
"name": "ComponentBase",
|
|
2097
|
+
"module": "src/component-base.mjs"
|
|
2098
|
+
}
|
|
2099
|
+
},
|
|
2100
|
+
{
|
|
2101
|
+
"name": "relative",
|
|
2102
|
+
"type": {
|
|
2103
|
+
"text": "boolean"
|
|
2104
|
+
},
|
|
2105
|
+
"description": "If true, the auto URL re-write feature will be disabled.",
|
|
2106
|
+
"default": "false",
|
|
2107
|
+
"fieldName": "relative",
|
|
2108
|
+
"inheritedFrom": {
|
|
2109
|
+
"name": "ComponentBase",
|
|
2110
|
+
"module": "src/component-base.mjs"
|
|
2111
|
+
}
|
|
2112
|
+
},
|
|
2113
|
+
{
|
|
2114
|
+
"name": "ondark",
|
|
2115
|
+
"type": {
|
|
2116
|
+
"text": "boolean"
|
|
2117
|
+
},
|
|
2118
|
+
"description": "DEPRECATED - use `appearance` instead.",
|
|
2119
|
+
"default": "false",
|
|
2120
|
+
"fieldName": "ondark",
|
|
2121
|
+
"inheritedFrom": {
|
|
2122
|
+
"name": "ComponentBase",
|
|
2123
|
+
"module": "src/component-base.mjs"
|
|
2124
|
+
}
|
|
2125
|
+
},
|
|
2126
|
+
{
|
|
2127
|
+
"name": "type",
|
|
2128
|
+
"type": {
|
|
2129
|
+
"text": "string"
|
|
2130
|
+
},
|
|
2131
|
+
"description": "Defines the type of hyperlink; accepts `nav` or `cta`.",
|
|
2132
|
+
"fieldName": "type",
|
|
2133
|
+
"inheritedFrom": {
|
|
2134
|
+
"name": "ComponentBase",
|
|
2135
|
+
"module": "src/component-base.mjs"
|
|
2136
|
+
}
|
|
2137
|
+
},
|
|
2138
|
+
{
|
|
2139
|
+
"name": "fluid",
|
|
2140
|
+
"type": {
|
|
2141
|
+
"text": "boolean"
|
|
2142
|
+
},
|
|
2143
|
+
"description": "If true and `type=\"cta\"`, the hyperlink will have a fluid-width UI.",
|
|
2144
|
+
"fieldName": "fluid",
|
|
2145
|
+
"inheritedFrom": {
|
|
2146
|
+
"name": "ComponentBase",
|
|
2147
|
+
"module": "src/component-base.mjs"
|
|
2148
|
+
}
|
|
2149
|
+
},
|
|
2150
|
+
{
|
|
2151
|
+
"name": "referrerpolicy",
|
|
2152
|
+
"type": {
|
|
2153
|
+
"text": "boolean"
|
|
2154
|
+
},
|
|
2155
|
+
"description": "If true, sets `strict-origin-when-cross-origin` to control the referrer information sent with requests.",
|
|
2156
|
+
"fieldName": "referrerpolicy",
|
|
2157
|
+
"inheritedFrom": {
|
|
2158
|
+
"name": "ComponentBase",
|
|
2159
|
+
"module": "src/component-base.mjs"
|
|
2160
|
+
}
|
|
2161
|
+
},
|
|
2162
|
+
{
|
|
2163
|
+
"name": "variant",
|
|
2164
|
+
"type": {
|
|
2165
|
+
"text": "string"
|
|
2166
|
+
},
|
|
2167
|
+
"description": "Sets button variant option.",
|
|
2168
|
+
"default": "\"primary\"",
|
|
2169
|
+
"fieldName": "variant",
|
|
2170
|
+
"inheritedFrom": {
|
|
2171
|
+
"name": "ComponentBase",
|
|
2172
|
+
"module": "src/component-base.mjs"
|
|
2173
|
+
}
|
|
2174
|
+
}
|
|
2175
|
+
],
|
|
2176
|
+
"members": [
|
|
2177
|
+
{
|
|
2178
|
+
"kind": "field",
|
|
2179
|
+
"name": "shadowRootOptions",
|
|
2180
|
+
"static": true,
|
|
2181
|
+
"readonly": true,
|
|
2182
|
+
"inheritedFrom": {
|
|
2183
|
+
"name": "AuroHyperlink",
|
|
2184
|
+
"module": "src/auro-hyperlink.js"
|
|
2185
|
+
}
|
|
2186
|
+
},
|
|
2187
|
+
{
|
|
2188
|
+
"kind": "method",
|
|
2189
|
+
"name": "_createRefs",
|
|
2190
|
+
"description": "Create usable refs to internal elements",
|
|
2191
|
+
"return": {
|
|
2192
|
+
"type": {
|
|
2193
|
+
"text": "void"
|
|
2194
|
+
}
|
|
2195
|
+
},
|
|
2196
|
+
"privacy": "private",
|
|
2197
|
+
"inheritedFrom": {
|
|
2198
|
+
"name": "AuroHyperlink",
|
|
2199
|
+
"module": "src/auro-hyperlink.js"
|
|
2200
|
+
}
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
"kind": "method",
|
|
2204
|
+
"name": "register",
|
|
2205
|
+
"static": true,
|
|
2206
|
+
"parameters": [
|
|
2207
|
+
{
|
|
2208
|
+
"name": "name",
|
|
2209
|
+
"default": "\"auro-hyperlink\"",
|
|
2210
|
+
"description": "The name of element that you want to register to.",
|
|
2211
|
+
"optional": true,
|
|
2212
|
+
"type": {
|
|
2213
|
+
"text": "string"
|
|
2214
|
+
}
|
|
2215
|
+
}
|
|
2216
|
+
],
|
|
2217
|
+
"description": "This will register this element with the browser.",
|
|
2218
|
+
"inheritedFrom": {
|
|
2219
|
+
"name": "AuroHyperlink",
|
|
2220
|
+
"module": "src/auro-hyperlink.js"
|
|
2221
|
+
}
|
|
2222
|
+
},
|
|
2223
|
+
{
|
|
2224
|
+
"kind": "method",
|
|
2225
|
+
"name": "renderLayoutDefault",
|
|
2226
|
+
"description": "Renders the default layout for the hyperlink.",
|
|
2227
|
+
"return": {
|
|
2228
|
+
"type": {
|
|
2229
|
+
"text": "TemplateResult"
|
|
2230
|
+
}
|
|
2231
|
+
},
|
|
2232
|
+
"privacy": "private",
|
|
2233
|
+
"inheritedFrom": {
|
|
2234
|
+
"name": "AuroHyperlink",
|
|
2235
|
+
"module": "src/auro-hyperlink.js"
|
|
2236
|
+
}
|
|
2237
|
+
},
|
|
2238
|
+
{
|
|
2239
|
+
"kind": "method",
|
|
2240
|
+
"name": "renderLayoutCTA",
|
|
2241
|
+
"description": "Renders the cta layout for the hyperlink.",
|
|
2242
|
+
"return": {
|
|
2243
|
+
"type": {
|
|
2244
|
+
"text": "TemplateResult"
|
|
2245
|
+
}
|
|
2246
|
+
},
|
|
2247
|
+
"privacy": "private",
|
|
2248
|
+
"inheritedFrom": {
|
|
2249
|
+
"name": "AuroHyperlink",
|
|
2250
|
+
"module": "src/auro-hyperlink.js"
|
|
2251
|
+
}
|
|
2252
|
+
},
|
|
2253
|
+
{
|
|
2254
|
+
"kind": "method",
|
|
2255
|
+
"name": "getMarkup",
|
|
2256
|
+
"description": "Generates an object containing CSS classes based on the properties of the component.",
|
|
2257
|
+
"privacy": "private",
|
|
2258
|
+
"return": {
|
|
2259
|
+
"type": {
|
|
2260
|
+
"text": "object"
|
|
2261
|
+
}
|
|
2262
|
+
},
|
|
2263
|
+
"inheritedFrom": {
|
|
2264
|
+
"name": "AuroHyperlink",
|
|
2265
|
+
"module": "src/auro-hyperlink.js"
|
|
2266
|
+
}
|
|
2267
|
+
},
|
|
2268
|
+
{
|
|
2269
|
+
"kind": "field",
|
|
2270
|
+
"name": "iconTag",
|
|
2271
|
+
"privacy": "private",
|
|
2272
|
+
"inheritedFrom": {
|
|
2273
|
+
"name": "AuroHyperlink",
|
|
2274
|
+
"module": "src/auro-hyperlink.js"
|
|
2275
|
+
}
|
|
2276
|
+
},
|
|
2277
|
+
{
|
|
2278
|
+
"type": {
|
|
2279
|
+
"text": "String"
|
|
2280
|
+
},
|
|
2281
|
+
"description": "Defines ARIA roles; currently supports `button` for extended experiences.",
|
|
2282
|
+
"name": "role",
|
|
2283
|
+
"kind": "field",
|
|
2284
|
+
"inheritedFrom": {
|
|
2285
|
+
"name": "AuroHyperlink",
|
|
2286
|
+
"module": "src/auro-hyperlink.js"
|
|
2287
|
+
}
|
|
2288
|
+
},
|
|
2289
|
+
{
|
|
2290
|
+
"kind": "field",
|
|
2291
|
+
"name": "safeUri",
|
|
2292
|
+
"description": "Returns a safe URI based on the provided `href` and `relative` parameters.\nIf `href` is truthy, it generates a safe URL using the `safeUrl` function.\nOtherwise, it returns an empty string.",
|
|
2293
|
+
"return": {
|
|
2294
|
+
"type": {
|
|
2295
|
+
"text": "string"
|
|
2296
|
+
}
|
|
2297
|
+
},
|
|
2298
|
+
"readonly": true,
|
|
2299
|
+
"inheritedFrom": {
|
|
2300
|
+
"name": "ComponentBase",
|
|
2301
|
+
"module": "src/component-base.mjs"
|
|
2302
|
+
}
|
|
2303
|
+
},
|
|
2304
|
+
{
|
|
2305
|
+
"kind": "field",
|
|
2306
|
+
"name": "includesDomain",
|
|
2307
|
+
"description": "Checks whether the provided URI (if available) includes the 'http' protocol.\nIf the URI is truthy, it examines whether it contains 'http'.\nOtherwise, it returns false.",
|
|
2308
|
+
"privacy": "private",
|
|
2309
|
+
"return": {
|
|
2310
|
+
"type": {
|
|
2311
|
+
"text": "boolean"
|
|
2312
|
+
}
|
|
2313
|
+
},
|
|
2314
|
+
"readonly": true,
|
|
2315
|
+
"inheritedFrom": {
|
|
2316
|
+
"name": "ComponentBase",
|
|
2317
|
+
"module": "src/component-base.mjs"
|
|
2318
|
+
}
|
|
2319
|
+
},
|
|
2320
|
+
{
|
|
2321
|
+
"kind": "method",
|
|
2322
|
+
"name": "safeUrl",
|
|
2323
|
+
"parameters": [
|
|
2324
|
+
{
|
|
2325
|
+
"name": "href",
|
|
2326
|
+
"description": "The original URL.",
|
|
2327
|
+
"type": {
|
|
2328
|
+
"text": "string"
|
|
2329
|
+
}
|
|
2330
|
+
},
|
|
2331
|
+
{
|
|
2332
|
+
"name": "relative",
|
|
2333
|
+
"description": "Indicates whether the URL is relative.",
|
|
2334
|
+
"type": {
|
|
2335
|
+
"text": "boolean"
|
|
2336
|
+
}
|
|
2337
|
+
}
|
|
2338
|
+
],
|
|
2339
|
+
"description": "Generates a safe URL based on the provided `href` and `relative` parameters.\nIf `href` is falsy, it returns `undefined`.",
|
|
2340
|
+
"privacy": "private",
|
|
2341
|
+
"return": {
|
|
2342
|
+
"type": {
|
|
2343
|
+
"text": "string|undefined"
|
|
2344
|
+
}
|
|
2345
|
+
},
|
|
2346
|
+
"inheritedFrom": {
|
|
2347
|
+
"name": "ComponentBase",
|
|
2348
|
+
"module": "src/component-base.mjs"
|
|
2349
|
+
}
|
|
2350
|
+
},
|
|
2351
|
+
{
|
|
2352
|
+
"kind": "method",
|
|
2353
|
+
"name": "generateIconHtml",
|
|
2354
|
+
"parameters": [
|
|
2355
|
+
{
|
|
2356
|
+
"name": "svgContent",
|
|
2357
|
+
"description": "The SVG content to be embedded.",
|
|
2358
|
+
"type": {
|
|
2359
|
+
"text": "string"
|
|
2360
|
+
}
|
|
2361
|
+
}
|
|
2362
|
+
],
|
|
2363
|
+
"description": "Generates an HTML element containing an SVG icon based on the provided `svgContent`.",
|
|
2364
|
+
"privacy": "private",
|
|
2365
|
+
"return": {
|
|
2366
|
+
"type": {
|
|
2367
|
+
"text": "Element"
|
|
2368
|
+
}
|
|
2369
|
+
},
|
|
2370
|
+
"inheritedFrom": {
|
|
2371
|
+
"name": "ComponentBase",
|
|
2372
|
+
"module": "src/component-base.mjs"
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2375
|
+
{
|
|
2376
|
+
"kind": "method",
|
|
2377
|
+
"name": "targetIcon",
|
|
2378
|
+
"parameters": [
|
|
2379
|
+
{
|
|
2380
|
+
"name": "target",
|
|
2381
|
+
"description": "The target attribute of the anchor element.",
|
|
2382
|
+
"type": {
|
|
2383
|
+
"text": "string"
|
|
2384
|
+
}
|
|
2385
|
+
}
|
|
2386
|
+
],
|
|
2387
|
+
"description": "Generates an icon HTML element based on the target attribute.",
|
|
2388
|
+
"privacy": "private",
|
|
2389
|
+
"return": {
|
|
2390
|
+
"type": {
|
|
2391
|
+
"text": "HTMLElement|undefined"
|
|
2392
|
+
}
|
|
2393
|
+
},
|
|
2394
|
+
"inheritedFrom": {
|
|
2395
|
+
"name": "ComponentBase",
|
|
2396
|
+
"module": "src/component-base.mjs"
|
|
2397
|
+
}
|
|
2398
|
+
},
|
|
2399
|
+
{
|
|
2400
|
+
"kind": "method",
|
|
2401
|
+
"name": "getTabState",
|
|
2402
|
+
"parameters": [
|
|
2403
|
+
{
|
|
2404
|
+
"name": "tabIsActive",
|
|
2405
|
+
"description": "Indicates whether the tab is active.",
|
|
2406
|
+
"type": {
|
|
2407
|
+
"text": "boolean"
|
|
2408
|
+
}
|
|
2409
|
+
}
|
|
2410
|
+
],
|
|
2411
|
+
"description": "Returns the state of a tab as a string.",
|
|
2412
|
+
"privacy": "private",
|
|
2413
|
+
"return": {
|
|
2414
|
+
"type": {
|
|
2415
|
+
"text": "string"
|
|
2416
|
+
}
|
|
2417
|
+
},
|
|
2418
|
+
"inheritedFrom": {
|
|
2419
|
+
"name": "ComponentBase",
|
|
2420
|
+
"module": "src/component-base.mjs"
|
|
2421
|
+
}
|
|
2422
|
+
},
|
|
2423
|
+
{
|
|
2424
|
+
"kind": "method",
|
|
2425
|
+
"name": "getRelType",
|
|
2426
|
+
"parameters": [
|
|
2427
|
+
{
|
|
2428
|
+
"name": "target",
|
|
2429
|
+
"description": "The target attribute of the anchor element.",
|
|
2430
|
+
"type": {
|
|
2431
|
+
"text": "string"
|
|
2432
|
+
}
|
|
2433
|
+
},
|
|
2434
|
+
{
|
|
2435
|
+
"name": "rel",
|
|
2436
|
+
"description": "The rel attribute of the anchor element.",
|
|
2437
|
+
"type": {
|
|
2438
|
+
"text": "string"
|
|
2439
|
+
}
|
|
2440
|
+
}
|
|
2441
|
+
],
|
|
2442
|
+
"description": "Gets the rel attribute value based on target and rel values.",
|
|
2443
|
+
"privacy": "private",
|
|
2444
|
+
"return": {
|
|
2445
|
+
"type": {
|
|
2446
|
+
"text": "string|undefined"
|
|
2447
|
+
}
|
|
2448
|
+
},
|
|
2449
|
+
"inheritedFrom": {
|
|
2450
|
+
"name": "ComponentBase",
|
|
2451
|
+
"module": "src/component-base.mjs"
|
|
2452
|
+
}
|
|
2453
|
+
},
|
|
2454
|
+
{
|
|
2455
|
+
"kind": "method",
|
|
2456
|
+
"name": "ariaPressedState",
|
|
2457
|
+
"parameters": [
|
|
2458
|
+
{
|
|
2459
|
+
"name": "ariaPressed",
|
|
2460
|
+
"description": "The initial value of the ARIA pressed state.",
|
|
2461
|
+
"type": {
|
|
2462
|
+
"text": "boolean"
|
|
2463
|
+
}
|
|
2464
|
+
}
|
|
2465
|
+
],
|
|
2466
|
+
"description": "Sets the ARIA pressed state based on user interactions.",
|
|
2467
|
+
"privacy": "private",
|
|
2468
|
+
"return": {
|
|
2469
|
+
"type": {
|
|
2470
|
+
"text": "boolean"
|
|
2471
|
+
}
|
|
2472
|
+
},
|
|
2473
|
+
"inheritedFrom": {
|
|
2474
|
+
"name": "ComponentBase",
|
|
2475
|
+
"module": "src/component-base.mjs"
|
|
2476
|
+
}
|
|
2477
|
+
},
|
|
2478
|
+
{
|
|
2479
|
+
"kind": "field",
|
|
2480
|
+
"name": "appearance",
|
|
2481
|
+
"privacy": "public",
|
|
2482
|
+
"type": {
|
|
2483
|
+
"text": "string"
|
|
2484
|
+
},
|
|
2485
|
+
"description": "Defines whether the component will be on lighter or darker backgrounds.",
|
|
2486
|
+
"default": "'default'",
|
|
2487
|
+
"attribute": "appearance",
|
|
2488
|
+
"reflects": true,
|
|
2489
|
+
"inheritedFrom": {
|
|
2490
|
+
"name": "ComponentBase",
|
|
2491
|
+
"module": "src/component-base.mjs"
|
|
2492
|
+
}
|
|
2493
|
+
},
|
|
2494
|
+
{
|
|
2495
|
+
"kind": "field",
|
|
2496
|
+
"name": "download",
|
|
2497
|
+
"privacy": "public",
|
|
2498
|
+
"type": {
|
|
2499
|
+
"text": "boolean"
|
|
2500
|
+
},
|
|
2501
|
+
"description": "If true, the linked resource will be downloaded when the hyperlink is clicked.",
|
|
2502
|
+
"default": "false",
|
|
2503
|
+
"attribute": "download",
|
|
2504
|
+
"reflects": true,
|
|
2505
|
+
"inheritedFrom": {
|
|
2506
|
+
"name": "ComponentBase",
|
|
2507
|
+
"module": "src/component-base.mjs"
|
|
2508
|
+
}
|
|
2509
|
+
},
|
|
2510
|
+
{
|
|
2511
|
+
"kind": "field",
|
|
2512
|
+
"name": "relative",
|
|
2513
|
+
"privacy": "public",
|
|
2514
|
+
"type": {
|
|
2515
|
+
"text": "boolean"
|
|
2516
|
+
},
|
|
2517
|
+
"description": "If true, the auto URL re-write feature will be disabled.",
|
|
2518
|
+
"default": "false",
|
|
2519
|
+
"attribute": "relative",
|
|
2520
|
+
"reflects": true,
|
|
2521
|
+
"inheritedFrom": {
|
|
2522
|
+
"name": "ComponentBase",
|
|
2523
|
+
"module": "src/component-base.mjs"
|
|
2524
|
+
}
|
|
2525
|
+
},
|
|
2526
|
+
{
|
|
2527
|
+
"kind": "field",
|
|
2528
|
+
"name": "ondark",
|
|
2529
|
+
"privacy": "public",
|
|
2530
|
+
"type": {
|
|
2531
|
+
"text": "boolean"
|
|
2532
|
+
},
|
|
2533
|
+
"description": "DEPRECATED - use `appearance` instead.",
|
|
2534
|
+
"default": "false",
|
|
2535
|
+
"attribute": "ondark",
|
|
2536
|
+
"inheritedFrom": {
|
|
2537
|
+
"name": "ComponentBase",
|
|
2538
|
+
"module": "src/component-base.mjs"
|
|
2539
|
+
}
|
|
2540
|
+
},
|
|
2541
|
+
{
|
|
2542
|
+
"kind": "field",
|
|
2543
|
+
"name": "variant",
|
|
2544
|
+
"privacy": "public",
|
|
2545
|
+
"type": {
|
|
2546
|
+
"text": "string"
|
|
2547
|
+
},
|
|
2548
|
+
"description": "Sets button variant option.",
|
|
2549
|
+
"default": "\"primary\"",
|
|
2550
|
+
"attribute": "variant",
|
|
2551
|
+
"reflects": true,
|
|
2552
|
+
"inheritedFrom": {
|
|
2553
|
+
"name": "ComponentBase",
|
|
2554
|
+
"module": "src/component-base.mjs"
|
|
2555
|
+
}
|
|
2556
|
+
},
|
|
2557
|
+
{
|
|
2558
|
+
"kind": "field",
|
|
2559
|
+
"name": "layout",
|
|
2560
|
+
"privacy": "private",
|
|
2561
|
+
"inheritedFrom": {
|
|
2562
|
+
"name": "ComponentBase",
|
|
2563
|
+
"module": "src/component-base.mjs"
|
|
2564
|
+
}
|
|
2565
|
+
},
|
|
2566
|
+
{
|
|
2567
|
+
"kind": "field",
|
|
2568
|
+
"name": "shape",
|
|
2569
|
+
"privacy": "private",
|
|
2570
|
+
"inheritedFrom": {
|
|
2571
|
+
"name": "ComponentBase",
|
|
2572
|
+
"module": "src/component-base.mjs"
|
|
2573
|
+
}
|
|
2574
|
+
},
|
|
2575
|
+
{
|
|
2576
|
+
"kind": "field",
|
|
2577
|
+
"name": "size",
|
|
2578
|
+
"privacy": "private",
|
|
2579
|
+
"inheritedFrom": {
|
|
2580
|
+
"name": "ComponentBase",
|
|
2581
|
+
"module": "src/component-base.mjs"
|
|
2582
|
+
}
|
|
2583
|
+
},
|
|
2584
|
+
{
|
|
2585
|
+
"kind": "field",
|
|
2586
|
+
"name": "defaultReferrerPolicy",
|
|
2587
|
+
"type": {
|
|
2588
|
+
"text": "string"
|
|
2589
|
+
},
|
|
2590
|
+
"privacy": "private",
|
|
2591
|
+
"default": "\"strict-origin-when-cross-origin\"",
|
|
2592
|
+
"inheritedFrom": {
|
|
2593
|
+
"name": "ComponentBase",
|
|
2594
|
+
"module": "src/component-base.mjs"
|
|
2595
|
+
}
|
|
2596
|
+
},
|
|
2597
|
+
{
|
|
2598
|
+
"kind": "field",
|
|
2599
|
+
"name": "ariapressed",
|
|
2600
|
+
"type": {
|
|
2601
|
+
"text": "string"
|
|
2602
|
+
},
|
|
2603
|
+
"privacy": "private",
|
|
2604
|
+
"default": "\"false\"",
|
|
2605
|
+
"inheritedFrom": {
|
|
2606
|
+
"name": "ComponentBase",
|
|
2607
|
+
"module": "src/component-base.mjs"
|
|
2608
|
+
}
|
|
2609
|
+
},
|
|
2610
|
+
{
|
|
2611
|
+
"kind": "field",
|
|
2612
|
+
"name": "tabIsActive",
|
|
2613
|
+
"type": {
|
|
2614
|
+
"text": "string"
|
|
2615
|
+
},
|
|
2616
|
+
"privacy": "private",
|
|
2617
|
+
"default": "\"false\"",
|
|
2618
|
+
"inheritedFrom": {
|
|
2619
|
+
"name": "ComponentBase",
|
|
2620
|
+
"module": "src/component-base.mjs"
|
|
2621
|
+
}
|
|
2622
|
+
},
|
|
2623
|
+
{
|
|
2624
|
+
"kind": "field",
|
|
2625
|
+
"name": "runtimeUtils",
|
|
2626
|
+
"privacy": "private",
|
|
2627
|
+
"default": "new AuroLibraryRuntimeUtils()",
|
|
2628
|
+
"inheritedFrom": {
|
|
2629
|
+
"name": "ComponentBase",
|
|
2630
|
+
"module": "src/component-base.mjs"
|
|
2631
|
+
}
|
|
2632
|
+
},
|
|
2633
|
+
{
|
|
2634
|
+
"kind": "field",
|
|
2635
|
+
"name": "href",
|
|
2636
|
+
"privacy": "public",
|
|
2637
|
+
"type": {
|
|
2638
|
+
"text": "string"
|
|
2639
|
+
},
|
|
2640
|
+
"description": "Defines the URL of the linked page.",
|
|
2641
|
+
"attribute": "href",
|
|
2642
|
+
"reflects": true,
|
|
2643
|
+
"inheritedFrom": {
|
|
2644
|
+
"name": "ComponentBase",
|
|
2645
|
+
"module": "src/component-base.mjs"
|
|
2646
|
+
}
|
|
2647
|
+
},
|
|
2648
|
+
{
|
|
2649
|
+
"kind": "field",
|
|
2650
|
+
"name": "rel",
|
|
2651
|
+
"privacy": "public",
|
|
2652
|
+
"type": {
|
|
2653
|
+
"text": "string"
|
|
2654
|
+
},
|
|
2655
|
+
"description": "Defines the relationship between the current document and the linked document.",
|
|
2656
|
+
"attribute": "rel",
|
|
2657
|
+
"reflects": true,
|
|
2658
|
+
"inheritedFrom": {
|
|
2659
|
+
"name": "ComponentBase",
|
|
2660
|
+
"module": "src/component-base.mjs"
|
|
2661
|
+
}
|
|
2662
|
+
},
|
|
2663
|
+
{
|
|
2664
|
+
"kind": "field",
|
|
2665
|
+
"name": "target",
|
|
2666
|
+
"privacy": "public",
|
|
2667
|
+
"type": {
|
|
2668
|
+
"text": "string"
|
|
2669
|
+
},
|
|
2670
|
+
"description": "Defines where to open the linked document.",
|
|
2671
|
+
"attribute": "target",
|
|
2672
|
+
"reflects": true,
|
|
2673
|
+
"inheritedFrom": {
|
|
2674
|
+
"name": "ComponentBase",
|
|
2675
|
+
"module": "src/component-base.mjs"
|
|
2676
|
+
}
|
|
2677
|
+
},
|
|
2678
|
+
{
|
|
2679
|
+
"kind": "field",
|
|
2680
|
+
"name": "type",
|
|
2681
|
+
"privacy": "public",
|
|
2682
|
+
"type": {
|
|
2683
|
+
"text": "string"
|
|
2684
|
+
},
|
|
2685
|
+
"description": "Defines the type of hyperlink; accepts `nav` or `cta`.",
|
|
2686
|
+
"attribute": "type",
|
|
2687
|
+
"reflects": true,
|
|
2688
|
+
"inheritedFrom": {
|
|
2689
|
+
"name": "ComponentBase",
|
|
2690
|
+
"module": "src/component-base.mjs"
|
|
2691
|
+
}
|
|
2692
|
+
},
|
|
2693
|
+
{
|
|
2694
|
+
"kind": "field",
|
|
2695
|
+
"name": "fluid",
|
|
2696
|
+
"privacy": "public",
|
|
2697
|
+
"type": {
|
|
2698
|
+
"text": "boolean"
|
|
2699
|
+
},
|
|
2700
|
+
"description": "If true and `type=\"cta\"`, the hyperlink will have a fluid-width UI.",
|
|
2701
|
+
"attribute": "fluid",
|
|
2702
|
+
"inheritedFrom": {
|
|
2703
|
+
"name": "ComponentBase",
|
|
2704
|
+
"module": "src/component-base.mjs"
|
|
2705
|
+
}
|
|
2706
|
+
},
|
|
2707
|
+
{
|
|
2708
|
+
"kind": "field",
|
|
2709
|
+
"name": "referrerpolicy",
|
|
2710
|
+
"privacy": "public",
|
|
2711
|
+
"type": {
|
|
2712
|
+
"text": "boolean"
|
|
2713
|
+
},
|
|
2714
|
+
"description": "If true, sets `strict-origin-when-cross-origin` to control the referrer information sent with requests.",
|
|
2715
|
+
"attribute": "referrerpolicy",
|
|
2716
|
+
"reflects": true,
|
|
2717
|
+
"inheritedFrom": {
|
|
2718
|
+
"name": "ComponentBase",
|
|
2719
|
+
"module": "src/component-base.mjs"
|
|
2720
|
+
}
|
|
2721
|
+
}
|
|
2722
|
+
]
|
|
2723
|
+
}
|
|
2724
|
+
],
|
|
2725
|
+
"exports": [
|
|
2726
|
+
{
|
|
2727
|
+
"kind": "custom-element-definition",
|
|
2728
|
+
"name": "auro-hyperlink",
|
|
2729
|
+
"declaration": {
|
|
2730
|
+
"name": "AuroHyperlinkWCA",
|
|
2731
|
+
"module": "scripts/wca/auro-hyperlink.js"
|
|
2732
|
+
}
|
|
2733
|
+
}
|
|
2734
|
+
]
|
|
2735
|
+
}
|
|
2736
|
+
]
|
|
2737
|
+
}
|