hr-design-system-handlebars 1.54.1 → 1.54.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
+ # v1.54.2 (Tue Feb 06 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - introduces content footer component [#826](https://github.com/mumprod/hr-design-system-handlebars/pull/826) ([@StefanVesper](https://github.com/StefanVesper))
6
+
7
+ #### Authors: 1
8
+
9
+ - SonicSoulSurfer ([@StefanVesper](https://github.com/StefanVesper))
10
+
11
+ ---
12
+
1
13
  # v1.54.1 (Mon Feb 05 2024)
2
14
 
3
15
  #### 🐛 Bug Fix
@@ -1740,6 +1740,9 @@ a.link:hover {
1740
1740
  .max-w-\[724px\] {
1741
1741
  max-width: 724px;
1742
1742
  }
1743
+ .max-w-\[940px\] {
1744
+ max-width: 940px;
1745
+ }
1743
1746
  .max-w-full {
1744
1747
  max-width: 100%;
1745
1748
  }
@@ -3302,7 +3305,7 @@ a.link:hover {
3302
3305
  border-bottom-color: var(--color-secondary-ds);
3303
3306
  }
3304
3307
  .counter-reset {
3305
- counter-reset: cnt1707141285742;
3308
+ counter-reset: cnt1707214594701;
3306
3309
  }
3307
3310
  .hyphens-auto {
3308
3311
  -webkit-hyphens: auto;
@@ -3604,7 +3607,7 @@ a.link:hover {
3604
3607
  --tw-ring-color: rgba(255, 255, 255, 0.5);
3605
3608
  }
3606
3609
  .-ordered {
3607
- counter-increment: cnt1707141285742 1;
3610
+ counter-increment: cnt1707214594701 1;
3608
3611
  }
3609
3612
  .-ordered::before {
3610
3613
  position: absolute;
@@ -3620,7 +3623,7 @@ a.link:hover {
3620
3623
  letter-spacing: .0125em;
3621
3624
  --tw-text-opacity: 1;
3622
3625
  color: rgba(0, 0, 0, var(--tw-text-opacity));
3623
- content: counter(cnt1707141285742);
3626
+ content: counter(cnt1707214594701);
3624
3627
  }
3625
3628
  /*! ****************************/
3626
3629
  /*! DataPolicy stuff */
@@ -1,6 +1,6 @@
1
1
 
2
2
  {{#>components/base/link _link=this.link _css="group ds-link font-title text-base mt-2.5 text-podcast-text dark:text-podcast-text-dark"}}
3
- <span class="mt-0.5 group-hover:underline {{#if ../../_ordered-adjust_context}} pl-8 {{/if}}line-clamp-4 {{inline-switch ../../_teaserSize-adjust_context '["hero","100","50"]''["text-base md:text-2xl lg:line-clamp-2","text-base md:text-2xl lg:line-clamp-2","text-base md:text-lg"]' ~}}">
3
+ <span class="mt-0.5 group-hover:underline {{#if ../../_ordered-adjust_context}} pl-8 {{/if}}line-clamp-4 {{inline-switch ../../_teaserSize-adjust_context '["hero","100","50"]''["text-base md:text-2xl lg:line-clamp-2","text-base md:text-2xl lg:line-clamp-2","text-base md:text-lg","text-base md:text-2xl lg:line-clamp-2"]' ~}}">
4
4
  {{~../../_title-adjust_context~}}
5
5
  </span>
6
6
  {{/components/base/link}}
@@ -1,6 +1,6 @@
1
1
 
2
2
  {{#>components/base/link _link=this.link _css="group ds-link font-title text-base mt-2.5 text-podcast-text dark:text-podcast-text-dark"}}
3
- <span class="mt-0.5 group-hover:underline {{#if _ordered}} pl-8 {{/if}}line-clamp-4 {{inline-switch _teaserSize '["hero","100","50"]''["text-base md:text-2xl lg:line-clamp-2","text-base md:text-2xl lg:line-clamp-2","text-base md:text-lg"]' ~}}">
3
+ <span class="mt-0.5 group-hover:underline {{#if _ordered}} pl-8 {{/if}}line-clamp-4 {{inline-switch _teaserSize '["hero","100","50"]''["text-base md:text-2xl lg:line-clamp-2","text-base md:text-2xl lg:line-clamp-2","text-base md:text-lg","text-base md:text-2xl lg:line-clamp-2"]' ~}}">
4
4
  {{~_title~}}
5
5
  </span>
6
6
  {{/components/base/link}}
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.54.1",
9
+ "version": "1.54.2",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -0,0 +1,15 @@
1
+ {
2
+ "_showDate": true,
3
+ "_date": {
4
+ "htmlDateTime": "2022-10-31T19:30+0200",
5
+ "htmlDate": "31.10.2022",
6
+ "date": "31.10.22",
7
+ "time": "19:30",
8
+ "dateSeparatorTime": "31.10.22, 19:30"
9
+ },
10
+ "_hasDwellTime": true,
11
+ "_copyright": "All rights reserved",
12
+ "_source": ["DPA","Wikipedia"],
13
+ "_author": "Anna Magel",
14
+ "_isArchiveContent": true
15
+ }
@@ -0,0 +1,32 @@
1
+ import { ArgsTable, Meta, Story, Canvas } from '@storybook/blocks'
2
+ import * as ContentFooterStories from './content_footer.stories'
3
+
4
+ <Meta of={ContentFooterStories} />
5
+
6
+ # Copytext
7
+
8
+ ## Beschreibung
9
+
10
+ Footerbereich des Contents einer Artikelseite oder Einzelseite.
11
+
12
+ ## Verwendung
13
+
14
+ Die Content-Footer-Komponente wird in handlebars wie folgt eingebaut:
15
+
16
+ ```html
17
+ {{> components/content/content_footer/content_footer
18
+ _addCss = ""
19
+ _source_=this.source
20
+ _author=this.audioAuthor
21
+ _showDate=this.hasDwellTime
22
+ _date=this.airdateDate
23
+ _copyright=this.copyright
24
+ _isArchiveContent=this.isArchiveContent
25
+ _posterCopyright="poster_copyright" }}
26
+ ```
27
+
28
+ <Canvas withToolbar>
29
+ <Story of={ContentFooterStories.Default} />
30
+ </Canvas>
31
+
32
+ <ArgsTable story="default" />
@@ -0,0 +1,23 @@
1
+ import contentfooter from './content_footer.hbs'
2
+ import contentfooterjson from './fixtures/content_footer.json'
3
+
4
+ const Template = ({ ...args }) => {
5
+ return contentfooter({ ...args })
6
+ }
7
+
8
+ export default {
9
+ title: 'Komponenten/Content/Content-Footer',
10
+ decorators: [
11
+ (Story) => {
12
+ return `<div class="max-w-[940px]">
13
+ ${Story()}
14
+ </div>`
15
+ },
16
+ ],
17
+ }
18
+
19
+ export const Default = {
20
+ render: Template.bind({}),
21
+ name: 'default',
22
+ args: contentfooterjson,
23
+ }
@@ -0,0 +1 @@
1
+ {"_showDate":true,"_date":{"htmlDateTime":"2022-10-31T19:30+0200","htmlDate":"31.10.2022","date":"31.10.22","time":"19:30","dateSeparatorTime":"31.10.22, 19:30"},"_hasDwellTime":true,"_copyright":"All rights reserved","_source":["DPA","Wikipedia"],"_author":"Anna Magel","_isArchiveContent":true}
@@ -1,6 +1,6 @@
1
1
 
2
2
  {{#>components/base/link _link=this.link _css="group ds-link font-title text-base mt-2.5 text-podcast-text dark:text-podcast-text-dark"}}
3
- <span class="mt-0.5 group-hover:underline {{#if _ordered-adjust_context}} pl-8 {{/if}}line-clamp-4 {{inline-switch _teaserSize-adjust_context '["hero","100","50"]''["text-base md:text-2xl lg:line-clamp-2","text-base md:text-2xl lg:line-clamp-2","text-base md:text-lg"]' ~}}">
3
+ <span class="mt-0.5 group-hover:underline {{#if _ordered-adjust_context}} pl-8 {{/if}}line-clamp-4 {{inline-switch _teaserSize-adjust_context '["hero","100","50"]''["text-base md:text-2xl lg:line-clamp-2","text-base md:text-2xl lg:line-clamp-2","text-base md:text-lg","text-base md:text-2xl lg:line-clamp-2"]' ~}}">
4
4
  {{~_title-adjust_context~}}
5
5
  </span>
6
6
  {{/components/base/link}}