hr-design-system-handlebars 1.1.12 → 1.1.13

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,16 @@
1
+ # v1.1.13 (Fri Feb 17 2023)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Bugfix/dpe 2100 [#552](https://github.com/mumprod/hr-design-system-handlebars/pull/552) ([@StefanVesper](https://github.com/StefanVesper) [@szuelch](https://github.com/szuelch))
6
+
7
+ #### Authors: 2
8
+
9
+ - [@szuelch](https://github.com/szuelch)
10
+ - SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
11
+
12
+ ---
13
+
1
14
  # v1.1.12 (Thu Feb 16 2023)
2
15
 
3
16
  #### 🐛 Bug Fix
@@ -329,6 +329,12 @@ var helpers = {
329
329
  }
330
330
  },
331
331
 
332
+ 'default': function (value, options) {
333
+ if (this.switch_break == false) {
334
+ return options.fn(this)
335
+ }
336
+ },
337
+
332
338
  'defaultIfEmpty': function (context, defaultValue) {
333
339
  if (context) {
334
340
  return context
@@ -337,12 +343,6 @@ var helpers = {
337
343
  }
338
344
  },
339
345
 
340
- 'default': function (value, options) {
341
- if (this.switch_break == false) {
342
- return value
343
- }
344
- },
345
-
346
346
  'withParam': function (context) {
347
347
  //normaler with helper code aus handlebars.js
348
348
 
@@ -2653,7 +2653,7 @@ video {
2653
2653
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
2654
2654
  }
2655
2655
  .counter-reset {
2656
- counter-reset: cnt1676559749908;
2656
+ counter-reset: cnt1676627717075;
2657
2657
  }
2658
2658
  .line-clamp-4 {
2659
2659
  overflow: hidden;
@@ -2887,7 +2887,7 @@ video {
2887
2887
  --tw-ring-color: rgba(255, 255, 255, 0.5);
2888
2888
  }
2889
2889
  .-ordered {
2890
- counter-increment: cnt1676559749908 1;
2890
+ counter-increment: cnt1676627717075 1;
2891
2891
  }
2892
2892
  .-ordered::before {
2893
2893
  position: absolute;
@@ -2903,7 +2903,7 @@ video {
2903
2903
  letter-spacing: .0125em;
2904
2904
  --tw-text-opacity: 1;
2905
2905
  color: rgba(0, 0, 0, var(--tw-text-opacity));
2906
- content: counter(cnt1676559749908);
2906
+ content: counter(cnt1676627717075);
2907
2907
  }
2908
2908
  /*! ****************************/
2909
2909
  /*! text-shadow */
@@ -23,7 +23,18 @@
23
23
  {{/components/teaser/components/teaser_header}}
24
24
 
25
25
  <div class="sm:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
26
- {{> components/teaser/components/teaser_text _text=this.shorttext _size=this.teaserSize}}
27
- {{> components/teaser/components/teaser_byline}}
26
+ {{#switch this.teaserSize }}
27
+ {{#case "25"}}
28
+ {{#if this.isExtOrBrandLink}}
29
+ {{> components/teaser/components/teaser_text _text=this.shorttext _size=this.teaserSize}}
30
+ {{/if}}
31
+ {{> components/teaser/components/teaser_byline}}
32
+ {{/case}}
33
+
34
+ {{#default "default"}}
35
+ {{> components/teaser/components/teaser_text _text=this.shorttext _size=this.teaserSize}}
36
+ {{> components/teaser/components/teaser_byline}}
37
+ {{/default}}
38
+ {{/switch}}
28
39
  </div>
29
40
  </div>
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": "1.1.12",
9
+ "version": "1.1.13",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "start-storybook -p 6006 public",
@@ -23,7 +23,18 @@
23
23
  {{/components/teaser/components/teaser_header}}
24
24
 
25
25
  <div class="sm:px-0{{#unless this.isMobile1to1}} px-5{{/unless}}">
26
- {{> components/teaser/components/teaser_text _text=this.shorttext _size=this.teaserSize}}
27
- {{> components/teaser/components/teaser_byline}}
26
+ {{#switch this.teaserSize }}
27
+ {{#case "25"}}
28
+ {{#if this.isExtOrBrandLink}}
29
+ {{> components/teaser/components/teaser_text _text=this.shorttext _size=this.teaserSize}}
30
+ {{/if}}
31
+ {{> components/teaser/components/teaser_byline}}
32
+ {{/case}}
33
+
34
+ {{#default "default"}}
35
+ {{> components/teaser/components/teaser_text _text=this.shorttext _size=this.teaserSize}}
36
+ {{> components/teaser/components/teaser_byline}}
37
+ {{/default}}
38
+ {{/switch}}
28
39
  </div>
29
40
  </div>