hr-design-system-handlebars 0.43.1 → 0.44.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/.storybook/main.js +1 -0
- package/.storybook/preview.js +3 -0
- package/CHANGELOG.md +41 -0
- package/{scripts → build/scripts}/build.js +2 -2
- package/build/scripts/jsoninclude.js +140 -0
- package/config.js +11 -0
- package/dist/assets/index.css +104 -69
- package/dist/views/components/base/image/{responsiveImage.hbs → responsive_image.hbs} +0 -0
- package/dist/views/components/base/loadSSI.hbs +1 -1
- package/dist/views/components/base/load_dynamic.hbs +11 -0
- package/dist/views/components/{Grid/Grid.hbs → grid/grid.hbs} +64 -64
- package/dist/views/components/{Grid/GridGroup.hbs → grid/grid_group.hbs} +0 -0
- package/dist/views/components/{Grid/GridGroupFull.hbs → grid/grid_group_full.hbs} +0 -0
- package/dist/views/components/{Grid/GridGroupTabbed.hbs → grid/grid_group_tabbed.hbs} +0 -0
- package/dist/views/components/{Grid/GridItem.hbs → grid/grid_item.hbs} +0 -0
- package/dist/views/components/{Label.hbs → label/label.hbs} +0 -0
- package/dist/views/components/{Page/Page.hbs → page/page.hbs} +14 -14
- package/dist/views/components/{Teaser/components/Byline.hbs → teaser/components/teaser_byline.hbs} +1 -1
- package/dist/views/components/{Teaser/components/Comments.hbs → teaser/components/teaser_comments.hbs} +0 -0
- package/dist/views/components/{Teaser/components/Teaser-Heading.hbs → teaser/components/teaser_heading.hbs} +3 -3
- package/dist/views/components/{Teaser/components/teaserText.hbs → teaser/components/teaser_text.hbs} +0 -0
- package/dist/views/components/{Teaser/components/Title.hbs → teaser/components/teaser_title.hbs} +0 -0
- package/dist/views/components/{Teaser/components/Topline.hbs → teaser/components/teaser_topline.hbs} +0 -0
- package/dist/views/components/{Teaser → teaser}/group_teaser/group_teaser.hbs +3 -3
- package/dist/views/components/{Teaser → teaser}/jsonHelper.js +0 -0
- package/dist/views/components/{Teaser → teaser}/labelHelper.js +0 -0
- package/dist/views/components/{Teaser/Teaser-alternativ.hbs → teaser/teaser_alternativ.hbs} +4 -4
- package/dist/views/components/{Teaser → teaser}/teaser_logic/teaser_logic.hbs +2 -2
- package/dist/views/components/{Teaser → teaser}/teaser_logic/teaser_logic.ssi.hbs +1 -1
- package/dist/views/components/{Teaser/Teaser-standard.hbs → teaser/teaser_standard.hbs} +4 -4
- package/gulpfile.js +36 -2
- package/package.json +9 -4
- package/src/{stories/views/components/Teaser/data/teaser_commentLink.json → assets/fixtures/teaser/teaser_comment.json} +0 -0
- package/src/assets/fixtures/teaser/teaser_group_100_2x_50.inc.json +153 -0
- package/src/assets/fixtures/teaser/teaser_images.inc.json +203 -0
- package/src/assets/fixtures/teaser/teaser_index.json +20 -0
- package/src/assets/fixtures/teaser/teaser_labels.inc.json +18 -0
- package/src/assets/fixtures/teaser/teaser_standard_lg_serif.json +10 -0
- package/src/assets/fixtures/teaser/teaser_standard_md_serif.json +17 -0
- package/src/assets/fixtures/teaser/teaser_standard_sm_serif.json +17 -0
- package/src/assets/fixtures/teaser/teaser_standard_xl_serif.json +10 -0
- package/src/assets/fixtures/teaser/teaser_standard_xxl_serif.json +4 -0
- package/src/assets/fixtures/teaser/teaser_standard_xxl_serif_comments.json +4 -0
- package/src/assets/fixtures/teaser/teaser_standard_xxl_serif_label.json +28 -0
- package/src/assets/fixtures/teaser/teasers.inc.json +226 -0
- package/src/stories/Colors.stories.mdx +28 -28
- package/src/stories/Fixtures.stories.mdx +417 -0
- package/src/stories/Introduction.stories.mdx +85 -93
- package/src/stories/SvgOptimization.stories.mdx +1 -1
- package/src/stories/Typography.stories.mdx +1 -1
- package/src/stories/conventions-and-datastructure.stories.mdx +241 -0
- package/src/stories/views/components/base/image/{responsiveImage.hbs → responsive_image.hbs} +0 -0
- package/src/stories/views/components/base/loadSSI.hbs +1 -1
- package/src/stories/views/components/base/load_dynamic.hbs +11 -0
- package/src/stories/views/components/{Grid/Grid.hbs → grid/grid.hbs} +64 -64
- package/src/stories/views/components/{Grid/Grid.stories.mdx → grid/grid.stories.mdx} +2 -2
- package/src/stories/views/components/{Grid/GridGroup.hbs → grid/grid_group.hbs} +0 -0
- package/src/stories/views/components/{Grid/GridGroupFull.hbs → grid/grid_group_full.hbs} +0 -0
- package/src/stories/views/components/{Grid/GridGroupTabbed.hbs → grid/grid_group_tabbed.hbs} +0 -0
- package/src/stories/views/components/{Grid/GridItem.hbs → grid/grid_item.hbs} +0 -0
- package/src/stories/views/components/{Label.hbs → label/label.hbs} +0 -0
- package/src/stories/views/components/{Label.stories.mdx → label/label.stories.mdx} +2 -2
- package/src/stories/views/components/{Page/Page.hbs → page/page.hbs} +14 -14
- package/src/stories/views/components/{Page/Page.stories.mdx → page/page.stories.mdx} +2 -2
- package/src/stories/views/components/{Teaser/components/Byline.hbs → teaser/components/teaser_byline.hbs} +1 -1
- package/src/stories/views/components/{Teaser/components/Byline.stories.mdx → teaser/components/teaser_byline.stories.mdx} +1 -1
- package/src/stories/views/components/{Teaser/components/Comments.hbs → teaser/components/teaser_comments.hbs} +0 -0
- package/src/stories/views/components/{Teaser/components/Teaser-Heading.hbs → teaser/components/teaser_heading.hbs} +3 -3
- package/src/stories/views/components/{Teaser/components/Teaser-Heading.stories.mdx → teaser/components/teaser_heading.stories.mdx} +2 -2
- package/src/stories/views/components/{Teaser/components/teaserText.hbs → teaser/components/teaser_text.hbs} +0 -0
- package/src/stories/views/components/{Teaser/components/teaserText.stories.mdx → teaser/components/teaser_text.stories.mdx} +2 -2
- package/src/stories/views/components/{Teaser/components/Title.hbs → teaser/components/teaser_title.hbs} +0 -0
- package/src/stories/views/components/{Teaser/components/Title.stories.mdx → teaser/components/teaser_title.stories.mdx} +1 -1
- package/src/stories/views/components/{Teaser/components/Topline.hbs → teaser/components/teaser_topline.hbs} +0 -0
- package/src/stories/views/components/{Teaser/components/Topline.stories.mdx → teaser/components/teaser_topline.stories.mdx} +1 -1
- package/src/stories/views/components/{Teaser → teaser}/data/16_7_teaserImage.json +0 -0
- package/src/stories/views/components/{Teaser → teaser}/data/16_9_teaserImage.json +0 -0
- package/src/stories/views/components/{Teaser → teaser}/data/teaser_alternativ_lg_serif.json +0 -0
- package/src/stories/views/components/{Teaser → teaser}/data/teaser_alternativ_md_serif.json +0 -0
- package/src/stories/views/components/{Teaser → teaser}/data/teaser_alternativ_sm_serif.json +0 -0
- package/src/stories/views/components/{Teaser → teaser}/data/teaser_alternativ_xl_serif.json +0 -0
- package/src/stories/views/components/{Teaser → teaser}/data/teaser_alternativ_xxl_serif.json +0 -0
- package/src/stories/views/components/{Teaser → teaser}/data/teaser_article.json +0 -0
- package/src/stories/views/components/teaser/data/teaser_commentLink.json +16 -0
- package/src/stories/views/components/{Teaser → teaser}/data/teaser_full.json +6 -6
- package/src/stories/views/components/{Teaser → teaser}/data/teaser_standard_lg_serif.json +0 -0
- package/src/stories/views/components/{Teaser → teaser}/data/teaser_standard_md_serif.json +0 -0
- package/src/stories/views/components/{Teaser → teaser}/data/teaser_standard_sm_serif.json +0 -0
- package/src/stories/views/components/{Teaser → teaser}/data/teaser_standard_xl_serif.json +0 -0
- package/src/stories/views/components/{Teaser → teaser}/data/teaser_standard_xxl_serif.json +0 -0
- package/src/stories/views/components/teaser/data/teasers.json +324 -0
- package/src/stories/views/components/teaser/data/ticker_label.json +22 -0
- package/src/stories/views/components/teaser/fixtures/teaser_comment.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_index.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_standard_lg_serif.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_standard_md_serif.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_standard_sm_serif.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_standard_xl_serif.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_standard_xxl_serif.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_standard_xxl_serif_comments.json +1 -0
- package/src/stories/views/components/teaser/fixtures/teaser_standard_xxl_serif_label.json +1 -0
- package/src/stories/views/components/{Teaser → teaser}/group_teaser/group_teaser.hbs +3 -3
- package/src/stories/views/components/{Teaser → teaser}/jsonHelper.js +0 -0
- package/src/stories/views/components/{Teaser → teaser}/labelHelper.js +0 -0
- package/src/stories/views/components/{Teaser/Teaser-alternativ.hbs → teaser/teaser_alternativ.hbs} +4 -4
- package/src/stories/views/components/{Teaser/teaser-alternativ.stories.mdx → teaser/teaser_alternativ.stories.mdx} +1 -1
- package/src/stories/views/components/{Teaser → teaser}/teaser_logic/teaser_logic.hbs +2 -2
- package/src/stories/views/components/{Teaser → teaser}/teaser_logic/teaser_logic.ssi.hbs +1 -1
- package/src/stories/views/components/{Teaser/teaser_logic/teaser-logic.stories.mdx → teaser/teaser_logic/teaser_logic.stories.mdx} +1 -1
- package/src/stories/views/components/{Teaser/Teaser-standard.hbs → teaser/teaser_standard.hbs} +4 -4
- package/src/stories/views/components/teaser/teaser_standard.stories.mdx +73 -0
- package/dist/views/components/base/loadDynamic.hbs +0 -11
- package/dist/views/components/list.hbs +0 -1
- package/src/stories/views/components/Teaser/data/ticker_label.json +0 -10
- package/src/stories/views/components/Teaser/teaser-standard.stories.mdx +0 -81
- package/src/stories/views/components/base/loadDynamic.hbs +0 -11
- package/src/stories/views/components/list.hbs +0 -1
package/.storybook/main.js
CHANGED
|
@@ -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(
|
package/.storybook/preview.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,44 @@
|
|
|
1
|
+
# v0.44.2 (Thu May 05 2022)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Dpe 1558 [#228](https://github.com/mumprod/hr-design-system-handlebars/pull/228) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v0.44.1 (Mon May 02 2022)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- Renaming files to snake case [#226](https://github.com/mumprod/hr-design-system-handlebars/pull/226) ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
18
|
+
|
|
19
|
+
#### 📝 Documentation
|
|
20
|
+
|
|
21
|
+
- Feature/dpe 1550 [#227](https://github.com/mumprod/hr-design-system-handlebars/pull/227) ([@szuelch](https://github.com/szuelch))
|
|
22
|
+
|
|
23
|
+
#### Authors: 2
|
|
24
|
+
|
|
25
|
+
- [@szuelch](https://github.com/szuelch)
|
|
26
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
# v0.44.0 (Mon May 02 2022)
|
|
31
|
+
|
|
32
|
+
#### 🚀 Enhancement
|
|
33
|
+
|
|
34
|
+
- Feature/dpe 1550 [#224](https://github.com/mumprod/hr-design-system-handlebars/pull/224) ([@szuelch](https://github.com/szuelch))
|
|
35
|
+
|
|
36
|
+
#### Authors: 1
|
|
37
|
+
|
|
38
|
+
- [@szuelch](https://github.com/szuelch)
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
1
42
|
# v0.43.1 (Thu Apr 28 2022)
|
|
2
43
|
|
|
3
44
|
#### 🐛 Bug Fix
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const { execSync } = require('child_process')
|
|
2
|
-
const { resolve
|
|
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
package/dist/assets/index.css
CHANGED
|
@@ -1554,8 +1554,8 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1554
1554
|
.mt-6 {
|
|
1555
1555
|
margin-top: 1.5rem;
|
|
1556
1556
|
}
|
|
1557
|
-
|
|
1558
|
-
margin-
|
|
1557
|
+
.\!mt-4 {
|
|
1558
|
+
margin-top: 1rem !important;
|
|
1559
1559
|
}
|
|
1560
1560
|
.-mt-2 {
|
|
1561
1561
|
margin-top: -0.5rem;
|
|
@@ -1569,6 +1569,9 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1569
1569
|
.-mt-10 {
|
|
1570
1570
|
margin-top: -2.5rem;
|
|
1571
1571
|
}
|
|
1572
|
+
.ml-2 {
|
|
1573
|
+
margin-left: 0.5rem;
|
|
1574
|
+
}
|
|
1572
1575
|
.mr-4 {
|
|
1573
1576
|
margin-right: 1rem;
|
|
1574
1577
|
}
|
|
@@ -1993,6 +1996,57 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
1993
1996
|
--tw-border-opacity: 1;
|
|
1994
1997
|
border-color: rgba(255, 255, 255, var(--tw-border-opacity));
|
|
1995
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
|
+
}
|
|
1996
2050
|
.bg-labelMedia {
|
|
1997
2051
|
background-color: #006dc1;
|
|
1998
2052
|
background-color: var(--color-label-media);
|
|
@@ -2029,45 +2083,6 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2029
2083
|
background-color: #d34600;
|
|
2030
2084
|
background-color: var(--color-label-live);
|
|
2031
2085
|
}
|
|
2032
|
-
.bg-gray-100 {
|
|
2033
|
-
--tw-bg-opacity: 1;
|
|
2034
|
-
background-color: rgba(243, 244, 246, var(--tw-bg-opacity));
|
|
2035
|
-
}
|
|
2036
|
-
.bg-green-300 {
|
|
2037
|
-
--tw-bg-opacity: 1;
|
|
2038
|
-
background-color: rgba(134, 239, 172, var(--tw-bg-opacity));
|
|
2039
|
-
}
|
|
2040
|
-
.bg-gray-500 {
|
|
2041
|
-
--tw-bg-opacity: 1;
|
|
2042
|
-
background-color: rgba(107, 114, 128, var(--tw-bg-opacity));
|
|
2043
|
-
}
|
|
2044
|
-
.bg-white {
|
|
2045
|
-
--tw-bg-opacity: 1;
|
|
2046
|
-
background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
|
|
2047
|
-
}
|
|
2048
|
-
.bg-blue-200 {
|
|
2049
|
-
--tw-bg-opacity: 1;
|
|
2050
|
-
background-color: rgba(191, 219, 254, var(--tw-bg-opacity));
|
|
2051
|
-
}
|
|
2052
|
-
.bg-blue-400 {
|
|
2053
|
-
--tw-bg-opacity: 1;
|
|
2054
|
-
background-color: rgba(96, 165, 250, var(--tw-bg-opacity));
|
|
2055
|
-
}
|
|
2056
|
-
.bg-red-400 {
|
|
2057
|
-
--tw-bg-opacity: 1;
|
|
2058
|
-
background-color: rgba(248, 113, 113, var(--tw-bg-opacity));
|
|
2059
|
-
}
|
|
2060
|
-
.bg-current {
|
|
2061
|
-
background-color: currentColor;
|
|
2062
|
-
}
|
|
2063
|
-
.bg-blue-congress {
|
|
2064
|
-
--tw-bg-opacity: 1;
|
|
2065
|
-
background-color: rgba(0, 82, 147, var(--tw-bg-opacity));
|
|
2066
|
-
}
|
|
2067
|
-
.bg-gray-800 {
|
|
2068
|
-
--tw-bg-opacity: 1;
|
|
2069
|
-
background-color: rgba(31, 41, 55, var(--tw-bg-opacity));
|
|
2070
|
-
}
|
|
2071
2086
|
.bg-gradient-to-r {
|
|
2072
2087
|
background-image: -webkit-gradient(linear, left top, right top, from(var(--tw-gradient-stops)));
|
|
2073
2088
|
background-image: linear-gradient(to right, var(--tw-gradient-stops));
|
|
@@ -2088,16 +2103,26 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2088
2103
|
.p-10 {
|
|
2089
2104
|
padding: 2.5rem;
|
|
2090
2105
|
}
|
|
2106
|
+
.p-4 {
|
|
2107
|
+
padding: 1rem;
|
|
2108
|
+
}
|
|
2109
|
+
.\!p-4 {
|
|
2110
|
+
padding: 1rem !important;
|
|
2111
|
+
}
|
|
2091
2112
|
.p-2 {
|
|
2092
2113
|
padding: 0.5rem;
|
|
2093
2114
|
}
|
|
2094
|
-
.px-
|
|
2095
|
-
padding-left:
|
|
2096
|
-
padding-right:
|
|
2115
|
+
.px-5 {
|
|
2116
|
+
padding-left: 1.25rem;
|
|
2117
|
+
padding-right: 1.25rem;
|
|
2097
2118
|
}
|
|
2098
|
-
.
|
|
2099
|
-
padding-
|
|
2100
|
-
padding-
|
|
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;
|
|
2101
2126
|
}
|
|
2102
2127
|
.py-6 {
|
|
2103
2128
|
padding-top: 1.5rem;
|
|
@@ -2111,17 +2136,13 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2111
2136
|
padding-top: 2rem;
|
|
2112
2137
|
padding-bottom: 2rem;
|
|
2113
2138
|
}
|
|
2114
|
-
.px-5 {
|
|
2115
|
-
padding-left:
|
|
2116
|
-
padding-right:
|
|
2117
|
-
}
|
|
2118
|
-
.py-3\.5 {
|
|
2119
|
-
padding-top: 0.875rem;
|
|
2120
|
-
padding-bottom: 0.875rem;
|
|
2139
|
+
.px-1\.5 {
|
|
2140
|
+
padding-left: 0.375rem;
|
|
2141
|
+
padding-right: 0.375rem;
|
|
2121
2142
|
}
|
|
2122
|
-
.
|
|
2123
|
-
padding-
|
|
2124
|
-
padding-
|
|
2143
|
+
.px-1 {
|
|
2144
|
+
padding-left: 0.25rem;
|
|
2145
|
+
padding-right: 0.25rem;
|
|
2125
2146
|
}
|
|
2126
2147
|
.px-3\.5 {
|
|
2127
2148
|
padding-left: 0.875rem;
|
|
@@ -2155,15 +2176,15 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2155
2176
|
padding-left: 1rem;
|
|
2156
2177
|
padding-right: 1rem;
|
|
2157
2178
|
}
|
|
2158
|
-
.pt-px {
|
|
2159
|
-
padding-top: 1px;
|
|
2160
|
-
}
|
|
2161
2179
|
.pl-4 {
|
|
2162
2180
|
padding-left: 1rem;
|
|
2163
2181
|
}
|
|
2164
2182
|
.pr-2 {
|
|
2165
2183
|
padding-right: 0.5rem;
|
|
2166
2184
|
}
|
|
2185
|
+
.pt-px {
|
|
2186
|
+
padding-top: 1px;
|
|
2187
|
+
}
|
|
2167
2188
|
.pt-1 {
|
|
2168
2189
|
padding-top: 0.25rem;
|
|
2169
2190
|
}
|
|
@@ -2269,6 +2290,12 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2269
2290
|
.leading-6 {
|
|
2270
2291
|
line-height: 1.5rem;
|
|
2271
2292
|
}
|
|
2293
|
+
.\!leading-6 {
|
|
2294
|
+
line-height: 1.5rem !important;
|
|
2295
|
+
}
|
|
2296
|
+
.\!leading-8 {
|
|
2297
|
+
line-height: 2rem !important;
|
|
2298
|
+
}
|
|
2272
2299
|
.leading-5\.5 {
|
|
2273
2300
|
line-height: 1.375rem;
|
|
2274
2301
|
}
|
|
@@ -2282,6 +2309,18 @@ 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
|
}
|
|
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;
|
|
2319
|
+
}
|
|
2320
|
+
.text-blue-congress {
|
|
2321
|
+
--tw-text-opacity: 1;
|
|
2322
|
+
color: rgba(0, 82, 147, var(--tw-text-opacity));
|
|
2323
|
+
}
|
|
2285
2324
|
.text-white {
|
|
2286
2325
|
--tw-text-opacity: 1;
|
|
2287
2326
|
color: rgba(255, 255, 255, var(--tw-text-opacity));
|
|
@@ -2290,10 +2329,6 @@ Ensure the default browser behavior of the `hidden` attribute.
|
|
|
2290
2329
|
--tw-text-opacity: 1;
|
|
2291
2330
|
color: rgba(96, 96, 96, var(--tw-text-opacity));
|
|
2292
2331
|
}
|
|
2293
|
-
.text-blue-congress {
|
|
2294
|
-
--tw-text-opacity: 1;
|
|
2295
|
-
color: rgba(0, 82, 147, var(--tw-text-opacity));
|
|
2296
|
-
}
|
|
2297
2332
|
.text-toplineColor {
|
|
2298
2333
|
color: #006dc1;
|
|
2299
2334
|
color: var(--color-topline);
|
|
@@ -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
|
}
|
|
File without changes
|
|
@@ -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}}
|