@eui/ecl 19.3.1-snapshot-1750864122845 → 19.3.1-snapshot-1750931067902

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.
Files changed (43) hide show
  1. package/components/ecl-link/ecl-link.directive.d.ts +3 -0
  2. package/components/ecl-link/ecl-link.directive.d.ts.map +1 -1
  3. package/components/ecl-mega-menu/directives/ecl-mega-menu-container.directive.d.ts +3 -0
  4. package/components/ecl-mega-menu/directives/ecl-mega-menu-container.directive.d.ts.map +1 -1
  5. package/components/ecl-mega-menu/directives/ecl-mega-menu-featured-list.directive.d.ts +7 -0
  6. package/components/ecl-mega-menu/directives/ecl-mega-menu-featured-list.directive.d.ts.map +1 -1
  7. package/components/ecl-mega-menu/directives/ecl-mega-menu-featured-picture.directive.d.ts +6 -0
  8. package/components/ecl-mega-menu/directives/ecl-mega-menu-featured-picture.directive.d.ts.map +1 -1
  9. package/components/ecl-mega-menu/directives/ecl-mega-menu-list.directive.d.ts +13 -0
  10. package/components/ecl-mega-menu/directives/ecl-mega-menu-list.directive.d.ts.map +1 -1
  11. package/components/ecl-mega-menu/ecl-mega-menu-featured/ecl-mega-menu-featured.component.d.ts +7 -0
  12. package/components/ecl-mega-menu/ecl-mega-menu-featured/ecl-mega-menu-featured.component.d.ts.map +1 -1
  13. package/components/ecl-mega-menu/ecl-mega-menu-info/ecl-mega-menu-info.component.d.ts +22 -0
  14. package/components/ecl-mega-menu/ecl-mega-menu-info/ecl-mega-menu-info.component.d.ts.map +1 -1
  15. package/components/ecl-mega-menu/ecl-mega-menu-item/ecl-mega-menu-item.component.d.ts +43 -0
  16. package/components/ecl-mega-menu/ecl-mega-menu-item/ecl-mega-menu-item.component.d.ts.map +1 -1
  17. package/components/ecl-mega-menu/ecl-mega-menu-subitem/ecl-mega-menu-subitem.component.d.ts +45 -0
  18. package/components/ecl-mega-menu/ecl-mega-menu-subitem/ecl-mega-menu-subitem.component.d.ts.map +1 -1
  19. package/components/ecl-mega-menu/ecl-mega-menu.component.d.ts +39 -0
  20. package/components/ecl-mega-menu/ecl-mega-menu.component.d.ts.map +1 -1
  21. package/components/ecl-mega-menu/services/ecl-mega-menu-data.service.d.ts +3 -0
  22. package/components/ecl-mega-menu/services/ecl-mega-menu-data.service.d.ts.map +1 -1
  23. package/docs/components/EclMegaMenuComponent.html +81 -0
  24. package/docs/components/EclMegaMenuFeaturedComponent.html +13 -0
  25. package/docs/components/EclMegaMenuInfoComponent.html +60 -0
  26. package/docs/components/EclMegaMenuItemComponent.html +88 -0
  27. package/docs/components/EclMegaMenuSubitemComponent.html +79 -0
  28. package/docs/dependencies.html +2 -2
  29. package/docs/directives/EclLinkDirective.html +1 -1
  30. package/docs/directives/EclMegaMenuContainerDirective.html +7 -0
  31. package/docs/directives/EclMegaMenuFeaturedImageDirective.html +7 -0
  32. package/docs/directives/EclMegaMenuFeaturedListDirective.html +7 -0
  33. package/docs/directives/EclMegaMenuFeaturedListItemDirective.html +8 -0
  34. package/docs/directives/EclMegaMenuFeaturedPictureDirective.html +7 -0
  35. package/docs/directives/EclMegaMenuListDirective.html +7 -0
  36. package/docs/directives/EclMegaMenuSpacerDirective.html +7 -0
  37. package/docs/directives/EclMegaMenuSublistDirective.html +16 -0
  38. package/docs/injectables/EclMegaMenuDataService.html +2 -0
  39. package/docs/js/search/search_index.js +2 -2
  40. package/fesm2022/eui-ecl-components-ecl-link.mjs.map +1 -1
  41. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs +139 -1
  42. package/fesm2022/eui-ecl-components-ecl-mega-menu.mjs.map +1 -1
  43. package/package.json +1 -1
