@aurodesignsystem-dev/auro-sidenav 0.0.0-pr84.1 → 0.0.0-pr87.1

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