hr-design-system-handlebars 1.11.11 → 1.12.0

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 (126) hide show
  1. package/.storybook/main.js +9 -0
  2. package/.storybook/manager.js +18 -18
  3. package/.storybook/preview.js +9 -1
  4. package/CHANGELOG.md +24 -0
  5. package/README.md +13 -2
  6. package/build/handlebars/handlebars.js +1 -1
  7. package/build/scripts/build.js +1 -1
  8. package/config.js +1 -0
  9. package/dist/assets/index.css +223 -190
  10. package/dist/views/components/base/image/icon.hbs +1 -1
  11. package/dist/views/components/base/link.hbs +11 -1
  12. package/dist/views/components/base/link_open.hbs +12 -13
  13. package/dist/views/components/base/link_v2.hbs +14 -0
  14. package/dist/views/components/button/button.hbs +9 -24
  15. package/dist/views/components/button/components/button_icon.hbs +2 -1
  16. package/dist/views/components/button/components/button_label.hbs +1 -1
  17. package/dist/views/components/button/link_button.hbs +6 -0
  18. package/dist/views/components/button/utilities/button_base_classes.hbs +1 -0
  19. package/dist/views/components/button/utilities/button_dimension_classes.hbs +1 -0
  20. package/dist/views/components/button/utilities/button_on_image_classes.hbs +39 -0
  21. package/dist/views/components/button/utilities/button_variation_classes.hbs +14 -0
  22. package/dist/views/components/content_nav/content_nav_container.hbs +1 -1
  23. package/dist/views/components/content_nav/content_nav_item.hbs +1 -1
  24. package/dist/views/components/event/calendar/event_calendar_footer.hbs +1 -1
  25. package/dist/views/components/event/event_ticket_button.hbs +11 -9
  26. package/dist/views/components/grid/grid_group_highlight.hbs +1 -1
  27. package/dist/views/components/label/label_old.hbs +1 -1
  28. package/dist/views/components/mediaplayer/media_player.hbs +4 -22
  29. package/dist/views/components/mediaplayer/mediaplayer_button.hbs +9 -0
  30. package/dist/views/components/modal/modal.hbs +2 -2
  31. package/dist/views/components/page/page_pagination.hbs +1 -1
  32. package/dist/views/components/pagination/pagination.hbs +15 -14
  33. package/dist/views/components/pagination/pagination_current_page_invalid.hbs +1 -1
  34. package/dist/views/components/pagination/pagination_current_page_valid.hbs +2 -1
  35. package/dist/views/components/pagination/pagination_more_than_three_pages.hbs +3 -3
  36. package/dist/views/components/pagination/pagination_only_three_pages.hbs +7 -7
  37. package/dist/views/components/pagination/pagination_only_two_pages.hbs +2 -2
  38. package/dist/views/components/site_header/brand_navigation/brand_navigation.hbs +1 -1
  39. package/dist/views/components/teaser/cluster/teaser_cluster.hbs +4 -1
  40. package/dist/views/components/teaser/cluster/teaser_cluster_byline.hbs +1 -1
  41. package/dist/views/components/teaser/cluster/teaser_cluster_item.hbs +1 -1
  42. package/dist/views/components/teaser/components/teaser_av_consumption_close_button.hbs +6 -20
  43. package/dist/views/components/teaser/components/teaser_byline.hbs +1 -1
  44. package/dist/views/components/teaser/components/teaser_image.hbs +6 -14
  45. package/dist/views/components/teaser/podcast/podcast_subscribe_button.hbs +18 -15
  46. package/dist/views/components/teaser/podcast/podcast_title.hbs +2 -2
  47. package/dist/views/components/teaser/tabbox/group_tabbox.hbs +4 -1
  48. package/dist/views/components/teaser/tabbox/teaser_tabbox.hbs +10 -11
  49. package/dist/views/components/teaser/teaser_poster.hbs +5 -1
  50. package/gulpfile.js +9 -0
  51. package/package.json +4 -2
  52. package/src/assets/css/custom-components.css +37 -38
  53. package/src/assets/css/custom-utilities.css +2 -2
  54. package/src/assets/fixtures/event/calendar/event_calendar_months.inc.json +5 -1
  55. package/src/assets/fixtures/page/page_pagination.json +15 -14
  56. package/src/assets/tailwind.css +54 -22
  57. package/src/stories/conventions-and-datastructure.mdx +217 -4
  58. package/src/stories/views/components/base/image/icon.hbs +1 -1
  59. package/src/stories/views/components/base/link.hbs +11 -1
  60. package/src/stories/views/components/base/link_open.hbs +12 -13
  61. package/src/stories/views/components/base/link_v2.hbs +14 -0
  62. package/src/stories/views/components/button/button.hbs +9 -24
  63. package/src/stories/views/components/button/button.mdx +186 -0
  64. package/src/stories/views/components/button/button.stories.js +508 -0
  65. package/src/stories/views/components/button/components/button_icon.hbs +2 -1
  66. package/src/stories/views/components/button/components/button_icon.mdx +25 -0
  67. package/src/stories/views/components/button/components/button_icon.stories.js +44 -0
  68. package/src/stories/views/components/button/components/button_label.hbs +1 -1
  69. package/src/stories/views/components/button/components/button_label.mdx +25 -0
  70. package/src/stories/views/components/button/components/button_label.stories.js +33 -0
  71. package/src/stories/views/components/button/link_button.hbs +6 -0
  72. package/src/stories/views/components/button/link_button.mdx +137 -0
  73. package/src/stories/views/components/button/link_button.stories.js +420 -0
  74. package/src/stories/views/components/button/utilities/button_base_classes.hbs +1 -0
  75. package/src/stories/views/components/button/utilities/button_dimension_classes.hbs +1 -0
  76. package/src/stories/views/components/button/utilities/button_on_image_classes.hbs +39 -0
  77. package/src/stories/views/components/button/utilities/button_variation_classes.hbs +14 -0
  78. package/src/stories/views/components/content_nav/content_nav_container.hbs +1 -1
  79. package/src/stories/views/components/content_nav/content_nav_item.hbs +1 -1
  80. package/src/stories/views/components/event/calendar/event_calendar_footer.hbs +1 -1
  81. package/src/stories/views/components/event/event_ticket_button.hbs +11 -9
  82. package/src/stories/views/components/grid/grid_group_highlight.hbs +1 -1
  83. package/src/stories/views/components/label/label_old.hbs +1 -1
  84. package/src/stories/views/components/mediaplayer/media_player.hbs +4 -22
  85. package/src/stories/views/components/mediaplayer/mediaplayer_button.hbs +9 -0
  86. package/src/stories/views/components/mediaplayer/mediaplayer_button.mdx +82 -0
  87. package/src/stories/views/components/mediaplayer/mediaplayer_button.stories.js +178 -0
  88. package/src/stories/views/components/modal/modal.hbs +2 -2
  89. package/src/stories/views/components/page/fixtures/page_pagination.json +1 -1
  90. package/src/stories/views/components/page/page_pagination.hbs +1 -1
  91. package/src/stories/views/components/pagination/pagination.hbs +15 -14
  92. package/src/stories/views/components/pagination/pagination_current_page_invalid.hbs +1 -1
  93. package/src/stories/views/components/pagination/pagination_current_page_valid.hbs +2 -1
  94. package/src/stories/views/components/pagination/pagination_more_than_three_pages.hbs +3 -3
  95. package/src/stories/views/components/pagination/pagination_only_three_pages.hbs +7 -7
  96. package/src/stories/views/components/pagination/pagination_only_two_pages.hbs +2 -2
  97. package/src/stories/views/components/site_header/brand_navigation/brand_navigation.hbs +1 -1
  98. package/src/stories/views/components/teaser/cluster/teaser_cluster.hbs +4 -1
  99. package/src/stories/views/components/teaser/cluster/teaser_cluster_byline.hbs +1 -1
  100. package/src/stories/views/components/teaser/cluster/teaser_cluster_item.hbs +1 -1
  101. package/src/stories/views/components/teaser/components/teaser_av_consumption_close_button.hbs +6 -20
  102. package/src/stories/views/components/teaser/components/teaser_byline.hbs +1 -1
  103. package/src/stories/views/components/teaser/components/teaser_image.hbs +6 -14
  104. package/src/stories/views/components/teaser/fixtures/teaser_event_calendar_100_serif.json +1 -1
  105. package/src/stories/views/components/teaser/podcast/podcast_subscribe_button.hbs +18 -15
  106. package/src/stories/views/components/teaser/podcast/podcast_title.hbs +2 -2
  107. package/src/stories/views/components/teaser/tabbox/group_tabbox.hbs +4 -1
  108. package/src/stories/views/components/teaser/tabbox/teaser_tabbox.hbs +10 -11
  109. package/src/stories/views/components/teaser/teaser_poster.hbs +5 -1
  110. package/tailwind.config.js +8 -1
  111. package/dist/views/components/button/button_pseudo.hbs +0 -8
  112. package/dist/views/components/button/button_pseudo.inc.hbs +0 -18
  113. package/dist/views/components/button/button_pseudo_v2.hbs +0 -12
  114. package/dist/views/components/button/button_round.hbs +0 -23
  115. package/dist/views/components/button/button_round_classes.hbs +0 -46
  116. package/dist/views/components/button/button_transparent.hbs +0 -17
  117. package/dist/views/components/button/button_v2.hbs +0 -7
  118. package/dist/views/components/button/components/button_pseudo_link.hbs +0 -3
  119. package/src/stories/views/components/button/button_pseudo.hbs +0 -8
  120. package/src/stories/views/components/button/button_pseudo.inc.hbs +0 -18
  121. package/src/stories/views/components/button/button_pseudo_v2.hbs +0 -12
  122. package/src/stories/views/components/button/button_round.hbs +0 -23
  123. package/src/stories/views/components/button/button_round_classes.hbs +0 -46
  124. package/src/stories/views/components/button/button_transparent.hbs +0 -17
  125. package/src/stories/views/components/button/button_v2.hbs +0 -7
  126. package/src/stories/views/components/button/components/button_pseudo_link.hbs +0 -3