@@ -109,6 +109,16 @@
109
109
  </p>
110
110
 
111
111
 
112
+ <p class="comment">
113
+ <h3>Description</h3>
114
+ </p>
115
+ <p class="comment">
116
+ <p>The &#39;eclMegaMenu&#39; is an advanced navigation component designed for complex sites with deep hierarchies.
117
+ It can provide descriptive text for first level items, accommodate up to three levels of navigation,
118
+ and additionally allows a featured column that can be used to either promote parent-page specific or site-wide pages,
119
+ hidden deep into the lower levels of the hierarchy.</p>
120
+
121
+ </p>
112
122
 
113
123
  <p class="comment">
114
124
  <h3>Extends</h3>
@@ -546,6 +556,12 @@
546
556
 
547
557
  </td>
548
558
  </tr>
559
+ <tr>
560
+ <td class="col-md-4">
561
+ <div class="io-description"><p>The event that is emitted, when a menu item is selected.</p>
562
+ </div>
563
+ </td>
564
+ </tr>
549
565
  </tbody>
550
566
  </table>
551
567
  </section>
@@ -599,6 +615,12 @@
599
615
  </td>
600
616
  </tr>
601
617
 
618
+ <tr>
619
+ <td class="col-md-4">
620
+ <div class="io-description"><p>The &#39;role&#39; attribute of the component is set to &#39;navigation&#39;. should not be changed.</p>
621
+ </div>
622
+ </td>
623
+ </tr>
602
624
 
603
625
  </tbody>
604
626
  </table>
@@ -646,6 +668,13 @@
646
668
 
647
669
 
648
670
 
671
+ <tr>
672
+ <td class="col-md-4">
673
+ <div class="io-description"><p>When clicking outside the menu - close any expanded item.</p>
674
+ </div>
675
+
676
+ </td>
677
+ </tr>
649
678
  </tbody>
650
679
  </table>
651
680
  </section>
@@ -685,6 +714,8 @@
685
714
 
686
715
  <tr>
687
716
  <td class="col-md-4">
717
+ <div class="io-description"><p>When clicking outside the menu - close any expanded item.</p>
718
+ </div>
688
719
 
689
720
  <div class="io-description">
690
721
  <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
@@ -716,6 +747,8 @@
716
747
 
717
748
  <tr>
718
749
  <td class="col-md-4">
750
+ <div class="io-description"><p>Used for mobile menu - when user clicks on &#39;Back&#39; button. Returns to the previous state.</p>
751
+ </div>
719
752
 
720
753
  <div class="io-description">
721
754
  <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
@@ -979,6 +1012,12 @@
979
1012
  </td>
980
1013
  </tr>
981
1014
 
1015
+ <tr>
1016
+ <td class="col-md-4">
1017
+ <div class="io-description"><p>If the menu is in mobile mode.</p>
1018
+ </div>
1019
+ </td>
1020
+ </tr>
982
1021
 
983
1022
  </tbody>
984
1023
  </table>
@@ -999,6 +1038,12 @@
999
1038
  </td>
1000
1039
  </tr>
1001
1040
 
1041
+ <tr>
1042
+ <td class="col-md-4">
1043
+ <div class="io-description"><p>If the menu is expanded in mobile mode.</p>
1044
+ </div>
1045
+ </td>
1046
+ </tr>
1002
1047
 
1003
1048
  </tbody>
1004
1049
  </table>
@@ -1019,6 +1064,12 @@
1019
1064
  </td>
1020
1065
  </tr>
1021
1066
 
1067
+ <tr>
1068
+ <td class="col-md-4">
1069
+ <div class="io-description"><p>When a menu item is expanded and has only one panel (one sub-level).</p>
1070
+ </div>
1071
+ </td>
1072
+ </tr>
1022
1073
 
1023
1074
  </tbody>
1024
1075
  </table>
@@ -1039,6 +1090,12 @@
1039
1090
  </td>
1040
1091
  </tr>
1041
1092
 
1093
+ <tr>
1094
+ <td class="col-md-4">
1095
+ <div class="io-description"><p>If the menu is open, when in mobile mode.</p>
1096
+ </div>
1097
+ </td>
1098
+ </tr>
1042
1099
 
1043
1100
  </tbody>
1044
1101
  </table>
@@ -1059,6 +1116,12 @@
1059
1116
  </td>
