hr-design-system-handlebars 1.59.13 → 1.59.15

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 (49) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/assets/brand/hessenschau/conf/locatags.merged.json +1 -0
  3. package/dist/assets/brand/hr/conf/locatags.merged.json +1 -0
  4. package/dist/assets/brand/hr-bigband/conf/locatags.merged.json +1 -0
  5. package/dist/assets/brand/hr-fernsehen/conf/locatags.merged.json +1 -0
  6. package/dist/assets/brand/hr-inforadio/conf/locatags.merged.json +1 -0
  7. package/dist/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +1 -0
  8. package/dist/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +1 -0
  9. package/dist/assets/brand/hr-werbung/conf/locatags.merged.json +1 -0
  10. package/dist/assets/brand/hr1/conf/locatags.merged.json +1 -0
  11. package/dist/assets/brand/hr2/conf/locatags.merged.json +1 -0
  12. package/dist/assets/brand/hr3/conf/locatags.merged.json +1 -0
  13. package/dist/assets/brand/hr4/conf/locatags.merged.json +1 -0
  14. package/dist/assets/brand/you-fm/conf/locatags.merged.json +1 -0
  15. package/dist/assets/brand/you-fm/icons/logo/svgmap.min.svg +1 -1
  16. package/dist/assets/icons/icons/svgmap/copy-ds.svg +21 -0
  17. package/dist/assets/icons/icons/svgmap.min.svg +1 -1
  18. package/dist/assets/index.css +28 -6
  19. package/dist/views/components/page/index/page_offline.hbs +58 -0
  20. package/dist/views/components/site_header/offline_header.hbs +33 -0
  21. package/dist/views/components/social_sharing/social_sharing_compact.hbs +14 -5
  22. package/dist/views/components/social_sharing/social_sharing_compact_icons.hbs +10 -10
  23. package/dist/views_static/components/page/index/page_offline.hbs +58 -0
  24. package/dist/views_static/components/site_header/offline_header.hbs +33 -0
  25. package/dist/views_static/components/social_sharing/social_sharing_compact.hbs +14 -5
  26. package/dist/views_static/components/social_sharing/social_sharing_compact_icons.hbs +10 -10
  27. package/package.json +1 -1
  28. package/src/assets/brand/_default/conf/locatags.json +1 -0
  29. package/src/assets/brand/hessenschau/conf/locatags.merged.json +1 -0
  30. package/src/assets/brand/hr/conf/locatags.merged.json +1 -0
  31. package/src/assets/brand/hr-bigband/conf/locatags.merged.json +1 -0
  32. package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +1 -0
  33. package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +1 -0
  34. package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +1 -0
  35. package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +1 -0
  36. package/src/assets/brand/hr-werbung/conf/locatags.merged.json +1 -0
  37. package/src/assets/brand/hr1/conf/locatags.merged.json +1 -0
  38. package/src/assets/brand/hr2/conf/locatags.merged.json +1 -0
  39. package/src/assets/brand/hr3/conf/locatags.merged.json +1 -0
  40. package/src/assets/brand/hr4/conf/locatags.merged.json +1 -0
  41. package/src/assets/brand/you-fm/conf/locatags.merged.json +1 -0
  42. package/src/assets/brand/you-fm/icons/logo/svgmap.min.svg +1 -1
  43. package/src/assets/icons/icons/svgmap/copy-ds.svg +21 -0
  44. package/src/assets/icons/icons/svgmap.min.svg +1 -1
  45. package/src/stories/views/components/page/index/page_offline.hbs +58 -0
  46. package/src/stories/views/components/page/index/page_offline.stories.js +32 -0
  47. package/src/stories/views/components/site_header/offline_header.hbs +33 -0
  48. package/src/stories/views/components/social_sharing/social_sharing_compact.hbs +14 -5
  49. package/src/stories/views/components/social_sharing/social_sharing_compact_icons.hbs +10 -10
