hr-design-system-handlebars 1.99.1 → 1.100.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.storybook/main.js +1 -0
- package/CHANGELOG.md +26 -0
- package/dist/assets/index.css +139 -5
- package/dist/views/components/content/copytext/copytext_body.hbs +1 -1
- package/dist/views/components/forms/fields.hbs +94 -0
- package/dist/views/components/forms/input_single_line.hbs +71 -0
- package/dist/views/components/forms/webform.hbs +20 -0
- package/dist/views_static/components/content/copytext/copytext_body.hbs +1 -1
- package/dist/views_static/components/forms/fields.hbs +94 -0
- package/dist/views_static/components/forms/input_single_line.hbs +71 -0
- package/dist/views_static/components/forms/webform.hbs +20 -0
- package/package.json +2 -1
- package/src/assets/css/custom-base.css +3 -0
- package/src/assets/fixtures/content/copytext/components/form/form_input.json +17 -0
- package/src/assets/fixtures/content/copytext/copytext_paragraph.inc.json +1 -1
- package/src/assets/fixtures/content/copytext/copytext_webform.json +24 -0
- package/src/assets/fixtures/forms/form_fields.inc.json +44 -0
- package/src/assets/fixtures/forms/form_input.json +16 -0
- package/src/stories/views/components/content/copytext/components/contentbox/fixtures/contentbox.json +1 -1
- package/src/stories/views/components/content/copytext/components/form/fixtures/form_input.json +1 -0
- package/src/stories/views/components/content/copytext/copytext.stories.js +7 -0
- package/src/stories/views/components/content/copytext/copytext_body.hbs +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_additionalInfo.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_audio.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_audio_livestream.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_cite.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_downloadbox.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_faq.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_filedownload.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_image.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_infobox.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_livestream.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_media_components.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_non_media_components.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_podcastepisode.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_posterteaser.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_video.json +1 -1
- package/src/stories/views/components/content/copytext/fixtures/copytext_webform.json +1 -0
- package/src/stories/views/components/forms/fields.hbs +94 -0
- package/src/stories/views/components/forms/fixtures/form_input.json +1 -0
- package/src/stories/views/components/forms/form.mdx +26 -0
- package/src/stories/views/components/forms/form.stories.js +39 -0
- package/src/stories/views/components/forms/input_single_line.hbs +71 -0
- package/src/stories/views/components/forms/webform.hbs +20 -0
- package/src/stories/views/components/page/story/fixtures/story.json +1 -1
- package/src/stories/views/components/page/story/fixtures/story_with_audio.json +1 -1
- package/src/stories/views/components/page/story/fixtures/story_with_label.json +1 -1
- package/src/stories/views/components/page/story/fixtures/story_with_livestream.json +1 -1
- package/src/stories/views/components/page/story/fixtures/story_with_square_image.json +1 -1
- package/src/stories/views/components/page/story/fixtures/story_with_video.json +1 -1
- package/dist/views/components/content/copytext/components/webform.hbs +0 -5
- package/dist/views_static/components/content/copytext/components/webform.hbs +0 -5
- package/src/stories/views/components/content/copytext/components/webform.hbs +0 -5
package/.storybook/main.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
# v1.100.1 (Mon Sep 09 2024)
|
|
2
|
+
|
|
3
|
+
#### 🐛 Bug Fix
|
|
4
|
+
|
|
5
|
+
- add form input [#1057](https://github.com/mumprod/hr-design-system-handlebars/pull/1057) (saad.elbaciri@hr.de [@vascoeduardo](https://github.com/vascoeduardo) [@selbaciri](https://github.com/selbaciri))
|
|
6
|
+
|
|
7
|
+
#### Authors: 3
|
|
8
|
+
|
|
9
|
+
- Saad El Baciri ([@selbaciri](https://github.com/selbaciri))
|
|
10
|
+
- selbaciri (saad.elbaciri@hr.de)
|
|
11
|
+
- Vasco ([@vascoeduardo](https://github.com/vascoeduardo))
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# v1.100.0 (Mon Sep 09 2024)
|
|
16
|
+
|
|
17
|
+
#### 🚀 Enhancement
|
|
18
|
+
|
|
19
|
+
- :lipstick: Format text italic that is marked up in an em tag [#1062](https://github.com/mumprod/hr-design-system-handlebars/pull/1062) ([@szuelch](https://github.com/szuelch))
|
|
20
|
+
|
|
21
|
+
#### Authors: 1
|
|
22
|
+
|
|
23
|
+
- [@szuelch](https://github.com/szuelch)
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
1
27
|
# v1.99.1 (Fri Sep 06 2024)
|
|
2
28
|
|
|
3
29
|
#### 🐛 Bug Fix
|
package/dist/assets/index.css
CHANGED
|
@@ -381,6 +381,9 @@ video {
|
|
|
381
381
|
/* Make elements with the HTML hidden attribute stay hidden by default */
|
|
382
382
|
[hidden] {
|
|
383
383
|
display: none;
|
|
384
|
+
}
|
|
385
|
+
em {
|
|
386
|
+
font-style: italic;
|
|
384
387
|
}
|
|
385
388
|
@font-face {
|
|
386
389
|
font-family: 'DIN';
|
|
@@ -423,7 +426,17 @@ video {
|
|
|
423
426
|
font-stretch: condensed;
|
|
424
427
|
}
|
|
425
428
|
|
|
426
|
-
.-translate-x-1\/2, .-translate-x-2\/4, .-translate-y-1\/2, .translate-y-0, .translate-y-12, .translate-y-8, .-rotate-45, .rotate-180, .rotate-45, .scale-50, .scale-y-100, .scale-y-90, .transform, .is-loading::after, .hover\:scale-105, .active\:scale-95 {
|
|
429
|
+
.-translate-x-1\/2, .-translate-x-2\/4, .-translate-y-1\/2, .translate-x-0, .translate-y-0, .translate-y-12, .translate-y-8, .-rotate-45, .rotate-180, .rotate-45, .scale-50, .scale-75, .scale-y-100, .scale-y-90, .transform, .is-loading::after, .hover\:scale-105, .active\:scale-95, .peer-placeholder-shown\:translate-x-0, .peer-placeholder-shown\:translate-y-3, .peer-placeholder-shown\:scale-100, .peer-focus\:translate-x-0, .peer-focus\:scale-75 {
|
|
430
|
+
--tw-translate-x: 0;
|
|
431
|
+
--tw-translate-y: 0;
|
|
432
|
+
--tw-rotate: 0;
|
|
433
|
+
--tw-skew-x: 0;
|
|
434
|
+
--tw-skew-y: 0;
|
|
435
|
+
--tw-scale-x: 1;
|
|
436
|
+
--tw-scale-y: 1;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.peer-focus\:-translate-y-0 {
|
|
427
440
|
--tw-translate-x: 0;
|
|
428
441
|
--tw-translate-y: 0;
|
|
429
442
|
--tw-rotate: 0;
|
|
@@ -446,7 +459,7 @@ video {
|
|
|
446
459
|
--tw-shadow-colored: 0 0 rgba(0,0,0,0);
|
|
447
460
|
}
|
|
448
461
|
|
|
449
|
-
.ds-link-inset, .ds-link-inset:not(:focus-visible), .ring, .link-focus-inset, .link-focus, .link-focus-inset-white, .link-focus-white {
|
|
462
|
+
.ds-link-inset, .ds-link-inset:not(:focus-visible), .ring, .ring-1, .link-focus-inset, .link-focus, .link-focus-inset-white, .link-focus-white {
|
|
450
463
|
--tw-ring-inset: ;
|
|
451
464
|
--tw-ring-offset-width: 0px;
|
|
452
465
|
--tw-ring-offset-color: #fff;
|
|
@@ -1114,6 +1127,9 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
1114
1127
|
.left-8 {
|
|
1115
1128
|
left: 2rem;
|
|
1116
1129
|
}
|
|
1130
|
+
.left-\[16px\] {
|
|
1131
|
+
left: 16px;
|
|
1132
|
+
}
|
|
1117
1133
|
.left-\[4px\] {
|
|
1118
1134
|
left: 4px;
|
|
1119
1135
|
}
|
|
@@ -1172,6 +1188,9 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
1172
1188
|
.top-full {
|
|
1173
1189
|
top: 100%;
|
|
1174
1190
|
}
|
|
1191
|
+
.top-px {
|
|
1192
|
+
top: 1px;
|
|
1193
|
+
}
|
|
1175
1194
|
.-z-40 {
|
|
1176
1195
|
z-index: -40;
|
|
1177
1196
|
}
|
|
@@ -1870,6 +1889,9 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
1870
1889
|
.basis-full {
|
|
1871
1890
|
flex-basis: 100%;
|
|
1872
1891
|
}
|
|
1892
|
+
.origin-top-left {
|
|
1893
|
+
transform-origin: top left;
|
|
1894
|
+
}
|
|
1873
1895
|
.-translate-x-1\/2 {
|
|
1874
1896
|
--tw-translate-x: -50%;
|
|
1875
1897
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -1882,6 +1904,10 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
1882
1904
|
--tw-translate-y: -50%;
|
|
1883
1905
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1884
1906
|
}
|
|
1907
|
+
.translate-x-0 {
|
|
1908
|
+
--tw-translate-x: 0px;
|
|
1909
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1910
|
+
}
|
|
1885
1911
|
.translate-y-0 {
|
|
1886
1912
|
--tw-translate-y: 0px;
|
|
1887
1913
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -1911,6 +1937,11 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
1911
1937
|
--tw-scale-y: .5;
|
|
1912
1938
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1913
1939
|
}
|
|
1940
|
+
.scale-75 {
|
|
1941
|
+
--tw-scale-x: .75;
|
|
1942
|
+
--tw-scale-y: .75;
|
|
1943
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
1944
|
+
}
|
|
1914
1945
|
.scale-y-100 {
|
|
1915
1946
|
--tw-scale-y: 1;
|
|
1916
1947
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -2245,6 +2276,10 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
2245
2276
|
--tw-border-opacity: 1;
|
|
2246
2277
|
border-color: rgba(227, 227, 227, var(--tw-border-opacity));
|
|
2247
2278
|
}
|
|
2279
|
+
.border-blue-500 {
|
|
2280
|
+
--tw-border-opacity: 1;
|
|
2281
|
+
border-color: rgba(59, 130, 246, var(--tw-border-opacity));
|
|
2282
|
+
}
|
|
2248
2283
|
.border-brandnavigation-border-color {
|
|
2249
2284
|
border-color: #005293;
|
|
2250
2285
|
border-color: var(--color-brandnavigation-border-color);
|
|
@@ -2330,6 +2365,9 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
2330
2365
|
border-bottom-color: #606060;
|
|
2331
2366
|
border-bottom-color: var(--color-secondary-ds);
|
|
2332
2367
|
}
|
|
2368
|
+
.border-t-transparent {
|
|
2369
|
+
border-top-color: transparent;
|
|
2370
|
+
}
|
|
2333
2371
|
.bg-\[\#d8e9f6\] {
|
|
2334
2372
|
--tw-bg-opacity: 1;
|
|
2335
2373
|
background-color: rgba(216, 233, 246, var(--tw-bg-opacity));
|
|
@@ -2765,6 +2803,9 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
2765
2803
|
.pb-6 {
|
|
2766
2804
|
padding-bottom: 1.5rem;
|
|
2767
2805
|
}
|
|
2806
|
+
.pb-8 {
|
|
2807
|
+
padding-bottom: 2rem;
|
|
2808
|
+
}
|
|
2768
2809
|
.pb-9 {
|
|
2769
2810
|
padding-bottom: 2.25rem;
|
|
2770
2811
|
}
|
|
@@ -2826,6 +2867,9 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
2826
2867
|
.pt-1\.5 {
|
|
2827
2868
|
padding-top: 0.375rem;
|
|
2828
2869
|
}
|
|
2870
|
+
.pt-10 {
|
|
2871
|
+
padding-top: 2.5rem;
|
|
2872
|
+
}
|
|
2829
2873
|
.pt-2 {
|
|
2830
2874
|
padding-top: 0.5rem;
|
|
2831
2875
|
}
|
|
@@ -3057,6 +3101,14 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3057
3101
|
color: #000000;
|
|
3058
3102
|
color: var(--color-footer-text);
|
|
3059
3103
|
}
|
|
3104
|
+
.text-gray-500 {
|
|
3105
|
+
--tw-text-opacity: 1;
|
|
3106
|
+
color: rgba(107, 114, 128, var(--tw-text-opacity));
|
|
3107
|
+
}
|
|
3108
|
+
.text-gray-800 {
|
|
3109
|
+
--tw-text-opacity: 1;
|
|
3110
|
+
color: rgba(31, 41, 55, var(--tw-text-opacity));
|
|
3111
|
+
}
|
|
3060
3112
|
.text-gray-dark {
|
|
3061
3113
|
--tw-text-opacity: 1;
|
|
3062
3114
|
color: rgba(112, 112, 112, var(--tw-text-opacity));
|
|
@@ -3100,6 +3152,10 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3100
3152
|
color: #005293;
|
|
3101
3153
|
color: var(--color-primary-ds);
|
|
3102
3154
|
}
|
|
3155
|
+
.text-red-700 {
|
|
3156
|
+
--tw-text-opacity: 1;
|
|
3157
|
+
color: rgba(185, 28, 28, var(--tw-text-opacity));
|
|
3158
|
+
}
|
|
3103
3159
|
.text-search-footer-text {
|
|
3104
3160
|
color: #000000;
|
|
3105
3161
|
color: var(--color-search-footer-text);
|
|
@@ -3196,6 +3252,15 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3196
3252
|
color: #000000;
|
|
3197
3253
|
color: var(--color-search-footer-text);
|
|
3198
3254
|
}
|
|
3255
|
+
.placeholder-transparent::-webkit-input-placeholder {
|
|
3256
|
+
color: transparent;
|
|
3257
|
+
}
|
|
3258
|
+
.placeholder-transparent::-moz-placeholder {
|
|
3259
|
+
color: transparent;
|
|
3260
|
+
}
|
|
3261
|
+
.placeholder-transparent::placeholder {
|
|
3262
|
+
color: transparent;
|
|
3263
|
+
}
|
|
3199
3264
|
.placeholder-opacity-100::-webkit-input-placeholder {
|
|
3200
3265
|
--tw-placeholder-opacity: 1;
|
|
3201
3266
|
}
|
|
@@ -3241,6 +3306,15 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3241
3306
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 rgba(0,0,0,0);
|
|
3242
3307
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0,0,0,0));
|
|
3243
3308
|
}
|
|
3309
|
+
.ring-1 {
|
|
3310
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
3311
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
3312
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 rgba(0,0,0,0);
|
|
3313
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 rgba(0,0,0,0));
|
|
3314
|
+
}
|
|
3315
|
+
.ring-gray-900\/5 {
|
|
3316
|
+
--tw-ring-color: rgba(17, 24, 39, 0.05);
|
|
3317
|
+
}
|
|
3244
3318
|
.ring-podcast {
|
|
3245
3319
|
--tw-ring-color: var(--color-podcast);
|
|
3246
3320
|
}
|
|
@@ -3294,6 +3368,11 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3294
3368
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
3295
3369
|
transition-duration: 150ms;
|
|
3296
3370
|
}
|
|
3371
|
+
.transition-transform {
|
|
3372
|
+
transition-property: transform;
|
|
3373
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
3374
|
+
transition-duration: 150ms;
|
|
3375
|
+
}
|
|
3297
3376
|
.delay-0 {
|
|
3298
3377
|
transition-delay: 0s;
|
|
3299
3378
|
}
|
|
@@ -3333,12 +3412,15 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3333
3412
|
.ease-out {
|
|
3334
3413
|
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
3335
3414
|
}
|
|
3415
|
+
.border-t-transparent {
|
|
3416
|
+
border-top-color: transparent;
|
|
3417
|
+
}
|
|
3336
3418
|
.border-b-secondary {
|
|
3337
3419
|
border-bottom-color: #606060;
|
|
3338
3420
|
border-bottom-color: var(--color-secondary-ds);
|
|
3339
3421
|
}
|
|
3340
3422
|
.counter-reset {
|
|
3341
|
-
counter-reset:
|
|
3423
|
+
counter-reset: cnt1725891148652;
|
|
3342
3424
|
}
|
|
3343
3425
|
.hyphens-auto {
|
|
3344
3426
|
-webkit-hyphens: auto;
|
|
@@ -3746,7 +3828,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3746
3828
|
--tw-ring-color: rgba(255, 255, 255, 0.5);
|
|
3747
3829
|
}
|
|
3748
3830
|
.-ordered {
|
|
3749
|
-
counter-increment:
|
|
3831
|
+
counter-increment: cnt1725891148652 1;
|
|
3750
3832
|
}
|
|
3751
3833
|
.-ordered::before {
|
|
3752
3834
|
position: absolute;
|
|
@@ -3762,7 +3844,7 @@ article.indexTextDS .indexTextHighlighted .link {
|
|
|
3762
3844
|
letter-spacing: .0125em;
|
|
3763
3845
|
--tw-text-opacity: 1;
|
|
3764
3846
|
color: rgba(0, 0, 0, var(--tw-text-opacity));
|
|
3765
|
-
content: counter(
|
|
3847
|
+
content: counter(cnt1725891148652);
|
|
3766
3848
|
}
|
|
3767
3849
|
/*! ****************************/
|
|
3768
3850
|
/*! DataPolicy stuff */
|
|
@@ -5787,6 +5869,49 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
5787
5869
|
--tw-text-opacity: 1;
|
|
5788
5870
|
color: rgba(255, 255, 255, var(--tw-text-opacity));
|
|
5789
5871
|
}
|
|
5872
|
+
.peer:-moz-placeholder-shown ~ .peer-placeholder-shown\:translate-x-0 {
|
|
5873
|
+
--tw-translate-x: 0px;
|
|
5874
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
5875
|
+
}
|
|
5876
|
+
.peer:placeholder-shown ~ .peer-placeholder-shown\:translate-x-0 {
|
|
5877
|
+
--tw-translate-x: 0px;
|
|
5878
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
5879
|
+
}
|
|
5880
|
+
.peer:-moz-placeholder-shown ~ .peer-placeholder-shown\:translate-y-3 {
|
|
5881
|
+
--tw-translate-y: 0.75rem;
|
|
5882
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
5883
|
+
}
|
|
5884
|
+
.peer:placeholder-shown ~ .peer-placeholder-shown\:translate-y-3 {
|
|
5885
|
+
--tw-translate-y: 0.75rem;
|
|
5886
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
5887
|
+
}
|
|
5888
|
+
.peer:-moz-placeholder-shown ~ .peer-placeholder-shown\:scale-100 {
|
|
5889
|
+
--tw-scale-x: 1;
|
|
5890
|
+
--tw-scale-y: 1;
|
|
5891
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
5892
|
+
}
|
|
5893
|
+
.peer:placeholder-shown ~ .peer-placeholder-shown\:scale-100 {
|
|
5894
|
+
--tw-scale-x: 1;
|
|
5895
|
+
--tw-scale-y: 1;
|
|
5896
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
5897
|
+
}
|
|
5898
|
+
.peer:focus ~ .peer-focus\:-translate-y-0 {
|
|
5899
|
+
--tw-translate-y: -0px;
|
|
5900
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
5901
|
+
}
|
|
5902
|
+
.peer:focus ~ .peer-focus\:translate-x-0 {
|
|
5903
|
+
--tw-translate-x: 0px;
|
|
5904
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
5905
|
+
}
|
|
5906
|
+
.peer:focus ~ .peer-focus\:scale-75 {
|
|
5907
|
+
--tw-scale-x: .75;
|
|
5908
|
+
--tw-scale-y: .75;
|
|
5909
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
5910
|
+
}
|
|
5911
|
+
.peer:focus ~ .peer-focus\:text-blue-500 {
|
|
5912
|
+
--tw-text-opacity: 1;
|
|
5913
|
+
color: rgba(59, 130, 246, var(--tw-text-opacity));
|
|
5914
|
+
}
|
|
5790
5915
|
.aria-hidden\:hidden[aria-hidden="true"] {
|
|
5791
5916
|
display: none;
|
|
5792
5917
|
}
|
|
@@ -6396,6 +6521,10 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
6396
6521
|
column-gap: 0.5rem;
|
|
6397
6522
|
}
|
|
6398
6523
|
|
|
6524
|
+
.sm\:rounded-lg {
|
|
6525
|
+
border-radius: 0.5rem;
|
|
6526
|
+
}
|
|
6527
|
+
|
|
6399
6528
|
.sm\:bg-transparent {
|
|
6400
6529
|
background-color: transparent;
|
|
6401
6530
|
}
|
|
@@ -6444,6 +6573,11 @@ ul.restrictedToTwo li:nth-of-type(1n + 2) .timelineBorder {
|
|
|
6444
6573
|
padding-right: 2.375rem;
|
|
6445
6574
|
}
|
|
6446
6575
|
|
|
6576
|
+
.sm\:py-12 {
|
|
6577
|
+
padding-top: 3rem;
|
|
6578
|
+
padding-bottom: 3rem;
|
|
6579
|
+
}
|
|
6580
|
+
|
|
6447
6581
|
.sm\:py-4 {
|
|
6448
6582
|
padding-top: 1rem;
|
|
6449
6583
|
padding-bottom: 1rem;
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
{{> components/content/copytext/components/map }}
|
|
23
23
|
{{/if~}}
|
|
24
24
|
{{~#if this.isWebForm}}
|
|
25
|
-
{{> components/
|
|
25
|
+
{{> components/forms/webform }}
|
|
26
26
|
{{/if~}}
|
|
27
27
|
{{~#if this.isNewsletter}}
|
|
28
28
|
{{> components/content/copytext/components/newsletter }}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{{#each this.fields}}
|
|
2
|
+
{{#if this.type.isGroup}}
|
|
3
|
+
|
|
4
|
+
{{#if this.caption}}
|
|
5
|
+
<div class="c-form__row -hasLegend">
|
|
6
|
+
<fieldset class="c-form__field-set">
|
|
7
|
+
<legend class="c-form__legend">{{this.caption}}</legend>
|
|
8
|
+
</fieldset>
|
|
9
|
+
{{~> modules/forms/fields}}
|
|
10
|
+
</div>
|
|
11
|
+
{{else}}
|
|
12
|
+
<div class="c-form__row -expanded">
|
|
13
|
+
{{~> modules/forms/fields}}
|
|
14
|
+
</div>
|
|
15
|
+
{{/if}}
|
|
16
|
+
|
|
17
|
+
{{else}}
|
|
18
|
+
|
|
19
|
+
<div class="c-form__row js-wrapper-{{this.name}}">
|
|
20
|
+
{{#if this.type.isTextarea}}
|
|
21
|
+
{{~> modules/forms/textarea
|
|
22
|
+
_name=this.name
|
|
23
|
+
_label=this.label
|
|
24
|
+
_labelClass="hide"
|
|
25
|
+
_description=this.description
|
|
26
|
+
_defaultValue=this.defaultValue
|
|
27
|
+
_counter=this.counter
|
|
28
|
+
_rows=this.rows
|
|
29
|
+
_cols=this.columns
|
|
30
|
+
_required=this.isRequired
|
|
31
|
+
_maxLength=this.maxLength
|
|
32
|
+
}}
|
|
33
|
+
{{else if this.type.isText}}
|
|
34
|
+
{{~> components/forms/input_single_line
|
|
35
|
+
_type=this.type.asString
|
|
36
|
+
_name=this.name
|
|
37
|
+
_label=this.label
|
|
38
|
+
_labelClass="hide"
|
|
39
|
+
_description=this.description
|
|
40
|
+
_defaultValue=this.defaultValue
|
|
41
|
+
_inputClass=(if this.isHidden "hide")
|
|
42
|
+
_tabindex=(if this.isHidden "-1")
|
|
43
|
+
_required=this.isRequired
|
|
44
|
+
_maxLength=this.maxLength
|
|
45
|
+
}}
|
|
46
|
+
{{else if this.type.isSelect}}
|
|
47
|
+
{{~> modules/forms/select
|
|
48
|
+
_name=this.name
|
|
49
|
+
_label=this.label
|
|
50
|
+
_labelClass="hide"
|
|
51
|
+
_description=this.description
|
|
52
|
+
_items=this.options
|
|
53
|
+
_required=this.isRequired
|
|
54
|
+
}}
|
|
55
|
+
{{else if this.type.isChoice}}
|
|
56
|
+
{{#if this.isGrouped }}
|
|
57
|
+
{{~> modules/forms/choiceGroup
|
|
58
|
+
_type=this.type.asString
|
|
59
|
+
_name=this.name
|
|
60
|
+
_label=this.label
|
|
61
|
+
_description=this.description
|
|
62
|
+
_items=this.options
|
|
63
|
+
_required=this.isRequired
|
|
64
|
+
_multipleChoice=../_multipleChoice
|
|
65
|
+
_addClass=../_addClass
|
|
66
|
+
|
|
67
|
+
}}
|
|
68
|
+
{{else}}
|
|
69
|
+
{{~> modules/forms/choice
|
|
70
|
+
_type=this.type.asString
|
|
71
|
+
_name=this.name
|
|
72
|
+
_label=this.label
|
|
73
|
+
_labelClass=(if this.isMeta "-meta")
|
|
74
|
+
_description=this.description
|
|
75
|
+
_value=this.options.[0].value
|
|
76
|
+
_required=this.isRequired
|
|
77
|
+
_selected= this.options.[0].isSelected
|
|
78
|
+
}}
|
|
79
|
+
{{/if}}
|
|
80
|
+
{{else if this.type.isUpload}}
|
|
81
|
+
{{~> modules/forms/upload
|
|
82
|
+
_name=this.name
|
|
83
|
+
_label=this.label
|
|
84
|
+
_description=this.description
|
|
85
|
+
_multiple=false
|
|
86
|
+
_required=this.isRequired
|
|
87
|
+
_locaKeyButton="uploadForm_label_file_button"
|
|
88
|
+
}}
|
|
89
|
+
{{/if}}
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
{{/if}}
|
|
93
|
+
|
|
94
|
+
{{/each}}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
<div class="relative flex flex-col w-full mb-5" x-data="{ input{{nextRandom}}: '' , valid: false, wasFocused: false}">
|
|
2
|
+
<input class="relative w-full h-12 px-4 pt-4 text-gray-800 placeholder-transparent bg-white border-blue-500 peer border-y border-t-transparent focus:outline-none"
|
|
3
|
+
x-model="input{{getRandom}}"
|
|
4
|
+
id="input{{getRandom}}"
|
|
5
|
+
{{#if _required}}
|
|
6
|
+
@blur="wasFocused = true;"
|
|
7
|
+
x-on:keyup ="input{{getRandom}}.length > 0 ? valid = true : valid = false"
|
|
8
|
+
{{/if}}
|
|
9
|
+
type="{{#if _type}}{{_type}}{{/if}}"
|
|
10
|
+
name="{{#if _name}}{{_name}}{{/if}}"
|
|
11
|
+
{{#if _locaKey}}
|
|
12
|
+
title="{{loca _locaKey}}{{#if _required}}*{{/if}}"
|
|
13
|
+
placeholder="placeholder:{{loca _locaKey}}{{#if _required}}*{{/if}}"
|
|
14
|
+
{{else}}
|
|
15
|
+
{{#if _label}}
|
|
16
|
+
title="{{_label}}{{#if _required}}*{{/if}}"
|
|
17
|
+
placeholder="placeholder:{{_label}}{{#if _required}}*{{/if}}"
|
|
18
|
+
{{/if}}
|
|
19
|
+
{{/if}}
|
|
20
|
+
{{#if _formField.forHtmlAttribute}}
|
|
21
|
+
value="{{_formField.forHtmlAttribute}}"
|
|
22
|
+
{{else}}
|
|
23
|
+
{{#if _value}}
|
|
24
|
+
value="{{_value}}"
|
|
25
|
+
{{else}}
|
|
26
|
+
value="{{_defaultValue}}"
|
|
27
|
+
{{/if}}
|
|
28
|
+
{{/if}}
|
|
29
|
+
{{#if _maxLength}}
|
|
30
|
+
maxlength="{{_maxLength}}"
|
|
31
|
+
{{/if~}}
|
|
32
|
+
{{#if _required}} required{{/if}}
|
|
33
|
+
{{#if _tabindex}} tabindex="{{_tabindex}}"{{/if}}
|
|
34
|
+
{{#if _autocompleteOff}} autocomplete="off"{{/if}}
|
|
35
|
+
{{#if _autoSuggestFeature}}
|
|
36
|
+
data-hr-search-suggest='{"templateUrl":"{{resourceUrl "suche/index~suggest.jsp"}}"}'{{/if}}
|
|
37
|
+
>
|
|
38
|
+
<div class="hidden">
|
|
39
|
+
<div>DEBUGG</div>
|
|
40
|
+
<div x-text="valid"></div>
|
|
41
|
+
<div x-text="input{{getRandom}}.length "></div>
|
|
42
|
+
</div>
|
|
43
|
+
<label for="input{{getRandom}}" class="absolute left-[16px] top-px translate-y-0 translate-x-0 scale-75 text-gray-500
|
|
44
|
+
|
|
45
|
+
peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-x-0 peer-placeholder-shown:translate-y-3
|
|
46
|
+
|
|
47
|
+
peer-focus:translate-x-0 peer-focus:-translate-y-0 peer-focus:scale-75 peer-focus:text-blue-500 origin-top-left transform transition-transform">
|
|
48
|
+
{{#if _hasBody}}
|
|
49
|
+
{{decorator_body}}
|
|
50
|
+
{{else}}
|
|
51
|
+
{{#if _locaKey}}
|
|
52
|
+
{{loca _locaKey}}
|
|
53
|
+
{{else}}
|
|
54
|
+
{{#if _label}}
|
|
55
|
+
{{{_label}}}{{#if _required}}*{{/if}}
|
|
56
|
+
{{/if}}
|
|
57
|
+
{{/if}}
|
|
58
|
+
{{/if}}
|
|
59
|
+
</label>
|
|
60
|
+
<div class="flex justify-between mb-5 min-h-4 font-heading mt-0.5">
|
|
61
|
+
{{#if _description}}
|
|
62
|
+
<div class="pl-4 text-xs text-gray-500 " {{#if _required}}:class="!valid && wasFocused ? 'hidden' : ''"{{/if}}>{{_description}}</div>
|
|
63
|
+
{{/if}}
|
|
64
|
+
{{#if _required}}
|
|
65
|
+
<div class="pl-4 text-xs font-bold text-red-700 " :class="!valid && wasFocused ? '' : 'hidden'">Fehler</div>
|
|
66
|
+
{{/if}}
|
|
67
|
+
{{#if _maxLength}}
|
|
68
|
+
<div class="px-4 ml-auto text-xs text-gray-500"><span x-text="input{{getRandom}}.length">0</span>/{{_maxLength}}</div>
|
|
69
|
+
{{/if~}}
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{{~#if (isStorybook)~}}
|
|
2
|
+
<form class="relative flex flex-col justify-center py-6 overflow-hidden sm:py-12 group" id="form--{{nextRandom}}" action="{{this.url}}" method="post" enctype="{{if this.isMultipart 'multipart/form-data' 'application/x-www-form-urlencoded'}}" accept-charset="utf-8" >
|
|
3
|
+
|
|
4
|
+
<div class="relative bg-[#d8e9f6] min-w-96 min-h-96 px-6 pt-10 pb-8 shadow-xl ring-1 ring-gray-900/5 sm:max-w-xl sm:rounded-lg sm:px-10">
|
|
5
|
+
|
|
6
|
+
{{> components/forms/fields }}
|
|
7
|
+
|
|
8
|
+
{{!-- {{~> modules/forms/controls }}
|
|
9
|
+
|
|
10
|
+
<script type="text/html" class="js-successMessage">
|
|
11
|
+
{{{include "content/webform/components/webform-form-success" }}}
|
|
12
|
+
</script>
|
|
13
|
+
<script type="text/html" class="js-errorMessage">
|
|
14
|
+
{{{include "content/webform/components/webform-form-error" }}}
|
|
15
|
+
</script> --}}
|
|
16
|
+
</div>
|
|
17
|
+
</form>
|
|
18
|
+
{{~else~}}
|
|
19
|
+
{{> content/webform/components/webform _addClass="print:hidden copytext__clearBox marginTrailer--m"}}
|
|
20
|
+
{{~/if~}}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
{{> components/content/copytext/components/map }}
|
|
23
23
|
{{/if~}}
|
|
24
24
|
{{~#if this.isWebForm}}
|
|
25
|
-
{{> components/
|
|
25
|
+
{{> components/forms/webform }}
|
|
26
26
|
{{/if~}}
|
|
27
27
|
{{~#if this.isNewsletter}}
|
|
28
28
|
{{> components/content/copytext/components/newsletter }}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{{#each this.fields}}
|
|
2
|
+
{{#if this.type.isGroup}}
|
|
3
|
+
|
|
4
|
+
{{#if this.caption}}
|
|
5
|
+
<div class="c-form__row -hasLegend">
|
|
6
|
+
<fieldset class="c-form__field-set">
|
|
7
|
+
<legend class="c-form__legend">{{this.caption}}</legend>
|
|
8
|
+
</fieldset>
|
|
9
|
+
{{~> modules/forms/fields}}
|
|
10
|
+
</div>
|
|
11
|
+
{{else}}
|
|
12
|
+
<div class="c-form__row -expanded">
|
|
13
|
+
{{~> modules/forms/fields}}
|
|
14
|
+
</div>
|
|
15
|
+
{{/if}}
|
|
16
|
+
|
|
17
|
+
{{else}}
|
|
18
|
+
|
|
19
|
+
<div class="c-form__row js-wrapper-{{this.name}}">
|
|
20
|
+
{{#if this.type.isTextarea}}
|
|
21
|
+
{{~> modules/forms/textarea
|
|
22
|
+
_name=this.name
|
|
23
|
+
_label=this.label
|
|
24
|
+
_labelClass="hide"
|
|
25
|
+
_description=this.description
|
|
26
|
+
_defaultValue=this.defaultValue
|
|
27
|
+
_counter=this.counter
|
|
28
|
+
_rows=this.rows
|
|
29
|
+
_cols=this.columns
|
|
30
|
+
_required=this.isRequired
|
|
31
|
+
_maxLength=this.maxLength
|
|
32
|
+
}}
|
|
33
|
+
{{else if this.type.isText}}
|
|
34
|
+
{{~> components/forms/input_single_line
|
|
35
|
+
_type=this.type.asString
|
|
36
|
+
_name=this.name
|
|
37
|
+
_label=this.label
|
|
38
|
+
_labelClass="hide"
|
|
39
|
+
_description=this.description
|
|
40
|
+
_defaultValue=this.defaultValue
|
|
41
|
+
_inputClass=(if this.isHidden "hide")
|
|
42
|
+
_tabindex=(if this.isHidden "-1")
|
|
43
|
+
_required=this.isRequired
|
|
44
|
+
_maxLength=this.maxLength
|
|
45
|
+
}}
|
|
46
|
+
{{else if this.type.isSelect}}
|
|
47
|
+
{{~> modules/forms/select
|
|
48
|
+
_name=this.name
|
|
49
|
+
_label=this.label
|
|
50
|
+
_labelClass="hide"
|
|
51
|
+
_description=this.description
|
|
52
|
+
_items=this.options
|
|
53
|
+
_required=this.isRequired
|
|
54
|
+
}}
|
|
55
|
+
{{else if this.type.isChoice}}
|
|
56
|
+
{{#if this.isGrouped }}
|
|
57
|
+
{{~> modules/forms/choiceGroup
|
|
58
|
+
_type=this.type.asString
|
|
59
|
+
_name=this.name
|
|
60
|
+
_label=this.label
|
|
61
|
+
_description=this.description
|
|
62
|
+
_items=this.options
|
|
63
|
+
_required=this.isRequired
|
|
64
|
+
_multipleChoice=../_multipleChoice
|
|
65
|
+
_addClass=../_addClass
|
|
66
|
+
|
|
67
|
+
}}
|
|
68
|
+
{{else}}
|
|
69
|
+
{{~> modules/forms/choice
|
|
70
|
+
_type=this.type.asString
|
|
71
|
+
_name=this.name
|
|
72
|
+
_label=this.label
|
|
73
|
+
_labelClass=(if this.isMeta "-meta")
|
|
74
|
+
_description=this.description
|
|
75
|
+
_value=this.options.[0].value
|
|
76
|
+
_required=this.isRequired
|
|
77
|
+
_selected= this.options.[0].isSelected
|
|
78
|
+
}}
|
|
79
|
+
{{/if}}
|
|
80
|
+
{{else if this.type.isUpload}}
|
|
81
|
+
{{~> modules/forms/upload
|
|
82
|
+
_name=this.name
|
|
83
|
+
_label=this.label
|
|
84
|
+
_description=this.description
|
|
85
|
+
_multiple=false
|
|
86
|
+
_required=this.isRequired
|
|
87
|
+
_locaKeyButton="uploadForm_label_file_button"
|
|
88
|
+
}}
|
|
89
|
+
{{/if}}
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
{{/if}}
|
|
93
|
+
|
|
94
|
+
{{/each}}
|