hr-design-system-handlebars 1.17.1 → 1.18.0

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 (55) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/assets/index.css +53 -47
  3. package/dist/views/components/button/top_topics_button.hbs +5 -0
  4. package/dist/views/components/button/utilities/button_variation_classes.hbs +2 -2
  5. package/dist/views/components/content_nav/content_nav_container.hbs +1 -1
  6. package/dist/views/components/horizontal_scroll_container/horizontal_scroll_container.hbs +3 -3
  7. package/dist/views/components/horizontal_scroll_container/horizontal_scroll_container_example.hbs +1 -1
  8. package/dist/views/components/site_header/brand_navigation/brand_navigation_item.hbs +1 -1
  9. package/dist/views/components/site_header/burger.hbs +1 -1
  10. package/dist/views/components/site_header/header.hbs +4 -4
  11. package/dist/views/components/site_header/navigation_flyout/navigation_flyout.hbs +2 -2
  12. package/dist/views/components/site_header/navigation_flyout/navigation_flyout_item.hbs +1 -1
  13. package/dist/views/components/site_header/navigation_search/quick_search_button.hbs +3 -3
  14. package/dist/views/components/site_header/navigation_search/quick_search_form.hbs +4 -4
  15. package/dist/views/components/site_header/section_navigation/section_navigation_item.hbs +2 -2
  16. package/dist/views/components/site_header/section_navigation/section_navigation_top_topics.hbs +6 -5
  17. package/dist/views/components/site_header/service_navigation/service_list.hbs +1 -1
  18. package/dist/views/components/site_header/service_navigation/service_navigation_item.hbs +2 -2
  19. package/package.json +1 -1
  20. package/src/assets/brand/hessenschau/conf/locatags.merged.json +1 -0
  21. package/src/assets/brand/hr/conf/locatags.merged.json +1 -0
  22. package/src/assets/brand/hr-bigband/conf/locatags.merged.json +1 -0
  23. package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +1 -0
  24. package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +1 -0
  25. package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +1 -0
  26. package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +1 -0
  27. package/src/assets/brand/hr-werbung/conf/locatags.merged.json +1 -0
  28. package/src/assets/brand/hr1/conf/locatags.merged.json +1 -0
  29. package/src/assets/brand/hr2/conf/locatags.merged.json +1 -0
  30. package/src/assets/brand/hr3/conf/locatags.merged.json +1 -0
  31. package/src/assets/brand/hr4/conf/locatags.merged.json +1 -0
  32. package/src/assets/brand/you-fm/conf/locatags.merged.json +1 -0
  33. package/src/assets/css/custom-utilities.css +1 -1
  34. package/src/assets/fixtures/site_header/topTopicsNavigation.inc.json +3 -3
  35. package/src/assets/tailwind.css +2 -2
  36. package/src/stories/views/components/button/top_topics_button.hbs +5 -0
  37. package/src/stories/views/components/button/utilities/button_variation_classes.hbs +2 -2
  38. package/src/stories/views/components/content_nav/content_nav_container.hbs +1 -1
  39. package/src/stories/views/components/horizontal_scroll_container/horizontal_scroll_container.hbs +3 -3
  40. package/src/stories/views/components/horizontal_scroll_container/horizontal_scroll_container_example.hbs +1 -1
  41. package/src/stories/views/components/page/fixtures/page_pagination.json +1 -1
  42. package/src/stories/views/components/site_header/brand_navigation/brand_navigation_item.hbs +1 -1
  43. package/src/stories/views/components/site_header/burger.hbs +1 -1
  44. package/src/stories/views/components/site_header/fixtures/site_header_mit_top_topics.json +1 -1
  45. package/src/stories/views/components/site_header/fixtures/site_header_mit_top_topics_no_sticky.json +1 -1
  46. package/src/stories/views/components/site_header/header.hbs +4 -4
  47. package/src/stories/views/components/site_header/navigation_flyout/navigation_flyout.hbs +2 -2
  48. package/src/stories/views/components/site_header/navigation_flyout/navigation_flyout_item.hbs +1 -1
  49. package/src/stories/views/components/site_header/navigation_search/quick_search_button.hbs +3 -3
  50. package/src/stories/views/components/site_header/navigation_search/quick_search_form.hbs +4 -4
  51. package/src/stories/views/components/site_header/section_navigation/section_navigation_item.hbs +2 -2
  52. package/src/stories/views/components/site_header/section_navigation/section_navigation_top_topics.hbs +6 -5
  53. package/src/stories/views/components/site_header/service_navigation/service_list.hbs +1 -1
  54. package/src/stories/views/components/site_header/service_navigation/service_navigation_item.hbs +2 -2
  55. package/tailwind.config.js +1 -0
