hr-design-system-handlebars 1.11.12 → 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.
- package/.storybook/main.js +9 -0
- package/.storybook/manager.js +18 -18
- package/.storybook/preview.js +9 -1
- package/CHANGELOG.md +12 -0
- package/README.md +13 -2
- package/build/handlebars/handlebars.js +1 -1
- package/build/scripts/build.js +1 -1
- package/config.js +1 -0
- package/dist/assets/index.css +223 -190
- package/dist/views/components/base/image/icon.hbs +1 -1
- package/dist/views/components/base/link.hbs +11 -1
- package/dist/views/components/base/link_open.hbs +12 -13
- package/dist/views/components/base/link_v2.hbs +14 -0
- package/dist/views/components/button/button.hbs +9 -24
- package/dist/views/components/button/components/button_icon.hbs +2 -1
- package/dist/views/components/button/components/button_label.hbs +1 -1
- package/dist/views/components/button/link_button.hbs +6 -0
- package/dist/views/components/button/utilities/button_base_classes.hbs +1 -0
- package/dist/views/components/button/utilities/button_dimension_classes.hbs +1 -0
- package/dist/views/components/button/utilities/button_on_image_classes.hbs +39 -0
- package/dist/views/components/button/utilities/button_variation_classes.hbs +14 -0
- package/dist/views/components/content_nav/content_nav_container.hbs +1 -1
- package/dist/views/components/content_nav/content_nav_item.hbs +1 -1
- package/dist/views/components/event/calendar/event_calendar_footer.hbs +1 -1
- package/dist/views/components/event/event_ticket_button.hbs +11 -9
- package/dist/views/components/grid/grid_group_highlight.hbs +1 -1
- package/dist/views/components/label/label_old.hbs +1 -1
- package/dist/views/components/mediaplayer/media_player.hbs +4 -22
- package/dist/views/components/mediaplayer/mediaplayer_button.hbs +9 -0
- package/dist/views/components/modal/modal.hbs +2 -2
- package/dist/views/components/site_header/brand_navigation/brand_navigation.hbs +1 -1
- package/dist/views/components/teaser/cluster/teaser_cluster.hbs +4 -1
- package/dist/views/components/teaser/cluster/teaser_cluster_byline.hbs +1 -1
- package/dist/views/components/teaser/cluster/teaser_cluster_item.hbs +1 -1
- package/dist/views/components/teaser/components/teaser_av_consumption_close_button.hbs +6 -20
- package/dist/views/components/teaser/components/teaser_byline.hbs +1 -1
- package/dist/views/components/teaser/components/teaser_image.hbs +6 -14
- package/dist/views/components/teaser/podcast/podcast_subscribe_button.hbs +18 -15
- package/dist/views/components/teaser/podcast/podcast_title.hbs +2 -2
- package/dist/views/components/teaser/tabbox/group_tabbox.hbs +4 -1
- package/dist/views/components/teaser/tabbox/teaser_tabbox.hbs +10 -11
- package/dist/views/components/teaser/teaser_poster.hbs +5 -1
- package/gulpfile.js +9 -0
- package/package.json +4 -2
- package/src/assets/css/custom-components.css +37 -38
- package/src/assets/css/custom-utilities.css +2 -2
- package/src/assets/fixtures/event/calendar/event_calendar_months.inc.json +5 -1
- package/src/assets/tailwind.css +54 -22
- package/src/stories/conventions-and-datastructure.mdx +217 -4
- package/src/stories/views/components/base/image/icon.hbs +1 -1
- package/src/stories/views/components/base/link.hbs +11 -1
- package/src/stories/views/components/base/link_open.hbs +12 -13
- package/src/stories/views/components/base/link_v2.hbs +14 -0
- package/src/stories/views/components/button/button.hbs +9 -24
- package/src/stories/views/components/button/button.mdx +186 -0
- package/src/stories/views/components/button/button.stories.js +508 -0
- package/src/stories/views/components/button/components/button_icon.hbs +2 -1
- package/src/stories/views/components/button/components/button_icon.mdx +25 -0
- package/src/stories/views/components/button/components/button_icon.stories.js +44 -0
- package/src/stories/views/components/button/components/button_label.hbs +1 -1
- package/src/stories/views/components/button/components/button_label.mdx +25 -0
- package/src/stories/views/components/button/components/button_label.stories.js +33 -0
- package/src/stories/views/components/button/link_button.hbs +6 -0
- package/src/stories/views/components/button/link_button.mdx +137 -0
- package/src/stories/views/components/button/link_button.stories.js +420 -0
- package/src/stories/views/components/button/utilities/button_base_classes.hbs +1 -0
- package/src/stories/views/components/button/utilities/button_dimension_classes.hbs +1 -0
- package/src/stories/views/components/button/utilities/button_on_image_classes.hbs +39 -0
- package/src/stories/views/components/button/utilities/button_variation_classes.hbs +14 -0
- package/src/stories/views/components/content_nav/content_nav_container.hbs +1 -1
- package/src/stories/views/components/content_nav/content_nav_item.hbs +1 -1
- package/src/stories/views/components/event/calendar/event_calendar_footer.hbs +1 -1
- package/src/stories/views/components/event/event_ticket_button.hbs +11 -9
- package/src/stories/views/components/grid/grid_group_highlight.hbs +1 -1
- package/src/stories/views/components/label/label_old.hbs +1 -1
- package/src/stories/views/components/mediaplayer/media_player.hbs +4 -22
- package/src/stories/views/components/mediaplayer/mediaplayer_button.hbs +9 -0
- package/src/stories/views/components/mediaplayer/mediaplayer_button.mdx +82 -0
- package/src/stories/views/components/mediaplayer/mediaplayer_button.stories.js +178 -0
- package/src/stories/views/components/modal/modal.hbs +2 -2
- package/src/stories/views/components/site_header/brand_navigation/brand_navigation.hbs +1 -1
- package/src/stories/views/components/teaser/cluster/teaser_cluster.hbs +4 -1
- package/src/stories/views/components/teaser/cluster/teaser_cluster_byline.hbs +1 -1
- package/src/stories/views/components/teaser/cluster/teaser_cluster_item.hbs +1 -1
- package/src/stories/views/components/teaser/components/teaser_av_consumption_close_button.hbs +6 -20
- package/src/stories/views/components/teaser/components/teaser_byline.hbs +1 -1
- package/src/stories/views/components/teaser/components/teaser_image.hbs +6 -14
- package/src/stories/views/components/teaser/fixtures/teaser_event_calendar_100_serif.json +1 -1
- package/src/stories/views/components/teaser/podcast/podcast_subscribe_button.hbs +18 -15
- package/src/stories/views/components/teaser/podcast/podcast_title.hbs +2 -2
- package/src/stories/views/components/teaser/tabbox/group_tabbox.hbs +4 -1
- package/src/stories/views/components/teaser/tabbox/teaser_tabbox.hbs +10 -11
- package/src/stories/views/components/teaser/teaser_poster.hbs +5 -1
- package/tailwind.config.js +8 -1
- package/dist/views/components/button/button_pseudo.hbs +0 -8
- package/dist/views/components/button/button_pseudo.inc.hbs +0 -18
- package/dist/views/components/button/button_pseudo_v2.hbs +0 -12
- package/dist/views/components/button/button_round.hbs +0 -23
- package/dist/views/components/button/button_round_classes.hbs +0 -46
- package/dist/views/components/button/button_transparent.hbs +0 -17
- package/dist/views/components/button/button_v2.hbs +0 -7
- package/dist/views/components/button/components/button_pseudo_link.hbs +0 -3
- package/src/stories/views/components/button/button_pseudo.hbs +0 -8
- package/src/stories/views/components/button/button_pseudo.inc.hbs +0 -18
- package/src/stories/views/components/button/button_pseudo_v2.hbs +0 -12
- package/src/stories/views/components/button/button_round.hbs +0 -23
- package/src/stories/views/components/button/button_round_classes.hbs +0 -46
- package/src/stories/views/components/button/button_transparent.hbs +0 -17
- package/src/stories/views/components/button/button_v2.hbs +0 -7
- package/src/stories/views/components/button/components/button_pseudo_link.hbs +0 -3
|
@@ -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="
|
|
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="
|
|
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
|
-
{{
|
|
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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
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/tailwind.config.js
CHANGED
|
@@ -272,13 +272,14 @@ module.exports = {
|
|
|
272
272
|
DEFAULT: '#007A7C',
|
|
273
273
|
deeperPool: '#097d8e',
|
|
274
274
|
},
|
|
275
|
-
'
|
|
275
|
+
'gray': {
|
|
276
276
|
alabaster: '#f7f7f7',
|
|
277
277
|
alto: '#e0e0e0',
|
|
278
278
|
boulder: '#797979',
|
|
279
279
|
brightGray: '#E5F2F3',
|
|
280
280
|
concrete: '#f3f3f3',
|
|
281
281
|
dark: '#707070',
|
|
282
|
+
lightGray: '#d4d4d4',
|
|
282
283
|
mercury: '#E6E6E6',
|
|
283
284
|
platinum: '#E5E8E8',
|
|
284
285
|
scorpion: '#606060',
|
|
@@ -337,7 +338,13 @@ module.exports = {
|
|
|
337
338
|
'clusterTeaserLink': 'var(--color-cluster-teaser-link,#000)',
|
|
338
339
|
'clusterTeaserHeadline': 'var(--color-cluster-teaser-headline,#000)',
|
|
339
340
|
'button': 'var(--color-button)',
|
|
341
|
+
'button-primary': 'var(--color-button-primary)',
|
|
342
|
+
'button-primary--dark': 'var(--color-button-primary-dark)',
|
|
343
|
+
'button-primary--inverted': 'var(--color-button-primary-inverted)',
|
|
344
|
+
'button-primary--inverted-dark': 'var(--color-button-primary-inverted-dark)',
|
|
340
345
|
'button-hollow': 'var(--color-button-hollow)',
|
|
346
|
+
'button-secondary': 'var(--color-button-secondary)',
|
|
347
|
+
'button-ghost': 'var(--color-button-ghost)',
|
|
341
348
|
'button-inverted': 'var(--color-button-inverted)',
|
|
342
349
|
'media-button': 'var(--color-media-button)',
|
|
343
350
|
'focus-state': 'var(--color-focus-state)',
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{{#if _withLink}}
|
|
2
|
-
{{#decorator 'components/base/link' _isAriaHidden=_isLinkAriaHidden _css=_linkCss}}
|
|
3
|
-
{{>components/button/button_pseudo.inc _addClass=_addClass _buttonCss=_buttonCss _buttonText=_buttonText _type=_type _isLinkAriaHidden=_isLinkAriaHidden _showIcon=_showIcon _icon=_icon}}
|
|
4
|
-
{{/decorator}}
|
|
5
|
-
{{else}}
|
|
6
|
-
{{>components/button/button_pseudo.inc _addClass=_addClass _buttonCss=_buttonCss _buttonText=_buttonText _type=_type _isLinkAriaHidden=_isLinkAriaHidden _showIcon=_showIcon _icon=_icon}}
|
|
7
|
-
{{/if}}
|
|
8
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<span
|
|
2
|
-
class='px-4 py-2.5 border flex items-center
|
|
3
|
-
{{inline-switch
|
|
4
|
-
_type
|
|
5
|
-
'["normal","hollow","hollow-white"]'
|
|
6
|
-
'["text-button-inverted bg-button hover:bg-button-inverted hover:text-button-hollow hover:border-button-hollow","text-button-hollow border-button-hollow hover:bg-button-inverted","text-button-inverted border-button-inverted hover:bg-button-inverted hover:text-button-hollow hover:border-button-hollow","text-button-inverted bg-button hover:bg-button-inverted hover:text-button-hollow hover:border-button-hollow"]'
|
|
7
|
-
}}
|
|
8
|
-
font-heading{{#if _buttonCss}} {{_buttonCss}}{{/if}}'
|
|
9
|
-
>
|
|
10
|
-
<span class="flex-1 truncate">
|
|
11
|
-
{{_buttonText}}
|
|
12
|
-
</span>
|
|
13
|
-
<span>
|
|
14
|
-
{{~#if _showIcon~}}
|
|
15
|
-
{{> components/base/image/icon _icon=_icon _iconmap=_iconmap _addClass=_addClass _webview=_webview}}
|
|
16
|
-
{{/if~}}
|
|
17
|
-
</span>
|
|
18
|
-
</span>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<span
|
|
3
|
-
class='px-4 py-2.5 border flex items-center font-heading
|
|
4
|
-
{{inline-switch
|
|
5
|
-
_type
|
|
6
|
-
'["hollow","hollow-white","inverted"]'
|
|
7
|
-
'["text-button-hollow border-button-hollow hover:bg-button-inverted","text-button-inverted border-button-inverted hover:bg-button-inverted hover:text-button-hollow hover:border-button-hollow","text-button fill-button border-button bg-button-inverted hover:bg-button hover:text-button-inverted hover:fill-button-inverted hover:border-button-hollow","text-button-inverted bg-button hover:bg-button-inverted hover:text-button-hollow hover:border-button-hollow"]'
|
|
8
|
-
}}
|
|
9
|
-
{{#if _css}} {{_css}}{{/if}}'
|
|
10
|
-
>
|
|
11
|
-
{{> @partial-block }}
|
|
12
|
-
</span>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{{> components/button/button
|
|
2
|
-
_aria=_aria
|
|
3
|
-
_isButton=_isButton
|
|
4
|
-
_title=_title
|
|
5
|
-
_name=_name
|
|
6
|
-
_label=_label
|
|
7
|
-
_value=_value
|
|
8
|
-
_showIcon="true"
|
|
9
|
-
_icon=_icon
|
|
10
|
-
_iconmap=_iconmap
|
|
11
|
-
_addIconClass="w-10 h-10 inline"
|
|
12
|
-
_addClass=_addClass
|
|
13
|
-
_webview=_webview
|
|
14
|
-
_x-show=_x-show
|
|
15
|
-
_alpineClick=_alpineClick
|
|
16
|
-
_srOnly=_srOnly
|
|
17
|
-
_buttonColor=_buttonColor
|
|
18
|
-
_buttonSpace=true
|
|
19
|
-
_teaserType=_teaserType
|
|
20
|
-
_teaserSize=_teaserSize
|
|
21
|
-
_isMobile1to1=_isMobile1to1
|
|
22
|
-
_noFocus=_noFocus
|
|
23
|
-
}}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
{{~#switch _teaserType~}}
|
|
2
|
-
{{~#case 'standard'~}}
|
|
3
|
-
{{~#if _isMobile1to1~}}
|
|
4
|
-
{{~inline-switch
|
|
5
|
-
_teaserSize '["25","33"]' '[" my-2 mx-2"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2 md:my-4 md:mx-4 "]'
|
|
6
|
-
~}}
|
|
7
|
-
{{~else~}}
|
|
8
|
-
{{~inline-switch
|
|
9
|
-
_teaserSize '["25","33"]' '[" my-2 mx-2"," my-4 mx-4 md:my-3 md:mx-3"," my-4 mx-4"]'
|
|
10
|
-
~}}
|
|
11
|
-
{{~/if~}}
|
|
12
|
-
{{~/case~}}
|
|
13
|
-
{{~#case 'alternative'~}}
|
|
14
|
-
{{~#if _isMobile1to1~}}
|
|
15
|
-
{{~inline-switch
|
|
16
|
-
_teaserSize '["hero","100","50"]' '[" my-2 mx-2 md:my-4 md:mx-4"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2"]'
|
|
17
|
-
~}}
|
|
18
|
-
{{~else~}}
|
|
19
|
-
{{~inline-switch
|
|
20
|
-
_teaserSize '["hero","100","50"]' '[" my-4 mx-4"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2"]'
|
|
21
|
-
~}}
|
|
22
|
-
{{~/if~}}
|
|
23
|
-
{{~/case~}}
|
|
24
|
-
{{~#case 'tabbox-standard'~}}
|
|
25
|
-
{{~#if _isMobile1to1~}}
|
|
26
|
-
{{~inline-switch
|
|
27
|
-
_teaserSize '["25","33"]' '[" my-2 mx-2"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2 md:my-4 md:mx-4 "]'
|
|
28
|
-
~}}
|
|
29
|
-
{{~else~}}
|
|
30
|
-
{{~inline-switch
|
|
31
|
-
_teaserSize '["25","33"]' '[" my-2 mx-2"," my-4 mx-4 md:my-3 md:mx-3"," my-4 mx-4"]'
|
|
32
|
-
~}}
|
|
33
|
-
{{~/if~}}
|
|
34
|
-
{{~/case~}}
|
|
35
|
-
{{~#case 'tabbox-alternative'~}}
|
|
36
|
-
{{~#if _isMobile1to1~}}
|
|
37
|
-
{{~inline-switch
|
|
38
|
-
_teaserSize '["hero","100","50"]' '[" my-2 mx-2 md:my-4 md:mx-4"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2"]'
|
|
39
|
-
~}}
|
|
40
|
-
{{~else~}}
|
|
41
|
-
{{~inline-switch
|
|
42
|
-
_teaserSize '["hero","100","50"]' '[" my-4 mx-4"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2"]'
|
|
43
|
-
~}}
|
|
44
|
-
{{~/if~}}
|
|
45
|
-
{{~/case~}}
|
|
46
|
-
{{~/switch~}}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{{> components/button/button
|
|
2
|
-
_aria=_aria
|
|
3
|
-
_isButton=_isButton
|
|
4
|
-
_title=_title
|
|
5
|
-
_name=_name
|
|
6
|
-
_label=_label
|
|
7
|
-
_value=_value
|
|
8
|
-
_showIcon="true"
|
|
9
|
-
_icon=_icon
|
|
10
|
-
_iconmap=_iconmap
|
|
11
|
-
_addIconClass=_addIconClass
|
|
12
|
-
_addClass="bg-transparent hover:bg-slate-300 text-blue-700 font-semibold py-3.5 px-3.5 "
|
|
13
|
-
_addClass2=_addClass
|
|
14
|
-
_webview=_webview
|
|
15
|
-
_x-show=_x-show
|
|
16
|
-
_alpineClick=_alpineClick
|
|
17
|
-
}}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<button{{#if _id}} id="{{_id}}"{{/if}} class="border flex items-center px-4 py-2.5 ds-button {{inline-switch
|
|
2
|
-
_type
|
|
3
|
-
'["hollow","hollow-white","inverted"]'
|
|
4
|
-
'["text-button-hollow border-button-hollow fill-button-hollow hover:bg-button-inverted","text-button-inverted border-button-inverted fill-button-inverted hover:bg-button-inverted hover:text-button-hollow hover:fill-button-hollow hover:border-button-hollow","text-button fill-button border-button bg-button-inverted hover:bg-button hover:text-button-inverted hover:fill-button-inverted hover:border-button-hollow","text-button-inverted fill-button-inverted bg-button hover:bg-button-inverted hover:text-button-hollow hover:border-button-hollow"]'
|
|
5
|
-
}}{{#if _css}} {{_css}}{{/if}}{{#if _openModal}} js-modalButton{{/if}}"{{#if _openModal}} aria-haspopup="true"{{/if}}>
|
|
6
|
-
{{> @partial-block }}
|
|
7
|
-
</button>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{{#if _withLink}}
|
|
2
|
-
{{#decorator 'components/base/link' _isAriaHidden=_isLinkAriaHidden _css=_linkCss}}
|
|
3
|
-
{{>components/button/button_pseudo.inc _addClass=_addClass _buttonCss=_buttonCss _buttonText=_buttonText _type=_type _isLinkAriaHidden=_isLinkAriaHidden _showIcon=_showIcon _icon=_icon}}
|
|
4
|
-
{{/decorator}}
|
|
5
|
-
{{else}}
|
|
6
|
-
{{>components/button/button_pseudo.inc _addClass=_addClass _buttonCss=_buttonCss _buttonText=_buttonText _type=_type _isLinkAriaHidden=_isLinkAriaHidden _showIcon=_showIcon _icon=_icon}}
|
|
7
|
-
{{/if}}
|
|
8
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<span
|
|
2
|
-
class='px-4 py-2.5 border flex items-center
|
|
3
|
-
{{inline-switch
|
|
4
|
-
_type
|
|
5
|
-
'["normal","hollow","hollow-white"]'
|
|
6
|
-
'["text-button-inverted bg-button hover:bg-button-inverted hover:text-button-hollow hover:border-button-hollow","text-button-hollow border-button-hollow hover:bg-button-inverted","text-button-inverted border-button-inverted hover:bg-button-inverted hover:text-button-hollow hover:border-button-hollow","text-button-inverted bg-button hover:bg-button-inverted hover:text-button-hollow hover:border-button-hollow"]'
|
|
7
|
-
}}
|
|
8
|
-
font-heading{{#if _buttonCss}} {{_buttonCss}}{{/if}}'
|
|
9
|
-
>
|
|
10
|
-
<span class="flex-1 truncate">
|
|
11
|
-
{{_buttonText}}
|
|
12
|
-
</span>
|
|
13
|
-
<span>
|
|
14
|
-
{{~#if _showIcon~}}
|
|
15
|
-
{{> components/base/image/icon _icon=_icon _iconmap=_iconmap _addClass=_addClass _webview=_webview}}
|
|
16
|
-
{{/if~}}
|
|
17
|
-
</span>
|
|
18
|
-
</span>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
<span
|
|
3
|
-
class='px-4 py-2.5 border flex items-center font-heading
|
|
4
|
-
{{inline-switch
|
|
5
|
-
_type
|
|
6
|
-
'["hollow","hollow-white","inverted"]'
|
|
7
|
-
'["text-button-hollow border-button-hollow hover:bg-button-inverted","text-button-inverted border-button-inverted hover:bg-button-inverted hover:text-button-hollow hover:border-button-hollow","text-button fill-button border-button bg-button-inverted hover:bg-button hover:text-button-inverted hover:fill-button-inverted hover:border-button-hollow","text-button-inverted bg-button hover:bg-button-inverted hover:text-button-hollow hover:border-button-hollow"]'
|
|
8
|
-
}}
|
|
9
|
-
{{#if _css}} {{_css}}{{/if}}'
|
|
10
|
-
>
|
|
11
|
-
{{> @partial-block }}
|
|
12
|
-
</span>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{{> components/button/button
|
|
2
|
-
_aria=_aria
|
|
3
|
-
_isButton=_isButton
|
|
4
|
-
_title=_title
|
|
5
|
-
_name=_name
|
|
6
|
-
_label=_label
|
|
7
|
-
_value=_value
|
|
8
|
-
_showIcon="true"
|
|
9
|
-
_icon=_icon
|
|
10
|
-
_iconmap=_iconmap
|
|
11
|
-
_addIconClass="w-10 h-10 inline"
|
|
12
|
-
_addClass=_addClass
|
|
13
|
-
_webview=_webview
|
|
14
|
-
_x-show=_x-show
|
|
15
|
-
_alpineClick=_alpineClick
|
|
16
|
-
_srOnly=_srOnly
|
|
17
|
-
_buttonColor=_buttonColor
|
|
18
|
-
_buttonSpace=true
|
|
19
|
-
_teaserType=_teaserType
|
|
20
|
-
_teaserSize=_teaserSize
|
|
21
|
-
_isMobile1to1=_isMobile1to1
|
|
22
|
-
_noFocus=_noFocus
|
|
23
|
-
}}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
{{~#switch _teaserType~}}
|
|
2
|
-
{{~#case 'standard'~}}
|
|
3
|
-
{{~#if _isMobile1to1~}}
|
|
4
|
-
{{~inline-switch
|
|
5
|
-
_teaserSize '["25","33"]' '[" my-2 mx-2"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2 md:my-4 md:mx-4 "]'
|
|
6
|
-
~}}
|
|
7
|
-
{{~else~}}
|
|
8
|
-
{{~inline-switch
|
|
9
|
-
_teaserSize '["25","33"]' '[" my-2 mx-2"," my-4 mx-4 md:my-3 md:mx-3"," my-4 mx-4"]'
|
|
10
|
-
~}}
|
|
11
|
-
{{~/if~}}
|
|
12
|
-
{{~/case~}}
|
|
13
|
-
{{~#case 'alternative'~}}
|
|
14
|
-
{{~#if _isMobile1to1~}}
|
|
15
|
-
{{~inline-switch
|
|
16
|
-
_teaserSize '["hero","100","50"]' '[" my-2 mx-2 md:my-4 md:mx-4"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2"]'
|
|
17
|
-
~}}
|
|
18
|
-
{{~else~}}
|
|
19
|
-
{{~inline-switch
|
|
20
|
-
_teaserSize '["hero","100","50"]' '[" my-4 mx-4"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2"]'
|
|
21
|
-
~}}
|
|
22
|
-
{{~/if~}}
|
|
23
|
-
{{~/case~}}
|
|
24
|
-
{{~#case 'tabbox-standard'~}}
|
|
25
|
-
{{~#if _isMobile1to1~}}
|
|
26
|
-
{{~inline-switch
|
|
27
|
-
_teaserSize '["25","33"]' '[" my-2 mx-2"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2 md:my-4 md:mx-4 "]'
|
|
28
|
-
~}}
|
|
29
|
-
{{~else~}}
|
|
30
|
-
{{~inline-switch
|
|
31
|
-
_teaserSize '["25","33"]' '[" my-2 mx-2"," my-4 mx-4 md:my-3 md:mx-3"," my-4 mx-4"]'
|
|
32
|
-
~}}
|
|
33
|
-
{{~/if~}}
|
|
34
|
-
{{~/case~}}
|
|
35
|
-
{{~#case 'tabbox-alternative'~}}
|
|
36
|
-
{{~#if _isMobile1to1~}}
|
|
37
|
-
{{~inline-switch
|
|
38
|
-
_teaserSize '["hero","100","50"]' '[" my-2 mx-2 md:my-4 md:mx-4"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2"]'
|
|
39
|
-
~}}
|
|
40
|
-
{{~else~}}
|
|
41
|
-
{{~inline-switch
|
|
42
|
-
_teaserSize '["hero","100","50"]' '[" my-4 mx-4"," my-2 mx-2 md:my-3 md:mx-3"," my-2 mx-2"]'
|
|
43
|
-
~}}
|
|
44
|
-
{{~/if~}}
|
|
45
|
-
{{~/case~}}
|
|
46
|
-
{{~/switch~}}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{{> components/button/button
|
|
2
|
-
_aria=_aria
|
|
3
|
-
_isButton=_isButton
|
|
4
|
-
_title=_title
|
|
5
|
-
_name=_name
|
|
6
|
-
_label=_label
|
|
7
|
-
_value=_value
|
|
8
|
-
_showIcon="true"
|
|
9
|
-
_icon=_icon
|
|
10
|
-
_iconmap=_iconmap
|
|
11
|
-
_addIconClass=_addIconClass
|
|
12
|
-
_addClass="bg-transparent hover:bg-slate-300 text-blue-700 font-semibold py-3.5 px-3.5 "
|
|
13
|
-
_addClass2=_addClass
|
|
14
|
-
_webview=_webview
|
|
15
|
-
_x-show=_x-show
|
|
16
|
-
_alpineClick=_alpineClick
|
|
17
|
-
}}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<button{{#if _id}} id="{{_id}}"{{/if}} class="border flex items-center px-4 py-2.5 ds-button {{inline-switch
|
|
2
|
-
_type
|
|
3
|
-
'["hollow","hollow-white","inverted"]'
|
|
4
|
-
'["text-button-hollow border-button-hollow fill-button-hollow hover:bg-button-inverted","text-button-inverted border-button-inverted fill-button-inverted hover:bg-button-inverted hover:text-button-hollow hover:fill-button-hollow hover:border-button-hollow","text-button fill-button border-button bg-button-inverted hover:bg-button hover:text-button-inverted hover:fill-button-inverted hover:border-button-hollow","text-button-inverted fill-button-inverted bg-button hover:bg-button-inverted hover:text-button-hollow hover:border-button-hollow"]'
|
|
5
|
-
}}{{#if _css}} {{_css}}{{/if}}{{#if _openModal}} js-modalButton{{/if}}"{{#if _openModal}} aria-haspopup="true"{{/if}}>
|
|
6
|
-
{{> @partial-block }}
|
|
7
|
-
</button>
|