hr-design-system-handlebars 1.114.53 → 1.114.55
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 +26 -0
- package/dist/assets/index.css +3 -3
- package/dist/views/components/content/copytext/components/image/image.hbs +38 -59
- package/dist/views/components/forms/components/choice.hbs +3 -3
- package/dist/views/components/forms/components/choiceGroup.hbs +3 -3
- package/dist/views/components/forms/components/input.hbs +2 -2
- package/dist/views/components/forms/components/select.hbs +4 -4
- package/dist/views/components/forms/components/upload.hbs +3 -3
- package/dist/views_static/components/content/copytext/components/image/image.hbs +38 -59
- package/package.json +1 -1
- package/src/stories/views/components/content/copytext/components/image/image.hbs +38 -59
- package/src/stories/views/components/forms/components/choice.hbs +3 -3
- package/src/stories/views/components/forms/components/choiceGroup.hbs +3 -3
- package/src/stories/views/components/forms/components/input.hbs +2 -2
- package/src/stories/views/components/forms/components/select.hbs +4 -4
- package/src/stories/views/components/forms/components/upload.hbs +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
# v1.114.55 (Tue Jan 14 2025)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- Roll-back image aspectRatio [#1204](https://github.com/mumprod/hr-design-system-handlebars/pull/1204) ([@Paul-Atreidis](https://github.com/Paul-Atreidis))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- [@Paul-Atreidis](https://github.com/Paul-Atreidis)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# v1.114.54 (Mon Jan 13 2025)
|
|
14
|
+
|
|
15
|
+
#### 🐛 Bug Fix
|
|
16
|
+
|
|
17
|
+
- Form Bug - Context Problems fixed [#1203](https://github.com/mumprod/hr-design-system-handlebars/pull/1203) (saad.elbaciri@hr.de [@eduardo-hr](https://github.com/eduardo-hr) [@vascoeduardo](https://github.com/vascoeduardo))
|
|
18
|
+
|
|
19
|
+
#### Authors: 3
|
|
20
|
+
|
|
21
|
+
- [@eduardo-hr](https://github.com/eduardo-hr)
|
|
22
|
+
- selbaciri (saad.elbaciri@hr.de)
|
|
23
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
1
27
|
# v1.114.53 (Mon Jan 13 2025)
|
|
2
28
|
|
|
3
29
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -3711,7 +3711,7 @@ article #commentList {
|
|
|
3711
3711
|
border-bottom-color: var(--color-secondary-ds);
|
|
3712
3712
|
}
|
|
3713
3713
|
.counter-reset {
|
|
3714
|
-
counter-reset:
|
|
3714
|
+
counter-reset: cnt1736863911674;
|
|
3715
3715
|
}
|
|
3716
3716
|
html { scroll-behavior: smooth; }
|
|
3717
3717
|
.placeholder-text-xs::-webkit-input-placeholder {
|
|
@@ -4126,7 +4126,7 @@ html { scroll-behavior: smooth; }
|
|
|
4126
4126
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
4127
4127
|
}
|
|
4128
4128
|
.-ordered {
|
|
4129
|
-
counter-increment:
|
|
4129
|
+
counter-increment: cnt1736863911674 1;
|
|
4130
4130
|
}
|
|
4131
4131
|
.-ordered::before {
|
|
4132
4132
|
position: absolute;
|
|
@@ -4144,7 +4144,7 @@ html { scroll-behavior: smooth; }
|
|
|
4144
4144
|
--tw-text-opacity: 1;
|
|
4145
4145
|
color: rgba(0, 0, 0, 1);
|
|
4146
4146
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
4147
|
-
content: counter(
|
|
4147
|
+
content: counter(cnt1736863911674);
|
|
4148
4148
|
}
|
|
4149
4149
|
/*! ****************************/
|
|
4150
4150
|
/*! DataPolicy stuff */
|
|
@@ -1,60 +1,39 @@
|
|
|
1
|
-
{{
|
|
2
|
-
|
|
3
|
-
{{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
{{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
{{~/case~}}
|
|
40
|
-
{{~#case '1to1'~}}
|
|
41
|
-
{{#if this.showFullSize.isTrue}}
|
|
42
|
-
{{> components/content/copytext/components/image/figure
|
|
43
|
-
_cssClass="mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-copytext-teaser-half]:mt-0 sm:my-14 clear-both article-full-width sm:article-narrow"
|
|
44
|
-
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
45
|
-
_type="story"
|
|
46
|
-
_variant="100-copytext"
|
|
47
|
-
_pictureAddClass="ar-1-1"
|
|
48
|
-
_isWebview=_isWebview}}
|
|
49
|
-
{{else}}
|
|
50
|
-
{{> components/content/copytext/components/image/figure
|
|
51
|
-
_cssClass="hrds-copytext-teaser-half mt-12 mb-8 sm:mt-6 sm:mb-5 article-full-width sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid"
|
|
52
|
-
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
53
|
-
_type="story"
|
|
54
|
-
_variant="copytext"
|
|
55
|
-
_pictureAddClass="ar-1-1"
|
|
56
|
-
_isWebview=_isWebview}}
|
|
57
|
-
{{/if}}
|
|
58
|
-
{{~/case~}}
|
|
59
|
-
{{~/switch~}}
|
|
1
|
+
{{#if this.showPortrait.isTrue }}
|
|
2
|
+
{{#if this.showFullSize.isTrue }}
|
|
3
|
+
{{> components/content/copytext/components/image/figure
|
|
4
|
+
_cssClass="mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-copytext-teaser-half]:mt-0 sm:my-14 clear-both article-full-width sm:article-narrow"
|
|
5
|
+
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
6
|
+
_type="story"
|
|
7
|
+
_variant="100-copytext-portrait"
|
|
8
|
+
_noAr="true"
|
|
9
|
+
_isWebview=_isWebview}}
|
|
10
|
+
{{else}}
|
|
11
|
+
{{> components/content/copytext/components/image/figure
|
|
12
|
+
_cssClass="hrds-copytext-teaser-half mt-12 mb-8 article-full-width sm:article-narrow sm:mt-6 sm:mb-5 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid"
|
|
13
|
+
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
14
|
+
_type="story"
|
|
15
|
+
_variant="copytext-portrait"
|
|
16
|
+
_noAr="true"
|
|
17
|
+
_isWebview=_isWebview}}
|
|
18
|
+
{{/if}}
|
|
19
|
+
{{else}}
|
|
20
|
+
{{#if this.showFullSize.isTrue}}
|
|
21
|
+
{{> components/content/copytext/components/image/figure
|
|
22
|
+
_cssClass="mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-copytext-teaser-half]:mt-0 sm:my-14 clear-both article-full-width sm:article-narrow"
|
|
23
|
+
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
24
|
+
_type="story"
|
|
25
|
+
_variant="100-copytext"
|
|
26
|
+
_pictureAddClass="ar-16-9"
|
|
27
|
+
_isWebview=_isWebview}}
|
|
28
|
+
{{else}}
|
|
29
|
+
{{> components/content/copytext/components/image/figure
|
|
30
|
+
_cssClass="hrds-copytext-teaser-half mt-12 mb-8 sm:mt-6 sm:mb-5 article-full-width sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid"
|
|
31
|
+
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
32
|
+
_type="story"
|
|
33
|
+
_variant="copytext"
|
|
34
|
+
_pictureAddClass="ar-16-9"
|
|
35
|
+
_isWebview=_isWebview}}
|
|
36
|
+
{{/if}}
|
|
37
|
+
{{/if}}
|
|
38
|
+
|
|
60
39
|
|
|
@@ -83,10 +83,10 @@
|
|
|
83
83
|
</div>
|
|
84
84
|
{{#unless _inGroup}}
|
|
85
85
|
{{#>components/forms/components/supportingTextBox }}
|
|
86
|
-
{{#if _description}}
|
|
87
|
-
<div class="text-xs text-gray-scorpion dark:text-text-dark" {{#if _required}}:class="{'hidden': hideDescription() }"{{/if}}>{{_description}}</div>
|
|
86
|
+
{{#if ../../_description-adjust_context}}
|
|
87
|
+
<div class="text-xs text-gray-scorpion dark:text-text-dark" {{#if ../../_required-adjust_context}}:class="{'hidden': hideDescription() }"{{/if}}>{{../../_description-adjust_context}}</div>
|
|
88
88
|
{{/if}}
|
|
89
|
-
{{#if _required}}
|
|
89
|
+
{{#if ../../_required-adjust_context}}
|
|
90
90
|
<div class="hidden text-xs text-error dark:text-error-dark" :class="{'hidden': hideError()}" x-text="errorMessage"></div>
|
|
91
91
|
{{/if}}
|
|
92
92
|
{{/components/forms/components/supportingTextBox }}
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
{{/each}}
|
|
41
41
|
</div>
|
|
42
42
|
{{#>components/forms/components/supportingTextBox }}
|
|
43
|
-
{{#if _description}}
|
|
44
|
-
<div class="text-xs text-gray-scorpion dark:text-text-dark" {{#if _required}}:class="{'hidden': hideDescription()}"{{/if}}>{{{_description}}}</div>
|
|
43
|
+
{{#if ../../_description-adjust_context}}
|
|
44
|
+
<div class="text-xs text-gray-scorpion dark:text-text-dark" {{#if ../../_required-adjust_context}}:class="{'hidden': hideDescription()}"{{/if}}>{{{../../_description-adjust_context}}}</div>
|
|
45
45
|
{{/if}}
|
|
46
|
-
{{#if _required}}
|
|
46
|
+
{{#if ../../_required-adjust_context}}
|
|
47
47
|
<div class="hidden text-xs text-error dark:text-error-dark" :class="{'hidden': hideError()}" x-text="errorMessage"></div>
|
|
48
48
|
{{/if}}
|
|
49
49
|
{{/components/forms/components/supportingTextBox }}
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
</div>
|
|
62
62
|
|
|
63
63
|
{{#>components/forms/components/supportingTextBox }}
|
|
64
|
-
{{#if _description}}
|
|
65
|
-
<div class="pl-4 text-xs text-gray-scorpion dark:text-text-dark" :class="{'hidden': hideDescription() }">{{{_description}}}</div>
|
|
64
|
+
{{#if ../../_description-adjust_context}}
|
|
65
|
+
<div class="pl-4 text-xs text-gray-scorpion dark:text-text-dark" :class="{'hidden': hideDescription() }">{{{../../_description-adjust_context}}}</div>
|
|
66
66
|
{{/if}}
|
|
67
67
|
|
|
68
68
|
<div class="hidden pl-4 text-xs text-error dark:text-error-dark" :class="{'hidden': hideError()}" x-text="errorMessage"></div>
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
{{_label}}{{#if _required}}*{{/if}}
|
|
42
42
|
</label>
|
|
43
43
|
{{#>components/forms/components/supportingTextBox }}
|
|
44
|
-
{{#if _description}}
|
|
45
|
-
<div class="pl-4 text-xs text-gray-scorpion dark:text-text-dark" :class="{'hidden': hideDescription()}">{{{_description}}}</div>
|
|
44
|
+
{{#if ../../_description-adjust_context}}
|
|
45
|
+
<div class="pl-4 text-xs text-gray-scorpion dark:text-text-dark" :class="{'hidden': hideDescription()}">{{{../../_description-adjust_context}}}</div>
|
|
46
46
|
{{/if}}
|
|
47
|
-
{{#if _required}}
|
|
48
|
-
<div class="hidden pl-4 text-xs text-error dark:text-error-dark" :class="{'hidden': hideError()}" >{{_errorMessage}}</div>
|
|
47
|
+
{{#if ../../_required-adjust_context}}
|
|
48
|
+
<div class="hidden pl-4 text-xs text-error dark:text-error-dark" :class="{'hidden': hideError()}" >{{../../_errorMessage-adjust_context}}</div>
|
|
49
49
|
{{/if}}
|
|
50
50
|
{{/components/forms/components/supportingTextBox }}
|
|
51
51
|
<div class="absolute bg-white right-0 p-4 py-3 transform border-l peer-focus:border-r peer-focus:border-l-0 pointer-events-none top-1.5 peer-focus:rotate-180">
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
</div>
|
|
63
63
|
</div>
|
|
64
64
|
{{#>components/forms/components/supportingTextBox }}
|
|
65
|
-
{{#if _description}}
|
|
66
|
-
<div class="text-xs text-gray-500 dark:text-text-dark" {{#if _required}}:class="{'hidden': hideDescription()}"{{/if}}>{{{_description}}}</div>
|
|
65
|
+
{{#if ../../_description-adjust_context}}
|
|
66
|
+
<div class="text-xs text-gray-500 dark:text-text-dark" {{#if ../../_required-adjust_context}}:class="{'hidden': hideDescription()}"{{/if}}>{{{../../_description-adjust_context}}}</div>
|
|
67
67
|
{{/if}}
|
|
68
|
-
{{#if _required}}
|
|
68
|
+
{{#if ../../_required-adjust_context}}
|
|
69
69
|
<div class="hidden text-xs text-error dark:text-error-dark" :class="{'hidden': hideError()}" x-text="errorMessage"></div>
|
|
70
70
|
{{/if}}
|
|
71
71
|
{{/components/forms/components/supportingTextBox }}
|
|
@@ -1,60 +1,39 @@
|
|
|
1
|
-
{{
|
|
2
|
-
|
|
3
|
-
{{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
{{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
{{~/case~}}
|
|
40
|
-
{{~#case '1to1'~}}
|
|
41
|
-
{{#if this.showFullSize.isTrue}}
|
|
42
|
-
{{> components/content/copytext/components/image/figure
|
|
43
|
-
_cssClass="mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-copytext-teaser-half]:mt-0 sm:my-14 clear-both article-full-width sm:article-narrow"
|
|
44
|
-
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
45
|
-
_type="story"
|
|
46
|
-
_variant="100-copytext"
|
|
47
|
-
_pictureAddClass="ar-1-1"
|
|
48
|
-
_isWebview=_isWebview}}
|
|
49
|
-
{{else}}
|
|
50
|
-
{{> components/content/copytext/components/image/figure
|
|
51
|
-
_cssClass="hrds-copytext-teaser-half mt-12 mb-8 sm:mt-6 sm:mb-5 article-full-width sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid"
|
|
52
|
-
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
53
|
-
_type="story"
|
|
54
|
-
_variant="copytext"
|
|
55
|
-
_pictureAddClass="ar-1-1"
|
|
56
|
-
_isWebview=_isWebview}}
|
|
57
|
-
{{/if}}
|
|
58
|
-
{{~/case~}}
|
|
59
|
-
{{~/switch~}}
|
|
1
|
+
{{#if this.showPortrait.isTrue }}
|
|
2
|
+
{{#if this.showFullSize.isTrue }}
|
|
3
|
+
{{> components/content/copytext/components/image/figure
|
|
4
|
+
_cssClass="mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-copytext-teaser-half]:mt-0 sm:my-14 clear-both article-full-width sm:article-narrow"
|
|
5
|
+
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
6
|
+
_type="story"
|
|
7
|
+
_variant="100-copytext-portrait"
|
|
8
|
+
_noAr="true"
|
|
9
|
+
_isWebview=_isWebview}}
|
|
10
|
+
{{else}}
|
|
11
|
+
{{> components/content/copytext/components/image/figure
|
|
12
|
+
_cssClass="hrds-copytext-teaser-half mt-12 mb-8 article-full-width sm:article-narrow sm:mt-6 sm:mb-5 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid"
|
|
13
|
+
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
14
|
+
_type="story"
|
|
15
|
+
_variant="copytext-portrait"
|
|
16
|
+
_noAr="true"
|
|
17
|
+
_isWebview=_isWebview}}
|
|
18
|
+
{{/if}}
|
|
19
|
+
{{else}}
|
|
20
|
+
{{#if this.showFullSize.isTrue}}
|
|
21
|
+
{{> components/content/copytext/components/image/figure
|
|
22
|
+
_cssClass="mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-copytext-teaser-half]:mt-0 sm:my-14 clear-both article-full-width sm:article-narrow"
|
|
23
|
+
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
24
|
+
_type="story"
|
|
25
|
+
_variant="100-copytext"
|
|
26
|
+
_pictureAddClass="ar-16-9"
|
|
27
|
+
_isWebview=_isWebview}}
|
|
28
|
+
{{else}}
|
|
29
|
+
{{> components/content/copytext/components/image/figure
|
|
30
|
+
_cssClass="hrds-copytext-teaser-half mt-12 mb-8 sm:mt-6 sm:mb-5 article-full-width sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid"
|
|
31
|
+
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
32
|
+
_type="story"
|
|
33
|
+
_variant="copytext"
|
|
34
|
+
_pictureAddClass="ar-16-9"
|
|
35
|
+
_isWebview=_isWebview}}
|
|
36
|
+
{{/if}}
|
|
37
|
+
{{/if}}
|
|
38
|
+
|
|
60
39
|
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"repository": "https://github.com/szuelch/hr-design-system-handlebars",
|
|
9
|
-
"version": "1.114.
|
|
9
|
+
"version": "1.114.55",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
12
|
"storybook": "storybook dev -p 6006 public",
|
|
@@ -1,60 +1,39 @@
|
|
|
1
|
-
{{
|
|
2
|
-
|
|
3
|
-
{{
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
{{
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
{{~/case~}}
|
|
40
|
-
{{~#case '1to1'~}}
|
|
41
|
-
{{#if this.showFullSize.isTrue}}
|
|
42
|
-
{{> components/content/copytext/components/image/figure
|
|
43
|
-
_cssClass="mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-copytext-teaser-half]:mt-0 sm:my-14 clear-both article-full-width sm:article-narrow"
|
|
44
|
-
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
45
|
-
_type="story"
|
|
46
|
-
_variant="100-copytext"
|
|
47
|
-
_pictureAddClass="ar-1-1"
|
|
48
|
-
_isWebview=_isWebview}}
|
|
49
|
-
{{else}}
|
|
50
|
-
{{> components/content/copytext/components/image/figure
|
|
51
|
-
_cssClass="hrds-copytext-teaser-half mt-12 mb-8 sm:mt-6 sm:mb-5 article-full-width sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid"
|
|
52
|
-
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
53
|
-
_type="story"
|
|
54
|
-
_variant="copytext"
|
|
55
|
-
_pictureAddClass="ar-1-1"
|
|
56
|
-
_isWebview=_isWebview}}
|
|
57
|
-
{{/if}}
|
|
58
|
-
{{~/case~}}
|
|
59
|
-
{{~/switch~}}
|
|
1
|
+
{{#if this.showPortrait.isTrue }}
|
|
2
|
+
{{#if this.showFullSize.isTrue }}
|
|
3
|
+
{{> components/content/copytext/components/image/figure
|
|
4
|
+
_cssClass="mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-copytext-teaser-half]:mt-0 sm:my-14 clear-both article-full-width sm:article-narrow"
|
|
5
|
+
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
6
|
+
_type="story"
|
|
7
|
+
_variant="100-copytext-portrait"
|
|
8
|
+
_noAr="true"
|
|
9
|
+
_isWebview=_isWebview}}
|
|
10
|
+
{{else}}
|
|
11
|
+
{{> components/content/copytext/components/image/figure
|
|
12
|
+
_cssClass="hrds-copytext-teaser-half mt-12 mb-8 article-full-width sm:article-narrow sm:mt-6 sm:mb-5 sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid"
|
|
13
|
+
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
14
|
+
_type="story"
|
|
15
|
+
_variant="copytext-portrait"
|
|
16
|
+
_noAr="true"
|
|
17
|
+
_isWebview=_isWebview}}
|
|
18
|
+
{{/if}}
|
|
19
|
+
{{else}}
|
|
20
|
+
{{#if this.showFullSize.isTrue}}
|
|
21
|
+
{{> components/content/copytext/components/image/figure
|
|
22
|
+
_cssClass="mt-12 mb-8 [&+h2]:mt-4 [&+.hrds-copytext-teaser-half]:mt-4 sm:[&+.hrds-copytext-teaser-half]:mt-0 sm:my-14 clear-both article-full-width sm:article-narrow"
|
|
23
|
+
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
24
|
+
_type="story"
|
|
25
|
+
_variant="100-copytext"
|
|
26
|
+
_pictureAddClass="ar-16-9"
|
|
27
|
+
_isWebview=_isWebview}}
|
|
28
|
+
{{else}}
|
|
29
|
+
{{> components/content/copytext/components/image/figure
|
|
30
|
+
_cssClass="hrds-copytext-teaser-half mt-12 mb-8 sm:mt-6 sm:mb-5 article-full-width sm:article-narrow sm:mr-5 sm:w-1/2 w-auto flex-col float-none sm:float-left break-inside-avoid"
|
|
31
|
+
_cssClassCaption=(if _isTickerCopytext "" "mx-5 sm:mx-0" )
|
|
32
|
+
_type="story"
|
|
33
|
+
_variant="copytext"
|
|
34
|
+
_pictureAddClass="ar-16-9"
|
|
35
|
+
_isWebview=_isWebview}}
|
|
36
|
+
{{/if}}
|
|
37
|
+
{{/if}}
|
|
38
|
+
|
|
60
39
|
|
|
@@ -83,10 +83,10 @@
|
|
|
83
83
|
</div>
|
|
84
84
|
{{#unless _inGroup}}
|
|
85
85
|
{{#>components/forms/components/supportingTextBox }}
|
|
86
|
-
{{#if _description}}
|
|
87
|
-
<div class="text-xs text-gray-scorpion dark:text-text-dark" {{#if _required}}:class="{'hidden': hideDescription() }"{{/if}}>{{_description}}</div>
|
|
86
|
+
{{#if _description-adjust_context}}
|
|
87
|
+
<div class="text-xs text-gray-scorpion dark:text-text-dark" {{#if _required-adjust_context}}:class="{'hidden': hideDescription() }"{{/if}}>{{_description-adjust_context}}</div>
|
|
88
88
|
{{/if}}
|
|
89
|
-
{{#if _required}}
|
|
89
|
+
{{#if _required-adjust_context}}
|
|
90
90
|
<div class="hidden text-xs text-error dark:text-error-dark" :class="{'hidden': hideError()}" x-text="errorMessage"></div>
|
|
91
91
|
{{/if}}
|
|
92
92
|
{{/components/forms/components/supportingTextBox }}
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
{{/each}}
|
|
41
41
|
</div>
|
|
42
42
|
{{#>components/forms/components/supportingTextBox }}
|
|
43
|
-
{{#if _description}}
|
|
44
|
-
<div class="text-xs text-gray-scorpion dark:text-text-dark" {{#if _required}}:class="{'hidden': hideDescription()}"{{/if}}>{{{_description}}}</div>
|
|
43
|
+
{{#if _description-adjust_context}}
|
|
44
|
+
<div class="text-xs text-gray-scorpion dark:text-text-dark" {{#if _required-adjust_context}}:class="{'hidden': hideDescription()}"{{/if}}>{{{_description-adjust_context}}}</div>
|
|
45
45
|
{{/if}}
|
|
46
|
-
{{#if _required}}
|
|
46
|
+
{{#if _required-adjust_context}}
|
|
47
47
|
<div class="hidden text-xs text-error dark:text-error-dark" :class="{'hidden': hideError()}" x-text="errorMessage"></div>
|
|
48
48
|
{{/if}}
|
|
49
49
|
{{/components/forms/components/supportingTextBox }}
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
</div>
|
|
62
62
|
|
|
63
63
|
{{#>components/forms/components/supportingTextBox }}
|
|
64
|
-
{{#if _description}}
|
|
65
|
-
<div class="pl-4 text-xs text-gray-scorpion dark:text-text-dark" :class="{'hidden': hideDescription() }">{{{_description}}}</div>
|
|
64
|
+
{{#if _description-adjust_context}}
|
|
65
|
+
<div class="pl-4 text-xs text-gray-scorpion dark:text-text-dark" :class="{'hidden': hideDescription() }">{{{_description-adjust_context}}}</div>
|
|
66
66
|
{{/if}}
|
|
67
67
|
|
|
68
68
|
<div class="hidden pl-4 text-xs text-error dark:text-error-dark" :class="{'hidden': hideError()}" x-text="errorMessage"></div>
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
{{_label}}{{#if _required}}*{{/if}}
|
|
42
42
|
</label>
|
|
43
43
|
{{#>components/forms/components/supportingTextBox }}
|
|
44
|
-
{{#if _description}}
|
|
45
|
-
<div class="pl-4 text-xs text-gray-scorpion dark:text-text-dark" :class="{'hidden': hideDescription()}">{{{_description}}}</div>
|
|
44
|
+
{{#if _description-adjust_context}}
|
|
45
|
+
<div class="pl-4 text-xs text-gray-scorpion dark:text-text-dark" :class="{'hidden': hideDescription()}">{{{_description-adjust_context}}}</div>
|
|
46
46
|
{{/if}}
|
|
47
|
-
{{#if _required}}
|
|
48
|
-
<div class="hidden pl-4 text-xs text-error dark:text-error-dark" :class="{'hidden': hideError()}" >{{_errorMessage}}</div>
|
|
47
|
+
{{#if _required-adjust_context}}
|
|
48
|
+
<div class="hidden pl-4 text-xs text-error dark:text-error-dark" :class="{'hidden': hideError()}" >{{_errorMessage-adjust_context}}</div>
|
|
49
49
|
{{/if}}
|
|
50
50
|
{{/components/forms/components/supportingTextBox }}
|
|
51
51
|
<div class="absolute bg-white right-0 p-4 py-3 transform border-l peer-focus:border-r peer-focus:border-l-0 pointer-events-none top-1.5 peer-focus:rotate-180">
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
</div>
|
|
63
63
|
</div>
|
|
64
64
|
{{#>components/forms/components/supportingTextBox }}
|
|
65
|
-
{{#if _description}}
|
|
66
|
-
<div class="text-xs text-gray-500 dark:text-text-dark" {{#if _required}}:class="{'hidden': hideDescription()}"{{/if}}>{{{_description}}}</div>
|
|
65
|
+
{{#if _description-adjust_context}}
|
|
66
|
+
<div class="text-xs text-gray-500 dark:text-text-dark" {{#if _required-adjust_context}}:class="{'hidden': hideDescription()}"{{/if}}>{{{_description-adjust_context}}}</div>
|
|
67
67
|
{{/if}}
|
|
68
|
-
{{#if _required}}
|
|
68
|
+
{{#if _required-adjust_context}}
|
|
69
69
|
<div class="hidden text-xs text-error dark:text-error-dark" :class="{'hidden': hideError()}" x-text="errorMessage"></div>
|
|
70
70
|
{{/if}}
|
|
71
71
|
{{/components/forms/components/supportingTextBox }}
|