hr-design-system-handlebars 0.95.2 → 0.96.0

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.96.0 (Thu Dec 01 2022)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - BUGFIX: Change ar from 1t01 to 16to9 when start av in mobile view [#411](https://github.com/mumprod/hr-design-system-handlebars/pull/411) ([@mariokinzel](https://github.com/mariokinzel))
6
+
7
+ #### Authors: 1
8
+
9
+ - [@mariokinzel](https://github.com/mariokinzel)
10
+
11
+ ---
12
+
1
13
  # v0.95.2 (Thu Dec 01 2022)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -2259,7 +2259,7 @@ video {
2259
2259
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
2260
2260
  }
2261
2261
  .counter-reset {
2262
- counter-reset: cnt1669905469126;
2262
+ counter-reset: cnt1669908627308;
2263
2263
  }
2264
2264
  .line-clamp-4 {
2265
2265
  overflow: hidden;
@@ -2293,6 +2293,9 @@ video {
2293
2293
  .ar-16-9 {
2294
2294
  aspect-ratio: 16 / 9;
2295
2295
  }
2296
+ .\!ar-16-9 {
2297
+ aspect-ratio: 16 / 9 !important;
2298
+ }
2296
2299
  @supports not (aspect-ratio: 16 / 9) {
2297
2300
  .ar-16-9::before {
2298
2301
  float: left;
@@ -2305,6 +2308,17 @@ video {
2305
2308
  content: '';
2306
2309
  clear: both;
2307
2310
  }
2311
+ .\!ar-16-9::before {
2312
+ float: left !important;
2313
+ padding-top: 56.25% !important;
2314
+ content: '' !important;
2315
+ }
2316
+
2317
+ .ar-16-19::after {
2318
+ display: block !important;
2319
+ content: '' !important;
2320
+ clear: both !important;
2321
+ }
2308
2322
  }
2309
2323
  .ar-1-1 {
2310
2324
  aspect-ratio: 1 / 1;
@@ -2645,7 +2659,7 @@ video {
2645
2659
  --tw-ring-color: rgba(255, 255, 255, 0.5);
2646
2660
  }
2647
2661
  .-ordered {
2648
- counter-increment: cnt1669905469126 1;
2662
+ counter-increment: cnt1669908627308 1;
2649
2663
  }
2650
2664
  .-ordered::before {
2651
2665
  position: absolute;
@@ -2661,7 +2675,7 @@ video {
2661
2675
  letter-spacing: .0125em;
2662
2676
  --tw-text-opacity: 1;
2663
2677
  color: rgba(0, 0, 0, var(--tw-text-opacity));
2664
- content: counter(cnt1669905469126);
2678
+ content: counter(cnt1669908627308);
2665
2679
  }
2666
2680
  .\[-T\:\+Z\] {
2667
2681
  --t: +Z;
@@ -4,7 +4,11 @@
4
4
  :class="avStart ? 'flex-col' : 'flex-row'"
5
5
  {{/if}}
6
6
  >
7
- <figure class="relative {{~inline-switch this.teaserSize '["hero","100","50"]' '[" basis-2/3 ar-16-9"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/3"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/2"]'~}}">
7
+ <figure class="relative {{~inline-switch this.teaserSize '["hero","100","50"]' '[" basis-2/3 ar-16-9"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/3"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/2"]'~}}"
8
+ {{#if this.isMobile1to1}}
9
+ :class="avStart ? '!ar-16-9' : ''"
10
+ {{/if}}
11
+ >
8
12
  {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _teaserType=this.teaserType _aspectRatio=(inline-switch this.teaserSize '["hero"]' '["ar-16-9","ar-1-1 md:ar-16-9"]') }}
9
13
  </figure>
10
14
  {{> components/teaser/components/teaser_body _outerCssClasses=(inline-switch this.teaserSize '["hero","100","50"]' '["basis-1/3"," basis-3/5 md:basis-2/3"," basis-3/5 md:basis-1/2"]') }}
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.95.2",
9
+ "version": "0.96.0",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "start-storybook -p 6006 public",
@@ -4,7 +4,11 @@
4
4
  :class="avStart ? 'flex-col' : 'flex-row'"
5
5
  {{/if}}
6
6
  >
7
- <figure class="relative {{~inline-switch this.teaserSize '["hero","100","50"]' '[" basis-2/3 ar-16-9"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/3"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/2"]'~}}">
7
+ <figure class="relative {{~inline-switch this.teaserSize '["hero","100","50"]' '[" basis-2/3 ar-16-9"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/3"," ar-1-1 md:ar-16-9 basis-2/5 md:basis-1/2"]'~}}"
8
+ {{#if this.isMobile1to1}}
9
+ :class="avStart ? '!ar-16-9' : ''"
10
+ {{/if}}
11
+ >
8
12
  {{> components/teaser/components/teaser_lead _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _teaserType=this.teaserType _aspectRatio=(inline-switch this.teaserSize '["hero"]' '["ar-16-9","ar-1-1 md:ar-16-9"]') }}
9
13
  </figure>
10
14
  {{> components/teaser/components/teaser_body _outerCssClasses=(inline-switch this.teaserSize '["hero","100","50"]' '["basis-1/3"," basis-3/5 md:basis-2/3"," basis-3/5 md:basis-1/2"]') }}