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
|
@@ -40,7 +40,7 @@ Erklärung / Hinweise / Best Practices für "Accessible SVG":
|
|
|
40
40
|
|
|
41
41
|
--}}
|
|
42
42
|
{{#if _icon}}
|
|
43
|
-
<svg class="sb-icon {{~#if _addClass }} {{_addClass}}{{/if}} {{#if _webview}} -webview{{/if}}" role="presentation" aria-hidden="{{defaultIfEmpty _ariaHidden true}}"
|
|
43
|
+
<svg class="sb-icon {{~#if _addClass }} {{_addClass}}{{/if}} {{#if _webview}} -webview{{/if}} {{#>css}}{{/css}}" role="presentation" aria-hidden="{{defaultIfEmpty _ariaHidden true}}"
|
|
44
44
|
{{# if brand}} data-brand="{{brand}}"{{/if}}
|
|
45
45
|
{{~#if _iconTitle }} {{changeRandom~}}
|
|
46
46
|
aria-labelledby="iconTitle--{{getRandom}}"
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
-
{{
|
|
1
|
+
<a {{#with this.link.webviewUrl}}data-webviewurl="{{this}}"{{/with}} href="{{this.link.url}}{{#if this.hasComments}}#commentList{{/if}}"
|
|
2
|
+
class="sb-link ds-link js-load{{#if _css}} {{_css}}{{/if}} {{#if _isSelected}} {{defaultIfEmpty _selectedCssClass "-current"}}{{/if}}"
|
|
3
|
+
{{#if _doNavigationTracking}}
|
|
4
|
+
data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "1","clickLabel":"{{_clickLabelType}}{{#if _clickLabelPrefix1}}::{{_clickLabelPrefix1}}{{/if}}::{{_clickLabelPrefix2}}-Link geklickt"}]}'
|
|
5
|
+
{{/if}}
|
|
6
|
+
{{#if this.isFileDownload}}
|
|
7
|
+
{{#with this.trackingData}}data-hr-click-tracking='{"settings": [{"type":"download","secondLevelId": "{{this.link.secondLevelId}}","clickLabel": "{{this.link.pageName}}"}]}'{{/with}}
|
|
8
|
+
{{/if}}
|
|
9
|
+
{{#if this.link.isTargetBlank}} target="_blank" rel="noopener{{#if this.link.hasNoReferrerFlag}} noreferrer{{/if}}"{{/if}}
|
|
10
|
+
{{#if _isAriaHidden}} aria-hidden="true" tabindex="-1"{{/if}}
|
|
11
|
+
>
|
|
2
12
|
{{~ decorator_body ~}}
|
|
3
13
|
</a>
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
{{#with this.link}}
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
{{#
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
{{/with}}
|
|
1
|
+
<a {{#with this.link.webviewUrl}}data-webviewurl="{{this}}"{{/with}} href="{{this.link.url}}{{#if this.hasComments}}#commentList{{/if}}"
|
|
2
|
+
class="sb-link ds-link js-load {{#if _isSelected}} {{defaultIfEmpty _selectedCssClass "-current"}}{{/if}}{{#if _css}} {{_css}}{{/if}} {{#> css}}{{/css}}"
|
|
3
|
+
{{#if _doNavigationTracking}}
|
|
4
|
+
data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "1","clickLabel":"{{_clickLabelType}}{{#if _clickLabelPrefix1}}::{{_clickLabelPrefix1}}{{/if}}::{{_clickLabelPrefix2}}-Link geklickt"}]}'
|
|
5
|
+
{{/if}}
|
|
6
|
+
{{#if this.isFileDownload}}
|
|
7
|
+
{{#with this.trackingData}}data-hr-click-tracking='{"settings": [{"type":"download","secondLevelId": "{{this.link.secondLevelId}}","clickLabel": "{{this.link.pageName}}"}]}'{{/with}}
|
|
8
|
+
{{/if}}
|
|
9
|
+
{{#if this.link.isTargetBlank}} target="_blank" rel="noopener{{#if this.link.hasNoReferrerFlag}} noreferrer{{/if}}"{{/if}}
|
|
10
|
+
{{#if _isAriaHidden}} aria-hidden="true" tabindex="-1"{{/if}}
|
|
11
|
+
>
|
|
12
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<a {{#with this.link.webviewUrl}}data-webviewurl="{{this}}"{{/with}} href="{{this.link.url}}{{#if this.hasComments}}#commentList{{/if}}"
|
|
2
|
+
class="sb-link ds-link js-load {{#if _isSelected}} {{defaultIfEmpty _selectedCssClass "-current"}}{{/if}}{{#if _css}} {{_css}}{{/if}} {{#> css}}{{/css}}"
|
|
3
|
+
{{#if _doNavigationTracking}}
|
|
4
|
+
data-hr-click-tracking='{"settings": [{"type":"uxAction","secondLevelId": "1","clickLabel":"{{_clickLabelType}}{{#if _clickLabelPrefix1}}::{{_clickLabelPrefix1}}{{/if}}::{{_clickLabelPrefix2}}-Link geklickt"}]}'
|
|
5
|
+
{{/if}}
|
|
6
|
+
{{#if this.isFileDownload}}
|
|
7
|
+
{{#with this.trackingData}}data-hr-click-tracking='{"settings": [{"type":"download","secondLevelId": "{{this.link.secondLevelId}}","clickLabel": "{{this.link.pageName}}"}]}'{{/with}}
|
|
8
|
+
{{/if}}
|
|
9
|
+
{{#if this.link.isTargetBlank}} target="_blank" rel="noopener{{#if this.link.hasNoReferrerFlag}} noreferrer{{/if}}"{{/if}}
|
|
10
|
+
{{#if _isAriaHidden}} aria-hidden="true" tabindex="-1"{{/if}}
|
|
11
|
+
>
|
|
12
|
+
|
|
13
|
+
{{> @partial-block }}
|
|
14
|
+
</a>
|
|
@@ -1,30 +1,15 @@
|
|
|
1
|
-
<button
|
|
2
|
-
{{
|
|
3
|
-
{{
|
|
1
|
+
<button
|
|
2
|
+
{{#if _id}} id="{{_id}}"{{/if}}
|
|
3
|
+
class="ds-button {{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant=_variant _onBackground=_onBackground _disableButtonPress=_disableButtonPress}} {{> components/button/utilities/button_dimension_classes _size=_size}}{{#if _css}} {{_css}}{{/if}} {{#> css}}{{/css}}{{#if _openModal}} js-modalButton{{/if}}"
|
|
4
|
+
{{#if _openModal}} aria-haspopup="true"{{/if}}
|
|
5
|
+
{{~#if _ariaLabel}} aria-label="{{_ariaLabel}}"{{/if}}
|
|
6
|
+
type="{{defaultIfEmpty _type "submit"}}"
|
|
4
7
|
{{~#if _name}} name="{{_name}}"{{/if}}
|
|
5
|
-
{{~#if _title}} title="{{_title}}"{{/if}}
|
|
6
|
-
class="{{_addClass}}{{#if _addClass2}} {{_addClass2}}{{/if}}{{#if _buttonColor}} {{_buttonColor}}{{/if}}{{#if _buttonSpace}} {{> components/button/button_round_classes _teaserSize=_teaserSize _teaserType=_teaserType _isMobile1to1=_isMobile1to1}}{{/if}}{{#if _webview}} -webview{{/if}}"
|
|
8
|
+
{{~#if _title}} title="{{_title}}"{{/if}}
|
|
7
9
|
{{~#if _value}} value="{{_value}}"{{/if}}
|
|
8
10
|
{{~#if _alpineClick}} @click="{{_alpineClick}}"{{/if}}
|
|
9
11
|
{{~#if _x-show}} x-show="{{_x-show}}"{{/if}}
|
|
10
12
|
{{~#if _noFocus}} tabindex="-1"{{/if}}
|
|
11
|
-
>
|
|
12
|
-
{{
|
|
13
|
-
{{> components/base/image/icon
|
|
14
|
-
_icon=_icon
|
|
15
|
-
_iconmap=_iconmap
|
|
16
|
-
_addClass=_addIconClass
|
|
17
|
-
_webview=_webview
|
|
18
|
-
_ariaHidden=false
|
|
19
|
-
_iconTitle=false
|
|
20
|
-
_iconDesc=false
|
|
21
|
-
_iconText=false
|
|
22
|
-
_overlayIcon=false
|
|
23
|
-
}}
|
|
24
|
-
{{/if~}}
|
|
25
|
-
{{~#if _label~}}
|
|
26
|
-
<span {{#if _srOnly}}class="sr-only"{{/if}}>
|
|
27
|
-
{{~_label~}}
|
|
28
|
-
</span>
|
|
29
|
-
{{/if~}}
|
|
13
|
+
{{#> html_properties}}{{/html_properties}}>
|
|
14
|
+
{{> @partial-block }}
|
|
30
15
|
</button>
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
{{> components/base/image/icon _addClass=(appendToDefault _css "w-4 h-4 fill-
|
|
1
|
+
{{> components/base/image/icon _addClass=(appendToDefault _css "ds-button-icon w-4 h-4 fill-current") _icon=_icon _iconmap=_iconmap}}
|
|
2
|
+
{{#*inline "css"}}{{/inline}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<span class=
|
|
1
|
+
<span class='ds-button-label {{defaultIfEmpty _css "hallo"}}'>{{_label}}</span>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{{#> components/base/link_v2 _css=_css _isAriaHidden=_isAriaHidden}}
|
|
2
|
+
{{> @partial-block }}
|
|
3
|
+
{{/components/base/link_v2}}
|
|
4
|
+
{{#*inline "css"~}}
|
|
5
|
+
{{> components/button/utilities/button_base_classes}} {{> components/button/utilities/button_variation_classes _variant=../../_variant _onBackground=../../_onBackground}} {{> components/button/utilities/button_dimension_classes _size=../../_size~}}
|
|
6
|
+
{{~/inline}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
inline-flex items-center font-heading
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{{~inline-switch _size '["sm","md","lg"]' '[" px-2 py-0.5"," p-2"," px-4 py-2.5",""]'~}}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
absolute bottom-0 right-0
|
|
2
|
+
{{~#switch _teaserType~}}
|
|
3
|
+
{{~#case 'standard'~}}
|
|
4
|
+
{{~#if _isMobile1to1~}}
|
|
5
|
+
{{~inline-switch _teaserSize '["25","33"]' '[" m-2"," m-2 md:m-3"," m-2 md:m-4"]'~}}
|
|
6
|
+
{{~else~}}
|
|
7
|
+
{{~inline-switch _teaserSize '["25","33"]' '[" m-2"," m-4 md:m-3"," m-4"]'~}}
|
|
8
|
+
{{~/if~}}
|
|
9
|
+
{{~/case~}}
|
|
10
|
+
{{~#case 'alternative'~}}
|
|
11
|
+
{{~#if _isMobile1to1~}}
|
|
12
|
+
{{~inline-switch
|
|
13
|
+
_teaserSize
|
|
14
|
+
'["hero","100","50"]'
|
|
15
|
+
'[" m-2 md:m-4"," m-2 md:m-3"," m-2"]'
|
|
16
|
+
~}}
|
|
17
|
+
{{~else~}}
|
|
18
|
+
{{~inline-switch _teaserSize '["hero","100","50"]' '[" m-4"," m-2 md:m-3"," m-2"]'~}}
|
|
19
|
+
{{~/if~}}
|
|
20
|
+
{{~/case~}}
|
|
21
|
+
{{~#case 'tabbox-standard'~}}
|
|
22
|
+
{{~#if _isMobile1to1~}}
|
|
23
|
+
{{~inline-switch _teaserSize '["25","33"]' '[" m-2"," m-2 md:m-3"," m-2 md:m-4 "]'~}}
|
|
24
|
+
{{~else~}}
|
|
25
|
+
{{~inline-switch _teaserSize '["25","33"]' '[" m-2"," m-4 md:m-3"," m-4"]'~}}
|
|
26
|
+
{{~/if~}}
|
|
27
|
+
{{~/case~}}
|
|
28
|
+
{{~#case 'tabbox-alternative'~}}
|
|
29
|
+
{{~#if _isMobile1to1~}}
|
|
30
|
+
{{~inline-switch
|
|
31
|
+
_teaserSize
|
|
32
|
+
'["hero","100","50"]'
|
|
33
|
+
'[" m-2 md:m-4"," m-2 md:m-3"," m-2"]'
|
|
34
|
+
~}}
|
|
35
|
+
{{~else~}}
|
|
36
|
+
{{~inline-switch _teaserSize '["hero","100","50"]' '[" m-4"," m-2 md:m-3"," m-2"]'~}}
|
|
37
|
+
{{~/if~}}
|
|
38
|
+
{{~/case~}}
|
|
39
|
+
{{~/switch~}}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{{#if _onBackground~}}
|
|
2
|
+
{{inline-switch
|
|
3
|
+
_variant
|
|
4
|
+
'["primary","secondary","tertiary"]'
|
|
5
|
+
'[" border text-button-primary bg-button-primary--inverted border-button-primary--inverted hover:bg-button-primary--inverted-dark active:bg-button-primary--inverted-dark"," border text-button-primary--inverted border-button-primary--inverted hover:bg-button-primary--inverted-dark hover:text-button-primary active:text-button-primary active:bg-button-primary--inverted-dark"," bg-transparent border-transparent text-button-inverted hover:bg-button-primary--inverted-dark hover:text-button-primary hover:border-button-primary--inverted-dark active:text-button-primary active:bg-button-primary--inverted-dark"," border text-button-primary bg-button-primary--inverted border-button-primary--inverted hover:bg-button-primary--inverted-dark active:bg-button-primary--inverted-dark"]'
|
|
6
|
+
~}}
|
|
7
|
+
{{else}}
|
|
8
|
+
{{~inline-switch
|
|
9
|
+
_variant
|
|
10
|
+
'["primary","secondary","tertiary"]'
|
|
11
|
+
'[" border text-button-primary--inverted bg-button-primary border-button-primary hover:bg-button-primary--dark hover:border-button-primary--dark active:bg-button-primary--dark"," border text-button-secondary border-button-primary hover:bg-button-primary--inverted active:bg-button-primary--inverted"," border bg-transparent border-transparent text-button-primary hover:bg-button-primary--inverted hover:border-button-primary active:bg-button-primary--inverted"," border text-button-primary--inverted bg-button-primary border-button-primary hover:bg-button-primary--dark hover:border-button-primary--dark active:bg-button-primary--dark"]'
|
|
12
|
+
~}}
|
|
13
|
+
{{/if}}
|
|
14
|
+
{{~#unless _disableButtonPress}} active:scale-95{{/unless}}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
{{#if this.isAutosuggest}}
|
|
7
7
|
<div class="flex mx-0 w-full h-10 border-blue-congress align-center{{#if _autoSuggestContainerCss}} {{_autoSuggestContainerCss}}{{/if}}">
|
|
8
8
|
<input x-ref="autosuggestInput"
|
|
9
|
-
class="{{#if _inputclass }}{{_inputclass}}{{/if}} w-full h-10 pl-2 border-b-8 border-white bg-
|
|
9
|
+
class="{{#if _inputclass }}{{_inputclass}}{{/if}} w-full h-10 pl-2 border-b-8 border-white bg-gray-alabaster text-gray-dark placeholder:text-gray-dark focus:outline-none js-autosuggest-input"
|
|
10
10
|
type="text"
|
|
11
11
|
placeholder="Eintrag filtern"/>
|
|
12
12
|
</div>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
_doNavigationTracking="true"
|
|
11
11
|
_clickLabelType="Contentnavigation"
|
|
12
12
|
_clickLabelPrefix1=this.title
|
|
13
|
-
_css="flex
|
|
13
|
+
_css="flex items-center pt-2.5 px-2 whitespace-nowrap overflow-hidden"
|
|
14
14
|
_isSelected=this.isSelected
|
|
15
15
|
_selectedCssClass="is-selected"
|
|
16
16
|
}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<footer class='bg-event-calendar-primary text-center'>
|
|
2
2
|
{{#decorator
|
|
3
3
|
'components/base/link'
|
|
4
|
-
_css='block p-2 text-white text-sm font-serif hover:underline underline-offset-3
|
|
4
|
+
_css='block p-2 text-white text-sm font-serif hover:underline underline-offset-3'
|
|
5
5
|
}}
|
|
6
6
|
{{loca 'event_calendar_monthly_overview_link'}}
|
|
7
7
|
{{/decorator}}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<div class="static pl-4 pt-1 pb-3 sm:absolute sm:pl-0 sm:pt-0 sm:pb-0 sm:right-4 sm:bottom-4">
|
|
2
|
-
{{#> components/button/
|
|
2
|
+
{{#> components/button/button _id=(nextRandom) _size="lg"}}
|
|
3
3
|
{{> components/button/components/button_icon _icon="ticket" _iconmap="icons" _css="mr-2"}}
|
|
4
4
|
{{>components/button/components/button_label _label="Tickets"}}
|
|
5
|
-
{{/components/button/
|
|
5
|
+
{{/components/button/button}}
|
|
6
6
|
{{#> components/modal/modal _trigger=(getRandom)}}
|
|
7
7
|
{{#> components/teaser/components/teaser_headline}}
|
|
8
8
|
{{> components/teaser/components/teaser_title _text=(loca 'ticket_modal_headline') _css="text-2xl"}}
|
|
@@ -10,8 +10,12 @@
|
|
|
10
10
|
<p class="text-base font-copy mt-2">{{loca "ticket_modal_text"}}</p>
|
|
11
11
|
|
|
12
12
|
<div class="flex flex-wrap mt-4">
|
|
13
|
-
{{
|
|
14
|
-
|
|
13
|
+
{{#> components/button/link_button _size="lg" _css="js-ticket-ok-button js-modal-close mr-4 mt-4"}}
|
|
14
|
+
{{>components/button/components/button_label _label="Zum Ticketshop" _css=""}}
|
|
15
|
+
{{/components/button/link_button}}
|
|
16
|
+
{{#> components/button/button _size="lg" _variant="tertiary" _value="cancel" _css="mt-4"}}
|
|
17
|
+
{{>components/button/components/button_label _label="Abbrechen" _css=""}}
|
|
18
|
+
{{/components/button/button}}
|
|
15
19
|
</div>
|
|
16
20
|
{{/components/modal/modal}}
|
|
17
21
|
<noscript>
|
|
@@ -20,11 +24,9 @@
|
|
|
20
24
|
display:none;
|
|
21
25
|
}
|
|
22
26
|
</style>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
{{> components/button/components/button_icon _icon="ticket" _iconmap="icons" _css="mr-2"}}
|
|
27
|
+
{{#> components/button/link_button _size="lg"}}
|
|
28
|
+
{{> components/button/components/button_icon _icon="ticket" _iconmap="icons"}}
|
|
26
29
|
{{>components/button/components/button_label _label="Tickets"}}
|
|
27
|
-
{{/components/button/
|
|
28
|
-
{{/components/button/components/button_pseudo_link}}
|
|
30
|
+
{{/components/button/link_button}}
|
|
29
31
|
</noscript>
|
|
30
32
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
</div>
|
|
2
|
-
<div class="grid col-full grid-page my-6{{inline-switch _backgroundColor '["1","2"]' '[" bg-
|
|
2
|
+
<div class="grid col-full grid-page my-6{{inline-switch _backgroundColor '["1","2"]' '[" bg-gray-concrete"," bg-orange-bridesmaid"]'}}">
|
|
3
3
|
<section class="grid grid-cols-12 py-6 sm:px-9.5 col-full sm:col-main gap-x-6 gap-y-9">
|
|
4
4
|
<div class="grid content-start grid-cols-12 col-span-12 gap-x-6 gap-y-6">
|
|
5
5
|
{{> @partial-block }}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
</span>
|
|
12
12
|
{{~#with this.byline~}}
|
|
13
|
-
<span class='ml-2 text-xs font-headingSerif {{#if ../_bylineCss}}{{../_bylineCss}}{{else}}text-
|
|
13
|
+
<span class='ml-2 text-xs font-headingSerif {{#if ../_bylineCss}}{{../_bylineCss}}{{else}}text-gray-scorpion{{/if}}'>
|
|
14
14
|
{{~#if this.bylineSsi~}}
|
|
15
15
|
{{> components/base/loadSSI _context=this.context _templatePath=this.bylineSsi}}
|
|
16
16
|
{{~else~}}
|
|
@@ -10,27 +10,9 @@
|
|
|
10
10
|
{{#with _teaser}}
|
|
11
11
|
{{~> components/base/image/responsive_image this.teaserImage _type=(if this.teaserType this.teaserType 'story') _variant=(if this.content.imageVariant this.content.imageVariant '100-copytext') _addClassImg="ar__content" _noDelay=this.dontLazyload ~}}
|
|
12
12
|
{{/with}}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
_teaserType=_teaserType
|
|
18
|
-
_teaserSize=_teaserSize
|
|
19
|
-
_isMobile1to1=_isMobile1to1
|
|
20
|
-
_showIcon=true
|
|
21
|
-
_icon=_mediaButtonIcon
|
|
22
|
-
_label=_mediaButtonLabel
|
|
23
|
-
_srOnly="true"
|
|
24
|
-
_alpineClick="avStart = !avStart; $dispatch('player_start')"
|
|
25
|
-
_aria=""
|
|
26
|
-
_title=""
|
|
27
|
-
_name=""
|
|
28
|
-
_value=""
|
|
29
|
-
_iconmap="icons"
|
|
30
|
-
_addIconClass=""
|
|
31
|
-
_webview=""
|
|
32
|
-
_x-show=""
|
|
33
|
-
_noFocus=""
|
|
34
|
-
}}
|
|
13
|
+
|
|
14
|
+
{{#with this}}
|
|
15
|
+
{{> components/mediaplayer/mediaplayer_button _isLivestream=_isLivestream _icon=_mediaButtonIcon _label=_mediaButtonLabel _teaserSize=_teaserSize _teaserType=_teaserType _isMobile1to1=_isMobile1to1}}
|
|
16
|
+
{{/with}}
|
|
35
17
|
</div>
|
|
36
18
|
{{/if}}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{{#with this}}
|
|
2
|
+
{{#> components/button/button _variant="tertiary" _type="button" _css=_css _alpineClick="avStart = !avStart; $dispatch('player_start')"}}
|
|
3
|
+
{{#> components/base/image/icon _addClass=(appendToDefault (if ../../_isLivestream "text-orange-spicyCarrot group-hover:fill-orange-spicyCarrot" "text-media-button group-hover:fill-media-button") "w-10 h-10 fill-white group-hover:text-white inline") _icon=../../_icon}}
|
|
4
|
+
{{#*inline "css"}}{{/inline}}
|
|
5
|
+
{{/components/base/image/icon}}
|
|
6
|
+
{{>components/button/components/button_label _css="sr-only" _label=../../_label}}
|
|
7
|
+
{{/components/button/button}}
|
|
8
|
+
{{#*inline "css"}}js-mediaplayer__button cy-mediaplayer-trigger group rounded-full {{> components/button/utilities/button_on_image_classes _teaserSize=../../_teaserSize _teaserType=../../_teaserType _isMobile1to1=../../_isMobile1to1}}{{/inline}}
|
|
9
|
+
{{/with}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<div class="js-load" data-hr-modal='{"modalTriggerId":"{{defaultIfEmpty _trigger ""}}", "trackingInformations": "
|
|
2
|
-
<dialog class='js-modal p-0 backdrop:bg-
|
|
1
|
+
<div class="js-load" data-hr-modal='{"modalTriggerId":"{{defaultIfEmpty _trigger ""}}", "trackingInformations": "\\" {{this.link.cmsDocument.title}} \\" Ticketlink-Overlay ok geklickt - Dokumenten-Id: {{this.link.cmsDocument.sophoraId}}","dialogPolyfillBaseUrl":"{{resourceUrl (configProperty 'dialogPolyfill.baseUrl')}}"}'>
|
|
2
|
+
<dialog class='js-modal p-0 backdrop:bg-gray-scorpion/90 shadow-md {{defaultIfEmpty _css "sm:max-w-xl"}}'>
|
|
3
3
|
<form method="dialog" class="js-dialog-content p-4">
|
|
4
4
|
{{> @partial-block }}
|
|
5
5
|
</form>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
@resize.window="checkIfScrollable($refs.container)"
|
|
4
4
|
class="sb-brand-navigation lg:container w-full md:px-5 lg:px-10 px-3.5 h-10 lg:h-8">
|
|
5
5
|
|
|
6
|
-
<div class="flex justify-center text-xs list-none text-
|
|
6
|
+
<div class="flex justify-center text-xs list-none text-gray-scorpion ">
|
|
7
7
|
|
|
8
8
|
<template x-if="isScrollable">
|
|
9
9
|
<div>
|
|
@@ -16,7 +16,10 @@
|
|
|
16
16
|
{{~#with this.overviewLink}}
|
|
17
17
|
{{~#if this.link~}}
|
|
18
18
|
<div class="flex mx-5 pb-9 pt-6 min-w-0 {{~inline-switch ../this.realTeaserSize '["100"]' '[" justify-center md:justify-end"," justify-center"]'}}">
|
|
19
|
-
{{
|
|
19
|
+
{{~#> components/button/link_button _variant="secondary" _size="lg" _css="overflow-hidden"}}
|
|
20
|
+
{{>components/button/components/button_label _label=this.title _css="flex-1 truncate"}}
|
|
21
|
+
{{> components/button/components/button_icon _icon="arrow-right" _iconmap="icons" _css=""}}
|
|
22
|
+
{{/components/button/link_button}}
|
|
20
23
|
</div>
|
|
21
24
|
{{~/if~}}
|
|
22
25
|
{{/with~}}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{{#with this.teaserInfo}}
|
|
3
3
|
{{!--Teaser-Info--}}
|
|
4
4
|
{{#if this.showTeaserInfo~}}
|
|
5
|
-
<p class="mt-1 text-xs text-
|
|
5
|
+
<p class="mt-1 text-xs text-gray-scorpion font-headingSerif {{#if ../_ordered}} pl-8 {{/if}}">
|
|
6
6
|
{{~#if this.showTeaserInfoSection}}
|
|
7
7
|
<span>
|
|
8
8
|
{{../this.documentSection~}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{{#decorator 'components/base/link' _css=(appendToDefault (if _firstItem "ds-teaser-focus" "
|
|
1
|
+
{{#decorator 'components/base/link' _css=(appendToDefault (if _firstItem "ds-teaser-focus") "block group") }}
|
|
2
2
|
{{#with this.label}}
|
|
3
3
|
{{#> components/label/label_group _css=(if ../_ordered "pl-8")}}
|
|
4
4
|
{{> components/label/label _type=this.type _text=(loca this.loca) _css=""}}
|
|
@@ -1,20 +1,6 @@
|
|
|
1
|
-
{{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
_addClass="md:hidden absolute top-full right-0 z-20"
|
|
8
|
-
_x-show="avStart"
|
|
9
|
-
_alpineClick=(loca "close_button_alpine_click" _playerId)
|
|
10
|
-
|
|
11
|
-
_isButton="true"
|
|
12
|
-
_buttonColor=""
|
|
13
|
-
_label=""
|
|
14
|
-
_srOnly=true
|
|
15
|
-
_aria=""
|
|
16
|
-
_name=""
|
|
17
|
-
_value=""
|
|
18
|
-
_webview=""
|
|
19
|
-
_noFocus=""
|
|
20
|
-
}}
|
|
1
|
+
{{#with this}}
|
|
2
|
+
{{#> components/button/button _css="absolute top-full right-0 py-3.5 px-3.5 text-blue-700 font-semibold z-20 md:hidden hover:bg-slate-300" _title="Mediaplayer schließen" _variant="tertiary" _x-show="avStart" _alpineClick=(loca "close_button_alpine_click" _playerId)}}
|
|
3
|
+
{{> components/base/image/icon _icon="arrow-up" _addClass="w-3 h-3 fill-current"}}
|
|
4
|
+
{{/components/button/button}}
|
|
5
|
+
{{#*inline "css"}}{{/inline}}
|
|
6
|
+
{{/with}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{#if this.hasByline}}
|
|
2
|
-
<p class="mt-2 text-xs text-
|
|
2
|
+
<p class="mt-2 text-xs text-gray-scorpion font-headingSerif empty:hidden overflow-anywhere hyphens-auto">
|
|
3
3
|
{{!--Teaser-Info--}}
|
|
4
4
|
{{~#with this.teaserInfo~}}
|
|
5
5
|
{{~#if this.showTeaserInfo~}}
|
|
@@ -6,20 +6,12 @@
|
|
|
6
6
|
{{~> components/base/image/responsive_image this.teaserImage _type=this.teaserType _variant=this.imageVariant _noDelay=this.dontLazyload _addClassImg="" ~}}
|
|
7
7
|
{{#if this.isProgram}}
|
|
8
8
|
{{#if this.showMediatheksLink}}
|
|
9
|
-
{{#
|
|
10
|
-
{{> components/
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
_showIcon=true
|
|
16
|
-
_icon='play_button'
|
|
17
|
-
_label='Sendung'
|
|
18
|
-
_srOnly="true"
|
|
19
|
-
_alpineClick=""
|
|
20
|
-
_noFocus="true"
|
|
21
|
-
}}
|
|
22
|
-
{{/decorator}}
|
|
9
|
+
{{#with this}}
|
|
10
|
+
{{> components/base/image/icon _icon="play_button" _addClass="text-media-button fill-white hover:fill-media-button w-10 h-10 inline"}}
|
|
11
|
+
{{#*inline "css"~}}
|
|
12
|
+
{{~> components/button/utilities/button_on_image_classes _teaserSize=this.teaserSize _teaserType=this.teaserType _isMobile1to1=../../_isMobile1to1}}
|
|
13
|
+
{{/inline}}
|
|
14
|
+
{{/with}}
|
|
23
15
|
{{/if}}
|
|
24
16
|
{{/if}}
|
|
25
17
|
|
|
@@ -20,22 +20,25 @@
|
|
|
20
20
|
>
|
|
21
21
|
|
|
22
22
|
{{!-- Button --}}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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="
|
|
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/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
|