hr-design-system-handlebars 1.52.8 → 1.52.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 CHANGED
@@ -1,3 +1,27 @@
1
+ # v1.52.10 (Tue Jan 23 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - add copytext-jobposting-component [#812](https://github.com/mumprod/hr-design-system-handlebars/pull/812) ([@hanswurstsalat](https://github.com/hanswurstsalat))
6
+
7
+ #### Authors: 1
8
+
9
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
10
+
11
+ ---
12
+
13
+ # v1.52.9 (Mon Jan 22 2024)
14
+
15
+ #### 🐛 Bug Fix
16
+
17
+ - add decorator for copytext [#810](https://github.com/mumprod/hr-design-system-handlebars/pull/810) ([@hanswurstsalat](https://github.com/hanswurstsalat))
18
+
19
+ #### Authors: 1
20
+
21
+ - Geraldo ([@hanswurstsalat](https://github.com/hanswurstsalat))
22
+
23
+ ---
24
+
1
25
  # v1.52.8 (Fri Jan 19 2024)
2
26
 
3
27
  #### 🐛 Bug Fix
@@ -1689,6 +1689,9 @@ article.indexText ul {
1689
1689
  .max-w-\[480px\] {
1690
1690
  max-width: 480px;
1691
1691
  }
1692
+ .max-w-\[724px\] {
1693
+ max-width: 724px;
1694
+ }
1692
1695
  .max-w-full {
1693
1696
  max-width: 100%;
1694
1697
  }
@@ -3225,7 +3228,7 @@ article.indexText ul {
3225
3228
  border-bottom-color: var(--color-secondary-ds);
3226
3229
  }
3227
3230
  .counter-reset {
3228
- counter-reset: cnt1705691587463;
3231
+ counter-reset: cnt1706031818952;
3229
3232
  }
3230
3233
  .hyphens-auto {
3231
3234
  -webkit-hyphens: auto;
@@ -3527,7 +3530,7 @@ article.indexText ul {
3527
3530
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3528
3531
  }
3529
3532
  .-ordered {
3530
- counter-increment: cnt1705691587463 1;
3533
+ counter-increment: cnt1706031818952 1;
3531
3534
  }
3532
3535
  .-ordered::before {
3533
3536
  position: absolute;
@@ -3543,7 +3546,7 @@ article.indexText ul {
3543
3546
  letter-spacing: .0125em;
3544
3547
  --tw-text-opacity: 1;
3545
3548
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3546
- content: counter(cnt1705691587463);
3549
+ content: counter(cnt1706031818952);
3547
3550
  }
3548
3551
  /*! ****************************/
3549
3552
  /*! DataPolicy stuff */
@@ -1,5 +1,15 @@
1
- {{~#if (isStorybook)~}}
2
- <div class="mt-6 italic text-gray-dark">coming soon: Jobposting-component</div>
3
- {{~else~}}
4
- {{~> modules/story/paragraphs/jobposting ~}}
5
- {{~/if~}}
1
+ {{#with this.paragraphProperties.[0]}}
2
+ {{#with this.jobDescription}}
3
+ {{#each this.split}}
4
+ {{#if this.isText}}
5
+ <p class="mt-6 text-base sm480:text-xl dark:text-text-dark">{{{this.text}}}</p>
6
+ {{/if}}
7
+ {{#if this.isUl}}
8
+ <ul class="mt-6 ml-5 text-base list-disc sm480:text-xl dark:text-text-dark">{{{this.text}}}</ul>
9
+ {{/if}}
10
+ {{#if this.isOl}}
11
+ <ol class="mt-6 ml-5 text-base list-decimal sm480:text-xl dark:text-text-dark">{{{this.text}}}</ol>
12
+ {{/if}}
13
+ {{/each}}
14
+ {{/with}}
15
+ {{/with}}
@@ -1,5 +1,15 @@
1
- {{~#if (isStorybook)~}}
2
- <div class="mt-6 italic text-gray-dark">coming soon: Jobposting-component</div>
3
- {{~else~}}
4
- {{~> modules/story/paragraphs/jobposting ~}}
5
- {{~/if~}}
1
+ {{#with this.paragraphProperties.[0]}}
2
+ {{#with this.jobDescription}}
3
+ {{#each this.split}}
4
+ {{#if this.isText}}
5
+ <p class="mt-6 text-base sm480:text-xl dark:text-text-dark">{{{this.text}}}</p>
6
+ {{/if}}
7
+ {{#if this.isUl}}
8
+ <ul class="mt-6 ml-5 text-base list-disc sm480:text-xl dark:text-text-dark">{{{this.text}}}</ul>
9
+ {{/if}}
10
+ {{#if this.isOl}}
11
+ <ol class="mt-6 ml-5 text-base list-decimal sm480:text-xl dark:text-text-dark">{{{this.text}}}</ol>
12
+ {{/if}}
13
+ {{/each}}
14
+ {{/with}}
15
+ {{/with}}
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.52.8",
9
+ "version": "1.52.10",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -694,5 +694,56 @@
694
694
  ]
695
695
  }
696
696
  ]
697
- }
697
+ },
698
+ "copytext_jobposting": {
699
+ "copytextParagraph": [
700
+ {
701
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
702
+ "isHeadline": true,
703
+ "text": "Copytext mit Jobposting"
704
+ },
705
+ {
706
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
707
+ "isParagraph": true,
708
+ "text": {
709
+ "split": [
710
+ {
711
+ "isText": true,
712
+ "text": "Digitale Produkte, Fernsehen, Radio– wir sind Hessens größtes Medienunternehmen. Als Mitglied der ARD sind wir stolz darauf, mit unseren vielfältigen und qualitativ hochwertigen Programmangeboten wesentlich zur Meinungs- und Medienvielfalt in Deutschland beizutragen. Zur Verstärkung unseres Teams suchen wir befristet für zunächst 3 Jahre eine*n innovative*n"
713
+ }
714
+ ]
715
+ }
716
+ },
717
+ {
718
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
719
+ "isHeadline": true,
720
+ "text": "Java-Entwickler*in"
721
+ },
722
+ {
723
+ "structuredDataSsi": "<!--#include virtual='structuredDataSsiPath' -->",
724
+ "isJobposting": true,
725
+ "text": "Wo brauche ich noch Corona-Test?",
726
+ "paragraphProperties": [
727
+ {
728
+ "jobDescription": {
729
+ "split": [
730
+ {
731
+ "isText": true,
732
+ "text": "Du hast Spaß an neuen Technologien und bist ein*e Experte*in in der Java-Entwicklung? Du suchst spannende und vielfältige Projekte in einem dynamischen Medienumfeld? Dann vernetze gemeinsam mit uns die Mediensysteme der ARD."
733
+ },
734
+ {
735
+ "isUl": true,
736
+ "text": "<li>Du hast Spaß daran selbstorganisiert in einem agilen Umfeld und interdisziplinären Projektteams zu arbeiten.</li><li>Du bringst ein abgeschlossenes informatikorientiertes Studium bzw. eine vergleichbare Qualifikation mit und verfügst über Berufserfahrung im Bereich Softwareentwicklung.</li><li>Sehr gute Java-Kenntnisse, Kenntnisse in modernen Schnittstellentechnologien und Datenbanksystemen setzen wir voraus.</li>"
737
+ },
738
+ {
739
+ "isOl": true,
740
+ "text": "<li>Du implementierst als Full-Stack-Entwickler*in Features vertikal durch alle Softwareschichten.</li><li>Im Team entwickelst du die Applikation in enger Zusammenarbeit mit Anwender*innen fachlich weiter.</li>"
741
+ }
742
+ ]
743
+ }
744
+ }
745
+ ]
746
+ }
747
+ ]
748
+ }
698
749
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "@->jsoninclude": "content/copytext/copytext.inc.json",
3
+ "@->contentpath": "copytext_jobposting"
4
+ }
@@ -1,5 +1,15 @@
1
- {{~#if (isStorybook)~}}
2
- <div class="mt-6 italic text-gray-dark">coming soon: Jobposting-component</div>
3
- {{~else~}}
4
- {{~> modules/story/paragraphs/jobposting ~}}
5
- {{~/if~}}
1
+ {{#with this.paragraphProperties.[0]}}
2
+ {{#with this.jobDescription}}
3
+ {{#each this.split}}
4
+ {{#if this.isText}}
5
+ <p class="mt-6 text-base sm480:text-xl dark:text-text-dark">{{{this.text}}}</p>
6
+ {{/if}}
7
+ {{#if this.isUl}}
8
+ <ul class="mt-6 ml-5 text-base list-disc sm480:text-xl dark:text-text-dark">{{{this.text}}}</ul>
9
+ {{/if}}
10
+ {{#if this.isOl}}
11
+ <ol class="mt-6 ml-5 text-base list-decimal sm480:text-xl dark:text-text-dark">{{{this.text}}}</ol>
12
+ {{/if}}
13
+ {{/each}}
14
+ {{/with}}
15
+ {{/with}}
@@ -5,6 +5,7 @@ import copytext_additionalInfo_json from './fixtures/copytext_additionalInfo.jso
5
5
  import copytext_cite_json from './fixtures/copytext_cite.json'
6
6
  import copytext_podcastepisode_json from './fixtures/copytext_podcastepisode.json'
7
7
  import copytext_faq_json from './fixtures/copytext_faq.json'
8
+ import copytext_jobposting_json from './fixtures/copytext_jobposting.json'
8
9
 
9
10
  const Template = ({ ...args }) => {
10
11
  return copytext({ ...args })
@@ -12,6 +13,13 @@ const Template = ({ ...args }) => {
12
13
 
13
14
  export default {
14
15
  title: 'Komponenten/Content/Copytext',
16
+ decorators: [
17
+ (Story) => {
18
+ return `<div class="max-w-[724px] mx-auto">
19
+ ${Story()}
20
+ </div>`
21
+ },
22
+ ],
15
23
  }
16
24
 
17
25
  export const Default = {
@@ -26,6 +34,12 @@ export const WithFAQ = {
26
34
  args: copytext_faq_json,
27
35
  }
28
36
 
37
+ export const WithJobposting = {
38
+ render: Template.bind({}),
39
+ name: 'Jobposting',
40
+ args: copytext_jobposting_json,
41
+ }
42
+
29
43
  export const WithPodcastEpisode = {
30
44
  render: Template.bind({}),
31
45
  name: 'Podcastepisode',
@@ -0,0 +1 @@
1
+ {"copytextParagraph":[{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isHeadline":true,"text":"Copytext mit Jobposting"},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isParagraph":true,"text":{"split":[{"isText":true,"text":"Digitale Produkte, Fernsehen, Radio– wir sind Hessens größtes Medienunternehmen. Als Mitglied der ARD sind wir stolz darauf, mit unseren vielfältigen und qualitativ hochwertigen Programmangeboten wesentlich zur Meinungs- und Medienvielfalt in Deutschland beizutragen. Zur Verstärkung unseres Teams suchen wir befristet für zunächst 3 Jahre eine*n innovative*n"}]}},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isHeadline":true,"text":"Java-Entwickler*in"},{"structuredDataSsi":"<!--#include virtual='structuredDataSsiPath' -->","isJobposting":true,"text":"Wo brauche ich noch Corona-Test?","paragraphProperties":[{"jobDescription":{"split":[{"isText":true,"text":"Du hast Spaß an neuen Technologien und bist ein*e Experte*in in der Java-Entwicklung? Du suchst spannende und vielfältige Projekte in einem dynamischen Medienumfeld? Dann vernetze gemeinsam mit uns die Mediensysteme der ARD."},{"isUl":true,"text":"<li>Du hast Spaß daran selbstorganisiert in einem agilen Umfeld und interdisziplinären Projektteams zu arbeiten.</li><li>Du bringst ein abgeschlossenes informatikorientiertes Studium bzw. eine vergleichbare Qualifikation mit und verfügst über Berufserfahrung im Bereich Softwareentwicklung.</li><li>Sehr gute Java-Kenntnisse, Kenntnisse in modernen Schnittstellentechnologien und Datenbanksystemen setzen wir voraus.</li>"},{"isOl":true,"text":"<li>Du implementierst als Full-Stack-Entwickler*in Features vertikal durch alle Softwareschichten.</li><li>Im Team entwickelst du die Applikation in enger Zusammenarbeit mit Anwender*innen fachlich weiter.</li>"}]}}]}]}