hr-design-system-handlebars 0.43.0 → 0.44.1

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 (127) hide show
  1. package/.storybook/main.js +1 -0
  2. package/.storybook/preview.js +3 -0
  3. package/CHANGELOG.md +41 -0
  4. package/{scripts → build/scripts}/build.js +2 -2
  5. package/build/scripts/jsoninclude.js +140 -0
  6. package/config.js +11 -0
  7. package/dist/assets/index.css +107 -72
  8. package/dist/views/components/base/image/{responsiveImage.hbs → responsive_image.hbs} +0 -0
  9. package/dist/views/components/base/loadSSI.hbs +1 -1
  10. package/dist/views/components/base/load_dynamic.hbs +11 -0
  11. package/dist/views/components/{Grid/Grid.hbs → grid/grid.hbs} +64 -64
  12. package/dist/views/components/{Grid/GridGroup.hbs → grid/grid_group.hbs} +0 -0
  13. package/dist/views/components/{Grid/GridGroupFull.hbs → grid/grid_group_full.hbs} +0 -0
  14. package/dist/views/components/{Grid/GridGroupTabbed.hbs → grid/grid_group_tabbed.hbs} +0 -0
  15. package/dist/views/components/{Grid/GridItem.hbs → grid/grid_item.hbs} +0 -0
  16. package/dist/views/components/label/label.hbs +12 -0
  17. package/dist/views/components/{Page/Page.hbs → page/page.hbs} +14 -14
  18. package/dist/views/components/{Teaser/components/Byline.hbs → teaser/components/teaser_byline.hbs} +1 -1
  19. package/dist/views/components/{Teaser/components/Comments.hbs → teaser/components/teaser_comments.hbs} +0 -0
  20. package/dist/views/components/{Teaser/components/Teaser-Heading.hbs → teaser/components/teaser_heading.hbs} +4 -4
  21. package/dist/views/components/{Teaser/components/teaserText.hbs → teaser/components/teaser_text.hbs} +0 -0
  22. package/dist/views/components/{Teaser/components/Title.hbs → teaser/components/teaser_title.hbs} +0 -0
  23. package/dist/views/components/teaser/components/teaser_topline.hbs +6 -0
  24. package/dist/views/components/{Teaser → teaser}/group_teaser/group_teaser.hbs +3 -3
  25. package/dist/views/components/{Teaser → teaser}/jsonHelper.js +0 -0
  26. package/dist/views/components/{Teaser → teaser}/labelHelper.js +0 -0
  27. package/dist/views/components/{Teaser/Teaser-alternativ.hbs → teaser/teaser_alternativ.hbs} +4 -4
  28. package/dist/views/components/{Teaser → teaser}/teaser_logic/teaser_logic.hbs +2 -2
  29. package/dist/views/components/{Teaser → teaser}/teaser_logic/teaser_logic.ssi.hbs +1 -1
  30. package/dist/views/components/{Teaser/Teaser-standard.hbs → teaser/teaser_standard.hbs} +4 -4
  31. package/gulpfile.js +36 -2
  32. package/package.json +9 -4
  33. package/src/{stories/views/components/Teaser/data/teaser_commentLink.json → assets/fixtures/teaser/teaser_comment.json} +0 -0
  34. package/src/assets/fixtures/teaser/teaser_labels.inc.json +18 -0
  35. package/src/assets/fixtures/teaser/teaser_standard_lg_serif.json +10 -0
  36. package/src/assets/fixtures/teaser/teaser_standard_md_serif.json +10 -0
  37. package/src/assets/fixtures/teaser/teaser_standard_sm_serif.json +10 -0
  38. package/src/assets/fixtures/teaser/teaser_standard_xl_serif.json +10 -0
  39. package/src/assets/fixtures/teaser/teaser_standard_xxl_serif.json +4 -0
  40. package/src/assets/fixtures/teaser/teaser_standard_xxl_serif_comments.json +4 -0
  41. package/src/assets/fixtures/teaser/teaser_standard_xxl_serif_label.json +28 -0
  42. package/src/assets/fixtures/teaser/teasers.inc.json +254 -0
  43. package/src/stories/Colors.stories.mdx +28 -28
  44. package/src/stories/Fixtures.stories.mdx +417 -0
  45. package/src/stories/Introduction.stories.mdx +85 -93
  46. package/src/stories/SvgOptimization.stories.mdx +1 -1
  47. package/src/stories/Typography.stories.mdx +1 -1
  48. package/src/stories/conventions-and-datastructure.stories.mdx +241 -0
  49. package/src/stories/views/components/base/image/{responsiveImage.hbs → responsive_image.hbs} +0 -0
  50. package/src/stories/views/components/base/loadSSI.hbs +1 -1
  51. package/src/stories/views/components/base/load_dynamic.hbs +11 -0
  52. package/src/stories/views/components/{Grid/Grid.hbs → grid/grid.hbs} +64 -64
  53. package/src/stories/views/components/{Grid/Grid.stories.mdx → grid/grid.stories.mdx} +2 -2
  54. package/src/stories/views/components/{Grid/GridGroup.hbs → grid/grid_group.hbs} +0 -0
  55. package/src/stories/views/components/{Grid/GridGroupFull.hbs → grid/grid_group_full.hbs} +0 -0
  56. package/src/stories/views/components/{Grid/GridGroupTabbed.hbs → grid/grid_group_tabbed.hbs} +0 -0
  57. package/src/stories/views/components/{Grid/GridItem.hbs → grid/grid_item.hbs} +0 -0
  58. package/src/stories/views/components/label/label.hbs +12 -0
  59. package/src/stories/views/components/{Label.stories.mdx → label/label.stories.mdx} +2 -2
  60. package/src/stories/views/components/{Page/Page.hbs → page/page.hbs} +14 -14
  61. package/src/stories/views/components/{Page/Page.stories.mdx → page/page.stories.mdx} +2 -2
  62. package/src/stories/views/components/{Teaser/components/Byline.hbs → teaser/components/teaser_byline.hbs} +1 -1
  63. package/src/stories/views/components/{Teaser/components/Byline.stories.mdx → teaser/components/teaser_byline.stories.mdx} +1 -1
  64. package/src/stories/views/components/{Teaser/components/Comments.hbs → teaser/components/teaser_comments.hbs} +0 -0
  65. package/src/stories/views/components/{Teaser/components/Teaser-Heading.hbs → teaser/components/teaser_heading.hbs} +4 -4
  66. package/src/stories/views/components/{Teaser/components/Teaser-Heading.stories.mdx → teaser/components/teaser_heading.stories.mdx} +2 -2
  67. package/src/stories/views/components/{Teaser/components/teaserText.hbs → teaser/components/teaser_text.hbs} +0 -0
  68. package/src/stories/views/components/{Teaser/components/teaserText.stories.mdx → teaser/components/teaser_text.stories.mdx} +2 -2
  69. package/src/stories/views/components/{Teaser/components/Title.hbs → teaser/components/teaser_title.hbs} +0 -0
  70. package/src/stories/views/components/{Teaser/components/Title.stories.mdx → teaser/components/teaser_title.stories.mdx} +1 -1
  71. package/src/stories/views/components/teaser/components/teaser_topline.hbs +6 -0
  72. package/src/stories/views/components/{Teaser/components/Topline.stories.mdx → teaser/components/teaser_topline.stories.mdx} +1 -1
  73. package/src/stories/views/components/{Teaser → teaser}/data/16_7_teaserImage.json +0 -0
  74. package/src/stories/views/components/{Teaser → teaser}/data/16_9_teaserImage.json +0 -0
  75. package/src/stories/views/components/{Teaser → teaser}/data/teaser_alternativ_lg_serif.json +0 -0
  76. package/src/stories/views/components/{Teaser → teaser}/data/teaser_alternativ_md_serif.json +0 -0
  77. package/src/stories/views/components/{Teaser → teaser}/data/teaser_alternativ_sm_serif.json +0 -0
  78. package/src/stories/views/components/{Teaser → teaser}/data/teaser_alternativ_xl_serif.json +0 -0
  79. package/src/stories/views/components/{Teaser → teaser}/data/teaser_alternativ_xxl_serif.json +0 -0
  80. package/src/stories/views/components/{Teaser → teaser}/data/teaser_article.json +0 -0
  81. package/src/stories/views/components/teaser/data/teaser_commentLink.json +16 -0
  82. package/src/stories/views/components/{Teaser → teaser}/data/teaser_full.json +14 -39
  83. package/src/stories/views/components/{Teaser → teaser}/data/teaser_standard_lg_serif.json +0 -0
  84. package/src/stories/views/components/{Teaser → teaser}/data/teaser_standard_md_serif.json +0 -0
  85. package/src/stories/views/components/{Teaser → teaser}/data/teaser_standard_sm_serif.json +0 -0
  86. package/src/stories/views/components/{Teaser → teaser}/data/teaser_standard_xl_serif.json +0 -0
  87. package/src/stories/views/components/{Teaser → teaser}/data/teaser_standard_xxl_serif.json +0 -0
  88. package/src/stories/views/components/teaser/data/teasers.json +324 -0
  89. package/src/stories/views/components/teaser/data/ticker_label.json +22 -0
  90. package/src/stories/views/components/teaser/fixtures/teaser-standard-lg-serif.json +1 -0
  91. package/src/stories/views/components/teaser/fixtures/teaser-standard-md-serif.json +1 -0
  92. package/src/stories/views/components/teaser/fixtures/teaser-standard-sm-serif.json +1 -0
  93. package/src/stories/views/components/teaser/fixtures/teaser-standard-xl-serif.json +1 -0
  94. package/src/stories/views/components/teaser/fixtures/teaser-standard-xxl-serif.json +1 -0
  95. package/src/stories/views/components/teaser/fixtures/teaser_comment.json +1 -0
  96. package/src/stories/views/components/teaser/fixtures/teaser_commentLink.json +1 -0
  97. package/src/stories/views/components/teaser/fixtures/teaser_standard_lg_serif.json +1 -0
  98. package/src/stories/views/components/teaser/fixtures/teaser_standard_md_serif.json +1 -0
  99. package/src/stories/views/components/teaser/fixtures/teaser_standard_sm_serif.json +1 -0
  100. package/src/stories/views/components/teaser/fixtures/teaser_standard_xl_serif.json +1 -0
  101. package/src/stories/views/components/teaser/fixtures/teaser_standard_xxl_serif copy.json +1 -0
  102. package/src/stories/views/components/teaser/fixtures/teaser_standard_xxl_serif.json +1 -0
  103. package/src/stories/views/components/teaser/fixtures/teaser_standard_xxl_serif_comments.json +1 -0
  104. package/src/stories/views/components/teaser/fixtures/teaser_standard_xxl_serif_label.json +1 -0
  105. package/src/stories/views/components/teaser/fixtures/xxlTeaserStandard--serif.json +1 -0
  106. package/src/stories/views/components/teaser/fixtures/xxlTeaserStandard--serifLabel.json +1 -0
  107. package/src/stories/views/components/{Teaser → teaser}/group_teaser/group_teaser.hbs +3 -3
  108. package/src/stories/views/components/{Teaser → teaser}/jsonHelper.js +0 -0
  109. package/src/stories/views/components/{Teaser → teaser}/labelHelper.js +0 -0
  110. package/src/stories/views/components/{Teaser/Teaser-alternativ.hbs → teaser/teaser_alternativ.hbs} +4 -4
  111. package/src/stories/views/components/{Teaser/teaser-alternativ.stories.mdx → teaser/teaser_alternativ.stories.mdx} +1 -1
  112. package/src/stories/views/components/{Teaser → teaser}/teaser_logic/teaser_logic.hbs +2 -2
  113. package/src/stories/views/components/{Teaser → teaser}/teaser_logic/teaser_logic.ssi.hbs +1 -1
  114. package/src/stories/views/components/{Teaser/teaser_logic/teaser-logic.stories.mdx → teaser/teaser_logic/teaser_logic.stories.mdx} +0 -0
  115. package/src/stories/views/components/{Teaser/Teaser-standard.hbs → teaser/teaser_standard.hbs} +4 -4
  116. package/src/stories/views/components/teaser/teaser_standard.stories.mdx +73 -0
  117. package/tailwind.config.js +1 -0
  118. package/dist/views/components/Label.hbs +0 -12
  119. package/dist/views/components/Teaser/components/Topline.hbs +0 -6
  120. package/dist/views/components/base/loadDynamic.hbs +0 -11
  121. package/dist/views/components/list.hbs +0 -1
  122. package/src/stories/views/components/Label.hbs +0 -12
  123. package/src/stories/views/components/Teaser/components/Topline.hbs +0 -6
  124. package/src/stories/views/components/Teaser/data/ticker_label.json +0 -10
  125. package/src/stories/views/components/Teaser/teaser-standard.stories.mdx +0 -81
  126. package/src/stories/views/components/base/loadDynamic.hbs +0 -11
  127. package/src/stories/views/components/list.hbs +0 -1
