@itcenteratunihelsinki/huds-lib 0.5.32 → 0.5.33

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.
@@ -57,165 +57,56 @@
57
57
  }
58
58
 
59
59
  :host {
60
+ height: 100%;
61
+ }
62
+
63
+ .hy-link-box-container {
60
64
  background: var(--grayscale-background-box);
61
- display: -webkit-box;
62
- display: -ms-flexbox;
63
- display: flex;
64
- margin-bottom: 32px;
65
- margin-right: 0;
66
- max-width: 100%;
67
65
  position: relative;
68
66
  width: 100%;
69
- }
70
-
71
- @media (min-width: 30rem) {
72
- :host {
73
- margin-right: var(--gutter-narrow);
74
- }
75
- }
76
-
77
- @media (min-width: 60rem) {
78
- :host {
79
- margin-right: var(--gutter-wide);
80
- }
81
- }
82
-
83
- @media (min-width: 75.0625rem) {
84
- :host {
85
- margin-right: var(--gutter-extrawide);
86
- }
87
- }
88
-
89
- :host(.big) {
90
- display: -webkit-box;
91
- display: -ms-flexbox;
92
- display: flex;
93
- }
94
-
95
- @media (min-width: 30rem) {
96
- :host(.big) {
97
- -webkit-box-flex: 1;
98
- -ms-flex-positive: 1;
99
- flex-grow: 1;
100
- max-width: calc(((100% - var(--gutter-narrow) * 11) / 12) * 6 + var(--gutter-narrow) * 5);
101
- width: calc(((100% - var(--gutter-narrow) * 11) / 12) * 6 + var(--gutter-narrow) * 5);
102
- }
103
- }
104
-
105
- @media (min-width: 60rem) {
106
- :host(.big) {
107
- max-width: calc(((100% - var(--gutter-wide) * 11) / 12) * 4 + var(--gutter-wide) * 3);
108
- width: calc(((100% - var(--gutter-wide) * 11) / 12) * 4 + var(--gutter-wide) * 3);
109
- }
110
- }
111
-
112
- @media (min-width: 75.0625rem) {
113
- :host(.big) {
114
- max-width: calc(((100% - var(--gutter-extrawide) * 11) / 12) * 4 + var(--gutter-extrawide) * 3);
115
- width: calc(((100% - var(--gutter-extrawide) * 11) / 12) * 4 + var(--gutter-extrawide) * 3);
116
- }
117
- }
118
-
119
- :host(.small) {
120
67
  display: -webkit-box;
121
68
  display: -ms-flexbox;
122
69
  display: flex;
70
+ -webkit-box-orient: vertical;
71
+ -webkit-box-direction: normal;
72
+ -ms-flex-direction: column;
73
+ flex-direction: column;
74
+ -webkit-box-pack: justify;
75
+ -ms-flex-pack: justify;
76
+ justify-content: space-between;
77
+ height: 100%;
78
+ position: relative;
123
79
  }
124
80
 
