hr-design-system-handlebars 0.123.0 → 0.123.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 +12 -11
- package/dist/views/components/label/label.hbs +1 -1
- package/dist/views/components/teaser/cluster/teaser_cluster_item.hbs +3 -5
- package/dist/views/components/teaser/cluster/teaser_cluster_list.hbs +1 -1
- package/dist/views/components/teaser/components/teaser_heading.hbs +1 -1
- package/package.json +1 -1
- package/src/assets/css/custom-components.css +5 -5
- package/src/stories/views/components/label/label.hbs +1 -1
- package/src/stories/views/components/teaser/cluster/teaser_cluster_item.hbs +3 -5
- package/src/stories/views/components/teaser/cluster/teaser_cluster_list.hbs +1 -1
- package/src/stories/views/components/teaser/components/teaser_heading.hbs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
# v0.123.2 (Tue Feb 07 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Bild in Cluster-Teaser nicht verlinkt [#522](https://github.com/mumprod/hr-design-system-handlebars/pull/522) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v0.123.1 (Tue Feb 07 2023)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- bugfix Label bylineText [#521](https://github.com/mumprod/hr-design-system-handlebars/pull/521) (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.123.0 (Fri Feb 03 2023)
|
|
2
27
|
|
|
3
28
|
#### 🚀 Enhancement
|
package/dist/assets/index.css
CHANGED
|
@@ -423,7 +423,7 @@ video {
|
|
|
423
423
|
--tw-scale-y: 1;
|
|
424
424
|
}
|
|
425
425
|
|
|
426
|
-
.btn--secondary, .ds-focus, .ds-focus:not(:focus-visible), .ds-button, .ds-button:not(:focus-visible), .ds-button-round, .ds-button-round:not(:focus-visible), .ds-link, .ds-link
|
|
426
|
+
.btn--secondary, .ds-focus, .ds-focus:not(:focus-visible), .ds-button, .ds-button:not(:focus-visible), .ds-button-round, .ds-button-round:not(:focus-visible), .ds-link, .ds-link:not(:focus-visible), .ds-link-clusterTeaser, .ds-link-clusterTeaser:not(:focus-visible), .ds-teaser-focus::before, span, .ds-teaser-focus:not(:focus-visible)::before, .-isOpen, .shadow-inner, .shadow-xl, .shadow, .before\:shadow-stage::before {
|
|
427
427
|
--tw-ring-offset-shadow: 0 0 rgba(0,0,0,0);
|
|
428
428
|
--tw-ring-shadow: 0 0 rgba(0,0,0,0);
|
|
429
429
|
--tw-shadow: 0 0 rgba(0,0,0,0);
|
|
@@ -655,7 +655,15 @@ video {
|
|
|
655
655
|
outline: 2px solid transparent;
|
|
656
656
|
outline-offset: 2px;
|
|
657
657
|
}
|
|
658
|
+
.ds-link:focus:not(:focus-visible) {
|
|
659
|
+
--tw-shadow: 0 0 rgba(0,0,0,0);
|
|
660
|
+
--tw-shadow-colored: 0 0 rgba(0,0,0,0);
|
|
661
|
+
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
662
|
+
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
663
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow);
|
|
664
|
+
}
|
|
658
665
|
.ds-link-clusterTeaser {
|
|
666
|
+
display: block;
|
|
659
667
|
--tw-text-opacity: 1;
|
|
660
668
|
color: rgba(96, 96, 96, var(--tw-text-opacity));
|
|
661
669
|
}
|
|
@@ -670,13 +678,6 @@ video {
|
|
|
670
678
|
outline: 2px solid transparent;
|
|
671
679
|
outline-offset: 2px;
|
|
672
680
|
}
|
|
673
|
-
.ds-link:focus:not(:focus-visible) {
|
|
674
|
-
--tw-shadow: 0 0 rgba(0,0,0,0);
|
|
675
|
-
--tw-shadow-colored: 0 0 rgba(0,0,0,0);
|
|
676
|
-
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
677
|
-
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
678
|
-
box-shadow: var(--tw-ring-offset-shadow, 0 0 rgba(0,0,0,0)), var(--tw-ring-shadow, 0 0 rgba(0,0,0,0)), var(--tw-shadow);
|
|
679
|
-
}
|
|
680
681
|
.ds-link-clusterTeaser:focus:not(:focus-visible) {
|
|
681
682
|
--tw-shadow: 0 0 rgba(0,0,0,0);
|
|
682
683
|
--tw-shadow-colored: 0 0 rgba(0,0,0,0);
|
|
@@ -2505,7 +2506,7 @@ video {
|
|
|
2505
2506
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
2506
2507
|
}
|
|
2507
2508
|
.counter-reset {
|
|
2508
|
-
counter-reset:
|
|
2509
|
+
counter-reset: cnt1675780977415;
|
|
2509
2510
|
}
|
|
2510
2511
|
.line-clamp-4 {
|
|
2511
2512
|
overflow: hidden;
|
|
@@ -2723,7 +2724,7 @@ video {
|
|
|
2723
2724
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
2724
2725
|
}
|
|
2725
2726
|
.-ordered {
|
|
2726
|
-
counter-increment:
|
|
2727
|
+
counter-increment: cnt1675780977415 1;
|
|
2727
2728
|
}
|
|
2728
2729
|
.-ordered::before {
|
|
2729
2730
|
position: absolute;
|
|
@@ -2739,7 +2740,7 @@ video {
|
|
|
2739
2740
|
letter-spacing: .0125em;
|
|
2740
2741
|
--tw-text-opacity: 1;
|
|
2741
2742
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
2742
|
-
content: counter(
|
|
2743
|
+
content: counter(cnt1675780977415);
|
|
2743
2744
|
}
|
|
2744
2745
|
/*! ****************************/
|
|
2745
2746
|
/*! text-shadow */
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
</span>
|
|
12
12
|
{{~#with this.byline~}}
|
|
13
|
-
<span class='ml-2 text-xs font-headingSerif {{#if ../
|
|
13
|
+
<span class='ml-2 text-xs font-headingSerif {{#if ../_bylineCss}}{{../_bylineCss}}{{else}}text-grey-scorpion{{/if}}'>
|
|
14
14
|
{{~#if this.bylineSsi~}}
|
|
15
15
|
{{{this.bylineSsi}}}
|
|
16
16
|
{{~else~}}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
{{#decorator 'components/base/link' _css="group ds-link-clusterTeaser" }}
|
|
1
|
+
{{#decorator 'components/base/link' _css=(if _firstItem "group ds-teaser-focus" "group ds-link-clusterTeaser") }}
|
|
3
2
|
{{> components/teaser/components/teaser_heading
|
|
4
|
-
_headlineTag="
|
|
3
|
+
_headlineTag="h3"
|
|
5
4
|
_headlineCss=""
|
|
6
5
|
_label=this.label
|
|
7
6
|
_size=_size
|
|
@@ -11,5 +10,4 @@
|
|
|
11
10
|
_titleCss='text-clusterTeaserLink'
|
|
12
11
|
_firstItem=_firstItem}}
|
|
13
12
|
{{/decorator}}
|
|
14
|
-
{{> components/teaser/cluster/teaser_cluster_byline _ordered=_ordered}}
|
|
15
|
-
|
|
13
|
+
{{> components/teaser/cluster/teaser_cluster_byline _ordered=_ordered}}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{{~#if this.showFirstImage}}
|
|
8
8
|
{{~#with this.firstEntry~}}
|
|
9
9
|
{{~#if this.teaserImage}}
|
|
10
|
-
<div class="pb-3{{~inline-switch ../this.realTeaserSize '["100"]' '[" md:basis-1/2-gap-6 lg:basis-1/3-gap-6 md:pl-5"]'}}">
|
|
10
|
+
<div class="pb-3 relative{{~inline-switch ../this.realTeaserSize '["100"]' '[" md:basis-1/2-gap-6 lg:basis-1/3-gap-6 md:pl-5"]'}}">
|
|
11
11
|
{{~> components/base/image/responsive_image this.teaserImage _type=../this.teaserType _variant=../this.imageVariant _addClass=../this.aspectRatio ~}}
|
|
12
12
|
<div class="mx-5 mt-3{{~inline-switch ../this.realTeaserSize '["100"]' '[" md:mx-0"]'}}">
|
|
13
13
|
{{> components/teaser/cluster/teaser_cluster_item _size=../this.realTeaserSize _ordered=../this.isOrdered _firstItem=true}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{{#with _label}}
|
|
2
2
|
<div class="leading-5.5{{#if ../_ordered}} pl-8 {{/if}}">
|
|
3
|
-
{{> components/label/label _type=this.type _text=(loca this.loca)
|
|
3
|
+
{{> components/label/label _type=this.type _text=(loca this.loca) _bylineCss=../_labelCss}}
|
|
4
4
|
</div>
|
|
5
5
|
{{/with~}}
|
|
6
6
|
|
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.123.
|
|
9
|
+
"version": "0.123.2",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -100,15 +100,15 @@
|
|
|
100
100
|
.ds-link {
|
|
101
101
|
@apply block focus:shadow-teaser-focus focus:shadow-focus-state focus:outline-none;
|
|
102
102
|
}
|
|
103
|
+
|
|
104
|
+
.ds-link:focus:not(:focus-visible) {
|
|
105
|
+
@apply shadow-none;
|
|
106
|
+
}
|
|
103
107
|
|
|
104
108
|
.ds-link-clusterTeaser {
|
|
105
|
-
@apply
|
|
109
|
+
@apply block text-grey-scorpion focus:shadow-teaser-focus focus:shadow-focus-state focus:outline-none;
|
|
106
110
|
}
|
|
107
111
|
|
|
108
|
-
.ds-link:focus:not(:focus-visible) {
|
|
109
|
-
@apply shadow-none;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
112
|
.ds-link-clusterTeaser:focus:not(:focus-visible) {
|
|
113
113
|
@apply shadow-none;
|
|
114
114
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
</span>
|
|
12
12
|
{{~#with this.byline~}}
|
|
13
|
-
<span class='ml-2 text-xs font-headingSerif {{#if ../
|
|
13
|
+
<span class='ml-2 text-xs font-headingSerif {{#if ../_bylineCss}}{{../_bylineCss}}{{else}}text-grey-scorpion{{/if}}'>
|
|
14
14
|
{{~#if this.bylineSsi~}}
|
|
15
15
|
{{{this.bylineSsi}}}
|
|
16
16
|
{{~else~}}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
{{#decorator 'components/base/link' _css="group ds-link-clusterTeaser" }}
|
|
1
|
+
{{#decorator 'components/base/link' _css=(if _firstItem "group ds-teaser-focus" "group ds-link-clusterTeaser") }}
|
|
3
2
|
{{> components/teaser/components/teaser_heading
|
|
4
|
-
_headlineTag="
|
|
3
|
+
_headlineTag="h3"
|
|
5
4
|
_headlineCss=""
|
|
6
5
|
_label=this.label
|
|
7
6
|
_size=_size
|
|
@@ -11,5 +10,4 @@
|
|
|
11
10
|
_titleCss='text-clusterTeaserLink'
|
|
12
11
|
_firstItem=_firstItem}}
|
|
13
12
|
{{/decorator}}
|
|
14
|
-
{{> components/teaser/cluster/teaser_cluster_byline _ordered=_ordered}}
|
|
15
|
-
|
|
13
|
+
{{> components/teaser/cluster/teaser_cluster_byline _ordered=_ordered}}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{{~#if this.showFirstImage}}
|
|
8
8
|
{{~#with this.firstEntry~}}
|
|
9
9
|
{{~#if this.teaserImage}}
|
|
10
|
-
<div class="pb-3{{~inline-switch ../this.realTeaserSize '["100"]' '[" md:basis-1/2-gap-6 lg:basis-1/3-gap-6 md:pl-5"]'}}">
|
|
10
|
+
<div class="pb-3 relative{{~inline-switch ../this.realTeaserSize '["100"]' '[" md:basis-1/2-gap-6 lg:basis-1/3-gap-6 md:pl-5"]'}}">
|
|
11
11
|
{{~> components/base/image/responsive_image this.teaserImage _type=../this.teaserType _variant=../this.imageVariant _addClass=../this.aspectRatio ~}}
|
|
12
12
|
<div class="mx-5 mt-3{{~inline-switch ../this.realTeaserSize '["100"]' '[" md:mx-0"]'}}">
|
|
13
13
|
{{> components/teaser/cluster/teaser_cluster_item _size=../this.realTeaserSize _ordered=../this.isOrdered _firstItem=true}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{{#with _label}}
|
|
2
2
|
<div class="leading-5.5{{#if ../_ordered}} pl-8 {{/if}}">
|
|
3
|
-
{{> components/label/label _type=this.type _text=(loca this.loca)
|
|
3
|
+
{{> components/label/label _type=this.type _text=(loca this.loca) _bylineCss=../_labelCss}}
|
|
4
4
|
</div>
|
|
5
5
|
{{/with~}}
|
|
6
6
|
|