@@ -20,19 +20,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-10002">
23
+ class="relative flex justify-center order-2 w-full transition-all duration-500 ease-in-out md:border-white lg:border-b bg-primary z-10002">
24
24
  <div id="serviceNavMainContainer"
25
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
 
29
29
  <div id="serviceLogoWrapper"
30
- class="flex items-center order-1 w-full pl-4 pr-2 tablet:pl-5 lg:items-end lg:pb-3 bg-blue-congress 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">
30
+ class="flex items-center order-1 w-full pl-4 pr-2 tablet:pl-5 lg:items-end lg:pb-3 bg-primary 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">
31
31
  {{> components/site_header/service_logo }}
32
32
  </div>
33
33
 
34
34
  <div id="serviceItemsWrapper"
35
- class="flex items-center justify-end flex-initial order-2 inline-block w-full max-w-full align-top bg-blue-congress md:h-12 lg:h-16 lg:order-2 lg:w-3/4 lg:max-w-3/4 md:mt-0 md:w-1/2 md:max-w-1/2 md:order-2 md:border-0">
35
+ class="flex items-center justify-end flex-initial order-2 inline-block w-full max-w-full align-top bg-primary md:h-12 lg:h-16 lg:order-2 lg:w-3/4 lg:max-w-3/4 md:mt-0 md:w-1/2 md:max-w-1/2 md:order-2 md:border-0">
36
36
  {{> components/site_header/service_navigation/service_list }}
37
37
 
38
38
  {{> components/site_header/navigation_search/quick_search_button }}
@@ -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-20 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"
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-20 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-primary z-10000 print:hidden"
58
58
  >
59
59
  {{> components/site_header/section_navigation/section_navigation }}
60
60
  </div>
@@ -11,7 +11,7 @@
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-10000 lg:border-b lg:border-blue-congress lg:filter-none lg:left-0 flex justify-center
14
+ isSelectedAndOpen lg:ml-0 z-10000 lg:border-b lg:border-primary lg:filter-none lg:left-0 flex justify-center
15
15
  {{else}} z-10002 lg:left-auto lg:w-auto {{/if}}
16
16
  {{else}} z-10002 lg:left-auto lg:w-auto {{/unless}}
