hr-design-system-handlebars 1.52.14 → 1.52.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/dist/assets/index.css +18 -13
- package/dist/views/components/banner/banner.storybook.hbs +4 -4
- package/dist/views/components/banner/header/headline.hbs +1 -1
- package/dist/views/components/content/copytext/components/image/figure.hbs +1 -1
- package/dist/views/components/content/copytext/components/image/image.hbs +2 -2
- package/dist/views/components/event/calendar/event_calendar_event_teaser.hbs +1 -1
- package/dist/views/components/grid/grid_group_100_item_100.hbs +1 -1
- package/dist/views/components/grid/grid_group_100_item_100_with_background.hbs +1 -1
- package/dist/views/components/grid/grid_group_100_item_25.hbs +5 -5
- package/dist/views/components/grid/grid_group_100_item_50.hbs +1 -1
- package/dist/views/components/grid/grid_group_100_tabbed_25.hbs +5 -5
- package/dist/views/components/grid/grid_group_100_tabbed_33.hbs +1 -1
- package/dist/views/components/grid/grid_group_100_tabbed_50.hbs +3 -3
- package/dist/views/components/grid/grid_group_33_item_100.hbs +1 -1
- package/dist/views/components/grid/grid_group_50_item_100.hbs +1 -1
- package/dist/views/components/grid/grid_group_66_item_100.hbs +1 -1
- package/dist/views/components/teaser/components/teaser_title_classes.hbs +14 -14
- package/dist/views/components/teaser/group_teaser/group_teaser.hbs +1 -1
- package/dist/views/components/teaser/group_teaser/group_teaser_accented.hbs +1 -1
- package/dist/views/components/teaser/teaser_indextext.hbs +1 -1
- package/dist/views_static/components/banner/banner.storybook.hbs +4 -4
- package/dist/views_static/components/banner/header/headline.hbs +1 -1
- package/dist/views_static/components/content/copytext/components/image/figure.hbs +1 -1
- package/dist/views_static/components/content/copytext/components/image/image.hbs +2 -2
- package/dist/views_static/components/event/calendar/event_calendar_event_teaser.hbs +1 -1
- package/dist/views_static/components/grid/grid_group_100_item_100.hbs +1 -1
- package/dist/views_static/components/grid/grid_group_100_item_100_with_background.hbs +1 -1
- package/dist/views_static/components/grid/grid_group_100_item_25.hbs +5 -5
- package/dist/views_static/components/grid/grid_group_100_item_50.hbs +1 -1
- package/dist/views_static/components/grid/grid_group_100_tabbed_25.hbs +5 -5
- package/dist/views_static/components/grid/grid_group_100_tabbed_33.hbs +1 -1
- package/dist/views_static/components/grid/grid_group_100_tabbed_50.hbs +3 -3
- package/dist/views_static/components/grid/grid_group_33_item_100.hbs +1 -1
- package/dist/views_static/components/grid/grid_group_50_item_100.hbs +1 -1
- package/dist/views_static/components/grid/grid_group_66_item_100.hbs +1 -1
- package/dist/views_static/components/teaser/components/teaser_title_classes.hbs +14 -14
- package/dist/views_static/components/teaser/group_teaser/group_teaser.hbs +1 -1
- package/dist/views_static/components/teaser/group_teaser/group_teaser_accented.hbs +1 -1
- package/dist/views_static/components/teaser/teaser_indextext.hbs +1 -1
- package/package.json +1 -1
- package/src/stories/Typography.mdx +12 -2
- package/src/stories/views/components/banner/banner.storybook.hbs +4 -4
- package/src/stories/views/components/banner/header/headline.hbs +1 -1
- package/src/stories/views/components/content/copytext/components/image/figure.hbs +1 -1
- package/src/stories/views/components/content/copytext/components/image/image.hbs +2 -2
- package/src/stories/views/components/event/calendar/event_calendar_event_teaser.hbs +1 -1
- package/src/stories/views/components/grid/grid_group_100_item_100.hbs +1 -1
- package/src/stories/views/components/grid/grid_group_100_item_100_with_background.hbs +1 -1
- package/src/stories/views/components/grid/grid_group_100_item_25.hbs +5 -5
- package/src/stories/views/components/grid/grid_group_100_item_50.hbs +1 -1
- package/src/stories/views/components/grid/grid_group_100_tabbed_25.hbs +5 -5
- package/src/stories/views/components/grid/grid_group_100_tabbed_33.hbs +1 -1
- package/src/stories/views/components/grid/grid_group_100_tabbed_50.hbs +3 -3
- package/src/stories/views/components/grid/grid_group_33_item_100.hbs +1 -1
- package/src/stories/views/components/grid/grid_group_50_item_100.hbs +1 -1
- package/src/stories/views/components/grid/grid_group_66_item_100.hbs +1 -1
- package/src/stories/views/components/teaser/components/teaser_title_classes.hbs +14 -14
- package/src/stories/views/components/teaser/group_teaser/group_teaser.hbs +1 -1
- package/src/stories/views/components/teaser/group_teaser/group_teaser_accented.hbs +1 -1
- package/src/stories/views/components/teaser/teaser_indextext.hbs +1 -1
- package/tailwind.config.js +3 -1
|
@@ -16,13 +16,13 @@ the 4 parameters are:
|
|
|
16
16
|
{{~inline-switch
|
|
17
17
|
_size
|
|
18
18
|
'["hero","100","25"]'
|
|
19
|
-
'["text-lg md:text-
|
|
19
|
+
'["text-lg md:text-5xl","text-lg md:text-5xl","text-lg","text-lg md:text-2xl"]'
|
|
20
20
|
~}}
|
|
21
21
|
{{~else~}}
|
|
22
22
|
{{~inline-switch
|
|
23
23
|
_size
|
|
24
24
|
'["hero","100","25"]'
|
|
25
|
-
'["text-2xl md:text-
|
|
25
|
+
'["text-2xl md:text-5xl","text-2xl md:text-5xl","text-lg","text-2xl"]'
|
|
26
26
|
~}}
|
|
27
27
|
{{~/if~}}
|
|
28
28
|
{{~/case~}}
|
|
@@ -31,13 +31,13 @@ the 4 parameters are:
|
|
|
31
31
|
{{~inline-switch
|
|
32
32
|
_size
|
|
33
33
|
'["hero","100","25"]'
|
|
34
|
-
'["text-lg md:text-
|
|
34
|
+
'["text-lg md:text-5xl","text-lg md:text-5xl","text-lg","text-lg md:text-2xl"]'
|
|
35
35
|
~}}
|
|
36
36
|
{{~else~}}
|
|
37
37
|
{{~inline-switch
|
|
38
38
|
_size
|
|
39
39
|
'["hero","100","25"]'
|
|
40
|
-
'["text-2xl md:text-
|
|
40
|
+
'["text-2xl md:text-5xl","text-2xl md:text-5xl","text-lg","text-2xl"]'
|
|
41
41
|
~}}
|
|
42
42
|
{{~/if~}}
|
|
43
43
|
{{~/case~}}
|
|
@@ -46,13 +46,13 @@ the 4 parameters are:
|
|
|
46
46
|
{{~inline-switch
|
|
47
47
|
_size
|
|
48
48
|
'["hero","100","25"]'
|
|
49
|
-
'["text-lg md:text-
|
|
49
|
+
'["text-lg md:text-5xl","text-lg md:text-5xl","text-lg","text-lg md:text-2xl"]'
|
|
50
50
|
~}}
|
|
51
51
|
{{~else~}}
|
|
52
52
|
{{~inline-switch
|
|
53
53
|
_size
|
|
54
54
|
'["hero","100","25"]'
|
|
55
|
-
'["text-2xl md:text-
|
|
55
|
+
'["text-2xl md:text-5xl","text-2xl md:text-5xl","text-lg","text-2xl"]'
|
|
56
56
|
~}}
|
|
57
57
|
{{~/if~}}
|
|
58
58
|
{{~/case~}}
|
|
@@ -60,28 +60,28 @@ the 4 parameters are:
|
|
|
60
60
|
{{~inline-switch
|
|
61
61
|
_size
|
|
62
62
|
'["hero","100","50"]'
|
|
63
|
-
'["text-2xl md:text-
|
|
63
|
+
'["text-2xl md:text-4xl","text-lg md:text-4xl","text-lg md:text-2xl"]'
|
|
64
64
|
~}}
|
|
65
65
|
{{~/case~}}
|
|
66
66
|
{{~#case 'event-alternative'~}}
|
|
67
67
|
{{~inline-switch
|
|
68
68
|
_size
|
|
69
69
|
'["hero","100","50"]'
|
|
70
|
-
'["text-2xl md:text-
|
|
70
|
+
'["text-2xl md:text-4xl","text-lg md:text-4xl","text-lg md:text-2xl"]'
|
|
71
71
|
~}}
|
|
72
72
|
{{~/case~}}
|
|
73
73
|
{{~#case 'tabbox-alternative'~}}
|
|
74
74
|
{{~inline-switch
|
|
75
75
|
_size
|
|
76
76
|
'["hero","100","50"]'
|
|
77
|
-
'["text-2xl md:text-
|
|
77
|
+
'["text-2xl md:text-4xl","text-lg md:text-4xl","text-lg md:text-2xl"]'
|
|
78
78
|
~}}
|
|
79
79
|
{{~/case~}}
|
|
80
80
|
{{~#case 'poster'~}}
|
|
81
81
|
{{#if _isCopytext~}}
|
|
82
|
-
{{~#if this.showFullSize.isTrue~}}text-xl sm480:text-2xl md:text-
|
|
82
|
+
{{~#if this.showFullSize.isTrue~}}text-xl sm480:text-2xl md:text-5xl{{else}}text-xl sm480:text-2xl{{~/if~}}
|
|
83
83
|
{{else}}
|
|
84
|
-
{{~inline-switch _size '["50","33"]' '["text-2xl md:text-
|
|
84
|
+
{{~inline-switch _size '["50","33"]' '["text-2xl md:text-5xl","text-2xl"]'~}}
|
|
85
85
|
{{/if}}
|
|
86
86
|
{{~/case~}}
|
|
87
87
|
{{~#case 'cluster'~}}
|
|
@@ -92,7 +92,7 @@ the 4 parameters are:
|
|
|
92
92
|
{{/if}}
|
|
93
93
|
{{~/case~}}
|
|
94
94
|
{{~#case 'stage'~}}
|
|
95
|
-
{{~inline-switch _size '["100"]' '[" text-2xl md:text-
|
|
95
|
+
{{~inline-switch _size '["100"]' '[" text-2xl md:text-5xl"," text-2xl"]'}}
|
|
96
96
|
{{~/case~}}
|
|
97
97
|
{{~#case 'calendar'~}}
|
|
98
98
|
text-2xl
|
|
@@ -101,14 +101,14 @@ the 4 parameters are:
|
|
|
101
101
|
{{~inline-switch
|
|
102
102
|
_size
|
|
103
103
|
'["hero","100","25"]'
|
|
104
|
-
'["text-2xl md:text-
|
|
104
|
+
'["text-2xl md:text-5xl","text-2xl md:text-5xl","text-2xl md:text-lg","text-2xl"]'
|
|
105
105
|
~}}
|
|
106
106
|
{{~/case~}}
|
|
107
107
|
{{~#case 'ticker-alternative'~}}
|
|
108
108
|
{{~inline-switch
|
|
109
109
|
_size
|
|
110
110
|
'["hero","100","50"]'
|
|
111
|
-
'["text-2xl md:text-
|
|
111
|
+
'["text-2xl md:text-5xl","text-2xl md:text-2xl","text-lg md:text-2xl"]'
|
|
112
112
|
~}}
|
|
113
113
|
{{~/case~}}
|
|
114
114
|
{{~/switch~}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{{#if this.hasGroupItems}}
|
|
2
2
|
{{#>components/grid/grid_group _backgroundColor=this.backgroundColor }}
|
|
3
3
|
{{~#if this.hasGroupTitle}}
|
|
4
|
-
<{{if this.headlineTag this.headlineTag "h2"}} class="text-2xl {{#unless this.isRelatedContent}} md:text-
|
|
4
|
+
<{{if this.headlineTag this.headlineTag "h2"}} class="text-2xl {{#unless this.isRelatedContent}} md:text-5xl{{else}} justifyLine{{/unless}} col-span-full py-0 font-title {{#if this.backgroundColor}} text-center{{else}} headline-barrier{{/if}}">
|
|
5
5
|
{{~#if this.hasLink}}<a class="no-underline hover:underline decoration-1 md:decoration-2 text-link" href="{{this.link.url}}">{{/if~}}
|
|
6
6
|
{{this.groupTitle}}
|
|
7
7
|
{{~#if this.hasLink}}</a>{{/if~}}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{{#>components/grid/grid_group size=this.teaserSize }}
|
|
3
3
|
<div class="grid items-start content-start h-auto grid-cols-12 col-span-12 py-5 mx-5 group-accented sm:p-5 sm:mx-0 rounded-tl-hr rounded-br-hr bg-highlight-1 gap-x-6 gap-y-5">
|
|
4
4
|
{{~#if this.hasGroupTitle}}
|
|
5
|
-
<h2 class="text-2xl md:text-
|
|
5
|
+
<h2 class="text-2xl md:text-5xl px-5 sm:px-0 col-span-full pt-0 pb-4 font-title {{#if this.backgroundColor}} text-center{{else}} headline-barrier{{/if}}">
|
|
6
6
|
{{~#if this.hasLink}}<a class="no-underline hover:underline decoration-1 md:decoration-2 text-blue-science" href="{{this.link.url}}">{{/if~}}
|
|
7
7
|
{{this.groupTitle}}
|
|
8
8
|
{{~#if this.hasLink}}</a>{{/if~}}
|
package/tailwind.config.js
CHANGED
|
@@ -59,7 +59,9 @@ module.exports = {
|
|
|
59
59
|
'lg': ['1.125rem', '1.5rem'],
|
|
60
60
|
'xl': ['1.25rem', '1.6875rem'],
|
|
61
61
|
'2xl': ['1.375rem', '1.75rem'],
|
|
62
|
-
'
|
|
62
|
+
'3xl': ['1.625rem', '2rem'],
|
|
63
|
+
'4xl': ['1.875rem', '2.25rem'],
|
|
64
|
+
'5xl': ['2.125rem', '2.375rem'],
|
|
63
65
|
},
|
|
64
66
|
boxShadow: {
|
|
65
67
|
'inner': 'inset 0 0px 5px 0 rgba(0, 0, 0, 0.25)',
|