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