@aurodesignsystem-dev/auro-card 0.0.0-pr136.1 → 0.0.0-pr139.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/README.md +118 -84
- package/custom-elements.json +101 -438
- package/demo/api.html +5 -5
- package/demo/api.md +453 -126
- package/demo/auro-card.min.js +34 -20
- package/demo/index.html +5 -5
- package/demo/index.md +27 -713
- package/dist/{auro-card-BdEhjPlf.js → auro-card-Pv0_NyMn.js} +1 -1
- package/dist/index.d.ts +214 -149
- package/dist/index.js +1 -1
- package/dist/registered.js +1 -1
- package/package.json +10 -6
package/custom-elements.json
CHANGED
|
@@ -16,97 +16,76 @@
|
|
|
16
16
|
"name": "content"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
|
-
"description": "Apply styles to the
|
|
20
|
-
"name": "
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"description": "Apply styles to the outer image slot container.",
|
|
24
|
-
"name": "imageWrapper"
|
|
19
|
+
"description": "Apply styles to the named cta slot container.",
|
|
20
|
+
"name": "cta"
|
|
25
21
|
},
|
|
26
22
|
{
|
|
27
|
-
"description": "Apply styles to the named
|
|
28
|
-
"name": "
|
|
23
|
+
"description": "Apply styles to the named description slot container.",
|
|
24
|
+
"name": "description"
|
|
29
25
|
},
|
|
30
26
|
{
|
|
31
27
|
"description": "Apply styles to the named header slot container.",
|
|
32
28
|
"name": "header"
|
|
33
29
|
},
|
|
34
30
|
{
|
|
35
|
-
"description": "Apply styles to the named
|
|
36
|
-
"name": "
|
|
31
|
+
"description": "Apply styles to the named image slot container.",
|
|
32
|
+
"name": "image"
|
|
37
33
|
},
|
|
38
34
|
{
|
|
39
|
-
"description": "Apply styles to the
|
|
40
|
-
"name": "
|
|
35
|
+
"description": "Apply styles to the outer image slot container.",
|
|
36
|
+
"name": "imageWrapper"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"description": "Apply styles to the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#link) element.",
|
|
40
|
+
"name": "link"
|
|
41
41
|
}
|
|
42
42
|
],
|
|
43
43
|
"slots": [
|
|
44
44
|
{
|
|
45
|
-
"description": "Content slot for
|
|
46
|
-
"name": "
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"description": "Content slot for string text header content.",
|
|
50
|
-
"name": "header"
|
|
45
|
+
"description": "Content slot for call-to-action content.",
|
|
46
|
+
"name": "cta"
|
|
51
47
|
},
|
|
52
48
|
{
|
|
53
49
|
"description": "Content slot for string text description content.",
|
|
54
50
|
"name": "description"
|
|
55
51
|
},
|
|
56
52
|
{
|
|
57
|
-
"description": "Content slot for
|
|
58
|
-
"name": "
|
|
53
|
+
"description": "Content slot for string text header content.",
|
|
54
|
+
"name": "header"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"description": "Content slot for image content.",
|
|
58
|
+
"name": "image"
|
|
59
59
|
}
|
|
60
60
|
],
|
|
61
61
|
"members": [
|
|
62
62
|
{
|
|
63
63
|
"kind": "method",
|
|
64
|
-
"name": "
|
|
65
|
-
"
|
|
66
|
-
|
|
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
|
-
}
|
|
64
|
+
"name": "_initializeDefaults",
|
|
65
|
+
"type": {
|
|
66
|
+
"text": "_initializeDefaults() => void"
|
|
88
67
|
}
|
|
89
68
|
},
|
|
90
69
|
{
|
|
91
70
|
"kind": "field",
|
|
92
|
-
"name": "
|
|
93
|
-
"privacy": "
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
71
|
+
"name": "border",
|
|
72
|
+
"privacy": "public",
|
|
73
|
+
"type": {
|
|
74
|
+
"text": "boolean"
|
|
75
|
+
},
|
|
76
|
+
"description": "Adds desired UI border to the `auro-card` element.",
|
|
77
|
+
"attribute": "border",
|
|
78
|
+
"reflects": true
|
|
100
79
|
},
|
|
101
80
|
{
|
|
102
81
|
"kind": "field",
|
|
103
|
-
"name": "
|
|
82
|
+
"name": "center",
|
|
104
83
|
"privacy": "public",
|
|
105
84
|
"type": {
|
|
106
|
-
"text": "
|
|
85
|
+
"text": "boolean"
|
|
107
86
|
},
|
|
108
|
-
"description": "
|
|
109
|
-
"attribute": "
|
|
87
|
+
"description": "Centers content within the scope of the `auro-card`.",
|
|
88
|
+
"attribute": "center",
|
|
110
89
|
"reflects": true
|
|
111
90
|
},
|
|
112
91
|
{
|
|
@@ -120,6 +99,26 @@
|
|
|
120
99
|
"attribute": "href",
|
|
121
100
|
"reflects": true
|
|
122
101
|
},
|
|
102
|
+
{
|
|
103
|
+
"kind": "method",
|
|
104
|
+
"name": "register",
|
|
105
|
+
"static": true,
|
|
106
|
+
"parameters": [
|
|
107
|
+
{
|
|
108
|
+
"name": "name",
|
|
109
|
+
"default": "\"auro-card\"",
|
|
110
|
+
"description": "The name of the element that you want to register.",
|
|
111
|
+
"optional": true,
|
|
112
|
+
"type": {
|
|
113
|
+
"text": "string"
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"description": "This will register this element with the browser.",
|
|
118
|
+
"type": {
|
|
119
|
+
"text": "register(name?: string = \"auro-card\") => void"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
123
122
|
{
|
|
124
123
|
"kind": "field",
|
|
125
124
|
"name": "rel",
|
|
@@ -138,7 +137,7 @@
|
|
|
138
137
|
"type": {
|
|
139
138
|
"text": "boolean"
|
|
140
139
|
},
|
|
141
|
-
"description": "If true, the auto URL re-write feature will be disabled. [
|
|
140
|
+
"description": "If true, the auto URL re-write feature will be disabled. [See here for info about hyperlink relative attribute](https://auro.alaskaair.com/components/auro/hyperlink/api#relative).",
|
|
142
141
|
"attribute": "relative",
|
|
143
142
|
"reflects": true
|
|
144
143
|
},
|
|
@@ -153,6 +152,17 @@
|
|
|
153
152
|
"attribute": "role",
|
|
154
153
|
"reflects": true
|
|
155
154
|
},
|
|
155
|
+
{
|
|
156
|
+
"kind": "method",
|
|
157
|
+
"name": "setRole",
|
|
158
|
+
"description": "Sets the role attribute for the component.",
|
|
159
|
+
"privacy": "private",
|
|
160
|
+
"return": {
|
|
161
|
+
"type": {
|
|
162
|
+
"text": "void"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
156
166
|
{
|
|
157
167
|
"kind": "field",
|
|
158
168
|
"name": "target",
|
|
@@ -163,77 +173,92 @@
|
|
|
163
173
|
"description": "Sets target attribute on the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#target).",
|
|
164
174
|
"attribute": "target",
|
|
165
175
|
"reflects": true
|
|
166
|
-
}
|
|
167
|
-
],
|
|
168
|
-
"attributes": [
|
|
176
|
+
},
|
|
169
177
|
{
|
|
178
|
+
"kind": "field",
|
|
179
|
+
"name": "variant",
|
|
180
|
+
"privacy": "public",
|
|
170
181
|
"type": {
|
|
171
|
-
"text": "
|
|
182
|
+
"text": "'inset-content' | 'inset-container' | 'inset-stretch'"
|
|
172
183
|
},
|
|
173
|
-
"description": "Sets the variant of the card.
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
}
|
|
184
|
+
"description": "Sets the variant of the card.",
|
|
185
|
+
"attribute": "variant",
|
|
186
|
+
"reflects": true
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
"attributes": [
|
|
177
190
|
{
|
|
191
|
+
"name": "border",
|
|
178
192
|
"type": {
|
|
179
|
-
"text": "
|
|
193
|
+
"text": "boolean"
|
|
180
194
|
},
|
|
181
195
|
"description": "Adds desired UI border to the `auro-card` element.",
|
|
182
|
-
"
|
|
196
|
+
"fieldName": "border"
|
|
183
197
|
},
|
|
184
198
|
{
|
|
199
|
+
"name": "center",
|
|
185
200
|
"type": {
|
|
186
|
-
"text": "
|
|
201
|
+
"text": "boolean"
|
|
187
202
|
},
|
|
188
203
|
"description": "Centers content within the scope of the `auro-card`.",
|
|
189
|
-
"
|
|
204
|
+
"fieldName": "center"
|
|
190
205
|
},
|
|
191
206
|
{
|
|
207
|
+
"name": "href",
|
|
192
208
|
"type": {
|
|
193
209
|
"text": "string"
|
|
194
210
|
},
|
|
195
211
|
"description": "Sets the card to function as a hyperlink to the provided href value & disables the default CTA slot.",
|
|
196
|
-
"name": "href",
|
|
197
212
|
"fieldName": "href"
|
|
198
213
|
},
|
|
199
214
|
{
|
|
215
|
+
"name": "rel",
|
|
200
216
|
"type": {
|
|
201
217
|
"text": "string"
|
|
202
218
|
},
|
|
203
219
|
"description": "Sets rel attribute on the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#rel).",
|
|
204
|
-
"name": "rel",
|
|
205
220
|
"fieldName": "rel"
|
|
206
221
|
},
|
|
207
222
|
{
|
|
223
|
+
"name": "relative",
|
|
208
224
|
"type": {
|
|
209
225
|
"text": "boolean"
|
|
210
226
|
},
|
|
211
|
-
"description": "If true, the auto URL re-write feature will be disabled. [
|
|
212
|
-
"name": "relative",
|
|
227
|
+
"description": "If true, the auto URL re-write feature will be disabled. [See here for info about hyperlink relative attribute](https://auro.alaskaair.com/components/auro/hyperlink/api#relative).",
|
|
213
228
|
"fieldName": "relative"
|
|
214
229
|
},
|
|
215
230
|
{
|
|
231
|
+
"name": "role",
|
|
216
232
|
"type": {
|
|
217
233
|
"text": "string"
|
|
218
234
|
},
|
|
219
235
|
"description": "Sets role attribute on the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#role).",
|
|
220
|
-
"name": "role",
|
|
221
236
|
"fieldName": "role"
|
|
222
237
|
},
|
|
223
238
|
{
|
|
239
|
+
"name": "target",
|
|
224
240
|
"type": {
|
|
225
241
|
"text": "string"
|
|
226
242
|
},
|
|
227
243
|
"description": "Sets target attribute on the [auro-hyperlink](https://auro.alaskaair.com/components/auro/hyperlink/api#target).",
|
|
228
|
-
"name": "target",
|
|
229
244
|
"fieldName": "target"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "variant",
|
|
248
|
+
"type": {
|
|
249
|
+
"text": "'inset-content' | 'inset-container' | 'inset-stretch'"
|
|
250
|
+
},
|
|
251
|
+
"description": "Sets the variant of the card.",
|
|
252
|
+
"fieldName": "variant"
|
|
230
253
|
}
|
|
231
254
|
],
|
|
232
255
|
"superclass": {
|
|
233
256
|
"name": "LitElement",
|
|
234
257
|
"package": "lit"
|
|
235
258
|
},
|
|
236
|
-
"
|
|
259
|
+
"tagName": "auro-card",
|
|
260
|
+
"customElement": true,
|
|
261
|
+
"modulePath": "src/auro-card.js"
|
|
237
262
|
}
|
|
238
263
|
],
|
|
239
264
|
"exports": [
|
|
@@ -282,368 +307,6 @@
|
|
|
282
307
|
"path": "src/registered.js",
|
|
283
308
|
"declarations": [],
|
|
284
309
|
"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
310
|
}
|
|
648
311
|
]
|
|
649
312
|
}
|