hr-design-system-handlebars 1.27.0 → 1.27.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.
Files changed (85) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/assets/brand/_default/conf/locatags.json +2 -1
  3. package/dist/assets/index.css +70 -10
  4. package/dist/views/components/button/utilities/button_on_image_classes.hbs +6 -0
  5. package/dist/views/components/mediaplayer/media_player.hbs +2 -2
  6. package/dist/views/components/site_header/brand_navigation/brand_navigation_item.hbs +1 -1
  7. package/dist/views/components/site_header/section_navigation/section_navigation_item.hbs +2 -2
  8. package/dist/views/components/site_header/service_navigation/service_navigation_item.hbs +3 -3
  9. package/dist/views/components/teaser/components/teaser_av_consumption.hbs +5 -5
  10. package/dist/views/components/teaser/components/teaser_lead.hbs +1 -1
  11. package/dist/views/components/teaser/components/teaser_title_classes.hbs +14 -0
  12. package/dist/views/components/teaser/ticker/teaser_ticker_alternativ.hbs +16 -0
  13. package/dist/views/components/teaser/ticker/teaser_ticker_body.hbs +26 -0
  14. package/dist/views/components/teaser/ticker/teaser_ticker_footer.hbs +12 -0
  15. package/dist/views/components/teaser/ticker/teaser_ticker_standard.hbs +16 -0
  16. package/dist/views/components/teaser/ticker/teaser_ticker_timeline.hbs +3 -3
  17. package/dist/views/components/tracking/navigation_tracking.hbs +4 -1
  18. package/package.json +1 -1
  19. package/src/assets/brand/_default/conf/locatags.json +2 -1
  20. package/src/assets/brand/hessenschau/conf/locatags.merged.json +1 -0
  21. package/src/assets/brand/hr/conf/locatags.merged.json +1 -0
  22. package/src/assets/brand/hr-bigband/conf/locatags.merged.json +1 -0
  23. package/src/assets/brand/hr-fernsehen/conf/locatags.merged.json +1 -0
  24. package/src/assets/brand/hr-inforadio/conf/locatags.merged.json +1 -0
  25. package/src/assets/brand/hr-rundfunkrat/conf/locatags.merged.json +1 -0
  26. package/src/assets/brand/hr-sinfonieorchester/conf/locatags.merged.json +1 -0
  27. package/src/assets/brand/hr-werbung/conf/locatags.merged.json +1 -0
  28. package/src/assets/brand/hr1/conf/locatags.merged.json +1 -0
  29. package/src/assets/brand/hr2/conf/locatags.merged.json +1 -0
  30. package/src/assets/brand/hr3/conf/locatags.merged.json +1 -0
  31. package/src/assets/brand/hr4/conf/locatags.merged.json +1 -0
  32. package/src/assets/brand/you-fm/conf/locatags.merged.json +1 -0
  33. package/src/assets/fixtures/teaser/teaser_images.inc.json +19 -0
  34. package/src/assets/fixtures/teaser/teaser_ticker.inc.json +113 -1
  35. package/src/assets/fixtures/teaser/ticker_teaser_alternativ_100.json +54 -0
  36. package/src/assets/fixtures/teaser/ticker_teaser_alternativ_hero.json +42 -0
  37. package/src/assets/fixtures/teaser/ticker_teaser_alternativ_hero_audio.json +42 -0
  38. package/src/assets/fixtures/teaser/ticker_teaser_standard_100.json +8 -0
  39. package/src/assets/fixtures/teaser/ticker_teaser_standard_25.json +50 -0
  40. package/src/assets/fixtures/teaser/ticker_teaser_standard_33.json +37 -0
  41. package/src/assets/fixtures/teaser/ticker_teaser_standard_50.json +37 -0
  42. package/src/assets/fixtures/teaser/ticker_teaser_standard_hero.json +25 -0
  43. package/src/assets/fixtures/teaser/ticker_teaser_standard_hero_audio.json +25 -0
  44. package/src/assets/tailwind.css +15 -0
  45. package/src/stories/views/components/button/utilities/button_on_image_classes.hbs +6 -0
  46. package/src/stories/views/components/mediaplayer/media_player.hbs +2 -2
  47. package/src/stories/views/components/site_header/brand_navigation/brand_navigation_item.hbs +1 -1
  48. package/src/stories/views/components/site_header/section_navigation/section_navigation_item.hbs +2 -2
  49. package/src/stories/views/components/site_header/service_navigation/service_navigation_item.hbs +3 -3
  50. package/src/stories/views/components/teaser/components/teaser_av_consumption.hbs +5 -5
  51. package/src/stories/views/components/teaser/components/teaser_lead.hbs +1 -1
  52. package/src/stories/views/components/teaser/components/teaser_title_classes.hbs +14 -0
  53. package/src/stories/views/components/teaser/fixtures/ticker_teaser_alternativ_100.json +1 -0
  54. package/src/stories/views/components/teaser/fixtures/ticker_teaser_alternativ_hero copy.json +1 -0
  55. package/src/stories/views/components/teaser/fixtures/ticker_teaser_alternativ_hero.json +1 -0
  56. package/src/stories/views/components/teaser/fixtures/ticker_teaser_alternativ_hero_audio.json +1 -0
  57. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_100 copy.json +1 -0
  58. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_100.json +1 -1
  59. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_25.json +1 -0
  60. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_30.json +1 -0
  61. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_33.json +1 -0
  62. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_50 copy 2.json +1 -0
  63. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_50 copy.json +1 -0
  64. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_50.json +1 -0
  65. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_hero copy.json +1 -0
  66. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_hero.json +1 -0
  67. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_hero_audio copy.json +1 -0
  68. package/src/stories/views/components/teaser/fixtures/ticker_teaser_standard_hero_audio.json +1 -0
  69. package/src/stories/views/components/teaser/ticker/teaser_ticker_alternativ.hbs +16 -0
  70. package/src/stories/views/components/teaser/ticker/teaser_ticker_alternativ.mdx +20 -0
  71. package/src/stories/views/components/teaser/ticker/teaser_ticker_alternativ.stories.js +49 -0
  72. package/src/stories/views/components/teaser/ticker/teaser_ticker_body.hbs +26 -0
  73. package/src/stories/views/components/teaser/ticker/teaser_ticker_footer.hbs +12 -0
  74. package/src/stories/views/components/teaser/ticker/teaser_ticker_standard.hbs +16 -0
  75. package/src/stories/views/components/teaser/ticker/teaser_ticker_standard.mdx +21 -0
  76. package/src/stories/views/components/teaser/ticker/teaser_ticker_standard.stories.js +69 -0
  77. package/src/stories/views/components/teaser/ticker/teaser_ticker_timeline.hbs +3 -3
  78. package/src/stories/views/components/tracking/navigation_tracking.hbs +4 -1
  79. package/tailwind.config.js +5 -0
  80. package/dist/views/components/teaser/components/teaser_ticker_body.hbs +0 -39
  81. package/dist/views/components/teaser/ticker/teaser_ticker.hbs +0 -29
  82. package/src/stories/views/components/teaser/components/teaser_ticker_body.hbs +0 -39
  83. package/src/stories/views/components/teaser/ticker/teaser_ticker.hbs +0 -29
  84. package/src/stories/views/components/teaser/ticker/teaser_ticker.mdx +0 -10
  85. package/src/stories/views/components/teaser/ticker/teaser_ticker.stories.js +0 -34
