hr-design-system-handlebars 0.123.1 → 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 CHANGED
@@ -1,3 +1,15 @@
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
+
1
13
  # v0.123.1 (Tue Feb 07 2023)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -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: cnt1675777254280;
2509
+ counter-reset: cnt1675780977415;
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: cnt1675777254280 1;
2727
+ counter-increment: cnt1675780977415 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(cnt1675777254280);
2743
+ content: counter(cnt1675780977415);
2721
2744
  }
2722
2745
  /*! ****************************/
2723
2746
  /*! text-shadow */
@@ -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="h1"
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.1",
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,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,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="h1"
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}}