1060
1117
  </tr>
1061
1118
 
1119
+ <tr>
1120
+ <td class="col-md-4">
1121
+ <div class="io-description"><p>Used in mobile mode - when the start panel is open (i.e. the hamburger button is clicked).</p>
1122
+ </div>
1123
+ </td>
1124
+ </tr>
1062
1125
 
1063
1126
  </tbody>
1064
1127
  </table>
@@ -1079,6 +1142,12 @@
1079
1142
  </td>
1080
1143
  </tr>
1081
1144
 
1145
+ <tr>
1146
+ <td class="col-md-4">
1147
+ <div class="io-description"><p>If a menu item is expanded and has two panels/levels displayed.</p>
1148
+ </div>
1149
+ </td>
1150
+ </tr>
1082
1151
 
1083
1152
  </tbody>
1084
1153
  </table>
@@ -1131,6 +1200,12 @@
1131
1200
  </td>
1132
1201
  </tr>
1133
1202
 
1203
+ <tr>
1204
+ <td class="col-md-4">
1205
+ <div class="io-description"><p>Used to position the overlay, when a menu item is expanded.</p>
1206
+ </div>
1207
+ </td>
1208
+ </tr>
1134
1209
 
1135
1210
  </tbody>
1136
1211
  </table>
@@ -1167,6 +1242,12 @@
1167
1242
  </td>
1168
1243
  </tr>
1169
1244
 
1245
+ <tr>
1246
+ <td class="col-md-4">
1247
+ <div class="io-description"><p>The &#39;role&#39; attribute of the component is set to &#39;navigation&#39;. should not be changed.</p>
1248
+ </div>
1249
+ </td>
1250
+ </tr>
1170
1251
 
1171
1252
  </tbody>
1172
1253
  </table>
@@ -109,6 +109,13 @@
109
109
  </p>
110
110
 
111
111
 
112
+ <p class="comment">
113
+ <h3>Description</h3>
114
+ </p>
115
+ <p class="comment">
116
+ <p>This component represents the featured items panel.</p>
117
+
118
+ </p>
112
119
 
113
120
  <p class="comment">
114
121
  <h3>Extends</h3>
@@ -469,11 +476,17 @@
469
476
 
470
477
  <tr>
471
478
  <td class="col-md-4">
479
+ <div class="io-description"><p>Calculates and returns the height of the component. The total height of all the list items.</p>
480
+ </div>
472
481
 
473
482
  <div class="io-description">
474
483
  <b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
475
484
 
476
485
  </div>
486
+ <div class="io-description">
487
+ <p>the height of the component</p>
488
+
489
+ </div>
477
490
  </td>
478
491
  </tr>
479
492
  </tbody>
@@ -109,6 +109,13 @@
109
109
  </p>
110
110
 
111
111
 
112
+ <p class="comment">
113
+ <h3>Description</h3>
114
+ </p>
115
+ <p class="comment">
116
+ <p>Component for displaying some custom information for the current menu item.</p>
117
+
118
+ </p>
112
119
 
113
120
  <p class="comment">
114
121
  <h3>Extends</h3>
@@ -425,6 +432,12 @@
425
432
  </td>
426
433
  </tr>
427
434
 
435
+ <tr>
436
+ <td class="col-md-4">
437
+ <div class="io-description"><p>Applies custom styles for info component.</p>
438
+ </div>
439
+ </td>
440
+ </tr>
428
441
 
429
442
  </tbody>
430
443
  </table>
@@ -451,6 +464,12 @@
451
464
  </td>
452
465
  </tr>
453
466
 
467
+ <tr>
468
+ <td class="col-md-4">
469
+ <div class="io-description"><p>Sets the height of the component.</p>
470
+ </div>
471
+ </td>
472
+ </tr>
454
473
 
455
474
  </tbody>
456
475
  </table>
@@ -477,6 +496,12 @@
477
496
  </td>
478
497
  </tr>
479
498
 
499
+ <tr>
500
+ <td class="col-md-4">
501
+ <div class="io-description"><p>Sets the opacity of the component.</p>
502
+ </div>
503
+ </td>
504
+ </tr>
480
505
 
481
506
  </tbody>
482
507
  </table>
@@ -510,11 +535,17 @@
510
535
 
511
536
  <tr>
512
537
  <td class="col-md-4">
538
+ <div class="io-description"><p>Used to calculate the height of the parent element.</p>
539
+ </div>
513
540
 
