hr-design-system-handlebars 0.121.1 → 0.121.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.
Files changed (28) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/assets/index.css +38 -23
  3. package/dist/views/components/content_nav/content_nav_container.hbs +1 -1
  4. package/dist/views/components/grid/grid_group_tabbed.hbs +1 -1
  5. package/dist/views/components/teaser/cluster/teaser_cluster.hbs +1 -1
  6. package/dist/views/components/teaser/podcast/podcast-playlist.hbs +1 -1
  7. package/dist/views/components/teaser/podcast/podcast.hbs +1 -1
  8. package/dist/views/components/teaser/podcast/podcast_playlist_player.hbs +15 -13
  9. package/dist/views/components/teaser/podcast/podcast_playlist_shorttext.hbs +10 -0
  10. package/dist/views/components/teaser/podcast/podcast_subscribe_button.hbs +3 -3
  11. package/dist/views/components/teaser/podcast/podcast_title.hbs +1 -1
  12. package/dist/views/components/teaser/tabbox/teaser_tabbox.hbs +1 -1
  13. package/dist/views/components/teaser/teaser_poster.hbs +3 -3
  14. package/package.json +1 -1
  15. package/src/assets/css/custom-components.css +1 -1
  16. package/src/assets/tailwind.css +6 -0
  17. package/src/stories/views/components/content_nav/content_nav_container.hbs +1 -1
  18. package/src/stories/views/components/grid/grid_group_tabbed.hbs +1 -1
  19. package/src/stories/views/components/teaser/cluster/teaser_cluster.hbs +1 -1
  20. package/src/stories/views/components/teaser/podcast/podcast-playlist.hbs +1 -1
  21. package/src/stories/views/components/teaser/podcast/podcast.hbs +1 -1
  22. package/src/stories/views/components/teaser/podcast/podcast_playlist_player.hbs +15 -13
  23. package/src/stories/views/components/teaser/podcast/podcast_playlist_shorttext.hbs +10 -0
  24. package/src/stories/views/components/teaser/podcast/podcast_subscribe_button.hbs +3 -3
  25. package/src/stories/views/components/teaser/podcast/podcast_title.hbs +1 -1
  26. package/src/stories/views/components/teaser/tabbox/teaser_tabbox.hbs +1 -1
  27. package/src/stories/views/components/teaser/teaser_poster.hbs +3 -3
  28. package/tailwind.config.js +3 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ # v0.121.3 (Fri Jan 20 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Dpe 2007 2 [#495](https://github.com/mumprod/hr-design-system-handlebars/pull/495) ([@StefanVesper](https://github.com/StefanVesper))
6
+
7
+ #### Authors: 1
8
+
9
+ - SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
10
+
11
+ ---
12
+
13
+ # v0.121.2 (Fri Jan 20 2023)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - DPE-1936 Ecken der Boxen anpasssen [#494](https://github.com/mumprod/hr-design-system-handlebars/pull/494) ([@Sunny1112358](https://github.com/Sunny1112358))
18
+
19
+ #### Authors: 1
20
+
21
+ - [@Sunny1112358](https://github.com/Sunny1112358)
22
+
23
+ ---
24
+
1
25
  # v0.121.1 (Fri Jan 20 2023)
2
26
 
3
27
  #### 🐛 Bug Fix
@@ -672,7 +672,7 @@ video {
672
672
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 rgba(0,0,0,0);
673
673
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0,0,0,0));
674
674
  --tw-ring-inset: inset;
675
- --tw-ring-color: currentColor;
675
+ --tw-ring-color: var(--color-focus-state);
676
676
  }