@@ -20,22 +20,25 @@
20
20
  >
21
21
 
22
22
  {{!-- Button --}}
23
- <button
24
- x-ref="button"
25
- x-on:click="toggle()"
26
- :aria-expanded="open"
27
- :aria-controls="$id('dropdown-button')"
28
- type="button"
23
+ {{#with this}}
24
+ {{#> components/button/button _size="md" _disableButtonPress=true}}
25
+ {{>components/button/components/button_label _label="Abonnieren" _css="flex-1 truncate mr-2" _type="button"}}
26
+ <span x-cloak x-show="open" class="w-3 h-3">
27
+ {{> components/base/image/icon _icon='arrow-up' _addClass="flex self-center w-3 h-3 fill-white" }}
28
+ </span>
29
+ <span x-show="!open" class="w-3 h-3">
30
+ {{> components/base/image/icon _icon='arrow-down' _addClass="flex self-center w-3 h-3 fill-white" }}
31
+ </span>
32
+ {{/components/button/button}}
33
+ {{#*inline "html_properties"}}
34
+ x-ref="button"
35
+ x-on:click="toggle()"
36
+ :aria-expanded="open"
37
+ :aria-controls="$id('dropdown-button')"
29
38
  :class="open ? 'drop-shadow' : ''"
30
- class="flex ds-button items-center gap-1.5 px-2 py-2 text-white shadow font-heading bg-podcast-text js-load"
31
- data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "podcastAbonnieren:ButtonClick"}]}'>Abonnieren
32
- <div x-cloak x-show="open" class="w-3 h-3">
33
- {{> components/base/image/icon _icon='arrow-up' _addClass="flex self-center w-3 h-3 fill-white" }}
34
- </div>
35
- <div x-show="!open" class="w-3 h-3">
36
- {{> components/base/image/icon _icon='arrow-down' _addClass="flex self-center w-3 h-3 fill-white" }}
37
- </div>
38
- </button>
39
+ data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "podcastAbonnieren:ButtonClick"}]}'
40
+ {{/inline}}
41
+ {{/with}}
39
42
 
