hr-design-system-handlebars 0.56.0 → 0.56.3
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/CHANGELOG.md +36 -0
- package/dist/assets/index.css +40 -36
- package/dist/assets/js/views/components/mediaplayer/mediaplayerLoader.feature.js +1 -1
- package/dist/views/components/base/load_dynamic.hbs +3 -0
- package/dist/views/components/content_nav/content_nav.hbs +5 -1
- package/dist/views/components/content_nav/content_nav_item.hbs +11 -7
- package/dist/views/components/content_nav/content_nav_list.hbs +6 -7
- package/dist/views/components/content_nav/dropdown.hbs +3 -3
- package/dist/views/components/mediaplayer/mediaplayerLoader.feature.js +1 -1
- package/package.json +1 -1
- package/src/assets/fixtures/teaser/teaser_content_nav_dropdown_100.json +28 -27
- package/src/assets/fixtures/teaser/teaser_content_nav_dropdown_autosuggest_100.json +1 -0
- package/src/assets/fixtures/teaser/teaser_content_nav_dropdown_subgroups.json +218 -0
- package/src/assets/fixtures/teaser/teaser_content_nav_flow_100.json +183 -0
- package/src/assets/fixtures/teaser/teaser_content_nav_list_100.json +1 -1
- package/src/assets/fixtures/teaser/teaser_content_nav_mixed_100.json +1 -0
- package/src/assets/fixtures/teaser/teaser_content_nav_mixed_autosuggest.json +1 -0
- package/src/assets/fixtures/teaser/teaser_group_100_contentnav.json +4 -0
- package/src/assets/fixtures/teaser/teaser_groups.inc.json +26 -0
- package/src/stories/views/components/base/load_dynamic.hbs +3 -0
- package/src/stories/views/components/content_nav/content_nav.hbs +5 -1
- package/src/stories/views/components/content_nav/content_nav_item.hbs +11 -7
- package/src/stories/views/components/content_nav/content_nav_list.hbs +6 -7
- package/src/stories/views/components/content_nav/dropdown.hbs +3 -3
- package/src/stories/views/components/mediaplayer/mediaplayerLoader.feature.js +1 -1
- package/src/stories/views/components/teaser/content_nav/teaser_content_nav.stories.mdx +10 -1
- package/src/stories/views/components/teaser/fixtures/teaser_content_nav_dropdown_100.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_content_nav_dropdown_autosuggest_100.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_content_nav_dropdown_subgroups.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_content_nav_flow_100.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_content_nav_list_100.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_content_nav_mixed_100.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_content_nav_mixed_autosuggest.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_group_100_contentNav.json +1 -0
- package/src/stories/views/components/teaser/group_teaser/group.stories.mdx +9 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,39 @@
|
|
|
1
|
+
# v0.56.3 (Tue Aug 30 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Content nav part6 [#308](https://github.com/mumprod/hr-design-system-handlebars/pull/308) ([@StefanVesper](https://github.com/StefanVesper))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v0.56.2 (Tue Aug 30 2022)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- BUGFIX: mediaPlayerButton is selected correctly. [#307](https://github.com/mumprod/hr-design-system-handlebars/pull/307) ([@szuelch](https://github.com/szuelch))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- [@szuelch](https://github.com/szuelch)
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
# v0.56.1 (Tue Aug 30 2022)
|
|
26
|
+
|
|
27
|
+
#### 🐛 Bug Fix
|
|
28
|
+
|
|
29
|
+
- first try with groups, diverse changes in css, adds load_dynamic for … [#306](https://github.com/mumprod/hr-design-system-handlebars/pull/306) ([@StefanVesper](https://github.com/StefanVesper))
|
|
30
|
+
|
|
31
|
+
#### Authors: 1
|
|
32
|
+
|
|
33
|
+
- SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
1
37
|
# v0.56.0 (Tue Aug 30 2022)
|
|
2
38
|
|
|
3
39
|
#### 🚀 Enhancement
|
package/dist/assets/index.css
CHANGED
|
@@ -725,11 +725,14 @@ video {
|
|
|
725
725
|
.\!mt-4 {
|
|
726
726
|
margin-top: 1rem !important;
|
|
727
727
|
}
|
|
728
|
+
.\!mb-0 {
|
|
729
|
+
margin-bottom: 0px !important;
|
|
730
|
+
}
|
|
728
731
|
.mb-2 {
|
|
729
732
|
margin-bottom: 0.5rem;
|
|
730
733
|
}
|
|
731
|
-
.\!
|
|
732
|
-
margin-
|
|
734
|
+
.\!mr-2 {
|
|
735
|
+
margin-right: 0.5rem !important;
|
|
733
736
|
}
|
|
734
737
|
.mr-2 {
|
|
735
738
|
margin-right: 0.5rem;
|
|
@@ -831,12 +834,12 @@ video {
|
|
|
831
834
|
.h-4 {
|
|
832
835
|
height: 1rem;
|
|
833
836
|
}
|
|
834
|
-
.h-full {
|
|
835
|
-
height: 100%;
|
|
836
|
-
}
|
|
837
837
|
.h-auto {
|
|
838
838
|
height: auto;
|
|
839
839
|
}
|
|
840
|
+
.h-full {
|
|
841
|
+
height: 100%;
|
|
842
|
+
}
|
|
840
843
|
.h-0\.5 {
|
|
841
844
|
height: 0.125rem;
|
|
842
845
|
}
|
|
@@ -888,6 +891,11 @@ video {
|
|
|
888
891
|
.\!w-full {
|
|
889
892
|
width: 100% !important;
|
|
890
893
|
}
|
|
894
|
+
.\!w-fit {
|
|
895
|
+
width: -webkit-fit-content !important;
|
|
896
|
+
width: -moz-fit-content !important;
|
|
897
|
+
width: fit-content !important;
|
|
898
|
+
}
|
|
891
899
|
.w-fit {
|
|
892
900
|
width: -webkit-fit-content;
|
|
893
901
|
width: -moz-fit-content;
|
|
@@ -1155,18 +1163,9 @@ video {
|
|
|
1155
1163
|
.rounded-xl {
|
|
1156
1164
|
border-radius: 0.75rem;
|
|
1157
1165
|
}
|
|
1158
|
-
.\!rounded-none {
|
|
1159
|
-
border-radius: 0px !important;
|
|
1160
|
-
}
|
|
1161
|
-
.rounded-none {
|
|
1162
|
-
border-radius: 0px;
|
|
1163
|
-
}
|
|
1164
1166
|
.rounded {
|
|
1165
1167
|
border-radius: 0.25rem;
|
|
1166
1168
|
}
|
|
1167
|
-
.rounded-sm {
|
|
1168
|
-
border-radius: 0.125rem;
|
|
1169
|
-
}
|
|
1170
1169
|
.rounded-t-xl {
|
|
1171
1170
|
border-top-left-radius: 0.75rem;
|
|
1172
1171
|
border-top-right-radius: 0.75rem;
|
|
@@ -1290,6 +1289,10 @@ video {
|
|
|
1290
1289
|
--tw-bg-opacity: 1;
|
|
1291
1290
|
background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
|
|
1292
1291
|
}
|
|
1292
|
+
.bg-gray-200 {
|
|
1293
|
+
--tw-bg-opacity: 1;
|
|
1294
|
+
background-color: rgba(229, 231, 235, var(--tw-bg-opacity));
|
|
1295
|
+
}
|
|
1293
1296
|
.bg-gray-500 {
|
|
1294
1297
|
--tw-bg-opacity: 1;
|
|
1295
1298
|
background-color: rgba(107, 114, 128, var(--tw-bg-opacity));
|
|
@@ -1407,6 +1410,9 @@ video {
|
|
|
1407
1410
|
.p-2 {
|
|
1408
1411
|
padding: 0.5rem;
|
|
1409
1412
|
}
|
|
1413
|
+
.p-0 {
|
|
1414
|
+
padding: 0px;
|
|
1415
|
+
}
|
|
1410
1416
|
.px-4 {
|
|
1411
1417
|
padding-left: 1rem;
|
|
1412
1418
|
padding-right: 1rem;
|
|
@@ -1435,6 +1441,10 @@ video {
|
|
|
1435
1441
|
padding-left: 0.75rem;
|
|
1436
1442
|
padding-right: 0.75rem;
|
|
1437
1443
|
}
|
|
1444
|
+
.\!px-0 {
|
|
1445
|
+
padding-left: 0px !important;
|
|
1446
|
+
padding-right: 0px !important;
|
|
1447
|
+
}
|
|
1438
1448
|
.px-2 {
|
|
1439
1449
|
padding-left: 0.5rem;
|
|
1440
1450
|
padding-right: 0.5rem;
|
|
@@ -1676,6 +1686,10 @@ video {
|
|
|
1676
1686
|
--tw-text-opacity: 1;
|
|
1677
1687
|
color: rgba(0, 82, 147, var(--tw-text-opacity));
|
|
1678
1688
|
}
|
|
1689
|
+
.text-black {
|
|
1690
|
+
--tw-text-opacity: 1;
|
|
1691
|
+
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
1692
|
+
}
|
|
1679
1693
|
.text-orange-spicyCarrot {
|
|
1680
1694
|
--tw-text-opacity: 1;
|
|
1681
1695
|
color: rgba(211, 70, 0, var(--tw-text-opacity));
|
|
@@ -1684,10 +1698,6 @@ video {
|
|
|
1684
1698
|
--tw-text-opacity: 1;
|
|
1685
1699
|
color: rgba(39, 107, 158, var(--tw-text-opacity));
|
|
1686
1700
|
}
|
|
1687
|
-
.text-black {
|
|
1688
|
-
--tw-text-opacity: 1;
|
|
1689
|
-
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
1690
|
-
}
|
|
1691
1701
|
.text-blue-science {
|
|
1692
1702
|
--tw-text-opacity: 1;
|
|
1693
1703
|
color: rgba(0, 109, 193, var(--tw-text-opacity));
|
|
@@ -1860,7 +1870,7 @@ video {
|
|
|
1860
1870
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
1861
1871
|
}
|
|
1862
1872
|
.counter-reset {
|
|
1863
|
-
counter-reset:
|
|
1873
|
+
counter-reset: cnt1661869902290;
|
|
1864
1874
|
}
|
|
1865
1875
|
.placeholder-text-xs::-webkit-input-placeholder {
|
|
1866
1876
|
font-size: 0.75rem;
|
|
@@ -2243,7 +2253,7 @@ video {
|
|
|
2243
2253
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
2244
2254
|
}
|
|
2245
2255
|
.-ordered {
|
|
2246
|
-
counter-increment:
|
|
2256
|
+
counter-increment: cnt1661869902290 1;
|
|
2247
2257
|
}
|
|
2248
2258
|
.-ordered::before {
|
|
2249
2259
|
position: absolute;
|
|
@@ -2260,7 +2270,7 @@ video {
|
|
|
2260
2270
|
letter-spacing: .0125em;
|
|
2261
2271
|
--tw-text-opacity: 1;
|
|
2262
2272
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
2263
|
-
content: counter(
|
|
2273
|
+
content: counter(cnt1661869902290);
|
|
2264
2274
|
}
|
|
2265
2275
|
/*! purgecss start ignore */
|
|
2266
2276
|
:root,
|
|
@@ -2637,9 +2647,6 @@ video {
|
|
|
2637
2647
|
.first\:font-bold:first-child {
|
|
2638
2648
|
font-weight: 700;
|
|
2639
2649
|
}
|
|
2640
|
-
.last\:mb-0:last-child {
|
|
2641
|
-
margin-bottom: 0px;
|
|
2642
|
-
}
|
|
2643
2650
|
.last\:border-b-0:last-child {
|
|
2644
2651
|
border-bottom-width: 0px;
|
|
2645
2652
|
}
|
|
@@ -2819,10 +2826,6 @@ video {
|
|
|
2819
2826
|
margin-right: 0px !important;
|
|
2820
2827
|
}
|
|
2821
2828
|
|
|
2822
|
-
.md\:\!mr-2 {
|
|
2823
|
-
margin-right: 0.5rem !important;
|
|
2824
|
-
}
|
|
2825
|
-
|
|
2826
2829
|
.md\:\!mb-2 {
|
|
2827
2830
|
margin-bottom: 0.5rem !important;
|
|
2828
2831
|
}
|
|
@@ -2831,6 +2834,10 @@ video {
|
|
|
2831
2834
|
margin-right: 0.5rem;
|
|
2832
2835
|
}
|
|
2833
2836
|
|
|
2837
|
+
.md\:\!mr-2 {
|
|
2838
|
+
margin-right: 0.5rem !important;
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2834
2841
|
.md\:mt-0 {
|
|
2835
2842
|
margin-top: 0px;
|
|
2836
2843
|
}
|
|
@@ -2970,10 +2977,6 @@ video {
|
|
|
2970
2977
|
overflow: visible;
|
|
2971
2978
|
}
|
|
2972
2979
|
|
|
2973
|
-
.md\:\!rounded {
|
|
2974
|
-
border-radius: 0.25rem !important;
|
|
2975
|
-
}
|
|
2976
|
-
|
|
2977
2980
|
.md\:rounded-none {
|
|
2978
2981
|
border-radius: 0px;
|
|
2979
2982
|
}
|
|
@@ -3022,6 +3025,11 @@ video {
|
|
|
3022
3025
|
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
|
|
3023
3026
|
}
|
|
3024
3027
|
|
|
3028
|
+
.md\:\!px-0 {
|
|
3029
|
+
padding-left: 0px !important;
|
|
3030
|
+
padding-right: 0px !important;
|
|
3031
|
+
}
|
|
3032
|
+
|
|
3025
3033
|
.md\:px-0 {
|
|
3026
3034
|
padding-left: 0px;
|
|
3027
3035
|
padding-right: 0px;
|
|
@@ -3147,10 +3155,6 @@ video {
|
|
|
3147
3155
|
}
|
|
3148
3156
|
}
|
|
3149
3157
|
|
|
3150
|
-
.md\:last\:mb-2:last-child {
|
|
3151
|
-
margin-bottom: 0.5rem;
|
|
3152
|
-
}
|
|
3153
|
-
|
|
3154
3158
|
.md\:first-of-type\:pt-0:first-of-type {
|
|
3155
3159
|
padding-top: 0px;
|
|
3156
3160
|
}
|
|
@@ -9,7 +9,7 @@ const MediaplayerLoader = function (context) {
|
|
|
9
9
|
{ element: rootElement } = context,
|
|
10
10
|
isAutoplay = options.isAutoplay,
|
|
11
11
|
teaserSize = options.teaserSize,
|
|
12
|
-
mediaplayerButton = hr$('.js-mediaplayer__button', rootElement)[0]
|
|
12
|
+
mediaplayerButton = hr$('.js-mediaplayer__button', rootElement.parentNode)[0]
|
|
13
13
|
|
|
14
14
|
const removeVideoHover = function () {
|
|
15
15
|
rootElement.parentNode.parentNode.classList.remove('-imageHover')
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
{{#switch _templatePath}}
|
|
2
|
+
{{#case "components/teaser/content_nav/teaser_content_nav"}}
|
|
3
|
+
{{> components/teaser/content_nav/teaser_content_nav}}
|
|
4
|
+
{{/case}}
|
|
2
5
|
{{#case "components/site_header/service_navigation/service_navigation_item"}}
|
|
3
6
|
{{> components/site_header/service_navigation/service_navigation_item}}
|
|
4
7
|
{{/case}}
|
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
<nav class="c-content-nav {{../_modifier}} ">
|
|
4
4
|
{{> components/content_nav/content_nav_list _teasersize=../_teasersize}}
|
|
5
5
|
</nav>
|
|
6
|
-
{{else}}
|
|
6
|
+
{{else if this.isFlow}}
|
|
7
|
+
<nav class="c-content-nav {{../_modifier}} ">
|
|
8
|
+
{{> components/content_nav/content_nav_list _teasersize=../_teasersize}}
|
|
9
|
+
</nav>
|
|
10
|
+
{{else}}
|
|
7
11
|
{{#>components/content_nav/dropdown
|
|
8
12
|
_componentClass="c-content-nav"
|
|
9
13
|
_teasersize=../_teasersize
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
<li :class="{{_isdropdown}} ? '!w-full md:!w-full
|
|
2
|
-
: {{_ismixed}} && {{_teasersize}} >= 66 ? '!w-full md:!w-fit
|
|
3
|
-
: {{_ismixed}} && {{_teasersize}} <= 50 ? '!w-full
|
|
4
|
-
: {{_islist}} ? 'border
|
|
1
|
+
<li :class="{{_isdropdown}} ? '!w-full md:!w-full md:mb-0 md:!mr-0 border-l-0 border-r-0 border-t-0 border-b last:border-b-0'
|
|
2
|
+
: {{_ismixed}} && {{_teasersize}} >= 66 ? '!w-full md:!w-fit !mb-0 md:!mb-2 md:mr-2 border-l-0 border-r-0 border-t-0 border-b last:border-b-0 md:!border'
|
|
3
|
+
: {{_ismixed}} && {{_teasersize}} <= 50 ? '!w-full !mb-0 border-b last:border-b-0'
|
|
4
|
+
: {{_islist}} && {{_teasersize}} == 100 ? 'border mb-2 md:!mr-2 '
|
|
5
|
+
: {{_islist}} && {{_teasersize}} == 66 ? 'border mb-2 !mr-2 '
|
|
6
|
+
: {{_islist}} && {{_teasersize}} <= 50 ? 'border mb-2 md:!mr-2'
|
|
7
|
+
: {{_isflow}} ? '!w-fit !mr-2 border mb-2'
|
|
5
8
|
: '' "
|
|
6
|
-
|
|
9
|
+
|
|
10
|
+
class="{{inline-switch _teasersize '["100","66","50","33","25"]' '["w-full md:w-fit","w-fit","w-full","w-full","w-full"]'}} 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">
|
|
7
11
|
{{#>components/base/link.hbs
|
|
8
12
|
_doNavigationTracking="true"
|
|
9
13
|
_clickLabelType="Contentnavigation"
|
|
10
14
|
_clickLabelPrefix1=this.title
|
|
11
|
-
_css="flex items-center py-2 px-4 h-8 bg-white hover:bg-blue-congress
|
|
15
|
+
_css="flex items-center py-2 px-4 h-8 bg-white hover:bg-blue-congress whitespace-nowrap overflow-hidden"
|
|
12
16
|
_isSelected=this.isSelected
|
|
13
17
|
_selectedCssClass="is-selected"
|
|
14
18
|
}}
|
|
@@ -24,4 +28,4 @@ class="{{inline-switch _teasersize '["100","66","50","33","25"]' '["w-full md:w-
|
|
|
24
28
|
{{/if}}
|
|
25
29
|
|
|
26
30
|
{{/components/base/link.hbs}}
|
|
27
|
-
</li>
|
|
31
|
+
</li>
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
<ul
|
|
2
|
-
|
|
3
|
-
class="flex flex-wrap w-full m-0 last:border-b-0">
|
|
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">
|
|
4
3
|
|
|
5
4
|
{{~#each this.contentNavEntries~}}
|
|
6
5
|
|
|
@@ -8,11 +7,11 @@
|
|
|
8
7
|
|
|
9
8
|
{{#if ../isDropdown}}
|
|
10
9
|
|
|
11
|
-
<li class="c-content-nav__group">
|
|
12
|
-
<div class="c-content-nav__group-title">{{this.title}}</div>
|
|
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>
|
|
13
12
|
<ul class="c-content-nav__group-list">
|
|
14
13
|
{{~#each this.navigationGroup~}}
|
|
15
|
-
{{> components/content_nav/content_nav_item }}
|
|
14
|
+
{{> components/content_nav/content_nav_item _teasersize=../../_teasersize _isdropdown=../../isDropdown _ismixed=../../isMixed _islist=../../isList _isflow=../../isFlow}}
|
|
16
15
|
{{~/each~}}
|
|
17
16
|
</ul>
|
|
18
17
|
</li>
|
|
@@ -20,7 +19,7 @@
|
|
|
20
19
|
{{/if}}
|
|
21
20
|
{{else}}
|
|
22
21
|
|
|
23
|
-
{{> components/content_nav/content_nav_item _teasersize=../_teasersize _isdropdown=../isDropdown _ismixed=../isMixed _islist=../isList}}
|
|
22
|
+
{{> components/content_nav/content_nav_item _teasersize=../_teasersize _isdropdown=../isDropdown _ismixed=../isMixed _islist=../isList _isflow=../isFlow}}
|
|
24
23
|
|
|
25
24
|
{{~/if~}}
|
|
26
25
|
{{~/each~}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<nav
|
|
2
|
-
class="w-full {{_componentClass}} {{_modifier}} "
|
|
2
|
+
class="w-full px-2 md:px-0 {{_componentClass}} {{_modifier}} "
|
|
3
3
|
id="dropdown--{{nextRandom}}"
|
|
4
4
|
tabindex="0"
|
|
5
5
|
role="navigation"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<span id="o-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
|
|
11
|
+
class="flex w-full h-8 overflow-hidden bg-white border border-blue-congress whitespace-nowrap text-blue-congress fill-congress" >
|
|
12
12
|
|
|
13
13
|
<span class="text-base p-2 self-center w-full {{_componentClass}}__button-text">
|
|
14
14
|
{{_buttonText}}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
</div>
|
|
27
27
|
|
|
28
|
-
<div x-show="shouldContentBeShown({{_teasersize}},{{this.isDropdown}},{{this.isMixed}})" aria-haspopup="true" class="md:relative md:left-0 md:h-auto md:overflow-visible">
|
|
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">
|
|
29
29
|
{{> @partial-block }}
|
|
30
30
|
</div>
|
|
31
31
|
|
|
@@ -9,7 +9,7 @@ const MediaplayerLoader = function (context) {
|
|
|
9
9
|
{ element: rootElement } = context,
|
|
10
10
|
isAutoplay = options.isAutoplay,
|
|
11
11
|
teaserSize = options.teaserSize,
|
|
12
|
-
mediaplayerButton = hr$('.js-mediaplayer__button', rootElement)[0]
|
|
12
|
+
mediaplayerButton = hr$('.js-mediaplayer__button', rootElement.parentNode)[0]
|
|
13
13
|
|
|
14
14
|
const removeVideoHover = function () {
|
|
15
15
|
rootElement.parentNode.parentNode.classList.remove('-imageHover')
|
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.56.
|
|
9
|
+
"version": "0.56.3",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
"isDropdown" : true,
|
|
9
9
|
"isList" : false,
|
|
10
|
+
"isFlow" : false,
|
|
10
11
|
"isMixed" : false,
|
|
11
12
|
"isAutosuggest" : false,
|
|
12
13
|
"selectedItem": {
|
|
@@ -14,38 +15,38 @@
|
|
|
14
15
|
},
|
|
15
16
|
"contentNavEntries": [
|
|
16
17
|
{
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"link" : {
|
|
21
|
-
"url": "/teaser1",
|
|
22
|
-
"webviewUrl": "/teaser1#webview",
|
|
23
|
-
"isTargetBlank": true,
|
|
24
|
-
"hasIcon": true,
|
|
25
|
-
"iconName": "extern"
|
|
26
|
-
},
|
|
27
|
-
"navigationGroup" : [
|
|
28
|
-
{
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"title" : "Banken",
|
|
18
|
+
"title" : "Arbeitsmarkt",
|
|
19
|
+
"isGroup" : false,
|
|
20
|
+
"isSelected" : false,
|
|
34
21
|
"link" : {
|
|
35
22
|
"url": "/teaser1",
|
|
36
23
|
"webviewUrl": "/teaser1#webview",
|
|
37
|
-
"isTargetBlank":
|
|
38
|
-
"hasIcon":
|
|
39
|
-
"iconName": "
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"readMoreLong": "read More Long"
|
|
24
|
+
"isTargetBlank": true,
|
|
25
|
+
"hasIcon": true,
|
|
26
|
+
"iconName": "extern"
|
|
27
|
+
},
|
|
28
|
+
"navigationGroup" : [
|
|
29
|
+
{
|
|
44
30
|
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"title" : "Banken",
|
|
35
|
+
"link" : {
|
|
36
|
+
"url": "/teaser1",
|
|
37
|
+
"webviewUrl": "/teaser1#webview",
|
|
38
|
+
"isTargetBlank": false,
|
|
39
|
+
"hasIcon": false,
|
|
40
|
+
"iconName": "iconName",
|
|
41
|
+
"readMoreText": {
|
|
42
|
+
"readMoreScreenreader": "Zum Artikel",
|
|
43
|
+
"readMore": "mehr",
|
|
44
|
+
"readMoreLong": "read More Long"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"isGroup" : false,
|
|
48
|
+
"isSelected" : false
|
|
45
49
|
},
|
|
46
|
-
"isGroup" : false,
|
|
47
|
-
"isSelected" : false
|
|
48
|
-
},
|
|
49
50
|
|
|
50
51
|
{
|
|
51
52
|
"title" : "Energie",
|