677
677
  .ds-link-inset:focus:not(:focus-visible) {
678
678
  --tw-shadow: 0 0 rgba(0,0,0,0);
@@ -1037,6 +1037,9 @@ video {
1037
1037
  .-z-1000 {
1038
1038
  z-index: -1000;
1039
1039
  }
1040
+ .z-9999 {
1041
+ z-index: 9999;
1042
+ }
1040
1043
  .order-1 {
1041
1044
  order: 1;
1042
1045
  }
@@ -1644,11 +1647,13 @@ video {
1644
1647
  border-top-right-radius: 0.25rem;
1645
1648
  border-bottom-right-radius: 0.25rem;
1646
1649
  }
1647
- .rounded-tl-3xl {
1648
- border-top-left-radius: 1.5rem;
1650
+ .rounded-tl-hr {
1651
+ border-top-left-radius: 0px;
1652
+ border-top-left-radius: var(--border-radius-hr);
1649
1653
  }
1650
- .rounded-br-3xl {
1651
- border-bottom-right-radius: 1.5rem;
1654
+ .rounded-br-hr {
1655
+ border-bottom-right-radius: 0px;
1656
+ border-bottom-right-radius: var(--border-radius-hr);
1652
1657
  }
1653
1658
  .rounded-tr-none {
1654
1659
  border-top-right-radius: 0px;
@@ -2481,7 +2486,7 @@ video {
2481
2486
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
2482
2487
  }
2483
2488
  .counter-reset {
2484
- counter-reset: cnt1674224061312;
2489
+ counter-reset: cnt1674233895565;
2485
2490
  }
2486
2491
  .line-clamp-4 {
2487
2492
  overflow: hidden;
@@ -2699,7 +2704,7 @@ video {
2699
2704
  --tw-ring-color: rgba(255, 255, 255, 0.5);
2700
2705
  }
2701
2706
  .-ordered {
2702
- counter-increment: cnt1674224061312 1;
2707
+ counter-increment: cnt1674233895565 1;
2703
2708
  }
2704
2709
  .-ordered::before {
2705
2710
  position: absolute;
@@ -2715,7 +2720,7 @@ video {
2715
2720
  letter-spacing: .0125em;
2716
2721
  --tw-text-opacity: 1;
2717
2722
  color: rgba(0, 0, 0, var(--tw-text-opacity));
2718
- content: counter(cnt1674224061312);
2723
+ content: counter(cnt1674233895565);
2719
2724
  }
2720
2725
  /*! ****************************/
2721
2726
  /*! text-shadow */
@@ -2789,6 +2794,8 @@ video {
2789
2794
  --font-weight-title: 700;
2790
2795
  --font-titleCluster: RobotoSlab, ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
2791
2796
  --font-weight-titleCluster: 700;
2797
+ /* Border Radius */
2798
+ --border-radius-hr: 0px; ;
2792
2799
  }
2793
2800
  [data-theme='hessenschau'] {
2794
2801
  --color-primary: #005293;
@@ -2849,6 +2856,8 @@ video {
2849
2856
  --font-weight-title: 400;
2850
2857
  --font-titleCluster: RobotoSlab, ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
2851
2858
  --font-weight-titleCluster: 700;
2859
+ /* Border */
2860
+ --border-radius-hr: 1.5rem;
2852
2861
  }
2853
2862
  [data-theme='hr-fernsehen'] {
2854
2863
  --color-primary: #a00d65;
@@ -3420,6 +3429,8 @@ video {
3420
3429
  /* Font */
3421
3430
  --font-title: RobotoCond, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
3422
3431
  --font-weight-title: 700;
3432
+ /* Border */
3433
+ --border-radius-hr: 1.5rem;
3423
3434
  }
3424
3435
  [data-theme='you-fm'] {
3425
3436
  --color-primary: #c20016;
@@ -3639,11 +3650,13 @@ video {
3639
3650
  .before\:rounded-2xl::before {
3640
3651
  border-radius: 1rem;
3641
3652
  }
3642
- .before\:rounded-tl-3xl::before {
3643
- border-top-left-radius: 1.5rem;
3653
+ .before\:rounded-tl-hr::before {
3654
+ border-top-left-radius: 0px;
3655
+ border-top-left-radius: var(--border-radius-hr);
3644
3656
  }
3645
- .before\:rounded-br-3xl::before {
3646
- border-bottom-right-radius: 1.5rem;
3657
+ .before\:rounded-br-hr::before {
3658
+ border-bottom-right-radius: 0px;
3659
+ border-bottom-right-radius: var(--border-radius-hr);
3647
3660
  }
3648
3661
  .before\:pt-3\/4::before {
3649
3662
  padding-top: 75%;
@@ -4017,12 +4030,14 @@ video {
4017
4030
  border-radius: 0px;
4018
4031
  }
4019
4032
 
4020
- .md\:rounded-tl-3xl {
4021
- border-top-left-radius: 1.5rem;
4033
+ .md\:rounded-tl-hr {
4034
+ border-top-left-radius: 0px;
4035
+ border-top-left-radius: var(--border-radius-hr);
4022
4036
  }
4023
4037
 
4024
- .md\:rounded-br-3xl {
4025
- border-bottom-right-radius: 1.5rem;
4038
+ .md\:rounded-br-hr {
4039
+ border-bottom-right-radius: 0px;
4040
+ border-bottom-right-radius: var(--border-radius-hr);
4026
4041
  }
4027
4042
 
4028
4043
  .md\:border-0 {
@@ -4170,13 +4185,6 @@ video {
4170
4185
  -webkit-box-orient: vertical;
4171
4186
  -webkit-line-clamp: 4;
4172
4187
  }
4173
-
4174
- .md\:line-clamp-2 {
4175
- overflow: hidden;
4176
- display: -webkit-box;
4177
- -webkit-box-orient: vertical;
4178
- -webkit-line-clamp: 2;
4179
- }
4180
4188
  .md\:ar-16-9 {
4181
4189
  aspect-ratio: 16 / 9;
4182
4190
  }
@@ -4652,6 +4660,13 @@ video {
4652
4660
  -webkit-line-clamp: 5;
4653
4661
  }
4654
4662
 
4663
+ .lg\:line-clamp-2 {
4664
+ overflow: hidden;
4665
+ display: -webkit-box;
4666
+ -webkit-box-orient: vertical;
4667
+ -webkit-line-clamp: 2;
4668
+ }
4669
+
4655
4670
  .lg\:col-main {
4656
4671
  grid-column: main;
4657
4672
  }
@@ -6,7 +6,7 @@
6
6
  {{#if this.isAutosuggest}}
7
7
  <div class="flex mx-0 w-full h-10 border-blue-congress align-center{{#if _autoSuggestContainerCss}} {{_autoSuggestContainerCss}}{{/if}}">
8
8
  <input x-ref="autosuggestInput"
9
- class="w-full h-10 pl-2 bg-gray-200 border-b-8 border-white text-grey-dark placeholder:text-grey-dark focus:outline-none js-autosuggest-input"
9
+ class="w-full h-10 pl-2 bg-gray-200 border-b-8 border-white ds-link-inset text-grey-dark placeholder:text-grey-dark focus:outline-none js-autosuggest-input"
10
10
  type="text"
11
11
  placeholder="Eintrag filtern"/>
12
12
  </div>
@@ -1,5 +1,5 @@
1
1
  </div>
2
- <section class="grid grid-cols-12 px-8 py-8 mx-4 mt-6 bg-blue-400 sm:mx-0 rounded-tl-3xl rounded-br-3xl col-full sm:col-main gap-x-6 gap-y-6">
2
+ <section class="grid grid-cols-12 px-8 py-8 mx-4 mt-6 bg-blue-400 sm:mx-0 rounded-tl-hr rounded-br-hr col-full sm:col-main gap-x-6 gap-y-6">
3
3
  {{> @partial-block }}
4
4
  </section>
5
5
  <div class="{{> components/grid/grid_group_wrapper_classes }}">
@@ -1,4 +1,4 @@
1
- <article class="mx-5 sm:mx-0 col-span-12 grid bg-highlight-1 rounded-tl-3xl rounded-br-3xl {{~inline-switch this.teaserSize '["25","33","50"]' '[" md:col-span-3"," md:col-span-4"," md:col-span-6",""]'}} ">
1
+ <article class="mx-5 md:mx-0 col-span-12 grid bg-highlight-1 rounded-tl-hr rounded-br-hr {{~inline-switch this.teaserSize '["25","33","50"]' '[" md:col-span-3"," md:col-span-4"," md:col-span-6",""]'}} ">
2
2
  <div class="">
3
3
  <h2 class="flex items-center px-5 py-5 text-clusterTeaserHeadline">
4
4
  {{#if this.teaserLogo}}
@@ -1,4 +1,4 @@
1
- <div class="grid gap-y-6 relative gap-x-4 flex-col pt-5 mx-5 sm:mx-0 md:pt-5 bg-highlight-1 rounded-tl-3xl rounded-br-3xl col-span-12{{inline-switch this.teaserSize '["50"]' '[" md:col-span-6",""]'}}" >
1
+ <div class="grid gap-y-6 relative gap-x-4 flex-col pt-5 mx-5 sm:mx-0 md:pt-5 bg-highlight-1 rounded-tl-hr rounded-br-hr col-span-12{{inline-switch this.teaserSize '["50"]' '[" md:col-span-6",""]'}}" >
2
2
  {{> components/teaser/podcast/podcast_playlist_player _linkTitle="true" _isSinglePage=false _type="podcastPlaylistPlayerTeaser" }}
3
3
  </div>
4
4
 
@@ -1,3 +1,3 @@
1
- <div class="relative grid flex-col col-span-12 mx-5 sm:mx-0 gap-y-6 gap-x-4 bg-highlight-1 rounded-tl-3xl rounded-br-3xl{{inline-switch this.teaserSize '["50"]' '[" md:col-span-6",""]'}}" >
1
+ <div class="relative grid flex-col col-span-12 mx-5 sm:mx-0 gap-y-6 gap-x-4 bg-highlight-1 rounded-tl-hr rounded-br-hr{{inline-switch this.teaserSize '["50"]' '[" md:col-span-6",""]'}}" >
2
2
  {{> components/teaser/podcast/podcast_player _linkTitle="true" _isSinglePage=true _type="podcastEpisodePlayerTeaser" }}
3
3
  </div>
@@ -18,21 +18,15 @@
18
18
  {{> components/teaser/podcast/podcast_title _title=this.title _teaserSize=this.teaserSize _addClass="" }}
19
19
  </div>
20
20
 
21
- {{!-- Shorttext --}}
22
- {{#unless _isSinglePage}}
23
- {{#unless this.hideShortText}}
24
- {{~#with this.shorttext}}
25
- <div class="hidden pb-6 text-sm md:flex md:text-base font-copy">
26
- <span class="c-teaser__shorttext"> {{this}} </span>
27
- </div>
28
- {{/with~}}
29
- {{/unless}}
30
- {{/unless}}
31
-
21
+ {{#switch this.teaserSize }}
22
+ {{#case 100}}
23
+ {{> components/teaser/podcast/podcast_playlist_shorttext}}
24
+ {{/case}}
25
+ {{/switch}}
32
26
  </div>
33
27
 
34
28
  {{!-- Podcast Image --}}
35
- <div class="flex flex-col ">
29
+ <div class="flex flex-col pb-5">
36
30
  <div class="w-24 md:w-32 lg:w-42">
37
31
  {{> components/base/image/responsive_image this.teaseritem
38
32
  _type="podcastEpisodePlayer"
@@ -43,8 +37,16 @@
43
37
  }}
44
38
  </div>
45
39
  </div>
46
-
47
40
  </div>
41
+
42
+ {{#switch this.teaserSize }}
43
+ {{#case 50}}
44
+ <div class="flex flex-row w-full px-5 md:pl-5">
45
+ {{> components/teaser/podcast/podcast_playlist_shorttext}}
46
+ </div>
47
+ {{/case}}
48
+ {{/switch}}
49
+
48
50
  {{!-- Abo-Dropdown --}}
49
51
  <div class="flex flex-row px-5 md:pr-0">
50
52
  {{> components/teaser/podcast/podcast_subscribe_button}}
@@ -0,0 +1,10 @@
1
+ {{!-- Shorttext --}}
2
+ {{#unless _isSinglePage}}
3
+ {{#unless this.hideShortText}}
4
+ {{~#with this.shorttext}}
5
+ <div class="hidden pb-6 text-sm md:flex md:text-base font-copy">
6
+ <span class="c-teaser__shorttext"> {{this}} </span>
7
+ </div>
8
+ {{/with~}}
9
+ {{/unless}}
10
+ {{/unless}}
@@ -16,7 +16,7 @@
16
16
  x-on:keydown.escape.prevent.stop="close($refs.button)"
17
17
  x-on:focusin.window="! $refs.panel.contains($event.target) && close()"
18
18
  x-id="['dropdown-button']"
19
- class="relative z-10 h-10"
19
+ class="relative h-10 z-9999"
20
20
  >
21
21
 
22
22
  {{!-- Button --}}
@@ -44,13 +44,13 @@
44
44
  x-on:click.outside="close($refs.button)"
45
45
  :id="$id('dropdown-button')"
46
46
  style="display: none;"
47
- class="left-0 w-full px-2 text-sm text-white font-heading grow bg-podcast-highlight"
47
+ class="left-0 w-full text-sm text-white font-heading grow bg-podcast-highlight"
48
48
  >
49
49
  {{~#with this.podcastHoster~}}
50
50
  <ul>
51
51
  {{~#each this~}}
52
52
  <li class="{{#unless @last}}border-b{{/unless}}">
53
- <a class="flex py-2 text-left ds-link whitespace-nowrap hover:underline disabled:text-gray-500"
53
+ <a class="flex px-2 py-2 text-left ds-link whitespace-nowrap hover:underline disabled:text-gray-500"
54
54
  title="{{this.podcastHosterName}}"
55
55
  target="_blank"
56
56
  rel="noopener noreferrer"
@@ -1,4 +1,4 @@
1
- {{#decorator 'components/base/link' _css="group ds-link font-title text-base mt-2.5 text-podcast-text line-clamp-4 md:line-clamp-2 ..." }}
1
+ {{#decorator 'components/base/link' _css="group ds-link font-title text-base mt-2.5 text-podcast-text line-clamp-4 lg:line-clamp-2 ..." }}
2
2
  <span class="block mt-0.5 group-hover:underline {{#if _ordered}} pl-8 {{/if}} {{~ inline-switch _teaserSize '["hero","100","50"]''["text-base md:text-2xl","text-base md:text-2xl","text-base md:text-lg"]' ~}}">
3
3
  {{~_title~}}
4
4
  </span>
@@ -2,7 +2,7 @@
2
2
  <div
3
3
  x-cloak
4
4
  x-data="{ tab: '{{this.tabbedGroup.[0].title}}' }"
5
- class="grid grid-cols-12 pt-6 mx-0 mb-8 mt-14 col-full md:pt-7 bg-highlight-1 md:rounded-tl-3xl md:rounded-br-3xl md:col-main gap-x-6 gap-y-6"
5
+ class="grid grid-cols-12 pt-6 mx-0 mb-8 mt-14 col-full md:pt-7 bg-highlight-1 md:rounded-tl-hr md:rounded-br-hr md:col-main gap-x-6 gap-y-6"
6
6
  >
7
7
  <section class="px-0 col-span-full sm:px-8 md:px-0" data-hr-group-tabbed='{"wandaPageId":"{{this.wandaPageId}}"}'>
8
8
  <div class="flex flex-wrap justify-center mb-7 mx-1.5" role="tablist">
@@ -1,9 +1,9 @@
1
1
  <article class="mx-5 sm:mx-0 relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.realTeaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
2
2
  <figure class="ar-1-1" aria-hidden="true">
3
- {{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-3xl rounded-br-3xl" ~}}
3
+ {{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
4
4
  </figure>
5
- <div class="absolute flex flex-col justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-3xl rounded-br-3xl" aria-hidden="true">
6
- {{#decorator 'components/base/link' _css="ds-teaser-focus flex items-center flex-col before:rounded-tl-3xl before:rounded-br-3xl hover:text-toplineColor"}}
5
+ <div class="absolute flex flex-col justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-hr rounded-br-hr" aria-hidden="true">
6
+ {{#decorator 'components/base/link' _css="ds-teaser-focus flex items-center flex-col before:rounded-tl-hr before:rounded-br-hr hover:text-toplineColor"}}
7
7
  {{> components/teaser/components/teaser_heading
8
8
  _headlineTag="h2"
9
9
  _headlineCss="text-shadow text-center text-white mb-4 mx-4 md:mb-8 xs:mx-6 sm:mx-8 md:mx-5 lg:mx-8 line-clamp-4 xs:line-clamp-6 md:line-clamp-4 lg:line-clamp-5"
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.121.1",
9
+ "version": "0.121.3",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "start-storybook -p 6006 public",
@@ -106,7 +106,7 @@
106
106
  }
107
107
 
108
108
  .ds-link-inset {
109
- @apply block focus:ring-inset focus:ring-4 focus:outline-none focus:ring-current ;
109
+ @apply block focus:ring-inset focus:ring-4 focus:outline-none focus:ring-focus-state ;
110
110
  }
111
111
 
112
112
  .ds-link-inset:focus:not(:focus-visible) {
@@ -67,6 +67,8 @@
67
67
  --font-weight-title: theme('fontWeight.bold');
68
68
  --font-titleCluster: theme('fontFamily.headingSerif');
69
69
  --font-weight-titleCluster: theme('fontWeight.bold');
70
+ /* Border Radius */
71
+ --border-radius-hr: theme('borderRadius.none'); ;
70
72
  }
71
73
 
72
74
  [data-theme='hessenschau'] {
@@ -128,6 +130,8 @@
128
130
  --font-weight-title: theme('fontWeight.normal');
129
131
  --font-titleCluster: theme('fontFamily.headingSerif');
130
132
  --font-weight-titleCluster: theme('fontWeight.bold');
133
+ /* Border */
134
+ --border-radius-hr: theme('borderRadius.3xl');
131
135
  }
132
136
 
133
137
  [data-theme='hr-fernsehen'] {
@@ -710,6 +714,8 @@
710
714
  /* Font */
711
715
  --font-title: theme('fontFamily.heading');
712
716
  --font-weight-title: theme('fontWeight.bold');
717
+ /* Border */
718
+ --border-radius-hr: theme('borderRadius.3xl');
713
719
  }
714
720
 
715
721
  [data-theme='you-fm'] {
@@ -6,7 +6,7 @@
6
6
  {{#if this.isAutosuggest}}
7
7
  <div class="flex mx-0 w-full h-10 border-blue-congress align-center{{#if _autoSuggestContainerCss}} {{_autoSuggestContainerCss}}{{/if}}">
8
8
  <input x-ref="autosuggestInput"
9
- class="w-full h-10 pl-2 bg-gray-200 border-b-8 border-white text-grey-dark placeholder:text-grey-dark focus:outline-none js-autosuggest-input"
9
+ class="w-full h-10 pl-2 bg-gray-200 border-b-8 border-white ds-link-inset text-grey-dark placeholder:text-grey-dark focus:outline-none js-autosuggest-input"
10
10
  type="text"
11
11
  placeholder="Eintrag filtern"/>
12
12
  </div>
@@ -1,5 +1,5 @@
1
1
  </div>
2
- <section class="grid grid-cols-12 px-8 py-8 mx-4 mt-6 bg-blue-400 sm:mx-0 rounded-tl-3xl rounded-br-3xl col-full sm:col-main gap-x-6 gap-y-6">
2
+ <section class="grid grid-cols-12 px-8 py-8 mx-4 mt-6 bg-blue-400 sm:mx-0 rounded-tl-hr rounded-br-hr col-full sm:col-main gap-x-6 gap-y-6">
3
3
  {{> @partial-block }}
4
4
  </section>
5
5
  <div class="{{> components/grid/grid_group_wrapper_classes }}">
@@ -1,4 +1,4 @@
1
- <article class="mx-5 sm:mx-0 col-span-12 grid bg-highlight-1 rounded-tl-3xl rounded-br-3xl {{~inline-switch this.teaserSize '["25","33","50"]' '[" md:col-span-3"," md:col-span-4"," md:col-span-6",""]'}} ">
1
+ <article class="mx-5 md:mx-0 col-span-12 grid bg-highlight-1 rounded-tl-hr rounded-br-hr {{~inline-switch this.teaserSize '["25","33","50"]' '[" md:col-span-3"," md:col-span-4"," md:col-span-6",""]'}} ">
2
2
  <div class="">
3
3
  <h2 class="flex items-center px-5 py-5 text-clusterTeaserHeadline">
4
4
  {{#if this.teaserLogo}}
@@ -1,4 +1,4 @@
1
- <div class="grid gap-y-6 relative gap-x-4 flex-col pt-5 mx-5 sm:mx-0 md:pt-5 bg-highlight-1 rounded-tl-3xl rounded-br-3xl col-span-12{{inline-switch this.teaserSize '["50"]' '[" md:col-span-6",""]'}}" >
1
+ <div class="grid gap-y-6 relative gap-x-4 flex-col pt-5 mx-5 sm:mx-0 md:pt-5 bg-highlight-1 rounded-tl-hr rounded-br-hr col-span-12{{inline-switch this.teaserSize '["50"]' '[" md:col-span-6",""]'}}" >
2
2
  {{> components/teaser/podcast/podcast_playlist_player _linkTitle="true" _isSinglePage=false _type="podcastPlaylistPlayerTeaser" }}
3
3
  </div>
4
4
 
@@ -1,3 +1,3 @@
1
- <div class="relative grid flex-col col-span-12 mx-5 sm:mx-0 gap-y-6 gap-x-4 bg-highlight-1 rounded-tl-3xl rounded-br-3xl{{inline-switch this.teaserSize '["50"]' '[" md:col-span-6",""]'}}" >
1
+ <div class="relative grid flex-col col-span-12 mx-5 sm:mx-0 gap-y-6 gap-x-4 bg-highlight-1 rounded-tl-hr rounded-br-hr{{inline-switch this.teaserSize '["50"]' '[" md:col-span-6",""]'}}" >
2
2
  {{> components/teaser/podcast/podcast_player _linkTitle="true" _isSinglePage=true _type="podcastEpisodePlayerTeaser" }}
3
3
  </div>
@@ -18,21 +18,15 @@
18
18
  {{> components/teaser/podcast/podcast_title _title=this.title _teaserSize=this.teaserSize _addClass="" }}
19
19
  </div>
20
20
 
21
- {{!-- Shorttext --}}
22
- {{#unless _isSinglePage}}
23
- {{#unless this.hideShortText}}
24
- {{~#with this.shorttext}}
25
- <div class="hidden pb-6 text-sm md:flex md:text-base font-copy">
26
- <span class="c-teaser__shorttext"> {{this}} </span>
27
- </div>
28
- {{/with~}}
29
- {{/unless}}
30
- {{/unless}}
31
-
21
+ {{#switch this.teaserSize }}
22
+ {{#case 100}}
23
+ {{> components/teaser/podcast/podcast_playlist_shorttext}}
24
+ {{/case}}
25
+ {{/switch}}
32
26
  </div>
33
27
 
34
28
  {{!-- Podcast Image --}}
35
- <div class="flex flex-col ">
29
+ <div class="flex flex-col pb-5">
36
30
  <div class="w-24 md:w-32 lg:w-42">
37
31
  {{> components/base/image/responsive_image this.teaseritem
38
32
  _type="podcastEpisodePlayer"
@@ -43,8 +37,16 @@
43
37
  }}
44
38
  </div>
45
39
  </div>
46
-
47
40
  </div>
41
+
42
+ {{#switch this.teaserSize }}
43
+ {{#case 50}}
44
+ <div class="flex flex-row w-full px-5 md:pl-5">
45
+ {{> components/teaser/podcast/podcast_playlist_shorttext}}
46
+ </div>
47
+ {{/case}}
48
+ {{/switch}}
49
+
48
50
  {{!-- Abo-Dropdown --}}
49
51
  <div class="flex flex-row px-5 md:pr-0">
50
52
  {{> components/teaser/podcast/podcast_subscribe_button}}
@@ -0,0 +1,10 @@
1
+ {{!-- Shorttext --}}
2
+ {{#unless _isSinglePage}}
3
+ {{#unless this.hideShortText}}
4
+ {{~#with this.shorttext}}
5
+ <div class="hidden pb-6 text-sm md:flex md:text-base font-copy">
6
+ <span class="c-teaser__shorttext"> {{this}} </span>
7
+ </div>
8
+ {{/with~}}
9
+ {{/unless}}
10
+ {{/unless}}
@@ -16,7 +16,7 @@
16
16
  x-on:keydown.escape.prevent.stop="close($refs.button)"
17
17
  x-on:focusin.window="! $refs.panel.contains($event.target) && close()"
18
18
  x-id="['dropdown-button']"
19
- class="relative z-10 h-10"
19
+ class="relative h-10 z-9999"
20
20
  >
21
21
 
22
22
  {{!-- Button --}}
@@ -44,13 +44,13 @@
44
44
  x-on:click.outside="close($refs.button)"
45
45
  :id="$id('dropdown-button')"
46
46
  style="display: none;"
47
- class="left-0 w-full px-2 text-sm text-white font-heading grow bg-podcast-highlight"
47
+ class="left-0 w-full text-sm text-white font-heading grow bg-podcast-highlight"
48
48
  >
49
49
  {{~#with this.podcastHoster~}}
50
50
  <ul>
51
51
  {{~#each this~}}
52
52
  <li class="{{#unless @last}}border-b{{/unless}}">
53
- <a class="flex py-2 text-left ds-link whitespace-nowrap hover:underline disabled:text-gray-500"
53
+ <a class="flex px-2 py-2 text-left ds-link whitespace-nowrap hover:underline disabled:text-gray-500"
54
54
  title="{{this.podcastHosterName}}"
55
55
  target="_blank"
56
56
  rel="noopener noreferrer"
@@ -1,4 +1,4 @@
1
- {{#decorator 'components/base/link' _css="group ds-link font-title text-base mt-2.5 text-podcast-text line-clamp-4 md:line-clamp-2 ..." }}
1
+ {{#decorator 'components/base/link' _css="group ds-link font-title text-base mt-2.5 text-podcast-text line-clamp-4 lg:line-clamp-2 ..." }}
2
2
  <span class="block mt-0.5 group-hover:underline {{#if _ordered}} pl-8 {{/if}} {{~ inline-switch _teaserSize '["hero","100","50"]''["text-base md:text-2xl","text-base md:text-2xl","text-base md:text-lg"]' ~}}">
3
3
  {{~_title~}}
4
4
  </span>
@@ -2,7 +2,7 @@
2
2
  <div
3
3
  x-cloak
4
4
  x-data="{ tab: '{{this.tabbedGroup.[0].title}}' }"
5
- class="grid grid-cols-12 pt-6 mx-0 mb-8 mt-14 col-full md:pt-7 bg-highlight-1 md:rounded-tl-3xl md:rounded-br-3xl md:col-main gap-x-6 gap-y-6"
5
+ class="grid grid-cols-12 pt-6 mx-0 mb-8 mt-14 col-full md:pt-7 bg-highlight-1 md:rounded-tl-hr md:rounded-br-hr md:col-main gap-x-6 gap-y-6"
6
6
  >
7
7
  <section class="px-0 col-span-full sm:px-8 md:px-0" data-hr-group-tabbed='{"wandaPageId":"{{this.wandaPageId}}"}'>
8
8
  <div class="flex flex-wrap justify-center mb-7 mx-1.5" role="tablist">
@@ -1,9 +1,9 @@
1
1
  <article class="mx-5 sm:mx-0 relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.realTeaserSize '["33","50"]' '["md:col-span-4 flex-col","md:col-span-6 flex-col","flex-col"]'}} ">
2
2
  <figure class="ar-1-1" aria-hidden="true">
3
- {{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-3xl rounded-br-3xl" ~}}
3
+ {{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.content.imageVariant _noDelay=../_noDelay _addClassImg="ar__content rounded-tl-hr rounded-br-hr" ~}}
4
4
  </figure>
5
- <div class="absolute flex flex-col justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-3xl rounded-br-3xl" aria-hidden="true">
6
- {{#decorator 'components/base/link' _css="ds-teaser-focus flex items-center flex-col before:rounded-tl-3xl before:rounded-br-3xl hover:text-toplineColor"}}
5
+ <div class="absolute flex flex-col justify-center w-full h-full bg-gradient-to-t from-black rounded-tl-hr rounded-br-hr" aria-hidden="true">
6
+ {{#decorator 'components/base/link' _css="ds-teaser-focus flex items-center flex-col before:rounded-tl-hr before:rounded-br-hr hover:text-toplineColor"}}
7
7
  {{> components/teaser/components/teaser_heading
8
8
  _headlineTag="h2"
9
9
  _headlineCss="text-shadow text-center text-white mb-4 mx-4 md:mb-8 xs:mx-6 sm:mx-8 md:mx-5 lg:mx-8 line-clamp-4 xs:line-clamp-6 md:line-clamp-4 lg:line-clamp-5"
@@ -38,6 +38,9 @@ module.exports = {
38
38
  },
39
39
 
40
40
  extend: {
41
+ borderRadius: {
42
+ hr: 'var(--border-radius-hr)',
43
+ },
41
44
  fontSize: {
42
45
  'xs': ['0.75rem', '1.063rem'],
43
46
  'sm': ['0.875rem', '1.188rem'],