hr-design-system-handlebars 1.1.9 → 1.1.10
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 +12 -0
- package/build/handlebars/helpers/handlebar-helpers.js +0 -59
- package/dist/assets/index.css +3 -3
- package/dist/views/components/label/label_byline.hbs +1 -1
- package/dist/views/components/teaser/cluster/teaser_cluster_item.hbs +1 -1
- package/package.json +1 -1
- package/src/stories/views/components/label/label_byline.hbs +1 -1
- package/src/stories/views/components/teaser/cluster/teaser_cluster_item.hbs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v1.1.10 (Thu Feb 16 2023)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Bugfix/dpe 2073 [#548](https://github.com/mumprod/hr-design-system-handlebars/pull/548) ([@szuelch](https://github.com/szuelch))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- [@szuelch](https://github.com/szuelch)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v1.1.9 (Wed Feb 15 2023)
|
|
2
14
|
|
|
3
15
|
#### 🐛 Bug Fix
|
|
@@ -443,65 +443,6 @@ var helpers = {
|
|
|
443
443
|
|
|
444
444
|
return tokenStr
|
|
445
445
|
},
|
|
446
|
-
/*'loca': function (text, options) {
|
|
447
|
-
let url = window.location.href
|
|
448
|
-
console.log(url)
|
|
449
|
-
const regex = /(?<=brands\:).*?(?=\&)/g
|
|
450
|
-
let brand = url.match(regex)
|
|
451
|
-
brand = null != brand ? brand[0] : 'hessenschau'
|
|
452
|
-
console.log(brand)
|
|
453
|
-
var loca
|
|
454
|
-
var locas = {
|
|
455
|
-
anchor_brandNav: 'Übersicht der Marken des HR anspringen',
|
|
456
|
-
anchor_headline: 'Sprungmarken',
|
|
457
|
-
anchor_mainContent: 'Inhalt anspringen',
|
|
458
|
-
anchor_sectionNav: 'Bereichsnavigation anspringen',
|
|
459
|
-
anchor_serviceNav: 'Servicenavigation anspringen',
|
|
460
|
-
anchor_subNav: 'Subnavigation des Bereichs {0} anspringen',
|
|
461
|
-
search_input_aria_submit: 'Suche starten',
|
|
462
|
-
search_input_placeholder: 'Ort oder Thema suchen',
|
|
463
|
-
feature_box_anchor: 'Livestream Player anspringen',
|
|
464
|
-
header_homepage_link_title: 'Startseite hessenschau . d e',
|
|
465
|
-
comment_anchor_1: 'zu den ',
|
|
466
|
-
comment_label_text: 'Kommentar',
|
|
467
|
-
comment_label_text_many: 'Kommentare',
|
|
468
|
-
comment_anchor_2: ' Kommentaren des Artikels springen',
|
|
469
|
-
date_simple_at: options + ' Uhr',
|
|
470
|
-
label_ticker: 'Ticker',
|
|
471
|
-
label_download: 'Download',
|
|
472
|
-
label_media: 'Media',
|
|
473
|
-
label_podcast: 'Podcast',
|
|
474
|
-
label_event: 'Konzert',
|
|
475
|
-
group_tabbed_more: 'weitere Meldungen aus ' + options,
|
|
476
|
-
<<<<<<< HEAD
|
|
477
|
-
event_calendar_backlink: 'Eventkalender'
|
|
478
|
-
=======
|
|
479
|
-
label_concert: "Konzert",
|
|
480
|
-
label_program: "Sendung"
|
|
481
|
-
>>>>>>> main
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
for (let key in locas) {
|
|
485
|
-
if (key == text) {
|
|
486
|
-
loca = text.replace(text, locas[key])
|
|
487
|
-
return loca
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
},*/
|
|
491
|
-
|
|
492
|
-
/*staticSSI: function (filepath) {
|
|
493
|
-
var template = grunt.file.read(helpers.helperOptions.libraryDir + '/' + filepath, {
|
|
494
|
-
encoding: 'UTF-8',
|
|
495
|
-
})
|
|
496
|
-
|
|
497
|
-
var pageBuilder = handlebars.compile(template)
|
|
498
|
-
|
|
499
|
-
return new handlebars.SafeString(pageBuilder(this))
|
|
500
|
-
},
|
|
501
|
-
|
|
502
|
-
webAppVersion: function () {
|
|
503
|
-
return null
|
|
504
|
-
},*/
|
|
505
446
|
}
|
|
506
447
|
|
|
507
448
|
// Export helpers
|
package/dist/assets/index.css
CHANGED
|
@@ -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:
|
|
2656
|
+
counter-reset: cnt1676543114131;
|
|
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:
|
|
2890
|
+
counter-increment: cnt1676543114131 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(
|
|
2906
|
+
content: counter(cnt1676543114131);
|
|
2907
2907
|
}
|
|
2908
2908
|
/*! ****************************/
|
|
2909
2909
|
/*! text-shadow */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{{#with this.byline}}
|
|
2
2
|
{{~#if this.bylineSsi~}}
|
|
3
|
-
{{> components/base/loadSSI _context=this.context _templatePath=this.bylineSsi}}
|
|
3
|
+
{{> components/base/loadSSI this.bylineSsi _context=this.context _templatePath=this.bylineSsi}}
|
|
4
4
|
{{~else~}}
|
|
5
5
|
{{#> components/text/byline _css=../_css}}
|
|
6
6
|
{{this.bylineText}}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
{{/components/label/label_group}}
|
|
7
7
|
{{/with~}}
|
|
8
8
|
{{#> components/teaser/components/teaser_headline _headlineTag="h3"}}
|
|
9
|
-
{{> components/teaser/components/teaser_title _css=(
|
|
9
|
+
{{> components/teaser/components/teaser_title _css=(if _ordered "text-clusterTeaserLink pl-8" "text-clusterTeaserLink") _text=this.title _size=_size _teaserType="cluster" _firstItem=_firstItem}}
|
|
10
10
|
{{/components/teaser/components/teaser_headline}}
|
|
11
11
|
{{/decorator}}
|
|
12
12
|
{{> components/teaser/cluster/teaser_cluster_byline _ordered=_ordered}}
|
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.
|
|
9
|
+
"version": "1.1.10",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "start-storybook -p 6006 public",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{{#with this.byline}}
|
|
2
2
|
{{~#if this.bylineSsi~}}
|
|
3
|
-
{{> components/base/loadSSI _context=this.context _templatePath=this.bylineSsi}}
|
|
3
|
+
{{> components/base/loadSSI this.bylineSsi _context=this.context _templatePath=this.bylineSsi}}
|
|
4
4
|
{{~else~}}
|
|
5
5
|
{{#> components/text/byline _css=../_css}}
|
|
6
6
|
{{this.bylineText}}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
{{/components/label/label_group}}
|
|
7
7
|
{{/with~}}
|
|
8
8
|
{{#> components/teaser/components/teaser_headline _headlineTag="h3"}}
|
|
9
|
-
{{> components/teaser/components/teaser_title _css=(
|
|
9
|
+
{{> components/teaser/components/teaser_title _css=(if _ordered "text-clusterTeaserLink pl-8" "text-clusterTeaserLink") _text=this.title _size=_size _teaserType="cluster" _firstItem=_firstItem}}
|
|
10
10
|
{{/components/teaser/components/teaser_headline}}
|
|
11
11
|
{{/decorator}}
|
|
12
12
|
{{> components/teaser/cluster/teaser_cluster_byline _ordered=_ordered}}
|