17
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}}
@@ -31,7 +31,7 @@
31
31
  {{#unless ../this.isCluster ~}}
32
32
  {{#unless ../_isSectionNav}}
33
33
  <div class="w-full">
34
- <div class="flex pt-4 pb-2 pl-4 text-base font-bold bg-white lg:pl-0 md:pt-4 lg:pt-1 lg:pb-0 justify-left text-blue-congress ">
34
+ <div class="flex pt-4 pb-2 pl-4 text-base font-bold bg-white lg:pl-0 md:pt-4 lg:pt-1 lg:pb-0 justify-left text-primary ">
35
35
  <a href="{{resourceUrl ../this.url}}" class="-isHeaderLink lg:leading-10 link-focus-inset js-load" data-hr-click-tracking='{"settings": [{"type": "uxAction", "secondLevelId": "1", "clickLabel": "{{../_navigationType}}::{{../_parent}}::{{../this.flyoutStartLinkText}}-Link geklickt"}]}' >
36
36
  {{../this.flyoutStartLinkText}}
37
37
  </a>
@@ -1,5 +1,5 @@
1
1
  <li :class="dropped ? 'h-auto' : 'h-10'"
2
- class="sb-navigation-flyout-item pl-4 {{#if _flyout}}lg:px-0 {{else}}lg:px-2 lg:first-of-type:pl-0 {{/if}}{{#if _parentselected}}lg:whitespace-nowrap{{/if}} flex h-auto text-base leading-6 border-b border-gray-200 lg:last:border-0 lg:border-0 text-blue-congress justify-start hover:underline">
2
+ class="sb-navigation-flyout-item pl-4 {{#if _flyout}}lg:px-0 {{else}}lg:px-2 lg:first-of-type:pl-0 {{/if}}{{#if _parentselected}}lg:whitespace-nowrap{{/if}} flex h-auto text-base leading-6 border-b border-gray-200 lg:last:border-0 lg:border-0 text-primary justify-start hover:underline">
3
3
  {{#with this}}
4
4
  {{#> components/base/link _link=this.link _css=(inline-switch _fromNav '["RubrikNavigation","ServiceNavigation"]' '["link-focus-inset py-2 w-full","link-focus py-2 md:pl-0 lg:pl-0 lg:pr-0 break-words w-full"]') }}
5
5
  {{this.text}}
@@ -1,6 +1,6 @@
1
1
  <div
2
- x-cloak class="sb-quick-search-button flex items-center h-8 md:h-full md:border-r md:border-l md:border-white lg:border-none"
3
- :class="$store.searchFieldOpen == true ? 'bg-white mt-2 rounded-t md:mt-0 md:rounded-none' : 'bg-blue-congress'"
2
+ x-cloak class="flex items-center h-8 sb-quick-search-button md:h-full md:border-r md:border-l md:border-white lg:border-none"
3
+ :class="$store.searchFieldOpen == true ? 'bg-white mt-2 rounded-t md:mt-0 md:rounded-none' : 'bg-primary'"
4
4
  >
5
5
  <button
6
6
  @click="$store.searchFieldOpen = ! $store.searchFieldOpen; dropped = false; $store.serviceNavIsOpen = false; toggleScrolling(!$store.searchFieldOpen)"
@@ -20,7 +20,7 @@
20
20
  </svg>
21
21
  <svg
22
22
  x-show="$store.searchFieldOpen == true"
23
- class="h-6 fill-current w-9 text-blue-congress"
23
+ class="h-6 fill-current w-9 text-primary"
24
24
  xmlns="http://www.w3.org/2000/svg"
25
25
  viewBox="0 0 20 20"
26
26
  x-effect="$el.setAttribute('aria-hidden', $store.searchFieldOpen == false)"
@@ -19,7 +19,7 @@
19
19
  name="query"
20
20
  x-model="query"
21
21
  placeholder='{{loca "search_input_placeholder" }}'
22
- class="w-full px-2 py-2 text-base leading-4 placeholder-opacity-100 border rounded-l rounded-r-none shadow-inner appearance-none lg:border-0 lg:border-none border-blue-congress lg:h-10 placeholder-text-xs placeholder-blue-congress text-blue-congress focus:outline-none"
22
+ class="w-full px-2 py-2 text-base leading-4 placeholder-opacity-100 border rounded-l rounded-r-none shadow-inner appearance-none lg:border-0 lg:border-none border-primary lg:h-10 placeholder-text-xs placeholder-primary text-primary focus:outline-none"
23
23
  type="text"
24
24
  id="searchInput--{{getRandom}}"
25
25
  autocomplete="off"
@@ -52,7 +52,7 @@
52
52
  <a
53
53
  x-bind:active="false"
54
54
  x-bind:href="'{{resourceUrl "suche/index.nocache"}}?query=' + suggestion"
55
- x-bind:class="{'py-1.5 px-2 link-focus-inset text-base flex w-full rounded hover:bg-blue-congress hover:text-white': true, 'bg-blue-congress text-white':index==cursorIndex }"
55
+ x-bind:class="{'py-1.5 px-2 link-focus-inset text-base flex w-full rounded hover:bg-primary hover:text-white': true, 'bg-primary text-white':index==cursorIndex }"
56
56
  >
57
57
  <span x-text="suggestion"></span>
58
58
  </a>
@@ -65,9 +65,9 @@
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-10002"
68
+ class="pl-3 pr-2 rounded-r cursor-pointer link-focus-inset bg-primary lg:bg-white text-primary z-10002"
69
69
  >
70
- <svg class="w-6 h-6 text-white fill-current bg-blue-congress lg:fill-current lg:text-blue-congress lg:bg-white"
70
+ <svg class="w-6 h-6 text-white fill-current bg-primary lg:fill-current lg:text-primary lg:bg-white"
71
71
  xmlns="http://www.w3.org/2000/svg"
72
72
  viewBox="0 0 20 20"
73
73
  aria-hidden="true"
@@ -2,8 +2,8 @@
2
2
  <li x-data="dropdown"
3
3
  @click.outside="dropped = false"
4
4
  @close-servicemenu.window="dropped = false"
5
- :class="dropped ? 'border-b-0 lg:bg-white lg:text-blue-congress h-auto' : 'h-10 lg:hover:underline'"
6
- class="flex flex-wrap justify-start order-2 w-full text-white list-none border-b border-white sb-section-navigation-item first:lg:-ml-4 md:pl-0 lg:last:pr-8 lg:first:pl-0 first:border-t lg:first:border-t-0 first:font-normal last:border-b-0 lg:border-0 lg:w-auto bg-blue-congress lg:rounded-t">
5
+ :class="dropped ? 'border-b-0 lg:bg-white lg:text-primary h-auto' : 'h-10 lg:hover:underline'"
6
+ class="flex flex-wrap justify-start order-2 w-full text-white list-none border-b border-white sb-section-navigation-item first:lg:-ml-4 md:pl-0 lg:last:pr-8 lg:first:pl-0 first:border-t lg:first:border-t-0 first:font-normal last:border-b-0 lg:border-0 lg:w-auto bg-primary lg:rounded-t">
7
7
  {{#if this.isCluster ~}}
8
8
  {{!-- Gilt z.B. für REGIONEN: --}}
9
9
  <button id="button-{{nextRandom}}-1"
@@ -1,10 +1,11 @@
1
1
  <li class="order-1 w-full lg:mr-2 lg:w-auto lg:order-2">
2
- <ul class="flex flex-row items-center w-full p-4 text-left list-none bg-white lg:pb-1 lg:p-0 lg:bg-transparent lg:h-10">
2
+ <ul class="flex flex-row items-center w-full p-4 text-left list-none bg-blue-linkWater lg:p-0 lg:bg-transparent lg:h-10">
3
3
  {{#each this.items}}
4
- <li class="{{#unless @last}}mr-3 {{/unless}}{{#if this.selected}}bg-blue-200 hover:bg-blue-300 text-blue-astronautBlue{{else}}bg-white hover:bg-grey-alto text-blue-congress{{/if}} rounded px-2 pt-px inline-block w-auto tracking-wide text-base leading-5.5 font-heading">
5
- {{#> components/base/link _link=this.link}}
6
- {{this.text}}
7
- {{/components/base/link}}
4
+ <li class="{{#unless @last}}mr-3 {{/unless}}">
5
+ {{#> components/button/top_topics_button}}
6
+ <div class="sr-only">{{loca "label_top_thema"}}</div>
7
+ {{> components/button/components/button_label _label=this.text }}
8
+ {{/components/button/top_topics_button}}
8
9
  </li>
9
10
  {{/each}}
10
11
  </ul>
@@ -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-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 "
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-primary 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">
@@ -12,7 +12,7 @@
12
12
 
13
13
  class="js-load flex flex-col items-center justify-center h-full px-4 text-left lg:justify-start lg:px-3 lg:pt-1 lg:hover:underline lg:relative lg:rounded-t lg:border-0 lg:left-0 link-focus-inset-white {{#if this.selected}}-currentService{{/if}}"
14
14
 
15
- :class="dropped ? 'bg-white fill-current text-blue-congress lg:border-0 lg:underline' : ''"
15
+ :class="dropped ? 'bg-white fill-current text-primary lg:border-0 lg:underline' : ''"
16
16
 
17
17
  aria-owns="flyout-{{getRandom}}"
18
18
  aria-controls="flyout-{{getRandom}}"
@@ -35,7 +35,7 @@
35
35
  <span class="sr-only lg:hidden">{{this.text}}</span>
36
36
  </div>
37
37
 
38
- <div :class="{'text-blue-congress fill-current': dropped,'text-white fill-white': !dropped}" class="relative flex-row items-center justify-center hidden pt-px text-white lg:flex z-10002">
38
+ <div :class="{'text-primary fill-current': dropped,'text-white fill-white': !dropped}" 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}}
@@ -239,6 +239,7 @@ module.exports = {
239
239
  sea: '#006783',
240
240
  tarawera: '#0a3355',
241
241
  turquoiseCerulian: '#007fa0',
242
+ linkWater: '#d3e2f4',
242
243
  },
243
244
  'black': {
244
245
  DEFAULT: '#000000',