hr-design-system-handlebars 0.56.5 → 0.56.8

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 (33) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/assets/index.css +149 -42
  3. package/dist/views/components/content_nav/content_nav.hbs +21 -23
  4. package/dist/views/components/content_nav/content_nav_container.hbs +14 -0
  5. package/dist/views/components/content_nav/content_nav_item.hbs +9 -9
  6. package/dist/views/components/content_nav/content_nav_list.hbs +5 -6
  7. package/dist/views/components/content_nav/dropdown.hbs +19 -13
  8. package/dist/views/components/site_header/header_alpine.js +13 -12
  9. package/dist/views/components/teaser/content_nav/teaser_content_nav.hbs +5 -13
  10. package/package.json +1 -1
  11. package/src/assets/fixtures/teaser/teaser_content_nav_dropdown_100.json +1 -1
  12. package/src/assets/fixtures/teaser/teaser_content_nav_dropdown_autosuggest_100.json +1 -1
  13. package/src/assets/fixtures/teaser/teaser_content_nav_dropdown_subgroups.json +4 -4
  14. package/src/assets/fixtures/teaser/teaser_content_nav_flow_100.json +2 -2
  15. package/src/assets/fixtures/teaser/teaser_content_nav_list_100.json +2 -2
  16. package/src/assets/fixtures/teaser/teaser_content_nav_mixed_100.json +1 -3
  17. package/src/assets/fixtures/teaser/teaser_content_nav_mixed_autosuggest.json +1 -1
  18. package/src/stories/views/components/content_nav/content_nav.hbs +21 -23
  19. package/src/stories/views/components/content_nav/content_nav_container.hbs +14 -0
  20. package/src/stories/views/components/content_nav/content_nav_item.hbs +9 -9
  21. package/src/stories/views/components/content_nav/content_nav_list.hbs +5 -6
  22. package/src/stories/views/components/content_nav/dropdown.hbs +19 -13
  23. package/src/stories/views/components/site_header/header_alpine.js +13 -12
  24. package/src/stories/views/components/teaser/content_nav/teaser_content_nav.hbs +5 -13
  25. package/src/stories/views/components/teaser/content_nav/teaser_content_nav.stories.mdx +6 -5
  26. package/src/stories/views/components/teaser/fixtures/teaser_content_nav_dropdown_100.json +1 -1
  27. package/src/stories/views/components/teaser/fixtures/teaser_content_nav_dropdown_autosuggest_100.json +1 -1
  28. package/src/stories/views/components/teaser/fixtures/teaser_content_nav_dropdown_subgroups.json +1 -1
  29. package/src/stories/views/components/teaser/fixtures/teaser_content_nav_flow_100.json +1 -1
  30. package/src/stories/views/components/teaser/fixtures/teaser_content_nav_list_100.json +1 -1
  31. package/src/stories/views/components/teaser/fixtures/teaser_content_nav_mixed_100.json +1 -1
  32. package/src/stories/views/components/teaser/fixtures/teaser_content_nav_mixed_autosuggest.json +1 -1
  33. package/src/stories/views/components/teaser/fixtures/teaser_group_100_contentNav.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,39 @@