@@ -998,6 +998,9 @@ article.indexText ul {
998
998
  .-left-5 {
999
999
  left: -1.25rem;
1000
1000
  }
1001
+ .-left-8 {
1002
+ left: -2rem;
1003
+ }
1001
1004
  .bottom-0 {
1002
1005
  bottom: 0px;
1003
1006
  }
@@ -1023,9 +1026,6 @@ article.indexText ul {
1023
1026
  .left-2\/4 {
1024
1027
  left: 50%;
1025
1028
  }
1026
- .left-5 {
1027
- left: 1.25rem;
1028
- }
1029
1029
  .left-\[4px\] {
1030
1030
  left: 4px;
1031
1031
  }
@@ -1421,6 +1421,9 @@ article.indexText ul {
1421
1421
  .mt-7\.5 {
1422
1422
  margin-top: 1.875rem;
1423
1423
  }
1424
+ .mt-9 {
1425
+ margin-top: 2.25rem;
1426
+ }
1424
1427
  .mt-\[1px\] {
1425
1428
  margin-top: 1px;
1426
1429
  }
@@ -1520,6 +1523,9 @@ article.indexText ul {
1520
1523
  .h-5 {
1521
1524
  height: 1.25rem;
1522
1525
  }
1526
+ .h-52 {
1527
+ height: 13rem;
1528
+ }
1523
1529
  .h-6 {
1524
1530
  height: 1.5rem;
1525
1531
  }
@@ -3275,7 +3281,7 @@ article.indexText ul {
3275
3281
  border-bottom-color: var(--color-secondary-ds);
3276
3282
  }
3277
3283
  .counter-reset {
3278
- counter-reset: cnt1709114546592;
3284
+ counter-reset: cnt1709140690568;
3279
3285
  }
3280
3286
  .hyphens-auto {
3281
3287
  -webkit-hyphens: auto;
@@ -3581,7 +3587,7 @@ article.indexText ul {
3581
3587
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3582
3588
  }
3583
3589
  .-ordered {
3584
- counter-increment: cnt1709114546592 1;
3590
+ counter-increment: cnt1709140690568 1;
3585
3591
  }
3586
3592
  .-ordered::before {
3587
3593
  position: absolute;
@@ -3597,7 +3603,7 @@ article.indexText ul {
3597
3603
  letter-spacing: .0125em;
3598
3604
  --tw-text-opacity: 1;
3599
3605
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3600
- content: counter(cnt1709114546592);
3606
+ content: counter(cnt1709140690568);
3601
3607
  }
3602
3608
  /*! ****************************/
3603
3609
  /*! DataPolicy stuff */
@@ -5087,6 +5093,22 @@ article.indexText ul {
5087
5093
  --tw-bg-opacity: 1;
5088
5094
  background-color: rgba(203, 213, 225, var(--tw-bg-opacity));
5089
5095
  }
5096
+ .hover\:fill-\[\#0f1419\]:hover {
5097
+ fill: #0f1419;
5098
+ }
5099
+ .hover\:fill-\[\#3b5999\]:hover {
5100
+ fill: #3b5999;
5101
+ }
5102
+ .hover\:fill-\[\#4dc247\]:hover {
5103
+ fill: #4dc247;
5104
+ }
5105
+ .hover\:fill-black:hover {
5106
+ fill: #000000;
5107
+ }
5108
+ .hover\:fill-link-dark:hover {
5109
+ fill: #006eb7;
5110
+ fill: var(--color-link-dark);
5111
+ }
5090
5112
  .hover\:fill-media-button:hover {
5091
5113
  fill: #276b9e;
5092
5114
  fill: var(--color-media-button);
@@ -0,0 +1,58 @@
1
+ <!DOCTYPE html>
2
+ <html
3
+ class="no-js no-js-burgerMenu preload noMicroInteraction"
4
+ data-theme="hessenschau"
5
+ lang="de"
6
+ >
7
+ <head>
8
+
9
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
10
+ <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
11
+ <title>hessenschau.de | Nachrichten aus Hessen</title>
12
+ <meta name="application-name" content="hessenschau.de" />
13
+ <meta name="copyright" content="Hessischer Rundfunk, Frankfurt, Germany" />
14
+ <meta name="author" content="hessenschau.de, Frankfurt, Germany" />
15
+ <meta name="publisher" content="hessenschau.de" />
16
+ <meta name="language" content="Deutsch" />
17
+
18
+ </head>
19
+
20
+ <body itemscope itemtype="http://schema.org/WebPage">
21
+ <div class="js-pageSwap">
22
+
23
+ {{> components/site_header/offline_header }}
24
+
25
+ <main
26
+ onclick="void(0)"
27
+ role="main"
28
+ id="content"
29
+ class="flex items-center justify-center"
30
+ >
31
+ <div class="grid grid-page flex items-center flex-wrap justify-center">
32
+ <div class="{{> components/grid/grid_group_wrapper_classes }}">
33
+ <section class="grid items-center justify-center grid-cols-12 col-span-12 bg-white gap-x-6 gap-y-6">
34
+ <div class="items-start relative col-span-12 flex gap-y-3 gap-x-4 flex-col">
35
+ <div>
36
+ <div class="flex justify-center flex-wrap text-center">
37
+ {{> components/base/image/icon _icon="hilfe" _addClass="size-full h-52" _iconmap="404"~}}
38
+ </div>
39
+ <h3 class="text-lg sm480:text-2xl font-headingSerif dark:text-text-dark flex justify-center flex-wrap text-center mt-9">
40
+ {{loca "offline_page_info_text"}}
41
+ </h3>
42
+ <div class="flex justify-center flex-wrap text-center mt-9" >
43
+ {{#> components/button/button _size="lg" _title="Weitere Episoden laden" _type="button" _css="js-load-remaining-items-button" }}
44
+ {{> components/button/components/button_label _label="Erneut versuchen"}}
45
+ {{#*inline "htmlProperties"}}
46
+ onClick="window.location.reload();"
47
+ {{/inline}}
48
+ {{/components/button/button}}
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </section>
53
+ </div>
54
+ </div>
55
+ </main>
56
+ </div>
57
+ </body>
58
+ </html>
@@ -0,0 +1,33 @@
1
+ <div class="sb-main-navigation" x-data="mainNavigationHandler()" x-init="{{#if _useSticky}}start(){{/if}}">
2
+ <header class="print:hidden relative z-110 {{#if _useSticky}}{{#if this.hasOpenSubNavigation}}lg:h-header-lg-big {{else}}lg:h-header-lg-small {{/if}}{{else}}lg:h-auto {{/if}}md:h-header-md h-header-sm">
3
+ <div x-data
4
+ id="headerWrapper"
5
+ @resize.window="resetNav()"
6
+ :class="shouldBrandNavBeHidden() ? '-mt-[33px] md:-mt-[33px]' : '' "
7
+ class="{{#if _useSticky }}fixed top-0 left-0{{/if}} flex flex-wrap max-w-full transition-all duration-500 transform font-copy lg:justify-center lg:w-full ">
8
+
9
+ <div id="serviceNavWrapper"
10
+ :class="shouldServiceNavBeHidden() ? '-mt-40' : ''"
11
+
12
+ class="relative flex justify-center order-2 w-full transition-[margin-top] duration-250 ease-in-out border-b border-servicenavigation-border-color bg-navigation-bg z-120">
13
+ <div id="serviceNavMainContainer"
14
+ class="flex w-full h-10 lg:container md:h-12 lg:px-10 lg:h-16 z-110">
15
+
16
+ <span id="serviceNavHeadline" class="hidden print:hidden">Service Navigation</span>
17
+
18
+ <div id="serviceLogoWrapper"
19
+ class="flex items-center order-1 w-full pl-4 pr-2 tablet:pl-5 bg-navigation-bg md:px-0 md:h-12 lg:h-16 md:w-1/2 md:max-w-1/2 lg:w-1/4 lg:max-w-1/4">
20
+ {{> components/site_header/service_logo _useSticky=_useSticky}}
21
+ </div>
22
+
23
+ </div>
24
+ </div>
25
+ </div>
26
+ </header>
27
+ <div class="justify-center hidden w-full scale-50 brand-logo_print print:flex">
28
+ <img loading="lazy"
29
+ alt="{{loca "header_homepage_link_title"}}"
30
+ src="{{resourceUrl "assets/base/icons/rsslogo/brandlogo--rss.jpg" _brand=(if this.brand this.brand)}}"
31
+ />
32
+ </div>
33
+ </div>
@@ -1,6 +1,7 @@
1
1
  <div x-data="{
2
2
  open: false,
3
3
  sharingIsVisible: true,
4
+ isDesktop: true,
4
5
  toggle() {
5
6
  var isMobileApple = navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)/i);
6
7
  var isMobileOther= navigator.userAgent.match(/(Android)|(webOS)|(Blackberry)|(Windows Phone)/i);
@@ -28,8 +29,13 @@
28
29
  this.open = false
29
30
 
30
31
  focusAfter && focusAfter.focus()
32
+ },
33
+ checkIfDesktop() {
34
+ this.isDesktop = (window.innerWidth >= 768) ? true : false
31
35
  }
32
36
  }"
37
+ x-init = "checkIfDesktop()"
38
+ x-on:resize.window = "checkIfDesktop()"
33
39
  x-on:keydown.escape.prevent.stop="close($refs.button)"
34
40
  x-on:focusin.window="! $refs.panel.contains($event.target) && close()"
35
41
  x-id="['dropdown-button']"
@@ -37,13 +43,17 @@
37
43
  x-intersect:leave="sharingIsVisible = false"
38
44
  x-intersect:enter="sharingIsVisible = true"
39
45
  >
40
- <div x-text="sharingIsVisible" class="fixed left-1 top-1"></div>
46
+ <div class="fixed left-1 top-1">
47
+ sharingIsVisible:<span x-text="sharingIsVisible" ></span><br>
48
+ open:<span x-text="open" ></span><br>
49
+ isDesktop:<span x-text="isDesktop" ></span>
50
+ </div>
41
51
  <div :class="{ 'grid grid-page z-100 fixed bottom-feature-box-height left-0 w-full': !sharingIsVisible }">
42
52
  <div class="" :class="{ 'flex justify-start col-full sm:col-main relative': !sharingIsVisible }">
43
- <div class="flex gap-3" :class="{ 'bottom-5 left-5 flex-col absolute bg-white': !sharingIsVisible }">
53
+ <div class="flex gap-3" :class="{ 'bottom-5 -left-8 flex-col absolute bg-white': !sharingIsVisible }">
44
54
  <button
45
55
  class="order-2 w-8 h-8 ds-button font-heading active:scale-95 hover:scale-105 group"
46
- :class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
56
+ x-show="!isDesktop"
47
57
  x-ref="button"
48
58
  x-on:click="toggle()"
49
59
  :aria-expanded="open"
@@ -55,11 +65,10 @@
55
65
  <!-- Panel -->
56
66
  <div
57
67
  x-ref="panel"
58
- x-show="open"
68
+ x-show="open || isDesktop"
59
69
  x-transition.origin.right
60
70
  x-on:click.outside="close($refs.button)"
61
71
  :id="$id('dropdown-button')"
62
- style="display: none;"
63
72
  class="bg-white"
64
73
  >
65
74
  <ul class="flex gap-3" :class="{ 'flex-col': ! sharingIsVisible }">
@@ -1,6 +1,6 @@
1
1
  <li>
2
2
  <a class="{{#with ../../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
3
- :class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
3
+
4
4
  href="{{this}}"
5
5
  target="_blank"
6
6
  rel="noopener noreferrer"
@@ -9,12 +9,12 @@
9
9
  data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::X"}]}'
10
10
  {{/with}}
11
11
  >
12
- {{~> components/base/image/icon _addClass="w-full h-full fill-[#0f1419] " _icon="x" _iconmap="icons" ~}}
12
+ {{~> components/base/image/icon _addClass="w-full h-full fill-link hover:fill-[#0f1419] " _icon="x-ds" _iconmap="icons" ~}}
13
13
  </a>
14
14
  </li>
15
15
  <li class="">
16
16
  <a class="{{#with ../../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
17
- :class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
17
+
18
18
  href="{{this}}"
19
19
  target="_blank"
20
20
  rel="noopener noreferrer"
@@ -23,12 +23,12 @@
23
23
  data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::facebook"}]}'
24
24
  {{/with}}
25
25
  >
26
- {{~> components/base/image/icon _addClass="w-full h-full fill-[#3b5999] " _icon="facebook" _iconmap="icons" ~}}
26
+ {{~> components/base/image/icon _addClass="w-full h-full fill-link hover:fill-[#3b5999] " _icon="facebook-ds" _iconmap="icons" ~}}
27
27
  </a>
28
28
  </li>
29
29
  <li class="">
30
30
  <a class="{{#with ../../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
31
- :class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
31
+
32
32
  href="{{this}}"
33
33
  target="_blank"
34
34
  rel="noopener noreferrer"
@@ -37,30 +37,30 @@
37
37
  data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::whatsapp"}]}'
38
38
  {{/with}}
39
39
  >
40
- {{~> components/base/image/icon _addClass="w-full h-full fill-[#4dc247] " _icon="whatsapp" _iconmap="icons" ~}}
40
+ {{~> components/base/image/icon _addClass="w-full h-full fill-link hover:fill-[#4dc247] " _icon="whatsapp-ds" _iconmap="icons" ~}}
41
41
  </a>
42
42
  </li>
43
43
  <li class="">
44
44
  <a class="{{#with ../../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
45
- :class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
45
+
46
46
  href="{{this}}"
47
47
  title="{{loca "share_mail_linktitle" }}"
48
48
  {{#with ../../this.content.trackingData}}
49
49
  data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::mailto"}]}'
50
50
  {{/with}}
51
51
  >
52
- {{~> components/base/image/icon _addClass="w-full h-full fill-[#006dc1] " _icon="mail" _iconmap="icons" ~}}
52
+ {{~> components/base/image/icon _addClass="w-full h-full fill-link hover:fill-black " _icon="kontakt-ds" _iconmap="icons" ~}}
53
53
  </a>
54
54
  </li>
55
55
  <li class="">
56
56
  <a class="{{#with ../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
57
- :class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
57
+
58
58
  href="javascript:window.print()"
59
59
  title="{{loca "share_print_linktitle" }}"
60
60
  {{#with ../this.content.trackingData}}
61
61
  data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::printbutton"}]}'
62
62
  {{/with}}
63
63
  >
64
- {{~> components/base/image/icon _addClass="w-full h-full fill-[#606060] " _icon="print" _iconmap="icons" ~}}
64
+ {{~> components/base/image/icon _addClass="w-full h-full fill-link hover:fill-link-dark " _icon="copy-ds" _iconmap="icons" ~}}
65
65
  </a>
66
66
  </li>
@@ -0,0 +1,58 @@
1
+ <!DOCTYPE html>
2
+ <html
3
+ class="no-js no-js-burgerMenu preload noMicroInteraction"
4
+ data-theme="hessenschau"
5
+ lang="de"
6
+ >
7
+ <head>
8
+
9
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
10
+ <meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
11
+ <title>hessenschau.de | Nachrichten aus Hessen</title>
12
+ <meta name="application-name" content="hessenschau.de" />
13
+ <meta name="copyright" content="Hessischer Rundfunk, Frankfurt, Germany" />
14
+ <meta name="author" content="hessenschau.de, Frankfurt, Germany" />
15
+ <meta name="publisher" content="hessenschau.de" />
16
+ <meta name="language" content="Deutsch" />
17
+
18
+ </head>
19
+
20
+ <body itemscope itemtype="http://schema.org/WebPage">
21
+ <div class="js-pageSwap">
22
+
23
+ {{> components/site_header/offline_header }}
24
+
25
+ <main
26
+ onclick="void(0)"
27
+ role="main"
28
+ id="content"
29
+ class="flex items-center justify-center"
30
+ >
31
+ <div class="grid grid-page flex items-center flex-wrap justify-center">
32
+ <div class="{{> components/grid/grid_group_wrapper_classes }}">
33
+ <section class="grid items-center justify-center grid-cols-12 col-span-12 bg-white gap-x-6 gap-y-6">
34
+ <div class="items-start relative col-span-12 flex gap-y-3 gap-x-4 flex-col">
35
+ <div>
36
+ <div class="flex justify-center flex-wrap text-center">
37
+ {{> components/base/image/icon _icon="hilfe" _addClass="size-full h-52" _iconmap="404"~}}
38
+ </div>
39
+ <h3 class="text-lg sm480:text-2xl font-headingSerif dark:text-text-dark flex justify-center flex-wrap text-center mt-9">
40
+ {{loca "offline_page_info_text"}}
41
+ </h3>
42
+ <div class="flex justify-center flex-wrap text-center mt-9" >
43
+ {{#> components/button/button _size="lg" _title="Weitere Episoden laden" _type="button" _css="js-load-remaining-items-button" }}
44
+ {{> components/button/components/button_label _label="Erneut versuchen"}}
45
+ {{#*inline "htmlProperties"}}
46
+ onClick="window.location.reload();"
47
+ {{/inline}}
48
+ {{/components/button/button}}
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </section>
53
+ </div>
54
+ </div>
55
+ </main>
56
+ </div>
57
+ </body>
58
+ </html>
@@ -0,0 +1,33 @@
1
+ <div class="sb-main-navigation" x-data="mainNavigationHandler()" x-init="{{#if _useSticky}}start(){{/if}}">
2
+ <header class="print:hidden relative z-110 {{#if _useSticky}}{{#if this.hasOpenSubNavigation}}lg:h-header-lg-big {{else}}lg:h-header-lg-small {{/if}}{{else}}lg:h-auto {{/if}}md:h-header-md h-header-sm">
3
+ <div x-data
4
+ id="headerWrapper"
5
+ @resize.window="resetNav()"
6
+ :class="shouldBrandNavBeHidden() ? '-mt-[33px] md:-mt-[33px]' : '' "
7
+ class="{{#if _useSticky }}fixed top-0 left-0{{/if}} flex flex-wrap max-w-full transition-all duration-500 transform font-copy lg:justify-center lg:w-full ">
8
+
9
+ <div id="serviceNavWrapper"
10
+ :class="shouldServiceNavBeHidden() ? '-mt-40' : ''"
11
+
12
+ class="relative flex justify-center order-2 w-full transition-[margin-top] duration-250 ease-in-out border-b border-servicenavigation-border-color bg-navigation-bg z-120">
13
+ <div id="serviceNavMainContainer"
14
+ class="flex w-full h-10 lg:container md:h-12 lg:px-10 lg:h-16 z-110">
15
+
16
+ <span id="serviceNavHeadline" class="hidden print:hidden">Service Navigation</span>
17
+
18
+ <div id="serviceLogoWrapper"
19
+ class="flex items-center order-1 w-full pl-4 pr-2 tablet:pl-5 bg-navigation-bg md:px-0 md:h-12 lg:h-16 md:w-1/2 md:max-w-1/2 lg:w-1/4 lg:max-w-1/4">
20
+ {{> components/site_header/service_logo _useSticky=_useSticky}}
21
+ </div>
22
+
23
+ </div>
24
+ </div>
25
+ </div>
26
+ </header>
27
+ <div class="justify-center hidden w-full scale-50 brand-logo_print print:flex">
28
+ <img loading="lazy"
29
+ alt="{{loca "header_homepage_link_title"}}"
30
+ src="{{resourceUrl "assets/base/icons/rsslogo/brandlogo--rss.jpg" _brand=(if this.brand this.brand)}}"
31
+ />
32
+ </div>
33
+ </div>
@@ -1,6 +1,7 @@
1
1
  <div x-data="{
2
2
  open: false,
3
3
  sharingIsVisible: true,
4
+ isDesktop: true,
4
5
  toggle() {
5
6
  var isMobileApple = navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)/i);
6
7
  var isMobileOther= navigator.userAgent.match(/(Android)|(webOS)|(Blackberry)|(Windows Phone)/i);
@@ -28,8 +29,13 @@
28
29
  this.open = false
29
30
 
30
31
  focusAfter && focusAfter.focus()
32
+ },
33
+ checkIfDesktop() {
34
+ this.isDesktop = (window.innerWidth >= 768) ? true : false
31
35
  }
32
36
  }"
37
+ x-init = "checkIfDesktop()"
38
+ x-on:resize.window = "checkIfDesktop()"
33
39
  x-on:keydown.escape.prevent.stop="close($refs.button)"
34
40
  x-on:focusin.window="! $refs.panel.contains($event.target) && close()"
35
41
  x-id="['dropdown-button']"
@@ -37,13 +43,17 @@
37
43
  x-intersect:leave="sharingIsVisible = false"
38
44
  x-intersect:enter="sharingIsVisible = true"
39
45
  >
40
- <div x-text="sharingIsVisible" class="fixed left-1 top-1"></div>
46
+ <div class="fixed left-1 top-1">
47
+ sharingIsVisible:<span x-text="sharingIsVisible" ></span><br>
48
+ open:<span x-text="open" ></span><br>
49
+ isDesktop:<span x-text="isDesktop" ></span>
50
+ </div>
41
51
  <div :class="{ 'grid grid-page z-100 fixed bottom-feature-box-height left-0 w-full': !sharingIsVisible }">
42
52
  <div class="" :class="{ 'flex justify-start col-full sm:col-main relative': !sharingIsVisible }">
43
- <div class="flex gap-3" :class="{ 'bottom-5 left-5 flex-col absolute bg-white': !sharingIsVisible }">
53
+ <div class="flex gap-3" :class="{ 'bottom-5 -left-8 flex-col absolute bg-white': !sharingIsVisible }">
44
54
  <button
45
55
  class="order-2 w-8 h-8 ds-button font-heading active:scale-95 hover:scale-105 group"
46
- :class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
56
+ x-show="!isDesktop"
47
57
  x-ref="button"
48
58
  x-on:click="toggle()"
49
59
  :aria-expanded="open"
@@ -55,11 +65,10 @@
55
65
  <!-- Panel -->
56
66
  <div
57
67
  x-ref="panel"
58
- x-show="open"
68
+ x-show="open || isDesktop"
59
69
  x-transition.origin.right
60
70
  x-on:click.outside="close($refs.button)"
61
71
  :id="$id('dropdown-button')"
62
- style="display: none;"
63
72
  class="bg-white"
64
73
  >
65
74
  <ul class="flex gap-3" :class="{ 'flex-col': ! sharingIsVisible }">
@@ -1,6 +1,6 @@
1
1
  <li>
2
2
  <a class="{{#with ../../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
3
- :class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
3
+
4
4
  href="{{this}}"
5
5
  target="_blank"
6
6
  rel="noopener noreferrer"
@@ -9,12 +9,12 @@
9
9
  data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::X"}]}'
10
10
  {{/with}}
11
11
  >
12
- {{~> components/base/image/icon _addClass="w-full h-full fill-[#0f1419] " _icon="x" _iconmap="icons" ~}}
12
+ {{~> components/base/image/icon _addClass="w-full h-full fill-link hover:fill-[#0f1419] " _icon="x-ds" _iconmap="icons" ~}}
13
13
  </a>
14
14
  </li>
15
15
  <li class="">
16
16
  <a class="{{#with ../../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
17
- :class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
17
+
18
18
  href="{{this}}"
19
19
  target="_blank"
20
20
  rel="noopener noreferrer"
@@ -23,12 +23,12 @@
23
23
  data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::facebook"}]}'
24
24
  {{/with}}
25
25
  >
26
- {{~> components/base/image/icon _addClass="w-full h-full fill-[#3b5999] " _icon="facebook" _iconmap="icons" ~}}
26
+ {{~> components/base/image/icon _addClass="w-full h-full fill-link hover:fill-[#3b5999] " _icon="facebook-ds" _iconmap="icons" ~}}
27
27
  </a>
28
28
  </li>
29
29
  <li class="">
30
30
  <a class="{{#with ../../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
31
- :class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
31
+
32
32
  href="{{this}}"
33
33
  target="_blank"
34
34
  rel="noopener noreferrer"
@@ -37,30 +37,30 @@
37
37
  data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::whatsapp"}]}'
38
38
  {{/with}}
39
39
  >
40
- {{~> components/base/image/icon _addClass="w-full h-full fill-[#4dc247] " _icon="whatsapp" _iconmap="icons" ~}}
40
+ {{~> components/base/image/icon _addClass="w-full h-full fill-link hover:fill-[#4dc247] " _icon="whatsapp-ds" _iconmap="icons" ~}}
41
41
  </a>
42
42
  </li>
43
43
  <li class="">
44
44
  <a class="{{#with ../../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
45
- :class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
45
+
46
46
  href="{{this}}"
47
47
  title="{{loca "share_mail_linktitle" }}"
48
48
  {{#with ../../this.content.trackingData}}
49
49
  data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::mailto"}]}'
50
50
  {{/with}}
51
51
  >
52
- {{~> components/base/image/icon _addClass="w-full h-full fill-[#006dc1] " _icon="mail" _iconmap="icons" ~}}
52
+ {{~> components/base/image/icon _addClass="w-full h-full fill-link hover:fill-black " _icon="kontakt-ds" _iconmap="icons" ~}}
53
53
  </a>
54
54
  </li>
55
55
  <li class="">
56
56
  <a class="{{#with ../this.content.trackingData}} js-load{{/with}} flex order-2 ds-button font-heading active:scale-95 w-8 h-8"
57
- :class="{ 'w-8 h-8': sharingIsVisible, 'w-12 h-12': !sharingIsVisible }"
57
+
58
58
  href="javascript:window.print()"
59
59
  title="{{loca "share_print_linktitle" }}"
60
60
  {{#with ../this.content.trackingData}}
61
61
  data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "{{this.secondLevelId}}","clickLabel": "socialShareClick::printbutton"}]}'
62
62
  {{/with}}
63
63
  >
64
- {{~> components/base/image/icon _addClass="w-full h-full fill-[#606060] " _icon="print" _iconmap="icons" ~}}
64
+ {{~> components/base/image/icon _addClass="w-full h-full fill-link hover:fill-link-dark " _icon="copy-ds" _iconmap="icons" ~}}
65
65
  </a>
66
66
  </li>
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": "1.59.13",
9
+ "version": "1.59.15",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -45,6 +45,7 @@
45
45
  "group_tabbed_more": "weitere Meldungen aus {0}",
46
46
  "homepage_metatitle": "Nachrichten aus Hessen",
47
47
  "javascript_disabled": "Keine Videowiedergabe möglich. Bitte aktivieren Sie Javascript oder deaktivieren Sie Tools, die die Scriptausführung im Browser unterbinden.",
48
+ "offline_page_info_text": "Keine Verbindung zum Server möglich. Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.",
48
49
  "label_analysis": "Analyse",
49
50
  "label_audio": "Audio",
50
51
  "label_audio_event_livestream": "Livestream",
@@ -45,6 +45,7 @@
45
45
  "group_tabbed_more": "weitere Meldungen aus {0}",
46
46
  "homepage_metatitle": "Nachrichten aus Hessen",
47
47
  "javascript_disabled": "Keine Videowiedergabe möglich. Bitte aktivieren Sie Javascript oder deaktivieren Sie Tools, die die Scriptausführung im Browser unterbinden.",
48
+ "offline_page_info_text": "Keine Verbindung zum Server möglich. Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.",
48
49
  "label_analysis": "Analyse",
49
50
  "label_audio": "Audio",
50
51
  "label_audio_event_livestream": "Livestream",
@@ -45,6 +45,7 @@
45
45
  "group_tabbed_more": "weitere Meldungen aus {0}",
46
46
  "homepage_metatitle": "Nachrichten aus Hessen",
47
47
  "javascript_disabled": "Keine Videowiedergabe möglich. Bitte aktivieren Sie Javascript oder deaktivieren Sie Tools, die die Scriptausführung im Browser unterbinden.",
48
+ "offline_page_info_text": "Keine Verbindung zum Server möglich. Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.",
48
49
  "label_analysis": "Analyse",
49
50
  "label_audio": "Audio",
50
51
  "label_audio_event_livestream": "Livestream",
@@ -45,6 +45,7 @@
45
45
  "group_tabbed_more": "weitere Meldungen aus {0}",
46
46
  "homepage_metatitle": "Nachrichten aus Hessen",
47
47
  "javascript_disabled": "Keine Videowiedergabe möglich. Bitte aktivieren Sie Javascript oder deaktivieren Sie Tools, die die Scriptausführung im Browser unterbinden.",
48
+ "offline_page_info_text": "Keine Verbindung zum Server möglich. Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.",
48
49
  "label_analysis": "Analyse",
49
50
  "label_audio": "Audio",
50
51
  "label_audio_event_livestream": "Livestream",
@@ -45,6 +45,7 @@
45
45
  "group_tabbed_more": "weitere Meldungen aus {0}",
46
46
  "homepage_metatitle": "Nachrichten aus Hessen",
47
47
  "javascript_disabled": "Keine Videowiedergabe möglich. Bitte aktivieren Sie Javascript oder deaktivieren Sie Tools, die die Scriptausführung im Browser unterbinden.",
48
+ "offline_page_info_text": "Keine Verbindung zum Server möglich. Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.",
48
49
  "label_analysis": "Analyse",
49
50
  "label_audio": "Audio",
50
51
  "label_audio_event_livestream": "Livestream",
@@ -45,6 +45,7 @@
45
45
  "group_tabbed_more": "weitere Meldungen aus {0}",
46
46
  "homepage_metatitle": "Nachrichten aus Hessen",
47
47
  "javascript_disabled": "Keine Videowiedergabe möglich. Bitte aktivieren Sie Javascript oder deaktivieren Sie Tools, die die Scriptausführung im Browser unterbinden.",
48
+ "offline_page_info_text": "Keine Verbindung zum Server möglich. Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.",
48
49
  "label_analysis": "Analyse",
49
50
  "label_audio": "Audio",
50
51
  "label_audio_event_livestream": "Livestream",
@@ -45,6 +45,7 @@
45
45
  "group_tabbed_more": "weitere Meldungen aus {0}",
46
46
  "homepage_metatitle": "Nachrichten aus Hessen",
47
47
  "javascript_disabled": "Keine Videowiedergabe möglich. Bitte aktivieren Sie Javascript oder deaktivieren Sie Tools, die die Scriptausführung im Browser unterbinden.",
48
+ "offline_page_info_text": "Keine Verbindung zum Server möglich. Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.",
48
49
  "label_analysis": "Analyse",
49
50
  "label_audio": "Audio",
50
51
  "label_audio_event_livestream": "Livestream",
@@ -45,6 +45,7 @@
45
45
  "group_tabbed_more": "weitere Meldungen aus {0}",
46
46
  "homepage_metatitle": "Nachrichten aus Hessen",
47
47
  "javascript_disabled": "Keine Videowiedergabe möglich. Bitte aktivieren Sie Javascript oder deaktivieren Sie Tools, die die Scriptausführung im Browser unterbinden.",
48
+ "offline_page_info_text": "Keine Verbindung zum Server möglich. Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.",
48
49
  "label_analysis": "Analyse",
49
50
  "label_audio": "Audio",
50
51
  "label_audio_event_livestream": "Livestream",
@@ -45,6 +45,7 @@
45
45
  "group_tabbed_more": "weitere Meldungen aus {0}",
46
46
  "homepage_metatitle": "Nachrichten aus Hessen",
47
47
  "javascript_disabled": "Keine Videowiedergabe möglich. Bitte aktivieren Sie Javascript oder deaktivieren Sie Tools, die die Scriptausführung im Browser unterbinden.",
48
+ "offline_page_info_text": "Keine Verbindung zum Server möglich. Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.",
48
49
  "label_analysis": "Analyse",
49
50
  "label_audio": "Audio",
50
51
  "label_audio_event_livestream": "Livestream",
@@ -45,6 +45,7 @@
45
45
  "group_tabbed_more": "weitere Meldungen aus {0}",
46
46
  "homepage_metatitle": "Nachrichten aus Hessen",
47
47
  "javascript_disabled": "Keine Videowiedergabe möglich. Bitte aktivieren Sie Javascript oder deaktivieren Sie Tools, die die Scriptausführung im Browser unterbinden.",
48
+ "offline_page_info_text": "Keine Verbindung zum Server möglich. Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.",
48
49
  "label_analysis": "Analyse",
49
50
  "label_audio": "Audio",
50
51
  "label_audio_event_livestream": "Livestream",