@openeuropa/bcl-subscription 1.10.8 → 1.10.9

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.
@@ -3,11 +3,11 @@
3
3
  exports[`OE - Subscription renders correctly 1`] = `
4
4
  <jest>
5
5
  <header
6
- class="bcl-header bcl-header--eu"
6
+ class="bcl-header bcl-header--eu shadow-sm"
7
7
  >
8
8
  <nav
9
9
  aria-label="Top Navigation"
10
- class="w-100 shadow-sm bcl-header__top-navbar navbar navbar-expand-lg navbar-light"
10
+ class="w-100 bcl-header__top-navbar navbar navbar-expand-lg navbar-light"
11
11
  >
12
12
  <div
13
13
  class="container"
@@ -30,19 +30,44 @@ exports[`OE - Subscription renders correctly 1`] = `
30
30
  <button
31
31
  aria-controls="header-navbar"
32
32
  aria-expanded="false"
33
- aria-label="Toggle navigation"
34
- class="navbar-toggler bcl-navbar-toggler"
33
+ aria-label="Main navigation toggle"
34
+ class="bcl-navbar-toggler d-lg-none"
35
35
  data-bs-target="#header-navbar"
36
36
  data-bs-toggle="collapse"
37
37
  type="button"
38
38
  >
39
- <span
40
- class="navbar-toggler-icon"
41
- />
39
+ <svg
40
+ class="default-icon bi icon--fluid"
41
+ >
42
+ <use
43
+ xlink:href="/icons.svg#list"
44
+ />
45
+ </svg>
46
+ <svg
47
+ class="active-icon bi icon--fluid"
48
+ >
49
+ <use
50
+ xlink:href="/icons.svg#x"
51
+ />
52
+ </svg>
42
53
  </button>
43
54
  </div>
44
55
  </nav>
45
- <!-- project name -->
56
+ <!-- site name -->
57
+ <div
58
+ class="bcl-header__site-name"
59
+ id="site-name-heading"
60
+ >
61
+ <div
62
+ class="container"
63
+ >
64
+ <span
65
+ class="h5 py-3-5 border-top-subtle mb-0 d-block"
66
+ >
67
+ Project name
68
+ </span>
69
+ </div>
70
+ </div>
46
71
  <!-- navbar -->
47
72
  <nav
48
73
  aria-label="Main Navigation"
@@ -166,6 +191,7 @@ exports[`OE - Subscription renders correctly 1`] = `
166
191
  <div
167
192
  aria-labelledby="custom-trigger-mm-1"
168
193
  class="bcl-mega-menu__submenu __level-2"
194
+ hidden
169
195
  id="mm-panel-custom-trigger-mm-1"
170
196
  role="group"
171
197
  >
@@ -219,26 +245,80 @@ exports[`OE - Subscription renders correctly 1`] = `
219
245
  </a>
220
246
  </li>
221
247
  <li
222
- class="__see_all __leaf"
248
+ class="__leaf"
249
+ >
250
+ <a
251
+ href="/example.html"
252
+ >
253
+ Base Sub Category Item
254
+ </a>
255
+ </li>
256
+ <li
257
+ class="__leaf"
258
+ >
259
+ <a
260
+ href="/example.html"
261
+ >
262
+ Base Sub Category Item
263
+ </a>
264
+ </li>
265
+ <li
266
+ class="__leaf"
267
+ >
268
+ <a
269
+ href="/example.html"
270
+ >
271
+ Base Sub Category Item
272
+ </a>
273
+ </li>
274
+ <li
275
+ class="__leaf"
276
+ >
277
+ <a
278
+ href="/example.html"
279
+ >
280
+ Base Sub Category Item
281
+ </a>
282
+ </li>
283
+ <li
284
+ class="__leaf"
285
+ >
286
+ <a
287
+ href="/example.html"
288
+ >
289
+ Base Sub Category Item
290
+ </a>
291
+ </li>
292
+ <li
293
+ class="__leaf"
223
294
  >
224
295
  <a
225
- aria-label="See all items in ‘Base Category Item’"
226
- class="see-all-button"
227
296
  href="/example.html"
228
297
  >
229
- <span>
230
- See all
231
- </span>
232
- <svg
233
- class="ms-2-5 bi icon--s"
234
- >
235
- <use
236
- xlink:href="/icons.svg#arrow-right"
237
- />
238
- </svg>
298
+ Base Sub Category Item
239
299
  </a>
240
300
  </li>
241
301
  </ul>
302
+ <div
303
+ class="__see_all"
304
+ >
305
+ <a
306
+ aria-label="See all items in ‘Base Category Item’"
307
+ class="see-all-button"
308
+ href="/example.html"
309
+ >
310
+ <span>
311
+ See all
312
+ </span>
313
+ <svg
314
+ class="ms-2-5 bi icon--xs"
315
+ >
316
+ <use
317
+ xlink:href="/icons.svg#arrow-right"
318
+ />
319
+ </svg>
320
+ </a>
321
+ </div>
242
322
  </div>
243
323
  </li>
244
324
  <li
@@ -263,6 +343,7 @@ exports[`OE - Subscription renders correctly 1`] = `
263
343
  <div
264
344
  aria-labelledby="custom-trigger-mm-2"
265
345
  class="bcl-mega-menu__submenu __level-2"
346
+ hidden
266
347
  id="mm-panel-custom-trigger-mm-2"
267
348
  role="group"
268
349
  >
@@ -497,64 +578,104 @@ exports[`OE - Subscription renders correctly 1`] = `
497
578
  </li>
498
579
  </ul>
499
580
  </li>