40
43
  {{!-- Flyout --}}
41
44
  <div
@@ -1,12 +1,12 @@
1
1
  {{#if this.isSingleChannel}}
2
2
  {{#decorator 'components/base/link' _css="group ds-link font-title text-base mt-2.5 text-podcast-text"}}
3
- <span class="block 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"]' ~}}">
4
4
  {{~_title~}}
5
5
  </span>
6
6
  {{/decorator}}
7
7
  {{else}}
8
8
  <div class="font-title text-base mt-2.5 text-podcast-text">
9
- <span class="block mt-0.5 {{#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"]' ~}}">
9
+ <span class="mt-0.5 {{#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"]' ~}}">
10
10
  {{~_title~}}
11
11
  </span>
12
12
  </div>
@@ -7,7 +7,10 @@
7
7
  </div>
8
8
  {{~#if this.link~}}
9
9
  <div class="flex justify-center min-w-0 pt-8 mx-5">
10
- {{~> components/button/button_pseudo _type="hollow" _addClass="h-4 w-4 ml-2 fill-current" _showIcon="true" _icon="arrow-right" _withLink="true" _buttonText=(loca "group_tabbed_more" this.title) _buttonCss="truncate" _linkCss="flex min-w-0 ds-link" ~}}
10
+ {{~#> components/button/link_button _variant="secondary" _size="lg" _css="overflow-hidden"}}
11
+ {{>components/button/components/button_label _label=(loca "group_tabbed_more" this.title) _css="flex-1 truncate mr-2"}}
12
+ {{> components/button/components/button_icon _icon="arrow-right" _iconmap="icons" _css=""}}
13
+ {{/components/button/link_button}}
11
14
  </div>
12
15
  {{~/if~}}
13
16
  </section>
@@ -1,20 +1,19 @@
1
1
  </div>
2
2
  <div
3
- x-data="{ tab: '{{this.tabbedGroup.[0].title}}' }"
3
+ x-data="{ tab: '{{this.tabbedGroup.[0].title}}', test:true }"
4
4
  class="grid grid-cols-12 pt-6 mx-0 mb-8 mt-14 col-full md:pt-7 bg-highlight-1 md:rounded-tl-hr md:rounded-br-hr md:col-main gap-x-6 gap-y-6"
5
5
  >
6
6
  <section class="px-0 col-span-full sm:px-8 md:px-0">
7
- <div class="flex flex-wrap justify-center mb-7 mx-1.5" role="tablist">
7
+ <div class="flex flex-wrap gap-y-3 justify-center mb-7 mx-1.5" role="tablist">
8
8
  {{~#each this.tabbedGroup~}}
9
- <button :class="tab === '{{this.title}}' ? 'text-button-inverted bg-button border-button' : 'bg-button-inverted text-button-hollow border-button-inverted hover:border-button-hollow'"
10
- x-on:click.prevent="tab = '{{this.title}}'; "
11
- class="border ds-button text-base font-heading py-px px-2 m-1.5 js-load"
12
- type="button"
13
- role="tab"
14
- data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "{{this.title}}:TabboxClick"}]}'
15
- >
16
- {{this.title}}
17
- </button>
9
+ {{#> components/button/button _size="sm" _css="mx-1.5" _variant="secondary" _type="button" }}
10
+ {{> components/button/components/button_label _label=this.title}}
11
+ {{/components/button/button }}
12
+ {{#*inline "html_properties"~}}
13
+ :class='{"{{> components/button/utilities/button_variation_classes _variant='primary' _onBackground=false}} bg-button-primary--dark":tab ==="{{this.title}}",
14
+ "{{~> components/button/utilities/button_variation_classes _variant='secondary' _onBackground=false~}}":tab !="{{this.title}}"}'
15
+ x-on:click.prevent="tab = '{{this.title}}'; " role="tab" data-hr-click-tracking='{"settings": [{"type": "uxAction", "clickLabel": "{{this.title}}:TabboxClick"}]}'
16
+ {{~/inline}}
18
17
  {{~/each~}}
19
18
  </div>
20
19
  {{~> components/teaser/teaser_logic/teaser_logic ~}}
@@ -22,6 +22,10 @@
22
22
  {{/components/teaser/components/teaser_headline}}
23
23
  {{/components/teaser/components/teaser_header}}
24
24
  {{/decorator}}
25
- {{~> components/button/button_pseudo _type="hollow-white" _withLink=true _isLinkAriaHidden=true _linkCss="ds-cta absolute flex w-full h-full items-end justify-center" _buttonCss=(inline-switch this.realTeaserSize '["33","50"]' '["z-20 mb-7","z-20 mb-7 md:mb-16"]') _buttonText=this.link.readMoreText.readMoreLong ~}}
25
+ <span class="absolute flex w-full h-full items-end justify-center ds-cta">
26
+ {{#> components/button/link_button _size="lg" _css=(inline-switch this.realTeaserSize '["33","50"]' '["z-20 mb-7","z-20 mb-7 md:mb-16"]') _variant="secondary" _isAriaHidden=true _onBackground=true}}
27
+ {{> components/button/components/button_label _css="" _label=this.link.readMoreText.readMoreLong}}
28
+ {{/components/button/link_button}}
29
+ </span>
26
30
  </div>
27
31
  </article>
package/gulpfile.js CHANGED
@@ -1,5 +1,6 @@
1
1
  const { src, dest, series, parallel, watch } = require('gulp')
2
2
  const debug = require('gulp-debug')
3
+ const replace = require('gulp-replace')
3
4
  const fs = require('fs')
4
5
  const mergeStream = require('merge-stream')
5
6
  const glob = require('glob')
@@ -316,10 +317,17 @@ function watchFiles() {
316
317
 
317
318
  async function convertPartialsToJs() {
318
319
  src(`${options.paths.assets.views}/**/*.hbs`)
320
+ .pipe(replace(/(_[0-9a-zA-Z_]+)-adjust_context/g, '$1'))
319
321
  .pipe(htmlToJs({ concat: 'handlebar-partials.js' }))
320
322
  .pipe(dest(options.paths.dist.handlebarPartials))
321
323
  }
322
324
 
325
+ async function preparePartialsForDelivery() {
326
+ src(`${options.paths.assets.components}/**/*.hbs`)
327
+ .pipe(replace(/(_[0-9a-zA-Z_]+)-adjust_context/g, '../../$1'))
328
+ .pipe(dest(options.paths.dist.dist_components))
329
+ }
330
+
323
331
  function createModernizr() {
324
332
  return src(`${options.paths.assets.views}/**/*.js`)
325
333
  .pipe(modernizr(require('./build/modernizr/config.json')))
@@ -371,3 +379,4 @@ exports.parseJson = series(parseJson, watchForChanges)
371
379
  exports.createModernizrConfig = series(createModernizr, addCustomModernizrTests)
372
380
  exports.mergeLocatags = mergeLocatags
373
381
  exports.convertPartialsToJs = convertPartialsToJs
382
+ exports.preparePartialsForDelivery = preparePartialsForDelivery
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.11.11",
9
+ "version": "1.12.0",
10
10
  "scripts": {
11
11
  "test": "echo \"Error: no test specified\" && exit 1",
12
12
  "storybook": "storybook dev -p 6006 public",
@@ -15,7 +15,7 @@
15
15
  "build-storybook-docs": "storybook build --docs",
16
16
  "build-storybook-docs-with-tailwind": "npm run build:tailwind && npm run build-storybook-docs",
17
17
  "build:tailwind": "postcss src/assets/tailwind.css -o dist/assets/index.css",
18
- "build": "npm run clean && npm run build:tailwind && node ./build/scripts/build.js",
18
+ "build": "yarn clean && yarn build:tailwind && node ./build/scripts/build.js && yarn preparePartialsForDelivery",
19
19
  "chromatic": "npx chromatic --project-token 84f1628f224a",
20
20
  "clean": "rimraf dist",
21
21
  "release": "npx auto shipit --base-branch=main",
@@ -23,6 +23,7 @@
23
23
  "optimize-svgs": "gulp optimizeSvgs",
24
24
  "parseJson": "gulp parseJson",
25
25
  "partialsToJs": "gulp convertPartialsToJs",
26
+ "preparePartialsForDelivery": "gulp preparePartialsForDelivery",
26
27
  "create-modernizr-config": "gulp createModernizrConfig",
27
28
  "merge-locatags": "gulp mergeLocatags"
28
29
  },
@@ -71,6 +72,7 @@
71
72
  "gulp-merge-json": "^2.1.2",
72
73
  "gulp-modernizr": "^4.0.3",
73
74
  "gulp-rename": "^2.0.0",
75
+ "gulp-replace": "^1.1.4",
74
76
  "gulp-svgmin": "^4.0.1",
75
77
  "gulp-svgstore": "^8.0.0",
76
78
  "handlebars": "^4.7.6",
@@ -42,12 +42,12 @@
42
42
  .headline-barrier:before,
43
43
  .headline-barrier:after {
44
44
  border-bottom: 1px solid;
45
- content: '';
46
- @apply pt-3.5 md:pt-5
45
+ content: '';
46
+ @apply pt-3.5 md:pt-5;
47
47
  }
48
48
  .justifyLine.headline-barrier:before,
49
49
  .justifyLine.headline-barrier:after {
50
- @apply pt-3.5
50
+ @apply pt-3.5;
51
51
  }
52
52
 
53
53
  /* PODCAST SEEK SLIDER*/
@@ -77,12 +77,11 @@
77
77
  /* CONTENT NAV ACCENTED GROUP MIXED*/
78
78
 
79
79
  .group-accented .autoSuggest .mixed-input {
80
- border-color: transparent!important;
80
+ border-color: transparent !important;
81
81
  height: 32px;
82
82
  border-bottom: none;
83
83
  }
84
84
 
85
-
86
85
  .ds-focus {
87
86
  @apply z-20;
88
87
  @apply focus:shadow-teaser-focus focus:shadow-focus-state focus:outline-none;
@@ -111,27 +110,23 @@
111
110
  }
112
111
 
113
112
  .ds-link {
114
- @apply block focus:shadow-teaser-focus focus:shadow-focus-state focus:outline-none;
113
+ @apply focus:shadow-teaser-focus focus:shadow-focus-state focus:outline-none;
115
114
  }
116
-
115
+
117
116
  .ds-link:focus:not(:focus-visible) {
118
117
  @apply shadow-none;
119
118
  }
120
119
 
121
- .ds-link-clusterTeaser {
122
- @apply block text-grey-scorpion focus:shadow-teaser-focus focus:shadow-focus-state focus:outline-none;
123
- }
124
-
125
- .ds-link-clusterTeaser:focus:not(:focus-visible) {
126
- @apply shadow-none;
120
+ .ds-link.ds-teaser-focus {
121
+ @apply focus:shadow-none;
127
122
  }
128
123
 
129
- .ds-link-inset {
130
- @apply block focus:ring-inset focus:ring-4 focus:outline-none focus:ring-focus-state ;
124
+ .ds-link-inset {
125
+ @apply focus:ring-inset focus:ring-4 focus:outline-none focus:ring-focus-state;
131
126
  }
132
127
 
133
128
  .ds-link-inset:focus:not(:focus-visible) {
134
- @apply ring-0;
129
+ @apply ring-0;
135
130
  }
136
131
 
137
132
  .ds-teaser-focus {
@@ -139,23 +134,23 @@
139
134
  }
140
135
 
141
136
  .ds-teaser-focus:focus::before,
142
- .ds-teaser-focus:focus + .ds-cta span {
137
+ .ds-teaser-focus:focus + .ds-cta > * {
143
138
  @apply shadow-teaser-focus;
144
139
  @apply shadow-focus-state;
145
140
  }
146
141
 
147
- .ds-teaser-focus:focus + .ds-cta span {
142
+ .ds-teaser-focus:focus + .ds-cta > * {
148
143
  @apply bg-button-inverted;
149
144
  @apply text-button-hollow;
150
145
  @apply border-none;
151
146
  }
152
147
 
153
148
  .ds-teaser-focus:focus:not(:focus-visible)::before,
154
- .ds-teaser-focus:focus:not(:focus-visible) + .ds-cta span {
149
+ .ds-teaser-focus:focus:not(:focus-visible) + .ds-cta > * {
155
150
  @apply shadow-none;
156
151
  }
157
152
 
158
- .ds-teaser-focus:focus:not(:focus-visible) + .ds-cta span {
153
+ .ds-teaser-focus:focus:not(:focus-visible) + .ds-cta > * {
159
154
  @apply bg-transparent;
160
155
  @apply text-button-inverted;
161
156
  @apply border-solid;
@@ -164,10 +159,10 @@
164
159
  .ds-teaser-focus:focus {
165
160
  @apply outline-none;
166
161
  }
167
- /* ----------------Content NAV------------------ */
168
- /* ---------------- NAV ITEMS ------------------ */
162
+ /* ----------------Content NAV------------------ */
163
+ /* ---------------- NAV ITEMS ------------------ */
169
164
  .content-nav-item {
170
- @apply h-10;
165
+ @apply h-10;
171
166
  @apply text-base;
172
167
  @apply font-copy;
173
168
  @apply list-none;
@@ -180,7 +175,7 @@
180
175
  @apply hover:text-white;
181
176
  @apply hover:underline;
182
177
  }
183
- /* ----------------LIST - NAV ITEMS ------------------ */
178
+ /* ----------------LIST - NAV ITEMS ------------------ */
184
179
  .content-nav-item.content-nav-item-list {
185
180
  @apply w-full;
186
181
  @apply border;
@@ -191,13 +186,13 @@
191
186
  @apply w-full;
192
187
  @apply md:w-fit;
193
188
  }
194
- /* ----------------FLOW - NAV ITEMS ------------------ */
189
+ /* ----------------FLOW - NAV ITEMS ------------------ */
195
190
  .content-nav-item.content-nav-item-flow {
196
191
  @apply w-fit;
197
192
  @apply border;
198
193
  @apply hover:no-underline;
199
194
  }
200
- /* ----------------MIXED - NAV ITEMS ------------------ */
195
+ /* ----------------MIXED - NAV ITEMS ------------------ */
201
196
  .teaser-size-100 .content-nav-item.content-nav-item-mixed,
202
197
  .teaser-size-66 .content-nav-item.content-nav-item-mixed {
203
198
  @apply md:w-fit;
@@ -210,7 +205,6 @@
210
205
  @apply md:hover:text-white;
211
206
  @apply md:hover:!bg-content-nav;
212
207
  @apply md:hover:!fill-white;
213
-
214
208
  }
215
209
  .content-nav-item.content-nav-item-mixed {
216
210
  @apply w-full;
@@ -226,7 +220,7 @@
226
220
  @apply hover:!bg-white;
227
221
  @apply hover:!fill-content-nav;
228
222
  }
229
- /* ----------------DROPDOWN - NAV ITEMS ------------------ */
223
+ /* ----------------DROPDOWN - NAV ITEMS ------------------ */
230
224
  .content-nav-item.content-nav-item-dropdown {
231
225
  @apply w-full;
232
226
  @apply border-gray-400;
@@ -236,21 +230,20 @@
236
230
  @apply hover:text-content-nav;
237
231
  @apply hover:!bg-white;
238
232
  @apply hover:!fill-content-nav;
239
-
240
233
  }
241
- /* ---------------- NAV DROPDOWN - DROPDOWN ------------------ */
242
- .content-nav-dropdown_dropdown.-isDropdown {
234
+ /* ---------------- NAV DROPDOWN - DROPDOWN ------------------ */
235
+ .content-nav-dropdown_dropdown.-isDropdown {
243
236
  @apply flex;
244
237
  }
245
- .content-nav-dropdown_dropdown.-isMixed {
238
+ .content-nav-dropdown_dropdown.-isMixed {
246
239
  @apply flex;
247
240
  }
248
241
  .teaser-size-100 .content-nav-dropdown_dropdown.-isMixed,
249
- .teaser-size-66 .content-nav-dropdown_dropdown.-isMixed {
242
+ .teaser-size-66 .content-nav-dropdown_dropdown.-isMixed {
250
243
  @apply flex;
251
244
  @apply md:hidden;
252
245
  }
253
- /* ---------------- NAV DROPDOWN - CONTENT ------------------ */
246
+ /* ---------------- NAV DROPDOWN - CONTENT ------------------ */
254
247
  .content-nav-dropdown_content.-isOpen {
255
248
  @apply z-9999;
256
249
  @apply shadow-lg;
@@ -260,12 +253,12 @@
260
253
  @apply z-10;
261
254
  @apply hidden;
262
255
  }
263
- /* ---------------- NAV DROPDOWN - CONTENT - MIXED------------------ */
264
- .content-nav-dropdown_content.-isMixed {
256
+ /* ---------------- NAV DROPDOWN - CONTENT - MIXED------------------ */
257
+ .content-nav-dropdown_content.-isMixed {
265
258
  @apply hidden;
266
259
  }
267
260
  .teaser-size-100 .content-nav-dropdown_content.-isMixed,
268
- .teaser-size-66 .content-nav-dropdown_content.-isMixed {
261
+ .teaser-size-66 .content-nav-dropdown_content.-isMixed {
269
262
  @apply md:block;
270
263
  }
271
264
  .content-nav-dropdown_content.-isMixed.-isOpen {
@@ -281,4 +274,10 @@
281
274
  @apply hidden;
282
275
  @apply md:block;
283
276
  }
284
- }
277
+ }
278
+
279
+ /* ---------------------------- BUTTON ------------------------------ */
280
+ .ds-button-label + .ds-button-icon,
281
+ .ds-button-icon + .ds-button-label {
282
+ @apply ml-2;
283
+ }
@@ -118,10 +118,10 @@
118
118
  }
119
119
 
120
120
  .link-focus-inset {
121
- @apply focus-visible:outline-none focus-visible:ring focus-visible:ring-inset focus-visible:ring-grey-scorpion/50;
121
+ @apply focus-visible:outline-none focus-visible:ring focus-visible:ring-inset focus-visible:ring-gray-scorpion/50;
122
122
  }
123
123
  .link-focus {
124
- @apply focus-visible:outline-none focus-visible:ring focus-visible:ring-grey-scorpion/50;
124
+ @apply focus-visible:outline-none focus-visible:ring focus-visible:ring-gray-scorpion/50;
125
125
  }
126
126
  .link-focus-inset-white {
127
127
  @apply focus-visible:outline-none focus-visible:ring focus-visible:ring-inset focus-visible:ring-white/50;
@@ -389,7 +389,11 @@
389
389
  "url": "https://hr.de",
390
390
  "isTargetBlank": true,
391
391
  "webviewUrl": "",
392
- "readMoreText": ""
392
+ "readMoreText": "",
393
+ "cmsDocument": {
394
+ "title": "Tickets Finale Landeswettbewerb Jugend jazzt",
395
+ "sophoraId": "finale_landeswettbewerb_jugend_jazzt_100"
396
+ }
393
397
  }
394
398
  },
395
399
  "concertInfo": {
@@ -1,19 +1,20 @@
1
- {
2
- "isMoreThanOnePage": true,
3
- "isOnlyThreePages": false,
4
- "isOnlyTwoPages": false,
5
- "isFirstPage": true,
6
- "isSecondPage": false,
7
- "isNotLastPage": false,
1
+ {
2
+ "moreThanOnePage": true,
3
+ "onlyThreePages": false,
4
+ "onlyTwoPages": false,
5
+ "firstPage": true,
6
+ "secondPage": false,
7
+ "notLastButOnePage": false,
8
+ "notLastPage": false,
8
9
  "firstPageItemUrl":"page1",
9
10
  "nextItemUrl":"page2",
10
11
  "previousItemUrl":"empty",
11
12
  "lastPageItemUrl":"page4",
12
13
  "lastButOnePageItemUrl":"page1",
13
14
  "totalPages": 4,
14
- "currentPage":"page1",
15
+ "currentPage": 2,
15
16
  "currentPageIndex": 0,
16
- "isCurrentPageValid": true,
17
+ "currentPageValid": true,
17
18
  "pageEntries":[
18
19
  {
19
20
  "teaser_alternativ_100_serif":{
@@ -34,7 +35,7 @@
34
35
  "teaser_alternativ_100_serif_video":{
35
36
  "@->jsoninclude": "teaser/teaser_alternative_100_serif_video.json"
36
37
  }
37
- },
38
+ },
38
39
  {
39
40
  "teaser_alternativ_100_serif_download":{
40
41
  "@->jsoninclude": "teaser/teaser_alternative_100_serif_download.json"
@@ -54,7 +55,7 @@
54
55
  "teaser_alternativ_100_serif_download":{
55
56
  "@->jsoninclude": "teaser/teaser_alternative_100_serif_download.json"
56
57
  }
57
- },
58
+ },
58
59
  {
59
60
  "teaser_alternativ_100_serif_audio":{
60
61
  "@->jsoninclude": "teaser/teaser_alternative_100_serif_audio.json"
@@ -74,7 +75,7 @@
74
75
  "teaser_alternativ_100_serif_audio":{
75
76
  "@->jsoninclude": "teaser/teaser_alternative_100_serif_audio.json"
76
77
  }
77
- },
78
+ },
78
79
  {
79
80
  "teaser_alternativ_100_serif_video":{
80
81
  "@->jsoninclude": "teaser/teaser_alternative_100_serif_video.json"
@@ -94,7 +95,7 @@
94
95
  "teaser_alternativ_100_serif_video":{
95
96
  "@->jsoninclude": "teaser/teaser_alternative_100_serif_video.json"
96
97
  }
97
- }
98
+ }
98
99
 
99
- ]
100
+ ]
100
101
  }