hr-design-system-handlebars 0.119.1 → 0.120.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.
- package/CHANGELOG.md +24 -0
- package/dist/assets/index.css +8 -3
- package/dist/views/components/teaser/cluster/teaser_cluster.hbs +1 -1
- package/dist/views/components/teaser/components/teaser_body.hbs +2 -2
- 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_alternativ.hbs +1 -1
- package/dist/views/components/teaser/teaser_poster.hbs +1 -1
- package/dist/views/components/teaser/teaser_standard.hbs +1 -1
- package/package.json +1 -1
- package/src/assets/fixtures/teaser/teaser_groups.inc.json +6 -0
- package/src/stories/views/components/teaser/cluster/teaser_cluster.hbs +1 -1
- package/src/stories/views/components/teaser/components/teaser_body.hbs +2 -2
- 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_alternativ.hbs +1 -1
- package/src/stories/views/components/teaser/teaser_poster.hbs +1 -1
- package/src/stories/views/components/teaser/teaser_standard.hbs +1 -1
|
@@ -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="items-start relative col-span-12 flex md:flex-row gap-y-3 gap-x-4
|
|
1
|
+
<article class="items-start relative col-span-12 flex md:flex-row gap-y-3 gap-x-4 sm:px-0{{#unless this.isEvent}}{{~inline-switch this.teaserSize '["hero","100","50"]' '[" flex-col"," px-5 md:flex-row"," md:col-span-6 px-5 md:flex-row"]'~}}{{else}} items-start flex-col{{/unless}}"
|
|
2
2
|
x-data="{ avStart: false }"
|
|
3
3
|
{{#if this.isMobile1to1}}
|
|
4
4
|
:class="avStart ? 'flex-col' : 'flex-row'"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<article class="mx-5
|
|
1
|
+
<article class="mx-5 sm:mx-0 relative col-span-12 flex gap-y-5 gap-x-4 {{inline-switch this.teaserSize '["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>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<article class="items-start relative col-span-12 flex {{if this.displayTeaserBodyAsImageOverlay '' 'gap-y-3'}} gap-x-4
|
|
2
2
|
{{~inline-switch this.teaserSize '["25","33","50"]' '[" md:col-span-3"," md:col-span-4"," md:col-span-6",""]'}}
|
|
3
|
-
{{~#if this.isMobile1to1}} js-is1to1 px-5
|
|
3
|
+
{{~#if this.isMobile1to1}} js-is1to1 px-5 sm:px-0 md:flex-col{{else}} flex-col{{/if~}}
|
|
4
4
|
"
|
|
5
5
|
x-data="{ avStart: false }"
|
|
6
6
|
{{#if this.isMobile1to1}}
|