514
541
  <div class="io-description">
515
542
  <b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
516
543
 
517
544
  </div>
545
+ <div class="io-description">
546
+ <p>the height of the component.</p>
547
+
548
+ </div>
518
549
  </td>
519
550
  </tr>
520
551
  </tbody>
@@ -619,6 +650,12 @@
619
650
  </td>
620
651
  </tr>
621
652
 
653
+ <tr>
654
+ <td class="col-md-4">
655
+ <div class="io-description"><p>Sets the height of the component.</p>
656
+ </div>
657
+ </td>
658
+ </tr>
622
659
 
623
660
  </tbody>
624
661
  </table>
@@ -655,6 +692,12 @@
655
692
  </td>
656
693
  </tr>
657
694
 
695
+ <tr>
696
+ <td class="col-md-4">
697
+ <div class="io-description"><p>Sets the opacity of the component.</p>
698
+ </div>
699
+ </td>
700
+ </tr>
658
701
 
659
702
  </tbody>
660
703
  </table>
@@ -708,6 +751,12 @@
708
751
  </td>
709
752
  </tr>
710
753
 
754
+ <tr>
755
+ <td class="col-md-4">
756
+ <div class="io-description"><p>When the info panel contains link.</p>
757
+ </div>
758
+ </td>
759
+ </tr>
711
760
 
712
761
  </tbody>
713
762
  </table>
@@ -731,6 +780,17 @@
731
780
  <span class="accessor"><b>get</b><code>cssClasses()</code></span>
732
781
  </td>
733
782
  </tr>
783
+ <tr>
784
+ <td class="col-md-4">
785
+ <div class="io-description"><p>Applies custom styles for info component.</p>
786
+ </div>
787
+
788
+ <div class="io-description">
789
+ <b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
790
+
791
+ </div>
792
+ </td>
793
+ </tr>
734
794
 
735
795
  </tbody>
736
796
  </table>
@@ -109,6 +109,13 @@
109
109
  </p>
110
110
 
111
111
 
112
+ <p class="comment">
113
+ <h3>Description</h3>
114
+ </p>
115
+ <p class="comment">
116
+ <p>This component represents a mega menu item. Adds functionality and styling, according to ECL standards.</p>
117
+
118
+ </p>
112
119
 
113
120
  <p class="comment">
114
121
  <h3>Extends</h3>
@@ -555,6 +562,12 @@
555
562
 
556
563
  </td>
557
564
  </tr>
565
+ <tr>
566
+ <td class="col-md-4">
567
+ <div class="io-description"><p>Used in case user wants to set some custom attributes for the anchr tag.</p>
568
+ </div>
569
+ </td>
570
+ </tr>
558
571
  </tbody>
559
572
  </table>
560
573
  <table class="table table-sm table-bordered">
@@ -796,6 +809,12 @@
796
809
  </td>
797
810
  </tr>
798
811
 
812
+ <tr>
813
+ <td class="col-md-4">
814
+ <div class="io-description"><p>Returns current menu item classes, depending on item&#39;s state (it&#39;s properties&#39; values).</p>
815
+ </div>
816
+ </td>
817
+ </tr>
799
818
 
800
819
  </tbody>
801
820
  </table>
@@ -822,6 +841,13 @@
822
841
 
823
842
 
824
843
 
844
+ <tr>
845
+ <td class="col-md-4">
846
+ <div class="io-description"><p>On resize - calculate the size of the dropdown and wrapper (if item is expanded).</p>
847
+ </div>
848
+
849
+ </td>
850
+ </tr>
825
851
  </tbody>
826
852
  </table>
827
853
  </section>
@@ -852,6 +878,8 @@
852
878
 
853
879
  <tr>
854
880
  <td class="col-md-4">
881
+ <div class="io-description"><p>Set the focus on the sub element - link or button.</p>
882
+ </div>
855
883
 
856
884
  <div class="io-description">
857
885
  <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
@@ -944,6 +972,8 @@
944
972
 
945
973
  <tr>
946
974
  <td class="col-md-4">
975
+ <div class="io-description"><p>Manage styling and functionality for children and siblings, when item is clicked.</p>
976
+ </div>
947
977
 
948
978
  <div class="io-description">
949
979
  <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
@@ -975,6 +1005,8 @@
975
1005
 
976
1006
  <tr>
977
1007
  <td class="col-md-4">
