hr-design-system-handlebars 0.119.2 → 0.120.1
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 +24 -0
- package/dist/assets/index.css +3 -3
- package/dist/views/components/teaser/group_teaser/group_teaser.hbs +14 -12
- package/dist/views/components/teaser/group_teaser/group_teaser_accented.hbs +14 -12
- package/dist/views/components/teaser/teaser_poster.hbs +2 -2
- package/package.json +1 -1
- package/src/assets/fixtures/teaser/teaser_groups.inc.json +6 -0
- package/src/stories/views/components/teaser/fixtures/teaser_group_100.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_group_100_contentnav.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_group_100_highlight.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_group_100_highlight_2.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_group_related_content_100.json +1 -1
- package/src/stories/views/components/teaser/fixtures/teaser_index.json +1 -1
- package/src/stories/views/components/teaser/group_teaser/group_teaser.hbs +14 -12
- package/src/stories/views/components/teaser/group_teaser/group_teaser_accented.hbs +14 -12
- package/src/stories/views/components/teaser/teaser_poster.hbs +2 -2
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
{{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
{{
|
|
5
|
-
{{this.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
{{#if this.hasGroupItems}}
|
|
2
|
+
{{#>components/grid/grid_group _backgroundColor=this.backgroundColor }}
|
|
3
|
+
{{~#if this.hasGroupTitle}}
|
|
4
|
+
<{{if this.headlineTag this.headlineTag "h2"}} class="text-2xl{{#unless this.isRelatedContent}} md:text-4xl{{/unless}} col-span-full py-0 font-title {{#if this.backgroundColor}} text-center{{else}} headline-barrier{{/if}}">
|
|
5
|
+
{{~#if this.hasLink}}<a class="no-underline hover:underline decoration-1 md:decoration-2 text-link" href="{{this.link.url}}">{{/if~}}
|
|
6
|
+
{{this.groupTitle}}
|
|
7
|
+
{{~#if this.hasLink}}</a>{{/if~}}
|
|
8
|
+
</{{if this.headlineTag this.headlineTag "h2"}}>
|
|
9
|
+
{{/if}}
|
|
10
|
+
<div class="grid items-start content-start grid-cols-12 col-span-12 gap-x-6 gap-y-10 md:gap-y-14">
|
|
11
|
+
{{~> components/teaser/teaser_logic/teaser_logic ~}}
|
|
12
|
+
</div>
|
|
13
|
+
{{/components/grid/grid_group}}
|
|
14
|
+
{{/if}}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
{{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
{{#if this.hasGroupItems}}
|
|
2
|
+
{{#>components/grid/grid_group size=this.teaserSize }}
|
|
3
|
+
<div class="grid items-start content-start h-auto grid-cols-12 col-span-12 p-8 rounded-tr-none rounded-bl-none bg-highlight-1 rounded-3xl gap-x-6 gap-y-5">
|
|
4
|
+
{{~#if this.hasGroupTitle}}
|
|
5
|
+
<h2 class="text-2xl md:text-4xl col-span-full pt-0 pb-4 font-title {{#if this.backgroundColor}} text-center{{else}} headline-barrier{{/if}}">
|
|
6
|
+
{{~#if this.hasLink}}<a class="no-underline hover:underline decoration-1 md:decoration-2 text-blue-science" href="{{this.link.url}}">{{/if~}}
|
|
7
|
+
{{this.groupTitle}}
|
|
8
|
+
{{~#if this.hasLink}}</a>{{/if~}}
|
|
9
|
+
</h2>
|
|
10
|
+
{{/if}}
|
|
11
|
+
{{~> components/teaser/teaser_logic/teaser_logic ~}}
|
|
12
|
+
</div>
|
|
13
|
+
{{/components/grid/grid_group}}
|
|
14
|
+
{{/if}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<article class="mx-5 sm:mx-0 relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.
|
|
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
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" ~}}
|
|
4
4
|
</figure>
|
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
_teaserType=this.teaserType
|
|
18
18
|
_font=(inline-switch isSerifHeading '[true, false]' '["font-headingSerif","font-heading font-bold"]') }}
|
|
19
19
|
{{/decorator}}
|
|
20
|
-
{{~> components/button/button_pseudo _type="hollow-white" _withLink=true _isLinkAriaHidden=true _linkCss="ds-cta absolute flex w-full h-full items-end justify-center" _buttonCss=(inline-switch this.
|
|
20
|
+
{{~> components/button/button_pseudo _type="hollow-white" _withLink=true _isLinkAriaHidden=true _linkCss="ds-cta absolute flex w-full h-full items-end justify-center" _buttonCss=(inline-switch this.realTeaserSize '["33","50"]' '["z-20 mb-7","z-20 mb-7 md:mb-16"]') _buttonText=this.link.readMoreText.readMoreLong ~}}
|
|
21
21
|
</div>
|
|
22
22
|
</article>
|