hr-design-system-handlebars 0.119.0 → 0.119.2
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 +25 -0
- package/dist/assets/index.css +8 -3
- package/dist/views/components/mediaplayer/media_player.hbs +3 -5
- 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/components/teaser_lead.hbs +1 -1
- 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/stories/views/components/mediaplayer/media_player.hbs +3 -5
- 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/components/teaser_lead.hbs +1 -1
- 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
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
# v0.119.2 (Wed Jan 18 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Seitenabstände in "Tablet"-Ansicht anpassen [#483](https://github.com/mumprod/hr-design-system-handlebars/pull/483) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v0.119.1 (Wed Jan 18 2023)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- bugfix geoTag [#482](https://github.com/mumprod/hr-design-system-handlebars/pull/482) (saad.elbaciri@hr.de [@selbaciri](https://github.com/selbaciri))
|
|
18
|
+
|
|
19
|
+
#### Authors: 2
|
|
20
|
+
|
|
21
|
+
- Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
|
|
22
|
+
- selbaciri (saad.elbaciri@hr.de)
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
1
26
|
# v0.119.0 (Wed Jan 18 2023)
|
|
2
27
|
|
|
3
28
|
#### 🚀 Enhancement
|
package/dist/assets/index.css
CHANGED
|
@@ -2400,7 +2400,7 @@ video {
|
|
|
2400
2400
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
2401
2401
|
}
|
|
2402
2402
|
.counter-reset {
|
|
2403
|
-
counter-reset:
|
|
2403
|
+
counter-reset: cnt1674047995069;
|
|
2404
2404
|
}
|
|
2405
2405
|
.line-clamp-4 {
|
|
2406
2406
|
overflow: hidden;
|
|
@@ -2618,7 +2618,7 @@ video {
|
|
|
2618
2618
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
2619
2619
|
}
|
|
2620
2620
|
.-ordered {
|
|
2621
|
-
counter-increment:
|
|
2621
|
+
counter-increment: cnt1674047995069 1;
|
|
2622
2622
|
}
|
|
2623
2623
|
.-ordered::before {
|
|
2624
2624
|
position: absolute;
|
|
@@ -2634,7 +2634,7 @@ video {
|
|
|
2634
2634
|
letter-spacing: .0125em;
|
|
2635
2635
|
--tw-text-opacity: 1;
|
|
2636
2636
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
2637
|
-
content: counter(
|
|
2637
|
+
content: counter(cnt1674047995069);
|
|
2638
2638
|
}
|
|
2639
2639
|
/*! ****************************/
|
|
2640
2640
|
/*! text-shadow */
|
|
@@ -3663,6 +3663,11 @@ video {
|
|
|
3663
3663
|
padding-right: 2rem;
|
|
3664
3664
|
}
|
|
3665
3665
|
|
|
3666
|
+
.sm\:px-0 {
|
|
3667
|
+
padding-left: 0px;
|
|
3668
|
+
padding-right: 0px;
|
|
3669
|
+
}
|
|
3670
|
+
|
|
3666
3671
|
.sm\:px-11\.5 {
|
|
3667
3672
|
padding-left: 2.875rem;
|
|
3668
3673
|
padding-right: 2.875rem;
|
|
@@ -3,11 +3,9 @@
|
|
|
3
3
|
{{#if _isTeaser}}
|
|
4
4
|
<div class="relative {{_aspectRatio}}" x-show="!avStart" >
|
|
5
5
|
{{#unless _hideGeotag}}
|
|
6
|
-
{{
|
|
7
|
-
{{
|
|
8
|
-
|
|
9
|
-
{{/with~}}
|
|
10
|
-
{{/unless}}
|
|
6
|
+
{{~#with _geotag}}
|
|
7
|
+
{{> components/geoTag/geoTag _text=this.[0].title _teaserSize=../_teaserSize _isMobile1to1=../_isMobile1to1}}
|
|
8
|
+
{{/with~}}
|
|
11
9
|
{{/unless}}
|
|
12
10
|
{{#with _teaser}}
|
|
13
11
|
{{~> components/base/image/responsive_image this.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.content.imageVariant this.content.imageVariant '100-copytext') _addClassImg="ar__content" _noDelay=this.dontLazyload ~}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<article class="mx-5
|
|
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",""]'}} ">
|
|
2
2
|
<div class="">
|
|
3
3
|
<h2 class="flex items-center px-5 py-5 text-clusterTeaserHeadline">
|
|
4
4
|
{{#if this.teaserLogo}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div class="{{#if _outerCssClasses}} {{_outerCssClasses}}{{/if}}"
|
|
2
2
|
{{~#if this.isMobile1to1}}:class="{'basis-full w-full pr-10':avStart,'basis-3/5 w-3/5':!avStart}"{{/if}}>
|
|
3
|
-
<header class="
|
|
3
|
+
<header class="sm:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
4
4
|
{{#decorator 'components/base/link' _css="ds-teaser-focus hover:text-toplineColor" }}
|
|
5
5
|
{{> components/teaser/components/teaser_heading
|
|
6
6
|
_fontVariant=this.headingFontVariant
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
_extendedTitle=this.extendedTitle}}
|
|
17
17
|
{{/decorator}}
|
|
18
18
|
</header>
|
|
19
|
-
<div class="
|
|
19
|
+
<div class="sm:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
20
20
|
{{> components/teaser/components/teaser_text _text=this.shorttext _size=this.teaserSize}}
|
|
21
21
|
{{> components/teaser/components/teaser_byline}}
|
|
22
22
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{~#if this.allowAVConsumption ~}}
|
|
2
2
|
{{> components/teaser/components/teaser_av_consumption _aspectRatio=_aspectRatio _isMobile1to1=_isMobile1to1 _teaserSize=_teaserSize _teaserType=_teaserType }}
|
|
3
3
|
{{else}}
|
|
4
|
-
{{> components/teaser/components/teaser_image _isMobile1to1=_isMobile1to1 }}
|
|
4
|
+
{{> components/teaser/components/teaser_image _isMobile1to1=_isMobile1to1 _teaserSize=_teaserSize}}
|
|
5
5
|
{{/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}}
|
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.119.
|
|
9
|
+
"version": "0.119.2",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -3,11 +3,9 @@
|
|
|
3
3
|
{{#if _isTeaser}}
|
|
4
4
|
<div class="relative {{_aspectRatio}}" x-show="!avStart" >
|
|
5
5
|
{{#unless _hideGeotag}}
|
|
6
|
-
{{
|
|
7
|
-
{{
|
|
8
|
-
|
|
9
|
-
{{/with~}}
|
|
10
|
-
{{/unless}}
|
|
6
|
+
{{~#with _geotag}}
|
|
7
|
+
{{> components/geoTag/geoTag _text=this.[0].title _teaserSize=../_teaserSize _isMobile1to1=../_isMobile1to1}}
|
|
8
|
+
{{/with~}}
|
|
11
9
|
{{/unless}}
|
|
12
10
|
{{#with _teaser}}
|
|
13
11
|
{{~> components/base/image/responsive_image this.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.content.imageVariant this.content.imageVariant '100-copytext') _addClassImg="ar__content" _noDelay=this.dontLazyload ~}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<article class="mx-5
|
|
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",""]'}} ">
|
|
2
2
|
<div class="">
|
|
3
3
|
<h2 class="flex items-center px-5 py-5 text-clusterTeaserHeadline">
|
|
4
4
|
{{#if this.teaserLogo}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div class="{{#if _outerCssClasses}} {{_outerCssClasses}}{{/if}}"
|
|
2
2
|
{{~#if this.isMobile1to1}}:class="{'basis-full w-full pr-10':avStart,'basis-3/5 w-3/5':!avStart}"{{/if}}>
|
|
3
|
-
<header class="
|
|
3
|
+
<header class="sm:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
4
4
|
{{#decorator 'components/base/link' _css="ds-teaser-focus hover:text-toplineColor" }}
|
|
5
5
|
{{> components/teaser/components/teaser_heading
|
|
6
6
|
_fontVariant=this.headingFontVariant
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
_extendedTitle=this.extendedTitle}}
|
|
17
17
|
{{/decorator}}
|
|
18
18
|
</header>
|
|
19
|
-
<div class="
|
|
19
|
+
<div class="sm:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
|
|
20
20
|
{{> components/teaser/components/teaser_text _text=this.shorttext _size=this.teaserSize}}
|
|
21
21
|
{{> components/teaser/components/teaser_byline}}
|
|
22
22
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{~#if this.allowAVConsumption ~}}
|
|
2
2
|
{{> components/teaser/components/teaser_av_consumption _aspectRatio=_aspectRatio _isMobile1to1=_isMobile1to1 _teaserSize=_teaserSize _teaserType=_teaserType }}
|
|
3
3
|
{{else}}
|
|
4
|
-
{{> components/teaser/components/teaser_image _isMobile1to1=_isMobile1to1 }}
|
|
4
|
+
{{> components/teaser/components/teaser_image _isMobile1to1=_isMobile1to1 _teaserSize=_teaserSize}}
|
|
5
5
|
{{/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}}
|