@aurodesignsystem-dev/auro-hyperlink 0.0.0-pr1.0 → 0.0.0-pr306.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1186 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "readme": "",
4
- "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "src/auro-hyperlink-button.js",
8
- "declarations": [
9
- {
10
- "kind": "class",
11
- "description": "",
12
- "name": "AuroHyperlinkButton",
13
- "members": [
14
- {
15
- "kind": "method",
16
- "name": "register",
17
- "static": true,
18
- "parameters": [
19
- {
20
- "name": "name",
21
- "default": "\"auro-hyperlink-button\"",
22
- "description": "The name of element that you want to register to.",
23
- "optional": true,
24
- "type": {
25
- "text": "string"
26
- }
27
- }
28
- ],
29
- "description": "This will register this element with the browser."
30
- }
31
- ],
32
- "superclass": {
33
- "name": "AuroButton",
34
- "package": "@aurodesignsystem/auro-button/class"
35
- },
36
- "tagName": "auro-hyperlink-button",
37
- "customElement": true
38
- }
39
- ],
40
- "exports": [
41
- {
42
- "kind": "js",
43
- "name": "AuroHyperlinkButton",
44
- "declaration": {
45
- "name": "AuroHyperlinkButton",
46
- "module": "src/auro-hyperlink-button.js"
47
- }
48
- },
49
- {
50
- "kind": "custom-element-definition",
51
- "name": "auro-hyperlink-button",
52
- "declaration": {
53
- "name": "AuroHyperlinkButton",
54
- "module": "src/auro-hyperlink-button.js"
55
- }
56
- }
57
- ]
58
- },
59
- {
60
- "kind": "javascript-module",
61
- "path": "src/auro-hyperlink.js",
62
- "declarations": [
63
- {
64
- "kind": "class",
65
- "description": "`<auro-hyperlink>` is a component that wraps an HTML `<a>` element, providing additional styling and behavior.",
66
- "name": "AuroHyperlink",
67
- "cssParts": [
68
- {
69
- "description": "Allows styling to be applied to the `a` element.",
70
- "name": "link"
71
- },
72
- {
73
- "description": "Allows styling to be applied to the icon that appears next to the hyperlink.",
74
- "name": "targetIcon"
75
- }
76
- ],
77
- "members": [
78
- {
79
- "kind": "field",
80
- "name": "shadowRootOptions",
81
- "static": true,
82
- "readonly": true
83
- },
84
- {
85
- "kind": "method",
86
- "name": "_createRefs",
87
- "description": "Create usable refs to internal elements",
88
- "return": {
89
- "type": {
90
- "text": "void"
91
- }
92
- },
93
- "privacy": "private"
94
- },
95
- {
96
- "kind": "method",
97
- "name": "register",
98
- "static": true,
99
- "parameters": [
100
- {
101
- "name": "name",
102
- "default": "\"auro-hyperlink\"",
103
- "description": "The name of element that you want to register to.",
104
- "optional": true,
105
- "type": {
106
- "text": "string"
107
- }
108
- }
109
- ],
110
- "description": "This will register this element with the browser."
111
- },
112
- {
113
- "kind": "method",
114
- "name": "renderLayoutDefault",
115
- "description": "Renders the default layout for the hyperlink.",
116
- "return": {
117
- "type": {
118
- "text": "TemplateResult"
119
- }
120
- },
121
- "privacy": "private"
122
- },
123
- {
124
- "kind": "method",
125
- "name": "renderLayoutCTA",
126
- "description": "Renders the cta layout for the hyperlink.",
127
- "return": {
128
- "type": {
129
- "text": "TemplateResult"
130
- }
131
- },
132
- "privacy": "private"
133
- },
134
- {
135
- "kind": "method",
136
- "name": "getMarkup",
137
- "description": "Generates an object containing CSS classes based on the properties of the component.",
138
- "privacy": "private",
139
- "return": {
140
- "type": {
141
- "text": "object"
142
- }
143
- }
144
- },
145
- {
146
- "kind": "field",
147
- "name": "iconTag",
148
- "privacy": "private"
149
- },
150
- {
151
- "type": {
152
- "text": "String"
153
- },
154
- "description": "Defines ARIA roles; currently supports `button` for extended experiences.",
155
- "name": "role",
156
- "kind": "field"
157
- },
158
- {
159
- "kind": "field",
160
- "name": "safeUri",
161
- "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.",
162
- "return": {
163
- "type": {
164
- "text": "string"
165
- }
166
- },
167
- "readonly": true,
168
- "inheritedFrom": {
169
- "name": "ComponentBase",
170
- "module": "src/component-base.mjs"
171
- }
172
- },
173
- {
174
- "kind": "field",
175
- "name": "includesDomain",
176
- "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.",
177
- "privacy": "private",
178
- "return": {
179
- "type": {
180
- "text": "boolean"
181
- }
182
- },
183
- "readonly": true,
184
- "inheritedFrom": {
185
- "name": "ComponentBase",
186
- "module": "src/component-base.mjs"
187
- }
188
- },
189
- {
190
- "kind": "method",
191
- "name": "safeUrl",
192
- "parameters": [
193
- {
194
- "name": "href",
195
- "description": "The original URL.",
196
- "type": {
197
- "text": "string"
198
- }
199
- },
200
- {
201
- "name": "relative",
202
- "description": "Indicates whether the URL is relative.",
203
- "type": {
204
- "text": "boolean"
205
- }
206
- }
207
- ],
208
- "description": "Generates a safe URL based on the provided `href` and `relative` parameters.\nIf `href` is falsy, it returns `undefined`.",
209
- "privacy": "private",
210
- "return": {
211
- "type": {
212
- "text": "string|undefined"
213
- }
214
- },
215
- "inheritedFrom": {
216
- "name": "ComponentBase",
217
- "module": "src/component-base.mjs"
218
- }
219
- },
220
- {
221
- "kind": "method",
222
- "name": "generateIconHtml",
223
- "parameters": [
224
- {
225
- "name": "svgContent",
226
- "description": "The SVG content to be embedded.",
227
- "type": {
228
- "text": "string"
229
- }
230
- }
231
- ],
232
- "description": "Generates an HTML element containing an SVG icon based on the provided `svgContent`.",
233
- "privacy": "private",
234
- "return": {
235
- "type": {
236
- "text": "Element"
237
- }
238
- },
239
- "inheritedFrom": {
240
- "name": "ComponentBase",
241
- "module": "src/component-base.mjs"
242
- }
243
- },
244
- {
245
- "kind": "method",
246
- "name": "targetIcon",
247
- "parameters": [
248
- {
249
- "name": "target",
250
- "description": "The target attribute of the anchor element.",
251
- "type": {
252
- "text": "string"
253
- }
254
- }
255
- ],
256
- "description": "Generates an icon HTML element based on the target attribute.",
257
- "privacy": "private",
258
- "return": {
259
- "type": {
260
- "text": "HTMLElement|undefined"
261
- }
262
- },
263
- "inheritedFrom": {
264
- "name": "ComponentBase",
265
- "module": "src/component-base.mjs"
266
- }
267
- },
268
- {
269
- "kind": "method",
270
- "name": "getTabState",
271
- "parameters": [
272
- {
273
- "name": "tabIsActive",
274
- "description": "Indicates whether the tab is active.",
275
- "type": {
276
- "text": "boolean"
277
- }
278
- }
279
- ],
280
- "description": "Returns the state of a tab as a string.",
281
- "privacy": "private",
282
- "return": {
283
- "type": {
284
- "text": "string"
285
- }
286
- },
287
- "inheritedFrom": {
288
- "name": "ComponentBase",
289
- "module": "src/component-base.mjs"
290
- }
291
- },
292
- {
293
- "kind": "method",
294
- "name": "getRelType",
295
- "parameters": [
296
- {
297
- "name": "target",
298
- "description": "The target attribute of the anchor element.",
299
- "type": {
300
- "text": "string"
301
- }
302
- },
303
- {
304
- "name": "rel",
305
- "description": "The rel attribute of the anchor element.",
306
- "type": {
307
- "text": "string"
308
- }
309
- }
310
- ],
311
- "description": "Gets the rel attribute value based on target and rel values.",
312
- "privacy": "private",
313
- "return": {
314
- "type": {
315
- "text": "string|undefined"
316
- }
317
- },
318
- "inheritedFrom": {
319
- "name": "ComponentBase",
320
- "module": "src/component-base.mjs"
321
- }
322
- },
323
- {
324
- "kind": "method",
325
- "name": "ariaPressedState",
326
- "parameters": [
327
- {
328
- "name": "ariaPressed",
329
- "description": "The initial value of the ARIA pressed state.",
330
- "type": {
331
- "text": "boolean"
332
- }
333
- }
334
- ],
335
- "description": "Sets the ARIA pressed state based on user interactions.",
336
- "privacy": "private",
337
- "return": {
338
- "type": {
339
- "text": "boolean"
340
- }
341
- },
342
- "inheritedFrom": {
343
- "name": "ComponentBase",
344
- "module": "src/component-base.mjs"
345
- }
346
- },
347
- {
348
- "kind": "field",
349
- "name": "download",
350
- "privacy": "public",
351
- "type": {
352
- "text": "boolean"
353
- },
354
- "description": "If true, the linked resource will be downloaded when the hyperlink is clicked.",
355
- "default": "false",
356
- "attribute": "download",
357
- "reflects": true,
358
- "inheritedFrom": {
359
- "name": "ComponentBase",
360
- "module": "src/component-base.mjs"
361
- }
362
- },
363
- {
364
- "kind": "field",
365
- "name": "relative",
366
- "privacy": "public",
367
- "type": {
368
- "text": "boolean"
369
- },
370
- "description": "If true, the auto URL re-write feature will be disabled.",
371
- "default": "false",
372
- "attribute": "relative",
373
- "reflects": true,
374
- "inheritedFrom": {
375
- "name": "ComponentBase",
376
- "module": "src/component-base.mjs"
377
- }
378
- },
379
- {
380
- "kind": "field",
381
- "name": "ondark",
382
- "privacy": "public",
383
- "type": {
384
- "text": "boolean"
385
- },
386
- "description": "If true, the hyperlink will be styled for use on a dark background.",
387
- "default": "false",
388
- "attribute": "ondark",
389
- "inheritedFrom": {
390
- "name": "ComponentBase",
391
- "module": "src/component-base.mjs"
392
- }
393
- },
394
- {
395
- "kind": "field",
396
- "name": "variant",
397
- "privacy": "public",
398
- "type": {
399
- "text": "string"
400
- },
401
- "description": "Sets button variant option.",
402
- "default": "\"primary\"",
403
- "attribute": "variant",
404
- "reflects": true,
405
- "inheritedFrom": {
406
- "name": "ComponentBase",
407
- "module": "src/component-base.mjs"
408
- }
409
- },
410
- {
411
- "kind": "field",
412
- "name": "layout",
413
- "privacy": "private",
414
- "inheritedFrom": {
415
- "name": "ComponentBase",
416
- "module": "src/component-base.mjs"
417
- }
418
- },
419
- {
420
- "kind": "field",
421
- "name": "shape",
422
- "privacy": "private",
423
- "inheritedFrom": {
424
- "name": "ComponentBase",
425
- "module": "src/component-base.mjs"
426
- }
427
- },
428
- {
429
- "kind": "field",
430
- "name": "size",
431
- "privacy": "private",
432
- "inheritedFrom": {
433
- "name": "ComponentBase",
434
- "module": "src/component-base.mjs"
435
- }
436
- },
437
- {
438
- "kind": "field",
439
- "name": "defaultReferrerPolicy",
440
- "type": {
441
- "text": "string"
442
- },
443
- "privacy": "private",
444
- "default": "\"strict-origin-when-cross-origin\"",
445
- "inheritedFrom": {
446
- "name": "ComponentBase",
447
- "module": "src/component-base.mjs"
448
- }
449
- },
450
- {
451
- "kind": "field",
452
- "name": "ariapressed",
453
- "type": {
454
- "text": "string"
455
- },
456
- "privacy": "private",
457
- "default": "\"false\"",
458
- "inheritedFrom": {
459
- "name": "ComponentBase",
460
- "module": "src/component-base.mjs"
461
- }
462
- },
463
- {
464
- "kind": "field",
465
- "name": "tabIsActive",
466
- "type": {
467
- "text": "string"
468
- },
469
- "privacy": "private",
470
- "default": "\"false\"",
471
- "inheritedFrom": {
472
- "name": "ComponentBase",
473
- "module": "src/component-base.mjs"
474
- }
475
- },
476
- {
477
- "kind": "field",
478
- "name": "runtimeUtils",
479
- "privacy": "private",
480
- "default": "new AuroLibraryRuntimeUtils()",
481
- "inheritedFrom": {
482
- "name": "ComponentBase",
483
- "module": "src/component-base.mjs"
484
- }
485
- },
486
- {
487
- "kind": "field",
488
- "name": "href",
489
- "privacy": "public",
490
- "type": {
491
- "text": "string"
492
- },
493
- "description": "Defines the URL of the linked page.",
494
- "attribute": "href",
495
- "reflects": true,
496
- "inheritedFrom": {
497
- "name": "ComponentBase",
498
- "module": "src/component-base.mjs"
499
- }
500
- },
501
- {
502
- "kind": "field",
503
- "name": "rel",
504
- "privacy": "public",
505
- "type": {
506
- "text": "string"
507
- },
508
- "description": "Defines the relationship between the current document and the linked document.",
509
- "attribute": "rel",
510
- "reflects": true,
511
- "inheritedFrom": {
512
- "name": "ComponentBase",
513
- "module": "src/component-base.mjs"
514
- }
515
- },
516
- {
517
- "kind": "field",
518
- "name": "target",
519
- "privacy": "public",
520
- "type": {
521
- "text": "string"
522
- },
523
- "description": "Defines where to open the linked document.",
524
- "attribute": "target",
525
- "reflects": true,
526
- "inheritedFrom": {
527
- "name": "ComponentBase",
528
- "module": "src/component-base.mjs"
529
- }
530
- },
531
- {
532
- "kind": "field",
533
- "name": "type",
534
- "privacy": "public",
535
- "type": {
536
- "text": "string"
537
- },
538
- "description": "Defines the type of hyperlink; accepts `nav` or `cta`.",
539
- "attribute": "type",
540
- "reflects": true,
541
- "inheritedFrom": {
542
- "name": "ComponentBase",
543
- "module": "src/component-base.mjs"
544
- }
545
- },
546
- {
547
- "kind": "field",
548
- "name": "fluid",
549
- "privacy": "public",
550
- "type": {
551
- "text": "boolean"
552
- },
553
- "description": "If true and `type=\"cta\"`, the hyperlink will have a fluid-width UI.",
554
- "attribute": "fluid",
555
- "inheritedFrom": {
556
- "name": "ComponentBase",
557
- "module": "src/component-base.mjs"
558
- }
559
- },
560
- {
561
- "kind": "field",
562
- "name": "referrerpolicy",
563
- "privacy": "public",
564
- "type": {
565
- "text": "boolean"
566
- },
567
- "description": "If true, sets `strict-origin-when-cross-origin` to control the referrer information sent with requests.",
568
- "attribute": "referrerpolicy",
569
- "reflects": true,
570
- "inheritedFrom": {
571
- "name": "ComponentBase",
572
- "module": "src/component-base.mjs"
573
- }
574
- }
575
- ],
576
- "superclass": {
577
- "name": "ComponentBase",
578
- "module": "/src/component-base.mjs"
579
- },
580
- "attributes": [
581
- {
582
- "name": "href",
583
- "type": {
584
- "text": "string"
585
- },
586
- "description": "Defines the URL of the linked page.",
587
- "fieldName": "href",
588
- "inheritedFrom": {
589
- "name": "ComponentBase",
590
- "module": "src/component-base.mjs"
591
- }
592
- },
593
- {
594
- "name": "rel",
595
- "type": {
596
- "text": "string"
597
- },
598
- "description": "Defines the relationship between the current document and the linked document.",
599
- "fieldName": "rel",
600
- "inheritedFrom": {
601
- "name": "ComponentBase",
602
- "module": "src/component-base.mjs"
603
- }
604
- },
605
- {
606
- "name": "target",
607
- "type": {
608
- "text": "string"
609
- },
610
- "description": "Defines where to open the linked document.",
611
- "fieldName": "target",
612
- "inheritedFrom": {
613
- "name": "ComponentBase",
614
- "module": "src/component-base.mjs"
615
- }
616
- },
617
- {
618
- "name": "download",
619
- "type": {
620
- "text": "boolean"
621
- },
622
- "description": "If true, the linked resource will be downloaded when the hyperlink is clicked.",
623
- "default": "false",
624
- "fieldName": "download",
625
- "inheritedFrom": {
626
- "name": "ComponentBase",
627
- "module": "src/component-base.mjs"
628
- }
629
- },
630
- {
631
- "name": "relative",
632
- "type": {
633
- "text": "boolean"
634
- },
635
- "description": "If true, the auto URL re-write feature will be disabled.",
636
- "default": "false",
637
- "fieldName": "relative",
638
- "inheritedFrom": {
639
- "name": "ComponentBase",
640
- "module": "src/component-base.mjs"
641
- }
642
- },
643
- {
644
- "name": "ondark",
645
- "type": {
646
- "text": "boolean"
647
- },
648
- "description": "If true, the hyperlink will be styled for use on a dark background.",
649
- "default": "false",
650
- "fieldName": "ondark",
651
- "inheritedFrom": {
652
- "name": "ComponentBase",
653
- "module": "src/component-base.mjs"
654
- }
655
- },
656
- {
657
- "name": "type",
658
- "type": {
659
- "text": "string"
660
- },
661
- "description": "Defines the type of hyperlink; accepts `nav` or `cta`.",
662
- "fieldName": "type",
663
- "inheritedFrom": {
664
- "name": "ComponentBase",
665
- "module": "src/component-base.mjs"
666
- }
667
- },
668
- {
669
- "name": "fluid",
670
- "type": {
671
- "text": "boolean"
672
- },
673
- "description": "If true and `type=\"cta\"`, the hyperlink will have a fluid-width UI.",
674
- "fieldName": "fluid",
675
- "inheritedFrom": {
676
- "name": "ComponentBase",
677
- "module": "src/component-base.mjs"
678
- }
679
- },
680
- {
681
- "name": "referrerpolicy",
682
- "type": {
683
- "text": "boolean"
684
- },
685
- "description": "If true, sets `strict-origin-when-cross-origin` to control the referrer information sent with requests.",
686
- "fieldName": "referrerpolicy",
687
- "inheritedFrom": {
688
- "name": "ComponentBase",
689
- "module": "src/component-base.mjs"
690
- }
691
- },
692
- {
693
- "name": "variant",
694
- "type": {
695
- "text": "string"
696
- },
697
- "description": "Sets button variant option.",
698
- "default": "\"primary\"",
699
- "fieldName": "variant",
700
- "inheritedFrom": {
701
- "name": "ComponentBase",
702
- "module": "src/component-base.mjs"
703
- }
704
- }
705
- ]
706
- }
707
- ],
708
- "exports": [
709
- {
710
- "kind": "js",
711
- "name": "AuroHyperlink",
712
- "declaration": {
713
- "name": "AuroHyperlink",
714
- "module": "src/auro-hyperlink.js"
715
- }
716
- }
717
- ]
718
- },
719
- {
720
- "kind": "javascript-module",
721
- "path": "src/component-base.mjs",
722
- "declarations": [
723
- {
724
- "kind": "class",
725
- "description": "",
726
- "name": "ComponentBase",
727
- "members": [
728
- {
729
- "kind": "field",
730
- "name": "safeUri",
731
- "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.",
732
- "return": {
733
- "type": {
734
- "text": "string"
735
- }
736
- },
737
- "readonly": true
738
- },
739
- {
740
- "kind": "field",
741
- "name": "includesDomain",
742
- "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.",
743
- "privacy": "private",
744
- "return": {
745
- "type": {
746
- "text": "boolean"
747
- }
748
- },
749
- "readonly": true
750
- },
751
- {
752
- "kind": "method",
753
- "name": "safeUrl",
754
- "parameters": [
755
- {
756
- "name": "href",
757
- "description": "The original URL.",
758
- "type": {
759
- "text": "string"
760
- }
761
- },
762
- {
763
- "name": "relative",
764
- "description": "Indicates whether the URL is relative.",
765
- "type": {
766
- "text": "boolean"
767
- }
768
- }
769
- ],
770
- "description": "Generates a safe URL based on the provided `href` and `relative` parameters.\nIf `href` is falsy, it returns `undefined`.",
771
- "privacy": "private",
772
- "return": {
773
- "type": {
774
- "text": "string|undefined"
775
- }
776
- }
777
- },
778
- {
779
- "kind": "method",
780
- "name": "generateIconHtml",
781
- "parameters": [
782
- {
783
- "name": "svgContent",
784
- "description": "The SVG content to be embedded.",
785
- "type": {
786
- "text": "string"
787
- }
788
- }
789
- ],
790
- "description": "Generates an HTML element containing an SVG icon based on the provided `svgContent`.",
791
- "privacy": "private",
792
- "return": {
793
- "type": {
794
- "text": "Element"
795
- }
796
- }
797
- },
798
- {
799
- "kind": "method",
800
- "name": "targetIcon",
801
- "parameters": [
802
- {
803
- "name": "target",
804
- "description": "The target attribute of the anchor element.",
805
- "type": {
806
- "text": "string"
807
- }
808
- }
809
- ],
810
- "description": "Generates an icon HTML element based on the target attribute.",
811
- "privacy": "private",
812
- "return": {
813
- "type": {
814
- "text": "HTMLElement|undefined"
815
- }
816
- }
817
- },
818
- {
819
- "kind": "method",
820
- "name": "getTabState",
821
- "parameters": [
822
- {
823
- "name": "tabIsActive",
824
- "description": "Indicates whether the tab is active.",
825
- "type": {
826
- "text": "boolean"
827
- }
828
- }
829
- ],
830
- "description": "Returns the state of a tab as a string.",
831
- "privacy": "private",
832
- "return": {
833
- "type": {
834
- "text": "string"
835
- }
836
- }
837
- },
838
- {
839
- "kind": "method",
840
- "name": "getRelType",
841
- "parameters": [
842
- {
843
- "name": "target",
844
- "description": "The target attribute of the anchor element.",
845
- "type": {
846
- "text": "string"
847
- }
848
- },
849
- {
850
- "name": "rel",
851
- "description": "The rel attribute of the anchor element.",
852
- "type": {
853
- "text": "string"
854
- }
855
- }
856
- ],
857
- "description": "Gets the rel attribute value based on target and rel values.",
858
- "privacy": "private",
859
- "return": {
860
- "type": {
861
- "text": "string|undefined"
862
- }
863
- }
864
- },
865
- {
866
- "kind": "method",
867
- "name": "ariaPressedState",
868
- "parameters": [
869
- {
870
- "name": "ariaPressed",
871
- "description": "The initial value of the ARIA pressed state.",
872
- "type": {
873
- "text": "boolean"
874
- }
875
- }
876
- ],
877
- "description": "Sets the ARIA pressed state based on user interactions.",
878
- "privacy": "private",
879
- "return": {
880
- "type": {
881
- "text": "boolean"
882
- }
883
- }
884
- },
885
- {
886
- "kind": "field",
887
- "name": "download",
888
- "privacy": "public",
889
- "type": {
890
- "text": "boolean"
891
- },
892
- "description": "If true, the linked resource will be downloaded when the hyperlink is clicked.",
893
- "default": "false",
894
- "attribute": "download",
895
- "reflects": true
896
- },
897
- {
898
- "kind": "field",
899
- "name": "relative",
900
- "privacy": "public",
901
- "type": {
902
- "text": "boolean"
903
- },
904
- "description": "If true, the auto URL re-write feature will be disabled.",
905
- "default": "false",
906
- "attribute": "relative",
907
- "reflects": true
908
- },
909
- {
910
- "kind": "field",
911
- "name": "ondark",
912
- "privacy": "public",
913
- "type": {
914
- "text": "boolean"
915
- },
916
- "description": "If true, the hyperlink will be styled for use on a dark background.",
917
- "default": "false",
918
- "attribute": "ondark"
919
- },
920
- {
921
- "kind": "field",
922
- "name": "variant",
923
- "privacy": "public",
924
- "type": {
925
- "text": "string"
926
- },
927
- "description": "Sets button variant option.",
928
- "default": "\"primary\"",
929
- "attribute": "variant",
930
- "reflects": true
931
- },
932
- {
933
- "kind": "field",
934
- "name": "layout",
935
- "privacy": "private"
936
- },
937
- {
938
- "kind": "field",
939
- "name": "shape",
940
- "privacy": "private"
941
- },
942
- {
943
- "kind": "field",
944
- "name": "size",
945
- "privacy": "private"
946
- },
947
- {
948
- "kind": "field",
949
- "name": "defaultReferrerPolicy",
950
- "type": {
951
- "text": "string"
952
- },
953
- "privacy": "private",
954
- "default": "\"strict-origin-when-cross-origin\""
955
- },
956
- {
957
- "kind": "field",
958
- "name": "ariapressed",
959
- "type": {
960
- "text": "string"
961
- },
962
- "privacy": "private",
963
- "default": "\"false\""
964
- },
965
- {
966
- "kind": "field",
967
- "name": "tabIsActive",
968
- "type": {
969
- "text": "string"
970
- },
971
- "privacy": "private",
972
- "default": "\"false\""
973
- },
974
- {
975
- "kind": "field",
976
- "name": "runtimeUtils",
977
- "privacy": "private",
978
- "default": "new AuroLibraryRuntimeUtils()"
979
- },
980
- {
981
- "kind": "field",
982
- "name": "href",
983
- "privacy": "public",
984
- "type": {
985
- "text": "string"
986
- },
987
- "description": "Defines the URL of the linked page.",
988
- "attribute": "href",
989
- "reflects": true
990
- },
991
- {
992
- "kind": "field",
993
- "name": "rel",
994
- "privacy": "public",
995
- "type": {
996
- "text": "string"
997
- },
998
- "description": "Defines the relationship between the current document and the linked document.",
999
- "attribute": "rel",
1000
- "reflects": true
1001
- },
1002
- {
1003
- "kind": "field",
1004
- "name": "target",
1005
- "privacy": "public",
1006
- "type": {
1007
- "text": "string"
1008
- },
1009
- "description": "Defines where to open the linked document.",
1010
- "attribute": "target",
1011
- "reflects": true
1012
- },
1013
- {
1014
- "kind": "field",
1015
- "name": "type",
1016
- "privacy": "public",
1017
- "type": {
1018
- "text": "string"
1019
- },
1020
- "description": "Defines the type of hyperlink; accepts `nav` or `cta`.",
1021
- "attribute": "type",
1022
- "reflects": true
1023
- },
1024
- {
1025
- "kind": "field",
1026
- "name": "fluid",
1027
- "privacy": "public",
1028
- "type": {
1029
- "text": "boolean"
1030
- },
1031
- "description": "If true and `type=\"cta\"`, the hyperlink will have a fluid-width UI.",
1032
- "attribute": "fluid"
1033
- },
1034
- {
1035
- "kind": "field",
1036
- "name": "referrerpolicy",
1037
- "privacy": "public",
1038
- "type": {
1039
- "text": "boolean"
1040
- },
1041
- "description": "If true, sets `strict-origin-when-cross-origin` to control the referrer information sent with requests.",
1042
- "attribute": "referrerpolicy",
1043
- "reflects": true
1044
- }
1045
- ],
1046
- "attributes": [
1047
- {
1048
- "name": "href",
1049
- "type": {
1050
- "text": "string"
1051
- },
1052
- "description": "Defines the URL of the linked page.",
1053
- "fieldName": "href"
1054
- },
1055
- {
1056
- "name": "rel",
1057
- "type": {
1058
- "text": "string"
1059
- },
1060
- "description": "Defines the relationship between the current document and the linked document.",
1061
- "fieldName": "rel"
1062
- },
1063
- {
1064
- "name": "target",
1065
- "type": {
1066
- "text": "string"
1067
- },
1068
- "description": "Defines where to open the linked document.",
1069
- "fieldName": "target"
1070
- },
1071
- {
1072
- "name": "download",
1073
- "type": {
1074
- "text": "boolean"
1075
- },
1076
- "description": "If true, the linked resource will be downloaded when the hyperlink is clicked.",
1077
- "default": "false",
1078
- "fieldName": "download"
1079
- },
1080
- {
1081
- "name": "relative",
1082
- "type": {
1083
- "text": "boolean"
1084
- },
1085
- "description": "If true, the auto URL re-write feature will be disabled.",
1086
- "default": "false",
1087
- "fieldName": "relative"
1088
- },
1089
- {
1090
- "name": "ondark",
1091
- "type": {
1092
- "text": "boolean"
1093
- },
1094
- "description": "If true, the hyperlink will be styled for use on a dark background.",
1095
- "default": "false",
1096
- "fieldName": "ondark"
1097
- },
1098
- {
1099
- "name": "type",
1100
- "type": {
1101
- "text": "string"
1102
- },
1103
- "description": "Defines the type of hyperlink; accepts `nav` or `cta`.",
1104
- "fieldName": "type"
1105
- },
1106
- {
1107
- "name": "fluid",
1108
- "type": {
1109
- "text": "boolean"
1110
- },
1111
- "description": "If true and `type=\"cta\"`, the hyperlink will have a fluid-width UI.",
1112
- "fieldName": "fluid"
1113
- },
1114
- {
1115
- "name": "referrerpolicy",
1116
- "type": {
1117
- "text": "boolean"
1118
- },
1119
- "description": "If true, sets `strict-origin-when-cross-origin` to control the referrer information sent with requests.",
1120
- "fieldName": "referrerpolicy"
1121
- },
1122
- {
1123
- "name": "variant",
1124
- "type": {
1125
- "text": "string"
1126
- },
1127
- "description": "Sets button variant option.",
1128
- "default": "\"primary\"",
1129
- "fieldName": "variant"
1130
- }
1131
- ],
1132
- "superclass": {
1133
- "name": "AuroElement",
1134
- "module": "/src/layoutElement/auroElement.js"
1135
- }
1136
- }
1137
- ],
1138
- "exports": [
1139
- {
1140
- "kind": "js",
1141
- "name": "default",
1142
- "declaration": {
1143
- "name": "ComponentBase",
1144
- "module": "src/component-base.mjs"
1145
- }
1146
- }
1147
- ]
1148
- },
1149
- {
1150
- "kind": "javascript-module",
1151
- "path": "src/iconVersion.js",
1152
- "declarations": [],
1153
- "exports": [
1154
- {
1155
- "kind": "js",
1156
- "name": "default",
1157
- "declaration": {
1158
- "name": "9.0.0",
1159
- "module": "src/iconVersion.js"
1160
- }
1161
- }
1162
- ]
1163
- },
1164
- {
1165
- "kind": "javascript-module",
1166
- "path": "src/index.js",
1167
- "declarations": [],
1168
- "exports": [
1169
- {
1170
- "kind": "js",
1171
- "name": "AuroHyperlink",
1172
- "declaration": {
1173
- "name": "AuroHyperlink",
1174
- "module": "src/index.js"
1175
- }
1176
- }
1177
- ]
1178
- },
1179
- {
1180
- "kind": "javascript-module",
1181
- "path": "src/registered.js",
1182
- "declarations": [],
1183
- "exports": []
1184
- }
1185
- ]
1186
- }