hr-design-system-handlebars 0.47.18 → 0.47.19
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/.storybook/main.js +0 -1
- package/CHANGELOG.md +14 -0
- package/dist/assets/index.css +24 -156
- package/dist/views/components/site_header/header.hbs +7 -7
- package/dist/views/components/site_header/navigation_flyout/navigation_flyout.hbs +4 -4
- package/dist/views/components/site_header/navigation_search/quick_search_form.hbs +2 -2
- package/dist/views/components/site_header/service_navigation/service_list.hbs +1 -1
- package/dist/views/components/site_header/service_navigation/service_navigation_item.hbs +1 -1
- package/package.json +9 -9
- package/src/stories/views/components/site_header/header.hbs +7 -7
- package/src/stories/views/components/site_header/navigation_flyout/navigation_flyout.hbs +4 -4
- package/src/stories/views/components/site_header/navigation_search/quick_search_form.hbs +2 -2
- package/src/stories/views/components/site_header/service_navigation/service_list.hbs +1 -1
- package/src/stories/views/components/site_header/service_navigation/service_navigation_item.hbs +1 -1
- package/tailwind.config.js +3 -0
package/.storybook/main.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# v0.47.19 (Wed Jun 29 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- changes z-indexes to 10000 and above [#254](https://github.com/mumprod/hr-design-system-handlebars/pull/254) ([@StefanVesper](https://github.com/StefanVesper))
|
|
6
|
+
- Feature/dpe 1651 [#253](https://github.com/mumprod/hr-design-system-handlebars/pull/253) ([@szuelch](https://github.com/szuelch))
|
|
7
|
+
|
|
8
|
+
#### Authors: 2
|
|
9
|
+
|
|
10
|
+
- [@szuelch](https://github.com/szuelch)
|
|
11
|
+
- SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
1
15
|
# v0.47.18 (Tue Jun 28 2022)
|
|
2
16
|
|
|
3
17
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
|
|
347
347
|
/*! purgecss end ignore */
|
|
348
348
|
|
|
349
|
-
/*! tailwindcss v3.
|
|
349
|
+
/*! tailwindcss v3.1.4 | MIT License | https://tailwindcss.com */
|
|
350
350
|
|
|
351
351
|
/*
|
|
352
352
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
@@ -513,6 +513,7 @@ select,
|
|
|
513
513
|
textarea {
|
|
514
514
|
font-family: inherit; /* 1 */
|
|
515
515
|
font-size: 100%; /* 1 */
|
|
516
|
+
font-weight: inherit; /* 1 */
|
|
516
517
|
line-height: inherit; /* 1 */
|
|
517
518
|
color: inherit; /* 1 */
|
|
518
519
|
margin: 0; /* 2 */
|
|
@@ -732,14 +733,6 @@ video {
|
|
|
732
733
|
height: auto;
|
|
733
734
|
}
|
|
734
735
|
|
|
735
|
-
/*
|
|
736
|
-
Ensure the default browser behavior of the `hidden` attribute.
|
|
737
|
-
*/
|
|
738
|
-
|
|
739
|
-
[hidden] {
|
|
740
|
-
display: none;
|
|
741
|
-
}
|
|
742
|
-
|
|
743
736
|
@font-face {
|
|
744
737
|
font-family: 'DIN';
|
|
745
738
|
font-display: auto;
|
|
@@ -874,56 +867,18 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
874
867
|
|
|
875
868
|
@media (min-width: 1024px) {
|
|
876
869
|
.-currentBrand::before {
|
|
877
|
-
content: var(--tw-content);
|
|
878
870
|
position: absolute;
|
|
879
|
-
}
|
|
880
|
-
.-currentBrand::before {
|
|
881
|
-
content: var(--tw-content);
|
|
882
871
|
margin-top: 1.5rem;
|
|
883
|
-
}
|
|
884
|
-
.-currentBrand::before {
|
|
885
|
-
content: var(--tw-content);
|
|
886
872
|
height: 0px;
|
|
887
|
-
}
|
|
888
|
-
.-currentBrand::before {
|
|
889
|
-
content: var(--tw-content);
|
|
890
873
|
width: 0px;
|
|
891
|
-
}
|
|
892
|
-
.-currentBrand::before {
|
|
893
|
-
content: var(--tw-content);
|
|
894
874
|
border-top-width: 0px;
|
|
895
|
-
}
|
|
896
|
-
.-currentBrand::before {
|
|
897
|
-
content: var(--tw-content);
|
|
898
875
|
border-right-width: 8px;
|
|
899
|
-
}
|
|
900
|
-
.-currentBrand::before {
|
|
901
|
-
content: var(--tw-content);
|
|
902
876
|
border-left-width: 8px;
|
|
903
|
-
}
|
|
904
|
-
.-currentBrand::before {
|
|
905
|
-
content: var(--tw-content);
|
|
906
877
|
border-bottom-width: 8px;
|
|
907
|
-
}
|
|
908
|
-
.-currentBrand::before {
|
|
909
|
-
content: var(--tw-content);
|
|
910
|
-
--tw-border-opacity: 1;
|
|
911
878
|
border-color: rgba(0, 82, 147, var(--tw-border-opacity));
|
|
912
|
-
}
|
|
913
|
-
.-currentBrand::before {
|
|
914
|
-
content: var(--tw-content);
|
|
915
|
-
border-right-color: transparent;
|
|
916
|
-
}
|
|
917
|
-
.-currentBrand::before {
|
|
918
|
-
content: var(--tw-content);
|
|
919
879
|
--tw-border-opacity: 1;
|
|
920
880
|
border-left-color: rgba(255, 255, 255, var(--tw-border-opacity));
|
|
921
|
-
}
|
|
922
|
-
.-currentBrand::before {
|
|
923
|
-
content: var(--tw-content);
|
|
924
881
|
border-right-color: transparent;
|
|
925
|
-
}
|
|
926
|
-
.-currentBrand::before {
|
|
927
882
|
content: var(--tw-content);
|
|
928
883
|
border-left-color: #fff;
|
|
929
884
|
}
|
|
@@ -950,69 +905,22 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
950
905
|
|
|
951
906
|
@media (min-width: 1024px) {
|
|
952
907
|
.-currentService::before {
|
|
953
|
-
content: var(--tw-content);
|
|
954
908
|
position: absolute;
|
|
955
|
-
}
|
|
956
|
-
.-currentService::before {
|
|
957
|
-
content: var(--tw-content);
|
|
958
909
|
margin-right: 0px;
|
|
959
|
-
}
|
|
960
|
-
.-currentService::before {
|
|
961
|
-
content: var(--tw-content);
|
|
962
910
|
margin-top: 3rem;
|
|
963
|
-
}
|
|
964
|
-
.-currentService::before {
|
|
965
|
-
content: var(--tw-content);
|
|
966
911
|
display: -webkit-box;
|
|
967
912
|
display: -ms-flexbox;
|
|
968
913
|
display: flex;
|
|
969
|
-
}
|
|
970
|
-
.-currentService::before {
|
|
971
|
-
content: var(--tw-content);
|
|
972
914
|
height: 0px;
|
|
973
|
-
}
|
|
974
|
-
.-currentService::before {
|
|
975
|
-
content: var(--tw-content);
|
|
976
915
|
width: 0px;
|
|
977
|
-
}
|
|
978
|
-
.-currentService::before {
|
|
979
|
-
content: var(--tw-content);
|
|
980
916
|
border-top-width: 0px;
|
|
981
|
-
}
|
|
982
|
-
.-currentService::before {
|
|
983
|
-
content: var(--tw-content);
|
|
984
917
|
border-right-width: 8px;
|
|
985
|
-
}
|
|
986
|
-
.-currentService::before {
|
|
987
|
-
content: var(--tw-content);
|
|
988
918
|
border-left-width: 8px;
|
|
989
|
-
}
|
|
990
|
-
.-currentService::before {
|
|
991
|
-
content: var(--tw-content);
|
|
992
919
|
border-bottom-width: 8px;
|
|
993
|
-
}
|
|
994
|
-
.-currentService::before {
|
|
995
|
-
content: var(--tw-content);
|
|
996
|
-
border-right-color: transparent;
|
|
997
|
-
}
|
|
998
|
-
.-currentService::before {
|
|
999
|
-
content: var(--tw-content);
|
|
1000
|
-
border-left-color: transparent;
|
|
1001
|
-
}
|
|
1002
|
-
.-currentService::before {
|
|
1003
|
-
content: var(--tw-content);
|
|
1004
920
|
--tw-border-opacity: 1;
|
|
1005
921
|
border-bottom-color: rgba(255, 255, 255, var(--tw-border-opacity));
|
|
1006
|
-
}
|
|
1007
|
-
.-currentService::before {
|
|
1008
|
-
content: var(--tw-content);
|
|
1009
922
|
border-right-color: transparent;
|
|
1010
|
-
}
|
|
1011
|
-
.-currentService::before {
|
|
1012
|
-
content: var(--tw-content);
|
|
1013
923
|
border-left-color: transparent;
|
|
1014
|
-
}
|
|
1015
|
-
.-currentService::before {
|
|
1016
924
|
content: var(--tw-content);
|
|
1017
925
|
border-bottom-color: #fff;
|
|
1018
926
|
}
|
|
@@ -1038,71 +946,21 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1038
946
|
|
|
1039
947
|
@media (min-width: 1024px) {
|
|
1040
948
|
.-currentSection::before {
|
|
1041
|
-
content: var(--tw-content);
|
|
1042
949
|
position: absolute;
|
|
1043
|
-
}
|
|
1044
|
-
.-currentSection::before {
|
|
1045
|
-
content: var(--tw-content);
|
|
1046
950
|
margin-bottom: 0px;
|
|
1047
|
-
}
|
|
1048
|
-
.-currentSection::before {
|
|
1049
|
-
content: var(--tw-content);
|
|
1050
951
|
margin-right: 0px;
|
|
1051
|
-
}
|
|
1052
|
-
.-currentSection::before {
|
|
1053
|
-
content: var(--tw-content);
|
|
1054
952
|
margin-left: 0px;
|
|
1055
|
-
}
|
|
1056
|
-
.-currentSection::before {
|
|
1057
|
-
content: var(--tw-content);
|
|
1058
953
|
margin-top: 2rem;
|
|
1059
|
-
}
|
|
1060
|
-
.-currentSection::before {
|
|
1061
|
-
content: var(--tw-content);
|
|
1062
954
|
height: 0px;
|
|
1063
|
-
}
|
|
1064
|
-
.-currentSection::before {
|
|
1065
|
-
content: var(--tw-content);
|
|
1066
955
|
width: 0px;
|
|
1067
|
-
}
|
|
1068
|
-
.-currentSection::before {
|
|
1069
|
-
content: var(--tw-content);
|
|
1070
956
|
border-top-width: 0px;
|
|
1071
|
-
}
|
|
1072
|
-
.-currentSection::before {
|
|
1073
|
-
content: var(--tw-content);
|
|
1074
957
|
border-right-width: 8px;
|
|
1075
|
-
}
|
|
1076
|
-
.-currentSection::before {
|
|
1077
|
-
content: var(--tw-content);
|
|
1078
958
|
border-left-width: 8px;
|
|
1079
|
-
}
|
|
1080
|
-
.-currentSection::before {
|
|
1081
|
-
content: var(--tw-content);
|
|
1082
959
|
border-bottom-width: 8px;
|
|
1083
|
-
}
|
|
1084
|
-
.-currentSection::before {
|
|
1085
|
-
content: var(--tw-content);
|
|
1086
|
-
border-right-color: transparent;
|
|
1087
|
-
}
|
|
1088
|
-
.-currentSection::before {
|
|
1089
|
-
content: var(--tw-content);
|
|
1090
|
-
border-left-color: transparent;
|
|
1091
|
-
}
|
|
1092
|
-
.-currentSection::before {
|
|
1093
|
-
content: var(--tw-content);
|
|
1094
960
|
--tw-border-opacity: 1;
|
|
1095
961
|
border-bottom-color: rgba(255, 255, 255, var(--tw-border-opacity));
|
|
1096
|
-
}
|
|
1097
|
-
.-currentSection::before {
|
|
1098
|
-
content: var(--tw-content);
|
|
1099
962
|
border-right-color: transparent;
|
|
1100
|
-
}
|
|
1101
|
-
.-currentSection::before {
|
|
1102
|
-
content: var(--tw-content);
|
|
1103
963
|
border-left-color: transparent;
|
|
1104
|
-
}
|
|
1105
|
-
.-currentSection::before {
|
|
1106
964
|
content: var(--tw-content);
|
|
1107
965
|
border-bottom-color: #fff;
|
|
1108
966
|
}
|
|
@@ -1111,10 +969,15 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1111
969
|
.-warnung {
|
|
1112
970
|
--tw-text-opacity: 1 !important;
|
|
1113
971
|
color: rgba(220, 38, 38, var(--tw-text-opacity)) !important;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
.-warnung {
|
|
1114
975
|
fill: #000000;
|
|
1115
976
|
}
|
|
1116
977
|
|
|
1117
|
-
.-video-podcast,
|
|
978
|
+
.-video-podcast,
|
|
979
|
+
.-weather,
|
|
980
|
+
.-traffic {
|
|
1118
981
|
fill: #ffffff;
|
|
1119
982
|
}
|
|
1120
983
|
|
|
@@ -1502,14 +1365,14 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1502
1365
|
.top-10 {
|
|
1503
1366
|
top: 2.5rem;
|
|
1504
1367
|
}
|
|
1505
|
-
.z-
|
|
1506
|
-
z-index:
|
|
1368
|
+
.z-10000 {
|
|
1369
|
+
z-index: 10000;
|
|
1507
1370
|
}
|
|
1508
|
-
.z-
|
|
1509
|
-
z-index:
|
|
1371
|
+
.z-10002 {
|
|
1372
|
+
z-index: 10002;
|
|
1510
1373
|
}
|
|
1511
|
-
.z-
|
|
1512
|
-
z-index:
|
|
1374
|
+
.z-10001 {
|
|
1375
|
+
z-index: 10001;
|
|
1513
1376
|
}
|
|
1514
1377
|
.-z-1000 {
|
|
1515
1378
|
z-index: -1000;
|
|
@@ -1823,6 +1686,9 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1823
1686
|
.cursor-pointer {
|
|
1824
1687
|
cursor: pointer;
|
|
1825
1688
|
}
|
|
1689
|
+
.resize {
|
|
1690
|
+
resize: both;
|
|
1691
|
+
}
|
|
1826
1692
|
.list-none {
|
|
1827
1693
|
list-style-type: none;
|
|
1828
1694
|
}
|
|
@@ -2120,11 +1986,13 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2120
1986
|
}
|
|
2121
1987
|
.from-purple-50 {
|
|
2122
1988
|
--tw-gradient-from: #faf5ff;
|
|
2123
|
-
--tw-gradient-
|
|
1989
|
+
--tw-gradient-to: rgba(250, 245, 255, 0);
|
|
1990
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
2124
1991
|
}
|
|
2125
1992
|
.from-black {
|
|
2126
1993
|
--tw-gradient-from: #000000;
|
|
2127
|
-
--tw-gradient-
|
|
1994
|
+
--tw-gradient-to: rgba(0, 0, 0, 0);
|
|
1995
|
+
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
2128
1996
|
}
|
|
2129
1997
|
.to-purple-100 {
|
|
2130
1998
|
--tw-gradient-to: #f3e8ff;
|
|
@@ -2669,7 +2537,7 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2669
2537
|
content: '';
|
|
2670
2538
|
}
|
|
2671
2539
|
|
|
2672
|
-
|
|
2540
|
+
{
|
|
2673
2541
|
display: block;
|
|
2674
2542
|
content: '';
|
|
2675
2543
|
clear: both;
|
|
@@ -2696,8 +2564,8 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2696
2564
|
left: 0px;
|
|
2697
2565
|
}
|
|
2698
2566
|
|
|
2699
|
-
.md\:z-
|
|
2700
|
-
z-index:
|
|
2567
|
+
.md\:z-10000 {
|
|
2568
|
+
z-index: 10000;
|
|
2701
2569
|
}
|
|
2702
2570
|
|
|
2703
2571
|
.md\:order-2 {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div class="sb-main-navigation" x-data="mainNavigationHandler()" x-init="init()">
|
|
2
2
|
|
|
3
|
-
<header class="relative z-
|
|
3
|
+
<header class="relative z-10000 {{#if this.hasOpenSubNavigation}}lg:h-header-lg-big{{else}}lg:h-header-lg-small{{/if}} md:h-header-md h-header-sm">
|
|
4
4
|
<div x-data
|
|
5
5
|
id="headerWrapper"
|
|
6
6
|
@resize.window="resetNav()"
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
15
|
<div id="brandNavWrapper"
|
|
16
|
-
class="relative flex items-center justify-center order-1 w-full bg-white z-
|
|
16
|
+
class="relative flex items-center justify-center order-1 w-full bg-white z-10000 print:hidden">
|
|
17
17
|
{{> components/site_header/brand_navigation/brand_navigation }}
|
|
18
18
|
</div>
|
|
19
19
|
|
|
20
20
|
<div id="serviceNavWrapper"
|
|
21
21
|
:class="shouldServiceNavBeHidden() ? '-mt-40' : ''"
|
|
22
22
|
|
|
23
|
-
class="relative flex justify-center order-2 w-full transition-all duration-500 ease-in-out md:border-white lg:border-b bg-blue-congress z-
|
|
23
|
+
class="relative flex justify-center order-2 w-full transition-all duration-500 ease-in-out md:border-white lg:border-b bg-blue-congress z-10002">
|
|
24
24
|
<div id="serviceNavMainContainer"
|
|
25
|
-
class="flex w-full h-10 lg:container md:h-12 lg:px-10 lg:h-16 z-
|
|
25
|
+
class="flex w-full h-10 lg:container md:h-12 lg:px-10 lg:h-16 z-10001">
|
|
26
26
|
|
|
27
27
|
<span id="serviceNavHeadline" class="hidden print:hidden">Service Navigation</span>
|
|
28
28
|
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
x-ref="sectionnavigation"
|
|
55
55
|
@toggle-sectionnav.window="toggleSectionNav"
|
|
56
56
|
:class="shouldSectionNavBeHidden() ? '-mt-40 md:-mt-40 lg:-mt-40' : ''"
|
|
57
|
-
class="flex justify-center order-3 w-full overflow-hidden duration-500 transition-max-height lg:transition-margin-top lg:duration-500 tablet:absolute tablet:top-22 tablet:w-half-screen tablet:ml-half-screen max-h-0 lg:overflow-visible md:mt-0 lg:flex lg:max-h-full lg:h-auto bg-blue-congress z-
|
|
57
|
+
class="flex justify-center order-3 w-full overflow-hidden duration-500 transition-max-height lg:transition-margin-top lg:duration-500 tablet:absolute tablet:top-22 tablet:w-half-screen tablet:ml-half-screen max-h-0 lg:overflow-visible md:mt-0 lg:flex lg:max-h-full lg:h-auto bg-blue-congress z-10000 print:hidden"
|
|
58
58
|
>
|
|
59
59
|
{{> components/site_header/section_navigation/section_navigation }}
|
|
60
60
|
</div>
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
<div x-cloak :class="shouldServiceNavBeHidden() ? 'hidden -mt-40' : ''"
|
|
63
63
|
x-effect="$el.setAttribute('id', 'flyout-' + $store.searchID.current + '-2');$el.setAttribute('aria-expanded', $store.searchFieldOpen);$el.setAttribute('aria-hidden', !$store.searchFieldOpen);$el.setAttribute('aria-labelledby', 'flyout-' + $store.searchID.current + '-1')"
|
|
64
64
|
x-show="$store.searchFieldOpen"
|
|
65
|
-
class="sb-quick-search-flyout flex tablet:w-half-screen tablet:ml-half-screen justify-end order-4 w-full max-w-full p-2 px-5 py-3.5 bg-white drop-shadow-md md:mt-0 z-
|
|
65
|
+
class="sb-quick-search-flyout flex tablet:w-half-screen tablet:ml-half-screen justify-end order-4 w-full max-w-full p-2 px-5 py-3.5 bg-white drop-shadow-md md:mt-0 z-10002 lg:hidden print:hidden"
|
|
66
66
|
@search-close.window="$store.searchFieldOpen = false"
|
|
67
67
|
@click.outside="$store.searchFieldOpen = false; $dispatch('search-mobile-click-outside'); dropped = false; toggleScrolling(!$store.serviceNavIsOpensearchFieldOpen && !$store.burgeropen)"
|
|
68
68
|
x-transition:enter="transition ease-out duration-200"
|
|
@@ -80,6 +80,6 @@
|
|
|
80
80
|
|
|
81
81
|
</header>
|
|
82
82
|
<div x-ref="myOverlay">
|
|
83
|
-
<div x-cloak x-data="overlayHandler()" @click.debounce="overlayWasClicked()" x-show="shouldOverlayBeShown()" class="fixed top-0 left-0 w-screen h-screen bg-gray-800 z-
|
|
83
|
+
<div x-cloak x-data="overlayHandler()" @click.debounce="overlayWasClicked()" x-show="shouldOverlayBeShown()" class="fixed top-0 left-0 w-screen h-screen bg-gray-800 z-10000 lg:hidden opacity-70"></div>
|
|
84
84
|
</div>
|
|
85
85
|
</div>
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
{{#if ../_isSectionNav}} relative md:top-auto md:left-auto lg:mt-10 w-full transition-all duration-500 ease-in-out
|
|
12
12
|
{{#unless this.showAsFlyout}}
|
|
13
13
|
{{#if ../this.selected}}
|
|
14
|
-
isSelectedAndOpen lg:ml-0 z-
|
|
15
|
-
{{else}} z-
|
|
16
|
-
{{else}} z-
|
|
17
|
-
{{else}} z-
|
|
14
|
+
isSelectedAndOpen lg:ml-0 z-10000 lg:border-b lg:border-blue-congress lg:filter-none lg:left-0 flex justify-center
|
|
15
|
+
{{else}} z-10002 lg:left-auto lg:w-auto {{/if}}
|
|
16
|
+
{{else}} z-10002 lg:left-auto lg:w-auto {{/unless}}
|
|
17
|
+
{{else}} z-10002 lg:rounded-b absolute w-full top-10 left-0 md:w-80 lg:w-92 md:top-12 lg:px-4 md:mt-0 md:left-0 lg:top-15 lg:left-0 lg:pl-6 divide-y divide-gray-200 tablet:w-half-screen tablet:ml-half-screen tablet:right-0 tablet:left-auto {{/if}}
|
|
18
18
|
{{#if this.showAsFlyout}} lg:rounded-b lg:pl-4{{/if}}"
|
|
19
19
|
|
|
20
20
|
aria-labelledby="flyout-{{getRandom}}-1"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
role="search"
|
|
4
4
|
action="{{resourceUrl "suche/index.nocache"}}"
|
|
5
5
|
method="get"
|
|
6
|
-
class="sb-quick-search-form
|
|
6
|
+
class="flex w-full sb-quick-search-form md:justify-end lg:h-10"
|
|
7
7
|
>
|
|
8
8
|
<div
|
|
9
9
|
class="relative w-full lg:rounded-l"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
<button
|
|
66
66
|
aria-label='{{loca "search_input_aria_submit" }}'
|
|
67
67
|
type="submit"
|
|
68
|
-
class="pl-3 pr-2 rounded-r cursor-pointer link-focus-inset bg-blue-congress lg:bg-white text-blue-congress z-
|
|
68
|
+
class="pl-3 pr-2 rounded-r cursor-pointer link-focus-inset bg-blue-congress lg:bg-white text-blue-congress z-10002"
|
|
69
69
|
>
|
|
70
70
|
<svg class="w-6 h-6 text-white fill-current bg-blue-congress lg:fill-current lg:text-blue-congress lg:bg-white"
|
|
71
71
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@click.outside="$store.serviceNavIsOpen = false; toggleScrolling(!$store.searchFieldOpen && !$store.burgeropen)"
|
|
4
4
|
x-ref="serviceList"
|
|
5
5
|
:class="shouldServiceIconsBeHidden() ? '-mt-40' : ''"
|
|
6
|
-
class="absolute left-0 flex justify-center flex-initial w-full h-10 max-w-full align-top duration-500 ease-in-out border-t border-white sb-service-list transition-margin-top -z-1000 md:z-
|
|
6
|
+
class="absolute left-0 flex justify-center flex-initial w-full h-10 max-w-full align-top duration-500 ease-in-out border-t border-white sb-service-list transition-margin-top -z-1000 md:z-10000 md:h-12 top-10 bg-blue-congress md:border-0 md:top-auto md:w-auto md:left-auto md:static md:justify-end md:flex md:flex-auto lg:h-16 lg:pl-0 lg:pr-4 lg:w-3/4 "
|
|
7
7
|
>
|
|
8
8
|
{{#with this.serviceNavigationSSILinks}}
|
|
9
9
|
<ul class="flex justify-around w-full h-full -itemCount-{{ count }} lg:w-auto lg:justify-end lg:pt-1">
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<span class="sr-only lg:hidden">{{this.text}}</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
|
-
<div :class="dropped ? 'text-blue-congress fill-current' : 'text-white fill-white'" class="relative flex-row items-center justify-center hidden pt-px text-white lg:flex z-
|
|
38
|
+
<div :class="dropped ? 'text-blue-congress fill-current' : 'text-white fill-white'" class="relative flex-row items-center justify-center hidden pt-px text-white lg:flex z-10002">
|
|
39
39
|
<div class="flex" >
|
|
40
40
|
<span class="flex text-xs leading-4 whitespace-nowrap">
|
|
41
41
|
{{text}}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"repository": "https://github.com/szuelch/hr-design-system-handlebars",
|
|
9
|
-
"version": "0.47.
|
|
9
|
+
"version": "0.47.19",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -34,15 +34,14 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@babel/cli": "^7.13.16",
|
|
36
36
|
"@babel/core": "^7.12.10",
|
|
37
|
-
"@storybook/addon-a11y": "^6.
|
|
38
|
-
"@storybook/addon-actions": "^6.
|
|
39
|
-
"@storybook/addon-essentials": "^6.
|
|
40
|
-
"@storybook/addon-links": "^6.
|
|
37
|
+
"@storybook/addon-a11y": "^6.5.9",
|
|
38
|
+
"@storybook/addon-actions": "^6.5.9",
|
|
39
|
+
"@storybook/addon-essentials": "^6.5.9",
|
|
40
|
+
"@storybook/addon-links": "^6.5.9",
|
|
41
41
|
"@storybook/addon-postcss": "^2.0.0",
|
|
42
|
-
"@storybook/addons": "^6.
|
|
43
|
-
"@storybook/html": "^6.
|
|
44
|
-
"@storybook/theming": "^6.
|
|
45
|
-
"@whitespace/storybook-addon-html": "^5.0.0",
|
|
42
|
+
"@storybook/addons": "^6.5.9",
|
|
43
|
+
"@storybook/html": "^6.5.9",
|
|
44
|
+
"@storybook/theming": "^6.5.9",
|
|
46
45
|
"auto": "^10.26.0",
|
|
47
46
|
"autoprefixer": "^10.4.2",
|
|
48
47
|
"babel-loader": "^8.2.2",
|
|
@@ -69,6 +68,7 @@
|
|
|
69
68
|
"postcss-preset-env": "^7.3.1",
|
|
70
69
|
"prettier": "^2.2.1",
|
|
71
70
|
"rimraf": "^3.0.2",
|
|
71
|
+
"storybook": "^6.5.9",
|
|
72
72
|
"storybook-conditional-toolbar-selector": "^1.0.3",
|
|
73
73
|
"tailwindcss": "^3.0.23",
|
|
74
74
|
"tailwindcss-important": "^1.0.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div class="sb-main-navigation" x-data="mainNavigationHandler()" x-init="init()">
|
|
2
2
|
|
|
3
|
-
<header class="relative z-
|
|
3
|
+
<header class="relative z-10000 {{#if this.hasOpenSubNavigation}}lg:h-header-lg-big{{else}}lg:h-header-lg-small{{/if}} md:h-header-md h-header-sm">
|
|
4
4
|
<div x-data
|
|
5
5
|
id="headerWrapper"
|
|
6
6
|
@resize.window="resetNav()"
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
15
|
<div id="brandNavWrapper"
|
|
16
|
-
class="relative flex items-center justify-center order-1 w-full bg-white z-
|
|
16
|
+
class="relative flex items-center justify-center order-1 w-full bg-white z-10000 print:hidden">
|
|
17
17
|
{{> components/site_header/brand_navigation/brand_navigation }}
|
|
18
18
|
</div>
|
|
19
19
|
|
|
20
20
|
<div id="serviceNavWrapper"
|
|
21
21
|
:class="shouldServiceNavBeHidden() ? '-mt-40' : ''"
|
|
22
22
|
|
|
23
|
-
class="relative flex justify-center order-2 w-full transition-all duration-500 ease-in-out md:border-white lg:border-b bg-blue-congress z-
|
|
23
|
+
class="relative flex justify-center order-2 w-full transition-all duration-500 ease-in-out md:border-white lg:border-b bg-blue-congress z-10002">
|
|
24
24
|
<div id="serviceNavMainContainer"
|
|
25
|
-
class="flex w-full h-10 lg:container md:h-12 lg:px-10 lg:h-16 z-
|
|
25
|
+
class="flex w-full h-10 lg:container md:h-12 lg:px-10 lg:h-16 z-10001">
|
|
26
26
|
|
|
27
27
|
<span id="serviceNavHeadline" class="hidden print:hidden">Service Navigation</span>
|
|
28
28
|
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
x-ref="sectionnavigation"
|
|
55
55
|
@toggle-sectionnav.window="toggleSectionNav"
|
|
56
56
|
:class="shouldSectionNavBeHidden() ? '-mt-40 md:-mt-40 lg:-mt-40' : ''"
|
|
57
|
-
class="flex justify-center order-3 w-full overflow-hidden duration-500 transition-max-height lg:transition-margin-top lg:duration-500 tablet:absolute tablet:top-22 tablet:w-half-screen tablet:ml-half-screen max-h-0 lg:overflow-visible md:mt-0 lg:flex lg:max-h-full lg:h-auto bg-blue-congress z-
|
|
57
|
+
class="flex justify-center order-3 w-full overflow-hidden duration-500 transition-max-height lg:transition-margin-top lg:duration-500 tablet:absolute tablet:top-22 tablet:w-half-screen tablet:ml-half-screen max-h-0 lg:overflow-visible md:mt-0 lg:flex lg:max-h-full lg:h-auto bg-blue-congress z-10000 print:hidden"
|
|
58
58
|
>
|
|
59
59
|
{{> components/site_header/section_navigation/section_navigation }}
|
|
60
60
|
</div>
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
<div x-cloak :class="shouldServiceNavBeHidden() ? 'hidden -mt-40' : ''"
|
|
63
63
|
x-effect="$el.setAttribute('id', 'flyout-' + $store.searchID.current + '-2');$el.setAttribute('aria-expanded', $store.searchFieldOpen);$el.setAttribute('aria-hidden', !$store.searchFieldOpen);$el.setAttribute('aria-labelledby', 'flyout-' + $store.searchID.current + '-1')"
|
|
64
64
|
x-show="$store.searchFieldOpen"
|
|
65
|
-
class="sb-quick-search-flyout flex tablet:w-half-screen tablet:ml-half-screen justify-end order-4 w-full max-w-full p-2 px-5 py-3.5 bg-white drop-shadow-md md:mt-0 z-
|
|
65
|
+
class="sb-quick-search-flyout flex tablet:w-half-screen tablet:ml-half-screen justify-end order-4 w-full max-w-full p-2 px-5 py-3.5 bg-white drop-shadow-md md:mt-0 z-10002 lg:hidden print:hidden"
|
|
66
66
|
@search-close.window="$store.searchFieldOpen = false"
|
|
67
67
|
@click.outside="$store.searchFieldOpen = false; $dispatch('search-mobile-click-outside'); dropped = false; toggleScrolling(!$store.serviceNavIsOpensearchFieldOpen && !$store.burgeropen)"
|
|
68
68
|
x-transition:enter="transition ease-out duration-200"
|
|
@@ -80,6 +80,6 @@
|
|
|
80
80
|
|
|
81
81
|
</header>
|
|
82
82
|
<div x-ref="myOverlay">
|
|
83
|
-
<div x-cloak x-data="overlayHandler()" @click.debounce="overlayWasClicked()" x-show="shouldOverlayBeShown()" class="fixed top-0 left-0 w-screen h-screen bg-gray-800 z-
|
|
83
|
+
<div x-cloak x-data="overlayHandler()" @click.debounce="overlayWasClicked()" x-show="shouldOverlayBeShown()" class="fixed top-0 left-0 w-screen h-screen bg-gray-800 z-10000 lg:hidden opacity-70"></div>
|
|
84
84
|
</div>
|
|
85
85
|
</div>
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
{{#if ../_isSectionNav}} relative md:top-auto md:left-auto lg:mt-10 w-full transition-all duration-500 ease-in-out
|
|
12
12
|
{{#unless this.showAsFlyout}}
|
|
13
13
|
{{#if ../this.selected}}
|
|
14
|
-
isSelectedAndOpen lg:ml-0 z-
|
|
15
|
-
{{else}} z-
|
|
16
|
-
{{else}} z-
|
|
17
|
-
{{else}} z-
|
|
14
|
+
isSelectedAndOpen lg:ml-0 z-10000 lg:border-b lg:border-blue-congress lg:filter-none lg:left-0 flex justify-center
|
|
15
|
+
{{else}} z-10002 lg:left-auto lg:w-auto {{/if}}
|
|
16
|
+
{{else}} z-10002 lg:left-auto lg:w-auto {{/unless}}
|
|
17
|
+
{{else}} z-10002 lg:rounded-b absolute w-full top-10 left-0 md:w-80 lg:w-92 md:top-12 lg:px-4 md:mt-0 md:left-0 lg:top-15 lg:left-0 lg:pl-6 divide-y divide-gray-200 tablet:w-half-screen tablet:ml-half-screen tablet:right-0 tablet:left-auto {{/if}}
|
|
18
18
|
{{#if this.showAsFlyout}} lg:rounded-b lg:pl-4{{/if}}"
|
|
19
19
|
|
|
20
20
|
aria-labelledby="flyout-{{getRandom}}-1"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
role="search"
|
|
4
4
|
action="{{resourceUrl "suche/index.nocache"}}"
|
|
5
5
|
method="get"
|
|
6
|
-
class="sb-quick-search-form
|
|
6
|
+
class="flex w-full sb-quick-search-form md:justify-end lg:h-10"
|
|
7
7
|
>
|
|
8
8
|
<div
|
|
9
9
|
class="relative w-full lg:rounded-l"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
<button
|
|
66
66
|
aria-label='{{loca "search_input_aria_submit" }}'
|
|
67
67
|
type="submit"
|
|
68
|
-
class="pl-3 pr-2 rounded-r cursor-pointer link-focus-inset bg-blue-congress lg:bg-white text-blue-congress z-
|
|
68
|
+
class="pl-3 pr-2 rounded-r cursor-pointer link-focus-inset bg-blue-congress lg:bg-white text-blue-congress z-10002"
|
|
69
69
|
>
|
|
70
70
|
<svg class="w-6 h-6 text-white fill-current bg-blue-congress lg:fill-current lg:text-blue-congress lg:bg-white"
|
|
71
71
|
xmlns="http://www.w3.org/2000/svg"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@click.outside="$store.serviceNavIsOpen = false; toggleScrolling(!$store.searchFieldOpen && !$store.burgeropen)"
|
|
4
4
|
x-ref="serviceList"
|
|
5
5
|
:class="shouldServiceIconsBeHidden() ? '-mt-40' : ''"
|
|
6
|
-
class="absolute left-0 flex justify-center flex-initial w-full h-10 max-w-full align-top duration-500 ease-in-out border-t border-white sb-service-list transition-margin-top -z-1000 md:z-
|
|
6
|
+
class="absolute left-0 flex justify-center flex-initial w-full h-10 max-w-full align-top duration-500 ease-in-out border-t border-white sb-service-list transition-margin-top -z-1000 md:z-10000 md:h-12 top-10 bg-blue-congress md:border-0 md:top-auto md:w-auto md:left-auto md:static md:justify-end md:flex md:flex-auto lg:h-16 lg:pl-0 lg:pr-4 lg:w-3/4 "
|
|
7
7
|
>
|
|
8
8
|
{{#with this.serviceNavigationSSILinks}}
|
|
9
9
|
<ul class="flex justify-around w-full h-full -itemCount-{{ count }} lg:w-auto lg:justify-end lg:pt-1">
|
package/src/stories/views/components/site_header/service_navigation/service_navigation_item.hbs
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<span class="sr-only lg:hidden">{{this.text}}</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
|
-
<div :class="dropped ? 'text-blue-congress fill-current' : 'text-white fill-white'" class="relative flex-row items-center justify-center hidden pt-px text-white lg:flex z-
|
|
38
|
+
<div :class="dropped ? 'text-blue-congress fill-current' : 'text-white fill-white'" class="relative flex-row items-center justify-center hidden pt-px text-white lg:flex z-10002">
|
|
39
39
|
<div class="flex" >
|
|
40
40
|
<span class="flex text-xs leading-4 whitespace-nowrap">
|
|
41
41
|
{{text}}
|