hr-design-system-handlebars 0.123.1 → 0.123.3
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 +27 -4
- package/dist/views/components/content_nav/content_nav_container.hbs +1 -1
- package/dist/views/components/content_nav/content_nav_list.hbs +3 -3
- 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/package.json +1 -1
- package/src/assets/css/custom-components.css +9 -1
- package/src/stories/views/components/content_nav/content_nav_container.hbs +1 -1
- package/src/stories/views/components/content_nav/content_nav_list.hbs +3 -3
- 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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
+
# v0.123.3 (Wed Feb 08 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- fixes filter in content nav [#523](https://github.com/mumprod/hr-design-system-handlebars/pull/523) ([@StefanVesper](https://github.com/StefanVesper))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v0.123.2 (Tue Feb 07 2023)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- Bild in Cluster-Teaser nicht verlinkt [#522](https://github.com/mumprod/hr-design-system-handlebars/pull/522) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
18
|
+
|
|
19
|
+
#### Authors: 1
|
|
20
|
+
|
|
21
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
1
25
|
# v0.123.1 (Tue Feb 07 2023)
|
|
2
26
|
|
|
3
27
|
#### 🐛 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: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);
|
|
@@ -662,6 +662,29 @@ video {
|
|
|
662
662
|
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
663
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
664
|
}
|
|
665
|
+
.ds-link-clusterTeaser {
|
|
666
|
+
display: block;
|
|
667
|
+
--tw-text-opacity: 1;
|
|
668
|
+
color: rgba(96, 96, 96, var(--tw-text-opacity));
|
|
669
|
+
}
|
|
670
|
+
.ds-link-clusterTeaser:focus {
|
|
671
|
+
--tw-shadow: 0 0 0 0.25rem;
|
|
672
|
+
--tw-shadow-colored: 0 0 0 0.25rem var(--tw-shadow-color);
|
|
673
|
+
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
674
|
+
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
675
|
+
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);
|
|
676
|
+
--tw-shadow-color: var(--color-focus-state);
|
|
677
|
+
--tw-shadow: var(--tw-shadow-colored);
|
|
678
|
+
outline: 2px solid transparent;
|
|
679
|
+
outline-offset: 2px;
|
|
680
|
+
}
|
|
681
|
+
.ds-link-clusterTeaser:focus:not(:focus-visible) {
|
|
682
|
+
--tw-shadow: 0 0 rgba(0,0,0,0);
|
|
683
|
+
--tw-shadow-colored: 0 0 rgba(0,0,0,0);
|
|
684
|
+
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
685
|
+
box-shadow: 0 0 rgba(0,0,0,0), 0 0 rgba(0,0,0,0), var(--tw-shadow);
|
|
686
|
+
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);
|
|
687
|
+
}
|
|
665
688
|
.ds-link-inset {
|
|
666
689
|
display: block;
|
|
667
690
|
}
|
|
@@ -2483,7 +2506,7 @@ video {
|
|
|
2483
2506
|
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
|
2484
2507
|
}
|
|
2485
2508
|
.counter-reset {
|
|
2486
|
-
counter-reset:
|
|
2509
|
+
counter-reset: cnt1675855473029;
|
|
2487
2510
|
}
|
|
2488
2511
|
.line-clamp-4 {
|
|
2489
2512
|
overflow: hidden;
|
|
@@ -2701,7 +2724,7 @@ video {
|
|
|
2701
2724
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
2702
2725
|
}
|
|
2703
2726
|
.-ordered {
|
|
2704
|
-
counter-increment:
|
|
2727
|
+
counter-increment: cnt1675855473029 1;
|
|
2705
2728
|
}
|
|
2706
2729
|
.-ordered::before {
|
|
2707
2730
|
position: absolute;
|
|
@@ -2717,7 +2740,7 @@ video {
|
|
|
2717
2740
|
letter-spacing: .0125em;
|
|
2718
2741
|
--tw-text-opacity: 1;
|
|
2719
2742
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
2720
|
-
content: counter(
|
|
2743
|
+
content: counter(cnt1675855473029);
|
|
2721
2744
|
}
|
|
2722
2745
|
/*! ****************************/
|
|
2723
2746
|
/*! text-shadow */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div class="{{_maindivclass}} {{#if this.isAutosuggest}} autoSuggest js-load{{/if}} relative"
|
|
2
2
|
{{#if this.isAutosuggest}}
|
|
3
|
-
data-hr-auto-suggest='{"filterGroupsSelector":".
|
|
3
|
+
data-hr-auto-suggest='{"filterGroupsSelector":".content-nav-group", "filterElementSelector":".content-nav-item", "filterTextSelector":".js-title", "inputElementSelector":".js-autosuggest-input", "matchedClass":"block", "unmatchedClass":"hidden"}'
|
|
4
4
|
{{/if}}
|
|
5
5
|
>
|
|
6
6
|
{{#if this.isAutosuggest}}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
{{~#if this.isGroup~}}
|
|
7
7
|
|
|
8
8
|
{{#if ../isDropdown}}
|
|
9
|
-
<li class="w-full h-auto overflow-hidden text-base list-none border-b border-gray-400 bg-highlight-1 text-content-nav md:mx-0 font-copy fill-content-nav
|
|
10
|
-
<div class="flex items-center h-10 p-2
|
|
11
|
-
<ul class="c-content-
|
|
9
|
+
<li class="w-full h-auto overflow-hidden text-base list-none border-b border-gray-400 bg-highlight-1 text-content-nav md:mx-0 font-copy fill-content-nav content-nav-group">
|
|
10
|
+
<div class="flex items-center h-10 p-2 content-nav-group-title">{{this.title}}</div>
|
|
11
|
+
<ul class="c-content-nav-group-list !px-0 mt-0">
|
|
12
12
|
{{~#each this.navigationGroup~}}
|
|
13
13
|
{{> components/content_nav/content_nav_item
|
|
14
14
|
_teaserSize=../../_teaserSize
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
{{#decorator 'components/base/link' _css="group ds-link" }}
|
|
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}}
|
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.3",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -100,11 +100,19 @@
|
|
|
100
100
|
.ds-link {
|
|
101
101
|
@apply block focus:shadow-teaser-focus focus:shadow-focus-state focus:outline-none;
|
|
102
102
|
}
|
|
103
|
-
|
|
103
|
+
|
|
104
104
|
.ds-link:focus:not(:focus-visible) {
|
|
105
105
|
@apply shadow-none;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
+
.ds-link-clusterTeaser {
|
|
109
|
+
@apply block text-grey-scorpion focus:shadow-teaser-focus focus:shadow-focus-state focus:outline-none;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.ds-link-clusterTeaser:focus:not(:focus-visible) {
|
|
113
|
+
@apply shadow-none;
|
|
114
|
+
}
|
|
115
|
+
|
|
108
116
|
.ds-link-inset {
|
|
109
117
|
@apply block focus:ring-inset focus:ring-4 focus:outline-none focus:ring-focus-state ;
|
|
110
118
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div class="{{_maindivclass}} {{#if this.isAutosuggest}} autoSuggest js-load{{/if}} relative"
|
|
2
2
|
{{#if this.isAutosuggest}}
|
|
3
|
-
data-hr-auto-suggest='{"filterGroupsSelector":".
|
|
3
|
+
data-hr-auto-suggest='{"filterGroupsSelector":".content-nav-group", "filterElementSelector":".content-nav-item", "filterTextSelector":".js-title", "inputElementSelector":".js-autosuggest-input", "matchedClass":"block", "unmatchedClass":"hidden"}'
|
|
4
4
|
{{/if}}
|
|
5
5
|
>
|
|
6
6
|
{{#if this.isAutosuggest}}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
{{~#if this.isGroup~}}
|
|
7
7
|
|
|
8
8
|
{{#if ../isDropdown}}
|
|
9
|
-
<li class="w-full h-auto overflow-hidden text-base list-none border-b border-gray-400 bg-highlight-1 text-content-nav md:mx-0 font-copy fill-content-nav
|
|
10
|
-
<div class="flex items-center h-10 p-2
|
|
11
|
-
<ul class="c-content-
|
|
9
|
+
<li class="w-full h-auto overflow-hidden text-base list-none border-b border-gray-400 bg-highlight-1 text-content-nav md:mx-0 font-copy fill-content-nav content-nav-group">
|
|
10
|
+
<div class="flex items-center h-10 p-2 content-nav-group-title">{{this.title}}</div>
|
|
11
|
+
<ul class="c-content-nav-group-list !px-0 mt-0">
|
|
12
12
|
{{~#each this.navigationGroup~}}
|
|
13
13
|
{{> components/content_nav/content_nav_item
|
|
14
14
|
_teaserSize=../../_teaserSize
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
{{#decorator 'components/base/link' _css="group ds-link" }}
|
|
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}}
|