1
+ # v0.56.8 (Thu Sep 01 2022)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Content nav part9 [#313](https://github.com/mumprod/hr-design-system-handlebars/pull/313) ([@StefanVesper](https://github.com/StefanVesper))
6
+
7
+ #### Authors: 1
8
+
9
+ - SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
10
+
11
+ ---
12
+
13
+ # v0.56.7 (Thu Sep 01 2022)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - adds some of mithras designs [#312](https://github.com/mumprod/hr-design-system-handlebars/pull/312) ([@StefanVesper](https://github.com/StefanVesper))
18
+
19
+ #### Authors: 1
20
+
21
+ - SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
22
+
23
+ ---
24
+
25
+ # v0.56.6 (Wed Aug 31 2022)
26
+
27
+ #### 🐛 Bug Fix
28
+
29
+ - adds autosuggest to list and flow, several refactoring [#311](https://github.com/mumprod/hr-design-system-handlebars/pull/311) ([@StefanVesper](https://github.com/StefanVesper))
30
+
31
+ #### Authors: 1
32
+
33
+ - SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
34
+
35
+ ---
36
+
1
37
  # v0.56.5 (Wed Aug 31 2022)
2
38
 
3
39
  #### 🐛 Bug Fix
@@ -434,7 +434,7 @@ video {
434
434
  --tw-scale-y: 1;
435
435
  }
436
436
 
437
- .btn--secondary, .shadow-\[0_13px_27px_-2px_rgba\(50\2c 50\2c 93\2c 0\.25\)\], .shadow-inner, .shadow-xl {
437
+ .btn--secondary, .\!shadow-\[1px_8px_9px_0px_rgba\(50\2c 50\2c 93\2c 0\.10\)\], .shadow-\[1px_4px_5px_0px_rgba\(50\2c 50\2c 93\2c 0\.10\)\], .shadow-inner, .shadow-xl {
438
438
  --tw-ring-offset-shadow: 0 0 rgba(0,0,0,0);
439
439
  --tw-ring-shadow: 0 0 rgba(0,0,0,0);
440
440
  --tw-shadow: 0 0 rgba(0,0,0,0);
@@ -636,15 +636,15 @@ video {
636
636
  .top-full {
637
637
  top: 100%;
638
638
  }
639
- .z-10001 {
640
- z-index: 10001;
641
- }
642
639
  .z-10000 {
643
640
  z-index: 10000;
644
641
  }
645
642
  .z-10002 {
646
643
  z-index: 10002;
647
644
  }
645
+ .z-10001 {
646
+ z-index: 10001;
647
+ }
648
648
  .-z-1000 {
649
649
  z-index: -1000;
650
650
  }
@@ -689,9 +689,13 @@ video {
689
689
  .m-1 {
690
690
  margin: 0.25rem;
691
691
  }
692
- .my-2 {
693
- margin-top: 0.5rem;
694
- margin-bottom: 0.5rem;
692
+ .mx-2 {
693
+ margin-left: 0.5rem;
694
+ margin-right: 0.5rem;
695
+ }
696
+ .mx-0 {
697
+ margin-left: 0px;
698
+ margin-right: 0px;
695
699
  }
696
700
  .mx-4 {
697
701
  margin-left: 1rem;
@@ -713,10 +717,6 @@ video {
713
717
  margin-left: 1px;
714
718
  margin-right: 1px;
715
719
  }
716
- .mx-0 {
717
- margin-left: 0px;
718
- margin-right: 0px;
719
- }
720
720
  .mx-1\.5 {
721
721
  margin-left: 0.375rem;
722
722
  margin-right: 0.375rem;
@@ -731,36 +731,39 @@ video {
731
731
  .\!mt-4 {
732
732
  margin-top: 1rem !important;
733
733
  }
734
- .mr-2 {
735
- margin-right: 0.5rem;
734
+ .mt-2 {
735
+ margin-top: 0.5rem;
736
736
  }
737
- .mt-1 {
738
- margin-top: 0.25rem;
737
+ .mt-0 {
738
+ margin-top: 0px;
739
739
  }
740
740
  .ml-2 {
741
741
  margin-left: 0.5rem;
742
742
  }
743
+ .mb-2 {
744
+ margin-bottom: 0.5rem;
745
+ }
743
746
  .-mt-2 {
744
747
  margin-top: -0.5rem;
745
748
  }
746
- .mt-2 {
747
- margin-top: 0.5rem;
748
- }
749
749
  .-mt-40 {
750
750
  margin-top: -10rem;
751
751
  }
752
752
  .-mt-10 {
753
753
  margin-top: -2.5rem;
754
754
  }
755
- .mb-2 {
756
- margin-bottom: 0.5rem;
757
- }
758
755
  .\!mb-0 {
759
756
  margin-bottom: 0px !important;
760
757
  }
758
+ .ml-0 {
759
+ margin-left: 0px;
760
+ }
761
761
  .\!mr-2 {
762
762
  margin-right: 0.5rem !important;
763
763
  }
764
+ .mr-2 {
765
+ margin-right: 0.5rem;
766
+ }
764
767
  .mb-8 {
765
768
  margin-bottom: 2rem;
766
769
  }
@@ -773,9 +776,6 @@ video {
773
776
  .mt-0\.5 {
774
777
  margin-top: 0.125rem;
775
778
  }
776
- .mt-0 {
777
- margin-top: 0px;
778
- }
779
779
  .mt-10 {
780
780
  margin-top: 2.5rem;
781
781
  }
@@ -970,6 +970,11 @@ video {
970
970
  -ms-flex-negative: 0;
971
971
  flex-shrink: 0;
972
972
  }
973
+ .grow {
974
+ -webkit-box-flex: 1;
975
+ -ms-flex-positive: 1;
976
+ flex-grow: 1;
977
+ }
973
978
  .basis-2\/3 {
974
979
  -ms-flex-preferred-size: 66.666667%;
975
980
  flex-basis: 66.666667%;
@@ -1291,13 +1296,17 @@ video {
1291
1296
  .bg-transparent {
1292
1297
  background-color: transparent;
1293
1298
  }
1299
+ .bg-gray-200 {
1300
+ --tw-bg-opacity: 1;
1301
+ background-color: rgba(229, 231, 235, var(--tw-bg-opacity));
1302
+ }
1294
1303
  .bg-white {
1295
1304
  --tw-bg-opacity: 1;
1296
1305
  background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
1297
1306
  }
1298
- .bg-gray-200 {
1307
+ .bg-blue-accented {
1299
1308
  --tw-bg-opacity: 1;
1300
- background-color: rgba(229, 231, 235, var(--tw-bg-opacity));
1309
+ background-color: rgba(216, 233, 246, var(--tw-bg-opacity));
1301
1310
  }
1302
1311
  .bg-gray-500 {
1303
1312
  --tw-bg-opacity: 1;
@@ -1447,14 +1456,14 @@ video {
1447
1456
  padding-left: 0.75rem;
1448
1457
  padding-right: 0.75rem;
1449
1458
  }
1450
- .\!px-0 {
1451
- padding-left: 0px !important;
1452
- padding-right: 0px !important;
1453
- }
1454
1459
  .px-2 {
1455
1460
  padding-left: 0.5rem;
1456
1461
  padding-right: 0.5rem;
1457
1462
  }
1463
+ .\!px-0 {
1464
+ padding-left: 0px !important;
1465
+ padding-right: 0px !important;
1466
+ }
1458
1467
  .py-1 {
1459
1468
  padding-top: 0.25rem;
1460
1469
  padding-bottom: 0.25rem;
@@ -1507,12 +1516,15 @@ video {
1507
1516
  padding-top: 1px;
1508
1517
  padding-bottom: 1px;
1509
1518
  }
1510
- .pl-4 {
1511
- padding-left: 1rem;
1519
+ .pl-2 {
1520
+ padding-left: 0.5rem;
1512
1521
  }
1513
1522
  .pt-px {
1514
1523
  padding-top: 1px;
1515
1524
  }
1525
+ .pl-4 {
1526
+ padding-left: 1rem;
1527
+ }
1516
1528
  .pr-2 {
1517
1529
  padding-right: 0.5rem;
1518
1530
  }
@@ -1692,10 +1704,6 @@ video {
1692
1704
  --tw-text-opacity: 1;
1693
1705
  color: rgba(0, 82, 147, var(--tw-text-opacity));
1694
1706
  }
1695
- .text-black {
1696
- --tw-text-opacity: 1;
1697
- color: rgba(0, 0, 0, var(--tw-text-opacity));
1698
- }
1699
1707
  .text-orange-spicyCarrot {
1700
1708
  --tw-text-opacity: 1;
1701
1709
  color: rgba(211, 70, 0, var(--tw-text-opacity));
@@ -1704,6 +1712,10 @@ video {
1704
1712
  --tw-text-opacity: 1;
1705
1713
  color: rgba(39, 107, 158, var(--tw-text-opacity));
1706
1714
  }
1715
+ .text-black {
1716
+ --tw-text-opacity: 1;
1717
+ color: rgba(0, 0, 0, var(--tw-text-opacity));
1718
+ }
1707
1719
  .text-blue-science {
1708
1720
  --tw-text-opacity: 1;
1709
1721
  color: rgba(0, 109, 193, var(--tw-text-opacity));
@@ -1765,9 +1777,18 @@ video {
1765
1777
  .opacity-80 {
1766
1778
  opacity: 0.8;
1767
1779
  }
1768
- .shadow-\[0_13px_27px_-2px_rgba\(50\2c 50\2c 93\2c 0\.25\)\] {
1769
- --tw-shadow: 0 13px 27px -2px rgba(50,50,93,0.25);
1770
- --tw-shadow-colored: 0 13px 27px -2px var(--tw-shadow-color);
1780
+ .\!shadow-\[1px_8px_9px_0px_rgba\(50\2c 50\2c 93\2c 0\.10\)\] {
1781
+ --tw-shadow: 1px 8px 9px 0px rgba(50,50,93,0.10) !important;
1782
+ --tw-shadow-colored: 1px 8px 9px 0px var(--tw-shadow-color) !important;
1783
+ -webkit-box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow) !important;
1784
+ box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow) !important;
1785
+ box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow) !important;
1786
+ -webkit-box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow) !important;
1787
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow) !important;
1788
+ }
1789
+ .shadow-\[1px_4px_5px_0px_rgba\(50\2c 50\2c 93\2c 0\.10\)\] {
1790
+ --tw-shadow: 1px 4px 5px 0px rgba(50,50,93,0.10);
1791
+ --tw-shadow-colored: 1px 4px 5px 0px var(--tw-shadow-color);
1771
1792
  -webkit-box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
1772
1793
  box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
1773
1794
  box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
@@ -1876,7 +1897,7 @@ video {
1876
1897
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
1877
1898
  }
1878
1899
  .counter-reset {
1879
- counter-reset: cnt1661948075085;
1900
+ counter-reset: cnt1662058116451;
1880
1901
  }
1881
1902
  .placeholder-text-xs::-webkit-input-placeholder {
1882
1903
  font-size: 0.75rem;
@@ -2259,7 +2280,7 @@ video {
2259
2280
  --tw-ring-color: rgba(255, 255, 255, 0.5);
2260
2281
  }
2261
2282
  .-ordered {
2262
- counter-increment: cnt1661948075085 1;
2283
+ counter-increment: cnt1662058116451 1;
2263
2284
  }
2264
2285
  .-ordered::before {
2265
2286
  position: absolute;
@@ -2276,7 +2297,7 @@ video {
2276
2297
  letter-spacing: .0125em;
2277
2298
  --tw-text-opacity: 1;
2278
2299
  color: rgba(0, 0, 0, var(--tw-text-opacity));
2279
- content: counter(cnt1661948075085);
2300
+ content: counter(cnt1662058116451);
2280
2301
  }
2281
2302
  /*! purgecss start ignore */
2282
2303
  :root,
@@ -2644,6 +2665,26 @@ video {
2644
2665
  right: 0;
2645
2666
  bottom: 0;
2646
2667
  }
2668
+ .placeholder\:text-gray-800::-webkit-input-placeholder {
2669
+ --tw-text-opacity: 1;
2670
+ color: rgba(31, 41, 55, var(--tw-text-opacity));
2671
+ }
2672
+ .placeholder\:text-gray-800::-moz-placeholder {
2673
+ --tw-text-opacity: 1;
2674
+ color: rgba(31, 41, 55, var(--tw-text-opacity));
2675
+ }
2676
+ .placeholder\:text-gray-800:-ms-input-placeholder {
2677
+ --tw-text-opacity: 1;
2678
+ color: rgba(31, 41, 55, var(--tw-text-opacity));
2679
+ }
2680
+ .placeholder\:text-gray-800::-ms-input-placeholder {
2681
+ --tw-text-opacity: 1;
2682
+ color: rgba(31, 41, 55, var(--tw-text-opacity));
2683
+ }
2684
+ .placeholder\:text-gray-800::placeholder {
2685
+ --tw-text-opacity: 1;
2686
+ color: rgba(31, 41, 55, var(--tw-text-opacity));
2687
+ }
2647
2688
  .first\:border-t:first-child {
2648
2689
  border-top-width: 1px;
2649
2690
  }
@@ -2653,6 +2694,9 @@ video {
2653
2694
  .first\:font-bold:first-child {
2654
2695
  font-weight: 700;
2655
2696
  }
2697
+ .last\:mb-0:last-child {
2698
+ margin-bottom: 0px;
2699
+ }
2656
2700
  .last\:border-b-0:last-child {
2657
2701
  border-bottom-width: 0px;
2658
2702
  }
@@ -2688,6 +2732,10 @@ video {
2688
2732
  --tw-bg-opacity: 1;
2689
2733
  background-color: rgba(0, 82, 147, var(--tw-bg-opacity));
2690
2734
  }
2735
+ .hover\:\!bg-white:hover {
2736
+ --tw-bg-opacity: 1 !important;
2737
+ background-color: rgba(255, 255, 255, var(--tw-bg-opacity)) !important;
2738
+ }
2691
2739
  .hover\:fill-white:hover {
2692
2740
  fill: #ffffff;
2693
2741
  }
@@ -2697,6 +2745,12 @@ video {
2697
2745
  .hover\:fill-blue-jellyBean:hover {
2698
2746
  fill: #006dc1;
2699
2747
  }
2748
+ .hover\:\!fill-congress:hover {
2749
+ fill: #005293 !important;
2750
+ }
2751
+ .hover\:fill-congress:hover {
2752
+ fill: #005293;
2753
+ }
2700
2754
  .hover\:text-toplineColor:hover {
2701
2755
  color: #006dc1;
2702
2756
  color: var(--color-topline);
@@ -2705,10 +2759,22 @@ video {
2705
2759
  --tw-text-opacity: 1;
2706
2760
  color: rgba(255, 255, 255, var(--tw-text-opacity));
2707
2761
  }
2762
+ .hover\:text-blue-congress:hover {
2763
+ --tw-text-opacity: 1;
2764
+ color: rgba(0, 82, 147, var(--tw-text-opacity));
2765
+ }
2766
+ .hover\:\!text-blue-congress:hover {
2767
+ --tw-text-opacity: 1 !important;
2768
+ color: rgba(0, 82, 147, var(--tw-text-opacity)) !important;
2769
+ }
2708
2770
  .hover\:underline:hover {
2709
2771
  -webkit-text-decoration-line: underline;
2710
2772
  text-decoration-line: underline;
2711
2773
  }
2774
+ .hover\:no-underline:hover {
2775
+ -webkit-text-decoration-line: none;
2776
+ text-decoration-line: none;
2777
+ }
2712
2778
  .focus\:outline-none:focus {
2713
2779
  outline: 2px solid transparent;
2714
2780
  outline-offset: 2px;
@@ -2852,6 +2918,10 @@ video {
2852
2918
  margin-right: 0px !important;
2853
2919
  }
2854
2920
 
2921
+ .md\:mb-2 {
2922
+ margin-bottom: 0.5rem;
2923
+ }
2924
+
2855
2925
  .md\:mb-16 {
2856
2926
  margin-bottom: 4rem;
2857
2927
  }
@@ -3003,6 +3073,10 @@ video {
3003
3073
  border-width: 1px !important;
3004
3074
  }
3005
3075
 
3076
+ .md\:border {
3077
+ border-width: 1px;
3078
+ }
3079
+
3006
3080
  .md\:border-r {
3007
3081
  border-right-width: 1px;
3008
3082
  }
@@ -3020,6 +3094,11 @@ video {
3020
3094
  border-color: rgba(255, 255, 255, var(--tw-border-opacity));
3021
3095
  }
3022
3096
 
3097
+ .md\:border-blue-congress {
3098
+ --tw-border-opacity: 1;
3099
+ border-color: rgba(0, 82, 147, var(--tw-border-opacity));
3100
+ }
3101
+
3023
3102
  .md\:bg-neutral-200 {
3024
3103
  --tw-bg-opacity: 1;
3025
3104
  background-color: rgba(229, 229, 229, var(--tw-bg-opacity));
@@ -3164,6 +3243,34 @@ video {
3164
3243
  .md\:first-of-type\:pt-0:first-of-type {
3165
3244
  padding-top: 0px;
3166
3245
  }
3246
+
3247
+ .md\:hover\:\!bg-blue-congress:hover {
3248
+ --tw-bg-opacity: 1 !important;
3249
+ background-color: rgba(0, 82, 147, var(--tw-bg-opacity)) !important;
3250
+ }
3251
+
3252
+ .md\:hover\:\!fill-white:hover {
3253
+ fill: #ffffff !important;
3254
+ }
3255
+
3256
+ .md\:hover\:fill-white:hover {
3257
+ fill: #ffffff;
3258
+ }
3259
+
3260
+ .md\:hover\:text-white:hover {
3261
+ --tw-text-opacity: 1;
3262
+ color: rgba(255, 255, 255, var(--tw-text-opacity));
3263
+ }
3264
+
3265
+ .md\:hover\:\!text-white:hover {
3266
+ --tw-text-opacity: 1 !important;
3267
+ color: rgba(255, 255, 255, var(--tw-text-opacity)) !important;
3268
+ }
3269
+
3270
+ .md\:hover\:no-underline:hover {
3271
+ -webkit-text-decoration-line: none;
3272
+ text-decoration-line: none;
3273
+ }
3167
3274
  }
3168
3275
  @media (min-width: 1024px) {
3169
3276
 
@@ -1,13 +1,21 @@
1
1
  {{#with this.contentNav}}
2
- {{#if this.isList}}
3
- <nav class="c-content-nav {{../_modifier}} ">
4
- {{> components/content_nav/content_nav_list _teasersize=../_teasersize}}
2
+ {{#if this.isList}}
3
+ <nav class="c-content-nav">
4
+ {{> components/content_nav/content_nav_container
5
+ _teasersize=../_teasersize
6
+ _maindivclass="flex flex-wrap mt-2 md:mt-0"
7
+ _inputcontainerclass="flex w-full h-10 mx-2 md:mx-0 border-blue-congress align-center"
8
+ }}
5
9
  </nav>
6
10
  {{else if this.isFlow}}
7
- <nav class="c-content-nav {{../_modifier}} ">
8
- {{> components/content_nav/content_nav_list _teasersize=../_teasersize}}
11
+ <nav class="c-content-nav">
12
+ {{> components/content_nav/content_nav_container
13
+ _teasersize=../_teasersize
14
+ _maindivclass="flex flex-wrap mt-2 md:mt-0"
15
+ _inputcontainerclass="flex w-full h-10 mx-2 md:mx-0 border-blue-congress align-center "
16
+ }}
9
17
  </nav>
10
- {{else}}
18
+ {{else}}
11
19
  {{#>components/content_nav/dropdown
12
20
  _componentClass="c-content-nav"
13
21
  _teasersize=../_teasersize
@@ -16,21 +24,11 @@
16
24
  _buttonText=(defaultIfEmpty this.selectedItem.title ../../title)
17
25
  _hiddenNavigationLabel="Unternavigation"
18
26
  }}
19
- <div x-on:click.outside ="open = false;" class="flex flex-wrap {{#if this.isAutosuggest}} autoSuggest js-load{{/if}}"
20
- {{#if this.isAutosuggest}}
21
- data-hr-auto-suggest='{"filterGroupsSelector":".c-content-nav__group", "filterElementSelector":".c-content-nav__item", "filterTextSelector":".js-title", "inputElementSelector":".js-autosuggest-input", "matchedClass":"", "unmatchedClass":"hidden"}'
22
- {{/if}}
23
- >
24
- {{#if this.isAutosuggest}}
25
- <div class="flex w-full h-10 my-2 c-content-nav__autosuggest border-blue-congress align-center">
26
- <input x-ref="autosuggestInput" class="w-full pl-4 focus:outline-none js-autosuggest-input" type="text"
27
- placeholder="Eintrag filtern"/>
28
- </div>
29
- {{/if}}
30
- {{> components/content_nav/content_nav_list _teasersize=_teasersize}}
31
-
32
- </div>
27
+ {{> components/content_nav/content_nav_container
28
+ _teasersize=_teasersize
29
+ _maindivclass="flex flex-wrap mt-0"
30
+ _inputcontainerclass="flex w-full h-10 mx-0 border-blue-congress align-center "
31
+ }}
33
32
  {{/components/content_nav/dropdown}}
34
-
35
- {{/if}}
36
- {{/with}}
33
+ {{/if}}
34
+ {{/with}}
@@ -0,0 +1,14 @@
1
+ <div x-on:click.outside ="$store.contentNavDropdownIsOpen = false;" class="{{_maindivclass}} {{#if this.isAutosuggest}} autoSuggest js-load{{/if}}"
2
+ {{#if this.isAutosuggest}}
3
+ data-hr-auto-suggest='{"filterGroupsSelector":".c-content-nav__group", "filterElementSelector":".c-content-nav__item", "filterTextSelector":".js-title", "inputElementSelector":".js-autosuggest-input", "matchedClass":"", "unmatchedClass":"hidden"}'
4
+ {{/if}}
5
+ >
6
+ {{#if this.isAutosuggest}}
7
+ <div class="{{_inputcontainerclass}} c-content-nav__autosuggest ">
8
+ <input x-ref="autosuggestInput" class="w-full h-8 pl-2 bg-gray-200 placeholder:text-gray-800 focus:outline-none js-autosuggest-input" type="text"
9
+ placeholder="Eintrag filtern"/>
10
+ </div>
11
+ {{/if}}
12
+
13
+ {{> components/content_nav/content_nav_list _teasersize=_teasersize }}
14
+ </div>
@@ -1,24 +1,24 @@
1
1
  <li x-init="chooseListItemStyles({{_teasersize}},{{_islist}},{{_ismixed}},{{_isdropdown}},{{_isflow}})"
2
- class="h-8 overflow-hidden text-base font-copy list-none border-blue-congress fill-congress hover:fill-white text-blue-congress hover:text-white hover:underline {{#if this.isSelected}} -current{{/if}} c-content-nav__item">
2
+ class="h-10 md:mx-0 overflow-hidden text-base font-copy list-none border-blue-congress fill-congress text-blue-congress bg-white hover:bg-blue-congress hover:fill-white hover:text-white hover:underline {{#if this.isSelected}} font-bold -current{{/if}} c-content-nav__item">
3
3
  {{#>components/base/link.hbs
4
4
  _doNavigationTracking="true"
5
5
  _clickLabelType="Contentnavigation"
6
6
  _clickLabelPrefix1=this.title
7
- _css="flex items-center py-2 px-4 h-8 bg-white hover:bg-blue-congress whitespace-nowrap overflow-hidden"
7
+ _css="flex items-center py-2 px-2 h-10 whitespace-nowrap overflow-hidden"
8
8
  _isSelected=this.isSelected
9
9
  _selectedCssClass="is-selected"
10
10
  }}
11
-
12
- <span>
13
- {{>components/base/image/icon _icon="arrow-right" _addClass=" h-4 w-4 mr-2" }}
14
- </span>
15
-
16
- <span class="mt-1 text-base font-copy js-title">{{this.title}}</span>
11
+
12
+ <span class="flex text-base grow font-copy js-title">{{this.title}}</span>
17
13
 
18
14
  {{#if this.link.hasIcon}}
19
- {{> components/base/image/icon _icon=this.link.iconName _addClass="mt-1 ml-2 h-4 w-4" _iconmap="icons"}}
15
+ {{> components/base/image/icon _icon=this.link.iconName _addClass="ml-2 h-4 w-4" _iconmap="icons"}}
20
16
  {{/if}}
21
17
 
18
+ <span>
19
+ {{>components/base/image/icon _icon="arrow-right" _addClass="h-4 w-4 ml-2" }}
20
+ </span>
21
+
22
22
  {{/components/base/link.hbs}}
23
23
  </li>
24
24
 
@@ -1,5 +1,5 @@
1
- <ul :class="({{this.isMixed}} && {{_teasersize}} < 66) || ({{this.isMixed}} && window.innerWidth < 768) || {{this.isDropdown}} ? 'shadow-[0_13px_27px_-2px_rgba(50,50,93,0.25)] !px-0 ' : ''"
2
- class="flex flex-wrap w-full px-2 md:!px-0 last:border-b-0">
1
+ <ul :class="(({{this.isMixed}} && {{_teasersize}} < 50) || ({{this.isMixed}} && window.innerWidth < 768) || {{this.isDropdown}}) && $store.contentNavDropdownIsOpen === true ? '!shadow-[1px_8px_9px_0px_rgba(50,50,93,0.10)] !px-0 mt-0' : ''"
2
+ class="flex flex-wrap w-full px-2 z-10000 md:!px-0 last:border-b-0">
3
3
 
4
4
  {{~#each this.contentNavEntries~}}
5
5
 
@@ -7,9 +7,9 @@
7
7
 
8
8
  {{#if ../isDropdown}}
9
9
 
10
- <li class="w-full h-auto overflow-hidden text-base text-black list-none bg-gray-200 border-b border-blue-congress font-copy fill-congress c-content-nav__group">
11
- <div class="p-2 c-content-nav__group-title">{{this.title}}</div>
12
- <ul class="c-content-nav__group-list">
10
+ <li class="w-full h-auto overflow-hidden text-base list-none border-b border-gray-400 bg-blue-accented text-blue-congress md:mx-0 font-copy fill-congress c-content-nav__group">
11
+ <div class="flex items-center h-10 p-2 c-content-nav__group-title">{{this.title}}</div>
12
+ <ul class="c-content-nav__group-list !px-0 mt-0 ">
13
13
  {{~#each this.navigationGroup~}}
14
14
  {{> components/content_nav/content_nav_item _teasersize=../../_teasersize _isdropdown=../../isDropdown _ismixed=../../isMixed _islist=../../isList _isflow=../../isFlow}}
15
15
  {{~/each~}}
@@ -24,4 +24,3 @@
24
24
  {{~/if~}}
25
25
  {{~/each~}}
26
26
  </ul>
27
-
@@ -1,31 +1,37 @@
1
1
  <nav
2
- class="w-full px-2 md:px-0 {{_componentClass}} {{_modifier}} "
2
+ class="w-full px-2 md:px-0 {{_componentClass}} "
3
3
  id="dropdown--{{nextRandom}}"
4
4
  tabindex="0"
5
5
  role="navigation"
6
6
  aria-labelledby="dropdown__label--{{getRandom}}">
7
7
 
8
- <span id="o-dropdown__label--{{getRandom}}" class="hidden">{{defaultIfEmpty _hiddenNavigationLabel "Unternavigation"}}</span>
8
+ <span id="dropdown__label--{{getRandom}}" class="hidden">{{defaultIfEmpty _hiddenNavigationLabel "Unternavigation"}}</span>
9
9
 
10
10
  <div x-show="shouldDropdownBeShown({{_teasersize}},{{this.isDropdown}},{{this.isMixed}})"
11
- class="flex w-full h-8 overflow-hidden bg-white border border-blue-congress whitespace-nowrap text-blue-congress fill-congress" >
11
+ :class="$store.contentNavDropdownIsOpen ? 'shadow-[1px_4px_5px_0px_rgba(50,50,93,0.10)]' : ''"
12
+ class="relative flex w-full h-10 mb-2 overflow-hidden bg-white border z-10002 border-blue-congress whitespace-nowrap text-blue-congress fill-congress" >
12
13
 
13
- <span class="text-base p-2 self-center w-full {{_componentClass}}__button-text">
14
+ <span class="self-center w-full p-2 text-base">
14
15
  {{_buttonText}}
15
16
  </span>
16
- <div class="flex self-center w-auto h-full px-2 py-1 border-l border-blue-congress">
17
- <span x-on:click="open = ! open;" :class="open ? 'hidden' : ''" class="flex self-center -open">
18
- {{~> components/base/image/icon _icon=(defaultIfEmpty _iconOpen "arrow-down") _addClass="flex justify-end h-4 w-4" _iconmap="icons"~}}
17
+ <div class="flex self-center w-auto h-full px-3 py-1 border-l border-blue-congress">
18
+ <span @click="$store.contentNavDropdownIsOpen = !$store.contentNavDropdownIsOpen"
19
+ :class="$store.contentNavDropdownIsOpen ? 'hidden' : ''"
20
+ class="flex self-center">
21
+
22
+ {{~> components/base/image/icon _icon=(defaultIfEmpty _iconOpen "arrow-down") _addClass="h-4 w-4" _iconmap="icons"~}}
23
+
19
24
  </span>
20
-
21
- <span x-on:click="open = ! open; $dispatch('resetinput')" :class="open ? '' : 'hidden'" class="flex self-center -close">
22
- {{~> components/base/image/icon _icon=(defaultIfEmpty _iconClose "arrow-up") _addClass="h-4 w-4" _iconmap="icons"~}}
25
+ <span @click="$store.contentNavDropdownIsOpen = !$store.contentNavDropdownIsOpen; $dispatch('resetinput')"
26
+ :class="$store.contentNavDropdownIsOpen ? '' : 'hidden'"
27
+ class="flex self-center">
28
+ {{~> components/base/image/icon _icon=(defaultIfEmpty _iconClose "arrow-up") _addClass="h-4 w-4" _iconmap="icons"~}}
23
29
  </span>
24
30
  </div>
25
-
26
31
  </div>
27
-
28
- <div x-show="shouldContentBeShown({{_teasersize}},{{this.isDropdown}},{{this.isMixed}})" aria-haspopup="true" class="p-0 m-0 md:relative md:left-0 md:h-auto md:overflow-visible">
32
+ <div x-show="shouldContentBeShown({{_teasersize}},{{this.isDropdown}},{{this.isMixed}})"
33
+ aria-haspopup="true"
34
+ class="p-0 m-0 z-10000 md:relative md:left-0 md:h-auto md:overflow-visible">
29
35
  {{> @partial-block }}
30
36
  </div>
31
37