@@ -33,6 +33,7 @@ module.exports = {
33
33
  // Make whatever fine-grained changes you need
34
34
  config.resolve.alias = {
35
35
  ...config.resolve.alias,
36
+ scripts: path.resolve(__dirname, '../scripts'),
36
37
  components: path.resolve(__dirname, '../src/stories/views/components'),
37
38
  tailwind$: path.resolve(__dirname, '../src/assets/tailwind.css'),
38
39
  hrQueryNew$: path.resolve(
@@ -96,6 +96,9 @@ export const parameters = {
96
96
  options: {
97
97
  storySort: {
98
98
  order: [
99
+ 'Einführung',
100
+ 'Grundlegendes',
101
+ ['Konventionen und Datenstrukturen', 'Testdatenbereitstellung', '*'],
99
102
  'Komponenten',
100
103
  [
101
104
  'Page',
package/CHANGELOG.md CHANGED
@@ -1,3 +1,44 @@
1
+ # v0.44.1 (Mon May 02 2022)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Renaming files to snake case [#226](https://github.com/mumprod/hr-design-system-handlebars/pull/226) ([@vascoeduardo](https://github.com/vascoeduardo))
6
+
7
+ #### 📝 Documentation
8
+
9
+ - Feature/dpe 1550 [#227](https://github.com/mumprod/hr-design-system-handlebars/pull/227) ([@szuelch](https://github.com/szuelch))
10
+
11
+ #### Authors: 2
12
+
13
+ - [@szuelch](https://github.com/szuelch)
14
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
15
+
16
+ ---
17
+
18
+ # v0.44.0 (Mon May 02 2022)
19
+
20
+ #### 🚀 Enhancement
21
+
22
+ - Feature/dpe 1550 [#224](https://github.com/mumprod/hr-design-system-handlebars/pull/224) ([@szuelch](https://github.com/szuelch))
23
+
24
+ #### Authors: 1
25
+
26
+ - [@szuelch](https://github.com/szuelch)
27
+
28
+ ---
29
+
30
+ # v0.43.1 (Thu Apr 28 2022)
31
+
32
+ #### 🐛 Bug Fix
33
+
34
+ - Zusatzinformationen neben Label [#223](https://github.com/mumprod/hr-design-system-handlebars/pull/223) ([@vascoeduardo](https://github.com/vascoeduardo))
35
+
36
+ #### Authors: 1
37
+
38
+ - Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
39
+
40
+ ---
41
+
1
42
  # v0.43.0 (Thu Apr 28 2022)
2
43
 
3
44
  #### 🚀 Enhancement
@@ -1,7 +1,7 @@
1
1
  const { execSync } = require('child_process')
2
- const { resolve, join } = require('path')
2
+ const { resolve } = require('path')
3
3
 
4
- const root = resolve(__dirname, '..')
4
+ const root = resolve(__dirname, '../..')
5
5
  const run = (cmd) => execSync(cmd, { stdio: 'inherit', cwd: root })
6
6
 
7
7
  // Copy hbs files into the dist folder
@@ -0,0 +1,140 @@
1
+ /**
2
+ * jsoninclude - JSON Parser that includes JSON from other files.
3
+ */
4
+ ;(function () {
5
+ 'use strict'
6
+
7
+ const _ = require('underscore'),
8
+ fs = require('fs'),
9
+ options = require('../../config.js')
10
+
11
+ JSON.minify = JSON.minify || require('node-json-minify')
12
+
13
+ /**
14
+ * Set value for a object property path given as String.
15
+ */
16
+ var setObjectValue = function (obj, value, path) {
17
+ var aPath = path.split('.'),
18
+ parent = obj
19
+
20
+ for (var i = 0; i < aPath.length - 1; i++) {
21
+ if (!parent.hasOwnProperty(aPath[i])) {
22
+ console.warn("Can't set object value. Wrong path: " + path)
23
+ return
24
+ }
25
+
26
+ parent = parent[aPath[i]]
27
+ }
28
+
29
+ parent[aPath[aPath.length - 1]] = value
30
+ }
31
+
32
+ /**
33
+ * Get value for a object property path given as String.
34
+ */
35
+ var getObjectValue = function (obj, path) {
36
+ var aPath = path.split('.'),
37
+ parent = obj
38
+
39
+ for (var i = 0; i < aPath.length; i++) {
40
+ if (!parent.hasOwnProperty(aPath[i])) {
41
+ console.warn("Can't get object value. Wrong path: " + path)
42
+ return {}
43
+ }
44
+
45
+ parent = parent[aPath[i]]
46
+ }
47
+
48
+ return parent
49
+ }
50
+
51
+ const loadInclude = function (includePath) {
52
+ try {
53
+ return fs.readFileSync(`${options.paths.assets.fixtures}/${includePath}`, 'UTF-8')
54
+ } catch (error) {
55
+ console.error(`Can\'t read file: ${options.paths.assets.fixtures}/${includePath}`)
56
+ return JSON.stringify({})
57
+ }
58
+ }
59
+
60
+ /**
61
+ * JSON.parse reviver function to execute jsoninclude features.
62
+ */
63
+ var executeJSONInclude = function (k, v) {
64
+ if (v['@->jsoninclude'] !== undefined && v['@->jsoninclude'] !== '') {
65
+ try {
66
+ //read include
67
+
68
+ let includedStringifiedJson = loadInclude(v['@->jsoninclude'])
69
+ //parse as JSON
70
+ let includeJSON = parse(includedStringifiedJson)
71
+ //get specified content
72
+ if (v['@->contentpath'] !== undefined) {
73
+ includeJSON = getObjectValue(includeJSON, v['@->contentpath'])
74
+ }
75
+ if (v['@->extends'] !== undefined) {
76
+ includeJSON = _.extend(includeJSON, v['@->extends'])
77
+ }
78
+
79
+ //override values
80
+ if (v['@->overrides'] !== undefined) {
81
+ for (var i = 0; i < v['@->overrides'].length; i++) {
82
+ if (
83
+ v['@->overrides'][i]['@->contentpath'] !== undefined &&
84
+ v['@->overrides'][i]['@->value'] !== undefined
85
+ ) {
86
+ setObjectValue(
87
+ includeJSON,
88
+ v['@->overrides'][i]['@->value'],
89
+ v['@->overrides'][i]['@->contentpath']
90
+ )
91
+ }
92
+ }
93
+ }
94
+ return includeJSON
95
+ } catch (e) {
96
+ console.error(
97
+ "Can't parse JSONInclude! " + type(e) === '[object Object]'
98
+ ? JSON.stringify(e, null, 4)
99
+ : e
100
+ )
101
+ throw {
102
+ orig: e,
103
+ message: e.message,
104
+ json: v,
105
+ via: k,
106
+ }
107
+ }
108
+ }
109
+
110
+ //nothing to do
111
+ return v
112
+ }
113
+
114
+ /**
115
+ * Parse a string as JSON and transforming the value produced by parsing.
116
+ */
117
+ var parse = function (text) {
118
+ try {
119
+ return JSON.parse(JSON.minify(text), executeJSONInclude)
120
+ } catch (e) {
121
+ console.error(`Can't parse json! ${e}`)
122
+ throw {
123
+ orig: e,
124
+ message: e.message,
125
+ json: text,
126
+ via: 'Bla',
127
+ }
128
+ }
129
+ }
130
+
131
+ module.exports = {
132
+ /**
133
+ * Create jsoninclude Object to parse JSON.
134
+ *
135
+ * @param reader Callback to read include file.
136
+ * @returns jsoninclude Object.
137
+ */
138
+ parse: parse,
139
+ }
140
+ })()
package/config.js ADDED
@@ -0,0 +1,11 @@
1
+ module.exports = {
2
+ paths: {
3
+ root: './',
4
+ assets: {
5
+ fixtures: 'src/assets/fixtures',
6
+ },
7
+ dist: {
8
+ components: 'src/stories/views/components',
9
+ },
10
+ },
11
+ }
@@ -1554,6 +1554,9 @@ Ensure the default browser behavior of the `hidden` attribute.
1554
1554
  .mt-6 {
1555
1555
  margin-top: 1.5rem;
1556
1556
  }
1557
+ .\!mt-4 {
1558
+ margin-top: 1rem !important;
1559
+ }
1557
1560
  .-mt-2 {
1558
1561
  margin-top: -0.5rem;
1559
1562
  }
@@ -1566,15 +1569,15 @@ Ensure the default browser behavior of the `hidden` attribute.
1566
1569
  .-mt-10 {
1567
1570
  margin-top: -2.5rem;
1568
1571
  }
1572
+ .ml-2 {
1573
+ margin-left: 0.5rem;
1574
+ }
1569
1575
  .mr-4 {
1570
1576
  margin-right: 1rem;
1571
1577
  }
1572
1578
  .ml-4 {
1573
1579
  margin-left: 1rem;
1574
1580
  }
1575
- .ml-2 {
1576
- margin-left: 0.5rem;
1577
- }
1578
1581
  .mt-0\.5 {
1579
1582
  margin-top: 0.125rem;
1580
1583
  }
@@ -1687,9 +1690,6 @@ Ensure the default browser behavior of the `hidden` attribute.
1687
1690
  .max-h-10 {
1688
1691
  max-height: 2.5rem;
1689
1692
  }
1690
- .max-h-6 {
1691
- max-height: 1.5rem;
1692
- }
1693
1693
  .w-16 {
1694
1694
  width: 4rem;
1695
1695
  }
@@ -1996,6 +1996,57 @@ Ensure the default browser behavior of the `hidden` attribute.
1996
1996
  --tw-border-opacity: 1;
1997
1997
  border-color: rgba(255, 255, 255, var(--tw-border-opacity));
1998
1998
  }
1999
+ .bg-red-200 {
2000
+ --tw-bg-opacity: 1;
2001
+ background-color: rgba(254, 202, 202, var(--tw-bg-opacity));
2002
+ }
2003
+ .\!bg-white {
2004
+ --tw-bg-opacity: 1 !important;
2005
+ background-color: rgba(255, 255, 255, var(--tw-bg-opacity)) !important;
2006
+ }
2007
+ .bg-green-200 {
2008
+ --tw-bg-opacity: 1;
2009
+ background-color: rgba(187, 247, 208, var(--tw-bg-opacity));
2010
+ }
2011
+ .bg-current {
2012
+ background-color: currentColor;
2013
+ }
2014
+ .bg-white {
2015
+ --tw-bg-opacity: 1;
2016
+ background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
2017
+ }
2018
+ .bg-blue-congress {
2019
+ --tw-bg-opacity: 1;
2020
+ background-color: rgba(0, 82, 147, var(--tw-bg-opacity));
2021
+ }
2022
+ .bg-gray-800 {
2023
+ --tw-bg-opacity: 1;
2024
+ background-color: rgba(31, 41, 55, var(--tw-bg-opacity));
2025
+ }
2026
+ .bg-gray-100 {
2027
+ --tw-bg-opacity: 1;
2028
+ background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
2029
+ }
2030
+ .bg-green-300 {
2031
+ --tw-bg-opacity: 1;
2032
+ background-color: rgba(134, 239, 172, var(--tw-bg-opacity));
2033
+ }
2034
+ .bg-gray-500 {
2035
+ --tw-bg-opacity: 1;
2036
+ background-color: rgba(107, 114, 128, var(--tw-bg-opacity));
2037
+ }
2038
+ .bg-blue-200 {
2039
+ --tw-bg-opacity: 1;
2040
+ background-color: rgba(191, 219, 254, var(--tw-bg-opacity));
2041
+ }
2042
+ .bg-blue-400 {
2043
+ --tw-bg-opacity: 1;
2044
+ background-color: rgba(96, 165, 250, var(--tw-bg-opacity));
2045
+ }
2046
+ .bg-red-400 {
2047
+ --tw-bg-opacity: 1;
2048
+ background-color: rgba(248, 113, 113, var(--tw-bg-opacity));
2049
+ }
1999
2050
  .bg-labelMedia {
2000
2051
  background-color: #006dc1;
2001
2052
  background-color: var(--color-label-media);
@@ -2032,45 +2083,6 @@ Ensure the default browser behavior of the `hidden` attribute.
2032
2083
  background-color: #d34600;
2033
2084
  background-color: var(--color-label-live);
2034
2085
  }
2035
- .bg-gray-100 {
2036
- --tw-bg-opacity: 1;
2037
- background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
2038
- }
2039
- .bg-green-300 {
2040
- --tw-bg-opacity: 1;
2041
- background-color: rgba(134, 239, 172, var(--tw-bg-opacity));
2042
- }
2043
- .bg-gray-500 {
2044
- --tw-bg-opacity: 1;
2045
- background-color: rgba(107, 114, 128, var(--tw-bg-opacity));
2046
- }
2047
- .bg-white {
2048
- --tw-bg-opacity: 1;
2049
- background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
2050
- }
2051
- .bg-blue-200 {
2052
- --tw-bg-opacity: 1;
2053
- background-color: rgba(191, 219, 254, var(--tw-bg-opacity));
2054
- }
2055
- .bg-blue-400 {
2056
- --tw-bg-opacity: 1;
2057
- background-color: rgba(96, 165, 250, var(--tw-bg-opacity));
2058
- }
2059
- .bg-red-400 {
2060
- --tw-bg-opacity: 1;
2061
- background-color: rgba(248, 113, 113, var(--tw-bg-opacity));
2062
- }
2063
- .bg-current {
2064
- background-color: currentColor;
2065
- }
2066
- .bg-blue-congress {
2067
- --tw-bg-opacity: 1;
2068
- background-color: rgba(0, 82, 147, var(--tw-bg-opacity));
2069
- }
2070
- .bg-gray-800 {
2071
- --tw-bg-opacity: 1;
2072
- background-color: rgba(31, 41, 55, var(--tw-bg-opacity));
2073
- }
2074
2086
  .bg-gradient-to-r {
2075
2087
  background-image: -webkit-gradient(linear, left top, right top, from(var(--tw-gradient-stops)));
2076
2088
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
@@ -2091,16 +2103,26 @@ Ensure the default browser behavior of the `hidden` attribute.
2091
2103
  .p-10 {
2092
2104
  padding: 2.5rem;
2093
2105
  }
2106
+ .p-4 {
2107
+ padding: 1rem;
2108
+ }
2109
+ .\!p-4 {
2110
+ padding: 1rem !important;
2111
+ }
2094
2112
  .p-2 {
2095
2113
  padding: 0.5rem;
2096
2114
  }
2097
- .px-1\.5 {
2098
- padding-left: 0.375rem;
2099
- padding-right: 0.375rem;
2115
+ .px-5 {
2116
+ padding-left: 1.25rem;
2117
+ padding-right: 1.25rem;
2100
2118
  }
2101
- .px-1 {
2102
- padding-left: 0.25rem;
2103
- padding-right: 0.25rem;
2119
+ .py-3\.5 {
2120
+ padding-top: 0.875rem;
2121
+ padding-bottom: 0.875rem;
2122
+ }
2123
+ .py-3 {
2124
+ padding-top: 0.75rem;
2125
+ padding-bottom: 0.75rem;
2104
2126
  }
2105
2127
  .py-6 {
2106
2128
  padding-top: 1.5rem;
@@ -2114,17 +2136,13 @@ Ensure the default browser behavior of the `hidden` attribute.
2114
2136
  padding-top: 2rem;
2115
2137
  padding-bottom: 2rem;
2116
2138
  }
2117
- .px-5 {
2118
- padding-left: 1.25rem;
2119
- padding-right: 1.25rem;
2120
- }
2121
- .py-3\.5 {
2122
- padding-top: 0.875rem;
2123
- padding-bottom: 0.875rem;
2139
+ .px-1\.5 {
2140
+ padding-left: 0.375rem;
2141
+ padding-right: 0.375rem;
2124
2142
  }
2125
- .py-3 {
2126
- padding-top: 0.75rem;
2127
- padding-bottom: 0.75rem;
2143
+ .px-1 {
2144
+ padding-left: 0.25rem;
2145
+ padding-right: 0.25rem;
2128
2146
  }
2129
2147
  .px-3\.5 {
2130
2148
  padding-left: 0.875rem;
@@ -2158,15 +2176,15 @@ Ensure the default browser behavior of the `hidden` attribute.
2158
2176
  padding-left: 1rem;
2159
2177
  padding-right: 1rem;
2160
2178
  }
2161
- .pt-px {
2162
- padding-top: 1px;
2163
- }
2164
2179
  .pl-4 {
2165
2180
  padding-left: 1rem;
2166
2181
  }
2167
2182
  .pr-2 {
2168
2183
  padding-right: 0.5rem;
2169
2184
  }
2185
+ .pt-px {
2186
+ padding-top: 1px;
2187
+ }
2170
2188
  .pt-1 {
2171
2189
  padding-top: 0.25rem;
2172
2190
  }
@@ -2272,6 +2290,15 @@ Ensure the default browser behavior of the `hidden` attribute.
2272
2290
  .leading-6 {
2273
2291
  line-height: 1.5rem;
2274
2292
  }
2293
+ .\!leading-6 {
2294
+ line-height: 1.5rem !important;
2295
+ }
2296
+ .\!leading-8 {
2297
+ line-height: 2rem !important;
2298
+ }
2299
+ .leading-5\.5 {
2300
+ line-height: 1.375rem;
2301
+ }
2275
2302
  .leading-10 {
2276
2303
  line-height: 2.5rem;
2277
2304
  }
@@ -2282,14 +2309,22 @@ Ensure the default browser behavior of the `hidden` attribute.
2282
2309
  --tw-text-opacity: 1;
2283
2310
  color: rgba(124, 58, 237, var(--tw-text-opacity));
2284
2311
  }
2285
- .text-white {
2286
- --tw-text-opacity: 1;
2287
- color: rgba(255, 255, 255, var(--tw-text-opacity));
2312
+ .\!text-red-900 {
2313
+ --tw-text-opacity: 1 !important;
2314
+ color: rgba(127, 29, 29, var(--tw-text-opacity)) !important;
2315
+ }
2316
+ .\!text-green-900 {
2317
+ --tw-text-opacity: 1 !important;
2318
+ color: rgba(20, 83, 45, var(--tw-text-opacity)) !important;
2288
2319
  }
2289
2320
  .text-blue-congress {
2290
2321
  --tw-text-opacity: 1;
2291
2322
  color: rgba(0, 82, 147, var(--tw-text-opacity));
2292
2323
  }
2324
+ .text-white {
2325
+ --tw-text-opacity: 1;
2326
+ color: rgba(255, 255, 255, var(--tw-text-opacity));
2327
+ }
2293
2328
  .text-grey-scorpion {
2294
2329
  --tw-text-opacity: 1;
2295
2330
  color: rgba(96, 96, 96, var(--tw-text-opacity));
@@ -2767,16 +2802,16 @@ Ensure the default browser behavior of the `hidden` attribute.
2767
2802
  padding-left: 0px;
2768
2803
  }
2769
2804
 
2770
- .md\:text-4xl {
2771
- font-size: 2.125rem;
2772
- line-height: 2.375rem;
2773
- }
2774
-
2775
2805
  .md\:text-base {
2776
2806
  font-size: 1rem;
2777
2807
  line-height: 1.25rem;
2778
2808
  }
2779
2809
 
2810
+ .md\:text-4xl {
2811
+ font-size: 2.125rem;
2812
+ line-height: 2.375rem;
2813
+ }
2814
+
2780
2815
  .md\:leading-4 {
2781
2816
  line-height: 1rem;
2782
2817
  }
@@ -1,5 +1,5 @@
1
1
  {{#if (isStorybook)}}
2
- {{> components/base/loadDynamic templatePath=templatePath}}
2
+ {{> components/base/load_dynamic templatePath=templatePath}}
3
3
  {{else}}
4
4
  {{{this}}}
5
5
  {{/if}}
@@ -0,0 +1,11 @@
1
+ {{#switch templatePath}}
2
+ {{#case "components/Header/ServiceNavigation/ServiceNavigationItem"}}
3
+ {{> components/Header/ServiceNavigation/ServiceNavigationItem}}
4
+ {{/case}}
5
+ {{#case "components/teaser/group_teaser/group_teaser"}}
6
+ {{> components/teaser/group_teaser/group_teaser}}
7
+ {{/case}}
8
+ {{#case "components/teaser/teaser_standard"}}
9
+ {{> components/teaser/teaser_standard}}
10
+ {{/case}}
11
+ {{/switch}}