@aurodesignsystem-dev/auro-card 0.0.0-pr130.0 → 0.0.0-pr132.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +649 -0
- package/demo/api.md +35 -34
- package/demo/auro-card.min.js +249 -2562
- package/dist/auro-card-BdEhjPlf.js +141 -0
- package/dist/index.d.ts +35 -18
- package/dist/index.js +1 -1
- package/dist/registered.js +1 -1
- package/package.json +14 -9
- package/dist/auro-card-Ck8vwzfh.js +0 -124
|
@@ -0,0 +1,649 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "src/auro-card.js",
|
|
8
|
+
"declarations": [
|
|
9
|
+
{
|
|
10
|
+
"kind": "class",
|
|
11
|
+
"description": "The `<auro-card>` element provides users a flexible way to convey a summary of information.",
|
|
12
|
+
"name": "AuroCard",
|
|
13
|
+
"cssParts": [
|
|
14
|
+
{
|
|
15
|
+
"description": "Apply styles to the outer string text container.",
|
|
16
|
+
"name": "content"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"description": "Apply styles to the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#link) element.",
|
|
20
|
+
"name": "link"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"description": "Apply styles to the outer image slot container.",
|
|
24
|
+
"name": "imageWrapper"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"description": "Apply styles to the named image slot container.",
|
|
28
|
+
"name": "image"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"description": "Apply styles to the named header slot container.",
|
|
32
|
+
"name": "header"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"description": "Apply styles to the named description slot container.",
|
|
36
|
+
"name": "description"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"description": "Apply styles to the named cta slot container.",
|
|
40
|
+
"name": "cta"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"slots": [
|
|
44
|
+
{
|
|
45
|
+
"description": "Content slot for image content.",
|
|
46
|
+
"name": "image"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"description": "Content slot for string text header content.",
|
|
50
|
+
"name": "header"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"description": "Content slot for string text description content.",
|
|
54
|
+
"name": "description"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"description": "Content slot for call-to-action content.",
|
|
58
|
+
"name": "cta"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"members": [
|
|
62
|
+
{
|
|
63
|
+
"kind": "method",
|
|
64
|
+
"name": "register",
|
|
65
|
+
"static": true,
|
|
66
|
+
"parameters": [
|
|
67
|
+
{
|
|
68
|
+
"name": "name",
|
|
69
|
+
"default": "\"auro-card\"",
|
|
70
|
+
"description": "The name of element that you want to register to.",
|
|
71
|
+
"optional": true,
|
|
72
|
+
"type": {
|
|
73
|
+
"text": "string"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"description": "This will register this element with the browser."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"kind": "method",
|
|
81
|
+
"name": "setRole",
|
|
82
|
+
"description": "Sets the role attribute for the component.",
|
|
83
|
+
"privacy": "private",
|
|
84
|
+
"return": {
|
|
85
|
+
"type": {
|
|
86
|
+
"text": "void"
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"kind": "field",
|
|
92
|
+
"name": "runtimeUtils",
|
|
93
|
+
"privacy": "private",
|
|
94
|
+
"default": "new AuroLibraryRuntimeUtils()"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"kind": "field",
|
|
98
|
+
"name": "hyperlinkTag",
|
|
99
|
+
"privacy": "private"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"kind": "field",
|
|
103
|
+
"name": "variant",
|
|
104
|
+
"privacy": "public",
|
|
105
|
+
"type": {
|
|
106
|
+
"text": "string"
|
|
107
|
+
},
|
|
108
|
+
"description": "Sets the variant of the card. Options `inset-content`, `inset-container`, `inset-stretch`.",
|
|
109
|
+
"attribute": "variant",
|
|
110
|
+
"reflects": true
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"kind": "field",
|
|
114
|
+
"name": "href",
|
|
115
|
+
"privacy": "public",
|
|
116
|
+
"type": {
|
|
117
|
+
"text": "string"
|
|
118
|
+
},
|
|
119
|
+
"description": "Sets the card to function as a hyperlink to the provided href value & disables the default CTA slot.",
|
|
120
|
+
"attribute": "href",
|
|
121
|
+
"reflects": true
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"kind": "field",
|
|
125
|
+
"name": "rel",
|
|
126
|
+
"privacy": "public",
|
|
127
|
+
"type": {
|
|
128
|
+
"text": "string"
|
|
129
|
+
},
|
|
130
|
+
"description": "Sets rel attribute on the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#rel).",
|
|
131
|
+
"attribute": "rel",
|
|
132
|
+
"reflects": true
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"kind": "field",
|
|
136
|
+
"name": "relative",
|
|
137
|
+
"privacy": "public",
|
|
138
|
+
"type": {
|
|
139
|
+
"text": "boolean"
|
|
140
|
+
},
|
|
141
|
+
"description": "If true, the auto URL re-write feature will be disabled. [see here for hyperlink relative](https://auro.alaskaair.com/components/auro/hyperlink/api#relative)",
|
|
142
|
+
"attribute": "relative",
|
|
143
|
+
"reflects": true
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"kind": "field",
|
|
147
|
+
"name": "role",
|
|
148
|
+
"privacy": "public",
|
|
149
|
+
"type": {
|
|
150
|
+
"text": "string"
|
|
151
|
+
},
|
|
152
|
+
"description": "Sets role attribute on the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#role).",
|
|
153
|
+
"attribute": "role",
|
|
154
|
+
"reflects": true
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"kind": "field",
|
|
158
|
+
"name": "target",
|
|
159
|
+
"privacy": "public",
|
|
160
|
+
"type": {
|
|
161
|
+
"text": "string"
|
|
162
|
+
},
|
|
163
|
+
"description": "Sets target attribute on the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#target).",
|
|
164
|
+
"attribute": "target",
|
|
165
|
+
"reflects": true
|
|
166
|
+
}
|
|
167
|
+
],
|
|
168
|
+
"attributes": [
|
|
169
|
+
{
|
|
170
|
+
"type": {
|
|
171
|
+
"text": "string"
|
|
172
|
+
},
|
|
173
|
+
"description": "Sets the variant of the card. Options `inset-content`, `inset-container`, `inset-stretch`.",
|
|
174
|
+
"name": "variant",
|
|
175
|
+
"fieldName": "variant"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"type": {
|
|
179
|
+
"text": "Boolean"
|
|
180
|
+
},
|
|
181
|
+
"description": "Adds desired UI border to the `auro-card` element.",
|
|
182
|
+
"name": "border"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"type": {
|
|
186
|
+
"text": "Boolean"
|
|
187
|
+
},
|
|
188
|
+
"description": "Centers content within the scope of the `auro-card`.",
|
|
189
|
+
"name": "center"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"type": {
|
|
193
|
+
"text": "string"
|
|
194
|
+
},
|
|
195
|
+
"description": "Sets the card to function as a hyperlink to the provided href value & disables the default CTA slot.",
|
|
196
|
+
"name": "href",
|
|
197
|
+
"fieldName": "href"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"type": {
|
|
201
|
+
"text": "string"
|
|
202
|
+
},
|
|
203
|
+
"description": "Sets rel attribute on the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#rel).",
|
|
204
|
+
"name": "rel",
|
|
205
|
+
"fieldName": "rel"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"type": {
|
|
209
|
+
"text": "boolean"
|
|
210
|
+
},
|
|
211
|
+
"description": "If true, the auto URL re-write feature will be disabled. [see here for hyperlink relative](https://auro.alaskaair.com/components/auro/hyperlink/api#relative)",
|
|
212
|
+
"name": "relative",
|
|
213
|
+
"fieldName": "relative"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"type": {
|
|
217
|
+
"text": "string"
|
|
218
|
+
},
|
|
219
|
+
"description": "Sets role attribute on the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#role).",
|
|
220
|
+
"name": "role",
|
|
221
|
+
"fieldName": "role"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"type": {
|
|
225
|
+
"text": "string"
|
|
226
|
+
},
|
|
227
|
+
"description": "Sets target attribute on the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#target).",
|
|
228
|
+
"name": "target",
|
|
229
|
+
"fieldName": "target"
|
|
230
|
+
}
|
|
231
|
+
],
|
|
232
|
+
"superclass": {
|
|
233
|
+
"name": "LitElement",
|
|
234
|
+
"package": "lit"
|
|
235
|
+
},
|
|
236
|
+
"customElement": true
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"exports": [
|
|
240
|
+
{
|
|
241
|
+
"kind": "js",
|
|
242
|
+
"name": "AuroCard",
|
|
243
|
+
"declaration": {
|
|
244
|
+
"name": "AuroCard",
|
|
245
|
+
"module": "src/auro-card.js"
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"kind": "javascript-module",
|
|
252
|
+
"path": "src/hyperlinkVersion.js",
|
|
253
|
+
"declarations": [],
|
|
254
|
+
"exports": [
|
|
255
|
+
{
|
|
256
|
+
"kind": "js",
|
|
257
|
+
"name": "default",
|
|
258
|
+
"declaration": {
|
|
259
|
+
"name": "7.1.0",
|
|
260
|
+
"module": "src/hyperlinkVersion.js"
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"kind": "javascript-module",
|
|
267
|
+
"path": "src/index.js",
|
|
268
|
+
"declarations": [],
|
|
269
|
+
"exports": [
|
|
270
|
+
{
|
|
271
|
+
"kind": "js",
|
|
272
|
+
"name": "AuroCard",
|
|
273
|
+
"declaration": {
|
|
274
|
+
"name": "AuroCard",
|
|
275
|
+
"module": "src/index.js"
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
]
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"kind": "javascript-module",
|
|
282
|
+
"path": "src/registered.js",
|
|
283
|
+
"declarations": [],
|
|
284
|
+
"exports": []
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"kind": "javascript-module",
|
|
288
|
+
"path": "scripts/wca/auro-card.js",
|
|
289
|
+
"declarations": [
|
|
290
|
+
{
|
|
291
|
+
"kind": "class",
|
|
292
|
+
"description": "The `<auro-card>` element provides users a flexible way to convey a summary of information.",
|
|
293
|
+
"name": "AuroCardWCA",
|
|
294
|
+
"superclass": {
|
|
295
|
+
"name": "AuroCard",
|
|
296
|
+
"module": "/src/auro-card.js"
|
|
297
|
+
},
|
|
298
|
+
"tagName": "auro-card",
|
|
299
|
+
"customElement": true,
|
|
300
|
+
"slots": [
|
|
301
|
+
{
|
|
302
|
+
"description": "Content slot for image content.",
|
|
303
|
+
"name": "image",
|
|
304
|
+
"inheritedFrom": {
|
|
305
|
+
"name": "AuroCard",
|
|
306
|
+
"module": "src/auro-card.js"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"description": "Content slot for string text header content.",
|
|
311
|
+
"name": "header",
|
|
312
|
+
"inheritedFrom": {
|
|
313
|
+
"name": "AuroCard",
|
|
314
|
+
"module": "src/auro-card.js"
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"description": "Content slot for string text description content.",
|
|
319
|
+
"name": "description",
|
|
320
|
+
"inheritedFrom": {
|
|
321
|
+
"name": "AuroCard",
|
|
322
|
+
"module": "src/auro-card.js"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"description": "Content slot for call-to-action content.",
|
|
327
|
+
"name": "cta",
|
|
328
|
+
"inheritedFrom": {
|
|
329
|
+
"name": "AuroCard",
|
|
330
|
+
"module": "src/auro-card.js"
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
],
|
|
334
|
+
"cssParts": [
|
|
335
|
+
{
|
|
336
|
+
"description": "Apply styles to the outer string text container.",
|
|
337
|
+
"name": "content",
|
|
338
|
+
"inheritedFrom": {
|
|
339
|
+
"name": "AuroCard",
|
|
340
|
+
"module": "src/auro-card.js"
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"description": "Apply styles to the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#link) element.",
|
|
345
|
+
"name": "link",
|
|
346
|
+
"inheritedFrom": {
|
|
347
|
+
"name": "AuroCard",
|
|
348
|
+
"module": "src/auro-card.js"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"description": "Apply styles to the outer image slot container.",
|
|
353
|
+
"name": "imageWrapper",
|
|
354
|
+
"inheritedFrom": {
|
|
355
|
+
"name": "AuroCard",
|
|
356
|
+
"module": "src/auro-card.js"
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"description": "Apply styles to the named image slot container.",
|
|
361
|
+
"name": "image",
|
|
362
|
+
"inheritedFrom": {
|
|
363
|
+
"name": "AuroCard",
|
|
364
|
+
"module": "src/auro-card.js"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"description": "Apply styles to the named header slot container.",
|
|
369
|
+
"name": "header",
|
|
370
|
+
"inheritedFrom": {
|
|
371
|
+
"name": "AuroCard",
|
|
372
|
+
"module": "src/auro-card.js"
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"description": "Apply styles to the named description slot container.",
|
|
377
|
+
"name": "description",
|
|
378
|
+
"inheritedFrom": {
|
|
379
|
+
"name": "AuroCard",
|
|
380
|
+
"module": "src/auro-card.js"
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"description": "Apply styles to the named cta slot container.",
|
|
385
|
+
"name": "cta",
|
|
386
|
+
"inheritedFrom": {
|
|
387
|
+
"name": "AuroCard",
|
|
388
|
+
"module": "src/auro-card.js"
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
],
|
|
392
|
+
"attributes": [
|
|
393
|
+
{
|
|
394
|
+
"type": {
|
|
395
|
+
"text": "string"
|
|
396
|
+
},
|
|
397
|
+
"description": "Sets the variant of the card. Options `inset-content`, `inset-container`, `inset-stretch`.",
|
|
398
|
+
"name": "variant",
|
|
399
|
+
"fieldName": "variant",
|
|
400
|
+
"inheritedFrom": {
|
|
401
|
+
"name": "AuroCard",
|
|
402
|
+
"module": "src/auro-card.js"
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"type": {
|
|
407
|
+
"text": "Boolean"
|
|
408
|
+
},
|
|
409
|
+
"description": "Adds desired UI border to the `auro-card` element.",
|
|
410
|
+
"name": "border",
|
|
411
|
+
"inheritedFrom": {
|
|
412
|
+
"name": "AuroCard",
|
|
413
|
+
"module": "src/auro-card.js"
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"type": {
|
|
418
|
+
"text": "Boolean"
|
|
419
|
+
},
|
|
420
|
+
"description": "Centers content within the scope of the `auro-card`.",
|
|
421
|
+
"name": "center",
|
|
422
|
+
"inheritedFrom": {
|
|
423
|
+
"name": "AuroCard",
|
|
424
|
+
"module": "src/auro-card.js"
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"type": {
|
|
429
|
+
"text": "string"
|
|
430
|
+
},
|
|
431
|
+
"description": "Sets the card to function as a hyperlink to the provided href value & disables the default CTA slot.",
|
|
432
|
+
"name": "href",
|
|
433
|
+
"fieldName": "href",
|
|
434
|
+
"inheritedFrom": {
|
|
435
|
+
"name": "AuroCard",
|
|
436
|
+
"module": "src/auro-card.js"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"type": {
|
|
441
|
+
"text": "string"
|
|
442
|
+
},
|
|
443
|
+
"description": "Sets rel attribute on the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#rel).",
|
|
444
|
+
"name": "rel",
|
|
445
|
+
"fieldName": "rel",
|
|
446
|
+
"inheritedFrom": {
|
|
447
|
+
"name": "AuroCard",
|
|
448
|
+
"module": "src/auro-card.js"
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"type": {
|
|
453
|
+
"text": "boolean"
|
|
454
|
+
},
|
|
455
|
+
"description": "If true, the auto URL re-write feature will be disabled. [see here for hyperlink relative](https://auro.alaskaair.com/components/auro/hyperlink/api#relative)",
|
|
456
|
+
"name": "relative",
|
|
457
|
+
"fieldName": "relative",
|
|
458
|
+
"inheritedFrom": {
|
|
459
|
+
"name": "AuroCard",
|
|
460
|
+
"module": "src/auro-card.js"
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"type": {
|
|
465
|
+
"text": "string"
|
|
466
|
+
},
|
|
467
|
+
"description": "Sets role attribute on the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#role).",
|
|
468
|
+
"name": "role",
|
|
469
|
+
"fieldName": "role",
|
|
470
|
+
"inheritedFrom": {
|
|
471
|
+
"name": "AuroCard",
|
|
472
|
+
"module": "src/auro-card.js"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"type": {
|
|
477
|
+
"text": "string"
|
|
478
|
+
},
|
|
479
|
+
"description": "Sets target attribute on the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#target).",
|
|
480
|
+
"name": "target",
|
|
481
|
+
"fieldName": "target",
|
|
482
|
+
"inheritedFrom": {
|
|
483
|
+
"name": "AuroCard",
|
|
484
|
+
"module": "src/auro-card.js"
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
],
|
|
488
|
+
"members": [
|
|
489
|
+
{
|
|
490
|
+
"kind": "method",
|
|
491
|
+
"name": "register",
|
|
492
|
+
"static": true,
|
|
493
|
+
"parameters": [
|
|
494
|
+
{
|
|
495
|
+
"name": "name",
|
|
496
|
+
"default": "\"auro-card\"",
|
|
497
|
+
"description": "The name of element that you want to register to.",
|
|
498
|
+
"optional": true,
|
|
499
|
+
"type": {
|
|
500
|
+
"text": "string"
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
],
|
|
504
|
+
"description": "This will register this element with the browser.",
|
|
505
|
+
"inheritedFrom": {
|
|
506
|
+
"name": "AuroCard",
|
|
507
|
+
"module": "src/auro-card.js"
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"kind": "method",
|
|
512
|
+
"name": "setRole",
|
|
513
|
+
"description": "Sets the role attribute for the component.",
|
|
514
|
+
"privacy": "private",
|
|
515
|
+
"return": {
|
|
516
|
+
"type": {
|
|
517
|
+
"text": "void"
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
"inheritedFrom": {
|
|
521
|
+
"name": "AuroCard",
|
|
522
|
+
"module": "src/auro-card.js"
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"kind": "field",
|
|
527
|
+
"name": "runtimeUtils",
|
|
528
|
+
"privacy": "private",
|
|
529
|
+
"default": "new AuroLibraryRuntimeUtils()",
|
|
530
|
+
"inheritedFrom": {
|
|
531
|
+
"name": "AuroCard",
|
|
532
|
+
"module": "src/auro-card.js"
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"kind": "field",
|
|
537
|
+
"name": "hyperlinkTag",
|
|
538
|
+
"privacy": "private",
|
|
539
|
+
"inheritedFrom": {
|
|
540
|
+
"name": "AuroCard",
|
|
541
|
+
"module": "src/auro-card.js"
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"kind": "field",
|
|
546
|
+
"name": "variant",
|
|
547
|
+
"privacy": "public",
|
|
548
|
+
"type": {
|
|
549
|
+
"text": "string"
|
|
550
|
+
},
|
|
551
|
+
"description": "Sets the variant of the card. Options `inset-content`, `inset-container`, `inset-stretch`.",
|
|
552
|
+
"attribute": "variant",
|
|
553
|
+
"reflects": true,
|
|
554
|
+
"inheritedFrom": {
|
|
555
|
+
"name": "AuroCard",
|
|
556
|
+
"module": "src/auro-card.js"
|
|
557
|
+
}
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"kind": "field",
|
|
561
|
+
"name": "href",
|
|
562
|
+
"privacy": "public",
|
|
563
|
+
"type": {
|
|
564
|
+
"text": "string"
|
|
565
|
+
},
|
|
566
|
+
"description": "Sets the card to function as a hyperlink to the provided href value & disables the default CTA slot.",
|
|
567
|
+
"attribute": "href",
|
|
568
|
+
"reflects": true,
|
|
569
|
+
"inheritedFrom": {
|
|
570
|
+
"name": "AuroCard",
|
|
571
|
+
"module": "src/auro-card.js"
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"kind": "field",
|
|
576
|
+
"name": "rel",
|
|
577
|
+
"privacy": "public",
|
|
578
|
+
"type": {
|
|
579
|
+
"text": "string"
|
|
580
|
+
},
|
|
581
|
+
"description": "Sets rel attribute on the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#rel).",
|
|
582
|
+
"attribute": "rel",
|
|
583
|
+
"reflects": true,
|
|
584
|
+
"inheritedFrom": {
|
|
585
|
+
"name": "AuroCard",
|
|
586
|
+
"module": "src/auro-card.js"
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"kind": "field",
|
|
591
|
+
"name": "relative",
|
|
592
|
+
"privacy": "public",
|
|
593
|
+
"type": {
|
|
594
|
+
"text": "boolean"
|
|
595
|
+
},
|
|
596
|
+
"description": "If true, the auto URL re-write feature will be disabled. [see here for hyperlink relative](https://auro.alaskaair.com/components/auro/hyperlink/api#relative)",
|
|
597
|
+
"attribute": "relative",
|
|
598
|
+
"reflects": true,
|
|
599
|
+
"inheritedFrom": {
|
|
600
|
+
"name": "AuroCard",
|
|
601
|
+
"module": "src/auro-card.js"
|
|
602
|
+
}
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"kind": "field",
|
|
606
|
+
"name": "role",
|
|
607
|
+
"privacy": "public",
|
|
608
|
+
"type": {
|
|
609
|
+
"text": "string"
|
|
610
|
+
},
|
|
611
|
+
"description": "Sets role attribute on the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#role).",
|
|
612
|
+
"attribute": "role",
|
|
613
|
+
"reflects": true,
|
|
614
|
+
"inheritedFrom": {
|
|
615
|
+
"name": "AuroCard",
|
|
616
|
+
"module": "src/auro-card.js"
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"kind": "field",
|
|
621
|
+
"name": "target",
|
|
622
|
+
"privacy": "public",
|
|
623
|
+
"type": {
|
|
624
|
+
"text": "string"
|
|
625
|
+
},
|
|
626
|
+
"description": "Sets target attribute on the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#target).",
|
|
627
|
+
"attribute": "target",
|
|
628
|
+
"reflects": true,
|
|
629
|
+
"inheritedFrom": {
|
|
630
|
+
"name": "AuroCard",
|
|
631
|
+
"module": "src/auro-card.js"
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
]
|
|
635
|
+
}
|
|
636
|
+
],
|
|
637
|
+
"exports": [
|
|
638
|
+
{
|
|
639
|
+
"kind": "custom-element-definition",
|
|
640
|
+
"name": "auro-card",
|
|
641
|
+
"declaration": {
|
|
642
|
+
"name": "AuroCardWCA",
|
|
643
|
+
"module": "scripts/wca/auro-card.js"
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
]
|
|
647
|
+
}
|
|
648
|
+
]
|
|
649
|
+
}
|