500
- </ul>
501
- </div>
502
- </nav>
503
- <!-- breadcrumbs -->
504
- <div
505
- class="container"
506
- >
507
- <nav
508
- aria-label="breadcrumb"
509
- class="mt-3"
510
- >
511
- <ol
512
- class="breadcrumb"
513
- >
514
581
  <li
515
- class="breadcrumb-item d-none d-md-block"
582
+ class="nav-item"
516
583
  >
517
584
  <a
585
+ class="nav-link"
518
586
  href="/example.html"
519
587
  >
520
- Home
588
+ Item 04
521
589
  </a>
522
590
  </li>
523
591
  <li
524
- class="breadcrumb-item d-none d-md-block"
592
+ class="nav-item"
525
593
  >
526
594
  <a
595
+ class="nav-link"
527
596
  href="/example.html"
528
597
  >
529
- European Union
598
+ Item 05
530
599
  </a>
531
600
  </li>
532
601
  <li
533
- class="breadcrumb-item"
602
+ class="nav-item"
534
603
  >
535
604
  <a
605
+ class="nav-link"
536
606
  href="/example.html"
537
607
  >
538
- <svg
539
- class="d-md-none ms-0 me-2 me-2-5 bi icon--s"
540
- >
541
- <use
542
- xlink:href="/icons.svg#arrow-left"
543
- />
544
- </svg>
545
- About the European Union
608
+ Item 06
546
609
  </a>
547
610
  </li>
548
611
  <li
549
- aria-current="page"
550
- class="breadcrumb-item d-none d-md-block active"
612
+ class="nav-item"
551
613
  >
552
- News
614
+ <a
615
+ class="nav-link"
616
+ href="/example.html"
617
+ >
618
+ Item 07
619
+ </a>
553
620
  </li>
554
- </ol>
555
- </nav>
556
- </div>
621
+ </ul>
622
+ </div>
623
+ </nav>
557
624
  </header>
625
+ <!-- breadcrumbs -->
626
+ <div
627
+ class="container"
628
+ >
629
+ <nav
630
+ aria-label="breadcrumb"
631
+ class="mt-3"
632
+ >
633
+ <ol
634
+ class="breadcrumb"
635
+ >
636
+ <li
637
+ class="breadcrumb-item d-none d-md-block"
638
+ >
639
+ <a
640
+ href="/example.html"
641
+ >
642
+ Home
643
+ </a>
644
+ </li>
645
+ <li
646
+ class="breadcrumb-item d-none d-md-block"
647
+ >
648
+ <a
649
+ href="/example.html"
650
+ >
651
+ European Union
652
+ </a>
653
+ </li>
654
+ <li
655
+ class="breadcrumb-item"
656
+ >
657
+ <a
658
+ href="/example.html"
659
+ >
660
+ <svg
661
+ class="d-md-none ms-0 me-2 me-2-5 bi icon--s"
662
+ >
663
+ <use
664
+ xlink:href="/icons.svg#arrow-left"
665
+ />
666
+ </svg>
667
+ About the European Union
668
+ </a>
669
+ </li>
670
+ <li
671
+ aria-current="page"
672
+ class="breadcrumb-item d-none d-md-block active"
673
+ >
674
+ News
675
+ </li>
676
+ </ol>
677
+ </nav>
678
+ </div>
558
679
  <div
559
680
  aria-hidden="true"
560
681
  aria-label="loginModalLabel"
@@ -1314,7 +1435,7 @@ exports[`OE - Subscription renders correctly 1`] = `
1314
1435
  >
1315
1436
  <form
1316
1437
  class="needs-validation"
1317
- novalidate="novalidate"
1438
+ novalidate
1318
1439
  onsubmit="return false;"
1319
1440
  >
1320
1441
  <fieldset>
@@ -1337,7 +1458,7 @@ exports[`OE - Subscription renders correctly 1`] = `
1337
1458
  <input
1338
1459
  class="form-control"
1339
1460
  placeholder="Type in your e-mail address"
1340
- required="required"
1461
+ required
1341
1462
  type="email"
1342
1463
  />
1343
1464
  <div
@@ -1358,12 +1479,12 @@ exports[`OE - Subscription renders correctly 1`] = `
1358
1479
  <select
1359
1480
  class="form-select"
1360
1481
  id="language-select"
1361
- required="required"
1482
+ required
1362
1483
  >
1363
1484
  <option
1364
- disabled=""
1365
- hidden=""
1366
- selected=""
1485
+ disabled
1486
+ hidden
1487
+ selected
1367
1488
  value=""
1368
1489
  >
1369
1490
  Please select a language
@@ -1404,7 +1525,7 @@ exports[`OE - Subscription renders correctly 1`] = `
1404
1525
  <input
1405
1526
  class="form-check-input"
1406
1527
  id="exampleInputCheck1"
1407
- required="required"
1528
+ required
1408
1529
  type="checkbox"
1409
1530
  />
1410
1531
  <label
package/package.json CHANGED
@@ -2,13 +2,13 @@
2
2
  "name": "@openeuropa/bcl-subscription",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "1.10.8",
5
+ "version": "1.10.9",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
9
9
  "description": "OE - BCL subscription",
10
10
  "dependencies": {
11
- "@openeuropa/bcl-subscription-block": "^1.10.8"
11
+ "@openeuropa/bcl-subscription-block": "^1.10.9"
12
12
  },
13
13
  "repository": {
14
14
  "type": "git",
@@ -24,5 +24,5 @@
24
24
  "design-system",
25
25
  "twig"
26
26
  ],
27
- "gitHead": "9c2e64443ae179948cbf748c41d438af7a0f2421"
27
+ "gitHead": "cb9864341bfc98404071520d61568bd18e17e1fe"
28
28
  }