1008
+ <div class="io-description"><p>Manage styling and functionality when item is collapsed.</p>
1009
+ </div>
978
1010
 
979
1011
  <div class="io-description">
980
1012
  <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
@@ -1015,6 +1047,8 @@
1015
1047
 
1016
1048
  <tr>
1017
1049
  <td class="col-md-4">
1050
+ <div class="io-description"><p>On resize - calculate the size of the dropdown and wrapper (if item is expanded).</p>
1051
+ </div>
1018
1052
 
1019
1053
  <div class="io-description">
1020
1054
  <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
@@ -1145,6 +1179,13 @@
1145
1179
  </td>
1146
1180
  </tr>
1147
1181
 
1182
+ <tr>
1183
+ <td class="col-md-4">
1184
+ <div class="io-description"><p>Component, that consist of some custom info, text or whatever. When the menu item has no children, but still some
1185
+ sub container is displayed.</p>
1186
+ </div>
1187
+ </td>
1188
+ </tr>
1148
1189
 
1149
1190
  </tbody>
1150
1191
  </table>
@@ -1176,6 +1217,12 @@
1176
1217
  </td>
1177
1218
  </tr>
1178
1219
 
1220
+ <tr>
1221
+ <td class="col-md-4">
1222
+ <div class="io-description"><p>Element, that would contain some info about the current item or it&#39;s children. First in the container.</p>
1223
+ </div>
1224
+ </td>
1225
+ </tr>
1179
1226
 
1180
1227
  </tbody>
1181
1228
  </table>
@@ -1207,6 +1254,12 @@
1207
1254
  </td>
1208
1255
  </tr>
1209
1256
 
1257
+ <tr>
1258
+ <td class="col-md-4">
1259
+ <div class="io-description"><p>The wrapper around the subitems, if any.</p>
1260
+ </div>
1261
+ </td>
1262
+ </tr>
1210
1263
 
1211
1264
  </tbody>
1212
1265
  </table>
@@ -1238,6 +1291,12 @@
1238
1291
  </td>
1239
1292
  </tr>
1240
1293
 
1294
+ <tr>
1295
+ <td class="col-md-4">
1296
+ <div class="io-description"><p>Element, that holds the sub items of the current menu items.</p>
1297
+ </div>
1298
+ </td>
1299
+ </tr>
1241
1300
 
1242
1301
  </tbody>
1243
1302
  </table>
@@ -1391,6 +1450,12 @@
1391
1450
  </td>
1392
1451
  </tr>
1393
1452
 
1453
+ <tr>
1454
+ <td class="col-md-4">
1455
+ <div class="io-description"><p>This elemend hold some extra content, different from subitems. For example just some text or some custom links, etc.</p>
1456
+ </div>
1457
+ </td>
1458
+ </tr>
1394
1459
 
1395
1460
  </tbody>
1396
1461
  </table>
@@ -1474,6 +1539,12 @@
1474
1539
  </td>
1475
1540
  </tr>
1476
1541
 
1542
+ <tr>
1543
+ <td class="col-md-4">
1544
+ <div class="io-description"><p>Element, tat is rendered if the menu item has children.</p>
1545
+ </div>
1546
+ </td>
1547
+ </tr>
1477
1548
 
1478
1549
  </tbody>
1479
1550
  </table>
@@ -1505,6 +1576,12 @@
1505
1576
  </td>
1506
1577
  </tr>
1507
1578
 
1579
+ <tr>
1580
+ <td class="col-md-4">
1581
+ <div class="io-description"><p>Actual link of the menu item. If the menu has no children, but redirects/loads another page.</p>
1582
+ </div>
1583
+ </td>
1584
+ </tr>
1508
1585
 
1509
1586
  </tbody>
1510
1587
  </table>
@@ -1580,6 +1657,17 @@
1580
1657
  <span class="accessor"><b>get</b><code>cssClasses()</code></span>
1581
1658
  </td>
1582
1659
  </tr>
1660
+ <tr>
1661
+ <td class="col-md-4">
1662
+ <div class="io-description"><p>Returns current menu item classes, depending on item&#39;s state (it&#39;s properties&#39; values).</p>
1663
+ </div>
1664
+
1665
+ <div class="io-description">
1666
+ <b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
1667
+
1668
+ </div>
1669
+ </td>
1670
+ </tr>
1583
1671
 
1584
1672
  </tbody>
1585
1673
  </table>