hr-design-system-handlebars 0.122.5 โ 0.122.7
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 +31 -0
- package/dist/assets/index.css +33 -5
- package/dist/views/components/teaser/cluster/teaser_cluster.hbs +1 -1
- package/dist/views/components/teaser/cluster/teaser_cluster_item.hbs +1 -1
- package/package.json +1 -1
- package/src/assets/css/custom-components.css +8 -0
- package/src/stories/views/components/teaser/cluster/teaser_cluster.hbs +1 -1
- package/src/stories/views/components/teaser/cluster/teaser_cluster_item.hbs +1 -1
- package/src/stories/views/components/teaser/podcast/podcast.stories.mdx +2 -1
- package/src/stories/views/components/teaser/teaser_alternativ.stories.mdx +1 -0
- package/src/stories/views/components/teaser/teaser_poster.stories.mdx +3 -0
- package/src/stories/views/components/teaser/teaser_stage.stories.mdx +1 -0
- package/src/stories/views/components/teaser/teaser_standard.stories.mdx +2 -1
- package/src/stories/views/components/teaser/teaser_standard_av.stories.mdx +3 -0
- package/src/stories/views/components/teaser/teaser_standard_event.stories.mdx +3 -0
- package/tailwind.config.js +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,34 @@
|
|
|
1
|
+
# v0.122.7 (Thu Feb 02 2023)
|
|
2
|
+
|
|
3
|
+
#### ๐ Bug Fix
|
|
4
|
+
|
|
5
|
+
- Byline-Label in Schlagzeilenboxen bricht um [#517](https://github.com/mumprod/hr-design-system-handlebars/pull/517) (saad.elbaciri@hr.de [@selbaciri](https://github.com/selbaciri))
|
|
6
|
+
|
|
7
|
+
#### ๐งช Tests
|
|
8
|
+
|
|
9
|
+
- adds threshold for chromatic screenshots [#515](https://github.com/mumprod/hr-design-system-handlebars/pull/515) ([@StefanVesper](https://github.com/StefanVesper))
|
|
10
|
+
|
|
11
|
+
#### Authors: 3
|
|
12
|
+
|
|
13
|
+
- Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
|
|
14
|
+
- selbaciri (saad.elbaciri@hr.de)
|
|
15
|
+
- SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# v0.122.6 (Wed Feb 01 2023)
|
|
20
|
+
|
|
21
|
+
#### ๐ Bug Fix
|
|
22
|
+
|
|
23
|
+
- add Tagesschau&Sportschau icon color [#516](https://github.com/mumprod/hr-design-system-handlebars/pull/516) (saad.elbaciri@hr.de [@selbaciri](https://github.com/selbaciri))
|
|
24
|
+
|
|
25
|
+
#### Authors: 2
|
|
26
|
+
|
|
27
|
+
- Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
|
|
28
|
+
- selbaciri (saad.elbaciri@hr.de)
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
1
32
|
# v0.122.5 (Tue Jan 31 2023)
|
|
2
33
|
|
|
3
34
|
#### ๐ Bug Fix
|
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: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 {
|
|
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-clusterTeaser, .ds-link:not(:focus-visible), .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);
|
|
@@ -653,6 +653,21 @@ video {
|
|
|
653
653
|
outline: 2px solid transparent;
|
|
654
654
|
outline-offset: 2px;
|
|
655
655
|
}
|
|
656
|
+
.ds-link-clusterTeaser {
|
|
657
|
+
--tw-text-opacity: 1;
|
|
658
|
+
color: rgba(96, 96, 96, var(--tw-text-opacity));
|
|
659
|
+
}
|
|
660
|
+
.ds-link-clusterTeaser:focus {
|
|
661
|
+
--tw-shadow: 0 0 0 0.25rem;
|
|
662
|
+
--tw-shadow-colored: 0 0 0 0.25rem var(--tw-shadow-color);
|
|
663
|
+
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
664
|
+
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
665
|
+
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);
|
|
666
|
+
--tw-shadow-color: var(--color-focus-state);
|
|
667
|
+
--tw-shadow: var(--tw-shadow-colored);
|
|
668
|
+
outline: 2px solid transparent;
|
|
669
|
+
outline-offset: 2px;
|
|
670
|
+
}
|
|
656
671
|
.ds-link:focus:not(:focus-visible) {
|
|
657
672
|
--tw-shadow: 0 0 rgba(0,0,0,0);
|
|
658
673
|
--tw-shadow-colored: 0 0 rgba(0,0,0,0);
|
|
@@ -660,6 +675,13 @@ video {
|
|
|
660
675
|
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
661
676
|
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);
|
|
662
677
|
}
|
|
678
|
+
.ds-link-clusterTeaser:focus:not(:focus-visible) {
|
|
679
|
+
--tw-shadow: 0 0 rgba(0,0,0,0);
|
|
680
|
+
--tw-shadow-colored: 0 0 rgba(0,0,0,0);
|
|
681
|
+
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
682
|
+
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
683
|
+
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);
|
|
684
|
+
}
|
|
663
685
|
.ds-link-inset {
|
|
664
686
|
display: block;
|
|
665
687
|
}
|
|
@@ -1888,9 +1910,15 @@ video {
|
|
|
1888
1910
|
.fill-white {
|
|
1889
1911
|
fill: #ffffff;
|
|
1890
1912
|
}
|
|
1891
|
-
.fill
|
|
1913
|
+
.fill-blue-congress {
|
|
1892
1914
|
fill: #005293;
|
|
1893
1915
|
}
|
|
1916
|
+
.fill-blue-midnight {
|
|
1917
|
+
fill: #023770;
|
|
1918
|
+
}
|
|
1919
|
+
.fill-blue-deepSeaDream {
|
|
1920
|
+
fill: #002c6b;
|
|
1921
|
+
}
|
|
1894
1922
|
.p-10 {
|
|
1895
1923
|
padding: 2.5rem;
|
|
1896
1924
|
}
|
|
@@ -2477,7 +2505,7 @@ video {
|
|
|
2477
2505
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
2478
2506
|
}
|
|
2479
2507
|
.counter-reset {
|
|
2480
|
-
counter-reset:
|
|
2508
|
+
counter-reset: cnt1675350335717;
|
|
2481
2509
|
}
|
|
2482
2510
|
.line-clamp-4 {
|
|
2483
2511
|
overflow: hidden;
|
|
@@ -2695,7 +2723,7 @@ video {
|
|
|
2695
2723
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
2696
2724
|
}
|
|
2697
2725
|
.-ordered {
|
|
2698
|
-
counter-increment:
|
|
2726
|
+
counter-increment: cnt1675350335717 1;
|
|
2699
2727
|
}
|
|
2700
2728
|
.-ordered::before {
|
|
2701
2729
|
position: absolute;
|
|
@@ -2711,7 +2739,7 @@ video {
|
|
|
2711
2739
|
letter-spacing: .0125em;
|
|
2712
2740
|
--tw-text-opacity: 1;
|
|
2713
2741
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
2714
|
-
content: counter(
|
|
2742
|
+
content: counter(cnt1675350335717);
|
|
2715
2743
|
}
|
|
2716
2744
|
/*! ****************************/
|
|
2717
2745
|
/*! text-shadow */
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<h2 class="flex items-center px-5 py-5 text-clusterTeaserHeadline">
|
|
4
4
|
{{#if this.teaserLogo}}
|
|
5
5
|
<span>
|
|
6
|
-
{{> components/base/image/icon _icon=this.teaserLogo _iconmap="cluster-teaser" _addClass=(inline-switch this.teaserLogo '["hessenschau_de"]' '["fill-
|
|
6
|
+
{{> components/base/image/icon _icon=this.teaserLogo _iconmap="cluster-teaser" _addClass=(inline-switch this.teaserLogo '["hessenschau_de","tagesschau_de","sportschau"]' '["fill-blue-congress w-10 md:w-12 h-10 md:h-12","fill-blue-midnight w-40 lg:w-52 h-8 md:h-12","fill-blue-deepSeaDream w-40 lg:w-52 h-8 md:h-12"]')}}
|
|
7
7
|
</span>
|
|
8
8
|
{{/if}}
|
|
9
9
|
{{#if this.title}}
|
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.122.
|
|
9
|
+
"version": "0.122.7",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -101,9 +101,17 @@
|
|
|
101
101
|
@apply block focus:shadow-teaser-focus focus:shadow-focus-state focus:outline-none;
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
+
.ds-link-clusterTeaser {
|
|
105
|
+
@apply text-grey-scorpion focus:shadow-teaser-focus focus:shadow-focus-state focus:outline-none;
|
|
106
|
+
}
|
|
107
|
+
|
|
104
108
|
.ds-link:focus:not(:focus-visible) {
|
|
105
109
|
@apply shadow-none;
|
|
106
110
|
}
|
|
111
|
+
|
|
112
|
+
.ds-link-clusterTeaser:focus:not(:focus-visible) {
|
|
113
|
+
@apply shadow-none;
|
|
114
|
+
}
|
|
107
115
|
|
|
108
116
|
.ds-link-inset {
|
|
109
117
|
@apply block focus:ring-inset focus:ring-4 focus:outline-none focus:ring-focus-state ;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<h2 class="flex items-center px-5 py-5 text-clusterTeaserHeadline">
|
|
4
4
|
{{#if this.teaserLogo}}
|
|
5
5
|
<span>
|
|
6
|
-
{{> components/base/image/icon _icon=this.teaserLogo _iconmap="cluster-teaser" _addClass=(inline-switch this.teaserLogo '["hessenschau_de"]' '["fill-
|
|
6
|
+
{{> components/base/image/icon _icon=this.teaserLogo _iconmap="cluster-teaser" _addClass=(inline-switch this.teaserLogo '["hessenschau_de","tagesschau_de","sportschau"]' '["fill-blue-congress w-10 md:w-12 h-10 md:h-12","fill-blue-midnight w-40 lg:w-52 h-8 md:h-12","fill-blue-deepSeaDream w-40 lg:w-52 h-8 md:h-12"]')}}
|
|
7
7
|
</span>
|
|
8
8
|
{{/if}}
|
|
9
9
|
{{#if this.title}}
|
|
@@ -10,7 +10,8 @@ import playlistJson50 from '../fixtures/teaser_podcast_playlist_50.json'
|
|
|
10
10
|
<Meta title="Komponenten/Teaser/Podcast"
|
|
11
11
|
parameters={{
|
|
12
12
|
chromatic: {
|
|
13
|
-
viewports: [360, 768, 1024]
|
|
13
|
+
viewports: [360, 768, 1024],
|
|
14
|
+
diffThreshold: 0.5
|
|
14
15
|
},
|
|
15
16
|
layout: 'fullscreen',
|
|
16
17
|
}}
|