125
- @media (min-width: 30rem) {
126
- :host(.small) {
127
- -webkit-box-flex: 1;
128
- -ms-flex-positive: 1;
129
- flex-grow: 1;
130
- max-width: calc(((100% - var(--gutter-narrow) * 11) / 12) * 6 + var(--gutter-narrow) * 5);
131
- width: calc(((100% - var(--gutter-narrow) * 11) / 12) * 6 + var(--gutter-narrow) * 5);
132
- }
133
- }
134
-
135
- @media (min-width: 60rem) {
136
- :host(.small) {
137
- max-width: calc(((100% - var(--gutter-wide) * 11) / 12) * 3 + var(--gutter-wide) * 2);
138
- width: calc(((100% - var(--gutter-wide) * 11) / 12) * 3 + var(--gutter-wide) * 2);
139
- }
140
- }
141
-
142
- @media (min-width: 75.0625rem) {
143
- :host(.small) {
144
- max-width: calc(((100% - var(--gutter-extrawide) * 11) / 12) * 3 + var(--gutter-extrawide) * 2);
145
- width: calc(((100% - var(--gutter-extrawide) * 11) / 12) * 3 + var(--gutter-extrawide) * 2);
146
- }
147
- }
148
-
149
- @media (min-width: 60rem) {
150
- :host(.content.big:nth-of-type(3n + 0)) {
151
- display: -webkit-box;
152
- display: -ms-flexbox;
153
- display: flex;
154
- margin-right: 0;
155
- }
156
- }
157
-
158
- :host(:nth-of-type(2n + 0)) {
159
- display: -webkit-box;
160
- display: -ms-flexbox;
161
- display: flex;
162
- margin-right: 0;
163
- }
164
-
165
- @media (min-width: 30rem) {
166
- :host(:nth-of-type(2n + 0)) {
167
- margin-right: 0;
168
- }
169
- }
170
-
171
- @media (min-width: 60rem) {
172
- :host(:nth-of-type(2n + 0)) {
173
- margin-right: var(--gutter-wide);
174
- }
175
- }
176
-
177
- @media (min-width: 75.0625rem) {
178
- :host(:nth-of-type(2n + 0)) {
179
- margin-right: var(--gutter-extrawide);
180
- }
81
+ .hy-link-box-container:focus-within {
82
+ outline: auto;
181
83
  }
182
84
 
183
- :host(.small:nth-of-type(4n + 0)) {
184
- display: -webkit-box;
185
- display: -ms-flexbox;
186
- display: flex;
187
- }
188
-
189
- @media (min-width: 30rem) {
190
- :host(.small:nth-of-type(4n + 0)) {
191
- margin-right: 0;
192
- }
85
+ .hy-link-box-container:hover {
86
+ cursor: pointer;
193
87
  }
194
88
 
195
- :host(:last-of-type) {
196
- display: -webkit-box;
197
- display: -ms-flexbox;
198
- display: flex;
199
- margin-right: 0;
89
+ .hy-link-box-container:hover .hy-link-box__text-container__title {
90
+ color: var(--brand-main);
91
+ text-decoration: underline;
200
92
  }
201
93
 
202
- .hy-link-box-container {
203
- position: relative;
204
- width: 100%;
94
+ .hy-link-box-container:hover .hy-cta-link {
95
+ text-decoration: underline;
205
96
  }
206
97
 
207
- .hy-link-box-container:hover {
208
- cursor: pointer;
98
+ .hy-link-box-container:hover .hy-cta-link .hy-cta-link__icon {
99
+ background-color: var(--brand-main);
209
100
  }
210
101
 
211
102
  .hy-link-box__image-container {
103
+ margin: 0;
212
104
  display: -webkit-box;
213
105
  display: -ms-flexbox;
214
106
  display: flex;
215
107
  -webkit-box-pack: stretch;
216
108
  -ms-flex-pack: stretch;
217
109
  justify-content: stretch;
218
- margin-bottom: 0;
219
110
  min-height: 10rem;
220
111
  position: relative;
221
112
  }
@@ -239,258 +130,106 @@
239
130
  width: 100%;
240
131
  }
241
132
 
242
- .hy-link-box__landing .hy-link-box__text-container {
243
- margin-bottom: 60px;
244
- padding: 0 12px;
245
- }
246
-
247
- @media (min-width: 30rem) {
248
- .hy-link-box__landing .hy-link-box__text-container {
249
- padding: 0 16px;
250
- }
251
- }
252
-
253
- @media (min-width: 60rem) {
254
- .hy-link-box__landing .hy-link-box__text-container {
255
- padding: 0 12px;
256
- }
133
+ .hy-link-box__image-container.is-image-missing svg {
134
+ position: absolute;
135
+ top: 50%;
136
+ -webkit-transform: translate(-50%, -50%);
137
+ transform: translate(-50%, -50%);
138
+ left: 50%;
139
+ width: 85px;
140
+ height: auto;
141
+ fill: #d2d2d2;
257
142
  }
258
143
 
259
- @media (min-width: 1601px) {
260
- .hy-link-box__landing .hy-link-box__text-container {
261
- padding: 0 16px;
262
- }
144
+ .hy-link-box__text-container {
145
+ padding: 16px;
263
146
  }
264
147
 
265
- .hy-link-box__landing .hy-link-box__text-container__title {
266
- font-size: 1.375rem;
148
+ .hy-link-box__text-container__title {
149
+ font-size: 1.3125rem;
267
150
  line-height: 28px;
268
151
  font-weight: 700;
269
152
  color: var(--brand-main-nearly-black);
270
153
  font-family: var(--main-font-family);
271
- letter-spacing: -0.6px;
154
+ letter-spacing: -0.42px;
272
155
  -webkit-hyphens: auto;
273
156
  -ms-hyphens: auto;
274
157
  hyphens: auto;
275
- margin-bottom: 8px;
276
- margin-top: 20px;
277
158
  word-break: break-word;
159
+ margin: 0 0 16px;
278
160
  }
279
161
 
280
- .hy-link-box__landing .hy-link-box__text-container__title__image {
281
- margin-top: 16px;
282
- }
283
-
284
- @media (min-width: 30rem) {
285
- .hy-link-box__landing .hy-link-box__text-container__title {
286
- font-size: 1.5rem;
287
- line-height: 30px;
288
- color: var(--grayscale-black);
289
- letter-spacing: -0.7px;
290
- }
291
- }
292
-
293
- @media (min-width: 60rem) {
294
- .hy-link-box__landing .hy-link-box__text-container__title {
295
- margin-top: 24px;
296
- }
297
- .hy-link-box__landing .hy-link-box__text-container__title__image {
298
- margin-top: 18px;
299
- }
300
- }
301
-
302
- @media (min-width: 75.0625rem) {
303
- .hy-link-box__landing .hy-link-box__text-container__title__common {
304
- font-size: 1.5rem;
305
- line-height: 30px;
306
- letter-spacing: -0.7px;
307
- }
308
- .hy-link-box__landing .hy-link-box__text-container__title__large {
309
- font-size: 1.75rem;
310
- line-height: 36px;
311
- letter-spacing: -0.8px;
312
- margin-bottom: 12px;
313
- margin-top: 32px;
314
- }
315
- .hy-link-box__landing .hy-link-box__text-container__title__large.image {
316
- margin-top: 20px;
317
- }
318
- }
319
-
320
- @media (min-width: 1601px) {
321
- .hy-link-box__landing .hy-link-box__text-container__title {
322
- font-size: 1.75rem;
323
- line-height: 36px;
324
- letter-spacing: -0.8px;
325
- margin-bottom: 12px;
326
- margin-top: 32px;
327
- }
328
- .hy-link-box__landing .hy-link-box__text-container__title__image {
329
- margin-top: 20px;
330
- }
331
- }
332
-
333
- .hy-link-box__landing .hy-link-box__text-container__description {
334
- font-size: 0.875rem;
335
- line-height: 18px;
336
- color: var(--grayscale-dark);
337
- font-family: var(--main-font-family);
338
- letter-spacing: -0.2px;
339
- margin-bottom: 12px;
340
- }
341
-
342
- @media (min-width: 75.0625rem) {
343
- .hy-link-box__landing .hy-link-box__text-container__description__common {
344
- font-size: 0.875rem;
345
- line-height: 18px;
346
- letter-spacing: -0.2px;
347
- }
348
- .hy-link-box__landing .hy-link-box__text-container__description__large {
349
- font-size: 1rem;
350
- line-height: 22px;
351
- letter-spacing: -0.2px;
352
- }
353
- }
354
-
355
- @media (min-width: 1601px) {
356
- .hy-link-box__landing .hy-link-box__text-container__description {
357
- font-size: 1rem;
358
- line-height: 22px;
359
- letter-spacing: -0.2px;
360
- }
361
- }
362
-
363
- .hy-link-box__content .hy-link-box__text-container {
364
- margin-bottom: 60px;
365
- padding: 0 12px;
366
- }
367
-
368
- @media (min-width: 30rem) {
369
- .hy-link-box__content .hy-link-box__text-container {
370
- padding: 0 16px;
371
- }
372
- }
373
-
374
- @media (min-width: 60rem) {
375
- .hy-link-box__content .hy-link-box__text-container {
376
- padding: 0 12px;
162
+ @media screen and (min-width: 1024px) {
163
+ .hy-link-box__text-container__title {
164
+ font-size: 1.5625rem;
165
+ line-height: 32px;
166
+ letter-spacing: -0.5px;
377
167
  }
378
168
  }
379
169
 
380
- .hy-link-box__content .hy-link-box__text-container__title {
381
- font-size: 1.125rem;
170
+ .hy-link-box__text-container__description {
171
+ font-size: 0.9375rem;
382
172
  line-height: 22px;
383
- font-weight: 700;
384
- color: var(--brand-main-nearly-black);
173
+ color: var(--grayscale-black);
385
174
  font-family: var(--main-font-family);
386
- letter-spacing: -0.5px;
387
- -webkit-hyphens: auto;
388
- -ms-hyphens: auto;
389
- hyphens: auto;
390
- margin-bottom: 8px;
391
- margin-top: 24px;
392
- word-break: break-word;
393
- }
394
-
395
- .hy-link-box__content .hy-link-box__text-container__title__image {
396
- margin-top: 20px;
175
+ margin: 0;
397
176
  }
398
177
 
399
- @media (min-width: 60rem) {
400
- .hy-link-box__content .hy-link-box__text-container__title__image {
401
- margin-top: 16px;
402
- }
403
- }
404
-
405
- @media (min-width: 75.0625rem) {
406
- .hy-link-box__content .hy-link-box__text-container__title__common {
407
- font-size: 1.125rem;
408
- line-height: 22px;
409
- letter-spacing: -0.5px;
410
- }
411
- .hy-link-box__content .hy-link-box__text-container__title__large {
412
- font-size: 1.25rem;
413
- line-height: 24px;
414
- letter-spacing: -0.6px;
415
- margin-bottom: 12px;
416
- margin-top: 32px;
417
- }
418
- .hy-link-box__content .hy-link-box__text-container__title__large__image {
419
- margin-top: 20px;
178
+ @media screen and (min-width: 1024px) {
179
+ .hy-link-box__text-container__description {
180
+ font-size: 1.0625rem;
181
+ line-height: 26px;
420
182
  }
421
183
  }
422
184
 
423
- @media (min-width: 1601px) {
424
- .hy-link-box__content .hy-link-box__text-container__title {
425
- font-size: 1.25rem;
426
- line-height: 24px;
427
- letter-spacing: -0.6px;
428
- margin-bottom: 12px;
429
- margin-top: 32px;
430
- }
431
- .hy-link-box__content .hy-link-box__text-container__title__image {
432
- margin-top: 20px;
433
- }
434
- }
435
-
436
- .hy-link-box__content .hy-link-box__text-container__description {
437
- font-size: 0.875rem;
438
- line-height: 18px;
439
- color: var(--grayscale-dark);
440
- font-family: var(--main-font-family);
441
- letter-spacing: -0.2px;
442
- margin-bottom: 10px;
443
- }
444
-
445
- .hy-link-box .hy-link-box__text-container__title__hover {
185
+ .hy-cta-link {
186
+ font-weight: 600;
187
+ font-size: 1rem;
188
+ line-height: 24px;
189
+ -webkit-box-align: center;
190
+ -ms-flex-align: center;
191
+ align-items: center;
446
192
  color: var(--brand-main);
447
- text-decoration: underline;
193
+ display: inline-grid;
194
+ font-family: var(--main-font-family);
195
+ gap: 16px;
196
+ grid-auto-flow: column;
197
+ letter-spacing: -0.5px;
198
+ overflow: hidden;
199
+ text-decoration: none;
200
+ margin: 0 -8px 24px 0;
201
+ align-self: flex-end;
448
202
  }
449
203
 
450
- .hy-icon-wrapper {
451
- background-color: var(--brand-main-light);
452
- bottom: 12px;
453
- overflow: hidden;
204
+ .hy-cta-link span[aria-hidden=true] {
454
205
  position: absolute;
455
- right: -6px;
456
- z-index: 10;
206
+ inset: 0;
457
207
  }
458
208
 
459
- .hy-icon-wrapper__hover {
460
- background-color: var(--brand-main);
209
+ .hy-cta-link:focus {
210
+ outline: none;
461
211
  }
462
212
 
463
- .hy-link-box-link {
464
- display: block;
213
+ .hy-cta-link__icon {
214
+ -webkit-box-align: center;
215
+ -ms-flex-align: center;
216
+ align-items: center;
217
+ background-color: var(--brand-main-light);
218
+ display: -webkit-inline-box;
219
+ display: -ms-inline-flexbox;
220
+ display: inline-flex;
221
+ height: 40px;
222
+ -webkit-box-pack: center;
223
+ -ms-flex-pack: center;
224
+ justify-content: center;
225
+ width: 40px;
465
226
  }
466
227
 
467
- .hy-link-box-link svg {
468
- background-color: transparent;
469
- -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);
470
- box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.05);
228
+ .hy-cta-link__icon svg {
471
229
  fill: var(--grayscale-white);
472
- height: 32px;
473
- padding: 6px;
474
- width: 32px;
475
230
  }
476
231
 
477
- .hy-link-box-link__external {
232
+ .hy-cta-link__icon--external svg {
478
233
  -webkit-transform: rotate(-45deg);
479
234
  transform: rotate(-45deg);
480
- }
481
-
482
- @media (min-width: 75.0625rem) {
483
- .hy-link-box-link__landing.large svg {
484
- height: 40px;
485
- padding: 8px;
486
- width: 40px;
487
- }
488
- }
489
-
490
- @media (min-width: 1601px) {
491
- .hy-link-box-link__landing svg {
492
- height: 40px;
493
- padding: 8px;
494
- width: 40px;
495
- }
496
235
  }
@@ -1,8 +1,5 @@
1
- import { Component, Element, Prop, h, Listen, Watch } from '@stencil/core';
1
+ import { Component, Element, Prop, h, Watch } from '@stencil/core';
2
2
  import { LinkBoxVariants } from '../../utils/utils';
3
- let keys = {
4
- enter: 'Enter',
5
- };
6
3
  export class LinkBox {
7
4
  constructor() {
8
5
  this.variant = LinkBoxVariants.default;
@@ -28,43 +25,6 @@ export class LinkBox {
28
25
  }
29
26
  }
30
27
  }
31
- handleClick(event) {
32
- this.openLink(event.currentTarget);
33
- }
34
- handleKeyDown(event) {
35
- const key = event.code;
36
- if (key == keys.enter) {
37
- this.openLink(event.currentTarget);
38
- }
39
- }
40
- openLink(linkbox) {
41
- let card = linkbox.shadowRoot.querySelector('.hy-link-box-container');
42
- window.open(card.dataset.location, card.dataset.target);
43
- }
44
- handleMouseEnter(event) {
45
- this.manageHoverEffect(event.currentTarget);
46
- }
47
- handleMouseLeave(event) {
48
- this.manageHoverEffect(event.currentTarget, false);
49
- }
50
- handleOnFocusIn(event) {
51
- this.manageHoverEffect(event.currentTarget);
52
- }
53
- handleOnFocusOut(event) {
54
- this.manageHoverEffect(event.currentTarget, false);
55
- }
56
- manageHoverEffect(linkbox, hoverOn = true) {
57
- let title = linkbox.shadowRoot.querySelector('h3.hy-link-box__text-container__title');
58
- let boxLink = linkbox.shadowRoot.querySelector('.hy-icon-wrapper');
59
- if (hoverOn) {
60
- title.classList.add('hy-link-box__text-container__title__hover');
61
- boxLink.classList.add('hy-icon-wrapper__hover');
62
- }
63
- else {
64
- title.classList.remove('hy-link-box__text-container__title__hover');
65
- boxLink.classList.remove('hy-icon-wrapper__hover');
66
- }
67
- }
68
28
  render() {
69
29
  const classContainerAttributes = ['hy-link-box-container'].join(' ');
70
30
  const classAttributes = [
@@ -75,13 +35,6 @@ export class LinkBox {
75
35
  `hy-link-box__${this.headerstyle}`,
76
36
  this.imageUrl ? 'hy-link-box--with-image' : null,
77
37
  ].join(' ');
78
- const classLinkAttributes = [
79
- 'hy-link-box-link',
80
- `hy-link-box-link__${this.variant}`,
81
- `hy-link-box-link__${this.headerstyle}`,
82
- this.headerstyle,
83
- this.isExternal ? 'hy-link-box-link__external' : null,
84
- ].join(' ');
85
38
  const classTextContainer = ['hy-link-box__text-container', this.imageUrl ? 'hy-link-box--with-image' : null].join(' ');
86
39
  const classTitle = [
87
40
  'hy-link-box__text-container__title',
@@ -103,20 +56,22 @@ export class LinkBox {
103
56
  '--aspectRatio': `${aspect}%`,
104
57
  };
105
58
  return [
106
- h("article", { class: classContainerAttributes, tabindex: "0", "data-target": target, "data-location": this.url },
107
- h("div", { class: classAttributes, "aria-label": this.scLabel },
108
- this.imageUrl &&
109
- (this._sourceSet ? (h("div", { class: "hy-link-box__image-container", style: aspectRatio },
110
- h("picture", null,
111
- this._sourceSet.map((item) => (h("source", { srcSet: item.src, media: item.media, type: item.type, sizes: item.sizes ? item.sizes : '' }))),
112
- h("img", { loading: this.disableLazy ? 'eager' : 'lazy', "aria-hidden": "true", src: this.imageUrl, alt: this.imageAlt })))) : (h("div", { class: "hy-link-box__image-container", style: aspectRatio },
113
- h("img", { loading: this.disableLazy ? 'eager' : 'lazy', "aria-hidden": "true", src: this.imageUrl, alt: this.imageAlt })))),
59
+ h("article", { class: classContainerAttributes },
60
+ h("div", { class: classAttributes },
61
+ this.imageUrl ? (this._sourceSet ? (h("figure", { class: "hy-link-box__image-container", style: aspectRatio },
62
+ h("picture", null,
63
+ this._sourceSet.map((item) => (h("source", { srcSet: item.src, media: item.media, type: item.type, sizes: item.sizes ? item.sizes : '' }))),
64
+ h("img", { loading: this.disableLazy ? 'eager' : 'lazy', "aria-hidden": "true", src: this.imageUrl, alt: this.imageAlt })))) : (h("figure", { class: "hy-link-box__image-container", style: aspectRatio },
65
+ h("img", { loading: this.disableLazy ? 'eager' : 'lazy', "aria-hidden": "true", src: this.imageUrl, alt: this.imageAlt })))) : (h("div", { "aria-hidden": "true", class: "hy-link-box__image-container is-image-missing" },
66
+ h("hy-icon", { class: { 'hy-site-logo__icon': true }, icon: 'hy-icon-hy-logo' }))),
114
67
  h("div", { class: classTextContainer },
115
- h("h3", { class: classTitle, innerHTML: this.textTitle }),
116
- this.textDescription && h("div", { class: classDescription }, this.textDescription))),
117
- h("span", { class: 'hy-icon-wrapper' },
118
- h("a", { class: classLinkAttributes, href: this.url, target: target, "aria-label": this.scLabel, tabindex: "-1" },
119
- h("hy-icon", { icon: 'hy-icon-arrow-to-right', size: 32 })))),
68
+ h("h3", { class: classTitle }, this.textTitle),
69
+ this.textDescription && (h("p", { class: classDescription }, this.textDescription.length >= 140 ? this.textDescription.slice(0, 139) + '...' : this.textDescription)))),
70
+ h("a", { "aria-label": this.scLabel || `${this.readMoreLabel} - ${this.textTitle}`, title: this.scLabel || `${this.readMoreLabel} - ${this.textTitle}`, href: this.url, target: target, class: `hy-cta-link hy-cta-link--default` },
71
+ h("span", { "aria-hidden": "true" }),
72
+ h("span", null, this.readMoreLabel),
73
+ h("span", { class: `hy-cta-link__icon ${this.isExternal ? 'hy-cta-link__icon--external' : ''}` },
74
+ h("hy-icon", { icon: 'hy-icon-arrow-to-right', size: 24 })))),
120
75
  ];
121
76
  }
122
77
  static get is() { return "hy-link-box"; }
@@ -310,6 +265,23 @@ export class LinkBox {
310
265
  "attribute": "sc-label",
311
266
  "reflect": false
312
267
  },
268
+ "readMoreLabel": {
269
+ "type": "string",
270
+ "mutable": false,
271
+ "complexType": {
272
+ "original": "string",
273
+ "resolved": "string",
274
+ "references": {}
275
+ },
276
+ "required": false,
277
+ "optional": false,
278
+ "docs": {
279
+ "tags": [],
280
+ "text": ""
281
+ },
282
+ "attribute": "read-more-label",
283
+ "reflect": false
284
+ },
313
285
  "headerstyle": {
314
286
  "type": "string",
315
287
  "mutable": false,
@@ -355,41 +327,4 @@ export class LinkBox {
355
327
  "propName": "sourceSet",
356
328
  "methodName": "srcSetWatcher"
357
329
  }]; }
358
- static get listeners() { return [{
359
- "name": "click",
360
- "method": "handleClick",
361
- "target": undefined,
362
- "capture": false,
363
- "passive": false
364
- }, {
365
- "name": "keydown",
366
- "method": "handleKeyDown",
367
- "target": undefined,
368
- "capture": false,
369
- "passive": false
370
- }, {
371
- "name": "mouseenter",
372
- "method": "handleMouseEnter",
373
- "target": undefined,
374
- "capture": false,
375
- "passive": true
376
- }, {
377
- "name": "mouseleave",
378
- "method": "handleMouseLeave",
379
- "target": undefined,
380
- "capture": false,
381
- "passive": true
382
- }, {
383
- "name": "focusin",
384
- "method": "handleOnFocusIn",
385
- "target": undefined,
386
- "capture": false,
387
- "passive": false
388
- }, {
389
- "name": "focusout",
390
- "method": "handleOnFocusOut",
391
- "target": undefined,
392
- "capture": false,
393
- "passive": false
394
- }]; }
395
330
  }