@@ -0,0 +1,69 @@
1
+ import ticker from './teaser_ticker_standard.hbs'
2
+ import tickerTeaserHeroStandard from '../fixtures/ticker_teaser_standard_hero.json'
3
+ import tickerTeaserHeroStandardAudio from '../fixtures/ticker_teaser_standard_hero_audio.json'
4
+ import tickerTeaser100Standard from '../fixtures/ticker_teaser_standard_100.json'
5
+ import tickerTeaser50Standard from '../fixtures/ticker_teaser_standard_50.json'
6
+ import tickerTeaser33Standard from '../fixtures/ticker_teaser_standard_33.json'
7
+ import tickerTeaser25Standard from '../fixtures/ticker_teaser_standard_25.json'
8
+
9
+ const Template = (args, { globals: { customConditionalToolbar } }) => {
10
+ // You can either use a function to create DOM elements or use a plain html string!
11
+ // return `<div>${label}</div>`;
12
+ let brand =
13
+ undefined !== customConditionalToolbar ? customConditionalToolbar['brands'] : 'hessenschau'
14
+ return ticker({ brand, ...args })
15
+ }
16
+
17
+ export default {
18
+ title: 'Komponenten/Teaser/Ticker/Standard',
19
+
20
+ parameters: {
21
+ layout: '',
22
+ },
23
+
24
+ argTypes: {},
25
+
26
+ decorators: [
27
+ (Story) => {
28
+ return `<div class="grid grid-page"><div class="grid grid-cols-12 py-6 col-full gap-x-6 gap-y-6 sm:px-9.5 sm:col-main">
29
+ ${Story()}
30
+ </div></div>`
31
+ },
32
+ ],
33
+ }
34
+
35
+ export const TickerTeaserHero = {
36
+ render: Template.bind({}),
37
+ name: 'Standard Hero',
38
+ args: tickerTeaserHeroStandard.logicItem.includeModel,
39
+ }
40
+
41
+ export const TickerTeaserHeroAudio = {
42
+ render: Template.bind({}),
43
+ name: 'Standard Hero Media',
44
+ args: tickerTeaserHeroStandardAudio.logicItem.includeModel,
45
+ }
46
+
47
+ export const TickerTeaser100 = {
48
+ render: Template.bind({}),
49
+ name: 'Standard 100',
50
+ args: tickerTeaser100Standard.logicItem.includeModel,
51
+ }
52
+
53
+ export const TickerTeaser50 = {
54
+ render: Template.bind({}),
55
+ name: 'Standard 50',
56
+ args: tickerTeaser50Standard.logicItem.includeModel,
57
+ }
58
+
59
+ export const TickerTeaser33 = {
60
+ render: Template.bind({}),
61
+ name: 'Standard 33',
62
+ args: tickerTeaser33Standard.logicItem.includeModel,
63
+ }
64
+
65
+ export const TickerTeaser25 = {
66
+ render: Template.bind({}),
67
+ name: 'Standard 25',
68
+ args: tickerTeaser25Standard.logicItem.includeModel,
69
+ }
@@ -1,10 +1,10 @@
1
1
  {{~#with this.tickerItemResults ~}}
2
- <ul class="px-10">
2
+ <ul class="{{#if ../_css}} {{../_css}}{{/if}} {{if ../this.isStandardTeaser ' pl-10 pr-5' ' pl-10 md:pl-5 pr-5 md:pr-0'}}">
3
3
  {{~#each this~}}
4
4
  {{#if this.isTopnews}}
5
- <li class="relative h-auto pb-5">
5
+ <li class="relative h-auto [&:not(:last-child)]:pb-5">
6
6
  <div class="absolute h-full">
7
- <div class="relative w-[9px] h-[9px] rounded-full top-0.5 bg-orange-spicyCarrot -left-5"></div>
7
+ <div class="relative w-[9px] h-[9px] rounded-full top-0.5 bg-tickerTeaserTimelineScore -left-5"></div>
8
8
  {{#unless @last}}
9
9
  <div class="relative flex flex-col w-0 h-full -left-4">
10
10
  <div class="h-full my-2 border-l{{#if ../../_color}} border-{{../../_color}}{{else}} border-gray-400{{/if}}"></div>
@@ -1 +1,4 @@
1
- data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "1","clickLabel":"{{_clickLabelType}}{{#if _clickLabelPrefix1}}::{{_clickLabelPrefix1}}{{/if}}{{#if _clickLabelPrefix2}}::{{_clickLabelPrefix2}}{{/if}}-Link geklickt"}]}'
1
+ data-hr-click-tracking='{"settings": [{"type":"uxNavigation","secondLevelId": "1","clickLabel":"{{_clickLabelType}}{{#if
2
+ _clickLabelPrefix1
3
+ }}::{{_clickLabelPrefix1}}{{/if}}{{#if _clickLabelPrefix2}}::{{_clickLabelPrefix2}}{{/if}}-Link
4
+ geklickt"}]}'
@@ -322,6 +322,7 @@ module.exports = {
322
322
  'secondary': 'var(--color-secondary-ds)',
323
323
  'highlight-1': 'var(--color-highlight-1)',
324
324
  'highlight-2': 'var(--color-highlight-2)',
325
+ 'highlight-3': 'var(--color-highlight-3)',
325
326
  'top-topic-background': 'var(--color-top-topic-background)',
326
327
  'labelMedia': 'var(--color-label-media)',
327
328
  'labelEvent': 'var(--color-label-event)',
@@ -358,6 +359,10 @@ module.exports = {
358
359
  'event-calendar-primary': 'var(--color-eventcalendar-primary)',
359
360
  'event-calendar-secondary': 'var(--color-eventcalendar-secondary)',
360
361
  'byline': 'var(--color-byline)',
362
+ 'tickerTeaserHeadline': 'var(--color-ticker-teaser-headline,#000)',
363
+ 'tickerTeaserlabelByline': 'var(--color-ticker-teaser-label-byline)',
364
+ 'tickerTeaserTimelineScore': 'var(--color-ticker-teaser-timeline-score)',
365
+ 'tickerTeaserFooter': 'var(--color-ticker-teaser-footer)'
361
366
  },
362
367
  },
363
368
  },
@@ -1,39 +0,0 @@
1
- <div class="{{#if _outerCssClasses}} {{_outerCssClasses}}{{/if}}"
2
- {{~#if this.isMobile1to1}}:class="{'basis-full w-full md:pr-0 pr-10':avStart,'basis-3/5 w-3/5':!avStart}"{{/if}}>
3
-
4
-
5
- {{#> components/teaser/components/teaser_header _css=(if this.isMobile1to1 "" "px-5 sm:px-0 mx-4 mb-5")}}
6
- {{#>components/base/link _link=this.link _css="cy-teaser-link ds-teaser-focus hover:text-toplineColor" }}
7
- {{#with this.label}}
8
- {{#> components/label/label_group}}
9
- {{> components/label/label _type=this.type _text=(loca this.loca)}}
10
- {{> components/label/label_byline _css="ml-2"}}
11
- {{/components/label/label_group}}
12
- {{/with~}}
13
- {{#> components/teaser/components/teaser_headline _headlineTag=this.headlineTag _css="overflow-anywhere hyphens-auto"}}
14
- {{#if this.topline}}
15
- {{> components/teaser/components/teaser_topline _css="" _text=this.topline}}
16
- {{/if}}
17
- {{> components/teaser/components/teaser_title _css="!text-white" _text=this.title _size=this.realTeaserSize _teaserType=this.teaserType _isMobile1to1=this.isMobile1to1}}
18
- {{#if this.extendedTitle}}
19
- {{> components/teaser/components/teaser_subline _text=this.extendedTitle}}
20
- {{/if}}
21
- {{/components/teaser/components/teaser_headline}}
22
- {{/components/base/link}}
23
- {{/components/teaser/components/teaser_header}}
24
-
25
- <div class="flex flex-wrap justify-between mx-4 my-5 text-base text-white justify-items-center">
26
- {{#if this.hasByline}}
27
- <p class="self-center text-xs text-white font-headingSerif empty:hidden overflow-anywhere hyphens-auto">
28
- {{~#if this.profiles~}}
29
- <span>{{this.profiles}}</span>
30
- {{~/if~}}
31
- </p>
32
- {{/if}}
33
- <a class="underline ds-link" href="{{this.url}}">Zum Ticker</a>
34
- </div>
35
-
36
-
37
-
38
-
39
- </div>
@@ -1,29 +0,0 @@
1
- <article class="bg-blue-congress rounded-tl-hr rounded-br-hr items-start relative col-span-12 flex {{if this.displayTeaserBodyAsImageOverlay '' 'gap-y-3'}} gap-x-4
2
- {{~inline-switch this.teaserSize '["25","33","50"]' '[" md:col-span-3"," md:col-span-4"," md:col-span-6",""]'}}
3
- {{~#if this.isMobile1to1}} js-is1to1 px-5 sm:px-0 md:flex-col{{else}} flex-col{{/if~}}
4
- "
5
- x-data="{ avStart: false }"
6
- {{#if this.isMobile1to1}}
7
- :class="avStart ? 'flex-col' : 'flex-row'"
8
- {{/if}}
9
- >
10
- {{#if this.teaserImage}}
11
- <figure class="{{> components/teaser/utilities/teaser_image_cypress_hook_classes}}relative
12
- {{~#if this.isMobile1to1}} basis-2/5 w-2/5 ar-1-1 md:basis-full md:w-full md:ar-16-9{{else}} ar-16-9 w-full{{/if~}}"
13
- {{~#if this.isMobile1to1}} :class="{'ar-16-9 w-full basis-full': avStart,'ar-1-1 basis-2/5 w-2/5':!avStart}"{{/if}} >
14
- {{> components/teaser/components/teaser_lead _addClassImg="rounded-tl-hr" _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _teaserType=this.teaserType _aspectRatio=(if this.isMobile1to1 'ar-1-1 md:ar-16-9' (inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]')) }}
15
- </figure>
16
- {{#if this.displayTeaserBodyAsImageOverlay}}
17
- {{#decorator 'components/teaser/components/teaser_image_overlay' _noOverlayInMobileViewports=true _cssClasses=" relative md:absolute w-full bottom-0"}}
18
- <div class="flex flex-col items-center justify-center p-4 border-r border-gray-400 border-dashed basis-1/12">
19
- {{> components/event/instant_dates}}
20
- </div>
21
- {{> components/teaser/components/teaser_ticker_body _outerCssClasses=(if this.isMobile1to1 'basis-11/12 py-4 sm:px-4 basis-3/5 w-3/5 md:basis-full md:w-full' 'basis-11/12 py-4 sm:px-4')}}
22
- {{/decorator}}
23
- {{else}}
24
- {{> components/teaser/components/teaser_ticker_body _outerCssClasses=(if this.isMobile1to1 'basis-3/5 w-3/5 md:basis-full md:w-full')}}
25
- {{/if}}
26
- {{else}}
27
- {{> components/teaser/components/teaser_ticker_body _outerCssClasses="basis-full"}}
28
- {{/if}}
29
- </article>
@@ -1,39 +0,0 @@
1
- <div class="{{#if _outerCssClasses}} {{_outerCssClasses}}{{/if}}"
2
- {{~#if this.isMobile1to1}}:class="{'basis-full w-full md:pr-0 pr-10':avStart,'basis-3/5 w-3/5':!avStart}"{{/if}}>
3
-
4
-
5
- {{#> components/teaser/components/teaser_header _css=(if this.isMobile1to1 "" "px-5 sm:px-0 mx-4 mb-5")}}
6
- {{#>components/base/link _link=this.link _css="cy-teaser-link ds-teaser-focus hover:text-toplineColor" }}
7
- {{#with this.label}}
8
- {{#> components/label/label_group}}
9
- {{> components/label/label _type=this.type _text=(loca this.loca)}}
10
- {{> components/label/label_byline _css="ml-2"}}
11
- {{/components/label/label_group}}
12
- {{/with~}}
13
- {{#> components/teaser/components/teaser_headline _headlineTag=this.headlineTag _css="overflow-anywhere hyphens-auto"}}
14
- {{#if this.topline}}
15
- {{> components/teaser/components/teaser_topline _css="" _text=this.topline}}
16
- {{/if}}
17
- {{> components/teaser/components/teaser_title _css="!text-white" _text=this.title _size=this.realTeaserSize _teaserType=this.teaserType _isMobile1to1=this.isMobile1to1}}
18
- {{#if this.extendedTitle}}
19
- {{> components/teaser/components/teaser_subline _text=this.extendedTitle}}
20
- {{/if}}
21
- {{/components/teaser/components/teaser_headline}}
22
- {{/components/base/link}}
23
- {{/components/teaser/components/teaser_header}}
24
-
25
- <div class="flex flex-wrap justify-between mx-4 my-5 text-base text-white justify-items-center">
26
- {{#if this.hasByline}}
27
- <p class="self-center text-xs text-white font-headingSerif empty:hidden overflow-anywhere hyphens-auto">
28
- {{~#if this.profiles~}}
29
- <span>{{this.profiles}}</span>
30
- {{~/if~}}
31
- </p>
32
- {{/if}}
33
- <a class="underline ds-link" href="{{this.url}}">Zum Ticker</a>
34
- </div>
35
-
36
-
37
-
38
-
39
- </div>
@@ -1,29 +0,0 @@
1
- <article class="bg-blue-congress rounded-tl-hr rounded-br-hr items-start relative col-span-12 flex {{if this.displayTeaserBodyAsImageOverlay '' 'gap-y-3'}} gap-x-4
2
- {{~inline-switch this.teaserSize '["25","33","50"]' '[" md:col-span-3"," md:col-span-4"," md:col-span-6",""]'}}
3
- {{~#if this.isMobile1to1}} js-is1to1 px-5 sm:px-0 md:flex-col{{else}} flex-col{{/if~}}
4
- "
5
- x-data="{ avStart: false }"
6
- {{#if this.isMobile1to1}}
7
- :class="avStart ? 'flex-col' : 'flex-row'"
8
- {{/if}}
9
- >
10
- {{#if this.teaserImage}}
11
- <figure class="{{> components/teaser/utilities/teaser_image_cypress_hook_classes}}relative
12
- {{~#if this.isMobile1to1}} basis-2/5 w-2/5 ar-1-1 md:basis-full md:w-full md:ar-16-9{{else}} ar-16-9 w-full{{/if~}}"
13
- {{~#if this.isMobile1to1}} :class="{'ar-16-9 w-full basis-full': avStart,'ar-1-1 basis-2/5 w-2/5':!avStart}"{{/if}} >
14
- {{> components/teaser/components/teaser_lead _addClassImg="rounded-tl-hr" _isMobile1to1=this.isMobile1to1 _teaserSize=this.teaserSize _teaserType=this.teaserType _aspectRatio=(if this.isMobile1to1 'ar-1-1 md:ar-16-9' (inline-switch this.teaserSize '["25"]' '["ar-1-1 md:ar-16-9", "ar-16-9"]')) }}
15
- </figure>
16
- {{#if this.displayTeaserBodyAsImageOverlay}}
17
- {{#decorator 'components/teaser/components/teaser_image_overlay' _noOverlayInMobileViewports=true _cssClasses=" relative md:absolute w-full bottom-0"}}
18
- <div class="flex flex-col items-center justify-center p-4 border-r border-gray-400 border-dashed basis-1/12">
19
- {{> components/event/instant_dates}}
20
- </div>
21
- {{> components/teaser/components/teaser_ticker_body _outerCssClasses=(if this.isMobile1to1 'basis-11/12 py-4 sm:px-4 basis-3/5 w-3/5 md:basis-full md:w-full' 'basis-11/12 py-4 sm:px-4')}}
22
- {{/decorator}}
23
- {{else}}
24
- {{> components/teaser/components/teaser_ticker_body _outerCssClasses=(if this.isMobile1to1 'basis-3/5 w-3/5 md:basis-full md:w-full')}}
25
- {{/if}}
26
- {{else}}
27
- {{> components/teaser/components/teaser_ticker_body _outerCssClasses="basis-full"}}
28
- {{/if}}
29
- </article>
@@ -1,10 +0,0 @@
1
- import { ArgsTable, Meta, Story, Canvas } from '@storybook/blocks'
2
- import * as TeaserTickerStories from './teaser_ticker.stories'
3
-
4
- import ticker from './teaser_ticker.hbs'
5
-
6
- <Meta of={TeaserTickerStories} />
7
-
8
- <Canvas withToolbar>
9
- <Story of={TeaserTickerStories.TickerTeaser100} />
10
- </Canvas>
@@ -1,34 +0,0 @@
1
- import ticker from './teaser_ticker.hbs'
2
- import tickerTeaser100Standard from '../fixtures/ticker_teaser_standard_100.json'
3
-
4
- const Template = (args, { globals: { customConditionalToolbar } }) => {
5
- // You can either use a function to create DOM elements or use a plain html string!
6
- // return `<div>${label}</div>`;
7
- let brand =
8
- undefined !== customConditionalToolbar ? customConditionalToolbar['brands'] : 'hessenschau'
9
- return ticker({ brand, ...args })
10
- }
11
-
12
- export default {
13
- title: 'Komponenten/Teaser/Ticker',
14
-
15
- parameters: {
16
- layout: '',
17
- },
18
-
19
- argTypes: {},
20
-
21
- decorators: [
22
- (Story) => {
23
- return `<div class="grid grid-page"><div class="grid grid-cols-12 py-6 col-full gap-x-6 gap-y-6 sm:px-9.5 sm:col-main">
24
- ${Story()}
25
- </div></div>`
26
- },
27
- ],
28
- }
29
-
30
- export const TickerTeaser100 = {
31
- render: Template.bind({}),
32
- name: 'Standard 100',
33
- args: tickerTeaser100Standard.logicItem.includeModel,
34
- }