@aurodesignsystem-dev/auro-hyperlink 0.0.0-pr316.0 → 0.0.0-pr316.2

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